Fix and simplify reverts of forwarding state

Description

closes: #6558

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

Just wanted to also say that this change is great! Moving it to a separate file and making the logic much more readable

Nice work with this refactoring, @srdtrk! I left a few suggestions and one thing that I think would be good to is on naming of the packets that are received and sent in the middle hop. I think at the moment we use both prevPacket and forwardedPacket for the packet that is received in the middle hop, but sometimes I think we also use forwarded packet for the packet that is sent? I think we are also not very consistent with that naming in the spec either, so would be good to agree on the terminology... What about simply prevPacketor recvPacket for the packet received and nextPacket or sentPacket for the packet sent?

I agree more consistent naming would be great, and I tried to improve this in this PR with the use of prevPacket and failedPacket, however, I'm still not very happy with it. I still don't like all the other suggested names since they are all very easy to misinterpret at different points in the packet life cycle. Maybe we should create a new issue about this?

I agree more consistent naming would be great, and I tried to improve this in this PR with the use of prevPacket and failedPacket, however, I'm still not very happy with it. I still don't like all the other suggested names since they are all very easy to misinterpret at different points in the packet life cycle. Maybe we should create a new issue about this?

I would agree. There is also some talk about these names in the protocol PR. I think it would be better to get this code merged and clean up the names separately.


Fix attempt to subtract with overflow (#582)

Fixes #582
The test orphan_lines reproduces the panic. The test orphan_lines_message_above_progress_bar tries to ensure that messages are still printed correctly following the fix.
The proposed fix is to effectively ignore self.orphan_lines_count many lines from real_len when comparing real_len to the terminal height.
@oli-obk Would you be able to glance at this? :pray:

To whomever keeps approving the workflows: thank you. 🙏

We gotchu :)

@chris-laplante do you want to do a final review before (squash and) merge?
@smoelius thanks for your work in getting this right, and @oli-obk thanks for the reviews!


Calliope mini - Tab robot configuration CALLIOPEbasis loses name

Describe the bug

After adding Calli:bot, the tab loses the name "CALLIOPEbasis".

To Reproduce
Steps to reproduce the behavior:

Add Calli:bot to configuration
See error

Screencast
https://github.com/OpenRoberta/openroberta-lab/assets/19265064/2ff554c2-bfd9-4174-8a6c-67f81ccf5c9d
Device information

Type: Desktop
OS: Windows 10
Browser: Chrome

@AHberta this is intended (since a long time), because with the new callibot block the configuration is not the basic/default one anymore, but an unnamed one. This unnamed one will be stored automaticly with the program (when saving or exporting it) or you can give it a name by saving it especially.
Please read also https://jira.iais.fraunhofer.de/wiki/display/ORInfo/configuration


php wrong formatting for using namespace

Hi,
The formatter remove "use namespace".
It keeps the "use namespace" only if I use that namespace in code which is wrong, because the scope of "use namespace" is to call a class with short name (without the namespace).
So, you do not have to remove any use namespace because you do not know what classes are called with short name from namespace.
Ex: let's suppose we have a class MyClass defined in the namespace MyNamespace.
I can call the class in 2 ways:

using full namespace class name (in this case "use MyNamespace" is useless).

<?php
$c = new \MyNamespace\MyClass();
?>

using shortname:

<?php
use MyNamespace;
$c = new MyClass();
?>

In the case 2 the formatter remove use MyNamespace, which is wrong.
Thank you.

Please look at https://github.com/akalongman/sublimetext-codeformatter/issues/355#issuecomment-381722577


get app languages in collection api request

I don't know if this is of any use, and I admit not reading any contribution guide. I need this for myself, but in case this is useless for upstream, don't it can be ignored or declined...

@aheinze I will need this functionality soon. I can put this in an add-in, but don't you think it should be part of core?


change testnet IP

I started another cloud computer, and the old one will stop soon, so the IP of my node in testnet should be changed.

Duplicate


Azure OpenAI always returns: n.choices[0] is undefined error

Describe the bug
问题描述
Azure OpenAI always returns: n.choices[0] is undefined error as shown in the screenshot below.
To Reproduce
如何复现
Steps to reproduce the behavior:
Use ChatGPT (Azure) and send any prompt.
Expected behavior
期望行为
Response as normal.
Screenshots
截图说明

Please complete the following information):
请补全以下内容

OS: Ubuntu 22.04
Browser: Firefox v125.0.3
Extension Version: v2.5.4

Additional context
其他
I checked recent changes for Azure OpenAI. This PR may be related: https://github.com/josStorer/chatGPTBox/pull/684

Maybe the reason why is that the new API version responds empty choices[] first:
{
  "choices": [],
  "created": 0,
  "id": "",
  "model": "",
  "object": "",
  "prompt_filter_results": [
    {
      "prompt_index": 0,
      "content_filter_results": {
        "hate": {
          "filtered": false,
          "severity": "safe"
        },
        "self_harm": {
          "filtered": false,
          "severity": "safe"
        },
        "sexual": {
          "filtered": false,
          "severity": "safe"
        },
        "violence": {
          "filtered": false,
          "severity": "safe"
        }
      }
    }
  ]
}


FINOS FO badge updated to SIG

Build failed because of:
Cannot read property 'category' of null

Build failed because of:
Membership category "FINOS Members" does not have corresponding category in landscape.yml


Unable to access staging server for translations

When we try to access translation files on staging, we are getting an error message. In Chrome, it says: "The website may be down, or your network may not be properly configured."
Here are links to two that are not working (but I've tried several and none are working):
http://cc0-sv-legalcode.legal.creativecommons.org/publicdomain/zero/1.0/legalcode.sv
http://cc4-sv-legalcode.legal.creativecommons.org/licenses/by-nc/4.0/legalcode.sv
Can you help? Thanks!

This is fixed :)

Ack, the problem seems to be happening again today. (Though I was able to access them at the end of last week!)

Okay, actually fixed now.

Thanks, Matt!
Diane M. Peters
General Counsel, Creative Commons
Portland, Oregon
http://creativecommons.org/staff#dianepeters
13:00-21:00 UTC
On Mon, Feb 22, 2016 at 2:24 PM, Matt Lee<EMAIL_ADDRESS>wrote:

Okay, actually fixed now.
—
Reply to this email directly or view it on GitHub
https://github.com/creativecommons/creativecommons.org/issues/232#issuecomment-187415993
.


Example Primer Development Workflow

Getting the ball rolling on implementing an example primer workflow that satisfies the following in order to generate a large number of DNA primers:

[x] consistent GC content
[x] roughly the same melting temperature
[ ] don't dimerize with themselves or other primers in the set
[x] no shared subsequences >4bp with any other primer in the set
[ ] does not bind to any DNA sequences from a reference (e.g. FreeGenes library and the genomes of E.coli, B.subtilis, S.cerevisiae, and P.pastoris)

I'm not sure what the condition for no dimerization ought to be; if it is that no two sequences are reverse complements of each other, then this condition is satisfied by the "no shared subsequences >4bp"

regarding: Doesn't Bind to Reference Sequences
hopefully is straightforward iteration over the genomes, but there's definitely room for a better(=faster) method since iterating over multiple Mbp genomes could easily add up to take a while

Thanks for getting the ball rolling @codercahol!
@eyesmo since you requested this can you help review it?

Excellent. Preliminary thoughts:
1.


Add new package Microsoft.AzureAztfy

[ ] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree [company="{Bliss Systems}"]

@microsoft-github-policy-service agree company="Bliss Systems"


How to close connection?

Can pixie close a connection? It's not in the documentation..

There's no simple way to do this in PDO. Documentation suggests:

To close the connection, you need to destroy the object by ensuring that all remaining references to it are deleted—you do this by assigning null to the variable that holds the object.

Note: If there are still other references to this PDO instance (such as from a PDOStatement instance, or from other variables referencing the same PDO instance), these have to be removed also (for instance, by assigning null to the variable that references the PDOStatement).

I didn't manage to do this, so I destroy this connection from mysql itself.
public function close()
{
	// this line does the job
	try { $this->pdo->query('KILL CONNECTION_ID()'); } catch (\PDOException $e) {}
	// this should close the connection, but doesn't.
	return $this->pdo = $this->connection = $this->container = $this->pdoStatement = null;
}

try/catch to dismiss Fatal error: 1317 Query execution was interrupted
May be someone can do it correctly with nulls to make it more cleaner.
But it tested and works with this mysql trick.

@usmanhalalit ?

any updates?


Akka actor research

[ ] Find out how akka spawns threads on incoming messages / actor initialization.
[ ] Find out if an actor receives exactly one message per actor => akka handles thread synchronization?

http://doc.akka.io/docs/akka/2.3.11/general/actor-systems.html#actor-systems


ErrorException in Firebase.php line 28: This method is deprecated and will be removed in release 3.0 of this library. Use Firebase\Factory instead.

I get the error: ErrorException in Firebase.php line 28:
This method is deprecated and will be removed in release 3.0 of this library. Use Firebase\Factory instead.
in Firebase.php line 28
at HandleExceptions->handleError(16384, 'This method is deprecated and will be removed in release 3.0 of this library. Use Firebase\\Factory instead.', '/Users/name/proj/app/vendor/kreait/firebase-php/src/Firebase.php', 28, array('serviceAccount' => '/Users/name/proj/app/google-service-account.json', 'databaseUri' => null))
at trigger_error('This method is deprecated and will be removed in release 3.0 of this library. Use Firebase\\Factory instead.', 16384) in Firebase.php line 28
at Firebase::fromServiceAccount('/Users/name/proj/app/google-service-account.json') in FirebaseServiceProvider.php line 27

I am using this with Laravel 5.4 like this:
use firebase;

$firebase = app('firebase');
     $database = $firebase->getDatabase();
     $newPost = $database
    ->getReference('...')
    ->push([
        'title' => 'Post title',
        'body' => 'This should probably be longer.',
    ]);

Also used this: https://github.com/kreait/firebase-php/issues/61
And the service provider doesnt seem to work

Let's continue the discussion in #61 then :)

@jeromegamez Sure :)


[SPARK-28308][CORE] CalendarInterval sub-second part should be padded before parsing

What changes were proposed in this pull request?
The sub-second part of the interval should be padded before parsing. Currently, Spark gives a correct value only when there is 9 digits below ..
spark-sql> select interval '0 0:0:0.123456789' day to second;
interval 123 milliseconds 456 microseconds

spark-sql> select interval '0 0:0:0.12345678' day to second;
interval 12 milliseconds 345 microseconds

spark-sql> select interval '0 0:0:0.1234' day to second;
interval 1 microseconds

How was this patch tested?
Pass the Jenkins with the fixed test cases.

cc @gatorsmile and @cloud-fan since this is a kind of correctness issue.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12513/
Test PASSed.

Test build #107375 has started for PR 25079 at commit 3669a51.

Test build #107375 has finished for PR 25079 at commit 3669a51.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107375/
Test PASSed.

Could you review this correctness bug, @HyukjinKwon ?

Thank you so much for review and approval, @HyukjinKwon !
Merged to master/2.4/2.3.


Transform normals with inverse transpose

Should this here: https://github.com/ingowald/pbrt-parser/blob/master/pbrtParser/impl/semantic/Geometry.cpp#L97 say xfmNormal() instead of xfmVector()? (I'm not a 100% sure, I just stumbled upon it while inspecting the code and haven't verified it.)

good catch! Probably never seen any artifacts because none of my models have any non-uniform scales (in which case xfmNormal and xfmVector will be the same) ... but you're certainly right!

fixed. Thank you!


invite select people in private channel

Hi, I would like to be able to invite a subgroup of people only from a team into a private channel. I this functionality in the works?

@reharta
thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Axis animation broken

The animation on the axis line of y=0 is not animated, it is jumping to the new position

To reproduce:
from bqplot import *

import numpy as np
import pandas as pd

n = 100

x = list(range(n))
y = np.cumsum(np.random.randn(n))

sc_x = LinearScale()
sc_y = LinearScale()

bars = Bars(
    x=x, y=y,
    scales={'x': sc_x, 'y': sc_y}
)
ax_x = Axis(scale=sc_x, label='Index')
ax_y = Axis(scale=sc_y, orientation='vertical', label='bars')

Figure(marks=[bars], axes=[ax_x, ax_y], title='Bars', animation_duration=1000)

Then run in a separate cell:
bars.y = np.cumsum(np.random.randn(n))

@martinRenou looks like an issue in the Bars rendering (not Axis). We need to add animation in drawZeroLine method


ios compatibility ios 8

hi,
could you please make it cimpatible with ios 8 too ?

sorry, dont have much time to work on this currently. pull requests welcome :)


Add a "Close form" button to the form details page

It should be red, and alter the is_open column of that form in the database. We'll use this to prevent future responses.

lgtm


anchor test doesn't show build errors correctly

for example
    #[account(
    init,
    seeds = [PURCHASE_CONFIRMATION_SEED.as_bytes(), id.as_bytes()],
    bump = bump
    payer = user,
    )]

so this obviously lacks the ,, but I'd expect something more informative after running anchor test than
thread 'main' panicked at 'Code not parseable: Error("expected `,`")', lang/syn/src/idl/file.rs:337:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

anchor build correctly shows this
error: expected `,`
  --> programs/example/src/structs/payment.rs:26:5
   |
26 |     payer = user,
   |     ^^^^^

Not a problem anymore because build step happens before the IDL generation step which shows the same compile error for both anchor build and anchor test.


Feature/memoize optimisations

Went from this:

To this:

59.8ms -> 2.1ms (28x improvement) of render method when clicking a day on the calendar


Drawer only opening once when outsourced to component

Describe the bug
The Drawer Component does not work as expected when exported as an component.
As you will see in the REPL, the 'Drawer' opens and closes as expected, but when reopening the 'Drawer' a second time it will not open anymore.
Not sure if its a fault of me missing something..
Thanks in advance!
Reproduction
https://svelte.dev/repl/9d23c1c5253148328c125d17e62e186d?version=3.55.1
Flowbite version and System Info
System:
    OS: macOS 13.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 331.44 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.4.0 - /opt/homebrew/bin/node
    npm: 9.2.0 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 109.0.5414.87
    Safari: 16.2
  npmPackages:
    @sveltejs/kit: ^1.0.0 => 1.1.1
    flowbite-svelte: ^0.29.10 => 0.29.10
    svelte: ^3.54.0 => 3.55.1
    vite: ^4.0.0 => 4.0.4

You are not changing the state of hidden4. Try this:
<script>
    import { Button, CloseButton, Drawer, Input, Label } from "flowbite-svelte";
    import DrawerComponent from "./DrawerComponent.svelte";
    let hidden4 = true
$: 	console.log('app: ', hidden4)
</script>

<div class="text-center">
    <Button on:click={() => (hidden4 = !hidden4)}>Show drawer form</Button>
 </div>

<DrawerComponent drawerHidden={hidden4} />

Thanks for the fast response,
but this only fixed the problem partially as you can see with the code you provided:
https://svelte.dev/repl/5fffa7913e5e47ce899c93c3fb80cfa5?version=3.55.1
When now opening the drawer, and closing it via the 'X' in the drawer and clicking again 'Show drawer form' it will only show in the second click..
I expect it to open when clicking the 'Show drawer form', getting closed via the 'X' and being able to get reopened again on the first click.

You need to bind hidden4 in the parent:
<DrawerComponent bind:drawerHidden={hidden4} />

Svelte REPL is not working for me right now. I am gonna try it later tho, thx!

Thank you for your contribution! We are closing this issue for now due to inactivity. If you encounter any other problems in the future, please feel free to open a new issue. We appreciate your help in making our project better!


debug test is failing with message flag needs an argument: -test.run

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

VS Code Version:
Version: 1.76.2
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:54:09.061Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.3.0
Sandboxed: No

OS Version: Mac OS 13.2.1

Steps to Reproduce:

Install VSCode and install delve for debugging
Add couple of breakpoints and start the TCs to debug

flag needs an argument: -test.run
Usage of /Users/swathins/Project/src/github.com/vmware/load-balancer-and-ingress-services-for-kubernetes/tests/ingresstests/debug.test:
  -alsologtostderr
    	log to standard error as well as files
  -log_backtrace_at value
    	when logging hits line file:N, emit a stack trace
  -log_dir string
    	If non-empty, write log files in this directory
  -logtostderr
    	log to standard error instead of files
  -stderrthreshold value
    	logs at or above this threshold go to stderr
  -test.bench regexp
    	run only benchmarks matching regexp
  -test.benchmem
    	print memory allocations for benchmarks
  -test.benchtime d
    	run each benchmark for duration d (default 1s)
  -test.blockprofile file
    	write a goroutine blocking profile to file
  -test.blockprofilerate rate
    	set blocking profile rate (see runtime.SetBlockProfileRate) (default 1)
  -test.count n
    	run tests and benchmarks n times (default 1)
  -test.coverprofile file
    	write a coverage profile to file
  -test.cpu list
    	comma-separated list of cpu counts to run each test with
  -test.cpuprofile file
    	write a cpu profile to file
  -test.failfast
    	do not start new tests after the first test failure
  -test.fuzz regexp
    	run the fuzz test matching regexp
  -test.fuzzcachedir string
    	directory where interesting fuzzing inputs are stored (for use only by cmd/go)
  -test.fuzzminimizetime value
    	time to spend minimizing a value after finding a failing input (default 1m0s)
  -test.fuzztime value
    	time to spend fuzzing; default is to run indefinitely
  -test.fuzzworker
    	coordinate with the parent process to fuzz random values (for use only by cmd/go)
  -test.gocoverdir string
    	write coverage intermediate files to this directory
  -test.list regexp
    	list tests, examples, and benchmarks matching regexp then exit
  -test.memprofile file
    	write an allocation profile to file
  -test.memprofilerate rate
    	set memory allocation profiling rate (see runtime.MemProfileRate)
  -test.mutexprofile string
    	write a mutex contention profile to the named file after execution
  -test.mutexprofilefraction int
    	if >= 0, calls runtime.SetMutexProfileFraction() (default 1)
  -test.outputdir dir
    	write profiles to dir
  -test.paniconexit0
    	panic on call to os.Exit(0)
  -test.parallel n
    	run at most n tests in parallel (default 12)
  -test.run regexp
    	run only tests and examples matching regexp
  -test.short
    	run smaller test suite to save time
  -test.shuffle string
    	randomize the execution order of tests and benchmarks (default "off")
  -test.skip regexp
    	do not list or run tests matching regexp
  -test.testlogfile file
    	write test action log to file (for use only by cmd/go)
  -test.timeout d
    	panic test binary after duration d (default 0, timeout disabled)
  -test.trace file
    	write an execution trace to file

Any help would be appreciated.
Thanks!
PS: I am not seeing this issue in Linux environments

Sorry this sounds like an issue with your configuration/project. Please give more details if you think that vscode is doing the wrong thing here.


No need for special environment variables on Linux

Removing the definition of MONO29679 and ReferenceAssemlyRoot on Linux does not seem to be detrimental to the compilation process and they are not used in CoreCLR neither.

Hi @manu-silicon, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

This is workaround for Mono bug: https://github.com/Microsoft/msbuild/pull/92 . It can be removed only if we start requiring Mono with this fix for building...

I saw this issue but I was surprised to see that CoreCLR did not have a special case and when I removed it, my build worked. I only used the instructions from CoreRT to get mono on my fresh Ubuntu 14.04 install.

Are the failures on Ubuntu in the CI caused by the removal of the environment variables?

I was surprised to see that CoreCLR did not have a special case

CoreCLR managed build is very simple compared to CoreFx/CoreRT.

Are the failures on Ubuntu in the CI caused by the removal of the environment variables?

Very likely. I have not see failure like this before.

Closing since it is still needed when not using the very latest version of Mono.


Create Your Own YouTube Short About Resolving DIDs

