About tls1.3 PSK and NewSessionTicket

I created a site using the tls1.3 protocol on nginx and enabled the early_data configuration as follows
ssl_early_data on;
proxy_set_header Early-Data $ssl_early_data;

I execute the following command and capture the package
openssl s_client -connect x.x.x.x:8082 -sess_out session.pem
openssl s_client -connect x.x.x.x:8082 -sess_in session.pem -early_data request.txt

A total of two requests were made. The first clienthello did not have the PSK extension field, and the second clienthello had the PSK extension and early_data extension, but I did not see the NewSessionPacket package. According to my understanding, the PSK information is in the NewSessionPacket package. , and then send the early_data packet with the PSK extension field next time, but I don't see NewSessionPacket, what is the reason?

Replenish:
first execution
openssl s_client -connect x.x.x.x:8082 -sess_out session.pem

When the command output looks like this:

According to my understanding, the PSK information is in the NewSessionPacket package. , and then send the early_data packet with the PSK extension field next time, but I don't see NewSessionPacket, what is the reason?

I'm not entirely clear what you are asking. The NewSessionTicket message is sent post-handshake and is encrypted. You won't see it in wireshark because of the encryption. All you will see is "Application Data".

Thanks for your answer. There was a problem with my understanding before. I thought that the newsessionticket was not encrypted. I verified that it was indeed encrypted in the applicaiton data. I can see it after decrypting the key log file of the browser.


Need confirmation on DTM IDCODE Values

Can you please verify the following values for DTM IDCODE amd DTMCS (DTM Control and status) ?
DTM IDCODE = 0x1000008B
DTM CS           = 0x00000071
We are trying to verify the values when accessed via jtag.

Your value for IDCODE matches what is hardcoded in the RTL.
Your value of DTMCS matches what I see in simulation - and you can see how it's driven here


Precompiled PVA Kernel Example

This example shows how to use NVIDIA Programmable Vision Accelerator (PVA) within a Holoscan application.
Authored by Mehmet Demircin, Wendell Hom and Soham Sinha

@tbirdso, I have updated the Holoscan version based on your comment:
https://github.com/nvidia-holoscan/holohub/pull/445#discussion_r1701027356

@mdemircin @sohamm17 I would suggest renaming the application to something more explicit maybe pva_video_filter? what do you think?

@mdemircin @sohamm17 I would suggest renaming the application to something more explicit maybe pva_video_filter? what do you think?

I think it is a good idea. Let me update the name.

@mdemircin @sohamm17 I would suggest renaming the application to something more explicit maybe pva_video_filter? what do you think?

I think it is a good idea. Let me update the name.

Renamed the app to "pva_video_filter"


Performance Issues on NVIDIA GTX1080

I trained the same ESPNetV2 on my GTX 1080 CUDA GPU for 10 class semantic segmentation. I did some modifications to code so it works for my 10 classes. Input image size was 640x480 I got an mIoU of 62% on validation which is really good. However I was expecting a greater performance but I got 52 fps as inference speed which is average of all samples[5:]. I wanted to know why there is a huge difference in performance claimed by paper(140 fps) and implementation(50fps) ?... this is how ran the code
python main.py --batch_size 10 --s 1.0 --inWidth 640  --inHeight 480 --max_epochs 350 --batch_size 32 --classes 10 --csvfile ~/data/Cityscape_v2/class_dict_grouped.csv --data_dir pwd
the last parameter I have added to train for my dataset.

You should not include the image reading and writing time, because those operations are slow. As a standard convention, none of the models report inference time with image reading and writing operations.

No sir I am not including them
    start_time = time.time()
    # run the mdoel
    output1 = model(input)
    time_taken = time.time() - start_time
    time_list.append(time_taken)

Do not include the first iteration because PyTorch has some initialization time

I removed the first 5 samples for profiling and still the average is 53 fps not increasing much!.

What version of cudnn and cuda are you using?

CUDA
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130
CUDNN version 7
libcudnn.so.7

Use below code to check cuDNN version. All versions does not have cuDNN optimized depth-wise convolutions.
import torch
torch.backends.cudnn.version()

import torch
print(torch.backends.cudnn.version())
7402

I assume you are using PyTorch 0.4+. COuld you try making following changes to your code and see what happens:
device=torch.device('cuda')
with torch.no_grad():
      for i, (input, _) in enumerate(val_loader):
            input = input.to(device=device)
            start_time = time.time()
            # run the mdoel
            output1 = model(input)
            time_taken = time.time() - start_time
            time_list.append(time_taken)

I also noticed that your GPU is different than the one we used.. so difference in speed is expected. Also, did you follow Implementation Note on the main page?

I did the changes you mentioned, however the fps is same. I understand that TitanX is faster. I thought some issue in implementation detail is causing this performance issue.  But this is too much difference in fps i.e I got almost 3x less speed, I was not expecting this...
Anyhow, thanks for quick response and support. You can close this issue sir.
Really good paper sir.
How can I contact you ? for more information ?


Delivery init with --local flag creates a build cookbook and config

When doing a delivery init with the local flag you still get a lot of Delivery the product sort of files. It seems like it would be really helpful to handle this different so we could push adoption of delivery CLI as a local workflow tool which leads into use of Automate.

@tas50 So you have indeed tried --local 🤔  I see where is this coming from, as the init command is very specific for the project initialization in Automate, I would like to know what are you trying to achieve so I can recommend something or fix if needed be.
For skipping the build-cookbook/config you can use the flag --skip-build-cookbook but if you do not have a .delivery/config.json it might not let you continue since this is a MUST have from the initialization point of view.
Another option is to use a custom generator, this could create a custom config.json and do more stuff that you require on the initialization of your project.
Let me know if you want to chat over zoom so I understand more what are you trying to do. ✌

If the comment didn't clarify things, I'll happy to re-open.


You banned me in the discord for jokingly asking if I could use this for fraud and I'm just curious...

You realise that it's OSS so like....I can just do it anyways right? Assuming I was serious. Anyways. Great tone recognition lol. Feel like if you're going to make a model OSS you can't be upset if people wanna use it for things you find not kosher :3

awww poor baby.

awww poor baby.

I mean, this was a question, not a complaint. Again, anyone can fork this :3


Dashboard: Improve Search Stories Perf/UX

Summary
This PR addresses performance issues detailed in #4054 by adding a a 300ms debounce to the input onChange handler which issues a Stories API Request.
Relevant Technical Choices

Added a 300ms debounce to the input onChange handler

User-facing changes

Better frontend performance when searching via the text input in the stories header

Testing Instructions

Verify that filtering/searching stories works as expected via the input box

#4054

We likely need to update the tests for
expect(setKeywordFn).toHaveBeenCalledWith('Hermione Granger');
Because of the debounced callback.


feat: Updated bin_thresh for LinkNet

We had set the same bin_thresh value as for the DBNet, which has a very different loss. This PR fixes that by setting a more appropriate threshold, which yields better evaluation performances!
Any feedback is welcome!

Actually, I had pushed that branch because it was chilling on my local environment. But I just realized those changes were already made in #745 and for some reasons Github is making it look like this PR changes something :thinking:
Closing this


Reference CAD location in Parts List for 3d printed parts

Problem: Right now, when looking at the CAD parts that are in various places in the repo, it can be difficult to understand if the part is needed, why it would be, and which part it is on the master parts list.
This can be solved a few different ways.

In the parts list, include the directory and file name for the STL file that it refers to
Include the reference number (ie S24) of the part in the stl file name
Create a README file for the CAD parts that includes reference number, description of part, location, etc.

As a meta-comment, we are considering moving from SolidWorks to OnShape. If you have ideas on how to achieve this with OnShape, if it still could be an issue, I'd love to hear it!

closing since no longer relevant with latest update


Last version 74.0b3 from October 2019

Is this project still active? If not, are there alternatives?

Sorry, the package version and last change-log entry in /usr/share/doc/nightly/changelog.Debian.gz confused me.
$ nightly --version
Mozilla Firefox 76.0a1

So everything seems to work as expected.

Sure, is active. This package is only downloader and unpacker of current firefox nightly archive in your default language.


Use readState exported by saltcorn, which works with UUID keys

see https://github.com/saltcorn/saltcorn/issues/2698

@glutamate Тоm, Thank you for your help!


Comparison with empty string results different results between validate_and_run and all

Hi!
Describe the bug
When I use validate_and_run and all with the following filter I have different results.
%Flop{filters: [%Flop.Filter{field: :company_id,op: :==,val
ue: ""}]}

With validate_and_run the resulting query is
SELECT c0."company_id" FROM ""company" AS c0 ORDER BY c0."created_at" DESC LIMIT $1
With all it is
SELECT c0."company_id" FROM "company" AS c0 WHERE ($1 AND (c0."company_id" = $2))
As you can see with validate_and_run the filter is ignored and it is not what I was expecting.
Versions:

Flop: 0.17.0
Elixir: 1.14.0-otp-25
Erlang: 25.0.4
Ecto: 3.8.4
Ecto SQL: 3.8.3

Thanks and keep up the good work!

