Unable to install the clustersecret helm chart

Before I now, I didn't have any problems using the cluster secret helm chart, but suddenly I have problems installing it.
Exception: invoke of kubernetes:helm:template failed: invocation of kubernetes:helm:template returned an error:
failed to generate YAML for specified Helm chart: failed to pull chart:
looks like "https://charts.clustersecret.io/" is not a valid chart repository or cannot be reached:
Get "https://charts.clustersecret.io/index.yaml": dial tcp: lookup charts.clustersecret.io on <IP_ADDRESS>:53: no such host

And when I do a nslookup on the domain:
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

** server can't find charts.clustersecret.io: NXDOMAIN

Is something wrong with the domain?

same issue here

Renovatebot complains as well.

Same here, it seems like it is a DNS issue, as the main website cannot be resolved either.

A workaround right now is to use it directly from github. Do an helm install directly from repo as https://raw.githubusercontent.com/zakkg3/ClusterSecret/cluster-secret-0.4.1/docs/ where cluster-secret-0.4.1 is the branch / tag. No need to specify the version anymore to helm unless you get an error of the version not existing - no version resolution needs to take place anymore since you already specified in the URL.

Domain problem is still unsolve?

Im not sure if this Repo is maintained anymore ... It is a nice project

@ThisIsIPat hahah same here, replicator might be the better option, since one can control the ns that gets the secret + other ressources are also shareable

https://github.com/zakkg3/ClusterSecret/issues/139


Improve "Add a Currency" docs

Feedback welcome on the original PR too: https://github.com/atomiclabs/hyperdex/pull/540
I intend to keep this one open for a while to gather feedback.

[ ] Requirement: The submitter should commit to keeping the Electrum servers running and if they need to be taken down, give us due notice so we can update/remove.


Stream Enrich: add ability to retrieve resolver and enrichments from Google Cloud Datastore

ah so we can support datastore for gcp
cc @alexanderdean from our convo this morning


github: cd

relies on e2e env
runs on self-hosted runner
on tag [created]
runs e2e, published artefacts on success

not relevany anymore


out of date page

This document is out of date and doesn't show some of the options on the new page, such as Port Type: Provider/Direct.
[Enter feedback here]

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

ID: 8a194d81-fdcf-dbe0-0817-37609a377e46
Version Independent ID: f70fedd3-a271-10e9-e60b-d76ff2b67131
Content: Tutorial - Create and modify a circuit with ExpressRoute
Content Source: articles/expressroute/expressroute-howto-circuit-portal-resource-manager.md
Service: expressroute
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@richard-artes Thank you for bringing this to our notice, our team will further look into and get back to you at the earliest.

@cherylmc Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@richard-artes This doc has been updated now to reflect the newer options in the portal.
#please-close


Batch simulation: batching over deeper Net params?

Hi team - I was checking out the new BatchSimulate function in 0.4 and it seems it is set up primarily for testing different parameters of the external drives. Is there any functionality or can you suggest the best way to test multiple parameters for the local network parameters (e.g., let's say, L5 basket -> L5 Pyr soma GABAb weights)?
A challenge I am facing is that I can set up a new network configuration in a notebook and test it for such a parameter change but as referenced in https://github.com/jonescompneurolab/hnn-core/issues/774#issuecomment-2261446313 , such an externalized network instance won't simulate in parallel because of some MPI security settings, and have to manually change the hnn-core code in my own fork to test out new network configurations if I want to run multiple trials or optimize in parallel. Would be great to 1) not have to change the hnn-core library code each time I want to sub in a parameter to test or 2) be able to batch this at once over a range of values in parallel.

This isn't an answer to your question, but in the short term would it make sense to parallelize with joblib? If you're batch simulate then at some level each simulation in the batch independent from the other.

Also you can configure batch simulate to update internal network values in a custom set_params function:
def set_params(param_values, net):
    net.cell_types['L5_pyramidal'].your_attribute_here = param_values['custom_value']

param_dict = {'custom_values': np.linspace(0, 5, 10)}

Thanks Nick, that ended up working just fine - assumedly because the parameter adjustments on the network are happening within the scope of the hnn-core scripts and not out in an external notebook.


The date filters in the download files modal do not disappear when logs are not selected.

The date filters will remain visible even if the user unchecks the logs from the desired files for download.

Modified the value from the listened input to the new LogsDataResource hint.
Fixed modal:


Raspberry Zero Support

With this PR I'm able to run spruned, along with clightning, on a raspberry PI Zero.

Transactions are not separately cached anymore
Async tasks all around improved.
Logging rationalized
Switch to plyvel 0.9 cause of leveldb compatibility issues on most debian based distros
Addressed some memory leaks

Pull Request Test Coverage Report for Build 128

36 of 102 (35.29%) changed or added relevant lines in 14 files are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.2%) to 69.426%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

spruned/daemon/p2p/init.py
0
1
0.0%

spruned/application/tools.py
4
5
80.0%

spruned/application/cache.py
3
6
50.0%

spruned/repositories/headers_repository.py
1
4
25.0%

spruned/repositories/blockchain_repository.py
3
7
42.86%

spruned/daemon/tasks/blocks_reactor.py
15
20
75.0%

spruned/application/jsonrpc_server.py
0
6
0.0%

spruned/application/logging_factory.py
0
12
0.0%

spruned/application/spruned_vo_service.py
0
15
0.0%

spruned/daemon/p2p/p2p_connection.py
5
21
23.81%

Files with Coverage Reduction
New Missed Lines
%

spruned/application/cache.py
1
80.0%

spruned/daemon/p2p/p2p_connection.py
1
51.83%

spruned/application/logging_factory.py
3
56.36%

Totals

Change from base Build 111:
-0.2%

Covered Lines:
1451

Relevant Lines:
2090

💛  - Coveralls


Evaluation problem

Hello author, I would like to have 60 scans in the Custom Humans dataset. How were the images used to generate the grid obtained?

Hi, have you checked?
https://github.com/SiTH-Diffusion/SiTH/blob/main/EVALUATE.md


[Bug] homebrew k package does not work on Big Sur

When you install the kframework homebrew package on Big Sur, kompile will sometimes fail with some weird error involving not being able to find the C standard library if you try to pass C files on the command line via -ccopt. This seems to be because the llvm@8 homebrew package is old enough that it wasn't fixed in Big Sur to point to the correct include paths, which means it can't find some of the necessary headers. I tested and everything works fine with llvm 12, but Mojave can't build K with llvm 12 (some complex link-time errors that aren't probably worth trying to solve).
So I think what we need to do is just update the Jenkins Anka slave to use Big Sur instead of Mojave, fix up the release system as needed, and let people know we no longer support MacOS 10.

To have llvm@8 on Mojave, and llvm@12 on Big Sur, we would need separate homebrew packages, which would mean people would do something like brew install k-sur or brew install k-mojave. Probably not worth investigating.


Add example of passing element names as array to README

Currently there's no way for a user to know this is possible without reading the source.

Thanks!


chore(tabBar): Update TabBar css to prevent text overflow

In the packaged app on loading patter, the tab look like :-

This Pr fixes this issue.
QA-
To test this PR package the app and go to safe://patter.dapp

@manavbp we shouldn't need to use !important at all. This means we're doing CSS wrong.
I think the real issue here is, why doesn't nowrap work on the container? It should not allow this. Is it in the correct place?

@joshuef the reason we are using is because antd-col sets the position to relative thereby causing the postion of the favicon and close icon to be miss aligned. Adding !important overrides antd style class and sets postion to absolute. Which is why !important is required.


Revert "Adding default Certificate for monitoring namespace"

Reverts ministryofjustice/cloud-platform-terraform-certmanager#9
The original PR is created as part of having dedicated ingress-controller for monitoring and no longer required.
Monitoring uses the default ingress-controller and hence it uses the default-certificate in the ingress-controllers namespace.

Reverts #9
The original PR is created as part of having dedicated ingress-controller for monitoring and no longer required.
Monitoring uses the default ingress-controller and hence it uses the default-certificate in the ingress-controllers namespace.

When applying these changes to live-1, is_live_cluster should be removed.


Fix reschedule so that it won't break nested locks

