User-agent with Phone model

Hi,
Im using the COMBINED config to parse log files, im using nginx as a webserver.
There is possible, to include the celphone model in the parser ? Or is a configuration to parser log, to include it ?

Tks.

It's not currently possible. Are you looking to have a different panel for cellphone models? or within the same panel?

Hi @allinurl , A different Panel to mesure this will be nice !

I'll look into this. Thanks for the suggestion!


How to get a picture in a cell ?

I need  import some data to mongodb and the row data  have a picture need to save another path !  I don't want to upload excel and pictures two times, so how do I get a picture from the cell ? Here are my previous snippets and related links(https://github.com/tealeg/xlsx/issues/49), but there's no real solution,that made me a little anxious !   Thanks a lot !

@JermineHu Thanks for your issue. I'll consider adding the function GetPicture() to get the file handle.

@Luxurioust  Thanks a lot !

@JermineHu Hi, I have added new function GetPicture() to use this please reference godoc.

Quickly response very commendable, You are a good person to help others! Persistent optimization is great ! Thanks  again !

@Luxurioust   Quickly response very commendable, You are a good person to help others! Persistent optimization is great ! Thanks  again !


As there was an issue with amqp 2.0, we reverted it to 1.4.9

Verified this version on working setup.


Add a "Created by XXX user" with link to user's Github account

Acceptance

[ ] author in the footer ("Created by XYZ") should be visible by default, with a default value being author's GitHub username linked to the GitHub account

@Daniellappv @olayway we have an author field in config.json
 "author": {
    "name": "William Lima.",
    "url": "http://localhost:3000/@willy1989cv/datahub-playground"
  },

Are we saying that we want the "created by" link to lead to the url in this config.json (which is what is currently happening) or it should go to github/github-user by default?
github-user being the user account that hosts the site.

I don't think is such a good idea and that it's actually needed. You can currently explicitly set this by using existing author config field. And using user's gh account and username by default entails the following issues:

most probably people will want to adjust the name (link display name), so they'd need to adjust their config.json file anyway,
if sb uses private repos they'd want to hide it, probably by setting author: null, or maybe author.name only with author.url set to null (?).

In the future this may be useful if we want to link to other DataHub Cloud sites created by the user. But for now let's stay with explicit configuration in config.json file.


fix pokemon search

https://github.com/PokemonGoF/PokemonGo-Bot-Desktop/pull/113/commits/4eeff19b3bcdc64968dc8285b512a536f71a7831#r74373028

@Outpox you're right, didn't mean to get it there, my mistake.

@JacerOmri What exactly did you change? To me it just looks like you reordered code?

@ProjectBarks yes, the modal is created more than once, the event subscription should be fired everytime inventory modal is created.
the rest of the commit fix some errors related to map after the refactoring done in another PR.

everything has changed, closing this PR


Make it easier to debug incremental rendering instructions

Currently you have to look in the browser's network tab, find the IR instructions that might look like:
[{"type":"remove","child":"0.0","route":"0"},{"type":"remove","child":"0.2","route":"0"}]

This doesn't tell you enough to figure out what is actually going on. It would be nice if we could get something printed in the console like:
Type: "remove"
Route: "0",
Element:

Parent:

We have a DONE_SSR_DEBUG environment flag that we use, maybe that option could enable something like the above.

This is done now.


Airrecord::Client's connection has no adapter

It looks like we're no longer setting conn.adapter = :net_http_persistent in Airrecord::Client. This doesn't trigger any test failures, but it does make Airrecord unable to make real network requests!
I propose writing some tests for Airrecord::Client, including explicitly testing that its Faraday connection is set.

I botched that in resolving the merge conflict for https://github.com/sirupsen/airrecord/commit/467aebdac3520b997652886e459d1600ca138738, fixed in https://github.com/sirupsen/airrecord/commit/dcb506db12f6b7245cf19adca2611a97dd73b183.
We don't need to block 1.0 on this test, but agree, we should have one 👍


[BUG] Certificate pem loader cannot tolerate duplicate certificates in chain

Describe the bug
The current code will reject a PEM certificate file if it has any duplicate certificates in it. (Such as if you had a config script that doubled the self signed cert as "cert + chain" when you didn't have an upstream cert.)
This can be considered a configuration error on user part, but would be nice if it would tolerate the situation instead of outright rejecting the "chain" without a clear explanation/error.
To Reproduce
Steps to reproduce the behavior:

Set up a self signed cert installation
Duplicate the cert in plugins.security.ssl.http.pemcert_filepath  - i.e. list the single certificate twice (such as if you were populating with certificate plus chain, but in this case, it was just the cert since it is it's own chain)
Attempt to start opensearch

Expected behavior
Normal startup, possibly with a warning about ignoring duplicate certificate in chain
Plugins
Security plugin
Screenshots
2021-08-26T22:18:38,465Z [ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [VDS]uncaught exception in thread [main]
org.opensearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:186) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:173) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140) ~[opensearch-cli-1.0.0.jar:1.0.0]
	at org.opensearch.cli.Command.main(Command.java:103) ~[opensearch-cli-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:139) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:105) ~[opensearch-1.0.0.jar:1.0.0]
Caused by: java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin]
	at org.opensearch.plugins.PluginsService.loadPlugin(PluginsService.java:735) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.loadBundle(PluginsService.java:671) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.loadBundles(PluginsService.java:492) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.<init>(PluginsService.java:181) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.node.Node.<init>(Node.java:357) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.node.Node.<init>(Node.java:301) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:240) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:240) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:406) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:182) ~[opensearch-1.0.0.jar:1.0.0]
	... 6 more
Caused by: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:?]
	at org.opensearch.plugins.PluginsService.loadPlugin(PluginsService.java:726) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.loadBundle(PluginsService.java:671) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.loadBundles(PluginsService.java:492) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.<init>(PluginsService.java:181) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.node.Node.<init>(Node.java:357) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.node.Node.<init>(Node.java:301) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:240) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:240) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:406) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:182) ~[opensearch-1.0.0.jar:1.0.0]
	... 6 more
Caused by: org.opensearch.OpenSearchSecurityException: Error while initializing http SSL layer from PEM: javax.net.ssl.SSLException: failed to initialize the server-side SSL context
	at org.opensearch.security.ssl.DefaultSecurityKeyStore.initHttpSSLConfig(DefaultSecurityKeyStore.java:527) ~[?:?]
	at org.opensearch.security.ssl.DefaultSecurityKeyStore.initSSLConfig(DefaultSecurityKeyStore.java:254) ~[?:?]
	at org.opensearch.security.ssl.DefaultSecurityKeyStore.<init>(DefaultSecurityKeyStore.java:169) ~[?:?]
	at org.opensearch.security.ssl.OpenSearchSecuritySSLPlugin.<init>(OpenSearchSecuritySSLPlugin.java:218) ~[?:?]
	at org.opensearch.security.OpenSearchSecurityPlugin.<init>(OpenSearchSecurityPlugin.java:249) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:?]
	at org.opensearch.plugins.PluginsService.loadPlugin(PluginsService.java:726) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.loadBundle(PluginsService.java:671) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.loadBundles(PluginsService.java:492) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.plugins.PluginsService.<init>(PluginsService.java:181) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.node.Node.<init>(Node.java:357) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.node.Node.<init>(Node.java:301) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:240) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:240) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:406) ~[opensearch-1.0.0.jar:1.0.0]
	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:182) ~[opensearch-1.0.0.jar:1.0.0]
	... 6 more

Host/Environment (please complete the following information):

OS: Ubuntu
Version 20

Additional context
In my case, this was clearly a bad configuration/script populating these keys in the 'self signed cert' case where I was generating a file that had it twice - so easy fix -- but was really hard to tell what it was complaining about above, and it would be nice if it didn't just reject it to begin with.

Transferring to the security team.  please let me (@) if this is the wrong location.  Thanks!

Thanks @nneul. I agree that at the very least we should have a more helpful error message here.

[Triage] At this time Security has no plans to implement this feature at it seems likely to increase user error through deployment vulnerability. Please open a new issue if you wish to further discuss this topic. Thank you.


kebab case

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

Allows the model to replace kebab case.
Input given at the prompt

Convert this to Kebab Case: numberOfDonuts

Response from the original model

  numberOfDonuts

Response from the fine-tuned model

 number-of-donuts

Contribution checklist

[ x] The contribution was tested with ilab generate
[ x] No errors or warnings were produced by ilab generate
[ x] All commits are signed off (DCO)
[x ] The qna.yaml file contains at least 5 seed_examples
[ x] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ x] An attribution.txt file in the same folder as the qna.yaml file
[ x] Content does not include PII or otherwise sensitive or confidential information
[ x] Content does not include anything documented in the project's Avoid these Topics guidelines

Please fix the DCO :)

Please fix the linting issue(s).

@instructlab-bot precheck

Looking at the precheck it seems the model already does this quite well.
@mingxzhao or @bjhargrave can you confirm?

can you confirm?

Yes, it looks good to me also. The last question was this properly responded to, but I think the question could be better written. "Convert this" is a bit vague. "Convert the following text:" would be more precise.
But I think we can close this PR as the model is already good at the skill.

Closing since the merlinite-7b model is already good at this skill.
Thank you for your contribution!


Example pricing

Extending previous example, in particular:

refactored tests so that they were easier to extend
added a test for service pricing.

@tarilabs I think I fixed them all, including tabs.

@pibizza thanks! Shall I merge this? Let me know

@tarilabs yes please :+1:


LaTeX issues

