Cljs completions expect a sync cljs-eval-fn

I just saw that cljs-completions is inside a CLJC file, but I'm not sure if it's that useful considering that I can't imagine a way to eval cljs file synchronously. Can we somehow accept an async cljs-eval-fn?
I'm willing to do the change and open a PR if you accept this issue.
Thanks for this great project!

Ok, looking more at the problem, it seems that suitable.js-completions don't even work on ClojureScript. *in*, *err*, read and with-in-str don't exist in CLJS.
Was it supposed to work? Or if it don't, any reason for it to be a .cljc file?

Hi Mauricio, the original intent of the cljc file was to allow lumo/plank and other self-hosted tools to call into that.
I think lumo was indeed able to "fake" sync loading and indeed the approach was working but I don't remember now the details too much.
I don't see why we should not add a way to call things asynchronously and if I remember correctly replumb was doing that.

About the second issue, suitable does get some of the things it needs at runtime - however, again, sorry I don't remember all the details now and probably @rksm can help you better here.

Right, I think the only line I need help is this:
(with-in-str context (read *in* nil nil))

I'm not sure what's supposed to happen here (never saw this kind of code combination). It seems that it does the same thing as clojure.tools.reader/read-string. Is it true? If so, I can work around in CLJS :)

Ok, looking more at the problem, it seems that suitable.js-completions don't even work on ClojureScript. in, err, read and with-in-str don't exist in CLJS.

I observed the same, relatedly there was no test coverage for the cljs branches of this file (much less via Lumo / Plank) so I renamed the file from .cljc to .clj in this commit https://github.com/clojure-emacs/clj-suitable/commit/599b5027ab60bc376acb8efbf78f783fe7310130#diff-6dde05b339a426e8350e927eab64ddb50929f22b9a713f42be71b7b223f06ceb
Most likely we shouldn't have WIP-ish code in the project, of course a restoring backed by tests would be welcome.


Not all assets respect RAILS_RELATIVE_URL_ROOT

Description
This is mentioned in the more recent comments on #1608, but it should be a separate issue. When Portus is deployed with RAILS_RELATIVE_URL_ROOT, not all static assets will respect this relative root. In particular:

All assets mentioned in the .css file, including the webfonts and the layout background image.
All favicons mentioned in the <head> tag.

Steps to reproduce

Deploy Portus to non-root location with a valid RAILS_RELATIVE_URL_ROOT, with or without Rails serving the static assets.
Open the application in a browser, particularly with dev tools open.
Observe that some assets return 404 (while others work just fine).

Expected behavior: Assets are served correctly.
Actual behavior: Specific assets will 404 because they are not adhering to the relative root.

I can provide more deployment/configuration details if necessary, but I doubt that they are useful in this case.
Portus version: 2.4.

@atheriel could you give more details about the errors themselves and your deployment? Because I've tried to reproduce in the docker-compose file I use for dev and it works with rails serving the assets.

Actually, the css, webfonts and images work fine but the favicons are indeed not found.

Sure, I'm trying to get Portus deployed as a stack inside a swarm cluster. It looks like this:
version: '3.1'

services:
  portus:
    image: opensuse/portus:latest
    environment:
      - PORTUS_MACHINE_FQDN_VALUE=xxx.x.x.x
      - PORTUS_CHECK_SSL_USAGE_ENABLED=false
      - CCONFIG_PREFIX=PORTUS
      - PORTUS_DB_HOST=db
      - PORTUS_DB_DATABSE=portus
      - PORTUS_DB_PASSWORD=portus
      - PORTUS_DB_POOL=5
      - PORTUS_SECRET_KEY_BASE_FILE=/run/secrets/key_base
      - PORTUS_PASSWORD_FILE=/run/secrets/user_password
      - PORTUS_KEY_PATH=/certificates/portus.key
      - RAILS_SERVE_STATIC_FILES=true
      - RAILS_RELATIVE_URL_ROOT=/portus/
    ports:
      - 3000:3000
    networks:
      - portus
    secrets:
      - user_password
      - key_base
    logging:
      options:
        max-size: "500k"

  background:
    image: opensuse/portus:latest
    environment:
      - PORTUS_BACKGROUND=true
      - PORTUS_MACHINE_FQDN_VALUE=xxx.x.x.x
      - CCONFIG_PREFIX=PORTUS
      - PORTUS_DB_HOST=db
      - PORTUS_DB_DATABSE=portus
      - PORTUS_DB_PASSWORD=portus
      - PORTUS_DB_POOL=5
      - PORTUS_SECRET_KEY_BASE_FILE=/run/secrets/key_base
      - PORTUS_PASSWORD_FILE=/run/secrets/user_password
      - PORTUS_KEY_PATH=/certificates/portus.key
    networks:
      - portus
    secrets:
      - user_password
      - key_base
    logging:
      options:
        max-size: "500k"

  db:
    image: library/mariadb:10.0.23
    command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci --init-connect='SET NAMES UTF8;' --innodb-flush-log-at-trx-commit=0
    environment:
      - MYSQL_DATABSE=portus
      - MYSQL_ROOT_PASSWORD=portus
    networks:
      - portus
    logging:
      options:
        max-size: "500k"

secrets:
  user_password:
    file: ./user_password.txt
  key_base:
    file: ./key_base.txt

networks:
  portus: {}

I also have nginx sitting between this cluster and the outside world, redicting /portus/ to port 3000.
location /portus/ {
    proxy_pass http://<IP_ADDRESS>:3000/portus/;
}

For the most part, this is working fine. But in devtools (and in nginx logs), plenty of asset calls are returning 404 because they are being retrieved from /assets/ instead of /portus/assets/ (in this case). So it is my suspicion that these assets are not respecting RAILS_RELATIVE_URL_ROOT.
By the way, two users describe identical patterns to what I have seen here and here.

If you are using nginx to serve static files, RAILS_SERVE_STATIC_FILES should be set to false. After changing that, what are the requests being made for the webfonts?
This is probably a wrong configuration in your nginx setup and not a Portus issue itself. I never set up a similar case so I can't provide you the exact right solution for that. From what I could search you need to create an alias or rewrite the url and point to the right location.

To clarify, I'm not using nginx to serve static files -- I'm just using it as a reverse proxy to forward requests that would otherwise be blocked by a firewall. Portus should still be serving the static assets. So for instance I can curl the assets just fine if I correct the URL:
$ curl -I "http://<IP_ADDRESS>:3000/portus/assets/fontawesome-webfont-aa58f33f239a0fb02f5c7a6c45c043d7a9ac9a093335806694ecd6d4edc0d6a8.ttf"
HTTP/1.1 200 OK
Last-Modified: Tue, 16 Oct 2018 13:16:40 GMT
Content-Type: application/octet-stream
Content-Length: 165548

$ curl -I "http://<IP_ADDRESS>:3000/portus/favicon/favicon-16x16.png"
HTTP/1.1 200 OK
Last-Modified: Tue, 16 Oct 2018 13:02:10 GMT
Content-Type: image/png
Content-Length: 1131

So the favicons issue is the same as the webfonts issue, in my view.

After changing that, what are the requests being made for the webfonts?

If I set RAILS_SERVE_STATIC_FILES=false I see the same behaviour.

This seems to be a wrong configuration in your nginx setup and not a Portus issue itself (except the favicons).

I think it is possible to configure nginx to do this, but I'm not sure that really changes the fact that using RAILS_RELATIVE_URL_ROOT does not actually work as advertised.

This might be related.

Assets are served correctly but problem is that URLs generated in page etc are wrong at least for web font files, icon images and favicons

Could you try RAILS_RELATIVE_URL_ROOT=/portus without the slash in the end? I tried with the slash in the end locally and my assets got broken but in my case /portus/portus/assets/... was being requested.

For me this assets fail to load
fontawesome-webfont-2adefcbc041e7d18fcf2d417879dc5a09997aa64d675b7a3c4b6ce33da13f3fe.woff2:1 Failed to load resource: the server responded with a status of 404 ()
raleway-bold-9e7254441b1fa37f69d19f8220d45daac9be7f0eea55f7080b9fe9c09c46d2a0.woff2:1 Failed to load resource: the server responded with a status of 404 ()
bg-8cb22ad4875ecdeb164569d4c6c1684a0359047eadb7013c783986be07b0203b.png:1 Failed to load resource: the server responded with a status of 404 ()
fontawesome-webfont-ba0c59deb5450f5cb41b3f93609ee2d0d995415877ddfa223e8a8a7533474f07.woff:1 Failed to load resource: the server responded with a status of 404 ()
fontawesome-webfont-aa58f33f239a0fb02f5c7a6c45c043d7a9ac9a093335806694ecd6d4edc0d6a8.ttf:1 Failed to load resource: the server responded with a status of 404 ()

The request url looks like this:
https://localhost/assets/layout/bg-8cb22ad4875ecdeb164569d4c6c1684a0359047eadb7013c783986be07b0203b.png

It seems like there are some urls that are not affected by RAILS_RELATIVE_URL_ROOT.

I think it is still not fixed

It's not fixed please configure your bot or fix this issue already.

still issue
сб, 18 апр. 2020 г., 8:38 stale[bot]<EMAIL_ADDRESS>
Thanks for all your contributions!
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SUSE/Portus/issues/2017#issuecomment-615572872, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEOGMNWZRPUA5OE3ZIW4YH3RNE4D3ANCNFSM4F7W6MYA
.

Still issue

@lafriks Is it? Have you tested it on master? I had some time to look into it again today and after rewriting the portus development docker image (because the opensuse ruby repo is no reachable), I'm unable to reproduce the issue on master with the docker-compose development deployment.

Is there a docker image that points to latest master?

I guess that would have to be the official image with the tag head. It was published over one year ago. It's doesn't have the latest changes.

still an issue, tried to build master but it fails


AttributeError: 'PngImageFile' object has no attribute 'applist'

I followed the installation instructions but I'm not able to run the generate script.
.env
INPUT_PATH=/media/chains/deepdream/output/
./generate_site.sh

