show defs from all sources on slang

If urbandictionary and kamusslang has the requested definition, show both of the results, as requested by Gempal

Coverage increased (+0.2%) to 91.6% when pulling a650b3dfca0df3972c3b3bc73e032bffb615e0f9 on show_all_slang_result into 47c9e0c5b11ecce2b6a4163d06f9e4e68363b3d3 on master.

🚢

Coverage increased (+0.2%) to 91.6% when pulling ca1dc488521baf17ce86592e81108e1341651000 on show_all_slang_result into 47c9e0c5b11ecce2b6a4163d06f9e4e68363b3d3 on master.

Coverage increased (+0.2%) to 91.6% when pulling 9d3bf0da408acb0fcfd91436cc0c37170deae3ab on show_all_slang_result into 47c9e0c5b11ecce2b6a4163d06f9e4e68363b3d3 on master.

merge?

🚢


SystemTaxDriver only works with postcode-based tax zones

Lunar version: 0.1.4
Laravel Version: 8.83.26
PHP Version: 8.1.8
Database Driver & Version: mysql 8

Expected Behaviour:
I added country based tax zones, one for every country in the EU. I expect the SystemTaxDriver to use the appropriate tax zone depending on the shipping address country.
Actual Behaviour:
In reality, it always uses the default tax zone.
The GetTaxZone class seem to only take into account postcode-based tax zones. So also no state-based tax zones.
Steps To Reproduce:
Add some country based tax zones with different tax rates (and no postcode based ones).
Do a checkout and change the shipping address country.
Observe that the tax rate never changes but is always the default one.

@webcraft Was this resolved in your PR #1248

Closing as this should be resolved from 0.5.5


community: Support ChatZhipuAI with agent tools call

Description: This update fixed the problem that the ChatZhipuAI module can't call tools, now it can support tool calls in the agent.
from langchain_community.chat_models import ChatZhipuAI
# from ... import ...

# Add, Divide is your tools
tools = [Add(), Divide()]
openai_tools_agent_prompt = hub.pull("hwchase17/openai-tools-agent")

chat = ChatZhipuAI(model="glm-3-turbo")
agent = create_openai_tools_agent(chat, tools, openai_tools_agent_prompt)
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
result = agent_executor.invoke(
    {
        "input": "What is the result of adding 12.5 to the division of 3 by 15?"
    }
)

Sorry for the delay on this one! I think the bug may have been fixed in a different PR and if not, would recommend moving this integration over to a dedicated integration package.
Here's the guide, and if you have questions, feel free to leave them in the comments on those pages so others can see them! https://python.langchain.com/docs/contributing/how_to/integrations/
If the bug still remains in latest community, feel free to reopen against latest master with just the bugfix!


[C++][Parquet] Make try to compile libparquet with a static version of libthrift on Debian

When we build  parquet-cpp using an extern Thrift (compiled with -fPIC) seems that cmake is trying to compile libparquet.so with libthrift.a.
Thrift version: 0.10.0
Boost: 1.55.0
Environment: Debian 8 (stable)
Amd64
Reporter: Gian Lorenzo Meocci
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-847. Please see the migration documentation for further details.

Gian Lorenzo Meocci:
The first time that I tried to compile paruqet-cpp I found a strange behaviour of CMAKE: seems that he was trying to build libparquet.so with libthrift.a and this (in my dev machine) caused relocation error.
After two hours I decided to change a little bit the CMakeLists (see the relative pull-request on github) and after that works.
The strange thing is that now seems works even the current master ... at this point I don't know if my pathc is really needed or not.
Could you check the pull-request?
Thanks

Gian Lorenzo Meocci:
Hi Uwe,
I'm not using the "system" version of libthrift but I recompiled it from the source code using -fPIC in this way:
./configure --with-boost=/opt/boost/boost_1_62_0 --prefix /home/meox/thrift_build --with-d=no --with-haxe=no --with-rs=no --with-go=no --with-haskell=no --with-ruby=no --with-dart=no --with-php=no --with-perl=no --with-python=no --with-lua=no --with-nodejs=no --with-erlang=no --with-csharp=no --with-c_glib=no --with-pic

Wes McKinney / @wesm:
This is the intended behavior (static linking). Do you want to link dynamically?

Uwe Korn / @xhochy:
The system libthrift.a on Debian is normally compiled without -fPIC. What you may experience is that on a build on master, Thrift is build by parquet-cpp itself instead of using the system provided version. In that setting libthrift.a is then built with -fPIC and can be linked into libparquet.so.


fix(ci): add alpine base build image

Signed-off-by: Jianxiang Ran<EMAIL_ADDRESS>

Need update .github/workflows/build_base_image.yaml


More information required regarding troubleshooting

There should be more information regarding troubleshooting SSO to on-prem resources. Specifically when several devices/users are unable to access SQL/file shares, but others can.
[Enter feedback here]

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

ID: 0d912434-0693-e158-f371-51b010f8a533
Version Independent ID: 51892e2c-8bd5-df84-28a1-548bbf0d8d96
Content: How SSO to on-premises resources works on Microsoft Entra joined devices - Microsoft Entra ID
Content Source: docs/identity/devices/device-sso-to-on-premises-resources.md
Service: entra-id
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@bballpaul4work
Thanks for your feedback! We will investigate and update as appropriate.

@bballpaul4work
I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter.


fix(option): fix dropdown/combobox option emitting change on default …

Should fix https://github.com/IBM/carbon-components-angular/issues/1667
If you set the value in setTimeout to selected: true, the dropdown was getting focus. With initial values being set we don't want to focus on item. I believe this will fix the issue. I encourage feedback or other solutions if you see better ones.
I believe this line was added in Nov and started causing the issue in dropdown-list

This is tricky, since this is actually desired behaviour in a number of cases (perhaps most cases?) see here for the change: https://github.com/IBM/carbon-components-angular/pull/1634
If this is causing the combo box to get focused on init we should try to address that directly, since that's definitely not desirable behaviour, but I don't see a benefit to changing when the dropdown list emits items.

This is tricky, since this is actually desired behaviour in a number of cases (perhaps most cases?) see here for the change: https://github.com/IBM/carbon-components-angular/pull/1634
If this is causing the combo box to get focused on init we should try to address that directly, since that's definitely not desirable behaviour, but I don't see a benefit to changing when the dropdown list emits items.

See above comment

By emitting select event it'll trigger the selected event on parent which could have unintended triggers, like triggering validation or etc.

See above comment

By emitting select event it'll trigger the selected event on parent which could have unintended triggers, like triggering validation or etc.


Source formatting is broken

Hi since the last update a few days ago, the source formatting is broken. In VSCode (on a Mac) when i right click i do not see the option for source formatting and if i forcefully format the document using the command palette it tells me no formatter for 'twig' is installed.

same


Remove excess response fetching on /training/intents page

AS AN architect
I WANT excess response data fetching on /training/intents page
SO THAT excess data requests, processing, logging, etc. would not overwhelm the system
Acceptance Criteria

[ ] When /training/intents page is loaded, response data is not fetched.
[ ] When user clicks on an intent, only the responses for that particular intent are fetched and not for all intents.

Notes
Part of the https://github.com/buerokratt/Training-Module/issues/700 epic.

Related PR: https://github.com/buerokratt/Training-Module/pull/744


Security Guidelines for New Projects - TAG Security #1022

Security Guidelines for New Projects aims to provide recommendations for new projects to ensure they follow the minimum measures to secure their projects and build incrementally as their maturity grows. This document is targeted to the maintainers of the project. These guidelines are presented in the following categories:

Securing code repositories
Self assessment
Security.md
Incident management
Badging

This work is associated with the CNCF TAG Security issue https://github.com/cncf/tag-security/issues/1022
Contributors
Ragashree M C
Chris Aniszczyk
Reviewers
Andrew Martin (CNCF TAG Security Co-Chair)
Brandon Lum (CNCF TAG Security Co-Chair)
Emily Fox (CNCF TOC Security Liaison)
Justin Cormack (CNCF TOC Security Liaison)
Faisal Razzak
Justin Cappos
Marco De Benedictis
Sergey Pronin
Shlomo Zalman Heigh
Approvers (TAG Security)
Andrew Martin (CNCF TAG Security Co-chair), Brandon Lum (CNCF TAG Security Co-chair).
Acknowledgements
This paper is influenced by the publications of CNCF Technical Advisory Group for Security, particularly the Cloud Native Security Whitepaper[1] and Software Supply Chain Security Best Practices Whitepaper,[2] and CNCF Cloud Native Security Map[3], programs and initiatives by OpenSSF[4][6]. Our sincere gratitude for the contributors of these programs and publications, and to Emily Fox for suggesting the creation of this paper, to the contributors and reviewers of this paper.
Thanks to @carolynvs for your support towards incorporating this guide into this platform.

@ragashreeshekar I have pushed a change to your branch so that the new security guidelines page is rendered on the website properly. Can you take a look at https://deploy-preview-362--cncf-contribute.netlify.app/maintainers/security/security-guidelines/ to validate that the preview looks as you expected?
I also fixed the footnotes so that they are hyperlinks.

@ragashreeshekar I have pushed a change to your branch so that the new security guidelines page is rendered on the website properly. Can you take a look at https://deploy-preview-362--cncf-contribute.netlify.app/maintainers/security/security-guidelines/ to validate that the preview looks as you expected?
I also fixed the footnotes so that they are hyperlinks.

Thank you very much, this looks great.
Tiny suggestion for the space in inline references [ x], I will fix this in another commit along with the link text formatting.

LGTM

Couple minor nits, otherwise LGTM! Great work!!

@ragashreeshekar would you take a look at open changes requested from @jeefy ? Once those are resolved and the branch is updated, we should be good to go. Thank you and everyone for all your efforts on this!

@ragashreeshekar would you take a look at open changes requested from @jeefy ? Once those are resolved and the branch is updated, we should be good to go. Thank you and everyone for all your efforts on this!

I have addressed review comments and updated the branch.
Thanks @TheFoxAtWork @jeefy @carolynvs for your support in publishing this work.


Negentropy sync NIP-77 placeholder

spec: https://github.com/nostr-protocol/nips/pull/1494 (WIP) & https://github.com/hoytech/strfry/blob/nextneg/docs/negentropy.md
benefit: do not duplicate downloads; improve efficiency by downloading only delta/missing bits of information
app|Nip-77|Metric A|B|C|comment
-----|-----|-----|-----|-----|-----|-----|-----
strfry|✅|
khatru|✅| https://github.com/fiatjaf/khatru/commit/1dc12e5d2e8bc0a746a5c76a0d4dda49bc424fa4
go-nostr|✅|
negentropy.net|✅|https://github.com/bezysoftware/negentropy.net
coracle|✅| "for some things"
flotilla|✅| "for some things"

✅ coracle and flotilla (for some things)

No, because that's not how Coracle is architected. But for messages and notifications coracle uses negentropy v1 if it's signaled by the nip11 document.

Unknown (to me, at least): are negentropy apps, and relays backwards compatible?


Compass Icons appear to be misaligned

As you can see from the images below it does not seem like the cardinal directions' offsets are quite right, leading to them appearing misaligned - some closer to each other than others, others not aligned to the center marker. West is particularly egregious.
North is alright, East is good; but South is off, and West is way off.

I also opened a bug on my compass, as the cardinal icons in Frost UI look right, but there's no way for me to tell.

The cardinal icons are laid out that way to make it look nice on the navimap. The best solution would be for compass to center the loaded icons based on visible pixels, that would make it compatible with other ui mods aswell.
Frost UI icons compared to vanilla:


Any plan to implement three-finger dragging?

As a former macOS user, I miss the three-finger dragging feature.
I found that this repo has already implemented that feature but still parse libinput debug-events rather than using libinput api
Can you refer to it and make a similar feature? thanks a lot!

I haven't used macOS, so I didn't think of doing something like that; however, it could be a
nice feature to have.
Basically if you drag with three fingers over a 'draggable' target, it picks it up and moves
it, correct?

Yes, that's exactly right!
The feature can help people easily select text or drag something around


runtime error on your web app

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @marefakee, we do not maintain the web app ourselves. If the page isn't working for a while, I'll delete the link to the page. Thanks for letting me know.


Create cron/script to install fonts/image resources automatically

This is important for deploying to the vps

added to run_bot script


Missing important concepts on the introduction to C#

Missing C# introduction Concepts for beginners
Education role: Beta Student Ambassador
After reviewing this document Bug-Bash/C# Beginner Training/1_LP_AZ_get-started-with-c-sharp/M01-write-your-first-c-sharp-code/includes/1-introduction.md I found some missing information which when I was learning C# few months ago, was confusing to me. As a beginner I had so many questions like

As a beginner I need to know what is c#?
C# is a statically-typed, compiled, object-oriented language used with the .NET frameworks and runtimes. The official Microsoft C# language reference can be found on docs.microsoft.com. Like Java in syntax and structure, C# programs are compiled and executed against a .NET runtime running on a computer. The output of compiling C# code can be called a ‘.NET program’.
What is .NET Runtime?
is a collection of commands native to the computer operating system that instruct the computer how to interpret and run a .NET program
There are several different .NET runtimes available that give C# flexibility to run in many different locations.
➡.NET Framework — runs on Windows and support desktop user-interface, console, and server development
➡.NET Core — runs on Windows, Mac, and Linux with support for desktop user interface, console, and server development.
➡.NET Core — runs on Windows, Mac, and Linux with support for desktop user interface, console, and server development.
➡Unity — runs on Windows, Mac, Linux, iOS, and Android devices with support for game development using the Unity3D tools.
➡Mono — runs on Windows, Mac, Linux, and Web Assembly.
What is Dotnet Framework?
A .NET Framework is a collection of programming instructions and tools that help you write a program of a specific type. Examples of .NET Frameworks include Windows Forms, ASP.NET, Xamarin iOS, and Blazor
C# Syntax follows this rules ?
•	C# uses a semi-colon to denote the end of a statement. This is a hard and fast rule, and you’ll get used to it quickly. Every statement in C# needs to end with a semi-colon ; This allows us to also have very flexible spacing in how we structure our code.
•	C# is NOT space sensitive - You can place as many spaces, tabs, or blank lines around your code as you would like.
•	C# IS case sensitive - C# is case-sensitive. All variables, objects, and their interactions must be referenced with the proper casing.
•	Everything in C# is an object - As C# is an object oriented language, everything we want to work with is an object. Objects can be declared of various TYPES and then interacted with. The simplest types in C# are called Built-In Types We can define variables, in-memory storage for a type by preceding the name of the variable we would like to create with the type of the variable we are creating.

A beginner can now understand the basics of C# and the Dotnet framework. This is because Dotnet serves as the engine for C# projects. I believe that after this, a learner will be able to begin coding a hello world program. I've written a blog post on introduction to C#

Yeah , this would be great if included, it gives a better overview

thank sir


dart2js compiler fails on "FutureOr i = 0"

Dart SDK Version: 2.1.0

bug.dart:
import "dart:async";

void main() {
  FutureOr<int> i = 0;
  print(i.runtimeType);
}

Runs correctly on the Dart VM, however running the command dart2js -o bug.dart.js bug.dart gives:
bug.dart:
Internal Error: The compiler crashed when compiling this element.

The compiler is broken.

When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.

The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.

Please include the following information:

* the name and version of your operating system,

* the Dart SDK build number (2.1.0), and

* the entire message you see here (including the full stack trace
  below as well as the source location above).

The compiler crashed: Unsupported operation: Unexpected type FutureOr<int>
#0      RuntimeTypesNeedBuilderImpl.computeRuntimeTypesNeed.impliedClass (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/js_backend/runtime_types.dart:1702:7)
#1      RuntimeTypesNeedBuilderImpl.computeRuntimeTypesNeed (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/js_backend/runtime_types.dart:1757:32)
#2      ClosedWorldRtiNeedMixin.computeRtiNeed (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/world.dart:586:31)
#3      new KClosedWorldImpl (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:2150:5)
#4      ResolutionWorldBuilderImpl.closeWorld (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/universe/resolution_world_builder.dart:985:36)
#5      Compiler.closeResolution (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:414:56)
#6      Compiler.computeClosedWorld (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:343:32)
#7      Compiler.compileLoadedLibraries.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:390:34)
#8      CompilerTask.measureSubtask (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/common/tasks.dart:178:35)
#9      Compiler.compileLoadedLibraries (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:389:14)
#10     Compiler.runInternal (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:276:5)
<asynchronous suspension>
#11     Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:216:38)
#12     new Future.sync (dart:async/future.dart:224:31)
#13     Compiler.run.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:216:20)
#14     CompilerTask.measureSubtask (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/common/tasks.dart:178:35)
#15     Compiler.run (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/compiler.dart:213:41)
#16     CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-stable/build/sdk/pkg/compiler/lib/src/apiimpl.dart:148:22)
#17     _RootZone.runUnary (dart:async/zone.dart:1379:54)
#18     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#19     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#20     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#21     Future._addListener.<anonymous closure> (dart:async/future_impl.dart:351:9)
#22     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#23     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#24     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#25     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

Thanks for reporting!
Johnni - can you take a look?
It appears that the small repro above is now working in master (I believe it is working since e62951fd3d, but I believe that's likely because we are hiding the issue, not because we fixed the internal crash)

I've ran it on a dev channel build, no luck:
bug.dart:
Internal Error: The compiler crashed when compiling this element.

The compiler is broken.

When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.

The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.

Please include the following information:

* the name and version of your operating system,

* the Dart SDK build number (2.2.0-dev.0.0), and

* the entire message you see here (including the full stack trace
  below as well as the source location above).

The compiler crashed: Unsupported operation: Unexpected type FutureOr<int>
#0      RuntimeTypesNeedBuilderImpl.computeRuntimeTypesNeed.impliedClass (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/js_backend/runtime_types.dart:1704:7)
#1      RuntimeTypesNeedBuilderImpl.computeRuntimeTypesNeed (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/js_backend/runtime_types.dart:1759:32)
#2      new KClosedWorldImpl (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/kernel/kernel_world.dart:83:31)
#3      ResolutionWorldBuilderImpl.closeWorld (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/universe/resolution_world_builder.dart:1013:36)
#4      Compiler.closeResolution (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:443:56)
#5      Compiler.computeClosedWorld (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:354:32)
#6      Compiler.compileLoadedLibraries.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:401:34)
#7      CompilerTask.measureSubtask (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/common/tasks.dart:178:35)
#8      Compiler.compileLoadedLibraries (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:400:14)
#9      Compiler.runInternal (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:286:13)
<asynchronous suspension>
#10     Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:220:38)
#11     new Future.sync (dart:async/future.dart:224:31)
#12     Compiler.run.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:220:20)
#13     CompilerTask.measureSubtask (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/common/tasks.dart:178:35)
#14     Compiler.run (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/compiler.dart:217:41)
#15     CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/build/slave/dart-sdk-mac-dev/build/sdk/pkg/compiler/lib/src/apiimpl.dart:89:22)
#16     _RootZone.runUnary (dart:async/zone.dart:1379:54)
#17     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#19     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#20     Future._completeWithValue (dart:async/future_impl.dart:483:5)
#21     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7)
#22     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#23     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#24     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#25     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

I'm working on a fix now.

@gothamgasworks sorry for not being clear, the change I mentioned about our master branch has not been released to the dev channel yet, which explains why you still see the error in 2.2.0-dev.0.0.
Johhni has a CL ready to fix the problem, once it lands we'll update this issue and you should expect it to be available in the following dev release (I'm honestly not sure when the next one is scheduled for, but normally it is a matter of days).
In case it helps and you need to work around it, you can change your code to:
import "dart:async";
void main() {
  FutureOr<int> i = 0;
  print((i as dynamic).runtimeType);
}

In particular, the issue comes up because of the use of .runtimeType. This property has a big cost in the generated code of dart2js, so we normally encourage not to use it much. We also work hard to recognize certain patterns where .runtimeType can be done cheaply. The patterns are things like a.runtimeType == b.runtimeType.
Our pattern recognition relies on looking at the static type of the receiver of the call to .runtimeType. It appears we had not included a case for FutureOr<T> (it is not a nominal type like others in Dart, so it requires special handling). If you change the static type before calling .runtimeType, dart2js wont crash anymore.


Pause and resume recording through Connect Streams

Please can you confirm if the ability to pause and resume recording via the Connect Streams API is going to become available.

LILAX team is considering this feature for 2021 (planning still in progress). I'm going to mark this closed, as we are already tracking this internally.

Thanks, we can see that there is a now an Amazon Connect API which we can access via API Gateway.
https://aws.amazon.com/blogs/contact-center/pausing-and-resuming-call-recordings-with-a-new-api-in-amazon-connect/
From: ctwomblyamzn<EMAIL_ADDRESS>Sent: 04 August 2020 23:23
To: amazon-connect/amazon-connect-streams<EMAIL_ADDRESS>Cc: Donald Matthews<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [amazon-connect/amazon-connect-streams] Pause and resume recording through Connect Streams (#254)
This message originated Externally. Use proper judgement and caution with attachments, links, or responses.
LILAX team is considering this feature for 2021 (planning still in progress). I'm going to mark this closed, as we are already tracking this internally.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/amazon-connect/amazon-connect-streams/issues/254*issuecomment-668854140__;Iw!!I6-MEfEZPA!Z4sFE-bdQSsNuUr9y0A0R2POqn8mqZQfa19B2sEUJcD3nVwAz7C7lVab27xKFcKGZvKPvQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/APXXEC3IOKJX6VMVA4BN7FTR7CC5PANCNFSM4NMHTUVQ__;!!I6-MEfEZPA!Z4sFE-bdQSsNuUr9y0A0R2POqn8mqZQfa19B2sEUJcD3nVwAz7C7lVab27xKFcLMDMZ91Q$.
—
Donald Matthews
Precisely.com
ATTENTION: -----
The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control.


Extend test verification using govmomi functionality

Please refer https://github.com/vmware/docker-volume-vsphere/blob/master/tests/utils/verification/volumeproperties.go#L107 for more information.
govmomi support is required to traverse through VC/ESX inventory.

As of now, the check to compare vm name attached to a volume against expected vm name (obtained using govc) in VerifyAttachedStatus in tests/utils/verification/volumeproperties.go is commented. Need to uncomment it.

What is the reason for reopening this issue? This issue has nothing to do with the problem we are dealing with photon vm's guest IP.
Closing this PR and need to open a separate issue to take care about uncommenting part.
/CC @shaominchen

Opened a new issue: #1284


Fix #3156 (Semver support for NuGet v3)

partial revert of fc1e698954d15539cda97f1763186807505714b7 and proper fix for https://github.com/fsprojects/Paket/issues/3156

See https://github.com/fsprojects/Paket/pull/3199


CRUD file field in edit mode

In my project, we need a CRUD file field in edition mode.
For instance, on a société entity, I can store the société logo as an image file.
In the société detail page, I need to edit the logo field the same way I would edit a normal text box :

Fill and empty the input without submitting the form
CRUDing the file only when the form is submitted

The following features are expected :

When a file is selected, its name is displayed
When a file is selected, a cross icon allows to remove the file.

Here's an capture of such features in a former projet in WebForms :

The following scenarios are expected to work.
Scenario 1

The societe doesn't have a logo
In edition the field is empty
I updload a file : its name is displayed and a cross icon appears
I submit the form : the file is saved.

Scenario 2

The societe doesn't have a logo
In edition the field is empty
I updload a file : its name is displayed and a cross icon appears
I change my mind, I click on ths cross icon to remove the file
I submit the form  : the file is not saved

Scenario 3

The societe has a logo
In edition the field is filled with the file title.
I click on a cross icon to remove the file
I submit the form  : the file is removed

Scenario 4

The societe has a logo
In edition the field is filled with the file title.
I click on a cross icon to remove the file
I change my mind and abort the edition : the file is not removed

Scenario 5

The societe has a logo
In edition the field is filled with the file title.
I upload a new file
I submit the form : the file is updated.

On other project we use blueimp JQuery pluggin for file upload functionnality. this functionnality is not implemented in Focus yet (will be...).


[Need feedback] Metal three_Conv Issue fix

I assumed what smart selection meant but no clue really
Kinda fixes #1302

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/codegen/optimizer.py              4               1
------------------------------------------------------------
lines added in the tinygrad folder: 3

No tests, commented out line, "kinda" fixes


Check that HashMaps, BTreeMaps, etc. don't reorder elements when order is important.

[x] Examine usage of BTreeMap in Extensions type.

Fixed as part of #1343.


Configuring sampling options via IConfiguration/appsettings.json is not mentioned for ASP.NET Core app

With ASP.NET Core and with Microsoft.ApplicationInsights.AspNetCore >= 2.15.0 you can configure AppInsights options via appsettings.json as documented here: https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core#configuration-recommendation-for-microsoftapplicationinsightsaspnetcore-sdk-2150-and-later
Could be worth to mention it in this page as well.

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

ID: 2f4c906d-7abe-eab7-331a-120230344583
Version Independent ID: ab24ade5-5e4c-b430-c3f8-2a00073e9e81
Content: Telemetry sampling in Azure Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/sampling.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@fume
Thanks for your feedback! We will investigate and update as appropriate.

@fume - Thanks again for bringing this to our attention. We have updated the Doc and it will be live once its merged.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Port forward MongoDB in dev container

Description

Port forward the mongodb container

Verification

Run the website and db containers.
Ensure that MONGODB_URI is set to mongodb://localhost:27017 within .env.local in the website repo.
Go to the URL http://localhost:3005/api/gps. You should expect the following response {success: true, data: [ ]} on the webpage.

Resources

Can you add to the verification section how I could check if it works as intended?

Done

@patrick-5546 Should be good to go now.


Create a class representing collection of notes

Stores notes, title of collection?
Collection will be stored in a single text file, file name will be derived from collection title

Functionality implemented, but see #18 for refactoring


vimeo link stuck processing forever

eg:
python youtube-dl --dump-json https://vimeo.com/groups/travelhd/videos/146159746
The command seems to just get stuck forever. Is this a bug? I tried adding socket-timeout but no effect.

The link seems to be misdetected as the group - I assume you want to download just one video?
--dump-json is meant for machine-readable output, and therefore there is no status display. Leave it out and see that youtube-dl is dilligently fetching the information for all 40000 videos. Depending on your Internet connection, that may take a while.

oh, I see.  I just want to download the metadata for one video.  I don't need to actually download the full video.  Is it a bug in the detection algorithm or is this expected?  Also, is there any simple way to add a timeout to the script execution?


Phase angle interface on RAPbo and step input on DualH

cc @tonokip @johnnyr
One of the tradeoffs that had to be made for fixed point carry chains was the elimination of a simple step and direction interface. As far as I can tell Ultibridge/RAPbo has bit rotted and is broken with the DDA. Synth doesn't complain on CI which I suspect is due to the configuration also having the STEP_INPUT interface enabled.
Conversely on Dual H Bridge drivers the STEP_INPUT is also broken.

I would like to delete the STEP_INPUT all together. It seems unnecessary since the FPGA does a way better job at this, and we have proved out 64 bit precision is very much so feasible on only a few dollar part.

Now if we for some reason have a valid use case for STEP_INPUT we can just add to the fixed point register on each pulse.


[ENHANCEMENT] Invalid entries in Sonarr's queue leaves varken unable to process the rest of the queue

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/app/Varken.py", line 34, in thread
a = job()
File "/app/varken/sonarr.py", line 146, in get_queue
sxe = f"S{show.episode['seasonNumber']:0>2}E{show.episode['episodeNumber']:0>2}"
TypeError: 'NoneType' object is not subscriptable

We log the error and skip over the invalid entry.

nice


Add CONTRIBUTING.md

Adapted from the transformers and datasets versions; the main changes are in the Do you want to implement a new metric? section which is specific to evaluate.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Don’t use internal JuMP fields

https://github.com/ericphanson/TravelingSalesmanExact.jl/blob/5b1a9fc5c18f88c1b9ecef1291f8b6dd6c1fcdc9/src/TravelingSalesmanExact.jl#L247
This causes exceptions on Travis (https://travis-ci.com/ericphanson/TravelingSalesmanExact.jl), although on Julia 1.0 at least, they don’t cause test failures for some reason. I should check back once the rest of the tests complete.
I should add compat to JuMP too.

I don’t think this is why PkgEval failed though (https://github.com/JuliaLang/julia/pull/32973#issuecomment-525447222). It looks like tests timeout on 1.2+. This might be due to type inference regressions, since MOI had similar problems on 1.2.

I made a separate issue to track the inference problems: https://github.com/ericphanson/TravelingSalesmanExact.jl/issues/7.


(Suggestion) Add a world type for old biomes in 1.18

I think it would be cool to explore the new mountain generation with the older biomes.

Could you please elaborate on what those biomes are?

im talking about pre b1.7.3 biomes


Cannot find module '_process' from generated next_blog.js

I have spent a great deal of time trying to figure out why I'm getting the error below. It's clear that the '_process' module that's missing is being required by a generated function to get the next blog post of my netlify/next app (using this plugin of course). I could be mistaken but I believe it's this plugin (or something higher up in the netlify build?) that's generating these files (screenshot below). I've scoured docs and have tried to mess around with directory structures, configurations, etc. but cannot figure out why this module is being required by these generated files w/out it being accessible. Of course, I tried to install _process via yarn but no dice there either. Any suggestions here would be greatly appreciated. Thanks for all the awesome work you all do!
  Dependencies installation error
────────────────────────────────────────────────────────────────

  Error message
  A Netlify Function failed to require one of its dependencies.
  If the dependency is a Node module, please make sure it is present in the site's top-level "package.json".
  If it is a local file instead, please make sure the file exists and its filename is correctly spelled.

  In file "/home/thislogancall/code/next-netlify-project/.netlify/functions/next_blog/next_blog.js"
  Cannot find module '_process'
  Require stack:
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  - /home/thislogancall/code/next-netlify-project/node_modules/netlify-cli/src/lib/build.js
  - /home/thislogancall/code/next-netlify-project/node_modules/netlify-cli/src/commands/build/index.js
  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  -<EMAIL_ADDRESS>  - /home/thislogancall/code/next-netlify-project/node_modules/netlify-cli/src/index.js
  - /home/thislogancall/code/next-netlify-project/node_modules/netlify-cli/bin/run

  Resolved config
  build:
    command: yarn run create
    commandOrigin: config
    functions: /home/thislogancall/code/next-netlify-project/.netlify/functions
    publish: /home/thislogancall/code/next-netlify-project/dist
  plugins:
    - inputs: {}
      origin: config
      package: '@netlify/plugin-nextjs'
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Directory structure:

Dependency version:
    "netlify-lambda": "^2.0.3",
    "next": "^9.5.3",
    "next-transpile-modules": "^4.1.0",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "@netlify/plugin-nextjs": "^2.0.0",
    "netlify-cli": "^3.4.7",

Babel config:
{
  "presets": [
    "@babel/preset-env",
    "next/babel"
  ],
  "retainLines": true,
  "env": {
    "production": {
      "plugins": [
        [
          "@babel/plugin-transform-regenerator",
          {
            "asyncGenerators": true,
            "generators": true,
            "async": true
          }
        ],
        [
          "@emotion/babel-plugin",
          {
            "hoist": true
          }
        ]
      ]
    },
    "development": {
      "plugins": [
        [
          "@babel/plugin-transform-regenerator",
          {
            "asyncGenerators": true,
            "generators": true,
            "async": true
          }
        ],
        [
          "@emotion/babel-plugin",
          {
            "sourceMap": true
          }
        ]
      ]
    }
  }
}

https://community.netlify.com/t/cannot-find-module-process-from-generated-next-blog-js/31928/3


Are 0.0.5 version bounds correct?

Building from Hackage, I'm getting:
[ 1 of 33] Compiling Development.IDE.Core.Debouncer ( src/Development/IDE/Core/Debouncer.hs, dist/build/Development/IDE/Core/Debouncer.o )
[ 2 of 33] Compiling Development.IDE.Core.PositionMapping ( src/Development/IDE/Core/PositionMapping.hs, dist/build/Development/IDE/Core/PositionMapping.o )
[ 3 of 33] Compiling Development.IDE.GHC.Compat ( src/Development/IDE/GHC/Compat.hs, dist/build/Development/IDE/GHC/Compat.o )
[ 4 of 33] Compiling Development.IDE.GHC.CPP ( src/Development/IDE/GHC/CPP.hs, dist/build/Development/IDE/GHC/CPP.o )
[ 5 of 33] Compiling Development.IDE.Spans.Type ( src/Development/IDE/Spans/Type.hs, dist/build/Development/IDE/Spans/Type.o )
[ 6 of 33] Compiling Development.IDE.Types.Location ( src/Development/IDE/Types/Location.hs, dist/build/Development/IDE/Types/Location.o )
[ 7 of 33] Compiling Development.IDE.Types.Diagnostics ( src/Development/IDE/Types/Diagnostics.hs, dist/build/Development/IDE/Types/Diagnostics.o )
[ 8 of 33] Compiling Development.IDE.LSP.Protocol ( src/Development/IDE/LSP/Protocol.hs, dist/build/Development/IDE/LSP/Protocol.o )
[ 9 of 33] Compiling Development.IDE.GHC.Util ( src/Development/IDE/GHC/Util.hs, dist/build/Development/IDE/GHC/Util.o )
[10 of 33] Compiling Development.IDE.GHC.Orphans ( src/Development/IDE/GHC/Orphans.hs, dist/build/Development/IDE/GHC/Orphans.o )
[11 of 33] Compiling Development.IDE.Import.DependencyInformation ( src/Development/IDE/Import/DependencyInformation.hs, dist/build/Development/IDE/Import/DependencyInformation.o )
[12 of 33] Compiling Development.IDE.GHC.Error ( src/Development/IDE/GHC/Error.hs, dist/build/Development/IDE/GHC/Error.o )
[13 of 33] Compiling Development.IDE.Import.FindImports ( src/Development/IDE/Import/FindImports.hs, dist/build/Development/IDE/Import/FindImports.o )
[14 of 33] Compiling Development.IDE.GHC.Warnings ( src/Development/IDE/GHC/Warnings.hs, dist/build/Development/IDE/GHC/Warnings.o )
[15 of 33] Compiling Development.IDE.Core.Preprocessor ( src/Development/IDE/Core/Preprocessor.hs, dist/build/Development/IDE/Core/Preprocessor.o )
[16 of 33] Compiling Development.IDE.Core.RuleTypes ( src/Development/IDE/Core/RuleTypes.hs, dist/build/Development/IDE/Core/RuleTypes.o )
[17 of 33] Compiling Development.IDE.Types.Logger ( src/Development/IDE/Types/Logger.hs, dist/build/Development/IDE/Types/Logger.o )
[18 of 33] Compiling Development.IDE.Types.Options ( src/Development/IDE/Types/Options.hs, dist/build/Development/IDE/Types/Options.o )
[19 of 33] Compiling Development.IDE.Core.Shake ( src/Development/IDE/Core/Shake.hs, dist/build/Development/IDE/Core/Shake.o )
[20 of 33] Compiling Development.IDE.Core.OfInterest ( src/Development/IDE/Core/OfInterest.hs, dist/build/Development/IDE/Core/OfInterest.o )
[21 of 33] Compiling Development.IDE.Core.FileStore ( src/Development/IDE/Core/FileStore.hs, dist/build/Development/IDE/Core/FileStore.o )

src/Development/IDE/Core/FileStore.hs:79:37: error:
    • Couldn't match type ‘Rope.Rope -> VirtualFile’ with ‘VirtualFile’
      Expected type: Map.Map NormalizedUri VirtualFile
        Actual type: Map.Map NormalizedUri (Rope.Rope -> VirtualFile)
    • In the expression:
        Map.insert
          uri (VirtualFile nextVersion (Rope.fromText content)) vfs
      In a case alternative:
          Just content
            -> Map.insert
                 uri (VirtualFile nextVersion (Rope.fromText content)) vfs
      In the second argument of ‘($)’, namely
        ‘case content of
           Nothing -> Map.delete uri vfs
           Just content
             -> Map.insert
                  uri (VirtualFile nextVersion (Rope.fromText content)) vfs’
   |
79 |                     Just content -> Map.insert uri (VirtualFile nextVersion (Rope.fromText content)) vfs
   |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Development/IDE/Core/FileStore.hs:79:78: error:
    • Couldn't match expected type ‘Int’ with actual type ‘Rope.Rope’
    • In the second argument of ‘VirtualFile’, namely
        ‘(Rope.fromText content)’
      In the second argument of ‘Map.insert’, namely
        ‘(VirtualFile nextVersion (Rope.fromText content))’
      In the expression:
        Map.insert
          uri (VirtualFile nextVersion (Rope.fromText content)) vfs
   |
79 |                     Just content -> Map.insert uri (VirtualFile nextVersion (Rope.fromText content)) vfs
   |                                                                              ^^^^^^^^^^^^^^^^^^^^^

src/Development/IDE/Core/FileStore.hs:79:102: error:
    • Couldn't match type ‘VirtualFile’ with ‘Rope.Rope -> VirtualFile’
      Expected type: Map.Map NormalizedUri (Rope.Rope -> VirtualFile)
        Actual type: Map.Map NormalizedUri VirtualFile
    • In the third argument of ‘Map.insert’, namely ‘vfs’
      In the expression:
        Map.insert
          uri (VirtualFile nextVersion (Rope.fromText content)) vfs
      In a case alternative:
          Just content
            -> Map.insert
                 uri (VirtualFile nextVersion (Rope.fromText content)) vfs
   |
79 |                     Just content -> Map.insert uri (VirtualFile nextVersion (Rope.fromText content)) vfs
   |                                                                                ^^^

src/Development/IDE/Core/FileStore.hs:142:19: error:
    • The constructor ‘VirtualFile’ should have 3 arguments, but has been given 2
    • In the pattern: VirtualFile ver _
      In the pattern: Just (VirtualFile ver _)
      In a case alternative:
          Just (VirtualFile ver _)
            -> pure (Just $ BS.pack $ show ver, ([], Just $ VFSVersion ver))
    |
142 |             Just (VirtualFile ver _) -> pure (Just $ BS.pack $ show ver, ([], Just $ VFSVersion ver))
    |                   ^^^^^^^^^^^^^^^^^
[25 of 33] Compiling Development.IDE.Core.Compile ( src/Development/IDE/Core/Compile.hs, dist/build/Development/IDE/Core/Compile.o )
[26 of 33] Compiling Development.IDE.Spans.Calculate ( src/Development/IDE/Spans/Calculate.hs, dist/build/Development/IDE/Spans/Calculate.o )
[27 of 33] Compiling Development.IDE.Spans.Documentation ( src/Development/IDE/Spans/Documentation.hs, dist/build/Development/IDE/Spans/Documentation.o )
[28 of 33] Compiling Development.IDE.Spans.AtPoint ( src/Development/IDE/Spans/AtPoint.hs, dist/build/Development/IDE/Spans/AtPoint.o )

Nothing is jailbroken, so Cabal should be respecting all bounds.

Oh, there are no bounds at all :| Well, this doesn't build with haskell-lsp-0.19.

There is a lower bound on haskell-lsp but no upper bound. I’ve just published a new revision that fixes this. I already have a branch locally to fix the build with 0.19 which should be merged tomorrow.

That was speedy. Thanks!


xplat: Try CXX/CC in case Clang wasn't on the PATH

/cc @digitalinfinity

@digitalinfinity Thanks for the review


Questions of Embeddings from LIMU-BERT Transformer

Dear @dapowan,
I was trying to understand how the general representations from a pretrained LIMU-BERT transformer is generated. I've got some clarification questions. It would be great if you can further clarify them.

In the script embedding.py, by running the default commands provided in the README.md file, I see that in
https://github.com/dapowan/LIMU-BERT-Public/blob/5d63a7aa6ccb98c5569814c7a7f043306430c042/embedding.py#L40
mask_seqs and seqs are in shape of (128, 120, 6) (batch_size, seq_len, feature_num) and (128, 120, 2), respectively.
Q1: What are seqs specifically here? It's not clear to me what is the last dimension (, , 2) represents.

Q2: Is the output in https://github.com/dapowan/LIMU-BERT-Public/blob/5d63a7aa6ccb98c5569814c7a7f043306430c042/embedding.py#L44 exactly the general representation from a pretrained LIMU-BERT transformer mentioned in the paper, whose dimension is ? Specifically https://github.com/dapowan/LIMU-BERT-Public/blob/5d63a7aa6ccb98c5569814c7a7f043306430c042/models.py#L155?
Thanks in advance!

Hi Bryanbo,
Q1: sorry for the wrong names of the variables, they should be seqs, label = batch. The seqs are IMU sequences whereas the label denotes the labels for the sequence. I have updated the codes.
Q2: yes, it has a shape of (batch_size, seq_len, h_dim), e.g., (128,120,72).

Hi @dapowan,
No worries! Thanks for the reply and it makes sense now. So we feed the normalized sequences without masking into LIMU-BERT transformer to generate the 72 dimensional general representations.
I noticed that the last dimension of label is 2, but it's not clear to me why is that the case. It would be great if you can further clarify that. So during testing we have one dimensional vector label_test for action labels in classifier.py and classifier_bert.py.

It is related to the dataset you are using. You can check the details of the four datasets in data_config.json. If you set the UCI dataset, the labels have two dimensions, which corresponds to activity and user. For other dataset, such as Shoaib, you will have labels with the last dimension of 3 (activity, position, user).


Deprecate operator S3 flag

The operator S3 flag and per cluster S3 spec has diverged more and more. Operator S3 flag is a subset of cluster S3 spec. It's unnecessary burden to maintain two.

Deprecating operator S3 flag is plan to be included in v0.5.2 release
Plan:

Add deprecate warning when using operator S3 flag such as --backup-aws-secret, backup-aws-config, and backup-s3-bucket.
Add deprecation Note to Operator level configuration documentation.

TODO: Need to add upgrade doc on upgrading 0.5.2 to 0.6.0

This is done.


Fix offload

Bit of a workaround for the fact that we might call nested modules independently, which would trigger pre and post forward.
When manually calling post_forward, we need to check if a device is on meta, or if the post_forward fails because tied_pointers_to_remove is None.
We need to call torch.cuda.empty_cache() before torch.cuda.mem_get_info() to get accurate values.

@fxmarty updated


Support query more than 100 instaces in alicloud

See: https://github.com/galaxy-future/costpilot/issues/43

LGTM


i35/add logo

This PR closes #35
What does this PR do?
Simply adds our logo to our readme
How does this PR make you feel? :link:


Idea: support for wrapped Redwood field components

I'm trying to use shadcn/ui inside a Redwood project while also using Redwood Forms. It would be great if there were a way for the <Input> component from shadcn/ui to wrap the Redwood <TextField> and its siblings. Here's my first pass at it if it's of any help:
import * as React from 'react'

import {
  ButtonField,
  CheckboxField,
  ColorField,
  DateField,
  DatetimeLocalField,
  EmailField,
  FileField,
  HiddenField,
  ImageField,
  MonthField,
  NumberField,
  PasswordField,
  RadioField,
  RangeField,
  ResetField,
  SearchField,
  SubmitField,
  TelField,
  TextField,
  TimeField,
  UrlField,
  WeekField,
} from '@redwoodjs/forms'
import { RegisterOptions } from '@redwoodjs/forms/'

import { cn } from 'src/lib/utils'

export interface InputProps
  extends React.InputHTMLAttributes<HTMLInputElement> {
  validation: RegisterOptions
}

const mapping = {
  button: ButtonField,
  checkbox: CheckboxField,
  color: ColorField,
  date: DateField,
  'datetime-local': DatetimeLocalField,
  email: EmailField,
  file: FileField,
  hidden: HiddenField,
  image: ImageField,
  month: MonthField,
  number: NumberField,
  password: PasswordField,
  radio: RadioField,
  range: RangeField,
  reset: ResetField,
  search: SearchField,
  submit: SubmitField,
  tel: TelField,
  text: TextField,
  time: TimeField,
  url: UrlField,
  week: WeekField,
}

const Input = React.forwardRef<HTMLInputElement, InputProps>(
  ({ className, name, type, ...props }, ref) => {
    const Component = mapping[type] || TextField

    return (
      <Component
        name={name}
        className={cn(
          'flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
          className
        )}
        ref={ref}
        {...props}
      />
    )
  }
)
Input.displayName = 'Input'

export { Input }

This is great @Benjamin-Lee! Thank you so much for contributing 😀
I've had more people asking for better forms support, but haven't had a chance to look into it yet. And to be honest it might still be a few days/weeks until I do.

Happy to help. I ended up changing my strategy for doing this to something so much easier: using cva and just pulling the styles out into an input variant along with some other form-related styles into a file:
import { cva } from "class-variance-authority"

import { cn } from "src/lib/utils"

export const inputVariants = cva(
  "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"
)

export const labelVariants = cva(
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
  {
    variants: {
      error: {
        true: "text-destructive",
      },
    },
  }
)

export const fieldErrorVariants = cva(
  "block text-[0.8rem] font-medium text-destructive"
)

export const FormItem = React.forwardRef<
  HTMLDivElement,
  React.HTMLAttributes<HTMLDivElement>
>(({ className, ...props }, ref) => {
  return

})
FormItem.displayName = "FormItem"

Then, building a form is as easy as:
        <Form onSubmit={onSubmit} className="space-y-6">

            <FormItem>

                First Name

              <TextField
                name="firstName"
                className={inputVariants()}
                validation={{
                  required: {
                    value: true,
                    message: 'First name is required',
                  },
                }}
                autoComplete="given-name"
              />
              <FieldError name="firstName" className={fieldErrorVariants()} />
            </FormItem>
            <FormItem>

                Last Name

              <TextField
                name="lastName"
                className={inputVariants()}
                validation={{
                  required: {
                    value: true,
                    message: 'Last name is required',
                  },
                }}
                autoComplete="family-name"
              />
              <FieldError name="email" className={fieldErrorVariants()} />
            </FormItem>

          <FormItem>

              Email address

            <EmailField
              name="email"
              className={inputVariants()}
              ref={emailRef}
              validation={{
                required: {
                  value: true,
                  message: 'Email is required',
                },
              }}
            />
            <FieldError name="email" className={fieldErrorVariants()} />
          </FormItem>
          <FormItem>

              Password

            <PasswordField
              name="password"
              className={inputVariants()}
              autoComplete="current-password"
              validation={{
                required: {
                  value: true,
                  message: 'Password is required',
                },
                minLength: {
                  value: 8,
                  message: 'Password must be at least 8 characters',
                },
              }}
            />
            <FieldError name="password" className={fieldErrorVariants()} />
          </FormItem>

            <Submit className={cn(buttonVariants(), 'w-full')}>Login</Submit>

        </Form>

Hello, I was wondering if you have a solution for the Checkbox and Switch components?
Shadcn generates more than just a single component (e.g., a button with an icon inside) for the Checkbox/Switch, so I can't simply apply the class (generated by cva) to Redwood's CheckboxField component. I also tried using Redwood's useRegister, but it doesn't seem to work with the Shadcn component either

@Quelu I've just used shad's <Switch /> component directly
<FormField
  control={form.control}
  name="fanControl"
  render={({ field }) => (
    <FormItem className="flex flex-row items-center justify-between">

        <FormLabel className="text-base">Fan Control</FormLabel>
        <FormDescription>
          Changes will apply to next refresh cycle
        </FormDescription>

      <FormControl>
        <Switch
          checked={field.value}
          onCheckedChange={field.onChange}
        />
      </FormControl>
    </FormItem>
  )}
/>

It works, but you don't get the full RW form integration with its error handling unfortunately
I want a better experience, but haven't prioritized that yet

Thank you so much for the response!
However, it doesn't work with the Checkbox component when it's set up to have multiple values other than a boolean.
Based on what you provided, I was able to better understand how Shadcn works with react-hook-form. I was then able to create these components, which I can now directly use in my Redwood forms:
export const CheckboxField = ({
  label,
  value,
  name,
}: InputFieldProps & {
  label: React.ReactNode;
  value: string;
}) => {
  return (
    <Controller
      name={name}
      render={({ field }) => (

          <Checkbox
            id={`checkbox-${value}`}
            checked={field.value?.includes(value)}
            onCheckedChange={(checked) => {
              return checked
                ? field.onChange([...(field?.value || []), value])
                : field.onChange(
                    field.value?.filter((newValue) => newValue !== value)
                  );
            }}
          />
          <ShadLabel htmlFor={`checkbox-${value}`}>{label}</ShadLabel>

      )}
    />
  );
};

export const CheckboxGroupField = ({
  name,
  options,
  validation,
}: InputFieldProps & {
  options: { label: React.ReactNode; value: string }[];
}) => {
  return (
    <Controller
      name={name}
      rules={validation}
      render={() => (
        <>
          {options.map((option) => (
            <CheckboxField
              key={option.value}
              label={option.label}
              value={option.value}
              name={name}
            />
          ))}
        </>
      )}
    />
  );
};

export const SwitchField = ({
  label,
  name,
  validation,
  defaultValue,
}: InputFieldProps & {
  label?: React.ReactNode;
}) => {
  return (
    <Controller
      name={name}
      rules={validation}
      defaultValue={defaultValue}
      render={({ field }) => (

          <Switch
            id={`switch-${name}`}
            checked={field.value}
            onCheckedChange={field.onChange}
          />
          {label && <ShadLabel htmlFor={`switch-${name}`}>{label}</ShadLabel>}

      )}
    />
  );
};


How to extract the named entity from the text

I need to find the named entity or entity from the text. But i did not find anything related in the docs.
I got a something from the textblob library
`
from polyglot.text import Text
blob = """The Israeli Prime Minister Benjamin Netanyahu has warned that Iran poses a "threat to the entire world"."""
text = Text(blob)
text = Text(blob, hint_language_code='en')
print text.entities
[I-ORG([u'Israeli']), I-PER([u'Benjamin', u'Netanyahu']), I-LOC([u'Iran'])]
`
This is using the polyglot. Is any way to find entites using the textblob library ?

[thing[0] for thing in blob.tags if thing[1] == u'NNP']


Cannot import the image resize

Below is my example in vue project as component. But if i comment line 13 & 15, thee project work fine and the quiill editor can be showed. Otherwise is not. What is the problem with that?
<template>

    <quillEditor v-model="content" />
    {{ content }}

</template>

same thing, what to do?

See https://github.com/kensnyder/quill-image-resize-module/issues/106#issuecomment-896605110


Window does not scroll when at the bottom

MacOS 12.6.1
WebSSH 20.5 (1003)
If the input lines reach the bottom of the window the window does not scroll, but attempts to overwrite the bottom line.
Not recoverable, dragging the scroll bar does not help as the bar will not move. Need to disconnect and reconnect to temporarily solve until next time.
Screenshot attached all showing the progress bar in a strange place

Thank you @ash34 for your feedback 👍
I will upgrade Xterm.js soon : https://github.com/xtermjs/xterm.js/releases/tag/5.0.0

Hello @ash34 👋
I have upgraded to xterm.js 5.1 since WebSSH 22.0
Are you still encountering this issue?
Have a nice day ☀

I have not seen that bug in a long time so I think it has gone away. However, I have not used the MacOS client in a long time either.
don’t want to close this until I check it again this week.

No problem @ash34 thank you a lot for your feedback 🙏

Feel free to reopen this issue as soon as needed


First method of class not highlighted in C++

(Original issue 1084 created by None on 2015-02-04T16:01:28.463861+00:00)
In the following code the first method(A) is not highlighted using version 2.0.1
Reproduced as http://pygments.org/demo/1221664/
#!c++

struct Type {
private:
  void A(int i, double j);
  void B(int i, double j);
};

(Original comment by tshatch on 2015-10-18T16:27:42.592181+00:00)
Issue #1104 was marked as a duplicate of this issue.

(Original comment by tshatch on 2015-11-01T03:43:58.887492+00:00)
I've done some debugging, and this is because 'root' transitions to 'statement' at the start of the struct (because it doesn't match the function patterns) and stays in there until the first semicolon.  I can fix these examples, but it does change (for example) sort_2 in example.c (to highlight the function name when calling to be Name.Function).  I believe this to be because of the separate types in the signature.
#!diff

diff -r 73115a27a7dd pygments/lexers/c_cpp.py
--- a/pygments/lexers/c_cpp.py  Sat Oct 31 17:49:48 2015 -0700
+++ b/pygments/lexers/c_cpp.py  Sat Oct 31 20:37:09 2015 -0700
@@ -104,7 +104,9 @@
         'statement': [
             include('whitespace'),
             include('statements'),
-            ('[{}]', Punctuation),
+            # Workaround for structs, classes, etc.
+            (r'[{:]', Punctuation, '#pop'),
+            ('\}', Punctuation),
             (';', Punctuation, '#pop'),
         ],
         'function': [

and the signature it mishighlights after that is
#!c

static int
sort_2(ap, bp, data)
    VALUE *ap, *bp;
    struct ary_sort_data *data;
{
...
	return rb_str_cmp(a, b);

I suspect a fix (recognizing this other signature) will need to happen after the 2.1 cut, unless @birkenfeld sees something obvious.

(Original comment by None on 2016-05-03T11:28:05.371142+00:00)
Any new ideas on this subject?
I'm not sure I understand what the regression for the sort_2 example is.
When trying pygments with the source of example.c a lot of the functions didn't have the names highlighted. Does Pygments still has to support  K&R style declarations? At least in C++ they are not valid?

Any progress here too?

No, this bug is 3 years old, but I didn't have a change to look at it, and this probably rather involved. If it's an urgent issue for you, would you consider filing a PR? I'm happy to review it.

Uh, I would've happily done so, but I don't have enough spare time to dive into :/


v12 deprecation warnings

You are accessing SwadeActiveEffect#icon which has been migrated to SwadeActiveEffect#img

this is a message in v12, there is no swade for v12 yet. I'm waiting for the swade v4.0 to work on the hud for v12.

oh! there is a v12 swade compatible.

Yeah, released yesterday. They also released a dev version of 4.0 like a month ago for module devs to get a head start. You can join the League Discord server if you want access to stuff like that. https://discord.gg/MmDURf9bj6

yep, i downloaded and it wasn't working very well that time, for this reason i decided to wait for a prod version

version 1.2.0 adds support to swade v4


FIX install link in README.md

Simple fix, otherwise you get:
$ pip install https://github.com/benchopt/benchopt                                                                               ~
Collecting https://github.com/benchopt/benchopt
  Downloading https://github.com/benchopt/benchopt
     - 105 kB 1.4 MB/s
  ERROR: Cannot unpack file /tmp/pip-unpack-75wvkp8v/benchopt (downloaded from /tmp/pip-req-build-9m5j3we2, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-9m5j3we2

thanks @TomDLT


Fix missing and unused error

cbor.Error had been removed but there were still traces of it left in other parts of the code base. Thanks @jmbaur


STORM-2598 Add proxy server option for dependency resolver

add options to storm.py and dependency resolver: --proxyUrl, --proxyUsername, --proxyPassword
address some checkstyle issue for storm-submit-tool

+1

@harshach @satishd Thanks for reviewing. Could you review #2175 as well? There're some differences from bin/storm.py between two branches.


person: Add default daily rate to person overview table

This pull request extends the person overview table with the field of the defaultDailyRate, which was implemented in PR #413.
For this it was necessary to extend the PersonBaseData and PersonBaseDataBean with this field.
Note: This Pull Request is based on #413, so first the PR #413 must be merged and then a rebase is necessary.
Closes #429

@tinne I added the patch for the SQL errors.
Furthermore, I changed from a MoneyLabel to a Label. The MoneyLabel changes null values to 0,00.
That's why a normal label is needed in this case.


There is already a horizontal histogram.  Why is there no horizontal line chart? It's not drawing a horizontal line.

Feature Proposal

Feature Use Case

Possible Implementation

https://jsfiddle.net/Leelenaleee/uetcfxr1/3/
If you set indexAxis: 'y' you will have your horizontal line chart

Closing as answered


Feature/contexts

Super mega WIP, but outlines the general look and feel
To do:

[ ] test all lifecycle hooks properly
[ ] test all places I touched and if they work properly with different contexts (map, deepMap)
[ ] things that won't work with different contexts 100%:

[ ] computed
[ ] task
[ ] action

[ ] readme updates, jsdoc documentation, etc.

Acknowledge: I basically backported the whole branch by @TrySound in #199.

@ai did you stop working on this? or am I missing something?

cc @dkzlv

@dkzlv stopped to work on this feature.
We needed API to set store and a few small changes.
I am not sure why we closed PR, let’s re-open it.

Has this feature been discontinued? Is anyone still working on this feature?

Hey @ai I would love to help get this out there. Maybe with the docs or code review?

@lucasmotta sure! The plan:

Create new PR from this one.
Check all my comments in this PR and fix them.
Add API to mock stores for tests.
Rebase to the new next branch (better to do it on Saturday, I want to merge one PR).
Add docs


wireless/bcm43xxx: correct beacon loss behavior

Summary
Impact
Testing
Cortex-M55 and bcm43xxx chipset

@zhhyu7 please rebase your code

Done.


could not resolve hostname: "open-ims.test"

Hi,
I am getting an message error in pcscf. Do have any idea what happens?

Let me know if you has seen this before or need more information about it.

Please send the trace in order to see where the issue is.

Hi @herlesupreeth
I am attaching all the logs that I have and a pcap with filter (s1ap || gtpv2 || pfcp || diameter || diameter.3gpp || sip).
All logs: docker_open5gs_all.log
PCAP: s1ap_gtpv2_pfcp_diameter_diameter.3gpp_sip.pcapng.zip
Log Folder: log.zip
Let me know if you need more information.

I would suggest to re-program your SIM to have IMS domain (also change your IMPU/IMPI accordingly) as ims.mnc001.mcc001.3gppnetwork.org is the the format supported in this repository. Currently, your Gemalto sim is sending SIP REGISTER with IMS domain as open-ims.test and that is not resolved by DNS (since its programmed to answer the domain in format ims.mnc<MNC>.mcc<MCC>.3ggpnetwork.org)

Please verify whether you have correctly programmed OPc/OP and Ki and the same is entered in FhoSS.
After looking at the second SIP REGISTER sent by UE I suspect the auth credentials are wrong either in SIM card or FHoSS

Hi @herlesupreeth
This is my FHoSS Private Identity:

And this is the Open5GS configuration:

This UE attach normally on the network. Are you seen any wrong configuration from my side?

Note: Ki can be user defined but OPc is a derived key based on Ki and OP. And, i suspect you would be the above OPc from that Ki (K) value. I would recommend to use the following pair
K: 8baf473f2f8fd09487cccbd7097c6862
OPc: 8E27B6AF0E692E750F32667A3B14605D

Hi @herlesupreeth
The sim card that we are using, came wrote.
We are able to rewrite only the IMSI and other stuff, but the K and OPc/OP we do not find yet.
The sim card is from Thales.

And the SIM card contains those values for ki and Opc?

Solved using another SimCard vendor.


PowerToys identifies itself as 'Microsoft' when requesting UAC elevation

PowerToys should identify itself as 'Microsoft PowerToys' so that the UAC prompt makes more sense.

Track as #6601


Failing to set Lore to a weapon in the configuration file will cause the weapon to not load properly.

Current/Expected Behavior
As the title describes, the WM version I'm using is 3.4.12.
Steps To Reproduce
Removing any weapon that loads properly and contains a Lore will not load properly.
Log File
There are no errors reported in the logs.
Anything else?
No response

Closed for not following issue format. Use the discord for support.


Upgrade to Nodejs version 16

https://github.com/microsoft/vscode-dev-containers/blob/30f4812b6552fbc1ca79ebd0a85ac6bd5ed2f80e/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile#L3
Yarn wants us to update to version 16 of node.js. Before that developing VS Code through at least Codespaces is blocked.

@p4nu ➜ /workspaces/vscode $ yarn
yarn install v1.22.19
$ node build/npm/preinstall.js
*** Please use node.js versions >=16.14.x and <17.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
@p4nu ➜ /workspaces/vscode $ node -v
v14.19.3

VSCode Version: 1.67.2

Local OS Version: Windows_NT x64 10.0.22000

Local chip architecture: x86

Reproduces in: Codespaces, possibly both

Name of Dev Container Definition with Issue:

Steps to Reproduce:

Start a new Codespace for vscode repo
Run yarn

@joshspicer - @sbatten confirmed that it should be updated to 16, yes.


Picker example

Could you provide a picker example containing for example list of chars [A..Z] or lis of numbers [0..9]

@muhammadelkady25

I have added the Picker usage example, as shown above.
You can download the project to view the source code.
https://github.com/Jinxiansen/SwiftUI#Picker

Thank you very much for your help

≖‿≖

@Jinxiansen another thing .. in the example the second picker overlaps the first one .. the area in the middle (2 gray lines overlaps each other) .. I have six pickers. The last one receives touch in the overlapped area. how to give it a fixed width ?
 Picker(selection: $firstLetterIndex, label: Text("")) {
                    ForEach(0..<letters.count) {
                        Text(self.letters[$0]).tag($0)
                    }
                }.fixedSize().frame(width: 20)

This did not work for me

I tried to arrange 6 Pickers horizontally, which caused the top 5 Texts to not display properly, and when the first Picker swung up and down, it responded with the value of the third Picker. Maybe this is a bug in SwiftUI.😂


Homepage: Build with tBTC Section Load Different Languages

is it a bug or is it intended to show it?
all of local languages are showing it.

@JaviAnibarro can we get a URL for this?


'import' is a keyword in C++20

There's a UHDM model named import which doesn't compile with C++20. I would like to change this.
Should it be renamed 'import_stmt' or 'import_typespec'. It is a subclass of typespec but this isn't really a data type but 'import_typespec' would be consistent with all other subclasses of typespec.

Change it to import_typespec I forgot exactly why we made it a child of typespec, I think it is saved in a typespec container.

Fixed by #2860


Add missing BG translations

Description
Added Bulgarian bg translations
Code style

[x] composer cs command has been run.

Testing

[x] Changes have been tested.

Documentation

[x] Documentation is up-to-date.

Thanks!


Add event logging

Short Description
This adds the logging of the events described here. I added a middleware to make it easy to logg all incoming requests as otherwise only 404s are logged on the production cluster.
Changes

Add middleware
Add logging to service

Feedback

Do you see any problem with that?

How to review this Pull Request
Link to Confluence (internal)

I know it is in the tech spec, but I do not understand, why we need this request logging?

The idea was to logg all the important steps of the request (to basically see what happens). However, we probably should think about adding an individual id for logging to add more information. Do you see a way to improve the logging?


[SourceKit] ⚡Fast code completion within function bodies

Reuse ASTContext(CompilerInstance) from the previous completions when possible.
ide::CompletionInstance manages CompilerInstance for completion like requests (i.e. code completion, type context info, and conforming method list).
It vends the cached CompilerInstance if:

This functionality is enabled, and
The compiler arguments (i.e. CompilerInvocation) has not changed, and
The primary file is the same, and
The completion happens inside function bodies in both previous and current completion, and
The interface hash of of the primary file has not changed

Since cached instance already have AST including imported modules, we just run the second pass.
Otherwise, CompletionInstance vends new CompilerInstance, so we run both first and second pass using that instance. This instance is cached for the next completion request.
NOTE: currently it's disabled by default.
For example, using this simple example:
func test(x: Int) {
  x.#^COMPLETE^#
}

# Disabled
$ sourcekitd-test -req=complete -pos=2:5 $PWD/test.swift -repeat-request=10 -dont-print-request -dont-print-response -time-request -- $PWD/test.swift
request time: 109.469 ms
request time: 102.269 ms
request time: 101.260 ms
request time: 99.622 ms
request time: 100.751 ms
request time: 100.154 ms
request time: 99.670 ms
request time: 100.965 ms
request time: 101.426 ms
request time: 100.784 ms

# Enabled
$ sourcekitd-test -req=complete -req-opts=reuseastcontext=1 -pos=2:5 $PWD/test.swift -repeat-request=10 -dont-print-request -dont-print-response -time-request -- $PWD/test.swift
request time: 108.051 ms
request time: 1.716 ms
request time: 1.553 ms
request time: 1.559 ms
request time: 1.466 ms
request time: 1.497 ms
request time: 1.445 ms
request time: 1.544 ms
request time: 1.447 ms
request time: 1.506 ms

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 205cfc40cb85a6ae33d1917182eb7cb99110d09d

@swift-ci Please test Linux

Forgot to add a test file.
@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 205cfc40cb85a6ae33d1917182eb7cb99110d09d

Build failed
Swift Test OS X Platform
Git Sha - 205cfc40cb85a6ae33d1917182eb7cb99110d09d

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 4ccc35cbddc29a3b27cd8196e2a152dd5f5886ac

Build failed
Swift Test OS X Platform
Git Sha - 4ccc35cbddc29a3b27cd8196e2a152dd5f5886ac

@swift-ci Please test Linux

@swift-ci Please smoke test

@benlangmuir The last commit changes the structure of the process. So CompletionIntance take the control of the lifetime of CompilerInstace.
CompletionIntance::performOperation() receives a callback void(CompilerInstance &), and call it with the prepared compiler instance. This change has several benefits:

Prevent the same instance is used from multiple threads
Stacktrace is distinguishable between "fast" and "normal" mode
Consolidate more code between completion / type context / conforming method list

What do you think?

@swift-ci Please smoke test

Modified the way of storing the cached information. It should prevent CompilerInstance/ArgHash/ReuseCount from being out-of-sync.
@swift-ci Please smoke test

Ah good point, a shared_ptr is wrong since you actually can't share this safely across threads. Note: your current code is still technically racy because the std::swap() of the state itself is not atomic.

So if you have racing completions, one will win and get to reuse the AST, and the next one will go through the slow path.  Is that better than blocking on the first one?  If you're reusing ASTs it seems like it would usually be better to wait since you have a chance to hit the fast path on every completion.  Assuming the reuse case is 10x faster and that the number of concurrent completions is usually very small, you would be better off waiting.
If you're not reusing ASTs, then I guess running the completions in parallel might be better in some instances - or at least it matches the current behaviour.

Fair enough. I update the PR to block other threads using std::mutex.
@swift-ci Please smoke test

@swift-ci Please smoke test


[W6.1d][T10-B2]Wong Zeng Feng

@zengfengw Some comments added. Please close the PR after reading comments.


Fix the broken preview URLs and workflow

What's included?
This PR fixes the previews workflow so preview urls are created & updated
Who should test?
✅ Developers
How to test?
Commit a change to this branch. Check that the preview workflow runs successfully and the preview url is updated (see that the comment timestamp and commit hash are up to date)
Risk - how likely is this to impact other areas?
🟠 Medium risk - this effects package-lock

Merged so that this can be included in the open PRs to get the previews working


Memory leak in crossbeam_utils::thread::scope(): Unbounded memory usage with long-lived scopes

crossbeam_utils::thread::Scope owns a vector of shared join handles:
https://github.com/crossbeam-rs/crossbeam/blob/450d237d1546ac135d21f75b61fdf5a944e8421c/crossbeam-utils/src/thread.rs#L193-L203
Each call to scope.spawn() pushes a new handle to the vec:
https://github.com/crossbeam-rs/crossbeam/blob/450d237d1546ac135d21f75b61fdf5a944e8421c/crossbeam-utils/src/thread.rs#L458-L459
The vec never shrinks until it is drained all at once at the end of scope():
https://github.com/crossbeam-rs/crossbeam/blob/450d237d1546ac135d21f75b61fdf5a944e8421c/crossbeam-utils/src/thread.rs#L167-L176
Thus, any long-lived thread scope will exhibit unbounded memory usage as it spawns more and more threads, even if those threads finish executing or are joined by the user. This is a huge problem for servers or other such long-running applications that want to spawn scoped threads.
I would understand if there are reasons that scope() can't be implemented in such a way where these handles are cleaned up as threads complete. But if that is the case, then I feel this needs to be a very explicitly warned about in the crate's documentation and README. Cuz this is really bad. We believe that this issue is the root cause of a recent out-of-memory crash on an enterprise customer's deployment of our software product.

Partially related: as I know this functionality is slowly moving to std. As far as I can see their implementation doesn't have such a problem.

Partially related: as I know this functionality is https://github.com/rust-lang/rust/issues/93203. As far as I can see their implementation doesn't have such a problem.

Indeed! The not-yet-stable std::thread::scope's memory usage stays constant, independent of how many threads it spawned over its lifetime.

Note that since crossbeam's scope function returns an Err containing a Vec of all the panic payloads of all the threads that panicked, this is partially a problem of the API itself. Even if it didn't keep join handles for already-finished threads, it'd still have to keep all the panic payloads around to be able to return them, resulting in unbounded memory usage when threads keep panicking.

If someone can implement an equivalent to the standard library's scoped thread API without relying on unstable features, I would like to change the crossbeam's scoped thread API in the next breaking release.
In any case, once the standard library's scoped thread is stable, I plan to soft deprecate the crossbeam's scoped thread.

Filed #844 to fix this.


Minor change...Encryption added....and black formatted ofc

This fixes #36
nv.poll gives a poll id
nv.tally [POLL ID] gives correct results escaping multiple reactions


Add S3 snapshot storage implementation

Codecov Report

Merging #146 into master will decrease coverage by 0.5%.
The diff coverage is 82.47%.

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
- Coverage   92.08%   91.57%   -0.51%
==========================================
  Files          27       28       +1
  Lines        1743     1840      +97
==========================================
+ Hits         1605     1685      +80
- Misses         79       88       +9
- Partials       59       67       +8

Flag
Coverage Δ

#dot
91.57% <82.47%> (-0.51%)
:arrow_down:

#dot_data
65.78% <ø> (ø)
:arrow_up:

#dot_sync
87.37% <ø> (ø)
:arrow_up:

#dot_undo
100% <ø> (ø)
:arrow_up:

#dot_x_db_files
100% <ø> (ø)
:arrow_up:

#dot_x_db_mongodb
81.92% <ø> (ø)
:arrow_up:

#dot_x_db_mysql
86.25% <ø> (ø)
:arrow_up:

#dot_x_db_pg
87.95% <ø> (ø)
:arrow_up:

#dot_x_db_s3
82.47% <82.47%> (?)

#dot_x_journal
98.79% <ø> (ø)
:arrow_up:

#dot_x_journal_ws
94.64% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

x/db/s3/s3.go
82.47% <82.47%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d543af9...7002ca8. Read the comment docs.


Add waiting event

Added a waiting event. The player's currentTime is not included in the event's payload for now.

Thanks @wjoosen !


Missing values and MAPL

NOAA's GBBEPx wildfire files (at 0.1deg x 0.1deg resolution) have missing values. How MAPL treats such values in interpolations?

@mpagowski Let me ping @bena-nasa and @atrayano to answer this. I'm sure we handle it "correctly" but I'm not sure of the specifics.

Are these files that are read via ExtData? Please let me know what version of MAPL you are using.
MAPL has an internal "MAPL undefined" constant MAPL_UNDEF, that we use at various places in the code to protect against operations. It is set to a value of 1.0e15
I don't know what version of MAPL you are using but in newer versions of the generation 2 ExtData, we check the missing value defined in the file, if it does not match the "MAPL undefined" value, read the array from the NetCDF file we set the points that have the file missing value to the "MAPL undefined" one. Then any point in our code base that respects this will be aware of it. For example when regridding the lat-lon grid of the original file to the application grid we respect this.
If the target point has inputs from any points that are the "MAPL undefined" value we do not include them in the application to compute the target value. If all were "MAPL undefined" then the target cell is "MAPL undefined".
Of course if the code or component (outside of MAPL) that ultimately uses these does not protect against doing operations at points that are "MAPL undefined", we cannot control that, the user can do what they want with arrays in their code.
In general our emissions files do not have missing values as how do you handle that in all the components that may use this. Rather if there are no emissions, they are simply 0 since gocart is a huge code base and does not check for any sort of missing value when doing array level operations.
So the answer is that depending on the version of ExtData you are using, we may respect the the file defined missing value and set points that are "missing" to our own internal missing value. This is respected at points in the MAPL code base, but when you get to the application code, all bets are off since we have no control over how the code developer chose to use arrays.
So the ultimate answer is if your input files have missing values, even if MAPL respects them, GOCART does.
At that point we have 2 options.

Reprocess those files so rather than having missing values, they are just set to say 0 at those points.
If the above is not an option, but you are using a version of ExtData that respects the file missing value then after the fact in the application code, the arrays would have to be intercepted so that any MAPL_UNDEFs can be set to 0 or protected against
If you are using an older version of MAPL where ExtData did not respect the file supplied missing value it was simply not making any accommodation for that we would need to come up with a custom solution

To me of all 3, options seems by far the easiest, it would be a very trivial python script to read in and re-write the file replacing anything that has a missing value with 0.

Thanks, that answers my question. It is about NOAA's ExtData for wildfires
which come at 0.1deg x 0.1deg resolution
and contain very numerous missing values in places where both wildfires
should not exist or they exist but retrievals are obscured.I can see that
the safest way to deal with this is to convert all those to 0s though that
may not be strictly correct
as it will decrease emissions where the wildfires are burning. Any comments
from NOAA participants/others would be welcome.
On Mon, Aug 21, 2023 at 8:07 AM Ben Auer @.***> wrote:

Are these files that are read via ExtData? Please let me know what version
of MAPL you are using.
MAPL has an internal "MAPL undefined" constant MAPL_UNDEF, that we use at
various places in the code to protect against operations. It is set to a
value of 1.0e15
I don't know what version of MAPL you are using but in newer versions of
the generation 2 ExtData, we check the missing value defined in the file,
if it does not match the "MAPL undefined" value, read the array from the
NetCDF file we set the points that have the file missing value to the "MAPL
undefined" one. Then any point in our code base that respects this will be
aware of it. For example when regridding the lat-lon grid of the original
file to the application grid we respect this.
If the target point has inputs from any points that are the "MAPL
undefined" value we do not include them in the application to compute the
target value. If all were "MAPL undefined" then the target cell is "MAPL
undefined".
Of course if the code or component (outside of MAPL) that ultimately uses
these does not protect against doing operations at points that are "MAPL
undefined", we cannot control that, the user can do what they want with
arrays in their code.
In general our emissions files do not have missing values as how do you
handle that in all the components that may use this. Rather if there are no
emissions, they are simply 0 since gocart is a huge code base and does not
check for any sort of missing value when doing array level operations.
So the answer is that depending on the version of ExtData you are using,
we may respect the the file defined missing value and set points that are
"missing" to our own internal missing value. This is respected at points in
the MAPL code base, but when you get to the application code, all bets are
off since we have no control over how the code developer chose to use
arrays.
So the ultimate answer is if your input files have missing values, even if
MAPL respects them, GOCART does.
At that point we have 2 options.

Reprocess those files so rather than having missing values, they
are just set to say 0 at those points.
If the above is not an option, but you are using a version of
ExtData that respects the file missing value then after the fact in the
application code, the arrays would have to be intercepted so that any
MAPL_UNDEFs can be set to 0 or protected against
If you are using an older version of MAPL where ExtData did not
respect the file supplied missing value it was simply not making any
accommodation for that we would need to come up with a custom solution

To me of all 3, options seems by far the easiest, it would be a very
trivial python script to read in and re-write the file replacing anything
that has a missing value with 0.
—
Reply to this email directly, view it on GitHub
https://github.com/GEOS-ESM/GOCART/issues/252#issuecomment-1686510345,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOU6S5WVNJ4AK4O53IW7FTXWN2TRANCNFSM6AAAAAA3V73Z64
.
You are receiving this because you were mentioned.Message ID:
@.***>

It doesn't matter what is most "correct", what matters is where is this data used, is it going to ingested and used by an application (I assume GOCART), that does operations of floating point arrays filled from this data. At that point you simply cannot have "missing values" unless EVERY array level operations somehow knows to protect/not use points that are missing, that's just not realistic.

Yes, it is GOCART, and currently failing so that the data needs to be
preprocessed (i.e. set to 0s) until a solution to distinguish zero
emissions (like ocean) from obscured retrievals is found.
On Mon, Aug 21, 2023 at 9:04 AM Ben Auer @.***> wrote:

It doesn't matter what is most "correct", what matters is where is this
data used, is it going to ingested and used by an application (I assume
GOCART), that does operations of floating point arrays filled from this
data. At that point you simply cannot have "missing values" unless EVERY
array level operations somehow knows to protect/not use points that are
missing, that's just not realistic.
—
Reply to this email directly, view it on GitHub
https://github.com/GEOS-ESM/GOCART/issues/252#issuecomment-1686607140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOU6S6JZPPIXEYOYBOFJ6LXWOBGVANCNFSM6AAAAAA3V73Z64
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes, sorry, but by far and away the simplest solution would be to take the existing files and make new versions that have the "undef" points replaced with 0 and just use those. Should be easy enough to do that.

Yes, that is true but we don't control production of the files
On Mon, Aug 21, 2023 at 11:55 AM Ben Auer @.***> wrote:

Yes, sorry, but by far and away the simplest solution would be to take the
existing files and make new versions that have the "undef" points replaced
with 0 and just use those. Should be easy enough to do that.
—
Reply to this email directly, view it on GitHub
https://github.com/GEOS-ESM/GOCART/issues/252#issuecomment-1686862170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOU6S37GF4RKJIHMOSWOMLXWOVJJANCNFSM6AAAAAA3V73Z64
.
You are receiving this because you were mentioned.Message ID:
@.***>

@mpagowski That is partially true.  Yes NESDIS controls the creation of the native files but we can have a preprocessor in the workflow to "fix" the files.

Yes, we are currently fixing the files for our NRT runs. But the problem
with converting all "missing" to 0s remains
On Mon, Aug 21, 2023 at 12:38 PM Barry Baker @.***>
wrote:

@mpagowski https://github.com/mpagowski That is partially true. Yes
NESDIS controls the creation of the native files but we can have a
preprocessor in the workflow to "fix" the files.
—
Reply to this email directly, view it on GitHub
https://github.com/GEOS-ESM/GOCART/issues/252#issuecomment-1686927906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOU6S5RTD63M7VGVBCEXXLXWO2JTANCNFSM6AAAAAA3V73Z64
.
 In that you can take the file(s) as produced by NESDIS, make new file(s)  from the originals that have missing value replace by 0, then those are the files that are fed to GOCART. What is the "problem with converting all "missing" to 0s"? Are you asking how one can do this?


chore: bump connector version to 1.0.0

Gravitee.io Automatic Deployment
📚 View the storybook of this branch here

Gravitee.io Automatic Deployment
Congrats, all the CI steps were 🟢 . The Bot was able to deploy the build of this PR, so you can now try it directly here! 🚀
Notes: The deployed app is linked to the management API of the Element Zero team's environment.

Maybe need a rebase and some update now that the Gateway is in the monorepo?
I also closed https://github.com/gravitee-io/gravitee-gateway/pull/846


download apk error due to wrong user_agent set

I realized that when i try to download apk using completeDownloadInfo method, it sets user_agent to apiUserAgent. it must be downloadUserAgent to request properly. Am i wrong?

by default completeDownloadInfo uses the downloadUserAgent as can be seen https://github.com/dweinstein/node-google-play/blob/5e5eabd983a2a411d624077c5143eb3d6d84ffcb/lib/api.js#L472
Are you perhaps passing the wrong agent to the constructor?

Yes you are right. However, at the end, it goes to post request and that method reset all headers as i see

getCompleteDownloadInfo does not make the request for you, it simply returns an object suitable for being passed to e.g., request lib and it does AFAICT put the downloadUserAgentas default user-agent. perhaps you can show your code.

`
var playapi = require('gpapi').GooglePlayAPI({
"username"<EMAIL_ADDRESS>"password": "xx",
"androidId": "xx",
"sdkVersion":23,
"apiUserAgent": "Android-Finsky/8.8.12-all (api=3,versionCode=80881200,sdk=23,device=mp1s3gss,hardware=mp1s3gss,product=mp1s3gss_global_com,platformVersionRelease=6.0,model=LG-H542,buildId=MRA58K,isWideScreen=0,supportedAbis=armeabi-v7a;armeabi)",
"downloadUserAgent": "AndroidDownloadManager/6.0 (Linux; U; Android 6.0; LG-H542 Build/MRA58K)"
});
playapi.details("com.mobinavel.KeepTheBall", function (err, res) {
playapi.completeDownloadInfo("com.mobinavel.KeepTheBall",  res.details.appDetails.versionCode)
.then(
function (downloadResult, x, y, z, t) {
console.log(downloadResult)
}).catch(function (err, x, y, z) {
console.log(err);
});
});`
this is the code that i used. firstly, i got details of app and downloaded app using version code. When i debug this code, i realized that completeDownloadInfo goes to post request and sets user-agent to apiuseragent.


OpenSSL s_client not working

Hello,
i was trying to fetch some info from a known server via the s_client command line utility.
But, i end up in the following error:
openssl s_client -connect www.linkedin.com:443
139645522540352:error:2008F002:BIO routines:BIO_lookup_ex:system lib:../openssl-1.1.1d/crypto/bio/b_addr.c:724:Temporary failure in name resolution
connect:errno=11
I'm using openssl version 1.1.1d
Any info on this?

Well, @saddy-muchu, the error message says it all:
your system was not able to resolve the name, which in your case is www.linkedin.com.
This likely is because your network is down or your DNS server is not reachable.
There is little what OpenSSL can do about it.
When I disable my network access, I get the same response.
Other tools will then give basically the same result, for example:
wget https://www.linkedin.com
--2020-06-20 22:30:26--  https://www.linkedin.com/
Resolving www.linkedin.com (www.linkedin.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘www.linkedin.com’


Enable image button on Editor field

It would be great if there was the ability to upload images within the Editor field.
https://pruvious.com/docs/fields/editor

@murisceman where is the v4 development taking place? I could not find it in this repository :)

Hey @horvbalint, it's currently in a private v4 branch. I'll publish it in January or February next year.


Add ClusterfuzzLite

Signed-off-by: AdamKorcz<EMAIL_ADDRESS>This PR adds a simple fuzzer and the infrastructure to integrate ClusterfuzzLite into lakeFS.
ClusterfuzzLite will run fuzzers when PRs are made.

 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.

Approved a single run: everything comes from Google-owned repos via Google-owned DNS.

Fixed a small thing. Could you approve another run?

@AdamKorcz closed due to inactivity. Please reopen if needed.


worklog category

Thanks for building this nice CLI tool. Is it possible to add worklog category for both worklog add and list subcommands?

What would a worklog category command do?  I didn't see any corresponding API for it:
https://docs.atlassian.com/jira/REST/server/

Hi Coryb, thanks for your reply and check over the Jira REST API. It is a custom field. So I think it does not benefit others too much. I will just close the request.