Reimplemented fixpoint computation for scan.

With James's help I tried to understand the purpose of the fixpoint
computations for scan and while. If I understand this correctly,
the fixpoint is monotonic and is guaranteed to terminate without
the suspicious-looking up-to-1000 iterations.

It is indeed monotonic, but still could take a long time. Our thinking was if we ever hit some a priori fixed iteration bound we should do something else, like fall back to conservatively lifting all the arguments or error (today it does the latter). In other words, we put in this hard upper limit because I thought while True looked more suspicious than this pattern.
I don't have strong feelings about it, but it would be interesting to decide if while True is better engineering practice than for _ in range(BIG): ... else: error(). WDYT?

(Also, to put my cards on the table for/else is my favorite Python construct...)

I don't have strong feelings about it, but it would be interesting to decide if while True is better engineering practice than for _ in range(BIG): ... else: error(). WDYT?

As a user, I think I would rather hit a descriptive error rather than have code that happens to never terminate. The former is much easier to debug.

It is indeed monotonic, but still could take a long time. Our thinking was if we ever hit some a priori fixed iteration bound we should do something else, like fall back to conservatively lifting all the arguments or error (today it does the latter). In other words, we put in this hard upper limit because I thought while True looked more suspicious than this pattern.

We use a fixpoint calculation because we believe the fixpoint exists. This code, with the explicit equality-comparison-else-join, will ensure that at each iteration at least one of the boolean flags moves from False to True. Therefore, the loop will terminate in at most len(carry) iterations. This is a standard fixpoint correctness justification.

I don't have strong feelings about it, but it would be interesting to decide if while True is better engineering practice than for _ in range(BIG): ... else: error(). WDYT?

I think that range(BIG) looks very suspicious. I thought that "while True" is a good choice because it is locally-obvious this will terminate. But maybe it is not so obvious and perhaps the best middle ground is
for _ in range(1 + len(carry)):
iteration with a break on reaching fixpoint; executes at least once
else:
assert False, "Fixpoint not reached"

Great point about while True signalling that we know there must be a finitely-reachable fixed point.
+1 to the for _ in range(1 + len(carry)): ... else: assert False idea. That's much better, and it really is an assertion about correctness, not just some arbitrary big number! Seems like the best of both worlds. (Maybe we didn't think of that because before #1224 the lattice join was on tuple-trees, though we could have just counted the number of leaves in the tree...)

If we go with the explicit or, then are there remaining uses of instantiate or can we remove it?

If we go with the explicit or, then are there remaining uses of instantiate or can we remove it (or perhaps limit it to just True or False)?

I think we need to keep it, because that will guarantee that the resulting jaxpr is as we need (using the fixpoint carry).

Is the plan for this PR to use the for _ in range(1 + len(carry)): ... else: assert False pattern, then merge? Because that sounds good to me.

Is the plan for this PR to use the for _ in range(1 + len(carry)): ... else: assert False pattern, then merge? Because that sounds good to me.

Yes, that is my plan. I also wanted to try to add a test for the fixpoint. But I have been a bit tied up the last few days.


A Chart doesn't update after changing data

Hi. Is there exist an easy way to update charts? Like after scrolling or pressing button?
I have class  with the chart as a property, then I binded it in XAML file of the page. In my program OnApearing event calls void method, which updates chart's entries with new date. After that I call OnPropertyChanged event to refresh binds. Everything is updated except chart. And only after I reboot my app the chart (obviously)  will be updated.
You can check my rep. Look through DiagramPage and ChartsViewModel. Thank you.

I have faund the answer. To update a hole chart dynamically you should recreate an object of the chart, which bounds to a xaml page. Re initialization of entries not enough.


