python is dependency

Install failed because I don't have python:
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PY
HON env variable.
gyp ERR! stack     at failNoPython (E:\NodeJS\node_modules\npm\node_modules\nod
-gyp\lib\configure.js:401:14)

lwip is a native module, a C++ node addon. As such, it depends on node-gyp for compiling the source. node-gyp requires Python.
Please install python 2.7.x (NOT 3.x which is not compatible) and retry.
Unless prebuilt binaries are provided, I would recommend closing this issue.

If I am distributing an electron application and lwip is a dependency. Do you think I'd have to distribute a python binary as well?


How to search the same word on multiple fields of a domain

I am trying to apply hibernate seach in my project.I want search to multiple attribute of a domain.How to apply hibernate search in that case.

Did you read this part of the README?
https://github.com/mathpere/grails-hibernate-search-plugin#mixing-with-criteria-query

Any chance this could help you? https://github.com/mathpere/grails-hibernate-search-plugin/pull/41
@pantbinod


update smart contracts to conform with v1.1.0 cosmwasm-std

Summary of changes
Update current smart contracts
bash scripts/build-contract.sh
Report of required housekeeping

[ ] Github issue OR spec proposal link
[ ] Wrote tests
[ ] Added a relevant changelog entry to CHANGELOG.md

(FOR ADMIN) Before merging

[ ] Added appropriate labels to PR
[ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)
[ ] Confirm added tests are consistent with the intended behavior of changes
[ ] Ensure all tests pass

Please do not merge this until @inon-man has had a chance to review it :)

@ZaradarBH
you can use some smart contracts here to test, it covers treasury query and tx

We have to bump this to 1.2.0, so we are moving this back to in progress.


who restarts httpd?

I've now run a few times into the issue where a site was presenting an invalid certificate.
It's not clear from the documentation here, or @ apache: http://httpd.apache.org/docs/2.4/mod/mod_md.html that mod_md will restart httpd.
I can see a function that would be useful for that purpose:
https://github.com/icing/mod_md/blob/5e34c14e2b7ad195f662290c26481cbc3a249fe0/src/mod_md_os.c#L76-L85
but I don't see it called anywhere!

okay thank you very much for clarifying this.
i've now added @weekly cron job to do graceful reloads.
I think a hint towards this should be put into the getting started doc, and yeah, that code should be removed 😅

Added a section to the README: https://github.com/icing/mod_md#how-to-manage-server-reloads
Please review.


Bind keys to SQL statements

I don’t know if you take PR (given the disclaimer) but this commit ensures that keys are properly escaped. For an example see discussion: http://lists.macromates.com/textmate/2015-January/038274.html

@sorbits, I'll be sure to take a look. This will 99% likely be merged :smile:


Interface changes 2

Follows From #10. Opening it here so that both versions of code can be compared. I've been working on cleaning up some of the code in #10 .

@msaxena2, the extra PR makes it harder to review/track changes, especially as it is made against master, not against interface_changes.

This may help:
https://github.com/kframework/kore/pull/13
Personally, I would leave everything on the original branch/PR.

@cos The cleanup made it hard to view what was going on, so I'd like this PR to be viewed against master. I've made a few changes -

Getting rid of the Generics in AST.
Simplifying the builder hierarchy.

Please have a look now.

Closing this PR, since all the changes have been ported over to #10


Add better query string support for theme switching

Allow the user to switch themes based on a qstring parameter to compare pages without having to change config values in between.

Done.


Addresses #1811 NTR 'respiratory ciliated cell'

Addresses #1811 NTR 'respiratory ciliated cell'

Maybe you could also add CL:0002332 'ciliated cell of the bronchus' as a subclass of 'respiratory ciliated cell'

Maybe you could also add CL:0002332 'ciliated cell of the bronchus' as a subclass of 'respiratory ciliated cell'

Thanks for the review, @aleixpuigb. Please see modelling below. CL:0002332 'ciliated cell of the bronchus' is a grandchild of  'respiratory ciliated cell'.

Question for @dosumis: Should 'ciliated cell of the bronchus' be inferred as a direct subclass of 'respiratory ciliated cell'? If I do not assert that 'ciliated columnar cell of tracheobronchial tree' is a subclass of 'respiratory ciliated cell', 'ciliated cell of the bronchus' is inferred as a direct subclass.
If I do assert that 'ciliated columnar cell of tracheobronchial tree' is a subclass of 'respiratory ciliated cell' (like I do in this PR), 'ciliated cell of the bronchus' is a grandchild of 'respiratory ciliated cell'.
Is this expected behaviour?

@dosumis, do you have any feedback on this PR, specifically this comment?
If there is no concern or response by end of week, I plan to merge.

#gogoeditdiff

FOr terms with potentially large logical implications like this, I think it is important to run #gogoeditdiff and look at the results in the reasoned diff.  (Don't know if this works on merge PRs -  If it does, a GitHub action will post comments on this PR at some point)

Hmmm -  it's run but seems to be giving results that are nothing to do with the PR.


The match create callbacks on server do not work if the match was created via matchmaker

To reproduce this, try and register a function in the following way(s) via Lua:
nk.register_before(some_function, "tmatchcreate")
nk.register_after(some_other_function, "tmatchcreate")
If the match is created via the matchmaker, neither callback will occur. It would be great if these were triggered when a match is created by the user or through the matchmaker.

Also, if this gets implemented, it would be great to know what caused the match related callbacks to occur, similar to #36

any suggestion for to do it right now？

@Tatamethues The best way right now would be to have the host client you select write the data record as soon as the match opponents are all connected. We'll add the hooks soon but we also have some big new features for multiplayer which will solve this problem.

We added a dedicated callback function to interact on the server before results are sent back to clients from the matchmaker engine. This can be done like so:
local nk = require("nakama")
local function matchmaker_matched(context, matchmaker_users)
  -- create an authoritative match
  local match_id = nk.match_create("somematchmodule", { matched_opponents = matchmaker_users })
  return match_id
end
nk.register_matchmaker_matched(matchmaker_matched)


docs(styles) Code syntax highlighting

Two main goals here: update our variables with colours from Kongponents, and make the syntax highlighting less red.

Change inline text highlighting from red to grey
Add Kong colour variables
Using the Kong colour variables as much as possible, redo syntax highlighting theme for codeblocks
Change codeblock background to white for contrast in alert blocks
Enable syntax highlighter for jekyll-dev

Previews - anywhere with codeblocks or inline code, e.g.:
https://deploy-preview-2381--kongdocs.netlify.app/hub/kong-inc/application-registration/
https://deploy-preview-2381--kongdocs.netlify.app/enterprise/2.1.x/admin-api/
https://deploy-preview-2381--kongdocs.netlify.app/getting-started-guide/2.1.x/prepare/ - see codeblocks inside blue panel

Looks Gorgeous To Me