First cut at a fix for #16273.  I managed to convince myself that the original suggested fix (check interrupt state always and only ever call swap when an irq_unlock of the current key would unmask interrupts) was correct in all cases, and that the original behavior can only be seen as a bug.  My concerns about compatible behavior live on only as an editorial comment in the commit message.
NOTE THAT THIS CAN'T MERGE YET.  The new z_arch_irq_unlocked() predicate isn't implemented yet on ARC, because I can't find docs and don't want to write the code blindly to simulator behavior (and, to be fair, don't want to go through the trouble of getting nsim working).  Someone expert (@ruuddw? @vonhust?) should really look at this.  As it ARC code will build and match the pre-existing (buggy!) behavior, but the new test case in kernel/common will fail by design.

@andyross @ruuddw , for ARC , the code should be
static ALWAYS_INLINE bool z_arch_irq_unlocked(unsigned int key)
{
         /* ARC irq lock uses instruction "clri r0",
          * r0 ==  {26’d0, 1’b1, STATUS32.IE, STATUS32.E[3:0] }
          * bit4 is used to record IE (Interrupt Enable) bit
          */
         return (key & 0x10)  ==  0x10;
}

@andyross could you take a look at the review comments?  This fixes a high priority bug, would be great if we could get it merged soon. Thanks!

Imo, this is half way solution as we still need k_is_in_atomic() for certain situations.
We need something like z_arch_irq_is_locked(void) which would read directly from the hardware. For the first round z_arch_irq_is_locked(void) can be implemented sub-optimally as:
bool k_is_in_atomic(void)
{
  if (k_is_in_isr()) return true;
  int k = irq_lock();
  irq_unlock(key);
  return (k != 0); //key value is probably arch dependent so we might need arch specific code here
}

Hi @nordic-krch , resched is checking both z_arch_irq_unlocked(key) and !z_is_in_isr() so it seems correct. The is_atomic API may be nice to have as a convenience. The way it is proposed in the snippet would be problematic as it locks and unlocks the IRQs which takes time (2us or so if I remember correctly) and can be pain if something calls is_atomic frequently. Anyway what @andyross proposed should be fine.

If there is no consensus how to deal with other architectures maybe we can leave them with
#define z_arch_irq_unlocked(x) false

and allow others to do the right fix.
Nothing will change for them while ARM will be fixed. Bug can be kept open with information which architectures are not fixed.
I personally believe that for most popular archs such critical issues should be fixed asap without waiting for others.

API may be nice to have as a convenience

I don't think it's a convenience. We have that in #16194 which is currently blocked because lack of this feature. We don't know if we can wait or not. And i'm not saying that this lock/unlock pair should be used internally. I know this is slow. That's why i said for for the first round .... But if there would be a problem with providing arch specific readout of current interrupt locking state then i would prefer to have functionality than have it delayed.

@nordic-krch I guess you are right. Though with the proposed change this could be derived.
I think, it would move much faster if PR would be done for specific architectures only. I understand Zephyr is targeting many things but I see no reason why changes like this one target all archs should be done in one PR or by one person only.
I think this is the essential reason for this change not being in yet.

New version pushed that includes the ARC implementation (@ruudw and @vonhust, if you could test this on your setup and report success, I'd be appreciative -- I don't have the ability to run ARC tests easily) and addresses most of the review comments.
Note that there are failures in some platforms in tests/kernel/fatal.  The proximate cause here is that exception handlers on those platforms appear to be returning false for z_is_in_isr(), causing a k_thread_abort() call in the test to try to context switch (!!! -- I think every one of these platforms is on the interrupt stack when this happens!).  But that sort of worked, because it was a thread abort of _current and nothing would ever try to return back into it.  But now we don't switch, and the code continues on to some other failure it never reached, resulting in a recursive panic.
Basically something bad is wrong with exception entry on some platforms, and it's blocking this patch.  Working on it now.

It's useful to be able to inspect the key returned from z_arch_irq_unlock()

I think you mean z_arch_irq_lock()

Imo, this is half way solution as we still need k_is_in_atomic() for certain situations.
We need something like z_arch_irq_is_locked(void) which would read directly from the hardware. For the first round z_arch_irq_is_locked(void) can be implemented sub-optimally as:
bool k_is_in_atomic(void)
{
  if (k_is_in_isr()) return true;
  int k = irq_lock();
  irq_unlock(key);
  return (k != 0); //key value is probably arch dependent so we might need arch specific code here
}

@andyross @nordic-krch
Can't we have both? z_arch_irq_unlocked(unsigned int key) to find out whether interrupts were enabled before we called irq_lock() and then a new k_irq_is_locked(void) that is implemented with an arch-specific z_arch_irq_is_locked(void) that reads directly from the hardware?

@nordic-krch: what's the situation you're thinking of?  Reading mask state from the hardware isn't cheap on every platform.  And design-wise, being in a situation where you need to know what the lock state is and don't have access to the key to unlock it tells me that you're in a critical section that is WAY too big anyway. :)
Using the key was chosen deliberately, basically.   It's faster and safer.

@andyross I think @nordic-krch is trying to find a way to know when it is safe to wait on a kernel object. Right now in the proposal he uses k_is_in_isr() but this is not enough if it's thread mode but with interrupts disabled, since LOG_ can be called from anywhere:
https://github.com/zephyrproject-rtos/zephyr/pull/16194/files#diff-b49ebd7b7d98a0d159b2a4cb8b974c75R329

@andyross, The case is as @carlescufi pointed out. What about having k_irq_is_locked(unsigned int *key) if key=NULL then hardware readout is performed using something like z_arch_irq_is_locked(void).

I'm not really opposed to the API, it's more of an aesthetic complaint.  I mean, on existing architectures (all of them) it's just going to be implemented with the equivalent of:
bool k_irq_is_locked(void)
{
    unsigned int key = z_arch_irq_lock();
    bool ret = z_arch_irq_unlocked(key);

    z_arch_irq_unlock(key);
    return ret;
}

The only thing an optimized version would save is the resulting unlock call.  And on a few platforms it's possible to read the mask flags a little faster than it is to read-and-set them (e.g. on x86 it saves a CLI instruction).
But really, this is cheap (or at least not significantly more expensive than the custom API requested), so I guess I'm wondering if it's really worth having this as an API to be supported by every architecture.
Alternatively: surely you're doing your own synchronization in that logging code already somewhere, right?  You don't have a irq lock key (or a spinlock key -- same thing modulo the struct wrapper) you can use as a proxy?

I'm not really opposed to the API, it's more of an aesthetic complaint. I mean, on existing architectures (all of them) it's just going to be implemented with the equivalent of:
bool k_irq_is_locked(void)
{
    unsigned int key = z_arch_irq_lock();
    bool ret = z_arch_irq_unlocked(key);

    z_arch_irq_unlock(key);
    return ret;
}

The only thing an optimized version would save is the resulting unlock call. And on a few platforms it's possible to read the mask flags a little faster than it is to read-and-set them (e.g. on x86 it saves a CLI instruction).
But really, this is cheap (or at least not significantly more expensive than the custom API requested), so I guess I'm wondering if it's really worth having this as an API to be supported by every architecture.
Alternatively: surely you're doing your own synchronization in that logging code already somewhere, right? You don't have a irq lock key (or a spinlock key -- same thing modulo the struct wrapper) you can use as a proxy?

I really don't want to block this PR because of this parallel discussion (I re-triggered CI but it seems there's still a couple of failures) but at least on Arm, checking whether interrupts are enabled is a single instruction mrs key, {PRIMASK, BASEPRI} so IMHO it would be substantially less code executed? Maybe I'm missing something, but why would we need to disable and then reenable interrupts just to check whether those are enabled at a particular point in time for archs that have a trivial mechanism to check for that?

Maybe I'm missing something, but why would we need to disable and then reenable interrupts just to check whether those are enabled

Mostly because I'm 75% confident you already are somewhere in that logging code, for the obvious reason that the logging is going to need some kind of internal synchronization anyway.  My resistance is to adding a new API that every architecture needs to implement, the example there was just to show that this is an easy thing to work around.
FWIW: a really good example of why API minimalism and avoidance of per-platform hackery is important is precisely the remaining failures you're seeing on this PR.
What's happening in those tests is that user code is calling Z_ARCH_EXCEPT() to generate a synchronous exception, but on a bunch of architectures this call does not, in fact, generate an exception at all and just invokes z_NanoFatalErrorHandler() on the local stack and just ... assumes that user code will arrange so that it never returns (in this case by calling k_thread_abort(_current)).  But the z_swap() call in k_thread_abort() is now doing a reschedule that is aware of the lock state, and the new code is refusing to actually swap away because of an outer lock (that is in app code, not kernel code), so we "return" from Z_ARCH_EXCEPT() and things blow up.
That is: someone at some point decided to add an API because it was immediately useful, but didn't implement it the same way everywhere.  And now your super high priority bug is blocked because I need to back out and figure out a way to implement a more robust fallback hack than the one we had already (it's looking right now that it's going to have to be the equivalent of z_arch_irq_unlock_all(), hilariously -- either that or figure out how to implement a proper trap on all architectures that don't do it already).

Maybe I'm missing something, but why would we need to disable and then reenable interrupts just to check whether those are enabled

Mostly because I'm 75% confident you already are somewhere in that logging code, for the obvious reason that the logging is going to need some kind of internal synchronization anyway.

Not sure what you mean here with "you already are". You mean that the logging subsystem is already disabling interrupts? That is correct, as far as I can tell both the LOG_ functions and the background thread do disable interrupts to synchronize on the list that holds the logs, so I think we could use that key as you say. @nordic-krch thoughts?

My resistance is to adding a new API that every architecture needs to implement, the example there was just to show that this is an easy thing to work around.
[...]
That is: someone at some point decided to add an API because it was immediately useful, but didn't implement it the same way everywhere. And now your super high priority bug is blocked because I need to back out and figure out a way to implement a more robust fallback hack than the one we had already (it's looking right now that it's going to have to be the equivalent of z_arch_irq_unlock_all(), hilariously -- either that or figure out how to implement a proper trap on all architectures that don't do it already).

Point taken, thanks for explaining.

it's looking right now that it's going to have to be the equivalent of z_arch_irq_unlock_all(), hilariously

FWIW you already had an initial (very simple and effective) implementation of this for Arm and x86 here: https://github.com/zephyrproject-rtos/zephyr/pull/9668/files

OK, I think I have this working now.  Explanations for the issues fixed are in the separate commit messages.  Basically there were two spots where code (as I feared) really was expecting the old "reschedule can swap when doubly-locked" behavior.  But it was kernel internals without API exposure, so we can fix it internally.

@andyross thanks for following-up.

Mostly because I'm 75% confident you already are somewhere in that logging code, for the obvious reason that the logging is going to need some kind of internal synchronization anyway.

I looked at the code again, and I think your proposal although reasonable, won't work in this case. This is because the log message needs to be allocated from a mem slab before you can actually put in in a list, which is where interrupts are being locked to protect that list from being accessed from two contexts. And it's really the call to k_mem_slab_alloc() that needs to be called either with a timeout or K_NO_WAIT depending on whether interrupts are enabled or not. So, at least in this particular case, I don't see an easy way to reuse the locking to then check if interrupts were enabled with the key you get from it, due to the order in which operations happen.

@carlescufi the case is as you described.

@andyross removed DNM here

