Improve performance of text

Text is typically quite resource hungry. I think it's because it needs to recalculate layout every time (even if not repainting, but scaling). Maybe there are some optimisations we can do.

I've moved the textPainter layout into the map decoder, so we don't recreate every time and doesn't need recalculations as it never changes. Not sure if this is a bit of a hack or legit yet :). This is preferable to the old method with multiple tiles and zooming as we couldn't do this. Have left the old code in commented out in case there are some problems not spotted.
Feels a lot smoother, but probably needs proper testing!


Make jumpman move

The jumpmen need to move to collect food.
Estimated time: 40 m.

Fixed by 904859b.


Custom Horizon commands

We should allow creating custom commands that map to parameterized reql queries.
There would be two parts:

The config to add a custom command
Adding the method to the horizon object so it can be used

The server and client would need to be changed
Example config:
[commands]
name = "countLabels"
params = [ "x", "y" ]
reql = "r.table('foo').getAll([ x, y ], { index: 'x_and_y_compound' }).count()"

On the frontend, you may use it like:
horizon.countLabels({x: 12, y: 13}).fetch()

If you use fetch, it would run the query directly. If you use watch() it will append .changes() to the query and then run it. The query would simply fail if it doesn't support changes.
This would add easy extensibility, where instead of going from easy Horizon straight to roll your own backend, you can go to RPC reql queries as a nicer intermediate step.

This feature should be implemented as a plugin, see #588

It might be worth making this an integrated part of Horizon in my opinion since easy extensibility is a central feature of Horizon.
Though an initial implementation could be done as a plugin I suppose.

Just for modularity's sake we should probably split it out, since not everyone will want this. It also seems like it wouldn't require more deep integration into the horizon guts than a plugin can provide, so there's not really much reason to couple it more tightly

I think this makes sense in core.

I agree that this should be in core and (potentially?) automatically reloaded on change with a flag or with --dev. Nice to have, definitely not need to have. :)
I am new to Horizon and after the initial wow factor wore off, the real wow factor kicked in. That's when you start asking "Oh and can I…?" questions and I hit limitations. I am about to combine horizon and rethinkdb so that I can keep the easy wins of Horizon but add rethinkdb code and other services.
I really like the potential of @marshall007's suggestion that non-ReQL commands could be used and the proposal in #345 might allow for arbitrarily complex commands per development needs but still allow good organization, etc.
Really good stuff happening here!

I don't yet know enough of horizon/rethinkdb internals but is there a way to start experimenting with these concepts the way @stellanhaglund mentioned?

I've been trying out add_request_handler on a server using horizon as a package.
And its truly awesome.

Definitely, check out horizon.io/docs/embed
On Sun, Jul 17, 2016, 04:32 Michael Wills<EMAIL_ADDRESS>wrote:

I don't yet know enough of horizon/rethinkdb internals but is there a way
to start experimenting with these concepts the way @stellanhaglund
https://github.com/stellanhaglund mentioned?
I've been trying out add_request_handler on a server using horizon as a
package.
And its truly awesome.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rethinkdb/horizon/issues/337#issuecomment-233177584,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAFVo465ayKy7k10RiVVw90w-gJUQvTks5qWhLfgaJpZM4IaldJ
.

It would be truly awesome if i could use the horizon socket system to make an call to my backend, and not only being able to do advanced reql queries, but doing anything. I could do validation with joi, throw errors, connect to other systems etc.

Exposing a way to run custom ReQL queries through Horizon would be huge. My initial excitement over Horizon was tempered when I quickly ran into the limitations of the current Collections API. The standard response to this that I've seen is to embed Horizon into, say, an express app and implement custom endpoints for doing more complex ReQL. But then that leaves me with two different ways to access my data, which I don't like one bit. I've been looking into other solutions including this, but I would love to be able to just use Horizon.

Definitely, check out horizon.io/docs/embed

@deontologician I don't see any mention of add_request_handler there?  im still confused as how you can do pagination with this.


Update README.rst  to add example for splitting models of one app into groups.

Coverage remained the same at 1.042% when pulling e78c06b767775e7624e416a3f5e41d3c8614f0a1 on JarnoRFB:patch-1 into 6f45be1f09b5dc5d3590592e13c90f43a4c76de0 on mishbahr:master.


Fix typo

I see one of the files is autogenerated but I don't know how to do it, so I modified both of them.

Thanks, the html files are autogenerated so you don't have to edit them next time, anyways thanks for the catch. Much appreciated!


My Workplan & Insights - Under construction

As a tester
I want an under construction page
so that users will not assume the system is broken
Acceptance Criteria
Scenario 1:
GIVEN I am logged in to EPIC.track
WHEN I navigate to the My Workplans page
THEN I see the Screenshot below:
Scenario 2:
GIVEN I am logged in to EPIC.track
WHEN I navigate to the Insights page
THEN I see the Screenshot below:
Screenshot
Private Zenhub Image

link to the prototype - https://www.figma.com/file/yZk63tFMjpuCbYLCBpo7OT/Development-(Issues%2FStatus%2FDashboard)?type=design&node-id=5455-6728&mode=design

change text under COMING SOON to:
"Our team is developing this feature and will launch it soon"

@TomChapmanGov can we add this to the About Project tab for Works as well?


Crash on win64 and h5py 2.5.0 (conda)

This is caused by a bug in h5py with variable-length string attributes. The temporary solution is to downgrade to h5py 2.4.0
See https://github.com/h5py/h5py/issues/593

Should we specify h5py 2.4.0 in the Windows install doc?

This is fixed now (works with 2.5.0)


Ability to use custom directory endpoint (vs common)

Should be able to replace the discovery endpoint: https://github.com/WebDevStudios/aad-sso-wordpress/blob/master/Settings.php#L85

@psignoret Please let me know if that is the correct terminology. Also, we talked about adding a setting for specifying this value. What would that value look like and be labeled as? Directory url?

I would name it something like directory_identifier. It can be either a verified domain in the tenant (e.g. contoso.com), or the tenant ID Guid (e.g. 6babcaad-604b-40ac-a9d7-9fd97c0b779f).


question about long softmax

I solve the long softmax puzzels, but I have to store the intermediate results to z_ptr, which may cause unnecessary Memory I/O.
Essentially, I would like to know if there's a solution to create temporary array in shared memory and store intermediate results there in Triton?

There is 😃


Hiro clarinet updates 110722

Description
Added three new pages to the Hiro docs for new Clarinet features.

I added @mefrem who has a good handle on these features, and could help completing.

Thanks @mefrem. I am going to fix the broken links that are preventing a merge, and then I will be good to ping @lgalabru and @hugocaillard for one final review before publishing.

@trichards-hiro: Are there any blockers to merging this PR? If the issue is only with links, can you work with @janniks and get this merged asap? Thanks!


Model doesn't bind to input field inside custom fieldtype table

Description
As the stackblitz below explains,
I have a custom field type table with 3 columns (Name, Address, Mob. No).
Name and Address to show the plain text from the model and Mob. No. is an input field suppose to bind from the model.
But when the table is rendered, it shows the values for Name & Address, but the input field for Mob. No. doesn't bind to the model and it stays as just a blank input text field.
Minimal Reproduction
This is a Stackblitz reproduction link for the above problem.
Additional context
I'm not sure how to pass the column's model to <formly-field>. Need help.
Environment

Angular version: 10.1.4
Formly version: 5.0.0

Thank You.

use FieldArrayType to properly handle arrays, https://formly.dev/examples/advanced/repeating-section


Added Lumina, a new Swift camera framework

Project URL
https://github.com/dokun1/Lumina
Description
I've added a repo for a new camera framework I've been working on, which does all the things you'd expect a camera framework to do, including streaming video frames, barcodes, QR codes, and facial recognition. However, Lumina also allows you to plug in any CoreML model, and the camera will perform frame-by-frame object recognition against whatever model you plug in.
Why it should be included to awesome-ios (optional)
It is truly awesome, and it makes use of one of iOS 11's killer new features, while also giving users backwards compatibility with iOS 10 for legacy applications.
Checklist

[ * ] Only one project/change is in this pull request
[ * ] Addition in chronological order (bottom of category)
[ X ] Supports iOS 9 / tvOS 10 or later (iOS 10 & 11)
[ X ] Supports Swift 3 or later (Swift 4)
[ * ] Has a commit from less than 2 years ago
[ * ] Has a clear README in English

          1 Warning

:warning:
Found 3 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

1122
302
https://www.moltin.com/ios-ecommerce-sdk/ redirects tohttps://moltin.com/ios-ecommerce-sdk/

1271
301
https://github.com/west0r/SwiftyVK redirects tohttps://github.com/SwiftyVK/SwiftyVK

2289
301
https://github.com/iphone5solo/PYSearch redirects tohttps://github.com/ko1o/PYSearch

  Generated by :no_entry_sign: Danger

Thank you


cannot import "BaseBackent" from "qiskit.providers"

Environment

Qiskit Optimization version: 0.6.0
Python version: 3.12.0
Operating system:  linux

What is happening?
I am trying to run the quiskit optimization example from:
https://qiskit.org/ecosystem/optimization/tutorials/02_converters_for_quadratic_programs.html
And get the following import error:
ImportError: cannot import name 'BaseBackend' from 'qiskit.providers' (/home/jdara/anaconda3/envs/quant4/lib/python3.12/site-packages/qiskit/providers/init.py)
How can we reproduce the issue?
First run these pip commands:
pip install qiskit
pip install qiskit-ibm-runtime
pip install qiskit[visualization]
pip install qiskit-optimization
pip install 'qiskit-optimization[cplex]'
pip install 'qiskit-optimization[cvx]'
pip install 'qiskit-optimization[matplotlib]'
Then run in a jupyternotebook:
from qiskit_optimization.algorithms import CplexOptimizer
cplex_optimizer = CplexOptimizer()
This results in this error:
ImportError: cannot import name 'BaseBackend' from 'qiskit.providers' (/home/jdara/anaconda3/envs/quant4/lib/python3.12/site-packages/qiskit/providers/init.py)
I am running in a anaconda environment if this should be relevant
What should happen?
I would expect the import not to go wrong
Any suggestions?
No response

I can confirm that I can reproduce the error after following the same steps for python3.12. What happened in my environment is that pip install 'qiskit-optimization[cplex]' downgrades the qiskit-optimization back to 0.3.2
Installing collected packages: qiskit-optimization
  Attempting uninstall: qiskit-optimization
    Found existing installation: qiskit-optimization 0.6.0
    Uninstalling qiskit-optimization-0.6.0:
      Successfully uninstalled qiskit-optimization-0.6.0
