More comments about Competencies Paper

I would like to share some more thoughts and observations from a complete read of the competencies paper:

[x] 1.) Software Re-Use (SRU) is listed as a research skill, but it is actually one of the classical key SE/technical skill. Also its description is mainly technical and not very research-specific, so I wonder if it should be moved to the technical skills?
[x] 2.) The Software Publication (SP) skill is mainly concerned with licences, but (open-source) licensing is not the same as software publication, and perhaps we should also talk about software citation here? @sdruskat, your input would be appreciated!
[x] 3.) Minor thing in the same paragraph: "The second part of FAIR software is..." suggest that all is said about FAIR4RS after that, but actually there is much more to it. Quick fix could be to rephrase to "FAIR software is also concerned with ..."
[x] 4.)For the DOMREP skill, I was wondering wether the difficult between repos (where software is developed) and registries/directories (places to find software) has been discussed?
[x] 5.)The TEAM section starts with a tautology: "Working in a team is all about [...] teamwork". Perhaps something like "Working in a team is essential for RSEs." would be sufficient?
[x] 6.) The future work section mentions something about a "survey-publication", but from the paper I don't have any idea what this is referring to. Sounds like an internal comment to the team, that could probably be removed here.
[x] 7.)A thought that popped up in my head when reading A.1 (foundational module), but perhaps it is more general: How relevant is object-oriented programming and design?

A thought that popped up in my head when reading A.1 (foundational module), but perhaps it is more general: How relevant is object-oriented programming and design?

Personally, I wouldn't enforce teaching it in the curriculum and leave it up to the teaching person. Surely it's good if RSEs know about it, in particular for dealing with existent software, but I don't see a reason to give it more prominence in the curriculum than any other programming paradigm.
In that regard a module about programming paradigms would make sense, but on the other hand I don't see A.1 as a full-fledged curriculum that should be used as is rather than a blueprint that one could use to craft a curriculum.

I would consider it good-to-know. Not extremely important, but not negligible.
The focus of the curriculum should be to illustrate what paradigms there are and how and when to use them.
As an example, I find that a lot of resource planning tasks - timetables, logistics … boil down to QSAT-problems that you can easily formulate if you have enough of a grasp of logic programming to formulate a CNF. Feed it to a solver, translate the result to something human readable and bingo.
Instead I find people now trying to train exhaustive AIs for this kind of job, because they do miss the knowledge about other established paradigms that could have helped them (and run faster and consume way less energy and may deliver more accurate results).

The fundamental goal is to build a broad range of knowledge and ideally invest some time to playing around with these to build experience that can help to later make more informed decisions which ones to employ for a specific problem.

➕ 1⃣  on not giving focus to one paradigm over others. (Personally I think that functional programming may be more relevant than OOP in some disciplines.)
And thanks for the ping @annalenalamprecht, I'll take look at the SP section.

My sneaky suspicion is that a lot if not most code (I probably mean programs here) is very linear and not even procedural: you start at the top reading some data, do some analysis and visualise the results.

* The Software Publication (SP) skill is mainly concerned with licences, but (open-source) licensing is not the same as software publication, and perhaps we should also talk about software citation here? @sdruskat, your input would be appreciated!

See #243.

@annalenalamprecht to your second last point, with regard to the survey project: Now that @MakisH got the site up and running (Big Hug!)  I could integrate it with commit a7c9b21bf0186233b1223da1f0151a7d58a36a90  .

Iem two has been resolved by #243 .

Item (6) has been resolved with a7c9b21 .

item (5) has been  resolved in e151fa921a68129eedb2b717993128c8ce000fde

(3) has already been rephrased:
"Another part is given by..."
Determined by..." e151fa921a68129eedb2b717993128c8ce000fde

item 1) moved to #249

Item (4) has been moved to #250

From the comments above, I would infer that our community opinion here is, that we emphasize knowing multiple paradigms. I added a small sentence in cb11c32 to at least bring in the word programming paradigm.

Closing now, since all two points have been adressed. The remaining points are now in two separate sub-issues


Unusual behaviour of IMessage#edit

if u replied to a message with embeds in it and then you do IMessage#edit and do embeds an empty list. it dont removed the embed from message.

j

It seems that the MessageBuilder build() does not attach an embeds array in its payload if it is empty.

yes thats it


Adds TypeScript typings, fixes #12

Here's an attempt at providing typings for (#12).  There are a number of different ways of doing typings, I took the approach that seemed easiest.  I would be happy to modify the typings into alternate styles, or configurations as I made a lot of assumptions.

adds a new index.d.ts file which has the typings
adds a typings property in package.json which points to index.d.ts
adds a test/typings.ts file which attempts to use the typings
adds an npm run clean task to remove lib and temp
adds an npm run test_typings task to encapsulate the typescript test command
adds rimraf and typescript as devDependencies
updates .gitignore to exclude intelliJ files
modifies npm run test so that it executes the TypeScript test

Looking at the diff I think my editor expanded part of package.json for no reason.  I can fix that if you like.

The only thing I would add - is potentially there is some noise in the commit that may not want to be part of this PR - some of the formatting of the contributors in the package.json and the gitignore file etc. Ultimately, the typings look good to me though.

@admmasters I fixed the contributors noise and reverted the .gitignore.  I can take out the clean command too if you want better atomicity.


Bug: Can't sign a transaction with an external fee payer

Describe the bug
When attempting to sign a Solana transaction with wallet A (where the fee payer is wallet B) the Chrome browser extension shows "Something went wrong" and logs Cannot read properties of undefined (reading 'feeCurrencyCode') to the console.
Steps
Using two wallets, wallet A (Coinbase Wallet connected via Chrome extension) and wallet B (in–code keypair constructed from private key):

Create a new transaction with wallet B set as the fee payer.
Add an instruction that sends X tokens from wallet A to wallet B.
Partially sign with wallet B and serialize the transaction.
Deserialize the transaction and sign with wallet A.

At this point the Chrome extension opens and shows "Something went wrong." If wallet A is set as the fee payer instead, the extension properly shows the transaction for signing.
Expected behavior
The Chrome extension should present the transaction summary/signing confirmation.
Additional info
I'm unsure if this is the right repo to open this in as it's a bug with the Coinbase Wallet Chrome extension. If there's a better place to report this, please let me know.

hi. sorry for the belated response. we are marking stale issues closed for now. please try our latest version 3.6.0. feel free to open a new one if needed. thanks.


Question: Rest API

Does this package support responding with Json? I can't find anything on it in the documentation and example.

Yes it does. In your controller, using self.json({message: 'response'}). This sends a json response and automatically adds the Content-Header: application/json to the response header

Remember your response must be a dict


add missing info about OneNote

https://github.com/MicrosoftDocs/microsoft-365-docs/issues/1453

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@MikePlumleyMSFT - PR has been copy edited and is ready for final review. This is based on issue #1453.
Thank you.
cc: @kenwith


Create standard test cases

Create a 3 month paid membership, and 3 month complementary membership
Create organizational membership, individual membership, family membership, spousal membership
Add a primary contact to a membership though the membership record and through the membership contact role
Create a gift membership where the person on the membership is different than the purchaser
Test a cancelation, expiration ensure the contact and account records are properly updated

Here is a google sheet with Test names
https://docs.google.com/spreadsheets/d/1JKaLst_J0jYw8wHI5wsb73C_7xS4fF2yHBq8-WxY5V0/edit?usp=sharing

This is great, but we should probably recreate the tests in https://github.com/SFDO-Community-Sprints/MembershipSchemaAndBenefits/wiki rather than maintain them in a spreadsheet that can be edited by anyone with the link.

https://github.com/SFDO-Community-Sprints/MembershipSchemaAndBenefits/wiki/Use-Cases now exists. In an ideal world our testing should cover all use cases.


Return false when not found for TryGetValue

Return false when not found for ObjectResult IReadOnlyDictionary.TryGetValue

ObjectResult's explicit implementation of IReadOnlyDictionary.TryGetValue returns true when it should be false
Adding a new set of tests in the image of ObjectResultTests.TryGetValue_ValueIsFound

 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.


Rocket Logging Issue

This is what my logging looks like from a log4rs server.log file in VSCode, I looked through past entries trying to turn ROCKET_COLOR=off but that does not seem to work. Is there any other workaround or how should I be reading my files, because as you can see the emojis are there but not the colored text.
2021-02-02 23:15:31:INFO - Starting My Server on <IP_ADDRESS>:50051
2021-02-02 23:15:31:INFO - 🔧 Configured for development.
2021-02-02 23:15:31:INFO - address: localhost
2021-02-02 23:15:31:INFO - port: 8000
2021-02-02 23:15:31:INFO - log: normal
2021-02-02 23:15:31:INFO - workers: 32
2021-02-02 23:15:31:INFO - secret key: generated
2021-02-02 23:15:31:INFO - limits: forms = 32KiB
2021-02-02 23:15:31:INFO - keep-alive: 5s
2021-02-02 23:15:31:INFO - read timeout: 5s
2021-02-02 23:15:31:INFO - write timeout: 5s
2021-02-02 23:15:31:INFO - tls: disabled
2021-02-02 23:15:31:INFO - 🛰  Mounting /:
2021-02-02 23:15:31:INFO - GET / (index)
2021-02-02 23:15:31:INFO - POST /register application/json (register)
2021-02-02 23:15:31:INFO - POST /login application/json (login)
2021-02-02 23:15:31:INFO - 👾 Catchers:
2021-02-02 23:15:31:INFO - 404
2021-02-02 23:15:31:INFO - 🚀 Rocket has launched from http://localhost:8000

@joelawm I'm not sure what ROCKET_COLOR=off means, and I'm not familiar with the rocket project. I would ask that you post your question there and if there is clarification needed or a bug to be fixed, re-open the issue to the rocket project issue.


Button to trigger a swipe

Hello,
I have tried what seems like everything but I cannot build a button that would cause the control to swipe. I tried updating "index" property via the this.state, I tried capturing the "ref" etc -- just doesn't seem to work. I'll be happy to debug this but need a quick solution -- launching today :)!
Many thanks!

The ref solution descriped here in #262 worked for me. Have you tried that?


RiakCS does not seem to support aws s3 or basho nodejs client with authorization [JIRA: RCS-260]

It looks like RiakCS does not support the aws s3 interface.
I'm attempting to the aws nodejs client like so:
var awsConfig = {
	accessKeyId:riakCSUsername,
	secretAccessKey:riakCSPassword,
	sslEnabled:false,
	httpOptions:{
		proxy:"http://" + riakCSServer + ":" + riakCSPort
	},
	signatureVersion: 'v2'
};

var s3client = new aws.S3( new aws.Config(awsConfig) );
s3client.getObject( {
		Bucket: bucket,
		Key: key
	}, function( result, err ) {
		console.log("S3 result: " + result + " error: " + err );
	}
);

And I get:
S3 result: TypeError: Cannot set property 'Timestamp' of undefined error: null
This seems to be along the lines of:
http://lists.basho.com/pipermail/riak-users_lists.basho.com/2015-February/016846.html
And there does seem to be some workaround, but all that is stated is there is a 'simple fix'.
I've been digging around for a while, and noted several issues closed with the reasoning along the lines of "we follow the HTTP spec, and amazon does it wrong"... so I'm wondering if it's a reasonable expectation to think that riak cs is compatible with s3 clients?
I'm a little new to the best practices here - I'm in this spot because my company runs several large riak clusters, and I was told "its just like s3", "it's like a distributed filesystem" (not that I can see??, but OK), and I have some old code using a python library from aws that I was told works. So I thought the aws sdk for nodejs might work too..... is this reasonable?
I tried the basho nodejs client as well, but:

I spent over an hour reading the documentation and going through the code just to figure out how to sent authorization credentials..

The code I try with the basho client never calls the ping callback - so I have no idea what's going wrong.

Note that when I tweak the code for my own personal aws repo, it works as expected:
var awsConfig = {
	accessKeyId:riakCSUsername,
	secretAccessKey:riakCSPassword,
	sslEnabled:true
};

var s3client = new aws.S3( new aws.Config(awsConfig) );
s3client.getObject( {
		Bucket: bucket,
		Key: key
	}, function( result, err ) {
		console.log("S3 result: " + result + " error: " + err );
	}
);

Here is the basho-riak-client code:
var riakClient = new riak.Client(
	new riak.Cluster({
			nodes: [
				new riak.Node({
					remoteAddress: riakCSServer,
					remotePort: riakCSPort,
					auth: {
						user: riakCSUsername,
						password: riakCSPassword
					},
					cork: false
				})
			]
		}
	)
);

riakClient.ping( function(err, result) {
	if( err ) {
		console.log("RiakCS Error: " + err );
	} else {
		console.log("RiakCS success!: " + result);
	}
});

riakClient.fetchValue( {
	bucket:bucket,
	key:key
}, function( err, result ) {
	console.log("riak client said: " + result + " " + err);
});

This prints out nothing at all.

I'm not sure if the basho client is using protocol buffers - I saw some notes saying that it might. If so I may not have access to that port - is there a way to ensure the basho node client uses http?
I just need something that works within nodejs. I don't really care if it's s3 or not - just need to get and post some data, is all. Riak worked fine, but RiakCS just won't cooperate with any of the existing javascript clients I've tried.

I actually played around with pointing the aws-sdk at aws s3, with it set to v2, that is, point it at my personal aws account, and do
var awsConfig = {
    accessKeyId:riakCSUsername,
    secretAccessKey:riakCSPassword,
    sslEnabled:true
};

And got the same results as against riakcs.
The reply I got from the aws-sdk people:
"AWS.Signers.V2 is not supported by Amazon S3. S3 supports a modified version of Signature Version 2. In the SDK this is implemented by AWS.Signers.S3. You shouldn't have to specify this signer as the AWS.S3 client picks this up by default. "
https://github.com/aws/aws-sdk-js/issues/678
Soo... not sure where to go next with this. Since I believe the basho client only supports protobufs, and the nodejs aws-sdk doesn't work with riakcs, I guess I'll just spin up a microservice in another language?

Ok.. some progress.
After some debugging through the s3 client with the "S3" signature version, it looks like that is was riakcs supports.
And, the httpOptions "proxy" is not what you use to change the endpoint, so I need to fix that as well.
So, I've gotten to here:
var awsEndpoint = new aws.Endpoint(riakCSServer);
awsEndpoint.port = riakCSPort;
awsEndpoint.protocol = "http";
awsEndpoint.href = "http://" + riakServer + ":" + riakCSPort + "/";

var awsConfig = {
	accessKeyId:riakCSUsername,
	secretAccessKey:riakCSPassword,
	sslEnabled:false,
	endpoint:awsEndpoint,
	signatureVersion: 's3'
};

var s3client = new aws.S3( new aws.Config(awsConfig) );
s3client.getObject( {
		Bucket: bucket,
		Key: key
	}, function( err, result ) {
		console.log("S3 result: " + result + " error: " + err );
	}
);

==> S3 result: null error: NoSuchBucket: The specified bucket does not exist
I think the bucket should exist, but that is likely a problem on my end - will update once I know for sure.
So it looks like the issue is not a bug in the code per-se, but certainly there are some bugs in the documentation on both sides

aws doesn't do a good job of documenting how to point at other clouds (which is sort-of understandable, given the business model).

riak basho client documentation doesn't do a good job of explaining how to use it with anything but very trivial scenarios or explaining/clarifying whether/how the client is using protobuf vs http.

there is no basho documentation that I found on how to use js aws clients with riakcs. I would think it would be in basho interests to improve this? But I don't know.. maybe not?

Confirmed that it works now.
If someone can point me to some basho documentation that includes a few examples along the lines of:
How to connect to RiakCS using http and aws-sdk in Node:
var awsEndpoint = new aws.Endpoint(riakCSServer);
awsEndpoint.port = riakCSPort;
awsEndpoint.protocol = "http";
awsEndpoint.href = "http://" + riakServer + ":" + riakCSPort + "/";

var awsConfig = {
    accessKeyId:riakCSUsername,
    secretAccessKey:riakCSPassword,
    sslEnabled:false,
    endpoint:awsEndpoint,
    signatureVersion: 's3'
};

var s3client = new aws.S3( new aws.Config(awsConfig) );
s3client.getObject( {
        Bucket: bucket,
        Key: key
    }, function( err, result ) {
        console.log("S3 result: " + result + " error: " + err );
    }
);

###How to connect to riakcs using the basho node client over http
?

(I don't know how to do this)
I'd consider this issue closed.

I would like you to make sure that Riak CS provides S3-like API and Riak provides original protobuf API. You look like you've set up Riak CS cluster and trying to use S3 API. That is why riak-nodejs-client does not work with S3 API. Moreover, riak-nodejs-client is only for protobuf IIRC. They are different interfaces.
We do not provide any official client libraries for Riak CS and let people choose what to use.

Yes, I did figure that out, as my report above outlines. That is why I changed the name of the bug to cover the lack of documentation of the s3 client. Since s3 protocol is defined by the amazon sdk and documentation, it would make sense to document how to connect with riakcs with what is the reference implementation of the s3 protocol, in a few common languages, using the reference sdk for the protocol (i.e Amazon's).
Investing so much effort into the server-side, and then refusing to provide (or at least document how to use the system with) client libraries seems a bit odd.
At the very least the documentation could be clearer about the fact that the riak clients do not work with the riak backend when using the s3 protocol.

Closing a la https://github.com/basho/basho_docs/issues/1775 . Thank you for trying and bringing heads up, @StuAtGit  .


Fixed bug when changing table_name after calling multi_tenant.

Cherry pick https://github.com/citusdata/activerecord-multi-tenant/pull/128

I think it's a good change to not pass the table name on inherited, but to resolve it from the model object when needed. Also, the signature that is being changed is one that is used internally in the hooks on inherited, so I thought it probably wouldn't be a problem to change it.

[IMO] .register_multi_tenant_model is a public API.
I think we need to consider the possibility that users are using it even if they are not using it in activerecord-multi-tenant.

Since this is indeed a Public API change, we'll mark this PR as breaking, and we've also created a label for breaking.


Notification title and text does not work on Android 8

Your Environment

Plugin version:0.4.1
Platform:  Android
OS version: 8
Device manufacturer and model: OnePlus 3T
React Native version: 0.50

Context

Started tracking with the following configuration
{
      desiredAccuracy: BackgroundGeolocation.accuracy.HIGH,
      stationaryRadius: 5,
      distanceFilter: 5,
      notificationTitle: 'This is title',
      notificationText: 'This is text',
      debug: true,
      startOnBoot: false,
      stopOnTerminate: false,
      locationProvider: BackgroundGeolocation.ACTIVITY_PROVIDER,
      startForeground: true,
      interval: 5000,
      fastestInterval: 5000,
      activitiesInterval: 10000,
      stopOnStillActivity: false,
      url: `${BASEURL}/api/users/location2`,
      httpHeaders: {
        Authorization: token,
        'Content-Type': 'application/json'
      }
    }

Expected Behavior

Foreground service notification should include "This is title" and "This is text"
Actual Behavior

It shows default Android notification similar to screenshot below.

Possible Fix

Android 8 Notification channel causes that maybe ?

On my nexus 5x all works fine on Android 8.


win10, atom v1.0.13, terminal-plus v0.4.3 not working

after successfully installed, it just don't show anything and can't type any commands. There are no error message either. But I have to say it could be the best terminal plugin in atom-windows

Please try uninstalling and then reinstalling the app. Don't worry, your
settings shouldn't disappear.
On Fri, Sep 18, 2015, 9:05 PM Z.Y<EMAIL_ADDRESS>wrote:

[image:<PHONE_NUMBER>18311879]
https://cloud.githubusercontent.com/assets/5233940/9974539/30a4d922-5ec6-11e5-8ecf-af67099e301f.png
after successfully installed, it just don't show anything and can't type
any commands. There are no error message either. But I have to say it could
be the best terminal plugin in atom-windows
—
Reply to this email directly or view it on GitHub
https://github.com/jeremyramin/terminal-plus/issues/15.

It's still not working.

I'll have to take a look and run some tests of my own. I'll notify you here if I need anything, or if I publish a release that fixes this issue.

I'll really appreciate it.

I know what the issue is now. I should have a fix for it soon.

congratulations！！It's fast.

Please update to the latest version of Atom (1.0.15) and try to use the package.

Thanks, I'll try in few fours.

I'm sorry to say that it still looks not working...

Can you please show me what your console says?

There are still nothing

And I can find the winpty process in my tasklist

That means it was launched but it didn't work, which is different from what I originally thought was wrong. I'm surprised that you aren't seeing any error output. This is an issue with a dependency of the package, which I'll have to look at and get back to you.

I seem to have a similar issue, but I also get a message in the console every time I try to open the terminal.
Cannot find module '../build/Release/pty.node'
C:\Users\maistho\AppData\Local\atom\app-1.0.16\resources\app.asar\src\task.js:47

I'm running Windows 10, Atom 1.0.16, Terminal Plus 0.5.1
Please let me know if there's anything I can do to help debug this. =)

@Maistho This is because you don't have the tools necessary to compile the native module dependencies of Terminal-Plus (see author's note in README). However, the plugin will still work because I provide precompiled binaries for each operating system.
You can help me reproduce this by giving me the steps you took that lead you to the issue. (i.e. Open and hide, then open and use command example leads to this issue.)

@Maistho Actually, what language are you using on your computer?

Same problem. Have properly installed node-gyp and devtools console still reports that pty.node module cannot be found.

@jeremyramin I'm using English UK, but I'm in Sweden and have Swedish time and currency format. Does language affect what binaries are used?
It seems that the winpty process starts (I can see it in taskmgr) but the terminal never loads. (Just a blinking cursor)

I updated to 0.6.0, still have the same issue.
What do I need to install in order to compile the native module dependencies? (I already have nodejs and node-gyp installed globally)

@RiderSx There still might be an error causing node-gyp not to compile the binaries properly. The way to check this is to navigate to the pty.js dependency folder for Terminal-Plus and look at the builderror.log file.
Win: C:\Users\{your username}\.atom\packages\terminal-plus\node_modules\pty.js\builderror.log
Mac: `/Users/{your username}/.atom/packages/terminal-plus/node_modules/pty.js/builderror.log'
@Maistho I'm starting to think that this might be an issue with the pty.js dependency having a conflict with systems using a different language. I'll have to look through their code and see why this would even be an issue.

What language would it work on? I could test changing my system language or locale and see if that solves it.
Thanks for the link! =)

I'm assuming that English is the only language it works on right now. If you could, please try changing the time and currency to English (or English UK in your case). If that still doesn't work, then we need to make sure that there aren't any other settings affecting the language on your system.

Still doesn't seem to work (with english/UK). I'll try installing python and the other things needed for node-gyp and then rebuild, see if that helps.

Also, I'm not sure if this is related, but if I try to uninstall while winpty-agent.exe is running the uninstall fails silently. I have to manually close the process in taskmgr before I can uninstall Terminal-plus

but if I try to uninstall while winpty-agent.exe is running the uninstall fails silently. I have to manually close the process in taskmgr before I can uninstall Terminal-plus

I have same problem, winpty-agent.exe process won't be killed after close the terminal tab.

This could be a problem with the winpty-agent. I'll find some time in the next couple days to go through the code. Winpty is a dependency of a Terminal-Plus dependency, so I haven't dealt with it much.

@Maistho I'm curious. Did installing the proper tools for node-gyp and compiling your own version fix this issue for you?

@jeremyramin I installed the  vs2012 for desktop, I can find the winpty-agent.exe file in build directory, but there are no pty.node file, so the console shows can't find "../build/pty.node", I tried copy pty.node from bin/ to build/, but It's useless...

@yzhen123 Use the following command to rebuild the pty.js dependency from the pty.js folder:
node-gyp rebuild --target=0.30.6 --dist-url=https://atom.io/download/atom-shell

I tried several times but failed because of the poor network or some other reason, I'll keep trying tomorrow.

This is not a Terminal-Plus issue.  Microsoft has changed the console code in Windows 10 and it breaks current shells on most editors.   The work-a-round is:

Bring up a command prompt.
Click on the Settings icon (Top left corner)
Select Properties > Options > Check "Use legacy console"
Close and re-open ATOM or any other editor and test.

@T1mClark Thanks!!! it works for me.

@T1mClark Thank you! I've been trying to figure this out for days now. I'll have to put this on the README somewhere.

No Problem.   Thank you for the excellent plugin.

@jeremyramin you may wanna put this in the author's notes :P

@SoullessWaffle You're right, sorry about that. Just added it :)

I found kaspersky blocks winpty-agent.exe. I just added a new rule to allows winpty-agent.exe then works perfectly.

@T1mClark @jeremyramin
I'm running Win10, Atom 1.2.4, Terminal Plus 0.14.5,I choose "Use legacy console" in a command prompt and close,re-open Atom ,but its not work for me (；′⌒)

Running the legacy console in Windows seems to prevent the new bash feature in build 14316 from running. The terminal pane hangs when you enter C:\Windows\System32\bash.exe in the Shell Override. If you start the terminal with cmd.exe and then type in C:\Windows\System32\bash.exe it says
operable program or batch file.```

Can you point me in the right direction for tracking down how to make this work?

Having the same issue as @CalebEverett: using the legacy console breaks Bash on Ubuntu on Windows. Regardless of that, it didn't fix Terminal Plus either.
I love this Atom plugin, and I appreciate the hard work that went into making it.
That said, "The API changed, so revert to the old API" strikes me as the wrong way to fix this issue.

I changed up the font to Lucida Console and it worked with the Shell Override to C:\Windows\System32\bash.exe.

I have a problem.
win7, atom:1.7.0,

I'm running Windows 10, Atom 1.7.0, Terminal Plus 0.14.5
My terminal-plus is stuck with Cannot find module '../build/Release/pty.node'
But I installed 'node-gyp' in global

still doesnt work with legacy in powershell

My terminal-plus suddenly not working this morning... Last day it was fine and today when I open the terminal nothing shows up and I cant put any command.

Same for me as well once I updated Atom to 1.7.0.

Me the same. Suddenly Terminal-Plus is not working...

Same problem here, it says this message:
"Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom."

I'm getting the same issue as @EmilioRodrigo just reported. I recompiled it and am getting the black screen (terminal not actually loading)

Same here
Uninstalled, Re-Installed: no dice
Uninstalled, tried to install Terminal-Tokamak (different emulator), same issue

All I have on Windows 10 is a blinking cursor with no input.
I uninstalled atom and deleted ~/.atom then re-installed.
I installed node-gyp globally and then installed terminal-plus. I also used legacy in the cmd properites and restarted everything.
This issue only started yesterday.

Please try PlatformIO Terminal https://github.com/jeremyramin/terminal-plus/issues/223 that is the further development of this plugin.

Thanks @ivankravets, that has the same functionality and works like a charm

@T1mClark but i use "shell override" override to "D:\Programming\Git\bin\bash.exe" , it still no work .

the same problem in windows8.1 , but my cmd.exe dont't have "Use legacy console".

**note: ** the plug-in plateformio-ide-terminal is almost like terminal-plus except the name :).

thanks , the plug-in plateformio-ide-terminal can work in my system

Same issue, a blinky cursor.  Setting terminal to "legacy" mode doesn't fix the issue.  Same issue if switched to git bash.

same problem in windows 10, atom 1.8.0-beta1, do not want to use "legacy", any solutions else?

I had faced same problem and I could solve the problem after trying the steps below. These steps are about installing node-gyp (https://github.com/nodejs/node-gyp/blob/master/README.md).

Windows 10:

Install the latest version of npm (3.3.6 at the time of writing)>
Install Python 2.7 from https://www.python.org/download/releases/2.7/ and make sure its on the System Path>
Install Visual Studio Community 2015 Edition. (Custom Install, Select Visual C++ during the installation)>
Set the environment variable GYP_MSVS_VERSION=2015>
Run the command prompt as Administrator> >
$ npm install (--msvs_version=2015) <-- Shouldn't be needed if you have set GYP_MSVS_VERSION env>
If the above steps have not worked or you are unsure please visit http://www.serverpals.com/blog/building-using-node-gyp-with-visual-studio-express-2015-on-windows-10-pro-x64 for a full walkthrough>

All Windows Versions>

For 64-bit builds of node and native modules you will also need the [Windows 7 64-bit SDK][win7sdk]>
You may need to run one of the following commands if your build complains about WindowsSDKDir not being set, and you are sure you have already installed the SDK:

I'm on windows 10 insider builder 14342 and I also face a similar issue. platformio-ide-terminal seems to work with no issues so I'm using that one as a workaround for now.

Win 10 x64 also with Atom 1.8.0 and I load up terminal plus, its just empty. I followed that guide above "Use legacy console", still didn't work. Any idea? And oh, I already have Nodejs and Git bash.

@divmonkey have you tried this https://github.com/jeremyramin/terminal-plus/issues/15#issuecomment-211274878 ?

@ivankravets Thank you. That works! however it uses the powershell but it'll do :)

I found terminal-plus can not work again。atom v1.9.9

I just installed Atom with terminal-plus on top of it and I can't seem to type anything inside. The versions are 1.10.0 and 0.14.5 respectively. I'm on Windows 10 (10586.545 build).

the same issue for atom 1.10.1 and 0.14.5 on mac osx 10.11.6

Same issue atom 1.10.2, 0.14.5 on mac 10.9.5

same issue for atom 1.10.1 on win10

same issue for atom 1.10.2 on win7

I'm having same issue but on MacOS, Atom 1.10.2
When I open terminal, I see only black background with blinking cursor like this: http://www.pics.rs/i/31Nld
My .atom/packages/terminal-plus/node_modules/pty.js/builderror.log shows this:
In file included from ../src/unix/pty.cc:20:
In file included from ../../nan/nan.h:27:
/Users/{my user}/.atom/.node-gyp/.node-gyp/0.37.8/src/node_object_wrap.h:64:18: warning: 'SetWeak<node::ObjectWrap>' is deprecated [-Wdeprecated-declarations]
    persistent().SetWeak(this, WeakCallback);
                 ^
/Users/{my user}/.atom/.node-gyp/.node-gyp/0.37.8/deps/v8/include/v8.h:561:12: note: 'SetWeak<node::ObjectWrap>' has been explicitly marked deprecated here
      void SetWeak(P* parameter,
           ^
In file included from ../src/unix/pty.cc:20:
In file included from ../../nan/nan.h:184:
../../nan/nan_maybe_43_inl.h:89:15: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
  return obj->ForceSet(GetCurrentContext(), key, value, attribs);
              ^
/Users/{my user}/.atom/.node-gyp/.node-gyp/0.37.8/deps/v8/include/v8.h:2682:29: note: 'ForceSet' has been explicitly marked deprecated here
                Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
                            ^
In file included from ../src/unix/pty.cc:20:
In file included from ../../nan/nan.h:184:
../../nan/nan_maybe_43_inl.h:221:17: warning: 'CloneElementAt' is deprecated [-Wdeprecated-declarations]
  return array->CloneElementAt(GetCurrentContext(), index);
                ^
/Users/{my user}/.atom/.node-gyp/.node-gyp/0.37.8/deps/v8/include/v8.h:3011:36: note: 'CloneElementAt' has been explicitly marked deprecated here
                MaybeLocal<Object> CloneElementAt(Local<Context> context,
                                   ^
In file included from ../src/unix/pty.cc:20:
In file included from ../../nan/nan.h:190:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:40:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
  return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                            ^
/Users/{my user}/.atom/.node-gyp/.node-gyp/0.37.8/deps/v8/include/v8.h:3972:56: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                       ^
In file included from ../src/unix/pty.cc:20:
../../nan/nan.h:592:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback
      ~~~~~~~~~~~~~^
../../nan/nan.h:598:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback) {
      ~~~~~~~~~~~~~^
../../nan/nan.h:603:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback
      ~~~~~~~~~~~~~^
../../nan/nan.h:609:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback) {
      ~~~~~~~~~~~~~^
../../nan/nan.h:1933:15: warning: 'SetAccessor' is deprecated [-Wdeprecated-declarations]
  return obj->SetAccessor(
              ^
/Users/{my user}/.atom/.node-gyp/.node-gyp/0.37.8/deps/v8/include/v8.h:2735:22: note: 'SetAccessor' has been explicitly marked deprecated here
                bool SetAccessor(Local<Name> name,
                     ^
5 warnings and 4 errors generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /private/var/folders/tw/dy1r430n3jd2dqp52w9kpff40000gn/T/apm-install-dir-116813-81670-1asu70i/node_modules/terminal-plus/node_modules/pty.js
gyp ERR! node -v v4.4.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

Solution at 321 worked for me for mac.

Previously tried on Atom 1.9.9

Thanks @NatashaKSS - works perfectly.

Atom 1.10.2, Windows 10 Pro, 64-bit, build 1607, 14388.0
Here's the error I get:
Module version mismatch. Expected 47, got 46. Error: Module version mismatch. Expected 47, got 46.
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)
    at Object.Module._extensions..node (module.js:440:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:158:20)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (C:\Users\Zeklandia\.atom\packages\terminal-plus\node_modules\pty.js\lib\pty.js:17:9)
    at Module._compile (module.js:413:34)
    at Object.defineProperty.value [as .js] (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (C:\Users\Zeklandia\.atom\packages\terminal-plus\node_modules\pty.js\lib\pty_win.js:10:20)
    at Module._compile (module.js:413:34)
    at Object.defineProperty.value [as .js] (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (C:\Users\Zeklandia\.atom\packages\terminal-plus\node_modules\pty.js\index.js:2:18)
    at Module._compile (module.js:413:34)
    at Object.defineProperty.value [as .js] (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous>
(file:///C:/Users/Zeklandia/.atom/packages/terminal-plus/lib/process.coffee:1:7)(anonymous function) @ C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52
4C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52 Cannot read property 'bind' of null TypeError: Cannot read property 'bind' of null
    at process.<anonymous> (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task-bootstrap.js:82:23)
    at emitTwo (events.js:100:13)
    at process.emit (events.js:185:7)
    at handleMessage (internal/child_process.js:718:10)
    at Pipe.channel.onread (internal/child_process.js:444:11)(anonymous function) @ C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52

followed by:
C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52 Cannot read property 'bind' of null TypeError: Cannot read property 'bind' of null
    at process.<anonymous> (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task-bootstrap.js:82:23)
    at emitTwo (events.js:100:13)
    at process.emit (events.js:185:7)
    at handleMessage (internal/child_process.js:718:10)
    at Pipe.channel.onread (internal/child_process.js:444:11)(anonymous function) @ C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52
C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:49 Cannot find module '../build/Release/pty.node'

same as @Zeklandia :(

Same here, @wowzaaa! platformio-ide-terminal works fine.

Not sure if it's appropriate to ask here?
platformio-ide-terminal works great on my windows 10. But I've run into another problem. I tried to change the default shell to git-bash but after launching the terminal it just opened the git bash not open it inside Atom pane.

can some one please help me resolve this issue

Cannot find python executables. Please help

Getting error while running node-gyp rebuild --target=0.30.6 --dist-url=https://atom.io/download/atom-shell

Running command C:\Users\mailt.atom\packages\terminal-plus\node_modules\pty.js> node-gyp rebuild --target=0.30.6 --dist-url=https://atom.io/download/atom-shell
is giving following error
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\mailt
.atom\packages\terminal-plus\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\mailt
C:\Users\mailt.atom\packages\terminal-plus\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]

I'm having the same issue with terminal-plus 0.14.5 on Win 10, x64.
events.js:154
Hide Stack Trace
Error: channel closed
at ChildProcess.target.send (internal/child_process.js:523:16)
at Task.module.exports.Task.send (C:\Users\name\AppData\Local\atom\app-1.11.2\resources\app.asar\src\task.js:117:27)
at TerminalPlusView.module.exports.TerminalPlusView.input (file:///C:/Users/name/.atom/packages/terminal-plus/lib/view.coffee:261:17)
at Terminal. (file:///C:/Users/name/.atom/packages/terminal-plus/lib/view.coffee:141:8)
at Terminal.EventEmitter.emit (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.js:109:12)
at Terminal.handler (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.js:3493:8)
at Terminal.keyPress (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.js:3243:8)
at HTMLDocument. (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.
I've tried every possible solution given here with no success.
Any help will be appreciated.

same issue with terminal-plus 0.14.5 on Win 10, x64 atom 1.11.2

Did it work? @jeff-wu     The same issue

Did it work? @jeff-wu

Same issue here, same bug happened (on a fresh install of atom on a debian stable that was just upgraded this morning).
And plateformio-ide-terminal works perfectly.

plateformio-ide-terminal doesn't work for me neither. I have a on Win 10, x64.

Doesn't work here as well with the latest stable Atom 1.12.6

platformio-ide-terminal is working but not terminal plus. I have a windows 10, x64.

Doesn't work here too, I just installed Atom & terminal-plus. (windows 10 x64)
(I tired this, but the terminal open seems like it's disable)

I too can't get terminal-plus to work with Windows 10. I am stuck at pty.js not building and failing with

Call to 'node -e "require('nan')"' returned exit status -1073741819 while in binding.gyp. while trying to load binding.gyp

I've tried everything mentioned here.
Scott

I've too installed platformer-ide-terminal and it worked immediately. Thanks @smolinari

Installing<EMAIL_ADDRESS>failed.Hide output…
Failed to install terminal-plus because Git was not found.
The terminal-plus package has module dependencies that cannot be installed without Git.
You need to install Git and add it to your path environment variable in order to install this package.
You can install Git by downloading, installing, and launching GitHub for Windows: https://windows.github.com
Run apm -v after installing Git to see what version has
showing this kind of error what to do

Processing -File 'E:\CompSci\Project X\Project-X\templates\basic_app\registration.html' failed because the file does not have a '.ps1' extension. Specify a val
id Windows PowerShell script file name, and then try again.
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

I'm going through the Stackskills online couse, "The Python Mega Course," which has a video entitled, "Setting up and Working with the Atom Editor" (4:37). The instructor appears to be using Windows 7. I'm using Windows 10. He shows how to install a useful package, "terminal Plus," and installs it. The "+" appears in the bottom of the Atom status line. I go through the same process and nothing confirms the Terminal Plus packages installs, no error message, nothing to indicate it installed successfully. I does appear in C\Users\Mike.atom.apm\terminal-plus with a folder for version 0.14.5. What is the simplest method to get terminal plus working with Atom running under Windows 10?

https://github.com/jeremyramin/terminal-plus/issues/15#issuecomment-144618245
Didn't work for me.

Windows 10 x64 v1803
Atom 1.29.0 x64
Use Legacy Console had no effect. Even restarted the pc, no effect.
Installed platformio-ide-terminal works great. Booted into Powershell, ubuntu subsystem bash works 🤷

gyp: binding.gyp not found (cwd: C:\Windows\system32) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (C:\Users\MaqboolThoufeeqT\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:344:16)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\MaqboolThoufeeqT\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--target=0.30.6" "--dist-url=https://atom.io/download/atom-shell"
gyp ERR! cwd C:\Windows\system32
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok


Test against PHP 7.4

Coverage remained the same at 97.143% when pulling 5379d4c758adde16f5d5dea8d57cf036c40a192a on php74 into a7d281ed0186aabcff719422ba5265ef21b5a34e on master.

Coverage remained the same at 97.143% when pulling 5379d4c758adde16f5d5dea8d57cf036c40a192a on php74 into a7d281ed0186aabcff719422ba5265ef21b5a34e on master.


goals_2D_mlps does not have gradients

Thank you for your codes.
I notice that the goals_2D_mlps does not have gradients even for the training.
Is it expected? And why?
https://github.com/Tsinghua-MARS-Lab/DenseTNT/blob/main/src/modeling/decoder.py#L181-L184

No, it is not expected. The operation of detaching is redundant and it does not affect the performance.


Run chef-solo via Ruby API

Hi
I want to run chef-solo (and possibly other commands) via Ruby API. From what I see there's currently no way of setting options other than providing actual command line arguments (or changing ARGV). I want to run chef-solo from other command line app, so using ARGV it not an option.
What I did now is:
class Chef::Application::Solo
  def parse_options(argv="--log_level debug".split)
    super(argv)
  end
end

Chef::Application::Solo.new.run

My question is - would it be possible to extract this as public API in Chef::Application to do something like this:
Chef::Application::Solo.new(log_level: "debug").run

I'll recommend  not to use the application class, as its intend to be consumed by the CLI directly. Instead, create /instantiate a chef client object, set apropriate configs (including Chef::Config[:solo] = true) and then invoke a chef run. Somewhat similar usage can be found here: https://github.com/ranjib/chef-lxc/blob/master/lib/chef/lxc_helper.rb#L8

You should probably just fork() + exec().  The cost of doing that is going to be astronomically small compared to the overall cost of the chef run itself.

Yup, we've already gave up on that idea. There was to many hacks involved. This was just initial idea that if we're already running Ruby app we should be able to call Chef via Ruby API. With that we could simplify error handling and make it easier to dynamically set options to chef-client run.
@ranjib thanks for the example - when I have more time for this, I'll try to call Chef::Client directly.

I'd strongly advise not building any new infrastructure around chef-solo as well.  You should build against chef-zero.  Eventually all the conditional code in the client around chef-solo is going to cause you trouble.

Good point about chef-zero.
Do you think I should switch to chef-zero even if I'm not interested in "chef server" architecture/workflow at this moment. Our infrastructure works fine with just chef-solo and I'm wondering what impact can chef-zero bring? Is it really make sense as target solution and not transition step?

Chef was designed around a server and chef-solo was a hack and always will be a hack and when you wind up going down code paths which are solo specific and hitting bugs you will be literally hosed.  We do not prioritize those.  The community support is also often not good.  Some bugs are architectural and cannot be fixed.
Knowing what we know now the way that chef-solo should have been written (to achieve the goal of a process that runs on a box without talking to an externally hosted server) would have been chef-zero.  We are using chef-zero extensively internally.  We have converted chef-solo cookbooks in the server over to using chef-zero.  We use chef-zero in our test-kitchen runs.  We use chef-zero internally in the integration tests that run in the chef-client and test it many times a day in travis.   Bugs in chef-zero will get prioritization and get fixed and there will likely be fewer of them because there are fewer codepaths in critical core sections of the client that are chef-zero-specific.

@lamont-granquist thanks for explanation.
I'll close this as obviously this is not the way to go.
For anyone interested: in chef-solo workflow we're simply calling chef-solo binary via Ruby's Open3.popen3. Not ideal but works.
At some point we're going to switch to chef-zero internally as we have our own command line interface on top of Chef.
thx

@kowal You've constructed your own command line interface on top of Chef? Would you be willing to chat with some of us from Chef about that at some point? We'd love to know what motivated you to do so and what your experience can tells us about Chef so we can improve our interfaces.
You can reach out to me at mm at chef.io if you you're willing to chat more. Thanks.

@mmzyk we are building our own CLI above Chef because it is being used by test engineers. The goal is to have git-like interface for setting up and testing various (local) environments:
# let's call this app 'run'
$ run prepare
$ run start
$ run test module_a
$ run test module_b
# etc

In some of those sub-commands we simply need to run chef-solo as we're implementing part of this as recipes.
One problem we came along was inability to pass JSON attributes on command line directly.
# does not work
chef-solo --config solo.rb --log_level info --json-attributes '{run_list:..}'

We had to generate json temporary file before each run
chef-solo --config solo.rb --log_level info --json-attributes './tmp/another_one.json'

Basically this is the same issue as in https://tickets.opscode.com/browse/CHEF-1918. I agree that passing JSON over command line is not nice and what we did - generate temporary JSON before each run wasn't that hard.
I would appreciate any suggestions on how can we improve on that though :) Oh and maybe we can chat on https://gitter.im/chef/chef?

@morgoth , Wojtek I just run on https://tickets.opscode.com/browse/CHEF-1918 :) 5 years ago but maybe you remember if you came up with some better idea?

@kowal Nope, unfortunately I don't remember. I wasn't using chef for a long time now.

@kowal I don't have any suggestions off hand, but I appreciate the feedback on what you're doing and why. It helps to inform what we might do to make things better going forward.
I'm not usually on glitter, but I can often be found on IRC as mmzyk.


[Material UI] Add channel colors if possible

close #35159
Problem
https://codesandbox.io/s/determined-fermat-mikfcs?file=/src/App.tsx
The extendTheme creates channel colors if it sees palette.*.main, so it breaks if I do this with custom palette:
extendTheme({
  colorSchemes: {
    light: {
      palette: {
        gradient: {
          main: 'linear-gradient(...)', // it tries to create channel color which throws an error because the value is not a valid color.
          ...
        }
      }
    }
  }
})

This is definitely confusing for developers and there is no workaround unless they change from primary to another name.
Solution
Display warning instead of throwing errors.
For dependent tokens
These tokens are used to calculate channel colors, so the warning is displayed if it cannot parse the value:
extendTheme({
  colorSchemes: {
    light: {
      palette: {
        divider: 'green',
      },
    },
  },
}),

// MUI: The value of `palette.divider` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().

For independent tokens
These tokens are not used by others, so they can be replaced with any CSS color, e.g. gradient or refer to another CSS variable.
extendTheme({
  colorSchemes: {
    light: {
      palette: {
        Alert: {
          errorColor: 'green', // ✅
        },
      },
    },
  },
})

Custom palettes
Like in #35159, the gradient is created with the same structure of MUI primary palette but that's not the intention of the developers, so the errors are silent:
extendTheme({
  colorSchemes: {
    light: {
      palette: {
        gradient: {
          primary: 'linear-gradient(#000, transparent)', ✅
        },
      },
    },
  },
})

https://codesandbox.io/s/awesome-chihiro-uo3ddh?file=/src/App.tsx

[x] I have followed (at least) the PR section of the contributing guide.

@mnajdova Please review again. In summary, instead of throwing errors, the warning is displayed for specific tokens that are used for channel color generation.


Num of attend

The previous version of this branch would not do what it's set to do. Since the $scope.numOfattendant was only gonna keep track of one number, it won't properly display the correct number of attendance on a date if the date is not the most recent date.

Thanks for catching that!


cannot remove '.../src/oryx-runtime.txt': Permission denied

Hello, I'm running into the following issue when attempting to build and deploy:
github deploy yml:
name: Azure Container Apps Deploy

on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3

      - name: Log in to Azure
        uses: azure/login@v1
        with:
          creds: ${{ secrets.AZURE_CREDENTIALS }}

      - name: Build and deploy Container App
        uses: azure/container-apps-deploy-action@v1

        with:
          appSourcePath: ${{ github.workspace }}/src
          acrName: budgetappr1ae0
          containerAppName: budgetapp
          resourceGroup: rg-budgetapp

I'm getting the following error:
Run azure/container-apps-deploy-action@v1
Run CA_GH_ACTION_START_MILLISECONDS=$(date +%s%N | cut -b1-13)
Run az config set extension.use_dynamic_install=yes_without_prompt
WARNING: Command group 'config' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Run CA_GH_ACTION_ACR_ACCESS_TOKEN=$(az acr login --name budgetappr1ae0 --output json --expose-token | jq -r '.accessToken')
WARNING: You can perform manual login using the provided access token below, for example: 'docker login loginServer -u 00000000-0000-0000-0000-000000000000 -p accessToken'
WARNING! Using -*** the CLI is insecure. Use --password-stdin.
Login Succeeded
Run dockerfilePath=/home/runner/work/budget-app/budget-app/src/Dockerfile
Run CA_GH_ACTION_IMAGE_TO_BUILD="budgetappr1ae0.azurecr.io/github-action/container-app:5581942329.1"
Run CA_GH_ACTION_IMAGE_TO_DEPLOY="budgetappr1ae0.azurecr.io/github-action/container-app:5581942329.1"
Run CA_GH_ACTION_RESOURCE_GROUP="rg-budgetapp"
Run az containerapp show \
WARNING: The command requires the extension containerapp. It will be installed first.
WARNING: The installed extension 'containerapp' is in preview.
Run CA_GH_ACTION_CONTAINER_APP_ENVIRONMENT="budgetapp-env"
Run docker run \
Unable to find image 'mcr.microsoft.com/oryx/cli:builder-debian-buster-[20](https://github.com/jwpaine/budget-app/actions/runs/5581942329/jobs/10200662990#step:4:22)230208.1' locally
builder-debian-buster-20230208.1: Pulling from oryx/cli
d42a0fb443d7: Pulling fs layer
f390d[41](https://github.com/jwpaine/budget-app/actions/runs/5581942329/jobs/10200662990#step:4:45)539fb: Pulling fs layer
103b21370b9f: Pulling fs layer
f7571ea34: Verifying Checksum
...
205ffbb9f89d: Pull complete
Digest: sha256:2d5eaa1e75ef73b5bf461a573d8fdf40cb7bc[159](https://github.com/jwpaine/budget-app/actions/runs/5581942329/jobs/10200662990#step:4:170)6be2f0b044f5eb0231a8e94c
Status: Downloaded newer image for mcr.microsoft.com/oryx/cli:builder-debian-buster-[202](https://github.com/jwpaine/budget-app/actions/runs/5581942329/jobs/10200662990#step:4:213)30[208](https://github.com/jwpaine/budget-app/actions/runs/5581942329/jobs/10200662990#step:4:219).1
Error: Could not detect the language from repo.
rm: cannot remove '/home/runner/work/budget-app/budget-app/src/oryx-runtime.txt': Permission denied
Error: Process completed with exit code 1.

Any idea what I can try to get around the rm: cannot remove '/home/runner/work/budget-app/budget-app/src/oryx-runtime.txt': Permission deniedissue?
Thank you!

@jwpaine Hey John, thanks for filing this issue -- for context: we're attempting to determine the runtime stack to use for your application when producing the final image to deploy to the Container App. In this case, the following error was thrown:
Error: Could not detect the language from repo.

You can find the list of runtime stacks that we support here -- would you mind confirming that the runtime stack your application is targeting is not on this list?
Since we are unable to detect the runtime stack to use, the command fails before writing the result to this oryx-runtime.txt file, and I believe you're seeing the "Permission denied" message because we're trying to delete a file that already doesn't exist. We can dig a bit more into this, but the flow should definitely check for the existence of this file before attempting to remove it, so this can be cleaned up a bit.

@jwpaine did you managed to solve this issue? I'm having the same issue and after reading @cormacpayne answer I noticed that .net 8 wasn't supported by Oryx yet and that what I used. But even after trying to use .net 7 instead I'm still having the same issue.


Linker error: "no memory region specified for section '.ARM.extab'"

I'm working with generators and async/await. I tried to move some more complex function into a generator, but I got the following linker error when compiling in debug mode:
rust-lld: error: no memory region specified for section '.ARM.extab'

I looked for other mentions of .ARM.extab on GitHub and found this PR from 2014: https://github.com/hackndev/zinc/pull/238. It seems like this section is used for unwinding and can be discarded. When I compile in release mode with LTO the error disappears, so it really seems like the section isn't needed.
I think we could fix this problem by either discarding or including .ARM.extab in link.x.in.
My rust version is: rustc 1.32.0-nightly (edaac35d6 2018-11-24).

If you run against a fork of cortex-m-rt and hack the link.x.in to discard the .ARM.extab section, does your debug build then work?

@thejpster Sorry for the delay! I tried it again with a modified link.x.in, but the same error occurs. Not sure why…


Document importing conventions in the developer docs

In the "developer documentation" https://cirq.readthedocs.io/en/stable/dev/index.html it would be nice to have a reference for how we import things

users import cirq and use cirq.Thing for everything
library code imports "second level" modules e.g. from cirq import ops and then uses ops.Thing except in type annotations which should use 'cirq.Thing'
Non-flattened submodules: I don't actually know, xref https://github.com/quantumlib/Cirq/pull/2748#discussion_r376561854 but I think we wanted people to do import cirq.google as cg

That information currently lives in style.md.

Ah. we should put that in the developer documentation


tealdeer: 1.6.1 -> 1.7.0; tealdeer: add mfrw as maintainer

Things done

tealdeer: 1.6.1 -> 1.7.0
tealdeer: add mfrw as maintainer

Changelog: https://github.com/tealdeer-rs/tealdeer/blob/main/CHANGELOG.md

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

1 package built:

tealdeer


About the LP objective

Hi Tom,
Thanks for your amazing work. I am very interested in it. In the paper, you mentioned that "we reverse this gradient in the backward pass before the LP network". Does this mean you use total_loss ( LF + NL - LP ) to update the encoder, and use LP loss to update LP decoder?
BTW, looking forward to your code :)

Hello!
We do not optimise against this loss in the final function as this would not train the domain predictor correctly. See here https://github.com/tomsherborne/zx-parse/blob/662757d5b97a51cfa90a0620336e6ee5db9cab5e/zxp/models/seq2seq_multihead_lambda.py#L167
For applying the reversal layer function https://github.com/tomsherborne/zx-parse/blob/main/zxp/modules/gradient_reversal_layer.py
The gradient is un-reversed when passing through the domain prediction and then reversed when going further backwards (i.e. through the encoder).


could not determine kind of name

func main() {

	bpfModule, err := bpf.NewModuleFromFile("perf.o")
	if err != nil {
		fmt.Errorf("Failed to load bpf module: %s", err)
	}
	err = bpfModule.BPFLoadObject()
	if err != nil {
		fmt.Println("Failed to load bpf object:", err)
	}

	mymap, err := bpfModule.GetMap("stack_traces")
	if err != nil {
		fmt.Println("Failed to get map:", err)
	}

	for mymap.Iterator().Next() {
		fmt.Println(mymap.Iterator().Key())
	}

//mod
go 1.17

require github.com/aquasecurity/libbpfgo v0.1.1

replace github.com/aquasecurity/libbpfgo => github.com/aquasecurity/libbpfgo v0.2.3-libbpf-0.6.1

root@ubuntu-hirsute:~/withlin/test# CC=gcc CGO_CFLAGS="-I /usr/include/bpf" CGO_LDFLAGS="/usr/lib/x86_64-linux-gnu/libbpf.a" go build -o perf
# github.com/aquasecurity/libbpfgo
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1289:37: could not determine kind of name for C.BPF_TC_CUSTOM
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1287:37: could not determine kind of name for C.BPF_TC_EGRESS
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1295:26: could not determine kind of name for C.BPF_TC_F_REPLACE
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1286:37: could not determine kind of name for C.BPF_TC_INGRESS
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1392:9: could not determine kind of name for C.bpf_tc_attach
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1403:9: could not determine kind of name for C.bpf_tc_detach
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1373:9: could not determine kind of name for C.bpf_tc_hook_create
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1382:9: could not determine kind of name for C.bpf_tc_hook_destroy
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1414:9: could not determine kind of name for C.bpf_tc_query
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1338:12: could not determine kind of name for C.sizeof_struct_bpf_tc_hook
/root/go/pkg/mod/github.com/aquasecurity/libbpfgo@v0.2.3-libbpf-0.6.1/libbpfgo.go:1315:12: could not determine kind of name for C.sizeof_struct_bpf_tc_opts

@grantseltzer cc

Seems that you use an old version of libbpf.a
Latest version of libbpfgo should be used with libbpf 0.6.1

@yanivagman  i am builded  libbpf master version libbpf.a. which is seems is error
root@ubuntu-hirsute:~/withlin/test# CC=gcc CGO_CFLAGS="-I /usr/include/bpf" CGO_LDFLAGS="/root/withlin/libbpf/src/build/libbpf.a" go build -o perf
# github.com/aquasecurity/libbpfgo
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1289:37: could not determine kind of name for C.BPF_TC_CUSTOM
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1287:37: could not determine kind of name for C.BPF_TC_EGRESS
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1295:26: could not determine kind of name for C.BPF_TC_F_REPLACE
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1286:37: could not determine kind of name for C.BPF_TC_INGRESS
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1392:9: could not determine kind of name for C.bpf_tc_attach
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1403:9: could not determine kind of name for C.bpf_tc_detach
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1373:9: could not determine kind of name for C.bpf_tc_hook_create
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1382:9: could not determine kind of name for C.bpf_tc_hook_destroy
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1414:9: could not determine kind of name for C.bpf_tc_query
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1338:12: could not determine kind of name for C.sizeof_struct_bpf_tc_hook
vendor/github.com/aquasecurity/libbpfgo/libbpfgo.go:1315:12: could not determine kind of name for C.sizeof_struct_bpf_tc_opts

// libbpf is clone from master
/root/withlin/libbpf/src/build/libbpf.a

@withlin
Clone:
https://github.com/aquasecurity/btfhub
And compile the example:
$ make example-static
$ make example-c-static
This will test the library from ./libbpf and ./libbpfgo directories, compiling the example.c and example.go as statically compiled binaries.
Then you can test libbpf.so from your OS with:
$ make example-dynamic
$ make example-c-dynamic
Make sure your OS library is 0.6.1.
I have all 4 examples compiled correctly in my system.


fix: render accordion CSS based

References https://autoricardo.atlassian.net/browse/VSST-871
Motivation and context
Using window.matchMedia leads to issues with the legacy integrations
https://github.com/chakra-ui/chakra-ui/issues/4319#issuecomment-878237998
After
Uses CSS instead of matchMedia to show/hide the mobileOnlyAccordion
How to test
Ensure the Mobile only accordion works

Thanks for the catch, still getting used to this CSS in js stuff where you need to abstract the CSS in your brain 😅


feat: Resave png/svg automatically after exporting with scene

This is a follow-on from #3645, which fixes #2261. Please review that PR first.
The only commit that is new in this PR is the last one (resave to img automatically after exporting with scene).
To test:

Open a fresh drawing, or load a .excalidraw drawing from disk
"Save as image" with "Embed Scene" selected
make more edits
cmd+s to save
notice that your svg/png file has been updated on disk, and that your .excalidraw drawing has not been updated.

I think that this is the correct default behaviour, because if you are embedding the scene into your image file then the .excalidraw file has just become redundant, and you probably want to re-save to svg/png when you type cmd+s. That said, UXD is hard, so I'm happy to be told that I'm wrong (this is also why I didn't include this feature in #3645).
Things that have not changed:

if you haven't yet exported as an image, and you cmd+s, it will still trigger the save-as-json codepath, which will happily let you save a json scene over the top of a .png or .svg file. After this PR is merged, this behaviour will become even more surprising than before. I have no idea how to make this experience better though.

integrated into https://github.com/excalidraw/excalidraw/pull/3645


Discrepancy in parser metadata handling between LS and GUI

As I was looking into Undo/Redo issues, I observed that some operations are triggering code text edits even when there is no reason to.
One of the reasons seems to be a discrepancy between GUI and Engine in how they handle metadata.
Consider the following code from the initial project:
from Standard.Base import all
from Standard.Table import all
from Standard.Database import all
from Standard.AWS import all
import Standard.Visualization

main =
    operator1 = "Press TAB key to create a new node"

#### METADATA ####
[[{"index":{"value":5},"size":{"value":8}},"6ce0ea61-6e74-40b2-94f7-215b05fdd193"],[{"index":{"value":13},"size":{"value":1}},"39cbb9f1-2dca-4280-bc20-f2cfe5105ce0"],[{"index":{"value":14},"size":{"value":4}},"3276535b-b8b1-4743-96c2-f0c1860cc75f"],[{"index":{"value":5},"size":{"value":13}},"f313e5e6-b112-4e67-94f3-3824de0d5a70"],[{"index":{"value":0},"size":{"value":29}},"1cd3e872-18e4-4119-9ba3-8188e9e59fd2"],[{"index":{"value":35},"size":{"value":8}},"e301e5bd-48df-40b9-8e1c-696032ec984a"],[{"index":{"value":43},"size":{"value":1}},"3e954491-4634-4cc7-a914-2dc18638568a"],[{"index":{"value":44},"size":{"value":5}},"8a7318fd-8fa8-4a34-8262-2eec54c85b15"],[{"index":{"value":35},"size":{"value":14}},"bdacfdeb-0dea-4628-81a5-e1c2918f3e09"],[{"index":{"value":30},"size":{"value":30}},"0ecec61b-370c-41d8-a676-6ac9c0b3021a"],[{"index":{"value":66},"size":{"value":8}},"1d6c71ed-56b5-47ae-bdea-291e7f371b3e"],[{"index":{"value":74},"size":{"value":1}},"fe26e978-4753-4e1a-8c46-31fe56ceb854"],[{"index":{"value":75},"size":{"value":8}},"3e0aee4d-a459-4777-8d5e-6ca9cb997c3b"],[{"index":{"value":66},"size":{"value":17}},"6823563f-e35a-4e22-982e-ad23011d5a07"],[{"index":{"value":61},"size":{"value":33}},"1420cec5-4469-440e-8343-f051660c4025"],[{"index":{"value":100},"size":{"value":8}},"e61928aa-3a1d-4fc3-ba1e-469eedd5d7e4"],[{"index":{"value":108},"size":{"value":1}},"a2368807-7dc1-46c8-8260-b2555d8ab31c"],[{"index":{"value":109},"size":{"value":3}},"04567bf6-ef77-4b77-b488-601f88e9d854"],[{"index":{"value":100},"size":{"value":12}},"729304fd-a1ac-440a-b25e-1e9b1e1c30ee"],[{"index":{"value":95},"size":{"value":28}},"ec2670f3-c071-4702-9ee4-8fa2355ff53d"],[{"index":{"value":131},"size":{"value":8}},"43660892-5940-4233-8ce1-2d153da194b6"],[{"index":{"value":139},"size":{"value":1}},"cfe75ac9-95fb-4817-9c8a-cf714e7bf690"],[{"index":{"value":140},"size":{"value":13}},"402c84dd-7f3d-46e7-a092-639ab9c2e59c"],[{"index":{"value":131},"size":{"value":22}},"000667b6-49b8-41b2-8b70-af9ce048b13d"],[{"index":{"value":124},"size":{"value":29}},"2a41fd0c-8410-4679-8ebc-6ed049cd6976"],[{"index":{"value":155},"size":{"value":4}},"65f99db3-624f-45e6-afb1-10c60d701076"],[{"index":{"value":160},"size":{"value":1}},"aaea3452-8bae-4e59-9b50-d56353bacb0e"],[{"index":{"value":166},"size":{"value":9}},"283ba823-9ef2-4f46-9994-c23711f52f73"],[{"index":{"value":176},"size":{"value":1}},"5454f719-68c2-45c3-b13e-4cc3fad6ffb5"],[{"index":{"value":178},"size":{"value":36}},"93623c69-b912-41c2-a49d-cdaf4bf50de2"],[{"index":{"value":166},"size":{"value":48}},"f591f965-79aa-4009-87b5-5a3aa873c5f1"],[{"index":{"value":161},"size":{"value":53}},"82a89b53-3911-472e-9059-b24b67e5e014"],[{"index":{"value":155},"size":{"value":59}},"bdcbe47f-2531-44dc-a769-8f733f4b28cd"],[{"index":{"value":0},"size":{"value":215}},"82008f59-2c5c-45fd-a2f0-e85268502888"]]
{"ide":{"node":{"93623c69-b912-41c2-a49d-cdaf4bf50de2":{"position":{"vector":[-100.0,140.0]},"intended_method":null,"uploading_file":null,"selected":false,"visualization":null}},"import":{},"project":null}}

Note the last entry in the ID map is [{"index":{"value":0},"size":{"value":215}},"82008f59-2c5c-45fd-a2f0-e85268502888"]. It assigns an ID to the whole module's scope, likely corresponding to the root AST Module node.
However, when GUI parser it, the root Module node does not have an ID assigned to it. After looking into translation code it seems that it was intentional, as the new_no_id constructor is used. Thus, when GUI converts the AST back to text, the ID disappears, introducing a faux difference.
The problem is that the Language Server seems to be introducing this ID back on its own, causing some kind of edit war between the GUI and the Language Server and causing trouble for Undo/Redo functionality.
I suppose that this is caused by LS using a different parser API, not relying on Rust's AST translation code.
We should either:

make the GUI have missing IDs, assuming the root issues were addressed;
make sure that LS does not get any IDs that GUI does not see.

Module doesn't need to be constructed with new_no_id. It should use the same start_ast()/finish_ast() API as other nodes.

After speaking with @mwu-tow about this, I think the GUI is doing the right thing here. It is important not to assign IDs to two nodes that have the same span; a (very simple) module could have the same span as its child line. Since the IDE and the LS must be consistent, we should change this on the LS side.

The problem is that the Language Server seems to be introducing this ID back on its own, causing some kind of edit war between the GUI and the Language Server and causing trouble for Undo/Redo functionality.

The Language Server only reads and never updates the metadata. If it tries to do that, it will result in a checksum error after the following applyEdit command from IDE.

The problem is that the Language Server seems to be introducing this ID back on its own, causing some kind of edit war between the GUI and the Language Server and causing trouble for Undo/Redo functionality.

The Language Server only reads and never updates the metadata. If it tries to do that, it will result in a checksum error after the following applyEdit command from IDE.

**Unrelated & colloquial **: According to @kustosz, the motivation for using UUIDs was exactly to allow every party (including language server) to introduce new UUID. If that feature isn't used by language server, I could propose to stop using UUIDs again ;-)

I could propose to stop using UUIDs again

I agree that using the path in the tree instead of UUID is a more elegant solution, but it will require work on both ide and the engine side in order to support it

Removing as obsolete.


Clean up code naming of Binary, Engine, Library, Engine Binary, Engine Type, Binary Type etc

Right now it is all over the place. We should make sure all uses in variables, classes and functions are consistent with a pattern we decide on.

Not sure why both are needed.
https://github.com/prisma/prisma/pull/7791#issuecomment-865832420

How we used it in the Node-API project: Engine Type = Binary vs. Node-API Libary (This will also be part of the public API)
The existing code does Binary Type = Migration, Introspection, Query, which would be on another level and thus confusing. We need to get these terms straight across the codebase.


Add azure-storage-cli to the stemcells

Add blobstore client for Azure aka azure-storage-cli binary to the stemcells.
Related PRs

bosh-stemcells-ci Add azure-storage-cli to the stemcells

Please also adapt the filename of three assets files .sha256sum, .url and .version to bosh-blobstore-azure-storage

This PR should be coordinated with the agent changes.

and it should also coordinated with the changes to the stemcell ci builder
see https://github.com/cloudfoundry/bosh-stemcells-ci/blob/master/pipelines/ubuntu-jammy/pipeline.yml#L1399
and https://github.com/cloudfoundry/bosh-stemcells-ci/blob/master/pipelines/ubuntu-jammy/stemcells.yml#L31
for the changes needed

lgtm

Thanks! @ten4o


Add support for granting RPC tokens within Devzat

We will also need to update docs

And the docs have been updated!

Looks good to me, feel free to merge!


[Dependencies] Update version of some dependencies (fuels, ethers..)

Hi,
The npm package "@fuel-bridge/test-utils" has an old version of "fuels" dependency.
It is also using ethers v5, might be interesting to step into v6.
Screen:

This will be fixed when we release a new version


Pristine is logging too many things at the INFO level

These logs should be downgraded to "debug":

The Request Interceptor doesn't implement the interceptRequest method.
Router - The Request Interceptor doesn't implement the interceptResponse method.

Fixed in https://github.com/magieno/pristine-ts/pull/571


Parsing of NFS mounted drive is really slow (Ubuntu)

VSCode Version: 1.0.0
OS Version: Ubuntu 14.04 LTS

Steps to Reproduce:

Open an NFS mounted folder in VS Code with a mix of C++, js and python source code (1000's of files)
Let the parsing (indexing) begin i.e. creation of the symbols database for intelliSense

It is really slow (it's been running for 4 hours). This isn't the case with a similar setup with Sublime Text 3 on the same NFS mounted folder.

@ashwinaj what do you mean by "parsing" / "indexing"?

@bapsero I mean creation of symbols for intellisense. The bar at the bottom always says "parsing" and never moves to done

@ashwinaj is this from an extension? can you attach a screenshot?

@bpasero I apologize, I should've mentioned, it's using the following extension from Microsoft: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
Attached is a screenshot of this, highlighted in red.

This issue was moved to Microsoft/vscppsamples#11


Parse kthreads during /proc scanning

In the case where a user process is started by a kernel thread, it will miss its parent from the execve_map. This makes process handling in the processLRU and the reference counting of that a bit problematic.
This PR fixes that by adding kernel threads in the execve_map and processLRU during /proc scanning. We will not generate process_exec and process_exit events for kernel threads, but we keep our internal data structures up-to-date.

Some stuff to fix, about the fake pid 0 that we make in case we have things triggered from interrupt context... hmm maybe just make it a kthread too? up to you.

I believe that we do that here. This PR does not touch this part. We handle this as an exec message as we also print that in the json logs.


Commands not working

when I do /plugins the plugin says its enabled and when i do /help luckperms, stuff comes up. but when I do /luckperms nothing happens.

Any errors in console?
Does the plugin startup correctly?
What do you mean by "nothing happens" - no messages at all in reply?


turtlesim package in ros2.humble.desktop.rosinstall refers rolling branch

Hello, @dusty-nv -san.
I really appreciate your great work about this repository.
Now, I faced the title error when I run docker build for Humble with PyTorch.
./scripts/docker_build_ros.sh --distro humble --package desktop --with-pytorch

After while
HEAD is now at fbd4968 Rebase from 'upstream'
The command '/bin/bash -c ./ros2_build.sh' returned a non-zero code: 1

So I checked the script process step by step and build the previous version of Dockerfile for debug.
As a result, turtlesim package in ros2.humble.desktop.rosinstall refers rolling branch.
ros2.humble.desktop.zip
I think that it may have the relation with the error.
How can I fix it ?
Thank you.
=== src/turtlesim (git) ===
Could not checkout ref 'release/rolling/turtlesim/1.4.2-1': fatal: invalid reference: release/rolling/turtlesim/1.4.2-1
=== src/uncrustify_vendor (git) ===
Cloning into '.'...
Note: switching to 'release/humble/uncrustify_vendor/2.0.2-2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at e2bddd9 Rebase from 'upstream' (no changes)
=== src/unique_identifier_msgs (git) ===

@otets-u my guess is there was a change upstream in the Humble package manifests where the references to that turtlesim package got updated/broken.   The last time I built the Humble packages (~1-2 weeks ago), I did not get that error.
Do you need the turtlesim or desktop packages?    You could try disabling turtlesim by adding it to the skip-keys, or use ros_base instead of desktop.

@dusty-nv -san
Thank you for answering.
Finally, I can avoid the error based on your comment.

Do you need the turtlesim or desktop packages?

Yes, I want to use the GUI tools like RViz and plotjuggler to check the topic data.
However, I don't use the turtlesim package.
So, I followed your comment and I added the below 2 small changes.
exclude turtlesim package
	compressed_depth_image_transport \
	--exclude turtlesim \
> ros2.${ROS_DISTRO}.${ROS_PKG}.rosinstall
cat ros2.${ROS_DISTRO}.${ROS_PKG}.rosinstall
vcs import src < ros2.${ROS_DISTRO}.${ROS_PKG}.rosinstall

skip-keys
# skip installation of some conflicting packages
SKIP_KEYS="libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv turtlesim"

And then, I successfully built the software.
Thank you.


Make children of region (SO:0000001) less confusing [sf#121]

Reported by batchelorc on 2008-09-11 13:38 UTC
Hello,
This is partly a first step towards alignment with OBI.
There is a distinction between SO terms that report an experimental output (whether it's an assembly, a contig, or so forth) and those that represent some biological entity.  To this end I propose some new children of region:
SO:0001411 biological_region "A region defined by its disposition to be involved in a biological process."
SO:0001409 biomaterial_region "A region which is intended for use in an experiment."
SO:0001410 experimental_output_artefact "A region which is the result of some arbitrary experimental procedure. The procedure may be carried out with biological material or inside a computer."
SO:0001412 topologically_defined_region "A region that is defined according to its relations with other regions within the same sequence."
Most of the current is_a children of region can become children of these new terms.
Best wishes,
Colin.

Updated by batchelorc on 2008-09-11 15:21 UTC

status: open --> closed-fixed


Edge Scrolling issue

It seems to me that without adding the height prop, the scrolling is not working in edge. It even worked in IE. Can anyone confirm it?

Even I am facing same problem, any solution to this?

Just add height={window.innerHeight * 0.9} to make everyone happy.

@Mujaddadi Thank you, I will give it a try


Missing Releases folder...

"To use the tool, download the latest zip file for your platform (win-x64, mac-x64, or linux-x64) from Releases"
Sadly the releases folder doesn't exist.

Link fixed in docs


Integrate OSL to produce Artic hit shaders

Should be exposed as another "texture". Can then be combined with other stuff.


Either downgrade or upgrade luassert

Latest luassert 1.9 has issue with wildcard match formatter:

https://github.com/lunarmodules/luassert/pull/192

This can cause issues that are hard to detect at first if tests are passing but very confusing later when tests fail and luassert formatter fails.
Should either upgrade to fixed version (patch seems good) or downgrade to luassert 1.8 which does not have this issue (but also does not have these nice formatters).

Pushed latest to https://hub.docker.com/r/mineunit/mineunit with custom built luassert that includes mentioned patch, seems to work without issues.
For command line exec: docker run --rm -it --mount 'type=bind,source=./,target=/home/mineunit/mod' --entrypoint /bin/sh mineunit/mineunit:latest -lc "cd mod; mineunit"
For bash script:
placed in ~/bin/mineunit to allow calling mineunit like if it was actually installed but run in container and allow access only to current directory.
#!/bin/bash
cmd=("cd" "mod;" "mineunit" "${@}")
docker run --rm -it \
        --mount 'type=bind,source=./,target=/home/mineunit/mod' \
        --entrypoint /bin/sh mineunit/mineunit:latest \
        -lc "${cmd[*]}"


Added Pseudo-inverse preconditioner for EqQP.

This allows to precompute a preconditioner, and share it across multiple
outer loops, where the inner loop is solving an Equality Constrained QP.
This should provide speedups when the parameters of the inner loop QP
don't change too much.
TODO: modify the implicit diff decorator so that the jvp also uses the preconditioner.

CC @Algue-Rythme


iOS issue: requireNativeComponent: "BVLinearGradient" was not found in the UIManager.

I'm trying to use LinearGradient from 'react-native-linear-gradient'.
I have imported the library using npm install react-native-linear-gradient --save. It has been automatically linked and "react-native-linear-gradient": "^2.5.6" has been added to package.json.
I am using IntelliJ IDEA to build and run the app using react-native-cli run-ios.
However I run into this issue:

Does anyone know how to fix this?

having the same issue

@tiludropdancer Did you pod install?

I am no longer using this component or library for that matter, but I did run into this issue for other library imports as well. My solution was to upgrade the version of react-native-cli that I was running, then do these steps:
npm install some-library --save
cd ios
pod install
cd ..
react-native link

Keep in mind some libraries cannot be autolinked and will require disabling autolinking for that dependency in react-native.config.js like so:
module.exports = {
  dependencies: {
    'some-unsupported-package': {
      platforms: {
        android: null,
        ios: null
      },
    },
  },
};

then run this to link manually
react-native link name-of-library

I had to do quite a few steps that the readme doesnt mention, presumably because they are implied for people that have used React Native for a while? I had to to:
pod install (in the ios folder)
cd .. and then react-native link
restart (command C on the metro bundler window, and re-run react-native run-ios)

@shohailahm Please don't referece to un necesary files. In the top it's written iOS issue and you're referencing to android. Please understand the difference.

This comment fix the same problem terminate dev-server and run
yarn start --reset-cache

As i understood this is happening because of react-native version > 0.60 do not need linking (but i did "react-native link react-native-linear-gradient" during of the installation process). I run "react-native unlink react-native-linear-gradient" --> rebuild project in Xcode and after this gradient started to work.

I am not resolving this issue please help me


Download external resources

Is it possible for tell webpack to download and parse external URL's when building?
For example in my css file I import the roboto font:
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700)

Currently when someone goes to my site, it makes an external request to that URL when it loads, which both breaks offline access (say someone is using my site only on a local network and have no internet access) and potentially slower they have to download a separate resource.
Can I get webpack to inline all external URLs?

Currently css-loader resolves imports like that but I can't see support for downloads like that. Perhaps it would be possible to implement a loader that would do what you need (maybe one exists already, look around).

OK I'll close this then, since it seems like it could resolved with an external library.


Wordpress plugin for V3 ?

The official WordPress plugin for Infinite Scroll v3 is in the works. Until then, you can continue using the previous Infinite Scroll v2 WordPress plugin.

Hi, any idea when this will be available ?
Thanks a lot !

Hello! Sorry, no tentative release date yet. I'll follow up if/when there's any updates.
Add a 👍  reaction to this issue if you would like to see this feature added. Do not add +1 comments — They will be deleted.

Please update wordpress plugin to V3, Please... this is little task for you why you are not doing it, it would take only few minutes to create it, because you have already made it in V2, You just have to update the code and some functionalities. please sir try to understand I need this. please.


Add selected fields to API request messages

Summary

https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/475#issuecomment-884096007
Why do we need this ?

To avoid confusion about fields which are not automatically returned in API requests
Can you do this yourself and submit a Pull Request?

Yes

Duplicate of https://github.com/TheThingsIndustries/lorawan-stack-docs/issues/443


indicate number of images with warnings

Maybe next to the total number of images? That will be helpful to just have an overview of the work that needs to be done on a volume (@TBRC-Travis 's request)

yes, it would be good just to have a quick sense of how many images of the total need to be re-scammed or handled manually

looks perfect, thanks!


[Accessibility] Add headings & change counterfactual text color

Signed-off-by: Ruby Zhu<EMAIL_ADDRESS>
Description

This PR fix two bugs:
Bug 1919769: A11yUsable - Counterfactuals - bold green sections in the table would be less clear to a color blind user
Before fix:

After fix:

Bug 1919775: A11yMAS - Headings should be used to convey structure and help screen readers navigate
Before fix:

After fix:

Checklist

[x] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1646 (3dd330d) into main (aadfa3c) will decrease coverage by 13.45%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1646       +/-   ##
===========================================
- Coverage   89.03%   75.58%   -13.46%
===========================================
  Files         105       10       -95
  Lines        5489      258     -5231
===========================================
- Hits         4887      195     -4692
+ Misses        602       63      -539

Flag
Coverage Δ

unittests
75.58% <ø> (-13.46%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

erroranalysis/erroranalysis/_internal/__init__.py

raiutils/raiutils/dataset/dataset.py

responsibleai/responsibleai/exceptions.py

raiwidgets/raiwidgets/interfaces.py

.../raiutils/data_processing/data_processing_utils.py

raiwidgets/raiwidgets/constants.py

raiutils/raiutils/webservice/webservice.py

responsibleai/responsibleai/managers/__init__.py

responsibleai/responsibleai/_data_validations.py

erroranalysis/erroranalysis/__init__.py

... and 85 more

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


LetsEncrypt Wildcards Option

Hello @JrCs!
Will we have wildcards options? As of LetsEncrypt release ACME v2 that supports it.
Thanks!

Not with the current ACME client (simp_le), even if it supports ACME v2 later. See #319

sorry I search for wildcards not wildcard reason why I did not find it. thanks!


Make widgets appear on top v2

Context
We changed the visualization order of widgets as requested in https://github.com/CartoDB/cartodb/issues/13244
More context here: https://github.com/CartoDB/support/issues/1262.
The problem is that we broke all the existing dashboards and there were multiple customer complaining about it -> https://github.com/CartoDB/support/issues/1262#issuecomment-356950503 so we had to rollback.
We need to address again the requirement of new widgets appearing on top but avoiding breaking existing dashboards. There were a conversation in the original PR to achieve it but the solution was discarded. Now it doesn't seem as bad idea as before. The main issue is doing multiple requests to update every widget id. Perhaps can be done in batch, avoiding all that overhead.

🚀

Great job @elenatorro 💪! Congrats! 👏👏👏


node NotReady after docker.service restart

vagrant up
kubectl get nodes
NAME           STATUS                     AGE
<IP_ADDRESS>   Ready,SchedulingDisabled   3m
<IP_ADDRESS>   Ready                      1m

core@node-01 ~ $ sudo systemctl restart docker.service (or reboot node-01 VM)
kubectl get nodes
NAME           STATUS                     AGE
<IP_ADDRESS>   Ready,SchedulingDisabled   4m
<IP_ADDRESS>   NotReady                   2m

And it never changes back to Ready status.

this is a great problem also for me. If i halt the vm  I have to recreate all the configurations each time and thus the image is unusable. All when wi fi goes down I have the same problem


Bump version to v0.9.5

Do not merge yet.

I think xorg/X11R7.6/rdp/rdp.h version can be replaced by a macro or something thats replaced by autotools

Yes but x11rdp will be separated from xrdp repository in near future. Now it can be replaced by xorgxrdp.

Time's up. I'll make a release tomorrow.


README.markdown: normalise code indentation in examples

Indentation was all over the place: spaces mixed with tabs and a lot of inconsistent indentation levels.

Thank you for this contribution! Following the Pull Request Hack, I am going to give you commit access to Dropcaster.


Popover usage page links to a11y page 404

At https://carbondesignsystem.com/components/popover/usage/ the links to the a11y testing page/sections don't work and give a 404.

This is because there is currently no A11y tab for the Popover accessibility cards to link to. I have created an issue to create the tab https://github.com/carbon-design-system/carbon-website/issues/4080


Change filter() to a list comprehension, 2to3 style

Coverage decreased (-7.31%) to 81.13% when pulling 52ca7e886488758f25491173498e22ae0a4529a2 on tml:master into 0e6e323c1f5952827382148662ec38bf0a076459 on hydralabs:master.

Thanks for the update!


Add support for Fragments in Head

This PR adds support for React Fragments (16.2.0) in <Head />.
Fixes #3399.

Thanks. Can we have a test case for this?

Currently canary targets<EMAIL_ADDRESS>- Fragments has been added in 16.2.0. How can I handle this?

@Sekhmet you've checked for React.Fragment in this PR changes.
For the devDevelopment, update React to the latest.


Respect system preference "Close windows when quitting app"

If the system preference "Close windows when quitting app" is enabled (in the General pane), SubEthaEdit should prompt on quit to save a dirty document, rather than persisting it between launches.

Well, the difference here currently is subtle. Due to a user request we do persist untitled documents no matter what since 5.2.2 - If you feel strongly against that we could add an additional option to the prefs to disable that behavior again. But It is quite handy for those temporary things we use it for, e.g. piping stuff in through the see tool or just command-n and paste for some temporary things we want to have around for a while.
BBEdit even has a special feature to give those things meaningful names to keep around for a while.

This is potentially a serious privacy/security concern since a user might temporarily type/paste sensitive information and then quit SubEthaEdit, without knowing that the sensitive data has been saved.
So it would be great if there was an option for the user to disable the autosave/persistence behavior and have SubEthaEdit respect the macOS system settings.


[BUG] ConnHiddenClientFactory - method CreateConProjFromIOM is failed

Hi,
In the newest version of API (<IP_ADDRESS>19), method CreateConProjFromIOM does not create ideacon file.
var calcFactory = new ConnHiddenClientFactory(fileInfo.DirectoryName);
 using (var client = calcFactory.Create())
	{
        client.CreateConProjFromIOM(tempFiles.OpenModelTempFile, tempFiles.OpenModelResultTempFile, newIdeaFileName);
	}

IdeaStatiCaConnHiddenCalculator.zip

Hi rewiteq,
Sorry for the slow response on this one. I believe there was a small issue when reading in plate data by svg string in the latest release, however, this should now be fixed in the next patch due in the next couple of weeks.
For your information, plate geometry can now be defined by Region2D (not the SVG string that is being provided).
https://github.com/idea-statica/ideastatica-public/blob/main/src/IdeaRS.OpenModel/Geometry/Geometry2D/Region2D.cs
Hopefully, this makes it a lot easier now to define plate geometry.
Cheers
Nathan


d4rl Test to Nova

Passing Job: https://github.com/pytorch/rl/actions/runs/5293000361/jobs/9580569149?pr=1293

cc @vmoens


gh actions: add release flow

Add github action to release when a new tag is created.
Signed-off-by: Francesco Romani<EMAIL_ADDRESS>

/lgtm