Remove redundant class name in function declaration (Fix #4052)

This PR removes "ListOpnd::" from the member function declaration in Opnd.h.
Fixes #4052

I'm testing this internally and will then merge.


Add Vertical Zoom that syncs across all the plots

Either a range selection (look in the examples) or a ZoomTool could be added that only works on the Value Axis.  There should be examples or documentation to guide this.

This example could be a useful reference.

Closed by #9


Rebuild KP registry when container bounces

Background: When cluster went down and came back up, registry came up empty so calls to Strider were failing. There should be some automated way to handle this - maybe with Kubernetes.

Fixed by https://github.com/ranking-agent/kp-registry/pull/18


Update containerd log dependency

Moving the log package to a separate repository is part of our containerd 2.0 effort to break circular dependencies where we can. Importing the log package in the internal log seems unnecessary since it only uses a const. If copying that const is still not ideal, it can be updated to use new package as well (removed based on "A little copying is better than a little dependency.")
Uses the new log package for the shim and tests.

CI re-run looks good.


Question about Completer

(This is not an issue. If there is a better place to post this question please let me know.)
I have an autocompletion list that takes a while to be retrieved (network IO). During this time I want the prompt to be displayed and it the user presses tab, it should show something like ...loading. As soon as the list is retrieved, the autocompletion list should be populated without the user having to press tab again. Is this possible?
Thank you.

Hi @abhinavdas,
If you don't mind showing this message in a bottom toolbar or rprompt, then this is possible. Check the bottom toolbar and rprompt examples on how to display text over there. Make sure that somewhere before and after the loading the completions, you set a boolean variable somewhere.
If you wish to display this somewhere else, like in a drop down menu, then that's going to be much more complex, because you'll have to design a new layout.

I've also wanted some way to indicate that the completions are loading, particularly so I can see when they are done loading and I can know that there are no completions and it isn't just still trying to compute them (Jedi can be slow sometimes).

Thanks @jonathanslenders. How do I ensure that toolbar or rprompt is redrawn when list is downloaed? I guess the situation would be the following: the prompt is displayed and a new thread is downloading the list of completers. The user sees a loading possible values... in toolbar. Once, the values are loaded, I need to inform the user that the values are loaded and that they need to press tab. How, do I change the toolbar associated with the prompt that is already displayed?

Have a look at this example: https://github.com/jonathanslenders/python-prompt-toolkit/blob/2.0/examples/prompts/slow-completions.py
(Also make sure to use the latest 2.0 commit.)
Invalidation should not be necessary in this case, but if you need it, the following can be called in any case to trigger a redraw.
from prompt_toolkit.application.current import get_app
get_app().invalidate()


additional option to skip tests, fix outdated input file

Description of changes:
Address e2e test failures:

test_rg_input_coverage was failing because the type of the authToken field has changed since the test was written
test_rg_auth_token was failing because the controller does not have permissions to list secrets. For now, we are skipping this test. See issue https://github.com/aws-controllers-k8s/community/issues/745
test_rg_cmd_fromsnapshot succeeds locally but failed in the last Prow run. I will rerun it as part of this PR and attempt to root cause the issue if it continues to fail

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test

/test elasticache-kind-e2e
/test elasticache-unit-test

/lgtm

Prow job seems to be having issues with replication group tests (even though they succeed locally). I'll start a new run to see if the results are reliable and then attempt to further investigate/reproduce the issue.
/test elasticache-kind-e2e

/ok-to-test
/test elasticache-kind-e2e
/test elasticache-unit-test

Adjusted AZs, running again:
/ok-to-test
/test elasticache-kind-e2e
/test elasticache-unit-test

Actual tests are now passing (see prow output above), but we are facing a credential timeout upon teardown. We can merge this PR and I will follow up with another to parallelize the replication group tests so they don't run sequentially.


Implement importing/including

At first, there was an idea to implement modules/packages. But, after thinking about it, they are not needed.
There is no parallelization on translation unit level, like in C++. Everything is starting from top-level CMakeLists, through the subdirectories. With that in mind, a concept of including is sufficient for CMakeSL and it will be implemented.
Syntax will be like in C++: #include "some/file.cmsl"
There will be a default include guard. If you want to include file multiple times, a force include is needed:
#force_include "some/file.cmsl"

Well, apparently there is a concept of 'translation units' here. Every CMakeLists.cmsl is a separate translation unit. That's why modules/importing was implemented instead of including.


re-visit k_thread_abort wrt SMP

The default k_thread_abort implementation has this note:
void z_impl_k_thread_abort(k_tid_t thread)
{
	/* We aren't trying to synchronize data access here (these
	 * APIs are internally synchronized).  The original lock seems
	 * to have been in place to prevent the thread from waking up
	 * due to a delivered interrupt.  Leave a dummy spinlock in
	 * place to do that.  This API should be revisted though, it
	 * doesn't look SMP-safe as it stands.
	 */
	struct k_spinlock lock = {};
	k_spinlock_key_t key = k_spin_lock(&lock);

	__ASSERT((thread->base.user_options & K_ESSENTIAL) == 0U,
		 "essential thread aborted");

	z_thread_single_abort(thread);
	z_thread_monitor_exit(thread);

	if (thread == _current && !arch_is_in_isr()) {
		z_swap(&lock, key);
	} else {
		/* Really, there's no good reason for this to be a
		 * scheduling point if we aren't aborting _current (by
		 * definition, no higher priority thread is runnable,
		 * because we're running!).  But it always has been
		 * and is thus part of our API, and we have tests that
		 * rely on k_thread_abort() scheduling out of
		 * cooperative threads.
		 */
		z_reschedule(&lock, key);
	}
}

Opening this ticket for further contemplation and resolution.

/* We aren't trying to synchronize data access here (these

APIs are internally synchronized).  The original lock seems
to have been in place to prevent the thread from waking up
due to a delivered interrupt.  Leave a dummy spinlock in
place to do that.  This API should be revisted though, it
doesn't look SMP-safe as it stands.
*/

Have a couple questions about this:

This spinlock on the stack effectively just locks interrupts on the current CPU. But there's no synchronization if some other CPU is trying to abort this thread, or indeed perform any operation on the thread object
My initial guess was that this ought to acquire the spinlock in thread.c, I think functions like z_thread_single_abort() assume that lock is held. But if I grab that lock instead I get many test timeouts so that's not it.
wondering if we should re-visit the overall kernel locking and make it data-centric; have a core kernel lock, and per-thread locks, maybe separate locks for run queues, etc, seems like the locks we have now are closely associated with the C file they are in but we really want to protect data and not code

Yeah, I was looking at this yesterday.  In fact the call to ready a thread out of k_thread_create() and to abort a thread here are both basically under the wrong lock.  They really ought to move under the scheduler lock for their core work.  Though I couldn't see an obvious spot where there's a clear race, either.

Though I couldn't see an obvious spot where there's a clear race, either.

Yeah, the only thing that looks clearly dangerous so far is two threads on different CPUs calling k_thread_abort() on the same object (or a thread naturally exiting while another CPU tries to call k_thread_abort() on it)
But nothing pops out to suggest it's the ghost we're chasing in #21317

@andrewboie  that is another k_thread_abort issue...

Gonna close this. There's no lock here any more, and the underlying thread exit stuff is all serialized on the sched spinlock. The issues with self-aborts racing with external aborts is known and can be resolved as part of #26486. Closing for now.


Test properly that if there is a saxon script, it is the EXPath one.

See #112 and #121.

Please see #124.

I close this pull request as it is integrated in #124.


Installation issue

Installation is stuck while installing IEdriverServer and installation is not completing.
Command used: npm install -g web-component-tester

Fixed.

Curious: what was the fix? (in case someone else runs into that)

It just started working after a while, so I just assumed that IE specific dependency is fixed on remote repository.


Interactive online demo for Python snippets

Hey folks!
I'm personally a big fan of wtfpython and I always keep an eye on your updates because I always learn something new with them (despite being a 10+ years Python coder). We also use them to teach our students at https://rmotr.com/ (co-founder and teacher here).
While looking at the Python snippets in the README file I thought it would be great to provide some interactive demo that people can use to play with them. Something we've learnt is that getting hands on code as quick as possible is the best way to learn to code.
I spent a few hours compiling all the Python snippets in a Jupyter Notebook file, and adapted it in a way that we can open it with a small service we have at RMOTR to launch Jupyter environments online. The result is what you can see in my fork of the repo (check the Demo section under the table of content):
https://github.com/martinzugnoni/wtfpython
Do you agree that having such interactive demo would help all the folks reading wtfpython?
Let's use this issue as a kick off to start a discussion. Nothing here is written in stone and we can change everything as you wish.
I hope you guys like it, and I truly appreciate any feedback.
thanks.

Hi @martinzugnoni
The remote jupyter notebook you have put up is pretty cool. And I'm glad that this project is helpful to you in teaching.
I agree with you that having the snippets in README kills any chances of interactivity possible (interactive way is better for learning of course). For the same reason, few months back we decided to have a web version of wtfpython (sort of an interactive quizzing site). Since it was something that we planned for GSSoC, we weren't able to put much work into it due to lack of potential contributors.
We did realize that one important step to add any kind of interactivity or extensiblity was to strcuture the snippets in some standard format like JSON, and render everything else from it. The rationale behind it was there are many minor updates and corrections that keep on happening, and it makes no sense to update all the linked projects over and over again. Here's some discussion for the same.
I'm not sure if which approach is better amongst web and jupyter notebook, but there are a few things which can be done in web which I don't know how to do it in jupyter. Couple of them are:

Specify an interpreter version for a cell. Because there are some snippets which work exclusively on certain ptyhon versions.
Fetch data from a JSON file and then render everything in the form of cells (for the same reason we don't want to update it over and over again corresponding to any change here in master)
Scoring. Adding socres makes it more interesting, I did come across some universities using Jupyter notebooks for their assignments and grading them (they had some cells with unmodifiable/hidden code which evaluated the output of the questions), but will need to research about how to implement similar functionality.

Looking forward to your thoughts on this.

Hi @satwikkansal, thanks for your answer.
Jupyter Notebook files are plain JSON files underneath (see the raw version of the demos here). I believe that notebooks is one of the most convenient formats to store code snippets. Not only because the structure of the file was designed for that purpose, but also because it provides the possibility of making cells executable. Something that won't be achieved with any other static format.
About the Python versions, in Jupyter it's possible to change the execution "Kernel" to different languages or versions. This service is running with Python3.x by default, but we could enable the Python2.7 kernel as well. I think it's not possible to define a different kernel on a cell-basis, but we could split the examples into two different notebooks, one for 3.x and one for 2.7. Not sure if this could be an option.
Alternatively we can leave all snippets in a single notebook and the user can switch the kernel to 2.7 manually before executing a py2.7 code example (we can foster that by adding some comments or instructions in the notebook).
What would be the goal of scoring? Is it to differentiate "popular" snippets from others or is it for some kind of grading?
thanks.

Hi @martinzugnoni
It's interesting to know that jupyter notebooks are store information in JSON format. For multiple python versions, I think adding a note for users to change the kernel version manually should suffice to start with.
There are two goals behind scoring that I can think of,
First, we wanted a sort of quizzing like site where users can test their familiarity with Python. We felt that adding scores and some sort of interactivity would make the project more engaging for the readers.
Secondly, the scoring data would enable us to do snippet-level analysis. We can figure out the snippets which most people get wrong, the snippets which most of the people get right (hinting that they're not WTFs), perecentage of people actually completely reading the collection, time taken by them to do so, hotspots where most people stop reading and leave, and so on. We had certain hypothesis about such stats and wanted to see the actual numbers just out of curiousity.
Anyways, if you feel that scoring and analysis are a bit far-fetched, I totally understand, and having a jupyter version of the project seems like a good idea nonetheless.

Sounds good! I will see how to solve the Python2.7 execution and come back with a proposal. I can directly open a PR with the DEMO notebook so you can directly review it there.

Hi @martinzugnoni
Just checking, Were you able to figure out?

Hello @satwikkansal, sorry about the late response. We've been working in some changes about the Notebook service and moved it as a completely separate product on its own page: https://notebooks.ai/
About the Python 2.7 execution, it's not as simple as I thought initially. We are running the code in Docker containers that are built either with Python 2.7 or 3.6, but not both versions together.
The easiest way I can imagine is to separate the 2.7 and 3.6 in two separated Notebook files and run them in separated environments. Would that work?
Otherwise we can think about including only Python 3.6 examples for now until we find a better solution.
If any of the options work, I can create a PR in the upcoming days.
Thank you.

@martinzugnoni Gotcha, I think we can start wtih Python 3.6 examples only.
Also, I did some work on json-generator script, that'll parse the README and convert the examples to json format, here's the python file. The task is half-done till now. What I've planned is to create a json of the form
[
  {
    "id": "some_integer_specific to the order",
    "category": "section_to_which_it_belongs",
    "title": "ofcourse_the_title",
    "parts": {
      "build_up": [
          {
            "type": "text",
            "sequence_num": 1,
            "value": "Markdown here",
            "meta": {}
          },
          {
            "type": "code",
            "sequence_num": 2,
            "value": "unescaped snippet of code here"
            "meta": {
              "language": "sh/py",
              "version": "all/ < / > / exact",
              "contains_wtf": false
            },
            "parsed_values": [
                {
                  "type": "statement/output",
                  "value": [],
                  "is_wtf": false
                }
              ]
          }
        ],
      "explanation": [
        ...
        similar to code.
        ...
        ]
    }
    "keywords": []
  }]

And once this is done, the next task I have in mind is to write another script that can convert this json into a jupyter notebook. If you'd like to work on the later task (to convert that generated json into ipynb for notebooks.ai), then do let me know.

Hey, have you guys looked at binder for hosting notebooks straight from the repo?

https://mybinder.org
https://mybinder.readthedocs.io/en/latest/
https://github.com/binder-examples/
https://gitter.im/jupyterhub/binder

I think this repo is great btw and making it interactive would be super cool!


❌ MixedLanguage Implementation keeps failing

The MixedLanguage setup (VHDL + Verilog) keeps failing. I do not think this is a code problem - there were no relevant code changes there. I think this might be a regression issue with GHDL?!
GHDL fails to import the neorv32_Fomu_MixedLanguage_ClkGen module:
3. Executing GHDL.
./board_tops/neorv32_Fomu_BoardTop_MixedLanguage.vhd:87:3:warning: instance "clk_inst" of component "neorv32_fomu_mixedlanguage_clkgen" is not bound [-Wbinding]
  Clk_inst : neorv32_Fomu_MixedLanguage_ClkGen

Yosys then fails to handle that module:
ERROR: cell type 'neorv32_Fomu_MixedLanguage_ClkGen' is unsupported (instantiated as 'clk_inst')

Yes. This is something I saw in fomu-workshop 1-2 weeks ago. It's happening with mixed language examples only. I will have a look at it in the upcoming week.


Community Sentiment should show total number of votes cast for each sentiment

Community Sentiment should show total number of votes cast for each sentiment, as well as total number of votes cast. Percentages alone are not a good enough indicator of public feeling. By showing total votes, the user could see how active the community is on a particular piece of legislation.

During a design thinking session a Rating system (by Citizens) for the most persuasive arguments was recommended. More investigation on voting and rating option as sentiment mechanisms is needed.


[5.7] unneccessary to override return statement

After setting the content of the response, SymfonyResponse::setContent() directly returns "$this", so we needn't to raise one more return statement in LaravelResponse::setContent().
I checked the symfony 3.0 at least. This behavior of version 4.1 is the same.
// Symfony\Component\HttpFoundation\Response::setContent().
public function setContent($content)
{
    if (null !== $content && !\is_string($content) && !is_numeric($content) && !\is_callable(array($content, '__toString'))) {
        throw new \UnexpectedValueException(sprintf('The Response content must be a string or object implementing __toString(), "%s" given.', \gettype($content)));
    }
    $this->content = (string) $content;
    return $this;
}

I did not test this but wouldn't this return an instance of Symfony\Component\HttpFoundation\Response ?
Can you write some tests to ensure this?

Also, from a coding style POV, I think it's better to keep separate the setter and the return value.

All this change does is add a thing that will need to be changed back if symfony ever starts returning something else. I don't see the benefit here.

@jmarcher $this means the current initiated object. It depends on the context. You may confuse about OOP.

@vlakoff This is the first time I have heard about POV. I may research it. Thanks for your information!

I meant "point of view"

@36864 You may know Symfony's style. It is returning $this at the end of each setter method. The behavior is stable and I don't think Symfony will change it's style because of many existent setters.
Anyway, I know this is optional. If Mr.Otwell doesn't accept, he will close and I will ignore something that is similar.
Thanks for you opinion!

@vlakoff Thanks!

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


CleanupContainerHostNetworking.ps1 is outdated

I think CleanupContainerHostNetworking.ps1 needs to be updated.
Readme is not correct.
This command is wrong:
.\CleanupContainerHostNetworking.ps1 -ForceCleanup

Correct commands:
.\CleanupContainerHostNetworking.ps1 -Cleanup
.\CleanupContainerHostNetworking.ps1 -Cleanup -ForceDeleteAllSwitches

Service name is not correct.
Get-Service : Cannot find any service with service name 'docker'.
At C:\Users\anton\Desktop\CleanupContainerHostNetworking.ps1:227 char:15
+     $docker = Get-Service docker
+               ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (docker:String) [Get-Service], ServiceCommandException
    + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.GetServiceCommand

Need to handle both docker and com.docker.service names.
Cmdlet name is outdated.
I noticed that script tries to find Get-ContainerNetwork cmdlet. I guess the new name is Get-ContainerNet.

Also I noticed warnings on my PC:

Error response from daemon: nat is a pre-defined network and cannot be removed
Error response from daemon: none is a pre-defined network and cannot be removed

I guess it's not possible to delete nat in recent Docker versions.

Yes, we're working to update. Still working on PR https://github.com/Microsoft/Virtualization-Documentation/pull/597 to update and make sure this works with Windows 10 Anniversary Edition, Windows 10 Creators Update, and Windows Server 2016.
ping @kallie-b

Thanks for the notes here, and apologies for the delay. I'll devote time to updating the script and README file this week.


Configure community for SQL variation module?

Hi team - ideally I'd like to map different tables to different simulated endpoints from an sqlite database, but I'm not clear on whether this actually exists or whether I ned to create this?
My specific use case is simulating a number of devices from the same vendor, and I've got snmprec files for each of these, but ideally I would like to have them in a database and use the SQL variation module so I can treat them as 'live' devices to manipulate.
I've got an sqlite database that I have previously populated, but can't see how I associate the individual tables with community names or endpoints.  Is anyone able to point me in the right direction?
Ideally I would explicitly associate each table with a community, that way the general properties are reported back correctly for each unit.

Please read etingof/pysnmp#429 first.


Very slow framerate and terrain graphics issues

I have been experiencing very low frame rates (1-3 seconds per frame) and terrain textures are not being rendered in Orbiter v.240117 as well as with previous builds. This occurs on a fresh install of 32-bit Orbiter v.240117 with no add-ons. The behavior is described here with some screenshots:
https://www.orbiter-forum.com/threads/the-future-of-lua-with-orbiter-is-it-at-a-dead-end.41527/page-4#post-615258
A fresh install of Orbiter 2016 runs very well on the same hardware and terrain graphics render correctly:
https://www.orbiter-forum.com/threads/the-future-of-lua-with-orbiter-is-it-at-a-dead-end.41527/page-4#post-615262
I am running both on Linux Mint 21.3 Virginia under Wine version 9.0, but experienced this behavior under earlier versions of this OS and Wine.
I cannot currently test the 64-bit version as the latest build crashes on Linux (I believe this is already on your radar but I'll open this under a new issue):
https://www.orbiter-forum.com/threads/problem-with-latest-orbiter-build-on-linux.41564/#post-615278

You have obviously forgotten to install planetary textures. I will add a popup window to notify user about missing textures.
I haven't had any frame rate issues on Windows running at 600fps and I don't see any indication of any problems pointing to the Orbiter here. No action required.


Removed useless comment.

:tada: This PR is included in version 2.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


hook_sae_acts_post for Gated models should be post-masking

This changes the hook_sae_acts_post so that it applies to the gated activations after you've multiplied by the masking values.
This problem comes about because "output of encoder" and "output of nonlinear activation function on feature magnitudes" aren't the same thing. Long term solution is to have 2 different hook points, but as a quick fix, I think this hook point should be here (and I would appreciate a quick fix if possible, since it'll make the new ARENA material work when it get to the visualization section!).

Thanks for fixing this! We should really have test coverage on this stuff. I'll make issues to add tests to these functions

np, thanks for merging!


Improved usage of GitHub Actions

Description

adds more recent Python version to test matrix
adds make doc and make format as suggested in #23
run make lint only on most recent Python version (since we don’t expect linting to vary between Python versions)

Note that make doc currently fails. Help wanted on solving that! (Note also that this failure only affects the test under Python 3.9, since make doc (like make lint) is skipped under older Python versions.)
Checklist

[ ] All new functions and classes are documented and adhere to Google doc style (3.8.3-3.8.6 of this document)
[ ] Add/update sphinx documentation with any relevant changes.
[ ] Add/update pytest-style tests in /tests, ensuring sufficient code coverage.
[ ] make test runs without errors.
[ ] make lint doesn't give any warnings.
[ ] make format doesn't give any code formatting suggestions.
[ ] make doc runs without errors and generated docs render correctly.
[ ] Check that CI pipeline run on this PR passes all stages.
[ ] Review signoff by at least one developer.

NOTE: If this PR relates to a release, open and reference an issue with the Release checklist template.

@JostMigenda This looks reasonable, and I think I know what is wrong with make doc.
The current setup assumes that the developer is running make doc after installing the required sphinx packages (via pip install .[docs], see setup.py), so I would expect this to work if that pip command is added to the make doc portion of the CI.
I am surprised that make test and lint don't fail without pip install .[dev], but I must be missing something about those runs.

I’ve added pip install .[docs] to the action. make doc still fails, but at a later stage now. Is anyone here familiar enough with Sphinx that they know what’s going on?
Note that pip install .[dev] is happening in the build step; those tools remain available for all following steps in the same job.
Finally, it looks like this action is triggered twice for every commit: Once because it triggers on every (commit to a) pull_request and once because it triggers on every push to this repo and the branch I want to merge with this PR is in this same repo. I’ll try to fix this in the next commit …

I’ve added pip install .[docs] to the action. make doc still fails, but at a later stage now. Is anyone here familiar enough with Sphinx that they know what’s going on?

It looks like there's a new major release of Sphinx (4.x) as of last month that is causing issues. A quick fix to get around this could be to pin sphinx (sphinx < 4.0) in https://github.com/SNEWS2/hop-SNalert-app/blob/master/setup.py#L38. I'd imagine this would break the hop-client docs as well as other projects I've set up with a similar setup, so I can take a crack at fixing this once I figure out what all has changed.

Using https://github.com/fkirc/skip-duplicate-actions this appears to have worked on the second try.

FYI it looks like #28 fixes the documentation issues so once that's approved/merged those failures should be fixed here.

Test failures are not related to Sphinx this time but to an AssertionError in test_decider.py. It looks like that started to fail when @habig merged my PR #22 a few days ago.
I think I found an issue in the test data … fixed in the next commit, let’s see if that works.

Yep, that fixed it. All checks are passing now and the Sphinx issues are indeed solved; so I think this is ready to be merged?


Zone mismatch error on Flutter web with Flutter v3.22.0

Platform
Flutter Web
Obfuscation
Disabled
Debug Info
Disabled
Doctor
[✓] Flutter (Channel stable, 3.22.0, on macOS 14.5 23F79 darwin-arm64, locale
    it-IT)
    • Flutter version 3.22.0 on channel stable at
      /Users/andrearizzo/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (3 settimane fa), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/andrearizzo/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = /Users/andrearizzo/Library/Android/sdk/
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Version
8.2.0
Steps to Reproduce
I'm just trying to launch my Flutter web application with this minimum settings, but I receive the zone mismatch error. I have tried removing the runZonedGuarded, I have tried using it (since on the Sentry documentation it says I should use it with Flutter prior to 3.3, but nothing seems to work. I have written emails to<EMAIL_ADDRESS>and after a few emails they suggested me to open a github issue.
Launching with: flutter run -d Chrome
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:repod/app/app.dart';
import 'package:repod/app/localizations/app_localizations.dart';
import 'package:repod/app/libs/sentry.lib.dart';
import 'package:sentry_flutter/sentry_flutter.dart';

Future<void> main() async {
  runZonedGuarded(() async {
    WidgetsFlutterBinding.ensureInitialized();
    await SentryFlutter.init(
      (options) {
        options.dsn = SentryLib.shared.sentryDsn;
        options.release = AppLocalizations.instance.translate('AppName');
        options.attachScreenshot = true;
        options.enableAutoPerformanceTracing;
        options.tracesSampleRate = 1.0;
        options.useFlutterBreadcrumbTracking();
      },
      appRunner: () => runApp(SentryScreenshotWidget(child: App())),
    );
  }, (error, stackTrace) {
    print("error $error \n stacktrace $stackTrace");
    return;
  });
}

If I run the above code on Android or iOS, everything works fine and I receive error logs to Sentry as expected.
Update: I have tried to remove the WidgetsFlutterBinding.ensureInitialized() when using Flutter web, but then it doesn't log errors to Sentry anymore.
Expected Result
I expect the app to launch without errors
Actual Result
══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞═════════════════════════════════════════════════════════
The following assertion was thrown during runApp:
Zone mismatch.
The Flutter bindings were initialized in a different zone than is now being used. This will likely
cause confusion and bugs as any zone-specific configuration will inconsistently use the
configuration of the original binding initialization zone or this zone based on hard-to-predict
factors such as which zone was active when a particular callback was set.
It is important to use the same zone when calling `ensureInitialized` on the binding as when calling
`runApp` later.
To make this warning fatal, set BindingBase.debugZoneErrorsAreFatal to true before the bindings are
initialized (i.e. as the first statement in `void main() { }`).

When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 843:28  get current
packages/flutter/src/foundation/binding.dart 495:29                 <fn>
packages/flutter/src/foundation/binding.dart 499:14                 debugCheckZone
packages/flutter/src/widgets/binding.dart 1439:17                   _runWidget
packages/flutter/src/widgets/binding.dart 1373:3                    runApp
packages/repod/main.dart 18:22                                      <fn>
packages/sentry/src/sentry.dart 137:26                              <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50  <fn>
dart-sdk/lib/async/zone.dart 1407:47                                _rootRunUnary
dart-sdk/lib/async/zone.dart 1308:19                                runUnary
dart-sdk/lib/async/future_impl.dart 163:18                          handleValue
dart-sdk/lib/async/future_impl.dart 847:44                          handleValueCallback
dart-sdk/lib/async/future_impl.dart 876:13                          _propagateToListeners
dart-sdk/lib/async/future_impl.dart 652:5                           [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 722:7                           <fn>
dart-sdk/lib/async/zone.dart 1399:13                                _rootRun
dart-sdk/lib/async/zone.dart 1301:19                                run
dart-sdk/lib/async/zone.dart 1209:7                                 runGuarded
dart-sdk/lib/async/zone.dart 1249:23                                callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                    _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                     _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7  <fn>
════════════════════════════════════════════════════════════════════════════════════════════════════

Are you willing to submit a PR?
No

hey, thx for the issue, we'll take a look

Closing this as a duplicate of https://github.com/getsentry/sentry-dart/issues/2063
please raise your concerns in that thread if you still have any


[QUESTION] Error when install "tensorflow-env.yaml"

Dear All,
I tried to install the "tensorflow-env.yaml" on IBM Power9 but failed, it seems that the listed package is missing. Could someone give me some help here?
Thank you in advance,
///////////////////////////////////////////////////////////////////////////////////////
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
Traceback (most recent call last):
File "/opt/apps/open-ce-v1.0.1/open-ce/open-ce/build_feedstock.py", line 186, in build_feedstock
config=config, variants=variant)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/api.py", line 195, in build
variants=variants
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/build.py", line 3013, in build_tree
notest=notest,
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/build.py", line 2058, in build
try_download(m, no_download_source=False, raise_error=True)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/render.py", line 637, in try_download
source.provide(metadata)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/source.py", line 862, in provide
timeout=metadata.config.timeout, locking=metadata.config.locking)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/source.py", line 142, in unpack
src_path, unhashed_fn = download_to_cache(cache_folder, recipe_path, source_dict, verbose)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/source.py", line 98, in download_to_cache
raise RuntimeError("Could not download %s" % url)
RuntimeError: Could not download http://mirror.centos.org/altarch/7/os/ppc64le/Packages/tzdata-java-2019c-1.el7.noarch.rpm
Failure building recipe: tzdata-java-cos7-ppc64le
Unable to build recipe: cdts-feedstock

Thank you so much for your reply, I have followed your instruction. The installtion runs well until hits the following error. Please guide me for this issue.
////////////////////////
......
TEST END: /opt/apps/open-ce-v1.0.1/condabuild/linux-ppc64le/cudnn-7.6.5_10.2-hd2739c3_1.tar.bz2
Renaming work directory '/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work' to '/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work_moved_cudnn-7.6.5_10.2-hd2739c3_1_linux-ppc64le_main_build_loop'
INFO:conda_build.utils:Renaming work directory '/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work' to '/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work_moved_cudnn-7.6.5_10.2-hd2739c3_1_linux-ppc64le_main_build_loop'
INFO conda_build.utils:shutil_move_more_retrying(2084): Renaming work directory '/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work' to '/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work_moved_cudnn-7.6.5_10.2-hd2739c3_1_linux-ppc64le_main_build_loop'
shutil.move(work)=/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work, dest=/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work_moved_cudnn-7.6.5_10.2-hd2739c3_1_linux-ppc64le_main_build_loop)
INFO:conda_build.utils:shutil.move(work)=/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work, dest=/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work_moved_cudnn-7.6.5_10.2-hd2739c3_1_linux-ppc64le_main_build_loop)
INFO conda_build.utils:shutil_move_more_retrying(2091): shutil.move(work)=/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work, dest=/opt/apps/anaconda3/envs/open-ce/conda-bld/cudnn_1605301424593/work_moved_cudnn-7.6.5_10.2-hd2739c3_1_linux-ppc64le_main_build_loop)
Automatic uploading is disabled
If you want to upload package(s) to anaconda.org later, type:
anaconda upload /opt/apps/open-ce-v1.0.1/condabuild/linux-ppc64le/cudnn-7.6.5_10.2-hd2739c3_1.tar.bz2
To have conda build upload to anaconda.org automatically, use
$ conda config --set anaconda_upload yes
anaconda_upload is not set.  Not uploading wheels: []
####################################################################################
Resource usage summary:
Total time: 0:06:52.5
CPU usage: sys=0:00:00.0, user=0:00:00.0
Maximum memory usage observed: 4.1M
Total disk usage observed (not including envs): 841.9K
ERROR: local_src_dir path "/opt/apps/open-ce-v1.0.1/tensorrt-feedstock/config/../../local_files" specified doesn't exist
Unable to build recipe: tensorrt-feedstock