This happens because validate_and_run/3 calls validate/2, which casts the parameters or Flop struct using an Ecto changeset. Ecto in turn sees "" as an empty value by default (see https://hexdocs.pm/ecto/3.8.4/Ecto.Changeset.html#cast/4-options), which means an empty string will result in nil when casting the value. nil values in filters are ignored by Flop, and hence you get a different query. all/3 on the other hand assumes that the given Flop is already validated.
We could change the behaviour of the validation changeset by setting the :empty_values option to [] here, but that would lead to complications when handling form submissions, since the value of an empty form input will be "", and in a filter form, you would usually want to ignore that.
So if you really need to compare a field with an empty string, you would want to be explicit about that, and that's why there is an open issue to change the emptyand not_empty filters to also interpret empty strings as empty values: https://github.com/woylie/flop/issues/225. Until that has been implemented, you would have to work around this by replacing the validate_and_run/3 call, run validate/3 and run/3 separately, and manipulate the result of the validate function before you pass it to run/3.

Thank you for your explanation!


Output test data

Created tests and implemented output to an output file.

Pulled to the wrong repo, sorry.


Import Problem

I am getting this error  while executing 'ng serve':
ERROR in Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 10:22 in the original .ts file), resolving symbol Ng2MaskModule in D:/GitWork/web-ui/node_modules/ng2-mask/build/ng2-mask.module.js, resolving symbol AppModule in D:/GitWork/web-ui/src/app/app.module.ts, resolving symbol AppModule in D:/GitWork/web-ui/src/app/app.module.ts
This is my package.json:
 "dependencies": {   "@angular/animations": "^4.0.2",     "@angular/common": "^4.0.2",     "@angular/compiler": "^4.0.2",     "@angular/core": "^4.0.2",     "@angular/forms": "^4.0.2",     "@angular/http": "^4.0.2",     "@angular/material": "^2.0.0-beta.3",     "@angular/platform-browser": "^4.0.2",     "@angular/platform-browser-dynamic": "^4.0.2",     "@angular/platform-server": "^4.0.2",     "@angular/router": "^4.0.2",     "@angular/upgrade": "^4.0.2",     "angular-utf8-base64": "0.0.5",     "bootstrap": "^3.3.7",     "core-js": "^2.4.1",     "crypto-js": "^3.1.9-1",     "hammerjs": "^2.0.8",     "jquery": "^3.2.1",     "lodash": "^4.17.4",     "material": "^0.1.1",     "md2": "0.0.19",     "ng2-device-detector": "^0.1.0",     "ng2-mask": "^0.5.2",     "ntypescript": "^1.201609302242.1",     "reflect-metadata": "^0.1.10",     "rxjs": "^5.1.0",     "systemjs": "^0.20.12",     "underscore": "^1.8.3",     "zone.js": "^0.8.4"   },

@deepakzoto Hi, you used old version 0.5.2 (it was corrupted version) . Please use last release. Now current version is 1.0.1


Added Nearby-Hospitals page.

#66
The nearby hospitals page needs a Google Maps API key. The API key must be generated from Google Maps Platform. For the Map to work, your API key must have these services/APIs enabled and also must have billing option enabled.

The API key must be placed in /js/hospitalmap.js in the place of API_KEY_HERE

Please mention the issue number with the link.
If you don't know how to create a link refer to this-
https://github.com/skpandey885/HealhUb/blob/main/Documentation/Publish-your-changes.md

Please mention the issue number with the link. If you don't know how to create a link refer to this- https://github.com/skpandey885/HealhUb/blob/main/Documentation/Publish-your-changes.md

added a link

What can we do to fix this?

What can we do to fix this?

I cant reveal my API as I have a personal project set up without billing.
There is currently only one fix for this, and that is to generate your own API key by creating a new public project set up in your Google Maps account.
This is the reason I asked for an API key from you. API keys should not be put in public repositories as they can be detected and misused by bots scraping github repositories for API keys. For now, it is best that you generate one of your own and then run it from the local machine. For the final production, I would suggest the use of environment variables in the hosting service. I hope you are familiar with using process.env usage.

Ok. Cool


Update from 8.4.3 to 8.5.0RC2/8.5.0 fails with error: 1215 Cannot add foreign key constraint

Update from 8.4.3 to 8.5.0RC2 fails with error: 1215 Cannot add foreign key constraint.

The table does have the wrong collation. i guess it’s utf8mb4_unicode. change it to utf8_unicode (like all the others) and be sure it’s also InnoDB.

Am 04.03.2019 um 22:14 schrieb mikeda37<EMAIL_ADDRESS>Update from 8.4.3 to 8.5.0RC2 fails with error: 1215 Cannot add foreign key constraint.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

  I have changed the collation and the update succeeded!
I have believed utf8mb4 was fine.  Thanks!

Once the updating has succeeded after changing the collation from utf8mb4_general_ci to utf8_general_ci, but the second try was faild.  I also have tried updating to 8.5.0 with the collation of utf8mb4_general_ci and utf8_general_ci, both of those collation failed with the same error.

It seems that your upgrade broke half way.
You can try to fix it with this CLI command:
./concrete/bin/concrete5 c5:database:charset:set utf8mb4_unicode_ci --force

If the above command doesn't succeed (it's usually because you are using an old MySQL version), you can try with:
./concrete/bin/concrete5 c5:database:charset:set utf8_unicode_ci --force

(On Windows, replace / with \)

I tried those commands when the error occured but nothing changed...
The MySQL version is 5.7.21.

I experienced the same but could fix the issue following @mlocati's advice.
I did a DB backup before the failed upgrade and reverted to that before running the commands. After reverting the DB backup, I ran the command in @mlocati's message after which I ran c5:update and everything worked correctly.

@ahukkanen,
Thanks for the information.  Let me confirm the procedure.
Is this correct?

make a DB backup
do a failed upgrade
revert DB to the backup
run the @mlocati's commands
run c5:update

@mikeda37
Failed update is by no means necessary.
I would suggest:

Make a DB backup (as you would anyways always do before an upgrade, with no exceptions)
Update the core code (either with composer or by replacing the concrete folder)
Run @mlocati's command (first one was enough for me, second one may be needed in some occasions as @mlocati suggests, choose which one best suits your situation)
Run c5:update

@ahukkanen
Thanks for your reply.  Unfortunately I got the same result.  I did like this:

Place a new version concrete folder in the updates folder (because there already are previous updated folders there)
Run c5:database:charset:set utf8mb4_general_ci --force (it seems nothing happens.  I also tried utf8mb4_unicode_ci, utf8_general_ci, utf8_unicode_ci )
Click "Install Update" button in /dashboard/system/update/update (c5:update seems nothing happens)

Is your DB collation "utf8mb4_unicode_ci"?  Mine is "utf8mb4_general_ci".
How long does it takes running @mlocati's command?  Is there any succeeded message?

Place a new version concrete folder in the updates folder (because there already are previous updated folders there)

That's not correct. Read the Replacing the original concrete Directory (Version 8 and above) section at https://documentation.concrete5.org/developers/installation/upgrading-concrete5

