Error while trying to install scattertext in Google Colab via pip/pip3

Steps to Reproduce

Go to Google Colab
Run !pip install scattertext  or !pip3 install scattertext
Cell crashes with an error

---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
[<ipython-input-36-f649d071857d>](https://w1rfudd5i4-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230301-060143-RC00_513205775#) in <module>
----> 1 get_ipython().system('pip3 install scattertext')

2 frames
[/usr/local/lib/python3.8/dist-packages/google/colab/_system_commands.py](https://w1rfudd5i4-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230301-060143-RC00_513205775#) in _run_command(cmd, clear_streamed_output)
    161   locale_encoding = locale.getpreferredencoding()
    162   if locale_encoding != _ENCODING:
--> 163     raise NotImplementedError(
    164         'A UTF-8 locale is required. Got {}'.format(locale_encoding))
    165

NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968

Expected behavior
Valid installation of scattertext library.
Environment

Scattertext version: <IP_ADDRESS>.4
OS: Linux (Google Colab)
How you installed Scattertext: pip/pip3

It worked when I tried it on Colab. Could you try installing it on a fresh notebook and see if it works?

It works every other time, I don't know, maybe it's something on Google side.

Closing. Cannot replicate


fix: Added the section headers for IDP onboarding guide

Harness Developer Pull Request
Added the section headers for IDP onboarding guide
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

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

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


About STFT fucntion

HI! first, thanks for sharing this great code!
and I have question about STFT
you use own STFT funtion, and what is the difference between this function and librosa STFT fucntion?

The function tries to mimic librosa's STFT function.
For a more precisa answer, take a look at this repo https://github.com/pseeth/torch-stft


[Event Request] Codeunit 7324 "Whse.-Activity-Post" – New Event “OnCodeOnBeforeGetNextReference”

[Event Request] Codeunit 7324 "Whse.-Activity-Post" – New Event “OnCodeOnBeforeGetNextReference”
Could we please have an new publisher OnCodeOnBeforeGetNextReference with Handled Pattern?
It would be great if we could influence the next reference number ourselves.
local procedure "Code"()
var
    TransferOrderPostPrint: Codeunit "TransferOrder-Post + Print";
    ItemTrackingRequired: Boolean;
    Selection: Option " ",Shipment,Receipt;
    ForceDelete: Boolean;
begin
    OnBeforeCode(WhseActivLine, SuppressCommit);

//New Code Begin
IsHandled := false;
OnCodeOnBeforeGetNextReference(PostingReference,IsHandled);
If IsHandled = false then
//New Code End
PostingReference := WhseSetup.GetNextReference;
    with WhseActivHeader do begin
        WhseActivLine.SetRange("Activity Type", WhseActivLine."Activity Type");
        WhseActivLine.SetRange("No.", WhseActivLine."No.");
        WhseActivLine.SetFilter("Qty. to Handle", '<>0');

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Any ways to transfer mujoco (xml-based) robot to isaac(usd) via python / command line?

I am currently working with several MuJoCo-based XML files and am looking to streamline the process of importing these files into Isaac for simulation purposes. Instead of using the GUI plugin, I am interested in automating this process via scripts. Could you provide guidance or suggest a method to efficiently perform batch imports of MuJoCo’s XML-defined robots into Isaac?
Thank you for your assistance.

Also seeking this.


Rebrand

Description & motivation

Pre-release docs
Is this change related to an unreleased version of dbt?

[x] No: please ensure the base branch is current

Noticed some images with the .docImage_src-components-lightbox- container class. So I added that along with .docImage_2V3X for the max-width


cargo-chef: init at 0.1.50

Description of changes
Add cargo chef as rust package

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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/)
23.05 Release Notes (or backporting 22.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.

Please check CONTRIBUTING.md for our contributing guidelines

@figsoda Awesome review. Could check now. Thanks

fixup the Update commits

fixup the Update commits to the init commit

Done


Running app with live reload from a directory that is not a project hangs

If you run the ionic run -l command without being in an Ionic project, it will just wait. I suspect it is waiting for the livereload server to start, but doesn't have a timeout or check if there is a project.

I'm on it. Thanks for reporting.

@gnomeontherun This should be fixed in the latest version, 1.3.14. Thanks again for reporting.


Add V2 API wrapper classes and test fixtures

Adds wrapper classes to the V2 API and test fixtures. Some unit tests aren't implemented, because not every endpoint has a fixture yet.
Each HTTP response is wrapped into a
public class Response<T>
{
    public Meta Meta { get; set; }
    public T Data { get; set; }
}

where T is a model defined in ArkEcosystem.API.Two.Models.

Codecov Report

Merging #4 into master will decrease coverage by 7.28%.
The diff coverage is 90.62%.

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   96.01%   88.72%   -7.29%
==========================================
  Files          20       30      +10
  Lines         803      887      +84
==========================================
+ Hits          771      787      +16
- Misses         32      100      +68

Impacted Files
Coverage Δ

ArkEcosystem.Client/API/Api.cs
80% <ø> (ø)
:arrow_up:

ArkEcosystem.Client/API/Two/Models/Peers.cs
0% <0%> (ø)

ArkEcosystem.Client/API/Two/Models/Meta.cs
100% <100%> (ø)

ArkEcosystem.Client/API/Two/Two.cs
100% <100%> (ø)
:arrow_up:

ArkEcosystem.Client/API/Two/Models/Transactions.cs
100% <100%> (ø)

ArkEcosystem.Client/API/Two/Models/Delegates.cs
100% <100%> (ø)

ArkEcosystem.Client/API/Two/Delegates.cs
100% <100%> (ø)
:arrow_up:

ArkEcosystem.Client/API/Two/Models/Timestamp.cs
100% <100%> (ø)

ArkEcosystem.Client/API/Two/Response.cs
100% <100%> (ø)

ArkEcosystem.Client/API/Two/Models/Wallets.cs
100% <100%> (ø)

... and 19 more

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 0575b0b...3b0c2e7. Read the comment docs.


Update variable with value from WebSocket message: when variable = 0

Feedback:
"Generic Websocket Label": Update variable with value from WebSocket message
JSON Path (blank if not json) = tps
variable = tps
JSON Recieved = {"status":1003,"statusDescription":"TPS Usage","tps":0,"message":"0 ticks from {1}"}
Stored variable when tps is 0 = null / empty
Stored variable when anything other than 0 is stored correctly.
Seems to be an issue when phrasing JSON INT variables when equal to 0...
Syntax for this maybe mixing a boolean result?

I have tested it in 2.2.0 (and also current unmerged version on 3.0.0-beta) and tps is set to 0. Is it still a problem?

Yep, still facing the issue, tested in 2.4.2 (2.4.2+4911-v2-4.2-fcb5a863)
It seems to happen when the variable is not initialized yet (at companion startup, when disabling/enabling the module, on server connection lost, ...)
Here's an example log:
23.04.17 23:23:12 instance(websocket): Message received: {"variable":0}
23.04.17 23:23:12 instance(websocket): Connection opened
23.04.17 23:23:12 instance(80ktbMCuJ): Enable instance websocket

Then, when inspecting the variable, the value is blank.
When another message is received and the value is not 0, the variable is set correctly.
Then, if another message contains again the value 0, it finally works and the variable is set to 0.
Maybe somewhere it checks if the value is truthy before initializing the variable?

I think this is upstream behavior resulting from using != for comparison which is not type aware and treats 0, false and '' as same values (not updated).
https://github.com/bitfocus/companion/blob/cd0b68c621cd9bf0fecd0d74d8831cf164882a70/lib/variable.js#L533
@Julusian Do you know whether treating 0, false and '' variables as not updated is bug or feature?

I think that is a bug. That could be fixed in the beta branch

Fixed in Companion beta branch (3.0).


Provide assertType as part of a separate library

Currently, users need to define their own trivial assertType function.
As a follow-up of #6 and to simplify developer's life, consider to provide assertType as a separate package for convenience.
That way, users would also profit from possible future features.

package name: typelevel-assert
repo: https://github.com/danieldietrich/typelevel-assert
contents:export function assertType<_T = true>(): void {}

Done ✅


changing path to filepath to make it work on windows

Hello,
path.Base does not properly work on Windows so I changed it into filepath.Base. I think path.Base cannot recognize windows path as it has seperator " \ " instead of "/"

I will accept this and then test it. If things break I will need to put it back.

The tests passed so I guess we are good. Thanks!


_gentl.IoException: GenTL exception: Communication error when trying to execute SoftwareTrigger

Describe the Issue
When trying to acquire images, and executing a Software Trigger to do that, we observe the following error that there is a communication error. This is likely due to the parameter 'TriggerReady' constantly being set to 'False'. Following the documentation provided by KEYENCE, this parameter should be set to 'True' after triggering AcquisitionStart, but using debug commands it shows that it does not get set to 'True' afterwards.
To Reproduce
Steps to reproduce the behavior:

Execute the provided code in Python
See error

Sample Code
I can show a piece of code that demonstrates the reported phenomenon:

[X] Yes
[ ] No

If yes, please provide a sample code:
h = Harvester()

h.add_file(r'/opt/mvIMPACT_Acquire/lib/x86_64/mvGenTLProducer.cti', check_existence=True, check_validity=True)

h.update()

ia = h.create(0)

# ========== SETUP MODE ==========
ia.remote_device.node_map.OperationMode.value = 'SetupMode'
ia.remote_device.node_map.ImageCaptureBufferEnable.value = True
ia.remote_device.node_map.TriggerSource.value = 'Software'
ia.remote_device.node_map.TriggerMode.value = 'On'

# ========== RUN MODE ==========
ia.remote_device.node_map.OperationMode.value = 'RunMode'

ia.remote_device.node_map.AcquisitionMode.value = 'SingleFrame'
ia.remote_device.node_map.MultiCaptureUpdateImage.value = True
ia.remote_device.node_map.MultiCaptureImageType.value = 'StdNormalImage'

print('TriggerSource:', ia.remote_device.node_map.TriggerSource.value)
print('TriggerMode:', ia.remote_device.node_map.TriggerMode.value)
print('TriggerReady:', ia.remote_device.node_map.TriggerReady.value, '\n')

ia.remote_device.node_map.TriggerSoftware.execute()

ia.destroy()
h.reset()
exit(0)

If applicable, please paste the actual output (its whole traceback, etc) here:
>>> ia.remote_device.node_map.TriggerSoftware.execute()
Traceback (most recent call last):
  File "test.py", line 37, in <module>
    ia.remote_device.node_map.TriggerSoftware.execute()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/genicam/genapi.py", line 2796, in execute
    return _genapi.ICommand_execute(self, Verify)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/harvesters/_private/core/port.py", line 54, in write
    self.port.write(address, value)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/genicam/gentl.py", line 5016, in write
    return _gentl.Port_write(self, address, buffer)
_gentl.IoException: GenTL exception: Communication error, read or write to remote device failed. (Message from the source: Could not write data to 0xa214(4 bytes). Status: GEV_STATUS_ERROR.
) (ID: -1010)

Expected Behavior
I expect the trigger command to be executed without error so that in parallel filled image buffers can be retrieved.
Screenshots
Configuration

OS: Ubuntu 20.04.6 LTS
Python: 3.8.10
Harvester: 1.4.2
GenTL Producer: mvGenTL Acquire 2.50.1
Camera: KEYENCE CA-H048MXC with KEYENCE VJ-3000 processing unit

Reproducibility
This phenomenon can be stably reproduced:

[X] Yes
[ ] No.

If applicable, please provide your observation about the reproducibility.
Actions You Have Taken

[X] I've read the Harvester FAQ page.

Additional context
When trying to fetch a buffer filled with an image like in the tutorial, only a timeout is happening. So my understanding is, that for a buffer to be filled, first the image acquisition needs to be triggered (be it a hardware or a software trigger). In my use case I can only use a software trigger, which is the reason this error occurs.

Hi @danielm-code
Maybe there is a small adaption in your provided script required. Unfortunately I don't have the Camera which you are using. But usually the setup and run sequence looks like the following:
# snip...
camera = h.create(0)

camera.remote_device.node_map.TriggerSelector.value = 'FrameStart'
camera.remote_device.node_map.TriggerSource.value = 'Software'
camera.remote_device.node_map.TriggerMode.value = 'On'

camera.start()
camera.remote_device.node_map.TriggerSoftware.execute()
with camera.fetch(timeout=1000) as buffer:
    component = buffer.payload.components[0]
    print(f"Width: {component.width}")
    print(f"Height: {component.height}")
camera.stop()
# snip...

There are two main points:

The feature TriggerSource has an selector TriggerSelector according to the GenICam standard which has to be configured as well.
The acquisition engine on the device and on the computer must be started. This is done with camera.start(). It is possible that a software trigger is rejected when the device is not in the acquisition mode.

Please let me know, if this was useful.


The gtoplist signs don't display properly anymore

I'm not sure when these broke but they no longer display properly. Only this shows up on line 1:
"1.doitlike~:3"
Could you fix this and maybe consider adding a little more control over how these display? Would be nice to be able to edit each line and prevent the names from being truncated.

It is displayed as only one player joins a job and display the player on the sign.

https://github.com/Zrips/Jobs/commit/c3ccf30b6d393632c0d6c48b208a1bd3da7d2aba

How is this closed without a single response? Was this fixed?

This is not a bug. You can change the sign lines in your current set locale messages file. If you wants to change player names on the sign, simply break it and place it.

I understood. So it doesn't display the other players on sign. Check these options:

Break the sign and place it.
Make sure you are using the latest version of Jobs.
Make sure the players on the server exist and join at least one job to display on the sign.
Check that you are using the data cleanup feature found in the generalConfig file. (Optimizations.DBCleaning)

and please if you can send a screenshot of the error.


Opportunity/complication icons appearing when they shouldn't with advantage/disadvantage

When messing around with attack rolls with advantage and disadvantage, if you get the highest/lowest number on the discarded die the result will still display it as an opportunity or a complication.

Make an attack roll with advantage or disadvantage.
If the roll will keep highest, get the other die to roll a 1.

I would expect if the result is not a critical fail or success to not display an opportunity or complication.

Version
0.1.1

Consider waiting on #107 ?

This is fixed by the styling ticket since chat cards now properly show both dice in an advantage/disadvantage roll, so the complications/opportunities will appropriately be faded out if they belong to the dice that caused them.


fix(SEO): change hreflang on alt link if default language

Description
if on a page that is the default language (english in our case), change alt link hreflang to x-default. this might address issue reported recently where some pages at localized URLs with English content surface for en-us based searches.
BEFORE

AFTER

Closes
https://issues.newrelic.com/browse/NR-83012

Sean Van Guilder verified the change


Weight Sensors change at midnight to 'unknown'?

Hello,  great integration.  I have noticed that with my Garmin Fit Scale, that my weights come through, but at about midnight my local time, the values revert to "unknown".

Here's an example of weight, that shows the value in the history log, but seems the state changes from the value to 'unknown' at shortly before midnight local.  (It is currently almost 11:00 local, and the screen shot shows 11 hours ago last change).
This appears to affect the following sensors:
sensor.body_fat
sensor.bmi
sensor.body_water
sensor.bone_mass
sensor.muscle_mass
sensor.visceral_fat
sensor.weight
All of which have values, but then change to 'unknown'.  I looked over your code, and it looks like you are just taking stuff from Garmin and putting it into the sensor, but perhaps, it is possible to do a check on these weight values and if they come through as 'unknown' from Garmin, maybe drop it and don't pass it on to the sensor?
I'd be happy to provide additional debug or logs information if it would help to resolve this issue.   Thanks!

Anyone had already found a solution for this?  I have exact the same issue.

This is a longer known issue, got an aha moment, and suspect we need to use UTC datetime to calculate date, will test it.

As a side-note, weight isn't showing up for me at all anymore, always unknown. It did come in before until like 1-2 months ago? Unsure if anyone else is experiencing this.

This issue still comes up for me. Weight /scale data is lost after midnight. Any additional info I can give? I'm in timezone CET+1.

How can I enable the weight and the other sensors coming from the Garmin scale? thx

I've got the same issue

HI, I have the same issue. Is there a temporary work around or a version to test any fix ?

Hi guys, this issue of no data around midnight has been there from the beginning, I thoughted it maybe had something to do with timezone differences.. But didn't get it fixed yet. Will ask if author of Garth has same experience, I will keep you updated?

Anyone looking for a temporary mitigation could use the template sensor below.
template:
  - trigger:
      - platform: state
        entity_id: sensor.weight
        not_to:
          - unknown
          - unavailable
    sensor:
      - name: "Garmin - weight"
        icon: "mdi:weight-kilogram"
        device_class: weight
        unit_of_measurement: "kg"
        state_class: measurement
        state: >-
          {{ trigger.to_state.state | float(0) }}

Aside from my previous comment, for other sensors it could be nice to have a total_increasing sensor which you can than plot in a graph like is done in e.g. the HA energy dashboard. Still a bit annoying if you miss a day or not update before midnight as it will reset back to unknown/unavailable again until the next update.
  - trigger:
      - platform: state
        entity_id: sensor.total_kilocalories
        not_to:
          - unknown
          - unavailable
    sensor:
      - name: "Garmin - total calories"
        icon: "mdi:dumbbell"
        unit_of_measurement: "kcal"
        state_class: total_increasing
        state: >-
          {{ trigger.to_state.state | float(0) }}


Error while using numbers in vars

invalid top-level expression on line 451
scss string is $5pmtl_3d_c: 0px -128px 128px 128px 128px 2176px './test.svg' '5pmtl_3d_c';
Can i use numbers in scss vars?

Can't have variables that start with a number :).
lib-sass has pretty bad error logs. http://sassmeister.com/

OOokkkayyy(


IMAP Unread E-mail - Search charset for outlook.office365.com

Home Assistant release with the issue:

0.86.4
Last working Home Assistant release (if known):
Unknown
Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu 18.04 venv
Component/platform:

https://www.home-assistant.io/components/sensor.imap/
Description of problem:
I have been having problems while connecting to the outlook.office365.com imap server. With the config below i was getting an unread mail count of 8 allways, even when there were less ore more unread mails.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
  - platform: imap
    server: outlook.office365.com
    port: 993
    username<EMAIL_ADDRESS>    password: password

Traceback (if applicable):

Additional information:
Affter learning python and the imap protocol, and inspecting the source code for the component i found that it is linked to the charset. The library used for connection to imap servers sends utf-8 as default encoding for search commands. This (for some unknown reason does not work for outlook.office365.com) i was getting the response [BADCHARSET (US-ASCII)] The specified charset is not supported.  witch is split as 8 results. Setting it to None fixed the issue.
When manualy changing line 157 from
            _, lines = await self._connection.search('UnSeen UnDeleted')

to
            _, lines = await self._connection.search('UnSeen UnDeleted', charset=None)

the component works for microsoft email adresses.
Im not sure about making this a configurable value and how contributing to open source projects would work. So here is my issue.

I tried this but still get that same error though. It is the imap.py right?

Indeed its it imap.py.
I noticed some changes to the file in 0.88.x witch improved error handling.  For this specific error.
In the new files the line that i changed is 161 from
result, lines = await self._connection.search(self._search)

to
result, lines = await self._connection.search(self._search, charset=None)

hm, that is weird. I don't have these lines you mention.

For the ones looking for this, the file has been renamed in later versions of Home Assistant. You can now find it here:
~site-packages/homeassistant/components/imap/sensor.py


fix sha256 of updated aqua-installer

Thank you always!
This problem occurred by the following pull request.

https://github.com/aquaproj/aqua-registry/pull/17234

The job test / test-docker (pull_request) was skipped.
The list of dependent files is wrong.
https://github.com/aquaproj/aqua-registry/blob/b44a346ee0d11636bc6011b5ab9fd33492c717e7/.github/workflows/test.yaml#L36-L40
This caused by the following pull request.

https://github.com/aquaproj/aqua-registry/pull/17198

I forgot to fix the list of dependent files.
I'll fix this issue soon.

https://github.com/aquaproj/aqua-registry/pull/17241


{CI} Reduce deb package tests

Description

Only keep Focal for Ubuntu package test and Buster for Debian package test as they are the latest stable distros.
This change helps reduce CI failures caused by race conditions for writing the same configuration files with multiple parallel package tests and also reduce ADO resource usages.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

How much ADO resource usages we can reduce?

How much ADO resource usages we can reduce?

We can reduce the usage of 6 ADO agents for the package tests after a PR is merged.


Async process jobs

On run schedule.run_pending() and exist 50 jobs and each job leads 20m, generate dead lock!

Hi @avelino, I realize this response might come a little late but can you share some example code that causes the behaviour you described? Thanks.

@dbader https://github.com/avelino/mining/blob/master/mining/bin/scheduler.py#L86:L122
In this infinite loop when one or more process takes more than 20 minute generates a dead lock in the "schedule".


Need Math in the sandbox in order to have the reseed_rng plugin modify its functions

Need Math in the sandbox in order to have the reseed_rng plugin modify its functions.  Exposing global Math to the plugins may not be ideal, but for now this is the only way we can see a plugin having influence over the core server's use of Math.random().

Wonder if we need other modules in there too? Going to merge anyway.


[KYUUBI #5635] Provide TPCDSRunQueryContext to conveniently run tpcds queries

Why are the changes needed?

Provide TPCDSRunQueryContext to conveniently run tpcds queries.

runAllQueries(): run all queries
runQuery(query: String)/runQueries(queries: String*): run the specified query or queries

With the kyuubi scala execution mode, we can conveniently run tpcds queries:
set kyuubi.operation.language=scala;

import org.apache.kyuubi.spark.connector.tpcds.TPCDSRunQueryContext;
val queryContext = TPCDSRunQueryContext("tpcds.tiny");
val result = queryContext.runAllQueries();
// queryContext.runQueries("q1", "q2", "q3", "q4").show();

result.show(200);

How was this patch tested?

[X] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[X] Add screenshots for manual tests if appropriate

[X] Run test locally before make a pull request

Was this patch authored or co-authored using generative AI tooling?

No

Codecov Report

Merging #5635 (feeaaf4) into master (f23b6de) will increase coverage by 0.17%.
Report is 14 commits behind head on master.
The diff coverage is 91.02%.

:exclamation: Current head feeaaf4 differs from pull request most recent head 7e37ea1. Consider uploading reports for the commit 7e37ea1 to get more accurate results

@@             Coverage Diff              @@
##             master    #5635      +/-   ##
============================================
+ Coverage     61.36%   61.54%   +0.17%
  Complexity       23       23
============================================
  Files           603      604       +1
  Lines         35635    35791     +156
  Branches       4874     4878       +4
============================================
+ Hits          21867    22026     +159
+ Misses        11387    11377      -10
- Partials       2381     2388       +7

Files
Coverage Δ

...i/spark/connector/tpcds/TPCDSRunQueryContext.scala
91.02% <91.02%> (ø)

... and 17 files with indirect coverage changes
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@pan3793 @ulysses-you Could you please take a look?  I am not sure if this is a universal way.


place project under PSF?

This thread describes the route to settling on a TOML implementation for the Python ecosystem. This seems to be the most popular implementation, so ...

I'd like to second this question. @uiri are you potentially interested in moving this under github.com/psf/ ?


more a question than an issue

Hi and thanks for Capybara!
Because I'm testing a legacy project, I'm writing integration specs which check database value. So I know this is not the real purpose of Capybara.
Anyway, I wonder why this kind of situation happens:
#Case 1: Weird and unexpected
method_to_create_my_object
counter = MyObject.count           # => 0

#Case 2: Working but still not understood
method_to_create_my_object
visit root_path
counter = MyObject.count           # => 1

Should I deduce the controller's action hasn't ended in Case 1 so I have to query some other page to be sure it has been completed?
Thanks in advance
Benjamin

Please post this question to the mailing list.

ok done!
http://groups.google.com/group/ruby-capybara/browse_thread/thread/dbd33df92f9b37dd


various minor improvements

converted arrow functions so it will function in more browsers (IE)
added dragHandle logic
added iOS bounce scroll disabling logic
added logic to handle dragging items with a relative width

Awesome. Great improvements! thank you


Unknown field allCurrentEvents on type RootQueryType

Hello everyone,
i have created a graphcms endpoint and trying to fetch some data from there and show them in a demo website.
in my gatsby config i have the following setup:
module.exports = {
  siteMetadata: {
    title: 'Gatsby Default Starter',
  },
  plugins: [
  {
    resolve: `gatsby-source-graphcms`,
    options: {
      endpoint: `https://api.graphcms.com/simple/v1/MYENDPOINT`,
      token: `MYTOKEN`,
      query: `{
          allCurrentEvents {
          	tip
               awayteam
               hometeam
               date
          }
      }`,
    },
  }
],
}

from this setup i wanna fetch the tip,awayteam,hometeam & date and parse them to my site.
My problem is at index.js file where i have the below setup:
import React from 'react'
import PropTypes from 'prop-types'
import Helmet from 'react-helmet'

import Header from '../components/header'
import './index.css'

const Layout = ({ children, data }) => (
  <div>
    <Helmet
      title={data.site.siteMetadata.title}
      meta={[
        { name: 'description', content: 'Sample' },
        { name: 'keywords', content: 'sample, something' },
      ]}
    />
    <Header siteTitle={data.site.siteMetadata.title} />
    <Header siteTitle={data.site2.allCurrentEvents.tip} /> //trying to show my data here
    <div
      style={{
        margin: '0 auto',
        maxWidth: 960,
        padding: '0px 1.0875rem 1.45rem',
        paddingTop: 0,
      }}
    >
      {children()}
    </div>
  </div>
)

Layout.propTypes = {
  children: PropTypes.func,
}

export default Layout

export const query = graphql`
  query SiteTitleQuery {
    site {
      siteMetadata {
        title
      }
    }
  }
`
export const query2 = graphql`   //problematic query
  query SiteTitleQuery2 {
            allCurrentEvents{
              tip
            }
        }
`

i am getting the following error
GraphQL Error Unknown field allCurrentEventson typeRootQueryType``
any ideas?
best,
a.

Hey @akalogiros, the problem you are running into is likely due to the fact that Gatsby takes the data it gets from your main config query and puts it in it's own data layer.
Because of this, the query you have to use in your app's code differs from what you would normally use when querying GraphCMS endpoint directly.
You can access localhost:xxxx/___graphql to see what gatsby did with the data from your endpoint and how to query for it.

Hello @hmeissner,
thanks a lot for your input.
I tried to do this over localhost:xxxx/___graphql but problem persist.
on the contrary when i am bulding my site with gatsby develop i can see in the command line that my data are correctly retrieved

the error according localhost:xxxx/___graphql is at line allCurrentEvents & aAllPastEvents and its says Cannot query field allCurrentEvents on type rootQueryType

Yes this is all perfectly normal. You can see that Gatsby's graphiql is highlighting your queries as non-existent in the created API. You have to open up the docs on the right hand side in graphiql and look at how your data has been added to Gatsby. Then construct your queries according to that generated shape.

Closing this as that does not seem to be in issue with the plugin itself. Will reopen this if it turns out otherwise. If you have any more problems with this @akalogiros please PM me on our community Slack.


The Cursor not center in vertical direction when the text in the TextField is empty.

https://user-images.githubusercontent.com/12570868/180026801-62023b6e-4730-436f-b5aa-afbc67f920d9.mp4
Steps to Reproduce

input some char in the textfield, observe the cursor position
delete all the chars in the textfield , observe the cursor position;

you will find the cursor not center in vertical direction when the text in the textfield is empty.
Expected results:
the cursor can center in the vertical direction at any case;
Actual results:
the cursor not center in vertical direction when the text in the textfield is empty.

Code sample

import 'package:flutter/material.dart';

class DemoPage extends StatefulWidget {
  const DemoPage({Key? key}) : super(key: key);

  @override
  State<DemoPage> createState() => _DemoPageState();
}

class _DemoPageState extends State<DemoPage> {

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomInset: false,
      appBar: AppBar(
        title: const Text("Demo Page"),
      ),
      body: Padding(
        padding: const EdgeInsets.all(20),
        child: Center(
          child: Column(
            children: const [
              TextField(
                cursorHeight: 30,
                style: TextStyle(
                  fontSize: 17,
                  height: 22.0 / 17,
                  textBaseline: TextBaseline.alphabetic
                ),
                decoration: InputDecoration(
                  border: OutlineInputBorder()
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

flutter doctor :
Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f1875d570e (7 天前) • 2022-07-13 11:24:16 -0700
Engine • revision e85ea0e79c
Tools • Dart 2.17.6 • DevTools 2.12.2

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
[✓] VS Code (version 1.69.0)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

Hi @jiangkang,
There is a similar issue describing this case https://github.com/flutter/flutter/issues/92080, Please follow up there for further updates, Closing this issue as a duplicate. If you disagree feel free to write in the comments and we will reopen it.
Originally filed here https://github.com/flutter/flutter/issues/61715 (closed)
Thank you.


Compatible Schema Updates

I have been working on generics for my biparsing package and have been trying to think of a way to ensure compatible updates (adding a field, constructor, ect. to a type) to a schema so that breaking changes cannot be introduced. Have you thought of this?

Schema versioning is a pretty wide topic. e.g. JSON can read fields in any order and add new optional fields while retaining backwards compatibility. That's harder in a binary schema, but projects such as Cap'N Proto and BSON have well-tested approaches that may be of interest. fumieval's winery Haskell library may also be interesting.
Consider exploiting the fact that constructors and named fields must have unique names in a given Haskell data type. Indeed, Binrep.Generic.nullTermCstrPfxTag tells the generics to use the constructor name in UTF-8 as a prefix. But we can't do the same for fields (i.e. prefixing with the field name), because direct left-right field sequencing is an important design feature.
By the way, interesting library! I've settled on very "light" biparsing for my uses, where parsing and serializing definitions remain separate (even though they should have round trip isomorphism). It means the programmer must remain vigilant when writing instances, but we have a much better time with performance and code simplicity (I'm not envious of your type signatures!).
Closing as not planned (but feel free to continue discussion here or on your repo).

Thanks, I have been trying to improve the type signature complexity with biparsing-mixes which handles the common cases. I have created a few examples using these
https://github.com/BebeSparkelSparkel/biparsing/tree/examples/examples
examples/ProductAndSum.hs is the easiest  to understand.


Use GITHUB_TOKEN by default

Thanks for putting together this action!
I recently set up just and am now running it in a pipeline with a matrix of 3 different Python versions on 3 different OSes, resulting in 9 parallel jobs. See this run for context. It failed on its first try using just and setup-just!
In the README, it says:
https://github.com/extractions/setup-just/blob/95b912dc5d3ed106a72907f2f9b91e76d60bdb76/README.md#L27-L29
I'd argue my use case is not that rare. After all, unauthenticated API access is limited to just 60 requests per hour. It seems this action exhausts these quickly, which is fair and can happen.
One suggestion: some actions use the GITHUB_TOKEN by default, e.g. release-please. Would it be possible to implement this behaviour? It would save users from having to specify the environment variable manually, and would eradicate nasty surprises like the one above almost entirely (5000 requests per hour limit).

Happy to submit a PR for this, @rossmacarthur. I've seen this error on almost every actions run now, so I'd argue it's not particularly rare.

@simse Happy to accept a PR for this.

PR fixing this is merged in. Time to close this issue :D

Fixed in #11


service.yaml file : remove uuid(s) from client of NewRelease instance

In service.yaml file, the uuids alt-2-1-0-op-c-im-nr-2-1-0-001 and alt-2-1-0-op-c-im-nr-2-1-0-002 could be removed from operation-client list of NewRelease instance. Because, they are no longer used for transferring data from OldRelease to NewRelease.

Corrected as proposed.


Index was out of range error

Getting this error repeatedly on Playnite 7.7 portable version. Tried re-installing the extension multiple times.

@Lacro59  Thanks for the quick fix, loving your application.

@aarish-codev Thanks :)


Add instructions for creating CoreOS servers on RimuHosting's LaunchtimeVPS service

Instructions cover ssh key creation, cloud config conventions support, installation via web interface and via command line tools.

@pbkwee Sorry this took me so long to review. I have a few comments inline, and we appreciate the contribution!


Xenko 3.1 Cannot resolve paths with spaces.

Release Type: Official Release/GitHub (please choose appropriate option)
Official Release - Beta
Version: Version number and/or git branch
<IP_ADDRESS>-beta01-0441
Platform(s): Does the problem occur on Windows, Android...?
Windows 10
Describe the bug
A clear and concise description of what the bug is.
When creating a new project xenko cannot find files it needs, i believe this is caused because there is a space in my windows user.
To Reproduce
Steps to reproduce the behavior:

Create a windows account with a space
Try to create a project under 3.1 build.

Expected behavior
A clear and concise description of what you expected to happen.
Xenko should be able to resolve paths with spaces.
Screenshots
If applicable, add screenshots to help explain your problem (use GitHub drag & drop)

sounds like this was already fixed in latest master, just not yet published as new beta: https://github.com/xenko3d/xenko/pull/381

Ah i missed this pull request that would probably fix it.

let's hope for a new beta soon then.

@tebjan I don't think #381 will do anything for that issue.
And in general having spaces in username is bad and I expect other software to break as well. Looking on the Internet (in your favourite search engine) with a search query such as "Windows username space" brings a lot of results with various software, program or tools failing.

@Kryptos-FR I'm not even gonna begin to start at how ignorant that post is, if #381 doesn't fix it then it needs to be resolved still.

@failmelon I'm not even gonna begin to start how disrespectful your post was. #381 was fixing a different issue, regarding building the sources.

@FailMelon Thanks for the report.
This specific issue you had is an issue in the T4 template generator lib we use.
I have pushed a fix for it already: 4372725f93
Please wait for the next beta release.


LayerFcmService with Ordered broadcast

I came across this article(Activity or Notification via Ordered Broadcastl) to prevent notifications from being triggered on certain activities. It would be nice to implement this in the LayerFcmService instead of un-ordered broadcast.

Hello @rohitramkumar308
Thanks for sharing this with us. We will work on this.


Create sig_qualityofservice.md

Rucio QOS writeup

This was not discussed with the respective management at BNL.

Please discuss this then; Some mandate needs to be written nevertheless

Please discuss this then;

This is a commitment (goals, effort, potential impact on resources, ..) which needs clarification

I understand that any future commitment needs to be clarified. Please do so.
I ask these mandates for all existing (and future) SIGs to clarify the structure and goals. This SIG has been running since July 2021, so the mandate should mostly reflect what have been the goals (so far), but also when it ends and what are the objectives, by then. I understand that the part of commitment for the remaining time of the SIG needs to be clarified within BNL, this is fine, but the description should still be there reflecting the past ~2years of existence of this SIG.

@bari12 From a institute perspective, the role of the convener is newly established with specific responsibilities and expected outcomes.

I don't think Doug meant to book Matt in for any extra work, this is just based on the significant work Matt put into this over the last years. Obviously, please take the time to discuss this internally, the PR will stay open until everyone is happy.

Hello,
It was agreed in a US ATLAS budget scrubbing meeting, that this activity would wind down during this US fiscal year, hence the end date of September 30,2023. Since apparently it is controversial to have Matt be recognized for the work that he has done to date, I will change the convener to be me and end the controversy.
Regards,
Doug
From: Vincent Garonne @.>
Date: Monday, June 26, 2023 at 4:05 AM
To: rucio/documentation @.>
Cc: Doug Benjamin @.>, Author @.>
Subject: Re: [rucio/documentation] Create sig_qualityofservice.md (PR #232)
@bari12https://github.com/bari12 From a institute perspective, the role of the convener is newly established with specific responsibilities and expected outcomes.
—
Reply to this email directly, view it on GitHubhttps://github.com/rucio/documentation/pull/232#issuecomment-1607031061, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABA5LK6GBY3QKJGVBFLMSCLXNFGFTANCNFSM6AAAAAAZTMTXGU.
You are receiving this because you authored the thread.Message ID: @.***>

As site, we are unable to observe the expiration of pins since they are cleared by the File Transfer Service (FTS) after a successful transfer. This behavior applies to both(SRM) and the TAPE REST API. The effective lifespan of pins is determined by the duration of the FTS job. We have recently requested the FTS to set a default lifespan of one week to prevent files from being removed before they are transferred to their intended destination.


support multiple health check at same time

Is your feature request related to a problem? Please describe.
The http health check and the TTL health check can't work at same time,  if set spring.cloud.consul.discovery.heartbeat.enabled=true, then the http health check will be ignored. Could you tell me why not support this feature and if it will be support in future?
The code is ConsulAutoRegistration#createCheck  and ConsulServiceRegistry#register

+1


An exception was thrown: read: End of file

Hey there,
So I seem to have an issue with a recently purchased HLS-LFCD2. This is NOT a Robotis branded model, but one direct from HL. I modified the cpp to use AMA0 instead of USB0 because I am using an RPI to communicate with it, instead of an RPI to USB2LDS and then the sensor. Anytime I run the program, it gives me a An exception was thrown: read: End of file Error, and I don't know what to do... I tried using another program, and it accepts commands and I receive data, but it can only return it as ascii, which just gives a bunch of random characters. Is there any idea to why I am getting this error? Thanks!

To all the people having this issue:
After some digging, this came up. After using that command, and some sudo love it worked! I hope this helps others!


padding mask and attention mask

Hi there,
You've done a great job and thanks for the sharing. I'm wondering how you deal with the padding stuff in Linformer since the attention shape, key and value shape have now changed to (n, k) instead of (n, n). I didn't find these in the code. Thanks for your time!

Hi @ZEKAICHEN,
I'm not sure I completely understand the question, so I will break it up into two parts, hopefully one of them will answer your question:
If you are looking for a way to pad your inputs, check out my Padder class, which can be found here. Unfortunately, I have not have time to test it on the LinfromerLM module, and I will be doing that in the upcoming days, hopefully.
 Look for it in a coming update.
If this is not what you wanted answered, let me know! I'll try and help as much as I can

Hi @tatp22 ,
Thanks for the feedback. I was exactly talking about the masking. Thanks for letting me know.

Hi @ZEKAICHEN,
Actually, what you said is kinda a dilemma, since I actually cannot mask it in the traditional sense. Therefore, my idea was to just mask the Q, K, and V matrices directly, similar to what is done here. I think this is the best way to do it, and I will mask it like this; let me know if you think this is good, and if not, I am open up for ideas.
In theory, I think it should work the same (I can come up with a quick proof or something, maybe), and this is the only logical way that I see that we can pad the inputs. I'll leave this issue open until I make the pull request.

I added more information in the PR. If it looks good, let me know :+1:, otherwise I will just merge it, since it really doesn't affect the rest of the code too much

I agree with masking projection matrices directly and thanks for the updates. But there could be some other solutions maybe? I'm also working on this but based on fairseq. Thanks again.

Not sure what else to think of :shrug: This is the best solution I could come up with; I even emailed the authors of the paper about this, but no response, unfortunately...
If no one says anything else, I will merge this soon.

Merging

Actually, sorry to keep on closing and opening this up again, but another possibility to mask would be to mask in the traditional sense, but instead of the entire (n,n) masking matrix, we can just make an (n,k) masking matrix, and then make it upper triangular as well, but just have the second dimension be cut off. This can work as well, let me know what you think.

Hey, I added another upper triangular padding mask option for causal sequences, let me know what you think. It's up on the latest commit, and if the dims are (n,k), it simply cuts off the right part of the matrix.
I'll close this issue now, since I added both options and now users can use whichever one they want.

Hey, I added another upper triangular padding mask option for causal sequences, let me know what you think. It's up on the latest commit, and if the dims are (n,k), it simply cuts off the right part of the matrix.
I'll close this issue now, since I added both options and now users can use whichever one they want.

Thanks for the updates. Wonderful solution.


Cannot get sqlsrv installed on SLES

Hi,
I try to install sqlsrv and pdo_sqlsrv on a Suse Linux Enterprise server to access SQL Server with PHP.
After installing all required packages I run:
sudo pecl install sqlsrv
This is the output:
downloading sqlsrv-4.0.8.tar ...
Starting to download sqlsrv-4.0.8.tar (1,034,240 bytes)
..............done: 1,034,240 bytes
33 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
building in /tmp/pear/temp/pear-build-root8kM4T6/sqlsrv-4.0.8
running: /tmp/pear/temp/sqlsrv/configure --with-php-config=/usr/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes...  BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /tmp/pear/temp/pear-build-root8kM4T6/sqlsrv-4.0.8/libtool --mode=compile g++ -std=c++11 -I. -I/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root8kM4T6/sqlsrv-4.0.8/include -I/tmp/pear/temp/pear-build-root8kM4T6/sqlsrv-4.0.8/main -I/tmp/pear/temp/sqlsrv -I/usr/include/php7 -I/usr/include/php7/main -I/usr/include/php7/TSRM -I/usr/include/php7/Zend -I/usr/include/php7/ext -I/usr/include/php7/ext/date/lib -I/tmp/pear/temp/sqlsrv/shared/  -DHAVE_CONFIG_H  -std=c++11   -c /tmp/pear/temp/sqlsrv/conn.cpp -o conn.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with --tag' Makefile:194: recipe for target 'conn.lo' failed make: *** [conn.lo] Error 1 ERROR: make' failed
The error occurs no matter which sqlsrv version I try to install (I tried 4.0.8 and all following preview and RC1).
Thank you,
Hilmar

Hi @hbunjes
Suse is not a supported platform, however you could try to compile and install this yourself. I could give you some general guidance to help get you started but we can not provide any support for that as we have not done any testing on that platform. We currently only build and test binaries for Ubuntu 15, Ubuntu 16, RHEL7, Debian8 so these are the only platforms that we support. Please note that none of the instructions below has been tested on other Linux distributions.
To use PHP you would need to install the ODBC Driver for SQL Server as that is a dependency for PHP.  ODBC supports Suse you can reference the official ODBC install instructions here . That should install the ODBC and UnixODBC packages for you. Please make sure that's all working the setup is correct and you are able to connect with the ODBC driver before attempting to install the PHP driver.
Then you can try to install our PHP driver package using PECL: sudo pecl install sqlsrv-4.2.0preview for the latest version.
wget https://github.com/Microsoft/msphpsql/archive/dev.tar.gz
tar -xf dev.tar.gz
cd msphpsql-dev/source/sqlsrv
cp -r ../shared/ .
phpize
./configure
make

Alternatively you could also try to compile our driver with the PHP source:
wget https://github.com/Microsoft/msphpsql/archive/dev.tar.gz
tar -xf dev.tar.gz
wget http://ca1.php.net/get/php-7.0.20.tar.gz/from/this/mirror -O php-7.0.20.tar.gz
tar -xf php-7.0.20.tar.gz
cp -r msphpsql-dev/source/sqlsrv/ php-7.0.20/ext/
cp -r msphpsql-dev/source/shared/ php-7.0.20/ext/sqlsrv/
cd php-7.0.20/
./buildconf --force
./configure --enable-sqlsrv=shared  --with-odbcver=0x0380
make

Hopefully that can get you started. Good luck!

Thank you @lilgreenbird
I could get the files compiled when I add the "--tag=CXX" option before g++:
.../libtool --mode=compile --tag=CXX g++ -std=c++11 ...
For any reason I don't know libtool wasn't able top recognize that I want to compile C++ files...
However, linking did not work at the next stage:
/bin/sh /root/sqlsrv_php/msphpsql-dev/source/sqlsrv/libtool --mode=link cc -DPHP_ATOM_INC -I/root/sqlsrv_php/msphpsql-dev/source/sqlsrv/include -I/root/sqlsrv_php/msphpsql-dev/source/sqlsrv/main -I/root/sqlsrv_php/msphpsql-dev/source/sqlsrv -I/usr/include/php7 -I/usr/include/php7/main -I/usr/include/php7/TSRM -I/usr/include/php7/Zend -I/usr/include/php7/ext -I/usr/include/php7/ext/date/lib -I/root/sqlsrv_php/msphpsql-dev/source/sqlsrv/shared  -DHAVE_CONFIG_H  -g -O2   -o sqlsrv.la -export-dynamic -avoid-version -prefer-pic -module -rpath /root/sqlsrv_php/msphpsql-dev/source/sqlsrv/modules  conn.lo util.lo init.lo stmt.lo shared/core_conn.lo shared/core_results.lo shared/core_stream.lo shared/core_init.lo shared/core_stmt.lo shared/core_util.lo shared/FormattedPrint.lo shared/localizationimpl.lo shared/StringFunctions.lo -lstdc++ -lodbc -lodbcinst
libtool: link: cc -shared  -fPIC -DPIC  .libs/conn.o .libs/util.o .libs/init.o .libs/stmt.o shared/.libs/core_conn.o shared/.libs/core_results.o shared/.libs/core_stream.o shared/.libs/core_init.o shared/.libs/core_stmt.o shared/.libs/core_util.o shared/.libs/FormattedPrint.o shared/.libs/localizationimpl.o shared/.libs/StringFunctions.o   -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -lstdc++ /usr/lib64/libodbc.so -L/usr/lib64 /usr/lib64/libodbcinst.so /usr/lib64/libltdl.so -ldl -lpthread  -O2   -pthread -Wl,-soname -Wl,sqlsrv.so -o .libs/sqlsrv.so
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: .libs/conn.o: relocation R_X86_64_32 against `_ZN2ss11SSExceptionD1Ev' can not be used when making a shared object; recompile with -fPIC
.libs/conn.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:223: recipe for target 'sqlsrv.la' failed
make: *** [sqlsrv.la] Error 1
I'm going to stop try using SQL Server in this project and will fall back to sqlite or the MariaDB cluster.
Thank you for your help! Maybe you could see this as a feature request as there are (at least in Germany and parts of the USA) quite a lot of SLES installations in companies also using SQL Server.
Best,
Hilmar

hi @hbunjes, I'm sorry I'm not able to provide you with much assistance on this as we haven't tried this here since it's currently not 1 of our supported platforms. ODBC driver does support SLES however and so I'm sure this is 1 of the things being considered in our product roadmap. For now I have added a feature request label to this issue. Thank you.

@hbunjes Apologies that you are having trouble with SLES. Have you installed the unixODBC-devel package? We can definitely add support for SLES officially. What timeline are you aiming for?

@hbunjes One more question, what version of SLES are you using?

@hbunjes I could reproduce the issue, the problem is coming from libltdl library, if you install libtool you can get the sqlsrv compiled.
1- Install ODBC and unixODBC, make sure you have installed unixODBC-devel, it installs the required header files for sqlsrv drivers
sudo su
zypper ar https://packages.microsoft.com/config/sles/12/prod.repo
exit
sudo ACCEPT_EULA=Y zypper install msodbcsql
# optional: for bcp and sqlcmd
sudo ACCEPT_EULA=Y zypper install mssql-tools
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
source ~/.bashrc
sudo zypper install unixODBC-devel

2- Install required lib and dependencies.
zypper in libtool
zypper in autoconf
zypper in libxml2-2 or libxml2
zypper in gcc
zypper in gcc-c++
3- Install PHP 7, you can either install it from package or download the php source and install it as below:
cd ~/Downloads/
tar -xzvf ./php-7.1.6.tar.gz
cd php-7.1.6/
./buildconf --force
./configure
make
sudo make install

4- Intall sqlsrv drivers

get the source from Github

wget https://github.com/Microsoft/msphpsql/archive/dev.tar.gz
tar -xf dev.tar.gz
cd msphpsql-dev/source/sqlsrv
cp -r ../shared/ .
phpize
./configure
make
sudo make install

you should get a message similar to
Installing shared extensions:     /usr/local/lib64/extensions/no-debug-non-zts-20160303/

or install the drivers using pecl package, you need to install php-pear if you choose this option

sudo pecl install sudo pecl install sqlsrv-4.3.0RC1

@all we will also add official support for SLES in the next 1-2 preview releases

Closing this as we have added support for SUSE 12 as of 5.1.0-preview. You might want to test 5.2.0-RC however. Please feel free to re-open this should you have any problem, @hbunjes. Thanks!

downloading sqlsrv-5.8.1.tgz ...
Starting to download sqlsrv-5.8.1.tgz (186,879 bytes)
........................................done: 186,879 bytes
downloading pdo_sqlsrv-5.8.1.tgz ...
Starting to download pdo_sqlsrv-5.8.1.tgz (181,286 bytes)
...done: 181,286 bytes
34 source files, building
running: phpize
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
building in /private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1
running: /private/var/tmp/pear/temp/sqlsrv/configure --with-php-config=/usr/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin19.6.0
checking host system type... x86_64-apple-darwin19.6.0
checking target system type... x86_64-apple-darwin19.6.0
checking for PHP prefix... /usr
checking for PHP includes...  /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.6.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/libtool --mode=compile g++ -std=c++11 -I. -I/private/var/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/include -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/main -I/private/var/tmp/pear/temp/sqlsrv -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/private/var/tmp/pear/temp/sqlsrv/shared/  -DHAVE_CONFIG_H  -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector   -c /private/var/tmp/pear/temp/sqlsrv/conn.cpp -o conn.lo
mkdir .libs
g++ -std=c++11 -I. -I/private/var/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/include -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/main -I/private/var/tmp/pear/temp/sqlsrv -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/private/var/tmp/pear/temp/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /private/var/tmp/pear/temp/sqlsrv/conn.cpp  -fno-common -DPIC -o .libs/conn.o
In file included from /private/var/tmp/pear/temp/sqlsrv/conn.cpp:21:
/private/var/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:10: fatal error: 'php.h' file not found
#include "php.h"
^~~~~~~
1 error generated.
make: *** [conn.lo] Error 1
ERROR: `make' failed
I am following setup
OS: MacOS Catalina 10.15.7
Framework: Xampp with<EMAIL_ADDRESS>& apache 2.4.46
Any help on above

downloading sqlsrv-5.8.1.tgz ...
Starting to download sqlsrv-5.8.1.tgz (186,879 bytes)
........................................done: 186,879 bytes
downloading pdo_sqlsrv-5.8.1.tgz ...
Starting to download pdo_sqlsrv-5.8.1.tgz (181,286 bytes)
...done: 181,286 bytes
34 source files, building
running: phpize
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
building in /private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1
running: /private/var/tmp/pear/temp/sqlsrv/configure --with-php-config=/usr/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin19.6.0
checking host system type... x86_64-apple-darwin19.6.0
checking target system type... x86_64-apple-darwin19.6.0
checking for PHP prefix... /usr
checking for PHP includes...  /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.6.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/libtool --mode=compile g++ -std=c++11 -I. -I/private/var/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/include -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/main -I/private/var/tmp/pear/temp/sqlsrv -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/private/var/tmp/pear/temp/sqlsrv/shared/  -DHAVE_CONFIG_H  -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector   -c /private/var/tmp/pear/temp/sqlsrv/conn.cpp -o conn.lo
mkdir .libs
g++ -std=c++11 -I. -I/private/var/tmp/pear/temp/sqlsrv -DPHP_ATOM_INC -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/include -I/private/var/tmp/pear/temp/pear-build-rooteMj21b/sqlsrv-5.8.1/main -I/private/var/tmp/pear/temp/sqlsrv -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/private/var/tmp/pear/temp/sqlsrv/shared/ -DHAVE_CONFIG_H -std=c++11 -D_FORTIFY_SOURCE=2 -O2 -fstack-protector -c /private/var/tmp/pear/temp/sqlsrv/conn.cpp  -fno-common -DPIC -o .libs/conn.o
In file included from /private/var/tmp/pear/temp/sqlsrv/conn.cpp:21:
/private/var/tmp/pear/temp/sqlsrv/php_sqlsrv.h:25:10: fatal error: 'php.h' file not found
#include "php.h"
^~~~~~~
1 error generated.
make: *** [conn.lo] Error 1
ERROR: `make' failed
I am following setup
OS: MacOS Catalina 10.15.7
Framework: Xampp with<EMAIL_ADDRESS>& apache 2.4.46
Any help on above

Hi @dhirajranka I think you put your question under a totally different issue. For help with installing sqlsrv driver in Linux or macOS, please check the documentation Linux and macOS installation
If this does not help, please create a new issue.

Hi @dhirajranka I think you put your question under a totally different issue. For help with installing sqlsrv driver in Linux or macOS, please check the documentation Linux and macOS installation
If this does not help, please create a new issue.


Fix extra newline in group about

Following up on #590, this should remove an extra newline that was being inserted before the group about section.
Changes proposed in this pull request:

make group about display the same as the user about section

/cc @hummingbird-me/staff

@vevix I'm pretty sure this extra space is from the template:

Interesting, I don't see that in Firefox or Chrome.

FF Nightly 61:

Edge 41:

I don't have Chrome installed atm.

Hmm interesting, if that's the case then we may be able to use Handlebars ~ helper
<p>
  {{~#if group.about}}
    {{group.about}}
  {{else}}
    // ....
  {{/if}}
</p>


Add props to FlatList

I think there is nothing in it what could trigger a runtime error (as we had once previously). So this should be fine.

if I have a prop and it has no effect it's also a runtime error, for the user.

These props all come from either VirtualizedList or ScrollView, which makes me think if FlatList should be functor based, but either way I'm pretty sure these props have been there for a pretty long time, just not documented under the FlatList section.

It's good to merge if they were in RN ^0.46.0

Awesome I'll check and merge if that's the case 👍

Verified that this was all in React-Native 0.45.x 👍 merging this.
I don't have permission to publish new versions, this is not urgent on our end though, we've now vendored this into our project for simpler contributions and support for ourselves.

@arnarthor I made you an admin here and make you an owner at npm. So all the power is now also in your hand 💪


[bugFix][Connector-V2][Kafka & Canal] The settings for database.include and table.include are not taking effect. (#6870)

Purpose of this pull request
This pull request is intended to fix a bug in the Connector-V2 Kafka and Canal modules where data cannot be precisely filtered based on database and table names, meaning the issue of being unable to use database.include and table.include. The specific issue description is written in #6870.
Does this PR introduce any user-facing change?
NO
How was this patch tested?
Package the connector-kafka-2.3.5-2.12.15.jar and place it in the test environment to complete the Kafka data reading test.
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[x] Update the release-note.

 You can create a branch not named dev, then push any commit which you want to be merged. Finally create a PR with these branch not dev.


Invalid links in Discord Readme

Description
In the Readme channel are invalid links to other channels.
Working Environment
Discord
Screenshots

[Optional] Additional Context
Channels marked with #invalid-channel

I already wanted to make an issue on this but it is better like this, I think the issue here is due to the change of the name of the community which led to the change of the existed links leading to the community.

I would make a pull request on than now

Removing the existed link in the Gitub community and
Adding the new link created for the community

I fee this is what all this is about

I already wanted to make an issue on this but it is better like this, I think the issue here is due to the change of the name of the community which led to the change of the existed links leading to the community.

That's a good point!
But I think the channel links are only invalid cause @eddiejaoude chnaged the channel structure (added some new deleted old ones) and forgot to modify the Readme.
We could make this within the eddiebot. Checking for new and deleted channels and update the Readme in discord. Don't know it the discord API is capable of this but I'm optimistic.

For the #readme channel in Discord, I copy and paste it manually from here https://github.com/EddieHubCommunity/support/blob/main/discord-readme.md
When this markdown file is updated, I can update it on Discord - not sure we need to automate it because it does not often change

When this markdown file is updated, I can update it on Discord - not sure we need to automate it because it does not often change

@eddiejaoude markdown is updated 🚀

Awesome thanks everyone 👍  I will update the #readme channel


Unexpected token

Hi ✋🏻,
I've got this error compile and I don't understand what is the problem with line 24.
main.js (line 24)
app.use(express.static(path.join(__dirname, "public")));

I tried with this version (still doesn't worked)
app.use(express.static("public"));

Thanks 👍🏻

Hi !
Sadly NectarJS does not support express for now

Hi !
Thank you for the info 😄


[Backend/Frontend]: pagination request

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently, front-end paging is used. When there is a lot of data, the loading page will crash.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Expect to change to back-end interface paging to speed up page loading.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

#64 have been closed because of duplicacy, follow #65


Staging next

https://hydra.nixos.org/job/nixpkgs/staging-next/unstable#tabs-constituents  (soon)

Should be the final staging-next for ZHF
Major areas of focus: llvm packages, aarch64-darwin support.
Previous Staging-next: #122068

Opened https://github.com/NixOS/nixpkgs/pull/123297 to fix the libgcc issue on linux.

This seems to be the same error was the one I fixed previously: https://hydra.nixos.org/build/143059644
Maybe we are up for more of these? We might want to consider reverting / rewriting 77e97ac4cac8af9578fa328c5cac5eaa4597da56 instead?

This seems to be the same error was the one I fixed previously: https://hydra.nixos.org/build/143059644
Maybe we are up for more of these? We might want to consider reverting / rewriting 77e97ac instead?

I would probably just pass the version as a passthru. passthru = { major = ...; majorMinor = ...; }. I think the use of pname and version is the more correct route, so I would prefer not to revert those changes.

actually, it probably worked originally because version was being passed on passthru, and thus down stream packages were getting the version without the patch suffix.

This seems to be the same error was the one I fixed previously: https://hydra.nixos.org/build/143059644
Maybe we are up for more of these? We might want to consider reverting / rewriting 77e97ac instead?

I would probably just pass the version as a passthru. passthru = { major = ...; majorMinor = ...; }. I think the use of pname and version is the more correct route, so I would prefer not to revert those changes.

Sounds good. Do you want to open a PR for that?

#123706 fixes python3Packages.cryptography on darwin (or at least aarch64-darwin, since x86_64-darwin has broken deps).

#123626 fixes libidn2 for darwin.

Some more PRs for aarch64-darwin:

#123726 gtk2 blocks 115 packages
#123729 gsl blocks 38 packages
#123728 python3Packages.dbus-python blocks 37 packages

Build failures:

poppler on darwin https://hydra.nixos.org/build/143419153 @jtojnar
rustc 1.45 for firefox on linux https://hydra.nixos.org/build/143387622 @madjar @cstrahan @globin @havvy

And the rustc builds has
No space left on device

Unfortunately the wendy machine is now doing that occasionally, e.g. both webkit flavors on master recently.

at a glance:

[ ] firefox: its attempts to override llvm's bintools don't work anymore (can't find llvm-ar)
[ ] php: broken tests, most likely after libxml2 update

firefox: its attempts to override llvm's bintools don't work anymore (can't find llvm-ar)

Should be fixed by #123886.
Note that there could be similar regression for virtually everything that uses clang and LTO in nixpkgs, but I guess it is not that many derivations?

For libxml2, maybe #123890

For libxml2, maybe #123890

Having some difficulty verifying if that fixes phpExtensions.dom. On Darwin, it is a stdenv rebuild. On Linux, I have to go through gnutls which fails for some reason. 😕

On Linux, I have to go through gnutls which fails for some reason.

I'm not getting that failure.  (x86_64 NixOS, sandboxed)

Nevertheless, the php issue doesn't seem affected by the change.  I'm not even sure it was meant to.

Okay, good to know. I was trying to opposite direction next, cherry-pick libxml2 2.9.12 into master. That's these two commits:

d01a4e3fe99cdc9f4015e741edfd3c77a5d90a37
76c58493d78d5f06ed62e0b8309f223232dfc309

Unfortunately, I'm again blocked by gnutls. 😕 I think it's actually an issue with my local qemu VM, that mysteriously hangs at various idle points, because the failures are random timeouts in tests.

I think the immediate course of action will be:

get #123886 merged to fix firefox build on staging-next
get #123890 into staging, eventually cherry-pick
branch-off hopefully tomorrow, when remaining darwin rebuilds aren't severe.
cherry-pick relevant fixes into 21.05-staging

Release is scheduled to be done by next week.
@grahamc for next release, we should really increase the x86_64-darwin compute going into ZHF, if they are going to be included in jobsets which will determine merge-ability :)

I managed to resolve my VM issue and do some further testing. (Apparently, I have to run qemu with -display none on macOS to get consistent scheduling or something. Probably the difference between a GUI application and background task.)
Curiously, I got two different results:

On master, cherry-picking d01a4e3 and 76c5849 makes a build of phpExtensions.dom fail with the same error we're seeing on Hydra.
On master, just overriding the libxml2 input of phpExtensions.dom with the changes from d01a4e3 does not fail.

Hmm, the subtlety for the second case, of just overriding the libxml2 build input, is whether it is also overridden for PHP itself. Overriding libxml2 for both PHP and the dom extension results in the same failure as on Hydra.
So looks to me like it's definitely the libxml2 upgrade.

I made an attempt to fix the PHP issue upstream in https://github.com/php/php-src/pull/7030. With that patch, the full php with extensions builds again. But not sure if my patch is correct, so hoping for an upstream response.

https://shells.darmstadt.ccc.de/~hexa/1672060.html

https://shells.darmstadt.ccc.de/~hexa/1672060.html

I did the review report myself, and was able to build many of the "failed builds". I think this is fine to merge

waiting on eval to finish

eval finished


Unit test failure in MultiFragmentTest.limit

Bug description
There is a bug in the test utility function compareMaterializedRows(left, right) that fails to catch unmatched results for cases like left = {1, 1, 2} and right = {1, 2, 3}. After the fix to this bug in https://github.com/facebookincubator/velox/pull/3725, MultiFragmentTest.limit fails. The problem is that the expected result contains only one null value, whereas the actual result contains two nulls.
System information
This error can be reproduced in the internal repository on D42551023.
Relevant logs
stdout: Note: Google Test filter = MultiFragmentTest.limit
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from MultiFragmentTest
[ RUN      ] MultiFragmentTest.limit
velox/exec/tests/utils/QueryAssertions.cpp:1182: Failure
Value of: false
  Actual: false
Expected: true
Expected 10, got 10
1 extra rows, 1 missing rows
1 of extra rows:
	null

1 of missing rows:
	7

Unexpected results
[  FAILED  ] MultiFragmentTest.limit (962 ms)
[----------] 1 test from MultiFragmentTest (963 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (1423 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] MultiFragmentTest.limit

 1 FAILED TEST

Closing this issue since it has been fixed.


Pen Issues

After i add a picture when i try to draw it dissapear when i release the pen. But if i use the mouse instead, it works just fine.

This may be fixed by this upstream commit, which is included in v2.12.0.
Change summary: Pointer events have an isPrimary attribute. js-draw previously assumed that strokes would always be drawn with a pointer marked with isPrimary. This commit allows js-draw to handle strokes where isPrimary is false.
Note: This might not be the same as the upstream issue.

Thank you so much, it works perfectly now!


git-lfs: 2.2.1 -> 2.3.3

Motivation for this change
Release Notes
Things done

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

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

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

Thanks!

also ported to 17.09.


Add brew installation option to documentation.

Signed-off-by: tpmccallum<EMAIL_ADDRESS>

Thanks Kate, we have emphasize the Fermyon tap as part of the instructions in order to prevent a user from accidentally installing the wrong Spin from Brew.

A non-blocking question out of curiosity - why are we writing raw HTML instead of markdown here?


Add check for updates feature

It's hard to know if UTM is up to date if it's been downloaded from outside the Mac App Store. (one could watch the GitHub releases, but that requires a GitHub account)
There should be an automatic and manual way of checking for updates.
In the Mac App Store version, the feature could either be excluded or we could have it link to macappstore://showUpdatesPage?scan=true, which opens the Mac App Store and checks for updates.

If you install it with "Brew", all you need to do is run "Brew update UTM"

any news on this?


NEXT-12 Introduce Travis-CI

This closes #12

Not nice because of this issue jspm/jspm-cli#756

Looks like we have to wait for v0.17 of JSPM to have this issue fixed https://github.com/aurelia/skeleton-navigation/issues/38#issuecomment-169019572


Issue with running train_trials.py due to unsupported 'gym.spaces.dict.Dict'

stable-baselines3 does not support '<class 'gym.spaces.dict.Dict'>',  so when I run trials/scripts/train_trials.py, I get the following error
assert not hasattr(obs_space, "spaces"), f"Unsupported structured space '{type(obs_space)}'"

AssertionError: Unsupported structured space '<class 'gym.spaces.dict.Dict'>

How can the code be executed?

@selenak666 hi, I am also trying, being debug for a while for several issues and still can not train successfully.
could you try to use stable-baselines3     1.6.2 version?


CI: try disabling gmpy assert

Closes #9106. Will allow the macOS build entry to complete by commenting out the assertion that mpmath is using the gmpy backend.

@tylerjereddy

did you try testing to see if the backend string changed to match that version number for whatever reason?

I didn't, I figured that if the reason it's there is to speed up calculation it wouldn't harm to ignore the assertion. Spending time debugging on travis is hair tearing and I don't have much of that left. Anyway, the check is still done on Linux.
I will probably merge this tomorrow morning unless any objections are raised.

I vaguely remember this assert was added when the speedup due to the mpmath backend was crucial for the CI time limit. Looks like it's not so crucial anymore, so +1 for this PR.

Let's put this in: I think the CI changes don't need to be perfect, it's more important to just keep the jobs running again ASAP.
The gmpy build on OSX undoubtedly can be fixed in some way given sufficient debugging time, but as said, debugging the CIs is annoying.


⚠ ClamAV has degraded performance

In 0b98f59, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 189 ms

Resolved: ClamAV performance has improved in 3a5ab97.


Fix ed24419 typo

relies on https://github.com/diem/client-sdk-java/pull/78 , which fixes this in the API

cc @yanivmo @martonmaya for review :-)


Help I need your help

Error occurred when executing LayerUtility: QWenImage2Prompt: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again. File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\execution.py", line 148, in recursive_execute obj = class_def() File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\Qwen_image2prompt.py", line 83, in init self.chat_model = UformGen2QwenChat() File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\Qwen_image2prompt.py", line 25, in init self.model_path = snapshot_download("unum-cloud/uform-gen2-qwen-500m", File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.3\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub_snapshot_download.py", line 236, in snapshot_download raise LocalEntryNotFoundError(

网络环境问题

Network environment issues

I've used the VPN Global Proxy and I'm still having this issue, and the VPN test has no problem

I have the same issue. Can anyone help me? Many thanks.

qiu秋叶启动器这样设置 重启一下（代理地址看你的vpn）


Scrolling in Modals Stopped working

When I open up one of the portfolio modals I can no longer scroll using the mouse wheel or arrows.  Page up and down work just fine.  I am using Chrome 43 and Win7 64.  IE works just fine.  When I open Dev tools in Chrome scrolling starts working instantly.

Not sure if this is a template problem or a Bootstrap modals problem. I'll look into it though, thanks.


Prefer vsnip's additionalTextEdits expansion

This PR aims to use the vsnip_integ#do_complete_done that replaces vsnip_integ#on_complete_done_for_lsp.
And one more thing, if vsnip_integ available, prefer vsnip_integ's additionalTextEdits behavior.
Because additionalTextEdits is a bit difficult to implement correctly.
When completion-nvim has a correct additionalTextEdits implementation, you can disable vsnip_integ's behavior by apply_additional_text_edits = false.
The additionalTextEdits should follow the cursor position after applying textEdits.
I was tested the case of https://gitter.im/completion-nvim/community?at=5efda68c6c06cd1bf469b48c

cc @vigoux You might want to check this out a bit. It's working great on my side.

LGTM, I'll also try to fix the implementation of additionalTextEdits on my side, I definitely didn't spend a lot of time on that. Thanks for the fix!

Thank you for merge it.
I think if we will fix it, the fix should do on nvim side.

I will try to create PR to neovim to fix it.
In my local, my current patch is working awesome but it complex...

cc @vigoux You might want to check this out a bit, should fix the issue of the magic completion for rust_analyzer. It's working great on my side.

Confirmed to work, nothing can stop you guys from making this plugin better and better !


Detect and notify the user of a bad configuration

Do not forget to ask the user to change the configuration.
https://support.opendns.com/hc/en-us/articles/227986567-How-to-test-for-successful-OpenDNS-configuration- provide some links that can be used to test "how well we are protected"
Solution
 To test if you are using OpenDNS as a DNS resolver, we recommend using the following test site to test: http://welcome.opendns.com. If you are using us you will see: Welcome to OpenDNS!

To test the Security Settings of your configuration, we recommend using the following test site to test blocking the Security setting for Phishing: http://www.internetbadguys.com. The desired outcome is to see: This domain is blocked due to a phishing threat.

To test Content filtering for your configuration, we recommend using the following test site to test blocking pornography sites: http://www.exampleadultsite.com. You should see: This domain is blocked.

This page is also use full for testing if we effectively used OpenDNS DNSServers
https://welcome.opendns.com
The page return  the following content if we are not using their servers.

Oops!
You aren't using OpenDNS yet. Let's fix that

Rather than scraping, is there anything @, e.g., https://github.com/folbricht/umbrella, that could help do this via API?

I've already seen this project but also checked out the Cisco umbrella website. The only thing I can remember is that it sounds like a tool to check if a domain is "malicious" or not. And there is no endpoint to update the IP user. This kind of API is useful in a firewall or something like that.
I do not know if I'm right.


Donations

Update: https://sfdo-community-sprints.github.io/summit-events-app-documentation/docs/advanced-features/capturing-payments/donations/
Review: No previous documentation
Intent:

Articulate the need and desire to capture donations during the registration process
Walk through how to create the right things in Salesforce to capture donations
Walk through the registrant experience, less actually making the payment.
Talk about different use cases and examples related to Donations only.

I can try this one.

I completed initial Donation Summary page and am willing to add more once the Donation allocation piece is fully functional.

This is great, thank you!  Let me know if you would like to work on another area outside of the sprint.


reserved identifier violation

I would like to point out that identifiers like “_PH_MODULE_NODE” and “_SERVICE_INFO” do not fit to the expected naming convention of the C language standard.
Would you like to adjust your selection for unique names?

99% of Windows structures and enumerations declaration follows that style. After all you are not using that name in code because its just typedef to another name.

How do you think about to avoid that this software depends on undefined behaviour?


Make metadata optional?

There are lots of places where we have a mandatory metadata argument (such as everywhere in the geometry engine) even though it isn't used yet.  Can we make this an optional argument that defaults to dict() or None?

+1. I think defaulting to None is a good option here.

I've done that for the small molecule engine in #105 , but I think metadata is actually used in the polymer proposal engines.

I think metadata is actually used in the polymer proposal engines.

@juliebehr can we get that fixed?  In #103 it seems that chain_id should really be in the constructor, and not metadata.

I'm storing the information about what mutations have been made in metadata, where should this go instead?  Also, the constructor has its own proposal_metadata (which has been there the whole time, I was just following the skeleton) which I'm currently only using to pass ffxmls; should I make them their own argument and remove proposal_metadata too?

I just saw that the ffxmls are addressed in https://github.com/choderalab/perses/issues/95 and yes I can easily change them to be retrieved from SystemGenerator -- so then the point remains, just to clarify we're eliminating both metadata and proposal_metadata?

Can we have chain_id in proposal_metadata in the constructor, or as a separate optional argument? This just gets it out of needing to be passed to propose() every time.
Totally OK to keep the current mutation info in the metadata associated with the current state. We also need to provide a way to get the current chemical state key.

Resolved https://github.com/choderalab/perses/pull/108


Override utcnow() to specific timezone

Not necessarily a bug but Is there a way to override the datetime.utcnow() in the testrun_name to a specific timezone?
https://github.com/allankp/pytest-testrail/blob/92d0a279da0f12b912c3ad5c65561a3fb8c874a7/pytest_testrail/plugin.py#L89

Hi @brianbautista, what do you want to do ? Change the test run name ?

For example, the testruns are being named as Automated Run 24-07-2019 00:26:25 automatically.  I would like to change the date format to YYYY-MM-DD and the time to be my current time zone, Pacific Time Zone USA UTC-8.

@brianbautista in this case, there is no way to do that. Feel free to submit a Pull Request allowing to configure it.


help please

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

fdfhgdfh

@Farhanmubashar, Please fill up on issue. is it about found a bug on FreeCodeCamp site?


This plugin now working with angular.

We probably won’t maintain framework wrappers for this, sorry.