Oh, you need to download the TensorRT package separate (the scripts are unable to automate that.
Please see:
https://github.com/open-ce/open-ce#cuda-requirements
and
https://github.com/open-ce/open-ce/blob/master/doc/README.cuda_support.md

Thank you for your help, I have put the tar.gz file into local_folder, the installation continued till hit another problem. May I ask for some help here?
/////////////////////////////////
[7,932 / 10,144] Compiling external/org_tensorflow/tensorflow/core/profiler/convert/xplane_to_kernel_stats_db.cc; 143s local ... (160 actions running)
[8,118 / 10,144] Compiling external/org_tensorflow/tensorflow/core/profiler/convert/xplane_to_kernel_stats_db.cc; 239s local ... (160 actions running)
[8,158 / 10,144] Compiling external/org_tensorflow/tensorflow/core/profiler/convert/xplane_to_kernel_stats_db.cc; 364s local ... (160 actions running)
[8,335 / 10,146] Compiling external/org_tensorflow/tensorflow/compiler/xla/service/hlo_evaluator.cc; 416s local ... (158 actions, 156 running)
[8,421 / 10,146] Compiling external/org_tensorflow/tensorflow/compiler/xla/service/hlo_evaluator.cc; 563s local ... (158 actions, 154 running)
[8,457 / 10,146] Compiling external/org_tensorflow/tensorflow/core/kernels/rnn/lstm_ops_gpu.cu.cc; 732s local ... (156 actions, 151 running)
Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/root/.cache/bazel/_bazel_root/4015cc4fb821700d4b63bac1b3f16dea/server/jvm.out')
Traceback (most recent call last):
File "/opt/apps/open-ce-v1.0.1/open-ce/open-ce/build_feedstock.py", line 186, in build_feedstock
config=config, variants=variant)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/api.py", line 195, in build
variants=variants
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/build.py", line 3013, in build_tree
notest=notest,
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/build.py", line 2132, in build
cwd=src_dir, stats=build_stats)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/utils.py", line 410, in check_call_env
return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs)
File "/opt/apps/anaconda3/envs/open-ce/lib/python3.6/site-packages/conda_build/utils.py", line 390, in _func_defaulting_env_to_os_environ
raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/opt/apps/anaconda3/envs/open-ce/conda-bld/tensorflow-serving_1605581629231/work/conda_build.sh']' returned non-zero exit status 37.
Failure building recipe: tensorflow-serving
Unable to build recipe: tensorflow-serving-feedstock

