TextField and pasting support...?

Is it completely supported? On Win10 text pasting is quite slow and most importantly: data is corrupted.
This is the original string (from UiCatalog source):
var s = String.Format (String.Format ("{{0,{0}}}", -_nameColumnWidth), Scenario.ScenarioMetadata.GetName (Scenarios [item]));

This is a result of multiple pasting. Not even once the original string got copied in the right way.

Also, for some reason I cannot really catch Ctrl-V event manually, "V" is just nonexisting, only "CtrlMask" is shown. Pasting starts right after "V" is pressed and shadows it.

Are you using the menus? or the Terminal itself (e.g. powershell)
I've just tested and the in app paste works:

Works
But the Powershell OS clipboard pasting feature has the issue you describe

Does not work
I am guessing the Powershell paste does a series of keypresses to type the text into the console and it probably runs into some race condition or something @BDisp?

@tznind You are correct. I'm using powershell. I came to the same conclusion as you have. If there are too many keystrokes then some of them are skipped.

The console mode are configured to handle all the keystrokes from the application and not from the console. On the TextView pressing Ctrl+C copy to the clipboard handling from the application and not from the console. Ctrl+Y paste to the TextView handled by the application too. So, pressing Ctrl+C and Ctrl+V doesn't invoke the console keystroke and only it's possible to copy and paste from the console through the console popup menu. With WindowsDriver some keys are being eaten without the WindowsConsole.InputRecord could receive them. With the NetDriver, almost all the keystrokes are received and only stops at "[".

I already found why it's stopping at "[" with the NetDriver. I'll fix it.

Fixed here https://github.com/migueldeicaza/gui.cs/pull/1448/commits/d06a1bba266c116f35cbe3b6102f3114ff7c5847

@BDisp Hey! Sorry to tag again like this but can you please tell if Clipboard support is "on" on Linux? Doesn't seem to work for me but maybe it's something I did that I've shoudn't: I've registered TextkeyUpEvent to listen to CtrlC and used Clipboard class to capture text inside. Is it supported?

Ctrl+C is likely to force terminate your process in quite a few terminals especially linux ones.
I would avoid it, you might want to use y or d like Vim (https://tosbourn.com/copy-paste-vim/) or a seperate key combination entirely https://stackoverflow.com/questions/30507022/copy-text-from-nano-editor-to-shell

@tznind Thank you for advice. Afaik by default Gui.cs quits via Ctrl+Q combination. And I'm running my app inside Powershell. So basically what I've done is a small lightweright RedisViewer so I could use it via ssh (powershell is still needed remotely) instead of raw redis-cli. So Ctrl+C is a valid combination there.

The code for ui is here: https://github.com/En3Tho/Something-obviously-useless/blob/master/SomethingObviouslyUseless/PoshRedisViewer/UI.fs
That repo is something like a "heap of useless (this one is actually useful) stuff" and I'm kinda lazy to split it between repos

Ctrl+C is a universal standard for sending SIG TERM [inate] to your process.  Kind of like Alt+F4 in windows.  So even if you are only responding to Ctrl+Q the OS might be doing other stuff.

Normally Ctrl-C in Linux, also like on Windows, is configured to not break the application, but as Clipboard on Linux is using a BashRunner which is executing a bash process to run xclip, pressing Ctrl-C breaks the application. Maybe could have a way to avoid this but I couldn't figure it out.

@BDisp I see. Thanks. I will try to use CtrlShiftC combo on Linux like @tznind adviced.

@BDisp Again sorry to bother but can you please help with this thing:
On ubuntu when I run the app natively or inside powershell hovering mouse upon a component automatically sets focus on that component. Can this be somehow solved? On windows there is no such thing.

This isn't happens to me with the current main branch. You are referring to Ubuntu on WSL or a real Ubuntu? Inside powershell, do you meaning installed on Ubuntu? Can you provide a simple test with your settings or a screen print, please?

Thanks. I want you try to run the current main branch which I think this is already fixed.

Tried main.

When running from Powershell host.
When running from bash host app starts but the problem persists. I'm using touchpad on my laptop for navigating and views are getting focused over mouse hover. Note that I'm not actually clicking. I'm only moving the mouse (my finger is "glued" to touchpad).
https://ufile.io/r43ldrqr
I will try to find the source of exception tomorrow but this project was supposed to be a small helper module for posh (and I'm glad I did and thanks (BIG one) for your work), I don't know if I can find time to dig the problem out.

Do you have xclip installed on Linux?

Yes, I've installed it as you've (and @tznind ) advised. Moved copy action to Ctrl+Y. PowerShell is only crashing with main, it works with latest nuget.

For some reason it works with PowerShell host now and I did literally nothing. Some kind of Ubuntu magic... Focus problem persist though.

For some reason it works with PowerShell host now and I did literally nothing. Some kind of Ubuntu magic...

Okay, so it was only a sporadic mistake. For whatever reason it can not complete the process.

Focus problem persist though.

I had to reinstall Windows 10 and at the moment I have no virtual machine with Linux. As soon as I can, I will check this.

Console.Write on NetDriver is more faster now. See here https://github.com/migueldeicaza/gui.cs/pull/1484#issuecomment-945092937, please.


Boost Version Requirement

Hi, I would like to report a tiny issue.
I guess pinocchio >= 3.0.0 is explicitly asking for boost 1.84? since it's calling several new functions in boost::filesystem. The documentation in https://stack-of-tasks.github.io/pinocchio/download.html probably needs to be updated.
I am saying this since I worked a lot in C++. Ubuntu 22.04 installs boost 1.74 by default, so the version problem on boost has been creating some trouble for me.
Since pinocchio installed through conda automatically comes with boost 1.84, one option around could be to manually link the boost libraries inside /home/{username}/miniconda3/lib.

Hi @Cfather,
What is your issue, exactly ? Do you have any error message ? Can you provide a way to reproduce it ?
Right now, the CI build on 20.04 with boost installed by apt, so I really don't understand your issue.
https://gitlab.laas.fr/stack-of-tasks/pinocchio/-/pipelines/43747

Apologize for the lack of information. I guess this is specific to the settings on my computer. I have the following error message:
/usr/bin/ld: warning: libboost_filesystem.so.1.84.0, needed by /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so: undefined reference to `boost::filesystem::detail::path_algorithms::stem_v3(boost::filesystem::path const&)'
/usr/bin/ld: /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/usr/bin/ld: /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so: undefined reference to `boost::filesystem::detail::path_algorithms::extension_v3(boost::filesystem::path const&)'
/usr/bin/ld: /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so: undefined reference to `boost::filesystem::detail::path_algorithms::find_parent_path_size(boost::filesystem::path const&)'
/usr/bin/ld: /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so: undefined reference to `boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)'
/usr/bin/ld: /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so: undefined reference to `boost::filesystem::detail::path_algorithms::filename_v3(boost::filesystem::path const&)'
/usr/bin/ld: /usr/local/lib/pkgconfig/../../lib/libpinocchio_parsers.so: undefined reference to `boost::filesystem::detail::path_algorithms::find_root_directory(boost::filesystem::path const&)'
collect2: error: ld returned 1 exit status

For example, function stem_v3 is not introduced in boost 1.74 but introduced in 1.84, while libpinocchio_parsers.so is asking explicitly for boost 1.84.
I will close this issue for now and probably come back in the future when I have more information. Thanks for your attention!


Not able to use secrets in toml file in deployed package

Hello!
As described in the docs, I'm using the src/.steamship/secrets.toml file to store some secret variables, which worked fine until recently. However, today I noticed my newest version is not taking that files values into consideration.
If I run ship run local it takes all the variables on secrets.toml correctly, but if I run ship deploy or try to deploy via github actions, those values are not populated.
I'm guessing it has something to do with #553 #593 & #567
I noticed that the file is being read, but overwritten by the default value (""), as the secret_values are unpacked before (and overwritten) by the config values.

Also tried to remove the field from the config or setting the default value to None, but neither worked: error creating instance & requiring the value on creation, respectively.
Any help on how to address this? I find it weird that running the package locally works, but on deployed packages doesn't. @eob do you have any hint on what may I be doing wrong/may be wrong? Thanks!! 😃

Hi @jcechavarri ,
Happy to try to help you with this.
Am I correct in understanding that:

it was once working in the cloud (ship deploy) but no longer is
the change that caused it to stop was in your project's code (as opposed to a different version of steamship's SDK?)

If you're deploying via GH Action, you will definitely need to make sure that the secrets.toml file is present.
When we develop internally, we make sure to:

git ignore that file
in our GH Action for deployment, we use GH Secrets to echo into that file on the fly before running ship deploy

If you want us to take a look at your account-specific data, feel free to send an email to<EMAIL_ADDRESS>with your user handle, package handle, etc and we can explore from there as well.

Hello @eob ! Thanks for the quick reply
✅ It was earlier running in the cloud.
❔I think it is due to a change in the SDK, but not completely sure.
I’m creating the file on the fly through the github actions and hace it gitignored.
What makes me think it was a change in the SDK? I didn’t make any changes on my gh actions file. Also, running the package locally takes the secret variables correctly, but deploying locally (same secrets file) results in empty secrets (“”).
If you think this behavior is possible within the SDK, let me know and I will send the email happily. Thanks again!

Just sent an email as suggested @eob.
However, what seems strange is this:
Running ship run local --no-ngrok loads and logs the secrets:

Deploying (ship deploy) that same package does not log the secrets correctly:

That behavior is the one that makes me think it is something related to the SDK.


Add WebXR

https://github.com/msub2/awesome-webxr#readme
This list is about WebXR, which comprises a group of standards making it possible to view/experience virtual reality and augmented reality content through a web browser.
✅ Passes awesome-lint as of 9/13/21.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
You have to review at least 2 other open pull requests.