New version pushed that includes the ARC implementation (@ruudw and @vonhust, if you could test this on your setup and report success, I'd be appreciative -- I don't have the ability to run ARC tests easily) and addresses most of the review comments.

I've tested and it works for me. Only a minor style consistency comment, see inline remark.


generate more paraphrases using randomly picked exemplars

I'd like to get several paraphrases for each source sentence.  Below is an approach which I attempted and an error that came up.
Modified src.txt and tgt.txt in directory: data/custom_data/test
Each sentence in src.txt was paired with 8 additional randomly picked exemplar sentences from tgt.txt - now the sizes of src.txt and tgt.txt are each 9x larger than their original size.
Here's the command I ran to generate paraphrases: python -m src.main -mode decode -dataset custom_data -run_name custom_model -gpu 0 -beam_width 10 -max_length 60 -res_file generations9x.txt
The program terminated early (snip from end of buffer below).  If this approach is possible, what steps should I take to resolve?  For example, would I need to re-run corenlp on the 'test' directory's src.txt and and tgt.txt files?
`2021-03-18 16:35:01,863 | INFO | main | -------------------------
2021-03-18 16:35:01,863 | INFO | main | Height: 14
2021-03-18 16:35:01,863 | INFO | main | Source Sentence: my dad found a big stack of 20s on the sidewalk in a less than desirable neighbourhood .
2021-03-18 16:35:01,863 | INFO | main | Template Sentence: but it does n't do what it is designed to do ... does n't hold many brushes and does n't have 2 sides to hold water .
2021-03-18 16:35:01,863 | INFO | main | Syntactic Paraphrase: and my dad found a big stack of 20s on the sidewalk in a less than
2021-03-18 16:35:01,863 | INFO | main | -------------------------
2021-03-18 16:35:01,863 | INFO | main | ********************
Terminated`

I'm re-running the model and it appears to be working ok.  Maybe I inadvertently hit an escape key last session.  I'll update when it finishes.

The sgcp model ran successfully, however, only one paraphrase was generated per source/target pair, whereas in my ~/test directory, src.txt and tgt.txt were modified to contain 9x source/target pairs per original source sentence.

I'm re-running sgcp, but first parsed the ~/test directory's modified src.txt and tgt.txt files using Stanford corenlp.  I'll update once the program finishes running (fingers crossed!).

At src/clean_generations.py - line 49 modified --> ref = ' ' #refs[ref_it] ##refs disabled for sgcp_9x.py
After making this change, sgcp generations worked for randomly picked exemplars.  As a note, since gold label data was not available for randomly picked exemplars, I did not attempt to run metric functions that would require such gold labels.

I'm re-running sgcp, but first parsed the ~/test directory's modified src.txt and tgt.txt files using Stanford corenlp. I'll update once the program finishes running (fingers crossed!).

the code con_parser I can't make the tree. The code can't connect to Stanford's servers.  how you make it  hope you can reply me thank you


Multi site framework agnostic

This will allow laradock to become framework agnostic building on PR #231 . This adds a folder for example conf files which contains a drupal 8 example. This will also install opcache in the PHP-FPM container and Drush in the workspace container.

@tjb328 are you available on gitter?

What do you think about:
    workspace:
        build:
            context: ./workspace
            args:
                - INSTALL_MONGO=false
                - INSTALL_XDEBUG=false
                - INSTALL_NODE=false
                - INSTALL_DRUPAL=false

That way all that Drush stuff won't be dumped on Laravel Devs.
Thoughts?

Good idea. Let me get another commit put together. I'll also include some changes for opcache.


Support Result Grouping

https://www.finna.fi/

[x] handler grouping
[x] static grouping
[x] rename to group instead of section in code and documentation

a8fe493da8c08c72fc14bab88086fc479a853e61


feat(PLRC100-36) add:Respondent-Details-Contact-details

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

These changes are merged as part https://github.com/hmcts/prl-citizen-frontend/pull/522
Closing this PR


feat: bring back permission actions

Made changes as per https://github.com/getAlby/lightning-browser-extension/pull/1821#issuecomment-1338058502


Make a ffmpeg script that normalizes the sound of all effects

I want all sound effects to be the same volume.

Now that I know a bit more about audio engineering (thanks, guitar), a "compressor" might be what I'm looking for.


Supported VM types/series

I think it is important to mention in this article that Nested Virtualization is only supported for limited number of VM types. Initially only dv3 and ev3 families of VMs were supported, nowdays it is completly stale information.
Can you please provide a full list of supported families?

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

ID: 9a13cf32-4be1-94d9-b764-0faf79372065
Version Independent ID: 6787036e-5a30-bd17-e87a-54f61b0ba47f
Content: Nested Virtualization
Content Source: virtualization/hyper-v-on-windows/user-guide/nested-virtualization.md
Service: windows-10-hyperv
Product: windows-10-hyperv
GitHub Login: @johncslack

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


input_file_name not working in spark-xml

Hi, I'm trying to add input file name for every row when loading xml file through com.databricks.spark.xml format. But it is returning empty column for filename.. Below is the code snippet. I'm using input_file_name function
sqlContext.read.format("com.databricks.spark.xml").
option("rowTag", "BO_RECORD").
load("file:///<path>/*").
withColumn("filename",input_file_name()).show()
+------------+-----------+---------------+--------+
|TicketRefund|TicketsSold|_corrupt_record|filename|
+------------+-----------+---------------+--------+
|           0|          3|           null|        |
|           0|          1|           null|        |
|           0|         18|           null|        |
|           0|         22|           null|        |
|           0|          3|           null|        |
+------------+-----------+---------------+--------+
I tried with different ways, but still it returns empty filename when using com.databricks.spark.xml.
sqlContext.read.format("com.databricks.spark.xml").
option("rowTag", "BO_RECORD").
load("file:///<path>/*").select(input_file_name()).show()
However it works good when doing a normal data-frame load for text files.Kindly help.

It was an issue within spark. Please refer https://github.com/databricks/spark-xml/issues/203.

Hi @HyukjinKwon , Thanks for looking into. Issue #203 refers that input_file_name() does not work when used within UDF. But the issue I posted, I'm not using in UDF, but directly adding it as a column (using withColumn) which is returning empty records.
Could you please check that ? Pardon me if my understanding is wrong.

Do you mind if I ask version informations for Spark and spark-xml please? let me try it. Is it Python?

@HyukjinKwon I'm using Spark 1.6.1 With Scala 2.11.8 and spark-xml_2.10:0.4.1

Ah, could you try this with 0.3.5? 0.4.x is for Spark 2.x.x.

@HyukjinKwon tried 0.3.5, still the same issue.
spark-shell --packages com.databricks:spark-xml_2.10:0.3.5

I see. Let me try this out soon.

@HyukjinKwon , yes please. I need this function very badly, as there is a requirement based on this. Do you suggest any alternate ways till then ?

This is an issue for me too. I am trying to parse over 2.5 million xml files and it seems that I wont be able to log which ones fail due to malformed XML if I cant get the file name. Is there a workaround for this or is it in the pipeline to be fixed?

org.apache.spark.sql.AnalysisException: cannot resolve 'tablename.input__file__name' given input columns: [col1, col2, col3-------------so on]; line 1 pos 805;
'Project [*]
+- 'SubqueryAlias viewname, dbname.viewname
+- 'Project ['col1 AS col1#374, 'col2 AS col2#375, 'col3 AS col3#376, 'so on]
+- 'SubqueryAlias dbname.view_name
+- 'Project [version AS col#373, so on 'tablename.input__file__name, date#387]
+- MetastoreRelation dbname, tablename
getting problem in reading view. getting input__file__name exception

any updates on this one?

I'd also like to know if there are any updates?

Guys, this should really be a problem within Spark. Mind double checking if this thing only happens with Spark XML thirdparty library?


Fix Web App ACR authentication doco

The doco was missing an indentation after the keyword "With".

@ahmedig Indendation issue is fixed in PR #58. Closing this PR since the issue is already fixed.


eslint-loader prevents webpack from running after upgrading to webpack 3.1+

I get the following error after upgrading to Webpack 3.3.0.  I downgraded to Webpack 3.1.0 without resolving the issue. Unfortunately, I cannot downgrade further without also downgrading a number of other modules which have fixes I need. This is preventing me from using Webpack with eslint-loader enabled.
    ERROR in ./js/main.jssrc
    Module build failed: TypeError: loaderUtils.getOptions is not a function
        at Object.module.exports (/home/ubuntu/workspace/node_modules/eslint-loader/index.js:150:17)
     @ multi ./js/main.jssrc

After further investigation, it seems eslint-loader had suddenly started using a very outdated version of loader-utils after I upgraded from Webpack 3.0 to Webpack 3.3:
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>
I solved by manually installing npm i loader-utils@1. Not sure how this happened as eslint-loader specifically requests<EMAIL_ADDRESS>and I haven't touched eslint-loader in any way.
Regardless, apparently, this isn't an eslint-loader issue but some sort of weird npm issue. I'm leaving this here so you can at least see it and come to your own conclusions before closing.

Like you said, it's not directly an eslint-loader issue as we have 1.x as a dep https://github.com/MoOx/eslint-loader/blob/667baf33828405b47ba42930ccac0ccaa6546c0b/package.json#L23
I guess you got some weird upgrade or something. I am closing this as user using search will find you experience. Thanks for sharing!


Might be useful to write some comparison to current day stacks

It would be interesting to understand how SiteMash compares to current day stacks and understand it's usefulness today.

SiteMesh is something to be used on top of any stack and is still very useful.   Please see latest Spring Boot example.


elementor - closing dev tools

Hi,
I have set up with the new version for a nonAngular application,  but when i select an element it closes the dev tools and outputs the results in the console. I am guessing there is some sort of error there or is this supposed to happen?

