Generating dynamic routes Error: "generate.routes" must be an array

I'm using Nuxtent content module. I'm following the directions on the docs page replaced the URL with local content-api generated by Nuxtent.
When I run generate command I get the following Error: "generate.routes" must be an array
const axios = require('axios')

module.exports = {
  generate: {
    routes: function () {
      return axios.get('https://my-api/users')
      .then((res) => {
        return res.data.map((user) => {
          return '/users/' + user.id
        })
      })
    }
  }}

This question is available on Nuxt.js community (#c2339)

Because this bug report seems to be inactive for quite some time, I'll close it now. If you feel like it deserves some attention because it's not fixed, feel free to ping me and I'll reopen it.


This module not working as expected

I'm not saying wasting of time on it but it just not working as expected, so i build my own purge, kinda fast just in few minutes
proxy_cache_path /var/nginx_cache levels=1:2 keys_zone=my_cache:20m max_size=200m inactive=2h;
proxy_cache_key $uri;
server {
	server_name purge;
	root /var/www/purge;
	index target.php
	listen 80;
	location / {
		try_files $uri $uri/ target.php;
	}
	location ~ \.php$ {
		include snippets/fastcgi-php.conf;
		fastcgi_pass <IP_ADDRESS>:9000;
	}
}

<?php
if(!isset($_POST['uri'])){
	die('no uri');
}
$uri = $_POST['uri'];
$md5 = md5($uri);
$parent = substr($md5, -1);
$sub = rtrim(substr($md5, -3), $parent);
if(@unlink('/var/nginx_cache/'.$parent.'/'.$sub.'/'.$md5)){
	echo 1;
}else{
	echo 0;
}

wow great work haha
i used your code as inspiration to create a new one on python to clean slice caches :)

I'll piggy-back on this post, hopefully it catches the attention of more people and they can be saved the 2-3 hours of time I invested in trying to figure out this whole mess.
First of all, if you are a Debian or Ubuntu (or derivatives) user, know that YES this is the github repository of the module packaged as libnginx-mod-http-cache-purge in your distribution. This module is also in use if you use Ondřej Surý's PPA.
When I set up on the path of fastcgi_cache, and after I scoured the internet, I was obviously interested in a way to PURGE the cache of fastcgi.
Amongst the first few articles I found (and that you will probably find, too), are all mentioning about fasctcgi_cache_purge.
Sadly, as you dwelve deeper, you will find that fastcgi_cache_purge is only part of the subscription-model NGINX Plus, which I'm sure it's a great product, but I've learned the lesson that if you have to ask for what the price of a product is (they are not displaying it anywhere public), it's too expensive.
Luckily, you can see that there are quite a few 3rd party modules for nginx that mention cache purging and fastcgi.
This is one of them. Or, I should say, this was one of them.
I've attempted all the possible configuration variants to get this to work, but alas, to no avail.
 If you do not use $request_method in your KEY, you will sometimes get empty results from the cache. This is because when someone does a HEAD /uri, nginx returns to body (because it was obviously asked to return only the HEADers), thus if someone does a HEAD before a GET versus the same URI, the empty HEAD will be cached.
So in order to trigger this, we should simply be able to append the $request_uri to /purge/ and it should clear, per fastcgi_cache_purge.
# first check for the cache status:

$ curl -I http://app/example
HTTP/2 200
server: nginx/1.16.1
[...]
x-cache: HIT

# then send the request to /purge/:

$ curl http://app/purge/example
PURGED: GETapp/example

This will do absolutely nothing.

You should not use "return" in the test I believe because it is a part of rewrite module and it most probably breaks expected behavior.

I used return only for testing. Without it, you get a 405, and no, it still doesn't work - cache won't purge.

@Znuff
May I ask, is your stack configured for per site PHP users? In which case, yup, this module will not work, its been long and well documented.
Also, the solution at the top using PHP will only work if Nginx and the PHP application share the same user.
However many stacks use this, and it does work. Most notably EasyEngine, but like I say, single user stacks.
However, this module:
https://github.com/torden/ngx_cache_purge
Is a fork and works for multi-user stacks. How do I know? Because we have it compiled into our platform, and we have per application cache purging working fine with multitenancy LEMP stacks and each site in PHP user isolation.

First of all, if you are a Debian or Ubuntu (or derivatives) user, know that YES this is the github repository of the module packaged as libnginx-mod-http-cache-purge in your distribution. This module is also in use if you use Ondřej Surý's PPA.

For the LOVE OF GOD, Why was this information so difficult to find? I've been scouring the internet looking for an answer about both of these, and FINALLY I found it! Thank you so much @Znuff! You saved me a lot of wasted time and a lot more google searching with this information!

Sadly, as you dwelve deeper, you will find that fastcgi_cache_purge is only part of the subscription-model NGINX Plus, which I'm sure it's a great product, but I've learned the lesson that if you have to ask for what the price of a product is (they are not displaying it anywhere public), it's too expensive.
Luckily, you can see that there are quite a few 3rd party modules for nginx that mention cache purging and fastcgi.
This is one of them. Or, I should say, this was one of them.
I've attempted all the possible configuration variants to get this to work, but alas, to no avail.
So to save you some time: DO NOT USE THIS MODULE, IT DOES NOT WORK

I followed THIS TUTORIAL from Linuxbabe.com and got this module working properly after building it from source for my version of Nginx mainline, specifically Nginx v1.21.4 on a Raspberry Pi 4.

First of all, if you are a Debian or Ubuntu (or derivatives) user, know that YES this is the github repository of the module packaged as libnginx-mod-http-cache-purge in your distribution.

Last repo commit 10 years ago (that's encouraging...) - Is it still broken today?
Numerous guides around the internet suggest installing this cache purge plugin - I tested it with the Latest Ubuntu server LTS (22.04 at the time of writing this) and it does not seem to work for me...
So many of the guides suggest this nginx module for wordpress +  the nginx helper plugin for Wordpress.. I don't know whether its the wordpress plugin at fault or the nginx module (or both), but when trying the "purge cache" option in wordpress and looking at the access logs I don't even see any GET request appear for /purge in any log....
I have this in my server{} block for the vhost:
        location ~ /purge(/.*) {
            allow <IP_ADDRESS>;
            deny all;
            fastcgi_cache_purge phpcache "$scheme$request_method$host$1";
        }

The guide I used when trying to set this up is one that many seem to find when searching for how to set it up -- https://www.linuxbabe.com/nginx/setup-nginx-fastcgi-cache
I followed this all to the letter and it doesn't seem to work for me.. Not only do I not see the GET request in the access logs to /purge, if I go and look what files and folders are present in the nginx cache folder before and after doing the purge from wordpress, nothing has changed... And a request with curl to a page still shows a fastcgi cache "HIT" instead of a "MISS"...
Most of the articles I found while scouring the web are more or less rehashes of the "linuxbabe.com" guide..

EDIT: I actually thought this module WAS working, but after further inspection, it was not actually purging the cache as expected. This module might as well be dead.

This module is working, I've been using it for a couple years. To get the most out of it you should use it with the separate location syntax. This is useful because you can inlclude the http_method in the cache key. Easy engine has written a good article for using it with the nginx-helper plugin for wordpress: https://easyengine.io/wordpress-nginx/tutorials/single-site/fastcgi-cache-with-purging/
Unfortunately this article, and the wp plugin still expect you to install the version created by FRiCKLE (which this repo is forked from) so it cannot use the purge wildcard that was later added in this repository.


Invert boolean for migrate error message. (#3275)

fixes #3275

Question: instead of "see docs," can/should we link to the exact section that's relevant? In this case https://docs.rs/sqlx/latest/sqlx/attr.test.html#automatic-test-database-management-requires-migrate-feature

I see that other places in the code use e.g. cfg!(not(feature = "chrono)). I'm not sure if there's a difference between these two styles, but I am happy to align this if desired.

Question: instead of "see docs," can/should we link to the exact section that's relevant? In this case https://docs.rs/sqlx/latest/sqlx/attr.test.html#automatic-test-database-management-requires-migrate-feature

The biggest issue is the doc header getting changed and it not getting updated here; at most I'd link to the #[test] attribute itself. Either way, the user should probably read the whole page to understand what they're doing anyway.

I see that other places in the code use e.g. cfg!(not(feature = "chrono")). I'm not sure if there's a difference between these two styles, but I am happy to align this if desired.

I don't care that much, but it does seem more readable.

@nk9 if you rebase it should fix the CI failures.

OK, I've rebased on main and aligned on not(). Will leave the link out for now.


notify convention need signature after been modified

Make sure that statusJustification is kept on convention update phase in front.

Email sample


Add BigOven to drink category

@diegobrum Would you mind renaming the cateogry with this PR as per https://github.com/toddmotto/public-apis/issues/269?
Thanks!

Actually, ignore me! I'll do it in a minute :)


Full SourceCode is not available.

Full sourcecode for this article is not available. It is little confusing here. I would be good if you can help with full code.
Thank you.

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

ID: 8a9577ff-cf56-e5de-84c3-bfe10aab5368
Version Independent ID: b5d62753-f87b-4673-b09b-a5a3fd9360e8
Content: Reuse dialogs - Bot Service
Content Source: articles/v4sdk/bot-builder-compositcontrol.md
Service: bot-service
GitHub Login: @v-ducvo
Microsoft Alias: v-ducvo

The team is in the process or rewriting the samples. Once the sample for component dialogs has been update, I'll update this article and link to the sample code.

@JonathanFingold Thank you.

In the meantime I have put together working sample for component dialogs based on over stated bits: https://github.com/MarekLani/BotFrameworkV4ComponentDialogsSample

Hi,
Please update if the node js source code for the sample stated above is available to download.
Few questions:
In saveResult(), we are getting the values for table and alarm from step like
step.result.table
step.result.alarm
Where have we set these values in step context in their respective dialog?
TIA

@ranjsund sorry for delayed response, I've put together only C# code

The samples and how-to articles have been updated. (This article now discusses the 05 sample from the samples repo.)


AvAnalytics should be split into parent and child directives

Currently on every element that needs to be tracked we have to clog the DOM with repetitive attributes. If we break the directive into avAnalyticsOn and avAnalyticsLabel, we only need to initialize avAnalyticsOn and avAnalyticsCategory on the main page container and each element will then just have the single avAnalyticsLabel on their tag.
Current Markup

Label 1

Label 2

Proposed Change

Label 1

Label 2

interesting.  we do something very similar for the Angular validation framework.


Add gas prices to passage chain

To integrate Passage network on Osmosis UI at least one of the fee token must be defined. This PR adds low, average and high gas prices.

@JeremyParish69 please review and merge this


[backport]fix: do not apply resource till applyparams() calls

Description

from original commit https://github.com/red-hat-data-services/rhods-operator/commit/005b9d2cf6f892cdfc20fcfaed746b1af4ae6cba

https://issues.redhat.com/browse/RHOAIENG-12732
How Has This Been Tested?

Screenshot or short clip

Merge criteria

[ ] You have read the contributors guide.
[ ] Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
[ ] Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

test the unit-test locally, and can reproduce the same error,
which even happend in previous commit, which we did not have unit-test in GHA.
do not feel we must feel this for 2.10.0 if this is not related to the bug fix and introduce changes even testcase should be avoid?
@VaishnaviHire wdyt?

close this since we do not need backport to 2.10


Link to hackEDU Shipit

There should be a link to submit projects through https://shipit.hackedu.us/.

Can you add this to the README? There's currently a reference in
CONTRIBUTING.md, but it's not clear at all.
--
Zach Latta http://zachlatta.com https://github.com/zachlatta
https://twitter.com/zachlatta
On Tue, Jan 6, 2015, at 03:29 PM, Max Wofford wrote:

There should be a link to submit projects through
https://shipit.hackedu.us/.

— Reply to this email directly or view it on GitHub[1].

Links:

https://github.com/hackedu/shipped/issues/40

Can we add it to the home page too? It would be annoying to take 2 clicks to get to the submit page.

Can we add it to the home page too? It would be annoying to take 2 clicks to get to the submit page.

Would this look better as a separate button on top that says "Ship your own project", or make the current title link to https://shipit.hackedu.us/.

See #43 for the PR that @ad510 is working on.


security: github token might be disclosed if the command line is dumped

Some project might even dumped the command line of the current running process which contain the github token: in that case, the token might appear in a log and be pushed in a repository.
In order to avoid that, we should analyze the produced logs before they are pushed and remove all occurence of the pair argument + token.
We should not only check for the appearance of the token as it might be a way to disclose a token.

Fixed by #590


Mix formatter plugin for sigils

Adds autoformatting to the ~x and ~PARAMS sigils.
To enable this in your project, you'll need to add
# .formatter.exs
plugins: [ParameterizedTest.Formatter],

Thanks for this. Was using some VS code markdown table formatters to manually massage my own test copy, but this will be good for the whole team as they edit.


Setup wiki page snippet doesn't compile (wrong import)

Unless I'm doing something wrong, the class org.lwjgl.Sys does not exist in the specified version (3.0.0b).  This code works for me:
import org.lwjgl.Version;

public class Schematic {
    public static void main(String[] args) {
        System.out.println("LWJGL Version " + Version.getVersion() + " is working.");
    }
}

You're right, I overlooked that import when I did the update from 3.0.0a to 3.0.0b, shoud be fixed now!
Thanks for pointing that out!


Mine page: add the option to add expense

relevant issue https://github.com/redhat-beyond/Xpense/issues/70

negative amount:

empty description:

Also Please squash the commits

Also Please squash the commits

I'll go over the comments today and fix all the things
@adiabramovitch

This PR is no longer blocked
#111 was merged
I have removed the appropriate label 👍

This PR is no longer blocked, #111 was merged I have removed the appropriate label 👍 Could you fix the top comment ?

I fixed it
thanks :)

Well done left you one comment about the .gitignore The tests you added are very good

I responded to you for all the comments
@ronyyosef

@ShellyGolden Tests Failed

@ShellyGolden Tests Failed

This is the weird problem I sent you ....
@ronyyosef

Please rerun the tests

Please rerun the tests

its not a problem with the tests
after you will approve the PR/left comments, Ill push the new code again and it will be fixed

Hey Shelly, just fix what Yuval said, and when you repush the tests should pass I approve 👍

@Yoa

@adiabramovitch
Hi
It show that there are "Changes requested" - I fixed what you wrote :)

why are those files empty expenses/test/test_expenses.py, house/tests/house_tests.py? we have changed the location of the tests so those are no longer needed.

Contributor

I deleted them

please rebase

@ShellyGolden I rebase and fixed some conflicts,
is there anything left to fix in this PR?

@ShellyGolden I rebase and fixed some conflicts, is there anything left to fix in this PR?

No, this PR is ready to merge


Ubuntu 18.04. Cannot send DAG

Ubuntu 18.04 error sending DAG. Error: Unable to parse the last transaction. Reason:unexpected end of JSON input...
Both v1.1.9 and v1.2.0 exhibit this behavior

Hi there, i just had the same problem trying to send DAG from the Molly wallet.
When trying the workaround mentioned above the wallet no longer recognizes my alias.
Could you help with this issue? thank you


add gce lb files for rekor

Signed-off-by: Bob Callaway<EMAIL_ADDRESS>

i think we should set here https://github.com/sigstore/helm-charts/blob/main/charts/rekor/ci/ci-values.yaml the className to be nginx, the kind cluster does not have the crds for the gcp ingress

i think we should set here https://github.com/sigstore/helm-charts/blob/main/charts/rekor/ci/ci-values.yaml the className to be nginx, the kind cluster does not have the crds for the gcp ingress

should we do that or install the crds (assuming we can find them)?


validator badge collection

Add Validator Badge instructions.

are the badge files suppost to be markdown files?
they are not viewable on gh so something seems wrong.
also is web the best place for this?

are the badge files suppost to be markdown files?
they are not viewable on gh so something seems wrong.
also is web the best place for this?

@aaronmgdr what do you think is the best place? I'm not sure what the best place would be tbh. Also, I think maybe they're not viewable because they're empty right now. Are there other concerns with markdown files?

are the badge files suppost to be markdown files?
they are not viewable on gh so something seems wrong.
also is web the best place for this?

@aaronmgdr what do you think is the best place? I'm not sure what the best place would be tbh. Also, I think maybe they're not viewable because they're empty right now. Are there other concerns with markdown files?

Id think this would be somewhere where it would be discoverable, like docs maybe? I just dont see how anyone would ever think to look for it here.

are the badge files suppost to be markdown files?
they are not viewable on gh so something seems wrong.
also is web the best place for this?

@aaronmgdr what do you think is the best place? I'm not sure what the best place would be tbh. Also, I think maybe they're not viewable because they're empty right now. Are there other concerns with markdown files?

Id think this would be somewhere where it would be discoverable, like docs maybe? I just dont see how anyone would ever think to look for it here.

If discoverablity is an issue, I can add it to the docs!

are the badge files suppost to be markdown files?
they are not viewable on gh so something seems wrong.
also is web the best place for this?

@aaronmgdr what do you think is the best place? I'm not sure what the best place would be tbh. Also, I think maybe they're not viewable because they're empty right now. Are there other concerns with markdown files?

Id think this would be somewhere where it would be discoverable, like docs maybe? I just dont see how anyone would ever think to look for it here.

If discoverablity is an issue, I can add it to the docs!

makes sense to me


Fix stuff

Fix plex.library.all()
Add transcode url. Dunno if we should handle the http too.
Try to fix NA for thumbs.

https://github.com/mjs7231/python-plexapi/issues/75


Dont move to the next question on error

Instead of moving to the next question, give the user 3 tries, on every error there could be a shake effect or some other kind of UI reaction to indicate the error. After the 3rd try, the correct answer will be displayed on the screen and the user would have to press a button to move to the next question.

Solved with #4. Still might be nice to add some kind of animation


🐛 Add missing RequestValidationError.__str__ functionality

Fixes https://github.com/fastapi/fastapi/discussions/12125.

Hi @svlandeg, turns out there is already a test, it was just too permissive. I have tightened it up and fixed the implementation to make it pass.

@svlandeg are you able to merge this please?

@alejsdev could you please take a look? This is relatively trivial and contains a test as requested by @svlandeg.


[DO NOT MERGE] Persist cross domain tracking through form leading to accounts

:warning: This application is Continuously Deployed: :warning:

Merged changes are automatically deployed to staging and production.

Make sure you follow the guidance for deployments before you merge.

Check your branch is being deployed in the Release app, after merging.

What
The button leading to the accounts system is inside a form, so cross domain tracking doesn't work through it (unlike links, which are automatically decorated). So we're going to need to manually decorate the target of the form with the ga parameter.
This is a proof of concept using an approach of clicking on the button, but I think it'll be easier if we have the decoration happening on page load, so we don't have to intercept the button click.
References:

https://www.knewledge.com/en/blog/2013/11/cross-domain-tracking-for-links-with-gtm/#manual-tagging

if you're happy @andysellick I'll rebase those commits?

I've added those tests @andysellick, feels a bit more like i'm testing the mocks and the code though... perhaps that's OK given how much we trust the GA code is well tested elsewhere though?
Let me know any thoughts / suggestions?

Looks like this:

Alex and I paired on this, moved the last comment across to own PR, where there's some outstanding tech debt challenges:
https://github.com/alphagov/finder-frontend/pull/2309


installation problems about python3 environment

Describe the bug
I  can't install the environment on cluster with recommended command lineconda create --name new_hal -c conda-forge -c threeml numpy scipy matplotlib ipython numba reproject "astromodels>=2" "threeml>=2" root, it will stay forever at the step solving environment. So I use the command shown below to do the install:
conda create --name new_hal
conda install -c conda-forge numpy scipy matplotlib
conda install -c conda-forge ipython numba reproject
conda install -c conda-forge root
pip install git+https://github.com/threeml/astromodels.git
pip install git+https://github.com/threeml/threeML.git
pip install git+https://github.com/threeml/hawc_hal.git
pip install --no-binary :all: root_numpy

It seems work, but then I met some problems while running the crab example use python3_quick branch (file path: threeml-analysis-scripts/fitModel/crab_example.sh), it will crash. Also the crashing will happen with the test example provided by https://github.com/threeML/hawc_hal
I'll put the log files below to help with the troubleshooting procedure.
Log files
install_new_hal.log
pytest_hawc_hal.log
pytest3ML.log
pytestAstromodels.log
testMr421.log
testCrab.log

Hi @xiaojieww!
The pytest_hawc_hal.log and pytestAstromodels.log seem incomplete, can you please re-upload them?
The error in pytest3ML.log (AttributeError: module 'astropy.utils.data' has no attribute '_find_pkg_data_path') is unrelated to HAL issues and I believe @grburgess has already submitted a fix to astropy.
We're currently only testing hawc_hal with python 3.7. Could you please try installing it with that instead of python 3.9? HAL relies on root_numpy, which hasn't been updated in a long time and might not work with current versions of python.
Last: If the hawc_hal tests pass but you're still having issues with the fit, please provide exact instructions to reproduce the issue. This is easiest if you provide an example script using publicly available data/response files.

After looking this over, I have a one idea that @henrikef didn't type faster than did. Some of those might reveal a path forward first.
Can you try using mamba(https://github.com/mamba-org/mamba) to solve the environment? I discussed this recently with @grburgess but have not had a chance to attempt it. You would modify this step (replacing conda with mamba) from the README.md file: conda create --name new_hal -c conda-forge -c threeml numpy scipy matplotlib ipython numba reproject "astromodels>=2" "threeml>=2" root

Hi @henrikef and @cbrisboi
Thanks for the quick response! When I run the pytest for astromodels and hawc_hal they didn't complete and just like the logfile I uploaded above. I don't know if the unsuccessful installation of the environment can cause the problem? It shouldn't be the file itself, the log file only honestly recorded all the outputs I got.
I can try to install with python 3.7 first with the procedure I did above, then try to using the command line mamba create --name new_hal -c conda-forge -c threeml numpy scipy matplotlib ipython numba reproject "astromodels>=2" "threeml>=2" root. I think maybe it is better to change one thing at the same time to locate the problem?

Please try only one thing at a time so that we know exactly what the solution was, in case others encounter this issue in the future.

Hi @cbrisboi and @henrikef,
Use the mamba command line mamba create --name new_hal -c conda-forge -c threeml numpy scipy matplotlib ipython numba reproject "astromodels>=2" as the first step can set up the new environment successfully and also very quickly, the analysis also can run very smoothly.
I'am still working on use conda (python 3.7) to step by step set up the environment, I'll keep you posted about the results.

Hi @henrikef,
I tried several times yesterday, and found that if I use the python 3.7 to install environment with command line:
conda create --name new_hal2
conda install -c conda-forge python=3.7 numpy scipy matplotlib
conda install -c conda-forge root
pip install git+https://github.com/threeml/astromodels.git
pip install git+https://github.com/threeml/threeML.git
pip install git+https://github.com/threeml/hawc_hal.git
pip install --no-binary :all: root_numpy
conda install -c conda-forge pytest

there will be errors happen while installing astromodels. And all the pytest aren't pass.  pip install --upgrade git+https://github.com/threeml/astromodels.git command shown no error but didn't help. After run pytest after the upgrade, the pytest are still the same with previous one.
installNewhalLogPython3_7_2.log
pytest_astromodels_beforeUpdate.log
pytest_hawc_hal_beforeUpdate.log
pytest_3ML_beforeUpedate.log
updateAstromodelsOutput.log
pytest_astromodels_afterUpdate.log

I have no idea what's going on with tempita there, but it doesn't seem related to HAL in any way. Anyway, if it works with mamba, then why not just keep using that?

I already use the mamba-created environment to do the analysis, just curious about the issues now. Maybe it's related to the way we create the environment? I guess we can stick to using mamba to set up the environment in the future.

@xiaojieww I am not sure, but mixing pip and conda is generally a bad idea. This is usually due to the fact that versioning and tooling between the two installation systems can be inconsistent. If you use conda, I would go all conda for the 3ML packages.

@grburgess Thanks! The reason why I didn't use conda to install all the packages is it's too slow to do the installation. I'll try to install all the package use conda to find out whether the mixing pip and conda caused the problems. Thankfully we have mamba can help with set up environment quickly and successfully.

Is this still an ongoing issue?

I believe this issue has already been solved by using mamba to install, I will close this issue.

I don't see any changes, neither on README.md nor in the automated CI test (which have been failing consistently due to installation issues). Where did you fix it?

I changed it in the README.md.  The old installation command line is
conda create --name new_hal -c conda-forge -c threeml numpy scipy matplotlib ipython numba reproject "astromodels>=2" "threeml>=2" root which is caused the problem.
While the new installation command line is already the mamba create --name new_hal -c conda-forge -c threeml numpy scipy matplotlib ipython numba reproject "astromodels>=2" "threeml>=2" root


After update the last release,the style is not work

// starting with version 2.6.0, you need to manually introduce swiper's css
require('swiper/dist/css/swiper.css')

Maybe a good thing to mention in the README - just lost 30 minutes to find this!


CPP Api Endpoint clarification

Could you clarify what this number is in the new enpdoint?
408a4835-0000-1000-0000-000000000000

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

ID: a5196d5e-d67e-efb1-926b-3179c926aeab
Version Independent ID: 3404adc8-75f4-5dc0-d80b-a4808bd63ef3
Content: Cloud Partner Portal API Reference
Content Source: articles/marketplace/cloud-partner-portal-orig/cloud-partner-portal-api-overview.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @dsindona
Microsoft Alias: dsindona

I assume it's the offer number?
I keep getting

InternalServerError","message":"We cannot complete the request now, please try again later."

@LazzariPaolo Thank you for your query, assigning this issue to our document author @dsindona to further help on this.

@LazzariPaolo sorry for the delayed response. Can you please contact support at: https://aka.ms/marketplacepublishersupport

Closing the issue for now. Please let us know if you are unable to resolve this with support.
#please-close


Make classes(v) work for views  of categorical arrays

Assuming https://github.com/JuliaData/CategoricalArrays.jl/issues/324 can be resolved, we just need to expand current overloading to include AbstractCategoricalArray.

To include views of CategoricalArrays (which are not categorical arrays) is a bit awkward, but here's the latest authority on how to do this.


[ShapeFunc] Handle weights in shape func

When compiling a dynamic model with TRT, the primitive function has constants already bound in the graph. TVM codegen typically lifts those into variables in ANF pass, so we never see this problem in TVM codegen.
@icemelon9 @zhiics @codeislife99 @rohanmukh @trevor-m

Thanks @zhiics @icemelon9 This is merged.


[BUG] instance-manager disappeared

Describe the bug
Longhorn was running normally before, until today I found that instance-manager disappeared, and I found that longhorn-manager output that:
time="2021-04-15T02:18:54Z" level=warning msg="Error syncing Longhorn setting longhorn-system/guaranteed-engine-cpu" controller=longhorn-setting error="fail to sync setting for longhorn-system/guaranteed-engine-cpu: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'" node=localhost

time="2021-04-15T06:43:58Z" level=warning msg="Error syncing Longhorn instance manager longhorn-system/instance-manager-r-662c0689: fail to sync instance manager for longhorn-system/instance-manager-r-662c0689: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'"

And I found that:

longhorn UI general settings shows that:

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Perform '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Log
If applicable, add the Longhorn managers' log when the issue happens.
You can also attach a Support Bundle here. You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment:

Longhorn version: v1.1.0
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Rancher Catalog APP
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: v1.20.5

Number of management node in the cluster:
Number of worker node in the cluster:

Node config

OS type and version:
CPU per node:
Memory per node:
Disk type(e.g. SSD/NVMe):
Network bandwidth between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

Additional context
Add any other context about the problem here.

cc @khushboo-rancher @meldafrawi
@shuo-wu is it possible for any wrong config causing the instance manager pods recreated failed? do we have any validation around?

Did anyone manually update this setting via UI or some tools like kubectl? Can you provide the reproducing step if possible?
I am not sure if the UI is still using the cache. Please try to refresh the UI.

Besides, you can upload the support bundle then we can take a deep look.

Did anyone manually update this setting via UI or some tools like kubectl? Can you provide the reproducing step if possible?
I am not sure if the UI is still using the cache. Please try to refresh the UI.

Besides, you can upload the support bundle then we can take a deep look.
I did not manually modify its value using kubectl. And I don't know how to reproduce this problem, I have not done anything in my memory.
In addition, where can I get the support bundle you mentioned?

Did anyone manually update this setting via UI or some tools like kubectl? Can you provide the reproducing step if possible?
I am not sure if the UI is still using the cache. Please try to refresh the UI.

Besides, you can upload the support bundle then we can take a deep look.

I did not manually modify its value using kubectl. And I don't know how to reproduce this problem, I have not done anything in my memory.
In addition, where can I get the support bundle you mentioned?

@benqwu you can generate a support bundle via the UI

@benqwu you can generate a support bundle via the UI

Thank you.
longhornversion shows "dirty" because I added some code to output the log in order to find out where it is causing "quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP][-+]?[0-9])$'"
longhorn-support-bundle_5fa47742-84f5-4dd5-a2e7-d8e1b2271b14_2021-04-16T08-55-40Z.zip

The user installs Longhorn on 1 node only with Longhorn version v1.1.0.
Some logs, I can't find it the longhorn-manager v1.1.0 branch, strange 🤔
2021-04-16T08:54:23.696826280Z time="2021-04-16T08:54:23Z" level=info msg="Event(v1.ObjectReference{Kind:\"Node\", Namespace:\"longhorn-system\", Name:\"localhost\", UID:\"10059ff5-bd16-43d4-b421-4ae61ed5134b\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"2877789\", FieldPath:\"\"}): type: 'Warning' reason: 'Ready' Node localhost is down: the manager pod longhorn-manager-w6xhw is not running"
2021-04-16T08:54:23.848007895Z time="2021-04-16T08:54:23Z" level=warning msg="GetPod instance-manager-e-a2c08f70: <nil>"
2021-04-16T08:54:23.848034557Z time="2021-04-16T08:54:23Z" level=warning msg="DeletePod instance-manager-e-a2c08f70"
2021-04-16T08:54:23.848037935Z time="2021-04-16T08:54:23Z" level=warning msg="Starts to create pod for instance manager instance-manager-e-a2c08f70"
2021-04-16T08:54:23.848040347Z time="2021-04-16T08:54:23Z" level=info msg="instance manager instance-manager-e-a2c08f70"
2021-04-16T08:54:23.848042678Z time="2021-04-16T08:54:23Z" level=warning msg="Marshal []: <nil>"
2021-04-16T08:54:23.848044962Z time="2021-04-16T08:54:23Z" level=warning msg="GetSetting priority-class: <nil>"
2021-04-16T08:54:23.848047303Z time="2021-04-16T08:54:23Z" level=warning msg="GetSettingImagePullPolicy: <nil>"
2021-04-16T08:54:23.848049645Z time="2021-04-16T08:54:23Z" level=warning msg="GetGuaranteedResourceRequirement: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'"
2021-04-16T08:54:23.848062514Z time="2021-04-16T08:54:23Z" level=info msg="createEngineManagerPodSpec instance-manager-e-a2c08f70: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'"
2021-04-16T08:54:23.848065372Z time="2021-04-16T08:54:23Z" level=warning msg="Error syncing Longhorn instance manager longhorn-system/instance-manager-e-a2c08f70: fail to sync instance manager for longhorn-system/instance-manager-e-a2c08f70: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'"```

The user installs Longhorn on 1 node only with Longhorn version v1.1.0.
Some logs, I can't find it the longhorn-manager v1.1.0 branch, strange 🤔
2021-04-16T08:54:23.696826280Z time="2021-04-16T08:54:23Z" level=info msg="Event(v1.ObjectReference{Kind:\"Node\", Namespace:\"longhorn-system\", Name:\"localhost\", UID:\"10059ff5-bd16-43d4-b421-4ae61ed5134b\", APIVersion:\"longhorn.io/v1beta1\", ResourceVersion:\"2877789\", FieldPath:\"\"}): type: 'Warning' reason: 'Ready' Node localhost is down: the manager pod longhorn-manager-w6xhw is not running"
2021-04-16T08:54:23.848007895Z time="2021-04-16T08:54:23Z" level=warning msg="GetPod instance-manager-e-a2c08f70: <nil>"
2021-04-16T08:54:23.848034557Z time="2021-04-16T08:54:23Z" level=warning msg="DeletePod instance-manager-e-a2c08f70"
2021-04-16T08:54:23.848037935Z time="2021-04-16T08:54:23Z" level=warning msg="Starts to create pod for instance manager instance-manager-e-a2c08f70"
2021-04-16T08:54:23.848040347Z time="2021-04-16T08:54:23Z" level=info msg="instance manager instance-manager-e-a2c08f70"
2021-04-16T08:54:23.848042678Z time="2021-04-16T08:54:23Z" level=warning msg="Marshal []: <nil>"
2021-04-16T08:54:23.848044962Z time="2021-04-16T08:54:23Z" level=warning msg="GetSetting priority-class: <nil>"
2021-04-16T08:54:23.848047303Z time="2021-04-16T08:54:23Z" level=warning msg="GetSettingImagePullPolicy: <nil>"
2021-04-16T08:54:23.848049645Z time="2021-04-16T08:54:23Z" level=warning msg="GetGuaranteedResourceRequirement: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'"
2021-04-16T08:54:23.848062514Z time="2021-04-16T08:54:23Z" level=info msg="createEngineManagerPodSpec instance-manager-e-a2c08f70: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'"
2021-04-16T08:54:23.848065372Z time="2021-04-16T08:54:23Z" level=warning msg="Error syncing Longhorn instance manager longhorn-system/instance-manager-e-a2c08f70: fail to sync instance manager for longhorn-system/instance-manager-e-a2c08f70: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'"```

Sorry, I added some code to output the log in order to find out where it is causing "quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP][-+]?[0-9])$'"，but I did not modify the logic of longhorn-manager.

Somehow the setting guaranteed-engine-cpu becomes empty in your Longhorn system. I am not sure if this setting is modified by other applications. Longhorn won't update it without receiving a request from users.
To recover instance managers, you need to set a float value for the setting. You can set it via UI or kubectl -n longhorn-system edit settings guaranteed-engine-cpu

Somehow the setting guaranteed-engine-cpu becomes empty in your Longhorn system. I am not sure if this setting is modified by other applications. Longhorn won't update it without receiving a request from users.
To recover instance managers, you need to set a float value for the setting. You can set it via UI or kubectl -n longhorn-system edit settings guaranteed-engine-cpu

Thanks, I will see if it will appear again next time.


How create custom action

I am trying to create a custom ros action to use in my esp32 dev1 board, using platformio. But I can not do it, and can not find a tutorial explaining how to solve it. Can anyone help me with that?

Please check the wiki,
Fibonacci action server demo


Updating default numeraire

Related to issue #20

Currently failing tests because setting the default numeraire requires the value of a auxiliary variable before the model is solved.
Could be an issue.

Here is the issue. We can have auxiliary variables as part of expressions in quantities. The way I'm dealing with MPSGEVariables in expressions is to always defer to the base JuMP variable, so if $X$ is an auxiliary variable then $4*X$ becomes 4*get_variable(X) as an expression.
We need quantities of these objects BEFORE the model is solved in order to determine what the numeraire is. And this is the issue.

Not related specifically to this PR, but can we integrate the unit tests, using TestItemRunner and @testitem, integrating them into VSCode and github? I could do a quick branch and PR. It's a hurdle setting that up each time to look at the PR.

Sure
On Mon, Jun 17, 2024, 7:24 PM EliLazarus @.***> wrote:

Not related specifically to this PR, but can we integrate the unit tests,
using TestItemRunner and @testitem, integrating them into VSCode and
github? I could do a quick branch and PR. It's a hurdle setting that up
each time to look at the PR.
—
Reply to this email directly, view it on GitHub
https://github.com/julia-mpsge/MPSGE_MP.jl/pull/22#issuecomment-2174676815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEVAPXMFK5PSU2HADGOJFNDZH5437AVCNFSM6AAAAABHCKCBI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZUGY3TMOBRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Question: Show image from camera

I just came across this, and was wondering if it's possible to have the monitor display an image from the camera. It might be useful to make sure the print is not going haywire, especially if you are in another area of your home and can't keep looking in on it.

The displays used by this are only 128x96 pixels, in a few shades of monochrome. It would make it difficult to see anything meaningful.
An old mobile phone + touchUI + charging lead will always be a far better option for a portable video monitor.

This won't be happening.


Incorpated Admin page to include all core models and

there seems to be an erroneous file committed dump.rdb. Can you remove that?


Japanese conjugation forms issue

Hi, @kariminf
I use the following codes to get a designated verb form. but returns nothing.
Is there anything wrong with the codes?
 const jpnForms =jpnMorpho.lform();       const verb = "食べる";       console.log("Object.assign",Object.assign({},jpnForms["pres"]));        let conjugation_form=jpnMorpho.conj(verb,Object.assign({},jpnForms["pres"]));        console.log("present form",conjugation_form);

You have to add the formality level. Maybe, in the next version, I will define a default formality.
The formality is either: "plain" or "polite"
Here the code:
const JsLingua = require('jslingua');
const jpnMorpho = JsLingua.gserv('morpho', 'jpn');
const jpnForms =jpnMorpho.lform();
let verb = "食べる";

const conjopt = Object.assign({formality: "plain"},jpnForms["pres"]);

console.log("Object.assign", conjopt);
let conjugation_form=jpnMorpho.conj(verb, conjopt);
console.log("present form",conjugation_form);

Hi, @kariminf
As I simply used the code snippets in your examples for English which lacks the property of "formality" in Japanese. You are right. It would be better to add default "formality" property in the pre-defined forms.  Thank you!


Create User Requires email

On the Create User screen - email needs to be a required field.

Can I work on this one?

Hi @antwonthegreat - according to our contribution guidelines at https://wildaid.github.io/contribute/index.html - we will only assign one issue per person at at time. When you have submitted a PR on your previous issue, you can make a comment here and if nobody else has taken up the issue, we will assign it to you.

I finished up that previous issue. Can I take this one?

Absolutely! It's assigned to you now.


[BUG]

Information

Apktool Version (apktool -2.6.1) -
Operating System ( Windows) -
APK From? (Playstore) -
java version (java -1.8.0_202)

Stacktrace/Logcat
Include stacktrace here
![image](https://user-images.githubusercontent.com/46172695/161541740-04bd1c76-c218-48f0-80fd-ce82c2589c1f.png)

### Steps to Reproduce
i don't know why, i used the lasted apktool. and not change anything.

### Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(`.apks` that live in `/system/framework` or `/system/priv-app`)

### APK

### Questions to ask before submission
1. Have you tried `apktool d`, `apktool b` without changing anything? yes
2. If you are trying to install a modified apk, did you resign it?
3. Are you using the latest apktool version? yes

Fairly sure this is resolved in upcoming release. Since that type looks like one of the new formats I added. Can't confirm however, so closing.


nixos/dnscrypt-proxy2: init

Motivation for this change
Implements changes requested in #72815
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Ok @Atemu, I really want to get this merged for you.
I've:

added a release note
updated the test

and while I updated the test I realized I couldn't use settings because the assertion on configFile would fail. I had to allow null unlike https://github.com/NixOS/nixpkgs/pull/72815#discussion_r368728946.

There's another module dnscrypt-wrapper, and we're missing documentation for the new (not so new anymore at least) dnscrypt-proxy. But these are todo's for a follow up.

Also noticed that we had the rename for services.networking.dnscrypt-proxy but the module is  services.dnscrypt-proxy. Fixed that.

Talked with @Infinisil and I took https://github.com/NixOS/nixpkgs/pull/72815#discussion_r368728946 out of context of https://github.com/NixOS/nixpkgs/pull/72815#discussion_r368728693. I guess we should do this, but I don't understand it exactly.

Thanks a bunch!

@worldofpeace I pushed a fixup commit doing what I meant

@Infinisil thank you :smile: (commit for ref https://github.com/NixOS/nixpkgs/pull/78543/commits/9929beb00a9d9470fd440932dfb2c0fdcbcf07ba @Atemu)
Squashed and added co-authors to commit message.

This works for me with systemd resolved.

Woo finally!
Thanks a lot for your help getting this into 20.03!


[wip] improve bug finding with Thread

I've now tried to clean-up my efforts on increasing the chance to trigger Thread issues.

It contains a replacement Stdlib named Evilstdlib which shadows selected functions, such as (:=) with extended versions containing Thread.yield "to give scheduling hints, telling the scheduler that now is a good time to switch to other threads" in the words of the Thread documentation.
To run Thread tests one then needs suitable dune curses to link against Evilstdlib and shadow the usual Stdlib

The stat benchmark with counts at 10000 is still running on my machine.
An earlier run with lower counts gave the following:
Stats:

Buggy ref int64 programs with Domain + Lin_api       737 / 1000
Buggy ref int64 programs with Domain + plain Lin     763 / 1000

Buggy ref int programs with Thread + Lin_api         478 / 1000
Buggy ref int64 programs with Thread + Lin_api       486 / 1000
Buggy CList int programs with Thread + Lin_api        39 /  250
Buggy CList int64 programs with Thread + Lin_api      38 /  250

Buggy ref int programs with Thread + plain Lin       376 / 1000
Buggy ref int64 programs with Thread + plain Lin     522 / 1000
Buggy CList int programs with Thread + plain Lin      25 /  250
Buggy CList int64 programs with Thread + plain Lin    23 /  250

These at least indicate reasonable chances to trigger issues.
I'll share the stat numbers for count 10000 once it completes.
I can see the branch has several conflicts.
We should rebase on a recent main and remove the code for the symbolic Yield-idea which turned out not to work :shrug:
If we decide to go with this, Evilstdlib should probably also be moved to lib.

As promised here comes the stats:
$ dune exec src/neg_tests/stats.exe -- -v
random seed: 191305239
generated error  fail  pass / total     time test name
[✓] 10000     0     0 10000 / 10000   219.7s Buggy ref int64 programs with Domain + Lin_api
[✓] 10000     0     0 10000 / 10000   164.2s Buggy ref int64 programs with Domain + plain Lin
[✓] 10000     0     0 10000 / 10000   342.6s Buggy ref int programs with Thread + Lin_api
[✓] 10000     0     0 10000 / 10000   380.6s Buggy ref int64 programs with Thread + Lin_api
[✓] 10000     0     0 10000 / 10000  1973.7s Buggy CList int programs with Thread + Lin_api
[✓] 10000     0     0 10000 / 10000  2818.1s Buggy CList int64 programs with Thread + Lin_api
[✓] 10000     0     0 10000 / 10000   202.2s Buggy ref int programs with Thread + plain Lin
[✓] 10000     0     0 10000 / 10000   285.6s Buggy ref int64 programs with Thread + plain Lin
[✓] 10000     0     0 10000 / 10000  1510.2s Buggy CList int programs with Thread + plain Lin
[✓] 10000     0     0 10000 / 10000  1955.2s Buggy CList int64 programs with Thread + plain Lin
================================================================================
success (ran 10 tests)

Stats:

Buggy ref int64 programs with Domain + Lin_api     7309 / 10000
Buggy ref int64 programs with Domain + plain Lin   7428 / 10000

Buggy ref int programs with Thread + Lin_api       4589 / 10000
Buggy ref int64 programs with Thread + Lin_api     4723 / 10000
Buggy CList int programs with Thread + Lin_api     1616 / 10000
Buggy CList int64 programs with Thread + Lin_api   1611 / 10000

Buggy ref int programs with Thread + plain Lin     3513 / 10000
Buggy ref int64 programs with Thread + plain Lin   4992 / 10000
Buggy CList int programs with Thread + plain Lin   1041 / 10000
Buggy CList int64 programs with Thread + plain Lin 1080 / 10000

From the looks of it, this approach actually makes Lin_api trigger more issues in 3/4 cases...

Stalling branch, closing.


Events

i'll review soon

Right now it grabs everything from the last 24 hours, might be nice to change the time range, filter by event-type, link to image/container ID.

Current implementation isn't very testable, may look into extracting oboe to a service in the future.

Added view for events
Cleaned up storage driver status display
Upgraded to Angular 1.3.15


Forked EventEmitter stream requires two yields

What version of Effect is running?
3.12.0
What steps can reproduce the bug?
Please see a minimal reproducer below.
Basically, it does the following:

Creates an EventEmitter
Creates a stream using Stream.async that subscribes to an event from that emitter
Forks, then runs that stream to a simple logging effect
Immediately yields, per advice in https://effect.website/docs/concurrency/fibers/#when-do-fibers-run
Immediately yields a second time
Emits a test event
Interrupt the forked fiber

/* eslint-disable @typescript-eslint/no-floating-promises */
/* eslint-disable functional/no-expression-statements */
/* eslint-disable functional/no-return-void */
import type { StreamEmit } from "effect";
import { Effect, Stream, Chunk, Fiber } from "effect";
import { EventEmitter } from "node:events";

export const example = Effect.gen(function* () {
  const emitter = new EventEmitter();

  const stream = Stream.async(
    (emit: StreamEmit.Emit<never, never, unknown, void>) => {
      const callback = (a: unknown): void => {
        emit(Effect.succeed(Chunk.of(a)));
      };
      emitter.on("test", callback);
    },
  );

  const streamEffect = Stream.runForEach(stream, (a) => {
    return Effect.logWarning(a);
  });

  const fiber = yield* Effect.fork(streamEffect);

  // yield now to let the fiber begin execution
  yield* Effect.yieldNow();
  // Comment out this second yield to reproduce the issue
  yield* Effect.yieldNow();

  emitter.emit("test", "test event");

  yield* Fiber.interrupt(fiber);
});

If you run this example effect in a wider program, e.g. via yield* example; in a generator, you'll see the expected logging output:
[16:04:28.376] WARN (#37): test event

If you comment out the second yield, you'll see no such logging. This is the part that is surprising to me.
I've experimented with omitting the interrupt, Stream.asyncEffect instead of Stream.async, using forkDaemon or forkScoped (with a wide, long-lived scope) and a handful of other things but the only way I've been able to make this work is by adding the second yield (or with a Effect.sleep(100) in place of the second yield).
I think I have an intuition for what's going wrong - pumping the event loop just once isn't enough for the stream initialization to subscribe to the event emitter before the event is emitted. The second yield (or sleep) puts the main fiber back on the end of the event loop, giving the stream initialization a chance to run before the main fiber emits the event.
What I can't quite work out is what I'm doing wrong or how to make this work without the kludge.
What is the expected behavior?
Stream subscribes to events before the first event is emitted, with a single yieldNow at most.
What do you see instead?
Two yieldNows required.
Additional information
Node v23.3.0 + these additional Effect packages:
    "@effect/opentelemetry": "^0.42.0",
    "@effect/platform": "^0.72.0",
    "@effect/platform-node": "^0.68.0",

When fibers run is not deterministic and many different factors can play a role. You should not rely on fibers starting after a single yield.

Thanks @mikearnaldi. Using a Deferred to synchronize the two fibers is indeed the answer here - no yieldNow required at all. I wonder if https://effect.website/docs/concurrency/fibers/#when-do-fibers-run deserves a note. Happy to close this one in any case.

Thanks @mikearnaldi. Using a Deferred to synchronize the two fibers is indeed the answer here - no yieldNow required at all. I wonder if https://effect.website/docs/concurrency/fibers/#when-do-fibers-run deserves a note. Happy to close this one in any case.

probably deserves an update, yield was used as an example to give the idea of "sometime in the future" but I think we can improve. cc @gcanti


Port runtime_genesis_ledger from Berkeley (without SHA3 hash)

Explain your changes:

Port changes from berkeley to allow for runtime_genesis_ledger tool to generate hashes json file with ledger hashes of config file being used as an input
Generate a new debian package with runtime_genesis_ledger corresponding to mainnet's version (hence names as create "legacy" ledger)

Explain how you tested your changes:

Part of HF unit test, tested there

Checklist:

[x] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[x] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[x] All tests pass (CI will check this if you didn't)
[x] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

!ci-build-me

!ci-build-me

!approved-for-mainnet


UpdateServicesServer unable to handle duplicate product name values

Details of the scenario you tried and the problem that is occurring
Loading new products into an array under "UpdateServicesServer" DSC resource has failed due to WSUS now containing multiple product titles with the same name.
Verbose logs showing the problem
ERROR - An error occurred running method 'Set' in resource 'UpdateServicesServer' for resourceID '[UpdateServicesServer]UpdateServices': System.Management.Automation.MethodException: Cannot find an overload for "GetUpdateCategory" and the argument count: "1".

Suggested solution to the issue
Modify this code block to handle product names with the same title Code Reference
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Not sharing the DSC configuration, since it's an array of products. But here is the example of multiple products returned from the $AllWsusProducts = $WsusServer.GetUpdateCategories() line that is pulling duplicate product titles.
Title                                                                               Description
-----                                                                               -----------
Windows Server 2016                                                                 Windows 10 Server
Windows Server 2016                                                                 Windows Server 2016
Windows Server 2019 and later, Servicing Drivers                                    Windows Server 2019 and later, Servicing Drivers
Windows Server 2019 and later, Upgrade & Servicing Drivers                          Windows Server 2019 and later, Upgrade & Servicing Drivers
Windows Server 2019 Datacenter: Azure Edition Hotpatch                              Windows Server 2019 Datacenter: Azure Edition
Windows Server 2019                                                                 Category for Windows Server 2019
Windows Server 2019                                                                 Windows Server 2019 (RS5 Server) and above

The operating system the target node is running

OsName               : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1809
WindowsBuildLabEx    : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

Version and build of PowerShell the target node is running

Name                           Value
----                           -----
PSVersion                      5.1.17763.1490
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.1490
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Version of the DSC module that was used

1.2.0

This seems to be the same issue as in #61

I still got this error in 1.2.1.


[cocoon] Refactor functions in flaky_handler_utils to utils.dart

Functions in flaky_handler_utils.dart were originally created here for flakiness purpose, but some functions are general enough to be moved to utils.dart for cross repo reference.
Context: https://github.com/flutter/cocoon/pull/1301#discussion_r679327753

Closing because the bug has not been updated for more than one year.
Feel free to reopen any bugs that you believe are important but please provide updates on how to resource the fix of the bug and what can be done to prevent the issue from not getting updates for another year.


[HOLD for payment 2023-04-26] [$250] Migrate Expensify.js to function component

Class Component Migration
Filenames

[ ] src/Expensify.js

type: React.PureComponent
has state values: true
has refs: true
has context: false
lifecycle methods: componentDidMount,componentWillUnmount,componentDidUpdate

Task

We currently have some class components in our codebase that we would like to refactor to a function component.
Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
If you need additional guidance, please ask in #expensify-open-source
Test for any regressions and verify that there are no breaking changes

Just closing the loop on your question @tgolen. I think I answered it in this Slack thread.
The issues are mostly on HOLD as we are primarily focusing on roadmap progress. Open to ideas on how to do the migration. But it feels lower in priority than some other more urgent things.

@jasperhuangg Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Still under review, not overdue!

@jasperhuangg Huh... This is 4 days overdue. Who can take care of this?

@jasperhuangg 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Been OOO, back today and gonna move the PR forward.

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.3.1-3 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/16664

If no regressions arise, payment will be issued on 2023-04-26. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty


Google tag manager/analytics never initially setup

no google analytics property
found google tag manager property
no tags/triggers setup (hence the 404 on gtm.js resource on-site)

Add google analytics/setup tag manager tags
This was never initially setup when site went live

Create analytics property
- Created on 8/9/2019
Create tags in GTM
- Created tags in GTM 8/9/2019
Create triggers in GTM
- Created triggers in GTM 8/9/2019
Created version to deploy after testing
Preview and launch live
- Cross-tested with @Sambego (sent him tags/triggers preview url) and saw his sessions from multiple browsers in Hasselt locale, alongside screenshots of GTM preview pane. Seeing consistent tags/trigger firing, all is set.

@scottmathson deployed Version 1 8/9/19 @ 9:35 AM mountain time

*Repo is OSS and task has somewhat proprietary - redacting some data, IDs, etc. that could be written into this issue. Ask @scottmathson for Documentation internally to learn more


Error aria2c downloading files

I found that on an NFS filesystem, downloading the reference files with aria2c leads to an error. I googled and found a solution here:
find ~/alphafold/scripts/ -name "download*sh" | while read i; do perl -p -i -e 's/aria2c\ \"/aria2c\ \-\-file\-allocation\=trunc \"/' $i; done

Then following the instructions from then onwards works.

Neat. The other option might be to use wget or curl, the only potential disadvantage being slower download speed.


Provide detailed examples for the use of record-io

 Issue by anupama-pathirage
Sunday Jun 10, 2018 at 17:13 GMT
Originally opened as https://github.com/ballerina-platform/ballerina-examples/issues/806

Description:
Refer original issue https://github.com/ballerina-platform/ballerina-lang/issues/4432 for more details.

Done in [1].
[1] https://ballerina.io/learn/by-example/record-io.html


history-substring-search is broken with some terminals

Zim commit ref:   fe2cb6b
Zsh version:      zsh 5.6.2 (x86_64-pc-linux-gnu)
System info:      Linux arch-tower 4.18.0-bcachefs #1 SMP PREEMPT Sun Sep 9 03:31:56 EDT 2018 x86_64 GNU/Linux

gists:
https://gist.github.com/DerVerruckteFuchs/78b28d3b6990a83a4347afc57d7762ea
After using zmanage update, the history-substring-search module no longer works with some terminals. Pressing up and down on the keyboard gives default history scrolling behavior between the most recently used commands. It's as if history-substring-search was never enabled for them. It doesn't work with termite or kitty. However, urxvt seems to not have any issues and history-substring-search works as expected.
Steps to reproduce
Use termite or kitty, update zim with zmanage update, then attempt to use history-substring search.
Images or other information
When updating I noticed the most recent commit changed how the keybinding was done:
https://github.com/zimfw/zimfw/commit/fe2cb6b9f5d3364c64079fbb833e0a7f6f5d545b. I commented out the new stuff in ~/.zim/modules/history-substring-search/init.zsh and put back the replaced lines and history-substring-search works again with termite and kitty.

run zmanage clean-cache && zmanage build-cache and, after closing and re-opening your terminal, is the issue still present?

See: https://github.com/zimfw/zimfw/issues/286

I found out what the issue is. Termite and kitty seem to use a different keybinding for the up and down arrow keys. In urxvt the keybinding for up and down is ^[[A and ^[[B respectively. In kitty and termite up and down is  ^[OA and ^[OB respectively. Editing the  keybinds in ~/.zim/modules/history-substring-search/init.zsh with the ones kitty and termite use allows everything to work fine for kitty and termite, but it predictably does not work with urxvt.

I added some new keybindings in my ~/.zshrc:
# change keybinds for kitty and termite
bindkey '^[OA'  history-substring-search-up
bindkey '^[OB'  history-substring-search-down

This let's me use history-substring-search in kitty and termite without changing ~/.zim/modules/history-substring-search/init.zsh. I also tested adding the keybinds into the same init.zsh file, and it seems to work just fine.

@DerVerruckteFuchs, just updated our history-substring-search module. Sorry for breaking this in the previous commit.


Log Logrotation in own Function

Proposed Changes

(Describe the changes and rationale behind them)

Related Issues

(Github link to related issues or pull requests)

Your wish 😁😁😁


Completed text feature command

Codecov Report

Merging #6 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development       #6   +/-   ##
============================================
  Coverage        54.28%   54.28%
============================================
  Files                1        1
  Lines               35       35
============================================
  Hits                19       19
  Misses              16       16

Impacted Files
Coverage Δ

app/config/config.go
54.28% <ø> (ø)

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 2bcde1c...32abca5. Read the comment docs.

Cancel pull request


builder 0.14.10 regression (import out of order)

Greets Guy,
So, I believe I found another significant regression in SystemJS Builder 0.14.10. In this case it's due to import order and how things are loaded in a static bundle. I see that a lot of changes occurred in trace.js and compile.js between 0.14.9 & 0.14.10. Also a conceivable dependency algorithms used in trace.js and any replacement perhaps could be a potential source. Of course I don't have full comprehension of the deep internals of SystemJS Builder, but the algorithms "depthFirst" usage in 0.14.9 stuck out as a significant change when removed for 0.14.10 (if it's related to this area).
In #384 I mentioned a scenario with my larger web app framework and demo that it seemed like initialization code was not being run. Indeed the problem seems to be loading out of order for static bundles and not related to #384. Everything works with running in the browser via Babel, so I do think a change to how import order is handled for static bundles with Builder is the culprit.
For my testing in the main entry point (main.js) I eliminated everything except two imports. In this case it's 'parseinit' followed by 'typhonUser', so the only thing in main.js file is this:
import 'parseinit';
import 'typhonUser'

parseinit must run first and the only shared import dependency shared between them is Parse.
parseinit is super simple and just invokes the Parse initialize function.
import Parse      from 'parse';
import appConfig  from 'appconfig';

Parse.initialize(appConfig.parseAppID, appConfig.parseAPIKey);

The imports for typhonUser are minimal:
import _          from 'underscore';
import Parse      from 'parse';
import eventbus   from 'mainEventbus';

In Builder 0.14.10 'typhonUser' is run first and it instantiates an instance of a class which in the constructor accesses the Parse API which is not initialized yet.
Here is what Builder 0.14.9 outputs for the simple main.js listed above ('53' is parseinit and 'a2' is typhonUser).
$__System.register('1', ['53', 'a2'], function (_export) {
  'use strict';

  return {
    setters: [function (_) {}, function (_a2) {}],
    execute: function () {}
  };
});

Here is what Builder 0.14.10 outputs for the same file ('64' is typhonUser and 'a2' is parseinit):
$__System.register('1', ['64', 'a2'], function (_export) {
  'use strict';

  return {
    setters: [function (_) {}, function (_a2) {}],
    execute: function () {}
  };
});

This seems to be a legitimate regression with Builder 0.14.10.

On Tue, Nov 3, 2015 at 6:08 AM, Michael Leahy<EMAIL_ADDRESS>wrote:

For my testing in my main entry point (main.js) I eliminated everything
except two imports. In this case it's 'parseinit' followed by 'typhonUser',
so the only thing in main.js file is this:
import 'parseinit';
import 'typhonUser'
parseinit must run first and there are no dependencies between them or
other code.

If parseinit must run before typhonUser, then that means that typhonUser
has a dependency on parseinit. You shouldn't rely on import order to
determine a dependency chain.

It doesn't have a dependency on 'parseinit'
The code I listed is from a project that worked across SystemJS Builder ~0.14.7 or 8 and broke with 0.14.10

Maybe you don't understand how dependencies work or I don't understand your problem. =)
That said, I never rely on the order of imports and neither should you. =)

I agree it's not ideal to depend on import order due to ES6 hoisted imports. I'm dealing with a third party library that requires an initialization function to be called. It's the only thing in my framework that requires explicit initialization.
I did list out the import / dependencies in both module / files above.  Things also work in the browser with no problems. What is unclear such that you don't understand the problem?

If typhonUser depends on parseinit to execute code first (hopefully that isn't async either), then typhonUser has a "dependency" on parseinit and should declare that dependency at the top of typhonUser with an import statement pointing at parseinit.

It's not async, so that much is good; just sets API keys for a 3rd party library.
What you are suggesting isn't generally desirable as typhonUser is coming from a separate repo that doesn't depend on the repo containing parseinit. It's hypothetically speaking a messy solution when the problem could actually be a regression in SystemJS Builder. If things were broken in the browser via Babel I'd agree that this is the solution.
I suppose I can create an entirely separate repo that only contains 'parseinit' and also make it a main entry point for JSPM. The reason this is not great is that other 3rd parties will be building on top of my framework. To always expect 3rd parties to properly setup 'parseinit' as an explicit dependency is generally not desirable. This issue shouldn't leak beyond the bootstrapping of my own framework.
I'm still leaning on the notion that the trace / graph aspects of Builder has changed and it's not presently in sync with Babel or the ES6 spec necessarily though this is an assumption.

Think of import statements as async loaded <script> tags. You can't rely on the order of execution. SystemJS builder might have been working for you in the past, but you shouldn't rely on it for execution order. Order of import statements is also a sure sign of brittle code anyway. Someone will come along and change the order and break things.
The other way around this is to export a function from typhonUser that gets initialized with parseinit.
import TyphonUser from 'typhonUser'
import parseInit from 'parseInit';

let user = new TyphonUser(parseInit);

The way you're coding things is like using a static singleton in Java to initialize things. I'd go with more of a dependency injection (guice) route where you are effectively using constructors. Your other idea of having a separate dependency for parseInit would also work.

I'm exploring the separate repo direction just for 'parseinit'. It's not the end of the world if my framework repos which depend on Parse also depend on the init repo. This should practically guarantee that 'parseinit' should be invoked before things escape the bootstrapping process where 3rd parties using my framework are concerned.
I suppose it's an open question / comment on SystemJS Builder. Should it match Babel?

This output of dependencies is actually generated entirely by Babel. Are you using the same version of Babel between test cases? I'm wondering if this could be a Babel regression.

Hello,
I found a similar problem with systemjs-builder 0.14.10 on my project.
CSS files are in the wrong order (exact revert of expected).
I create a repository to show the problem :
https://github.com/Charlynux/systemjs-order
Hope this could help.

I've reverted back to post ordering in https://github.com/systemjs/builder/commit/34033865f83eb49ede7ae5c672903ee9a1de37cf, let me know if that helps.

Released in 0.14.12.


Bug with babel-jest when coverage mode is on

🐛 Bug Report
Jest returns an error when babel ignore some directory and --coverage mode is enabled:

babel-jest: Babel ignores server/init/index.js - make sure to include the file in Jest's transformIgnorePatterns as well.

Adding this directory in transformIgnorePatterns  - do not help.
When we disable coverage all is working properly.
To Reproduce
Steps to reproduce the behavior:
OS: Windows 10
babel-jest: 24.7.1
jest: 24.6.0
.babelrc
 { ...   "only": [     "client/",     "test/"   ] ... }
jest-config.js
{   ...   "transform": {     "^.+\\.jsx?$": "babel-jest"   },   "transformIgnorePatterns": [     "/server/",     "/node_modules/"   ],   ... }
command
jest test/ --coverage --verbose

@shanedg Thanks so much for that workaround, that ended a long annoying session of Googling/debugging/cursing/teeth-gnashing for me.

Thank you @spktklr, that was exactly what I needed.

Here is some info in my investigation. I added an ignore entry to babel, and then I got this error. I then followed the instructions and added a transformIgnorePattern which didn't change anything. In my debugging I noticed that the file is correctly marked as not to be transformed:

but the getFileCachePathAsync function assumes that the file should be transformed, so when we get down to assertLoadedBabelConfig it throws the error because the babel config can't be found for an ignored file

After adding the file in question to coveragePathIgnorePatterns in addition to transformIgnorePatterns the error goes away, but as @shanedg mentioned, there are use cases for having one coverage collected, but not transforming the file.


falcorjs - one model everywhere

FalcorJS is a new category of libraries that help you make one model of your application everywhere (on backend and front-end at the same time). It's a revolution in terms of productivity boost for full-stack developers.

Good start, but the list is not very comprehensive. Awesome lists are hard work. Just putting in a few random links isn't very useful. Put some more work into it. Take a look at some other lists and see how they do it. E.g. https://github.com/sindresorhus/awesome-electron https://github.com/sindresorhus/awesome-npm
Also please read the instructions for creating a new list, contributing guidelines and the awesome manifest.
We only create categories when there's at least two items for something.

OK got it @sindresorhus , I will work more on that list and re-submit when it will be much more complete ;-)


Android example crashes at startup

Hi there!
It occurs to me that I couldn't run the example plugin (xmpp_plugin/example/lib/main.dart) on Android. Running on iOS however works just fine.
Configuration:

Flutter 3.3.8 • channel stable
Tools • Dart 2.18.4 • DevTools 2.15.0
Android Virtual Device • Pixel 5 API 33
OS • macOS Ventura 13.0.1

I get the following error:
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused)
	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
	at java.base/java.net.Socket.connect(Socket.java:609)
	at java.base/java.net.Socket.connect(Socket.java:558)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
	at java.base/sun.net.www.http.HttpClient$1.run(HttpClient.java:526)
	at java.base/sun.net.www.http.HttpClient$1.run(HttpClient.java:524)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/sun.net.www.http.HttpClient.privilegedOpenServer(HttpClient.java:523)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:564)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:373)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:212)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1208)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
	at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
	at org.gradle.wrapper.Download.download(Download.java:44)
	at org.gradle.wrapper.Install$1.call(Install.java:61)
	at org.gradle.wrapper.Install$1.call(Install.java:48)
	at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
	at org.gradle.wrapper.Install.createDist(Install.java:48)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Exception: Gradle task assembleDebug failed with exit code 1

Steps to reproduce:

Clone this repository
Run on Android Emulator

I also tried to build the apk first with flutter build apk but that doesn't seem to help either.
Any ideas or suggestions?

Thanks to report the issue here, I will investigate and update this. @florisgravendeel

@florisgravendeel I merged your request can you please close this issue if this is working well with you now ?


Wrong download on webpage for tiscamera

The following link https://www.theimagingsource.com/support/downloads-for-linux/install/tiscameraarm64642004 from the webpage doesn't download an arm64 version, instead it downloads an amd64 version for ubuntu 20.04

Dear Ukhupacha,
you are right. Someone made a mistake there. We will fix that soon.
If you need the correct .deb package you can find it also here:
https://github.com/TheImagingSource/tiscamera/releases
Kevin


ERROR : Request failed with status code 451

As the title says I'm unable to login.... by using OTP I get this error:
data: {
status: 45101,
message: 'Unavailable for legal reasons',
domain: 'eu'
}
By using alternative method with .json file on number lookup I get "ERROR : Request failed with status code 451"
I think it has something to do with Truecaller's EU tokens...because I logged in succesful by using Asian phone number token of a friend. but on italian phone number lookup the result is:
data            :
id              : 4hVlep08gyBufaUI0hhPFw==
access          : PUBLIC
enhanced        : true
phones          :
e164Format      : +39320XXXXXXX
numberType      : MOBILE
nationalFormat  : 320 XXX XXXX
dialingCode     : 39
countryCode     : IT
carrier         : Wind Tre S.p.A.
type            : openPhone
addresses       :
countryCode     : IT
type            : address
internetAddresses : []
badges          : []
tags            : []
cacheTtl        : 86400000
sources         : []
searchWarnings  : []
surveys         :
id              : 100
frequency       : 3600
passthroughData : eyAiMyI6ICIzOTMyMDk3MzQ4NTYiIH0=
perNumberCooldown : 7890000
id              : b6588ff4-47cb-46ce-8b11-015199c1f729
frequency       : 3600
passthroughData : eyAiMyI6ICIzOTMyMDk3MzQ4NTYiIH0=
perNumberCooldown : 7890000
commentsStats   :
showComments    : false
ns              : 100
provider        : ss-nu
stats           :
sourceStats     : []
I get just carrier info, looks like the "data" field containing the name is missing...

are you able use truecaller app on your phone  ?
if yes then are you able to get the name of the person with same phone number ?

Yes, sure, it works perfectly fine.


"Old options" transport:ws required to get redis/cluster working

It seems as though socket.io 1.x.x doesn't use the options object or that it is only there for "backwards compatability". I have cluster/redis/socket.io working. The last step was a bit difficult to fix. Socket.io-client for node/browser does not work when "polling" is set as the first (or only) "transport" option. The server and clients must have "transports": ['websocket'] set as the first/only option. I know these options cascade down into the engine.io socket object. Why does cluster/redis not support polling? Can this issue be fixed, removing the need to explicitly set the option to websocket? Is there a time when websockets would fail and polling would be needed, and am I losing this functionality? Thanks.

Do you have multiple socket.io servers on your environment? It sounds you need sticky session.
http://socket.io/docs/using-multiple-nodes/

Seems like sticky-session gem is not being maintained. There isn't a code change in 2 years. Any other options?


Bug Report -  Can't get databuilder working with ECS. (Version mismatch)

I have noticed that the version that runs containers for ECS is not the same as the "oficial" version of Amundsen which is far ahead in terms of version for the containers. One of the problems with that is that I can't seem to get databuilder running. It is all set, built, installed properly but I keep running into errors when I run it.
Imporant note: I have managed to get it working in some occasions in the past, by changing versions of some libs on requirements.txt. I took note of this changes and thought they were enough, but now even those arent't getting the job done.
I have tried databuilder versions: 6.5.2, 6.74, 6.10, 7.2.0. None of them work. The error bellow keeps popping, it seems like an inability to handle ElasticSearch 6.7, which is the version that currently is being used by ECS-ready containers.
WARNING:elasticsearch:PUT http://xxxxxxx:9200/table_7adb2685-0388-416b-aa4b-e1108a466303 [status:400 request:0.023s]
Traceback (most recent call last):
File "example/scripts/sample_data_loader.py", line 407, in
job_es_table.launch()
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/amundsen_databuilder-7.1.2-py3.7.egg/databuilder/job/job.py", line 76, in launch
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/amundsen_databuilder-7.1.2-py3.7.egg/databuilder/job/job.py", line 72, in launch
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/amundsen_databuilder-7.1.2-py3.7.egg/databuilder/publisher/base_publisher.py", line 40, in publish
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/amundsen_databuilder-7.1.2-py3.7.egg/databuilder/publisher/base_publisher.py", line 37, in publish
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/amundsen_databuilder-7.1.2-py3.7.egg/databuilder/publisher/elasticsearch_publisher.py", line 104, in publish_impl
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/elasticsearch/client/utils.py", line 347, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/elasticsearch/client/indices.py", line 146, in create
"PUT", _make_path(index), params=params, headers=headers, body=body
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/elasticsearch/transport.py", line 466, in perform_request
raise e
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/elasticsearch/transport.py", line 434, in perform_request
timeout=timeout,
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/elasticsearch/connection/http_urllib3.py", line 291, in perform_request
self._raise_error(response.status, raw_data)
File "/home/ec2-user/amundsen/databuilder/lib64/python3.7/site-packages/elasticsearch/connection/base.py", line 329, in _raise_error
status_code, error_message, additional_info
elasticsearch.exceptions.RequestError: RequestError(400, 'mapper_parsing_exception', 'Root mapping definition has unsupported parameters:  [schema : {analyzer=simple, type=text, fields={raw={type=keyword}}}] [cluster : {analyzer=simple, type=text, fields={raw={type=keyword}}}] [description : {analyzer=simple, type=text}] [display_name : {type=keyword}] [column_descriptions : {analyzer=simple, type=text}] [programmatic_descriptions : {analyzer=simple, type=text}] [tags : {type=keyword}] [badges : {type=keyword}] [database : {analyzer=simple, type=text, fields={raw={type=keyword}}}] [total_usage : {type=long}] [name : {analyzer=simple, type=text, fields={raw={type=keyword}}}] [last_updated_timestamp : {format=epoch_second, type=date}] [unique_usage : {type=long}] [column_names : {analyzer=simple, type=text, fields={raw={normalizer=column_names_normalizer, type=keyword}}}] [key : {type=keyword}]')

I had a similar error, I think it was because of an incompatible version of elastic search. I use Open Search, with elastic search 7.10 (the last version of elastic search provided by aws open search service).
I'm using amundsen-databuilder = "^6.7.4", but with python elasticsearch client elasticsearch = "7.13.4"
It worked for me

I got it working too with databuilder 6.7.4. This is definetly the databuilder version  that works with ECS.
But I had to tweak some library versions as well, the requirements.txt that comes with 6.7.4 will not work by itself. It will either fail to build because of compability issues or it will fail to load data in Elasticsearch because of version mismatch. After some tweaking I got it working. I can share my version of requirements.txt here if someone needs help setting this up.

Is this issue gonna get some attention anytime soon? Seems to me no one really cares about ECS, since it is really outdated in relation to the rest of the project. I have created a CloudFormation template that deploys Amundsen automatically in a highly-available environment. I could contribute this to the project if it is of interest of the community.

Is this issue gonna get some attention anytime soon? Seems to me no one really cares about ECS, since it is really outdated in relation to the rest of the project. I have created a CloudFormation template that deploys Amundsen automatically in a highly-available environment. I could contribute this to the project if it is of interest of the community.

Hello Christian, would you mind sharing the frontend/metadata/search/neo4j versions you are running? I'm looking for a fresh deploy but the version mismatches does seem a little confusing to me. Thank you in advance.

Hi

Is this issue gonna get some attention anytime soon? Seems to me no one really cares about ECS, since it is really outdated in relation to the rest of the project. I have created a CloudFormation template that deploys Amundsen automatically in a highly-available environment. I could contribute this to the project if it is of interest of the community.

Hello Christian, would you mind sharing the frontend/metadata/search/neo4j versions you are running? I'm looking for a fresh deploy but the version mismatches does seem a little confusing to me. Thank you in advance.

Hi @caiopavanelli , in order for me to get Amundsen to work with ECS I used this file for reference, it has all the versions of Amundsen's containers.
https://github.com/amundsen-io/amundsen/blob/main/docs/installation-aws-ecs/docker-ecs-amundsen.yml
But as you can see, they are really outdated. So when you try to get databuilder working on it, for example, you run into a nightmare of versions mismatch, the containers, Amundsen's release, python libraries, etc.

@cdechery - would you be able to share your updated requirements , facing similar issue at my end to get it working with data builder.

@cdechery would you be able to share your updated requirements , facing similar issue at my end to get it working with data builder.


[bp/1.25] Backport stack

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @kyessenov

/wait for original_dst fix changelog


List: Support scroll by page

I searched for the request in subject, but didn't find it. I saw numerous requests to make scrolling page by page in editors, and thanfully we got that option with the "editor.scrollbar.scrollByPage". However, the scrolling in almost every other situation is absolute, i.e. you get scroll to the place where you clicked. AFAIK, the only other place in VSCode where we have scrolling page by page is the extension web pages displayed in the editor, which works like that even if "editor.scrollbar.scrollByPage": false.
I would like if the mentioned scrollByPage setting is global for all places that have scroll bars, like Explorer/Search/Extensions panels. Or, you could add another setting which will apply to these other places independently of the editor setting.

Hello! I'd like to give it a try on this one as I'm a potential user of this new feature :)
Could I get some pointers?

Sure. The solution here is  to create a workbench.list.scrollByPage setting. Follow the trail of editor.scrollbar.scrollByPage and workbench.list.horizontalScrolling for hints on how to get that in.

If someone is doing the work to pass the value of a new workbench.list.scrollByPage setting downwards by every user of scrollableElement then maybe it's worth adding a setting to make scrollbars always visible, as discussed in #66000.

Hopefully will fix #139922.


Add support for PX in SET command

We already have the SET command implemented. Now we need to add support for PX option similar to the PX option in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.
Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the tests folder. Note: they have used TCL for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.
For the command, benchmark the code and measure the time taken and memory allocs using benchmem and try to keep them to the bare minimum.

Hey @arpitbbhayani , I would like to take this up.

@SyedMa3 Assigned the issue to you. Go for it.

Sure, understandable.

completed the task. Waiting for Issue 213 to get resolved.

Side Note:
The benchmark cli command for evalSET needs to have the value of benchtime flag less than 100x since WatchChannel is a buffered channel of size 100 and may lead to a deadlock.

https://github.com/DiceDB/dice/pull/236/


No heading Collapse, No table of content

Issue Type: Feature Request
No heading Collapse, No table of content
Those are becoming essential in jupyter Notebook and jupyterLab and Google Colab, and they should be in Visual studio
Extension version: 2021.6.832593372
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z)
OS version: Windows_NT x64 10.0.19042

Hi @ZedTDean, both these will be included in VS Code Stable when we migrate to Native Notebooks. If you would like to try it out today, please download and use VS Code Insiders: https://code.visualstudio.com/insiders/


oasis dex based reserve

handled the so far code review issues and pushed to the repo (still without the new oasis sub-folder separation).


Chapter 2 Java Lab: 2-1 Declaring and Initializing Java Variables

I believe that the math behind the coding is wrong.
salePrice = (retailPrice * 0.75);
Status: PASSED!
Check: 1
Test: Calculate the sale price as 25 percent deducted from the retail price of $325.
Reason: The correct sale price of $243.75 was found in the program's output.None
Timestamp: 2024-01-17 19:20:43.035876
Status: PASSED!
Check: 2
Test: Calculate the sale price as 25 percent deducted from the retail price of $821.34.
Reason: The correct sale price of $616.005 was found in the program's output.None
Timestamp: 2024-01-17 19:20:44.694585
Status: FAILED!
Check: 3
Test: Calculate the sale price as 25 percent deducted from the retail price of $999.99.
Reason: Unable to find '749.99' in the program's output.
Item Name: TV Stand
Retail Price: $999.99
Wholesale Price: $1398.37
Profit: $-398.3799999999999
Sale Price: $749.9925000000001
Sale Profit: $-648.3774999999998
Error : AssertionError - Unable to find a number close enough to 749.99 (+/-0.00) in the program's output.
Timestamp: 2024-01-17 19:20:46.137563
Status: PASSED!
Check: 4
Test: Checking the program for hardcoded answers.
Reason: None
Timestamp: 2024-01-17 19:20:46.138080
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

/question
Please raise your issue with the course support channel.

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Samples system test failing: files › should download a file

Observed the test failing in samples/system-test/files.test.js in master since dad87eba3, then re-run tests on earlier commits 7e81936d and the test went from green to red.

Can I get confirmation it is a duplicate of #53 and it's a known issue?

@kinwa91 please add the appropriate labels to this :)

summoning @stephenplusplus :)

I'm not sure about this one. It passed locally for me, as well as recent nightly builds (2, 3, 4, 5 nights ago). But, it did fail before that, and it's possible it will fail again.
The test structure makes sense:

upload file
download file
check that there weren't errors
check that file exists on disk

The step that fails is 4, which means fs.writeFileStream('{{file path}}') succeeded. And if that worked, then how is it that the file doesn't exist?
I'm a wee bit lost here.

Seems fine in recent CI. If it pops back, we can look again.

Yes, still failing with downloading a file


tensorflow error raised when calculating "error_fake"

Hi,
I try training on my own dataset (for images which are not square) but when TF tries to calculate the discriminator "error_fake" for some reason I get that the input and the weights belong to different graphs and thus I get the following error:
"%s must be from the same graph as %s." % (item, original_item))
ValueError: Tensor("Placeholder_1:0", shape=(1, 300, 640, 3), dtype=float32) must be from the same graph as Tensor("D_Y/C64/weights:0", shape=(4, 4, 3, 64), dtype=float32_ref).
it's weird to me since it's very similar to calculating the "error_real" (same D) only here D works on fake_y and not on y.
any idea on where this is coming from?
thanks

Are all the images the same size?

yes. all 300X640X3. both A and B.
moreover, it always happens on the first image (which is different every time)

Thanks for reporting!
At the moment, my implementation can't work with images which are not square.
The size of fake images are specified as in https://github.com/vanhuyz/CycleGAN-TensorFlow/blob/master/model.py#L58-L61.
This should be fixed in future work.

Hi,
I made all the necessary changes to be able to work with images which are not square. I now have image_size_h, and image_size_w parameters.
good news - apparently I was not working with the latest version, so I took the latest, re-implemented my changes, and now it runs ok!. So either the issue was solved in the latest version or I made a mistake in the first time with the "image_size" changes.
Either way, now I cross my fingers for good results :)
thanks


remove deprecated $supportedMhashAlgos values for Zend\Crypt\Key\Derivation\SaltedS2k

This repository has been closed and moved to laminas/laminas-crypt; a new issue has been opened at https://github.com/laminas/laminas-crypt/issues/3.