Document the __RepoDb_OrderColumn within Extensibilities (InsertAll, MergeAll)

Linking: https://github.com/mikependon/RepoDB/issues/703

First column must always be the identity and second column is always the __RepoDb_OrderColumn (INT).

First column must always be the identity and second column is always the __RepoDb_OrderColumn (INT).


Fix import order in Python files

Description
Fix issue #418.
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have read the contributing guidelines
[x] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : make lint
[x] Typing passes successfully : make type-check
[x] Unit tests pass successfully : make tests
[x] Coverage is 100% : make coverage
[x] Documentation builds successfully : make doc

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

Project coverage is 100.00%. Comparing base (614293e) to head (167abff).
Report is 276 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##            master      #420    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           39        39
  Lines         4616      4895   +279
  Branches       487       496     +9
==========================================
+ Hits          4616      4895   +279

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


Field Unique accept NULL

I have a unique field and would like it to accept the null value .. when populated it would do the unique value check. Can someone help me?

Post your row

[DisplayName("RAC"),Size(6), QuickSearch,Unique]
public Int32? CodRac
{
get { return Fields.CodRac[this]; }
set { Fields.CodRac[this] = value; }
}

try to add notnull attribute and great news, i create a slack for disqus this questions and more.
#1782


Parameter p_stk_limit in function OSTaskStkInit()

I notice a parameter named p_stk_limit in function OSTaskStkInit(), but itseems useless. What is it used for? Redundant?

This parameter receives the value of the stk_limit argument when calling OSTaskCreate().
It is available for the port designer to use if the hardware has hardware stack protection.
Otherwise, it is not typically used.

Thank you for your reply!😄


Add "Find in Object Tree" to context menu in Editor

Is your feature request related to a problem? Please describe.
Locating a table or other object referenced in the SQL code in order to work with it can be daunting due to the sheer number of objects in the tree.
Describe the solution or feature you'd like
There's currently a "Go to Definition (F12)" in the context menu (which, BTW, doesn't work for the function I just tried). For a table, this opens a new editor window with a CREATE script for the table. Helpful for seeing the layout, but doesn't help with seeing the data.
I would like for there to be a "Find in Object Tree" (or whatever the correct wording would be) that would select the correct object in the object tree/list so that I can easily script it, redesign it, edit the data, or whatever other options are available. Would be nice if it worked for any object type (table, SP, function, etc.). I assume that if you can locate the definition for the existing F12 functionality, finding it in the tree is doable.
Describe alternatives you've considered
Add an option to search/filter the object tree for the name of the object I want to find. The filter option is available in SSMS. This still requires a lot of scrolling to get to the tree branch for the object type you want when there are tons of objects.
Additional context
Add the new Goto option just above or below the F12 option:

dupe of #22063


Inventory Compiler Crash - Pandas and Qvariant Object Issue

QGIS ver 3.16.10
CanFlood ver 1.0.2
Python ver 3.9.5
Pandas ver  1.3.0
PyQt5 ver 5.15.4
Numpy ver 1.20.2
xlrd ver 1.2.0
xlsxwriter ver 1.2.6
scipy ver 1.6.2
openpyxl ver 3.0.6
I was following along with the first tutorial in the CanFlood user manual, using the tut1 data  and when i got to the Inventory Compiler in the CanFlood Build Toolset (pg. 68), I hit the "Store" button and I got the following Python Error:

It seems like there is an issue with the to_replace parameter in Pandas, where it cannot except a Qvariant object in more recent versions of Pandas. Initially, I was using Pandas 1.3.0 (the latest version) and I so I tried to reinstall two older versions (1.2.3 and 1.1.3) but I got the same issue.

It looks like you're running some custom QGIS install.
Check your PyQT5 and pandas version against the requirements
I suggest trying the standalone QGIS 3.16.6 installer and seeing if that resolves your issue


SPIKE: Review NRM's Azure Files PoC results documentation and conclusions

Describe the issue
Review documentation covering NRM's Azure Files service PoC results
Additional context
Pretext to any evaluation on next steps for any possible prioritization on bringing this PaaS type service into Production (NRM likely to pursue this later this fiscal [21\22] or early next fiscal)
Definition of done

Review the material and conclusions and bring forward NRM's likely next steps to PO so as to pre-plan any possible action or prepare a response to them

No longer relevant


Issue with k8s.io/docs/tasks/access-application-cluster/web-ui-dashboard/

Change :
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/.
for
http://localhost:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard:/proxy/.

Hey @s0nny78, that appears to be valid as the deployment  specifies generating the certificate and uses service port :443 if following the instructions. Can you share a little more about your setup / environment / steps?

Mhm I see then.
My bad, I installed minikube on Mac OS and seemed the UI deployment was
already there so it refused the command :
kubectl create -f
https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
I then run the command :
kubectl proxy
And I was able to reach the UI through the URL without HTTPS in it.
Cheers
On July 3, 2018 at 9:32:58 PM, Jim Angel<EMAIL_ADDRESS>wrote:
Hey @s0nny78 https://github.com/s0nny78, that appears to be valid as the
deployment
https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
specifies generating the certificate and uses service port :443 if
following the instructions. Can you share a little more about your setup /
environment / steps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/issues/9373#issuecomment-402283978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQYxzkA1SBFtAnPPuiMfvm-2fium-rHjks5uC9T5gaJpZM4VBIIR
.


Clnt-31: Consume warnings / errors CSV

Tests not passing is because this a backwards-incompatible change and the hirundo-core PR (https://github.com/Hirundo-io/hirundo-core/pull/350) has not been merged (it was tested on test2, while the GitHub Actions here run on test instead) @mishana FYI


Saving TPF and LCF

This PR updates the saving of the TPF and LCF.

Created to_fits(), _make_primary_hdu(), _make_tpf_hdulist(), _make_lc_hdulist() and _save_hdulist(). These functions allow you to create an HDUList for the TPF and LCF, and optionally save to FITS.
Updated make_tpf() with option to save file.
Created make_lc() function to perform all steps to make and save a LCF.
Added step, vmin/vmax and default file name into animate_tpf().
Updated tesscube dependency ^1.0.5.
Updated and created new tests.
Updated README with new examples.
Bumped version number to 1.0.0.

Thanks @jorgemarpa ! I've made a few updates and responded to your comments. Let me know if you're happy and I'll merge the PR.


[tools-build.py]Enforce supported toolchains

by skipping unsupported combinations
before:
$ python tools/build.py -t IAR -m NRF51_DK --source . --build build
[SNIP]
Compile: us_ticker.c
  #error Compiler not supported.
   ^
"Z:\home\jimbri01\src\mbedmicro\mbed\hal\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\us_ticker.c",382  Fatal error[Pe035]: #error directive: Compiler not supported.
Fatal error detected, aborting.

  #error Compiler not supported.
   ^
"Z:\home\jimbri01\src\mbedmicro\mbed\hal\targets\hal\TARGET_NORDIC\TARGET_MCU_NRF51822\us_ticker.c",382  Fatal error[Pe035]: #error directive: Compiler not supported.
Fatal error detected, aborting.

Completed in: (8.96)s

Build failures:
  * IAR::NRF51_DK

after:
$ python tools/build.py -t IAR -m NRF51_DK --source . --build build
IAR::NRF51_DK skipped: toolchain not supported

Completed in: (0.00)s

Build skipped:
  * IAR::NRF51_DK

cc @bridadan @screamerbg

@theotherjimmy Should we merge this guy first so we can test with it before merging this PR?

Yes, that is a good idea.

LGTM


Discord invite not working

Which API Provider are you using?
OpenRouter
Which Model are you using?
Not relevant
What happened?
Unable to join Discord, the link does not accerpt invites - and there have been 0 commits over the last 2 weeks, something wrong, is @saoudrizwan okay? Was just worried that something else than a very good vacation / holiday have struck him :-)
Steps to reproduce

Click the link to invite

Relevant API REQUEST output
No response
Additional context
No response

Hey @zenturacp! Can you try the new link and see if it works for you? https://discord.gg/cline

I am unable to join the Discord.

Your Discord link is still down.


findDOMNode is deprecated in StrictMode

When I select a file I'm receiving this error message in the Console when run in React StrictMode:
Warning: findDOMNode is deprecated in StrictMode
See also: https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage

For those running into this issue, I solved this by updating react-s3-uploader to use a ref instead
https://github.com/skillrecordings/egghead-next/pull/1449/files


$$ should be listed under "element.all(locator)" instead of "element(locator)"

$$ is the shortcut for element.all (right?), but in the API documentation it's listed under "element(locator)", it would be more clear if it were under "element.all(locator)".

$$ is a shortcut for element.all(by.css(...)), not generic element.all.
This is slightly confusing, but those entries in the docs are actually describing the fact that you can chain element with $.
element(by.id('foo')).$('.myclass')
or
element(by.id('foo')).$$('.myclaass')
So it makes sense that they're listed under element. What we probably should do is highlight the exported globals ($, $$, browser, element, etc) in the docs somewhere).

Fixed


Utility to expose standardized breakpoints

Issue Description
It would be good to have a utility that provides access to the defined breakpoints.  Today this file seems to define them: https://github.com/cerner/terra-core/blob/master/packages/terra-responsive-element/src/breakpoints.scss
Issue Type

[ ] New Feature
[X] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
A utility could be imported to provide access to the enumerated standardized breakpoints.
Current Behavior
Doesn't exist to my knowledge outside the terra-responsive-element
Use Case
In the React Chart summary a user selects on a components section subheader (Conditions -> Nursing subheader or an Allergies -> View More row) to access the profile view of the component.  At larger breakpoints (browser, iPad) the profile opens leveraging the slide-panel-manager and displays the Master and Detail view of the profile/view_more view.  At smaller breakpoints (iPhone) the profile view opens and the detail view should not open as it would display over the master side of the slide panel.  Leveraging a response-element in this scenario feels like adding a lot of un-needed overhead.  A utility that provides access to the standardize breakpoints seems reasonable.

Resolved in #2018


[run] Drop dependency on quicktask?

Internet Explorer will finally reach its end of life in the next month.
Now that queueMicrotask() is widely implemented (including Node.js), can we consider dropping the library from the dependencies?

That would be great! In fact, I think we use queueMicrotask directly already in Cycle Neo, isn't it @jvanbruegge ?

yes, cycle/run has no dependencies

Sounds nice.
Do you think it's still reasonable to remove it from the dependencies before Cycle.js Neo arrives?
(I have no idea on its ETA)

Probably not worth evolving current cycle js before neo lands.

Okay, I'll close this then.
Can't wait for the Neo! 😆


Remove separate bodyParser middleware

No longer needed in Express 4.16 (see https://github.com/expressjs/express/releases/tag/4.16.0)

Closed via #295


feat(library/blast/arith): tools for arithmetic

No pressure to merge this yet -- there are a few commented-out sections, a few ugly proofs, and a few minor issues with TODOs. But, it passes all tests in Release mode. It is also fully rebased.

@dselsam This looks great!
A small comment -- our convention is to name a theorem A -> B as "B_of_A" rather than "A_of_B", so a few names in algebra/ordered_ring.lean are backwards. I'll be happy to rename things. Will anything bad happen if I do? (I.e. are any of the names hard-coded into the automation?)

@avigad Thank you for the feedback. I thought the takeaway from our last pull-request conversation was that I "write I see, left to right, ignoring ASTs", but I see it is more complicated than that.
I appreciate the offer to fix it, but then I'll never learn how the naming scheme works so I'd rather try to do another pass myself. Also, these names are used in the C++ code so several spots will need to change.

Yes, it was my fault. I was fixated on expressions and forgot about implications. The conventions are described here: https://github.com/leanprover/lean/blob/master/doc/lean/library_style.org, but the policy for implications isn't clear there either (I'll fix it).
Thanks for all the hard work. We're really excited about the automation.


Fix typos in README.md

Just a couple of typos. Not sure why the Paypal link at the end shows up as changed. Vim changed the line ending perhaps?

Looks like a line ending change to me; thanks!


fix(@angular-devkit/build-angular): ignore hidden inputs with hmr

Don't query for hidden inputs when using HMR

@alan-agius4 pushed the code to hmr-ionic-test
Basically what's happening is that you have the following  DOM structure

Where ionic components like Range and Checkbox will render a hidden input within the component. So at the time HMR grabs a snapshot of the outgoing DOM structure, it will grab those hidden inputs. which do nothing and are not something users can directly interact with
So as HMR grabs the snapshot, it could count 1 actual input, and one hidden input. But the hidden input within Ionic's process might not be available right away when the changes are applied, meaning there will be a mismatch in the number of inputs.

When hmr-accepts attempts to restore the values, with different input lengths it will noop out of the whole thing. Which in most cases, makes sense. But in this case, since the inputs are purposefully hidden and are not something that users can interact with, it's safe to ignore them.
You can see the dom changes yourself by setting a break point at restoreFormValues and inspecting the DOM

Done!


License in package.json and on repo disagree

Repo says its MIT, package.json says that it is GPL 3.

[![GPLv3 License](https://img.shields.io/github/license/kusti8/proton-native.svg)](https://github.com/kusti8/proton-native/blob/master/LICENSE)

The readme is still wrong


docs: remove markAllAsDirty in Material_plugins.md

related discuss: https://forum.babylonjs.com/t/doc-markallasdirty-is-unnecessary-in-material-plugins/29494

I think you should also update the example playgrounds to remove the reference and use markAllDefinesAsDirty instead.

I think you should also update the example playgrounds to remove the reference and use markAllDefinesAsDirty instead.

Oh, right !

@Popov72  Done?

That's ok for the PGs but you should also rename the pictures.
For eg, for #GC63G5#3, you should rename public/img/playgroundsAndNMEs/pg-GC63G5-3.png into public/img/playgroundsAndNMEs/pg-GC63G5-16.png.

@Popov72
Images are renamed.
I thought images are generated automatically by CI. 😂 So what if these images have to be replaced? Run build?
Maybe there should be some commit guides.
At the begining I modified the code within github directly. Later I opened a codespace. It would be sweet to make the process easily. As some are just typos or tiny updates like this one.

I think the picture is generated automatically locally, not on the build server: you would still have to commit and push it.
In the present case, as the PGs themselves have not changed, it's easier to simply rename the files.

@Popov72 Images are renamed.
I thought images are generated automatically by CI. 😂 So what if these images have to be replaced? Run build? Maybe there should be some commit guides. At the begining I modified the code within github directly. Later I opened a codespace. It would be sweet to make the process easily. As some are just typos or tiny updates like this one.

npm run build:local will generate the images.

Ready to merge?


Compilation error

Compiling D10.2.3
unit BigPi;
const MaxUnit64 = 18_446_744_073_709_551_615;
is not allowed
This line out

That is a new constant format introduced in a newer version of Delphi. I've commented it out for now.


[Feature Request] Great mod except placing bits can get annoying at times

A feature that allows you to place multiple bits at once would be extremely useful, like something how the regular C&B mod has.

added in 2.5.4


Version 3

Must enable more flexibility:

Add API-like architecture so to enable more score functions

Merged


Make file formatting comply with POSIX standards

UTF-8 without BOM is recommended for file formatting. This is the most compatible with various tools and also take up the least amount of space. The only files which had BOMs removed are C# files.
The POSIX standard for text files says that each text file should end with a newline, otherwise it is by definition not a text file. GitHub shows a warning when a file is committed without a terminating newline (see the "before" diffs of this PR), and Godot's script editor automatically adds them for files in Godot projects. See this SO question and this Unix SE question for more information.
I only changed the files for which I'm confident this is a good change, including C++ files, Java files, C# files, GLSL files, and other text files.

Thanks!


Add a test showing how having a scope defeats ChangeDependencyGroupIdAndArtifactId

The problem is in isDependencyTag(): it resolves the scope to compile
as it is not defined in the tag and compares it to the one from the
dependency management.
See https://github.com/openrewrite/rewrite/issues/1717

@gsmet I just added this via a commit 71e21e2273c299ca0620120794ba56397d54ddb1 to save you some time from rebasing (I also added a @Disabled to the test. I will be looking into this issue today). Thanks!:

Thanks! Happy to discuss things if something is unclear.


compile java8 for JS

There's a scalajs implementation for java.time.

Not all the required classes are implemented.


Add to mkdocs wiki plugin overview

Nice plugin!
I actually wish I'd discovered it earlier. Can I suggest you add the plugin to the overview here: https://github.com/mkdocs/mkdocs/wiki/MkDocs-Plugins. It will help visibility :)
Perhaps useful for this plugin as well, the approach I took is using mkdocs-macros to insert the output of some_click_command --help into my mkdocs folder. Relevant code bits:

mkdocs.yml section: https://github.com/ing-bank/doing-cli/blob/main/mkdocs.yml#L76-L79
env function: https://github.com/ing-bank/doing-cli/blob/cb76280ad0b2f30091dcd04a1737fa18e5a9428c/src/doing/utils.py#L219-L232
insertion into a .md page: https://github.com/ing-bank/doing-cli/blame/main/docs/reference/manual/list.md#L29-L33

It is there https://github.com/mkdocs/catalog#-api-documentation-building


What about MJX？

Mujoco has released the latest JAX-based GPU simulator MJX. Is this project considering adding it to compete with the abandoned IsaacGym?

Upgrading to MJX is on our radar. We are working closely with the MuJoCo team on the topic. We will slowly move the momentum towards MJX.
We are looking for OSS contributors, and usecases that will be high-value targets.


Resolve $file and $exec imports relative to wd and not cwd

Resolve $file and $exec imports relative to wd and not cwd
helpful tips from @lihaoyi :

https://github.com/lihaoyi/Ammonite/blob/master/amm/runtime/src/main/scala/ammonite/runtime/ImportHook.scala#L89
which for scripts is the path to the script itself, but for imports from the REPL are a synthetic thing
defined
https://github.com/lihaoyi/Ammonite/blob/master/amm/interp/src/main/scala/ammonite/runtime/Interpreter.scala#L214
which uses the wd currently hardcoded when instantiating each Interpreter...
there are multiple things called wd here :grinning: the thing internal to Interpreter, and the thingy
internal to ammonite.shell
First step would be to soft-code it and make it a var or Ref, then expose an Ref in ReplAPI where the wd can be changed from the REPL, then make the ammonite.shell code make use of that Ref to read/write the wd
and last step would be to handle the funniness and make sure sure the same absolute-file-on-disk doesn't end up being multiple logical-packages inside the Scala classpath; i.e. if you cd! after importing some script and import the same script again, it doesn't import the script as a whole new package
we already do that to import $file so different scripts can import different import $file.foo.bars or import $file.baz.foo.bar and get the same java package, since $file imports are relative to the script directory

some comments from @lihaoyi (not all addressed in this issue, but good context):
currently the wd variable is defined in the ammonite-shell package, which is a third-party thing, though there is also a wd inside ammRuntime Interpreter.scala that is used to resolve import $file.* calls

the correct thing to do would be to expose the Interpreter's `wd` as `interp.wd: Ref[Path]` in the REPL and make it settable, and then have the ammonite-shell cd! function update it

This is now moot since ammonite-ops has been EOLed


Create or access an IBM Cloud Kubernetes cluster

https://www.kubeflow.org/docs/ibm/create-cluster/

@habmat What's the issue here?


Put Dropdown docs in MDX file

Is your feature request related to a problem? Please describe.
Dropdown component needs an MDX file for documentation.
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
N/A
Priority
High
To Reproduce
N/A
Screenshots
N/A
Environment (please complete the following information):
N/A
Additional context
N/A

merged in with #249

merged in with #249


Doesn't work with Django 1.8

When I try to use this with Django 1.8 or even 1.7 I cannot get blog enteries to display. It apparently displays the skeleton and base templates but then when I have an entry and click it, the entry does not appear.
Just Useful Links and Search appear.
http://lodiharrisvillehistorical.org/blog/

Hello,
I have just tested with a recent version of Django, and everything works fine.
In your case, it seems that the view is correct, but the loaded template, is not. The content and title blocks are not filled by example.
Do you use custom templates ? I will close the issue until more informations.
Regards


[Feature] When only one shortcut is present, skip the shortcut menu

Describe the feature
If the person only has one shortcut set, the Shortcuts button would be replaced by that shortcut, instead of opening a menu.
Additional context
Right now it seems that we are forcing the person to click one extra time if they just want to have one shortcut (for example a certain hashtag).
I think we could even use the logo/icon for that certain shortcut, instead of the thunderbolt.
Thanks!

Btw I can try to contribute with this! :)


resolve_resource_file core compatibility

With neon, ovos, chatterbox, and mycroft (or holmesV) cores now installable as different packages, resource files have more locations to be bundled. resolve_resource_file currently checks for mycroft defaults.
A few potential solutions come to mind:

maintain a list of known packages to check in the path
accept some param in resolve_resource_file to specify a root path (or package name to locate in the path)
specify that each core extends resolve_resource_file somewhere and import that method (makes modules less universal)
add some search logic to find arbitrary res directories in some set path(s)

New situation to consider here: I modified yes.voc in neon_core, but this is generally not used since it exists in mycroft/holmesV. Do we want to allow for overloading vocab and merge them together? Or spec priority order somehow?

proposed order, until one is found:

fully qualified file / full path
xdg path for user defined overrides
list of locations passed to the method (optional)
look in bundled ovos_utils resources
look into ovos_workshop if its installed (meant for ovos skills/templates)
detected core res folder (ovos/chatterbox/neon change this value)

when checking folders we can also:

look into snd subdir if file is mp3/wav
look into text subdir if file is txt/voc
look into lang subfolders

That order makes sense to me, except I would put core/res above ovos packages to prevent the possibility of a dependency breaking core behavior (ovos_utils adds a new res and the core res is no longer matched).. I think a simple log of which absolute path was matched would be immensely helpful for debugging too.

part of the purpose of ovos utils is to override mycroft-core resource files, the use case you describe really should use the resolve_resource_file method from core, not from ovos_utils

Hmm, I guess from my perspective, ovos_utils vocab is essentially equivalent to mycroft-core in terms of priority and neon-core is a higher priority than those. I could see the argument for overriding resolve_resource_file in neon-core to work around this, but I also don't particularly like overloading that function name so much since it makes code less clear; it would be better IMO to have all modules (skills, speech, etc) import the same method from ovos_utils.

in that case you could use the arg for extra paths to define a high priority neon path
without doing that it is considered a "OVOS resource file", if the underlying core finds this unacceptable and there is chance of breakage with a next version, then that core either should not use this method (use its own) or pass the paths as described above

in that case you could use the arg for extra paths to define a high priority neon path

That sounds fine to me; really, this only comes up in one or two places (MycroftSkill.voc_match specifically is where I have trouble with added vocab and I know the relative path I want to check first there).

Regarding naming, would it make sense to refactor the method name here while we're making these changes? Main reasoning is that this will often be used in environments with mycroft.util.resolve_resource_file also available and used within packages. Choosing a different name makes it obvious in a terminal/editor, etc. which method is being used..
Minor annoyance though, so this might not be worth the refactor.

i forgot about resolve_ovos_resource_file
indeed resolve_resource_file is meant to be equivalent to mycroft version, so im unsure whats the best approach now?

I think depreciating resolve_resource_file in ovos_utils makes sense (log a warning and call whatever new method until the next minor version to avoid breaking things).. As far as a new method name, I don't have any strong preference... Few that come to mind:
locate_resource/locate_resource_file
find_resource
resolve_generic_resource
search_resource

From OVOS dev chat:

add xdg locations to HolmesV -> holmes.conf defines xdg folder -> skills find user resources in those locations
allow adding new paths (can be per core) in holmes.conf -> skills find per fork dedicated locations
general ovos_utils sprint to support holmes.conf and XDG, it is behind in both these things!


subsampling

Can we help?

ImportError                               Traceback (most recent call last)
 in
2 import glob
3 import os
----> 4 from cellphonedb.utils import db_utils
5 db_utils.create_db("/group_homes/public_cluster/home/u37189/Project/20230102_smell_loss/cellphoneDB/out_total_repository/cellphonedb_user_2023-03-09-21_21.db")
ImportError: cannot import name 'db_utils' from 'cellphonedb.utils' (/home/miniconda3/envs/cellphonedb/lib/python3.7/site-packages/cellphonedb/utils/init.py)

ImportError: cannot import name 'db_utils' from 'cellphonedb.utils'

but ,this works well

It seems you have installed python 3.7, as noted in the documentation CellPhoneDB requires python 3.8 or higher.
Try again python 3.8.

thanks, Encountered new problems

Do you have the uniprot_synonyms.tsv in the sources folder?


UnicodeEncodeError 'ascii' codec can't encode characters in position

Adding none-ascii characters, in add link title causes UnicodeEncodeError exception.
Update: I can reproduce this on live demo on Mezzanine project, do not know how this could happen? Maybe a problem with Django 1.7 or something wrong with my setup?
I cloned Mezzanine from github, so anyone can check this please?
--
UnicodeEncodeError at /admin/pages/link/add/
'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
Request Method: 	POST
Request URL: 	http://<IP_ADDRESS>:8001/admin/pages/link/add/
Django Version: 	1.7.8
Exception Type: 	UnicodeEncodeError
Exception Value:
'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)

Perhaps something to do with your locale?
On the mailing list I searched for UnicodeEncodeError and found a few helpful pointers.
I also tried creating a link using Django 1.7.7 and Python 2.7 with a recent copy of Mezzanine using āēīōū in the title and it worked ok.
When I type locale in my terminal I get these two ....
LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en
Cheers
g

In addition, I would also check the encoding of your database to see if it match the one of your system.

Can't reproduce either and confident it's a locale issue - closing, but please post the solution.

Hi @stephenmcd
I was able to reproduce this with this config.
Mysql as backend and collation utf8_general_ci for db and tables.
May you please check this again?

What's your OS locale? Can you reproduce with Postgres or sqlite?

I did not checked with postgres, but sqlite works correctly, no errors.
As for locale, I followed http://itekblog.com/ascii-codec-cant-encode-characters-in-position/ to change locale, with no success. I am on OSX 10.7
getlocale: (None, None)
getdefaultlocale(): ('en_US', 'UTF8')
fs_encoding: utf-8
sys default encoding: ascii

Thank you @orotau , I have done all that settings in .bash_profile & .bashrc with no success.
export PYTHONIOENCODING=utf-8
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8"

Update: I have tested this with postgres backend, and there is no error, so it is specific to MySQL backend. May anyone check this with mysql backend?

Perhaps this thread could be useful?
http://stackoverflow.com/questions/1168036/how-to-fix-incorrect-string-value-errors
especially this http://stackoverflow.com/a/11013986

An other way, if you just want to prevent the error from happening and not mess with your locales is to use the SLUGIFY setting.
Use something like django.template.defaultfilters.slugify and it will convert your slugs to use only ascii characters, thus preventing the error when storing the data in the database.

Thank you @Kniyl for the update, I have used mozilla's slugify in other project and work fine.
I wonder why this just happens when adding link as adding page with none-ascii character works and slug created correctly. So I think this could be bug in code, don't know why and where now, but it just happens to links.
Any test with mysql backend from a professional contributor appreciated.

Traceback:
Environment:
Request Method: POST
Request URL: http://<IP_ADDRESS>:8001/admin/pages/link/add/?parent=9
Django Version: 1.6.11
Python Version: 2.7.1
Installed Applications:
(u'mezzanine.boot',
u'django.contrib.auth',
u'django.contrib.contenttypes',
u'django.contrib.redirects',
u'django.contrib.sessions',
u'django.contrib.sites',
u'django.contrib.sitemaps',
u'django.contrib.staticfiles',
u'mezzanine.conf',
u'mezzanine.core',
u'mezzanine.generic',
u'mezzanine.blog',
u'mezzanine.forms',
u'mezzanine.pages',
u'mezzanine.galleries',
u'mezzanine.twitter',
u'debug_toolbar',
u'filebrowser_safe',
u'grappelli_safe',
u'django.contrib.admin',
u'django.contrib.comments')
Installed Middleware:
(u'django.contrib.sessions.middleware.SessionMiddleware',
u'django.middleware.locale.LocaleMiddleware',
u'django.contrib.auth.middleware.AuthenticationMiddleware',
u'django.middleware.common.CommonMiddleware',
u'django.middleware.csrf.CsrfViewMiddleware',
u'django.contrib.messages.middleware.MessageMiddleware',
u'mezzanine.core.request.CurrentRequestMiddleware',
u'mezzanine.core.middleware.RedirectFallbackMiddleware',
u'mezzanine.core.middleware.TemplateForDeviceMiddleware',
u'mezzanine.core.middleware.TemplateForHostMiddleware',
u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware',
u'mezzanine.core.middleware.SitePermissionMiddleware',
u'mezzanine.pages.middleware.PageMiddleware',
u'debug_toolbar.middleware.DebugToolbarMiddleware')
Traceback:
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
112.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
465.                 return self.admin_site.admin_view(view)(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
99.                     response = view_func(request, *args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
52.         response = view_func(request, *args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
198.             return view(request, *args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/pages/admin.py" in add_view
99.         return super(PageAdmin, self).add_view(request, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
29.             return bound_func(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
99.                     response = view_func(request, *args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
25.                 return func(self, *args2, **kwargs2)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/transaction.py" in inner
371.                 return func(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/contrib/admin/options.py" in add_view
1164.                 self.save_model(request, new_object, form, False)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/pages/admin.py" in save_model
158.             obj.save()
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/pages/models.py" in save
86.         super(Page, self).save(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/core/models.py" in save
397.         super(Orderable, self).save(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/core/models.py" in save
240.         super(Displayable, self).save(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/core/models.py" in save
85.         super(Slugged, self).save(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/core/models.py" in save
58.         super(SiteRelated, self).save(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/core/models.py" in save
136.         super(MetaData, self).save(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/mezzanine/core/models.py" in save
195.         super(TimeStamped, self).save(*args, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/base.py" in save
545.                        force_update=force_update, update_fields=update_fields)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/base.py" in save_base
572.                 self._save_parents(cls, using, update_fields)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/base.py" in _save_parents
597.             self._save_table(cls=parent, using=using, update_fields=update_fields)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/base.py" in _save_table
654.             result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/base.py" in _do_insert
687.                                using=using, raw=raw)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/manager.py" in _insert
232.         return insert_query(self.model, objs, fields, **kwargs)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/query.py" in insert_query
1514.     return query.get_compiler(using=using).execute_sql(return_id)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/models/sql/compiler.py" in execute_sql
903.             cursor.execute(sql, params)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/debug_toolbar/panels/sql/tracking.py" in execute
159.         return self._record(self.cursor.execute, sql, params)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/debug_toolbar/panels/sql/tracking.py" in _record
101.             return method(sql, params)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/backends/util.py" in execute
69.             return super(CursorDebugWrapper, self).execute(sql, params)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/backends/util.py" in execute
53.                 return self.cursor.execute(sql, params)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/django/db/backends/mysql/base.py" in execute
124.             return self.cursor.execute(query, args)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/MySQLdb/cursors.py" in execute
187.                 query = query % tuple([db.literal(item) for item in args])
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/MySQLdb/connections.py" in literal
278.         return self.escape(o, self.encoders)
File "/Users/behzad/sites/env/meztest/lib/python2.7/site-packages/MySQLdb/connections.py" in string_literal
203.                 return db.string_literal(obj)
Exception Type: UnicodeEncodeError at /admin/pages/link/add/
Exception Value: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)

I've reproduced this with MySQL and correct locale configured, apologies for the incorrect analysis earlier.
The problem lies in generating the description field - for most Page classes, this comes from the content field, which the Link model does not contain. So it ends up grabbing its description from the title, which goes through a different code path, and in that case ends up incorrectly encoded.
You can see the fix in: 82866e1bd8d65842535f55da3d04f469055465bd

Thank you @stephenmcd for the fix and update.

http://stackoverflow.com/questions/28544686/unicodeencodeerror-ascii-codec-cant-encode-characters-in-position-0-5-ordin/33030458#33030458


Verifying Signature

I've created the signature and I'm sending it over but it's saying it's invalid.
I've tried to verify the signature using the function example you provided however I'm unsure about some of the variables, namely does Idempotency-Key need to be the same as the one used to create the signature and what should Correlation-Id be? The signature?
Also do you replace User-Agent?
Hope you are having a fantastic holiday & you and your family are keeping safe!

Hello! The signing libs will create a signature for method + path + body + headers, the verifier will ensure these match.
So when sending you must ensure everything you passed to the signer matches exactly the actual request. In particular that the body is exactly the same bytes.
For verifying it simply needs to be fed the info it received along with the signature and it can use the public key to verify. You can add all headers received to the verifier, though it only needs the headers that were actually signed (not all header are required to be signed, only particular ones).

namely does Idempotency-Key need to be the same as the one used to create the signature and what should Correlation-Id be? The signature?

So yes you must send the headers you sign, and to verify them they must be passed to the verifier (note: you don't generally need to care about verifying as a sender). I believe Correlation-Id was just used as an example of a header. There are no special headers for signing, required headers will be described in the individual resource documentation.
Hope that helps! If not, can you describe your usage in more detail?

I'll close this for now. We can of course re-open with more info.


Wrong local time settings on jails configured with -m null -M /path

If you create a jail using just the commands listed in poudriere(8), namely:

/usr/src# make installworld DESTDIR=PATH DB_FROM_SRC=1
/usr/src# make distrib-dirs DESTDIR=PATH DB_FROM_SRC=1
/usr/src# make distribution DESTDIR=PATH DB_FROM_SRC=1

The jail will work but will very likely have a wrong local time setting and the created packages will have timestamps in the past or the future depending on where you are on the globe.
The poudriere(8) manual page should have at least one more step in the instructions to point out that it's necessary to set /etc/localtime properly for the new jail, for example:

tzsetup -C /path/to/jail Europe/Helsinki

Hmm, this would need to be in jail_startup and potentially copy the settings from the host.


Starlay_finance.md

Grant Application: Starlay Finance

Thank you very much for your application. I want to support this proposal in general. The grant amount can be discussed with other curators.

@Chidasan Hello!
Please take a look on Markian's and Michael's comments above, thank you 🙏
Could you remove the Audit part from your application?

Thanks all for your valuable reviews! I've removed the audit entirely from the application. I would appreciate it if you could take another look! @mike1729 @0xMarkian

Hey @Chidasan, perhaps I missed your answer. Have you explored sol2ink? I am quite confident that the development time and consequently cost can be significantly reduced. Feel free to reach out to me for further clarifications - @OxMarkian on telegram

Thanks all for your valuable reviews! I've removed the audit entirely from the application. I would appreciate it if you could take another look! @mike1729 @0xMarkian

Hey @Chidasan, perhaps I missed your answer. Have you explored sol2ink? I am quite confident that the development time and consequently cost can be significantly reduced. Feel free to reach out to me for further clarifications - @OxMarkian on telegram

Thanks all for your valuable reviews! I've removed the audit entirely from the application. I would appreciate it if you could take another look! @mike1729 @0xMarkian

Hello @OxMarkian, thank you for your suggestion about sol2ink. While we appreciate your input, there are a few considerations we’d like to share:

Since it has been over a month since we wrote our proposal, most of the base development work has already been completed from scratch, meaning the potential to save on costs at this point is limited.
We have experimented with sol2ink in the past but encountered errors that prevented us from fully utilizing it. We are currently seeking detailed examples from our dev to help resolve these issues. Also I invited one of our dev to our private group to discuss the implementation of sol2ink to our protocol.
Taking into account the aforementioned factors, we believe that sol2ink might not be suitable for our basic functions. However, we are open to considering its use for future developments, like Flash loan features, which are likely to arise.

We hope this clears up our stance on the matter. Please feel free to reach out if you have any further queries or suggestions.

Hi @Chidasan, following up on our private conversation, I think Sol2Ink could be used to optimize your further work and reduce the manual work you must do. Regarding the problems you had, we have updated the docs to guide users on unexpected events (such as yours) when using Sol2Ink.

Hi @Chidasan, following up on our private conversation, I think Sol2Ink could be used to optimize your further work and reduce the manual work you must do. Regarding the problems you had, we have updated the docs to guide users on unexpected events (such as yours) when using Sol2Ink.

hello @Chidasan
Congratulations! We are thrilled to officially welcome you to the Ink!ubator program!! We can't wait to see the remarkable contributions you'll bring to the ecosystem.
In terms of the next steps, we are eagerly anticipating your first delivery, which is due in 3 weeks. When it’s ready, please create a PR here - https://github.com/use-inkubator/Grant-Milestone-Delivery
If you have any questions, concerns, or if you just want to brainstorm ideas, don't hesitate to reach out. We encourage you to utilize our Element channel for any inquiries - https://matrix.to/#/#sm-bounty-support:matrix.org
As you join the Ink!ubator family, please remember that you are not alone on this journey. We are here to support you every step of the way. We believe in your potential and we can't wait to see where this journey takes us all.
Congratulations once again and welcome aboard!

Hello @TtomaS7
Thank you for the warm welcome! We are equally excited to be part of the Ink!ubator program.
I'm delighted to share that we have just submitted our first milestone delivery (https://github.com/use-inkubator/Grant-Milestone-Delivery/pull/2). You can review it at your convenience.
On another note, have you decided on the audit firm yet? Is there anything we need to do from Starlay's end regarding the audit?
Once again, thank you for having us on board.

Thank you so much for your prompt response! I'll relay this information to the curators without delay.
As for the audit, we'll make sure to provide you with updates as they become available. Please note, however, that it's crucial for all deliveries to be accepted prior to the initiation of the audit.

Hi @TtomaS7,
I hope this message finds you well. Just to bring to your attention, we submitted the Milestone 1-1 two weeks ago, and it is still under review (https://github.com/use-inkubator/Grant-Milestone-Delivery/pull/2)
We would greatly appreciate if you could provide us with any updates or feedback on the review progress.
Also I'd like to share that we have just submitted our second milestone delivery (https://github.com/use-inkubator/Grant-Milestone-Delivery/pull/3)
Please review at your convenience.
Thank you for your time and attention.


Update Kafka to <IP_ADDRESS>

Hi Emanuele,
I did some work to upgrade the Kafka version to <IP_ADDRESS>. I also got rid of some deprecated JavaConversions calls, and simplified the consumer configurations. The way that hosts and ports are configured has changed, so I moved over to the recommended "listeners" and got rid of the old "port" and "host.name" properties.
Let me know what you think.
Cheers,
Ben

Thanks! Released 0.15.0


Need to change LUCI Global Object path

Hi,
I am playing with LUCI for last couple of months. I have prepared unique LUCI UI then conventional UI that are available on the web. As part of my explore, I have prepare two LUCI work space in same router.
They will share same config & other common resources. I am using uhttpd. Two Luci work spaces are separated through port.
I can access first LUCI work space smoothly but I can reach upto cgi.lua in the 2nd LUCI work space ( /usr/lib/lua/luci1). My problem is, After accessing 2nd cgi.lua ( /usr/lib/lua/luci1), controls back to the first LUCI ( /usr/lib/lua/luci) as Global LUCI is pointed to first LUCI ( /usr/lib/lua/luci) work space.
I need to change the Global LUCI object pointing to /usr/lib/lua/luci1 instead of /usr/lib/lua/luci when I will access the LUCI1.
I have tried to explain my problem. Please let me know if something still un clear.
Thank in advance.

@raihanhbh I'm afraid this is a completely unsupported usage and unless you can find others interested in to same problem (for example on the forums), you'll have to rethink your design.


Reword the "expression too complex" error not to blame the user.

It's not you, it's us. We shouldn't tell the user their code is too complex, and "solve" doesn't mean anything to them in this context. Make it clearer this is an implementation limitation.

@swift-ci Please smoke test

@jrose-apple How does this sound to you?

the compiler is seems redundant since we know the message is coming from the compiler.  unable to typecheck... seems concise and gets the message across

A classic error though; I'll miss its capricious appearances.

@xwu Well, it's still on us to eventually make this error completely unnecessary…

Good fix. In a moment of frustration, anything to help defuse the issue of what is going on is helpful to get the user out of anger mode and back into problem solving mode.
Beyond overall just working on making the compiler able to handle complexity, specific user-achievable fixes would be appreciated.
This is especially true for people without CS degrees and for people whom Swift is just one of many languages they have to do their job in. Sometimes, the issue is they don't understand parsing well enough to begin to fix this error, so randomly go around changing things trying to make it work.
More information or tooling on specific solutions would go a long way. Here are some rough examples you might use to do this.

Line 56:  The number of inferred types in this {closure/declaration/generic function} results in (1,329,223 combinations). The current limit of swiftc is roughly 64,000 combinations.  Annotating all of the following expressions with explicit types would cut down the number of combinations to a level likely less than the current limit:
-Line 56:84: (180 * another_number) + a_number * a_possible_float
-Line 53:6: let a_number = a_generic_function()

Line 56: This line requires more combinations of possible types than the compiler currently will perform. Use swiftc --annotate-holes to add placeholders to the file for user-specified types to make the line understandable to the compiler.

Line 56: The expression is inferring 12 types. Please specify 3 or more of them. Use swiftc --breakup-complex-expressions to breakup the expression into subexpressions which you can manually type to get past this error.

Line 56: The expression is inferring 12 types. Please rewrite the expression in more lines with more explicit types. .

If I'm grammar-nitpicking, I'd say I'd prefer the past tense of the original ("was" instead of "is"), and the second "the expression" should just be "it" ("try breaking it up…").
Per @kdawgwilk's comment, I actually like having "the compiler" in there, even if it is redundant and makes the message longer. It underscores the part you're trying to get across, that it's not an inherent limitation of the language.
I like the idea behind @langford's further improvements but I think that can be separate PRs, and probably needs more help from @xedin and @rudkx.

@jrose-apple The antecedent to "it" feels ambiguous to me in that case; does it mean "the compiler" or "the expression"?

*shrug* That's fair. For me "sub-expressions" is a strong enough indicator that the "it" refers to the expression.

This broke in CI.

Thanks Greg, https://github.com/apple/swift/pull/14509 should sort that out.

Ah, it's cause they're marked long_test. Those don't get run in PR testing by default, I believe.

The issue is that the scale tests run in PR testing, but the tests that use an actual timer only run for release/no-asserts build, and those don't run in PR testing.
It might not be the right tradeoff, but at the time we felt like some testing of these tests (which we weren't able to fit into the scale-test model) were better than none.


Update ms-confluence-jira-plugin-adminguide.md

Hiii Dhivya
As per the discussion I've Updated Support version of Jira and Confluence, please review once and approve the PR.
Regards,
Sagar Patil

@dhivyagana
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Save API Keys when switching provider

I select OpenAI then set the API key. Then I must reload the window, now OpenAPI works. I switch to AI21 with j2-grande-instruct and set my API key and must reload window yet again. Now AI21 works. I switch back to OpenAI, now I must set the API key again and reload the window again? Please store the API keys separately for each provider so I don't have to input it every time I switch.

@kferrone
We are creating an object that can store all the keys for each provider.
soon this will be resolved

Hi everyone!
I hope you're all doing well. Please take a moment to update to the latest version here: Visual Studio Marketplace.
Thank you!


[Doc] Cluster-level failover shouldn't be part of Java client chapter

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
When I read the Java client document, I found a very long chapter to introduce cluster-level failover. Seems that cluster-level failover is a feature of Pulsar rather than the Java client, so I think this part needs to be moved to another place.
What is your suggestion?
I think we should move the introduction of cluster-level failover to the next chapter of Geo Replication, and just give code snippets in client library pages (if supported).
cc @tisonkun @Anonymitaet @momo-jun @codelipenghui
Any reference?
https://pulsar.apache.org/docs/next/client-libraries-java#cluster-level-failover
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

though, this feature is only available in Java client for now: https://docs.google.com/spreadsheets/d/1YHYTkIXR8-Ql103u-IMI18TXLlGStK8uJjDsOOA0T20/edit#gid=1784579914

though, this feature is only available in Java client for now, see client feature matrix: https://docs.google.com/spreadsheets/d/1YHYTkIXR8-Ql103u-IMI18TXLlGStK8uJjDsOOA0T20/edit#gid=1784579914

Thanks for pointing out that, but I think moving the chapter is better. Reasons:

Cluster-level failover is a concept based on Geo replacation rather than a feature of the client.
Advanced features shouldn't be at the beginning of documentation.

We can emphasize this feature is only ready for the Java client yet, and add usage examples at the end of the Java client doc.

@labuladong thanks for raising this up! That’s a good point!
Just my two cents:
☘☘☘ 1. Content mapping
Pulsar doc IA in being redesigned. Specific guides are being created for different roles:

Beginners
Developers
Operators
Contributors

Should the existing content of cluster-level failover be split for operators and developers? See the table below.
☘☘☘ 2. Content audit
2.1 Instead of consolidating all content into the Java client guide (current situation), consider:

Move concept and reference content to other places (make them independent topics + see 2.2)
Keep "task-Java-related" content in Java client docs

Current content
Category
Changes to be made
Primary audience

Concept of cluster-leve failoverl
Concept
Move
Operator

Why use cluster-level failover?
Refrerence
Move
Operator

When to use cluster-level failover?
Reference
Move
Operator

When cluster-level failover is triggered?
Reference
Move
Operator

Why does cluster-level failover fail?
Reference
Move
Operator

What are the limitations of cluster-level failover?
Reference
Move
Operator

What are the relationships between cluster-level failover and geo-replication?
Reference
Move
Operator

How to use cluster-level failover
Task
Keep it in Java client guide
Operator

How does cluster-level failover work?
Reference
Move
Developer?  Unsure about this since this part seems not quite "deeply technical"? Should operators be the primary audience?

2.2 cluster-level failover belongs to fault tolerance:

Should we create an independent guide called fault tolerance and locate cluster-level failover there?
Are there any other missing content that should be added to the Pulsar fault tolerance guide?

🔹🔹🔹
Thoughts?  @D-2-Ed @DaveDuggins @momo-jun @hangc0276 Thank you!

@labuladong @Anonymitaet  I agree it's a quick win to move the concept/ref information to a new topic in parallel with Geo-replication and only keep the content with code snippets for how to configure the java client to use cluster-level failover.  Regarding 2.2., IMHO, cluster-level failover is an HA (high availability) solution while fault tolerance goes beyond that providing redundancy.

@labuladong @Anonymitaet Thanks for tuning the document.
I support moving the  Concept and Reference category parts into the high availability section and placing it in parallel with Geo-replication. The Geo-replication part also belongs to the HA section.

Thanks for your discussion. Seems that a document redesign is planned in Pulsar doc IA, so do I need pull a request to simplify the current Java doc?
I plan to create a new chapter "Cluster-level failover" behind the Geo Replication chaptar and only keep code demos in Java doc.

@labuladong I think you can go ahead. The IA redesign is a long-term project with continuous improvements.

@Anonymitaet  @labuladong I love the quick win - at a high-level this makes good sense, but before making changes and moving content, please create the information set map. (By doing so, you will ensure the relationships between the existing content and new /. updated content will make sense to the user, and verifies the navigation path and learner paths.)

@momo-jun > I think you can go ahead. The IA redesign is a long-term project with continuous improvements.
I agree the overall IA work is a long-term project, but as we touch any content we should apply the best practices so we can make incremental improvements in keeping with the overall strategy.


adding new slice type

Hi!
I want to add a new slice type to the simulator and solve the RAN slicing problem using KBRL. To do so, I think I just need to add a description of the new type to scenario_creator.py and the new for loop (like this) in the same file to add the corresponding learners.
Are there any other modifications I need to do?

Hello Mohammad,
Yes, in that for loop is where you define a learner for each network slice by specifying, among other things, which elements of the system observation array are provided to each learner (this is the “slice” provided as second argument to Learner, which is a python slice, not to confuse with the simulated RAN slice).
Adding a new RAN slice type different from mMTC and eMBB (e.g. URLLC) would require of course modifications in other files (new classes in slice_l1.py, slice_ran.py, possibly new traffic sources in traffic_generators.py…), but not to the KBRL algorithm.
BR,
Juanjo
From: Mohammad Zangooei @.>
Reply-To: jjalcaraz-upct/network-slicing @.>
Date: Wednesday, December 14, 2022 at 3:17 PM
To: jjalcaraz-upct/network-slicing @.>
Cc: Subscribed @.>
Subject: [jjalcaraz-upct/network-slicing] adding new slice type (Issue #3)
Hi!
I want to add a new slice type to the simulator and solve the RAN slicing problem using KBRL. To do so, I think I just need to add a description of the new type to scenario_creator.py and the new for loop (like thishttps://github.com/jjalcaraz-upct/network-slicing/blob/fef706d7937af6a1dd0cee73c2aa39f266dd2ae8/scenario_creator.py#L216) in the same file to add the corresponding learners.
Are there any other modifications I need to do?
—
Reply to this email directly, view it on GitHubhttps://github.com/jjalcaraz-upct/network-slicing/issues/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN3EW2DY2OHJIWQNAF7LJJ3WNHJJLANCNFSM6AAAAAAS6RHUOQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks for the prompt response.


[Docs]: remove references to polyfill.io

polyfill.io is malicious now and all references should be removed! See https://sansec.io/research/polyfill-supply-chain-attack
Your other package "react-inlinesvg" has the same problem.

Removed, thanks.


Warning: Exception thrown by hook while handling onSetChildren: Invariant Violation: Item must have been set

How to reproduce:

Check out the branch modal
npm run install && npm run start
Navigate to the modal functional examples.
Open and close a modal example.
Navigate to another page. You should see this warning in the console:

Warning: Exception thrown by hook while handling onSetChildren: Invariant Violation: Item must have been set

What we have tried so far:

We tried wrapping react-modal. This work is on branch modal-test.

Using react-modal did not throw any warning until we wrapped it with a terra-modal component.

I updated the branch modal-test to demonstrate the issue. I removed all of the code and examples except for the modal.
I have 2 identical modal examples. Only one of the examples throws the warning.

I am starting to think it is unrelated react-router throwing the warning. I found out another way reproduce the issue.

Open and close the first modal.
Open the 2nd modal. The warning is in the console.

Warning: Exception thrown by hook while handling onSetChildren: Invariant Violation: Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (28 has parents 22 and 27).
Invariant Violation: Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (28 has parents 22 and 27).

https://github.com/facebook/react/issues/8692
https://github.com/facebook/react/issues/8692#issuecomment-296213376

We tried out the example above using react 16.0.0-alpha.11. We could not reproduce the issue with react 16.0.0-alpha.11.

I think we will go forward with this pull request expecting the update to react 16.x to fix the issue:
https://github.com/cerner/terra-core/pull/224


Exclude sensitive data

If I set data => true in config file, then all input will be posted when exception happen. But what if I want exclude some input data, e.g., password. Would you like to add this functionality?

We could add a exclude keys option?
On Sat, Apr 2, 2016, 2:55 AM Bayu Hendra Winata<EMAIL_ADDRESS>wrote:

If I set data => true in config file, then all input will be posted when
exception happen. But what if I want exclude some input data, e.g.,
password. Would you like to add this functionality?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/tylercd100/lern/issues/20

Checkout release 3.2.0 and the excludeKeys options in the updated config file

It should be noted that this change only affects what is being recorded. If you are using the example from the README to change the notification message then you will need to alter it to ignore the password fields.


Explain idempotency better in PetSet example

In http://kubernetes.io/docs/user-guide/petset/bootstrapping/#simulating-virtual-machines, it mentions that it is important to make init containers idempotent.
However, the example does not explain how it is accomplishing this.  I think the idea in the example is that the -n option to cp won't copy the "original" files over any subsequent user modifications.  So, the docs should state this.
Also, some thought needs to be given as to whether that is really idempotent.  If someone deletes a single file in /etc,  then that deletion will be reverted, so the init is not really idempotent?  Maybe suggest a better way for users to do this.

I guess the cp operation is "idempotent", because if you run the init container twice in a row, you get the same result as if you run it once.
But it may clobber state that the main container created.  We should warn user to be careful about that.


fix(cmd/blob): fix namespace parsing in cli

Closes #4000

🤠

Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 45.37%. Comparing base (2469e7a) to head (a76bfbd).
Report is 406 commits behind head on main.

Files with missing lines
Patch %
Lines

nodebuilder/blob/cmd/blob.go
0.00%
16 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4003      +/-   ##
==========================================
+ Coverage   44.83%   45.37%   +0.54%
==========================================
  Files         265      309      +44
  Lines       14620    22021    +7401
==========================================
+ Hits         6555     9993    +3438
- Misses       7313    10954    +3641
- Partials      752     1074     +322

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

This solution works, but imo we shoul just have a smart string -> namespace func somewhere in go sqaure

@vgonkivs, care for an issue to go-square?


Release Apache ORC 1.8.8

[x] GitHub Action CI Check (Java 8/11/17), Ubuntu (22.04, 24.04)/MacOS (11, 12, 13)/Windows, and docker tests

https://github.com/apache/orc/actions/workflows/build_and_test.yml?query=branch%3Abranch-1.8

[x] Apache Spark 3.4.x Integration Test with 1.8.8 SNAPSHOT
[x] Apache Iceberg 1.3.x Integration Test with 1.8.8 SNAPSHOT
[x] Vote Tag Creation
[x] Upload RC0 Vote Artifacts
[x] Upload to ASF Maven Central
[x] Send RC0 Vote Email
[x] Apache Spark 3.4.x Integration Integration Test with RC0
[x] Apache Iceberg 1.3.x Integration Test with RC0
[x] Send RC0 Vote Result
[x] Publish to Apache Download
[x] Release Tag Creation
[x] Publish to Maven Central
[x] Create next milestone: https://github.com/apache/orc/milestone/35
[x] Register 1.8.8 to https://reporter.apache.org/addrelease.html?orc

Thank you, @wgtmac !


fix: Trouble shooting release issues

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
254

Relevant Lines:
323

💛  - Coveralls


Create log directory

handle the case where a path for the logs is defined, but the log_dir attribute is not.

When using HTCondor a user must have created the path to the defined log files before submitting the file. CondorPy, for convenience, allows an the attribute logdir to be specified which will be created automatically. At least for now, it will not create the paths to the log files if logdir is not used.


Cypher support integration tests

Part of PR #366. This PR is just for the integration tests themselves.

There's a TODO about the right client abstraction for the Cypher client, but otherwise this is ready to merge. Once the TODO is resolved and there are no other issues, this'll be ready for merge.

Note: the CI tests will fail here because I separated the integration tests from the implementation itself (in the cypher_support_compiler_changes branch). Once everything is merged into cypher_support, then things should be ok.

Fixed the merge conflict, which clears up the problems with the PR.

I get the feeling that it's trying to do a few too many things at once

Fair point! It does look like a lot because there are changes spread out over many files, but what it essentially is doing can be boiled down to "integration tests for Cypher".
This involves creating a file for each client (for Neo4j and RedisGraph), creating integration test data, the fixtures that allow the tests to use the client, the tests themselves, etc. but they all need to go together (hard to have tests without the client!) so I'm not sure how such a PR would be split up. Open to suggestions though!
As for the TODOs, I plan to review them and clean them up before merging. If I come across any that probably need further discussion, at that point I definitely agree it'd be good to make a separate PR for those issues.

All the pull requests from this branch have been merged into master, so this is done.


Switch vagrant test cluster runtime to use containerd directly

Fixes https://github.com/antrea-io/antrea/issues/2545
Signed-off-by: Stan Wong<EMAIL_ADDRESS>

/skip-all

@tnqn @lzhecheng @srikartati and others, any objection to this change?

Codecov Report

Merging #2583 (d3a2f11) into main (3248515) will decrease coverage by 18.16%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #2583       +/-   ##
===========================================
- Coverage   60.18%   42.02%   -18.17%
===========================================
  Files         281      153      -128
  Lines       22257    18565     -3692
===========================================
- Hits        13396     7802     -5594
- Misses       7439    10064     +2625
+ Partials     1422      699      -723

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
42.02% <ø> (-0.49%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/util/runtime/runtime.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/cniserver/pod_configuration_linux.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/apis/controlplane/v1beta1/register.go
0.00% <0.00%> (-92.86%)
:arrow_down:

pkg/ovs/openflow/logs.go
9.52% <0.00%> (-90.48%)
:arrow_down:

pkg/apis/controlplane/register.go
0.00% <0.00%> (-90.00%)
:arrow_down:

pkg/agent/nodeportlocal/k8s/annotations.go
0.00% <0.00%> (-83.88%)
:arrow_down:

pkg/agent/agent_linux.go
0.00% <0.00%> (-80.00%)
:arrow_down:

pkg/agent/client.go
0.00% <0.00%> (-77.42%)
:arrow_down:

... and 230 more

I tested the latest version locally and confirmed that it works


How do you deal with size values on different platforms

For Android I'd like the values to end in sp/dp.
On Web I'd like the values to end in px.
On iOS I'd like the values not to have a postfix, and be rendered as integers without quotes.
What's the recommended strategy? I'm trying to use the CLI and not write a custom formatter.

You can write custom value transforms:
theo.registerValueTransform(
  name: "AndroidUnit",
  predicate: (prop) => prop.type === 'sizing', // or whatever criteria you'd like
  transform: (prop) => `${prop.get('value')}dp`
)

theo.registerTransform(
  name: 'Android',
  valueTransforms: ['AndroidUnit']
)

Then call run theo using the Android transform


[Feature] Implement Export as PDF through Printing the Canvas

Is your feature request related to a problem? Please describe.
A lot of people are having trouble with the current print method where they have to rely on the browser's print dialog, and this has caused issues for me too. The issues roughly faced by everyone are:

The resume gets cut off or pushed to the next page
Colors and layouts vary from browser to browser due to CSS implementations
Headers/footers are printed on the page by browsers that don't allow you to remove them

Describe the solution you'd like
Using an in-browser PDF generation library is one solution. The only reason this was not implemented before was:

It increases the bundle size of the application, thus increasing the cost of bandwidth as well.
It generates a non-parseable PDF (snapshot through image), so the links would not work and text cannot be selected.

I'll be looking into implementing the same, but at the same time, keeping the browser print functionality for those who want the parse-able PDF option.
Describe alternatives you've considered
I'm looking into libraries like html2pdf.js, but I've eventually decided to write my own logic with html2canvas and jsPDF. Updates about the same will be posted right here.

Attaching a sample of the Resume that was generated through html2canvas + jsPDF implementation of exporting PDFs on the app. It can print the entire resume inside one page, and for those who still want two+ page resumes, you can use the Ctrl/Cmd + P print function.


Fix fix leading hint with update of alias name

Proposed changes
Problem:
when using leading like leading(tbl1 tbl2) in
select * from (select tbl1.c1 from t1 as tbl1 join t2 as tbl2) join t3 as tbl2 on tbl2.c3 != 101;
which tbl2.c3 means t3.c3 but not t2.c3
Causes and solved:
when finding columns in condition, leading hint would find tbl2.c3's RelationId, and when we collect RelationId and aliasName
we should update it if aliasName is repeat

run buildall

run buildall

run buildall

run buildall

run p0

run buildall

run cloud_p1


fix: attach fall through attributes to teleport component

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

(please remove design and QA checks below if not needed)
Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9661
[ ] Requires deployment <worker/stick/speck>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality

Optional

[ ] I've tested it at </ahp/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at Koda Ecosystem Telegram?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

@Jarsen136

@vikiival what are the next steps for claiming the bounty? Thanks!

pay 10 usd

Thank you @vikiival ! This is my first bounty. I hope to contribute more to the project 😄

pay 10 usd

😍 Perfect, I’ve sent the payout
💵 $10 @ 6.19 USD/DOT ~ 1.616 $DOT
🧗 12b5bwwugf3CgWy58MPYQAX9wazLX1S71ghgZ4YPb6g4qbEP
🔗 0x99d28db3f8e396dd4252f1f7eeed2be096c3a65318f688a058514542dec2c06b
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Pointers not being mapped correctly with only ENV variables

Hi,
First thanks for the contribution.
I'm checking this package becase I've experienced the issue with viper, however seems like the example you provide in the documentation does not work as expected when there's no configuration file that fills values for pointers and maps.
If I execute the example without any config file (just adding environment values) the value for Barries map[string]barry and Quxxy   *quxxy is allways nil. I have pushed some code in a personal repo to illustrate this issue: https://github.com/afdecastro879/enviper-test If you run the main program you will find that I'm setting the environment variables like this:
	os.Setenv("FOO", "foo")
	os.Setenv("BARRY_BAR", "42")
	os.Setenv("BAZ", "true")
	os.Setenv("BARRIES_KEY1_BAR", "42")
	os.Setenv("QUXXY_QUX", "ipsum")

But when printing the struct the result for the values explained above are nil:
main.config{Foo:"foo", Barry:main.barry{Bar:42}, Barries:map[string]main.barry(nil), Bazzy:main.bazzy{Baz:true}, Quxxy:(*main.quxxy)(nil)}

Hi, thanks for reporting. I'll try to find some time to check this

any news on this @iamolegga?

@iamolegga, took a stab at a fix on this. Let me know what your thoughts are!

@jguttman94 as I've said before in your PR, everything looks good, the but there is only one bug with map. Could you please check this branch and maybe help to fix that?

@iamolegga, I took a look, and I'll be honest, I'm struggling with this one...
I believe this to be a separate issue that is more challenging to address. The issue with the unmarshalling of the pointers was easier to solve as the reflection used in the recursive loop over the raw configuration value just needed knowledge of a new pointer element. With that provided, and without mutating the original raw config value, the rest of the recursion loop was able to successfully destructure the environment variable into the pointer.
For the maps, it's a little different. It's easy enough to create a new map if the raw config value is nil, but the rest of the logic is dependent on iterating over each provided map value and recursively invoking bindEnvs. However, because we need to create a new instance of the map, there are no values to iterate over; that isn't known until bindEnvs returns and e.Viper.Unmarshal is invoked.
I may need some extra support on this one, as I'm quite new to golang reflection.
Here is some example code I was playing around with to create a new map in bindEnvs:
case reflect.Map:
  if fv.IsNil() {
    var mapType = reflect.MapOf(fv.Type().Key(), fv.Type().Elem())
    fv = reflect.MakeMap(mapType)
  }
  iter := fv.MapRange()
  for iter.Next() { // failing to destructure here, as the new map is empty, and we do not know the potential contents at this time
    if key, ok := iter.Key().Interface().(string); ok {
      e.bindEnvs(iter.Value().Interface(), append(prev, tv, key)...)
    }
  }


Uncaught TypeError: Cannot use 'in' operator to search for 'x' in undefined

When I try to use sensor with delay option,getting errors.
core.esm.js:936 Uncaught TypeError: Cannot use 'in' operator to search for 'x' in undefined
    at hasExceededDistance (core.esm.js:936:12)
    at MouseSensor.handleMove (core.esm.js:1265:13)

sample code as follows
https://codesandbox.io/s/staging-fast-8rrs0x

useSensor(KeyboardSensor, {
coordinateGetter: sortableKeyboardCoordinates,
activationConstraint: {
delay: 150, //Delay write dot
tolerance: 5,
},
}),

Just ran into this same problem, turns out that the tolerance is required, not optional. You can set it to 0 and it should still work

useSensor(KeyboardSensor, { coordinateGetter: sortableKeyboardCoordinates, activationConstraint: { delay: 150, //Delay write dot tolerance: 5, }, }),

proper code formatting
useSensor(KeyboardSensor, {
  coordinateGetter: sortableKeyboardCoordinates,
  activationConstraint: {
    delay: 150, //Delay write dot
    tolerance: 5,
  },
}),

Solution: Don't forget to set the tolerance.
// CLOSED

Just ran into this, it's not clear from th docs and the types are incorrect, this issue should be re-opened imho.


Add POD overview on hover in code and autocomplete

Having the documentation at hand would be a nice addition. This should be achievable  with the perldoc utility using variations of perldoc -T -MPod::Simple::HTML <other arguments>. The formatter would default to Pod::Simple::HTML but would be customizable in the extension settings.
This feature could cover the perlfunc, perlapifunc, perlvar (respectively with the arguments -f, -a and -v) and modules.
Regarding the hover/autocomplete of module subroutines/constants/variables, it could just display the documentation of the whole module. As this level of granularity is not ideal, the process could be made a little more smart about those symbols. The idea would be to search after =headX or =item occurences followed by the symbol name in the POD and if results are found, the documentation would be scrolled to the first occurence. As the results might not be perfect, this could be an optional feature to toggle in the settings.

Thanks @antoinemarechal ! A first version is now in version 0.7.6, and.documentation is displayed on hover and autocompletion (see examples below). I did include the narrowing down to individual subroutines/methods.
I avoided perldoc for a few reasons. First, finding the perldoc executable might be tricky since users specify only their perl path, which may be a wrapper for docker or other remote execution. More importantly, since people will be flipping through autocomplete suggestions, this needs to be very fast and calling out to perl could be prohibitively slow.
I wrote a perldoc extractor and a conversion from POD to Markdown entirely in Typescript. This also gives me full control over the display, which is convenient. For example I map =head1 MyItem to ### MyItem instead of # MyItem because the condensed titles look better in a space-limited hover format. There are probably edge cases not yet covered, but most of the basic POD functionality is working well, including code blocks, C<> / B<> style elements, and all the pod = commands. If anything is displaying incorrectly, let me know. Thanks!
Follow-on work could include support for parsing perlfunc, perlapifunc, and perlvar. These are simply giant pod files (e.g. https://perldoc.perl.org/perlvar.txt ), so the pod-to-markdown converter should work here too. Long term, the custom parser would also enable the ability to extract non-POD documentation, such as inline comments that follow the subroutine definition.
I'll close this ticket for now, but commentary, suggestions, and issues are more than welcome. Thanks!

Hi, I want to revisit this and comment with my specific issue. I am not sure if this is a bug or not-a-feature-yet, but the POD documentation for specific sub isn't really working as intended. For module, it works amazing (as shown in the File::Copy example)
But for a sub:
=head2 sessionkeeper

The session manager code

=head3 ARGS

=over 4

=item session_id
Integer Id of the session

=cut

sub sessionkeeper
{
    my ($self, %args) = @_;

    ...;
}

The hover documentation only includes the head2 text, and do not include any head3 or over texts

Hi @bhuynhdev, yes this is a current limitation. When looking up a subroutine, it only includes the POD sections with title that match the subroutine. Basically, it doesn't have any logic to say that a head3 probably belongs with the prior head2 section. In your example, the POD is all grouped together before the sub, but a common use case is all together at the end of the file. And then it's tricky to figure out which subsections are relevant for a specific sub. More details here: https://github.com/bscan/PerlNavigator/issues/134 and there is a pull request in progress to address this exact issue: https://github.com/bscan/PerlNavigator/pull/142
It won't solve everything because there's no real standard for how to organize POD, but I think it'll go a long way to improving the situation.


using Microsoft.EntityFrameworkCore.Storage.ValueConversion does not exist everytime I add migration

Describe what is not working as expected.
Whenever I add-migration I get two errors and always have to remove this statement
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0234	The type or namespace name 'ValueConversion' does not exist in the namespace 'Microsoft.EntityFrameworkCore.Storage' (are you missing an assembly reference?)	Aamc.Ret.Data	C:\Users\MHerb\Downloads\AAMC RET\Aamc.Ret\Aamc.Ret.Data\Migrations\20180621135014_FixUserProgram.Designer.cs	8	Active
EF Core 2.1
If you are seeing an exception, include the full exceptions details (message and stack trace).
Exception message:
Stack trace:

Steps to reproduce
Include a complete code listing (or project/solution) that we can run to reproduce the issue.
Partial code listings, or multiple fragments of code, will slow down our response or cause us to push the issue back to you to provide code to reproduce the issue.
Console.WriteLine("Hello World!");

Further technical details
EF Core version: (found in project.csproj or packages.config)
Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Operating system:
IDE: (e.g. Visual Studio 2017 15.4)

@punkouter2018 You likely have a mix of incompatible package versions. See the discussion here: #11704.
If you are still seeing this after updating either SDK (for ASP.NET Core apps) or all EF package versions (for other apps) then please post a project/solution that exhibits the behavior you are seeing.


actable class overrides attributes and activerecord hooks of acts_as class even though no instance relationship is specified

Migration :
class SetupTables < ActiveRecord::Migration
  def change
    create_table :wines do |t|
      t.column :name, :string, null: false, limit: 40
    end
    create_table :items do |t|
      t.column :name, :string, null: false, limit: 40
      t.actable
    end
  end
end

Models :
class Item < ActiveRecord::Base
    actable
end

class Wine < ActiveRecord::Base
    acts_as :item, autosave: false
end

Testing :
bundle exec rake db:migrate RAILS_ENV=test
bundle exec rails c test
w = Wine.new(name: 'Merlot')

At this point, I see the console output #<Wine id: nil, name: nil> - what gives? All I did was create a basic Wine object, and there are no Item instances stored in the DB or in-memory that point to this object.

w.name = 'Merlot'
w

At this point, I see the console output #<Wine id: nil, name: "Merlot"> as it should have in the first place.

Further testing reveals that upon saving the Wine object, the Item activerecord validation method is invoked. This makes no sense to me. I can only surmise that the reason why the Wine object's name was nil at first was because it was being read from Item instead; though I can't see how considering there was no Item object instantiated anywhere. For that matter, nowhere along the line was any association with an instance of Item ever made.
This is a contrived example based off of the problems I've been having running my rspec tests.

Fixed as far as the app itself and my secondary apps are concerned.
https://github.com/hzamani/active_record-acts_as/pull/30


Render tubing in intersection component

Implementation is ready to be verified by @NibeGH
Steps to view tubing in intersection:

Go to  https://wellx-designer.app.radix.equinor.com/
Delete bottom casing
Drag tubing symbol from toolbox and drop on bottom hole
See tubing rendered with linear gradient in esv-intersection component

Tubing successfully drops in both well log and intersection.
Only issue is tubing does not fit hole size width. Assume dialogue box will ensure correct dimension goes in?

You're correct @NibeGH. In the quick design one should be able to specify the dimensions and the designer will respect them.
I'll remove the random dimensions from the demo. 👍🏻

Updated in last PR:

Looks good. Can I close now?

I merged the PR for removing the random dimensions of tubing in the demo.
You can close this one now. 👍🏻


[Relay] fix anf for reference and pattern matching

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

@ZihengJiang @srkreddy1238 @vinx13 please review.

https://docs.tvm.ai/contribute/code_review.html#ensure-test-coverage

@MarisaKirisame please add test cases to cover the change

@tqchen test had been added.


Doc of RenderableTileMap.getLayer<T extends Layer> from flame_tiled is misleading

What could be improved

The documentation or implementation of RenderableTileMap.getLayer<T extends Layer>(String name) from flame_tiled
Why should this be improved

Doc of RenderableTileMap.getLayer<T extends Layer>(String name) from flame_tiled is misleading IMO:

/// Returns a layer of type [T] with given [name] from all the layers
/// of this map. If no such layer is found, null is returned.

Reading this I thought it would recursively check from all the layers of the map; although it doesn't.
I have the following Tiled map structure:
TileMap/
├─ Foreground/
│  ├─ spawns
│  ├─ collisions
│  ├─ trees
├─ Background/
│  ├─ weed
│  ├─ floor

I expected that _mapComponent.tileMap.getLayer<ObjectGroup>('collisions') would return the proper layer instead of null, but it doesn't.
Proposed solutions
Any of these 2 solutions are good to me:

Update the doc of RenderableTileMap.getLayer<T extends Layer>(String name) to explicitly inform it only searches for layers on the first level while adding the same method to Group layer to be able to find the layer with the same API as in RenderableTileMap.
Update RenderableTileMap.getLayer<T extends Layer>(String name) implementation to search inside Group layers too for the specific layer.

Any risks?
I haven't identified any atm.
More information

I can do a PR if it looks good

I vote for number 2. It will be a breaking change of course, but I doubt anyone's current code will be affected by it. I'll assign you to the issue.

Good! Let me propose another solution and you decide:

Update the docs of the current method and add another one to RenderableTileMap maybe called getLayerRecursively() or getDeepLayer() with the new implementation.

This way it won't be a breaking change; although I also doubt anyone's code will be affected by it.

I think 2 is fine still.

We should proceed with caution with option 2, because layers from different groups can have same name. In fact, any 2 layers in the same level can have same name too. So searching recursively for just one will return just the first match. Maybe we should add a getLayerById() because id is unique for each layer.

Alright, maybe better to add a boolean optional argument to getLayer that is used to decide whether it should search recursively or not then? And seems fitting to use BFS here, to make that the result is alike as the current one as possible.

Maybe we should add a getLayerById() because id is unique for each layer.

Sounds like something we could also add.

When we wrote that code, the basic thinking was you wouldn't create layers with the same name, but I agree in that it should probably use by id because that is truly unique. That makes the code less understandable though. Another thought is using dot notation for nested layers so you can use names and not recurse.

The real issue though would be getting parent group parameters passed to the child layer. This is not exactly a straight cut issue.

I am looking at the libGDX code to see how they did it and get some inspiration:

They keep a reference of the parent layer in each Layer.
They invalidate/validate the layer offset when some parent layer has updated its offset. If invalidate, it will redo the calculations to validate it again.
They won't render the children layers if the group layer is not visible (more relatable to #1874)

I don't seem to find how the opacity property of a groupLayer affects the children layers...


QuObjects / S3: Unmarshal: invalid character 'c' after top-level value. Try again

Output of restic version
restic 0.11.0 compiled with go1.15.3 on linux/amd64
How did you run restic exactly?
restic -r s3:http://<IP_ADDRESS>:8010/backup init

enter password for new repository: ***
enter password again: ***
created restic repository e1164b40d0 at s3:http://<IP_ADDRESS>:8010/backup

Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is
irrecoverably lost.

restic -r s3:http://<IP_ADDRESS>:8010/backup backup /data
enter password for repository:
Unmarshal: invalid character 'c' after top-level value. Try again

What backend/server/service did you use to store the repository?
QNAP - QuObjects with S3 compatibility layer
Expected behavior
Backup should work

Actual behavior
init ist working, key and config will be created, but afterwards any access to the repo throws the following error message due some QuObject specific entries in all files
Unmarshal: invalid character 'c' after top-level value. Try again

Steps to reproduce the behavior

Do you have any idea what may have caused this?
It seems the key is "manipulated" by QuObjects S3 layer
1c3;chunk-signature=f71628090bede39a1d94115adbed4cd860c4ef30dd98536fb83e998b12a30e99
{"created":"2020-12-23T09:35:05.124988332+01:00","username":"root","hostname":"file-01","kdf":"scrypt","N":32768,"r":8,"p":1,"salt":"E/U3zZSq9dz7L98ek6uzIfLzS25buk3fn7S1jFgB7eZO6yyBQPqyswZRMrZJ1QfV/CNRYEk7IkH4aofCh8r19w==","data":"LfUjjIngZe5DAg1I2Ma/wl7PC6YkMpjJZPBr4HlnZMMk+NDKUWRb4JeeTepdThAmh28BV3z6CwBjpTLfcoz5da+a52xRv8ThnfsL/OaFCPGTGyN9uCz5CvhDVX7rdxcYtGxZ6a4tkwENDqzACIdVz5p67teXH4iLZ0dr4KzwhaLZlN5zkAdDV9YSw1BTyU9yAb5vRm/ani7hBRi80UmMEA=="}
0;chunk-signature=4246a697d4135afaeaaf94aba8b933d33e297ad38f614b171ad8e1cacd6efe00

There are two additional lines (line 1 and 3) I don't have on Minio or any other S3 compatible storages I tried yet. Maybe this is something QNAP-specific.
Also the config file will get two new lines on every change:
9b;chunk-signature=66ddcd9c0557789f020cb96659c3a84e9abe1e7d7aa825d38c324208a41807ef
j\F5PT\94U\C78\84t\E1/\D3\DC1\B0\(_KM\B2h7\F1\FB#\93\8B\C14\D9\D34v\E1\98\C1\8B\F1\F1\C8H@\EAr\A0\E4\F9bHs\B8Q9\DCcQ\CE\C3'b,X\EBhM\B6\85\A8*Ѫn\A7]11\E7rp \B1\B4M\9896K\B5\A2e\FD\C5N\A9\00\F8\B8x\DC׺\D9FwC>\99\8D\86\CDt\E4{\C0\9C\9B\E2
\AE 7\F5\F44\C1\CE\E3\D6\FC\9A
\8D_{L\EF\C8\CD
0;chunk-signature=1e24fc65824c33800a32d8caf7c91150c8c7e6aeba1ded629203103635ed9630

Do you have an idea how to solve the issue?
Maybe we could skip lines which aren't in JSON for the key or include an option to detect or specify QNAPS QuObjects with his special characteristics?
Did restic help you today? Did it make you happy in any way?
restic makes me alway happy :) Thanks...

Apparently, the QNAP service isn't really compatible with S3. The chunk-signature you're seeing is a standard feature of the AWS S3 protocol (as far as I know), see here: https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html

Maybe we could skip lines which aren't in JSON for the key or include an option to detect or specify QNAPS QuObjects with his special characteristics?

Thanks for the suggestion, but I'm strictly against doing that. :)
Either QNAP is compatible with S3 or not, but we're not going to add high-maintenance workarounds that are hard to test against.
I'm closing this issue for now, please feel free to add further comments. Thanks!

No problem... Thanks for feedback.
As a hint for others who want to use QuObjects, restic is working flawlessly with the OpenStack-Swift implementation of QuObjects.

Thanks for the feedback, glad you could get it working with your device! :)


Extending git / git plugins / git commands

Hi,
A chapter on extending git e.g git-my-command would be nice. There doesn't seem to be a reference or guide on doing it. There's always stack overflow, but that seems to be just a pointer in the right direction.

Hey, this is the issue tracker for the git-scm.com website, not Git itself. If you still want to discuss this issue, you should reach out to the community.
Also, it sounds like you just want Git aliases.

I think @LoveIsGrief was just asking for documentation, which is in the general domain of the site. That said, we don't generally have a lot of original content here; we suck in the Pro Git book and the Git manpages. One of those would probably be the right venue, and then we'd pick it up from there.

@peff I'm not sure what you mean to say.
Does that mean that the page is static and won't change? Are you saying I should open an issue in the git project to ask for this to be included in the manpages?
I think it's a pity it's not on the site under 8 Customizing Git or something like that. It would give a reference to help people write extensions for git.

@LoveIsGrief The page isn't static, but we don't make customizations to the content that we pull in from the manpages or from Pro Git.  So if you wanted to add a section to chapter 8 of the book content, then the workflow would be to first propose it at https://github.com/progit/progit2, and then once merged there, it would get picked up in this repository automatically when we pull the book content.
Does that make sense?

@peff I see now. I'll see how that goes.
Cheers


Grid in meters

Please tell me how can I adapt this grid in meters only?

I haven't thought about a meter / km grid yet. Then also yards, miles should be included for completeness.
Open questions, problems:

Where do you put (0m,0m)? If you really put it at (0°/0°) you get huge absolute value depending which section on the map you look at. There must also be a "Put 0m/0m here in the lower left corner"-Button for example.
The meter grid is more challenging to calculate. On a small map section the kilometer grid lines can be depicted as 90° to each other and parallel, but this is an approximation that works due to the small scale of the map. Over small sections of the Earth, the curvature is minimal and can be ignored, allowing the kilometer grid to appear rectangular with grid lines at right angles. However, for larger areas, the Earth's curvature would cause grid lines to converge and diverge, necessitating projections to manage distortions.

By the way. I just checked flutter_map 7.0.x is the current version. The lat_lon_grid_plugin needs an update frist to work with the newer version 6.x.x and 7.x.x.

I think:

turn on the grid only with a zoom of 15+,
the center will be taken from camera.center.floor() we begin to build a grid on the visible part of the map.
As if it were a Cartesian coordinate system.)
https://stackoverflow.com/questions/77696792/how-to-create-grid-with-size-in-meters
https://stackoverflow.com/questions/38493098/grid-on-top-of-google-maps-produces-gaps-in-squares
https://stackoverflow.com/questions/639695/how-to-convert-latitude-or-longitude-to-meters


Color themes

Is gdu's color theme configurable?
If found a couple issues pertaining to colors but nothing on theming.
I have dir_colors, .Xresources, and bash and fish shells configured to use a modified nord theme. However, gdu doesn't appear to use them.

Currently it's only possible to configure the colors of the selected row: https://github.com/dundee/gdu#styling