Open a new tab with the same page as the first tab. Use the developer tools on the second tab to get suggestions.
Protractor uses the developer tools to communicate with the browser. It cannot be open while protractor is running. That is why the console gets closed.

+1


Only one tick per packet received.

please do share, how many ticks we receive in single packet? like kite api’s websocket has around 600 to 1000 ticks data in single packet?
as I checked you guys provide only one tick per packet which is obviously going to be slow if you are options trader and will subscribe to large amount of tokens.
Brother the websocket data api is useless if you guys provide only 1 tick per packet received, as when you subscribe large amount of tokens you will not get synced prices or ltp or data and will get delayed data which will cause huge slipages.
I recently move back to dhan just because you guys start providing socket live feed api. I request you to provide at least 500 to 1000 ticks per packet (just like kite's websocket api provides) so that we can get synced prices.

Hello @roshi112
We have benchmarked our Live Market Feed with single tick per packet and found the results to be exceptionally good (with upto 5000 instruments on single socket).
We would humbly request you to kindly test the speed of Dhan Websocket at your end (for update in prices) and then let us know your feedback. Would be happy to hear you in case you face delay here.

This only assumes speed for packet delivery. If someone wants to do some processing on packets where the number of instruments are as high as 5000. if there is no compression, alot cpu goes in processing a single packet only and lots of packets are lost. Could please process with some thing packet compression or multiple ticks delivered in single packet.
This is a bottle neck for large packet subscription. Could you please create some sort of feature for compression.

@saurabhy7
Right now, we are not looking to add compression as it will simply increase the compute time on both ends. To decide on the option of sending multiple tick in single packet, the approach with which the data is being parsed at Client can be debated upon.
In case your CPU times are going up, you need to relook at the parsing logic. Also, with increased processing time, it will not lose packets but create queue. As I said, both approaches do have it's pros and cons. To ensure lower latency from our end to deliver data to you, we are keeping it this way.


APT whitelist request for libtiff-dev

APT whitelist request for libtiff-dev
Used to build wxPython Phoenix from source. See https://github.com/wxWidgets/Phoenix#prerequisites

Ran tests, but could not found source package. Either the source package for libtiff-dev does not exist, or the package needs an APT source. If you wisht to add an APT source, please follow the directions on https://github.com/travis-ci/apt-source-whitelist#source-approval-process. Build results: https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72365363.

Sorry, my bad. Turns out this is a virtual package and is covered by libtiff4-dev (which is already on the whitelist). So I think this can be closed.
Source: http://packages.ubuntu.com/precise-updates/libtiff-dev

No worries. Thanks for the update!


Using Shap with an AutoTrackable object (from loading a saved model)

I'm using tensorflow 2 and have a model saved which I've been loading into a notebook. Loading the model returns an AutoTrackable object which I've been using to return predictions using the 'predict' model signature.
model = tf.saved_model.load(export_dir = model_dir)
model
<tensorflow.python.training.tracking.tracking.AutoTrackable>
However, I've not been able to use this AutoTrackable object within a Shap explainer and couldn't see a similar problem posed online. For what I'm doing I have to load saved models into the notebook I'm working within. Any help or advice on what I'm doing wrong would be greatly appreciated.

@tec-88 were you able to find a solution to how to use DeepExplainer with SignatureDef and AutoTrackable objects?

Hey, were you able to resolve this issue?


Rename Omen model

Description of changes
Follow up to #759 as that was considered stale. Closes #753
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

@mergify queue


cmd/release: must run api checker

We keep issuing releases without noticing that the API file is out of date.
We need to change cmd/release to run the api checker.
See discussion on https://go-review.googlesource.com/#/c/12769/ for example.

The more I think about this, the more it seems like we should run all.bash.

I'm running a test now to see what all.bash leaves behind.
On 31 July 2015 at 02:26, Russ Cox<EMAIL_ADDRESS>wrote:

The more I think about this, the more it seems like we should run all.bash.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/11943#issuecomment-126392729.

It looks like test/bench/shootout leaves behind .o and .out/.exe files.
Sending a fix to remedy that. We should probably put a check in dist to
cause all.bash to fail if tests leave files behind in the tree, but for 1.6.
On 31 July 2015 at 11:26, Andrew Gerrand<EMAIL_ADDRESS>wrote:

I'm running a test now to see what all.bash leaves behind.
On 31 July 2015 at 02:26, Russ Cox<EMAIL_ADDRESS>wrote:

The more I think about this, the more it seems like we should run
all.bash.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/11943#issuecomment-126392729.


💄(backend) update search form template

Purpose
We don't want to display the default machina navbar in the header.
Proposal

[x] Remove the navbar
[x] Add a search form below the breadcrumbs

@jbpenrath Thank you very much for your review, i addressed your feedbacks.


[ObjCRuntime] Misc fixes in a lot of places.

General improvements:

Fix grammar, typos, etc.
Improve documentation in a few places where it was unclear.
Fix documentation when it was wrong/incorrect.

Docs Build status updates of commit 0c6d54d:
:clock10: Full build: the average full build time is 43 min(s) 34 sec(s), this is based on the last 5 build(s) for this repository.
:warning: This is a FULL build due to a recent Docs Build service upgrade, normally no action is required on your part. In the result you find subsequent builds still performing full builds, please contact your repository admin to manually perform a full build on the 'master' branch. For more detailed info, please click here.

Docs Build status updates of commit 0c6d54d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

en/api/ObjCRuntime.MonoNativeFunctionWrapperAttribute.yml
:warning:Warning
View
Details

en/api/ObjCRuntime.MarshalManagedExceptionMode.yml
:warning:Warning
View
Details

en/api/ObjCRuntime.Dlfcn.yml
:warning:Warning
View
Details

en/api/ObjCRuntime.yml
:warning:Warning
View
Details

en/ObjCRuntime/AdoptsAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ArgumentSemantic.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BaseWrapper.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockFlags.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockLiteral.xml
:white_check_mark:Succeeded

en/ObjCRuntime/CategoryAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Constants.xml
:white_check_mark:Succeeded

en/ObjCRuntime/DeprecatedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn+RTLD.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn.xml
:white_check_mark:Succeeded

en/ObjCRuntime/INativeObject.xml
:white_check_mark:Succeeded

en/ObjCRuntime/IntroducedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkTarget.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkWithAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalManagedExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalObjectiveCExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoNativeFunctionWrapperAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoPInvokeCallbackAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoMacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoTVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoWatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoiOSAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ObsoletedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Platform.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Runtime.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TypeConverter.xml
:white_check_mark:Succeeded

en/ObjCRuntime/UnavailableAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/WatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/iOSAttribute.xml
:white_check_mark:Succeeded

en/api/ObjCRuntime.MonoNativeFunctionWrapperAttribute.yml

[Warning] 1 invalid cross reference(s) "System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer".

en/api/ObjCRuntime.MarshalManagedExceptionMode.yml

[Warning] 1 invalid cross reference(s) "ObjCRuntime.marshaling.ThrowObjectiveCException".

en/api/ObjCRuntime.Dlfcn.yml

[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 1 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen".
[Warning] 2 invalid cross reference(s) "ObjCRuntime.Dlfcn.dlopen", "ObjCRuntime.Dlfcn.dlclose".

en/api/ObjCRuntime.yml

[Warning] 1 invalid cross reference(s) "System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 5635f52:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

_dependentPackages/ECMA2Yaml/tools/Run.ps1
:x:Error

Details

.openpublishing.publish.config.json
:x:Error

Details

:x:Error

Details

_dependentPackages/ECMA2Yaml/tools/Run.ps1

Line 82: [Error] Error happened when executing plug-in script _dependentPackages/ECMA2Yaml/tools/Run.ps1 at step docset_prebuild. Please check your .openpublishing.publish.config.json?on the configuration of the plug-ins or ask for help?in Docs Support teams channel. Exit code: -1
Line 218: [Error] Error happened when executing plug-in script _dependentPackages/ECMA2Yaml/tools/Run.ps1 at step docset_prebuild. Please check your .openpublishing.publish.config.json?on the configuration of the plug-ins or ask for help?in Docs Support teams channel. Please also include the build report and the following error code for our team to troubleshoot: 1

.openpublishing.publish.config.json

Line 81: [Error] Failed to execute customized script at step docset_prebuild in docset XamarinAppleAPI. Please check your .openpublishing.publish.config.json?on the configuration of the plug-ins for docset XamarinAppleAPI step docset_prebuild or ask for help?in Docs Support teams channel. Please also include the build report and the following error code for our team to troubleshoot: 1

Line 138: [Error] W:\ubr2-s\.optemp\packages\opbuild.scripts.1.74.0\tools\opbuild\docset.prebuild.ps1 failed to execute

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit c459443:
:clock10: Full build: the average full build time is 45 min(s) 3 sec(s), this is based on the last 6 build(s) for this repository.
:warning: This is a FULL build due to a recent Docs Build service upgrade, normally no action is required on your part. In the result you find subsequent builds still performing full builds, please contact your repository admin to manually perform a full build on the 'master' branch. For more detailed info, please click here.

Docs Build status updates of commit c459443:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

en/ObjCRuntime/AdoptsAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ArgumentSemantic.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BaseWrapper.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockFlags.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockLiteral.xml
:white_check_mark:Succeeded

en/ObjCRuntime/CategoryAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Constants.xml
:white_check_mark:Succeeded

en/ObjCRuntime/DeprecatedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn+RTLD.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn.xml
:white_check_mark:Succeeded

en/ObjCRuntime/INativeObject.xml
:white_check_mark:Succeeded

en/ObjCRuntime/IntroducedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkTarget.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkWithAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalManagedExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalObjectiveCExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoNativeFunctionWrapperAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoPInvokeCallbackAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoMacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoTVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoWatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoiOSAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ObsoletedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Platform.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Runtime.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TypeConverter.xml
:white_check_mark:Succeeded

en/ObjCRuntime/UnavailableAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/WatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/iOSAttribute.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit cf1a39d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

en/CoreAnimation/CALayer.xml
:white_check_mark:Succeeded

en/ObjCRuntime/AdoptsAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ArgumentSemantic.xml
:white_check_mark:Succeeded

en/ObjCRuntime/AvailabilityAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/AvailabilityBaseAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BaseWrapper.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockFlags.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockLiteral.xml
:white_check_mark:Succeeded

en/ObjCRuntime/CategoryAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Class.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Constants.xml
:white_check_mark:Succeeded

en/ObjCRuntime/DeprecatedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn+RTLD.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn.xml
:white_check_mark:Succeeded

en/ObjCRuntime/INativeObject.xml
:white_check_mark:Succeeded

en/ObjCRuntime/IntroducedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkTarget.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkWithAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalManagedExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalObjectiveCExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoNativeFunctionWrapperAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoPInvokeCallbackAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoMacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoTVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoWatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoiOSAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ObsoletedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Platform.xml
:white_check_mark:Succeeded

en/ObjCRuntime/PlatformHelper.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Protocol.xml
:white_check_mark:Succeeded

en/ObjCRuntime/RequiresSuperAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Runtime.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Selector.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TypeConverter.xml
:white_check_mark:Succeeded

en/ObjCRuntime/UnavailableAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/WatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/iOSAttribute.xml
:white_check_mark:Succeeded

en/UIKit/UIKeyboard.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 9efcf58:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

en/CoreAnimation/CALayer.xml
:white_check_mark:Succeeded

en/ObjCRuntime/AdoptsAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ArgumentSemantic.xml
:white_check_mark:Succeeded

en/ObjCRuntime/AvailabilityAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/AvailabilityBaseAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BaseWrapper.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockFlags.xml
:white_check_mark:Succeeded

en/ObjCRuntime/BlockLiteral.xml
:white_check_mark:Succeeded

en/ObjCRuntime/CategoryAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Class.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Constants.xml
:white_check_mark:Succeeded

en/ObjCRuntime/DeprecatedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn+RTLD.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Dlfcn.xml
:white_check_mark:Succeeded

en/ObjCRuntime/INativeObject.xml
:white_check_mark:Succeeded

en/ObjCRuntime/IntroducedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkTarget.xml
:white_check_mark:Succeeded

en/ObjCRuntime/LinkWithAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalManagedExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MarshalObjectiveCExceptionMode.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoNativeFunctionWrapperAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/MonoPInvokeCallbackAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoMacAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoTVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoWatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/NoiOSAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/ObsoletedAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Platform.xml
:white_check_mark:Succeeded

en/ObjCRuntime/PlatformHelper.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Protocol.xml
:white_check_mark:Succeeded

en/ObjCRuntime/RequiresSuperAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Runtime.xml
:white_check_mark:Succeeded

en/ObjCRuntime/Selector.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TVAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/TypeConverter.xml
:white_check_mark:Succeeded

en/ObjCRuntime/UnavailableAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/WatchAttribute.xml
:white_check_mark:Succeeded

en/ObjCRuntime/iOSAttribute.xml
:white_check_mark:Succeeded

en/UIKit/UIKeyboard.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@conceptdev could this be merged?


Fix a bug of using stale context time in FiniteStateMachineEventTime

It's the same issue described in #63, but I didn't fix it with the same approach as #188, because we would have to set the message time manually which makes LcmDrivenLoop more complicated.

This change is

On a second thought, maybe LcmDrivenLoop is not going to be much more complicated if I set the message time manually. I will make a new PR later.

Nvm, we need a public function set_next_message_time which makes the generalization of LcmDrivenLoop not trivial.

I realized that we can just get the message time directly from robot output. The case here is different form #188 where the lcm parser doesn't populate the message time.

@yangwill could you review this if you are available?


Remove pathMapper object

The use of the pathMapper is no longer needed the way we have organized the
code base. The extra level of indirection has proved unnecessary and confusing
so we've opted to clean it up. In the future, we may require more flexibility,
but now it is simply not required.
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

LGTM

LGTM. Definitely a simplification.


Use "message" instead of "request" in failure text

Updates the message text in InvalidMessageBodyFailure and MalformedMessageBodyFailure to use the word "message" instead of "request" in order to avoid confusion when debugging.

Cherry-picked to 0.15 and merged to 0.16 and master.  Thanks!


Sort Lines getting confused by indentation

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:23:26.125Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

react-native-react-redux
EQu
1.4.1

EditorConfig
Edi
0.11.1

vsc-material-theme
Equ
1.1.2

html-css-class-completion
Zig
1.14.0

vscode-mjml
att
0.0.9

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

gitignore
cod
0.5.0

vscode-eslint
dba
1.4.3

mjml-syntax
dig
0.0.1

githistory
don
0.2.3

gitlens
eam
6.3.0

vscode-html-css
ecm
0.1.8

vscode-npm-script
eg2
0.3.3

php-debug
fel
1.12.1

php-intellisense
fel
2.0.4

php-pack
fel
1.0.1

wordpress
hri
1.0.1

sublime-babel-vscode
jos
0.2.9

vscode-styled-components
jpo
0.0.10

vscode-todo-parser
min
1.9.1

vscode-apache
mrm
1.1.1

vscode-scss
mrm
0.6.2

sublime-keybindings
ms-
3.0.3

color-highlight
nau
2.3.0

php-docblocker
nei
1.3.2

vscode-code-outline
pat
0.0.12

vscode-versionlens
pfl
0.19.1

stylelint
shi
0.31.0

guides
spy
0.9.1

vscode-todo-highlight
way
0.5.11

vscode-import-cost
wix
2.5.1

ReactSnippets
xab
1.7.0

markdown-all-in-one
yzh
0.11.2

(2 theme extensions excluded)

Steps to Reproduce:

Initial JSON file (notice the tab in indentation)

After Sort Lines Ascending command (tab-indented line is first, should be third)

Reproduces without extensions: Yes

I think the command was not implemented to ignore leading whitespace.
\t (9) <   (20)

@alexandrudima does this make it a feature request instead of bug though?
Shouldn't lines sorting be by default independent of whitespace?


Consider using infinite projection matrix by default

https://github.com/KhronosGroup/glTF-WebGL-PBR/blob/master/main.js#L160
Original issue: https://github.com/KhronosGroup/glTF/issues/722
Spec's definition:

@moneimne Thoughts?

The infinite projection matrix could be useful if we decide to render the environment map. I guess we also haven't dealt with models that vary enough in size to rule out using a constant for the far plane. Are there any other reasons we might want to use this?

If the scene does contain a camera with an infinite projection matrix, the values should be used. So not relevant anymore.


release 14.2.1

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/reproc on Windows this seems to still link against debug libraries (ending in D). Ideas @DaanDeMeyer?

Ok, it was a typo on my side, I hope :) Hopefully this is all fixed now.


Reference link broken

https://aka.ms/sample-ref-teams-vids-from-community this link used in the assets\sample.json was broken.

@MuyangAmigo - Thank you for reporting this issue, could you please let me know which sample.json you are referring to?

@Meghana-MSFT Here: https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-task-module/csharp/assets/sample.json

Thank you for additional info, we will inform this to the concerned team and get it updated.

Raised the PR for it: https://github.com/OfficeDev/Microsoft-Teams-Samples/pull/975

PR is merged. Closing this issue.


Minor refactoring after code review

Addresses my comments in https://github.com/jitsi/jitsi-meet-react/commit/ba460835775ca97d124e21f76a1bdd11fe804fb2

Thank you very much for the thorough review & the quality help that you've provided me! I've "cherry-picked" the changes that I'm sure I want to see in master as https://github.com/jitsi/jitsi-meet-react/commit/429bb03d96c1de7017e1bf37be1230ca24d30abf.


AttributeError: 'Struct' object has no attribute 'vt'

Thanks for your nice work! I encounter the following bugs. Could you give me some instructions?
Traceback (most recent call last):
File "/mnt/c/Users/24320/Desktop/RTavatar/HAHA/main.py", line 151, in <module>
   main(sys.argv)
 File "/mnt/c/Users/24320/Desktop/RTavatar/HAHA/main.py", line 127, in main
   runner = instantiate_from_config(config.runner)
 File "/mnt/c/Users/24320/Desktop/RTavatar/HAHA/utils/general.py", line 34, in instantiate_from_config
   return get_obj_from_str(config["target"])(**config.get("params", dict()))
 File "/mnt/c/Users/24320/Desktop/RTavatar/HAHA/runners/train_gaussians.py", line 126, in __init__
   self._load_smplx_model(smplx_path, gender)
 File "/mnt/c/Users/24320/Desktop/RTavatar/HAHA/runners/train_gaussians.py", line 188, in _load_smplx_model
   self._uv = torch.Tensor(data_struct.vt).contiguous()
AttributeError: 'Struct' object has no attribute 'vt'
ERROR conda.cli.main_run:execute(124): `conda run python /mnt/c/Users/24320/Desktop/RTavatar/HAHA/main.py` failed. (See above for error)

Hello! 'vt' must be contained in the SMPLX_*.npz file. Please tell me if you downloaded SMPLX from the official website. Make sure that the program finds npz and it is read correctly. Please tell me what attributes you can extract from the 'Struct', this will help to understand why the error occurs with 'vt'.

Hi！I downloaded the SMPLX_*.npz file of version 1.1 from the official website of smplx. The screenshot below shows the content of my Struct.

I only modified the smplx_path in the YAML file to read the smplx file.

I'm sorry for making this elementary mistake. I checked it, and then I got these parameters.


disabling sourceMap does not work

Description
I am not able to disable sourceMaps, they are always generated.
Input
test.ts
class Arr {
    static create(): any[] {
        return [];
    };
}

Command: .\node_modules\.bin\swc --config-file="/path/to/.swcrc" --out-file="test.js" "test.ts"
Config
.swcrc
{
    "$schema": "https://json.schemastore.org/swcrc",
    "jsc": {
        "parser": {
            "syntax": "typescript",
            "tsx": false,
            "dynamicImport": false,
            "decorators": false
        },
        "transform": null,
        "target": "es2022",
        "loose": false,
        "externalHelpers": false,
        "keepClassNames": true,
        "minify": {
            "compress": {
                "unused": false
            },
            "mangle": false
        }
    },
    "minify": true,
    "sourceMaps": false,
    "inlineSourcesContent": false
}

Expected Behaviour
sourcemaps should not be generated
Actial Behaviour
sourcemaps are generated and created as files
Version
@swc/cli 0.1.57
@swc/core 1.3.20
Originally posted by @mrceperka in https://github.com/swc-project/swc/discussions/4892

Please provide a repro

Added repro to issue

It seems the issue is no longer present. I do not get generated sourcemaps anymore. I'll regard this as done.


Missing trailing 'u' character in facts with hashes

In an educational institution, we have a very large number of facts that end with .edu, but in puppetboard, all of them inside hashes show up as .ed . Running puppet facts on the systems show the correct value.
For example, fqdn is correct, but trusted['certname'] is missing the trailing u.
Puppetboard:

And in Chrome inspector:

I see the same where os::name shows Ubunt for a lot of my machines. Same for os::id. operatingsystem is showing the correct value.

It appears that there is code removing the u at the end of values here
I don't have enough context to understand why that code is doing this there.

Starting a string with u' in python means it is Unicode-encoded. I am not sure how I missed this in my searching. I will see if I can work up a patch.

Fixed in v3.3.0 released today. Please check it out @yakatz . :)

