Provide .toString() of an object when cast fails

I frequently get cast errors during debugging and reading data from my database. One example is:
Unhandled Exception: Unhandled error type 'List<dynamic>' is not a subtype of type 'List<String>' occurred in MyClass`

When I get this error I know that something is wrong, but I don't know what kind of data is problematic, so I have to use the debugger to know what data my database returned that isn't 'List'. If the error message would tell me what the data was about by calling toString() on it, it would make it easier to debug and I sometimes wouldn't have to use the debugger.
I would propose as an error text instead:
Unhandled Expection: Can't cast ${value.toString()} to ${intendedType} because ${value.runtimeType} is not subtype of ${intendedType} occured in $MyClass

If the toString() method would never terminate or have side-effects it would probably be harmful to invoke such 3rd party user code when a type cast fails. So I'm not sure whether we'd be willing to do this. @lrhn any opinions?
When using a debugger that is another story: It can stop at points where an exception is thrown and perform expression evaluation of e.g. toString().

We deliberately do not call toString in the Error.toString methods, instead preferring the Error.safeToString function which recognizes a number of platform types, and just uses the Object.toString functionality on everything else.
Having an error's toString throw makes reporting errors very error-prone, which is not a good state to be in.
The errors reported for failed casts are deliberately underspecified, because that allows us to reuse browser exceptions without having to intercept and wrap them. That means that the error object doesn't always contain the object that failed to be cast.
That's another reason it's hard to print their toString (and we definitely don't want to risk throwing when creating the error).
(Another thing we optimize for is not using .runtimeType. Doing that can cause a big size leak in AoT compiled code, so we prefer to not use it in platform code at all. We have other ways to get a string representation of an object's type, but they're platform specific, which is yet another reason most type-errors are handled natively).


build(meson): install CMake Config files to datadir

Since Meson doesn't yet support CMake's ARCH_INDEPENDENT option, a pre-generated Package Version file is installed instead of generating it at configure time.
I've also cleaned up a bit the nearby lines of code.
Fixes #140
Pre-merge checklist

[x] I've read CONTRIBUTING.md
[x] I've rebased my changes against the current HEAD of origin/master (if necessary)
[ ] I've added new test cases to verify my change
[ ] I've regenerated toml.hpp (how-to)
[ ] I've updated any affected documentation
[ ] I've rebuilt and run the tests with at least one of:

[ ] Clang 6 or higher
[ ] GCC 7 or higher
[ ] MSVC 19.20 (Visual Studio 2019) or higher

[x] I've added my name to the list of contributors in README.md

Uhm, this hardcodes the version number in yet another place. I can easily tell Meson to insert the version, so I'll do just that.
Converting to draft.

@marzer since I'm working on the feature I described in https://github.com/marzer/tomlplusplus/issues/140#issuecomment-1025954587, could you please explain a bit to me how TOML_HEADER_ONLY=0 and TOML_IMPLEMENTATION work? The docs don't go much into the details.

The Speeding up compilation section has what you need, I think

I've read it, but it doesn't explain much.
Let's say I have a toml.cpp file with the following content
#define TOML_HEADER_ONLY 0
#define TOML_IMPLEMENTATION
#include <toml++/toml.h>

And then I compile that single file as it was a regular library. In meson terms:
project('toml_lib', 'cpp')
lib = library('toml_lib', 'toml.cpp')

Can I then link against that library from external projects? Are shared symbols generated? How much of toml++ gets compiled in there, and how much of the implementation is kept into the headers?

but it doesn't explain much.

Well, given that it's a header-only library, it explains exactly what it needs to explain to support that use-case.

How much of toml++ gets compiled in there, and how much of the implementation is kept into the headers?

The .inl files contain the implementation that is guarded behind TOML_IMPLEMENTATION. Give toml.h a look to see how this works (it's a short file; just includes other files). The single-header toml.hpp is structured the the same as that file, just with the headers preprocessed inline.
What's not obvious from that file is how much code is in the public .h files vs. the private .inl files, but the breakdown is approximately:

Public code: ~7000 lines of mostly lightweight classes and templates
Private code: ~9000 lines of actual code, of which approximately 4000 is the parser

Let's say I have a toml.cpp file with the following content

In that particular example of just having the library included in a single cpp file, there is no difference between TOML_HEADER_ONLY being 0 or 1.

Can I then link against that library from external projects? Are shared symbols generated?

That can be controlled by setting TOML_API. See Library configuration
Worth noting that is all pretty much the same as any other header-only library with an optional implementation target, like the stb libs, and a number of other popular ones. I'm not doing anything novel or tricky here.

Are shared symbols generated?

That can be controlled by setting TOML_API. See Library configuration.

Thanks, visibility support is really useful when working with ABI compatibility

Worth noting that is all pretty much the same as any other header-only library with an optional implementation target, like the stb libs, and a number of other popular ones. I'm not doing anything novel or tricky here.

I've been in the coding world for just a few years (my first GitHub issue was opened in 2020), and I've never encountered header-only libraries that offer this kind of feature. So it might not be tricky to you, but is almost mind blowing to me :D
Now everything is super clear, I'll submit a PR when ready. Thanks!

So it might not be tricky to you, but is almost mind blowing to me :D

Hah, interesting. I almost wish it wasn't that common, to be honest; the only reason header-only libs like mine have become popular is as a workaround for the absolute clusterfuck that is the C++ ecosystem, lmao

As a vaguely-related aside: here's a big list of libs with similar designs to this one: https://github.com/nothings/single_file_libs - lots of good stuff in there.

I almost wish it wasn't that common, to be honest; the only reason header-only libs like mine have become popular is as a workaround for the absolute clusterfuck that is the C++ ecosystem, lmao

Yeah that's true lol, I wonder why. Anyway, could you please merge this PR so that I can branch of these changes to work on the other feature? I've also added a commit that avoids hardcoding include as the name of the include directory in the CMake Config file, so that it would work also when defining the includedir Meson option to a custom value

Anyway, could you please merge this PR so that I can branch off these changes to work on the other feature?

Sure thing. Sorry, I assumed you were just gonna bundle the other work into this one.


Tensor initializers aren't getting converted to constants

Even though onnx contain needed input as tensor initializer:

The model yields an error while converting:
Underlying exception message was: Error compiling model: "Error reading protobuf spec. validator error: Layer 'Pad_0' consumes an input named 'initial_block' which is not present in this network.".
  RuntimeWarning)

is there a way to support constant inputs to layers?

@s1ddok Core ML supports constant inputs to layers.
 I manually patched converter to load that constant


Select calendar week

Thanks for the plugin!
It would be helpful if you could choose a whole week.
for this it would be sufficient to display the calendar weeks in the plugin and to make them selectable.

Hi there,
will add this to my to-do list for future versions!
Thank you!


Task after webdriver_standalone is not running.

I need to run following tasks one after other:

Webdriver-manager update
Webdriver-manager start
Run my scripts

Problem:
Task 1 ran --> after that Task 2 ran --> but Task 3 DID NOT ran...
On the command prompt, it stuck after this line.
23:08:49.060 INFO - Selenium Server is up and running
My gulp file has following:
var gulp = require('gulp');
var runSequence = require('run-sequence');
var protractor = require('gulp-protractor').protractor;
var webdriver_update = require('gulp-protractor').webdriver_update;
var webdriver_standalone = require('gulp-protractor').webdriver_standalone;

gulp.task('default', function (callback) {
    runSequence('webdriver_update', 'webdriver_standalone', 'run_scripts', function () {
            console.log('AABB');
            callback;
    });
});

gulp.task('webdriver_update',webdriver_update);
gulp.task('webdriver_standalone',webdriver_standalone);
gulp.task('run_scripts', function () {
    gulp.src(['./specs/LoginPage/*specs.js'])
        .pipe(protractor({
            configFile: "conf.js"
        }))
        .on('error', function(e){
            throw e
        });
});

It appears that your tasks aren't configured correctly for asynchronous processes. Please read the documentation.
If the tasks don't return something (promise, stream, callback), or they never complete, then run-sequence cannot determine when to start the next task.

It is 'webdriver_standalone' task that is not returning anything. Can you please help me to make it return, what code should I write ?

This is then a Gulp or webdriver issue, not run-sequence. run-sequence simply asks gulp to run the specific tasks. It listens for a task to end before starting the next. If a task never ends, then it cannot start the next one.


Autofill number

hell guys, how i can autofill like in picture?

now autofill work like this:

This is not implemented, and I am afraid this will take same time to be incorporated in the official release.


Make Path optional

Signed-off-by: Alex Ellis (OpenFaaS Ltd<EMAIL_ADDRESS>
Description

Make Path optional
Motivation and Context
In 1ce6cda, Path was made a required field, but this was not
intended. This commit reverts the issue by adding an optional
header for kubebuilder. It also regenerates the YAML CRD.
#37
How Has This Been Tested?
@LucasRoesler do you want to try out the new YAML file with your testing cluster for #35 ?

Thank you both 👍


Question about code

May I ask when will the  core code be released? I am so interested in your works!!!!!!!!!!!

same question.

+one

+1

@gaowq2017 pls read the paper more carefully.
As we mentioned, our work shows the promise for formulating general segmentation and few-shot in a unified view of prototype learning. Ps: Prototype learning is a quite huge area (what a pity someone directly links it to few-shot learning).
Our work also shows an appealing direction -- the combination of supervised learning and unsupervised, within-class learning (clustering) leads to a more powerful pixel-classification framework.
We will have some more amazing results, let's wait and see.

@wenguanwang
Thanks for your great work. I am agree that Prototype learning isn't only few-shot learning. I look forward to more similar work, thanks


ESP32-C6 Zigbee HA on/off light pairing issue (IDFGH-11701)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hi, I successfully flashed this example. The device is "seen" by HA Zigbee2MQTT but does not pair. How do I enter the device in pairing mode please ?

@Tokn59 Could you specify the pairing mode? seen by HA, does it mean that the steering process is done? The device log maybe helpful to understand the status.

@Tokn59 Thanks for reporting, would you please help share if any updates for the issue? Thanks.


Can't hide dropdown

click red box side , dropdown will not hide, only click number or input will hide , can you suport this?

Hi there, thanks for reporting this issue. It seems that the TUI Editor has a major upgrade to version 3 so I can't run this plugin in the latest editor version. May I know what version of the editor you're using?


Allow customization of how server process should be terminated

Currently Process.Kill() is being used. In some instances, Process.Close() may be more appropriate. There should be some setting in servers that allows the user to select either.

Added in v0.8.0


can't update the props or data object value by reference ？

like this： http://jsfiddle.net/ps3pzk2u/
when i change the value , view not update  ……it just a demo, i would like to use that in nested list ……
I remember that work with 0.12 ……?

some thing is wrong in with code ....

You forgot this before test.


added cpp code for linear search through recursion

You can show your support by staring ⭐ this repo
Also Check out this repo malivinayak/markdown for contribution


init minimal restore

resolves #10
restore modified working directory path in index to index content: mygit restore file
remove path mygit restore --staged file

Why does Git proper not allowed restore --staged when there has not been a commit yet ?


🦆 build on openhift as well 🦆

workaround the setup git and prepare code steps in gh-actions build:

create build config for ocp
git config workarounds for - https://github.com/backstage/backstage/issues/14221

build on ocp
oc apply -f build-config.yaml

We'll relocate the buildconfig into https://github.com/janus-idp/helm-backstage (after #34. I think this can be closed, WDYT @eformat ?

@tumido - yeah, sounds good to me. thx.


support assumerole

What problem does this PR solve?
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to update the tidb-ansible repository
Need to be included in the release note

@july2993 FYI this has been closed to prepare for pingcap/br#665, you may re-submit the PR to BR after 665 is merged.

@july2993 FYI this has been closed to prepare for pingcap/br#665, you may re-submit the PR to BR after 665 is merged.


Make pull request for adding styles.css to production

Make pull request for adding styles.css to production


Fix iOS configurations

Pull Request Test Coverage Report for Build #30

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

Totals

Change from base Build #19:
0.0%

Covered Lines:
224

Relevant Lines:
224

💛  - Coveralls


Structure for datasets

We need to add models for the structure of the various datasets.

Demographic datasets
Meteorologic data
COVID spread data
others (?)

 Add Italy demographics data

 Add Italy demographics data


Update GridStructure

I've changed the definition of GridStructure in order to make it more faithful to the current version of the blueprint.
Obviously this file doesn't compile since I've not updated TileStructure accordingly yet.

I updated GridStructure myself, using this PR as inspiration, but I think this can now be closed.

Great. Thanks.


Add a LICENSE file

I have an interest in using miOSQP with PYPOWER.
Can miOSQP be used under the same Apache License as OSQP?
https://github.com/oxfordcontrol/osqp/blob/master/LICENSE

Just added the license file c409f02deba0c258f730c4aea81f526981694c0c.


Configure notification channels

[x] Subscribed to Academic & Other Notification Channel

[x] Saved Unique Device Tokens to Firestore

[x] Added Unsubscribe to Optional Notification on Settings Page

Added Flex to fix this.
Before

After

Settings Page UI

@Thesmader
Over to you

@abhibhaw
Do mention when you do the changes discussed. Will approve and merge

@DesignrKnight Changes are throwing a few errors 😢 I am on it!!

Good to go!

@abhibhaw @nayakastha @SriramPatibanda
I am merging this. Once that is done. This state of the project, planning to push to Play Store and inform SAC. Do check thoroughly.
Also, now that we have two notification channel. We need Firebase Cloud Functions for the same. I will explain the existing one so that one of you can modify that


image.scale vs OpenCV resize

It seems that OpenCV and this library's resize methods give different results, even though both use bilinear interpolation by default. It may be useful to point this out if this is expected.
I posted code and the example images in this Gist: https://gist.github.com/achalddave/d9e7a6416996c648c6e75355e3f87df1

@achalddave it looks like one of them uses "floor" to determine some sizes, and the other uses "ceil".

i dont think we explicitly tried to match opencv, so this is probably expected

(y)
It seemed to throw off the relative rankings of class labels from a pretrained network, so I figured I'd check. I suppose anyone trying to replicate a Caffe model's results exactly can always use the torch opencv library.

was it a HUGE difference, or was it minor? :)

I want to say it's minor. I ran the network on images loaded using OpenCV and using Torch. In both cases, I used the image library's 'crop' function.
The top 10 categories look relatively different, but their scores are all fairly low (<0.08 [not shown in output below]), so that might be why.
Loading frames
Avg opencv image prediction 0.0020533881613644
Avg torch image prediction 0.0020533880204356
Max absolute difference 0.058509038761258
Sum of squared errors   0.0074829880344148
Top 10 OpenCV labels
 163
 359
 429
 392
 144
 364
 409
 287
 205
  46
[torch.LongTensor of size 10]

Top 10 Torch labels
 403
 364
 409
  46
 428
 287
 392
 359
 144
 429
[torch.LongTensor of size 10]

Top 10 OpenCV scores
0.01 *
 7.1058
 5.7152
 3.6673
 3.5534
 3.1041
 2.7137
 2.6046
 2.4163
 2.1523
 2.1312
[torch.DoubleTensor of size 10]

Top 10 Torch scores
0.01 *
 4.3588
 4.0891
 3.5908
 2.9616
 2.9594
 2.9134
 2.4286
 2.4174
 1.6333
 1.4935
[torch.DoubleTensor of size 10]

Adversarial sample by size flooring :P

This might be more relevant now.
I loaded a torch trained model to pytorch using load_lua. The results are drastically different. Specifically this model for inpainting.
With cv2 resize:

With image.scale(), torch.save() and load_lua():

@senthilps8 if you look at the image after cv2 resize, you might see that it is scaled very differently than the image out of image.scale.
Just do this for both images:
print(img.mean(), img.std(), img.min(), img.max())
Try renormalize the image out of cv2.resize to have the same range as the one out of image.scale.

@soumith Are you referring to the difference of torch image belonging to [0,1] and cv2 images belonging to [0,255]? If so, I forgot to mention that I divide the cv2 images by 255.0 for normalizing. If not, is there a normalization step in image.scale that I'm not aware of? Here's a snippet of the preprocess I use for cv2 (I've also tried all the other modes of interpolation).
    iminput = cv2.imread(imPath);
    iminput = cv2.resize(iminput, (inputSize,inputSize), interpolation=cv2.INTER_LINEAR)
    iminput = iminput.swapaxes(0,2).swapaxes(1,2)
    iminput = (iminput/255.0)*2.0 - 1
    iminput = iminput[-1::-1,:,:]

Also, I did try printing out the min, max, etc as you suggested.
With cv2.resize:
('Image: Min, Max, Mean, Stdv: ', -0.9764705896377563, 1.0, -0.0761005503667415, 0.41822466298177663)
With lua image:
('Image: Min, Max, Mean, Stdv: ', -0.9600126147270203, 0.9971910715103149, -0.08448679641393635, 0.4320645987985845)


Rename?

Change name because of name collision with @hville's pico-dom.
@hville was first, so maybe we should fail in his favor. It's a shame to lose the logo though 😕

Change name because of name collision with @hville's pico-dom.

Looks not active. From https://github.com/hville/pico-dom/issues/1#issuecomment-359628668:

Pico-dom was an experiment at an alternative template-based scripts. It works but it quickly gets confusing as to what is a template and what is a component. Interesting but Abandoned.

@brodybits Oh, interesting discovery. I should have looked into the issues. Thanks! 🎉

I'd like to reopen and reconsider a name change based on the following:

I've decided to remove the org and move picodom into my own username.
After I rewrite the diff algo (few months from now) we may no longer be 1kB, hopefully still less than 2kB, though. At that point, tiny size might not be picodom's most distinctive feature.

At that point, tiny size might not be picodom's most distinctive feature

I don't think it's the most distinctive feature now? The main attraction for me is element-level life-cycle events. That's where Picodom deviates from other JSX libs conceptually. I'm honestly not interested in marginal byte-size savings or minor differences in terms of a single API point that most apps are going to invoke around once or so.
On the name topic, I think the name is great, the logo is nice, and there's no real issue with ambiguity versus an older, dead library - the new Picodom is already making a name for itself. I'd say keep it :-)

Renamed to patchdom. 🎉


Sphere random shutdowns

On the latest commit, our sphere is crashing randomly 2-3x / per night-day.
There is no error in log or anywhere.
We are not sure if its sphere problem or not, right now we are trying to find out, but it is little bit tricky, without errors or anything.
Build before latest was fine, as far as i know.

Have you tried with the debug build attached to the debugger?

I would love to, but i forgot how to set it up :(
i have it working on my personal PC, but we already moved on live server.

OK GOT IT!!!
Everytime you want to buy something from nPC or vendor, and you didnt write command correctly, it will shutdown.
I came to mage, said xxbuy and it crashed.

Even if you goes like [Name] buy, the vendor dont recognize his name and it will crash too.

fixed, ty!


Design Icons and Badges-3

In the OctopOs Prime project, one of the 8 teams, namely the Design Team, requires the following designs from the Design Team:

Designing the main icon for the Design Team
Designing 10 badges that determine the levels of members in the Design Team

Obtaining the outputs as an icon (32x32)
Obtaining the outputs in PNG format (1080x1080)

The badge names for the Design Team are listed below.
1) Discovery Voyager
Illustrator: Explore the interface, learn basic tools, and drawing techniques.
Blender: Explore the interface, learn basic modeling techniques, and navigation.
2) Vector and Modeling Master
Illustrator: Discover the power of vector drawing, design logos, icons, and illustrations.
Blender: Start creating simple 3D models.
3) Color and Texture Alchemist
Illustrator: Solve color theory, create eye-catching palettes.
Blender: Add texture and color to your models, making them realistic and appealing.
4) Master of Letters and Animation
Illustrator: Enhance your designs with meaning and visual interest using typography.
Blender: Prepare to animate your models by learning rigging and animation techniques.
5) Layers and Motion Wizard +
Illustrator: Organize your designs with layers, create complex illustrations.
Blender: Learn to move your models realistically and smoothly.
6) Effect and Light Master +
Illustrator: Add special effects and textures to your designs with effect tools.
Blender: Add depth and atmosphere to your models using light and shadow.
7) Pattern and Camera Sorcerer +
Illustrator: Add rhythm and dynamism to your designs with pattern creation techniques.
Blender: Create impressive visuals using different camera angles and lenses.
8) Visual and Simulation Wizard
Illustrator: Enhance and enrich your designs using visual effects (VFX).
Blender: Create realistic effects using particle systems and physics simulations.
9) Art and Render Hero
Illustrator & Blender: Create 2D and 3D artworks reflecting your own style and vision.
Blender: Learn to turn your models into high-quality visuals.
10) Gateway to Infinity
Keep evolving and exploring innovations.
Embark on new horizons in the infinite universe of 2D and 3D design.
The works in icon format (.ico extension files) will be uploaded to the op-design repository's Src/2D/Badges/Design/Ico directory, and those in PNG format (.png extension files) will be uploaded to the op-design repository's Src/2D/Badges/Design/Png directory.
The standardization of file names for the uploaded files will be as follows:
<Date>-<description of the logo>(<size>).<file extension>
Example:
07-03-24-op-logo-black-and-blue-colors-futuristic-laboratory-setting(1280x720).jpg
08-03-24-op-logo-sleek-and-futuristic-clean-white-background(1280x720).jpg

5,6 and 7th badges for the design team.

![Başlıksız2169_20240427090616.png](https://github.
d-7c
40427083914.png](https://github.com/octoposprime/op-design/assets/158744085/43c47b55-9baf-40a7-82ae-ad0928bc9fda)
şlıksız2133.png](https://github.com/octoposprime/op-design/assets/158744085/6c5b4545-1c1e-4db9-9cdc-2787f1a16450)

5,6 and 7th badges for the design team.
5th badge

6th badge

7th badge

Non Pixelated Design Badges (5-7)
5th Badge

6th Badge

7th Badge


Can support egg.js?

[x] I have searched the issues of this repository and believe that this is not a duplicate.

egg.js: https://github.com/eggjs/egg
In this example: https://github.com/zeit/next.js/blob/master/examples/custom-server-koa/server.js. ctx.respond = false causes a large number of koa middleware to be invalid. egg.js is based onkoa implementation.
Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Context

Your Environment

Tech
Version

next
v3

node
8.4

OS
mac

browser
*

etc

May be there will be ways to use with koa as it should have done.
Basically to render page we return a promise. So, you need to wait until that.
Not an expert on koa, but I guess it's doable.
Closing this but feel free to discuss. Reopen or ping me if there is something needs from the core.

https://github.com/eggjs/egg/issues/328

@MinJieLiu Are you sure that the middleware is not working? Give a demo


play local audio file

i want to play the local recorded file instead of from url.

i want to play the local recorded file instead of from url.

Did you find the way?

Hi !
Set the isFile property of the VoiceController to true like bellow:
                VoiceMessageView(
                  backgroundColor: AppColors.greyExtraLight,
                  controller: VoiceController(
                    isFile: true,
                    audioSrc: filePath, // the path to your local recorded file
                    onComplete: () {},
                    onPause: () {},
                    onPlaying: () {},
                    onError: (err) {},
                    maxDuration: const Duration(seconds: 25),
                  ),
                  innerPadding: 8,
                  cornerRadius: 12,
                )

Hope it can help.


moveAssetsInOrder transform error

The following error is thrown in some builds:
moveAssetsInOrder transform: transforms.moveAssetsInOrder: Couldn't find a suitable rename order due to cycles in the selection
    /opt/build/repo/node_modules/assetgraph/lib/transforms/moveAssetsInOrder.js:54:13 generateMoveOrder
    /opt/build/repo/node_modules/assetgraph/lib/transforms/moveAssetsInOrder.js:65:16 moveAssetsInOrder
    /opt/build/repo/node_modules/assetgraph/lib/AssetGraph.js:645:25 Immediate.setImmediate [as _onImmediate]
    timers.js:705:18 runCallback
    timers.js:676:5 tryOnImmediate
    timers.js:658:5 processImmediate

The build logs don't unfortunately give more information: the build looked normal up until that point.
Note also that the stack trace stops as setImmediate(), so it is likely that the error is not being properly propagated up the async stack here.

Definitely needs some improved error handling here.
I also think I might be able to catch this and maybe skip the dependency cycle in question while continuing on the remainder of the graph. Worst case: some part of the graph doesn't get immutable file names. I'd say that categorises as a warning, not a build-breaking error.
Btw is there any concept of being able to report back warnings like these to the user? I have multiple plugins where non-fatal warnings can happen, but I have no way to bring them to the attention to the user other than breaking the build or hoping they look at all their logs

Good idea! I have opened a feature request at https://github.com/netlify/build/issues/1248


How do I access cd Roomba980-Python/roomba

When I type cd Roomba980-Python/roomba into python, this comes up
>>> cd Roomba980-Python/roomba
  File "<stdin>", line 1
    cd Roomba980-Python/roomba
       ^
SyntaxError: invalid syntax

How do you access that file on python?

The cd command is not a Python command, it’s an OS command.
I think you need to learn some Linux basics, and some Python basics before you go any further.
This might be helpful: https://linuxize.com/post/basic-linux-commands/

Thank you for the info, I'm just learning about this

Is this what I am supposed to get or am I doing something wrong?
I held the home button on the roomba before I ran the program.
C:\Users\Carlos\Roomba980-Python\roomba>roomba_direct.py [2021-05-02 15:44:16,806][ INFO](Roomba              ) ******************* [2021-05-02 15:44:16,806][ INFO](Roomba              ) * Program Started * [2021-05-02 15:44:16,806][ INFO](Roomba              ) ******************* [2021-05-02 15:44:16,806][ INFO](Roomba              ) Roomba.py Version: 2.0f [2021-05-02 15:44:16,806][ INFO](Roomba              ) Python Version: 3.9.4 (tags/v3.9.4:1f2e308, Apr  6 2021, 13:40:21) [MSC v.1928 64 bit (AMD64)] [2021-05-02 15:44:16,806][ INFO](Roomba              ) Paho MQTT Version: 1.5.1 [2021-05-02 15:44:16,806][ INFO](Roomba              ) CV Version: 4.5.1 [2021-05-02 15:44:16,806][ INFO](Roomba              ) PIL Version: 8.2.0 [2021-05-02 15:44:16,806][ INFO](Roomba              ) <CNTRL C> to Exit [2021-05-02 15:44:16,806][ INFO](Roomba              ) Roomba MQTT data Interface [2021-05-02 15:44:16,806][ INFO](Roomba.Password     ) Using Password version 2.0a [2021-05-02 15:44:16,806][ INFO](Roomba.Password     ) reading/writing info from config file ./config.ini [2021-05-02 15:44:16,806][ INFO](Roomba.Password     ) 1 Roombas Found [2021-05-02 15:44:16,806][ INFO](Roomba              ) Creating Roomba object <IP_ADDRESS>, Coco [2021-05-02 15:44:16,822][ INFO](Roomba.Password     ) Using Password version 2.0a [2021-05-02 15:44:16,822][ INFO](Roomba.Coco         ) Posting DECODED data [2021-05-02 15:44:16,822][ INFO](Roomba.Coco         ) MAP: Maps Enabled [2021-05-02 15:44:16,822][ INFO](Roomba.Coco         ) Connecting... [2021-05-02 15:44:16,822][ INFO](Roomba.Coco         ) Setting TLS [2021-05-02 15:44:16,822][WARNI](Roomba.Coco         ) error loading font: %s, loading default font [2021-05-02 15:44:16,822][ INFO](Roomba.Coco         ) Setting TLS - OK [2021-05-02 15:44:16,868][ INFO](Roomba.Coco         ) MAP: opening existing map_notext.png [2021-05-02 15:44:16,868][WARNI](Roomba.Coco         ) MAP: unable to load map_notext.png: [Errno 2] No such file or directory: './Cocomap_notext.png': set to None [2021-05-02 15:44:16,868][ INFO](Roomba.Coco         ) MAP: home_pos: (400,750) [2021-05-02 15:44:16,868][ INFO](Roomba.Coco         ) MAP: Initialisation complete [2021-05-02 15:44:37,883][ERROR](Roomba.Coco         ) Connection Error: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [2021-05-02 15:44:38,886][ERROR](Roomba.Coco         ) Attempting retry Connection# 0 [2021-05-02 15:44:38,886][ INFO](Roomba.Coco         ) Attempting to Reconnect... [2021-05-02 15:44:59,919][ERROR](Roomba.Coco         ) Connection Error: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [2021-05-02 15:45:00,925][ERROR](Roomba.Coco         ) Attempting retry Connection# 1 [2021-05-02 15:45:00,925][ INFO](Roomba.Coco         ) Attempting to Reconnect... [2021-05-02 15:45:21,955][ERROR](Roomba.Coco         ) Connection Error: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [2021-05-02 15:45:22,960][ERROR](Roomba.Coco         ) Attempting retry Connection# 2 [2021-05-02 15:45:22,960][ INFO](Roomba.Coco         ) Attempting to Reconnect... [2021-05-02 15:45:43,990][ERROR](Roomba.Coco         ) Connection Error: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [2021-05-02 15:46:44,004][ERROR](Roomba.Coco         ) Attempting retry Connection# 3 [2021-05-02 15:46:44,004][ INFO](Roomba.Coco         ) Attempting to Reconnect... [2021-05-02 15:47:05,055][ERROR](Roomba.Coco         ) Connection Error: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

No, it’s not.
I suggest you follow the directions exactly.
ie run roomba_direct.py without pressing any buttons, and follow the on screen instructions.
You could run get_password.py instead, to get the connection info, but you need to follow the instructions exactly.

I followed the on screen instructions exactly as they said and it says that there is an error communicating with the robot

Did you manage to get this to connect? did getpassword.py work?

No, It says there was a problem with it. To get the live map do I have to have the password for the Roomba?
From: Nick Waterton @.>
Sent: Wednesday, May 19, 2021 10:05 AM
To: NickWaterton/Roomba980-Python @.>
Cc: campam0514 @.>; Author @.>
Subject: Re: [NickWaterton/Roomba980-Python] How do I access cd Roomba980-Python/roomba (#89)
Did you manage to get this to connect? did get_password.py work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/NickWaterton/Roomba980-Python/issues/89#issuecomment-844193743 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5DNJKRQZVMTYNDEG6MG3LTOPHRJANCNFSM43636IYA .  https://github.com/notifications/beacon/AT5DNJLVZTGMOLC4NR3KKQ3TOPHRJA5CNFSM43636IYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGJIV7TY.gif

Yes,
The process is:

obtain the blid and password of the roomba(s)
Run roomba_direct.py

You get the blid and password by running get_password.py, and following the instructions. The blid and password are written to the file config.ini
When you run roomba_direct.py, it reads these values from config.ini.
If config.ini doesn’t exist, roomba_direct.py runs get_passwrd.py automatically.
Can you post the contents of your config.ini file and I’ll see if it looks OK.
I also haven’t tried roomba_direct.py on Windows with python 3.9, so there may be something going on with that.

I don’t have a config.ini yet but I will try the password.py tomorrow
From: Nick Waterton @.>
Sent: Wednesday, May 19, 2021 6:15 PM
To: NickWaterton/Roomba980-Python @.>
Cc: campam0514 @.>; Author @.>
Subject: Re: [NickWaterton/Roomba980-Python] How do I access cd Roomba980-Python/roomba (#89)
Yes,
The process is:

obtain the blid and password of the roomba(s)
Run roomba_direct.py

You get the blid and password by running get_password.py, and following the instructions. The blid and password are written to the file config.ini
When you run roomba_direct.py, it reads these values from config.ini.
If config.ini doesn’t exist, roomba_direct.py runs get_passwrd.py automatically.
Can you post the contents of your config.ini file and I’ll see if it looks OK.
I also haven’t tried roomba_direct.py on Windows with python 3.9, so there may be something going on with that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/NickWaterton/Roomba980-Python/issues/89#issuecomment-844559035 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5DNJOTXK7WANTATUO3KILTORBARANCNFSM43636IYA .  https://github.com/notifications/beacon/AT5DNJLXXG7SBBLF5BTW4PTTORBARA5CNFSM43636IYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGJLPFOY.gif


Remove -r flags, which conflict with --remote

I believe we added this before the toolbelt added its own --remote/-r flag. We can still use --resource, but competing usage of -r is a bad idea.

:+1:


Add Room History to /now endpoint

That's here:
https://github.com/goto-bus-stop/u-wave-api-v1/blob/master/src/controllers/now.js

we're fine so far not having the history in /now, i don't think we'd gain much by adding it.


[docs] replace latex.codecogs.com with markdown math

Changes

Replace the use of the LaTeX rendering service latex.codecogs.com, somehow unavailable in mainland, with inline math in Markdown files.
The affected docs are Developer > Algorithm > Federated Learning strategies (FedProx, FedSCR, FedSTC)
This also sets myst_gfm_only to False in conf.py, otherwise no extended MyST capabilities will be enabled.
.po files have been updated.
Files are additionally formatted (beautified) with Prettier.

Preview
FedProx

FedSCR

FedSTC

Nice work, this indeed solved our problem.
cc @zheyang0825 have a try on TEEU docs?


RBACAccessDenied with az deployment sub create

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

Related command
az deployment sub create
Describe the bug
I'm testing a bicep deployment locally with command az deployment sub create --location westeurope --template-file main.bicep
The bicep file is intended to create a budget resource
I got this error
{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Unauthorized","message":"{\r\n  \"error\": {\r\n    \"code\": \"RBACAccessDenied\",\r\n    \"message\": \"The client does not have authorization to perform action. Request ID: b022aa4a-29f0-45c2-844a-bd15ef154150\"\r\n  }\r\n}"}]}}
az account show shows that I'm connected with the right user & subscription. My user has an Owner access to this subscription and I've also added the Cost Contributor role manually and it still doesn't work.
I've checked this page https://docs.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors but it doesn't have RBACAccessDenied error code.
To Reproduce
I'm following this file: https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/quick-create-budget-bicep?tabs=CLI#no-filter
And run the az deployment sub create as mentioned
Expected behavior
The budget resource is created
Environment summary
cli version: 2.37.0
shell: cmd & powershell in VS code
Additional context

With my user account, can create the budget via Azure Portal
I can also run the az deployment sub what-if successfully with the same bicep file

route to CXP team

Apprently this is caused because the actionGroups need a resourceId than the name. Would be good to add this to the documentation


Listed twice

I'm listed as jethrogb and Jethro Beekman. I guess this could be because I intentionally haven't linked my git e-mail address with GitHub. If you answer is ”deal with it” I can accept that.

It's easy to fix! What would you prefer to show up as?

Jethro Beekman

PR sent to the main repo

rustlang PR was merged, so I'm going to give this a close. This will be fixed on its own before thursday. Thanks!


NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer

The following code as is from test ExampleApp.java returns error:
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
	at com.eatthepath.otp.HmacOneTimePasswordGenerator.generateOneTimePassword(HmacOneTimePasswordGenerator.java:140)
	at com.eatthepath.otp.TimeBasedOneTimePasswordGenerator.generateOneTimePassword(TimeBasedOneTimePasswordGenerator.java:143)
	at com.eatthepath.otp.TimeBasedOneTimePasswordGenerator.generateOneTimePasswordString(TimeBasedOneTimePasswordGenerator.java:175)
	at com.eatthepath.otp.TimeBasedOneTimePasswordGenerator.generateOneTimePasswordString(TimeBasedOneTimePasswordGenerator.java:160)
	at simple.ExampleApp.main(ExampleApp.java:30)

package simple;

import javax.crypto.KeyGenerator;

import com.eatthepath.otp.TimeBasedOneTimePasswordGenerator;

import java.security.InvalidKeyException;
import java.security.Key;
import java.security.NoSuchAlgorithmException;
import java.time.Instant;

public class ExampleApp {
    public static void main(final String[] args) throws NoSuchAlgorithmException, InvalidKeyException {
        final TimeBasedOneTimePasswordGenerator totp = new TimeBasedOneTimePasswordGenerator();

        final Key key;
        {
            final KeyGenerator keyGenerator = KeyGenerator.getInstance(totp.getAlgorithm());

            // Key length should match the length of the HMAC output (160 bits for SHA-1, 256 bits
            // for SHA-256, and 512 bits for SHA-512).
            keyGenerator.init(160);

            key = keyGenerator.generateKey();
        }

        final Instant now = Instant.now();
        final Instant later = now.plus(totp.getTimeStep());

        System.out.println("Current password: " + totp.generateOneTimePasswordString(key, now));
        System.out.println("Future password:  " + totp.generateOneTimePasswordString(key, later));
    }
}

Running on Java 1.8.0 u281

I am unable to reproduce the problem and strongly, strongly suspect some kind of JVM. java.nio.ByteBuffer.clear() has been part of the JDK since Java 7.
Once again, I'm going to move this to a discussion because it appears to be a request for general support rather than a bug report or feature request.


Update dependencies

This PR will:

Add the npm package lock file to ensure that dependencies are consistent across all machines and platforms.
Remove unused gulp-tap dependency.
Update all other dependencies to their latest versions (exception noted below).

A few notes:

gulp-transform now requires character encoding in order to render the docs properly. I tried utf8 and as far as I can tell it's working fine.
stylelint-config-standard introduces two new rules.

at-rule-no-unknown, by default, throws errors when linting SCSS directives (@if, @for, @each, etc.). I've set it to exclude linting via the CSS linter, but use the SCSS one instead.
no-descending-specificity a.k.a. enforcing good habits regarding CSS specificity. More info here. Leaving this feature enabled by default is something that we may not want.

Please also note that I have not yet updated uglify-js since v3 is not backwards compatible with v2 and I couldn't wrap my head around the new API. It would be great if anyone's willing to help with this, perhaps in a new PR.
Tested every Gulp task on a real project of roughly 50 components and everything's working smoothly.

@wouterkroes I updated gulp to v3.9.0 and the warning's gone now.
Babel changed some stuff making babel-core/register a required dependency. Normally, it should have been them who should have added it as a dependency, but since Gulp also relies on Babel and the Babel team didn't do jack about it, Gulp added it as a dependency to their own project.
HOWEVER, they still kept getting new issues opened by people who neither updated their Gulp version, nor added babel-core/register as a separate dependency, so the Gulp devs got fed up and eventually added that "error" log asking people to install babel-core/register - link. So... now, it's very much hard-coded in red starting Gulp v3.9.1, even though it's only a warning. To quote:

It seems that some consumers are allergic to the color red - we should revisit the coloring and messaging of the requireFail log.

As a final touch to this PR,  the npm scripts have been updated to include all main Gulp tasks.
Calling npm run dev instead of gulp dev will ensure that the user's local version of Gulp is being used and therefore avoid any undesired conflicts with external dependencies. Docs have also been updated to reflect this, as well as advising the global installation of gulp-cli, and not gulp.
List of scripts below:
npm run dev
npm run dist
npm run lint
npm run test
npm run upload


firefox: fix wrapper to make proper symlink to icon

Motivation for this change
The symbolic link /nix/store/...-firefox-bin-59.0.2/share/icons/hicolor/128x128/apps/firefox.png points to /nix/store/...-firefox-release-bin-unwrapped-59.0.2/lib/firefox/browser/chrome/icons/default/default128.png, but it should be /nix/store/...-firefox-release-bin-unwrapped-59.0.2/lib/firefox-bin-59.0.2/browser/chrome/icons/default/default128.png.
Because of this, nix-env -i firefox-bin results in error with 18.03.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

So... firefox uses the lib/firefox prefix, but firefox-bin appends the version. Great.


2 way audio question

Hi there
I would like to ask a question about 2 way audio.
Is it possible to get 2 way audio working if go2rtc is installed as an HA addon, and frigate is running on separate machine?

Is it possible to get 2 way audio working if go2rtc is installed as an HA addon, and frigate is running on separate machine?

Only if Frigate itself can be configured to use a different (non-bundled) go2rtc -- I don't think so, but I'm not sure.
The reason is not related to audio:

The card can only talk to the Frigate integration.
The integration proxies traffic from the card <-> HA <-> Frigate
Frigate itself proxies the traffic to the bundled go2rtc.

Unless there is some way to tell Frigate to use a different go2rtc, I don't think this will work. If there is such a way, I think it'll work just fine as all the proxy paths would continue to work.

[Closing as not an issue with the card]


Upgrade x/tools to v0.14.0

This PR upgrades the dependency x/tools (containing the analysis framework) to v0.14.0 since it includes various optimizations for the linter driver framework. Most notably, it includes fact storing logic optimization (see this commit) such that imported facts are not re-exported, which should bring some performance improvements, as well as artifact size reduction.

@yuxincs x/tools v0.11 is causing issues on go tip and apparently 1.20.6 in some codebases, see https://github.com/uber-go/nilaway/issues/116.
This MR could be changed to use x/tools v0.15.0 while we are at it.
Thanks!

@mauri870 See #96.
This one can be closed.


Scrabble Score - count_any_of is unknown

Hi,
I tried to solve this exercise with this code:
  METHOD score.
    DATA(word) = to_upper( input ).
    result  = ( count_any_of( val = word  sub = `AEIOULNRST` ) * 1 ).
    result += ( count_any_of( val = word  sub = `DG`         ) * 2 ).
    result += ( count_any_of( val = word  sub = `BCMP`       ) * 3 ).
    result += ( count_any_of( val = word  sub = `FHVWY`      ) * 4 ).
    result += ( count_any_of( val = word  sub = `K`          ) * 5 ).
    result += ( count_any_of( val = word  sub = `JX`         ) * 8 ).
    result += ( count_any_of( val = word  sub = `QZ`         ) * 10 ).
  ENDMETHOD.

But I got the following error:  "TypeError: abap.builtin.count_any_of is not a function.
This runs smoothly on a 7.55 SP01.

thanks, its missing in the runtime, https://github.com/abaplint/transpiler/tree/main/packages/runtime/src/builtin

https://github.com/abaplint/transpiler/pull/888

@JSB-Vienna try again

@larshp  Thank you very much for very quick response and solution. It works fine now.


[docs-infra] The docs with RTL break the dark theme

Open settings and set the docs with RTL and dark theme. The background is dark, but the markdown content is in light mode

Search keywords:

@oliviertassinari fwiw I added a PR that fixes this issue here: https://github.com/emotion-js/emotion/pull/3210


Refresh instead of purge, stale-while-revalidate

When doing a PURGE by ykey, you might purge a lot of stuff at the same time, instantly creating a cache avalanche / cache slam.
A typical solution is to push changes into the cache instead of cache pulling them on demand. This ensures a single write is done into the cache, and the clients start getting the new version immediately. The issue here is knowing how to write to the underlying system, which complicates things.
Alternative could be stale-while-revalidate to support a refresh instead of a direct purge.
Basically, this means the cache item is not flushed, it's marked as stale, but a request is still passed through to allow it be refreshed.
Something like

GET /, Cache-Control: public, stale-while-invalidate
GET /, hit
PURGE /
GET /, miss, refreshing
GET /, hit, serving stale until 4. resolves
request from 4. completes and stores new version in cache
GET /, hit

Came by to pass along an article I came across I thought might be useful here https://www.nginx.com/blog/benefits-of-microcaching-nginx/
Nginx has implemented an option to use a stale-while-invalidate which serves expired cache entries if multiple requests are hit while an attempt to update the cache is already in flight.

Following the RFC, if the 5th request doesn't contains stale-while-revalidate or a max-stale directive we mustn't serve stale content. The only one thing we can do is to delay the fifth request while the fourth is revalidating and serve the fourth response content to the fifth one only if they have the same context (url, varied header values, ...).

@darkweak the idea is you only allow this for responses which allow stale-while-revalidate indeed. Request 5 gets served the stale response created in request 1. The assumption is also the response will be refreshed long before max-stale is reached, but in that case indeed we must pass through as if the stale content doesn't even exist, it's basically evicted when expires + max-stale expire.

The main problem here IMO is keeping track of the request 4. which is "the refresh request" here, its job is to refresh the response.

@dkarlovi the next release will support that 👍


Fix PyTest failures from RAPIDS 24.12 GPU CI

In https://github.com/NVIDIA/NeMo-Curator/pull/434, we upgraded to the latest RAPIDS 24.12 release, however it caused these errors:

FAILED test_fuzzy_dedup.py::TestFuzzyDuplicates::test_fuzzy_dedup[3-0.3-duplicate_docs2-False] - AssertionError: Series are different
FAILED test_fuzzy_dedup.py::TestFuzzyDuplicates::test_no_fp_check[3-duplicate_docs1-False] - AssertionError: Series are different
test_semdedup.py runs indefinitely

I added skips to them for now, but we should fix them ASAP.

Fuzzy dedupe failures will be fixed by: https://github.com/NVIDIA/NeMo-Curator/pull/442.


Remove google guava lib

Remove the dependency to google guava.

All the functionality which is currently being used in Jenkins Client can be replaced with JDK8.

This change will require a version upgrade to 0.4.0-SNAPSHOT.


Escaping of the query leads to different queries

During the query escaping a blank is replaced with a underscore see:
https://github.com/WolfgangFahl/py-3rdparty-mediawiki/blob/a7872b31fa41e65846b9092792dc292ac6a5fb7e/wikibot/smw.py#L206
For example query "[[isA::Event series]]" is converted to "[[isA::Event_series]]".
On www.openresearch.org this results in two distinct results but on my own wiki not.
A quick test showed that removing the mentioned line from above seems to resolve this issue (The query is then encoded by the library requests (" " to "+"))
Should this issue be fixed or should it stay dependent on the wiki configuration?

Let's add a wikiquery functionality to proove the point fist. I all add an issue

wikiquery -s or -q "[[isA::Event_series]]"
json
wikiquery -s or -q "[[isA::Event series]]"
json

but
wikiquery -s or -q "[[Category:Event series]]" | wc -l
1048
wikiquery -s or -q "[[Category:Event_series]]" | wc -l
1048

so what is the problem?

The queries of the two commands:
wikiquery -s or -q "[[isA::Event_series]]"
wikiquery -s or -q "[[isA::Event series]]"

are converted into the same request:
https://www.openresearch.org/mediawiki/api.php?query=[[isA%3A%3AEvent_series]]|offset%3D0&action=ask&format=json
by changing the underscore to an escaped blank (%20) the query is executed as expected:
https://www.openresearch.org/mediawiki/api.php?query=[[isA%3A%3AEvent series]]|offset%3D0&action=ask&format=json
I have set up a test page showing this behavior:
https://www.openresearch.org/wiki/Issue:Query_Underscore
But on my test wiki this issue does not occur.
To me it looks like the problem is in the wiki and not in the code but we could bypass this odd behavior by altering the escaping as mentioned above.

We might want to use the official escaping code. mwclient and pywikibot both should have it somewhere. It's a long known issue and also hit me in https://github.com/WolfgangFahl/Mediawiki-Japi/issues/50

This is an exotic case  do not use blanks in identifiers and the problem goes away


adding function to signup but not working

Can you fix the things that are not working? And can you describe the issue you're facing..

I'm unable to move backward from signup to login page


Added AddTwoNumbers.java

Code to add two numbers given as a list.

Please create a separate issue and link it properly. If a relevant issue exists, mention it.


Synchronous XMLHttpRequest on the main thread is deprecated

On the client I have created an event delegate which listen if a user clicks a link:
$(document).on('click', 'a' , (e) => {
    e.preventDefault();

    switch ( e.target.pathname ) {

        case '/': {
            console.log('home') ;
            let client_bundle = `/bundle.js`;
            let detailTmpl = require(`./home/index.html`)($);
            let context = {
                hello: "Brave New",
                client_bundle
            };
            let html = detailTmpl.render(context);
            $("#content_container").html(html); //that the line which outputs that warning
...

Why do I get the following warning in the console?:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Related:
http://stackoverflow.com/questions/24639335/javascript-console-log-causes-error-synchronous-xmlhttprequest-on-the-main-thr

So it is because I load my browserify bundle like this:
<script src={{:client_bundle}}></script>

I am trying to have a browserify bundle for each 'page' separated and one shared bundle.
By now I troed to include it like this:
./home/index.html
{{:client_bundle}}

This works but I get that xhr warning
If I try to include it with jQuery , I get $ is not defined:
$.getScript({{:client_bundle}});

This seams to work, I think when I am ready with this project I am prepaired to write a blog about my experience... :
                let s;
               $.getScript( '/bundle.js' )
                    .done(function( script, textStatus ) {
                        console.log( textStatus  );
                        s = script
                    })
                    .fail(function( jqxhr, settings, exception ) {
                        console.log(  jqxhr, settings, exception );
                    });

                    let detailTmpl = require(`./home/index.html`)($);

                    let context = {
                        hello: "Brave New",
                        s
                    };

./home/index.html
<script>
{{:client_bundle}}
</script>

Is this issue a real one (if not can you close it)?
You seem to have <script src="/bundle.js"></script> here https://github.com/daslicht/jsviews-includes/blob/master/app/layout.html#L18 - which should work fine.
Why would you write {{:client_bundle}}?

would only allow one bundle for all pages

Why would you write {{:client_bundle}}?
Because I wanted to have a dynamic bundle for each page

still not sure how to handle it , and I am confused how to include jquery just once.

OK - yes you need to define what is a top-level page - which will need jQuery (if loaded separately) and the initial clientbundle (which may include jQuery) loaded immediately (through script tags, not getScript(). But then if you load other 'sub-pages' (partials) as in  a single page app - you can define distinct client bundles for them too (definitely not including jQuery) and load them async with getScript.
It all depends on your chosen architecture....


Archlinux AUR PKGBUILD needs additional dependency

For AUR PKGBUILD
https://aur.archlinux.org/packages/abracadabra
to build properly, I had to manually install the following Package:
qt6-location
Since I do not have an Archlinux-Account and you seem to be the same maintainer, I'd like to ask you via this issue-list, to add this package to the dependency list.
Thank you.

Thanks for reporting, it is fixed now.


Fix a potential crash occuring after saving window screensets

Saving a window screenset constructs and leaves NotesWnd in memory (via SNM_WindowManager::SNM_ScreensetCallback) but does not open it (OnInitDlg is not called).
When the track list is updated, through CSurf_SetTrackListChange, NotesUpdateJob thinks the Notes window is fully opened and asks it to update itself. m_edit is uninitialized at this point, leading to the reported crash.
The previous implementation was relying on m_hwnd being initialized to null by SWS_DockWnd's constructor. This commit does the same for m_edit.
A better solution might be to delete unused/closed windows from memory, or to check whether the window is actually open before calling NotesWnd::Update.

:white_check_mark: Build sws 287-master completed (commit https://github.com/reaper-oss/sws/commit/2f1291101f by @cfillion)

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=armv7l

build/sws-<IP_ADDRESS>-Linux-armv7l-fix-screenset-notes-crash-2f129110.tar.xz

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=x86_64

build/sws-<IP_ADDRESS>-Linux-x86_64-fix-screenset-notes-crash-2f129110.tar.xz

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=i686

build/sws-<IP_ADDRESS>-Linux-i686-fix-screenset-notes-crash-2f129110.tar.xz

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Visual Studio 2019, ARCH=x86

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x86.pdb
build/sws-<IP_ADDRESS>-Windows-x86-fix-screenset-notes-crash-2f129110.exe

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Visual Studio 2019, ARCH=x64

build/BuildUtils/SWS_Template.ReaperLangPack
build/BuildUtils/whatsnew.html
build/reaper_sws-x64.pdb
build/sws-<IP_ADDRESS>-Windows-x64-fix-screenset-notes-crash-2f129110.exe

Environment: APPVEYOR_BUILD_WORKER_IMAGE=Ubuntu1804, ARCH=aarch64

build/sws-<IP_ADDRESS>-Linux-aarch64-fix-screenset-notes-crash-2f129110.tar.xz


Stop using MD5 for basic auth password hashing

MD5 is broken. Stop using it.
Also, please offer SHA-2, as SHA-1 will be deprecated in the medium term.

I would recommend bcrypt, scrypt and so on. Also Sodium / libsodium is great.

How could we help here? With a PR?

It seems it is already merged.
https://github.com/containous/traefik/blob/bf43149d7e67ee872a85c9c979dd254f1ad59388/docs/configuration/backends/web.md#basic-authentication
https://github.com/containous/traefik/pull/677/files

As noted above, Traefik now supports MD5, SHA1 and BCrypt as options: (https://docs.traefik.io/configuration/entrypoints/#basic-authentication).
Therefore I will be closing this issue.
If you have any further concerns, please open a new issue.
Thanks!


(Chore): Fixed Oscillator add, mult, scale methods

Signed-off-by: Abhijay Jain<EMAIL_ADDRESS>Refer PR: #653 (resolved merge conflicts in existing )
Resolves https://github.com/processing/p5.js-sound/issues/513

Fixed incorrect sigChain helper function, which inserts or modifies a node into a signal chain
Fixed incorrect math in scale method
Added tests

cc : @davepagurek


fix load core dump print load id

Proposed changes
save the load id to the thread context,
expect all task ids to be saved in thread context, compaction/schema change/etc.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.99 seconds
stream load tsv:          504 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>1 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.06 seconds
stream load tsv:          503 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          67 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>4 Bytes


Difference between pkg/cache and go-cache?

https://github.com/patrickmn/go-cache/blob/master/cache.go
https://github.com/dragonflyoss/Dragonfly2/blob/main/pkg/cache/cache.go

Refactoring cache using interface
Can get expired data，nn the case of unreliable P2P network, expired data can be obtained for fallback.
https://github.com/patrickmn/go-cache/blob/master/cache.go#L120 => https://github.com/dragonflyoss/Dragonfly2/blob/main/pkg/cache/cache.go#L141
Remove unused features https://github.com/patrickmn/go-cache/blob/master/cache.go#L187


STENCIL-2558 - Update menu depth in navigation

WHAT

Provides an option in theme editor to select the menu depth.
Has the legacy behavior when the menu depth is set to 3 or less.
Is responsive to small and medium+ screen sizes.
3 (and below) setting:  http://g.recordit.co/QuDNdYs9KN.gif
4 (and up) setting:  http://recordit.co/sZolhDXg3a (note that the animation for the arrow looks a little strange in the GIF)

WHY

https://jira.bigcommerce.com/browse/STENCIL-2558

ping @bigcommerce/stencil-team, @bc-ong

LGTM 👍

LGTM 💚


Recurring Donation Batch Jobs Are Not Prevented From Executing if Already Running

This happens in both Enhanced Recurring Donations and Legacy Recurring Donations. In NPSP 3.181, we added a check to the Recurring Donation Batch jobs (Enhanced, Legacy, and the Bulk Data Process that kicks off either) to only execute the job if it’s not already running. Unfortunately, the job is still being kicked off again if already running. This can lead to duplicate Opportunities being created.
Root Cause
Focusing on the Enhanced Recurring Donation batch job (RD2_OpportunityEvaluation_BATCH), we check to see if the batch is already in progress by calling UTIL_BatchJobService().getBatchesInProgress(batchClassName) within the start() method.
We determine if it's already running by querying the AsyncApexJob object.
String namespacePrefix = UTIL_Namespace.getNamespace();
        List<AsyncApexJob> apexJobs = [
            SELECT
                Status, ApexClass.Name,
                ExtendedStatus, NumberOfErrors,
                TotalJobItems, JobItemsProcessed,
                CreatedDate, CompletedDate
            FROM AsyncApexJob
            WHERE JobType = :JOB_TYPE_BATCH
                AND ApexClass.Name = :className
                AND ApexClass.NamespacePrefix = :namespacePrefix
                AND Status IN :IN_PROGRESS_STATUSES
            ORDER BY CreatedDate DESC
        ];

        return apexJobs;

When the query runs in an org with the managed package installed, its ApexClass.Name filter resolves to “npsp.RD2_OpportunityEvaluation_BATCH”. No entries are returned. If we remove the namespace from that particular filter, the query does work as expected in an org where the job is running. I have confirmed this by running the following query in the Dev Console’s Query Editor:
SELECT Status, ApexClass.Name,
ExtendedStatus, NumberOfErrors,
TotalJobItems, JobItemsProcessed,
CreatedDate, CompletedDate
FROM AsyncApexJob
WHERE JobType = 'BatchApex'
AND ApexClass.Name = 'RD2_OpportunityEvaluation_BATCH'
AND ApexClass.NamespacePrefix = 'npsp'
AND Status IN ('HOLDING', 'QUEUED', 'PREPARING', 'PROCESSING')
ORDER BY CreatedDate DESC

MANAGED DEBUG LOG:
Second batch job’s SOQL query against the AsyncApexJob object returns 0 results. [Expected: 1]. As a result, the job is kicked off again.
Query:
10:35:20:158 SOQL_EXECUTE_BEGIN [105]|Aggregations:0|SELECT Status, ApexClass.Name, ExtendedStatus, NumberOfErrors, TotalJobItems, JobItemsProcessed, CreatedDate, CompletedDate FROM AsyncApexJob WHERE (JobType = :tmpVar1 AND ApexClass.Name = :tmpVar2 AND ApexClass.NamespacePrefix = :tmpVar3 AND Status = :tmpVar4) ORDER BY CreatedDate DESC NULLS FIRST
Results:
10:35:20:170 SOQL_EXECUTE_END [105]|Rows:0
When I view the unlocked logs, I can see that the Apex class name contains the namespace:
07:55:27.1 (125815949)|VARIABLE_ASSIGNMENT|[103]|className|"npsp.RD2_Opportunity (16 more) ..."
Steps to Repeat:

Enable Customizable Rollups in NPSP Settings
Enable Enhanced Recurring Donations in NPSP Settings
Use Snowfakery to insert 2000 Contacts and 2000 open-ended Recurring Donations for those Contacts (Set npsp__DisableFirstInstallment__c to TRUE). A Snowfakery yml file is attached to the Work Item.
 Click the Run Batch button.
Go to Setup —> Apex Jobs. Confirm the job is processing
Go back to  NPSP Settings —> Bulk Data Processes —> Recurring Donations Batch. Click the Run Batch button.
Go to Setup —> Apex Jobs. Confirm there is now a second job processing.

Proposed Solution:
For Customizable Rollups, we strip the namespace when we check to see if the job is already running. See UTIL_MasterSchedulableHelper.hasRunningJob:
 className = (className.contains('.') ? className.substringAfter('.') : className);

W-8486507


support for tls-crypt to better hide OpenVPN traffic

This is mainly a feature request. With openvpn 2.4 being out for a while now, and OpenVPN Connect on iOS and Android finally catching up, it is now possible to better hide OpenVPN traffic using tls-crypt. This is important in cases where the network you are on is actively sniffing for VPN connections. While I understand that some public networks want to keep VPN connections away over concerns of illegal activities, I also have the concern that anyone can snoop my data when I'm connected to a public network.
With tls-crypt it is easy to better hide OpenVPN data, while at the same time further improving security. More information can be found here. To enable tls-crypt is surprisingly easy (assuming tls-auth is already on). All you have to do is edit /etc/openvpn/server.conf and change the line tls-auth /etc/openvpn/easy-rsa/pki/ta.key 0 to tls-crypt /etc/openvpn/easy-rsa/pki/ta.key. For each client profile, you need to open the file and change <tls-auth> and </tls-auth> with <tls-crypt> and </tls-crypt>, respectively.
Given how easy this is, it would be nice to have this as part of a standard install, possibly as an option (to also support older clients).
PS: if in your configuration file you have the optional line key-direction 1 you will also need to remove this. If your configuration file does not have this, there is nothing else you need to do.

thread from openvpn forums on this topic.
Can we now do —tls-crypt v1 & v2 on iOS / Android ?

https://github.com/OpenVPN/openvpn3/issues/11

On 31 Jan 2018, at 17:23, kimbauters<EMAIL_ADDRESS>wrote:
I agree, LZ4 is another great option. I would say the compression difference is indiscernible from LZO, but the speed difference is quite substantial.
I don't have experience with ECDHE though, so I wouldn't know what needs to change there. I do think this setting is omitted by default to let client and server negotiate on their own. I assume this is the best default, but an option to enable it would indeed be quite handy.
I indeed forgot to mention to remove key-direction 1. None of my configuration scripts had this though, so I wonder if only certain versions of PiVPN added that?
—
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've submitted a pull request.

closing as per PR #471
Thanks a lot @orazioedoardo Good job! =)


Rationale for Returning NFTs Map in Non-Pageable Response

Most of the API calls with potentially voluminous results are pageable via LastPostHashHex. However, the GetNFTsForUser route returns an "NFTsMap" as a single object. This object can be huge, depending on the NFT project. Consequently, this particular data structure does not seem well-suited for long-term scalability.
I think we should return an array of NFTsMap that is pageable in the response. That way, we can page the results by passing in the LastPostHashHex, similar to other calls.
Otherwise, devs are forced to use GetPostsForUser route and "filter" the posts to NFTs. This causes a F/E performance hit, because we are making unnecessary calls, and TTFP (time-to-first-paint) suffers as well.
UPDATE - Also, the IsForSale boolean value is basically ignored. When the value is set to null, it should return all NFTs for a public key, regardless of the IsForSale status. However, this does not work properly, as only NFTs with IsForSale = true are returned.
Thoughts?
https://github.com/deso-protocol/frontend/blob/d98a71502851b4a22f1fc251597f8c700145a14d/src/app/backend-api.service.ts#L980

Yes, this endpoint needs to be paginated. Contributions welcomed!

Ok. I need to dive into GO, then I'll be making more contribs to the backend!


--query option for the print command

@rultor release, tag is 0.0.27

@rultor release, tag is 0.0.27

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.27

@yegor256 Done! FYI, the full log is here (took me 8min)


Default namespace not found at public\locales\en\common.json

I have created localization POC using next-i18next its working fine with "npm run build" and its throwing an above error with "npm run dev". Please find the code
next-i18next-config.js
module.exports={
i18n:{
locales:['en','fr'],
defaultLocale:'en'
}
}
app.js
import '../styles/globals.css'
import {appWithTranslation} from "next-i18next";
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
export default appWithTranslation(MyApp);
**translation folder structure **

and Issue is

rename transfile.json to common.json

So to confirm. common.json is a required translation file even if it's not listed?

no, but it's the default

I just saw that defaultNS defaults to 'common' literally as you responded. Thanks so much for the quick reply! 🙏🏾

I am getting this error even when I have common.json in that location

I am getting it and I have common.json in that location, after checking, I had the folder name in small letters but I have some of the letters are in capital after rename the folder the issue I fixed


Remove some include directives for unused headers

Thanks a lot for making a contribution to SFML! 🙂
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)

[ ] Has this change been discussed on the forum or in an issue before?
[x] Does the code follow the SFML Code Style Guide?
[ ] Have you provided some example/test code for your changes?
[ ] If you have additional steps which need to be performed list them as tasks!

Description
Self-explanatory.
Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
CI will be good enough.

SFMLBuildMaster: Build this please.

Nice, thanks! 🙂
Out of curiosity, did you use tooling to detect unused headers?

Yes, but not in the way you think. I was actually benchmarking SFML's compilation time via ClangBuildAnalyzer. The biggest bottleneck, by far, is sf::Utf, followed by sf::String. I was surprised to see that sf::String was being included many times, then I did some manual searches and found unnecessary includes.
We could try out this next: https://github.com/include-what-you-use/include-what-you-use


[docs] Move links to the master branch

I have removed the next branch, we need to change the links to point to the master branch
The Algolia index is wrong, the records of http://next.material-ui.com and http://material-ui.com end up with the same tags. This leads to duplicate results when we search. I have split the two (next / master). It should be fine after the change (1 day delay).
Keep fixing SEO issues, it's better now:

Merging and deploying. I'm running a 3rd SEO crawl.

It's a shame github doesn't notify you when attempting to merge a PR with an in-progress review.

😢. At least, it's not lost, could you open a pull request? I suspect we will uncover more problem in the coming days.

What should this be instead?
 "watchPlugins": [
    "/Users/oliviertassinari/preact/node_modules/jest-watch-typeahead/filename.js",
    "/Users/oliviertassinari/preact/node_modules/jest-watch-typeahead/testname.js"
  ]

I would say, that we can remove this JSON key.


Oversampling, Windows utf16, stbtt upgrade

nanovg.c

Slight modification to handle non-integer snapped text

fonstash.h

Support oversampling
Utf16 paths in fonsAddFont in Windows
Upgraded stb_truetype.h v1.09 -> v1.11
Questions marked with @@

Good morning!
Oversampling :) Feedback please? Especially w.r.t questions marked with @@ in the comments.

Added some comments. I think you should add API to the NanoVG too to set the text pixel snapping. See https://github.com/memononen/nanovg/issues/266

How does this work? It looks like I just commit to my own branch and it updates here?

When you push changes to your branch, it should update the PR.


Manually configuring Gym fails to generate expected output/plist

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Fastlane version 2.49.0
Xcode version 9.0 9M189t
And, yes mr Bot, this is a signing issue and yes, I've read the signing documentation, many times
Issue Description
I'm using Match to manage the provisioning profiles, I have a fastlane script which runs gym, when attempting to produce a release recently, it started to cause issues (failing to generate a archive due to a missing provisioning profile)
I noticed that it was generating a plist using "*" when it shouldn't have been and wasn't detecting the signing properties from the project as it has been doing in the past

I updated the script to use export_options and specify the provisioning information manually, but the script still fails and seems to ignore these properties
This is the section of code I'm using, the parameters are verified as been set
    bundleIdentifier = "com.beamcommunications.Cioffi"
    profile = "match AdHoc com.beamcommunications.Cioffi"
    exportMethod = options[:exportMethod] # ad-hoc
    UI.message("exportMethod = [{exportMethod}]")
    gym(
      scheme: "Cioffi",
      project: "Cioffi.xcodeproj",
      clean: true,
      export_method: exportMethod,
      export_team_id: "xxxx",
      include_bitcode: false,
      include_symbols: true,
      configuration: "Release",
      output_directory: "fastlane/builds/release",
      output_name: "Cioffi.ipa",
      export_options: {
        method: "#{exportMethod}",
        provisioningProfiles: {
          "#{bundleIdentifier}": "#{profile}"
        }
      }
    )

But the summary outputs
+-----------------------+--------------------------------------+
|                    Summary for gym 2.49.0                    |
+-----------------------+--------------------------------------+
| scheme                | Cioffi                               |
| project               | Cioffi.xcodeproj                     |
| clean                 | true                                 |
| export_method         | ad-hoc                               |
| export_team_id        | xxxxxxxxxx                           |
| include_bitcode       | false                                |
| include_symbols       | true                                 |
| configuration         | Release                              |
| output_directory      | fastlane/builds/release              |
| output_name           | Cioffi.ipa                              |
| export_options.method | ad-hoc                               |
| destination           | generic/platform=iOS                 |
| build_path            | /Users/shanewhitehead/Library/Devel  |
|                       | oper/Xcode/Archives/2017-07-30       |
| silent                | false                                |
| skip_package_ipa      | false                                |
| buildlog_path         | ~/Library/Logs/gym                   |
| xcode_path            | /Applications/Xcode-beta.app         |
+-----------------------+--------------------------------------+

Which I've noticed is missing the "provisioningProfiles" options
And the generated output is
[10:13:13]: Generated plist file with the following values:
[10:13:13]: ▸ -----------------------------------------
[10:13:13]: ▸ {
[10:13:13]: ▸   "method": "ad-hoc",
[10:13:13]: ▸   "provisioningProfiles": {
[10:13:13]: ▸     "[\"com.beamcommunications.Cioffi\", \"*\"]": null
[10:13:13]: ▸   },
[10:13:13]: ▸   "teamID": "337Z8P6WA4"
[10:13:13]: ▸ }
[10:13:13]: ▸ -----------------------------------------

Now, the truly weird bit - I have lane called "testGym" which simply calls the customised runGym lane and that WORKS?!  The buildTest lane, which is used by the CI server runs the same lane (runGym) so I can't figure out what the issue is!?
Running testGym lane along outputs
+--------------------------------------+--------------------------------------+
|                           Summary for gym 2.49.0                            |
+--------------------------------------+--------------------------------------+
| scheme                               | Cioffi                               |
| project                              | Cioffi.xcodeproj                     |
| clean                                | true                                 |
| export_method                        | ad-hoc                               |
| export_team_id                       | 337Z8P6WA4                           |
| include_bitcode                      | false                                |
| include_symbols                      | true                                 |
| configuration                        | Release                              |
| output_directory                     | fastlane/builds/release              |
| output_name                          | Cioffi.ipa                              |
| export_options.method                | ad-hoc                               |
| export_options.provisioningProfiles  | match AdHoc                          |
| .com.beamcommunications.Cioffi       | com.beamcommunications.Cioffi        |
| destination                          | generic/platform=iOS                 |
| build_path                           | /Users/shanewhitehead/Library/Devel  |
|                                      | oper/Xcode/Archives/2017-07-30       |
| silent                               | false                                |
| skip_package_ipa                     | false                                |
| buildlog_path                        | ~/Library/Logs/gym                   |
| xcode_path                           | /Applications/Xcode-beta.app         |
+--------------------------------------+--------------------------------------+

The export_options.provisioningProfiles  is included and the plist looks like
[10:21:11]: Generated plist file with the following values:
[10:21:11]: ▸ -----------------------------------------
[10:21:11]: ▸ {
[10:21:11]: ▸   "method": "ad-hoc",
[10:21:11]: ▸   "provisioningProfiles": {
[10:21:11]: ▸     "com.beamcommunications.Cioffi": "match AdHoc com.beamcommunications.Cioffi"
[10:21:11]: ▸   },
[10:21:11]: ▸   "teamID": "337Z8P6WA4"
[10:21:11]: ▸ }
[10:21:11]: ▸ -----------------------------------------

which is correct (as far as I need it to be)
I'm at a loss to explain why
Captured Output
The output was too long for the issue to be submitted, so I've pasted into a text file and attached it
This is the lane used by the CI server
FastlaneCapture.txt

@fastlane-bot Yes, it's a signing issue, yes I've read the guide, multiple times
@fastlane-bot The fastlane env output has been added with the captured output,  but due to size limitations, had to be included as an attachement


[WIP] Better package name handling, location caching and testing

This is an initial proposal to simply and fix our longest running issue of package name conflicts. Also included is an increase to test coverage and some minor refactoring to separate cli-specific code from functions to make testing easier.
As the title says, this is still a bit of a WIP, but I'd like to open it up for comment if anyone has thoughts here.
Changes:

Only use https://pypi.org/simple to resolve package names since pypi.python.org doesn't provide them.
Don't try to validate Pipfiles when the virtualenv hasn't been initialized (only relevant to new projects)
Reliably handle version string in filenames per PEP426
Avoid doing multiple file location lookups when trying to access a location
Avoid loading proper names list each time we check a package name
Tests (more would be nice)

@nateprewitt what's stopping us from merging this now?

I still have a few things to push up which aren't blockers.
I was waiting for your input on #217, which would require some rework here if merged and just wanted a second pair of eyes before merging a chunk this big.

everything looks good to me!

Let's do this then!


RDoc deprecation warning with RDoc 2.4.2+

When running e.g. rake -T, the following deprecation warning appears:
rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)

Hi there! We’re doing some open source maintenance work and closing old PRs. If you would still like this PR to be merged in, please re-open it by 2-weeks-from-today. Thanks!


Add packaging dependency to setup.cfg

v0.17.0 introduced a dependency on the packaging module.
This PR adds the dependency to the project config.

Hi @mbrookson,
Nice catch, thank you for it.
Could you please add the change into the README's change log too, please?

Already published the new package, thanks again!


Google Chrome reports ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY on default MVC app

Describe the bug
Google Chrome reports an ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY error when trying to access a default ASP.NET Core MVC app started from Visual Studio Debugger.
To Reproduce
Steps to reproduce the behavior:

Create a new solution using the latest ASP.NET Core MVC sample
Run the sample
Use Google Chrome to browse to http://localhost:5000, you are redirected to https://localhost:5001
See error

Additional context
It works using Edge or other browsers, but Chrome does not like the default settings?

@shirhatti - any idea about this?

SDPY at the time (and now HTTP/2) has a list of disallowed cipher suites. The default ordering in cipher suites in Schannel meant you could end up negotiating a cipher suite that is disallowed and the client (Chrome) was forced to reject the connection.
That being said, Chrome dropped support for SPDY back in May 2016. What version of Chrome are you using?

Chrome is latest version 72.0.3626.121.
I am wondering why the default sample solution uses SPDY. This is the startup code, nothing was changed, of course from debugger it runs in Development mode:
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
	if (env.IsDevelopment())
	{
		app.UseDeveloperExceptionPage();
	}
	else
	{
		app.UseExceptionHandler("/Home/Error");
		// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
		app.UseHsts();
	}

	app.UseHttpsRedirection();
	app.UseStaticFiles();
	app.UseCookiePolicy();

	app.UseMvc(routes =>
	{
		routes.MapRoute(
			name: "default",
			template: "{controller=Home}/{action=Index}/{id?}");
	});
}

I would expect that the default code for a new app should work with all latest browsers.

You shouldn't need #4776. The default order should set you up for success.
What OS version are you on?

I am on Windows 10 Enterprise, 1809 version.

This looks to me like a cypher suite disallowed by Chrome for HTTP/2 has been negotiated. Since Kestrel uses SslStream which in turn uses SChannel on Windows, the workaround is to disable weak cypher suites at the OS level.

I have downloaded IISCrypto v3.0 (latest) and set it to "Best Practices". This did not help.

Did you find a solution or workaround @schuettecarsten?

Sorry, closed accidentially while posting my comment. The issue is still there.

Or it didn't use TLS 1.2 for some reason? Did you change anything in Program.cs?

I'm also getting this on a new build of a computer. I've trusted the cert and removed unsafe cyphers with iiscrypto but kestrel still causes issues.
If I use VS.net 2019 and run it debugging with IISExpress it's fine.
My guess is that the developer cert for .NET Core 3 preview 3 isn't secure and thus chrome throws this, but the developer cert that IIS Express uses IS. (both have been registered and check out according to the tools)
IIS Express had this issue a few years ago as well that had to be fixed with an update to visual studio and a reissue of the local cert.

It's likely not that the cert itself is insecure, but that it's only compatible with certain cipher suits. i.e. I don't think it works with EC cyphers. The negotiation falls back to cert compatible ciphers and apparently doesn't find one that meents HTTP/2 requirements.
@JohnGalt1717 are you also running a Win10 insiders build? Which one?

@Tratcher Yes. 19H 18362.1

FYI @JohnGalt1717 we're already discussing this over at https://github.com/aspnet/AspNetCore/issues/8952

Duplicate of #8952
Closing this one.


Enable value editing

Currently, everything is effectively readonly and this needs to change.
Values are stored with meta information attached and thus, not plainly relational. For example, the data

is internally stored like this:

Show JSON
{
    "products": [
        {
            "_id": "5e838970bdd67a3d7fc3067e",
            "name": "Obatzda",
            "verified": false,
            "data": {
                "5e838970bdd67a3d7fc30469": {
                    "verified": false,
                    "value": [
                        "Beer",
                        "Black pepper",
                        "Butter",
                        "Camembert (cheese)",
                        "Paprika",
                        "Salt"
                    ],
                    "source": "http://dbpedia.org/resource/Obatzda",
                    "user": "system"
                },
                "5e838970bdd67a3d7fc3046c": {
                    "verified": false,
                    "value": "Bavaria",
                    "source": "http://dbpedia.org/resource/Obatzda",
                    "user": "system"
                }
            }
        },
        {
            "_id": "5e838970bdd67a3d7fc30683",
            "name": "Beer cheese (spread)",
            "verified": false,
            "data": {
                "5e838970bdd67a3d7fc30469": {
                    "verified": false,
                    "value": [
                        "Beer",
                        "Cayenne pepper",
                        "Cheddar cheese",
                        "Garlic",
                        "Horseradish",
                        "Processed cheese",
                        "Spice"
                    ],
                    "source": "http://dbpedia.org/resource/Beer_cheese_(spread)",
                    "user": "system"
                },
                "5e838970bdd67a3d7fc3046c": {
                    "verified": false,
                    "value": "Kentucky",
                    "source": "http://dbpedia.org/resource/Beer_cheese_(spread)",
                    "user": "system"
                }
            }
        }
    ]
}

This makes it possible to also add comments and some kind of voting system for specific values.
General idea: User voting can make a value become verified. A value can only be voted for when it has a valid source attached to it. Probably only registered users should be able to vote, as this prevents abuse. Add a voting queue for not-yet-verified values. Make users gain some kind of reward (trust points / reputation) by voting properly and by inserting values that later turn out to have been correct. Also unregistered users need to be able to submit values. They will appear as submitted by anonymous.
All of this is pretty much optional and can be implemented incrementally.

https://github.com/produpedia-org/produpedia.org/blob/1b4f65c332c8fd3e7fad6d1f3e8c9abf7cbb6f47/web/src/views/About.vue#L69
->  deferred


logger: business logic implementation - Randomization, middy middleware, correlation ID's, optional: object merging

Description of the feature request
Problem statement

There are some areas that should be revisited or implemented.
Summary of the feature

We should update the implementation of randomisation of sampling - currently implemented like this:

  private setLogsSampled(): void {
    const sampleRateValue = this.getSampleRateValue();
    // TODO: revisit Math.random() as it's not a real randomization
    this.logsSampled = sampleRateValue !== undefined && (sampleRateValue === 1 || Math.random() < sampleRateValue);
  }

Not optimal.

Implementation of middy-compatible middleware logic to match the one of the decorator which is already existing.

Correlation ID's propagation - see #129

Optional: replace lodash library with in-house custom code

Code examples

Benefits for you and the wider AWS community

Describe alternatives you've considered

Additional context

Related issues, RFCs

#129

2, 4 have been addressed.
1 won't be part of the GA milestone and 3 has its own issue.


feat: rename close btn classes

Unifies close button class naming.
Solving issue
Fixes: AB#2748
How to test
Look at the affected components in the deploy preview.

Is this one waiting for something? Or have we just forgotten to merge it? 😄

probably just forgotten 🙂


[Pingvin-share] Add a startupProbe and/or add the ability to customize probe thresholds

When using this Helm chart on very slow devices, the pod does not manage to start, because it reaches the probes thresholds before being ready.
A solution would be to add a startupProbe (with a higher threshold).
Another solution would be to add settings in values.yaml to be able to configure the thresholds

This is fixed with v0.0.2 of your helm chart.
However, I still believe it would be valuable to add a startupProbe, too. To be able to give different thresholds on startup


Fix wrong/outdated connect timeout documentation

The documentation states 30 seconds but other documentations and the implementation all agree on 10 seconds timeout as HTTPClient.Configuration.connect.

@swift-server-bot test this please