Importing album /media/chains/deepdream/output/IMG_7065 as 'IMG_7065'
Importing album /media/chains/deepdream/output/IMG_2266 as 'IMG_2266'
--> Processing /media/chains/deepdream/output/IMG_2266/IMG_2266-30494809905-default-vgg19.png...
------> Generating photo sizes: 500x375 800x600 1024x768 1200x900
Traceback (most recent call last):
File "/media/chains/deepdream/repos/fussel/./fussel.py", line 74, in
generator.generate_site(output_photos_path, output_data_path, http_root)
File "/media/chains/deepdream/repos/fussel/generator/generate.py", line 360, in generate_site
self.process_album(album_dir, album_name, output_albums_photos_path, external_root)
File "/media/chains/deepdream/repos/fussel/generator/generate.py", line 318, in process_album
photo_data = self.process_photo(external_path, photo_file, album_folder)
File "/media/chains/deepdream/repos/fussel/generator/generate.py", line 102, in process_photo
faces = self.extract_faces(new_original_photo)
File "/media/chains/deepdream/repos/fussel/generator/generate.py", line 232, in extract_faces
for segment, content in im.applist:
AttributeError: 'PngImageFile' object has no attribute 'applist'

.PNG files are the issue... I'm not unfamiliar with Python to locate the cause

After some meditating over extract_faces - I disable PEOPLE_ENABLE. The generate script is now create successful result.
The face extractions doesn't work for PNG.

@MasterLamp Interesting. I have some PNG's that work, I wonder if there is a non-XMP format embedded in yours? Do you have an example image that you would be willing to share so I can see what the difference might be?

@cbenning Sure, use this picture. That is one from my initial post.

Because the picture is generated by my box (via deepdream) it may doesn't have all the meta data of a PNG.

It appears one still needs to disable face recognition to use PNG images (at least with the docker image).  Should we leave this issue open for visibility of the workaround?

Works for me

Ive implemented a fix in both master and v2, which just ignores face detection if applist attribute missing

I recommend giving v2 a try as well, it has many improvements


blog: Self-hosted starter limit changes

Description
Part of: https://github.com/FlowFuse/admin/issues/275
Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

See also: https://github.com/FlowFuse/website/pull/1783

@knolleary I was unaware that was due this week, and thus it's not part of this PR. @MarianRaphael This shouldnb've been communicated with all stakeholders and ensure everyone is on the same page.

It had been discussed in the Architecture/Product meeting last week. The change request for it was raised earlier this week.
As this is entirely configuration changes in the platform, it does not need to be tied to publishing 2.2 (unlike the licensing changes which very much is).
So if there's any doubt, we can hold off that change today - focus on the licensing changes and then make sure we have full alignment with all stakeholders with the pricing changes next week.

Raised artwork request issue: https://github.com/FlowFuse/website/issues/1788

We can update the art work later, but I feel it's weird not to talk about changes which have been published.


Undefined is not a function

How did that happen! There's no code.

I think you are using the wrong compiler. No code is optimized for use with no compiler. Just go into the terminal and hit enter.
If that doesn't work, try turning your machine off. I find no code runs best when my machine is turned off.


Merge/release2.3 main

@ioangut didn't we merge back #1392 into main?

We did it into this PR https://github.com/corona-warn-app/cwa-server/pull/1395


[REEF-262]  Passing Configuration to Group Communication Driver

Today clients pass Codec and ReduceFunction object to Group Communication driver and inside Group Communication driver, we create configurations for Codec, Reduce Functions and DataConverters. This doesn't provide flexibility for clients to set parameters in the reduce function also make the Group code complex. This PR is move all those settings to Tang Configuration. Allow clients to bind their own implementations and parameters, then passing the configuration to Group Communication Driver.
This PR includes:-
-Added Configuration Module for Codec, ReduceFunction and DadtaConverter
-Updated GroupCommunicationDriver APIs to accept Configuration
-Simplified GroupCommunicationDriver to remove unnecessary overloading methods
-Updated specification to wrap Configuration and removed Codec and DataConverter
-Removed generic from specifications as it is not needed any more
-Removed Codec type as generic from GroupCommunicationDriver API
-Updated unit tests, functional tests and KMean tests
JIRA: REEF-262. (https://issues.apache.org/jira/browse/REEF-262)

One idea came to mind looking at this: Could we add the Configurations at the end of the parameters lists of AddBroadcast and AddReduce and such? We could then make them param arrays and do the merge for the user instead of requiring the user to merge them.

review comments addressed.

Review comments addressed.

I'm looking at this now.


feat!: used Emotion for Anchor

Overview
PR Checklist

[x] Related to designs: https://app.abstract.com/projects/a4a24600-c8c9-11e8-a177-81a5fa367641/branches/328ef9fe-09cf-43f4-8dd1-40947f5d4fb4/commits/3a51a13f42daf13efbfd15dc96f34ad00a72052d/files/FA9AF2C4-35B2-4183-8E93-A9D84A525613/layers/7598FF01-E0C7-4FAD-A505-B6136FA4DC91?mode=design (throwback!)
[x] Related to JIRA ticket: WEB-1177
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

Description
Migrates the old clunky Anchor component to a shockingly simple CSS-in-JS solution. The API is no longer clunky so it can be marked as stable in its story.
Note: it still relies on global styles on the page for its color...

📬Published Alpha Packages:@codecademy/gamut-labs@5.7.3-alpha.a2cb85.0@codecademy/gamut@17.4.1-alpha.a2cb85.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5fbe4ff1f0c9f26084320692--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-labs@6.0.3-alpha.087d1c.0@codecademy/gamut@17.4.5-alpha.087d1c.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-labs@6.0.3-alpha.1fabd0.0@codecademy/gamut@17.4.5-alpha.1fabd0.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5fc5759d0da6792fa93d08b5--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://5fc5760c8400cb2975eb43e3--gamut-preview.netlify.appDeploy Logs


Improve the error message when a file path is supplied to the /query service

Fixes SD-1364
Pass file/dir path through to the queryPlanner, which will reject file paths as required, and added a test to verify the resulting error message.
Also moved the pathUri utility function that properly escapes paths for use in request URIs to PathUtil where it can be used in any test.

Note: I don't think this is important for 2.5, since the problem has not been encountered by slamdata as far as I know.

Current coverage is 79.06%

Merging #1098 into master will increase coverage by +0.02% as of 43508b6

@@            master   #1098   diff @@
======================================
  Files          174     174
  Stmts         9750    9750
  Branches       312     312
  Methods          0       0
======================================
+ Hit           7707    7709     +2
  Partial          0       0
+ Missed        2043    2041     -2

Review entire Coverage Diff as of 43508b6

Powered by Codecov. Updated on successful CI builds.

👍🏾


Implement quick fixes for Rubocop

Hi, I implemented quick fixes for Rubocop warnings.
My team has been longing for a feature like this for quite some time.
So I'd decided to try and implement it myself.
And if I may say so myself, it came together pretty nicely.
Auto-correctable cop:

Uncorrectable cop:

Here's a demo:

OMG, waiting for it whole life! 🔥

Finally we will have easy quick fixes, kudos to you 👏

@Verseth great feature!

Very nice! Will check it and release it in a new version somewhere this week I hope.

New release with this functionality is now published to the marketplace in version 0.9.3. Thank you very much for this PR!

Need help. Indicates that there are no quick fixes available. Reinstalled several times. Ubuntu 22.04. VSCode 1.74.3

@ukrmaxim Looks like you've either got an old version of this extension or you've installed a different extension with similar functionality. The output has a different format.

@Verseth  Version 0.9.4 Installed from under VSCode. Before that, there was a ruby_rubocop plugin. I think this is the problem. But it has already been removed. On another laptop, where ruby-rubocop-revived was immediately installed, everything works. Different extension with similar functionality not installed.

@Verseth  thanks.


Revert back - link check fail

revert - sphinx error, don't understand why - do back to a working version

removed the required cells and unit tests run, so good now :-)


Latent discriminator for WAE-MMD ?

Hi,
Thanks for this interesting paper and implementation :)
My question: why do we still need discriminator network for the WAE-MMD approach ? As stated in algorithm 2 of the paper ?
Best REgards

Dear Ahmed,
that is a typo ) You don't need the discriminator in Algo 2.
Ilya

Cool, thanks !
Just one more "conceptual" question: what I have understood from the paper description of WAE is that it looks like a simple auto-encoder network with traditional reconstruction loss but with a constraint that the latent code Z should follow a distribution of tractable prior distribution (e.g. Gaussian). Hence, the generative modeling would be by direct sample from that Gaussian in order to generate the sample from data distribution .... is this correct or I have misunderstood lots of the sense ?
Best

Yes, indeed, you got it correct. It's just a regularized auto-encoder, where the encoded data distribution should match the prior. Of course, it works with any reconstruction cost function c(X,Y) of your choice, where X is an image and Y is it's reconstruction. In the paper we used L2 squared loss so that we could "fairly" compare to VAE (which, when combined with the Gaussian decoders, lead exactly to that loss).
Let me know if you have any further questions!
Ilya


Migrate upgrading-elasticsearch-clients-to-opensearch

There was recently added a help article on migration of elasticsearch clients to opensearch.

Refactored, let me know if this is closer to what you meant.


Redirect  to a custom search engine without Safari default ones

How to redirect to a custom search engine Like SearXNG , without using one of the default search engines available in Safari? I don’t want to log my searches in any of them, it’s one of the main purpose I bought the app (privacy). Thank you.

@nyakojiru You can use the new DNR type to achieve your goal. This type doesn't initiate a request of fetching source web pages, as it uses the DNR API, which is specially tailored for privacy by W3C.
For example, suppose you wish to use search.rhscz.eu, one of the SearXNG instances, as your default search engine. Follow these steps:

Set the default search engine to DuckDuckGo in the Settings app > Safari > Search Engine
Create the following redirect rule:

Type: DNR
Redirect From:

https://duckduckgo.com/\?(?:.*&)?q=([^&]*).* (Regular Expression)
Resource Types: main_frame

Redirect To: https://search.rhscz.eu/search?q=$1