Run c5:database:charset:set utf8mb4_general_ci --force (it seems nothing happens.

No messages are displayed at all? Could you post a screenshot of your terminal?

Sorry for the late reply.  Thanks that your advise could fix the issue.
After doing Replacing the original concrete Directory (Version 8 and above), running "c5:database:charset:set utf8mb4_general_ci --force" command output lots of messages "converting table ..."
So far I have been doing Manual Dashboard Update and I got no message at all with the c5:database:charset:set command.  Is Manual Dashboard Update a deprecated method?

Is Manual Dashboard Update a deprecated method?

Nope. Replacing the concrete directory is just the fastest and easiest way to update concrete5.

Okay, I will adopt the Replacing the concrete directory method from now.
However, the "c5:database:charset:set" command also should work with the Manual Dashboard Update method, doesn't it ?

Sure!

Thanks, @mlocati!


Wrong screen resolution on sway/display scale 2

Description
neofetch reports screen resolution as 1920x1080 instead of 3840x2160 under sway when display's scale is 2.
Neofetch version
6.0.0 (Ubuntu 19.04 package)
Screenshot

~ swaymsg -t get_outputs
Output eDP-1 'Sharp Corporation 0x1476 0x00000000' (focused)
  Current mode: 3840x2160 @ 59.997002 Hz
  Position: 0,0
  Scale factor: 2.000000
  Subpixel hinting: unknown
  Transform: normal
  Workspace: 2
  Available modes:
    3840x2160 @ 59.997002 Hz

Config file
n/a
Verbose log
https://pastebin.com/nTke2aAZ

I'm also seeing the scaled resolution instead of the actual. It's reporting 3072x1728 when it's actually
3840x2160 at 125% scale.
neofetch 6.0.0
Fedora 31 / GNOME / Wayland session


Pretty print option in Closure Compiler

 Issue by georgy7
Friday Sep 22, 2017 at 16:03 GMT
Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/150

Hello!
There is the option in Closure Compiler.
--formatting=pretty_print

I was wondering if you may be able to add it to the plugin options.
With newlines in code it's much easier to find JS errors in production.

Added.


CORS OPTIONS headers not working when using a remote server

Hi.
I'm currently using wiremock on a remote server outside my network.
Using the current configuration for the OPTIONS method like:
{
  "priority":10,
  "request": {
    "method": "OPTIONS",
    "urlPattern": ".*"
  },
  "response": {
    "status": 200,
    "headers": {
        "Content-Type": "application/json",
        "Access-Control-Allow-Origin" : "*",
        "Access-Control-Allow-Methods" : "*",
        "Access-Control-Allow-Headers": "Accept, Content-Type, Content-Encoding, Server, Transfer-Encoding, X-Requested-With, X-Authorization",
        "X-Content-Type-Options" : "nosniff",
        "x-frame-options" : "DENY",
        "x-xss-protection" : "1; mode=block"
    }
  }
}

works perfectly if I'm connecting from the same network.
After uploading the same mapping files to a remote server, I'm getting this error message:

XMLHttpRequest cannot load http://my_remote_server:port/api/endpoint. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://my_local_ip:local_port' is therefore not allowed access. The response had HTTP status code 404.

I currently solved it by duplicating my request mappings, changing the method to OPTIONS and deleting the response leaving only a status 200.
Is there any way to get CORS working without this dirty workarounds?

As per the readme please post questions to the mailing list.
Also suggest posting a bit more detail about how you're calling the endpoint and how you loaded the mappings into the remote server.

OK not making any more questions.
I uploaded all my wiremock folder (including __files, mappings and a custom response folder for static response files) to the server.
Running the server using java -jar /opt/wiremock/wiremock-standalone-2.6.0.jar --port 8090  --verbose
No firewall issues detected as the request  gets to the server, but goes directly to the error endpoint:
{
  "priority":10,
  "request": {
    "method": "ANY",
    "urlPattern": ".*"
  },
  "response": {
    "status": 404,
    "jsonBody": {"status":"Error","message":"Endpoint not found"},
    "headers": {
      "Content-Type": "application/json"
    }
  }
}

The calls are being done through a Ionic app, using Angular. I'm debugging the app through the browser. No issues either in the browser.
Please point me out if there's any other information you require to attend the issue (ignore the question about dirty workarounds).
Thanks!

Even I am facing the same issue

+1


Handle expected exception

Is it possible to write tests where specific exception is expected, like using @Test(expected = UnhandledException::class) from JUnit ?
Thanks!

For now you definitely can use plain try/catch check inside of it {}

If you use https://github.com/npryce/hamkrest you can do:
assertThat({throw ExampleException("testing")}, throws<ExampleException>())
// negation
assertThat({ /* do something */ }, !throws<Throwable>())

One of Spek's transitive dependencies is kotlin-test which has assertFails and assertFailsWith:
assertFailsWith<IllegalStateException> {
    check(false)
}

See kotlin/kotlin/test/TestAssertions.kt and kotlin.jvm/kotlin/test/TestAssertionsJVM.kt.


Code attribution to MolSkill

Hi @rneeser, many thanks for open-sourcing this!
I've noticed that many of the parts of the repo contain very few modifications from more or less equivalent code available on MolSkill, (e.g. fsscore scorer vs molskill scorer).
While MolSkill is MIT-licensed, it would be nice if you added comments in the files/functions/classes that were adapted from or inspired by it. Something like:
# adapted from (link from molskill repo)

Thanks!

Hi @josejimenezluna!
Thanks for pointing this out! I added the code contribution remarks where it was missing so far. Let me know if you have more questions!
Thanks!


TypeError: undefined is not an object (evaluating 'InnerNativeModule.installCoreFunctions')

Description
ERROR  Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
ERROR  Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
Version
System:
OS: Windows 10 10.0.19044
CPU: (4) x64 Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
Memory: 11.07 GB / 15.89 GB
Binaries:
Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 28, 29, 30, 32
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 32.0.0
System Images: android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version     2<IP_ADDRESS> AI-203.7717.56.2031.7935034
Visual Studio: Not Found
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: ^6.3.1 => 6.3.1
react: 17.0.2 => 17.0.2
react-native: 0.64.0 => 0.64.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Output of npx react-native info
ERROR  TypeError: undefined is not an object (evaluating 'InnerNativeModule.installCoreFunctions')
ERROR  Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
ERROR  Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
Steps to reproduce
I run react-native run-android
Snack, code example, screenshot, or link to a repository

⚠	Missing Environment Information
ℹ	Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

System:
OS: Windows 10 10.0.19044
CPU: (4) x64 Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
Memory: 11.07 GB / 15.89 GB
Binaries:
Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 28, 29, 30, 32
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 32.0.0
System Images: android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Version     2<IP_ADDRESS> AI-203.7717.56.2031.7935034
Visual Studio: Not Found
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: ^6.3.1 => 6.3.1
react: 17.0.2 => 17.0.2
react-native: 0.64.0 => 0.64.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found

Any updates here...got same error.


Issues with pandas.SparseDataFrame

I just ran into some issues with feather and sparse pandas DataFrames (Python 3.5). feather.write_dataframe() doesn't raise exceptions but feather.read_dataframe() might drop values (both v0.2 and v0.3) or raise a ValueError (v0.2) / a FeatherError (v0.3):
>>> import pandas as pd
>>> import feather
>>> import numpy as np
>>> df = pd.DataFrame([[0,np.nan],[np.nan,1]]).to_sparse()
>>> df.info()
<class 'pandas.sparse.frame.SparseDataFrame'>
RangeIndex: 2 entries, 0 to 1
Data columns (total 2 columns):
0    1 non-null float64
1    1 non-null float64
dtypes: float64(2)
memory usage: 96.0 bytes
>>> df
     0    1
0  0.0  NaN
1  NaN  1.0
>>> feather.write_dataframe(df, 'test.feather')
>>> df2 = feather.read_dataframe('test.feather')
>>> df2
     0    1
0  0.0  1.0

The NaN values were dropped and row 0 and 1 merged into one row.
>>> df = pd.DataFrame([[0,1],[1,1]]).to_sparse(fill_value=1)
>>> df
     0    1
0  0.0  1.0
1  1.0  1.0
>>> feather.write_dataframe(df, 'test.feather')
>>> df2 = feather.read_dataframe('test.feather')

at this point v0.2 raises a ValueError:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/.../site-packages/feather/api.py", line 61, in read_dataframe
    return pd.DataFrame(data, columns=names)
  File "/.../site-packages/pandas/core/frame.py", line 224, in __init__
    mgr = self._init_dict(data, index, columns, dtype=dtype)
  File "/.../site-packages/pandas/core/frame.py", line 318, in _init_dict
    extract_index(list(data.values()))
  File "/.../site-packages/pandas/core/frame.py", line 5279, in extract_index
    raise ValueError('arrays must all be same length')
ValueError: arrays must all be same length

while v0.3 raises a FeatherError instead:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/.../site-packages/feather/api.py", line 58, in read_dataframe
    reader = ext.FeatherReader(path)
  File "feather/ext.pyx", line 214, in feather.ext.FeatherReader.__cinit__ (feather/ext.cpp:3704)
  File "feather/ext.pyx", line 55, in feather.ext.check_status (feather/ext.cpp:1666)
feather.ext.FeatherError: Invalid: File is smaller than indicated metadata size

Are sparse structures generally incompatible with feather-format? If so, maybe there should be at least a warning on feather.write_dataframe(), when a SparseDataFrame is provided. Or is it possible/sensible to make this work?
BR,
Jonathan

Well, they definitely are not tested! I would welcome a PR with test cases and a conversion from sparse to dense prior to writing to Feather format. I don't expect native support for sparse structures is on the horizon (unless a motivated person does the implementation work)

sure, please take a look

@wesm anything missing in #223 ? let me know if anything else is required.

Just one small issue and I can merge

done

might take a look @wesm ?

fixed by #223


Add types

Hi @sagi, I added a TS declaration file for this module. I'm not sure why the lockfile changed.

Thanks @thomastoye. LGTM.

Published under v0.0.15


ENH: Restore integer support for laplacian sharpening

Revert to using the a laplacian neighborhood operator over the recursive laplacian filter which requires real pixel types for input and output.

PR Checklist

[ ] No API changes were made (or the changes have been approved)
[ ] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[ ] Updated API documentation (or API not changed)
[ ] Added license to new files (if any)
[ ] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[ ] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

@ntustison This PR restores support for integer pixel types while removing the scaling when the UseSpacing flag is false. This uses the original neighborhood operator filter.
SimpleITK did instantiate this filter with integer pixel types.

Thanks @blowekamp .  I think I mentioned in the original PR that I had no preference other than this and the Laplacian filter be uniform in their possible input types.

This is the falling test on OSX:
https://open.cdash.org/test/1112051341
It appears unrelated. @dzenanz Can you please retriever just the AZP ITK.macOS build


Fix Issue 14097 - root/async.c: free after use

This is a patch by Ketmar Dark:
https://issues.dlang.org/show_bug.cgi?id=14097
The fix is to wait for all tasks to finish (as it is done in the posix version) before calling free().
This is my first commit to the DMD codebase, so I hope I am not doing anything wrong :)

unittest?

I am not sure how to test this properly as it is a threading bug. Any hints?

Ideally, when submitting a patch created by someone else, the --author option should be used indicate the real author of the patch. The person who submitted the patch is credited in the git history as the committer.

Sorry my mistake. I'll try to fix this.

@CyberShadow  I did a git commit --amend ... and git push --force is it ok now?

http://forum.dlang.org/thread/majvk0$a94$86@digitalmars.com#post-mak6ip:24a94:2488:40digitalmars.com

Yes, looks good, thanks. Anyway, it was not a problem or blocker, just a nitpick/suggestion.

Anyway, a good thing to know in the future ;)

I managed to successfully build my branch of dmd, druntime and phobos (master) on Windows, by following the guide at the wiki. However when I run the phobos unittests I get the these linker errors:
https://gist.github.com/ZombineDev/63adab1be1766e92ea21
Probably I have missed some part of the post-build configuration. Has anyone hit this issue before?

It can't find the import libraries, or snn.lib, the DigitalMars C library. Check the LIB setting in sc.ini.

Thanks for the tip. I fixed the issue, by basically copying the missing *.lib files from the 2.066.1 release to the %DM_HOME%\dmd2\windows\lib folder. After a bit of trial and error I got this output. I'm not sure if it really succeeded in running the unit tests, but I think it did because the on Auto-tester it interprets the same output as a success
My sc.ini looks like this:
[Environment]
LIB="%<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>LINKCMD=%DM_HOME%\dm\bin\link.exe

After a bit of trial and error I got this output. I'm not sure if it really succeeded in running the unit tests,

Yes, that looks fine.
This line's funny:

args[0] = '.\unittest.exe¤⌂.\unittest.exe¤⌂♫'

Culprit:
https://github.com/D-Programming-Language/phobos/blob/master/unittest.d#L92-L94
Why does it do that?

Yep, I was wondering the same thing. I think it may be because it was ran through cygwin's make.

Culprit:
https://github.com/D-Programming-Language/phobos/blob/master/unittest.d#L92-L94
Why does it do that?

printf expects null terminated string but it is passed a char[] cast to a char*
It should probably use fwrite(args[i].ptr, 1, args[i].length, stdout); instead.

@Safety0ff I think you are correct. However calling printf that way shouldn't be a problem as long as there's a null terminator at argv[i][$].
The bug may be somewhere in here but I won't be able to investigate the issue further during this and the next  week, because I'll have exams at my university. Perhaps you guys can look into this in the mean time.

That "bug" will never manifestate because dispose is only called after synchronizing with each file completion event in read. Maybe there should be an assertion in dispose, that read was called for every file or even simpler asserting that it was called filedim times.
Could anyone explain the purpose of spawning a single thread to read in multiple files?
With the added synchronization overhead it seems very unlikely to be faster. Changing the thread priority affects CPU time and shouldn't affect the result.

Does AsyncRead actually provide a measurable performance improvement?  Otherwise can we just get rid of it?

Does  AsyncRead  actually provide a measurable performance improvement?

I measured it on slow file systems, and yes, it does.

What do yo mean by slow file systems?

SD cards are slow filesystems, CDs are, USB drives, etc.

I'd also like to, once dmd is in D, parallelize the lexing and parsing.

Could anyone explain the purpose of spawning a single thread to read in multiple files?

Parallelizing file reads doesn't make them faster. But, lexing in parallel with reading files does make it faster.

Changing the thread priority affects CPU time and shouldn't affect the result.

