terraform apply results in Error: 400 Parameter verification failed.

Terraform: 1.10
Telmate: 2.9.14 and 3.0.1-rc6
Proxmox: 8.3.1

I've spent to past two days trying to overcome this issue. "terraform plan" validates successfully, but "terraform apply" fails ever time regards of either version used. I read somewhere here users were experiencing the error, but the VM was still created; that's not my experience.

@TechBrain64 this is the default error PVE gives when something is wrong with some setting in the request. The only real way to debug this is by starting with a minimal config and slowly introducing more settings until it breaks again.
The validation for terraform plan has been meticulously cobbled together by experimening and reading the source code of PVE.

@Tinyblargon, I've done as you've suggested and still same error. Here is my minimum configuration:

I am attempting to clone an existing Windows 11 VM template to a new terraform VM. The two variables are defined in a .tfvars with host IP address and template name.

@TechBrain64 If this minimal example already gives issues, then it's probably a default value that's causing this.
Could you create a new vm with minimal configuration and attempt to clone it with terraform? It could be that it's trying to preserve some setting of the vm you are cloning, while the syntax for that setting has changed.

The two variables are defined in a .tfvars with host IP address and template name.

@TechBrain64
I tried the following but om my it does work:
resource "proxmox_vm_qemu" "windows_11_client" {
    vmid = 901
    name = "win11-vm-01"
    target_node = "pve-latest"
    clone = "Debian-12"
}

Could you go query for your template /api2/json/nodes/{node}/qemu/{vmid}/config and post the results here?

@Tinyblargon
     "data": {         "template": 1,         "smbios1": "uuid=1ddfb442-ae3e-4d08-b435-b17665962694",         "net0": "virtio=BC:24:11:BF:4D:DE,bridge=vmbr0,firewall=1",         "vmgenid": "11e8664a-4b72-4813-bd4d-8454113a60d3",         "bios": "ovmf",         "boot": "order=sata0;net0",         "balloon": 0,         "vga": "std",         "agent": "1",         "name": "w11-24h2-uefi-Eval",         "digest": "e201dd63c8ed64a7086e9f50f4a9d0745a02601d",         "meta": "creation-qemu=9.0.2,ctime=1733659880",         "efidisk0": "NAS-ISCSI-VOL-B:vm-907-disk-0,efitype=4m,size=4M",         "cpu": "x86-64-v2-AES",         "numa": 0,         "tags": "templates",         "machine": "pc-q35-9.0",         "ostype": "win11",         "memory": "4096",         "cores": 2,         "sockets": 1,         "sata0": "NAS-ISCSI-VOL-B:vm-907-disk-1,discard=on,size=75G,ssd=1",         "tpmstate0": "NAS-ISCSI-VOL-B:vm-907-disk-2,size=4M,version=v2.0",         "scsihw": "virtio-scsi-single"     } }

@Tinyblargon do you have any feedback on my previous response?

I am using Terraform 1.10.2, in case that helps. What are you on @TechBrain64 ?
 terraform -v
Terraform v1.10.2
on darwin_arm64

Terraform v1.10.1
on linux_amd64

@Tinyblargon
I've been trying any and everything I can find to resolve this issue and still no good.

Also, I cannot overcome the syntax error on the "network" block. I'm using Hashicorp/terraform extention v2.43.1 in VSCode v1.96.1.

that could just be an issue with the plugin, but could you share the whole file to check? the error printing seems unrelated to the syntax validation in vscode

@TechBrain64 Sorry, I haven't had time to look at it yet.
With the network, it's missing the id of the adapter.

@Tinyblargon
Once I add the ID the "terraform plan" flags it as invalid argument.

@TechBrain64 for the disk, slot should be something like scsi0

@Tinyblargon
I've made that change, but still fails because of network "id = 0".

@spettinichi
No, I've reverted back to 2.9.14. Making sure I'm not dealing with a RC bug.

ah then yes id is not present in 2.9.14, I believe it was added in 3.0.1-rc5

@spettinichi
But if I remove it I get the syntax error.

Ok, I've made some progress:

Seems the issue is in the Disk block. It actually created the VM and it's now waiting at the PXE menu.

@TechBrain64 Release 2.x is kinda busted in a lot of ways. It gets confused about which disk is which when you have more than one. The reason we are still on RC for 3.x is because, as we fixed the know issue, more fundamental issues with the provider kept creeping up.

okay weird thing, i was able to create a new VM using 3.0.01-rc3 and terraform 1.4.5 in my work environment.. besides the difference in terraform versions I’m unsure what is different. I had tried rc3 and rc6 at home with the same result. I hope to get some time to dig into the two soon

I still get this error when using Terraform 1.4.5, so that was not the issue. I copied my vm config to the work instance and was able to create the VM fine, so I dug in deeper and finally realized that at work I use the proxmox node hostname, but at home I use the IP. I have a variable set to use it for both the proxmox API path and the target_node, turns out target_node needs a hostname it doesn't understand the IP address. So once I separated the two it worked!
@TechBrain64 it looks like you're also using a variable for target_node, so make sure that is the hostname of your proxmox server and not the IP address

@spettinichi
Yes, I too was using IP address for target_node. I think once I made the change it was part of the reason why it finally ran. But, I also know the Disk block played a part. I'm right now working on starting from scratch and will use the latest RC code. After seeing what @Tinyblargon noted and reviewing the recent release documents, I will contribute what I can. I'm wanting to learn Terraform, Ansible and GitLab as I grow.

@spettinichi
I'll give an answer to that after I've confirmed original issue was in fact because of target_node.

I'll create some tickets for validating that the node has a valid name.

@Tinyblargon, @spettinichi
I have validated my script does in fact create a Proxmox VM when setting "target_node" to however it is displayed in console (name/IP); which make since given it's probably how API reference host/node.
Thanks for all you guys assistance.

The validation code mentioned by #1208 has been added.


Python 3.4 and 3.3 Compatibility (includes django 1.7 compatibility)

Used futurize and some minor changes to get it working with 3.3 and 3.4.  Getting 3.2 working would require removing all of the u'' instances.

really I need it.