Create Your Own YouTube Short About Resolving DIDs
🚀 Goal
We want you to share and teach others what you learned about resolving decentralized identifiers (DIDs)with us in your own YouTube short.
🤔 Background
This issue focuses specifically on creating your own YouTube short to teach others about DIDs. Your contribution here will help developers learn about this topic!
🤝 How You Can Contribute
We've broken it down into smaller tasks. Every contribution counts!
🔑 Tasks and Acceptance Criteria
❗You must only assign yourself one task at a time to give everyone a chance to participate.❗
You may assign yourself your next task after your current task is reviewed & accepted.

[ ] You must host your content on your own website or channel.
[ ] Add your content information directly to the site/src/externalContributors.json file in the repository.
[ ] Save your image in the site/static/image/external-contributor/ directory, ensuring the image is in a 16:9 ratio.
[ ] Create a pull request with your changes for review.
[ ] Link your submitted PR in a comment here to count towards Hacktoberfest.

Your contribution in externalContributors.json must include:

[ ] Type: Video, Blog, Social (please choose the appropriate one)
[ ] Thumbnail: the path to your image, e.g., /img/external-contributor/yourimage.png
[ ] Title: the title of your content
[ ] Link: a direct link to your content
[ ] Your name

Here’s an example of the JSON format to follow:
[
    {
        "type": "blog",
        "thumbnail": "/img/external-contributor/yourimage.png",
        "title": "Exploring Web5",
        "link": "https://linktoyourcontent.com/web5-post",
        "contributor": "Your Name"
    }
]

Available type options:

Video
Blog
Social

🌟 Resources

[ ] Resolving DIDs Guide
[ ] Our Blogs
[ ] Our YouTube channel

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch for this task
Follow the tasks outlined above
Submit a pull request with your changes
Respond to any feedback during the review process

Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

.take


Document socket options in Wiki

See https://github.com/mp911de/lettuce/wiki/Client-options.

Done.


Problem with tests

