Couldn't connect to API server, for more info check logs

I am not able to launch mizu as whenever I do so, the mizu-api-server goes into crashloopbackoff state with the below error.
It gives, Failed to get token, Get https://trcc.up9.app/anynonymous/token.

The K8s version in my environment is 1.20.6
Moreover, when I ran mizu on my mac terminal (k8s version: 1.21.2), mizu-api-server pod yaml that got generated as a result was different from what  got while running it in private environment. And on mac terminal its running fine.
In the earlier case it is using the projected volume to obtain the token, but in latter it is directly giving the reference to the service account token using which it is trying to reach some external URL it seems.
MAC mizu api pod for token reference:

Private env api pod for token reference:

As a workaround to fix the mizu-api-server pod, I referenced the token using the projected volume and it stabilized the api server and I was able to access MIZU GUI as well.
But due to this, I had to terminate the earlier instance of mizu api server and launch a new one due to which on mizu GUI I wasn't able to see any tapped pods.
My doubt is that it should be generating the similar api server pod yaml as it was giving on mac terminal, it shouldn't try to reach external URL for fetching the token.
And is there any functionality using which I can keep running on the mizu api pod and can tap the pods later.
I have attached the mizu_cli.log as reference.
Let me know in case any other details are needed.
Below is the config file.

mizu_cli.log
mizu_events.log

Hi @lalitkr90,
Thanks for reaching and sharing your results, from what I can see you are using the option of analysis.
This is what causing the request to get the token and upload the data for more processing that can give you more information. (This is the request you see to trcc.up9.app).
I can see from your config that it is set to "true" so just wanted to know if you change it
Also, I'm not exactly sure what do you mean when you run it on your Mac (and what is the second option)
Hope my question make sense,
You can also join our slack and maybe it will be easier to communicate there (this is the slack invite link - https://join.slack.com/t/up9/shared_invite/zt-tfjnduli-QzlR8VV4Z1w3YnPIAJfhlQ

According to your configuration you set tap.analsys=True. This option enables advanced analysis of collected traffic in the UP9 cloud platform.
Mizu is tries to send the traffic to up9.app, but it seems it could not reach it from you k8s cluster. This is the reason for the panic.
As a workaround you can disable this option and it should work for you. If you would like to use this feature you should enable connectivity from mizu pod to up9.app.
Anyway I think it better not to panic in this case, so I pushed this change:
https://github.com/up9inc/mizu/pull/648

@IgorGov I was able to launch mizu-api-server with the settings that you suggested and UI was also coming up but still it is not tapping any pods and shows that it is waiting for the agent to start.
In the end it still gives, couldn't connect to API server.
MIZU GUI showing 0 tapped pods.

MIZU start logs:

MIZU api server logs:

MIZU cli logs:
mizu_logs_2022_01_17__05_57_16.zip

It seems like the CLI can't establish proxy connection (with kubectl client) to Mizu Agent in k8s cluster. But I see that you somehow manage to connect to Mizu Agent and see the GUI. We are currently working to fix these connectivity issues.
Meanwhile I can suggest to use our latest release 0.22.0, and run ./mizu install - it should install all k8s components, then you can connect to Mizu service with your preferred method (port forward, node port, proxy), or expose it with load balancer for instance.
You can always clean all mizu resources with ./mizu clean.
Notice that it will request setup up password at your first login.

@IgorGov In the latest version, is there any option to specify the images for kratos and basenine with your private registry because mizu-api-server was unable to pull these images.
I manually pushed those images and edited the deployment for mizu-api-server and the pod was able to pull images but kratos is giving failed readiness probe.
Both the kratos and mizu-api-server container restarted 1 time each.
Pod state is still 2/3 running as kratos is not ready yet.
Below are the logs for the kratos and mizu-api-server container when they got restarted.
Kratos logs:

Mizu-api-server logs:

Pod state:

Hi, @lalitkr90,
We are aware of problems in private clusters, we are working on a fix for it, part of this fix will allow specify the image for the database and the kratos images.
I will update here when it is ready (might be in a day or two).

Hi @lalitkr90 , in the latest pre-release version we have option to specify the "basenine" image. we will add option to specify kratos image location soon too.
Also we have merged https://github.com/up9inc/mizu/pull/662 that uses port-forward if proxy is not available, it might with some issues you saw.
I will update when we are changing the kratos to be configurable


Fixes/allow alt modifier for text input

This allows non-English keyboards to type special chars which require ALT modifier keys.
Also restores focus to the input element that alt steals focus from.
Behaviour now matches WPF.

Thanks Dan!


Better sentiment analysis

The sentiment analysis sometimes gets it wrong. It also assigns the tweet's overall sentiment to all companies, which may not be correct in some cases.
One idea would be to try targeted sentiment analysis, e.g. using the IBM Watson AlchemyLanguage API.

I've actually used Watson's API and would be happy to take a crack at it. Not sure at what pace that would be, but I'd be up for it

If you don't mind spawning a java jar and communicating with it over sockets, I worked on a project that did sentiment analysis on the 2012 presidential debate captions. You can see the implementation here (JS): https://github.com/sosolimited/recon_backend/blob/master/named-entity/index.js#L36
Not sure if it'll be helpful, but might be a little easier to start with (but certainly not as powerful as Watson).

Ok, I tried both the Watson sentiment analysis and the targeted sentiment APIs.
Both perform worse than the current implementation using the GCNL APIs.
The targeted one is wrong a lot, I suspect because it just doesn't have enough words in a short tweet to work well. The non-targeted one is frequently neutral where GCNL detects the correct sentiment.

@maxbbraun can you share your test set of tweets and if possible your Watson implementation? My admittedly very limited testing is showing both types of sentiment being accurate

@flaw600 Make the changes, run the benchmark, then look at the diff.

Interesting. You're correct of course. In my limited testing using tweets not used in the benchmark I noticed Watson performing better (meaning more accurately than on this set, I didn't compare against GCNL) on his most recent tweets but you're right to stay on GCNL for now. Very intriguing

For sentiment analyst, since you are using python, neural network with LSTM could be a solution
Something like this : https://github.com/bentrevett/pytorch-sentiment-analysis


Added low-poly car asset to test scene, added car controller

Added some new assets imported from Unity asset shop for our test scene
Made some changes to documents in documentation listing the assets I wish to import in the future and ones I have added today

Sorry to accept merge for my own pull request - just trying to test out things.


[BUG] "Extract Container Stream" file picker does not close

Description
The file picker window does not close until you open a file. If you try to exit, it throws an error ("Could not open the container, it is invalid!") and reopens the file picker again.
Steps to reproduce the bug

Select the "Extract Container Stream" option
Try to close down the file picker either by pressing escape or clicking "cancel".

Expected behaviour
The file picker should close upon exiting.
Video
Not available

hi. was aware of this thanks!
all fixed and coming in the next release.
curious, what kind if container where you trying to extract? metastream section, archive, shaderpack?

Hi!
I was messing around with the application out of curiosity, nothing in particular. For test purposes, I used random files on my computer, incompatible with the tool
I am closing this issue


On-Screen Keyboard Missing Symbol in Wi-Fi Setup

I am using ArkOS 2.0 (11052021) on an Ambernic RG351MP, and I am attempting to connect to my Wi-Fi. My Wi-Fi password has the "&" symbol in it, and this is not on the on-screen keyboard. Plugging in my USB keyboard to type this Symbol doesn't work either. Can this be added in a future version?
Thank you for your time.

Unfortunately the sources for the keyboard used for the wifi script is unavailable.  What you can do is use retroarch to connect to your wifi as that supports special characters.

Stays connected fine on my end when I configure it through Retroarch.  You can also go in via a local terminal connection and configure your wifi manually.  Check the FAQ for your device for more information on this.


More perminant solution for logging issues

Rather than have the exception, this PR just checks for an in during the CLI tests for the output, since figuring out how to silence the loggers for every dependency that could be installed that decides to add bloat to the outputs is not sustainable.
(The tests are currently failing due to DeepSpeed 0.9.4 which changed from a print to a logging.info, making it still always log 🙃 )

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Reenable compat lib in a couple tests

This patch re-enables the compat library on a couple of tests. The issue was that the compat library was pulling in compiler-rt symbols for determining system version. That was fixed with a little dlsym action in 188c7bd626a9ba7a8eac598591f7bdeaedc48de6. It was using the symbols to determine if we had voucher_needs_adopt. It just took a while to re-enable it in these tests.
Finishing up: rdar://100868842

@swift-ci please test

Linux failure: We're hitting the git fetch issue.

@swift-ci please test Linux

@swift-ci please test Linux

@swift-ci please test linux


Only use HTTPS

Closes #151

There's a problem with Python 3.3: https://travis-ci.org/pylast/pylast/jobs/165224071#L216
and pypy: https://travis-ci.org/pylast/pylast/jobs/165224073#L216
and pypy3: https://travis-ci.org/pylast/pylast/jobs/165224074#L218

On Wed, 2016-10-05 at 06:51:23 -0700, Hugo wrote:

There's a problem with Python 3.3: https://travis-ci.org/pylast/pylast/jobs/165224071#L216
and pypy: https://travis-ci.org/pylast/pylast/jobs/165224073#L216
and pypy3: https://travis-ci.org/pylast/pylast/jobs/165224074#L218

Looks like create_default_context() doesn't exist in Python <3.4 and we
have to do:

Specify CA path
Check that the domain we want to connect is listed in the certificate
that the server we connect to is present.

3.3 is still supported another year https://en.wikipedia.org/wiki/CPython#Version_history .
Looks like Ubuntu precise http://packages.ubuntu.com/search?keywords=python3 (which expires 2017-04) and CentOS via SCL https://www.softwarecollections.org/en/scls/rhscl/python33/ still uses 3.3. Although 3.4 can be installed via SCL https://www.softwarecollections.org/en/scls/rhscl/rh-python34/ .
What should we do about the 3.3 (and pypy3, sadly) users? Logging a warn
and be done with it? This feels like a bad idea but I'm not that excited
of writing our own wrapper for it, while searching I found pymongo's SSL
wrapper which is almost 400 LoC and importing one of two different CA
stores.
I have some code on my machine which I'm sure can work. I'm getting it
ready to commit within the day or so.
A side note: It looks like the supported URL for libre.fm now is
libre.fm/2.0 and not alpha.libre.fm? alpha.libre.fm will never work with
SSL (with CN/host validation on).