It's too bad I have to revert a portion, as some of the colours don't pass ADA-compliance :( Tough to work with our brand colours for this purpose.
Merging changes to the inline code highlighting and still adding variables to the doc, as we'll need them later.


ARC: nSIM: fix missing core numbers for mdb-hw runner args

We don't set core numbers for mdb-hw runner for nSIM board, so it defaults to 1, so mdb-hw runner doesn't work with SMP boards.
Fix that.

if you want this backported to 2.7, then you should insist on having this merged for 3.0 as well.


Filename decoding issue for zip files archived by macOS

Description

just the same as https://github.com/weichsel/ZIPFoundation/issues/63
python zipfile lib using flag to determind the encoding of the file https://github.com/python/cpython/blob/main/Lib/zipfile.py#L1384 but osx compress won't set that
so we may need to guess the encoding for zip
Reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error '...'

Expected behavior

Context

Python package version:

Extension version:

Operating System and its version:
Browser and its version:

Command Line Output

Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.

Web Browser Output

Paste the output from your browser web console here.

I have provided a less elegant solution in my branch with two main problems

using try ... encode to probe the encoding, efficiency and accuracy are not guaranteed
need to decompress to a temporary folder before decoding and moving, which further reduces efficiency; if using read for writing, we have to determine whether the path represents a file or a folder

thanks for trying providing a solution and reported back.

This is actually a cross-platform issue, caused by the default zip implementation of mac and windows not matching the protocol.
We provide a new implementation, but in fact the encoding incompatibility problem of windows is related to the language used by the user, currently it is only compatible with gbk（Chinese）
https://github.com/jupyterlab-contrib/jupyter-archive/pull/108


Encoding/decoding hex

As in #116, I would suggest to use data-encoding.

I wouldn't mind doing this one. As @vks suggested, I think that data-encoding would be a good choice.
If we go with the data-encoding crate, which version do we want to use? The crates.io page references version "1.2.0", but it appears that there is a release candidate version, "2.0.0-rc.1". The documentation link on crates.io seems to point to the documentation for version 2.

Addressed in Pull Request #132.


Optimized append logic.

Reduce code paths as per Oct. 8 Slack convo with @deadalnix .

Ok, but that still conflicts with master, you need to rebase this.


Update CP4I modules to use gitops terraform provider

The instructions to upgrade a module are provided here - https://ibm.box.com/s/q5s5jwsd8b37k9tbzt73hkmo4tb2tbb8
During this process, two changes will be made:

The null_resource block that populates the gitops repo will be replaced with the terraform provider resource
The unit test will be updated to use gitea for the gitops repo

Integration

[x] CP Platform Navigator https://github.com/cloud-native-toolkit/terraform-gitops-cp-platform-navigator/pull/19
[x] CP AppConnect https://github.com/cloud-native-toolkit/terraform-gitops-cp-app-connect/pull/18
[x] CP ACE Dashboard https://github.com/cloud-native-toolkit/terraform-gitops-cp-ace-dashboard/pull/14
[x] CP ACE Designer https://github.com/cloud-native-toolkit/terraform-gitops-cp-ace-designer/pull/10
[x] [CP Datapower Operator] (github.com/cloud-native-toolkit/terraform-gitops-cp-datapower-operator)
[x] [CP Datapower] ( https://github.com/cloud-native-toolkit/terraform-gitops-cp-datapower/issues/18)
[X] [CP Event Steams operator] (https://github.com/cloud-native-toolkit/terraform-gitops-cp-es-operator/issues/15)
[x] [CP Event Streams] https://github.com/cloud-native-toolkit/terraform-gitops-cp-event-streams/issues/22
[x] [CP MQ] https://github.com/cloud-native-toolkit/terraform-gitops-cp-mq/issues/19
[x] [CP ApiConnect operator]  https://github.com/cloud-native-toolkit/terraform-gitops-cp-apic-operator/issues/21
[x] [CP ApiConnect]  https://github.com/cloud-native-toolkit/terraform-gitops-cp-apic/issues/15
[x] [CP Queue Manager] https://github.com/cloud-native-toolkit/terraform-gitops-cp-queue-manager/issues/16
[x] [CP MQ Uniform Cluster] https://github.com/cloud-native-toolkit/terraform-gitops-cp-mq-uniform-cluster/issues/11

Completed:

Support for gitea (by default)
Uses the GitOps provider instead of terraform modules
Updated to use terragrunt for automation between layers

https://github.com/IBM/automation-integration-platform


Fix documentation for usage of http-proxy-middleware

check https://github.com/chimurai/http-proxy-middleware#example to see correct example

See right above the example that the documentation shows permitted behavior, too: https://github.com/chimurai/http-proxy-middleware#proxycontext-config.


RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM

SSD training is OK, but when i inference the model I got this problem...
However the retinanet is Ok..
Traceback (most recent call last):
  File "/home/gaozhihua/program/mmdetection/test_img.py", line 15, in <module>
    result = inference_detector(model, img, cfg)
  File "/home/gaozhihua/program/mmdetection/mmdet/apis/inference.py", line 46, in inference_detector
    return _inference_single(model, imgs, img_transform, cfg, device)
  File "/home/gaozhihua/program/mmdetection/mmdet/apis/inference.py", line 30, in _inference_single
    result = model(return_loss=False, rescale=True, **data)
  File "/home/gaozhihua/anaconda2/envs/open-mmlab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/gaozhihua/program/mmdetection/mmdet/models/detectors/base.py", line 82, in forward
    return self.forward_test(img, img_meta, **kwargs)
  File "/home/gaozhihua/program/mmdetection/mmdet/models/detectors/base.py", line 74, in forward_test
    return self.simple_test(imgs[0], img_metas[0], **kwargs)
  File "/home/gaozhihua/program/mmdetection/mmdet/models/detectors/single_stage.py", line 53, in simple_test
    x = self.extract_feat(img)
  File "/home/gaozhihua/program/mmdetection/mmdet/models/detectors/single_stage.py", line 40, in extract_feat
    x = self.backbone(img)
  File "/home/gaozhihua/anaconda2/envs/open-mmlab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/gaozhihua/program/mmdetection/mmdet/models/backbones/ssd_vgg.py", line 83, in forward
    x = F.relu(layer(x), inplace=True)
  File "/home/gaozhihua/anaconda2/envs/open-mmlab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/gaozhihua/anaconda2/envs/open-mmlab/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 320, in forward
    self.padding, self.dilation, self.groups)
RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM

What is your test command? Do you test your own trained model? Could you print the shape of x at this line File "/home/gaozhihua/program/mmdetection/mmdet/models/backbones/ssd_vgg.py", line 83, in forward x = F.relu(layer(x), inplace=True) ?

This is my test command....I use your pretrained voc models.....the shape is (1, 256,13,19)

import mmcv
from mmcv.runner import load_checkpoint
from mmdet.models import build_detector
from mmdet.apis import inference_detector, show_result

cfg = mmcv.Config.fromfile('configs/pascal_voc/ssd300_voc.py')
cfg.model.pretrained = None

# construct the model and load checkpoint
model = build_detector(cfg.model, test_cfg=cfg.test_cfg)
_ = load_checkpoint(model, 'models/ssd300_voc_vgg16_caffe_240e_20181221-2f05dd40.pth')

# test a single image
img = mmcv.imread('/home/gaozhihua/program/mmdetection/data/face_detection/wider_face/0_Parade_marchingband_1_5.jpg')
result = inference_detector(model, img, cfg)
show_result(img, result)

The shape is strange, the height and width should be same

the test cfg set
resize_keep_ratio=True

But ssd is full conv detection network....
Is that affect?

Ok, I have a try...

But the shape is strange, height and with should be same

resize_keep_ratio indict when resize if need to keep original ratio, but in SSD it should be False

Yeah, it is ok now when i do not keep original ratio....
But I am confused that ssd is a full conv network...
Even if i keep the ratio it shouldn't got wrong....

Here is my guess, in SSD last feat map size may smaller than kernel size if you set resize_keep_ratio=True, in this case will report this error, here is an example:
x = torch.rand(1, 3, 3, 2).cuda()
conv = nn.Conv2d(3, 3, 3).cuda()
conv(x)
RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM

I think that is the problem...
And I have a pr to fix the inference bug...

I have the same error while training a convtranspose2D. Can't seem to understand the issue. The kernel size in my case is also way less than the input size and no padding is used.

Had this error because of the wrong dtype


[msmpi] Install msmpifec.lib and msmpifmc.lib

Summary

The MS-MPI installer provides three implib files:

msmpi.lib
msmpifec.lib
msmpifmc.lib

The vcpkg port only installs the first file into %vcpkg-root%/installed/x64-windows/lib/, but  I need msmpifec.lib to support MPI builds that have both C++ and Fortran sources.
Describe alternatives you've considered

As a work around, I am manually copying these files from %MSMPI_LIB64% into the %vcpkg% install directory.

Hi @KineticTheory thanks for posting this issue.
If you want to use msmpifec.lib or msmpifmc.lib, you can try to install x64-windows-static triplet.
Since we put these libs into static lists.
https://github.com/microsoft/vcpkg/blob/master/ports/msmpi/portfile.cmake#L105-L110
Could you please try to run .\vcpkg.exe install msmpi:x86-windows-static and then use it?

@NancyLi1013 I ended up going a different route on this.  I use gendef and dlltool to create a mingw libmsmpi.a library equivalent of msmpi.  This seems to bypass the issue I was having with missing implib files.


Use ExpressionAttributeNames instead of the key directly

V0 PR for https://github.com/serverless-stack/serverless-stack/pull/1621

The console is actually only deployed from v1 so can close this one


20221017 Rename repo to rshellweg

See https://github.com/radiasoft/sirepo/issues/4940. Does it make sense to align rslinac to be hellweg? I don't think there will be anything else in this repo.

I discussed this with SK and we do not have strong feelings about it. You can proceed as you think best.

hellweg is available on pypi.org, which would be the only "stopper". We should call it rshellweg, since that's our convention. I think that would be consistent with how we work with the other codes. Agreed?

I agree that the repo can be renamed to rshellweg/
For naming the URL of the Sirepo app, I would prefer Sirepo Hellweg, without the rs

Yes, that's our convention.

I do not have the right permissions to rename the repo

I did it.

NO!

First step is to rename the files in the repo, and then rename the repo.

I changed it back.


Add new benchmarks

This PR

adds comparison

with https://github.com/kyleconroy/sqlc based on benchmarks defined in this repository
with https://github.com/go-pg/pg based on benchmarks proposed in go-pg repository (see https://github.com/go-pg/pg/blob/v10/bench_test.go).

Adds support of go modules and launch DB inside docker.

Rewrites Postgres schema to Cockroach dialect.

Updates xorm version to latest fixing compatibility issues.

This PR is far too big and the changes were not discussed beforehand. It cannot be accepted as submitted.
I don't understand quite a few things, like why replace psql with crdb? We only tangentially support crdb via a driver that's not in the core.
Why add sqlc? It is an apples to oranges comparison. All the libraries in the benchmark generate SQL from a Go-based DSL and then send that to the DB for execution. sqlc simply throws around hardcoded strings which makes for a skewed benchmark (of course in its favor). I'm a big fan of sqlc and like the approach very much, but it doesn't make sense to be here.

why replace psql with crdb? We only tangentially support crdb via a driver that's not in the core.

replace of psql with crdb can be removed, was done as on current project we needed comparison based on CockroachDB

Why add sqlc?

sqlc could be a good alternative to existing golang ORMs, especially considering these performance benchmarks, e.g. we have decided to migrate to sqlc from go-pg and boilbench on our project

This PR is far too big

It can be split, proposed parts:

add go modules support and fixes to latest ORM versions,
add docker support,
add sqlc comparison,
add go-pg comparison

are these parts good or it should be divided to other parts?
also there is a benchmark against entc in my fork, but entc is still lacking some features that can be compared

replace of psql with crdb can be removed, was done as on current project we needed comparison based on CockroachDB

Okay good. That should be removed then. Optionally could make it work with both but default to postgresql.

sqlc could be a good alternative to existing golang ORMs, especially considering these performance benchmarks, e.g. we have decided to migrate to sqlc from go-pg and boilbench on our project

sqlc is a great alternative to ORMs. But that's just it. It's an alternative to these things because it behaves completely differently. It's always going to be faster, but it's always also going to be less flexible and slower to develop in.
Take sqlboiler for example, you get a huge swath of usable things right out of the gate, whereas if you start with sqlc you have to begin by writing your "get all users" query and your "get single user" query. It would take you a day or two just to get to the point sqlboiler gets you out of the box. But there's a tradeoff for the abstraction that sqlboiler (and all these other ORMs) give you, and that's performance and simplicity. Another example that comes to mind is that there's an abstraction layer in virtually all of these ORMs to support multiple RDBMS (mysql, postgres, mssql, sqlite3, etc) but sqlc only supports postgresql.
So I stand by my statement that it's disingenuous to benchmark against it because it's so incredibly different from the rest of the libraries here.

add go modules support and fixes to latest ORM versions

sounds good

add docker support

sure

add sqlc comparison

still against this for the reasons stated above, I'd need to be convinced it makes sense to compare

add go-pg comparison

seems fine to me

also there is a benchmark against entc in my fork, but entc is still lacking some features that can be compared

So long as it's similar enough to the other ORMs that's fine. We can have some incomplete benchmarks so long as it's noted that they don't support X or Y feature somewhere and that's why those numbers are missing.

ok, will divide this PR to smaller one as mentioned above except adding sqlc comparison as it is still under discussion
regarding your comments:

It's always going to be faster, but it's always also going to be less flexible and slower to develop in.
Take sqlboiler for example, you get a huge swath of usable things right out of the gate, whereas if you start with sqlc you have to begin by writing your "get all users" query and your "get single user" query. It would take you a day or two just to get to the point sqlboiler gets you out of the box. But there's a tradeoff for the abstraction that sqlboiler (and all these other ORMs) give you, and that's performance and simplicity.

On our project, we are using a Repository pattern to all DB related requests, to make DB interaction isolated from other code as much as possible.
With this pattern, we will need to describe each method separately, agree that describing it in Go-based DSLs could be faster than with SQL, but we avoid debugging of ORM SQL calls in complex queries,
also sometimes we are using Raw SQL ORM methods, writing which could take even more time with ORM,
so the difference exists, but it shouldn't be huge considering that sqlc code is generated from sql files. The schema could be also generated by automated tools from existing DBs

Another example that comes to mind is that there's an abstraction layer in virtually all of these ORMs to support multiple RDBMS (mysql, postgres, mssql, sqlite3, etc) but sqlc only supports postgresql.

kallax, go-pg are also supporting only postgresql, kallax is already existed in benchmarks, go-pg will be added in related PRs...
also, some ORMs putting additional restrictions on DB, that can be avoided with sqlc e.g. https://github.com/volatiletech/sqlboiler/issues/698

add sqlc comparison
still against this for the reasons stated above, I'd need to be convinced it makes sense to compare

do I need to add some additional reasons why sqlc can be added to comparison?

So long as it's similar enough to the other ORMs that's fine. We can have some incomplete benchmarks so long as it's noted that they don't support X or Y feature somewhere and that's why those numbers are missing.

will prepare entc benchmark in separate PR


Add Procfile for Heroku

Get setup with Heroku. Ran heroku local web and was able to see the application locally

Excellent!


Update repositories.txt

Brother,i am new in Github, please don't banned me💝
মঙ্গল, ১৭ ডিসেম্বর, ২০২৪ ৩:৩৪ AM তারিখে Per Tillisch <
@.***> লিখেছেন:

@.**** commented on this pull request.
Closing as pointless since the pull request doesn't make any change.
@toaha63 https://github.com/toaha63 we expect professional and
respectful behavior in our repositories. Your behavior has not met that
standard. If you continue this pattern of behavior, your library will be
removed from the Arduino Library Manager and you will be permanently banned
from interacting with any of Arduino's repositories.
—
Reply to this email directly, view it on GitHub
https://github.com/arduino/library-registry/pull/5600#pullrequestreview-2507403034,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6X4AUKW6RPQ6VIA5SFSLLD2F5BMXAVCNFSM6AAAAABTTVHQIGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMBXGQYDGMBTGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


feat: CategoryTheory.Sites.Coherent -- define the coherent coverage and Grothendieck topology

As a requirement, we also define the notion of "effective epi" for morphisms and families of morphisms.
We also define an analogous notion for (pre)sieves, and provide some API for the relationship between these notions.

bors r+


[qt5-webengine] build failure due to missing zlibd1.dll in tools\qt5\debug\bin

Host Environment

OS: Windows
Compiler: VS 2019 16.6.2

To Reproduce
Steps to reproduce the behavior:
./vcpkg remove protobuf
./vcpkg install qt5-webengine
Additional context
After by-passing case #12150 uninstalling protobuf, the next error appears when rcc.exe is called for the debug build. It fails to start because %VCPKG_ROOT%\installed\x64-windows\tools\qt5\debug\bin doesn't have zlibd1.dll.
Hovewer, for the release version, the folder %VCPKG_ROOT%\installed\x64-windows\tools\qt5\bin contains zlib1.dll.
Thanks.

Hmm interesting. I wonder why it worked for me.
I also see:
E:\qt\installed\x64-windows\tools\qt5\debug\bin\rcc.exe -name resources E:\qt\buildtrees\qt5-webengine\src\5.15.0-c7b80f6f6f\src\pdf\quick\resources.qrc -o .rcc\debug\qrc_resources.cpp
and also don't have the dll's in tools\qt5\debug\bin (shouldn't matter that it is 5.15)

Compiler: VS 2019 16.6.2

Be aware that compiling Qt with that VS version is broken without the patch added into 5.15 https://github.com/microsoft/vcpkg/pull/11596/commits/a3426977ff5dc8032bab5f09ce1d4aac52ef6845

Be aware that compiling Qt with that VS version is broken without the patch added into 5.15 a342697

5.15 is not yet in master, right? any ETA?,

you can probably simply "backport" (i.e just apply it) to current qt5-base. But that is a question you have to ask @JackBoosY and @BillyONeal because it requires a VM update for the linux ci to successfully run (Missing system libs).


Add GitHub with correct capitalisation to accepted words list

What changed, and why it matters
We're getting a warning on the make check build step, because the robot doesn't know that "GitHub" is spelt correctly. This adds it, to remove the warning.

It's already merged as part of different PR

ah, I see this one as well. I added this fix earlier to OpenSearch commit


Integration with fontgen-loader

I've been trying hard to integrate with https://github.com/DragonsInn/fontgen-loader/ in order to generate iconfonts directly in webpack.
After some tries I decided to add the following lines to the webpack.config.js:
  webpackConfig.module.loaders.push({
    test: /\.font\.(js|json)$/,
    loaders: [
      'style',
      BASE_CSS_LOADER,
      'fontgen'
    ]
  })

My problem is that everything works fine when I set the NODE_ENV to production but it fails as soon as I switch it to development. My guess is that there's some base path misconfigured.
NODE_ENV = development
                                Asset     Size  Chunks       Chunk Names
57d59b40fe56c55c2170faa6d70f6c09.png  9.37 kB
   icofont.6DCSyTHoOJMf8DjzliRnp.eot  35.1 kB
 icofont.2oWvwu_7jp8ILNvh9-F55o.woff  20.1 kB
  icofont.3ESz2Tey9x2lVJDVlC4hdd.ttf  34.9 kB
  icofont.1zBfNPqla9r00dgHdwe7jS.svg   160 kB
         app.2e9d0d50c3cfc2bbc1e0.js  1.48 MB       0       app
      vendor.2e9d0d50c3cfc2bbc1e0.js   805 kB       1       vendor
     app.2e9d0d50c3cfc2bbc1e0.js.map  1.79 MB       0       app
  vendor.2e9d0d50c3cfc2bbc1e0.js.map   952 kB       1       vendor

ERROR in ./~/css-loader?sourceMap&-minimize!./~/fontgen-loader!./src/styles/fonts/icofont.font.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot in /Users/romanelm1/Desktop/react-mypages/src/styles/fonts
 @ ./~/css-loader?sourceMap&-minimize!./~/fontgen-loader!./src/styles/fonts/icofont.font.js 6:84-151

Module not found: Error: Cannot resolve 'file' or 'directory' ./http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot in /Users/romanelm1/Desktop/react-mypages/src/styles/fonts
resolve file
  /Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot doesn't exist
  /Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot.jsx doesn't exist
  /Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot.js doesn't exist
  /Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot.json doesn't exist
resolve directory
  /Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot doesn't exist (directory default file)
  /Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot/package.json doesn't exist (directory description file)
[/Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot]
[/Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot.jsx]
[/Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot.js]
[/Users/romanelm1/Desktop/react-mypages/src/styles/fonts/http:/localhost:3000/icofont.6DCSyTHoOJMf8DjzliRnp.eot.json]
 @ ./~/css-loader?sourceMap&-minimize!./~/fontgen-loader!./src/styles/fonts/icofont.font.js 6:84-151
./~/css-loader?sourceMap&-minimize!./~/fontgen-loader!./src/styles/fonts/icofont.font.js

NODE_ENV = production
                                   Asset       Size  Chunks             Chunk Names
      icofont.2IN8QBO_AeYYRy0MPCk054.eot    35.1 kB          [emitted]
     icofont.3q6cZCNvOnPbTdk8Fg2kG_.woff    20.1 kB          [emitted]
      icofont.3LFloOMAN2jv0N9uevJ3rr.ttf    34.9 kB          [emitted]
      icofont.1zBfNPqla9r00dgHdwe7jS.svg     160 kB          [emitted]
    57d59b40fe56c55c2170faa6d70f6c09.png    9.37 kB          [emitted]
          vendor.eb782db9282447c0e64a.js     225 kB       0  [emitted]  vendor
             app.fab5b301f2a8886f0e1a.js     228 kB       1  [emitted]  app
app.6b4dd2de7ba61e12cd0c071980bfd5d3.css    22.1 kB       1  [emitted]  app
                             favicon.ico    24.8 kB          [emitted]
                              index.html  443 bytes          [emitted]
Child html-webpack-plugin for "index.html":
         Asset    Size  Chunks       Chunk Names
    index.html  522 kB       0
Child extract-text-webpack-plugin:
                                  Asset     Size  Chunks             Chunk Names
     icofont.2IN8QBO_AeYYRy0MPCk054.eot  35.1 kB          [emitted]
    icofont.3q6cZCNvOnPbTdk8Fg2kG_.woff  20.1 kB          [emitted]
     icofont.3LFloOMAN2jv0N9uevJ3rr.ttf  34.9 kB          [emitted]
     icofont.1zBfNPqla9r00dgHdwe7jS.svg   160 kB          [emitted]

Is this the correct way of doing it?

It's probably because the public_path is hard coded in development. I'll have to see if we can get rid of our hack, but try changing https://github.com/davezuko/react-redux-starter-kit/blob/master/config/environments.js#L12 to just / and see if that helps (or hurts even more).

@davezuko just did a quick test and the bundling is now succeeding:
                                          Asset       Size  Chunks             Chunk Names
                    app.08a360adfb1931f4b1a3.js    1.49 MB       0  [emitted]  app
           57d59b40fe56c55c2170faa6d70f6c09.png    9.37 kB          [emitted]
8d988bdb371694ea7940b766ba270cb5-TuttiFont.woff    20.1 kB          [emitted]
 1c143191ed646558b5717b38bd5b240a-TuttiFont.ttf    34.9 kB          [emitted]
 ad30b00e8e9a0f0535f73ce4c8b56a7c-TuttiFont.svg     160 kB          [emitted]
 062d4be0baf020ddbe7568c13aad7d92-TuttiFont.eot    35.1 kB          [emitted]
                 vendor.08a360adfb1931f4b1a3.js     805 kB       1  [emitted]  vendor
                app.08a360adfb1931f4b1a3.js.map     1.8 MB       0  [emitted]  app
             vendor.08a360adfb1931f4b1a3.js.map     952 kB       1  [emitted]  vendor
                                    favicon.ico    24.8 kB          [emitted]
                                     index.html  371 bytes          [emitted]
Child html-webpack-plugin for "index.html":
         Asset    Size  Chunks       Chunk Names
    index.html  541 kB       0
webpack: bundle is now VALID.

Everything seems to work just fine. So my question is: what is the impact of the change I did? Or in other words: Why did you chose to set the compiler_public_path to localhost:3000 instead of just / ?

I hit the issue. If I include the file using the / as path I'm getting this warnings in Chrome:
Failed to decode downloaded font: http://localhost:3000/favorites
favorites:1 OTS parsing error: invalid version tag

I was thinking of another solution: what if I tell webpack to skip the resolution this kind of urls (http:/localhost:3000/eada95e250902c78614c7b1c44a16cd5-TuttiFont.eot)? is it something possible at all?

@marcelloromanelli : Could you maybe share your complete configuration for the font? I did the changes as well, but my icons are not showing. (not sure why)

Solution:
I found that apparently the sourcemaps cause some issues. If I remove them from the fontgen loading it seems to work:
webpackConfig.module.loaders.push({
   test: /\.font\.(js|json)$/,
   loaders: [
     'style',
     'css',
     'fontgen'
   ]
 })


Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/usr/share/atom/resources/app/src/atom.js:55:11)
StatusBarSummaryView.render (/home/valix/SSD/atom/packages/linter/lib/statusbar-summary-view.coffee:11:21)

Dupe of #343


Can this be used in C++?

If so could you please add a section "Enumerating the collection in C++"

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

ID: 5aef02eb-7867-a4a2-0cca-4a41bed7d72a
Version Independent ID: 502edaff-708b-9776-2712-76c5057c8c84
Content: PnpObjectCollection Class (Windows.Devices.Enumeration.Pnp) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.devices.enumeration.pnp.pnpobjectcollection.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Hi, @JBradon, thanks for raising this issue. Yes, all collections can be enumerated using C++ (C++/WinRT being the current recommended projection of the Windows Runtime into C++). I've just edited this topic and that change will be live within 24 hours. Meanwhile, FYI, here's the content that I added.
Enumerating the collection in C++/WinRT
...
using namespace Windows::Devices::Enumeration::Pnp;
...
void EnumerateCollection(PnpObjectCollection const& collection)
{
    for (PnpObject const& object : collection)
    {
        // ...
    }
}

Also see Collections with C++/WinRT.

Steve,
Thanks - that;s helpful.
John

You're welcome, John. Thanks for filing the issue! ~Steve


Activate the Make emissive button.

I had previously removed the logic from the button until I found a better way of implementing the logic. I ended up just adding the node directly. This should not be a problem.

Also more to come. Sorry for the long break.


feat: review vasp modal

This PR adds the feature that allows an admin to review a vasp registration
Fixes SC-2661

@elysee15 I'd like to try to merge this tomorrow before the release. After you rebase sc-2555, could you rebase this PR from that branch so that I can easily review and merge if possible?


Default keybindings that conflict with default Ubuntu OS keybindings

Related https://github.com/Microsoft/vscode/issues/51
The following default keybindings conflict with default Ubuntu OS keybindings.
Move app to different workspace:
{ "key": "ctrl+shift+alt+down",   "command": "editor.action.copyLinesDownAction",
                                     "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+up",     "command": "editor.action.copyLinesUpAction",
                                     "when": "editorTextFocus" },
{ "key": "ctrl+shift+alt+left",   "command": "workbench.action.focusLeftEditor" },
{ "key": "ctrl+shift+alt+right",  "command": "workbench.action.focusRightEditor" },

Maximize/unmaximize(?):
{ "key": "ctrl+meta+up",          "command": "editor.action.insertCursorAbove",
                                     "when": "editorTextFocus" },
{ "key": "ctrl+meta+down",        "command": "editor.action.insertCursorBelow",
                                     "when": "editorTextFocus" },

@Tyriar Again, would love your input to find better out of the box defaults

@Tyriar I think the changes for #51 also address this issue. Is that fair?

@alexandrudima did #51 change focus*Editor and copyLines*Action?

@Tyriar Sorry about that, it was getting late yesterday :smile: You're right, those ones I didn't touch

What about Ctrl+D to duplicate line?
This is used in both notepad++ and geany editors:
https://wiki.geany.org/howtos/sorted_keyboard_shortcuts
http://docs.notepad-plus-plus.org/index.php/Keyboard_And_Mouse_Shortcuts
{ "key": "ctrl+d",   "command": "editor.action.copyLinesDownAction",
                                     "when": "editorTextFocus" },

Ctrl-d is currently used for multiple cursor selection, I also use this all the time so I'd vote for that to stay as it is!

Yeah ctrl+d is quite a well known keybinding so that definitely isn't going to change.

I want to migrate to vscode but, like every body else on Ubuntu, really need to duplicate lines.
Any news about this?
What you recommend?:

change default Ubuntu keybindings? Here is how to on AskUbuntu. (I haven't tested yet. I don't want to tweak my OS coz of editor)
or change default keybindings of vscode? Is here any conflict free recommended key combination? Have any of you investigate it?

BTW Line Duplication shortcuts in different editors:
Sublime 2 use Ctrl+Shift+D
Brackets, notepad++, geany use Ctrl+D

@mattez Just customize vscode's keybindings -- File > Preferences > Keyboard Shortcuts.
[{ "key": "ctrl+shift+d", "command":"editor.action.copyLinesDownAction", "when": "editorTextFocus && !editorReadonly" }]

@alexandrudima Thank you. I'm so impatient. I edited my comment, before I read yours. Now a little ashamed.
It is a pity that the Ctrl+Shift+D is now used to Show Debug workbench.view.debug. It may not suit to all.

Hi guys, I can help with this issue if there's a final decision on it. Recently migrated to vscode and ran into this problem today

I would be hesitant to do anything here as it could break people. However, if there are keybindings that differ on Windows and Linux but they're broken on Linux maybe we could look into this.
Also this issue applies specifically to Unity on Ubuntu which is now deprecated. I haven't checked what windows management keybindings Ubuntu Gnome ships out of the box but we should target them as the primary example on Linux going forward.

Why is it not by default set to Ctrl+D and Ctrl+Shift+D for copy line up and down respectively?? Most editors have them on those bindings.

@cpxPratik since the initial version ctrl/cmd+d has been assigned to the "Add selection to next find match" command. I wasn't around to explain that decision but it's a very popular keybinding at this point so I doubt we would ever change the default.

I think it's from Sublime Text; I remember using the same shortcut for that as well.

@Tyriar I customized key-binding for copy line down with Ctrl+D and it works for both uses, i.e.  "Add selection to next find match"  too.

As we now have very many users on Linux (not only on Unity), I don't plan to make any changes to the default keybindings, as changes to the defaults will break the flow of folks not using Ubuntu + Unity.
I am sorry if this causes any grief, but it is very simple to customize keybindings. Furthermore, it is very simple to create an extension which customizes default keybindings. Such an extension could be published to the marketplace and called "Ubuntu Unity optimized keymap" etc.


Added WAF

I've used 3 of the basic AWS managed rulesets:

AWSManagedRulesCommonRuleSet
AWSManagedRulesAmazonIpReputationList
AWSManagedRulesAnonymousIpList

I've removed the Anonymous IP group as what Matt says makes sense to me - anyone fancy re-reviewing me?


修正单词拼写

Fix word spelling

could you please use english as commit message?

Do I need to close the PR and start over?


Not mobile friendly

Not sure if this was a design decision, but the app is hard to navigate in mobile and there is information missing, i.e. who has submitted availability.
iPhone 5C, safari, latest iOS
Unable to use a different browser as this is a works phone

@Bouncey Its a initial design decision. But any help to enhance this aspect will be more them welcome!

I tried this with my iPhone 5C with Safari and agree that it is complicated to navigate, but not impossible.  I was able to view an event I'd made previously, make some availability changes, and see all of the availability grid.  I had to zoom in order to use the availability grid and swipe the display to one side or the other to see the entire display.

We need to refactor the grid component to be able to zoom in and out and scroll thru the days.

I used it in Chrome on an Android phone and i noticed most parts of the website are responsive but the details page of the event(after you click "View Details") is not responsive. That makes it hard to use.
Also I am not able to swipe the grid on my mobile phone, it just doesn't respond.

@chemok78. Yap this component is the most important of the app. and is by design not responsive yet. Any help with ideas to improve that will be welcome!

Hello,
I'd like to help with this, but I am a beginner in React.
I already have everything setup and I can run a local version on my computer and phone. Any hints on where should I start?

about this @SUPERETDUPER . The main issue here is to figure out a possible refactor at the main component the grid. It's a good challenge, but maybe you need some time to understand react first.

@jrogatis I'll try and we'll see what happens :).

I think I do not have enough understanding of React to do this yet so if anyone else wants to work on this go ahead.

it's a hard one @SUPERETDUPER, this is by far the most complex component of the app...


Flow not infer function return type with generics

Hi,
I'm trying to infer a callback return type with generics.
Somehow the generic type inference works with function parameters, but not with return types:
function echo(content: T, callback: () => T) {
}
echo('string', () => {
// should flow infer return type as string here?
return 1;
});
Should Flow err in this case as the actual return type is not compatible with the assumed inferred type of string?
https://flow.org/try/#0GYVwdgxgLglg9mABHA1gHgCoD4AUEFQCmYUAXIhgDSIQCGANvQEa0QrkaIC8WitYATwCUiAN4AoAL7jxqHAHIAzlABOMMAHN51AG4MQhbrwmJEe+gYB09YhqgALRAHonyFH0Vn9hqAIAOhjCe6sCEKiqEACYeiMpqmlJCMqCQsAiIhBD2cJi4+CTEZBTUdIwsbOQ4IjwUIhLS4pnZCnHqWtRVRmLipi6x2SD00cD0cADuiCFhiBFQICpIvgExrZqI9mGEAPw9M4RzC4gAjADciSeIMkA

Please use code formatting to make your post easier to read.
Flow’s inference is working just fine. The type inferred at the second
call site is not string, but string | 1 (or string | number).
The first argument, "string", can be safely upcast from type string
to type string | 1, and the callback (() => 1) can also be taken to
return string | 1. The program is perfectly sound.
If you write echo<string>("string", () => 1); to explicitly specify
the type parameter, Flow indeed raises an error as you expected.

@wchargin is correct.

Just verified babel-eslint 9 is compatible with this feature now. It's a happy day! Thanks a lot!


error during http roundtrip to /clientapi/editor/event: [Errno 61] Connection refused

When trying to use any Github commands I get on the console:
error during http roundtrip to /clientapi/editor/event: [Errno 61] Connection refused
error during http roundtrip to /clientapi/editor/event: [Errno 61] Connection refused
error during http roundtrip to /clientapi/editor/event: [Errno 61] Connection refused
error during http roundtrip to /clientapi/editor/event: [Errno 61] Connection refused
error during http roundtrip to /clientapi/editor/event: [Errno 61] Connection refused
error during http roundtrip to /clientapi/editor/event: [Errno 61] Connection refused

Sublime 3126

I don't know. I works perfectly for me.
Could you try to install GitSavvy the less simple way? https://github.com/divmain/GitSavvy#less-simple

@stoivo are you on mac and have commit signing on by default?

@stoivo Just did, same thing. turns out the connection errors were from something else.
  Connection refused errors typically result from connectivity issues.

@stoivo
$ git --version
git version 2.12.0
hub version 2.2.9

$ git remote -v
origin	git@github.com:divmain/GitSavvy.git (fetch)
origin	git@github.com:divmain/GitSavvy.git (push)

$ git rev-parse --abbrev-ref --symbolic-full-name '@{u}'
origin/master

$ git branch -a -vv --no-abbrev
* master                                           ed1c70c4205fbd00f3f53b549ebeeb6dd0b6e781 [origin/master] Allow user to stash only changes that have been staged.
  remotes/origin/HEAD                              -> origin/master
  remotes/origin/encoding_inlinediff               78632c3b14b33c47b7856ff3bc0ffb632541563d Merge branch 'encoding_inlinediff' of https://github.com/divmain/GitSavvy into encoding_inlinediff
  remotes/origin/feature/better-base-ref-detection c5e13d467989a2d6a60aed575bfba25335ed00a4 Add more debugging and avoid infinite loop
  remotes/origin/gitlab-support                    8189f46a533f6958881caa2cd72c48b8e6b19b62 GitLab placeholder.
  remotes/origin/master                            ed1c70c4205fbd00f3f53b549ebeeb6dd0b6e781 Allow user to stash only changes that have been staged.

@divmain no firewall, different networks, those errors were from another package.

Sorry, I had missed that.  This is definitely a bizarre bug.  For this error to occur, parse_remote would have to return None either here or here.  Based on the output of the Git commands @stoivo asked for, I don't see how either of those is possible.  Because you're using divmain/GitSavvy as the example here, I stepped through the individual git commands to see where an issue might manifest, and I couldn't find anything.  One more question, and I'll have to think about this a bit... Do you have a git_path specified in your GitSavvy.sublime-settings?

I added a branch called (issue612)[https://github.com/divmain/GitSavvy/tree/issue612] which add 3 print statements which could help.

@stoivo It works on the GitSavvy project for example.   So it did work with the GitSavvy repo?  I'll take a look at hammerspoon.

From the git remote printout, we may be looking at fixing the parse_remote
method
On Sat, Mar 4, 2017, 07:28 Dale Bustad<EMAIL_ADDRESS>wrote:

Oh! So it did work with the GitSavvy repo? I'll take a look at hammerspoon
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/divmain/GitSavvy/issues/612#issuecomment-284131843,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATn8BhKfnJo5W9L6XVrEDL1GAmsOUsrks5riQR1gaJpZM4MRXS1
.

I'm unable to reproduce in the hammerspoon repo either.  @aristidesfl, can you pull down @stoivo's issue612 branch, run GitSavvy off that, and report back on output in the terminal when running github: create pull request command?

@divmain
On GitSavvy it works fine, but on hammerspoon:
remote_branch.remote origin
self.get_remotes() OrderedDict([('origin', 'git://github.com/Hammerspoon/hammerspoon.git')])
github.parse_remote(self.get_remotes()[remote_branch.remote]) None
Traceback (most recent call last):
  File "/Users/user/Library/Application Support/Sublime Text 3/Packages/GitSavvy/github/commands/pull_request.py", line 180, in run_async
    owner = github.parse_remote(self.get_remotes()[remote_branch.remote]).owner
AttributeError: 'NoneType' object has no attribute 'owner'

The usual syntax offered by github when cloning is "git@github.com:Hammerspoon/hammerspoon.git", parse_remote supports this or "http" prefix.
We can add it, but question if there are any other syntax we're missing, I'll add a PR meanwhile

@asfaltboy it makes sense now. I used https://github.com/github/hub to clone that repository.


cmd/go: "mod tidy" doesn't delete go.sum when go.mod has no dependencies

It's not really a big deal, but I occasionally find myself having to manually delete go.sum files after removing all external dependencies from a project.
Steps to Reproduce

Create a project
Add an external dependency
Execute go mod vendor
Note how go.sum has been created
Remove the external dependency from the code
Execute go mod tidy
Note how the go.sum file is now empty.

Conversely, if you had never added an external dependency and executed go mod vendor, go.sum would have never been created, and the following error would have been displayed instead:
go: no dependencies to vendor

https://github.com/golang/go/blob/1ac45e026b2cbae91e3495e2cc6e93b6d505b4f4/src/cmd/go/internal/modcmd/vendor.go#L190-L193

cc @matloob @bcmills

I suspect this is the same as #36236. (Please comment otherwise.)


Shift+Scrolling over DataFrames scrolls both horizontally and vertically

Using shift+scroll over an outputted Pandas DataFrame scrolls the entire notebook up and down and the DataFrame left and right. It should only scroll the DataFrame left and right.
This new behavior started happening in the new native notebooks update.
Environment data

VS Code version: 1.58.2
Jupyter Extension version (available under the Extensions sidebar): v2021.8.1046824664
Python Extension version (available under the Extensions sidebar): v2021.7.1050252941
OS (Windows | Mac | Linux distro) and version: Windows 10 Pro Version	10.0.19042 Build 19042
Python and/or Anaconda version: 3.8.10
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
Holding shift and scrolling over a Pandas DataFrame should only scroll horizontally.
Actual behaviour
Holding shift and scrolling over a Pandas DataFrame scrolls both horizontally and vertically.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Create a wide (overflowing) DataFrame and output it:

import pandas as pd
import numpy as np
pd.set_option('display.max_columns', 100)

pd.DataFrame(np.ones((5,100)))

With the mouse over the outputted DataFrame, hold shift and scroll. The DataFrame will scroll left and right as expected, but the entire notebook will also scroll up and down (not expected).

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Fixed already in Insiders.


update antd-mobile to v2

dependencies updated to latest versions
koubei icon gone, replaced with up
viewport method changed from hd to meta per migration guide
url changed to router withRouter() per next migration docs
this.state -> setState per console deprecation notice
Icon -> CustomIcon per antd-mobile 2x migration docs
tiny bit of formatting intelij must have done (hope that is ok)

@HaNdTriX  Thanks for taking a look!  I noticed that client/server mismatch console error but sadly have no idea how to fix.  (Closest hint I could find was this post).   Since this example didn't run at all when I tried it, I didn't confirm if that is an existing issue in example code or due to antd version upgrade I did.  I am hoping my changes to at least get this thing runnable will at least avoid complete new user frustration until someone more experienced than I can push a fix for that console error.

@HaNdTriX Could you try importing the css
Layout.js
import "antd-mobile/dist/antd-mobile.css"
next.config.js
const withCss = require("@zeit/next-css");
...
module.exports = withCss({ ... })

I seem to be hitting this: https://github.com/zeit/next.js/pull/1352 but I am unsure if this is a bug in Next.js or if users are required to put something in next.config.js to handle normalize.css?

@Enalmada I tried it but it worked with my next.config.js.
const withCss = require('@zeit/next-css')
module.exports = withCss()

What next.js version are you using?
Currently I also don't have an idea whats causing the client/server mismatch. Maybe it`s an antd-mobile issue?

@HaNdTriX I am using next 7.0.2.   Looks like your example just got merged...thank you for your help getting antd-mobile example working on latest next!


Dead link https://technet.microsoft.com/library/hh848628.aspx

Found in docs/security/websitesettings.md

@KathrynEE Sorry to have held on to this issue so long, I thought I had bulk updated them, but my updates didn't include technet and I don't know this area well enough to replace it with the new links.

@nschonni - Thank you for reporting this issue. I'm fixing the content and it should be live later today.


WIP: Add ValidatePath argument validation

PR Summary

This PR implements a new argument validation for path arguments.
The new validation class checks if a file or path exists.
TODO:

[ ] Add tests
[ ] Add documentation

PR Context

I've provided my motivation in #10249
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[x] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[x] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

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


Added extension point for custom delta requests

https://github.com/apache/tomcat/pull/240

Thanks for the additional PR. I've back-ported the original fix to 9.0.x, 8.5.x and 7.0.x along with a comment that explains why the code has been added.


✨ feather files

:tada: This PR is included in version 1.18.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

@robjellis ask and you shall receive


Integrate sorald buildbreaker as a workflow job

Fixes #50

Failed to resolve action download info. Error: Unable to resolve action `SpoonLabs/sorald-buildbreaker@45bafb6`, the provided ref `45bafb6` is the shortened version of a commit SHA, which is not supported. Please use the full commit SHA `45bafb6db29a466080328864cecf9b20d9ace3de` instead.

I mean if the action is aware which commit I am referring to, why not just execute it 🤦♂

@slarse if the sorald has nothing to repair or it repairs everything successfully, will those changed be committed in the PR?
Currently, it is breaking at one place (violating 1118). I will fix that and push the changes.

Just pushing to a PR without asking is kind of rude

Agreed!

A short hash is significantly more likely to cause a hash collision than the full hash is.

I get that but GitHub and git also consider 7 characters to uniquely identify a hash so that's why I was skeptical about the error. 😅
Yes, we can merge!

A short hash is significantly more likely to cause a hash collision than the full hash is.

I get that but GitHub and git also consider 7 characters to uniquely identify a hash so that's why I was skeptical about the error. sweat_smile

I wouldn't put it like that. The short hash is typically considered to be unique enough that the chance for an accidental collision within a project is pretty unlikely. However, the "old" SHA1 was broken by researches (Git now uses a modified SHA1) even at the full 160 bit size (20 characters). But as SHA1 has been broken before, it may be again, it's generally considered to be "not the best" hashing algorithm. There is in fact talks of moving Git to a stronger hash.
 This is especially dangerous with something like GHA, where the actions potentially gain access to secrets in other projects.

@monperrus Thanks to @algomaster99's initiative, we now have sorald-buildbreaker running on diffmin :)

Reducing the hash size to just 56 bits obviously makes SHA1 even weaker, and so a malicious agent purposefully engineering a commit with a hash collision becomes more plausible. This is especially dangerous with something like GHA, where the actions potentially gain access to secrets in other projects.

I did not imagine the consequence could be so profound! It is great to learn stuff like this. :)

Thanks to @algomaster99's initiative, we now have sorald-buildbreaker running on diffmin :)

Oh super nice! Our goal is to have sorald-buildbreaker on all active Java projects in the group (Spoon, Depclean, Pankti, Repairnator, etc.).


feat(abs): add docs, design, spec

Ref https://github.com/coreos/etcd-operator/pull/1237
[skip ci]

lgtm. defer to @hongchaodeng

lgtm. merging.


Update exe2hex.py

(PoSH) .cmd result was written into .hex, and deleted next line. no exe was generated

Nice catch! =)