That often means you are running out of memory. Building TensorFlow is quite resource intensive.
What are the specs of your system? How much memory? Is there anything else running.
Bazel is able to be configured for certain resource usage.  We'd love some input to be able to tune the recipe for appropriate limits.


There instructions don't apply to VB.

Solution #3: Tools > Options, and uncheck the setting Debugging > General > Enable property evaluation and other implicit function calls. does not exist in VB Settings but the crash still happens. Solutions 1 and 2 don't work when the issue is internal to VS.

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

ID: 3cfd7078-683e-9fd6-247b-e75d4ed16a32
Version Independent ID: ae3300c4-55a8-59b6-846b-50c48c88dcfe
Content: Error: Evaluating the function 'function' timed out and needed to be aborted in an unsafe way - Visual Studio
Content Source: docs/debugger/error-evaluating-the-function-function-timed-out-and-needed-to-be-aborted-in-an-unsafe-way.md
Product: visual-studio-dev15
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@paul1956 Thanks, I will take a look at this.

No repro. I see this setting, which should apply globally.

The setting does not exist as described.

Thanks, you can close. But if possible the picture is needed. I never found it searching.

It does seem like the search feature is scoped to the selected settings (which seems buggy). If I select the 'Debugging' node, I can find the setting via search (search for 'function', for example).


If request is an absolute path, strip path to match

I came across an issue when building webpack on my CI server Ubuntu machine that instead of request being the module name itself, it returned the absolute path to the module resulting in the bundle not including the externals and leading to errors on the user side.
The check for an absolute path seems like the simplest solution to me, and I'm definitely open to other suggestions and would happily update the pull request.

@frostney Good point. Can you give me an example for such an absolute path?

I couldn't find the exact reason why this was happening for me yet. On local Linux and macOS machines, I was always getting the relative paths. Running the same thing on a continous integration server (CircleCI in my case) always returned the absolute path.
Supporting Win and posix is a good idea.

Published version 1.3.0 with absolute paths support. Can you check if it solves your issue?

Note that on version 1.3.1, it is now optional behind a flag:
nodeExternals({
  includeAbsolutePaths: true // defaults to false
})

Thanks man. 👍
1.3.0+ fixed the issue for me.


Cannot open diff of large file

Extension version: 0.22.0
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:30:02.420Z)
OS version: Darwin x64 20.2.0

Steps to Reproduce:

Clone and open reproduction repo: https://github.com/safu9/repro-vscode-pr-github
Click file.txt (500kb) in pr safu9/repro-vscode-pr-github#2
Expect the diff to open, but nothing happens

Extension host log
[2021-01-21 20:45:43.038] [exthost] [error] TypeError: e.openDiff is not a function
	at ~/.vscode/extensions/github.vscode-pull-request-github-0.22.0/media/extension.js:1:495990
	at _executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:701:220)
	at _doExecuteCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:700:378)
	at _.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:700:284)
	at b._executeConvertedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:703:309)
	at _executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:701:220)
	at _.$executeContributedCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:701:595)
	at m._doInvokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:892:926)
	at m._invokeHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:892:618)
	at m._receiveRequest (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:891:252)
	at m._receiveOneMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:890:6)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:888:136
	at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46:801)
	at v.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:233:787)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:1094:104
	at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46:801)
	at v.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:233:787)
	at t.PersistentProtocol._receiveMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:238:1004)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:235:927
	at l.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46:801)
	at p.acceptChunk (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:231:195)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:230:547
	at Socket.t (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:240:822)
	at Socket.emit (events.js:223:5)
	at addChunk (_stream_readable.js:309:12)
	at readableAddChunk (_stream_readable.js:290:11)
	at Socket.Readable.push (_stream_readable.js:224:10)
	at Pipe.onStreamRead (internal/stream_base_commons.js:181:23) pr.openDiffView

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/1540


Release notes added - 2.0 is officially live

Merging & closing this branch to make 2.0 official.

Merging, closes #51 #49 #55


TTN no login possible, dashboard and ArduinoUno, any issues?

Hi, I'm new to TTN and it seems all troubles for me now. My TTNAruinoUno was succesfully activated in the meetup in Utrecht at june 14, 2016 but joining now does not work.
Trying to connect to TTN did not with my TTN Arduino Uno work and now even log in to dashboard does not work anymore.
[1] The TTN Dasboard is unreachable for me:

**[1.1]**The site in https://www.thethingsnetwork.org/labs/story/the-things-uno-getting-started/step/connect-with-otaa "2. Register device / 1. Go to The Things Network Dashboard. 2. Create an account and/or log-in. results in "502 Bad Gateway".
[1.2] I try to login at https://www.thethingsnetwork.org/login/ it seems mij usename and password dont match
[1.3] But also the https://www.thethingsnetwork.org/accounts/password/reset/ does not result in an email.
Are there issues?

[2] Also getting to **connect tot TTN does not work here ** -  for days now.  Even modified some code now I see that the result is:
EUI: 0004A30B001B4A7E
Battery: 3273
AppEUI: 70B3 ..(andsomeore)
DevEUI: 0004A30B001B4A7E
DevAddr: 00000000 (isn't this strange??)
Band: 868
Data Rate: 5
RX Delay 1: 1000
RX Delay 2: 2000
Sending: mac set appeui with 8 bytes
Sending: mac set deveui 0004A30B001B4A7E
Sending: mac set appkey with 16 bytes
Sending: mac join otaa
Join not accepted
denied
The "denied" is the result of some coding, coming from debugPrintLn(response) and making ttu in sthe sketch available. I seem to het an RF path and answer, but not a connection / acceptance.
Is this also some network issue?
(I noticed the 00000000 DevAdrr, wich seems strange to me but maybe it is like DHCP assigned after a succesful join?).
Thanks for any help, Evert

@EvertSchut, thanks for the bug report. It is pretty big an touches a couple of topics so let me try and help you out:
1.1
I've tried reproducing errors you get on the dashboard but everything seems to be working here. (both logging in and registration work for me). Could you please provide more details on exactly when you get the 502 error?
1.2 and 1.3
We're working on a global Single-Sign On for all our services. This is not in production however so creating an account at https://account.thethingsnetwork.org unfortunately does not grant you access to https://www.thethingsnetwork.org. As I've said we're working on moving all of this to one account, but for now you'll have to create multiple accounts. When the time comes to move to one account we will merge your accounts for you. For the same reason the password reset will not work.
Can you try logging in with the new account at https://account.thethingsnetwork.org?

This is hard to debug without looking at your code, do you have a minimal working example that reproduces this error?

Hi Romeo, thanks for your fast response.
Just tried, now a new day, another location "https://account.thethingsnetwork.org/users/authorize?client_id=ttn-dashboard&redirect_uri=https%3A%2F%2Fstaging.thethingsnetwork.org%2F&response_type=code&state=tkyohigYVG%2B%2Fapplications"
.. but again 502 bad gateway message.
The code:
First the Modified OTAA example (Sketch in Arduino cc):
#include "TheThingsUno.h"
// Set your AppEUI and AppKey
const byte appEui[8] = {  0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x00, 0x04, 0x05  }; //for example: {0x70, 0xB3, 0xD5, 0x7E, 0xE0, 0xE0, 0x01, 0x4A1};
const byte appKey[16] = { 0x87, 0xE4, 0xA4, 0x2D, 0xD7, 0x9A, 0x12, 0xCC, 0x05, 0xD4, 0x66, 0x9D, 0xE1, 0x9A, 0x43, 0xC0 };
#define debugSerial Serial
#define loraSerial Serial1
// Set your message to send
String message = "Hello world"; //sending a string of chars "Hello world"
#define debugPrintLn(...) { if (debugSerial) debugSerial.println(VA_ARGS); }
#define debugPrint(...) { if (debugSerial) debugSerial.print(VA_ARGS); }
TheThingsUno ttu;
// vereist eigen .h file op C waarbij definities in 6 regels (readvalue, sendCommand, readLine etc)
// van private naar public zijn gemaakt!
bool eigenjoin(const byte appEui[8], const byte appKey[16]) {
ttu.showStatus();
String devEui;
String deBuginfo = "";
devEui = ttu.readValue("sys get hweui");
ttu.sendCommand("mac set appeui", appEui, 8);
// werkt niet omdat const byte is geen String: deBuginfo = deBuginfo + String(appEui);
ttu.sendCommand("mac set deveui " + devEui);
ttu.sendCommand("mac set appkey", appKey, 16);
ttu.sendCommand("mac join otaa");
String response = ttu.readLine(10000);
if (response != "accepted") {
debugPrintLn("Join not accepted");
debugPrintLn(response);  // lees de status hack
// wacht even
// tegen het floodden van het netwerk
int i=0;
while ( i<10)  {
debugPrint(".");
delay(2000); // tegen het floodden van het netwerk
i=i+1;
}
return false;

}
debugPrintLn("Join accepted: " + response + ". Status: " + ttu.readValue("mac get status"));
Serial.print("eigen joint \n");
return true;
}
// hier begint de Main
void setup() {
debugSerial.begin(115200);
loraSerial.begin(57600);
delay(2000);
Serial.print("Hier begint ie! \n");
ttu.init(loraSerial, debugSerial);
ttu.reset();
//the device will attempt a join every second till the join is successfull
while(!eigenjoin(appEui, appKey)){
Serial.print("next joining attempt..........\n");
ttu.showStatus();
delay(2000);
}
digitalWrite(13, HIGH); //turn on LED to confirm join
// debugPrintLn("debug wordt uitgevoerd");
delay(6000);
ttu.showStatus();
debugPrintLn("Setup for The Things Network complete");
delay(1000);
}
void loop() {
ttu.sendString(message);
delay(1000);
}

Then to be able to use some commands, we (my colleague and I) modified TheThingsUno.h:
class TheThingsUno
{
private:
Stream* modemStream;
Stream* debugStream;
String model;
//    String readLine(int waitTime = DEFAULT_WAIT_TIME);
//    bool waitForOK(int waitTime = DEFAULT_WAIT_TIME, String okMessage = "ok");
//    String readValue(String key);
//    bool sendCommand(String cmd, int waitTime = DEFAULT_WAIT_TIME);
//    bool sendCommand(String cmd, String value, int waitTime = DEFAULT_WAIT_TIME);
//    bool sendCommand(String cmd, const byte* buf, int length, int waitTime = DEFAULT_WAIT_TIME);
//    bool enableFsbChannels(int fsb);
public:
int downlinkPort;
byte downlink[64];
void init(Stream& modemStream, Stream& debugStream);
void reset(bool adr = true, int sf = DEFAULT_SF, int fsb = DEFAULT_FSB);
bool personalize(const byte devAddr[4], const byte nwkSKey[16], const byte appSKey[16]);
bool join(const byte appEui[8], const byte appKey[16]);
int sendBytes(const byte* buffer, int length, int port = 1, bool confirm = false);
int sendString(String message, int port = 1, bool confirm = false);
void showStatus();
// begin mods 27-6-2016
String readValue(String key);
bool sendCommand(String cmd, int waitTime = DEFAULT_WAIT_TIME);
bool sendCommand(String cmd, String value, int waitTime = DEFAULT_WAIT_TIME);
bool sendCommand(String cmd, const byte* buf, int length, int waitTime = DEFAULT_WAIT_TIME);
bool enableFsbChannels(int fsb);
String readLine(int waitTime = DEFAULT_WAIT_TIME);
bool waitForOK(int waitTime = DEFAULT_WAIT_TIME, String okMessage = "ok");
};
#endif

@romeovs See previous post, forgot to mention you and also closed it, jus learning here. I just tried another browser, got error with IE 400 https://account.thethingsnetwork.org/users/authorize. Previous attempts were on FF. I Shouldn' be the only one with this problem, though? I'll try another machine.

@EvertSchut you're getting the hang of it!
I've located the problem that was causing the 502 errors, and fixed it. Can you try again?The correct url is https://account.thethingsnetwork.org/users/login

That results via FF in De pagina verwijst niet op een juiste manier door
Firefox heeft vastgesteld dat de server de aanvraag voor dit adres doorverwijst op een manier die nooit zal eindigen.
Dit probleem kan soms worden veroorzaakt door het uitschakelen of weigeren van cookies.

zal ff proberen met coookies

Cookies lijken aan te staan en ABP uitgezet maakt ook niet uit.

Using IE I got a message that I was logged in, got redirected to https://staging.thethingsnetwork.org/ and that is an empty screen, a non reacting page also when I reload it.

Can you tell me what OS and version of IE / Firefox you are using?

Browsers here on my laptop: FF 47.0 or IE 11.0.9600. But I just tried a diffrent machine, it seems that this machine gains access. So I'm afraid that something is wrong on my machine / laptop here. I will close all tabs (got 40 open or so) and I'm running an extra virus scan now.
Strange thing is that the I userd the laptop in the meeup session and all was working fine until I logged out from the dashboard, after that I could not get in anymore. I'll look into the laptop now.
The other problem was that my TTNAruinuinoOne could not connect. Any hintson
Sending: mac join otaa
Join not accepted
denied ?

Ok - I do not think you need to worry to much about viruses! We had an issue recently where a truncated version of the scripts we use on the dashboard were sent, causing this white page you're encountering. Maybe this wrong script is still in your browser cache?
I'm not a pro on why the join might not work so I added a colleague of mine to the discussion, he might be able to tell you more.

Browser / laptop problem solved, freed up 9 GB on C:, partly using Crap Cleaner, cleared caches, renewed Firefox... got access to the Dashboard and could log in with the link you've sent.
Any hints on the TTNArduinoUno wich connected june 14 in a meetup, and now doesn't join? The sketch from the meetup was not saved and is the above sketch. Checked the keys 5 times, maybe I make a mistake every time.
Output:
Sending: mac join otaa
Join not accepted
denied
Any hints?

Are you close to a gateway? Which one?

Driebergen, I presume.
I tried a page (from semtech i thougt) but did not see any reception, I
didn see any reception at all.
Also there I got some problems creating an account since gmail was not
allowed and anther domain was allowed, but I did not receive the acknoledge
mail on that account.
2016-06-28 15:06 GMT+02:00 Johan Stokking<EMAIL_ADDRESS>
Are you close to a gateway? Which one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TheThingsNetwork/ttn/issues/188#issuecomment-229042935,
or mute the thread
https://github.com/notifications/unsubscribe/AIdhlLINNEo82_OkXf0iHQaIFur7EWByks5qQRxVgaJpZM4I_QSK
.

OK, that's not TTN but Semtech.
The Things Uno's reach, without external antenna, is very limited. You need to be close to a gateway for it to work.
I'm closing this issue as there's at this point not much we can do. Please file an issue with a specific problem you're facing, and if there are more topics, create additional issues.


V 6.x Merge Order Issue w/ 4 or more pdfs

When merging 4 or more files named a.pdf ,b.pdf ,c.pdf ,d.pdf the merge result file puts them out of order.  In my tests when you have 2 or 3 files the merge is always done in the proper order. Not so with 4 or more.
We've been successfully merging 20+ pdfs using version 5.x for several months.
Expected Behavior
Merges should be done alphabetically by file name as described in the documentation.
Current Behavior
With 3 or more pdfs name named a.pdf ,b.pdf ,c.pdf ,d.pdf the merge result has the content in random order.  The merge result order can be different each time a test is run.
Steps to Reproduce (for bugs)
Run

 curl --request POST \
    --url http://localhost:3000/merge \
    --header 'Content-Type: multipart/form-data' \
    --form<EMAIL_ADDRESS>\
    --form<EMAIL_ADDRESS>\
    --form<EMAIL_ADDRESS>\
    --form<EMAIL_ADDRESS>\
    --form<EMAIL_ADDRESS>\
    --form<EMAIL_ADDRESS>\
    --form<EMAIL_ADDRESS>\
    -o result.pdf

Docker run command
docker run --name gotenbee_V603 -e DEFAULT_GOOGLE_CHROME_RPCC_BUFFER_SIZE=104857600 -e DEFAULT_WAIT_TIMEOUT=1800 -e DISABLE_UNOCON=1 -e MAXIMUM_WAIT_TIMEOUT=1800 -e LOG_LEVL=DEBUG -p:3000:3000 "thecodingmachine/gotenberg:latest"
Logs (LOG_LEVEL="DEBUG")
Log entries for 3 attempts with 7 files named a.pdf through g.pdf are below
{"level":"info","msg":"Gotenberg 6.0.3","op":"main","time":"2019-11-01T15:16:46Z","trace":"system"}
{"level":"info","msg":"http server started on port '3000'","op":"main","time":"2019-11-01T15:16:47Z","trace":"system"}
{"bytes_in":"150606","bytes_out":"147756","host":"localhost:3000","latency":"313460800","latency_human":"313.4608ms","level":"info","method":"POST","msg":"request handled","op":"context.Context.LogRequestResult","path":"/merge","referer":"","remote_ip":"<IP_ADDRESS>","status":200,"time":"2019-11-01T15:17:12Z","trace":"lowH6gDJUHTMZgWgw0vCezymepaJ3Iey","uri":"/merge","user_agent":"curl/7.55.1"}
{"bytes_in":"150606","bytes_out":"147756","host":"localhost:3000","latency":"261428400","latency_human":"261.4284ms","level":"info","method":"POST","msg":"request handled","op":"context.Context.LogRequestResult","path":"/merge","referer":"","remote_ip":"<IP_ADDRESS>","status":200,"time":"2019-11-01T15:18:08Z","trace":"9ADcVKN7QUGFVD4oY0ATx7g86F74V2Kc","uri":"/merge","user_agent":"curl/7.55.1"}
{"bytes_in":"150606","bytes_out":"147756","host":"localhost:3000","latency":"277160400","latency_human":"277.1604ms","level":"info","method":"POST","msg":"request handled","op":"context.Context.LogRequestResult","path":"/merge","referer":"","remote_ip":"<IP_ADDRESS>","status":200,"time":"2019-11-01T15:18:36Z","trace":"07UYP0UJAZLXOaPoI0O9ufkcTtUPzqnp","uri":"/merge","user_agent":"curl/7.55.1"}

Environment

Gotenberg version used :  6.0.3  -- all prior 6.x versions have the same issue
Operating System and version:  Windows 10 Enterprise.
Docker info:  Running the image in a linux container via  Docker version 19.03.4, build 9013bf5
Curl: curl/7.55.1

Hello @chrismo111! Version 6.0.4 should fixe your issue 👍


API interprets Kapellen (Antwerp) station as Capellen - Kapellen(L) station

Hello,
I have just been reported this bug by user email.
I have issues with Kapellen (Antwerp - https://en.wikipedia.org/wiki/Kapellen,_Belgium) that is mixed with Chapelle-Capellen (German version = Kapellen) in Luxembourg (https://en.wikipedia.org/wiki/Capellen)
http://api.irail.be/connections/?to=bergen&from=kapellen
Next version of BeTrains will use station ID everywhere, but currently, I cannot do anything on my side, unfortunately.
Can something be done on the server for this?

This is an annoying bug as well in our autocomplete list... You can only select Kapellen in Luxenburg at this moment.
Also over here it's missinterpreted: http://api.irail.be/vehicle/?id=L2591
I propose this issue to be fixed as follows:
An optional parameter &fromCountry and &toCountry will be implemented to make sure we know what country we're talking about

Seems like in fact kapellen is always with a K and Capellen (l) is always with a C now. Will fix in stations list


Add new functions DeleteSlicer and GetSlicers

PR Details

Create a new GetSlicers function to get the slicer definition list
Create a new DeleteSlicer function to delete specified slicer by the given slicer name
Implement this feature in the slicer.go and xmlSlicers.go source code

Description
Slicers in spreadsheets are filter tools used along with Excel tables or pivot tables over a large amount of data. Currently, the Excelize library already supports to creation of a slicer for the table or pivot table in the worksheet. The goal of this PR is to add the function for getting and deleting slicers and support for removing slicers by the given slicer name.
Related Issue
N/A
Motivation and Context
Add get and delete slicer support
How Has This Been Tested
Complete documentation and unit tests, written unit test code in the slicer_test.go source code, incremental test coverage of line reach 100%
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Hi @xuri, the DeleteSlicer function now has been implemented. I added unit tests for it. This PR ready for review.


azure.core.exceptions.ServiceRequestError: Can't connect to HTTPS URL because the SSL module is not available

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
using Python script to retrieve Azure Key Vault Certificates using client library (azure-keyvault-certificates 4.1.0)
Facing below issue in Linux Ubuntu VM and windows 10
azure.core.exceptions.ServiceRequestError: Can't connect to HTTPS URL because the SSL module is not available.
To Reproduce
from azure.identity import DefaultAzureCredential
from azure.keyvault.certificates import CertificateClient
credential = DefaultAzureCredential()
certificate_client = CertificateClient(vault_url="https://my-key-vault.vault.azure.net/", credential=credential)
certificate = certificate_client.get_certificate("cert-name")
print(certificate.name)
print(certificate.properties.version)
print(certificate.policy.issuer_name)
-Please change Azure key vault name and certificate name
-Save file keyvaultcertificates.py file
-Python keyvaultcertificates.py
Expected behavior
to able to  retrieves a certificate previously stored in the Key Vault without having to specify version
Environment summary
Linux: ubuntu 18.04
Create virtual environment for Python :pythonenv
Python version : 3.6.9
azure cli : 2.8
Pip3 : 20.1.1
Installed openssl : 1.1.1
Windows : 10
Additional context
i will download azure key vault ssl certifate to pkcs12 format (.pfx) file.

Python SDK issue

Hi Yonzhan,
I have already included "azure-keyvault-certificates 4.1.0" using pip install azure-keyvault-certificates.
could you please share more details?

@yungezz can help you with it.

@bim-msft: could you please update the status of the above issue? it would be helping me.

Hi @prakashb83 this seems to be an error on Python SDK side, please create an issue here: https://github.com/Azure/azure-sdk-for-python/issues
Based on my knowledge, this library (azure-keyvault-certificates==4.1.0) is a new one with many breaking changes. Azure CLI uses azure-keyvault==1.1.0 to handle certificates, you may try this one for a quick solution.

Hi @bim-msft : thanks for your updates. I will create an issue here: https://github.com/Azure/azure-sdk-for-python/issues.
I tried with Azure CLI to use azure-keyvault==1.1.0 but facing the same issue.

hi @prakashb83 could you pls share the azure cli commands you're using? From description, it's a python sdk issue.

hi @prakashb83 could you pls share azure cli commands you're using if you met same issue when using cli? thanks.

Hi @prakashb83 please try upgrade your CLI to latest (2.11.0 or later). It might work. If it still doesn't work, please let me know, thanks!

hi @prakashb83 will close the issue for now given less information for investigation. and issue is tracked at sdk side. Feel free to create new issue if any other ask. thanks!


No conda taxcalc package available for Tax-Calculator release 0.9.0?

TaxBrain is running the 0.9.0 release, but here is what I get on my (Mac) computer:
$ conda search -c ospc taxcalc
Fetching package metadata ...........
taxcalc                      0.1                  np19py33_0  ospc
                             0.2                  np19py27_0  ospc
                             0.2                  np19py33_0  ospc
                             0.2                  np19py34_0  ospc
[snip]
                             0.8.3               np111py27_0  ospc
                             0.8.3               np111py34_0  ospc
                             0.8.3               np111py35_0  ospc
                             0.8.4                    py27_0  ospc
                             0.8.4                    py35_0  ospc
                             0.8.4                    py36_0  ospc
$

How do I install the conda taxcalc package for 0.9.0?
@MattHJensen @PeterDSteinberg @brittainhard @GoFroggyRun

The fifteen taxcalc 0.9.0 packages on the dev channel have been moved to the main ospc channel, so webapp-public issue #573 has been resolved.


[ENH] - Expose configuration to specify existing VPC (without subnets)

Feature description
Expose option to specify just the vpc to deploy Nebari into and additional configuration to specify deploying in private network.
Value and/or benefit
There is an option to specify subnets in a VPC to deploy Nebari, but sometimes, people already have a vpc they would like to deploy Nebari into, it would be great to specify an option to deploy Nebari into.
Anything else?
No response

@viniciusdc This needs to be done on Azure on priority, we can handle other clouds after that.

@aktech this is not required anymore correct?

Correct, not required.


[HOW-TO] force h264 encoding to include b frames?

Using picamera2, I am manually sending an h264 stream in ~200 byte chunks and reconstructing / displaying the stream.
I have things nominally working, but since there is inherently packet loss as part of my application, it would work a lot better if the encoded h264 could include B-Frames.
@davidplowman is it possible to specify b frames to the v4l2 encoder? Maybe by setting something similar to V4L2_CID_MPEG_VIDEOENC_NUM_BFRAMES?
For demo purposes, below is the video and encoder configs I've been using to baseline:
video_config = picam2.create_video_configuration(
    raw=None,
    lores=None,
    main={"size": (320,240), 'format': 'YUV420'},
    buffer_count=8,
    encode="main",
    )
picam2.configure(video_config)
encoder = H264Encoder(bitrate=62000,framerate=25.0,iperiod=5,enable_sps_framerate=True,repeat=True)

And to observe the frame types, I've been using ffprobe -show_frames -i test.h264 | grep "pict_type" on a picamera2 output file.
Any insight would be much appreciated! Thanks :)

I'm afraid the hardware encoder block on the Pi (Pi 4 and earlier models) simply does not support B frames, so it can't be done.
If you're encoding small frames, and are using maybe a Pi 4, you do encode in software using libav (ffmpeg) which would obviously make it possible (at the expense of CPU load).

Makes sense. Thank you!


fix: TypeScript for CustomLevels on parent pino instance

CustomLevels from pino parent instance should be passed through TypeScript variables.
Fixes #317

alternative approach, ptal: https://github.com/pinojs/pino-http/pull/319


cadl, keep updated with cadl-ranch updates

Share from Laurent: https://teams.microsoft.com/l/message/19:16f8f1ed70d044139be153707bdaee0e@thread.skype/1670954749275?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&parentMessageId=1670954749275&teamName=Azure SDK&channelName=Cadl Engineering&createdTime=1670954749275&allowXTenantAccess=false
Cadl Ranch was updated to use a storage account in the prod subscription this means you need to update your pipeline step to upload to teh right place

Update the service connnection to use "Cadl Ranch Storage"
azureSubscription: "Cadl Ranch Storage"
Update the storageAccountName flag to --storageAccountName azuresdkcadlranch

https://github.com/Azure/autorest.java/issues/2057


Use with eslint-plugin-graphql. Option for disable watchman + linting

I'm using this plugin with https://github.com/apollographql/eslint-plugin-graphql
Both plugins do linting, and we see duplicate error messages, details here:
https://github.com/apollographql/eslint-plugin-graphql/issues/68#issuecomment-304588901
Am I right that watchman is notifying "graphql-for-vscode" to start linting?
It would be great to add option for disabling this plugin linting (and watchman if it is used only for linting) and use only "eslint-plugin-graphql":
"graphqlForVSCode.eslintEnable": true

@alexicum - thank you for the report. The linting is managed by the gql library which is based off watchman. I'll look into it.

@kumarharsh - thank you!

It's better we add new validation mode 'onType' which can be changed using option
graphqlForVSCode.validate: onType | onSave


Added _.concat/Array.prototype.concat

More for completeness than anything else, given the lodash version just wraps native for chaining purposes anyway.

:+1:


Support PyPy?

Using PyPy 5.3.1:
> pyperf timeit ""
Traceback (most recent call last):
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/_timeit.py", line 71, in main
    runner.bench_sample_func(sample_func, timer)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 719, in bench_sample_func
    return self._main(wrap_sample_func)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 696, in _main
    return self._worker(bench, sample_func)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 634, in _worker
    raw_sample = sample_func(loops)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 717, in wrap_sample_func
    return sample_func(loops, *args)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/_timeit.py", line 55, in sample_func
    return timer.inner(it, timer.timer)
AttributeError: Timer instance has no attribute 'inner'
Traceback (most recent call last):
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/_timeit.py", line 71, in main
    runner.bench_sample_func(sample_func, timer)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 719, in bench_sample_func
    return self._main(wrap_sample_func)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 698, in _main
    return self._spawn_workers(bench)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 830, in _spawn_workers
    run_suite = self._spawn_worker()
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 783, in _spawn_worker
    return _bench_suite_from_subprocess(cmd)
  File "/home/tin/pg/attrs/.venv-pypy/site-packages/perf/text_runner.py", line 46, in _bench_suite_from_subprocess
    % (args[0], proc.returncode))
