dataCommons.org: Data Commons Knowledge Graph (DCKG)

Hey all,
I was challenged last week to provide info(in rough numbers) about the Data Commons Knowledge Graph(DCKG), which was constructed by synthesizing in a single Knowledge Graph from many different data sources[1]. What I am looking for especially is to know:
- How many entities or nodes the DCKG has?, understanding that dcid (DataCommons identifier) is a unique identifier assigned to each entity in the knowledge graph, furthermore entities are represented by nodes[2].
- How many data sources the DCKG has?, because currently contains data from Wikipedia, the US Census, NOAA, FBI, etc?[3].
- How many nodes and relations the DCKG has? and  How many statements it has?

For example, the statement "Santa Clara County is contained in the State of California" is represented in the graph as two nodes: "Santa Clara County" and "California" with an edge labeled "containedInPlace" pointing from Santa Clara to California.

- What is the current size of the used vocabulary in the DCKG?, taking into account that dataCommons.org builds upon on the vocabularies defined by Schema.org[4]
- These are potential FAQs for future researchers (of course there are more)
Could you help me?
cheers,
Elwin Huaman
[1] https://browser.datacommons.org/
[2] https://colab.research.google.com/drive/1vffnWktZyffk7pNfpuXrTsCpp-od5W47
[3] https://datacommons.org/
[4] https://datacommons.org/faq

Excellent questions.  Have you received this information via another channel?
peter

Excellent questions. Have you received this information via another channel?
peter

No, sorry.
Elwin


create an k8s IngressController namer

This is currently hand-wavey, but we should create a Namer that watches kubernetes' IngressController API.
Depending on the details of the IngressController api, this may just be a rewriting namer that refines paths to service names... (and so the existing k8s namer would be used to bind addresses).
http://kubernetes.io/docs/user-guide/ingress/

will reopen if there's a real need to do this.


Verify message delivery

Is there a way in the library to make sure the message is sent and delivered to the recipient? For example, if due to problems with the Internet connection or the telegram server, the message was sent (or not sent), but not delivered to the recipient, is it possible to find out about this and send it again?

From bot side, you have no way to know if Telegram has delivered message to user (I assume that server has its own internal verification mechanisms), but for sure you can check if message from bot was delivered to Telegram server.
Check this example for how-to.


How to use composite with type="cable"

Hi,
I'm trying to use MuJoCo for cable manipulation. I'm looking for some help with the following demo xml file for using composite with type="cable".
https://github.com/deepmind/mujoco/blob/8696247f9d6baa1a0feb9103640bd41c8a35379e/model/plugin/cable.xml
It seems to me that the demo xml file does not compile anymore due to version updates. When I tried compiling this xml file, an error appears and says
ValueError: XML Error: Schema violation: unrecognized element
Element 'plugin', line 4

So, it seems <plugin ...> does not seem to work anymore. After removing the <extension> block, still I got an error saying
ValueError: Error: unrecognized plugin 'mujoco.elasticity.cable'
Object name = B_first, id = 1

Now, it seems that the plugin name has been changed, or the plugin for cables do not exist anymore. After removing <plugin plugin="mujoco.elasticity.cable"> block, the xml file finally complies.
However, now an issue is that it is unclear how to change twist, bend, and so on. The mujoco xml reference page does not explain how to change those attributes.
Can anyone help me with this? What is the current appropriate way to use composite with cable now? FYI, this problem seems to happen when MuJoCo was installed via conda or pip.
The following is a link to colab that replicates what I did: https://colab.research.google.com/drive/1tOP38GGEe6xyzKkhhBOgudmn69PDck87?usp=sharing

Sorry, the following closed issue is obviously related. I closed this issue and re-open the following one.
https://github.com/deepmind/mujoco/issues/723#issue-1572282684

Ah, you are right... One day after opening this issue, v2.3.3 was released. I confirmed that v2.3.3 does not have this issue while v2.3.2 does. Thanks!


feat: add support for listing drivers in default channel

Added support for new endpoint listing drivers in default channel (a channel users have access to without subscribing to it).

Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project (npm run lint produces no warnings/errors)
[x] Any required documentation has been added
[x] I have added tests to cover my changes

:tada: This PR is included in version 3.6.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Is the image seen by MediaPipe graph different from the one we see on the Android app?

The image I see on the Android app is definitely not square (display on phone is rectangle), but when I try to print out the width and height of the ImageFrame that comes into the graph, I get 1080x1080. Why?

I just did an experiment and the image displayed has part of the left and right side being cut off. Can I know if this is a deliberate implementation or a bug? If it is a deliberate implementation, can I know which part of the code causes this to happen? I would like to modify it so that both the image being displayed on the screen and the image being processed by MediaPipe are the same.

@eknight7 I also compared with the phone own camera and the FOV is indeed different!

Please see #774 for more info.

Hi, can you please comment if this issue is still occurring? We changed cameraX API dependencies in https://github.com/google/mediapipe/releases/tag/0.7.12 and this issue should not persist (about the image getting cut off). Thanks.

Hi, can you please comment if this issue is still occurring? We changed cameraX API dependencies in https://github.com/google/mediapipe/releases/tag/0.7.12 and this issue should not persist (about the image getting cut off). Thanks.

Hi, we are closing this issue due to lack of activity. Please reopen if you have further questions. Thank you.

Hi, we are closing this issue due to lack of activity. Please reopen if you have further questions. Thank you.


mesh_channel: hide RPC response receiver from callers

In the future, RPC channels will typically (always?) use blocking senders to provide backpressure and better support early cancellation.
To prepare for this, wrap the RPC response oneshot channel in a separate type which in the future can contain both a blocking send request and the response receiver.
Also, hide the internal fields of Rpc to give us flexibility there in the future, too.

I will probably hold this PR for a while to avoid merge conflicts with backport work going on.


Documentation: describe the build system

Hi, it would be great to document the build system setup,
i.e. to use rake to create the actual Dockerfiles in out/*

I agree, good idea. Unfortunately we're short staffed right now and can't get to this. I would accept a patch/pull request if you want to submit one.
We've also discussed reducing the number of containers we support and focusing on the core and / or base images. Opinions?

Hi, already partially done in the pull request for the metabolomics packages.
regarding the core/base support and dropping the others: what about
getting community support for them ? Like, you just got for metabolomics :-)

I'll post on the list to see if anyone is interested.


Add lib_get_type variable type inference

Another fun library, variable type inference!
get_type(5) => "NUMBER"
get_type("5") => "STRING"
get_type(list()) => "LIST"
get_type(vessel("targetVessel")) => "SHIP"
... etc

Useful for type-checking in other functions in order to fail gently when passed invalid arguments, or to allow functions to operate on both collections and single items.

This is really cool thanks.
Just a couple of issues before i can pull it.
Vectors and Directions are V and R respectively after splitting, as it stands both of these types throw errors when you get_type() on them.
Only other thing, which might not be easily accomplished, would be to have some protection against missing or new types. (No idea if that could be done, if not don’t worry about it).
Last thing is there a reason for the ")". ?  of is it just left over from previous edits of the script?

Thanks, I'll take a look at vectors and directions shortly. As far as detecting new types, unfortunately I can't really think of a way to make that work. If I can come up with something, I'll gladly PR it later though.
The ")". is a workaround for a current KOS bug, which I've reported here: https://github.com/KSP-KOS/KOS/issues/1285

Oooh, actually, thinking about detecting new types, it revealed another bug: get_type("LIST") -> "LIST". Thinking on it more, I might be able to compare the lex value dumped with the input, to see if there's a difference, which would fix that, but also allow detection of non-string, non-recognized types.

It's likely that this is going to be handled shortly in newer version of kOS once primitive types support suffixes, so I'm going to go ahead and close this PR for the time being.


feat(faq-school): fix link to L-14

The link to FAQ L-14 pointed to FAQ L-11 instead.

Good catch! Thanks much for fixing that.


Unable to obtain daily stock prices using yfinance

import pandas_datareader.data as pdr
import yfinance as yf
yf.pdr_override()
data = pdr.get_data_yahoo("AAPL",start ='2018-01-01',end='2018-12-31')
The exception says:
Exception in thread Thread-1:
ConnectionResetError: [Errno 54] Connection reset by peer
During handling of the above exception, another exception occurred:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))

This seems like a connection issue. Closing for now. Please reopen issue if the problem persists.


Consider adding set -x to Github Actions workflows

If we use set -x, we can better understand the output of the GH Actions workflows and make it easier to debug them.
GH Actions allows you to set global defaults for choice of shell with the defaults.run option. It would be nice if you could use this option to run set -x before every block, but it doesn't look like it works that way.
I think that a reasonable way to accomplish this would be to set a global environment variable, like bash_settings_cmd="set -x", and then add an eval "${bash_settings_cmd}" to the top of every block of bash code. This makes it easy to modify or override the command. Unfortunately, if a user needs to adapt the workflow to run somewhere that bash is not available, as mentioned in https://github.com/cpp-best-practices/cpp_starter_project/pull/165#discussion_r706613923, that user would need to modify every block of code.
Originally posted by @ddalcino in https://github.com/cpp-best-practices/cpp_starter_project/pull/165#discussion_r706874953
Edit: The default shell in .github/workflows/build_cmake.yml is already set to bash, so all blocks of shell script will run in bash, regardless of platform. We do not need to add defaults: run: shell: bash.

This issue has been open for over two months, with no feedback and no activity. I think it's safe to say that this issue has been considered, and the feature has been judged unnecessary.
If anyone disagrees with my assessment, please comment here and I will reopen the issue.


Search exclusion broken ?

VSCode Version: Code 1.12.1 (f6868fce3eeb16663840eb82123369dec6077a9b, 2017-05-04T21:40:39.245Z)
OS Version: Linux x64 3.16.0-4-amd64
Extensions:

I'm given search results from excluded locations. typing the exclusion pattern in the "files to exclude" field works

Extension
Author
Version

indenticator
SirTori
0.4.2

html-css-class-completion
Zignd
1.1.0

vscode-eslint
dbaeumer
1.2.8

githistory
donjayamanne
0.2.0

jquerysnippets
donjayamanne
0.0.1

vscode-html-css
ecmel
0.1.2

backbone-js-snippets
ioanaapetrei
0.0.1

debugger-for-chrome
msjsdiag
3.1.1

better-merge
pprice
0.6.1

diff
rafaelmaiolla
0.0.1

stylelint
shinnn
0.24.0

gitblame
waderyan
1.8.1

JavaScriptSnippets
xabikos
1.4.0

local-history
xyz
1.1.1

Steps to Reproduce:

It looks likes they are just temporarily turned off.
In the 'files to exclude' box click the page and cog icons on the right to enable the exclude settings - the icons should highlight to show it's on.

Gah .. thanks ..


force sort via URL hash?

In connection to my other issue, I now have filter links that filter and sort as needed.
Different filters sort different ways, when on the page it works fine. When I link out to the page, it filters fine but obviously doesn't sort.
How would I use the hash/filter in the URL to sort accordingly?

Hi the pattern is exactly the same as this demo:
http://patrickkunka.dev/mixitup/demos/filtering-by-url/
However instead of a single hash #blue, you need to construct a hash segment with additional information in it:
For example: #filter=blue&sort=default:asc
You would need to implement code to serialise/deserialise that hash segment when writing and reading from it, but as with the filtering, you interface with MixItUp using the load.filter and load.sort configuration options when instantiating your mixer, passing in the values parsed in from the hash.


Figure out how to generate SELECT FOR UPDATE diagram

Subtask of #6000.
At the moment (2020-03-02) there does not seem to be an easily consumable/generatable diagram of SELECT ... FOR UPDATE.
(This may just be a matter of waiting for the SELECT ... FOR UPDATE work to merge, at which point we can generate the diagrams in the usual way.)
However, if it's not that easy, we will need to figure out what to do.
In the CockroachDB grammar this construct appear to be named for_locking_strength and refers to:

FOR UPDATE
FOR NO KEY UPDATE
FOR SHARE
FOR KEY SHARE

... of which FOR UPDATE is the one we want.
Unfortunately at the moment (AFAICT) that clause only lives in stmt_block.bnf and is not hooked into any of the BNF files that we use to generate diagrams for the various SELECT statements, namely:

select_clause.bnf
select_stmt.bnf
simple_select_clause.bnf

Estimated scope of work:

Figure out if / how to generate this particular diagram
If you can't figure it out, ask for help from Engineering: perhaps file an issue against the docgen package of CRDB

I think we should close this, since we are moving away from SQL diagrams.


Use @wordpress/scripts

Updates the repo to use @wordpress/scripts

This PR is blocked by https://github.com/WordPress/gutenberg/issues/17061

This PR is blocked by https://github.com/WordPress/gutenberg/pull/17060

For the uninitiated, can you please expand on what the @wordpress/scripts package is and why it should be switched to?

This repo was still using the deprecated ESLint config, the replacement is @wordpress/eslint-plugin so the vast majority of code in this PR is updated to adhere to the latest WordPress JS Coding Standards, which is what Gutenberg uses, as will WordPress Core.
The @wordpress/scripts package also includes this repo's styleint, Jest, npm-package-json-lint configs as dependencies which ship with a default configuration, this default configuration which is inherited allows for zero configuration here in this repo. As such this repo removes any and all ESLint, stylelint, Jest, and npm-package-json-lint configurations greatly simplifying the configuration of the build tools in the repo by not requiring any configuration whatsoever.
** There is one minor config tweak added in .stylelintignore here so that the stylelint Jest tests that are part of this repo run the stylelint tests using stylelint-config-wordpress against the valid CSS & SCSS test fixtures but ignore the invalid test fixtures.

Is it foreseeable that eventually there would be a @wordpress/stylelint or similar which would make this stylelint-config-wordpress redundant?

Yes @GaryJones, this repo will be deprecated and moved to the Gutenberg packages and become @wordpress/stylelint-config
See also: https://github.com/WordPress/gutenberg/pull/16924#issuecomment-518681192


Doesn't work well with @draft-js-plugins/anchor when adding link on single word

Thanks for this simple yet great library @fedorovsky , but I need help.
It does the work when pasting links, but when using this with https://www.draft-js-plugins.com/plugin/anchor it seems it doesn't attach link to the last letter of the word and this only happens to one word being added a link, adding links to multiple words woks fine.

@vmc08  you found anything to fix this ?


Add LOH plotting script

This pull request adds a new script to plot B-allele frequency graphs. It expects an input file that looks like the following:
chromosome pos idx af
chr1 630026 0 0.8792
chr1 1050070 1 0.2787
chr1 1729287 2 0
chr1 2104824 3 0.9912
chr1 2396376 4 0.9919
chr1 3082434 5 0.9985
chr1 3415169 6 0
chr1 3775676 7 0.9983
chr1 3944339 8 0.4965
...

LOH code looks good for merge


Add file tree component & project structure guide to docs

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description

Adds a “Project Structure” page
Adds a <FileTree> component similar to the one we use in Astro Docs. This is only available in the docs site currently, but the intention is to make this available as part of Starlight when we have time to polish it and solidify the public API.

size-limit report 📦

Path
Size

/index.html
13.05 KB (+0.02% 🔺)

/_astro/*.js
16.52 KB (+0.09% 🔺)

/_astro/*.css
8.99 KB (0%)


Crossplatform problem running txtai in Windows 10 [WinError 32]

Hello!
First of all, thanks for this amazing project.
I'm getting this error while trying to run some code (which is perfect on a Macbook Pro mid 2015 - Monterey v12.2). After creating audio embeddings and trying to save the compressed file I just got the following bug (it saves anyway).
  File "C:\Python\lib\shutil.py", line 398, in _rmtree_unsafe
    os.unlink(fullname)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\LUISAR~1\\AppData\\Local\\Temp\\tmpw_5ft63f\\documents'

Now as it worked, I tried to load the embeddings and try to search them, and I get exactly the same error, after getting the first result. So this might seem that some processes are still running even when the library tries to do something else? Or do you think this is a Python problem?
Thanks in advance

Thank you for trying txtai and the kind words!
Can you describe more on what steps you were taking? Were these errors after indexing and saving only? Are you able to run more follow on searches without that error coming up again? Is your embeddings index configured with content: True?
I've seen this issue with some of the unit tests on Windows in the past. There is a race condition between when Windows actually closes the underlying SQLite file (even when the connection is closed, the file isn't released until GC occurs) and when the TemporaryDirectory tries to delete it.
What version of Python are you using? It seems like later version of Python handle deleting temporary directories more gracefully.

Hi @davidmezzetti!
So the steps are very simple. I just start by activating my environment and run a script to generate the embeddings. I create an Embeddings object and treat the csv data to be able to go there. Then I index, which goes fine (I think!) -> audio_embeddings.index([(uid, text, None) for uid, text in enumerate(audio_data)]) and then just save -> audio_embeddings.save("embeddings/audio/audio.tar.xz") in a compressed format. I think the problem is in the middle of calling .index() and .save() .
Traceback (most recent call last):
  File "C:\Python\lib\weakref.py", line 648, in _exitfunc
    f()
  File "C:\Python\lib\weakref.py", line 572, in __call__
    return info.func(*info.args, **(info.kwargs or {}))
  File "C:\Python\lib\tempfile.py", line 797, in _cleanup
    _shutil.rmtree(name)
  File "C:\Python\lib\shutil.py", line 516, in rmtree
    return _rmtree_unsafe(path, onerror)
  File "C:\Python\lib\shutil.py", line 400, in _rmtree_unsafe
    onerror(os.unlink, fullname, sys.exc_info())
  File "C:\Python\lib\shutil.py", line 398, in _rmtree_unsafe
    os.unlink(fullname)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\LUISAR~1\\AppData\\Local\\Temp\\tmphx03gy2g\\documents'

To answer your question, my object is created Embeddings({"path": "sentence-transformers/nli-mpnet-base-v2", "content": True, "objects": True}) so it is a yes. I'm also running Python 3.7.9.
Thanks!

Would you mind trying this on Python 3.8? This fix while old wasn't backported to 3.7 - https://github.com/python/cpython/issues/70847
Ultimately, I could implement the same logic in the archiving logic to work around Windows permission errors but I'm curious if it's still an issue with later version of Python.

I found a solution, lol. Just saving uncompressed format in Windows and compressed in MacOS, it seems to go away and work fine. If I don't specify the tar file and just a folder, it seems to be working properly

That makes sense given the issue. When archiving is enabled, files are written to a temporary directory then saved to a compressed file. When the temporary directory goes out of scope, finalization logic in Python tries to delete the directory and this is where the error is coming on Windows.
Looking at the CPython code, there is additional logic in Python 3.8 that's not in Python 3.7....so definitely possible the fix mentioned above resolved the issue. The "fix" though isn't anything more than ignoring the error, so that option is certainly one txtai could integrate.

Given that this is a Python 3.7 specific error, the best path is to upgrade to a later Python version if this error is occurring frequently. Python 3.9+ is best when using Windows.


Question about your code when img_b is grayscal

I saw your code when img_b is grayscal will be img/255,and clip to 0-1 in this way the img will turn to binary img instead of medical img and I got problem with it


fix: typo in document

fixed a small typo: there were "can will" in a sentence at the same time

fixed a small typo: there were "can will" in a sentence at the same time

@Lanznx Could you also raise a pr for the doc how-to-use-the-playground.md of gravitino?

@qqqttt123 ok!
i already sent the PR https://github.com/datastrato/gravitino/pull/2219


Support multiple indices in the Exists API.

Hi I've added multiple index support to the exists-api. Please review this and if you could add it that would be nice.

The Exists API does not support multiple indices.


feat(module): add support for Spanish language

:tada: This PR is included in version 3.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Clone()

Hi
is it possible to add clone() as move() in base.PanObject as defined in pan.xapi:
clone(xpath=None, xpath_from=None, newname=None)
The clone() method performs the action=clone device configuration API request with the xpath, from (xpath_from function argument) and newname arguments.
This clones (copies) an existing node in the configuration specified by xpath. xpath_from is used to specify the source XPath and newname is used to specify the new name for the cloned node.
https://github.com/kevinsteves/pan-python/blob/master/doc/pan.xapi.rst#movexpathnone-wherenone-dstnone
Thanks in advance,

Thanks for opening this issue, happy to help.  This has been a point of discussion and I'm interested in thoughts from the community.
Currently there are 2 options available to move or clone objects with pandevice:
Option 1: Use the PAN-OS API directly
clone and move are parts of the actual PAN-OS API.  They are intentionally not directly represented in pandevice, but they are still accessible becuase every Firewall or Panorama instance has an 'xapi' attribute which can be used to issue direct raw API commands.  For example:
fw = Firewall('<IP_ADDRESS>', 'admin', 'password')
fw.xapi.move('/config/devices/entry/vsys/entry/rulebase/security/rules/entry[@name="MyRule"]', where='top')

It's a bit of a pain to craft an XPath, but any PanObject can craft its own XPath for you, making this easier.  For example:
rule1 = rulebase.add(SecurityRule('rule1'))
fw.xapi.move(rule1.xpath(), where='top')

One problem with using the PAN-OS API calls directly is it can put things out of sync with your pandevice configuration tree.  ie. if you refresh all the rules from a firewall in pandevice into memory, then call fw.xapi.move() on one rule, then the live device and your pandevice in-memory representation are out of sync.
Option 1 advantage: Can only affect the one object specified, other objects left alone
Option 1 disadvantage: pandevice and the live device get out of sync, you'll need to refreshall to get back in-sync
Option 2: Use pandevice objects
Represent a move or clone in python using pandevice itself.  For example, to clone a policy rule, you could do this:
rule1  = rulebase.add(SecurityRule('rule1').refresh()
rule2 = rulebase.add(deepcopy(rule1))
rule2.name = 'rule2'
rule2.create()

Now, 'rule1' is cloned as 'rule2', and the pandevice in-memory representation is perfectly in-sync with the firewall.
A 'move' would look something like this:
SecurityRule.refreshall(rulebase)
rule1 = rulebase.find('rule1')
rule1.delete()
rulebase.insert(0, rule1) # Move the rule to the top (position 0)
rule1.apply_similar()

One think to consider with this approach is the apply_similar() method which applies all security rules, thus overwriting all the security rules with what is currently in pandevice, applying them in the new order.  So, with this option, any configuration on the firewall not yet supported by pandevice is removed from the live device.  There is nothing to fear if done in script that supports specific PAN-OS versions and is tested on those version, or when pandevice owns the configuration, but this can cause problems when a human admin configures something that pandevice doesn't recognize, because it would be removed from the live device.
Option 2 advantage: pandevice and the live device stay in sync
Option 2 disadvantage: Configuration not yet supported by pandevice gets removed from live device
Conclusion

We need to document this better.  Please use the above as documentation until we can improve the official docs.
If the community has suggestions on another way to handle 'move' and 'clone' please add a comment below.  We are very open to your ideas.

Let me know if any questions


Add iOS Safari 13.2

Same as #5068 but only for iOS Safari. There is no hint so far Safari (for macOS) 13.1/13.2 would be released any time soon.

It look like missing iOS 13.2 breaks displaying of usage relative view. It looks like iOS only has a very small market share in comparison to Chrome Android. It was a lot higher some weeks ago.

Done!


Update 2014-03-27-showmodaldialog.md

Added final paragraph
Note:  The dialog-polyfill example as noted on GitHub is NOT compatible with IE, as it relies on the 2016 ECMAScript standard "Promise", which is not a construct supported by IE:  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
When saying that an example is cross-browser, how about actually testing it and including IE?  As much as you guys may hate it, it is what those that live in the land of Microsoft products (i.e. SharePoint) must deal with everyday.  Thanks.

Just thought this caveat needed adding.  I wasted so much time with this, in IE, and just this note will save others the time I spent trying to debug this.

@mathiasbynens, could you please have a look at this?

@mathiasbynens, ping

@navyjax2 Thanks for the pull request. dialog-polyfill is in fact compatible with IE if you include a Promise polyfill, of which there are plenty, e.g. https://github.com/jakearchibald/es6-promise. As such I won’t merge this patch as-is but rather add a note saying just that. Thanks!


Get Base 64 string

First than all, I have to say, THANKS A LOT, you fixed the diadal version, this just works amazingly easy...
So, how could we get the base 64 string from the generated qr code?

Nevermind, i just found the way to do it:
You just need to set a ref for the element, and then you can get it like this:
myRef.value.imageUrl
Thans again for this!


chore(pie-monorepo): DSW-000 update several package versions to resolve security warnings

Describe your changes (can list changeset entries if preferable)

Combines the following automated PRs:
#1948
#1942
#1687

Author Checklist (complete before requesting a review)

[x] I have performed a self-review of my code
[x] I have reviewed the PIE Storybook/PIE Docs PR preview
[x] If changes will affect consumers of the package, I have created a changeset entry.
[ ] If a changeset file has been created, I have used the /snapit functionality to test my changes in a consuming application

Reviewer checklists (complete before approving)
Reviewer 1

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview
[ ] If there are visual test updates, I have reviewed them

Reviewer 2

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview
[ ] If there are visual test updates, I have reviewed them

/test-aperture


Hydrogen production sidebar needs sidebar image

See title, /scenario/supply/hydrogen_production/
Suggestion: H2 , in sidebar image style. Plain and simple! :smile:

What do you think?

What do you think?

Perfect!


Topics do not work with watchOS

If you attempt to sub to a topic, the callback never calls indicating a success or failure.
The reason is due to self.pubsub being undefined, and a message is being sent to self.pubsub with the completion without a null check:
https://github.com/firebase/firebase-ios-sdk/blob/ad06c605bf08d1649d266f41116f5b3c46345e99/FirebaseMessaging/Sources/FIRMessaging.m#L781
There's this line:
https://github.com/firebase/firebase-ios-sdk/blob/ad06c605bf08d1649d266f41116f5b3c46345e99/FirebaseMessaging/Sources/FIRMessaging.m#L273
Which blocks initialization of self.pubsub - however when this is removed, there appears to be no problems. Topics work fine on a standalone watchOS after removing these preprocessor statements.
Is there any particular reason as to why? I'm assuming something else is not working properly with notifications is why - I will gladly help update the code if need be to get this working, as topics are something we need on our end.

Thanks @jlandrum Good catch on the issue. Yes the topic subscription should be working on watchOS and the macro is not correctly set.
The reason we set it for now is that to prevent direct channel from running as it's not available in watchOS, so uncomment it will have a lot of unexpected code from running the resources. Feel free to comment out the macro for the quick fix for now, I will kick off a PR that refactors the pubsub to be called without relying on direct channel logic.


Merged prs

This merges https://github.com/stain/jena-docker/pull/71 https://github.com/stain/jena-docker/pull/68 and https://github.com/stain/jena-docker/pull/63 into master

Have you remembered to update these updates on dockerhub? @renefritze

Though about, yes. The CI pushed to ghcr
However I cannot justify spending any more time on this project since I'm no longer actively using those images.


Knobs: allow opting out of persisting values in URL

Ideally it would be a per-knob option. In fact, maybe having this on object knob could be enough

I think the knobs in the URL looks really messy. I'd love to have an input in the panel to generate the copy and paste url, and perhaps save the actual knobs data in the local storage or cookie.

Yep, with encoded Russian symbols it looks  awful)
http://localhost:3001/?knob-%D0%A2%D0%B5%D0%BA%D1%81%D1%82=%D0%97%D0%B0%20%D0%BE%D0%B1%D0%B5%D0%B4.%20%D0%A1%D0%BF%D0%B0%D1%81%D0%B8%D0%B1%D0%BE%21&selectedKind=a.Balloon&selectedStory=%D0%91%D0%B5%D0%B7%20%D0%BF%D0%B0%D1%80%D0%B0%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%B2&full=0&down=1&left=1&panelRight=0&downPanel=storybooks%2Fstorybook-addon-knobs


Snackbar & Pop-Ups

Better Alerts
This issue proposes an enhancement to the user experience of the app in two ways.

Replace the regular JavaScript alert() alerts with much more user-friendly custom styled snackbar notifications instead.
Add a pop-up confirmation box when the user wishes to do something destructive like delete a board.

Snackbar
Toast-like notifications that doesn't disrupt the flow of the app while providing warnings, alerts, and other information.
Potential Implementation: A parent element has to be defined that is positioned at the bottom left/right or top left/right corner of the screen. It should have a flexbox flex-direction of column to align downwards. When an alert is sent, a notification element is appended to the parent element with a timeout set to 2 or 3 seconds to automatically dispose the element and removes it from the DOM.
Pop-Up Confirmation
Simple pop-ups to get a confirmation from the user prior to destructive activities that may have been initiated accidentally.
Destructive activities include:

Deleting a board.
Deleting a card.
Clearing a card.
Changes in preferences (not implemented yet, will be after #4 )

Potential Implementation: A modal could be used to show the pop-up with the buttons passing the information back to whatever function that called for the pop-up.  An alternative is to use JavaScript's confirm(), it is quite ugly but way better than no confirmation at all.

I will work on Pop-up

Snackbar has been implemented as of PR #12
Confirmation dialog boxes have been added in PR #15


After adding RN Bars, items under the Android keyboard move up. Removing this package fixes the issue.

Bug summary
A bizarre bug occurs when installing RN bars. On my login screen, I have components that are spaced apart. On Android, this will move up the bottom component when the keyboard is presented. iOS is fine. I've tracked the issue to this package by starting a fresh React Native project and setting up just one screen with these packages.
I've followed the sets on both platforms to set this up. But at this time I've had to remove it to prevent Android from malfunctioning.
Here is a video on the behavior.
https://imgur.com/a/P0xmuKN
Library version
1.3.0
Environment info
System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.45 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.18.1 - /opt/homebrew/opt/node@16/bin/node
    Yarn: 1.22.18 - ~/.yarn/bin/yarn
    npm: 8.19.2 - /opt/homebrew/opt/node@16/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.3 - /Users/vikrampal/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8815526
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 18.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.70.6 => 0.70.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

…
…

Reproducible sample code
Video provided. A screen in a stack with two items spaced apart.

add this can Solve this problem
<StatusBar 					translucent={true} 					backgroundColor="transparent" 					barStyle="dark-content" 				/>

This quirk is now explained in the README


Allow linker override specifically for build scripts and proc macros

Problem
When cross compiling for a target that has the same architecture as the host, the build scripts and proc macros are compiled with the target linker. However, those builds are not meant to be run on the target!
In my use case, I was building on an x86_64-unknown-linux-gnu host with glibc 2.31, and the target environment was x86_64-unknown-linux-gnu with glibc 2.38, and a specific linker for this target.
The build scripts and proc macros were failing with dynamic linking errors, saying they couldn't find the correct libc version, because they had been linked with the target linker, not the host linker.
Proposed Solution
Allow the user to specify if they want to build the build scripts / proc macros with a different linker or not.
Notes
As a workaround, I used this rustc wrapper script, that will remove the -C linker=... arguments if the crate name is build_script_build, or the crate type is proc-macro

Could you provide reproduction steps to remove any chance of misunderstanding in what you are running into?
if I understand correctly, instead of saying cargo build --target <host>, you are doing cargo build and the linker flags are being applied to everything.  If so, is there a reason you can't use --target?
Also, if I'm understanding correctly, we have no mechanism to set the linker, so in the end, this is about setting RUSTFLAGS until and unless we expose the linker otherwise (see #12739).

Steps to reproduce:

Have a crate with a build script or proc macro somewhere in the dependency tree
Start a Debian 11 x86_64 container, and somehow install/copy GCC 12 on it
Build the crate with cargo build --target x86_64-unknown-linux-gnu, with GCC 12 as the linker for x86_64-unknown-linux-gnu in .cargo/config.toml
Behold: build scripts and proc macros fail to run, as they were linked with GCC 12, which links to glibc >=2.32, and Debian 11 only has glibc 2.31

So you are using --target , the cross-compiler linker is being used?  Is it being used with just cargo build as well?
#4423 is about something similar (RUSTFLAGS for build scripts) but specifically mentions that RUSTFLAGS is only applied to the platform-target builds and not the host-target builds.  So how are your host-target builds using GCC 12?  I wonder if rustc is using a system linker and somehow GCC 12 is being treated as the system linker.  If so, then likely the core of your problem is a system configuration problem, rather than #4423.
if somehow that can't be addressed and can only be solved in Cargo, then this is another version of #4423.  Closing in favor of that.  If there is a reason for us to keep this open separately, let us know!

Well my issue boils down to the fact that when target and host have the same triple, the target linker is used for build scripts, which only happens in this case. In a sense, this is the opposite of #4423? As, if I understand correctly, #4423 is about adding flags to build script compilation, and I want to remove some? Unless I did not read the issue far enough

I found an issue on the rust forums with the same problem that might be clearer as to what the issue actually is: https://users.rust-lang.org/t/same-arch-cross-compile-linker-mixup/82337


yum clean headers change breaks dnf compatibility

This change https://github.com/chef-cookbooks/yum/commit/121da3b48754cb082195fe114e897d9e1dcb7d3c which introduced a yum clean headers call in place of yum clean all has broken compatibility with dnf. We had been using this cook with dnf on fedora-22 for several weeks with no other issues, FWIW.
    docker: [2015-09-08T01:20:15+00:00] ERROR: yum_repository[fedora] (pantheon_package_repository::fedora line 8) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[yum clean fedora] (/opt/pantheon/infrastructure/cookbooks/yum/providers/repository.rb line 55) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
    docker: ---- Begin output of yum clean headers --disablerepo=* --enablerepo=fedora ----
    docker: STDOUT:
    docker: STDERR: Yum command has been deprecated, redirecting to '/usr/bin/dnf clean headers --disablerepo=* --enablerepo=fedora'.
    docker: See 'man dnf' and 'man yum2dnf' for more information.
    docker: To transfer transaction metadata from yum to DNF, run:
    docker: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'
    docker:
    docker: Error: invalid clean argument: u'headers'
    docker: Mini usage:
    docker:
    docker: clean [packages|metadata|dbcache|plugins|expire-cache|all]

yum clean metadata might be an acceptable compromise for yum and dnf? I'm not sure what the difference between metadata and headers is, though, and mostly just wondering if someone else already has a good answer here.

reverted and released as 3.7.1

A lot of yum stuff chef uses doesn't work with DNF, Chef has a pending fix for this https://github.com/chef/chef/pull/3774 to use yum-deprecated binary

e.g. https://github.com/chef/chef/issues/3613

A PR's going to be raised to use yum clean metadata instead.


[2.5]Backport-Add ability to set password for rancherd

Backport of https://github.com/rancher/rancher/pull/29909

https://github.com/rancher/rancher/issues/29530


Create carlos.json

hi @vinnyslins, thanks, but the tests are failing as the fail you provided is not a valid JSON file. Please remove the comments (whatever after the //) and i'll merge it once the tests pass.

nvm, fixed and merged #1


How to connect disconnected tf tress for panda and oak d lite

I am trying to send a pos command to Panda arm after detection using yolo4 spatial example, however I get this error  when I try transform frames

Here's my tf tree looks like

How do I connect to trees?

Hi, to connect camera to another robot you need to "link" the TF transforms, this can be done either in a launch file by specifying parent_frame argument (see this example), or by creating a combined xacro description for the whole system, more on xacro can be found here


Compute API v1: xxxResourceName.parse throws ValidationException

Currently all parse() methods in xxxResourceName classes expect that input string will be formatted like projects/{project}/..., but data returned from APIs contains URL prefixes like https://www.googleapis.com/compute/v1/projects/... and as result parsing fails with ValidationException.
Example
Receive instance details where:
instance.zone = https://www.googleapis.com/compute/v1/projects/project-123/zones/europe-west3-c

Then when trying to parse it with ProjectZoneName.parse(instance.zone) will cause the following exception:
ProjectZoneName.parse: formattedString not in valid format: Parameter "https://www.googleapis.com/compute/v1/projects/project-123/zones/europe-west3-c" must be in the form "projects/{project=*}/zones/{zone=*}"

@andreamlin I added priotity: p2 to remove the triage me label. Feel free to bump to p1 if you find it necessary.


[50 mBTC bounty] Fully implement Cryptopia API

I am offering a 50mBTC bounty for this.
At the moment, the Cryptopia API supported by XChange only has its market data service implemented.  It would be nice to complete it if needed and have its Trade and Account APIs implemented as well.

If you can up your offer to 100 I can start this tomorrow.  Estimate I'd have something ready for testing within 48 hours.

I need to control my global budget since I have some additional bounties to open here, but I can offer you 75mBTC total if you plan to start this early as you said, with immediate 35 mBTC transfer to whichever address you want as soon as you agree and the remaining 40mBTC once you are finished.
What do you think?

Ok, lets do that.

Ok great, please paste your btc address.

that's ok, pay me when its done and save some transaction fees.

@cymp the bulk of the work is done, i'll submit a PR tomorrow.  I'm just waiting on some funds to clear so I can test placing orders and trading.  It's taking forever.

There'll be a delay unfortunately. The work is done, bar some final testing but my home broadband isn't working and is showing no signs of being fixed :( Will push when I have some proper internet

@cymp #1723 has been submitted.  The cryptopia API isn't as fully featured as some others but I've implemented everything that fits into this project.
Have tested making orders, cancelling orders, getting trade history, account balances, wallet addresses etc.
Please take a look and test whenever your ready.
My BTC wallet address is 1K5dYadQBBkTR3L4RkktMiNaJbx8uRRyyq - sorry for the delay, had no internet for a few days.
Also, could you pay the remaining 10mbtc for the multi currency stuff?  I use it in my project and it seems to work well.

Thank you! I will test everything next week, but your 85mBTC payment (75 + 10 if I am correct) has been sent to 1K5dYadQBBkTR3L4RkktMiNaJbx8uRRyyq.

@cymp thanks very much, funds received.  Please let me know if anything isn't quite as expected.


Serverless DIH

yeahh// it's just a clickbait.
I just get known about stateless coordinator node  and decided that it might be useful for DIH.
TLDR;
introduce SolrCloudWriter with destination-collection parameter.
Context
Can't migrate out of DIH, attempting to run it in cloud (zk distributed Solr).
Problem
DIH runs in one or the replicas overload it and make cluster unstable.
Suggestion

provision coordinator only node as described in guide
hit it with search request for collection you need to index (let's call it A), it will bring up single shard .sys.COORDINATOR-COLL-configset-A collection.
deploy DIH with this fix applied into this collection (see README.MD), although it causes DIH deployed onto A as well, since they share the configset.
curl coordnode:port/.sys.COORDINATOR-COLL-configset-A/dataimport?command=full-import&writerImpl=SolrCloudWriter&destination-collection=A&..
voila! you have DIH run on coordinator only (stateless, I even may say serveless) node streaming updates onto a specified collection
You may even drop coordinator node now (just to prove my point about serverlessnes)
I suppose it even (should be) a kind of performant since it uses SolrCmdDistributor, which streams updates in parallel.
Now it heavily uses the schema sharing via ZK since both collections use the same configset, and avoid it won't be easy.

I'm leaving it as draft PR, until someone share some thoughts about it.

i think this is super fascinating ;-).   I wonder if having a .bats test to show all the steps would be interesting?  Like I did for https://github.com/apache/solr/pull/1999 ??   Also, if youi used a SolrCloudClient instead of Http2SolrClient, would that simplify some of the logic around slices and getting leaders?

Thanks, @mkhludnev .
I couldn't find a sample of constructing CloudSolrClient inside of Solr. It's used externally (not a surprise). Regarding bats, build scripts are far for maturity in this project.

So, here is another idea...    Could you provide a demo.sh script that walks people thorugh all the steps to use this?    I think a small bit of the challenge is that this uses a number of both new AND cool features of Solr...   I'd love to just do "demo.sh" and see all the stuff happening...

Thanks, @epugh . I couldn't find a sample of constructing CloudSolrClient inside of Solr. It's used externally (not a surprise). Regarding bats, build scripts are far for maturity in this project.

Also, CloudSolrClient usage could totally be an optimization later..   What's key here is making DIH work better with Solr ;-).

oh. cool. At least I'd like to cover all methods with tests. I'll check it during next week.

@noblepaul , all
let's name it
as for now we have
/dataimport?command=full-import&writerImpl=SolrCloudWriter&destination-collection=data

Are there any more elegant approaches rather than passing dedicated SolrCloudWriter (made by this PR)?
I'm bothered by destination-collection. Kebab-naming or CamelCase?

@noblepaul I'm done with the code. I'm open for suggestions regarding naming.

@noblepaul if you don't like SolrCloudWriter I can add SolrCloudSyncWriter which sends docs one-by one using SolrClient. Although I'm not sure how to pick a leader node.

we use camel case everywhere for instance
destinationCollection instead of  destination-collection

Thanks Michael

Oh cool. Thanks Noble. Looking forward to release.


Deep Water Slime

New Slime Suggestion
NOTE: If you wish to present more than one slime in this suggestion write each one in a comment and use the following structure
What will this slime look like?
A clear and concise description of what this slime will look like
What kind of slime is it?

[1 ] Ranchable Slime - A slime that can be ranched
[ ] Utility Slime - A slime that provides some functionality to the ranch
[ ] Pet Slime - A slime that can follow you around and do some tasks

Diet & Favorite Food
What kind of diet and favority food would this slime have?
Plort
What would be it's plort, does it have any abilities?
Yeah, it can make a slime swim under water
Favority Toy
Does it have a favority toy?
A octopus plushie
Slime Technical Sheet
Type

[1 ] Normal – Just your ordinay slime.
[ ] Mutation – Rare versions of other slimes, like the Albino which is a mutation of the Pink Slime.
[ ] Ancient – Slimes that have lived for a very long time, like the gold slime, it is an ancient being almost as old as the planet
[ ] Fossil – Slimes that can only be found as fossils (or in the case of the saber as descendants). It will be possible to use their DNA, from the fossils, to bring them back.
[ ] Godly – Slimes that have great power and can use some energy similar to magic. They are seen as gods by the other slimes as they keep the slime world alive with their energy.
[ ] Special – Slimes like the Tarr or Twinkle slime are seen as special cause they aren’t normal and don’t fit into any other category.

Mutation of what slime? (If you choose Mutation above)
Identify a slime that this is a mutation of, if it is a mutation of something previously suggested, say it is a suggestion given before
Behavior

[ ] Passive – Does not damage the rancher in any way. The aggitation will not cause difference in behaviours.
[1 ] Neutral – Might damage the rancher indirectly. The aggitation might cause aggressive behaviour similar to the rolling of the rock slime.
[ ] Aggressive – Attacks the rancher directly.

Risk for the rancher? (If you choose something other than Passive above)
What is the risk for the rancher? Directly or Indirectly
It can stick on players head, than kill him
Activity Pattern

[ ] Diurnal – Only survives in the light / during the day
[ ] Nocturnal – Only survives in the dark / during the night
[1] Metatunal – Survives in the Dark and Light
[ ] Crepuscular – Is active only during Dusk and Dawn. Disappears during the inactive time.
[ ] Matitunal – Is active only during Dawn. Disappears during the inactive time.
[ ] Vespertine – Is active only during Dusk. Disappears during the inactive time.

Can become a largo?

[ ] Yes - This slime can become a largo with any slime that normally can.
[1 ] Specific - This slime can only become a largo with specific slimes.
[ ] No - This slime cannot become a largo.

Largo Specification (If you choose specific above)
What are the slimes this slime can make largos with?
Pluddles, rocks, Rad, Crystal, because it lives under water
Location?
Either give a specific location or give an idea of places where it could spawn
You can find it in a new area, and it is like ocean slime, but player dont die when jump in it
Condition to find?
If this slime has a condition to find or see it, write it here
only under water
Environment?

[ ] Any Kind - Anywhere independent of the type of environment
[ ] Land – Anywhere on land, does not need a special condition for it
[ ] Water – Anywhere on water, does not need a special condition for it
[1 ] Deep Water – On water, requires a place where the water pressure is higher (deep water)
[ ] Lava – On land, requires Lava or a region that contains lava to survive
[ ] Arid – On land, requires a arid/dry zone to survive
[ ] Other - Make a suggestion of a new environment

Environment Specification (If you choose other above)
Specify the type of environment and talk a bit about it
Temperature

[ ] Cold – Requires cold temperatures (below 15°C/59°F)
[ ] Hot – Requires hot temperatures (above 30°C/86°F)
[ ] Moderated – Requires moderated temperatures (between 10°C/50°F and 35°C/95°F)
[1 ] Indifferent – It doesn’t matter the temperature

Vaccable?

[ ] Yes - Can be vacced normally
[1 ] Upgrade - Requires an upgrade to be vacced
[ ] Conditional - Can only be vacced under certain conditions
[ ] No - This slime can't be vacced

Vac Upgrade or Condition (If you choose Upgrade or Conditional above)
Explain what is the upgrade or condition for this slime to be vacced
Filter upgrade
Synergies
Can this slime synergize with another? If so provide a list of suggestions
Possible names for the slime? (Optional)
If you wish to, please give some names for this slime
Octopus Slime, Deep water slime, I really dont know
Additional context
Add any other context or screenshots about the feature suggestion here.

So you completely ignored two sections. What it looks like and what it eats. The sections you did fill out are neither clear or concise. And you put an 'x' in boxes. Not a '1'. Fix all these and I'll reopen the issue.


feat(Sorting): enable pre sorting in resolver

Queryables can now be pre sorted in the resolver

I'll check

@michaelstaib  IOrderedQueryable behaves not as one might expect.
IQueryable<Foo> t = new Foo []{}.AsQueryable();
t is IOrderedQueryable<Foo>// true
typeof(IOrderedQueryable<Foo>).IsAssignableFrom(t.GetType()) // true

The Problem
https://stackoverflow.com/questions/5071426/how-can-i-tell-if-an-iqueryable-is-an-iorderedqueryable/22012961

The problem with Entity Framework is that EF DbSet inherits from DbQuery which itself implements IOrderedQueryable! So your statement always returns true if myQueryable is an EF query but not sorted at all.

https://stackoverflow.com/questions/8507746/determine-whether-an-iqueryablet-has-been-ordered-or-not

This doesn't seem to work on a collection like dbSet.AsQueryable() as this will always return true on the is IOrderedQueryable check. – Juri Jan 23 '12 at 13:50

A solution

Yes you can inspect the IQueryable.Expression tree to see if it calls any of the OrderBy/ThenBy methods. Expression trees can be examined by deriving a class from ExpressionVisitor.

There is an internal OrderingMethodFinder in System.Web - which you could adapt. Here's what I came up with:
https://stackoverflow.com/questions/8507746/determine-whether-an-iqueryablet-has-been-ordered-or-not


Add import so we can use common GitHub workflow function.

PR Summary
Add import so we can use common GitHub workflow function.
PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Started a test run here:  https://github.com/PowerShell/PowerShell/actions/runs/1445978215


boards: arm: Replaces a non-working web link

The web link for the Attribution units is broken.
Replacing it with a working version.
Signed-off-by: Romit Dasgupta<EMAIL_ADDRESS>

Thanks @ioannisg.
I replaced the link in the other 5 boards.


feat: Select your agent component

Proposed changes

Added the <SetupYourAgent /> dummy component (pending integration).

Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

these buttons should probably always show, be clickable
if user lands on this page, but decides not to switch, they must switch to the other agent, then repeat the process to get back

if user lands on this page, but decides not to switch

IMO, the back button should handle that. We can pass the back navigation page as a prop. If something is already selected, it should navigate to the “Main” page; otherwise, it should go to the “Backup wallet” page. WDYT?

sure
would prefer enabling both options to not block user from their intention, but is minor
on props, i'd pass both back and next as this page will be used in 2 places


Tag Terraform AWS resources using a label module

Why
We need a way of tagging our AWS modules in a consistent way to help manage, organise, search for, and filter resources. The Cloud Posse Label Module is the most popular label module from the Terraform Registry and has great supporting documentation.
This will also help us start to think about defining other required environments: UAT, Production.
How

Create a label.tf file and create label modules for our AWS resources
Read through the Cloud Posse Label Module documentation for guidance on tagging strategies.  I.e: When should you define/re-use a label definition.
Tag required resources using created labels

Links

AWS Tagging Resources
Label modules from Terraform Registry
Cloud Posse Label Module

@paulgutman FYI, please could you add a comment on here as to what tags you would like to see on all beacon resources created within AWS

I think we should have the following tags
Service
Environment
owner
Where
Service is Beacons
Environment is Dev, UAT or Production
Owner - email address of the Beacons team
Happy to discuss

@paulgutman thank you, all that makes sense.
Currently, we have been using the environments: dev, staging and production. Do you have a preference of using UAT over staging - there's no additional effort at this point to change to using UAT if you would rather us?

No staging is fine 👍

From: Matthew Carr @.>
Sent: Wednesday, March 17, 2021 1:00:09 PM
To: mcagov/beacons-integration @.>
Cc: Paul Gutman @.>; Mention @.>
Subject: Re: [mcagov/beacons-integration] Tag Terraform AWS resources using a label module (#15)
CAUTION: This email originated from outside the UK Government. Do not click links or open attachments unless you recognise the sender and know the content is safe. Please use the Report Message function to report suspicious messages.
@paulgutmanhttps://github.com/paulgutman thank you, all that makes sense.
Currently, we have been using the environments: dev, staging and production. Do you have a preference of using UAT over staging - there's no additional effort at this point to change to using UAT if you would rather us?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mcagov/beacons-integration/issues/15#issuecomment-801061139, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS2CBJ5DP5UF5CNCKRQ4A4TTECRVTANCNFSM4W6GOYRA.

This email has been scanned by the BT Assure MessageScan service
The service is delivered in partnership with Symantec.cloud
For more information please visit http://www.globalservices.bt.com


Error: no auth mechanism defined

When loading this up for the first time I get the following error messages. My .env file seems to be filled out correctly.
< Error: no auth mechanism defined
<     at Auth.onRequest (/some/pathnode_modules/request/lib/auth.js:133:32)
<     at Request.auth (/some/pathnode_modules/request/request.js:1233:14)
<     at Request.init (/some/pathnode_modules/request/request.js:380:10)
<     at new Request (/some/pathnode_modules/request/request.js:129:8)
<     at request (/some/pathnode_modules/request/index.js:55:10)
<     at Function.get (/some/pathnode_modules/request/index.js:63:12)
<     at /some/pathlib/translator.js:35:13
<     at Object.isLang (/some/pathlib/translator.js:33:10)
<     at /some/pathlib/any_to_eng.js:34:18
<     at /some/pathlib/translator.js:57:25

It was working at one point without me changing anything, then it stopped. When it was working I was getting a different error:
TypeError: Cannot read property 'name' of undefined
    at replyToUser (/some/pathlib/message_handler.js:30:64)
    at Bot.<anonymous> (/some/pathlib/message_handler.js:25:15)
    at emitOne (events.js:96:13)
    at Bot.emit (events.js:188:7)
    at Bot.<anonymous> (/some/pathnode_modules/slackbots/index.js:59:18)
    at emitTwo (events.js:106:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver.ontext (/some/pathnode_modules/ws/lib/WebSocket.js:797:10)
    at /some/pathnode_modules/ws/lib/Receiver.js:473:18
    at Receiver.applyExtensions (/some/pathnode_modules/ws/lib/Receiver.js:360:5)

Strange, I recreated a new Microsoft application and updated the credentials and it works fine now. The 2nd error still stands

I get the same problem: Error: no auth mechanism defined.

The problem seems to be with the Azure Text Translation service. I haven't figured it out completely but currently I just get "no response" replies from the Azure end-points, event when I have an authorization token.

I also have this problem.
$ npm start

><EMAIL_ADDRESS>start /home/admin/bots/slack-traductor
> babel-node index.js

TypeError: Cannot read property 'name' of undefined
    at replyToUser (/home/admin/bots/slack-traductor/lib/message_handler.js:30:64)
    at Bot.<anonymous> (/home/admin/bots/slack-traductor/lib/message_handler.js:25:15)
    at emitOne (events.js:96:13)
    at Bot.emit (events.js:188:7)
    at Bot.<anonymous> (/home/admin/bots/slack-traductor/node_modules/slackbots/index.js:59:18)
    at emitTwo (events.js:106:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver.ontext (/home/admin/bots/slack-traductor/node_modules/ws/lib/WebSocket.js:797:10)
    at /home/admin/bots/slack-traductor/node_modules/ws/lib/Receiver.js:473:18
    at Receiver.applyExtensions (/home/admin/bots/slack-traductor/node_modules/ws/lib/Receiver.js:360:5)
(node:18736) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: no auth mechanism defined


Allow customizing kubelet resolvConf setting

Introduce the kubelet_resolv_conf variable. This allows to customize
which resolv.conf file is being used by kubelet when creating a new
pod.
This is especially useful on nodes running systemd-resolved, like
Ubuntu Bionic, where /run/systemd/resolve/resolv.conf may be used
instead of /etc/resolv.conf in order to avoid a DNS resolution loop
as described there: https://coredns.io/plugins/loop/

LGTM

thanks !


Make possible to use more than 1 constraint per scalar type

It's not possible to use more than 1 constraint per scalar type because wrap type name is fixed and will be saved to types map only once.
Changes:

generate wrap type name on the fly.

Seems TypeMap update isn't needed at all: https://github.com/alexanderVu/apollo-server-constraint-directive/commit/6e4bb8c367e96c36164dd48d2c4d20cd620430bc#diff-168726dbe96b3ce427e7fedce31bb0bcL77-L78


Generated file_view_hierarchy hitting line length limit

Using exhale on a rather large project and the generated file_view_hierarchy.rst and sometimes class_view_hierarchy.rst files are hitting the line length. I think this is because the raw html in the rst is not split into multiple lines for the return statement.

Therefore when generating the library_root.rst it will not display the nice drop down for each.
Note: Using a bootstrap theme.

Using exhale on a rather large project

I'm sorry for your build times and delayed response :no_mouth:

I think this is because the raw html in the rst is not split into multiple lines for the return statement.

I confess, any html or js created by my project lacks any actual knowledge of either language.
https://github.com/svenevs/exhale/blob/58c6c771fe021d7487644a30c2575b3fcf1ae94b/testing/tests/configs_tree_view.py#L107-L113
If you set minifyTreeView to False does it produce something functional?  I think that will make the page load time somewhat tragic, but exhale stumbles on large projects.  It sounds like I need to do something differently?  This should be fixable provided the rules are known :slightly_smiling_face:

Setting minifyTreeView to False removes the line-length-limit warning. The Class Hierarchy & File Hierarchy shows up in the docs.


The X line data sorted wrong which leads to an invalid graph

Describe the bug
The Line chart ( x Line ) gets sorted ASC by default, which leads to an invalid graph
To Reproduce
So for example I have the following set of data:
final data = [
  FlSpot(1, 1),
  FlSpot(3, 2),
  FlSpot(2, 4),
];

This will end up like the below because you sort the x line as ( 1, 2, 3 ) not as my array order ( 1, 3, 2 ) and there's no way I can prevent that from happening
The x line mostly represents a string like days, weeks, dates ...etc so letting the order to the developer is what should be.
So another example below, I want to get the past 7 days ( Sunday is 0, and Saturday is 6 ) so the order should be like below and this is the correct order as I see your comment about it on another issues same as this you tell to order it by yourself outside, ( but it's already ordered )
[
  0, // sun ( as today )
  6, // sat
  5, // thu
  4, // wen
  ...etc
]

Screenshots

I think it is related to #1393
I will close this issue and please provide me a reproducible code for the other issue.
Thanks!


Add support for Airbrake 5

At the moment, Slimmer attempts to call Airbrake.notify_or_ignore when
processing fails. The notify_or_ignore method was removed in Airbrake
5, which means that this fails in applications which use Slimmer and
Airbrake 5, which is most Rails 5 applications.
This adds a slightly more defensive check when attempting to notify
Airbrake, by confirming that Airbrake responds to notify_or_ignore.
If it doesn't, it checks to see if it responds to notify, and will
use that. If neither exist, it does nothing, as before.

Do we want to maintain two separate code paths? Does notify do something acceptable in pre-5?

We've decided to stick with Airbrake 4 for now so that we can keep deploy tracking working, so closing this for now.


Add optional approaches to region configuration (XLSX template, GUI)

The current approach to configuration involves editing a template YAML text file that contains a hierarchy of parameters, with descriptions and values for these.
Previously parts of the project had used an Excel xlsx file approach to make configuration easier for persons used to working in that format (e.g. here).  Other parts of the project used text-based approaches to configuration (e.g. here).  To simplify the approach for users, configuration was previously consolidated into the current approach.  However, this still has limitations.  For example, the formal requirements of YAML text entry (e.g. indentation, and spacing following colons) are not obvious to those not familiar with the format.
@eugenrb shared an updated Excel region configuration template that has been helpful for some regions, and the thought occurs that implementation of the option to load region configuration from an Excel file could be do-able in the short-medium term.   For example, when loading a region a check would be made to see if a .yml file were present and loadable for that region's codename; if not, an attempt would be made to do the same with an .xlsx file of that name.
In the medium term, it would also be desirable to have a GUI for region configuration within the GHSCI web app.  This would perhaps be most ideal, as feedback on validity of inputs could be provided to users in real time (e.g. path checking, correct type of inputs etc).  However, it will take more time to develop the code for this.
So, this issue has three parts:

[ ] optional configuration via xlsx template
[ ] optional configuration via GUI
[ ] option to export/convert configuration files between formats as an additional helper utility

As we discussed this week Carl, happy to assign myself to this.

Hi Ryan, happy for you to work on this; although I think we discussed that it might be good for you to specifically to focus on implementation of the new indicators you've been developing that make use of additional sources like Google Earth Engine.  That's a slightly different thing, and not necessarily straightforward either, so great if you could do that (happy if you want to make it an issue!).
Great if you want to work on this too of course, but given your work on the other indicators, it will be great to progress with a draft of how to integrate those into the workflow.

I see, apologies Carl, my misunderstanding. I'll make a seperate issue about integrating the new indicators and prioritise this.

I've implemented a sketch GUI for configuration -- not yet saving, but does the major aspect of providing a form that partitions up the configuration file for completion in logical steps.  A configuration can be read from and written to in memory, and basic validation has been implemented (and can be expanded on), e.g. a warning if end date for GTFS analysis is earlier than start date.  There are also some proof of concept linkages - e.g. if you select a country from a list, it will auto-populate the 2-letter country code saving someone looking this up.
To do
-[ ] expand look up table (e.g. include continent and income groups
-[ ] implement file picker
-[ ] use date picker for all dates
-[ ] implement more validation rules
Here is current look:

and for example, by select 'Sri Lanka', the country code was modified (as seen on right hand side below) to reflect this (although not yet the continent, but this could be done)

Users can skip between section headings
More work to be done, but its a proof of concept and broadly works.  Idea is to include this in the GHSCI app.


[5.6] Fix a unsuspected result from the split function in the Collection class

See: https://github.com/laravel/framework/issues/22090
This will change the result of the split function to return the requested amount of collections (except the total of items is less then the requested number)
Example
collect(['a', 'b', 'c', 'd'])->split(3);
// expected and new result
[['a', 'b'], ['c'], ['d']]
// result before this change
[['a', 'b'], ['c', 'd']]
It will change the split function and add 3 new tests to test some edge cases that are fixed with this change

Not going to change this on a point release.

Will you accept it on the master branch?

@taylorotwell Will you accept it on the master branch?


runtime: TestGcSys does not really pass, should be fixed or removed

The runtime test TestGcSys no longer tests anything.  The test simply checks whether the function GCSys in runtime/testdata/testprog/gc.go prints OK.  It currently passes because the helper function  workthegc is inlined and the compiler discards the allocation of the slice.  If I change the code slightly to add //go:noinline before workthegc, the test fails, saying using too much memory: 64086016 bytes (the exact number of bytes reported varies).
We should either discard the test or fix it so that it actually tests something about the GC.
(I noticed this because the test fails consistently using gccgo, which does not currently discard the slice allocation.)
CC @aclements @RLH

We still need to fix the test to actually test something, but at least it seems to pass now.


API for profiling non-Java apps

Background
async-profiler was designed for profiling JVM processes. Unlike traditional Java profilers, it monitors non-Java threads (e.g., GC threads) and also shows native frames in Java stack traces. async-profiler parses symbols from shared libraries and uses DWARF info for stack walking. Basically, async-profiler can already do much of what can be expected from a non-Java profiler.
Proposal
Given that async-profiler already deals with non-Java threads, it should be possible to make it work for C, C++ or Rust applications. Currently there are many dependencies on the JVM runtime in the code. The idea of this proposal is to factor out all JVM dependencies so that async-profiler will work with processes that have no libjvm.so loaded.
Since dynamic attach does work for native applications, the scope of this proposal is limited to the case when profiler is controlled programmatically from the process being profiled. Similarly to the existing Java API, there will be C API for using inside native applications.
API
typedef const char* asprof_error_t;
typedef void (*asprof_writer_t)(const char* buf, size_t size);

// Should be called once prior to any other API functions
void asprof_init();

// Returns an error message for the given error code or NULL if there is no error
const char* asprof_error_str(asprof_error_t err);

// Executes async-profiler command using output_callback as an optional sink
// for the profiler output. Returning an error code or NULL on success.
asprof_error_t asprof_execute(const char* command, asprof_writer_t output_callback);

Notes
All basic functionality remains the same. Profiler can run in cpu, wall and other perf_events modes. Flame Graph and JFR output formats are supported, although JFR files will obviously lack Java-specific events.

An experimental version is available in the native-api branch.

API and the implementation has been committed.
To use it in a C/C++ application, include asprof.h.
In addition, async-profiler can now be injected into a native application through LD_PRELOAD mechanism:
LD_PRELOAD=/path/to/libasyncProfiler.so ASPROF_COMMAND=start,event=cpu,file=profile.jfr NativeApp [args]

Is there any public documentation on using async-profiler for a rust program? I wasn't able to find anything in the wiki.

@AlJohri It's documented here in the issue. Async-profiler is not promoted as a standlone Rust profiler for end users - instead, it can be used as a library for developing profiling tools on top of it.
There are two ways of using async-profiler for Rust applications, they are mentioned above:

Start profiler programmatically from the application using the API;
Run application with the profiler enabled in the command line by means of LD_PRELOAD and ASPROF_COMMAND environment variables.


Documentation website is showing up blank

Documentation page is blank
To Reproduce. Steps to reproduce the behavior:

Go to https://github.com/bootstrap-vue/bootstrap-vue-next
Click on link "Documentation"
Redirects to https://bootstrap-vue.github.io/bootstrap-vue-next/

Expected behavior. A clear and concise description of what you expected to happen.
See documentation
Screenshots. If applicable, add screenshots to help explain your problem.
See white screen.
Console shows this:
Failed to load resource: the server responded with a status of 404 ()
app.3cd90746.js:1 TypeError: Cannot read properties of null (reading 'suspense')
    at setup (app.3cd90746.js:1:87399)
    at jt (app.3cd90746.js:1:18021)
    at bf (app.3cd90746.js:1:59630)
    at _f (app.3cd90746.js:1:59415)
    at H (app.3cd90746.js:1:46971)
    at X (app.3cd90746.js:1:46863)
    at b (app.3cd90746.js:1:43766)
    at Ss.A [as fn] (app.3cd90746.js:1:47946)
    at Ss.run (app.3cd90746.js:1:9381)
    at d.update (app.3cd90746.js:1:48217)
bd @ app.3cd90746.js:1
app.3cd90746.js:1 Hydration completed but contains mismatches.
u @ app.3cd90746.js:1

Environment (please complete the following information):

OS: Windows

author already given resolutioin on other simliar issue, now we have to open docs file in repo for reading.

Ah thank you!
It turns out to be a problem in VuePress. The maintainer of this site is moving the docs to Nuxt, so for the meantime there is this link:
https://github.com/bootstrap-vue/bootstrap-vue-next/tree/main/apps/docs/docs/getting-started
Or you can clone the repo and read the docs locally.

Gj


Laravel Validation

I'm trying to validate my form data, by making the field "name" and "phone" unique, i used the tutorial found here "https://skydiver.github.io/october-plugin-forms/docs/validation/validation/", but it simply doesn't work, i tried using the Key
as "name" and the value as "unique:martin_forms_records,form_data"  but it just allows the form data to be duplicated...

@tfprado Hey, i've created this issue, just so you know..

@Kusdrae sorry to hear that, I am moving right now so I have limited access to my computer, but I will try my best.
I forgot all the form data gets saved as JSON in the same column, that's probably what is causing the validation to not trigger.
You may be able to use this example
'form_data.name' => 'unique:martin_forms_records',

Another option would be to create your own validation rule
The final and clunkier option would be to hook into the martin.forms.beforeSaveRecord event (triggered right after the component validation)

@tfprado hmm, i tried using this way, still no success, but i'm still trying to figure this out.
HUGE thanks for answering me in such a short time, and doing it while moving. Wish you the best man!

@Kusdrae my pleasure! Glad to get you started, I believe the recent OctoberCMS update changed how validation works because I have had to modify a lot of my old form code. I am sure other people will have similar questions.
Here is an example of using the before-form event. You end up having to create your own plugin which is a little clunky.
I have switched to using my own custom components for forms, so I am not sure how well the ajax exception will work from the plugin boot method but here is the documentation
<?php namespace Author\Name;

...
use Martin\Forms\Models\Record;
use Event;
use Flash;
...

class Plugin extends PluginBase
{
    ...
    public function boot()
    {
        Event::listen('martin.forms.beforeSaveRecord', function (&$formdata, $component) {
              // You can query for all the models here (maybe you are using a particular group?)
              // and loop through their form data, return either ValidationException or AjaxException if
              // you want to send response content and updated partials as well
              $target = $formdata['name'];
              $records = Record::where('group', 'yourFormGroup')->get();
              foreach($records as record) {
                  if ($record->formdata['name'] == $target) {
                      Flash::error('Username already taken!');
                      // My code from a component, I have a flash partial in the component folder, you would need to add the
                      // markup either in your cms partials or the plugin
                      throw new \AjaxException([
                        '#flashMessages' => $this->renderPartial('@flash')
                      ]);
                      // OctoberCMS example
                      throw new AjaxException([
                          'error' => 'Not enough questions',
                          'questionsNeeded' => 2
                      ]);
                  }
              {
        }
}

@tfprado I tried using the whole "form_data" as the key, not just the name inside the form_data, but still no success..
I used it like this:
key: form_data       value: unique:martin_forms_records,form_data

@Kusdrae here is a better example. It's a little clunky but the only way I could get this to work.
You are going to overwrite the component default markup and use the same flash messages as the backend.
In my example, I created a folder in CMS partial section called 'devForm' (should be the same name as your component alias) with two files, default.htm (your form markup) and flash.htm. I also created a custom plugin (you can use scaffolding commands) and added the event code to the boot() method
flash.htm code (you can increase how long the message will show up for in seconds with data interval)
{% flash %}
    <p data-control="flash-message" data-interval="5" class="{{ type }}">
        {{ message }}
    </p>
{% endflash %}

Plugin.php code
class Plugin extends PluginBase
{
    ...
    public function boot()
    {
        Event::listen('martin.forms.beforeSaveRecord', function (&$formdata, $component) {
               // Change devForm to your component alias
              if ($component->alias == 'devForm') {
                $target = $formdata['name'];
                $records = Record::where('group', 'dev')->get();
                foreach($records as $record) {
                    // Use the function included in the authors model to get array of values instead of JSON
                    $data = $record->getFormDataArrAttribute();
                    if ($data['name'] == $target) {
                        // Add error message and render the partial to display it
                        \Flash::error('Name must be unique!');
                        throw new \AjaxException([
                            '#devForm_forms_flash' => $component->renderPartial('@flash'),
                        ]);
                    }
                }
            }
        }
}

Thank you very much for your help, i thought i could do this in a simpler way, because i'm still kinda new to October, so i don't think i'm going to use this solution, but man, HUGE THANKS to you, really, it means a lot to know that there are still people who are willing to go out of their way to help someone, really, thanks!

@tfprado Hey, i used a kind of "cheat" to be able to validate the form_data. So, when the data from the form goes to the database, every field goes into a string that's called "form_data", so i created a js variable that receives all the values from the inputs, and formats this variable exactly like the "form_data" in the database is formated. This solves one of the problems. If there's already a record in the DB that matches this variable, the form won't be submited, because it's not unique.. But if i want to create a new form, that wasn't in the DB previously, this new form passes the variable that "mimics" the form_data and passes this variable within the form data, so it's kinda duplicated.. Do you know if there's a way to use this variable to validate the form, but DONT pass it to the database ?

@Kusdrae Adding it to allowed fields in the component removes it before validation, so any solutions will involve a bit of extending the plugin.

You could try adding your own AJAX handler to the page PHP section that validates uniqueness, then calls the component onFormSubmit after removing the extra variable.
I would personally use the martin.forms.beforeSaveRecord event I mentioned.  You could validate the form using your variable then remove it from the input array before the form is saved.

I know you are getting started with OctoberCMS and it can seem overwhelming at first, but I would recommend getting the builder plugin so you can create your own plugin to extend magic forms using a visual editor.
If you don't have terminal/ssh access to your webserver you can also get developer tools plugin to help edit it.
I use these personal plugins to extend the functionality of 3rd party all the time, as it allows you to change plugin behaviour without having to worry about your changes disappearing in the next plugin update. You can use this method to hook into plugin events, add new form fields in the backend, extend/create new validator rules, etc.

Thank you very much for your help, really. You sir, are a god.

@tfprado hey, dont know if you can help me again, but anyway..
I have this form that i want to use PHP instead of Magic Forms, and i have this in the markup:
`

Contact Form - PHP/MySQL Demo Code

Contact Form

Name

Email

Phone

Message

`
and this on the code (in the same page):
`function kkk(){
if(isset($_POST['submit'])){
$con = mysqli_connect('...', '...', '...','...');
$txtName = $_POST['txtName'];
$txtEmail = $_POST['txtEmail'];
$txtPhone = $_POST['txtPhone'];
$txtMessage = $_POST['txtMessage'];
$sql = "INSERT INTO tbl_contact (Id, fldName, fldEmail, fldPhone, fldMessage) VALUES ('0', '$txtName', '$txtEmail', '$txtPhone', '$txtMessage');";
$rs = mysqli_query($con, $sql);
}
}
`
by the way i removed the db connection data for security reasons..
I don't know why it's not working..

@Kusdrae I would have to see your form code to know exactly what is wrong. Off the top of my head I would say your AJAX handler needs to be renamed (AJAX handlers need to start with 'on'), you need to make sure to call the correct handler on the form and you are using the wrong post variable.
Here is a simple example to get you started

@tfprado bro, thank you so much, you helped me so much, really. Wish you the BEST man!!!!!!!!!!!


Fix for windows boottime to convert returned string format to a times…

I noticed that wmic os get lastbootuptime returns a string format rather than a unix timestamp. Therefore I've modified the boottime method for Windows.

Coverage increased (+4.8%) to 100.0% when pulling d4948da5859e5d7b85bc7c70d8a0a48c9d0181f5 on senyahnoj:master into 8c08a1dd2c6c7a529d66369199ee139da6e3adf5 on marcioAlmada:master.

Coverage increased (+4.8%) to 100.0% when pulling 417180cca474d28949c7f96e2739c8b75e4e2877 on senyahnoj:master into 8c08a1dd2c6c7a529d66369199ee139da6e3adf5 on marcioAlmada:master.

thanks!


Voice Hat is not working after install on fresh raspbian (HACKING.md)

Hi,
I am following new HACKING.md for the Voice Kit on a fresh raspbian (RPI3 + Voice Hat), I did all the steps successfully until that arecord -f cd test.wav produced me an audio file without sound and aplay test.wav did not play any sound.
So I runned check_audio.py, it had the ERROR_NO_AIY_SOUND_CARDS error. After looking in the repository issues, I fixed by adding dtoverlay=googlevoicehat-soundcard to /boot/config.txt (#339)
Then I got the ERROR_NOT_A_FIRST_SOUND_CARD that I've fixed with commenting out dtparam=audio=on (#451).
Now I have no errors when running check_audio.py, but I still cannot hear the speaker or record audio... Everything seems also wired properly.
 Thanks!

check_audio.py runs microphone and  speaker tests as well. If you have no errors, does it mean that these tests work for you?

@gqoew Can you share the output of lsmod right after booting ?

@gqoew please reopen if that is still a problem for you.

I still have this issue. @gqoew Were you able to fix it? Thanks

@dmitriykovalev I have the exact same issue. Can you please help. Thanks

Same prob here. lsmod shows:
Module                  Size  Used by
bnep                   20480  2
hci_uart               36864  1
btbcm                  16384  1 hci_uart
serdev                 20480  1 hci_uart
bluetooth             368640  24 hci_uart,bnep,btbcm
ecdh_generic           28672  1 bluetooth
brcmfmac              307200  0
brcmutil               16384  1 brcmfmac
cfg80211              573440  1 brcmfmac
rfkill                 28672  6 bluetooth,cfg80211
snd_bcm2835            32768  0
snd_pcm                98304  1 snd_bcm2835
snd_timer              32768  1 snd_pcm
snd                    69632  3 snd_timer,snd_bcm2835,snd_pcm
uio_pdrv_genirq        16384  0
fixed                  16384  0
uio                    20480  1 uio_pdrv_genirq
ip_tables              24576  0
x_tables               32768  1 ip_tables
ipv6                  425984  42


Update licensing.md to remove Cloud trial link

Removing old Sourcegraph Cloud trial link

@madisongclark This may not be mission critical -- just trying to delete a link to an old subdomain, signup.sourcegraph.com, that we're taking down. I've also removed it on the notion side.


parse_dates changed to try_parse_dates in quickstart guide

The latest version of polars changed the parse_dates argument to try_parse_dates(https://github.com/pola-rs/polars/pull/6987). I updated the quickstart guide accordingly.

HI! We recently moved to a new framework (mkdocs). I have incorporated this change in PR #302


Fix make bundle command

Description
Currently make bundle fails with the error ->
/Users/lukas.hinterreiter/workspace/dynatrace-operator/pkg/api/v1alpha1/dynakube/dynakube_types.go:331:1: expected comma, got "." (at <input>:1:56)
/Users/lukas.hinterreiter/workspace/dynatrace-operator/pkg/api/v1beta1/dynakube/dynakube_types.go:71:1: expected comma, got "." (at <input>:1:56)

How can this be tested?
 make bundle \
  VERSION="1.1.0" \
  IMAGE="docker.io/dynatrace/dynatrace-operator" \
  TAG="v1.1.0" \
  OLM_IMAGE="docker.io/dynatrace/dynatrace-operator:v1.1.0"

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.01%.  Consider uploading reports for the commit 6ff25e5 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##           release-1.1    #3142   +/-   ##
============================================
  Coverage        67.01%   67.01%
============================================
  Files              265      265
  Lines            14450    14450
============================================
  Hits              9684     9684
  Misses            3924     3924
  Partials           842      842

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


Each kubernetes component's feature gate list is outdated

This is a Bug Report

Problem:
Each kubernetes component's feature gate list is outdated.
There is no feature gate newly proposed at v1.22 in the --feature-gates parameter.
Proposed Solution:
Generate those files? I am not sure about how to sync them.
Page to Update:
https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/
https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
...

/priority import-soon

/priority important-soon

This is a more general issue
/retitle Component reference docs not updated for Kubernetes v1.22 release
/triage accepted

There is a PR for a fix that is ready for review: #29242

Done.
/close

https://github.com/kubernetes/website/pull/29242#issuecomment-893482617
It seems that some components are still outdated.
(kubelet, kubectl)
/reopen

kubelet reference is not auto-generated ...
A manual fix is proposed in #29284

#29284 has been merged.
/close


Remove use of single vars in pattern matching

Since it's a guide, it's better to be explicit on what is each variable

Thank you @eksperimental, this is a great addition 👍


Question: Does chruby support to run global commands (installed by root)?

My use case: I usually install some useful gems with root user - for example: tmuxinator or rubocop so that I can use them for every project (with different Ruby versions) on Mac OS X. This setup works well with rbenv. Recently I switched from rbenv to chruby, however this setup works only if I use chruby system.
14:36:51 myproject (413cd1b:master) $ which tmuxinator
/usr/local/bin/tmuxinator
14:36:58 myproject (413cd1b:master) $ chruby
 * ruby-1.8.7-p375
   ruby-1.9.3-p551
   ruby-2.0.0-p648
   ruby-2.1.2
   ruby-2.3.0
14:37:03 myproject (413cd1b:master) $ tmuxinator version
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'tmuxinator' (>= 0) among 37 total gem(s) (Gem::LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
	from /usr/local/bin/tmuxinator:22:in `<main>'
14:37:22 myproject (413cd1b:master) ! chruby system
14:37:26 myproject (413cd1b:master) $ tmuxinator version
tmuxinator 0.7.1
14:37:30 myproject (413cd1b:master) $ cat /usr/local/bin/tmuxinator
#!/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
#
# This file was generated by RubyGems.
#
# The application 'tmuxinator' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'rubygems'

version = ">= 0"

if ARGV.first
  str = ARGV.first
  str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
  if str =~ /\A_(.*)_\z/
    version = $1
    ARGV.shift
  end
end

gem 'tmuxinator', version
load Gem.bin_path('tmuxinator', 'tmuxinator', version)

Is there any way to run those gems without installing them to all ruby versions?
Thanks.

Not really. chruby sets separate GEM_HOME/GEM_PATH per ruby. Also rubygems has this annoying behavior of generating an explicit #!/path/to/ruby for all gem bin files.

Thank you @postmodern.