Maintenance: Add git flow as workflow

Use git flow for better branching.

https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
https://danielkummer.github.io/git-flow-cheatsheet/index.html

Setup:

macOS brew install git-flow-avh
linux apt-get install git-flow
windows Cygwin wget -q -O - --no-check-certificate https://raw.github.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh install stable | bash

As git glow is a client side feature, everybody can decide whether or not to use this feature. The following settings are recommended:

"production releases": stable
"next release": master
"feature": feature
"bugfix": bugfix
"release": release
"hotfix": hotfix
"support": support
"version tag prefix": ``


Provide tracing-datadog-addr option

Referencing recent agent release (3.27.0) and https://github.com/buildkite/agent/pull/1273

Hey @GaryPWhite thanks for adding this.
What do you think about adding a brief description instead of linking the GitHub issue? And maybe adding the environment variable and backlinking from https://buildkite.com/docs/pipelines/environment-variables ?

I definitely will -- I think I may need to edit this branch as now I'm seeing the original post on the PR may not match the code changes -- stand by 😄

yep -- looks like the option was changed to either BUILDKITE_TRACING_BACKEND or tracing-backend -- by default it would be "" but can be set to datadog in order to send metrics to <IP_ADDRESS>:8126 -- i'll update the docs.

will add a more meaningful description / env var when I confirm this configuration works!