RuntimeError: /home/tin/pg/attrs/.venv-pypy/bin/pypy failed with exit code 1

Can anything be done?

Ah, it looks like timeit.Timer.inner() doesn't exist on PyPy. It shouldn't
be hard to support PyPy in perf.timeit.

perf 0.7.4 (released at 2018-08-18) added PyPy support. PyPy is now tested by tox and Travis.
Thanks for your bug report!

Awesome!


Update Casecmp comment to reflect zero retval check.

The code to implement this zero check was updated in #2617, but the comment wasn't updated.

Just drop the . from the commit's title and we're good to go.

Done via a force push.


✨[Feature Request]: Enhancement of UI:  and responsiveness of navbar | contact form input boxes alignment and size fix | footer form alignment | Patient portal input boxes improvement

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The following enhancement needs to be done:

Adding Navbar Dropdown
Responsiveness of navbar
Fixing Contact form input boxes alignment and size
Fixing footer form alignment
UI of Patient portal input boxes

Use Case
It will enhance the user experience
the navbar is too congested
Adding a dropdown will make the website neat
Proper input boxes will enable the user to fill in the information properly
Benefits
It will improve the front end of the project and will enable the users to have a better experience visiting the website.
The website will have a modern UI which will enhance the user experience
Good contact form will invite kore feedbacks and visitors to the website
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign me the issue as I would like to work on it