Successfully installed qiskit-optimization-0.3.2

Thanks for the reply and help! :+1:


[🧹 CHORE]: Extend existing metrics

No duplicates 🥲.

[X] I have searched for a similar issue.

What should be improved or cleaned up?
It would be nice to have the following metrics:
gRPC plugin: Server-side interceptors

[x] Response codes
[ ] Latency
[ ] RPM

Jobs plugin:

[ ] Latency
[ ] RPM

temporal plugin: interceptors

?? (there are a lot of metrics already available)

Hi @rustatian I think you can close this issue, metrics mentioned in ticket existing for gRPC and Temporal.

Yeah, thanks 👍🏻


investors.stewart.com

many press releases are on https://investors.stewart.com and not www.
need to determine what to do with these so they can be searched from www (or migrate that to www instead?)

it looks like that site uses a service to get press release content, wondering if we can re-use this
https://investors.stewart.com/feed/PressRelease.svc


PHP Fatal Error with Hello World on 2nd load

I get the following error on the 2nd page load after an apache restart:
 [Tue Jan 24 05:16:04 2012] [error] [client <IP_ADDRESS>] PHP Fatal error:
 Call to undefined method Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::() in
 phar:///home/rochers/websitedir/vendors/Silex/silex.phar/vendor/Symfony/Component/
 HttpFoundation/Response.php on line 176

The first page load works as expected and the output is sent to the browser. If I hit refresh, this error is generated.
This is the entirety of my code:
 <?php
 require_once __DIR__.'/vendors/Silex/silex.phar';

 $app = new Silex\Application();

 $app->get('/hello/{name}', function ($name) use ($app) {
   return 'Hello '.$app->escape($name);
 });

 $app->run();

Any ideas?
Thanks,
Scott

SOLUTION: I played with this a little more this morning and I was able to get rid of the error but only after disabling the PHP APC cache. Once I discovered this, I decided to upgrade the APC version in my dev environment to APC-3.1.9. This fixed the error and the application is running as expected.


JDBC river plugin thread exception

I am using elasticsearch "1.4.2" with river plugin on an aws instance with 8GB ram.Everything was working fine for a week but after a week the river plugin[plugin=org.xbib.elasticsearch.plugin.jdbc.river.JDBCRiverPlugin version=<IP_ADDRESS>] stopped working also I was not able to do a ssh login to the server.After server restart ssh login worked fine ,when I checked the logs of elastic search I could find this error.
[2015-01-29 09:00:59,001][WARN ][river.jdbc.SimpleRiverFlow] no river mouth
[2015-01-29 09:00:59,001][ERROR][river.jdbc.RiverThread   ] java.lang.OutOfMemoryError: unable to create new native thread
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create new native thread
After restarting the service everything works normal .But after certain interval the same thing happen.Can anyone tell what could be the reason and solution .If any other details are required please let me know.
When I checked the number of file descriptor using
sudo ls /proc/1503/fd/ | wc -l
I could see it is increasing after every time . It was 320 and it now reached 360 (keeps increasing) . and
sudo grep -E "^Max open files" /proc/1503/limits
this shows 65535

Have this issue resolved? I meet the same problem but could not figure out.

Actually I was using unstable river plugin , I changed and now its working perfect


use the library in browser context?

Hello,
Can this library be used from browser. I mean if we create a webserver using node js can this puggin run on client end to connect to any smartcard available on the client device?

No - you won't be able to connect to a smartcard device from within the browser.
If you need a UI then you can use something like Electron (https://www.electronjs.org/)


Modify the encode() and decode() encoding static member functions to return std::expected instead of throwing exceptions

Returning std::expected instead of throwing exceptions for error conditions would enable use in applications that have exception support disabled.

Closing this issue as resolved by commit 9b58a2803637ceb05d7a365bc49d473645c3fe90.  The encode, decode, and rdecode static member functions now return an error status instead of throwing exceptions.


What is the correct way to use aa_export_toBIDS?

Hello all,
We’ve recently started experimenting with aa_export_toBIDS. We’re trying to use the function as a stand-alone tool, calling it from the command line like so:

aa_export_toBIDS(aap, ’/directory/to/put/results’);

where aap is the aap struct of our just-completed analysis.
Unfortunately the code crashes almost immediately (aa_export_toBIDS calls aas_setcurrenttask, which is looking an “internal” field in the aap struct, which doesn’t exist).
I suspect our usage is wrong. Can anyone explain how to use aa_export_toBIDS correctly?
Thanks much,
Mike

You need to load in the aap structure from the mat-file stored in the study folder.

Alternatively, if you are in the study folder, you do not have to specify aap, because the function will load in aap.

I assume this is aap_parameters.mat?

Oops -- never mind (I just looked at the code and obviously it's aap_parameters.mat).
I'll pass this along to our student who is working on this. Thanks!

Yes! I should have also probably said that! :)

Hey, we just tried it and it worked great!
FYI


Fix version field in Datastore. Related to #269.

There were 27 affected package versions in staging, for packages:

browser_controller
discharge
dorm
event_commander
facebapi
haystack
mist_server
mists
stanford_corenlp_dart

Ran against prod
OK count: 500
OK count: 1000
OK count: 1500
OK count: 2000
OK count: 2500
OK count: 3000
Updating browser_controller: 0.00.1-dev -> 0.0.1-dev
Updating browser_controller: 0.00.2-dev -> 0.0.2-dev
OK count: 3500
OK count: 4000
OK count: 4500
OK count: 5000
OK count: 5500
OK count: 6000
OK count: 6500
OK count: 7000
Updating discharge: 0.02.0 -> 0.2.0
Updating discharge: 0.02.1 -> 0.2.1
OK count: 7500
Updating dorm: 1.0.03 -> 1.0.3
Updating dorm: 1.0.04 -> 1.0.4
Updating dorm: 1.0.05 -> 1.0.5
Updating dorm: 1.0.06 -> 1.0.6
Updating dorm: 1.0.07 -> 1.0.7
Updating dorm: 1.0.08 -> 1.0.8
Updating dorm: 1.0.09 -> 1.0.9
OK count: 8000
Updating event_commander: 0.1.5+01 -> 0.1.5+1
Updating event_commander: 0.1.6+01 -> 0.1.6+1
OK count: 8500
Updating facebapi: 0.0.02 -> 0.0.2
OK count: 9000
OK count: 9500
OK count: 10000
OK count: 10500
OK count: 11000
OK count: 11500
Updating haystack: 0.4.01 -> 0.4.1
Updating haystack: 0.4.02 -> 0.4.2
Updating haystack: 0.4.03 -> 0.4.3
OK count: 12000
OK count: 12500
OK count: 13000
OK count: 13500
OK count: 14000
OK count: 14500
OK count: 15000
Updating mist_server: 0.02.0 -> 0.2.0
Updating mists: 0.02.0 -> 0.2.0
Updating mists: 0.03.0 -> 0.3.0
Updating mists: 0.03.1 -> 0.3.1
Updating mists: 0.04.0 -> 0.4.0
OK count: 15500
OK count: 16000
OK count: 16500
OK count: 17000
OK count: 17500
OK count: 18000
OK count: 18500
OK count: 19000
OK count: 19500
OK count: 20000
OK count: 20500
OK count: 21000
OK count: 21500
OK count: 22000
Updating stanford_corenlp_dart: 0.0.01 -> 0.0.1
Updating stanford_corenlp_dart: 0.0.02 -> 0.0.2
Updating stanford_corenlp_dart: 0.0.03 -> 0.0.3
Updating stanford_corenlp_dart: 0.0.04 -> 0.0.4
Updating stanford_corenlp_dart: 0.0.05 -> 0.0.5
OK count: 22500
OK count: 23000
OK count: 23500
OK count: 24000
OK count: 24500
OK count: 25000
OK count: 25500
Updated: 27 package versions.

looks about right

Did you guys ensure that the tarballs in GCS have the canonicalized name of the version as well?

🤷♂

Okay, I've just looked at a few of the example package in the list above, and it seems the version there is correct.

These works:

stanford_corenlp_dart 0.0.1
mists 0.2.0


Migrate to Babel

Migrating from 6to5 to Babel for better ES6 conversion to fixing the global "use strict"; ( #49 ) and help future proof the code

I attempted this using the Babel "ES2015" preset, and it looks like it has quite a few Babel plugins that aren't necessary and add cruft or keep the global "use strict";
Here's the list from /node_modules/babel-preset-es2015/index.js, with the unnecessary modules commented out.
module.exports = {
  plugins: [
    require("babel-plugin-transform-es2015-template-literals"),
    require("babel-plugin-transform-es2015-literals"),
    //require("babel-plugin-transform-es2015-function-name"),
    require("babel-plugin-transform-es2015-arrow-functions"),
    require("babel-plugin-transform-es2015-block-scoped-functions"),
    require("babel-plugin-transform-es2015-classes"),
    require("babel-plugin-transform-es2015-object-super"),
    require("babel-plugin-transform-es2015-shorthand-properties"),
    require("babel-plugin-transform-es2015-duplicate-keys"),
    require("babel-plugin-transform-es2015-computed-properties"),
    require("babel-plugin-transform-es2015-for-of"),
    require("babel-plugin-transform-es2015-sticky-regex"),
    require("babel-plugin-transform-es2015-unicode-regex"),
    require("babel-plugin-check-es2015-constants"),
    require("babel-plugin-transform-es2015-spread"),
    require("babel-plugin-transform-es2015-parameters"),
    require("babel-plugin-transform-es2015-destructuring"),
    require("babel-plugin-transform-es2015-block-scoping"),
    //require("babel-plugin-transform-es2015-typeof-symbol"),
    //require("babel-plugin-transform-es2015-modules-commonjs"),
    [require("babel-plugin-transform-regenerator"), { async: false, asyncGenerators: false }],
  ]
};

There are probably a lot of those that aren't strictly necessary either, so we could probably avoid using the preset altogether and require a few specific plugins. Based on the current code I think these may be the only ones necessary:

babel-plugin-transform-es2015-arrow-functions
babel-plugin-transform-es2015-block-scoped-functions
babel-plugin-transform-es2015-template-literals

Migrate to babel related to #90 #92 as part of an over-arching "build flow revision".
suggest checking out: https://github.com/kenwheeler/cash/tree/npm-unit-tests branch as a base for this improvement.

@shshaw did you want to handle this completely? :)
If so, go ahead and assign yourself and check out the https://github.com/kenwheeler/cash/tree/npm-scripts branch as a base... that's the one I'm working on for unit tests and npm-scripts, it has babel running, too :)

I don't have that much experience with Babel or ES2015 in general, so if anyone else does they would be much better qualified to set all of that up! My notes from above are just what I could suss out from the horrible-for-beginners Babel documentation.

Yes, it's pretty bad.
Ok, well since I'm sorting out the unit tests in that branch, I'll take care of this for now. I'm not going to change the code, or style, at this moment. That can be another workflow enhancement in the future (eslint-babel, perhaps).
Thanks for the effort on dissecting which modules are useful :)

