.env.example is recognized as Shell

Describe the bug
I have a project written in pure Go with a single .env.example file. This file is listed as Shell, but that's wrong.
Expected behaviour
Since Environment Variables are something special, they could be treated as a new language Env or just ignore it.
Related discussion

Additional notes
Example: https://github.com/Zerotask/go-web-api
https://github.com/Zerotask/go-web-api/search?l=shell

Since Environment Variables are something special, they could be treated as a new language Env or just ignore it.

🤔  I'm not sure that's really the right thing to do as they only apply to shells so it makes sense the files are classified as such. If you don't want it to count, you can implement an override.

as they only apply to shells

That's not true.
Many env variables are read by several programming languages to use it for a program which has nothing to do with shells.

They do indeed read them but they almost always use them as they would environment variables. The file is also called .env suggesting it contains environment variables which are technically written in (Bourne) shell script. This file is also traditionally used for this precise purpose… setting environment variables and many many languages don't expect anything different, including your Go project thanks to the godotenv pkg which is…

A Go port of Ruby's dotenv library (Loads environment variables from .env.)

The file is also called .env suggesting it contains environment variables which are technically written in (Bourne) shell script.

an .env file has nothing to do with bourne shell scripts. It's just a text configuration file format.

setting environment variables and many many languages don't expect anything different, including your Go project thanks to the godotenv pkg which is…

This doesn't contradict with what I wrote. It's still a file format which is not a shell script. It's wrong to count it as shell.
As an alternative to my suggested env, you can also change .env files from shell to text

an .env file has nothing to do with bourne shell scripts. It's just a text configuration file format.

It may be in your usage however it's way more than that and more on par with a shell script: https://github.com/bkeepers/dotenv#usage

It's actually not shell. I wrote a grammar for dotenv files quite recently, and was surprised by the number of syntactic discrepancies (particularly its wacky handling of quotes). Because FOO = bar is a legal variable assignment in a dotenv file, I'd pin the format as being closer to an INI file than a shell-script.

Really?  TIL. @Alhadis Could your experience be specific to the newer nodejs implementation you referenced in that commit as opposed to the original and older Ruby implementation which doesn't handle spaces etc like that? I guess that means all those others added as part of https://github.com/github/linguist/pull/4922 incorrect too then?

Could your experience be specific to the newer nodejs implementation

@lildude Until I read your comment, I wasn't aware there even was a non-Node.js based implementation (Bear in mind I only learned of this pseudo-format a month ago in file-icons/icons#91). From a squiz of the original dotenv's readme, it appears the two implementations aren't mutually compatible:
NODE_JS=This # isn't a comment
RUBY=But # This is a comment

However, the Ruby implementation isn't compatible with shell syntax, either:
SECRET_HASH=something-with-a-#-hash
Shell:
$ export SECRET_HASH=something-with-a-#-hash
$ echo $SECRET_HASH
something-with-a-#-hash

Ruby:
require "dotenv"
Dotenv::Parser.call("SECRET_HASH=something-with-a-#-hash", true)
# => {"SECRET_HASH"=>"something-with-a-"}

9FRONT=yes
Shell:
$ export 9FRONT=yes
-bash: export: `9FRONT=yes': not a valid identifier

Ruby:
require "dotenv"
Dotenv::Parser.call("9FRONT=yes", true)
# => {"9FRONT"=>"yes"}

Aside from bringing to mind a famous quote by Henry Spencer, discrepancies like this convince me there's no standardised format for .env files any more than there is one for INI files. On that note, I have to question the wisdom in reimplementing a very narrow subset of shell syntax instead of simply exporting variables declared in an .env file before bootstrapping the ruby process… then again, maybe it's a Rails thing. 😉

When overriding in gitattributes GitHub generates this HTML
<table data-hpc class="highlight tab-size js-file-line-container js-code-nav-container js-tagsearch-file" data-tab-size="8" data-paste-markdown-skip data-tagsearch-lang="INI" data-tagsearch-path=".env.example">

Note the data-tagsearch-lang="INI" part. But its syntax highlight is definitely not INI.

Yes. This is being corrected in https://github.com/github/linguist/pull/6199 which will be merged and deployed 🔜 (I don't have a date yet).


Bitrate value can crash Moblin

crashed when trying to use a large value for bitrate preset value. 6500 instead of 6.5
Erik found a second place
"In Settings - Streams - My stream - Record, I wanted to put 10Mbps and I put 10000 instead of 10 and it crashed. I have seen that it also happens when creating a bitrate preset with that value."

Fixed.


[cpptrace] Add 0.3.1

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

I updated the tag upstream, all good to go now

Thanks for the update!

Thanks for the speedy reviews and merge!


Improve UX when running benchmarks from Spark shell

This PR improves consistency and UX of running benchmarks from Spark shell and also fixes some documentation errors.
The changes are:

TpcdsLikeBench, TpchLikeBench, and TpcxbbLikeBench are now all classes, rather than being a mix of object and class, for better consistency and concise documentation.
Default values are now specified for the new coalesce and repartition arguments for TpchLikeSpark and TpcxbbLikeSpark for consistency with TpcdsLikeSpark.
The signature for BenchUtils.compareResults is simplified to accept a file format string rather than a function.
Unit tests are implemented based on the Spark shell code samples in docs/benchmarks.md so that we are more likely to catch regressions to this usage in the future.

Closes https://github.com/NVIDIA/spark-rapids/issues/1400 and https://github.com/NVIDIA/spark-rapids/issues/1379

build

build


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_4f9b6850-a82f-4513-a7c9-3d7733906464/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_4f9b6850-a82f-4513-a7c9-3d7733906464.git

Docs Build status updates of commit d8f7c9f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-05-15-06-39-46 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-05-15-06-39-46

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


i18n not working - ChunkLoadError: Loading chunk failed

I've followed the documentation and imported this component into my  Vue component.
When I use it in my template it works great. But, once I add the locale prop with the he value (which I know this component can support Hebrew) it crashes.
Here is the way I use it
<vue-cal default-view="month"
    locale="he"
    :disable-views="['years', 'year', 'week', 'day']">
</vue-cal>

It looks like it's trying to resolve the locale from a URL that does not exists.
Here is the error in my console.

Following the stack trace it seems like the problem occurs somewhere in here:
https://github.com/antoniandre/vue-cal/blob/master/src/components/vue-cal/index.vue#L273
My Vue version is: 2.6.10
Thanks.

Hi @AfikDeri,
Did you also import the Hebrew i18n file? like in the documentation example?
https://antoniandre.github.io/vue-cal/#ex--internationalization
Here is a working codepen with localized texts: https://codepen.io/antoniandre/pen/dxXvwv,
Notice the separated load of<EMAIL_ADDRESS>(in the javascript external libs).
Let me know if that fixes your issue. Otherwise please share the full code of your example.

You'r right. I dod not import the language, that was the problem. I couldn't find it in the docs. Thanks for the reply :)

That's all good mate.
I have updated the documentation example to make it more visible and've added the Codepen example as well.


Add DDNet Cask

Thank you for the contribution. It was merged directly as c13f85a2c026e45c7ada30734a73f0860bbc63bd to keep commit history cleaner. Your contribution is still credited to you.

Thank you.


Add labels to all templates.

For all resources will be useful to have labels.

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

Comparison is base (6ee6450) 45.96% compared to head (7fd1fba) 45.96%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #174   +/-   ##
=======================================
  Coverage   45.96%   45.96%
=======================================
  Files          22       22
  Lines        2080     2080
=======================================
  Hits          956      956
  Misses        962      962
  Partials      162      162

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

Can you bump the chart version (also the app version to 0.3.1)


feat(context): Introduce ContextVariableMap.

Allows the user to type the value of ctx.set('variable', var) or ctx.get('variable').
This is one of the ideas to solve the #414 problem, but even if this were not used to solve #414, I think this would still be a useful feature.

Thank you! Looks good!


pytorch==0.4  loss is nan

I applied modifications to use pytorch==0.4 from https://github.com/amdegroot/ssd.pytorch/issues/175
also I set
export NCCL_P2P_DISABLE=1
to unstuck K80 gpus
But the loss becomes nan after the first iteration.
Did someone encounter that problem?
iter 0 || Loss: 30.8207 ||
timer: 1.1393 sec.
iter 1 || Loss: nan ||

CPU version seems to work
iter 0 || Loss: 31.7398 ||
timer: 112.6669 sec.
iter 1 || Loss: 29.8757 ||

Single GPU seems to work fine
timer: 0.7473 sec.
iter 0 || Loss: 31.2455 ||
timer: 0.5702 sec.
iter 1 || Loss: 30.3125 ||

try lower learning rate that what you were using then

So, did you figure it out? @Dorozhko-Anton I met the same problem as you, and I used pytorch0.4.0.  I tried to lower the learning-rate, set it to 1e-4, 1e-5, but it did not work for me.

i met this problem too. And I find i made a mistake when i am fixing the error in multiboxloss. you can review your code in multiboxloss.

@1243France what was the issue in multiboxx loss?

@1243France what was the issue in multiboxx loss?

    loss_c = loss_c.view(num, -1)
    loss_c[pos] = 0

line97,98  in ssd.pytorch/layers/modules/multibox_loss.py should make a swap in pytorch 0.4
like above two line in mine.

@1243France   line97,98 in ssd.pytorch/layers/modules/multibox_loss.py should make a swap in pytorch 0.4
like above two line in mine.
how do you make  a wap ?  can you make a example?  please

try lower learning rate that what you were using then

It worked for me when i set learning rate to 1e-5 training with VOC datasets.

try lower learning rate that what you were using then

It worked for me when i set learning rate to 1e-5 training with VOC datasets.

But how many hours to train SSD with learning rate 1e-5? and what is your input-size?


Merge fixes to release

Contains:

red bubble fix
3d marker fix
hide key for crosshair
3d camera fix
transperency fix

Still broken:

bubble

Will be merged later this day by merging the 3d calib


Make grids match govuk toolkit examples

The supplier and buyer apps both use the class names suggested by the govuk front-end toolkit rather than those used on our grids page:

buyers app grids scss
suppliers app grids scss

It's important that we use the same classes across all the apps because some of the styles that make the form content work inside grids are tied to them (see this example).
I propose we use the class names most in use across our stack, this switches to them in the toolkit.

:+1:


allowBugReporter on v12

The "Rideable" module's manifest contained the following unknown keys: "allowBugReporter"

Ah, yes. That is an outdated manifest key. It shoudln't cause any problems, i will look into removing it with the next version.


Addition of integration tests for report2 web pages

This PR introduced ApprovalTests for report2 information to help with making sure that the desired output is not impacted by refactoring changes.

Is there a story for investigating shortening/changing the tests so we don't need the long files? Is that this story? https://issues.sonatype.org/projects/CSD/issues/CSD-4?filter=allopenissues

That's the one. So my thoughts were to merge this and then talk about the replacement.


can't create pycc AOT compiler on Windows

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

numba.pycc.CC fails upon initialization on windows, despite having a compiler (distutils works fine):
In  [1]: from numba.pycc import CC
In  [2]: cc = CC('foo')
Traceback (most recent call last):
  File "<ipython-input-2-06608376f747>", line 1, in <module>
    cc = CC('foo')
  File "C:\Anaconda3\lib\site-packages\numba\pycc\cc.py", line 62, in __init__
    self._toolchain = Toolchain()
  File "C:\Anaconda3\lib\site-packages\numba\pycc\platform. line 63, in __init__
    self._raise_external_compiler_error()
  File "C:\Anaconda3\lib\site-packages\numba\pycc\platform. line 106, in _raise_external_compiler_error
    raise RuntimeError(msg)
RuntimeError: Attempted to compile AOT function without the compiler used
by `numpy.distutils` present. Cannot find suitable msvc.

I tracked the cause down to numba.pycc.platform._check_external_compiler, lines 37-46.
On windows tempfile locks its file so cl.exe can't access it (see https://stackoverflow.com/q/20328422/9151228 & https://stackoverflow.com/q/14388608/9151228).
Numba mistakes this for the lack of a compiler.
Using TemporaryDirectory instead of NamedTemporaryFile seems to work for me:
from distutils.sysconfig import customize_compiler
from tempfile import NamedTemporaryFile, gettempdir, TemporaryDirectory
import os.path as osp

def check_compiler_file():
    # see if the external compiler bound in numpy.distutil is present
    # and working
    compiler = new_compiler()
    customize_compiler(compiler)
    for suffix in ['.c', '.cxx']:
        with NamedTemporaryFile('wt', suffix=suffix) as ntf:
            simple_c = "int main(void) { return 0; }"
            ntf.write(simple_c)
            ntf.flush()
            try:
                # *output_dir* is set to avoid the compiler putting temp files
                # in the current directory.
                compiler.compile([ntf.name], output_dir=gettempdir())
            except Exception as exc:  # likely CompileError
                return exc
    return None

def check_compiler_dir():
    # see if the external compiler bound in numpy.distutil is present
    # and working
    compiler = new_compiler()
    customize_compiler(compiler)
    for suffix in ['.c', '.cxx']:
        with TemporaryDirectory() as tdr:
            fname = osp.join(tdr, "temp" + suffix)
            simple_c = "int main(void) { return 0; }"
            f = open(fname, 'wt')
            f.write(simple_c)
            f.flush()
            f.close()
            try:
                # *output_dir* is set to avoid the compiler putting temp files
                # in the current directory.
                compiler.compile([fname], output_dir=tdr)
            except Exception as exc:  # likely CompileError
                return exc
    return None

On windows, when there is a compiler available:
In  [1]: check_compiler_file()
Out [1]: CompileError(DistutilsExecError("command 'C:\\...\\cl.exe' failed
with exit status 2"))
In  [2]: check_compiler_dir()
Out [2]:

When there is no compiler::
In  [1]: check_compiler_file()
Out [1]: DistutilsPlatformError('Unable to find vcvarsall.bat')
In  [2]: check_compiler_dir()
Out [2]: DistutilsPlatformError('Unable to find vcvarsall.bat')

Environment:
import sys
import numba
import platform
print(sys.version)
print(numba.__version__)
print(platform.platform())
3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)]
0.39.0
Windows-10-10.0.17134-SP0

Numba 0.40.0 hasn't made it to anaconda yet, but the relevant part of platform.py looks the same to me.
I managed to hack my way around this (and didn't wind up using the AOT compiler) so this issue doesn't really affect me, but it seemed worth reporting anyway.

Thanks for the bug report, and the investigation.  We'll need to see why this isn't caught by our unit tests...


[Question] How to change the CSS color

Is there a way to change the main color ? the default color is purple,  but i need to change it to custom color. Is that possible in schedule-x vue version ?

WOW Thanks A lot...I'll close it :)))


[BUG]: Permissions missing in Power Platform Admin SR

Describe the bug
I set up the CoE with an Application User and noticed that few privileges are missing in Power Platform Admin SR for the following custom entities which lead to flows failures :

Connection Reference
Power Platform User
Power Platform User Role
Sync Flow Errors

Also, there isn't no permissions for BPF processes in this security role.
I checked in other security roles, in case of we need to combine them, but these permissions are nowhere.
By reviewing the Security Role permissions and existing custom entities, I also found missing permissions for the following entities. But I didn't experiment issues in the flows :

Chatbot
Flow Action Detail
Flow Resource
PVA Component
PVA Component Flow Lookup
RPA
RPA Sessions

Component (please tell us which flow or app you are experiencing issues with):

Solution - Core
Version - v1.71.7
Security Role - Power Platform Admin SR

Expected behavior
My expectation is : when user has the Power Platform Admin SR, he should have full control on everything. Correct me if I'm wrong.

Thank you for posting! We have fixed this up locally for release with the next version.

Thank you for posting! We have fixed this up locally for release with the next version.

We have just released a version today with this fix, as well as a major rewrite for reliability of the inventory suite.
Be sure to follow the new steps for installing updates
And thanks for using CoE!

We have just released a version today with this fix, as well as a major rewrite for reliability of the inventory suite.
Be sure to follow the new steps for installing updates
And thanks for using CoE!


Minecraft keeps crashing whilst using ender io

this is the crash report
crash-2017-04-19_19.36.43-server.txt
i am using minecraft 1.7.10 and the latest forge update
can somebody please help slove this. thanks.

java.lang.NullPointerException: Exception in server tick loop
	at hardcorequesting.QuestingData.<init>(QuestingData.java:524)
	   ^^^^^^^^^^^^^^^^

that's what is crashing...

this didnt work has now stopped me from being able to load worlds

Try reporting it to HGM

what is hqm

Hardcore Questing Mode, that is the mod the crashed

ok


Implement multistep form

Description
Create a new play called Multistep Form.
Fixes # (788)
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Need instructions on tesitng.
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Hi @atapas,
Could you review my pull request please.
Thank you.

Hello @abhi886
Please pull the latest from the main and follow the readme to fix the formatting and linting errors. Else the build is failing.

Hi @atapas,
I have done the suggested changes. Could you have a look at it please.
Thank You.

Hi @atapas.
I have made the suggested changes. Could you review it please.
Thank You.

The play is responsive but it bit packed when in smaller screen. Some padding around will make it look better.

Hi @atapas ,
Are there any more changes that I should do?
Thank you.


gamin, fileschanged: remove

Description of changes
The projects have not been in development for around a decade. The original source for gamin does not exist. Although it exists in gnome archive now, it only has one similarily unmaintained tool.
Remove both instead of fixing gamin for the latest clang update.
gamin repo, last change merged 8y ago (developed 12y ago)
fileschanged releases last release 18y ago
Closes #338648
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Revise the dependencies

Looks like this breaks evaluation of gnome_vfs.
That should be removed too but Java depends on it and it will need to be removed there (see also https://github.com/NixOS/nixpkgs/pull/73407).

This broke release-checks: https://hydra.nixos.org/build/271443649


Fix wasm-opt 'Exported global cannot be mutable'

wasm-pack build currently fails on this step of the tutorial: https://rustwasm.github.io/docs/book/game-of-life/implementing.html
This is due to incompatible change in wasm-bindgen 0.2.66. Issue is described here: https://github.com/rustwasm/wasm-pack/issues/886
rustwasm / book issue: https://github.com/rustwasm/book/issues/237

I can see this is an accepted walk-around for this issue at the moment. Are there any plans to fix it in the long run?

the [package.metadata.wasm-pack.profile.release] heading must be moved either above the dependency section or below it, the place it is now is half way through.

@JamesWP my bad. Moved it down.

Encountered the problem while following the tutorial. I was preparing to do a PR and realised it's ready but has not been merged... Is there a good reason for that?

@nguiard My guess it's because it's a workaround and not a proper solution. I'd like to see some pointers on how to actually fix it.

@nguiard My guess it's because it's a workaround and not a proper solution. I'd like to see some pointers on how to actually fix it.


api: usage of nested transactions instead of subtransactions

@dset0x can you take a look at this and try it? I think it should solve the issues you pointed in #22  :wink:

I'm on a leave until the 26th, so I can't promise an answer before then.
@eamonnmag you may want to take a look here.

Just to make things easier
In [1]: from invenio_records.api import Record

In [2]: r = Record.get_record(1)

In [3]: 'foo' in r
Out[3]: False

In [4]: r['foo'] = 'bar'

In [5]: r.commit()
Out[5]: { .....}

In [6]: rr = Record.get_record(1)

In [7]: 'foo' in rr
Out[7]: True

In [8]: rr['foo']
Out[8]: u'bar'

Just to be 100% sure:
In [1]: from invenio_records.api import Record

In [2]: r = Record.get_record(1)

In [3]: 'foo' in r
Out[3]: True

In [4]: r['foo']
Out[4]: u'bar'

In [5]: del r['foo']

In [6]: r.commit()
Out[6]: {....}

I'm on a leave until the 26th, so I can't promise an answer before then

@dset0x you are on leave but you are on github :stuck_out_tongue_winking_eye: amazing!

ping @jirikuncar (it needs first https://github.com/inveniosoftware/invenio-records/pull/41)

@egabancho #41 has been merged. You can rebase and :shipit:

Done!


indexing issue with broken metadata. . .

Steps to reproduce:
clone - https://github.com/tezosmiami/hicdex.git
run readme commands
What did you expect to happen:
for it to index
What actually happened:
it did index up to objkt #67865 - which appears to have lost metadata - not pinned - then dipdup jumps to the latest levels and keeps going from there without indexing - running all night. . .
Environment
on ubuntu 22.10 server

Python version:
3.10.7
DipDup version or commit hash:
6.5.5
Database engine version:
14
Hasura version:
2.23.0
Are you in docker?
yes
Can you reproduce this issue on master?
yes

logs.txt
config.txt
models.txt

Update datasource config to limit retries. . .
datasources:
  metadata:
    ...
    http:
      retry_count: 3

. . .than catch and process exceptions in the handler. Should help. . . HTTP gateway defaults will be updated in #677.

no luck with changing retry count. . .

see attached log + on_mint handler and utils files with exceptions
maybe need some sort of timeout?
is that what you mean by defaults?
log.txt
metadata_utils.txt
on_mint.txt

Oh, it's ipfs datasource to blame, not metadata. Try:
try:
    coro = ipfs.get('asdfasdfasdf')
    data = await asyncio.wait_for(coro, 60)
except asyncio.TimeoutError:
    data = None

awesome - exactly it for this one - the metadata for that objkt is missing from all ipfs datasources - probably not pinned - was actually looking into async.wait_for() - this made it very clear - thanks again!

Nice. Leaving open to check retries and timeouts later.

same thing seems to be happening sometimes with http request to tzkt_mainnet - sometimes goes back to indexing after hicdex container reboot. . .


Update data.json

I apologize. I am closing this pull request and updating data.json and programming question in a single PR.


manuel project name?

Details

Project URL: https://github.com/benji-york/manuel
Build URL (if applicable):
Read the Docs username (if applicable): j1m

Expected Result
I want to create a RTD project for manuel, accessible at manuel.readthedocs.io.
Actual Result
The manuel project name is taken, even though http://manuel.readthedocs.io/en/latest/ 404s.
Can you free up that project name please? :)

I should have noted that I'm helping Benji get his docs set up on RTD.  If he is already an owner, then he can add me. (I just asked him if he was.)

I'm not an owner of that project.  This will be my first project on RTD.

Project page is at: http://readthedocs.org/projects/manuel/
You should get in touch with the owner, we don't have a policy to release projects namespaces.

I tried to contact the project owner. meuan1990 isn't a lot to go on, however, the project uses a private repository owned by a bitbucket organization, ogconsultoria, that has no public repositories, but has 3 members, one of which, Euan Batun Manuel, is likely the owner of the RTD project.  There is no contact information. I messaged someone with a similar name on Facebook, but got no reply.  OGConsultoria has a Facebook Page. I tried messaging them and got no reply.  They seem to have a webpage, http://www.consultoriaog.com/, that is mostly lorem ipsum.
I thought the mission of RTD was to support open source.  This project references a private repository.
There have been 2 build attempts in total, both of which have failed.  These were on the same day 6 months ago.  This was almost certainly an abandoned experiment.
Please consider freeing up this project.  If there's no policy to release projects namespaces, there should be.

Please consider freeing up this project. If there's no policy to release projects namespaces, there should be.

I think at the moment the policy is not written but I've saw a couple of answer like the anthony's one: "Contact the owner" or when people want to delete a project "Prove that you owns it in some way" and similar ones.
How this policy should be for you? Would you like to make a draft/proposal?
Besides, in this particular case, I would like to add another issue: "I also want that namespace". What would you do? Who will you give the project name? Why? Would you just release the name and the first one to create the project will take it? Will you give more priorities to you because you requested it first?

What is the point of RTD?  (And why do I support it and help fund it through voluntary contributions?)
For the most part, first come-first serve works just fine.  When it doesn't, humans can intervene.  This works for other similar projects, such as PyPI and even github and bitbucket.
As I originally said, there's a Python project, https://github.com/benji-york/manuel, that I'd like to use this RTD project for.  Ironically, the manuel project has the same mission as RTD, to provide high-quality documentation for software projects. In Manuel's case it does this by providing a tool for testing examples in documentation.
My proposal is to use human judgement when considering requests for names.  It should be a no-brainer to free up a project that has never built, references a private repository, and when attempts have been made to contact the owner.
BTW, if contacting the owner is part of the policy, then RTD should provide a way to do that.
No one expects the Spanish Inquisition.

I agree with you.
I would say that we need to start writing down these ideas to end up with a policy on this, but it shoul dbe written down to avoid problems similar like this one and make clear what it's the position of RTD.
As I said, I saw similar answers in other tickets and I think this is because "there is no a clear policy" and from my point of view is not good. Since you are being affected by this problem and you have clear thoughts on how this should/could work, I asked you if you wanted to start drafting a proposal. I think this could be a very good starting point.

Alright then, I'll draft a policy and make a PR. Where should it go? In the RTD docs somewhere?

Or should I post a draft here?

I prefer a PR, so it's easy to review and suggest changes.
I think it should go in the RTD documentation. There is something similar at http://docs.readthedocs.io/en/latest/dmca/index.html
Maybe it could be a new page at the bottom of the section "About Read the Docs". Not sure anyway. Let's start there and see what the rest of the team says, it will be easy to move it later, what's more important it's the content I'd say.
Thanks!

https://github.com/rtfd/readthedocs.org/pull/3314

To clarify: we have a policy, which is to generally not release namespaces. We don't determine who should be granted a particular namespace, and we serve multiple communities, so namespace collision is to be expected. This should almost always be a community interaction, but we can help facilitate contact if you can't reach the owner. If we can't make contact on your behalf, then we will release the namespace. Otherwise, it's not fair for us to remove a user's project, regardless of build state or repository type.
@jimfulton I think your PR makes sense, but I'll have some additions
As for your original issue, if you are having trouble reaching the user, then we can try facilitating contact. I'll reopen here.

On Sat, Nov 25, 2017 at 11:49 PM, Anthony<EMAIL_ADDRESS>wrote:

To clarify: we have a policy, which is to generally not release
namespaces. We don't determine who should be granted a particular
namespace, and we serve multiple communities, so namespace collision is to
be expected.

Perhaps, as with github, there should be a 2-level namespace.  You have
this now somewhat with subprojects. Perhaps this is enough, except perhaps
for an important case...
Recently (a few months ago iirc) the people who manage pypi infrastructure
decided to deprecate packages.python.org/pythonhosted.org, in favor of
RTD.  I supported this, however, it created a bit of a problem. PyPI
packages automatically maintained their pypi name in pythonhosted.org, but
many project will lose their names in the migration to RTD.  The current
manuel docs are at https://pythonhosted.org/manuel/ and can't be updated.
:(
It would be nice, IMO, if there was some way to create a namespace for
documentation for pypi packages so that pypi and documentation project
names were the same.  This mostly works now unless there's a conflict.

On Sat, Nov 25, 2017 at 11:49 PM, Anthony<EMAIL_ADDRESS>wrote:
...

As for your original issue, if you are having trouble reaching the user,

As stated, I am.  Further, contacting project owners requires too much
detective work, IMO, given that there's no contact mechanism in RTD.
Had the RTD project been configured to use a public repository, I could
have at least created an issue there.
It seems to me that creating a RTD project from a private repo should be
disallowed, as builds are guaranteed to fail. And, open source.
Instead I had to look at the bitbucket organization and its members. Of
course, there was no contact information there either, so I ended up having
to google and do social-network searches.

then we can try facilitating contact.

Please.

I'll reopen here.

Thanks.

@jimfulton I'd like to ask you to please try being nicer in our GitHub comments. This is a community project, and the way you're speaking is not being friendly to our contributors.
I understand that you may be frustrated, but perhaps you can just use the python-manuel namespace for your Python project? As we've mentioned, RTD is not a Python specific area, so perhaps it would make more sense to include the namespace in your RTD package name.
You're also welcome to map your RTD namespace to a custom domain, so that you can fully control the namespace that you want to use for your project. I might also suggest this if you have strong feelings about the specific branding that your project will be using going forward.

I (the project in question's owner) am fine with using a qualified name (e.g., python-manuel) if I must, but I would like to point out that this (small) problem is an opportunity to refine the RTD policies in an important way; in particular by reviewing #3314.

Thanks again for formalizing our policy around this 👍
I have initiated the process for this namespace, I'll make any updated here. See you all in 6 weeks otherwise.

Thanks!

Hi, any update on this?

@jimfulton I never heard back on the project, so I think it's safe to free up the namespace. I'll go ahead and make the change.

@jimfulton go ahead and try now, the project has been renamed

Thanks!
On Fri, Mar 9, 2018 at 6:25 PM, Anthony<EMAIL_ADDRESS>wrote:

@jimfulton https://github.com/jimfulton go ahead and try now, the
project has been renamed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/3287#issuecomment-371990410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvKd3gxawFapZWM5gVSh5tE0P6jRdi-ks5tcyuYgaJpZM4QkiU4
.

--
Jim Fulton
http://jimfulton.info

:man_dancing:


The vertical scroll is under the backdrop.

I'm submitting a ...  (check one with "x")
[x ] bug report => search github for a similar issue or PR before submitting
[] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
The vertical scroll is hidden by the backdrop when the modal is higher then page and you cannot grab it and move the page. When you click on the backdrop, the modal closes.
Expected behavior
The vertical scroll should by on the top of DOM element stack.
Reproduction of the problem

Please tell us about your environment:

Smart Modal version:  7.1.0 (The problem also occured while using 6.x.x version of NgsSmartModal)

Angular version: 6.0.7

Browser: all

Language: Typescript 2.7.2

Bootstrap : 4.1.1.

Unless you provide a demo of your issue (Stackblitz preferred), I think it's a normal behavior of the library, please tell me if you got the same behavior that on the demo (please click on "big content modal button").

Hi,
I the demo example vertical scroll works great. However I have noticed that ngx-smart-modal DOM element is rendered in different way in my app and demo app. Please look at an example:

Demo example: nsm-dialog is inside nsm-overlay-open

My example: nsm-dialog and nsm-overlay-open are at the same level:

Maybe do you know way? What could be the reason for this behavior?
I know that without full example will be hard to answer my question, but I try to show how I use ng-smart-modal in my app.
Template file:
<ngx-smart-modal
  #jobDialog
  [identifier]="id"
  [closable]="false"
  (onClose)="onClose()"
  (onOpen)="onOpen()"
  (onDataAdded)="onDataAdded()"
  (onCloseFinished)="onCloseFinish()"
>

      Ttitle

    <button type="button" class="close" data-dismiss="modal" aria-hidden="true" (click)="jobDialog.close()">×</button>

        ...

        ...

        ...

        ...

        ...

        ...

    <button type="button" class="btn btn-secondary" data-dismiss="modal" (click)="jobDialog.close()">
      <fa name="check" [fixed]="true"></fa>Ok
    </button>

</ngx-smart-modal>

Component file:
Get reference to modal:
@ViewChild('jobDialog') dialog: NgxSmartModalComponent;
Open modal on observable subscribtion always after ngAfterViewInit:
this.dialog.open();
Thx!

Hi @pawelchmara and thank you for your patience.
You can unblock the scroll by overriding default .dialog-open class in your top-level style file.
I made a live example here: https://stackblitz.com/edit/ngx-smart-modal-no-scroll-blocking
As I put this issue in our backlog, it may be useful to add an option to avoid blocking scroll if a modal is opened. Not a big deal, we have to see if it may be useful. 😉
Regards! 🖖

Super! Thank you very much for help.

Fixed as a new SCSS variable has been created to customize this option easily. Available very soon in 7.2.0! 🔥
Regards! 🖖


Adding utility classes/objects like Vector and Point

I came here by way of the post about Hacktober on love2d forums. I have never used this library before, but it looks quite interesting. You said you were thinking about adding vectors, so I am making this issue to start some discussion on if/how they should be implemented.

Great! Thanks for the interest!
If objects are used, I think they would have to be accepted as arguments by all functions.
There might be some conflict of when when you're passing objects vs when you're passing variables to the function, which may cause some trouble.
My idea is that there would be a simple Lua class that creates all these objects. Something like:
local function isObject( obj )
    return obj.__type and obj.__isMlibObject
end

local classes = {
    point = { -- Name of class
        new = function( x, y ) -- Creation function
            -- You could also add type checking here, etc.
            return { x = x, y = y, __type = 'point', __isMlibObject = true }
        end,
        checkCircle = function( self, ... )
            local input = checkInput( ... )
            local x, y, radius
            if #input == 1 and input.__type == 'circle' then
                x, y, radius = point.x, point.y, point.y
            elseif #input == 3 then
                x, y, radius = unpack( input )
            end
            return circleCheckPoint( self.x, self.y, x, y, radius )
        end,
        -- etc.
    }
    -- etc.
}

for i, v in pairs( classes ) do
    setmetatable( v, { __call = function( t, ... ) return v.new( ... ) } )
end

local function createClass( type, ... )
    return classes[type]( ... )
end

This isn't tested, but should be a good baseline.

I agree, it seems really clunky to have all of the functions check if the first argument is an object or a number. That code does seem like it would use a lot of memory, but I haven't thoroughly used metatables. So, I might mess around with that and see if I could get it working.

Metatables don't use any extra memory. Tables are passed by reference, not copied, so using a single table as the meta table for 1000 other tables only gives you the footprint of 1001 tables, not 2000.

Metatables definitely seem like the way to go. What I was doing (above) doesn't really seem  suited for this.

Looking at #10, should the point code match the vector code?

What exactly do you mean by point? A vector can easily be described as a point already.

Fair enough, that's sort of what I was thinking anyway. Unless there are other specific objects that should be added I think this issue can be closed.

Well, the current vector implementation isn't really an object, so it's actually going more for "dick typing" on that one.

Depending on the scope of this library, there are lots of potential objects that could be added such as matrices of varying sizes, vec3s, etc. mlib has a very different structure to it than my own math library, CPML, which contains many of the same features and isolates modules in a very intuitive and friendly way.

Yeah, due to the way I implemented some functions it was impossible to make it so that files were separated (i.e polygon.lua, etc.) without some weirdness occurring.

Well you don't necessarily need to separate files the same way that we do.
It is helpful, though, since our library references other modules within,
but one large file can do the same thing.
Requiring cpml gives you a table with access to all modules, but you can
require only the modules you need instead
local cpml = require "cpml"
local vector = cpml.vec3(0, 0, 0)

local vec3 = require"cpml.modules.vec3"
local vector = vec3(0, 0, 0)

Landon Manning
<EMAIL_ADDRESS>On 10 October 2015 at 13:31, Davis<EMAIL_ADDRESS>wrote:

Yeah, due to the way I implemented some functions it was impossible to
make it so that files were separated (i.e polygon.lua, etc.) without some
weirdness occurring.
—
Reply to this email directly or view it on GitHub
https://github.com/davisdude/mlib/issues/9#issuecomment-147104204.

God dammit GitHub.

I think it needs to be Lua,  not lua

Nah, it's an issue with email responses.

Oh, okay.


Python: Advanced functions-lambda

Description :
What is lambda in python?
Note :

Changes should be made inside the Python/ directory & Python branch.
Issue only for GWOC'21 contributors.
Issue will be assigned on a first come first serve basis, 1 Issue  ==  1 PR.
In the PR, keep this issue's title as your PR's title.

Must Follow : Contributing Guidelines & Code of Conduct before start Contributing.

I would like to work on this!!

I would like to work on this please documentation
Peddi sai lohith
Python batch 4

I would like to work on this issue via documentation. Thank you!!

Hi I'd like to contribute through documentation on this topic
Harmandeep - python - batch 4

Interested in this work via Documentation

I will  give documentation for this

I would like to work on this issue via documentation.

@Randrita Is the mentor for this issue. Please reach out to her in case of queries.

I would like to contribute
python batch 6
documentation

\assign
I would like to contribute.

@kalyanirb12 @gaurav879 check properly documentation is already assigned! Choose another part eg. audio/video!

I would like to work on this issue.
Name: Sriniketh J
Python Batch No: 3
Type: Video
Approach: Presentation, along with a practical hands-on demonstration of Lambda Functions
@Randrita @adityabisoi

I want to contribute to this issue :
Name-Bhaswati Roy
Domain-Python
Batch-3
Issue Number-574
Type-Audio
Contribution Approaches-what is lambda function, why is it used, why is it needed so much, ways to implement, use in data sc


feat(react-ui): add mapping details (partially)

Also renames atlasmap-provider to atlasmap-core.
The scope of the
package changed slightly; trying to decouple the rxjs store from the ui
elements that require accessing it through property drilling was just
too complicated for no real benefit.
Now the core package will provide
an already connected to the store Atlasmap component that will render
Atlasmap UI as required by the standalone app, leaving the option to
create a custom Atlasmap through a manual wiring of the store to the
desired components.

Added some fine tuning of the column layout calculator.


Properly process floating-point files taken with linear amplifiers

We need to make sure that these files can pass through the Excel UI workflow, including MEF, at the very least.
These files are important because new instruments do not have logarithmic amplifiers. Instead, they pass PMT signals through a very high-resolution (18-bit typically) ADC, and store the event signals as floating points. Not supporting these files would reduce our audience significantly.

One big issue here is the domain and hist_bin_edges properties of FCSData. In floating point, the range keyword $PnR can be really big. For our new test files, PnR = 262144, and we have seen that some events can be less than zero. This can lead to slow performance and memory problems, particularly when plotting 2d density plots or performing density gating.
One solution is to eliminate domain and hist_bin_edges when data is in floating point, and give reasonable defaults for number of bins to plotting and density gating functions. I'm open to alternative suggestions.

Where are domain and hist_bin_edges used?
Perhaps hist_bin_edges can be automatically subsampled in some
intelligent way (that was its original purpose after all).
Can domain be a generator? Otherwise it feels like we only use the
cardinality of the domain set; perhaps we just expose $PnR? Can't remember
all the places where domain is used.
On Mon, Mar 14, 2016, 11:33 AM Sebastian M. Castillo Hair <
<EMAIL_ADDRESS>wrote:

One big issue here is the domain and hist_bin_edges properties of FCSData.
In floating point, the range keyword $PnR can be really big. For our new
test files, PnR = 262144, and we have seen that some events can be less
than zero. This can lead to slow performance and memory problems,
particularly when plotting 2d density plots or performing density gating.
One solution is to eliminate domain and hist_bin_edges when data is in
floating point, and give reasonable defaults for number of bins to plotting
and density gating functions. I'm open to alternative suggestions.
—
Reply to this email directly or view it on GitHub
https://github.com/taborlab/FlowCal/issues/192#issuecomment-196400344.

domain is used:

high_low gate, to get the default low/high values.
mef module, when choosing which peaks to discard based on which events are saturated.
plot module, to get the xrange and yrange of several plots
In all of these cases, only the minimum and the maximum values are used.

hist_bin_edges is used:

density gate
hist and density2d in the plot module
excel_ui, to produce the histograms tab

I was thinking about discarding both domain and hist_bin_edges; and incorporating new arguments range and resolution. range would be a 2-element list that would originally go from 0 to $PnR - 1, and would be modified with each transformation in a similar way to what domain and hist_bin_edges do now. resolution would be copied from $PnR and never modified.
domain and hist_bin_edges were meant to solve the problem of non-uniform bin spacing after transformation. However, I think we now have a better solution. The Excel UI currently checks amplification_type to decide whether to scale some axes linearly or logarithmically, using the log argument of either plot.hist1d or plot.density2d. I think the log argument should also indicate the plotting functions to automatically generate bins spaced either linearly or logarithmically, using range as the lower and higher limits.

About plotting functions, I also think the div argument could be dropped, and bins can be an integer directly indicating the number of bins to be generated from range. If bins is None, the function can use FCSData.resolution as the number of bins. bins can have a number, such as 256 or 1024, as a default, which would make things easier when dealing with super high resolutions such as when using floating points. The same idea goes to gate.density2d.

Also, FCSData could still have domain and hist_bin_edges as functions that would generate bins from range with some specified resolution. This would then be used by plotting functions and density gating.

We agreed about the following:

Eliminate div from plotting functions.
Use endpoints in place of what I proposed as range
Use resolution as I proposed.
@JS3xton is in favor of keeping hist_bin_edges as it is right now, but limit its resolution when FCSData is created. I think hist_bin_edges should be a function that generates bins from endpoints and resolution. An optional nbins argument to this function will specify the number of bins to generate, in which case the function ignores resolution. I'll try to make this function, but if it doesn't work well I'll go with John's idea.
This issue will be narrowed down to deal with high-resolution ADCs, and another will be open to deal with linear MEFing.

issue dealing with linear amplifiers (the one that this issue got split into): #195


Use rdf:type not dct:type in VCARD telephones and emails

For some reason the indivdualForm.ttl form uses dct:type instead of rdf:type, which is very strange.
Fix http://purl.org/dc/terms/type [sic] to rdf:type. Dunno where dct:type came from at all. Prob using a form editor which did not show full uri.  Strange bug.  This will loose the telephone type annotations in existing data, unless it is converted.
This home/work/cell  annotation tends to be of terrible data quality, so it may not be much of a loss.

Fixed in https://github.com/solid/contacts-pane/pull/28


[openvdb] update to v8.0.0

Library name: OpenVDB
New version number: v8.0.0
Other information that may be useful (release notes, etc...)

Release notes: https://github.com/AcademySoftwareFoundation/openvdb/releases/tag/v8.0.0
v8.0.0 comes with a new tool/extension called OpenVDB AX. This could be added as a feature package.

OpenVDB has a bugfix release v8.0.1. I see that the PR is still on hold. Would it be possible to directly update to v8.0.1

Release notes: https://github.com/AcademySoftwareFoundation/openvdb/releases/tag/v8.0.1

I can also open a new request if you think it is more convenient.

@orbingol ,I can modify my pr and re-update to the first version 8.0.1,

@orbingol ,I can modify my pr and re-update to the first version 8.0.1,

That would be great. Eventually, v8.0.1 is a bugfix release and it would be more convenient for users to use the latest bugfix release for v8.0.x series.

Just wanted to check in to see if there are any updates on this port update


Jaws reads first checkbox from list as 'readonly' on datagrid Show/Hide columns dialog

Describe the bug
Jaws reads first checkbox from list as 'readonly' on Show/Hide columns dialog.This is bug in Jaws only because NVDA reads it as 'list'.
How to reproduce

Issue can be easily reproducible on datagrid Show/Hide columns dialog here -
https://clarity.design/documentation/datagrid/hide-show

Steps to reproduce the behavior:

Go to Hide/Show example on https://clarity.design/documentation/datagrid/hide-show
Click on view-columns icon on footer
Press enter to open the dialog
Press tab two times to focus on first checkbox,focused element is <input> checkbox

Jaws reads readonly before first checkbox label , plus does not read as list. This is <li> under <ul> on checkboxes.
Expected behavior
Jaws should not read 'readonly' on first checkbox focus
Additional notes
 checkbox has wrapper <clr-checkbox-wrapper> no role is specified on it , So it shows role 'generic' in accessibility tree.
Workaround -

Adding role on <clr-checkbox-wrapper> i.e. role='none'  Jaws stop announcing it as 'readonly'

even by  JFYI removing <clr-checkbox-wrapper> also  Jaws stop announcing it as 'readonly'

Clarity cares deeply about accessibility, and we work with our accessibility team to identify and triage issues. We have an internal tracking system to identify and verify accessibility issues, which has captured this already. Some issues with Clarity Angular are difficult to solve without causing side effects or breaking changes, and we have to balance concerns with fixing issues and breaking changes. As we build out Clarity Core, we are able to address these root cause accessibility issues and recommend adopting the Clarity Core implementations as they become available. We are closing this issue as we have the issues tracked internally. Please follow our development and releases to see when we release relevant Clarity Core components to make this possible.


[Session] Extract selectAccount out

Stacked on https://github.com/bluesky-social/social-app/pull/3811
Commits for review:

https://github.com/bluesky-social/social-app/commit/807a0d9e3944f8e95f078c21ef7572015d3ba814?w=1

This is similar to https://github.com/bluesky-social/social-app/pull/3811 in spirit and is based on the same insight. selectAccount has nothing to do with session management per se, it's just a wrapper around initSession that tracks the progress of that call. It makes sense to make such state tracking local to where the action was triggered in the UI code. So I'm moving that state back into components.
I moved the isSwitchingAccounts state variable out of the Session API and into the calling components which now call initSession directly. For AccountList, I've plumbed it down from the component that owns the switch press handler.
Test Plan
Use the account switcher, both the popover and the settings one. It feels a bit janky but I replicated the existing logic. This should make it a bit easier to change the UI logic if we'd like to later because it's all local state now.

Small thing when selecting an account that I noticed. My selection is highlighted as long as I am still pressing in, but as soon as I release the highlight moves down to "Other Account"
https://github.com/bluesky-social/social-app/assets/153161762/c25df29a-b087-47d1-a79a-612fd50253bf


feat: tc_doc schema add cascade

tc_doc schema in add ON DELETE CASCADE  ON UPDATE CASCADE

Thank you so much for the help. I appreciate it.

I did nothing only add cascade


How to rerender the chart

I am relatively new to the ember world so I would like to ask how to rerender the chart once load some data from the server.
We are creating a custom component to wrap this addon so in the components js file the code looks like
import Ember from 'ember';
import layout from '../templates/components/zingchart-new';

export default Ember.Component.extend({
   layout,
  chartRenderOptions:{
    height:400,
    width: "100%",
    data: {
      "type":"line",
      "title":{
        "text":"Average Metric"
      },
      "series":[
        {
          "values":[69,68,54,48,70,74,98,70,72,68,49,69]
        },
        {
          "values":[51,53,47,60,48,52,75,52,55,47,60,48]
        },
        {
          "values":[42,43,30,40,31,48,55,46,48,32,38,38]
        },
        {
          "values":[25,15,26,21,24,26,33,25,15,25,22,24]
        }
      ]
    }
  },

  actions: {
    updateTitle() {
      const newTitle = "new Title";
      const options = this.get('chartRenderOptions');
      options.data.title.text = newTitle;
      this.set('chartRenderOptions', options);
    }
  }
});

And the handlebars template looks like the following

    <button type="button" class="btn btn-success" {{action updateTitle}}>Update title</button>

  {{ember-zingchart renderOptions=chartRenderOptions}}

Even though the update title method is called normally and the object containing the render options is updated the title remains the same.
Any idea on how to solve this issue?

I think, in the first place your render options are not getting updated:
you do options.data.title.text = newTitle; and then this.set('chartRenderOptions', options); but your options is the same object it was. Yes, you changed the content, but the component you pass this object down to thinks that your options are the same.

@eagle-dan1349 thanks for taking time and replying on that but finally we ditched the use of the addon as it's dead. I will close the issue as well.


Fixed display of book names with spaces

Currently, the query --2 Samuel 7:16 creates the following output:
> [!bible]+ [2 Samuel 7:16 - KJV](https://bible-api.com/2 Samuel+7:16?translation=kjv)
>  16. And thine house and thy kingdom shall be established for ever before thee: thy throne shall be established for ever.

This has a space in the query path, which prevents the link label from being displayed correctly.
This PR replaces spaces with +, which gives the following output:
> [!bible]+ [2 Samuel 7:16 - KJV](https://bible-api.com/2+Samuel+7:16?translation=kjv)
>  16. And thine house and thy kingdom shall be established for ever before thee: thy throne shall be established for ever.

@all-contributors please add @diatche  for development

@all-contributors please add @diatche for code


Questions about the common use of GenerateModel and GenerateAllTable

I have multiple tables and I want to customize the fields for certain tables during generation. There may be duplicate or identical field names among them, and I want to define them based on the table names. However, when using both ApplyBasic(g.GenerateAllTable()...) and ApplyBasic(g.GenerateModel(..)), I found that the definitions for individual tables are not taking effect. Am I using the methods incorrectly? I don't want to define each table separately using GenerateModel.

I'm sorry, I realized that I posted in the wrong place. This is a question about "gen," not "gorm."


Workaround for wrong keyCode on non-US keyboard layouts Nikolay Rykunov

Proposed Changes
OpenJDK starting from 18 changed java.awt.event.KeyEvent.keyCode behavior, so java.awt.event.KeyEvent.extendedKeyCode is returned from java.awt.event.KeyEvent.keyCode for non-US locales.
The workaround is to build KeyStroke and then get KeyStroke.keyCode. This is the way how we can convert java.awt.event.KeyEvent.extendedKeyCode to java.awt.event.KeyEvent.keyCode
See OpenJDK commit with change.
Testing
Test: For now only manual testing. Try to copy-paste text from TextField in any examples. Use non-US layout and JDK 18 and newer
Issues Fixed
Fixes: https://github.com/JetBrains/compose-multiplatform/issues/3497

This solution doesn't work well on Windows :(
It seems we need to find another one


Fix for the ClassCastException thrown if a parameter default value is not String

Fixed #27

/integration-test

Integration tests have been started. Please click here to see the status.


Is duplicacy-util dead?

Is duplicacy-util dead?
No more answers to messages here, no more updates.
Maybe Duplicacy itself is dead. :(

Unfortunately the author of duplicacy-util seems to have passed away in Jul, 2020...
https://lmtribune.com/northwest/man-rescued-after-lake-chelan-accident-dies-of-injuries-in-wenatchee/article_09f74fef-1e18-5c17-9ca5-061495b12992.html

You may like to check out duplicacy-scripts
https://github.com/markfeit/duplicacy-scripts

Hopefully someone else can take over as a maintainer - this utility is rock-solid and has been my backup solution for several years now.

Sure, but so far it's still working fine.


Nvidia bin format changed

nvcachedec does not ecxtract *.nvuc from new Nvidia bin format.

Thanks, added the formats in this branch: https://github.com/therontarigo/nvcachetools/tree/driver550 - I'd like to get driver 550 working on my own machine and test the nvuc files with an updated nvdisasm before committing to master.

Thanks for update.
I tested your change - it works:
/nvcachedec nv_bin/*.toc objs

TOC Entry 00000
  zstd compressed
Object: 0x0250 ELF object

TOC Entry 00001
  zstd compressed
Object: NVDA NVVM NVuc binary

TOC Entry 00002
  zstd compressed
Object: NVDA NVVM NVuc binary

TOC Entry 00003
  zstd compressed
Object: NVDA NVVM NVuc binary

TOC Entry 00004
  zstd compressed
Object: NVDA NVVM NVuc binary

TOC Entry 00005
  zstd compressed
Object: NVDA NVVM NVuc binary

TOC Entry 00006
  zstd compressed
Object: NVDA NVVM NVuc binary

Processed 7 entries

Extracting sections from nvuc also works.
Using nvdisasm to read nvuc - also work:
/usr/local/cuda/bin/nvdisasm --binary SM89 objs/object00001.nvuc
cuVN: v1.0 nsec=7 arch=AMPERE chip=AMPERE/GA100 PIXEL driver=00000000 size=000034d0

...

Section UCODE
	.headerflags	@"EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)"

....

I updated related to this blog post Decompiling Nvidia shaders, and optimizing, and its github mirror - I added one screenshot from Nvidia 4060 (look black/white image with text) just Shadertoy new shader code - it look little different compare to previous screenshot from Maxwell GPU.


JSON object/array serialization in polymer 2

Description
I want to pass some data from python to an element
data = {"name": "Master's or sth else"}
data_json = json.dumps(data)

and in html ($ sign is because of mako syntax... anyway doesn't matter)
<my-element options='${data_json}'></my-element>

But data_json doesn't pass correctly to my-element. The problem is single quotation inside data_json.
Expected Results
Passing data (with single quote!) to my-element
Actual Results
Single quote inside data_json breaks attr value
In chrome:

In firefox:

Browsers Affected

[x] Chrome
[x] Firefox
[ ] Edge
[ ] Safari 9
[ ] Safari 8
[ ] IE 11

Versions

Polymer: 2.0.0-rc.5
webcomponentsjs: 1.0.0-rc.5

The issue is that you are not escaping special values (single quotes) in your attribute value correctly, and so the browser's native HTML parser is not parsing it as you intend.  Since Polymer leverages the native parser, this is not a Polymer-specific issue, since Polymer never sees the value you intend.
It looks like you are using server templating to inject the JSON into the HTML attribute; if so, you need to run it through an HTML escaper to ensure the characters are valid in the HTML attribute.  Specifically, the single quote in the string you are serializing needs to be encoded using ' to ensure it doesn't close the attribute value.
See https://dev.w3.org/html5/html-author/charref for a full list of escaped HTML entities.  If you're using Python, this may help: https://wiki.python.org/moin/EscapingHtml


Test suite

This adds an automated integration test suite for Bottled Water, including:

a smoke test to verify basic functionality,
documention of behaviour for all supported Postgres types,
tests for semantics, including treatment of inserts/updates/deletes, partitioning and topic mapping.
documentation of known bugs such as #4, #60 and #61.

If run with RSpec's --format=documentation it can also produce some fairly readable documentation of Bottled Water's behaviour: e.g. https://gist.github.com/samstokes/fbb6e874dfa5a643aa41
This addresses #3.  It also provides a Travis configuration to run the tests, addressing #51: see an example Travis run.
A few things about the approach are noteworthy.
This is an end-to-end integration test, using Docker and Docker Compose to orchestrate real Postgres, Kafka and schema-registry instances.  The main downsides:

the tests are fairly slow to run (7-10 minutes to run the full suite, plus around 10 minutes of setup on Travis to build the Docker containers).
there are a couple of intermittent failures.  (The tests largely avoid the usual cause of intermittent failures - timing issues due to "sleep 5 and hope" waiting for orchestrated services to start up - by monitoring the services as they start instead.  However there seem to be some intermittent bugs in the Docker API.  This can probably be worked around by adding some retry logic to the Docker calls.)
The advantages are:
by simulating realistic use cases - writing to Postgres, consuming from Kafka - we can have high confidence that the important semantics remain intact across refactorings, feature additions, etc.
the tests should be less fragile due to low coupling to Bottled Water internals.
we can test "integration-level" properties such as partitioning semantics, which depend on the interaction of several components - Bottled Water itself, librdkafka, the Kafka broker.

The test cluster orchestration is under the control of the test suite itself, so we can set up and tear down the cluster programmatically during the test run.  This allows testing different configurations of Kafka (e.g. topic autocreate on/off) and Bottled Water (e.g. --output-format), testing for crash bugs (e.g. #61), and testing recovery semantics across restarts (left for a future iteration).
The test suite is written in Ruby, using the RSpec framework.  This means the test code can be concise and (hopefully) readable.  RSpec contexts are useful for testing under a wide variety of configurations, and its support for deterministic teardown (before(:example) and before(:context)) is very useful for test cluster cleanup.  The test suite uses regular open-source Ruby libraries for Postgres and Kafka to connect directly to the instances under test, so the tests are representative of normal usage (we could even run something like ActiveRecord to test more real-world usage patterns).
Finally, I wanted to be able to test (and monitor for regressions) a large subset of the wide variety of types supported by Postgres, including some commonly used extensions such as hstore.  Rather than writing (and maintaining) tests for 50 or so types, I provide test support for various "categories" of types, plus a code generator that queries Postgres' pg_type catalog for available types and generates tests for them.  The hope is that this should be more maintainable as new extensions or Postgres versions implement new types; that said, most of the tests now are simple string roundtrip tests, since string roundtrip is the current state of Bottled Water support for non-primitive types (#5).

It's worth noting that although this is an end-to-end integration test suite, that may not be the correct approach for all of Bottled Water's automated testing needs.  Unit-level testing of individual components in the C code may still be useful, not least because the tests could run orders of magnitude faster, although that would probably need quite a bit of refactoring to allow isolation of components.

I've been developing on top of this branch for a while now, and since I added retries for the flaky Docker API (69bbffa) I've found it pretty reliable.  I think there's future work in moving some tests out of this (slow) suite and into a unit test setup, but for now I think this provides a good set of guard rails moving forward, so I'm going to go ahead and merge it.

... and no sooner do I declare it stable than I find the build is broken right now: https://travis-ci.org/samstokes/bottledwater-pg/builds/125719038  I suspect one of the Docker images we rely on has changed.  I'm going to force-unmerge this for now and fix it tomorrow.

Remerged (via #72).


Fix glbc usage string

Typo in glbc binary name
Typo in running-in-cluster flag
Remove non-existing flag --default-backend-node-port

This change is

Once you've signed, please reply here (e.g. "I signed it!") and we'll verify. Thanks.

I signed it!

Coverage decreased (-0.02%) to 46.418% when pulling 6f3139a79edaa9d977e3655538fe30a598965985 on itamaro:patch-1 into a6e38221ee26a6f8e1f1121073c83c0a7de82637 on kubernetes:master.

/lgtm


Make SE and MP share config env var mapping

Introduces mapping for hyphenated properties.

Fixes #446.
See related #507.

@tomas-langer I find that Diff Settings -> Hide Whitespace Changes helps to filter many formatting changes out which simplifies reviewing the substantive changes. Obviously it will not suppress all types of formatting changes but it helps a lot.

@tomas-langer I hear you on the whitespace, but... do we not want to be more consistent with it? In this case, the primary change is aligning chained method calls on the dot; everyone here in the US agreed that we should do so, but you may disagree.
We really need to have a more complete checkstyle and associated IDE style settings.

@tjquinno The _dash_ mapping is just a way to support any hyphenated key likea-b, not specifically about supporting both a-b and a.b. You're right though, that together with the other mappings both are supported.

@tomas-langer Indent changes reverted.

@tjquinno Also, you are correct that there is a risk, hopefully very small, that a user both actually has a config key containing the "_dash_" substring and wants to set it in an environment variable.
I did think about adding a mechanism to disable this mapping for that case (e.g. a "HELIDON_DASH_MAPPING" env var that can be set to false, or maybe some meta config), but it struck me as a step too far. I could easily be convinced to add it though...

My opinion is that adding a way to disable that mapping is indeed going too far. Going further down the path of "configuration which controls how configuration works" feels to me too close to an Escher art print!

Regarding the whitespace - we need to be consistent overall, or not reformat existing code at all.
What happens now is that you reformat and commit, then somebody else does a change in the same class, reformats and commits.
This is useless.
My approach - use the same formatting (as long as you use IntelliJ, we have a codestyle xml to use).
Never reformat existing code - only modified and only if the original formatting is bad (or you have added code that requires a line break etc.).
For those without IntelliJ this requires configuration of their IDE to follow the same rules (unfortunately not everything gets caught by checkstyle).

Yes, I believe we need both a more thorough checkstyle and a matching IntelliJ codestyle xml,  preferably maintained in the source tree. This would all be easier if we could convince everyone to switch to IntelliJ; maybe we should start there ;)


Link for latest release

You could link to this in the places in the readme where it's mentioned: https://github.com/r-lib/rig/releases/tag/latest

There is a link to the releases page, and the latest release (not the latest release, though) is always top. There is also a link to the latest release at the top right panel.
The latest release mainly exists for being able to download it programmatically.

I think the README now has links wherever it mentions the latest release.


Experiment: proprietary schemas using z.custom() and metadata

I was dreaming about it.
Unfortunately zod does not provide any way to make a custom or branded or third-party schema that can be identified as one programmatically. Developer of zod also does not want to make any method to store metadata in schemas, instead, recommends to wrap schemas in some other structures, which is not suitable for the purposes of express-zod-api. There are many small inconvenient things in making custom schema classes, that I'd like to replace into native methods, and use withMeta wrapper for storing proprietary identifier, so the generators and walkers could still handle it.
Related issues:
https://github.com/colinhacks/zod/issues/1718
https://github.com/colinhacks/zod/issues/2413
https://github.com/colinhacks/zod/issues/273
https://github.com/colinhacks/zod/issues/71
https://github.com/colinhacks/zod/issues/37

coverage: 100.0%. remained the same
when pulling e9954329ec3324bb9ca5ccc58370424a6f84afd0 on experimental-prop-schemas
into 9024e996595b0cbff409bba350f20f97a0f024a1 on master.

This looks promising

If the following PR merged, consider using native branding instead:
https://github.com/colinhacks/zod/pull/2860

I consider the experiment successful.

Time for a beta

✅ Regression test passed


MTCNN alignment

/home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/255.jpg Unable to align "/home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/255.jpg" /home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/043.jpg Unable to align "/home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/043.jpg" /home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/152.jpg Unable to align "/home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/152.jpg" /home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/004.jpg Unable to align "/home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/004.jpg" /home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/256.jpg Unable to align "/home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/256.jpg" /home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/206.jpg Unable to align "/home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/206.jpg" /home/dl1/LXX/facenet/datasets/casia/CASIA/0000099/212.jpg Traceback (most recent call last):   File "align_dataset_mtcnn.py", line 142, in <module>     main(parse_arguments(sys.argv[1:]))   File "align_dataset_mtcnn.py", line 95, in main     bounding_boxes, _ = align.detect_face.detect_face(img, minsize, pnet, rnet, onet, threshold, factor)   File "/home/dl1/LXX/facenet/facenet-master/src/align/detect_face.py", line 383, in detect_face     tmp = np.zeros((int(tmph[k]),int(tmpw[k]),3)) ValueError: negative dimensions are not allowed

have you figure it out?because I have the same issue.

@zhly0 Hi! Could you help me with this issue? I have the same issue!

Me too...  so sad.


Promise Support

Hi, say I use localForage or PouchDB, currently it's not working with the lib

@nueko you can add "promise support" yourself to the project by overriding one of the options. Please see the readme for more information.


Backport of chainstate obfuscation to avoid spurious antivirus detection

Cherry-pick from 42cb388167ef78f47a3a440eb651b6938c10f508, but removed BatchWriteCoins/BatchWriteHashBestChain refactoring.
Added xor obfuscation in CCoinsViewDB::GetStats and CBlockTreeDB::LoadBlockIndexGuts.
Added qa/rpc-tests/blockchain.py test and leveldbwrapper_batch test from<PHONE_NUMBER>6a8e0dc73ffa127225ab80be3e3612.

:+1:

Branch 0.11.2 is closed for features, only critical bugfixes allowed.


Unable to filter resource by extension field

Hi,
When querying a user to the OSIAM resource server with a multi-filter including an extension field, the server responds with this error:
Could not deserialize the error response for the HTTP status 'Conflict'. Original response: {"error_code":"CONFLICT","description":"Filtering not possible: 'urn:com.mycompany:scim:extensions:1.0:client' not available"}
The extension is valid and user has a defined value for the client field.
Is this a bug or a SCIM feature not yet implemented?

Hello @xaviarias,
We need more information from you to solve this. The error you provide indicates that the extension you try to filter the field of doesn't exist. Could we maybe see the query string? I also noticed that you filter on your extension name with the fully qualified URN, ie it starts with urn: is that intentional? I expect your filter to work if you drop the first urn: and just filter for the field name ie. com.mycompany:scim:extensions:1.0:client eq <some string>.
Please note, that we don't really support the filtering by schemas as defined in section <IP_ADDRESS>.  Filtering:

Clients MAY query by schema or schema extensions by using a filter expression including the "schemas" attribute

Which means that something like this is doesn't work: filter= schemas eq "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
But if I understand you correctly that is not what you want to do, right? you want to filter on an extension field. Please try dropping the initial urn:
After reading the RFC again I think we might actually be wrong here, I feel the RFC is a little ambiguous with regard to filtering on extension fields. What is your opinion on this should filtering on extension fields always require the fully qualified URN including urn:, or to not break OSIAMs backward compatibility at least not fail on it?

So, come to think of it: If the extension is actually registered with the fully qualifying URN and is valid as you say,  dropping the leading urn: is probably not making a difference. The bug is definitely the last period . separating the extension field from the urn.
Can you verify that by changing the query in that regard? If that works, we can provide a fix in a short time. However we still need to agree on the correct way to handle searching of extensions.

Yes, that's a bug on our side. We only support . as a separator of URN and field name. This is wrong according to the RFC. So it must be changed. I suggest that we should still support the . as separator for backwards compatibility.

However we still need to agree on the correct way to handle searching of extensions.

It must be a : according to the ABNF here: http://tools.ietf.org/html/rfc7644#page-21

I've just looked up the code: https://github.com/osiam/osiam/blob/master/src/main/java/org/osiam/storage/query/UserSimpleFilterChain.java#L65
Seems rather easy to fix.

@tkrille I agree with you, however for the last few years we have been accepting periods to separate the extension field from the URN. So my plan would be the following:

Try to resolve the field by checking for a colon : as separator.
If we can't find one try to resolve it by looking for a period . as separator.
If we find one, use the identified field name but make sure to generate a warning that we are going to stop supporting periods as separator in the future.
Does that work for you @xaviarias?

Yes, we should issue a warning, if .-separated filters have been used.

Hi @wallner and @tkrille,
That would be fine for us since we only use simple attributes, but bear in mind that complex attributes may have sub-attributes separated by '.' as stated in the SCIM RFC (https://tools.ietf.org/html/draft-ietf-scim-api-00#section-3.8).
So maybe it should be worth to implement a resolver that can handle both kind of attributes, simple and complex. This is of course up to you :)
For the moment we have a workaround that filters results once they are retrieved.
Thanks for your help !

Regarding the filtering by schemas as commented by @wallner, we use the OSIAM connector to query user resources, actually I ignore what is happening under the hood.

Hello @xaviarias,
sadly complex types are not supported by our implementation of extensions at the moment and changing that without a critical performance hit is not a trivial task due to the way we implemented extensions and are using a relational database as storage, so we can't promise that for the near to mid-term future.

Of course, if you really, really need complex extension fields @xaviarias, then we can certainly figure something out, even in short-term :)

Hi @wallner and @tkrille, we use only two simple attributes. Thanks for your support!


Cli has a limit on how many icons it can handle?

🐛 Bug Report
I have 210 icons that I run through the CLI and they always stop at  icon 186, they simply refuse to process more.
I also removed the -silent from my command to see if I get any errors but nothing.
To Reproduce
Try to run more than 200 icons through the cli
Expected behavior
Should handle all icons or show an error why it stops.
Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard
Paste the results here:
## System:
 - OS: macOS 13.2.1
 - CPU: (10) arm64 Apple M1 Pro
 - Memory: 70.72 MB / 16.00 GB
 - Shell: 5.8.1 - /bin/zsh
## Binaries:
 - Node: 17.9.1 - ~/.nvm/versions/node/v17.9.1/bin/node
 - Yarn: 1.22.19 - /usr/local/bin/yarn
 - npm: 8.11.0 - ~/.nvm/versions/node/v17.9.1/bin/npm

as I pushed create, I realized I should check the limit on my url-loader setting.. added an extra 0 and it works now.


fire should lowerCase() event names

Since all event names are automatically lower-cased from HTML, fire should do the same:
<polymer-element on-customEventName='{{ handler }}'>

this.fire( 'customEventName' ); // doesn't work
this.fire( 'customeventname' ); // works

I'm going to open a docs ticket to note this as a possible point of confusion.
I don't know if there's much work happening on a devtools extension at present -- @garlicnation is this something the linter could check for?

It's totally something that could be added to the linter!

Closing this issue since fire is now moved to the legacy element in Polymer 2


How to find new messages?

If there was a way to find the most recent comment that would be really convenient. I'm thinking something like
While True:
if com = getComment() :
and have com be the most recent comment

@DavidAwad seems like the "right way" to do this would be to check the room's history; you can do this with the current v1 api so I am going to close this issue. if you'd like to submit a PR with an explicit method I would gladly review and merge.


Error 'Unable to retrieve stack details' on stack details

Description
Current version(1.15.3) may have an issue on handling stacks with name include 'docker'.
Steps to reproduce the issue:

Create stack named 'docker-compose-ui' or 'docker_compose_ui';
On page 'Stack List' click stack to display stack details;
Error 'Unable to retrieve stack details' pop out;

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:

Portainer version: 1.15.3
Target Docker version (the host/cluster you manage): 17.09.0-ce
Platform (windows/linux): linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): docker-compose.yml as below

version: '3'
services:
web:
image: "portainer/portainer:1.15.3"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "9000:9000"

Target Swarm version (if applicable):
Browser: Chrome 62.0.3202.94

I was able to reproduce this, will investigate.

I still have this issue with 1.16.3 and 1.16.4.
Tested with stack name docker-registry, docker_registry and dockerregistry.
Let me know if you need more details.

That is a regression introduced via https://github.com/portainer/portainer/commit/eb4357937873b8af16dcc76e8906874549d04354#diff-070ff54db6055aeba28f539a86e5d2a6
Will be fixed ASAP.


Fix missing recursive_guard parameter in Pydantic v1 for python 3.12.4+

Change Summary
I add args recursive guard=set() when calling evaluate function because in python 3.12 they don't add default value for this params. You can see that here.
While waiting for this merge request to be accepted, you can quickly fix it by using python version 3.12.3
Related issue number
fix https://github.com/pydantic/pydantic/issues/9609 and fix https://github.com/pydantic/pydantic/issues/9607
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review
skip change file check

This PR is followed by this PR.

Thanks for your work on this! Closing this in favor of https://github.com/pydantic/pydantic/pull/9612, which added an extra comment. Thanks for helping us get started on this 🚀 !

@sydney-runkle  I just got this error today. Could you please tell me what version of pydantic should I install to fix this error?(I use Python 3.12.4 on ubuntu 22)

@sydney-runkle  I just got this error today. Could you please tell me what version of pydantic should I install to fix this error?(I use Python 3.12.4 on ubuntu 22)

You should use python version 3.12.3 or use pydantic v2.

You should use python version 3.12.3 or use pydantic v2.

Yep, I'd recommend this until we get out next release out!

HI all, I'm just running into this error:
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydantic/v1/typing.py", line 520, in update_field_forward_refs
field.type_ = evaluate_forwardref(field.type_, globalns, localns or None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydantic/v1/typing.py", line 66, in evaluate_forwardref
return cast(Any, type_)._evaluate(globalns, localns, set())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'.
pydantic version is 3.6.1 and my Python version is 3.12.4.
How can I fix this error? SOS~~ THANKS

HI all, I'm just running into this error: File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydantic/v1/typing.py", line 520, in update_field_forward_refs field.type_ = evaluate_forwardref(field.type_, globalns, localns or None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydantic/v1/typing.py", line 66, in evaluate_forwardref return cast(Any, type_)._evaluate(globalns, localns, set()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'.
pydantic version is 3.6.1 and my Python version is 3.12.4.
How can I fix this error? SOS~~ THANKS

I don't think pydantic has version 3.6.1. But you can fix this problem by using pydantic v2 or python version 3.12.3

HI all, I'm just running into this error: File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydantic/v1/typing.py", line 520, in update_field_forward_refs field.type_ = evaluate_forwardref(field.type_, globalns, localns or None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pydantic/v1/typing.py", line 66, in evaluate_forwardref return cast(Any, type_)._evaluate(globalns, localns, set()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'.
pydantic version is 3.6.1 and my Python version is 3.12.4.
How can I fix this error? SOS~~ THANKS

I don't think pydantic has version 3.6.1. But you can fix this problem by using pydantic v2 or python version 3.12.3

Sorry for mistyping. My pydantic version is 2.6.1.


After running the test, a large core file will be generated in the /tmp directory.

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (6ac22df 2023-10-25T00:27:18.529420296Z)
What command(s) is the bug in?
forge test --match-path test/file.t.sol -vv
Operating System
Linux
Describe the bug
After running the test, my /tmp directory:
du  -sh /tmp/forge.1699254022.43842*
1.4G    /tmp/forge.1699254022.438428.6.core
1.4G    /tmp/forge.1699254022.438429.6.core

Those are core dump files https://en.wikipedia.org/wiki/Core_dump
Do you have any other info like logs or a reproducer? Otherwise can't do much


As a user, I would like the MagicMirror to display compliments.

Module: https://github.com/MichMich/MagicMirror/tree/develop/modules/default/compliments
Compliments are configurable by user
Acceptance Criteria: Compliments are displayed to the corresponding user based on the configuration.

Can be configurable once the facial recognition is downloaded

Tested


Allow zero callback booking quotas to be returned

Trello-4062
Currently we have fallback logic so that if the CRM is offline or 0 callback slots are available we are still going to return a default set of slots that will allow candidates to continue their sign up.
We recently had an unexpected influx of TTA sign ups that were being offered callback booking slots and found we had no way to stem the flow of bookings (if we mark all slots as available the default slots would then be offered). We currently offer 14 days in advance, so the likelihood of all slots being booked are slim, but we want to account for the scenario in case it does happen in the future.
Update the callback service to only return fallback slots when the CRM is offline. If the CRM is indicating there are no available slots we want to surface this on the websites and so we will now return 0 slots available.

👍 LGTM.
Presumably the Sonar Cloud warnings were there before these changes and will be resolved sometime ?

Yeah these warnings are unrelated, they're on my list but low priority


Xref parser mgiparser

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion;
Review the contributing guidelines for this repository; remember in particular:

do not modify code without testing for regression
provide simple unit tests to test the changes
if you change the schema you must patch the test databases as well, see Updating the schema
the PR must not fail unit testing

Description
Updates:
Used Text:CSV for parsing the file
Removed loading for mgi description from xref table
Updated to get the description from the same file being read (MRK_ENSEMBL.rpt)
Use case
XrefParser for source MGI (MGI_official) for mouse (mus musculus)
Benefits
Code quality improvements, removed dependency on previous loaded mgi description from xref table
Possible Drawbacks
None
Testing
No until test. However, have tested it by running the xref_parser script and checked the _xref database for row counts.

Coverage remained the same at 81.127% when pulling 043f350f2f872bb4f6ce5fff26e1d6682a5207ac on xref_parser_mgiparser into fb849f5a081df4e1d1eb5d5fbbba8de0eeb416e8 on feature/xref_sprint.


fix(search): Fix search page to respond to searches made from sidebar

Signed-off-by: Phil Kuang<EMAIL_ADDRESS>Hey, I just made a Pull Request!

Closes #6597
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@iamEAP Thanks for your insight! I took your suggestion and refactored UrlUpdater to more actively manage syncing search state with the URL. Let me know what you think!

Hey @kuangp, thanks for taking on this issue! I have checked out the latest version 1e1187362021ea342bb27a7c2b722e33a746725b and found following differences in search behaviour:

By default, the type software-catalog was selected before, which seems to been gone with this change. Is this intended?
Similarly, when typing any term in the side bar and confirming with Enter, the search page will have an empty search bar, both when being on the search page already or somewhere else

I'm on Firefox 90 and tried the above with a fresh yarn install, can you reproduce this behaviour?

@ottosichert thanks for reporting these issues! I updated the change with a fix and confirmed it on Firefox.

@iamEAP do you have any other comments on this change?

@camilaibs updated based off your suggestions, thanks!


Unable to download 'scratch' models

I am unable to download the models provided in configs/scratch/ Getting a 403 Forbidden error.

Thanks for reporting. We will fix it soon.


Push grasping support

We discussed this at our meeting last Friday. It would be nice if there were some programmatic support to push-grasping. I am speculating a function in robot.py perhaps that looks like:
def pushGrasp(self, target, distance, endPose=None):
    ```
    Pushes the target object which ends up at endPose
    @param target target kinbody
    @param distance push distance
    @param endPose defaults to grabbing the target before the push

This function will [@jeking, @mkoval, please edit]:

Transform the target to endPose and grab it
Move the hand straight by distance

What do you think?

Thinking more, I wonder if this should be in prpy/planning instead implemented as a PlanningMethod called pushGrasp . I can imagine starting with a kinematic planner and then graduate to quasi-static physics and other fanciness.

@jeking04 added this to HerbPy here: https://github.com/personalrobotics/herbpy/pull/15.


I am using EKEventEditViewController in my project. Due to this category "Cancel" and "Done" buttons are not coming correctly in calendar

same problem.


Animation editor timeline playhead does not advance when adding a key if the confirmation dialog appears

Godot version:
3.2 beta 1 mono
OS/device including version:
Win10 Home 64
Issue description:
It can be seen that when you enter the first frame by clicking on the key icon to add a keyframe, the frame is entered in the animation editor but the timeline did not move, then when you click on the key icon again , the second frame overlaps the first frame.
The first frame disappears, it cannot be selected.
Although you double clicked on the key icon, only the second frame was added.
The first frame was overwritten.
The problem was that the timeline did not shift when the first frame was introduced.
I would like to add something, add a new animation by pressing the "Animation" -> "New" button should bring the timeline to 0.
Steps to reproduce:
Add the initial keyframe in the animation editor and then a new keyframe.
The first frame will be overwritten by the second frame, then even though you pressed the keyframe add button twice, only the second frame was added to the animation editor.

Minimal reproduction project:
animationEditorBug.zip

The solution to this problem is to apply the rule that every time a frame is added to the timeline, the time bar must move automatically.
Currently that is not happening when the create framekey icon is pressed for the first time.

I believe this issue has existed since at least 2.1, probably even always.  Might even be an issue somewhere for it...
The work around we've used is to click the keyframe and then scrub the timeline forward then backward, re-keyframe over top the first, and then it will advance.
Seems it doesn't want to advance a step if there is no existing keyframes.

There really are two possible and valid paths.
On the initial press of the "Add keyframe" button the timeline of the animation is created, then two things can happen afterwards:
A - If you insert a new frame (I mean automatically by the editor), then the line should move automatically.
B - If you do not insert a new frame, then the line should not be moved, leaving 0.0 ready to add the first animation frame.

uhf that's awkward. Note to self: "don't include issue id when trying to something in git you haven't done before" :D

Seems fixed in 3.2

Ok it's not fixed if you have confirmation enabled. It's only correct when you insert without confirmation.

I think this bug exist since 3.1 at least.
If the user presses the key sympol on a property without an existing track, after the first key is set, the timestamp is not advanced, therefore the first key is overwritten by the second key:
https://user-images.githubusercontent.com/47016402/114317464-7fbbf480-9b08-11eb-9f70-b07f2baa308a.mp4
See simple steps to reproduce here:
https://github.com/godotengine/godot/issues/47808

Stay present at v3.5.beta1.official [b9b23d222]
When the first key is added, the animationplayer's timebar doesn't advance, however it does advance with any other keys added after the first one.


Base default constraint names on column name instead of property name.

Fixes #5475

:shipit:

Need to also update the reverse engineering tests.


MAINT: Refactor structure of interfaces

Currently, our interfaces module is pretty messy. This PR tries to tidy up a little. Future effort could address discarding unused interfaces and eliminating duplicities.

Hello @oesteban, Thank you for updating!

In the file niworkflows/interfaces/images.py:

Line 215:15: F821 undefined name 'OutputMultiPath'

To test for issues locally, pip install flake8 and then run flake8 niworkflows.

Hello @oesteban, Thank you for updating!

In the file niworkflows/interfaces/images.py:

Line 215:15: F821 undefined name 'OutputMultiPath'

To test for issues locally, pip install flake8 and then run flake8 niworkflows.


External js files are not working inside angular 2 components

I'm working with altair admin template. Trying to convert it into an angular2 spa.
Everything is working fine except external js. Javascripts are not working properly. But the css files are working. Material components and modals other javascript functionality nothing is working inside angular component file.
Stackoverflow Problem Link

For support requests you can use gitter or take a look at project's the wiki page in order to get more complete idea on how the it works.