I confirmed it didn't trigger a search query of DuckDuckGo, using Charles Proxy:
https://github.com/user-attachments/assets/fe980ff5-5c92-4569-8afc-c7b2935312b1
(bag.itunes.apple.com is an unrelated system request. Please ignore it.)
Optionally, you can disable Search Engine Suggestions from the Settings app > Safari so Safari won't even try to request search suggestions. Otherwise, it'll still call them like this:
https://github.com/user-attachments/assets/9521b4e6-f463-42aa-a231-3bc9ea145151
By the way, this is actually a great use case for user privacy that I didn't realize until now. I'll probably push this use case to other users too. Thanks a lot!

I'm closing this issue now. Please feel free to reopen it or create another issue if you have any othrer questions. You can also ask in https://github.com/mshibanami/redirect-web/discussions. Thanks.

@nyakojiru Oh that's weird. I double-checked it on my end but couldn't replicate it:
https://github.com/user-attachments/assets/8ad94738-0107-4cd3-beb3-2837f3300dc4
Would you please record a video of what it actually looks like? I'd especially like to see the following:

The extension popup shown when tapping the icon on the toolbar
The permissions you gave to the extension in Safari > Settings > Extensions
The redirection rule you set up in the Redirect Web app
The menu shown before pressing the enter key in the address bar

@nyakojiru Oh, that's strange. I double-checked it on my end but couldn't replicate it:
https://github.com/user-attachments/assets/bbac6321-164e-4338-a1b4-7b226a3b72e7
Could you please record a video showing what's happening on your side? Specifically, I'd like to see the following:

The extension popup when tapping the icon on the toolbar
The permissions you've granted to the extension in Safari > Settings > Extensions
The redirection rule you've set up in the Redirect Web app
The menu shown before pressing the enter key in the address bar

I hope this helps.

HOWEVER, I noticed that it no longer works on Safari Technology Preview 202. Safari doesn't load any web page when entering a query:
https://github.com/user-attachments/assets/52c6f6d4-bd21-49d8-b82b-cf38689b3cb2
I confirmed this issue also occurs on iOS 18.0 RC (22A3354) on my device.
It seems to have regressed, or perhaps it was intentional? I doubt it since it ruins the UX but it could be possible because they restrict the default search engines.
I'll ask about this on Apple's developer forum first, and depending on their response, I may raise the issue with w3c/webextension. Hope it's just degraded...

Replication:

https://github.com/user-attachments/assets/e686ec6b-ee39-49e3-b0eb-9dcdb0cf6671
Sample Xcode project: DNRForDefaultSearchEngine.zip

Posted: https://developer.apple.com/forums/thread/763505

Thanks for the information. As you can see, my post on the forums hasn't received any response from Apple yet. However, I believe they have already recognized the issue. Let's wait and see how it goes...

No, I don’t think so. If the DNR is a requirement for you, the control a third party has with DNR is extremely limited. (That makes DNR privacy oriented.)
You should either use the Original type or downgrade Safari.


Doesn't work with #ifdefs marks the scope as global after

Hi @alfaiyma, would you mind providing a simple code sample that demonstrate the issue?

Sorry for the late response but any code within an ifdef block in c reverts
to [global]
I.e
Void fun() {
int i;
#ifdef 1
i=1
#endif
}
On Apr 25, 2016 11:13 PM, "KS Chan"<EMAIL_ADDRESS>wrote:

Hi @alfaiyma https://github.com/alfaiyma, would you mind providing a
simple code sample that demonstrate the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/mrkschan/ctags-status/issues/35#issuecomment-214594512

same problem here, should ignore pre-compile directives (#)

@pbraga @alfaiyma which ctags-status version are you using? And, what is the file extension of the file? .c or other file extension?
I cannot reproduce on ctags-status v1.3.5

I am using ctags-status v1.3.5 as well, and the files are .c and .h files.
It could be due to indentation as the pre compile directives do not have any in the project i am working on. So mostly like your example but with #ifdef and #endif at the same level the function.
I have not been able to properly test this.

Confirmed with the one below.
int f3() {
    int i;
#ifdef 1
    i=1
#endif
    return 0;
}

Hey, try v1.3.6.

Hi, I have just tested with new version and it does work :)
Thank you


auth with api key

Implement auth with api key

[x] api auth
[x] cli: use EOTDL_API_KEY env var to authenticat without login ing
[ ] ui: manage keys in user profile

add api key management in user profile

create API endpoints to generate/retrieve api keys @juansensio


iOS Slider Discrete Values Issue

I think I've found a bug with how the numberOfDiscreteValues is being calculated for iOS. I'm currently using<EMAIL_ADDRESS>I have the following example:
Min Value: 1000
Max Value: 10000
Step Size: 1000
When debugging I've noticed that numberOfDiscreteValues is being to set to 9 instead of 10. This is resulting in a continuous slider rather than a discrete one. From what I'm seeing the calculation is a difference of max and min, rather than the number of values.
Here the calculation:
https://github.com/nativescript-community/ui-material-components/blob/f889849cd6c37c56cebe7d1ce71577e9912237b4/src/slider/slider.ios.ts#L71-L76
https://github.com/nativescript-community/ui-material-components/blob/f889849cd6c37c56cebe7d1ce71577e9912237b4/src/slider/slider.ios.ts#L80-L88
With the above logic the numberOfDiscreteValues is one less than the correct value.
I'm not blocked with the issue as I'm setting the numberOfDiscreteValues myself. I'm using NativeScript-Vue, here's a sample logic that is working for me:
computed: {
  totalTickMarks() {
    /**
     * adding one as the number of ticks represents the number of values and not the difference
     * Example Range: 0 to 10 = 11 ticks; Therefore: 10 - 0 + 1 = 11
     * Example Range: 5 to 50 = 46 ticks; Therefore: 50 - 5 + 1 = 46
     */
    const tickMarksCount = this.maxValue - this.minValue + 1;

    if (this.stepSize) {
      // always set value to whole number after dividing
      return Math.ceil(tickMarksCount / this.stepSize);
    }

    return tickMarksCount;
  }
},

// ...

methods: {
  sliderLoad() {
    const nativeView = this.$refs.slider.nativeView.ios;
    nativeView.numberOfDiscreteValues = this.totalTickMarks;
  },
},

@dangrima90 could you create a PR?

@farfromrefug sure I'll give it a go :)

@farfromrefug here's the PR https://github.com/nativescript-community/ui-material-components/pull/395
As mentioned in the PR description unfortunately I didn't manage to get the demos working on my machine, however I tested the same code in my local project and it's working fine.

@farfromrefug  @dangrima90 I see this issue is still open and after using the slider with the most up-to-date version I'm not sure if the PR #395 that was merged resolves everything.
I've created a demo repo that uses Nativescript Angular(I'd imagine it's the same issue with any flavor) to reproduce the issue: https://github.com/brianrclow/slider-initial-value-issue
The issue is the numberOfDiscreteValues being 1 more than expected for some min/max values. In my demo repo, I show this issue with 2 sliders.
Slider 1
Min: 0
Max: 100
Value: 50
Step: 10
Outcome: slider initial dot position is in the middle at the "50" tic mark position.
Slider 2
Min: 20
Max: 100
Value: 50
Step: 10
Outcome: slider initial dot position is in the middle at the "60" tic mark position not where I would expect it to be at the "50" tic mark position, 1 to the left, off center.
I'm not entirely sure how to best solve this as it seems removing the "+1" that was added in the PR solves it. Taking
const valuesCount = this.maxValue - this.minValue + 1;
to
const valuesCount = this.maxValue - this.minValue;
seems to solve it but I don't know enough about the codebase to know if this messes with other things.
Interested in your thoughts and if you've come to a similar understanding. Thanks.
Here is a screenshot of the app running:

Here is a video of it in an app I'm working on: https://www.youtube.com/shorts/rxUXB-EbOec

@brianrclow i try to take a look at it. I hope it is not a native bug cause the lib is not maintained anymore :s

@farfromrefug I don't think it a native bug but I am not 100% sure. I imagine it's just a math error in calculating the number of ticks which effects where the initial value position is at.


Consolidates trait and dynamically extend PHPUnit

Suggested fix #690

Ugh, sorry for the ugly patch.

Coverage decreased (-4.6%) to 73.441% when pulling d19b9bb3ea70d80f0800fe1c68098cf3a11dc601 on davedevelopment:phpunit-6 into 0b23f71799b3e43406f4ce7fef112ac3f0b7a385 on padraic:master.

@GrahamCampbell thank you

Coverage decreased (-4.6%) to 73.441% when pulling c21e9fadf2a122cc0b6c8662d9ab4757f002d74f on davedevelopment:phpunit-6 into 0b23f71799b3e43406f4ce7fef112ac3f0b7a385 on padraic:master.

Coverage decreased (-4.6%) to 73.441% when pulling c21e9fadf2a122cc0b6c8662d9ab4757f002d74f on davedevelopment:phpunit-6 into 0b23f71799b3e43406f4ce7fef112ac3f0b7a385 on padraic:master.


Split applyHistory into applyHistoryFromBlock

Following #2456, this further refactors the Wallet.applyHistory function by splitting the body of the giant loop it contains into a separate method.
This reduces the 176 LOC method to 170 LOC and reduces the control flow nesting depth by 1.

This change is

I'll rebase from master once the previous PR is merged in.

Since I have a functional programming streak, what do you think about having the helper function just compute and return the new ProcessedTransactions, which would then be inserted into the DB?

Since I have a functional programming streak, what do you think about having the helper function just compute and return the new ProcessedTransactions, which would then be inserted into the DB?

That sounds reasonable. Are we talking about something like this?
func (w *Wallet) computeProcessedTransactionsFromBlock(tx *bolt.Tx, block types.Block, spentSiacoinOutputs spentSiacoinOutputSet, spentSiafundOutputs spentSiafundOutputSet) ([]modules.ProcessedTransaction, error)

...

for _, block := range cc.AppliedBlocks {
   pts, err := computeProcessedTransactionsFromBlock(tx, block, spentSiacoinOutputs, spentSiafundOutputs)
   if err != nil {
      return err
   }
   for _, pt := range pts {
     err := dbAppendProcessedTransaction(tx, pt)
     if err != nil {
        return fmt.Errorf("could not put processed transaction: %v", err)
     }
  }

Note that example represents a behavior change in that the current implementation makes some dbAppendProcessedTransaction even if there are errors calculating later ProcessedTransactions. If that detail is important, I can write it to preserve that behavior.

yes, that's pretty much what I had in mind. In practice I would expect that computeProcessedTransactions would rarely return an error, since it should just be reading from the db. Perhaps it could just log any errors encountered and return the set of txns that it successfully computed (and no error).

Updated based on your suggestion.


ESP32-D0WD-V3 + CC2530 with DS3L - pairing failed

Hello,
the pairing failed.
FW File: ESP-ECU-v10_8.bin
flashed the file: CC2530ZNP-with-SBL.hex to the CC2530
Wiring:
ESP32-D0WD-V3 CC2530
3V <-> 3V
GND <-> GND
D5 <-> RST
RX2/GPIO16 <-> P03
TX2/GPIO17 <-> P02
Steps I did:

conntect the ESP32 to the local WiFi
Menu -> Inverter -> add -> enter Serial & save
click to pair

there is a part of the console output:
  sendZB FE00260026
readZB FE0166050062FE064180020202020702C2FE0166050062FE0166050062FE0166050062FE0166050062FE0164000065FE00660066FE0145C0088CFE0145C0088CFE0145C0088C  rc=23

checkZigbeeRadio
  sendZB FE00270027
readZB FE0E670000FFFF80971B01A3D8000007090011  rc=19

found 0709, running oke
ZB coordinator started
trying pair inv 0
pair command 0 = 24020FFFFFFFFFFFFFFFFF14FFFF140D0200000F1100703000082926FFFF10FFFF80971B01A3D8
  sendZB FE2524020FFFFFFFFFFFFFFFFF14FFFF140D0200000F1100703000082926FFFF10FFFF80971B01A3D83C
readZB FE0164020067  rc=6

pair command 1 = 24020FFFFFFFFFFFFFFFFF14FFFF140C0201000F0600703000082926
  sendZB FE1A24020FFFFFFFFFFFFFFFFF14FFFF140C0201000F060070300008292672
readZB FE0164020067  rc=6

decoding : FE0164020067
no valid pairing code, returning...
pair command 2 = 24020FFFFFFFFFFFFFFFFF14FFFF140F0102000F1100703000082926A3D810FFFF80971B01A3D8
  sendZB FE2524020FFFFFFFFFFFFFFFFF14FFFF140F0102000F1100703000082926A3D810FFFF80971B01A3D844
readZB FE0164020067  rc=6

decoding : FE0164020067
no valid pairing code, returning...
pair command 3 = 24020FFFFFFFFFFFFFFFFF14FFFF14010103000F060080971B01A3D8
  sendZB FE1A24020FFFFFFFFFFFFFFFFF14FFFF14010103000F060080971B01A3D84F
readZB FE0164020067FE0164020067  rc=6

failed, inverter got id 0000
Opened for write..../Inv_Prop0.str
send normal ops initCmd = 2401FFFF1414060001000F1E80971B01A3D8FBFB1100000D
  sendZB FE162401FFFF1414060001000F1E80971B01A3D8FBFB1100000D4F
readZB FE0164010064FE034480001401D2  rc=14

zb initializing ready, now check running
checkZigbeeRadio
  sendZB FE00270027
readZB FE0E670000FFFF80971B01A3D8000007090011  rc=19

found 0709, running oke
300 secs passed, polling300000

Hi ds2k5,
I had the same issue and for me the following worked:
In console put in: 10;ERASE
That deletes the inverter file.
After this it was possible to register the inverter. Before I had to do put in the data again and again and it did not save this.
Then you can pair. What also doesn't work is the automatic polling. In the moment I'm doing this by 10;poll=0. No other chance.
Good luck, Jens

@ds2k5 Hard to say why the pairing fails, the coodinator works oke but you are not getting the right answers from your inverter.
@APSjens when the autopoll failes, ther must be something wring in the settings that are stored in the filesystem. When you boot and examen the serial monitor you can see the value of 'polling' in basisconfig.txt. If this value is 1 the autopoll will work.

thanks @ALL
but I can not test before End of August...
then I will be there next time...

@APSjens
Hi,
I am back at the Place.
Tyed what you told me.
* * connection opened * *
--
poll inverter 0
pollCommand ex checksum:240100001414060001000F1380971B01A3D8FBFB06BB000000000000C1FEFE
sendZB FE1D240100001414060001000F1380971B01A3D8FBFB06BB000000000000C1FEFE29
readZB   FE0164010064FE034480001401D2FE274481000006000000141400FF0000000000001380971B01A3D8FBFB06BB000000000000C1FEFE00000002   rc=58
decodePollAnswer inverter 0
no route receipt
ignoring,  received  FE0164010064FE034480001401D2FE274481000006000000141400FF0000000000001380971B01A3D8FBFB06BB000000000000C1FEFE00000002
polling failed with errorcode 15

Something changed:

But did not see Data how much kw/h are done by the inverter
or how much power current is made...

Thanks to all.... move the ESP32 to another place
now the data is show

shit..... it stopped working :-(

What did Inverter Status: 1111 mean ?

Did delete and reAdd the inverter
but pairing did not show success....
how to factory reset the device ?


Can input channel be different from output channel？

Thanks for your working, I saw in all examples, input channels are all equal to output channels. Can input channels be different from output channels?

We currently do not support this. We currently only support "depthwise" convolutions (or SISO convolutions if you come from the signal processing literature). These treat each channel in the input independently for the convolution.
Do you have use cases for input channels != output channels for long convolutions? Would you mind sharing a simple example in PyTorch so we can understand exactly what the behavior/spec is?

For conv1d in PyTorch. There is input channel and output channel numbers. And it is useful for downsampling and upsampling in like Unet

Ah I see. My impression is that most of those are grouped convolutions, so you have a full dense layer connecting all the input and output channels for each filter (confusingly, in PyTorch Conv1D, this is called with groups=1).
For small kernels, I think the PyTorch/cuDNN code is pretty decent - do you know of examples where there are very long kernels in this case? It's something we've been curious about, so if there are example architectures to benchmark/test out that would be great for us!

Because like Unet in diffusion model is full of convolution. I am curious about if your design can accelerate it.

This is actually something we're working on... we may have some good news soon, stay tuned :)

sad. I guess I need another idea now. By the way, how long kernels you define is large?

If you reach out via email, happy to discuss our ideas further!

how long kernels you define is large?

We've seen two regimes -- 1/3/5/7, and then kernels as long as the input sequence (like input is 256, kernel is 256).

If you reach out via email, happy to discuss our ideas further!
Mind if I reach out as well? Been working on a diffusion acceleration project and would love to share thoughts and ideas with you guys!

Please do!
On Wed, Nov 29, 2023 at 8:11 PM AandD @.***> wrote:

If you reach out via email, happy to discuss our ideas further!
Mind if I reach out as well? Been working on a diffusion acceleration
project and would love to share thoughts and ideas with you guys!
—
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/flash-fft-conv/issues/2#issuecomment-1833078360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDDIIVSH4NE6MSASXTKLRDYHABQXAVCNFSM6AAAAAA7M2QO42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGA3TQMZWGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Please do!

Shot you guys an email!

@DanFu09 Just following up with you on this - I sent you an email yesterday about connecting. Let me know if you didn't receive it!


Add dedicated type/class for Euler rotations

Godot currently returns Euler rotations as Vector3 objects, apparently just for convenient bundling of three floats. I guess that this has caused confusion, or at least has the potential to do so, as I think it is specifically noted in the documentation that the values are not actually a vector, and can't be treated as one in most cases.
Now that Godot is introducing type hints, I think Euler rotations should have a dedicated EulerRotation (or EulerRot, EulerAngle3, etc.) class to avoid further confusion, as well as to prevent passing "the wrong kind of Vector3" to functions.
I also ask for this to be added in 3.1 (or, rather, at the same time as type hints) because if it were to be released in a later patch, people may already have type-hinted Euler values as Vector3s and this would be a breaking change for them (albeit somewhat minor).

Quaternions are so much better, don't know why euler angles would be chosen at all as they have some pretty big issues that quaternions just don't have...

I agree that Eulers are usually suboptimal, and personally try to avoid using them whenever possible.
However, IME quaternions are generally not taught in school, whereas Euler angles are. I expect most beginner game devs don't have an extensive math background, so will be more comfortable using Eulers, at least at the start.

EulerRotation would be just an alias to Vector3 though, I don't think it needs its own class, and would operate only on typed GDScript side

That's what I was thinking might do as an initial solution. However, there are a lot of Vector3 methods which simply don't make sense for non-vectors, so could be a distraction and confusing for those unfamiliar with the hows and whys of Godot's implementation, so I do think a separate class would be beneficial.

I'm not sure if it should be made forcefully incompatible with Vector3 though, I would be annoyed by that.

Are there situations when it's useful to mix actual vectors and Euler triplets? AFAIK the two are completely distinct and conceptually incompatible?

Thing is, it takes only a day for a beginner to get what euler angles are. Do you want all devs and the engine to support an additional primitive type just because of a knowledge gap? If it goes to core types, that would be to core devs to decide.

Thing is, it takes only a day for a beginner to get what euler angles are. Do you want all devs and the engine to support an additional primitive type just because of a knowledge gap?

It's not a question of understanding Euler angles, it's about not having Vector3s which aren't vectors, and shouldn't be used as Vector3s, but are programmatically indistinguishable from other Vector3s which actually are vectors that can safely be used when something expects a Vector3.
Of course, some things expect a Vector3 which isn't a vector, so you can also have the same problem in reverse, but you'll have to check the documentation to find out which kind of Vector3 you should be passing.
My understanding is that the entire point of having type hints is to prevent accidentally using variables inappropriately. That we have two incompatible uses for a single type is rather a fly in that ointment!

When dealing with rotations, you can also use Basis vectors, which are intuitive unlike Quaternions and flexible unlike Euler angles. GDScript already allows you to use Basis vectors via the Basis class.

We recently introduced the https://github.com/godotengine/godot-proposals repository to discuss such feature proposals. I would suggest to move this proposal there if it's still relevant, following the issue template provided to give all relevant information on use case, etc.


search_bar: Reset text in search_bar while navigating.

Text in the search bar reset every time, the user switches between recent topics and other streams.
Fixes: #20956.
Changes:
1. Reset text in the search bar while navigating around streams.
Current preview:
https://user-images.githubusercontent.com/66828942/201452287-12078bfb-9217-406d-8842-017d5f8c12fe.mp4
New preview:
https://user-images.githubusercontent.com/66828942/201455077-168be035-b9d7-4126-a29c-1c614791e805.mp4
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Hey @alya , I have resolved the issue and attached the demo video, kindly review the PR, Thanks.

hello how can i start contribute how to run server

hello how can i start contribute how to run server

Hello @harish343 , you can refer to the contributor's guide, Thanks.

Thank, @palashb01 ! Looks good to me in manual testing.
@amanagr Could you please review this one (not a release goal)?

@palashb01 I pushed a fix, can you test if it works well?

Hey @amanagr , the solution works fine.
Demo Video:
https://user-images.githubusercontent.com/66828942/206804096-c6815699-616a-429e-b55f-c7be9eb4c391.mp4

@alya looks good to me!

@timabbott This was reviewed by @amanagr and me -- over to you.

Hey @timabbott , just bumping this up since it's been a while, Thanks.

Hey @alya, it's been a while since this PR has been open. I believe an integration label would be a great option at this point. Thanks.

Ah, yes, looks like I meant to add that label -- thanks for catching that!

Merged, thanks @palashb01!


Support for Python 3.11

Check it by yourself, it should work but I haven't run any tests.

close #7

close #2

Any updates? You guys asked so much for these changes/

Please rebase master, especially https://github.com/no-plagiarism/pymorphy3/commit/583d2e93528f2401fa3ece0899d56bfa14a5ef7f -  "add CI commit". Don't forget to add the 3.11 version to the CI script.

Please update the version in pymorphy3/version.py to "1.2.0" for CD and re-request review


3.0.0 Plugin is failing

Godot version
4.1.1
Plugin version
v3.0.0
Phone information
Samsung S22 Android 13
Issue description
The Ad Mob Android plugin isn't working. If I disable it my app works fine on my phone
Steps to reproduce

Make sure to have Ad Mob enabled on your export
Export or Remote debug the project

Additional context
No response

EDIT: I tested 2.1.4 and it's also failing

Hi, what error are you getting?

The game just crashes, I can't tell you the exact error because the game doesn't show up.
The only thing that I can see on the godot terminal is: reverse result: 0

have you did this?

please try to check adb to see the cause of crash

omg, totally my bad, I was using a "/" character instead of "~" on the android:value, not idea why, so sorry! thanks!


Stricter type checks

Closing this, since work is continuing on a fresh branch: https://github.com/onflowser/flowser/pull/169


please allow overrides of requests.Session

I'd like to have the ability to override the default (requests) session object created in Api.__init__(), especially since the constructor immediately starts to make use of the requests Session object. Thing is, we run a custom setup requiring some non-standard attributes to be set to requests.Session, but there is no way to do by overriding Api.http_session before it's being used the first time in the constructor itself.
Current constructor is (relevant parts only)
class Api(object):
    def __init__(
        self,
        url,
        token=None,
        private_key=None,
        private_key_file=None,
        ssl_verify=True,
        threading=False,
    ):
...
        self.http_session = requests.Session()
...
        req = Request(
            base=base_url,
            token=token,
            private_key=private_key,
            ssl_verify=ssl_verify,
            http_session=self.http_session
        )
        if self.token and self.private_key:
            self.session_key = req.get_session_key()
...

Now thing is, Session has some attribtes that can be set, in my particular case a client cert I need to pass like so
s = requests.Session()
s.cert = ("cert", "key")

You do support ssl_verify which maps to requet's verify attribute. That too could be set through a session paramater. Therefore I suggest to rewrite Api.__init__() as follows
    def __init__(
        self,
        url,
        token=None,
        private_key=None,
        private_key_file=None,
        session=requests.Session(),
        threading=False,
    ):
        self.http_session = session

Then I as a user could do:
s = requests.Session()
s.cert = ("cert", "key")
s.verify = False
# whatever else one may want to tune and customize
nb = pynetbox.api(..., session=s)

If you remove verify_ssl this obviously breaks the API, but that could be easily worked around and kept for compatibility reasons, even without breaking existing code.

Oh and by the way, #189 deals with a similar problem, though that can be worked around otherwise. My suggestion would be a drive-by fix for #189 as well.

Yeah, #209 and #219 could probably benefit from it as well. Real blocker seems to be making the call to .get_session_key() key in init. I think that may make more sense in App when it's called for the secrets endpoint. That would at least let you set api.http_session universally after instantiation, but not opposed to letting it be passed as kwarg as well.

Absolutely. Session.auth allows basic authentication settings fixing #209, and Session.headers to add custom headers for #210, though that may need more care since you also set headers on a by-request basis, and I don't think requests.Session would merge them.

Done, opted not to make it a kwarg though, but we don't make any requests in Api's init now.


Implement --ident command line option

The --ident option would allow a user to download an item by using an ISBN, DOI, or URL (e.g., paywalled URL).
It's very likely that we'll have to write a plugin alongside this option (e.g., for SciHub).

On a tangent: DOIs and other similar identifiers can be found when searching, and then Sci-Hub or similar is queried.


Add new Style/HeredocDelimiters cop

This change adds a cop for enforcing meaningful heredoc delimiters. It is based on a delimiter blacklist, which by default contains END.
RuboCop had 3,207 offenses, so I separated the cop implementation and fixing of existing offenses into two different commits. :wink:
⚠ Opening the commit which fixes the offenses in GitHub might freeze your browser.

Before submitting the PR make sure the following are checked:

[X] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[X] Used the same coding conventions as the rest of the project.
[X] Feature branch is up-to-date with master (if not - rebase it).
[X] Squashed related commits together.
[X] Added tests.
[X] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[X] All tests are passing.
[X] The new code doesn't generate RuboCop offenses.
[X] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[X] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

One offense in the new cop is failing the build.

@bbatsov: Fixed! There was also a new END merged into master after the PR was opened, which caused some serious confusion as to why the build was failing. 😅

Awesome work, btw!


feature: ability to configure defaults per mode

I have a 2 monitors setup and hyprscroller works quite beautifully with it, but I want to use my secondary screen in vertical orientation.
I know I can use monitor_modes to set it to column mode but then as default_column_width is shared width my wide horizontal monitor it makes new clients too narrow.
Ideally, it would be great to be able to set a different value for default_column_width and default_window_height based on the mode (col or row).

I added this in 3cdf011b1641987448120f5c7f21acc9d7ed610c
It works as a new option: monitor_options where you can define per monitor variables. It is explained in the README, under Options, in monitor_options.
I hope it works for you.

Thank you! It works perfectly.


Divergence & Curl 散度和旋度 - iClass - 爱课

https://iclass.cc/2021/01/06/05-25-divergence-curl.html
DivergenceDivergence is an operation on a vector field that tells us how the field behaves toward or away from a point. Locally, the divergence of a vector f...

a matrix reloaded


Marks don't show in minimap for HTML

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.91.1
OS Version: macOS 14.3.1

Steps to Reproduce:

Take the following HTML file:

<!DOCTYPE html>

    <title>Basic HTML with JavaScript</title>

Welcome to My Website

This is a basic HTML file with embedded JavaScript.

The MARK in the


Add path backtracking

Simple backtracking by replaying communication backwards and with reversed engine direction

Requirements

UI Backtrack button on DriveUI
when selected robot starts backtracking it's path
on any manual input disable backtracking


Add the tests for some tf.data kernels

This PR develops the tests for tf.data kernel implementations in C++. It designs a test base class and adds the tests for RangeDataset and MapDataset.
cc @jsimsa

@jsimsa Does the log mean that some dependencies are missing in the BUILD file for the newly added tests? To fix the issues, the log suggests to run build_cleaner //third_party/tensorflow/core/kernels/data:range_dataset_op_test. But I did not find a way to install build_cleaner. Do you know how to install build_cleaner?

Yes, that's what it means. Build cleaner is an internal tool. You will need to make sure that for the listed header files, you add dependencies that provide them.


brew bundle has been removed

The brew bundle command has recently been removed from Homebrew; we relied on it for automation.
Since Cask is a popular tool for provisioning personal machines, it would be desirable to seek a working alternative without external dependencies, or implement our own bundle-like command.
(In the future, bundle-like functionality may be provided by “metacasks” exclusively comprised of cask dependencies, but until then, it would be best to provide an interim solution.)

I say we move the whole discussion to the concept of metacasks (and decide there if we should do it or not), as that could conceivably do the same (and possibly more) than bundle.

it would be desirable to seek a working alternative without external dependencies

Solution that fills the requisites:
bundle() {
  sed '/^\s*$/d;s/^/brew /' "$1" | sh
}

@ndr-qef If there’s something here I’m missing, feel free to reopen for further discussion.

For anyone following this thread: this is the new official replacement built by @andrew: https://github.com/Homebrew/homebrew-brewdler


Unable to play video if quality setting is Low

Summary:
If video quality setting of application is Low,
The playback screen appears when the video is clicked, but the screen remains dark.

Done.


npm run build without UglifyJsPlugin [testers purpose]

Hi, it is not a bug.
Is it possible to do a 'npm run build' for tester purpose without 'UglifyJsPlugin'. I saw #2947 but Timer refuse it. I know it is bad practice for production, but in our case it is only for testers, we deploy in some test server and if they are looking for some issues, then they can report it and we can check without any uglify process and detect it directly from that server.
Then pull request from @jpdriver could be useful in those cases. i will wait your answers.
Thanks.

I think if this could be useful for you, you should copy those changes I proposed into a custom fork of react-scripts.
That's ultimately what I ended up doing to support my very specific use case 😄

Thanks @jpdriver for your answer. It only could be a option, I can understand react team for not allowing this option, but it is very simple to change it. I am thinking in other way for the testers, but I will see if it can be work for them. :simple_smile:

What specifically is the problem? Some code being stripped that you need in your test environment? Just needing to view unminified code?

Hi @heyimalex , for testing we have a test environment for testers, they can do functional tests and if someone find some issue send a report, even some cases, with line code is broken. And we can work directly from that server to research that problem.
CRA is amazing and it has almost everything we need for this new project, but for others projects we have tests environments and I did different configurations with webpack for that purpose.
The only thing for us with  CRA is that possibility to do a build with unminified code.
But maybe anyone does not need our use case, but it would be great that option. In my last comment here I commented I have been thinking in new way to solve our case.
Thanks ;)

Hm, in this case why can't your testers use the provided sourcemaps? Even if you don't run minification, the code you write isn't the code that's run: its passed through babel and bundled with webpack.

Mmm you  are right about sourcemaps. I know about bundle from webpack. We are working in this new project and I had not done any build yet, I just did to see it what build files we got it, and we can get sourcemaps, then it does not matter if minified our code. I am gonna close this issues, because it is not necessary.
Thanks for the answers, and I learnt a bit more about sourcemaps, I knew sourcemaps created like a file tree about our whole application, but I did know how it worked into the browser.
Again Thanks @heyimalex  ;)


Aqara FP1 and FP2 sensors not working also EPL.

When selecting from the dropdown, I thought these Presence Sensors would appear.
Aqara FP2 Presence Sensor
Aqara FP1ePresense Senor
EPLite
Seems to only see my Aqara P1 Motion Sensors.

Is it because I bring them in as Matter devices in HA..

This is due to the entity filters on the inputs, I will check the device class for mmwave sensors and allow them for the next release, for now you can try entering the complete entity id like "binary_sensor.fp2_occupancy" for example


Better notification

My Setup

Operating System: Windows 10
App Version: Version 2.9.0

[x ] I have tested with the latest version
[x ] I can simulate the issue easily

Description

Taskbar icon for the application doesn't blink when you're in private group chat with notification settings enabled
Current Behavior

Expected Behavior

Should be able to show blinking taskbar icon in private group chat

Hello, we will be tracking the blinking icon feature request here: https://github.com/RocketChat/Rocket.Chat.Electron/issues/2525


Error 401 occurs on PM mode

When trying to access trustify with PM mode cargo run --bin trustd, API calls errors with 401.
Please find the logs below:
pm_mode.txt

PM Mode really only "works" within a browser, interacting with the Javascript app, transparently authenticating through an embedded OIDC server. If you're trying to access the API directly via curl/wget/httpie/swagger-ui, you'll have better luck like so:
AUTH_DISABLED=true cargo run --bin trustd

Does it seem random? It may be a problem with the embedded OIDC server, which is really just a hack that'll never be used in production.
If you're just looking to test the behavior of the app, irrespective of auth, I recommend AUTH_DISABLED=true.

"Unable to connect" is bit generic. There should be more information in the browser's developer console about the actual cause.
The UI fetches an access token and needs to refresh once it expires. If the UI uses an invalid token, you'll get 401.
Instead of just disabling authentication, we should find the cause for this. As this might have an impact on the actual system, independent of "pm mode".

I just tried this out. And it works as expected. Do you have any details that could help reproduce?

thanks for the follow up
I remember when it was reported and I guess it was "double-click" close/reopen or something

@mrrajan can you please confirm? thanks!

I couldnt reproduce the issue with the latest commit - Not sure what went wrong before! I hope we can close it and reopen if needed.


Failed to generate HMAC with hash: sha256 in Yii app intermittently

Our yii2 app generates this exception intermittently. The issue appears to have generated from the core framework. We are not sure why it occurs intermittently.

Additional info

Q
A

Yii version
2

PHP version
7.0

I'd say it is a problem with the server that has no sha256 available but "intermittently" makes it interesting. Would you please collect extra data? Need values of $this->macHash and $rawHash at the moment of failure. Also, removing @ temporarily may give extra info.

There was no configuration or environment changes made to PHP installation. It was not working for only that day's morning session. Only very few users encounter this exception, that too rarely.

I see. Seems we have no idea why it doesn't work in this case and without more info we cannot reproduce/fix it.

https://stackoverflow.com/questions/33978535/php7-unknown-hashing-algorithm-sha256


Issue with login commands:

Hello, I set a job to update my follow list each 15 minutes with instagram-scraper. Until yesterday it worked very well, yet since a couple of days ago the login commands produce this error:

C:\Users\Administrator\Documents>instagram-scraper --filename Instagram.txt --media_types story --latest --quiet --login_user ****** --login_pass ****** --destination ******* --retain_username
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Scripts\instagram-scraper-script.py", line 11, in
load_entry_point('instagram-scraper==1.4.0', 'console_scripts', 'instagram-scraper')()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 655, in main
scraper.scrape()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 260, in scrape
self.login()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 71, in login
if login.status_code == 200 and json.loads(login.text)['authenticated']:
KeyError: 'authenticated'

without the aforementioned commands the job is completed without issue, but obviusly this does not work for stories and private profile.
Since I don't think I changed anything that may have produced the error I reported here.
Thanks.

Scraping private profiles and stories is working fine from my end. Can you verify that you are able to login to instagram normally either through the web or mobile app?

Yes, I can confirm it works. I cannot pinpoint the exact moment the problem started since I run instagram-scraper on a server at home, but fearing a ban I tested, also by changing password, but I can connect like always, from the mobile app (android) and from the same server (chrome).

Small update: I created a different profile (and followed some private profile to adapt to my list). With a different username and password instagram-scraper manages to update correctly, so it seems to actually be related to the main username. But I'm at loss: is it possible to "ban" not an account or an ip, but the "method" instagram-scraper uses to download the content? As I said I can access to my account even from the very same device.

I don't know the exact conditions for triggering it (one of them might be accessing instagram from a different IP), but it may sometimes require you to verify your account to prove you're a human and not a bot. When this happens you may have to enter a verification code sent to your email or prompted by the app to verify the activity.
@XellossMetallium This may have been the issue you were experiencing initially. I added logic to detect this scenario and output an error message with the link to challenge/checkpoint url.

It is a fact that the errors started to occur when I was 700km away from home, so Instagram could have actually see connections from two different locations at the same time. Strange that it asks for confirmation from the older, usual one.
Anyway, sorry to ask, but do I need something more than running "pip install instagram-scraper --upgrade" to get this particular update? If not, the error I get seems to be the usual.

C:\Users\Administrator>pip install instagram-scraper --upgrade
Requirement already up-to-date: instagram-scraper in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages
Requirement already up-to-date: requests>=1.0.4 in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from instagram-scraper)
Requirement already up-to-date: tqdm>=3.8.0 in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from instagram-scraper)
Requirement already up-to-date: requests_mock in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from instagram-scraper)
Requirement already up-to-date: nose in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from instagram-scraper)
Requirement already up-to-date: idna<2.6,>=2.5 in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from requests>=1.0.4->instagram-scraper)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from requests>=1.0.4->instagram-scraper)
Requirement already up-to-date: certifi>=2017.4.17 in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from requests>=1.0.4->instagram-scraper)
Requirement already up-to-date: urllib3<1.22,>=1.21.1 in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from requests>=1.0.4->instagram-scraper)
Requirement already up-to-date: six in c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages (from requests_mock->instagram-scraper)
C:\Users\Administrator\Documents>instagram-scraper --filename Instagram.txt --media_types image --latest --quiet --login_user XXX --login_pass XXX --destination V:#ARCHIVIO\USERDATA\Immagini#PERSONE#SOCIAL#INSTAGRAM\Instagram-Scraper#Foto --retain_username
ERROR: Login failed for xellossmetallium
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Scripts\instagram-scraper-script.py", line 11, in
load_entry_point('instagram-scraper==1.5.0', 'console_scripts', 'instagram-scraper')()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 695, in main
scraper.scrape()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 301, in scrape
self.login()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 77, in login
for count, error in enumerate(login_text.get('errors').get('error')):
AttributeError: 'NoneType' object has no attribute 'get'

I pushed the fix v1.5.1 to pip just now. Yes, to upgrade you need to run pip install instagram-scraper --upgrade.

Just updatetd, the error looks similar. In the logs ("2017-07-02 12:16:46,488 - instagram_scraper.app - ERROR - Login failed for  XXX") or in the command line I don't see the expected url to validate the access.

ERROR: Login failed for XXX
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36\Scripts\instagram-scraper-script.py", line 11, in
load_entry_point('instagram-scraper==1.5.1', 'console_scripts', 'instagram-scraper')()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 699, in main
scraper.scrape()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 305, in scrape
self.login()
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 81, in login
for count, error in enumerate(login_text.get('errors').get('error')):
AttributeError: 'NoneType' object has no attribute 'get'

@XellossMetallium Can you please upgrade to 1.5.2 and try again?

Done, still no luck with the login (by the way ZZZ and YYY are the only two private profiles I added to the list, so at least now the others seems to be correctly checked):

ERROR: Login failed for XXX
ERROR: {
"authenticated": false,
"user": true,
"status": "ok"
}
ERROR: Failed to get media for ZZZ
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 428, in media_gen
media = self.fetch_media_json(username, max_id=None)
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 455, in fetch_media_json
raise ValueError('User {0} is private'.format(username))
ValueError: User ZZZ is private
ERROR: Failed to get media for YYY
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 428, in media_gen
media = self.fetch_media_json(username, max_id=None)
File "c:\users\administrator\appdata\local\programs\python\python36\lib\site-packages\instagram_scraper\app.py", line 455, in fetch_media_json
raise ValueError('User {0} is private'.format(username))
ValueError: User YYY is private

Had some problems logging in as well. Everything started working once I reset my Insta password and private accounts where scraped flawlessly.

 Thank you very much.
@rarcega since for now there is a workaround should I close this issue or do you prefer to investigate further?

@XellossMetallium Glad I helped :)


Images reload every time View is rendered

Should Images be re-rendering every time an iOS view is changed?
Anytime you dismiss a native controller and come back to your app there's a bit of time where RN Images are not there because they are being loaded again. If you have a lot of Images in the View you're coming back to, the time of seeing no Images increases—note the TabBar icons in the first GIF.
React Native App (Images reload):

Native iOS App (Images seem to not reload):

I tested this with TabBarIOS, logging Image onLoad, each time you switch tabs Images are loading again. Looking at some native apps it seems like once your images are loaded in a view each time you come back to that view the images don't re-render.
I'm running React Native 0.27 on a Mac. I've only seen this on iOS, not sure about Android.
Side note: The first screenshot (my app) is not using TabBarIOS, when using TabBarIOS the TabBar icons do not re-render when swiping back into the app from Safari View Controller.

not sure, but maybe you can cache the image/data you're using in that bottom bar because that seems like data that shouldn't need to be reloaded right?

Adding defaultSource to local images seems to improve it for me.

@samuelkraft defaultSource fixes the local images problem. That commit seems to address this problem too. Thanks for the suggestions!


Git Worktrees not supported

Up to now, git worktrees are not supported during the automatic detection of git repository. While in the master branch, it will works since the .git is a folder, in a worktree it will not. This is due to the fact that, inside another branch worktree, the .git is a file containing a link to the corresponding folder into the master one.

Closing this issue with commit: a01d020


Reject duplicate command line arguments that don't make sense to repeat

Original issue: https://charm.cs.illinois.edu/redmine/issues/831

Many command line arguments only make sense to process once - e.g. +ppn. The runtime should check for and error on attempts to pass such an argument multiple times.

Original author: Seonmyeong Bak
Original date: 2016-02-15 22:10:15

When a user inserts duplicate arguments for the same option, charm RTS abrots the app and print the message saying that user inserted duplicate parameters.
This is the link to gerrit. ~~https://charm.cs.illinois.edu/gerrit/#/c/1062/~~ https://github.com/UIUC-PPL/charm/commit/f10c746576f3608207c4b621d7bdcb5c1c5756ec


Re: 'Architecture overview of GOV.UK applications'

Problem with 'Architecture overview of GOV.UK applications' not showing the architecture (https://docs.publishing.service.gov.uk/manual/architecture.html)

The architecture diagram is embedded on the page from https://draw.io. It might be worth checking if you've got any browser extensions that may block requests to https://draw.io.
I can't reproduce the "not showing" bit myself (even in incognito mode or on a different laptop), so I'm going to close this.

I could reproduce it myself earlier today (9:29am) and when I saw this issue 6 days ago. But I can confirm it seems to be working now. I wonder what happened?


[GRM] Introduce modes

How to categorize this issue?

/area control-plane
/kind enhancement
What would you like to be added:
In the scope of gardener/gardener-resource-manager#74, @mandelsoft @timebertt @rfranzke discussed about different use cases and modes the GRM should support in the future. We put together the following proposal:

[ ] Add resources.gardener.cloud/origin to deployed resources in order to identify the responsible GRM and ManagedResource. (@mandelsoft will take over)

resources.gardener.cloud/origin: <Origin-ID>/<Namespace>/<Name>

[ ] Add support for resources.gardener.cloud/mode annotation to be added to managed resources:

- "Ignore"
  - Removes resource from state, no action in cluster, does nothing else.
  - Use case: Move a resource from ManagedResource A -> B.

- "EnsureExists"
  - Creates resource if not available.
  - No Update.
  - Deletes resource if deleted from ManagedResource.
  - Use case: Create resource which can be adjusted by shoot owner but still can be deleted.

- "Keep"
  - Creates resource if not available
  - Updates resource
  - No Deletion
  - Use case: Create a default configuration, e.g. CoreDNS config, in shoot cluster.

- "FallBack" (default mode)
 - Creates resource if not available.
 - Updates resource if responsible as per `resources.gardener.cloud/origin` annotation.
 - Deletes resource if responsible as per `resources.gardener.cloud/origin` annotation.
 - Use case: Avoid interference of multiple GRMs targeting the same cluster, e.g. shooted seeds.

[ ] Remove "resources.gardener.cloud/ignore" and "resources.gardener.cloud/keep-object" in a future version.

Do we still plan to do this? TBH, I don't think it's very important and what we have today seems to be good enough (there is not any pull on this whatsoever). Let's close it?


cilium-operator skip create CiliumEnvoyConfig CRD when set "enable-envoy-config=true"

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
when start a virtual machine by script vagrant/scripts/start.sh, and configure cilium-agent systemd service start cmdline with enable-envoy-config=true, it will be restart forever!!  and print following fatal msg
Mar 12 10:32:05 k8s1 cilium-agent[7161]: level=fatal msg="Unable to find all Cilium CRDs necessary within 5m0s timeout. Please ensure that Cilium Operator is running, as it's responsible for registering.
it's due to cilium-operator call function AllCRDResourceNames->agentCRDResourceNames to create CRDS, but the later function only add ciliumenvoyconfigs by cilium-agent's config, not cilium-operator!!
https://github.com/cilium/cilium/blob/7da6cff33bc502c91c89bf4688deb4db0eb622e8/pkg/k8s/synced/crd.go#L60-L62
	if option.Config.EnableEnvoyConfig {
		result = append(result, CRDResourceName(v2alpha1.CECName))
	}

Cilium Version
vagrant@k8s1:~/go/src/github.com/cilium/cilium$ git log
commit d8460a4280ef1a34e441ce673c438897adc63be5 (HEAD -> service_mesh, zhanghe/beta/service-mesh, origin/beta/service-mesh, beta/service-mesh)
Author: André Martins<EMAIL_ADDRESS>Date:   Thu Dec 9 16:37:33 2021 +0100
.github: add parameter to allow for image suffix

This commits adds a workflow parameter to allow for an
developer-defined image suffix. It's useful if the developers don't want
to use the default "beta" prefix for the docker image repository.

Signed-off-by: André Martins<EMAIL_ADDRESS>
Kernel Version
vagrant@k8s1:~/go/src/github.com/cilium/cilium$ uname -a
Linux k8s1 4.9.270-0409270-generic #202105261032 SMP Wed May 26 10:36:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
vagrant@k8s1:~/go/src/github.com/cilium/cilium$ kubectl get nodes -o wide
NAME   STATUS   ROLES    AGE    VERSION        INTERNAL-IP     EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION            CONTAINER-RUNTIME
k8s1   Ready       2d4h   v1.23.0-rc.0   <IP_ADDRESS>           Ubuntu 18.04.6 LTS   4.9.270-0409270-generic   containerd://1.3.4
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

above description is not correct, it should be other problem!


iai_kinect2 1604 branch doesnt exist

As given here, I do not find 1604 branch in the iai_kinect2 repository.
The master branch doesn't have kinect_bridge_ir.launch.
So what is the solution?

Hi,
Please refer to the the Wiki here for instructions on how to build and install OpenPTrack. The document you linked is not the most updated. For first time users we often recommend the Docker Images
As regards the 1604 branch, it is in the OpenPTrack/iai_kinect2/ repository as shown here.
Please let us know if you have any other questions.
Simeon

I see. Thanks for this info.


fix count should accept complex and json type

Proposed changes
Issue Number: close #xxx

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


New section in README.md for manual web addresses implementation?

Can there be a new section in README.md for a manual setup, and information on how to manually add web addresses yourself, to the DNS, for when you want to test which addresses can work for caching and which doesn't? and in terms of private testing with forked repositories / branches, so that it can be tested before making an Issue or Pull Request
As this can be really helpful for newcomers and those that want to help contribute to the project.
Also maybe mentioning where the files are located, and on how to create new containers with manually added addresses, or editing already-created services that you can add additional web addresses

Forking the repo is the route forward on this. Both lancache-dns and lancache-monolithic support using your own repo instead of the cache domains master.
This repo is for collating the domain lists only


Page PDF feature

Feature
Adds PDF transform handling, options, and CLI handling for creating individual PDFs from a quire publication.
This draft PR replaces #910 but incorporates review items from that thread.

TODO before release:

[ ] Refine TOC item PDF link styles + logic
[ ] Use @download attrib on tombstone PDF button
[ ] Refactor pageHeader to remove manual arg passing for PDF link
[ ] Check nested CSS compilation warnings on PDF asset bundle run
[ ] Tests

For styles, etc testing, please use the styles + config.yaml in this zip:
qsd.zip


Add. process source type.

Main Idea is run separate process and use its stdout/stderr as source for logs.
It can be used e.g. to write basic scripts to monitor some services.
But not sure is it worth to do it or just use existed log files to it.

Closed by 9229daa7555730a72347963121ac02a3952646f9


Add mod classes for numeric input

Proposed Changes

Potential Breaking Changes

Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1305 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1305      +/-   ##
==========================================
+ Coverage   99.42%   99.42%   +<.01%
==========================================
  Files         359      359
  Lines        9040     9044       +4
  Branches     2133     2135       +2
==========================================
+ Hits         8988     8992       +4
  Misses         52       52

Impacted Files
Coverage Δ

.../components/numericInput/NumericInputConnected.tsx
100% <100%> (ø)
:arrow_up:

...vapor/src/components/radio/RadioSelectSelectors.ts
100% <0%> (ø)
:arrow_up:

...or/src/components/filterBox/FilterBoxConnected.tsx
100% <0%> (ø)
:arrow_up:

...apor/src/components/radio/RadioSelectConnected.tsx
100% <0%> (ø)
:arrow_up:

...eact-vapor/src/components/input/InputConnected.tsx
100% <0%> (ø)
: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 c79cf7d...2aad7d1. Read the comment docs.


useFakeTimers(now) can't return fake time when I call new Date()

I would like to mock the Date constructor so that whenever I call new Date(), it always return specific time.
But the following code doesn't work for me.
sinon.useFakeTimers(new Date(2011,9,1));
//expect : 'Sat Oct 01 2011 00:00:00' ,
//result  : 'Thu Oct 27 2011 10:59:44‘
var d = new Date();

If you provide a number, i.e. new Date().getTime(), that should work. However, I just tested it in node, and it actually didn't there. If you're doing this in a browser it should work, but the node-thing is still a bug.


Adopt new label changes

Related: https://github.com/istio/bots/pull/244
We renamed the P&T label and removed config

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
2aa1d419dd13a4c5071d1e31a5b1adf9332099a0
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
2aa1d419dd13a4c5071d1e31a5b1adf9332099a0
link
/test release-notes_istio

unit-tests_istio
2aa1d419dd13a4c5071d1e31a5b1adf9332099a0
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
2aa1d419dd13a4c5071d1e31a5b1adf9332099a0
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest
On Sat, Aug 1, 2020, 2:12 PM Istio Automation<EMAIL_ADDRESS>wrote:

@howardjohn https://github.com/howardjohn: The following test failed,
say /retest to rerun all failed tests:
Test name Commit Details Rerun command
integ-security-k8s-tests_istio 2aa1d41
https://github.com/istio/istio/commit/2aa1d419dd13a4c5071d1e31a5b1adf9332099a0
link
https://prow.istio.io/view/gs/istio-prow/pr-logs/pull/istio_istio/26023/integ-security-k8s-tests_istio/17598 /test
integ-security-k8s-tests_istio
Instructions for interacting with me using PR comments are available here
https://git.k8s.io/community/contributors/guide/pull-requests.md. If
you have questions or suggestions related to my behavior, please file an
issue against the kubernetes/test-infra
https://github.com/kubernetes/test-infra/issues/new?title=Prow issue:
repository. I understand the commands that are listed here
https://go.k8s.io/bot-commands.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/26023#issuecomment-667587598, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXMVWSTUAG77MEMM333R6SALTANCNFSM4PQ6GLUQ
.


InventorySample doesn't get past the splashscreen

After downloading the InventorySample zip and running it locally under Visual Studio 2017, the splash screen comes up but never proceeds.   I did have to set the startup project from Inventory.ViewModels as that project isn't a valid start project.  Any idea what's wrong?

You have to set the startup project to the Inventory.App and the solution platform to x86.
When the application starts for the first time, it may take some time to download the database from the
internet.
Please, let me know if this helps.

@rickengle Adding a progress bar could be a good solution.
Thanks for your feedback.

Implemented in pull request by @dishantmshah.


tensorflow.python.framework.errors_impl.InvalidArgumentError: Sampler's range is too small.

Hi, I'm having this problem while running (vocabulary.txt train-data.npz valid-data.npz are generated by prepare-data.py):
train-autoencoder.py output_directory vocabulary.txt train-data.npz valid-data.npz
autoencoder/embeddings:0: (23, 300) (6900 parameters)
autoencoder/fw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/fw/lstm_cell/bias:0: (2000,) (2000 parameters)
autoencoder/bw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/bw/lstm_cell/bias:0: (2000,) (2000 parameters)
projection/dense/kernel:0: (1000, 23) (23000 parameters)
projection/dense/bias:0: (23,) (23 parameters)
Total: 3233923 parameters
INFO:root:Initialized the model and all variables. Starting training.
Traceback (most recent call last):
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1334, in _do_call
return fn(*args)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Sampler's range is too small.
[[{{node sampled_softmax_loss/LogUniformCandidateSampler}} = LogUniformCandidateSamplernum_sampled=100, num_true=1, range_max=23, seed=0, seed2=0, unique=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\fanta\Desktop\autoencoder-master\src\train-autoencoder.py", line 113, in
args.dropout_keep, 5.0, report_interval=args.interval)
File "C:\Users\fanta\Desktop\autoencoder-master\src\autoencoder.py", line 257, in train
_, loss = session.run([self.train_op, self.loss], feeds)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1328, in _do_run
run_metadata)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Sampler's range is too small.
[[node sampled_softmax_loss/LogUniformCandidateSampler (defined at C:\Users\fanta\Desktop\autoencoder-master\src\autoencoder.py:194)  = LogUniformCandidateSamplernum_sampled=100, num_true=1, range_max=23, seed=0, seed2=0, unique=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op 'sampled_softmax_loss/LogUniformCandidateSampler', defined at:
File "C:\Users\fanta\Desktop\autoencoder-master\src\train-autoencoder.py", line 106, in
bidirectional=args.bidirectional)
File "C:\Users\fanta\Desktop\autoencoder-master\src\autoencoder.py", line 163, in init
self._create_training_tensors()
File "C:\Users\fanta\Desktop\autoencoder-master\src\autoencoder.py", line 194, in _create_training_tensors
self.vocab_size)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\nn_impl.py", line 1349, in sampled_softmax_loss
seed=seed)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\nn_impl.py", line 1046, in _compute_sampled_logits
seed=seed)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\candidate_sampling_ops.py", line 145, in log_uniform_candidate_sampler
seed2=seed2, name=name)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\gen_candidate_sampling_ops.py", line 730, in log_uniform_candidate_sampler
range_max=range_max, seed=seed, seed2=seed2, name=name)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\util\deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 3274, in create_op
op_def=op_def)
File "C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): Sampler's range is too small.
[[node sampled_softmax_loss/LogUniformCandidateSampler (defined at C:\Users\fanta\Desktop\autoencoder-master\src\autoencoder.py:194)  = LogUniformCandidateSamplernum_sampled=100, num_true=1, range_max=23, seed=0, seed2=0, unique=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
What I can do to solve this erros?
Thank you.

I have never seen these errors. What version of tensorflow are you using?

Hi.
The version is '1.12.0'

I don't know if it's because the vocabulary.txt is so short. I only have this 23 elements:

not
/
...
//
http:
will
www.

can
know
@
popular
social
#pleconsell
now
us
work
already
trump
https:
old

I solve the problem. It was hapening because the vocabulary.txt had only 23 elements, I generate a new txt with at leats 100 words.
But I run the code:
train-autoencoder.py output_directory vocabulary.txt train-data.npz valid-data.npz
The code ends and nothing hapen. Dosen't generate a directory or the model trained

Did it give any more logging messages? It should save the model after evaluating in the validation data. If your dataset is too small it may not even be getting to the validation.

Show this:
INFO:root:Reading training data
INFO:root:Reading validation data
INFO:root:Creating model
WARNING:tensorflow:From C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\nn_impl.py:1124: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Create a tf.sparse.SparseTensor and use tf.sparse.to_dense instead.
WARNING:tensorflow:From C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\nn_impl.py:1124: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Create a tf.sparse.SparseTensor and use tf.sparse.to_dense instead.
autoencoder/embeddings:0: (105, 300) (31500 parameters)
autoencoder/fw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/fw/lstm_cell/bias:0: (2000,) (2000 parameters)
autoencoder/bw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/bw/lstm_cell/bias:0: (2000,) (2000 parameters)
projection/dense/kernel:0: (1000, 105) (105000 parameters)
projection/dense/bias:0: (105,) (105 parameters)
Total: 3340605 parameters
INFO:root:Initialized the model and all variables. Starting training.
C:\Users\fanta\Desktop\autoencoder-master\src>

Yes, that was the case. You need to set a smaller evaluation interval or preferably use a larger dataset.

But I made a lot of tries, the last with 2571 parametres and continues without generating the model:
INFO:root:Reading training data
INFO:root:Reading validation data
INFO:root:Creating model
WARNING:tensorflow:From C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\nn_impl.py:1124: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Create a tf.sparse.SparseTensor and use tf.sparse.to_dense instead.
WARNING:tensorflow:From C:\Users\fanta\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\nn_impl.py:1124: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Create a tf.sparse.SparseTensor and use tf.sparse.to_dense instead.
autoencoder/embeddings:0: (2751, 300) (825300 parameters)
autoencoder/fw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/fw/lstm_cell/bias:0: (2000,) (2000 parameters)
autoencoder/bw/lstm_cell/kernel:0: (800, 2000) (1600000 parameters)
autoencoder/bw/lstm_cell/bias:0: (2000,) (2000 parameters)
projection/dense/kernel:0: (1000, 2751) (2751000 parameters)
projection/dense/bias:0: (2751,) (2751 parameters)
Total: 6783051 parameters
INFO:root:Initialized the model and all variables. Starting training.
(in this point train some minutes)
C:\Users\fanta\Desktop\autoencoder-master\src>

By more training data, I mean more sentences. What you mean is that you increased the vocabulary size. You should set a lower value for the evaluation interval, using the -i parameter. It sets how many training batches to wait before validating, and the batch size is determined by -b. By default, -i is 1000 and -b is 32, which means you have less than 32k training sentences. But even if you set a lower -i, with a dataset this size you will probably not get good results.

By more training data, I mean more sentences. What you mean is that you increased the vocabulary size. You should set a lower value for the evaluation interval, using the -i parameter. It sets how many training batches to wait before validating, and the batch size is determined by -b. By default, -i is 1000 and -b is 32, which means you have less than 32k training sentences. But even if you set a lower -i, with a dataset this size you will probably not get good results.

where can i add the '-i parameter' and '-bparameter'?

@calebauyang they are command line parameters to the script train-autoencoder.py


controller in starbase scope works

(and is important!) but cwtools tells me, its an error

Again, example code

you mean controller = { } scope?

find_random_system = {                     trigger = {                         id = attack.10.trigger.1                         NOT = {                             is_same_value = root.solar_system                         }                         exists = starbase                          or = {                             starbase = {                                 exists = controller                                  controller = {                                     is_at_war_with = root.owner                                 }                             }
if a starbase is switched, its still owner of original owner, but controller switched

I see, yes this needs to be added.

You can close the issue, it was adddd


Fix custom nginx configuration links

Fixes broken documentation links in nginx configuration files.

You based this on an old, old version, please rebase against upstream/master.

Apologies, rebased.

Much more success with tests, thanks! Yours was from before when Github broke every single usage of homebrew, without notice, etc.


fix deployable_by_olm to prioritize installmodes

It seemed this break statement was overlooked, and is causing an issue with some operators. Adding this back so we prioritize OwnNamespace over SingleNamespace again.
Signed-off-by: Adam D. Cornett<EMAIL_ADDRESS>

Coverage: 81.809%. Remained the same when pulling 21b2bf779427825f2ee23c566258e9319b34685a on acornett21:fix_deployable_by_olm into e5a993f3cb66d2c7eea44742aeca415ccdc68547 on redhat-openshift-ecosystem:main.