alrighty @plaindocs thanks for the input! put in a more useful decription and environment variable. Can confirm they work 👍

committed changes! Thanks for the help, folks!


Objects not identical when using container collaboration

Hello,
First of all, thanks to all for making this well-documented and easy to use (most of the time) framework :) I'm having a hard time understanding why someClass1 and someClass2 in my Playground code below are not pointing to the same object as someClassFromSecondContainer. Because SomeClass/SomeProtocol is registered as a singleton and rootContainer and secondContainer are collaborating I would expect that a resolve via secondContainer would point to the same object as a resolve via rootContainer.
I'm resolving with rootContainer twice in my code below (someClass1 and someClass2) to prove that multiple resolves of a singleton from the the same container do indeed point to the same object, however, a resolve from a collaborating container does not.
Is this a bug in Dip or is this expected behaviour? Thanks so much for your help :)
import Dip

protocol SomeProtocol { }
class SomeClass: SomeProtocol { }

let rootContainer = DependencyContainer() { c in
    c.register(.Singleton) { SomeClass() as SomeProtocol }
}

let secondContainer = DependencyContainer() { c in
    // ... Normally I would register some other things here
}

rootContainer.collaborate(with: secondContainer)
secondContainer.collaborate(with: rootContainer)

let someClass1 = try? rootContainer.resolve() as SomeProtocol
let someClass2 = try? rootContainer.resolve() as SomeProtocol
let someClassFromSecondContainer = try? secondContainer.resolve() as SomeProtocol