Read the comments in https://github.com/caffeinehit/django-oauth2-provider/pull/93
This module is basically no longer supported by anyone.  The alternative mentioned in the other chain (https://github.com/evonove/django-oauth-toolkit) appears to work fine so far, I have them both running at the moment while I transition from one to the other (it wasn't a 5min job to have them both running at the same time, but it seems to work so far)


Using in main process

It it possible to use in main process probably after app.on('ready')

No, this only makes sense in a renderer context (i.e. it's providing spellchecking for a specific renderer).


horizontal mode

For my setup, I need to have the months arranged horizontally left-to-right instead of vertically.

Thanks to vwegert, resolved.
Danke sehr!


is there a way to comment things out?

Despite: https://stackoverflow.com/questions/4823468/comments-in-markdown
which kinda works, but fails on line 1 for me..
I really just want to be able to leave comments for other people editing, but also to be able to put "-- markdown --" so that emacs will do the right thing even if I haven't configured .mkd to do that.

line 1 is not markdown, but yams.  I'm not aware of a way to put a comment in line 1; in all other lines you can use # as the yaml comment character.
For a badly configured Emacs, put this in the last three lines:
<!-- Local Variables: -->
<!-- mode: markdown -->
<!-- End: -->

(but I'd rather configure Emacs right).

So did that solve your problem or do we need some new feature here?


Pasting a big query freezes app for too long (performance issue)

System information:

Operating system (distribution) and version: Linux Mint 18
DBeaver version : 5.3.3
Java version : openjdk version "1.8.0_191"
Additional extensions : None AFAIK

Connection specification:

Database name and version: Oracle 12
Driver name: ?
Do you use tunnels or proxies (SSH, SOCKS, etc) : No

Describe the problem you're observing:
When I paste huge query to DBeaver, it uses one CPU core 100% and takes a long time to respond. Query is copied from myBatis log, so has '?' instead of parameters. It's parsing or whatever is DBeaver doing with it is too slow.
Steps to reproduce, if exist:
I am attaching the query to this report. Try to paste it into the app.
query.sql.zip

Long sql query is opened very long from a file or inserted from the clipboard.
It is almost impossible to work with a long query in the query editor . Very frequent program freezes and high CPU usage.

A Linux-specific issue perhaps.
Specified query works well (more or less) on Windows.

In mac OS, a long query also causes the app freezing for 5-6 seconds. This happens when switching to a long query string

not reproducible against 21.2.0

I'm also getting this with version 22.2.3 on Ubuntu 22.

I am also getting this with version 21.0.5 on Windows 10 Pro machine Processor: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz   2.11 GHz and RAM - 16.0 GB

I am on a Macbook Pro with 8-Core Intel Core i9 and 16GB memory using DB Beaver Verrsion <IP_ADDRESS>304091457
I was guessing something is trying to parse or interpret the SQL or similar after it gets pasted in.
Turned off SQL Editor -> Enable Auto Activation, Auto-Insert proposal and Data Editor -> Read table metadata, Read table references and it didn't quite hang as bad when I pasted things in there.
It's probably not a normal occurreance to try to run 3+ MB worth of SQL in an SQL client that will try to parse / interpret / lookup things.
Just leaving this here as a comment in case anyone else comes to this bug while searching for things.


Add double life by pharrel williams

Song Name
double life
Artist Name
pharrel williams
Source
Youtube
Youtube Link
fWtn6RMNiok
Direct File Link
No response
Song ID
10001236
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 110677657
Downloaded: Yes

can someone please add this?


Update activations.py

Add Activation named Softclip

@tanujdhiman  Can you please sign CLA. Thanks!

Hi @gbaned
I was thinking of this activation function to be added in this repository. I've tried this in my local system too. This works !!!
Also can you please tell how I can sign for CLA (Contributor License Agreement) ?
Thanks

@tanujdhiman Can you please sign CLA. Thanks!

Yes, I have !!!

@googlebot I signed it!

We are trying to minimize the Keras API to the most widely used functions.
Please refer to https://github.com/keras-team/governance/blob/master/keras_api_design_guidelines.md#carefully-weigh-whether-a-new-feature-should-be-included
We do not believe this met the guidelines for creating a new Keras API.


Allow for an ignored local settings file.

Even though settings.json is in the .gitignore file, git does not ignore
modifications to this file. This change makes expressCart detect the
existence of a file called settings-local.json. When this file exists,
it will be used for reading and writing settings instead of the usual
settings.json. This will help to prevent accidental leakage of user
secrets.

The build failure on this one appears to be a container management error within Travis CI itself. Please restart the build and it should succeed.

Just realized the real problem was in the .gitignore - closing this and will submit a PR which fixes that.


Cloudformation is pointing to v0.2.0 as default latest

As of today, link to cloudformation template is pointing to old release (v0.2.0).
https://coreos.com/kubernetes/docs/latest/kubernetes-on-aws.html
http://coreos-kubernetes.s3.amazonaws.com/latest/template.json

New version can be accessed at this URI
http://coreos-kubernetes.s3.amazonaws.com/v0.3.0/template.json

/cc @robszumski

@urashidmalik I've updated the latest assets to point to the correct version (v0.3.0), can you let me know if that resolves your issue?


Quadratic behavior in LinkedHashSet.union() and LinkedHashSet.addAll()

According to the user guide, LinkedHashSet.add() has an effective constant complexity, which implies that LinkedHashSet.addAll() and LinkedHashSet.union() should behave no worse than O(N). However, I run into a particular data sequence that would cause the aforementioned methods to have O(N^2) performance in vavr-0.9.2. I am not too familiar with the vavr codebase myself and I don't have too much time to look into this. Maybe it's just a really weird edge case. Still I'd like to share the data anyway if any dev is interested.
Attached is the source code I used to generate the data sequence and the corresponding JMH codes for performance measurement. The Test.compute() method constructs two sequences s0 and s1, which then get transformed into two LinkedHashSet and unioned together. Benchmarking the LinkedHashSet.union() or LinkedHashSet.addAll() method call alone for a couple of INPUT_SIZEs would reveal that the running time scales quadratically with the size. On the other hand, the quadratic behavior doesn't exist if I manually write a loop to add all elements from one set to another, or if I switch to HashSet instead.
src.zip

LinkedHashSet.add() and it's backing LinkedHashMap.put() can be linear in the worst case, when you're adding the same element over and over again, since, when the element is already contained in the set/map it's doing a replace on the existing element with the new instance in both the set/map and the queue used for keeping insertion order of the elements, and the cost of the latter is linear (see Queue.replace).
You can easily avoid this by checking if the set/map already contains the element to be inserted, and skip insertion if you don't actually need to replace the existing instance in the set/map. While this would effectively double the set/map lookup cost part of the insertion cost for new elements, it will be mostly a cache hit for the lookup so the cost would be negligible.

when the element is already contained in the set/map it's doing a replace on the existing element with the new instance in both the set/map and the queue used for keeping insertion order of the elements

I see. Is this mentioned anywhere in the doc? The replacement behavior is quite surprising to me. Why not just refuse to add the new element if it's already contained?
Also, if what you said is the root case, then set1.addAll(set2) or set1.union(set2) should take the same time to run as for (int i: set2) set1 = set1.add(i). But this doesn't seem to be the case.

JDK's HashMap.put() is replacing as well, though HashSet.add() doesn't, as it's using a different representation for the set over the map (JDK's map is using (E, constant) entries whereas vavr uses (E, E) hence the difference in HashSet behavior).
As for the runtime properties of these operations, those are what I saw without just by looking at the code, without actually measuring anything, so I might be wrong.

Thanks for the response. Closing this as the quadratic behavior is expected.

This might be a property worth mentioning in the documentation. Would you like to submit a pull request?

I'd be glad to. Just be a few lines of additional JavaDoc on those methods, right?

I'm not sure about javadoc rules for vavr, but this behavior of LinkedHashSet.add(LinkedHashMap.put) on replacing the existing instance when inserting an element that's already a member of the set (associating a new value with a key that already exists) affects both the behavior of the set(map) and it's algorithmic complexity, and it's probably worth documenting. Also, the fact than union() and addAll() are using add(), in case of LinkedHashSet may affect their algorithmic complexity, so it's probably worth at least a sentence for interested users to check the algo complexity of add(). What do you think @danieldietrich ?

What do you think @danieldietrich ?

Clarifying a specific behavior in the Javadoc is always a good idea! Please go ahead @grievejia
I think regarding union() and addAll() we should not expose implementation details in the sense that specific methods are called under the hood. Instead we should write some notes about the effect, i.e. that the cost of replacing a single element could be linear in the worst case.

Why not just refuse to add the new element if it's already contained?

The main reason is that object equality does not imply that the object's state is equal. For example you could define that two persons are equal, if their name is equal but if you added a person to a Map you rely on the fact that the instance you provided is part of the Map. That's important if there are other attributes, like a Persons age, that differ but are not considered in the equals implementation.


fix more robust checking of timeout value in Runnable

Thanks for the PR! Unfortunately, but this would cause errors for anyone passing a null/undefined ms. Also, with PRs, please don't run make - we only do that before releases to keep diffs/commits a bit cleaner.

I looked at the code, and have noticed that Runnable.prototype.timeout is called only by suite, which passes its own value of timeout, and, AFAIK, Runnable.prototype.timeout will never receive ms argument in the form of string, so, maybe it makes sense to remove unnecessary call to milliseconds, and clarify the documentation by specifying that function receive only number. Otherwise this function potentially does not work correctly in all possible cases, for example if the argument is passed as '0'


[Question]CorsPolicyServer is warning when IS is siting behind ELB.

Hi guys, I just deployed the Identity Server to my ELB with two instances in load balancer, namely A and B instance. The A instance works well, however the B instance show the message that Warning] CorsPolicyService did not allow origin: "http://myclientdomain.com". Please give me some advice to figure out them problem? Thanks.

Please give me some advice to figure out them problem? Thanks.

Check the logs?


Add options to control logging output

https://github.com/abaplint/abaplint-sci-client/pull/181#issuecomment-700482264
e.g. time only, size in/out, object name for check_object

done for now


Don't use PkgConfig helper

because pkg-config is not installed on macos runners
@valgur

[ ] I've read the contributing guidelines.
[ ] I've used a recent Conan client version close to the currently deployed.
[ ] I've tried at least one configuration locally with the conan-center hook activated.

@ericLemanissier Why not simply add pkg-config as a tool_requires? That seems like a cleaner solution to me.

@valgur CCI does not have a package for pkg-config, only for pkgconf (already a requirement of the test recipe), which does not provide an executable named pkg-config (https://github.com/pkgconf/pkgconf?tab=readme-ov-file#pkg-config-symlink). In order to be called, pkgconf recipes sets PKG_CONFIG env var to point to pkgconf executable
Conan's PkgConfig helper calls either tools.gnu:pkg_config conan conf, either pkg-config https://github.com/conan-io/conan/blob/105837fe23bbe10a731edf67681b2f2efd18c380/conan/tools/gnu/pkgconfig.py#L25
as pointed out in https://github.com/conan-io/conan-center-index/pull/23191#issuecomment-2014949272 pkgconf recipe cannot set the conan conf tools.gnu:pkg_config
Hence the direct use of pkgconf instead of the PkgConfig helper

Thanks!


Topology takes a long time to load

Topology takes forever to load. Is this normal behavior? A topology with two devices can take up to 30min to load.

This solved the same issue for me: https://github.com/iDebugAll/nextbox-ui-plugin/issues/9

Thank you!


resolveSync not defined in loader context

Bug report

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
Loaders should be able to call this.resolveSync() for a synchronous module resolution as documented.
See issue #1634 that was closed without resolution for context.
If this API has been removed and the webpack team does not care to restore it, it should be removed from the documentation.
This is important for loaders that require synchronous resolve. It enables plugins to avoid creating a separate enhanced-resolve instance and attempting to make its behavior match the one used by the webpack compiler.
See:
https://github.com/brandonkal/linaria/blob/27888fa8a3e15cedbfdcf779b18d81ca04af77ee/src/loader.ts#L277-L280
For a runnable example, you can clone that repository and run vscode-jest-tests in the VSCode debugger. You will see that the resolveSync is not defined in the loader's context, so the fallback code is executed.

Other relevant information:
webpack version:  4.40.2
Node.js version: v10.15.3
Operating System: MacOS 10.12.6
Additional tools: webpack-dev-server

Yep it has been removed in webpack >= 4. You can PR a note to the documentation that it has really been removed. Currently it's only on the list of deprecated methods: https://webpack.js.org/api/loaders/#thisresolvesync

Yep it has been removed in webpack >= 4. You can PR a note to the documentation that it has really been removed. Currently it's only on the list of deprecated methods: https://webpack.js.org/api/loaders/#thisresolvesync

Up until now, I've completely missed the fact that resolveSync is listed as deprecated, because I've never read the entire page, only ever clicked or Ctrl + F'd my way down to resolveSync. I think it would be a great improvement to put some sort of tag right next to each deprecated method, clearly marking it as such.


PyLint Panel "Please install pylint" message too vague.

From<EMAIL_ADDRESS>on 2010-02-02T17:45:41Z
What steps will reproduce the problem?

Install python 2.6.1
Install PyLint and supporting packages
Install PyQT
Install Spyder
Run Spyder and observe message that says "Please install pylint" in the
PyLint panel. What is the expected output? What do you see instead? At a minimum, give the user some more information.  After digging into the
source code I realized all I needed was for py_lint.bat to be in the path,
so I added c:\python26\scripts to my path.  Is there any reason Spyder
can't attempt to do this automatically?  PyLint was in fact already
installed, so I'd like to see this more gracefully handled. What version of the product are you using? On what operating system? Spyder 1.0.3, python 2.6.1, Windows XP

Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=146

From pierre.raybaut on 2010-02-06T03:55:10Z
Well, strictly speaking, if typing 'pylint' in a command window does not work, it
means that pylint is not (properly) installed on your machine (i.e. you should be
able to type 'pylint script.py' in a command window, that's how pylint is intended to
be used). The fact that the "C:\Python26\Scripts" directory is not in PATH
environment variable is a problem, I agree, but this is clearly a lack of the
official Python installer for Windows. Because if you install a Python module with a
script (like pylint or ipython, and so on), you won't be able to run this script in a
command window, which is clearly not normal!
Anyway, I'll add a more explicit message for Windows only. Note that Python(x,y)
users won't be affected by this because one of its basic features is to add
C:\Python26\Scripts to PATH...
Status: Accepted

From pierre.raybaut on 2010-02-06T04:12:42Z
Status: Fixed

From pierre.raybaut on 2010-02-06T04:12:31Z
Done: https://code.google.com/p/spyderlib/source/detail?r=6d33cc4b2c421711692e0ad53a56688a97e0972d
Labels: -Type-Defect Type-Enhancement OpSys-Windows

From<EMAIL_ADDRESS>on 2010-02-08T08:14:56Z
Excellent.  Thank you!


Peerd: Only send whitelisted Msg's over the bridge

Only some of the messages should be allowed through the PeerdReceiverRuntime to the peerd Runtime. I don't like this explicit listing of messages, is there some other method to select this subset of enum variants?

Codecov Report

Merging #475 (7a330e7) into main (c9038d2) will decrease coverage by 0.0%.
The diff coverage is 0.0%.

@@           Coverage Diff           @@
##            main    #475     +/-   ##
=======================================
- Coverage   12.1%   12.1%   -0.0%
=======================================
  Files         29      29
  Lines       8437    8440      +3
=======================================
  Hits        1019    1019
- Misses      7418    7421      +3

Impacted Files
Coverage Δ

src/peerd/runtime.rs
0.0% <0.0%> (ø)

Continue to review full report at Codecov.

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

There is the matches! macro in std but I'm not sure it's going to improve the code. I'm fine with the current patch

There is the matches! macro in std but I'm not sure it's going to improve the code. I'm fine with the current patch

I like this better, and pushed a patch.


[ISSUE-925][FOLLOWUP] Refactor class name of RetryingChunkReceiveCallback

What changes were proposed in this pull request?
Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @related-reviewer
/assign @main-reviewer

ping @FMX


[Publication] Admin area: incorrect font for text in Publication request for user and admin view

EPAM AI DIAL chat version
0.13.0
How to reproduce
Case 1:
Steps:

user create publish request
admin approve request
user create unpublish request for published resource
admin review unpublish request

Actual result
Case 1
incorrect font size 12px for lines and its values: Publication id, Path, Publication date

Case 2
For Publication request from user view lines Conversations, Prompts, Files has font size 12px

Case 3 For (Un) Publish request for Admin view titles Conversations, Files, Prompts also have font size 12px
Expected result
Font size should be 14px according to https://www.figma.com/design/lwL5jneveZczAj5RLcLFH2/DIAL-Chat?node-id=9313-12735&t=BPv8K93Ms0SpQZDW-1
Confidential information

[X] I confirm that do not share any confidential information

upd:
Case 1 is invalid. Now we have new design for this case.
Case 2: 'Request creation date' text must be 12px according to new design

case 2 still reproducible on stg : For Publication request from user view lines Conversations, Prompts, Files has font size 12px, need to be 14px

verified on stg - fixed


Prefs is not created when using scoop to install spotify

I used scoop to install spotify and when I try to use spicetify backup
Its gives me this error
error C:\Users\user\scoop\apps\spotify-latest\current\prefs does not exist or is not a valid path. Please manually set "prefs_path" in config.ini to correct path of "prefs" file.
I tried searching for the prefs file in :\Users\user\scoop but it wasn't there.

prefs_path should be left as %APPDATA%\Roaming\Spotify\prefs in the Spicetify configuration.


[Error] building revery@github:revery-ui/revery#ed67416

$ esy run -f --checkhealth

info building revery@github:revery-ui/revery#ed67416@d41d8cd9
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: revery@github:revery-ui/revery#ed67416
    # esy-build-package: pwd: /home/omar/.esy/source/i/revery__a832efae
    # esy-build-package: running: 'dune' 'build' '-p' 'reason-harfbuzz,reason-skia,reason-sdl2,Revery'
        discover packages/reason-sdl2/src/c_flags.sexp,packages/reason-sdl2/src/c_library_flags.sexp,packages/reason-sdl2/src/cxx_flags.sexp,packages/reason-sdl2/src/flags.sexp
    SDL2 Library Folder Path: /home/omar/.esy/3_____________________________________________________________________/i/esy_sdl2-2.0.10008-c1b32b3d/lib
             gcc packages/reason-skia/src/wrapped/lib/raw_bindings.o
    gcc: warning: /home/omar/.esy/3_____________________________________________________________________/i/esy_sdl2-2.0.10008-c1b32b3d/lib/libSDL2.a: linker input file unused because linking not done
             gcc packages/reason-skia/src/wrapped/c/c_stubs.o
    c_stubs.c: In function 'reason_skia_make_sdl2_gl_interface':
    c_stubs.c:30:53: warning: passing argument 2 of 'gr_glinterface_assemble_gl_interface' from incompatible pointer type [-Wincompatible-pointer-types]
                 gr_glinterface_assemble_gl_interface(0, reason_skia_sdl2_get);
                                                         ^~~~~~~~~~~~~~~~~~~~
    In file included from c_stubs.h:1,
                     from c_stubs.c:6:
    /home/omar/.esy/3_____________________________________________________________________/i/esy_skia-b577cff8/include/c/gr_context.h:40:34: note: expected 'gr_gl_get_proc' {aka 'void (* (*)(void *, const char *))(void)'} but argument is of type 'void * (*)(void *, const char *)'
     SK_C_API const gr_glinterface_t* gr_glinterface_assemble_gl_interface(void* ctx, gr_gl_get_proc get);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    c_stubs.c:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
                 gr_glinterface_assemble_gl_interface(0, reason_skia_sdl2_get);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    c_stubs.c: In function 'reason_skia_make_sdl2_gles_interface':
    c_stubs.c:36:55: warning: passing argument 2 of 'gr_glinterface_assemble_gles_interface' from incompatible pointer type [-Wincompatible-pointer-types]
                 gr_glinterface_assemble_gles_interface(0, reason_skia_sdl2_get);
                                                           ^~~~~~~~~~~~~~~~~~~~
    In file included from c_stubs.h:1,
                     from c_stubs.c:6:
    /home/omar/.esy/3_____________________________________________________________________/i/esy_skia-b577cff8/include/c/gr_context.h:41:34: note: expected 'gr_gl_get_proc' {aka 'void (* (*)(void *, const char *))(void)'} but argument is of type 'void * (*)(void *, const char *)'
     SK_C_API const gr_glinterface_t* gr_glinterface_assemble_gles_interface(void* ctx, gr_gl_get_proc get);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    c_stubs.c:36:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
                 gr_glinterface_assemble_gles_interface(0, reason_skia_sdl2_get);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    gcc: warning: /home/omar/.esy/3_____________________________________________________________________/i/esy_sdl2-2.0.10008-c1b32b3d/lib/libSDL2.a: linker input file unused because linking not done
          ocamlc packages/reason-skia/src/wrapped/bindings/.SkiaWrappedBindings.objs/byte/skiaWrappedBindings__Skia_generated_type_stubs.{cmi,cmo,cmt}
    File "packages/reason-skia/src/wrapped/bindings/skia_generated_type_stubs.ml", line 91, characters 4-63:
    91 |   | Struct ({ tag = "sk_fontmetrics_t"} as s'), "fMaxCharWidth" ->
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Warning 11 [redundant-case]: this match case is unused.
    File "packages/reason-skia/src/wrapped/bindings/skia_generated_type_stubs.ml", line 94, characters 4-63:
    94 |   | Struct ({ tag = "sk_fontmetrics_t"} as s'), "fAvgCharWidth" ->
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Warning 11 [redundant-case]: this match case is unused.
    File "packages/reason-skia/src/wrapped/bindings/skia_generated_type_stubs.ml", line 155, characters 4-78:
    155 |   | Ctypes_static.Primitive Cstubs_internals.Int64_t, "RGB_V_SK_PIXELGEOMETRY" ->
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Warning 11 [redundant-case]: this match case is unused.
        ocamlopt packages/reason-skia/src/wrapped/bindings/.SkiaWrappedBindings.objs/native/skiaWrappedBindings__Skia_generated_type_stubs.{cmx,o}
    File "packages/reason-skia/src/wrapped/bindings/skia_generated_type_stubs.ml", line 91, characters 4-63:
    91 |   | Struct ({ tag = "sk_fontmetrics_t"} as s'), "fMaxCharWidth" ->
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Warning 11 [redundant-case]: this match case is unused.
    File "packages/reason-skia/src/wrapped/bindings/skia_generated_type_stubs.ml", line 94, characters 4-63:
    94 |   | Struct ({ tag = "sk_fontmetrics_t"} as s'), "fAvgCharWidth" ->
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Warning 11 [redundant-case]: this match case is unused.
    File "packages/reason-skia/src/wrapped/bindings/skia_generated_type_stubs.ml", line 155, characters 4-78:
    155 |   | Ctypes_static.Primitive Cstubs_internals.Int64_t, "RGB_V_SK_PIXELGEOMETRY" ->
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Warning 11 [redundant-case]: this match case is unused.
        ocamlopt packages/reason-sdl2/src/sdl2.cmxs (exit 2)
    (cd /home/omar/.esy/3/b/revery-24e0f257/default && /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/bin/ocamlopt.opt -w -40 -g -shared -linkall -I packages/reason-sdl2/src -o packages/reason-sdl2/src/sdl2.cmxs packages/reason-sdl2/src/sdl2.cmxa)
    /usr/bin/ld: cannot find -lGL
    /usr/bin/ld: cannot find -lGLU
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking (exit code 1)
        ocamlopt packages/reason-skia/src/wrapped/stubgen/stubgen.exe (exit 2)
    (cd /home/omar/.esy/3/b/revery-24e0f257/default && /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/bin/ocamlopt.opt -w -40 -g -o packages/reason-skia/src/wrapped/stubgen/stubgen.exe /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/lib/ocaml/unix.cmxa -I /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/lib/ocaml /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/lib/ocaml/bigarray.cmxa -I /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/lib/ocaml /home/omar/.esy/3_____________________________________________________________________/i/opam__s__integers-opam__c__0.4.0-1ba949d7/lib/integers/integers.cmxa -I /home/omar/.esy/3_____________________________________________________________________/i/opam__s__integers-opam__c__0.4.0-1ba949d7/lib/integers /home/omar/.esy/3_____________________________________________________________________/i/opam__s__ctypes-opam__c__0.15.1-589a19e2/lib/ctypes/ctypes.cmxa -I /home/omar/.esy/3_____________________________________________________________________/i/opam__s__ctypes-opam__c__0.15.1-589a19e2/lib/ctypes packages/reason-skia/src/wrapped/types/SkiaWrappedTypes.cmxa packages/reason-sdl2/src/sdl2.cmxa -I packages/reason-sdl2/src packages/reason-skia/src/wrapped/c/skia_wrapped_c.cmxa -I packages/reason-skia/src/wrapped/c /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/lib/ocaml/str.cmxa -I /home/omar/.esy/3_____________________________________________________________________/i/ocaml-4.12.0-bfdfbfff/lib/ocaml /home/omar/.esy/3_____________________________________________________________________/i/opam__s__ctypes-opam__c__0.15.1-589a19e2/lib/ctypes/cstubs.cmxa -I /home/omar/.esy/3_____________________________________________________________________/i/opam__s__ctypes-opam__c__0.15.1-589a19e2/lib/ctypes packages/reason-skia/src/wrapped/bindings/SkiaWrappedBindings.cmxa packages/reason-skia/src/wrapped/stubgen/.stubgen.eobjs/native/dune__exe__Stubgen.cmx)
    /usr/bin/ld: cannot find -lGL
    /usr/bin/ld: cannot find -lGLU
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking (exit code 1)
    error: command failed: 'dune' 'build' '-p' 'reason-harfbuzz,reason-skia,reason-sdl2,Revery' (exited with 1)
    esy-build-package: exiting with errors above...

  building revery@github:revery-ui/revery#ed67416
esy: exiting due to errors above

Hello Ive been trying to build onivim2 for a month!! I cant afford liscence key, every time I try to build it got a new error , this is last error I got. Any Ideas how to solve it?

Hey @OmarElKhatibCS -- what OS/Hardware are you using? It looks like you might not have any OpenGL development libraries installed

@zbaylin I believe that opengl is installed. My OS is Mx Linux (Debian Based).
Is their a way if opengl that causing issue is installed.

Try running apt-get install libgl1-mesa-dev libglu1-mesa-dev and trying again

$ sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

this is the problem I tried to solve it on my own , no solutions. I will search more

I think I will use another machine to build the app , I think we can close the issue.


Use electron that exist in current path

bash: line 1: electron: command not found error has occurred in my env(macOSX 10.12.6, use zsh)
$ dotnet electronize start
Start Electron Desktop Application...
.NET Core 向け Microsoft (R) Build Engine バージョン 15.3.409.57025
Copyright (C) Microsoft Corporation.All rights reserved.

  sample -> /Users/yamachu/Project/CSharp/sample/bin/Debug/netcoreapp2.0/osx-x64/sample.dll
  sample -> /Users/yamachu/Project/CSharp/sample/obj/Host/bin/

Start npm install...
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

Invoke electron - in dir: /Users/yamachu/Project/CSharp/sample/obj/Host/node_modules/.bin
bash: line 1: electron: command not found

dotnet electronize start  10.04s user 1.90s system 84% cpu 14.061 total

So I changed Execute Command that called electron to use current directory's.
This change worked well in my env.
Is there any other solution?


[BUG] NAV bar is not functional and buttons position is messed up

Description
clicking on the button available is the nav bar are currently not redirecting properly !
clicking on login/contact  button goes to some error page
Screenshots

Any additional information?
let me fix this issue !! as nav bar is the first component that a user see's and needs a fix for the same !!
PLEASE assign me this under GSSOC level 2  and HACKTOBER . Thankyou!
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

let me Add some attractive UI to NAV bar


Add Delete User flow

Users (such as the default admin user) should be delete-able

Partially implemented in #784


Add RNFirebase

@designorant hey thanks a ton for doing this, would it be possible for you to check if the library works with Expo and web, then updating the object data? Thanks.

@jimmylee I don't use Expo or react-native-web but RNFirebase uses Firebases' native modules so that's a no for both Expo and the web.
However, there's also a lightweight Firebase Web SDK written in pure JavaScript so maybe we could add that to the list as well?
Differences explained.

@designorant I think its totally fine that its a no for expo and web, I just want to reduce the amount of questions someone may ask given the context:
For example, I am an Expo dev, I can now know to avoid this library if I am attached. I also now know that if I detach to ExpoKit, I can use this library.
Thank you so much for revisiting your PR, I'll make sure to land this :)


change to rename/2

Thoughts on the following change to rename/2, having it return the table that is being acted upon. This way we can write the following in a migration:
table(:foo)
|> rename :bar, to: :baz
|> rename :qux, to: quxx

:+1:

btw, you will need parenthesis around your rename calls.

We should probably change create and drop to do this too. Just for consistency.

@josevalim why on drop?

No idea. I just listed the functions that receive tables. :)


Split Stylus into modules and added variables

My changes are in response to #129 and consist of mostly reorganization with very minimal changes to selectors and property values. The Stylus files have been organized into 4 folders:

/base contains CSS reset, variables, and low-specificity, common selectors
/layouts contains page layout selectors and could also eventually include a grid framework and other layout design patterns
/modules contains specific UI objects (e.g. chat)
/utilities contains high specificity overrides and helpers

This organization was largely influenced by my experience with inuit.css and reading through a roundup of CSS write-ups provided by CSS-Tricks.
Would love to hear feedback! cc: @thefoxis @llkats @brittanystoroz

@dmacdnld—thanks for doing this, couple remarks:

we can drop semicolons and parentheses; they're optional in Stylus and I think there's enough readability with proper spacing and colons between properties and values
the structure is confusing— the point of this was to modularise so they are all modules, not only files located in /modules folder. What I'd suggest is:

base/globals—variables, colors, reset
utilities or shared—as you had it, helper classes
components—pretty self-explanatory, e.g. chat, buttons, grid

Although I don't think we'd need a grid, just well thought out usage of floats and/or flexbox. It's not a complicated system and we don't want to have some overcomplicated CSS either :)

Thanks for the feedback, @thefoxis! Here are my responses to your remarks:

I'll remove all semicolons and curly brackets.
That's understandable. I guess my thinking was that everything in /base would serve as the building blocks of more complex components, but I like your suggestion.

Could you also give me your thoughts on some other ideas I had?

Moving the contents of action-list.styl, link-lists.styl, and website-lists.styl and user list styles from chat.styl into lists.styl, which would all eventually be unified into a standard list style with additional modifier selectors
Moving the contents of errors.styl to a new file called states.styl which would reside in /utilities

@dmacdnld—

yes, I think it's a good idea to have lists.styl with overall styles and variations that can be reused cross-site. limits the amount of CSS.
errors or states are really a component, I'd store that there. (if you mean coloring etc.)

@thefoxis, I've made the suggested changes. Please let me know what you think!

beautiful @dmacdnld :sunflower: are you okay with this @llkats?

Thanks @thefoxis! :smile:


Having difficulties building

When I try to build I get the error below. I doesn't list any imports for me check. Is there a way I can figure out what is library or source is the cause of the problems?
> functions@ build /Users/jimmyff/Development/datingnode/functions
> pub run build_runner build --output=build

[INFO] Generating build script completed, took 319ms
[INFO] Reading cached asset graph completed, took 253ms
[INFO] Checking for updates since last build completed, took 785ms
[INFO] Running build completed, took 184ms
[INFO] Caching finalized dependency graph completed, took 149ms
[SEVERE] build_node_compilers|entrypoint on node/index.dart (cached):

Unable to find modules for some sources, this is usually the result of either a
bad import, a missing dependency in a package (or possibly a dev_dependency
needs to move to a real dependency), or a build failure (if importing a
generated file).

Please check the following imports:

[SEVERE] Failed after 349ms
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! functions@ build: `pub run build_runner build --output=build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the functions@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/jimmyff/.npm/_logs/2019-03-19T12_29_35_126Z-debug.log
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

This is the contents of /Users/jimmyff/.npm/_logs/2019-03-19T12_29_35_126Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle functions@~prebuild: functions@
6 info lifecycle functions@~build: functions@
7 verbose lifecycle functions@~build: unsafe-perm in lifecycle true
8 verbose lifecycle functions@~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/jimmyff/Development/datingnode/functions/node_modules/.bin://chromium_depot_tools:/Users/jimmyff/flutter-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/git/bin:~/.pub-cache/bin
9 verbose lifecycle functions@~build: CWD: /Users/jimmyff/Development/datingnode/functions
10 silly lifecycle functions@~build: Args: [ '-c', 'pub run build_runner build --output=build' ]
11 silly lifecycle functions@~build: Returned: code: 1  signal: null
12 info lifecycle functions@~build: Failed to exec build script
13 verbose stack Error: functions@ build: `pub run build_runner build --output=build`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid functions@
15 verbose cwd /Users/jimmyff/Development/datingnode/functions
16 verbose Darwin 18.0.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
18 verbose node v8.9.1
19 verbose npm  v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error functions@ build: `pub run build_runner build --output=build`
22 error Exit status 1
23 error Failed at the functions@ build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

The only dependencies of the project are:
  firebase_functions_interop: ^1.0.0
  firebase_admin_interop: any
  core:
    path: ../core

and core uses:
  redux: ^3.0.0
  redux_logging: ^0.3.0
  intl: any
  http: ^0.12.0
  key_value_store: ^1.0.0
  built_value: ^6.3.0
  built_collection: ^4.1.0

although redux, redux_logging, http & key_value_store should be excluded via tree-shaking.

I've tracked down the problem that causing instant failure: importing a file that was exporting files that were utilising the redux packages.

Sorry for late reply here. Just curious why would redux packages cause an issue here?

The only two redux packages my core project use are:
  redux: ^3.0.0
  redux_logging: ^0.3.0

From my functions project when I imported my core project main file (package:core/core.dart) this was causing the build failiure. I then commented out the exports in core.dart that referenced the redux part of my app and it fixed the build issue.
Most likely it's a bug I've introduced in the redux part of my app but as my firestore functions don't need redux I've just separated that out in to a different file.


Dash, prefixes, suffixes, and a few other questions

Hi,
I wonder, could you perhaps clarify:

I see that you’re using a dash as a separator between the "script" component and the rest of the glyph names. As of November 2015, MakeOTF allows the use of several additional characters in glyph names (+ * : ~ ^ !) but not -. Would you consider perhaps changing the separator to one of these allowed characters instead of the dash (I'd say :), e.g. U+0C8C could become kn:lvocal instead of kn-lvocal?

I see these names with cyrcyr in glyphNamesToUnicode.txt — is that right?

Ksicyrcyr 046E
ksicyrcyr 046F
Psicyrcyr 0470
psicyrcyr 0471

Is there a particular reason (other than just a "decision" :) ) that you’ve decided to put the "script" components as prefixes (while Glyphs uses suffixes). I'm myself rather undecided on that. :)

For combining marks, I myself was thinking about using something like grave.mark or grave:mark. I see you’ve used the cmb- prefix. If so, would you say that perhaps the comb suffixes could be dropped from some? Right now it's:

cmb-gravecomb 0300
cmb-tildecomb 0303
cmb-macron 0304

but perhaps it'd make sense to just make it:
cmb-grave 0300
cmb-tilde 0303
cmb-macron 0304

?
Other than that — tremendous work! :)
Best,
Adam

creating a separate issue for this one see https://github.com/LettError/glyphNameFormatter/issues/11

first some CY char got a pre/suffix on a glyph by glyph base, a long the way we changed our minds and shifted to a range related pre/suffix

script can be either extend at the end of beginning, see https://github.com/LettError/glyphNameFormatter/blob/master/Lib/glyphNameFormatter/data/scriptPrefixes.py#L52
as default it prefixes

also creating a separate issue for the double cmb- naming see https://github.com/LettError/glyphNameFormatter/issues/12

I have a fix for #2

Sorry :) I just redid the issue and put the "cyrcyr" into a separate issue as well. I know, it's not good to aggregate unrelated issues into one.


Build on VSTS hosted server

I upgraded my VS2015 solution to use 1.1.1.  Now my build on VSTS hosted server fails to discover the xunit tests.  Any ideas on how to solve this?

Still occuring?

VS 2015 isn't a supported environment for .NET Core. It was in the early beta's but not anymore. This has also had no response for 3 months so I'm going to close it.


Fixed NPE on devices without billing service

Especially when testing on emulators the method queryIntentServices() can and will return null, causing the fragment to crash onActivityCreated.

Great, thanks!

No problem. By the way, if you find the time it would be nice if you could update the version on JCenter, it's still from May 2015.

done

Thanks a lot and thank you for that neat donations library!


Canvas updates do not work if there is no frontmatter

Let me first state that this plugin is second only to DataView! What an impressive piece of work!
I think I found a bug, though. :-).
Context
By using the field type "Updates with links in canvas" it is possible to change the value of a field depending on how the document has a connection to another document in the canvas.
Summary
Metadata Menu is able to update the value of the field based on changes in the canvas, regardless of whether the field is in the document as a frontmatter field or a Dataview field. However, the document MUST have frontmatter. If the document does not have frontmatter, an exception occurs that changes to the canvas are not reflected in the field's value.
If the document does not have a frontmatter block, then Metadata Menu should not run into an exception, but proceed with checking the Dataview fields.
Steps to Reproduce
Working situation 1
This situation illustrates how the value of the field is updated, when the field is inside the frontmatter block.
Set up

Create a document called "A"
Make sure A belongs to a File Class.
Make sure that the document has Frontmatter, and that the Frontmatter has more than 1 field.
Make sure the File Class has a Field called "CanvasField" of type "Canvas" that updates the value based on a Connection.
Create a Canvas.
Add A to the Canvas.
Add a random document called "B" to the Canvas.
Create a connection from A to B.

Expected
A field with the name "CanvasField" is added to the frontmatter of A and has value "B". (Or: "[[B]]").
Actual
A field with the name "CanvasField" is added to the frontmatter of A and has value "B". (Or: "[[B]]").
Working situation 2
This situation illustrates that the value of the field is also correctly updated if the field is a Dataview field outside the frontmatter block, provided there still is a frontmatter block that contains other data.
Set up

Continue from "Working Situation 1".
In A remove "CanvasField" from the Frontmatter. (The Frontmatter still contains other fields).
In the document of A add a Dataview-field "CanvasField", for example: CanvasField:: Dummy.
In the canvas add a random document called "C".
Move the connection between A and B to between A to C.

Expected
Document A now contains a line below the Frontmatter that reads `CanvasField:: [[C]]".
Actual
Document A now contains a line below the Frontmatter that reads `CanvasField:: [[C]]".
Failing Situation
This situation illustrates how the value of the field is no longer updated if the field is a Dataview field and the document doesn't contain a frontmatter block at all. It also contains a Workaround.
Set up

Continue from "Working Situation 2".
In A remove the frontmatter block. Notice that the field CanvasField is still in the document.
In the Canvas move the connection between A and C to between A and B.

Expected
Document A now contains a line below the Frontmatter that reads `CanvasField:: [[B]]".
Actual
Document A now contains a line below the Frontmatter that reads `CanvasField:: [[C]]". The value of CanvasField is NOT updated.
The console logs the following error:
plugin:metadata-menu:136 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'position')
at getFrontmatterPosition (plugin:metadata-menu:136:32)
at eval (plugin:metadata-menu:562:42)
at Generator.next ()
at eval (plugin:metadata-menu:60:61)
at new Promise ()
at __async (plugin:metadata-menu:44:10)
at postValues (plugin:metadata-menu:557:10)
at eval (plugin:metadata-menu:12359:19)
at Generator.next ()
at eval (plugin:metadata-menu:60:61)
Workaround
Add the following frontmatter block:
---
dummy: dummy

Now when the connection in the canvas is changed, the value of the Dataview field is updated.

Hi, thank you for kind words and for pointing this out.
the "getFrontmatter" issue was more generic than just with canvas.
I've released a new version 0.5.1 can you try and see if it fixes your issue?

Wow, that's fast! :-).
Right away!

Working like a charm! You're the best!


feat: mapreduce hashtable/synctable jobs

add mapreduce hash-table and sync-table tools to use with validation of data in a source and a target. Tools inherit existing tool functionality and are extended to operate with Bigtable as a source or target.
Fixes #3687 ☕

@vermas2012 - can you take a pass on this?

@vermas2012 - great suggestions with the review. updated the PR, ptal


Using .show on inline items

When using the .show helper class on inline items, display is erroneously set to block.
I.e. using .show on .pagination items would render unexpected results (jsFiddle)

First

Prev

  ...

Next

Last

Would it make sense to add specific directives where display: block is inappropriate?
.list-inline > li.show {
  display: inline!important;
}
.pagination > li.show {
  display: inline!important;
}
...

You're referring to v3, correct?

This is working as documented (emphasis added):

Force an element to be shown or hidden (including for screen readers) with the use of .show and [...] They are only available for block level toggling.

Also, .show and .hide are deprecated and have been removed in Bootstrap v4: http://v4-alpha.getbootstrap.com/migration/#misc-notes-to-prioritize

Would it make sense to add specific directives where display: block is inappropriate?

IMHO, that would qualify as a feature request, and we're no longer accepting new features into Bootstrap v3.

My advice to you in the mean time is to use your own custom CSS classes instead of .show and .hide.


[SPARK-32646][SQL][test-hadoop2.7][test-hive1.2] ORC predicate pushdown should work with case-insensitive analysis

What changes were proposed in this pull request?

This PR proposes to fix ORC predicate pushdown under case-insensitive analysis case. The field names in pushed down predicates don't need to match in exact letter case with physical field names in ORC files, if we enable case-insensitive analysis.
This is re-submitted for #29457.  Because #29457 has a hive-1.2 error and there were some tests failed with hive-1.2 profile at the same time, #29457 was reverted to unblock others.
Why are the changes needed?

Currently ORC predicate pushdown doesn't work with case-insensitive analysis. A predicate "a < 0" cannot pushdown to ORC file with field name "A" under case-insensitive analysis.
But Parquet predicate pushdown works with this case. We should make ORC predicate pushdown work with case-insensitive analysis too.
Does this PR introduce any user-facing change?

Yes, after this PR, under case-insensitive analysis, ORC predicate pushdown will work.
How was this patch tested?

Unit tests.

Test build #127847 has started for PR 29530 at commit 5807075.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32473/
Test PASSed.

retest this please

Test build #127848 has started for PR 29530 at commit 5807075.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32474/
Test PASSed.

Test build #127848 has finished for PR 29530 at commit 5807075.

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

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127848/
Test FAILed.

retest this please

Test build #127847 has finished for PR 29530 at commit 5807075.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127847/
Test PASSed.

Test build #127855 has started for PR 29530 at commit 5807075.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32481/
Test PASSed.

Test build #127855 has finished for PR 29530 at commit 5807075.

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

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127855/
Test PASSed.

OK. Passed tests of both hive-2.3 and hive-1.2 profiles. This is the same diff as previous #29457, but fixed a hive-1.2 compilation error. cc @cloud-fan @HyukjinKwon @dongjoon-hyun

Test build #127867 has started for PR 29530 at commit 50f0037.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32493/
Test PASSed.

I am going to merge this. The last commit is just about accessor and explicit return type which should be caught during the build.

Merged to master.

Thanks @HyukjinKwon

Test build #127867 has finished for PR 29530 at commit 50f0037.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127867/
Test FAILed.


Publish traditional Chinese translation of 4.0

Please push the traditional Chinese translation of the 4.0 license suite live.
Other information
This translation should be listed as 華語 with a link at the footer of all published translations.

@TimidRobot Why the /languages at the end?
https://creativecommons.org/licenses/by/4.0/legalcode.zh-Hant#languages


Feat/additional scripts

https://pins-ds.atlassian.net/browse/A2-1455
adds 2 new scripts
also fixes warning that docker-custom-image-name is deprecated, updates to container-image-name
steps/azure_web_app_deploy_slot.yml

tags an image with the git hash
sets the staging slots image name to this image
restarts staging slot
returns staging slot url as an output

steps/azure_web_app_verify_git_hash.yml

checks for the commit hash on an endpoint
taken from other services with some minor changes, 0 initial wait, simple linear backoff

will need to handle removing images from the container registry based on commits/what is deployed


Increasing the number of RRDB blocks in ESRGAN model

Hi, is it possible to increase the number of RRDB blocks of the resulting ESRGAN network? Since the pretrained RRDB_PSNR_x4.pth has 23 blocks changing the "nb: 23" setting causes an initialization error since the key for blocks 24, 25, ..., x are missing? If yes, then how can I do this and is there a theoretical maximum for the number of blocks above which there is next to 0 improvement?
Also does reducing the batch size from 16 to 8 change the performance of the network or only the training time?

Why?


Add goblins-tampered generators to the conformance tests

Add goblinGensUPIREG, goblinGensUPIVOTES, goblinGensUTXOW to the lists of tampered generators.

Relates to #788, which captures the UTxO generators requirement.

For some reason, GitHub didn't auto-close this when https://github.com/input-output-hk/cardano-ledger-specs/pull/865 merged.


Support ticket : question about Event onExpandSubComponent

Hi react table team
Thank you for providing such useful table component, it is very easy to integrate it with my project and saves me a lot of time to write table related code.
I have a question about onExpandSubComponent. I have defined a subComponent. see the sample code below.
I want to click the rt-expander in order to show the sub component and make a web service call in the same time. However, when I click the rt-expander,  the onExpandSubComponent event is not trigged.
Any suggestions?
Thanks
Yanbo
<ReactTable
          data={data}
          columns={columns}
          SubComponent={(row) => {
            return (
              <div>
                You can put any component you want here ...
            </div>
            )
          }}
           onExpandSubComponent={(event)=>{
             //make a web service call
             console.log("expanded");
          }}
         .  . .

Try onExpandRow. Looks like the on expand sub component prop wad deprecated but the docs were not updated. You could PR a fix for the docs if you wished :)


Code review 6-29-19

Create container component to do redux stuff now done in DiffInfo and DiffInput
Diffinfo

send diff info data to child/presentational component via diffInfo prop

DiffInfoContainer:
const diffInfo = useSelector(state => state.diffInfo)
render() {
  return (<DiffInfo diffInfo={diffInfo} />)
}

Do side effects with useEffect() in container

see https://www.robinwieruch.de/react-hooks-fetch-data/

In DiffInput use functional props with parent container callbacks:
DiffInputContainer:
submitHandler(e) {...}  // useEffect() call here
changeHandler(e) {...}
render() {
  return (<DiffInput handleSubmit={submitHandler} handleChange={changeHandler} />)
}

Setup redux store in its own JS file (store.js)
Standard practice is to have all actions implement this common interface
{type: string, payload: object}
In TypeScript:
import {Action} from 'redux'
interface FooAction<T> extends Action {
    type: string; // can also type this with an enum or union type
    payload: T;
}

All good!


Littles changes

Hi, I have changed some things from your code :
p4_changes = subprocess.Popen('p4 changes -t -m 1 -l', stdout=subprocess.PIPE, shell=True)
The -l give the entire description, its more readable and clear.
output = p4_changes.stdout.read().decode("ISO-8859-1")
Prevent the error on decode with utf-8 with accents or stranges characters (I'm french ^^)

And a condition for low uploads :
if "*pending*" in output:     return''``

@Megurine Feel free to open a pull request!

Made these changes, they are now tagged in the master branch.


Chat Timestamps Broken

Type
Incorrect behavior
Operating System
Windows
OS Version
windows 10 v19044.2486
Bug description
Chat Timestamps plugin appears to not be working for main-chat (as opposed to separated friends chat) on my client.
I disabled and re-enabled the plugin, and set a color (which I hadn't had one set before) and it wont put anything next to chat messages in the main chat window.
Screenshots or videos

RuneLite version
RuneLite version: 1.9.7
Oldschool revision: Rev 210
Launcher version: 2.1.3
Logs
launcher.log
client.log

Try restarting for runelite version 1.9.8.


No output with CLI, also wrong line numbers

I have test.sass:
.splash
  bottom: 0
  left: 0
  margin: auto
  position: absolute
  top: 0
  right: 0

.sass-lint:
files:
  include: 'test.sass'
options:
  formatter: html
  merge-default-rules: false
  output-file: 'linter/sass-lint.html'
rules:
  border-zero:
    - 1
    - convention: zero
  brace-style:
    - 1
    - allow-single-line: true
  clean-import-paths:
    - 1
    - filename-extension: false
      leading-underscore: false
  empty-line-between-blocks:
    - 1
  extends-before-declarations: 1
  extends-before-mixins: 1
  force-attribute-nesting: 1
  force-element-nesting: 1
  force-pseudo-nesting: 1
  function-name-format:
    - 1
    - allow-leading-underscore: true
      convention: hyphenatedlowercase
  hex-length:
    - 1
    - style: short
  hex-notation:
    - 1
    - style: lowercase
  indentation:
    - 1
    - size: 2

when I run
sass-lint

I have no output.

Unfortunately he indentation rule is not yet working for that Sass syntax (only scss). We plan to add it when we adopt the new version of the parser we use.
I was under the impression that rules that don't apply or haven't yet been written for a syntax wouldn't run - @Snugug

@bgriffith ok, I've removed indentation and added property-sort-order but still no out when I run
sass-lint

@bgriffith And still problem with line numbers:
3:3	Warning	Expected `bottom`, found `left`	property-sort-order
5:3	Warning	Expected `left`, found `margin`	property-sort-order
7:3	Warning	Expected `margin`, found `position`	property-sort-order
9:3	Warning	Expected `position`, found `top`	property-sort-order
11:3	Warning	Expected `right`, found `bottom`	property-sort-order
13:3	Warning	Expected `top`, found `right`	property-sort-order

Hi @itsimoshka you will only see errors or severity: 2 output by the CLI if you don't include the verbose -v flag. This is the intended behaviour.
As for the line numbers, we'll have to look into it.

@DanPurdy I expect results in file (in the example linter/sass-lint.html). but there is no result if I run without -v flag

For 2.x we should think about how the CLI works to output results without -v and replace it with a silent flag of some sort. Until then @itsimoshka, outputting to a file is output, and without the -v flag, our CLI by design will not output anything.

@Snugug in your CLI API docs:
Sass Lint can be run via its Command Line Interface (CLI). To do so, run sass-lint from the command line.

But in my case it doesn't run

It does run, but to have the warnings show you need to use the -v(verbose output) flag, if you set a rule severity to 2 it will show you the errors with just sass-lint. The -q flag will list these errors rather than throw a single error.
If you're seeing any problems then please post the error thrown.

Closing this, it's working as intended but should be looked at as part of the 2.0 release #400


Fix Spatial.java documentation

Add missing code tag opening bracket. Remove escaped entity in {@code}.

Can one of the admins add this person to the trusted builders? (reply with: "add to whitelist" or "ok to test")

ok to test

Thanks @thachhoang ! I've merged it, will be available in 5.1.1 and 5.2+


Transfert documentation Todo and Bugs lists to Github issues

Suggestion to lower the barriers to collaboration on the project.

This is done for the most important part. TODOs that remain in the documentation are better left there, because they document possible improvements to the code that's right next to them. These issues are not of general interest anyway. Almost everything else has been moved to GitHub.


added support for HTTPS

Description of PR
Extended the Apache vhost template with basic support for HTTPS.
Type of change
Feature Pull Request

Thanks! 👍


docs: Added command to build config dependency

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Description:
When I was going through the setup of the inital local env I ran into a module not found error.
This was caused by a require in the mongo seed-demo-user.js script for the config/misc.js module that had not yet been compiled in the config dir.
I saw that someone in the discord ran into the same error and so I figured it would be good to mention this command in the docs.

@GJStathis, thank you for opening this pull request, I should have fixed this issue in this PR, but I have changed cypress file instead of setup file. for context #49808
Is it okay to push a commit to this PR?

Looks like this issue was in more places then I was aware 😄


[1.20.1] Random crash when exploring world, starting up modpack, etc.

Random client crashes when exploring world, starting up modpack, etc.
Versions:

Apotheosis: 7.2.0
Apothic Attributes: 1.2.1
Patchouli: v84
Placebo: 8.6.0
Forge: 47.2.17

Crash-report 1: https://gist.githubusercontent.com/Gbergz/4dd7b77c8281e6ae24b8fd7cee161a8a/raw/cbf25f9773b03dd751f14c41082ffa2ff6083e71/gistfile1.txt
Crash-report 2: https://gist.githubusercontent.com/Gbergz/4806f2132d66a357ad67a8cd9affd79f/raw/5bfaf2e8cb66608dbe3c92ae5acf30abb02271eb/gistfile1.txt
Crash-report launcher message:
Error: java.lang.NullPointerException: Cannot read field "next" because "this.next" is null
- Gbergz

Someone's applying a mixin to that method, so this is probably out of my hands to do anything about.  There is no way for a null entry to be present in the linked list under normal circumstances.


Add monitor stream support to QueryBuilder

This would behave similarly to the monitor stream supported by WebServiceProxy, and would log SQL and argument values when a query is executed.
This will most likely require appending line feeds where needed to make the output more readable.

Withdrawing this ticket for the following reasons:

QueryBuilder is not meant to be a SQL pretty-printer, which would be required in order for this feature to be valuable
Unlike WebServiceProxy, QueryBuilder would only be able to log the data sent to the server (response data is handled by ResultSetAdapter)

Actually, QueryBuilder#execute() does retrieve a complete copy of the response data. However, the pretty-printing part still applies, to both the request and the response. Complex SQL requires whitespace/indentation to be readable, and result sets need to be formatted as tables. This is beyond the scope of what QueryBuilder is intended to do.


Not supported on Windows

Right now milvus-lite doesn't support native Windows install yet, but can work around with wsl (https://learn.microsoft.com/en-us/windows/wsl/install),

/assign @Presburger

#175 #171 #170 #169


ninja: build stopped: subcommand failed.

compile cuda source of 'pair_wise_distance' function...
NOTE: if you avoid this process, you make .cu file and compile it following https://pytorch.org/tutorials/advanced/cpp_extension.html
Traceback (most recent call last):
File "/home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1723, in _run_ninja_build
env=env)
File "/home/hs/anaconda3/envs/tgrs1/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "demo_train.py", line 17, in
sr_model = model.Model(args, checkpoint)
File "/media/save_old/mnt/hs_data/SR_work/tgrs/LBNet/codes/model/init.py", line 23, in init
module = import_module('model.' + args.model.lower())
File "/home/hs/anaconda3/envs/tgrs1/lib/python3.7/importlib/init.py", line 127, in import_module
return bootstrap.gcd_import(name[level:], package, level)
File "", line 1006, in gcd_import
File "", line 983, in find_and_load
File "", line 967, in find_and_load_unlocked                                                                 File "", line 677, in load_unlocked                                                                          File "", line 728, in exec_module                                                                    File "", line 219, in call_with_frames_removed                                                               File "/media/save_old/mnt/hs_data/SR_work/tgrs/LBNet/codes/model/spin.py", line 7, in                                                from .pair_wise_distance import PairwiseDistFunction               File "/media/save_old/mnt/hs_data/SR_work/tgrs/LBNet/codes/model/pair_wise_distance.py", line 9, in                                  "pair_wise_distance", cpp_sources="", cuda_sources=source                                                                                File "/home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1285, in load_inline    keep_intermediates=keep_intermediates)                             File "/home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1347, in jit_compile    is_standalone=is_standalone)                                       File "/home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1452, in write_ninja_file_and_build_library                               error_prefix=f"Error building extension '{name}'")                 File "/home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1733, in run_ninja_build    raise RuntimeError(message) from e
RuntimeError: Error building extension 'pair_wise_distance': [1/3] /usr/bin/nvcc  -DTORCH_EXTENSION_NAME=pair_wise_distance -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLIB="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/hs$
anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/include -isystem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/inc
lude/torch/csrc/api/include -isystem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/include/TH -isystem /home/hs/anaconda3
/envs/tgrs1/lib/python3.7/site-packages/torch/include/THC -isystem /home/hs/anaconda3/envs/tgrs1/include/python3.7m -D_GLIBCXX_USE_CXX11_AB
I=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-rel
axed-constexpr -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++14 -c /home/
hs/.cache/torch_extensions/py37_cu111/pair_wise_distance/cuda.cu -o cuda.cuda.o
FAILED: cuda.cuda.o
/usr/bin/nvcc  -DTORCH_EXTENSION_NAME=pair_wise_distance -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="gcc" -DPYBIND11_STDLI
B="libstdcpp" -DPYBIND11_BUILD_ABI="cxxabi1011" -isystem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/include -isy
stem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -isystem /home/hs/anaconda3/envs/tgrs1/
lib/python3.7/site-packages/torch/include/TH -isystem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/include/THC -isystem
/home/hs/anaconda3/envs/tgrs1/include/python3.7m -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D
CUDA_NO_BFLOAT16_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -gencode=arch=compute_86,code=compute_86 -gencode=ar
ch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++14 -c /home/hs/.cache/torch_extensions/py37_cu111/pair_wise_distance/cuda.cu -o
cuda.cuda.o
nvcc fatal   : Unsupported gpu architecture 'compute_86'
[2/3] c++ -MMD -MF main.o.d -DTORCH_EXTENSION_NAME=pair_wise_distance -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DP
YBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -isystem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch
/include -isystem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -isystem /home/hs/anaconda
3/envs/tgrs1/lib/python3.7/site-packages/torch/include/TH -isystem /home/hs/anaconda3/envs/tgrs1/lib/python3.7/site-packages/torch/include/
THC -isystem /home/hs/anaconda3/envs/tgrs1/include/python3.7m -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++14 -c /home/hs/.cache/torch_extensio
ns/py37_cu111/pair_wise_distance/main.cpp -o main.o
ninja: build stopped: subcommand failed.

I have the same problem that nvcc fatal : Unsupported gpu architecture 'compute_86'
have you solved it?

same problem

same error

same error

I encountered the 'Unsupported GPU architecture 'compute_89'' error and managed to resolve it using a Docker container. Here's a brief walkthrough of my solution:
I utilized a Docker container built by DGL(https://catalog.ngc.nvidia.com/orgs/nvidia/containers/dgl). This image primarily includes CUDA 12.2, Torch 2.1.0, and the Deep Graph Library.
After torch 1.10, THC namespace is deprecated and migrated into ATen, so  within the Docker container, I made the following changes to the headers of the pair_wise_distance_cuda_source.py source file:
#include <stdio.h>
#include <math.h>
#include <cuda.h>
#include <cuda_runtime.h>

#define CUDA_NUM_THREADS 256

#include <torch/extension.h>
#include <torch/types.h>
#include <ATen/core/TensorAccessor.h>
#include <ATen/cuda/CUDAContext.h>
#include <ATen/cuda/Atomic.cuh>
#include <ATen/cuda/DeviceUtils.cuh>
// #include <THC/THC.h>
// #include <THC/THCAtomics.cuh>
// #include <THC/THCDeviceUtils.cuh>

After these modifications, I successfully loaded pair_wise_distance_cuda.
I'm not entirely sure why environment in DGL image fix the problem , but I hope this can be of help to others facing a similar issue.
@237014845 @Wwwww-disign @sym330 @wizard1023 @JiangYun77

I encountered the 'Unsupported GPU architecture 'compute_89'' error and managed to resolve it using a Docker container. Here's a brief walkthrough of my solution:
I utilized a Docker container built by DGL(https://catalog.ngc.nvidia.com/orgs/nvidia/containers/dgl). This image primarily includes CUDA 12.2, Torch 2.1.0, and the Deep Graph Library. After torch 1.10, THC namespace is deprecated and migrated into ATen, so within the Docker container, I made the following changes to the headers of the pair_wise_distance_cuda_source.py source file:
#include <stdio.h>
#include <math.h>
#include <cuda.h>
#include <cuda_runtime.h>

#define CUDA_NUM_THREADS 256

#include <torch/extension.h>
#include <torch/types.h>
#include <ATen/core/TensorAccessor.h>
#include <ATen/cuda/CUDAContext.h>
#include <ATen/cuda/Atomic.cuh>
#include <ATen/cuda/DeviceUtils.cuh>
// #include <THC/THC.h>
// #include <THC/THCAtomics.cuh>
// #include <THC/THCDeviceUtils.cuh>

After these modifications, I successfully loaded pair_wise_distance_cuda.
I'm not entirely sure why environment in DGL image fix the problem , but I hope this can be of help to others facing a similar issue.
@237014845 @Wwwww-disign @sym330 @wizard1023 @JiangYun77

That works, Thanks


Can not remove all clients from a connection

From auth0 created by mvanderlee: go-auth0/auth0#241
Description
Setting c.EnabledClients to an empty list causes it to be omitted from the actual update request and thus the field is not actually updated.
This is because omitempty omits empty slices as well. As found in EnabledClients []interface{} json:"enabled_clients,omitempty".
This appears to be related to https://github.com/golang/go/issues/22480
I'm not familiar with GoLang, but maybe there is a way to omit nil in the MarshalJSON function in connection.py?
Package Version
v5.19.2

Affected Resources

management.Connection

Sample Code
c := &management.Connection{
  EnabledClients = []interface{}
}
err = api.Connection.Update(connId, c, management.Context(ctx))

Expected Behavior
Should set EnabledClients to an empty list. i.e.: disable the connection for all clients
Actual Behavior
EnabledClients update is ignored, or if it's the only property set, the request actually fails.
Output
Error: 400 Bad Request: Payload validation error: 'Too few properties defined (0), minimum 1'

References
https://github.com/golang/go/issues/22480
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Also see https://github.com/auth0/terraform-provider-auth0/issues/14 for references to other cases where the omitempty is the same underlying issue.

Closing this as this has now been fixed with https://github.com/auth0/go-auth0/releases/tag/v0.11.0.
To empty out all the clients from a connection we need to send the following payload.
noEnabledClients := make([]string, 0)
connection := &management.Connection{EnabledClients: &noEnabledClients}
api.Connection.Update(connection.GetID(), connection)


Added check to to_dot and tree methods so nodes are only visited once.

During the development of the pstats reader, I produced a very complex graph with about 1500 nodes and 3000 edges. I mitigated issues of infinite loops which occurred when outputting this graph by detecting and pruning back edges with a DFS. However, due to the complexity of this graph, at least one loop remained which only occurred when nodes were visited more than once. After consulting with Stephanie, we concluded that, just so long as we continue to draw every edge between nodes, it is not crucial that we fully revisit a node if we have already done so. Accordingly, I added a few lines in to_dot and graphframe.tree which check if a node has been visited before exploring that nodes children, thereby preventing any opportunity for looping but still allowing for all edges to be drawn.
This visited check doesn't change the output of the tree visualizations. It fixes the max depth recursion reached error when printing a graph with cycles.

Please add some tests defining a graph (using from_lists) with some cycles.
Reference code defining the same node d:
d = Node(Frame(name="d"))
GraphFrame.from_lists(("a", ("b", d), ("c", d)))

Grab latest to_literal function from develop


NGINX Worker SEG fault in ngx_event_find_timer

Seeing below random crash:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  ngx_rbtree_min (node=, sentinel=) at ./contrib/nginx/src/core/ngx_rbtree.h:76
76         while (node->left != sentinel) {
** backtrace follows
#0  ngx_rbtree_min (node=, sentinel=) at ./contrib/nginx/src/core/ngx_rbtree.h:76
#1  ngx_event_find_timer () at contrib/nginx/src/event/ngx_event_timer.c:66
#2  0x000055ba835e8f75 in ngx_process_events_and_timers (cycle=0x55ba850e43d0) at contrib/nginx/src/event/ngx_event.c:213
#3  0x000055ba835f99d5 in ngx_worker_process_cycle (cycle=, data=) at contrib/nginx/src/os/unix/ngx_process_cycle.c:825
#4  0x000055ba835f75f3 in ngx_spawn_process (cycle=, proc=, data=, name=, respawn=) at contrib/nginx/src/os/unix/ngx_process.c:198
#5  0x000055ba835f910c in ngx_start_worker_processes (cycle=, n=, type=) at contrib/nginx/src/os/unix/ngx_process_cycle.c:365
#6  0x000055ba835f8479 in ngx_master_process_cycle (cycle=) at contrib/nginx/src/os/unix/ngx_process_cycle.c:139
#7  0x000055ba835cd5a1 in main (argc=, argv=) at contrib/nginx/src/core/nginx.c:427

NGINX version is 1.4.4

Seeing the debug level log lines leading up to the crash may help determine if and how this is related to ngx_pagespeed.(see http://nginx.org/en/docs/debugging_log.html)

@rajeshsingh1983 closing this due to lack of information. @rajeshsingh1983 if you are able to post more information, please re-open!


Add jobs for ylem cross-builds

Adds test and prod builds to trigger in the ylem repo

wrong target!


Error During Make

Hello Michael,
I was trying to install the V4l2rstpserver on my Raspberry Pi 4 and found that there was an error during Make. The error message is as follows:

_In file included from /home/pi/v4l2rtspserver/src/HTTPServer.cpp:24:
/home/pi/v4l2rtspserver/inc/HTTPServer.h: In constructor ‘HTTPServer::HTTPServer(UsageEnvironment&, int, Port, UserAuthenticationDatabase*, unsigned int, unsigned int, const string&)’:
/home/pi/v4l2rtspserver/inc/HTTPServer.h:170:126: error: no matching function for call to ‘RTSPServer::RTSPServer(UsageEnvironment&, int&, Port&, UserAuthenticationDatabase*&, unsigned int&)’
Database, reclamationTestSeconds), m_hlsSegment(hlsSegment), m_webroot(webroot)
^
In file included from /home/pi/v4l2rtspserver/src/HTTPServer.cpp:19:
/home/pi/v4l2rtspserver/live/liveMedia/include/RTSPServer.hh:101:3: note: candidate: ‘RTSPServer::RTSPServer(UsageEnvironment&, int, int, Port, UserAuthenticationDatabase*, unsigned int)’
RTSPServer(UsageEnvironment& env,
^~~~~~~~~~
/home/pi/v4l2rtspserver/live/liveMedia/include/RTSPServer.hh:101:3: note:   candidate expects 6 arguments, 5 provided
In file included from /home/pi/v4l2rtspserver/src/HTTPServer.cpp:19:
/home/pi/v4l2rtspserver/live/liveMedia/include/RTSPServer.hh:31:7: note: candidate: ‘constexpr RTSPServer::RTSPServer(const RTSPServer&)’
class RTSPServer: public GenericMediaServer {
^~~~~~~~~~
/home/pi/v4l2rtspserver/live/liveMedia/include/RTSPServer.hh:31:7: note:   candidate expects 1 argument, 5 provided
make[2]: *** [CMakeFiles/libv4l2rtspserver.dir/build.make:2663: CMakeFiles/libv4l2rtspserver.dir/src/HTTPServer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/libv4l2rtspserver.dir/all] Error 2
make: *** [Makefile:163: all] Error 2_

I remember I was able to install the server successfully on another Raspberry Pi yesterday. However, when I was attempting it again today on a new RPi, the failure message above was prompted and the Make process was unable to continue. Can you help me on this? I made sure that all the dependencies had been installed on both Pis similarly.
My temporary fix was to transfer the V4l2rtspserver folder from the Pi yesterday to the new Pi and the installation took place smoothly without any errors.
Thanks.
Denver

Hello, do you know if there is a solution to the problem that I was facing?

Hello, do you know if there is a solution to the problem that I was facing?

Hi,
Maybe rm -rf live* && cmake . && make ?
Best Regards,
Michel.

Hi,
Maybe rm -rf live* && cmake . && make ?
Best Regards,
Michel.


Fix #158 - all videos playing simultaneously

Fixes #158
Derp.

Could you please do a new release with this (and possibly the restyle...) merged? Thanks.

Hey, that would be nice. I think I would still run any changes by you (if nothing else just to get another pair of eyes to review it).


[Feature request]: Modify "Pause Breaks" options

Version

[X] I'm using version 1.15.1

Existing requests

[X] I've checked Existing requests

Advanced Preferences

[X] I've checked Advanced Preferences

What operating system are you using?
macOS
Operating System Version
macOS Sonoma 14.4.1
Problem description
Hello! Thanks for creating this super useful software :)
I was wondering if it's possible to change these times here?

I'd like to have additional options like:

5 minutes
10 minutes
15 minutes

I did take a look at other requests and didn't find anything. I've checked README and also config.json but either the option to modify is there and I'm blind :) or it wasn't implemented.
Possible solution
I'd like to have additional options like:

5 minutes
10 minutes
15 minutes

Alternative solutions
If adding additional options is not feasible then there could be entries in config.json to modify the default values.
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi and thanks for the feedback. As you say, currently it is not possible to cofigure that.
You can set custom pause when using command line
        stretchly pause                                  Pause breaks indefinitely
        stretchly pause -d 60                            Pause breaks for one hour
        stretchly pause -d 1h                            Pause breaks for one hour
        stretchly pause -d 1h20m                         Pause breaks for one hour and twenty minutes

On macOS, you need to use full path, ie: /Applications/Stretchly.app/Contents/MacOS/Stretchly pause -d 5m
I prefer not to add new options there to keep it simple but I guess the options in tray could be made configurable so that people can set their preferable variables.


Registered signers page to explorer

Content
This PR add a new pages to the explorer: Registrations. This pages can be navigated to by using a button at the bottom of the epoch settings card.
It display the registered signers for a given epoch, their stakes, two charts (breakdown of the stakes and the signers weigth) and allow to navigate to the registration of the previous, current or next epoch.
Pre-submit checklist

Branch

[ ] Tests are provided (if possible)
[ ] Crates versions are updated (if relevant)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages

PR

[ ] No clippy warnings in the CI
[ ] Self-reviewed the diff
[ ] Useful pull request description
[x] Reviewer requested

Documentation

[ ] Update README file (if relevant)
[ ] Update documentation website (if relevant)
[ ] Add dev blog post (if relevant)

Issue(s)
Closes #1097

Here's a preview of what the new registrations page looks like:


issue to delete identity

So I have added a type of identity that patchfox can't work with (my manyverse ID)
I'm trying to remove it, but no success, the button does not do anything.
Is there a config file I can manually edit to remove this second identity ?
npm ssb-server running :

If you go to settings -> identities and remotes, you can remove an identity using the remove button.
I just tested here and it worked.


Add an AMBASSADOR_GRPC_METRICS_SINK environment variable.

Description
Add a quick and hopefully not too dirty way to configure envoy to point to send metrics to a GRPC metrics sink.
Testing
I tested this manually by pointing ambassador at the example GRPC metrics sink included in the commit.
Checklist

[ ] I made sure to update CHANGELOG.md.
Remember, the CHANGELOG needs to mention:

Any new features
Any changes to our included version of Envoy
Any non-backward-compatible changes
Any deprecations

[ ] This is unlikely to impact how Ambassador performs at scale.
Remember, things that might have an impact at scale include:

Any significant changes in memory use that might require adjusting the memory limits
Any significant changes in CPU use that might require adjusting the CPU limits
Anything that might change how many replicas users should use
Changes that impact data-plane latency/scalability

[ ] My change is adequately tested.
Remember when considering testing:

LEGACY MODE TESTS DO NOT RUN FOR EVERY PR. If your change is affected by legacy mode, you need
to run legacy-mode tests manually (set AMBASSADOR_LEGACY_MODE=true and run the tests).
(This will be fixed soon.)
Your change needs to be specifically covered by tests.

Tests need to cover all the states where your change is relevant: for example, if you add a behavior that can be enabled or disabled, you'll need tests that cover the enabled case and tests that cover the disabled case. It's not sufficient just to test with the behavior enabled.

You also need to make sure that the entire area being changed has adequate test coverage.

If existing tests don't actually cover the entire area being changed, add tests.
This applies even for aspects of the area that you're not changing – check the test coverage, and improve it if needed!

We should lean on the bulk of code being covered by unit tests, but...
... an end-to-end test should cover the integration points

[ ] I updated DEVELOPING.md with any any special dev tricks I had to use to work on this code efficiently.

Dude. No tests. No docs. This should have never been considered landable.


function app http trigger powershell- function runs twice

I created http trigger powershell template. The function is provisioning vm. The issue I am facing is even my vm gets created in 3-4 mins and starts running in portal. The function never ends it executes the script twice as I can check the log with error as resource with ... name already exists do you want to overwrite and finally it shows timeout after 5 mins.

@tohling - can you look into why we might have executed twice?
@RashmiPankaj - I would recommend you don't have your function run the entire time you're waiting for the VM to run. You're being charged for all that intermediate time, which isn't necessary.
I'd go with two Functions:

Starts the VM creation workflow in ARM and enqueues a message, with the operation id to get status, with a visibility time 3-4 minutes in the future.
The Queue triggered function listening on the queue. It checks the status, and if it is still processing, it reenqueues a minute or two in the future. If it is done, it then does whatever the next steps you would need.

If there is additional work, I'd even consider using another Function with a queue to make your workflow nice and reliable.

@RashmiPankaj, I have seen the PowerShell VM creation script take 7-9 mins to complete.   The script interacts with many sub-systems and execution time varies depending on the response times from those individual requests.  With the current max timeout of 5 mines (soon to be 10 mins), the Function execution will timeout.  The fact that the VM is accessibly via portal is independent of how long it takes for the VM creation script to complete its execution.  I have experienced situations where the VM is showing a "Ready" state in the Portal only to be rebooted subsequently because the provisioning process is in fact still on-going.
Understandably it is wasteful to try to recreate a VM that has already been created.  To mitigate, just check for the existence of the VM using the Get-AzureRmVM cmdlet before you execute the create command.

Closing issue due to lack of response from customer.  @RashmiPankaj, kindly reopen if you have further questions.


Sort by Import Name

Feature - Add option to sort by import name
For some strange reason my team likes to sort their imports by first import name rather than path. I love some of the features TypeScript Hero provides and it would be great if it could also sort my imports as well.
Example
import { ReallyBad, Bad } from '../../bad";
import { Good, PrettyGood } from '../good';
import { Amazing } from 'amazing-packages';

would be sorted like:
import { Amazing } from 'amazing-packages';
import { Bad, ReallyBad } from '../../bad";
import { Good, PrettyGood } from '../good';

Not a planned feature right now ;-) but feel free to contribute
Relates #308

Thanks!

You need to thank @tdd :-) He's the typescript hero of that feature!

@buehler @tdd
Looks like this great and absolutely necessary in our team feature is broken currently.
In my vscode settings I have:
"typescriptHero.imports.organizeSortsByFirstSpecifier": true,

But imports are not sorted by first entity name:
import { PortalModule } from '@angular/cdk/portal';
import { ScrollDispatchModule } from '@angular/cdk/scrolling';
import { CommonModule } from '@angular/common';

VSCode is latest: 1.23.1 (1.23.1)
TypeScriptHero: 2.3.2

Hey @yuriykuzin!
I'm delighted to hear you liked that feature. God knows I loved it too (having written it).  I noticed it breaking a while ago, though, and alerted @buehler to it.
Unfortunately when VSCode started implementing their own import organizer and auto-import features, I believe @buehler thought this would make TSH's feature redundant—or at the very least more difficult to manage w/o conflict. So the plan was more to shave some yak and refocus on other aspects of the extension.
I now need to find time to contribute that same option to VSCode directly, I guess 😐

Thanks @tdd for your reply!
It's a pity though, as TSH is a great extension with all these group settings, but is not helpful in our case.

It is great, I wish it could collaborate with Code's behaviour better.
On Thu, Jun 7, 2018, at 11:59, Yuriy Kuzin wrote:

Thanks @tdd[1] for your reply!

It's a pity though, as TSH is a great extension with all these group
settings, but is not helpful in our case.> — You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[2], or mute the thread[3].
--
Christophe Porteneuve
<EMAIL_ADDRESS>
Links:

https://github.com/tdd
https://github.com/buehler/typescript-hero/issues/316#issuecomment-395364632
https://github.com/notifications/unsubscribe-auth/AAAOqOx-BUboqxAvVX6s88-ksig4Md7uks5t6PmTgaJpZM4P0Z0U

Is this issue of   typescriptHero.imports.organizeSortsByFirstSpecifier: false, not working fixed?


Looks like my results aren't getting written to disk :(

Run the ./bin/kmeans-example.sh, see that the results aren't getting written out.

Closed by GH-21