[ ] Need to enable latex repr with pd.options.display.latex.repr = True. User or us (probably us)?
[x] Need to pass to into stitch and into wrap_output since it affects the display priority.
[ ] Need to include \usepackage{booktabs} in the latex template. (or put that in header-includes metadata.

for the first item: or use pandoc to convert from html tables to latex tables: https://github.com/janschulz/knitpy/blob/master/knitpy/documents.py#L339-L366

Thanks, I have a semi-large refactoring going on in https://github.com/TomAugspurger/stitch/pull/11 that addresses most of these.
By the way, I think https://github.com/jgm/pandoc/commit/244cd5644b44f43722530379138bd7bb9cbace9b will help with image sizing stuff. Just tested it out, by hardcoding a width and height inside the Image constructor and it worked. Just need to plumb the width / height from the chunk options down to the output wrapper.

Re images: The problem I usually have is getting goodlooking images into the document (no matter if rmarkdown or word) -> if they get resized they look blurry because the antialising which happens in the plot backend is way better than the resizer algo in the browser/word and resizing images also messes up text size between images if they get resized differently :-/ (e.g see the discussion here, although it doesn't mention the image quality: http://r4ds.had.co.nz/graphics-for-communication.html#saving-your-plots -> 28.7.1 Figure sizing).
So IMO this needs something similar to how knitpy handles the prefered image format (e.g. https://github.com/janschulz/knitpy/blob/master/knitpy/documents.py#L48-L61 which then gets set per engine https://github.com/janschulz/knitpy/blob/master/knitpy/engines.py#L42-L53) -> e.g. each language needs a wrapper which sets image types (based on chunk option but per default based on the final output format) and the current image size (based on the sizes in the chunk options).

Closed by c8c48fc4c94f8508cfe341962e80a0fdb3df76ba


Don't load native roots for trust-all config

If we are going to trust any server certificate anyway, there's no point in loading the native trust anchors.

Thank you.


Cargo set to 0 in the EFB, while passenger numbers and fuel quantities work perfectly

Upon importing a flight into the EFB, both passenger numbers and fuel quantity work perfectly. However in the EFB, the cargo quantity is set to 0, even though in the flight plan there is a quantity of cargo stated. All animations work perfectly, including loading the cargo. Anyone else having this issue?

Seems to be happening every time with my easyJet 320 but with other airlines it doesn't seem to occur. Any reason why?

Why should be that an Issue of my Tool, when the Fenix EFB itself does only show 0 for Cargo? I only take what the EFB knows.
Theories:

The Livery has an Issue and does something Strange in the Direction of Weight & Balance (if that is possible at all? don't know)
Your SimBrief Profile for that Livery/Registration has an Issue

Thanks for the help, issue resolved. It was a SimBrief profile issue


Multiple tables with different data sources not working (Fixed #108: Add example of multiple tables )

not working.
required multiple tables in single page with different data sources.

Ya it's working. Thank you


No License File

Repositories with sharable content should contain licenses.

https://choosealicense.com/no-permission/

https://www.lib.uchicago.edu/copyrightinfo/fairuse.html

I'm not a lawyer, but isn't the link you've posted about:

Using copyrighted material in your teaching

While what we're talking about here is a license for the project in general?

I am more-so wondering about how to license derivative works I may want to publish as my own.

If the authors have a preference I would respect that otherwise closing the question since it's all non-commercial for learning purposes.

We still haven't heard the author's opinion on this, though.
@ad-si May we discuss adding a license to the project?

Sorry for being absent from the discussion. I’d like to add a license as well, but I’m not sure since a lot is copied from the book and other anki decks.

I'm not a lawyer here. Personally I see the reuse of content as non-commercial fair-use. Perhaps a permissive non-commercial share-and-share alike creative-commons license would provide an indication to that effect?

I'm not a lawyer here. I see the reuse of content as clearly non-commercial fair-use. Perhaps a permissive non-commercial share-and-share alike creative-commons license would provide an indication to that effect?

Once again, I'm not a lawyer, but as far as the rust-book is concerned, I think it's alright to use it since it's dual-licensed under MIT and Apache-2.0.
As for the other Anki decks. Perhaps we can contact their authors and ask if it's alright if their work is included? This might also depend on how much of their work is indluded.
Whatever we do, though. I think it's far better to add a license than not to, since the project is already up and the code is available anyways.

I checked again how much came from the book and how much from other sources, and I think it's close enough to the book to designate it as the only source. So I simply used only the MIT license (as seen in 74e1634).
Thanks again for your help!

I've been checking documentation and code snippets in text are MIT licensed like here: https://gtk-rs.org/gtk4-rs/stable/latest/book/introduction.html#license


[luci-lib-jsonc] needs libjson-c.so.2 but should need libjson-c.so.4

Hi!
Somehow the package
luci-lib-jsonc (git-19.186.54187-cbc000b-1 )
needs libjson-c.so.2.
But: libjson-c provides libjson-c.so.4 (and not libjson-c.so.2).
Workaround:
I sym-linked /rom/usr/lib/libjson-c.so.2.0.2 to /usr/lib/libjson-c.so.2
giggle :)
How can I fix it properly?
Thx.
Bye.

Reinstall/recompile luci-lib-jsonc

but it is the same with
luci-lib-jsonc_git-19.189.59078-9c5162d-1_mips_24kc.ipk
why do u provide a package, if it is unusable with a workaround?
or who is it who provides it?

jow@j460 $ wget -qO - https://downloads.openwrt.org/releases/packages-18.06/mips_24kc/luci/luci-lib-jsonc_git-19.189.59078-9c5162d-1_mips_24kc.ipk | \
    tar -Oxzf - ./data.tar.gz | tar -Oxzf - ./usr/lib/lua/luci/jsonc.so | strings | grep libjson-c
libjson-c.so.2
jow@j460 $

Can you try an opkg update; opkg install --force-reinstall libjson-c?
Note that this is potentially dangerous (opkg sometimes fails while replacing packages) so be sure how to recover (failsafe etc.) before trying this.

oops...
fixed...
but with the same "trick" i got the libjson-c.so.4 some weeks ago...
is there a problem with the version numbers?

There was a brief period where packages got mixed up in the repo a few weeks ago, maybe this caused your issue as well.

oh... i c...
so it is ok, to use opkg to do upgrades?
some say i should always make a new image and flash the device with it...
that would be too much stress for the flash memory and too much downtime for my taste... :)


UI build error

Trying to build UI with docker.
...
Step 4/11 : RUN mkdir -p /app/ui
---> Running in c07047e86a7a
Removing intermediate container c07047e86a7a
---> b70b9cb8c275
Step 5/11 : COPY ./docker/ui/bin /app
---> 6f68a5e23150
Step 6/11 : COPY ./ui /app/ui
---> f8cadec4cbc8
Step 7/11 : RUN chmod +x /app/startup.sh
---> Running in<PHONE_NUMBER>5d
Removing intermediate container<PHONE_NUMBER>5d
---> 6aeeea3a6970
Step 8/11 : RUN cd /app/ui   && npm install   && npm run build --server
---> Running in b638d86fb791

<EMAIL_ADDRESS>install /app/ui/node_modules/dtrace-provider
node-gyp rebuild || node suppress-error.js

make: Entering directory '/app/ui/node_modules/dtrace-provider/build'
TOUCH Release/obj.target/DTraceProviderStub.stamp
make: Leaving directory '/app/ui/node_modules/dtrace-provider/build'

<EMAIL_ADDRESS>install /app/ui/node_modules/uws
node-gyp rebuild > build_log.txt 2>&1 || exit 0

<EMAIL_ADDRESS>postinstall /app/ui/node_modules/base62
node scripts/install-stats.js || exit 0

<EMAIL_ADDRESS>postinstall /app/ui/node_modules/radium
cd lib || npm run lib

<EMAIL_ADDRESS>postinstall /app/ui/node_modules/history
node ./npm-scripts/postinstall.js

<EMAIL_ADDRESS>postinstall /app/ui/node_modules/react-router
node ./npm-scripts/postinstall.js

npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1394 packages from 1130 contributors and audited 11002 packages in 162.374s
found 20 vulnerabilities (13 low, 1 moderate, 5 high, 1 critical)
run npm audit fix to fix them, or npm audit for details

<EMAIL_ADDRESS>build /app/ui
gulp build --release

[07:29:27] Failed to load external module @babel/register
[07:29:27] Requiring external module babel-register
gulp[284]: ../src/node_contextify.cc:631:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfov8::Value&): Assertion args[1]->IsString()' failed. Aborted (core dumped) npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR<EMAIL_ADDRESS>build: gulp build --release`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-08-02T07_29_27_722Z-debug.log
The command '/bin/sh -c cd /app/ui   && npm install   && npm run build --server' returned a non-zero code: 134

Same error here.

cd docker/ui
change Dockerfile
change line '  && npm install' to '  && npm install --no-optional --no-shrinkwrap --no-package-lock'

This is not a solution, but in my case I manually changed the package-lock.json and upgraded the package "natives" to version 1.1.3, after this docker-compose build worked.
Now I get errors on startup.sh when I try docker-compose up:
Starting Conductor UI
/app/startup.sh: line 3:  : not found
/app/startup.sh: line 5:  : not found
/app/startup.sh: cd: line 7: can't cd to /app/ui/dist : No such file or directory
/app/startup.sh: line 15: syntax error: unexpected end of file (expecting "then")

At least it helped me.
He also writes that he can not find the "dist" as it is when compiling.
I also cloned the repository with the tag "v1.11.0"
and it's better to do 'docker-compose build --no-cache'
so that there are no unintelligible errors.
using google translete.

Please use the latest conductor version 2.7.+ . This issue should be resolved in the newer versions.


Timetable current time line ItemDecoration

Kind (Required)

Other

Overview (Required)

You don't have to show time

Thanks! Assigned 👍


Add 5xx retry handling to Do method

Description
Closes #1

Motivation and Context
Currently 5xx errors aren't retried. Adding to improve user experience and handling according to PaloAlto documentation.
How Has This Been Tested?
Added a test to client_test.go to verify retry for 5xx errors.
Screenshots (if appropriate)

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

Hello 👋
let me know if you have any thoughts or feedback.
Thanks 😄


Need examples of how to do equality joins to a deterministic encrypted column

There's a gap in documentation about how to properly do an equality join to a deterministic encrypted column. The docs that discuss Selecting Deterministic or Randomized Encryption state that equality joins are supported with deterministic columns. Yet all of the examples in the docs I've found only show how to use WHERE clauses, none show how to do JOIN clauses. Please add examples of how to do equality joins to a deterministic encrypted column so that we don't get the common "The data types char and char(10) encrypted with (...) are incompatible in the equal to operator" errors, for example.

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

ID: bc2598a6-e400-784c-450e-c47f22bd7e9b
Version Independent ID: 07422cff-f8b1-8a0f-b011-36e8f4629080
Content: Query columns using Always Encrypted with SQL Server Management Studio - SQL Server
Content Source: docs/relational-databases/security/encryption/always-encrypted-query-columns-ssms.md
Product: sql
Technology: security
GitHub Login: @jaszymas
Microsoft Alias: jaszymas

@wsuhoey -- John, thank you for your feedback.
@jaszymas -- please look into this issue.

@jaszymas
Based on the question I posted on DBA Stack Exchange and the answer and comments discussed, it seems some of the confusion could be avoided if the docs explicitly stated that it is not possible to join a non-encrypted column to a deterministic encrypted column. The docs' description of:

Using deterministic encryption allows point lookups, equality joins, grouping and indexing on encrypted columns.

I interpreted (as well as many other people have) to mean that I could use a non-encrypted column on one side of the JOIN clause and a deterministic encrypted column on the other side of a JOIN clause, but it seems that's not the case. If it is indeed not the case, please update the docs stating that. Otherwise, if it is in fact possible, that's the example syntax that would be needed which caused me to create this feedback initially.

I was also tripped up by the exact line of documentation that wsuhoey is referencing:

Using deterministic encryption allows point lookups, equality joins, grouping and indexing on encrypted columns.

Hey @jaszymas - This is an old one. When you get a chance, can you please take a look? Thanks!

Hi Van,
That's been on my todo list. It requires some fairly heavy refactoring to the docs, but I plan to get to it in the next few weeks.
Thanks,
Jakub
From: Van To @.>
Sent: Wednesday, April 7, 2021 11:17 AM
To: MicrosoftDocs/sql-docs @.>
Cc: Jakub Szymaszek @.>; Mention @.>
Subject: Re: [MicrosoftDocs/sql-docs] Need examples of how to do equality joins to a deterministic encrypted column (#4550)
Hey @jaszymashttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjaszymas&data=04|01|jaszymas%40microsoft.com|3fd3b85227af41fe171708d8f9f160c6|72f988bf86f141af91ab2d7cd011db47|1|0|637534162399140457|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=9uvVVfJAN7TTB2vM%2BUAavKqwW3IYC2a%2Bo82PGzuECOU%3D&reserved=0 - This is an old one. When you get a chance, can you please take a look? Thanks!

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fsql-docs%2Fissues%2F4550%23issuecomment-815122940&data=04|01|jaszymas%40microsoft.com|3fd3b85227af41fe171708d8f9f160c6|72f988bf86f141af91ab2d7cd011db47|1|0|637534162399140457|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=n8vFKCUNp7dCaRmknmE6W8jVYHMca3uxK60GOoBssAE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACXGNQ6KVFRNCPNJ5OH4AH3THSOS3ANCNFSM4MH2NR7A&data=04|01|jaszymas%40microsoft.com|3fd3b85227af41fe171708d8f9f160c6|72f988bf86f141af91ab2d7cd011db47|1|0|637534162399150421|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=AGOcdtlYNpqQG7S0b%2BsU3XPhJaPXwy8WVSoJq6lY3bg%3D&reserved=0.

The specific issue listed in https://github.com/MicrosoftDocs/sql-docs/issues/4550#issuecomment-614267630 is resolved.
Additional reviews and updates are in flight.
Propose close.

Closing this. We'll take adding more examples into considerations when we update the doc.


stream_listen details missing on 0.36 Configuration page

docs.konghq.com url(s): https://docs.konghq.com/enterprise/0.36-x/property-reference/#stream_listen

Summary
The property description for steam_listen is missing the following details from the conf file:
                    # which the stream mode should listen.
                     #
                     # This value accepts IPv4, IPv6, and hostnames.
                     # Some suffixes can be specified for each pair:
                     # - `proxy_protocol` will enable usage of the
                     #   PROXY protocol for a given address/port.
                     # - `transparent` will cause kong to listen to, and
                     #   respond from, any and all IP addresses and ports
                     #   you configure in iptables.

Additional Details
Format correctly; tag @Kong/team-docs for review.

I would like to work on this!

Thanks again, @agarwal-akash .


updated adldap version to 5.0

@ElCarsten , Hello!
Can it be AdLdap2 dependency?
https://github.com/Adldap2/Adldap2

Released in version 1.0.1


Sidebar not closing on button click

I have given  my code of sidebar directive below.
in my template:
<sidebarjs on-change-visibility="close_class == 'close'">
Find User

radius.name

            </sidebarjs>
in my app.js:
var home = angular.module('wm.home',[uiRouter,'angular-carousel','ngSidebarJS'])
When I click on an option among the list, sidebar doesn't close and the required page loads behind. sidebar closes only when I click on the toggle button or outside the sidebar.. Anyone kindly help me to close the sidebar onclick of any of the options in the list.

Hi @vikeie, please provide an example on
https://stackblitz.com/

hello your example is no longer online is it possible to put it back? thank you

Hi @120dev
A new example is available on stackblitz 🎉


fix(docs): correct screenshots - issue #171

Signed-off-by: doomswatter<EMAIL_ADDRESS>Issue #171
Replaced screenshots with corrected versions showing buyer and seller in correct order.
I closed out my last PR on this because my file extensions should have been lowercase.
Here's a link to the document with changes: https://github.com/doomswatter/techdocs/blob/master/docs/advanced-latedelivery.md
Changes

Replaced screenshots with corrected versions showing buyer and seller in correct order.

Flags

Related Issues

Issue #171

You are correct. I have a question about late11: What is the purpose of the red box in this one?

@doomswatter ah yes, that looks like it doesn't actually belong. It seems like the red box should be around the error at the bottom.


increase solo server Xmx to 3G

Fixes Out of memory issue with solo server, somehow start script has low max memory set, compared to web and executor servers
https://github.com/azkaban/azkaban/blob/f49d865417c202ebaa14ef102060cf44f9af3179/azkaban-solo-server/src/main/bash/internal/internal-start-solo-server.sh#L56
https://github.com/azkaban/azkaban/blob/f49d865417c202ebaa14ef102060cf44f9af3179/azkaban-web-server/src/main/bash/internal/internal-start-web.sh#L48
https://github.com/azkaban/azkaban/blob/f49d865417c202ebaa14ef102060cf44f9af3179/azkaban-exec-server/src/main/bash/internal/internal-start-executor.sh#L49
Resolves #2769

Pull Request Test Coverage Report for Build 5940

0 of 0   changed or added relevant lines in 0 files are covered.
25 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.06%) to 43.559%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
2
52.58%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
2
77.47%

azkaban-exec-server/src/main/java/azkaban/execapp/event/JobCallbackRequestMaker.java
21
56.25%

Totals

Change from base Build 5935:
-0.06%

Covered Lines:
15189

Relevant Lines:
34870

💛  - Coveralls


What's wrong with the the 'fun is not a function' ?

perform in  .find({ name: name })

@youyinnn If you have a solution to this problem maybe you could update the issue so other people like me can find it :D


Category Insert issue

@zainawanworktech can u check if the DB has get_url_path_of_category

Hi @zainawanworktech,
May, I know what you are trying to do?
Are you creating a new database or something else?
If you are creating a new one please use utf8_unicode_ci collation.

I m try all solution  you have provide the bagisto forum .Sent from my Galaxy
-------- Original message --------From: Devansh<EMAIL_ADDRESS>Date: 11/19/20  12:01 PM  (GMT+05:00) To: bagisto/bagisto<EMAIL_ADDRESS>Cc: zainawanworktech<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [bagisto/bagisto] Category Insert issue (#4273)
Hi @zainawanworktech,
May, I know what you are trying to do?
Are you creating a new database or something else?
If you are creating a new one please use utf8_unicode_ci collation.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Hi @zainawanworktech,
I have checked the forum, please share steps what you are doing so that I can reproduce the issue.

Please send the all steps with details Sent from my Galaxy
-------- Original message --------From: Devansh<EMAIL_ADDRESS>Date: 11/19/20  12:25 PM  (GMT+05:00) To: bagisto/bagisto<EMAIL_ADDRESS>Cc: zainawanworktech<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [bagisto/bagisto] Category Insert issue (#4273)
Hi @zainawanworktech,
I have checked the forum, please share steps what you are doing so that I can reproduce the issue.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

@zainawanworktech
As reported on the support ticket this is resolved now, so closing this.


Add custom icons

Currently using Preact's icons which is because this project is based on preact-boilerplate, but of course this is not the way it's supposed to be.

Added as of 2.0.0.


[Bug]: jdbc parameters can not be displayed and be modified

ODC version
4.2.3
OB version
not related
What happened?

I want to add a jdbc parameter but there are no actions when I click "add" button:

The existing jdbc parameters cannot be displayed：

What did you expect to happen?

I can add a new jdbc parameter.
I can view the existing parameters.

How can we reproduce it (as minimally and precisely as possible)?
follow 'what happened'.
Anything else we need to know?
No response
Cloud
No response

pass


Programmatic file upload with non multipart option

Thank you for your awesome plugin! I am planning use this on my project.
I use Programmatic file upload to send the file manually, and also set the multipart to "false"

$('#imageUploader').fileupload({
				dataType: 'json',
				multipart:false,
				sequentialUploads: true,
...
$('#fileupload').fileupload('send', {files: filesList});
//filesList is object with an array (or array-like list) of File or Blob objects as files property

I have a questions:
Sometimes the file transfer is not started (the ajax request is just waiting for whole time) but most of time is working (currently trying on Firefox 5), I wonder is this is related to header request. Why the request header still "image/*" even after i set the multipart option to "false", cause actually i want the request header set to be "application/octet-stream" and I choose not to set the header manually on "beforeSend" callback.

....
else if (!options.multipart) {
                    // Chunked non-multipart upload:
                    options.contentType = 'application/octet-stream';
                    options.data = options.blob;
                }
...

I am kinda new in jQuery area, so pardon me if you already explained this on your documentation.
Please tell me if I'm missing something. Thank you very much for your help!

sorry ... this appears to be my server side bug when accepting request.


Update Gson to 2.8.9 or newer

https://snyk.io/test/github/3ap-ag/harvest-client?targetFile=build.gradle should be fixed by upgrading the gson dependency and updating the code if necessary

Fixed in https://github.com/3AP-AG/harvest-client/pull/19


Update spmt-install-issues.md

Removed section "Government Cloud Support".  I have moved this section to the SPMT-Settings article rather than the SPMT-install-issues article.

@JoanneHendrickson
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@JoanneHendrickson
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Use borax12 library

I am interested in using your library but also the fork by the borax12, is it possible to use both ?
I have this when I add the second library :
java.lang.ClassCastException: com.wdullaer.materialdatetimepicker.date.AccessibleDateAnimator cannot be cast to com.borax12.materialdaterangepicker.date.AccessibleDateAnimator

In my gradle :
    compile 'com.wdullaer:materialdatetimepicker:2.1.1'
    compile 'com.borax12.materialdaterangepicker:library:1.5'

Best regards,

You'll need to explicitly specify the namespace in your cast.
There shouldn't be any issues using both in your project.

Well, i did it but it doesn't works. May be because i try to use both in the same fragment, i'm giving up.
Thanks


No arm64 containers

Please default to making multi-arch containers when ever you create a Docker project. More so when creating an Kubernetes one.
$ k logs -n tor example-onion-service-tor-daemon-f8f94c688-mgwp4
standard_init_linux.go:228: exec user process caused: exec format error

Hi @samip5, good point. I got the images build automated in quay and it defaults to amd64; going to migrate it to github actions so that we can get multiarch

Please look at this: https://github.com/samipsolutions/tor-controller/blob/master/.github/workflows/main.yml

Thanks @samip5, that's all I need thanks. Going to try to integrate it with my registry at quay

I show your typo, testing the fix now

It works, but you may want to tweak up the which tag it pushes to as it's set to latest currently. :)

Thanks for trying it out!!
Yeah, I noticed. I was waiting for that 3h build to finish before pushing the changes: https://github.com/bugfest/tor-controller/commit/ac14ba6416fefb514270e1a5ed35226e328b275e. Gonna try to build the one maching the chart app version so we don't need the override.

I'm building a new app version 0.3.2 (Chart 0.1.1) to check everything is fine. I've manually patched the tags on the current multi-arch images adding 0.3.1 so Chart 0.1.0 should work without the override.

Closing this issue. @samip5 if you have any problem

Hi, sorry to resurrect a closed ticket, but I'm trying to install this on a Raspberry Pi 4 cluster running K3S and I'm still getting a CrashLoopBackOff status of the controller manager pod, which indicates that it's trying to pull down an image for the wrong architecture.
I've tried installing via Helm and directly with hack/install.yaml. Do I need to do something else to install this for arm64?

Hi, sorry to resurrect a closed ticket, but I'm trying to install this on a Raspberry Pi 4 cluster running K3S and I'm still getting a CrashLoopBackOff status of the controller manager pod, which indicates that it's trying to pull down an image for the wrong architecture.
I've tried installing via Helm and directly with hack/install.yaml. Do I need to do something else to install this for arm64?

Forgot to check if it actually got deployed on arm64 as I have multi-arch on my cluster... So not sure.

Hi @carronmedia,
I've checked the 3 containers should havean  arm64 version available:

https://quay.io/repository/bugfest/tor-controller/manifest/sha256:22d65b7e1838ab60427db6aa8604325b3a2f2a211da14aba2c0397ba850bdaa2
https://quay.io/repository/bugfest/tor-daemon-manager/manifest/sha256:969cf3881cc60318af6bf6d6d36fd0e78fa8269396282382d53a43d4e690aa9c
https://quay.io/repository/bugfest/tor-onionbalance-manager/manifest/sha256:62ed8549078d20d46f6a7c8ae909d40238dbd4e47752da73a1a33395efcec23f

The creash might be due to a wrong version in the image tag generated by our helm chart. I'm got to review it. In the mean time, can you provide some more details on your issue? Can you run a kubectl describe pod on the failing one and provide the output?

Thank you both for your quick responses!
Here is the output:
`Name:         tor-controller-controller-manager-76cfd688fb-fsnw2
Namespace:    tor-controller-system
Priority:     0
Node:         -------------------
Start Time:   Tue, 01 Mar 2022 09:36:57 +0000
Labels:       control-plane=controller-manager
pod-template-hash=76cfd688fb
Annotations:  kubectl.kubernetes.io/default-container: manager
Status:       Running
IP:           -------------------
IPs:
IP:           -------------------
Controlled By:  ReplicaSet/tor-controller-controller-manager-76cfd688fb
Containers:
manager:
Container ID:  containerd://4094ff8512b64e2ee27bdcaa18534c0694b6088190239e553062ab52b9f6569d
Image:         quay.io/bugfest/tor-controller:latest
Image ID:      quay.io/bugfest/tor-controller@sha256:22d65b7e1838ab60427db6aa8604325b3a2f2a211da14aba2c0397ba850bdaa2
Port:
Host Port:
Command:
/manager
Args:
--config=controller_manager_config.yaml
State:          Waiting
Reason:       CrashLoopBackOff
Last State:     Terminated
Reason:       Error
Exit Code:    1
Started:      Tue, 01 Mar 2022 09:42:09 +0000
Finished:     Tue, 01 Mar 2022 09:42:09 +0000
Ready:          False
Restart Count:  3
Limits:
cpu:     500m
memory:  128Mi
Requests:
cpu:        10m
memory:     64Mi
Liveness:     http-get http://:8081/healthz delay=15s timeout=1s period=20s #success=1 #failure=3
Readiness:    http-get http://:8081/readyz delay=5s timeout=1s period=10s #success=1 #failure=3
Environment:
Mounts:
/controller_manager_config.yaml from manager-config (rw,path="controller_manager_config.yaml")
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-cxmnn (ro)
kube-rbac-proxy:
Container ID:  containerd://d2a72b12d7d249c5b811fc0aef4f48651e840a3453cf9b0774ee554758741e7f
Image:         gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
Image ID:      gcr.io/kubebuilder/kube-rbac-proxy@sha256:db06cc4c084dd0253134f156dddaaf53ef1c3fb3cc809e5d81711baa4029ea4c
Port:          8443/TCP
Host Port:     0/TCP
Args:
--secure-listen-address=<IP_ADDRESS>:8443
--upstream=http://<IP_ADDRESS>:8080/
--logtostderr=true
--v=10
State:          Running
Started:      Tue, 01 Mar 2022 09:41:15 +0000
Ready:          True
Restart Count:  0
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-cxmnn (ro)
Conditions:
Type              Status
Initialized       True
Ready             False
ContainersReady   False
PodScheduled      True
Volumes:
manager-config:
Type:      ConfigMap (a volume populated by a ConfigMap)
Name:      tor-controller-manager-config
Optional:  false
kube-api-access-cxmnn:
Type:                    Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds:  3607
ConfigMapName:           kube-root-ca.crt
ConfigMapOptional:
DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type     Reason       Age                  From               Message

Normal   Scheduled    5m39s                default-scheduler  Successfully assigned tor-controller-system/tor-controller-controller-manager-76cfd688fb-fsnw2 to -------------------
Warning  FailedMount  5m39s                kubelet            MountVolume.SetUp failed for volume "manager-config" : failed to sync configmap cache: timed out waiting for the condition
Normal   Pulled       89s                  kubelet            Successfully pulled image "quay.io/bugfest/tor-controller:latest" in 4m4.933183535s
Normal   Pulled       85s                  kubelet            Container image "gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0" already present on machine
Normal   Created      84s                  kubelet            Created container kube-rbac-proxy
Normal   Started      82s                  kubelet            Started container kube-rbac-proxy
Normal   Pulled       80s                  kubelet            Successfully pulled image "quay.io/bugfest/tor-controller:latest" in 2.127169962s
Normal   Pulled       62s                  kubelet            Successfully pulled image "quay.io/bugfest/tor-controller:latest" in 1.151222775s
Normal   Pulling      30s (x4 over 5m34s)  kubelet            Pulling image "quay.io/bugfest/tor-controller:latest"
Normal   Pulled       29s                  kubelet            Successfully pulled image "quay.io/bugfest/tor-controller:latest" in 733.820068ms
Normal   Created      29s (x4 over 87s)    kubelet            Created container manager
Normal   Started      28s (x4 over 85s)    kubelet            Started container manager
Warning  BackOff      26s (x6 over 75s)    kubelet            Back-off restarting failed container`

HI @carronmedia, thanks for the output. The containers are being pulled correctly. It's in a crashloop because it cannot mount the tor-controller configmap. Can you try to uninstall, update the repo and just try the defaults?
$ helm uninstall ...
$ helm repo update
$ helm upgrade --install \
      --create-namespace --namespace tor-controller \
      tor-controller bugfest/tor-controller


Fix InjectParameterDataEndpoint, make faceFound and mode optional params

In the InjectParameterData API, faceFound and mode are optional parameters, according to the document.
https://github.com/DenchiSoft/VTubeStudio#feeding-in-data-for-default-or-custom-parameters
Confirmed that it works without passing faceFound and mode in VTubeStudio 1.21.11 .

Makes sense to me. Thanks for the PR. I'll push out a minor version update

Published as<EMAIL_ADDRESS>on npm.


Error: No such file or directory, errno = 2

When using CacheStore's retrieveCacheData to get cache resources, is it necessary to judge the real existence of resources? When _memCache contains the current url, but the resource has been deleted, you should need to re-download the resource.
使用CacheStore的retrieveCacheData获取缓存资源时，是不是需要判断一下资源真实存在？当_memCache包含当前的url，但是资源已经被删除时应该需要重新下载资源

When you talking about CacheStore's retrieveCacheData, which dart package are you talking about?
@yataoSang

1.4.15

When you talking about CacheStore's retrieveCacheData, which dart package are you referring to?
@yataoSang
1.4.15

@yataoSang
Can you post a url where the code snippet you're referring to?


feat: autoresolve ems would export metric value as 0 and autoresolve=true label

We should update the documentation to define the autoresolve label

We should update the documentation to define the autoresolve label

Added doc changes for this.

will the logging issues we discussed in earlier meeting be handled in this PR or a different one?

Logging issue is resolved in this PR at 404-407 lines.
It will be logged only exportable instance count not all belongs to e.Matrix.

Matches label counts when multiple ems with same name exist would be handled in next PR


Punctuation marks in RTL languages are rendered incorrectly (Directionality issue)

Steps to Reproduce

Execute flutter run on the code sample
Observe that in the Hebrew text, the comma , is always aligned on the left side of the space, whereas it should be the right side. This is regardless of its placement in the actual text (see both title and subtitle).

This is a general Directionality issue I've seen in the recent Flutter versions (3.7+) that I believe affects more than just the Hebrew language. Applying rtl Directionality(...) on a Button also causes strange punctuation behavior (unfortunately don't have a code sample for that on hand).
Expected results:
Comma to be placed in the correct place in the Hebrew text (aligned to the right of the space).
Actual results:
Comma was not placed in the correct place in the Hebrew text, it aligned to the left of the space instead.

Code sample
The below code comes almost directly from the minimal internationalization example in the flutter/website repository.
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// A simple "rough and ready" example of localizing a Flutter app.
// Hebrew and English (locale language codes 'en' and 'es') are
// supported.

// The pubspec.yaml file must include flutter_localizations in its
// dependencies section. For example:
//
// dependencies:
//   flutter:
//     sdk: flutter
//   flutter_localizations:
//     sdk: flutter
import 'dart:async';

import 'package:flutter/foundation.dart' show SynchronousFuture;
import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

// #docregion Delegate
class DemoLocalizations {
  DemoLocalizations(this.locale);

  final Locale locale;

  static DemoLocalizations of(BuildContext context) {
    return Localizations.of<DemoLocalizations>(context, DemoLocalizations)!;
  }

  static const _localizedValues = <String, Map<String, String>>{
    'en': {
      'title': 'Hello World, How Are You',
      'secondTitle': 'Hello World, How Are You',
      'subtitle': 'Wlrd.',
    },
    'he': {
      'title': 'שלום עולם ,מה שלומך.',
      'secondTitle': 'שלום עולם, מה שלומך.',
      'subtitle': '.שמה',
    },
  };

  static List<String> languages() => _localizedValues.keys.toList();

  String get title {
    return _localizedValues[locale.languageCode]!['title']!;
  }

  String get subtitle {
    return _localizedValues[locale.languageCode]!['subtitle']!;
  }

  String get secondTitle {
    return _localizedValues[locale.languageCode]!['secondTitle']!;
  }
}
// #enddocregion Demo

// #docregion Delegate
class DemoLocalizationsDelegate
    extends LocalizationsDelegate<DemoLocalizations> {
  const DemoLocalizationsDelegate();

  @override
  bool isSupported(Locale locale) =>
      DemoLocalizations.languages().contains(locale.languageCode);

  @override
  Future<DemoLocalizations> load(Locale locale) {
    // Returning a SynchronousFuture here because an async "load" operation
    // isn't needed to produce an instance of DemoLocalizations.
    return SynchronousFuture<DemoLocalizations>(DemoLocalizations(locale));
  }

  @override
  bool shouldReload(DemoLocalizationsDelegate old) => false;
}
// #enddocregion Delegate

class DemoApp extends StatelessWidget {
  const DemoApp({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(DemoLocalizations.of(context).title),
      ),
      body: Center(
        child: Column(
          children: [
            const SizedBox(height: 10),
            Text(DemoLocalizations.of(context).secondTitle),
            const SizedBox(height: 10),
            Text(DemoLocalizations.of(context).subtitle),
          ],
        ),
      ),
    );
  }
}

class Demo extends StatelessWidget {
  const Demo({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      onGenerateTitle: (context) => DemoLocalizations.of(context).title,
      localizationsDelegates: const [
        DemoLocalizationsDelegate(),
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      locale: const Locale('he'),
      supportedLocales: const [
        Locale('en', ''),
        Locale('he', ''),
      ],
      // Watch out: MaterialApp creates a Localizations widget
      // with the specified delegates. DemoLocalizations.of()
      // will only find the app's Localizations widget if its
      // context is a child of the app.
      home: const DemoApp(),
    );
  }
}

void main() {
  runApp(const Demo());
}

Logs
flutter run --verbose output:
[        ] MetadataProvider: Loaded debug metadata (sound null safety)
[   +3 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:63430/main_module.bootstrap.js
[+1633 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[  +39 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:63471/4vK6FonhOrE=/ws

[   +7 ms] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 9, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 9, params: {streamId: Stdout, includePrivateMembers: false}}}}
[   +1 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:63471/4vK6FonhOrE=/ws
[        ] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 10, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 10, params: {streamId: Stderr, includePrivateMembers: false}}}}
[        ] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 11, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 11, params: {streamId: Isolate, includePrivateMembers: false}}}}
[   +1 ms] DevHandler: VmService proxy responded with an error:
           {jsonrpc: 2.0, id: 12, error: {code: -32601, message: Method not found, data: {jsonrpc: 2.0, method: _setStreamIncludePrivateMembers, id: 12, params: {streamId: Extension, includePrivateMembers: false}}}}
