Cannot create Python 3 virtualenv in alppaca checkout

It seems we a being bitten by https://github.com/pypa/virtualenv/issues/740, the file setup.cfg is picked line up as config file by some tool. What triggers the error is the following line in the file:
release = 0%{?dist}

As a result, various Python 3 stuff fails, e.g. setting up a new virtualenv:
$ rm -rf venv3; virtualenv -p /usr/bin/python3 venv3
Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in venv3/bin/python3
Also creating executable in venv3/bin/python
Installing setuptools, pip...
  Complete output from command /home/snordhaus...ca/venv3/bin/python3 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
  Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking setuptools
Downloading/unpacking pip
Installing collected packages: setuptools, pip
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/share/python-virtualenv/pip-1.5debian1-py2.py3-none-any.whl/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/share/python-virtualenv/pip-1.5debian1-py2.py3-none-any.whl/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/usr/share/python-virtualenv/pip-1.5debian1-py2.py3-none-any.whl/pip/req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/usr/share/python-virtualenv/pip-1.5debian1-py2.py3-none-any.whl/pip/req.py", line 671, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/usr/share/python-virtualenv/pip-1.5debian1-py2.py3-none-any.whl/pip/req.py", line 901, in move_wheel_files
    pycompile=self.pycompile,
  File "/usr/share/python-virtualenv/pip-1.5debian1-py2.py3-none-any.whl/pip/wheel.py", line 140, in move_wheel_files
    scheme = distutils_scheme(name, user=user, home=home, root=root)
  File "/usr/share/python-virtualenv/pip-1.5debian1-py2.py3-none-any.whl/pip/locations.py", line 147, in distutils_scheme
    d.parse_config_files()
  File "/usr/lib/python3.4/distutils/dist.py", line 401, in parse_config_files
    val = parser.get(section,opt)
  File "/usr/lib/python3.4/configparser.py", line 773, in get
    d)
  File "/usr/lib/python3.4/configparser.py", line 374, in before_get
    self._interpolate_some(parser, option, L, value, section, defaults, 1)
  File "/usr/lib/python3.4/configparser.py", line 423, in _interpolate_some
    "found: %r" % (rest,))
configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%{?dist}'

Once the offending line is commented out, everything works as expected.

What's wrong with release = 0 (or removing it altogether)? I found out what it does once and as far as I remember it's kind of useless and not worth the hassle. Some kind of interpolation that never gets used I think.

@mriehl you arguments are convincing. In fact I don't even understand what purpose this serves.

The %{dist} suffix is an old RHEL habit. For example, they mark RHEL6 packages with .el6 and RHEL5 with .el5.
If it helps somebody, then +1 for removing it.

Genau. Das ?dist kann man da wohl rauswerfen. Machen und das issue hier schließen.

Fixed.
As Schlomo said, the version format changed from "alppaca-1.0_123-0.el6.noarch" to "alppaca-1.0_123-0.noarch".


Update desktop-visual-calculations-overview.md

Mentioned on the forums, conditional formatting not available currently: https://community.fabric.microsoft.com/t5/Desktop/Share-your-thoughts-on-visual-calculations-preview/m-p/3708834#M1208275
Didn't see it in the list of limitations.

@davidiseminger

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Good addition - thanks for the contribution!
#sign-off


When using TypeAdapterConfig.GlobalSettings.Default.IgnoreNullValues(true), it causes the Mapper function to be called twice.

There is example code following this. When Adapt() is called, it can be seen from the console that SummaryDetail runs twice. I would like to ask what is the reason for this and how to avoid it. I have also uploaded the test code for the entire project in the attachment. Thank you all for helping me answer this.
Please attach the test code file, and I will take a look to provide further assistance.
TestMapster.zip
Program.cs：
TypeAdapterConfig.GlobalSettings.Default.IgnoreNullValues(true);
TypeAdapterConfig.GlobalSettings.Scan(Assembly.Load("TestMapster"));

TestInput.cs：
public class TestInput
{
    public string Summary { get; set; }
}

public class TestView
{
    public string Summary { get; set; }
}

MapperConfig.cs
public class MapperConfig : IRegister
{
    public void Register(TypeAdapterConfig config)
    {
        config.ForType<TestInput, TestView>()
       .Map(dest => dest.Summary, src => SummaryDetail(src.Summary))
       ;
    }

    private static string SummaryDetail(string s)
    {
        Console.WriteLine($"================{s}================");
        return s + " plus";
    }
}

Controller.cs
    [HttpGet]
    public TestView Get()
    {
        var input = new TestInput { Summary = "Hello World" };
        return input.Adapt<TestView>();
    }

The attachment did not upload successfully, I am re-uploading it here.
TestMapster.zip


Fetching versions of specific package

Your API is the perfect, but is there exist any possibility to fetching all the versions of some package?

I think you could do a GET on the npm registry directly like
https://registry.npmjs.org/typescript

I see. Thank you for answer @Jolg42


Consistent naming for serde attributes

Today serde have several groups of attributes, a part of which influences serialization and deserialization, and a part -- only serialization or only deserialization. These are groups:
bound group:
#[serde(bound = "T: MyTrait")]
#[serde(bound(serialize = "T: MyTrait"))]
#[serde(bound(deserialize = "T: MyTrait"))]

skip group
#[serde(skip)]
#[serde(skip_serializing)]
#[serde(skip_serializing_if = "path")]
#[serde(skip_deserializing)]

with group:
#[serde(with = "module")]
#[serde(serialize_with = "path")]
#[serde(deserialize_with = "path")]

Apparently, naming goes anyhow, there is no single system. I suggest to create it, having renamed some attributes for achievement of such system:
bound group:
#[serde(bound = "T: MyTrait")]
#[serde(bound(serialize = "T: MyTrait"))]
#[serde(bound(deserialize = "T: MyTrait"))]

skip group:
#[serde(skip)]
#[serde(skip(serialize))]
#[serde(skip(serialize = "path"))]
#[serde(skip(deserialize))]

with group:
#[serde(with = "module")]
#[serde(with(serialize = "path"))]
#[serde(with(deserialize = "path"))]

Overall I think I'm happy sticking with the current names.
Thanks anyway for this suggestion!


Write tests for modals

Description
Before we migrate the Modal component (https://github.com/freeCodeCamp/freeCodeCamp/issues/52759`, we want to ensure the existing modals have sufficient test coverage.
If we already have a corresponding Playwright test file for the modal, check if the test suite covers all expected behaviors (conditional rendering logic, user interaction, keyboard usage, etc.). If we don't have a corresponding Playwright test file for the modal, add the file in.
Note: I think we might want to incorporate modal tests with the relevant user flows rather than having them in separate files, but we can move the tests around later when we have all of them in.
Task list
- [ ] `client/src/components/Donation/donation-modal.tsx`
- [ ] `client/src/components/profile/components/time-line.tsx`
- [ ] `client/src/components/settings/delete-modal.tsx`
- [ ] `client/src/components/settings/reset-modal.tsx`
- [ ] `client/src/components/signout-modal/index.tsx`
- [ ] `client/src/components/SolutionViewer/exam-results-modal.tsx`
- [ ] `client/src/components/SolutionViewer/project-modal.tsx`
- [ ] `client/src/components/staging-warning-modal/index.tsx`
- [ ] `client/src/templates/Challenges/components/completion-modal.tsx`
- [ ] `client/src/templates/Challenges/components/help-modal.tsx`
- [ ] `client/src/templates/Challenges/components/project-preview-modal.tsx`
- [ ] `client/src/templates/Challenges/components/reset-modal.tsx`
- [ ] `client/src/templates/Challenges/components/shortcuts-modal.tsx`
- [ ] `client/src/templates/Challenges/components/video-modal.tsx`
- [ ] `client/src/templates/Challenges/exam/components/exit-exam-modal.tsx`
- [ ] `client/src/templates/Challenges/exam/components/finish-exam-modal.tsx`
- [ ] `client/src/templates/Challenges/exam/components/foundational-c-sharp-survey.tsx`
- [ ] `client/src/templates/Challenges/exam/components/survey-modal.tsx`

I believe I spotted the existing Playwright test for the donation modal.
There is the modal body itself that appears to need a fair bit of tests like the animation, the bear block completion illustration, the rows, the confirmation, and the header. Is this something I should consider working on?


Can't select project when doing ng update

🐞 Bug report
Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [x] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description
When running ng update --all --force is will only update the package.json in the root of the Angular project, but will skip your projects in the projects folder. There is no way to specify the project on the command line. Having a few larges libraries it's convenient to update projects too.

We usually go through all projects and update them, but I think that in the specific case of libraries we don't have any migration for 9 right now. @clydin @alan-agius4 can you confirm?

Migrations run against all projects in a workspace. They will run on libraries and applications, if the migration schematic is designed to do so. For version 8 we don't have any migration that effects a library.
However from the request above, I am assuming that the user (@farlock85) is using some sort of workspace concept maybe with yarn. Ie having multiple package.json` in various projects. At the moment, this is not supported by the CLI and we only update dependencies in the root package.json.

@alan-agius4 It's been a while I worked with libraries (hense the upgrade) so not sure if I'm doing anything special.
I found this random stackblitz: https://stackblitz.com/github/tobi-or-not-tobi/lipstick-css?file=package.json
If I download it and run ng update --all --force it will update the main package.json correctly, but leaves the projects\sample-components\package.json untouched.

@rogerfar, what do you expect to be changed in the library package.json? The peerDependencies?

Even I am facing the same issue. My library has peer dependencies. Want to know whether ng update(angular 7 to 8) updates any library related files or do we need to manually update library files?

@kishore5a8, libraries projects will also be updated when running ng update.

@alan-agius4 yeah I'm not sure.. We use libraries only internally to separate larger pieces of codebase, makes it easier to maintain and unit test, so updating the peer dependencies at that time would be nice.

Thank you @alan-agius4  for your quick response. I came to know that ng update from angular 8 to 9 updates library projects. Below link says that this was introduced in angular 9. Tried the same for angular 7 to 8 but library project is not updated.
https://angular.io/guide/migration-renderer#im-a-library-author-should-i-run-this-migration
https://indepth.dev/exciting-times-ahead-be-ready-for-angular-9/#apply-schematics-to-libraries
@rogerfar , still peer dependencies in library's package.json are not getting updated. so do you suggest to update these peer dependencies manually after the upgradation?

Hi all,
Yeah, peerDependencies need to be updated manually one of the reason is that it’s up to the library author to decide the support strategy of their library.

Tried the same for angular 7 to 8 but library project is not updated.

What did you expect to see updated in the library when you updated from version 7 to 8?
Prior to version 9, ng update did update library projects as well.

I expect that ng update to angular 8 should update library related files like .ts and tsconfig.json and etc.,
May be my library does not have any code that needs to be updated.

The libraries tsconfig only needs to be updated when updating from Angular 8 to 9.

Closing this issue as it seems there is no bug here.


update theme

update the theme from 0.4.2 to 0.5.0
update settings in _config.yml (footer and better code style)
Fix \Drupal  code highlighting
add new color style for code blocks comment (/** */)  and function name
refactor twig chapter (use render_with_liquid to render all page without {%raw%}). See this
fix some code to better style

@maks-oleksyuk Thanks so much!  This looks amazing.
I did make some changes to the link color as the chapter names on the left side were very dark and hard to read.  Did you include those changes?  I am not able to preview on my local.

Never mind.  I see in your changes that you did.  Ok.  Merging!


Implementation for battery level, working with multiple batteries

Working on a multi battery one.

^
|

I'm already working on it locally and I'm almost done!

A multi line one?

Yup!

I'm not sure if the battery path is correct as I'm working with dummy files
on my pc. This prints each battery on a seperate line and numbers the title
accordingly.
Here's what I've got so far, test it out!:
getbattery () {
    case "$os" in
        "Linux")
            batteries=($(cat /sys/class/power_supply/BAT*/capacity))

            # If there's only a single battery,
            # don't number the subtitle.
            if [ "${#batteries[@]}" == 1 ]; then
                prin "Battery: ${batteries[0]}%"
                return
            fi

            # Print each battery on a seperate line.
            index=1
            for bat in ${batteries[@]}; do
                prin "Battery${index}: ${bat}%"
                index=$((index + 1))
            done
        ;;
    esac
}

The "Battery" text should be styled as in the config file.

Yeah, the path seems correct. I have done my implementation on a laptop.

Yup!
I'm working on letting the user style it the same as the other titles.

Btw on some models the first battery is BAT0 while on others it's called BAT1, but I don't think it makes a difference.

It doesn't make a difference with the way I've set it up!

Also changing the title for the batteries works now.

If the first battery is 0 and there are multiple batteries, should the index not be 0 instead of 1 at the starting point?

I have 1 battery and it's called 0. No problem.

I'll change the index to 0, you're right.

Shouldn't you first check if BAT0 exists? Otherwise the index should indeed be 1.

Yup, the function has no error handlng at the moment.

It's in master now, please test it out.

I'm closing this PR, lets move discussion to #30.

Works.

Awesome!
Thanks for your PR too!

No problem.
On Feb 1, 2016 5:11 PM, "Dylan Araps"<EMAIL_ADDRESS>wrote:

Awesome!
Thanks for your PR too!
—
Reply to this email directly or view it on GitHub
https://github.com/dylanaraps/fetch/pull/44#issuecomment-178009322.


Olivia Zoe: Watch replicasonline.me.uk

Olivia Zoe requests the watch of the watch_keyword replicasonline\.me\.uk. See the Metasmoke search here and the Stack Exchange search here.

replicasonline\.me\.uk has been seen in 0 true positives, 0 false positives, and 0 NAAs.

!!/approve

Coverage remained the same at 65.091% when pulling 92ee665a62f798540ca7f3428e2529409688804c on auto-blacklist-1524119728.742188 into 0c9c1b09478d84618e50ca8380e3155b6636283b on master.


[swiftc] Add test case for crash triggered in swift::ValueDecl::setType(…)

What's in this pull request?
Crash case with stack trace:
swift: /path/to/swift/lib/AST/Decl.cpp:1655: void swift::ValueDecl::setType(swift::Type): Assertion `!hasType() && "changing type of declaration"' failed.
8  swift           0x000000000108473c swift::ValueDecl::setType(swift::Type) + 92
9  swift           0x0000000000e788cc swift::configureConstructorType(swift::ConstructorDecl*, swift::Type, swift::Type, bool) + 428
14 swift           0x0000000000e7bf36 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 150
15 swift           0x0000000000e9d962 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int) + 994
16 swift           0x0000000000c37c0f swift::CompilerInstance::performSema() + 3295
18 swift           0x00000000007c5e46 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2838
19 swift           0x0000000000791ed8 main + 2840
Stack dump:
0.	Program arguments: /path/to/swift/bin/swift -frontend -c -primary-file validation-test/compiler_crashers/28292-swift-valuedecl-settype.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -module-name main -o /tmp/28292-swift-valuedecl-settype-ee60c6.o
1.	While type-checking 'a' at validation-test/compiler_crashers/28292-swift-valuedecl-settype.swift:10:1
<unknown>:0: error: unable to execute command: Aborted
<unknown>:0: error: compile command failed due to signal (use -v to see invocation)

Resolved bug number: –

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test and merge

CI failure is unrelated.

@swift-ci Please test and merge


Adding a Spanish README to enhance the project's reach.

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ X] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[ x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x ] I have added a convincing reason for adding this feature, if necessary

Other information
I have deemed it appropriate to add a README in Spanish to enhance the project's reach and to be able to reach a wider audience.

Thanks for your contributions but we reached to the decision that any translation should only be on the website https://tauri.app .


Upgrade Cli.Utils to preview4-004215

cc @natemcmaster @pranavkm

For the RC.2 projects, the Msbuild referred by preview3 Cli.Utils package does not work.
See aspnet/scaffolding/issues/350

Which feed is this package on?

It is availabe on the cli feed

Ok cool. :shipit:


[varLib] Add support for building VVAR table from vmtx and VORG tables.

Added new function init.py::_add_VVAR() to build VVAR table, and shared code from _add_HVAR().
Added test case.

@anthrotype Please take another look. I think I have fixed the code issues. I did not fix the test font issue, as I see that all the CFF2 tests I have added over the last several months use binary OTF files. I would prefer to open a new issue/PR to fix all of these.

Add support for building VVAR table from vmtx and VORG tables.


Portfolio: application deploy

Deploy my portfolio using GitHub Pages.
Check the online version of my portfolio and make sure that the page works properly.
Update the README of my repository to include a link to the online version.

The link to the online version of my application

Hi @AlexisJW ,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
linter checks :heavy_check_mark:
professional readme :heavy_check_mark:
Added live demo link to reade :heavy_check_mark:
deployed with github and live demo working :heavy_check_mark:
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Add a minTileHeight to ListTile widget so its height can be customized to less than the default height

Use case

Proposal
/

https://github.com/flutter/flutter/pull/145244


[Messages page] Add a Search Bar

As a User I want to have a Search Bar on "Messages" page so that I can search for messages
Acceptance Criteria
A "Messages" page should have a Search Bar in order to allow User to search for messages.

Search bar on Message page is added


how  can I send the ajax  request  and get the json response?

You can send request using ruby code


[WIP] refactor: replace header icons with slot

Related issue

Closes #1187
Scope of work

Screenshots of visual changes

Checklist

[ ] No commented blocks of code left
[ ] Run tests and docs
[ ] Self code-reviewed

If applicable:

[ ] I followed composition rules for my component
[ ] I tested the component in most common device sizes (can be tested in Storybook from viewport addon in top menu)
[ ] I accept Individual Contributor License Agreement

@martaradziszewska like we are talking, we can't remove content from this slot in the component. Maybe we should add the possibility to rewrite icon and name for example:
{
icon: "heart" // use for icon
name: "favorite" // use for event name @click:favorite
}


Messy interface inside GNU Screen

$ date
Thu May 26 00:46:39 -03 2022
$ cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
$ uname -r
5.14.0-70.13.1.el9_0.x86_64
$ screen --version
Screen version 4.01.00devel (GNU) 2-May-06
$ ./mprocs --version
mprocs 0.2.2
$ echo $TERM
screen
print (running: './mcprocs top' inside a GNU screen session):
https://i.imgur.com/HIoGsiR.png

Issue only happens inside a screen. Directly from a normal TTY on the same machine it works just fine.
Tested with latest GNU screen version (4.09.00 (GNU) 30-Jan-22) and the same issue happens.
Tested with literally all $TERM modes my system supports via a script, no luck: here's link to all the modes I've tested: https://www.klgrth.io/paste/w3a5p
Inside a tmux session it works just fine, but I really want to use GNU screen.

Any clue?
Thank you in advance.

I was happening because mprocs used rgb colors, which screen doesn't support by default (it's possible to change in screen's config though). I changed mprocs to only use 256 colors. The fix is included in the 0.2.3 release.


[UI] Change the background

What about this background ?
https://github.com/user-attachments/assets/7525d25d-26bd-4a19-aa21-24e95b4f8456

@ianshulx , please assign me this issue if necessary or if changes are needed.

@ianshulx looks pretty good, I've assigned you 👍

@aLok-1105 hi can you pls recheck it, there's some issue in reflecting changes you made??

@ianshulx Can you give more detail about the issue ?

@aLok-1105 sorry alok now page is working but when it was merged few changes weren't working, like bg wasn't changed and effect was working but at the end of page, not it's okay.

@ianshulx Okay 👍🏻


Intermittent problem with pipeline

I have this intermittent problem with pipeline. I initially thought it was a worker node - I therefore deleted and a new worker node was provisioned. The problem is with docker:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
time="2020-02-06T09:27:25Z" level=fatal msg="exit status 1"
After re-running the pipeline, it runs successfully. The problem is intermittent. Any suggestions/ideas?
The pipeline has 3 publishImageConfig and one starts running while another gets aborted as a result of the error message above and stops the entire pipeline.

Useful
Info

Versions
Rancher v2.3.3 UI: v2.3.25

Route
authenticated.project.pipeline.pipelines.index

I tried simulating the problem again by running a pipeline and it failed. I logged into the node where the pipeline was running and this was reported in the log:
cleanup: failed to unmount IPC: umount /var/lib/docker/containers/ea5865d09bceb35662caa0f1a79d3504b5b644bc027914099d870d2b78fdb48c/mounts/shm, flags: 0x2: no such file or directory"


Document how the "Share" feature works on Meltano.com

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1740
Originally created by @dmor on 2020-02-14 15:56:33

I should be able to go to Meltano.com and search "Share" and find information on how this feature works. Does the link work even if the person I send it to doesn't have an account?
Seems like this would fit in at the end of the flow for https://meltano.com/docs/getting-started.html#create-dashboards

View 5 previous comments from the original issue on GitLab


Function call in type checker seemed to be irrelevant

When type checking a top level let rec (TcTerm.check_top_level_let_rec), there is a call to Subst.open_let_rec. In the call, it opens the let_rec only if it is not a top level one. So it seems that the call there is meaningless since it happens only for top level ones as far as I can see.
Checking of letrecs applies guards to make sure the values on the bound variables are decreasing. How does it relate to opening the let rec? It is supposed also to open universe variables, should this happen anyway? What is the difference between a top level one and a nested one?
Is the definition is_top_level dynamic? I.e. does it change during type checking?
@nikswamy Should I remove this line from TcTerm.check_top_level_let_rec?

This is fixed here (we actually still need to open the universe variables):
https://github.com/FStarLang/FStar/blob/c_fstar-build_two_phase_checker/src/syntax/FStar.Syntax.Subst.fs#L544
Closing.


Underline / strikethrough in PDF

The PDF output does not show add/rm as underline / strikethrough. This is an issue for CWG. #18 makes me prefer PDF, were it not for the lack of underline / strikethrough...

I did look into adding underline/strikethrough in PDF but LaTeX support for them is pretty poor. I can say that #18 will be easier for me to fix.

This comment is a bit late, but this issue was fixed such that spans get underline / strikethrough, but divs do not. Examples:


Allow empty strings as property values

Hi,
The Devicetree specification (release 0.1) states in section 2.2.4 that:

A property value is an array of zero or more bytes that contain information associated with the property

Empty strings are therefore valid. They are also used in some devicetrees of the Linux kernel and other projects that also use device trees. Also, dtc is fine with empty strings.
Best regards,
Jean

Hi,
Indeed, this requirement must be fixed, thanks for the PR.
The patch creates a regression in the test suite, the gen_emptystr test was expected to fail.
Looking at this particular test, I still think it should fail but adding a single empty string should pass.
Could you change the length test instead of removing it add a new test in the suite to check if adding a single empty string does not fail ?

Hi,
Thanks for pointing out the failing test suite.
I'm not sure to have fully understood the changes you proposed on the test suite.
To me, the gen_emptystr test seems valid (it should not fail), and the only change to bring to it would be to remove it from the list of failing tests.
Best regards,
Jean

The behaviour of empty string is unclear, looking at the code it could creates a node with 4 0´s bytes and will be decoded from dtb as a zero byte attribute.
In the same way, having an empty string along an correct string won't allow it to be decoded as a string attribute but an array of words.
Could you check the behaviour of dtc (feeding such dts, and reconverting back the dtb to dts) and if it' sur aligned, I'll accent the PR and disable the gen_emptystr test.
Neil

The empty string seems to have a well-defined behavior to me. Even though a string is empty, it is still an atom, so:

having an empty string along an correct string won't allow it to be decoded as a string attribute but an array of words

seems normal to me.
To illustrate, below is a dummy DTS:
/dts-v1/;
/ {
   compatible = "imx-ckih1", "fixed-clock";
   empty = "";
   empty2 = "", "";
   compatible2 = "imx-ckih1", "", "", "fixed-clock";
   compatible3 = "imx-ckih1", "", "", "fixed-clock", "";
};

after compiling to DTB and from the DTB to another DTS:
dtc -I dts -O dtb -o a.dtb a.dts
dtc -I dtb -O dts -o b.dts a.dtb

the DTS output is:
/dts-v1/;
/ {
	compatible = "imx-ckih1", "fixed-clock";
	empty = [00];
        empty2 = [00 00];
	compatible2 = "imx-ckih1", "", "", "fixed-clock";
	compatible3 = "imx-ckih1", "", "", "fixed-clock", "";
};

with [???] being a byte string (section 6.1). When reading section 2.2.4, those byte strings seem to match a string and a stringlist well.
Best regards,
Jean

Thanks for the test, Could you also print the pyfdt dts output of this dtb ? I'm unsure about the compatible2 & 3 behaviour, it may need a sync with dtc.
Neil

Hi,
thank you for merging.
After passing the same dummy dts (compiled into a dtb with dtc) to samples/dtbtodts.py, I get:
/dts-v1/;
// version:		17
// last_comp_version:	16
// boot_cpuid_phys:	0x0

/ {
    compatible = "imx-ckih1", "fixed-clock";
    empty = [00];
    empty2 = [00 00];
    compatible2 = <0x696d782d 0x636b6968 0x31000000 0x66697865 0x642d636c 0x6f636b00>;
    compatible3 = [69 6d 78 2d 63 6b 69 68 31 00 00 00 66 69 78 65 64 2d 63 6c 6f 63 6b 00 00];
};

and after converting it back to dtb and dts:
/dts-v1/;

/ {
	compatible = "imx-ckih1", "fixed-clock";
	empty = [00];
	empty2 = [00 00];
	compatible2 = "imx-ckih1", "", "", "fixed-clock";
	compatible3 = "imx-ckih1", "", "", "fixed-clock", "";
};

So this seems fine.
Best regards,
Jean

Thanks for the result, I still need to fix the string detection to correctly output the strings.


Implement CircleCI Configuration for Testing and Pre-commit Hooks for  Ask-Astro

Objective: Integrate CircleCI into the project for enhanced automation and code quality.
Tasks:

[x] Set up CircleCI configuration.
[x] Implement CI pipeline for running tests.
[x] Configure CI to execute pre-commit hooks for linting, type-checking, ruff, and black formatting.

Benefits: Improve code reliability, maintainability, and streamline development processes.

https://github.com/astronomer/ask-astro/pull/19


The extension stopped working again

This extension will soon make me hysterical :)
Then everything worked, but now I have deployed a larger project and everything has apparently broken…
Did everything exactly the same as then, but it still issues a warning:

Here are my settings in the global file — setting.json

I also attach screenshots from the package.json file and node_modules folder with proof that I have installed the necessary packages:

The funny thing is that everything works well with CSS files, but as soon as I move into a project where variables are written in SCSS files, everything immediately stops working and knocks out a warning, which is shown in the very first screenshot.
Running VS Code as an administrator didn't solve the problem either.
Maybe I forgot to do something, but that's just not clear to me yet. Either, I did everything right, and it's already about expansion.

You need to define "cssvar.postcssSyntax": ["postcss-scss"] property as well, as defined here.
In future, I will possibly remove this property from the config and auto-configure it, but for now you need to define cssvar.postcssSyntax property.
If it still does not work, can you share the content of the SCSS file (filename is displayed in the warning popup that you get)?

Well, in general, the warning has disappeared, but now another error has appeared

That's how I now have it written in global settings.json

Here is the full screenshot where I showed that I installed the packages in devDependencies

I tried to install these packages simply in dependencies, but this did not solve the problem. I also tried to install the postcss-scss package globally, and it didn't really help either.

I am not able to replicate your issue, can you please share an isolated repro of this issue?
I have one suggestion though, can you move your global cssvar settings to local .vscode/settings.json and try if it works?

I tried to transfer it to the local config and still the exact same red error…
If there is a desire to understand the problem, then I attach the repository in which I tried to do all this
https://github.com/SineYlo/sit-down-pls
The variables are located in the folder - src/scss/config/variables/

It works for me, as is, no changes made to your project

Can you share which VSCode version are you using, though I am not sure if it's due to any of the VSCode APIs.
Also once you change the cssvar config/settings or re-install postcss-scss module in local, did you try restarting VSCode or refreshing the Window (CMD+SHIFT+P -> Developer: Reload Window)?
I should start adding logs to prod builds. Will do it in a separate release 👍🏾

Can you uninstall postcss and postcss-scss from global node_modules if it was installed globally earlier?
I guess it might be messing with NodeJS's require.resolve API.

In general, I tried everything in short, probably everything that is possible and impossible, but in the end nothing happened…
But there is one interesting point that I identified during the tests.
There is such a program called Prepros (you may have heard of it).
So the most interesting thing is if you run it in the project, the variables start working, but the error still does not go anywhere.
It is possible that the program itself somehow configures PostCSS and thereby the variables become visible.
Of course, you can run this program in projects every time, but this is not the solution to the problem.
In addition, the error still remains even though the variables work…
Yesterday I asked a friend to install this extension and for him to check whether it works for him or not, which is funny, it doesn't work either (it gives exactly the same error) :).
 I have Windows and I thought that the issue was because of this, but as it turned out, no.
I also tried to install postcss and postcss-scss globally on the computer today, and it doesn't work either.
And I also forgot to say that in the config of the Prepros program, there is a mention of the packages — postcss-import and postcss-preset-env.
Perhaps because of them, even taking into account the error, it all works, but this is not accurate.
Also, I think it is not necessary to create a local settings.json file, because, again, nothing has changed much for me.

Here are the versions of my programs, maybe it will help somehow:

VS Code - 1.67.2
Node.js - 16.15.0 (yesterday there was version 16.13.0, but I reinstalled it to 16.15.0, but it didn't help much)
npm - 8.5.5

I'm ready to sell my soul to the devil if only this extension would work… :D

I had an idea to reinstall VS Code, but I'm not sure it will help.

Thanks @SineYlo
Even I feel this could be due to some other Extension that you are using.
Do let me know if re-installing VSCode helps.
If it works, try re-installing extensions one at a time, which would help you to narrow down the extensions which conflict with cssvar extension.

I completely reinstalled VS Code, but it didn't solve the problem…
Then what is the problem at all is unclear.

Is it possible that it's all about the extension itself?
I tried to install a similar extension — vunguyentuan.vscode-css-variables and it worked for me.
Yes, it also works with jambs, but still.
I'm just curious to figure out what the problem is… 😇

Apologies for the delay, I am away and couldn't take a look.
I will try to replicate with the Node/VSCode versions you mentioned, once I am back.
I will keep this issue open until I find the error, though I cannot assure you when will I be able to fix the issue.
I feel it would be great to release a version which adds these errors to VSCode devtools log, so that you can forward me the error log 👍🏾
This I can immediately publish when I am back and will update here.
Apologies for the inconvenience caused by this extension, feel free to switch to vunguyentuan.vscode-css-variables in the meantime.

Hi @SineYlo
I have added a custom logger to log out errors when this extension fails to parse some files.
Can you gather the info from your VSCode Devtools, whenever possible and share it on this thread?
The error log contains the line/column number of a file where the parser failed. You can share the details from the source for that line/column number, for me to investigate further 👍🏾

Hi @phoenisx
Is there an instruction on how to do it all?
Because I haven't done this before and, to be honest, I can't imagine how it can be done

Hey @SineYlo
I wrote a doc on this here.
Let me know if that helps to debug the error for you.

I don't even have a log displayed for some reason…

It just shows the same error that pops up from the bottom right of the screen

Let's park this for now.
I feel your node is somehow unable to resolve the postcss-scss module. Not sure why!! 🤔
I am pretty sure if you run require.resolve('postcss-scss') in your node REPL, from your project's directory, you will be getting an error.
i.e., we can try this one last thing:

Force Install (remove and re-install) postcss-scss locally in your project
Run node REPL
Run require.resolve('postcss-scss')

If you get an error, then it's for sure you have set up your nodejs incorrectly.
If not, no worries!!
I appreciate your patience and sticking to the issue to help me figure out the cause.
Apologies we couldn't find any fix 🙇🏾
I am working on v2.0 (to create a simple generic parser) which will remove the hassle of installing separate syntax/parser modules locally to make the extension work.
Let me know if you are able to make this work.
I will be closing this issue now since we are not able to reach any conclusion,
and the extension is working for me 👍🏾

The terminal did not issue an error when executing the command

It turns out that the problem is not on my side?
Anyway, I will wait for version 2.0 😇

Can you try one last thing for me??
Can you give me the output for the following:
require(require.resolve('postcss-scss'));

Thanks for your quick response!! 🙇🏾
Can you try the following as well:
require(require.resolve("postcss-scss", { paths: [] }));

require(require.resolve("postcss-scss", { paths: undefined }));

The first result:

The second result:

I think somehow the VSCode API is not returning values for workspace folders on your system, which could be the cause of the error.
I am not entirely sure, but it's a possibility.
Let me release a patch fix for this, and you can try once with that version. If that fixes the issue, great, else I am not sure. Probably wait for v2 😅

Okay, if it's not too much trouble, let me know when the fix comes out

Hey @SineYlo
Can you try v1.4.3, and verify if that works for you?

Hi @phoenisx
In general, this did not solve the problem…
I even deleted NVM and Node, then reinstalled the usual Node version 14.20.0 again
And that didn't solve the problem either :)
But!
I tried to open VS Code DevTools again and saw the following there:

Maybe this will help somehow 😇
Perhaps he lacks some files or something else to run the extension
And another funny moment
Autocompletion of variables started working for some reason :D
But everything else still doesn't work
Perhaps this is some kind of bug, or we are on the way to the truth 🙂

I think your autocompletion is working because the SCSS files that you are using to test this bug, do not have crazy SASS syntax, and the parser does not fail, as the default parser kicks in if no other parser is provided.
The error is clear, postcss-scss parser is not found. Why? I am not sure.
Let's park this. I will try to release v2 asap.
Thanks for your support @SineYlo 💯

@SineYlo If you can look into this issue yourself, as I feel this is very specific to your system, and the way VSCode is set up, it would be helpful.
You can clone this repo, and yarn install the modules, and to run the extension locally, you need to open this on VSCode and launch the extension using F5 (I guess it's the same on Windows) in debug mode.
This will open a new VSCode window, where you can open this broken project and console.log the value of this code.
I think the value of folder.uri.path is coming wrong somehow in your system, or it should be set to folder.uri.fsPath instead. Not sure about this API, even I am learning 😅

I think I got the issue, and it's happening due to Windows, as mentioned in the VSCode source code comment here:
The *difference* to the [`path`](#Uri.path)-property is the use of the platform specific
path separator and the handling of UNC paths. The sample below outlines the difference:

So, I think using fsPath instead of path should fix your issue, as it provides platform specific paths.
Man, this issue is going on forever 😓
I have work to do today, will commit a fix by today EOD.
The problem is I am not able to test it on Windows.

I didn't think it was platform specific, because you said it failed for one of your friends as well, who was using macOS.
Anyways I will give it a try, better than doing nothing 😄

Today I will try to sort out this problem again 🤓
As soon as you release the update, let me know
I hope this will help solve the problem
I'll come home, try to clone the repository and change the path value to fsPath
There's nothing to do for now anyway, but if it doesn't work out, it will be clear what's what :D

I managed to solve the problem!!!!!!!!!!! 🤩
In general, yes, if you replace path with fsPath, then the error does not appear
The trick is that in Windows OS, a backslash is used in the paths — \, most likely this was the cause of the problem
I think it's not for nothing that all this happened because now you will know that on Windows, paths are written a little differently 😇

I've released v1.4.4. Do test it out!!!
🤞🏾 It should be working now 😅

Now there is no error and everything works fine 😌
But!
There is another interesting point
The following error is displayed in VS Code DevTools

When I started the extension locally, this error was also displayed in the VS Code console
Maybe this is also somehow related to Windows

I found some solution on SO you can try it
https://stackoverflow.com/questions/50432238/tracing-a-deprecation-warning

I have seen that error. It’s not related to this plugin

Now there is no error and everything works fine

That sounds great. Thanks for your patience and support 🙇♂


Add onDrag Gestures

What issue this solves?

I think it can be a better experience for user to drag to dismiss.


Only show mark unread above/below actions if articles above/below contain unread items

This PR dresses issue #1548
Instead of only checking for the first/last item in canMarkAboveAsRead and canMarkBelowAsRead it's now using Array.canMarkAllAsRead to determine wether the action should be shown.
As the logic to get the articles above/below a certain article is now used canMarkAbove/BelowAsRead and markAbove/BelowAsRead I moved it to private helper functions.
I was considering moving the helper functions to ArticleArray but was not sure if there are special rules adding something to the shared codebase.

Do we have an extension on Array where member = Article? I think we do, but I’m not in front of the code right now.
If so, then would you move the methods that get the above or below array into that extension?

Yes this extension exists. I will move it and update the PR after a quick test run.


Document/Confirm Minimum Supported ZSH Version

I've been trying to use znap on RHEL7 and have discovered that it doesn't work with ZSH 5.0.2. I managed to change a few things, but haven't gotten it to work.
Things that I found:

The typeset keyword doesn't exist, so typeset -gHa _znap_opts=(...) (and similarly for the other arrays) has to be split over two lines:

typeset -gHa _znap_opts
_znap_opts=(...)

the globstarshort option doesn't exist (so I just removed it)
$funcdir/*znap*~*.zwc doesn't match anything (as a result of removing globstarshort I assume), but I don't understand what the .zwc does/means, so I haven't been able to figure out how to get past this (if you remove NO_nomatch, you get further, but :zinit: isn't defined).

Naturally, support for zsh 5.0 would be awesome, but it would be good to note a minimum supported version in the README. (I can confirm 5.7.1 and 5.8 (on Catalina and Big Sur, respectively) are fine.)

Okay, now I understand what *~*.zwc means. I think the issue is that basedir and thus funcdir aren't being set properly.

Sorry, no, I have not tested Znap with Zsh 5.0.2. I test only with 5.7 and 5.8. My best guess is that the minimum required Zsh version is 5.3. I will investigate what is the actual minimum required and put it in the Readme.

Okay, now I understand what *~*.zwc means. I think the issue is that basedir and thus funcdir aren't being set properly.

I'm testing with Zsh 5.0.5 and $funcdir/*znap*~*.zwc works for me, but then the problem is that autoload doesn't accept absolute paths in Zsh 5.0.
I can make Znap compatible with Zsh 5.0.5, but it's going to take quite a bit of work. Right now, this is quite low priority for me.


HLM-6385, HCMPRE-46 : added changes for IRS activity track and closed household c…

…oncepts

Summary by CodeRabbit

New Features

Introduced new TaskAction enum to support task categorization (CLOSED_HOUSEHOLD, STAFF_ACTIVITY, OTHER).
Added ClosedHouseholdTaskController and StaffActivityController to manage respective tasks via new endpoints.
Added support for handling Kafka topics and consumer configurations for closed household and track activity tasks.

Enhancements

Updated Task and TaskSearch classes to include new action field for better task management.
Added repository classes for closed household and track activity tasks to facilitate advanced search and data handling.

Configuration Updates

Introduced new Kafka topic configurations to support bulk operations for creating, updating, and deleting tasks.

Bug Fixes

Refined task search and handling logic to include deleted tasks and new task types.

@coderabbitai review

@coderabbitai review

@coderabbitai review

@coderabbitai review


Workshop 4 exercise 0 [Pascal Cleland]

NDVI slopes review.docx

Please "drag & drop" exercise 0 file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

Great analysis of the graphs!


fix: Safari list drag-and-drop

This PR fixes a defect where list drag-and-drop was broken in Safari. This was a regression introduced here as part of #3046 (expand/collapse list). Turns out Safari is a bit different in how it triggers 'dragleave', which was causing the drop-target to continually be rendered and derendered.
The solution is to clean up where the _draggingOver state is being updated - we've moved it inside of the DragState class, and also now trigger a cleanup whenever the drop-target becomes invalid (e.g. when an item is hovering over itself).
Joint effort with @svanherk @oelhanafey @dbatiste. Tested on Chrome (Windows + Mac) and Safari.
Rally: https://rally1.rallydev.com/#/?detail=/defect/694750082045&fdp=true

We could probably remove this line here as well that isn't doing anything anymore since dragTarget was removed here.
The case where this == dragTarget should still be being checked by the lines below that iterates through the list of dragTargets and checks if it is a descendent of the dropTarget

I did a quick sanity check on Firefox and it's working as expected there


Add HTTP responses to authentication exceptions

My goal here is to add Azure AD's response to each exception raised due to an Azure AD authentication error. That's easy where an exception is raised by code that already has the response. Less so for a credential implemented with MSAL, because MSAL returns only the response's deserialized body to the credential. So, this PR has MsalClient hang on to the last auth error response it saw, and adds a method credentials can call to get that response.
This closes #16906 by giving applications all the information AAD provided when authentication failed, for example:
try:
    client.operation()
except AuthenticationRequiredError as ex:
    if ex.response:  # can be None, a response isn't always available
        content = json.loads(ex.response.text())
        ...

This PR removes the redundant AuthenticationRequiredError.error_details, whose value was simply error_details from AAD's response. That value is usually incorporated into an exception's message, and its raw value is available in the response.

I'm uncertain. A mock test of that scenario (specifically, "credential elicits an AAD error by presenting a refresh token") would be complex, fragile, and not representative because MSAL is responsible for all the HTTP requests in the real world. I actually wrote a recorded test for it, using CAE to invalidate a credential's refresh token. Having done that, I'm conflicted about what it means to "verify" the value of the response. It seems insufficient to simply assert that the exception carries a response, or that it carries any error response, but doing more requires having an opinion about the content of a "correct" response, which is really up to Azure AD to decide 😩


Automatic reset of PV capacity

In this LES: http://beta.moses.et-model.com/testing_grounds/277/edit
the installed capacity of PV at node "household 3" keeps being reset to -1.5 after other changes of this value and other values in technology table.

Assigned @grdw

How would I reproduce this?
I do see that if I'd take these steps:

I made a LES one solar panel to a single household with the default topology
Changed the capacity to -2.0 instead of -1.5
Saved it
Edited the LES
Changed the solar panel capacity to -200.0
Added a new solar panel

I see that - for the new solar panel - the capacity automatically becomes -2.0 instead of -1.5. Which might not be the intendend behavior. Still I'm not sure if that's exactly the same problem you're describing.

I made the LES from ETM scenario 414971 with default topology and market model test
Saved the LES
Viewed the load profile on different nodes
Edited LES by chaning Pv capacity of household 3 to -5.0
Saved the LES
Viewed the load profile on different nodes
Edit LES and saw that PV capacity of house household 3 was reset to -1.5

This is strange, after I wrote previous comment I am not able to reproduce the error. It seems the problem is solved or that I did something wrong or the error was temporarily.

I'm closing this issue due to the fact that it's hard to reproduce. If it occurs again you can re-open this issue.


Sugestion: use cpanm to install dependencies

As pointed out here http://stackoverflow.com/a/7949374/564086 cpanm module could be used to manage installation that depend on others, could be a nice feature for this module

@davideagle a pull request would be welcomed :)


Run "make test" when compiling interpreter

I thought we did this already, but we don't, except indirectly as part of the profile-guided optimization.

Do we need to do anything above and beyond what PGO does?

Technically those tests are run by a differently compiled binary, so we should run them again with the final binary.

Gotcha.
On Tue, Apr 25, 2017 at 3:35 PM Douglas Greiman<EMAIL_ADDRESS>wrote:

Technically those tests are run by a differently compiled binary, so we
should run them again with the final binary.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/python-runtime/issues/107#issuecomment-297184973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc-Zn6fO2crwGS1Vb-OhFqcgnTEi7ks5rznUqgaJpZM4NII7r
.

Also, when run as part of PGO, test failures are ignored.
Special call out to asyncio, we should make sure it works properly on Python 3.6.


ADD failed: stat /var/lib/docker/tmp/docker-builder821292538/.env/pip.conf: no such file or directory

My build fails like this:
Step 8/14 : ADD .env/pip.conf /root/.pip/pip.conf
ERROR: Service 'postgresql' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder821292538/.env/pip.conf: no such file or directory

I have a basic section in docker-compose.yml that looks like this:
 postgresql:
    image: mdillon/postgis:latest
    build:
      context: ./
    environment:
      - POSTGRES_USER=user
      - POSTGRES_PASSWORD=secret
      - POSTGRES_DB=database

Any help will get this virtual cake 🎂.

NVM. I had a local Dockerfile in the root of my project that was getting executed until I removed the context: ./ line.
I'm taking back my cake 🤚🎂✋.


Update retry configuration for Azure SDKs service builder in Spring tier

Fixes Azure/azure-sdk-for-java#24754
Changelog:

Update retry configuration for Azure service client builder:

HTTP-based Service builder retry

HTTP retry
Http Storage retry

AMQP-based service builder retry
Cosmos Service builder retry

Add service enabled control in isKeyVaultPropertySourceEnabled method

/azp run java - spring - tests

/azp run java - spring - tests


Overlay: Add an example showcasing how Overlay can be used to highlight part of the UI

https://master-api.flutter.dev/flutter/widgets/Overlay-class.html
Overlay needs examples, one of the common uses of Overlay is to highlight parts of the UI when an app is installed for the first time.
Solution
Add an example showcasing how Overlay can be used to highlight part of the UI
Something like this

Fixed in https://github.com/flutter/flutter/pull/107531


Edit rule breaks over adding criteria

When I add a second criteria to the rule, it REPLACES the first criteria instead of adding to it.

This has been fixed in the react rewrite, which should be included with 2.6.


use of conditional expression within math.jslocal caused browser to time out

and bubble to spin up and error message "Sorry, we ran into a problem a temporary bug and cant complete your request.
What im trying to do is use a conditional WHEN: This math.js's result (Number) > 6 perform another expression ... in the expression box I have eval(1+1) but frankly anything crashes the service if I invoke the condition


Not working on HyperOS / LSPosed

Hello,
I just rooted my hpone for this and must say I'm disappointed. :(
It's not working on HyperOS it seems.
When on stock launcher with gestures enabled I change launcher, nav bar stays there but gestures stops working.

I had once successfully enabled gesture navigation for third-party launchers without root on HyperOS (Just by entering the Android's original navigation settings page with Shortcut Maker after setting the default launcher). And I also found that most of the gestures don't work correctly. I guess this is because Mi has done too much modifies on the gesture navigation. I'm now finding a way to recover Android's original gesture navigation but I found nothing for now.


Paginate contest scoreboard

closes #523

Does this work for the live results page?

Does this work for the live results page?

No, it's only for final results


Force AT to use debug logging

To aid with diagnostics of flakey ATs, additional logging is being produced.

Investigation use only


Initial implementation of the Scene object

Initial implementation of the Scene object for handling scenes/levels in a more consistent and deliberate way.

Looks like incorporation of this one'll necessitate shifting https://github.com/GarageGames/Torque3D/blob/development/Templates/Modules/FPSGameplay/levels/EmptyLevel.mis#L2 to new Scene(MissionGroup) { for load support


Update item goal

@abiona01 and @tundealabi abeg this is the last pr for this afternoon. Sorry o

@abiona01 reviewed


Alternative library

Great tool!
Not sure if you have seen, but something similar is going on here, maybe you could borrow some ideas if you see something interesting: https://github.com/y0ssar1an/q

Awesome! Thanks for the recommendation. I’m going to close this as there isn’t anything actionable for this repo


Can't takeoff

I ran demoMamboTricks.py connecting to the drone using BLE with Ubuntu, but it doesn't take off. This is the output:
OpenCVAvailable is False
trying to connect
 trying to connect to the minidrone at address [my address]
 connected!  Asking for services and characteristics
 magic handshake to make the drone listen to our commandsandsensors
 initializing notification delegate
connected: True
sleeping
 Could not find sensor in list - ignoring for now.  Packet info below.
(2, 25, 3)
 Could not find sensor in list - ignoring for now.  Packet info below.
(2, 25, 5)
taking off!
flying state is landed
Flying direct: going up
flip left
flying state is landed
mambo flip result True
flip right
flying state is landed
mambo flip result True
flip front
flying state is landed
mambo flip result True
flip back
flying state is landed
mambo flip result True
landing
flying state is landed
disconnect

The takeoff function returns true (see my pull request), so the commands are sent successfully but not executed for some reason. Do you have any idea on the cause?
Thanks,
Aleix

what firmware are you running?  I haven't used the BLE in a long while since all of mine have wifi.  It could be something has changed in the new firmware (lots of things changed in the latest one).

Thanks for your suggestion. I updated the firmware and now it works perfectly


BLACKHOLE_HAVE_AT_LEAST_GCC46 isn't correctly set on gcc5+

Define BLACKHOLE_HAVE_AT_LEAST_GCC46 determines which includes should be used. And it's not correctly set on gcc5.

Should I cherry-pick this one for a specific version?

I'm using 0.2.3, but I already fixed it locally.

Okay, also fixed here: https://github.com/3Hren/blackhole/commit/0fa9351e58b98233cfcf9a5fb22d35bc8df921b7


arch-vega, dev-amdgpu: Fix for memory leaks

When using the new operator, delete should be called
on any allocated memory after it's use is complete.
Change-Id: Id5fcfb264b6ddc252c0a9dcafc2d3b020f7b5019

When createRead is called, the new operator is used to allocate a packet. When the packet's use is complete, it should be freed (deleted).
Change-Id: Id5fcfb264b6ddc252c0a9dcafc2d3b020f7b5019

I think this part of the commit message is also a bit misleading.  With the PTWalker code, it does not appear callRead has anything to do with the leak there, right?
If so please update the commit message accordingly.

Before merging, can you make sure to use your real name and "official" email address in the commit author info?

@powerjg I believe I updated the commit to include my full name and email address, though I'm unable to verify if they are present on the latest commit on the pull request. Is the change visible to you?

I'll leave this for @powerjg to give the final say on this. It need his review.

When I run git log here's what I see:
commit 59c5cf5f7f4ac2d51ff34ae78778a21ede1f3618 (HEAD -> pr/BujSet/129, BujSet/memleaks)
Merge: a6839fe90b 4e3c22b51a
Author: Bujji<EMAIL_ADDRESS>Date:   Thu Jul 27 13:54:12 2023 -0500

    misc: Merge branch 'memleaks' into memleaks

    Change-Id: I4fb2ca77d802b87d92ea32b0d71a166e6ff465b9

commit a6839fe90b94e4be6a7a94eed448ef9fe51855b4
Author: Ranganath (Bujji) Selagamsetty<EMAIL_ADDRESS>Date:   Wed Jul 26 17:27:05 2023 -0500

    arch-vega, dev-amdgpu: Fix for memory leaks

    When using the new operator, delete should be called
    on any allocated memory after it's use is complete.

    Change-Id: Id5fcfb264b6ddc252c0a9dcafc2d3b020f7b5019

commit 4e3c22b51a9e2d5b54f39d83c5809402da13af9b
Merge: b6f1420444 65b99fffc9
Author: BujSet<EMAIL_ADDRESS>Date:   Thu Jul 27 10:39:40 2023 -0700

    Merge branch 'develop' into memleaks

commit 65b99fffc93e3a7bddfffb4d3607e91c5a065779 (BujSet/develop)
Merge: 42b65cad68 f19945e9cb
Author: Bobby R. Bruce<EMAIL_ADDRESS>Date:   Thu Jul 27 09:39:18 2023 -0700

    util: Ignore line length check for #include pragma in C/C++ files (#134)

    The length of the path of #include pragmas can be more than
    79-character long. The length of the path of a #include pragma
    can be outside of user's control.

There's two things I'd still like to see improved:

Your email has a typo in the "main" commit (amd.comcom)
Can you rebase your changes to remove the extra merge commits that have differing author fields?

Thanks! Hopefully things are a bit smother next time!

Updated commit with latest changes from develop.

Updated commit with latest changes from develop.

Updated commit with latest changes from develop... again. Hopefully this time I can win the race to complete the regression tests before someone else pushes to develop. 🙏

Correct me if I am wrong, but it shouldn't be a race. As long as it can apply cleanly on the tip of develop after the tests pass it should be mergeable


Content tweaks for user and organisation management

From the mob session:

Use Owns housing stock (Yes/No) instead of Holds own stock (True/False)
Use Invite somebody to submit CORE data instead of Invite a user to submit CORE data
Use Is this person…/Are you… instead of Are they/Are you. Update helper name from pronoun to perspective to reflect this change

Not sure why tests failing here and local, seem to relate to schemes somehow?


Fix uploading multiple files

Fixes a bug where uploading multiple files using s3commander would fail.

 Uploading multiple files in s3commander causes an error


Add IntelliJ files to .gitignore

Usually better practise to keep platform/IDE specific files in your global .gitignore.

hehe @SimonSchick is right; I shouldn't have checked in the vim-specific lines into that file :)
politely declining this PR


"Could not create brush from given 2d shape"

This happens every time i try to draw a brush, default feature of the plugin.  What's happening here?  Can't even get building.
Using Unity 5.4.0f3 personal.

Hi, this is a known issue and there is already a fix available. Unfortunately it takes a while before it's accepted on the Asset store .. if you sent me an email (sander.vanrossen -at- gmail.com with your OR code (you should've received one when you bought realtime-CSG) I can send you the fixed version directly. Sorry for the inconvenience

Fix available on asset store


Fix buffer overrun in add_exec_dir

If readlink returns FILENAME_MAX as the length of the copied string
then the following path[r] = '\0', where r = FILENAME_MAX is a
1 byte out of bounds buffer overflow.
Fixed by allocating path to be FILENAME_MAX + 1 byte for the NULL
character.
(Bug found using Coverity)

Thanks!


Add ability to pass additional args to FaceAnalysis constructor such as 'root'

1453

 Quality gate: Failed
4 Issues

 4 Code issues

Details


Isolated function x_closest

There is an isolated function x_closest in visualize.py and it has an undefined variable X.
How do we use the functions?
https://github.com/harskish/ganspace/blob/master/visualize.py#L36-L39

This function is just a leftover from earlier experimentation. It is not used in any experiment and can be ignored.


Numbers in Namespace corrupt Persistency

The podio ROOT Writer does some namespace demangling that  is less than perfect, apparently it does not like numbers in namespaces, which is bad news for edm4hep::.  The effect can be seen for example here:
Attaching file edm4hep_testhepmc.root as _file0...
(TFile *) 0x55cfe9a187d0
root [1] events->Print()
******************************************************************************
*Tree    :events    : Events tree                                            *
*Entries :        1 : Total =            6767 bytes  File  Size =       1951 *
*        :          : Tree compression factor =   2.10                       *
******************************************************************************
*Br    0 :TestParticles2 : vector<edm::hep20MCParticleData>                  *
*Entries :        1 : Total  Size=       1782 bytes  File Size  =        241 *
*Baskets :        1 : Basket Size=      32000 bytes  Compression=   5.22     *
*............................................................................*

I checked with the namespace edmhep and that seems to work fine.

... should be fixed w/ https://github.com/AIDASoft/podio/pull/57


Add CTA to Landing Page

Description
Added CTA to the landing page

Issue Reference

Fixes #431
PR Details
Type of Change

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Documentation update
[ ] Code refactor

Checklist
Please ensure the following before submitting the PR:

[ ] I have tested the changes locally, and they work as expected.
[ ] The code follows the project's coding standards and conventions.
[ ] Any query changes have been verified and are working correctly.
[ ] I have updated relevant documentation (if needed).
[ ] I have added unit tests or performed manual testing where necessary.

Screenshots (applicable to user interface changes)

I like it!
 Could you either remove them completely, or at least add them as a separate commit with a message that explains them?

@Ainali ah my bad, i think it happened because my formatter. I'll fix it right away :)


Wrong console.log autocomplete

Video: https://dl.dropboxusercontent.com/s/ahhczdjg77drbiy/2019-04-07_17-56-47.mp4
In this video you can see how not only "clog" doesn't trigger console.log in some cases (this actually never happens to me except on this demo) but actually it won't autocomplete/suggest things inside (this happens very often to me, pretty much all the time).

Added a code snippit for thi limilar to th log(funtions)

@madprops Could you share:

Your extensions list.
Your user snippets.
Your settings.
VS Code version.

Also, try to reproduce same behavior in the Insiders build.

/needsMoreInfo

I just ran code-insiders --disable-extensions.
Video: https://dl.dropboxusercontent.com/s/ia40alkpx4wofvx/2019-04-08_15-33-55.mp4
clog turns into console.log as it should, but "game_started" is not being suggested.

What extensions do you have installed?

@mjbvz In normal vscode:
λ code --list-extensions | xargs -L 1 echo code --install-extension
code --install-extension amos402.scope-bar
code --install-extension arcticicestudio.nord-visual-studio-code
code --install-extension dbaeumer.vscode-eslint
code --install-extension DigitalBrainstem.javascript-ejs-support
code --install-extension fabiospampinato.vscode-open-in-github
code --install-extension gazugafan.vscode-indent-on-paste
code --install-extension jkchao.hy-theme
code --install-extension jolaleye.horizon-theme-vscode
code --install-extension madprops.console-log-checker
code --install-extension madprops.fortune
code --install-extension madprops.nordico
code --install-extension madprops.occurrence-count
code --install-extension madprops.when-did-i-start-working
code --install-extension ms-python.python
code --install-extension peterfh.linesinfostatusbar
code --install-extension sdras.night-owl
code --install-extension sldobri.nord-5-stars
code --install-extension sleistner.vscode-fileutils
code --install-extension sveggiani.vscode-field-lights
code --install-extension zhuangtongfa.Material-theme

And snippets for JS:
{
/*
	// Place your snippets for JavaScript here. Each snippet is defined under a snippet name and has a prefix, body and
	// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
	// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
	// same ids are connected.
*/
	"Print to console": {
		"prefix": "console.log",
		"body": [
			"console.log($1)"
		],
		"description": "Log output to console"
	}
}

I believe the behavior that the latest video shows is by-design. Set "editor.suggest.snippetsPreventQuickSuggestions": false to enable suggestions in snippets (or manually trigger intellisense with ctrl+space)


What pH value for LogD challenge

I'm in the final stages of making a submission into the LogD challenge but I would like to ask what pH value should the LogD be calculated at? I just assumed pH 7.4 all along because the earlier text mentioned it would be like SAMPL7 which used LogD_7.4.

This is in the instructions on the repo, some are pH 8 and others pH 3. Sorry to be brief but I'm about to go offline for a number of hours and can't retrieve the link right now.
On Aug 31, 2021, 7:31 PM -0700, DGT117 @.***>, wrote:

I'm in the final stages of making a submission into the LogD challenge but I would like to ask what pH value should the LogD be calculated at? I just assumed pH 7.4 all along because the earlier text mentioned it would be like SAMPL7 which used LogD_7.4.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

Actually that's probably pH 4 rather than 3. See instructions (should be in the physical properties instructions - a recent update).
On Aug 31, 2021, 7:54 PM -0700, David L. Mobley @.***>, wrote:

This is in the instructions on the repo, some are pH 8 and others pH 3. Sorry to be brief but I'm about to go offline for a number of hours and can't retrieve the link right now.
On Aug 31, 2021, 7:31 PM -0700, DGT117 @.***>, wrote:

I'm in the final stages of making a submission into the LogD challenge but I would like to ask what pH value should the LogD be calculated at? I just assumed pH 7.4 all along because the earlier text mentioned it would be like SAMPL7 which used LogD_7.4.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

Alright, I assume it's pH 4 but I put in pH 3 in my submission just in case

For the record, it's in this file -- https://github.com/samplchallenges/SAMPL8/blob/master/physical_properties/README.md
"Update 2021-08-20: pH 8 was used for SAMPL8-1, 3, 5 and 6; all other compounds were done at pH 3."


fix assignment calculations

The main doubts are: 'if the config for the percent base changes, should the displayed percentages in a poll change, too'?

order fixed
votes cast/ valid should now correctly  influence the percents again

ping @emanuelschuetze

next round of fixes done @emanuelschuetze

assignment abstains now don't show percentages on 'YES/NO' based polls @emanuelschuetze


broken on windows

Expected behaviour
I should be able to see the container
Actual behaviour
I get (HTTP code 404) no such container - network bridge not found
Information about the Issue
I tried to launch hello-world-Nginx from kitematic
Steps to reproduce the behaviour

using the latest stable docker desktop <IP_ADDRESS> (37199)
most recent kinematic download from GitHub (1.7.7)
using docker desktop on windows 1903
using windows containers with experimental features to run Linux containers
kitematic seems borked.
sigh windows and docker are not great together :(

Use the edit icon to pin, add or delete clips.


Issue(?) With install on Evoq

Is this module not able to run within Evoq, or is there an issue with the DNN version identification at install which might not recognize Evoq versions?
Attempting to install either the new 8.x version or the 7.4 version, both fail the first step of install file upload.

No issues that I am aware of.  Can you share the error message?

An unknown error has occured. Please check your installation zip file and try again.
Common issues with bad installation files:
Zip file size is too large, check your IIS settings for max upload file size.
Missing resources in the zip file.
Invalid files in the package.
File extension is not .zip.
Check that you are logged in.
There's nothing specific written to the Event Log, though I could check deeper if needed.

The older module version installs successfully. To clarify:

ICG.Modules.ScheduledSqlJobs_07.04.00_Install.zip  This one installs successfully
ICG.Modules.ScheduledSqlJobs_8.0.4_Install.zip This one gives an error at first install step

Released version 8.0.5 that fixes this

superb, thanks!


Not work on react-native-web

I tried this simple example:
function TestGoogleAutoComplete() {
  return (
    <>
      <GoogleAutoComplete apiKey={GOOGLE_API_KEY}>
        {({ handleTextChange, locationResults }) => (
          <>
            {console.log("locationResults: ", locationResults)}
            <View>
              <TextInput
                placeholder="Search a place"
                style={{
                  height: 40,
                  width: 300,
                  borderWidth: 1,
                  paddingHorizontal: 16,
                }}
                onChangeText={handleTextChange}
              ></TextInput>
            </View>
          </>
        )}
      </GoogleAutoComplete>
    </>
  );
}

The console.log is working on expo go (on mobile)
But when i try to run on web it shows this error on the console.log:
Access to fetch at 'https://maps.googleapis.com/maps/api/place/autocomplete/json?&input=rua%20&key=***&language=en&types=address' from origin 'http://localhost:19006' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

it should work on web, right? u told on this part of the vídeo that should: https://youtu.be/UFiTL8lAktU?t=209
what should i do?

There is no suck thing /lib/Google.service.ts
on node_modules its a dist version:
https://i.imgur.com/LJd50hk.png
i've tried:
GoogleAutoComplete.es6.js
line 117
line 135
also do 2 changes on GoogleAutoCOmplete.umd.min.js.map
but in the end on console shows Uncaught (in promise) Error
(i have no idea what i'm doing)
my project is a clean project created by expo init my-app (https://docs.expo.dev/get-started/create-a-new-app/)
running on web with expo start

I'm also having this issue. Is there a solution so far?

The issue with the cors is not fix with fetch no-cors options. And also the other solution of using cors-anywhere don't work too. https://stackoverflow.com/questions/28359730/google-place-api-no-access-control-allow-origin-header-is-present-on-the-req
Look like the solution is to use the official sdk. I don't use react-native web, so this wasn't really in my plan to do.
@MiguelNiblock sorry about that

The issue with the cors is not fix with fetch no-cors options. And also the other solution of using cors-anywhere don't work too. https://stackoverflow.com/questions/28359730/google-place-api-no-access-control-allow-origin-header-is-present-on-the-req
Look like the solution is to use the official sdk. I don't use react-native web, so this wasn't really in my plan to do.
@MiguelNiblock sorry about that

A lot of people use RN WEB, even more now with expo, so pls at least put on the readme that u do not support rn-web so people don't waste time


Can no longer log in

Google has changed their login method policies, embedded logins are no longer allowed on any application, they enforce that logins must communicate through opening up a web browser on desktop applications. This means this application effectively does not, and can not work right now.

Duplicate of #3545

These are not the same issue, it loads fine and here are the two other parts.
1: I am on Windows
2: This was publicized by Google in April
Ref: https://security.googleblog.com/2019/04/better-protection-against-man-in-middle.html
Logins are not allowed in embedded browser frameworks at all anymore.
This means the actual login to the Google Services, can't be inside of the application, as of right now it provides this

The system detects the embedded framework and blocks the login outright.


Use of timer in scenery

A11y folks are using PHET_CORE's timer in scenery. This doesn't seem to be supported outside of phet though. @jonathanolson is there a way that we could have that timer support not in phet sims? Alternatively we would abandon this use. @jonathanolson what do you think. Current usages are in PressListener, KeyboardFuzzer, and KeyStateTracker (actively worked on as part of https://github.com/phetsims/scenery/issues/850).

Pinging @jonathanolson for comment again, because this issue informs how we proceed with implementing a keystate tracker in https://github.com/phetsims/scenery/issues/850. It also may inform our ability to move KeyboardDragListener into scenery.

Could things just be tied in to when Display.updateDisplay() is potentially called?

We thought about that. Could updateDisplay take an optional dt value?

We thought about that. Could updateDisplay take an optional dt value?

Definitely.

Part of this was done in #909 so we could step the Display's KeyStateTracker. updateDisplay now takes an optional dt for this.
The next step is to review other usages of timer added for a11y. KeyStateTracker global could be stepped in updateDisplay but I am not sure how timers used in individual listeners will change yet. This applies to KeyboardDragListener (which we hope to move to scenery) and PressListener.

In support of https://github.com/phetsims/scenery/issues/931, @zepumph and I looked into this again with help from @samreid. Since we last looked into this timer was moved to axon for other reasons (phetsims/phet-core#51). This makes it more accessible in scenery.
In the above commits we removed the dt arg from updateDisplay and chose to make it the responsibility of the scenery client to call timer.emit( dt ) prior to calling updateDisplay. We added this to Display.updateOnRequestAnimationFrame.
Remaining tasks are to add documentation somewhere that describes this requirement, and to do a final review of Display.updateDisplay() usages to see if we need to add any more timer.emit calls.

There is a usage of updateDisplay in PhetioStateEngine. @zepumph or @samreid does this require timer.emit? Or maybe not because timer extends Emitter and is therefore state remains up to date due to its own PhET-iO instrumentation?

All the other usages are in tests and I don't believe they require this. Scenery unit tests are passing.

The best place I could think of for this documentation is scenery/doc/user-input, but maybe there is a better spot. Added in the above commit.
@jonathanolson can you please take a look at the change to Display.updateDisplay and Display.updateOnRequestAnimationFrame in https://github.com/phetsims/scenery/commit/4f0bb509cad9a5d5a2557ef3b271abfa8d3b36b2. And can you think of a better place for the documentation in https://github.com/phetsims/scenery/commit/013b758437d192ca5de49dc8b78eebdf02843047?

There is a usage of updateDisplay in PhetioStateEngine. @zepumph or @samreid does this require timer.emit?

timer.emit should not be called from PhetioStateEngine

I think all that is left for this issue is for @jonathanolson to review per https://github.com/phetsims/scenery/issues/884#issuecomment-462547229. Unassigning.

This seems like a good approach, documentation and implementation look good. Thanks!


Put not working

The method:
int RodsConnection::putFile(const std::string &localPath, const std::string &objPath, const std::string &rodsResc, unsigned int numThreads)
isn't working.
When I try to perform some upload, it is returning the following message:
"Put failed
Status: -130000"
(I'm now using a CentOS operating system, since I wasn't able to build using Ubuntu)

There is a bug in resource selection, the client doesn't now handle one case properly - the case when user doesn't provide the default resource in ~/.irods/irods_environment.json. Patch coming up. Thanks!
In the mean time you can go around the issue by defining irods_default_resource in your environment file to what you are using (in case a clean install of irods it is demoResc). Please let me know if this works.

Yes!!! It's working!
Thank you, sir!

This is now fixed. Commits in develop branch to be included in the next patch release.


Can't Turn Off Flash Attention

System Info
2023-06-29T21:49:38.640647Z  INFO text_generation_launcher: Runtime environment:
Target: x86_64-unknown-linux-gnu
Cargo version: 1.69.0
Commit sha: e7248fe90e27c7c8e39dd4cac5874eb9f96ab182
Docker label: sha-e7248fe
nvidia-smi:
Thu Jun 29 21:49:38 2023
   +-----------------------------------------------------------------------------+
   | NVIDIA-SMI 525.85.12    Driver Version: 525.85.12    CUDA Version: 12.0     |
   |-------------------------------+----------------------+----------------------+
   | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
   | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
   |                               |                      |               MIG M. |
   |===============================+======================+======================|
   |   0  Tesla T4            On   | 00000000:00:1E.0 Off |                    0 |
   | N/A   34C    P8    11W /  70W |      0MiB / 15360MiB |      0%      Default |
   |                               |                      |                  N/A |
   +-------------------------------+----------------------+----------------------+

   +-----------------------------------------------------------------------------+
   | Processes:                                                                  |
   |  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
   |        ID   ID                                                   Usage      |
   |=============================================================================|
   |  No running processes found                                                 |
   +-----------------------------------------------------------------------------+

Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
I run docker run --gpus all --shm-size 1g -p 8080:80 -v $volume:/data -e USE_FLASH_ATTENTION=FALSE  ghcr.io/huggingface/text-generation-inference:0.8 --model-id $model --num-shard $num_shard but it seems like the USE_FLASH_ATTENTION environment variable has already been built into the image.
This will fail for models like open_llama_3b which has a head dim of 100 (not evenly divisible by 8).
Expected behavior
Can we specify from text-generation-launcher to disable flash attention? Otherwise, I can't run some of the models and get errors like
Server error: Expected (head_size % 8 == 0) && (head_size <= 128) to be true, but got false.  (Could this error message be improved?  If so, please report an enhancement request to PyTorch.

From Code: if not os.getenv("USE_FLASH_ATTENTION", "").lower() == "false":
try to write it lowercase

The USE_FLASH_ATTENTION env var is not available on 8.2. Can you try on latest?

Oh great that works! Thanks so much


Escaping apostrophies in query

I am having issues running a query on a company field where the name may have an apostrophe. I've tried to run gsub on the string but Faraday keeps running something strange in an infinite loop and I have to shut down the development server. I've also tried to hardcode an escaped apostrophe into the query but it doesn't fix it.
Is there a way to solve this?

Can you provide a minimal test case which triggers this problem? (i.e. some
code I could run which triggers this problem)
On Tue, 18 Jul 2017 at 20:28, Alex Pronovost<EMAIL_ADDRESS>wrote:

I am having issues running a query on a company field where the name may
have an apostrophe. I've tried to run gsub on the string but Faraday keeps
running something strange in an infinite loop and I have to shut down the
development server. I've also tried to hardcode an escaped apostrophe into
the query but it doesn't fix it.
Is there a way to solve this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ejholmes/restforce/issues/314, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHFpsuzHtEcfwIUv4E--owvdDqV9mxKks5sPQdTgaJpZM4Ob0DY
.

This is my query:
client.query(
"SELECT Id FROM Lead WHERE (Email = '#{row[6]}' OR
(Company = '#{row[0]}' AND FirstName = '#{row[1]}' AND LastName = '#{row[2]}'))"
)
row[0] would be a string like l'eixample
I've tried to do row[0] = row[0].gsub(/[']/,"\\'") to replace the apostrophe but it ends up in an infinite loop when I do this.
If you need anymore information, let me know.

Could you provide an example value for "row" which causes the problem too?
I'd like to be able to try it locally.
On Tue, 18 Jul 2017 at 21:03, Alex Pronovost<EMAIL_ADDRESS>wrote:

This is my query:
client.query(
"SELECT Id FROM Lead WHERE (Email = '#{row[6]}' OR
(Company = '#{row[0]}' AND FirstName = '#{row[1]}' AND LastName =
'#{row[2]}'))"
)
row[0] would be a string like l'eixample
I've tried to do row[0] = row[0].gsub(/[']/,"\'") to replace the
apostrophe but it ends up in an infinite loop when I do this.
If you need anymore information, let me know.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ejholmes/restforce/issues/314#issuecomment-316181017,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHFprEBUfSNLz6TmUu824QVjIKjZQK7ks5sPQ-TgaJpZM4Ob0DY
.

row = ["L'Eixample Company", "First Name", "Last Name", "123", "456", "Barcelona"<EMAIL_ADDRESS>

I'm afraid I haven't been able to reproduce this - if I run the code above, it does fail, but with a Faraday::ClientError, since Salesforce responds with a 400 since Salesforce returns a MALFORMED_QUERY error.
If I then mutate row[0] with row[0].gsub(/[']/,"\\\\'"), the query runs successfully, and I get an empty collection back (since I have no matching records).
I'm happy to investigate this further and would love to fix your issue, but I'm not able to reproduce the loop you're experience. Can you double-check you've provided all the context I'd need to reproduce?

For context: I am looping over rows of a spreadsheet to upload leads into Salesforce. I am using the query to check duplicates within Salesforce. I'm really puzzled why it results in an endless loop when I mutate row[0].

Have you tried stripping it back and experimenting to find exactly what
causes the loop? And maybe trying it in a vanilla Ruby script without other
dependencies? I'd love to get to the bottom of your issue.
On Wed, 19 Jul 2017 at 23:09, Alex Pronovost<EMAIL_ADDRESS>wrote:

For context: I am looping over rows of a spreadsheet to upload leads into
Salesforce. I am using the query to check duplicates within Salesforce. I'm
really puzzled why it results in an endless loop when I mutate row[0].
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ejholmes/restforce/issues/314#issuecomment-316533203,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHFpsODkUyZ_p_q1IdW7YhJT0lpE8Tyks5sPn6ZgaJpZM4Ob0DY
.

I tried this on a single lead. It seems that whenever I escape the apostrophe, it starts looping over that one record plus about 99 blank records. I'm guessing it might be a formatting issue on the Salesforce side.


B-21458 Main

B-21458
Summary
Agility: B-21458
Update emails for Move Submitted, Move Counseled, and the PPM Payment Reminder.
When the orders type is retirement OR separation, the emails should state the destination address of their first shipment instead of Duty Station.
For PPMs, we need to use the Address linked to the PPM.
I also moved the formatting into Address.go to keep it consistent.
Int PR 1: https://github.com/transcom/mymove/pull/14099
Int PR 2: https://github.com/transcom/mymove/pull/14272
Verification Steps for the Author
These are to be checked by the author.

[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?

[ ] Have the BL acceptance criteria been met for this change?

[ ] Was the CircleCI build successful?

[ ] Has the code been reviewed from a standards and best practices point of view?

[ ] Do the code changes match the INT pull requests?

How to test

To enable email, run the server with: EMAIL_BACKEND=ses aws-vault exec transcom-gov-dev -- make server_run
Log in as a Customer with a valid email address so you can check emails.
Create a Retirement or Separation PPM, with a destination address different from the HOS/HOR address, with an expected departure date at least 14 days in the past.
You will receive a "Thank you for submitting your move details" email showing the actual destination address (instead of HOS/ HOR/PLEAD)
Log in as a Counselor
Approve the PPM
You will receive a "Your counselor has approved your move details" email showing the actual destination address (instead of HOS/ HOR/PLEAD)

Part 2 (I've only tested this in LoadTest, but it may work locally if you leave your server running over night):
8. The next morning you will receive a "Complete your Personally Procured Move (PPM)" email showing the actual destination address (instead of HOS/ HOR/PLEAD)
Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots
Submitted

Approved

Payment Reminder
(hasn't sent yet)

I don't know what's going on with the gitlab pipeline, but circle-ci looks good:

I don't know what's going on with the gitlab pipeline, but circle-ci looks good:
https://app.circleci.com/pipelines/github/transcom/mymove?branch=B-21458

That is still being worked on, so @deandreJones said we can ignore it for now.


checks failed

Could you please explain how to fix this problem?

Restart the application and if the issue persists, delete the folder containing VerthashMiner.exe within %appdata%\verthash-ocm.


Allow riffraff uploads for identity account

Grant access to identity account for uploading to riffraff S3 buckets.

:+1:

Bonus points for fixing the ropey indenting @obrienm left behind.

Thanks @philwills

Now applied.

Verified, works a treat. Thanks again.


What can go wrong with reentrance from MonitoringService.monitor()

MonitoringService.monitor() calls external contracts multiple times.  This issue investigates what can go wrong when these contracts call back the MonitoringService contract directly or indirectly.

As far as the IOU signature is on a correct implementation of TokenNetwork, no problems happen.


Training on custom dataset

I want to train on my own dataset. Can you please tell me the steps to do so. How do I generate my own labels.meta file and features.bin file?
Thanks

@Sayyam-Jain DATASET.md  gives the description of a dataset. To be specific, features and labels can be generated as follows.

features.bin is a bin file containing NxD matrix, which can be saved by write_feat.
'labels.meta' is a text file with N lines, where each line indicates a label of the corresponding features.

@yl-1993 您好，请问在训练自己的数据时出现log_str += 'memory: {}, '.format(log_dict['memory'])
KeyError: 'memory'这个问题要如何解决？

@qiudi0127 您好，能否给出完整的报错信息？我怀疑这个错误是mmcv里的，想要知道一下具体的版本信息以便复现这个问题

@qiudi0127 您好，能否给出完整的报错信息？我怀疑这个错误是mmcv里的，想要知道一下具体的版本信息以便复现这个问题

Traceback (most recent call last):
File "vegcn/main.py", line 104, in
main()
File "vegcn/main.py", line 100, in main
handler(model, cfg, logger)
File "/learn-to-cluster/vegcn/train_gcn_v.py", line 35, in train_gcn_v
_single_train(model, dataset, cfg)
File "/learn-to-cluster/vegcn/train_gcn_v.py", line 65, in _single_train
runner.run(train_data, cfg.workflow, cfg.total_epochs)
File "/miniconda3/envs/lzc-cluster3/lib/python3.6/site-packages/mmcv/runner/runner.py", line 371, in run
epoch_runner(data_loaders[i], **kwargs)
File "/lzc/learn-to-cluster/vegcn/runner/runner.py", line 26, in train_gcnv
self.call_hook('after_train_iter')
File "/miniconda3/envs/lzc-cluster3/lib/python3.6/site-packages/mmcv/runner/runner.py", line 238, in call_hook
getattr(hook, fn_name)(self)
File "/miniconda3/envs/lzc-cluster3/lib/python3.6/site-packages/mmcv/runner/hooks/logger/base.py", line 45, in after_train_iter
self.log(runner)
File "/miniconda3/envs/lzc-cluster3/lib/python3.6/site-packages/mmcv/runner/hooks/logger/text.py", line 109, in log
self._log_info(log_dict, runner)
File "/miniconda3/envs/lzc-cluster3/lib/python3.6/site-packages/mmcv/runner/hooks/logger/text.py", line 50, in _log_info
log_str += 'memory: {}, '.format(log_dict['memory'])
KeyError: 'memory'
我也出现了这个问题


Transparent stroke

To set stroke color to transparent, we have to manually write "transparent" in the color code field.
I think we should have a button for that, just as for the background color.
Use case : as far as I'm concerned I often draw plain colored shapes with no "border".

Will be added soon as part of the color picker redesign!

I think we should have easy access to white, black and transparent both in background and stroke color.

Is this as simple as adding transparent to the stroke color presets now?

The question becomes: Which swatch should be dropped for transparent?

Don't know yet, but we'll be doing a full revamp of the colors very soon (both stroke and bg), which will include ensuring both transparent and white colors are in both.

Ah ok, that's the new color picker - gotcha.

I'd like this possibility too, is it included yet? I can't find it.


Question: How to navigate between TypeScript overloads

TypeScript and other languages support function overloading. Here is a screenshot showing pipe()

As you can see this function has +10 overloads.
Is it possible to flip through these versions of pipe()

It's nvim built-in lsp's feature.

Okay, would you know where to read about it? What is the feature called?

It's textDocument/hover, I guess.


Incompatible with latest certbot

certbot version 2.7.4 requires acme 2.7.4 which conflicts with this plugin's requirement for acme 2.6.0.
This is fixed in #4, which is awaiting approval/merge.

Version 0.6.0 is now available on pypi, addressing this issue.


not work

Has anyone get this skript to work.
Can't build in VS Code (ESP-IDF) 5.1.1
---done

Hello @CByteITSolution
did you manage to make it work?

Hello,  I can compile now when I migrate some functions to IDF 5.1.
But when I run the Software the repartition log writes successful repartition, but after reboot
I can't see any changes in the Partition Table and also the write_partition_table always start again because
if(boot_partition->subtype == 16 && ota_1 && ota_1->size == 1310720 becomes true.


Cannot resolve dependencies in webpack 5

When I try to add this dependency to a web app (made with create-react-app) using webpack 5, I get errors saying that it will not polyfill the node dependencies (url and streams). Is this library not meant to be used in a front end? Can you please update the code/dependencies to work in a browser and with webpack 5?

As far as I remember, you have to add this to your Webpack config:
node: {
    fs: 'empty',
    net: 'empty',
    tls: 'empty',
    // put any other node builtins here
}


Fix script src of examples

Hi! I just found out that src path is deprecated.
!!!!!!!!!!!!!!!!!!!!!
WARNING: `/js/app.js` is deprecated; you should update your HTML file to use `/foo.js` instead!
!!!!!!!!!!!!!!!!!!!!!

Thank you! :+1:

bors r+

bors r+

bors r+


Need to document new HelpLink parameter

HelpLink has been added to the Error task: https://github.com/dotnet/msbuild/pull/5488.
This should be documented.
Warning version of this issue is here: https://github.com/MicrosoftDocs/visualstudio-docs/issues/5663

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

ID: 92240a7d-b3d0-997d-4608-0cbf9b0772b8
Version Independent ID: 730a0427-8083-e401-0f3b-6b75b9c6f94a
Content: Error Task - Visual Studio
Content Source: docs/msbuild/error-task.md
Product: visual-studio-windows
Technology: msbuild
GitHub Login: @ghogen
Microsoft Alias: ghogen

Note that the ordering of parameters was altered here:
dotnet/msbuild#5572

This doesn't appear to have been fixed. The documentation is still missing HelpLink.


Fix integration with drf

This PR solves this issue https://github.com/jazzband/django-axes/issues/570
With this change, if a project uses django rest framework the package updates the request inside the middleware and then checks whether the limit has been exceeded.

The PR is ready to be reviewed.
FYI @aleksihakli

LGTM with tests integrated, upstreaming 👍


Question on get /reduction-cards (materdata)

Regarding the get /reduction-cards endpoint:

I think this is now about reductioncardtypes
we would like to add a travelClass attribute additionally to the serviceClassType
is the mandatory id-attribute necessary in the name{} object? What would be the id of a "VorteilsCard" additionally to the text?
do we need the translations[] here?

TODO:

split according to 4.0 and 3.4

4.0 remove id from Text, rename end point to ReductionCardTypes
3.4 deprecate id in Text , add optional travelClass
3.4 add comment on masterdata reduction cards to retuen all known cards (at least those where a reduction is granted)

Created https://github.com/UnionInternationalCheminsdeFer/OSDM/issues/613 for the 4.0 changes.