What that does is cause the file reader to hurry up and block. Then, the lexer runs while the file I/O is blocked. Otherwise, the lexer is running while the file reader has work to be done, and it isn't really any faster.

SD cards are slow filesystems, CDs are, USB drives, etc.

ie. The least important media types.  I don't see much point in optimizing build speed for anything except SSDs/HDDs.

I'd also like to, once dmd is in D, parallelize the lexing and parsing.

That sounds much more useful, although we'll need a solution to the shared string table problem.  BTW in ddmd AsyncRead is currently disabled.

I don't see much point in optimizing build speed for anything except SSDs/HDDs.

Why remove it?

BTW in ddmd AsyncRead is currently disabled.

Why? It should be simpler in D.

Why remove it?

We should be removing complexity that doesn't pull its weight.

BTW in ddmd AsyncRead is currently disabled.

Why? It should be simpler in D.

It didn't autoconvert and I didn't bother porting it manually.  It's probably not hard to do, but why bother if it doesn't improve performance?

We should be removing complexity that doesn't pull its weight.

GDC disables AsyncRead because of cross-platform complications in it.  But IMO only targeting SSD/HDDs is a bad choice in todays market, eg: ARM. http://www.tinygreenpc.com/computers/media-players/minix-neo-x8-h-plus.html

Um, this is in the compiler, and you'll still be doing development work on a real computer.

ARM is a real computer.

And native compilers exist today for many server and embedded targets: https://packages.debian.org/sid/gdc-5

AsyncRead should be rewritten to:

use non-blocking I/O instead of threads (this should also fix portability issues)
read as many files at once as possible (maximize IO queue depth)

And native compilers exist today for many server and embedded targets: https://packages.debian.org/sid/gdc-5

Yes, but just because you can now use a native compiler instead of cross-compiling, that doesn't mean that you'll be doing the bulk of development work on them.

Yes, but just because you can now use a native compiler instead of cross-compiling, that doesn't mean that you'll be doing the bulk of development work on them.

Build farms, such as those used by Linux distributions will benefit the most, for sure.  (One day, it would be nice to get ARM working with the Autotester for GDC/LDC PRs).

We're talking about DMD, which doesn't even target ARM.  DMD's host platform is probably always going to be a desktop or a server with a HDD or SSD.
Hopefully in the future we'll refactor (D)DMD with parallelism in mind, and this will be fairly straightforward to implement.  But as I said - I haven't implemented AsyncRead for DDMD, and I'm not really planning to unless it's worth doing.

•use non-blocking I/O instead of threads (this should also fix portability issues)

This is a simple thread. Why should that not be portable?

•read as many files at once as possible (maximize IO queue depth)

I/O is physically not capable of reading multiple files at once, so this is pointless. It works fine to have one thread reading the files sequentially, and the main thread parsing the previous file while the next file is being read. It doesn't need to be cleverer than this.
BTW, this is how optlink achieves its speed.

This is a simple thread. Why should that not be portable?

Non-blocking file descriptors are part of UNIX and work without linking to additional libraries. Not so with threads.

I/O is physically not capable of reading multiple files at once, so this is pointless.

Totally wrong!