assigning

Thank you for assigning the issue

hey, just wanted to know if the issue is still open as i wanted to contribute .


Update overview-of-icp.mdx

Thank you for your contribution to the IC Developer Portal. This repo contains the content for https://internetcomputer.org and the ICP Developer Documentation, https://internetcomputer.org/docs/.
If you are submitting a Pull Request for adding or changing content on the ICP Developer Documentation, please make sure that your contribution meets the following requirements:

[x] Follows the developer docs style guide.
[x] Follows the best practices and guidelines.
[x] New documentation pages include document tags.
[ ] New documentation pages include SEO keywords.
[ ] New documents are in the .mdx file format to support the previous two components.
[ ] New documents are registered in /sidebars.js, otherwise, it will not appear in the
side navigation bar.
[x] Make sure that the .github/CODEOWNERS file is
filled with new documents that you added. This way we can ensure that future Pull Requests are reviewed by the right people.

Dear @Ehhamid611,
In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA.
If you decide to agree with it, please visit this issue and read the instructions there. Once you have signed it, re-trigger the workflow on this PR to see if your code can be merged.
— The DFINITY Foundation

Hi @Ehhamid611 , this change to the page's frontmatter format is unnecessary. Please refer to this documentation for reference: https://mdxjs.com/guides/frontmatter/


Feat/add r5 press release

@FriederikeZelke: Thie PR is based on your PRs #737 and #738.

It includes both de and en versions
It moves them to announcements (we have an own section)
I added a link to the release notes

