Get backtrace function names from DWARF sections

Parses the .debug_info section of executables to get the original function name instead of raw symbols (that sometimes can't be found on Linux) in backtraces. Function names (just like line numbers) will always be displayed, unless the program in compiled with --no-debug.
Example:
OH NO! (Exception)
0x43ab67: ??? at ??
0x470c14: callee1 at /home/github/crystal/test_addr2line.cr 4:5
0x4396ae: callee3 at /home/github/crystal/test_addr2line.cr 13:13
0x42cbad: __crystal_main at /home/github/crystal/src/signal.cr 129:1
0x439589: main at /home/julien/.cache/crystal/macro40167536.cr 12:15
0x7f8db5934f45: ??? at ??
0x42c529: ??? at ??
0x0: ??? at ??

WIP: only tested on Linux x86_64.

nice :100:
is there a "before" example too? i guess no method names showed up before?

Does this not have the class/type information like before?

We only push the function name to LLVM. I was surprised at first, but then noticed that Ruby, for example, does exactly the same: only the function name is displayed in backtraces. Along with the file:line information, this has always been enough. I believe this avoids even more noise.

I think it would be nice to include at least the type name in the backtrace. For example Foo::Bar#foo. I don't think that would get too cluttered.

Not my opinio, but is is out of scope of this PR anyway. Here, I seek the information, I don't set it.

I think I found the culprit, a sneaky seek bug. Thanks again for the binaries @bcardiff !

@ysbaddaden this is great! Thanks!
Would you mind rebasing on master so the merge commit references this PR and we have shorter branches merges?
Feel free to merge it directly 👍

Is there anything we could do to preserve class names?
I'd say loosing that part handicaps backtrace call signatures quite a bit.

This is out of scope of this PR (I extract the name, I don't set it). Furthermore other OO languages, such as C++, Ruby or Python, don't store/print the type name, only the function name, and that never bothered me —because file:line already provides enough.


Fix: Allow pining recycle bin to start in right click option

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #issue #6230

Validation
How did you test these changes?

[X] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.

Can you verify the functionality works?

Thank you for your contribution, we still haven't decided if we want to include this functionality so we're putting this on hold.


We need cross-compilation for subctl (OSX, windows, linux32, etc..)

https://github.com/submariner-io/submariner-operator/releases

Sorry, I hadn’t noticed that this was assigned to @dimaunx!


Correct links to source code

Getting 404s after clicking "source" in the rtds has been bugging me for awhile but I'd been too lazy to fix it

Which URLs are you trying to fix?
https://github.com/Parsl/parsl/blob/master/parsl/data_provider/globus.py works as is, for example.
The source link for set_stream_logger doesn't work either with blob or tree because the code generator thinks it should be in this file:
https://github.com/Parsl/parsl/blob/master/parsl.py
Which links are fixed by this PR?

Sorry, I did not put enough description or thought into this PR.
The kind of links I'm trying to fix are similar to the [source] link on this page. The fix I propose here doesn't fix that problem.
Should I open an issue about these links?

open an issue.
it looks like the links are broken roughly in the case that the symbols are defined in an init.py - in which case the links link to directoryname.py, rather than directoryname/__init__.py. Although often in those cases they are re-exports from a different location which would  be a more appropriate source location.


Tables querying CloudWatch Logs should include timestamp ranges in examples

Tables that query CloudWatch Logs can be slow to return when there is a large history of log entries. Our examples look tempting, but can be a slow / poor experience as a result. (This is mostly because CW Logs just takes a long time to query a large number of streams.)
We should update the examples to include a time range by default, e.g. and timestamp > now() - interval '1 hour' or similar to create a better starting point for users.
Tables:

aws_cloudtrail_trail_event
aws_cloudwatch_log_event
aws_vpc_flow_log_event

[ ] aws_cloudwatch_log_event
[ ] aws_cloudtrail_trail_event
[ } aws_vpc_flow_log_event


100% unit test coverage

Depends on #24
We may need to exclude a few hard-to-reach lines. Other than that 100% coverage is certainly achievable.

#80 will make tests without snapshots a lot more manageable


Brave browser thinks CookieMonster is a tracker/ad

Bug description
I apologize that this is probably NOT something Cookie Monster can fix. But is better here than anywhere else...
I've been using the userscript to auto load Cookie Monster, and today (September 1st 2023) I noticed that Brave has stopped letting Cookie Monster load. Brave has started classifying it under Trackers and Ads. I honestly doubt Cookie Monster added a tracker as it's open source 🤷♂ so the fault is most likely Brave's fault.
I also DO NOT know if it's global and my browser just updated it's list of trackers or whether MY brave version in an attempt to learn what is a tracker falsely added CM to the list. But if it IS global than I image a more than a few dozen people may be coming in to ask whats going on.
Way for brave users to resolve: Create an exception rule

Go to brave://adblock
Under Create custom filters input the following
@@https://cookiemonsterteam.github.io/CookieMonster/dist/CookieMonster.js
Save changes and reload the Cookie Clicker page. (May need to restart browser)

To reproduce
Unknown if reproducible... but downloading and using the brave browser for long enough has apparently added the URL https://cookiemonsterteam.github.io/CookieMonster/dist/CookieMonster.js as a tracker/ad.
Screenshot

Save file
No response
Browser / Steam / Version
Browser Version 1.57.57 Chromium: 116.0.5845.163 (Official Build) (64-bit)
Cookie Clicker version 2.052

I think it's global, can confirm same behavior started for me in Brave today.


Support for LazyStaggeredVerticalGrid

Hi, is support for LazyStaggeredVerticalGrid possible?

Yep, was waiting for someone to request this 😄


[FEATURE]: DynamoDB support

Describe want to want
Is there any information regarding the status or plans to support DynamoDB?

+1

That would be sweet

wondering if there are any updates on this issue ?

Is this still being looked into? It'd be great to unify every DB usage from a backend via the Drizzle ORM

👍

+1

Im just curious if dynamodb support  has been started?

It might be possible to wrap PartiQL with Drizzle to create DynamoDB bindings

+1

DynamoDB support would be incredible!

Currently there are no plans to support DynamoDB in Drizzle. For everyone looking for a DynamoDB ORM, I suggest looking at ElectroDB, which is a decent option.


Allow removing the "b" mode from fopen calls

Since #3812, php-cs-fixer keeps adding the 'b' mode to fopen() calls.
But since PHP ~4~5.something, this is already the default.
It should be disabled by default IMHO.

Hi @nicolas-grekas
Can you point to the code where PHP makes sure this is the default?
AFAIK the default is left to the SAPI and version of PHP in use, leaving room for different behavior of the same code on different environments when the flag is omitted.
Secondly, do you want a rule to remove the flag or would removing the current rule that adds it from the Symfony set be sufficient?

This commit I think: https://github.com/php/php-src/commit/fa342d2404a9c809d0a182d80798da2abd3a98f7

:+1:  that settles it than :)
do you still want a fixer to remove the t flag as well, or just the b flag?

The "t" flag should never be used for sure (it's not portable).
About the "b", I think it's fine to not care. At least we could remove it from the Symfony ruleset I think.

Welp, that's my bad, part of the documentation is out of date :(

let's simply update the fixer and ruleset, nice finding @nicolas-grekas

reopen to discuss changing the default config (and on what release (branch))

the documentation of php itself "strongly recommends" to not rely on the default "b" and set it explicitly: https://www.php.net/manual/en/function.fopen.php

I think this issue has been resolved here;
https://github.com/FriendsOfPHP/PHP-CS-Fixer/commit/69b973a4ee21bc2c8d1a10b37b37c31c1379ee69#diff-1e418beac3b4a9cf60ecd4ca4e2975a8R171
so by default the SF will remove the b flag.
@dbu I think the documentation of PHP is outdated on this topic, however I config my projects to keep adding the b for the same strong recommends :)


DoneJS.com audit

Go through the website and look for broken demos & links, missing images & videos, spelling & grammar issues, accessibility issues, poor performance, etc.

👍 On accessibility, this is something we probably haven't put enough time into.

For testing accessibility, plenty of tools are a good starting point to fix that.


[WIP] Working on subtyping

Closes #121
This PR is likely to be huge. Stay tuned.

I think #121 needs to be split into multiple PRs otherwise this one will be too big. I am not sure what is a better way than accepting broken CI before this work is done.

How about changing some proofs that require both model&syntax (such as the completeness theorem) to the Admitted one (while keep the original proof as a comment), and then just finish syntactic part?

ok, syntactic part is ready


[requires.io] dependency update on master branch

Codecov Report

Merging #30 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   79.24%   79.24%
=======================================
  Files           2        2
  Lines          53       53
=======================================
  Hits           42       42
  Misses         11       11

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 5180d6d...1d178e2. Read the comment docs.


Update for Dawntrail version?

Is there any update on whether this plugin will be updated for the Dawntrail version?

Yes, there's a PR open for dawntrail, I just haven't gotten around to merging it yet.

👀

Would really appreciate the update as well, as we just started an Eureka group in the fc again :) Thanks for the effort

Update would be amazing!

👀

Thank you for your time and effort on this plugin. I noticed the fork was updated, but it doesn't look the the PR was processed, is there by chance a timeline of when this might happen?
Once again thanks for this plugin, it is highly useful.

It turns out the creator has unexpectedly passed away. RIP. This was such a great plugin, thank you for your support.
This is probably not possible to be updated and will need a new fork. :(

Am moving house + a new computer. I swear I'll update this

The creator has been reborn!

You ok over there? I hope moving into the new house didn't cause any issues. A lot of people get baited into a lower priced home, but then they find out it's infested with scholars and doctors, and it's too late to back out. It's why we deal with higher property taxes, to get away from them.


KAFKA-10157: Fix broken tests due to InterruptedException from FinalizedFeatureChangeListener

This PR fixes the cause of failing tests mentioned in the jira:

kafka.network.DynamicConnectionQuotaTest
kafka.api.CustomQuotaCallbackTest
kafka.server.DynamicBrokerReconfigurationTest

Issue:
The call to ChangeNotificationProcessorThread.queue.take() could throw an InterruptedException.  While the queue is empty and the thread is blocking on taking an item from the queue, a concurrent call to FinalizedFeatureChangeListener.close() could interrupt the thread and cause an InterruptedException to be raised from queue.take().
Definitely ignoring the InterruptedException for the above reason was the intent of the code that used the ignoring clause for the same. But it seems unfortunately the ignoring clause does not ignore InterruptedException, so that doesn't work for us. To confirm this theory, I found the following code in scala.util.control.Exception.scala: https://github.com/scala/scala/blob/v2.12.0/src/library/scala/util/control/Exception.scala#L167-L176.
Fix:
The fix in this PR is to just not use the ignoring clause. We rely on an explicit Exception.instanceOf to detect and ignore the InterruptedException.
Test plan:
Ran the unit and integration tests and found that the test failures are gone now.
I will wait for CI to pass before merging this PR.

cc @ijuma @apovzner @junrao @abbccdda for review.

ok to test

@chia7712 Could you please help trigger a CI run?

retest this please

@chia7712 I think CI is not triggering. I'd appreciate the help if you could trigger it again.

@kowshik
Is this CI not working for this PR?
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2932/console

CI comes back :)

test this please

ok to test

@apovzner Can you go ahead and merge this PR? The latest failures in CI are unrelated.


Fix/drawing widget blur 924

closes issue #924
I wasn't able to create a test for this. I'm guessing this is because canvas doesn't work in a headless browser. Fwiw, I tried this to get to the first step (just before resetting):
describe('draw widget', () => {
    /** @type {import('sinon').SinonSandbox} */
    let sandbox;

    /** @type {SinonFakeTimers} */
    let timers;

    beforeEach(() => {
        sandbox = sinon.createSandbox();
        timers = sandbox.useFakeTimers();
    });

    afterEach(() => {
        timers.runAll();
        timers.clearTimeout();
        timers.clearInterval();
        timers.restore();
        sandbox.restore();
    });

    it(`does not create an image of an empty canvas when the canvas looses focus (blurs)
     after it has been reset at least once`, () => {
        const form = FORM2;
        const fragment = document.createRange().createContextualFragment(form);
        const control = fragment.querySelector(DrawWidget.selector);
        new DrawWidget(control);
        const canvas = fragment.querySelector('canvas');

        const touch1 = new Touch({
            identifier: 123,
            target: canvas,
        });

        const touchEvent1 = new TouchEvent('touchstart', {
            touches: [touch1],
        });

        const touch2 = new Touch({
            identifier: 234,
            target: canvas,
        });

        const touchEvent2 = new TouchEvent('touchend', {
            touches: [touch2],
        });

        canvas.dispatchEvent(touchEvent1);
        canvas.dispatchEvent(touchEvent2);
        canvas.dispatchEvent(new Event('blur'));

        expect(control.value).to.equal('signature.png');
    });
});

The fix is straightforward though, so maybe this is acceptable without a test? :shipit:

very dirty commits, so needs squash imo


Question/Feature Request: Root repo

Hey @Carapacik
Right now I m doing the follow
class RootRepo {
  final AuthRepo auth;
  const AppService({required this.auth});
}

final repositoryProvider = Provider<AppService>((ref) {
  final dio = ref.watch(dioProvider);
  return RootRepo(
    auth: AuthRepo(dio),
  );
});

I will have probably 20 repos like this as I migrate. And this is fine for most part. But it can be great if there is way to generate Root repo where are the other repo are initialised and automated as API changes.
What do you think?

I think this can be implemented, I also use the same interface to access different rest clients.
Maybe in version 1.0.0 we will do it.


fix automation rule guidance in multi-tenant setup

Re-wrote guidance regarding using automation rules in a multi-tenant setup, Please review as this is my first PR to docs

@javiersoriano : Thanks for your contribution! The author(s) have been notified to review your proposed change.

changes merged in another PR


document meaning of metrics in the admin UI

A lot of confusion around what replicas per range mean. We discussed a while back potentially having docs involved in editing "info" tags that explain different metrics in the admin UI.
@kuanluo

We have this issue: https://github.com/cockroachdb/cockroach/issues/13766. The same thing you're thinking, @dianasaur323?

Yes! Perfect - @jseldess I assume you have an issue open to document the admin UI outside of the actual UI as well? If so, we can close this issue out.

Duplicate of https://github.com/cockroachdb/docs/issues/384.


Best performing hyper-parameters and number of parameters

Dear Ivana,
thank you for great works [1,3,4] among many others. I was wondering whether one could find the best performing hyper parameters for Hyper along with the number of parameters of it.
I reckon that it would be beneficial for everyone if a table reporting best performing hyper parameters and respective number of model parameters  --including Hyper, MuRP and TuckER were available.
Cheers,
[1] Hypernetwork Knowledge Graph Embeddings
[2] Multi-relational Poincaré graph embeddings
[3] TuckER: Tensor Factorization for Knowledge Graph Completion

Hi Caglar, really sorry for the late response, I must have somehow missed this. Unfortunately I haven't had time lately to do this, but I will do it if I find some time.


feat: Generate migrate entry point if message defined on contract

LGTM, but I would like to see tests for that.
The easiest way to verify that it is working is to add in one of the tests something like:
use entry_points::{instantiate, execute, query, migrate, reply};

You would do that for a single test that emits entry points. I checked manually they are correctly generated, but adding the verification wouldn't hurt.

Agree, but I think better way is to create cw_multi_test::ContractWrapper. This way we will also check if structure of these entry points is correct.


/opt/conda/lib/python3.8/site-packages/thop/vision/basic_hooks.py:115: UserWarning: floordiv is deprecated, and its behavior will change in a future version of pytorch.

Running YOLOv5 in Docker image with torch 1.11.0 produces this thop warning. It appears to apply generally to all PyTorch models.
/opt/conda/lib/python3.8/site-packages/thop/vision/basic_hooks.py:115: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').

Hi @glenn-jocher ,thanks for notifiying me about this.
This is updated in https://github.com/Lyken17/pytorch-OpCounter/commit/66ec784fb0c53c7c71e291c6b7162d55d28c737e

@Lyken17 it's fixed! Thanks for the speedy response :)

Welcome :)  Love your yolov5 project.


⚠ Samsung has degraded performance

In c251377, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2460 ms

Resolved: Samsung performance has improved in 0603295.


@charset in _global necessary? Prevents scoped SASS

Hello, friends!
I am trying to scope/wrap up Materialize in a SASS class, as it conflicts with our own styling, and also fiddles with the HTML/Body tags.
The issue, however, is with the @charset declaration in components/_global.scss. SASS requires that @charset declarations be at the beginning of a SASS file, and cannot be wrapped in a class. I can work around the declaration in materialize.scss by not using this file and just including all the components I need myself, but not so with _global.
So this brings me to my question - is the @charset declaration in _global.scss necessary, since SASS defaults to UTF-8 anyways? Is it something I could submit a PR to remove? I see the commit that brought in this change that relates to Github Pages: https://github.com/Dogfalo/materialize/commit/0a827d0373c146e920cc107fa6dc412feac19d2c#diff-6e878a45e039655a0e04cc191d6b4db7R1

You are right, it isn't really necessary to have it in there.
Removed in 60131b3


README edits

Some suggestions and questions for the astro README. Would eventually love to get some of this info into an Airflow Guide or an Astronomer doc!

cc: @kentendanas


Raygun Cross platform error reporting tool updated in readme file

In the file dotnet-free-oss-services.md under the category of  Free Services & Tools for Open Source .NET Projects
Raygun Cross platform error reporting tool updated in readme file

@microsoft-github-policy-service agree

Sir @terrajobst as per your inference only one markup file maintained and managed in the Pull Request made.


ImportError: cannot import name 'DataFrame' from 'pandas'

At execution time my exe fails on from pandas import DataFrame. I can build and run a hello world example.

Nuitka version, full Python version and Platform (Windows, OSX, Linux ...)

0.6.7
Python: 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
Executable: C:\Users\lexxish\AppData\Local\Programs\Python\Python37\python3.exe
OS: Windows
Arch: x86_64

How did you install Nuitka and Python (pip, anaconda, deb, rpm, from source,
what is a virtualenv ...), this is very important usually.

Installed via pip3

This may have something to do with the recently released Pandas 1.0.0.
I managed to compile a script which used numpy and matplotlib (two plugins which are used by pandas), but failed when I imported pandas itself (version 1.0.0). Then I downgraded to pandas 0.25, which compiled correctly.
What is your version of pandas? Check by running the following:
import pandas as pd
print(pd.__version__)

This may have something to do with the recently released Pandas 1.0.0.
I managed to compile a script which used numpy and matplotlib (two plugins which are used by pandas), but failed when I imported pandas itself (version 1.0.0). Then I downgraded to pandas 0.25, which compiled correctly.
What is your version of pandas? Check by running the following:
import pandas as pd
print(pd.__version__)

Thank you for the suggestion. I was using pandas 1.0 and I tried with pandas 0.25.2, but same error. Any other ideas?

Can you try and make a minimal reproducer, so we can look at it? I don't want to spend time guessing what it takes.

Can you try and make a minimal reproducer, so we can look at it? I don't want to spend time guessing what it takes.

I tried running python3 -m nuitka --follow-imports --show-progress --enable-plugin=numpy test.py on
from pandas import DataFrame df = DataFrame({})
And got:
File "C:\Users\lexxish\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\__init__.py", line 34, in <module pandas>     raise ImportError( ImportError: C extension: 'hashtable' from 'pandas._libs' (C:\Users\lexxish\AppData\Local\Programs\Python\Python37\lib\site-packages\pandas\_libs\__init__.py) not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
I don't even have a setup.py - just a script. Do I need one?

No. That is probably another big that nuitka is affected by without hinted compilation. I will look into it later today

I believe this might be a duplicate of #616 which is a much better report.

I'm not sure if it is the exact same issue or not. But I realized that Nuitka doesn't seem to be able to package an exe to run on another computer which I need for my use case. Is that correct? https://github.com/Nuitka/Nuitka/issues/230

@lexxish - the trouble exists with the pandas 1.x version. You should be fine with the previous one: I have been successful using pandas 0.25.x.
I am currently trying to find a way compiling pandas 1.0.0 scripts, which is unfortunately not as easy as I had hoped.

Are you saying I would need to distribute a folder with multiple files to another computer rather than just a single .exe file?

Are you saying I would need to distribute a folder with multiple files to another computer rather than just a single .exe file?

Yes, absolutely! Provided that the compile was successful, and that a test execution of the resulting binary inside the dist folder was successful, too, you then can take that dist folder and distribute it to other machines. It can be executed there without any other prerequisites - i.e. no Python needs to be installed there ...
If you find this cumbersome, you can also wrap that folder in one big executable instead. On the target machine, this big exe will unpack itself under the hood into a temporary folder and then invoke the original binary ...


Update CODEOWNERS

Describe your change:

[x] Add an algorithm?
[ ] Fix a bug or typo in an existing algorithm?
[ ] Add or change doctests? -- Note: Please avoid changing both code and tests in a single pull request.
[ ] Documentation change?

Checklist:

[x] I have read CONTRIBUTING.md.
[x] This pull request is all my own work -- I have not plagiarized.
[x] I know that pull requests will not be merged if they fail the automated tests.
[x] This PR only changes one algorithm file.  To ease review, please open separate PRs for separate algorithms.
[x] All new Python files are placed inside an existing directory.
[ ] All filenames are in all lowercase characters with no spaces or dashes.
[x] All functions and variable names follow Python naming conventions.
[x] All function parameters and return values are annotated with Python type hints.
[x] All functions have doctests that pass the automated testing.
[x] All new algorithms include at least one URL that points to Wikipedia or another similar explanation.
[x] If this pull request resolves one or more open issues then the description above includes the issue number(s) with a closing keyword: "Fixes #ISSUE-NUMBER".

This project now seems pretty bland, and some code would lighten it up.


Delete unused static files

Addresses #6541
Delete that common/_static folder, which appears to be unused by the ASP.NET Core conceptual docs.

@scottaddie  it's not checking the build. Had to close/reopen another PR today

@scottaddie  now it's building.

@Rick-Anderson Looks like it didn't build because we hit our API rate limit. Hopefully this problem gets addressed now that we own GitHub.


Q Navigation Help & Chat

From the ? icon, a popup structure will appear

[x] create chat interface

[x] css: main.css
[ ] js: globals.mjs

[ ] endpoint: GET /help

[ ] packet definition: {  }

[ ] Replay Tutorial

Out of Scope

Search... moved to placeholder as #181 Concierge


CVE-2007-4559 Patch (IDFGH-8488)

Patching CVE-2007-4559
Hi, we are security researchers from the Advanced Research Center at Trellix. We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE-2007-4559 is a 15 year old bug in the Python tarfile package. By using extract() or extractall() on a tarfile object without sanitizing input, a maliciously crafted .tar file could perform a directory path traversal attack. We found at least one unsantized extractall() in your codebase and are providing a patch for you via pull request. The patch essentially checks to see if all tarfile members will be extracted safely and throws an exception otherwise. We encourage you to use this patch or your own solution to secure against CVE-2007-4559. Further technical information about the vulnerability can be found in this blog.
If you have further questions you may contact us through this projects lead researcher Kasimir Schulz.

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

Thank you for the contribution but unfortunately, we cannot accept it as is because the CLA has not been signed.
Moreover, the team judges that this is not a serious threat to us because the script is used only for internal purposes.


Add a split Landing page

I can make a landing page that is split into two halves but  on hovering one expands and the other one shrinks

@kheya19 show us the demo of the final project, if it will be good we will assign u

@kheya19 show us the demo of the final project, if it will be good we will assign u

Ok

@kheya19 any update?

@kheya19 any update?

Yes I have made it.

Did you raise the PR for the same?


Highlight git warnings

Fixes #5. 😎

Thanks @RishitKedia 🎉 !

I think I did see it in some other languages' files too, but I'm not sure as I can't seem to find it now. 😛
I made the decision to put this in /styles/base.less instead of /styles/languages/git.less because the 'One Dark' syntax theme implements it this way, so I thought those may be standardized selectors. 🙂
Are you planning to release this? It would be nice if you could release this soon. 🙏
Thanks, Carlos! 👍 🎉

It's released now, it works I think 🎉

Yes, it works now. Thanks! 👍 😃


add lock in libcontainerd client AddProcess

As in func AddProcess, the second line of code is defer clnt.unlock(containerID), before clnt.backend.AttachStreams(processFriendlyName, *iopipe), code has called clnt.unlock(containerID) in Line 101.
As a result, before return, we should lock again.
Please tell me if I missed something.
- What I did

add lock
fix some typos

- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: allencloud<EMAIL_ADDRESS>

/cc @mlaventure @tonistiigi @crosbymichael

LGTM, nice catch!

LGTM


Add Python build for Linux on ARM architecture

Summarize your change.
Add support for building wheels for Linux on ARM architecture.
This covers both ARM64 hardware running Linux directly, as well as Docker containers running under other operating systems, such as Docker on MacOS.
Our use case is to speed up installs of the package in Docker running on Apple M1 MacBooks.
See docs https://cibuildwheel.pypa.io/en/stable/faq/#emulation
Note there is a time penalty to building this wheel under emulation.

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

Project coverage is 81.61%. Comparing base (c0e97b0) to head (9dfa145).
Report is 22 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1795      +/-   ##
==========================================
- Coverage   84.11%   81.61%   -2.51%
==========================================
  Files         198      176      -22
  Lines       22241    12335    -9906
  Branches     4687     3023    -1664
==========================================
- Hits        18709    10067    -8642
+ Misses       2610     1731     -879
+ Partials      922      537     -385

Flag
Coverage Δ

py-unittests
81.61% <ø> (-2.51%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 67 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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

👍

This sounds like a good idea. @tomviner can you just double check that this PR doesn't conflict/overlap with this which just landed? https://github.com/AcademySoftwareFoundation/OpenTimelineIO/pull/1789

This sounds like a good idea. @tomviner can you just double check that this PR doesn't conflict/overlap with this which just landed? #1789

Good point. I've added some changes to take account of this.
Now we'll see just x86_64 and aarch64 (and not i686) getting built under the Ubuntu wheels.


[Cargo.lock] bump cc from 1.0.42 (broken) to 1.0.45 (fixed

Motivation
Bump cc version to 1.0.45. The one we picked recently (1.0.42) switched to using jobserver but
had problems in the way it handles tokens for handling parallelism.
This fixes our Docker and most Linux-based builds
Have you read the Contributing Guidelines on pull requests?
(y)
Test Plan
It builds!
Without hanging that is.
Leftovers
What I don't know is what's the difference between our docker build and Circle base image + build.

@bors-libra r+

:pushpin: Commit 4938082 has been approved by bmwill

:hourglass: Testing commit 493808230b94ea7a1a60f487b05a96ed3e379bc1 with merge 45d03d1a74124fcc093873aad94a8f34aa99ba90...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: bmwill
Pushing 45d03d1a74124fcc093873aad94a8f34aa99ba90 to master...


[Question] About Throwable StackTrace

at Main#main
Is it possible to print a full stack trace here?
This may hide some useful information.

Normally, JkException is to mention user error (e.g. deleting a file that does not exist)
Jeka should not print an intimidating stacktrace when such error happens.
However I can display stacktrace on JkException but only when verrbose mode (-LV ) is activated.
Does it fit your need ?

yep, all I need is this.

Brand new version of Jeka is available with great overall improvement. Have a look here https://jeka.dev/


BGDIINF_SB-2520: Added Ignore Missing Extra attribute feature

Now you can use any extra attribute in the message formatting without exception
if the extra attribute is missing in the log record.

Note this feature is required in order to use specific Flask request headers in the geoadmin services JSON logging.


Bug 2244426: check for existing CephBlockPool for given consumer/profile in StorageClassRequest

Prior to this, a new CephBlockPool would be created for every new StorageClassRequest. This change allows the reconciler to use an existing CephBlockPool if the StorageClassRequest is from the same StorageConsumer with the same StorageProfile.
Addresses BZ 2244426.
Signed-off-by: Jose A. Rivera<EMAIL_ADDRESS>

/bugzilla refresh

/bugzilla refresh

Updated to use a hash of the StorageProfile spec, since we don't support changing that information after initial creation of the CephBlockPool (even if the StorageProfile name changes or is removed).

Changes uploaded to address review comments. @nb-ohad @Madhu-1 PTAL.

/lgtm


Op:HashTableV2 Support on GPU

Click to expand!
Issue Type
Feature Request
Source
binary
Tensorflow Version
2.8.0
Custom Code
No
OS Platform and Distribution
No response
Mobile device
No response
Python version
3.8.0
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
When I try to force either IntegerLookups or StringLookups to happen on the GPU, the program errors out. The issue seems to be that the Op:HashTableV2 isn't supported on GPUs. Is it possible to support their implementation on GPUs? If not, is it possible to provide some pointers on how I could create a PR to support GPU implementation myself? Thanks! Please let me know if I can provide any additional information to clarify. Thanks!

Standalone code to reproduce the issue
import tensorflow as tf
tf.config.set_soft_device_placement(False)
tf.debugging.set_log_device_placement(True)
with tf.device('/GPU:0'):
    vocab = ["a", "b", "c", "d"]
    data = tf.constant([["a", "c", "d", "d"], ["d", "z", "b", "z"]])
    layer = tf.keras.layers.StringLookup(
        vocabulary=vocab, output_mode='count')
    layer(data)

import tensorflow as tf
tf.config.set_soft_device_placement(False)
tf.debugging.set_log_device_placement(True)
with tf.device('/GPU:0'):
    vocab = [12, 36, 1138, 42]
    data = tf.constant([[12, 1138, 42, 42],[42, 7, 36, 7]]) # Note OOV tokens
    layer = tf.keras.layers.IntegerLookup(vocabulary=vocab, output_mode='count')
    layer(data)

Relevant log output
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
  File "/home/jovyan/.local/lib/python3.8/site-packages/keras/layers/preprocessing/string_lookup.py", line 326, in __init__
    super(StringLookup, self).__init__(
  File "/home/jovyan/.local/lib/python3.8/site-packages/keras/layers/preprocessing/index_lookup.py", line 289, in __init__
    self.set_vocabulary(vocabulary, idf_weights)
  File "/home/jovyan/.local/lib/python3.8/site-packages/keras/layers/preprocessing/index_lookup.py", line 485, in set_vocabulary
    self.lookup_table = self._lookup_table_from_tokens(tokens)
  File "/home/jovyan/.local/lib/python3.8/site-packages/keras/layers/preprocessing/index_lookup.py", line 707, in _lookup_table_from_tokens
    return tf.lookup.StaticHashTable(initializer, self._default_value)
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/training/tracking/resource.py", line 104, in __call__
    return previous_getter(*args, **kwargs)
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/training/tracking/resource.py", line 99, in <lambda>
    previous_getter = lambda *a, **kw: default_resource_creator(None, *a, **kw)
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/training/tracking/resource.py", line 96, in default_resource_creator
    obj.__init__(*a, **kw)
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/ops/lookup_ops.py", line 348, in __init__
    super(StaticHashTable, self).__init__(default_value, initializer)
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/ops/lookup_ops.py", line 199, in __init__
    self._resource_handle = self._create_resource()
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/ops/lookup_ops.py", line 358, in _create_resource
    table_ref = gen_lookup_ops.hash_table_v2(
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/ops/gen_lookup_ops.py", line 466, in hash_table_v2
    _ops.raise_from_not_ok_status(e, name)
  File "/home/jovyan/.local/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 7186, in raise_from_not_ok_status
    raise core._status_to_exception(e) from None  # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: Could not satisfy device specification '/job:localhost/replica:0/task:0/device:GPU:0'. enable_soft_placement=0. Supported device types [CPU]. All available devices [/job:localhost/replica:0/task:0/device:GPU:0, /job:localhost/replica:0/task:0/device:CPU:0]. [Op:HashTableV2] name: hash_table

@nipun450,
I tried to execute the mentioned code in the alternative approach and was able to execute without any issue/error. Could you please find the gist of it here and check if it works in this case. Thank you!

Thanks for the prompt response! As seen in the notebook, the HashTableV2 and LookupTableFindV2 execute on the CPU. I wanted these to execute on the GPU instead, hence the feature request!

@sachinprasadhs I was able to replicate this issue on the GPU using TF v2.11, please find the gist here.
Thank you!

@sushreebarsa @sachinprasadhs
Is there an update on this? I'm also trying to figure whether we can run HashTableV2 on the GPU

@sushreebarsa @sachinprasadhs @tilakrayal
Any update on this? Can the LookupTableFindV2 and HashTableV2 be placed on the GPU now?

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Peer feedback

All core functionalities of to-do-list app implemented.

Removed all hardcoded items from the tasks array created in first project.
Created a new JavaScript file for the new functionality and use modular javascript approch.
Implemented a function for adding a new task (add a new element to the array).
Implemented a function for deleting a task (remove an element from the array).
Implemented a function for editing task descriptions.
By default new tasks acquire property completed set to false and the property index set to the value of the new array length.
Deleting a task, update all remaining items' indexes, so they represent the current list order and are unique(i.e. if you're deleting the first task index 1 from the list, the index of the next task(2) is set to 1)..
All changes to the To Do List are saved in local storage.

Final functionalities,

Added a new JavaScript file which contains methods related to the status updates (completed: true / false).
Added event listener to the checkbox (change).
Updated items object's value for completed key upon user actions.
Implemented a function for the "Clear all completed".
Stored the updated array of items in local storage, so the user gets the correct list of values after the page reloads (which means that any changes made to the list should be preserved).

@bilalrajput09
Your project is complete! There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights✅✅✅
Linters are properly setup and they are passing👍.
A new js file imported as a module has been created and it contains objects related to status update👍.
An event listener on the checkbox change has been created and the task object value for completed is updated upon action👍
A function on the clear completed button has been implemented using the array filter method👍.
Everything is saved properly to local storage👍.
Optional suggestions
[OPTIONAL] Your commit messages are descriptive👍 But we can make it better subsequently by ensureing the first letter of the message is capitalized as this gives it a more professional look😉👍 don't for get we learnt in this lesson that a good commit message should be capitalised😉
image
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

Thank you!!! 😍


Flutter web  TextOverflow.ellipsis

Chinese

Character

Japanese

I tried the stable, beta and master.

This seems to be similar to https://github.com/flutter/flutter/issues/90135, so please follow-up in it for further updates.
Closing this as a duplicate.


Removed Compact Refract

We will be adding this format back into formats folder once the serialisation guidelines for this has been  defined.

LGTM :+1:


test blas3 for SpMSpM crashes (Master Branch only)

clsparseCsrMetaSize() @ Line # 60 in the file sparse_matrix_environment.h should be commented or should be called at different location like in develop branch.

Fix present in develop branch, Merge is done. clSparseCsrMetaSize() functions are not needed and they can as well be commented out here for SpMxSpM.


Import from TeslaFI

Hello,
I just installed Teslamate on my Synology NAS. I am trying to import my data from TeslFI (10 months).
When I launch Teslafi, I can see my files but if I click on import nothing happens ... How do I know if the import is successful and when it will be finished ?
As nothing was happening, I clicked several times on import and now I have a small circle that turns around in front of each file, hence the same question: How to know if the import is done well and when it will be finished?
Thank's for your help
Daniel
PS: I connect from a Mac with Safari and Firefox, same problem on both.

There is a lot of status output in the terminal after you click import in the web UI. Have you looked at that @Titanium31 ?


Issue #SB-19202 Add Chat bot to portal service

Merging this PR as only the variables are added so we cannot write test case for the same


Fix internal arm vs arm64 labels

We are generating labels in here that appear as arm64/aarch64 even on the armv7 runners.
https://github.com/product-os/self-hosted-runners/blob/99dd48583cdfb7c94c641db7b155bf90fc301c1c/runner/balena.sh#L75-L76

One could argue that this is technically correct, because the "machine" this is running on is aarch64/arm64, but the software is told to lie and report a lower architecture. In either case, dpkq doesn't use the same system call, so it always reports the underlying hardware arch:
$ setarch linux32 dpkg --print-architecture
arm64


Add markdown editor

Summary
Replace react-quill with a simple Markdown editor for rich text editing. Benefits include a standardized way of rendering Markdown as HTML without us needing to render raw HTML generated by react-quill, and also because it would make the actual data in the backend much easier to read since we can just store in plaintext.
For example, nested bullets completely fail to render in react-quill

Testing
Create a new pages/test.tsx file and paste:
import React, { useState, useCallback } from "react";
import "easymde/dist/easymde.min.css";
import Markdown from "react-markdown";

// Import SimpleMDE
// cannot just do import SimpleMDE from "react-simplemde-editor";
// it will break with "navigator not defined"
// see https://github.com/dabit3/next.js-amplify-workshop/issues/21
import dynamic from "next/dynamic";
const SimpleMdeEditor = dynamic(() => import("react-simplemde-editor"), {
  ssr: false,
});

export const Test = () => {
  const [value, setValue] = useState("Initial value");

  const onChange = useCallback((value: string) => {
    setValue(value);
  }, []);

  return (
    <>
      <button onClick={() => console.log(value)}>click</button>
      <SimpleMdeEditor value={value} onChange={onChange} />
      <Markdown>{value}</Markdown>
    </>
  );
};

export default Test;

Notes
`

Will use in About.tsx and `EventForm.tsx

I agree but I've looked through a lot of different rich text editor and all of them are massive headaches to work with. react-quill is by far the easiest to work with but even then it is incredibly jank in actually rendering the text output. I've seen some straggling GitHub threads on converting react-quill output to markdown, but those are also very buggy. I think it should be intuitive enough because the toolbar still includes buttons for bolding, italicizing, etc.

I think it is alright to use this, although I will point out that there is a way to get the pure text in react-quill (without the HTML tags) but here the markdown syntax is included in the text.

I think it's fine if markdown is included since at most it'll just be **bold** or *italic*.

Also, if we intend to use this for description of events, will it be an issue in the future since event descriptions will be stored as markdown?

Nope, it should make event descriptions just as easy to render as the FAQ page. We'll replace the event description text box with another markdown editor component.

Ah , and I move the type declaration dependencies to devDependencies so that it is not bundled with the build for production environment, which means slimmer build files

Okay, sounds good.

I also found another markdown editor which might be better suited for our usecase called MDXEditor. It's WYSIWYG and also fully markdown compatible so checks all our boxes (cause I really want us to be able to render it in HTML with react-markdown, but I messed around with it and could not figure out how to get it working with Next.js server-side rendering.
If you're able to get it working, feel free to add it to this branch. Otherwise I would recommend just merging this for now since I do think either way we want to end up working with markdown.


:bug: fix(docs-beta): Fix broken links

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #133   👈

This comment was auto-generated by Graphite.


Small design improvement

Hi. I hope we should increase a size of typing cursor in theme's header section. Here is my solution:
Now:

After some css fixes:

What do you think?
PS. Also, please, check my pr regarding this issue/improvement.

The font size is fine on all my displays. Also, if you wanted to make the
text bigger, you should be using something like font-size:120% instead of
changing the font.
On Sun, Jan 17, 2016 at 7:42 AM Sergey Lysenko<EMAIL_ADDRESS>wrote:

Hi I hope we should increase a size of typing cursor in theme's header
section Here is my solution:
Now:
[image: screen-before]
https://camo.githubusercontent.com/d92025d187e9b0cdcc6cc3377c0e97417837541b/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f313936383039382f31323337373436332f32346464343538632d626432382d313165352d383930662d316464633633646331646231706e67
After some css fixes:
[image: screen-after]
https://camo.githubusercontent.com/6276a1e6fab0da53b3c5f02feb4852b089d89bf2/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f313936383039382f31323337373436372f34366630323039302d626432382d313165352d383433352d366462666362646238386265706e67
What do you think?
PS Also, please, check my pr regarding this issue/improvement
—
Reply to this email directly or view it on GitHub
https://github.com/PanosSakkos/personal-jekyll-theme/issues/141.

@njaremko really strange.. I checked demo site on latest Chrome, Safari, Opera and Firefox and have the same issue in all these browsers. Cursor is much smaller than quote text (typed text). I'm on OSX (maybe that is the reason). Also, I'm not sure if we should use font-size in percentage units - quote text has size in pixels - I just duplicated it for cursor (just made it a bit smaller - it looks much better in this way).

I will mark it temporarily as a discussion, until I steal some time within the week (or worst case the weekend) in order to decide what we want and fix it :wink:

I got the cursor in small as well (Safari and Chrome on OSX).
However, in my fork of your theme, I don't have that issue. Not sure if/what I edited when I forked.

@PanosSakkos sure! Take your time.
@wvierber you just set the same font-size for all the blocks/tags inside .intro .intro-body selector (line 214 in your grayscale.css) :wink:

The cursor is also pretty small with Chrome Version 47.0.2526.111 (64-bit).


chore: Move eslint and nyc config out of package.json

Fixes #16

Coverage remained the same at 100.0% when pulling 3c6319f317c41acd95feca85d2807c44a9e38d52 on chore/configs into 083828e3591299f096d1b25ecedbf200ec370f9a on master.


Set up CI

We should have some CI.
curve25519-dalek uses Travis, which is nice because if someone who also uses Travis forks the repo, the config carries over to their fork perfectly.
I'm happy to set up Travis if others don't mind, or to do something else if people would prefer a different CI.

👍


should add row_sparse_push for kvstore

hi, all, @eric-haibin-lin
I noticed that you have add a function for kvstore , named 'row_sparse_pull', why not to add a 'row_sparse_push'. it is very like my 'partial weight' which is in https://github.com/starimpact/mxnet_v0.8.0/blob/b8ba5a9c8b6d6b7876716a37fbc9284ecf55b920/python/mxnet/kvstore.py#L241
my partial weights can support distribution training.

The push method accepts row_sparse values already, but for pull it requires row id that's why row_sparse_pull was added.
On 2017年8月22日, at 19:40, Zhang Ming<EMAIL_ADDRESS>wrote:
hi, all,
I noticed that you have add a function for kvstore , named 'row_sparse_pull', why not to add a 'row_sparse_push'. it is very like my 'partial weight' which is in https://github.com/starimpact/mxnet_v0.8.0/blob/b8ba5a9c8b6d6b7876716a37fbc9284ecf55b920/python/mxnet/kvstore.py#L241
my partial weights can support distribution training.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Can not find where is the push() method which can support row_sparse in kvstore.py. where is it?

Thanks for pointing that out. The documentation for push() doesn't contain any example for rowsparse yet. The logics for rowsparse push is in the cpp backend https://github.com/apache/incubator-mxnet/blob/master/src/kvstore/kvstore_dist.h#L314
I'll update the documentation in the next PR.

Doc has been updated. closing this issue for now

where is it?

https://mxnet.incubator.apache.org/versions/master/api/python/kvstore/kvstore.html#mxnet.kvstore.KVStore.row_sparse_pull
and
https://mxnet.incubator.apache.org/versions/master/api/python/kvstore/kvstore.html#mxnet.kvstore.KVStore.push


Can't run with domain adaptation

When I set:
model_selection = 0
domain_aux = True
focal_loss = False
I get an error:
python3.7/site-packages/tensorflow/python/keras/engine/compile_utils.py:439 _get_metric_object
y_t_rank = len(y_t.shape.as_list())
AttributeError: 'tuple' object has no attribute 'shape'
Looks to me like validation_data=(LM_val, [y_val, y_val_domain]) isn't valid

Found the mistake. There is comment:
'''
0) ResNet with no freq split

ResNet with freq split (domain adaptation is not supported)
'''

but domain adaptation isn't supported for 0 not 1


Llvm dynamic

I'm not sure why the checkout failed for the PR, so I just pulled @trws branch here to test.

I have this open on my external monitor (which is mostly used for playing music) so I'll keep watch on it :P


FIX inserted correct information for OpenBCI

Incorrect information for OpenBCI variant, led to a double entry for "OpenScope" under board selection dropdown.

Thank you for pointing out this issue. We have updated the boards DB and fixed this issue.


[SPARK-14902][SQL] Expose RuntimeConfig in SparkSession

What changes were proposed in this pull request?
RuntimeConfig is the new user-facing API in 2.0 added in #11378. Until now, however, it's been dead code. This patch uses RuntimeConfig in SessionState and exposes that through the SparkSession.
How was this patch tested?
New test in SQLContextSuite.

Test build #56926 has started for PR 12669 at commit a4f2d3f.

Test build #56928 has started for PR 12669 at commit 578e519.

Test build #56937 has started for PR 12669 at commit 7726e4b.

Test build #2876 has started for PR 12669 at commit 6bbd02d.

Test build #2877 has started for PR 12669 at commit 6bbd02d.

Test build #56939 has started for PR 12669 at commit 6bbd02d.

Test build #56926 has finished for PR 12669 at commit a4f2d3f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class RuntimeConfig extends Serializable

Merged build finished. Test PASSed.

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

Test build #56928 has finished for PR 12669 at commit 578e519.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
 class NaiveBayesWrapperWriter(instance: NaiveBayesWrapper) extends MLWriter
 class NaiveBayesWrapperReader extends MLReader[NaiveBayesWrapper]

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

Merged build finished. Test PASSed.

Test build #2877 has finished for PR 12669 at commit 6bbd02d.

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

Test build #2876 has finished for PR 12669 at commit 6bbd02d.

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

Test build #56937 has finished for PR 12669 at commit 7726e4b.

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

Merged build finished. Test PASSed.

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

Test build #56939 has finished for PR 12669 at commit 6bbd02d.

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

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

Merged build finished. Test PASSed.

LGTM - merging in master.


Import fails with timeout error

Hi,
I am trying to import a process from one organisation to another. The export works fine, however the import fails with the below error message.
Exception message:connect ETIMEDOUT <IP_ADDRESS>:443 Call stack:Error: connect ETIMEDOUT <IP_ADDRESS>:443     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1117:14)
The failure happens during the middle of the import process. Therefore, the process gets created in the target org but not 100% complete since the import got timed out.
If i delete the process in the target org and do a re-import, it again fails during the middle of the import process due to the timeout error. There is no specific pattern to determine when it times out. Sometimes it imports approx 80% of the process, sometimes 60% and sometimes 50% and times out.

Just checking if anyone got a chance to review this issue. Let me know if any log files are required.

Is this error resolved? i am getting the same issue. following is the error message
Exception message:connect ETIMEDOUT <IP_ADDRESS>:443
Call stack:Error: connect ETIMEDOUT <IP_ADDRESS>:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
[ERROR] [2020-11-20T13:13:55.138Z] Import failed, see log file for details. Create field 'XXXXX' failed, see log for details.

I have a similar error but with slightly different error. Also, export works fine, but during import, I receive the following message always, no matter how often I try:
[VERBOSE] [2021-02-01T13:03:46.865Z] Begin step 'Import work item types on target process'.
[VERBOSE] [2021-02-01T13:04:25.867Z] Exception message:read ETIMEDOUT
Call stack:Error: read ETIMEDOUT
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:211:20)
[ERROR] [2021-02-01T13:04:25.867Z] Import failed, see log file for details. Failed to create work item type 'MoE.Epic, see logs for details.

It seems I have same issue here.
[VERBOSE] [2022-07-04T05:41:20.108Z] Exception message:connect ETIMEDOUT <IP_ADDRESS>:443
Call stack:Error: connect ETIMEDOUT <IP_ADDRESS>:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16)
[ERROR] [2022-07-04T05:41:20.109Z] Import failed, see log file for details. Failed to edit HTML control 'System.Description in group'Agile.Issue.Issue.Description.WideGroup' in page 'Agile.Issue.Issue', see logs for details.

same issue,can someone please help on this?

We will release an update addressing previous problems. For new issues, create a ticket, and we'll resolve it promptly. Thank you for you.

That ruins the 4-year-anniversary 😅


Enyo 2171 Add tabindex for Item to prevent accessibility timing issue

Issue
screen reader sometimes does not read child component's content when Item is focused.
Cause
Item may have components as child. However, Sometimes screen reader does not read child component's content because time to receive tabindex is late than child.
To prevent this timing issue, I add tabindex to Item.
Fix
Add tabindex in ariaObservers.
Enyo-DCO-1.1-Signed-off-by: Bongsub Kim<EMAIL_ADDRESS>

I will re-create PR with latest code.


Unhelpful error when missing a type constructor in an if branch

Compiling this snippet using elm-make
type LostCause = Activity | Nerves

type GameState = Running | Lost LostCause

modifyState : GameState -> GameState
modifyState state =
                         --The error is below: "Lost" is missing an argument (should be "Lost Activity")
          if not (state == Lost) then Running
          else state

Gives this error:
-- TYPE MISMATCH ------------------------------------------------

The branches of this `if` produce different types of values.

8|>          if not (state == Lost) then Running
9|>          else state

The `then` branch has type:

    GameState

But the `else` branch is:

    LostCause -> GameState

Hint: These need to match so that no matter which branch we take, we always get
back the same type of value.

Which is confusing -
a) the type of the else branch is obviously GameState
b) the problem is not in the values of the if statement but actually in the condition not (state == Lost) which misses an argument and should read not (state == Lost Activity) - took me a while to figure this one out (I had a much larger if statement)...

Here's what I am seeing with the latest version of the 0.18 alpha on my machine:

So this should be nicer in the next release. Thanks for the report!


atuin doesn't listen to "sync_address" option

Hi,
I searched previous issues but couldn't find anyone else experiencing this problem so not sure where I am going wrong.

I installed atuin on my mac using homebrew
registered a user account against the default server and ran sync successfully
I have since setup my own self-hosted server and set "sync_address =" in ~/.config/atuin/config.toml

When I attempt to run the register command I am told the user already exists (same user as I registered with https://api.atuin.sh/), I checked my local instance and there are 0 users. atuin doesn't appear to be acknowledging that I have set sync_address.
Error: username already in use

cat config.toml
dialect = "uk"
auto_sync = true
sync_frequency = "5m"
sync_address = "https://atuin.example"

atuin=# select * from users;
 id | username | email | password | created_at
----+----------+-------+----------+------------
(0 rows)

Closing this issue as the problem was with my local setup (reverse proxy auth getting in the way)


Disabling diagnostic message reporting for a couple of known scenarios

Did you check in .js/.js.map files by mistake?

:Shipit: after removing js/d.ts/jsmaps


Theme doesn't seems so colorful as the repo screenshot

i don't know if i need to activate a specific config on helix or if it is my terminal emulator, but catppuccin seems less colorful than the neovim version and this repo screenshots.
Helix (wezterm) - catppuccin frappé

Neovim (wezterm) - cappuccino frappé

hey, sorry for the delay on this. that is a lot of blue!
i've just made a small highlight change in #41 that i think really helps the legibility in elixir. let me know your thoughts! there may be other changes i can make to improve it further, but i want to chat with the others first to get consistency between neovim & vscode before bringing them into helix too.
thanks for raising this!

Thanks! there are some possible future increments that can be made specifically to Elixir (maybe Ruby and Clojure too) to use a different color for atoms (keywords or symbols) and so on.
it'll be awesome to see an improvement to this theme, that is my favourites one. 🐱💜

we're currently improving our style guide and just yesterday, coincidentally, we were deciding on a standard for atoms/symbols. expect to see that soon!


Tokenize init successfully but suggestion not showing?

I can see that tokenize inited without error. But I don't know why suggestion not showing when I type. I noticed there was some changes in DOM.

Is there any binding event when user's typing? If so I can debug from there, now I have no clue. Thank you.

Hi you can use the events below:

tokenize:keypress
tokenize:keydown
tokenize:keyup

Do you have any example code how to implement those events? Thanks.

@eliluong this is sample code from Tokenize 2 config docs
$('.tokenize-source-demo-3').tokenize2({
    dataSource: function(search){
        var $this = $('.tokenize-source-demo-3').data('tokenize2');
        $.ajax('remote.php', {
            data: { search: search, start: 0 },
            dataType: 'json',
            success: function(data){
                var $items = [];
                $.each(data, function(k, v){
                    $items.push(v);
                });
                $this.trigger('tokenize:dropdown:fill', [$items]);
            }
        });
    }
});

Btw @zellerda i fixed the problem. It's not Tokenize2 bug, it's mine.


Explicitly time-step w instead of recomputing it from continuity?

Found out int PR #336 that we can explicitly time-step w which will be nice as it'll work for simulations without a rigid lid.
All tests passed when I made the change so should be a quick change.

Few comments here:

I sent an email to Ali (@ali-ramadhan) and Chris (@christophernhill) on Apr 02 2019,
and Ali opened issue #161 the same day and included a copy of my email content in it.
So, "originally" w was stepped forward, not the other way.
do we currently have a good Float32 test ?
machine truncation error in solver when we switch to variable vertical resolution ?
I disagree with the last point, recomputing w from continuity is fine with free surface
and with flow through the bottom (cf, MITgcm). In fact, it might be even more useful
with a non-linear free-surface since, in this case, some linearization is needed when
solving for pressure.

On Wed, Aug 07, 2019 at 05:16:43AM -0700, Gregory L. Wagner wrote:

We originally did the recompilation of w from continuity partly because we thought this may prevent an accumulation of error that could otherwise occur, and partly because @sandreza convinced us this was more correct. But I would argue that because we haven't done model verification we aren't sure whether this is correct or not.
Another issue, or annoyance, with recomputing w from continuity is that it is only valid in the case of rigid lids on top and bottom.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/climate-machine/Oceananigans.jl/pull/336#issuecomment-519070915

Originally posted by @jm-c in https://github.com/climate-machine/Oceananigans.jl/pull/336#issuecomment-519120749

do we currently have a good Float32 test ?

We have quite a few. Generally stuff works in Float32 but of course everything is less precise as expected. It might hurt us in some places. In particular, the only really bad one is tracer conservation in a channel model is much worse in Float32 than Float64 (both remain ~constant in time last time I checked).
Some results from the tests:
  Testing recomputing w from continuity...
[ Info: Velocity divergence after recomputing w (CPU(), Float32): min=-2.3841858e-7, max=-2.3841858e-7, sum=-4.7683716e-7, abs_sum=4.720688e-5
[ Info: Velocity divergence after recomputing w (CPU(), Float64): min=-4.440892098500626e-16, max=-4.440892098500626e-16, sum=-3.552713678800501e-15, abs_sum=1.0613732115416497e-13
[ Info: Velocity divergence after recomputing w (GPU(), Float32): min=-2.3841858e-7, max=-2.3841858e-7, sum=2.026558e-6, abs_sum=4.5895576e-5
[ Info: Velocity divergence after recomputing w (GPU(), Float64): min=-4.440892098500626e-16, max=-4.440892098500626e-16, sum=1.7763568394002505e-15, abs_sum=1.2656542480726785e-13

[ Info: Velocity divergence after 1 time steps (CPU(), Float32): min=-3.5675463e-11, max=-3.5675463e-11, sum=-2.9740932e-12, abs_sum=6.9117574e-9
[ Info: Velocity divergence after 10 time steps (CPU(), Float32): min=-3.143441e-11, max=-3.143441e-11, sum=-5.0689453e-12, abs_sum=9.463426e-9
[ Info: Velocity divergence after 100 time steps (CPU(), Float32): min=-6.3892e-11, max=-6.3892e-11, sum=-1.127638e-10, abs_sum=4.6969774e-8
[ Info: Velocity divergence after 1 time steps (CPU(), Float64): min=-7.686559298536759e-19, max=-7.686559298536759e-19, sum=-1.2421179146024245e-21, abs_sum=1.5105296988410314e-16
[ Info: Velocity divergence after 10 time steps (CPU(), Float64): min=-9.020900888258299e-19, max=-9.020900888258299e-19, sum=5.79061971704065e-22, abs_sum=1.6794563169636008e-16
[ Info: Velocity divergence after 100 time steps (CPU(), Float64): min=-8.859964628279982e-19, max=-8.859964628279982e-19, sum=2.3878439877479045e-19, abs_sum=2.3371755428721667e-16
[ Info: Velocity divergence after 1 time steps (GPU(), Float32): min=-3.5742964e-11, max=-3.5742964e-11, sum=-3.127748e-12, abs_sum=6.8964283e-9
[ Info: Velocity divergence after 10 time steps (GPU(), Float32): min=-4.984102e-11, max=-4.984102e-11, sum=-4.652792e-12, abs_sum=9.790147e-9
[ Info: Velocity divergence after 100 time steps (GPU(), Float32): min=-5.684342e-11, max=-5.684342e-11, sum=2.8093305e-11, abs_sum=4.5857547e-8
[ Info: Velocity divergence after 1 time steps (GPU(), Float64): min=-7.321110903910831e-19, max=-7.321110903910831e-19, sum=-1.805321686896983e-22, abs_sum=1.5813009122639161e-16
[ Info: Velocity divergence after 10 time steps (GPU(), Float64): min=-9.399948132154598e-19, max=-9.399948132154598e-19, sum=-2.2989927699914332e-20, abs_sum=1.8113055478312138e-16
[ Info: Velocity divergence after 100 time steps (GPU(), Float64): min=-8.080694316806025e-19, max=-8.080694316806025e-19, sum=-2.2046007346005637e-19, abs_sum=2.3631237375347637e-16

  Testing tracer conservation in channel...
[ Info: Tracer conservation after 10 time steps (CPU(), Float32): ⟨T⟩-T₀=-0.001209259 °C
[ Info: Tracer conservation after 10 time steps (CPU(), Float64): ⟨T⟩-T₀=6.750155989720952e-14 °C
[ Info: Tracer conservation after 10 time steps (GPU(), Float32): ⟨T⟩-T₀=-0.0012111664 °C
[ Info: Tracer conservation after 10 time steps (GPU(), Float64): ⟨T⟩-T₀=1.5987211554602254e-13 °C

How can we address this? I would prefer that we time-step w, but I think changing the algorithm causes tests to fail. Should we open a branch to test?

At some point I actually switched to time-stepping w and all the tests actually passed: https://github.com/climate-machine/Oceananigans.jl/pull/336#issuecomment-518876660
We originally time-stepped w explicitly until @jm-c suggested we recompute w from continuity, so might be good to check with him before making any changes. It's possible we may want to stick with this for now, in which case the issue should be closed.

Bumping this issue following discussion with @glwagner and PR #666.


Updating stable security source

Releasing new Host versions.
V3 Release
V2 Release

PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made and CI is passing.

You do realise that python-3.10 image and similar just changed it's debian version from bullseye to bookworm? It's a matter of time that problem will come back. You should also update the from image to match.


You have not accepted the license agreements of ConstraintLayout for Android 1.0.2

使用Travis CI给Android项目部署时的license错误
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
  [ConstraintLayout for Android 1.0.2, Solver for ConstraintLayout 1.0.2].
  Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.

您尚未接受以下SDK组件的许可协议：[ConstraintLayout for Android 1.0.2，Solver for ConstraintLayout 1.0.2]。在构建项目之前，您需要接受许可协议，并使用Android Studio SDK Manager完成缺少组件的安装。

直接添加如下内容到.travis.yml中
before_install:
  - mkdir "$ANDROID_HOME/licenses" || true
  - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
  - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"

见：
android - Travis CI failed because cannot accept license Constrain Layout - Stack Overflow
Accept ConstraintLayout licenses · Issue #6617 · travis-ci/travis-ci 也可参考该issue下的提交。


Equalizer, Bass Boost and Surround Sound Support

i've already considered implementing this but due to the existing solutions that are better in every way i deem this unnecessary.
for example you can use voicemeter banana: https://vb-audio.com/Voicemeeter/banana.htm


Add support for components in CloudProviderSnapshotRestoreJob

Description
Adds the Components array to the struct CloudProviderSnapshotRestoreJob.
Link to any related issue(s): #171
Type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Required Checklist:

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

@Stovoy thank you for this submission!  Noting that I've already verified you've signed the CLA.  Standby for the approvals.

@Stovoy thank you for this submission!  Noting that I've already verified you've signed the CLA.  Standby for the approvals.


Add functionality to UIView+Spec to determine visibility of UIViews.

Any obstruction, or height, width set to zero will cause this to return NO.
Authored by: @pivotal-ryan-mcleod

Thanks so much for the pull request @xtreme-andy-shen!


⚠ Roblox Devforum has degraded performance

In f0cdfd2, Roblox Devforum (https://devforum.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 8549 ms

Resolved: Roblox Devforum performance has improved in c35496e after 37 minutes.


fix(web): typo

web-mode-attribute-transpose should be bind to SPC m a t, instead of SPC m a p

Good catch. Thanks for your help!


Make filter_tracebacks a flag on the Synchronizer constructor

Unfortunately it doesn't work for contextlib (yet)

something is messed up, restarting


A question about the Collection interfaces

I see there are a lot of common methods defined in List/Set/Queue/Array/... and wondering why there is no a common interface to abstract the common methods to make the interfaces more concise/consistent?

There are common interfaces LinearSeq and IndexedSeq - and on top of them Seq and Traversable.
Which methods do you mean for example?

For example, filter/map/flatMap/distinct/top/... Can these methods be defined/implemented in a basic abstract class? or move them to a separated interface, like Steam API to Collection in java.util?

We have already package-private classes for that purpose in io.vavr.collection, e.g. Collections, Maps, Multimaps, Comparators, AbstractMultimap and AbstractQueue. But I think there is potential to further simplify things.
However, please note that there is a JDK bug, that prevents us from using method references when we use package-private abstract classes. See #1326

I will close this ticket. Improvements are ongoing progress.

Ok, thanks


Error: write EPIPE

I have a database in my local mongo called admin and it has a collection called system.version. I don't know where it came from unfortunately. I don't see the system.version collection in compass:

In VS Code, it looks like this (with errors):

When I click on the system.version node, I get prompted to enter the path to mongo shell in the Command Palette I put in the following:
c:\program files\mongodb\server\3.4\bin
which creates the following setting:
"mongo.shell.path": "C:\\Program Files\\MongoDB\\Server\\3.4\\bin"

When I click on the system.version node in the explorer, I get two errors:
Timed out executing use admin
Error: write EPIPE
So there are two issues here:

I don't know if I'm supposed to put in the folder where mongo.exe is, or the full path to mongo.exe. I did just the path and ran into problem 2
Provide a friendly error message if the path is wrong

I'm getting this error too after setting up the path, which is:
"mongo.shell.path": "D:\\MongoDB\\Server\\3.4\\bin"
what to do?

@chrisdias @DesignMitZweiS
"mongo.shell.path": "D:\MongoDB\Server\3.4\bin\mongo.exe"  or "D:/MongoDB/Server/3.4/bin/mongo.exe"

I am closing this issue because this version of the extension is no longer supported.
If you have not already done so, please switch to using the new version of this extension here: https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb.
Note that we've made improvements in error handling and other areas in the scrapbook, so please give it a try and let us know if there are problems.
Thanks!
Stephen


papernach doc correction

Doc reference : https://razorpay.com/docs/api/payments/recurring-payments/paper-nach/create-authorization-transaction/

@sofiya02
Create an Order - token missing in response
i have updated the request params & response also here


Rotate90() makes image to loose quality

I'm working with JPEG file.
I've noticed that every time I rotate the image, there's an incremental loss in the image quality.
Original:

20 times rotated:

Is there a way to avoid this?

JPEG is a lossy image file format so each time the image is saved the quality decreases.
Most of the times you need to process an image once: load the image from file -> do all the image manipulations -> save the image to file.
If you really need to open and save the same image multiple times, consider using a lossless image format, e.g. PNG.

I've tried converting the intial image to PNG,
	img, err := jpeg.Decode(bytes.NewReader(imageBytes))
	if err != nil {
		return nil, errors.Wrap(err, "no se pudo leer jpeg")
	}

	buf := new(bytes.Buffer)
	if err := png.Encode(buf, img); err != nil {
		return nil, errors.Wrap(err, "no se pudo leer png")
	}

	png := buf.Bytes()

Size increased 7 fold, but got the same quality loss after the processing... Am I missing something?

I want to help, but I need more information. The code you provided decodes the jpeg image and encodes it as png. It does not do any image manipulations. Normally it should not decrease the image quality.
Could you please provide a complete code example and the input image you use, so I can reproduce your results?
For example, here's the code that opens, rotates and saves the same png image 20 times. I ran it several times and I don't see any quality loss.
package main

import (
	"log"

	"github.com/disintegration/imaging"
)

func main() {
	for i := 0; i < 20; i++ {
		img, err := imaging.Open("test.png")
		if err != nil {
			log.Fatal(err)
		}

		img = imaging.Rotate90(img)

		err = imaging.Save(img, "test.png")
		if err != nil {
			log.Fatal(err)
		}
	}
}

before:

after:

@disintegration
I have a rotation requirement as well.  I have noticed degradation when rotating JPG images.
Using your code.  I rotated 2000 times here's my result.
Original:

Rotated 2000 times:

Seems fine for png though.
My use case is for a DAM.  I'd rather not have to convert files from jpg to png and back again just to rotate.
Any ideas?
Thanks

Tested with ImageMagick and the result is the same with jpg files.  png absolutely no problem
I thought it was an issue until I did some googling:
https://stackoverflow.com/questions/543402/can-a-jpeg-compressed-image-be-rotated-without-a-loss-in-quality
Came across jpegtran and did the same test with 2000 rotations:
http://manpages.ubuntu.com/manpages/trusty/man1/jpegtran.1.html
Had no problem with the results.
I found this: https://github.com/nickalie/go-mozjpegbin which is a wrapper for jpegtran command line tool.
Will try it later on and edit my answer.
Hope this helps.

@paulm17
Thank you for the information! Looks like jpegtran is a great tool that can be used to apply simple transformations to JPEG files directly in a lossless way.
Another possible solution is to set the EXIF orientation tag in a JPEG file. It specifies the transformation needed to display the image correctly. It also requires some kind of tool or library that allows to change EXIF metadata.

I had a bug in my code... I was storing it as JPEG.
It works great with PNG!

Glad to hear that!


CommandError unknown command 'to_ary'

Failure/Error: puts $redis

     Redis::CommandError:
       ERR unknown command 'to_ary'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/fakeredis-0.6.0/lib/fakeredis/command_executor.rb:12:in `write'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:257:in `block in write'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:236:in `io'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:255:in `write'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:214:in `block (3 levels) in process'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:208:in `each'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:208:in `block (2 levels) in process'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:353:in `ensure_connected'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:207:in `block in process'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:292:in `logging'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/bundler/gems/db_stats-903b8106a501/lib/db_stats/connectors/redis.rb:7:in `block in <class:Client>'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:206:in `process'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis/client.rb:112:in `call'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/newrelic-redis-2.0.2/lib/newrelic_redis/instrumentation.rb:36:in `block in call_with_newrelic_trace'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/newrelic_rpm-<IP_ADDRESS>1/lib/new_relic/agent/datastores.rb:111:in `wrap'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/newrelic-redis-2.0.2/lib/newrelic_redis/instrumentation.rb:35:in `call_with_newrelic_trace'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis.rb:2556:in `block in method_missing'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis.rb:37:in `block in synchronize'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis.rb:37:in `synchronize'
     # /Users/omer.katz/.rvm/gems/ruby-2.2.0@fiverr_v2/gems/redis-3.2.1/lib/redis.rb:2555:in `method_missing'
     # ./spec/models/order_spec.rb:15:in `puts'
     # ./spec/models/order_spec.rb:15:in `puts'
     # ./spec/models/order_spec.rb:15:in `block (3 levels) in <top (required)>'

Any idea why is this happening?

@thedrow are you still seeing this issue please?

I no longer have access to the code that reproduced this issue.

I am receiving this error

What is this
Sent from Yahoo Mail for iPhone
On Thursday, May 28, 2020, 7:58 AM, Satya Narayana Murthy Kota<EMAIL_ADDRESS>wrote:
I am receiving this error
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I am running rspec test locally. So, I receive the below error:
Redis::CommandError:
TestRun_1   |        ERR unknown command 'to_ary'
TestRun_1   |      # /usr/local/bundle/gems/fakeredis-0.6.0/lib/fakeredis/command_executor.rb:12:in write'                               TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:271:in block in write'
TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:250:in io'                                                   TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:269:in write'
TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:228:in block (3 levels) in process'                          TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:222:in each'
TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:222:in block (2 levels) in process'                          TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:367:in ensure_connected'
TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:221:in block in process'                                     TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:306:in logging'
TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:220:in process'                                              TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:120:in call'
TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:2705:in block in method_missing'                                    TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:58:in block in synchronize'
TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:58:in synchronize'                                                  TestRun_1   |      # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:2704:in method_missing'
TestRun_1   |      # ./app/workers/instagram_collector.rb:62:in for_campaign'                                                            TestRun_1   |      # ./spec/workers/instagram_collector_spec.rb:311:in block (4 levels) in <top (required)>'

Who is this and what is this
Sent from Yahoo Mail for iPhone
On Thursday, May 28, 2020, 9:55 AM, Satya Narayana Murthy Kota<EMAIL_ADDRESS>wrote:
I am running rspec test locally. So, I receive the below error:
Redis::CommandError:
TestRun_1 | ERR unknown command 'to_ary'
TestRun_1 | # /usr/local/bundle/gems/fakeredis-0.6.0/lib/fakeredis/command_executor.rb:12:in write' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:271:in block in write'
TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:250:in io' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:269:in write'
TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:228:in block (3 levels) in process' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:222:in each'
TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:222:in block (2 levels) in process' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:367:in ensure_connected'
TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:221:in block in process' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:306:in logging'
TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:220:in process' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis/client.rb:120:in call'
TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:2705:in block in method_missing' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:58:in block in synchronize'
TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:58:in synchronize' TestRun_1 | # /usr/local/bundle/gems/redis-3.3.3/lib/redis.rb:2704:in method_missing'
TestRun_1 | # ./app/workers/instagram_collector.rb:62:in for_campaign' TestRun_1 | # ./spec/workers/instagram_collector_spec.rb:311:in block (4 levels) in <top (required)>'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Update chat client

Great, I believe it registers now + will use these funtions! ty!
Could you help me understand the next steps? Not sure to do the next step.
https://user-images.githubusercontent.com/45455218/221642422-244f3b0a-e63a-40a8-86ea-fdef1878d0a7.mov


Is Attribute macros supported ?

I used this crate and liked it,
It work great for derive  macro, But does it support Attribute macros ?
I read full documentation, Did I missed something, Or this library support this macro ?
Is there any utility library that parse?  function arguments and name, return types, where clause etc... for Attribute macros?

Thanks for trying out virtue, I'm glad you like it!
I haven't gotten around to implementing attribute macros yet. If anyone wants to create a PR for this I'd be happy to merge it. I expect I'll add it at some point but I don't know when yet.
Currently the parser can only handle parsing struct and enum definitions. All code is contained in the parse folder.


[README] Need to Update aminos 🇮🇳

Suggested changes:
Need to update my user profile image at README.md :slightly_smiling_face:
Previous issue #499

Hey take a screenshot of your profile and upload it in the issue. Copy the url and add other details in data.json file

@schmelto : I think that's ready to take it over your end! :rocket:


Configuration Versions "Apply these settings" button not working

The "Apply these settings" button was not working for me, instead browser redirected to "http://[marathon.host]/v2/apps//myAppName" with a response of '{"message":null}'.
Looks like submit button event is not caught by javascript. Changing the "isfunction" to "isFunction" fixes the issue for me

Thank you!


sink the ship

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
In this game we create the array which is filled with 0or 1 and for the user it is showing in the star format if the user correct  the guess than its chances will not be deducted but if not than the chances are deducted

Please don't raise issue to solve leetcode, gfg or hackerrank questions


Add more unit tests for Set.

Codecov Report

Merging #5 into master will increase coverage by 4.61%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master       #5      +/-   ##
============================================
+ Coverage     77.53%   82.15%   +4.61%
- Complexity      160      178      +18
============================================
  Files             6        6
  Lines           650      650
  Branches         32       32
============================================
+ Hits            504      534      +30
+ Misses          142      110      -32
- Partials          4        6       +2

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/swaydb/memory/Set.java
82.4% <100%> (+12%)
35 <0> (+9)
:arrow_up:

src/main/java/swaydb/persistent/Set.java
76.1% <100%> (+9.43%)
35 <0> (+9)
:arrow_up:

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 ecc3086...20d63dd. Read the comment docs.


Create a simple AJAX engine

That will serve the purpose of getting data not from functions but by a given URI.

It was proposed to use fetch.


FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config' on CI

Please make sure these conditions are met

[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of anndata.
[X] (optional) I have confirmed this bug exists on the master branch of anndata.

Report
See: https://dev.azure.com/scverse/anndata/_build/results?buildId=6102&view=logs&j=3fc1c72d-f68c-5e9d-d0cf-b19bf30ca145&t=01d1bbda-b509-5b15-e986-0308bd93e634&l=53
from https://github.com/scverse/anndata/pull/1432
Versions
N/A

This one turned out to be installing a too-old version of llvm-lite, right?

Yes we can close.  Fixed by #1435 although I am still not clear what happened.  Embrace the mystery, I guess


invalid byte sequence in UTF-8

Hi,
I use paperclip and got errors when upload specific video files,
     ArgumentError:
       invalid byte sequence in UTF-8
     # /Users/emn178/.rvm/gems/ruby-2.2.2/gems/av-0.9.0/lib/av/commands/base.rb:98:in `split'
     # /Users/emn178/.rvm/gems/ruby-2.2.2/gems/av-0.9.0/lib/av/commands/base.rb:98:in `identify'
     # /Users/emn178/.rvm/gems/ruby-2.2.2/gems/av-0.9.0/lib/av/cli.rb:19:in `method_missing'
     # /Users/emn178/.rvm/gems/ruby-2.2.2/gems/paperclip-av-transcoder-0.6.4/lib/paperclip/paperclip_processors/transcoder.rb:15:in `initialize'
...

The command it ran is:
[AV] Running command: ffmpeg -i "/var/folders/9f/sv32jzv53451kysr4v8l6jf40000gn/T/d35f70211135de265bc7c66df4dd360520150905-36894-k4jbwc.mp4" 2>&1

I ran command in terminal manually and got something liket this:
...
  Duration: 01:25:18.69, start: 0.000000, bitrate: 236 kb/s
    Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 31 kb/s (default)
    Metadata:
      creation_time   : 2015-04-20 22:42:29
      handler_name    : Apple Ánµ´CÅé³B²z¾¹
...

There are something encoding issues and cause uploading failed.
Please help to fixed this problem.
Thank and best regards.

Hi,
I found this problem has been solved in master branch.
So I will use master before you release new version.
gem 'av', :git => 'https://github.com/ruby-av/av.git'


add language server support

Adding language server hooks and code

Working on the add-language-support branch

Added basic code completion (events and action names will come up as a suggestion, but there does need to be more work on the extraction of symbols and identifiers. The current scheme only works in the current file. I think it might be possible to reuse the textmate grammar in this to populate parts of the process. Otherwise I think an external json file might be required.
Additionally I suspect we will need to rewrite some of this as it will provide some common methods shared between the providers we may need (show all instances, goto definitions etc...)

Accidentally committed to master without a pull request - sorry Richard :( - I forgot to change to my branch

Needs a persistent structure that gets updated - this would then allow the actual suggestions for completion to be given with context potentially if we built a tree of identifiers (I.e "test.l" might give different suggestions to just "l" )

With the innovation week work we now have the basics of this using the "eplbuddy" application - there will be many further enhancements to this facility in the future.


WMCore/Configuration.py - sys.version_info compatible with py2.6

Fixes #9896
Status
Ready
Description
Backport the check of python interpreter version in WMCore/Configuration.py in branch 1.3.6_crab as requested by @belforte and @amaltaro , as already done in this commit of PR #9839 for dmwm/WMCore branch master.
Is it backward compatible (if not, which system it affects?)
yes
Related PRs
Backport of #9839
External dependencies / deployment changes
No change in external dependencies

@belforte 1.3.6.crab2 tag has been created.


Ensure slots are only added to update form if they are defined in the class

Fixed in https://github.com/feenkcom/gt4pharo/commit/a47dc031cfd7f9435d6f9dea0cc448bd4d71685f


[Python] Expose new FLOAT16 logical type in the pyarrow.parquet bindings

Reading and writing data with a float16 field works just fine (because its implemented on the C++ side):
>>> table = pa.table({"a": np.array([0.1, 0.2], "float16"), "b": np.array([1, 2], "int8")})
>>> pq.write_table(table, "/tmp/test_float16.parquet")
>>> meta = pq.read_metadata("/tmp/test_float16.parquet")
>>> meta.schema
<pyarrow._parquet.ParquetSchema object at 0x7f488ec55000>
required group field_id=-1 schema {
  optional fixed_len_byte_array(2) field_id=-1 a (Float16);
  optional int32 field_id=-1 b (Int(bitWidth=8, isSigned=true));
}

But in a few parts of the API you can see we didn't add it to the python bindings:
>>> meta.schema.column(0).logical_type
<pyarrow._parquet.ParquetLogicalType object at 0x7f488ef60210>
  Float16
>>> meta.schema.column(1).logical_type
<pyarrow._parquet.ParquetLogicalType object at 0x7f4894c9fcf0>
  Int(bitWidth=8, isSigned=true)

>>> meta.schema.column(0).logical_type.type
'UNKNOWN'                                          # <--- UNKNOWN instead of FLOAT16 here
>>> meta.schema.column(1).logical_type.type
'INT'

That comes from
https://github.com/apache/arrow/blob/374b8f6ddec3b7614408ea874ffb29981c2a295d/python/pyarrow/_parquet.pyx#L1290-L1306
(it might actually be the only place to add it)

I would like to take a look at this

take

Issue resolved by pull request 42103
https://github.com/apache/arrow/pull/42103


[BUG]: old pod IP is used when k8sgpt-deployment pod is restarted

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've included steps to reproduce the behavior

Affected Components

[ ] K8sGPT (CLI)
[X] K8sGPT Operator

K8sGPT Version
v0.0.3
Kubernetes Version
No response
Host OS and its Version
No response
Steps to reproduce

restart k8sgpt-deployment pod
look at operator logs:

kubectl logs deployment/k8sgpt-k8sgpt-operator-controller-manager
2023-05-31T20:03:39Z    ERROR   Reconciler error        {"controller": "k8sgpt", "controllerGroup": "core.k8sgpt.ai", "controllerKind": "K8sGPT", "K8sGPT": {"name":"k8sgpt-sample","namespace":"sx-k8sgpt"}, "namespace": "sx-k8sgpt", "name": "k8sgpt-sample", "reconcileID": "c5a51cb1-4a4b-49f8-af9f-db04e0e3f057", "error": "failed to call Analyze RPC: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp <IP_ADDRESS>:8080: connect: no route to host\""}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler

Expected behaviour
the controller should be resilient against k8sgpt-deployment pod restarts. why do we use the pod IP in https://github.com/k8sgpt-ai/k8sgpt-operator/blob/075caf5e0999d4ef92027656f3d26ab8bdbfcdef/controllers/k8sgpt_controller.go#L182 instead of the k8sgpt service?
Actual behaviour
No response
Additional Information
No response

There was a DNS resolution issue when I was building this, so we can probably alter it back, ill take a look


Can't build

the npm build command does nothing, don't know why.

My bad, I had to run npm run build.