pythonPackages.mpi4py: 2.0.0 -> 3.0.0

Tests run with sandboxing enabled again and we can remove some of the fixes as
they aren't necessary anymore.
PyPy and Python 3 are also supported.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Note that Python 3 and PyPy already is supported for 2.0.0. Maybe that should be backported?

@GrahamcOfBorg build pythonPackages.mpi4py

Looks good, merging! @FRidh do you think 17.09 should enable python 3 for this package based on @Moredread comments above?

Supporting more on 17.09 than now is fine as long as it doesn't break anything. It just requires someone making the changes and testing it.


Clarify that keys of startup code json should be kernel display name

I had been confused for a while why my startup code wasn't running. I had had
{"python": "%matplotlib inline"}

I realize now that the key needs to be the display name of the kernel, so this has to be Python 3. This should be clarified in the documentation, because the display name is not always straightforward. For example, the Julia display name (as of 1.0) is Julia 1.0.0 and the IJavascript display name is Javascript (Node.js).
Is there any cleaner way to see the display names of installed jupyter kernels other than jupyter kernelspec list --json and looking at display_name values?

I totally agree this needs improvement. I'm thinking the display name key was used to be as specific as possible on which kernel should run each startup code.

@kylebarron It used to be the language name, but we changed it to display names in #195 to address the last bullet point in this comment.
How about accepting both possibilities: display and grammar names. Hydrogen first checks if there is an entry for the grammar name. If there isn't, then checks the display name.

By "grammar name", I'm assuming you mean the key for language in the kernelspec JSON?
I don't know of any language for which there are more than one kernel and where the display name matches the language name exactly. If this is the case, we could allow both language names and display names as keys in the startup code JSON. Then when a key is a display name, apply it only for that kernel, and when a key is a language name, apply it for all kernels of that language?

By "grammar name", I'm assuming you mean the key for language in the kernelspec JSON?

No, I mean atom's grammar name (Hydrogen should use only atom's grammar names, otherwise it's too confusing; we had that problem a long time ago).

Then when a key is a display name, apply it only for that kernel, and when a key is a language name, apply it for all kernels of that language?

Oh yes that makes more sense: display names should have priority over grammar names (as display names are more specific than grammar names).

No, I mean atom's grammar name (Hydrogen should use only atom's grammar names, otherwise it's too confusing; we had that problem a long time ago).

So would you want the keys to be source.python?

See grammarToLanguage and the flow declaration of atom$Grammar to see what I mean by grammar language. E.g. for Python is just python and for JavaScript is javascript.

It used to be the language name, but we changed it to display names in #195 to address the last bullet point in this comment.

I agree that startup code should be specific to a kernel and not to a language. You'd possibly have different startup code for Python 2 vs Python 3.
I'd argue that the best use for the key would be the kernelspec name. This is easier for users to find. I.e. just running jupyter kernelspec list shows them the list of keys they could use:
> jupyter kernelspec list
Available kernels:
  bash          /Users/kyle/Library/Jupyter/kernels/bash
  ir            /Users/kyle/Library/Jupyter/kernels/ir
  javascript    /Users/kyle/Library/Jupyter/kernels/javascript
  julia-0.6     /Users/kyle/Library/Jupyter/kernels/julia-0.6
  stata         /Users/kyle/Library/Jupyter/kernels/stata
  python3       /Users/kyle/anaconda/share/jupyter/kernels/python3

As of https://github.com/nteract/hydrogen/pull/1499 the kernelspec name is saved in store. We'd probably want to keep display name as a fallback for backwards compatibility.


Ignore/hide extension for executable files

Would it be possible to add a feature that is either configurable or uses $env:PATHEXT to determine which extensions to hide?
E.g. I have a powershell script folder on my $env:PATH and when I complete it, I get my_script.ps1, but instead it should only display it as my_script, like when I would have defined it as a function.

I don't have any plans to add features to this module.
At this point, the most important parts of this module are available in PowerShell (as of v5.1) and with PowerShell now being open source, I think enhancements like what you propose should be made here.

Thanks for the reply! I will post my feature request over there then. Happy Holidays!


PCG fails to execute

$ python terminus/run_generator.py --builder=ProceduralCityBuilder --parameters size=1500
CRITICAL:builders.procedural_city_builder:Command 'python /home/andres/Creativa77/OSRF/terminus/terminus/procedural_city_generation/UI.py roadmap --configure plot False border_x 15 border_y 15' failed to execute

@basicNew I wasn't able to reproduce this issue, can you specify the commit hashes for terminus and pcg? Thanks

Latest master for terminus, e53d9a48440c914f9aad65455b3aebc13d90bc98 for PCG (which seems to be their latest commit also)

@Shokman @agalbachicar or @ernestmc can you guys check if you get the same error as Andy when running pcg? Thanks

@garyservin I did the following:

Fetch + Pull terminus and checkout to master
Checkout to e53d9a48440c914f9aad65455b3aebc13d90bc98 in procedural_city_generation submodule.
source env/bin/activate
./run_tests.sh --> Went OK
./run_pep8.sh --> Went OK
And running Andy's command:

python terminus/run_generator.py --builder=ProceduralCityBuilder --parameters size=1500
CRITICAL:builders.procedural_city_builder:Command 'python /home/agalbachicar/Localwork/terminus/agalbachicar/terminus/procedural_city_generation/UI.py roadmap run' failed to execute

All dependencies were installed.


Vote from personalhunt.com

From @chrismessina ' Is it not possible to vote on hunts from Personal Hunt?'

I sent a request for write access to PH; we'll see what happens.

They told me they're not giving out product hunt write access right now, so I'm going to close this until they do.


Crawler Execution Failed

Hi
I'm new to ACHe crawler and  trying to run the sample to see how the crawler is collecting data then i can run myown bnut its giving me below error. I'm running on centos7 with docker.
Please help.

Hi now im getting attached while running the crawler nothing is downloaded.

For the first problem, you were probably configuring the docker volume at the wrong directory, but you seem to have already fixed it.
For the second screenshot, the crawling is ignoring non-english pages by default. You can disable this feature by adding the following on the ache.yml file:
# Store only pages that contain english text using language detector
target_storage.english_language_detection_enabled: false

The sample config file at https://github.com/VIDA-NYU/ache/blob/master/config/sample_config/ache.yml has other configurations that my be useful.

The crawler also ignores non-HTML content by default (e.g., jpg images as seen in the log). To allow other types of content, you need to add the following config on ache.yml (including other mime-types that you need):
crawler_manager.downloader.valid_mime_types:
 - text/xml
 - text/html
 - text/plain
 - application/x-asp
 - application/xhtml+xml
 - application/vnd.wap.xhtml+xml

Dear Aecio,
Thank you for the response. Let me try this and I will come back to this thread. so please don't close it.

Closing this issue. Feel free to open another issue if you find other problems.


docs: Add ThemeConfig section to User Guide

Description
Work-in-progress
What
Show how this benefits:
Typing users

Autocomplete
Static validation
Doesn't require using class-syntax

Can be used to see docs

Compare the UX to that of Vega Editor

Non-typing users

Class-syntax is required for completions
Still likely an improvement over using a dict
Point to resources on how they can get the full benefits

ipython/jupyter

Language servers/plugins/extensions

IDE

typing-typing-related-tools
I'd probably call out VSCode w/ pylance as a common case

Where
Either

Following defining-a-custom-theme
or as a subsection of it

Related

https://github.com/vega/altair/pull/3536
https://github.com/vega/altair/pull/3618#discussion_r1781675884
https://github.com/vega/altair/pull/3536#issuecomment-2353801912

Have you considered any alternative solutions?
We can leave chart-themes in the same state as left by #3618
I think @joelostblom's comment shows why this feature warrants further explanation.
The only alternative I see would be linking to typing-spec-TypedDict.
However, I did this in #3536-description and that alone did not suffciently convey the benefits to reviewers

Explain it in benefits. As a person who is not into types it is really hard to understand the differences between mypy, pylance and pyright. I cannot remember what is best in which occasions. But if I get benefits when it is installed that are useful during development then that is appreciated. For example, I can imagine that it is a nice benefit if one can get on-the-fly validation of your Altair specification while you are writing it. Altair provides already very nice feedback when one runs the code and if there is something wrong with it. But with the Pylance extension installed in MS VS code, you also will get yellow wavy underlines provides direct feedback giving you suggestions how you can make your Altair specification while you are writing it. You can make your specification better and correct without actually running it.

[!IMPORTANT]
The following is only tested in VSCode with the Pylance extension installed

Start with a basic chart:
import altair as alt
import pandas as pd

data = pd.DataFrame({'x': [5, 3, 6, 7, 2],
                     'y': ['A', 'B', 'C', 'D', 'E']})
chart = alt.Chart(data).mark_bar().encode(
    x='x',
    y='y',
)
chart

Start writing the following to define your own valid Altair theme.
from altair.theme import ThemeConfig

def my_theme():
    return ThemeConfig(
        config={

        }
    )

It will look like this.

No wavy underlines visible, yet.
If I add a single (!) " quote on the empty line below config={ then VScode will automatically add a second " and position your mouse cursor in between and pop up a supportive screen with valid Altair elements that can but used to define your theme.

You can use all elements that are in between double quotes "<valid-altair-element>". The list shows more elements than the valid ones. The last valid element is in this case "view":

If you press escape the supportive screen will disappear and now when hovering with your mouse over the wavy underlines it provide you with information what is currently detected as incorrect:

Write the following character-by-character, "bar": {"color": "black"} and observe what happens if you receive on-the-fly feedback on what is valid:

So no we have a custom_theme function that returns a standard python dictionary.

Nothing special about the output, just a dict, but while writing the dictionary we received on-the-fly suggestions.

[!NOTE]
It's called a TypedDict, learn more about this here:

To register this function as a theme in Altair we have to add some magic (a decorator).
from altair.theme import ThemeConfig
from altair.theme import register

@register("my_little_theme", enable=True)
def custom_theme():
    return ThemeConfig(
        config={
            "bar":{"color":"black"}
        }
    )

We import the decorator so we can register our custom_theme function as theme. We name it my_little_theme, and in fact, we enable it directly (=True).
And now, when we call our bar chart chart again, we will notice that it has applied our theme:

If you like to go back to the default theme, you can enable it with:
alt.theme.enable('default')