https://github.com/sindresorhus/awesome/pull/2035#issuecomment-912923331
https://github.com/sindresorhus/awesome/pull/2045#issuecomment-912922400

You have read and understood the instructions for creating a list.
This pull request has a title in the format Add Name of List.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ add Swift
❌ Adding Swift
❌ Added Swift

Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

Your entry should be added at the bottom of the appropriate category.
The title of your entry should be title-cased and the URL to your list should end in #readme.

Example: - [Software Architecture](https://github.com/simskij/awesome-software-architecture#readme) - The discipline of designing and building software.

The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it.
Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
The default branch should be named main, not master.
Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

Non-generated Markdown file in a GitHub repo.
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate. Please search for existing submissions.
Only has awesome items. Awesome lists are curations of the best, not everything.
Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.
Must not feature Contributing or Footnotes sections.

Has an appropriate license.

We strongly recommend the CC0 license, but any Creative Commons license will work.

Tip: You can quickly add it to your repo by going to this URL: https://github.com/<user>/<repo>/community/license/new?branch=main&template=cc0-1.0 (replace <user> and <repo> accordingly).

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.
Place a file named license or LICENSE in the repo root with the license text.
Do not add the license name, text, or a Licence section to the readme. GitHub already shows the license name and link to the full text at the top of the repo.
To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.
It can optionally be linked from the readme in a dedicated section titled Contributing, positioned at the top or bottom of the main content.
The section should not appear in the Table of Contents.

All non-important but necessary content (like extra copyright notices, hyperlinks to sources, pointers to expansive content, etc) should be grouped in a Footnotes section at the bottom of the readme. The section should not be present in the Table of Contents.
Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't use hard-wrapping.
Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.
Doesn't include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.

unicorn

@sindresorhus I assume I've avoided the common mistakes, but please let me know if anything else appears lacking at all.

Linkify WebXR in  WebXR comprises a group of standards that allow browsers to access virtual and augmented reality devices, to a website that explain WebXR further, ideally the official website.

Tweet: https://twitter.com/awesome__re/status/1438785779816288263


Backend Create Demo

Rendered Demo
Copyable markdown for web-curriculum-new-format:
Use this demo locally by running this command in your Terminal:
npx ghcd@latest neuefische/web-exercises/tree/main/sessions/backend-create/demo-start -i

Use this demo locally by running this command in your Terminal:
npx ghcd@latest neuefische/web-exercises/tree/main/sessions/backend-create/demo-end -i

I reviewed your response and added comments where applicable.
In general I agree and think the adjustments can be done in later steps. Please open the proposed issues, so we can track the improvement.


please add the release on Modrinth (1.19.2)

This project is no longer maintained, and I don't recommended to use it as it has memory leak.


README updates for iOS Simulator and Android Emulator setup

for real this time, gross merge but all the info made it 🙃

@samgutentag Another merge conflict 🙃

@samgutentag want to resolve the comments here?


Upgrades to authManager

Convert to typescript
Introduces a JS Class and protected members to minimize need to use sessionStorage to save last token response
New optional tokenStorage sdk-config attribute to allow control over sessionStorage usage for token response (temp-only on before unload/load[default];none;always)
Obfuscates any stored token response
Leverages upgraded PegaAuth library which removes need to pass all config params via sessionStorage
Remove exported global gbLoginInProgress with method sdkIsLoggedIn (requires minor update to sample files)
Adds several additional optional sdk-config attributes: mashupAuthService, portalGrantType, mashupGrantType,

That "prior session could not be resumed" will actually be fixed with Infinity 24.1 which supports better OAuth error communication to consuming clients....and this latest auth.js includes that support.  It will automatically drop the sessionIndex which doesn't make sense.

Ok but what do we do about for our use in 8.8.+ and 8.23? Can we so anything to show a different message or conditionalize things to be more helpful for pre-8.24 use?

There may be an issue with logout.  Will investigate further.  (Missed that portion about having logged out...thought it was more session having expired...requiring a full re-auth and you authenticating as a different identity)


Support non-integer primary key in shorthand function

Opened a version of #76 against master (and swift 1.1). Feel free to merge either

Thanks!

FYI, I've also enabled defaultValue for primary keys, that way you can automate UUID generation:
let uuid = Expression<String>("uuid")
let uuidgen: () -> Expression<String> = db.create(function: "uuidgen") {
    return NSUUID().UUIDString
}

db.create(table: users) { t in
    t.column(uuid, primaryKey: true, defaultValue: uuidgen())
}

Oh nice 👍


Allow ctrl+enter to work on normal links

Please select if your request is either something new or an enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
I have now grown very used to ctrl+enter to open links to notes in my vaults. (Thank you for this, it's excellent) but as a result I now find myself more and more trying to do this on links to external sites etc.
Describe the solution you'd like
Ideally dendron.openLink (what is bound to ctrl+enter I believe) should, if possible, defer to editor.action.openLink in the case that the cursor is not over a note link.
Describe alternatives you've considered
I could bind some other combo to editor.action.openLink but then I'd have that cognitive hiccough each time for 'what kind of link is this?'.
Additional context
Here's some example content:

* [[Note link|some.note]] (works)
* Trad. embedded link (doesn't work) <https://example.com/>
* Markdown link (doesn't work) [Example](https://example.com/)
* Footnote-style markdown link (doesn't work) [Example][]

[Example]: https://example.com/

Thank you for the suggestions @kinnison ! I definitely do this myself 🙂 We'll keep track of this and report back when it gets worked.

I thinks https://github.com/dendronhq/dendron/issues/2773 might be somewhat related to this one.

This issue is featured in this week's round of CROP voting on Dendron's Discord server.

The community has selected this issue as this week's CROP winner. 🎉


Upgrade React Native and remove iOS 14 patch

Expected Behavior
We are using the latest React Native package. Lots of cool new features like "pressables". Latest version has a fix for iOS 14 so the patch we've applied react-native+0.62.2.patch is no longer needed.
Current Behavior
Using a slightly outdated version of React Native.

#5967 upgrades RN so all that should remain is removing the iOS 14 patch and testing

Fixed by #5967


Development: Add server test for changing password to the same password

Checklist
General

[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.
[x] I added multiple integration tests (Spring) related to the features (with a high test coverage).

Client

[x] I followed the coding and design guidelines.

Motivation and Context

This is a test case for testing whether HTTP 400 status code is returned when the user attempts to change the password to the current password.
Description

AccountResourceIntegrationTest.java: changePasswordSamePassword()
Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

@sunsetcoder Thank you for adding tests. But you don't need to create a PR for each individual test. Just add multiple tests in one PR :)

Tried out the new test locally and it passes.


Artifacts appear when decreasing expansion_rate

Hi @SorooshMani-NOAA,
Trying to develop a mesh from a GEBCO DEM (the DEM file is "gebco_2023_n47.0_s40.0_w-72.0_e-63.0.tif", from https://download.gebco.net/), some artifacts (on a zonal direction as shown on the image below) appear when I decrease the expansion rate (from 0.1 to 0.001) of the add_contour function (below is some meshing scripts). Is there any recommendations on how to get the artifacts removed and properly following the coastlines?
Thank you so much for any help !
Best,
Pierre
target_size_min, target_size_max = 500, 10000

hfun = ocsmesh.Hfun(
    deepcopy(rasters),
    hmin=target_size_min,
    hmax=target_size_max,
    base_shape=base_shape,
    base_shape_crs=domain_crs,
)

hfun.add_contour(
    level=0,
    target_size=target_size_min,
    expansion_rate=0.001,
)

hfun.add_constant_value(
    value=target_size_min,
    lower_bound=0,
)

driver = ocsmesh.JigsawDriver(geom, hfun, initial_mesh=False)
mesh = driver.run()

plot_mesh_edge(mesh.msh_t, lw=0.2)

Also

Concerning the error when trying to lower the libraries version, I found that the GEOS one needs a recent version
mesh = driver.run()

Results in

UnsupportedGEOSVersionError: The "iso" option requires at least GEOS 3.10.0

Hi @pierrechabert and @SorooshMani-NOAA.
Here is a conda env package list that works:
matplotlib                3.8.4                    pypi_0    pypi
geos                      3.12.1               h1537add_0    conda-forge
python                    3.9.19          h4de0772_0_cpython    conda-forge
Also, I am at this moment working on the contour line problem (which seems to be caused by the collections attribute deprecation in version > 3.8). @pierrechabert I will make sure I keep you in the loop once we have a permanent solution.

Permanent solution added to the latest OCSMesh version (v1.5.6).
Please updated OCSMesh with the latest version


The ping interval configuration does not affect the activity timeout.

The reason why I am proposing this change is because I actually need this in my own application, where there is one reverb app that I need to ping constantly (every 5 seconds). Plus, I frankly do not understand why there is a ping_interval configuration if it is not used at all except for checking whether you are active or not. In fact, what defines being active is something we should all set for ourselves based on our business rules when developing apps and this rule may vary from application to application, like in my case.
As for breaking existing features, the one thing I would point out is that the default setting in the configurations is 60 seconds, whilst in this branch it was hardcoded to 30 seconds. So, if people were expecting the app to ping every 30 seconds, this should remain unchanged. Therefore, I also changed the configuration file to default to 30 such that the behavior does not change for those who did not set the environment value.
I believe this makes building web applications better because it makes sense out of the configuration and it is an important feature of real-time applications. Being able to change this on an application-basis and quickly via a configuration file and environment variables is a huge advantage for developers, in my honest opinion.
As per tests, I obviously tested this locally and my application indeed started pinging every 5 seconds rather than 30, but I do not really see how to provide a test for this here. This is, after all, my first contribution to any open source repository, and I am not used to it. In any case, I could provide a screenshot showing the results later in comments.
I deeply apologize to everyone if this change is not the intended behavior and I am just talking nonsense, but it really fixes my personal problem and is what I needed. I will understand if this PR is not approved. And, by the way, I would even suggest changing the variable name from $pingInterval to $activityTimeout, since it makes more sense for the app. Even for the Laravel\Reverb\Contracts\Connection::isActive() function.
Thank you for an amazing solution to WebSockets!

I think it makes sense to send a configurable activity_timeout as part of the connection_established event rather than hard coding it. However, I'm not sure it makes sense to reuse ping_interval for this since they have different purposes.
I don't think I'm against adapting this PR to introduce a new activity_timeout config option.
What do you think?

I think that's a good idea finding common ground, I was not sure about the usage of ping_interval and I definitely did not find the resource you shared here, so I will update the PR accordingly!

Oops, need to pass some tests, I'll fix this now!

Drafting this pending review from @joedixon


[FABG-985]  Fix gateway DISCOVERY_AS_LOCALHOST orderer config map error

Fix [FABG-985] gateway DISCOVERY_AS_LOCALHOST orderer config map error
gateway test for localhost by  env : DISCOVERY_AS_LOCALHOST  = true, orderer config err
Signed-off-by: Yunfeng Zou<EMAIL_ADDRESS>

@zyf7862634 I think this is failing the DCO check because of the merge commit.
Please can you rebase your first commit and try again?


Mandatory source and target parameters in the REST API throw errors

Hello MMT team,
It seems that there is a change in the REST API.
So, in the old SMT, I used to use this and it worked perfectly fine:
http://<IP_ADDRESS>:8045/translate?q=world&context=computer%22%20
Now, if I use the same URL with the new neural version, I get the following error:
{ status: 400, error: { type: "ParameterParsingException", message: "Missing parameter source" } }
If I add the source parameter 'source=en", I get the same error but for target this time.
{ status: 400, error: { type: "ParameterParsingException", message: "Missing parameter target" } }
Is there a reason for this change? I am asking because I was using Okapi framework with the SMT version of MMT and it was working just fine, now it no longer works due to this change. Here is the error I am getting from Okapi.
`ERROR: Error querying the server.
Error: response code 400
Bad Request
Error count: 1, Warning count: 0
Process duration: 0h 0m 0s 158ms
=== End process`
Please let me know what you think. For your information, I reported this to Okapi team.
Thanks,
Mohamed

Hello @mzeidhassan,
In recent release 2.0 we have changed our API due to the introduction of multilingual engines.
Since now an engine can handle more than one language pair, it is necessary to specify the language direction you want to use in your translation.
Apparently the connector developed by Okapi to interact with MMT has not been updated yet, and this raises the problem you have encountered.
Thank you for reporting this to the Okapi team: that was actually the best thing to do, so they'll update their connector as soon as possible.
Thanks for reporting this to us too, this is good to know!
Best,
Andrea

Hi @mzeidhassan !
I think we can make somehow the API back-compatible: if the engine has only one language direction, it would be possible to omit the source&target languages.
We're working on it, I'll let you know as soon as it will be ready!

This would be great, @davidecaroselli ! Yes, please let me know when it's done so I can update my instance. Thanks a million!

Hello again @mzeidhassan,
We have restored the API back-compatibility: you can find the update in our master branch.
Please let us know everything works well now :)
Thanks for your support!
Andrea

Hi @mzeidhassan
we have just release MMT v2.0.2 with the API backward compatibility. Please try it and let us know if everything worked as expected!
I'm closing this issue for now but, as always, if you have any other question or problem please don't hesitate to re-open it!
Cheers,
Davide

It works just fine now! Thanks @davidecaroselli !


Resolve Conflicts & Merge Pull 2701

https://github.com/EOSIO/eos/pull/2701

Superseded by other PRs


Updating details about getUserInfo() API

Updating details about getUserInfo() API

Sorry for the late reply.
This change will get overwritten at the next deployment. Please make your change in the dev branch in the "portal-sdk/template" folder (rather than the "portal-sdk/generated" folder)


HTTPS proxying without client certificate and key.

I want to configure Mountebank as proxyAlways mode sending my requests to the actual HTTPS servers without client certificate or key like when I executed command curl -k https://myserver.test.com
Expected behaviour
Proxy mode can forward requests without any client certificate, key like curl -k command
...
Actual behaviour
I got an error
"errors": [
    {
      "code": "invalid proxy",
      "message": "Unable to connect to \"https://myserver.test.com\"",
      "name": "Error",
      "stack": "Error\n    at Object.from (/usr/local/lib/node_modules/mountebank/src/util/inherit.js:15:17)\n    at Object.InvalidProxyError (/usr/local/lib/node_modules/mountebank/src/util/errors.js:13:30)\n    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/mountebank/src/models/http/httpProxy.js:163:40)\n    at ClientRequest.g (events.js:260:16)\n    at emitOne (events.js:77:13)\n    at ClientRequest.emit (events.js:169:7)\n    at TLSSocket.socketErrorListener (_http_client.js:256:9)\n    at emitOne (events.js:77:13)\n    at TLSSocket.emit (events.js:169:7)\n    at emitErrorNT (net.js:1253:8)"
    }
]

...
Steps to reproduce
I've configured Mountebank like this
"responses": [
     {
         "proxy": {
         "to": "https://myserver.test.com",
         "mode": "proxyAlways"
      }
    }
]

Noted that myserver.test.com is configured with HTTPS SSL with self-signed certificate (actually, it's a load balancer HTTPS configuration)
...
Software versions used
OS         : OSX
mountebank : 1.5.1-beta.1115
node.js    :
  (only if installed via npm)
Installation method : tar.gz
  (npm, zip, tar, pkg, deb, rpm)

Log contents in mb.log when running mb --loglevel debug
I've shown it in actual behaviour

Thanks for submitting. Unfortunately, I haven't been able to reproduce the issue. As far as I can tell, mountebank already uses the equivalent of the curl -k switch and does not validate the server certificate with a CA, which makes me wonder if there's something else about https://myserver.test.com that's rejecting the connection. There's even a test for this scenario in the mountebank code base that does exactly this, and I reviewed it to ensure it's testing against a self-signed cert.
Can you reproduce with something I can run locally?

Hi @bbyars
I think the root cause is my target HTTPS server has configured self-signed certificate using cipher 'RC4-MD5' which is quite old cipher for SSL/TLS protocol. I've checked the cipher in my target server using 'openssl' command
openssl s_client -connect <ip>:<port>

And this is the result
New, TLSv1/SSLv3, Cipher is RC4-MD5
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : RC4-MD5
    Session-ID: <session-id>
    Session-ID-ctx:
    Master-Key: <master-key>
    Key-Arg   : None
    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 18 (self signed certificate)

Then I've written a sample https client on nodejs to connect to my target server. Here is my sample code
https_request.js
const https = require('https');
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
var options = {
  hostname: '<ip>',
  port: 443,
  path: '/path/to/resource',
  method: 'GET',
  //ciphers: 'RC4-MD5'
};
var req = https.request(options, (res) => {
console.log('statusCode', res.statusCode);
console.log('headers', res.headers);

res.on('data', (d) => {
    process.stdout.write(d);
});

});
req.end();
req.on('error', (e) => {
    console.error(e);
});

I run this file on my nodejs and got an error which is the same error from Mountebank.
bash$node https_request.js

{ Error: read ECONNRESET
    at exports._errnoException (util.js:1026:11)
    at TLSWrap.onread (net.js:572:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }

But if I uncomment the "cipher" parameter in my request options, the server will accept my request and return response message back to the client.
bash$node https_request.js

statusCode 200
headers { server: 'Apache-Coyote/1.1',
      'x-application-context': 'application:dev:8443',
      'content-type': 'text/plain;charset=ISO-8859-1',
      'content-length': '16',
      date: 'Tue, 22 Nov 2016 07:46:50 GMT',
      connection: 'close'
 }

That means my target server required clients to send a request with 'cipher' parameter.
Am I understand its behaviour correctly?
So can you provide more options for HTTPS request object?

Thank you for the awesome research - I very likely never would have unearthed that scenario without you providing so much detail. I changed the proxy ciphers to ALL, which as I understand it, includes the older insecure ciphers. If you get a chance, can you test it out? The change isn't released yet, so you'll have to use either:

npm install mountebank-dev
One of the install downloads available on the pre-release site: http://mountebank-dev.herokuapp.com/docs/install

@bbyars
I've tested your fixed with my scenario. Unfortunately, it doesn't work. It throws the same error message (unable to connect to 'https://') I don't know why because the cipher 'ALL' should covered the cipher 'RC4-MD5'. To make it work, I have to set specific cipher to 'RC4-MD5' Could you please allow the user to override your cipher setting? you may set the default one to 'ALL' if no 'ciphers' setting under proxies request.

OK thanks for testing. I'll add a cipher field to override the defaults.

Fixed as of 9b1a388. You can now pass a ciphers field to the proxy.

@bbyars
I've tested your fixed and it works. Thank you so much.

Perfect - thanks!
On Sun, Nov 27, 2016 at 8:31 PM, nottyo<EMAIL_ADDRESS>wrote:

@bbyars https://github.com/bbyars
I've tested your fixed and it works. Thank you so much.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bbyars/mountebank/issues/161#issuecomment-263169988,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAESv1XKBm8grBNZ4Cn-m7lOcOEr6laMks5rCjzsgaJpZM4KWwhc
.


Add Service Account in pods details

Hi. This is a small patch which adds a Service Account in pod details.
I wish I could add a clickable link for Service Account and Priority Class but this is beyond my knowledge of React development and Lens internals.
Screenshot:

@dex4er Please sign your commit


version 0.0.6 on the Maven central repository

Hi
Is the development of version 0.0.6 completed ?
and will it be available on maven central repository ?

It is already in the maven central repository and has been for some time.


Forgot password

Hii,
Can you please add a forgot password button as I literally forgot my password :( and now I only have 1 iitk id so there so other way to login.
Harsh

Yes, we know that there should be a forgot password button. However due to time constraints, we have not yet implemented this feature. Since this is not a bug, but an additional feature, we will implement this in our future release of the webapp.


added the reinflate api

Added the reinflate function to reinflate the index.

Separate module and only exposing public functions sounds good to me.

Is there a better name for this function? I am terrible at names...

Is there a better name for this function?

You mean "reinflate"? Maybe if you write a 2-sentence description, the name will present itself :)

@martindurant  what should be the module name? The module should be included in a sub-package like kerchunk.grib.<module> or directly in the kerchunk.<module name>?

I suggested _grib_idx above. Making kerchunk.grib into a package sounds like a bad idea.

Comments on naming (not my strong suit)... the Camus team had suggested "outbasing" as the name for this general approach of ingesting an index of chunks to a database and constructing the dataset/tree on the fly.
The "reinflate" method in particular builds the refspec dictionary for a zarr/xarray tree representing a set of grib data. The inputs are the static metadata for the refspec (everything but the chunks for variables with a time dimension), a set of chunk indexes for specific variables (usually stored in a DB), the aggregation type, and the set of axes that define how to arrange those chunks.
I wanted to be general, supporting all the FMRC slices which are represented in the AggregationType enum. The api allows passing a list of axes such that you can express a set of runtimes, a set of valid times, or a set of horizons.
I hope there is some simpler expression of these concepts that might use this method as a backend, but I suspect you would have to make assumptions about the backend database/schema to wrap it up nicely.

This code should be in _grib_idx.py, as discussed
There should be tests
There needs to be far more documentation on how to use the code (again), else no one will ever touch these functions.

Thank you for getting the process started. I will plan to make progress this month, but it will be a nights and weekends effort. If that is not progressing by the end of October we can regroup.

Sure, I was simply book-keeping :)

@emfdavid I was trying to figure out where the GSoC work stands, and it looks like this is the blocker?  Is that correct?

Check out #523 - I think that's intended to finish off the topic.

@martindurant ooh, yes indeed, that looks like it!  Thanks!

Can we close this now that #523 is merged?


DELETE method not working?

Hi,
First of all: i know this is a WIP module and i'm not complaining :)
I've been using Kitura-Request to enable some http calls from my swift server app, and i've managed to use GET and POST without troubles authenticating through tokens in the parameters of the HTTP call to Trello.
But when i tried to use the DELETE method (.delete), i'm getting an 401 unauthorized response every time. My first thought was that i had the wrong permissions or token, so i tried the same HTTP call with the same parameters through Postman, and it worked as expected.
I tried sniffing the http calls through httpry but they all come without the HTTP method nor the full call.
Is it possible to add a method to the Kitura-Request class that simply outputs the exact http call that the request is executing, so it's easier to debug?
And is it possible that Kitura-Request is not handling the parameters in the same way when using the .delete method?
Thanks in advance.
By the way, great work with this module, the only one that i found that works for HTTP calls in swift for linux ;)

I performed additional debugging by using httpbin.org and verified that the DELETE method ignores the parameters defined for a request -> http://httpbin.org/delete?token="My wonderfull Token"&key="My wonderfull key"
Response from Postman:
{
"args": {
"key": ""My wonderfull key"",
"token": ""My wonderfull Token""
},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "/",
"Accept-Encoding": "gzip, deflate",
"Cache-Control": "no-cache",
"Connection": "close",
"Content-Length": "0",
"Host": "httpbin.org",
"Postman-Token": "d72bd1d1-c087-4887-91c7-f7514f3e4d23",
"User-Agent": "PostmanRuntime/6.1.6",
"X-Bluecoat-Via": "6096663e10784807"
},
"json": null,
"origin": "<IP_ADDRESS>",
"url": "http://httpbin.org/delete?token="My wonderfull Token"&key="My wonderfull key""
}
The same output when invoked from Kitura-Request:
we use this URL: http://httpbin.org/delete
We provide the following params: ["token": "My wonderfull token", "key": "My wonderfull key"]
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "/",
"Connection": "close",
"Content-Length": "0",
"Content-Type": "application/x-www-form-urlencoded; charset=utf-8",
"Host": "httpbin.org",
"X-Bluecoat-Via": "7039f9d976f8af11"
},
"json": null,
"origin": "<IP_ADDRESS>",
"url": "http://httpbin.org/delete"
}
The parameters are not included in the HTTP call.

When trying with the same parameters for the POST method, Kitura-Request includes them in the form section:
we use this URL: http://httpbin.org/post
We provide the following params: ["token": "My wonderfull token", "key": "My wonderfull key"]
{
"args": {},
"data": "",
"files": {},
"form": {
"key": "My wonderfull key",
"token": "My wonderfull token"
},
"headers": {
"Accept": "/",
"Connection": "close",
"Content-Length": "47",
"Content-Type": "application/x-www-form-urlencoded; charset=utf-8",
"Host": "httpbin.org",
"X-Bluecoat-Via": "7039f9d976f8af11"
},
"json": null,
"origin": "-",
"url": "http://httpbin.org/post"
}

Found a Fix:
The Sources/KituraRequest/Encoding/URLEncoding.swift file needs to include the "DELETE" method in the list of the ones that encode the parameters in the query. I forked, tested the fix and it works as expected ^.^
I'll try to put a PR with the fix later.

PR merged. Thanks!


[AutoPR storage/resource-manager] add storage package-2019-04 to Go SDK

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5773

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4674


:recycle: (CoreVideo): Remove the need for HAL_VIDEO_DECLARE_IRQ_HANDLERS

Working with extern "C" and extern remove the need to use
the HAL_VIDEO_DECLARE_IRQ_HANDLERS macro but use the linker instead

There is more changes than explain on message of commits:

Refactor of namespace
Moving corelcd in display::internal namespace
Moving videokit out of display namespace
Refactor unit tests

It is not relevant according of what this PR should do and we didn't discussed about it


Drop python

Drop vestigial pieces of code that are not used anymore. In particular drop things that refer to Python.

@deepankarsharma you missed a few references.


Make RaggedTensors the default for list-columns in the FeatureContext

Right now we are converting all features to dense when we store them in the feature-context (source). It would be better to store them as tf.RaggedTensors, when retrieving them the user could choose to convert this to sparse or dense. This would have a lower memory footprint.

closing since it was fixed.


Upgrade Solana to 1.18.0

Problem
Now that solana-program 1.18.0 is out, new projects start with an incompatible version if the user's Solana CLI is <1.18:
$ anchor build
error: package `solana-program v1.18.0` cannot be built because it requires rustc 1.72.0 or newer, while the currently active rustc version is 1.68.0-dev
Either upgrade to rustc 1.72.0 or newer, or use
cargo update -p<EMAIL_ADDRESS>--precise ver
where `ver` is the latest version of `solana-program` supporting rustc 1.68.0-dev

Summary of changes
Upgrade Solana tools to 1.18.0. Note that solana-program crate minimum version requirement for Anchor crates is still 1.16.

The failing tests in CI have been working with all prior versions so I think something is off with program memory in 1.18. I'm afraid it could be something like https://github.com/solana-labs/solana/issues/31960#issuecomment-1668682153 again but unfortunately this time it's not fixable by making sure crate and CLI versions are the same.
We could fix these errors and merge this but I think there is a bigger problem here since if our CI have these errors, there is a high probability that many of the production programs will run into this problem too.
For example pyth tests have worked since 2021 without problems but now they result in a runtime error with 1.18 release:
"Program log: panicked at 'from_bytes_mut>SizeMismatch', src/internal.rs:32:3

I might be missing something here but if not, this problem needs to be fixed from upstream.

Superseded by https://github.com/coral-xyz/anchor/pull/2867.


Bug in save model

Bug exists when saving the model with the following setting:
model.params['optimizer'] = keras.optimizers.Adam(lr=0.001)

The callback is :
evaluate = mz.callbacks.EvaluateAllMetrics(model, x=test_x, y=test_y, batch_size=len(test_x), model_save_path='./.tmpdir/')

you can just use model.save('./.tmpdir/') and load it with from matchzoo.engine.base_model import load_model

params keys should only be basic data types (string, int), not keras optimizer instances. However, I know how to make this work (by calling keras seriailization helpers). Do you think it's really needed?

Hi, I found this when I tried to use specific learning rate to train my model. Or could you give a better way to specify a customized learning rate with the optimizer while using matchzoo?

@presimple
If you want a quick solution:

add an additional parameter learning_rate in model.params and modify model.build so it takes that parameter into account
add an additional parameter learning_rate in model.params and add additional logic to read that parameter and compile a loaded model.

A better solution, but takes longer:
Matchzoo handles optimizer serialization differently.
Ultimately it's keras's fault. Maybe they will fix that eventually.

@presimple found a much better workaround in #735

I hope things are working well for you now. I’ll go ahead and close this issue, but I’m happy to continue further discussion whenever needed.


Nuxt library adjustment to be done

[x] When editing a global section, the listing of the page using this section must be adjusted
Have as first sentence "This section is referenced on X pages.
Have as second sentence under the first one "Editing it will modify it on all these pages"
When clicking on number of pages, the list of page path one under the other will show and if I click again on the number it will hide the listing.
[x] We were on the pro page, I edited it and then changed the layout for a reason it shows to me bunch of sections which should not happen
[x] I created a new page, as there is a global section that must be added automatically, when editing it it shows, then I changed the layout and the section vanished which is wrong
[x] More of this in a newly created page if I show the layout option and then click on highlight, the different regions are not showing

Acceptance testing

[x] When editing a global section, the listing of the page using this section must be adjusted
Have as first sentence "This section is referenced on X pages.
Have as second sentence under the first one "Editing it will modify it on all these pages"
When clicking on number of pages, the list of page path one under the other will show and if I click again on the number it will hide the listing.
[x] We were on the pro page, I edited it and then changed the layout , I should only see the sections available on the page even though the layout changed
[x] I created a new page, as there is a global section that must be added automatically, when editing it it shows, then I changed the layout , the section should still show in the new layout
[x] More of this in a newly created page if I show the layout option and then click on highlight, the different regions are not showing and they should

all good closing it


All external Links in Pico are provided with NoFollow

Hello Developers,
how can I add all external links with noFollow on a Pico website? What should I edit and how does it work with Markdown syntax?
Thanks in Advance.

First of all: I don't think that this is a good idea. Nevertheless, Pico is open source and has a powerful plugin system that allows you to achieve this on your own. You'll have to extend Parsedown, the Markdown parser Pico uses - there's an article about extending the parser in the Parsedown wiki. Starting with Pico 2.0 (#334) you can replace Pico's Parsedown parser object using the onParsedownRegistered event.
https://github.com/picocms/Pico/blob/fc76d37dbca70c7e6aefa3807f005860d73bbb0b/plugins/DummyPlugin.php#L426-L436

OK, thanks for the tips. I am not concerned about links to colleagues websites, but only my own to different projects, which I link in their own Pico blog.
So I wanted to have rel = nofollow and solved it:
Robots: index,nofollow
That should work. But this only applies to my links. Foreign links may remain doFollow 😸

I would use DOMDocument for this
create a plugin file TweakOutput.php
and put in this content:
final class TweakOutput extends AbstractPicoPlugin
{
	/**
	 * This plugin is enabled by default?
	 *
	 * @see AbstractPicoPlugin::$enabled
	 * @var boolean
	 */
	protected $enabled = true;

	/**
	 * Triggered after Pico has rendered the page
	 *
	 * @param  string &$output contents which will be sent to the user
	 * @return void
	 */
	public function onPageRendered(&$output)
	{
		// don't work through XML Documents
		if( ! (strpos($output,'<?xml') === false) ){
			header('Content-Type: text/xml; charset= utf-8 ');
			return;
		}

		$output = mb_convert_encoding($output, 'HTML-ENTITIES', 'UTF-8');

		$doc = new DOMDocument();
		$doc->preserveWhiteSpace = false;

		$doc->loadHTML($output);

		// add target _blank to external lins
		$links = $doc->getElementsByTagName('a');
		foreach ($links as $item) {
			$href = parse_url($item->getAttribute('href'), PHP_URL_HOST);
			if (!empty($href) && $href != $_SERVER['HTTP_HOST']){
				$item->setAttribute('target','_blank');
				//$item->setAttribute('rel','nofollow');
			}
		}
		$output = $doc->saveHTML();
	}
}

This script goes through all <a> compares their href value with the current $_SERVER['HTTP_HOST'] and if it is an external link it adds target="_blank" to open those pages in a new browser window.
Uncomment $item->setAttribute('rel','nofollow'); and all links get a rel="nofollow" attribute.
Tweak the if condition to exclude links from being treated like:
if (!empty($href) && ($href != $_SERVER['HTTP_HOST'] OR $href != 'myownproject.com')){
  $item->setAttribute('rel','nofollow');
}

depending on how valid your input html is, DOMDocument may choke and mess things up, but that's a different story :)

Thanks for this work and I have just done it.
When I call the homepage of my Pico blog I have this error.
Parse error: syntax error, unexpected '') === false) ){' (T_CONSTANT_ENCAPSED_STRING) in
/xxxxxxxxxxx/picocms.wpzweinull.ch/plugins/TweakOutput.php on line 21

Does it mean that my HTML is not valid? I also blogged with Markdown Pad 2.

something is wrong with this line:
if( ! (strpos($output,'<?xml') === false) ){

I don't know what exactly, but you can comment out the whole if block to get past this.


[Carousel] Add accessibility features to navigate through the slides

Review feedback:

binds keyboard navigation to carousel rather than indicators
ensures first item and indicator are active in the carousel markup (prevents FOUC)

Q
A

Fixed Issues?
Fixes #309

Patch: Bug Fix?
👍

Minor: New Feature?

Major: Breaking Change?

Tests Added + Pass?
NA

Documentation Provided
NA (code comments and or markdown)

Any Dependency Changes?

License
Apache License, Version 2.0

Codecov Report

Merging #325 into development will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             development     #325   +/-   ##
==============================================
  Coverage          82.27%   82.27%
  Complexity           876      876
==============================================
  Files                 83       83
  Lines               2798     2798
  Branches             517      517
==============================================
  Hits                2302     2302
  Misses               205      205
  Partials             291      291

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 f9ed9f0...ffd3b0e. Read the comment docs.

@jckautzmann updated in https://github.com/Adobe-Marketing-Cloud/aem-core-wcm-components/pull/325/commits/f8de65bec324901f86344f2e74ca7134ad3210d7


Online Invoicing system

Is there a reason why the online invoicing system is not included in the Hungarian overview?
https://support.microsoft.com/en-gb/help/4499832/hungary-online-invoicing-system-v-1-1-support-on-dynamics-365-for-fina

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

ID: 9a7b6aab-f5f6-8f67-ea96-f6ae9c6a5866
Version Independent ID: 51f7f324-93ee-64b8-458f-b07f537b60bd
Content: Hungary overview - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/financials/localizations/hungary.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @ShylaThompson
Microsoft Alias: shylaw

Hello,
Thank you for your question.
There is no specific reason why the Online Invoicing System is not included in documentation for Hungary.
For now, there are several KB articles dedicated to this topic:
https://support.microsoft.com/en-us/help/4341649
https://support.microsoft.com/en-us/help/4499832
There is a plan to publish also a common article on docs.microsoft.com dedicated to this feature.


Ingest Scheide collection

Fresh tarball https://drive.google.com/drive/u/1/folders/0B4Wo5hgOEFY3ZlZGUU5OS3FIbDA

I am going to ingest a few objects in dev to test #726 (and get a rough estimate of how long it'll take to ingest all of Scheide.

:+1:

So far, the ingest has processed 470 files in 1h47m — about 14s/file.  At this rate, it'll take about 28 hours to process the entire Scheide collection (~7400 files).
The background workers look like they are keeping pace with the ingest, running on the same machine as ingest.  So I would expect the ingest in production to go a little faster with the separate worker machine.

Faster than weeks!

East Asian is about 120K files, to there's that...

Wonder if it's worth trying to to more than one at a time?

Wouldn't be any faster except on production.

http://plum.princeton.edu/catalog?f[member_of_collections_ssim][]=Scheide+Library+%3A+Fifteenth-Century+Printing

Moved to tracking in google sheets


Release to Swift Package Manager (SPM)

Blocked by:

https://github.com/ably/ably-asset-tracking-cocoa/issues/106 - MapBox dependency update
https://github.com/ably/ably-cocoa/issues/819 - ably-cocoa dependency update

┆Issue is synchronized with this Jira Task by Unito

We have added SPM support, but we have not released it yet.

For release:

We should use an SPM release of ably-cocoa in the Package.swift file. (not yet available, awaiting https://github.com/ably/ably-cocoa/pull/1136)
Create a git tag for a version for SPM can find it, and potentially update the README with this new version.


chore: show msw bug

msw doesn't intercept this call, if it did we would've got the mocked response instead of the Invalid API Key error which is coming from the UploadThing API

to test:
In root: bun i
In root: bun vitest sdk

Oh right and this is the other issue, it's not compatible with HappyDOM, that's why I had to do the patch and make it not mock fetch requests in the first place..


ISO country codes

*In the output of the API version of the code the country code is missing.
*Country codes in the data are not ISO (see ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/ghcnd-countries.txt eg CH should be Switzerland, it is for China instead).

Hi @DanielRobertNicoud.
This is the point 1 mentioned in the issue #8. Please close this issue as is redundant.
Thanks


storyblok-js-client is not a runtime dependency

Expected Behavior
End users should be able to update storyblok-js-client as per the semver in its package.json (currently ^5.2.5).
Current Behavior
storyblok-js-client is bundled by vite's lib mode by default, so the actual version used by @storyblok/js is the one from the last time storyblok-js-client was updated and @storyblok/js was built. End users need to wait for this to happen and would get unexpected results (for example, thinking an issue would be fixed by upgrading storyblok-js-client)
Solutions to fix it
Either:

Mark storyblok-js-client  as external in vite's config
Make storyblok-js-client part of devDependencies and keep upgrading @storyblok/js every time storyblok-js-client is upgraded

Hi @ridem,
The actual behavior is intended. We want to avoid the users having to update storyblok-js-client separately, and that's why we are bundling it into @storyblok/js and defining a reactive release system that runs every day to keep the dependencies up to date.
cc @alexjoverm


[tracking] Update list code owners in insights-content-service repository

Update list code owners in insights-content-service repository

Fixed in https://github.com/RedHatInsights/insights-content-service/pull/159


Add more translations and fixes, remove outdated comments

Translates content-tracing-ko.md
Remove outdated comments about remote buffer in browser-window.md
Fix typos and improve grammer in tutorials at KO translations

Since we have move the translated docs into a new folder, can you rename the files from xx-ko.md to xx.md? So you don't have to also modify the links in the docs in future.

I see that.
I'm going to work this now :+1:

@zcbenz Finished!

Thanks!


5 Character Names Code/Text Support

Also adds English default names.
Found all the places where there needed to be changes to multiplications by either looking myself or by using a disassembler. This means there should be no more places to change. Hopefully. In case a name isn't properly displayed (happens especially with Jeff's and Poo's), make an issue.
This commit does NOT add support at a graphical level. So there can be issues with names too long at a graphical level. (Headers call an extra tile from the checkerboard tiles if the names are too long for example)

Nice! Can you elaborate on how you reallocated the RAM? How many letters are available for the player name?
Have you tested saving and reloading battery saves with 5-letter names?

I removed the japanese name, which is 0xD bytes long. It's located between Rockin and the English Player name (which still is 24 letters long and properly read thanks to this pr: https://github.com/jeffman/Mother2GbaTranslation/pull/43 ).
I moved Paula, Jeff, Poo, King, Steak and Rockin a bit. There are labels in m2-hacks which show the old position and the new position.
Basically now each character's name is 7 bytes long (5 + [00 FF]), everything is moved a bit because of that and it was possible to make it thanks to the fact that there were 0xC free bytes due to the Japanese name not being there.
This made it so there was need to change the formula which the game used to determine dynamically the characters names' positions in the RAM. Besides that, it required changing direct references, maximum length considered and numbers loaded and added in certain situations.
Yes, the game properly loads and stores 5-letter names.
(Though saves done prior to this fix have broken names now)

There were also 2 free bytes between Steak and Rockin (They wanted to make the food 8 letters long...?), so there are still 0xB free bytes.


How to get CLR type of Python class?

Prerequisites

[x] Are you running the latest version?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search?

Description
So, we have as task getting CLR type of strongly typed class in IronPython, if possible, without invoking constructor.
Example:
class Vehicle(Component):
    __metaclass__ = clrtype.ClrClass

    _Test = SpecialProperty[int]()

    @property
    @clrtype.accepts()
    @clrtype.returns(SpecialProperty[int])
    def Test(self):
        return self._Test

    def __init__(this, *args):
        return Component.__new__(type(this), *args)

Possible ways at now:

Create object of this type and invoke GetType() from it.
Example:

CompiledCode compiled = source.Compile();
compiled.Execute();
var pythonType = compiled.DefaultScope.GetVariable("Vehicle");
var obj = ops.CreateInstance(type, new object[] { Guid.NewGuid() });
var clrType = obj.GetType();

Get base class type by accessing constructor.
Example:
var clrType = pythonType.__new__.Overloads.Targets[0].DeclaringType;
Playing with "internal" methods of IronPython, but it's hard.

Affiliated problems and possible fixes

pythonType.GetType() throws System.MissingMemberException, but should return something like typeof(IronPython.NewTypes.IronPython.Runtime.Types.PythonType_2$2) or typeof(IronPython.Runtime.Types.PythonType).
pythonType.__new__.Overloads.Function.DeclaringType return System.Object, but by logic,
should return proper containing type.
IronPython.Runtime.Types.PythonType should have reference to CLR type, if available.

I'm not sure I follow what the issue is. pythonType is a CLR type.
var scope = engine.CreateScope();
engine.Execute(script, scope);
var pythonType = scope.GetVariable("Vehicle");
var type = (Type)pythonType;
var obj = Activator.CreateInstance(type, new object[] { Guid.NewGuid() });
Debug.Assert(obj.GetType() == type);
Debug.Assert(obj is Component);
Debug.Assert(pythonType(Guid.NewGuid()) is Component);

@slozier oh really? But, something isn't normal.

@DjArt GetVariable returns a dynamic, you will need to cast to Type if you want it to work. For example (Type)pythonType is Type.

@slozier but, I think, operator as should work, because it can help escape exceptions. And, anyway, it's not obvious.

@DjArt Looks like I was incorrect, pythonType is PythonType is correct. But the PythonType can be cast to Type.


Maybe a little more highlight on the actual page in navigation

Only a small tweak for the UI.
maybe something like that:
https://youtu.be/ez2TqEKo7lw?t=44

Also it seemed in user test, that navigation is not seen and understood immediately. Small arrows next to the card, qrcode and infopage could indicate, that there is more content. These small arrows should be clickable as well and lead to the adjacent screen


Implement direction option for Pinch similar to Pan

When I create a component where I enable panning for horizontal direction only, I can still pan vertically  on the component to move the web page up and down.
However, I have a component right now which needs both horizontal Panning and Pinching. It would be great if the user can still vertically pan to move the web page up and down, and have hammer.js only capture horizontal pan and pinch. However right now the default browser action is blocked by the Pinch action, so we cannot move the web page up/down anymore when using pinch.
I would love to see a direction option for Pinch as we have with Pan. I expect that this can be achieved by changing the Pinch.prototype.getTouchAction method with something similar to Pan.prototype.getTouchAction.

Just for others having the same case, I use the following workaround where I override the getTouchAction method of my pinch recognizer:
var TOUCH_ACTION_PAN_Y = 'pan-y';

var pinchRecognizer = hammer.get('pinch');
pinchRecognizer.getTouchAction = function() {
  // default method returns [TOUCH_ACTION_NONE]
  return [TOUCH_ACTION_PAN_Y]; // don't block default behavior of vertical panning
};


Failed Package Build on arch  linux

Hey, I get the following error when I try to install the package via the AUR:
fatal: Cannot update paths and switch to branch 'makepkg' at the same time.
Did you intend to checkout '2.4.8' which can not be resolved as commit?
==> ERROR: Failure while creating working copy of polybar git repo
    Aborting...
==> ERROR: Makepkg was unable to build polybar.

Is there something to be done on my part?

Hi, I just tried it and for me it works fine.

Do I need to uninstall lemonbuddy first? It's weird...


Will not build from latest HEAD on master

github.com/coreos/flannel/pkg/ip
coreos/flannel/pkg/ip/iface.go:32: cannot use link (type *netlink.Device) as type *netlink.Link in argument to netlink.AddrList:
*netlink.Link is pointer to interface, not interface
coreos/flannel/pkg/ip/tun.go:55: undefined: syscall.IFF_TUN
coreos/flannel/pkg/ip/tun.go:55: undefined: syscall.IFF_NO_PI
coreos/flannel/pkg/ip/tun.go:57: undefined: syscall.TUNSETIFF

Run go build from master, latest commit 18ddbd573b1a6b9568ade96d69f6ca51f6a9dd86

This works fine for me. What version of Go are you using? Can you share a little more about your environment

Closing without a repro.


Incorrectly pytree recognition by KFAC optimizer

First of all, thanks for the contribution of KFAC team !
While using KFAC optimizer to optimize an ANN, I noticed that the KFAC optimizer seems have some trouble to understand the structure of parameter tree if the parameter is used more than once while constructing the neural network.
If the original ANN denoted as f(params, inputs), then if we simply use a modified ANN as F(params, inputs) = f(params, inputs) + f(params, inputs)，the program will throw an error. I have tried functools.partial to fix the parameters, but it seems the program will get stuck somehow. If I use vmap, some of the parameters would be labelled as 'orphan' and by experiments, this would affect the optimization process.
I wonder if there is already some methods to avoid these issues? Would you consider update the optimizer to fix this bug?
Thanks again for the well-designed optimizer !

For K-FAC the optimizer doesn't currently support the parameters being used in more than once in the graph. This doesn't rule out RNNs and transformers since they usually only use the parameter once in the graph, just with an operation that has a time dimension. As of a week or two ago, the behavior when finding such a parameter is to automatically register it as "generic", which will resort to a crude curvature approximation. If you use the TNT feature in the code, you can get generically-registered layers to do something more useful.


Fix the algorithm to handle empty array case

One test fails due to the fact that the algorithm is not handling the empty array case

This case will be discuss during today's meeting, Indeed the result of the test depends on how we interpret the case when there is no people


Removed outdated links, and improved formatting

I removed the outdated links, and improved the formatting of the apps listed under 'Other devices and softwares', and fixed the issue with the markdown not being properly formatted for the URLs.
All of the apps listed under the Mac category were no longer available (or at least I couldn't find the download link), and most of the apps under the iOS category were removed from the App Store, except for one which does not work on the latest version of iOS. I also added my app (ShortFox) to the list under iOS. The chrome extension linked no longer existed, but I found a replacement on the chrome web store.

Perfect! Thank you :D


Geoportal's CSW query is not stable

The CSW query through one of our geoportal servers sometime fails and sometime works. Especially when we query the results starting from 201. One example csw URL looks like
http://data.nodc.noaa.gov/geoportal/csw?service=CSW&version=2.0.2&request=GetRecords&TypeNames=gmd:MD_Metadata&ElementSetName=full&resultType=results&outputFormat=application/xml&maxRecords=100&startPosition=201&outputSchema=http://www.isotc211.org/2005/gmd&constraint=<Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:apiso="http://www.opengis.net/cat/csw/apiso/1.0"><ogc:BBOX><PropertyName>apiso:BoundingBox</PropertyName><gml:Envelope><gml:lowerCorner>-180 45</gml:lowerCorner><gml:upperCorner>180 90</gml:upperCorner></gml:Envelope></ogc:BBOX></Filter>
This one works from time to time. And if you update the startPosition to 301, it works all the time.
Could this be a bug or just server issue? Did anybody experience similar things before?
Any advice is appreciated!
Thanks,
Li

hi Li, do you see any issues reported in the log files? I've tried this same request on our sandbox and that responds without problems:
http://gptogc.esri.com/geoportal/csw?service=CSW&version=2.0.2&request=GetRecords&TypeNames=gmd:MD_Metadata&ElementSetName=full&resultType=results&outputFormat=application/xml&maxRecords=100&startPosition=201&outputSchema=http://www.isotc211.org/2005/gmd&constraint=<Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:apiso="http://www.opengis.net/cat/csw/apiso/1.0"><ogc:BBOX><PropertyName>apiso:BoundingBox</PropertyName><gml:Envelope><gml:lowerCorner>-180 45</gml:lowerCorner><gml:upperCorner>180 90</gml:upperCorner></gml:Envelope></ogc:BBOX></Filter>

This was brought up by one of our data users. He has set up a program to run this request daily. And since he did not complain about it recently, we can consider the issue is no more.
Thanks for checking it. :)


Added data availability proofs, earliest draft

Includes description of binary fields, link to sample python implementation, and structure of extended data roots and slashings for incorrect construction. Depends on some pieces that are not fully specified yet.

top of my list after spec freeze 😅


Update person list header to pull title from associated Manifest Experience when available

The headers for the person list in both the in-movie and out-of-movie experiences are currently hard-coded within the library to "Actors".  Instead, the library should use the title from associated cast & crew experience's Metadata object when it's available.  This will allow Manifest creators to specify custom header text (e.g. "Characters", when the list contains only fictional characters)

Done in 4.1.0


fix windows dll search path in python 3.8

Description
fix windows dll search path in python 3.8
Reference
https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
Changes
Comments

@mxnet-bot run ci [ci/jenkins/mxnet-validation/miscellaneous]

@mxnet-bot run ci [miscellaneous]

@mxnet-bot run ci [miscellaneous]

The reason for this problem is: Python 3.8 changed the dynamic link library (DLL) loading rules under Windows.
The new rules improve security. By default, DLL dependencies can only be loaded from Trusted Locations, which avoids security risks such as DLL hijacking to a certain extent.
Reference link：https://github.com/ynyyn/Miniblink-Python-SimpleDemo/issues/4
import os
mxnetpath=sys.path[6]+"\\mxnet\\libmxnet.dll"
os.add_dll_directory(mxnetpath)
import mxnet


Contributors / Maintainers of this repository?

Since I'm now mainly working in theoretical / computational materials fields, it would be great if any of the code contributors would like to maintain this repository. I can add her / him as a maintainer so direct push / PR is possible.
@ericpre @markotoplak @rodsmithMB @jji-ts @AlexHenderson ?

Yes, indeed @pietsjoh will be starting to implement Renishaw support for RosettaSciIO in the next weeks. An open question for the moment was, whether to make this repository a dependance. In the current situation, I would propose to migrate the Renishaw Support to RosettaSciIO so that it does not need to be maintained separately.

Hi @eric @jlaehne thanks for getting back! Yes this repo is written for some of my PhD work so only the spectra / mapping extraction parts are implemented. Although as far as I know there is no official documentation on how the wdf files are constructed, the c codes from gwyddion is quite good at block parsing. Some of the blocks contain the instrument and calibration data, as can be seen in https://github.com/christian-sahlmann/gwyddion/blob/b0a16600d36fca015c2c3aabda489ea38db0e969/modules/file/renishaw.c#L607.
Either using this repo as dependency or refactor in rosetta sci io are fine by me. Kindly let me know if anything I can help (though no access to a real instrument now)

that being said, I can work with a PR to integrate the metadata parsing in renishaw_wire (if there is already a defined API in Rosetta Sci IO, that would be great to see what can / cannot be done), or you can spin off new codes

Happy to be involved, but not sure my experience with GitHub is good enough to be a maintainer.

thx @AlexHenderson !

I took a look at the code and I would prefer to refactor this project into RosettaSciIO without introducing it as a dependancy. Primarily because I want to extend the metadata extraction.
As I will work on the parsing anyways, I'd rather implement the complete parser directly in RosettaSciIO (based on this project) . Moreover, it seems easier to maintain everything combined in one project instead of maintaining seperate repositories for the parser and the RosettaSciIO wrapper.

@pietsjoh that sounds logical to me!

Hello,
I think this is probably a good idea to move to RosettaSciIO. Notwithstanding the great work already done here by @alchem0x2A, a common platform for formats is preferable IMHO.
Regarding metadata, I have been in touch with Renishaw and they are interested in helping with information relating to the format, but would rather not actively manage a reader/parser. They have also agreed, in principle, to keep someone (a maintainer I guess) informed of future format changes. I think this is very helpful and will no doubt help any package in terms of robustnness and stability.
One potential fly in the ointment is Renishaw prefer an Apache2 licence. Not sure where RosettaSciIO are heading right now, but it looked like LGPL. I'd have to check whether these are compatible, or a compromise could be reached.

I have opened a draft PR (https://github.com/hyperspy/rosettasciio/pull/55).

Regarding metadata, I have been in touch with Renishaw and they are interested in helping with information relating to the format, but would rather not actively manage a reader/parser. They have also agreed, in principle, to keep someone (a maintainer I guess) informed of future format changes. I think this is very helpful and will no doubt help any package in terms of robustnness and stability.

Getting information about the file encoding directly from the source sounds great. Regarding future maintenance, @jlaehne is probably the person to speak to.

Indeed, we are really grateful for the way having been paved by @AlexHenderson with his Matlab reader and @alchem0x2A with this repo.

Regarding metadata, I have been in touch with Renishaw and they are interested in helping with information relating to the format, but would rather not actively manage a reader/parser. They have also agreed, in principle, to keep someone (a maintainer I guess) informed of future format changes. I think this is very helpful and will no doubt help any package in terms of robustnness and stability. One potential fly in the ointment is Renishaw prefer an Apache2 licence. Not sure where RosettaSciIO are heading right now, but it looked like LGPL. I'd have to check whether these are compatible, or a compromise could be reached.

It is a pity that most manufacturers don't really want to take responsibility for open readers of their formats. But it is already great that Renishaw is supportive of such implementations. I had the same impression from the colleague responsible for our setup and in contact with them. They do also actively promote e.g. the Matlab reader to their customers. In the long run, I think we have to push them to also support direct export to standardized open formats such as NeXus (where the German community is currently working on metadata conventions for a wide range of measurement types).
From a first glance, LGPL and Apache2 should be compatible for the purposes they might need (in particular it should allow using the parser as a library for other projects not necessarily under the same license). But maybe you can check with them again.
@pietsjoh please note here if you have specific questions on the metadata format that come up and cannot be solved through the existing open implementations, including the Gwyddion one.
In the long run, I can serve as a contact, but as I am primarily working with other systems and use the Renishaw PL/Raman only sparsely, I wouldn't mind if at least one more person is on their list as well.

The implementation of the reader for RosettaScIO is almost ready for review. I started with the reader of this repo and modified it to meet hyperspy's format. Moreover, I extended it to read more blocks (inspired by gwyddion). Some of the examples of this repo are used as testfiles.
One of my open questions is how to handle licensing. Currently I include the license of this reader in the reader file and mention that this reader is inspired by the one from @AlexHenderson (similar to how this repo handles this). Additionally, I mention that the code is inspired by gwyddion. Do you think that this is sufficient?

great work @pietsjoh ! Regarding the licensing since this repo uses MIT, you're free to choose whatever you prefer, if that's compatible with renishaw.
Speaking of the maintenance, once the support in rosetta io is completed, I'll mark this repo as archived and add a link to your package.
btw PIL was chosen as the EXIF / WL image extractor only due to personal preference, you may want to switch to some other libraries for the consideration of lightweight / consistent API etc.


Use introspection token endpoint for OIDC and Outh2 security schemes

This issue has been covered with a configuration file allowing setting any authenticator


MM-31858 - Include build hash in cloud about modal

Summary
Include build hashes in cloud about modal
Ticket Link
MM-31858
Screenshots

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

@marianunez did we want to cherry-pick this one to cloud?

@marianunez did we want to cherry-pick this one to cloud?

@marianunez did we want to cherry-pick this one to cloud?

I did not, given that we were so late into cloud testing didn't want to introduce last minute changes that didn't seem urgent.

@marianunez did we want to cherry-pick this one to cloud?

I did not, given that we were so late into cloud testing didn't want to introduce last minute changes that didn't seem urgent.


feat: Add flow option for "natural" flow in scripts

Adds a new key in the bruno.json under scripts.flow
When concatenating post and tests scripts, the flow will now be used to determine the correct script order

Preview
https://github.com/user-attachments/assets/bd440d8d-a05c-48f0-9e20-bebb97d660e0
@sanjai0py This is a big issue for some people (See linked issues) can we merge this soon?
Fixes: #2648 #2597 #2639

Hey @Its-treason, please give us some time to test this, and I'll get back to you soon!

Thanks for the PR @Its-treason !
@lohxt1 Can you review the PR?

Thank you, @Its-treason, for taking the time to implement this feature! The next outgoing release will contain this feature.


Smarter Donations

New optional fields User and Session on Donation
Make first_name, last_name and email optional on Donation
New page at http://coderdojochi.local/admin/class/SESSION_ID/donations/
Admin updates

@karbassi

Merged in #445


[Relying Party] Discovery section

As I mentioned in the PR #100 we should add a new section describing the discovery phase also providing the non-normative examples.
Maybe we should do the same for the relying party section as well.

Already there: https://github.com/italia/eudi-wallet-it-docs/blob/versione-corrente/docs/en/remote-flow.rst?plain=1#L19
in both high and detailed levels


Slow/Unconsistent inplace prediction latencies using Xgboost Python Package

Xgboost: 1.5.2
Numpy: 1.21.5
Hello, I ran into a surprising issue when benchmarking prediction performance using the inplace_predict method.
When iterating and calling the inlace_predict method over and over, latencies spanned from a 3-4 milliseconds to more than 90ms. (This happened for the same input on all predictions)
I have a saved model in json format, and my data consists of really sparse vectors. My aim is to score a single vector in the fastest way possible, without resorting to onnx/etc.
Example below
import time
import numpy as np
import xgboost as xgb

bst = xgb.Booster()
bst.load_model("xgb.json")
times = []
indexes = [8, 131, 144, 149, 178, 183, 1136, 1922, 1924]
vec = np.zeros(8880, order="C")
vec[:] = np.nan
for index in indexes:
    vec[index] = 1
data = np.array([vec])
for i in range(5):
    st = time.time()
    pred = bst.inplace_predict(data)
    en = time.time()
    times.append(en - st)

print("Average time to predict", sum(times) / len(times))
print("Time for first pred", times[0])
print("Time for second pred", times[1])
print("Time for third pred", times[2])

-- Results --
Average time to predict 0.034766340255737306
Time for first pred 0.0038080215454101562
Time for second pred 0.0037903785705566406
Time for third pred 0.0651845932006836

What surprised me the most was that the issue seems to be solved by adding a time.sleep(1) before calling the inplace_predict again.
I'd appreciate any guidance as to why this happens, or if there's anything I'm doing wrong. Thanks

I can't be entirely sure, for a single sample prediction, the time is likely to be dominated by memory and thread allocation, which means the time is being spent in the language runtime or the OS kernel.  We will have to run time profiling to debug this.

I'm not familiar with the internal of jupyter.

Just in case anyone stumbles upon this, the issue was that the inplace_predict method was using all available threads by default. In my local Mac this worked fine but when running inside an EC2 instance my guess is thread allocation (or something of the sort) took too much time compared to the actual prediction.
This was solved by setting bst.set_param({'nthread': 1})


hugo: 0.112.3 -> 0.112.4

Description of changes
https://github.com/gohugoio/hugo/releases/tag/v0.112.4
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 234686 run on aarch64-darwin 1

1 package built:

hugo


[Mobile App][Personal Cabinet][AT]  An orders status is not  not displayed  in  the  'Current orders table'

Environment:  OS Android 8.0 ,  device (Samsung A7 (2017) ).
Reproducible: always
Build found: 05.09.2022 GreenCity версія 1
Preconditions

User  downloaded  a mobile phone application   from https://www.testgreencity.ga/GreenCityClient/#
The app. 'Greencity'  is opened
User is logged in as user  on  https://www.testgreencity.ga/GreenCityClient/#
User  has  at  least  one  order  with  different  order  statuses

Steps to reproduce

|   | Test Step | Test Data | Expected Result | Attachment | Columns
-- | -- | -- | -- | -- | -- | --
  | 1 | Clic on "UBS courier" |   |   |   |
  | 2 | Click on the "UBS user" |   |   |   |
  | 3 | Open an order from current orders view table | Formed, Done, Adjustment | The order with the corresponding status is displayed in the order table

Actual result
An orders status is not not displayed in the 'Current orders table'
Expected result
The order with the corresponding status is displayed in the order table
Postconditions
A clear and concise description of actions to be done after bug reproducing. E.g.:
Labels to be added
"Bug", Priority ("high "), Severity ("low"), Type ("Functional"),

Current mockup does not contain the display of order status and payment status.
First we will make changes to the mockup, then we will redesign the mobile application.

The error cannot be reproduced. It is impossible to place a new order (data in the "house" field in the order address is not accepted)


[FINE] kubernetes_connect, openshift_connect: add timeout settings

Backport of https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/10
plus https://github.com/ManageIQ/manageiq-providers-openshift/pull/8 (unnecessary on master but required in backports)
https://bugzilla.redhat.com/show_bug.cgi?id=1440950 (master)

I suppose bugzilla flags have to be confirmed & cloned first...
https://github.com/ManageIQ/manageiq-gems-pending/pull/156 must be fine/backported before this (this requires kubeclient 2.4.0)
Then this could pass tests and could land on fine.
Then I'll repeat for EUWE...

cc @simon3z @simaishi.

Because given https://github.com/ManageIQ/manageiq-providers-openshift/pull/7 it's both unnecessary and impossible to merge https://github.com/ManageIQ/manageiq-providers-openshift/pull/8.  That duplicated code doesn't exist any more on master.
And you said https://github.com/ManageIQ/manageiq-providers-openshift/pull/7 should not be backported being a refactoring (makes sense).
If you have a less messy suggestion, I'm all ears :)

LGTM :+1:
cc @simaishi

Because given ManageIQ/manageiq-providers-openshift#7 it's both unnecessary and impossible to merge ManageIQ/manageiq-providers-openshift#8. That duplicated code doesn't exist any more on master.
And you said ManageIQ/manageiq-providers-openshift#7 should not be backported being a refactoring (makes sense).
If you have a less messy suggestion, I'm all ears :)

@cben up to you in this case you can squash that tiny refresh here.

@cben For Euwe, updating kubeclient to 2.4.0 (https://github.com/ManageIQ/manageiq-gems-pending/pull/156) will need to happen in gems/pending/Gemfile. Please include that change in your Euwe PR.

@cben you please make Travis happy.

See PR description, ManageIQ/manageiq-gems-pending#156 must be backported first.
(on fine manageiq-gems-pending was already split so I expect a clean cherry-pick, @simaishi let me know if that too need a [FINE] pr)

@cben that looks like it's a clean cherry-pick. I can't backport non-blocker PRs to fine right now. I'll restart Travis after I backport https://github.com/ManageIQ/manageiq-gems-pending/pull/156 in a few weeks.


Fix for uninitialized visitor in jdbc adapter

This changeset initializes the visitor member variable in the jdbc adapter superclass to an instance of the declared visitor class for the adapter name.  I think this will fix the issue for all jdbc adapters that was introduced with AR 3.2's visitor accessor located in AbstractAdapter.  The AR 3.2  test suite runs with the arjdbc Sqlite3, MySQL and Postgresql adapters with this patch applied.
It should address #132 #155
It also includes a fix for the jdbcsqlite3 adapter dropping precision and scale in AR 3.2 migration tests.

Will this make AR-JDBC dependent on Rails 3.2, though? There are still many people running earlier versions. That was the concern that kepy me from making a similar fix originally :(

Good question :-)
It should not make it dependent on AR 3.2 since it only sets an instance variable that is a dependency only in methods defined outside of arjdbc.  The interface change in AR was made in the upstream AbstractAdapter.
I have run the arjdbc test suite against AR versions 3.0.9, 3.1.3 and 3.2.0; the tests pass.  Both the rails test suites in 3-1-stable and 3-2-stable run relatively cleanly using this change as well.  I'm not setup to easily run the rails suite for the 3.0 branch.
So it's not dependent on AR 3.2, but I not completely certain it will run cleanly in AR 3.0.x.  My gut says this patch wouldn't break anything.

Thank you for the extra testing! I think you're right, and we can go with this fix. We'll do that today.

I'm running into this as well when upgrading to to rails 3.2.

My jdbcmysql_adapter.rb contains only following contains:
require 'arjdbc/mysql'


Get playlist title / name only. without downloading files

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

Hello,
I'm trying to get just the name of a playlist in a bash script without downloading the files. I've gone through the manual multiple times and put forth my best google foo.
Currently I'm downloading an entire playlist into a folder with a random name, then zipping it up before offering it to my users. Id just like to get that zip file named after the playlist and not jibberish. Ive tried to awk and sed with various options with no luck.
youtube-dl 2019.11.28
Ubuntu 19.04
Thanks.

-J, --dump-single-json           Simulate, quiet but print JSON information
                                 for each command-line argument. If the URL
                                 refers to a playlist, dump the whole
                                 playlist information in a single line.

Thanks. Did the trick using jq to get the value of title.
#! /bin/bash
export LC_ALL=en_US.UTF-8
name=$(youtube-dl --no-warnings --dump-single-json $1 | jq -r '.title')
echo $name

I hope this does't hurt netiquette. Just in case someone stumbles with this thread while looking for the same solution, as I did a little while ago, maybe they'd rather adopt this version of the solution or something more like it:
wget -qO- $u |  perl -l -0777 -ne 'print $1 if /<title.*?>\s*(.*?)\s*<\/title/si'
where "$u" is the youtube playlist URL (the entire url, not the url's ID), but can really be any  URL of a more or less standard website, I'd guess, it will give really the page title, that happens to include the playlist title in such cases, but also the ending with " - Youtube." I didn't came up with it, I had found it looking for something else a while ago, maybe titles of videos youtube-dl doesn't get, but I don't know.
This solution seems to work considerably faster than the one with youtube-dl or yt-dlp, that's why I'm putting it on the table. Whether it's youtube-dl or the jq thing that's slow, or somehow something else, I don't know.

Adding --flat-playlist seems to considerably increase the speed.

I find all these methods unintuitive, messy, or not working fully.
e.g.,
u=https://www.youtube.com/playlist?list=PLgFjl6LxD3nuffjHcUnxChy7gdkW5zL5c
youtube-dl --no-warnings --dump-single-json --flat-playlist --playlist-end 1 "$u" | jq -r '.title'
-bash: jq: command not found

wget -qO- $u | perl -l -0777 -ne 'print $1 if /<title.*?>\s*(.*?)\s*<\/title/si'
DIRECTOR'S CUT (OUR FAVORITES) - YouTube

What I finally got to work:
t="$(youtube-dl -o "%(playlist_title)s" --flat-playlist --playlist-end 1 --skip-download "$u" | tail -n 1 | awk -F": " '{print $NF}')"; echo "$t"
DIRECTOR'S CUT (OUR FAVORITES)
I had to get the last line of the output and separate out the title.
youtube-dl -o "%(playlist_title)s" --flat-playlist --playlist-end 1 --skip-download "$u"
[youtube:tab] PLgFjl6LxD3nuffjHcUnxChy7gdkW5zL5c: Downloading webpage
[youtube:tab] PLgFjl6LxD3nuffjHcUnxChy7gdkW5zL5c: Redownloading playlist API JSON with unavailable videos
[download] Downloading playlist: DIRECTOR'S CUT (OUR FAVORITES)
[youtube:tab] Playlist DIRECTOR'S CUT (OUR FAVORITES): Downloading 1 videos of 9
[download] Downloading video 1 of 1
[download] Finished downloading playlist: DIRECTOR'S CUT (OUR FAVORITES)

There is probably a better way but I could not find it.


feat: update Observable class

:rocket: This pull request is included in v0.1.0. See Release 0.1.0 for release notes.


Gridsome Singer Pages

This PR cleans up the main Singer page, adds the API JSON examples, adds the Taps and Targets pages, and the Spec and Docs pages.

Original issue is now closed. This PR may or may not resolve these more granular issues:

https://github.com/meltano/hub/issues/792
https://github.com/meltano/hub/issues/793
https://github.com/meltano/hub/issues/795

Closing due to staleness, newer PR's have addressed most of these changes