Create About Us Page with Website Details

Is your feature request related to a problem? Please describe.
Develop a detailed "About Us" page that provides an overview of the website's purpose, mission, and the features it offers. Include information about the team, goals, and how the platform benefits users.
Describe the solution you'd like

Introduction: Brief overview of the website's mission and purpose.
Features: Highlight key functionalities and unique aspects.
Team Section: Introduce the team or contributors behind the project.
Goals & Vision: Share long-term goals and impact the platform aims to achieve.
Contact Information: Include ways users can reach out or connect.
Visuals & Design: Add relevant images, icons, or animations to enhance readability and engagement.

we had one and it didnt work out :( ,
we had to go through a lot of conflicts to get it removed , an about us page doesnt align with the blogging theme of this website , hence we dont need one !


Add messages for config changes

Gah, looks like this breaks checkouts on windows because our labels have colons in them and I use the label name as the file name.

Okay, this should hopefully work now.


Soul Fire'd API integration (1.19.2)

Soul Fire'd is a mod of mine with a dual aim:

Add actually unique properties to Soul Fire.
Provide an easy-to-use API for other mods to register their own, or even of other mods, custom fires and having everything automatically handled.

I saw that Infernal Expansion can benefit in both cases as it currently is:

Having its own small API to register some specific fires, either its owns, of other mods, or of Minecraft.
Handling fires visual effects and some other fire-related stuff.

By integrating the Soul Fire'd API, Infernal Expansion gets more streamlined code, removal of some mixins, easier fire handling, and more optional features (e.g. enchantments handling, easy fire source and campfire handling, etc.).
Furthermore, Vanilla fire and soul fire are already handled without needing explicit references in your code.
I also plan to expand the ecosystem with further PRs to other mods, such that they are all compatible with each other and there's less need for you to register others' fires.
If this PR is accepted, I will also start working for 1.16.5 and 1.18.2 PRs (or for whichever branch is better, maybe release-3.0?).
Lastly, I know it's not always the best to add dependency to other mods as that might slow down future versions rollouts, but I can assure you, as the Soul Fire'd API developer, that it's always going to come out very soon for newer versions (and you can already see it by the wide range of Minecraft versions supported and actively mantained).
Let me know if I did anything wrong when contributing or if something is not clear, or really anything in general.
Changes summary:

build.gradle
Added Soul Fire'd dependency.

Mixins
Removed MixinEntityRendererManager, MixinOverlayRenderer, and MixinEntity.
Changed MixinModelBakery and MixinAbstractFireBlock (removed now useless bits).

Old fire internal API
Removed FireTypeAccess, FireType, and ClientFireType.
Changed registration of fires in IEFireTypes.

I want to add that since version <IP_ADDRESS> it's also possible to introduce a soft dependency with a datapack rather than as I did with code.
I did it with code because anyway I had to rework how fires were handled in IE, but it could also be possible to remove entirely the code that handles fires and use a datapack instead.
In the datapack case, and because in IE the fire mechanics are required, Soul Fire'd would still need to be listed as a required dependency to make everything work as needed.

Little update: I opened a while ago a similar PR to BYG and they recently merged it and they are now in the process of porting SF dependency to all supported Minecraft versions.
This means:

SF ecosystem is indeed expanding.
BYG fire handling won't be explicitly needed anymore: just requiring SF as a dependency of IE will ensure that, when BYG is installed, its fires are handled too!

As soon as BYG releases a new version with the changes from the PR, I'll make sure to update the code of this PR too to remove the now useless BYG fire handling.


Antrea containers should have cpu/memory requests defined by default

Thanks @alex-vmw again for reporting this issue!
Describe the bug
Without requests, antrea pods got assigned BestEffort QoS, in which class pods will be killed first once OS is out of memory. But antrea pods is critical to the cluster, so it would affect pod networking for a while once they were killed.
Now I also suspect that the issue https://github.com/vmware-tanzu/antrea/issues/431 was because of this as I couldn't find any evidence of liveness probe failures at that time.
According to the doc https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-burstable, as long as there's one container in the Pod has a memory or CPU request, it will be assigned Burstable QoS.
Expected
Antrea containers should have cpu and/or memory requests defined by default.
Versions:
Please provide the following information:

Antrea version (Docker image tag). 0.5.1

@antoninbas I'm assigning this to you since you already worked on it.


AOT Strategy

Since dotnet is putting serious emphasis on AOT at the moment and SurrealDb is going to be known for it's performance. It might be worth thinking about the strategy for how we will deliver this. Including how we handle JSON deserialisation AOT and how that is going to affect the APIs

Including how we handle JSON deserialisation AOT and how that is going to affect the APIs

That would be interesting to make benchmark for AoT indeed. To see the performance differences with the default runtime experience.

Yes, I needed something like that. I have something working now on the attached PR. You can take a look if you are interested.

The PR is ready now.
I still have 6 warnings on System.Data.Common library related to XML serialization. I don't know where it is coming from at the moment. It may come from a dependent package but until further investigation, it can stay as-is.
I made all the required changed to make the library AOT compatible while having no breaking change for non-AOT apps.
Some notes, I may need to extend the use of Source Generators after refactoring the code:

A Source Generator to generate all possible non-generic overloads of Thing.From, and if possible the object/array versions too
A Source Generator for HttpStatusCode enum generation, instead of a consuming Enum.Parse


Why does CheckedPredicate exist?

Is there any reason that CheckedPredicate cannot be replaced with java.util.function.Predicate? The former seems like a simplified version of the latter.

The signature of the CheckedPredicate::test method is
boolean test(T t) throws Throwable;

and for plain Predicate::test, it is just
boolean test(T t);

They are both functional interfaces, though. You can use a lambda or method reference that conforms to java.util.function.Predicate in contexts that accept a CheckedPredicate, but the latter allows you to write handlers that throw checked exceptions, e.g.,
RetryPolicy retryPolicy = RetryPolicy.builder()
    .handleResultIf(result -> needsRetry(result))
    .build();

where needsRetry can throw a checked exception. (If it does, the policy will not handle the result.)

I see. Thank you for the explanation.


Design Ideas

I wanted to make this a more personalizable experience, hence I was thinking about setting The party title, providing a background image, font styles etc.
Also currently it only works on the url specified, but what if the Host could specify a queue of videos (even across different platforms).

Queue features have been added into the program. Further improvements can be made


Added manufacturer alias. Added model IDs to device aliases.

Extended existing profiles with aliases to match shelly device ids.
added Allterco to the manufacturer alias, since Shelly is not a manufacturer.
changed smart_switch to energy_meter for Shelly 3EM as discussed over here: https://github.com/bramstroker/homeassistant-powercalc/discussions/2862#discussioncomment-11684724

@michalk-k I'm waiting a bit before merging this PR.
In latest beta v1.17.0-beta.0 I have implemented per device discovery, which applies to this profile.
When we merge this now already this will cause this profile to be discovered for all sensor.* entities under 3EM device.
So when I release v1.17.0 stable and give it a few days to be installed by users I will merge this MR.

makes sense. Thank you
BTW there are devices like Shelly 2.5 which have two relays.
In such case there will be device self consumption +  each relay might take a bit more.
will new version take care about such setup?

makes sense. Thank you
BTW there are devices like Shelly 2.5 which have two relays. In such case there will be device self consumption + each relay might take a bit more. will new version take care about such setup?

There is this strategy: https://docs.powercalc.nl/strategies/multi-switch/
Which should fit this use case.
However it's not supported in the library yet.
It's not straightforward as the underlying entities (naming etc) differ per installation.
So there must be some selection possibility for the user, to select the relevant entities.
Have some ideas about that, see my latest comment I just posted at https://github.com/bramstroker/homeassistant-powercalc/issues/2755.
Or alternatively we might pick all switch.* entities from the same device in this scenario.
But for both developments are needed, so currently not supported.
Could you make an issue with some more information about the device, which entities you have in your system etc.
Than we can do further communication there, and it stays on my radar.


refactor commons and logic packages to suit tailor

Refactoring done till commons and logic packages. I will be doing the other packages progressively.

Codecov Report

Merging #66 (2c5a9e9) into master (ad33092) will increase coverage by 0.06%.
The diff coverage is 91.66%.

@@             Coverage Diff              @@
##             master      #66      +/-   ##
============================================
+ Coverage     72.15%   72.22%   +0.06%
- Complexity      399      405       +6
============================================
  Files            70       71       +1
  Lines          1232     1242      +10
  Branches        125      126       +1
============================================
+ Hits            889      897       +8
- Misses          311      313       +2
  Partials         32       32

Impacted Files
Coverage Δ

...in/java/seedu/address/commons/core/LogsCenter.java
78.37% <ø> (ø)

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...ss/commons/exceptions/DataConversionException.java
100.00% <ø> (ø)

...ava/seedu/address/logic/commands/ClearCommand.java
100.00% <ø> (ø)

...va/seedu/address/logic/commands/DeleteCommand.java
100.00% <ø> (ø)

...java/seedu/address/logic/commands/EditCommand.java
97.01% <ø> (ø)

...java/seedu/address/logic/commands/ExitCommand.java
100.00% <ø> (ø)

...java/seedu/address/logic/commands/ListCommand.java
100.00% <ø> (ø)

...ss/logic/commands/exceptions/CommandException.java
100.00% <ø> (ø)

.../seedu/address/commons/util/StringBuilderUtil.java
83.33% <83.33%> (ø)

... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ad33092...2c5a9e9. Read the comment docs.

Closes #66


[Feature] Renewal

Checklist

[ ] React 18
[ ] Webpack 5
[ ] NextUI
[ ] Full Typescript
[ ] Supported Helper Library

@salgum1114 when we suppose to get this update?

@salgum1114  nice checklist , i have worked with this project for some time, i will try to help in my freeTime ,however i Recommend using A store managment provider like Recoil (it will be perfect for this app and will things much easier)

@salgum1114  also i have checked the renewel bracnh of this repo, it will be nice if this is app is broken into multiple apps using MonoRepo like NX https://nx.dev/


Not working in alacritty

My OS is void linux, I have the packages alacritty and alacritty-terminfo.
when i run secrets.sh I get this output:
tput: cannot access the terminfo database

in xfce4-terminal the script does not show this error.

Hm, what does alacritty set $TERM to? My best guess is that the terminfo entry for it isn't properly installed somehow.
Be aware that nobody has touched this code for 5 years ;)

it sets $TERM to alacritty.
I know, but I didn't find any substitute for this...

It looks like this is the only place I use tput:
https://github.com/jordemort/secrets.sh/blob/master/secrets.sh#L71
Try running tput cols directly and see if it gives the same error? If it does, when you figure out how to fix that, then this will be fixed too.


document aspnet-codegenerator

Document the options aspnet-codegenerator
dotnet aspnet-codegenerator -h
Command Line: -h

Usage: Code Generation [options]

Options:
  -h|--help                Show help information
  -p|--project             Path to project.json
  -n|--nuget-package-dir   Path to check for Nuget packages
  -c|--configuration       Configuration for the project (Possible values: Debug/ Release)
  -tfm|--target-framework  Target Framework to use. (Short folder name of the tfm. eg. net451)
  -b|--build-base-path
  --no-dispatch
  --no-build

@prafullbhosale  should I create this article?

@prafullbhosale  the following command is missing client side validation:
dotnet aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout

How do I get the views to have the following:
@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}

Once I get that magic flag I think I'll have identical scaffolding to the VS scaffolder. That's my goal, to have the same code from VS Code and VS 2017.

--referenceScriptLibraries should add that section.

@prafullbhosale if you can provide me with a rough draft i'll write the article. See https://docs.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/model and search for The following table details the ASP.NET Core code generators` parameters:


Notebooks in README moved

When you open the notebooks in Colaboratory, they show up as "This file has moved."

Meanwhile, PR get's approved, use the below links.
MNIST
IMDB
Housing prices
Overfitting vs underfitting
Text generation
Translation

PR lgtm, thanks!


add css property aspect-ratio

To maybe get this picked up fast:
https://tomhodgins.github.io/aspect-ratio-spec/aspect-ratio.html

You realize that's not an official spec but just someone with a cool idea, right?

yes. but sometimes putting things on here, or at least talking about it, speeds up the process of actual spec writing and implementation :)

Relevant: https://github.com/w3c/csswg-drafts/issues/1173

On caniuse via MDN: https://caniuse.com/#feat=mdn-css_properties_aspect-ratio
In Chrome Canary 84.0.4145.0: https://twitter.com/Una/status/1260980901934137345

@Fyrd should aspect-ratio be added to this repo features since tools like doiuse relies on this? any automated script to pull info from MDN or should it be manual?


Face_Orientation_Predictor

New Feature: Face Orientation Prediction
Addition of a new feature to our project: Face Orientation Prediction using a neural network. This enhancement allows users to predict the orientation of grayscale face images, categorizing them into one of four possible orientations: straight, up, left, and right.
Feature Highlights
Data Collection: Automatically download face images from a specified URL and save them locally.
Preprocessing: Resize images to 32x30 pixels and normalize pixel values for improved model performance.
Neural Network Training: Train a neural network to classify face orientations with high accuracy.
Model Persistence: Save the trained model to a file for easy reuse and deployment.
Prediction and Visualization: Load the saved model and predict orientations for new images, with an option to visualize predictions.
How to Use
Download the Dataset:
Update the script with the URL containing face images.
Run the script to download and save the images.
Preprocess the Images:
Utilize the provided functions to resize and normalize the images.
Train the Model:
Train the neural network using the preprocessed dataset.
Save and Load the Model:
Save the trained model for future predictions.
Load the saved model to predict orientations for new images.
Visualize Predictions:
Display images with their predicted labels using the visualization functions.
We believe this feature will be incredibly useful for projects involving facial recognition, image processing, and machine learning.

@TAHIR0110 sir, can you please review and let me know if there are any changes.

@Atharv714 sir ,can you please let me know the reason to close this pull request,.


Removed validation from LookupField as it's readonly

Removed validation from LookupField as it's readonly anyway and is preventing me from cleanly just showing the user a ManyManyList due to the data not matching the $source.

Is there a chance that users could exploit this to save invalid data into an otherwise readonly field? What happens if we put an <input type="hidden" name="thefield" value="someinvalidcontent" /> and try to post it; Does it get blocked? :P
Maybe we should override saveInto() to block any value (valid or not) getting saved back into the dataobject.

Done and done.
Though now I wonder, if it's worth just changing FormField to not save if $readonly is set to true. Are there cases where someone may want a readonly FormField to save into their DB?

Do you feel confident in writing a unit test? Just to prove that forms with lookup fields don't overwrite (or clear) dataobjects, and that forms with invalid lookup values pass validation. ;)
$form = new TestForm();
$form->addLookupField();
$form->loadDataFrom($somePostedContent);
$form->saveInto($object);
$this->assertAllGood($object);

and
$form = new TestForm();
$form->addLookupField();
$form->loadDataFrom($somePostedContent);
$this->assertTrue($form->validate());

I think this can be merged in.

Sorry for the lack of reply, getting slammed at work and I haven't needed to write Unit Tests before, so it's something I can look at over the Christmas break potentially.

I want to get this into the 3.3.0 beta, so you can still write that test if you get time. :)
Thanks for this and your other contributions... hope you get done in time for christmas. :)


Update AppBar and AppBarTheme tests for M2/M3

Updated unit tests for AppBar and AppBarTheme to have M2 and M3 versions.
More info in https://github.com/flutter/flutter/issues/127064
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note also: the umbrella issue that PRs like this should refer to is https://github.com/flutter/flutter/issues/127064. I updated this PR's description.

Note also: the umbrella issue that PRs like this should refer to is https://github.com/flutter/flutter/issues/127064. I updated this PR's description.

Thank you! I'll note it.


cluster quality values as 'NaN' and 'inf' in Klustaviewa

Hi,
After a few changes of configurations, I have been getting 'inf' or 'nan' values for some clusters and zeros or ones in others in klustaviewa. I have been tracking down where this can come from but has been unsuccessful so far.
Any help or idea would be very helpful, thanks?
In the past, I have been using single 32channels polytrodes and single 64channels buszaki probes and I was having normal cluster quality values. Unfortunately, I made a few changes before noticing the problem of 'inf' and 'nan' values.
These are:

upgrade of the klusta
dual recordings with two polytrodes and thus changes in the *.prb file

I believe that the problem comes from the probe file but I cannot figure what it is. You can find its content at the end of the email.  Here they are again in case.

Archive 2.zip

the .dat is too big to be downloaded any other option?

could you use a file sharing service like dropbox or https://www.wetransfer.com/ or https://www.transfernow.net/ ?

You should have receive an email with a link.
If not here it is:
https://we.tl/pVgyJY5v7F
I also noticed this message on the terminal:
(klusta)salazarr@salazarr-Precision-WorkStation-T7500 /media/salazarr/datadrive/electrophy/20160916/session01 $ klustaviewa<PHONE_NUMBER>.prm
/home/salazarr/miniconda3/envs/klusta/lib/python2.7/site-packages/IPython/qt.py:13: ShimWarning: The IPython.qt package has been deprecated. You should import from qtconsole instead.
"You should import from qtconsole instead.", ShimWarning)
2016-09-28 09:55:55  kwikloader:134          Opening<PHONE_NUMBER>.prm.
/home/salazarr/miniconda3/envs/klusta/lib/python2.7/site-packages/numpy/core/_methods.py:55: RuntimeWarning: Mean of empty slice.
warnings.warn("Mean of empty slice.", RuntimeWarning)
Thanks,
R.

Thanks, I can reproduce the problem, but I'm not sure what causes it. Could you try with the phy KwikGUI? The computation of the similarity should be more robust.

Hi Cyrille,
I can run phy kwik-gui and I can find real values in the 'SimilarityView' window under the column 'similarity'. There are two clusters with values zeros and all other clusters have values up to 373...
Does this mean that you suggest to use phy kwik-gui to do the clustering?

KlustaViewa is on the deprecation road and is being replaced by phy, which will be maintained on the long term. I would suggest that if you have problems with KlustaViewa, you try to use phy. Please let me know if you have any question or issue!

Thanks for the info. In a first sight, phy appears quite natural but I cannot find the way to switch between shanks? Do you have a guideline or on-line help to suggest?
Thanks,
Rodrigo.

You have to specify the channel group when launching the GUI:
phy kwik-gui file.kwik --channel-group 3
There is no documentation of the GUI yet, unfortunately... There is documentation for the TemplateGUI instead, which is another slightly different GUI that is used not with klusta, but with template matching algorithms such as KiloSort and SpykingCircus (used on channels with hundreds of probes).


Remove rescan-interval CLI option and env var

Problem:
Commit 7d5395f21c1167d2ad4bbe571d0e720e2ea61556 removed scanner polling, but the CLI option, environment variable and chart value remained.
Solution:
This PR
Related Issue:
N/A
Test plan:
N/A

@mergifyio backport v0.5.x v0.6.x


Django project creation failed

So for a few days now I have been struggling to get  Django projects working with Visual Studio 2015 and PTVS. When I attempt to create a project, I first get a message box looking like:

followed by one that looks like:

I have taken several steps to fix this issue. So far I have

Repaired PTVS

Repaired Visual Studio

Uninstalled / Re-installed Visual Studio several times

Upgraded PTVS to version 2.2.5 (the latest as far as I am aware)

The Stackoverflow question here hints that the issue could be related to not having the Microsoft Web Developer Tools installed, but that does not seem to be my problem because as far as I know, I do have them. Also, Flask and Bottle projects work just fine.
At this point, I don't see any better solution that to use a different IDE for the time being, or learn Flask. Has anyone else had this issue? Is there a fix?
If it is any use I am running Windows 10 (not anniversary update) My relevant Visual Studio info is as follows:

Version 14.0.25425.01 Update 3
Microsoft .NET Framework
Version 4.6.01055
Installed Version: Community
Python Tools for Visual Studio   2.2.40825.00
Python Tools for Visual Studio provides IntelliSense, projects, templates, Interactive windows, and other support for Python developers.
Python Tools for Visual Studio - Django Integration   2.2.40825.00
Provides templates and integration for the Django web framework.
Python Tools for Visual Studio - Profiling Support   2.2.40825.00
Profiling support for Python projects.

Note: Oddly, the PTVS versions show as 2.2.4x when I am certain I installed 2.2.5 from the installer which I downloaded from Github.

I've solved it. Turns out, the issue has nothing to do with PTVS, but the Visual Studio Web Developer tools being retarded.
I ended up finding this StackOverflow Question which fixed my issue, particularly this answer.
Sorry guys :laughing:


mmseqs easy-taxonomy lca_tsv output column names

It looks like with the newest release that the default output from mmseqs easy-taxonomy has changed a bit. There are now 4 additional numeric columns that were not there by default in prior releases. I assume this has something to do with the new contig annotation settings.
Can you let me know what the column headers are? Specifically for columns 5-8 in the example below (the 5, 1, 1, 1.000)?
207026	2420051	species	Yasminevirus sp. GU-2018	5	1	1	1.000	Viruses;unknown;unknown;unknown;unknown;unknown;Yasminevirus sp. GU-2018	d_Viruses;-_unclassified viruses;s_Yasminevirus sp. GU-2018

I expanded the "Taxonomy Output and TSV" section in the wiki with a description:
https://github.com/soedinglab/MMseqs2/wiki#taxonomy-output-and-tsv
There is also a small tutorial for the contig based taxonomy annotation here:
https://github.com/soedinglab/MMseqs2/wiki/Tutorials#contig-taxonomic-assignment-and-auxiliary-modules


MH-12799 Add ability to configure which LTI parameter/value to use instead of the default LTI context id

In planning a move to Canvas as our VLE and to use LTI as the integration method, however we have discovered that the Context IDs that Canvas passes as one of the LTI parameters isn't meaningful (random 40 char hex string) or searchable within Canvas so it's not possible to know them in order to create matching Series IDs in Opencast.
Default LTI integration between a VLE and Opencast appears to match the passed LTI Context ID with a Series ID to create user roles/grant access to view the media packages, so we would need to be able to select a different/optional (override) parameter to use as the Context ID instead of the default value.
For us, Canvas is the driver for this but it may be useful for other VLEs as well.
This change adds the ability for a VLE to specify a custom_context_id_param LTI parameter which Opencast can use/treat as the context ID to match with a series ID.
The value of the parameter referred to in the custom_context_id_param will be used, e.g.
context_label=Foo
custom_context_id_param=context_label

Opencast would treat the context ID from the VLE as Foo and create the appropriate LTI roles based on this.
Arbitrary values can be used by specifying another custom parameter in the VLE, e.g.
custom_foo=Bar
custom_context_id_param=custom_foo

@smarquard is this the sort of thing you had in mind?
Very rough/proof of concept example of where the configuration might live and be pulled in to be used..

I think I accidentally just deleted my previous comment :unamused:  it referred to a proof of concept example of using mh_default_org bean configuration in the LtiLaunchAuthenticationHandler. However I'm at a bit of a loss as to how to pull in configuration from security/mh_default_org.xml for use within the LtiServlet. Any thoughts on this?
I found another tool provider having exactly the same issue as this PR was attempting to solve, and using the same solution with Canvas context IDs so it'd be great to be able to find a solution and accommodate Canvas integration without having to maintain any separate customisations in future.

@pmgration @smarquard What's the status here?

@KatrinIhler hmm good question, I was looking for some guidance as I wasn't exactly sure how to proceed with this one..
We have since ended up creating a userprovider for Canvas anyway so we now grant the correct roles based on teacher courses. Opencast is still creating a role based on the context_id sent from Canvas, which is useless to us but it's not causing a problem at the moment.
It would seem to be cleaner/nicer to have the ability to choose which LTI parameter to use as the context_id.

@karendolan @pmgration note that #440 refactors the LTI authentication helper to an OSGi service with a dedicated configuration file. This might be a better place for configuration than constructor arguments.

To add to the conversation @pmgration, our Opencast series are created with a specific offering Id, and our Canvas course site's are created with a different unique instance Id. A third party system, containing data used to create the Canvas sites, is able to take the Canvas unique instance id ("lis_course_offering_sourcedid" ) and return a lot of general course information that maps directly to our Opencast series offering Id (i.e. academic year, academic term, course registration number). When the Opencast lti tool is used, Opencast does the Canvas-instance to Opencast-series lookup (unless its already cached the mapping).
However, this is not used for user access rights, only for general course context. Like @KatrinIhler, we use a userprovider that maps the authenticated user id of the person accessing the Opencast LTI tool from Canvas, with the courses that the person has rights and the person's role in those courses. Our site's Opencast series Ids correpond to our school course Ids in the auth system, which makes the course-series auth/role mapping easier.

@pmgration, now that the dust has settled with the LTI reorganization from #440, could you update this PR to use the new configuration mechanism?

@pmgration, now that the dust has settled with the LTI reorganization from #440, could you update this PR to use the new configuration mechanism?

I can revisit it but timing is difficult at the moment so it might not be for a while yet unfortunately..


Replaced Boxes in GM1

@AnnaR1302 Others people have made significant edits to the GM1 level. We're closing this PR to avoid merge conflicts. Please pull from dev and reimplement these changes.


Added Karn office hours

Do you have a location for office hours yet?

Oh that's right, I'll book a spot
On Wed, Aug 26, 2015 at 12:25 PM, Daniel Doubrovkine (dB.) @dblockdotorg <
<EMAIL_ADDRESS>wrote:

Do you have a location for office hours yet?
—
Reply to this email directly or view it on GitHub
https://github.com/Cornell-CS5356-Fall2015/cs5356/pull/7#issuecomment-135089931
.


Introduce date matchers

Date matchers POC
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closed in favour of https://github.com/cloudscape-design/collection-hooks/pull/21


finish event type definitions

What types of events are there? Currently mouse, keyboard, change, focus.
What properties do they all hold? How do properties map from js to haskell?

You could have a look at @ocharles bindings to virtual-dom for some inspiration here. If a callback is JSRef Event -> IO () you can have a function like this one from virtual dom:
on :: MonadState HTMLElement m => JSString -> (JSRef Event -> IO ()) -> m ()

Giving you the following on* functions:
https://github.com/boothead/oHm/blob/master/src/Ohm/HTML.hs#L82
onInput :: MonadState HTMLElement m => DOMEvent String -> m ()
onInput chan = on "input" f
  where
  f evt = do
    t <- fromJSRef evt
    for_ t (\t' -> do
      t'' <- eventGetTarget t'
      for_ t''
        (htmlInputElementGetValue .
         castToHTMLInputElement >=> (channel chan)))

onKeyPress :: MonadState HTMLElement m => DOMEvent Int -> m ()
onKeyPress (DOMEvent chan) = on "keypress" f
  where
  f evt = do
    t <- fromJSRef evt
    for_ t
         (uiEventGetKeyCode .
          -- A little messy, but we're working with a dom-delegator 'KeyEvent' here.
          (unsafeCastGObject :: GObject -> UIEvent) .
           toGObject >=> chan)

DOMEvent is from here: https://github.com/boothead/oHm/blob/master/src/Ohm/DOMEvent.hs
I use DOMEvent as the entry point to stuff messages into a channel, with Contravariant instance use to convert the information coming out of the handler to an Event type.
Note that all the above requires dom-delegator.


docs: add note about lowercase component identifiers

As the title says, and we discussed in Discord,
here i added a little note to the upgrade guide and
the view function documentation about using lowercase
identifiers only.

Closing as this was a bug, fixed by https://github.com/hybridly/hybridly/commit/4fc8e199baa11ff719c6bf9c6b0807191dbb1d3d


Some packages' pictures can't be loaded on IE

Repro step:
• Navigate to https://makecode.microbit.org/packages
• Drag down the scrollbar to observe packages on all browsers
Expected result:(Edge, Chrome & Firefox)
All packages should show normally on this page

Actual result:(IE)
Some packages' pictures can't be loaded on IE

I have moved this issue to https://github.com/Microsoft/pxt-microbit/issues


Confusing statement

The document says:
Inter-region traffic cannot be inspected by Azure Firewall or NVA.
but it also says:
l branch and Virtual Network traffic in and out of the Virtual WAN Hub including inter-hub traffic will be forwarded to the Next Hop Azure Firewall resource or Network Virtual Appliance resource that was specified in the Private Traffic Routing Policy.
what is the difference between inter-hub and inter-region? Which statement is true?

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

ID: 01a48b53-499f-a9d1-a2fe-eefe9e3170b5
Version Independent ID: 501f40bd-ff77-b30c-7981-f777d24070a8
Content: How to configure Virtual WAN Hub routing policies - Azure Virtual WAN
Content Source: articles/virtual-wan/how-to-routing-policies.md
Service: virtual-wan
GitHub Login: @wtnlee
Microsoft Alias: wellee

@marcelkmfst
Thanks for your feedback! We will investigate and update as appropriate.

@marcelkmfst Both the statements are correct.
Inter-region traffic cannot be inspected by Azure Firewall or NVA.
Wrt, "Inter-hub traffic will be forwarded to the Next Hop Azure Firewall resource or Network Virtual Appliance",

The above limitation still applies.
However, when the Hubs are in the same region, the traffic can be forwarded to Az Firewall or NVA

P.S
Inter-hub traffic - Traffic from one Hub to another Hub which may be in the same region or different region
Inter-region traffic - Traffic from one region to another region


python 3.6, django 2.1.1

Coverage increased (+0.06%) to 88.219% when pulling eb38fa3a6853ec348ca49a3f859ac1abae0e26f4 on develop into 27773169a8827905fcf09aed85e0545c1534b179 on master.


Make create date and edit date different

In the bottom toolbar, there are supposed to be both a create date and most recent edit date. However, they are currently the same.

They are the same because the plugin pulls dates from the git commit history that affects each file. Since the Docs Home page was created and last modified on December 16, 2023, it shows the same date. However, navigating to
Internal Docs --> Using Jetstream2 for OFO development will show different and accurate dates per the commit history.
With this behavior, the update date best reflects when each page was last updated.
Another possible implementation could be to update the last edited date of a page if one of its child pages got edited. Since the main heading pages are not likely to be updated much after creation, we could have their last update date reflect the most recently updated child date. The current extension we are using does not support this and I'm not sure if other date extensions do either. But if this is a good idea, I can take a look into it.
What do you think?

Huh! In my browser, the Using Jetstream2 for OFO development page shows the same create and modify date! (I checked in Firefox and Chrome.) In your browser, they are different?

I'm ambivalent on whether we need to update the date of parent pages if a child gets updated. My inclination is no, because often we may have actual content on the parent pages, and I think we'd want it to reflect the edit date of that page.

I was about to post the same thing! Using Windows and Chrome.

Notably, all the edit dates are the same for me, April 24th. That is the last commit to the repository.
I'll defer to @youngdjn here on the child pages, but my initial reaction is similar.

I agree I think the best option is to have the default behavior.
So this is strange but the same dates show for me also when I open the website on Chrome on my Mac, but when I run mkdocs serve to test locally the correct dates appear across the entire site. And this is with the current code in the repository. Not sure at all why this is happening, but I'll look more into it.

One idea is that it has to do with how the site is being built and served (GitHub pages) and the versions of MkDocs and its plugins that are installed there.

Resolved with PR #8


some services/replicationControllers and related pods are not connected in the context graph.

In the cassandra cluster setup, two of the services are not connected to their respective pods: cassandra and monitoring-heapster. In the case of cassandra, the replication controller and pods are not connected either. The heapster rc is fine - it has the expected link to its pod.
The selector for the service/rc, and the label for the pods do have a match in both cases. Here is the status from the dev cluster (the-pentameter-90318):
For cassandra:

Service: cassandra
Service Selector: name=cassandra
Pods (4): cassandra-a6pnt, cassandra-a8pbs, cassandra-hnj3i, cassandra-svacm
Pod labels: name=cassandra
Replication Controller: cassandra
Replication Controller selector: name=cassandra

For heapster:

Service: monitoring-heapster
Service Selector: name=heapster
Pod: monitoring-heapster-controller-1gapo
Pod labels: kubernetes.io/cluster-service=true,name=heapster

Closed by pull request https://github.com/google/cluster-insight/pull/43.


As a user I want to be able to create a group

Create functionality for groups
Add documentation to readme

backend is created for this story, just need to add docs to integrate with frontend


The current download link added

And optionally an image for app store download.

Moving image to user-images on github:

Thanks!


Allow the ApiVersion of the ingress to be specified for 6.5 branch

This is a backport of #697
When using ArgoCD to apply the helm chart to clusters > k8 1.22 the wrong ingress type is being rendered extensions/v1beta1 is being used rather than 'networking.k8s.io/v1'
This happens because under the hood ArgoCD runs helm template and applies the resulting yaml to the cluster. Currently Argo does not pass --validate when doing the helm template which means the .Capabilities.APIVersions.has calls don't work see https://github.com/helm/helm/issues/10760 and https://github.com/argoproj/argo-cd/issues/3640
This PR allows the APIVersion to be overridden in the values
We are currently working around this by turning off the Ingress in the chart and creating our own

will be fixed as part of #701


⚠ Processors has degraded performance

In 6400e89, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 50 ms

Resolved: Processors performance has improved in 5b64e9b.


⚠ St. Lawrence Global Observatory CKAN has degraded performance

In 21dd9f2, St. Lawrence Global Observatory CKAN (https://catalogue.ogsl.ca/en/) experienced degraded performance:

HTTP code: 200
Response time: 13412 ms

Resolved: St. Lawrence Global Observatory CKAN performance has improved in f89442f after 22 minutes.


Ansible Log not displaying correctly as show in example png

Team City: 2017.2.1

it seems like there is no more colon after TASK.
eg, "TASK:"
1520470362184|
1520470362184|TASK [Include tasks] ***********************************************************
1520470362286|included: /opt/buildagent/work/4a24283d8b37c1cb/justai-web01.yml for localhost
1520470362316|included: /opt/buildagent/work/4a24283d8b37c1cb/justai-db01.yml for localhost
1520470362354|
1520470362354|TASK [Ensure SCM code master - justai-web01] ***********************************
1520470368684|changed: [localhost -> localhost]
1520470368715|
1520470368716|TASK [Ensure SCM code master - justai-db01] ************************************
1520470378087|changed: [localhost -> localhost]
1520470378106|
1520470378106|TASK [Gather Facts of all VMs in Virtual Center or ESXi.] **********************
1520470379972|ok: [localhost -> localhost]


Defer users and channels creation

This one is a bit weird I admit, but our Slack team have over 1200 users and 1000 channels. So the insertion on boot actually takes 2 good seconds. Which mean 2 additional seconds of downtime on every deploy.
@jimmycuadra @pallan @sirupsen for review please.

Seems fine to me as long as the tests get updated.

Ouch, totally slipped my mind.

@jimmycuadra tests fixed!

Looks like one is still failing. >_<

Damn that's a race condition :/. Maybe it's best to forget this. I can monkey patch it from my end.


bug: quickfix list does not contain all errors from clist

Did you check docs and existing issues?

[X] I have read all the trouble.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of trouble.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0
Operating system/version
Ubuntu 22.04
Describe the bug
Trouble drops some entries from the quickfix list.
Steps To Reproduce

Do something that results in the quickfix list being populated with many entries. For example, open neovim with nvim -q errors.txt (or nvim -u repro.lua -q errors.txt) using this errors.txt.
Open the Trouble quickfix window, e.g., :Trouble quickfix toggle.
Run :clist or :copen to see that it contains entries not found in Trouble. In particular, in the attached errors.txt, the first entry is missing.

Expected Behavior
The entire list of errors is there.
(For example, in the attached errors.txt, there are 539 errors, but Toggle only shows 200 of them.)
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/trouble.nvim", opts = {} },
    -- add any other plugins here
  },
})

Sorry, I missed the max_items limit.

However, it's still weird (and I think a bug) that the first item is acted upon by neovim (in that it opens the file to that line), but that line then doesn't appear in the Trouble quickfix window. If the number is truncated to max_items, then either the first line should be included among the max_items, or neovim should act on the first line which is actually included in the list.
Also, it may be helpful to display a message when the max_items limit is exceeded so the user has an indication that this is the case.


Mitigate calculator deceiving behavior

Description of the new feature / enhancement
Do not offer a calculator solution when a number in the query doesn't match current locale.
For example, with french regional settings, one is expected to type in 4,017*5863,46 rather than 4.017*5863.46. But for both queries a calculator result is presented... with one dead wrong (screenshots from v0.64.1):

With such settings, it would be less prone to bad surprises to not present the first result at all, and maybe offer to fix the query with a result along the lines of

Did you mean 4,017*5863,46?

which, when selected, would replace the input and then present the (correct) result.
Scenario when this would be used?
This could avoid errors for anyone using the calculator on any computer where the regional settings are different from what one is used to.
Supporting information
This proposal is directly linked to the regional settings mentioned in #19741. The solutions from there (changing system or PT settings) are simple and correct, and the issue is easily worked around.
The problem is that it's taken me months before discovering this issue since even with the "wrong" decimal symbol results are wrong only in some circumstances (leading zeroes afer the decimal point) and correct in all other cases. That makes thoses cases viciously hard to detect (at least to me) and I probably have used false results without noticing it.

Yes, this is a complicated situation. There's a setting that deals with the decimal. Linking #2265 and #24611
@crutkas @jaimecbernardo @htcfreek we need a fix for this asap. Don't want any buildings crashing down because PowerToys is responsible for bad calculations, or anything like that...

@Jay-o-Way , perhaps we should make the "Use English (United States) number format for input" the default, since it seems that's how people expect it? 🤔

@jaimecbernardo it's not about the decimal character. There is a fault in the Mages which converts the fractional part into a number and the leading zero's get trimmed off.

/dup https://github.com/microsoft/PowerToys/issues/2265


App not compilable

App not compilable -  gradle says there is no debug configuration

I just grabbed the app, along with CastCompanionLibrary and followed the instructions (used ./gradlew build) and it build with no issues. Make sure your SDK is up to date.

the app suppose to compile and deploy directly by the android studio...

When you do "./gradlew build" from command line, does it compile correctly?

Finnaly i managed to have it working. Thanks!
One issue out of the subject, I spent entire day and I didn't manage to have ChromecastAudio working, the cast icon is always in disconnected state.
Is is a special setting to have it connected?
For chromecast 2 same code connects to it, For ChromecastAudio the icon is showing as disconnected even if i selected the right route, and using the latest libraries.
            MediaRouter.RouteInfo route = (MediaRouter.RouteInfo)getItem(position);
            if (route.isEnabled()) {
                route.select();
                dismiss();
            }

There is nothing special about Chromecast Audio vs the regular one in terms of making connection.


ARROW-6751: [CI] Fix ccache setup on Travis-CI

Results on my Travis-CI account:

cold cache: https://travis-ci.org/pitrou/arrow/builds/592012416
warm cache: https://travis-ci.org/pitrou/arrow/builds/592036982

For some reason, it seems caching doesn't work on OS X builders?

Well, of course, the reason "caching doesn't work on OS X builders" is that we disable it.

Full Travis-CI build: https://travis-ci.org/pitrou/arrow/builds/592231651
Will merge once green.

As the comparison above shows, 1.5 hour of CPU time was saved on a full build with warm cache.


SegmentedButton visibility issue

I think I found the bug with this control when button is removed, ie its visibility is set to View.Gone, since the number of dividers stays the same.
This is the initial state of SegmentButtonGroup view:

Now, I wish to change the visibility of last button (red ball and its id is "other")  every time I click on "Show/hide" button:
    show_hide.setOnClickListener {
            other.visibility = if (other.visibility == View.GONE) View.VISIBLE else View.GONE
            // segmented_choices.requestLayout()
        }

No matter if I use the last line (in onClickListener example above is commented) segmented_choices.requestLayout() or not, I get the following layout:

As you can see, the number of dividers stays the same. Is there a way to fix it?
XML layout is very simple:
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout
            xmlns:android="http://schemas.android.com/apk/res/android"
            xmlns:app="http://schemas.android.com/apk/res-auto"
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            >

        <com.addisonelliott.segmentedbutton.SegmentedButtonGroup
                android:id="@+id/segmented_choices"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_margin="4dp"
                app:borderColor="@color/colorPrimary"
                app:borderWidth="1dp"
                app:divider="@color/colorPrimary"
                app:dividerWidth="1dp"
                app:radius="4dp"
                app:ripple="false"
                app:selectedBackground="@color/colorPrimary"
                app:position="0"
                >
            <com.addisonelliott.segmentedbutton.SegmentedButton
                    android:id="@+id/favourites"
                    android:layout_width="0dp"
                    android:layout_height="30dp"
                    android:layout_weight="1"
                    app:drawable="@drawable/sport_athletics"
                    style="@style/SegmentedItemImage"

                    />
            <com.addisonelliott.segmentedbutton.SegmentedButton
                    android:id="@+id/sport1"
                    android:layout_width="0dp"
                    android:layout_height="30dp"
                    android:layout_weight="1"
                    app:drawable="@drawable/sport_football"
                    style="@style/SegmentedItemImage"
                    />
            <com.addisonelliott.segmentedbutton.SegmentedButton
                    android:id="@+id/sport2"
                    android:layout_width="0dp"
                    android:layout_height="30dp"
                    android:layout_weight="1"
                    app:drawable="@drawable/sport_basketball"
                    style="@style/SegmentedItemImage"
                    />
            <com.addisonelliott.segmentedbutton.SegmentedButton
                    android:id="@+id/sport3"
                    android:layout_width="0dp"
                    android:layout_height="30dp"
                    android:layout_weight="1"
                    app:drawable="@drawable/sport_icehockey"
                    style="@style/SegmentedItemImage"
                    />
            <com.addisonelliott.segmentedbutton.SegmentedButton
                    android:id="@+id/sport4"
                    android:layout_width="0dp"
                    android:layout_height="30dp"
                    android:layout_weight="1"
                    app:drawable="@drawable/sport_voleyball"
                    style="@style/SegmentedItemImage"
                    />
            <com.addisonelliott.segmentedbutton.SegmentedButton
                    android:id="@+id/other"
                    android:layout_width="0dp"
                    android:layout_height="30dp"
                    android:layout_weight="1"
                    app:drawable="@drawable/sport_default"
                    style="@style/SegmentedItemImage"
                    />
        </com.addisonelliott.segmentedbutton.SegmentedButtonGroup>

        <Button
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
            android:text="Show/Hide"
            android:id="@+id/show_hide"
            />
    </LinearLayout>

Hmm, I don't doubt this is a bug. I haven't done much testing or experimentation with showing or hiding buttons.
You're welcome to tackle this bug if you want, otherwise I'll get to it when I find some time (it's been hectic lately).
By the way, this was a good bug report! Just enough detail and explanation

Thank you very much!

FYI,
I addressed this in #20. I tested on API 19, 21, 26, & 29 and it worked as expected.
A couple of notes:

It's up to the developer to make sure the currently selected button is not being hidden. Otherwise, nothing will be selected once that button is hidden. If you want to hide the current button, just change the selected button to be to the left or right of that one.
SegmentedButton.setVisibility can be used as expected to show and hide the buttons.
Some weird results are likely to occur if the button is being animated from one spot to the next and a button is shown/hidden simultaneously
I tested this PR as much as I could, but it's not improbable there is bugs. Please let me know and I can fix them as they come up!

Thanks!

Great, it's working now!


Fixes 1378 - Add Ruby 3.1 and Rails 7.0 to the CI matrix

This PR adds Ruby 3.1 and Rails 7.0 to the CI matrix.  In addition to the change to the basic GitHub Actions YAML, the following changes were required:

In test/test_helper.rb restrict setting config.active_record.sqlite3.represent_boolean_as_integer to Rails version 5.2.x
In test/unit/resource/resource_test.rb there's no guarantee on the ordering of classes returned by subclasses, so loosen the spec to pass if the correct subclasses are returned in any order.
Updated the CI configuration to pull the latest patch version for each minor version of Ruby and Rails.

All Submissions:

[X] I've checked to ensure there aren't other open Pull Requests for the same update/change.
[X] I've submitted a ticket for my issue if one did not already exist.
[X] My submission passes all tests. (Please run the full test suite locally to cut down on noise from travis failures.)
[X] I've used Github auto-closing keywords in the commit message or the description.
[X] I've added/updated tests for this change.

Test Plan:
Reviewer Checklist:

[ ] Maintains compliance with JSON:API
[ ] Adequate test coverage exists to prevent regressions

@lgebhardt @dgeb need help going through these?

I've updated this to the include Ruby 3.2 and the latest Rails patch versions.
@lgebhardt or @dgeb is anything else required for this PR?  Is this gem being maintained at this point?

@petergoldstein Merged! Thanks for your contribution.


Misleading parameter

Issue in ./help/sources/connectors/databases/bigquery.md
The table about credentials mentions the "largeResultsDataSetId"; based on the explanation it seems that is required only for "large" dataset, without specifying what large means (1M or 1B rows?). In my experience the datasetId is always needed otherwise the API call is not able to fetch the table during the "add data" process.
Can you please double check and amend?
Thanks

Thank you for submitting this issue. We will review the documentation and make the necessary updates as quickly as possible. Tracking internally in PLAT-192336.


<Toaster/> container not reactive for props theme

If I write this code, I want to change the theme.
export const SonnerContainer = () => {
  const isDark = useIsDark()
  return (
    <Toaster
      richColors
      closeButton
      duration={6666}
      theme={isDark ? 'dark' : 'light'}
    />
  )
}

But props theme is not reactive.
https://github.com/emilkowalski/sonner/blob/main/src/index.tsx#L385

This has been fixed in #103. You can update to the latest version to have it working again


Have memory leaks occurred when loading glTF 2.0 version of Buggy.gltf?

Grimoire.js + glTF 1.0 Result:

Grimoire.js + glTF 2.0 Result :

[NG] Windows 10 + Chrome 58.0.3029.110
[NG] Windows 10 + Firefox 53.0
[OK] Mac OS X10.12 + Chrome 58.0.3029.110 (displayed but heavy)
[OK] Mac OS X10.12 + Firefox 49.0 (displayed but heavy)

I couldn't reproduce this problem even with Windows10.

This problem was due to WebGL Inspector.

When it was invalidated, memory consumption was reduced.
before

after


[FLINK-2116] [ml] Reusing predict operation for evaluation

This PR adds an evaluate method to Predictor which takes a DataSet[Testing] and returns a DataSet[(LabelType, LabelType)], where the first tuple field is the true label and the second field denotes the predicted label. The evaluation logic is defined via a EvaluateDataSetOperation.
Since predicting test data and evaluate test data both use the same prediction logic, a new level  of abstraction was introduced. The old PredictOperation is now called PredictDataSetOperation and a new PredictOperation was defined. The PredictOperation takes an element of the dataset as well as the model of the associated Predictor and calculates one prediction.
If one wants to implement the predict operation of a Predictor then one can do it on the level of PredictDataSetOperation which gives you access to the DataSet of input elements or on the level of PredictOperation. If one chooses the latter, then the system will automatically apply this operation to all elements of the input DataSet (see Predictor.defaultPredictDataSetOperation).
Having defined a PredictOperation allows to automatically call evaluate for this Predictor without having to define a EvaluateDataSetOperation. The only constraint is that the input data has to be DataSet[(TestingType, LabelType)]. The input is thus a tuple with a testing value and the true label value. The system will then calculate the prediction for the testing value and return a DataSet[(LabelType, LabelType)] where the first field value of the tuple is the true label value and the second field value is the predicted label value.
What do you think of these changes? Will they ease the development of future Predictors?

Great. This is exactly what I had in mind.
There is perhaps another feature we could incorporate. Every algorithm has some performance measure to so it can be evaluated on a test data set. We could incorporate this as a parameter in the model. As soon as evaluate gets called, this parameter is set to the performance value. It could be squared-error for MLR, or F-score and accuracy, etc. for SVM, and so on.
User accesses this performance measure with a simple instance.get and (most likely) prints it, so we don't need to make it of the same type across different algorithms. Every Predictor can have its own performance object.

I created a JIRA ticket for the evaluation of predictors. I think we should deal with it separately in order to keep the PR small and reviewable. But I agree, this is an important feature for any ML library.

OK so as I understand it this PR is about splitting the prediction with Vector and LabeledVector input into two functions instead of one as it is now.
This allows us to avoid some code duplication and have better defined semantics. I'm fine with that.
I would change the name from Evaluate and evaluation to something different though. Evaluation for me means making predictions and evaluating the result using some aggregating metric. The result of an evaluation should be a score (real number).
Something like labeledPrediction or predictLabeled makes more sense. Any other suggestions?

Actually I wouldn't call it predictSomething, because then we're again quite close to the former problem that we have a method whose semantics depend on the provided type. And this only confuses users.
My concern is that the user does not really know what predictLabeled means. Apparently it is something similar to predict but with a label. But what is the label? Does it mean that I can apply predict on T <: Vector and predictLabeled on LabeledVector? Does it mean that I get a labeled result type? But don't I already get it with predict? Do I have to provide a type with a label or can I also supply a vector?
IMO, the prediction which also returns the true label value deserves a more distinguishable name than predictSomething, because it has different semantics. I can't think of something better than evaluate at the moment. But it makes it clear that the user has to provide some evaluation DataSet, meaning some labeled data.

So I guess we are keeping the naming for now. If we come up with something to avoid confusion with Scorer.evaluate() in the future we can take another look at this.

Yeah, it's not carved into stone. I mean this holds true for the whole library.


Add Content-MD5 header when staging blocks

It's trivial to calculate the md5 sum for the chunk provided (do it here?):
        chunk, err := ioutil.ReadAll(body)
        if err != nil {
                return req, pipeline.NewError(err, "failed to read request body")
        }
        body.Seek(0, io.SeekStart)
        md5sum := md5.Sum(chunk)
	req.Header.Set("Content-MD5", base64.StdEncoding.EncodeToString(md5sum[:]))

Or allow the user to pass the option to include the header when staging the block

Yes, StageBlock and Upload could allow you to pass the Content-MD5 value. We will consider adding this in a future release. The SDK will not calculate it for you automatically (for several reasons; one of which is the performance hit).
I am curios though: Why do you think using the MD5 is useful? TCP alrady includes checksum values to ensure that bits travel safely over the network and calculating MD5 is a huge performance hit. In addition, it is possible that a bit has flipped BEFORE you calculate the MD5 hash and now you are guaranteed to persist bad data.
So, this dubious value of MD5 is why our SDK currently does not support MD5 checking. But, I'd love to hear your feedback about this in case I'm missing something.

I realize the potential redundancy here.
I will be using it in a situation where the value is calculated in memory (server is using ECC RAM), but the file is dumped to disk before being uploaded.
I assume the option was provided by the Azure API creators with some use-case in mind and data integrity is key for my use case, so I'd like to assume the worst and leverage whatever I can to ensure my bits arrive safely and as intended.

This was fixed in version 0.2.0.


Add diffpy, built from my py3-compat PR.

Thanks for putting this together. One small request. The pattern that afaik all other recipes follow is /recipes/{{ project_name }}/{{ project_revision }}/meta.yaml.  Can you put these files inside something like /recipes/diffpy/py3-compat/meta.yaml

Oh, also, could we name this folder diffpy.srxplanar, not diffpy, since there are a number of other diffpy projects?

Closing. I do not think we will be distributing this package.


luci-theme-openwrt-2020: disabled button text wrap

luci-theme-openwrt-2020: disabled button text wrap

This was added intentionally to allow long button labels to wrap on narrow screens.

@jow- On the software page, the screen width is enough, but the button text also wraps.


Fix gcc-11 warnings: signed/unsigned integer comparison, unused variables

@kdt3rd, @meshula, @peterhillman, @lgritz, these seem fairly benign, but I'd still like some other eyes on it, can someone look it over?


BUG: HDK's lazy computation tree may grow so big that it hits python's recursion limit

Modin version checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest released version of Modin.

[X] I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)