My apologies for the garbled commit history. Seems my local git copy was outdated :-(
I merged all of this to staging, so a preview should show up on https://staging.scs.community/ in 10 minutes or so.


To that which came before

Short description of the issue
When it first loaded up, it credited the time I'd played on Binding of Isaac: Rebirth to the original Binding of Isaac instead.
Lauhdutin version
Lauhdutin v3.1.0 beta 4, release version.
Rainmeter version
Rainmeter v<IP_ADDRESS>21
Windows version
Win10, 64-bit.

Correction: I just looked at the play times in Steam, and Binding of Isaac's is correct, but Rebirth's is still off by ~780 hours.


feat(tutorial): complete step 1

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

No updates for 60 days. Closing.


Customise devtron-ci pods

Summary
Some of our micro services needs high CPU and Memory utilisation  while building images. so there would be feature from where we can customise the resource of CI pod.

I think that this functionality is already implemented. Maybe UX for doing such changes is not the best but it's working ;)
Take a look at https://github.com/devtron-labs/devtron/blob/main/manifests/updates/devtron-override-cm.yaml and follow docs at https://docs.devtron.ai/devtron/setup/install/override-default-devtron-installation-configs
Keep in mind that applying those changes takes time - follow progress by looking at logs of inception pod in devtroncd namespace.

This is already configurable as stated by @swoldanski in the comment above. However, if you need it configurable at app level, please raise a separate enhancement request for the same.


Publishing fails with SocketTimeOut

Describe the bug

We installed Verdaccio 3.0 via docker pull. And configured the storage path. Get request has been going well. The issue is with the PUT request while publishing through yarn. Put request for logging is a success but when it comes to package publish, the process fails.
To Reproduce
[FOE:shared] ~/test_registry> yarn publish --registry http://:4873 --verbose
yarn publish v1.22.5
verbose 0.208 Checking for configuration file "/home/foe/test_registry/.npmrc".
verbose 0.209 Checking for configuration file "/home/foe/.npmrc".
verbose 0.209 Found configuration file "/home/foe/.npmrc".
verbose 0.209 Checking for configuration file "/home/foe/.nvm/versions/node/v10.11.0/etc/npmrc".
verbose 0.209 Checking for configuration file "/home/foe/test_registry/.npmrc".
verbose 0.209 Checking for configuration file "/home/foe/.npmrc".
verbose 0.21 Found configuration file "/home/foe/.npmrc".
verbose 0.21 Checking for configuration file "/home/.npmrc".
verbose 0.211 Checking for configuration file "/home/foe/test_registry/.yarnrc".
verbose 0.212 Checking for configuration file "/home/foe/.yarnrc".
verbose 0.212 Found configuration file "/home/foe/.yarnrc".
verbose 0.212 Checking for configuration file "/home/foe/.nvm/versions/node/v10.11.0/etc/yarnrc".
verbose 0.212 Checking for configuration file "/home/foe/test_registry/.yarnrc".
verbose 0.212 Checking for configuration file "/home/foe/.yarnrc".
verbose 0.212 Found configuration file "/home/foe/.yarnrc".
verbose 0.213 Checking for configuration file "/home/.yarnrc".
verbose 0.215 current time: 2020-11-24T15:47:28.891Z
[1/4] Bumping version...
info Current version: 1.0.0
question New version:
[2/4] Logging in...
info npm username: foe
info npm email<EMAIL_ADDRESS>question npm password:
verbose 3.589 Performing "PUT" request to "http://:4873/-/user/org.couchdb.user:foe".
verbose 3.606 Request "http://:4873/-/user/org.couchdb.user:foe" finished with status code 201.
success Logged in.
[3/4] Publishing...
verbose 3.622 Performing "PUT" request to "http://:4873/test_registry".
verbose 33.633 Error: Couldn't publish package: "http://:4873/test_registry: ESOCKETTIMEDOUT"
at MessageError.ExtendableBuiltin (/usr/share/yarn/lib/cli.js:721:66)
at new MessageError (/usr/share/yarn/lib/cli.js:750:123)
at /usr/share/yarn/lib/cli.js:90467:13
at Generator.throw ()
at step (/usr/share/yarn/lib/cli.js:310:30)
at /usr/share/yarn/lib/cli.js:323:13
at process._tickCallback (internal/process/next_tick.js:68:7)
error Couldn't publish package: "http://:4873/test_registry: ESOCKETTIMEDOUT"
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
This is the Linux host with RHEL OS.
Expected behavior

Screenshots

Configuration File (cat ~/.config/verdaccio/config.yaml)
/verdaccio/conf $ cat config.yaml

This is the config file used for the docker images.
It allows all users to do anything, so don't use it on production systems.

Do not configure host and port under listen in this file
as it will be ignored when using docker.
see https://github.com/verdaccio/verdaccio/blob/master/wiki/docker.md#docker-and-custom-port-configuration

Look here for more config file examples:
https://github.com/verdaccio/verdaccio/tree/master/conf

path to a directory with all packages
storage: /verdaccio/storage
auth:
htpasswd:
file: /verdaccio/conf/htpasswd
# Maximum amount of users allowed to register, defaults to "+infinity".
# You can set this to -1 to disable registration.
#max_users: 1000
a list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@/':
# scoped packages
access: $all
publish: $authenticated
proxy: npmjs
'**':
# allow all users (including non-authenticated users) to read and
# publish all packages
#
# you can specify usernames/groupnames (depending on your auth plugin)
# and three keywords: "$all", "$anonymous", "$authenticated"
access: $all
# allow all known users to publish packages
# (anyone can register by default, remember?)
publish: $authenticated

# if package is not available locally, proxy requests to 'npmjs' registry
proxy: npmjs

To use npm audit uncomment the following section
middlewares:
audit:
enabled: true
log settings
logs:

{type: stdout, format: pretty, level: http}
#- {type: file, path: verdaccio.log, level: info}

Environment information

Debugging output

$ NODE_DEBUG=request verdaccio display request calls (verdaccio <--> uplinks)
$ DEBUG=express:* verdaccio enable extreme verdaccio debug mode (verdaccio api)
$ npm -ddd prints:
$ npm config get registry prints:

There no support for -> We installed Verdaccio 3.0 via docker pull.

Thanks, Which version will support then. We are migrating our servers. Our old system has 2.7.4 but when the node packages already present are configured with Verdaccio 4.0 with storage path, those are not visible on UI.

What is defined here. https://github.com/verdaccio/verdaccio/security/policy

but when the node packages already present are configured with Verdaccio 4.0 with storage path, those are not visible on UI.

There is info in the tickets, people got into the same issue, docker permissions issues.


Cf base page

Create base cf page
Create a new meta card component, based off of the application card, to be used in the cf-endpoint page and the application wall.
Added a new action to will allow you to create a new pagination section from another pagination section as a seed.
The list component will keep the seeded pagination section ids information up-to-date with the seed.

Ready to review, CC issues to be accepted later.


Can the digitonic1/php7.3-nginx image dockerfile be made public?

As the title suggests, I don't feel comfortable using an image without the dockerfile being public, and especially because it seems to do a lot under the hood.

Hi,
As the readme suggests we have build our images from the ContinuousPipe images as we maintain these in a much faster manor. You are free to continue using the ContinuousPipe images instead of the digitonic1 image. This was changed in V3 of Arc to give us more control.
The ContinuousPipe images can be found on Quay.io as seen here. https://quay.io/repository/continuouspipe/php7.3-nginx?tab=tags


Upgrade Container Insights Addon

Describe the feature
Either use https://github.com/aws-observability/aws-otel-helm-charts/tree/main/charts/adot-exporter-for-eks-on-ec2
or https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-EKS-otel.html to upgrade.
The CloudWatchMonitoringConstruct in the patterns should also be changed to show an example that only is using CloudWatch.
Use Case
Customer is using CloudWatch exclusively for monitoring and needs to get all the metrics.
Proposed Solution
Start with the helm chart and then deviate if it has an issue.
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request

CDK version used
2.79
EKS Blueprints Version
No response
Node.js Version
18
Environment details (OS name and version, etc.)
Linux

This is blocked with an issue in ADOT-FOR-EC2 Helm chart. https://github.com/aws-observability/aws-otel-helm-charts/issues/99

#704 Implemented


fuzzing test with Echidna

Also look into Consensys Diligence Scribble & Fuzzing

@KelvinThai I am closing this one :)


Add User Signup/Creation functionality

As a user I would, I want to be able to create a user profile.
Description
When the user enters the command to create a user profile
Then  the user information is encrypted and stored in the DB
Feature Task

[ ] Write test cases for expected results
[ ] Post route for profile creation

Acceptance Tests

[ ] Passes test cases
[ ] The user profile is stored in the DB

initial user schema:

{
  _id: 1,
  user<EMAIL_ADDRESS>  journalIds: [ ]
}


Adding new address (and probably other relation pages) replaces entire array instead of adding one element

When you press "ADD ADDRESS" button the patch that comes replaces entire array, what causes blinking, and performance overhead for re-stamping and re-rendering all (nested) partials
{
    "op": "replace",
    "path": "/CurrentPage/People/Addresses",
    "value": [{
        "People": {
            "Html": "/People/viewmodels/AddressRelationPage.html",
            "Delete$": 0,
            "AddressRelationTypes": [{
                "Name": "Home"
            }, {
                "Name": "Work"
            }],
            "TypeIndex$": 0,
            "Address": {
                "People": {
                    "Html": "/People/viewmodels/AddressPage.html",
                    "Country$": "",
                    "City$": "",
                    "Street$": "",
                    "House$": "",
                    "PostalCode$": ""
                }
            }
        }
    }, {
        "People": {
            "Html": "/People/viewmodels/AddressRelationPage.html",
            "Delete$": 0,
            "AddressRelationTypes": [{
                "Name": "Home"
            }, {
                "Name": "Work"
            }],
            "TypeIndex$": 0,
            "Address": {
                "People": {
                    "Html": "/People/viewmodels/AddressPage.html",
                    "Country$": "",
                    "City$": "",
                    "Street$": "",
                    "House$": "",
                    "PostalCode$": ""
                }
            }
        }
    }]
}

It should be just
{
    "op": "add",
    "path": "/CurrentPage/People/Addresses/-", // or "/CurrentPage/People/Addresses/2"
    "value": {
        "People": {
            "Html": "/People/viewmodels/AddressRelationPage.html",
            "Delete$": 0,
            "AddressRelationTypes": [{
                "Name": "Home"
            }, {
                "Name": "Work"
            }],
            "TypeIndex$": 0,
            "Address": {
                "People": {
                    "Html": "/People/viewmodels/AddressPage.html",
                    "Country$": "",
                    "City$": "",
                    "Street$": "",
                    "House$": "",
                    "PostalCode$": ""
                }
            }
        }
    }
}

I think this is fixable using the Json .Add() method, as used in KitchenSink BreadcrumbPage.
@threezool could you please take it?

@un-tone could you please take it?

Created PR https://github.com/StarcounterSamples/People/pull/70

Closing as done


SSH Server will not start

Continuing the discussion from Ssh server connection refused with authorized_keys set:
Hass.io 0.99.3
Hass.io Core Add-on: SSH server 6.4
Docker install on Ubuntu server
The SSH server will not start. I have custom keys installed, an they worked on previous install.
I have tried to uninstall the add-on, and setting config to default.
The Add-on will not start...

Please disregard as I found the issue is related to using port 22 on both Ubuntu and inside Docker/Home assistant was the case.


Add command line options to scheduled task?

I'm probably missing something obvious, but I've spent a lot of time searching documentation and googling....
My certificate renewals work from the command line (when I use "--validationmode tls-alpn-01" but it does not work from the scheduled task because it uses http authorization.   Is there a way to add a command line option (like --validationmode) to the scheduled task execution?

Yes.  Find the scheduled task in task manager.  The place you want is in somthing like actions.

Though if the program is allowed to refresh the scheduled task it will wipe that out.

Thanks for the quick reply!   But I must still be missing something.   wacs says that task is is scheduled and looks healthy.  But I can't find it.   I looked under "Task Manager" (is that what you mean?) as well as "Task Scheduler."   Under "Task Scheduler" the only subheading under "Task LIbrary" is "MIcrosoft" and it doesn't look like it's under there.
I tried running "(Re)create scheduled task."   It said "Scheduled task looks healthy" but I went ahead and replaced it - still can't find it.

Should the ability to add options like this in the config file be a feature request?  It seems like it might be common need, and would be simpler/cleaner than having to go to the Task Scheduler.  (Not to mention that it would eliminate the problem with the options getting wipe out by a refresh)

For me it is named "win-acme renew (acme-v02.api.letsencrypt.org)" and is directly under Task Scheduler Library.
Definitely under Task Scheduler.  Not Manager.

You generally shouldn't add parameters to the scheduled task. 99% of them don't work in combination with --renew and providing invalid ones breaks the process. If you want to change to a different validation method you have to recreate your renewal.