Thanks. Resolves the issue.


Update orin-thomas.yml

Docs Build status updates of commit cc3f2d5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

advocates/orin-thomas.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fix LSTM Bug in CUDA Version

Description
This PR fixes the bugs in cuda version for LSTM that raised in issue #67.
Changes Made

Fixed the kernel config for the concat function between intput and previous states
Initialized Jacobian matrix to one and send it to device
Refactored to backward state storing function
Added the CUDA check for debugging
Added the time series model for traffic data from van-dai-vuong

Related Issues
close #67 #66
Note for Reviewers

Sent out the invite to David and Dai but need to wait for their responses before assigning you as reviewers
Run two tests

python -m examples.time_series_forecasting
python -m examples.traffic_2008_01_14

van-dai vuong: Use save and load functionalities for save the best model here
van-dai vuong: this function is too long. It is prone to bugs and difficult to debug. The solution is break it down like a function that can run 1 time series at the time. You will then loop over it for many time series as needed.
van-dai vuong: it is better to create a dataloader that separates from c++/cuda backend. The dataloader for time series in c++ is used for testing purpose for a particular problem back then. Each time we change  something in pytagi folder, we need to test and release new version which can be bloated. Based on the specific datasets, you should have your own dataloader saved in examples folder. You can use the Pytorch's dataloader like examples/mnist_bench.py for time series.

