VS2017 starter web application fails on core 1.1

Visual Studio 2017 (v15.2 (26430.16))
Windows 10 v1703
Summary:
Creating a new web application from the built-in template on core 1.1 will throw an exception at runtime:
InvalidOperationException: Can not find compilation library location for package 'system.io.memorymappedfiles'

Works perfectly fine after setting the application back to core 1.0.
Steps to reproduce:

Install .NET core SDK 1.0.4
Install VS2017 community
Create new ASP.NET core 1.1 app
Start with debugging

Attempted solutions:

Uninstalled all instances of .NET SDK and reinstalled 1.0.4
Uninstalled / reinstalled VS2017
Added System.IO & System.IO.MemoryMappedFiles nuget packages
Removed all nuget packages (including Microsoft.VisualStudio.Web.BrowserLink) except the required

Raw exception details:

   at Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths()

   at Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.<>c.<GetReferencePaths>b__8_0(CompilationLibrary library)

   at System.Linq.Enumerable.<SelectManyIterator>d__159`2.MoveNext()

   at Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeatureProvider.PopulateFeature(IEnumerable`1 parts, MetadataReferenceFeature feature)

   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)

   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorReferenceManager.GetCompilationReferences()

   at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory)

   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorReferenceManager.get_CompilationReferences()

   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRoslynCompilationService.CreateCompilation(String compilationContent, String assemblyName)

   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRoslynCompilationService.Compile(RelativeFileInfo fileInfo, String compilationContent)

   at Microsoft.AspNetCore.Mvc.Razor.Internal.RazorCompilationService.Compile(RelativeFileInfo file)

   at Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCache.CreateCacheEntry(String relativePath, String normalizedPath, Func`2 compile)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCache.GetOrAdd(String relativePath, Func`2 compile)

   at Microsoft.AspNetCore.Mvc.Razor.Internal.DefaultRazorPageFactoryProvider.CreateFactory(String relativePath)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.CreateCacheResult(HashSet`1 expirationTokens, String relativePath, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.OnCacheMiss(ViewLocationExpanderContext expanderContext, ViewLocationCacheKey cacheKey)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.LocatePageFromViewLocations(ActionContext actionContext, String pageName, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.ViewEngines.CompositeViewEngine.FindView(ActionContext context, String viewName, Boolean isMainPage)

   at Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor.FindView(ActionContext actionContext, ViewResult viewResult)

   at Microsoft.AspNetCore.Mvc.ViewResult.<ExecuteResultAsync>d__26.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeResultAsync>d__30.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextResultFilterAsync>d__28.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResultExecutedContext context)

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextResourceFilter>d__22.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResourceExecutedContext context)

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)

   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeAsync>d__20.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.VisualStudio.Web.BrowserLink.BrowserLinkMiddleware.<ExecuteWithFilter>d__7.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()

.csproj file:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp1.1</TargetFramework>
  </PropertyGroup>

  <PropertyGroup>
    <PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;</PackageTargetFallback>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
    <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" />
  </ItemGroup>

</Project>

This was fixed with .NET core 2.0, so I'm going to close this issue out.


Update icon support

Icons are supported in actions and profiles.  As of https://github.com/microsoft/terminal/pull/7830, emoji are supported for profiles too.

Docs Build status updates of commit f443f96:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/customize-settings/actions.md
:white_check_mark:Succeeded
View

TerminalDocs/customize-settings/profile-settings.md
:white_check_mark:Succeeded
View

TerminalDocs/troubleshooting.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


No such file or directory: 'data/IMGUR5K/train/words.json' ?

This is an interesting work. but i got an error when I try to run the project by follow command
python run.py './src/config/baseline.py'
but I have download IMGUR5K dataset and put it under data floder. So waht should i do to generate training dataset from IMGUR5K?

Hi @kbaicai, we updated repo and added prepare_dataset.py file. Run it to preprocess files as we did it. Also you can find updated instructions in readme.

it works! thank you~
but there are some bug need to fix in prepare_dataset.py
line 83
img_cropped = crop_minAreaRect(img, *info['bounding_box'])  change to  img_cropped = crop_minAreaRect(img, *json.loads(info['bounding_box']))

prepare_dataset.py not work
Traceback (most recent call last):
File "/home/jorj/Загрузки/text-deep-fake-main/venv/lib/python3.7/site-packages/click/types.py", line 608, in convert
st = os.stat(rv)
FileNotFoundError: [Errno 2] No such file or directory: 'dataset_info'


README: remove old version availability headers

Per the bump to Python 3.8 (https://github.com/di/pip-api/pull/223), these headers are now vestigial -- all supported versions of pip support these APIs 🙂

I think we can remove the Incompatible checks as well, no?

I think we can remove the Incompatible checks as well, no?

Yep, removing!

I think tests/test_installed_distributions.py needs to be updated as well.


npx ionic capacitor add ios.  is throwing an issue below

npx ionic capacitor add ios.  is throwing an issue below
Am using node v16.20.2
Jhipster v 7.9.3
npx ionic capacitor add ios
> npm i -E<EMAIL_ADDRESS>npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@capacitor/core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@capacitor/ios
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/govindraj/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/govindraj/.npm/_logs/2023-10-18T06_12_01_322Z-debug-0.log
[ERROR] An error occurred while running subprocess npm.

        npm i -E<EMAIL_ADDRESS>exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

Thanks in advance.

You should update others dependencies or use @capacitor/ios version compatible with current dependencies.


Persistency is not a word

it should be "Persistence"

Thanks! TBH, that's already a part of the core implementation of RepoDb (i.e.: ConnectionPersistency). In anyway, is this word still understandable for use?

https://www.dictionary.com/browse/persistency
https://www.definitions.net/definition/persistency

dictionary.com doesn't show persistency as a word, actually, only persistence. That most likely would be because persistence is far and away the most common way to say what you’re trying to. Yours is the first use of “persistency” I can recall seeing.
The word is understandable, of course, but it sounds wrong to a native English speaker.
I would also suggest that changes like this are best made now, while everything is still new, because it’ll only get more difficult (just ask Microsoft about some of their bad choices). You could, for example, duplicate or inherit from ConnectionPersistency, mark ConnectionPersistency as Obsolete, and eventually remove it.
Entirely your choice, of course :-)
Cheers
Jim Cooper

On 20 Jul 2020, at 10:33, Michael Camara Pendon<EMAIL_ADDRESS>wrote:
Thanks! TBH, that's already a part of the core implementation of RepoDb (i.e.: ConnectionPersistency). In anyway, is this word still understandable for use?
• https://www.dictionary.com/browse/persistency
• https://www.definitions.net/definition/persistency
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Persistency is an excellent English word. Just do a search for "persistency ratio" for one example of how it is used in modern English.
It is less frequently used than persistence in non-technical settings. And persistency is very rarely used in computer science. I doubt that using persistency the way you have will cause much confusion, although it will "sound wrong" to many native speakers.


Introduce a new Operation enum for widgets with from_get_set

Is your feature request related to a problem? Please describe.
When integrating egui in a project, you may not have direct access to the data you want to represent. The solution egui has right now (a closure which takes an option and returns a value) is great, but when encountering it for the first time, it feels obtuse.
Describe the solution you'd like
I'd like to introduce a new enum type, Operation<T>, which would be a drop-in replacement for the Options that closures already take. Operation would look something like this:
pub enum Operation<T> {
   Get,
   Set(T)
}

The reason I'm opting for generics here is so that people writing their own widget implementations can use the same thing with types that would be more idiomatic for their use case.
I feel this change would be mildly intrusive, and would ultimately make for more readable code. I'm using this pattern with my own widget library and like it quite a lot, but figured I should give the chance to see if this is even a good idea before I run off making a PR.

I have no idea what you are referring to. Please explain, perhaps referring to existing code and/or adding some code example.

Sorry, I should've clarified. What I'm referring to is the from_get_set method that sliders and drag values have:
docs.rs
Doing a quick search, I realized that expanding this to other widgets may also be a good idea. The main thing this benefits is audio plugins. When you're doing the editor UI, you don't have a direct mutable reference you can use. Here's an example from nih_plug:
ui.add(
    egui::widgets::Slider::from_get_set(-30.0..=30.0, |new_value| {
        match new_value {
            Some(new_value_db) => {
                let new_value = util::gain_to_db(new_value_db as f32);

                setter.begin_set_parameter(&params.gain);
                setter.set_parameter(&params.gain, new_value);
                setter.end_set_parameter(&params.gain);

                new_value_db
            }
            None => util::gain_to_db(params.gain.value()) as f64,
        }
    })
    .suffix(" dB"),
);

When reading this for the first time, the Option in the closure doesn't immediately make sense. I also realized just now that this is only available for sliders and drag values, so it's probably smart to add from_get_set to other widgets as well.


Symbol Provider Improvements

Improvements:
Old was skipping leading whitespace subs, funcs, etc. New fixes that.
Additions:
Added support for declare versions of sub and function
Added support for constants (including showing their value)
Added support for $include's
Added support for types
Added support for labels and loop constructs

@LordDurus don't merge this yet until I fix some more stuff, but this works great - I added launch.json changes so that debugging works.

OK @LordDurus it's ready.

Success:

@LordDurus ready ready ready.


ARLIS/NA user no longer is a site admin

We received an email from ARLIS/NA member Megan Macken that says:"I was updating the ARLIS/NA Reviews site and all of a sudden it said I do not have access to edit the site, but I am the site admin." When I checked her admin permissions in Wordpress, it was showing she was a subscriber. We received the same message from a user yesterday--he was an admin of ARLIS/NA Mountain West Chapter whose permissions were switched to subscriber.
In both these cases, I've updated their permissions to be correct, but I am wondering if this is related to the grouper issues and commons #415.

I don't think this is a Grouper / COmanage issue. The associated groups are not managed groups. All that gets passed from COmanage are a user's group and society memberships---not their roles in particular groups, and nothing to do with sites.
Can we try to replicate this behavior on DEV? Ie. have an ARLISNA test user create a site, log out, and log back in?
Is it possible these are migrated sites and the ARLISNA users never actually had administrator access on the Commons sites?

We should also check what the roles are for existing users for ARLISNA sites on dev and prod.

Okay, good to know about Grouper/COManage. I will try this with a test user on ARLIS/NA Commons dev. The users who contacted us have definitely made it sound like they had administrator permissions and then they lost access. However, this might be worth a follow up.

We had another user report a similar issue, although this time it was an HCommons site. This is the user's message: "I have created a commons site (Comprehensive Exam Notes), and set the privacy to admin only. I am logged into the commons, but now when I try and visit the site (through the my sites menu option) it tells me that the site is "Visible only to administrators of this site." How can I get access to my site again?"
In WP Admin, it was showing she was a "keymaster" on the site. I changed her permissions back to admin so she can edit it again, but this sounds similar to what the ARLIS/NA folks reported to us.

Another user has contacted us for this issue on an HCommons site, and it's the same exact issue as what happened with the Comprehensive Exam Notes user. The user wrote: I would like to delete the website I started earlier this week ("qctheatroscope.hcommons.org") -- for some reason I stopped being able to edit the site, and so I launched a "regular" WordPress site instead with the same content. The site at hcommons should thus be deleted, but as I cannot edit it, I also cannot delete the site.
When I looked up the site in WP admin, it's showing the user is "keymaster" on the site. I am going to hold off on deleting the site temporarily in case additional checking needs to be done here.

I've just updated Mischa's permissions to administrator. The user followed up by email to say he doesn't want his site deleted since we've been able to modify his permissions for him.

Two more instances of this issue in the last two days. In both cases, I've updated the permissions for these users so they are admins again.
User: Ian Dunkle
Site: ianddunkle.hcommons.org
Site created: 2021/03/05
Role showing: none
User: Ann Mullaney
Site: verbalmask.hcommons.org
Site created: 2021/06/08
Role showing: none

I've updated his permissions and emailed to ask if he was able to access this site between the 15th and when he emailed us.
User name: Steve McCarty
Username: stevemccartyinjapan
Site: japanned.hcommons.org/
Site created: 2019-09-14
Role showing: none

I've continued to add reports of this error to our "Permissions Victims" spreadsheet: https://docs.google.com/spreadsheets/d/1nnZb_k_qVac-X1pO2jZbFFNxAH3tLlIHZ_5T3g9TLdY/edit#gid=0
I'm posting this user email here because it's a bit different from the others. This user is reporting he was able to edit his site on July 27 but lost permissions on the 28th, so not within the timeframe of the Wordpress update:
I was able to edit my site yesterday (https://josephkgordon.hcommons.org/), but cannot today. Even though I am logged in, the option to "edit" is not available on any of the pages. If I try to click on "edit my profile" from the drop-down menu in the top right hand corner of the screen, I get the message "sorry, you are not allowed to access this page."

Unfortunately we've had our first case of a user's permissions changing again after I've updated them in Wordpress. Ian Dunkle emailed us this morning to say he doesn't have admin permissions on his site. Here's what the user said happened: "I logged in after you reset it, and I was able to access the dashboard for both sites. But sitting down to the edit the site now, I discovered that the dashboard for ianddunkle is once again unavailable."
When I checked his site permissions in Wordpress, it's showing "none" again. I am going to update his permissions back, but we'll need to investigate further.

Another user (Amanda Winkler) also lost her permissions again and reported this via email. Like the other user, her role is showing as "none" again. I've reinstated her admin permissions.

Ian Dunkle contacted us again because he lost his permissions again. This is the first instance of a user losing their permissions three times. This is what he sent today:
I'm only just trying now, but the reset seems not to have worked. As before, when I navigate to my dashboard I can see both sites listed, but only my secondary site has a link to "Dashboard." I tried, of course, to get to the dashboard through the other means (including typing the url).
I reset his permissions today, and will continue to document these instances on our spreadsheet: https://docs.google.com/spreadsheets/d/1nnZb_k_qVac-X1pO2jZbFFNxAH3tLlIHZ_5T3g9TLdY/edit#gid=0

So there is probably something going wrong in the login process, probably related to society management passing from COmanage / Grouper retirement.

This is possibly caused by users logging in while on their personal sites and having roles removed that were supposed to be for the main site.
Possible fix (switch to main network site before adjusting roles): https://github.com/MESH-Research/humanities-commons/commit/9186b6126a2249a121e52b198b898e2a5c7388bd


Make docs not working on M1

Hi everyone,
running the following command
make docs
I get the following error in the "Running sphinx" step:
ImportError: cannot import name 'environmentfilter' from 'jinja2'

Was this on the terminal app?

Same issue here on Intel Mac in Terminal


Question about randomizing the data on a per iteration basis #question

Not a bug, but a question.
If I have an endpoint which allows a variety of parameters, and I would like to thoroughly test the endpoint by sending a non-fixed set of parameters, is there a way to do this OOTB?
A super-simple use case is something like:
ghz --proto=./coolThing.proto --insecure --call coolThing/getBulkInfo --data '{"ids": [ ${some random ids} ]}" -n 1000 -c 32 --connections=32 coolthing.com:80
In which each iteration of the 1000 actions I would like to send a varying list of ID's.
Is this something that can be done currently?
Thanks!
Adam Daughterson

RTFM more carefully and found the answer.


Updated Connection Dialog and Change All Components Dialog

Updated Connection Dialog (issue #229) and Change All Components Dialog (issue #259)

@vyiu can you fetch upstream and then update the PR, this pull request will otherwise become really hard to do

@vyiu don't worry about the fetch upstream thing, I've taken care of it


Clickhouse still not respecting CPUShares in the latest version

ClickHouse server version 22.5.1 revision 54455
System Cores : 32
We did the following steps:
sudo systemctl set-property clickhouse-server.service CPUShares=50 MemoryLimit=12000M
sudo systemctl daemon-reload
sudo systemctl stop clickhouse-server
sudo systemctl start clickhouse-server
sudo systemctl status clickhouse-server
● clickhouse-server.service - ClickHouse Server (analytic DBMS for big data)
Loaded: loaded (/usr/lib/systemd/system/clickhouse-server.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/clickhouse-server.service.d
└─50-CPUShares.conf, 50-MemoryLimit.conf
Active: active (running) since Wed 2022-08-10 06:35:47 PDT; 1 day 21h ago
Main PID: 26362 (clckhouse-watch)
Tasks: 272
Memory: 6.0G (limit: 11.7G)
CGroup: /system.slice/clickhouse-server.service
├─26362 clickhouse-watchdog --config=/etc/clickhouse-server/config.xml --pid-file=/run/clickhouse-server/clickhouse-server.pid
└─26363 /usr/bin/clickhouse-server --config=/etc/clickhouse-server/config.xml --pid-file=/run/clickhouse-server/clickhouse-server.pid
cat /etc/systemd/system/clickhouse-server.service.d/50-CPUShares.conf
[Service]
CPUShares=50
top:
%Cpu(s): 13.7 us,  4.6 sy,  0.0 ni, 81.6 id,  0.0 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem : 13172606+total,  1017936 free, 16944072 used, 11376405+buff/cache
KiB Swap: 33554428 total, 33554428 free,        0 used. 10994254+avail Mem
  PID    USER     PR  NI    VIRT    RES       SHR       S  %CPU  %MEM     TIME+    COMMAND
26363  clickho+  20   0      41.4g  989.2m 403440  S   587.1    0.8        16605:34  clickhouse-server

Clickhouse-server seems to be consuming 587.1% even after setting the CPUShare to 50, where as we expect to stay below 100%.
Please help in fixing this or provide clarification in case we are missing something.
Thanks,
Ketan

Hi! I am sorry to disappoint you, but this project is no longer developed. Thus I wouldn't expect any assistance for your problem from its maintainers. Some loghouse users still might help, though…

Apologies. The issue is related to Clickhouse DBMS. Wrong forum.


static linking breaks on multicore builds with 'undefined reference to `get_myaddress''

Original author: Jim Phillips
Original issue: https://charm.cs.illinois.edu/redmine/issues/522

On an NVIDIA ARM64 machine, --with-production works but -optimize gives link error:
../../../bin/charmc  -language charm++ -o hello hello.o
../../../bin/../lib/libck.a(debug-charm.o): In function hostInfo(void*, void*, CpdListItemsRequest*)': debug-charm.C:(.text+0x40): undefined reference to get_myaddress'
collect2: error: ld returned 1 exit status
Fatal Error by charmc in directory /home-2/jphillips/NAMD_CVS-2014-06-18_Source/charm-6.6.0-rc3/multicore-arm7/tests/charm++/simplearrayhello
Command g++ -D_REENTRANT -rdynamic -o hello -L../../../bin/../lib -I../../../bin/../include ../../../bin/../lib/libldb-rand.o hello.o moduleinit29126.o ../../../bin/../lib/libmemory-default.o ../../../bin/../lib/libthreads-default.o -lckmain -lck -lconv-cplus-y -lconv-core -lconv-util -lconv-partition -lpthread -lckqt -ldl -lm returned error code 1
charmc exiting...

Original date: 2015-02-09 17:33:20

RSA ID for TCBG has expired.  Will get a new one so I can reproduce the bug.

Original date: 2015-02-16 18:14:56

I cannot reproduce this bug on cupertino.  I suspect the actual issue was resolved by other changes in the interim.
I have found numerous compilation bugs arise with high levels of parallelization on the make (-j or -j8).  Those seem to be compiler crashes in gcc, probably due to memory constraints. I'd consider those upstream bugs rather than charm bugs.  I'm reluctant to try to enforce low levels of parallel compilation as the environmental toolchain issues may be resolved in subsequent releases.
Building with -j2 has been safe so far.

Original date: 2016-12-20 06:42:49

This same error happens when building examples/ampi/Cjacobi3D with -tlsglobals on multicore-linux64 and is reproducible there (see autobuild). The common denominators are that these are multicore builds using static rather than dynamic linking ('-tlsglobals' implicitly passes '-static' to the linker).

Original date: 2017-04-04 20:43:14

It would seem that the thing to do about this would be to statically link everything with the exception of libc. This may take some careful trickery in how we do the linking setup, but would also resolve some other warnings we've seen.

Original date: 2018-03-20 20:38:40

I am unable to reproduce this. My command was:
./build AMPI multicore-linux-x86_64 -j4 --no-build-shared -optimize && pushd multicore-linux-x86_64/examples/ampi/Cjacobi3D && make test TESTOPTS="++local"

Original date: 2018-03-26 20:28:53

Proposing closure unless the issue can be reproduced.

Original date: 2018-05-10 22:11:51

Closing because the issue has not been reproduced.


fix digestAuth not doing anything on not 200 HTTP Code

why did you abandon?

need to clear the history... I'll do a branch specially for you so my fork will not influence your users :)
I'll reopen it on this weekend


Refactor changes and PythonOperator enhancements

Added support for dynamic parsing of op_args, and op_kwargs for PythonOperator
Refactor changes

Reviewed the code LGTM.
Merging the code.


Angular Meteor Website's body's padding-top cuts bottom content

When you scroll to the bottom the content of the page is cut off because of the body's padding-top and overflow auto.

fixed.
if not, please open a new issue

Hi! @Urigo the issue is still there. If I have enough time after work I'll send you a PR. Is that ok? The fix is quite simple so it won't take much time.

@Snesi yes it would be great to get a PR for that!
thank you so much!
https://github.com/urigo/angular-meteor-docs


Bump CIBuildWheel Version to 2.15.0

To address Issue https://github.com/BerkeleyAutomation/python-fcl/issues/69

Thanks for the PR! Can you bump version.py too for the release process?

Done! I went with the most minor version increment but let me know if you'd like something else.

Thanks for the fixes!! Sorry I'd fix these locally but I don't have the project open. I think to fix the build we need to:

In pyproject.toml change Cython -> Cython<3 from #67
locally run pip install --upgrade black and run the latest version of black on the tests (and/or pin the version of black in the github actions YAML).

No problem at all, thank you for your help! I cloned the repo and made the changes you requested, and it looks like the wheels build with pip wheel ./ --no-deps -w wheelhouse/, at least on Linux.

Looks close! It seems like everything except 3.12 is working, which appears to be surfacing a bug/deprecation in setuptools? Looks like it's this one: https://github.com/pypa/setuptools/issues/3935

Ah yep, distutils is deprecated in 3.12 according to https://peps.python.org/pep-0632/. Unfortunately I'm not really sure how to fix this one.

Yeah 🥲. I think we're blocked until https://github.com/numpy/numpy/issues/23808 gets fixed?

Oh actually this looks like it could plausibly work:
https://github.com/numpy/numpy/issues/23808#issuecomment-1677596759
[build-system]
requires = [
  'numpy; python_version<"3.12"',
  'numpy>=1.26.0b1; python_version>="3.12"',
  # ...
]

Seems to work in 3.12 now! Hopefully the actions pass and it hasn't broken anything for older versions (the changes shouldn't from what I can tell).