Reproducible Example
import modin.pandas as pd
import pandas
import tempfile
import sys

n_concats = 500

df = pd.DataFrame()

with tempfile.NamedTemporaryFile() as file:
    pandas.DataFrame({"a": [1, 2, 3, 4]}).to_csv(file.name, index=False)

    for _ in range(n_concats):
        chunk = pd.read_csv(file.name)
        df = pd.concat([df, chunk])

    op = df._query_compiler._modin_frame._op

    depth, stack = 0, [op]
    while stack:
        node = stack.pop()
        depth += 1
        if hasattr(node, "input"):
            for i in node.input:
                stack.append(i._op)

    print(f"computation tree depth: {depth}") # 1997
    print(f"max depth allowed: {sys.getrecursionlimit()}") # 1000

    try:
        print(df)
    except RecursionError as e:
        print(f"A recursion error has occurred when tried to operate on the frame: {e}") # it actually occurs

Issue Description
HDK backend uses recursive functions to walk through its lazy computation tree, we should reimplement it to a non-recursive approach in order to not hit the limit.
Expected Behavior
Not to fail
Error Logs

computation tree depth: 1997
max depth allowed: 1000
A recursion error has occured when tried to operate on the frame: maximum recursion depth exceeded in comparison

Installed Versions

Replace this line with the output of pd.show_versions()

It would also fail with one big concatenation as HDK doesn't support multiple arguments on rows join and so this is converted to a sequence of binary union operations:
chunks = []
for _ in range(n_concats):
    chunks.append(pd.read_csv(file.name))
df = pd.concat(chunks)
print(df) # RecursionError as well

From a high-level view these are the places we should consider rewriting:

.run_sub_queries() https://github.com/modin-project/modin/blob/46d2cb5851efff580c8e469ced7d80592b1411d9/modin/experimental/core/execution/native/implementations/hdk_on_native/dataframe/dataframe.py#L1934
._can_execute_arrow() https://github.com/modin-project/modin/blob/46d2cb5851efff580c8e469ced7d80592b1411d9/modin/experimental/core/execution/native/implementations/hdk_on_native/dataframe/dataframe.py#L1951
the way we execute arrow (the ._execute_arrow() method is called reqursevely on each node that can actually be executed through arrow): https://github.com/modin-project/modin/blob/46d2cb5851efff580c8e469ced7d80592b1411d9/modin/experimental/core/execution/native/implementations/hdk_on_native/dataframe/dataframe.py#L1977
.walk_dfs(): https://github.com/modin-project/modin/blob/46d2cb5851efff580c8e469ced7d80592b1411d9/modin/experimental/core/execution/native/implementations/hdk_on_native/df_algebra.py#L175
calcite builder logic: https://github.com/modin-project/modin/blob/46d2cb5851efff580c8e469ced7d80592b1411d9/modin/experimental/core/execution/native/implementations/hdk_on_native/calcite_builder.py#L805-L808

Using the recursion for tree walks is a common approach. We can try to rewrite all our walkers to use loops and additional structures instead, but is it really better? Can we simply increase the limit using sys.setrecursionlimit?

As an option: catch RecursionError in _execute method, use a loop algorithm to compute the actual tree depth and set the new limit accordingly as depth * cst, and retry one more time.

I reported this internally, just so you know, when we tried increasing the recursion limit to suffice, a segmentation fault (core dumped) error was thrown, not sure this would work

sys.setrecursionlimit(10000) before all loops works for me :)

sys.setrecursionlimit(10000) before all loops works for me :)

but for n_concats=2000 I see a segfault indeed. thanks @dchigarev for great reproducer btw


Multi-word program name

There might be a need to allow multi-word program names as follows
Usage: python program.py [options]

or
Usage: python3 program.py [options]

or
Usage: python program.zip [options]

Even something like:
Usage: python -v program.py [options]

or
Usage: python -m module [options]

There is no obvious way to do it right now in docopt. Any feedback is appreciated.

Is this needed?
If yes, what should API look like?

Ok, after some thought and #262 I'm reconsidering this. One reason is that I'm working on a PEG grammar for docopt, and program name could not really be parsed with PEG without knowing it in advance. It could be extracted with a regex, but providing it as program= smoothes it out (falling back to regex as a default).

We just need to decide on the keyword name. program?  POSIX calls that utility_name, so maybe that?

I like "program" because it sounds more natural.
—
Sent from Mailbox
On Tue, Feb 24, 2015 at 11:20 AM, Vladimir Keleshev
<EMAIL_ADDRESS>wrote:

Ok, after some thought and #262 I'm reconsidering this. One reason is that I'm working on a PEG grammar for docopt, and program name could not really be parsed with PEG without knowing it in advance. It could be extracted with a regex, but providing it as program= smoothes it out (falling back to regex as a default).
Reply to this email directly or view it on GitHub:
https://github.com/docopt/docopt/issues/41#issuecomment-75739324

Without this problem fixed, it limits the ability to use docopt for samples that run with your library.
For example:
GenLib
    __init__.py
    genlib/
        __init__.py
        genlib.py
    samples/
        __init__.py
        S1/
            __init__.py
            s1.py

And then s1.py:
"""Sample 1 for Generic Library

Usage: python -m GenLib.samples.S1.s1

"""

from docopt import docopt

if __name__ == '__main__':
    args = docopt(__doc__)

And then making the call like in the usage:
$ python -m GenLib.samples.S1.s1

This fails and docopt prints the usage information.

@Darthfett if you or someone else can submit a pull-request, I'll merge it. Hint: you need to change how formal_usage function converts from usage: prog foo bar prog baz into ( foo bar ) | ( baz ):
https://github.com/docopt/docopt/blob/463d780a698cbacb1cf5590ae849b8f890baf25d/docopt.py#L470
Another hit: base your work on 0.6.x branch, not master.

Just had the problem as well, I tried to launch a module with python -m module but Docopt kept displaying the help text. Would love to see this fixed.


Adding versions for a few relevant packages to the ASCII report.

Quick fix so we know what versions are running - we may want to move this to the epidisco report. In the meantime, this is what the new ASCII report header looks like:
Patient ID: Test Patient
VCF (somatic variants) path(s): test/data/b16.f10/b16.vcf
BAM (RNAseq reads) path: test/data/b16.f10/b16.combined.bam
MHC alleles: H-2-Kb H-2-Db
Total number of somatic variants: 4
Somatic variants with predicted coding effects: 4

Package version info
    isovar: 0.5.0
    pyensembl: 1.0.3
    varcode: 0.5.9
    vaxrank: 0.3.0
    mhctools: 0.3.1
---

1) chr9 g.82927102G>T (Phip)
... etc etc

Addresses #44

Coverage increased (+0.1%) to 89.266% when pulling 0e706fb7ddd4ecdb2b012b4b7ed8d9728108eedc on add-package-versions-to-ascii-report into f380b80df11ba4e7429065cbd413126b4d6f78b1 on master.

LGTM!

What's the holdup on merging this PR?

Post conversation with @iskandr , I wanted to add this info to the HTML/PDF report first, then got distracted by NIPS - apologies, will finish out now


Bug: exponents in paths are broken

Hi!
Consider the following path:
M 5.29551E-05 0 L 300 0 L 150 300 z
Then it cannot be determined, whether the point is inside or outside.

There's specific code to handle exponents: https://github.com/rubenv/point-in-svg-polygon/blob/79eefc5736dc2625ad82bcd4172f013b4ed3cac6/lib/index.js#L321-L333
https://github.com/rubenv/point-in-svg-polygon/blob/79eefc5736dc2625ad82bcd4172f013b4ed3cac6/test/segments.js#L57-L62
What failure are you seeing?

How to reproduce:
var p = "M 5.29551E-05 0 L 300 0 L 150 200 z";
var segments = splitSegments(p);
var result = isInside([50, 50], segments);
console.log(result);

Will output false. Then change 5.29551E-05 to 0 and the output will be true.

Great, found the issue, this was a bug related to the handling of negative exponents. Thanks a lot for reporting this!

Published as v1.0.18.


Mac Activity Monitor says KBFS is using 18GB of RAM

MacBook Pro with 16GB RAM.  This may not be a serious problem given that I've been copying groups of files into KBFS. The largest was a 700MB group of files, and I didn't let KBFS relax before doing the next group of files.  As things got slow keybase noticed and asked me to send logs.  I then checked Mac Activity Monitor.  kbfs appears to have exploded in memory usage (some of it must actually be virtual memory since I only have 16GB of RAM on this machine.)
my log id: 15d717316c201456bc46e71c
There is nothing I need right now.  I'm just letting keybase catch up with all the encryption it needs to do.