if let someClass1 = someClass1 as? SomeClass,
let someClass2 = someClass2 as? SomeClass,
let someClassFromSecondContainer = someClassFromSecondContainer as? SomeClass {

    unsafeAddressOf(someClass1) // "UnsafePointer(0x7FCDB05131B0)"
    unsafeAddressOf(someClass2) // "UnsafePointer(0x7FCDB05131B0)"
    unsafeAddressOf(someClassFromSecondContainer) // "UnsafePointer(0x7FA9B1531710)"

    someClass1 === someClass2 // true
    someClass1 === someClassFromSecondContainer // false
    someClass2 === someClassFromSecondContainer // false
}

Hi @basalphenaar. Can you check the same in the app instead of playground? Sometimes I got weird behaviour in playgrounds. I will take a look at this issue later. Thank you!

Indeed there is an issue in the framework, thanks for pointing it out! Fix will follow soon.

@ilyapuchka Thanks for the insanely fast fix, will try it out immediately tomorrow!

@ilyapuchka seems it's not working 100% right
I'm running tests in release 4.6.1
When resolving after collaboration, all is ok
    let container1 = DependencyContainer()
    container1.register(scope) { ServiceImp1() as Service }

    let container2 = DependencyContainer()
    container2.collaborate(with: container1)

    let service1: ServiceImp1 = try! container1.resolve()
    let service2: ServiceImp1 = try! container2.resolve()

    XCTAssertTrue(service1 === service2) // ok