Now, when calling chart again, it appears as normal:

If you like to use a predefined theme. Call the following function:
alt.theme.names()

Pick one from the following list:
['carbong10',
 'carbong100',
 'carbong90',
 'carbonwhite',
 'dark',
 'default',
 'excel',
 'fivethirtyeight',
 'ggplot2',
 'googlecharts',
 'latimes',
 'my_little_theme',
 'none',
 'opaque',
 'powerbi',
 'quartz',
 'urbaninstitute',
 'vox']

As such:
alt.theme.enable('dark')

[!TIP]
Remember you always can you back to the default using
alt.theme.enable('default')

Something like this would be very helpful already. If I use a LLM to "make it better", then the wording is better already. If you do a few iterations, I'm sure you can write something clear and concise and helpful!


Add MQTT-Mode

Changing the tool so that it just creates MQTT-messages whenever a button is pressed would make it incredibly flexible. E.g. it'd be easy to integrate with Node-RED, allowing for integrating with all kinds of tools / webhooks / frameworks etc.
@AShifter Would you mind if I'd provide a pull-request for that?

Feel free! You might be able to tell that I haven't had enough time to maintain this project haha. Thank you for all of your help, especially with other users. 😄

Just for reference: I've provided a PR here that adds MQTT-support:
https://github.com/michaelewers/harmony-span/tree/issue/%2321

Fixed


Why is the TypeCheckerHost interface exported?

The TypeCheckerHost interface isn't referenced anywhere else in typescriptServices.d.ts. Is this an error? Unlike LanguageService, you can get a TypeChecker with getTypeChecker() on ts.Program. So exposing TypeCheckerHost seems unnecessary.

Sounds correct. A PR would be appreciated!


how i change 192.168.255 to 192.168.0

OVPN_ROUTES+=("<IP_ADDRESS>/24")
192.168.255??

Hi @cirelramos
According to the scripts the line you're searching is:
OVPN_SERVER=<IP_ADDRESS>/24
In order to change this you need to adjust the line in file manually as there is no option for it (at least not as far as I know)
OVPN_SERVER=<IP_ADDRESS>/24
The subnet mask of 24 will allow 254 clients ranging from <IP_ADDRESS> to <IP_ADDRESS>.


Current design has "quirks" that make validation scores somewhat invalid

It is common for training and inference to have separate and distinct behaviors. For example, during training, you might use dropout - but during inference, you disable it. This is why Pytorch provide an internal flag (self.training) - allowing a developer to respond to differences such as this.
In two different places, we have code where such a distinction could affect validation losses in a negative way.
In the first, we have a router that checks for self.training or batch_size > 1. This will essentially trigger validation batches to behave like training batches (using top-k instead of sigmoid), because of their batch size.
In the second, we have a controller that must predict the optimal next-expert to select, during inference. However, during validation - this could would predict batch_size number of experts, instead of just 1. To handle this, we use torch.mode() - to reduce the prediction to just the most-common prediction. However, this will inevitably leave many examples in the validation batch routing through sub-optimal experts.
I can envision ways to resolve both issues, but because of the complexity - I haven't attempted to, yet. For now, we should expect that validation losses are probably higher than they otherwise would be, with proper code.

I was able to greatly simplify the router code, to essentially function identically in both training and inference modes.
The controller could still be an issue, though for different reasons now. It has gone through some massive revisions, and will likely go through more before we land on a final version.


using slice_id instead of url to do caching

I use slice_id as the cache key. When slices are cached from dashboard I add manually add slice_id into form_data since sometimes form_data['slice_id'] is empty.

Coverage increased (+0.02%) to 82.127% when pulling 0ff5ec7e22b04332502429ad5381779cd2ae7cdd on joshwalters:dashboard_cache into 087c47a37e45bb9c2608bbb2279188b59547e449 on airbnb:master.

If the slice is accessed from dashboard, form_data['slice_id'] is empty until the user overwrite that slice. I don't know if this is designed for some purpose. Any idea?

Coverage increased (+0.02%) to 82.127% when pulling f7e974e7c01eb404ae27bc1910d07a2067b7f67a on joshwalters:dashboard_cache into 087c47a37e45bb9c2608bbb2279188b59547e449 on airbnb:master.

I don't think this works where filter widget is used.


fix: add missing translation in blog list

In blog list page,
"Read More →" is not a variable that can be translated.

I found that missed variables in en.yaml

thank you, I'll take a look in a few days


Push transaction when onblock in plugin

I wish to push transaction when onblock in my plugin. But there is an error tx_duplicate: Duplicate transaction. Does anyone have this problem before?

cleos uses the memo field in a transfer transaction as a nonce to ensure transaction uniqueness.  If you are not using cleos to generate your transactions, you should emulate this behavior if they are transfers.
If your transactions are custom actions rather than transfers, consider adding a nonce field.
If you'd prefer not to have a nonce field, you will need to generate actually unique transactions.  The easiest way to achieve this is to use a different reference block in each transaction.  Start as many blocks back as you have transactions and simply assign each transaction a new ref block in sequence.


Global setting for shown symbols

Please add global setting for which symbols are shown (variables and function and class?)
And also if possible per file setting
Thanks

+1
Now every time opening/switching file tab need to set filter manually.

Same here, i want only classes and functions to be shown by default.

+1 for this feature too. Thanks

You can configure what types to hide by default in the settings starting from 0.10.0

This doesn't appear to work. Will submit a PR

this is working, but you have to restart atom to be applied

So that should probably be fixed before closing this. Just spent 15 minutes trying to figure out why it didn't work...

Where are the settings for this? I have version 0.13.2 on Win10 but I can't get my preferences to persist after closing/re-opening Atom. The Package settings have an item for sorting by name, but I don't see the ability to only show Functions and not Variables/Strings/etc.


🐛 BUG: Plugin catalog looks strange with huge plugin icons

Quick checklist

[X] I am using the latest version of Snowpack and all plugins.

What package manager are you using?
N/A
What operating system are you using?
N/A
Describe the bug
The plugin catalog looks strange with huge icons:

Steps to reproduce

Go to https://www.snowpack.dev/plugins
View massive plugin icons

Link to minimal reproducible example (optional)
No response

Which link you've clicked navigated to this page which seems like an outdated page, plz?

Which link you've clicked navigated to this page which seems like an outdated page, plz?

I went to https://www.snowpack.dev/plugins, which is the same URL as the “Plugin Catalog” link on the left hand nav bar at https://www.snowpack.dev.

@drwpow perhaps we should rollback this page? Borrow this issue, I'd like to share another tiny problem I have been running into when my browser's font-size set to large in settings, the layout of the documents will be look like this:

I was thinking move on this page to the left top as a drawer menu, and the document pages will be two columns layout instead of three columns.
For any other solutions, feel free to point me to, thanks, I will give them a try.

Thanks for raising. We recently (secretly) converted the Snowpack docs to Astro, and I think some styles were migrated improperly. Will fix!


Added unit tests, Removed c# 7 code, added unit test to show bug

I have added a unit test project to show functionality and test behavior. I create a unit test that fails due to a bug where child processes are never sent over as an alive event. I also removed the c# 7 features so I could build the project in Visual Studio 2015.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Michael Howard seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

need to change email address commited with.


Add workspaces support

For this we need to glob the workspaces and update the package.json's.

FYI this repo has a few workspace-related packages that are of high quality: https://github.com/saqqdy/node-kit

@moltar Can you try with https://www.npmjs.com/package/socket v0.14.18+

@molar after reading a bit more I see I've not quite implemented it.

Ok @moltar I've added support though I don't feel very confident about it. I ran into a bad pnpm install and had to uninstall and re-install. I know it's scanning workspaces but for node-kit for example it didn't add anything to its individual workspace packages.

Yeah, out of 53 packages in the monorepo, it modified 3. But I think almost every package should have some old packages in it, as they are all around the same topic.

I found the issue. pnpm is pruning results. I've opened a PR to fix it: https://github.com/pnpm/pnpm/pull/8729

@moltar Actually, in our usage I think we avoid that issue (or at first glance). The pruning of dependencies happens when you pass other packages to the list command, pnpm ls "@company-scope/**" but we don't do that. I wonder if because it's a workspace package if behind the scenes it's doing something. Will dig into it more and report back.

@moltar Fixed it (independently of the pnpm issue)

That indeed have worked and fixed every package in the repo. 😁
Thank you!! 🎉

Ah, nooes, spoke too soon!

packages/facts                           |  WARN  The field "resolutions" was found in /.../packages/facts/package.json. This will not take effect. You should configure "resolutions" at the root of the workspace instead.

I think I mentioned it in my earlier issue is that pnpm hoists everything to root package.json. And to apply the fixes to a specific package, need to use a funky syntax qar@1>zoo.
Docs: https://pnpm.io/package_json#pnpmoverrides

This looks to be by design. In this case everything is already hoisted in the root (the root has all the overrides). We specify the "resolutions" field in the workspace package because when the package is published to npm it will need the resolutions field to be usable by yarn, bun, and pnpm and the overrides field is for npm.


Can't add a database when using OIDC (Keycloak)

I connected superset with Keycloak.
I pretty much followed some forum here and there and finally got this working.
The problem is : Why did I lose the possibility to "Add a database" or a "dataset". I dont have that menu anymore.

Expected results
Can add a database
Actual results
I cannot add a database
Environment
docker image apache/superset:latest-dev

This usually happens when you're logged into a role in Superset that doesn't have access / permissions to add database. I've never used Keycloak but this is the surface area that I would attempt to debug. What roles have you created in Superset, which one are you logged in as right now, etc.

Well yes i do understand. I  think this is the probleme cause even though I force the user logged to be "Admin" it still shows as "Gamma" when I am logged in, in the user profile.
So, i mean, any information on how role works and how I can map roles into my SecurityManager would be appreciated.
Right now my superset_config.py looks like this :
...
from keycloack_security_manager  import  OIDCSecurityManager
from flask_appbuilder.security.manager import AUTH_OID, AUTH_REMOTE_USER, AUTH_DB, AUTH_LDAP, AUTH_OAUTH
import os

#---------------------------KEYCLOACK ----------------------------