Looks like it's building now, only failing on 3.12 tests :laughing:. Thanks for all the followup on this PR!
It's a little suspicious python-fcl currently only has numpy in the build-system (which I don't know if the install respects?) I suspect it might need the version-locked numpy in project.dependencies too:
[project]
name = "python-fcl"
dependencies = ["numpy ...version-info-here"]

Ah good point. With this change I can now install properly in 3.12, so hopefully it'll fix the problem.

Shoot now it looks like there's a mismatch....

Oh I wonder if this version range needs something for Python 3.6, or to drop Python 3.6. FWIW I've had to drop 3.6 on other projects due to pyproject.toml support and it would probably be fine to do that here if necessary.

ERROR: Some build dependencies for file:///project conflict with the backend dependencies: numpy==1.13.3 is incompatible with numpy>=1.26.0b1; python_version >= "3.12".

Hmm I would think it would just work, since for older versions like 3.6 it should fall back to oldest-supported-numpy. I wonder if it'll work if I change oldest-supported-numpy back to numpy in setup.cfg, since that's what it was originally.

Oh looking at the logs my theory on this is that we're double-specifying the build system in both setup.cfg and pyproject.toml:

setup.cfg is used on Python 3.6, and specified in setup_requires
pyproject.toml is used on Python 3.7+ and is specified in build

Hmm, so does that mean we would want something like this?
setup_requires =
    numpy
    Cython
install_requires =
    numpy; python_version<'3.12'
    numpy>=1.26.0b1; python_version>='3.12'
    Cython

Since if we take the numpy specification out of both blocks in setup.cfg we'd get back to an earlier version which also had a crash.

Looks like you got it great work! Thanks for the follow ups, these CI changes are particularly rough haha. I think at some point this project should probably use ini2toml to move everything from setup.cfg to pyproject.toml and drop 3.6 which would probably make this build a lot more stable.

Great! Thanks for guiding me through the process and for maintaining the project!


feat: add react package

Ship a React version of Virchual based on the preact one

Hey @devrnt,
thanks a lot for your PR! I'll have a look at it in the upcoming days.

@devrnt Sorry for not getting back to you earlier!
In the meantime, I improved virchual and changed the way how Preact uses virchual (see with-preact). If you're still eager to get your PR merged (which I would really appreciate), please get your branch up to date and adapt the React.js code to be similar to the Preact version.
Thanks a lot!

@berndartmueller However I would like to work on it, I'm currently short on time. That being said I would still love to see a React version since this is an awesome slider!

@berndartmueller However I would like to work on it, I'm currently short on time. That being said I would still love to see a React version since this is an awesome slider!

Ok, no problem! I'll release a React version of Virchual next to the Preact version soonish.


Update purescript-react version

This package currently depends on v2, but purescript-react is up to v4 now.

Thanks! I'll try to get this updated soon. 👍

Glad this package exists! I'm really into the todo mvc example too. Writing markup/bindings in JSX and application logic in PureScript HOCs feels great haha.


chaining authentications?

Environment

OS: FreeBSD
Erlang/OTP: 18
EMQ: 22

Description
I am working on a fine graded authentication system based on auth_http. All requests will be checked agains a webservice.
To make my life easies I'd like to chain authentifikations. The idea is to have emq_auth_username for general system subscriptions done with acl.conf and the rest via emq_auth_http?
Is that possible?

@wiiikiii Load the emq_auth_username plugin first, and then load the emq_auth_http.


Hawkular 1259

This merges the 1259 (new inventory) work into master.  It is set to DNM until we have a green light to do the branching.  Also, we may want to make a release of commons and the agent, and then update this to use the new release deps.

This should now be ready for merge if it goes green in Travis.  It does have src-deps for agent and commons, both of which will need releases before we can release a "1259/NewInv" version from master.


[SYM-4790] Update AWS Lambda Strategy Example to use runtime_connector 2.x

Description

Updates the basic/aws_lambda_strategy to use the new runtime_connector v2.0 module
Updates the usages of main to reference the local.environment_name variable instead, for consistency.

Testing

Since the 2.0 connector is not published yet, I tested this by overriding the module in override.tf with

module "runtime_connector" {
  source  = "git@github.com:symopsio/terraform-aws-runtime-connector.git?ref=leslie/sym-4763-create-runtime-connector-v2x"

  environment_name = local.environment_name

  sym_account_id = "906191524257"
}

Current dependencies on/for this PR:

main

PR #64   👈

This comment was auto-generated by Graphite.


fix: Support pydantic.Field(repr=False) in dataclasses

Change Summary
Fix for https://github.com/pydantic/pydantic/issues/7078
Changes:

Modified make_pydantic_fields_compatible to address repr
Added test for added repr support
Small addition to tests/test_dataclasses.py:test_default_factory_field just to be sure nothing broke

First PR here, apologies in advance if I happen to miss something :)
Related issue number
fix #7078
Example from issue:
import dataclasses
import pydantic.dataclasses

@pydantic.dataclasses.dataclass
class x:
    y: int
    z: int = dataclasses.field(repr=False)

@pydantic.dataclasses.dataclass
class a:
    b: int
    c: int = pydantic.dataclasses.Field(repr=False)

print(x(3, 4), a(1, 2))
# x(y=3) a(b=1, c=2)

Checklist

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

please review

Oops, looks like broken on python 3.8-3.9.

@PrettyWood,
Given that you did some of the initial work with this logic here, I was wondering if you'd be able to give this PR a review as well? Thanks in advance!


fix: do not include CPython source archive in unix artefacts

CPython sources are currently included in release artefacts. This wastes storage & bandwidth.

@priyagupta108, @priya-kinthali, @HarithaVattikuti,
can you review this please ?


bots: Allow bot owners to easily subscribe/unsubscribe bots from streams in UI

See https://chat.zulip.org/#narrow/stream/2-general/topic/Unsubscribe.20own.20bot.20from.20streams/near/1343696
When you go into personal settings and edit your bots, you should be able to edit the bot and see an "Edit Bot" modal.  We want to add a tab for subscribed streams that allows the bot's owner to unsubscribe the bot from any streams.  This tab should function very similarly to the tab that admins see when you go to a user's full profile, and ideally we can share code.

I added the difficult label mostly due to the fact that we haven't discussed a solution here yet, but if we come up with a good plan on chat, this may be relatively straightforward.

A good warmup for this issue would be to fix #21410, although that issue should be mostly orthogonal to this one.

@zulipbot claim

@zulipbot work in progress.


Inverted Sections Don't Support Hashes

pystache.render('{{#x}}YES{{/x}}{{^x}}NO{{/x}}', {'x': {'foo': 42}})
'YESNO'

The output SHOULD be 'YES', not 'YESNO'

OK I just confirmed that this is fixed in the current version of master


Rework error reporting and formatting

Problem
Currently we're missing the following features:

the user can't register a hook that will be invoked on every performed assertion including successful ones; e.g. this could be used for goconvey integration (#143) or for other reasons;

when an error is passed to user-defined Reporter, it only receives the error message, but no additional context: e.g. test name (#59), request and response (#137), value which didn't pass the assertion, etc;

since every component formats error message by its own, there is no single point where we can implement various formatting improvements like colored output.

Solution
The suggested solution is to unify error handling by introducing error context and formatter:

Add Context struct:

Context will accumulate the assertion context, assertion name (i.e. method name like "Equal"), request, response, round trip time, etc. E.g., when the user calls Expect(), the encoded request and received response are stored into context.

Context should be inherited by nested objects, e.g. in Array().Element() the returned element inherits the context of the array.

Context will be passed to Formatter when an assertion fails.

Context will contain Reporter field, which will be used to report failures.

Context will also contain private Formatter field, to allow nested components to inherit formatter.

We already have struct chain which is automatically inherited by all nested objects. We should just replace chain.reporter with chain.context.

Add Failure struct:

Failure will contain information about the failed assertion: error message, actual value, and expected value (for assertions like Equal) or the value which triggered the failure (for assertions like Contains).

Failure will be passed to Formatter when an assertion fails.

Add Formatter interface with four methods:
BeginAssertion(Context)
Success(Context)
Failure(Context, Failure)
EndAssertion(Context)

Add DefaultFormatter implementation of the Formatter interface:

BeginAssertion(), EndAssertion(), and Success() may be no-op for now.

Failure() should format info from Context and Failure structs into a string and pass it to Context.Reporter.

It should use dumpValue() to print values from Failure struct. If both actual and expected values are present, it should use diffValues() to print the diff. Currently this logic is duplicated in every component and now it should be implemented once in Formatter.

Switch all components to new structs:

Make all components using Context.

Add Formatter to Config. If it's nil, automatically use DefaultFormatter. Pass Formatter and Reporter from Config to to Context.

Incrementally, one-by-one, switch every component from doing its own error formatting and reporting to using Context.Formatter. They should call BeginAssertion() before doing a check, then call Success() and Failure(), and then call EndAssertion().

Notes
Since these are quite large changes, it's better to split the implementation into multiple PRs, like:

Add Context, Failure, and Formatter types.
Add DefaultFormatter.
Use Context in all components.
Use Formatter in every component (this step can be split into multiple PRs as well, e.g. one PR for one or a few components).

Preferably we should not break public API. For now it seems that we can do it. Otherwise we'll have to make v3 branch.
Further improvements
After finishing this issue, we'll be able to implement the following improvements:

allow to assign a name to every test and then print it on failure;
pretty-print request, response, and RTT on failure;
print backtrace on failure;
colored output, including colored diff.

When this task is done, we'll create new issues for these features.

@gavv Can you please assign this issue to me? I will start working on this. Thanks

Hi @gavv I will be needing your help while working on this, so please bear with me 😅 . I'll create a PR soon (and it might not be completely correct), to get your inputs. I'll make sure I complete this ASAP.

@gavv A question: why not pointer to Context and Failure structs for Failure method of Formatter interface?

why not pointer to Context and Failure structs for Failure method of Formatter interface?

It was just a pseudo-code. We can use pointers of course if we need to.

Also, would it make sense to keep Failure struct inside Context?

What do you mean by "inside"?

What do you mean by "inside"?

Ah, I guess you suggest to add a Failure field to Context. Well, I think that Formatter interface will be cleaner if context and failure are distinguished: Context defines where the error happened, and Failure defines what error happened. But if there are reasons why it's better to move Failure into Context, we can do it.

It makes sense, @gavv . Thanks for the explanation.

@gavv about not breaking the public API, i think there is a problem with the NewNumber NewObject (and so on…) constructors: since we need to pass the context instead, that will break any code that relies on those functions.
Do you consider this to be part of the public API, or by public API you mean only the Expect struct?

I think that the Formatted should only be called by a Reporter, as it passes the message to the backend, knowing when to call (with current implementation of Formatter) the different functions of a Formatter, with a Failure struct.
However that means reworking a lot of API, surely breaking some of the public ones.
The Expect struct implem should not change though.

See comment https://github.com/gavv/httpexpect/pull/98#issuecomment-813026402

This is finally landed in #150. I'll update README soon.

See two new sections in README:

https://github.com/gavv/httpexpect#customize-failure-formatting
https://github.com/gavv/httpexpect#customize-assertion-handling

Closing this. I'll create separated issues for further improvements.

Tagged v2.5.0 with this feature


Any plan to include mast3r

Thank you for your outstanding work! I am reaching out to inquire whether you have any plans to include mast3r in your future projects.
Thanks.

Just added! See latest commit at https://github.com/gmberton/image-matching-models/commit/55a4777e18965c65146ab290c54aa8095a08b50b.

Cool stuff! I will try it now!

Closing per https://github.com/gmberton/image-matching-models/commit/55a4777e18965c65146ab290c54aa8095a08b50b, feel free to reopen if there are any issues with using MASt3R.


Feature Request: One to many relations with 'create_or_select' field type

Would it be possible to add one-to-many relationships using the new 'create_or_select' field type?
This new widget is awesome and we will definitely use it. For us though there are cases when having a 1:N relationship like this would be mega handy.
For example, if we had software that allowed the user to plan 'Deliveries' we might have an entity called 'Delivery'. This would have multiple 'Delivery Pickups'. We would like to create the 'Delivery' and in the same form create multiple 'Pickups'. The pickup would have a time, name, address and would appear in a modal popup.
This would be much nicer for a user as they do not have to create the delivery, then go to create the pickups separately. (This is just one example usage!).
In terms of visual look/feel it could just be a multi-select!
Thanks
Mike

Any news on this ?

@sadortun we haven't developed this so your PR will be appreciated. Thank you!


feat: implemented setting storage and basic navigation

Implemented settings to store the api key and basic navigation with Voyager: https://voyager.adriel.cafe/navigation

Sorry merging, becauser I wish to move forward


Add Resources: Type Challenges

https://tsch.js.org/
https://github.com/type-challenges/type-challenges

@warmthsea thank you for sharing! Merged


Deploy Checklist: New Expensify 2023-06-08

Release Version: 1.3.26-1
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

[ ] https://github.com/Expensify/App/pull/17496
[ ] https://github.com/Expensify/App/pull/18221
[x] https://github.com/Expensify/App/pull/18342
[ ] https://github.com/Expensify/App/pull/19185
[x] https://github.com/Expensify/App/pull/19374
[ ] https://github.com/Expensify/App/pull/19561
[ ] https://github.com/Expensify/App/pull/19612
[ ] https://github.com/Expensify/App/pull/19664
[ ] https://github.com/Expensify/App/pull/19854
[ ] https://github.com/Expensify/App/pull/19879
[ ] https://github.com/Expensify/App/pull/19883
[ ] https://github.com/Expensify/App/pull/19890
[ ] https://github.com/Expensify/App/pull/19944
[ ] https://github.com/Expensify/App/pull/19946
[ ] https://github.com/Expensify/App/pull/20030
[ ] https://github.com/Expensify/App/pull/20032
[ ] https://github.com/Expensify/App/pull/20087
[ ] https://github.com/Expensify/App/pull/20088
[ ] https://github.com/Expensify/App/pull/20107
[ ] https://github.com/Expensify/App/pull/20114
[ ] https://github.com/Expensify/App/pull/20115
[ ] https://github.com/Expensify/App/pull/20144
[ ] https://github.com/Expensify/App/pull/20168
[ ] https://github.com/Expensify/App/pull/20172
[ ] https://github.com/Expensify/App/pull/20176
[ ] https://github.com/Expensify/App/pull/20177
[ ] https://github.com/Expensify/App/pull/20182
[ ] https://github.com/Expensify/App/pull/20215
[ ] https://github.com/Expensify/App/pull/20216
[ ] https://github.com/Expensify/App/pull/20231
[ ] https://github.com/Expensify/App/pull/20241
[ ] https://github.com/Expensify/App/pull/20243
[ ] https://github.com/Expensify/App/pull/20246
[ ] https://github.com/Expensify/App/pull/20247
[ ] https://github.com/Expensify/App/pull/20252
[ ] https://github.com/Expensify/App/pull/20259
[ ] https://github.com/Expensify/App/pull/20263
[ ] https://github.com/Expensify/App/pull/20273
[x] https://github.com/Expensify/App/pull/20287
[ ] https://github.com/Expensify/App/pull/20288
[x] https://github.com/Expensify/App/pull/20289
[x] https://github.com/Expensify/App/pull/20291
[x] https://github.com/Expensify/App/pull/20299
[ ] https://github.com/Expensify/App/pull/20300
[ ] https://github.com/Expensify/App/pull/20330
[x] https://github.com/Expensify/App/pull/20331
[ ] https://github.com/Expensify/App/pull/20335
[x] https://github.com/Expensify/App/pull/20348
[x] https://github.com/Expensify/App/pull/20349
[x] https://github.com/Expensify/App/pull/20355
[x] https://github.com/Expensify/App/pull/20360
[x] https://github.com/Expensify/App/pull/20400
[x] https://github.com/Expensify/App/pull/20418
[x] https://github.com/Expensify/App/pull/20421
[ ] https://github.com/Expensify/App/pull/20440
[x] https://github.com/Expensify/App/pull/20442

Deploy Blockers:

[ ] https://github.com/Expensify/App/issues/20478
[ ] https://github.com/Expensify/App/issues/20492
[ ] https://github.com/Expensify/App/issues/20493
[ ] https://github.com/Expensify/App/issues/20495

Deployer verifications:

[ ] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[ ] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found here.
[ ] I checked GitHub Status and verified there is no reported incident with Actions.

cc @Expensify/applauseleads

:rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/1.3.26-1 :rocket:

Left a comment for https://github.com/Expensify/App/pull/20247#issuecomment-1583850817 - we're unsure on how to execute the QA steps there.

https://github.com/Expensify/App/pull/19612 is failing because of this issue https://github.com/Expensify/App/issues/20513

Going to check off https://github.com/Expensify/App/pull/20107 as it was a pass on every platform except Android.
Android is failing because of this issue https://github.com/Expensify/App/issues/17368 (that was not being fixed on that PR)

We're not sure why https://github.com/Expensify/App/issues/20505 was reported as a bug, would you mind double checking it please? In the meantime I checked it off.

:clap: Heads up @Expensify/applauseleads :clap:
A new pull request has been :cherries: cherry-picked :cherries: to staging, and will be deployed to staging in version 1.3.26-2 :rocket:

:tada: All set?…You bet! @Expensify/applauseleads https://github.com/Expensify/App/releases/tag/1.3.26-2 has been deployed to staging :tada:

:clap: Heads up @Expensify/applauseleads :clap:
A new pull request has been :cherries: cherry-picked :cherries: to staging, and will be deployed to staging in version 1.3.26-3 :rocket:

:tada: All set?…You bet! @Expensify/applauseleads https://github.com/Expensify/App/releases/tag/1.3.26-3 has been deployed to staging :tada:

Checking https://github.com/Expensify/App/issues/20583 off since we CP'd a fix P.R. to staging

Checking #20609 off - it is a bug but seems not to be a deploy blocker - spawns from code already on prod (which is just currently blocked fully by another bug)

:shipit:


Cannot specify passwordPolicy.validatorPattern or passwordPolicy.validatorCallback in a configuration file

Issue Description
I am using the standalone version of parse-server. It seems there is no way to specify passwordPolicy.validatorPattern and passwordPolicy.validatorCallback options via JSON configuration file because these options require being RegExp instance or a function.
I get following errors  when I try to specify them:

passwordPolicy.validatorPattern must be a RegExp
passwordPolicy.validatorCallback must be a function

Is there a way to do it?
Environment Setup

Server

parse-server version: 2.15.9
Operating System:     Windows 7
Localhost

@dkarviga
The password policy feature was added only in 2.2.25. Can you please try using parse-server 2.2.25 or greater?
@bhaskaryasa, the author of the password policy feature can answer your questions if this feature is not working even after upgrading to 2.2.25 or greater.

@dkarviga - The configuration requires these settings to be of exact types. Can you please post the code snippet where ParseServer is being initialised with these settings?

@bhaskaryasa
Sorry for the delay. I use parse-server as standalone app (without express framework).
There is a way to initialize parse-server using JSON file.
I run parse-server using the following command:
parse-server =path to config file=
The example of config file
{   "appId": "<app id>",   "masterKey": "<master key>",   "port": 1337,   "databaseURI": "<database url>",   "push" : {     "android" : {       "senderId" : <sender id>,       "apiKey" : "<api key>"     }   },   "cloud": "<path to main.js>",   "logsFolder": "<logs folder>",   "logLevel": "error",   "loggerAdapter": {     "module": "parse-server/lib/Adapters/Logger/WinstonLoggerAdapter",     "options": {       "logLevel": "error"     }   },   "passwordPolicy" : {      "validatorPattern" : ...,      "validatorCallback" : ..   } }
I cannot specify objects and functions via JSON file, so it seems this functionality cannot be used with standalone apps.
All I need is to  add min-length validation for the password.
Currently, as a workaround, I use beforeSave trigger, but in this case, no error message is displayed in the Password Reset form when the user enters an incorrect password.

@bhaskaryasa
It would be great if validatorPattern can be casted from string to RegExp, for example

@dkarviga - I understand it now. Will look at adding this option. Thanks for the feedback.

@bhaskaryasa, could you say, when we can expect this working?

@apekelnik - hoping I can push this change by next release. not sure about the release schedule though.

@bhaskaryasa , thanks. We will be waiting.

Closing, as #3331 was just merged. Release is coming soon.

@dkarviga @apekelnik
I hope today's release addresses your need.

@bhaskaryasa thanks.


Enable manual skipping of changelog checks via label

Fix #64 as @astrofrog suggested. Hopefully this will get rid of "false positive" in PRs like astropy/astropy#7525 when a maintainer adds new change log sections after a release.
c/c @bsipocz

CircleCI failed because of missing dependencies. When are we supposed to fix it? I forgot if we were to ignore CircleCI for now or not.
As for Travis CI, GitHub blocked it for "API limits exceeded", but when I tested it locally, I get this:
>           raise AssertionError(os.linesep.join(other_warns))
E           AssertionError: Working outside of application context.
E
E           This typically means that you attempted to use functionality that needed
E           to interface with the current application object in a way.  To solve
E           this set up an application context with app.app_context().  See the
E           documentation for more information.

changebot/github/tests/test_github_api.py:77: AssertionError

I think this other error is real and somehow related to #84? @Cadair ?

Well, the circleCI stuff is halted by me, and can't really give you an ETA given that my laptop just went back to sevice and I don't plan to dig up my WIP stuff from backup right now 😊
So please keel ignoring it.

OK I found out why Travis was failing in both cases. API limit and premature customization.

Since there are no objections, I am going to merge this. Thanks!

Thanks @pllim for fixing this.


Can't open animdessin2

When open the animdessin2 from Windows->Extensions the panel is launching and then disappearing immediately.

Are you suing the version from the exchange website? Probably because the signage is out of date.
You cn try my custom version. If you find the issue report where i state I've added more features. In there are links on how to install it manually

I have the same problem, I use Animdessin2CC2018 but when I try to open it, it deisappear.
I use Photoshop CC2019

@Hidekij013
Can you share which version you are using and system specs?


Create LICENSE

Added a missing license to a repository. I used the license you picked at https://www.npmjs.com/package/react-color-gradient-picker

It would also do me a great service if you added the label hacktoberfest-accepted before accepting this PR.
More info: https://hacktoberfest.digitalocean.com/faq

What do I do if I want to contribute to a project but it doesn’t have the hacktoberfest topic?

You can still contribute to any public GitHub repository and have it count towards your progress provided that your pull request is labeled with hacktoberfest-accepted.


put nodeSelectotRequirement in first MatchExpressions

Signed-off-by: ldd91<EMAIL_ADDRESS>
Ⅰ. Describe what this PR does
fix #938
Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Could you add ut for this change? @ldd91  thanks.

Could you add ut for this change? @ldd91 thanks.

Done


Set alpha when disabling button

I noticed that calling the roundedButton.isEnabled = false doesn't dim it - which is the case in other UIControls.
I noticed that in all setters _isDirty = YES; [self setNeedsLayout]; are called, and thought about using the same pattern; however, there is no need to layout all the subviews again, so I thought setting alpha directly a more reasonable solution.

Aha. I didn't even think about the enabled state. Thanks so much for that!

🙌🏻
Sent with GitHawk


Add .forestadmin-schema.json

Fix: https://github.com/opencollective/opencollective/issues/2134

Coverage remained the same at 64.359% when pulling 64212e3ac444748df0cb8ea0c3a10e84147b6b74 on forestadmin-schema into 827a0f29f91e1a30e33c9e4435921e28e0f37bb5 on master.


feat: Homepage responsive design

Description
Follow up PR #6642 , polish UX design

Task Item
close #5857

Screenshots

The dimension of image cover would be recommend at  245 x 95  px or  higher resolution  at  490 x 190 px
too short will apply a blur effect background to fill the blank space

feed content update in https://github.com/microsoft/BotFramework-Composer/pull/6829

Coverage decreased (-0.003%) to 51.155% when pulling a38b3fc16c8c4b9724e4862db052cbf70ed5d1de on zhixzhan/homepage-patch into 7019ef096e9361f104317b25151a6f0b2add4de1 on main.


Update onboarding-guide.md

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66d0dd1c6553570e93ac153e--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66d6493366812573d612de35--harness-developer.netlify.app


traefik: 1.7.0 -> 1.7.1

Motivation for this change
Bump traefik to latest patch release : see https://github.com/containous/traefik/compare/v1.7.0...v1.7.1
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build traefik

Success on aarch64-linux (full log)
Attempted: traefik
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l91dy5ppwwkjl8kiypq97k8nwakicv3s-traefik-1.7.1-bin
shrinking /nix/store/l91dy5ppwwkjl8kiypq97k8nwakicv3s-traefik-1.7.1-bin/bin/traefik
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l91dy5ppwwkjl8kiypq97k8nwakicv3s-traefik-1.7.1-bin/bin
patching script interpreter paths in /nix/store/l91dy5ppwwkjl8kiypq97k8nwakicv3s-traefik-1.7.1-bin
checking for references to /build in /nix/store/l91dy5ppwwkjl8kiypq97k8nwakicv3s-traefik-1.7.1-bin...
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/l91dy5ppwwkjl8kiypq97k8nwakicv3s-traefik-1.7.1-bin

Success on x86_64-linux (full log)
Attempted: traefik
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/x0pzi35zxaipp5qdjwxczmshas4vm6vg-traefik-1.7.1-bin
shrinking /nix/store/x0pzi35zxaipp5qdjwxczmshas4vm6vg-traefik-1.7.1-bin/bin/traefik
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/x0pzi35zxaipp5qdjwxczmshas4vm6vg-traefik-1.7.1-bin/bin
patching script interpreter paths in /nix/store/x0pzi35zxaipp5qdjwxczmshas4vm6vg-traefik-1.7.1-bin
checking for references to /build in /nix/store/x0pzi35zxaipp5qdjwxczmshas4vm6vg-traefik-1.7.1-bin...
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/x0pzi35zxaipp5qdjwxczmshas4vm6vg-traefik-1.7.1-bin

Success on x86_64-darwin (full log)
Attempted: traefik
Partial log (click to expand)
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
find: '/nix/store/kvfpa8a66scq3pnxhb7gbymkq80b0ff8-traefik-1.7.1': No such file or directory
/nix/store/50v2jwrmjzszq18b5gxbrpwhdwpv4rjs-traefik-1.7.1-bin


Recent issue with NodeJS reinstall

Uhm, I had to install NodeJS on a new server, but now when I run the bot(with the new ES6 update?) I get following error..
bots@box:~$ nodejs bots.js

/home/bots/bots.js:6
class ChildBot extends ParentBot {
^^^^^
SyntaxError: Unexpected reserved word
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

And this are my versions of Node & NPM
bots@box:~$ nodejs -v
v0.10.25
bots@box:~$ npm -v
1.3.10

I hope you really can help me here, since apt-get install node wont work. If required, I'm using Ubuntu 14.04.

As the Readme says, you need to use at least node 4.0.0.

Please update your node version.
sudo npm cache clean -f
sudo npm install -g n
sudo n stable

Well I got it 'wokring' now thanks to infam0us, the problem is now, it asks me to check if I enabled a phone number on the account(Wich I took out recently, and switched back to E-Mail Guard Codes), the guard code itself gets sent fine to my E-Mail, but then this happens..
[Logged into steam stuff]

2016-05-13T01:15:35.063Z - info: [user] Logged into Steam web
2016-05-13T01:15:36.573Z - error: [user] Failed to enable two factor. Check if you have a phone number enabled for this account.
2016-05-13T01:15:36.577Z - error: [user] Error: Error 2
    at SteamCommunity.<anonymous> (/home/bots/node_modules/steam-parentbot/node_modules/steamcommunity/components/twofactor.js:42:17)
    at Request._callback (/home/bots/node_modules/steam-parentbot/node_modules/steamcommunity/components/http.js:62:14)
    at Request.self.callback (/home/bots/node_modules/steam-parentbot/node_modules/steamcommunity/node_modules/request/request.js:200:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/home/bots/node_modules/steam-parentbot/node_modules/steamcommunity/node_modules/request/request.js:1067:10)
    at emitOne (events.js:101:20)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/home/bots/node_modules/steam-parentbot/node_modules/steamcommunity/node_modules/request/request.js:988:12)
    at emitNone (events.js:91:20)

You can ignore that error, because it is the same as the message above about no phone number (https://github.com/dragonbanshee/node-steam-parentbot/blob/master/parentbot.js#L177-178).
This method is called in _onLogOnResponse, so if you overwrite it in your code this error won't happen and the bot will not attempt to enable 2FA.

The thing is, I DID overwrite it, but the overwrite wont be accepted, nothing changes afterall, wont join groupchat nor send a message, only goes online.
class ChildBot extends ParentBot {
    _onLogOnResponde(response) {
    	if (response.eresult === Steam.EResult.OK) {
		    this.logger.info('Logged into Steam!');
		    this.steamFriends.setPersonaState(Steam.EPersonaState = 1);
		    this.steamFriends.joinChat('GroupID');
		    this.steamFriends.sendMessage('SteamID', 'test');
		}
    }
}

The ES6 one might not correctly overwrite stuff but i'm not sure. I'm pretty sure it does. Can you post your whole code?

'use strict' // must have 'use strict' at top

var ParentBot = require('steam-parentbot').ES6; // .ES6 for new version
var Steam = ParentBot.Steam; // Steam object

class ChildBot extends ParentBot {
    _onLogOnResponde(response) {
    	if (response.eresult === Steam.EResult.OK) {
		    this.logger.info('Logged into Steam!');
		    this.steamFriends.setPersonaState(Steam.EPersonaState = 1);
		    this.steamFriends.joinChat('');
		    this.steamFriends.sendMessage('', 'test');
		}
    }
}

var Bot = new ChildBot('', '', {});

Bot.steamTrading.on('tradeProposed', function (tradeID, steamID) { //create your own listeners
    Bot.steamTrading.respondToTrade(tradeID, false);
    Bot.logger.verbose('Trade request from ' + steamID);
});

Bot.connect(); //connect to Steam

Bot.steamFriends.on('chatEnter', function(id, response) {
	console.log(response);
})

The thing is, the example says const, but the front page says var? Does it matter much wich to use?

bump Since I really need to get the bot working, sorry.

I don't know what ybe problem is and I don't have time to fix it right now. Your ever bet would be to use the older version of parentbot.

Well I switched, now I get this error --
util.js:839
    throw new TypeError('The super constructor to "inherits" must ' +
    ^

TypeError: The super constructor to "inherits" must have a prototype
    at Object.exports.inherits (util.js:839:11)
    at Object.<anonymous> (/home/bots/bots.js:9:6)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:456:32)
    at tryModuleLoad (module.js:415:12)
    at Function.Module._load (module.js:407:3)
    at Function.Module.runMain (module.js:575:10)
    at startup (node.js:159:18)
    at node.js:444:3

Code:
var util = require('util');
var ParentBot = require('steam-parentbot'); //change to 'steam-parentbot' if not running from examples directory
var Steam = ParentBot.Steam; // Steam object

var ChildBot = function () {
    ChildBot.super_.apply(this, arguments);
}

util.inherits(ChildBot, ParentBot);
[...]

Same error there with 2FA, bot only comes online and then nothing works from the code.
var util = require('util');
var ParentBot = require('steam-parentbot').ParentBot; //change to 'steam-parentbot' if not running from examples directory
var Steam = ParentBot.Steam; // Steam object

var ChildBot = function () {
    ChildBot.super_.apply(this, arguments);
}

util.inherits(ChildBot, ParentBot);

var Bot = new ChildBot('', '', {});

ChildBot.prototype._onLogOnResponde = function (response) {
	if (response.eresult === Steam.EResult.OK) {
	    this.logger.info('Logged into Steam!');
	    this.steamFriends.setPersonaState(Steam.EPersonaState = 1);
	    this.steamFriends.joinChat('');
	    this.steamFriends.sendMessage('', 'test');
	}
}

Bot.steamTrading.on('tradeProposed', function (tradeID, steamID) { //create your own listeners
    Bot.steamTrading.respondToTrade(tradeID, false);
    Bot.logger.verbose('Trade request from ' + steamID);
});

Bot.connect(); //connect to Steam

Bot.steamFriends.on('chatEnter', function(id, response) {
	console.log(response);
});

is it because I run the bot from a non-root user..?

The only thing I could think off, the Mobile Authenicator on my old phone still shows the random codes, even though I clearly set it to E-mail only, and even entered the code to disown the number from the account.. as seen here -- https://gyazo.com/c6cbb4c38b77a4177a7ad61c282e699b


[Frontend] Interface fixes for libdevice

Unifying several interfaces with different types to a single one, e.g. fsub_ru and dsub_ru -> sub_ru;
Minor bug fix: fast_pow is incorrectly classified into the pow interface, of which arguments are the same as powf;
Explicit interfaces for casting functions, e.g. decoupling ll2float_ru to ll2float_ru and ull2float_ru;
Removing interfaces that are not in NVIDIA's official documents, e.g. fmaf_ieee_rn, which is confusing together with fmaf_rn.

Have you used any script to generate libdevice.py?
It might be better if you could update https://github.com/openai/triton/blob/master/python/triton/tools/build_extern.py. You could even include the mapping rule directly in the file.

@fdrocha @ngimel Could you please check if this PR breaks any torchinductor test? Any improvement suggestion is also welcome.

Have you used any script to generate libdevice.py?
It might be better if you could update https://github.com/openai/triton/blob/master/python/triton/tools/build_extern.py. You could even include the mapping rule directly in the file.

Yes, I've modified the original script; should I also upload the script into the triton-mlir branch or just the master?

Yes, I've modified the original script; should I also upload the script into the triton-mlir branch or just the master?

Oh I got it, you are merging it into triton-mlir for this PR... Sorry, please also create another PR that merges into master.

Yes, I've modified the original script; should I also upload the script into the triton-mlir branch or just the master?

Oh I got it, you are merging it into triton-mlir for this PR... Sorry, please also create another PR that merges into master.

is it really necessary? Considering that we are about to switch triton-mlir into master in November.

is it really necessary? Considering that we are about to switch triton-mlir into master in November.

Yes, I think it is necessary. We are not sure 1) if there's any case that triton-mlir doesn't cover, 2) could triton-mlir achieve the same performance as master. So some people may still use the old triton/master for a while.

https://github.com/openai/triton/pull/827 Meta is still patching master.

I've add the modified version of build_extern.py in this PR and also created #830 for the master branch.

Thanks for checking @Jokeren. torchinductor does not work with triton-mlir branch, but I tried running tests with #830 and (after making some trivial changes like libdevice.isnanf -> libdevice.isnan) tests pass.
I will make the necessary changes on our side once #830 is merged.

Thanks for checking @Jokeren. torchinductor does not work with triton-mlir branch, but I tried running tests with #830 and (after making some trivial changes like libdevice.isnanf -> libdevice.isnan) tests pass.
I will make the necessary changes on our side once #830 is merged.

Nice, thank you!


Home screen

Description
Everyone, we have home screen
Changes
package.json / package-lock.json
I was getting a useContext error and the internet was unhelpful so there might be unnecessary packages in this file. react-router-dom is very much needed though
App.js
I'm using NavLink to route to the Search component and needed to add routes to App.js for it to all work.
@dm9965, when you are working on routes, you are more than welcome to change the path names as you see fit
GameGallery.js
This currently uses a list of arbitrary values to simulate the list of games we will get from the json file. I added styling in the same names css file so it could at least look a horizontal gallery.
HomePage.js
I wrapped the search input in a NavLink so it can route to the search component. Additional work will be needed to have the overlay effect. For now, it just routes to the search page.
The filter and sort buttons trigger their same-named functions in the file.
Todo:

[ ] Add controller functionality

@m-dorsey Thank you so much for working on this! Sorry it took so long to get started on the code review, I am taking a look at this now!

Hey @dm9965! Since you're pretty well-versed in React, I was wondering if it would be possible for you to get your eyes on the react related pull requests to let us know if you think there are any important changes that need to be made??

Hey @dm9965! Since you're pretty well-versed in React, I was wondering if it would be possible for you to get your eyes on the react related pull requests to let us know if you think there are any important changes that need to be made??

Of course! Taking a look now.


UI broken: Keycloak OTP

Description - What happened? *
UI during entering the OTP ist broken.
Mail addess gets split into two lines, although there is enough space.
Expected Behavior *
/
Observed Behavior *
/
Steps to Reproduce
No response
Context Information
No response
Relevant log output
No response
Screenshots

No longer the case due to other UI changes


How to implement Multiplexer

How to takes a single input and select one of many output lines, which is connected to the input, by using placeholder?
For example if we have a TF variable as follow, how could we forward it to the 1st output ?
intputs = tf.constant(0.2, shape=[2, 2])
sel = tf.placeholder(tf.int32)
n_out = 3
out = xxxx(sel, inputs, n_out)  # here

sess.run(out, feed_dict = {sel: 0})
# [[[0.2, 0.2],[0.2, 0.2]],
   [[0, 0],[0, 0]],
    [[0, 0],[0, 0]]]

We primarily use github issues to track bugs and installation issues.  This is a question better suited for StackOverflow.  Please ask it there and tag it with the tensorflow tag.  Thanks!


Add documentation for creating a non-root user

Add directions in the "Advanced Setup (non-Vagrant)" documentation (https://zulip.readthedocs.io/en/latest/development/setup-advanced.html) for setting up a a non-root user with sudo privileges. This is because if you run the the Zulip installation as the root user on an Ubuntu system you run into the error: Error: The provision script must not be run as root.

@zulipbot claim


Defaults for the ceph-mon role should be setting the 'mon_group_name'

Without this, and if all these group name variables are commented out in group_vars/all, then the handler in ceph-common that depends on the value of mon_group_name would fail:
NOTIFIED: [ceph-common | restart ceph mons] ***********************************
fatal: [ctrl-gprt] => error while evaluating conditional: socket.rc == 0 and ansible_distribution != 'Ubuntu' and mon_group_name in group_names

which does look like some sort of unexpected behaviour on Ansible because those *_group_name defaults are set in the ceph-common role. I'm using Ansible 1.9.4.

Thanks for merging this pull request.
I wanted to point out something regarding defaults on dependent roles: They don't really trickle through to the parent role as assumed by how these default group names are set in the ceph-common role. I looked into the code for the stable-1.9 branch of Ansible and these defaults are only applicable to the role in play; they are not transitive at all. Ansible 2 is a completely rewrite, especially in this area, so I haven't checked the behaviour yet.


README link points to resource that does not exist

The following blurb and link points to a webpage that no longer exists and redirects to a generic and unhelp page on the TPGi website:

For further information, see The Paciello Group's aViewer resource page.

Suggest changing to https://github.com/ThePacielloGroup/aviewer/releases

Also noticed the GH demo page points to the same outdated resource


Port gateway from notebook

Ported (cherry-picked) the following Notebook commits to incorporate gateway support into server (Note: commit ids are relative to Notebook [newest to oldest] for cross-referencing):
a1b133393 Attempt to re-establish websocket connection to Gateway (#4777)
7e50cdc85 Remove verbose debug statement in gateway mode (#4725)
2339e6fa2 Missing yield statement on WebSocketChannelsHandler (#4724)
eb4285ed5 Add keepalive ping on gateway websocket (#4701)
385dc9ae0 Add authorization token to header only if no authorization already (#4701)
0c4518823 Modify/add various timeout values (#4701)
914a3f070 Fix binary message issue when configured to forward to gateway (#4576)
be35a370c gateway: compatibility with tornado 4 (#4449)
46bcf78d6 Update gateway support with recent changes (#4431)
acba19033 Minimize handlers and manager methods (#4161)
f74ef2f69 Move environment variables to SingletonConfigurable (#4161)
060a2b9ae Embed NB2KG into Notebook server (#4161)

Along with the following local commits to complete the integration:
90f22e53c Fix tests on py 2
f003f93ee fixup gateway-url alias
776a6673b Allow tests to influence env
b5a48e2b4 Fix gateway_config url reference
160d9dff2 Rename notebook to server
06eb52491 Update IPythonHandler ref to JupyterHandler

@kevin-bates, is this ready for review or are you still cherry-picking commits?

@zsailer - it should be ready to go but let me use the checklist in #53 to verify if I missed any.  I'll post here once I've updated the list. Thanks!

@Zsailer - the checklist has been verified in #53 and this should be good to go.  Thanks!

LGTM!


Mute switch on iOS, silent when app goes in background on android

My fork is a collection based upon the commits of others, as well as some fixes of mine. These are:

Use the correct sound stream ID when playing sound on iOS, so that other apps playing music won't go silent and the mute switch on iOS is working
Don't restart a loop on android when the app is in background

Thanks a lot for preparing this, hope it gets merged
Indeed the first one is a real major issue

@floatinghotpot please merge this PR.
I'm having volume issues on simple loaded audio on iOS and think that this PR may fix the issues.

Hi MartinDomig, thank you for making the effort to create a new branch. However I am still experiencing volume issues on simple loaded audio.
The audio sound output by the device does not reflect the sound volume of the device. E.g: Maxing out the volume level on the device and the application still plays at it's normal volume...vice versa when lowering the volume level to mute the simple audio, the output result is still the same noise level as it were before.

@floatinghotpot  -  sorry to write again but I'm still hoping that you will take a few minutes to merge this PR!
@MartinDomig - thank you for taking the time to collect these fixes and create this pull request.

Is there a reason why all these PR's are not merged?


[PT] Update translation for supervisors

Related to #700

Thanks @ybur-yug! I'll try to keep helping here whenever I can!


[INVE-18197] Replace NPM with yarn

SIbling PR:

Kibi-Internal: https://github.com/sirensolutions/kibi-internal/pull/16546
@elastic/eui: https://github.com/sirensolutions/elastic-eui/pull/27
https://github.com/sirensolutions/jenkins-lib/pull/128

Description:

When installing deps in kibi-internal with yarn without ./.yarn/cache, the yarn.lock file is mutated by this repo because of changes to the checksum.
Replacing NPM in this repo with yarn to see if it adds consistency.

Not required with following yarn config in kibi-internal
// .yarnrc.yml
...
checksumBehavior: "ignore"


Pass pre-built WKWebView instance to makeCustomWebView

Instead of forcing applications to make an all-or-nothing decision on whether or not they use the pre-built WKWebView provided by the package or roll their own, this commit introduces a mechanism for applications to either configure the pre-built instance or built a fresh instance of their own.

Thanks for this, Sean! I like the idea of providing a pre-configured web view to customize. I must be missing something… I don't think it's possible to change the configuration this way.
webView.configuration is a read-only property, so we can't set it with a customized instance. And setting, for example, webView.configuration.applicationNameForUserAgent = "FOO-BAR" doesn't actually apply when the web view renders.
Can you provide a code snippet on how you can customize the configuration using this PR?

Looks great, thanks @seanpdoyle! Will merge when CI passes.


Failing to restore Gradle Cache because of "Error: Content-Length not found on blob response"

Hi,
I would like to use the setup-gradle action to store and restore the Gradle caches. But the action fails every time due to errors like this:
 Warning: Failed to restore gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]-8410f0ac768ab745eaf88d7100791f8a4378a0bd: Error: Content-Length not found on blob response
We have a build with multiple jobs, the relevant ones are:

compile job - compile code and run unit tests, should store cache
compatibility tests - (actually a matrix job) runs compatibility tests on the project and should reuse the cache and compiled output of compile job (read-only cache)

These are the jobs (simplified) from the workflow file:
jobs:
  build-commit:
    steps:

    # preparation, configuration

    - uses: actions/checkout@v3
      with:
        fetch-depth: 0
    - name: Set up JDK
      uses: actions/setup-java@v3
      with:
        java-version: 17
        distribution: 'zulu'

    # Use setup-gradle step to save/restore Gradle cache and speed up builds
    - name: Setup Gradle cache
      uses: gradle/actions/setup-gradle@v3
      with:
        gradle-version: wrapper
    - name: "Validate Gradle Wrapper"
      uses: gradle/wrapper-validation-action@v1

    # build & publish

    - name: Gradle build
      run: ./gradlew -i --stacktrace clean build

  compatibility-test:
    strategy:
      matrix:
        gradle-version: [ '7.3', '8.6' ]

    needs: build-commit

    steps:

      - name: Checkout
        uses: actions/checkout@v3
      - name: Set up Java
        uses: actions/setup-java@v3
        with:
          distribution: 'zulu'
          java-version: 17

      # Use setup-gradle step to save/restore Gradle cache and speed up builds
      - name: Setup Gradle cache
        uses: gradle/actions/setup-gradle@v3
        with:
          gradle-version: wrapper
          cache-read-only: true
      - name: "Validate Gradle Wrapper"
        uses: gradle/wrapper-validation-action@v1

      - name: Compatibility test
        run: ./gradlew -i --stacktrace compatibilitytest
        env:
          GRADLE_VERSION: ${{ matrix.gradle-version }}

I can see how the action stores the cache for the compile job, but then fails when restoring during:

follow up compatibility test jobs
subsequent compile jobs on new build runs

generate-job-summary is enabled and I can see how the action stores cache entries in the compile job, but does not restore them in the compatibility test job and in subsequent build executions. For the failed restore attempts, it prints these details:
    Entry: Gradle User Home
    Requested Key : gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]-8410f0ac768ab745eaf88d7100791f8a4378a0bd
    Restored  Key :
              Size:
              (Entry not restored: Content-Length not found on blob response)
    Saved     Key :
              Size:
              (Entry not saved: cache is read-only)

We are using:

latest v3 version of the action
GHES 3.11.9

Could it be that there is a compatibility issue with GHES? Or am I doing something wrong?

@ljacomet I attended your talk about ephemeral CI on Devoxx London and we talked on the way out. Maybe you have an idea about this issue?

I presume this is a compatibility issue with GHES. I'm aware that some users have had success using setup-gradle with GHES, but I have no way to test this compatibility.
There are a couple of things that you could try to help diagnose this issue:

See if you can use actions/cache directly to save/restore the Gradle User Home: https://github.com/actions/cache/blob/main/examples.md#java---gradle
Try actions/cache@v4 as well as v3 as described in the above example
Try out the previous major release of the setup-gradle action, which was gradle/gradle-build-action@v2. All input parameters listed in your example should work the same.

@bigdaz Thank you for the quick response.
I'm also afraid it might be a compatibility issue with GHES. But can it be that I am the first to report it?!
Following your suggestions, here is what I tested in order to diagnose the problem:
1) Use basic actions/cache
Save cache works a bit different, but is able to upload the cache:
Post job cleanup.
/usr/bin/tar --posix -cf cache.tgz --exclude cache.tgz -P -C /runner/_work/jira-reports-gradle-plugin/jira-reports-gradle-plugin --files-from manifest.txt -z
Cache Size: ~324 MB (339440983 B)
Cache saved successfully
Cache saved with key: Linux-gradle-95ecf835a01192c137176bcb253c71ee27a6e335f97304a3e86bee887c59dbf3

Restore also fails with Failed to restore: Content-Length not found on blob response
This is the full log output:
Run actions/cache@v3
  with:
    path: ~/.gradle/caches
  ~/.gradle/wrapper

    key: Linux-gradle-95ecf835a01192c137176bcb253c71ee27a6e335f97304a3e86bee887c59dbf3
    restore-keys: Linux-gradle-

    enableCrossOsArchive: false
    fail-on-cache-miss: false
    lookup-only: false
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.11-9/x64
    JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.11-9/x64
Warning: Failed to restore: Content-Length not found on blob response
Cache not found for input keys: Linux-gradle-95ecf835a01192c137176bcb253c71ee27a6e335f97304a3e86bee887c59dbf3, Linux-gradle-

2) Try actions/cache@v4 as well as v3
Exactly the same result as with v3.
3) Use gradle/gradle-build-action@v2
Cache upload works as before.
Restore fails with the same error as with setup-gradle@v3:
Entry: Gradle User Home
    Requested Key : v8-gradle|Linux|build commit-compatibility-test[26be8a9e10540768cab7c84d80a576df]-883739c846e093442084301e65231f046dec42ff
    Restored  Key :
              Size:
              (Entry not restored: Content-Length not found on blob response)
    Saved     Key :
              Size:
              (Entry not saved: cache is read-only)

4) Run setup-gradle action with debug output
I thought this might help you with diagnosing the problem.

Output of restore action:
2024-05-22T05:51:56.4690459Z ##[debug]Evaluating condition for step: 'Setup Gradle cache'
2024-05-22T05:51:56.4693431Z ##[debug]Evaluating: success()
2024-05-22T05:51:56.4694151Z ##[debug]Evaluating success:
2024-05-22T05:51:56.4694693Z ##[debug]=> true
2024-05-22T05:51:56.4695471Z ##[debug]Result: true
2024-05-22T05:51:56.4696449Z ##[debug]Starting: Setup Gradle cache
2024-05-22T05:51:56.4731246Z ##[debug]Register post job cleanup for action: gradle/actions/setup-gradle@v3
2024-05-22T05:51:56.4746191Z ##[debug]Loading inputs
2024-05-22T05:51:56.4759182Z ##[debug]Evaluating: toJSON(matrix)
2024-05-22T05:51:56.4759715Z ##[debug]Evaluating toJSON:
2024-05-22T05:51:56.4785286Z ##[debug]..Evaluating matrix:
2024-05-22T05:51:56.4785703Z ##[debug]..=> Object
2024-05-22T05:51:56.4808527Z ##[debug]=> '{
2024-05-22T05:51:56.4808827Z ##[debug]  "gradle-version": "7.3"
2024-05-22T05:51:56.4809148Z ##[debug]}'
2024-05-22T05:51:56.4809478Z ##[debug]Result: '{
2024-05-22T05:51:56.4810032Z ##[debug]  "gradle-version": "7.3"
2024-05-22T05:51:56.4810383Z ##[debug]}'
2024-05-22T05:51:56.4812022Z ##[debug]Evaluating: github.token
2024-05-22T05:51:56.4812386Z ##[debug]Evaluating Index:
2024-05-22T05:51:56.4812944Z ##[debug]..Evaluating github:
2024-05-22T05:51:56.4813323Z ##[debug]..=> Object
2024-05-22T05:51:56.4813690Z ##[debug]..Evaluating String:
2024-05-22T05:51:56.4814038Z ##[debug]..=> 'token'
2024-05-22T05:51:56.4814756Z ##[debug]=> '***'
2024-05-22T05:51:56.4815234Z ##[debug]Result: '***'
2024-05-22T05:51:56.4816294Z ##[debug]Loading env
2024-05-22T05:51:56.4824650Z ##[group]Run gradle/actions/setup-gradle@v3
2024-05-22T05:51:56.4825020Z with:
2024-05-22T05:51:56.4825306Z   gradle-version: wrapper
2024-05-22T05:51:56.4825713Z   cache-read-only: true
2024-05-22T05:51:56.4826039Z   cache-disabled: false
2024-05-22T05:51:56.4826340Z   cache-write-only: false
2024-05-22T05:51:56.4826783Z   cache-overwrite-existing: false
2024-05-22T05:51:56.4827159Z   gradle-home-cache-includes: caches
notifications

2024-05-22T05:51:56.4827562Z   gradle-home-cache-cleanup: false
2024-05-22T05:51:56.4827938Z   add-job-summary: always
2024-05-22T05:51:56.4828336Z   add-job-summary-as-pr-comment: never
2024-05-22T05:51:56.4828672Z   dependency-graph: disabled
2024-05-22T05:51:56.4829016Z   dependency-graph-continue-on-failure: true
2024-05-22T05:51:56.4829446Z   build-scan-publish: false
2024-05-22T05:51:56.4829812Z   validate-wrappers: false
2024-05-22T05:51:56.4830127Z   generate-job-summary: true
2024-05-22T05:51:56.4830476Z   gradle-home-cache-strict-match: false
2024-05-22T05:51:56.4830956Z   workflow-job-context: {
  "gradle-version": "7.3"
}
2024-05-22T05:51:56.4831471Z   github-token: ***
2024-05-22T05:51:56.4831844Z env:
2024-05-22T05:51:56.4832270Z   JAVA_HOME: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.11-9/x64
2024-05-22T05:51:56.4832657Z   JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.11-9/x64
2024-05-22T05:51:56.4833057Z ##[endgroup]
2024-05-22T05:51:56.9406057Z ##[debug]Determined user.home from java -version output: '/home/runner'
2024-05-22T05:51:57.0060506Z ##[debug]Determined user.home from java -version output: '/home/runner'
2024-05-22T05:51:57.0179579Z Merged default JDK locations into /home/runner/.m2/toolchains.xml
2024-05-22T05:51:57.0181460Z Created a new /home/runner/.gradle/gradle.properties with --info and --stacktrace
2024-05-22T05:51:57.0182971Z ::group::Restore Gradle state from cache
2024-05-22T05:51:57.0184089Z ##[group]Restore Gradle state from cache
2024-05-22T05:51:57.0184872Z Requesting Gradle User Home with
2024-05-22T05:51:57.0186313Z     key:gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]-8410f0ac768ab745eaf88d7100791f8a4378a0bd
2024-05-22T05:51:57.0188489Z     restoreKeys:[gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021],gradle-home-v1|Linux|compatibility-test,gradle-home-v1|Linux]
2024-05-22T05:51:57.0190225Z Using cache paths: /home/runner/.gradle/caches,/home/runner/.gradle/notifications,/home/runner/.gradle/.setup-gradle
2024-05-22T05:51:57.0192318Z ##[debug]Resolved Keys:
2024-05-22T05:51:57.0194217Z ##[debug]["gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]-8410f0ac768ab745eaf88d7100791f8a4378a0bd","gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]","gradle-home-v1|Linux|compatibility-test","gradle-home-v1|Linux"]
2024-05-22T05:51:57.0195976Z ##[debug]Checking zstd --quiet --version
2024-05-22T05:51:57.0197801Z ##[debug]Unable to locate executable file: zstd. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
2024-05-22T05:51:57.0199304Z ##[debug]
2024-05-22T05:51:57.0200507Z ##[debug]zstd version: null
2024-05-22T05:51:57.0204751Z ##[debug]Resource Url: https://github.***.com/_services/artifactcache/GQJxI00YsTaFN6QmE8i6c64L5mfoAyShrcuA60wd5Oy1gGUaFc/_apis/artifactcache/cache?keys=gradle-home-v1%7CLinux%7Ccompatibility-test%5Bb2e82155fc439b8351abee85b9386021%5D-8410f0ac768ab745eaf88d7100791f8a4378a0bd%2Cgradle-home-v1%7CLinux%7Ccompatibility-test%5Bb2e82155fc439b8351abee85b9386021%5D%2Cgradle-home-v1%7CLinux%7Ccompatibility-test%2Cgradle-home-v1%7CLinux&version=cf6cbae090da8e767740cfd3b88a88e2265ea5efc16192e5d9edac5613a22021
2024-05-22T05:51:57.1123043Z ::add-mask::***
2024-05-22T05:51:57.1126113Z ##[debug]Cache Result:
2024-05-22T05:51:57.1128847Z ##[debug]{"scope":"refs/heads/master","cacheKey":"gradle-home-v1|Linux|build-commit[c1e7d5d74766449af309af791c6faae0]-8410f0ac768ab745eaf88d7100791f8a4378a0bd","cacheVersion":"cf6cbae090da8e767740cfd3b88a88e2265ea5efc16192e5d9edac5613a22021","creationTime":"2024-05-17T04:52:09.93Z","archiveLocation":"***"}
2024-05-22T05:51:57.1138640Z ##[debug]Archive Path: /runner/_work/_temp/03ab5b18-8288-424c-82cd-6f674acc2e63/cache.tgz
2024-05-22T05:51:57.1140546Z ##[debug]Use Azure SDK: false
2024-05-22T05:51:57.1141534Z ##[debug]Download concurrency: 8
2024-05-22T05:51:57.1142388Z ##[debug]Request timeout (ms): 30000
2024-05-22T05:51:57.1143299Z ##[debug]Cache segment download timeout mins env var: undefined
2024-05-22T05:51:57.1144067Z ##[debug]Segment download timeout (ms): 600000
2024-05-22T05:51:57.1144899Z ##[debug]Lookup only: false
2024-05-22T05:51:57.1812517Z ##[warning]Failed to restore gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]-8410f0ac768ab745eaf88d7100791f8a4378a0bd: Error: Content-Length not found on blob response
2024-05-22T05:51:57.1848360Z Error: Content-Length not found on blob response
2024-05-22T05:51:57.1849131Z     at /runner/_work/_actions/gradle/actions/v3/dist/setup-gradle/main/index.js:7443:23
2024-05-22T05:51:57.1849807Z     at Generator.next (<anonymous>)
2024-05-22T05:51:57.1850548Z     at fulfilled (/runner/_work/_actions/gradle/actions/v3/dist/setup-gradle/main/index.js:7261:58)
2024-05-22T05:51:57.1851261Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-05-22T05:51:57.1852005Z Gradle User Home cache not found. Will initialize empty.
2024-05-22T05:51:57.1852805Z ::endgroup::
2024-05-22T05:51:57.1853180Z ##[endgroup]
2024-05-22T05:51:57.1935389Z ##[debug]Node Action run completed with exit code 0
2024-05-22T05:51:57.1938119Z ##[debug]GRADLE_ACTION_ID='gradle/actions/setup-gradle'
2024-05-22T05:51:57.1938556Z ##[debug]GRADLE_BUILD_ACTION_SETUP_COMPLETED='true'
2024-05-22T05:51:57.1939053Z ##[debug]GRADLE_BUILD_ACTION_CACHE_RESTORED='true'
2024-05-22T05:51:57.1939511Z ##[debug]DEVELOCITY_INJECTION_INIT_SCRIPT_NAME='gradle-actions.inject-develocity.init.gradle'
2024-05-22T05:51:57.1940024Z ##[debug]DEVELOCITY_AUTO_INJECTION_CUSTOM_VALUE='gradle-actions'
2024-05-22T05:51:57.1940530Z ##[debug]GITHUB_DEPENDENCY_GRAPH_ENABLED='false'
2024-05-22T05:51:57.1942423Z ##[debug]Save intra-action state GRADLE_BUILD_ACTION_SETUP_COMPLETED = true
2024-05-22T05:51:57.1942959Z ##[debug]Save intra-action state USER_HOME = /home/runner
2024-05-22T05:51:57.1943465Z ##[debug]Save intra-action state GRADLE_USER_HOME = /home/runner/.gradle
2024-05-22T05:51:57.1944225Z ##[debug]Save intra-action state GRADLE_BUILD_ACTION_CACHE_RESTORED = true
2024-05-22T05:51:57.1945444Z ##[debug]Save intra-action state CACHE_LISTENER = {"cacheEntries":[{"entryName":"Gradle User Home","requestedKey":"gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]-8410f0ac768ab745eaf88d7100791f8a4378a0bd","requestedRestoreKeys":["gradle-home-v1|Linux|compatibility-test[b2e82155fc439b8351abee85b9386021]","gradle-home-v1|Linux|compatibility-test","gradle-home-v1|Linux"],"notRestored":"Content-Length not found on blob response"}],"cacheReadOnly":false,"cacheWriteOnly":false,"cacheDisabled":false,"cacheDisabledReason":"disabled"}
2024-05-22T05:51:57.1946495Z ##[debug]Save intra-action state deprecations = []
2024-05-22T05:51:57.1947839Z ##[debug]Finishing: Setup Gradle cache

The setup-gradle action is using the actions/cache library under the covers. So if actions/cache@v3 is not able to work in your environment, then there's nothing we can do so resolve the issue with setup-gradle.
Folks are using GHES successfully with setup-gradle, so I suspect the issue is with your particular installation. I don't really know how GHES is installed and configured, but I can imagine that a some internal network infrastructure could be blocking the response, or stripping the content-length header from the response.

Yes, that is what I suspect as well. I already reached out to our operations team to clarify the issue.
Thank you for your help and analysis. ♥