Internal Server Request in the homepage after following setup instructions

Describe the bug
I followed the setup instructions. When running on localhost /settings works but / doesn't.
To Reproduce
Steps to reproduce the behavior:

npm start on terminal window 1. And then once it finishes building:
npm run dev on terminal window 2
go to localhost:3000
Insert my open ai api key on the settings screen

Expected behavior
I'm expecting to see some sort of welcome UI instead of a 500
Browser console output
A client-side exception has occurred, see here for more info
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Terminal commands & output
e2b-app-1  | prisma:warn Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-1.1.x".
e2b-app-1  | Please manually install OpenSSL via apt-get update -y && apt-get install -y openssl and try installing Prisma again. If you're running Prisma on Docker, you may also try to replace your base image with node:lts-slim, which already ships with OpenSSL installed.
e2b-app-1  | Error: Command failed with exit code 127: /app/node_modules/.prisma/client/query-engine-debian-openssl-1.1.x --enable-raw-queries cli dmmf
e2b-app-1  | /app/node_modules/.prisma/client/query-engine-debian-openssl-1.1.x: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
e2b-app-1  |     at makeError (/app/node_modules/@prisma/client/runtime/binary.js:14:57)
e2b-app-1  |     at handlePromise (/app/node_modules/@prisma/client/runtime/binary.js:14:11276)
e2b-app-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
e2b-app-1  |     at async Wi._getDmmf (/app/node_modules/@prisma/client/runtime/binary.js:160:2387)
e2b-app-1  |     at async /app/node_modules/@prisma/client/runtime/binary.js:235:2875
e2b-app-1  |     at async /app/node_modules/@prisma/client/runtime/binary.js:235:3305
e2b-app-1  |     at async t._executeRequest (/app/node_modules/@prisma/client/runtime/binary.js:235:10764)
e2b-app-1  |     at async t._request (/app/node_modules/@prisma/client/runtime/binary.js:235:10493)
e2b-app-1  |     at async /app/.next/server/pages/index.js:217:18 {
e2b-app-1  |   shortMessage: 'Command failed with exit code 127: /app/node_modules/.prisma/client/query-engine-debian-openssl-1.1.x --enable-raw-queries cli dmmf',
Screenshots
https://github.com/e2b-dev/e2b/assets/8325094/86f5667c-1164-444c-890a-605c05aa42ae
Desktop (please complete the following information):

OSX
Chrome
Node 18.9.0

Additional context
I did change my Supabase keys to the ones generated after running npm run db:start

Hi, thanks for opening an issue.
The SSL Prisma error should be a problem only with Docker sometimes (e2b started via npm start) if you follow the Development Setup it should not be a problem.
Also the npm start and npm run dev commands are not intended to be used at the same time - npm start is for running the whole setup via Docker and npm run dev for just running the e2b in a dev mode (but you need to install all the deps before with `npm run install:all).
If you started the setup via npm start you may have to stop it by npm run stop before using the Development Setup.

Ahh that's it! They are not intended to be used at the same time. Thanks!


docs: update README.md

I noticed ComponentOptions was duplicated and also it was missing type import for .md as well. Just placed it globally to avoid duplicated imports in both declare module.

I think it has to be in the declare module. You might just need to disable the eslint rule for that.


Swift 3

When do you think you will be able to support swift 3?

Would love this as well! I've just crossed over to swift 3 and now may have to look for a replacement if it don't come out soon!

i'll see if i can do it this week

What about swift 2.3, does current version support it?

Any advance on this?

I'm also waiting


Fixing some small typos

Two small changes on text section 5

@JuanMejiaVelez,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


UserWarning with TextRNN

Running into the following warning when using the TextRNN function:

UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "

The function runs quite slow with a larger dataset. Any advice would be helpful.

Hi @regoldman. The call to tf.nn.embedding_lookup throws this because the embedding table is a combination of a fixed Tensor and a Variable. It shouldn't significantly impact performance. The long training times you're seeing are likely just a result of running an RNN over long sentences on a large dataset. You can try reducing the maximum sentence length or the embedding size.


Backend toy data

To avoid needing a full-functioning backend for testing (some aspects of) the frontend, we need some way to generate toy data and transmit it to the frontend.
Requirements
Frontend

Window with a button, which when pressed, will tell the server to begin sending only toy data. Which data to send is TBD and will change as our features progress.
Include relevant information for the test in the sent message, such as "FPS: 120" to test the backend sending images at 120 FPS. Also consider resolution, loss metric updates, etc. Include as much as possible in the message to the backend for testing useful cases.
Include a Stop button to tell the backend to stop sending toy data

Backend

Listen for the message from the frontend instructing the use of toy data, or to stop sending data.
Once signaled for toy data, the backend should begin producing data at the requested frequency/resolution within the ServerController. May require threading.

Based on the results from this (after implemented) we may need to try different socket libraries or connection type (UDP/TCP). I believe the original GS code uses UDP which may be most appropriate, but the multiprocessing.connection library I'm using is TCP I believe.

Added DEBUG mode in backend and a way to enable it on the frontend through a button on a DebugWindow. This allows the user to test the frontend without needing CUDA, any datasets, or real training to take place.
With DEBUG enabled, the Dataset does nothing, and the Trainer's step() function will generate a random image output (noise shape [1024, 1024, 3]) with a random loss each time. On my mac at full speed, this only reaches about ~100 iterations per second. Hopefully the networking isn't limiting speed, and my mac is just slower.


More accurate splashRadius

Works with every rocket launcher, and changes the value if you are rocket jumping with the air strike. Only thing I am not 100% sure about is the air strike modifier being 0.8, but the value comes from the source code so it's probably right.

hoping this works cause i hate reviewing code!


CircleCI improvements

Generates lint reports, cleans config.
PagingWithNetwork failing: https://circleci.com/workflow-run/142cb9b2-5bec-4b8d-bd56-00bd4e960cdc

Failing sample fixed in #511

Rerunning tests with the fixed project...

There's no rebase button? merging then

We have proper CI :tada:
https://circleci.com/workflow-run/d1df5ec9-f28b-4536-a003-904ec665fb0f


Add bundles, skipDataMain and onNodeCreated

Added new APIs that have been added in releases since 2.1.8 til 2.1.20 or RequireJS

requirejs/require.d.ts
to author(@jbaldwin). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

@jbaldwin could you please take a look at this PR?

LGTM

thanks mate!


Paragraph breaks in texts

Longer texts have a logical unit "paragraph". A paragraph consists of several sentences.
How should paragraph breaks be modeled in CLDF?
I see three options:

use an empty line in the csv file to signal a paragraph break

lightweight, but mixes information on content with information on presentation. Some consumers downstream might be confused by empty lines, and some quantitative measurements might be off.

add a Boolean column paragraph_break. Default FALSE, but TRUE for the last sentence of a paragraph.

lightweight, probably robust, degrades gracefully. Programs not aware of the column can simply ignore it and should not experience difficulties.

have a separate table paragraph_breaks.csv

sentences.csv   5
sentences.csv   12
sentences.csv   23

would mean that paragraph breaks are to be added after then sentences 5, 12, and 23 of the file sentences.csv
explicit, but increased complexity

What about just adding a column Paragraph_ID to each sentence? The breaks are already some sort of visualization which exploits that there is some grouping present. So I'd prefer to add the grouping information to the data, not a visual cue.

so those would be numerical IDs, right? Otherwise, you would not know the order of paragraphs (unless you exploit the linear order of rows in the csv).
I suppose that this would work, but if ever a paragraph gets split into two for whatever reason, all IDs below will have to be incremented by one, which might lead to external references being screwed up. (Of course, the other options proposed would not have provisions for external references at all)

What advantages would Paragraph_ID have over Paragraph_break? Logically, Paragraph_ID would allow for discontinuous paragraphs. I see no use case for this, but one would have to check that these are not introduced by accident, which are additional lines of code.

You could use some combined IDs, e.g. text1-1. Then, splitting paragraph 1 might be done using IDs text1-1-1 and text1-1-2.

What advantages would Paragraph_ID have over Paragraph_break? Logically, Paragraph_ID would allow for discontinuous paragraphs. I see no use case for this, but one would have to check that these are not introduced by accident, which are additional lines of code.

I think the semantics of Paragraph_break are somewhat unclear. Does this mean the break is after the sentence - or before?

And you can explicitly define an ordering of sentences which belong to a text having a list-valued foreign key from a text row to the list of sentences.

I think the semantics of Paragraph_break are somewhat unclear. Does this mean the break is after the sentence - or before?

after. A better label would be Last_sentence_in paragraph.

I still feel that a shared Paragraph_ID and an ordering is really what we'd want here. If we zoom out from the typographical use case, what we are interested in is the grouping, right? I.e. we want to know which sentences belong together - rather than have an easy way to find "all last sentences in a paragraph across a text".

For me, this is really mainly typographical: where should a paragraph break with extra vertical space be inserted?
I see no research questions dealing with paragraphs, such as counting the number of sentences per paragraph and then doing quantitative analyses or so.
Both the Paragraph_ID solution as well as the Last_Sentence_in_Paragraph solution will allow people to extract all sentences belonging to a given paragraph.
For the typographical use case, Last_Sentence_in_Paragraph  is much easier. If it is there, add <p>. For the Paragraph_ID route, you would have to do some gymnastics: keep track of $oldID and see whether $currentID is different. If so, insert <p>.
For the "typological" use case, where you want to know which sentences form one paragraph, for the Paragraph_ID route, you do a simple query and group on Paragraph_ID. For the Last_Sentence_in_Paragraph,  you read all sentences and increment your counter when you hit Last_Sentence_in_Paragraph. This is slower as the sentences will have to be read one by one, but, as I said before, I do not really see this use case.
I do not mind either way, and this might actually be bikeshedding, so any solution will be fine for me.

Maybe we can just leave this to OTC, i.e. come up with some (not-yet-standard) solution in the OTC context, and see later whether it's useful in other contexts as well.

When thinking about specifying an ordering for rows in ExampleTable in the context of a TextCorpus it occurred to me, that this ordering could be done through a ordinal column - which might have different datatypes. E.g. one could use a list-valued column of integers, which could implement a hierarchical ordering:
[1, 1, 1] could be taken to mean "text 1, paragraph 1, line 1".
The standardized meaning of ordinal would just be: "Provides a total, sequential ordering of the rows in ExampleTable". But implementers like OTC could use the internal structure - i.e. the fact that one might use triples - for their own additional purposes.

This seems nice to me: Experience with text shows: it breaks down to some ordering of unclear size, just like the sectioning, where one can have different depths of subsections. So it corresponds to this need and ignores the problem of the depth one wants to allow for, etc.

One caveat with this proposal (at least for the time being) is that list-valued fields are currently always cast to strings in the SQLite database created by cldf createdb - with the usual problem that string representations of integers are sorted differently with alphabetical order ('9' > '10').

We may get around this by storing lists of values with non-string datatypes as JSON objects in SQLite, though.

We may get around this by storing lists of values with non-string datatypes as JSON objects in SQLite, though.

Was a relatively easy fix: https://github.com/cldf/csvw/issues/73

That comes in very handy for me, since I ran into these problems when using custom representations for partial cognate sets, which -- once represented as lists of integers -- lead to problems when importing from lingpy.

See https://github.com/cldf/cldf/tree/master/modules/TextCorpus#ordering


Batcher: Make the confirmation of successful messages more intuitive

This business with the indices is a relic of the SQS Stream driven version.  It's a bit tricky to untangle, so I've left it in place.
It might be easier to rewrite this later on when we no longer use that approach.

Originally posted by @paul-butcher in https://github.com/wellcomecollection/catalogue-pipeline/pull/2735#discussion_r1830861068
See also Slack

How it works:

Take a list of messages, use that to create a corresponding list of path strings
create selectors for all the paths, associate each selector with a position in the list
bundle up the selectors (the point of the batcher), associate each batch with a list of positions of paths in the list
try sending on each batch (again the point of the batcher), if it fails, return the list positions that fail
Iterate over the message list. If any message in the list has the same position as one of the paths that failed, remove that message from the output list
Finally, emit the successful messages (or rather, the messages that did not fail), which SQSStream will then delete from the input queue.
...
The way I think it should work, is that it could conceal the message within a generic, and pass that along a Flow  When it succeeds, it emits whatever succeeds.

The above statement about passing something along a Flow supposes that we continue using Akka for this, which currently looks a bit unnecessary and also contrary to the fast-start requirement of Lambda.


[SPARK-15472][SQL] Add support for writing in csv format in Structured Streaming

What changes were proposed in this pull request?
This patch adds support for writing in csv format in Structured Streaming:
1. At a high level, this patch forms the following class hierarchy:
                            <OutputWriter>
                                  ↑
                         CSVOutputWriterBase
                             ↗          ↖
(anonymous batch) CSVOutputWriter    (anonymous streaming) CSVOutputWriter
                                           [write data without using
                                              an OutputCommitter]

                         <OutputWriterFactory>
                             ↗          ↖
       BatchCSVOutputWriterFactory   StreamingCSVOutputWriterFactory

The streaming CSVOutputWriter would write data without using an OutputCommitter, which was the same approach taken by SPARK-14716.
2. To support compression, this patch attaches an extension to the path assigned by FileStreamSink.
E.g., if we write out using the gzip compression and FileStreamSink assigns path ${uuid} to the output writer, then in the end the file written out will be ${uuid}.csv.gz. This way when we read the file back, we should be able to interpret it correctly as gzip compressed.
This is slightly different from SPARK-14716.
How was this patch tested?
FileStreamSinkSuite is expanded to cover csv format:
test("csv - unpartitioned data - codecs: none/gzip")
test("csv - partitioned data - codecs: none/gzip")
test("csv - unpartitioned writing and batch reading - codecs: none/gzip")
test("csv - partitioned writing and batch reading - codecs: none/gzip")

Test build #60641 has started for PR 13705 at commit 9869f98.

I personally feel that it would be great if we can also support writing in csv, json, txt formats in Structured Streaming for the 2.0 release (I'd like to submit patches for json, txt very soon if possible).
@marmbrus @tdas @zsxwing please let me know what do you think and if you have any ideas to improve this patch, thanks a lot!

Test build #60641 has finished for PR 13705 at commit 9869f98.

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

Merged build finished. Test PASSed.

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

Test build #65635 has started for PR 13705 at commit 9869f98.

Test build #65635 has finished for PR 13705 at commit 9869f98.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test PASSed.

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

closing this in favor of SPARK-17924


Check to see if Crashlytics works with library projects

We would like to know if we have crashes in Gandalf but I'm not sure how Crashlytics works with a library included in another app. Can we setup Crashlytics to send us reports when a consumer gets a crash?

I'm not seeing any information on this in the Crashlytics support docs.

I've emailed a guy on the Crashlytics team, we'll see if it's something they support at all.

@btkelly did they confirm no support?

No response

No cookies?


First pass at documentation for running fullnodes

Some things aren't ready yet, specifically:

Specifying the persistent peers requires the node ID, which is determined by the public key of the node. This will need to be grabbed and filled in when we deploy the next testnet (and we should probably use the same key between testnet deployments to avoid needing to update the value in the documentation)
The genesis.json file is not available for the newest testnet deployment. We'll want to have these available at a constant well-known URL.

On (2), maybe we should just tell people to grab the latest genesis.json file from the testnets directory in the repo?


docs: Add missing updateAll example to withDataService interface examples (root & lib)

I remembered seeing withDataService after I read an article that did something like it. I was going to tweak this to use rxMethod for my own project, but then I realized the doc pages were missing updateAll.

Thanks Michael


appium node didn't start after start_grid_extras.sh execution

Hi guys,
First want to thanks for the a great job.
I am new to grid extras so not sure if it's realy issue.
Platform Mac 10.11.4
extras SeleniumGridExtras-1.11.8-SNAPSHOT-jar-with-dependencies.jar(hub and nodes)
I am using appium 1.5. Build it from sourse. Command to start it is: node ~/Documents/Appium
When I strat your jar and answer the questions (positiv answer for browser safari and Appium iPhone/iPad/safari). I see created start_grid_extras.sh and appium_node_4723.json(where I see start command node ~/Documents/Appium). When I run start_grid_extras.sh only regular nodes appears under selenium grid(regular I mean Safari browser).
If I run it manually like node ~/Documents/Appium --nodeconfig "path/to/appium_node_4723.json" it appears under the grid.
Is it ok ? I thought extras.sh should start appium node as well.
Second issue:
When I am running tests using Appium simulator safari(mobile web simulator) two configs for iPhon and iPad are redundunt cuase when I set browserName to iPhone or iPad appium throws error that browser name is not in the list. the only acceptable browsername is Safari
Let me know if you need more details.
BR,
Slava

Hi @Gordiievskyi ,
Yes, extras.sh should start Appium node. Probably you have one these errors in grid_extras.log file:
Cannot find module ...
Cannot run program ..., No such file or directory
The problem is that Appium start command should be an absolut path, don't use ~/.
About the second issue, Appium uses browserName to launch browser in mobile and only accepts safari, chrome, chromium and browser. So browserName capability can not be used to select appium grid node. You should use platform, version or applicationName capabilities.

sorry for delay in respond. Second issue:
When I set up the node Appium part asking me : will I test on Chrome, Chromium, safari, Browser, Iphon, Ipad. What option is for simulator ?  Firts issue is under investigation. I set path to /User/MyUser/Documents/Appium/ -> start_grid_extras.sh didn't appeared

Found what cause the issue downPollingLimit default value was 0
I've changed it to 120000 and test passes

start_grid_extras.sh wont appear after answering on the questions if autoupdate drivers

if I choose test on MAC safari and appium safari - any test for simulator will be executed as just browser without appium. That related to appium config there is no platfromName parameter

Also that's Appium off site saying that for simulator browserName = "Safari "https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/mobile-web.md

In Appium you can use 'safari' or 'Safari', but Selenium-Grid-Extras and SeleniumGrid only work with 'safari'. So if you use 'safari', it should work.

I start appium node that connects to grid extras hub with 'Safari' as browser name. Also if I use 'safari' for appium node and 'safari' for webdriver node then tests alweys run as webdriver

appium_node_4723.json

{
"capabilities": [
{
"seleniumProtocol": "WebDriver",
"browserName": "Safari",
"maxInstances": 1,
"version": "9.3",
"platformName": "iOS",
"platform": "MAC"
}
],
"configuration": {
"proxy": "com.groupon.seleniumgridextras.grid.proxies.SetupTeardownProxy",
"maxSession": 1,
"port": 4723,
"register": true,
"unregisterIfStillDownAfter": 10000,
"hubPort": 4444,
"hubHost": "HUB_IP",
"host": "NODE_IP",
"url": "http://NODE_IP:4723/wd/hub",
"registerCycle": 5000,
"nodeStatusCheckTimeout": 10000,
"appiumStartCommand": "node /Users/RGP-ODC/Documents/appium-1.5.1/",
"downPollingLimit": 5
}
}

node_5555.json
{
"capabilities": [
{
"seleniumProtocol": "WebDriver",
"browserName": "chrome",
"maxInstances": 3,
"version": "50",
"platform": "OS X 10.11"
},
{
"seleniumProtocol": "WebDriver",
"browserName": "safari",
"maxInstances": 3,
"version": "9",
"platform": "OS X 10.11"
}
],
"configuration": {
"proxy": "com.groupon.seleniumgridextras.grid.proxies.SetupTeardownProxy",
"maxSession": 3,
"port": 4446,
"register": true,
"unregisterIfStillDownAfter": 10000,
"hubPort": 4444,
"hubHost": "HUB_IP",
"nodeStatusCheckTimeout": 10000,
"downPollingLimit": 0
}
}
#!/bin/bash
/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/jre/bin/java -jar /Users/RGP-ODC/Documents/gridExtras/SeleniumGridExtras-1.11.8-SNAPSHOT-jar-with-dependencies.jar

I think the most common use is 'case 2': appium (browser name 'safari') and webdriver node (browser name 'safari'), but tests must have two capabilities: browserName 'safari' and version '9.3' or '9' to choose between mobile and desktop execution.
Another option is to use platform capability: browserName 'safari' and platform 'Mac' or 'OS X 10.11'.

version won't help fo some reason - those capabilities files I used for case 1,2,3(the only thing I've changed was browserName). Results were described.


Fix #2102 fix hidden object matrices

Note sure if this should be activated by default,
as this take longer to exporter (even if now, result is OK)

Note:

fbx doesn't handle it correctly neither
usd has "only visible" enable by default (not glTF nor fbx). But when disable this option, seems to export correctly

Removed from 4.2 milestone, to have more time to find / decide a solution


Relax Swagger Core 1.6.x OSGi constraints to allow usage of the Bean Validation API 1.1/2.0

Background
Currently, Swagger Core depends on javax.validation API v1.1, strict. The OSGi manifest correctly includes the javax.validation API range as part of Import-Package instructions set: javax.validation.constraints;version="[1.1,2)"
Problem
The javax.validation API v1.1 is superseded by v2.0 and is rarely used. The version range for OSGi deployments could be relaxed to include v2.0 as well: javax.validation.constraints;version="[1.1,3)".
 <Import-Package>javax.validation.constraints;version="[1.1,3)",*</Import-Package>

This is the only change in MANIFEST.MF (pretty minor) but it would actually relax the javax.validation version requirements and allow to use Swagger Core with Bean Validation 2.0 and/or with Jakarta artifacts inside OSGi container.
@frantuma this is backport of the https://github.com/swagger-api/swagger-core/pull/3445 to 1.6.x release branch. The latest Swagger Core 2.1.2 works like a charm.
Thank you!

@frantuma sorry for poking, mind please taking a look? thank you!

Yes, please relax the range to accept validation-api 2.x, guess no one still stick to 1.x and IMO there is no harm to do so.
Thanks!

thanks!


Sub-modules are broken on zip download

This will be completed through the removal of all build scripts from this repository. All sub-modules will be moved to the PFD/document creator.


Create Comment and Review Feature

For this feature,  you have to allow community users to leave comments, reviews, and ratings for games.

I think we need a database for this feature.


Is pretrained model availible?

python synthesize.py
RuntimeError: Failed to load checkpoint at logs-Tacotron-2/taco_pretrained/

Can't find where to download pretrained model in readme, i.e. I can't find model in this comment
https://github.com/Rayhane-mamah/Tacotron-2/issues/4#issuecomment-378741465
Here is some model:
https://github.com/Rayhane-mamah/Tacotron-2/issues/30
But looks like it's not compatible with master:
Using TensorFlow backend.
Running End-to-End TTS Evaluation. Model: Tacotron-2
Synthesizing mel-spectrograms from text..
loaded model at logs-Tacotron-2/taco_pretrained/model.ckpt-182000
Hyperparameters:
  GL_on_GPU: True
  NN_init: True
  NN_scaler: 0.3
  allow_clipping_in_normalization: True
  attention_dim: 128
  attention_filters: 32
  attention_kernel: (31,)
  attention_win_size: 7
  batch_norm_position: after
  cbhg_conv_channels: 128
  cbhg_highway_units: 128
  cbhg_highwaynet_layers: 4
  cbhg_kernels: 8
  cbhg_pool_size: 2
  cbhg_projection: 256
  cbhg_projection_kernel_size: 3
  cbhg_rnn_units: 128
  cdf_loss: False
  cin_channels: 80
  cleaners: english_cleaners
  clip_for_wavenet: True
  clip_mels_length: True
  clip_outputs: True
  cross_entropy_pos_weight: 1
  cumulative_weights: True
  decoder_layers: 2
  decoder_lstm_units: 1024
  embedding_dim: 512
  enc_conv_channels: 512
  enc_conv_kernel_size: (5,)
  enc_conv_num_layers: 3
  encoder_lstm_units: 256
  fmax: 7600
  fmin: 55
  frame_shift_ms: None
  freq_axis_kernel_size: 3
  gate_channels: 256
  gin_channels: -1
  griffin_lim_iters: 60
  hop_size: 275
  input_type: raw
  kernel_size: 3
  layers: 20
  leaky_alpha: 0.4
  legacy: True
  log_scale_min: -32.23619130191664
  log_scale_min_gauss: -16.11809565095832
  lower_bound_decay: 0.1
  magnitude_power: 2.0
  mask_decoder: False
  mask_encoder: True
  max_abs_value: 4.0
  max_iters: 10000
  max_mel_frames: 900
  max_time_sec: None
  max_time_steps: 11000
  min_level_db: -100
  n_fft: 2048
  n_speakers: 5
  normalize_for_wavenet: True
  num_freq: 1025
  num_mels: 80
  out_channels: 2
  outputs_per_step: 1
  postnet_channels: 512
  postnet_kernel_size: (5,)
  postnet_num_layers: 5
  power: 1.5
  predict_linear: True
  preemphasis: 0.97
  preemphasize: True
  prenet_layers: [256, 256]
  quantize_channels: 65536
  ref_level_db: 20
  rescale: True
  rescaling_max: 0.999
  residual_channels: 128
  residual_legacy: True
  sample_rate: 22050
  signal_normalization: True
  silence_threshold: 2
  skip_out_channels: 128
  smoothing: False
  speakers: ['speaker0', 'speaker1', 'speaker2', 'speaker3', 'speaker4']
  speakers_path: None
  split_on_cpu: True
  stacks: 2
  stop_at_any: True
  symmetric_mels: True
  synthesis_constraint: False
  synthesis_constraint_type: window
  tacotron_adam_beta1: 0.9
  tacotron_adam_beta2: 0.999
  tacotron_adam_epsilon: 1e-06
  tacotron_batch_size: 32
  tacotron_clip_gradients: True
  tacotron_data_random_state: 1234
  tacotron_decay_learning_rate: True
  tacotron_decay_rate: 0.5
  tacotron_decay_steps: 18000
  tacotron_dropout_rate: 0.5
  tacotron_final_learning_rate: 0.0001
  tacotron_fine_tuning: False
  tacotron_initial_learning_rate: 0.001
  tacotron_natural_eval: False
  tacotron_num_gpus: 1
  tacotron_random_seed: 5339
  tacotron_reg_weight: 1e-06
  tacotron_scale_regularization: False
  tacotron_start_decay: 40000
  tacotron_swap_with_cpu: False
  tacotron_synthesis_batch_size: 1
  tacotron_teacher_forcing_decay_alpha: None
  tacotron_teacher_forcing_decay_steps: 40000
  tacotron_teacher_forcing_final_ratio: 0.0
  tacotron_teacher_forcing_init_ratio: 1.0
  tacotron_teacher_forcing_mode: constant
  tacotron_teacher_forcing_ratio: 1.0
  tacotron_teacher_forcing_start_decay: 10000
  tacotron_test_batches: None
  tacotron_test_size: 0.05
  tacotron_zoneout_rate: 0.1
  train_with_GTA: True
  trim_fft_size: 2048
  trim_hop_size: 512
  trim_silence: True
  trim_top_db: 40
  upsample_activation: Relu
  upsample_scales: [11, 25]
  upsample_type: SubPixel
  use_bias: True
  use_lws: False
  use_speaker_embedding: True
  wavenet_adam_beta1: 0.9
  wavenet_adam_beta2: 0.999
  wavenet_adam_epsilon: 1e-06
  wavenet_batch_size: 8
  wavenet_clip_gradients: True
  wavenet_data_random_state: 1234
  wavenet_debug_mels: ['training_data/mels/mel-LJ001-0008.npy']
  wavenet_debug_wavs: ['training_data/audio/audio-LJ001-0008.npy']
  wavenet_decay_rate: 0.5
  wavenet_decay_steps: 200000
  wavenet_dropout: 0.05
  wavenet_ema_decay: 0.9999
  wavenet_gradient_max_norm: 100.0
  wavenet_gradient_max_value: 5.0
  wavenet_init_scale: 1.0
  wavenet_learning_rate: 0.001
  wavenet_lr_schedule: exponential
  wavenet_natural_eval: False
  wavenet_num_gpus: 1
  wavenet_pad_sides: 1
  wavenet_random_seed: 5339
  wavenet_swap_with_cpu: False
  wavenet_synth_debug: False
  wavenet_synthesis_batch_size: 20
  wavenet_test_batches: 1
  wavenet_test_size: None
  wavenet_warmup: 4000.0
  wavenet_weight_normalization: False
  win_size: 1100
Constructing model: Tacotron
initialisation done /gpu:0
Initialized Tacotron model.
  Tacotron Parameters       29.016 Million.
Loading checkpoint: logs-Tacotron-2/taco_pretrained/model.ckpt-182000
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
    return fn(*args)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: Key Tacotron_model/inference/CBHG_postnet/CBHG_postnet_highwaynet_1/H/bias not found in checkpoint
	 [[{{node save/RestoreV2}} = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1546, in restore
    {self.saver_def.filename_tensor_name: save_path})
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
    run_metadata)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Key Tacotron_model/inference/CBHG_postnet/CBHG_postnet_highwaynet_1/H/bias not found in checkpoint
	 [[node save/RestoreV2 (defined at /Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesizer.py:70)  = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Caused by op 'save/RestoreV2', defined at:
  File "synthesize.py", line 100, in <module>
    main()
  File "synthesize.py", line 94, in main
    synthesize(args, hparams, taco_checkpoint, wave_checkpoint, sentences)
  File "synthesize.py", line 36, in synthesize
    wavenet_in_dir = tacotron_synthesize(args, hparams, taco_checkpoint, sentences)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesize.py", line 135, in tacotron_synthesize
    return run_eval(args, checkpoint_path, output_dir, hparams, sentences)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesize.py", line 57, in run_eval
    synth.load(checkpoint_path, hparams)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesizer.py", line 70, in load
    saver = tf.train.Saver()
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1102, in __init__
    self.build()
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1114, in build
    self._build(self._filename, build_save=True, build_restore=True)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1151, in _build
    build_save=build_save, build_restore=build_restore)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 795, in _build_internal
    restore_sequentially, reshape)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 406, in _AddRestoreOps
    restore_sequentially)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 862, in bulk_restore
    return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/ops/gen_io_ops.py", line 1466, in restore_v2
    shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
    op_def=op_def)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1770, in __init__
    self._traceback = tf_stack.extract_stack()

NotFoundError (see above for traceback): Key Tacotron_model/inference/CBHG_postnet/CBHG_postnet_highwaynet_1/H/bias not found in checkpoint
	 [[node save/RestoreV2 (defined at /Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesizer.py:70)  = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1556, in restore
    names_to_keys = object_graph_key_mapping(save_path)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1830, in object_graph_key_mapping
    checkpointable.OBJECT_GRAPH_PROTO_KEY)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 371, in get_tensor
    status)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: Key _CHECKPOINTABLE_OBJECT_GRAPH not found in checkpoint

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "synthesize.py", line 100, in <module>
    main()
  File "synthesize.py", line 94, in main
    synthesize(args, hparams, taco_checkpoint, wave_checkpoint, sentences)
  File "synthesize.py", line 36, in synthesize
    wavenet_in_dir = tacotron_synthesize(args, hparams, taco_checkpoint, sentences)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesize.py", line 135, in tacotron_synthesize
    return run_eval(args, checkpoint_path, output_dir, hparams, sentences)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesize.py", line 57, in run_eval
    synth.load(checkpoint_path, hparams)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesizer.py", line 71, in load
    saver.restore(self.session, checkpoint_path)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1562, in restore
    err, "a Variable name or other graph key that is missing")
tensorflow.python.framework.errors_impl.NotFoundError: Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Key Tacotron_model/inference/CBHG_postnet/CBHG_postnet_highwaynet_1/H/bias not found in checkpoint
	 [[node save/RestoreV2 (defined at /Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesizer.py:70)  = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Caused by op 'save/RestoreV2', defined at:
  File "synthesize.py", line 100, in <module>
    main()
  File "synthesize.py", line 94, in main
    synthesize(args, hparams, taco_checkpoint, wave_checkpoint, sentences)
  File "synthesize.py", line 36, in synthesize
    wavenet_in_dir = tacotron_synthesize(args, hparams, taco_checkpoint, sentences)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesize.py", line 135, in tacotron_synthesize
    return run_eval(args, checkpoint_path, output_dir, hparams, sentences)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesize.py", line 57, in run_eval
    synth.load(checkpoint_path, hparams)
  File "/Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesizer.py", line 70, in load
    saver = tf.train.Saver()
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1102, in __init__
    self.build()
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1114, in build
    self._build(self._filename, build_save=True, build_restore=True)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1151, in _build
    build_save=build_save, build_restore=build_restore)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 795, in _build_internal
    restore_sequentially, reshape)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 406, in _AddRestoreOps
    restore_sequentially)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 862, in bulk_restore
    return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/ops/gen_io_ops.py", line 1466, in restore_v2
    shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
    op_def=op_def)
  File "/usr/local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1770, in __init__
    self._traceback = tf_stack.extract_stack()

NotFoundError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Key Tacotron_model/inference/CBHG_postnet/CBHG_postnet_highwaynet_1/H/bias not found in checkpoint
	 [[node save/RestoreV2 (defined at /Users/user/external_projects/text-to-speech/Tacotron-2/tacotron/synthesizer.py:70)  = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

+1 restoring from checkpoint failed with error "a variable name or other graph key that is missing"

Related https://github.com/Rayhane-mamah/Tacotron-2/issues/214

It would be really nice to have a pre-trained model available for download.


Quick start

Hi Lauri,
I didn't understand how to execute this part (on PowerShell):
Quick start
(set up two connected nodes and mine 1 block)
npm install
HTTP_PORT=3001 P2P_PORT=6001 npm start
HTTP_PORT=3002 P2P_PORT=6002 PEERS=ws://localhost:6001 npm start
Could you give me some informations more?
Thank you.

Hi
You will need to have nodejs and npm installed in order to run the naivechain.
After that you can start up a node(s) with the specified commands. The commands sets some environment variables for the node in a linux environment. If you use windows you may have to use some other format to feed the environment variables.

Hi
I am trying to test your blockchain, when i use http://localhost:3001/blocks in browser it shows the genesis block to me. but how can i add new block with my own data? i use http://localhost:3001/mineBlock but i got this: Cannot GET /mineBlock
can you help me to fix this?

Hi
You must use in the command prompt the command CURL as indicated in the README. md (no in browser).
And then in windows you must also give the command CURL in this different format for naivechain to interpret json without error:  CURL -H "Content-type: application/json" --data "{" data ": " Some data to the first block "}" http://localhost:3001/mineBlock
I hope I was helpful


Portal for WIS2

Need for a shiny portal for WIS2

What's the "portal" for?
Global Discovery Catalogue(s) will provide a "data discovery portal" -- allowing people to find the data they need (assuming they're not using normal search engines)
The Global Monitor will provide a dashboard indicating performance of all the WIS2 Nodes and Global Services; and data availability etc. Maybe this is the portal you're thinking of?

The portal here is not about technical stuff it is a "marketing" entry point to introduce WIS2 as well as providing links to ressources.
Something available at https://wis2.wmo.int

Based on discussion between @golfvert @kaiwirt @6a6d74 @antje-s we think the GDC will provide the “database” (repository), API, and metadata management function. The GDC won’t provide user-facing portals. The functionality of these will vary depending on the community requirements. We expect different communities to develop portals that meet their needs, e.g., the GDPFS portal which provides a view of the metadata for NWP products

@efucile : can you put some budget in making this web site ?

@efucile : can you put some budget in making this web site ?

I can put some budget on this


Fixes the permissioning test due to a typo in run_ganache.sh

There was a typo in run_ganache.sh which only set up one account for ganache-cli. This caused the permissioning test in semaphore.js to fail as it uses accounts[1]. This PR fixes that typo.

Closing as I think we should consolidate this fix into #25


Missing resume function

Hi @bch0w,
I noticed that the resume function is missing from seisflows.py on the developer branch. However, it is included in the 2.0.0 Seisflows release. Is there any reason for this?

Hi @evcano, in the transition from v2.0.0 to v2.1.0 (https://github.com/adjtomo/seisflows/pull/125), I overhauled the submit and resume system of SeisFlows, such that the newest version only really required a single submit function (a corresponding resume function would effectively be doing the same thing).
Now recognizing that this is an API breaking change I should have changed the version number to v3.0.0, as opposed to v2.1.0 (looking back, I actually wrote this in the release note of v2.1.0: https://github.com/adjtomo/seisflows/releases).
Do you think a resume function would be useful? I have had others comment that running submit to resume a workflow feels less intuitive. I could imagine a resume function having some more intricate state checking and log messages telling the User where they are resuming from. This is likely related to https://github.com/adjtomo/seisflows/issues/144

@bch0w Thanks for the detailed answer!
I do not think a resume function is  necessary if submit does the same thing. Adding the --RESUME_FROM and --STOP_AFTER arguments to submit could make the function more intuitive.
I saw #144 and I am interested to help on it. One functionality I would like is to revert back to a previous workflow task and resume from there. For instance, the inversion fails at PERFORM_LINE_SEARCH due to wrong smoothing of the gradient. Then user modifies the smoothing parameters, calls revert --POST_PROCESS_EVENT_KERNELS, and resumes the inversion using submit --RESUME_FROM POST_PROCESS_EVENT_KERNELS. Nonetheless, I understand this functionality can complicate things.

Agreed! Currently submit has --STOP_AFTER but not --RESUME_FROM, which would be useful if a User wanted to force the workflow to re-do tasks that had already been completed.
A revert function seems useful if it could undo changes caused by other tasks. In the past I have just used resume_from to start the workflow at a previous task and let it overwrite files that may have been created. This could cause issues during the line search though, where lots of files are updated at each step count.
I started addressing #144 in this branch but have been away from it since December so I'm not sure what progress I had made. Happy to have your help on improving this system to get things working smoother!
I think the biggest task in #144 that I wanted to complete was to checkpoint individual simulations. An example of this is if simulations 1-3 complete and simulation 4 fails, restarting the simulation task would require running 1-4 again. It would be great to find a way to checkpoint that 1-3 completed successfully and only 4 needs to be re-run. I thought about using the SPECFEM output_solver.txt file but perhaps their is a cleaner way to do that.

Thanks @evcano! Glad to have your help on this.
One issue I see with the RESUME_FROM_TASK approach is if simulation jobs are run in parallel, and they fail out of order, e.g., running 1-4 and 2 fails but 1, 3 and 4 succeed, then resuming from 2 will end up rerunning 3 and 4 unnecessarily.
Another possibility is to that once a submitted task succeeds, it writes to the state file its job id or event id. That will allow us to keep track of which specific events need to be re-run. That approach is a bit fragile because if the state file gets deleted or corrupted in any way, that information is likely not recoverable.

Closing this as complete, work on this task will continue in #144


Jamf CLI in Action Display Message/Display-Message-via-Dialog.bash

Note: While all requests are welcome, finding available cycles to custom-code a feature we won't use in our production environment is always challenging.

Is your feature request related to a problem? Please describe.
When I run the Display Message/Display-Message-via-Dialog.bash script in a Jamf Pro Environment, I cannot execute a CLI command into variable $11. For example, if I want to execute jamf policy -event triggername -verbose, the log returns:
The file /Users/<user-folder>/sudo jamf policy -event rollout-kandji -verbose does not exist.

Describe the solution you'd like
Support for the CLI would be much appreciated.
Describe alternatives you've considered
Tried putting the command between "" but that doesn't work.
Additional context
Add any other context or screenshots about the feature request here.

Correct, @kMikaZu; the open command is being executed as the currently logged-in user:
https://github.com/dan-snelson/dialog-scripts/blob/main/Display Message/Display-Message-via-Dialog.bash#L309


Peer Review 2/9/23

Expected .4 / .3
.1 - CPT outline and relation to FE/BE code.
.1 - Frontend UI demo.   UI takes inputs and validates for garbage, data cleans and is read by JavaScript.
.1 - Postman API Demo.  JSON Raw/Body formatted API passes inputs to backend and receives data from database.
.1 - UI and API work together and data is returned, displayed, and formatted in Browser.
Extra for now, required at end of project
.1 - Class Demo - Object Creation.  Tester method that shows creation of Objects and outputs to Terminal, illustrating the ability to test change without using Full Stack.
.1 - Python Demo - Model Init.  Show the creation and population of tables with database.   This requires you to delete sqlite.db file and see if it is regenerated with all tables and test data.

Grading for Evan

Name
Grade
Comment

CPT outline and relation to FE/BE code.
0.1
Showed the full outline with steps for each part

Frontend UI demo
0.1
The games for the project are complete and functional. All that's left is the frontend to backend connection

Postman API Demo
0.1
Showed "POST"  Request working and giving an output.

UI and API work together
0
The group is still working on the Frontend to Backend connection.


I'm gonna merge this now to fix CI on Windows. Not sure why the previous PR didn't go red...


enable amSkipLocalTriedResource  by default

Coverage increased (+23.6%) to 73.854% when pulling 955bae9160c77d862fca3c4926bd6f73ebe8df8c on changelauncherconfig into 799734c7b73ec880752a0f7a5808332750b98625 on master.


support podman ps filter regular expressions

Close #3394
bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1731107
podman ps --filter use regexp to match the container name.
Signed-off-by: Qi Wang<EMAIL_ADDRESS>

/approve
Thanks for the speedy response here

I wonder if we need more than this - we might need to use regexp matching for all filters? Should test against Docker to determine.

I think no other filters need regular expression after looking through the filters that in common with docker.

/lgtm


fix: export JSONRPCLog type

The JSONRPCLog type was not being exported and therefore could not be used when implementing logs-react

:tada: This PR is included in version 1.0.4 :tada:
The release is available on:

GitHub release
1.0.4
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Flash banners don't load

Hi,
First, I want to congrats you for this plugin. It's very usefull, simple and effective. But I tried to load flash banners and doesn't work.
The error is:

Did you know or plain to fix it?

I'm glad you've found this useful!
I haven't tried using it with Flash banners so I can't really help much. From the looks of the stack trace, you might be missing the FlashObject script which is used to detect Flash plugin support. It looks like that project has long been abandoned. You may want to switch to https://github.com/swfobject/swfobject or if possible, switch to HTML canvas or GIF images.


Build docker images for arm (aarch64)

Fixes #821

Description

This pull request:

Add another matrix item in the CI to build docker images for arm.

Pull request checklist

[ ] Did you test this change locally?
[ ] Did you update the documentation (if required)?
[ ] Did you add/update relevant tests for this change (if required)?

Additional information

How to test

@aktech this has been in WIP for a bit. Are you planning to continue to work on this PR?

Yes. The windows test failure is unrelated: https://github.com/conda-incubator/conda-store/actions/runs/9006701345/job/25302259825?pr=822
and the docker image build got stalled, needs to be re-triggered.

also, would need workflow trigger approval (potentially multiple times) to make it green

Updated branch to trigger workflows, let's see if we can get this merged.

This is ready for review, CI is green now.

@peytondmurray is there any reason not to approve this? I see you added the needs: discussion label.

Nope, I'll merge it now - that label as added so I could easily filter for it during today's meeting.


Interstellar 2

Hey @JensRavens I could really use a release supporting Swift 3 in order to publish the next version of my SDK. I have noticed it is only the swift test command that fails in travis, and I was wondering if it would be possible to make a release for Swift 3 support.
The reason I ask is that I cannot use a forked repo as a dependency in my Podspec and publish my own release to Cocoapods. Though I can specify sources in pod spec lint with the --sources=... argument, it is not possible to do the same with pod trunk push leaving my push to CocoaPods to fail.


connection error when using public did invitation

We used public did invitation well.
But, recent changes occur connection error.
  File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/protocols/connections/v1_0/manager.py", line 1103, in get_connection_targets
    targets = await self.fetch_connection_targets(connection)
  File "/Users/baegjae/src/aries-cloudagent-python/aries_cloudagent/connections/base_manager.py", line 340, in fetch_connection_targets
    label=invitation.label if invitation else None,
UnboundLocalError: local variable 'endpoint' referenced before assignment

Above is part of the error log.
I debugged and I found that below line makes error when using public did invitation.
https://github.com/hyperledger/aries-cloudagent-python/blob/3751b61d6774185bec42315ddb084ec44c219fd3/aries_cloudagent/connections/base_manager.py#L290
In here, connection.invitation_msg_id and connection.invitation_key were None when using public did invitation.
Therefore, if invitation.did: code not worked.
Thanks!

I think this one is for you @shaangill025

It works well now. Thanks!


Move id creation out of actor/reducer

When following along with the demo, I noticed that my ids were being recreated each time the app started, and they were never persisted.
I realized that this is because, like with redux, you can't define your ids in your reducers. They have to be part of the payload in the action creator from the beginning.
This was the most straightforward fix, although it's not as tidy.

Hi @scally. Nact doesn't have the problem that redux does in that regard. The persist function can save any arbitrary data, not just the exact message being passed in, which means that it is able to modify the create contact messages to include the id and save them. I believe you have found a legitimate bug in the example code, but it'd be better to solve it in the persist section:
msg.id = newContact.id;
if(!ctx.recovering) { await ctx.persist(msg); }

@ncthbrt Thanks for taking a look. I could have sworn I tried something like that already and it didn't work, but I'll look again.


CSP error in about:addons

I'm getting this message in the Thunderbird 38 error console, I guess because about:addons is open:

Error: Content Security Policy: The page's settings observed the loading of a resource at https://addons.mozilla.org/en-US/thunderbird/jsi18n.js?b=01ef2c4-56a7a899 ("script-src https://services.addons.mozilla.org https://www.paypalobjects.com https://apis.google.com https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://ssl.google-analytics.com https://addons.cdn.mozilla.net"). A CSP report is being sent.

Relates to #995

@kewisch thanks - that's a good catch.
The cause is that about:addons uses a different domain; the value of 'self' in CSP here is https://services.addons.mozilla.org and not https://addons.mozilla.org/ so the latter is being blocked.

Removing the blocks-release since csp will remain in report-only for a bit longer.

The fix for this will be in production this Thursday.

QA notes:
This should be testable on -dev and stage with the following disco pane hosts:
dev: https://addons-dev-services.allizom.org/
stage: https://addons-services.allizom.org/

When I load Tools-> Add-ons (pointing to dev), I see the promo module failing to load
CSP errors:
Content Security Policy: The page's settings blocked the loading of a resource at https://addons-dev.allizom.org/en-US/firefox/discovery/pane/account ("connect-src https://addons-dev-services.allizom.org https://sentry.prod.mozaws.net").
Content Security Policy: The page's settings blocked the loading of a resource at https://addons-dev.allizom.org/en-US/firefox/discovery/pane/promos/47.0a1/Darwin ("connect-src https://addons-dev-services.allizom.org https://sentry.prod.mozaws.net").
screenshot:
https://www.dropbox.com/s/q0ywyoplvhlydip/Screenshot 2016-02-03 17.09.36.png?dl=0
Since the issue summary refers to CSP errors in about:addons i just reopened this one even though it is a different error.

I think this might be a configuration difference between -dev and stage. I'll look into it.

Yep this is a config difference which explains why it's not seen on production.
For -dev it seems that the XHR requests are made to addons-dev.allizom.org which doesn't match 'self' for connect-src in the CSP config. However in production XHR requests are going via services.addons.m.o which does match 'self' which is why there's no warning for prod.
I think these can safely be ignored as they're not occuring in production, however it would be nice to change the setup for -dev and stage to be a better match to whatever we're doing in production.
@jasonthomas do we run different settings for services in prod?

Yes, the SERVICES_URL on dev and stage were configured to SITE_URL. PR open to fix this.

Ah brilliant, thanks jason.

@krupa ok with the settings update in place this should be fixed now for -dev if you'd like to re-try.

Going to close this on the basis that all issues should be resolved.

verified.


About Us Link Fixed. Assigned #523

Description
The About Us Link in Footer is fixed. It redirects to the about section in home page.
This PR fixes #523
Notes for Reviewers

Thanks @ishita80 , we will merge it soon!


External wake-up from deep sleep

Hi there,
Is there a way to enable wake-up from deep sleep mode using external wake-up using esp_sleep_enable_ext1_wakeup() (docs)?
This would allow to assign different actions based on button press by reading out the pin that was pressed with esp_sleep_get_ext1_wakeup_status().
I've tried creating a function that could handle this, but no luck so far:
int8_t PaperdinkDeviceBaseClass::deep_sleep_timer_button_multi_wakeup(uint64_t sleep_time_us, uint8_t gpio_num)
{
    // Turn off everything
    disable_everything();
    esp_sleep_enable_timer_wakeup(sleep_time_us);

    uint64_t ext_wakeup_pin_mask = 1ULL << gpio_num;
    esp_sleep_enable_ext1_wakeup(ext_wakeup_pin_mask, ESP_EXT1_WAKEUP_ANY_HIGH);

    Serial.printf("Timer wakeup after %lld us or button on pin %d", sleep_time_us, gpio_num);
    // Go to sleep
    esp_deep_sleep_start();

    return 0;
}

Setting the wake-up mode to ESP_EXT1_WAKEUP_ALL_LOW just results in looping because the button seems to be in low state by default. The docs also seem to suggest RTC peripherals should be powered and set to pullup, but I haven't had any luck with setting it manually:
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON);
//BUTTON_3_PIN
gpio_pullup_dis(GPIO_NUM_4);

I'm not that experienced with ESP32, C++ programming and this board in particular, so I might just try something that isn't supported by hardware or having a big oversight, please correct me if I'm wrong. If there is any alternative way to check for button pins that were pressed in setup() coming from deep sleep i'd love to hear about it.

You need the esp_sleep_get_ext1_wakeup_status method. There is no need of esp_sleep_pd_config or gpio_pullup_dis.
Check this:
/*
Method to get the GPIO that triggered the wakeup
*/
int get_GPIO_wake_up() {
  uint64_t GPIO_reason;
  int pin_id;
  esp_sleep_wakeup_cause_t wakeup_reason = esp_sleep_get_wakeup_cause();
  switch (wakeup_reason) {
    case ESP_SLEEP_WAKEUP_EXT0:
      DEBUG.println("Wakeup caused by external signal using RTC_IO");
      break;
    case ESP_SLEEP_WAKEUP_EXT1:
      DEBUG.println("Wakeup caused by external signal using RTC_CNTL");
      GPIO_reason = esp_sleep_get_ext1_wakeup_status();
      if (GPIO_reason > 0) {
        pin_id = round(log(GPIO_reason) / log(2));
        DEBUG.printf("Button PIN that triggered the wake up: %d\n", pin_id);
        return pin_id;
      }
      break;
    case ESP_SLEEP_WAKEUP_TIMER:
      DEBUG.println("Wakeup caused by timer");
      break;
    default:
      DEBUG.printf("Wakeup was not caused by deep sleep: %d\n", wakeup_reason);
      break;
  }
  return 0;
}

It works only with esp_sleep_enable_ext1_wakeup and not esp_sleep_enable_ext0_wakeup (or the standard method in library).

Cheers, thank you for this snippet.
The real challenge I stated is putting the board in deep sleep for ext1 with esp_sleep_enable_ext1_wakeup so i'm able to read out a pin. Doing what you're describing would be the next step, atleast if I don't misunderstand.
Do you have any pointers on how to proceed with putting the board in deep sleep with ext1?

I think there is nothing in the library, but I've done this:
#define BUTTON_PIN_BITMASK 0x8004014

int8_t deep_sleep_timer_buttons_wakeup() {
  /* Sleep till update time.
   * Align updates to 12am so that date change aligns
   * with actual day change.
   */
  uint64_t sleep_time = (86400 / (UPDATES_PER_DAY)) -
                 (((Paperdink_Date.mil_hour * 3600) +
                   (Paperdink_Date.min * 60) + (Paperdink_Date.sec)) %
                  (86400 / UPDATES_PER_DAY));
    sleep_time += 1;
  }
  DEBUG.println("Turning off everything");
  delay(1000);
  // Turn off everything
  Paperdink.disable_everything();

  esp_sleep_enable_timer_wakeup(sleep_time * S_TO_uS_FACTOR);
  esp_sleep_enable_ext1_wakeup((uint64_t)BUTTON_PIN_BITMASK,
                               ESP_EXT1_WAKEUP_ANY_HIGH);  // 1 = High, 0 = Low
  DEBUG.printf("Timer wakeup after %lld s or button is pressed",
                sleep_time);
  // Go to sleep
  esp_deep_sleep_start();

  return 0;
}

The BUTTON_PIN_BITMASK is the hex form of 2^BUTTON_1_PIN + 2^BUTTON_2_PIN + ...

This boils down to the exact same function I've put in the starting post.
After testing a bit more I think my issue comes down to the expectations I was having regarding the ext1 deep sleep. It just takes a lot longer than the ext0 deep sleep to be reactive to a (new) pin being pressed it seems in my case. It either processes it with a long delay, or queues up the pins pressed it looks like. Sometimes it does not react at all, until pressed again after a minute or two.
I'll do some more tests such as powering off completely and starting from scratch to exclude some other causes as to why it's so slow or else just accept it. But now at least I have some confirmation this is the way to go. Thank you :)!

@semyonsh Any other luck on this? I know it's almost a year old but I'm trying for the same thing, I think. Once I tried moving to ext1 nothing seems to work. ANY_HIGH just keeps restarting the device in a loop. I can't read any of the buttons at all this way. Checking if you figured anything on this. Thank you!

@semyonsh Any other luck on this? I know it's almost a year old but I'm trying for the same thing, I think. Once I tried moving to ext1 nothing seems to work. ANY_HIGH just keeps restarting the device in a loop. I can't read any of the buttons at all this way. Checking if you figured anything on this. Thank you!

Unfortunately not! I kind of gave up on this way of loading screens. Seeing the developer of the board also did not care to reply I suspected it just was not possible to do it this way or there is some kind of hardware limitation not allowing us to do it.

I appreciate the response! A shame to hear, but gives me some calm after pulling my hair. Thank you 🙏


Adding new XOR builtins function and testcase

Changes:

Adding XOR builtin function
Adding test cases
Few other text changes in builtins.html file for prettyprint. Maybe those texts are already changed but the document is not generated /updated after that. (These are auto changes, no change from my side)

Great, thank you! I am thinking if  and what would be the most logical functionality for and or and xor accepting blocks of values.


Identifiers hierarchical and deploymentEnvironment

Hello,
after I started to use identifier hierarchical this does not work:
 workspace {
 !identifiers hierarchical

model {
    user = person "User"
    softwareSys = softwareSystem "Software System"

    deploymentEnvironment Prod {

        DN1 = deploymentNode DN1 {
            softwareSystemInstance softwareSys
        }

        DN2 = deploymentNode DN2 {
            softwareSystemInstance softwareSys
        }

        DN1 -> DN2 "Hot stand by"
    }
}

views {
    theme default
    deployment * Prod {
        include *
    }
}
}

but this works:
workspace {
!identifiers flat

model {
    user = person "User"
    softwareSys = softwareSystem "Software System"

    deploymentEnvironment Prod {

        DN1 = deploymentNode DN1 {
            softwareSystemInstance softwareSys
        }

        DN2 = deploymentNode DN2 {
            softwareSystemInstance softwareSys
        }

        DN1 -> DN2 "Hot stand by"
    }
}

views {
    theme default
    deployment * Prod {
        include *
    }
}
}

How can it be done properly in hierarchical mode?

That should work, so I'll take a look, but you can do this as a workaround:
 workspace {
    !identifiers hierarchical

    model {
        user = person "User"
        softwareSys = softwareSystem "Software System"

        prod = deploymentEnvironment Prod {

            DN1 = deploymentNode DN1 {
                softwareSystemInstance softwareSys
            }

            DN2 = deploymentNode DN2 {
                softwareSystemInstance softwareSys
            }

            prod.DN1 -> prod.DN2 "Hot stand by"
        }
    }

    views {
        theme default
        deployment * Prod {
            include *
        }
    }
}

Thank you, workaround works for me.
Tested also with deeper deploymentNode hierarchies, relative does not work within deploymentEnvironments, absolute path works well.


Fix coverage badge

Using the following approach from coveralls for markdown.

Coverage remained the same at 70.514% when pulling e45a29349a500b914e213920d93ea15965e9183b on pragmaticivan:patch-1 into 984437a76bf650734b74498d77298b24531a5d89 on bitwalker:master.

Nice, thanks!


error when trying to mark as fixed

https://github.com/LaraBug/larabug-app/pull/118

Hi @Cannonb4ll this issue might need to update to be closed since the merge request already merged


🎉 4.0.0

ℹ About this release

Version: 4.0.0
Type: major
Last Release: 3.0.0 (3/31/2023, 4:47:45 PM) [?]
Commits to merge: 24 [?]

Build System

Deprecate node.js v14 / v17 (7a2de45)

⚡ BREAKING CHANGES

The node.js versions v14 and v17 are no longer maintained and are therefore no longer supported. See https://nodejs.dev/en/about/releases/ for more details on node.js release cycles.

📦 Development Dependencies

Update @sebbo2002/semantic-release-docker from ^2.1.0 to ^3.0.0
Update @semantic-release/changelog from ^6.0.2 to ^6.0.3
Update @semantic-release/npm from ^9.0.2 to ^10.0.3
Update @types/node from ^18.15.3 to ^20.2.5
Update @typescript-eslint/eslint-plugin from ^5.54.1 to ^5.59.8
Update @typescript-eslint/parser from ^5.54.1 to ^5.59.8
Update c8 from ^7.13.0 to ^7.14.0
Update eslint from ^8.36.0 to ^8.41.0
Update eslint-plugin-jsonc from ^2.7.0 to ^2.8.0
Update typedoc from ^0.23.28 to ^0.24.8
Update typescript from ^5.0.2 to ^5.1.3

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
Docker container (sebbo2002/vestaboard2mqtt:4.0.0)
v4.0.0

Your semantic-release bot :package::rocket:


Duplicate  in dom

Hi,
I have 2 element of  in dom like this:
...

I see i the browser the html but without style.
If i remove the second element and change the display to block
i see the html fine.
what causes the duplicate elemetns???

Hey @fadelguy I'm not sure, is this with the latest pull-down of the Repo without any changes?
It might of been something you changed/added, but it's tough to say.

@MarkPieszak , looks like I have the same problem when enabling Application Insights in azure portal for .NET Core and putting everything 'On'. Could you try to confirm this with your azure hosted demo application?


[MRG] Refactor renderer backend

Reference issue
Follow-up of #5822
What does this implement/fix?
This PR improves the management of the 3D backend and the _pysurfer_mayavi.py backend in particular. Also, it updates the tests in mne/viz/tests/test_3d.py so that the introduction of a new backend should be easier.

This pull request introduces 1 alert when merging cbdee84f3fe452665713604f120587afedc606ea into aa74f02c3be4e69963b78cf835af9b9e08a81a67 - view on LGTM.com
new alerts:

1 for Module imports itself

Comment posted by LGTM.com

Can you deal with the LGTM error? You can disable it with a # lgtm [py/import-own-module] on that line.
I agree it's useful to have this refactoring before trying to add a new backend. Once the skipping infrastructure is in place it looks good to me

This pull request introduces 1 alert when merging f17d358bbdd196a310ae239978ec18d7978722fa into aa74f02c3be4e69963b78cf835af9b9e08a81a67 - view on LGTM.com
new alerts:

1 for Module imports itself

Comment posted by LGTM.com

This pull request introduces 1 alert when merging 1e77e5aecf5051742b76ee85bc79f519c5ac24e0 into aa74f02c3be4e69963b78cf835af9b9e08a81a67 - view on LGTM.com
new alerts:

1 for Module imports itself

Comment posted by LGTM.com

It seems that LGTM is still complaining even after the # lgtm[py/import-own-module].

I changed it just to be # lgtm, hopefully that works. Also the comments might be delayed a bit.

This pull request introduces 1 alert when merging b26e78c9de7db8628e0552d4badd02850e0909a1 into aa74f02c3be4e69963b78cf835af9b9e08a81a67 - view on LGTM.com
new alerts:

1 for Module imports itself

Comment posted by LGTM.com

This pull request introduces 1 alert when merging b91cb640c20d66bdb0035c9cfbf99b44a1e5e39e into d3747b5d05f214eb3745492fcd2160bb596c1ce9 - view on LGTM.com
new alerts:

1 for Module imports itself

Comment posted by LGTM.com

This pull request introduces 1 alert when merging 400d10d5139739141e698b1b1b3c5ac511b47a9a into<PHONE_NUMBER>2264c43cdd489684418a35b2135fe4 - view on LGTM.com
new alerts:

1 for Module imports itself

Comment posted by LGTM.com

This pull request introduces 1 alert when merging 2dd3b03fb09634f5887b4cd83d066d233946f118 into<PHONE_NUMBER>2264c43cdd489684418a35b2135fe4 - view on LGTM.com
new alerts:

1 for Module imports itself

Comment posted by LGTM.com

@larsoner feel free to merge if happy

This pull request introduces 1 alert when merging af4ea630efcb6c41b8c13fc6f1b626a46cbe2b9b into 57bcaa877b896a4b7ccaca3207de81bf73e8b51b - view on LGTM.com
new alerts:

1 for Unused local variable

Comment posted by LGTM.com

Can we roll back the last three commits then merge?

(Trying to get mayavi not to crash can take a lot of work, and probably isn't worth holding up real progress with the vispy backend for it)

Thanks @GuillaumeFavelier I'll merge once the CIs come back happy, then hopefully #5925 can be a bit cleaner

I'm afraid codecov will still complain though

Yes I mean green other than that :)

+1

I did it in the vispy_backend PR but not in this one. I can add it in here yeah.

Let's merge this and make further changes in the VisPy PR

okay

Thanks @GuillaumeFavelier


⚠ Bofrost.de has degraded performance

In 97b804d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1056 ms

Resolved: Bofrost.de performance has improved in a1626fb after 30 minutes.


ConfigurationSection.Value docs are incomplete

The docs state "Gets or sets the section value."
This is only accurate if GetSection is called on a key that has a single value. If GetSection actually returns a configuration section, then Value will be null and the GetChildren extension method should be used to iterate over configuration contents.
ConfigurationSection
ConfigurationSection.Value
IConfigurationSection
IConfigurationSection.Value

@mairaw Can you take a look at this content?

This is ASP.NET Core ref. Tagging @Rick-Anderson and @scottaddie.

@Powerhelmsman  thanks for the feedback. Per the README at https://github.com/aspnet/ApiDocs
API PR's ( api/autoapi/... ) should not be made here. Changes to API documentation should be made in the source repository against the triple slash /// comments.

@mairaw Microsoft.Extensions.Configuration is not specific to ASP.NET Core. See https://github.com/MicrosoftDocs/feedback/issues/101, for example.
@Rick-Anderson No, this is basically the result of GetSection... I am referring to the Value property. See the links I provided in the OP.

@natemcmaster where can we open a bug on ConfigurationSection.Value

https://github.com/aspnet/configuration

@MV10  @haok answered

I'm pretty sure a sections can have children and a value at the same time

@mairaw  can you close this. If needed we can continue at https://github.com/aspnet/Configuration/issues/813


Allow passing of alias on "add-contract"

When running add-contract the contract deploys and adds to your flow.json. It would be nice if you could also set the aliases you wanted to set for the contract when running add-contract so that you could do something like this:
flow accounts add-contract ./HelloWorld.cdc --alias testnet:0x123

I think flow config add... should suffice for now


Add color support to emulated hue

Description:
Add support for colors in emulated hue. Now systems that set colors on hue lights can run against home assistant to set colors. Support was added by converting emulated hue from using the tuple (on, brightness) to a dict and updating related code so I could plumb colors through.
Pull request in home-assistant.io with documentation (if applicable): Potentially applicable? Should this be updated stating that emulated hue now supports setting color with (hue, sat) and transition time?
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hi @techfreek,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Yeah, I can do that

I'm having a lot of trouble figuring out how to test transition time, so I'm going to remove transition time and look into doing that in a separate PR

I've made the requested changes and all checks are passing. Is anything else blocking this?

Looks good!

I think this PR may have introduced a bug but I don't have a reliable way to reproduce it every time. I am confident it is something in the .92 release though because the problem disappears when I revert to .91.4
Starting in .92 I started experiencing a condition when I asked Alexa to turn a light on or off where she will say "There is a problem communicating with  please check its power and network connection" but the light will still turn on or off as directed. This only seems to happen sometimes, maybe 25% of emulated hue related commands will show this behavior. Again, I reverted my environment back to .91.4 and it hasn't happened since.

I have had the same issue in the past week or so (since upgrading). I'll revert tomorrow and see if that helps.

Please open an issue if you suspect a bug.
Merged PRs should not be used for enhancement discussion or bug reports. If you've found a bug it's ok to make a review with inline comments and link to an issue that reports the bug.
Thanks!


chore(workspace): tsconfig default hints

Our tsconfig was bloated as it is. Can you plz remove all the comments so we'll be able to compare oranges to oranges?
And what is the goal of this change?

Our tsconfig was bloated as it is. Can you plz remove all the comments so we'll be able to compare oranges to oranges? And what is the goal of this change?

I initialized the default tsconfig to keep the clear source descriptions for each property.
this could help better understand configuration in real time


double render after redirect in post request

Using turbo-rails 1.4.0. Unfortunately, when performing a redirect after a post request, the page is loaded twice:

This leads to flash messages not being displayed (because the first render clears it).
It's a completely normal link, except for the used method:
link_to "Logout", :session, data: {turbo_method: "delete"}

It's not in a turbo frame, and adding the turbo frame target "_top" doesn't change anything.
The controller action contains a redirect after handling the logout:
redirect_to [:new, :session], status: :see_other, notice: "Logout successful!"

I also tried with status 302 instead of 303, but it doesn't make any difference.

It seems it's caused by the changed assets reload magic (different layouts for guest/ user). Removed the reload magic from the stylesheet_link_tag and javascript_include_tag and the double rendering is gone.


MOBDOC-23 update antora structure

update docs structure

@finp Is this still valid? If so can you rebase it?

no longer valid


Add DNSSec parameter

Suggestion of adding a new function that checks a domain if DNSSec has been configured for a domain.
Name of function could be -IncludeDNSSEC
Ensure to include this in FunctionsToExport
Can be done using something like Resolve-DnsName and checking the returned object

This will be implemented in the next release.


This blocks the main thread leaving a blank screen

https://github.com/fayaz07/animated_splash/blob/30539bd9d0496a7a6f2cdcade706ba5e305364c3/lib/animated_splash.dart#L51

your splash logo will be shown until that methods gets executed


It's not possible to supply sessionToken if request is being signed by backend

Hi,
I have the following configuration
  <script type="text/javascript">
    $(function() {
      $('#fineUploader').fineUploaderS3({
          template: 'qq-template',
          request: {
              endpoint: "https://MY-BUCKET-HERE.s3.amazonaws.com",
          },
          credentials: {
              accessKey: "...",
              sessionToken: "...",
              expiration: "2015-05-06",
          },
          signature: {
              endpoint: "/my_end_point"
          },
          uploadSuccess: {
              endpoint: "index.html"
          },
          chunking: {
              enabled:   true,
              mandatory: true,
          }
      });
    });
  </script>

The headers that end up being POST-ed to the backend are the following
POST

image/gif

x-amz-acl:private
x-amz-date:Tue, 05 May 2015 15:11:11 GMT
x-amz-meta-qqfilename:600-animated.gif
/MY-BUCKET-HERE/9c061d9f-c743-4831-93cd-d4fd7cc72896.gif?uploads

Since x-amz-security-token is missing here, this never gets authenticated by Amazon. I tried plugging sessionToken in different places, e.g. into request but never managed to get it to work.
Also on a side note, for the example above, the header that gets sent to Amazon is
Authorization:AWS null:signture-goes-here. So it appears that credentials.accessKey does not get picked up because it considers credentials set to be incomplete without secretKey in it (which I don't want to put there, I want the request to be signed by backend). I am not sure if it's a bug or intended behavior.
I managed to get all of this working in one of two ways:

by supplying all 4 values into credentials
by having request.accessKey set and hacking JS code to set x-amz-security-token like this headers["x-amz-security-token"] = 'a string with my token'

Version: 5.2.1

All properties of the credentials option, other than accessKey are only intended to be used by client-side signing workflow. If you'd like to sign requests on your server, do not supply any credentials property other than accessKey in your options, and provide a path to your signature server.

@rnicholus I don't entirely understand how the workflow can work in case of a temporary credentials and if I want to use my own signature server. In this case there is no way to supply sessionToken and JS will never add x-amz-security-token header which will lead to AWS rejecting the request.

You can read more about the client-side upload/signing process on the associated feature page in the documentation. If you do not want to handle signing client-side with short-lived credentials, use the server-side signing workflow.

@rnicholus I don't want to do client-signing, my ultimate goal is to have server-side signing workflow. The problem I am facing is that there is no way to have server-side signing workflow function with temporary credentials because there is no way for me to provide sessionToken.
(also thanks for very quick replies!)

It's not clear why you would like to provide temporary credentials when your credentials are stored safely on your server and never exposed to the client.
If you'd like to change your credentials with the server-side signing workflow, you'll need to re-initialize Fine Uploader with a new access key.

@rnicholus
That's a good question, that's more of a company workflow thing. Devops provide us with a place where we can request temporary credentials when necessary and then we can play around with those. Once we have a working prototyple, devops creates a permanent key+secret, we store those safely and deploy (and at this point findeuploader will work perfectly fine).
So for production purposes the server-side signing workflow with temp credentials doesn't make any sense but for dev purposes this use case can have its applications in the development cycle (perhaps for large corporations only; I would image for smaller ones, it's easier to keep track of credentials without this complicated system).

@rnicholus if you are provisioning server keys via IAM instance profiles (AWS best practices), you must supply the sessionToken, which is currently not possible with fine-uploader.

@Jud Not being familiar with this workflow, it sounds like this could be solved simply by allowing the server to return this token as part of its response to Fine Uploader's signature request with the expectation that Fine Uploader will then include this token as a request parameter when communicating with S3. Is this correct?

@rnicholus If there was a way to pass through the x-amz-security-token header from the signature response, and have fine-uploader use it when communicating with S3, that would work.

I think this will be quite complicated to deal with server-side, as your server code will then need to reconstruct the policy document (for older browsers) or the headers string (for newer browsers that utilize the multipart upload API) in order to provide a correct signature, since x-amz-security-token must be accounted for when generating a signature.

...and the complexity of dealing with this server-side once v4 signatures are supported by Fine Uploader is much greater.

Running into this issue now when trying to upload from an EC2 instance that has credentials supplied via IAM instance profiles.
Ideally, should be able to provide the session token at Fine Uploader initialization (much like accessKey) (and maybe even dynamically to account for the case when a token may expire in the middle of an upload).

Since the secret key and access key should change in tandem would it make sense to have the signature endpoint return the accessKey? This would ensure each request was signed using the right secret-/access-key pair (I think).

Since the secret key and access key should change in tandem would it make sense to have the signature endpoint return the accessKey?

Yes, I think that is feasible. I'm less familiar with how this session token affect the signature. If it must be considered when signing the request and included as a header on the request to S3, that makes all of this more complicated. I'll need to look into this further before I start implementing a solution.

I don't know if this will be completed as part of 5.7.0, but I will certainly begin researching and planning changes to the library to address the workflows described here. This has become more of a priority as of late. The need to allow for a constantly changing STS token and access key is something we are looking at for our apps that use Fine Uploader internally as well. Associating an EC2 server with an IAM instance profile that contains a set of temporary credentials for signing the request does seem to be a best practice that is being adopted by others. Fine Uploader could very well be sending requests to a cluster of EC2 instances, each with a different set of temporary credentials. This means each signature request for a single file could require different set credentials for each chunk/request. It seems important for Fine Uploader to support this workflow.

I'm hitting this issue now as well.  And it's biggie.  Basically fineuploader has worked like a dream during development, running on local and dev boxes with non-temporary credentials.  But now that we're migrating to boxes with credentials provided by IAM roles, which are temporary and require the header and sessionToken, posts are no longer accepted by S3.
Has someone identified a workaround for this?  Hoping I just haven't tried everything yet.  Adding the token value via sessionToken doesn't work, the required header isn't sent as part of the request.
AWS docs discuss using temporary credentials at https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html#RequestWithSTS
Open to any and all suggestions

Just to confirm - the workaround detailed by @eugenebond in the case description does not work for you, @trauts2? There's an open pull request - #1549 - that aimed to address this to some degree, but it needs some attention and refactoring, and I'm not sure if it elegantly supports temporary tokens to the degree that I'd like to see.

I'm not sure I follow the workaround.  @eugenebond would you mind sharing the configuration that ended up working?  What is the 4th bit you added to the credentials block?
Personally my workaround is to not use the IAM Instance Profile until I have a good workaround.  I can get away with that for a while, but it would be great to get the plumbing working with temporary credentials since this is arguably weakening the security to put static credentials on boxes.

@trauts2
I haven't worked on this since spring 2015 and my memories are a bit hazy so apologies if something in my reply is inaccurate. From what I remember, the "4th bit" comment was about supplying all 4 of these http://docs.fineuploader.com/api/options-s3.html#credentials
My understanding is that Fineuploader's original intention is to have this flow used in cases when you want frontend to handle signing. You might not want to use this because of security implications.
In my case I wanted to use tmp credentials and backend signing approach. I don't remember finding a good fix for this and since, in my case, I had to work with tmp credentials in dev only, I think I ended up hacking something in fineuploader internals (since I anyway had an approximate idea where things were located after trying to debug it).

I'd very much like to have proper STS support in Fine Uploader, or support for temporary credentials with a server-side signing workflow. Unfortunately, I'm pulled in many different directions these days, and simply responding to support requests and bug reports takes the majority of my time. Also, I'm in the process of (slowly) creating a React wrapper library for Fine Uploader UI, so that is accounting for all of my FU dev time at the moment.
On top of that, I feel I need to make time to understand STS a bit better so that I am able to properly test support for this once the feature is complete. I see this as being a fair amount of work. Another dedicated maintainer would make this all go a bit faster.

it would be great to get the plumbing working with temporary credentials since this is arguably weakening the security to put static credentials on boxes

Completely agree. Unfortunately, there are quite a few other feature requests that have yet to be completed, in addition to this one. And, for the most part, I'm the only dedicated maintainer for this project. If this changes and someone else would be willing to come onto the project as a dedicated maintainer, we can make better progress. But being a maintainer is not a trivial amount of work, and requires an excellent understanding of HTML, CSS, JavaScript, HTTP, and S3.

Thanks for the details @eugenebond.
And @rnicholus no worries!  Fineuploader's feature set and quality make it seem like a small army has been working on it, hard to believe it's just mostly you.  Impressive, and I'm grateful.  I can get pretty far using on-instance credentials, and when support for temporary credentials makes it's way in (I'm using serverside signing) we'll use it then.

Thanks for the kind words @trauts2. It's always good to hear that my work on this project has been helpful to users. My employer will likely need support for temporary credentials w/ a server-side signing workflow in the near future as well, so this feature will likely make it into the library in the near future anyway.

@mgoodness I'm guessing/hoping your knowledge of STS/AWS temp credentials is greater than mine. Perhaps we could coordinate on implementation of this feature, since @Widen will likely need this support for all of our their products at some point anyway.

@rnicholus I'd be thrilled to help with implementation. My current knowledge of STS is exclusively on the ops/provisioning side of things, but I'll devote some cycles to learning the API when I'm back in the office next week.

Cool, thanks Mike. I'm mostly interested in being sure that I understand how to use STS properly in a real-world scenario, using AWS best practices. Let's talk next week. If anyone else in this thread is interested in contributing information about their intended use of STS/temp credentials, please let me know ASAP. Perhaps we can all chat at once.

Count me in if you think I'd be helpful. I just did a bit of a deep dive
into IAM instance profiles and at the very least can provide a working
testbed
On Wednesday, June 29, 2016, Ray Nicholus<EMAIL_ADDRESS>wrote:

Cool, thanks Mike. I'm mostly interested in being sure that I understand
how to use STS properly in a real-world scenario, using AWS best practices.
Let's talk next week. If anyone else in this thread is interested in
contributing information about their intended use of STS/temp credentials,
please let me know ASAP. Perhaps we can all chat at once.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FineUploader/fine-uploader/issues/1406#issuecomment-229258369,
or mute the thread
https://github.com/notifications/unsubscribe/AD0TaMH5JsGSFtjze9Qac_Jyz53A8Dzwks5qQf9OgaJpZM4EQYP9
.

Sorry everyone, it is taking longer than I thought to simply take some time to write up a list of requirements for this feature. I promise I'll add something here in the next week. Stay tuned.

Hey @rnicholus - this issue doesn't look like it's moved in the past few months. Is there any more information you need or help the community can provide to push this forward? Thanks!

Mostly time. I won't have time to participate in any features of this size for the next few months or so due to commitments that are popping up.

What is the status of this feature?  We are using federated identity pools and auth0.  We get an AWS credentials with the auth0 token.  Then pass the credential's access id to to fine-uploader, using zappa lambda signing endpoint.  All to upload to S3 buckets ... but get "access id" doesn't exit.  It sounds like the signature is missing additional sessionToken data required in the signature?  Thanks!

Perhaps my work on #1939 will be of some use here.


[Feature Request] Xmage support

Outside the project scope, but would probably save a lot of time and effort. connect to xmage api's (http://xmage.de/) then do computation off the interface.

Does an xmage API exist? I don't see anything about one on github.

https://github.com/magefree/mage/wiki/Developer-Notes should be most of it


Fix account add crash

As reported in #3606, it was the case that attempting to add an account could result in a crash. This fixes the problem by retaining the NSHostingController that holds the AddAccountsView view in a manner similar to how 48138b1 retained accountsAddLocalWindowController.

NOTE: This is a resubmission of #3670 which was merged to main by @vincode-io on September 18th, 2022. I see that this commit is no longer in main. (Perhaps because someone clobbered it with a force push?) I verified that this fix is still necessary and appropriate before resubmitting. Hopefully this be included in the next update!


simplifying the simple app gateway sample (tested)

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

Can one of the admins verify this patch?

:shipit:


Compilation error with Flutter web

Describe the problem you discovered
When we use the lib with flutter web, we have an error
../../../flutter/.pub-cache/hosted/pub.dev/deeplink_rpc-1.0.2/lib/src/codec.dart:19:24: Error: The getter 'gzip' isn't defined for the class
'DeeplinkRpcCodec'.
 - 'DeeplinkRpcCodec' is from 'package:deeplink_rpc/src/codec.dart' ('../../../flutter/.pub-cache/hosted/pub.dev/deeplink_rpc-1.0.2/lib/src/codec.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'gzip'.
    final rawPayload = gzip.decode(gzippedPayload);

Describe the solution you'd like
Find a way to gzip the payload with a flutter web compatible

Try the Brotli compression algorithm.


worldmap

kindly delete this branch a create a new pull request as there are two pull requests for world map and one this throwing error. Not sure which one.