Took another stab at this, and managed a gulp-free build process using babel and uglify.
Pushed to the build-revision branch.

As of v2.1.2 we now use Babel.


The developers of this application should please contact me. I need help with the deployment. Your effort will of course be paid...

The developers of this application should please contact me. I need help with the deployment. Your effort will of course be paid. Please contact me within the next 7 days if you are interested.
Question: Can your module also handle 2 different top domains and do I have to work with subdomains because of sanctum.
Your software runs with 2 TopLevel Domain I have no CORS problems only the login does not work error message "CSRF token mismatch.".
I have noticed the following.
After comparing the request csrf-cookie (both tokens) and the next request login compared
the cookies in the request cookies are correct but in the response cookies the laravel_session are not the same.
So the problem is that laravel_session has lost the value of csrf-cookie (laravel_session) when calling the login page in response cookies.
there is a different value in the laravel_session.
Would using subdomains solve the problem.
With kind regards
Dieter Deutsch

Problem on the server was solved:
Problem with the server was
enter in .env:
SESSION_DOMAIN='.domain'
SESSION_SECURE_COOKIE=true


eds: introducing EDS resources cache

Commit Message: introducing EDS resources cache
Additional Description:
Currently after an EDS-cluster update, Envoy waits for an EDS response. If a timeout occurs, the EDS-cluster will be used without endpoints.
This PR introduces a cache to store EDS resources (ClusterLoadAssignments), that allows invoking a callback when a resource is removed.
This will be followed up by 2 PRs:

Plumbing the cache in the cluster-manager.
Modifying the EdsClusterImpl class to use the cache.

Risk Level: low - introducing a new component which isn't used anywhere.
Testing: Adding a unit test for the class.
Docs Changes: N/A.
Release Notes: N/A.
Platform Specific Features: N/A.
Part of #26749

/wait


help wanted: vim.keymap is nil with nvim 0.6.1

as title said, the first line in after/plugin/Comments.nvim has reported an error with nvim 0.6.1 like the screenshot:

is this table, named vim.keymap, on nvim 0.7 only? or what happened in the processing? it works well with nvim 0.7. I think you could make a notice about this breaking change in README.md.

Duplicate of #141

Also please follow #114 to get notified about breaking changes.

got it.


Font Renderer

Hello, when i go to use your client manager in my client, it crashes, please help.

Hmm... So, are you going to give us any logs or anything?

Yeah, I agree with josephworks, logs are needed to understand what's going on


Spa can still access the API after logging off

After logging off from IdentityServer and going back to the Spa, clicking the call API returns the expected values instead of 401.

Thanks for your feedback, I may have broken something when I upgraded to .net core 2.1. I will have a look as soon as I can (realistically, not before the end of next week).


Different resolve alias behavior for spa and universal build mode

Version
v2.4.5
Reproduction link
https://codesandbox.io/s/w7m45my09k
Steps to reproduce
There are two dev scripts "devBroken" and "devWorking" (You cannot run both at the same time.) The spa mode will run without any issues, while the universal mode will print out (as error message on the website) that the module "vue-select" could not be found.
What is expected ?
both fail or both succeed
What is actually happening?
spa is working, universal is failing
Additional comments?
In this example I'm using an in develop version of vue-select, which does not have a dist directory as it is directly taken from the git repo. To counter this one can add a resolve alias to use the src directory directly
This core problem is very likely this webpack resolve error: https://github.com/webpack/webpack/issues/4160
The workaround seems to be to simply rename the alias.

This bug report is available on Nuxt community (#c8778)

Forked a new sandbox with latest nuxt (2.5.1)
https://codesandbox.io/s/xo5z115nrz


Patchmatrix stopped working after jack2 last update

Everytime i launch patchmatrix i am getting the following error:
yuri@archlinux ~> patchmatrix
patchmatrix: Symbol `JACK_METADATA_PRETTY_NAME' has different size in shared object, consider re-linking
patchmatrix 0.20.0
Copyright (c) 2016-2020 Hanspeter Portner<EMAIL_ADDRESS>Released under Artistic License 2.0 by Open Music Kontrollers
Using visual 0x21: R=8 G=8 B=8 A=8 D=24 DOUBLE=1 SAMPLES=0
fish: 'patchmatrix' terminated by signal SIGSEGV (Address boundary error)

Jack2 version: 1.9.15-1
I thought it was jack fault, but other programs like calf and qjackctl are still working normally.
Please let me know if you need more information

hmm, can confirm, Arch package crashes with new jack2, works fine with jack1, though.
patchmatrix compiled against jack2 (1.9.15-1) runs fine on jack2
patchmatrix compiled against jack1 (0.125.0-9) crashes on jack2
The headers apparently have changed/are different, maybe that's the cause ? Maybe @falktk can shed some light ?
jack2:
[hp@melamori ~]$ grep METADATA_PRETTY_NAME /usr/include/jack/*.h
/usr/include/jack/metadata.h:extern const char JACK_METADATA_PRETTY_NAME[];
jack1:
[hp@melamori ~]$ grep METADATA_PRETTY_NAME /usr/include/jack/.h
/usr/include/jack/metadata.h:extern const char JACK_METADATA_PRETTY_NAME;

The problem was fixed in jack2 1.9.16(next release), where the headers was reverted to the old style.
Thanks for the support. @ventosus


dist: register godownloader.octolab.org domain

Motivation: define an appropriate way to distribute knowledge about the project.
Build it on top of GitHub Pages and redirect it to https://github.com/kamilsk/godownloader/releases/tag/homebrew, see https://www.w3.org/TR/WCAG20-TECHS/H76.html.

will be fixed by generic way octomation/stub/issues/1


example: remove asterisk from catch_all route params

This PR removes the asterisk from the catch_all route params, resolving the issue raised in #167.

Follow up to this PR is #171, because I misunderstood the route-recognizer API.


Calendar not rendered

Hi,
I tried to include this calendar in my app but I get following error:
Warning: React.createElement: type is invalid -- expected a string (for built-in components)
or a class/function (for composite components) but got: undefined. You likely forgot to export
your component from the file it's defined in. Check the render method of `StatsCalendar`.
    in StatsCalendar (created by ReactRelayQueryRenderer)
    in div (created by ReactRelayQueryRenderer)
    in ReactRelayQueryRenderer (created by Settings)

My component, mostly done from Readme sample:
import React, { Component } from 'react'
import { Segment } from 'semantic-ui-react'
import { CalendarHeatmap } from 'react-calendar-heatmap'

class StatsCalendar extends Component {
  render () {
    const startDate = new Date('2016-01-01')
    const endDate = new Date('2016-04-01')
    const values = [
      { date: '2016-01-01', count: 1 },
      { date: '2016-01-03', count: 4 },
      { date: '2016-01-06', count: 2 }
    ]

    return (
      <Segment>
        <CalendarHeatmap
          values={values}
          classForValue={gitlabClassForValue}
          titleForValue={customTitleForValue}
          tooltipDataAttrs={customTooltipDataAttrs}
          onClick={customOnClick}
          monthLabels={['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']}
        />
      </Segment>
    )
  }
}
const customTooltipDataAttrs = { 'data-toggle': 'tooltip' }
function customOnClick (value) {
  if (value) {
    alert(`Clicked on ${value.date.toDateString()} with value ${value.count}`)
  }
}
function customTitleForValue (value) {
  return value ? `You're hovering over ${value.date.toDateString()} with value ${value.count}` : null
}

function gitlabClassForValue (value) {
  if (!value) {
    return 'color-empty'
  }
  return `color-gitlab-${value.count}`
}
export default StatsCalendar

What am I doing wrong?

Looks like you're doing a named import instead of a default import. If you change
import { CalendarHeatmap } from 'react-calendar-heatmap'

to this:
import CalendarHeatmap from 'react-calendar-heatmap'

..then you should be good to go!

Thank you @iqnivek . That helped me 👍


Remove Reflect Metadata polyfill for core-js

It looks like es7 reflect metadata is now in core-js. The CLI & Material are removing the separate package in favor of using core-js. The live examples and demos will need to be updated as well.
https://github.com/angular/angular-cli/pull/853
https://github.com/angular/material2/pull/505

We are aware of that, but we haven't made a decision yet.
I'll put it on my list of things to discuss.
/cc @filipe.silva

Let's talk about it early next week.

core-js appears to do the whole job, and work very well. The advantage of fewer dependencies seems transparently obvious. So I will be very interested to see (and I hope a rationale is published) if the decision is made to keep the extra reflect-metadata.

What about updating angular/core too?
https://github.com/angular/angular/blob/master/modules/%40angular/core/src/util/decorators.ts#L266

@schmuli core-js includes reflect-metadata, and more. Angular itself just requires that reflect-metadata is present.

My confusion was because there is the reflect-metadata NPM package, so I thought it was referring to the package, not the feature.


Add Container Administrator and Operator roles

https://bugzilla.redhat.com/show_bug.cgi?id=1421177
https://bugzilla.redhat.com/show_bug.cgi?id=1421176

@miq-bot add_label providers/containers, enhancement, wip
cc @simon3z @zeari

@zakiva what's missing to remove the WIP name/label?
@miq-bot assign zakiva

@zakiva what's missing to remove the WIP name/label?

@simon3z I added all the required features for the new roles and updated the spec.
We are still missing the dashboards for the new groups, but I will add them in a separte PR.
@miq-bot remove_label wip

Reviewed it.. this can be merges

@simon3z waiting on 👍 from you so my team can review

@Loicavenel @zakiva are we sure this is final?

@Loicavenel @zakiva are we sure this is final?

I think we do, the only diff I see that I'm not sure if we discussed already is storage features for Container Administrator. I added them to the list according to the db dump, but I don't see them in the docs screenshots.
@Loicavenel are you OK with that?

@zakiva Storage is just for OpenStack here, we don't need it.. it should have been removed... Doc is good in this case.