In this case services are not equal
    let container1 = DependencyContainer()
    container1.register(scope) { ServiceImp1() as Service }
    let service1: ServiceImp1 = try! container1.resolve()

    let container2 = DependencyContainer()
    container2.collaborate(with: container1)
    let service2: ServiceImp1 = try! container2.resolve()

    XCTAssertTrue(service1 === service2) // failed

@sergthedeveloper thanks for mentioning that. If you look at the implementation of collaborate(with:) method you will see that it overrides resolved instances pool of container in parameter with resolved instances pool of container on which this method is called so that they share those pools. So here it will override instances pool of container1 which contains resolved instance with instances pool of container2 which is empty. And on next resolve it creates new instance. That might be considered as a bug, but I would strongly discourage from using containers like that and only resolve after they are fully set up.

@ilyapuchka
Ok, I see. Here is my scenario:
I have one root container with application-wide services (like ServerApi or Preferences or whatever) and some scoped containers for separate screens or user stories with story-oriented services (like PurchaseModel).
Scoped container depends on root and meant to be initialized later, when corresponding screen or user story begins and destroyed when story ends (container's reset() method should do the trick, right?).
So my concern was to make subcontainers depending on (collaboration with) root container.
All of these subcontainers should be using the same instance of ServerApi or Preferences from root, whenever they are instantiated.
What I'm doing now is registering already instantiated objects, not factories, in root container.
But it kills benefit of lazy instantiation.
Any advice?

@sergthedeveloper there is no reason to create containers later at runtime. They are lightweight and basically store just two maps between definition key and definition and instances pool for singleton scoped definitions only. So you can simply set them up right away. There is no need to call reset on container too as it will remove all registered definitions, not just resolved instances. Also it will make you reference container in your code, which is also strongly discouraged. Basically reset might be helpful for tests.
If I understood correctly you want to re-instantiate some graph of objects specific for some user story when user goes into it. For that you should have some root object in that graph scoped as WeakSingleton. So when user leaves user story you simply nilify all references to this object that you have in your code and then the whole graph will be deallocated (as container holds a weak reference to such instances). The rest of the setup does not change. You still register root components in a root container and user story specific components in separate containers. And make them to collaborate with root container.
You can look into VIPER-SWIFT example and play with it, there are a lot of comments to help and about using weak singletons too. I hope it will help.

@ilyapuchka thanks, will have a look!


Distinguish energy balance from the energy balance sector division

Description of the issue
We currently have two sector division individuals, that are related to energy balances:

german energy balances: Das Schema der Energiebilanzen umfasst eine Matrix von 33 Spalten und 68 Zeilen (einschließlich der Summenspalten und -zeilen).  In der vertikalen Gliederung (Zeilen) werden für die jeweiligen Energieträger Aufkommen, Umwandlung und Verwendung erfasst. [...]
eurostat energy balances: The concept of "energy balance" is an accounting framework for the compilation and understanding of data on all energy products entering, exiting and being used in a country. The energy balance is the most complete statistical accounting of energy products and their flow in the economy. Columns of the energy balance represent energy products (fuels). Rows represent energy flows. [...]

(Definitions shortened here, as they are very long.)
However, energy balance itself is a useful concept for the OEO, as national or European energy balances are often one of the primary data sources for historic data in energy modelling. Also modelling itself often tries to mimic  the energy balances.
Ideas of solution

Relabel german energy balances to german energy balance sector division and eurostat energy balance to Eurostat energy balance sector division.
Define a new class energy balance.
As there are different methodologies how to calculate energy balances, maybe do something similar as we did for primary energy consumption and introduce something like a energy balance calculation method energy balance accounting method with different subclasses. These methods itself might relate to the primary energy consumption calculation method subclasses as calculation of primary energy consumption is part of the energy balance calculation/accounting.

Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

Proposals for new classes:

energy balance: An energy balance is an empirical data set that describes all major energy transformations in a spatial region for a specific time step (usually a year).
energy balance calculation method: An energy balance calculation method is a methodology to calculate an energy balance.
Axiom: 'energy balance calculation method' 'has part' some 'primary energy calculation method'
energy balance sector division: An energy balance sector division is a sector division that is defined by an energy balance calculation method.
Axiom: 'energy balance sector division' 'is defined by' some 'energy balance calculation method'

Improve existing sector division individuals:

Relabel german energy balances to German energy balance sector division
Relabel eurostat energy balances to Eurostat energy balance sector division

We could also add an energy balance sector: An energy balance sector is a sector defined by an energy balance sector division.
'energy balance sector' EquivalentTo: sector and ('is defined by' some 'energy balance sector division')

@stap-m @han-f : Any thoughts on this issue?

@OpenEnergyPlatform/oeo-domain-expert-energy-modelling : Any thoughts on this?

Nitpicking:

energy balance: An energy balance is an empirical data set that describes all major energy transformations in a spatial region for a specific time step (usually a year).

Begs the question what "major energy transformations" are.  Where's the cut-off?  From my understanding, both the German and European (as well as the IEA) Energy Balances claim to describe all energy transformations – they just lump some down to some "other" category.
So I would just drop the "major".
There might also be some limitation of scope in addition to time and space, both in theory (so where the ontology is concerned), but also in reality in the named balances.  Specifically, energy consumption by the military (and by extension GHG emissions) are not reported, their size non-withstanding.  There might be other energy balances focused only on some part of the economy.
So it's not "all" energy transformation, just "a specified set".
Most people would intuitively think of energy balances as time series.  If an energy balance describes one year, are energy balances covering 1970-2022 then 52 different balances?  Same for "spatial region".  The IEA Energy Balances don't cover one spatial region, but 200 countries or so.  I haven't looked, but I'm confident the European Energy Balances are on country-level, too.

energy balance: An energy balance is a time series that describes a specified set of energy transformations in one or more spatial regions.

Thank you for this detailled feedback.
With all major energy transformations I meant that not every energy transformation that exists in an economy is explicitely modelled in an energy balance but that these are abstracted and lumped together. I like your proposal part of a specified set energy transformations. That describes much better what I meant.
Regarding the scope, I was not aware that military is excluded in some energy balances (and GHG data). At least in the case of Germany, which I am most familiar with, energy consumption of the military is included in the energy balance[^1] and in the greenhouse gas inventories[^2]. However, as you brought evidence that this is not the case, this further justifies the specified set part of your proposal.
However, I disagree that with the is a time series part of your proposal. You can create a time series of energy balances but in my view this is something else than the energy balance itself. In my understanding, an energy balance is an internally consistent data set which follows a certain structure describing energy flows and energy carriers. And important: it is balanced within one time step. Thus it is one balance for the year 2019 and a second balance for the year 2020. Also my understanding is, that an energy balance is always for one spatial region. But of course, this spatial region can encompass more than one country. Energy balances for the European Union cover of course cover 27 countries. But in the energy balance of the EU, the details of the member states are lost as the data are represented for exactly one region. The data of the energy balance is balanced within one time step and within one spatial region. But it is not balances across different time steps or different across regions.
To be very specific and look at an example: Eurostat provides this file: Balances-December2022.zip It is a large zip file containing various Excel files (and other files, but let's ignore these). Each Excel file depicts a spatial region (country, EU, Euro zone) and has various sheets. To me, one sheet contains one energy balance, as it is one set of internally consistent = balanced data. That is what I try to define.
The Excel file would be something like a time series of energy balances and the zip file something like a collection of time series. I would neither call the zip file nor the Excel file an energy balance.
This is why I like t keep the empirical data set and in a spatial region for a specific time step (usually a year) parts of my proposal.  But I am open to additionally add classes for time series and/or collections of energy balances.
Finally, one aspect of energy balances is still missing, namely that it has not only a specified set of energy transformations but also a specified set of energy carriers.
So combining everything, here is my new proposal.

An energy balance is an empirical data set that describes a specified set of energy transformations and a specified st of energy carriers in a spatial region for a specific time step (usually a year).

Further we can add something like a energy balance collection:

An energy balance collection is a X of energy balances for various time steps and/or temporal region.

I am not sure, what the best parent class X would be. If X is a data set, then that basically would mean that an energy balances collection would be a data set consisting of data sets.
An other option for X would be database: A database is an information content entity that stores data items and data sets.
[^1]: As part of the sector "Gewerbe, Handel und Dienstleistungen".
[^2]: Germany reports fuel consumption and the associated GHG emissions in the CRF sector 1.A.5 as recommmended by the 2006 IPCC Guidelines for Greenhouse Gas Inventories (Volume 1, Table 8.2: "Include emissions from fuel delivered to the country’s military not otherwise included separately in 1 A3 a i as well as fuel delivered within that country but used by militaries of other countries that are not engaged in multilateral operation pursuant to the Charter of the United Nations."

Sound reasoning.  I would go for the data set, but have no strong feelings either way.


Online Status changes between Online and absent even if the chat is open

My Setup

Operating System: Windows 10 Pro x64 build 17134.407
App Version:  2.14.4
Installation type: exe

[x] I have tested with the latest Version
[x] I can simulate the issue easily

Description

My Status is changeing permanetly between online and absent even if it set the Status to online. Therefore I get every message also as an E-Mail which is anoying.
Current Behavior

Client is set to absent
Expected Behavior

That I stay Online when I'am online

away was set on Server to 0.3 ms


Build folly error 'scm_timestamping' does not name a type

Problem description
centos7
log:
/tmp/velox-deps/folly/folly/io/async/AsyncSocket.cpp:216:7: error: 'scm_timestamping' does not name a type; did you mean 'SN_ad_timeStamping'?
  216 | const scm_timestamping* FOLLY_NULLABLE
      |       ^~~~~~~~~~~~~~~~
      |       SN_ad_timeStamping
/tmp/velox-deps/folly/folly/io/async/AsyncSocket.cpp: In member function 'folly::Optional<folly::AsyncSocketObserverInterface::ByteEvent> folly::AsyncSocket::ByteEventHelper::processCmsg(const cmsghdr&, size_t)':
/tmp/velox-deps/folly/folly/io/async/AsyncSocket.cpp:515:27: error: 'cmsgToScmTimestamping' was not declared in this scope
  515 |   } else if (auto scmTs = cmsgToScmTimestamping(cmsg)) {
      |                           ^~~~~~~~~~~~~~~~~~~~~
[235/330] Building CXX object CMakeFiles/folly_base.dir/folly/json/JSONSchema.cpp.o
ninja: build stopped: subcommand failed.
+ echo 'build failed'
build failed
+ exit 1

There is a similar issue https://github.com/facebookincubator/velox/issues/7714 .
And i edited ep/build-velox/src/setup-centos7.sh
cmake_install folly -DBUILD_TESTS=OFF -DFOLLY_HAVE_INT128_T=ON -DCMAKE_CXX_FLAGS='FOLLY_HAVE_SO_TIMESTAMPING'

But it did not work.
System information
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CMake log
No response

@PengleiShi, which gluten version are you using? We have a weekly job to build main branch on centos-7 docker. At least this week's job doesn't report any issue.
https://github.com/apache/incubator-gluten/blob/main/.github/workflows/velox_weekly.yml

@PHILO-HE I use main branch .  I added -DFOLLY_HAVE_SO_TIMESTAMPING=0 in make command, the problem above has been solved but occured another failure
[320/330] Building CXX object folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o
FAILED: folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o
/opt/rh/devtoolset-9/root/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFOLLY_XLOG_STRIP_PREFIXES=\"/tmp/velox-deps/folly:/tmp/velox-deps/folly/_build\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/tmp/velox-deps/folly -I/tmp/velox-deps/folly/_build -march=native -std=c++17 -mno-avx512f -mbmi2 -DFOLLY_HAVE_SO_TIMESTAMPING=0 -std=gnu++17 -fPIC -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -pthread -MD -MT folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o -MF folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o.d -o folly/CMakeFiles/follybenchmark.dir/Benchmark.cpp.o -c /tmp/velox-deps/folly/folly/Benchmark.cpp
/tmp/velox-deps/folly/folly/Benchmark.cpp: In member function 'void folly::{anonymous}::BenchmarkResultsPrinter::print(const std::vector<folly::detail::BenchmarkResult>&)':
/tmp/velox-deps/folly/folly/Benchmark.cpp:511:28: error: expected ')' before 'PRId64'
  511 |               printf("  %*" PRId64, int(name.length()), ptr->value);
      |                     ~      ^~~~~~~
      |                            )
/tmp/velox-deps/folly/folly/Benchmark.cpp:511:26: warning: conversion lacks type at end of format [-Wformat=]
  511 |               printf("  %*" PRId64, int(name.length()), ptr->value);
      |                          ^
/tmp/velox-deps/folly/folly/Benchmark.cpp:511:22: warning: too many arguments for format [-Wformat-extra-args]
  511 |               printf("  %*" PRId64, int(name.length()), ptr->value);
      |                      ^~~~~~

Alos when build fooly. I will setup a clean docker env to build.

Please follow this document to build velox. Does this problem exists? I think we could close it. @PengleiShi

Please follow this document to build velox. Does this problem exists? I think we could close it. @PengleiShi
This issue has been resolved, i'll close it.


Explicitly check Python types of BQ EXPORT pipeline outputs.

Ensuring that the outputs of running a BQ EXPORT pipeline are of the expected datatypes.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @kmjung

Does this run against read API-based sources as well, or just export at this point?

I ran this locally with the Read API based sources as well and did not have any issues.

@vachan-shetty ping? : )


iOS issue with Forms <IP_ADDRESS>46

Thanks a lot for this layout! It does exactly what I was looking for.
Unfortunately after testing it with Xamarin Forms <IP_ADDRESS>46 there now is a strange rendering issue on iOS: The content of the PullToRefreshLayout is visible in the background when pulled down.
Screenshot:

Do you have any idea how this could be fixed in the iOS renderer?
I pushed a version of your project with the unstable forms version here: https://github.com/philippd/Xamarin.Forms-Awesome-Controls

I updated the isse because the same thing happens in the stable release <IP_ADDRESS>46

I'm seeing the same behaviour. Only tried the component it with stable release <IP_ADDRESS>46.

@eli-ums If you set the BackgroundColor of the PullToRefreshLayout it will work just fine

Thanx a lot! that did the trick, and saved me a couple of hours of frustration :)