Let's use HTTPS where available, and HTTP otherwise. That's an improvement over the current situation.
http://www.randalolson.com/2016/09/03/python-2-7-still-reigns-supreme-in-pip-installs/
I'll update the Libre.fm URL.

On Fri, 2016-10-07 at 07:55:29 -0700, Hugo wrote:

Let's use HTTPS where available, and HTTP otherwise. That's an improvement over the current situation.

Where we can use it easily and securely by default?
Or where we can use it period? Because we can use it everywhere, it just
takes more code and dependencies.

I'll update the Libre.fm URL.

Nice!

Thoughts Hugo?
I have both ideas coded I just need to know which one to push :)
On Thu, 13 Oct 2016, at 21:51, Simon Lundström wrote:

On Fri, 2016-10-07 at 07:55:29 -0700, Hugo wrote:

Let's use HTTPS where available, and HTTP otherwise. That's an
improvement over the current situation.

Where we can use it easily and securely by default?
Or where we can use it period? Because we can use it
everywhere, it just
takes more code and dependencies.

I'll update the Libre.fm URL.

Nice!

@simmel Everywhere sounds good!

@hugovk sadly I gave you false hope, using SSL securely everywhere isn't possible.
>3.4 and >2.7.9 has sane defaults and just works(TM).
On 3.3 we have to use certifi and configure it explicitly to be secure. This sadly make all versions depend on certifi since I haven't found a way in setuptools or requirements files to only depend on something when running under a specific Python version.
I think I'm done with this, can you review it?

Sweet! That SO link was exactly what I didn't find before! I settled for extras_require because it makes the code easier to remove and makes it stand out.
I hope I've fixed everything. This time, I ran pep8 two times before I commited ; )

On Wed, 2016-10-19 at 04:48:29 -0700, Hugo wrote:

@simmel Everywhere sounds good!

Ugh, sorry for spreading false hope.
<2.7.9 and <3.2 we can't do good how much we try. Should they use SSL
and hope for the best or just use HTTP there? Hope for the best is what
the code does now.
3.3 we can make sane via the certifi dependency and some
configuration, see the updated code. I'm looking into how to make us
ONLY depend on certifi when on Python 3.3.

3.4 and >2.7.9 all is good.

I'm clueless. TravisCI uses precise, an older Ubuntu version so I thought it might be a problem with too old OpenSSL but that doesn't seem to be the case: https://travis-ci.org/pylast/pylast/jobs/170998686#L198
Might be that pypy3 doesn't seem to have OpenSSL statically build in either but I'll try to list the ciphers in pypy3 some how.

Ah yes, ancient OpenSSL https://travis-ci.org/pylast/pylast/builds/171464271#L210

Should work now.

@hugovk they passed. On pypy3 the tests timed out though, any idea why? Looks like there were ~20ish tests left.
Looks like it always takes that long in pull requests https://travis-ci.org/pylast/pylast/builds/167208560
Your PR worked though https://travis-ci.org/pylast/pylast/jobs/165842936 I'm guessing it's because you have access to the secrets?

Not sure what caused that pypy3 timeout.
Yes, my PR's have access to the secrets. One way is for you to add your encrypted credentials like another contributor has (see https://github.com/pylast/pylast/commit/f1e14f591c083b8bb1834aa9f8c5ce66e4d5a458), or if we do something from https://github.com/pylast/pylast/issues/171.
Now Python 3.3 complains:
NetworkError: [SSL: TLSV1_ALERT_DECODE_ERROR] tlsv1 alert decode error
https://travis-ci.org/pylast/pylast/jobs/171465889#L368

On Sat, 29 Oct 2016, at 14:39, Hugo wrote:

Not sure what caused that pypy3 timeout.
Yes, my PR's have access to the secrets. One way is for you to add
your encrypted credentials like another contributor has (see f1e14f5),
or if we do something from #171[1].
Just make those variables public

Sounds reasonable. In my "now playing"-script for irssi I've just made
them public since it's impossible not to. For me to require every user
to get an API-key is unreasonable.

Now Python 3.3 complains:
NetworkError: [SSL: TLSV1_ALERT_DECODE_ERROR] tlsv1 alert decode error
What the...? I'll look at it this evening. I didn't find that in the
pypy3 logs when I looked o_O

Links:

https://github.com/pylast/pylast/issues/171

Thanks. By the way, that error is from Python 3.3, not PyPy3.

@hugovk looks like this is why Mozillas SSL guide uses the expanded and not the compact version of the cipher strings.

@simmel Thanks for all the work, merged!

Released in pylast 1.7.0.


registration error in PHP for classes that use other classes

Yesterday I got this error when I started up my PHP test script:
PHP Fatal error:  Xee\SequenceIterator must be registered before Xee\Sequence in Unknown on line 0

XeeSequenceIterator is being returned by a function on XeeSequence (to support the Aggregate interface, by implementing get_iterator, so I figured that caused this problem and I rearranged my code to define XeeSequenceIterator earlier.
But today I added some unrelated code and the problem happened again. When I moved the new, unrelated code to the bottom of the Rust module, the problem went away, but this makes me feel uneasy! So this issue is to report the behavior and I will dig into the possible causes a bit next.
It feels as if registration order is more or less random, and this is why sometimes the problem occurs and sometimes it doesn't.
I've spun this off from #327 as I think the macro errors mentioned there aren't necessarily connected to this error, even though it also seems to be a registration order related issue.

I haven't traced the PHP source further, but it's plausible to conclude that  zend_perform_covariant_check is invoked multiple times during registration, and that it fails if the classes are registered in the wrong order.
A potential way to solve this is to sort the classes in topological order: if we know a class references another one in its method signatures, we register that one before we register the other class. A problem is that we don't know this until all methods are registered with the ClassBuilder. We'd need to collect class builders, and then sort them topologically, before we attempt to do the final build (causing the registration).

Another possible way to fix this is to see when these checks happen and whether they can't be deferred until all classes have been registered with PHP.
Looking from the registration end, ext-php-rs calls zend_register_internal_class_ex. This has registration flags set to 0. There seems to be a version dependency that calls zend_register_internal_class_with_flags directly.
Unfortunately I can't find my way through this code so twee what triggers zend_perform_covariant_type_check.
I've also looked through the constants defind in zend_compile.h to see whether there's an obvious way to turn this off, but I haven't found it yet.


"Rename Symbol" operations combine with the previous undo step

When editing a JavaScript file (I haven't tested with other file types), renaming multiple symbols in a row, then attempting to undo the last one, will result in all of them being undone.

VSCode Version: Code 1.14.0 (b8cd5b9556d8b70ea560d35b903422363f6c5c40, 2017-07-10T18:24:22.120Z)
OS Version: Darwin x64 16.6.0
Extensions:

Extension
Author (truncated)
Version

vscode-eslint
dba
1.2.11

gitlens
eam
4.3.1

vscode-ember
emb
0.1.0

vsc-ember-cli
fel
0.3.3

csstriggers
kis
0.3.1

cpptools
ms-
0.12.0

vscode-icons
rob
7.10.1

Steps to Reproduce:

Open a new file (Cmd-N).
Change the language mode to JavaScript (Cmd-Shift-P, "mode", Enter, "javas", Enter).
Type const foo = 1; and press Enter.
Type const bar = 2; and press Enter.
Ctrl-click on the token "foo", select "Rename Symbol", type "foo1", and press Enter.
Ctrl-click on the token "bar", select "Rename Symbol", type "bar2", and press Enter.
Undo a single step (Cmd-Z).
Observe that both rename operations have been undone.

Reproduces without extensions: Yes

This does not seem JavaScript specific. @alexandrudima or @rebornix Can you please take a look since this involves the undo history

@jrieken undo stops can be pushed via model.pushStackElement
two calls should be made, before and after the call to model.pushEditOperations in
https://github.com/Microsoft/vscode/blob/7494a1b944e9a81c504a0a6f1bc33f5522cd81cc/src/vs/editor/common/services/bulkEdit.ts#L117


better treatment of hypers

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (832aa34) 32.38% compared to head (d9c935d) 31.36%.
Report is 2 commits behind head on master.

Files
Patch %
Lines

src/sampler.jl
94.73%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   32.38%   31.36%   -1.02%
==========================================
  Files          13       13
  Lines         741      730      -11
==========================================
- Hits          240      229      -11
  Misses        501      501

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


#56: completion bash and jline

Implements #56 and builds on PR #112

completely redesigned CLI handling
use OOP/polymorhpism for CLI parsing and auto-suggestion
prevent hacks with changing IdeContext after initial creation
added CompleteCommandlet
added ShellCommandlet
improved VersionCommandlet and help texts
added some more tests

TODOs:

completion handling of combined options such as -d  -TAB-> -df -TAB-> -dfo
completion handling of key/value properties such as --key=v -TAB-> --key=value
generalize getting help descriptions from HelpCommandlet to AbstractIdeContext
add help descriptions in CompletionCandidateCollector
refactor/rewrite ShellCommandlet to use new completion infrastructure
rename promt> to ide>
more testing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.6%) to 51.679%

Totals

Change from base Build<PHONE_NUMBER>:
-1.6%

Covered Lines:
3220

Relevant Lines:
5983

💛  - Coveralls

-1.6%

Seems, I need to add more tests ;)


Adopt mutation testing

See https://stryker-mutator.io/.

Investigated Stryker Mutator; didn't appear to be useful, as it just caused TS compilation errors without marking those as failed tests/killed mutants.


Add S8N, SUPERSEIZ and SENSEI tokens to popular pairs and tokens in Sei config

Add to popular tokens and pairs:

S8N: 0xdD1358dF189aF9605dd9978e1c89eE4ec5B4E6Fe
SUPERSEIZ: 0x3140E3ead4943A1e603CCaC577B50E9889AB27f3
SENSEI: 0x34a8bB445004E47d1a65573A2c085cE6D134f815

[ ] USDT symbol - is this a mistake?

[ ] add USDC and USDT to popular list
0xB75D0B03c06A926e488e2659DF1A861F860bD3d1
0x3894085Ef7Ff0f0aeDf52E2A2704928d1Ec074F1

[ ] tokenlist tokens
on the sei chain public tokenlist found here, there are several USDC and USDT yet we only show 1 of each.
please validate we are not missing something here.

[ ] please update db with token addresses so we can fetch usd values for them

USDT symbol - is this a mistake?

I've used the same symbol, logo and name used in 'pacific-1' in the assetlist, which refers to the Sei Cosmos, to keep it consistent. That symbol is also the official one that you can find in the tether website. Looks good to me.

tokenlist tokens
on the sei chain public tokenlist found here, there are several USDC and USDT yet we only show 1 of each.
please validate we are not missing something here.

All good, the tokens shown in that list are under 'pacific-1-evm', which only has three tokens at the moment - SEI, USDC and USDT.

please update db with token addresses so we can fetch usd values for them

That update will happen here https://github.com/bancorprotocol/carbon-backend/blob/7c9ce965c005123a7242dd254503c25c2102ee57/src/v1/market-rate/market-rate.controller.ts


Adding new stand alone samples for bot translator

Added new LUIS translator sample
-Added new QnA translator sample

@amirt-microsoft Please enable StyleCop.Analyzers and AsyncUsageAnalyzers. Please also use the BotBuilder.Ruleset file, so that we are enforcing the same rules across all projects. You can look at any of the BotBuilder projects to see how this is setup and enabled.
We are working now on adding them to the samples.
Once you've got all the StyleCop related warnings cleaned up, I'm happy to review this PR.

@amr-elsehemy To enable, add the following to your solution file:
<ItemGroup>
		<PackageReference Include="AsyncUsageAnalyzers" Version="1.0.0-alpha003" PrivateAssets="all" />
		<PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta008" PrivateAssets="all" />
	</ItemGroup>

The ruleset file we're using you should simply copy for now ("Botbuilder.Ruleset"). I'll soon package this up in a NuGet package and add it as a dependency across the system, but we're not quite ready for that yet.

@cleemullins I've a concern regarding the OnTurn method in IBot  interface, it seems that the method naming to OnTurnAsync is not available in the current Bot builder nuget package, so I can't quiet rename that in the sample to resolve AsyncUsageAnalyzers warning , so what's the current convention to address that ?

@amr-elsehemy Hey Amir, the OnTurnAsync has been renamed in the master repo, but the correstponding packages have NOT yet been published to the Nuget feed. As you point out, the samples in the Repo are based on our public Nuget packages, creating a chicken/egg problem.
The answer for now is "queue up the changes" and we'll update the samples the day after the new packages are published.

@amr-elsehemy The folks from Southworks have updated the Translation code to the latest APIs and applied a majority of the stylecop rules. Can you take a look at that and see what impact, if any, there is on this code?

The Translation components have been removed from the product for the time being and are being moved to a sample. Closing this PR.


ENH: Provide fine grained version detail for CMake find_package

Bug fixes to the interface often need to be accounted for when
finding a TBB package.  Add the interface details as a
patch to the versioning.

Any progress on this?

It will be available in the next release.

Thanks. Closing assuming this has been completed.

Included to TBB 2019 Update 4.


RENT Regression with hyperparameter search with the Bayesian information criterion (BIC) Does not Work.

Describe the bug
When attempting to implement the BIC HP search with RENT_Regression, I encounter the following error:
[Parallel(n_jobs=-1)]: Using backend ThreadingBackend with 16 concurrent workers.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-25-cdc54a9c1283> in <module>
      2 my_l1_ratios = [0, 0.1, 0.25, 0.5, 0.75, 0.9, 1]
      3
----> 4 model = RENT.RENT_Regression(data=train_data,
      5                                 target=train_labels,
      6                                 feat_names=train_data.columns,

~/agemapper/env/lib/python3.8/site-packages/RENT/RENT.py in __init__(self, data, target, feat_names, C, l1_ratios, autoEnetParSel, BIC, poly, testsize_range, K, scale, random_state, verbose)
   1726
   1727
-> 1728         super().__init__(data, target, feat_names, C, l1_ratios,
   1729                          autoEnetParSel, BIC, poly, testsize_range, K, scale,
   1730                          random_state, verbose)

~/agemapper/env/lib/python3.8/site-packages/RENT/RENT.py in __init__(self, data, target, feat_names, C, l1_ratios, autoEnetParSel, BIC, poly, testsize_range, K, scale, random_state, verbose)
    215                                                             l1_ratios=l1_ratios)
    216             else:
--> 217                 self._C, self._l1_ratios = self._par_selection_BIC(C=C,
    218                                                             l1_ratios=l1_ratios)
    219             self._C = [self._C]

~/agemapper/env/lib/python3.8/site-packages/RENT/RENT.py in _par_selection_BIC(self, C, l1_ratios)
   1912                 self._BIC_df.loc[l1,reg] = n * np.log(2*np.pi *sigma_2) + 1/sigma_2 * SSE + np.log(n) * num_params
   1913
-> 1914         Parallel(n_jobs=-1, verbose=1, backend="threading")(
   1915              map(delayed(run_parallel), l1_ratios))
   1916

~/agemapper/env/lib/python3.8/site-packages/joblib/parallel.py in __call__(self, iterable)
   1040
   1041             with self._backend.retrieval_context():
-> 1042                 self.retrieve()
   1043             # Make sure that we get a last message telling us we are done
   1044             elapsed_time = time.time() - self._start_time

~/agemapper/env/lib/python3.8/site-packages/joblib/parallel.py in retrieve(self)
    919             try:
    920                 if getattr(self._backend, 'supports_timeout', False):
--> 921                     self._output.extend(job.get(timeout=self.timeout))
    922                 else:
    923                     self._output.extend(job.get())

/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/pool.py in get(self, timeout)
    766             return self._value
    767         else:
--> 768             raise self._value
    769
    770     def _set(self, i, obj):

/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/multiprocessing/pool.py in worker(inqueue, outqueue, initializer, initargs, maxtasks, wrap_exception)
    123         job, i, func, args, kwds = task
    124         try:
--> 125             result = (True, func(*args, **kwds))
    126         except Exception as e:
    127             if wrap_exception and func is not _helper_reraises_exception:

~/agemapper/env/lib/python3.8/site-packages/joblib/_parallel_backends.py in __call__(self, *args, **kwargs)
    593     def __call__(self, *args, **kwargs):
    594         try:
--> 595             return self.func(*args, **kwargs)
    596         except KeyboardInterrupt as e:
    597             # We capture the KeyboardInterrupt and reraise it as

~/agemapper/env/lib/python3.8/site-packages/joblib/parallel.py in __call__(self)
    250         # change the default number of processes to -1
    251         with parallel_backend(self._backend, n_jobs=self._n_jobs):
--> 252             return [func(*args, **kwargs)
    253                     for func, args, kwargs in self.items]
    254

~/agemapper/env/lib/python3.8/site-packages/joblib/parallel.py in <listcomp>(.0)
    250         # change the default number of processes to -1
    251         with parallel_backend(self._backend, n_jobs=self._n_jobs):
--> 252             return [func(*args, **kwargs)
    253                     for func, args, kwargs in self.items]
    254

~/agemapper/env/lib/python3.8/site-packages/RENT/RENT.py in run_parallel(l1)
   1898                 mod_coef = sgd.coef_.reshape(1, len(sgd.coef_))
   1899                 #params = np.where(mod_coef != 0)[1]
-> 1900                 self.test_coef = mod_coef
   1901                 num_params = len(np.where(mod_coef != 0)[1]) + 1
   1902

AttributeError: 'RENT_Regression' object has no attribute 'test_coef'

To Reproduce
Steps to reproduce the behaviour, run the following python code, as described in your Jupyter Notebooks, after the usual imports. I have tried this with both my own dataset, as well as with the synthetic dataset described in your notebooks.
from sklearn.datasets import make_regression
from sklearn.model_selection import train_test_split

data = make_regression(n_samples=250, n_features=1000, n_informative=20, random_state=0, shuffle=False)

my_data = pd.DataFrame(data[0])
my_target = data[1]
my_feat_names = ['f{0}'.format(x+1) for x in range(len(my_data.columns))]

train_data, test_data, train_labels, test_labels = train_test_split(my_data, my_target, test_size=0.3, random_state=0)

my_C_params = [0.1, 1, 10]
my_l1_ratios = [0, 0.1, 0.25, 0.5, 0.75, 0.9, 1]

model = RENT.RENT_Regression(data=train_data,
                                target=train_labels,
                                feat_names=train_data.columns,
                                C= my_C_params,
                                l1_ratios=my_l1_ratios,
                                autoEnetParSel=True,
                                poly='OFF',
                                BIC=True,
                                testsize_range=(0.25,0.25),
                                K=100,
                                random_state=0,
                                verbose=1)

Expected behavior
I would expect the model to run smoothly without any issues, similar to the Classification example.
Desktop (please complete the following information):

OS: macOS Monterey 12.2.1 (21D62)
Browser: Safari + Jupyter Notebooks
Jupyter Versions:
jupyter core     : 4.6.3
jupyter-notebook : 6.1.5
qtconsole        : 4.7.7
ipython          : 7.19.0
ipykernel        : 5.3.4
jupyter client   : 6.1.7
jupyter lab      : not installed
nbconvert        : 6.0.7
ipywidgets       : 7.5.1
nbformat         : 5.0.8
traitlets        : 5.0.5

Thank you for reporting this issue @AndreiRoibu! This should hopefully be only a minor issue. We'll look into this as quickly as possible.

Thanks for the report! The error is fixed now, and your code should work.


RFC: Add a better section API

The current section API is nearly useless for tasks other than getting the debug info out. Here's a hack that I threw together to get done what I needed but we should make a better API than I've implemented. Thoughts?

Coverage remained the same at 0.0% when pulling cfd1c4b9dacfe484df3fd585a4778b707e6df030 on jrmuizel:section into e31a05fddbd5af4f986d978e186c3940157abd3e on gimli-rs:master.

Here's a completely different approach that adds a get_sections() that returns an iterator. It still needs some cleanup but I'd be interested if anyone's opposed to this approach: https://github.com/jrmuizel/object/commit/7e67f4e08bedb22f445af4793fd141990d8da9ac

I think that approach is great.

This has been replaced by #24


Unable to add new field from calulation/binary transform a series from CompareQueries

What happened?
I believe this is a similar issue to https://github.com/AutohomeCorp/autohome-compareQueries-datasource/issues/41
I believe when using CompareQueries it breaks the ability to add new calculated fields via Grafana's Transform Data option.
If I toggle CompareQueries off the series generated by the transform show, if I toggle it back on the transforms stop.
The reason I'm attempting to do this is I have

Query A - CPU Usage for today
Query B - CompareQueries doing a time shift of 1d
Grafana Transform - Diff the two queries

What did you expect to happen?
The diff to be displayed
Did this work before?
N/A
How do we reproduce it?

Create Query A
Create Query B which is a CompareQuery of Query A but time shifted
Use Grafana transform to Add field from calculation and do a math operator on the two series

Environment (with versions)?
Grafana: 11.0.0
OS: Windows
Browser: Edge
Grafana platform?
Docker

Hi, @fenneh according to the docs on Grafana， since the compareQuery plugin is a frontend plugin, so it's unable to support the feature which only works in backend plugin.

same problem, any solution?

same problem, any solution?

@ShelbyTang For frontend plugin it is unable to use the backend feature, I will try to do some development for this feature if free these days


SQL Server 2017 Azure Storage backup

Description of the issue
When backing up to URL from SQL Server using SAS Token, these error messages happen.```
EXECUTE dbo.DatabaseBackup
@Databases = 'ReportServer',
@URL = 'https://.blob.core.windows.net/',
@BackupType = 'FULL',
@NumberOfFiles = 1,
@BlockSize = 65536,
@MaxTransferSize  = 4194304,
@CopyOnly = 'Y',
@Compress = 'Y',
@CheckSum = 'Y',
@Verify = 'Y'```
Msg 50000, Level 16, State 1, Procedure dbo.DatabaseBackup, Line 586 [Batch Start Line 19]
The value for the parameter @BlockSize is not supported.```
Msg 50000, Level 16, State 1, Procedure dbo.DatabaseBackup, Line 600 [Batch Start Line 19]
The value for the parameter @MaxTransferSize is not supported.```
Msg 50000, Level 16, State 1, Procedure dbo.DatabaseBackup, Line 705 [Batch Start Line 19]
The value for the parameter @Credential is not supported.```
SQL Server version and edition
Microsoft SQL Server 2017 (RTM-CU16) (KB4508218) - 14.0.3223.3 (X64)   Jul 12 2019 17:43:08   Copyright (C) 2017 Microsoft Corporation  Developer Edition (64-bit) on Windows Server 2016 Standard 10.0  (Build 14393: ) (Hypervisor) ```
Version of the script
Version: 2019-06-14 00:05:34 ```
What command are you executing?
See above ```
What output are you getting?
See above ```

I had a bad value in my SECRET value in my Credential for SAS.  Once I fixed that, these issues went away.


Update BINDINGS.md to include rayjs

Hi everyone, I made a standalone Javascript interpreter based on QuickJS with bindings for Raylib and would like to add it to the list.

@mode777 Nice! Great addition! 👍😄


Adding sections

@aliberro42 you should first exclude any file below « .docusaurus » folder before.

@aliberro42 You should also first merge locally with the starlake.ai/starlake main branch

The PR is still invalid @aliberro42

Done Dr
On Thu, Jul 28, 2022 at 7:27 PM Hayssam Saleh @.***>
wrote:

@aliberro42 https://github.com/aliberro42 You should also first merge
locally with the starlake.ai/starlake main branch
—
Reply to this email directly, view it on GitHub
https://github.com/starlake-ai/starlake/pull/279#issuecomment-1198373524,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVQE2CB7RNQKZPTTOT5QLXTVWKYIPANCNFSM54Y62UPQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


feature/add-package-readmes

GitHub Issue
#276

[x] monorepo (top level)
[x] apps (top level)
[x] libs (top level)
[ ] subgraphs
[ ] sdk
[ ] commons
[x] DAOhaus Connect
[ ] summon
[ ] hub
[ ] component library
[ ] helm
[ ] kubernetes
[ ] ceramic node
[ ] subgraph node
[ ] jobs

Changes
Work in progress, but will add READMEs to each package and at the top level of the monorepo.
Packages Added
n/a
Checks
Before making your PR, please check the following:

[ ] Critical lint errors are resolved
[ ] App runs locally
[ ] App builds locally (run the build command for any impacted package and check for any errors before the PR)

@earth2travis i removed contracts from this list based on our earlier conversation -- that can come later but the Mystics repo is really solid on their README

DAOhaus Connect added -- covered basic use but can add more robust examples highlighting things such as the Ceramic profile functionality

Hub is pretty solid, but I definitely need to add more to the Summon README

Added commons README -- we can definitely add more explanations when we create more robust docs


[stable/airflow] be able to change git sync target

Helpful when you want to sync to a subdir
Signed-off-by: Steffen Tautenhahn<EMAIL_ADDRESS>
Is this a new chart
No
What this PR does / why we need it:
Which issue this PR fixes
None
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@gsemet

great !
/lgtm


DE: add bwegt TRIAS

This adds the bwegt/nvbw trias endpoint configuration and add a link to the website, where one can sign up for an API-Key

One issue that came up with this specific client, is that a certain user-agent broke the communication with the TRIAS endpoint, as described here: https://python.tutorialink.com/post-request-to-trias-api-does-not-work-with-requests/
This seems to be a very weird issue and is rarely documented anywhere. However it would might make sense to document it in the .json as well, as else the requests will fail with 502 Error code, with no obvious reason. If anyone has any thoughts on that, or did encounter this issue as well, I would appreciate some opinions.

[…] a certain user-agent broke the communication with the TRIAS endpoint […]
This seems to be a very weird issue and is rarely documented anywhere. However it would might make sense to document it in the .json as well […].

I agree, this is very relevant. But I'm don't know how this would scale; For example, the VBB HAFAS APIs blocks dozens, if not hundreds, specific User-Agents by now. How would we ever keep these lists up-to-date?

Also if this issue is not specific to TRIAS-Endpoints we might also want to discuss it in general in a separate Issue, don't we?

Also if this issue is not specific to TRIAS-Endpoints we might also want to discuss it in general in a separate Issue, don't we?

Sure, if there's more you would like to discuss, open an Issue! 😊 Otherwise we can just merge a first version.

Also if this issue is not specific to TRIAS-Endpoints we might also want to discuss it in general in a separate Issue, don't we?

Sure, if there's more you would like to discuss, open an Issue! blush Otherwise we can just merge a first version.

This PR is fine from my side. Will open another issue to discuss the user-agent problem and how to deal with it. But imo it is not a stopper for this PR.


Thread error?

EDIT YOUR CONFIG.PY BEFORE USING!
Type one of the following numbers to launch that spammmer
+========-Server Spammers-=========+
1 : Text Spammer - Write your own text to spam
2 : Image Spammer - Spam random images in a selected folder
3 : Insult Spammer - Picks insults online and spams them
+========-DM Spammers-=========+
4 : Text Spammer - Write your own text to spam
5 : Image Spammer - Spam random images in a selected folder
6 : Insult Spammer - Picks insults online and spams them
+========-Other-=========+
7 : Join Server - Join the server thats written in the config
+========-Account Creator-=========+
8 : Account creator - Create bulk accounts
9 : Account verifier - Verify accounts
Select a bot: 7
Fatal Python error: _Py_InitializeCore_impl: no thread state found
Thread 0x000000016d17f000 (most recent call first):
File "start.py", line 141 in

Discord has blocked self bots, this bot used Discord.py which has also blocked selfbots.
This has been ported to a new API made by arandomnewaccount and I.
Please update the script.


feat(addon-commerce): add currency code converter

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Refactoring
[ ] Code style update
[ ] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Closes #
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

no activity since Dec 5
prefer: https://github.com/Tinkoff/taiga-ui/pull/3563


Auto save

As a user, I want all my progress to be automatically saved

[ ] auto save works for all artefacts
[ ] pushed to develop

@ma-ro I think this needs further specification. Does that mean that we have session-spanning data?


Snapshot tests fail if not building in git repository

https://github.com/obi1kenobi/cargo-semver-checks/blob/00a7b09de4cac65da248736b15c55478b829ac55/tests/integration_snapshots.rs#L56
For our build in nixpkgs, this line fails because there is no hash when building, so the snapshot does not match with ([HASH]).

Edit: Screenshot for transparency:

https://github.com/obi1kenobi/cargo-semver-checks/blob/00a7b09de4cac65da248736b15c55478b829ac55/tests/integration_snapshots.rs#L55
- r"cargo-semver-checks \d+\.\d+\.\d+(-[\w\.-]+)? \(\w+(-modified)?\)",
+ r"cargo-semver-checks \d+\.\d+\.\d+(-[\w\.-]+)? (\(\w+(-modified)?\))?",

should work, I can make a PR later today.

Thank you both!


Avoid additional http request to obtain owner_id

I noticed that a post's owner_id is obtained from the respective owner_profile. If the owner_profile has not been fetched yet, an additional http request is made. However, if the Post instance has been created from a hashtag.get_posts() iterator, the owner_id is already available, and the additional http request is unnecessary. As far as I can see, the PR avoids this unnecessary (and costly) http call.

Oh sorry seems like I made changes to master but compared against upcoming/v4.6; should I close and create a new PR where I make changes to upcoming/v4.6?

Great, thanks!


update authn libraries

@rubensworks could you please merge and release this asap; and then if possible update then update the downstream dependency https://github.com/comunica/comunica-feature-solid.

Looks like this will be a breaking change. Could you update the GH actions workflow to exclude the Node 12 version?
I can then look into releasing this tomorrow.

Released as 2.0.0.


Image doesn't render local source (path with no extension name)

🐛 Bug Report
// write image to local path(iOS native code)
  NSString *path = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES).firstObject;
  NSString *filePath = [path stringByAppendingPathComponent:[NSString stringWithFormat:@"image"]];
  [UIImagePNGRepresentation(image) writeToFile:filePath atomically:YES]

// under iOS (it works great)
[UIImage imageWithContentsOfFile: filePath];

// under react native (Could not find image filePath)
<Image source={{ uri:  filePath }} />

// If the filePath with extension name it works on both
  NSString *filePath = [path stringByAppendingPathComponent:[NSString<EMAIL_ADDRESS>  [UIImagePNGRepresentation(image) writeToFile:filePath atomically:YES]

Reason is the file has no extension name when write to path! It doesn't master under iOS, not work under React native!

Code Example
Github react-native-image-no-extension
Why I need to render image from local source
My project is using a iOS native IM framework. The framework save image to the local path without extension. Now I build chat ui by react native, so I must be able to render the image!
Environment
React Native Environment Info:
System:
OS: macOS 10.14.3
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 120.35 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 8.11.1 - /usr/local/bin/node
Yarn: yarn install v0.22.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 9.43s. - /usr/local/bin/yarn
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 26, 27, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-28 | Intel x86 Atom_64
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.58.6 => 0.58.6
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7

Reason is the file has no extension name when write to path! It doesn't master under iOS, not work under React native!

Unable to repro: https://snack.expo.io/@jkcooper/rn23844-image-wo-extension
I would recommend checking the file path you're using is correct, and that react native has access to the folder. There may be an issue there somewhere (I remember having difficulties loading images from react-native-fs a long time ago), but I believe would be best created under a separate issue when identified
I'd recommend asking on reactiflux to see how other people did it.

Cuz the sources are different, so  unable to reproduce!
I will try to ask for help on Reactiflux!
Thanks!

@react-native-bot I upgrade to the latest version! Still have the same issue!

@zhongwuzw #23864 works!

@Liqiankun #23864 is being reviewed in facebook internal team, it would be merged if approved.

@zhongwuzw Thanks! That'd be great!

I got new issue!
Here are two local path

// file:///Users/old_david/Library/Developer/CoreSimulator/Devices/0B3F56B2-F48F-4970-A7F5-DDB8361CA2EF/data/Containers/Data/Application/80B86F95-1856-4192-B3A7-D1E5947E4B24/Documents/HyphenateSDK/appdata/aihehuo204535/aihehuo211792/1552447525991
 // file:///Users/old_david/Library/Developer/CoreSimulator/Devices/0B3F56B2-F48F-4970-A7F5-DDB8361CA2EF/data/Containers/Data/Application/80B86F95-1856-4192-B3A7-D1E5947E4B24/Documents/HyphenateSDK/appdata/aihehuo204535/aihehuo9337889/fb0cb8d0-4561-11e9-a586-dbad6fe04e5e
The first path can be rendered, not for then second one! @zhongwuzw

@Liqiankun Emm, these paths typically are the same, can you check put fb0cb8d0-4561-11e9-a586-dbad6fe04e5e image to another directory, or just rename it to thumb_fb0cb8d0-4561-11e9-a586-dbad6fe04e5e, the issue still exist?

@zhongwuzw It works! I have to upgrade the project I'm working on to 0.59.0!
I guess this issue related with react native version!

fixed in
https://github.com/facebook/react-native/commit/e40a76715a11b1465c10076f975ff7335c84cf30


fix participant refreshing the room information after room closed

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

Oh,sorry. I meet a problem about room delete. details in #2453.


Deprecated decorated is not covered by tests

Based on coverage report the MR https://github.com/oamg/leapp/pull/640
is not covered by tests.
----------- coverage: platform linux, python 3.8.3-final-0 -----------
Name                                              Stmts   Miss  Cover   Missing
-------------------------------------------------------------------------------
leapp/utils/deprecation.py                           64     52    19%   22-41, 63-114

Actually it might be a fluke in the detection
We have testing repos in tests/data that contain certain code for testing it

@vinzenz thx for pointing out. Investigating this

hey @vinzenz, could you please point me out what I am doing wrong.  I am running tests via make test. Also I found out that travis also not testing the deprecation.py module, at least what I see here (https://travis-ci.org/github/oamg/leapp/jobs/700842579#L758).

I figured out what is going on, I missed in the commit the actual test_deprecation.py to be committed. Will create it.


fixMake sure external table fetched dbId before call getRowCount. (#31379)

Call external table makeSureInitialized before get row count cache. Otherwise, the dbId value could be 0 which will fail to load row count cache.
backport https://github.com/apache/doris/pull/31379

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Package icefunprog tool

For https://github.com/timvideos/litex-buildenv/issues/181 we need iceFUNprog tool in conda.

@y2kbugger

This was done by @y2kbugger, thank you so much!


Pagination added in blog page

Closes #59

@rahulsainlll pagination added to blog page , posts per page is 6.

#59 @rahulsainlll pagination added to blog page , posts per page is 6.

Attach screenshots

@rahulsainlll can you please add hactoberfest lable .


Add check wrong null type

By the way, should add case to the integration test?

yeah, I will add in graph repo


Add 'request' param to set_cookie examples

It seems to be necessary and it seems like the docs aren't in sync but I might be wrong.

I think the repsonse parameter is being piped in but set_cookie wants both the response and the request as the first two arguments?


Using a command from History: by pressing enter should update the : history.

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[x] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish

Currently when pressing enter for a highlighted command while browsing the History: runs the command but does not update the history. I would like to be able to use :<up><cr> to repeat the command I just ran again, without having to search for it again.
Interestingly, History/ updates the / search history

Wrong repo.


Todos & Backlog

34 v2 Backlog
35 (much of this is test / synopsis examples / new mezzanine methods)
36 - Set style ops
37 -- expose series eg. df.A, etc
38 -- see notes
39 - Combine
40 -- .splice ok
41 - Apply?
42 -- .map ok
43 - Duplicate labels?
44 -- don't support, need to detect and error
45 - Index alignment?
46 -- just an outer concat with fillna
47 - String ops?
48 -- .map ok (regex example)
49 - Merge & Join?
50 -- .concat ok
51 - Column sort
52 -- splice ok
53 - Exceptions
54 - Stats
55 - Histogramming
56 - SQL style ops
57 -- Group by
58 - Reshaping (stacking)
59 - Pivot tables
60 - Time Series
61 - Categoricals (Enums)
62 - Plotting
Triage Pandas Operations for other Base candidates
df2.A
df2.clone

also - decide "immutability" strategy - viz. Math::Matrix

also - decide custom operator strategy <[+-*/]>

see https://github.com/p6steve/raku-Dan-Pandas/issues/1

df2.cmp?


Use anti-aliased icon for Windows.

Can you use an anti-aliased icon for the Windows version ? If you want, I know a great site to convert PNG to ICO with anti-aliasing : CloudConvert.

I close this issue as the repository is now abandoned, but here's Python code using Pillow to do it:
image = Image.open('logo.png')

sizes = [(16, 16), (32, 32), (48, 48), (64, 64), (128, 128), (256, 256)]
resized_images = [image.resize(size, Image.BICUBIC) for size in sizes]

resized_images[-1].save('logo.ico', format='ICO', sizes=sizes, append_images=resized_images)


fix(object): fixed pick not working when the target object is proxified or has its own hasOwnProperty method overwritten

Description
fix(object): fixed pick not working when the target object is proxified or has its own hasOwnProperty method overwritten
P.S. I have chosen to use Object.prototype.hasOwnProperty.call instead of the static Object.hasOwn because the latter method is not added to NodeJS until 16.9.0 and I don't want to bother with polyfill.
Checklist

[x] Changes are covered by tests if behavior has been changed or added
[x] Tests have 100% coverage
[x] If code changes were made, the version in package.json has been bumped (matching semver)
[x] If code changes were made, the yarn build command has been run and to update the cdn directory
[x] If code changes were made, the documentation (in the /docs directory) has been updated

Resolves
Fixed #276

Does it make sense to have test for this case?

@mmiha05 You are right. Tests are now added.


Unable to implement copy node

Template code
<tree-root #tree [nodes]="nodes" (moveNode)="onMoveNode($event)" (copyNode)="onCopyNode($event)" [options]="treeOptions"           [focused]="true">
script code
onCopyNode(event) {     console.log(event);   }
using command on mac .. But its only dragging and dropping and not cloning the node.

Copy working with CRTL key for me.

Closing this issue due to inactivity. Please open a new issue if the problem still exists.


Update windows prereqs for 2.2

Fixes #9257
Fixes #7941

Is there a difference between 1.x and 2.x? I'm not really seeing it. Is it a specific version of Visual Studio? 2017 the first version versus 2017 latest?

Yes, the tab content is completely different. What happens when you click on the tab?


PHP 7.4 issue

Remove the trailing comma in the constructor arguments
https://github.com/sulu/web-twig/blob/master/src/ImageExtension.php#L102
to fix the issue in PHP 7.4

Thanks for reporting! Fixed in #39 and released as 2.5.2


Initialize About description

Overview
Currently, the About page includes placeholder text, though a new description is needed that's appropriate for internal beta.

From ChatGPT:
Jupiter is a user-friendly platform that can be utilized by students to seamlessly join school clubs. This tool allows students to browse through the list of available clubs, their activities, and objectives, all in one place. Students can easily sign up for clubs that interest them and receive real-time updates on events, meetings, and other activities organized by the clubs. The platform also enables club leaders to manage and promote their clubs more efficiently, keeping members informed about important details and facilitating communication between members.
Jupiter comes with several features that make it an ideal tool for school club management. For instance, the platform provides a comprehensive dashboard that enables club leaders to track attendance, monitor club performance, and collect feedback from members. The tool also integrates with the school's social media pages and website, making it easy for students to discover clubs that match their interests. With Jupiter, students can easily find and join clubs, and club leaders can manage their clubs more effectively, leading to more successful and fulfilling club experiences for everyone involved.

Can be added to the new design when ready


Spontaneous Crash on iOS with DelegatingHandler

Hi,
we are getting spontaneous crashes on iOS if we are using our custom DelegatingHandler.  Sometimes the app is working for couple of minutes/api calls without crash and then it crashes.  There is not relevant exception for this, just a SIGABRT Crash from iOS. If we hard-code our api key in the delegatinghandler, the app is working fine. Is there some misconfiguration on our side? Or is there better way to do this? Thanks.
Versions:
Maui: 8.0.40 (happens in every Maui 8> version)
Apizr: 5.4.0
Shiny.Framework: 4.1.0
Prism.DryIoc.Maui: 9.0.401-pre
Registration in Maui:
  builder.Services.AddApizr(apizrRegistry => apizrRegistry                 .AddManagerFor<IImpressumApi>()             apizrExtendedCommonOptionsBuilder => apizrExtendedCommonOptionsBuilder                 .WithBaseAddress(builder.Configuration.GetValue<Uri>("BaseUrl"))                 .AddDelegatingHandler((provider) =>                     new XApiKeyAuthenticationHandler(provider.GetRequiredService<ISecureStorage>()))                 .WithAkavacheCacheHandler()                 .WithExCatching(OnException, letThrowOnExceptionWithEmptyCache: false)                 .WithLogging( #if DEBUG                     HttpTracerMode.Everything,                     HttpMessageParts.All,                     LogLevel.Trace,                     LogLevel.Information,                     LogLevel.Critical #else                     HttpTracerMode.ExceptionsOnly,                     HttpMessageParts.ResponseAll,                     Microsoft.Extensions.Logging.LogLevel.Trace,                     Microsoft.Extensions.Logging.LogLevel.Information,                     Microsoft.Extensions.Logging.LogLevel.Critical #endif                 )                 .WithConnectivityHandler<IConnectivity>(connectivity =>                     connectivity.NetworkAccess == NetworkAccess.Internet));
DelegatingHandler:
`public class XApiKeyAuthenticationHandler  :  DelegatingHandler
{
public XApiKeyAuthenticationHandler(ISecureStorage secureStorage) : this(secureStorage, new HttpClientHandler())
{
}
public XApiKeyAuthenticationHandler(ISecureStorage secureStorage, HttpMessageHandler innerHandler)  : base(innerHandler)
{
    SecureStorage = secureStorage;
}

protected ISecureStorage SecureStorage { get; }

protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request,
    CancellationToken cancellationToken)
{
    var identityKey = await SecureStorage.GetAsync(AppConstants.IdentityKey);
    if (!string.IsNullOrWhiteSpace(identityKey))
    {
        request.Headers.Add("X-Identity-Key", identityKey);
    }

    return await base.SendAsync(request, cancellationToken);
}

}`

Hi,
Well as I'm about to publish the v6 of Apizr these days, the first thing I would say would be to update to the last v6.0-preview.2 from the prerelease channel and then tell me if it crash anyway. Both DelegatingHandler and Header management have been updated in v6. If it still crashes, I'll fix it but in v6, not the v5.
Before upgrading, please read the breaking changes page.
Polly intergration has changed and AddDelegatinHandler method has been renamed to WithDelegatinHandler.
Anyway, I'll try to reproduce it on my side with v6 and fix it if I can make it crash too.

For now it doesn't seems to me to be Apizr specific. I mean your DelegatingHandler seems quite classic and when the cursor hit that handler we're neither into the Apizr world nor the Refit one but actually the HttpClient one. I would bet for an iOS thing when dealing with SercureStorage async from the request pipeline.
If it still crashes with v6, you could try to reproduce it with Refit only implementation to see if it does crash too or not, that would help me to know if I really need to investigate into Apizr source code.
Let me know.

Hi,
thank you for your quick response. We tested it with v6 preview and it still crashes. We have also tested another DelegatingHandler without async and it's the same result. As for now, it's crashing in Release mode and on iPhone device with 17.4 Version. We build the app with Xcode 15.2. Thanks for the idea with Refit. We test it and I let you know.

Hi,
thank you for your quick response. We tested it with v6 preview and it still crashes. We have also tested another DelegatingHandler without async and it's the same result. As for now, it's crashing in Release mode and on iPhone device with 17.4 Version. We build the app with Xcode 15.2.
We have also tested the idea with just Refit. Aaand it's working. If we use just Refit without any APIzr stuff inside the app, we do not get any crashes. For the sample project we need a little bit more time.

Ok then, thanks for your feedback. Now I'm sure its an Apizr thing I'm going to investigate and fix it.
Will keep in touch for a beta 4.

Now preview 4 has been released, I'm gona give a try to this issue and fix it before next release

Well I have to say that I can't reproduce the crash.
Just tested with preview 4 and a custom DelegatingHandler, in Release mode, on a physical iPhone Xs Max with iOS 17.4.1, but no crash. You can see my configuration into the updated MAUI sample. It's weird that it doesn't crash with Refit only but only with Apizr.
I'd love to see it but can't find a way to, so I think I'm gonna need a test sample from you so I could experience that crash and fix it.
Thanks

Closing issue as I can't reproduce it and got no repro sample to play with. Will re-open it as soon as @michalhoblik could send me one.


{AKS} Add test case for cluster auto scaler

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

AKS

/azp run


github_actions: fix cleanup BRANCH_ tags

Add GH_TOKEN env var to cleanup workflow

Looks good, I think 😅

good enough for me lol


Adding Coinbase exchange support

Resolved within https://github.com/Crynners/AccBot/releases/tag/v1.0.75


Issue 5236

Added raw reading for integers

@RazvanN7 Could you include a description in the title of your PRs please - thanks! It helps with managing the PR queue vs somehow remembering bug numbers.

Auto-merge toggled on


Double universal-audio

The Universal Audio option is creating a second acc audio track even after the presence of a "copy" track
index.log
autoProcess.ini

That all looks like expected behavior and how that feature is intended to work

Actually I see what maybe you're referring to. The audio-first-stream-of-language option?
The current behavior was that it wouldn't be applied if no audio languages were set; no real reason for that so I went ahead and changed that
1280b0ea7c2852a7ef080b05dbc8a09826b498cd


big update based on developments with WBD projects

Most notable updates:

can now read feature-server type data (esri based)
new field in JSON to differentiate between datatypes (now supports: GDB layers, shapefile/gpkg, feature-server)
configured for pip packaging with pypi
a few WBD-specific pre-processing (legger profile to XYZ profiles, assigning a code to valves based on other nearby objects, and a script to create lateral nodes based on polygon-afwateringseenheden)
replace depricated CRS method
change the way the script references to the XSD scheme in a way that is also suitable when this package is installed with pip

This pull request is for the version already released on pypi:
https://pypi.org/project/tohydamogml/


[Supportal] Clicking New Expensify in Supportal loads login page instead

Version Number:
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: 8d0d0580f9e2c423-HNL
Expensify/Expensify Issue URL: N/A
Issue reported by: @stephanieelliott
Slack conversation:
Action Performed:

Support log into a customer account
Click New Expensify
see login page load instead of Supportal

Expected Result:
New Expensify Supportal should load when clicked (as you are already logged in)
Actual Result:
Login page loads. Logs show:
[OOPS!] Oops... something went wrong and your request could not be completed. This might happen if you’ve changed your password or signed into a different account recently. Please try returning to your Expenses page or sign out here before trying again. If this issue persists, please reach out to us at
Workaround:
Navigate back to Supportal > click New Expensify Support again
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/3edea22c-2a6b-4a01-a144-c14d4ba68698

Tackling this evening!

Hey @Christinadobrzyn! I'm heading out on parental leave so reassigning this! TY! 🙇♂

Have been affected by this too. I'm not sure where we report these Supportal bugs - asking in BZ room

Tested on a few user accounts:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
With some of the above accounts, NewDot loads without an issue and other times it 500 errors and directs to the login page after a reload.

Posted for a volunteer - https://expensify.slack.com/archives/C07NZ8B1VTQ/p1729651828061979

This is a more accurate example of what I normally see when hitting the login page.

I'll supportal from the chat > click New Expensify
Go to the login page > refresh & remain on the login page
In the video I even signed into my own ND account to make sure I was signed into ND somewhere (I just started concierge chat support for the day)
I usually can't get beyond the login page.
Logs of chat wth<EMAIL_ADDRESS>8d3c0c80ddb82ea1-MEL

looking for a volunteer - https://expensify.slack.com/archives/C07NZ8B1VTQ/p1729839971462369?thread_ts=1729651828.061979&cid=C07NZ8B1VTQ

monitoring - https://expensify.slack.com/archives/C07NZ8B1VTQ/p1729839971462369?thread_ts=1729651828.061979&cid=C07NZ8B1VTQ

@iwiznia would you be able to increase the throttle based on our Slack discussion? https://expensify.slack.com/archives/C041MSTR8J1/p1729736739416729?thread_ts=1726227409.896439&cid=C041MSTR8J1

We can but not sure what throttle we need to update. What's the flow exactly? Looking at the video I don't see any throttle message or anything indicating that throttling is what's causing this

Ah yes, there's nothing in this issue indicating it relates to the 500 throttle error.
However, I was thinking we could try increasing the throttle to solve this 500 error to see if that also helps with this issue?

What's the flow exactly?

Flow is:

Get a customer chat
Click Supportal > new tab opens with customer's Supportal dashboard
Click New Expensify > new tab opens for New Expensify
Login page loads - it's not possible to get beyond the login page
refreshing the browser doesn't help

Logs here

Code is here so allegedly you only get throttled if you try to support login more than once in 30s, which sounds quite reasonable to me. I wonder if something is calling it twice in that flow.

Indeed, when clicking on supportal, we call GetSupportAuthToken (see requestID 8dae058feab39c0e-EZE) and when clicking New Expensify we call it again (see requestID 8dae060c897f9c0e-EZE)

And I think opening newDot calls it even once more (see requestID 8dae1918fd0b9c0e-EZE)

Ah thank you @iwiznia - can I assign this issue to you or should I reach out to the team for a volunteer? Let me know what's best for you!

Thank you so much @iwiznia!

monitoring PR https://github.com/Expensify/Auth/pull/12986

Thanks for creating that PR, @iwiznia. Unfortunately, it looks like the login page is still showing. I'm sorry to have you spend your time on the throttle when you said that will probably not resolve this issue - to note, it has made the sign in process better.
Testing this issue again:
Problem: The login page shows on the first attempt to Supportal into New Expensify.
• Example<EMAIL_ADDRESS>• Logs of my Supportal attempt
• Video

Nothing stands out in the logs, do you think it's something to do with the Open New Socket step in the Supportal process?

do you think it's something to do with the Open New Socket step in the Supportal process?

No, that has nothing to do and happens on all requests that talk to auth

Pasting the same question I made in slack:

So it briefly shows the login page then redirects and all works correctly?

So it briefly shows the login page then redirects and all works correctly?

Yes, the login page shows briefly and then it redirects to the customer's New Expensify page

Based on the Slack convo - we're going to consider this resolved since it's working better and the login page is an internal flow only. Closing.


Allow type aliases to be marked as Trivial.

Fixes #313.
This is a breaking change as it requires all implementers of ExternType to add another associated type. Defaults for associated types are an unstable feature, the compiler tells me. Perhaps we should avoid this by using a new trait, ExternTypeKind, instead.

I've just read #308 and it looks like I should rebase on top of that, if you think it will land soon, as there's a lot of commonality. I also need to add some tests like that PR has done.

#333, #334, #335

Published in 0.5.0 together with the 2 other breaking changes I had lined up (#341, #346).


[watchtower/blob]: Blob of Justice encryption/decryption and v0 plaintext encoding

This PR introduces the encryption/decryption primtives for watchtower blobs, as well as the version 0 encoding scheme for the blob.OfJustice payload. The v0 encoding creates a constant size plaintext of 266 bytes, and allows a watchtower to sweep the to-local and (optionally) to-remote commitment outputs. Future versions can be made to support sweeping of HTLC outputs by using an alternate version. In the meantime, we choose a constant size encoding to not leak the number of outputs being swept.
blob of justice version 0 plaintext encoding:
   sweep address:               34 bytes
   revocation pubkey:           33 bytes
   local delay pubkey:          33 bytes
   csv delay:                    4 bytes
   commit local revocation sig: 64 bytes
   has p2wkh output:             1 byte
   p2wkh pubkey:                33 bytes, maybe blank
   p2wkh sig:                   64 bytes, maybe blank

The plaintext encoding is then enciphered using chacha20poly1305, using a 32-byte key and 12-byte nonce. The rationale for using chacha20poly1305 in this context is that the Lightning protocol already uses it for our brontide communication, meaning implementations can reuse existing primitives. In addition, chacha20poly1305 performs well on mobile devices, which is the primary audience for watchtower clients.
The ciphertext expansion of chacha20poly1305 adds 16-bytes to the length of the plaintext. Thus for the version 0 encoding, the encrypted blobs are a constant 282 bytes.
blob of justice version 0 ciphertext:
   enciphered plaintext: 266 bytes
   MAC:                   16 bytes

If someone wants to propose a better name than blob.OfJustice, I'm all ears. 🙉

Hi @cfromknecht , may I ask a clarifying question... The only sig in the blob is commit local delay sig, so a signature from the owner of the commitment TX? I thought the blob contained information for the watchtower to recreate the penalty transaction for revoked prior (counterparty) commitment TXs, so it would include revocation_sig etc. What am I missing? Still piecing together my understanding of watchtower ideas published so far, thanks in advance!

@jachiang yes you're correct, the signature should be a signature under the revocation key, for the remote party's commitment transcation. There's a typo in the PR body that makes it seem like it's a signature under the local delay key, thanks!

Will also move the typo fix into the godoc comments ;)

As per @halseth's request, removed the extra HasP2WKH flag from the serialization. A client now signals that the blob has a p2wkh output by ensuring that the first byte of the p2wkh pubkey field contains either 0x02 or 0x03. If the value contained is not one of these two, the decoded values will be discarded.
I've also added a method HasP2WKHOutput() that returns true if the p2wkh pubkey "looks" correct, using the same check applied during deserialization. This can be used after to decoding to determine if an attempt should be made to access the p2wkh pubkey/script/signature.
Plaintext v0 size is now 265 bytes, encrypted blob is then 281 bytes.
// blob version 0 plaintext encoding:
//    sweep address:               34 bytes
//    revocation pubkey:           33 bytes
//    local delay pubkey:          33 bytes
//    csv delay:                    4 bytes
//    commit local revocation sig: 64 bytes
//    p2wkh pubkey:                33 bytes, maybe blank
//    p2wkh sig:                   64 bytes, maybe blank

re: not having context of package prefix, I can't foresee a case in which it'd be used w/o it. as a standalone package, can assume that it will always be prefixed in usage. tbs, if the option is between blob.JusticeKit and blob.OfJustice i guess i'd lean towards former. makes the file names more logical

pushed up blob.OfJustice --> blob.JusticeKit


Add marketing image

This is a new apple requirement, the AppStore iOS marketing app icon which is 1024x1024.
At the moment I'm using this plugin then manually updating the the 1024pt icon

Isn't this a duplicate of #18?

@martinschilliger My fault, thanks for spotting this


[Feature Request] To be able to specify --category for scanning code violations in Extension Settings

Is your feature request related to a problem? Please describe.
By default the scan finds and flags almost every violations and warning which could be overwhelming for a large class.
Describe the solution you'd like
It would help ISVs, to be able to scan for just "Security" category so as to be ready to generate report for Security Review submission.
"Workaround":
Executing via CLI allows category argument to scan only for Security concerns.
"Urgency":
Nice to have

@vc4u , in the long-term, we may add some mechanism to more finely control which rules run in the extension. But for now, per the documentation, you could create a custom PMD config file that includes only the Security rules, and reference that in the extension's settings. Then only those rules will run.

This is now available in the latest version


Wullean fork

I am trying to make an edit in Zanzarah .scn files(triggers specifically). To do that:

I downloaded Wullean fork which has a save button option
compiled it.
downloaded your zzre-win-x64.zip from Releases
unpacked it and followed instructions - placed Zzre folder in ZanZarah folder near System folder
The compiled version of Wullen fork does not have zzre.exe file!
So as I understand I simply need to copy/paste it in Zzre folder
But I after I do that I zzre.exe doesnt launch and the editor wont open!

Please help! Im not a developer or a coder. I dont understant what I need o do. Can you please tell me what am i doing wrong and what needs to be done?

The instructions are for developers to create a development build which is not the same as a release build (this is why there is no zzre.exe directly in the zzre folder). For this one time I built and uploaded a release build of the Wullean fork for you: wullean-zzre-win-x64.zip
However: also the Wullean fork seem to currently only support changing and duplicating trigger and FOModel positions so for any serious mod development this will not suffice.
This project is still very early in development (despite its age) and most user-facing features are not ready, which is why there is no general release for users and only developer instructions. I will not support the Wullean fork going forward and probably not developing mod creation soon.

Thank You!


Format of yt label

Hello,
hope you are fine, have 2 questions about the format
Question 1
Have one question about optimal format for label Yt.
Is it preferable to have Yt as:
(A)   OneHot encoded with only one  1  per row.
(B)    Mutiple OneHot encode  with mutiple 1 per rows  (as this is the case for Xt).
When the prediction is done, it seems only outputing only  one 1 per row.
Question 2:
Is there any constraint by having Xt as having a mix of dense input  and sparse input
instead of sparse input only ?

Hi @arita37, generally speaking the label matrix could have arbitrary number of positive per instance. For the combined dense and sparse input, you can concatenate the dense and sparse vectors and view the result as another sparse input (example).

Hello Zhang,
Thanks for confirming.
Incase of mutiple label y oer instance,
How the top-k results works.
It seems generating only topk values per instance.
Shouldn’t be
Topk x Nlabel per instance (?)
ie Suppose the labels can be correlated (ie hiearchy of label per instance).
Thx

On Mar 9, 2022, at 3:57, Jiong Zhang @.***> wrote:

Hi @arita37, generally speaking the label matrix could have arbitrary number of positive per instance. For the combined dense and sparse input, you can concatenate the dense and sparse vectors and view the result as another sparse input (example).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

What is N in your question?
For each instance, the prediction will generate top-k out of all the labels in the output space.
For more information, you can refer to section 2.5 of our paper.

Hello Zhang,
Thx.
Suppose we have
Ylabel :  5000 samples x 1000 cols
and each instance has 10 labels :
Count_one(Ylabel[i. :]) == 10
(In the training phase).
In the inference
Suppose Topk=7
Currently, it outputs 7 “one”
per  predicted instance…..
Shouldn’t be
7x10  “ones” per predicted instance
Thanks

On Mar 9, 2022, at 9:46, Jiong Zhang @.***> wrote:

What is N in your question?
For each instance, the prediction will generate top-k out of all the labels in the output space.
For more information, you can refer to section 2.5 of our paper.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

To add on this topic:
Suppose this is related to the
independance of each individuaul ylabel
For one sample,
Count_One(yi) = 11
If all the individual labels are independant
Topk prediction returns topk values
(ie one individual label per sample
If all the individual labels have an “forced”
structure  (ie hiearchy in the individual labels):
     Topk prediction should “keep” the structure
    in the output :
           return  (topk x 11 ) per sample

Think “imposing” structure may not be straightforward in current version of pcos.
Thanks

On Mar 9, 2022, at 10:01, No Ke @.***> wrote:

Hello Zhang,
Thx.
Suppose we have
Ylabel :  5000 samples x 1000 cols
and each instance has 10 labels :
Count_one(Ylabel[i. :]) == 10
(In the training phase).
In the inference
Suppose Topk=7
Currently, it outputs 7 “one”
per  predicted instance…..
Shouldn’t be
7x10  “ones” per predicted instance
Thanks

On Mar 9, 2022, at 9:46, Jiong Zhang @.***> wrote:

What is N in your question?
For each instance, the prediction will generate top-k out of all the labels in the output space.
For more information, you can refer to section 2.5 of our paper.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

When asking the model to predict only_topk=7, you should expect the mode to output 7 labels for each input instance (instead of 70).

It means that during training
we can provide more
than 7 labels  per training sample ?
Thanks

On Mar 15, 2022, at 2:59, Jiong Zhang @.***> wrote:

When asking the model to predict only_topk=7, you should expect the mode to output 7 labels for each input instance (instead of 70).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.


Updates installation documentation for virtualenvburrito.

r?

r+ (but I wish we didn't use the curl | shell pattern in our docs...)

I do not disagree. :disappointed:


Channel 9 Videos

I don't see the Channel 9 Videos in your app (.apk).
I assume it's because in HomeViewModel that the last two items are both id=5?

Actually, when I got the latest I see them.
How do we avoid them being stretched?

Just implemented yesterday in vnext branch :)


Cow: Watch anturis.com

Cow requests the watch of the watch_keyword anturis\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

anturis\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Dragonrage in Charcoal HQ. Reason: 'no longer needed. closure requested by requester'

old answer and website not seen since


Fixed Prime CLI Livd-table-download command throw exception and clean csv file

This PR fixed the Prime CLI Livd-table-download command throw exception and clean csv file
Test Steps:

Include steps to test these changes

Changes

Include a comprehensive list of changes in this PR
(For web UI changes) Include screenshots/video of changes

Checklist
Testing

[ ] Tested locally?
[ ] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[ ] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

Fixes #issue

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

Also the ./prime livd-table-download command throw exception with the latest Ktor verion 2.0.3 library.


JAWS reads pre-compiled content

Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
JAWS reads the pre-compiled HTML content instead of the compiled HTML content. For instance, if I have the following HTML:

{{item.name}}

If a new element that looks like {name: 'Barcelona'} is added to items, then JAWS will read "left bracket left bracket item dot name right bracket right bracket".
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar.

Use JAWS 16 / IE 11 / Windows 7 / Angular 1.5.8.

Go to the plunkr or my demo or plunkr using snapshot version of Angular. (They should be equivalent, but I provided them all in case you prefer a plunkr, or in case the plunkr messes with JAWS in some way.)

Click the "Add item" button.

Listen to what JAWS reads for the newly added element.

What is the expected behavior?
I expect to hear "Widget 1" instead of "left bracket left bracket item dot name right bracket right bracket".
What is the motivation / use case for changing the behavior?
This is the screen-reader equivalent of a raw {{item.name}} string being visible to the end-user.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.

JAWS 16
IE 11
Windows 7
Angular 1.5.8 or snapshot as of the time this issue was filed

Other information (e.g. stacktraces, related issues, suggestions how to fix)
Related, but more specific: https://github.com/angular/angular.js/issues/11466
I thought that it may work to put aria-hidden="true" on elements until they were compiled. I tried this on my demo page. You can try it for yourself by clicking the "Add initially hidden item" button. On VoiceOver, this does what I would expect, which is read the content after aria-hidden is removed. On JAWS, the content is never read. So this will not work.
Fundamentally, it seems that the problem is that content is being put into the DOM that is not compiled yet, and JAWS is picking it up. We need some way to either defer actually inserting content into the DOM until it's compiled, or tell JAWS that the content is not yet ready to be read.
I'm happy to submit a PR for this, but it seemed sufficiently complicated that it was worth opening an issue to start a discussion first.
Thanks! I'm happy to provide any follow-up information as needed.

I thought that it may work to put aria-hidden="true" on elements until they were compiled. I tried this on my demo page. You can try it for yourself by clicking the "Add initially hidden item" button. On VoiceOver, this does what I would expect, which is read the content after aria-hidden is removed. On JAWS, the content is never read. So this will not work.

Then this sounds like a JAWS bug, no? Or the aria spec is not clear enough in this case.
@marcysutton Do you know if there's anything we can do about this?

I can repro that issue on the Angular Material autocomplete, which uses a similar ng-repeat to announce screen reader messages. I had to edit it to announce anything, as the live demo uses role="status" and aria-live="assertive" -- JAWS and IE 11 have trouble with this combination, but removing role="status" from the Material autocomplete made the above problem start happening.
This definitely seems like a JAWS bug–it's already known to have issues with ARIA live regions, as you can see from my note above. Unfortunately there isn't much you can do aside from compiling content in the virtual DOM before inserting it into a live region. Perhaps you could try rendering content in the live region that doesn't rely on ng-repeat so it doesn't take so long to compile? I'm very curious to hear if someone finds a workaround for this, but I don't know of anything else off the top of my head.

Fwiw, we don't have a virtual DOM in ng1 :smile:
While compiling something before inserting it into the DOM might work for other directives, it is not an option for ngRepeat, since it would break directives that require parent directive higher up in the DOM hierarchy.
I am afraid there is not much we can do on the Angular side :disappointed:

Yep, I knew ng1 didn't have that option. It works correctly in NVDA in both Firefox and IE11. I don't think there's a bug tracker for JAWS, so I'd consider this one a can't/won't fix.

For anyone else who is looking for a workaround for this, I also tried using ng-bind instead:

This results in JAWS reading nothing. 😦

@NickHeiner :+1:
However i have one question. If we have expression as below then how to use ng-bind?
{{'totalView.updatedTotalLabel' | i18next:model}}
where i am trying to take label from resource files (.json file) using internationalization (i18n)

Since this seems to be a JAWS issue and there isn't anything we can do about it in Angular (afaict), I am going to close this.
Thx @NickHeiner, for reporting this, so people facing the same issue can find it here.
Thx @marcysutton for looking into it and reporting it to Freedom Scientific.
If anyone finds a workaround or has an update on the situation or can suggest a fix for Angular, please post below.

@NickHeiner Very interesting,..I was able to get JAWS to read the ng-bind style in your demo using:  Win 8.1 - IE11 - JAWS 17.0.2619
Here's a screencast: http://www.screencast.com/t/29s1x3pwg

@joe-watkins I think one of my co-workers reported it working on JAWS 17. Maybe it's a bug in JAWS 17 and a regression in JAWS 18?


Copy/Pasting YAML results in wrong indentation

Describe the bug
Copy Pasting yaml when file is identified as GitHub workflow is messed up.
To Reproduce
https://github.com/github/vscode-github-actions/assets/153052/3e056158-fbe9-44f0-b987-6b3fc96c8f48
Expected behavior
N/A
Screenshots
N/A
Extension Version
v0.25.8
Additional context
Add any other context about the problem here.

Do you have any YAML auto-formatter installed?

I do have the redhat.vscode-yaml extension installed.

I see the same behavior where the GitHub workflow doesn't copy/paste the same as a regular YAML file. I don't have another YAML extension installed.
I am on Windows 11 using the desktop version.
GitHub workflow (I noticed I can't find any way to paste it so that it is in the right place with just the paste, I have to do further editing to get it in the right place no matter where I place the cursor to paste):

Regular YAML file:

I've experienced the same issue for months as well. It's a shame because I really like what the extension has to offer. I just leave it disabled.

I think this may be solved by the following setting
  "[github-actions-workflow]": {
    "editor.autoIndent": "keep"
  }

I spent some time tinkering with this incorrectly for the "[yaml]" settings group, not realizing that "[github-actions-workflow]" is considered a separate language. Does this work for others?

@neil176 Thank you! That fixed this for me as well.

"[github-actions-workflow]": {
    "editor.autoIndent": "keep"
  }

where to add this

@Lekshmisr26 In the VScode setting file settings.json, see https://code.visualstudio.com/docs/getstarted/settings#_settingsjson.

Same awful experience here. The first line of a pasted block has the indentation always changed wrong, while the rest of the YAML block stays as is. I don't have any YAML-related extension active. I use YAML only in GitHub workflows.

Same awful experience here. The first line of a pasted block has the indentation always changed wrong, while the rest of the YAML block stays as is.

I find an Undo (Cmd/Ctrl + Z) after pasting helps.


fix(tooltip-icon): fixed vertical align

Summary
Type

Enhancement

Summarise concisely:
What is expected?
To be able to change vertical align of tooltip icon.

Can we set verticalAlign for all and not allow customisation by props ?

@chambo-e the purpose of this MR is to be able to set verticalAlign trough props in order to display TooltipIcon differently depending on context.
For example:
A tooltipIcon showed near a text will have a vertical-align: text-top while a tooltipIcon lonely will have vertical-align: middle

@chambo-e the purpose of this MR is to be able to set verticalAlign trough props in order to display TooltipIcon differently depending on context.
For example:
A tooltipIcon showed near a text will have a vertical-align: text-top while a tooltipIcon lonely will have vertical-align: middle

@matthprost shouldn't this be handled by tooltip instead of changing icon position ? Maybe with placement or gutter ?
https://reakit.io/docs/tooltip/#usetooltipstate

@chambo-e the purpose of this MR is to be able to set verticalAlign trough props in order to display TooltipIcon differently depending on context.
For example:
A tooltipIcon showed near a text will have a vertical-align: text-top while a tooltipIcon lonely will have vertical-align: middle

@matthprost shouldn't this be handled by tooltip instead of changing icon position ? Maybe with placement or gutter ? https://reakit.io/docs/tooltip/#usetooltipstate

There is an issue with tooltipIcon where the box of the tooltip takes big height while it shouldn't I did this PR as quick fix to be able to change the position of the icon.


Can I make FBI show as download play?

In this post( https://www.reddit.com/r/3dshacks/comments/40s1md/does_fbi_show_up_as_download_play/
), they say FBI can show as download play.
I have 2 old 3ds colsoles and one of them has FBI installed but the other doesn't because its firmware is 11.4 and I can't install homebrew on it.
I need to make the other one download play FBI from the one which has it. Can you tell me how to do so?

Lol.
Do you normally speak English? When you run homebrew, your activity log shows that you were using download play. That's all that thread is saying.
TL;DR
No. Never.

Even if FBI has this feature, if you are not on a CFW it will not work because FBI is not signed by Nintendo


chore: remove legacy code

Codecov Report

Merging #15 (c739bf9) into master (060b231) will increase coverage by 0.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   74.40%   74.63%   +0.23%
==========================================
  Files          32       32
  Lines         625      623       -2
  Branches        9       13       +4
==========================================
  Hits          465      465
+ Misses        160      158       -2

Impacted Files
Coverage Δ

...om/github/chiefofstate/migration/SchemasUtil.scala
100.00% <ø> (+13.33%)
:arrow_up:

Continue to review full report at Codecov.

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


The request urls are not shown in test replay recording in cypress cloud

When I am recording to cypress cloud and some of my test contains cy.api command, the UI viewer of request doesn't display url address. The issue doesn't appear when I am executing tests locally.
Test on safari and chrome browsers.
cypress v : 13.5.1
"cypress-plugin-api": "^2.11.1"

this seems related to #130, I wrote a comment in there, will give some updates soon


[SYSTEMML-1742] Fix label map while training from Caffe2DML

Class attribute 'le' is not initialized when fit() method on object is invoked.
Similarly labelMap is not initialized if labels.txt not in the weight directory.
Fix is to avoid accessing invalid class attributes.
@niketanpansare Can you please review this?

LGTM. Thanks @asurve 👍

thanks @niketanpansare

Refer to this link for build results (access rights to CI server needed):
https://sparktc.ibmcloud.com/jenkins/job/SystemML-PullRequestBuilder/1930/Failed Tests: 1SystemML-PullRequestBuilder/org.apache.systemml:systemml: 1org.apache.sysml.test.integration.functions.frame.FrameMatrixReblockTest.testFrameWriteMultipleSparseBinarySpark


Simplify distribution flow (reduce clicks)

Describe the solution you'd like
I have some feedback on the distribution flow from the Distribute > Groups page:

I always release from a build. It is a little tedious to have to click the "choose a build" button at the bottom. I also missed it the first time since the release option from the build page was recently removed. It would be nice if it would remember how I released last time or default to using a build if the app is be built in AC.
Getting through the next few steps requires a lot of clicks. You have to click the branch, next, the build, next, enter message, next... It would be nice if clicking the branch/build would automatically go to the next option – maybe there could be a small → button on the right side of the slats if clicking the entire row doesn't work for some reason. Enter (or cmd-enter) to invoke next would also work (I try it every time out of habit).
Related to #2, I only have one branch building for this app, maybe it could skip that step and go straight to the builds in that case.

I always shrug at feedback for "reducing clicks" but improvements here would be greatly appreciated. Releasing many internal builds a day this becomes a very repetitive process. Thanks!
Describe alternatives you've considered
N/A
Additional context
N/A

Hi! Thanks for the feedback. Really appreciate the insight. We have an effort on improving distribution UI coming up in the near future. I'll be sure to reference this but it'd also be awesome to be able to reach out to you for feedback if you're open to that. @WCByrne

Glad to hear! Yup, of course. If you want to talk more feel free to reach out on twitter for more contact info - @wcbyrne

Did anything ever happen to the distribution UI? I never noticed any changes and still have the same complains about it.


[Script]: Foreground extraction from an image

Aim
This script aims to extract foreground from an image using grabcut() funciton.
Details
Using cv2 and other required libraries, this script extracts the foreground from an image.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign