Dynamically generate JSON-LD context files based on used ontologies

Current usage of default JSON-LD context
Currently the default JSON-LD context (passed to LDP and ActivityPub services) is used to format (or more precisely "frame") the rough results returned by Jena Fuseki, whenever no JsonLdContext header is passed.
Developer convenience
Having propretly formatted JSON-LD is a convenience for developers, when they browse through a LDP container.
Instead of having full URI, they can see prefixes (this also applies to Turtle format).
Instead of having @id for every URI, there is something more readable.
If unformatted JSON-LD was returned, browser extensions like Header Editor, combined with the new JsonLdContext header, could however help developers see proper formatting.
Moleculer services
It is also useful to pass formatted data between other Moleculer services. Moleculer services can use the jsonContext parameter of the ldp.resource.get action if they want to get the results framed according to the context they want. But for Moleculer events (like ldp.resource.created), we are dependent on what the LDP service emitted.
If we used rough Fuseki results, there would be some consistency also. Or better yet: expanded results, so that we are not dependant on the formatting of a particular triple store.
More generally, in all Moleculer services, we should not treat data as JSON but as RDF, and find a library to properly process data, no matter the context used.
ActivityPub federation
That's the real problem: Most ActivityPub-compatible servers treat data as JSON and don't reformat it. They generally tolerate the addition of other contexts (this is considered as the proper way to create extensions), but if you pass rough JSON-LD data, they will most likely not reframe it.
This is a problem not only for activities sent between federated servers, but also potentially for resources ("objects" in ActivityPub vocabulary) that are retrieved from the LDP server. In the ActivityPub spec, it is indicated that "Implementers SHOULD include the ActivityPub context in their object definitions. Implementers MAY include additional context as appropriate.".
One solution could be to include the ActivityStreams context in the default JSON-LD context (especially when the ActivityPub service is activated) and to ignore other contexts. Or to provide a context which fits with core ontologies (like LDP), and ignore app-specific contexts.
Proposed solution

Allow to define core ontologies

For ActivityPods, this will not include app-specific ontologies like PAIR
Applications will be able to use the JsonLdContext header to get the format they need.

Add a jsonldContext field to the ontologies definition

Must be an URL, or can also be an object ?
Warning: some context like https://www.w3.org/ns/activitystreams.jsonld include multiple ontologies. It is up to the developer to ensure there is no conflict between them (maybe we could do a check on startup)

Build the default context from the provided ontologies (no more need to pass a jsonContext param to LdpService)
Split ontologies per file (put them in package ?)
Use a library like ldo to avoid being dependant of the context passed.
Preload core ontologies in the JsonLdService

Finally, allowing to register ontologies dynamically will be needed because, for ActivityPods 2.0, we want containers to be automatically created with the prefix of the ontology. So instead of having hard-coded core ontologies, we will create a new LdpOntologiesService that we will be available by any service to register ontologies. They will be persisted on the settings dataset. It will be possible to pass a list of ontologies to this service to register them on start. Here are the actions that will be available:

register(prefix, url, owl, jsonldContext, overwrite=false) Register a new ontology. On start, this action will be called for all core ontologies. If overwrite is false, the action will return an error if an ontology with this prefix/URL already exist, otherwise it will overwrite it.
findPrefix(url) Returns the prefix, based on prefix.cc API (see https://github.com/assemblee-virtuelle/activitypods/issues/128). If not found on prefix.cc, returns nothing.
list() Returns an array of registered ontologies (cached)
get(prefix) Return a single ontology based on the prefix, nothing if no ontology match (cached)
getRdfPrefixes() Returns the list of ontologies to be used in SPARQL queries (cached)
getJsonLdContext() Returns the JSON-LD context. Put together the jsonldContext of ontologies, if they are available, or otherwise just add the prefix of the ontology. (cached)

The jsonldContext on the register function can be an URL or an object/array. In the case of an object/array, they will be JSON-stringified on persistance. The register function should fail if the JSON-LD context is in conflict with existing contexts.
On ActivityPods, ontologies that are registered dynamically by external appliactions will use the prefix from prefix.cc and not pass any OWL file or JSON-LD context, as we can do without that.

Thanks for the remarks!
For a moment I was thinking if we could get around creating custom contexts.
And if it was a good idea to have each resource have some kind of ex:defaultJsonContext value which would be set from the @context field when a resource is created with a POST with content-type ld+json.
But this value would be unset for example if the resource was created with content type turtle and brings us back to the question of which context to use..

[...] every Pod should, in theory, have its own JSON-LD context, since it depends on the applications that were installed... But that's not how I went with the implementation so far (the ontologies are saved on the general settings dataset, not on the Pod). This will requires some thoughts 🤔

I see several options:

Save ontologies in the user's dataset instead of the settings dataset, and keep the urn:-type link.  They will only be accessible through SPARQL with a webId system, but that seems OK as it is something internal.
Store them on a specific resource linked to the Application Registration. So if the application unregisters, it will also remove the ontology. We could store only the prefix, as we don't want to bother now about JSON-LD contexts, but it could be extended for JSON-LD contexts later.
Store them in Redis. However until now we have avoided storing critical informations in Redis so maybe it's better to keep it like this.

In the last option, we should avoid persisting core ontologies, and use instead the array passed to the LdpOntologiesService. This could be a good idea for other options as well, so that we don't need to store (and maintain/migrate) triples that will be replicated in all datasets.

I think I'm mixing too many problems. Application-defined ontologies are really needed at the moment only for the LDP containers path generation, and we don't need to have something perfect because this is not standard and we don't know if we will keep this in the long run.
The choice of the prefix is really an internal implementation matter that has little impact on the functionning of the Pod. Other implementations could use LOV or custom prefixes databases (the general philosophy is that the containers path is not a problem, and we don't really care about it). However what we need is consistency, so that, if two applications use the same ontology, the same prefix will be used for their containers. That's why we need persistence, but it doesn't matter if this is all persisted in the same dataset (the settings dataset).
What we also want is clean contexts which explicitely include the ActivityStreams context. If we put all the properties directly on the context, it will add a big ugly header and increase the response size. So a solution could be to put all these custom context properties in an pod-provider-level context file (accessible via GET), like we do on other SemApps instances with the /context.json file, except it will be dynamically generated.

Save used prefixes on the settings dataset
Add an option to persist or not the ontologies (in which case the register action would be disabled).
Generate a custom context file on the fly with all non-URI contexts.
When we call getJsonLdContext, return the URI JSON-LD contexts (AS context...) and this custom context file.

I'm also in the process of splitting the ldp.ontologies service with a new jsonld.context service, so the result will be a bit different that the above proposal.


How ECON helps TeCH？

Hello. I'd like to inquire about how ECON's d-BINI provides assistance to Tech during the post-processing stage.

Good Question.

Hi, this post-processing steps simply refine the SMPL-X meshes to better aligned with the geometry stage result of TeCH, for later steps of replacing hands geometry with SMPL-X hands


U428/Water

Water

Functional tests passed, and can't find any issues with the feature. Looks good, except for some code standard errors

Fixed the stuffs


Add missing page for USER_SID built-in security function

There is a built-in function that shows up in SSMS Intellisense named USER_SID. This function operates very similarly to SUSER_SID, except that you pass in database_principal_id (SMALLINT) instead of login_name (sysname) like you do for SUSER_SID. I suppose it could be intentionally "undocumented", but I can't think of a reason why given its simple nature, and the existence of the companion SUSER_SID function. Assuming that there is no reason to leave this function undocumented, the new page should go under Transact-SQL (T-SQL) / Functions / Security.
TEST
SELECT [sid], USER_SID([principal_id]) AS [USER_SID], *
FROM sys.database_principals;

Thanks!

Hey @srutzky, let me check on this and get back to you on adding that page. Thanks!

@srutzky - Hey Solomon! Thanks for the suggestion. I'll add this to our work items, and hope to get it documented in the coming months. Since we're tracking this internally, I'll go ahead and close this request. If you have any concerns, please feel free to let me know. We appreciate your contributions to the documentation! Thanks!
User Story 1553900

Hi @VanMSFT . With this issue being closed out, how will I be notified if/when this issue is resolved?

@srutzky - Hey Solomon, I'll update this issue when the work is done. It's something we have planned, but there's no ETA I can provide. Thanks!

@VanMSFT Ok. Thanks.


perf(aws-lambda): reduction cold start

🔗 Linked issue
None

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR will reduce AWS Lambda runtime and improve cost savings and performance for customers.
By default, inlineDynamicImports is false in nitro. Therefore, if we define an API that uses any module under the server/api directory and run it, the module will be loaded at runtime and the first time execution will take a long time. In fact, I created and run an API that just scans DynamoDB using aws-sdk v3, it will take more than 3 seconds the first time. This exceeds the default timeout time of AWS Lambda, which causes the API Gateway response to be an Internal Server Error. To avoid this, set inlineDynamicImports to true in the aws-lambda preset. This change speeds up the API from taking 3 seconds to 300 milliseconds.

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Would you provide an example of some code that takes that additional time? Inlining dynamic imports will make the entrypoint larger, so this is paradoxical behaviour.

Thanks for the PR. Dynamic chunks loading in general (both browser and Node) has a natural overhead. But it is essential to make timings stable when bundle size does grow while if we inline dependencies, it increases size even when not used. So whenever possible with Nitro presets, we tend to use chunks.
As @danielroe mentioned, would be nice if you can provide a public reproduction of your project to test timing differences.

Thanks for sharing links and stats @WinterYukky ❤  Also linking this.
When assuming most of the chunks of the server bundle will be used during every invocation, inlining them makes perfect sense and reduces latency. However, when the number of server handlers (and individual libraries and other assets they use) grows, I believe this adds to the cold-start time.
I'm positive this would be a nice idea to enable inlining by default but please let me run some more tests and check alternatives if we can keep using chunks but warmup opon code-initialization for entry critical chunks.

@pi0 We could add this asnitro.options.aws so user can decide for themselves.

I have added docs for aws deployment for now to note about inlineDynamicImports option linking to this PR (https://github.com/unjs/nitro/commit/ff38dc02fcd0ea1cfdd2c693edfbe2e6fc78d0a4).


chore: add .vscode to gitignore

Which problem is this PR solving?
VsCode adds a .vscode folder for launch configs which should be not committed.
Short description of the changes
add .vscode folder to .gitignore.

Codecov Report

Merging #528 into master will increase coverage by 0.2%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master    #528     +/-   ##
========================================
+ Coverage   90.19%   90.4%   +0.2%
========================================
  Files         143     144      +1
  Lines        7108    7198     +90
  Branches      640     637      -3
========================================
+ Hits         6411    6507     +96
+ Misses        697     691      -6

Impacted Files
Coverage Δ

...kages/opentelemetry-metrics/test/mocks/Exporter.ts
66.66% <0%> (-33.34%)
:arrow_down:

packages/opentelemetry-metrics/src/LabelSet.ts
83.33% <0%> (-16.67%)
:arrow_down:

packages/opentelemetry-metrics/src/Metric.ts
88.23% <0%> (-0.86%)
:arrow_down:

...opentelemetry-base/test/resources/resource.test.ts
100% <0%> (ø)
:arrow_up:

packages/opentelemetry-tracing/src/config.ts
100% <0%> (ø)
:arrow_up:

packages/opentelemetry-tracing/src/utility.ts
100% <0%> (ø)
:arrow_up:

...telemetry-plugin-grpc/test/utils/assertionUtils.ts
100% <0%> (ø)
:arrow_up:

packages/opentelemetry-tracing/test/Span.test.ts
100% <0%> (ø)
:arrow_up:

...ry-tracing/test/export/SimpleSpanProcessor.test.ts
100% <0%> (ø)
:arrow_up:

packages/opentelemetry-metrics/test/Meter.test.ts
100% <0%> (ø)
:arrow_up:

... and 19 more


Windows config produced no results

Installed on my Windows machine.
Moved to C:\tools
Added C:\tools to %PATH%
Ran rack configure - Entered stuff
ran rack servers instance list

got
PROPERTYVALUE
error Error creating ProviderClient: You must supply a Username in your AuthOptions.
Checked: C:\tools.rack directory DOES NOT exist.

Windows 8.1

@DonSchenck The .rack directory should have been created in your user directory, e.g. C:\Users\DonSXXX.rack.  Can you check there?

Yes; that's where it was created.

I think you are running into the same issue as me #111. Want to check that out?

No; the issue was that it was creating the config in the C:\Users\Don.rack folder, and wasn't searching there when running rack foo

Doh! I was hoping that they were related. Carry on! :smile:

Whatever was changed ... this issue is NO LONGER AN ISSUE.
Working fine now.

:+1: closing


Notification duration

Laravel Mix Version: 1.4.2
Node Version (node -v): v8.4.0
NPM Version (npm -v): 5.3.0
OS: Ubuntu 17.04

Description:
It'd be very nice if you could specify the duration of the build notifications. I save my code very often, and so, build notifications overlap a lot, which isn't optimal. I could see if I can write up a PR.
Steps To Reproduce:
N/A

Can't control that right now, but you can always disable them entirely if you want. mix.disableNotifications().

I agree with @FrozenDroid, we need more granular control over notification duration.  I tried defaults write com.apple.notificationcenterui bannerTime 1 on macOS High Sierra and that had no effect, sadly.


Cow: Watch digitalorbiscreators.org

Cow requests the watch of the watch_keyword digitalorbiscreators\.org. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

digitalorbiscreators\.org has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


ModuleNotFoundError: No module named 'Crypto'

I have installed Crypto using pip, but it still shows this error

from Crypto.PublicKey import RSA
ModuleNotFoundError: No module named 'Crypto'

This question was also raised in #1137.
You need to install pycryptodome version 3.4.3:
$ pip install pycryptodome==3.4.3

You also need to uninstall pycrypto to avoid the name collision - both pycrypto and pycryptodome have a Crypto module.

okay will check this

I have installed pycryptodomex and checked that crypto and pycrypto is uninstalled.
Still get "ModuleNotFoundError: No module named 'Crypto'"
I have Python version 3.9.2.

I have installed pycryptodomex and checked that crypto and pycrypto is uninstalled. Still get "ModuleNotFoundError: No module named 'Crypto'" I have Python version 3.9.2.

Hi! I've found an explanation for this problem, it's all into the naming: "pycryptodome" and "pycryptodomex" (note the final "x") are using different names: one use Crypto and the other use Cryptodome...
Basically you have to use "from Crypto import ..." if you use pycryptodome or use "from Crypodome import ..." if you use pycryptodomex
Major information in this question I've found on Stackoverflow that explain the difference: https://stackoverflow.com/questions/48155294/what-is-pycryptodomex-and-how-does-it-differ-from-pycryptodome


Runtime crash when a .NET Standard 2.0 library using Utf8StringWriter is used in a .NET Standard 2.1 project

I am creating a .NET Standard 2.0 library that's using Utf8StringWriter<ArrayBufferWriter<byte>>. That library is supposed to be consumed by other projects with possibly newer .NET versions. The problem here is that for .NET Standard 2.0 builds of Utf8StringWriter, a shimmed version of ArrayBufferWriter is used, because that class was only introduced in .NET Standard 2.1:
https://github.com/Cysharp/Utf8StringInterpolation/blob/main/src/Utf8StringInterpolation/ArrayBufferWriter.cs
What happens is when the library is consumed by project that uses .NET 6.0 for example, and that project also has Utf8StringInterpolation added as a package, the compiled project as a whole will use the version of Utf8StringInterpolation that doesn't include the copy of ArrayBufferWriter that's inside the Utf8StringInterpolation assembly. The result is crash in runtime:

Unhandled exception. System.TypeLoadException: Could not load type 'System.Buffers.ArrayBufferWriter`1' from assembly 'Utf8StringInterpolation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=df4c250b14d82627'.

In general, it's bad practice to pollute the the BCL namespaces with public types... A simple solution to this problem would be to simply change the namespace of the copy of the ArrayBufferWriter class and removing the conditional compilation, so it's available under all .NET versions as a fallback. Otherwise this breaks binary compatibility.

Oh, Polyfill should be internal.
I didn't check it carefully when I merged the PR.
I'll fix it right now.

Hmm, but I don't want to provide my own ArrayBufferWriter...
To be honest, I think the best thing to do is to remove the netstandard 2.0 support again.


[Sticky] Stale cache for context.bottom

            else if( (element.height + scroll.top - elementScroll) >= context.bottom ) {
              module.debug('Fixed element reached bottom of container');
              module.bindBottom();
            }

Regarding this piece of code in sticky. If an element is being stuck to the top of the page it all behaves nicely until the height of the context is changed (an accordion opened, perhaps). This causes the context.bottom to be stale and the condition to be reached prematurely. The result is that the element suddenly jumps to the bottom.
As a quick workaround, I implemented something like that:
	onScroll: _.debounce(function() {
		$context = $('main.container');
		$(this).data('moduleSticky').cache.context.bottom = $context.offset().top + $context.outerHeight();
	}, 100),

.. do you see any alternatives?

You can either set observeChanges: true or use .sticky('refresh')

http://jsfiddle.net/gz4746Lq/4/
I created a fiddle to demonstrate the issue further. The .sticky('refresh') of course works (not in my case, but this is not the issue here) but it really is not feasible in complex layouts to send the refresh calls on every possible event that may potentially affect the height of the content..
observeChanges does not work (DOM tree is unchanged)
Would you agree that re-calculating the height of the context only is perhaps not too intensive to call on each scroll?

No i would disagree. Sticky is heavily optimized to avoid touching the DOM during scroll. It avoids querying for anything but scroll position. Scroll position is also dispatched using a pub/sub pattern to avoid multiple elements querying for the same value. I've spent a lot of time in chrome inspector getting the scroll event down to as tiny as possible.
Until there's a web API that dispatches events on element reflow, there's no way to know what event would trigger a change in content size. It could include things like an image without specified dimensions loading, a css class change, or a host of other things.

Thanks for taking your time to explain this. Your points are certainly valid.
I would suggest that a note should be added to the docs..


Request inclusion for GitHub Discussions.

Request inclusion for GitHub Discussions.

see request here

Request granted in #549.


feat/ethers-solc: write outputs (asm, ir...) to file, if selected

Motivation
Ref PR https://github.com/gakonst/foundry/pull/644
Ref Issue https://github.com/gakonst/foundry/issues/611

Solution
They should be written to file, only if selected on settings. But it still doesn't feel good to be here... Suggestions?

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

one thing we'd need to decide is whether we want to bundle this in a single artifact file or separate files like it's done here.

I think it has to be a mix. Certain artifacts , ir, evm.assembly or even abi are basically used as standalone files. It doesn't make sense imo to put them all in one json file.

imo it is cleaner to have them separate, but this way they'll always be written if the value is present which might not be expected.
correct me if i'm wrong, but they'll only be present if added to the compiler settings no?

one thing we'd need to decide is whether we want to bundle this in a single artifact file or separate files like it's done here.

I think it has to be a mix. Certain artifacts , ir, evm.assembly or even abi are basically used as standalone files. It doesn't make sense imo to put them all in one json file.

imo it is cleaner to have them separate, but this way they'll always be written if the value is present which might not be expected.

Agree

correct me if i'm wrong, but they'll only be present if added to the compiler settings no?

makes sense, +1 on merging this, there's no harm in emitting those files anyway.

Merging, and we can re-consider as we iterate on this idea.


Lodestar validator-exit fails

See https://github.com/ChainSafe/lodestar/issues/4472

Scheduled for next release

Supported with 1.1.0


ci/github: Shift azp trigger to after publishing success

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

pushing past resolved winfail


Class land area chart

Closes #99. Closes #100
Compare Page:

Share Page:

cc @vgeorge

@vgeorge can you review this with an eye for both code quality and UX?

Thanks for the comments and review @vgeorge. I merged in your PR and added a tooltip.


Addition Of Placeholder in Sponsors

Actual Behaviour
Doesn't Exist now.
Expected Behaviour
Should have a placeholder.
Would you like to work on the issue?
Yes
Target Milestone to solve the issue
https://github.com/fossasia/open-event-android/milestone/31

@iamareebjamal @arp95  As of now if I add a placeholder the placeholder gets resized to the size of the actual image and cross fades between the 2 images. If I remove the fade effect it doesn't look great.
The placeholder resizing problem is a problem in the library supposedly. So what do you suggest I do?

you can provide the placeholder as the dimensions of the image view i guess. then if internet is present then the image would get loaded. use the resizing property of picasso so that we are taking into account of the sponsor which gets loaded.

So you are saying I set the imageView background as the placeholder instead?

yes, so that when image loads it comes on top of the placeholder.

@shreyasnbhat @arp95 I think that we are focusing too much on the minute details right now.
There is really no need of starting a discussion on how a placeholder should appear on top of an imageView.
Just focus on getting it done and send a pull request with a gif, you'll get the suggestions over there.
If we continue to have such discussion about each and every topic then the pace of the project will be drastically reduced.
We also have to work on the app generator, which I can't see anyone really working on.
Do you realize that the open-event-android project is a combination of client + generator?
At the end of GSoC, you need to have a working client and generator along with APIs which allow anyone to build the app from command line.
I'm not sure if you'll be able to achieve this with the current state of redundant discussions.

yes @the-dagger you are right.
but right now i am working on the models of the app and getting them according to the new api.
can we divide the work @shreyasnbhat @Shailesh351 as @iamareebjamal is busy with the orga app?

@arp95 sure you are free to divide work among yourselves.
Just discuss this on the gitter channel and make sure that everyone is on the same page.

@arp95 Sure!


docs: Add mandatory sections to README.md

Description
Changes proposed in this pull request:

Added mandatory sections to README.md

Related issue(s)
https://github.com/kyma-project/community/issues/926

 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.


Knuth-Morris-Pratt (KMP) Algorithm

The Knuth-Morris-Pratt (KMP) Algorithm is an efficient string-matching algorithm used to find occurrences of a "pattern" string within a "text" string. It improves upon the brute-force approach by avoiding unnecessary comparisons through preprocessing the pattern.
Assign me this issue.

The Knuth-Morris-Pratt (KMP) Algorithm is an efficient string-matching algorithm used to find occurrences of a "pattern" string within a "text" string. It improves upon the brute-force approach by avoiding unnecessary comparisons through preprocessing the pattern.
Assign me this issue.

@pankaj-bind it's already assigned to you. Please go ahead!

The KMP algorithm avoids redundant comparisons by preprocessing the pattern to determine where to continue searching from when a mismatch occurs. This preprocessing involves computing a prefix function (also known as the failure function), which indicates the longest proper prefix of the pattern that is also a suffix up to a given point.
Please assign me the issue

Please assign this task to me


Usage tracking / billing

This is implemented in develop, but doesn't seem to have all the right data. It needs CI tests to ensure no regressions as well.


Sync from MSAL wiki page, add prompt Create info

Needs to be merged after MSAL 4.29 releases.

Adds an item about Prompt.Create.
Adds additional info from MSAL wiki.
Nit fixes.

cc: @jmprieur

@pmaytak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Letting @mmacy decide for the capitalization of Mac and .NET (for doc overall consistency)

@pmaytak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jmprieur Did you want @mmacy to review the pull request or is it approved for merge?

@ktoliver : yes please
but also it shouldn't be merged before MSAL.NET releases (normally tomorrow)

MSAL.NET 4.29.0 released yesterday
#sign-off
cc: @mmacy


Can't install

Help plz! My python version is 3.6.7 in anaconda , os is win10. I install the lib follow your readme.md, just print  one line info,like below

no error info.But after this, I can't import share_numpy, and i can't find the library in conda env.What should i do?

Does it not support windows?


Expand DeveloperDocs.md to explain how to update the repo without affecting the database

Can we add instructions to DeveloperDocs.md to explain how to manage the backend/frontend when updating the repo?  Specifically how to update the repo without impacting the data in the database.

Should also add a note in the dev docs about what to do if you do want to start fresh and reset your database.


fix for 'allow binary opens'

The previous commit's intent was to enable 'binary' mode. This commit fixes it, preventing 'append' and 'update' modes.

lgtm

would prefer tests but not blocking

I'll see what I can do re:tests, sorry.

Yea. Tests would be very nice. :)
Bonus points if you also put the problem description in the commit message (not necessary)

Are you still iterating on this @bmaggard ? Can the commits be squashed?

Sorry for the delay.  I will get the commits squashed.

Squashed back into PR #1452.  Please let me know if that was wrong.

There are merge conflicts so I cannot merge. Make sure to have rebased your change on the latest HEAD.

next time please squash the small commits :)

Sorry about that; I was planning to, but I was still scratching my head on the Jarvis failure and kept getting distracted.  It didn't seem to be related to anything I did, but I wasn't sure.
I plan to level-up on my git skills soon.


Incremental progress reporting

e2e tests are slower, so I'd like to see test cases (or at least their failures) being reported as they run.

The last one. However, it would probably be it('should work', ({page, step}) => {...})

Has any thought been given to an automatic log of commands performed by Playwright? I implemented this in a project. It's modeled after Cypress's in-browser command log. The dots are yellow while pending and then green on success or red on failure.
https://share.getcloudapp.com/OAubBAbv
My current implementation is a bit hacky (see https://github.com/microsoft/playwright/issues/1654), but I'm curious what you think of this general idea.

@celeryclub Yep, we are thinking about this. The new Logger api in Playwright should be able to provide such a log, and test runner will be able to consume it.


ethportal-api: Add bytes() to OverlayContentKey

What was wrong?
As noted in #518, there was no explicit way to access the bytes of an OverlayContentKey.
How was it fixed?
pub trait OverlayContentKey:
    Into<Vec<u8>> + TryFrom<Vec<u8>> + Clone + fmt::Debug + fmt::Display
{
    /* snip */
    /// Returns the bytes of the content key.
    fn bytes(&self) -> [u8; 33]; // <-- New
}

With implementation:
fn bytes(&self) -> [u8; 33] {
    let mut bytes = [0u8; 33];
    let (selector, hash) = match self {
        HistoryContentKey::BlockHeader(k) => (0x00, k.block_hash),
        HistoryContentKey::BlockBody(k) => (0x01, k.block_hash),
        HistoryContentKey::BlockReceipts(k) => (0x02, k.block_hash),
        HistoryContentKey::EpochAccumulator(k) => (0x03, k.epoch_hash.0),
    };
    for (i, byte) in hash.into_iter().enumerate() {
        bytes[i] = byte
    }
    bytes.rotate_right(1);
    bytes[0] = selector;
    bytes
}

Added bytes() method
Updated ethportal-api tests to test/demonstrate use

Usage
Before:
let key_bytes: Vec<u8> = key.clone().into();
do_thing(key_bytes);

After:
do_thing(key.bytes());

To-Do

[x] Add entry to the release notes (may forgo for trivial changes)
[x] Clean up commit history

Note that this bytes() function can be used inside the serialize() function to deduplicate the handling of selectors and different hash types.

See usage in glados here: https://github.com/pipermerriam/glados/pull/48


Any chance to support image v0.25?

image is updated to v0.25. Currently this repo can only use v0.24.*. Any chance we can bump that dependency?

0% chance

Version 2.0.0 with image-rs 0.25.0 is already released on crates.io


Style lint expects carbon token use for use transform

Description
In my code I am using the following code:

This is throwing a linting error to use carbon tokens for transform. If the transform is 0 it should not throw the carbon use token error.

I did had an error but changed it to this, but still gives me the stylelint error.

This test passes in V2.
{
  code: `.foo { transform: translateY(calc(-1 * #{$spacing-05})); }`,
  description: `Accept translateY using  calc(-1 * #{$})`
}


Use Algolia DocSearch

On December 1, 2016, @xephon2 wrote:

There is a free service called docsearch from a company called Algolia. You can use the service to get a small search box for searching the docs. Similar to what the DITA-OT docs does with DuckDuckGo, but more beautiful, because you don't have to leave the site.

You can see an example on https://facebook.github.io/react/.

Requested access code, waiting for response…


Added Account.group

Available since Mastodon 3.2.0, added in the code relative to other properties in the same location as listed in the API doc:
https://docs.joinmastodon.org/entities/Account/#group


feat: inlayhint for config key type

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y  enhance for https://github.com/orgs/kcl-lang/discussions/1657

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

43 of 47 (91.49%)  changed or added relevant lines in 2 files are covered.
13 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.004%) to 70.589%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/sema/src/ty/mod.rs
14
15
93.33%

kclvm/sema/src/advanced_resolver/node.rs
29
32
90.63%

Files with Coverage Reduction
New Missed Lines
%

kclvm/tools/src/LSP/src/tests.rs
1
98.61%

kclvm/tools/src/LSP/src/state.rs
12
82.73%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.004%

Covered Lines:
51305

Relevant Lines:
72681

💛  - Coveralls


[CodeCompletion] Explain why results aren't recommended

Also provide source file information for each completion result.
At this point, there's no consumer of these information.

@swift-ci Please test

@swift-ci Please smoke test


Go1.19.1 Upgrade

Signed-off-by: leecalcote<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@leecalcote  I think we can close this and cover everything in https://github.com/meshery/meshery-linkerd/pull/406


Etcd in map

Can't merge this one as-is, it will bork softlayer. Need startup.sh to look something more like:
  LOGSTASH_ENDPOINT=$(etcdctl get /logstash/endpoint)
  if [ "$LOGSTASH_ENDPOINT" != "" ]; then # SL
    /opt/ibm/wlp/bin/server start defaultServer
    echo Starting the logstash forwarder...
    sed -i s/PLACEHOLDER_LOGHOST/$(etcdctl get /logstash/endpoint)/g /opt/forwarder.conf
    cd /opt
    chmod +x ./forwarder
    etcdctl get /logstash/cert > logstash-forwarder.crt
    etcdctl get /logstash/key > logstash-forwarder.key
    sleep 0.5
    ./forwarder --config ./forwarder.conf
  else   # ICS
    /opt/ibm/wlp/bin/server run defaultServer
  fi


Add CLion RC v141.352.13

Note, that it is a release candidate build, not an EAP version, so I created a new cask for it.
Also, I'm interested in the necessity to make a cask for almost the same DMG file but with bundled custom JDK, which is needed because of the OS X 10.10+ problem with Java 6+. This CLion-141.352.13-custom-jdk-bundled.dmg comprises the application itself with a JDK 8 bundle. So it is the same app but with some additions for the users of the latest OS X.

#142 could be the solution to this.

Toooo much text to read! :cry: Could you please concisely tell me what I can do?

Read just the first post. The idea would be to be able to use install flags (much like homebrew does) for alternative versions.

And does this already work? So I need to include in this cask a mentioning about another version of the software?

It doesn’t work, no, no one has ever gotten around to implementing it. For now, we’re stuck submitting multiple casks.

Ok so. Could you please then hint me at how I can name the new cask and rename the application (because inside the standard and bundled dmg files, the applications have similar names so they couldn't be placed into the one /Application directory simultaneously).

We have no standard solution for that. See https://github.com/caskroom/homebrew-cask/issues/8841 for a similar issue.


Question about VNET

Is pot able to create a jail/container with a completely separate network stack?
with its own IP, MAC etc…
Iocage and Bastille do this, but reading through the pot docs I can only see it doing an IP alias on the host network but sharing the MAC.
The way I can currently see it, there is an alias that shares the host MAC, inherit which shares everything with the host, then the bridges, which essentially act like NAT. There doesn't seem to be any way to have a jail be part of my local network, and have it's own network stack, including different MAC and IP.
@pizzamig

Also, what is the idea behind the bridge network types? Is that docker style with NAT or should I enter my actual gateway and LAN cidr in the config file?

Bump


Shell/CMD line access?

This would be a great tool to help with automation, would it be possible to add cmd line tools much like you can call mcrcon in cmd with
mcrcon.exe -c -H address -P port -p password "Command"
This would be super useful! Thanks in advance

I can look at making a separate tool for command line usage, everything needed is already there, just gotta strip out the UI

It's no big deal if it's a pain, I just am not familiar with .net / go and would be good to integrate to discord bots, similar to how mcrcon works. I was trying my best with that, but it doesn't seem to get return values from ShowPlayers, in fact, no .js modules do right now.

Most off the shelf rcon have a bit of a fit with the Palworld server since it doesn't properly implement the rcon protocol.
Mainly most of them expect the ID of a packet to be echoed back, which is how the protocol is defined, but Palworld doesn't do that, which makes things a bit annoying lol
As for a command line tool, I can probably get one out pretty soon, things get alot easier when you aren't dealing with UI lol


More information on how to show breakpoints.

Relating to issue #94.

Thanks for the PR!
There is a bit more to it, 2 ways of using this:
1. Standard
$mq-breakpoints: (
    xsmall:  600px,
    small:   768px,
    medium:  992px,
    large:   1024px,
    xlarge:  1200px
);

$mq-show-breakpoints: (xsmall, small, medium, large, xlarge);

@import 'mq';

2. Advanced
// Set up some initial breakpoints
$mq-breakpoints: (
    xsmall:  600px,
    small:   768px
);
@import 'mq';

// Add additional breakpoints on the fly
@include mq-add-breakpoint(medium, 992px);
@include mq-add-breakpoint(large, 1024px);
@include mq-add-breakpoint(xlarge, 1200px);

// Declare which breakpoints should be shown
$mq-show-breakpoints: (xsmall, small, medium, large, xlarge);

// Show breakpoints
@include mq-show-breakpoints;

I recommend using Solution 1 over Solution 2 as it covers 90% of use cases.
Quick question: do you absolutely have to use the advanced solution in your case?

My original implementation of the breakpoints on the issue was because I was getting some error when I first setup my custom breakpoints (it seemed that MQ simply wasn't picking up my custom breakpoints) so I thought maybe you had to use the mq-add-breakpoint() function to get it to work.
However, I think the problem was with an incorrectly setup project.
I have since started using the "standard" method as it's much more pretty.

Let's close this, I'll think about adding more documentation if it comes up again.


Need help configuring emails

It is unclear to me how I should configure the emails and create the emails that I need.
I've seen the documentation and the 'Guide' but it is very short and I need more help.
What I need to know is how i create my own razor syntax email and how I attach this to a email in the shop. I would  like a step by step guide.
This is holding me back from going into production with the webshop and I need this resolved.
So help would be appreciated.

The folder macroscripts/uwebshopbackend contains an example (maybe from the demostore, not sure)
It’s important to have the word ‘email’ in the filename. Then it will be listed in the email template combobox. No need to register the file, just select it in the emailconfig part.
[dutchbreeze logo]
dutchbreeze b.v.
Adres
:
Demmersweg 92
7556 BN Hengelo
Telefoon
:
053 - 8200 830
Internet
:
www.dutchbreeze.nlhttp://www.dutchbreeze.nl
From: Jeroen<EMAIL_ADDRESS>Sent: maandag 2 november 2015 14:24
To: uWebshop/uWebshop-Releases<EMAIL_ADDRESS>Subject: [uWebshop-Releases] Need help configuring emails (#72)
It is unclear to me how I should configure the emails and create the emails that I need.
I've seen the documentation and the 'Guide'http://docs.uwebshop.com/general/guides/member-email-parameters/ but it is very short and I need more help.
What I need to know is how i create my own razor syntax email and how I attach this to a email in the shop. I would like a step by step guide.
This is holding me back from going into production with the webshop and I need this resolved.
So help would be appreciated.
—
Reply to this email directly or view it on GitHubhttps://github.com/uWebshop/uWebshop-Releases/issues/72.

Hmm i thought that issue xxx was fixed but today I have the same problem again. I'm getting null back from StoreAPI.GetEmailTemplates.
		public IEnumerable<string> GetEmailTemplates()
		{
			var files = Directory.GetFiles(IOHelper.MapPath(SystemDirectories.Xslt), "*.xslt", SearchOption.AllDirectories).Select(file => file.Replace(IOHelper.MapPath(SystemDirectories.Xslt) + @"\", string.Empty)).ToList();

			files.AddRange(Directory.GetFiles(IOHelper.MapPath(SystemDirectories.MacroScripts), "*.cshtml", SearchOption.AllDirectories).Select(file => file.Replace(IOHelper.MapPath(SystemDirectories.MacroScripts) + @"\", string.Empty)));

			if (IO.Container.Resolve<ICMSApplication>().IsBackendUserAuthenticated)
			{
				return files.Where(x => x.ToLowerInvariant().Contains("email") || x.ToLowerInvariant().Contains("mail"));
			}

			return null;
		}

This piece of code returns null. So either it cannot find any files with the word email or mail or it says that i;m not authorized.
The MacroScripts folder has the uWebshopBackend subfolder folder in it.
├───MacroScripts
│   └───uWebshopBackend

It also has .cshtml files in the uWebshopBackend folder with these files:
    Directory: D:\(....)\MacroScripts\uWebshopBackend
Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        14-Oct-15   9:41 AM           3688 uWebshopUmbracoEmailDetails.cshtml
-a----        14-Oct-15   9:41 AM           4823 uWebshopUmbracoOrderDetails.cshtml
-a----        14-Oct-15   9:41 AM           3020 uWebshopUmbracoOrderOverview.cshtml
-a----        14-Oct-15   9:41 AM           1389 uWebshopUmbracoProductOverview.cshtml

I've tried throwing away my cookies, clearing the cache, clean and rebuild of project, adding a TestEmailmail.cshtml to the MacroScripts backend. This all keeps returning null. I am logged in an have all the permissions (administrator).
I had these default .cshtml and .xls templates in the dropdown just before the weekend, now after I started running the application just like before from Visual Studio 2013 it fails to load these files.
How can I debug this?

If you see null in backend email combo possibly lecagy control mapping is the failure. Check your log first if this is actually the code that returns null.
[dutchbreeze logo]
dutchbreeze b.v.
Adres
:
M.H. Tromplaan 23x-apple-data-detectors://0
7513 AB Enschedex-apple-data-detectors://0
Telefoon
:
053 - 8200 830tel:053 - 8200 830
Fax
:
053 - 8200 864tel:053 - 8200 864
Internet
:
www.dutchbreeze.nlhttp://www.dutchbreeze.nl/
Op 2 nov. 2015 om 20:48 heeft Jeroen <notifications<EMAIL_ADDRESS>het volgende geschreven:
Hmm i thought that issue xxx was fixed but today I have the same problem again. I'm getting null back from StoreAPI.GetEmailTemplates.
    public IEnumerable<string> GetEmailTemplates()
    {
        var files = Directory.GetFiles(IOHelper.MapPath(SystemDirectories.Xslt), "*.xslt", SearchOption.AllDirectories).Select(file => file.Replace(IOHelper.MapPath(SystemDirectories.Xslt) + @"\", string.Empty)).ToList();

        files.AddRange(Directory.GetFiles(IOHelper.MapPath(SystemDirectories.MacroScripts), "*.cshtml", SearchOption.AllDirectories).Select(file => file.Replace(IOHelper.MapPath(SystemDirectories.MacroScripts) + @"\", string.Empty)));

        if (IO.Container.Resolve<ICMSApplication>().IsBackendUserAuthenticated)
        {
            return files.Where(x => x.ToLowerInvariant().Contains("email") || x.ToLowerInvariant().Contains("mail"));
        }

        return null;
    }

This piece of code returns null. So either it cannot find any files with the word email or mail or it says that i;m not authorized.
The MacroScripts folder has the uWebshopBackend subfolder folder in it.
????MacroScripts
?   ????uWebshopBackend
It also has .cshtml files in the uWebshopBackend folder with these files:
Directory: D:\(....)\MacroScripts\uWebshopBackend

Mode                LastWriteTime         Length Name

-a----        14-Oct-15   9:41 AM           3688 uWebshopUmbracoEmailDetails.cshtml
-a----        14-Oct-15   9:41 AM           4823 uWebshopUmbracoOrderDetails.cshtml
-a----        14-Oct-15   9:41 AM           3020 uWebshopUmbracoOrderOverview.cshtml
-a----        14-Oct-15   9:41 AM           1389 uWebshopUmbracoProductOverview.cshtml
I've tried throwing away my cookies, clearing the cache, clean and rebuild of project, adding a TestEmailmail.cshtml to the MacroScripts backend. This all keeps returning null. I am logged in an have all the permissions (administrator).
I had these default .cshtml and .xls templates in the dropdown just before the weekend, now after I started running the application just like before from Visual Studio 2013 it fails to load these files.
How can I debug this?

Reply to this email directly or view it on GitHubhttps://github.com/uWebshop/uWebshop-Releases/issues/72#issuecomment-153137583.

Thank you for you answer.
I've checked the log (umbracoTraceLog) and the only warning that i could find is:
2015-11-02 20:53:36,246 [P16028/D2/T1] WARN  Umbraco.Core.Sync.DatabaseServerMessenger - No last synced Id found, this generally means this is a new server/install. The server will rebuild its caches and indexes and then adjust it's last synced id to the latest found in the database and will start maintaining cache updates based on that id

And I have one entry of this:
2015-11-02 20:42:26,438 [P13820/D2/T9] ERROR Umbraco.Web.WebApi.Filters.AngularAntiForgeryHelper - Could not validate XSRF token
System.Web.Mvc.HttpAntiForgeryException (0x80004005): The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the <machineKey> configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.
   at System.Web.Helpers.AntiXsrf.AntiForgeryTokenSerializer.Deserialize(String serializedToken)
   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.DeserializeToken(String serializedToken)
   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken)
   at System.Web.Helpers.AntiForgery.Validate(String cookieToken, String formToken)
   at Umbraco.Web.WebApi.Filters.AngularAntiForgeryHelper.ValidateTokens(String cookieToken, String headerToken)

I don't see other errors about 'lecagy control mapping' or an exception from the getEmailTemplate action..

Ok, forget the legacy issue. Just my best wild guess.
It seems that it's not a really fresh install or that it's crossdomain header authentication fails. Are you running a balanced or multiple domain setup? Are the calls and api's within the same domain (no misconfigured balanced environment)? If not, make sure you did a clean install, not just overwrite some of the files.
[dutchbreeze logo]
dutchbreeze b.v.
Adres
:
M.H. Tromplaan 23x-apple-data-detectors://0
7513 AB Enschedex-apple-data-detectors://0
Telefoon
:
053 - 8200 830tel:053 - 8200 830
Fax
:
053 - 8200 864tel:053 - 8200 864
Internet
:
www.dutchbreeze.nlhttp://www.dutchbreeze.nl/
Op 2 nov. 2015 om 21:09 heeft Jeroen <notifications<EMAIL_ADDRESS>het volgende geschreven:
Thank you for you answer.
I've checked the log (umbracoTraceLog) and the only warning that i could find is:
2015-11-02 20:53:36,246 [P16028/D2/T1] WARN  Umbraco.Core.Sync.DatabaseServerMessenger - No last synced Id found, this generally means this is a new server/install. The server will rebuild its caches and indexes and then adjust it's last synced id to the latest found in the database and will start maintaining cache updates based on that id
And I have one entry of this:
2015-11-02 20:42:26,438 [P13820/D2/T9] ERROR Umbraco.Web.WebApi.Filters.AngularAntiForgeryHelper - Could not validate XSRF token
System.Web.Mvc.HttpAntiForgeryException (0x80004005): The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NEThttp://asp.net Web Pages and that the  configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.
at System.Web.Helpers.AntiXsrf.AntiForgeryTokenSerializer.Deserialize(String serializedToken)
at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.DeserializeToken(String serializedToken)
at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext, String cookieToken, String formToken)
at System.Web.Helpers.AntiForgery.Validate(String cookieToken, String formToken)
at Umbraco.Web.WebApi.Filters.AngularAntiForgeryHelper.ValidateTokens(String cookieToken, String headerToken)
I don't see other errors about 'lecagy control mapping' or an exception from the getEmailTemplate action..

Reply to this email directly or view it on GitHubhttps://github.com/uWebshop/uWebshop-Releases/issues/72#issuecomment-153142696.

I did not reinstall anything since i've used it for the last time.
Your suggestion is to do a clean install? I've had this issue before when I deployed a clean install to Azure and the same symptoms where popping up.
I've set up a lot of stuff on the store already and it'd be a waste to do it all over and have the same issue again..

So it does work locally? Did you check that all dll's are present serverside and same versioned? Maybe due to updates that didnt get deployed?
[dutchbreeze logo]
dutchbreeze b.v.
Adres
:
M.H. Tromplaan 23x-apple-data-detectors://0
7513 AB Enschedex-apple-data-detectors://0
Telefoon
:
053 - 8200 830tel:053 - 8200 830
Fax
:
053 - 8200 864tel:053 - 8200 864
Internet
:
www.dutchbreeze.nlhttp://www.dutchbreeze.nl/
Op 2 nov. 2015 om 21:31 heeft Jeroen <notifications<EMAIL_ADDRESS>het volgende geschreven:
I did not reinstall anything since i've used it for the last time.
Your suggestion is to do a clean install? I've had this issue before when I deployed a clean install to Azure and the same symptoms where popping up.
I've set up a lot of stuff on the store already and it'd be a waste to do it all over and have the same issue again..

Reply to this email directly or view it on GitHubhttps://github.com/uWebshop/uWebshop-Releases/issues/72#issuecomment-153147885.

I'm sorry for the confusion.
Im running locally in visual studio 2013 debugging. Ive seen this problem before when i deployed an umbraco installation from the azure app gallery.
Last friday it worked in my dev environment but i saw some templates disappearing last friday it was weird to me at the time but I stopped looking into it due to lack of time. Today it started to show null in the dropdown menu..

I think something is wrong with the database. I'm also not able to store my user information when I try to update my profile:
I get this exception:
 2015-11-03 16:46:53,809 [P10676/D2/T8] ERROR Umbraco.Core.Security.AuthenticationExtensions - The current identity cannot be converted to Umbraco.Core.Security.UmbracoBackOfficeIdentity
System.InvalidOperationException: Cannot create a Umbraco.Core.Security.UmbracoBackOfficeIdentity from System.Security.Claims.ClaimsIdentity since the required claim http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier is missing
   at Umbraco.Core.Security.UmbracoBackOfficeIdentity.FromClaimsIdentity(ClaimsIdentity identity)

I'm going to try and reinstall, are there tips for using localdb in the correct way with umbraco?

Ok... after I reinstalled Umbraco in an empty visual studio web project (by installing via install-package umbracocms it installs 7.3.1. Then downloading the installer package from uWebshop the email templates return null (but the MacroScripts\uwebshopBackend\ has .cshtml files in it with the word email in it.
When i look at the log i still see the
2015-11-05 20:06:18,335 [P11128/D2/T9] ERROR Umbraco.Core.Security.AuthenticationExtensions - The current identity cannot be converted to Umbraco.Core.Security.UmbracoBackOfficeIdentity
System.InvalidOperationException: Cannot create a Umbraco.Core.Security.UmbracoBackOfficeIdentity from System.Security.Claims.ClaimsIdentity since the required claim http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier is missing
   at Umbraco.Core.Security.UmbracoBackOfficeIdentity.FromClaimsIdentity(ClaimsIdentity identity)
   at Umbraco.Core.Security.AuthenticationExtensions.GetCurrentIdentity(HttpContextBase http, Boolean authenticateRequestIfNotFound)
 2015-11-05 20:07:27,974 [P11128/D2/T42] INFO  Umbraco.Core.Security.BackOfficeSignInManager - Event Id: 0, state: Login attempt succeeded for username<EMAIL_ADDRESS>from IP address ::1

So something is still going wrong with the claim.
I googled this message and got to this umbraco issues page. Here they speak of breaking changes in the way membership/identity is handled since v7.3.0.
I've installed umbraco 7.2.6 in a new project and installed the uWebshop and it works. I get email templates now, even the ones that I create myself.
Now the functions of the emails make sense to me again. @dutchbreeze  thanks for your help with debugging. I'm not sure if the error should be fixed at uWebshop of at Umbraco.. Care to weigh in?


New theme

I've made a new theme, lovelace-soft-theme. It's similar to this theme, but more lightweight. Feel free to go and give it a star.
Mass ping, to make sure everyone interested can see the new theme:
@qiz-li @KTibow @casuallydressedguy @katsaplias @MartinBucko @gruberdev @Prowler2 @d3centr0z @LarsNorgaard @joselito11 @JanOstrowka @LucaDev @Whitei520 @henfiber @claughinghouse @mscholzj @nickmolo @mattfwb @eriknomitch @ldec @yahyafakhroji @baby7 @fastplayer95 @homemadestea58 @Haloooch @VDigitall @welcoMattic @kylehowells @testitesti22 @redd-bbeard @jonathan81-dot @hzoet88 @Unkn0wnCat @VictorLzm @Mrbigkid @Sveetly @Potato501 @astutejoe @mrEvanidus @brendantay

@valonsogit you should probably go use/star lovelace-soft-theme instead, it's up to date.


TypeScript support

Describe the feature request
Generate a TypeScript libdef for the npm package

I'm overhauling the build setup which will include this.

Thanks! In the meantime it is at least possible to get the types for css from styleX:
// types.d.ts
declare module "react-strict-dom" {
  // CSS is a re-export of the module "@stylexjs/stylex";
  export * as css from "@stylexjs/stylex";
}

I can help out with TypeScript. Do you have any ideas on how to approach it? Do you want to support Flow as well as TS? I'm not sure if we could generate high-quality TS types from Flow, but we could explore that.

This should be fixed in 0.0.3 which was released after #36 was merged


Pharmacy Assistant validates orders

potentially require validation to be by a different user than the one who created it.

Took about 20 minutes

Was only a few minutes

Added validate order method to Employee class


New version: AstroChemistry v0.2.1

Registering package: AstroChemistry
Repository: https://github.com/huchiayu/AstroChemistry.jl
Created by: @huchiayu
Version: v0.2.1
Commit: 2e8c7627cb58f20e58155f1a601e1107e3ec77d2
Reviewed by: @huchiayu
Reference: https://github.com/huchiayu/AstroChemistry.jl/commit/2e8c7627cb58f20e58155f1a601e1107e3ec77d2#commitcomment-47692735

@huchiayu :point_up:
[noblock]

superseded by #31046


Base group call to redirect() doesn't cancel call to extended group waitOn()

I'm having an issue:
I've got a nested/child group, and although the base group redirects, the child group's waitOn() gets called. Is this expected? This is best illustrated with the code.
export const loggedIn = FlowRouter.group({
	triggersEnter: [
		(context, redirect) => {
			if (!Meteor.user()) {
				redirect('/login')
				return
			}
		}
	]
});

export const adminRoutes = loggedIn.group({
	name: "adminRoutes",
	prefix: "/admin",
	waitOn(params, query, ready) {
		throw `Why is this being called?`
	},
})

adminRoutes.route('/', {
	action(params, query, data) { /* ... */ }
})

As you can see, one can't rely on Meteor.user() because redirect() call in loggedIn.triggersEnter doesn't cancel call to adminRoutes.waitOn().
Thanks!
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>(Official Build) (arm64)
Mac Book Pro, Big<EMAIL_ADDRESS>

Hello @drone1 ,
There's no way to alter this behavior, method called triggersEnter, not triggersBeforeEnter, meaning that triggers actually called after waitOn, since by architecture you may need to pre-fetch data in waitOn to use it later in triggersEnter hooks
Hope that helps.
Feel free to reopen it in case if the issue is still persists on your end.
P.S. I'm sorry for the late reply

Hi, thanks.
I don't see triggersBeforeEnter so how is one supposed to implement this kind of flow in a clean way? Suggestions would be appreciated.
The docs show an example that does not demonstrate how a super user is actually verified or differentiated from an admin in the "nested groups" example. A redirect or error is necessary. How does one implement this? Thank you!

I don't see triggersBeforeEnter so how is one supposed to implement this kind of flow in a clean way? Suggestions would be appreciated.

There's no such function, that's what I meant.
Try next approach:
const isAdmin = () => {
  // verify admin user permissions
  // You can return promise and waitOn for Method response
};

const adminGroup = FlowRouter.group({
  prefix: '/admins',
  name: 'admin',
  title: 'Admin Panel',
  meta: {
    robots: 'noindex, nofollow'
  }
});

adminGroup.route('/', {
  name: 'adminHome',
  waitOn() {
    if (isAdmin()) {
      return import('/imports/client/Admin/index/index.js');
    }
  },
  action() {
    if (isAdmin()) {
      this.render('layout', 'adminHome');
    } else {
      this.render('notfound404');
    }
  }
});

Let me know if this helps

Thanks, but then how do you implement a logged-in group with a nested admin
group?
It seems there is no way for the logged-in group to redirect, (which is
what you want, not an error page because the user isn’t logged in), and
from what you’re saying it seems like one would need to duplicate logic in
both groups, which defeats the purpose of nested groups, no? The admin
group should not need to check if the user is logged in IMO.
Thanks for your help!
On Fri 3. Jun 2022 at 17:51, dr.dimitru @.***> wrote:

I don't see triggersBeforeEnter so how is one supposed to implement this
kind of flow in a clean way? Suggestions would be appreciated.
There's no such function, that's what I meant.
Try next approach:
const isAdmin = () => {
// verify admin user permissions
// You can return promise and waitOn for Method response};
const adminGroup = FlowRouter.group({
prefix: '/admins',
name: 'admin',
title: 'Admin Panel',
meta: {
robots: 'noindex, nofollow'
}});
adminGroup.route('/', {
name: 'adminHome',
waitOn() {
if (isAdmin()) {
return import('/imports/client/Admin/index/index.js');
}
},
action() {
if (isAdmin()) {
this.render('layout', 'adminHome');
} else {
this.render('notfound404');
}
}});
Let me know if this helps
—
Reply to this email directly, view it on GitHub
https://github.com/veliovgroup/flow-router/issues/89#issuecomment-1146097094,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQIEPD7FJ75CRD5ZM672Z3VNISZFANCNFSM46RUZCFQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@drone1 to be honest in most of the apps we use Blaze, and implement this logic on the level of the template or "adminLayout" where if user is verified as Admin — pull data and render the template, if not show login or 404 page. Moving data logic to the template level as well.
Hope that helps

I’m looking to do this at the routing level. Thanks.
On Sat 4. Jun 2022 at 15:12, dr.dimitru @.***> wrote:

@drone1 https://github.com/drone1 to be honest in most of the apps we
use Blaze, and implement this logic on the level of the template or
"adminLayout" where if user is verified as Admin — pull data and render the
template, if not show login or 404 page. Moving data logic to the template
level as well.
Hope that helps
—
Reply to this email directly, view it on GitHub
https://github.com/veliovgroup/flow-router/issues/89#issuecomment-1146607503,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQIEPAUJFVG7HB3VM6F7NDVNNI5LANCNFSM46RUZCFQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Remove ravel() from stats.tstd

Array should not be flattened, axis argument should take care of that.
It is passed to np.ma.var which should take care of possible flattening.

I would appreciate if someone who has knowledge of the code could check this and if I don't break anything add a test checking the function for multidimensional arrays.

I leave backwards compatibility issues to others.
ignoring axis is bad.
this needs unit tests, and consistent behavior, e.g. it needs the same axis treatment if limit is None, and (extra) should not ignore the ddof argument in that case.

@DerWeh this looks like an improvement, but please attempt to construct a test that checks the behavior for axis=0/1/None. Tests can be added as a new method here: https://github.com/scipy/scipy/blob/master/scipy/stats/tests/test_stats.py#L70.

@rgommers I agree, that this still needs a test. I currently have no environment available to write a test. But I can likely do so next weekend.

@rgommers I made a PR to close this, if @Rajiv2605 and @DerWeh are no longer interested.

Continued in gh-10264, so closing this. Thanks all!

Thank you very much @clementkng, I am very sorry that I still didn't manage after all this time.
Looks better than what I could have come up with anyway.


Samsung Dark Mode Tipping Animations

See:
https://coiltech.slack.com/archives/DS84G51DF/p1646219798984069
https://coiltech.slack.com/archives/DS84G51DF/p1646220271713219?thread_ts=1646219798.984069&cid=DS84G51DF
for dark gif levels


Grammar for Liquid

This PR adds a grammar for Liquid from a TextMate bundle as discussed in #1903.
/cc @arfon @spplante

:+1: thanks @pchaigno


Improve naming of test cases

Overview
Stock implementation of with functionality in eunit
doesn't display test names. This commit adds test_util:with
to be used instead.
Testing recommendations
Make sure the following command displays names of the tests it is executing
make eunit apps=fabric

Related Issues or Pull Requests

Checklist

[x] Code is written and works correctly;
[x] Changes are covered by tests;
[ ] Documentation reflects the changes;

@iilyak are you interested in rebasing this? I’d be happy to see it land asap

@janl This is targeted at a prototype branch, not for inclusion in 3.0. I'll just remove the tag.
I also thought that we merged something that did roughly the same thing but not seeing it as a conflict but I think that's because the target branch isn't prototype/fdb-layer

oh oops, ta!

The same issue is fixed by https://github.com/apache/couchdb/pull/2340


extracted ScanMatch method in LocalTrajectoryBuilder3D

Extracted the ScanMatch method in the LocalTrajectoryBuilder3D.
This is a short refactoring. With that change, the code of LocalTrajectoryBuilder3D resembles LocalTrajectoryBuilder2D more. (see LocalTrajectoryBuilder2D::ScanMatch)

ptal @wohe

@wally-the-cartographer merge

Merge requested by authorized user schwoere. Merge queue now has a length of 4.

Error: exit status 1
Log:
=> handle work item: PR 1245 on googlecartographer/cartographer.
 => Switching to branch master.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at aa3ac7e8 Removed redundant 2d voxel filtering (#1243)
 $ git clean -fd [data/cartographer]
 $ git checkout master [data/cartographer]
Already on 'master'
Your branch is up to date with 'origin/master'.
 $ git pull [data/cartographer]
From https://github.com/googlecartographer/cartographer
   aa3ac7e8..3ee7c671  master     -> origin/master
Updating aa3ac7e8..3ee7c671
Fast-forward
 .../internal/3d/local_trajectory_builder_3d.cc     | 80 +++++++++++++++++++++-
 .../internal/3d/local_trajectory_builder_3d.h      |  5 +-
 2 files changed, 81 insertions(+), 4 deletions(-)
Current branch master is up to date.
 => Checking out schwoere/extract_scan_match_for_3d_traj_builder as local branch pr_1245.
 $ git remote add schwoere git@github.com:schwoere/cartographer.git [data/cartographer]
fatal: remote schwoere already exists.
 $ git fetch schwoere [data/cartographer]
 $ git branch --track pr_1245 schwoere/extract_scan_match_for_3d_traj_builder [data/cartographer]
Branch 'pr_1245' set up to track remote branch 'extract_scan_match_for_3d_traj_builder' from 'schwoere'.
 => Switching to branch pr_1245.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at 3ee7c671 Adding metrics  (#1240)
 $ git clean -fd [data/cartographer]
 $ git checkout pr_1245 [data/cartographer]
Switched to branch 'pr_1245'
Your branch is up to date with 'schwoere/extract_scan_match_for_3d_traj_builder'.
 $ git pull --force [data/cartographer]
Already up to date.
Current branch pr_1245 is up to date.
 => merge master.
 $ git merge master [data/cartographer]
Auto-merging cartographer/mapping/internal/3d/local_trajectory_builder_3d.h
Auto-merging cartographer/mapping/internal/3d/local_trajectory_builder_3d.cc
CONFLICT (content): Merge conflict in cartographer/mapping/internal/3d/local_trajectory_builder_3d.cc
Automatic merge failed; fix conflicts and then commit the result.
 => Abandoning branch pr_1245.
 => Switching to branch master.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at 663582ae addressed comments
 $ git clean -fd [data/cartographer]
 $ git checkout master [data/cartographer]
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
 $ git branch -D pr_1245 [data/cartographer]
Deleted branch pr_1245 (was 663582ae).

@wally-the-cartographer merge

Merge requested by authorized user schwoere. Merge queue now has a length of 1.


Color for time

We should highligh plugin and file time in different colors — green for the fastest and red to the slowest
/cc @Gaserd

True. I also thought about that, but there are some detail issues:
Do we color by

relative time (slowest/fastest for current file)
relative time (slowest/fastest for all files)
absolute time (let's say everything < 5ms is green, > 10ms is red, color gradient for 5ms < time < 10ms )
?

I guess a good solution would have to consider all three metrics, but only show one combined color.

PS: I just had an idea. I don't know if it's good or rather not, so I will just post it here:
We could ask the user for permission once and then sent simple anonymized benchmark reports to some server to gather statistics about the most popular postcss plugins and their performance benchmarks.

@andywer
I think relative time (slowest/fastest for current file)
And collection statistics this good idea

I think realtive time is fine too. Because the main purpose of coloring is to find slowest plugins and optimize them.

There should probably be an absolute cutoff though, like less than 5 or 10 ms is always green, right?


Remove duplicate value

Fixes #540.

Coverage decreased (-4.2%) to 45.998% when pulling 197cb7621ac0564e1f5c2b30ffbd4e8acb2d49b2 on xiongyf/deployment-hotfix into a5fd8b11cc027d0fcc4f28a6b78e6120ba14308a on master.


Change color of Label when not in focus

Great library, thanks. One issue - the "app:labelText"  has the right color when the field is tapped and the text moves up into the upper left corner. When out of focus, though, it is white and none of the settings you have seem to make any difference. Would be great if it were possible to change that color as well.

I'll make it customizable soon :)
Now its using the TertiaryTextColor of the current theme.

You can now do that in 1.3.5 release with app:secondaryColor attribute :)

Hey, a bit late on the ball, but thanks a lot :) (you know how it is with work....)


B1 Submission

rejected:B1
It looks like you are trying to submit B1, however it seems like the following submission criteria are problematic:

Logs are missing
We’ve thus marked B1 as rejected, however if this is a mistake, please upload the log summary and we can re-review.

confirmed:ID2
account1:3EZTdPfQM1MWMHt2aJ58Phm1FhtUf3X2bHrntB3dG71D6N4EUn
account2:3EggFTALWvGJ5WdUvLrLA9goakdQW9uixkBNvA8ZTzqku6urzG
PublicDataAttributes:Verified
DeviceMake&Model:Verified

confirmed:ID2
account1:3EZTdPfQM1MWMHt2aJ58Phm1FhtUf3X2bHrntB3dG71D6N4EUn
account2:3EggFTALWvGJ5WdUvLrLA9goakdQW9uixkBNvA8ZTzqku6urzG
PublicDataAttributes:Verified
DeviceMake&Model:Verified

form submitted-27/04/2022 (UTC +3) 02:38


Unify the use of properties in Track and Chart?

It looks like non-encoding-related properties (e.g., alignment, arrangement) are defined either inside properties(...) or directly in Track(...)/Chart(...):
gos.Track(...).encoding(...).properties(
   alignment="stack"
)

// vs

gos.Chart(
   arrangement="horizontal"
)

gos.Chart().properties(arrangement="horizontal") // error, no `Chart().properties()`

Perhaps, we can think about how to unify Track and Chart, and which options we want to support in each of properties(...), Track(...), and Chart(...).

I think this is a good idea! The "top-level" api is still a bit abstract in the moment in terms of design, but this makes sense to me. There isn't a total 1:1 correspondence of the vega-lite model and gosling, so we will need to experiment with what APIs work.


Consider removing "pandana" due to restrictive AGPL license

Pandana has an AGPL license, which is quite restrictive and might be in conflict with (the intent of) Apache. See https://choosealicense.com/licenses.
Thanks to @benjaminleighton for alerting the CSIRO crew to this. We've removed pandana from our geobase+ builds with no adverse affects (yet... :) ).
A code search and dependency check suggests that pandana isn't required in ODC (nor DEA, DEAfrica from a cursory look).
This issue mostly flags it with you to do your own checks, please.

@mpaget did you mean to raise this issue in sandbox repo?
base images do include any python libs, pre-compiled wheels no longer happen, and pandana was not part of those I don't think

Or do you mean this one:
https://github.com/opendatacube/geobase/blob/3b9546335923d33cfdfd5f9a0e93031da696296a/odc/odc-dev/conf/requirements.txt#L73
we can remove that for sure.
it's really just an example docker, I don't think anyone uses it, not even sure if it builds to be honest

Yes, that's the only place it occurs in this repo, and in the corresponding constraints.txt.
I suspect there may be a history across other builds that have picked up pandana in their requirements.txt's, possibly initially copied from here.
Your recent updates to this repo will flow through. I guess we're just flagging it here so it can be addressed elsewhere as and when appropriate.

removed


Managed cluster namespaces should be label to say cluster backup operator managed cluster and accepted or not

In order to have restore operator working properly we need to add a lable or an annotations (better a label) saying something like this:
backup.cluster.open-cluster-manegement.io/accepted=true or backup.cluster.open-cluster-manegement.io/accepted=false.
In this way we'll accomplish two goals

Understand which managed cluster namespace comes from a backup
Understand which managed cluster namespace was accepted previously (already talked about this in a chat)

To be honest I don't care too much about the way accomplish this, but we need to solve both and this is the first idea I got (open for discussion)

@sdminonne in order to track the tasks under the jira epic we need to create tasks under https://github.com/open-cluster-management/backlog/issues
Can you please move this task there

Closing since now it's tracked in https://github.com/open-cluster-management/backlog/issues/16122


not support chinese charset ?

here is my test file
中文測試

ABC!@#)(Q@&*E)SAJI

and it does not show the correct charset after upload to PurritoBin

but it's ok in another program .

hope this issue can be fixed.

Thanks a lot for the bug report!
After a bit of tinkering, I think this bug is coming due to incorrect encoding in the returned paste headers.
Try adding the following arguments to the command when you run it
$ purrito -x "Content-Type" -v "text/plain; charset=UTF-8" .... <your inputs>

Could you verify that this works?

I start purritobin in docker , so I modifiy /usr/bin/purritobin_wrapper to add your command like this
/usr/bin # cat /usr/bin/purritobin_wrapper
#!/bin/sh

: ${DOMAIN="http://localhost/"}
: ${MAXPASTESIZE="65536"}
: ${SLUGSIZE="7"}

: ${SSL=NO}
: ${SERVERNAME="http://localhost/"}
: ${PUBLICKEY="/etc/purritobin/public.crt"}
: ${PRIVATEKEY="/etc/purritobin/private.crt"}

cp /usr/share/purritobin/paste.html /var/www/purritobin

if [ "${SSL}" = "NO" ]; then
  purrito -d "${DOMAIN}" -m "${MAXPASTESIZE}" \
          -g "${SLUGSIZE}" -t -x "Content-Type" -v "text/plain; charset=UTF-8"

else
  purrito -d "${DOMAIN}" -m "${MAXPASTESIZE}" \
          -g "${SLUGSIZE}" -t \
          -l -n "${SERVERNAME}" -c "${PUBLICKEY}" -k "${PRIVATEKEY}"
fi
/usr/bin #

and run /usr/bin/purritobin_wrapper
/usr/bin # /usr/bin/purritobin_wrapper
purritobin[33]: Starting PurritoBin with settings - { domain: http://<IP_ADDRESS>:42069/, storage_directory: /var/www/purritobin/, max_paste_size: 65536, slug_size: 7 }
purritobin[33]: Listening without SSL
purritobin[33]: Listening for connections on <IP_ADDRESS>:42069...
purritobin[33]: Listening for connections on :::42069...

but it's the same problem
chchang@hqdc039:~/git/PurritoBin$ cat testfile
中文測試

abcasd
asdaksdlw
3r23r
23
!@#!$@#$ERSFDFS

chchang@hqdc039:~/git/PurritoBin$ cat testfile|purr
http://<IP_ADDRESS>:42069/wmp9m71
chchang@hqdc039:~/git/PurritoBin$

and here is the test result , the first line is Chinese

I added the options to the Dockerfile and tested out the latest tag on docker hub.
Can you verify that it works for you too?

I added the options to the Dockerfile and tested out the latest tag on docker hub.
Can you verify that it works for you too?

yes, after rebuilding the docker image , and the Chinese is now displayed correctly. thank you so much !
chchang@hqdc039:~/git/PurritoBin$ docker exec -it purritobin_purritobin_1 sh
/purritobin # ps -a
PID   USER     TIME  COMMAND
    1 root      0:00 {purritobin_wrap} /bin/sh /usr/bin/purritobin_wrapper
    7 root      0:00 purrito -d http://<IP_ADDRESS>:42069/ -m 65536 -g 7 -t -x Content-Type -v text/plain; charset=UTF-8
    9 root      0:00 sh
   15 root      0:00 ps -a
/purritobin # exit
chchang@hqdc039:~/git/PurritoBin$ cat testfile |purr
http://<IP_ADDRESS>:42069/cw0rtk0

You're welcome!


Changes to enable support for deploying Kubernetes pods with Sysbox.

There changes have already been reviewed by @rodnymolina on the sysbox enterprise repo.


Add autocorrect option

I also reworded settings a bit.

No problem @arturbosch, looking forward for the new release! :D.


Improve OpenMP detection for different platforms and compilers

Currently the SciPy on Windows build gives warnings like:
clang-cl: warning: unknown argument ignored in clang-cl: '-print-file-name=libgomp.dylib' [-Wunknown-argument]
clang-cl: error: no input files
clang-cl: warning: unknown argument ignored in clang-cl: '-print-file-name=libgomp.so' [-Wunknown-argument]
clang-cl: error: no input files

for every Pythran invocation. This should improve that.
Also fix a str/bytes issue that resulted in invalid paths starting with b/... because of calling str() on a bytes object.

There's a couple of other issues/questions:

omp is called for every extension the way we use PythranExtension in SciPy, because of this monkey patching business:

    if int(os.environ.get('SCIPY_USE_PYTHRAN', 1)):
        # PythranBuildExt does *not* derive from npy_build_ext
        # Win the monkey patching race here and patch base class
        # before it's loaded by Pythran. This should be removed
        # once Pythran has proper support for base class selection.
        assert 'pythran' not in sys.modules
        import distutils.command.build_ext
        distutils_build_ext = distutils.command.build_ext.build_ext
        distutils.command.build_ext.build_ext = npy_build_ext
        try:
            from pythran.dist import PythranBuildExt as BaseBuildExt
        except ImportError:
            BaseBuildExt = npy_build_ext
        finally:
            distutils.command.build_ext.build_ext = distutils_build_ext
    else:
        BaseBuildExt = npy_build_ext

This also does the OpenMP check for every extension, even when Pythran isn't used. We should disable this.

Question: why is omp a separate top-level package next to pythran, rather than under it? Should this be moved into pythran/openmp.py instead?

LGTM, and thanks for the patch!


SATURDAY MEETING: FEB 25/23

-Figure out our roles,
-Jiasi to do the pull request, and accept a pull request
-Go over the wireframe
-Come up with a step by step process of what should happen(like a step by step pseduo coding)
-What is going to be dynamically displayed,

Lets goo


Error running tun.sh script

Hi,
Thanks for creating this Docker container, it looks excellent and hopefully solves my search for what I’m looking for!
However I seem to have fallen at the first hurdle of getting this running.
I'm getting an error running the tun.sh script on a completely fresh install of Raspbian Stretch on a Raspberry Pi. It also fails on my laptop running Linux Mint 18.3 and another running Lubuntu 18.04.
insmod: ERROR: could not load module /lib/modules/tun.ko: No such file or directory
Should I have installed anything first or is it a hardware\OS compatibility issue?
Thanks for your time
Tom

I'm in the process of creating an armhf build which appears to be working so far. When i've finished I can create a PR with how to automate it with hub.docker.com to create a armhf-latest tag via travis.
Im always around on Gitter if you wanted a quick talk through.
Tom


Python: Instructions for updating python/docs/?

I'm making checksum changes that cause pytest to fail when checking examples in the docs. What are the commands for updating python/docs/?

make html in the docs folder should do it.

also
pip install sphinx numpydoc sphinx-autobuild sphinx-rtd-theme
to get it going

I've updated the Makefile accordingly, cf. commit cd46a0b99.


master/worker configuration file comments need to be detailed(master/worker配置文件注释需要详细)

Close by #5158


adds a test to make sure popping the remaining element works

This pull-request adds a test that panics.
I read your Writing a Linked List in Rust article and fiddled with the code a bit and saw that it will panic if the last element is popped off.

Closed with changes incorporated to fix issue #5. Thanks for the feedback @ctm!