curr  =  os.path.abspath(os.getcwd())
AUTH_TYPE = AUTH_OID
SECRET_KEY: 'SomethingNotEntirelySecret'
OIDC_CLIENT_SECRETS =  curr + '/docker/pythonpath_dev/client_secrets.json'
OIDC_ID_TOKEN_COOKIE_SECURE = False
OIDC_REQUIRE_VERIFIED_EMAIL = False
OIDC_OPENID_REALM: 'portal-cockpit'
OIDC_INTROSPECTION_AUTH_METHOD: 'client_secret_post'
CUSTOM_SECURITY_MANAGER = OIDCSecurityManager
AUTH_USER_REGISTRATION = True
AUTH_USER_REGISTRATION_ROLE = 'Admin'

#--------------------------------------------------------------
...```

So i thought that `AUTH_USER_REGISTRATION_ROLE = 'Admin'` would set anything to "Admin" but it doesn't seem to work.

@manodupont, copy/paste this class: OIDCSecurityManager (from keycloack_security_manager). Also, FYI, keycloack_security_manager has a typo.

@manodupont, copy/paste this class: OIDCSecurityManager (from keycloack_security_manager). Also, FYI, keycloack_security_manager has a typo.


[JS] Unable to detect a Project Id in the current environment error with firebase login

Trying to genkit start an app using firebase() plugin locally without first gcloud auth application-default logining (which is normal/common) results in the following error:
Initializing plugin firebase:

/tmp/e2e-run-1720977892092/node_modules/.pnpm/google-auth-library@9.11.0_encoding@0.1.13/node_modules/google-auth-library/build/src/auth/googleauth.js:147
            throw new Error(GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND);
                  ^

Error: Unable to detect a Project Id in the current environment.
To learn more about authentication and Google APIs, visit:
https://cloud.google.com/docs/authentication/getting-started
    at GoogleAuth.findAndCacheProjectId (/tmp/e2e-run-17[209](https://github.com/firebase/genkit/actions/runs/9929538652/job/27427244445#step:9:210)77892092/node_modules/.pnpm/google-auth-library@9.11.0_encoding@0.1.13/node_modules/google-auth-library/build/src/auth/googleauth.js:147:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

fixed in https://github.com/firebase/genkit/pull/624


The problem with this test is that userAgent is converted to lower-case, but the regex doesn't contain the i flag to make the match case-insensitive. As such, neither Opera nor OPR are found.

Dup of #130. Fixed by #197.

Thank you.
On Thu, Jun 23, 2016 at 4:57 PM, John-David Dalton<EMAIL_ADDRESS>
wrote:

Dup of #130 https://github.com/arasatasaygin/is.js/issues/130. Fixed by
#197 https://github.com/arasatasaygin/is.js/pull/197.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arasatasaygin/is.js/issues/191#issuecomment-228181542,
or mute the thread
https://github.com/notifications/unsubscribe/ABK-S9Y6hibHt07WsoPC-o4Zz5e7WDbRks5qOvNIgaJpZM4IXw0o
.

--
This e-mail is from Jonathan D. Lettvin, and may contain information that
is confidential or privileged. If you are not the intended recipient, do
not read, copy or distribute the e-mail or any attachments. Instead, please
notify the sender and delete the e-mail and any attachments. Thank you.
Jonathan D. Lettvin


Updated wireframes to reflect v1 features

Immediate dev ToDo’s:

[ ] Better mobile styles
[ ] Formatting on rich text docment is inconsistent with the markdown preview pane

Wireframes to make:

[x] Menu details
[x] Multiple users in the text area
[x] Dev mode UI
[x] Online status
[x] Hints panel
[ ] Mobile styles for menus
[x] Create new doc from existing doc
[x] Share document link
[ ] Snapshot user flow
[ ] Export user flow
[ ] Display document outline

Questions:

Right now, the spacebar toggles the markdown and preview buttons. It’s potentially confusing UX. Not an expected behavior.
I would imagine the Hints panel could have unique content for each pad type. Who would be responsible for creating this content?
What’s the purpose of a login without the dashboard page or semblance of ‘verified’ status?
Include comments/conversation? It seems out of scope for beta, but I wanted to double check based on what I saw on the spreadsheet.
Re nicknames: “I think the nicknames are currently kept in local storage, so they would persist across documents in the same browser.” ← From Jake. It would be great to get this sussed from a UX standpoint.
Is ‘Display content outline’ realistic as a Beta feature?

Landing page CTA:

Pad Types:

Document UI:

Account:

Commenting and Outlining features have been removed from the beta scope. https://docs.google.com/spreadsheets/d/1g5X6-ky4D1t2sFe_HNU3MCn9O3IuA-JTkqqIrkrzNfU/edit#gid=0
Since we have limited time remaining before end of July let's try to limit the new feature scope as much as possible

@pgte @akrych could we get some feedback on these wireframes?

@one000mph  Sure Heather :) I will take a look at this till Thursday 👍

Looks great to me! I don't have any comments :) 👍


WIP: 62 API

This adds support for users to obtain a token that they can then use to access any of the API endpoints. Note that users could already access these using their session & session.sig cookies, this just adds a slightly more expected flow.
It also adds documentation for this process and for a handful of the endpoints. There are probably others they'd be interested in, but I think we need to identify some concrete users first.

@marioa Would you be able to test this out on your local copy when you get a chance? Run it, read the "API" page in the UI and see if you understand how to use it?


Reproducibility thoughts

[ ] I wonder if it's worth starting with an Excel example? Demonstrating how it's difficult to point-and-click your way to the same result if you're working in that kind of interface.
[ ] @carriewright11 @clifmckee thoughts on swapping basic R and Reproducibility? I feel like there were some things that were mentioned that would benefit from running some code chunks, seeing what a vector is, etc.

Love the new concepts in the lab! Had some thoughts to help prepare students for it:
Lecture

[ ] maybe add a slide about comments to differentiate the use of #
[ ] Adding a slide on  sessionInfo() would help prepare students for the lab
[ ] Adding a slide on set.seed() would also be helpful for the lab
[ ] Might want to add those to a cheatsheet?

Lab

[ ] For students trying on their own,  it might be useful to add the first chunk - since we haven't gone over assignments yet (or swap it out with basic R in the order like Ava suggested)

We also got some feedback that day 1 was a bit high level, and they wanted to dive into the code in more detail, which also might be a good reason to swap reproducibility and basic R


Filter-snippet in vscode

Hi!
I see that we don't have a filter-snippet for Visual Studio-code. Is there a reason for this? I have created my own, do you want me to make a pull-request?

mostly because I'm not a fan of filters. i use functions as its easier to not abuse them. filters ... seems they go off the rails fast, IME.


chore: Fix links to java client documentation

I noticed some of these links were not working since the java client has moved their documentation from GitHub to their new docs site.
There are still 2 broken links that I did not fix in this PR because I could not find the corresponding new file.
https://github.com/prometheus/docs/blob/main/content/docs/instrumenting/writing_exporters.md?plain=1#L350
and
https://github.com/prometheus/docs/blob/main/content/docs/instrumenting/writing_exporters.md?plain=1#L387
But I figured it wouldn't hurt to make a PR for the ones that were trivial to fix!
I believe the CONTRIBUTING.md is asking me to ping the maintainers of the java client since the docs relate to their project, so @fstab @dhoard @tomwilkie

@RichiH This seems to fall under "everything else", so you seem appropriate to reach out to according to MAINTAINERS.md


[Tree] Allow childrenHierarchy() to return a nested set of Entities instead of flat arrays

It probably is by design but in many cases i don't need a flat array representation of my Entities but the Object form. Is it possible somehow to retrieve a tree structure of Entities in object form instead of flat arrays?

This was finally implemented in #1780.


Added compile_commands.json

For using clangd we need the compile
database of compile_commands.json
I think It would be a nice addition for this repo

Love the idea! But I think it's better to add that line in tools.cmake.
--- a/cmake/tools.cmake
+++ b/cmake/tools.cmake
@@ -6,6 +6,8 @@ if(NOT PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
   return()
 endif()

+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+
 include(${CMAKE_CURRENT_LIST_DIR}/CPM.cmake)


Parallelize test execution

Fixes #53,
In essence, on every "level",  I use JoinSets to spawn all tests in the loop without .awaiting them serially.
I also had to change some &'a Config to Arc<Config>s for this to work nicely.
After doing some performance tests before and after the change I calculated the following speed-up after running both the baseline and the improved version 50 times.
(numbers in milliseconds)

min
median
max

baseline
2716
4117
6568

improved
658
698
1032

@jdno could you maybe have a look at this?


Call List: change use of new call modal to only use one modal in the DOM

Currently every entry (row) in a call list, using partial _table_content, is inserting its own modal in the row, based on the partial in views/calls/_new_call. We should change the modal, where it is inserted, and how it is referenced in _table_content so that we can have a single modal that can be called by every entry (row) in the table, or even possibly by multiple tables because the dashboard index has multiple call tables.

 I bet we could really reduce the amount of code we generate by making it so we generate a single blank modal on page load, and then load up the content on clicking the call link.
@tingaloo any interest in javascripting this up?

@colinxfleming I'm on it.
So basically remove this partial <%= render partial: 'calls/new_call', locals: {patient: patient} %> in _table_content
And instead generate a global blank modal form, then ajax all that partial information on phone icon click? Let me know if i missed any other partials.

Yeah, pretty much! We should have pretty strong integration tests around logging new calls and confirming what information's there as well, so hopefully you can focus on just programming. Let me know if you hit any snags.


[WebUI] InputBarComponent doesn't respond to special characters

... including ' and #

We won't handle '#' and '$' for now because they are relatively rare.


Audio mute icon on trailer videos not changing/switching opacity  / Requests

Describe the bug

Mute icon does not change in look or opacity on video trailers meaning there is no visual indication if the video is muted or not.

Have descriptions appear on default . At this point clicking the  "i" icon is still necessary

Option to change tags and category? It looks bare and blank of you don't use them. Maybe an option for developer and year release instead? Or more options in general  would be lovely.

The developer of helium also recently added a shimmer/shiny effect when hovering similar to that of steam. Maybe you can add that as well to this fork?

That's something that should be probably changed in the original Helium as well, I'll take a look when I'll have a chance.

I have a plan to make the information open/close by default depending on the state of 'Description' checkbox in Menu -> Appearance -> Details View page. It'll be done via https://github.com/XenorPLxx/Helium-Enhanced-Grid-Mod/issues/1.

I'll have to figure out a way to bind the 3 fields in game details to the checkboxes in the mentioned settings, so those could be swapped for other field, but it should be doable.

I've updated the theme with the recent changes from Helium, including shimmer effect. Update is available in Playnite, version 1.8.


updating middleware for form processing

Switch to a new plugin for handling form submissions

All code is ready. Plugin cannot be tested till running under the correct domain.  Leaving that up to the reviewer


New Update broke Non-title Syntax again

Hey,
the latest update (6.2.0) broke following issue once again https://github.com/valentine195/obsidian-admonition/issues/56

I added the two spaces after the ad-type but it will insert the text into the heading..

due to wrong usage of this syntax the issue can be solved. Inserting an line after the heading !!! ad-math works.

Good to know, but I'll still try to work on a fix.


Still cannot use pageObject to reference click();

as of wdio v.4.0.7, you can write code like this:
it('A user searches for "qa testing" and submits', function () {
  Home.searchBar.click();
  Home.searchBar.keys('qa testing');
  Home.searchButton.click();
});

i've updated the gulp-webdriver package to install v.4.0.7 for itself, rather than 4.0.5, yet i still get the same error as wdio < 4.0.5
selector needs to be typeof `string`

i would think this is a very easy fix, let me know if there is anything i can do or if you think i've missed something.
thanks!

Sorry @jonyet this is not a gulp-webdriver specific error. Please fill an issue an provide your test code and maybe selenium logs. Thanks!


Adding quizzes to our lesson

Ouch, you did not test this and corrupted my build accordingly.   You can't put colon in front matter descriptions.   Why do you expect me to fix this?

I got my build working, but I think you destroyed P5 menu.  You should test 1st.


fix(keystone): update user attributes whenever user login

update user attribtues whenever user login
这个 PR 实现什么功能/修复什么问题:
修正：keystone当用户登入时，如果用户属性变化则修改

是否需要 backport 到之前的 release 分支:

release/3.5
release/3.6

/cc @zexi
/area keystone

Codecov Report

Merging #9415 (a0350d0) into master (408e768) will increase coverage by 10.67%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #9415       +/-   ##
===========================================
+ Coverage    5.83%   16.51%   +10.67%
===========================================
  Files         842       87      -755
  Lines      130431     9114   -121317
===========================================
- Hits         7617     1505     -6112
+ Misses     122124     7477   -114647
+ Partials      690      132      -558

Flag
Coverage Δ

aFlag
16.51% <ø> (+10.67%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/monitor/tsdb/driver/influxdb/query_parser.go

pkg/hostman/monitor/qmp.go

pkg/compute/models/hostresource.go

pkg/keystone/models/projectresource.go

pkg/hostman/monitor/monitor.go

pkg/baremetal/tasks/stop.go

pkg/multicloud/aws/vpc_peering_connection.go

pkg/compute/guestdrivers/qcloud.go

pkg/compute/models/host_recycle.go

pkg/appsrv/radix.go

... and 744 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 408e768...a0350d0. Read the comment docs.

/lgtm
/approve


Refactor commands to simplify usageinput/output handling

Use cobra hooks such as PersistentPreRun and PersistentPostRun to simplify input/output handling.
Instead of having each command opening and closing input/output, uses cobra pre/post hooks to open and close the files.
This PR also replaces readCHangelog and writeChangelog with functions from bufio package, simplifying file handling.

Pull Request Test Coverage Report for Build 207

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.238%

Totals

Change from base Build 205:
0.0%

Covered Lines:
307

Relevant Lines:
319

💛  - Coveralls


Failed calling App\Models\Enterprise::jsonSerialize()

When I use columns ,I got this Exception.
Next exception 'Exception' with message 'Failed calling App\Models\Enterprise::jsonSerialize()' in /var/www/ktv/vendor/frozennode/administrator/src/views/index.php:34
enterprise is a relationship use belongsTo .
public function enterprise()
{
return $this->belongsTo('App\Models\Enterprise', 'enterprise_id', 'enterprise_id');
}
Here is the model config. I am using Laravel5.
'columns' => [
'name' => [
'title' => 'enterprise',
'relationship' => 'enterprise',
'select' =>  "(:table).name",
],
],

I have the exact same problem in Laravel 5

this is an issue with the model relationship not returning a jsonable object, usually because there is an issue with one of the models.  The same whoops page will lead you to the error if you follow the tree of errors returned.

I have the exact same problem in Laravel 5.1 when overriding _construct


feat: adding no data state

Close #291

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (aa63d88) 56.47% compared to head (6b789bc) 56.37%.

Files
Patch %
Lines

lib/tools/providers/map_provider.dart
66.66%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #292      +/-   ##
==========================================
- Coverage   56.47%   56.37%   -0.10%
==========================================
  Files         159      159
  Lines        3483     3482       -1
==========================================
- Hits         1967     1963       -4
- Misses       1516     1519       +3

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


Support tasks without locations

If you create a task without a location, the app at one point crashed (might have been fixed) because it requires a full address. The app instead should support just lat/long and not a full address, so that a user could create a task just dragging the marker on the map to the location, where reverse geocode is not available. In addition, it should support no lat/long or full address, allowing complete offline task creation where even the map or reverse/forward geocode is not available.

Good points!
TBD:

Have TaskEditView check reachability to see if MapKit even with trying for the reverse geo-coding.
If device is truly offline force full address entry since even scrolling the map will fail once it exhausts the tiles in MapKit's cache.


Fix misalign of code blocks in tensorflow/tools/ci_build/README.md

The code blocks in tensorflow/tools/ci_build/README.md are misaligned,
due to the unaligned pair of "bash" and "".
The following was the previous screenshot:

This fix fixes the misalign. The following is the new screenshot:

Can one of the admins verify this patch?

PR merged. Thank you for the fix, @yongtang !


 Nowadays, however, we're started using Github Actions and netlify, with the netlify preview link being added to the PR description by a Github Action.
As such, gilesbot isn't necessary for our purposes anymore. But it was really useful while it lasted!
This PR removes the config for it, and as that was the only thing in pyproject.toml, the whole file as well.

Preview: https://pr3503--matrix-org-previews.netlify.app

CI is currently failing due to an unrelated error (circleci has stopped working).


Updating MFA task content to be the same in transfers and conversions

Changes
Before

After

Checklist

[ ] Attach this pull request to the appropriate card in Trello.
[x] Update the CHANGELOG.md if needed.

This is quite a chonky one for me. Tests passed locally but please give it a good check over.
I made some small content tweaks to the transfers version of the task too.


GeoIP shows unknown under country

New install on a Hetzner server with Ubuntu server 20.04 LTS.
Seems that GeoIP don't work, ive been using this installer for ages, and this is the first time I've seen this issue.
A new bug?

@MorphyDK You need to install the GeoIP .dat files in /usr/share. You can get them from my fork of the project.
This process will uninstall rtinst when done, so you don't accidently use my fork. You have to reinstall it afterwards.
sudo rm -fr /etc/rtinst
git clone https://github.com/stickz/rtinst.git /etc/rtinst
sudo cp -r /etc/rtinst/GeoIP /usr/share
sudo rm -fr /etc/rtinst

If you wish to use my fork of the project, you can view the github here. I created it for my Hetzner dedicated server on Ubuntu Server 20.04 LTS. It requires some tweaking to the .rtorrent.rc file for Hetzner cloud. https://github.com/stickz/rtinst

@stickz
Cheers :)
Gonna give it a try.


Typed Input Formatting

What is the possibility of enhancing the manual entry into the inputs by auto formatting your typed input to the proper format.
Something like cleave.js
Also thanks so much for making this, nobody has developed a decent modern date and time picker that wasn't bundled with a component library in what feels like 10 years. I already know I love it and I'm convincing people to drop their current pickers in favor of this one.

Thanks for the idea. I'll take a look at cleave.js and update the library as soon as possible.


Issue with training model error: list indices must be integers or slices, not Loss.

I try to train a model using :
model.train(losses=Loss.SUPERVISED)
Error on:
model.train(losses=Loss.SUPERVISED)
Error  message:
list indices must be integers or slices, not Loss.
My code:
from lnn import And, Loss, Implies, Or, Equivalent, Fact, Predicates, Model, Variables, World
model = Model()

AgeGreat60 = Predicates('AgeGreat60')
IncomeLess400 = Predicates('IncomeLessthan400')
Risk = Predicates('Risk', arity=2)

# Variables
x = Variables('x')
y = Variables('y')
z = Variables('z')

# Risk(x,y) <---- AgeGreat60(x) AND IncomeLess400(y)

Root = Implies(Risk(x,y), And(AgeGreat60(x), IncomeLess400(y)))

formulae = [
Root
]
model.add_knowledge(*formulae, world=World.OPEN)
[#model](https://www.linkedin.com/feed/hashtag/?keywords=%23model).add_knowledge(Root)

# Data
model.add_data({
AgeGreat60: {
('70'): Fact.TRUE,
('30'): Fact.FALSE,
('20'): Fact.FALSE,
},
IncomeLess400: {
('300'): Fact.TRUE,
('600'): Fact.FALSE,
},
Risk: {
('70', '300'): Fact.TRUE,
('30', '600'): Fact.FALSE,
('60', '500'): (0.6, 0.2),
('65', '450'): (0.8, 1)
}
})

model.add_labels({
Risk: {
('70', '300'): Fact.TRUE,
('30', '600'): Fact.FALSE,
}
})

# train the model and output results
model.train(losses=Loss.SUPERVISED)
model.print(params=True)

model.train(losses)
losses assumes that many losses are given, i.e. a list of losses.
losses=[Loss.SUPERVISED] solves this issue, but we should add an additional kwarg loss
that only accepts a single loss function.


Check fstype and exclude_filters when using psutil

Fixes #793

This repo has moved to https://github.com/python-diamond/Diamond
Please open a new pull request there if this issue is not resolved with the current code there.
Thanks!


Feature request: SPM support

Could you add Swift Package Manager support?

Hi, I'll try to do it later on this week!


Passwords are not working.

Hi,
First thank you for setting up WSLackware. I was hoping someone would do this.
I just installed the latest version of Windows 10 (Ver: 21H2 Build: 19044.1526) onto a laptop. I was able to get WSLackware (V15.0.18)  and Ubuntu both installed on WSL. During the install of WSLackware I was not asked for a user name or passwrod. I was asked for a user name and password installing Ubuntu.
When I run wsl I default to root without a password. I set a password for root yet wsl goes straight to the bash shell. I also added a user and set a password. Same thing. wsl --user  also goes straight to the bash shell.
Have I done something wrong here?

What package did you install? The "tar.gz" or the "appxbundle"?

If you use appxbundle, there's simple trick:
Copy configurations of generated user under /root/
Once you did, close and re-open and remove default user.
Now it will lead you to root everytime, no password, not even password when you perform su commands.
Easy pisy


Mounting Windows drives to non-default location in wsl.conf stops wslbridge from starting

In the latest insider build of Windows 10 [17093] there is a new configuration file for the WSL at /etc/wsl.conf. Among other things, this allows you to change the path on which your Windows drives are mounted (default is /mnt/).
This is extremely useful at the moment, as it allows us to get Docker working via the WSL. (See this issue for details).
I originally created an issue with wsltty as the terminal was exiting immediately after launching, but @mintty has determined that the issue is here instead. The error given when starting wsltty or wslbridge is:
wslbridge error: failed to start backend process
note: backend error output: /bin/bash: /mnt/c/Users/user/AppData/Local/wsltty/bin/wslbridge-backend: No such file or directory

Having had a quick look through the code here, it seems that the only mentions of the /mnt path string are in this function. It's just a question of how to find what path the user has mounted their Windows drives to (in my case /) and using that instead.
It may also be worth mentioning that the task that function performs, can now be done with the wslpath tool included in the latest insiders builds (since 17046).

I wonder if wslpath accepts a GUID specifying the WSL instance.
Assuming it does, then I think this issue can be fixed by invoking wslpath.exe (if it exists). I'd expect that to slow the startup time a bit, but I think that's OK. This seems fairly easy to fix.

You'd have to ramp up a WSL environment twice for calling wslpath in advance, right?
I think delaying startup is a delicate issue for many users, reading /etc/wsl.conf would be faster.
If you don't want to introduce registry handling for this purpose, mintty could pass you the mount root as a parameter if that helps.

You'd have to ramp up a WSL environment twice for calling wslpath in advance, right?

Oh, wslpath is a WSL command. I thought it was an EXE for some reason. That would be pretty slow.
Yeah, it should probably read wsl.conf somehow. If someone's using wsl.conf, I think it's wrong for wslbridge to assume /mnt/<drive>, so I think I'd prefer that wslbridge find wsl.conf by default. Is the WSL root path in the registry somewhere?

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss{guid} value BasePath

Thanks, that should work.

It seems to be even worse; reading the release notes, it seems that the mount point can also be adjusted with /etc/fstab, with subtle precedence behaviour that needs to be verified (cannot yet test myself).
Maybe it would be easier to copy wslbridge-backend into the WSL root filesystem? The frontend could perhaps do that on demand, on first invocation.

It seems to be even worse; reading the release notes, it seems that the mount point can also be adjusted with /etc/fstab, with subtle precedence behaviour that needs to be verified (cannot yet test myself).
Maybe it would be easier to copy wslbridge-backend into the WSL root filesystem? The frontend could perhaps do that on demand, on first invocation.

That seems hairy -- e.g. permissions, concurrent startup, conflicting wslbridge versions, etc. If wslbridge can't find a WSL path to its backend, maybe the user should configure its backend WSL path?
I wonder if wslpath is correct when /etc/fstab is used.
wslbridge currently invokes bash.exe -c "/mnt/drv/path/to/wslbridge-backend <args>".
Maybe it could use wslpath inside the lone bash.exe invocation. Something like:
bash.exe -c '"$(wslpath C:/path/to/wslbridge-backend)" <args>'

Ah, that sounds worth a try. Provided wslpath always exists, but I've checked it's already available on Legacy Bash-on-Windows, as well as Ubuntu and openSUSE, so maybe we can just rely on it.

I wonder if wslpath is correct when /etc/fstab is used.

Also, if it should not be correct, we can blame it on wslpath :)

@rprichard I'm pretty sure that wslpath will obey the /etc/fstab file. I can test this for you, but I'm not sure what to actually put in it.

Provided wslpath always exists

You could just put a little test in the bash invocation and use the default mount if wslpath doesn't exist:
bash.exe -c '"$([ $(command -v wslpath) ] && echo $(wslpath "C:/") || echo "/mnt/c")/path/to/wslbridge-backend" <args>'

I implemented a version of the invoke-wslpath idea on this branch: https://github.com/rprichard/wslbridge/tree/wslpath.
I decided to use this syntax (w/o newlines):
$(if [ "$(command -v wslpath)" ]; then
  wslpath 'C:\path\to\backend' || echo false;
else
  echo /mnt/c/path/to/backend;
fi) <args>

Part of my rationale was that wslpath can fail (e.g. because the backend isn't on a mounted volume), and when it does, it could be confusing to use the /mnt/ path. Hopefully, if wslpath fails, it will always print something to stderr, which wslbridge will show.

@rprichard looks good to me. Your assumption that something is always written to stderr on failure looks to be true - I've tried a few things.
Also, this may be obvious, but it's worth mentioning that wslpath will expect escaped backslashes (It actually accepts forward slashes for windows paths too). See examples below:
# Single backslash fails
wslpath C:\Users
# wslpath: C:Users: Invalid argument

# Escaped backslash is fine
wslpath C:\\Users
# /c/Users

# Forward slash is also fine
wslpath C:/Users
# /c/Users

The chosen approach prevents an obvious solution to another issue, the user's default shell;
while it could have been handled by using the wsl.exe launcher rather than bash.exe,
this isn't possible anymore as you rely on a specific shell to run the wslpath sequence above.
(Or am I on the wrong track because it's wslbridge-backend that starts the shell?)
Anyway, maybe you can reconsider your https://github.com/rprichard/wslbridge/issues/17#issuecomment-335682818 on this occasion.

this isn't possible anymore as you rely on a specific shell to run the wslpath sequence above ... (Or am I on the wrong track because it's wslbridge-backend that starts the shell?)

Yeah, the backend effectively chooses the shell when it invokes exec. Currently the frontend picks a default of /bin/bash, but I have a patch where the backend chooses the default by calling getpwuid(getuid())->pw_shell.
The frontend's use of bash.exe to invoke the backend, on the other hand, doesn't matter that much, if at all. Windows 15063 has only bash.exe, not wsl.exe, so if wslbridge were to use wsl.exe, it would have to retain bash.exe support.

@rprichard @mintty Worth noting that in the latest Insiders Preview, there are now additional flags for the wsl.exe binary.
These include -exec for invoking a binary without starting a shell and -distribution for selecting the Linux distro. Insider previews are on RS5, so these won't be publicly available until Autumn (Fall), but I figured they were relevant to this issue as starting a new shell just to invoke wslpath was a sore point previously.

Is there any actual explanation of the new options (not just listing their existence as on that page...)?
Does the -exec option accept Windows pathname syntax? Only then it would help with the wslpath issue.
And what's the syntax of -distribution? (Not that it would matter, we have a solution for selection a distribution and I don't see the need to change it...)
Thanks.

No thanks. In that case the -exec option isn't useful for our case.

There is an undocumented option --vm.

The exec option uses the COM interface. If someone reverse that COM interface that can be used in mintty. Though the COM vtable is unstable and undocumented. It also sets the console output to UTF-16 and lot more stuffs.


[DOCS] Shifting from Wikis to GitHub pages

Currently, the documentation of the project is available on Wikis. Now I want to host it as independent pages on GitHub. Figure out a way to do this. I want to know your ideas first and then I will discuss mine.

We can parse the markdown to display it in the website

We can parse the markdown to display it in the website

Do you want to work on this issue? Also are you proposing GitHub pages for this documentation?

Do you want to work on this issue? Also are you proposing GitHub pages for this documentation?

Yes sir, I was thinking to build it on GitHub pages as it will be easy to deploy and manage.
Also any changes in documents will automatically be reflected in the site

Yes sir, I was thinking to build it on GitHub pages as it will be easy to deploy and manage.
Also any changes in documents will automatically be reflected in the site

Okay, I am assigning this issue to you. Make a PR and then I will suggest if any changes are required or not

Okay, I am assigning this issue to you. Make a PR and then I will suggest if any changes are required or not

Sir, I was thinking to make make the wikis through the docsify service.

Sir, I was thinking to make make the wikis through the docsify service.

Go to the wikis page, then on the right panel, you will get the clone link:
https://github.com/kaustubhgupta/PortfolioFy.wiki.git
Clone it and you will get all the required markdown files.
I saw this service. Could you tell me how we will update the new features of the project in this? I didn't get the idea about that

Go to the wikis page, then on the right panel, you will get the clone link:
https://github.com/kaustubhgupta/PortfolioFy.wiki.git
Clone it and you will get all the required markdown files.
I saw this service. Could you tell me how we will update the new features of the project in this? I didn't get the idea about that

Sir, I was planning to make a Default wiki directory, where all of the markdown files will be placed and then we will add it to the docsfiy service. So any change in the readme will directly be reflected in the Github pages.

Sir, I was planning to make a Default wiki directory, where all of the markdown files will be placed and then we will add it to the docsfiy service. So any change in the readme will directly be reflected in the Github pages.

This service will automatically change the written markdown file into equivalent HTML and CSS snippet. So when someone changes the wiki it will automatically be reflected in the github pages

This service will automatically change the written markdown file into equivalent HTML and CSS snippet. So when someone changes the wiki it will automatically be reflected in the github pages

Hello, Sir, there is a problem. I need all the wiki files in the docs folder in the main code for this to work. I had done some research on it and I found the two ways to do it

Either you add a remote to the wiki page and whenever you update the wiki page you can push the changes to the main code through that remote.
The other way is to add git submodules (this is more difficult than the other one).

Sir, Kindly let me know whats you thought about the same.
For reference, you can go to this

Hello, Sir, there is a problem. I need all the wiki files in the docs folder in the main code for this to work. I had done some research on it and I found the two ways to do it

Either you add a remote to the wiki page and whenever you update the wiki page you can push the changes to the main code through that remote.
The other way is to add git submodules (this is more difficult than the other one).

Sir, Kindly let me know whats you thought about the same.
For reference, you can go to this

Create a docs folder in the root directory of the project and put all the wikis in that.

Create a docs folder in the root directory of the project and put all the wikis in that.

Are you able to proceed with this service or you are stuck anywhere?

Are you able to proceed with this service or you are stuck anywhere?

@kaustubhgupta Sir, Any Update or recomendation

@kaustubhgupta Sir, Any Update or recomendation


Added IBM Visual Recognition

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Thank you

@yannbertrand  you worked very hard man thanks to you


WSL2 CentOS OpenGL version not correct

Windows Version
Microsoft Windows [Version 10.0.22621.1702]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
CentOS 7.9.2009 Linux version <IP_ADDRESS>-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) <IP_ADDRESS>00220) #1 SMP Fri Jan 27 02:56:13 UTC 2023
Distro Version
CentOS 7.9.2009
Other Software
Docker Desktop
Repro Steps
When using GUI program such as paraview, get the error about:
(   2.784s) [paraview        ]vtkOpenGLRenderWindow.c:761    ERR| vtkXOpenGLRenderWindow (0x87071f0): Unable to find a valid OpenGL 3.2 or later implementation. Please update your video card driver to the latest version. If you are using Mesa please make sure you have version 11.2 or later and make sure your driver in Mesa supports OpenGL 3.2 such as llvmpipe or openswr. If you are on windows and using Microsoft remote desktop note that it only supports OpenGL 3.2 with nvidia quadro cards. You can use other remoting software such as nomachine to avoid this issue.
Created by Docker
When using glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
OpenGL version string: 2.1 Mesa 18.3.4
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
Expected Behavior
Should use NVIDIA OpenGL
Actual Behavior
Get VMWare vendor 2.1 Mesa 18.3.4
Diagnostic Logs
No response

Can you please refile this under https://github.com/microsoft/wslg ?
They also have different log requirements, so you'll need to rewrite the bug for them. Thanks!


Remove eth-lightwallet dependency

Closes #182
Removal of library and all artefacts related to eth-lightwallet.

Codecov Report

Merging #191 into develop will decrease coverage by 4.1%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #191      +/-   ##
===========================================
- Coverage    69.28%   65.18%   -4.11%
===========================================
  Files           16       15       -1
  Lines          941      741     -200
  Branches       140       82      -58
===========================================
- Hits           652      483     -169
+ Misses         257      241      -16
+ Partials        32       17      -15

Flag
Coverage Δ

#integration
38.15% <ø> (-1.05%)
:arrow_down:

#unit
64.91% <ø> (-4.17%)
:arrow_down:

Impacted Files
Coverage Δ

src/TLNetwork.ts
97.61% <ø> (ø)
:arrow_up:

src/User.ts
85.45% <0%> (-0.52%)
:arrow_down:

src/CurrencyNetwork.ts
100% <0%> (ø)
:arrow_up:

src/utils.ts
72.91% <0%> (+0.18%)
:arrow_up:

src/Exchange.ts
25.19% <0%> (+0.95%)
:arrow_up:

src/Trustline.ts
81.69% <0%> (+1.96%)
:arrow_up:

src/Messaging.ts
44.44% <0%> (+4.44%)
:arrow_up:

src/Event.ts
79.31% <0%> (+5.39%)
:arrow_up:

src/wallets/EthersWallet.ts
66.12% <0%> (+6.4%)
:arrow_up:

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 9a4abc6...4514687. Read the comment docs.


⚠ Bofrost.at has degraded performance

In 371394e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1170 ms

Resolved: Bofrost.at performance has improved in 8ebbdb8.


Seems backend api not working for the given demo account

Got http post error 422 during login with demo account

嗯，我的服务器到期了，我不想在开源项目上投入更多时间


[ENH] pandas 1.5.0 compatibility fix: use infer_freq in Lag if no freq passed or specified

Attempted fix for failure in https://github.com/alan-turing-institute/sktime/pull/3450 after update to pandas 1.5.0.
This ensures that Lag uses infer_freq if no freq passed or specified.

@khrapovs, I'm guessing what the source of the failure in #3450 since, strangely, I cannot get it to fail locally.
Any wisdom is appreciated.


How to create a rule

Hi, I have installed the raspberry pi version of emqx and is it possible to create a rule there, and also i want to know if we can save the rules in mongodb instead of sql

Not now, sorry @biswaKL , we'll implement this feature in enterprise edition of emqx.

@biswaKL Thank you for being interested in the rule engine feature. This feature is still under development, we haven't completely ready to release this feature, and in which edition should this feature be delivered is still under discussion.
More details will follow as the development goes.

Ok guys thanks a lot for the update...


I want to route with kubernetes and traefik for more header information or specific IP

When launching a new APP we need an environment that is completely consistent with the online environment, except, of course, that our back-end APP version is up to date. At this time we do not want users to access our application, want to set the header information or IP to do traffic cutting. In kubernetes, I can use the same ing binding to bind different servicename, servicename A followed by the old service, and servicename B followed by the new service. All are accessed using api.xxx.com.
This is what I saw in aliyun's help document
aliyun(https://help.aliyun.com/document_detail/85948.html?spm=5176.10695662.1996646101.searchclickresult.633831c6SQluBz)
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: gray-release
  annotations:
    # 请求头中满足正则匹配foo=bar的请求才会被路由到新版本服务new-nginx中
    #nginx.ingress.kubernetes.io/service-match: |
    #  new-nginx: header("foo", /^bar$/)
    nginx.ingress.kubernetes.io/service-weight: |
        new-nginx: ${NEW_PER}, old-nginx: ${OLD_PER}
spec:
  rules:
  - host: www.example.com
    http:
      paths:
      # 老版本服务
      - path: /
        backend:
          serviceName: old-nginx
          servicePort: 80
      # 新版本服务
      - path: /
        backend:
          serviceName: new-nginx
          servicePort: 80

Can see that he has a configuration
    #nginx.ingress.kubernetes.io/service-match: |
    #  new-nginx: header("foo", /^bar$/)

makr


ci: Bump Dagger version in Daggerverse after publishing a new release

Upgrades Dagger version for Daggerverse in:

GitHub workflows
Daggerverse modules
Daggerverse app
Infra config

It also deploys a Daggerverse preview environment with a development version of Dagger (this implies the version that we are upgrading to).
This now runs automatically part of the publish workflow. When no --from is specified, it looks inside the .changes directory and picks the one but last version (n-1).
Updated the publish workflow runs-on to only use our own runners. This workflow is never meant to run in forks.
How does it work locally?
https://github.com/user-attachments/assets/615b688c-65b9-4eb2-91f1-eb4d74a84e48

There is one more step left: have the go module run go mod download in the right directory so that we can then run go get dagger.io/dagger@<VERSION> before committing all the changes.
How to test the current state:
dagger -m modules/daggerverse call --github-token=env:GITHUB_PAT bump-dagger-version --from=0.14.0 --to=0.14.1

Going to merge this to unblock releasing v0.15.0, but would still be good to see any follow-ups if there are ways to resolve the comments above :pray:


blackfire.list and backports.list are outdated

ISSUE TYPE

Bug Report

Checklist

[ ] .env file is attached
[ ] docker-compose.override.yml is attached (if it exists)
[ ] Custom configs from cfg/ dir are attached (if customized)
[ ] docker-compose logs and log/ output is added
[ ] I've looked through the docs: https://devilbox.readthedocs.io/en/latest/
[ ] I've looked through existing issues: https://github.com/cytopia/devilbox/issues
[ ] I've read troubleshooting: https://devilbox.readthedocs.io/en/latest/support/troubleshooting.html

OS / ENVIRONMENT

Host operating system and version:
(Windows) Native Docker or Docker Toolbox:
Docker version:
Docker Compose version:
(Linux) Is SELinux enabled?:

SUMMARY

STEPS TO REPRODUCE

The command and the error:
<EMAIL_ADDRESS>in /shared/httpd/devdocs/devdocs $ rvm install ruby-2.4.0
Warning, new version of rvm available '1.29.8', you are using older version '1.29.8-next'.
You can disable this warning with:    echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable  auto-update  with:    echo rvm_autoupdate_flag=2 >> ~/.rvmrc
Searching for binary rubies, this might take some time.
No binary rubies available for: debian/9/x86_64/ruby-2.4.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for debian.
Installing requirements for debian.
Updating system.........There has been an error while updating your system using `apt-get`.
It seems that there are some 404 Not Found errors for repositories listed in:

    /etc/apt/sources.list
    /etc/apt/sources.list.d/*.list

Make sure that all repositories are available from your system and verify your setup by running manually:

    sudo apt-get update

Make sure that it works correctly before proceeding with RVM.

.If you are working from the GUI instead of the terminal, you might want to verify and fix broken
repositories using "Software & Updates" application.

.
Error running 'requirements_debian_update_system ruby-2.4.0',
please read /home/devilbox/.rvm/log/1558096553_ruby-2.4.0/update_system.log
Requirements installation failed with status: 100.

Temporary fix is to:
sudo rm -rf /etc/apt/sources.list.d/b*;
sudo apt-get update

EXPECTED BEHAVIOUR

ACTUAL BEHAVIOUR

OTHER INFORMATION
Start command

$ docker-compose up -d mysql

File and user permissions (Linux & MacOS)

$ id

$ ls -la

$ ls -la data/www

@TomashKhamlai looks like you are on a older version of PHP 7.1. Mine is:
<EMAIL_ADDRESS>in ~ $ php -v

PHP 7.1.29 (cli) (built: May  8 2019 03:37:20) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.29, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.7.2, Copyright (c) 2002-2019, by Derick Rethans

apt-get update also works fine here:
<EMAIL_ADDRESS>in ~ $ apt-get update

Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu wily InRelease [15.4 kB]
Ign:2 http://deb.debian.org/debian stretch InRelease
Get:3 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:4 http://dl.yarnpkg.com/debian stable InRelease [13.3 kB]
Get:5 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:6 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:7 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease [46.3 kB]
Ign:8 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 InRelease
Get:9 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 Release [1,492 B]
Get:10 http://deb.debian.org/debian stretch Release [118 kB]
Get:11 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 Release.gpg [801 B]
Get:12 http://deb.debian.org/debian stretch Release.gpg [2,434 B]
Get:13 http://dl.yarnpkg.com/debian stable/main amd64 Packages [8,706 B]
Get:14 http://dl.yarnpkg.com/debian stable/main all Packages [8,706 B]
Get:15 http://ppa.launchpad.net/git-core/ppa/ubuntu wily/main amd64 Packages [3,358 B]
Get:16 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [492 kB]
Get:17 http://deb.debian.org/debian stretch-updates/main amd64 Packages [27.2 kB]
Get:18 http://apt.postgresql.org/pub/repos/apt stretch-pgdg/main amd64 Packages [168 kB]
Get:19 http://ftp.debian.org/debian stretch-backports/main amd64 Packages [596 kB]
Get:20 http://packages.blackfire.io/debian any InRelease [23.2 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 Packages [7,082 kB]
Get:22 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0/main amd64 Packages [7,715 B]
Get:23 http://packages.blackfire.io/debian any/main amd64 Packages [1,204 B]
Fetched 8,893 kB in 3s (2,737 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Can you pull the latest Docker images and try again.


CLOUDSTACK-8262: Missing usage event on FollowAgentPowerOffReport (Instance shutdown from OS)

When shutting down an instance from the OS, no VM.STOP usage record is being inserted. From usage perspective, instance is still considered as running
https://issues.apache.org/jira/browse/CLOUDSTACK-8262

LGTM.


README: Update WinUI 2 Version support section

Description
This PR updates the [WinUI 2 Version support] section of the README to include Windows 10 2004 as a supported Windows 10 version. It also presents the information conveyed (that all Windows 10 versions since 1703 are supported) in a more compact way without the loss of precision. Lastly, it switches out Windows 10 build numbers with the more widely used Windows 10 Version terms. With this change, developers won't have to "translate" build numbers or marketing terms to actual Windows 10 versions like 1903 - and is is these supported Windows versions that are of actual interest here. This also matches the supported versions documentation on the WinUI website:

Motivation and Context

Keeps the WinUI github frontpage up-to-date.
Uses the Windows 10 Version terms instead of Windows 10 build numbers to easier see the Windows 10 versions supported by WinUI.

How Has This Been Tested?
Checked Readme after changes.

/azp run

Nice updates, easier to understand. Why not just put the table that you have pictured above in directly? It's easier to understand even more and the file is markdown which supports tables.

/azp run

@robloo We should definitely think about adding that table (perhaps with a few additions like the Windows Build number and internal codenames like RS2 - as seen in the suggestions by the team in this PR) once WinUI 3 has further matured. At that point, I'm sure the Readme will be updated again and we could bring over the table then. At least for now it seems like we want to keep the focus on WinUI 2 in that section.


Add api-gateway

decide if kubernetes, aws or nodejs gateway

Options:
Kong: https://docs.konghq.com/gateway/2.7.x/install-and-run/kubernetes/?_ga=2.27245437.1138805584.1643962610-1867150257.1643962610
Emissary (former Ambassador): https://www.getambassador.io/products/api-gateway/
Nginx: https://www.nginx.com/products/nginx-ingress-controller/
Traefik: https://traefik.io/

we decided to use kong cause of his plugin structure


HttpURLConnection: disable TLS Session Tickets

TLS Session Tickets are used to resume TLS sessions.  They are sent in plain text before TLS is started up.  They are in effect a cookie that can be viewed from anyone who can see the network traffic.  Even worse, the server can easily set specific cookies in order to track users.  They are used to speed up renegotiation of TLS on reconnect, so disabling this will cause increased latency and bandwidth usage.
Thanks to @dkg for alerting me to this issue.
https://timtaubert.de/blog/2014/11/the-sad-state-of-server-side-tls-session-resumption-implementations/

I use okhttp3,how can i set socks proxy?


Smaller testdata for Travis

It is too slow...

It's now updated for a testdata containing all reads for 10k DBS sequences (~100k reads).


F&F>Add a contact>Message shared...modal

"Message shared with trusted contact" modal open even after canceled the share with.

-Verified this issue on Dev app v1.7.0 (288)


[master] Add markdown doc for annotation

Purpose
$subject. Please refer #22327 for more information.
Fixes #22262
Check List

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

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

[ ] Increased Test Coverage
[ ] Added necessary documentation

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

@KavinduZoysa can you please update this PR with the changes we did for the patch branch?

@KavinduZoysa can you please update this PR with the changes we did for the patch branch?

Updated

Codecov Report

Merging #22341 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #22341   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 04dc448...dce22dd. Read the comment docs.


fix parse error mysql://user:@protocol(host:port)/dbname case at go 1.12.8

Description
Hi.
In Go 1.12.8, url.Parse return error when
uri is format of mysql://user:@protocol(host:port)/dbname.
This error cause by this changes.
https://github.com/golang/go/commit/3226f2d492963d361af9dfc6714ef141ba606713
So,I Changed Code at parsing uri to divide mysql case and others.
Thank you.
testcase
./schemalex "mysql://root:@tcp(localhost:3306)/dbname" db/schema.sql
2019/08/14 17:37:32 failed to create schema source for "from": failed to parse uri: parse mysql://root:@tcp(localhost:3306)/dbname: invalid port ":3306)" after host

test failed..
I'll check it lator...

I think it is not a problem with your pull request, but the tip version of Go.
CI failed with flag provided but not defined: -test.testlogfile, and I found same log in https://github.com/golang/go/issues/31859
https://travis-ci.org/schemalex/schemalex/jobs/571720279
(snipped)
PASS
ok  	github.com/schemalex/schemalex/diff	0.009s
?   	github.com/schemalex/schemalex/cmd/schemadiff	[no test files]
?   	github.com/schemalex/schemalex/cmd/schemalex	[no test files]
?   	github.com/schemalex/schemalex/cmd/schemalint	[no test files]
flag provided but not defined: -test.testlogfile
Usage of /tmp/go-build757110192/b156/schemalex.test:
  -test-file string
    	path to test file
FAIL	github.com/schemalex/schemalex	0.004s
FAIL
Makefile:24: recipe for target 'test' failed
make: *** [test] Error 1
The command "make test" exited with 2.
0.35s$ make check-diff
The command "make check-diff" exited with 0.
cache.2
store build cache
Done. Your build exited with 1.

Thanks!
I fixed at c379b12ad77668bd219626e2ecb48872323ef374

Thanks review & merge!
ありがとうございますー


[Bug]especially consumes performance

This plugin especially consumes performance, especially when reading pdf, there will be obvious lag, please improve, thank you very much.

especially when reading pdf

This plugin doesn't touch any part of the PDF viewer. Isn't is due to PDF++, not this plugin?
BTW I've just released a new beta version of PDF++, which addresses the performance issue reported in the PDF++ repository:
https://github.com/RyotaUshio/obsidian-pdf-plus/releases/tag/0.39.14-beta0
Does this help?

There was a marked improvement! Thank you very much!

Can this plugin be maintained again? After all, the plugin PDF++ has worked very well.

This plugin is not abandoned. I'm just not good at doing multiple things at one time, and also I'm a bit busy with my real work. Will be back to this project a few month later.


Do not manage Component image credentials quay secret any more

This PRs removes management of the secret with Component image credentials (from Quay.io) from Build Service operator. Now this task is delegated by Image Controller to SPI.
Since image-registry-secret-sa-link.component.appstudio.openshift.io/finalizer finalizer was used, we should delete it on existing instances. Code that just deletes the finalizer is added and should be removed after some time.
Should be merged together with https://github.com/redhat-appstudio/image-controller/pull/18

Will be handled in https://github.com/konflux-ci/build-service/pull/322


Answer to questions

Throughout the workshop there are various exercises. Most notably

The questions at the end of chapters
The projects suggestions

Since the material is meant to cater to self-study, we should provide answers to these questions.

For the questions at the end of chapters a dedicated chapter with all answers could be provided.

The demo code should serve as an "answer" for the project suggestions.


Address svn access for overnight run

@kimrutherford  sugggested urls in this format that can be set in a parameter file
file:///var/svn-repos/pombe-embl/trunk
svn checkout file:///var/svn-repos/pombe-embl/trunk pombe-embl

Hi @manulera
Try this:
svn log https://curation.pombase.org/pombe-embl-repo/trunk

It should work from anywhere, including on oliver1 itself.

It works!


Easier AttributeSet creation

Currently, to create an AttributeSet, we need to do a list on .insert or a loop. It would be nice to be able to do it via a constructor, for example AttributeSet::with_values(&[Key::BTN_A, Key::BTN_B]).

It is currently possible to create an AttributeSet from an array/iterator like in the following example:
let keys = AttributeSet::from_iter([Key::BTN_A, Key::BTN_B]);

Thanks, maybe it was added in the mean time !


Names should be hyperlinked to the OEIS Wiki

Names are of the format _Sean A. Irvine_ and should link to the users profile on the OEIS website.

Implemented


UI - Invocation - Run test sequence

Hello @hal0x2328, could you please reduce this to 'low impact'? I don't think this issue can be considered medium impact, it was quite simple to add it to the UI

Merged


gulp as a peerDependency

On January 9th, eed146deb950484e1ccdf85c5630f31998c4826d was pushed to this repository.
In that commit gulp was moved from a devDependency to a peerDependency. The behavior of npm version 2 is to install peer dependencies. So a project using gulp, along with this plugin, will get gulp 3.9.0 or higher (but major version 3).
Recently I started using gulp version 4 (It's still in beta as a 4 branch on the gulp repo).
That requires that I list gulp 4 as a devDependency of my project. I also use this plugin in my project. This causes a version conflict between my project's gulp version, and the peerDependency of this project. Inevitably the gulp version required by this project gets installed causing my project's build to fail.
As this project has no strict dependency on gulp, other than that this plugin is used in a stream, could the peerDependency requirement be either removed, or relaxed to include gulp version 4.
On a side note, this project works great with version 4 (Worked well until the aforementioned changed)

I'll bump the compatible versions as soon as I test. ETA sometime in the next week or so. Thanks for the heads up and feedback!

TLDR: After some testing and thought I am removing the gulp peerDependency.
It seems like a nightmare for alpha versions: http://blog.npmjs.org/post/98131109725/npm200  I agree there is no direct dependency on gulp here in the dist code, but I liked having peer to imply I won't deal with bugs in an older version of gulp. Still, I'd rather enable people to move to gulp4 easily so this has been removed: https://github.com/mlucool/gulp-jsdoc3/commit/906c1d33bf8d275c4b4ee6c25cd9cacdc88cabf9


add dockerfile and makefile

Please take a look at https://github.com/avcuenes/grid_map_geo/pull/1 which addresses all of the remaining concerns but preserves the functionality to build and run RVIZ.

Thanks for the contribution. If you can, mind submitting another brief PR to the README to document the makefile/dockerfile commands needed to run?

Thanks. I gonna write docs about makefile and dockerfile to readme.


net: expose a way to inject a function after fd created before connect/listen

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.9 windows/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
set GOARCH=arm64
set GOBIN=
set GOEXE=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=android
set GOPATH=C:\Users\ayanamist\Documents\Projects\gopath
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=C:\Users\ayanamist\AppData\Local\Android\sdk\ndk-root\bin\aarch64-linux-android-clang.cmd
set GOGCCFLAGS=-fPIC -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\AYANAM~1\AppData\Local\Temp\go-build570635583=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

What did you do?
I'm writing an Android VPN app using VPNService with golang, and want to use protect method to let socket created by golang executables bypass vpn.
I have done a bridge to pass socket fd from golang to java, but i found this can not work, because protect method using fwmark to work, and it requires protect invoked before connect/listen.
All socket fds bundles fd creation and connect/listen, so we need a method to use protect after fd create before connect/listen.
Currently, i forked golang and add a setter in net/hook_unix.go which make socketFunc settable.
Also i found another project shadowsocks-android use similar method https://github.com/shadowsocks/go/commit/5eb4737a1b9b5b2b3daea1afa45fe92ca36c1948
What did you expect to see?
Provide a method to hook between fd creation and socket connect/listen
What did you see instead?

I believe you can do this by calling syscall.Socket to get a socket, doing whatever you like to the socket, then calling syscall.Connect, then os.NewFile to convert the socket descriptor into an os.File, then net.FileConn to convert the os.File into a net.Conn.  Certainly awkward, but it's not clear that we want to complicate the net package by inserting hooks that can run arbitrary code.

@ianlancetaylor I have considered your solution before, but after i read all codes related to connect/listen, i found what you said is quite complicated.
For example, tcp and udp have quite different implementation after fd creation.
I have to copy nearly all net related codes to implement what you said.
Now i create a new file hook_android.go under $GOROOT/src/net with
package net

func SetSocketFunc(f func(int, int, int) (int, error)) {
	socketFunc = f
}

So i can reuse all codes, and inject my function in a init function.
Can you provide similar solution?

I think that solution is more or less a non-starter.  It's only going to work where you know that no init code creates a socket and where you know exactly which sockets are created.
More plausible would be code in golang.org/x/net that does what I already suggested.  It only has to be written once.

where you know exactly which sockets are created

No, i don't need to distinguish this, all outgoing sockets need this "protect".
And init code creates a socket is rare.
Copy nearly all existing net code to golang.org/x/net with only one hook function different? I think it's more difficult to maintain.

We don't need to copy all existing net code to golang.org/x/net.  We only need the code needed to initialize a socket.
I understand that the hook can fix your specific problem.  I'm questioning whether it is a general solution.  And the API of the net package is already too complex.

It's a Android-specific issue, because in other situation, we can pre-configure iptables rules to apply fwmark for all new connections. Only Android non-root VPNService implementation make things complicated, so i suggest use "_android" suffix to limit this API to android only.

Dup of #9661.


Feature/88 drop support for php 7.1

spatie/schema-org#88 Drop support for PHP 7.1 as it is nearing EOL and is currently only receiving security updates

PHP Unit 7.0 removed.

https://github.com/spatie/schema-org/releases/tag/2.8.0


LOD Demo Not Working

hello,
Cannot seem to get LOD demos loading, or maybe not sure what the expected behavior is
Tried both Safari 14.0, and Chrome 87, get stuck on loading mode

Excited to see this come to life.

Hello, @igaln!
I found out that fetching those 3D model files from Github pages is being super slow.
Took 5min+ here with no problem on my internet connection, I should find out why.

I guess there was a problem with Github pages, it just suddenly does work fine with my environment now.
Can you check it again? I hope it works.

I guess there was a problem with Github pages, it just suddenly does work fine with my environment now.
Can you check it again? I hope it works.

Hi, It also doesn‘t work in my ipad，same problem.

@kenchikuliu
Thanks for reporting :)
I think I have to change CDN for demo files. I'll leave a comment here when I'm done.

Could u please tell me the WallAR is based on webXR or something else？I wanna use it to build my own application.
发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用
发件人: Mingyu<EMAIL_ADDRESS>发送时间: 2020年12月28日 18:00
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [naver/egjs-view3d] LOD Demo Not Working (#1)
@kenchikuliuhttps://github.com/kenchikuliu
Thanks for reporting :)
I think I have to change CDN for demo files. I'll leave a comment here when I'm done.
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/naver/egjs-view3d/issues/1#issuecomment-751657373, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKVPWUWHPXHYYO7GMWPBCCTSXBJLPANCNFSM4UN63FTQ.

@kenchikuliu
WallARSession uses WebXR Device API, like FloorARSession and HoverARSession :)
Only SceneViewerSession and QuickLookSession do not use the WebXR API.


Teleop Rewrite

teleop is huge and unwieldy to modify. We want to enable the current pattern of a state machine while allowing interruptable actions, like opening and closing the claw to take place almost whenever theyre requested. Also controls need to be optimized again.

closed by #37


[3.0] [flink-cdc-dist] Collect all distro resources into a TAR

Close #2621 #2622

I pushed 4 commits to the PR just now:

Re-arrange pom sttructure

flink-cdc-dist should depends on all Flink CDC modules to enforce the building order
Package a uber JAR with all Flink CDC classes and dependencies
Remove the profile to make packaging flink-cdc-dist as the default behavior

Move cdc-bin to flink-cdc-bin

Improve assembly files

Keep a directory under target for easier validation
Add logic for copying flink-cdc-dist uber JAR to lib

Provide a log4j configuration for CLI running

@GOODBOY008 Could you take a look at the PR? I checked the packaged tarball and it should work as expected now.

@PatrickRen I tested on my local, works as we want. Thank you for complete my rest work and address issue. 👍


Some games fail

Hello ! I have this problem. It contradicts each other. I tried everything. It's still red.

This is unfortunately known problem. Some games will not create Client Context no matter what for unknown reasons.


Feature/0.8 diamond version

Closes #160
I copied the latest contracts from here https://github.com/mudgen/diamond-3-hardhat, which use solidity version 0.8. I also had to update the hardhat-deploy specific Diamantaire contract. Lastly, I updated hardhat to compile the contracts with the latest supported version 0.8.9, instead of 0.7.

@mudgen as discussed, it would great to get your stamp of approval, at least on the Diamond specific work. It is pretty straight forward, I copied the latest contract from https://github.com/mudgen/diamond-3-hardhat to solc_0.8/diamond/ and compiled it with solidity v0.8.9. There were some minor changes that I had to make to support the hardhat-deploy specific Diamantaire, so keep and eye out for that.


Fix Missing cu version in nav2018 Artifact Manifest

Fix for #2853

Please add a line in the top section of releasenotes that the issue is resolved and a small text


Add some useful interfaces to the core and std libs

To find out whether they work well, we should try to actually use them. to_str and seq are some obvious candidates.
If #1438 is resolved, we can provide a core::impl::common module that exports impls for common interfaces of built-in types, so you'd only need a single import impl::common::* to get access to [1].len() and 10.to_str().

I'd reserve adjectives for predicates and find some other naming scheme for interfaces.  In any case, please do not use "is_", we just agreed to use that for predicates. I like marijns suggestion to try and use verbs for interfaces ("t: shows, t: iterates")

I agree interfaces are at least as likely verb-y as noun-y. But the -able and even -s suffixes seem noisy. The syntactic context makes it quite clear we're talking about an interface.
fn foo<T: fold iterate write>(...)

looks ok to me.

I'm fine with verbs. I've update the yet sketchy Core styleguide

Was "Stop passing spans to middle::trans functions that don't need them" really meant to close "Add some useful interfaces to the core and std libs"?

No! I got the bug number wrong.


Systolic Array MM and Post Op Separated into Separate Components

Apologies for the massive PR, but all it does is separate the systolic array MM component and the post op component into separate component. (One reason why the PR seems so big is because I've refactored the code into separate files and github is treating it as all new code. I also changed all of the systolic array stuff to always use fixed point meaning I had to rewrite a bunch of tests).
The key interface is a r0_valid, r0_value, r0_idx, r1_valid, ... that appears on both a) the output of the systolic array MM component and b) the input of the post-op component.
The main component simply wires these ports together in one big, RTL-like, group. It also instantiates memories, and connects the input memories to the systolic array MM component and the output memories to the post-op component.
Currently, the post-op component simply coordinates the execution of the post-op and not the actual computation of the post-op. For example, the post-op component will instantiate a (separately defined) leaky relu component, and all it does is coordinate when to trigger the leaky relu. Also, the post-op coordination component ends up looking rather RTL-like; one of the key reasons is that the systolic output r0_value is only available for one cycle before it goes onto the next cycle. This means the post-op coordination component needs to be continuously reading from r0_value and saving the value into a register for future reference.

I cleaned up some of the code. For the stuff I didn't get to in this PR I created a tracker (#1712) to keep track of the cleanup.
Going to merge.


Failing tests when building on OpenJDK <IP_ADDRESS>-<IP_ADDRESS>.el7_2

Running in a CentOS 7 VM, Gaffer fails to build when using OpenJDK <IP_ADDRESS>-<IP_ADDRESS>.el7_2, however the problem does not present when building against a 1.8.0 version of OpenJDK.
The tests failing when building on a 1.7.0 release should be updated to ensure they pass using both JDK versions.

We should add nightly builds to travis to check the different java versions.

We now have Travis cron jobs enabled. Just need to configure it - https://docs.travis-ci.com/user/cron-jobs/

It's not possible to run a travis cron build with a different .travis.yml.
We could use the travis $TRAVIS_EVENT_TYPE variable to check whether the job is being run as a cron job (variable set to 'cron'). This would allow us to skip checks when it runs normally and run extra tests for different build environments when run overnight. This approach is a bit brittle. We probably need to investigate using our own CI server. See gh-477.

The updates to Jenkins in issue gh-544 demonstrate that the current Gaffer build passes on Debian8 and Centos 7, under Java 7 and Java 8. Closing as this issue appears to be solved.