@van-dai-vuong It is fixed for batch size of 1. In general, you dont need to approve if the issue hasn't fixed otherwise someone might accidentally merge to main.
@davidwardan Could you please test it to see if it is fixed? Thanks

@lhnguyen102 batch_size = 1 for cuda is now working 👍🏻

@davidwardan Awesome! could you approve my PR to merge?


MRG: Change CoregistrationUI status bar text color to black

Somehow Qt applies a weird color scheme to the status bar on macOS and the text color is white by default, which makes it barely readable. This PR changes the text color to black.

main
PR

cc @GuillaumeFavelier @agramfort

I tested those changes locally and it actually affects qdarkstyle's dark theme, I think it decreases the contrast for me (look at the color of Press ? for help in the status bar):

main
PR

import os
import mne
from mne.datasets import sample

data_path = sample.data_path()
sample_dir = os.path.join(data_path, 'MEG', 'sample')
subjects_dir = os.path.join(data_path, 'subjects')
fname_stc = os.path.join(sample_dir, 'sample_audvis-meg')
stc = mne.read_source_estimate(fname_stc, subject='sample')
initial_time = 0.096
mne.viz.set_3d_backend('pyvista')

brain = stc.plot(subjects_dir=subjects_dir, initial_time=initial_time,
                 clim=dict(kind='value', lims=[3, 6, 9]),
                 size=600,
                 hemi='rh',
                 views=['lat', 'med'],
                 brain_kwargs=dict(block=True, theme='dark'),
                 )

Let's work on it together to find a solution that can work for everyone @hoechenberger

Yes let's try to find a solution that doesn't override the qdarkstyle stylesheets

This issue might be fixed by https://github.com/mne-tools/mne-python/pull/10456?


Windows build?

Hi,
Is there a Windows build? Are there steps to follow to for Windows? Please advise. Thanks!

Hi,
There's no Windows build available, nor any platform-specific steps for Windows.
If you're looking to just try the library out, I think using it as a header-only library should be fairly straight-forward, see
https://github.com/d99kris/spacy-cpp#header-only-library
You'll also need to install spaCy and a model, something like this at the command prompt:
pip3 install -U spacy
python3 -m spacy download en_core_web_sm

I'm not sure if Visual Studio requires any special steps to find the python installation.
Perhaps you can try it out and see if it works? I don't have a Windows machine available right now, but I could maybe get a chance to try it out in the weekend.

Hi again,
I got a chance to try this out now. Here are the steps (tested on Windows 10, VS 2019 Community).

Install Python from https://www.python.org/downloads/ and ensure python is added to PATH
Open command prompt cmd.exe and run:

pip3 install -U spacy
python -m spacy download en_core_web_sm

Open VS 2019, create a C++ "Console App" project.
Download spacy-cpp from https://github.com/d99kris/spacy-cpp/archive/refs/heads/master.zip and extract the archive.
Copy the folder spacy from spacy-cpp's src folder, to the VS project folder, ex: c:\Users\Kris\source\repos\SpacyTest\spacy
Switch project target to "Release" and "x64".
Add Python include and libs paths to the project (adjust actual path depending on where Python was installed in step 1). Go to Project Properties -> Configuration Properties -> VC++ Directories. In Include Directories, add at the end:

;c:\Program Files\Python310\include\

In Library Directories, add at the end:
;c:\Program Files\Python310\libs\

Use the following code to test:

#include <iostream>

#define SPACY_HEADER_ONLY
#include "spacy/spacy"

int main()
{
    Spacy::Spacy spacy;
    auto nlp = spacy.load("en_core_web_sm");
    auto doc = nlp.parse("This is a sentence.");
    for (auto& token : doc.tokens())
        std::cout << token.text() << " [" << token.pos_() << "]\n";
}

Press F5 to build and run.

Will proceed to close this issue, but feel free to re-open for follow-up questions.

Hi,
Thanks for your reply. I gave it a try, and it worked!
What steps would be needed to embed python and spacy into the C++ application so that it can be used on a machine without Python or Spacy installed and without the language model downloaded? Would I have to use an embeddable version of python on Windows for this and add the required python packages? Or perhaps freeze everything into an executable using PyInstaller? Please advise. Thanks.

Hi again, sorry I don't know how to do that. I believe for Python itself one can probably distribute python.lib / libpython.so along with the executable (or link statically). But for Python packages (such as spacy - and its models) I have no idea.


warnings

whenever i use JumptoState(); everythings works fine but i get warning as:
Warning: setState(...): Cannot update during an existing state transition (such as within render or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to componentWillMount.
is there a solution for this problem

@arifsohail I have not seen this issue.
It may be because of something else you are doing before/after you call jumpToState().
You can see an example of it being used here:
https://github.com/newbreedofgeek/react-stepzilla/blob/master/src/examples/Step2.js
Or give me your code example and I'll see if I can spot your issue.

i guess you are right some misplaced code is causing that warnings

I'm getting the same issue when calling jumpToStep(), inside the render of my Step component.
class Step1 extends Component {
...
render() {
  if (this.props.jump) {
    jumpToStep(1)
  }
 return (...)
}
,,,

![image](https://user-images.githubusercontent.com/17819317/39246538-dd38cc18-4864-11e8-9996-248134b0897b.png)
![image](https://user-images.githubusercontent.com/17819317/39246568-f1dc88f8-4864-11e8-9d41-6ea29d103e6b.png)
![image](https://user-images.githubusercontent.com/17819317/39246592-048b7842-4865-11e8-8644-0e1accbc282b.png)

I also noticed that this doesn't happen if jumpToStep is used as part of an onClick event like the Step2 example. Is there a way to solve this? Thank you


dump each constraint after both related tables were defined

I found a more convenient solution with no need to dumping all backref foreing keys to the bottom of schema.

Coverage decreased (-0.35%) to 98.43% when pulling 13d3dff87be25fe12eb1ec72f1b2821f1488d800 on konjoot:1.x.fixes into 59ea144db8a6fd83f279163827d9886dc63da086 on SchemaPlus:1.x.

Coverage decreased (-0.35%) to 98.43% when pulling 13d3dff87be25fe12eb1ec72f1b2821f1488d800 on konjoot:1.x.fixes into 59ea144db8a6fd83f279163827d9886dc63da086 on SchemaPlus:1.x.

@knjoot Thanks!!  Seeing your failing example, I now think I understand the problem with the algorithm.
And while there may be more elegant ways to fix it, I'd like to accept your fix.
...but your PR still includes changes to:
lib/schema_plus/active_record/connection_adapters/schema_statements.rb
spec/named_schemas_spec.rb

which are unrelated to this issue.  Could you edit your commit to not include those (make a separate PR for them, maybe?).
Or if you don't want to bother making more changes, I'm happy to split the PR apart myself and get your backref fixes in -- but then the commit will have my name on it rather than yours won't get listed as a contributor by github.      Let me know which you prefer.
Thanks again for tracking down the problem and solution!

Yes, I can revert changes from:
lib/schema_plus/active_record/connection_adapters/schema_statements.rb
spec/named_schemas_spec.rb

I made those changes because without it postgresql specs fails on Ubuntu with russian locale.
I'll push this changes in near time. And if you can prompt me more elegant solution, I'll try to implement it too.

I did them because without it postgresql specs fails on Ubuntu with russian locale

A PR to fix those would be great

And if you can prompt me more elegant solution, I'll try to implement it too.

I don't know how easy or hard it would be...   here's what I was thinking about trying to do.   Before your fix, the schema was looking like (excerpted):
create_table "grade_systems", force: :cascade do |t|
    t.string  "name"
    t.integer "school_id"
    t.integer "parent_id"
    t.integer "profile_id"
end
add_foreign_key "grade_systems", ["parent_id"], "grade_systems", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_grade_systems_parent_id"

create_table "schools", force: :cascade do |t|
    t.string  "name"
    t.integer "default_grade_system_id"
    t.foreign_key ["default_grade_system_id"], "grade_systems", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_schools_default_grade_system_id"
end
add_foreign_key "buildings", ["school_id"], "schools", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_buildings_school_id"
add_foreign_key "grade_systems", ["school_id"], "schools", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_grade_systems_school_id"

 create_table "buildings", force: :cascade do |t|
     t.string  "name"
     t.integer "school_id"
 end

and after your fix, the schema looks like:
create_table "grade_systems", force: :cascade do |t|
    t.string  "name"
    t.integer "school_id"
    t.integer "parent_id"
    t.integer "profile_id"
end
add_foreign_key "grade_systems", ["parent_id"], "grade_systems", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_grade_systems_parent_id"

create_table "schools", force: :cascade do |t|
    t.string  "name"
    t.integer "default_grade_system_id"
    t.foreign_key ["default_grade_system_id"], "grade_systems", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_schools_default_grade_system_id"
end

add_foreign_key "grade_systems", ["school_id"], "schools", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_grade_systems_school_id"

 create_table "buildings", force: :cascade do |t|
     t.string  "name"
     t.integer "school_id"
 end
add_foreign_key "buildings", ["school_id"], "schools", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_buildings_school_id"

That works of course, but to be a bit cleaner, ideally the foreign key for "buildings" would be defined inline rather than outside, i.e.:
 create_table "buildings", force: :cascade do |t|
     t.string  "name"
     t.integer "school_id"
     t.foreign_key ["school_id"], "schools", ["id"], :on_update => :no_action, :on_delete => :no_action, :name => "fk_buildings_school_id"
 end

Your fix_backref_fks_for(table) method could possibly be changed to move the fk into inline_fks[table] and that might be all that's needed (unless there's some other bad case I haven't thought of).
But even more basically: why should it be necessary to "fix" the fk backref & inline lists while dumping? Ideally the code that breaks the cycles should create those lists correctly and put each fk where it belongs.    That would be the most elegant solution IMHO.

All done, thanks for help.

Changes Unknown when pulling d8f24d522fb92acde6a0a5dd3e69999eddb654de on konjoot:1.x.fixes into ** on SchemaPlus:1.x**.

Changes Unknown when pulling d8f24d522fb92acde6a0a5dd3e69999eddb654de on konjoot:1.x.fixes into ** on SchemaPlus:1.x**.

Changes Unknown when pulling d8f24d522fb92acde6a0a5dd3e69999eddb654de on konjoot:1.x.fixes into ** on SchemaPlus:1.x**.

@konjoot I finally looked at your fix -- wow!  That's amazing.  I never would have guessed that all it would take would be changing a .first to a .last
Thanks for figuring that all out.  Just goes to show you can't measure the complexity of a bug fix by the number of lines of code :)

@knojoot FYI I've release version 1.8.7 with this fix in it.

@ronen, thanks for your support, I was glad to help.


[BUG]nvcc fatal  when DS_BUILD_TRANSFORMER_INFERENCE=1

i user pytorch 1.12 with cuda 11.6, and with ds config of
DS_BUILD_FUSED_ADAM=1
DS_BUILD_CPU_ADAM=1
DS_BUILD_UTILS=1
DS_BUILD_TRANSFORMER=0
DS_BUILD_STOCHASTIC_TRANSFORMER=0
DS_BUILD_TRANSFORMER_INFERENCE=1
DS_BUILD_OPS=0
use pip3 install deepspeed --global-option="build_ext" --global-option="-j8"
and the finnal error is  error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1
nvcc fatal   : Unknown option '-Wno-reorder'

What version of pip do you have installed? pip --version

0.9.1 error bug 0.9.0 works

@kuangdao you get this bug with deepspeed 0.9.1 but not with 0.9.0?

I solved this by simply removed additional options, i.e. DS_BUILD_OPS=1 pip install deepspeed

You doesn't solve the issue as you never build extensions any more.

I get the same error.
torch                         1.13.1+cu117
torchaudio                    0.13.1+cu117
torchvision                   0.14.1+cu117

deepspeed==0.9.2
cuda==11.7
nvcc fatal   : Unknown option '-Wno-reorder'
nvcc fatal   : Unknown option '-Wall'

Same error with the latest Nvidia pytorch Docker image. It happens to me with both 0.9.0 and 0.9.4.
Nvidia driver version: 525.116.03.
Using nvidia-container-runtime.
RTX 6000 Ada GPU.
Minimal repro:
FROM nvcr.io/nvidia/pytorch:23.05-py3

# Set the working directory in the container to /app
WORKDIR /app

RUN pip install --upgrade pip
RUN apt-get update
RUN apt-get install -y libaio-dev
ENV CUDA_HOME='/usr/local/cuda'
RUN pip install py-cpuinfo
# NOTE: do this: https://stackoverflow.com/questions/59691207/docker-build-with-nvidia-runtime
RUN DS_BUILD_OPS=1 DS_BUILD_SPARSE_ATTN=0 pip install deepspeed==0.9.4 --global-option="build_ext" --global-option="-j32"

Setting NVCC_PREPEND_FLAGS="--forward-unknown-opts" appears to be a workaround for this issue.


Add Error to pixel when attempt fails

Task/Issue URL: https://app.asana.com/0/488551667048375/1205640564992756/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3630   👈

This comment was auto-generated by Graphite.


First pass at Colossus.

Implements Colossus trade bonus.
Does not support Colossus being obsolete.

Made some mistakes merging from my old folder.


Ama Vira Kian

Please fill the following out:

Name: Ama Vira Kian
Homepage url: http://amasystem.ir
Brand Guidelines/Licensing: http://amasystem.ir
Logo: http://amasystem.ir/Assets/Image/ama-vira-logo-b.png

Hey @alirezatc, I think some people might misunderstand your logo and potentially take offense. To avoid that confusion, and in the interest of being sensitive to all members of the community, do you have an alternate logo that we could use that just uses your company name?

@alirezatc as per https://github.com/Microsoft/TypeScript/issues/5000#issuecomment-143848090, please resubmit with an alternate logo.

Dear Daniel and Dear Mohamad,
Thanks for your feedback. Actually this is my company's logo and it includes 4 ama typography in Farsi. But as you say I'm going to upload another photo for MS typescript.

Thanks @alirezatc for understanding, and sorry for any inconvenience.


New parallelism overloads Terraform Cloud private registry API (HTTP 429)

After upgrading to infracost 0.10.16 I sometimes get HTTP 429 "Too Many Requests" when running a breakdown for a monorepo where infracost would find 13 projects.
Rerunning infracost breakdown helps.

Thanks @jgrumboe, according to the docs these apis have a rate limit of 30 requests per second: https://developer.hashicorp.com/terraform/cloud-docs/api-docs. It seems like we might need to introduce a distributed request counter to make sure we don't go over these limits across goroutines.

A workaround for other users who encounter this issue would be to set INFRACOST_PARALLELISM=1 before running infracost.

@jgrumboe did INFRACOST_PARALLELISM=1 help? You can also try 2, 3, 4... if 1 was too slow.

Yes, running it in the terminal INFRACOST_PARALLELISM helps.
But how to use it with vscode-infracost?

@jgrumboe does https://stackoverflow.com/a/60403290 work? I know that's not ideal, so I'll keep this issue open so we can figure-out how to handle the 429s and slow down/retry the calls.


Update nix to 0.24.0

#2208 revived

What about reducing the feature set?

@CryZe can you elaborate?

nix 0.24 introduces lots of features. They are enabled by default, but you probably want to actually make use of this and reduce it to only what is actually used.


Thread nullability attributes for FunctionTypes in bodies

This is implemented together with https://github.com/dart-lang/sdk/issues/38216.


How do functions work in detail?

Hey there,
I looked at how functions work last weekend and couldn't understand how to use them.
I looked at the CLI version as well as the docker file in the examples
For docker-compose:

What's the Hasura host?

For Nhost CLI

How do I know if functions running?
What's the host?
How can I see the logs?

Docs I've read:

https://docs.nhost.io/platform/serverless-functions
https://docs.nhost.io/platform/cli

Best,
Christian

This is the output of nhost up:
URLs:
- Postgres:		postgres://postgres:postgres@localhost:5432/postgres
- GraphQL:		http://localhost:1337/v1/graphql
- Auth:			http://localhost:1337/v1/auth
- Storage:		http://localhost:1337/v1/storage
- Functions:		http://localhost:1337/v1/functions

- Hasura console:	http://localhost:9695
- Mailhog:		http://localhost:8025

- subdomain:		localhost
- region:		(empty)

What's the Hasura host?
http://localhost:9695

How do I know if functions running?
You can check the logs using nhost logs -f functions.

What's the host?
http://localhost:1337/v1/functions

How can I see the logs?
nhost logs -f functions

Let me know if you want me to expand on any topic.

Where does the functions folder have to go?
I am guessing inside the nhost folder?
It would be cool to have an example dedicated to functions in the examples folder.

The functions/ folder should go in the base folder, so it's a sibling to the nhost/ folder. We're currently working on standardizing and documenting this.


✨(models/api) allow inviting external users to a document by their email

Purpose
We want to be able to share a document with a person even if this person does not have an account in impress yet.
Proposal
This code is ported from https://github.com/numerique-gouv/people and adapted to the differences in Impress:

accesses work for users as well as for teams
no Identity object, the identity is carried by the User

I can see the tests failed probably because mail/html/invitation.html is not generated.
I have a question about that, why the mail templates are not git versioned ? If we versioned our templates, we will not have to build them constantly in the CI or in the make bootstrap.

Otherwise they can be generated like that in the CI:
See: https://github.com/numerique-gouv/people/commit/f6d5f737f444ab2556c040c10fbd3e431083265f

@AntoLC I think email templates should not be persisted for reason of "unicity of information". As long as we are able to generate the content, it is technically not part of our source code in my opinion.

@AntoLC I pushed a fixup. The PR is ready for further review!


RFI: Suggestions

Hi!
Is there an autocomplete function like [1]? I actually wanted to point to the duckduckgo-ac-documentation, but I didn't find any...
Cheers
André
[1] https://developers.google.com/cloud-search/docs/reference/rest/v1/query/suggest

I'm not quite sure what you're asking for, but there's a bookmark search API that might fit your use case.

I'd like to integrate it with Keypirinha  on Windows


Added taxon constraints to leukocyte terms. #17613

@balhoff Jim, do you know what's blocking?
Is this it? "ls: cannot access 'subsets/*.owl': No such file or directory"
But I don't know where to find the owl files anyway. thanks.

@raymond91125 I restarted the check—I think it was just a github glitch. As long as the "Required" one passes you can merge.


HostedZoneStatus (atProvider.hostedZone.id) returning a prefix along with HostedZoneId

while working on the creation of the hosted zone, was trying to get hosted zone id HostedZoneStatus (atProvider.hostedZone.id),
found that it is returning a prefix along with the id  something like below, now this makes it less useful for further services which only requires the ID and currently transforms are limited hence string transformations are not supported hence removing this is not possible to fetch the id alone.
Hosted Zone Id:         /hostedzone/Z13322DRRSS
i see in the code below
https://github.com/crossplane/provider-aws/blob/master/pkg/clients/hostedzone/hostedzone.go
// IDPrefix is the prefix of the actual ID that's returned from GET call.const IDPrefix = "/hostedzone/"
can this be removed from HostedZoneStatus (as currently adding some prefix using transform is still possible)  or at least made "hostedzone/" thereby would solve the issue of using hosted zone temp as seen below extra / is making problem.
below "/" infront of hosted zone needs to be removed or preferably /hostedzone/ should be removed from status
"Resource": [
"arn:aws:route53:::/hostedzone/Z00151212Z97ZJCPKUPPH"
]

Plz see https://github.com/crossplane/provider-aws/pull/683 for draft of idea for the fix not sure if this is the way to go but it feels like there are other objects/fields suffering same issues. either a complicated transformation functions need to be in place or compatibility fields or referencing fileds in other Objects. Simmilar problem can be seen here: https://github.com/crossplane/provider-aws/issues/628

@martin-ducar-gd is https://github.com/crossplane/crossplane/pull/2633 an option for this ? Will be part of Crossplane 1.6.0

In compositions we can use trim to get the correct ID only If needed


Update machine-learning-r-csharp-web-service-examples.md

Document refresh cycle update

Hi @jaymathe, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jaymathe). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@jaymathe
I think you submitted this change to the private repo.
Closing this PR now.
Thanks!
--Carolyn


Having an issue

Hello,
Receiving follow error, Could you please check it for me
C:\butler-cw-master>node index.js
WARNING: No configurations found in configuration directory:C:\butler-cw-master\config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
C:\butler-cw-master\node_modules\config\lib\config.js:203
throw new Error('Configuration property "' + property + '" is not defined');
^
Error: Configuration property "defaultLogLevel" is not defined
at Config.get (C:\butler-cw-master\node_modules\config\lib\config.js:203:11)
at Object. (C:\butler-cw-master\index.js:19:27)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)

Happy to help, but you need to provide some context.
The error indicate that Butler can't find its config file.
What does your butler-cw-master directory look like? What files/directories are there?
Have you added a config file with your own config to the config directory?

Hi,
I jsut  followed the instructions.  here is my production.yaml & App_config.yaml
production.txt
apps_config.txt

Happy to help, but you need to provide some context.
The error indicate that Butler can't find its config file.
What does your butler-cw-master directory look like? What files/directories are there?
Have you added a config file with your own config to the config directory?
Hi Happy new year, Did you get a chance to look at issue
Cheers,
RK

Hi Happy new year, Did you get a chance to look at issue
Cheers,
RK

Hi Happy new year, Did you get a chance to look at issue
Cheers,
RK

Did you add the NODE_ENV as environment variable?

resolved now.


Rename swift-executable plugin to swift-application plugin

As per #103, for Swift.

[ ] cpp-executable to cpp-application
[ ] Update native-samples

@lacasseio There's also #103 for the cpp renames.  We can do them both together if you'd like.

The sample has been updated, closing as delivered.


The app gets crashed and come out when hmsSDK build

issue logged in console:
W/VideoCapabilities(30725): Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities(30725): Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities(30725): Unsupported mime video/divx
W/VideoCapabilities(30725): Unsupported mime video/divx4

issue logged in console: W/VideoCapabilities(30725): Unrecognized profile/level 0/3 for video/mpeg2 W/VideoCapabilities(30725): Unrecognized profile/level 0/3 for video/mpeg2 W/VideoCapabilities(30725): Unsupported mime video/divx W/VideoCapabilities(30725): Unsupported mime video/divx4

On which line of hmssdk code is this happening?

While startpreview in hmsdk line,
This works fine in debug but in release, the app is crashed. Am using the demo token generated in 100ms dashboard

Hi @swethamano have u gone through progaurd rules?

Hai @Arunshaik2001  yeah, I have added all the permissions as per the document given

@swethamano Ensure that you have the correct proguard rules setup: https://www.100ms.live/docs/flutter/v2/features/integration#proguard-configuration

Thanks, it worked!!! @ygit  @Arunshaik2001


fix(deps): patch vulnerabilities and deprecations

I got tons of warnings about vulnerabilities and deprecations regarding fastify mostly. I'm certain/hoping this fixes most of them.
I found some pretty major deprecations along the way, most importantly @tailwindui/react, which we should switch out for headless-ui instead.

hey @boredland! this PR looks like it'll be pretty hard to review, might be worth splitting it up. I can also schedule some time to look into this in the coming weeks, might be easier if I do the boring upgrade work


Custom layers are disabled beyond zoom 18

Regardless of what zoom levels they support, all custom layers are available up to level 18, and disabled beyond that.
The Customize Layers window should allow to indicate a minimum and maximum zoom level, or (the easy solution) custom layers should just always be loaded, resulting in an empty map when the zoom level isn't supported.

Great idea! At the moment planning a route along camping places (or other accomodations) is very tedious, since they don't show up any more when you zoom out for an overview.

custom layers should just always be loaded, resulting in an empty map when the zoom level isn't supported.

The fact that you can zoom beyond the maximum zoom level of custom layers and then end up on a gray background image is one of the most annoying bugs in brouter-web right now.

you can zoom beyond the maximum zoom level of custom layers and then end up on a gray background image

to formulate positively:
please allow custom layers to be scaled up instead of hidden when zooming in beyond supported/provided zoom levels.

Not sure what my preferred solution would be. I was also thinking about auto-detecting by 404 error responses and setting `maxNativeZoom' based on that. Not sure about adding more UI input fields.
Ideally tile servers would provide a TileJSON file with metadata that could be entered instead of a tile URL, so we could read the layer config from that. But I guess nobody does that besides Mapbox? Maybe if we supported TileJSON, people could start asking tile server providers to add it?

There is already some sort of automatic detection because when you zoom in to level 19, all layers that do not support level 19 are grayed out:

Zoom level: 18
Zoom level: 19

@nrenner JOSM lets the user enter a maximum zoom value when adding a new layer. I think this works fine, though I can imagine there might be tiles that have different maximum zoom for different regions.
As for the handling of zooms beyond the maximum zoom, I'd prefer to see enlarging of the last tiles.

Replacing maxZoom: 18 with maxZoom: 19 in the leaflet library does "fix" the issue:

It is not either or, both options have their uses:
* Up-scale, to allow enlarging and to avoid the layer getting hidden – often a good option for overlays, but useful for base layers too.

* Hide, to allow other layers to take over – e.g. check satellite view when zoomed in and regular OSM Carto before that.

Just to support that statement. I personally follow this issue as I'd like to be able to zoom (to high detail base layer) and have the overlays (most often the logged-in/detailed strava heatmap) scale when I zoom too much, instead of disappearing.
Thanks for the project.

@nrenner Any news about the PR proposed by @rkflx ?
It seems like a solid interim fix by tweaking the maxZoom. It's clear that it's not the ultimate solution, and we might see some 404s, but it does offer immediate improvements for custom layers that go beyond zoom 18.