KBFS is written in Go, which is notorious for not releasing virtual memory (but that doesn't actually matter usually to your system). The important thing to look at is the resident memory.  If it's more than 1.5-2 GB or so, that could indicate a problem.

Thank you, strib!  Java is not much better with releasing virtual memory.  I love Go, though.
On a newly restarted Mac, Activity Monitor tells me it is using 150-200M, however htop tells me it is using 436M resident (and 4G virtual).  I'm not sure if I should believe htop or Activity Monitor.
The next time Activity Monitor reports high usage I'll check htop to compare.  Thank you again.


Deprecation of module inspect on python 3.11

Python 3.11.3 on Arch Linux
File "/usr/lib/python3.11/site-packages/pulsectl_asyncio/__init__.py", line 1, in <module>
    from .pulsectl_async import PulseAsync
  File "/usr/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 66, in <module>
    class PulseAsync(object):
  File "/usr/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 311, in PulseAsync
    card_profile_set_by_index = _pulse_method_call(
                                ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 303, in _pulse_method_call
    func_args = list(inspect.getargspec(func or (lambda: None)))
                     ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?

I use the aur version (tried rebuild, clean install and stuff), it must be out of date, and the -git version doesn't build properly, guess ill fallback to the pipy version

I use the aur version (tried rebuild, clean install and stuff), it must be out of date, and the -git version doesn't build properly, guess ill fallback to the pipy version

Oh, I didn't know someone built an AUR package from this Python package. Could have done that myself, I guess, but I wasn't aware that people would use and install it that way.
Can you please flag the AUR package as "out of date" so the maintainer can look after packaging the latest version? If they do not react to it; I may look if I can and should take the maintainership of the AUR package.

Done it so, let's hope they fix it soon


The location icon in member's profile is not aligned well with the text next to it

This issue is a duplicate of #109. Resolved in #125.

This issue is a duplicate of #109. Resolved in #127.

Apologies, I didn't notice that the issue has been already opened by Issa. I'll therefore close this issue.  Thanks @itsmohmans

@itsmohmans @alsahawneh please do not close any issues without referring to me first.


Trailing errors when using space in key

While debugging the Django tests I found that pylibmc's flush_all reports an error when you have just set a erroneous key with a space:
>>> c = pylibmc.Client(['<IP_ADDRESS>:11211',])
>>> c.set('test', 'value')
True
>>> c.flush_all()
True
>>> c.set('test with a space', 'value')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
_pylibmc.SocketCreateError: error 11 from memcached_set: SUCCESS
>>> c.flush_all()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
_pylibmc.SomeErrors: error 19 from flush_all: SUCCESS
>>>

There seems to be a bit of lag in it, because after a short amount of time the flush will succeed.
This is on pylibmc 1.2.3 with libmemcached 1.0.15 and memcached 1.4.15

Just checking I'm understanding this correctly:

unlike python-memcached, pylibmc does not verify keys by default (due to the default libmemcached behaviour)
key verification can be enabled by using the verify_keys behaviour option, but presumably has a performance impact, so it's common for people to not enable it
if verify_keys in not enabled, using .set('key with spaces', 'value') results in the key being sent as-is to the server
if the server receives such a key, it currently handles it poorly (if not using binary mode), causing subsequent commands to fail for a few seconds, when really it should have immediately returned a sensible error code, like happens for the "key too long" case

-> all of this means it's just a bug in memcached server, which pylibmc can't do anything about & that workarounds for the user are to either use verify_keys or else use binary mode
Is this correct?
Thanks :-)


Data context inheritance

Make this possible
{{isActiveRoute 'showUser'}}

Where the data context of the template have the user object and it's _id property will be used for specifc route matching.
The data context inheritance was previously implemented but brought foreseen problems.
To not get that again, either use an option to enable this feature or filter out active-route attribute options from the data context.
Connected to #31.

This is implemented like this {{isActiveRoute 'showUser' data=userObject}} in 2.3.3-rc.1


PACKET_IGNORE_OUTGOING should be PACKET_OUTGOING

https://github.com/ZerBea/hcxdumptool/blob/7fedbd0685046f75b9873af36c866bb3c35b75a6/hcxdumptool.c#L7308
On Ubuntu 18.04 PACKET_IGNORE_OUTGOING should be PACKET_OUTGOING

No, because PACKET_IGNORE_OUTGOING and PACKET_OUTGOING have different values:
$ grep -r PACKET_IGNORE_OUTGOING
netpacket/packet.h:#define	PACKET_IGNORE_OUTGOING		23
linux/if_packet.h:#define PACKET_IGNORE_OUTGOING		23

$ grep -r PACKET_OUTGOING
netpacket/packet.h:#define PACKET_OUTGOING		4		/* Originated by us . */
linux/if_packet.h:#define PACKET_OUTGOING		4		/* Outgoing of any type */

By this commit
https://github.com/ZerBea/hcxdumptool/commit/875986ae77465b56b06663eed1b63fc6706350b1
we do not set this socket options on old kernel versions.
Be warned that this increase CPU usage.

No outgoing packets should be ignored on all versions.

By this commit
https://github.com/ZerBea/hcxdumptool/commit/76fb696b597ceac4d0465ee8ea75dca1f76834f8
it should be clear that we are not distribution dependent.

Commits tested on $ uname -r
Arch: 5.17.1-arch1-1
Debian bullseye: 5.15.32+
without issues.

Is there any reason, why we should monitor outgoing packets, too on UBUNTU 18.04?
What kernel version is UBUNTU 18.04 running? $ uname -r
Also please comment the output of:
$ grep PACKET_OUTGOING -r /usr/include
$ grep PACKET_IGNORE_OUTGOING -r /usr/include


Unable to extract OpenGraph title

Following error
C:\Downloads>youtube-dl -i -w -c -r 100k -f mp4 -v -o "%(uploader)s%(playlist)s
%(playlist_index)s-%(title)s-%(id)s.%(ext)s" http://www.youtube.com/playlist?li
st=UUQJ6ESCWQotBwtJm0Ff_gyQ
Waiting for file handle to be closed ...
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', '-w', '-c', '-r', '100k', '-f', 'mp4', '-v', '
-o', '%(uploader)s\%(playlist)s\%(playlist_index)s-%(title)s-%(id)s.%(ext)s',
'http://www.youtube.com/playlist?list=UUQJ6ESCWQotBwtJm0Ff_gyQ']
[debug] youtube-dl version 2013.12.04
[debug] Python version 2.7.5 - Windows-8-6.2.9200
[debug] Proxy map: {}
[youtube:playlist] UUQJ6ESCWQotBwtJm0Ff_gyQ: Downloading page #1
ERROR: Unable to extract OpenGraph title; please report this issue on https://yt
-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its
complete output. Make sure you are using the latest version; type  youtube-dl -
U  to update.
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 429, in extract_info
File "youtube_dl\extractor\common.pyo", line 131, in extract
File "youtube_dl\extractor\youtube.pyo", line 1604, in _real_extract
File "youtube_dl\extractor\common.pyo", line 356, in _og_search_title
File "youtube_dl\extractor\common.pyo", line 344, in _og_search_property
File "youtube_dl\extractor\common.pyo", line 284, in _search_regex
RegexNotFoundError: Unable to extract OpenGraph title; please report this issue
on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag an
d include its complete output. Make sure you are using the latest version; type
youtube-dl -U  to update.