DMD doesn't and can't know where the files are on the physical disk. For platter drives, issuing as many reading commands at once allows the OS/controller to reorder the reads in sequential order, so the drive head has to do as little reading as possible.
If the files are on different physical drives (e.g. they're part of a cluster or RAID set), they CAN be read simultaneously.
Solid-state memory can read from multiple locations at once!

SATA has a queue depth of 32 operations!

This is a simple thread. Why should that not be portable?

It's less portable. Non-blocking file descriptors are part of UNIX and work without linking to additional libraries. Not so with threads.

There is no portable async file solution for UNIX, non-blocking file descriptors only work for network file systems.

I/O is physically not capable of reading multiple files at once, so this is pointless.

Totally wrong!

Yep, fastest way to read many files is to issue as many read commands as possible, the kernel will schedule disc access.
This could be very nicely modeled using async and futures.
Let's get back to the review though, it fixes a latent bug, but I don't agree with adding the WaitForSingleObject loop in dispose.

Ping. Change the patch and fix the bug?

#4653

IMO, the current API (of AsyncRead) is quite error-prone. It would be beneficial if a more general strategy for parallelism is employed throughout the compiler (not only async file reading, but for all tasks that can be processed independently) such as, for example, future/promises.
After the frontend development transitions from C++ to D I would like to help with this.

After the frontend development transitions from C++ to D I would like to help with this.

There is quite some work necessary to make this work, e.g. making the backend thread safe.
A future/promise based solution backed by some worker threads should indeed work nicely.

SDC gets this right.


Adaptive Expressions Float division

Is your feature request related to a problem? Please describe.
While microsoft/botbuilder-js#3527 is about fixing explicit floats, it doesn't address wanting to get a float as a return object from a division operation.
Consider the following expression: div(11, 2) the result would be 5. What if we wanted 5.5? As of the currently, I think it'd be impossible to achieve. div(11.0, 2) and even div(float("11.0"), float(2)) won't work, even with the microsoft/botbuilder-js#3527 fix. Even then, if those two situations were accounted for somehow, it wouldn't fix when we wanted to explicitly get a precise number from a division operation.
Describe the solution you'd like
A new prebuilt function I believe is the only solution. Something like divPrecise(11, 2, 2) where the last argument would be the number of decimal places to return. I believe the return object would have to be a string to accurately return the correct value. That function should return 5.50
Describe alternatives you've considered
I think extending the existing div function could work, but I don't think it would be backward compatible given the current tests that exist, e.g. div(5, 2, 2) where each argument is an additional division operation.
Additional context
Just that I am really liking this library, and hope that I can use it for this case. I'm happy to take a stab at this function, but since it's a decent amount of work, would like to have the core team validate that it's not already possible using other methods I may have overlooked.

@chrimc62, @Danieladu makes a good point about difficulties inherent to the language. We would have to detect this at a higher level in the processing pipeline before strings are converted to numbers (see StackOverflow suggestion for detecting 11.0). I can imagine this is a fairly large change. Are any of the approaches @garypretty suggested suitable?

Reviewed by the SDK team. Closing as Not Needed.

I find that this is a major bug, which should be fixed.
We are not able to precisely divide two numbers (!)
I have searched 3 hours for a possibility to divide two integers and get a precise result with a comma.
I cannot believe that this is actually not possible with adaptive-expressions.
There is no possibility...

... to create custom functions with adaptivecards-templating
... to divide precisely with standard functions

For the SDK team it may be Not Needed.
But for the users of this package it is very much needed.

hi @MatthiasGwiozda  sorry for the capability that the library could not provide the function what you need.
As a workaround, you could inject your custom functions into the library by yourself, such like this:
Expression.functions.add('contoso.sqrt', (args) => {
            let result = null;
            if (args[0] !== undefined) {
                const inputFloat = parseFloat(args[0]);
                result = Math.sqrt(inputFloat);
            }

            return result;
        });

the above code would inject a user's sqrt function with function name "contoso.sqrt", and the usage is simple,
contoso.sqrt(xx)

Hi @Danieladu. Thanks for your fast response.
custom Functions are not an options for us.
we are using adaptivecards-templating. And adaptivecards-templating is statically importing only the standard functions from adaptive-expressions.
This problem is described here: https://github.com/microsoft/AdaptiveCards/issues/6133
This means for us that we have to programm our own "adaptivecards-templating" logic just to implement the divPrecise function.
This is a lot more time consuming than it should be.

You could use the workaround if it is necessary.
For example if you want to keep 3 decimal places
float(concat(string(div(a, b), '.', mod(div(a*1000, b), 1000))))

@MatthiasGwiozda  Thanks. I have raised a PR in doc to show the difference and provide the workaround.

Hi!
I've used the provided workaround, but it doesn't work pretty well with divisions where the first decimal digits are zero.
For example:
1/11 should be 0.0909 (with 4 precision digits), but with the given workaround, the result is 0.909
But I found a way to solve it:
float(concat(string(div(a, b)),'.', join(select(range(1, decimal_places), exp_n, mod((div(div(mul(a, exp(10, decimal_places)), b), exp(10,(sub(decimal_places, exp_n))))), 10)), '')))

You will need to define decimal_places and set it to the number of decimal places you want.


Merged some of the patches from the old GTest project.

I did not merge the changes to the .travis.yml files because I have no clue about travis. I can not tell if this is needed in the new package.

@Knitschi Thank you! Just for the record, relates to https://github.com/hunter-packages/googletest/issues/3.


fix: fix the coverage bandge

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

GitHub release
v1.0.1

Your semantic-release bot :package::rocket:


How to only output to stdout and not to file

Note that I did try pathName=None, but it still tries to open it.
And will it still give significant time improvement?

Are you sure?
If you do this then it still tries to open a file?
from fastlogging import LogInit
logger = LogInit(console = True, colors = True)

Are you sure?
If you do this then it still tries to open a file?
from fastlogging import LogInit
logger = LogInit(console = True, colors = True)

yeah

Good catch. I've solved this issue with new version 1.0.0 which you can get from this site. I'll update pypi a bit later.
Thank you for the bug report.


Keep WebSockets alive and reuse them between Contract calls.

some things about the existing API and it's usage in seabug:
it looks like for each transaction we're bootstrapping new websockets, the api should be such that we kind of keep websockets alive and pass them into the new readerT when we run a new CTL function.

Isn't it possible to keep the entire application in Contract? We can liftAff so technically it's possible.

Also, I think it's possible to reuse the websockets, since they are stored in ContractConfig:
  cfg <- defaultContractConfig
  runContract_ cfg foo
  runContract_ cfg bar
  ...


Poor performance of discriminator on different GAN

I am using a different GAN repo (specifically rosalinity stylegan2 repo) and I intend to use the projected discriminator in this repo instead. I am generating faces at 256 resolution, in the range of [-1, 1] and these are my hyper params for the discriminator
`discriminator = ProjectedDiscriminator(
backbones=['deit_base_distilled_patch16_224', 'tf_efficientnet_lite0'],
diffaug=True,
interp224=True,
cout=64,
expand = True,
proj_type = 2,
num_discs = 4,
cond=False
).to(device).train()
discriminator.feature_networks.requires_grad_(False)
d_optim = optim.Adam(
discriminator.parameters(),
lr=2e-3,
betas=(0., 0.99),
)
`
I did not use the discriminator image blurring trick described in the paper, I use standard non saturating GAN loss with no regularization.However the training crashes from the very beginning.

Am I missing something to make it work?

It will not work on Stylegan2 without any changes. My suggestions are to use blurring , adjust the learning rate, and use the StyleGAN 1 architecture without skip connections.


Unable to fetch details on Android 10+

Preserve legacy external storage for API level 30 and higher.
Code cleanup of Main Activity
Fixed typos in MainActivity
Added .idea folder in .gitignore

Good work!


Styled the Zoom slider and zoom controls.

Tested in Chrome and Firefox....
will test in MS Edge....
Colors and sizes are VARs. Documentation to come at a later date

@jjmulenex looks great, I pushed up a commit to fix the build.
btw, I think we can get rid of this section now or not? I've removed it but let me know if that was not a good idea.
/** some OpenLayers styling tweaks */
.ol-control {
  button {
    background-color: #f1f1f1;
    color: #333333;
    border: solid 1px $divider-color;
    border-radius: 10px;
    margin: 0;
    &:hover {
      color: #f1f1f1;
      background-color: $divider-color;
    }
    &.active {
      background-color: $divider-color;
    }
    &:focus {
      color: #333333;
      background-color: #f1f1f1;
    }
  }
}

Coverage remained the same at 98.57% when pulling 491f8b2c6a92d6bf2e00e6a35ab27b3c9cd88ec5 on jjmulenex:feature/zoomSlider into a757fa4ef9000febfda5adc8b53ca729176f089b on boundlessgeo:master.

Coverage remained the same at 98.57% when pulling 5c7d92316a12a3ebbda636ab02ce0b53e68b0760 on jjmulenex:feature/zoomSlider into a757fa4ef9000febfda5adc8b53ca729176f089b on boundlessgeo:master.


Add Acknowledgements

Enhance readMe with all persons who contributed/helped in our project

Done with today's merge


Tasker integration

Is your feature request related to a problem? Please describe.

Increasing functionality similar to Google Clock's use of Assistant Routines when dismissing alarms and 3rd-party audio app integrations for alarm sound sources. Also could allow power users' 3rd-party automation apps to set/edit alarms.
Describe the solution you'd like

Integrate the Tasker Plugin API library (https://tasker.joaoapps.com/pluginslibrary.html) to allow Tasker to:

Detect alarm/timer ringing as a trigger
Detect alarm/dismissal as a trigger
Create, edit, or delete alarms/timers/stopwatches

Use case

Provides a solution to #123
Recreates most of the functionality of Google Assistant Routines, e.g. "when alarm is dismissed, disable DND mode, change screen brightness, and launch weather app"
Allows power users who utilize automation apps (e.g. Tasker, Automation, Macrodroid) to set/change alarms based on calendar events, incoming phone calls, or millions of other trigger conditions

Describe alternatives you've considered

Using the Google Clock all 🤮
Additional context
 n/a

Since I don't have the "Tasker" app I won't work on this topic.


fix: compatibility with webpack-dev-server

Fix https://github.com/gregberge/error-overlay-webpack-plugin/issues/94

Can this pull request be merged and released please?


add official way to mock $page in docs/test

I've using a technique which is really hard to find in google. I think it would be niced to have this in next branch.

as docs in README.md
as unit test

https://tylergaw.com/blog/mocking-sveltekit-stores-in-storybook/
// MyComponent.stories.svelte
//...
<script>
  import { Story, Template } from '@storybook/addon-svelte-csf'
  // Note: we can only use Svelte context functions in scripts without context="module"
  import { setContext } from 'svelte'

  setContext('page-ctx', {
    data: {
      href: '/some/href/we/want',
      text: 'My Link Text'
    }
  })
</script>
//...

next has branch focus on Svelte v5.
And mocking SvelteKit features is responsibility of other addon: @storybook/sveltekit
There's an API documentation: https://storybook.js.org/docs/get-started/frameworks/sveltekit?renderer=svelte#api
Is this what you're looking for?

next has branch focus on Svelte v5.
And mocking SvelteKit features is responsibility of other addon: @storybook/sveltekit
There's an API documentation: https://storybook.js.org/docs/get-started/frameworks/sveltekit?renderer=svelte#api
Is this what you're looking for?


Early version of IBE Editor 1.20.6

Is it possible to release an early version of Ibe Editor for MInecraft 1.20.6 neoforge/fabric (as beta)?

Yes early versions will be released when the mod takes shape. But for now it's still far from it. I'll keep updating on the progress in my Discord server.

Thanks! I'll be waiting! In the meantime, I'm going to join your discord server


Integrate external scaler to scale minio deployment.

Integrate external scaler to scale minio deployment.
Signed-off-by: Azeem Sajid<EMAIL_ADDRESS>

Any other changes/feedback on this?
If not, you can merge these PRs according to the testbed workload.


SpdxDeclaredLicenseMapping: Add the "Oracle Free Use Terms and Conditions"

As found in https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc6/<IP_ADDRESS>/ojdbc6-<IP_ADDRESS>.pom.
ScanCode does not seem to know this license, so use ORT's own namespace
for the LicenseRef.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

/cc @mlmilan


Create multi.yaml

As suggested in https://news.ycombinator.com/item?id=39507820.
Based off resend.yaml.

Merged, though it seems you would be the perfect person to tell us what the SSO pricing actually is :)

Thanks Rob! We offer GAuth for free like most others. To be completely honest we're not sure yet if there'll be a stable amount for "forced SSO" or other flavors of it.
On teams with just a handful of developers and more non-developer teammates, the Enterprise plan might be less than standard. On teams with lots of complex needs, the Enterprise plan might be more.
Hopefully when we learn more we can remove ourselves from this glorious list :D

Hey @embirico, I have much respect for you that you added yourself here. Kudos!
I just added Multi to ssotax.org too (we forked due to less activity here for a while). We also have a Friends of SSO page. Maybe there will be a day when Multi lands on the Friends of SSO page. 🤞


Update partners page

Applications

[ ] Alethio
[x] Zerion
[x] MolochDAO (activate link)
[ ] Esence
[ ] DAOstack (coming soon)
[ ] Gnosis (which product is this?) (coming soon)
[ ] Rarible (coming soon)
[ ] SuperRare (coming soon)
[ ] hustla's app
[ ] microsponsors (coming soon)
[ ] Rapid (???)
[ ] Enable (enable.credit) use 3Box yet?
[ ] ETHDenver DAO (coming soon)
[ ] Livepeer (coming soon)
[ ] Roundabout (https://roundabout.exchange)

Wallets/Browsers

[x] MetaMask (activate link)
[ ] Authereum (https://authereum.org)
[ ] Fortmatic (coming soon)
[ ] Portis (coming soon)
[ ] Pillar (coming soon)
[ ] EID (in development, visit Github)
[ ] Alice (coming soon)

Dev Tools

[ ] Remix
[ ] SimpleID (coming soon)
[ ] DappKit (coming soon)
[ ] Extensions (in development, visit Github)

are we shelving this page update for the time being? If so, can we just change the form link to an email to<EMAIL_ADDRESS>so we get updates on new ones (have had a few go into the form void i think)


Textcontroller overriden fixed in complete profile page

Related Issue
Closes #94

Description
In complete profile page,I had added the seperate controller for location field, and then in dbcontroller i have added this value in create profile schema
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@theshubh007
you have conflicts with the main resolve that to get it merge


adding library that convert json to xml

library that convert json to xml (JsonNode ==> XmlNode )

I also checked your repository and you don't seem to have a Nimble package - see https://github.com/nim-lang/nimble#nimble-publish and https://github.com/nim-lang/nimble#publishing-packages.

I used the nimble publish command and it created a new PR. Should I close one of them?


@conda-forge-admin, please add user @xylar

Additional comment:
I would like to fix and merge #5

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @xylar in conda-forge/click-params-feedstock#7.

@ocefpaf, my hero as usual!


fixed encoding in setup.py file

The setup.py failed due to invalid encoding in the reading the readme.md file. added utf-8 encoding and solved.

nice, thank you!


Remove option_ext dependency

Hi !
This PR remove option_ext dependency without adding additional code

Hi @a1phyr,
see https://github.com/dirs-dev/dirs-sys-rs/commit/e169da7af901eb621e5d244efe960f4da8ed150d.
Thanks!

Sorry for pushing this, but according to #21 your main motivation seems to avoid copying code around, which is a fair one.
However, the relevant code is literally x == Some(y), so is it really worth an extra dependency ?

As mentioned in https://github.com/dirs-dev/dirs-sys-rs/commit/e169da7af901eb621e5d244efe960f4da8ed150d I feel it documents the intent slightly better.


hi bro, can you have more emu like goloberg?

now we just have one game emu, ali213, do you have a plan to add more emu?

Closed due to inactivity

With the GUI version rewrite, I'm thinking about adding goldberg. I currently have a development version with a lot of changes in the way cracks are applied, and it will make it way easier to support other emus
Goldberg's experimental steam_api emu is already supported in my dev version. I'm still polishing it.

Already added in SAC GUI in v1.1.0

SAC GUI v2.0.0 stable released


Merge mocks for the config from comp and pkg into a single one

What does this PR do?
This prevent issue where the two mocks were created and would hold different configuration for different part of the code base.
This also align the way we use mocks for configuration across the code base.
Finally this is the first step toward deprecated the use of Fx for mocks in the code base. For more see
https://datadoghq.dev/datadog-agent/components/testing/.
Describe how to test/QA your changes
Running test and a green CI is enough

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on


schema: test ProvisionRequest serialization round trip

Codecov Report

Merging #14 into develop will increase coverage by 34.91%.
The diff coverage is 65.51%.

@@             Coverage Diff              @@
##           develop      #14       +/-   ##
============================================
+ Coverage    29.72%   64.64%   +34.91%
============================================
  Files            3        3
  Lines           74       99       +25
============================================
+ Hits            22       64       +42
+ Misses          52       35       -17

Impacted Files
Coverage Δ

schema/src/public_key.rs
59.45% <0%> (-5.25%)
:arrow_down:

schema/src/provision.rs
79.24% <73.07%> (+79.24%)
:arrow_up:

Continue to review full report at Codecov.

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


finalize vmware v2v: update status API

sibling: https://github.com/kubevirt/web-ui-components/pull/337

@pcbailey hopefully I fixed all the issues with status we were talking about in these v2v PRs


[Feature request] Sort tinty list

Is your feature request related to a problem? Please describe.
I am using the following command to preview themes in my terminal:
$ tinty list | fzf --preview "tinty apply {}; ~/tinted-shell/colortest {}"

The list is ordered alphabetically, meaning that themes like base16-atelier-estuary and base16-atelier-estuary-light are next to each other. When browsing, switching from a light theme to a dark theme is quite violent for the eyes, making the browsing experience pretty bad.
Describe the solution you'd like
A way to sort the themes, from dark background to light background for example, would fix this issue.
A command like:
$ tinty colortest

would also be quite nice.
Describe alternatives you've considered

An alternative would be to implement a command like:

$ tinty preview

Use base16-shell-preview.

Have you tried using tinty info? I can look at modifying tinty info to be more interactive instead of a long list

I tried tinty info but the display does not seem to work well in my terminal (macos default terminal).
The main point is to have some ways to call tinty apply to check how the theme is being rendered with an opened vim or in tmux.

I've got shell alias I wrote which may be of some value to you but I can't speak to how it would interact with vim/neovim as I do not use a base16 theme in my editor. As you can see, this also doesn't "see" any custom themes you have have setup.
	alias tint='tinty list | \
	fzf \
  	--height 30% \
  	--info hidden \
  	--border rounded \
  	--cycle \
  	--bind "enter:execute(tinty apply {})+reload(tinty list)"'

Something worth mentioning (maybe this will solve your needs), we have a gallery page which is created by rendering the theme in vim and then converting that to html, so you can preview themes, albeit with static content: https://tinted-theming.github.io/base16-gallery/

The gallery is really nice but please note that it has the same issue than the original issue: it is sorted by alphabetical order as opposed to an ordering like from dark background to light background. Sorting by name is useful when you know already what you are looking for. But when someone looks for a new theme, sorting based on colours or background darkness would probably be much more useful.
PS: a dark background in the gallery would probably help to highlight each individual themes.

I still need to add to tinty, but I've created a PR which adds a "group by variant" and "darkmode" feature: https://github.com/tinted-theming/base16-gallery/pull/11


131 - Include a Unit with C7

First we look for the unit on a scenario's mod path, which still is only among Civ3 files.
Then we check for a C7 native version.
Finally we check the base Civ paths.
Please review #345 first!

Self-reviewed.  Improved a method name, sorted a couple modifiers.  The general method for searching still looks solid, at least until we support mods stored relative to a C7 install.


Clipping of audio on playback

Since an offline context has no restrictions on amplitude of the output, we can do pretty much whatever we want.  However, when the audio is played out (I presume with webaudio), the output does clip the signal.  Hence, what is displayed isn't really quite what is heard.
Perhaps it would be nice to pop up a warning (or some other less intrusive indicator) that there might be clipping when the audio is played.  However, I would not want the graphs or the generated data to have any clipping applied. It should be the actual full-range generated output, unclipped.

This is actually two issues:

Clip indicator along with the waveform - I've never seen such thing, so it has to be something new.)
Automatic y-axis scaling based on the maximum peak.

Currently I am thinking about the right UX pattern here.


iOS cmake build should use a toolchain file

Problem: Currently SFML on iOS builds itself with CMake but it does not use a toolchain file. Instead, it sets the necessary CMake variables itself instead of relying on the external toolchain file. It's worth noting that SFML does use a toolchain file for android.
Suggested Solution: Ship an iOS toolchain file with SFML and have the user specify CMAKE_TOOLCHAIN_FILE=/path/to/toolchain.cmake instead of IOS=True

There is a nice set of toolchains for iOS maintained in polly (companion project for the hunter package manager).
Random examples:
ios-10-3-dep-8-0-libcxx-hid-sections-lto.cmake
ios-10-3-dep-8-0-bitcode.cmake
ios-10-3-armv7.cmake
ios-nocodesign-10-0-arm64.cmake
ios-10-2.cmake

Could you motivate the need for such toolchain (that needs to be updated and maintained)? The fact that it's used for android seems irrelevant to me. What is currently broken?

Sure! Currently the cmake variables setup in SFML would also have to be updated and maintained. Centralizing iOS logic in the tool chain allows us to simplify the rest of the cmake files. This is the standard pattern when setting up a cmake project for cross compiling.
As for my personal motivation, my team has a build system that pulls down and builds all of our projects dependencies when initiating a build for a given platform and architecture. SFML is one of those dependencies and our build system will blindly set the toolchain file for a cross compiled system. This means all of our dependencies are built with the same toolchain file. It would be a hassle to work around specific dependencies quirks when there is a standard pattern cmake already has.

Centralizing iOS logic in the tool chain allows us to simplify the rest of the cmake files.

Seems like a reasonable thing to do, indeed.


Fast Scrolling PDF - will showing forms on different page than original

while checking ILPDFKit framework/library with WKWebView instead of UIWebView will showing some textfields on diffrent page then expected page while fast scrolling through PDF.

Set pagingEnable of Scrollview solve my Problem

Should be resolved in 1.1.3 and after.


How to export 3D module?

Hello @dorodnic ,How can I export a comlete 3D model with the libRenlSense Viewer,such as a head or a hand??
When I click the export button on the libRenlSense Viewer,It can't export a complete model, just one side of an object.

You can only export the detail that the camera has been able to capture.  So if you are pointing the camera at one side of an object then you will only capture that side in your model unless the camera or the object is moved around.
If you need to capture a 360 degree model using a single camera, the program LIPScan 3D may be suitable for your needs.  Instead of turning the observed object on a turntable like in the video below, you would probably have to move the camera around the hand or head using a free hand to hold the camera.
https://www.youtube.com/watch?v=N14Pi6z-MkE&language=en_US

Hello @dorodnic , @MartyG-RealSense Because I should complete a student's project using a single RealSenseD435 . So if I can use a single D435 to get a 360 degree model??
Also, I need to do the conversion from point cloud to solid mesh, so what can I do to complete it?? Does the SDK provide some functions to do these?
Or  can I complete it with other method?
Thanks a lot!!
Bests!

With a single D435, you can do a 360 degree model of a human's body parts in a few different ways:

Move the camera around a person until you have captured all of the detail.

Have a person turn around whilst you hold the camera still in the same position.

Take a point cloud snapshot from each side of the body and then stitch the multiple point clouds together into a single 360 degree cloud.

Yes, a point cloud model (a 'ply' file) can be converted into a solid mesh.  The link below has a guide to exporting a point cloud from the RealSense Viewer program as a ply and then loading it into a program called MeshLab for conversion to a solid mesh.
https://www.andreasjakl.com/capturing-3d-point-cloud-intel-realsense-converting-mesh-meshlab/
A ply can also be loaded into 3D modeling software such as Blender to do the conversion.

Hello @MartyG-RealSense , @dorodnic
Is there an API in SDK to help to  stitch the multiple point clouds together into a single 360 degree cloud?

The discussion linked to below has some advice on combining point clouds into a single cloud.
https://forums.intel.com/s/question/0D70P0000068ZwcSAE
Also, the CONIX Research Center at Carnegie Mellon developed a point cloud stitching system for multiple cameras that uses ethernet networking.
https://github.com/conix-center/pointcloud_stitching
The method used (each camera has its own PC, and the data is sent to another PC for final processing) is similar to the process used by Intel in January 2018 for their 'volumetric capture' demo at the Sundance festival.
https://realsense.intel.com/intel-realsense-volumetric-capture/
On the subject of ethernet, you may also be interested in an example program in the RealSense SDK called EtherSense.
https://github.com/krejov100/EtherSense


Autoscale post verifying workers (#5354)

Verifying POST proofs is CPU-intensive. By default, it uses 3/4 CPU cores. It is a problem during the cycle gap for the nodes that take longer to generate the POST proof than the others - new ATXs start to drop in and verifying them fights for CPU with the proving process. In such a situation, proving is more important so sacrificing ATX verification speed is an acceptable tradeoff.
Added a way to scale the number of workers that verify POST proofs (in incoming ATXs) up and down.
There is an auto scaler that reacts to POST events (started/finished) by scaling the number of workers down/up respectively.
The minimum and maximum number of workers is configurable with smeshing-opts-verifying-min-workers and smeshing-opts-verifying-workers respectively.
Added unit tests.

bors try


Beautify

Removed unnecessary files like the .vscode the egg-info file, I also updated the  .gitignore files

Those we some files which i forgot to remove while building ..😅
Thanks By the way


feat: clear portfolio migration

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

High Risk PRs Require 2 approvals

What protocols, transaction types or contract interactions might be affected by this PR?

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #6197   👈

This stack of pull requests is managed by Graphite.


fix(post): now posts read status not cleared after crawling

this PR resolves #76

:tada: This PR is included in version 1.0.0-dev.7 :tada:
The release is available on:

v1.0.0-dev.7
GitHub release
v1.0.0-dev.7

Your semantic-release bot :package::rocket:

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

v1.1.0
GitHub release
v1.1.0

Your semantic-release bot :package::rocket:


Setup monitoring using heapster outside of GCE as well.

@vishh I just moved this stuff to cluster/addons.  It might make sense to have a file there with the start/stop boilerplate.
I'm thinking something like cluster/addons/cluster-monitoring/addon.sh or something.
We can then source that and call out to it.

Assign back to me when you are are ready for me to take another look.

Ack.
On Mon, Jan 5, 2015 at 3:25 PM, Joe Beda<EMAIL_ADDRESS>wrote:

Assign back to me when you are are ready for me to take another look.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/2710#issuecomment-68800836
.

@vishh Are you still working on this?

Yes I am. I have Grafana working through proxy on apiserver. I will get to
this PR soon.
On Thu, Feb 5, 2015 at 10:55 PM, Brian Grant<EMAIL_ADDRESS>wrote:

@vishh https://github.com/vishh Are you still working on this?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/2710#issuecomment-73190613
.

@vishh Are you still working on this?

Yeah. The groundwork required for this PR is complete. I will wrap this up
soon.
On Wed, Mar 4, 2015 at 8:59 AM, Eric Tune<EMAIL_ADDRESS>wrote:

@vishh https://github.com/vishh Are you still working on this?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/2710#issuecomment-77197518
.

Wrapped up this feature via another PR.


Could the preview workloads be included in these docs?

It would be useful to have a list of the workloads that are part of preview releases.  For example, the upcoming release includes a workload for UWP.  I would like to see what happens if I try to install that workload in a Docker container, but I can't find the workload ID anywhere.
Alternatively, if there's a way to discover the available workloads via the installer, it would be good enough (for me) to have that documented.

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

ID: 1e062363-94e9-f776-650f-a0723ab713a3
Version Independent ID: 9181db12-cbdf-6f95-27f1-833930d6d323
Content: Visual Studio Build Tools 2017 workload and component IDs - Visual Studio
Content Source: docs/install/workload-component-id-vs-build-tools.md
Service: unspecified
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@ryanjaeb Thanks for your feedback. We'll investigate the possibility and report back soon.

@ryanjaeb We appreciate your suggestion, but we respectfully decline to provide separate workload data for Preview releases. The reason? The workloads are generally static release to release right now. As for the Docker scenario that you describe: Although we’ve not published guidance on it yet, we plan to. Please stay tuned.
Cheers,
~ Terry


Add support for Barbar plugin

Name of the tab is not readable after editing a file.
Before:

After:

Hi @HaCk3Dq wave:, thanks for your contribution :+1:
In arcticicestudio/nord-vim#157 the decision was made to create an official “Nord Neovim“ port to explicitly support Neovim specific and exclusive features, following the rise and adaption of Neovim across the community. Therefore I'd like to avoid to add Neovim-only plugins to reduce the amount of deprecations and removals from this port again later on when the new port project is made public. Like also mentioned in #265 I thought about adding further Neovim specific plugins for now, but due to the plans of working on the new port in the upcoming months I'd like to defer Neovim-only changes to this port.
I'll add support for the romgrk/barbar.nvim plugin to the list of supported plugins for the new port project and notify you here in this PR when we are ready to port it over to the new “Nord Neovim“ repository.

Awesome!
Thanks for the detailed reply

@HaCk3Dq Thank you (again!) for your patience! 🙏🏼
It‘s been a while since I had free time to focus more on Nord, and my open source projects in general, and invest time in this issue due to work-life balance.
I recently published the first “Northern Post — The state and roadmap of Nord“ announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a “clean state“. Read the announcement about reaching the “clean“ contribution triage state in Nord‘s discussions for more details about the goal.
Therefore it has been added to the icebox in the central and single-source-of-truth project board that is also described in more detail in the roadmap announcement.

@HaCk3Dq Thanks (again!) for your contribution 🚀
The pull request has been added to the icebox and will be adapted to the new and upcoming Neovim port.


use auto exposure from night time to day time

I have set auto exposure mode (exposure time = 0`) and
ae_enable: true
ae_exposure_mode: Normal

Starting the camera in the late morning all picture are going including in late evening when it is already dark long after sunset.
In this time pictures has been take with in interval of a few minutes.
But then keep the camera running until the next morning after sunup and taking no further pictures the picture are much too bright. But than after talking several picture (~15 -- 20) they get darker and darker until they are OK again.
How does the auto exposure work? Do I have to take picture in short intervals to have always the next one adapted to environment brightness?

Sorry for missing information. I just wanted to understand how auto exposure is working because neither from picamera2 nor from libcamera documentation I found it / understand it.
As I am using unattended updates I did not take care about versions and I assumed it is always the up to date one from stable branch.
rpicam-apps build: 6202c09b2bfa 16-02-2024 (17:44:15)
libcamera build: v0.2.0+46-075b54d5

(Raspberian 12
camera Model: ix708 (official Raspberry Pi camera)
pi: Pi3B  1 GB
Yes, the question is of curse about picamera2 even if the question maybe better be answered by the libcamera team. (?)
Code for configuration (relevant values) - only run at startup:
self.__camera.set_controls({"ExposureTime": 0})
self.__camera.set_controls({"AeExposureMode": 0})  # normal
self.__camera.set_controls({("AeEnable", True})

Code taking picture
     def __store_current_config(self):
        started = self.__camera.started
        started = copy.deepcopy(started)
        request = None
        if started:
            request = self.__camera.capture_request()
        return (started, request, self.__camera.camera_config)

    def __make_picture_settings(self) :
        self.__camera.stop()
        self.__camera.configure(self.__settings.still_configuration)
        self.__camera.start()

    def take_picture(self) :
        self.__led_lightning.switch_on()
        started, request, config = self.__store_current_config()
        self.__make_picture_settings()
        img = self.__camera.capture_image("main")
        self.__reset_previous_settings(request, config, started)
        img.save(IMAGE_NAME)

    def __reset_previous_settings(self, request, config: dict, started: bool):
        self.__camera.stop()
        self.__camera.configure(config)
        if request is not None:
            request.release()
        if started:
            self.__camera.start()

There has been no other access to camera by other function (like video mode) than the above one during the whole run time.
The frequency is not fixed because it is external triggered but it is > 10 / h.

Thanks for the update. I'm not entirely sure I understand exactly when you're start/stopping the camera, but here is some guidance that may help.

The camera must be started for the AGC/AEC to run.
You need to leave it running freely for a few frames for it to have any effect.
AGC/AEC settings are preserved when you stop, reconfigure the camera, and restart it, but not if you close and re-open it.

I can't really see how the AGC/AEC would stop adapting unless you're not running the camera between captures. Obviously looking at the exposure/ISO in the captures might tell you something, but the following debug might also be useful:
def callback(request):
    metadata = request.get_metadata()
    print("Exposure", metadata['ExposureTime'], "gain", metadata['AnalogueGain'])

and just after you start the camera add
    self.__camera.pre_callback = callback

This will show you every frame that the camera system is producing (and which the AGC/AEC gets to look at), and what exposure/gain values it has.

Thanks for the update. I'm not entirely sure I understand exactly when you're start/stopping the camera, but here is some guidance that may help.

The application has been designed to provide a video live stream for configuration and monitoring and than during this take some external triggered pictures (with e.g. higher resolution) with minimal delay . Thus, if there is a trigger:

store current (video) configuration
stop camera  (to be able to change configuration)
apply picture configuration
start camera
take picture
stop camera  (to be able to change configuration)
restore previous configuration
start camera if it has been running before

Because of #930 video capture is not used at the moment but the code above is still the code for that. I tried to remove all not relevant code but I forgot to remove self.__led_lightning.switch_on() which is switching on an infrared LED.

1. The camera must be started for the AGC/AEC to run.

2. You need to leave it running freely for a few frames for it to have any effect.

OK, I understand. Because I start the camera only direly before picture capture and the camera is not doing AGC/AEC during picture capture I might has at least one frame between start and capture  / capture and stop for AGC/AEC.

3. AGC/AEC settings are preserved when you stop, reconfigure the camera, and restart it, but not if you close and re-open it.

I am not closing it.

I can't really see how the AGC/AEC would stop adapting unless you're not running the camera between captures.

Unfortunate this is what I am doing. For a first test with minimal code change I will just place a small sleep between start and capture.

Obviously looking at the exposure/ISO in the captures might tell you something, but the following debug might also be > useful:
def callback(request):
    metadata = request.get_metadata()
    print("Exposure", metadata['ExposureTime'], "gain", metadata['AnalogueGain'])

and just after you start the camera add
    self.__camera.pre_callback = callback

This will show you every frame that the camera system is producing (and which the AGC/AEC gets to look at), and what exposure/gain values it has.

Thanks a lot, I will do a test (unfortunately this is a productive live system) with the debug output.

It certainly seems a bit mysterious, but perhaps you can experiment if you have a non-live system somewhere.
On an unrelated note, I was wondering if switch_mode_and_capture_image() might simplify your code a bit. It feels like you've coded up something fairly similar?


create sample app to test cocoapods integration

[x] Create Package.swift to prepare swift package manager integration
[x] Move LayoutKit to Source folder to prepare swift package manager integration
[x] Create test project by using LayoutKitSampleApp
[x] Use cocoapods to integrate LayoutKitSampleApp
[x] Update build script to test cocoapods integration

@nicksnyder @staguer This PR is hard to review and I moved this branch to LayoutKit from my folk repo. So please check it out and review locally.

The top level directories include:
Example
ExampleLayouts
Source
LayoutKitTests
This makes it seem like examples and tests aren't source code. I mentioned this in an earlier comment.
What do you think about structuring the directories like so:
Source/ExampleApp
Source/ExampleLayouts
Source/LibraryTests
Source/Library


Build basic Clamav image

Can be used for scanning assets in Asset-manager for example.

We will use the upstream clamav one: https://hub.docker.com/r/clamav/clamav


Incorrect debug flag is added when generating docker file

Description:
For Sample[4] "Remote debug ballerina service with docker", docker file is generated with an incorrect debug flag.

Can you mention how the flag should come ?


Roadmap update to match bulletproofs & kovri updates

This solves #805
All languages needs to be reviewed (or retranslated) @erciccione.
This should not be merged before 8/1 as it states kovri alpha release is completed at this date.
Is it still the goal @anonimal?

As Kovri alpha has been released in time, this could safely be merge now. Call for reviewers @mattcode55 @MaxXor @erciccione


Ensure the boot volume is encrypted

Bug
What does this PR do? / Related Issues / Jira
Ensures /dev/sda1 is encrypted OSD-19488

Checklist

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have made corresponding change to the default configuration files
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have tested the functionality against gcp / aws, it doesn't cause any regression
[ ] I have added execution results to the PR's readme

Reviewer's Checklist

[ ] (This needs to be done after technical review) I've run the branch on my local, verified that the functionality is ok

How to test this PR locally / Special Instructions

Logs

Codecov Report

Merging #200 (3ac9221) into main (bb8056c) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #200      +/-   ##
==========================================
- Coverage   10.14%   10.11%   -0.03%
==========================================
  Files          17       17
  Lines        1213     1216       +3
==========================================
  Hits          123      123
- Misses       1080     1083       +3
  Partials       10       10

Files
Coverage Δ

pkg/verifier/aws/aws_verifier.go
23.07% <0.00%> (-0.27%)
:arrow_down:

/hold
Pretty sure this is superseded by #201

/close


When LicenseRegistry.addLicense is entered, the Null check operator is displayed.

I used zenKakuGothicNew.

main.dart

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await MobileAds.instance.initialize();
  await loadAd();

  LicenseRegistry.addLicense(() async* {
    final license = await rootBundle.loadString('google_fonts/OFL.txt');
    yield LicenseEntryWithLineBreaks(['google_fonts'], license);
  });

  runApp(const MyApp());
}

home_screen.dart

  Future _showLicense(BuildContext context) async {
    PackageInfo packageInfo = await PackageInfo.fromPlatform();
    showAboutDialog(
      context: context,
      applicationName: packageInfo.appName,
      applicationVersion: packageInfo.version,
      applicationIcon: Icon(Icons.tag_faces),
      applicationLegalese: "Minerva K.K",
    );
  }

If commentout LicenseRegistry
I can open license screen.

Hi @jtaxiexpress, thanks for raising the issue.
I've recreated your issue and the problem is that your code doesn't have the appropriate OFL.txt file included, which is the null error you are finding.
Please follow the guidance in our docs, in particular the section on Font bundling in assets. Ensure the license text file is downloaded for your chosen font, and that it is included in your assets folder.
I hope this helps - closing this issue for now. Thanks for using Google Fonts!


where to put region

I am getting an error Connection timed out - connect(2) for "<IP_ADDRESS>" port 80

no need of region because it was auto picked within the aws instance. could you please share the complete log of chef run.

Hi please find complete log of chef run.
unixworl.txt


"Stage Selected Ranges" only stages one line

The "Stage Selected Ranges" button can be found in the context menu when in viewing the 'Working Tree' diff.
When I have the 'vscode-neovim' extension disabled, this button stages ALL of the lines selected.
When I have the 'vscode-neovim' extension enabled, this button stages a SINGLE line where the cursor is placed.
Note: using a keybinding or the command-palette to "Stage Selected Ranges" does work as expected.

I also have this exact same problem, unfortunately, trying to emulate the behavior of gitsign.nvim's require("gitsigns").stage_hunk.

Is there anyway to disable this extension in only Working Tree mode?


Improved animation between card with/without headers

Intended to fix #1295

Are there any news on this? Thanks.

Please merge this. We need this fix. The header changes on the previous screen before (on push) and after (on pop) the screen transition so the previous card gets header jitter. That looks totally jarring without this fix!

@lprhodes ?

Sorry I've just been working on merging beta 10 into the branch I'm using ready for a project launching this week.
I'll submit a cleaner pull request later this week as this is pretty messy now.

@lprhodes what happened to this? Thanks.

I was hoping to eventually get everything working as it does natively but unfortunately the last animation is proving difficult...that being the movement of the tabbar when navigating from a view with one to a view without. I also ended up setting state in a hard way which needs another look at (i.e. this.state.blah = something) but was the easiest solution at the time to work with everything else.
I've not had much time of late for open source, sorry - this fork is working with decent animations in a couple of production apps though https://github.com/lprhodes/react-navigation/

I believe that @skevy did some work based on this recently, hopefully he can upstream it! I'm going close this as it's out of date and it sounds like @lprhodes doesn't have time to update it. This is a desirable feature though and we would like to see an updated PR for it. Thanks for your work on this @lprhodes, sorry nobody was around to land it.

Also made a feature request so people can upvote if it's important to you: https://react-navigation.canny.io/feature-requests/p/improved-animation-between-card-withwithout-headers

https://github.com/react-navigation/react-navigation/issues/2732#issuecomment-341717998 this is a good workaround for this problem - it worked for me. It also works with iPhone X but you need to use some helper (eg. react-native-iphone-x-helper) to check the height of status bar
import { Platform, StatusBar } from 'react-native'
import { ifIphoneX } from 'react-native-iphone-x-helper'

const getStatusBarHeight = () => {
  if (Platform.OS === 'ios') {
    return ifIphoneX(44, 20)
  }

  return StatusBar.currentHeight
}


Initial Playwright testing

This PR adds some Playwright tests in the laboratory directory.
Some tests test basic clicking around. Another test tests an actual paring with React Wallet. There's also a test that opens Zerion.
These are run in GitHub Actions automatically on pull requests and pushes, and also run daily via a cron job schedule.

Closing as we will work on updated code in a new PR


Update to hello/hello_there.html

Updated quotation marks in datetime formatting section
@kraigb - updates to django tutorial sample code made!

@jpapp25 Thanks for taking care of these details to match the doc change.


isBase64Encoded = true in "netlify dev" even though it shouldnt

Describe the bug
This bug looks a lot like https://github.com/netlify/cli/pull/398. I experienced a strange bug when doing a JSON post to a Netlify function. isBase64Encoded is true, even though the JSON payload is not base64. This broke a middy middleware (jsonBodyParser) in my function.
To Reproduce

Create a function
do a POST on a function with Content-Type: application/json; charset=utf-8 and a simple JSON payload.
console.log(event.isBase64Encoded) in function

Logging reveals "true" even though the payload in body is simple JSON text.
Configuration
System:
OS: macOS 12.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 1.56 GB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 7.20.3 - ~/.nvm/versions/node/v15.14.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
npmGlobalPackages:
netlify-cli: 8.6.15
Expected behavior
isBase64Encoded = false
Example Payload
POST /.netlify/functions/invite-user HTTP/1.1
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkZpbGVtYWtlciIsImlhdCI6MTUxNjIzOTAyMn0.IXFd5MmMcgkbI6k01bx6p_ejIu-cWE5IDEHGOnGmzRU
Content-Type: application/json; charset=utf-8
Host: localhost:8888
Connection: close
User-Agent: Paw/3.3.2 (Macintosh; OS X/12.1.0) GCDHTTPRequest
Content-Length: 41
{"email":"foo@bar.com","foo":"bar"}

don't mean to hijack, but i'm seeing something weird like this today too and maybe the following can help netlify troubleshoot. i'm sending the following via a rest client:
{
targetURL: "google.com"
}

and this is from functions log (in prod):
    queryStringParameters: {},
    multiValueQueryStringParameters: {},
    body: 'ewogICAgInRhcmdldFVSTCI6Imdvb2dsZS5jb20iCiAgICAK',
    isBase64Encoded: true
  },

the encoded body returns an incomplete json string:
{
    "targetURL":"google.com"

which breaks anything i'm trying to do with JSON.parse

@logemann Can you update netlify-cli & check if this issue is still occurring? I haven't been able to reproduce it at my end.
If the issue is still occurring, could a share a public repository with the reproduction?

updated CLI to
netlify-cli/11.5.0 darwin-arm64 node-v16.14.2
still get the same error.
My test function with netlify dev:
const middy = require("middy");
const jsonBodyParserPatched = require("../middleware/jsonBodyParserPatched");

const handler = async function(event, context) {
  console.log("Test function entered....");

  console.log(event.isBase64Encoded);

  return {
    statusCode: 200,
  };
};

exports.handler = middy(handler)
  .use(jsonBodyParserPatched())

cant reproduce after CLI update.


Add a Gitter chat badge to README.md

rbjones/DA-Hol now has a Chat Room on Gitter
@rbjones has just created a chat room. You can visit it here: https://gitter.im/DA-Hol/Lobby.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

I should really have done this for DA-Hol.wiki, I'll try and add it in.


Have charmcraft installed as classic

This issue will be addressed on https://github.com/canonical/charm-microk8s/pull/12


Update version sample to a stable version

It's now a while ago that HA had 0.X releases.

Hi @jansepke,
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!


Widening after inferring null or undefined for a type parameter should be an implicit any

Courtesy of @JsonFreeman
function f<T>(t: T): T { return null }
f(null);

When compiling with -noImplicitAny, we don't get an error here, even though T is implicitly inferred to be any when we call f

Bumping this since we ran into a situation with a leaked any in our own compiler. Minimal example:
function forEach<T, U>(array: T[], callback: (element: T, index: number) => U): U {
    if (array) {
        for (let i = 0, len = array.length; i < len; i++) {
            let result = callback(array[i], i);
            if (result) {
                return result;
            }
        }
    }
    return undefined;
}

forEach([1, 2, 3, 4], () => {
    // do stuff
    if (blah) {
        // bam! accidental any
        return undefined;
    }
});

FWIW, I just missed an implicit-any error in my code due to this issue:
// Initialize a "height x 0" array of arrays.
let grid = _.range(0, height).map((i) => []);
// Append to rows...

The type of the empty array was inferred as undefined[] and then widened to any[] without error.  (Hopefully adding some keywords will help the next person who hits this with an empty array but isn't familiar with widening to find this issue.)

As I understand it, there has been a big shift to better integrate null and undefined into the type system, though I'm not up on the details. In 2014, when this issue was last looked at, these types were sort of the dark corners of the type system. I think it is worth asking whether this widening step still needs to occur given the latest semantics for null and undefined types.

I don't think this is a problem anymore. The code is fine even on the oldest TS version available in the playground, see here. It might be worth to close this issue.


Avoid defer in seriesMap.get

This is related to https://github.com/golang/go/issues/14939 .
It's probably the only occurrence where it matters.
@fabxc

:+1:


Update-notifier wants to downgrade from beta.8 to beta.7

🐛 Bug Report
Prerequisites

[x] I'm using the latest version of Docusaurus.
[x] I have tried the npm run clear or yarn clear command.
[x] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[x] I have tried creating a repro with https://new.docusaurus.io
[x] I have read the console error message carefully (if applicable)

Description
I updated from version 2.0.0-beta.6 to 2.0.0-beta.8 and now I receive this warning while npm start.
Even When I use npm i @docusaurus/core@latest @docusaurus/plugin-ideal-image@latest @docusaurus/plugin-sitemap@latest @docusaurus/preset-classic@latest @docusaurus/module-type-aliases@latest, still I receive this warning.

Have you read the Contributing Guidelines on issues?
Yes

Still it doesn't work with beta 9

yes, didn't merge the PR for beta.9
We'll see on next release 🤷♂