@zakiva Storage is just for OpenStack here, we don't need it.. it should have been removed... Doc is good in this case.

@Loicavenel Thanks, I removed them. @simon3z It seems that we are good to go now.

@blomquisg @Fryguy Can you guys review an merge.. thanks

@blomquisg Can you please take a look?

@miq-bot assign blomquisg

@blomquisg I assume we need to check what's going on with the bot :blush:

@miq-bot assign blomquisg
@blomquisg I assume we need to check what's going on with the bot ￼

Yeah, I just saw that!  :-1:
Thanks for trying :smile:

Fine backport details:
$ git log -1
commit f1c7258db00cd51268e52a2ebafb763582415ba8
Author: Greg Blomquist<EMAIL_ADDRESS>Date:   Tue Apr 18 10:38:13 2017 -0400

    Merge pull request #14137 from zakiva/add_roles

    Add Container Administrator and Operator roles
    (cherry picked from commit 943dd6554db099f55813856a8c2957af9a49c2d4)

    https://bugzilla.redhat.com/show_bug.cgi?id=1443695
    https://bugzilla.redhat.com/show_bug.cgi?id=1443694


Project quota support missing from e2fsprogs

Xenial has support for project quotas (directory quotas) using ext4 in the kernel, but the version of e2fsprogs availabe on xenial is too low to make use of this feature (v1.43+ required).
We are exploring how we deal with container quotas on garden. Rather than quotas working through a xfs formatted sparse file on a loopback device, we would like /var/vcap/data to be mounted with the project quota option enabled. How might it be possible to get a newer version of e2fsprogs compiled on new stemcells?

Closing as stale


Updates to desk number script for CP Int 2019

Business Goal
Be able to quickly generate desk numbers in the coolest projects platform based on some categories having age groups to split down the group size and some categories do not.
Groups
Number of projects indicative only, nothing about group sizes should be hardcoded. Ages are most important here.
Advanced - 27 projects
Design - 17 projects
Mobile - 32 projects
Games - 99 projects
11 & under - 58
12 + - 41
Hardware 105
12 & under 50 projects
13+ 55 projects
Visual programming 241 projects
8 & under 53 projects
9 - 44 projects
10 - 53 projects
11 - 34 projects
12 & over 57
Web - 62 projects
12 & under  37 projects
12 + - 35 projects
Task detail
Ordering formula
Each category is treated independently so the desk numbers reset between categories but not age groups.
Split into ages as listed above, so increment the desk number per project, then by org_reference code.
This will have the effect of putting club members who are in the same category and age group to be beside each other.
Category shortcodes
Advanced: ADV,
Design: DES,
Mobile: MOB,
Games: GAM,
Visual programming: VIS,
Hardware: HW
Desk number Format with examples
[Category shortcode][Age Group number]-[Order in category]
Examples according to the group size
for the first project in Wed under 12: WEB1-101 (100+ 1st in category)
for the 3rd project in Web over 12: WEB2-140 (100 + 40th in category (37 in group 1 + 3))
for the 2nd project in VIS programming under 8: VIS1:102 (100+1st in category)
To review
Afterwards we should check some examples that meet the criteria

[ ] Check that the highest desk numbers add up to the right number of projects - 600 (for the 100 increments)
[ ] Check several projects are in the right category and age group
[ ] Check ones that meet the above AND are in the same org

Awaiting info regarding number of exceptions seats and their continuity

The creation of so many fragmentation of age group per category means users are very unlikely to be grouped per club. This was only the case last year if you had kids between 10<12, but now will happen for each categories.
Small typo in the examples, VIS1-102 is 2nd in category, not 1st


Bug: Library size doubled from 1.71 to 1.72

The bcprov-jdk15to18 library size doubled from version 1.71 to 1.72.
In other words it increased by 4MB
See:
https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15to18/1.71
https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15to18/1.72
Is this expected?

Is this a bug? if we can't revert to the older version ,how can we reduce the Library size? @dghgit

1.72 added the PQC algorithms BIKE, Kyber, Dilithium, Falcon, HQC, NTRU, NTRUPrime, Picnic, SIKE, and Sphincs+. So it wasn't a bug, more a product of an awful lot of hard work. These are mostly algorithms people should be trying out as well.
There are some legacy PQC algorithms in there which we are planning to retire soon and obviously SIKE is now dead so you can expect 1.74 to be smaller that 1.73. If you check the jar you'll see that SIKE is actually responsible for a lot of the extra space.
I would not recommend reverting though, encryption software never ages well. We're aiming to release 1.74 early June, so you'll get some relief then. I could provide a custom version of 1.73 which has the SIKE resource files removed from it. If you try building one yourself you'll see it reduces the file size by a couple of meg at least.

Just an update to this, we've removed SIKE, the 1.74 15to18 providers now weigh in at:
6204 -rw-rw-r-- 1 dgh dgh 6349750 May 20 10:08 build/artifacts/jdk1.5/jars/bcprov-ext-jdk15to18-174b02.jar
6140 -rw-rw-r-- 1 dgh dgh 6285096 May 20 10:08 build/artifacts/jdk1.5/jars/bcprov-jdk15to18-174b02.jar

@dghgit , have you considered housing different algorithms in their own jars?
Then people could use what they need rather than a single jar that includes all the possible algorithms.

I'd be a huge fan of that. There's actually an example of this in the FIPS APIs (sort of), the PQC jar. Unfortunately the underlying provider system doesn't work like that -all the classes related to a JCA implementation have to be in the same jar, we'd have to replicate all the infrastructure classes such as the ASN.1 library and implementing hybrid algorithms and certificate support would be challenging at best. The alternative would be to not provide JCA support for the PQC algorithms and limited encoding support which would be a huge barrier for a lot of our user community who don't use the low-level APIs.
We can probably retire some more code when PQC round 4 comes to the end, but there are more algorithms coming as well so while I would expect the jar to increase much at this point it's probably going to see stuff getting added at about the rate stuff is getting shoveled out.

Just wondering, could you please clarify where does the requirement of "all the classes related to a JCA implementation have to be in the same jar" comes from?

certificate support would be challenging

Do you mean something like "certificate could use any algorithm, so we'd better include all of them just in case"?
What if bc-java locates algorithm implementations with META-INF/services? Then it could dynamically discover the algorithms that are present.

Originally this was detailed in the document about writing your own JCE provider. I looked this up again though, and as of Java 11 it appears the document now appears to imply that you're allowed to use the module structure as long as the individual jars making up the module are signed with a JCE signing certificate. I'll have to try it. I'm not sure it will really help in this case as the jar concerned predates the use of modules.

Maybe we can test some features of version 1.74

As far as I see, the major contributor to the library size are .properties files for pqc.
What if those .properties are moved to a separate jar?
It might probably make sense to convert properties to binary format. It would reduce both memory and CPU overheads on loading the data.

It went better than expected, converted to binary, then compressed using GZIP:
5852 -rw-rw-r--  1 dgh dgh 5991317 May 23 10:28 bcprov-ext-jdk15to18-174b04.jar
5788 -rw-rw-r--  1 dgh dgh 5926663 May 23 10:28 bcprov-jdk15to18-174b04.jar

@stardrift1 are there any jars required other than the provider?

Yes, the picnic compression is in 1.74. Have a look at https://www.bouncycastle.org/betas the jdk18on beta jars are available there.

1.74 is now appearing on the BC website. Should also be on Maven central in a couple of days.

The release tag should appear in the next hour or so.

Believed resolved.

For reference,
4.3M https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15to18/1.71
6.2M https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15to18/1.74

I'm afraid that's as small as it's going to get for now - the difference at this point is the PQC algorithm set.

I'm afraid that's as small as it's going to get for now - the difference at this point is the PQC algorithm set.

if we don't use PQC, is there any way to remove the PQC algorithm set?

Yes, you could remove org.bouncycastle.crypto.pqc. There would be a couple of other classes to clean up as some of the PQC algorithms are referenced from the BC provider so certificates can be dealt with, but it should be fairly simple to deal with.


ADD: german translation

Adds a german translation.

Thank you for that.

Should this be merged, rather than closed?

Thanks @mleutenegger!

Should this be merged, rather than closed?

Sorry yes, I thought I had


Have you tried to fill the google form required signed in

I tried to submit google form required signed in by adding cookies (get from auth account) in post request. It return response 200 but still not submit. Can you leave the contact? Nice to receive your reply ^^

I tried to submit google form required signed in by adding cookies (get from auth account) in post request. It return response 200 but still not submit. Can you leave the contact? Nice to receive your reply ^^

I haven't tried to fill out the Google form required to log in. I also have tried many ways but still have not found the answer. If you know how to solve it, please tell me.
If you have any questions (not only about this problem but anything in programming) contact me via:

Email<EMAIL_ADDRESS>Facebook: https://www.facebook.com/nguyendang.tienthanh/

@quangduydang  I have problem when authen form. Could you let me know how to fix this one?


Flutter application crashes after start (Android API 23)

If I use master branch >= v1.2.2-pre.54
The application crashes.
This is only for the samsung SM-G532F device.
MediaTek MT6737T
Mali-t720
Android 6.0.1 API 23

Other devices and emulators work correctly.
On the problem device, I cleared the cache, then made a factory reset.
but the behavior remains the same.
when changing branches to stable, no problem.
flutter doctor -v
[√] Flutter (Channel master, v1.2.3-pre.27, on Microsoft Windows [Version 10.0.17763.253], locale ru-RU)
    • Flutter version 1.2.3-pre.27 at C:\flutter
    • Framework revision db0c655110 (4 hours ago), 2019-02-23 20:59:28 -0500
    • Engine revision b1779e7d95
    • Dart version 2.2.0 (build 2.2.0-dev.2.1 c92d5ca288)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\maxnemoy\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.2
    • Flutter plugin version 33.2.2
    • Dart plugin version 183.5901

[√] Connected device (1 available)
    • SM G532F •<PHONE_NUMBER>5015d9 • android-arm • Android 6.0.1 (API 23)

• No issues found!

flutter run -v
how can i fix this?
UPD - Default project also crashes
UPD 2 - The problem is not in my device. Application crash on devices and emulators API 23 (Android 6.x.x)
I am sorry for my bad english

also crash on android 5.x

