Dumb question: definitions.py model parameters

I am very sorry for this newbie question.  In the definitions.py there are a number of parameters for each model.  I assume these correspond to the settings given on the model page.  My question is how do I know the variable names you have used for each setting?  For example:
airoboros_l2_13b_gguf = LlamaCppModel(
model_path="TheBloke/Airoboros-L2-13B-2.1-GGUF",  # automatic download
max_total_tokens=8192,
rope_freq_base=26000,
rope_freq_scale=0.5,
n_gpu_layers=30,
n_batch=8192,
rope_freq_base :  It doesn't appear in any of your other examples.  I assume your examples are a non-exhaustive usage of all possible parameters.  How can I know the variable names you used?  Is there a mapping chart somewhere?
Again I apologize for the newbie question that is probably painfully obvious to others.
Thanks, Doug

RoPE is a technique that allows a model to operate in a higher context (max_total_tokens) than the context length in which it was trained (maybe 4096).  That's what you see.  By default, if you do not set the parameter, it is calculated automatically.  In other words, just delete the line with the parameter starting with rope.
There's no obivous golden rule for rope_freq_base, but I recommend using this calculations:
    def calculate_rope_alpha(self) -> float:
        """Calculate the RoPE alpha based on the n_ctx.
        Assume that the trained token length is 4096."""
        # The following formula is obtained by fitting the data points
        # (comp, alpha): [(1.0, 1.0) (1.75, 2.0), (2.75, 4.0), (4.1, 8.0)]
        compress_ratio = self.calculate_rope_compress_ratio()
        return (
            -0.00285883 * compress_ratio**4
            + 0.03674126 * compress_ratio**3
            + 0.23873223 * compress_ratio**2
            + 0.49519964 * compress_ratio
            + 0.23218571
        )

    def calculate_rope_freq(self) -> float:
        """Calculate the RoPE frequency based on the n_ctx.
        Assume that the trained token length is 4096."""
        return 10000.0 * self.calculate_rope_alpha() ** (64 / 63)

    def calculate_rope_compress_ratio(self) -> float:
        """Calculate the RoPE embedding compression ratio based on the n_ctx.
        Assume that the trained token length is 4096."""
        return max(self.max_total_tokens / Config.trained_tokens, 1.0)

    def calculate_rope_scale(self) -> float:
        """Calculate the RoPE scaling factor based on the n_ctx.
        Assume that the trained token length is 4096."""
        return 1 / self.calculate_rope_compress_ratio()

Note that this auto calculation methods are present in dev branch now and will be merged soon.
You can refer other parameters in this path:
llama_api/schemas/models.py. I recommend you to use IDE such as VSCode, as it will show you some hints for hidden parameters.

Thank you so much!


Versioning in Proofs

How about we integrate the version of Triton VM into proofs? This infrastructure would enable verifying a proof produced by an older prover on a newer verifier, assuming the change is backwards compatible. The downside is that the verifier needs to be aware of current and previous versions and verify accordingly.

One big upside of including the version of Triton VM into the proof (or possibly the claim): we can very quickly identify whether a verification failure is due to incompatible versions.


Python access to RasterSource doesn't expose JVM errors

See #263  and #266
Trying to take actions on these dataframes may result in a JVM stack trace with ERROR message that does not get to the JVM user. PYthon user just gets for example 0 count or empty list from a take

Also see #319  and #174, those issues also expose this issue.


Added SGD Averager and Cyclic scheduler

An Averager class mentioned in #182.
I follwed this https://arxiv.org/abs/1803.05407

I'm closing this because it isn't what we're looking for :(


Option to allow custom request headers

So there was an issue but it was closed again almost immediately ...
Could we have an option to allow custom headers for a request? Afaik, at the moment only the two "X-..." auth headers are allowed. I would like to use some custom ones.
Thanks in advance!

Hi @Twisterking. Great news! You can already accept any headers you want 😃  They're available in any endpoint as this.request.headers["<Custom Header>"]. Here's an example of me accessing the custom auth headers (in the auth.user function). I'm going to close this since I'm fairly certain that will resolve this issue for you. Let me know if I'm mistaken.


Dv2-series section table is completely messed up. Could you please fix it as early as possible?

Dv2-series section table is completely messed up. Could you please fix it as early as possible?

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

ID: 9bb1d37c-6337-0906-42ff-b5dbc6afdc8b
Version Independent ID: 72a96e16-1d2d-4c01-45be-3caf82470592
Content: Azure Windows VM sizes - General purpose
Content Source: articles/virtual-machines/windows/sizes-general.md
Service: virtual-machines-windows
GitHub Login: @jonbeck7
Microsoft Alias: jonbeck

@fliang-ms thanks for pointing this out! I have assigned it to the content author to update.

This is very important public document. Our tool automatically retrieves VM size information from these public documents. May I have the ETA for the fix?

@fliang-ms I have submitted the change. Once the validation has past I will push it out live. ETA should be within the hour. If longer I will come back and let you know. Once the change has been made this issue will automatically close.

I see the right version in the public document. Awesome!!! Thank you for prompt response.


Cloning failure after PVC removal and pod deletion of master pod

We are evaluating the operator for use in some of our apps, and during our testing we uncovered a case where the pod which replaces the original master is unable to rejoin the cluster due to a failed clone-and-init. This bug is reminiscent of https://github.com/presslabs/mysql-operator/issues/250 although I believe our specific case is slightly different.
We have developed a fix for this issue which I'd be happy to submit as a PR if you think it's an acceptable approach. I'll describe our strategy below.
Steps to Reproduce

Create a cluster with three mysql instances.

Observe the cluster in Orchestrator to verify that the new mysql-0 instance is unable to rejoin the cluster and replicate from the new master. The logs from the init container show that cloning did not occur from one of the sibling replicas as it should have.

Expected results: The new pod should be restored from one of the other instances during its clone-and-init phase, and then it should rejoin the cluster as a replica.
Actual results: The new pod fails to complete clone-and-init because the code which chooses a clone source chooses a clone source based on server IDs, regardless of pod health.
We have written an e2e test case which reproduces this, which I would of course include in our PR.
Proposed Solution
In discussing this issue with my teammates @stankevich and @eik3, who are leading our evaluation of the mysql-operator, they came up with the idea to use k8s services to make finding a clone source more robust. Their idea was to add two new services pointing to the SidecarServerPort, one containing healthy replicas and one containing the master mysql pod.
During the RunCloneCommand, we then attempt to clone from a replica first by pointing cloneFromSource to this new healthy replica service. If that fails after some number of retries, we will try to clone from this new master service.
This approach makes the sidecar clone source detection more robust because we are able to leverage the work the operator is already doing (labeling healthy pods) in order to get a healthy clone source, regardless of our serverID. We can also retry the clone operation if needed. This is a nice bonus for large cloning operations (hundreds or thousands of GBs) which are more susceptible to being interrupted by a network blip or having the clone source pod die during the clone operation.
If you think this solution sounds acceptable, I would love to put together a PR next week with our changes and the test case for your review. Thanks!

Thanks @AMecea, that sounds great. I will prepare a PR. And that's a good idea to add the port to the existing services; I'll incorporate that into my changes. Thanks again!

Is this issue actually still open, or did the linked PR solve this?

Thanks for asking @neumantm. It's been a while, but as I recall, #422 solved this issue, and I probably should have closed it when that PR was merged. I'll go ahead and close it now.


Tensorflow Testing Problem

Hi,
I am working on Tensorflow with Python. I have a new idea about the pooling method. Currently there are two pooling methods  (max-pooling, avg-pooling). I want to do some experiment by some new idea about pooling method.
But for that i need to find the current pooling functions. But unfortunately i could not find that. Can anyone please help me to do this experiment and help me to find the exact flow of pooling because i am not so much fluent to Python.
Thanks.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

@poxvoculi Hi
I am working on Tensorflow with Python. I have a new idea about the pooling method. Currently there are two pooling methods  (max-pooling, avg-pooling). I want to do some experiment by some new idea about pooling method.
But for that i need to find the current pooling functions. But unfortunately i could not find that. Can anyone please help me to do this experiment and help me to find the exact flow of pooling because i am not so much fluent to Python.
Thanks.

@tensorflowbutler ,  I don't know where to fill the fields you asked. So I am providing you information about these fields here:
Have I written custom code:    yes
OS Platform and Distribution:   Windows 10
TensorFlow installed from:      using pip
TensorFlow version:    1.7.0
Bazel version:   N/A
CUDA/cuDNN version:   8.0
GPU model and memory:     memory 24 GB
Exact command to reproduce  N/A

@tensorflowbutler
Please help to implement my idea about pooling.
Regards

@tensorflowbutler
Please help to implement my idea about pooling.
Regards

The pooling op source is in
pooling_ops_common.cc
and several similar files.  Look in core/kernels/* for anything with "pooling" in the name.
In the future, this sort of question is better asked on StackOverflow.  This forum is primarily for bug reports.


Clarify the usage instructions

This should reduce probability of issues with unexpected overrides.

This simple pull request got today, so after eightteen months, yes that is one-and-a-half-year,  a first comment.
The pull request is about getting
Add a vim-plug section to your `~/.vimrc`

into
Add a vim-plug section to the top of your `~/.vimrc`

in the README.md.
The benefit of closing this  PR, either by merge or by reject, is that doesn't drain further human energy.
Yes, indeed, open pull requests do waste resources.  So if you have the power of closing this pull request, take your responsebilty and close it.
Thanks.

@stappersg So what is your opinion on this? Is having the section on the top of vimrc required, or is it just recommended way of organizing the configuration? If it's the latter, why is it better? What are the pros and cons of having or not having it on the top of vimrc? If the maintainer does not have all the time and energy, or motivation to think about the implications of the change, the pull request is left open. If you want it resolved, you can contribute your ideas.

      -- Dirty Harry ( The Dead pool )

And my personal opinion:
It is good that there is now

If the maintainer does not have all the time and energy, or motivation to think about the implications of the change, the pull request is left open.
If you want it resolved, you can contribute your ideas.

in this issue plus the questions

Is having the section on the top of vimrc required, or is it just recommended way of organizing the configuration?
If it's the latter, why is it better?
What are the pros and cons of having or not having it on the top of vimrc?

Sorry, I don't remember what was the problem I was having because of a non-standard vimrc position. It probably had something to do with keyboard remapping plugins. Since both the tutorial and Vundle's readme instruct this I thought this made sense to instruct in the readme. Feel free to reject the PR.

Feel free to reject the PR.

For what its worth
@LaserMoai has the power to close this pull request

I think I probably just modified a plugin setting before the vim-plug section.


Running lng upload doesn't automatically install dependencies

Hey guys,
Great work on this CLI, it's really convenient. Today I ran into a pretty specific use case, I thought I'd share it with you to see if this is something that could be improved.
I'm working on a Lightning application, and in the dev branch I have installed some dependencies and removed others compared to the main branch. Now, a tiny bugfix needed to be made on the main branch. So I committed the code and ran lng upload.
Unfortunately, the application uploaded threw some errors related to packages being missing (since I deleted them locally and added some new dependencies as well). Therefor I needed to version bump the application and manually run npm install before running another lng upload.
Ideally, lng upload or lng build would remove the node_modules and install them according to the package-lock.json file. I can imagine that there is a slight performance loss here, but perhaps it prevents some faulty deployments.
Looking forward to hear if you think this is a good idea :-) 😎

hey @robbertvancaem, I think your idea makes sense, to do a fresh install of the node_modules upon upload.
I'm closing this one since you can now implement this feature yourselves in the Metro-CLI :)


[BUG] basepath support with NextJS

Describe the bug
Refine modules ignore the basepath configuration for NextJS
Steps To Reproduce
Fork the example app with NextJs, set basepath in the next.config.js to some subpath.
Expected behavior
Have the refine link and router know about this configuration
Screenshot

Desktop
No response
Mobile
No response
Additional Context
This is not blocking the app from working (as far as I went), but it causes warnings and may cause errors going forward.
The "closest" issue to that, that I could find, is this: https://github.com/refinedev/refine/issues/3207 but it is unrelated to the NextJS issue.

Hey @snird, I've tried to reproduce the issue and succeeded. This looks like a simple issue with the dev server 😅I started the with-nextjs example and added basePath to the next.config.js file and the error appeared (Only when using the deprecated Layout component of @refinedev/antd). Then, I restarted the server and the error is gone. I guess when you apply basePath while the server is running, Next adds the basePath configuration to the client side navigation successfully but on the server side it fails to apply it properly. That's why it disappears when you restart the server 😅
Btw, we now recommend ThemedLayoutV2 instead of the Layout component from @refinedev/antd 🚀
Do not hesitate to re-open the issue if you can provide a repro even after re-starting the server 🙏

@aliemir thank you for the response!
I appreciate the outstanding work you do here. Tahnk you!


Explanation of validateAndUpdateUI() vs validate()

Can you provide an explanation of the two in the documentation?  Thanks!

Invoking form_installSubmitButton() and a "Submit" button gets shown in the navigation bar. It shows an alert with validation status. The form_installSubmitButton() can used during development for validating the form.
When the form actually have to be submitted to a server or similar, then one will have to make a custom function for uploading to the server.

Oh I'm so sorry.. I didn't explain my question.  I have a submit button that when pressed I call
formBuilder.validateAndUpdateUI()

let result = formBuilder.validate()

I check the result from formBuilder.validate(), but I"m not sure what formBuilder.validateAndUpdateUI() does (but saw it in your example code).  I don't see those calls documented.

It seems to end up calling TextFieldCell.reloadPersistentValidationState. This function invalidates a timer and hides an eventual error message shown below the textfield.
Sorrry, I can't remember what I intended with validateAndUpdateUI.


Ollama runs the model and loads it in GPU, but it doesn't clear GPU memory after exiting

What is the issue?

As you can see, I exited from the prompt, but its still has model loaded in the GPU memory.
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.1.47

ollama is a client/server architecture.  the model is loaded by the server and remains loaded until either the server exits, or the model timeout expires (default 5 minutes).  the prompt is printed by the client, which you start and stop independently of the server.

hI @PiyushDuggal-source Does Rick explaination solve this issue? If so, please close the issue.

Hey, yes. Thanks very much!


ValueError in KaplanMeierFitter

Hi!
Thanks for your examle. I am having a trouble implementing it with my data though.
When I am trying to fit the
km = KaplanMeierFitter() km.fit(durations, event_observed,label='Kaplan Meier Estimate')
I get the ValueError: Length of values does not match length of index.
Do you know what could be the error?
Thank you!

Can you post what your durations and event_observed variables look like?

I think this has to do with your pandas version. I think this would be fixed if using pandas 0.23 and 0.24. (That's not a proper solution however, and I'll see what else I can do)


implementing this into my website.

Hello there dear Maadhav, i have downloaded the .zip file for the code then unzipped it and inserted the file as shown here into my website but it wont fetch the youtube videos so can you please help me figure this issue out please? attached are two images, one is of the code and one of the website itself when i inserted the youtube link and pressed fetch and the last one is when i inserted the youtube link into your website and pressed fetch @Maadhav @Athlon1600 @codezi @volkirik @arjunae

The third image you have attached shows that the video is being fetched, is the issue still there? @Joshii01

the third image is from your website that you linked, not from my website

For now I would suggest you to use the code from the link I have given, meanwhile I will try to fix the issue as soon as I get some free time on weekends.

ok thanks! by the way do you happen to know what the issue may be?

and also can you please let me know when the issue is fixed?

The issue is, Youtube constantly changes its source code so that the yt-downloaders stop working. I would have to update my code in order for it work. Will close this issue as soon as I fix it l, hopefully soon.

ok thanks!

Hey @Maadhav I just checked your youtube downloader and it works for you so i updated mine yet it still wont work so can you help me out?

I have updated the code now, please try it once more and let me know.


Factorio: Add Hugepages support

Disclaimer:
I am inexperienced with git, and This is my first commit to nixpkgs, I didn't write these changes but I am uploading them with permission from the author, and I did come up with the idea to put it in nixpkgs.
Description of changes
This does an optimization for factorio which allows it to run roughly 20% faster using huge pages via mimalloc.
Here are the justifications for each option:
MIMALLOC_ALLOW_LARGE_OS_PAGES 1 Enable Hugepages
MIMALLOC_SHOW_STATS 1
MIMALLOC_SHOW_ERRORS 1 Possibly useful information, also lets users know that factorio is using hugepages
Notes/Potential Problems
Mimalloc always tries to get 1 GiB hugepages but fails, then falls back onto 2 MiB hugepages, I don't know if the 1 GiB hugepages have a performance improvement but I can't seem to get them to work. I haven't tried custom boot parameters to pre-allocate them them which I think are necessary ontop of a bunch of other stuff. This seems like a non-problem to me but I could see it stealing the preallocated 1 GiB hugepages from another program. However I can't see any situation where this would happen, and if one where to come along the user most likely has the knowledge to track down that factorio is using the 1 GiB huge pages.
Because of this I believe they should be enabled by default due to the performance boost, the only other downside I see is slightly higher memory usage.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

From dpdk, I know one has to reserve 1GB pages at boot time via kernel command line. Otherwise memory becomes to fragmented to do it.

The memory allocator change is probably low-risk (mimalloc is widely used), but I would leave it to one of the current maintainers to agree/disagree if we should have this enabled by default.

Sounds ok to me.
On Tue, Nov 7, 2023, 12:04 AM Jörg Thalheim @.***>
wrote:

The memory allocator change is probably low-risk (mimalloc is widely
used), but I would leave it to one of the current maintainers to
agree/disagree if we should have this enabled by default.
—
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/265887#issuecomment-1797995884,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF3YMIXZCYIDFNEZ23YOWLYDHTPJAVCNFSM6AAAAAA675LFSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJXHE4TKOBYGQ
.
You are receiving this because your review was requested.Message ID:
@.***>

I'm happy with it too, although is there any particular reason to do this only for the graphical variants and not the headless server?

No, that was not the intention. I'm busy this week and not that knowledgeable with nix so I'll hop on a discord vc and get help with that and 3rd todo.

On Saturday no one who could help join the VC on the NixOS discord, on Sunday I was busy, if anyone wants to help ping me on discord, my name is Silverdev2482, I'll most likely be available 5-9 PM on any week day.

On Saturday no one who could help join the VC on the NixOS discord, on Sunday I was busy, if anyone wants to help ping me on discord, my name is Silverdev2482, I'll most likely be available 5-9 PM on any week day.


CB-12189: Add support for WinMD and DLL combination

Platforms affected
self
What does this PR do?
This PR adds support for .winmd and .dll combination.
What testing has been done on this change?
Auto-test
Checklist

[x] Reported an issue in the JIRA database
[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[x] Added automated test coverage as appropriate for this change.

Current coverage is 77.00% (diff: 100%)

Merging #219 into master will increase coverage by 0.77%

@@             master       #219   diff @@
==========================================
  Files            16         16
  Lines          2204       2222    +18
  Methods         412        415     +3
  Messages          0          0
  Branches        433        438     +5
==========================================
+ Hits           1680       1711    +31
+ Misses          524        511    -13
  Partials          0          0

Powered by Codecov. Last update 1cf27a9...99a7016

Documentation update: https://github.com/apache/cordova-docs/pull/671
Change to support implementation attribute in cordova-common: https://github.com/apache/cordova-lib/pull/513
Note - this PR has own override for PluginInfo.getFrameworks method to not depend on not-yet-released apache/cordova-lib#513 - this logic can be safely removed once updated cordova-common released

@daserge could you take a look please?

@vladimir-kotikov, @daserge, updated.

Rebased on top of master and force-pushed, will merge once tests pass


Different Pusher keys for production and development in compiled app.js

Laravel Version: 5.7
PHP Version: 7.2
Database Driver & Version: MySQL 5.7

Description:
I'm using different Pusher apps for development, staging, and production as Pusher recommends. When I run Laravel Mix on my local machine my development Pusher app key is put into the compiled public/js/app.js and later goes to the VCS and appears on the production environment.
So to get a production Pusher app key on my production server I have to compile assets on a production environment, but it overrides the app.js in the VCS.
Should we compile assets on every environment separately and add public/js/app.js into .gitignore or are there any better ways to address this problem?

Should we compile assets on every environment separately and add public/js/app.js into .gitignore

Generally - yes. That way you can run unminified code in Dev, and compress and version it for Production.
I will be closing your ticket here. Instead please try asking your question on one of the many great community support areas that will likely give you a better answer more quickly:

Laravel Slack (https://larachat.co/)
Laravel.io Forum (https://laravel.io/forum)
Laracasts Forum (https://laracasts.com/discuss)
StackOverflow (http://stackoverflow.com/questions/tagged/laravel)

Thanks in advance.


Getting proposals for a pretrained RPN

❓ Questions and Help
Hi team!
Is there an easy way to get the top 1000 proposals using a pretrained RPN?
Thanks!
--Issam

Just take one of the configs from https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/configs/rpn_R_50_FPN_1x.yaml , download the corresponding weight from Detectron MODEL_ZOO, and that should be all (I didn't get the chance to update configs which have pre-trained weights, but they work)


The short name of the Settings profile is not displayed correctly when the primary side bar on the right

When the primary side bar is on the right, the short name of the Settings profile is not centered correctly and is hard to read it.
Primary side bar on the left:

Primary side bar on the right:

Version: 1.72.0-insider (system setup)
Commit: 9fb452c4852ef098206ec67a2b236ad5fd0ba828
Date: 2022-10-03T07:34:58.711Z
OS: Windows_NT x64 10.0.19044

I can repro with letters:

Looks good with codicon:

Duplicate of #162333

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Test on Gradle 7.3

https://docs.gradle.org/7.4/javadoc/org/gradle/api/provider/Provider.html#forUseAtConfigurationTime--

https://scans.gradle.com/s/puu4hsjk2qr3s/tests/overview?outcome=FAILED


TypeScript support

Are there any plans to add TypeScript code generation from bond schemas?
You could imaging a scenario where Bond schema is used to define contracts between a browser and HTTP endpoint. Server could use SimpleJsonWriter to write JSON. Browser natively supports JSON deserialization, but there is no schema information there. Having the contracts shared between C# code on the server and TypeScript code in the browser would make it easy to integrate the two together with a common schema.
Or is there something that I'm missing here which would make the scenario impossible to achieve?

There's a somewhat related issue open for JavaScript support.

Typescript bindings are not currently a high priority. We are looking at generating Swagger from Bond IDL and providing some conversions into Bond types. If you have other thoughts on browser interop, we'd be happy to discuss.

Was there any progress here? This will be very useful for server-to-server communication scenarios between different REST endpoints. Also, communication between frameworks - ex Node JS and my custom logging framework etc. Are there any plans to support typescript (javascript) in the near future?

TypeScript support is not in the core team's planned work for the next six months (Jan 2018-June 2018). It's something the core team will re-evaluate when we do our planning for the subsequent six months.
If you'd like to contribute something here, we're happy to help shepherd such an effort. Let us know in this issue.

Any new update on the JS/TS support?

@chwarr still no plans to add TS?

For the foreseeable future, no new languages will be added to Bond by Microsoft.


Log is not defined in imports

Log is not defined in imports in api/repo.go. This is causing builds to fail.
Originally posted by @kishaningithub in https://github.com/ribice/glice/pull/15

Can you open a PR for this?


Content Security Policy aka CSP issues

So
https://github.com/hhff/spree-ember/blob/fix/better-checkout-architecture/packages/checkouts/addon/mixins/checkouts.js#L164
Means that users would have to set csp for scripts to 'unsafe eval'
http://www.html5rocks.com/en/tutorials/security/content-security-policy/#eval-too
Any chance that code could be rewritten to only take the state as a string and not be an eval?

Good catch @williscool - just fixed that here:
https://github.com/hhff/spree-ember/commit/7280245b8b3c83d9b4ae38f90e3d9238294877e5
Should have that PR merged by Saturday.

nice


NFT count are all 0 in wallet tab

If you haven't, when you see that, hit the OpenSea API from the same IP address to see if it's rate limited

You are right.
I am blocked to access assets API on mainnet, but not blocked from accessing matic assets.

I checked the OpenSea API key is configured properly, does rate limit happend even with a production API key?

I think so.

As an aside, are we being etherscan rate limited now? It makes sense. They will want to monetise their API.
We do have an Etherscan API key but it's free tier.

Thanks @JamesSmartCell
When the balance is 0, I click the collection, it shows my NFTs, so should we update the balance before user clicking the collection?

It should do a balance update before it even displays in the wallet view.
I've spent a lot of time in that area, it should be perfect (almost) - we haven't seen any issues like this for some time.

When I switched to Oppo ColorOS, it performs much better than my Huawei with Harmony OS.

Assets fetch is much faster
When refreshing the assets list, some assets disappeared on Huawei and come back in a very long time


Add missing CS translations

Hello and thank you for wanting to contribute to the MagicMirror project
Please make sure that you have followed these 4 rules before submitting your Pull Request:

Base your pull requests against the develop branch.

Include these infos in the description:

Does the pull request solve a related issue?
If so, can you reference the issue like this Fixes #<issue_number>?
What does the pull request accomplish? Use a list if needed.
If it includes major visual changes please add screenshots.

Please run npm run lint:prettier before submitting so that
style issues are fixed.

Don't forget to add an entry about your changes to
the CHANGELOG.md file.

Note: Sometimes the development moves very fast. It is highly
recommended that you update your branch of develop before creating a
pull request to send us your changes. This makes everyone's lives
easier (including yours) and helps us out on the development team.
Thanks again and have a nice day!

Great, thanks :slightly_smiling_face:  Can you also update the CHANGELOG.md?

Codecov Report

Merging #2819 (1d2637c) into develop (a6cbc9f) will decrease coverage by 3.41%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2819      +/-   ##
===========================================
- Coverage    68.67%   65.26%   -3.42%
===========================================
  Files            8        8
  Lines          265      285      +20
===========================================
+ Hits           182      186       +4
- Misses          83       99      +16

Impacted Files
Coverage Δ

js/server.js
67.56% <0.00%> (-17.62%)
:arrow_down:

Continue to review full report at Codecov.

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

@KristjanESPERANTO Hello, yes, but what Version number and release date i should use? 2.18.1 and for date 1st of next month?

I probably forked Master insted of Develop and i cannot sync changes, so i didnt see the new Changlog. Will you merge the PR with changing the Changelog in another PR, or should i close this PR and make a new one?

@MichMich might be able to do that and update your PR before merging it

I'll merge it! 👍🏻

Thnak you. And sorry for more work :)


How do i make jacks in the chart editor???

What is your question?

Like those ones

Quants

hold shift

hold shift

thank you very much


Failed compiling with TF 1.4.1 nightly package

TF version: tf-nightly==1.14.1.dev20190419
$ ./configure.sh
Do you want to build ops again TensorFlow CPU pip package? Y or enter for CPU (tensorflow), N for GPU (tensorflow-gpu). [Y/n]
Build with CPU pip package.
Using installed tensorflow
$ bazel build //tensorflow_time_two:time_two_py
WARNING: /private/var/tmp/_bazel_byronyi/ee0318db429a8a8bc1314ce19d988028/external/local_config_tf/BUILD:3589:1: target 'libtensorflow_framework.so' is both a rule and a file; please choose another name for the rule
WARNING: /private/var/tmp/_bazel_byronyi/ee0318db429a8a8bc1314ce19d988028/external/local_config_tf/BUILD:5:12: in hdrs attribute of cc_library rule @local_config_tf//:tf_header_lib: file '_api_implementation.so' from target '@local_config_tf//:tf_header_include' is not allowed in hdrs
WARNING: /private/var/tmp/_bazel_byronyi/ee0318db429a8a8bc1314ce19d988028/external/local_config_tf/BUILD:5:12: in hdrs attribute of cc_library rule @local_config_tf//:tf_header_lib: file '_message.so' from target '@local_config_tf//:tf_header_include' is not allowed in hdrs
INFO: Analysed target //tensorflow_time_two:time_two_py (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /private/var/tmp/_bazel_byronyi/ee0318db429a8a8bc1314ce19d988028/external/local_config_tf/BUILD:3589:1: Executing genrule @local_config_tf//:libtensorflow_framework.so failed (Exit 1)
cp: /usr/local/lib/python2.7/site-packages/tensorflow/libtensorflow_framework.so: No such file or directory
Target //tensorflow_time_two:time_two_py failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.361s, Critical Path: 0.15s
INFO: 0 processes.
FAILED: Build did NOT complete successfully

$ make
g++ -I/usr/local/lib/python2.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -O2 -std=c++11 -o tensorflow_zero_out/python/ops/_zero_out_ops.so tensorflow_zero_out/cc/kernels/zero_out_kernels.cc tensorflow_zero_out/cc/ops/zero_out_ops.cc -shared -L/usr/local/lib/python2.7/site-packages/tensorflow -l:libtensorflow_framework.1.dylib
In file included from tensorflow_zero_out/cc/kernels/zero_out_kernels.cc:16:
In file included from /usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_kernel.h:24:
In file included from /usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h:26:
In file included from /usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/resource_handle.h:19:
In file included from /usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/tensor_coding.h:24:
/usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/protobuf.h:29:10: fatal error: 'google/protobuf/io/tokenizer.h' file not found
#include "google/protobuf/io/tokenizer.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from tensorflow_zero_out/cc/ops/zero_out_ops.cc:16:
In file included from /usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op.h:23:
In file included from /usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_def_builder.h:24:
/usr/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_def.pb.h:10:10: fatal error: 'google/protobuf/port_def.inc' file not found
#include <google/protobuf/port_def.inc>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [tensorflow_zero_out/python/ops/_zero_out_ops.so] Error 1

cc @yifeif @perfinion @martinwicke

Possibly related: https://github.com/tensorflow/networking/pull/14#issuecomment-481869591

For the first error we'll be linking using this in Addons:
https://github.com/tensorflow/tensorflow/issues/27430
For the second error I believe that was fixed already?
https://github.com/tensorflow/tensorflow/issues/27697

Thanks Sean! I believe this fix applies to many other custom ops as well.
It’d be good to mention that in the 1.14 release notes.

@byronyi FYI I have a branch for addons that uses the tf.sysconfig flags to build:
https://github.com/seanpmorgan/addons/commit/0fe21efd8a5b52b70fd2e997f0d85b8d8f5b2074
I did however end up with the potobuf error and so I've made a comment in that issue to see if this a macos whl issue. You were running on linux though right? Perhaps try clearing cmake cache as I'm not getting this error on our linux builds.

Sorry for the delay guys. I just submitted #20 that uses the versioned shared library name from sysconfig. Let me know if this works now. Thanks!

Thanks @yifeif and @seanpmorgan!
The first error is fixed, while the second is not (with tf-nightly==1.14.1.dev20190504):
$ make
g++ -I/usr/local/lib/python2.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -O2 -std=c++11 -o tensorflow_zero_out/python/ops/_zero_out_ops.so tensorflow_zero_out/cc/kernels/zero_out_kernels.cc tensorflow_zero_out/cc/ops/zero_out_ops.cc -shared -L/usr/local/lib/python2.7/site-packages/tensorflow -l:libtensorflow_framework.1.dylib
ld: library not found for -l:libtensorflow_framework.1.dylib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [tensorflow_zero_out/python/ops/_zero_out_ops.so] Error 1

Changing -l:libtensorflow_framework.1.dylib to -ltensorflow_framework works in macOS.
$ g++ -I/usr/local/lib/python2.7/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -O2 -std=c++11 -o tensorflow_zero_out/python/ops/_zero_out_ops.so tensorflow_zero_out/cc/kernels/zero_out_kernels.cc tensorflow_zero_out/cc/ops/zero_out_ops.cc -shared -L/usr/local/lib/python2.7/site-packages/tensorflow -ltensorflow_framework -v
Apple LLVM version 10.0.1 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.14.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name zero_out_kernels.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.14 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -target-linker-version 450.3 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I /usr/local/lib/python2.7/site-packages/tensorflow/include -D _GLIBCXX_USE_CXX11_ABI=0 -I/usr/local/include -stdlib=libc++ -O2 -Wno-atomic-implicit-seq-cst -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-quoted-include-in-framework-header -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/byronyi/Develop/custom-op -ferror-limit 19 -fmessage-length 238 -stack-protector 1 -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.14.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o /var/folders/9n/hq1fbbg12k9cdz1m6tdttlz80000gn/T/zero_out_kernels-7f0756.o -x c++ tensorflow_zero_out/cc/kernels/zero_out_kernels.cc
clang -cc1 version 10.0.1 (clang-1<IP_ADDRESS>) default target x86_64-apple-darwin18.5.0
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/v1"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/local/include"
ignoring nonexistent directory "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/lib/python2.7/site-packages/tensorflow/include
 /usr/local/include
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory)
End of search list.
  search starts here:
#include <...> search starts here:
 /usr/local/lib/python2.7/site-packages/tensorflow/include
 /usr/local/include
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks (framework directory)
End of search list.
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -dylib -arch x86_64 -macosx_version_min 10.14.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -o tensorflow_zero_out/python/ops/_zero_out_ops.so -L/usr/local/lib/python2.7/site-packages/tensorflow /var/folders/9n/hq1fbbg12k9cdz1m6tdttlz80000gn/T/zero_out_kernels-7f0756.o /var/folders/9n/hq1fbbg12k9cdz1m6tdttlz80000gn/T/zero_out_ops-93c3f7.o -ltensorflow_framework -L/usr/local/lib -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.osx.a

Not sure why though...

@byronyi I think the most recent error you mention here is related to https://github.com/tensorflow/tensorflow/issues/30564


Add support for extra settings like ATOMIC_REQUESTS

The need is similar to https://github.com/kennethreitz/dj-database-url/issues/106, these kinds of settings are not in OPTIONS dict so they can't be passed in the query string of the DB url.
Maybe a special syntax is needed, for some query string parameters to be directly including as top-level fields of the final config ?

I don't love the idea of some special syntax, especially given that it's fairly easy to just modify the DATABASES dict after it's read from the environ.
I could be convinced to change my mind if there was some especially elegant way of doing this, but I'd need to see an example. I'm going to close this, but if you come up with a good proposal please feel free to re-open.

Sorry to necro this, I can open a fresh issue if you'd prefer.
I think there's a good argument for allowing you to pass atomic_requests or autocommit to parse/config as kwargs -- these (in addition to conn_max_age which you can already pass) are always set on Django's connections:
https://github.com/django/django/blob/021f946569d0714fccd090bb2a5f1d7ab2720447/django/db/utils.py#L159
I could also see future-proofing this and just allowing for any kwargs to be automatically uppercased and included, but the existing ssl_require is somewhat of a special case then. Either way, I think it's a simple change and would be happy to open a PR for it.


Undo action and retrigger the action produces incorrect changes

I've tried doing this with a minimal init.lua with only packer and trevj installed. I'm on Neovim version 0.7.2 and using Linux.
Here's my buffer (filetype=python):
def foo():
    bar(1, 2, 3, 4)  # <- cursor inside parens

def bar(a, b, c, d):
    pass

I can trigger trevj and the parameters gets placed on its own line. When I undo the action (u) and re-trigger trevj, I get the following buffer:
def foo():
    bar(1, 2, 3, 4)

        ,
    # <- cursor ends up here

def bar(a, b, c, d):
    pass

Hi @ironhouzi, how do you re-trigger trevj? Calling the API, <C-r> or .?

API. <c-r> works fine.

Hmm, I can't reproduce this. How exactly are you triggering this?
Below you can see me format the arguments, then press u and do it again and it seems fine:

Strange. I've also tried this on my work laptop and I get the same problem.
Is the screenshare you posted done with a minimal init.lua?

local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer-test/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
  Bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
end

require('packer').init{
  luarocks = {
    python_cmd = 'python3'
  }
}

vim.keymap.set('n', '<space>=', function() require('trevj').format_at_cursor() end, {desc = 'Breakup to multiline parameters'})
return require('packer').startup(function(use)
  use 'wbthomason/packer.nvim'

  use {
    'nvim-treesitter/nvim-treesitter',
    run = ':TSUpdate'
  }

  use 'AckslD/nvim-trevJ.lua'

  if Bootstrap then
    require('packer').sync()
  end
end)

:lua require'trevj'.format_at_cursor()
u
:lua require'trevj'.format_at_cursor()

@ironhouzi I can now reproduce this with a minimal config but not sure why it's happening yet. If you do a :e before the second format it seems like it works again. Is that the case for you as well?

It seems like vim.treesitter.get_node_text gives the wrong text after nvim_buf_set_text. I'm not sure if I'm using it in the wrong way but I opened:
https://github.com/neovim/neovim/issues/19399

@ironhouzi I can now reproduce this with a minimal config but not sure why it's happening yet. If you do a :e before the second format it seems like it works again. Is that the case for you as well?

Indeed! That does work for me as well :+1:
Thanks looking further into the issue and narrowing down the cause. I'll subscribe to the neovim issue.

@ironhouzi, I opened #23 which seems to fix the issue. The change is just making sure that the tree is parsed before getting the current node.

Works great! Thank you so much for dealing with this in such an efficient way!


docker inspect should show subnet, iprange, gateway

docker inspect  should also return:

subnet
ip-range
gateway

They should show with the default or empty if they have nothing.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@thaJeztah @mavenugo psst

Not sure if IP-range would make much sense for inspect on a single container (it is visible on docker network inspect), the other properties possibly
ping @mavenugo wdyt?

Yes. I dont see a need for ip-range and gateway for containers. infact the most important one is the ip-address which we already display. I think we should just close this issue.

I agree, but @moxiegirl if you recall if there was a specific use case for the other properties, please let us know :heart:


[Bug]: The file name in rule check's logs is undefined.

Version
@rsdoctor/* 0.2.4

Details

Reproduce link
empty
Reproduce Steps
just build with rsdoctor.

@9aoy  Please cc this issue. I found that there will only be this problem under rsbuild:

rspack：

@easy1090 this problem already fixed, you can upgrade rsbuild to 0.7.2.
fixed by: https://github.com/web-infra-dev/rsbuild/pull/2463


Correction for winstonjs/winston#746.

Correct error at require on --use_strict

When can we expect the merge? We have this issue aswell.


Display a link to the privacy policy on detailed app page

Acceptance Criteria

[x] Prototype shared with team
[ ] Implemented

Engineering Notes

Raw data has privacy policy link.
Duke University asked for the URL in the raw data which @carmayna added last sprint.

@megdeb I've also gone ahead and added the link to the developer's site because I noticed we weren't doing that before.

This is live!


Differing Results by Just Changing the Value to compare to

Description
I wrote my tests and just to see what my actual value was (I used < operator), I changed my value to compare to to 3 instead of the expected 7. These are the results:

When I got the results I expected, I changed the value back to 7 and got these results:

I found it weird that just by changing the value that should be compared to from 3 to 7 the value that was READ also changed, but from 5 to 7 (Look at AStarTest). Thinking it might not have built correctly or I might have changed something by accident, I changed the values back to 3 and built again:

This got me my expected values back.
Steps to reproduce
Sorry, I have no idea. You can see the files here with build instructions in ../README.md
Extra information

Catch version: v1.9.6
Operating System: Windows 7 Ultimate 32 Bit
Compiler+version: gcc version 6.3.0 (MinGW.org GCC-6.3.0-1)

Please don't waste your time with this now, I'm playing around with it and it seems to come from a different problem..

It was me reading uninitialized memory. I don't actually remember why it didn't crash. It works now and that counts


Not Connecting at All

Not sure what the deal is, but I followed the instructions as per the page and am repeatedly getting this:

At first I thought it was my firewall, but I checked and I had cleared it completely, so it's not that.  Any other ideas?

I've been helping people with similar issues. 90% of the time its user error but I blame my bad instructions :)
Anyway, I would ensure that the redirect URL is correct. It should be http://localhost:3000/success
Copy the exact URI into your dev app. It cannot be a https URL.
If that doesn't work you need to ensure the server is running. After pressing authorize open a browser and head to http://localhost:3000/auth
If it redirects you to the glimesh auth page then it has to be something with your dev app.

Solved: all it took was a system reboot.  You may want to put that in the instructions.
(I know; seems so basic, and yet.... XD)

Resolved


Page corner effect broken in Firefox

Background positioning of page corner image is miscalculated in Firefox (57.0.3, Windows 10).

Looks fine @ Firefox Dev Edition (71.0b7 (64-bit):

Is this still an issue?

Oooh, looks like its fixed. 🎉
Will close this issue, for now. Thanks for the spot, @gnclmorais!


Is there a way to print javabean in a pretty way?

Below is a toString method of a model.

If I use Logger.d("topicInfo: " + topicInfo), the output is :

You can see the output is out of order。Is there a way to solve this.

PS: I know to add '\n' manually to the toString method.

That'd be a little difficult since Logger.d depends on toString() if the object is not any collection type. There could be an implementation that goes through all the fields and for each fields go through recursively but that is overkill. As you already mentioned yourself, I think best way to handle this in toString method by adding '\n' manually. I can't think any other approach that can solve this gracefully.


TypeError with torch.finfo()

🐛 Bug
NeMo's Stable Diffusion uses HuggingFace Transformers that uses torch.finfo in one of its operations. When thunder.jit is used with Stable Diffusion, it gives an error:
TypeError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
finfo(): argument 'type' (position 1) must be torch.dtype, not floating

although torch supports the dtype in torch.finfo(dtype) to be either torch.float32 or just float32.
CC: @tfogal

Not really understanding this one. We don't appear to have a lookaside for torch.finfo; should we?

torch.finfo(thunder.dtypes.float32)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[14], line 1
----> 1 torch.finfo(thunder.dtypes.float32)

TypeError: finfo(): argument 'type' (position 1) must be torch.dtype, not floating

likely options:

fix gap in translating thunder dtypes to torch.dtype transparently,
add torch.finfo lookaside

As an aside: Quite likely, it would help debugging these cases if Thunder objects had more Pythonic representations that informed about the fact that they are thunder objects...  (ported over #510 for this)

@athitten to add the full trace.

dropping 'triage review' until the trace comes in, will revisit then.

Repro:
import torch, thunder

def fn(x):
    return torch.finfo(x.dtype).min

a = torch.randn(5, 5)

jfn = thunder.jit(fn)

jfn(a)

Aside from the obvious implementation strategy of implementing finfo: Maybe it would be nice to do a replacement of thunder dtype (and device) to PyTorch when calling opaque functions.

Hello Team! FYI I will be working on this issue. (cc. @t-vi )

Thank you @k223kim


ParmEd Error with AmberTools ==20.0

The new version of ambertools ==20.0 seems to have broken compatibility with openmoltools.
In particular, the version number of the ParmEd which ships with the new ambertools seems to be incorrect.
ambertools = 20.0:
parmed                    at20RC5+54.g5702a232fe.dirty          pypi_0    pypi
ambertools = 19.11:
parmed                    3.2.0                    pypi_0    pypi
which yields the following exception:
# If ParmEd is older than 2.0.4 then halt - newer ParmEd is required to have correct FudgeLJ/FudgeQQ retained in GROMACS topologies.
    try:
        ver = parmed.version
    except:
        oldParmEd = Exception('ERROR: ParmEd is too old, please upgrade to 2.0.4 or later')
        raise oldParmEd
    if ver < (2,0,4):
>       raise RuntimeError("ParmEd is too old, please upgrade to 2.0.4 or later")
E       RuntimeError: ParmEd is too old, please upgrade to 2.0.4 or later

cc @jaimergp

This is fixed in #274. I'll cut a new release now.

cc https://github.com/conda-forge/ambertools-feedstock/issues/35


Add error handling when landing page is not suported

Should output relevant debug info and http-response codes

pull request added!


IDebugControl interface with CLR.MD

How do we use the IDebugControl interface to wait for events?
            IDebugControl control = (IDebugControl)dataTarget.DebuggerInterface;
            var hr = control.SetExecutionStatus(DEBUG_STATUS.GO);
            var waitStatus = control.WaitForEvent(DEBUG_WAIT.DEFAULT, uint.MaxValue);

This doesn't seem to work, Any ideas or documentation would be really great!

@fahadsuhaib You might find this blog post useful.

We've moved CLR MD into its own GitHub repository. If this issue still applies, please file it there.
Sorry for the inconvenience but we never intended for this repo to contain the component itself.


Whenever i start up CKAN I get this Error "Failed to connect to repository. Exception: Value cannot be null. Parameter name: collection", it was working just fine last night before i shut down my computer.

Background
**CKAN Version: v1.24.0-Pre
**KSP Version: 1.3.1
**Operating System: Windows 10
**Have you made any manual changes to your GameData folder (i.e., not via CKAN)? Yes, but have since done a clean install
Affected mods and mod versions:
Problem
**What steps did you take in CKAN? Reinstalled
**What did you expect to happen? Hopefully it would fix the issue/bug
**What happened instead?Nothing
Screenshots:

CKAN error codes (if applicable): Failed to connect to repository. Exception: Value cannot be null.
Parameter name: collection

Same here and I confirmed that I can reach the URL it's requesting: https://github.com/KSP-CKAN/CKAN-meta/archive/master.tar.gz

It looks like the github directory has been changed, or that file has been moved. I was going to start modding, but this is getting in the way a bit. I'll keep searching for the new place of master.tar.gz

It appears that you can go to https://github.com/KSP-CKAN/CKAN-meta/tree/master and download all the mod .ckan files. I think the reason for the move of the file was to prevent downloads. They are in the process of moving hosts to archive.org (This is my guess based off of the metadata and .ckan file info.)
You can manually import the .ckan files, but it looks like the download service is temporarily down.

This relates to KSP-CKAN/CKAN#2293, follow it for updates. archive.org is a fallback as we've been archiving OSS mods there for sometime. There aren't any plans to use it as a primary host.


Pre-trained Model Missing

Hello, I'm trying to go through this tutorial and it seems that the pre-trained model is no longer available at the link specified in the notebook:  https://datasci.danforthcenter.org/mask_rcnn_leaves_0060.h5.
Any help would be appreciated!

Hi @michellito, I fixed the link on the webserver, it should be accessible now. Thanks!


Show how to enable debug mode

Thank you for the "hello world" scaffold, this is great for getting started.
Another thing that's great for getting started is getting useful debug output when something goes wrong.
I would suggest updating this scaffold so it turns on debug mode.

Is this still an active issue?

No, this is no longer an active project. @elibixby can you disable issue tracking on these projects?


Optimise Walker for profiles with small number of decisions.

Feature Request
Description of Problem:
Currently the decision based walker is very fast for profiles with no decisions.
and as fast as possible for profiles with huge numbers of decisions.
but for profiles with a small number of decisions, it recalculates the possible rows over and over again, which isn't efficient.
it could get a large speed boost by calculating all options for rowspecs, caching them and choosing between them randomly. but does not do that currently.

https://github.com/finos/datahelix/compare/1141-optimise-decision-walker


[Map] DM-Liandri-Classic

I want to ask to unset variations of this map. One is made to replicate the classic look and feel of it's UT99 version (hence the "Classic" suffix), while the other is made to be in line with UT3 more modern maps.

URL: https://unrealarchive.org/maps/unreal-tournament-3/deathmatch/L/dm-liandri-classic_c5f76c72.html
Hash: c5f76c72b396765c50e4d4ed64b33358f6326544
Current name: DM-Liandri-Classic

makes sense, unset variation


Expose confidence level in Tracker data

Currently tracker data is:
{"id":166,"x":1130,"y":564,"w":139,"h":212,"bearing":255,"name":"car"}
Just realized that we don't expose the confidence level in the tracker data. Would be nice to have it as well.

Good catch, I thought it was there.. I fixed that, will do another build release with it later today
https://github.com/opendatacam/opendatacam/commit/2a3145365603f510cf5a37fd013be72ac64123d5

@tdurand Should we not map it to 0 to 100? We are mapping all the raw yolo data to int ... just not this one.

ok, yes let's be coherent ;-)


Rename Open Payments amount amount as value

https://github.com/interledger/open-payments/pull/96
example:
interface PaymentAmount {
  value: bigint
  assetCode: string
  assetScale: number
}

Requires https://github.com/interledgerjs/interledgerjs/issues/271


Add support for varying thickness

The user should be able to change the thickness of the stroke maybe by using a slider.

@bhavyaagg just as an update, I combined the text and slider elements into one bootstrap element (which also helps with the compact feel). Once I convert the custom CSS to bootstrap CSS I will let you know. Should be done by some point today.

Great @JesseKuntz . All the best.


Fix RawFeatureVector

Summary
The changes introduced here https://github.com/Qiskit/qiskit-terra/pull/10183 has broken RawFeatureVector.
Fixes #653.

I tagged it as stable backport since I imagine we should do a bug fix release to address compatibility with the latest Qiskit. This will work with the earlier version too right. Will need a release note...


Equalizer: collapsed margins break equalizing effect

I'm not sure what exactly causes this bug, but I think it's collapsed margins. You can see it on the current docs for Equalizer:

If we inspect the first column, it's the right height, but the bottom margin of its last child is collapsing into the bottom margin of the column, creating a height mismatch.

Also need to figure out if it's a bug we can fix, or just something we need to tell people about so they can work around it.

Make a '.callout .bar' sub-class w/ an adjusted 'margin-bottom'-The border of the initial box is rendering short because the border of the parent box is relational to 'bar' border..

I don't get the docs, why the  data-equalizer-watch="foo" is on the .medium-4.columns  div instead of the .callout div ?
For the other columns the data-equalizer-watch is on the .callout div. (Maybe I got the exemple wrong)

Not 100% clear on  the rationale there either… but it seems pretty clear that the first collumn border is inheriting margin rules from the article boxes..Seems like using flex on those boxes instead of using JS to calculate margins would eliminate the conflicting CSS.

This issue has been addressed and will be resolved with the new equalizer coming soon, to a repo near you!! Also, for posterity, in this specific example @Grafikart was correct. Cheers!


Works perfectly!

All the other ones I tried didn't work, this one works perfectly, Thank you very much for making this!

Thanks


PyPi - GeoPlot

This issue will address getting GeoPlot up on pypi for an open code release.

[x] Familiarise how to deploy on pypi
[x] Check if GeoPlot name is taken
[x] Push package

In order to complete this task, other issues must also be completed.

@JimCircadian I check to see if geoplot was taken for, of which it is. What's a standard form that I should follow to determine a similar name, e.g. is geo-plot ok ? or should I change the software to geo_plot ? :)

The module will need to be geo_plot (you can't do import geo-plot for example) so I prefer the second one, but you can call the package geo-plot, it always just feels a bit weird to me. Ironically geo_plot seems to need to be geo-plot in the filesystem, so it's all a bit weird.

Okie dokie. Is it worth sticking with geo_plot even if the filesystem does geo-plot. Or is it worth coming up with a new name entirely, promise this is the last question ?

Yeah I think geo_plot will be best :)

Package name was changed to bas-geoplot and all repo was updated

There is an issue with the inclusion of the dependencies. Need to run

python setup.py sdist bdist_wheel
twine upload dist/*


spark_3_2: 3.2.1 -> 3.2.2

Description of changes
https://spark.apache.org/releases/spark-release-3-2-2.html
Fixes CVE-2022-33891.

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

10 packages built:

hadoop
hadoop2
hadoop_3_2
pig
python310Packages.dask-yarn
python310Packages.skein
python39Packages.dask-yarn
python39Packages.skein
spark
spark_3_1

@ofborg test spark
Would be nice to have this as passthru.tests but I can see how it's tricky with the multiple versions and the test not being designed for it.

I think the nixos test failure is just down to the worker node not being given enough memory, giving it
virtualisation.memorySize = 2048;

allows it to pass.


Update awscrt to 0.16.26

Upgrade to latest release of the awscrt (0.16.26).

Codecov Report
Patch and project coverage have no change.

Comparison is base (0e3b5ad) 93.36% compared to head (1da93ff) 93.36%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2987   +/-   ##
========================================
  Coverage    93.36%   93.36%
========================================
  Files           65       65
  Lines        13841    13841
========================================
  Hits         12923    12923
  Misses         918      918

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


SAA-2208: Remove redundant appointment code

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.30%. Comparing base (dad0d88) to head (f688ebe).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1175      +/-   ##
============================================
+ Coverage     84.25%   84.30%   +0.05%
+ Complexity     3717     3713       -4
============================================
  Files           385      384       -1
  Lines         12642    12622      -20
  Branches       1089     1089
============================================
- Hits          10651    10641      -10
+ Misses         1488     1478      -10
  Partials        503      503

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Document how to set alpha values.

Thank you for this awesome package! I'm a huge fan of grammar of graphics and I'm excited to see a native Julia implementation of this paradigm.
The tutorial and the philosophy pages of the documentation suggest that one can set the transparency of a layer via the alpha keyword of visualize, i.e. something like visualize(Scatter; alpha = 0.5). However, that does not seem to work (anymore?). It is surprisingly hard to figure out what would be the right thing to do to achieve the result.
It would be great if the documentation could be updated in this regard or if the documentation could include a pointer to the relevant information about accepted keyword arguments of visualize (probably pointing to the Makie.jl docs?).

visual(Scatter; alpha = 0.5) should work, do you have an example when it doesn't? That being said, alpha is the only attribute that is added compared to Makie. Ideally it should be implemented in Makie, but I guess if that doesn't happen anytime soon one can document it here.

Here is a minimal example that fails to make the scatter points transparent for
using AlgebraOfGraphics: Scatter, data, draw, mapping, visual
import CairoMakie, ElectronDisplay

df = [(; x, y = sin(x)) for x in (-π):0.1:π]
data(df) * mapping(:x, :y) * visual(Scatter; alpha = 0.5) |> draw

Output:

Package versions:
  [cbdf2221] AlgebraOfGraphics v0.4.6 `https://github.com/JuliaPlots/AlgebraOfGraphics.jl.git#master`
  [13f3f980] CairoMakie v0.6.2 `https://github.com/JuliaPlots/Makie.jl.git:CairoMakie#master`
  [d872a56f] ElectronDisplay v1.0.1

Ah, thanks for reporting that, this is definitely a bug. I think AoG has trouble applying alpha if no explicit color is passed, either via mapping or via visual. You can probably work around it by doing visual(color = :black, alpha = 0.5).
I suspect it's difficult to fix this in general from AoG, it probably needs https://github.com/JuliaPlots/Makie.jl/issues/84 for a cleaner solution.

Thank you for the quick response. Setting the color explicitly does the trick. Should I close this issue since it will essentially work once the alpha channel is supported in Makie?

I think it's best to keep it open (even if it's not really actionable) as a reminder to update things on this end (remove current partial implementation) once Makie has alpha transparency support.

Bump. As this issue has been open for awhile and it is unclear for how long it will stay open, could we add a short note about that in the documentation? So even if the issue isn't fixed, new users won't struggle to find the trick?

alpha is supported in Makie (as of July 2023). Is it an easy fix to pass the alpha on to Makie now?


Update for 1.17

Hi,
Would it be possible to update this mod for 1.17 ?
Thanks in advance.

I think that project is abandoned.
You can use my fork of this mod that supports 1.17: Click here

Thanks a bunch mate !


Add ON / OFF description text onto the field toggle

Do we have a documented list of field editors?

No but I was thinking we should add, plus add the list of parameters that they accept. Even though we have interfaces in the code, they're not exported and hard to find.

those amazing gifs :)

Yeah I'll start preparing a docs page


Don't use *Sync methods in filesystem access.

They are blocking other processing that could go on while the file or directory is being read.

Thoughts, @nex3 ?
I'm happy to go all async here – but that also has runtime costs and makes debugging harder.
Maybe just use async when the operation could be long?

My experience has generally been that the overhead of async IO is high enough that it doesn't provide a meaningful performance benefit, even in the presence of some amount of parallelism. I wouldn't advise doing this without benchmarks that show a concrete benefit.

I stand corrected. The change was easy (I can send PR if interested), but the performance benefits were not measurable on my Linux server with a fast SSD, and were under 1-5% difference between the two. Not sure if a slower HDD would show a difference. On a Mac notebook the benchmark's result varied more than 30% between consecutive measurements, so I've discarded that.

All use of sync* has been removed from this repo.


Java support for gradle in SAM build

Describe your idea/feature/enhancement
SAM build needs support for Java
Additional Details
Feature request in toolkit: https://github.com/aws/aws-toolkit-jetbrains/issues/712

Blocked on https://github.com/awslabs/aws-sam-cli/pull/976/files because it refactors lots of the code paths necessary to support Gradle

This was released with v0.12.0
Closing


Invalid format exception

Description

When you don't give value but give minDate it throws Invalid date range exception
Motivation and Context

So, I had to change source to be able to use your lib.
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

#137 included these changes 👍


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 426 ms

Resolved: ClamAV performance has improved in 85465b0.


Missing release tags

The repository is missing the release tags, is it possible to add at least the last one?
git tag 1.3 f8d7d793e17810f4e298c365a78ae9def6e7f717

Done.

Thank you!


bug with ValueSet$expand with filter

I've investigated this issue further and here are my findings.
we are trying to search for the term "mixed".

we can see here that at least 1 result should come up:

and we verify the codesystem has it as well:

we also verify that the $expand?filter= does give back some "selective" results. for example here:

Possibly related to: https://github.com/jamesagnew/hapi-fhir/issues/1946

FWIW, I've been working with @mohammadfarooqi between other tasks to zero in on the actual problem here. While this is present in an inaccessible server, it's likely not limited to this implementation. There's a CodeSystem with more than 90K concepts. The ValueSet includes the entire CodeSystem. This may be related to the expansion or the trouble may have started when the CodeSystem and ValueSets were created / pre-expanded.
This may also be related to #1946 or even #2175
Next steps are to turn these observations into a minimal reproducible example to make this ticket actionable.

@jamesagnew's changes have partly resolved this issue. See @frankjtao and @IanMMarshall PR #2175, which will support left-matching by string token, case-insensitive once merged.


Individual travel  budget can be used over several events

As explained by @desenesterling  here

@desenesterling is this good to merge?

yep sorry go for it
On Wed, Apr 6, 2022 at 2:05 AM Malo Marrec @.***> wrote:

@desenesterling https://github.com/desenesterling is this good to merge?
—
Reply to this email directly, view it on GitHub
https://github.com/sourcegraph/handbook/pull/2855#issuecomment-1090032984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWCDUFCGUBRZPYX6INDF6PLVDVHW7ANCNFSM5R7G77IQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Desene Sterling (she/her)
Financial Controller
@.*
https://sourcegraph.com/
What is Universal Code Search https://about.sourcegraph.com/? | We're
hiring! https://about.sourcegraph.com/company/careers


fix/missing path

Should be ~/.local/bin/ not self.binpath as it might not be defined (like in my case)

thats just the default value, self.binpath is always defined even if not in config
        self.binpath = expanduser(
            self.config.get("binary")
            or find_executable("ggwave-rx")
            or "~/.local/bin/ggwave-rx"
        )


Update Readme.md

codify extent of support

Fixed a typo in https://github.com/DMPRoadmap/roadmap/pull/2757 but as I haven't done it as part of the review, it doesn't see to get highlighted, sorry 🤦


Quick Add WorkItem At Bottom

READY TO MERGE

@SMahil in the PR that I sent you last week there was an "X" for closing the quick-add. I don't see that anymore. The design from UX had that in there. Currently the design does not match the desired work flow. Currently it is: click button, click text box, type text, hit enter (to enter more you need to start over by clicking on the button). The work flow should have something more like click button, type text, hit enter, type text, hit enter, type text, hit enter, click close icon when done.
https://redhat.invisionapp.com/share/798MZ3GG5#/screens/185961157

[test]


python environment

Hello, can you export and share your python environment, I'm having trouble installing the package, I'm looking forward to your reply.

Hi, maybe you could provide the traceback of the errors you are facing, and I can try and help debug it that way?
I just re-ran the training notebook, and everything seems to install correctly on colab

Thanks, I am having the following problem with poetry install:
poetry install
Installing dependencies from lock file
Package operations: 27 installs, 13 updates, 0 removals
• Updating charset-normalizer (2.0.4 -> 2.1.0)
• Updating jsonnet (0.17.0 /home/conda/feedstock_root/build_artifacts/jsonnet_1667026987235/work -> 0.18.0): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
running bdist_wheel
running build
running build_ext
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/desugarer.cpp -o core/desugarer.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/formatter.cpp -o core/formatter.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/libjsonnet.cpp -o core/libjsonnet.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/lexer.cpp -o core/lexer.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/parser.cpp -o core/parser.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/pass.cpp -o core/pass.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/static_analysis.cpp -o core/static_analysis.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/string_utils.cpp -o core/string_utils.o
g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/vm.cpp -o core/vm.o
In file included from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/config.hpp:35:0,
from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/substr.hpp:10,
from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/std/string.hpp:6,
from third_party/rapidyaml/rapidyaml/src/c4/yml/std/string.hpp:7,
from third_party/rapidyaml/rapidyaml/src/./c4/yml/std/std.hpp:4,
from third_party/rapidyaml/rapidyaml/src/ryml_std.hpp:4,
from core/vm.cpp:29:
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/compiler.hpp:90:13: error: #error "GCC < 5 is not supported"
error "GCC < 5 is not supported"
           ^

In file included from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/config.hpp:37:0,
from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/substr.hpp:10,
from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/std/string.hpp:6,
from third_party/rapidyaml/rapidyaml/src/c4/yml/std/string.hpp:7,
from third_party/rapidyaml/rapidyaml/src/./c4/yml/std/std.hpp:4,
from third_party/rapidyaml/rapidyaml/src/ryml_std.hpp:4,
from core/vm.cpp:29:
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:19: error: ‘is_trivially_copyable’ is not a member of ‘std’
static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable")
^
third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’
C4_MUST_BE_TRIVIAL_COPY(NodeScalar);
^
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:48: error: expected primary-expression before ‘>’ token
static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable")
^
third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’
C4_MUST_BE_TRIVIAL_COPY(NodeScalar);
^
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:49: error: ‘::value’ has not been declared
static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable")
^
third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’
C4_MUST_BE_TRIVIAL_COPY(NodeScalar);
^
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:19: error: ‘is_trivially_copyable’ is not a member of ‘std’
static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable")
^
third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’
C4_MUST_BE_TRIVIAL_COPY(NodeData);
^
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:48: error: expected primary-expression before ‘>’ token
static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable")
^
third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’
C4_MUST_BE_TRIVIAL_COPY(NodeData);
^
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:49: error: ‘::value’ has not been declared
static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable")
^
third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’
C4_MUST_BE_TRIVIAL_COPY(NodeData);
^
In file included from third_party/rapidyaml/rapidyaml/src/./c4/yml/./parse.hpp:13:0,
from third_party/rapidyaml/rapidyaml/src/./c4/yml/yml.hpp:7,
from third_party/rapidyaml/rapidyaml/src/ryml.hpp:4,
from core/vm.cpp:30:
third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:19: error: ‘is_trivially_copyable’ is not a member of ‘std’
static_assert(std::is_trivially_copyable::value, "T must be trivially copyable");
^
third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:47: error: expected primary-expression before ‘>’ token
static_assert(std::is_trivially_copyable::value, "T must be trivially copyable");
^
third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:48: error: ‘::value’ has not been declared
static_assert(std::is_trivially_copyable::value, "T must be trivially copyable");
^
make: *** [core/vm.o] Error 1
Traceback (most recent call last):
File "/anaconda3/envs/test/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "//anaconda3/envs/test/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/anaconda3/envs/test/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/build_meta.py", line 416, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
self.run_setup()
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 79, in
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/init.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 1244, in run_command
super().run_command(command)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 343, in run
self.run_command("build")
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 1244, in run_command
super().run_command(command)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 1244, in run_command
super().run_command(command)
File "/tmp/tmpj_azmex5/.venv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "", line 68, in run
Exception: Could not build core/desugarer.o, core/formatter.o, core/libjsonnet.o, core/lexer.o, core/parser.o, core/pass.o, core/static_analysis.o, core/string_utils.o, core/vm.o, third_party/md5/md5.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/char_traits.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/base64.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/language.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_util.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/format.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/time.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/error.o, third_party/rapidyaml/rapidyaml/src/c4/yml/parse.o, third_party/rapidyaml/rapidyaml/src/c4/yml/preprocess.o, third_party/rapidyaml/rapidyaml/src/c4/yml/common.o, third_party/rapidyaml/rapidyaml/src/c4/yml/tree.o
at ~/anaconda3/envs/test/lib/python3.8/site-packages/poetry/installation/chef.py:152 in _prepare
148│
149│                 error = ChefBuildError("\n\n".join(message_parts))
150│
151│             if error is not None:
→ 152│                 raise error from None
153│
154│             return path
155│
156│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with jsonnet (0.18.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "jsonnet (==0.18.0)"'.

I don't have problems with the notebook either, but when I install the environment in the server I encounter these problems, I'm not sure if it's related to my network

my Poetry version == 1.4.0
my python version == 3.8.15

Error says that GCC < 5 is not supported, so it looks like you will have to update it? You can check the current version with gcc -v. For example
My local env:
gcc -v
Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Colab
!gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.1' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-Av3uEd/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)

In both cases, the version is >4

Thank you very much for your reply, your reply is very helpful, but I now have a new problem, when I use poetry and download codecov==2.1.12, I encounter the following problem. I can't find that version of the package on my browser either, what changes do I need to make?

codecov=2.1.12 is broken on my end too. Hmm, you don't actually need this to run seq2rel, so try installing with:
poetry install --without dev

Thank you very much for your reply, it helped me a lot! Have a great life!

Hello, I encountered the following problems while reproducing your model. The code for seq2rel and seq2rel-ds has been cloned, and poetry as well as allennlp have been downloaded. However, when I try to use the seq2rel-ds command, it can't be found. I'm not sure how to install the seq2rel-ds package. Looking forward to your reply!


onpage function-call triggers twice

Using the following code triggers the onpage function-call twice when clicking a pagination link (workaround is included):
var page = 1; // global variable
$('.sbpagination').bootpag({
total: Math.ceil(numPosts / 50),
maxVisible: 3,
firstLastUse: true,
}).on("page", function(event, p){
// @XXX: bug in bootpag? - small workaround in order to avoid double requests and refresh-timeouts
if(page == p){
return;
}
page = p;
refreshShoutbox(((p-1)*50), 50); // $.post() is called inside this function which updates the content
});

I ran into this as well. The strange thing is that the jquery trigger (line 173) is only called once (indicating to me, that -bootpag- is working correctly), but the number of calls to the callback bound to the 'page' event seems to be doubling every time a 'page' event is triggered. i.e. on the first page, 1 call, on the 2nd page 2 calls, on the 3rd page 4 calls..then 8 , 16 ,32 ,64 (calls of the callback function). Looking at the posts in the net window in firebug, it is always multiples of the same page number being requested, which is why q4z1's workaround works (immediate return from callback on duplicate page request). This seems like a bug in the jquery event code, not the bootpag code (as evidenced by only one call to 'page' trigger.)


docs: Convert many http URLs to https

Testing Plan: test-documentation, test-help-documentation

Yay, thanks for doing this!  I remember several of these definitely didn't support HTTP back in the day :/.


Reset celestia-core to tendermint master

Description
This PR is like hitting the reset button and eliminating all merge conflicts with tendermint master.
steps taken:

make a commit to delete everything
merge tendermint master and accept all of the their changes
copy and paste the missing pieces

this PR does not have any celestia-core specific code yet, we still have to copy paste that back in
Closes: #XXX

How did this commit come into existence? https://github.com/celestiaorg/celestia-core/commit/fcca94a24bc107df0bcbc6b53a488671cba7fd98
Copy from where?

How did this commit come into existence? fcca94a

due to merging process taken in this PR, deleting everything, then merging, there were a lot of missing files at the end. So I deleted everything again and then copy and pasted the entire tendermint directory back in.
this approach is probably not the best, but at the time I was just experimenting to try and save git histories while also resetting to tendermint master.

I can confirm that this branch as per
is on par with tendermint's b0684bd300af59fbc73e4a5d0881ace1f821bf2c.
Let's re-apply (ideally cherry-pick?) all the changes we want to this branch in separate PRs.

closing in favor of #534


 Actions like.

Git explorer section takes to much time for any action
manipulating files
navigation etc..etc..

VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:42:18.719Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 5, 7

Memory (System)
8.00GB (0.10GB free)

Process Argv
-psn_0_57358 --crash-reporter-id 1b654aa6-c989-4e2c-b14d-a372c2ec3eb5

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

rainbow-brackets
2gu
0.0.6

better-comments
aar
2.1.0

vscode-eslint
dba
2.1.16

gitlens
eam
11.3.0

vscode-pull-request-github
Git
0.24.0

todo-tree
Gru
0.0.202

python
ms-
2021.2.636928669

jupyter
ms-
2021.3.619093157

vsliveshare
ms-
1.0.3912

material-icon-theme
PKi
4.5.0

vscode-xml
red
0.15.0

vscode-yaml
red
0.16.0

code-settings-sync
Sha
3.4.3

sonarlint-vscode
Son
1.20.1

rewrap
stk
1.14.0

svelte-vscode
sve
104.6.2

vscode-webhint
web
1.5.11

material-theme
zhu
3.9.15

(9 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
dockersubsetcf:30265999
vspre833cf:30267465

Please see https://github.com/microsoft/vscode/wiki/Performance-Issues for advice about performance issues.
I also suggest you use the Start Extension Bisect command to investigate whether one of your extensions is causing this.
/needsMoreInfo

Please see https://github.com/microsoft/vscode/wiki/Performance-Issues for advice about performance issues.
I also suggest you use the Start Extension Bisect command to investigate whether one of your extensions is causing this.
/needsMoreInfo

Tried this approach. found out that extensions were the root cause. Could not make out which one exactly just disabled a bunch of them I don't use often.
VSCode now works as smooth as before. Thanks for your input