Include Azure Monitor as a Dependency for USGov Section

Can we add a note about Azure Monitor within the USGov dependencies section? I have a customer who reported issues with Metrics reporting after performing Firewall Integration.
Reiterating in the USGov section that the AzureMonitor service tag is required for Metrics would be very helpful.
Thank you in Advance

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

ID: 29246f12-744e-08a1-c222-b0eae866b401
Version Independent ID: 6e925f96-dc31-d400-2681-2e387b40ed74
Content: Lock down outbound traffic - Azure App Service Environment
Content Source: articles/app-service/environment/firewall-integration.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

Hi @RDukes425 , thanks for the feedback! We are currently investigating and will update you shortly.

Monitoring endpoints has been added for USGov.
#please-close


Addressing issue # 143 New strategies

@Cal231995 work in progress.
@ta-oliver should I add a new column "buy" which is set to true or false on the basis of indication?  False indicating sell. Any other suggestions before I continue further

Suggestions:

maybe reconcile the MACD to ta library versus via a unit test
dictionaries at end of allocations.py and signals.py need to be updated for functions to be accessible via the API

@ta-oliver should I add a new column "buy" which is set to true or false on the basis of indication? False indicating sell. Any other suggestions before I continue further

Instead of buy/sell, we would output an algorithm recommended position of max_investment or -max_investment. Essentially the algorithm will provide an indication every day on what position size to take.

@ta-oliver should I add a new column "buy" which is set to true or false on the basis of indication? False indicating sell. Any other suggestions before I continue further

Instead of buy/sell, we would output an algorithm recommended position of max_investment or -max_investment. Essentially the algorithm will provide an indication every day on what position size to take as a float value.

I got that from your's and @Cal231995 conversation on the issues section. Thanks
Just to be clear position size is allocation value right? Negative indicating sell and positive indicating buy.


[Suggestion] Make Plant Gatherer accept Fortune

Industrial Foregoing Version: 1.12.11-235
In vanilla the fortune enchantment applies to crop drops. Can you add support for the Fortune Addon to the Plant Gatherer such that we can use this mechanic for our farms?

:wave: Sorry but Industrial Foregoing has ended support for version 1.12. I'm closing this issue as it will no longer be updated for that version. Thanks for playing with the mod.

@Buuz135 This feature request is still valid against 1.16 as that version doesn't have it either. Can we reopen this?


Update to 2022-02-02_maint-3.8 and 2022-02-02_maint-3.9

The tags above contain the latest state of gr-iridium and also incorporate the patches in this repo.
I'm not terribly familiar with conda and its build system, I guess it might be a bit easier for you.

I can bump them pretty easily, thanks for pointing them out! I'm a little sad that it seems like the conda-forge bot did not pick up the tags, but it's been two days already and it usually would only take a couple hours. I guess it only likes dealing with numeric-only version tags.

Too bad there still are patches needed to get it running under Windows. I should have caught the uneeded include at least...
Regarding tags: I might switch to vx.y.z tags similar to what gr-satellites does. Maybe that will help in the future.

Yeah, the include patch is the only thing that I think should go upstream. The other patch, removing the setting of GR_PYTHON_DIR, is only necessary because conda puts Python modules outside of the library prefix on Windows, so I need to set GR_PYTHON_DIR manually anyway to make it install correctly.


Migrate MSL hints to main SNOS repository

Type

[x] feature
[ ] bugfix
[ ] dev (no functional changes, no API changes)
[ ] fmt (formatting, renaming)
[ ] build
[ ] docs
[ ] testing

Description
Migration of the hints already implemented by Moonsong Labs to the main SNOS repository. We will use the main repository moving forward.
Breaking changes?

[ ] yes
[x] no

@maciejka Can you approve? I renamed the hint.


Build failed for minSdkVersion 8 app.

Hello.... i came across your library and would like try to introduce it into my app by following your guideline here: http://ksoichiro.github.io/Android-ObservableScrollView/docs/quick-start/dependencies but I encounter an error stating:
" Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library " while trying to configure into my build.gradle.

I wonder does your library support api 8 too? I'm try to make an app that can support at least api 8 and I noticed that from https://github.com/ksoichiro/Android-ObservableScrollView/issues/58 mentioned he is able to run in (APIs: 8, 11, 15, 19, 21). Would like to hear from you. I'm quite new on this. Thanks..

Unfortunately, it doesn't support API level 8.
But if you want to build it for API level 8, you can do it by adding tools:overrideLibrary attribute to your AndroidManifest.xml.
Like this:
<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="22"
    tools:overrideLibrary="com.github.ksoichiro.android.observablescrollview" />

Closing the issue. Please reopen it if your problem is not solved yet.


MudFocusTrap, MudFlexBreak, MudIcon, MudSpacer: Improve accessibility

Description

Part of a series in #8901. Reminder: I'm not an expert.
FocusTrap:

Added aria-hidden="true" to elements that should be ignored by screen readers (e.g., bumpers and fallback divs)

FlexBreak

Added aria-hidden="true"

Icon:

Add aria-hidden="true" and role="img" to the secondary span like the first
Moved @attributes="UserAttributes" to the ends so the user can override all attributes

Spacer

Added aria-hidden="true"

How Has This Been Tested?

Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (fix or improvement to the website or code docs)

Checklist

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[ ] I've added relevant tests.

@igotinfected These I'm less sure about, what do you think?

@igotinfected These I'm less sure about, what do you think?

The only thing I'm unsure about is MudGrid and MudItem, these two could technically be used for anything by a user.
There seem to be ongoing discussions  (linked issues go into more detail) about clarifying the use of role=grid for layout purposes, but I can't find anything conclusive.
Though the one thing currently that speaks against using role=grid in this case in my opinion is the keyboard navigation that should be implemented according to W3C docs (layout grids section).
The keyboard behaviour as defined could be considered as breaking depending on how it's implemented. One of our applications at work for example uses MudGrid and MudItem for the layout of a form where each MudItem usually contains one form component. The focus should go directly to the form component, not to the cell (MudItem div) itself. We would likely have to have a way to disable focus on the cell.

Thanks @igotinfected, I reverted MudGrid and MudItem and will circle back round in the future. Do you still want to be pinged on these PRs? I'll be making several more hopefully.
@henon Should be ready to go

@danielchalmers feel free if you want a second opinion, I'm in the learning stage on accessibility just like you :)

Thanks!


[Android] New typography tokens - 50px size and HeadlineLightItalic

Description
Figma: https:// (delete if not a UI PR)

Testing notes/instructions:
Checklist

[ ] Changes have been checked by the developer
[ ] Changes have been checked by the reviewers
[ ] Unit tested

Recommended reviewiers

Design review for UI changes from @guardian/design-system
Code review from @guardian/android-developers or @guardian/ios-developers
Optional code/API review from @guardian/client-side-infra

Specific notes/instructions for the reviewer:
For pull requests introducing UI changes:

[ ] Sign-off by Design:
[ ] Dark Mode
[ ] Tablet
[ ] Accessibility (e.g. VoiceOver):

Screenshots or videos:

Before
After

Light

Dark

Thank you, Adi!

Hi @ab-gnm,
All looks great. Thank you!


feat: help improvements and customizability

Command and Flag Summary
Oclif will use the first line of command.description as the "summary" which is used as the first line on command help as well as in the command list. This is clever, but can also be hidden and confusing. There is now a summary property on command and flag, which if provided, will be used as the first line on command help and in the command list. It will also be repeated in the DESCRIPTION section of help for increased usability.
The summary property should be one line.
Flag Descriptions
Multiline flag descriptions can be hard to read in a wrapped list view. Oclif will render the list different if there is one descriptions is more than 4 lines, but at that point it may be too late. Not only that, it can still be useful to have a short, easy to digest flag list, with more description down below. Now the summary property on flag, if provided, will be used in the in the flag list and the description will be put in an extended section down below.
FLAGS
  -e, --target-env=<value>...  [default: dsfr] Environment name or alias to open.
  ...

DESCRIPTION
   ...

EXAMPLES
  ...

FLAG DESCRIPTIONS
  -e, --target-env=<value>...

    Specify the login user or alias that’s associated with the environment. For scratch orgs, the login user is generated
    by the command that created the scratch org. You can also set an alias for the scratch org when you create it.

    For Dev Hubs, sandboxes, and production orgs, specify the alias you set when you logged into the org with "sf login".

Flag Help Groups
Help for commands with a large number of flags can be hard to read. It can be hard to pick out related flags. Or it can be hard to pick out flags that may not be directly related to the command, such as flags added by a CLI or a particular plugin. For example, --json or table flags.
Flag help groups help solve this.
FLAGS
  --[no-]opt  my boolean optional flag

TABLE FLAGS
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --hidden                show hidden commands
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

CLI FLAGS
  --json  format output as json

Refactor help and extend customizability
There are time where a CLI may just want to add an extra help section or change a section heading in the command help. Or maybe the CLI wants to override the help options. With oclif@1, a CLI could really only override the Help class which did not provide any helpful methods for command help or options. Now, the CommandHelp class is loaded from the Help class so it can be extended. Also, help options can be defined in pjson.oclif.helpOptions. See test/help/show-customized-help.test.ts.
In addition, code like wrap(body, this.opts.maxWidth - spacing, {hard: true, trim: false} and creating a section with [bold(header), indent(body, 2)].join('\n') was called all over the place. These have been abstracted into a base class which all help classes now extend, providing those utilities to custom help classes as well.
Example Descriptions
Having a list of examples with no descriptions is not very useful, which the existing example structure encourages. Consumers can add descriptions themselves but it is less than idea.
Flag.string({
  description: 'my flag',
  examples: [
    'happy path\n<%= config.bin %> <%= command.id %> --flag'
    'run with foo bar\n<%= config.bin %> <%= command.id %> --flag --foo=bar'
  ]
})

Now, examples can be an object {description, command} which will be formatted appropriately. If a sting is provided, it will try to figure our what is a description and what is a command to format in a more readable output.
EXAMPLES
  happy path:

    $ bin command --flag

  run with foo bar:

    $ bin command --flag --foo=bar

You can't have \n in markdown since markdown is just text. Just hit enter, or if you want to use \n use a js or ts file instead.
I agree. Fixed and added a test.
Suggestions? I changed to "GLOBAL FLAGS" but I'm impartial.
That is exactly how it is done. See how the --json flag

  alias: Flags.string({
      description: messages.getMessage('alias'),
      helpGroup: 'foo',
  }),
  clientid: Flags.string({
      description: messages.getMessage('clientId'),
      helpGroup: 'bar',
  }),


Question: what's the update rate at which "vc_set_joint_velocity" can be used?

Hey there,
Been looking at xarm_controller hardware interface and noted that depending on velocity_control_, it uses either:

vc_set_joint_velocity or
set_servo_angle_j

The update rate supported by set_servo_angle_j is well documented in the User Manual:

The vc_set_joint_velocity mode is however very little documented:

Could you clarify what's the supported update rate for the vc_set_joint_velocity mode for the xArm 5 and Lite 6 manipulators?
Thanks!

Thanks @vimior! Do you happen to know if this also applies to the Lite 6? As compute capability is limited, I'm curious on whether this update rate is also confirmed there.

@vmayoral
It is the same as xarm, the maximum frequency is also 250HZ


rename to 'nsync

https://www.youtube.com/watch?v=Eo-KmOd3i7s

We'll get it on the roadmap for v2 :-)


Create slack workspace and link slack API to this workspace

Workspace created at https://codershq-hackathon.slack.com

a new api is created and saved in the production env


Function taking too long to respond: 502-Bad Gateway- The specified CGI application encountered an error and the server terminated the process..

I have recently deployed a Java Azure Function based on the above documentation. It was working fine day before yesterday (28-Apr-2018) but today it is taking forever to run. Every time I try to run it it is giving back error 502- Bad Gateway.
Could you please help me on this.

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

ID: e656bde5-b5d8-8d80-b7b3-ab430e57613e
Version Independent ID: 329eb12f-7302-4ecf-c1bf-a50ba3f34bdf
Content: Create your first function in Azure with Java and Maven
Content Source: articles/azure-functions/functions-create-first-java-maven.md
Service: functions
GitHub Login: @rloutlaw
Microsoft Alias: routlaw, glenga

@hemantkr14 Thanks for the feedback! We are currently investigating and will update you shortly.

@rloutlaw can you advise on this? I am also seeing some issues running my function now and I know this doc worked the other day when I tried.

@MicahMcKittrick-MSFT any updates on this issue. Can you please share your understanding of this issue

@hemantkr14 I am not seeing the exact issue you are however I am having issues actually following the doc as it is written right now. That being said, I did follow it the other week without issue.
@rloutlaw any insights?

@hemantkr14 just to clarify, is it when running mvn azure-functions:deploy you are seeing the 502?

@hemantkr14 if you redploy the project to a new function does the issue persist?

@MicahMcKittrick-MSFT Yes. As shown in the attached screen shot we deployed 2 functions Hello and transformRow but both the functions are giving the same error 502.


Roll Engine from 0716ca8943f5 to 48cdc5ff7d91 (2 revisions)

https://github.com/flutter/engine/compare/0716ca8943f5...48cdc5ff7d91
2021-01-17<EMAIL_ADDRESS>Roll Dart SDK from 3a72a508f5a0 to f0c507184d5d (1 revision) (flutter/engine#23748)
2021-01-16<EMAIL_ADDRESS>Roll Dart SDK from c962a50422d3 to 3a72a508f5a0 (1 revision) (flutter/engine#23747)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


Percent done goes to 100% then back to 99.99% on boincmgr

client seems to work out finish time based on rate at which model was progressing. This leads to the client getting the finish time to 100% faster than the task does, when the control code then posts it's lastest fraction_done, the client remaining time jumps back to 99.99%.  Tweak the code to try to improve.

This appears to improve as the client sees the task more often and understands the task completion rate on the machine.
No need for any code changes - this is boinc client related.


Grpc

Client.ts -> convert some method to support gRPC

Still need to do getReferenceData, getPriceSymbols, getLatestRequest, getRequestEVMProofByRequestID
Transaction.ts -> signDoc is separated from getTxData (user need to sign the signDoc outside);
Message.ts -> toAny() method is added, so it is easy for the user to convert the msg to type Any;
Test for client, message, transaction, and send transaction are implemented

Forgot to note in the commit that all test files will be fixed after every logic is checked.


Free NFTs for contributors

Hey,
If you've contributed to this project we're happy to send you some free NFTs from the CryptoFighters Alliance collection. You can reach out to me on Twitter @elie2222 if interested. My DMs are open.

Hey brother @elie222, sure. Thanks man. I ping you up over twitter.

I sent my wallet to your twitter account, thanks again.
My twitter account is @emirhash

Hey @elie222 this is my wallet address 0xb4D6ef628Bad31c0e711f5c6909F03Aa9774F79c. Thanks


renaming count to # Occurences in the facet pop-up

A week ago I changed it to "Number of Occurrences". Should I change it to "# Occurrences"?

That's ok.. This looks good in rbk.


acme-dns challenge: timeouts?

I'm running a version I compiled this evening from lego-git on the AUR with the command ACME_DNS_API_BASE=http://<IP_ADDRESS>:2500 ACME_DNS_STORAGE_PATH=/var/lib/lego/acme-dns-accounts.json lego --email <spambotsgoaway> -a --dns acme-dns --domains  '*.lfcode.ca' --path /var/lib/lego run, and I'm observing a timeout.
Output:
 2018/11/07 06:21:52 [INFO] [*.lfcode.ca] acme: Obtaining bundled SAN certificate
2018/11/07 06:21:53 [INFO] [*.lfcode.ca] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz/
2018/11/07 06:21:53 [INFO] [lfcode.ca] acme: Preparing to solve DNS-01
2018/11/07 06:21:53 [INFO] [lfcode.ca] acme: Trying to solve DNS-01
2018/11/07 06:21:53 [INFO] [lfcode.ca] Checking DNS record propagation using [<IP_ADDRESS>:53 <IP_ADDRESS>:53 [2606:4700:4700::1111]:53 [2606:4700:4700::1001]:53]
2018/11/07 06:21:53 [INFO] Wait [timeout: 1m0s, interval: 2s]
2018/11/07 06:22:53 Could not obtain certificates
         acme: Error -> One or more domains had a problem:
[lfcode.ca] time limit exceeded: last error: could not determine the zone: unexpected response code 'SERVFAIL' for 4442248e-9706-4050-9910-b1f3bde0f362.acme.lfcode.ca.

acme-dns logs (don't worry about the timestamps, these are the same lines as were observed the first run):
Nov 07 06:41:13 abyss acme-dns[19514]: time="2018-11-07T06:41:13Z" level=debug msg="TXT updated" subdomain=4442248e-9706-4050-9910-b1f3bde0f362 txt=_GMMgk1r8WTHq7SDDpRltBLqy9Qr4yLn3QMCAWjrGAc
<...>
Nov 07 06:26:34 abyss acme-dns[19514]: time="2018-11-07T06:26:34Z" level=info msg="Answering TXT question for domain" domain=4442248e-9706-4050-9910-b1f3bde0f362.acme.lfcode.ca.
Nov 07 06:26:34 abyss acme-dns[19514]: time="2018-11-07T06:26:34Z" level=debug msg="Answering question for domain" domain=4442248e-9706-4050-9910-b1f3bde0f362.acme.lfcode.ca. qtype=SOA rcode=NXDOMAIN
<repeated 30 times>

Why is lego looking for SOA records? I've checked the domain listed there with dig for TXT records manually and found that there is indeed a record there. I've also tried running with --dns-resolvers <IP_ADDRESS> to eliminate any caching misbehaviour.
So, in summary:

Lego appears to be updating the record to _GMM.....
It is checking it, and that is indeed the value of the record.
It's timing out checking the record is what it just set it to?

@cpu

Hi @lf-,
Here are some initial thoughts from reading your issue (thanks for all the detail!):

Why is lego looking for SOA records

Lego is trying to figure out the authoritative nameservers for your domain as described here: https://github.com/xenolf/lego/blob/4d21f8eec18d57cd029cc287ae75b1b20f49c885/acme/dns_challenge.go#L264-L265
It needs to know the authoritative nameservers in order to directly query them to check the TXT records are correct before expending your Let's Encrypt rate limits trying and failing.
The problem here is that one of the recursive nameservers Lego was using (in the text above, one of <IP_ADDRESS>:53 <IP_ADDRESS>:53 [2606:4700:4700::1111]:53 [2606:4700:4700::1001]:53) returned a SERVFAIL in response to a SOA query for 4442248e-9706-4050-9910-b1f3bde0f362.acme.lfcode.ca.

[lfcode.ca] time limit exceeded: last error: could not determine the zone: unexpected response code 'SERVFAIL' for 4442248e-9706-4050-9910-b1f3bde0f362.acme.lfcode.ca.

The SOA lookup code in Lego considers any response other than NXDOMAIN or NOERROR to be an unexpected error, so your issuance fails:
https://github.com/xenolf/lego/blob/4d21f8eec18d57cd029cc287ae75b1b20f49c885/acme/dns_challenge.go#L284
I'm able to reproduce the SERVFAIL using Cloudflare's recursive resolver reliably with dig:
$> dig @<IP_ADDRESS> SOA 4442248e-9706-4050-9910-b1f3bde0f362.acme.lfcode.ca | grep "status:"
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 48657

Interestingly the query returns NXDOMAIN instead of SERVFAIL with Google DNS:
$> dig @<IP_ADDRESS> SOA 4442248e-9706-4050-9910-b1f3bde0f362.acme.lfcode.ca | grep "status:"
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24733

I suspect there's a misconfiguration of some sort in your DNS zone that explains this but unfortunately I don't have any more time to dig into the details this morning and can't spot anything super obvious. You might find using --dns-resolvers <IP_ADDRESS> with Lego will work around this in the short term by avoiding Cloudflare's resolver.
Ultimately I don't think this is a bug with Lego or the acme-dns provider. If you need more help debugging your DNS zone I'd recommend opening an issue with Joohoi's acme-dns repo or contacting Cloudflare support.
Good luck! Apologies for not having a complete solution for you!

Indeed, that seems to fix it

:tada: Great! Glad to hear it :-)

I'm curious as to what the heck is happening with the DNS

I see that you opened a thread on the Cloudflare forum for this issue (great idea) and @mnordhoff (he's a true Internet support hero, have I mentioned how much I appreciate him?) flagged a handful of issues with your DNS zone. I suspect one or more of these is the culprit here.

I find that the program while using Cloudflare DNS seems to be asking for a SOA on .acme.lfcode.ca and then not following up with a SOA question for acme.lfcode.ca.

Indeed, Lego doesn't follow-up with another query because the first query to Cloudflare's recursive resolver returns a SERVFAIL response.
I think we can conclusively say that this isn't a bug with Lego or Lego's acme-dns provider. @lf- would you be willing to close the issue? I'm not a maintainer and can't :-)

joohoi/acme-dns#127 filed. acme-dns is kind of broken. I've fixed the NS issue.


Docs for "esproposal.export_star_as" seem to be wrong

Docs here say:

The default value of this option is warn, which gives a warning on use since this proposal is still very early-stage.

But in Flow 0.81, this option seems to do nothing. I have export * from ... in my project (to export types, in fact) and it works perfectly with no warning, no matter what setting I set for esproposal.export_star_as

Closing since this is no longer configurable.


Pygobject3: No module named 'gi'

Please note...

[ X] ran brew update and can still reproduce the problem?
[ X] ran brew doctor, fixed all issues and can still reproduce the problem?
[ X] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Install and run gajim as per these instructions.
The issue seems to be the same as reported on the gajim issues page. The same thread contains an idea for a workaround.
What happened (include command output)
ModuleNotFoundError: No module named 'gi'
Unfold for details:

Command output

user@Users-machine ~ % ./git/gajim/launch.py
No translations found
Dirs searched: [PosixPath('/usr/local/share'), PosixPath('/usr/share')]
Traceback (most recent call last):
File "./git/gajim/launch.py", line 4, in
gajim.main()
File "/Users/terence/git/gajim/gajim/gajim.py", line 123, in main
_init_gui('GTK')
File "/Users/terence/git/gajim/gajim/gajim.py", line 49, in _init_gui
_init_gtk()
File "/Users/terence/git/gajim/gajim/gajim.py", line 53, in _init_gtk
import gi
ModuleNotFoundError: No module named 'gi'

What you expected to happen
Gajim launches.
Step-by-step reproduction instructions (by running brew commands)

Install python and dependencies for gajim (as per https://dev.gajim.org/gajim/gajim/-/wikis/help/Gajim-on-macOS)

brew install gettext python3 librsvg git
brew install gtk+3 pygobject3 adwaita-icon-theme libsoup
brew link --force gettext
pip3 install --upgrade nbxmpp pyOpenSSL pyasn1 pyobjc pillow idna precis-i18n certifi cssutils

Clone gajim and run it

git clone https://dev.gajim.org/gajim/gajim.git
cd gajim
git checkout gajim_1.1
./launch.py
Output of brew config and brew doctor commands

user@Users-machine ~ % brew config
HOMEBREW_VERSION: 2.2.17
ORIGIN: https://github.com/Homebrew/brew
HEAD: ca5eac845dc11e991d7d8f8c85aebb82dd454f37
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 894388b4ac839d05adfc7f2d40af1de26f351c20
Core tap last commit: 68 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_MAKE_JOBS: 8
CPU: octa-core 64-bit ivybridge
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1103
Git: 2.26.2 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.4-x86_64
CLT: <IP_ADDRESS>.1.1586360307
Xcode: 11.4.1 => /Volumes/Macintosh HD/Applications/Xcode.app/Contents/Developer

user@Users-machine ~ % brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Xcode is installed to a directory with a space in the name.
This will cause some formulae to fail to build.

Report this to Gajim, not Homebrew.

The problem seems to be that people who use python with brew have version 3.7 installed and python cmd points to that.
if one installs pygobject via brew, it installs it into python 3.8, so when python is started and points to 3.7 it does not find it.
I dont get why brew would install 2 different python versions, and how to get out of this again

I dont get why brew would install 2 different python versions, and how to get out of this again

Read brew info<EMAIL_ADDRESS>and set your PATH according to the version you want to use.


IN clause values

Values in quotes within the IN{} clause should show in orange. It seems that the curly brackets are preventing the values in quotes from being orange. Thanks

Fixed in June 13th update: https://github.com/otykier/TabularEditor/releases/tag/2.8.3


Replacing Add Layer with Linear Combination of Learnable Weights

Click to expand!
Issue Type
Feature Request
The Add() Layer can be expressed as a linear combination of inputs where each coefficient value is 1.
I was trying to make a custom layer that performs the same as Add, except uses trainable coefficients as we assume a coefficient of 1 is optimal. Unfortunately, I was unable to do so on my own, specifically the gradients.
I do not think this would be too hard to implement as all the code is kind of already there, just need to calculate gradients and then update.
Source
source
Tensorflow Version
2.7
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The Add() Layer can be expressed as a linear combination of inputs where each coefficient value is 1.

I was trying to make a custom layer that performs the same as Add, except uses trainable coefficients as we assume a coefficient of 1 is optimal. Unfortunately, I was unable to do so on my own, specifically the gradients.

I do not think this would be too hard to implement as all the code is kind of already there, just need to calculate gradients and then update.

Standlone code to reproduce the issue
x

Relevant log output
No response

@OUStudent ,
Can you please elaborate about your Feature. Also, please specify the Use Cases for this feature. Thanks!

@OUStudent , Can you please elaborate about your Feature. Also, please specify the Use Cases for this feature. Thanks!

Imagine we have a skip connection and a connection from the previous block. We can add these two together as follows:
skip = ....
prev = ....
next = Add()([skip, prev])
This add statement is mathematically equal to:
next = 1*skip + 1 * prev
As we can see, the coefficient for each input path is 1; however, perhaps we could train these coefficients to "learn" some type of attention mechanism :
next = alphaskip + betanext
where alpha and beta are learned during training.

Replacing an existing functionality will not be a good option since it breaks lots of user code. Rather we can consider it as a new feature request.
Since, development of keras moved to separate repository https://github.com/keras-team/keras/issues
Please post this issue on keras-team/keras repo.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!


Error handling in the GetIPs function

The GetIPs function should bubble up an error, currently it just returns a slice of net.IP

https://github.com/apcera/libretto/pull/15


show beatmap metadata in original language

Can an option be implemented to show the beatmap metadata in the original language?

Done, it was quick as data was already there so it was just a matter of displaying it


Fisher Overlay not working.

Have tried looking at others with similar issues but am unable to get this working again.  I used it a week or so ago and it was fine.  Now it registers my bait but does not show fish or location etc.
I have also gone to summerford and am unable to get the /bow etc to work with dummy.  I can do /countdown 5 and it works fine but reading from a log seems to be an issue.  I do have emotes showing in my log window.
Here is what I get at the moment.  Any advice would be appreciated.

I have done a FRESH install of all newest files twice so am pretty sure it is nothing to do with structure...

Just worked out why the emotes do not work.  It is searching for "You" and the emotes writes your name instead.  If I write /echo You bow courteously to the striking dummy it works fine.  Should it automatically change You to my name?  If not the test will not work.

Well I finally fixed it after narrowing it down to a LOG issue.
If this helps anyone, NEVER change Log Window Settings to Surname Abbreviated as this begins all logs referring to you in the 3rd person.  Instead of "YOU cast your line...." it changes to "Karmana M casts his line" which breaks all addons that are searching for the generic YOU and not a personalised name.
Phew, Back to Fishing.

im getting the same display issue, firewall disabled, log checked out fine, just not showing any timers at the Arms of Meed for some reason, havent checked any other locations, also was not getting any coloring with the timers or any of the nifty extras.

Nearly identical issue here, except that for me (germna client) chat lines seams to be correct but still no display output. Is there any way i can see at least at which step he has an error? there is also no log inside the overlay.dll tab inside act.

I'm having this issue myself.  I've made sure I'm using the full name and no abbreviations but the cast time still shows 0.0 whilst fishing and no fish are appearing in the list, this is at The Isle of Bekko in The Ruby Sea.

Sorry for delay on fixing this.  Been distracted with a few other things.  Will try to take a look soon.

Akurosia: can you give me some example lines from fishing that you feel like should work, and I can check them against the regex? Are you seeing the fisher window at all (e.g. the window shown in the first comment in this bug)?
geekgirl101: are you using the English client? Can you paste some log lines from your battle log for what it looks like when you're fishing?

i checked: Endoceras,Killerkuno, Neptodrache, Namitaro, Shonisaurus and Helicoprion
I see the overlay with like the location i am in but thats all.

Akurosia: can you paste some log lines that show up in your chat box when you're trying to fish for those, e.g. the you cast your line into the etc etc ones.

This is a demo log line from followinf fishing spot: South Banepool (Coerthas Western Highlands)
[18:05]Du hast mit dem Fischen am südlichen Bannpfuhl begonnen.
[18:05]Etwas hat angebissen!
[18:05]Du hast eine  Patrizier-Seema (24,1 Ilme) gefangen.
[18:05]Du hast mit dem Fischen am südlichen Bannpfuhl begonnen.

Thanks, @Akurosia.  I think I see the problem.  Can you test a fix for me?
Go to your cactbot/ui/fisher/fisher.js file on line 62: https://github.com/quisquous/cactbot/blob/master/ui/fisher/fisher.js#L62
And change the full line to:
'cast': /00:08c3:Du hast mit dem Fischen (?:am |auf dem |im )?([\w\s\-\'\.\d\u00c4-\u00fc]+) begonnen./,
and then see if it works in South Banepool.  I think in this case, it's not working because of the ü character.  I don't know if that's the case for other places you've tried, but that seems likely for this instance.

Stil not working

Another example i just found (due to lack in time currently) is:
Du hast mit dem Fischen an den Erdseim-Feldern begonnen.

Akurosia: does fishing work anywhere or just specific locations are not working?
Can you replace your cactbot/ui/fisher/fisher.js file with this file and try fishing? fisher.zip
In particular, look in the overlay plugin log and see what it prints out for language.  Can you verify that it prints de and not en?
If it prints de can you try fishing with it and see if it works?

The overlay works in generall but severall fishingspots are just not working (e..g western coerthas, where some spots are working while others don't)

I will check the files today and will give you feedback.

Ok Update:
Overlay behaves now kinda strange (it will keep displaying the last valid entry in the overlay):

Went to western coerthas (Unfrozen Pond) = Overlay working as expected
Went to South Banepool (same area) = Overlay displayes the last working state it had in Unfrozen pond (even the cast time was displayed as a static value)
Reloaded overlay and started fishing again at South Banepool = Nothing displayed again (same behaviour as in the screenshot i sent befor)

ACT Log displays: 10.06.2019 15:51:28: Info: fischer: BrowserConsole: Language: de (Source: file:///E:/FINAL%20FANTASY%20XIV%20-%20A%20Realm%20Reborn/AdditionalExtern/ACT/Plugins/OverlayPlugin/cactbot/ui/fisher/fisher.js, Line: 322)  but nothing else is displayed there.
Also as a short Question: I had 2 baits in my inventory (Goblin Jig (Unfrozen Pond) and Brute Leech (South Banepool))
When i tried fishing with Goblin Jig in South Banepool, it still displayed Brute Leech in the fisher overlay.
Is this the correct behaviour?

Sorry for taking so long to get back to this.  This is definitely confusing.
In terms of behavior, if I am fishing and I change baits without putting away the rod, then the "last working state" is displayed in terms of time, but the bait will change.  Additionally, if I get up from fishing, then "You put away your rod" message clears the fishing ui.  Does that not happen for you?
It's very confusing to me that it would display Brute Leech when fishing with Goblin Jib, especially because the bait that you have is found from memory and isn't found by reading the log file.  That makes me think that something has gone very wrong, but I would expect a Javascript error or something in the log if that was true.
Do you have a Network_date.log file that you could include here that has the fishing lines you're seeing? These files are usually in the C:\Users\USERNAME\Documents\My Games\FINAL FANTASY XIV - A Realm Reborn\FFXIV_CHRetcetcetc\log folder.

Dont worry. i have enought time :)
currently i dont know the logfile anymore where i took it but should be able to create one for you.
Also for the bait issue, it didn't happend to me (at least for the one spot i tested in western coerthas).
Is there a way we could sit together at anytime to possibly speedup the process?

I think the change I just pushed should fix Akurosia.  And previous fixes adjusted for different logging issues.
If there are further fishing overlay not working bugs, please file separate issues! Thanks for all the feedback!  (Sorry for the bugs!)


We could use client in gnet instead.

As Gnet client is now available for production, we could use client in gnet instead.
But I'm not 100% sure I use client.go correctly, please let me know if there are any mistakes.

You provide nothing here and expect me to pick up mistakes?

You provide nothing here and expect me to pick up mistakes?

I means you uesed [https://github.com/smallnest/goframe] to implements a tcp client, but now cloud use client in gnet.
You not yet provided a quite simple client example in gnet.

Oh sorry, this is a PR, I thought it's an issue.

Have you tested your new code? Did it work?
@Spongecaptain

@panjf2000 I have tested it and work well. Turning smallnest/goframe to client.go in gnet just a little bit amendment.

Why is go.mod changed so much？ did you run go mod tidy before opening this PR? @Spongecaptain

Why is go.mod changed so much？ did you run go mod tidy before opening this PR? @Spongecaptain

I did run the go mod tidy.

Thanks~


WIP | On demand task generation

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@maimoonak I marked this as do not merge because of the potential to break the current extraction work.
We will give the Projects 1 week to update the Plan Definitions then we can merge this into main. We need to organize a walkthrough of the required changes on the Plan Definition for the rest of the team to understand how the changes should be done.
cc: @ndegwamartin @f-odhiambo @ageryck

This PR should be made ready but marked as DNM. This will be completed and reviewed but will need a walkthrough to allow the different teams to move to the new structure of plan editions to support the generation of Tasks on demand
CC @pld @ndegwamartin

@maimoonak Please get this PR ready for review and change the status from draft.


Sfttrainer equivalent

This can live in this branch if we don't want to pollute main, or we can merge in and add a note to the readme.


Split the language server in its own npm module

Ciao!
I got the language server working in VIM! Very fun! I didn't push anything in my repo gianarb/vim-coc yet because I didn't figure out how to release it yet.

Let me explain my point here to see if you can help me. One of the plugins available in VIM to speak with an LSP is vim-coc that embeds the vscode language server client in VIM. It means that I had to create a bridge similar to this one, in order to make vim smart enough to start and talk with your Grammarly LSP. It works just fine.
import {ExtensionContext, services, workspace, LanguageClient, TransportKind} from 'coc.nvim'

export async function activate(context: ExtensionContext): Promise<void> {
  const serverOptions = {
    module: "/Users/gianarb/git/grammarly/out/server.js",
    transport: TransportKind.ipc,
    options: {
      cwd: workspace.root,
    }
  }
  const clientOptions = {
    documentSelector: ['markdown', 'md'],
  }
  const client = new LanguageClient(
    'coc-grammarly', // the id
    'coc-grammarly', // the name of the language server
    serverOptions,
    clientOptions
  )
  context.subscriptions.push(services.registLanguageClient(client))
}

Obviously /Users/gianarb/git/grammarly/out/server.js  is a problem. Other projects like the css-language-server developed by Microsoft don't have the extension and the LS in the same project, and it is easier for other editors to re-use it. My hope is that having the Grammarly-lsp as a standalone project with only the dependencies it needs will make it easier to reuse.
https://github.com/microsoft/vscode-css-languageservice
Does it sound reasonable to you? :)
Thanks

Sorry, I am learning by doing and reading different codebases, so don't take what I say as gold or absolute right. I think there is some code I would like to reuse in vim-coc even in your client. Like all the credentials management part.
So I am not sure how the segmentation should happen, but your client uses:
import { ExtensionContext, TextDocument, window, workspace } from 'vscode';
import { LanguageClient } from 'vscode-languageclient';

And vim-coc provides something similar as well:
import {ExtensionContext, services, workspace, LanguageClient, TransportKind} from 'coc.nvim'

Makes sense to split it, will do it soon

check packages directory for unofficial-grammarly-language-server

It needs documentation but I don't have much time these days.

Hello! Thank you for your work here, I am trying to import the language-server as library but I get all those WARNINGS. I am trying to get around them in my library, but if you have feedback let me kno
><EMAIL_ADDRESS>build /Users/gianarb/git/coc-grammarly
> webpack

Hash: dc4338ed42346810e35e
Version: webpack 4.44.2
Time: 2124ms
Built at: 11/13/2020 1:37:07 PM
    Asset      Size  Chunks             Chunk Names
 index.js  1.71 KiB       0  [emitted]  index
server.js   437 KiB       1  [emitted]  server
Entrypoint index = index.js
Entrypoint server = server.js
  [0] ./src/index.ts 1.32 KiB {0} [built]
  [1] external "coc.nvim" 42 bytes {0} [built]
  [2] external "path" 42 bytes {0} {1} [built]
  [3] ./src/server.ts 126 bytes {1} [built]
 [59] external "os" 42 bytes {1} [built]
 [60] external "crypto" 42 bytes {1} [built]
 [61] external "net" 42 bytes {1} [built]
 [84] external "url" 42 bytes {1} [built]
 [85] external "fs" 42 bytes {1} [built]
 [86] external "child_process" 42 bytes {1} [built]
[238] external "util" 42 bytes {1} [built]
[277] external "events" 42 bytes {1} [built]
    + 266 hidden modules

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 510:19-28
"export 'ChangeSet' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 417:23-38
"export 'GrammarlyClient' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 447:16-28
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 448:16-28
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 449:16-28
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 455:16-28
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 458:16-28
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 468:16-28
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 471:16-28
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 927:25-37
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 934:25-37
"export 'ResponseKind' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 438:37-48
"export 'SocketError' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 552:33-44
"export 'SocketError' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 553:35-50
"export 'SocketErrorCode' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 574:34-43
"export 'anonymous' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 582:30-42
"export 'authenticate' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 847:34-49
"export 'rebaseTextRange' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

WARNING in ./node_modules/unofficial-grammarly-api/dist/index.esm.js 976:22-37
"export 'rebaseTextRange' was not found in 'unofficial-grammarly-api'
 @ ./node_modules/unofficial-grammarly-language-server/dist/index.cjs.js
 @ ./src/server.ts

There was a bug in the build config, fixed in https://github.com/znck/grammarly/commit/9ce4485821bfd35ae97cfb53a8d55d6627731507. It should work now.

For anyone that ends up here like me: @gianarb published and coc extension on gianarb/coc-grammarly

Let me know if you face any issues with packages.
And please close this if you feel it's resolved.


Failure to recover from certain error states

If you follow the instructions on e.g. https://learn.svelte.dev/tutorial/component-events, the screen will go blank and it won't recover unless you hit the reload icon

i think we can close this now


Search reusing queries

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

[X] I've cleared the sessions folder.

Branch
master
Commit
0a94091
Describe the bug
I run the script multiple times a day as a fail-safe and to ensure at least once it completes.
It will reuse identical queries on the same day, but bing search does not count identical queries, this leads to repeated failed attempts.
It would be good if the queries alternated more and not reused.
Copy and paste your error
2024-08-29 10:56:45,333 [INFO] [BING] Remaining searches=9
2024-08-29 10:56:50,972 [DEBUG] terms=['capri sun', 'capri sun sirup', 'capri sun eppelheim', 'capri sun eis', 'capri sun freezies', 'capri sun jobs', 'capri sun gewinnspiel', 'capri sun multivitamin', 'capri-sun orange', 'capri-sun fze', 'capri-sun orange 200ml', 'capri-sun freezies orange']
2024-08-29 10:56:50,973 [DEBUG] rootTerm=capri-sun
2024-08-29 10:56:51,023 [DEBUG] term=capri sun
2024-08-29 10:57:09,446 [INFO] [BING] Remaining searches=8
2024-08-29 10:57:14,864 [DEBUG] terms=['moers messerattacke', 'moers', 'moers plz', 'moers milcherzeuger info', 'moersdorf', 'moers news', 'moerschen', 'moers wetter', 'moers frischeprodukte', 'moers festival', 'moers bundesland', 'moerschen tönisvorst']
2024-08-29 10:57:14,864 [DEBUG] rootTerm=moers
2024-08-29 10:57:14,903 [DEBUG] term=moers messerattacke
2024-08-29 10:57:18,868 [DEBUG] [BING] Search attempt not counted 1/8, sleeping 14.0625 seconds...
2024-08-29 10:57:32,962 [DEBUG] term=moers
2024-08-29 10:57:36,302 [DEBUG] [BING] Search attempt not counted 2/8, sleeping 28.125 seconds...
2024-08-29 10:58:04,461 [DEBUG] term=moers plz
2024-08-29 10:58:08,174 [DEBUG] [BING] Search attempt not counted 3/8, sleeping 56.25 seconds...
2024-08-29 10:59:04,471 [DEBUG] term=moers milcherzeuger info
2024-08-29 10:59:07,572 [DEBUG] [BING] Search attempt not counted 4/8, sleeping 112.5 seconds...
2024-08-29 11:01:00,127 [DEBUG] term=moersdorf
2024-08-29 11:01:03,447 [DEBUG] [BING] Search attempt not counted 5/8, sleeping 225.0 seconds...
Screenshots
N/A
Value of dashboard variable
N/A

Same situation in Polish searches

It would be good if the queries alternated more and not reused.
Im up to this ^

i've attempted to avoid all 8 tries editing searches.py, but it keeps trying 8 times with repeated queries, how to reduce or use root terms only?


Lovecraft fanatic sugestions

These sugestion were made by lovecraft_fanatic (Discord), I recommend testing this code locally before merging it

Changes include:

reduce navigation bar size
reduce gap between schematics
move page x of y ... to the bottom


Package quarto-cli

Project description
Quarto-cli is a CLI for Quarto, a package for scholarly publishing built on Pandoc.
Metadata

homepage URL: https://quarto.org/
source URL: https://github.com/quarto-dev/quarto-cli
license: gpl2+
platforms: unix, linux, darwin

Even though #186697 mentions adding quarto support to RStudio, it seems like it will provide also the Quarto CLI.

Has been solved in #186697


Fix lower bound

I think I found an issue with the way the lower bound is calculated. Here is an example:
Say the foreground color is rgb(0,0,255) and the background color is rgba(255,255,0,0.5). With the existing approach a "closest" color is calculated as rgb(-255,-255,510) and then clipped to rgb(0,0,255). The overlayed background color than is rgb(128,128,128) which has a contrast of 2.2 to the foreground color.
To proof that this is not the actual lower bound I can use rgb(0,0,0) as backdrop color: The overlayed background color in this case is rgb(128,128,0) which has a contrast of 2 to the foreground color.
The issue with the existing algorithm is that it clips each color channel individually. In other words: Only colors with a similar hue are considered for closest. This ignores the fact that hue has a significant impact on luminence.
The algorithm I propose mostly ignores the individual color channels and instead uses the foreground luminance and the maximum and minimum luminances of the background (overlayed over white and black respectively).
Since the luminance function is continuous, we can assume that for each background luminance between the minimum and maxiumum values there exists a backdrop color that can produce it.  There may not be a perfect match because we are dealing with a discrete color space, but we should
get close enough for all practical considerations.
So if the foreground luminance is somewhere in that range, the lower bound for contrast is 1 (minimal). If it is not, we use the closest value for calculating the contrast resulting in min(onBlack, onWhite).

Hi there, thanks for the contribution!
While I agree with your points about what's wrong with the current code, I don't think your proposed changes correctly calculate the minimum contrast.
Think of the following case:
background = transparent (i.e. rgba(0,0,0,0))
foreground = gray
Minimum contrast is 1, when the background is overlaid on gray. However, your algorithm would return 3.9, which is the contrast when the background is overlaid on white.

Oh, actually, nevermind, I just realized that wouldn't be the case.
I like it, but why not combine with the previous approach? I.e., since we're trying to find a minimum, why not leave the closest calculation as is, then do yours and take the min of all three? That way we guarantee there is no regression.

I like it, but why not combine with the previous approach? I.e., since we're trying to find a minimum, why not leave the closest calculation as is, then do yours and take the min of all three?

Of course, if you would like me to add take the minimum of all three just to be sure, I can do that. It is totally up to you.
However, I see two reasons that speak against this:

It would be an unnecessary performance loss.
It may confuse other developers who try to understand and implement this algorithm.

For me, the second point is really important. Many projects have broken contrast implementations and this project is often referenced when it comes to fixing them. The algorithm used is already complex. IMHO we should try to keep the implementation as straight-forward as possible.

I think this algorithm is actually correct. Thanks for working on this, merged!
Small tweak: Could you cache the overlaid colors (on black and on white) so we don't have to do the alpha blending twice?


Scala Stream Collector: add validation that Kinesis stream has correct schema tag

Idea is:

We tag each Kinesis stream with a tag schema=iglu:schema_of_events_in_stream
When we start up the Scala Stream Collector, we validate that the Kinesis stream's tag maps onto a version of the schema that our Scala Stream Collector speaks

This is basically a way of giving Kinesis streams "optional type annotations"

Migrated to https://github.com/snowplow/enrich/issues/179


feat(frontend): add custom ssl truststore settings

Add custom keystore settings. It is required for frontend to use self-signed certificates of 3rd party services
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

We set up JAAS LDAP authentication and use self-signed certificates for LDAP. Earlier we were passing truststore options via JAVA_OPTS, like -Djavax.net.ssl.trustStore=... but now start.sh overrides this env variable. I've added these options separately


[SPARK-9351][SQL] remove literals from grouping expressions in Aggregate

literals in grouping expressions have no effect at all, only make our grouping key bigger, so we should remove them in Optimizer.
I also make old and new aggregation code consistent about literals in grouping here. In old aggregation, actually literals in grouping are already removed but new aggregation is not. So I explicitly make it a rule in Optimizer.

Merged build triggered.

Merged build started.

Test build #38025 has started for   PR 7583 at commit a93293e.

Test build #38025 has finished for   PR 7583 at commit a93293e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class FormatString(children: Expression*) extends Expression with ImplicitCastInputTypes

Merged build finished. Test PASSed.

Do we have a test case to make sure group by still works when there is no group at all?

Also, anything that actually changes code should have a JIRA.

Merged build triggered.

Merged build started.

Test build #38305 has started for   PR 7583 at commit d6326d8.

Merged build triggered.

Merged build started.

Test build #38307 has started for   PR 7583 at commit 9d59628.

I'm not sure if we could remove literal in group expressions, as it will lead to different result if the spark.sql.retainGroupColumns is true. cc @rxin

Test build #38305 has finished for   PR 7583 at commit d6326d8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test build #38307 has finished for   PR 7583 at commit 9d59628.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

cc @yhuai

@cloud-fan I am probably missing the context at here. What's the problem (and why we need to revert #4169)? Do you mean that the old and new aggregation code path have different output schema when retainGroupColumns is true (one has literals and one does not literals?)? Can you give an example and explain what is the difference? It is also good to provide details about the problem (what is the symptom and what is the root cause) in the description, which can help other people understand the problem when they look at commit history.

Merged build triggered.

Merged build started.

Test build #38448 has started for   PR 7583 at commit 62401ee.

@yhuai sorry that I made a mistake at the beginning, actually retainGroupColumns has no problem as we will alias literals in dataframe, and literals in aggregation expressions are already allowed. Thus I think we can safely remove literals in grouping expressions.
And I also make old and new aggregation code consistent about literals in grouping here. In old aggregation, we'll remove literals from grouping but new aggregation is not. So I explicitly make it a rule in Optimizer.

Test build #38448 has finished for   PR 7583 at commit 62401ee.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #38454 has started for   PR 7583 at commit 471adff.

Test build #38454 has finished for   PR 7583 at commit 471adff.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

retest this please.

Merged build triggered.

Merged build started.

Test build #38464 has started for   PR 7583 at commit 471adff.

Merged build triggered.

Merged build started.

Test build #105 has started for   PR 7583 at commit 471adff.

Test build #105 has finished for   PR 7583 at commit 471adff.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #38464 has finished for   PR 7583 at commit 471adff.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Thanks!  Merging to master.


Feature request: possibility to decorate country code prefix

If for some reason(business requirements) we don't need +(plus symbol) as a prefix for iso code, currently we haven't such an option.
Prefix is hardcoded.
https://github.com/viclafouch/mui-tel-input/blob/master/src/index.tsx#L183

Hello @bigkrp
As it's a really rare use case, I think I will wait for more upvote from the community before working on this feature.
Hope you understand


Color Settings popup should be consistent with theme

Will something like this work? Note, I have scrollbars always present on my machine, so you'll see white stripes where overflow is present.

@ericjim @sumitarora the white stripes do not work. I'd rather keep it the way it is for now if it means having white stripes in there

@igor-ka I will clarify. The whitestripes have always been there, they are only very visible as a result of a setting that I've enabled on macOS. This should not stop us from merging in this PR. @danielschifano can you comment on what things we can do to prevent the bars from appearing. My theory is that CSS is using overflow in some mode.

@igor-ka As @ericjim mentioned they are the default scrolls in Mac on browser. I don't have them enabled which is default behavior I believe. If we need to fix the scrollbars we should create another issue specific to that.

@sumitarora @ericjim I thought that the scrollbars are "side effects" of this code. Otherwise yes, another issue makes total sense. In which case, :shipit:

Closing issue PR already merged: https://github.com/rangle/augury/pull/463


az feedback - Recent commands not sorting

Recent commands not sorting when displayed running az feedback
Command Name
az feedback
To Reproduce:
Execute az feedback
➜  az feedback

Recent commands:

   [0] create a generic issue.
   [1] *redacted*                  : SUCCESS. Ran: 285 days ago.
   [2] *redacted* : SUCCESS. Ran: 285 days ago.
   [3] *redacted* : SUCCESS. Ran: 285 days ago.
   [4] *redacted* (subscriptio ...) : FAILURE. Ran: 285 days ago.
   [5] *redacted* (sub list)        : FAILURE. Ran: 285 days ago.
   [6] *redacted*                  : SUCCESS. Ran: 285 days ago.
   [7] *redacted* (subscriptio ...) : FAILURE. Ran: 285 days ago.
   [8] *redacted* : SUCCESS. Ran: 285 days ago.
   [9] *redacted* : SUCCESS. Ran: 285 days ago

Expected Behavior
Commands to be sorted by latest execution i.e
[1] *redacted*                  : SUCCESS. Ran: 2 *minutes* ago.
Environment Summary
macOS-11.2-x86_64-i386-64bit
Python 3.8.7
Installer: HOMEBREW

azure-cli 2.18.0 *

Extensions:
logic 0.1.0
application-insights 0.1.9

Additional Context

feedback

@joshhighet This is what I saw on my machine, and when I type a new command, it appears in position [9]. This is by desgin to put the most recent record closest to the end of output so you don't need to scroll up if the output is long.
Recent commands:

   [0] create a generic issue.
   [1] az vmss --help : SUCCESS. Ran: 4 days ago.
   [2] az group create: SUCCESS. Ran: 2 hrs 47 mins ago.
   [3] az version     : SUCCESS. Ran: 1 hrs 46 mins ago.
   [4] az version     : SUCCESS. Ran: 45 mins ago.
   [5] az upgrade     : FAILURE. Ran: 45 mins ago.
   [6] az upgrade     : FAILURE. Ran: 44 mins ago.
   [7] az upgrade     : FAILURE. Ran: 23 mins ago.
   [8] az version     : SUCCESS. Ran: 17 mins ago.
   [9] az upgrade     : FAILURE. Ran: 4 mins ago.

Enter the number of the command you would like to create an issue for. Enter q to quit:

@joshhighet, are you running multiple commands within 1 second? The precision of metadata logs is 1 second. Could you share the latest log?
BTW, I am considering fixing it.


Fix Linode DNS records to have 'priority' in extra

Fix Linode DNS records to have 'priority' in extra field
Description
Linode DNS Record does not expose 'priority' value on its extra field, which is used in DNSDriver._get_bind_record_line(). It's required for MX/SRV records to be exported with DNSDriver.export_to_bind_format().
Linode DNS resources already have 'PRIORITY' field (see https://www.linode.com/api/dns/domain.resource.list and https://github.com/apache/libcloud/blob/trunk/libcloud/test/dns/fixtures/linode/resource_list.json), we can just copy it into the extra field.
Status

done, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[ ] Documentation
[x] Tests
[ ] ICLA (required for bigger changes)

Coverage increased (+0.001%) to 88.862% when pulling e62a5ddd8dfc1d0a78111257fae66cbe4593f5a8 on mete0r:LIBCLOUD-937_linode-dns-record-priority-extra-field into 3dbf50b07e151e3a0960962bd6b896a38065fd3a on apache:trunk.

Thanks for the contribution @mete0r
Makes sense. The extra dict should contain priority for MX and SRV record, as per the docs (but who reads docs!) http://libcloud.readthedocs.io/en/latest/dns/index.html#terminology
👍


Circular dependency when using domainname property

The domainname property typically corresponds to a CNAME record that is created elsewhere in the Pulumi program. That record would use the publicFqdn output of the service. This creates a circular reference: the CNAME record needs the service output, but the service output cannot be created before the CNAME record is created ("failed precondition".)
Options are to remove the precondition (it would be good to keep it as a warning though!) or to be able to use deterministic outputs before the service is created (does Pulumi support this?)

No longer an issue. We now continue with the deployment even if the CNAME was not configured (or not in sync.)


v1.0.1 imports discrete-optimization in solvers.py although discrete-optimization is not a mandatory dependency

🐛 Bug
v1.0.1 imports discrete-optimization in solvers.py although discrete-optimization is not a mandatory dependency
To Reproduce
install scikit-decide 1.0.1 without any option
import skdecide
ModuleNotFoundError: No module named 'discrete_optimization'
Expected behavior
Please keep discrete-optimization as an optional dependency (it simplifies a lot the installation of skdecide)
Environment
python 3.11

Hi. discrete-optimization is now a mandatory dependency, used to define hyperparameters of solvers in order to be able to tune them easily with optuna (there is an example in the tutorials for ICAPS 2024, more precisely in the scheduling tutorial).
It was a mistake that the requirement was still optional in 1.0.1 and has been corrected starting from 1.0.2.
However this should be imperceptible for you now as the last versions of discrete-optimization does not require the installation of minizinc anymore (which was perhaps the part that complexified the installation process for you).

Hi, thanks, checked an worked with scikit-decide 1.0.2


Icons for poetry

Hi! I am using poetry as a dependency manager for my python projects. I noticed that poetry.lock file has an icon of toml and pyproject.toml does not have an icon. It would be nice to see the icon of poetry  for poetry.lock and the icon of toml for pyproject.toml. Please see the image below

Also, I hope README.rst gets an icon. PS: I really like the extension and thank you in advance :heart:

@calvo-jp not sure why you're not seeing the toml icon for pyproject.toml. Do you have better.toml extension installed? Most probably you have some extension overriding the toml defaults.
Anyway, I agree that we should be using a poetry icon for the poetry.lock file. We'll have to work on the icon.

I wanted to add I'm also not seeing the TOML icon. Not sure what other information might help you figure this out. I don't have the better toml extension installed.

@haydenfree for the toml extension to be shown, you have to have installed a toml extension. Do you have any?

@haydenfree for the toml extension to be shown, you have to have installed a toml extension. Do you have any?

Here's a list of my installed extensions:
code --install-extension akamud.vscode-theme-onedark
code --install-extension coolbear.systemd-unit-file
code --install-extension eamodio.gitlens
code --install-extension James-Yu.latex-workshop
code --install-extension julialang.language-julia
code --install-extension karunamurti.haml
code --install-extension mhutchie.git-graph
code --install-extension ms-azuretools.vscode-docker
code --install-extension ms-vscode-remote.remote-ssh
code --install-extension ms-vscode-remote.remote-ssh-edit
code --install-extension octref.vetur
code --install-extension rebornix.ruby
code --install-extension singularitti.vscode-julia-formatter
code --install-extension tomoki1207.pdf
code --install-extension vscode-icons-team.vscode-icons
code --install-extension wingrunr21.vscode-ruby

You don't have any. Just install a TOML extension and that will do.

I see. I misunderstood. I thought that if I did have an extension it could cause issues. Working now that I installed Better TOML.


batch editing

might be too much to ask atm but would be nice to have the ability to input more than 1 song and have them in queue instead of having to put each and every song each time

Its not so obvious, but you can do it already. Clicking input field provide you with list for batch editing

might be too much to ask atm but would be nice to have the ability to input more than 1 song and have them in queue instead of having to put each and every song each time

UVR can already do this. You can drop as many files as you'd like.

Its not so obvious, but you can do it already. Clicking input field provide you with list for batch editing

thank you ! no folder support I see
unrelated but do you know if it is possible to selelct default output (using .config file for example) rather than having to always set output manually everytime ?
if not I shall just close the issue :)


new storage discs

The idea comes from this mod https://minecraft.curseforge.com/projects/storage-tech?gameCategorySlug=mc-mods&projectID=274033

Why not use that mod instead?


Fix: DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

Steps to reproduce:
Add more than one inlineSVG instances with scripts on the same Angular page.

Thanks!


Add Visualizer, closes #7

Add another way to inspect the Cocoapods project's dependencies, using pod dependency --visual
It will generate a HTML like this, better than raw console output

closes #7


Fix spaces in uri

We have one repo with the registry URL having white spaces. So while trying to read data from that uri, parsing is failing due to white spaces.
So replacing the white spaces before passing it to the get call.

@AlekhyaYalla could you add a test to verify this keeps working as intended in the future?

It also seems like this breaks some existing tests @AlekhyaYalla, would you mind addressing those as well?

We have one repo with the registry URL having white spaces

Can you share the URL (with anything private redacted)? I'm curious how you ended up with a registry URL containing white spaces?

We have one repo with the registry URL having white spaces

Can you share the URL (with anything private redacted)? I'm curious how you ended up with a registry URL containing white spaces?

Here is the url: https://pkgs.dev.azure.com/org/ocp ds tools/_packaging/ocp_ds_tools_PublicPackages/npm/registry/
When this url is being used for loading the registry, it is replacing the white spaces with "%20".

@jurre I could add unit tests for the change and also all the test cases were passing. Could you please review this change? Thanks!

@jeffwidman gentle reminder on this PR

Sorry for the delay, I'll try to get this reviewed in detail this week.

A gentle ping on  this PR @jeffwidman

Hei! Before I review this, may I ask for an rebase + squash? It seems that the PR is out of date with latest main, and also there's a lot of commits amending previous changes that I think can all be squash to a single commit? Thank you!

@deivid-rodriguez I have done the part of rebasing. Could you please review this now?

Yes, will review this ASAP. So sorry for the delay.

Thanks so much for fixing this, and for your patience @AlekhyaYalla!

My apologies for the slowness @AlekhyaYalla and @milind009, and many thanks to @deivid-rodriguez for helping get this across the line.


Update README for Rating

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #22   +/-   ##
=========================================
  Coverage     11.40%   11.40%
  Complexity       12       12
=========================================
  Files             8        8
  Lines           228      228
  Branches         23       23
=========================================
  Hits             26       26
  Misses          202      202

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 a1a7466...e6ebf25. Read the comment docs.


[backport] Use __dealloc__ instead of __del__ for cdef class

Backport of #4036

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit cc37403dbea993bcbc55a6a9ef25dca08774af4a, target branch v8) succeeded!


feat: support chatglm

ChatGLM project like llama.cpp https://github.com/li-plus/chatglm.cpp

good catch, def. we can add it!

According to the chatGLM project README.md.  I assume it can be compatible by the C++ backend. https://github.com/li-plus/chatglm.cpp#features

I have test ChatGLM. It still does not work.

@fishfree which version you test chatglm? 2 or 3? In 3, they said the have designed a new prompt format.

can access the gRPC interface service of chatglm using external-grpc-backends. Here are a example：https://github.com/szsteven008/chatglm.cpp/tree/main/examples/server

Closing as this is now both supported by the llama.cpp and transformers backends.


About page final paragraph links don't open in new tab/window

Please make the links to Ideo, 18F and Gov.uk open in new tabs so I can explore them without losing ODK.

Gonna close this, same as the issue for the repo and the footer links, it's bad practice to open things in new tabs because of reliance on back buttons.


Exception when exporting run configurations

I get the following stack trace when I try to export my Bazel run configurations using the menu Bazel -> Export Run Configurations
IntelliJ: 2017.2.1
Bazel plugin: 2<IP_ADDRESS>.2
com.intellij.execution.impl.RunManagerImpl.getSettings(Lcom/intellij/execution/configurations/RunConfiguration;)Lcom/intellij/execution/RunnerAndConfigurationSettings;
java.lang.NoSuchMethodError: com.intellij.execution.impl.RunManagerImpl.getSettings(Lcom/intellij/execution/configurations/RunConfiguration;)Lcom/intellij/execution/RunnerAndConfigurationSettings;
	at com.google.idea.blaze.base.run.exporter.RunConfigurationSerializer.writeToXml(RunConfigurationSerializer.java:42)
	at com.google.idea.blaze.base.run.exporter.ExportRunConfigurationDialog.writeConfiguration(ExportRunConfigurationDialog.java:221)
	at com.google.idea.blaze.base.run.exporter.ExportRunConfigurationDialog.doOKAction(ExportRunConfigurationDialog.java:211)
	at com.intellij.openapi.ui.DialogWrapper$OkAction.doAction(DialogWrapper.java:1867)
	at com.intellij.openapi.ui.DialogWrapper$DialogWrapperAction.actionPerformed(DialogWrapper.java:1828)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)

From https://github.com/bazelbuild/intellij/issues/112:
This is caused by a plugin API change in 2017.2, which we don't yet support.

The next plugin release will be built against 2017.2, and so fixes this issue. For now closing as a duplicate of the other issue.


fix: explicit annotations for $templateCache dependency

Fixes #62.
This is my first PR (ever, would you believe?), so please let me know if the commit message or anything else doesn't adhere to the contributing guidelines.

@scottohara cool, thnx for the PR! Looks like the tests need some love, though: https://travis-ci.org/karma-runner/karma-ng-html2js-preprocessor/jobs/50446573

I have same issue, would love to see this merged in.

Hi, when can I expect this to make into a published version on npm ?


Feature Request: Multiple variable in one line

In python you can set variable like this:
a, b, c, = 1, 2, 3
I think It is useful in godot.
var forceJump, jumpCount, MAX_JUMP_COUNT = 500, 0, 2

Duplicate of #7584.


Organization level account

What's the problem this feature will solve?
This feature would provide additional project management of collaborators to organizations/companies. Similar to the organization accounts that GitHub provides:

"Organizations are shared accounts where groups of people can collaborate across many projects at once. Owners and administrators can manage member access to the organization's data and projects with sophisticated security and administrative features."

For additional context, see the link for GitHub organization accounts, below.
Describe the solution you'd like
Th ability to manage collaborators on individual projects and broadly across all projects... a higher level of collaborator management/access.
Additional context
GitHub Organization Accounts
-"Please and thank you!"

Thanks for the request! This is a duplicate of #201.

@di Ahh... sorry about that. I should have scrolled back further when searching for "organization".


Fix VMStorage statefulSet pvc create failed

VMStorage statefulset pvc' name should be IntoSTSVolume caller parameters name.

This PR is to fix #482

Thanks for contribution!


.NET Core WPF and GTK

It would be nice to add support for the same platforms as XF supports.
I see that mostly UWP and WPF are supported by community.
Are you ok with adding this new platforms? I can help you with it.

I'll happily take PRs for these. I can't support them myself due to time constraints.

Does this support WPF and GTK or did it never happen? :)

it is supported


[CXX1429] error when building with cmake using

I create new React-Native app and install the pakcage react-native-libsodium and run project.
Error when run project React-Native on android npm run android:
BUILD FAILED in 17s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong:
Execution failed for task ':react-native-libsodium:configureCMakeDebug[arm64-v8a]'.
> [CXX1429] error when building with cmake using /Users/code_joker/Documents/react-native-libsodium/exampleMy/node_modules/react-native-libsodium/android/CMakeLists.txt: -- Android: Targeting API '21' with architecture 'arm64', ABI 'arm64-v8a', and processor 'aarch64' -- Android: Selected unified Clang toolchain -- The C compiler identification is Clang 12.0.8 -- The CXX compiler identification is Clang 12.0.8 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/code_joker/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Users/code_joker/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done C++ build system [configure] failed while executing: /Users/code_joker/Library/Android/sdk/cmake/3.22.1/bin/cmake \ -H/Users/code_joker/Documents/react-native-libsodium/exampleMy/node_modules/react-native-libsodium/android \ -DCMAKE_SYSTEM_NAME=Android \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_SYSTEM_VERSION=21 \ -DANDROID_PLATFORM=android-21 \ -DANDROID_ABI=arm64-v8a \ -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a \ -DANDROID_NDK=/Users/code_joker/Library/Android/sdk/ndk/23.1.7779620 \ -DCMAKE_ANDROID_NDK=/Users/code_joker/Library/Android/sdk/ndk/23.1.7779620 \ -DCMAKE_TOOLCHAIN_FILE=/Users/code_joker/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake \ -DCMAKE_MAKE_PROGRAM=/Users/code_joker/Library/Android/sdk/cmake/3.22.1/bin/ninja \ "-DCMAKE_CXX_FLAGS=-O2 -frtti -fexceptions -Wall -fstack-protector-all" \ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/code_joker/Documents/react-native-libsodium/exampleMy/node_modules/react-native-libsodium/android/build/intermediates/cxx/Debug/h3q525i6/obj/arm64-v8a \ -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/code_joker/Documents/react-native-libsodium/exampleMy/node_modules/react-native-libsodium/android/build/intermediates/cxx/Debug/h3q525i6/obj/arm64-v8a \ -DCMAKE_BUILD_TYPE=Debug \ -B/Users/code_joker/Documents/react-native-libsodium/exampleMy/node_modules/react-native-libsodium/android/.cxx/Debug/h3q525i6/arm64-v8a \ -GNinja \ -DANDROID_STL=c++_shared from /Users/code_joker/Documents/react-native-libsodium/exampleMy/node_modules/react-native-libsodium/android CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at CMakeLists.txt:34 (add_library): Cannot find source file: ../node_modules/react-native/ReactCommon/jsi/jsi/jsi.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc CMake Error at CMakeLists.txt:34 (add_library): No SOURCES given to target: libsodium CMake Generate step failed. Build files cannot be regenerated correctly.

Versions

React-Native: 0.72.3
MacBook Air:  M1, 2020, Chip Apple M1, macOS Ventura 13.4.1 (c)

I just experienced the issue a couple hours ago and saw the release was not ready yet, in the mean time patched the lib. I'll try the new version and let you now, thanks @nikgraf !

Android build compiles @nikgraf, thanks again!

glad to you hear @emenocal07 👍


Lord Renly's Ride does not add strength

I tried playing Lord Renly's Ride with Rattleshirt's Raiders in my dead pile. The card was played and went straight to the discard pile without giving me the option to target it. My character neither gained strength nor intimidate.

Lord Renly's Ride has been implemented in #827 but hasn't been deployed on the site yet. It should work as intended once deployed. Thanks!

Great, thanks!


Debugging on Apple Silicon?

I have tried debugging on my M1 Mac and got these messages:
Running the contributed command: 'rust-analyzer.debugSingle' failed.
This platform (arm64-darwin) is not supported.

Is there any plan to support debugging on Apple Silicon?

rust-analyzer only starts the debug session, which is implemented by another extension (C/C++, LLDB VSCode, Native Debug etc.). Check which one you are using and follow up with them.


Bump release version 1.0.2 -> 1.0.3

Preparing to release v1.0.3
What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind api-change
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake
/kind code-refactoring

Signed-off-by: Mohammed Zeeshan Ahmed<EMAIL_ADDRESS>

Don't we need to change the version info in build/VERSION file?

we do it after the release.

And what about changing image reference in pkg/occlient/occlient.go in the variable defaultBootstrapperImage? Do we do that after updating the init image?
Already updated

Don't we need to change the version info in build/VERSION file?

That should be done only after release. This file is used by update notifier and we don't want for users to be notified about the new version before it is available to download.

And what about changing image reference in pkg/occlient/occlient.go in the variable defaultBootstrapperImage? Do we do that after updating the init image?

that was already updated. image has its own versioning and it doesn't have to be updated with each release

Thanks for the answers @mohammedzee1000 @kadel
/lgtm

/approve


Support database reserved keywords

As discussed here.

So should we always quote columns or only for reserved words?

Only for the reserved keywords as far as I'm concerned.

Julien is on that and has committed something, I'm closing this


[WIP] Commitment scheme

Hi @KiriosK
Is this PR ready?
If so, please remove [WIP] comment.

Greeeeeeaaaaaaattttttttt work!


Add a function pipe operator

This issue was originally filed by @chalin

Both AngularDart and Polymer have special syntax in support of function pipes (for Filters and Transformers) through the pipe | (bar) operator. E.g.
    person.lastName | uppercase
It would seem a natural fit for Dart to have native support for such a pipe operator. A case for the addition of a pipe operator in Dart is given here: http://pchalin.blogspot.com/2014/02/case-for-pipe-operator-in-dart.html
As is mentioned in the blog entry, I believe that added support should be considered for function composition operators (forward and/or reverse) as well.

Has anyone started or is anyone interested in starting a DEP for this?

FYI: A proposal for adding the simple-but-useful pipeline operator to JavaScript.. /cc @munificent @kevmoo @kwalrath

@chalin – you know I'm a fan!

I think Dart should take advantage of the static type system. Could, for example, extension methods satisfy most of the pipeline operator use-cases, without the additional call syntax?

I love |> in Elixir! I miss the pipe operator alot in Dart

Hey, any news?

No news. We've been very focused on non-nullable types and extension methods, so haven't had time for many other small-scale language changes.

I love |> in Elixir! I miss the pipe operator alot in Dart

This is perfect and used in another languages as well, like Elm, etc.

This seems redundant to extension methods – https://dart.dev/guides/language/extension-methods
I'm tempted to close this as ~fixed.
@munificent @leafpetersen ?


H264 Seems to Break Colorspace / Dimensions

Hi,
Using the default example from the documentation in a script to examine an H264 file, it seems as if a comma in the "movie.colorspace" value will cause that value to overflow into the next 3 key values :
movie.resolution
movie.width
movie.height
movie.resolution will become the colorspace value post-comma and movie.width & movie.height will have a value of 0.
Below is the script run on two different files to demonstrate this. The first is a ProRes file, the 2nd is an H264. The section in question is in bold. At the very end is the script as run.
##PRO RES FILE OUTPUT
98.92
51896
641678236
prores (apcn / 0x6E637061), yuv422p10le(bt709), 1280x720, 51743 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc (default)
prores (apcn / 0x6E637061)
yuv422p10le(bt709)
1280x720
1280
720
24.0
aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 147 kb/s (default)
aac (LC) (mp4a / 0x6134706D)
48000
2
##H264 FILE OUTPUT
98.93
5343
66084289
h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 3805 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc (default)
h264 (Main) (avc1 / 0x31637661)
yuv420p(tv
bt709)
0
0
23.98
pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s (default)
pcm_s16be (twos / 0x736F7774)
48000
2
##SCRIPT :
require 'rubygems'
require 'streamio-ffmpeg'
movie = FFMPEG::Movie.new(ARGV[0])
puts "#{movie.duration}" # 7.5 (duration of the movie in seconds)
puts "#{movie.bitrate}" # 481 (bitrate in kb/s)
puts "#{movie.size}" # 455546 (filesize in bytes)
puts "#{movie.video_stream}" # "h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 371 kb/s, 16.75 fps, 15 tbr, 600 tbn, 1200 tbc" (raw video stream info)
puts "#{movie.video_codec}" # "h264"
puts "#{movie.colorspace}" # "yuv420p"
puts "#{movie.resolution}" # "640x480"
puts "#{movie.width}" # 640 (width of the movie in pixels)
puts "#{movie.height}" # 480 (height of the movie in pixels)
puts "#{movie.frame_rate}" # 16.72 (frames per second)
puts "#{movie.audio_stream}" # "aac, 44100 Hz, stereo, s16, 75 kb/s" (raw audio stream info)
puts "#{movie.audio_codec}" # "aac"
puts "#{movie.audio_sample_rate}" # 44100
puts "#{movie.audio_channels}" # 2
movie.valid? # true (would be false if ffmpeg fails to read the movie)

Seemed to fix this by editing split regex in movie.rb :
if video_stream
@video_codec, @colorspace, resolution, video_bitrate = video_stream.split(/,\s(?=[^()]*(?:(|$))/)*
@video_bitrate = video_bitrate =~ %r(\A(\d+) kb/s\Z) ? $1.to_i : nil
@resolution = resolution.split(" ").first rescue nil # get rid of [PAR 1:1 DAR 16:9]
@dar = $1 if video_stream[/DAR (\d+:\d+)/]
end


help2man: restore nls support on darwin, make nls explicit

Motivation for this change
When trying to use help2man in a package, I see the following error:
help2man -i ssh-agent-filter.help2man -o ssh-agent-filter.1 -N -L C.UTF-8 ./ssh-agent-filter
help2man: no locale support (Locale::gettext required)

The configure script for help2man uses gettext if available, so if gettext is not available it will silently build without nls support. If I pass --enable-nls to configure:
❯ nix-build -E 'let pkgs = import ./. {}; in pkgs.help2man.overrideAttrs (_:{ configureFlags = [ "--enable-nls" ]; })'
[...]
checking for library containing bindtextdomain... no
configure: error: bindtextdomain() required

I think this was caused by e73d3348f38b216b2512f666d2d41580799c22aa in #142602. cc @Artturin
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build help2man

@ofborg build help2man

@ofborg build help2man


knobs addon - use of default value is unintuitive

Is your feature request related to a problem? Please describe.
I was trying to have the current value of a select knob persist between page loads by using local storage. It didn't work, and I found the reason:
  const existingKnob = knobStore.get(name);
  // We need to return the value set by the knob editor via this.
  // But, if the user changes the code for the defaultValue we should set
  // that value instead.
  if (existingKnob && deepEqual(options.value, existingKnob.defaultValue)) {
    return this.getKnobValue(existingKnob);
  }

Describe the solution you'd like
I'd like a way to pre-select an option on initial load of the story, before the user makes a selection. Once the user makes a selection, I'd want that respected and not overridden. (By user I mean the human operating the browser, not the developer who wrote the code. The code I pasted above seems to mean the developer.)
Ideally I would like a way to make the default parameter behave the way I described above, but I understand that would be a breaking change. Maybe a parameter in addDecorator to change the behavior? I use addDecorator in config.js.
Describe alternatives you've considered
I wrote a bunch of code to "freeze" the default I pass after a fresh reload, using React local state. It works, but it's not ideal.
Are you able to assist bring the feature to reality?
I'm willing to help if I can. I know JavaScript and React well.

Hi, thank you for bringing your idea!
Just want to get clarified,

between page loads

Does that saying you want the knob persist to the current selection, even when you refresh the page? I can see this being useful in some cases, but not sure if that is realistic (due to the limitation on the local storage and the current implementation, which means we might need a unique identifier on each single knob value...).

@leoyli - no sorry if I was not clear. I think adding functionality to have knobs retain value across page loads is probably best left to the developer users.
I just feel that the way the default value parameter works right now is strange. If it changes between renders, it actually overrides the browser user's selection. Here's an example:
A Select has three values. On initial render, the code specifies the first as the default value, and the select knob is rendered correctly that way and returns the correct value.
The browser user changes the value to the second option. This triggers a render which calls the select function with the first value as default. Since this is the same as before, everything works as expected and the select function returns the second value.
Next the user changes the value to the third option. This triggers a render but this time the select function is called with the second option as the default. This is where things go wrong. The knobs code sees that the default parameter has changed and returns it, overriding the browser user.
There must be a reason it was done this way, but it really should not be called "default" then. In my understanding, a default value should be used when no other value is available. Basically the default value should be used only on the initial render, since after that there is always a usable value. The React useState hook does this correctly.
My initial attempt was to bracket calling select with a load then store, something like this:
const selectOptions = {} // actually set this up, not as an empty object
const defVal = localStorage.getItem('selectval') || 'option1'
const newVal = select('label', selectOptions, defVal)
localStorage.setItem('selectval', newVal)

If things had worked as I expected, this would have made the selected value persist across page loads.

Aha, I see your point here.  If the passed devVal changed, then knob treat it as a new one and ignore the user selection.  It's interesting you set the default value dynamically.  I may need to see the source code a bit since I'm wondering its internal logic later...


mgba-dev: fix hash + clean versioning

Updating 'mgba-dev' (0.7.3-5983-b7bbe0a -> 0.7.3-5984-2583c5c) Downloading new version mGBA-build-latest-win64.7z (10.6 MB) [================================================================] 100% Checking hash of mGBA-build-latest-win64.7z ... ERROR Hash check failed! App:         games/mgba-dev URL:         https://s3.amazonaws.com/mgba/mGBA-build-latest-win64.7z First bytes: 37 7A BC AF 27 1C 00 04 Expected:    11fc940bdc8d3e9e2c608af9a28ffc1a93db23d69241da2fe28d4d8b6fe13c40 Actual:      b5831a1a67d57f1ebdc78776dd327135ffcb20a6d3438ba0ff56358afaae9ae2
Also pushes to latest version 0.7.3-5985

Thanks!

There are merge conflicts due to today's automatic update, could you fix them? I'll merge this once this is done :slightly_smiling_face:

@Calinou Please merge ASAP before autoupdate causes merge conflicts again.

Thanks!
Sorry for the delay.


Installation fails due to ros-foxy-ur-msgs

I am trying to install the repo, following the turtorial steps.
But when I run:
rosdep install --ignore-src --from-paths src -y -r
I get the following error
executing command [sudo -H apt-get install -y ros-foxy-ur-msgs]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-foxy-ur-msgs
ERROR: the following rosdeps failed to install
apt: command [sudo -H apt-get install -y ros-foxy-ur-msgs] failed
apt: Failed to detect successful installation of [ros-foxy-ur-msgs]
How can I go forward?   I tired to go on with ros-foxy-ur-msgs but unfortunately there is no guide on how to install them as well.
Furthermore, If  I try to do colcon build i get the following:
Starting >>> ur_controllers
--- stderr: ur_controllers
CMake Error at CMakeLists.txt:29 (find_package):
By not providing "Findur_msgs.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ur_msgs", but
CMake did not find one.
Could not find a package configuration file provided by "ur_msgs" with any
of the following names:
ur_msgsConfig.cmake
ur_msgs-config.cmake

Add the installation prefix of "ur_msgs" to CMAKE_PREFIX_PATH or set
"ur_msgs_DIR" to a directory containing one of the above files.  If
"ur_msgs" provides a separate development package or SDK, be sure it has
been installed.

I think that ur_msgs package is released recently to foxy, so you need to call rosdep update to get the newest definitions. Or maybe the sync is still not out.

Indeed there has not been a sync since we released the message package.
That's why the repo is still in the Universal_Robots_ROS2_Driver-not-released.foxy.repos file.
When building the driver as explained in the README things should work as expected.
@robertokcanale Did you follow any other instruction that has been missing the step of importingnon-released upstream repositories? If yes, which one? If not, please try following the instructions ;-)

Since the driver ist released for Foxy by now I think this can be closed.