This is exception which I'm getting in LogCat for my API 21 device:
java.lang.NoSuchMethodError: No virtual method getLocales()Landroid/os/LocaleList; in class Landroid/content/res/Configuration; or its super classes (declaration of 'android.content.res.Configuration' appears in /system/framework/framework.jar)
        at io.flutter.view.FlutterView.sendLocalesToDart(FlutterView.java:323)
        at io.flutter.view.FlutterView.<init>(FlutterView.java:187)
        at io.flutter.app.FlutterActivityDelegate.onCreate(FlutterActivityDelegate.java:161)
        at io.flutter.app.FlutterActivity.onCreate(FlutterActivity.java:89)
        at au.com.azazelkon.dilutioncalculator.MainActivity.onCreate(MainActivity.kt:10)
        at android.app.Activity.performCreate(Activity.java:6288)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2642)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2754)
        at android.app.ActivityThread.access$900(ActivityThread.java:177)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:145)
        at android.app.ActivityThread.main(ActivityThread.java:5938)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)

Looks like this commit 2f4a38dbd33061e950cf83ddc31785803d58c126 for flutter/engine broke locales logic.
If you go to this diff @@ -311,39 +319,21 @@ private void sendUserPlatformSettingsToDart() you will find that before there was SDK version check and reflection, while now it simply tries to call config.getLocales() which was added in API 24. So earlier versions crash.

I verify this issue, crash on sdk 21, 22, 23. It's running from 24 to 28.
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.2.3-pre.29, on Mac OS X 10.14.3 18D109, locale en-IT)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.31.0)
[✓] Connected device (2 available)

• No issues found!

Introduced in https://github.com/flutter/engine/pull/7892

duplicate of https://github.com/flutter/flutter/issues/28321

The reason it was crashing me was because of a third-party library on startup. To check which library is causing the crash, look at the logs using Logcat by going to View > Tool Windows > Logcat on Android Studio. Then, restart the app and inspect the output of Logcat on startup. For me, it was Firebase Auth library which was causing the crash. I just updated that library to love my problem. I hope this helps someone. If not, "Stay calm, and keep reading, you will find it eventually
:) ".


ListenerAggregatePluginManager?

hi Team,
assuming that an application has factories for its listeners, it would be nice to configure them in a central location and to not pollute the service container. any interest?
thanks : )

I would say that your application should consist auf multiple modules so there are not so many listeners within the service container to have another plugin manager created.
Also you could simply use another php file to separate your listeners to an own config file.

true, i do take advantage of separate modules and PHP files. but in the merged config all services are listed and available from the application service container despite my modular separation.
a listener plugin manager would provide only implementations of the listener interface, so we would gain some type-safety as well as a reduction in the overall number of services registered in the main application service container.

This repository has been closed and moved to laminas/laminas-eventmanager; a new issue has been opened at https://github.com/laminas/laminas-eventmanager/issues/3.


Remove  from api client

@jinchihe removed unprintable character...

This change is

/lgtm
/approve

@rakelkar Great thanks!


Fix broken NodeRestriction anchor reference

In 203391835d, an explicit anchor '#noderestriction' was added to the
NodeRestriction section of the Admission Controllers reference document,
which caused the link to the '#NodeRestriction' anchor in the Node
Authorization document to break and lead to the top of the Admission
Controllers document instead of to the NodeRestriction section further
down the page. This change fixes the link to point to the intended
section instead of to the whole page in general.

Thanks @cmurphy (and good detective work, that's helpful!)
Preview works for me.
/lgtm

Page preview:
https://deploy-preview-18225--kubernetes-io-master-staging.netlify.com/docs/reference/access-authn-authz/node/

Thank you, @cmurphy .
/approve


Feature Request: Yamaha MusicCast

Would it be possible to add support for Yamaha MusicCast?

IT seems to find the main media player fine. However the zone two media player is not added.

I moved this request to the discussions, thanks for filing.


Pull in latest changes

draft PR to test updating our forked version of this repo to pull in latest changes. required for updating sidekiq gem to 6.5

This change is

closing in favor of https://github.com/OneSignal/sidekiq-worker-killer/pull/6 to go with merge strategy vs rebase


[PRM-885] Updated dependencies and addressed code warnings

Changes look good, some dependencies do have some conflicts causing a warning. You can see the view in the image below by running sbt evicted after sbt clean compile

Me and Lewis had a chat and I think keeping the newer version despite the conflict, since we'd have to have to upgrade it later. Is that okay with you?

Yeah that seems fair

Changes look good, some dependencies do have some conflicts causing a warning. You can see the view in the image below by running sbt evicted after sbt clean compile

Me and Lewis had a chat and I think keeping the newer version despite the conflict, since we'd have to have to upgrade it later. Is that okay with you?

Yeah that seems okay 👍 Will approve and merge.


gpg: keyserver receive failed: General error while building prior version

E.g. for docker build -t ghc-musl:8.8.4 -f prior/8.8.4.Dockerfile .

This means that gpg (GnuPG) could not establish a secure connection with the keyserver.

Workaround: Replace hkps://keyserver.ubuntu.com:443 with hkp://keyserver.ubuntu.com:80

IMHO this means that this image is no longer safe to use as both the image itself and the CA certificates will no longer receive updates.


Refactor libvirt network creation to be in 1:1 correspondance with libvirt

Currently, we have code like
   addresses = [ "<IP_ADDRESS>/24" ]

that produces libvirt configuration like:
  <ip family='ipv4' address='<IP_ADDRESS>' prefix='24'>
    <dhcp>
      <range start='<IP_ADDRESS>' end='<IP_ADDRESS>'/>
    </dhcp>
  </ip>

While our current syntax is very concise, we have no control:

on the host address (we systematically take .1)
on the presence or absence of DHCP (we systematically use DHCP)
(although addressed by https://github.com/dmacvicar/terraform-provider-libvirt/pull/321)
on the start of the DHCP range (we systematically take .2)
on the end of the DHCP range (we systematically take .254)

Suggestion is to refactor network generation to enable for a finer syntax like:
subnets = [
   { host_address = "<IP_ADDRESS>/24",
     dhcp = { start = "<IP_ADDRESS>", end = "<IP_ADDRESS>" } },
   { host address = "fde0::5:1/24",
      dhcp = { start = "fde0::5:2", end = "fde0::5:fe" } }
]

This is part of a general movement to make the libvirt provider match more closely with libvirt.

@MalloZup Yes, you're right, this is an epic.
As a starter, we could enable enable IPv6 on the host adapter. It would be very practical to provision machines with no IPv4 address at all (there is almost always an auto-configured IPv6 link-local address, and QEMU client provides that address if there is no IPv4). If you like, I can create the card.
More generally, it's all settings that are possible here:

https://libvirt.org/formatnetwork.html
https://libvirt.org/formatdomain.html#elementsNICS

closing as stale issue and since it is too generic (we will not close it ever :) ) , feel free to bring one specific issue in this direction.. thx


cleanup: introduce DoerFunc, DoerFactory, ConfigMap, and an auth plugin registry

@timcharper PTAL

Looks like a substantial improvement, @jdef, although I'm not entirely sure why you would want to typecast the credentials object as opposed to just enclose it, but that's minor.

Thanks for the feedback, I'm not 100% happy with where I ended up - there's
room for improvement. But as long as this code tests OK I think we can get
it landed.
On Tue, Jul 12, 2016 at 1:13 PM, Tim Harper<EMAIL_ADDRESS>wrote:

Looks like a substantial improvement, @jdef https://github.com/jdef,
although I'm not entirely sure why you would want to typecast the
credentials object as opposed to just enclose it, but that's minor.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vivint-smarthome/mesos-dns/pull/1#issuecomment-232113814,
or mute the thread
https://github.com/notifications/unsubscribe/ACPVLKx5HlczkIjUafXCRG47WCALlc8mks5qU8s4gaJpZM4JKXS4
.

--
James DeFelice
585.241.9488 (voice)
650.649.6071 (fax)


Emit title-set event for webview

I've been using hacks like polling to see if title changed, emitting title-set would make it just too easy. and it will also be the first step towards an awesome custom webview API.
Thrust (also based on chromium) emits these events, You might want to have a look at web_view_guest.cc and web_view.js.
@mark-hahn, won't it be cool for your web-browser package too :wink:

@mark-hahn https://github.com/mark-hahn, won't it to be cool for your
web-browser package too

Yes it would.
On Thu, Mar 26, 2015 at 3:23 PM, Steel Brain<EMAIL_ADDRESS>wrote:

I've been using hacks like polling to see if title changed, emitting
title-set would make it just too easy. and it will also be the first step
towards an awesome custom API.
Thrust (also based on chromium) emits these events, You might want to have
a look at web_view_guest.cc
https://github.com/breach/thrust/blob/827ab964de36103543b6b0f53b5f4f2caf56f41a/src/browser/web_view/web_view_guest.cc#L766
and web_view.js
https://github.com/breach/thrust/blob/298f53ca970624f3a680e8e4467014f55fe5bc3d/src/renderer/extensions/resources/web_view.js#L52
.
@mark-hahn https://github.com/mark-hahn, won't it to be cool for your
web-browser package too [image: :wink:]
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom-shell/issues/1316.

Would this work the same as 'page-title-updated' but for webview? If so you'd probably want to mirror that event name... https://github.com/atom/atom-shell/blob/master/docs/api/browser-window.md#event-page-title-updated

Not sure, It'll have provide two arguments to the callback function title, explicit_set (explicit_set means that the title was set explicitly in js I guess)


Add DPG: Kiva Protocol

Complementary to #518

Ah, an update the status from nominee to DPG ;)

Ah, an update the status from nominee to DPG ;)

Resolved in commit cf9fde6

This looks good to me now, thanks for addressing the requested changes @nathanbaleeta


Fix problem with geocoder

Yandex's geocoder is nonfree.
We need to implement free geocoder, using node-geocoder package and custom version of react-yandex-maps.

Fix iv 0.9.8:
https://github.com/nagayev/unr/commit/e00ded60ed8d6012793b44d84348192868587cc7


Warnlist 'UNKNOW'

Hi, in my warnlist it says by every user 'UNKNOWN'

hi, unfortunately, thats an issue with ESX versions > 1.2.0 which i wont be fixing in bwh 1,please wait for bwh2 or keep using it like this


Remove duplicate code block

Let's hold this PR for now. We will reconsider this for the next release.

This PR is invalid now.  Therefore closing. Some of the suggested changes have been incorporated now.
Thanks for your contribution


Preloader Concept Added in Animation

Complete the following REQUIRED checkboxes:

[x] I have thoroughly read and understand The Odin Project Contributing Guide
[x] The title of this PR follows the location of change: brief description of change format, e.g. 01-flex-center: Update self check