youtube-dl --verbose --audio-quality 0 'https://www.youtube.com/watch?v=X0ESbFwt7hk&index=10&list=PLoSPhha8FysVbAnwnhY1TbLLgR5pkmL7g'[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--audio-quality', '0', 'https://www.youtube.com/watch?v=X0ESbFwt7hk&index=10&list=PLoSPhha8FysVbAnwnhY1TbLLgR5pkmL7g']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.06
[debug] Python version 2.7.8 - Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist PLPLoSPhha8FysVbAnwnhY1TbLLgR5pkmL7g - add --no-playlist to just download video X0ESbFwt7hk
[youtube:playlist] PLoSPhha8FysVbAnwnhY1TbLLgR5pkmL7g: Downloading page #1
WARNING: [youtube:playlist] PLoSPhha8FysVbAnwnhY1TbLLgR5pkmL7g: Playlist page is missing OpenGraph title, falling back ...
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1510, in _real_extract
    playlist_title = self._og_search_title(page)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 425, in _og_search_title
    return self._og_search_property('title', html, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 413, in _og_search_property
    escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 353, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 493, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 158, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1516, in _real_extract
    r'
(.*?)
', page, u'title')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 363, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 353, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

Same problem here with the latest version as for now.

@hakermania Your version is over a year old. Since we release nearly every day, I cannot fathom why you'd think of it as the latest. Running sudo youtube-dl -U once should be sufficient to update.

You are absolutely right. I was almost sure that it wrote 2015 there and not 2014. My bad.


Not working in Safari

Not Supported for safari, I'm getting this error.
ReferenceError: Can't find variable: AudioContext
Not familiar with working on this code but I'd like to try and help! I'll make a fork and try to fix it there.
References I will use:
https://github.com/amaneureka/T-Rex/issues/5
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=2ahUKEwiFgJPCsMfhAhUKZt4KHaAkDesQFjAAegQIBhAB&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F29373563%2Faudiocontext-on-safari&usg=AOvVaw3kEDo36YZzRZyMotS4zQRj

@KyruCabading  I've noticed that setting the window.AudioContext helped me fix a part of this issue on the newer safari (IOS 12).
window.AudioContext = window.AudioContext || window.webkitAudioContext;

@KyruCabading
review support for AudioContext
https://caniuse.com/#feat=mdn-api_audiocontext

there is Still a issue in Safari , after we make the change with webkitAudioContext , the recording is so messed Up , distorted, does someone have any idea why?

@LovaszNorbert facing the same issue, did u find any solution for this?

facing the same issue too

I am also getting the problem where the recording is distorted in safari, but only on mobile.

I have the same issue, any solution?

The original issue was fixed by #8. The webkit issue, you should probably file a bug in Safari's repo.


Step Functions: Conditional Expressions

Support Conditional Expressions in Step Functions, we currently throw an error.
return taskA() ? taskB() : constant.

@thantos was this fixed in https://github.com/functionless/functionless/pull/280?

It wasn't , but I did make a duplicate ticket...

Closing in favor of https://github.com/functionless/functionless/issues/281


SMTPD decoding errors

Experiencing decoding errors on the smtp service making the trap blind to portion of the spam
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiosmtpd/smtp.py", line 236, in _handle_client
    command = line.upper().decode(encoding='ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 6: ordinal not in range(128)

Hmm, are you able to share a pcap or example email that causes this?

@scrapbird will try to catch one :)

Cheers 👍


Eg. when click-hover on RescriptRelay in:
ReactDOMExperimental.renderConcurrentRootAtElementWithId(
  <RescriptRelay.Context.Provider environment=RelayEnv.environment>
    <App />
  </RescriptRelay.Context.Provider>,
  "app",
)

In general, "Start a build" should never appear when the file is in node_modules I guess.
CC @zth

That prompt is potentially triggered anytime the client opens a file. I'm thinking maybe we shouldn't prompt more than once per project root anyway? We could store that state next to the diagnostics-per-project state, and ensure we only ever show that prompt once.


Migrate testing infrastructure to ava, run tests per package

Progress:

[x] cc
[x] config
[x] core
[x] nvmedit
[x] serial
[x] shared
[x] testing -> only remove package.json deps
[x] transformers
[x] zwave-js

finished in #5460


Bump deployment target consistent with SDWebImage

@dreampiggy Oops, I forgot this restrict, it would crash on older firmware? I think it only just invalid. What about SDWebImageHEIFCoder? SDWebImageHEIFCoder deploy to iOS8 in the podspec.

SDWebImageHEIFCoder does not plan to keep iOS 7 && macOS 9 compatible, because the static binary was built with Xcode 9. And the API using in the master branch use the 5.x API but not 4.x.
If you really want to use it on iOS 7, maybe you can fork and create a compatible branch (change the API to use 4.x's SDWebImageCoder protocol)

@dreampiggy Emm, .a static file only related to platform architecture, like i386、arm64, no relationship with target or system version、Xcode version.
Let's assume that have an app, its minimum target is iOS7, it wants to use SDWebImageAPNGCoder for user who device system is greater than iOS7 but using other format on iOS7 , how user can import it using CocoaPods?

@zhongwuzw The static library was built with iOS 8 min-deployment target version && macOS 10.10 min-deployment target version.
So what you think about this warning by ld was used for ? was built for newer iOS version (9.0) than being linked (8.0)

@dreampiggy You can check the structure of framework, .a has no any system info.


docker 1.2: stop container behaves like kill when using the lxc exec-driver

After upgrading to 1.2 we noticed that our container stop which used to take ~20 seconds now completes in <200ms. This seems to be a combination of 1.2 with the lxc driver only.
$ ### A simple script to demonstrate the issue

$ cat /tmp/x.sh
#!/bin/bash

function cleanup() {
	echo "Interrupt at `date`"
	sleep 12
	echo "Exit for real at `date`"
	exit 0
}

trap cleanup SIGINT SIGTERM
count=0

while true
do
	echo "Hello world: ${count}"
	count=$((count + 1))
	sleep 1
done

$ docker version
Client version: 1.2.0
Client API version: 1.14
Go version (client): go1.2.2
Git commit (client): fde4d17-dirty
OS/Arch (client): linux/amd64
Server version: 1.2.0
Server API version: 1.14
Go version (server): go1.2.2
Git commit (server): fde4d17-dirty

$ ### First with the native exec-driver

$ docker info
...
 Storage Driver: devicemapper
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.1.2.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.0 (Maipo)

$ docker run  -v /tmp/x.sh:/x.sh --entrypoint=/x.sh ubuntu:12.10
Hello world: 0
Hello world: 1
Hello world: 2
Hello world: 3
Hello world: 4
^CInterrupt at Wed Sep  3 05:39:41 UTC 2014
Exit for real at Wed Sep  3 05:39:53 UTC 2014

$ ### Then with the lxc exec-driver

$ docker info
...
Storage Driver: devicemapper
Execution Driver: lxc-1.0.5
Kernel Version: 3.10.0-123.1.2.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.0 (Maipo)

$ docker run  -v /tmp/x.sh:/x.sh --entrypoint=/x.sh ubuntu:12.10
Hello world: 0
Hello world: 1
Hello world: 2
Hello world: 3
Hello world: 4
^C$

$ ## note how Control-C immediately returns and does not wait for the interrupt handler to complete

can you please try with the latest version of docker and lxc 1.0.7

closing as stale please ping me with exact steps to reproduce on the latest version and I will reopen


Bookmark support for elfeed-entry/elfeed-show?

I was reading a very big article and thought i'd bookmark where i'd stopped and read it later with bookmark-set, but it says bookmark-buffer-file-name: Buffer not visiting a file or directory when i try to create it. I've heard bookmarks work with searches, so maybe they should also work with entries, if possible?

I'll try to implement it myself if you don't mind having such a feature.


Tesseract OCR not found

Hi, I am installing this contrib version with travis-ci as follows
pip install opencv-contrib-python

(saving you the fact that the name is in a requirements.txt list). However, even though I install tesseract on Ubuntu 14.04.5 LTS as
sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install tesseract-ocr tesseract-ocr-dev

when I try to use tesseract from within opencv's contributed text module I get
OCRTesseract(33): Tesseract not found.

A quick check on the installed module shows the tesseract library is not even required:
$ sudo ldd /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/cv2.so
linux-vdso.so.1 =>  (0x00007ffcd7d52000)
libz-a147dcb0.so.1.2.3 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libz-a147dcb0.so.1.2.3 (0x00007fab3bda5000)
libavcodec-7625dabe.so.58.6.103 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libavcodec-7625dabe.so.58.6.103 (0x00007fab3a621000)
libavformat-d3ca1b40.so.58.3.100 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libavformat-d3ca1b40.so.58.3.100 (0x00007fab3a1e0000)
libavutil-eaec640f.so.56.5.100 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libavutil-eaec640f.so.56.5.100 (0x00007fab39f6b000)
libswscale-bc8d848b.so.5.0.101 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libswscale-bc8d848b.so.5.0.101 (0x00007fab39ce2000)
libQtGui-6d0f14dd.so.4.8.7 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libQtGui-6d0f14dd.so.4.8.7 (0x00007fab38e51000)
libQtTest-1183da5d.so.4.8.7 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libQtTest-1183da5d.so.4.8.7 (0x00007fab38c24000)
libQtCore-ba1dc80c.so.4.8.7 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libQtCore-ba1dc80c.so.4.8.7 (0x00007fab38718000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fab38514000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fab382f6000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fab380ee000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fab37dea000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fab37ae4000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fab378ce000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fab37505000)
/lib64/ld-linux-x86-64.so.2 (0x00007fab3e556000)
libswresample-81cb7b3e.so.3.0.101 => /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/libswresample-81cb7b3e.so.3.0.101 (0x00007fab372e7000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007fab370e5000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fab36ddd000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fab36bd5000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fab369b9000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fab367af000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fab3659d000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fab36268000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fab3602a000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fab35e25000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fab35c06000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fab35a02000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fab357fc000)

I thought the contributions module should include this library as well. Or was it compiled in some other way?

Tesseract OCR is completely separate project and an optional dependency of OpenCV. To be able to use Tesseract with these packages I would need to:

Build Tesseract on every different platform (Cent OS 5, macOS, Windows)
Link it with OpenCV during build
Ship it with these packages

You can't use your globally installed libraries (except the whitelisted ones: https://github.com/pypa/auditwheel/blob/master/auditwheel/policy/policy.json) with precompiled wheel packages. That's how the .whl format works in Python.
It's a major effort to get all these third party libraries into the package. Currently only Qt and FFmpeg are provided as you can see in the ldd output at folder /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/cv2/.libs/.

Sorry what I mean was that I thought the contributions module should be compiled against this library as well. Clearly, shipping the tesseract library as well could be a mess. However, now I understand that global libraries cannot even be reached in general which is a deal breaker for many use cases, especially ones with projects that have nonpython dependencies. Do you think there could be any workaround other than recompiling opencv manually? Tesseract is a significant part of the contributed text module so I won't be able to use pip-based setup without it.

No, there's no workaround for this. Third party dependencies have to be enabled in Cmake config and linked with OpenCV during compilation. There's no way to add support for them afterwards.
OpenCV is a very complex and large project with tens of different optional dependencies. Enabling all of them is a huge task and in many cases impossible since these packages have to compatible with almost all GNU/Linux distributions which were released after 2007. That's why the external dependencies in wheel packages are limited to a standardized, restricted subset of the Linux kernel and core userspace ABI. For more information, see PEP 513.
However, there's ongoing effort to refactor setup.py so that this package can be built also locally. When that's done, you can force a local custom build with optional dependencies from a source distribution. This means that the package is built from source whenever it needs to be installed.

I see, thanks a lot!


fix: update OW2 constants for October 10, 2023 patch - [merged]

Merges patch -> staging

mentioned in commit 8850fe7a466b0d65d3474e831c8f56188446427f


Code Correction

There is a bug in the example code provided for the second iteration of the Welcome() method. The routing information specifies a default parameter of {id}, which is case sensitive. The method example shows "int ID = 1" as the parameter that is supposed to correlate. This fails, because parameter "ID" != "id". The Welcome() method should be declared as follows:
Welcome(string name, int id = 1)
Note the lowercase "id" parameter, matching the routing information parameter in the Startup.cs file.

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

ID: 20264150-9ac7-2b21-3314-64ffa114410f
Version Independent ID: 3477519b-1bc2-73be-33e3-63067383d426
Content: Add a controller to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-controller.md
Product: asp.net-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@RahlForge  it's not case sensitive, that's why the image shows 3. It's probably better style to be consistent.

@Rick-Anderson Weird. When I ran this the first time, it came through with no name and the default 1 for ID. I refreshed twice with the same result (yes, I am running it in non-debug mode). It only ran correctly once I matched the case of the routing information (lowercase 'id'). I just ran it using the uppercase designation, and now it's working as expected. Something went funky the first few times I tried it, apparently. However, I agree that consistency is important, and standard convention would normally indicate that a method parameter should be camel-case (in this case, lowercase). So not a bug, but probably a better convention to make it lowercase. Thank you!

@RahlForge  why are you doing this and not the Razor Pages version?

@Rick-Anderson I am behind in my C# learning, so I'm learning both methods. By doing both tutorials, I'll be able to understand how both methods work, their differences, strengths and weaknesses so I can use either method. I understand the Razor Pages version is preferred, but I am not a person who is happy with "just do it because"...I want to know WHY.

@RahlForge  fantastic. Great idea. When you've finished this series, try https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-2.1

@Rick-Anderson Thank you. I have added that to my long, long list of "catch up on current C# concepts". 10 years of development experience and a childhood with a teacher as a mother have taught me that "it works so do it that way" isn't enough...you have to know WHY it works that way, because there will come a day it inevitably DOESN'T work that way, and if you don't know WHY it worked in the first place, you won't be able to fix it.


Add developer doc for releases

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve