Important!!! Promote this Press Release

Hey Guys, I figured we would drop it here to the activist community first.
Here is the press release announcing that Vlad Zamfir, will be the 7th Board of Director for the RChain Cooperative and help guide our Casper Proof-of-Stake implementation
https://docs.google.com/viewer?url=https://github.com/rchain/board/raw/master/Vlad Zamfir joins the RChain Cooperative.pdf
Let's get this picked up by as many media sites that are relevant as possible. Its ok if we overlap in our outreach.
I suggest we reach out to coindesk, cointelegraph, cryprt0 show, smith and crown, epicenter, and whichever ones that you can think of else.
Also social media messaging such as tweets and a reddit post will be going out soon so that we can boost the reach.
Cheers!

I don't see a link?

@llerner added it!

It would be easier to promote if it had a more traditional URL like https://www.rchain.coop/news/2017/09/zamfir-joins-rchain ... one that's clearly owned by rchain.

Oh... now I see google docs is just being used as a viewer. https://github.com/rchain/board/raw/master/Vlad Zamfir joins the RChain Cooperative.pdf works too. That's a little better, but sharecropping on github still isn't ideal, especially when it's not social coding.

@dckc  those are good points, right now i'm working with what was given.
Here are the linked tweets
https://twitter.com/rchain_coop/status/911062616222715906
https://twitter.com/rchain_coop/status/911063763599667201

Both links are broken for me on mobile btw.
On Thursday, September 21, 2017, Dan Connolly<EMAIL_ADDRESS>wrote:

Oh... now I see google docs is just being used as a viewer.
https://github.com/rchain/board/raw/master/Vlad Zamfir joins the%
20RChain%20Cooperative.pdf works too. That's a little better, but
sharecropping
https://www.tbray.org/ongoing/When/200x/2003/07/12/WebsThePlace on
github still isn't ideal, especially when it's not social coding.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/107#issuecomment-331336700, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABXf-_8-jObkwHsqId27ABt11fmTVxX0ks5skyFigaJpZM4PgI9v
.

Or at least from my mobile mail. I copied the PDF link and pasted to
browser and it worked. Exciting news!
On Thursday, September 21, 2017, danny ryan<EMAIL_ADDRESS>wrote:

Both links are broken for me on mobile btw.
On Thursday, September 21, 2017, Dan Connolly<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Oh... now I see google docs is just being used as a viewer.
https://github.com/rchain/board/raw/master/Vlad Zamfir%
20joins%20the%20RChain%20Cooperative.pdf works too. That's a little
better, but sharecropping
https://www.tbray.org/ongoing/When/200x/2003/07/12/WebsThePlace on
github still isn't ideal, especially when it's not social coding.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/107#issuecomment-331336700,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABXf-_8-jObkwHsqId27ABt11fmTVxX0ks5skyFigaJpZM4PgI9v
.

@djrtwo thanks for the pointer! and yes very Exciting, can't wait to see what the co-op looks like by the time Mercury gets released! Medha is doing a great job as well with project management too makes me feel very confident.

Here is the reddit thread https://www.reddit.com/r/CryptoCurrency/comments/71og5p/vlad_zamfir_joins_the_rchain_cooperative/

I threw it onto /r/ethtrader. Those guys usually get pretty hyped up about
Vlad.
https://www.reddit.com/r/ethtrader/comments/71ohhp/casper_research_vlad_zamfir_joins_the_rchain/
On Thursday, September 21, 2017, patrick727<EMAIL_ADDRESS>wrote:

Here is the reddit thread https://www.reddit.com/r/
CryptoCurrency/comments/71og5p/vlad_zamfir_joins_the_rchain_cooperative/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rchain/Members/issues/107#issuecomment-331341297, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABXf-wFblcOSaxdlpNearpp_ayCjCSKHks5skyqGgaJpZM4PgI9v
.

@patrick727 @dckc @djrtwo @llerner  Please don't forget to add a budget through form Budget allocation and spending
@patrick727 please be careful with assigning people to issues without their consent. Best is that collaborators assign themselves ;-)
@llerner please fill out the form Activist Registration. It's necessary for receiving rewards in RHOC. Hopefully the process for Membership and Activists will be soon one. Sorry for the inconvenience.
Budget allocation
And please distribute the budget over the assigned collaborators.
Reward allocation

URL
Status
Project / Issue
Category
Votes
Last month
Left over
New Budget
$ Sep Budget
⍴ Sep Budget
Voters

https://github.com/rchain/Members/issues/107
New
Important!!! Promote this Press Release
Marketing
0
$ -
$ -
$ -
$ -
⍴ -

107
https://github.com/rchain/Members/issues/107
Important!!! Promote this Press Release
Marketing
0
New
⍴ -
$ -
$ -
$ -
Activist
0%
0
Voters

107
https://github.com/rchain/Members/issues/107
Important!!! Promote this Press Release
Marketing
0
New
⍴ -
$ -
$ -

@patrick727
0%
0

107
https://github.com/rchain/Members/issues/107
Important!!! Promote this Press Release
Marketing
0
New
⍴ -
$ -
$ -

@dckc
0%
0

107
https://github.com/rchain/Members/issues/107
Important!!! Promote this Press Release
Marketing
0
New
⍴ -
$ -
$ -

@djrtwo
0%
0

107
https://github.com/rchain/Members/issues/107
Important!!! Promote this Press Release
Marketing
0
New
⍴ -
$ -
$ -

@llerner?
0%
0

@djrtwo thanks!
medium post https://medium.com/rchain-cooperative/vlad-zamfir-joins-the-rchain-cooperative-a05f8e32c110

New tweet pairs
https://twitter.com/rchain_coop/status/911209280434515969
https://twitter.com/rchain_coop/status/911209323581313024

retweet this tweet and/or tweet at this guy https://twitter.com/crypt0snews so that he will cover it on his news show, hes got about 50k subs.
my tweet: https://twitter.com/patrickpresents/status/911210439626850304

I created a link http://tinyurl.com/RChainVlad

@kdvalentine or @plantether
are you able to whip up a quick 500-750 word blog post on Vlad joining the Cooperative?
this will be a guest post for State of the Dapps (ethercasts)
All it needs to do is highlight the news, talk a bit about casper proof of stake, and then talk about the importance of blockchain governance and the reasoning behind doing rchain as a cooperative, and how vlad and kenny are passionate about this.
If you agree I can create another issue and give it a seperate budget. Please let me know asap thankyou

Upvoted both. This is creating some buzz, great.

Budget update
2 more Activist votes needed for setting the budget (please find one :-)

URL
Status
Project / Issue
Category
Votes
Last month
Left over
New Budget
$ Sep Budget
⍴ Sep Budget
Voters

https://github.com/rchain/Members/issues/107
New
Important!!! Promote this Press Release
Marketing
1
$ -
$ -
$ 2,500.00
$ 2,500.00
⍴ 25,000.00
@patrick727

Who wrote the blog post on Medium?

@lapin7 the medium post is a direct copy from the press release.
@kdvalentine said that he would draft up another guest post as well.

Hello there, Am new here. Can i write an article on this?

This is great news! (Sorry for late response been off line for the Jewish new year and Sabbath.) Happy to promote this asap!
--
Jacob Bassiri-Tehrani
(516) 458-7439

On Sep 23, 2017, at 3:02 PM, Ojimadu<EMAIL_ADDRESS>wrote:
Hello there, Am new here. Can i write an article on this?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Ojimadu great, yes please share it with us and we will review it!

Prominent Ethereum Researcher Vlad Zamfir joins R-chain Co-op as Director.
Prominent Ethereum  researcher has joined R-chain cooperative as a director of the platform. Vlad who is popularly known for his work on ethereum’s POS (Proof-of Stake) consensus mechanism ‘Casper’ posted on his twitter handle that he is excited to help the R-chain ecosystem with blockchain governance.
Until recently, most blockchains such as bitcoin and ethereum uses proof-of-work (POW) as means to arrive at a consensus. Proof-of-work has a major problem, it is highly energy intensive and it is estimated that mining activities associated with proof of work uses more electricity than the whole of Iceland. Also with increasing mining difficulty as in bitcoin’s  POW consensus mechanism raises the barrier of entry to decentralized systems which increases the risk of centralization. In a bid to mitigate these, ethereum’s developers and researchers came up with ‘Casper’.  Casper named after the 1995 American movie is a security-deposit based economic consensus protocol. Which means that nodes has to be bonded validators (place a security deposit) in order to be able to forge blocks. The protocol’s control of the security deposits is one way in which the incentives of validators is affected by casper. Casper uses a mechanism known as ‘slasher’ to disincentivize bad actors and solve the ‘nothing at stake problem’, it does this by making bad actors lose their stake/ bonded security deposit and prevents them from participating in the consensus process when they try to act in a malicious manner. Vlad has been researching casper along with Ethereum founder Vitalik Buterin since 2015.
R-chain is a parallelized blockchain with governance built into it in form of a cooperative. Governance has been a problem for blockchains without an inherent mechanism to govern itself  as has been the case of bitcoin and its block size debate which lingered for more than two years and does not seem to be completely solved. Blockchains with inherent governance mechanism proposes to be faster in pushing upgrades to the network and charting a clear direction  and roadmap without much need for nasty hardforks. Upgrades can voted upon easily by bonded validators or by some other means depending on the type of governance system implemented this help blockchains to be able to adapt and adopt features quickly and help the network grow organically.
R-chain takes quite a different approach to governance it proposes an open cooperative known as co-op which is the organization that develops the open-source RChain platform software.  In R-chain proposals are made along with a budget (if any) by active members of the co-op, proposals are then voted upon by validated members of the co-op. Then co-op is still in its formative stages hence the actually workings of its governance system is yet to be finalized but it is already in used by the community.
Vlad joins Kenny rowe, co-founder of MakerDAO among five other as board directors. Both of which has been are passionate about governance and consensus in distributed systems.
This comes as the Co-op nears the conclusion of its private token sale, ending September 28, 2017. More information at https://privatesaleinfo.rchain.coop/.

@Ojimadu this is great!, I'd like to see ssomeone with better editing skills thne I(such as @kitblake or @plantether) comb through this for grammer and spelling, one thing that poppoed is its RChain and now R-Chain.
Overall great stuff, where did you intend to publish this?

Was thinking of steemit or medium. I think Medium seem to be better. Anyone can post it elsewhere too.

Awesome, we need some coverage on steemit and medium so please go ahead and post to both and we can swarm like-share it! Great stuff dude lets get you into the activist reward sheet for this issue, or @lapin7  maybe there should be a seperate one for guest posts?

Nice work, @Ojimadu!  Attached is a Word doc with some suggested changes and comments.
Ojimadu Vlad post comments.docx

@plantether, Nice comments. I've edited the original post here is the medium link
https://medium.com/@Ojimadu/ethereum-researcher-vlad-zamfir-joins-rchain-co-op-board-of-directors-6d70a035d0d8

@Ojimadu awesome, you should submit it to https://medium.com/ethercasts and I will get it accepted and that will broader your reach with it!

@patrick727 If it can be done soon, the better.

@Ojimadu yes just request it on their publication

@patrick727 how please? Email?

@Ojimadu sorry it has to be on their side, my bad.
I am working on it now

It would be great to email Crypt0 show and ask for them to cover the story. I got one reply so if we follow up with some demand it may help to close things.
Cheers

@patrick727  Sure


Update dockerfile and init.sql to be postgress instead of MySQL

Currently we're using a MySQL database but want to move over to a Postgress database

I agree. I would like to have two setups. You should look it up but in Spring you can have profiles (dev, prod, etc.) which maybe gets read as an environment variable. So we will keep the script and properties file for MySQL and have a separate one for Postgres.

Issue #32 is now closed so you now have an example of how to use environment variables. This is also helpful if you ever need to use them in code.
https://www.baeldung.com/spring-boot-properties-env-variables

I agree that it's worth talking about having those different environments. I would like to keep the environments as much the same as possible where there's not a lot of overhead though, and having the databases be the same type seems straightforward in this context.
You can run into a lot of hard to figure out problems if your dev environment doesn't match your production environment. A more extreme example would be like if we use H2 for our development environment. That's obviously not good because it's just such a different database that we can't be sure that if something is working with it, it'll work on production database. The same type of thing is true with MySQL and Postgress though. So if our production database is going to end up being postgress, our development database should be.
Unless there's a reason not to, I would really like to make sure we're all using the same environment, and I would like that environment to use Postgress. When I compared the two, Postgress is a lot more user friendly (aka, won't blow your foot off) and the main reasons we would use MySQL don't seem to apply here. Let me know your thoughts on any of that.

I chose MySQL for my temporary environment because MySQL is very simple and easy to setup and is what I am comfortable with. Completely agree that Postgres in general is the superior database (for most definitions of superior) but most of this data will be fairly static in production (think of the stations and their connections) and so much of the database is just serving as a datastore. A lot of data validation will go on in the Java side as well and will be fairly easy to determine if any bad data has been input.

We discussed this over Signal but will just put it here again for records.
Since we now put much of the setup in environment variables all that is left is to make a copy of the table script but for Postgres which was already needed to begin with and no extra work for you. This will I will work on getting Docker setup on my end. Let's keep both table scripts though.

So I need to do more testing to figure out what's happening, but I'm running into an issue running the init.sql against the postgres database after updating the syntax to it.
I appears that here, we're creating and we're making amenity key as one of the foreign keys, however the amenity key is a composite of the id and amenity itself. This means that on the poi_amenity table, it's expecting the amenity_id and amenity.
I'm tired and so I forget what we agreed to and why, but at this current time (which I will think about more tomorrow) I'm thinking the best thing to do is drop having the Amenity table having a composite key since it has an id. The making the poi_amenity just be the poi_id and amenity_id. Then I need to go to the class and update it to reflect this schema change.
Like mentioned, I'll be thinking about this more tomorrow, but if you could mention why making the amenity key a composite and/or if the above does sound good, then I can start to get further on this.


ui-grid-render-container element is larger then grid element

I have a webapplication based on bootstrap with the modules data-ui-grid-auto-resize, data-ui-grid-selection, data-ui-grid-cellnav
When i add the grid and set the following
.passage-grid {
  height: 300px;
}

I expect that the grid is fixed and the content can be scrolled.
The output was that the ui-grid-render-container element is larger then grid element and shows all items.
Is this a bug or can I fix this myself?

Are you able to reproduce in a plunker, or provide a screenshot with the render container element highlighted in development tools so we can see exactly how it looks?
Thanks

Update from version 18 to version 19 fixes the problem


⚠ Bofrost.de has degraded performance

In 400689b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1584 ms

Resolved: Bofrost.de performance has improved in 36eae97 after 21 minutes.


Load data with two columnfamily HBase using YCSB

Hallo, my name is cici. I want to ask you about YCSB in HBase. When I load or run data YCSB using HBase, I use command line as below :
./bin/ycsb load hbase12 -P workloads/workloada -p table=tabel1 -p columnfamily=cf1 -s > loaddata.txt
Based on the command line above, there is only one column family in declaration. The question is can we use more than one column family when we load or run data using YCSB? if yes, how to declare another column family ?.
I have tried used two column family, but the result is error or insert failed. I use command line:
./bin/ycsb load hbase12 -P workloads/workloada -p table=tabel1 -p columnfamily=cf1,cf2 -s > loaddata.txt
I hope you can help me. Thankyouuu :)

the current hbase binding for YCSB only supports operating against a single column family at a time.
adding the ability to specify additional column families would be good.


[Web] Character duplicating when using IME Chinese inputs on Safari

VS Code Version: Web Playground
OS Version: macOS 11.1

I cannot reproduce this issue on Chrome, so it's probably related to Safari.
Steps to reproduce the issue:

Enable Sucheng Input method (or any other Chinese IME input method) System Preferences > Keyboard > Input Sources > Add > Chinese, Tranditional > Sucheng
Switch OS input method to Sucheng
Visit https://vscode-web-test-playground.azurewebsites.net/ with Safari
Type f and press Enter twice.
The character is input twice

https://user-images.githubusercontent.com/38398443/112003599-feea8800-8b5b-11eb-8693-218ee82e9762.mov
Here's how electron VS Code (or Chrome) behaves:
https://user-images.githubusercontent.com/38398443/112003620-027e0f00-8b5c-11eb-9fef-0b9ea7891d4c.mov

Does this issue occur when all extensions are disabled?: Yes

Fixed via 0d26b20c7cb8b1d4935f4e79c5e798c0c9437523


[CSDK-198] TransactionRuntime serialization

Summary
modify TransactionRuntime type and serialize stored/session targets as per new requirements for VM1.
TODO
Checklist

[X] Code is properly formatted
[S] All commits are signed
[ ] Tests included/updated or not needed
[ ] Documentation (manuals or wiki) has been updated or is not required

After Artem review:

Reverted Package to SmartContract renaming until this issue is clarified https://github.com/casper-network/casper-node/issues/5030
Handled this change: https://github.com/casper-network/casper-node/pull/5034


Large ResponseBodies are cut short if using Static and Dynamic compression

Repro example:
Run the template MVC application. When navigating to the homepage, the Jquery.js file will sometimes lose a chunk of data, causing the file to be unusable. We should investigate why this is happening, which could either be in native or managed.

Seems to be possibly be caused by the Dynamic and Static compression modules in IIS. When running an MVC application with a applicationhost.configfile, all file responses came back as chunked and encoded. Disabling these fixed the issue from what I can tell. We should eventually verify that the Static and Dynamic compression modules work with in-process.

Those modules should be transparent to you, and they're on by default. Disabling them is not a sufficient workaround. Keep working on this.

I think that’s why the issue isn’t closed 😁

He said 'eventually'. There is no 'eventually' about data corruption. There should be no more feature work until we get this figured out.

I don’t want to not pick on those details. It’s a known issue and @jkotalik made some progress. The issue will be resolved just like all of the other ones.

Sorry poor word choice. I'm still working on this right now.

Alright after further investigation, it seems that the call to IIS WriteEntityChunks works normally if no compression module is enabled. However, when enabled, if the response body grows above ~65KB, it will only write up to that much to that call, even if more than 65Kb of data is provided. Without the module enabled, it works in both the chunked and content-length scenarios.
@pan-wang is currently investigating why that call doesn't return the full response length. If it is a bug, we may need to change the way we write the response.

This is seems to be by design.  In duplex mode, the callback is registered on io completion, it this returns the number of bytes sent of first chunk. I think we can ignore the number as long as it is not zero.  Once the callback is called,  we can assume the chunk is handled by IIS correctly.   In case of failure,  nothing we can do here as some byte already sent to the client.

Seems we can't use WriteEntityChunks for any use because the dynamic and static compression modes have a configurable chunk size. Because of this, we cannot reliably limit the size from managed to chunking below the buffer limit.  Per discussion with @pan-wang, we should probably avoid using IHttpResponse2::WriteEntityChunks. Moving this to ANCM.


Fixed code generation of primitive types

Changes

It is not possible to generate primitive type variables currently. This change fixes that. Once done for Go SDK will be followed up for other SDKs.
Tests

Ran: deco openapi generate-sdk go --openapi-spec 09a7fa63d9ae243e5407941f200960ca14d48b07 and SDK generation is successful.

[ ] make test passing
[ ] make fmt applied
[ ] relevant integration tests applied

Yeah, probably something like map iteration order randomized by go runtime yada yada yada... we should fix that.


plugins/net/wireguard configuration reload support

Currently when hitting the "Save" button under either Servers or Clients tabs, or calling the equivalent "reconfigure" API call, a traffic outage is caused to all VPN connections, even if there were no changes to the configuration.  It appears that a full restart of the service is taking place, causing interfaces to be removed and recreated etc, then all of the VPN peers need to re-connect after this, which can take from seconds to a couple of minutes depending on if you have Endpoint addresses defined on both sides of the connection.
The /usr/local/etc/rc.d/wireguard already supports a "reload" option, which uses the wg syncconf option, which allows you to update a particular interfaces configuration without any noticeable hit to traffic.
By adding the following section to /usr/local/opnsense/service/conf/actions.d/actions_wireguard.conf:

[reload]
command:
/usr/local/opnsense/scripts/OPNsense/Wireguard/setup.sh;
/usr/local/etc/rc.d/wireguard reload;
parameters:
type:script
message:reloading Wireguard

and an additional function to /usr/local/opnsense/mvc/app/controllers/OPNsense/Wireguard/Api/ServiceController.php:

/**
* update config without restarting
* @return array
*/
public function reloadAction()
{
$backend = new Backend();
$response = $backend->configdRun("wireguard reload");
return array("response" => $response);
}

I can now successfully perform a GET (not the best choice) to /api/wireguard/service/reload which updates the configuration without causing an outage.
I understand there there may be issues when a new "Server" is created, as I don't believe the corresponding interface will be created with just the reload, as the wg-quick components would not be being called, but as far as adding / removing peers to existing endpoints this seems to work well - could this be considered going ahead?
OPNsense 20.1.9-amd64
os-wireguard 1.2
Cheers,
Adam

I've refined this with @astuckey123 by implementing the reconfigureAction method for the ServiceController class. Before it was falling back to the default reconfigureAction in ApiMutableServiceControllerBase which was then invoking a full wireguard service restart. Our version uses the less disruptive wireguard reload instead.

Please reopen and assign to me, there's an open PR for this but I didn't find the time to play with it.
Thx

@astuckey123 @seandmccarthy does the reload still work for you? I tried to relaod via CLI only and hit 5 second timeout like when restarting the service.

Any updates on this?

Info to all, this one can be reopened if some guys can test it, for me the reload executed manually didn't work on FreeBSD

A new PR will have to be submitted.

It worked for me as described by @astuckey123, but I had to reload the template as well. So after changing actions_wireguard.conf I can apply new peers from ssh shell with
configctl template reload OPNsense/Wireguard
configctl wireguard reload

That is good enough for me atm. To get this into the UI for peers and changes in the peer association to servers there shouldn't be much to do, but I don't know how to do it correctly and I don't have the time to figure it out. I can provide a pull request for the changes to actions_wireguard.conf as soon as I have tested them on the newest version of the plugin. Tested them only on the version before #3206 but that shouldn't make much of a difference. Still better safe then sorry.

Had two up and running, but didn't look at them while I reloaded the config. Will test on monday.

@hapm do you have that pr still? We are very interested in adding this and could test it in any way needed.

If it works I don’t mind a PR, but we don’t need a reload action. We can actually switch the controller default from restart to reload, just needs another function override (not T a computer at the moment to point to it).
but we should also check if this was attempted before and failed for some reason.
Cheers,
Franco

If it works I don’t mind a PR, but we don’t need a reload action. We can actually switch the controller default from restart to reload, just needs another function override (not T a computer at the moment to point to it).
but we should also check if this was attempted before and failed for some reason.
Cheers, Franco

If I'm not mistaken restart is still needed to add and remove new wg instances, so removing restart wouldn't be an option.

From memory when we first did a PR (it was quite a while ago), you need to do a restart when altering / adding anything in "Local", except when updating the "Peers" list in the Local config.  Adding new Endpoints / modifying the Peers list only needs a reload (hitless).

We are still plagued by this issue causing outages each time we add an endpoint...

We are still plagued by this issue causing outages each time we add an endpoint... as we went back to mainline after our PR didn't go through due to being deemed too complicated.

So, when you dont change anything and type via CLI:
service wireguard reload
Nobody geht's kicked or has interruptions? Can you do this a couple of time on high value traffic? In my last testing I had disconnects too even with reload but I cant find anyone to test this.

We are still plagued by this issue causing outages each time we add an endpoint... as we went back to mainline after our PR didn't go through due to being deemed too complicated.

So, when you dont change anything and type via CLI:
service wireguard reload
Nobody geht's kicked or has interruptions? Can you do this a couple of time on high value traffic? In my last testing I had disconnects too even with reload but I cant find anyone to test this.

I am ramping up testing of our solution described in #1951 (comment) and will know for sure if it's a problem or not today. In my tests yesterday, reload added a new peer and existing sessions and traffic were not disrupted.

And you usually have disruptions without the solution of above?

We are still plagued by this issue causing outages each time we add an endpoint... as we went back to mainline after our PR didn't go through due to being deemed too complicated.

So, when you dont change anything and type via CLI:
service wireguard reload
Nobody geht's kicked or has interruptions? Can you do this a couple of time on high value traffic? In my last testing I had disconnects too even with reload but I cant find anyone to test this.

I am ramping up testing of our solution described in #1951 (comment) and will know for sure if it's a problem or not today. In my tests yesterday, reload added a new peer and existing sessions and traffic were not disrupted.

And you usually have disruptions without the solution of above?

Correct. Using the existing "reconfigure" endpoint, all clients have their connections interrupted as Wireguard re-establishes its connection. That drop/hitch is not present with the "reload" endpoint, and all other functionality is preserved.

I've got several users connecting and disconnecting today, which runs a "reload" each time, and no traffic has been disrupted. I can verify that service wireguard reload specifically can be run on the CLI and nobody gets dropped (in fact, I can run it while connected to the machine through the same Wireguard connection that I'm reloading and there's not even a blip).
I can get this endpoint added to the documentation (with the explanation that it's only useful for peer addition and removal) and submit a PR if that would be helpful. It would be handy, but not critical, to have access to this in the UI, but I'm not sure how to message the caveats appropriately in that context.

When it comes to GUI, my dream would be, that it detects if there are changes made to local, that are other than only changing associated enpoints and than automatically change the action used to apply from reload to restart. If the apply would requier a restart, it should warn the user before applying, that it will result in a connection reset. Bonus points if it uses wg syncconf, what I didn't even know existed when I started to write this reply.

@hapm wg_syncconf is the preferred way, i agree.

As of the changes detailed in the comments of #3358, a configuration reload will be performed when peers are added or removed from a Wireguard instance so long as "Disable routes" is enabled on the instance.


add elation/platinum-hfx

Unfortunately, there was a network error during submission, so here it is "offline".

Oh and please remove the unnecessary name attributes or shorten the longer channel keys and keep the names.


Hi,something about GGNN

I want to add an attention mechanism to ggnn. Which part of the code should I modify

Like  keras-gat,developed by Daniele Grattarola

Probably best to modify the propagate function. Right now, that function implements:

summing all incoming messages per node (by edge type), and
combining the old state with the new ones using a GRU (line 92).

How you'd update that is up to you, but the gist for a GAT is typically that you replace "sum + GRU" with "attend". That won't be terribly trivial, but that's part of the fun :)


build(scripts): force ESM & rename files

Better devexp. Ports https://github.com/davidlj95/chrislb/pull/175 & https://github.com/davidlj95/chrislb/pull/176

Current dependencies on/for this PR:

main

PR #179   👈

This stack of pull requests is managed by Graphite.


Rotate pictures

While I do appreciate the horizontal and vertical flips, sometimes images I import come out sideways for some reason despite being oriented correctly in other photo apps. Is there a possibility of adding the ability to rotate (even if it's only by 90° at a time)?

I'm having this exact same issue and I second this.


Investigate remaining color issues

The graphiccolor field seems to sometimes get loaded as 0..1, and other times as 0..255; need to figure out where the latter values are coming from

Still monitoring for issues, I suspect some might remain in the animation system


v19.1.6 add missing file into .gitignore

[Current coverage][cc-pull] is 100%

Merging [#490][cc-pull] into [master][cc-base-branch] will not change coverage

File ...RequestValidator.php (not in diff) was modified. more

Misses 0
Partials 0
Hits +18

@@           master   #490   diff @@
====================================
  Files          27     27
  Lines         420    438    +18
  Methods       105    114     +9
  Messages        0      0
  Branches        0      0
====================================
+ Hits          420    438    +18
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last updated by [d5326c7...e4f129b][cc-compare]
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/compare/d5326c71fd553220e198977b4372482de8544bdb...e4f129b93f69a647bbc935d50fea248073181b8f
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/490?src=pr


Context Code Replacement In Copilot Chat

There should be a feature inside of Copilot chat where when it gives suggestions for long pieces of code, it typically puts comments inside of the code in places that don't need to be changed in order to be faster and save resources. What it should do is assign each changed piece of code to a certain part of the code to be replaced so that there can be a button that can be clicked in the new code snippet that replaces the entire relevant piece of code with the new changes even if the entire code wasn't written out by Copilot chat so that the developer does not have to go through that new code and just copy each individual piece of the code to the relevant section which can take a lot of time to find and go through as well as copy and paste. This is what Copilot inline chat currently does, this should be an option with a /command like /fix and /tests.

I don't believe we plan to address this anytime soon. Chat is great for a conversational piece but mapping edits especially when they're not associated with any particular file is super difficult, this is why inline chat is our answer to the case of when a user wants Copilot to directly apply an edit to their codebase.


Authorization header : JWT or Bearer?

The README says to use the format JWT {token}. When used, the server throws an error :
{
  "error": "Authorization header format must be Bearer {token}"
}

Using Bearer {token} works fine.

Hi @DudeWhoCode ... You are right, we use Baerer {token}, but this token it's JWT.

Then line number 124 README.md should be changed from :
Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

to
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

Am I right?

You're right. The authentication is JWT and should be sent using the Bearer schema in the Authorization header.
We need to improve this error message.


fix: fix failing of trivy-action in CI

What does this PR change?

Does the PR depend on any other PRs or Issues? If yes, please list them.

Checklist
I confirm, that I have...

[ ] Read and followed the contributing guide in CONTRIBUTING.md
[ ] Added tests for this PR
[ ] Formatted the code using npm run format (if applicable)
[ ] Updated documentation on the Paralus docs site (if applicable)
[ ] Updated CHANGELOG.md

The vulnerability (CVE-2024-28085) is not yet mitigated in nginx image v1.25.4
https://hub.docker.com/layers/library/nginx/1.25.4/images/sha256-52478f8cd6a142fd462f0a7614a7bb064e969a4c083648235d6943c786df8cc7?context=explore


GEODE-1682: Adding options for starting Geode REST API using gfsh

GEODE-1682:

Added option in gfsh to start REST start-rest-api
Added option for http service port http-service-port
Added option for http service bind address http-service-bind-address
Update gemfireProperties to for cache creation.
Verified Manually ( both with start-rest-api and without )
Ran the precheckin

Test Failing ( ConcurrentParallelGatewaySenderOffHeapDUnitTest#testPartitionedParallelPropagationHA

Thank you for the pull request Avinash! Please look into writing some new tests that verify the changes.

Thanks @kirklund for initial review. I have updated the PR with addition of Tests

+1

what is the next step for merge, I do not see that option. May be I am missing something !!!

I'll merge it to develop, run tests and commit it if everything passes -- the commit will automatically close the PR and you'll receive a notification. Thanks Avinash!

Hi @davinash, there was one test failure in precheckin that needs to be fixed:

:geode-core:integrationTest

com.gemstone.gemfire.management.internal.cli.commands.HelpCommandsIntegrationTest > testOfflineHelp FAILED
    org.junit.ComparisonFailure: expected:<...iguration(=value)?]
    [PARAMETERS
<...snip...>
        use-cluster-configuration
            When set to true, the server requests the configuration from locator's cluster
            configuration service.
            Required: false
            Default (if the parameter is specified without value): true
            Default (if the parameter is not specified): true
        start-rest-api
            When set to true, will start the REST API service.
            Required: false
            Default (if the parameter is specified without value): true
            Default (if the parameter is not specified): false
        http-service-port
            Port on which HTTP Service will listen on
            Required: false
            Default (if the parameter is not specified): 8080
        http-service-bind-address
            The IP address on which the HTTP Service will be bound.  By default, the Server is bound to
            all local addresses.
            Required: fals]e>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at com.gemstone.gemfire.management.internal.cli.commands.HelpCommandsIntegrationTest.testOfflineHelp(HelpCommandsIntegrationTest.java:100)

3229 tests completed, 1 failed, 175 skipped
:geode-core:integrationTest FAILED


showLineNumbers Not Working

Thanks @artmoskvin for the amazing project!
The showLineNumbers=true arg doesn't seem to work as expected:
curl 'http://localhost:8080/projects/PJzYhFzvba/files/my_tiny_service/api/routers/maths.py?showLineNumbers=true' | jq -r .content

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3738    0  3738    0     0  1988k      0 --:--:-- --:--:-- --:--:-- 3650k
"""Endpoint examples with input/output models and error handling."""
import logging

import fastapi
import pydantic
import starlette.status

router = fastapi.APIRouter()
...

Maybe none of the parameters work.

Oops my bad, had to upgrade the server 😉


[CONTENT] Add CLI reference docs for --data-file flags for invoke and publish

What content needs to be created or modified?

[CONTENT] Add CLI reference docs for --data-file flags for invoke and publish
Describe the solution you'd like

Add in the flags in the reference for CLI docs.
Where should the new material be placed?

v1.2
Additional context

https://docs.dapr.io/reference/cli/dapr-invoke/
https://docs.dapr.io/reference/cli/dapr-publish/

/assign

/assign


AMF doesn't check security mode

Hi everybody!
Looks like AMF only checks SecurityHeaderType, but not if the security mode matches the UE context. If a UE already performed the Security Mode procedure, then all incoming NAS messages from that UE must be integrity protected and ciphered.
An incoming NAS message with SecurityHeaderTypePlainNas should be discarded. However, AMF seems to accept the message.
Steps to Reproduce
Apply this patch: https://github.com/mrlnc/free5gc/commit/6fbe8fcb8cf75f5ce907eb8897de296b5ad2a314
The patch will just make the UE component send plain messages instead of properly encrypting and integrity protecting them.
Then run the registration test:
$ ./test.sh TestRegistration

Despite the AMF configured NEA2 and NIA2 in Security Mode Command, it accepted all incoming PlainNas messages.
PCAPs
TestRegistration without modification:
amf_security_bug_encrypted.pcapng.zip
TestRegistration with PLAIN messages (patch applied):
amf_security_bug_plain.pcapng.zip

Security Mode Command: NEA2 and NIA2 set
Security Mode Complete incoming from UE: PLAIN without integrity or ciphering. This is the first message that should not have been accepted by the network.

Walkthrough
(just my notes how the incoming NAS message is processed)

It reaches HandleUplinkNasTransport in ngap::handler.go.
It's handed to HandleNAS in nas::handler.go, which will try to decrypt the NAS message:

msg, err = nas_security.Decode(ue.AmfUe, nas.GetSecurityHeaderType(nasPdu)&0x0f, nasPdu)

Decode in nas_security::security.go then actually checks message integrity and encryption -- but only depends on the security header, not the UE security context.

func Decode(ue *context.AmfUe, securityHeaderType uint8, payload []byte) (msg *nas.Message, err error) {
	integrityProtected := false
	newSecurityContext := false
	ciphering := false
...
switch securityHeaderType {
	case nas.SecurityHeaderTypePlainNas:
	case nas.SecurityHeaderTypeIntegrityProtected:
		integrityProtected = true
	...
}
...
	if ue.CipheringAlg == context.ALG_CIPHERING_128_NEA0 {
		ciphering = false
	}
	if ue.IntegrityAlg == context.ALG_INTEGRITY_128_NIA0 {
		integrityProtected = false
	}
	if ciphering || integrityProtected {
            ...
            /* decryption and integrity check here */
        }
        /* this is always reached */
        err = msg.PlainNasDecode(&payload)

The logic should be the other way round: AMF needs to perform security checks by default, and only skip security checks if it was explicitly configured (emergency registration) or not yet enabled (prior security mode procedure).

I think this should be tagged as bug, not enhancement.
Without enforcing integrity check, anybody can connect to the network without SIM card.

That's right.
We're now working on this, it will be fix in our next patch.
Thanks a lot!

Sure -- just a good opportunity to start working with your code base :)
Some simple change I had in mind:
https://github.com/mrlnc/amf/commit/71407aa15c0a8f814029cfee5b9c0f05f4420584
However I'm not 100% through all your UE context handling. Like, if ue.SecurityContextAvailable is reliable to signal the UE security context.

Hello all,
When I am Trying to build network components after "./install_env.sh"  step
when i run the command
~/go/src/free5gc$ sudo ./build.sh
Start build amf…
./build.sh: line 7: go: command not found
Start build ausf…
./build.sh: line 7: go: command not found
Start build nrf…
./build.sh: line 7: go: command not found
Start build nssf…
./build.sh: line 7: go: command not found
Start build pcf…
./build.sh: line 7: go: command not found
Start build smf…
./build.sh: line 7: go: command not found
Start build udm…
./build.sh: line 7: go: command not found
Start build udr…
./build.sh: line 7: go: command not found
Start build n3iwf…
./build.sh: line 7: go: command not found
Start build UPF… CMake Error: The source directory “/home/crrao-aimscs/go/src/free5gc/src/upf” does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make: *** No targets specified and no makefile found. Stop.
Thank you!!

Did you clone and update all the submodules prior to that?
cd $GOPATH/src/free5gc
git checkout master
git submodule sync
git submodule update --init --jobs `nproc`
git submodule foreach git checkout master
git submodule foreach git pull --jobs `nproc`

Thanks,
I followed the above steps and re-run the steps
I got the following error
~/go/src/free5gc$ ./build.sh
Start build amf....
WORK=/tmp/go-build634930480
Start build ausf....
WORK=/tmp/go-build972376490
Start build nrf....
WORK=/tmp/go-build106685109
Start build nssf....
WORK=/tmp/go-build028126791
Start build pcf....
WORK=/tmp/go-build212894770
Start build smf....
WORK=/tmp/go-build203129800
Start build udm....
WORK=/tmp/go-build015767116
Start build udr....
WORK=/tmp/go-build160776954
Start build n3iwf....
WORK=/tmp/go-build805855839
Start build UPF....
CMake Error: The source directory "/home/crrao-aimscs/go/src/free5gc/src/upf" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.
it is not able to pick UPF from cmake file
thank you

Could you please move your discussion to e.g. the forum or mail?
This GitHub Issue keeps track of the discussion to a very specific issue.

Really you people don't give proper responses in the forum!! also it has time limit for each post !!
thank you .

Dear all,
We have correct NAS security encode/decode procedure in free5gc v3.0.3. Please check and try it!
Thanks for your report!

First tests seem very good. The code seems correct now. I added my test here: ac71525def0bb4e4cecc0fde3dd4f2fdb4883bc3 Maybe it's worth to expand this test and include it.
As a side note, I felt like sometimes the testcases fail "too late". So I added some basic checks if the expected message was actually received. NGAP-level check:
assert.True(t, ngapPdu.Present == ngapType.NGAPPDUPresentSuccessfulOutcome && ngapPdu.SuccessfulOutcome.ProcedureCode.Value == ngapType.ProcedureCodeNGSetup, "No NGSetupResponse received.")

The same on NAS-layer; check if the expected:
assert.True(t, nasPdu.GmmHeader.GetMessageType() == nas.MsgTypeAuthenticationRequest, "No Authentication Request received.")

I think UE-side NAS decryption is missing to expand this for other messages :-) I'll see if I can add this myself.

Hi @mrlnc ,
We think that it is good to have a test about NGAP and NAS. How about give a PR and we can goes more discussion about the details. 😃
Thanks a lot!


Page still contains reference to Windows Mobile 10

Hi
This page has obviously been edited to remove examples that relate to Windows 10 Mobile (which is no longer supported) but still contains the reference "...These are visible as icons on the top of the iOS and Android screens, and on the bottom of the Windows 10 Mobile screen."
Cheers
Brett

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0951037b-bdc8-f98e-e8c3-fe1f4acaa6bf
Version Independent ID: 218f322f-ddb1-02a6-9611-63c079b9bbff
Content: Summary of Chapter 1. How does Xamarin.Forms fit in? - Xamarin
Content Source: docs/xamarin-forms/creating-mobile-apps-xamarin-forms/summaries/chapter01.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


Global configuration not taken into account

When I use a local .babelrc configuration everything works as expected, but when I switch to a global configuration file (renaming babelrc to babel.config.json), I get the following error:
compose requires at least one argument

If I use both files, it works but the global configuration seems to be ignored.
Just in case, here is my babel configuration:
{
    "presets": [
        "@babel/preset-env",
        "@babel/preset-react"
    ],
    "plugins": [
        [
          "@babel/plugin-proposal-class-properties"
        ]
    ]
}

Can you please share your Rescripts configuration?


Continuous Monitoring (Auto) switch not working for HP04

Thanks for maintaining this.
I have an HP02 that I've had for a month and hooked it up using the original integration via the local mode by capturing the packets on my android phone. All has worked well. This was added under Device Type:  Pure Hot+Cool Link
Yesterday I got an HP04 and originally hooked it up via the original integration (didn't know about yours).
I did the same packet capture but it would only add using Pure Hot+Cool. So not the LINK one.
All works except for the Continuous Monitoring switch. It has no effect.
I found out about this integration and did the hot swap over. Still didn't work so removed the HP04 and readded but same behavior.
Is there something I can provide to help identify why this switch isn't working?
And is the HP04 being the Pure Hot+Cool expected vs the Pure Hot+Cool Link of the HP02?

Well this is embarrassing 😄
You nailed it - it's not behaving like I [wrongly] expected.
I had in my head that Continuous Monitoring was the equivalent of Auto and thought (again, incorrectly) that switching it on the HP02 impacted the Auto mode. I see now that Auto is a preset under the fan.
So nothing to see here 😉
I do appreciate the explanation and background you provided.

Well this is embarrassing smile
You nailed it - it's not behaving like I [wrongly] expected.

You've got nothing to be embarrased about! Glad it's working!


Add conversion from Zarr array to tensorstore

Enabling tensorstore conversion from a zarr array, as mentioned in #26.

Thanks for the PR, @ilan-francisco.
I have a few minor comments:

Could you add a test and document the method?
You also need to add the package as a dependency. If it's an optional dependency, pytest can skip the test if the import fails.
Convert the assert to an if and raise call.

@ziw-liu , will tensorstore be an optional dependency?

will tensorstore be an optional dependency?

This sounds like the best solution as the complied extension of tensorstore is not available on every platform.
If we do go this route then this PR (and future ones using ts) will need to handle import errors.

@JoOkuma Is further follow-up work expected for this PR?

Closing as stale.


[fpv/flash_ctrl] Fix flash_ctrl_sec_cm failures

This PR fixes flash_ctrl sec_cm failures by:
1). Black box prim_ram_1p to avoid flash_ctrl being too large to
compile.
2). Add a stopat at u_rma_reg.
3). Add a direct err_o at FSM default stage.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

done.


[CI] Replace runs-on: ubuntu-latest with runs-on: ubuntu-20.04 in GitHub Action workflows

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
The workflows currently contained mixed usage of runs-on: ubuntu-latest and runs-on: ubuntu-20.04.
It's better to be consistent and use runs-on: ubuntu-20.04 for all cases. It's better to be able to control when we switch to use ubuntu-22.04 image instead of letting GitHub decide.
For macOS, we should replace macos-latest with macos-11 for the similar reason.
Available image definitions are listed at https://github.com/actions/runner-images#available-images
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Sounds good! I just do the same thing in incubator-kvrocks days before.


Does not compile with Node V0.6.0

<EMAIL_ADDRESS>preinstall /usr/local/lib/node_modules/v8-profiler
node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Checking for program g++ or c++          : /usr/bin/g++
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for g++                         : ok
Checking for node path                   : ok /usr/local/lib/node_modules
Checking for node prefix                 : ok /usr/local
'configure' finished successfully (0.029s)
Waf: Entering directory /usr/local/lib/node_modules/v8-profiler/build' [1/9] cxx: snapshot.cc -> build/Release/snapshot_1.o [2/9] cxx: graph_edge.cc -> build/Release/graph_edge_1.o [3/9] cxx: graph_node.cc -> build/Release/graph_node_1.o [4/9] cxx: graph_path.cc -> build/Release/graph_path_1.o [5/9] cxx: snapshot_diff.cc -> build/Release/snapshot_diff_1.o [6/9] cxx: profile.cc -> build/Release/profile_1.o [7/9] cxx: profile_node.cc -> build/Release/profile_node_1.o [8/9] cxx: profiler.cc -> build/Release/profiler_1.o In file included from ../snapshot_diff.cc:1: ../snapshot_diff.h:15: error: expected ‘,’ or ‘...’ before ‘*’ token ../snapshot_diff.h:15: error: ISO C++ forbids declaration of ‘HeapSnapshotsDiff’ with no type In file included from ../graph_path.cc:1: ../graph_path.h:15: error: expected ‘,’ or ‘...’ before ‘*’ token ../graph_path.h:15: error: ISO C++ forbids declaration of ‘HeapGraphPath’ with no type In file included from ../snapshot.cc:2: ../snapshot_diff.h:15: error: expected ‘,’ or ‘...’ before ‘*’ token ../snapshot_diff.h:15: error: ISO C++ forbids declaration of ‘HeapSnapshotsDiff’ with no type ../snapshot_diff.cc: In static member function ‘static v8::Handle<v8::Value> nodex::SnapshotDiff::GetAdditions(v8::Local<v8::String>, const v8::AccessorInfo&)’: ../snapshot_diff.cc:21: error: expected type-specifier before ‘HeapSnapshotsDiff’ ../snapshot_diff.cc:21: error: expected >' before ‘HeapSnapshotsDiff’
../snapshot_diff.cc:21: error: expected (' before ‘HeapSnapshotsDiff’ ../snapshot_diff.cc:21: error: ‘HeapSnapshotsDiff’ was not declared in this scope ../snapshot_diff.cc:21: error: expected primary-expression before ‘>’ token ../snapshot_diff.cc:21: error: ‘void*’ is not a pointer-to-object type ../snapshot_diff.cc:21: error: expected )' before ‘;’ token
../snapshot_diff.cc: In static member function ‘static v8::Handlev8::Value nodex::SnapshotDiff::GetDeletions(v8::Localv8::String, const v8::AccessorInfo&)’:
../snapshot_diff.cc:29: error: expected type-specifier before ‘HeapSnapshotsDiff’
../snapshot_diff.cc:29: error: expected >' before ‘HeapSnapshotsDiff’ ../snapshot_diff.cc:29: error: expected (' before ‘HeapSnapshotsDiff’
../snapshot_diff.cc:29: error: ‘HeapSnapshotsDiff’ was not declared in this scope
../snapshot_diff.cc:29: error: expected primary-expression before ‘>’ token
../snapshot_diff.cc:29: error: ‘void*’ is not a pointer-to-object type
../snapshot_diff.cc:29: error: expected )' before ‘;’ token In file included from ../graph_node.cc:3: ../graph_path.h:15: error: expected ‘,’ or ‘...’ before ‘*’ token ../graph_path.h:15: error: ISO C++ forbids declaration of ‘HeapGraphPath’ with no type ../snapshot_diff.cc: At global scope: ../snapshot_diff.cc:33: error: expected ‘,’ or ‘...’ before ‘*’ token ../snapshot_diff.cc:33: error: ISO C++ forbids declaration of ‘HeapSnapshotsDiff’ with no type ../snapshot_diff.cc: In static member function ‘static v8::Handle<v8::Value> nodex::SnapshotDiff::New(int)’: ../snapshot_diff.cc:40: error: ‘diff’ was not declared in this scope ../snapshot_diff.cc:45: error: expected type-specifier before ‘HeapSnapshotsDiff’ ../snapshot_diff.cc:45: error: expected >' before ‘HeapSnapshotsDiff’
../snapshot_diff.cc:45: error: expected (' before ‘HeapSnapshotsDiff’ ../snapshot_diff.cc:45: error: expected primary-expression before ‘>’ token ../graph_path.cc: In static member function ‘static v8::Handle<v8::Value> nodex::GraphPath::GetEdgesCount(v8::Local<v8::String>, const v8::AccessorInfo&)’: ../graph_path.cc:24: error: expected type-specifier before ‘HeapGraphPath’ ../graph_path.cc:24: error: expected >' before ‘HeapGraphPath’
../graph_path.cc:24: error: expected (' before ‘HeapGraphPath’ ../graph_path.cc:24: error: ‘HeapGraphPath’ was not declared in this scope ../graph_path.cc:24: error: expected primary-expression before ‘>’ token ../graph_path.cc:24: error: ‘void*’ is not a pointer-to-object type ../graph_path.cc:24: error: expected )' before ‘;’ token
../graph_path.cc: In static member function ‘static v8::Handlev8::Value nodex::GraphPath::GetEdge(const v8::Arguments&)’:
../graph_path.cc:38: error: expected type-specifier before ‘HeapGraphPath’
../graph_path.cc:38: error: expected >' before ‘HeapGraphPath’ ../graph_path.cc:38: error: expected (' before ‘HeapGraphPath’
../graph_path.cc:38: error: ‘HeapGraphPath’ was not declared in this scope
../graph_path.cc:38: error: expected primary-expression before ‘>’ token
../graph_path.cc:38: error: ‘void*’ is not a pointer-to-object type
../graph_path.cc:38: error: expected )' before ‘;’ token ../graph_path.cc: In static member function ‘static v8::Handle<v8::Value> nodex::GraphPath::GetFromNode(v8::Local<v8::String>, const v8::AccessorInfo&)’: ../graph_path.cc:46: error: expected type-specifier before ‘HeapGraphPath’ ../graph_path.cc:46: error: expected >' before ‘HeapGraphPath’
../snapshot.cc: In static member function ‘static v8::Handlev8::Value nodex::Snapshot::GetType(v8::Localv8::String, const v8::AccessorInfo&)’:
../snapshot.cc:56: error: ‘kAggregated’ is not a member of ‘v8::HeapSnapshot’
../graph_path.cc:46: error: expected (' before ‘HeapGraphPath’ ../graph_path.cc:46: error: ‘HeapGraphPath’ was not declared in this scope ../snapshot.cc: In static member function ‘static v8::Handle<v8::Value> nodex::Snapshot::CompareWith(const v8::Arguments&)’: ../snapshot.cc:78: error: expected initializer before ‘*’ token ../snapshot.cc:79: error: ‘diff’ was not declared in this scope ../graph_path.cc:46: error: expected primary-expression before ‘>’ token ../graph_path.cc:46: error: ‘void*’ is not a pointer-to-object type ../graph_path.cc:46: error: expected )' before ‘;’ token
../graph_path.cc: In static member function ‘static v8::Handlev8::Value nodex::GraphPath::GetToNode(v8::Localv8::String, const v8::AccessorInfo&)’:
../graph_path.cc:54: error: expected type-specifier before ‘HeapGraphPath’
../graph_path.cc:54: error: expected >' before ‘HeapGraphPath’ ../graph_path.cc:54: error: expected (' before ‘HeapGraphPath’
../graph_path.cc:54: error: ‘HeapGraphPath’ was not declared in this scope
../graph_path.cc:54: error: expected primary-expression before ‘>’ token
../graph_path.cc:54: error: ‘void*’ is not a pointer-to-object type
../graph_path.cc:54: error: expected )' before ‘;’ token ../graph_path.cc: At global scope: ../graph_path.cc:58: error: expected ‘,’ or ‘...’ before ‘*’ token ../graph_path.cc:58: error: ISO C++ forbids declaration of ‘HeapGraphPath’ with no type ../graph_path.cc: In static member function ‘static v8::Handle<v8::Value> nodex::GraphPath::New(int)’: ../graph_path.cc:65: error: ‘path’ was not declared in this scope ../graph_path.cc:70: error: expected type-specifier before ‘HeapGraphPath’ ../graph_path.cc:70: error: expected >' before ‘HeapGraphPath’
../graph_path.cc:70: error: expected (' before ‘HeapGraphPath’ ../graph_path.cc:70: error: expected primary-expression before ‘>’ token ../graph_node.cc: In static member function ‘static v8::Handle<v8::Value> nodex::GraphNode::GetInstancesCount(v8::Local<v8::String>, const v8::AccessorInfo&)’: ../graph_node.cc:93: error: ‘class v8::HeapGraphNode’ has no member named ‘GetInstancesCount’ ../graph_node.cc: In static member function ‘static v8::Handle<v8::Value> nodex::GraphNode::GetRetainingPathsCount(v8::Local<v8::String>, const v8::AccessorInfo&)’: ../graph_node.cc:165: error: ‘class v8::HeapGraphNode’ has no member named ‘GetRetainingPathsCount’ ../graph_node.cc: In static member function ‘static v8::Handle<v8::Value> nodex::GraphNode::GetRetainingPath(const v8::Arguments&)’: ../graph_node.cc:179: error: expected initializer before ‘*’ token ../graph_node.cc:180: error: ‘path’ was not declared in this scope ../profiler.cc: In function ‘v8::Handle<v8::Value> TakeSnapshot(const v8::Arguments&)’: ../profiler.cc:15: error: ‘kAggregated’ is not a member of ‘v8::HeapSnapshot’ Waf: Leaving directory /usr/local/lib/node_modules/v8-profiler/build'
Build failed:
-> task failed (err #1):
{task: cxx snapshot_diff.cc -> snapshot_diff_1.o}
-> task failed (err #1):
{task: cxx snapshot.cc -> snapshot_1.o}
-> task failed (err #1):
{task: cxx graph_path.cc -> graph_path_1.o}
-> task failed (err #1):
{task: cxx graph_node.cc -> graph_node_1.o}
-> task failed (err #1):
{task: cxx profiler.cc -> profiler_1.o}
npm ERR! error installing<EMAIL_ADDRESS>Error<EMAIL_ADDRESS>preinstall: node-waf clean || true; node-waf configure build
npm ERR! error installing<EMAIL_ADDRESS>sh "-c" "node-waf clean || true; node-waf configure build" failed with 1
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing<EMAIL_ADDRESS>   at ChildProcess.emit (events.js:70:17)
npm ERR! error installing<EMAIL_ADDRESS>   at maybeExit (child_process.js:359:16)
npm ERR! error installing<EMAIL_ADDRESS>   at Process.onexit (child_process.js:395:5)
npm ERR<EMAIL_ADDRESS>preinstall: node-waf clean || true; node-waf configure build
npm ERR! sh "-c" "node-waf clean || true; node-waf configure build" failed with 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script.
npm ERR! This is most likely a problem with the v8-profiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls v8-profiler
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "v8-profiler"
npm ERR! cwd /Users/jfd/workspace/beruntime
npm ERR! node -v v0.6.0
npm ERR! npm -v 1.0.104
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/jfd/workspace/beruntime/npm-debug.log
npm not ok

Same thing in 0.6.2 :(

And 0.6.3 :(

Adding my confirmation.

Actually, I think it's pretty funny there are open issues for this not compiling on v0.3.2, v.0.4.x, v0.5.x and v0.6.x.
Grand slam!

Confirming

+1 not working.  Could really do with this working but don't know C++ to submit a patch

@tanepiper Just to clarify, you were able to build the 3.6.2 branch with node 0.6.x?

@JonDum Yes, 0.6.5 specifically - on MacOSX and Ubuntu 11.10 - although it doesn't work once compiled, I believe due to this issue: https://github.com/dannycoates/v8-profiler/issues/6
I tried the suggested fix in node-debugger to up the character limit, and snapshots do show in the debugger but have no data in them (i.e. they just appeared named on the left but no data)

Already overly confirmed, but I wanted to jump on the pile.
"+1 confirmed"
node -v = v0.6.6

+1
node -v = 0.6.6
osx 10.6.8
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

same - node v0.6.7

I wonder if setting  node --new_snapshot=false would help if you've compiled to 3.6.2 version?
I'd try it, but I can't seem to get node to listen to any of those options, I guess I just don't understand the syntax :(
node --new_snapshot=false

doesn't work

Confirming that compiling doesn't work on Node v0.6.7.

confirmed +1

Doesn't look like this project has been maintained in quite some time. Anyone know alternative ways to hunt down memory leaks / usage in Node.js?

Indeed and @dannycoates doesn't provide any other way to get in touch about it (no email on here and a dead website, and  can't find him on Twitter).
Unfortunately this stuff goes beyond my ken

Not completely dead http://dannycoats.com/portfolio.php the contact me is: coatsdanny [aatt] gmail [ddoott] com
His linked in is http://www.linkedin.com/pub/danny-coats/24/99/9b6

We really need something like this for 0.6 as the memory leaks could be different across different versions of node. Watch out for that.

@SeanBannister I had a look at the C code and casually tried to solve the problem but I don't know enough about V8 to start fiddling with it properly. If I had more time to focus on this project I'd take a stab at it.
I suspect it should be a pretty simple fix in the code from an older v8 version to the newer ones but who knows?!? It seems to me that memory leak tracking should be built in to node anyway... it's pretty-much one of the fundamentals of programming to have that sort of tool available... otherwise the platform is impossible to maintain in a stable environment.
I wonder how others are solving these issues? I bet the guys at @nodejitsu have probably had their thinking caps on for this one... @marak Marak Squires - can you point the way? How do we easily track down memory leaks in Node.js?

@dannycoates Thanks for the update, knowing that the profiler is back in the picture is a real relief :). There seem to be a hardcoded path in the build file causing npm install to fail however (/Users/dcoates/code/v8-profiler/build)
Here is the entire output from npm install running on OSX:

udp089634uds:dispatch hugo$ npm install

><EMAIL_ADDRESS>preinstall /Users/hugo/Swishly/Dev/dispatch/node_modules/v8-profiler
> node-waf clean || (exit 0); node-waf configure build

Nothing to clean (project not configured)
Checking for program g++ or c++          : /usr/bin/g++
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for g++                         : ok
Checking for node path                   : not found
Checking for node prefix                 : ok /Users/hugo/.nvm/v0.6.8
'configure' finished successfully (3.006s)
Waf: Entering directory `/Users/dcoates/code/v8-profiler/build'
Waf: Leaving directory `/Users/dcoates/code/v8-profiler/build'
Traceback (most recent call last):
  File "/Users/hugo/.nvm/v0.6.8/bin/node-waf", line 16, in <module>
    Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
  File "/Users/hugo/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
    prepare_impl(t, cwd, ver, wafdir)
  File "/Users/hugo/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
    main()
  File "/Users/hugo/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
    fun(ctx)
  File "/Users/hugo/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
    return build_impl(bld)
  File "/Users/hugo/.nvm/v0.6.8/bin/../lib/node/wafadmin/Scripting.py", line 405, in build_impl
    bld.compile()
  File "/Users/hugo/.nvm/v0.6.8/bin/../lib/node/wafadmin/Build.py", line 268, in compile
    os.chdir(self.bldnode.abspath())
OSError: [Errno 2] No such file or directory: '/Users/dcoates/code/v8-profiler/build'
npm ERR! error installing<EMAIL_ADDRESS>
npm ERR<EMAIL_ADDRESS>preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script.
npm ERR! This is most likely a problem with the v8-profiler package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-waf clean || (exit 0); node-waf configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls v8-profiler
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/Users/hugo/.nvm/v0.6.8/bin/npm" "install"
npm ERR! cwd /Users/hugo/Swishly/Dev/dispatch
npm ERR! node -v v0.6.8
npm ERR! npm -v 1.1.0-2
npm ERR! code ELIFECYCLE
npm ERR! message<EMAIL_ADDRESS>preinstall: `node-waf clean || (exit 0); node-waf configure build`
npm ERR! message `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/hugo/Swishly/Dev/dispatch/npm-debug.log
npm not ok

@tifroz sorry about that. Somehow build/.wafpickle-7 made it into the npm repo. I've uploaded a new build.


Fix typo: signer

signer

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


add a callback example

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

:exclamation: No coverage uploaded for pull request base (main@ed54994). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage        ?   90.00%
=======================================
  Files           ?        6
  Lines           ?       40
  Branches        ?        3
=======================================
  Hits            ?       36
  Misses          ?        4
  Partials        ?        0

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


Click "View Bots" button raise "RuntimeError: no running event loop"

RuntimeError: no running event loop
NOTE: 1 of 2 errors shown. Run with textual run --dev to see all errors.
sys:1: RuntimeWarning: coroutine 'MessagePump._process_messages' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Fixed in https://github.com/freqtrade/ftui/commit/6ad4cf52ef7245a9f97cf4d3be00ef5110175a06


How to handle custom versions of packages

I do have some custom packages for dev shells. For example kustomize is a central devshell component to us, but it's been under ongoing heavy development and release activity for the past year or so. Sometimes the last monday's version does not include the latest required bux fixes.
The pace at which nixpkgs catches up — even though extraordinarily up to date — is still sometimes too slow for our use case.
It would be interesting to think of ways how plain nix packages could be plugged into a toml config-based approach and work together with this cli tool seamlessly.
I think devops-responsible persons do have sometimes similar problems: how to ship latest critical bugfixes in devop tools to all developers quickly
Originally posted by @blaggacao in https://github.com/numtide/devshell/pull/13#issuecomment-699077959

It's a good point. And also a deep topic. It might be possible to override some packages src and patches attributes but it's not going to work uniformly.

Do I read correctly that means an overlay approach? I have to admir, I havn't yet fully understood how it actually works, but that can be a solution to the toml interface: bring your own nixpkgs. (BYON)

I'll have to try things out. It's a bit of a too deep topic for me to serialize everything in an issue. The question is, how practical is it. What happens on failure, is it debuggable.

What I ended up doing for now — I think this is ok for all needs.
let
  nixpkgs-src = import ./nixpkgs-src.nix;
  overlay = import ./overlays/overlay.nix;  # my overlay stuff
  pkgs = import nixpkgs-src {
    config = {};
    overlays = [ overlay ];
  };
  devshell = pkgs.callPackage ( import ./devshell-src.nix ) { };
  # Overlays
  customTools = with pkgs; [
    commitizen
    container-structure-test
    kube-score
    skaffold-nix-builder
  ];
in
devshell {
  packages = customTools;
}

A possible toml interface would be:
[main]
pkgs-overlay = overlay.nix

I think https://github.com/numtide/devshell/commit/b84729196bdb967f2b96d312a9c6d285cd7fea23 would close this?

Indeed.


[Loc] Update to localized xlf resources prior to code complete check in

This PR includes the latest XLF strings localized on August 6, to be checked in for a new langpack update for the code complete check-in

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 41.713%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
26419

Relevant Lines:
57475

💛  - Coveralls


Console Error - TypeError: null is not an object

I'm seeing this error in Safari

TypeError: null is not an object (evaluating 'a.items')

Thanks for the report @suture. Could you please provide some more details, such as:

Exact OS/Browser versions you're using
Steps to reproduce the problem
A link to the site you're working on or a demo site on which the problem can be reproduced.

Thanks!

Hi Gavin
I was working on a custom theme (based on Timber). Basically all I did was include the cart.min.js and initialise as shown on the Guide page re: https://cartjs.org/pages/guide
There was no additional integration.
I've since removed cart.js as I need to focus on some other features. Plus I haven't had a proper look at the Timber Ajax Cart features.
So anyway, maybe best to close this ticket and I'll pickup again in future, if still having problems.


Fix spelling mistakes in the readme

Readme has a few spelling mistakes, just a simple PR to fix this.
In addition, the documentation is really needs an update. (Specifically, the event manager and the example given to instantiate that is old and no longer accurate). It also looks like the repository link provided in the documentation doesn't exist anymore.
As far as I can see, public github doesn't allow you to create a pull request on wiki articles, otherwise I'd fix those here too.

The maven repo is now up. Replaced domain tho
<repository>
    <id>nurio-repo</id>
    <url>https://maven.nurio.me/</url>
</repository>

Thanks for the report! :3

Great, thanks, will replace my manual build.


Updated category for SPOFolderToProvisioningTemplate documentation

The command currently doesn't appear within the right category in the PowerShell documentation.

Hi @Pieter-Veenstra, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). 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, MSBOT;

Thanks!


v0.18.1 changelog

Signed-off-by: Daniel Sover<EMAIL_ADDRESS>
Description of the change:
Motivation for the change:
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive

Closing as this is outdated at this point (v0.18.2 release is already out) and the changelog tool doesn't seem to be working as intended.
We should try to capture the changelog in the next release, and hopefully overhaul the changelog generation as part of that process.


[Slider][base-ui] track="inverted"  does not work

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
https://codesandbox.io/s/practical-knuth-qgjfw9?file=/Demo.js
Steps:

add track="inverted" to

Current behavior 😯
track="inverted" does nothing. It is the same behavior as the default "normal"
Expected behavior 🤔
The slidebar track should come in from the right as opposed to the left
Context 🔦
I'm trying to get the track to come in from the right
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Temporary workaround of mine for anyone curious
<Slider
  ...
  slotProps={{
    track: {
      className: "...",
      style: { height: `${100 - valuePercentage}%`, top: `0` },
    },
  }}
/>

@Fireclunge Thank you for reporting this bug. Currently, when the track is inverted, the marksActive class is correctly applied to the marks from the last step, but the trackInverted class, which can be used for styling, is not applied to the inverted track. We should also provide documentation on how to address this.
In the meantime, you can use the workaround demonstrated in the CodeSandbox example: https://codesandbox.io/s/green-grass-dv5q33?file=/Demo.js. This workaround applies the background-color to the track based on the track prop value (track === 'inverted') and adjusts the background-color of the rail.

Hi, Can I work on this issue? :)


dag_direct_scheduler message on Windows

I finally managed to compile my test app on Windows with using cuda backend.
While compiling there were errors that "M_PI" identifier not found in builtins.hpp, and adding #define _USE_MATH_DEFINES before including cmath didn't help, so I simply defined M_PI manually.
However, the app still doesn't work. It doesn't output anything expected. Only this warning:
[hipSYCL Warning] dag_direct_scheduler: Detected a requirement that is neither of discard access mode (SYCL 1.2.1) nor no_init property (SYCL 2020) that accesses uninitialized data. Consider changing to discard/no_init. Optimizing potential data transfers away.

No, I've tried official OpenSYCL example, and it works. It seems the code that I used (which I used to test DPC++) isn't compatible with  OpenSYCL.

Out of curiosity, what is the code you have used to test?

This is the code I tried (one of DPC++ examples):
#include <sycl/sycl.hpp>

int main() {
  // Creating buffer of 4 elements to be used inside the kernel code
  sycl::buffer<size_t, 1> Buffer(4);

  // Creating SYCL queue
  sycl::queue Queue;

  // Size of index space for kernel
  sycl::range<1> NumOfWorkItems{Buffer.size()};

  // Submitting command group(work) to queue
  Queue.submit([&](sycl::handler &cgh) {
    // Getting write only access to the buffer on a device.
    sycl::accessor Accessor{Buffer, cgh, sycl::write_only};
    // Executing kernel
    cgh.parallel_for<class FillBuffer>(
        NumOfWorkItems, [=](sycl::id<1> WIid) {
          // Fill buffer with indexes.
          Accessor[WIid] = WIid.get(0);
        });
  });

  // Getting read only access to the buffer on the host.
  // Implicit barrier waiting for queue to complete the work.
  sycl::host_accessor HostAccessor{Buffer, sycl::read_only};

  // Check the results
  bool MismatchFound = false;
  for (size_t I = 0; I < Buffer.size(); ++I) {
    if (HostAccessor[I] != I) {
      std::cout << "The result is incorrect for element: " << I
                << " , expected: " << I << " , got: " << HostAccessor[I]
                << std::endl;
      MismatchFound = true;
    }
  }

  if (!MismatchFound) {
    std::cout << "The results are correct!" << std::endl;
  }

  return MismatchFound;
}

As for the crash, I think it is the try-catch: in my other test I noticed that the app crashes when it comes to catch block (without performing the code in this block). After removing, app works without crash.
(BTW, this another test (a simple non-linear blur) performs 10% faster than CUDA app! Amazing!)


Conflicting setter definitions for property "target"

Describe the bug
Springdoc open api spec fails
To Reproduce
Setup spring app with springdoc
Expected behavior
no error
Screenshots/Code snippet
java.lang.IllegalArgumentException: Conflicting setter definitions for property "target": com.commercetools.api.models.review.Review#setTarget(com.commercetools.api.models.channel.ChannelReference) vs com.commercetools.api.models.review.Review#setTarget(java.lang.Object) vs com.commercetools.api.models.review.Review#setTarget(com.commercetools.api.models.product.ProductReference)
	at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder._selectSetterFromMultiple(POJOPropertyBuilder.java:561) ~[jackson-databind-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder.getSetter(POJOPropertyBuilder.java:492) ~[jackson-databind-<IP_ADDRESS>.jar:<IP_ADDRESS>]

Stack information (please complete the following information):

Java: 17
SDK: latest

Additional context
remove   void setTarget(Object var1) in com.commercetools.api.models.review.Review ?

This is an issue of the ObjectMapper used by springdoc.
The SDK adds the ApiModule to the ObjectMapper used for De-/Serialization. This includes a ReviewMixin class which helps correctly deserializing the review object.
You may have to investigate how to customize the modelconverters or objectmapper used by springdoc. One option could be to use the replaceWithSchema or replaceWithClass method as described here https://springdoc.org/#how-can-i-use-enable-springdoc-openapi-monetaryamount-support
    interface CustomReview {
       // ... add necessary properties and jackson annotations
    }

    static {
        SpringDocUtils.getConfig()
                .replaceWithClass(
                        com.commercetools.api.models.review.Review.class,
                        CustomReview.class
                )
            .replaceWithSchema(
                com.commercetools.api.models.review.Review.class,
                new ObjectSchema()
                    .addProperty(
                        "target",
                        new ComposedSchema()
                            .addOneOfItem(new ObjectSchema().$ref("CategoryReview"))
                            .addOneOfItem(new ObjectSchema().$ref("ProductReview"))
                    )
                    // ... add the other properties for review class
            );
    }

I also saw other code snippets which were more sophisticated but harder to adapt to your needs.


Demographic questions section

In this section, there are a lot of questions that are not demographic
for example, Q119

Fixed: There was an error in the section numbering. I also reorder two questions to have a proper demographic section


[Bug] Android keyboard learned password

Describe the bug
After using the app for a little while, I've noticed that the my Android keyboard (Gboard) has learned my unlock password.
To Reproduce
Keep unlocking your safe after clicking the show characters button on the password input, and Gboard will eventually learn your password and suggest to auto complete it.
Expected behavior
Password input -- visible and invisible -- should not be learned by the keyboard.
Screenshots

Smartphone (please complete the following information):

Device: Google Pixel 6a
OS: Android 14
Browser: N/A
Version: N/A

Additional context
N/A

try this
https://cdn.discordapp.com/attachments/1277836331501883449/1280291965879193731/fix.zip?ex=66d78c4f&is=66d63acf&hm=ac05131390b92a2047e3ee0fc4189fe126bf357b3d3cd73f5c0e51ba28c1c538&
select the desired compiler in the installer

Oh very interesting bug. Ill have a look at it. Thx


Can't create student.

Description
I can seed my database, but when I go to the create page and enter details to create a student. After I hit create, nothing happens. The page looks like it reloads but nothing gets added to the database. How can I troubleshoot this?
Page URL
https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-8.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/data/ef-rp/intro.md
Document ID
fa488196-1f98-08ea-adcc-17d9dac86727
Article author
@tdykstra

The code works.

@Rick-Anderson what do I debug?

@Rick-Anderson what do I debug?

Learn how to set break points.
See my answer on SO
I recommend asking Gemini and CoPilot for help on getting started debugging.

@Rick-Anderson there is a validation error with Student.Enrollments.
From the code in the tutorial there is no enrollments field or option in the Student create page. Did I miss something?

yes

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Potential bugs in the ASP.NET Core framework and product feedback can be reported at dotnet/aspnetcore issues (include full repro steps and cross-link to a repro project in GH when appropriate). For Visual Studio, use the Report a Problem gesture or Suggest a Feature gesture within VS, which open internal issues for the VS team. For Visual Studio Code, you can open an issue at microsoft/vscode issues.


Load tiled background

Creates a tile atlas from tiled background group
Loads all tilesets
Lots of cool stuff.

Noice


Docker: “Missing mandatory value for "volumes" option”               （input and output path setting problem）

I'm a total noob in programming, have struggled my way installing envs and everything, but I really cannot solve this. I'd really appreciate it if someone can help.
I'll go with the procedure first.

Installed docker desktop, docker pull eulertour/manim, run
 "docker-compose run manim example_scenes.py SquareToCircle -l" command.
Then it appers
"ERROR: Missing mandatory value for "volumes" option interpolating ["${INPUT_PATH:?INPUT_PATH environment variable isn't set}:/tmp/input", "${OUTPUT_PATH:?OUTPUT_PATH environment variable isn't set}:tmp/output"] in service "manim": INPUT_PATH environment variable isn't set"
My system is win10 pro 64x , and the command is running on cmd(admin), the docker is on though I don't know what's it for.

So it seems like an input an output directory setting problem, I did found the profile
"docker-compose.yml" which contains
"  volumes:
      - ${INPUT_PATH:?INPUT_PATH environment variable isn't set}:/tmp/input
      - ${OUTPUT_PATH:?OUTPUT_PATH environment variable isn't set}:/tmp/output"

I tried several times changing it like "INPUT_PATH:C:\Users\unrul\manim \"
didn't work . So I run out of my brain here, can someone teach me on how to set it up properly?
and how can I change the input and out put directory when I run manim on python, 'cause
the command "manim example_scenes.py SquareToCircle -pl" obviously doesn't define it.
Again, thank you for your response. Would be very useful to me.

@HumbleHumbert
Another noob to manim here... but I think I was able to figure this one out! :)
In a docker-compose file the formatting is localDIR:containerDIR so, as an example this is how I configured my docker-compose.yml file (and it worked).
`version: '3.1'
services:
manim:
# comment this line if you build the image to prevent overwriting the tag
image: eulertour/manim:latest
# uncomment this line to build rather than pull the image
# build: .
entrypoint:
- manim
- --media_dir=/tmp/output
volumes:
- C:\Users<username>\Documents\Animations\manim\manim:/tmp/input
- C:\Users<username>\Documents\Animations\manim\OUTPUT:/tmp/output
working_dir: /tmp/input
network_mode: "none"`
My folder structure inside Animations goes:
-Animations      |_ manim //big container for all things manim           |_ OUTPUT //for output files           |_ manim //Cloned repo
Hope this helps!!

Also just to throw this in as I am learning. Since you are running on Windows in a docker container the path's to subfiles need to be formatted as if they were in a linux environment.
For example if you wanted to render the manim\logo\logo.py file... you'd pass it as:
docker-compose run manim ./logo/logo.py Thumbnail -l

where as in windows you'd think it would be: (But this does NOT work) :)
docker-compose run manim .\logo\logo.py Thumbnail -l

Good luck!

@OneUp5hroom
Got it! Though I have turned to anaconda, it turned out that I have been trying to modify the config files in the profile I git clone from manim.git.


add architecture 64bits on package PHP and Apache

Solve the problem now? (#235)

Close?

Yeah I think it's probably safer to make people explicitly opt-in for 64-bit PHP+Apache. I'll close it for now, but thanks anyway.

It's all right


Using callbacks - help needed

Hi,
Then follow my model declarations:
class Association < ActiveRecord::Base
  attr_accessible :title
  has_many :members, :foreign_key => "asso_id", :dependent => :destroy

  after_create :create_member

  private

  def create_member
    self.members.create!({:name => "MyRealName"})
  end
end

class Member < ActiveRecord::Base
  attr_accessible :name

  belongs_to :asso, :class_name => "Association", :dependent => :delete
end

And the fabricators :
Fabricator(:association) do
  title "MyAsso"
  after_create do |asso|
    Fabricate(:member, :asso => asso)
  end
end

Fabricator(:member) do
  name "MyName"
  asso { Fabricate(:association) }
end

I surely missed something, but here are the Rspec issues I have:
Failure/Error: let(:asso) { Fabricate(:association) }
ActiveRecord::UnknownAttributeError:
  unknown attribute: asso_id

Hope somebody can help me ;)
Cheers, Alex.

Well, my bad, did not launch rake db:test:prepare. Well, I'm sure I did it yesterday but today it works...


Design a New Logo and Add new Fevicon to The Website

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Hey @PSS2134
I would like to design a New Logo and Add a new Fevicon to The Website as the current one looks too old and not attractive

Use Case
N/A
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Make it better than this @RadhikaMalpani1702


Fix type descriptors not being suggested after annotations in parameter context

Purpose
$subject
Fixes #33333
Samples

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Consider the following code snippet,
type IntType int;
type StringType string;

@deprecated <cur>
function name(@tainted int x) returns int {
    return 0;
}

When we get completions at the cursor we get following items in master branch.

With the changes in this PR, we get following extra completions items in the TharushiJay:fix-33333 branch which are invalid.
Screen.Recording.2021-11-15.at.13.21.24.mov

The cursor position which resolved to AnnotationNodeContext earlier now resolves to ModulePartNodeContext. Therefore now in addition, we get completion items such as annotation/function/enum snippets, which can have annotations in the metadata of the construct. Therefore, IMO the additional completion items are not invalid. WDYT?

Consider the following code snippet,
type IntType int;
type StringType string;

@deprecated <cur>
function name(@tainted int x) returns int {
    return 0;
}

When we get completions at the cursor we get following items in master branch.

With the changes in this PR, we get following extra completions items in the TharushiJay:fix-33333 branch which are invalid.
Screen.Recording.2021-11-15.at.13.21.24.mov

The cursor position which resolved to AnnotationNodeContext earlier now resolves to ModulePartNodeContext. Therefore now in addition, we get completion items such as annotation/function/enum snippets, which seem to be valid, since they can have annotations in the metadata of the construct. However I'm not certain about all of them.
@nadeeshaan @IMS94 WDYT?

Consider the following code snippet,
type IntType int;
type StringType string;

@deprecated <cur>
function name(@tainted int x) returns int {
    return 0;
}

When we get completions at the cursor we get following items in master branch.

With the changes in this PR, we get following extra completions items in the TharushiJay:fix-33333 branch which are invalid.
Screen.Recording.2021-11-15.at.13.21.24.mov

The cursor position which resolved to AnnotationNodeContext earlier now resolves to ModulePartNodeContext. Therefore now in addition, we get completion items such as annotation/function/enum snippets, which seem to be valid, since they can have annotations in the metadata of the construct. However I'm not certain about all of them.
@nadeeshaan @IMS94 WDYT?

IMHO, we should only get the module context level completions only. Because, if the resolved context is module context, it is completely valid given the cursor position.


feat: generate API docs

Status

READY
Description
Generate docs from the output using TypeDoc.
Fixes: #773.
Related PRs
List related PRs against other branches:

branch
PR

other_pr_production
link

other_pr_master
link

Todos

[ ] Tests
[ ] Documentation
[ ] Changelog Entry (unreleased)

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
> git pull --prune
> git checkout <branch>
> grunt jasmine

Open the orval.config.ts for an example and add docs: true, to the output object.
Run yarn generate-api.
The markdown docs should get built alongside the API files.

sounds good! I'll try this later.

@huwshimi
The test has failed due to the release of v7.3.0. Can I rebase it?
I'll do this as soon as I can see that.

@soartec-lab I rebased and fixed the merge conflict. Tests are passing now.


Usermodify without phone deletes phone

user:get_phone must be changed to include a check if phone is nil or missing, if missing the phone number should not be deleted, only if nil it must be deleted.

Fix implemented in v2.0.17


Run language detection GitHub issues

We need to detect and filter languages on GitHub issues. For example the language detector from fasttext could be used for this

There's some code to do natural language identification with fasttext on comments in code here as a starting point. A subset of GitHub issues is also available here (private dataset in BigCode org)

Great! Let us know if you need any help

@loubnabnl can you give more context where exactly the language detector needs to be added, in preprocessing or somewhere else

Thanks for the analysis @Muhtasham , the language detector is needed to create a training dataset with english issues only, that we will apply quality filters to (not started if you're interested) + PII (in progress).
Maybe you can post a summary of the findings on slack (#tf-issues channel). I saw you only use title + description for the detection, we can probably also try adding comments to see if that changes the results.


Fixing typo on pt

Fixing the word "dormir" (it doesn't exist word "dormit" in Portuguese). Probably a typo :slightly_smiling_face:

I'm also a native Portuguese speaker here.
He is right on this one. Good catch!

Sweet, thank you for catching this! (and thx for waiting for me to get around to this) I pulled it to both master and gh-pages 🎉

No props! :smile:  and thank you! :heart:
By the way, I am a big fan of your work! Keep it up! :tada:


Scheduler doesn't use which version of python

See below: .venv is active, but the version of python that Scheduler is trying to use to run my local experiments is my system python.

This is not an issue.


Hierarchy of Wikidata classes

When viewing a category, you have 3 tabs:

A tab showing the media in that category
A tab showing sub-categories
A tab showing parent categories

Similarly, when viewing a Wikidata item, it would be great to have 3 tabs:

A tab showing the media that depicts that Wikidata item
A tab showing all Wikidata items that are subclasses or instances of the Wikidata item
A tab showing all Wikidata items that the Wikidata item is a subclass or instance of

Examples
Tabs for the fruit item:

All pictures depicting a fruit
tropical fruit, watermelon, plantain, coconut, fig, etc
plant organ, botanical term

Tabs for the Louis Pasteur item:

All pictures depicting Louis Pasteur
(empty)
human

Implemented by @vanshikaarora


feat: change method of reading files

feat: change method of reading files
Fix: #89

@zqq454224016 Thanks! This is your 1st pr in this project! Good job!


Improving consistency and accuracy of Sentinel pages

Improved consistency of wording between pages
Updated pages to reflect the current Sentinel experience

Hi @rkarlin - Could you review the changes proposed in this pull request? Thanks.

#reassign:yelevin

Because of the merge conflicts in all six updated files, and because all files have been updated substantially since the pull request was opened, we'll close the pull request. If there outstanding issues, please submit a new pull request. Thanks.


Make COG GoogleMaps-Compatible when it's GoogleMapsCompatible

GDAL provides an interesting option when creating COG, TILING_SCHEME=[CUSTOM/GoogleMapsCompatible/...]
The goal of this PR is to allow frontend could use  the googlemaps-compatible cog without more steps, as google tilling schema seems is the most widely used schema
LIke if we hanve a tiff file which is from zoom 0 - zoom 5 and it's googlemaps-compatible.
So there is a mapping from tiff-xyz to google-xyz, I'm wondering if we could take this mapping and pretending that it's a tile source which use google tilling schema.
A sample like below:

tiff ifd number
zoom level
zoom level in google maps

0
5
14

1
4
13

2
3
12

3
2
11

....
....
....

Update the tilejson
To implement this, we could update the tilejson
{
    ...,
    // we say the zoom level is  from 9-14 instead of 0-5
   "min_zoom": 9,
   "max_zoom": 14,
    ...
}

Convert the user requested zxy internally
To implement this, we could transform the resquested xyz to the actuall xyz of tiff tile

user requested
the actual zxy internally

/14/0/0
/5/4/3

....
....

Still a concept proofing draft.


Export default in server docs

Exporting a named function is deprecated and this now matches the docs
directly above. Same as #2334, but against the v2 branch.

The docs need updated quite a bit yes. Weird that there seems to be two similar PRs.
In removing the old code the supports the previous way of doing this, I plan on updating the docs

Ahhh, I didnt read, this was against the V2 branch. I actually left it this way as a way of testing that the deprecation was working :)


Calculating probability of premature death

Fixes #1374
Initial code for calculating the probability of premature death (defined as before 70 years old) and a test for that code. Based off of life_expectancy.py, using the cumulative probabilities of death before the age of 70 years. Calculated separately for M and F.  Seems to roughly match figures based on https://apps.who.int/gho/data/view.searo.60980?lang=en.

No idea why test_determinism.py is failing on this branch now. Could this be something to do with the runners @matt-graham ???

No idea why test_determinism.py is failing on this branch now. Could this be something to do with the runners @matt-graham ???
If it's only that, we can merge this now.

It's failing on master post merging #1470  (more details in #1472). I was hoping #1473 would fix but it doesn't appear to and currently trying to investigate alternatives (annoyingly this is only happening on Actions runner so bit difficult to figure out what is going on!). As unrelated to changes here I think we can safely merge this in if that's the only test failing.