[   +2 ms] Debug service listening on ws://<IP_ADDRESS>:63471/4vK6FonhOrE=/ws
[        ] 💪 Running with sound null safety 💪
[   +1 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[        ] An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:63471/4vK6FonhOrE=
[ +559 ms] ══╡ EXCEPTION CAUGHT BY WIDGETS ╞═══════════════════════════════════════════════════════════════════
[        ] The following message was thrown:
[        ] Warning: This application's locale, he_, is not supported by all of its localization delegates.
[        ] • A CupertinoLocalizations delegate that supports the he_ locale was not found.
[        ] If the application is built using GlobalMaterialLocalizations.delegate, consider using
[        ] GlobalMaterialLocalizations.delegates (plural) instead, as that will automatically declare the
[        ] appropriate Cupertino localizations.
[        ] The declared supported locales for this app are: en_, he_
[        ] See https://flutter.dev/tutorials/internationalization/ for more information about configuring an
[        ] app's locale, supportedLocales, and localizationsDelegates parameters.
[        ] ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +284 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:63471/4vK6FonhOrE=

flutter_analyze output:
Analyzing minimal...
No issues found! (ran in 1.1s)

flutter doctor -v output:
[✓] Flutter (Channel stable, 3.7.3, on macOS 12.5 21G72 darwin-arm64 (Rosetta), locale en)
    • Flutter version 3.7.3 on channel stable at /Users/alexgreaves/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (7 weeks ago), 2023-02-08 15:46:04 -0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/alexgreaves/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.76.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.5 21G72 darwin-arm64 (Rosetta)
    • Chrome (web)    • chrome • web-javascript • Google Chrome 111.0.5563.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Screenshot

Thanks for the report @agreaves
There seem to be similar / related issues related to directionality and non-English locale. See below and check if they resemble your use case or not:
https://github.com/flutter/flutter/issues/78864
https://github.com/flutter/flutter/issues/27033
https://github.com/flutter/flutter/issues/39755
https://github.com/flutter/flutter/issues/42925


Move documentation from markdown to asciidoc

Is there a way to test the rendering before merging?

As I was working on them I looked at how IntelliJ rendered them... now they are on github, you can see how github renders them, e.g. https://github.com/EnMasseProject/enmasse/blob/asciidoc/documentation/mqtt-over-amqp/docs/implementation_lwt_service.adoc
Obviously how they are rendered is completely dependent upon the rendering engine and its configuration

LGTM, merge at will


Unnecessary pragma directives to disable CA1816

Calling GC.SuppressFinalize(this) in DisposeAsync does not trigger warning CA1816, so pragma directive to disable it are unnecessary (this applies to 2 code snippets on the page):
public async ValueTask DisposeAsync()
{
    // Perform async cleanup.
    await DisposeAsyncCore();

    // Dispose of unmanaged resources.
    Dispose(false);

-#pragma warning disable CA1816 // Dispose methods should call SuppressFinalize
    // Suppress finalization.
    GC.SuppressFinalize(this);
-#pragma warning restore CA1816 // Dispose methods should call SuppressFinalize
}

I've checked it in .NET 6.0.402, don't have other SDK version installed to verify.

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

ID: 61a961dc-3ebf-2a96-a6eb-2e0b62ab909f
Version Independent ID: d72276e1-9059-815f-dc14-a03a7544ab87
Content: Implement a DisposeAsync method
Content Source: docs/standard/garbage-collection/implementing-disposeasync.md
Product: dotnet-fundamentals
GitHub Login: @IEvangelist
Microsoft Alias: dapine

Associated WorkItem - 57757

Thank you for this PR @dimabarbul - at the time of these directives were required, they must have broadened their analyzers since then to include DisposeAsync.


How to see if it works

hey!
sorry, perhaps a stupid question, but how do I see that the script works?
I can't see & feel any difference after implementing your plugin.
Thanks

@karok
In your posted configuration,
  <FilesMatch "\.(htm|php|js|css|htc|png|gif|jpe?g|ico|xml|csv|txt|swf|flv|mp4|webm|ogv|mp3|ogg|oga|eot|woff|svg|ttf|pdf|gz)$">
    RewriteEngine Off
  </FilesMatch>

the line "RewriteEngine Off“ is a silent misconfiguration. This means adding it to your system will not change any system behavior.
"RewriteEngine Off" is introduced by Apache to explicitly disable all "RewriteRule" and "RewriteCond".
That is to say, if you include multiple "RewriteRule" and "RewriteCond" parameters in your configuration, then instead of commenting them all, you can explicitly set “RewriteEngine Off” to disable all "RewriteRule".
More importantly, the default value of “RewriteEngine" is already an "off", so adding “RewriteEngine off" is quite unnecessary and it may cause confusion to users.
Since herein there is no "RewriteRule" in this directory, deleting “RewriteEngine Off” would be ideal.
Related Apache source code snippet:
run_rewritemap_programs(server_rec *s , apr_pool_t *p){
if (conf->state == ENGINE_DISABLED) { // usage of "RewriteEngine"
  return APR_SUCCESS; // early return
rewritemap_program(...); // usage of "RewriteRule"
}


pushing-based

 All committers of the pull request should sign our Contributor License Agreement in order to get your pull request merged.1 out of 2 committers have signed the CLA.:white_check_mark: uncleGen:x: 木艮木艮 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).


Input value not showing

Hi
I have just recently started using expo-ui-kit, which is awesome by the way 👍 . I only have a slight issue with the Input component at the moment.
When l have a value set in state this is not showing in when i use <Input value={valueFromState} />  as it normally would when using the react-native <TextInput value={valueFromState}  /> component.
To demonstrate this issue l have created a snack  with the example code of the 2 input explained above.
Is there a work around to this problem or is there some thing l am missing ?
Please Help,
Thanks in advance

@VaMusaka thank you for pointing this out. For that to work you should use defaultValue prop instead of value prop
<Input
   defaultValue={value}
   onChangeText={(value) => setValue(value)}
   style={styles.input}
/>

More info on RN docs https://reactnative.dev/docs/textinput#defaultvalue


Not able to run tool

Getting the exception as in below screenshot:

Hi @harpreet86
Could you give some details (Java version, command you run, OS)?
Also, run with --debug or --info option to print the exact error.

Command: sh build-and-run.sh
OS: Windows 10
Java version on machine: Java 8
I am referring the quick start guide from https://github.com/zalando/zally

Could you try with Java 11?

I am trying to run using shell script build-and-run.sh which uses Docker and I can see that Dockerfile of server contains Java 11 FROM registry.opensource.zalan.do/library/openjdk-11-jdk-slim:latest as builder

I confirm that there are some issues with this command.

@harpreet86 try to increase the memory size in a Docker settings.

I tried it by skipping the test cases and the things worked well, so the issue seems with the unit test cases execution

I don't think so. Please check my recommendation above.

I installed Java 11 on my windows machine and then tried and it worked. Now I am very curious that we are using containerized solution and the docker image has Java 11 then why it is relying on Windows machine Java version. Please suggest.
Also, as per my observation, it runs successfully with Java 8 on my Windows machine just by skipping unit test cases in gradle command.

@harpreet86 could you please add here the result of the following command:
docker info | grep "Total Memory"

By default Docker has a 2Gb memory limit. I have tested the build and according to the statistics from Docker during the build it requires ~2,5 Gb of memory. When there is only two available, then linux daemon kills the gradle daemon as the biggest memory consumer at some point and the build process fails. I have tested with 3Gb memory limit for Docker and it works fine.

@vadeg  - I am facing the issue as well and running the code java8 breaks the test case due to the version mismatch error while skipping the test cases Gradle build works fine. Also sharing the information you requested -

@beena-yatin-kanyal zally doesn't support Java 1.8 any longer. The min version should be 11 and it is taken from the docker image and not from the host machine.
It is simply to check to change the line RUN ./gradlew build in server/Dockerfile to RUN java --version; ./gradlew build. In this case you can see in logs which Java version is used to build the server.

@harpreet86 @volphy @beena-yatin-kanyal are there still issues with the tools when setting up everything for Java 11? Should we update the documentation?

I am closing this ticket. Feel free to reopen if there is still an issue.


[BUG] Services related to deployment/statefulset are not displayed on rancher UI

Rancher Server Setup

Rancher version: v2.7.2
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): helm chart, rke2 1.24

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.24
Cluster Type (Local/Downstream): local (rke2 1.24)

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Admin