Complete the following checkbox ONLY IF it is applicable to your PR. You can complete it later if it is not currently applicable:

[x] I have ensured that the TOP solution files match the Desired Outcome image

1. Because:

Closes #XXXXX
2. This PR:

3. Additional Information:

i have not joined your discord  server,

I have explored some projects  and found this repository, in that time i thought that i may contribute some code to this Repositiory. That's why i Raised PR.

Added Another commit For One Opened issue. ( Issue : https://github.com/TheOdinProject/css-exercises/issues/170)


luci-app-ddns: Fix time error

Fix https://github.com/openwrt/luci/issues/4506
The removal of "+ force_seconds" is to compare the 18.06 version of ddns.lua (https://github.com/openwrt/luci/blob/openwrt-18.06/applications/luci-app-ddns/luasrc/tools/ddns.lua), this can be fixed The bug of the last time overflow.
The 114 line is removed because this will cause the bug that the next update time is wrong when the router is just started.
In addition,I checked dynamic_dns_updater.sh and found that next_update should be "epoch + force_seconds + check_seconds", so I added the variable definition of check_seconds. Through the test, the time displayed by luci matches the time of the log file.

Now it looks better.
Can you please update the commit header luci-app-ddns: fix update time calculation and write in the commit message what you wrote in pullrequest description but in shortened form?

@feckert Can you please merge this pull request?

@small-5 sorry but the Signed-off-by does not fit
Real name and a valid email must be set.

I have same problem. Last Update is after the last/current date about 30 minutes and increases with every minute that passes.
Next Update time is also wrong (it's 58 minutes higher than last update) and is increasing by minute.
Running latest snapshot. I will try this patch.

@small-5 thanks for the fix
@apocalypse1233 thanks for testing.
I will add the change now, since it fixed the problem with the wrong display.


[recommend]  replace all select * with specific fields.

Using select * might leave a lot of potential problems,. Such as when appending a field in the future,  the field will mismatch the code in the old version and result in crushing.

It may be appropriate to replace * with all fields. cc @caoxianfei1 @Wine93

It may be appropriate to replace * with all fields. cc @caoxianfei1 @Wine93

I agree!

I got it, I'll open a pull request soon.


Update cross-media-measurement-api version

Replace Timestamps with google.type.Date in ModelRolloutService Fix broken tests
Internal proto resources remained the same. What changed is the way public proto resources are converted into internal ones and viceversa.

This change is


Authenticate with Roles instead of AWS Access_Key and Secret_Access_Key

Describe the solution you'd like
I would like configure secret store with AWS provider to authenticate without IAM User. Instead I would like to authenticate with role which has the right policy to SecretManager. I haven't seen anywhere in the your documentation that allows that other than providing AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
I will appreciate any suggestion, documentation or idea to point me to the right direction to achieve this

Hey, we have a couple of authentication methods, please take a look here: https://external-secrets.io/v0.5.8/provider-aws-secrets-manager/#aws-authentication.
Does that help?


Bash onliner for that awesome script

Bash onliner for running that awesome script to install :) Not going to take the time to look up the curl -> bash -> omg I have it installed.  Please put it in the release.

Something like this
wget -q -O - https://get.k8s.io | bash
curl -sS https://get.k8s.io | bash
In the release tab ... also CHECKSUM

I realise I'm perhaps not in a good position to voice this opinion, but piping things from the internetz into bash seems like it has some negative consequences. Aside from just executing content arbitrarily on the machine, there are techniques to determine whether or not cURL is being used (aside from just useragent matching), and serve different content:
https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/
I know that HTTPS should guarantee that the codes comes from a known server, but that guarantee isn't absolute - not good enough that I want to exec code on the machine directly from a HTTPS connection.
Other package management systems have mitigated this by downloading a resource (e.g. .deb), then allowing that resource to be verified / checksumm'd. You cannot do that here, as the payload is being interpreted by bash directly - you can only checksum the result of the script, and presume the script worked OK.
I might be missing something obvious here (:

Yes, this is a contentious topic.
The current script (a) is downloaded from GitHub over SSH, (b) downloads the checksum for the binary, (c) downloads the binary, (d) compares checksums, and then (e) runs a sudo to install
So... it takes a few measures for security, but it is definitely not foolproof. For that matter, though, it is no less secure than dpkg -i some.deb.
Our difficult situation at this point is that Homebrew is the only package manager with a packaged version of Helm. And for us to maintain separate installs for each OS is a little beyond our means right now. So I wrote the bash script to make it possible to get a basic cross-platform install with minimal effort. All that's being asked for here is for a documented curl ...|bash that will run that shell script instead of my recommendation that you should download the script, take a look at what it does, and then execute it.
Now, one thing that would make this MUCH more secure is if we used OpenPGP/gpg/Keybase to sign both the script and the downloadable file. Then we could actually perform an authoritative check on the local workstation at install time. The main problem is that most people seem to not have their local environment setup for that.
Anyway, for the time being, I'll leave this issue as-is and see how people feel about it.

That is fine, let's have a link to an install doc, or one line install commands in the release tab.  I am all for secure install :)  Also link to the the install kubectl.

Signing the script would make all of my concerns largely redundant. There's also something like
https://github.com/jordansissel/fpm
which might reduce the packaging burden.

Script is broken as well filing another issue

I believe the script is functional again.
FPM might be a good thing to do going forward. In the shorter term, I'll see if we can start signing things with our PGP keys.

@chrislovecnm Im closing this due to inactivity but please re-open the issue if you wish to continue the discussion. Thanks!


Licode k hackathon2016 noam

@noam-arad what's the purpose of this PR? can you explain it and give details in the description please? where's this hackathon happening?

My bad, I meant to open this pull request with my own branch.


TODO

Here's a TODO list of obvious problems that need fixing before we can declare 1.0. Please add more below.

[ ] check packaging: are we following best-practice?
[ ] need some docs
[x] should we use error() for exceptions? what's the best way to do this?
[x] need a test suite --- what's the best Lua unit test system?
[x] need to use logging rather than print() --- what's the best logging framework?
[x] need more gvalue types
[x] need new_from_buffer()/write_to_buffer()
[ ] need image:remove() to remove metadata items
[ ] copy to memory, new memory etc.
[x] not all binary operators know about arg reversal
[x] need new_from_array() for matrix constants
[x] look at setting and getting enums: can we use nicknames?
[x] the rest of the operator overloads need implementing (we just have +)
[x] add __tostring methods for image etc.
[x] add more things to get standard fields from images, like format
[ ] add support for options in filenames
[x] we assume that the input image is always the first required param, is this OK?
[ ] more sanity checks to spot errors like a.add(b) (ie. . instead of :)
[x] need object.get_typeof() to test for fields
[x] need hand-written wrappers for bandjoin etc.
[x] use .., [], # for band join, split and number
[x] use () for get pixel
[x] add enum expansions, like sin / cos / tan
[x] add convenience functions like bandsplit etc
[x] need auto-expanding constants
[ ] support MODIFY args
[x] remove a lot of logging
[x] leakcheck with a debug vips
[ ] add to vips benchmark
[x] make a benchmark against other Lua image processing libraries
[ ] upload the rockspec on 1.0!

Added simple logging. Off by default. Use vips.log.enable(true) to turn it on.

Now use error() for all errors.

Seems that something is wrong with operation.lua,
because i want to call write_to_buffer like this: buffer = image:write_to_buffer(„.jpg“)
It find the correct operation VipsForeignSaveJpegBuffer from write_to_buffer, but keeps the argument „.jpg“.
When it collects the arguments for operation, this argument isn’t needed anymore and it fails with the following error: „operation.lua:130: final argument is not a table“
Have a look on my fork: https://github.com/lexusburn/lua-vips

Oh dear, you're right. And gvalue will need some extra code to turn the buffer output into a Lua string as well. Hang on, I'll try fixing that.

OK, try again, I added VipsBlob support to gvalue.
I think the error you were seeing was because of the format_string parameter. You had:
        write_to_buffer = function(self, format_string, ...)
            local operation_name =
                ffi.string(vips.vips_foreign_find_save_buffer(format_string))
            if operation_name == nil then
                error(object.get_error())
            end
            return operation.call(ffi.string(operation_name),
                self, format_string, unpack{...})
        end,

But the jpegsave_buffer function just takes a buffer to write, you don't pass it the format_string. So operation.lua thought you were passing one argument too many, and that the extra argument wasn't a table of options. I'll try to improve the error message.
If you change it to be:
            return operation.call(ffi.string(operation_name),
                self, unpack{...})

I think it should work.
I noticed a small bug: if you pass a crazy format string, like ".banana", then vips_foreign_find_save_buffer() will return NULL, and that will make ffi.string() crash. You need to do the conversion to string after testing for nil.

It works now to output a lua string. :-)
But i found a possible bug. I think it's not normal, that invert() doesn't work at huge images?
I have a image with 2000x1500 pixels that ends in a broken image. Another smaller image works as expected.
load from buffer doesn't work at this time. I've  got segfaults if i call it. Had to investigate more...

Hey, well done!
Yes, it should be fine with huge images, though it will gobble memory. Are you setting the string length? If not, it'll search for a 0 terminator character, which obviously isn't right for images.
I've had to make huge changes to master, sorry :( You now need to add your code to vips/Image_methods.lua.

Do you have a preferred Lua unit tester? I've been looking at busted.

I don't have any preferred unit tester for lua, because i'm new in lua too.
Had a look on busted and it looks good for me. :-)
Had called invert like this: image4 = image4:invert()
It works with a small png but not with a large. Will have a further look on it.
Changes are normally for such a work in progress.
I will merge your changes into mine and try furthermore to implement buffer handling. :-)

Woo! We have a (small) test suite!
john@mm-jcupitt5 ~/GIT/lua-vips (master) $ busted .
●●●●●●●●●●●●●●
14 successes / 0 failures / 0 errors / 0 pending : 0.077788 seconds

\o/

Am 26.05.2017 um 15:56 schrieb John Cupitt<EMAIL_ADDRESS>Woo! We have a (small) test suite!
john@mm-jcupitt5 ~/GIT/lua-vips (master) $ busted .
●●●●●●●●●●●●●●
14 successes / 0 failures / 0 errors / 0 pending : 0.077788 seconds
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

added example for combine (extract, ifthenelse, insert).
Load from buffer won't work. :(

write_to_buffer works in my fork. You can merge it into your code.

Great! I'll copy across.
Do you need an idea for another job? I was thinking of overloading .. to mean bandjoin, and [] to mean band extract, so you could write:
image = image .. 255

and that would add an alpha channel, or:
image = image[2] .. image[1] .. image[3]

to swap R and G over. Those plus some tests would be great!
The other bindings use () to read a pixel (the getpoint operator), so you can write:
pixel = image(12, 2)

and pixel would be a table of the pixel values at that coordinate.

OK, merged everything from your fork. Good job!

OK, merged everything from your fork. Good job!

Oh. Have in mind that load from buffer isn't working correctly. Only save to buffer works.
Will have a look on concatination...

I think I've got write to buffer working!
john@kiwi:~/GIT/lua-vips (master)$ busted .
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
67 successes / 0 failures / 0 errors / 0 pending : 0.242446 seconds

... and load from buffer.

Looks like we have some severe problems with reference counting, I think we need a global object table. I'll have a think.

OK, it's working! I fixed up your combine.lua example slightly and it now works beautifully:
local vips = require "vips"

-- uncomment for very chatty output
-- vips.log.enable(true)

local main = vips.Image.new_from_file("images/Gugg_coloured.jpg")
local sub = vips.Image.new_from_file("images/watermark.png")
local x, y, width, height = 100, 100, sub:width(), sub:height()

-- extract related area from main image
local extract = main:crop(x, y, width, height)

-- get rgb channels from watermark image
local rgb = sub:extract_band(0, {n = 3})

-- get alpha channel from watermark image
local mask = sub:extract_band(3)

-- use ifthenelse to combine extracted image with sub respecting the
-- alpha channel
local composite = mask:ifthenelse(rgb, extract, {blend = true})

-- insert composite back in to main image on related area
local combined = main:insert(composite, x, y)

print("writing x.jpg ...")
combined:write_to_file("x.jpg")

Very fast, no leaks. You can run the test suite like this:
(cd spec; for i in *_spec.lua; do luajit $i; done)

You can't run via busted, unfortunately, because of some problems with fork() and luajit ffi. It seems to be a known problem. Anyway, it all passes reliably with no leaks.
Woo!

I'll finish the tests next.

All done, and I added .. and () overloads too.
I can't get the [] overload working, strange.

I think it's all done, I might stop there. I made a little benchmark against magick, the Lua ImageMagick binding:
https://github.com/jcupitt/lua-vips-bench
About 7.5x faster, 10x less memory \o/

I made a proper rock too, so you can now just install with 'luarocks install lua-vips`.

The page for the rock.
https://luarocks.org/modules/jcupitt/lua-vips

... and a blog post about it:
http://jcupitt.github.io/libvips/2017/06/01/libvips-for-Lua.html

All done! I'll annouce 1.0 in a day or two after some testing.


Create a roadmap

Let's define clear goals on the bigger features, and prioritise them.
We night also create a roadmap for content.

For the features, I will close this in favour of https://github.com/wagtail/guide/discussions/356. We discussed what a roadmap would look like, I’ll provide an update there.
For content, see https://github.com/wagtail/roadmap/issues/69.


Add title filter in admin using LexikFormFilterBundle

Since the admin backend doesn't use KnpPaginator, we could add a filter for title field using LexikFormFilterBundle.

I'm not sure about this feature. The purpose of the Symfony Demo is to show as much built-in Symfony features as possible. We don't want to develop an advanced blog engine.
Before merging or closing this proposal, I'll wait to read more opinions. Thanks!

I think @javiereguiluz is right. Third-party bundles mostly are developer specific, some developers use this bundle, some of them could use other.

And btw, this bundle is used only to perform a ->andWhere('p.title LIKE :query)->setParameter('query', '%'.$query.'%') on the QueryBuilder (well, better if we perform some escaping on $query in case there is a % in it). The bundle is way overkill IMO

Provided types: https://github.com/lexik/LexikFormFilterBundle/blob/master/Resources/doc/provided-types.md. I could add this functionality without the Lexik bundle if we decide it should be in the Demo App.

@sergiu-popa and all these custom types are necessary only because of all the complex logic the bundle contains just to perform this alteration of the query builder. If you just build it the simple way, using the text type for the field is enough

@javiereguiluz, I don't consider by adding a filter would make the demo an advanced blog engine. I think we should add a filter for a table because it's not something unusual for an application. If not using LexikBundle, I could create it using Symfony's built in functionality. What do you think?

I'm closing this pull request for being too complex for the purpose of the Symfony Demo app.
However, @sergiu-popa is right and we could add some filter in the backend without using this filter. My question: could we adapt the (still not merged) https://github.com/symfony/symfony-demo/pull/173 to use it also in the backend?


wish: document failure modes

I'm interested to see updated docs which cover the following:
What happens if the LogEntries API endpoint can't be reached for some reason? Does the code block? Are the incoming logs buffered until LogEntries becomes available? If the logs are buffered during an outage, are the accumulated on disk or in memory? Is there a limit to the buffer size? Could logs ever be lost during a LogEntries outage?
What happens if LogEntries is eabled for a trial but the trial ends, or the license otherwise expires? Does it crash the Node.js process if it's fails to initialize? Are the logs lost?
There is a handler for "error" events. Are there any particular known errors that may be emitted by the logging system?

From my reading of the the code, it appears that if LogEntries were down, lines to log to it would be queued in memory with no limit. Given enough time or log volume, memory would become exhausted and the process possibly killled by an OOM Killer. The logs would be lost if LogEntries was the sole destination of the logs.
That may be acceptable given the likely-low probability of the site being down, but is worth documenting.
Besides the API being down, the design may be open to abuse when the API is up. If a bad actor could generate log events faster than they could be processed by LogEntries, the memory could be filled up, resulting in denial of service.
That consider could be addressed by putting a maximum size on the queue. When the queue grows beyond a certain length, the oldest rows could be discarded to avoid unbounded memory growth.  The maximum queue size could likely be something rather high that is unlikely to be hit under normal conditions, like 10,000 or even 100,000 lines, depending on much memory typical logs would consume at those volumes.

The queue must be limited in size. If it is not it's a bug. Unfortunately the original author is not reachable anymore, but we have an alternative implementation prepared (https://github.com/bathos/logentries-client) which will eventually replace this one and be maintained.

Thanks for the response @vilda  I check out the new alternative implementation. It looks like perhaps better coding, docs and tests, but has the same problem. I opened a bug about it the new bug queue:
https://github.com/bathos/logentries-client/issues/4

Thanks Mark, I'll communicate this internally. Ideally if we can move the alternative implementation into this repo.

The new client is a writable stream implementation with sane buffer limits.


Docs folder + updated docs

[x] Created new docs folder in repo root
[x] Moved following files in to it:

BUILDING_INSTRUCTIONS.md - updated content
PR_REVIEW_INSTRUCTIONS.md - updated content
ATTACHING_DEBUGGER.md - updated content

[x] Add logging instructions #465
[ ] Explain how to flick debug switches (in LOGGING.md)
[x] Refactor ATTACHING_DEBUGGER.md

Fixes #466
Fixes #465

@kvakvs How are debug switches turned on and off? Also, if someone wanted to add a new switch in future, is there anything they need to be aware of?

@aubergine10 At this moment the only reliable way is to visit affected csproj'ects and add another define to the defines section. Per build configuration. Less global way which only covers 1 file is to add at the top of that file.

Not sure I understand the comment above. Is that for adding a complete new switch?
If I wanted to, for example, enable logging for parking AI, which already exists, how would that be achieved?

Oh do you mean the debug switches in the XML file? I never done that, and it probably could use some usability improvements.

You have to add (TLM/State/ConfigData/DebugSettings.cs):

default value to Switches array,
new DebugSwitch enum value,
new boolean value in section of TMPE_GlobalConfig.xml file before running game

<Debug>
    <Switches>
        <boolean>false</boolean>
         ...
    </Switches>
</Debug>

To turn off/on features just change correct  value from false to true (index is the same as in DebugSettings Switches array) and run game.
That should work while in main game menu too but I didn't tested that (change value in xml, save file and then in mod options Maintenance -> Reload global configuration)

Urg, this is a nasty way to do the debug switch toggles in the xml file:
  <Debug>
    <Switches>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
      <boolean>false</boolean>
    </Switches>
    <ExtVehicleType>None</ExtVehicleType>
    <ExtPathMode>None</ExtPathMode>
  </Debug>

Is there any way we could add some sort of human readable hint to those elements? Even if it was just an incrementing number eg. <boolean switch="1"> ...

This is ready for final review @krzychu124 @kvakvs

Yeah, they work reliably as is so I think leave them for now.


Circle arrow head is missing from new diagrams

The "circle" type arrow head is missing from new diagrams. I only see four options: none, arrow, line, and filled arrow. However, on existing diagrams where I have used the circle arrow head, I can still use it.

I just realize this is a duplicate of #7455


Skip CSV header outside of while loop

Considering we know that the variable firstLine is only true on the first pass of the while loop, we are able to take it out of the while loop. As the while loop is very expensive, iterating over hundreds of thousand of times, it seems redundant to do such a comparison (i.e. if (firstLine)) that many times when the outcome is deterministic and easy to write.

I think this may cause a crash when the CSV is empty for some reason.

Why would the CSV ever be empty? If we had no entries, wouldn't we still have a header?

The file is retrieved over network, so I think it is safer to make no assumption on its content. (The host may suddenly change the content, or the file might be terminated early by bad connection/proxy/..., etc.)

Would you mind using a CSV parser like opencsv instead?
FYI: I'm modifying NearbyPlaces.java to use Wikidata, but I intend to leave the Wiki-needs-pictures option, too.

Yeah I think it'd be better to just use a parser. I think once #492 is implemented, I'll make a CSV converter for Retrofit then we can just import it here. I'll close this issue for now as CSV parsing is working fine for now.


Update zio-json to 0.3.0-RC3

Updates dev.zio:zio-json from 0.3.0-RC1-1 to 0.3.0-RC3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-json" } ]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

@Mergifyio rebase


--log should exclude red from color selection

Summary
Including red among the random step-specific colors selected for logs shown with --log is confusing. It makes an entire step's logs look like error messages.
Use Cases
When running workflows with Argo CLI and --log.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Here's where log colors are determined: https://github.com/argoproj/argo-workflows/blob/f796449df96888538af873bd6871374c2156db7b/cmd/argo/commands/common/common.go#L89
so hopefully removing FgRed will work.


Does a zoom out variable exist in MDL?

Hey MDL Team,
I've been working with your library recently, I just wanted to know if there was anyway to mass scale the size of MDL similar to using a zoom: 0.85 in Google Chrome. In Chrome, forcing a zoom on the whole page works fine to get the element zoom out I like, but I feel like it's a very fragile piece of code that doesn't have full browser support (like it doesn't work in Firefox at all).
Is there a way I can essentially zoom out 15% in the MDL library so I can skip on using the zoom and instead rescale the elements as if I had zoomed out to 85% on Chrome?
Thanks

Please use StackOverflow for support and integration assistance. This tracker is only for problems with the code provided by Material Design Lite.
This gets pretty specific into support for a specific integration concern. Therefore is out of scope for the issue tracker. Sounds like what you want is to change the size of components, which is standard user-land CSS included after MDL to target and modify things how you wish.
Thank you.


Migrate tool into repository

The tool in agora needs to be migrated into this repository.
Definition of done:

[x] dub: Organize submodules and dependencies
[x] UTXO: Use TestUTXOSet instead of UTXOSet, implement updateUTXOCache
[x] agora#1286 (?)

Part of agora#1227

The basic tool has been integrated. Will close.


Updating to Chromium 94.0.4606.61

Please respond if you would like to update ungoogled-chromium to the new stable Chromium version.
Notes for the developer
Once you claim it, it is advisable that you create a Draft Pull Request for increased visibility:

Finally, make sure to reference this issue in your PR.
Feel free to ask questions and discuss issues here along the way. Thanks!
Notes for others
Feel free to raise issues or questions throughout the process. However, please refrain from asking ETAs unless no visible progress has been made here or on the developer's PR for a while (e.g. 2 weeks).

I've started work on this and should have a PR up soon.


Ability to set different border widths and colors for a rectangle's sides

It would be very useful to have this feature. For example, I might want to render a vertical or horizontal bar to separate different UI elements, and this would be easily done by creating a border that is only active on one side.
This could be modified from the theme JSON file where instead of
"border_width": 1

You would define:
"border_width": {
    "left": 1,
    "right": 0,
    "bottom": 0,
    "top": 0
}

I'm not really sure if there is any alternative to the issue I've mentioned, and if anyone has any ideas I would appreciate it if you could share them! Thank you

I agree with this general idea, I think it will also become very important when we (eventually) have a spreadsheet/table like element for displaying data.

Hi, @MyreMylar , I would like to work on it!
I'm new in pygame gui, so can you please explain on which file should me work on this issue?

Thank you so much! (also for this great library)
Chavi

Hello Chavi,
This is really a couple of nested problems to solve;

Defining an interface for users to set theming border widths for all four sides of a shape (and what to do for circles that don't really have sides). Here we would need to clarify what happens for all the existing shapes and how the new theming options interact with the existing one for setting a border width and colour for all four sides.
Pass the information from the users theming down through the UI systems so it reaches the drawable shapes parts of the code. This section could be done on it's own without changing the interface but it would probably be good to look at them together to get a feel for what information would be needed. With steps 1 and 2 figured out we should be able to pass all (or at least nearly all) the existing unit tests without needing to change any user code - so our code is backwards compatible.
This is the part where we figure out how to draw the four borders separately and in different colours or gradients. At the moment the borders are mostly created by cutting out a smaller shape (smaller by the border width in all directions) from a larger one drawn in the border colour - so with the simplest case, a 100x200 rectangle with a border width of 1 we would draw the 100x200 rectangle in our border colour and then subtract from it a 98x198 pixel rectangle leaving a 1 pixel border. This method works for all three of our shape types.

The code for all these parts is spread all over the GUI library as border_width is is used in lots of places, but there are important sections for the drawing in redraw_state() of each of the drawable shapes (core/drawable_shapes). A lot of the code for defining the shape theming interface is in __check_shape_theming_changed() but a search for border_width in the codebase should find you lots of mentions. I would probably focus in on getting it working for one element like the button first and then figuring out the rest.

Thank you so much @MyreMylar , Do you recommend me to work on it? Maby, you have something easier for me as a new contributor? I prefer to enhance than solve bugs.
But. I want very much to contribute to pygame gui!
Which ussueshould you recommend me?


Compiler flag to ignore generated code is undocumented

The compiler flag -XepDisableWarningsInGeneratedCode isn't in the official documentation
The release instructions doesn't specify how one adds documentation for command line flags. It seems to be a manual process.

Cool, didn't know about this flag. Cursory inspection indicates that generated code is identified by the presence of the @Generated annotation. I've just tested this; works well. I can now re-enable a bug pattern to which some of our wsimport/xjc-generated code does not comply. Nice :)

Very useful flag that isn't documented at all. I'd love to see this rectified.

Even with this flag I'm still getting warnings regarding Dagger's generated code.

I am also seeing issues with Databinding.

This has been added in https://github.com/google/error-prone/commit/9f9f23adeb9dfaa3e1f877d9be8b56d9c824194d a few days ago.

@tbroyer Hows does it work? Are we forced to write a custom patch?

@jaredsburrows Not sure I understand your question, but -XepDisableWarningsInGeneratedCode will disable/remove/ignore warnings (not errors!) in code annotated with @Generated: https://github.com/google/error-prone/issues/329#issuecomment-117318164

You said in your previous comment:

This has been added in 9f9f23a a few days ago.
The -XepDisableWarningsInGeneratedCode argument has been in error prone for some time right? https://github.com/google/error-prone/blame/master/check_api/src/main/java/com/google/errorprone/ErrorProneOptions.java#L56

This issue is about the flag's documentation. http://errorprone.info/docs/flags
The flag itself has been added in 2.0.6.

just encountered this due in part to the immutables library, and I too am noticing there is not a corresponding flag to ignore ERROR which I have some of, because I set MissingOverride and Var to error so that they fail the test, of course I don't care if generated code does this. could open a new bug to add that flag.

@xenoterracide you can now disable EP on generated code entirely if desired with the -XepExcludedPaths flag.  It's documented here

@xenoterracide you may also be interested in https://github.com/google/error-prone/issues/808


Store descriptive text strings in a central location

Currently all String descriptors that a user will encounter are declared and instantiated where they are required in the code. This makes it more difficult to update them and increases the risk that we miss a few Strings when doing such an update.
I suggest to store all Strings that a user will encounter in a central location/file. This will allow us to edit them with significantly less scroll-work and without fear of missing a few lines. It will also make it easier to implement a consistent writing style and to detect typos.

This feels pretty similar to using translation files. This can work fine, but we can be tricky. For the GraphQL instance that you're probably referring, I imagine that we could have a separate descriptions.go file containing all const strings. The question is if this would make the readability and maintainability of the Go code better or worse?
If a string is repeated  multiple times throughout the code base (e.g. Cannot resolve this property; not found in database), then it should definitely be stored into a const variable.
But what if there is only one occurrence? Such as would be the case of a GraphQL Object description?
I would not store this in a const variable in another file. If it makes your definition of the object/fields more clear, you can always write something like the snippet below.
This will keep the variable scoped to the function (making clear that it is only used for this function), and documents the doSomething function at the same time.
package main

type SomeObject struct {
	Description string
}

func doSomething() *SomeObject {
	const description string = "Some Very Long" +
		"text" +
		"description"

	return &SomeObject{
		Description: description,
	}
}

func main() {
	_ = doSomething()
}

https://play.golang.org/p/prMA0CtyIpn

Some descriptions were updated too in the recent schema update, implementing these changes would've been quicker if these strings were stored in a single location. This also goes for updating descriptions as a result of the acceptance test. @laura-ham is now updating the strings in the prototype that have already been updated in this repo, this would be easier if we were using a single location too.
These are the descriptions and names that users encounter, which means that of all strings used in the code these are most likely to be changed in the future (due to either user feedback or re-design). It's likely that these strings will have to be revisited multiple times in the future (over a large period of course, not weekly). They are currently spread out over four files, I think using a central location for them would make our life easier in the future (at specific (update) moments only, admittedly).

implemented, merged with develop


Is there way to add errors manually?

It`ll be useful for example for Meteor Accounts error displaying:
Accounts.forgotPassword({ email: form.get('email') }, err => {
  if (err && typeof err.reason === 'string') {
    const reason = err.reason;

    if (reason.indexOf('User not found') !== -1) {
      // adding error manually
    }
      // ...
  }
});

where form is Astro.Class instance.
Maybe something similar to [Simple Schema`s](https://github.com/aldeed/meteor-simple-schema#manually-adding-a-validation-error) `validationContext.addInvalidKeys(errors)`.
P.S. Great work, many thanks!

If don't know if in your case is it needed however it may be good feature to implement. I will probably add it in the near future. However, right now you can do it using some internal API.
form._errors.set('fieldName', 'Error message');

Right now all error messages are related with some field name. However I will be working on implementing field errors and document errors. Where document errors will be related with entire document, not particular field.

Thank you, @jagi, this is what I need! Document errors looks useful for work with error summaries. It'll be cool feature.


SpecIF elements are classified public or private

Elements of a SpecIF data set (package) can be classified as public or private. Only public elements can be referenced by other data sets (packages).

There are two possibilities:

add a boolean attribute named 'public'.
add an attribute named 'visibility' with enumerated values 'public' and 'private'. This would allow to add additional values, later.

How probable is the need for further values?

.. same as #3

Java distinguishes public, protected and private members: The private modifier specifies that the member can only be accessed in its own class. The protected modifier specifies that the member can only be accessed within its own package.
I think this makes sense and can be adapted for SpecIF.


hindi readme file updated

@adamlui i thought to keep all names consistent in english for all the scripts.

@adamlui i thought to keep all names consistent in english for all the scripts.

I see, the scripts that have Hindi names already use // @name:hi meta's from which they were copied, so Hindi users already know them by that name. Is there anything wrong with them? If so, can you correct them here and in the corresponding script repo? If not, can you revert?

Ok so i will change all the names to hindi to make it consistent

Ok so i will change all the names to hindi to make it consistent

Ok but if the existing translation is good, then no change, but if it needs improvement, can you also change it in the original script's repo? (you can visit it by clicking title, then goto greasemonkey/script-name.user.js and change the // @name:hi value there to be the same change)

@iamnishantgaharwar also is your Internet unlimited? If not I can copy your potential changes to the other repo's myself

I have unlimited internet

@adamlui done all name are in hindi

@iamnishantgaharwar check out https://github.com/kudoai/chatgpt.js/blob/main/docs/hi/SECURITY.md, anything needs improvement?