Updated in latest package.

I didn't change the default background to white though, seems like you can set that manually.


batched/partitioned multistep stage

Coverage decreased (-1.3%) to 88.615% when pulling 42f3cecb1536c9b0fd13626bb84a25d4efd5c57d on batchmulti into 14c7fab86951ad1624795f50db162851dd5ccf92 on master.

Coverage decreased (-1.3%) to 88.615% when pulling f80ad311d6ecbdb13e56e77677902646452aa95a on batchmulti into 14c7fab86951ad1624795f50db162851dd5ccf92 on master.

Coverage decreased (-1.3%) to 88.615% when pulling b89d38c1629f99b1618d45dbaa2067fdcdb43864 on batchmulti into 14c7fab86951ad1624795f50db162851dd5ccf92 on master.

Coverage decreased (-1.3%) to 88.615% when pulling 74489d22d2f7aafebc7271384e66b05e82edd095 on batchmulti into 14c7fab86951ad1624795f50db162851dd5ccf92 on master.

Coverage decreased (-0.8%) to 89.121% when pulling 74489d22d2f7aafebc7271384e66b05e82edd095 on batchmulti into 14c7fab86951ad1624795f50db162851dd5ccf92 on master.

Coverage decreased (-0.8%) to 89.121% when pulling 74489d22d2f7aafebc7271384e66b05e82edd095 on batchmulti into 14c7fab86951ad1624795f50db162851dd5ccf92 on master.


UnexpectedError on /rows for splits with images

https://huggingface.co/datasets/diegomiranda/teste-new-repo-1/discussions/1

The dataset viewer is not working.
Error details:
Error code:   UnexpectedError