Describe the bug

When exploring workloads on rancher UI, services related to deployment or statefulset are not showing up. It shows Could not find any Services that select Pods from this workload. instead. This was working in rancher 2.7.1.
To Reproduce

Deploy an app with one deployment and a service. My test case uses rancher-logging-root-fluentd statefulset from logging app.
Result
rancher 2.7.2 on rke2 1.24: Services are not displayed:

Expected Result

Rancher 2.7.1 on rke2 1.24: Services related to my workload are shown in the UI:

Screenshots

Additional context

This issue reproducible with rancher 2.7.3 & 2.7.2, and ui-dashboard-index=2.7.2  and it works when I change ui-dashboard-index and ui-index to 2.7.1.

This issue should have been fixed by this PR
Because the user did not install monitoring, in the workload details page, the fetch method called the allDashboardsExist(shell/utils/grafana.js) method, which called the await store.dispatch(${ storeName }/find, { type: CATALOG.APP, id: 'cattle-monitoring-system/rancher-monitoring' }) method, because it did not add a try catch, resulting in the exception thrown to interrupt the logic behind, and the matchingServices property could not be initialized


Edits to Budgie and XFCE sections

I... wat? GitHub, where's my stuff? xD

Derp it helps if I save the file first.

@EbonJaeger can you also look at what I wrote for XFCE for the various other pages on the site: https://github.com/davidjharder/solus-hugo-theme-djh/commit/57e4ec08589785f744e1f42c4a9a3498d6e722c9

Also this https://github.com/davidjharder/solus-site.github.io/commit/6a2901ac3d18b5501d5f626c2ac731622bb64e9b

Yeah, they look good to me.


Filling a pdf with write_fillable_pdf does not work for this pdf

I am unsure whether I am just making an obvious mistake, but I tried to create myself some visual clues for the form fields, but the resulting generated pdf is unchanged:
PDF https://www.sparkasse-emh.de/content/dam/myif/spk-mittelmosel-emh/work/dokumente/pdf/allgemein/sepa_lastschriftmandat.pdf
from fillpdf import fillpdfs

# Get form fields from the PDF
form_fields = fillpdfs.get_form_fields("sepa_lastschriftmandat.pdf")
print(form_fields)

# Update form fields with their field names (for testing)
for key in form_fields:
    form_fields[key] = key  # Assign field name as value

print(form_fields) # change can be seen

# Write updated fields to a new PDF
fillpdfs.write_fillable_pdf("sepa_lastschriftmandat", "ls_form_names.pdf", form_fields, flatten=False)

I am unsure how to debug this as I am not getting an error.

#68 - same


Correctly set *_DEPLOYMENT_TARGET

This should be set to the compilation minimum os version. The actual deployment version is set in the Info.plist, which is handled by Bazel.

@cgrindel more of an FYI for you, given our convo in the other PR.


Unpin Chef and kitchen-dokken in the integration tests

Cross your fingers. It would be nice to use the last year's worth of work.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

pretty sure the chef-config line was just to work around building chef 13 before it shipped and should have been removed a long time ago.  at the same time its just the chef that is launching test-kitchen so its not critical to testing.

Closing this in favor of a PR to do everything but dokken for now


"System Layering" in core.

Problem Statement : Mailing-List Message
Discussion to be done with following inputs.
Kinds of code we have (Ref):

Repository interfaces : They define an interface for persistence in terms of application level objects. The repository interfaces are not supposed to be gorm specific. The idea is to be able to replace the implementation in tests and to avoid coupling consumers to gorm.
Repository implementations : They implement the repository implementations in a gorm-specific way. They are free to convert app layer objects to a different form. For example, we store work items as JSON in the db, which only has very few data types (number, string, bool, etc.). The repository implementations convert and validate the work item fields according to a given work item type.
Gorm support stuff : Stuff like models.Lifecycle, GormTransactionSupport, etc. This is shared infrastructure for implementing repositories.

What layering means? (Ref)
Is it a bunch of related packages ? Or a layer is a package ?
No, a layer is more abstract: for example the API layer would take care of handling json requests via htttp, the database layer stores things in the db. The characteristics of a layered approach is that you can only call things from layers "beneath" you, not above you. The package structure must follow this layering to some extent in order for build system to know what to compile first.
Structuring a system in layers is a design choice we are free to make or not. Layering imposes certain restrictions on the code you write. The reason you would want those restrictions is to separate the system into parts with controlled interfaces. This reduces coupling between the layers. Code with uncontrolled coupling everywhere is what is generally referred to as "spaghettig code". It gets hard to change and to understand the possible consequences.
So, should we define layers in our system ?

First step taken towards breaking the packages into multiple in this PR.

In better shape now.


No audio signals get transfer to other device after call get connect.

Hi team i am facing issue with twilio Audio call setup. When both the device's are connected (successfully get connected) ,then no audio passed between the device (iOS to iOS). But on the other hand , If i tried to check on cross platform then i am able to hear audio from android device , but from my iOS device still i can't transfer the audio signals to the other device. Please help me out if i am doing anything wrong in this case.
Thanks.

Hi @cnfuzedRk62
What was the issue?
I'm getting same issue.
Can you help me with solution please?


Update BitcoinTrade.Tests.csproj

:white_check_mark: Build bitcointrade-sdk-dotnet 1.0.186 completed (commit https://github.com/guibranco/bitcointrade-sdk-dotnet/commit/6a6aa34c23 by @guibranco)

:white_check_mark: Build bitcointrade-sdk-dotnet 1.0.190 completed (commit https://github.com/guibranco/bitcointrade-sdk-dotnet/commit/4e5ac0748f by @guibranco)


Makefile: build: use shared libraries

In some cases we don't really need the fully static compilation and we can depend on system libraries.

/hold

/retest

/hold cancel
let's not backport this yet (if ever)


[WIP] [Feature] ORCID Login OSF Part [##OSF-5162, 6881, 6885]

Purpose
TBD
Changes
TBD
Side effects
TBD
Ticket
https://openscience.atlassian.net/browse/OSF-6885
https://openscience.atlassian.net/browse/OSF-6881
https://openscience.atlassian.net/browse/OSF-5162
Related CAS PR
https://github.com/CenterForOpenScience/cas-overlay/pull/22

Pulled into feature/orcid-login, consider this merged :octocat:
Any additional updates should be sent there.


Add user-to-user matching algorithm

Description
Added a function which returns a matching score between two users which is used to rank the different apartments for the seeker. It works by dividing the number of similar hobbies shared between the two users by the total number of hobbies between the two users. Returns a number between 0 and 1.
Manual Tests
All users with the same score - passed
4 users with different scores with a QuerySet limit of 3 apartments - passed
4 users with different scores and a QuerySet limit of 3 apartments - passed
3 users with different scores and a QuerySet size limit of 3 apartments - passed
Additional Information
get_all_relevant_apartments is a temporary function which was written in order to create this feature. Once the search feature is created, this function must be deleted, as we'll use the function in the search feature.
Issues closed by this PR
Fixes #59

LGTM
Are we waiting until the search is merged before we merge this?

Nope. We need to add some tests to this.
But before that we need to add tests for the hobbies
and before that we need to add hobbies to the signup form.


NetworkSession - Palo Alto Network parser

Fixes #
Proposed Changes

@YaronFruchtmann : note that I found another small issue

Changes pushed in PR #4016


Only set sanitizer suppression file if sanitzing is enabled

Not having this caused builds to fail on clang too old to support sanitizer suppression.


Module requires util polyfill to work in browser

Hey there! Pretty nifty library, thanks for building and sharing :) earlier I tried to use it in a browser application using Vite. This doesn't work immediately since the module requires the util package, which browsers and their environments do not provide.
By using a Polyfill I was able to work around this, and the result seemed to work fine. Since it seems like the only reason is providing extra info through a symbol, a good solution could be to make it optional, to try and check the environment (though doing so reliably would probably need another package), or (probably best) to handle the exception from the failed import by making it dynamic.
If you can use any help with this, please let me know! Aside from this hiccup I really like the library, well done!

Hey, thanks for your feedback. I'm glad you enjoy my library! I'll have a look at this very soon and tell you when the issue is fixed.

Hi again, I can't figure out how to exactly fix the bug because I'm not familiar with vite and working with the browser. Some help would be nice🫠!

Hey! Of course, I'd be glad :) I haven't tested this, but if you look at Unit.ts you'll see that you use the import from util only for adding custom inspect information. The util module doesn't exist in the browser context, so this will fail.
A fix would be not to import it and then declare the class, but instead to declare the class, and then attempt importing and adding the symbol. Something like this:
export default class Unit {
    // all your code
}

import("util")
  .then(({ inspect }) => {
    Unit.prototype[inspect.custom] = function (depth: any, options: any) {
      return options.stylize(this.toString(), "special")
    }
  })
  .catch(() => {
    // browser environment
  })


Open browser instantly after grip is running

Open a new thread to run webbrowser.open('http://localhost:5000') after the HTTP server is running, to automate the redundant process of switch to browser -> open a tab -> insert/paste url -> type enter.
If this suggestion is accepted, I would be very glad to send a pull request :D

Keep in mind that webbrowser.open is currently broken for Firefox.

+1

+1

Since my last comment, I've tried restview, which is like grip but for reStructuredText and it does two things which work well with this proposed feature:

It uses a random port number unless one is explicitly specified (port 5000 conflicts with the Pylons development server and pylons always gets there first because, to dogfood a certain app, I have it launch on startup.)
restview injects some JavaScript into the rendered page so that, when the on-disk file changes restview can automatically trigger a reload in the browser.

@reorx It might be ok to have this happen on normal execution. Grip is used in scripting too though, so worst case, would it be fine to put this behind a -b / --browser option?
@ssokolow Any way around that Firefox issue? It seems like that's an external problem that shouldn't stop us from using webbrowser.open today, unless there was another "right" way to do this.
@ssokolow  Also,

Nice! I like the random port number idea. I just can't think of any downsides other than "it'll clash with another running project every now and then."

Perfect. This is what I plan to do for #19 when I finally get around to it. (Especially since the full livereload library seems a bit bulky for just that one feature).

0. Since I posted that, Mozilla reverted the change (but left the option undocumented) to give more time for applications to migrate off it.
However, if you want to be absolutely sure, you could use this code I cooked up to force xdg-open to be chosen over the webbrowser.Mozilla backend on Linux:
    if os.name == 'posix' and not platform.mac_ver()[0]:
        with open(os.devnull, 'wb') as nul:
            subprocess.Popen(['xdg-open', request_url], stdout=nul, stderr=nul)
    else:
        webbrowser.open(request_url)

As far as the random port goes, just re-randomize and try again if you collide. That's what I do.

@reorx Any idea how to listen for the HTTP server to be running with Flask / Werkzeug?

@ssokolow @srirams6 I do like having a consistent port across runs like other server tools. I did a one-off random pick that should avoid most collisions (since it will no longer be using the very common 5000), and the rare collisions can set a port manually with --port Mind reviewing https://github.com/joeyespo/grip/pull/124 for the change in port?

@joeyespo We execute the webbrowser.open in a separate thread and run sleep(some_seconds) To make sure that the server is running. The server should start in 1 or 2 seconds. This is not the best way to do this, but I think it would work. Any ideas?

@srirams6 This answer demonstrates how to do it that avoids race conditions. I'm not exactly sure how to do this with Flask / Werkzeug yet.
Any ideas from anyone here?

Does Flask/Werkzeug support a two-phase connection setup where you could call listen , then fire off webbrowser.open(), then continue on to actually start accepting connections?
(That'd solve the race condition because the browser would just sit and wait if it started a request before grip started accept()ing. No threads needed.)

@joeyespo @ssokolow AFAIK, Flask/Werkzeug could not achieve the two-phase setup described above, it's kind of paradox because below the bottom it is SocketServer.TCPServer that start a while True loop to check new incoming TCP connection and then socket.accept to receive the request, although this is done in two phase: 1. listen to the port 2. if new event then accept, but the two phase are coupled together so tight that at least we couldn't step in at the level of Flask/Werkzeug, the app.run calls http_server.serve_forever() which will block the thread once starting. So (in a single thread) if we can open the url in browser, it means serve_forever  hasn't started yet, on the contrary, if serve_forever has started, we never get a chance to open browser.
So in my opinion we have to use thread to achieve opening browser in proper time. The code will be most likely the same as this answer, only different in how we get to know when the server is started. Since in Flask we couldn't decouple the two step of make_server and serve_forever, the watcher thread can do something like try to connect to the port, if connection could be established, it's time to open the browser.
I'll demonstrate the code in a new PR later in the evening (UTC +8) after off work :)

@joeyespo @reorx
Please check #122 out.
I have checked for the server start before opening the browser.

@srirams6 yes, it's exactly what I think of it should be, comment was left in that PR :)

Yes. I was doing that in a rush. I'll fix that and push!
Thanks :)

Hey all. Finally got around to wrapping everything up and deploying tonight. Thanks for your patience!


changed mail handling to accept text/plain attachments

@WebFa98, could you please review our changes and merge them?


[Quantization][TPU] compressed-tensors integration for TPU

DESCIPTION

integrate w8a8 support (channelwise, dynamic per token) for TPU to compressed-tensors

TODO:

tests (integration and unit)
Integrate w8a16 support (channelwise) for TPU to compressed-tensors

BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Adding or changing kernels
Each custom kernel needs a schema and one or more implementations to be registered with PyTorch.

Make sure custom ops are registered following PyTorch guidelines: Custom C++ and CUDA Operators and The Custom Operators Manual
Custom operations that return Tensors require meta-functions. Meta-functions should be implemented and registered in python so that dynamic dims can be handled automatically. See above documents for a description of meta-functions.
Use torch.libary.opcheck() to test the function registration and meta-function for any registered ops.  See tests/kernels for examples.
When changing the C++ signature of an existing op, the schema must be updated to reflect the changes.
If a new custom type is needed, see the following document: Custom Class Support in PT2.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

Nice, this looks good! Thank you for separating out the kernels! keeps the code cleaner and will make adopting https://github.com/vllm-project/vllm/issues/8913 much easier :)

Note - repacking logic is not quite right yet.

I think #9437 could be relevant to the OOM issue. Can you please retry after the PR is merged?

I think #9437 could be relevant to the OOM issue. Can you please retry after the PR is merged?

Thanks Woosuk, this is likely the issue

Tested this on the new trillium chips yesterday, Looks great @robertgshaw2-neuralmagic !! Thanks so much for this contribution.

When will this merge  ?


Use postmark to send emails instead of Flask-Mail

Hi, how would I override Flask-User's use of Flask-Mail to send emails and replace it with a custom module. I need to use Postmark's REST API and not it's SMTP offering.
I'm thinking I could use signals to hook into events such as user_changed.password etc and send an email to the user based on that. But how do I switch off Flask-User's use of Flask-Mail?

What if you set MAIL_SERVER to not.a.real.hostname? I understand that this isn't optimal. You could at least speed up the time to failure by adding an appropriate entry to /etc/hosts so you skip the needless DNS lookup.

The UserManager() initialization accepts a custom 'send_email_function' that can point to your custom function.
See emails.py,
def send_email(recipient, subject, html_message, text_message)
for an example implementation using SMTP.


Add a class to the inserted div to allow for easier styling

From<EMAIL_ADDRESS>on October 26, 2011 19:15:38
It would be nice if the top-level div that is inserted had a class name (or ID) on it so that it could be accessed by CSS selectors more easily.
Original issue: http://code.google.com/p/h5o/issues/detail?id=12

Not really sure what is mean by top level div - only the bookmarklet wraps the result in a div, but that is not mean to be style-able by the page being outlined. The non-bookmarklet version returns HTML with an ol as it's root - it is outside of the scope of the outliner, to add the classes to that - there are plenty of alternative hooks and all HTML5 capable browsers support CSS2 direct descendant selector (>), so nothing should be an issue for styling.
Closing as won't fix.


Remove escape characters from the encoded username

Purpose

$subject
Fix https://github.com/wso2/product-is/issues/18700

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7472861750

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7472861750
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7474235780

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7474235780
Status: success


Fix build after &Option -> Option<&T> change

See https://github.com/gtk-rs/gir/pull/780

This will fail until https://github.com/gtk-rs/gtk/pull/816 is merged

Thanks!


How to check if the given device is Locked or Unlocked?

Got the solution.
tidevice info -k PasswordProtected This gives the values True when device is locked and False  when device is unlocked.


how to store multiple pages in DOM and route them by page name

Sorry, I cannot login to Stack overflow from China. It uses Google's service or srcipts, which have been blocked in China, for the login process. So I have to post my question here:
What is the right way to place multiple pages in a view using API v2. Previously with API v1, we have the element
 to hold multiple pages. But that syntax has been removed in v2. If I place multiple
 directly inside a view, the pages will be overlapped.
The reason I need to place multiple pages in a view is that I want to route pages by page name like this:
  {
    path: '/services/',
    pageName: 'services',
  },

The pages have to be in DOM rather than being saved as other .html files or templates.
Please help.

Sorry, I cannot login to Stack overflow from China. It uses Google's service or srcipts, which have been blocked in China, for the login process. So I have to post my question here

Sorry, it is still not a reason to post questions here. There is also a forum at forum.framework7.io


Makes git client getBranchOrTag returns branch first

Signed-off-by: Ashraf Fouda<EMAIL_ADDRESS>What this PR resolves:
Changes proposed in this PR:

Version:
Fixes: #

This will always return branch.


Updated the Azure AD account role requirement

Azure AD account needs to be assigned Owner role and not the Global Administrator.

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

Hi @rbinrais - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. We can keep this PR open for review and merge, but would you make future content updates in the private repo? Thank you!

Note that publishing in this repository is suspended until Tuesday, March 2. Merging will resume at 7:00 AM PT Tuesday. Authors can still review and sign off on PRs during this time. Thanks.

Hi @rbinrais - This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. We can keep this PR open for review and merge, but would you make future content updates in the private repo? Thank you!

@ktoliver Sure, will do. Thanks!

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

#sign-off

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


Revert "Upgrade IISWebAppDeploymentOnMachineGroupV0 to NodeJS16"

Reverts microsoft/azure-pipelines-tasks#17247

Closed because it is the duplicate of already merged  #17643


Add Action CI check

Testing

Failed, added missing boost dependency, now code build failed.

And now it's happy! :)


Make adequate names for volumetric entities

Possibly, we need to rename Phase Function to Volume (or Volume Material), and reserve PhaseFunction entity for internal needs as a component to some Volume instances (just like MDF for GlassBSDF). The idea is that:

Phase Function should not contain info about density and absorption color of media
We can avoid code duplication when we use the same skeleton with different phase functions (using templates, for example class HenyeyVolume : public GenericVolume<HenyeyPhaseFunction>)

We can name 3D data we use for non-homogeneous media as Volume Data or Volume Grid.

Resolved in #1545


Fix inability to find gmp.h when building concurrently

There were situations when building concurrently when we would
request gmp.h before it had been built (or copied).
This was occuring when we generated the list of dependents for
the c files in the integer-gmp folder. Thus, when generating the
dependents for this library we now require gmp.h.

Thank you!


add directory type that can reference source from local directory

similar to manual but points to a local directory. copies over files from there and filters out content per usual includePaths/excludePaths rules.

https://github.com/k14s/vendir/blob/f295df522233945a827f20916bac70ca17b06b82/pkg/vendir/directory/directory.go#L94

fixed in 0.5.0: https://github.com/k14s/vendir/releases/tag/v0.5.0


Resource transfer API

[ ] Archetectuary extras transfer API

[ ] Botarium transfer API

Fabric ones

Forge one(s)?

Useful notes:

https://gist.github.com/DeflatedPickle/403e1eb0bb0bed7f2509142e63630726/#unit-conversion

https://github.com/Technici4n/GrandPower


Experimental

For testing in the Material-UI repository
Includes:

https://github.com/merceyz/typescript-to-proptypes/pull/8
https://github.com/merceyz/typescript-to-proptypes/pull/9
https://github.com/merceyz/typescript-to-proptypes/pull/10

wrong remote


[REQUEST] Cables with facades on top of chests

Cables with facades that still allow chests to be opened!
When you place a facade block into a cable, it makes the block solid, and therefore prevents chests from being opened. This interferes with storage systems where item cables are placed above chests for input/output. Instead, it would be fantastic if these item cables could imitate the block while still allowing chests to be opened if placed underneath them.

Thanks for suggesting, this is implemented as of 1.11.0-alpha.2 which will be available shortly on CurseForge.


Requirements

Does this testbed require shibboleth-sp-dockerized and shibboleth-id-dockerized to be downloaded and installed before usage or is it self containing?

The testbed uses Dockerized containers. The IdP and SP, specifically are configured to use the "latest" images. These images maybe built locally using the individual image source (Dockerfile) or the lastest from the respective Docker Hub repos.
The other images get built upon first start-up.


Feature Request: "python.terminal.integrated.cwd".

This should already exist i don't know why it's not added already..
Basically it would be a "python.terminal.executeInFileDir" but customizable.
Like "terminal.integrated.cwd" but for python.
This setting should affect these buttons.

I found in other issue that you can use this in the launch.json:
    "configurations": [
        {
            "name": "(debug-in-terminal only)",
            "type": "python",
            "request": "launch",
            "console": "integratedTerminal",
            "purpose": ["debug-in-terminal"],
            "cwd": "${workspaceFolder}\\test"
        }
    ]
}

But this only affects Debug python file.

https://github.com/microsoft/vscode-python/issues/18299

Uhh..
Now using F5 is broken.
It says "This configuration can only be used as defined by purpose"

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

Thank you for submitting your feature request and everyone who considered it! Unfortunately this issue did not receive enough votes over the allotted time, and so we are closing the issue.


New Footer design

Not sure what has happened with new footer design for FC2.  Probably to implement as a 1.4 issue, but @Vino-S needs to see it in order to complete #159 as a reasonable facsimile

PR asked Alison 19/4/1963

Covered by systemwide enhancements?

Issue replaced by Systemwide #115


ESM release support

support pure ESM release
add sideEffects test
adjust directory layout

https://github.com/jquery/esprima/issues/2079


Reintroduce masking feature

Reintroduce masking feature on text inputs when can be properly implemented for config form objects
Add back in these sections:
1
2

Why were they removed to begin with?

They were removed to resolve this issue , which @MattDHill and I decided was a more painful and dangerous UX (as the pw manager could override the already saved pw for EOS login if saved for these other input fields).
There was not a straightforward solution due to data flow ordering in angular bindings and change events; however, bluj and I did devise a solution in the basic case. The dynamically generated config form objects present a challenge with how the two way bound model is preserved, so that case still needs to be evaluated and is mainly what this ticket is for.
In an effort to streamline the <IP_ADDRESS> release, removing them was the MVP.

Brilliant solution - use a symbol based font to mask instead of above chaos


Add v2/verify SigstoreCertificateVerify & v1/crypto callbacks

Description

Relates to https://github.com/kubewarden/verify-image-signatures/issues/39
Add SigstoreCertificateVerify callback.
Add v1/crypto host capabilities & sidebar entry.

Additional Information
Tradeoff

Potential improvement

PR ready, changed the API to return:
{
   // true if certificate verified:
   "trusted": boolean,
   // empty if trusted == true:
   "reason": string
}

LGTM, but we have to put the merge on hold because:

I want all the code changes to be tagged and released
I want to have https://github.com/kubewarden/verify-image-signatures/issues/49 done and be sure that, to address this issue, we don't have to change the waPC API

Superseded by https://github.com/kubewarden/docs/pull/155.