I tried to run py.test -v from the plugins/lemur_entrust directory and get the following message:
$ py.test -v
ImportError while loading conftest '/opt/lemur/lemur/plugins/lemur_entrust/tests/conftest.py'.
tests/conftest.py:1: in
from lemur.tests.conftest import *  # noqa
../../tests/conftest.py:23: in
from .factories import (
../../tests/factories.py:3: in
from factory import Sequence, post_generation, SubFactory
E   ModuleNotFoundError: No module named 'factory'
I have no experience with pytest. Can anyone help?

found it :
missed pip install factory_boy

in addition to pytest -v lemur/plugins/lemur_entrust/tests/test_entrust.py::test_process_options, using the debug mode in Pycharm is nice for developing and debugging tests


"go-endpoints" is not referenced in AppEngine online docs. Is it alpha? beta? neither?

I have been trying to us golang for as much GAE code as I can. But the online docs for AppEngine golang doesn't list "Google Cloud Endpoints" as a service like it does for Java and Python.
Why is this? What is the official status/roadmap for golang support of endpoints?

I would also love to know this.  Currently using Python Endpoints, but would be great to try out Endpoints written in Go in production (or know if/when this will ever be possible).

Okay...I think the sound of crickets makes it official. Go-endpoints is not a serious choice. Bummer.

I believe @campoy has been maintaining this library recently.
I don't know whether the code is suitable for production use — it may be, but I think you should consider the package's interface/API experimental (i.e., may change at any time).

Thanks @broady.
@campoy - Can you provide any insight into the status and roadmap of go-endpoints?

I've only had limited involvement with endpoints so far, so I don't have a great idea about what the status is.

I would like to get official support  for go-endpoints as the Go implementation of Cloud Endpoints.
In the meanwhile I'll keep on maintaining the library with others and add features as they are requested.
The interface should not change much now that we migrated to the new context.Context, but there's a possibility that future changes will impact it (therefore no real guarantee)

@campoy - Any updates on the status of go-endpoints? What has to happen before it is considered by Google to be the supported (at least beta) method for implementing the endpoints API using Golang?

@campoy - I am building stuff using Go Endpoints. Can you please confirm it's chances of getting official else i would move to python.

@nipun0212 @dknesek we can't talk about any future product plans.
Needless to say, though, @campoy is only working on go-endpoints in his spare time. This isn't enough to constitute official support.

We need some efforts to keep this project usable. Nobody is even currently accepting PRs, making this outdated.


Account icon in logged in state: tooltip wrog

Reproduce:

Log in
Mouse over account icon to trigger tooltip

Issue:  Tooltip reads "Sign in" (which it does in not logged in state). This doesn't apply here as the user is logged in already.

Issue remains for poster v2.1.


Check Existence Memory Leak

So far, many programmer use still objective-c.
need a implement to support for objective-c.

Have no factor cause memory leak.


fix(*): ensure JS files use CSS files

Does this solve the variable styling issue?

Does this solve the variable styling issue?

Yes!


Eye comfort mode

Hi Merdok,
I was wondering if you've found an api command to enable.disable eye comfort mode. I could not find it myself.
On my device it can be found under display settings and a remote button sequence should allow setting it on demand, but hopefully an api command exists.
Roy

There is no api, at least i did not find anything. The best solution for now is like you said to use a sequence.

Thanks!


"Data Ping" every 24h - Link to download should be checked/updated on a regular basis

The information and the download is just updated once when a dataset is beeing created. It fetched the file size, format and availability.
In my opinion this should take place at least once every 24h or so in order to:

show the correct file size
alert users if the resource is broken/missing
this would protect liquidity providers against bad actors that remove their data from their hosting platform
this would protect liquidity providers against technical problems that just might happen
this could inform data providers if there are any problems with their offered date to communicate fixes

Example: This file has been update several times and it now much bigger as the dataset grows. This outdated size information irritates users and buyers and might negatively affect the asset.
I would call this feature the "Data Ping" and it might be indicated by a red or green dot next to the file Icon with a timestamp for the last successful / unsuccessful ping.
Maybe it would just be enough if the data owner could trigger such a ping manually.

in order to update this information, metadata needs to be updated. But only the publisher can do this, because he is the only one who can trigger an update on the chain

Okay, thanks for the quick reply. Could the provider then manually trigger such a ping in theory?

yes, but the provider is not able to update the metadata.  So it has to be something like:

Publisher triggers provider update
Provider returns new size to the publisher
Publisher is updating the metadata by generating a new transaction on-chain

I see. I confused provider with publisher as well. I think the publisher / creator of the pool could be the one to trigger such an update, even if it might include gas fees. This could be a part of regular pool maintenance. The reward would be a signal that the pool is fresh / updated / valid.

agreed. we need a method in the libs first for this and only after that we can have in the mp.  I will take it further


Fix linux_common location due to #538 change

@adjackura This should fix test-grid issues.

/ok-to-test


Added Openshift link

Description
Added missing Openshift link
Todos

[X] Tests
[x] Documentation
[ ] Release note

Release Note
None required

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.tomas seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.tomas seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@ToroNZ Thank you! Sorry for the hassle with the squashing of the commits, looks like you've just opened a new PR, that works too. don't worry about the htmlproofer error here, that's on our end and I can override it, but we do need you to sign the CLA. Looks like you managed to sign it before but perhaps you used a different method for this PR? These instructions could be helpful https://help.github.com/articles/setting-your-commit-email-address-in-git/. Thanks!

No hassle, I'm just hopeless when it comes to Git.
This time I used my laptop and Git grabbed my local user (tomas), trying to find out now if I can change the author on this commit.

Hi @ToroNZ no worries, it happened to me as well one time. I think after you set your user name and email correctly as in previous link, you then would need to force push. The force push is OK because it is to your own fork. 😄
If I were you, assuming your fork is set as origin remote and Calico is set as upstream remote (you can check with git remote -v), I would do this:

Set your git email and user name in your command-line client. (link provided previously)
Do git reset --hard 4f0fabd3a75b8f52995359fa5011d76c2e4cfd37 (brings you back to your single original commit)
Then I would do git rebase upstream/master.
This should replay your single commit on top of the latest master.
After that, you should be able to do git push origin +master (a force push to your own fork, which I am assuming is origin)
this should result in a single commit and also I think GitHub will then be able to recognize you so you can sign the CLA.

If that's too much bother, perhaps you can just close this and open a new PR? 😄

@emanic Well, I learned something new today! Cheers for that, I think it worked.


Adding GlobalAvgPool1D, 2D, 3D Test

@rxwei yeah I will add tests for the rest of the global average pooling layers too, I was just checking if I had the idea of the input and output right.

@rxwei so the GlobalAveragePooling1D function is throwing an error because of the .reshaped(to: [input.shape[0], input.shape[2]] , it makes sense, since in the test I initialized let input = Tensor<Float>([[0, 1, 2, 3, 4], [10, 11, 12, 13, 14]]) whose shape is [2,5]. It doesnt have a shape[2]. How do we rewrite that?

@rxwei I think this can be merged now.

Thanks!


Add example of how to set size to stacked icons

Just adding a few lines to show how people can set size to a stacked icon

Ref #128

:beers:

:clap:


API usage by applications chart needs to be implemented

APIM Analytics 2.6.0 WUM updated distribution has a chart that will list down usage of APIs by applications. This chart is not implemented in 3.0.0.


Unspecific error when dependency resolution fails

[brandl]$ kscript /Users/brandl/projects/kotlin/kip/src/main/kotlin/de/mpicbg/scicomp/kip/examples/CodersExample.kts
[kscript] Resolving dependencies...Failed to lookup dependencies. Check dependency locators or file a bug on https://github.com/holgerbrandl/kscript
[brandl]$

Also redefining jcenter gives:
[ERROR] 'repositories.repository.id' must be unique: jcenter -> http://jcenter.bintray.com/ vs https://jcenter.bintray.com @ line 32, column 17


Skip operator_build role if no operator list is provided

This PR has:

[x] Appropriate testing (molecule, python unit tests)
[x] Appropriate documentation (README in the role, main README is up-to-date)

Keep in mind that this change will break the edpm_prepare. How are we gonna deal with the defaults of each step? If, for example, the operator_build gets skipped for whatever reason, are we gonna create default values in that step/playbook (here)ci_framework/playbooks/05-build-operators.yml or are we gonna let every user step (the edpm_prepare now) to deal with the defaults? Just asking to know how to approach the fix.

Keep in mind that this change will break the edpm_prepare. How are we gonna deal with the defaults of each step? If, for example, the operator_build gets skipped for whatever reason, are we gonna create default values in that step/playbook (here)ci_framework/playbooks/05-build-operators.yml or are we gonna let every user step (the edpm_prepare now) to deal with the defaults? Just asking to know how to approach the fix.

We'd need to ensure we get a sensible default set at some point in the future step supposed to consume the previous data.
For instance, we may do this:
- name: Set some needed facts if not set already
  when: cifmw_prepared_fact_from_last_step is not set
  ansible.builtin.set_fact:
    cifmw_prepared_fact_from_last_step: {}

Or we can use | default({}) for instance... @pablintino care to address this?

Keep in mind that this change will break the edpm_prepare. How are we gonna deal with the defaults of each step? If, for example, the operator_build gets skipped for whatever reason, are we gonna create default values in that step/playbook (here)ci_framework/playbooks/05-build-operators.yml or are we gonna let every user step (the edpm_prepare now) to deal with the defaults? Just asking to know how to approach the fix.

I think that we should consider the scenario where we just want to deploy everything consuming latest containers from default registry.

We may add a second end-to-end job in CI, like cifmw-e2e-nobuilds in order to follow the "easy path" without ANY build - no operator, no package, no container.
That may help catching this kind of issues.

@viroel @cjeanner Sure, I think that this is needed, that's why I was asking how are we going to deal with the default scenario. I'll go with the | default({})  approach tomorrow when I'm back.

Just added such a job with #156 - we'll need this current one in before I think, and the rebasing 156 would ensure we're all good.

LGTM


failure on different types

I run it and if fails on additional types not specified in the script:
params for  TEL:
TYPE ['OTHER', 'VOICE']
Traceback (most recent call last):
File "./vcard2csv.py", line 156, in
main()
File "./vcard2csv.py", line 152, in main
vcard_info = get_info_list(vcard_path)
File "./vcard2csv.py", line 64, in get_info_list
cell, home, work = get_phone_numbers(vCard)
File "./vcard2csv.py", line 35, in get_phone_numbers
if 'CELL' in tel.params['TYPE']:
KeyError: 'TYPE

Would you please attach the vCard file in question that reproduces the error, suitably anonymized?


hooks

overview
The generator should be able to generate standalone hooks in the current directory or by mounting them onto an existing service.json. When generating it in standalone mode it would be nice if it also produced the rest of the repo dependencies such as package.json etc so it can be published.
tasks

[ ] refactor our generator pipeline utils
[ ] build out the generator.js pipeline
[ ] rename hooks based on argv
[ ] copy to appropriate hooks/ dir
[ ] mount to service.json as before / after
[ ] make sure tests run
[ ] make sure hook runs

Updated issue with execution plan.

Latest work flow can be seen here: http://io.kc.io/iJ1L

Oh man. Looks great! :shipit:


adds fx asset and NOT WORKING shrink ray FX script

Adds the script that controls the FX, with properties for customization and methods to set the start and endpoints

Merged!


Go Docker API

Overview
instead of using os/exec.Command to start docker containers, we use the official Docker Go API. This arguably makes the code more readable/maintainable and is possibly more platform independent (we don't have to rely on the assumption that we are running in a UNIX-like shell like we do when we make call outs to a shell using os/exec/Command).
this PR resolves issue #6
Major Changes

introduce DockerClient and result/error channels as fields in sandbox struct
set docker env var in sandbox constructor
add (commented out) docker network setup in sandbox constructor (TODO breadcrumb)
introduce PrepareContainer submethod of (*sandbox).prepare()
create docker container and redirect stdout/err to main process in PrepareContainer
start container using Docker API in (*sandbox).execute()
wait for sandbox to finish running and be removed with select statement
remove spawnDocker method (replaced by Docker API methods).
introduce more comprehensive/consolidated error handling in sandbox methods
update comments in script.sh
vendor dependencies using govendor

Notes
it is probably a good idea to start vendoring our dependencies. i chose the govendor tool just because i am most familiar with it, though it would be very easy to swap this out for another tool if anyone has a strong preference.

Nice stuff. I'll check this out in detail later this week/weekend.
re: vendoring, the upcoming release includes an experimental new dependency resolution tool that should eliminate the need to do so (instead we'd have roughly a packages.json equivalent), it'll be cool to experiment with it when it hits.

@frenata, awesome! thanks!
ah interesting, i wasn't aware of go 1.11-- looks like there are some good changes here. i think experimenting with the new dependency management tool would be a great idea.


AutoGen Studio needs to support main/AutoGen 0.4

What happened?
Support for human input is merged with the main branch https://github.com/microsoft/autogen/pull/3484
When autogenstudio is installed with 'pip install autogenstudio', it is not accessing the main branch, even if the main branch is installed locally.
Autogenstudio is accessing only a different package, which is getting installed from pip, that doesn't include the mentioned PR.
How can I use Human Input Mode in AutoGen Studio? Do we need a separate release?
What did you expect to happen?
Human Input Mode in AutoGen Studio should work when installing the main branch or 0.4 dev1 branch
How can we reproduce it (as minimally and precisely as possible)?
pip install autogen-agentchat==0.4.0dev1
pip install autogenstudio
autogenstudio ui
Then try the options of Human_Input_Mode
AutoGen version
0.4
Which package was this bug in
AutoGen Studio
Model used
No response
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response

@dsanr - Autogen studio does not yet support AutoGen 0.4. We do plan to revise it to support 0.4 but do not have an ETA. Contributions welcome.

@rysweet Thank you for editing the issue and reply.
By the way, how is https://github.com/autogen-ai/autogen different from this repository? Which one is likely to get frequent updates?

@dsanr ,
I have created a broader issue for AutoGen Studio on v0.4 that we can use to track progress - #4006 (it includes the Human Input mode issue you have above)
I'll close this issue in favor of that one.
Let me know if there are any suggested additions to #4006


Add Promise support

Use case:
On btn triger, an async operation is performed and the result must be copied.
var clipboard = new ClipboardJS('.btn', {
     text: function() {
         return new Promise((resolve) => {
             setTimeout(() => {
                 resolve('to be or not to be after 1 second');
             }, 1000);
         });
     }
});

Would require changing description to:
✂ Modern copy to clipboard. No Flash. Just 5kb gzipped 📋

Nvm, no guarantee to succeed.

Why was this closed? Is there further work needed? I am looking for the ability to asynchronously set the text, I want to get the content to be copied from a database, so I don't want to make the call unless the copy button is clicked.

Hi, we also would need this feature.

@DSergiu ?


help(COMPONENT): TITLE Fix the first item in draggable list, so that it's position is never changed.

Description :
There's a scenario that I have a list which needs to be rendered in CDK Drag Drop.
What i want is that the first item is non draggable & it's position should never change.
Currently, non draggable items are also moved if we drag another item around it.
Example :
Header
Item1
Item2
So Item1 & Item2 should can never be dropped on no. 1 position.
The solution i have right now is : Keep the First Item out of the loop & draggable list. But that doesn't seem legit.

Duplicate of https://github.com/angular/components/issues/15712.

Well it's strange that the you said my issue is duplicate of the of #15712 issue & on that issue you mentioned that one is duplicate of mine.
So when will you provide the solution.
That's very unprofessional.🤨

I haven't commented anything on #15712 saying that it's a duplicate of this one.

I haven't commented anything on #15712 saying that it's a duplicate of this one.

Ohh sorry i misread that last statement.


Add additional Portal like EdgeLabelRenderer for arbitrary Elements

ViewPortPortal component will be part of the v12 release

ViewportPortal was added in React Flow 12!
If you are using 11, you can find the migration guide here: https://reactflow.dev/learn/troubleshooting/migrate-to-v12


Firefox 44.0.2 does not launch on OSX unless directConnect: true is set

Latest version of Protractor with Firefox 44.0.2. Attempting to launch the test suite with Firefox gives me this:
/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:108
  var template = new Error(this.message);
                 ^
UnknownError: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: MAC
Build info: version: '2.51.0', revision: '1af067d', time: '2016-02-05 19:15:17'

Firefox is installed and its directory is set in PATH. I am able to access Firefox through bash.
This problem is fixed when setting directConnect: true in configuration.

Hi there,
Please update your question to conform to the issue template. Thanks!
This looks like an issue with Selenium and not protractor. Where is firefox actually installed?

$ which firefox
/Applications/Firefox.app/Contents/MacOS/firefox

I was able to reproduce this issue where on Firefox 44.0.2 that Protractor v2.5.1 does not work. Protractor v2.5.1 uses<EMAIL_ADDRESS>Using the most recent version of Protractor, v3.1.1, I was able to run tests on Firefox v44.0.2. Protractor 3.1.1 uses selenium-webdriver v2.48.2. It looks like Selenium change log may have had some fixes for related to recent releases of Firefox.
Please upgrade your protractor to the latest.


Hide kent from contributors

Hiding myself from the public contributor list for the sysinternals site, just to avoid more emails that I can't help with

Docs Build status updates of commit e56d4ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


tools/openbsd: use fully resolved gcc package name

Two packages exist now and pkg_add can't choose on its own.

@mptre could you review?

Codecov Report

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

@@          Coverage Diff           @@
##           master    #988   +/-   ##
======================================
  Coverage    67.7%   67.7%
======================================
  Files         114     114
  Lines       20216   20216
======================================
  Hits        13687   13687
  Misses       5889    5889
  Partials      640     640

Continue to review full report at Codecov.

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

On Sat, Feb 09, 2019 at 09:00:49AM -0800, Greg Steuck wrote:

@mptre could you review?

I assume locking down the major version is sufficient, then use the
branch feature supported by pkg_add:
pkg_add gcc%8

On Sat, Feb 09, 2019 at 09:00:49AM -0800, Greg Steuck wrote: @mptre could you review?
I assume locking down the major version is sufficient, then use the branch feature supported by pkg_add: # pkg_add gcc%8

So much better this way. Thanks!


Fixes #230 - additional optional command line arg to skip header comment with ludown refresh

Fixes #230
Testing
All tests pass.

@tsuwandy can you help review?


Cannot Find Metasound Nodes [UE5.2Pre2]

https://github.com/gtreshchev/RuntimeAudioImporter/wiki/How-to-use-with-MetaSounds
I have been following the documentation successfully and have reached the Metasound section. However, I am facing difficulties as I cannot find any nodes related to Imported Wave in the Metasound graph. I am using the UE5.2preview2 version and I have already used plugins under the metasound branch.I am looking forward to your guidance.
Thank you for your assistance.

If you want to add MetaSound support for version 5.2, follow these steps:

Open RuntimeAudioImporter.Build.cs and replace Target.Version.MinorVersion >= 3 with Target.Version.MinorVersion >= 2 (or you can comment out the entire line).

Similarly, open RuntimeAudioImporterEditor.Build.cs and make the same change as in step 1.

Open the engine's source code and make the changes included in these pull requests: this and this. Note that you must have the engine downloaded from sources in order to apply these changes.

I hope that starting from version 5.3, these pull requests will be merged and it will be possible to download the plugin with MetaSounds support without any additional changes.


Not working with postcss-js?

It seems easing-gradients isn't working with postcss-js:
import postcssJs from 'postcss-js'
import rtlcss from 'rtlcss'
import gradients from 'postcss-easing-gradients'

const process = postcssJs.sync([ rtlcss, gradients ])

const css = {
  left: '5px',
  background: 'linear-gradient(to bottom, black, cubic-bezier(0.48, 0.3, 0.64, 1), transparent)'
}

console.log(process(css))
/*
{
  right: "5px",
  background: "linear-gradient(to bottom, black, cubic-bezier(0.48, 0.3, 0.64, 1), transparent)"
}
*/

As you can see it's not webpack or postcss-js issue, because rtlcss works fine.

Something similar seems to be happening with babel-plugin-styled-components-postcss---Autoprefixer and other plugins are applying their transformations, but the gradient is ignored:
// In

export const Hero = styled.header`
  background: linear-gradient(red, ease, green);
  color: ${ ({ theme }) => theme.palette.rgb.white };
  color: twitter-color;
  height: 100vh;
`

// Out

export const Hero = styled.header`
  background: -webkit-gradient(linear, left top, left bottom, from(red), color-stop(ease), to(green));
  background: linear-gradient(red, ease, green);
  color: ${({
  theme
}) => theme.palette.rgb.white};
  color: #1da1f2;
  height: 100vh;
`;

Works fine with postcss-cli, but falls over when applied by JS.

After a little investigation, my guess is that the issue on my end was that postcss-easing-gradients walks rules, but the Babel plugin was just feeding PostCSS raw declarations. I suspect @sedlukha might be seeing the same problem, since it doesn't look like the CSS declarations for postcss-js are wrapped in rules either.


Disable ability to submit unedit placeholder

See: https://www.dropbox.com/s/xlgqe4fikyv5ltv/Screenshot 2016-10-15 08.58.25.png?dl=0

duplicate of https://github.com/datacamp/RDocumentation-app/issues/262
I'm going to reprioritize this, seems like lot of people does it


Fix dangerous workflow

relates to #2647

@Itxaka yeah i was also confused about it, this doc explains it https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#example-of-a-script-injection-attack


Correct variable names

y consists of [x, y, dx, dy], so trajx and tray is x and y respectively, not dx and not dy.

Thanks for the PR guys !


CropBoxWidth does not update when zooming

http://jsfiddle.net/9r6czo65/122/
If you zoom in, then move the crop box, it will jump to a bigger size to attempt to reach its minCropBoxWidth. It seems like it should do this automatically on zooming (and not wait for the user to start moving the crop box).

I think it is unnecessary to support this as the crop box size is not based on the actual image size.

You're right, it is not relevant for creating the actual image size, but more from a user interaction standpoint is it really jarring. It seems like it should auto-expand on zoom, or not auto-expand on moving/adjusting cropping. As in, it should not attempt (and fail) to enforce minCropBoxWidth until it is actually possible for the crop box to be the correct minimum width.


Better access to the drag event

This may or may not be an issue. I could be looking in the wrong places. I'm trying to set a custom ghost image to the drag. Also I would like to change the data text in the dragged item. I can't seem to get access to the even to set the image or text. I'm using the evented api to listen to the service for the dragStart, but I have not figured out how to add custom things to the event.

Unfortunately, it's not possible to pass-in custom event handlers through properties, however you can implement this functionality by extending the component. The text and image are controlled in the drag-sort-item component's dragStart event handler. To override this functionality, simply create a new component in your app with the same name and extend the addon's component:
import dragSortItem from 'ember-drag-sort/components/drag-sort-item'

export default dragSortItem.extend({
  // Copy-paste the `dragStart` function from the addon and modify it as needed.
  // The text and image are controlled in the `event.dataTransfer` if clause below.
  dragStart(event) {
    // Ignore irrelevant drags
    if (!this.get('draggingEnabled')) return

    if (!this.isHandleUsed(event.target)) {
      event.preventDefault()
      return
    }

    event.stopPropagation()

    // Required for Firefox. http://stackoverflow.com/a/32592759/901944
    if (event.dataTransfer) {
      const img = document.createElement('img')
      img.src = '/assets/your-custom-image.png'
      if (event.dataTransfer.setData) event.dataTransfer.setData('text', 'your-custom-text')
      if (event.dataTransfer.setDragImage) event.dataTransfer.setDragImage(img, 0, 0)
    }

    this.startDragging(event)
  }
})

Hope this helps! See this blog post on how to customize the "ghost image": https://kryogenix.org/code/browser/custom-drag-image.html

This solution worked very well for me. I implemented a drag-sort-item-custom and a drag-sort-list-custom component extending the addons. Thank you for the direction.


System.Text.Json.JsonException: 'Unable to parse typed-key from aggregation name 'unique_thread_id''

Elastic.Clients.Elasticsearch version:
8.0.10
Elasticsearch version:
8.7
.NET runtime version:
.net core 7
Operating system version:
Windows 11
Description of the problem including expected versus actual behavior:
When you are trying get agregation with paged results via Client.Transport.RequestAsync<SearchResponse>
with next query
{
  "size": 0,
  "_source": false,
  "query": {
    "bool": {
      "filter": [
        {
          "range": {
            "date": {
              "lte": "2023-04-09T17:00:46.8904423"
            }
          }
        }
      ]
    }
  },
  "fields": [
    {
      "field": "threadId"
    }
  ],
  "sort": [
    {
      "date": {
        "order": "desc"
      }
    }
  ],
  "aggs": {
    "unique_thread_id": {
      "terms": {
        "field": "threadId"
      },
      "aggs": {
        "terms_sort": {
          "bucket_sort": {
            "from": 0,
            "size": 10
          }
        }
      }
    }
  }
}

It failed on deserialize with next error
at Elastic.Clients.Elasticsearch.Aggregations.AggregateDictionaryConverter.ReadAggregate(Utf8JsonReader& reader, JsonSerializerOptions options, Dictionary`2 dictionary, String name) in /_/src/Elastic.Clients.Elasticsearch/Types/Aggregations/AggregateDictionaryConverter.cs:line 42
  at Elastic.Clients.Elasticsearch.Aggregations.AggregateDictionaryConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) in /_/src/Elastic.Clients.Elasticsearch/Types/Aggregations/AggregateDictionaryConverter.cs:line 31
  at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
  at System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader)
  at System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
  at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)

Expected behavior
Able to get result in .net

Figure out
should be terms#unique_thread_id aggs name, but seems not possible to use native responses with raw queries if it's not possible to get with high level client.

@knopa Yes, the serializer requires that typed_keys be set to true on the request in order to identify the aggregate type. When using the transport directly, you can do this by including the SearchRequestParameters.
var response = await client.Transport.RequestAsync<SearchResponse<Person>>(
	Elastic.Transport.HttpMethod.POST,
	"my-index/_search",
	PostData.Bytes(searchRequestBytes),
	requestParameters: new SearchRequestParameters { TypedKeys = true }
	);

@stevejgordon Works like a charm, thanks
defenetly current documentation miss at least low level client usage.


Missing tags

Some tags declared in the Gradle task configuration are not managed by the plugin.
The plugin seems to work with "refactor" and "feat", but not with "doc" and "fix".
The Gradle configuration of the task
changelog {
    file "../CHANGELOG.md"
    appName "My Project"
    versionNum "0.1.0"
    //versionText ""
    repoUrl "my-working-url"
    trackerUrl "my-working-url"
    from ""
    to "HEAD"
    match "^fix|^feat|^test|^refactor|^doc"
}

The output of the changelog:

## 0.1.0 (2019/05/21)

## Features

* i18n - support of french and english languages ([commit-number]the-commit-url))

## Refactor

* project - file tree
* BLE frame - process of sensor data
* BLE configuration - use properties file
* game - Enabling of games from properties file

Some samples of what the used command git log --grep="^fix|^feat|^test|^refactor|^doc" -E --format=%H%n%s%n%b%n==END== returns for missing tags (after having used grep)
fix: project - Gradle configurations
fix: project - verison of Kotlin in Gradle build file
doc: project - more documentation
doc: project - more Dokka doc

New details:
If iIuse the following task Gradle configuration, the output is different:
changelog {
    file "../CHANGELOG.md"
    appName "My Project"
    versionNum "0.1.0"
    //versionText ""
    repoUrl "my-working-url"
    trackerUrl "my-working-url"
    from ""
    to "HEAD"
    //match "^fix|^feat|^test|^refactor|^doc" // style and chore are not parsed
    match "^fix|^feat|^fix|^perf|^refactor|BREAKING"
}

The output:

## 0.1.0 (2019/05/21)

## Bug Fixes

* blabla - other blabla ([commit-number]the-commit-url))
* #9 - a cool fix with an issue ([commit-number]the-commit-url))

## Features

* i18n - support of french and english languages ( ([commit-number]the-commit-url))

## Refactor

* project - did things
* project - did things again

Here new details about the regex value "match" and the produced and expected outputs for the changelog.
My project contains commits prefixed with "doc", "fix", feat", "refactor". No "test" nor "break" things.
match "^fix|^doc|^test|^feat|^fix|^perf|^refactor|BREAKING"
Produces report for fixes, features and refactoring things. No doc related entries. Note here "fix" has been mentionned twice. 18 commits were parsed.
match "^fix|^doc|^test|^feat|^perf|^refactor|BREAKING"
Produces report for features and refactoring things but nothing for fixes. 13 commits were parsed. Note "fix" has been mentionned once.
match "^fix|^doc|^test|^feat|^perf|^refactor"
Produces report for features, nothing for bug fixes and refactoring things. 9 commits were parsed. Note "fix" and "refactor" are mentionned, and "BREAKING" has been removed.
In my project I have 5 commits tagged by "fix", 8 commits prefixed by "doc", 4 commits prefixed by "refactor", 1 commit tagged by "feat", and nothing with "test" or "breaking".


Explosions need a refactor

(Assuming the current code is what we want) there's a lot of cursed code in ExplosionHelper that needs changing and means explosions are running much slower than they even need to and needs a significant cleanup.

Turn it into an entity system while at it


Certify Piranha Core Profile

The following TCKs should pass:
See https://github.com/piranhacloud/piranha-coreprofile-tck

This is now invalid as the Piranha Core Profile TCK project is tackling the actual Jakarta EE Core Profile  certification, see https://github.com/piranhacloud/piranha-coreprofile-tck


Fix code to allow 0 in x-form-money input text

This is the fix to allow money input with 0.
issue describe here.
https://github.com/user-attachments/assets/725b9758-9db0-43b7-9a44-491dcb2b86f7
After solution it look like this
https://github.com/user-attachments/assets/d44a8e6d-1498-4ff4-9969-db9476327fbb

Hi @mikebronner check this PR out.

Hi @BonnieSawe @devloper-vijahat could you post the videos in a compatible format or maybe link to them where they are viewable? I am unable to view them.

Hi @mikebronner here i am sharing link of the videos.
https://drive.google.com/file/d/1OC-OPeg1b7WM5hprbV93uusX1p0rpyZn/view
https://drive.google.com/file/d/1A4D4KWw4sVKHhGrH-U7CRE8UvOBMW233/view

@BonnieSawe @devloper-vijahat  I don't think the solution is quite right. Instead of the fix displaying just 0 it should display 0.00 and retain the format.

Hey @mikebronner ,
Here i am sharing you a video after update the changes.
https://drive.google.com/file/d/1KHbhU0x4LIm3_I_Y6lijZvLHhzLkrYCU/view
Please review them and let me know if anything more require.
Thank you


CUDA 10.2 Python wheels

Description
There is currently no cuda 10.2 support for prebuilt Python wheels. (mxnet-cu102 and mxnet-cu102mkl)
It would be greatly appreciated if you could add these versions to your CI.

So... neither the cu102, nor the cu102mkl versions are currently available on PyPI. Are we waiting for the next release? Is there an ETA or something?

@RuRo only stable and RC releases are published on Pypi. You can download pre-releases from pip install https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/dist/2019-12-29/dist/mxnet_cu101-1.6.0b20191229-py2.py3-none-manylinux1_x86_64.whl
Unfortunately the nightly build pipeline publishing to https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/dist/2019-12-29/dist/mxnet_cu102-1.6.0b20191229-py2.py3-none-manylinux1_x86_64.whl is broken since December 29, slightly before Cu102 builds were enabled.
@samskalicky could you please comment here once the build pipeline is fixed?

Waiting for builds for 10.2

@mxnet-label-bot add [CI]

Let's not close this issue if it's not fixed for the user.

Thanks for the suggestion, noted. We will track this.

cu102 nightly convenience builds are now available at https://apache-mxnet.s3-us-west-2.amazonaws.com/dist/index.html thanks to @samskalicky


Enable Fabric benchmarking with a FileSystemWallet

Currently the configuration of a target is a little tricky, in particular the specification of the required crypto material.
This could be made much easier by enabling the use of a file wallet to specify the required identities (with the associated crypto material) and either using the file wallet direct (if using a gateway trnsaction) or by extracting the identity from the wallet and creating the required profile from the contained materials

closing as complete 👌


Design interface and logic for changing / upgrading the member token (not the implementation, a new token)

Ability to re-create the member token once one already exists?
The member token is created as an upgradeable proxy by the election module, as a factory contract. It allows the system owner to upgrade its implementation.
We could add the ability to set this token instead of creating it. Setting it should disable the ability to create:

setMemberToken(address) public onlyOwner;


Enhance the creation of a DirectoryServiceEntry to take an entry and update it to be based on a ditItem

It would be great if we can pass in an entry to DirectoryServiceEntry and have it get its DN and objectClasses based on a ditItem.

Added and is now in version 0.10.0.


Retrofit builder links to 404 page

One of the links in https://github.com/codepath/android_guides/wiki/Consuming-APIs-with-Retrofit (link to Retrofit builder) links to 404 page.

Fixed to http://square.github.io/retrofit/2.x/retrofit/retrofit2/Retrofit.Builder.html thanks!


[Bug]: Error 400 when entering a project

ODC version
ODC 4.3.3
OB version
No related.
What happened?

traceId
:
"fa7dbda7b65b429b"
This interface reports an error："参数错误，详情：{0}"
http://<IP_ADDRESS>:16677/api/v2/datasource/datasources?currentOrganizationId=1&size=99999&page=1&type=OSS&type=COS&type=OBS&type=S3
What did you expect to happen?
Enter the project without reporting errors.
How can we reproduce it (as minimally and precisely as possible)?
Enter a project.
Anything else we need to know?
No response

Seems like related to DLM and OSS

Ignore it and test after the DLM SDK is republished

pass


Unix socket timeout on nhost dev. Unable to start locally.

Hello All,
I'm unable to start any local environment.
nhost cli : v0.2.5
OS : macOS BigSur v11.2.1
Node : v12.13.0
hasura cli : v1.3.3
nhost login ok.
nhost init. ok.
nhost dev : failed.
Stack trace :
✖ Nhost is starting...first run takes longer
Error! Command failed: docker-compose -f ./.nhost/docker-compose.yaml up -d --build
[7873] Failed to execute script docker-compose
Traceback (most recent call last):
File "site-packages/urllib3/connectionpool.py", line 426, in _make_request
File "", line 3, in raise_from
File "site-packages/urllib3/connectionpool.py", line 421, in _make_request
File "http/client.py", line 1344, in getresponse
File "http/client.py", line 306, in begin
File "http/client.py", line 267, in _read_status
File "socket.py", line 589, in readinto
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/requests/adapters.py", line 449, in send
File "site-packages/urllib3/connectionpool.py", line 727, in urlopen
File "site-packages/urllib3/util/retry.py", line 403, in increment
File "site-packages/urllib3/packages/six.py", line 735, in reraise
File "site-packages/urllib3/connectionpool.py", line 677, in urlopen
File "site-packages/urllib3/connectionpool.py", line 428, in _make_request
File "site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/docker/api/client.py", line 205, in _retrieve_server_version
File "site-packages/docker/api/daemon.py", line 181, in version
File "site-packages/docker/utils/decorators.py", line 46, in inner
File "site-packages/docker/api/client.py", line 228, in _get
File "site-packages/requests/sessions.py", line 543, in get
File "site-packages/requests/sessions.py", line 530, in request
File "site-packages/requests/sessions.py", line 643, in send
File "site-packages/requests/adapters.py", line 529, in send
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 67, in main
File "compose/cli/main.py", line 123, in perform_command
File "compose/cli/command.py", line 69, in project_from_options
File "compose/cli/command.py", line 132, in get_project
File "compose/cli/docker_client.py", line 43, in get_client
File "compose/cli/docker_client.py", line 170, in docker_client
File "site-packages/docker/api/client.py", line 188, in init
File "site-packages/docker/api/client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
Error! Command failed: docker-compose -f ./.nhost/docker-compose.yaml up -d --build
[7873] Failed to execute script docker-compose
Traceback (most recent call last):
File "site-packages/urllib3/connectionpool.py", line 426, in _make_request
File "", line 3, in raise_from
File "site-packages/urllib3/connectionpool.py", line 421, in _make_request
File "http/client.py", line 1344, in getresponse
File "http/client.py", line 306, in begin
File "http/client.py", line 267, in _read_status
File "socket.py", line 589, in readinto
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/requests/adapters.py", line 449, in send
File "site-packages/urllib3/connectionpool.py", line 727, in urlopen
File "site-packages/urllib3/util/retry.py", line 403, in increment
File "site-packages/urllib3/packages/six.py", line 735, in reraise
File "site-packages/urllib3/connectionpool.py", line 677, in urlopen
File "site-packages/urllib3/connectionpool.py", line 428, in _make_request
File "site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/docker/api/client.py", line 205, in _retrieve_server_version
File "site-packages/docker/api/daemon.py", line 181, in version
File "site-packages/docker/utils/decorators.py", line 46, in inner
File "site-packages/docker/api/client.py", line 228, in _get
File "site-packages/requests/sessions.py", line 543, in get
File "site-packages/requests/sessions.py", line 530, in request
File "site-packages/requests/sessions.py", line 643, in send
File "site-packages/requests/adapters.py", line 529, in send
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 67, in main
File "compose/cli/main.py", line 123, in perform_command
File "compose/cli/command.py", line 69, in project_from_options
File "compose/cli/command.py", line 132, in get_project
File "compose/cli/docker_client.py", line 43, in get_client
File "compose/cli/docker_client.py", line 170, in docker_client
File "site-packages/docker/api/client.py", line 188, in init
File "site-packages/docker/api/client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
⠋ stopping Nhost
Writing logs to ./.nhost/nhost.log
⠴ stopping Nhost
Error during writing of logfile
Error: Command failed: docker-compose -f ./.nhost/docker-compose.yaml logs --no-color -t  > ./.nhost/nhost.log
[7920] Failed to execute script docker-compose
Traceback (most recent call last):
File "site-packages/urllib3/connectionpool.py", line 426, in _make_request
File "", line 3, in raise_from
File "site-packages/urllib3/connectionpool.py", line 421, in _make_request
File "http/client.py", line 1344, in getresponse
File "http/client.py", line 306, in begin
File "http/client.py", line 267, in _read_status
File "socket.py", line 589, in readinto
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/requests/adapters.py", line 449, in send
File "site-packages/urllib3/connectionpool.py", line 727, in urlopen
File "site-packages/urllib3/util/retry.py", line 403, in increment
File "site-packages/urllib3/packages/six.py", line 735, in reraise
File "site-packages/urllib3/connectionpool.py", line 677, in urlopen
File "site-packages/urllib3/connectionpool.py", line 428, in _make_request
File "site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/docker/api/client.py", line 205, in _retrieve_server_version
File "site-packages/docker/api/daemon.py", line 181, in version
File "site-packages/docker/utils/decorators.py", line 46, in inner
File "site-packages/docker/api/client.py", line 228, in _get
File "site-packages/requests/sessions.py", line 543, in get
File "site-packages/requests/sessions.py", line 530, in request
File "site-packages/requests/sessions.py", line 643, in send
File "site-packages/requests/adapters.py", line 529, in send
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 67, in main
File "compose/cli/main.py", line 123, in perform_command
File "compose/cli/command.py", line 69, in project_from_options
File "compose/cli/command.py", line 132, in get_project
File "compose/cli/docker_client.py", line 43, in get_client
File "compose/cli/docker_client.py", line 170, in docker_client
File "site-packages/docker/api/client.py", line 188, in init
File "site-packages/docker/api/client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
⠸ stopping Nhost
Error during docker compose down
Error: Command failed: docker-compose -f ./.nhost/docker-compose.yaml down
[8062] Failed to execute script docker-compose
Traceback (most recent call last):
File "site-packages/urllib3/connectionpool.py", line 426, in _make_request
File "", line 3, in raise_from
File "site-packages/urllib3/connectionpool.py", line 421, in _make_request
File "http/client.py", line 1344, in getresponse
File "http/client.py", line 306, in begin
File "http/client.py", line 267, in _read_status
File "socket.py", line 589, in readinto
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/requests/adapters.py", line 449, in send
File "site-packages/urllib3/connectionpool.py", line 727, in urlopen
File "site-packages/urllib3/util/retry.py", line 403, in increment
File "site-packages/urllib3/packages/six.py", line 735, in reraise
File "site-packages/urllib3/connectionpool.py", line 677, in urlopen
File "site-packages/urllib3/connectionpool.py", line 428, in _make_request
File "site-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages/docker/api/client.py", line 205, in _retrieve_server_version
File "site-packages/docker/api/daemon.py", line 181, in version
File "site-packages/docker/utils/decorators.py", line 46, in inner
File "site-packages/docker/api/client.py", line 228, in _get
File "site-packages/requests/sessions.py", line 543, in get
File "site-packages/requests/sessions.py", line 530, in request
File "site-packages/requests/sessions.py", line 643, in send
File "site-packages/requests/adapters.py", line 529, in send
requests.exceptions.ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose/cli/main.py", line 67, in main
File "compose/cli/main.py", line 123, in perform_command
File "compose/cli/command.py", line 69, in project_from_options
File "compose/cli/command.py", line 132, in get_project
File "compose/cli/docker_client.py", line 43, in get_client
File "compose/cli/docker_client.py", line 170, in docker_client
File "site-packages/docker/api/client.py", line 188, in init
File "site-packages/docker/api/client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
✖ Failed to start docker-compose
(maybe the error output could be cleaned because it's quite redondant now ;))

Do you have Docker installed?

Hello,
thanks for your answer.
I've reinstalled docker, after trying different things, and it's working now.
No idea what was happening.
Thanks again... ;)

Glad you got it to work! :)


Make it possible to do a MultiSearch with different types

Is your feature request related to a problem? Please describe.
Unless I'm missing something, it appears to not be possible to perform a multisearch/multiget with different types from different indices in the same request
Describe the solution you'd like
Something like
var response = await _client.MultiSearchAsync(req =>
{
    req.AddSearch<FirstType>(q => q.Index("FirstIndex").SomethingElse(...));
    req.AddSearch<SecondType>(q => q.Index("SecondIndex").SomethingElse(...));
});

I guess the response type would have to be MultiSearchResponse<object>.
Describe alternatives you've considered
Currently I do two requests and use Task.WhenAll(), which works but seems like it causes an unnecessary workload for Elastic.

This sounds a little bit like the "multi" version of what's described in #7792

Related, but not quite. In this case I only need the same filter type as output type, but different for each query. Though using different filter and output types for multi as well is a natural improvement that would certainly be useful.


Add YouTube ReVanced icon

add an icon for YouTube ReVanced
before:

after:

Merged the PR and have manually added the svg file. Thanks for contributing; please remember to add the svg next time though.

Thanks for fixing my pull request and sorry for the delay, I was busy
I will not forget to add an svg next time.


Add F# to kitty.yml

It would be really great with an F# entry in the kitty.yml example file. Preferably this would use the fsc compiler executable.

`

name: F#
file_extension: fsx
compile_command: fsc $SRC_PATH
run_command: $EXE_PATH
`
will that work?

I participated in a Kattis contest and made a hacky, somewhat working solution for this issue.
There are some interesting points from making it work on macOS at least:

From the F# help page on kattis.com, they use the fsharpc compiler.
To be able to run the executable, perhaps just in my case (using macOS), I had to get the mono runtime tool to use that to execute the binary file
F# solutions are heavily dependent on some fast IO. This means that in order not to confuse Kitty by placing the kattio.fs fast IO file provided by Kattis themselves, we can insert the code in the F# template file. Sadly the entrypoint function has to be the last in the file, so we can't hide the IO code. Although it works by creating a folder in a problem's directory and placing the kattio.fs file there, inserting a open Kattio statement in the top of the solution file and inserting ./<dir>/kattio.fs in the compile command before the <problem_name>.fs file.

This is how the yaml configuration looks like:
- name: FSharp
  file_extension: fs
  compile_command: fsharpc --optimize+ -r:System.Numerics "$SRC_FILE_NAME_NO_EXT".fs
  run_command: mono "$SRC_FILE_NAME_NO_EXT".exe

and this is how a template file could look like, with kattio.fs "included":
open System
open System.IO

// Copied the kattio.fs file from https://open.kattis.com/help/fsharp into this
// begin kattio.fs (namespace declaration excluded)
exception NoMoreTokensException

type Tokenizer(inStream : Stream) =

    let bs = new BufferedStream(inStream);
    let reader = new StreamReader(bs)

    let mutable tokens = Array.empty
    let mutable pos = 0

    let rec peek =
        function
        | () when pos < 0 -> None
        | () when pos < Array.length tokens ->
            let s = tokens.[pos]
            if s = "" then
                pos <- pos + 1
                peek ()
            else
                Some (tokens.[pos])
        | () ->
            let line = reader.ReadLine()
            if line = null then
                pos <- -1
                None
            else
                tokens <- line.Split (' ')
                pos <- 0
                peek ()

    new() = Tokenizer(Console.OpenStandardInput())

    member this.hasNext() = peek() <> None

    member this.Next() =
        match peek() with
        | None   -> raise NoMoreTokensException
        | Some s -> pos <- pos + 1; s

type Scanner(inStream : Stream) =
    inherit Tokenizer(inStream)

    new() = Scanner(Console.OpenStandardInput())

    member this.NextInt() = this.Next() |> int
    member this.NextLong() = this.Next() |> int64
    member this.NextFloat() = this.Next() |> float
    member this.NextDouble() = this.Next() |> double

type BufferedStdoutWriter() =
    inherit StreamWriter(new BufferedStream(Console.OpenStandardOutput()))
// end kattio.fs

[<EntryPoint>]
let main argv =
    let scanner = Scanner()
    0

If this is acceptable, then I can create a PR with these changes.

@andreaswachs thanks for the contribution!

To be able to run the executable, perhaps just in my case (using macOS), I had to get the mono runtime tool to use that to execute the binary file

Huh, that's weird. Have you tried the following?
  run_command: $EXE_PATH

I don't have a mac, so I am unable to test at the moment. If the output file produced by fsharpc doesn't match $EXE_PATH, you should be able to add --out:$EXE_PATH to the compile command (detailed in F# compiler options).

F# solutions are heavily dependent on some fast IO. This means [...]

Unfortunately kitty doesn't support multi-file submissions. That would be a really nice addition, though.  And thanks for including a Kattio example - if F# users find this issue, it will be useful.

I do have one problem though, and that is that I'm unable to submit .fs solutions. Kitty says that something went wrong with submitting the file, but I'm unable to debug.

I believe that is what the following comment from the example file addresses:
  # Languages must contain a display name that matches Kattis' name for the
  # language exactly - i.e. the precise text in the language dropdown menu at
  # https://open.kattis.com/submit. If you get an error saying "something went
  # wrong during submission", this may be a likely reason!

I think the issue will be fixed if the name is changed from FSharp to F#.

@OHNONOTAMOTH that seems pretty good.
I think .fsx should be changed to .fs - I'm not sure if Kattis accepts fsx script files, but I think fs files are more appropriate here.
Have you tested this? If so, do you mind sharing how you got your hands on fsc and compiled your file? I tried to download it from NuGet here, but I got an error:
> fsc .\eyeofsauron.fs

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.


Use smaller base image (e.g. alpine, slim or even distroless)

This is generally a good thing for security and performance reasons. Smaller images lead to faster builds, faster deployments, faster startups, and smaller attack surfaces.
In regards to #214, I believe we can do this without impacting people's ability to drop in whatever container they'd like. However, as we make the example image a little more complicated, we distract from the CI/CD and IaC that's in here. 🤔
None of the these examples (alpine/slim or distroless) should affect our ability to use ARM-based containers (#389).

This article has some interesting reasoning that would lead us to use node:18.11.0-slim (or whatever the version number is once 18 becomes the LTS release). Version 18 defaults to bullseye, so there's no reason to be explicit about that.

I believe I'm suggesting that we use -slim variants. We can probably even build with them (as opposed to needing a multi-stage build where we build using the standard image and then copy built files into a -slim-based image).
Here's my reasoning:

We fall into the use cases where the Node.js maintainers suggest that we use -slim images: we're working in environments where only our Node.js image will be deployed
At BYU, we occasionally use binaries that rely on glibc (like for our OracleDB connections), which precludes -alpine images because they're based on musl
The best examples we have of "complicated use-cases" at BYU are our images that use OracleDB binaries, which already build and run without issue using -slim
The devs that would want to use tools like curl/wget are the same devs that would feel comfortable adding an apt-get update && apt-get install -y curl step
Compared to the base image, -slim is almost as small as -alpine
There's a tiny learning curve for alpine-based images (e.g. apk is the default package manager instead of apt-get)
Distroless doesn't provide distinct releases based on specific Node.js versions, so we can't easily pin to minor or patch versions, therefore distroless images will be harder to manage than -slim images


Update developer/maintainer docs for release

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] The Unreleased section in CHANGELOG.md has been amended to reflect the changes in this PR
[ ] Build (mvn verify) was run locally and any changes were pushed
[X] The pull request is against the correct branch (master for bug fixes, develop for new functionality)

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix

[ ] Feature

[ ] Code style update (formatting, renaming)

[ ] Refactoring (no functional changes, no api changes)

[ ] Build related changes

[X] Documentation content changes

[X] Other (please describe):

GitHub templates changed (PR template)

What is the current behavior?

Developer/maintainer docs aren't complete and include TODOs
Issue Number: #65
What is the new behavior?

Add dependencies and templates checks to PR template

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information
This PR fixes #65.

Checklist for maintainers
Releases

[ ] Do NOT push the green merge button on GitHub.
Follow the latest version of the developer/maintainer docs for making releases.

@thomaskrause At review, please make sure to review https://github.com/hexatomic/hexatomic/pull/83/commits/7c8e9553cd2502313fa3c87e884741689163eaa1 carefully for correctness :)

Made sure this PR gets the dev docs into decent shape. More work needs to be done on the dev docs, which I've documented in new issues (#84, #85, #86, #87).


Badge component

This adds a badge component and renames the old one to tag as mentioned in issue https://github.com/karishmashuklaa/chic-ui/issues/28

@henckellbach Please make a PR to my feature branch so that I can approve the changes


EasyRevealLinearLayout revealLinearLayout = findViewById(R.id.revealLayout);
revealLinearLayout.setClipPathProvider(new LinearClipPathProvider(LinearClipPathProvider.Direction.BOTTOM_TO_TOP));
revealLinearLayout.setRevealAnimationDuration(2000);
revealLinearLayout.reveal();

but it wan't animation view. if i do same thing on click it was worked fine.
@Chrisvin please let me know what was missed.
hide method work properly with below code
EasyRevealLinearLayout revealLinearLayout = findViewById(R.id.revealLayout);
revealLinearLayout.setClipPathProvider(new LinearClipPathProvider(LinearClipPathProvider.Direction.BOTTOM_TO_TOP));
revealLinearLayout.setHideAnimationDuration(2000);
revealLinearLayout.hide();

and please let me know how to replay animation on finish?
Please help. Thanks.

The issue is that the view is already in revealed state. It first needs to be hidden (without animation using revealForPercentage(0, false)) before reveal() is called. The following code should work,
EasyRevealLinearLayout revealLinearLayout = findViewById(R.id.revealLayout);

revealLinearLayout.revealForPercentage(0f, false);

revealLinearLayout.setClipPathProvider(new LinearClipPathProvider(LinearClipPathProvider.Direction.BOTTOM_TO_TOP));
revealLinearLayout.setRevealAnimationDuration(2000);
revealLinearLayout.reveal();

There is no inbuilt method to replay animation, but you can use postDelayed or any other delay mechanism to time your reveal/hide calls. Something along the following lines should work,
revealLinearLayout.reveal();

revealLinearLayout.postDelayed(new Runnable() {
    @Override
    public void run() {
        revealLinearLayout.hide();
    }
}, 2000);

Pasted the exact same code & it still doesn't work


Report page: switch on Jinja whitespace removal ?

The report page is nicely formatted, but also contains a lot of whitespace that unnecessarily has to be transmitted (the whole page is in the order of 10MiB).
I think Jinja has an option to trim unnecessary whitespace for more compact output.

I ran some tests (note that I used only 2 runners to speed up the process, but I am giving the results in percents in hope it reflects running all runners):

forcing jinja to hide whitespace where it can (substituting {% %} with {%- -%} etc) saves only about 4%
jinja is not a html formatter so it still mostly preserves the whitespace from the templates, it can only control whitespace around it's dynamic statemets
Using obfuscation I was able to save ~39% - the added benefit of this approach is it can also make js and css smaller. I know obfuscation is not what we really want here, but smaller size is a nice benefit of using obfuscation so I think it's worth it

I will create a PR to see what we get for the whole report.

When running some tests I noticed that some files for the uhmd-yosys take ~60MB(!) (for example: https://github.com/SymbiFlow/sv-tests/blob/f25bce50e27b2365574f0df735f297ddfa204403/logs/UhdmYosys/generated/black-parrot/bp_processor.sv.log.html )
This is mostly due to dumping a horribly long uhdm tree. I asked @kbieganski to add a switch to the uhdm-yosys integration to be able to disable dumping the tree (this is something we already implement for uhdm-verilator)

The latest version of Yosys (antmicro/yosys@490d671) does not print the tree by default anymore, so the output size should be reduced significantly.

@kbieganski great, thanks!

The main page has been optimized #1941, it's now about 300KiB. Let's close this.


⚠ SceneTime has degraded performance

In a80f8de, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1083 ms

Resolved: SceneTime performance has improved in 790573e after 9 minutes.


Multi Period Support

Checklist

[X] This is a feature request and not a different kind of issue
[X] I have read the contribution guidelines
[X] I have checked the list of open and recently closed plugin requests

Description
any plan to support multi period ?

What do you mean multi period?

Multi period dash streams as streamlink supports only one period
https://docs.aws.amazon.com/mediapackage/latest/ug/multi-period.html#:~:text=A period is a chunk,ads and the main content.

Right now there is no plans to implement this feature

Can you send me your telegram or discord to talk ?

#ImAleex_#4664

Thanks DM sent


double free or corruption (!prev) Segmentation fault (core dumped)

Code to reproduce the error
import numpy as np
from numba import jit, prange
import itertools

def generate_curr(size):
    curr = np.array(list(map(list, itertools.product([0., 1.], repeat = size))))
    return curr

curr = generate_curr(16)

@jit(nopython=True, parallel=True)
def find_region(curr):
    region = []
    curr_sum = np.sum(curr, axis=1)
    for i in prange(curr.shape[0]):
        if curr_sum[i] > 0 and curr_sum[i] < 5:
            region.append(curr[i])
    return reg

Result
When I try to use the find_region function, I get the following error trace.
double free or corruption (!prev)
Aborted (core dumped)

Environment
import sys
import numba
import platform
print(sys.version)
print(numba.__version__)
print(platform.platform())

Output:
3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0]
0.48.0
Linux-4.15.0-72-generic-x86_64-with-debian-buster-sid

How to solve this issue?

I am experiencing the same seg-fault when simply loading numba (Version: 0.45.1 from Channel intel) on anaconda version 3.7.6 and Ubuntu 18.04
It's working when I use the most recent python (3.8.1) and a more recent version of numba (0.48.0).
If it doesn't matter to you what Python-Version you are using then switch to 3.8.1 and try it again

I am experiencing the same seg-fault simply when loading numba 0.48.0 import numba. WIth Anaconda 3.7.6 and Ubuntu 18.04
When I use the newest Anaconda Python 3.8.1 there are no problems.

Thanks for the report. The issue here is that list.append is not threadsafe and so is invalid for use in a prange driven parallel region. Suggested work around: https://github.com/numba/numba/issues/4206#issuecomment-503947050
Duplicate of https://github.com/numba/numba/issues/4206 and https://github.com/numba/numba/issues/2408.

Documented here https://numba.readthedocs.io/en/latest/user/parallel.html#unsupported-operations
Closing as a duplicate of #2408


Profile edit nav menu is disabled when display is 767px wide or less

The nav menu works when display is wider than 767px, but something is causing it to disable when it gets smaller than that breakpoint.

tested and seems to work fine on chrome and on safari


Backend build error: The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions

Describe the bug
Getting the following error when deploying from GitHub to the Amplify Console
2019-07-26T19:06:32.488Z [INFO]: CREATE_FAILED UserPoolClientLambda AWS::Lambda::Function Fri Jul 26 2019 19:06:32 GMT+0000 (Coordinated Universal Time) The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs10.x) while creating or updating functions. (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: f066bf5a-2f16-4e63-b69a-239a73578f69)

The Amplify project on GitHub is configured with Node.JS 8.10: https://github.com/aws-samples/appsync-refarch-realtime/blob/3c15513e6cd1333eb945bc6d470d3f76b87af173/amplify/backend/auth/realtime99d78ebe/realtime99d78ebe-cloudformation-template.yml#L249
To Reproduce
Test with one click deploy https://github.com/aws-samples/appsync-refarch-realtime#one-click-deploy-with-the-amplify-console
Expected behavior
If I follow the manual setup with the CLI, it works fine: https://github.com/aws-samples/appsync-refarch-realtime#manual-setup

I was pressing the one-click deploy button from aws-samples however didn't realize there was an existing fork in my account. The fork on my account wasn't updated when the aws-samples repo had a fix implemented for the Lambda with Node.JS 6.10, everything worked out after I deleted the fork.


Pass along the reason a lambda is being closed

I want to be able to log why a lambda is being closed. So add a new LambdaCloseType and pass it along to the lambda close method.

Wondering if you need more than just the "type"? Specially when the error happens. Or you are planning to correlate this with error messages captured elsewhere?

The error will be captured elsewhere. Likely in the context.error handler

Wondering if you need more than just the "type"? Specially when the error happens. Or you are planning to correlate this with error messages captured elsewhere?

The error will be captured elsewhere. Likely in the context.error handler