Hi,
I'm encountering an issue with loading images in the dataset. I'm working with five datasets: three of them include both images and CSV files, while the remaining two contain only CSV files. When I test the datasets with only CSV files, everything works fine. However, I'm facing challenges when working with the datasets that include images. I would greatly appreciate any assistance or guidance on resolving this matter.

who wants to work on it @huggingface/datasets-server?

https://huggingface.co/datasets/diegomiranda/teste-new-repo-1/viewer/images_new_data

Error code:   UnexpectedError

https://datasets-server.huggingface.co/statistics?dataset=diegomiranda%2Fteste-new-repo-1&config=images_new_data&split=train

{"error":"An error occurred while generating the dataset"}

https://datasets-server.huggingface.co/rows?dataset=diegomiranda%2Fteste-new-repo-1&config=images_new_data&split=train&offset=0&length=100

{"error":"An error occurred while generating the dataset"}

No extra logs...

For first-rows it is getting "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte\n"

The dataset no longer exists...


fix: allow to have queryplans with different options

Currently, I'm unable to instantiate two different query plans.

Makes sense.


Error running locally

Attempting to run locally, hitting the following error:
AttributeError: 'int' object has no attribute 'startswith'
which is on line 90 in the dicts.py:
        if path.startswith("/"):
From debugging, the path variable is evaluated as a 1 (int).
I'm not sure where this path value is coming from and why its bringing in an int.
Trace:
cd /Users/n02/src/powerproxy-aoai/app ; /usr/bin/env /usr/local/bin/python3.11 /Users/n02/.vscode/extensions/ms-python.python-2024.4.1/python_files/lib/python/debugpy/adapter/../../debugpy/launcher 56169 -- powerproxy.py --config-file ../config/config
.local.yaml
------------------------------------
PowerProxy for Azure OpenAI - v0.0.0
------------------------------------
Proxy runs at port              : 80
Clients identified by API Key   : Team1, Team2
ERROR:    Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 732, in lifespan
    async with self.lifespan_context(app) as maybe_state:
  File<EMAIL_ADDRESS>line 210, in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
  File "powerproxy.py", line 65, in lifespan
    config.print()
  File "/Users/n02/src/powerproxy-aoai/app/helpers/config.py", line 49, in print
    f"{self['fixed_client'] if 'fixed_client' in self and self['fixed_client'] else '(not set)'}",
                               ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/n02/src/powerproxy-aoai/app/helpers/config.py", line 32, in __getitem__
    return self.values_dict[key]
           ~~~~~~~~~~~~~~~~^^^^^
  File "/Users/n02/src/powerproxy-aoai/app/helpers/dicts.py", line 11, in __getitem__
    return self.get(key)
           ^^^^^^^^^^^^^
  File "/Users/n02/src/powerproxy-aoai/app/helpers/dicts.py", line 33, in get
    keys_from_path = QueryDict._get_keys_from_path(path, separator, escape_sequence)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/n02/src/powerproxy-aoai/app/helpers/dicts.py", line 90, in _get_keys_from_path
    if path.startswith("/"):
       ^^^^^^^^^^^^^^^
AttributeError: 'int' object has no attribute 'startswith'

ERROR:    Application startup failed. Exiting.

Is this an issue with the config yaml and if so do you have an example for running locally?
Thanks

Hi @sterankin, thanks for reaching out. Looks like there was a bug. I have fixed it, and it should be working now.


Add new operators

This PR adds support for the Sign and LogSoftmax operators. Limited tested on a couple of models.

Hello @teobaluta .
Thank you for your PR. I'll check & merge hopefully this week.
Can you also implement corresponding tests (located in test directory) ?

Hello @teobaluta .
Thank you for your PR. I'll check & merge hopefully this week.
Can you also implement corresponding tests (located in test directory) ?


fatal error when trying to use Chatto in ObjC project

Hello,
I really want to use Chatto in my nearly finished project which is written in Objective C. I followed instructions and made my XCode project hybrid and I am able to import swift libraries. Since it is not possible to subclass a swift class in objc, i created a swift UIViewController class and inside there subclassed ChatViewController just like in the Chatto example project(DemoChatViewController.swift). Also I am instantiating this class through stroyboard instantiating and viewDidLoad does not run. Later on i did it in code by [[DemoChatViewController alloc] init] but this time class runs as expected. However i get a runtime exception stating:
"fatal error: unexpectedly found nil while unwrapping an Optional value"
on the line:
return BaseMessageHandler(messageSender: self.messageSender)
Is it not possible to use Chatto in an ObjC project? or am I doing something wrong? Please help needed

That means that messageSender is nil when trying to create BaseMessageHandler. Take a look how the view controller is initialized in ChattoApp
[...]
chatController.dataSource = dataSource
chatController.messageSender = dataSource.messageSender

But you probably want to delete that property and use your own message handler / sender

@diegosanchezr thanks for pointing me to the right direction. I managed to make Chatto work in my ObjC project.
I only needed to make some small adjustments to DemoChatViewController. Maybe somebody might need it so the change is as follows:
```
var messageSender: FakeMessageSender!
var dataSource: FakeDataSource

lazy private var baseMessageHandler: BaseMessageHandler = {
    return BaseMessageHandler(messageSender: self.messageSender)
}()

required init?(coder aDecoder: NSCoder) {
    //dataSource = FakeDataSource(count: 0, pageSize: 0)
    dataSource = FakeDataSource(messages: TutorialMessageFactory.createMessages().map { $0 }, pageSize: 50)
    messageSender = dataSource.messageSender
    super.init(coder: aDecoder)
}
override func viewDidLoad() {
    super.viewDidLoad()
    self.chatDataSource = self.dataSource
    ...

Hi, I faced same problem and solved with code above. thanks 😀 👍


Plugin or Key for H0Y0 assets?

Hi,
Sorrry for bothering you but can update your key list or make a plugin to make it work with H0Y0 assets.

3/1/2023 - They update content and Lasted Ver of H0Y0Sudio i had can't read the object shader anymore :<
Thank you. very appreciated

Btw Do we have any communication place to join ? like Discord ?

Greetings,
That is another tool, it has been updated.
There is one, but it's currently locked.

Greetings,
That is another tool, it has been updated.
There is one, but it's currently locked.

Oh, can u give me the url of that tool ?
Just DM me in Discord : Victorious#9216 or though email
Thank you so much, very appreciated.

Hi, I'm also interested in the AssetStudio version for the hoyo games, can you also send it to me? my discord is this RafaMR14#1692


Manage pool

Hi,  thanks for you create this and its helpful!
I know there's function to manage pools in python. But seems not support here.
Would you please add manage pool functions?

Hi,
http://ceph.com/docs/master/rados/api/python/#manage-pools
I suppose you'd like to see the create_pool and delete_pool methods? We already have the pool_list() method (list_pools in the Python bindings).

I just add pool_create () and pool_delete (). To be tested ...

That's great, thank you!

Hi, I try 'npm install rados' to update the module but the latest code seems not involved. And then I try to clone the module from web and run 'npm install nan; node-gyp rebuild'; then I could see the code in rasod.h has updated, but as I call 'cluster.create_pool('test_pool');', and I got :
Object # has no method 'create_pool'
Could you please help about this? or any suggestion to check?

Hi,
I updated the npm package with new functions.
Laurent
Le 16/01/2015 10:56, wcc21320 a écrit :

Hi, I try 'npm install rados' to update the module but the latest code
seems not involved. And then I try to clone the module from web and run
'npm install nan; node-gyp rebuild'; then I could see the code in
rasod.h has updated, but as I call 'cluster.create_pool('test_pool');',
and I got :
Object # has no method 'create_pool'
Could you please help about this? or any suggestion to check?
—
Reply to this email directly or view it on GitHub
https://github.com/ksperis/node-rados/issues/11#issuecomment-70231423.

Hi, it works fine, thanks a lot!


RSDK-9590 - upgrade numpy

Slight preference towards pinning the proletariat version (and all other dependencies), too, but that's perhaps off-topic for the current PR.

Yeah I'm inclined to leave that for a future PR, though I do like the suggestion!


Is it possible to monitor the input channels of an ASIO device?

I have the requirement to show a UI with the volume levels of an ASIO recording device, and it would be ideal to do this without having to be recording anything. This is so that someone can set up for recording and speak into a microphone to test the connection.
Is this possible? Thanks.

Yes, although NAudio uses the terminology of "recording", actually all you're doing is capturing audio from the device, and its up to you whether you record that to disk, or just examine the values of each sample

So are you saying that to do what I want to do, I'd do something like asioOut.InitRecordAndPlayback(null, channelCount, 44100); exactly as if I were recording, except that I'd use the samples to show the input levels rather than anything else?

yes, it's quite a common way of working with input devices


External config

This PR allows us to store the config information in an external file, which will be persistent across different versions.
With this change, we will be able to store the following information:

reward address
existing plot location and size
version number (of the app)
launchOnBoot preference

This PR resolves a very important bug: when a newer version is installed, the app was unable to detect the existing plot from the older version.
Also, this change will potentially enable us to detect breaking changes in the code and take actions accordingly throughout the update process.
And lastly, all the other information will also be remembered across different versions, which is a huge improvement on the UX side.
Other small improvements:

disable() function for autoLauncher is improved -> if there are multiple entries for subspace-desktop (which can occur with different version installations), now the disable() functions removes all of them.
there were some console.errors present in the code, which were not actually errors. These were polluting the console when debugging, and also will be polluting the log when we have an external log file in the future. So I pruned and handled these unnecessary console.errors along the way.
some minor refactorings for better structure

I'd prefer for Serge to review this, let me know if my input is necessary


What is the solution here? I am running into a similar issue here

msi-rgb does not initialise the rgb header (JLED1). You need to boot to windows, run the MSI Gaming app and turn on the LEDs. This has to be done after every cold boot (from unplugged).
If you carefully watch windows boot at startup thereafter you will notice the MSI Gaming app resets the LEDs to red, then to the color you chose every time.

@dcerisano so is the solution to send over the init codes?

Yes, if you can track them down please post them here are even submit a pull request.
You would have to sniff the port registers during the MSI Gaming App start up sequence, I think.

I also have the x399 GAMING PRO CARBON AC, can I help out to get this working?

Any news or further development in the topic?
On this motherboard is/are "Demo-LED" connections, do someone know how to connect or have the specifications?
Note:I haven't Windows at all, my sensors are: NCT7802Y, NCT7904D, NCT1008 but all marked with "No" and under /etc/module is listed only an lm92.
My goal is to switch all LED to blue or switch off.