Getting test prediction labels per image

First of all, thank you for this wonderful implementation. Not only does it work like a charm, I am learning a lot about how to use Tensorflow effectively  :+1:
I trained the code with all default on the MNIST dataset, which returned an accuracy of 99.49 %. That great!
I am now trying to classify some of my own handwritten MNIST digits. I have created 15,000 samples, black and white digits, with the same dimensions as MNIST. I created a small function to feed my data into main.py, and eventually got things working.
My problem is that I get a test-accuracy of ~9%, which equates to random guessing on the 10 classes!
For this reason, I would like to get the predicted labels back for each of the images, so that I can try to debug. Is there an easy way to do this? Could you please provide any hints?
Any help would be much appreciated!

I created a tool to visualize the predicted labels. you can use it directly.
The idea of that tool is get all the predicted labels(10 labels) for each sample, then we get an matrix with shape [num_sample, num_labels]. For each label, plot the point (sample_id, probability) in the R^2 coordinate. Finally you will get a cool picture, see the gif example here.
The tool can be found here.
What you need to do in the code is save the predicted labels/activation probability, and just plot it. See my CapsLayer repo for details.


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Yeahhh

Ok

Sorry, but your issue will be closed because you did not submit your information in the correct format.


[Enhancement] Implement a new variable {$version}

As with {$vendor} and {$name}, I would like to see a {$version} variable that will have the version of the package installed so that the following configuration:
    "extra": {
        "installer-paths": {
            "./libraries/{$name}-{$version}": ["vendor/pkgname"]
        }
    }

Will result in installing the package to the following directory:
 /libraries/pkgname-1.0.0

hello @ZaDarkSide what is the use case behind this? is it possible to use same package twice with different versions in the same app?

No, composer doesn't supports this, also PHP can't load the same class twice, but the use case is for the creation of the directory of the library to contain if you wish also the version number.


908/921: Backported Changes

There's no harm in letting this go as is, but the description requires decoding.  A brief explanation of what's really going on is the ideal description and this should be in the additional info section: 908/921: Backported Changes #432
Here's an interesting article that goes a little too far for us, but it does go over the guiding principles for describing a commit.


Implement Entities Interface

Most entities share some common functionality. Encapsulating this with an interface can make the code highly modular, and offers the possibility of adding commands to all entities with a single implementation. This PR provides the foundation to refactoring shared commands (ls, submit) and implementing new common commands (edit, deploy, delete) efficiently.

Hey Alejandro! It looks nice, thanks for this. I am still reviewing it.
I saw that in some methods (.get, .all), ui and comms are taken directly from the config. Actually it looks better to do this. Do you think we should also follow this approach everywhere? To have, at the end, no ui or comms passed as parameters. Always use globally defined config.ui and config.comms. This is just for code consistency, we can make it a separate PR.

Hey Hasan, thanks for giving this a look! I like all your ideas. Regarding comms and ui I absolutely agree, and was thinking of implementing this change everywhere in a separate commit, to keep this one "short".
As for the __init__ I like your idea. We can keep __init__ entity-specific, but implement a from_dict() method which creates an object given its dictionary description (e.g. Benchmark.from_dict(benchmark.to_dict()) should create a copy).
Might be best to make this a separate PR?

@aristizabal95 Alright! I will start another PR for the __init__.

@hasan7n about the review, do you think it's okay to merge? I can see a few issues that could benefit from this as well

sure sorry... I thought we want to add the ui and comms thing here.


Limit number of results for SearchAsync

Can we add a MaxResults, MaxResultCount, w/e property to MemoryFilter?  There are cases where we only need a single/top result.

done, see https://github.com/microsoft/semantic-memory/pull/42


Add hosting goal to listtablets command

Accumulo has a shell command to list tablets.  Below is an examplle output from this command for a table created by the bulk RW test.
root@accumulo-testing> listtablets -t bulk_ip_10_113_15_71_11648_1686931239370
NUM  TABLET_DIR      FILES WALS  ENTRIES   SIZE      STATUS     LOCATION                       ID    START (Exclusive)    END
TABLE: bulk_ip_10_113_15_71_11648_1686931239370
1    t-000dksn       17    0     258512    72613     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    -INF                 r00357
2    t-000dkwh       4     0     147066    34564     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r00357               r00532
3    t-000dkwo       7     0     728508    165122    HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r00532               r00e1f
4    t-000dly9       12    0     103119    35031     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r00e1f               r00f7d
5    t-000dksl       16    0     528155    149716    HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r00f7d               r0168e
6    t-000dksm       14    0     380700    120065    HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r0168e               r01bd4
7    t-000dkwc       5     0     519742    136646    HOSTED     CURRENT:<IP_ADDRESS>:9997      14    r01bd4               r0228d
8    t-000dr4c       53    0     15336820  4550857   HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r0228d               r0abfd
9    t-000dr4d       22    0     3387627   1263948   HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r0abfd               r10726
10   t-000dly2       14    0     2345792   812779    HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r10726               r145fd
11   t-000dkw9       10    0     300390    93136     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r145fd               r14a1b
12   t-000dktq       6     0     476452    125719    HOSTED     CURRENT:<IP_ADDRESS>:9997      14    r14a1b               r15017
13   t-000dkt7       2     0     5640      3227      HOSTED     CURRENT:<IP_ADDRESS>:9997      14    r15017               r1502b
14   t-000dido       6     0     751680    206253    HOSTED     CURRENT:<IP_ADDRESS>:9997      14    r1502b               r15a4b
15   t-000dkt1       15    0     435105    134517    HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r15a4b               r16018
16   t-000dkwk       3     0     236340    61020     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r16018               r16324
17   t-000die2       6     0     360360    96088     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r16324               r167a7
18   t-000dkt2       12    0     65604     28440     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r167a7               r1688e
19   t-000dids       12    0     55185     25637     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r1688e               r16951
20   t-000dkxe       6     0     944736    236207    HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r16951               r17525
21   t-000didz       2     0     276299    69237     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r17525               r178d4
22   t-000dksr       10    0     177555    56726     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r178d4               r17b43
23   t-000dkt4       12    0     366390    112687    HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r17b43               r1801d
24   t-000dly1       13    0     288225    83729     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r1801d               r183ce
25   default_tablet  6     0     209090    60324     HOSTED     CURRENT:<IP_ADDRESS>:9997     14    r183ce               +INF

The new per tabet hosting goal could be added to this command.  The implementation of this command uses internal APIs and therefore getting this information via public API in jshell is not possible.  In addition to adding the hosting goal to this command output we could possibly create a public API for getting per tablet information.  One way to do this is to generalize the new API introduced in #3451 to get more per tablet info than just the hosting goal.  Something like the following.
// this could replace the new HostingGoalForTablet class and add more information
public interface TabletInformation {
    TabletHostingGoal getHostingGoal();
    TabletId getTabletId();
    String getLocation();
    TabletHostingStatus getTabletHostingStatus();
    //etc
}

interface TableOperations {
  // replace the getTabletHostingGoal method with the more general method that gets hosting goal plus other tablet info
 Stream<TabletInformation> getTabletInformation(String tableName, Range range);
}

Closed by #3645


fix: unflagged reference to feature-flagged route

Signed-off-by: Philipp Rudloff<EMAIL_ADDRESS>

Aren't we removing the DataPlaneList component in #2211?

Yep, but I still needed access to the feature flag here now.

So you want this in before the other one? Or if we get the other one in, is this no longer required?

So you want this in before the other one? Or if we get the other one in, is this no longer required?

The fix of this PR will still be required regardless of whether https://github.com/kumahq/kuma-gui/pull/2211 goes in first or not. It will require a small change of course to access the feature flag directly.
I just didn’t want to mix that PR and this fix.

Note here's what the issue looks like:


Peek deprecation - switch

https://github.com/phw/peek/issues/1191
https://github.com/SeaDve/Kooha or similar
flatpak install flathub io.github.seadve.Kooha

https://flathub.org/apps/details/io.github.seadve.Kooha


version miss match

I am try to use
encoder = GRU(embedding_size, return_sequences=True, return_state=True, recurrent_dropout=0.1)
attented_encoder = ExternalAttentionRNNWrapper(encoder, return_attention=True)
but got error in wrapper class
super(ExternalAttentionRNNWrapper, self).init(layer, **kwargs)
File "C:\Users\NITS\Anaconda3\lib\site-packages\tensorflow\python\keras\layers\wrappers.py", line 52, in init
assert isinstance(layer, Layer)
AssertionError
print(type(encoder))
keras.layers.recurrent.LSTM but in Wrapper
assert isinstance(layer, Layer)   error
self.layer = layer
# Tracks mapping of Wrapper inputs to inner layer inputs. Useful when
# the inner layer has update ops that depend on its inputs (as opposed
# to the inputs to the Wrapper layer).
self._input_map = {}
super(Wrapper, self).init(**kwargs)

TypeError: object of type 'ExternalAttentionRNNWrapper' has no len()
This error occurs..

@srigithub99  I this is your coding problem i didn't any this kind of problem


Fix interp to be consistent with np.interp

Description
interp in numpy_fast doesn't match np.interp in the event the arguments differ in length.
Verification
Wrote unit tests to test current function with varied length arrays, tests failed. Update function to be consistent with numpy, tests pass.
Warning
Potentially breaking change in when interp's xp (which is usually BP) is shorter than fp (which is usually V). This change would would make the fast interp consistent with numpy but it's different than before. See the below unit test result, notice how numpy skips -0.67 and jumps straight to -0.3:
======================================================================
FAIL: test_short_bp_long_v (tests.test_numpy_fast.InterpTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/openpilot/common/tests/test_numpy_fast.py", line 34, in test_short_bp_long_v
    np.testing.assert_equal(actual, expected)
  File "/root/.pyenv/versions/3.8.2/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 342, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "/root/.pyenv/versions/3.8.2/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 930, in assert_array_equal
    assert_array_compare(operator.__eq__, x, y, err_msg=err_msg,
  File "/root/.pyenv/versions/3.8.2/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

Mismatched elements: 1 / 16 (6.25%)
Max absolute difference: 0.37
Max relative difference: 1.23333333
 x: array([-1.   , -1.   , -1.   , -0.84 , -0.8  , -0.774, -0.748, -0.67 ,
       -0.3  , -0.3  , -0.3  , -0.3  , -0.3  , -0.3  , -0.3  , -0.3  ])
 y: array([-1.   , -1.   , -1.   , -0.84 , -0.8  , -0.774, -0.748, -0.3  ,
       -0.3  , -0.3  , -0.3  , -0.3  , -0.3  , -0.3  , -0.3  , -0.3  ])

How can xp and fp differ in length? When I try to use numpy interp I get a value error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<__array_function__ internals>", line 5, in interp
  File "/home/batman/.pyenv/versions/3.8.2/lib/python3.8/site-packages/numpy/lib/function_base.py", line 1423, in interp
    return interp_func(x, xp, fp, left, right)
ValueError: fp and xp are not of the same length.

I'm fine with the numpy_fast version throwing one as well.

How can xp and fp differ in length? When I try to use numpy interp I get a value error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<__array_function__ internals>", line 5, in interp
  File "/home/batman/.pyenv/versions/3.8.2/lib/python3.8/site-packages/numpy/lib/function_base.py", line 1423, in interp
    return interp_func(x, xp, fp, left, right)
ValueError: fp and xp are not of the same length.

I'm fine with the numpy_fast version throwing one as well.


Search Box

Implemented Search box to allow users to augment the search query with text input.But API getting resolved without sending a response for /api/search?q=${query}
#50

Thanks @shreya024! Could you record a replay of the search box in action?
https://docs.replay.io/recording-a-web-app/recording-a-replay

Thanks @shreya024! Could you record a replay of the search box in action? https://docs.replay.io/recording-a-web-app/recording-a-replay

Sure https://app.replay.io/recording/replayable--b1a7b11d-8ed3-4383-a2d5-ad961cb6c7d6
But API getting resolved without sending a response for /api/search?q=${query}


Adds tax unit tabs

@EliseAndresen I've created a branch which I intend to use for all PR's related to tax units, and then we'll merge that branch into main when the time comes :)

Missing mobile menu, I just realized


More than 1 AS-SET per AS in irrdb.conf

Will it be possible to allow for the use of more than 1 AS-SET per AS listed in the irrdb.conf file?
Eg. AS23456  AS23456:AS-SET|AS23456:AS-SETV6<EMAIL_ADDRESS>(Used | as the separator in this example)
Nb: I am asking this. because I have run into several Networks would operate with no. 1 AS-SET only for v4 and no. 2 AS-SET only for v6.

I can't say this would be available anytime soon but will keep this in mind for future updates.

Alternative suggestion could be to allow for the same AS to be listed
more and once IF the AS-SET is not the same. (E.g. different)
AS23456  AS23456:AS-SET<EMAIL_ADDRESS>AS23456  AS23456:AS-SETV6<EMAIL_ADDRESS>
afterwards then join the results together before writing them to $FILE.
On Tue, 16 Oct 2018 at 17:53, nistor<EMAIL_ADDRESS>wrote:

I can't say this would be available anytime soon but will keep this in mind for future updates.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Basic JavaScript Instruction and Example Expect Wrong Value

Describe your problem and - if possible - how to reproduce it
Basic JavaScript: Assignment with a Returned Value says that the "processed" value should be 2. Given the instructions, I believe it should be 10. A similar issue exists for the example code.
If instructions are followed correctly, it still runs appropriately and the user can continue . However, the supposed expected results can lead to confusion.
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/assignment-with-a-returned-value
Tell us about your browser and operating system

Browser Name: Google Chrome
Browser Version: Version 67.0.3396.99 (Official Build) (64-bit)
Operating System: Windows 10

If possible, add a screenshot here

I think it should be 2 because you are passing 7 into the processArg function that returns (num +3) / 5. When you pass 7 it would be (7 + 3) / 5  = 10 / 5 = 2.  processArg returns 2 therefore assigning the function to the processed variable will set it's value to 2.

Shoot, I mistook the single slash for a double slash. Didn't realize it was dividing. sorry for the mistake!


fix the grpc client method and status tags always empty

Description
The grpc_client_method and grpc_client_status tags of dapr_grpc_io_client_xx metrics are always empty
Issue reference
fix #1900
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Thanks for your contribution!


Add Google Analytics

[x] Find existing account or setup a new one
[x] Add tracking code

@treeme - the analytics admin wouldn't let me set up<EMAIL_ADDRESS>as an admin (said your account was "being migrated") so I set you up under<EMAIL_ADDRESS>


Use one-tap sign-up for login

Using one-tap sign-up for login would be the best workflow to login : https://firebase.google.com/docs/projects/pwa

One tape signin is in private beta for now ... https://docs.google.com/forms/d/e/1FAIpQLSdJkBth-e-62wQ7eYNy12rWOhYBMACChmC_w_CiwbzmcgEGDw/closedform


Rukpak clients should be able to get CA cert without getting access to CA key

We use cert-manager to generate a rukpak-wide CA, and then use that CA to sign all of the certs for rukpak services. Clients of rukpak then need to read that CA to be able to verify connections to those rukpak services.
Currently, the situation is that clients read the rukpak-ca secret's data["ca.crt"] value to get the CA cert. However, that secret also contains the CA's key, which clients could use to sign more keys that would be trusted by anyone using the CA.
We need to ensure that the object read by clients contains only the CA cert. It seems like cert-manager does not support this out of the box (see https://github.com/cert-manager/cert-manager/issues/2722#issuecomment-703766328), so we may need to run our own controller that knows how to inject the CA into a separate configmap.

We discussed this in the upstream meeting and it seems like we'll be updating the RukPak operator to include a controller that injects the CA into a separate configMap based on the presence of an annotation.


Caluculating mAP from pickle file

Hi,
Is there a way to calculate classwise mAP on a custom COCO dataset when I have the output as a pickle file? Please let me know if there are any inbuild functions that can input a pickle file and generate the evaluation metrics.
P.S The model I am working on is in an old version on mmdetection (0.6.5) and has a lot of custom files which cannot be convereted to the latest format easily. However, I want to use the pickle file on the latest code to get the results.

Yes, you can refer tools/eval_metric.

Thanks!


Bump pion/ice

Candidate Pair nominated stats

Codecov Report

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

@@           Coverage Diff           @@
##           master     #727   +/-   ##
=======================================
  Coverage   76.28%   76.28%
=======================================
  Files          58       58
  Lines        4023     4023
=======================================
  Hits         3069     3069
  Misses        700      700
  Partials      254      254

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 cc940bc...aadb41c. Read the comment docs.


Autoplay does not work when new Activity is started

the latest develop branch

Lg nexus 5x (android 7)

I tried your library and everything works just fine when I have a single activity, but when I open a new Activity with same logic (RecyclerView filled with video list) autoplay does not work for the first time.
Lets say we have two activities : FirstActivity(FA) and SecondActivity(SA). When I'm in FA and I open SA here is a sequence of activity lifecycle methods :

SA -> onActivityStarted()
FA -> onActivityStopped()

So the problem is that FA -> onActivityStopped() is called in the last place.
In my case, autoplay does not work for the first time as FA -> onActivityStopped() is called right after I do all the stuff to play first video in recycler view. onActivityStopped() method calls       dispatchOnActivityInactive(activity) and that's how it stops video playback in SA.
Am I doing something wrong or there is a bug in your library?
Thanks.

@EligijusStarinskas Thanks for the report. I will check it later. I guess I need to investigate how to deal well with Activity states for both API N and below.

Fixed in #86


Suport for Start and End Time adjustments

Opens up for editing the Start Time and End Time of the selected cue by given seconds. Contains preset for Inc and Dec of 1 and 10 sec on both Start Time and End Time.

@willosof @krocheck Does this fit in here or should it go in the advanced module? Or both?🤷🏻♂

These patches will work for this module. There has been a lot of changes to qlab-advance that are not in the builds yet. I can add them there for you.

@istnv No worries, I'll just add it there as well. The PR should be opened in like 10 minutes :)


Snapshot downloads into ~/snapshot

Actual behavior:
Snapshot are being downloaded to ~/snapshot
Expected behavior:
Snapshots should be placed into ~/.defi/snapshot as to not interfere with the host system
How to reproduce it (as minimally and precisely as possible):

Start a fresh install of DeFi Wallet
Download a snapshot

What are your environment parameters?

DeFiCh/app Version: 2.7.1
Operating System (OS): Linux
RAM (GB): 16
CPU (Intel Core i5/i7/etc.): Core i5
Current free storage capacity: Enough

Anything else we need to know?
I already proposed a pull request to fix this issue. See https://github.com/DeFiCh/app/pull/1066

Hi @thunderstorm99, I saw your PR and will check and test to see if we can include it on our next build.

@thedoublejay the pull request had a small error that you merged into main. The fix is already in place and needs to be re-committed.


Add code coverage badge to repo

Code coverage is already set up, but something needs to get the data for the badge.
Some things to look into:

https://smarie.github.io/python-genbadge/
https://github.com/marketplace/actions/coverage-py-badge

I can work on this

Awesome! I've never set this up before, but I'm excited to see how it works! 🥳

@adamghill  I'm having some kind of error when I run poetry run python manage.py migrate. I'm using Windows

Traceback (most recent call last):
File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\django-unicorn-stLXlbqC-py3.11\Lib\site-packages\django\apps\config.py", line 210, in create
app_module = import_module(app_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\anaconda3\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'example'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\user\Desktop\djangonauts\django-unicorn\example\manage.py", line 21, in
main()
File "C:\Users\user\Desktop\djangonauts\django-unicorn\example\manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\django-unicorn-stLXlbqC-py3.11\Lib\site-packages\django\core\management_init_.py", line 442, in execute_from_command_line
utility.execute()
File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\django-unicorn-stLXlbqC-py3.11\Lib\site-packages\django\core\management_init_.py", line 416, in execute
django.setup()
File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\django-unicorn-stLXlbqC-py3.11\Lib\site-packages\django_init_.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\django-unicorn-stLXlbqC-py3.11\Lib\site-packages\django\apps\registry.py", line 91, in populate
app_config = AppConfig.create(entry)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\django-unicorn-stLXlbqC-py3.11\Lib\site-packages\django\apps\config.py", line 212, in create
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Cannot import 'example.books'. Check that 'books.apps.Config.name' is correct.

Fixed it!

Should we add/update instructions somewhere for what you ended up doing?

I just had to re-confirm my Python path, restart my computer and open the project with Pycharm.


Missing environment file

docker-compose -f docker-compose.development.yml build
ERROR: Couldn't find env file: /root/smartvpn-billing/.env

you can create its file touch .env and put SECRET_TOKEN into .env
its 5 step https://github.com/Mehonoshin/smartvpn-billing#start-up-and-developing-with-docker

@MrConstantine feel free to reopen the issue, if you have any troubles with running the app.


Warning about using CEs for DSL

Hello,
I discovered this project via a tweet and read the blog post associated.
I wanted to warn you about using CEs for DSL for now as there are knowns performance problems when building complex/nested structure that way.
You can follow the main issue tracking this problem here: https://github.com/dotnet/fsharp/issues/14429

Thank you for the warning! Fortunately, the library doesn't enforce you to use new CE-based view engine, it's only a default. One can write few lines of code to integrate Feliz, or original Giraffe view engine.

That's true, but from my experience people use what is available out of the box.
Perhaps, it could be possible to add a guide on how to add a new view engine support. This would avoid the need to dig into the library internal and make path for an easier adoption. It is possible that they don't want to rewrite both their handlers and views functions when doing a migration.

Yes, I'll make sure I'll include the information of how to use an alternative engine, thanks!

Added warning to the readme, closing the ticket


python312Packages.google-cloud-datastore: 2.19.0 -> 2.20.1

Changelog: https://github.com/googleapis/python-datastore/blob/v2.20.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 339494 run on x86_64-linux 1

4 packages built:

python311Packages.google-cloud-datastore
python311Packages.google-cloud-datastore.dist
python312Packages.google-cloud-datastore
python312Packages.google-cloud-datastore.dist

Result of nixpkgs-review pr 339494 run on x86_64-linux 1

4 packages built:

python311Packages.google-cloud-datastore
python311Packages.google-cloud-datastore.dist
python312Packages.google-cloud-datastore
python312Packages.google-cloud-datastore.dist


fix: metamask config

metamask enforces hex value for chainId

I don't think that is correct, I'm using plain 1, as is in the docs screenshots: https://docs.flashbots.net/flashbots-protect/rpc/quick-start/

method 1, use hex for chainId for wallet_addEthereumChain
method 2, use number for chainId for wallet_addEthereumChain
One method works, the other does not. Metamask uses ChainId as a number only for its cryptographic dependencies as they expect this value to be a integer primitive


Stop using non-documented argument for nssm dump

As described in #34, using a MARKER argument creates an Error in
the event log. The MARKER is not really neaded it's easy to parse
the output using simple Regexp.
Fix #34

Tests are currently failing due to chef/chef#6472

@Annih Thanks for the pull request.  I don't have time to look at this, so I have added you as a contributor.  You have contributed in the past and I figure you wouldn't mind being a contributor.

@dhoer thanks, I don't mind being a contributor, but I would appreciate a review from someone else :p

We'll wait for the CI to be green before merging but @axelrtgs would you have time to review this please ?

Code looks good to me, i will find some time to clone test locally since the testing is broken due to the bug mentioned and if it works ill approve.

tested in my environment and it seems to work in my limited basic testing

Rebased on master, let's see the tests :)

@dhoer & @axelrtgs I'm sorry if you are flooded by mails.
I'm struggling with the kitchen test in appveyor, I'm not able to reproduce locally, but it seems that there is an issue while downloading chef-client omnibus package.
Did you already encounter this issue?

I would try using the latest version of Chef 12 in appveyor.  I think just setting the value to 12 instead of 12.7 would do that: https://github.com/dhoer/chef-nssm/blob/master/.kitchen.appveyor.yml#L12

Pinning test-kitchen to 1.16.x should fix the Window build issue:   gem 'test-kitchen', '~> 1.16.0'

@Annih I transferred ownership on Chef to you.  When you move the repo, please remember to update the view source and view issues.
Thanks so much for taking over this project.  It is much appreciated.


How to control number of threads?

I am using grape.embedders.Node2VecGloVeEnsmallen in an environment where there is a strict limit on number of threads being spawned. I could not find any argument that sets the number of threads.
Is there a recommended way to work around this?

Try setting the RAYON_NUM_THREADS system variable.

Thanks for the reply! Is there any way to do it within the grape functions only?

Not for those using Rayon for parallelism such as Node2VecGloVeEnsmallen. The ones that were straightforwardly possible to set it via a parameter are already available as kwargs.

Okay. Can you point me to any Node2Vec or similar embedding methods where I can set it via a parameter?
Thanks!


Fixed #26286 -- Prevented content type managers from sharing their cache.

This should prevent managers methods from returning content type instances
registered to foreign apps now that these managers are also attached to models
created during migration phases.
Refs #23822.

This was extracted from #5835 as a standalone patch.

Could this be the root cause of the issue described in #6088?

Exactly, will close the other PR in favor of this one.

Release note looks fine; I fixed the spelling error on master that caused the build failure.


Explorer uses Stacks/Bitcoin logos and terms when in Subnets mode

Describe the bug
If you add a Subnet network to Explorer, and check the box that it is a Subnet, all logos and terms in Explorer still show Stacks as the network, and Bitcoin as the burnchain
To Reproduce
Run the explorer in Subnets mode
Expected behavior

Change "Stacks" references -> "Subnets"
Change "Bitcoin" references -> "Stacks"

Screenshots

Thanks for the report. We are still improving our subnet experience

@shamim-io This is another one you could take if you are up to learning more about subnets.
Like STX blocks related to BTC blocks, subnet blocks are associated with STX blocks. Therefore the icon in subnet view should be STX instead of BTC
What do you think?

@andresgalante, I completely agree with you.
I require two forms of assistance regarding this issue:

Could you provide a recommendation for the subnet block icon? If there isn't any specific icon for subnet block, can i use the STX icon for both STX block and subnet blocks?

Can you share a URL that I can use to create a subnet network on my end?
Thank you!

@eugeniadigon or @andromeda995, what do you think about Shamim's question first question? To me Stacks to Stacks icon makes sense. Do we have a subnet icon?
@He1DAr can you help with 2 please?

I don't think we should have a subnet icon unless we can create something custom that is not ambiguous.
I would use the "subnet" badge that is shown in the UI (screenshot above) for the network selector

@shamim-io there is information on how to set up a network here:
https://docs.hiro.so/subnets/overview?_gl=1*1w78s48*_ga*MTE5NDkyNzIxMS4xNjcxNDY2MzQ2*_ga_NB2VBT0KY2*MTY4NzIyMzEwMC44Ni4xLjE2ODcyMjY5NTguMC4wLjA.

I'll close this issue and we'll bring it back if Subnets became relevant


Card and Deck 🃏

Started playing with adding a deck component to the UI and spruce up the card component.
This is all a work in progress– I was using storybook to start thinking out ideas so I've left tests broken (I think).
Here's a screen capture:

Great! Will take a look this weekend.

👍 I'll be around off-and-on if anything needs updating or fixing! Still open to ideas/changes. :)

Great job on this @chrisheninger :)
We can keep tweaking the deck API, but this is a solid start.

Also, this is my fault, but do you think the "IO" on the hex looks like a 10? Do you think we should remove it and have a blank hexagon instead?

:clap: Thanks for the help! I enjoyed getting some experience contributing to a lib like this– the majority of my time is spent on the app-building side. 🙂
I thought the same thing about the IO / 10– I think using a blank hex is a good idea.

Would it be better to have this api? <Deck><Card /> <Card /> <Card />...</Deck>
in other words, use children instead of a prop?

Also, I believe a spread prop is called for:
<Deck spread /> to display it spread out like in the storybook.
The default should be all on top of eachother.

@Redmega Is there a reason you think using children is better than a prop? I'm open to either option, as long as we understand what the benefit is.

@Redmega regarding the spread prop– it exists but is called splayWidth


NSInternalInconsistencyException bug

Report a bug
What did you do?
Crash would definitely be caused if you release the viewController that contains tableview and topPullToRefresh, while you are running your demo with an ipad2 ios9. In this case, calling removePullToRefresh() in deinit() is invalid. There would be some unknown reasons that may cause the delay of releasing topPullToRefresh rather than tableview, and the topPullToRefresh still keep observing tableview.

Crash Log:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x7e2cf200 of class UITableView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x7be86b20> (
<NSKeyValueObservance 0x7be844e0: Observer: 0x7d27d380, Key path: contentOffset, Options: <New: NO, Old: NO, Prior: NO> Context: 0x7d27d3ec, Property: 0x7bf74ff0>
<NSKeyValueObservance 0x7be854a0: Observer: 0x7d27d380, Key path: contentSize, Options: <New: NO, Old: NO, Prior: NO> Context: 0x7d27d3ec, Property: 0x7be854d0>
<NSKeyValueObservance 0x7be859b0: Observer: 0x7d27d380, Key path: contentInset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x7d27d3ec, Property: 0x7be859e0>
<NSKeyValueObservance 0x7be864b0: Observer: 0x7be862d0, Key path: contentOffset, Options: <New: NO, Old: NO, Prior: NO> Context: 0x7be8633c, Property: 0x7bf74ff0>
<NSKeyValueObservance 0x7be86510: Observer: 0x7be862d0, Key path: contentSize, Options: <New: NO, Old: NO, Prior: NO> Context: 0x7be8633c, Property: 0x7be854d0>
<NSKeyValueObservance 0x7be86ca0: Observer: 0x7be862d0, Key path: contentInset, Options: <New: YES, Old: NO, Prior: NO> Context: 0x7be8633c, Property: 0x7be859e0>
)'

Your Environment

Swift version: Swift 3.0
iOS version: iOS9
Device: iPad2
Xcode version: Version 8.2.1 (8C1002)

Having the same issue on iOS 10.2 with iPhone 5 Simulator

Guys, thanks for reporting the bug. We'll try to fix it

I was holding a reference to the refresher. Calling refresher=nil while removing the refresher in deinit solved the problem.

Same problem. Fix from murdly works, but not really fun to have an optional var. Maybe I'm just going to remove the lib, too bad.

+1 - abandoning this lib in favour of going iOS 10 only.

@Vinzius, @TimothyChilvers Hi guys, thank for the report. When you add an instance of PullToRefresh to a UIScrollView (or its subclass), it becomes retained. So, you have a strong reference to it from the scroll view. It seems that you have another strong reference inside the controller. Therefore, you need to use a weak reference in the controller or not use it and create refresher instance before adding.


Most Lsp commands not working.

Description
Most lsp commands like LspRestart, and LspStart... fail. See this issue

use latest release neovim

I forgot to mention, i'm already using neovim's latest release. But i'm still experiencing those errors.


[Bug] Multiple left-hand assignment require case, throws error.

I am building a bundle-less bundler using your wonderful project (thank you!), I have run into an issue with a case that looks like this:
const constants = exports.constants = require('./constants.js')

What is the problem

This is an extract from a CJS module (shall we say ... loose code style), this library is called minizlib.
The snippet is valid JS although less common, I'd love to help you with a PR but not sure where to start?
Throwing a stack trace. I don't know but my best guess is that this case is not handled?

TypeError: Cannot read property 'kind' of undefined
    at Object.isExpressionNode (/Users/me/Code/typescript/unpack/node_modules/typescript/lib/typescript.js:14615:33)
    at isExpression (/Users/me/Code/typescript/unpack/node_modules/@wessberg/cjs-to-esm-transformer/src/transformer/util/is-expression.ts:8:81)
    at visitBinaryExpression (/Users/me/Code/typescript/unpack/node_modules/@wessberg/cjs-to-esm-transformer/src/transformer/before/visitor/visit/visit-binary-expression.ts:295:76)
    at visitNode (/Users/me/Code/typescript/unpack/node_modules/@wessberg/cjs-to-esm-transformer/src/transformer/before/visitor/visit/visit-node.ts:24:10)
    at /Users/me/Code/typescript/unpack/node_modules/@wessberg/cjs-to-esm-transformer/src/transformer/before/transform-source-file.ts:212:26
    at visitNode (/Users/me/Code/typescript/unpack/node_modules/typescript/lib/typescript.js:74775:23)
    at Object.visitEachChild (/Users/me/Code/typescript/unpack/node_modules/typescript/lib/typescript.js:75140:224)
    at childContinuation (/Users/me/Code/typescript/unpack/node_modules/@wessberg/cjs-to-esm-transformer/src/transformer/before/transform-source-file.ts:209:15)
    at visitVariableDeclaration (/Users/me/Code/typescript/unpack/node_modules/@wessberg/cjs-to-esm-transformer/src/transformer/before/visitor/visit/visit-variable-declaration.ts:29:10)
    at visitNode (/Users/me/Code/typescript/unpack/node_modules/@wessberg/cjs-to-esm-transformer/src/transformer/before/visitor/visit/visit-node.ts:22:10)

Id probably want to see an output fixed up like this:
export constants from './constants.js';

or even
import constants from './constants.js';
export constants;

What do you think, hope you are still active.

l will probably fork and try and figure this out.

Hey there. Thanks for submitting this issue! No need to close it, I'm looking into the issue and will release a new version once it has been fixed.

This has been implemented and released as part of v0.0.21.
Specifically, I've added support for the general case of exports.<binding> = require("..."), including const <a> = exports.<b> =  require("...")
Now, I'm not sure if the error you shared will persist after this version, but please let me know if you have any additional problems.

This has been implemented and released as part of v0.0.21.
Specifically, I've added support for the general case of exports.<binding> = require("..."), including const <a> = exports.<b> = require("...")
Now, I'm not sure if the error you shared will persist after this version, but please let me know if you have any additional problems.

Thank you so much! I really am happy with this outcome. I didn't fork in the end but always happy to find more issues. I am working on didi (a module un-bundler for the web) which is using your work here so its wonderful that I can get rid of this edge case.


[Arc] ... Open favourites without creating a new tab

Extension
https://www.raycast.com/the-browser-company/arc
Description
Hello,
I'd like to be able to open a link from Raycast, that is favourited in Arc, without opening a new tab. I'd like the link to open the favourite tab, rather than a brand new one.
Who will benefit from this feature?
Every Arc user.
Anything else?
No response

I am also hoping for this. Right now I have Slack favourited, and created a quicklink to it, but it opens in a new tab and doesn't load any content.

being able to open favorites in the exact tab would be so clean!

I found a workaround - you can create an Apple Shortcut and use it instead of a quicklink. Here's a guide: https://joschua.io/posts/2023/05/24/automating-arc-applescript/


Minimum Viable Product of Python Programmatic Model Run

The bare bones of a potential Python integration of OpenM++.
API calls and other functions are done through the Functions folder, with "Create.py" generating new information on the server-side, "Delete.py" deleting information on the server-side, "Get.py" pulling existing information on the server-side, "Load.py" pulling information about a specific model on the server-side, and "Utilities.py" providing helper functions. Note that many functions aren't complete yet.
The file "PyOpenMPP_main.py" provides a demo for how to call these functions to work with OpenM++. The file "PohemX-python.py" does the same but as a standalone file with all the functions defined inside of itself (separate since this doesn't seem like best practice to do it all from one file).
The bare bones of documentation for the new code is in the "README_2.md" file.
Please advise on whether my current code structure is okay, or if I should change how I go about developing this in the future.

Accepted, thank you.

Please move Python mains into sub-folder, e.g. ModelRun or py-main or any other name of your choice. I assume it would be more than one Python utility here.

It may be better to shutdown oms by curl -v -X PUT http://localhost:4040/shutdown on Linux / MacOS or use kill.

Please see example of shutdown at https://github.com/openmpp/openmpp.github.io/wiki/Oms-API-PUT-shutdown-service or even better at models/stop-model-ui-linux.sh. Also there is a kill example at https://github.com/openmpp/other/blob/master/azure_cloud/oms/omsd-start.sh and omsd-stop.sh
It is also possible to start oms on available port instead of hard coded 4040. Scripts in models directory doing exactly that. Oms can save it own URL into file where stop-model-ui-linux.sh can find it later.
I am thinking to add another option into oms to save pid into file, similar to current option which save url into file. Feel free to do it, if you have a time to play with Go.

I understand model run function is at very early stage now, you will probably going to add more options into that. Model run API call documented at:  https://github.com/openmpp/openmpp.github.io/wiki/Oms-API-POST-run-the-model

I am keeping Opts OpenM.Threads for backward compatibility only, it should work, however, it would be nice to use Threads integer in the new development, example from wiki:
{
  "ModelName": "RiskPaths",
  "Opts": {
    "OpenM.SubValues": "16"
  },
  "Threads": 4,
  "Mpi": {
    "Np": 2
  },
  "Template": "mpiSmallCluster.template.txt"
}


Crash screen graphic uncoloured

Found this on my travels, thought it'd appreciate a little colour.
https://discord.com/assets/72eaa596042042be6259.svg

Thanks,
pointy

Probably to do with the fact that tons of class names just got changed, and not actually a missing asset.

Same problem.


Fix loopback address for REST API gateway (v2)

This pull request for dev-2.0 (not master) resolves #3149 and resolves #3004 by replacing zero listen-addresses (<IP_ADDRESS>, ::, "") with localhost before passing it to the client for the REST API gateway.
CC: @fabxc

Could we have some doc strings on why this rewrite is necessary. I can imagine this is hard to grasp without context in a couple of months.

Isn't locahost usually <IP_ADDRESS> or ::1, while <IP_ADDRESS> and :: are the wildcard adresses? Replacing one with the other seems strange to me, can you explain why you do it?

This change should not be necessary. The documentation of Go's net.Dial says

For TCP, UDP and IP networks, if the host is empty or a literal unspecified IP address, as in ":80", "<IP_ADDRESS>:80" or "[::]:80" for TCP and UDP, "", "<IP_ADDRESS>" or "::" for IP, the local system is assumed.

so it should just work with grpcl.Addr().String() (current dev-2.0 branch). However, #3004 and #3149 show that gRPC has problems connecting to [::]:9090.
This PR simply makes that "assumption" explicit by replacing an empty/wildcard IP with localhost.

I understand 'the local system' as INADDR_ANY, see 'wildcard matching' in inet(4) and inet6(4). localhost usually resolves to the loopback interface.

I have same promble.

I have already test this pr,it can slove my promble,hoping to merge soon.


[examples][MLIRPython] Add transpose operator for 2d tensor

Add a transpose operator for 2d tensor and its corresponding example

If work is still in progress, please resolve the conflict.

Thank you for reviewing my PR! This PR was submitted for learning purpose when I get started with the buddy-mlir project. Now it's no longer needed at this point. To keep the PR list tidy, I think I should close it.


[Addition]: Packet Forward Hack

Hotspot b58 Addresses
11RRL4bJtV2JiHshjLw1mST7W9Git7mJ7pQsj2Vzj5YZHfcQqXA
Discord Handle
No response
Reason(s)
Witnessing every 1 minute
Signal is always RSSI -140 SNR -20
Earning 15 HNT per day

Repeat of #322 please close


[Docs] Improve Navigation panel column layout for landscape/portrait

Improve column layout for phone vs. tablet & portrait vs landscape variations.
This change only affects handheld devices, or devices with really small (physical) screen dimensions.
See previews bellow:
Phone - landscape

Phone - portrait

Tablet - landscape

Tablet - portrait

By analyzing the blame information on this pull request, we identified @vjeux and @janicduplessis to be potential reviewers.

@facebook-github-bot shipit

You can see changes on master page of the docs once it has landed. http://facebook.github.io/react-native/releases/next/docs/stylesheet.html
However, there's a problem on safari ios, you can't scroll any of the content :(

Thanks for importing. If you are an FB employee go to Phabricator to review.


add kaitai-schema

Add a kaitai schema for io-homecontrol packets from my own research based on the documentation that is available in this repository and in the rtl_433 project. Can be extended in the future to include decoding of the command parameters. The enums are limited to those that are considered reliable (not marked with a "?").

Checking the file with https://ide.kaitai.io/, I'm getting many syntax errors

Good catch. This happens when you add last minute optimizations... Should be fixed now.

I would have never guessed that someone will find this file or use it. Kaitai Struct is such a great tool.
Huge thanks for the PR!


CMD-F2 is not working

Hi,
After some testing I figured out that Karabiner does something strange with the key combination CMD-F2 cq CMD-F2 is not working.
I'am using 10.13.6 (17G2208) on a 13" MBP 2018 with Touch Bar and KE 12.1.0
The only remap I use is the CAPS to hyper key (default).
I use TextMate and CMD-F2 sets a bookmark. After quitting KE, bookmarks does work again. Removing KE, and al its settings and reinstall again (with NO remap set at all) does not help.
Any clue how to fix this?
== Feek

Not only TextMate, but all other apps using a CMD-F1-Fx shortcut are affected.
Furthermore when quitting KE, swapping Touch Bar from Function Keys to  'Expanded Control Strip' and vv does not work any more! Restart of Mac is needed (without KW).

Just a hunch, but in the Preferences, the second tab is for Function Keys. At the bottom of window is a checkbox to "Use all F1, F2, etc. keys as standard function keys". I would try changing that setting (if it is not checked, try checking it. If it is checked, try unchecking it).

Hi @dixius99 thnx for the suggestion!
Although I do not use Function keys as default, just for some apps, see

Selecting  "Use all F1,F2...keys als default..."  does solve my problem. The Touch Bar still switch to 'Expanded Control Strip' when leaving TextMate as expected behaviour!
Thnx for helping!

Similar to the above issues, the key combination OPT-ESC also does not work anymore when KE is active. Quitting KE, the combination does work again.

There are similar issues, see #1638


CAEKL mutual information

added the CAEKL mutual information from http://ieeexplore.ieee.org/xpl/articleDetails.jsp?reload=true&arnumber=7270410 and http://arxiv.org/pdf/1605.01233.pdf .
One small issue is that I have implemented it the easy way, but minimizing over all partitions. A faster (in the limit) method is to use linear programming, as detailed in the paper. I leave that implementation for someone else to do if the current one is not fast enough for their needs.
also did some minor cleanup in the multivariate module and documentation.

not sure why landscape has been failing lately. prospector runs fine locally.


Duplicate Market when showing 1 failed

In Market creation sometime a market shows failed to create.  If I hit the resubmit button in the ui it appears to create twice.
Possibly got created the first time and the Failed message in the ui is wrong
This doesnt happen all the time a market failed to create...but we need to figure this out, bc user gets charged bonds and tx fees for 2 of the same markets getting created

Was fixed by @pgebheim I believe

Yes fixed yesterday with #7055


multipe waves are drawn in the same area

multipe waves are drawn in the same area,does the author have any good solutions?

hoping to get author's help above problem..

Thank you for using the library and raising the question. In the original paper it’s algorithm only able to find wave where peak and trough that fits the criteria must sits together consecutively.
As most Elliot wave lies inside the noise to prevent lose track of possible Elliott wave and able to detect multiple scales, it employed a modified version of searching that each point could seed for multiple wave, and whenever the criteria does not match, will stop the exploration of that Elliott wave and kill that instances.
For ways to mitigate.
From developer side, we could add a scoring function and clustering function to filter out some Elliott wave with poor quality and group those more or less the same to the same output. These will be implement in the later release(collaboration appreciated)
from user side, we suggest depends on use case, simple moving average of different time interval could be applied to filter out some unwanted wave
There are plenty of library that could do the job such as ta or ta-lib
Hope the above answer could provide some insight in using the library.

Thank you for your help. Now i have some ideas about this problem,looking forward to the new version.


Fix error handling when getting detector and detector list

Issue #, if available: #157
Description of changes:
Fixes error handling when there are errors (1) getting a detector and (2) getting detector list:

Fixes error message in getDetector() to prevent exception which leads to infinite loading state on detector details pages
Fixes error handling in getDetectorList() which will catch exceptions if there's errors in retrieving detector state for any detectors
Propagate errors getting detector list to dashboard and detector list page via toast notification (will confirm with UX how to handle this)
Refactors error messages in the ad reducer to be unique for each function. This is necessary because during detector deletion, a getDetector() error is thrown. We don't want to propagate this message to user on detector list page, which is where UI is redirected after deletion. Detector list / dashboard pages should only be concerned about errors retrieving all detectors, not a leftover error message caused by a different page.

Infinite loading state (before)

Infinite loading state (after)

Error getting detector list (before)

Error getting detector list (after)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Update regarding getDetectorList() errors: rather than displaying the pages and show 0 detectors, UX has decided to display a different page telling the user about the error and steps to fix (refresh page, etc.). There will be a mockup soon.

Will close and split PR into 2


Application Gateway NOT Showing in Auzre Portal

Can you please confirm if it's by design?
I'm able to select storage account, or app service backend pool, but application gateway does not show in the drop down, and I have created two application gateway in same subscription.

I can open support case if something wrong with my configuration, but first I would like to understand if this is expected or not.
[Enter feedback here]

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

ID: 0880a27b-9437-31a1-ebec-1a892a207b3d
Version Independent ID: 2df0a3fb-77f1-7cc2-8af0-ce239aacaae7
Content: Quickstart: Set up high availability with Azure Front Door Service
Content Source: articles/frontdoor/quickstart-create-front-door.md
Service: frontdoor
GitHub Login: @sharad4u
Microsoft Alias: sharadag

@RonnieQuan Thank you for your feedback! We will review and update as appropriate.

@RonnieQuan I am only able to see the V2 SKU via the portal. If your App gateways are V1 SKU, you will need to add them via 'Custom Host'.

@TravisCragg-MSFT  What about using ARM or powershell to configure front door? is V1 SKU app gateway needs to be configured as 'custom host' as well?
Just want to understand if this is the same behavior from portal or using programmatic way.
By the way, is there any powershell sample or ARM to configure front door?
Thank you so much! Appreciate your help!

@RonnieQuan In my testing with V1 vs V2, the portal just grabs the IP Address of the Application Gateway and uses it as the backend custom host.

"type": "Microsoft.Network/Frontdoors/BackendPools",
        "properties": {
          "backends": [
            {
              "address": "<IP_ADDRESS>",
              "httpPort": 80,
              "httpsPort": 443,
              "priority": 1,
              "weight": 50,
              "backendHostHeader": "<IP_ADDRESS>",
              "enabledState": "Enabled"
            }
          ],

I checked this by creating one of each in the portal and checking the resulting JSON in resources.azure.com.
You should be able to use any PowerShell or Template that creates a custom host backend and use it for an Application Gateway.

@RonnieQuan We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Complete documentation

Complete the documentation for the presentation of the project

[x] Be more specific with the development description
[x] Add the necessary mathematical justifications
[x] Review and specify better each module's justifications
[x] Add more tests and results with the final product

Documentation finished.


Bug: Test issue for ADO-sync

📜 Description
.
👟 Reproduction steps
.
👍 Expected behavior
.
👎 Actual Behavior
.
☸ Kubernetes version
.
Cloud provider

.

🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Test successfull


The SimpleITK filter list should point to SimpleITK Doxygen

The links for the filters in SimpleITK should point to the SimpleITK doxygen:
https://simpleitk.readthedocs.io/en/master/Documentation/docs/source/filters.html

closed by #777


Top bar with sign up and start trading now button should disappear when signup and start trading now button within the footer comes into view

Otherwise you see the signup and start trading now button twice on the screen

done


Fixup search cross workspace polution

Fixed an issue with files from other workspaces showing up in @context search

Adding workspace folder information to react-app that uses
Adding workspace_dir to the meilisearch documents
Keeping the original singlton index as that requires a bigger change
Truncated the context descriptions from absolute paths to only include path relative to workspace directory
Minor build fix for react-app

Note:
I have freely changed the store.config model from workspacePath to workspacePaths as it was unused, can't think of a way how it would backfire at the moment with older versions that might have been using it. Might be missing something here
Workaround for #359
Next steps suggested for @context search:

Clear out files when workspace is not opened - either way you have to read it again because they might have changed since last read
Route search through the sever for consistency
Watch filesystem for changes and update the context items on changes

I like the filtering solution! Will give it a test tomorrow morning. Code looks great


Stable sort option

The default sort is good for some use cases, but if you're trying to filter things that are in chronological order (like git commits) it becomes a bit lackluster. Having an option for stable sorting would be very valuable for picking things from an externally-ordered list.

 I've been experimenting with weights (boosting
factors) for each choice (line), with the formula `log(N/offset)' where
N begin the number of bytes in the input and offset the relative byte
offset for the given line. The factor works like a inverted line offset,
thus lines near the start of the input will receive a greater weight
compared to lines closer to the end of the input. It might consider
submitting my changes upstream if people find it useful.

If you submit it as a PR here, I'll definitely build and use it.
 I've been experimenting with weights (boosting
factors) for each choice (line), with the formula `log(N/offset)' where
N begin the number of bytes in the input and offset the relative byte
offset for the given line. The factor works like a inverted line offset,
thus lines near the start of the input will receive a greater weight
compared to lines closer to the end of the input. It might consider
submitting my changes upstream if people find it useful.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/thoughtbot/pick/issues/107#issuecomment-201769819

Hey @campadrenalin, thanks for your feedback!
Could a filter-only mode that turned off sorting and simply filtered the list be a possible solution to this?
@mptre that's an interesting idea! It's hard to envision what results that would yield but I'd be very happy to try it out! What are your thoughts on a filter-only mode? How do you think it would compare to a weighted sorting?

Filter-only is exactly what I'm looking for (for this use case), whether
it's implemented with custom weighting or not.
On Sat, Mar 26, 2016, 1:17 PM Calle Erlandsson<EMAIL_ADDRESS>wrote:

Hey @campadrenalin https://github.com/campadrenalin, thanks for your
feedback!
Could a filter-only mode that turned off sorting and simply filtered the
list be a possible solution to this?
@mptre https://github.com/mptre that's an interesting idea! It's hard
to envision what results that would yield but I'd be very happy to try it
out! What are your thoughts on a filter-only mode? How do you think it
would compare to a weighted sorting?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/thoughtbot/pick/issues/107#issuecomment-201925631

On Sat, Mar 26, 2016 at 01:17:27PM -0700, Calle Erlandsson wrote:

Hey @campadrenalin, thanks for your feedback!
Could a filter-only mode that turned off sorting and simply filtered the list be a possible solution to this?
@mptre that's an interesting idea! It's hard to envision what results that would yield but I'd be very happy to try it out! What are your thoughts on a filter-only mode? How do you think it would compare to a weighted sorting?

I like the idea of filter-only since it's simpler. But I could push the
weighted solution later for testing and evaluation.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/thoughtbot/pick/issues/107#issuecomment-201925631

--
:wq

Cool! If any of you want to work on this, feel free to do so. If not, I'll look into it when I get some time over!


capslock makes my complex modification not working

I work with a simple comple complex modification ( :) ) which switch the left option with a right control and the left command with a right option in my MacBook Pro.
Here there is my configuration file.
I noticed that when caps lock is activated my complex modification does not work anymore. Is this a bug or a feature?
I think it is a bug, but maybe I will be able to create a workaround creating a custom complex modification for the case in which caps lock is activated.

@LucaMarconato - I am having the exact same issue, but thought the cause was something else.  Thanks for pointing out that caps lock being on is what is causing my complex modifications to stop working.  This was causing me all kinds of headaches trying to figure out why this was happening.  Thanks!

Thank you, I will try. However I noticed that also SHIFT is causing the complex modification to break.
For instance I have a shortcut that requires me to press OPT+SHIFT+D.
If I press, in the order, RIGHT_OPT+SHIFT+D, the complex modification is working, if I press SHIFT+RIGHT_OPT+D, the complex modification breaks.
So when I type fast, since I cannot control the order so much, my complex modification does not work.

For shift, you have to specify, "right_shift" , "left_shift".
If you want all your modifiers to be usable, use "any"
"from": {
    "key_code": "right_option",
     "modifiers": {
          "optional":  "any"
       }
 },
 "to": [
 {
          "key_code": "right_control"
  }
   ],


graft: 0.2.1-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository graft to 0.2.1-0:

upstream repository: https://github.com/ros-perception/graft.git
release repository: https://github.com/ros-gbp/graft-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.19
previous version for package: 0.2.1-0

graft
* update package.xml to have an actual description
* Inintialize covariances in topics
  Publish state relative to node name
* graft sensors: style cleanup
* parameter manager: factor out rosparam array loading, style cleanup
* Contributors: Michael Ferguson, Austin Hendrix

In case anyone thinks this is not, it is intential (I was lazy and used bloom to create the PR for the source job)


在不同的分辨率显示器上，鼠标会发生偏移

UE Version:
E.g. UE 4.27
Description
A clear and concise description of what the bug is.
Expected behavior
像素流可以准确匹配鼠标坐标

Hi @leleshuo, this issue is being tracked here.
Feel free to add any information that can be useful to the original issue and thank you for you patience while we resolve it.


FIX: implicit banch, Tfila_dT/dt convergence

I found one more issue with convergence other than BE & GND. Convergenve failures often occur during the transition phase of nFilament. I guess it's because Tfilament_dT/dt is an exponential function, which might yields gradient divergences. So I changed the term "exp( gamma * a0/Tox * V(TE,BE) / kT_over_q)" into "limexp( gamma * a0/Tox * V(TE,BE) / kT_over_q)" and this solves most of the convergence failure during transient simulation. Though this slows down the speed of simulation, I think it's better to go with safe way. After all, the auhtor of the well-posed model paper also recommended the 'limexp'
Thank you

Looks good. thanks for contributing!


Update credential-tsm-protocol.md

I just updated some heading orders (#, ##) as they appear a bit inconsistent. Nothing changed in the content.

Hi Trinh - let's connect on how we want to edit branches and merge to the main branch.
I'm going to close this request - so we can merge your edits to the TSM branch.


Using as a library

Consider this usage: I want to use a Javascript library depending on jQuery.
There is no npm alternative.
So I must include another copy of jQuery in <script> tags and reference to it as self.jQuery.
I don't want to include jQuery twice, so there are two options:

Rewrite every library I want to use for npm and browserify
Rewrite Raconteur as a simple JS library, as Undum works

Is second option possible and how?

Anything is possible, but not all things I can help you with; and this is certainly not a Raconteur bug or issue.


Refresh button gets hidden off the left edge of the screen when zoomed in

I can repro on IE and Edge. If I zoom out, I can see the full UI, but at a higher zoom factor it is cut off.

@alrod is going to investigate


fix shell detection

Attempt to fix #3564

The idea with this regular expression is to also match dash sh, zsh and so on...

Provided regexp also matches /usr/bin/ssh and /usr/bin/env texhash. So let's keep it simple, and rely on sanity of package developers.


[dataprotection] Support for vaulted blob backups

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

az dataprotection backup-instance initialize-backupconfig: Added parameters --vaulted-backup-containers to provide list of containers to backup
az dataprotection backup-instance initialize-backupconfig: Added parameters --include-all-containers, --storage-account-name, storage-account-resource-group to backup all containers in a storage storage-account-resource-group
az dataprotection backup-instance update: New command, which takes --vaulted-blob-container-list to which we pass the output of initialize-backupconfig
az dataprotection backup-instance update-policy: Had a bug where policy update for a vaulted blob container would remove the backed up containers entirely. This was rewritten to fix that
az dataprotection backup-instance restore initialize-for-item-recovery: now takes --vaulted-blob-prefix-pattern, a new prefix pattern for vaulted blobs restore

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[x] My extension version conforms to the Extension version schema

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@evelyn-ys Can you please review the PR?


1.7.10 -- Integration with Magical Crops - Farming Station only harvests seeds and primary essence drop

Issue Description:
Farming Station plants and harvests crops quite well. However, all drops beyond the seed for the crop and it's primary essence type seem to be lost in the bit bucket.  (This would be the Essence of Nature and Weak Essence rare drops from crops that drop them.)
What happens:
When harvesting, seeds fill machine input inventory and then output, primary essence type goes to output, other drops never appear in machine inventory or on the ground from harvest operations.
What you expected to happen:
All drops to be recognized and placed in the machine's appropriate inventory for use and/or transport to storage.
Steps to reproduce:

Set up any non-fruit/vegetable crop from Magical Crops (magicalcrops-1.7.10_0.1) as you would any other farm crop
Observe the output from the Farming Station.
I've tried various types of vanilla hoes, and the Shiny Hoe from TE... other hoes won't seem to go in the machine. /shrug
...

Affected Versions (Do not use "latest"):

EnderIO: EnderIO-1.7.10-<IP_ADDRESS>7_beta
EnderCore: EnderCore-1.7.10-<IP_ADDRESS>_beta
Minecraft: 1.7.10
Forge: <IP_ADDRESS>4

It's not really an error, so please forgive the lack of logs. I've figured out a way to just use the Farming Station as a planter and harvest with other methods to get all the drops, but it's tedious to set up and might not suit other's needs/space limits. It would be merely a convenience if this could be corrected in mod. Of course, if I'm doing something wrong... let me know, as my search via the web revealed no assistance.

We collect everything the plant gives us. If anything is missing that means that the plant has not returned it to us.

I'm intrigued to understand how Magical Crops knows that a machine is doing the harvesting then. LOL I ran Coal, Dye, Air, Water, Fire, and Earth several cycles with Farming Stations not one Essence of Nature or Weak Essence... doing it by hand took less than one same size area of one crop to get a drop. I can't believe my luck with the machines could be that bad. This is not to argue your statement at all, I believe it. Just wonder how the other mod knows the difference and refuses to drop the additional stuff.

@PegasusRider  other drops never appear in machine inventory or on the ground from harvest operations this line makes me believe, it is an intended mod behaviour, checking if a real or a fake palyer is harvesting and not granting the drops for making it not too easy!
You might think it is a neat idea of automating several methods of gaining resources, but often the mod developer has an special mechanic for that and wan't you to use it or he wan't you to do it by hand all the time!
Mod devs also have intentions when writing mods and sometimes they force you to follow em ... cough cough botanias endoflame cough cough

There is that. But... figuring out how to automate is part of the fun for me. Once I figure out how to do it (even in vanilla I could auto farm these crops, tedious to set up mind you)... the bar on having a machine just do it is fairly moot. Mod developer's intent is understood, but after a certain point it's just a tedium that should be skip-able. I'm at the point where I'm just playing to see what can and can't be done. MFR won't work (I don't have the right version for the "patch" to work or I have too dang many mods or ?) But I only really wanted a planter. Ender IO to the rescue... I just noted that the rares weren't ever showing up if harvesting too. If it's not EIO's fault, then no big deal. I know Magical Crops has attacked the automated farming "problem" from a lot of directions in the past, I'm sure it is an ongoing effort (when in dev) since so many people get upset about things being too easy. (Believe it or not, me too) But there should be a way of breaking that barrier down eventually. And Ender's stuff is pretty top end, expense wise, so you won't ever just start out with these things. LOL

Mod developer's intent is understood, but after a certain point it's just a tedium that should be skip-able well then ask the other mod dev if this is a mishap on his side eventuall as Henry said earlier or if he would kindly ignore the fake player situation or give adives on how to get the dropped stuff to work :D
sometimes there is an option in the configs, you could have a look there first

I had a look at magical crops. The essences are not dropped by the plants themselves. Instead there is an event handler for the HarvestDropsEvent which looks if the harvester is a player with one of the magical crops hoes in its hand and then creates the essence.

Mark has been decidedly silent for some time (from what I saw on the forums). Configs also didn't show anything obvious, though it's certain I could have missed something.

it's a side effect of the way it checks for the tool that is being used. Which just won't work for a plant that uses the vanilla seeds way of getting harvested.

@HenryLoenwind Well, alrighty then :)
Oddly, if you sticky piston the farmland and push it (from below) with a mature crop... everything drops that you expect if you did it by hand. Programming is so... interesting.

Probably it's forcing a crop drop (the piston) rather than a harvest and so it gets the same Event handler?

At any rate, thanks for looking into it deeper than I know how to go. Truly appreciated!

it would just get a blockBreak, no harvest or such things. I see no handling for that, but it's not really easy to see when looking with a decompiler into an obfuscated jar...

^^^ exactly my point. I have not enough of an idea what you're talking about.  LOL  Hence, really and sincerely, thank you.

Honestly, with all the awesome conduits provided, and the vacuum chests... the piston package and timer is a small cost to me. I was just hoping it might be something addressable programmatically, for compactness of final build ;)  (unavoidable... okies!)  Understanding why they aren't dropping makes so much more sense now.

i have an evil idea @HenryLoenwind XD you can fire the event with the given tool in the slot and if it is not invalidated, then catch the event and cancle it yourself, then do your normal way of crop treatment ?!

yes, or we could generate the essence ourselves, which I'd prefer in this case. However, we are quite understaffed, and added new features to 1.7.10 is so very low on the agenda... :(

wait this is 1.7 ??? facepalm @PegasusRider use an Autonomous Activator from Thermal Expansion, this should probably do the trick

@mindforger AA was a no go, not with any tool would it harvest anything.

did you power it properly and configure it properly to use either left or right click and use first slot item only mode!?

indeed :)

then welp and sorry for OT, good luck with porting


Chuck does not remove preceding space

"chuck ice"

Thanks for filing this one. We do need to make our space removal a touch more aggressive. The original implementation was too aggressive, and resulted in merged tokens, but I think we ended up pulling back a bit too far.
The policy I was thinking is as follows:

If there are spaces on either side of the token, always remove one of them
If the token is at start / end of a line (ignoring leading white space) and there is a space on the other side of it, remove the space
Otherwise, if there is space on just one side of the token, remove it if and only if doing so will not cause the newly adjacent tokens to become a single token. For example, we don't want to remove the space if it ends up separating two alphanumeric tokens

Make sense? Cc/ @AndreasArvidsson

One and two is already implemented. What is missing is actually to check the tokenizer if we can remove the white space between two tokens without them becoming single. It not as easy as just check for alphanumerics because we have many more cases where two tokens can become one if you remove the space.

Yep that's what I was thinking too 👍
One other thought is that we may want to do the check a bit further down the pipeline, because today's space removal can end up merging tokens if eg you say "chuck past air" and your cursor is sitting at the end of a token. For example, in the string big apple pie, if your cursor is at the end of big and you say "chuck past air", it will end up as big pie

This already works today; was fixed by #1028


Unsubscribing from all listeners

Is it possible to add a method to let us unsubscribe from all listeners? It could be something like this:
const history = createHistory()
history.listen(..)
history.unlistenAll()

The rationale for this endpoint is that it would make integration with other libraries a lot easier. Personally I need to use Turbolinks in addition to react-router, but I can't simply re-render all my routes in docready anymore because react-router binds event handlers every time it's mounted to the page. If only there was a way to unsubscribe all events from history before rendering the routes, I could easily use both libraries. As it is, I'm having to roll out my own createHistory function, which is not ideal.

Might be better to do this in a history enhancer. I do think it's a bit messy to force an unsubscribe of listeners you may not know about in general – plus this is easy to do in an enhancer (just track all the listeners).

@taion Like this?
/**
 * Returns a new createHistory function that may be used to unlisten
 * from all listeners.
 */
const useUnlistenAll = (createHistory) =>
  (options = {}) => {
    const history = createHistory(options)

    let unlisteners = []
    const listen = (listener) => {
      let unlisten = history.listen(location => listener(location))
      listener.push(unlisten)
      return unlisten
    }

    const unlistenAll = () => {
      unlisteners.forEach(unlisten => unlisten())
    }

    return {
      ...history,
      listen,
      unlistenAll
    }
  }

export default useUnlistenAll

@volkanunsal 👌👀💯
(exactly)

👍  Thank you!


CONTRIBUTING.md out of date

Problem

Does not mention forking the project to make a PR

Even though it's common practice on GitHub, it's not universal, especially if the CONTRIBUTING.md explicitly says to do otherwise

Has references to the itsals way of doing things in VSTS

Steps to reproduce

Read the CONTRIBUTING.md
Realize it's out of date

Solution
Update to describe desired GitHub process
Bonus Points
Add PR and Issue templates

Updated: https://github.com/AlaskaAirlines/OrionWebCoreStyleSheets/commit/edd7e0c33c60721605b9e0e9445a5cb2c286ef1f#diff-8cc7b2b0d78dd2501610391c086a8516


Add unique key

Ensure cluster info providers have unique keys

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

Project coverage is 65.83%. Comparing base (a16e934) to head (5f5f3e1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3817    +/-   ##
========================================
  Coverage   65.83%   65.83%
========================================
  Files         514      514
  Lines        9933     9933
  Branches     2330     2330
========================================
  Hits         6539     6539
+ Misses       3391     3152   -239
- Partials        3      242   +239

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


Use wit.ai to determine doc_type being searched for

Instead of the current keyword use to determine the type of document being searched for, we should use wit.ai for this to be more comprehensive.

@DavidLemayian please create a wit.ai account for this.


Incomplete downloads are not detected

When the transmission is interrupted while downloading a file without checksums, the partial file ends up in the cache. Coursier does not detect that the download is incomplete. This can happen due to network outages or server timeouts, for example.
Steps to reproduce locally

host a file using jwebserver,
stop the server while the download is in progress,
the partial file is now in the file cache -- the .part suffix is removed from the file name.

(Tested with coursier-cache_2.13:2.1.2 and OpenJDK 20.0.2 targeting Java 8.)
Solutions

A basic fix would consist of validating the file size in Downloader#Blocking.doDownload based on the content-length of the connection, so that at least the error does not go unnoticed.

A more advanced fix would try to resume the partial download.

There seems to be some code in place for partial downloads already. To which extent is this supported?
There is also some code for checking the file size that produces a WrongLength artifact error, but it does not regulary seem to be invoked, except in case the file already exists and is locked.

Regarding the code for resuming downloads that is already implemented:
It seems that if a .part file ends up in the cache, Coursier tries to resume the download but appends the entire file length to it if the server does not support byte serving, so that the resulting file is too long.
Two sections of code that look suspicious to me:
https://github.com/coursier/coursier/blob/ef2b1022aa5a3f6040b1a05836147ebe23c5e687/modules/cache/jvm/src/main/scala/coursier/cache/CacheUrl.scala#L217-L225
Here, the condition startOver = isPartial && !hasMatchingHeader seems not general enough. If the client sends a request for a partial download, but the server responds with a code different from 206/416, the download needs to start-over as well (or it needs to be treated as non-partial). In other words, isPartial needs to account for the intent of the request, rather than looking at the response code.
https://github.com/coursier/coursier/blob/ef2b1022aa5a3f6040b1a05836147ebe23c5e687/modules/cache/jvm/src/main/scala/coursier/cache/CacheUrl.scala#L341-L350
Here Coursier checks whether the opened connection refers to a partial download and then proceeds to follow redirects. Ideally, this check should be done after following redirects though.


installing local dependencies from wheel/zip files

unidep doesn't seem to support installing local dependencies using a filepath to a .whl/.zip file, however, it is possible to install them directly via pip (e.g., pip install path/example_package.whl)
This would be extremely useful to me (and probably many others) who use hardware/instruments that have Python driver wrappers distributed as pre-compiled wheels or as zip files
On top of this, trying to use unidep to install via a local .whl/.zip produces very confusing error messages.
Here's an example traceback I've gotten:
Traceback (most recent call last):
  File "C:\miniforge3\envs\py312test\Scripts\unidep-script.py", line 9, in <module>
    sys.exit(_cli.main())
             ^^^^^^^^^^^
  File "C:\miniforge3\envs\py312test\Lib\site-packages\unidep\_cli.py", line 1455, in main
    _install_command(
  File "C:\miniforge3\envs\py312test\Lib\site-packages\unidep\_cli.py", line 882, in _install_command
    requirements = parse_requirements(
                   ^^^^^^^^^^^^^^^^^^^
  File "C:\miniforge3\envs\py312test\Lib\site-packages\unidep\_dependencies_parsing.py", line 415, in parse_requirements
    _update_data_structures(
  File "C:\miniforge3\envs\py312test\Lib\site-packages\unidep\_dependencies_parsing.py", line 267, in _update_data_structures
    _add_local_dependencies(
  File "C:\miniforge3\envs\py312test\Lib\site-packages\unidep\_dependencies_parsing.py", line 364, in _add_local_dependencies
    _update_data_structures(
  File "C:\miniforge3\envs\py312test\Lib\site-packages\unidep\_dependencies_parsing.py", line 240, in _update_data_structures
    data = _load(path_with_extras.path, yaml, verbose=verbose)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\miniforge3\envs\py312test\Lib\site-packages\unidep\_dependencies_parsing.py", line 181, in _load
    return yaml.load(f)
           ^^^^^^^^^^^^
  File "C:\miniforge3\envs\py312test\Lib\site-packages\ruamel\yaml\main.py", line 449, in load
    constructor, parser = self.get_constructor_parser(stream)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\miniforge3\envs\py312test\Lib\site-packages\ruamel\yaml\main.py", line 500, in get_constructor_parser
    self.reader.stream = stream
    ^^^^^^^^^^^^^^^^^^
  File "C:\miniforge3\envs\py312test\Lib\site-packages\ruamel\yaml\reader.py", line 120, in stream
    self.determine_encoding()
  File "C:\miniforge3\envs\py312test\Lib\site-packages\ruamel\yaml\reader.py", line 174, in determine_encoding
    self.update_raw()
  File "C:\miniforge3\envs\py312test\Lib\site-packages\ruamel\yaml\reader.py", line 263, in update_raw
    data = self.stream.read(size)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\miniforge3\envs\py312test\Lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 14: character maps to <undefined>

It appears that the _load() function in _dependencies_parsing.py is trying to load the file as a .yaml file, causing the decoding error.
In the meantime, it would seem beneficial to handle this error/use-case more explicitly - notifying the user that the current implementation only supports .toml/.yaml/.yml file extensions.
Overall, though, I think unidep is an awesome package that simplifies dependency management immensely! I sincerely want to thank you for all the work you've put into this to get it to its current state

Overall, though, I think unidep is an awesome package that simplifies dependency management immensely! I sincerely want to thank you for all the work you've put into this to get it to its current state

Thank you so much, that means a lot!
What you are proposing makes a lot of sense and shouldn't be too hard to implement.
I might be able to do it this week.

May I ask how you are using unidep? In which context?

I have unidep installed to a conda environment (created via mamba) and have the project dependencies listed within a pyproject.toml file at the root of my project. They're paths are listed relative to pyproject.toml
I am able to reproduce the issue using unidep install . at the project's root
I'm not sure if that fully answers your question or not, but let me know if you need any additional information and I'd be happy to provide you with whatever I'm able!

@dustin-dawind I am mostly just curious which features you use, not related to this specific issue per se!
Anyway I opened https://github.com/basnijholt/unidep/pull/212 which should implement the feature you asked for :tada:

I just released https://github.com/basnijholt/unidep/releases/tag/v0.64.0!
Please let me know whether it works for you 😄


HV-763 Removing redundant logging method

Small left-over from https://hibernate.atlassian.net/browse/HV-763.

Merged! Thanks!
(still not convinced your automatic replacement of diamonds is a good idea)

(still not convinced your automatic replacement of diamonds is a good
idea)

But that one wasn't meant to be backported, so it should be fine?

Sure. But it makes each patch less readable.

Ok, now I see that this is your concern. I feel it's digestable if it's
just a small number (similar to import re-org), but I could do separate
commits if you prefer it?


Unable to open camera

Hi, I just follow your tutorial then, I copy paste dist folder then upload in shared hosting.
When I run I got this error in the bottom left side
Unable to open camera. Provide permission to access camera.
How I can fix it?
Thanks.

@darkcyber Can you tell me which browser you are using ??

@darkcyber Got the issue. Your site http://surabayahackerlink.org/unmask-cyber-crime/qr/baca2/  is running http. getUserMedia() API which i am using in qrcode scanner requires https secure origin to work. Move your site to https. This will work.

@gokulkrishh How I can modify the script to work in http too? I just use this script for short time at this moment.
Thanks in advance.

@darkcyber No its not the script. Its mediaStream API which will work only in secure origin.

@darkcyber Closing this issue for my above reason. Thanks.


Support MVK_ALLOW_METAL_EVENTS on NVIDIA and Rosetta2

MoltenVK disables the use of MTLEvents for semaphores on NVIDIA and Rosetta2, since testing indicates that MTLEvents were problematic in this situation.
However, further testing indicates that this is not always the case, and we should create a runtime environment that permits MTLEvents to be used in these situations, if selected by the app.
Potentially override MVK_ALLOW_METAL_EVENTS and MVK_ALLOW_METAL_FENCES with an enum config that would allow options like "use MTLEvents always" and "prefer MTLEvents in most cases", as well as "prefer MTLFences", to allow taking into consideration the NVIDIA and Rosetta2 issues, but also allow them to be overridden by the app.

BTW do we have a small, consistent reproduction of the MTLEvent lockup on Nvidia/Rosetta2?  Or is it just whole games at the moment?

Merge PR #1709 permits this, providing the ability to use enumerated env var MVK_CONFIG_VK_SEMAPHORE_SUPPORT_STYLE to force MTLEvents to always be used, regardless of the GPU or platform, for apps that can safely run on those platforms.


Small cluster cortex

We want cortex to work on a small cluster with ephemeral storage. Currently it only works with Yugabyte.

Another alternative might be to deploy a single stock Prometheus instance instead.

I'm going to close this: we'll create a new optimization related issue to consolidate things like this after we get image pre-positioning working.

I'm going to close this: we'll create a new optimization related issue to consolidate things like this after we get image pre-positioning working.


[YoutubeDL] restore macos terminal window title for --console-title

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Resolves #1782
Escape sequences to save/restore window title don't work with macOS Terminal app. Added the code to get window title on save and set on restore.

Will do some more improvements.

Made script less error prone for getting window title.
Added.

2. should be made another PR, but since the conflict with 1. is obvious, I put it together.


[Event Request] CU 1247 Process Gen Jnl Lines ImportBankStatement

Hello,
can we please add
`
[IntegrationEvent(false, false)]
local procedure OnBeforeImportBankStatement(var GenJnlLine: record "Gen. Journal Line"; var GenJnlBatch: Record "Gen. Journal Batch"; var IsHandled: boolean)
begin
end;
procedure ImportBankStatement(GenJnlLine: Record "Gen. Journal Line")
var
GenJnlBatch: Record "Gen. Journal Batch";
BankAcc: Record "Bank Account";
BankExportImportSetup: Record "Bank Export/Import Setup";
DataExchDef: Record "Data Exch. Def";
DataExchMapping: Record "Data Exch. Mapping";
DataExchLineDef: Record "Data Exch. Line Def";
DataExch: Record "Data Exch.";
GenJnlLineTemplate: Record "Gen. Journal Line";
ProgressWindow: Dialog;
IsHandled: Boolean;
begin
GenJnlBatch.Get(GenJnlLine."Journal Template Name", GenJnlLine."Journal Batch Name");
    OnBeforeImportBankStatement(GenJnlLine, GenJnlBatch, IsHandled);
    if IsHandled then
        exit;

`
it will allow to handle custom import.
Thanks,
Bartek

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


nz-table sorts descending by default

Reproduction link
https://angular-s4nyi3.stackblitz.io
Steps to reproduce

Add nztable and make it sortable
Sort an "unsorted" column

What is expected?
Column should sort "ascending" by default when it does not have a sort order already set.
Or (optionally), provide a setting to control the default sort-order direction of the table.
What is actually happening?
Column sorts "descending" by default.  No other site or behavior in the world sorts descending first.

Environment
Info

ng-zorro-antd
7.3.3

Browser
all

could this demo meet your expect?
https://ng.ant.design/components/table/en#components-table-demo-reset-filter

@vthinkxie How can I set default sorting direction on the first click on non-sorted column?
For now it starts to sort from ascending like you changed but can I revert it back and to sort descending by default?


Fix hostname in adopter registration information

This is the statistical information being sent from the adopter registration:

The hostname being sent is actually the nodename configuration from the custom.properties:
https://github.com/opencast/opencast/blob/5437fcdb377759a1e9ad061172d123116573e27b/etc/custom.properties#L26-L29
This should rarely have any useful information and will typically just be the default value.
Sending the actual hostname from the server.url configuration should be far more useful:
https://github.com/opencast/opencast/blob/5437fcdb377759a1e9ad061172d123116573e27b/etc/custom.properties#L19

@lkiesow I'd like to work on this if you are still looking for contributors

Sure, please do. The relevant code should be around this:
https://github.com/opencast/opencast/blob/5437fcdb377759a1e9ad061172d123116573e27b/modules/adopter-registration-impl/src/main/java/org/opencastproject/adopter/statistic/dto/Host.java#L56


Archive should return record

Currently, archiving a record returns either { deleted: true, id } or { deleted: false } for a successful or unsuccessful deletion, respectively.
It would be very helpful if only the record was returned so that it could potentially be normalized/flattened.

Archiving a record:
// request
archive('company', '1');

// response
{
  id: '1',
  name: 'Google',
  url: 'www.google.com',
  meta: {
    archived: false,
  },
}

@calvinbrewer
The relationships are side-loaded like normal, right?

@dylnslck
Correct:
// archive record with relationships
archive('animal', '1');

// response
{
  id: '1',
  name: 'Snickers',
  type: 'cat',
  owner: {
    id: '2',
    name: 'CJ',
    animals: ['1', '2'],
    meta: {
      archived: false,
    },
  },
  meta: {
    archived: true
  },
}


tsdb/record: use Go standard errors package

Part of #12960
Signed-off-by: Matthieu MOREL<EMAIL_ADDRESS>

Thanks!


Add missing dependencies to README

Most importantly this adds libgpgme-dev, which allows pacman to build support for signed packages. I'll make some pull requests for the different other repositories.

I've removed m4 from this. It is not required for pacman to build.

Actually, I was testing in a docker container which had m4. Pacman does not build without m4, even when using meson.


Add missing files from dd78453

lost in manual rebase of squashed commit

Hmm not sure if this was due to my squash merge or not, sorry in that case.