Release of PhantomJS 2.1

[ ] Update ChangeLog
[ ] Update web sites
[ ] Create and update release notes
[ ] Update build instructions on the web site
[ ] Upload source tarball
[ ] Prepare OS X binary
[ ] Prepare Windows binary
[ ] Prepare Linux 64-bit binary
[ ] Prepare Linux 32-bit binary

Any approximation on release dates?

Somewhat unrelated, but may I suggest using an axe on the issues tracker :) There are tons of issues, many with insufficient information to be useful.
Being the main author I think it's easier for you to decide, but I think it would be useful to close most issues (e.g. with a note on it being reopened if additional information is added).

When will this be released? We are eagerly awaiting WOFF support

I'm waiting of this release to test remote debugging capabilities on Windows 7.

Same here. +1

Blocking issues from releasing 2.1 version:

[ ] Upgrade Qt to 5.4.2
[ ] Upgrade QtWebkit to 5.4.2

It seems like based on the last activity in the 2.0.1 Issue, that release is dead and has been rolled into 2.1. Is that true?
Asking because we are still awaiting support for Mac OS X 10.11 El Capitan. Any idea how far from release you are?

+1

Current plan: let's try to have 2.1 release this month (January 2016).

Not trying to offtopic this, but can I ask where is the funding for this project discussed or could an issue be created to talk about it? This project seems to have a massive community interest (including myself) and hypothesis is there's probably more people than just me who would be happy to back it with more than words.

Yay!!

How I can help PhantomJS development? -> #13861

@ariya It's cool, thank you!

@ariya Great! Also looking forward to :-)

It seems there is an i686 package that was published. Does that mean 32-bit is ready?

To avoid confusion, please don't download/try/say anything about the release until I make the official announcement on the mailing-list. Your patience is appreciated!

:+1:

For now, we can't offer a source tarball (see #13930 for details). Thus, I'll just link to the git repo instead.

Announced! https://groups.google.com/d/msg/phantomjs/Jp4sDXrfmNg/I5J5TBFBDQAJ

Thanks for your hard work Ariya and Team!

Completed :smile:

Yay! Thanks for the good work !
On Mon, Jan 25, 2016 at 12:22 AM Ariya Hidayat<EMAIL_ADDRESS>wrote:

Completed [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/ariya/phantomjs/issues/12970#issuecomment-174407486.

@ariya is it expected for this binary not to work on CentOS 5? Using CentOS 5.9 I get this:
$ ldd ./phantomjs-2.1.1-linux-x86_64/bin/phantomjs
./phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by ./phantomjs-2.1.1-linux-x86_64/bin/phantomjs)
./phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by ./phantomjs-2.1.1-linux-x86_64/bin/phantomjs)
./phantomjs-2.1.1-linux-x86_64/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by ./phantomjs-2.1.1-linux-x86_64/bin/phantomjs)
	linux-vdso.so.1 =>  (0x00007fff81deb000)
	libz.so.1 => /usr/local/lib/libz.so.1 (0x00002b96941ed000)
	libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x00002b9694405000)
	libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x00002b9694645000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00002b96948cd000)
	librt.so.1 => /lib64/librt.so.1 (0x00002b9694ad1000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b9694cdb000)
	libstdc++.so.6 => /usr/local/lib64/libstdc++.so.6 (0x00002b9694ef7000)
	libm.so.6 => /lib64/libm.so.6 (0x00002b96951fb000)
	libgcc_s.so.1 => /usr/local/lib64/libgcc_s.so.1 (0x00002b969547f000)
	libc.so.6 => /lib64/libc.so.6 (0x00002b9695694000)
	/lib64/ld-linux-x86-64.so.2 (0x00002b9693fcf000)
	libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x00002b96959ec000)

I tried searching this repo to see if support was removed on purpose but couldn't find any info about it. Thanks.

@felipebrahm Please file a new issue.

npm install on linux still tries to download a dead link:
https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-linux-x86_64.tar.bz2
the npm package needs to be updated?

@jahtalab Try this: npm install -g phantomjs. Works for me.

This issue is resolved because we achieved our goal: releasing 2.1.
If there is a problem with the release, please file a new issue. For anything npm-related, please bring it up at https://github.com/Medium/phantomjs.


Run Application Tests & Document Steps

There are many tests under the application directory. Need to run these tests, and document process. New issues will be raised in the event of failed or incomplete tests.

done


updates the codecov call to use their bash script

Just a quick one-liner.  Tossing this in before the release

Codecov Report

Merging #72 (fb07686) into development (5445f82) will increase coverage by 0.13%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development      #72      +/-   ##
===============================================
+ Coverage        63.17%   63.30%   +0.13%
===============================================
  Files                8        8
  Lines             1260     1240      -20
===============================================
- Hits               796      785      -11
+ Misses             464      455       -9

Impacted Files
Coverage Δ

ebmlite/core.py
76.54% <0.00%> (-0.44%)
:arrow_down:

ebmlite/threaded_file.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

I definitely agree, we should try to find an alternative to using that.  For now though, since it's just the standard, we should just be careful.


Fixes uses of deprecated class and refactors some tests

Changes occurrences of Contentful\File\UploadFile (which is deprecated) to Contentful\File\RemoteUploadFile.
It also changes tests to use a trick with setLimit instead of relying on sleep(5).

Fixed typo and rebased against master


spyder-bdist_wininst.bmp missing from source zip file

From<EMAIL_ADDRESS>on 2014-04-30T08:42:29Z
What steps will reproduce the problem?

Download the source zip file spyder-2.3.0beta4.zip from https://bitbucket.org/spyder-ide/spyderlib/downloads 2.  Patch distutils as instructed in https://code.google.com/p/spyderlib/wiki/PatchingDistutils 3.  Build spyder installer using

python setup.py build bdist_wininst --plat-name=win-amd64 > build.log 2>&1 What is the expected output? What do you see instead? I expect the spyder installer to be built, but instead it fails with an error
.
.
.
adding 'SCRIPTS\spyder.bat'
adding 'SCRIPTS\spyder_win_post_install.py'
creating dist
error: img_src\spyder-bdist_wininst.bmp: No such file or directory
(full build log attached.)
If I download the missing file from the bitbucket source repository and place it in the correct location (img_src folder), the build completes.
However, if I then build the source distribution zip file, the image file is not included in the zip file.  This is the origin of the problem. What version of the product are you using? On what operating system? Spyder 2.3.0 beta 4
Windows 7 x64
Python 2.7.6 installed using PythonXY <IP_ADDRESS>
Attachment: build.log
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1803

From ccordoba12 on 2015-01-01T15:10:29Z
This is not failing for me anymore.
Status: WontFix


Refactor multiple duplicated inputs in Generator

Refactor multiple duplicated inputs in Generator
Refactor multiple duplicated inputs in Generator to avoid boilerplate.
What files are being created, modified, or deleted?
Modified: src/view/src/data/constants.js
Modified: src/view/src/pages/Generator/Generator.jsx
Give a summary for each file on why you are making these changes:
Constants: Add non-repeating values for generator inputs.
Generator: Refactor duplicated inputs.
Did you test these changes?
Yes, these changes were tested.
Do these changes impact the application negatively in any way?
These changes should upgrade the developer experience.

Sorry. I'm in the process of rewriting the view. I have moved the Generator parameters to its own file.
I would appreciate it if you could pull the new changes and make a new PR.

Sure thing 😉


Error Setting LookupScript Expiration = -1

Hi,
I'm working on creating a custom LookupScript by extending RowLookupScript, and I ran into a situation that requires the cache to be disabled. I browsed through other issues and noticed the two most common suggestions:

Set the Expiration attribute to -1
[LookupScript(Expiration = -1)]
Set the Expiration DynamicScript property within constructor
public LookupType() { Expiration = System.TimeSpan.FromDays(-1); }

Unfortunately, I wasn't able to get these to work; they cause the LookupScript to fail to load. Setting the value to Zero applies an indefinite cache.
So I've set my Expiration = 1 (second), and that's okay but still runs the risk of cross-fire. Do you guys have any suggestions for improvement or why -1 isn't working?

The decorator [LookupScript(Expiration = -1)] works ok, if not you have something wrong in your code.
To make it work just do a Reload Lookup before your query.

Thanks for your help, @brunobola. I'm debugging in VS using app insights and it looks like the error is occurring at the moment the cache is set. Here's the summary:
Exception "System.ArgumentOutOfRangeException"
@ MemoryLocalCache.Add
An unhandled exception has occurred: The relative expiration value must be positive.
Parameter name: AbsoluteExpirationRelativeToNow
Actual value was -00:00:01.

And here's the verbose:
"data": {
    "baseType": "ExceptionData",
    "baseData": {
      "ver": 2,
      "properties": {
        "CategoryName": "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware",
        "DeveloperMode": "true",
        "Exception": "System.ArgumentOutOfRangeException: The relative expiration value must be positive.\r\nParameter name: AbsoluteExpirationRelativeToNow\r\nActual value was -00:00:01.\r\n   at Microsoft.Extensions.Caching.Memory.CacheEntry.set_AbsoluteExpirationRelativeToNow(Nullable`1 value)\r\n   at Microsoft.Extensions.Caching.Memory.CacheExtensions.Set[TItem](IMemoryCache cache, Object key, TItem value, TimeSpan absoluteExpirationRelativeToNow)\r\n   at Serenity.Caching.MemoryLocalCache.Add(String key, Object value, TimeSpan expiration)\r\n   at Serenity.TwoLevelCache.GetInternal[TItem,TSerialized](String cacheKey, TimeSpan localExpiration, TimeSpan remoteExpiration, String groupKey, Func`1 loader, Func`2 serialize, Func`2 deserialize)\r\n   at Serenity.Web.DynamicScriptManager.Item.GenerateContent()\r\n   at Serenity.Web.DynamicScriptManager.GetScript(String name)\r\n   at Serenity.Web.Middleware.DynamicScriptMiddleware.<ReturnScript>d__4.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>d__6.MoveNext()",
        "AspNetCoreEnvironment": "Production",
        "{OriginalFormat}": "An unhandled exception has occurred: The relative expiration value must be positive.\r\nParameter name: AbsoluteExpirationRelativeToNow\r\nActual value was -00:00:01."
      },
      "exceptions": [
        {
          "id": 5453341,
          "typeName": "System.ArgumentOutOfRangeException",
          "message": "An unhandled exception has occurred: The relative expiration value must be positive.\r\nParameter name: AbsoluteExpirationRelativeToNow\r\nActual value was -00:00:01.",
          "hasFullStack": true,
          "parsedStack": [
            {
              "level": 0,
              "method": "Microsoft.Extensions.Caching.Memory.CacheEntry.set_AbsoluteExpirationRelativeToNow",
              "assembly": "Microsoft.Extensions.Caching.Memory, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60"
            },
            {
              "level": 1,
              "method": "Microsoft.Extensions.Caching.Memory.CacheExtensions.Set",
              "assembly": "Microsoft.Extensions.Caching.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60"
            },
            {
              "level": 2,
              "method": "Serenity.Caching.MemoryLocalCache.Add",
              "assembly": "Serenity.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null"
            },
            {
              "level": 3,
              "method": "Serenity.TwoLevelCache.GetInternal",
              "assembly": "Serenity.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null"
            },
            {
              "level": 4,
              "method": "Serenity.Web.DynamicScriptManager+Item.GenerateContent",
              "assembly": "Serenity.Web, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null"
            },
            {
              "level": 5,
              "method": "Serenity.Web.DynamicScriptManager.GetScript",
              "assembly": "Serenity.Web, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null"
            },
            {
              "level": 6,
              "method": "Serenity.Web.Middleware.DynamicScriptMiddleware+<ReturnScript>d__4.MoveNext",
              "assembly": "Serenity.Web, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null"
            },
            {
              "level": 7,
              "method": "System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw",
              "assembly": "System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
            },
            {
              "level": 8,
              "method": "System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification",
              "assembly": "System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
            },
            {
              "level": 9,
              "method": "Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__6.MoveNext",
              "assembly": "Microsoft.AspNetCore.Authentication, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60"
            },
            {
              "level": 10,
              "method": "System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw",
              "assembly": "System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
            },
            {
              "level": 11,
              "method": "System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification",
              "assembly": "System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
            },
            {
              "level": 12,
              "method": "Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware+<Invoke>d__6.MoveNext",
              "assembly": "Microsoft.AspNetCore.Diagnostics, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60"
            }
          ]
        }
      ],
      "severityLevel": "Error"
    }
  }

Thoughts, @volkanceylan?

MemoryCache used in .NET Core raises an exception if duration < 0, this is not the case with ASP.NET cache.  Fixed by adding a check for next version, meanwhile you can use a very small timespan value, e.g. TimeSpan.FromTicks(1)

Thanks!


Validate address.

This PR is used to validate the address passed into fed.init(), leading it following one of the rules:

local for starting a new cluster, or localhost for connecting a local cluster.
'ip:port' format, where the IP needs to follow the IP address specifications and the port is a number.
'hostname:port' format, where the hostname is a string and the port is a number.
An HTTPS or HTTP link starting with 'https://' or 'http://'.

LGTM.
The validation of RecvProxy address will be next pr?

LGTM.
The validation of RecvProxy address will be next pr?

@zhouaihui I missed that. Just committed it right now.


Fixed tests for EmbraceNetworkLoggingService

Goal
Added unit tests for EmbraceNetworkLoggingService
Many of the existing tests will be moved to the DomainCountLimiter tests in a following PR

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#755  👈
#749
#748
#747
#746
#745
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @priettt and the rest of your teammates on  Graphite

Merge activity

Apr 18, 7:50 PM EDT: @bidetofevil started a stack merge that includes this pull request via Graphite.


bytes-of.js:69-77: Fix bytes converting for integers....

The puzzle 3-ff9a15e3 from #3 has to be resolved:
https://github.com/objectionary/eo2js/blob/421f31ecae8a569d228207f8794e5b4a26730ca5/eo2js-runtime/src/runtime/bytes-of.js#L69-L77
The puzzle was created by maxonfjvipon on 24-May-24.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 3-ff9a15e3 has disappeared from the source code, that's why I closed this issue.


Python 2.5 compatibility

Fabric supports Python 2.5, so we should too.
At least, we need to add some from __future__ import with_statement statements where we use with.
Is anything else needed?

There's the delete parameter of objects of the tempfile module: http://docs.python.org/library/tempfile.html
I think there's no real solution except using the mkstemp method directly.

I've added from __future__ import with_statement where needed, and switched to mkstemp for temporary files.
I also had the tests working on Python 2.5 and 2.6, using the unittest2 test runner.


/sbin/start rpcbind returned 1, expected 0

This probably has to do with the fact that I'm running this on Ubuntu Lucid (10.04). I tried playing around with the service resource init_command but no love there. Any advice here would be much appreciated. Thanks!
nfs cookbook version 2.0.0
Chef: 11.14.2
Ubuntu 10.04
https://gist.github.com/luntzel/4e9dcb0b2137266806ce

Honestly the provider mapping in Chef is getting an overhaul, so I don't know if the cookbook is broken or its an ephemeral bug in Chef 12.  The provider mapping search is an ugly hack that might be able to go away in this cookbook after Chef 12.1.  Its probably the problem in this case, and you could override the service_provider attributes with the appropriate provider here.
The more information about the services you can provide, the better it will help me to assist.


[feat] Implement OP_NUMNOTEQUAL opcode

Implement the OP_NUMNOTEQUAL opcode using the opcodeNumNotEqual reference implementation from btcd
References
Guide on how to add an opcode in shinigami

@Gift-Naomi, It seems @harsh-ps-2003 might have already created the PR for this. But I will put you on my shortlist for new issues. Sorry

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I used to work at Microsoft and parity and love bitcoin and cairo


does aedis can  be deploy distributed?

1、aedes can  be deploy many instances by pm2 in one pc?
2、aedes can  be deploy on many pc distributed?
3、is needed bridges if deploy on many pc?

aedes has currently no support for node cluster module, you will need to rely on the setup for 2.
yes, here is an example with redis: https://gist.github.com/mcollina/a37f135136192d9c58a4
no

I can open the link you give above,because I,m not in  US,the dist is blocked in our Country，could you give me a another link，thanks ！

dear：
I want use your project aedes in my work，because one machine can not meet the need（many clients），so I want use the method in the picture bottom，
1、I use redis as you tell me https://gist.github.com/mcollina/a37f135136192d9c58a4
2、I use ngix to do the tcp proxy
3、I use three machin to run aedes
4、on every machin，I use pm2 to run 4 instance of aedes
5、in sum，there are 12 aedes instance in the system。
I don,t know this method is can be ok ?could you give me some advice?thaks very much!
2016-05-04
hzlixiutang
发件人：Matteo Collina<EMAIL_ADDRESS>发送时间：2016-05-03 14:26
主题：Re: [mcollina/aedes] does aedis can be deploy distributed? (#46)
<EMAIL_ADDRESS>抄送："tianyayouxiaer"hzlixiutang<EMAIL_ADDRESS>aedes has currently no support for node cluster module, you will need to rely on the setup for 2.
yes, here is an example with redis: https://gist.github.com/mcollina/a37f135136192d9c58a4
no
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

use Haproxy instead of Nginx. You will need a Redis instance also.

@mcollina Any specific reason to advice Haproxy over Nginx? Also considering in mind if one wants to setup SSL too, which would be better? Thanks!

HAProxy is a TCP load balancer that can be HTTP-aware. NGINX is a web server that can load balance TCP. HAProxy is easier to configure for MQTT.

@mcollina

aedes has currently no support for node cluster module, you will need to rely on the setup for 2.

Does it mean that you can only run one aedes instance on single machine?

yes, here is an example with redis: https://gist.github.com/mcollina/a37f135136192d9c58a4

So the idea is to have one redis server on main machine and one aedes instance per machine which all use that main redis server?

@cordovapolymer  yes.
I think you can also have different Aedes process' on different ports on the same server and then link them to your LB, depending the type of traffic you get

It is currently possible to share a mqemitter with multiple processes with:
https://www.npmjs.com/package/mqemitter-child-process (yes, it works with cluster).
However the same capabilities were not developed for persistence (yet!).


User update removes all user roles (removeUserRole A bug has occurred to remove all user-roles)

I am trying to update my user role information. There is no problem adding a new user role. Once a role is deleted, all user-roles will be deleted.
My solution:
`
package grails.plugin.springsecurity.ui.SpringSecurityUiService  445
@Transactional
Number removeUserRole(def u, def r) {
            if (u != null && r != null) {
	      UserRole.where { user == u && role == r }.deleteAll() as int
            }
}

`

Hi @yuan574954352 and thank-you for submitting this issue!
Would you be so kind as to link to or attach a sample app as well as include the steps one must follow in order to reproduce the issue?
Thanks!

Closing.  Unable to reproduce.
This may be related to https://github.com/grails-plugins/grails-spring-security-ui/issues/89 which was previously resolved.
The reported issue does not specify the version of the plugin being utilized.

Hi @ddelponte - I seem to be seeing this bug in Grails 4.0.2, I've created an example project with steps to reproduce:
https://gitlab.com/sk8geek/grails-ssui-bug
Cheers
Steven

@sk8geek, I am also seeing this bug; I'm using Grails 4.0.11, with S2UI 4.0.0.M1, Hibernate5 7.1.0.M5, and Postgres 12.7.  I ran every option in s2ui_override to allow customizing the plugin's defaults, though I haven't yet changed any of the /user views or controller.
The bug appears when logged in as an admin user, then editing any other user, unchecking any Role checkbox(es), and clicking Update; all UserRoles are deleted from the database.
@ddelponte, would it make sense to reopen this, since Steven and I are both experiencing it (and he's provided a sample app)?
I stumbled across a workaround while troubleshooting; though it's unlikely be helpful in resolving the bug, as I cannot (yet?) explain why it works, perhaps it will help others running into this bug:
I extended grails.plugin.springsecurity.ui.SpringSecurityUiService, then pasted a copy of the removeUserRole() method from the base class, intending to try adding the null check & typecast suggested by @DenisYin66.  However, to my surprise, the copied method worked properly, deleting only the specified UserRoles instead of all of them.
Here's the code involved:
Create src/main/groovy/testTestSpringSecurityUiService.groovy, copy/pasting the removeUserRole() method from SpringSecurityUiService (unchanged except for adding @Override):
package test

import grails.gorm.transactions.Transactional
import grails.plugin.springsecurity.ui.SpringSecurityUiService

class TestSpringSecurityUiService extends SpringSecurityUiService{

	@Override
	@Transactional
	Number removeUserRole(def u, def r) {
		UserRole.where { user == u && role == r }.deleteAll()
	}

}

Add the bean override to grails-app/conf/spring/resources.groovy:
    springSecurityUiService(TestSpringSecurityUiService) {
        uiErrorsStrategy = ref('uiErrorsStrategy')
        uiMailStrategy = ref('uiMailStrategy')
        uiPropertiesStrategy = ref('uiPropertiesStrategy')
        grailsApplication = ref('grailsApplication')
        messageSource = ref('messageSource')
        springSecurityService = ref('springSecurityService')
        userCache = ref('userCache')
    }

I had to specify these dependencies because auto-wiring didn't work, causing NPEs -- based on a suggestion from Burt Beckwith [https://stackoverflow.com/a/7135267](for a similar problem).
Commenting-out the copied method causes the bug to occur as before, deleting all UserRoles instead of just the specified one(s), though I can't see why.  @sk8geek, if you have time to try this, it'd be great to have confirmation and/or ideas as to what's going on.

You should use GORM Hibernate5 7.1.0-M5 with Grails 5.

My mistake, @puneetbehl -- it's the Hibernate plugin whose version is Hibernate5 7.1.0-M5; the actual Hibernate version is 5.4.18.Final (updated in my comment above).

There is a similar issue raised for the Spring Security Core plugin, in case that helps anyone else track down the source.


'buffer_id(235) is not valid (closed or unsupported file format)'

Error: 404 Not Found
Sorry, the requested URL 'http://<IP_ADDRESS>:51004/view/235' caused an error:
'buffer_id(235) is not valid (closed or unsupported file format)'
NOTE: If you run multiple instances of Sublime Text, you may want to adjust
the server_port option in order to get this plugin work again.
OmniMarkupPreviewer: [INFO] Launching web browser for http://<IP_ADDRESS>:51004/view/235
OmniMarkupPreviewer: [ERROR] Exception occured while rendering using MarkdownRenderer
Traceback (most recent call last):
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/OmniMarkupPreviewer/OmniMarkupLib/RendererManager.py", line 266, in render_text
rendered_text = renderer.render(text, filename=filename)
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/OmniMarkupPreviewer/OmniMarkupLib/Renderers/MarkdownRenderer.py", line 48, in render
extensions=self.extensions)
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/python-markdown/st3/markdown/init.py", line 493, in markdown
md = Markdown(*args, **kwargs)
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/python-markdown/st3/markdown/init.py", line 159, in init
configs=kwargs.get('extension_configs', {}))
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/python-markdown/st3/markdown/init.py", line 185, in registerExtensions
ext = self.build_extension(ext, configs.get(ext, {}))
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/python-markdown/st3/markdown/init.py", line 291, in build_extension
return module.makeExtension(**configs)
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/OmniMarkupPreviewer/OmniMarkupLib/Renderers/libs/mdx_superscript.py", line 43, in makeExtension
return SuperscriptExtension(configs=configs)
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/python-markdown/st3/markdown/extensions/init.py", line 51, in init
self.setConfigs(kwargs)
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/python-markdown/st3/markdown/extensions/init.py", line 82, in setConfigs
self.setConfig(key, value)
File "/Users/Travel/Library/Application Support/Sublime Text 3/Packages/python-markdown/st3/markdown/extensions/init.py", line 70, in setConfig
if isinstance(self.config[key][0], bool):
KeyError: 'configs'

I'm getting the exact same error when trying to preview a markdown file, and to add, the RST renders completely fine.
I'm using Sublime Text 3 (build 3143) on MacOS High Sierra 10.13.3 (17D102) and latest OmniMarkupPreviewer from package control

Just noticed this seems like an issue with the strikeout extension and a fix was suggested in ticket #85 , in this comment.
This can probably be closed as duplicate...


Fix camera race condition for no-op flight.

If you call camera.flyTo with the current camera location/orientation, it becomes a no-op, but the camera._currentFlight Tween was still being set but never actually started. The end result is a zombie flight that never took place but caused camera.hasCurrentFlight to return true when it should return false.
Also cleaned up some superflous code since this._scene.preloadFlightCamera is always defined.
Here's a Sandcastle that shows the bug: https://sandcastle.cesium.com/index.html#c=5ZNBT+MwEIX/ipVLXSk4bdmClg3ViqA9sUICxCmXwZk2Fo5djSdFXcR/x2lSAUVIe2dO8cx7b+xPygZIbAw+IYlz4fBJFBhM26j7XU+O9O5YeMdgHNJo/Kt0pesdSkODBGppt3dePpdOdFVhYOOAjXfibB9XAHH8AnesluSbS1wRYpBH09lMTX+m4seJms1TMZ9MJmoyTocoTwbj4iFqv6CrGqEybvW24C9wrdjfxDa4IKen83c5Xa0N6/pL/dHxoZ68tVEerzM0X/bTqqXdleKwdC89kFtwlYbAFhVU1Z339gHoomX2To4in1Eqlq3TnU2On78twoHX/0AratSPh9i6ELBILD/iqyEULVF86R9rVjXL8bAmSZM88Nbiojf/Ns3aE4uWrFQqY2zWFiLW7KHVj8hKh9A582xvyiuzEaY6L5ODP6FMhLYQQpwsW2tvzT8sk0WeRf0Hm/U7zNcbJAvbTlJPF1d9UymVZ/H42cU9jHeJrw
Hit fly as soon as the scene loads (without moving the camera) and then check will return true even though no flight is taking place, even after you move the mouse.

Thanks for the pull request @mramato!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

After talking to @loshjawrence, this function is not what I think it is, so I renamed it to avoid confusion.  It's also private.  There was still a real bug here but it involved camera internals only (which is still fixed).

@loshjawrence can you review?

No comments on the code. Sandcastle looked fine with the updated function name. Did an additional sanity check some flight preloading. My local jasmine and cli tests ran fine. I can merge when ci passes.

Thanks @loshjawrence! CI passed.


CLI Not working per instructions.

https://github.com/domaindrivendev/Swashbuckle.AspNetCore#swashbuckleaspnetcorecli
I don't know if it's me but the CLI never works.
I can install it.
dotnet tool install swashbuckle.aspnetcore.cli --version 5.0.0-rc3
But running - help returns:
dotnet tool run swagger tofile --help
Usage: dotnet tool [options] [command]
Options:
-h, --help   Show command line help.
Commands:
install <PACKAGE_ID>     Install a tool for use on the command line.
uninstall <PACKAGE_ID>   Uninstall a tool from the current development environment.
update <PACKAGE_ID>      Update a tool to the latest stable version.
list                     List tools installed in the current development environment.
Also get similar error running the "run" portion, never recognised the command.

Thanks for pointing this out … it seems the docs are incorrect. Once you've installed the tool, you should be able to invoke it as follows (NOTE: the omission of tool run) :
dotnet swagger tofile --help

I updated the docs here

That returns something odd.
dotnet swagger tofile --help
dotnet : No executable found matching command "dotnet-swagger"

That doesn’t repro for me. Have you installed as a global Net tool?

Yes, listing the installed packages shows 5.0.0-rc3 installed.
dotnet tool list -g
Package Id                      Version        Commands
swashbuckle.aspnetcore.cli      5.0.0-rc3      swagger

Not sure - as I can’t repro there’s not much else I can do to help. You’ll have to dig deeper yourself

Can I ask what version of dotnet you're using? I tried on 2.2.4 and 3.0.

C:\Users\Richie\src\NetCore3\NetCore3> dotnet --version
3.0.100

C:\Users\Richie\src\NetCore3\NetCore3> dotnet new tool-manifest
The template "Dotnet local tool manifest file" was created successfully.

C:\Users\Richie\src\NetCore3\NetCore3> dotnet tool install swashbuckle.aspnetcore.cli --version 5.0.0-rc3
You can invoke the tool from this directory using the following commands: 'dotnet tool run swagger' or 'dotnet swagger'.
Tool 'swashbuckle.aspnetcore.cli' (version '5.0.0-rc3') was successfully installed. Entry is added to the manifest file C:\Users\Richie\src\NetCore3\NetCore3\.config\dotnet-tools.json.

C:\Users\Richie\src\NetCore3\NetCore3> dotnet swagger tofile --help
Usage: dotnet swagger tofile [options] [startupassembly] [swaggerdoc]

startupassembly:
  relative path to the application's startup assembly

swaggerdoc:
  name of the swagger doc you want to retrieve, as configured in your startup class

options:
  --output:  relative path where the Swagger will be output, defaults to stdout
  --host:  a specific host to include in the Swagger output
  --basepath:  a specific basePath to inlcude in the Swagger output
  --serializeasv2:  output Swagger in the V2 format rather than V3

C:\Users\Richie\src\NetCore3\NetCore3> dotnet swagger tofile .\bin\Debug\netcoreapp3.0\NetCore3.dll v1
{
  "openapi": "3.0.1",
  "info": {
    "title": "Test API",
    "version": "v1"
  },
  …

I have followed the same but still I am not seeing the output instead an error any idea?

Okay, so let me tell explain what is happening here. The above error I got because I was using .NET core 2.2 and downgrading to 2.1 worked for me.
And the one @nezoic raised it is indeed the issue, installing the tool not setting up the path of swagger so you need to do it explicitly though it claims it adding but its not and instead of dotnet-swagger use swagger.
Hope it helps.

Closing in favor of #1699, which captures all of the outstanding compatibility issues. That issue is being addressed as a top priority


BUG: Light mode does not invert text color to white when

Hello,
When using light mode, the text color of the task's text does not change to be readible, or rather it gets changed to a potentially unreadable color.
The images display the same task, only that the second time I am actively hovering over the task's "block" within the dayplanner-pane.

I hope this can be resolved.
Sincerely,
~Gw

Please update the plugin and re-check.


Create a table or a simple page and publish as gh-pages

I never tried to overwrite the same notebook, need to test it first. The rest looks good. BTW, are you saving some results and publishing? What is the format? You can probably create a table or a simple page and publish as gh-pages to keep the notebook untouched.
Originally posted by @ocefpaf in https://github.com/MathewBiddle/ioos_by_the_numbers/issues/2#issuecomment-1181041633
I think this would be a great idea. Might want to move this over to the IOOS org and rename the repo ioos_metrics or something along those lines.

@ocefpaf I started tinkering with this over the last few days. Right now, I've got a process[1] that converts the csv files in gts[2] and writes them as html tables to deploy/ [3]. I did not commit the html tables because I'd like to have those added via GHA when we deploy the site, similar to [4].
I'm a little stuck at the moment as I'm not sure where to put those tables on a website.
[1] - https://github.com/MathewBiddle/ioos_by_the_numbers/blob/website_dev/website/create_catalog_landing_page.py
[2] - https://github.com/MathewBiddle/ioos_by_the_numbers/tree/website_dev/gts
[3] - https://github.com/MathewBiddle/ioos_by_the_numbers/tree/website_dev/website/deploy
[4] - https://github.com/MathewBiddle/CEFI-info-hub-list/blob/main/.github/workflows/website_create_and_deploy.yml

created a test website for regional gts metrics:
https://mathewbiddle.github.io/ioos_by_the_numbers/gts_regional.html
Website generated from https://github.com/MathewBiddle/ioos_by_the_numbers/blob/main/website/create_gts_regional_landing_page.py

added atn GTS metrics page: https://mathewbiddle.github.io/ioos_by_the_numbers/gts_atn.html

started playing around with embedding a plotly plot into the webpage:
https://mathewbiddle.github.io/ioos_by_the_numbers/gts_atn.html

Looks great BTW.

@ocefpaf I made a similar chart for the GTS Regional metrics https://mathewbiddle.github.io/ioos_by_the_numbers/gts_regional.html

@ocefpaf @mwengren - should we move this repository to the IOOS org, and rename it ioos_metrics ?

+1

Sure, moving it over to IOOS org makes sense.  Looks good!
Once it's finalized, should we link to it from IOOS.us or ioos.github.io.  Not sure where it should go in the latter - we still have to make some updates to the menu bar and landing page at ioos.github.io per: https://github.com/ioos/documentation-theme-jekyll/issues/10#issue-1603274792 when there's time.
BTW, we were discussing during a meeting about Condastats and the IOOS packages (ioos_qc, compliance-checker, etc).  I don't know if it's worthy of adding as an official IOOS 'by the numbers' metric, but this is my notebook from ~3 years ago when I was experimenting with the plotting the condastats output.  Part of it is just some Pandas experimentations I did to understand Pandas and try to reformat the data for plotting, but getting output from the package for some of the IOOS packages was straightforward.  Not sure what the data looks like after 2020.   I'd be curious to see if ioos_qc had any uptick though.

Moved https://github.com/ioos/ioos_metrics
Updating website now.

Website has been moved as well. https://ioos.github.io/ioos_metrics/index.html
@mwengren I created a new issue for condastats. Great idea!
Closing.


Doesn't work on communities in a flow

@egyptguy Did you get notified of this issue

@egyptguy Did you get notified of this issue

Hello @BetzalelC @boutiqueorchard - thanks for reaching out and your patience.  For context, this is a Salesforce Labs component, so it is a volunteer-led open source project and not supported under your services agreement.
The component is meant to be used in both LEX and communities, and I've been able to use the sample flow in both UIs (see a community example here).
No doubt it's not showing for you.  Is there anything you can tell me about your attempt, or about your specific environment - that might help?  Some questions I came up with to start:

Have you tried fully clearing your browser cache?  Caching is one of the most common issues I come across when developing or working with new components.
Are your users having issues seeing the whole flow or just the embedded component?
Are you unable to see all versions of the progress indicator, or only a specific one?
What happens when you add another custom component to the flow - is it visible?
Is the component behaving as expected when used in a flow on an internal Lightning page (not community)?
Do your users have issues seeing any other Aura components?  This is a very simple one - there's no Apex controller or object access required, so a reason for issues with this one don't immediately come to mind.
What users can't see the component - is it limited to a community profile?  Can a system administrator see the component in the community?  Can other internal users see it in the community?  Are you attempting to view from the guest user profile?
Do the users have the "Run Flows" permission enabled in their profiles?
Did you install the managed (AppExchange) or unmanaged version?

@egyptguy No worries at all, just noticed on another issue that you mentioned you didn't get notified, hence I asked you, really appreciate the component and any time you taking to help me solve it!
See inline answers
Have you tried fully clearing your browser cache? Caching is one of the most common issues I come across when developing or working with new components.
Yes and tried from a different browser as well
Are your users having issues seeing the whole flow or just the embedded component?
Just this component
Are you unable to see all versions of the progress indicator, or only a specific one?
All
What happens when you add another custom component to the flow - is it visible?
Other LWC's in the same flow are working fine
Is the component behaving as expected when used in a flow on an internal Lightning page (not community)?
yes
Do your users have issues seeing any other Aura components? This is a very simple one - there's no Apex controller or object access required, so a reason for issues with this one don't immediately come to mind.
Other aura components workd
What users can't see the component - is it limited to a community profile? Can a system administrator see the component in the community? Can other internal users see it in the community? Are you attempting to view from the guest user profile?
System admin can't see it in the community either
Do the users have the "Run Flows" permission enabled in their profiles?
yes
Did you install the managed (AppExchange) or unmanaged version?
Managed

Issue resolved by using a different site template

@egyptguy The issue has been fixed?

@RebbePod I have been unable to replicate the issue and was closing an inactive issue.  Skimming now, do you recall which template caused vs. solved the problem?  I'm conducting final testing now for an LWC version of the component.

@egyptguy I believe it was using the Customer Account Portal


[improve][monitor] Add JVM start time metric

Motivation
Add jvm_start_time to help user get this metric even more accessible than though mbeans
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report

Merging #20381 (b3477dd) into master (548fd22) will increase coverage by 36.05%.
The diff coverage is 83.33%.

@@              Coverage Diff              @@
##             master   #20381       +/-   ##
=============================================
+ Coverage     36.89%   72.94%   +36.05%
- Complexity    12053    31891    +19838
=============================================
  Files          1687     1864      +177
  Lines        128826   138389     +9563
  Branches      14013    15184     +1171
=============================================
+ Hits          47528   100946    +53418
+ Misses        75040    29440    -45600
- Partials       6258     8003     +1745

Flag
Coverage Δ

inttests
24.16% <25.00%> (-0.02%)
:arrow_down:

systests
25.00% <41.66%> (-0.18%)
:arrow_down:

unittests
72.22% <83.33%> (+40.26%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...org/apache/pulsar/common/util/SecurityUtility.java
81.61% <33.33%> (+20.98%)
:arrow_up:

...g/apache/pulsar/broker/admin/impl/BrokersBase.java
70.45% <100.00%> (+33.18%)
:arrow_up:

...rg/apache/pulsar/broker/service/BrokerService.java
80.85% <100.00%> (+24.84%)
:arrow_up:

...ava/org/apache/pulsar/common/stats/JvmMetrics.java
77.02% <100.00%> (+0.63%)
:arrow_up:

... and 1430 files with indirect coverage changes


bugfix: version string parsing support for beta versions

and tolerance for devel versions
fixes issue #179

Merged.

$ dlv run main.go
could not launch process: Could not parse version number: go1.5rc1


helm upgrade fail in multi-az kubecf

Describe the bug
When try to upgrade kubecf from v2.6.1 to v2.7.1, with multi-az enabled, the upgrade failed.
$ k get pod -n kubecf
NAME                                     READY   STATUS      RESTARTS   AGE
api-z0-0                                 17/17   Running     1          30d
api-z1-0                                 17/17   Running     93         30d
auctioneer-0                             6/6     Running     70         30d
bosh-dns-55f949b56d-6vbbq                1/1     Running     0          4d17h
bosh-dns-55f949b56d-tgg5w                1/1     Running     0          4d17h
cc-worker-z0-0                           6/6     Running     0          30d
cc-worker-z1-0                           6/6     Running     48         30d
cf-apps-dns-dcb9687ff-g6k2x              1/1     Running     0          30d
coredns-quarks-6db68476bd-ks6cj          1/1     Running     0          36m
coredns-quarks-6db68476bd-pz5dn          1/1     Running     0          36m
database-0                               2/2     Running     0          30d
database-seeder-7a19efc54ebbb714-pqtbg   0/2     Completed   0          30d
database-seeder-d49344d80353dd73-gmljj   0/2     Completed   0          30d
diego-api-z0-0                           9/9     Running     3          21d
diego-api-z1-0                           9/9     Running     8          21d
diego-cell-z0-0                          12/12   Running     2          30d
diego-cell-z1-0                          12/12   Running     2          30d
doppler-z0-0                             6/6     Running     0          30d
doppler-z1-0                             6/6     Running     0          30d
kubecf-pre-upgrade-hook-2t2f4            0/1     Error       0          21m
kubecf-pre-upgrade-hook-56b6h            0/1     Error       0          19m
kubecf-pre-upgrade-hook-7qht2            0/1     Error       0          22m
kubecf-pre-upgrade-hook-7rq7q            0/1     Error       0          16m
kubecf-pre-upgrade-hook-grgx8            0/1     Error       0          22m
kubecf-pre-upgrade-hook-nxxlz            0/1     Error       0          20m
kubecf-pre-upgrade-hook-xpsjz            0/1     Error       0          21m
log-api-z0-0                             9/9     Running     6          30d
log-api-z1-0                             9/9     Running     6          30d
log-cache-0                              10/10   Running     210        30d
nats-z0-0                                7/7     Running     0          30d
nats-z1-0                                7/7     Running     0          30d
router-z0-0                              7/7     Running     0          30d
router-z1-0                              7/7     Running     0          30d
scheduler-z0-0                           12/13   Running     197        30d
scheduler-z1-0                           12/13   Running     210        30d
singleton-blobstore-z0-0                 8/8     Running     0          30d
uaa-z0-0                                 8/8     Running     0          30d
uaa-z1-0                                 8/8     Running     0          30d

$ k logs kubecf-pre-upgrade-hook-2t2f4 -n kubecf
+ shopt -s nullglob
+ for f in /hooks/*.sh
+ bash /hooks/remove-deployment-updater-readiness.sh
+ patch='
---
spec:
  template:
    spec:
      containers:
      - name: cc-deployment-updater-cc-deployment-updater
        readinessProbe: ~
'
+ kubectl patch statefulset --namespace kubecf scheduler --patch '
---
spec:
  template:
    spec:
      containers:
      - name: cc-deployment-updater-cc-deployment-updater
        readinessProbe: ~
'
Error from server (NotFound): statefulsets.apps "scheduler" not found
+ exit 1

$ k get statefulset -n kubecf
NAME                     READY   AGE
api-z0                   1/1     31d
api-z1                   1/1     31d
auctioneer               1/1     31d
cc-worker-z0             1/1     31d
cc-worker-z1             1/1     31d
database                 1/1     31d
diego-api-z0             1/1     31d
diego-api-z1             1/1     31d
diego-cell-z0            1/1     31d
diego-cell-z1            1/1     31d
doppler-z0               1/1     31d
doppler-z1               1/1     31d
log-api-z0               1/1     31d
log-api-z1               1/1     31d
log-cache                1/1     31d
nats-z0                  1/1     31d
nats-z1                  1/1     31d
router-z0                1/1     31d
router-z1                1/1     31d
scheduler-z0             0/1     31d
scheduler-z1             0/1     31d
singleton-blobstore-z0   1/1     31d
uaa-z0                   1/1     31d
uaa-z1                   1/1     31d

There is no statefulset named scheduler in multi-az kubecf.
To Reproduce
run helm upgrade to v2.7.1 with multi-az.
Expected behavior
helm upgrade successfully.
Environment

CF Version:  from kubecf v2.6.1 with multi-az to v2.7.1
Component/Plugin Name
Others

Additional context
Add any other context about the problem here.

https://github.com/cloudfoundry-incubator/kubecf/blob/8e6f60285e9ef3f065e604a82ba9914130805ba1/chart/hooks/pre-upgrade/remove-deployment-updater-readiness.sh#L22
This is hard code to statefulset 'scheduler'

after update the script to list and find all the scheduler statefulset, meet another error
$ k logs kubecf-pre-upgrade-hook-6qm5j -n kubecf
+ shopt -s nullglob
+ for f in /hooks/*.sh
+ bash /hooks/remove-deployment-updater-readiness.sh
+ patch='
---
spec:
  template:
    spec:
      containers:
      - name: cc-deployment-updater-cc-deployment-updater
        readinessProbe: ~
'
++ cut -d ' ' -f 1
++ grep scheduler
++ kubectl get statefulsets --namespace kubecf
Error from server (Forbidden): statefulsets.apps is forbidden: User "system:serviceaccount:kubecf:pre-upgrade-helm-hook" cannot list resource "statefulsets" in API group "apps" in the namespace "kubecf"
+ scheduler_list=
+ exit 1

need to add account with list access of app statefulsets.


Missing Docs: Entity Shaders

To be clear, this one was closed without any action being taken. Indigo's docs are not about how to write shaders, and between the information already present and the how to guides, I believe there's enough to get you started. I hope.


Web socket

sdfs

9eecc2b

9eecc2b

00ba072 Worked on it and made most of our bi directional features run over websocket but feature is currently placed on ice again.


Not possible to trace deleted features by the "FeatureRemoved" Event

IF BUG, INCLUDE THIS PART:
Steps to reproduce

Create an instance of a FeatureSet ralated to a FeatureLayer already added to a map
Create a method to capture FeatureRemoved Event and display the Fid of the Feature
Select some features on the the layer and delete them

DotSpatial version: 2.0
Expected behaviour
    Displaying the Fid of the deleted features

Tell us what should happen
Actual behaviour
    An exception occurs telling that the instance of the features doesn't exist

Tell us what happens instead
Can you also include a screen shot?
IF IT IS A NEW FEATURE REQUEST, INCLUDE THIS PART:
Feature description
    Reading the source code of the EventHandler, i notice that the feature is deleted before issuing the Event. Is it possible to invert the process ?

Write a description of the feature. How should it work? How should it look?
Include some graphics if this could help!

It's not like your suggestion is wrong, but there is a specific logic for that, as far as I understand. The FeatureRemoved event is raised when a feature has been removed, meaning (literally) you cannot "undo" the process while at it (as would be possible if using a FeatureRemoving event with suitable EventArgs to cancel).
This, however, is irrelevant. The problem with your request is that if you would display the FID of the feature that was removed, you would be displaying an FID that is useless for any specific purpose thereafter, as it is now referring to a different feature. FID values make sense as long as a feature is within a FeatureSet, not for "stray" ones. When you remove a feature, another feature potentially (if the removed feature was not the last one) takes its FID value, so, whichever the FID value, it is invalidated as soon as you remove the feature, and you can not do anything meaningful with it thereafter.
In short, FID values and features go hand in hand only within the limits of a feature set. Upon removal, the previous FID of the feature makes no sense anymore to that specific feature. Besides, if you wish to display the FID of the feature, you can definitely do so prior to removal, as the removal action has to be initiated somewhere, and this is something you will have to handle in your code. As such, you can intercept your own code at the points of your "delegated (requested) removal" and display the FID there, if you need to, i.e. wrap the removal process in an event of your own.

So, is it possible to fire the event before deleting feature ?

As it is now, only if you change the source code of the core file (FeatureSet.cs) and rebuilding. However, this would be easier and cleaner to do in your own code. You obviously have some calls to FeatureSet.Remove somewhere, right? Whenever you call Remove, you can create a different function that you can call, for example, RemoveFeature(FeatureSet fs, IFeature f), which wraps the procedure and fires some custom event you have created, which you can then handle wherever you wish in your code.
It depends a lot on what you want to do and what you already have in terms of code in specific, of course, but it is practically doable without having to alter the DotSpatial codebase and recompile at all.


Add CustomSchema support to WPILog decoder

Is your feature request related to a problem? Please describe.
When you set the type of a RawLogEntry to a custom schema it will not display properly. This blocks https://github.com/Mechanical-Advantage/URCL/issues/5 as AdvantageScope cannot read the non NT version.
Describe the solution you'd like
Allow custom schemas to be decided from raw WPILog entries

Already exists lol


BLD: Install ipython<6 for Python2

I find the issue when installing pyfolio in an environment where ipython is not installed:
Collecting ipython>=3.2.3 (from pyfolio==0.7.0)
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/75/03/bb1ce0cf9f8a86f52b34090708e1806bc11e2d29b193e7d6fe0afe9a61e5/ipython-6.0.0.tar.gz (5.1MB)
    Complete output from command python setup.py egg_info:

    IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2.
    When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
    Beginning with IPython 6.0, Python 3.3 and above is required.

    See IPython `README.rst` file for more information:

        https://github.com/ipython/ipython/blob/master/README.rst

    Python sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0) detected.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-JYfhfE/ipython/

Thanks!


Support for version 4.1.1?

I've just upgraded to UniFi v4.1.1 and the API stopped working. I'm using the API to check the controller for disconnected AP. It worked perfectly with v3.x.
This is the error message I get when running the script:
Traceback (most recent call last):
  File "/usr/lib/nagios/plugins/check_unifi_ap.py", line 74, in <module>
    main(sys.argv[1:])
  File "/usr/lib/nagios/plugins/check_unifi_ap.py", line 43, in main
    for us in c.get_clients():
  File "/usr/local/lib/python2.7/dist-packages/unifi/controller.py", line 129, in get_clients
    return self._read(self.api_url + 'stat/sta')
  File "/usr/local/lib/python2.7/dist-packages/unifi/controller.py", line 75, in _read
    res = self.opener.open(url, params)
  File "/usr/lib/python2.7/urllib2.py", line 406, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 444, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 401: Unauthorized

And my script:
#!/usr/bin/python2.7

import sys, getopt

def main(argv):
   ctrlServ = ''
   ctrlUser = ''
   ctrlPass = ''
   ctrlVers = ''
   ctrlSite = ''
   ctrlExcp = ''

   try:
      opts, args = getopt.getopt(argv,"hH:u:p:v:s:x:")
   except getopt.GetoptError:
      print 'check_unifi_ap.py -H <servername or IP> -u <user> -p <password> -v <version> -s <site name> -x <ignore AP list>'
      sys.exit(3)
   for opt, arg in opts:
      if opt == '-h':
         print 'check_unifi_ap.py -H <servername or IP> -u <user> -p <password> -v <version> -s <site name> -x <ignore AP list>'
         sys.exit(3)
      elif opt in ("-H"):
         ctrlServ = arg
      elif opt in ("-u"):
         ctrlUser = arg
      elif opt in ("-p"):
         ctrlPass = arg
      elif opt in ("-v"):
         ctrlVers = arg
      elif opt in ("-s"):
         ctrlSite = arg
      elif opt in ("-x"):
         ctrlExcp = arg.split(",")

   uAP = True
   eStr = 'Offline:'
   nUsers = 0
   nGuests = 0

   from unifi.controller import Controller
   c = Controller(ctrlServ, ctrlUser, ctrlPass, ctrlVers, ctrlSite)

   for us in c.get_clients():
     if us['is_guest'] == True:
        nGuests += 1
     else:
        nUsers += 1

   for ap in c.get_aps():
     if ap['name'] in ctrlExcp:
        continue
     try:
        #print '%s is up: %s' % (ap['name'], ap['uplink']['up'])
        if ap['uplink']['up'] == False:
           uAP = False
           eStr += ' ' + ap['name']
     except (KeyError, IndexError):
         #print '%s is disconnected' % (ap['name'])
        uAP = False
        eStr += ' ' + ap['name']

   if uAP == True:
     str = 'OK - All AP is online'
     str = str + '. Connected Users: %s. Connected Guests: %s' % (nUsers, nGuests)
     print str
     sys.exit(0)
   else:
     str = 'CRITICAL - %s' % (eStr)
     str = str + '. Connected Users: %s. Connected Guests: %s' % (nUsers, nGuests)
     print str
     sys.exit(2)

if __name__ == "__main__":
   main(sys.argv[1:])

merge request #25 resolves this issue.


synchronization with Stellarium

Merry Christmas to everyone!
There are problems, there is no synchronization with Stellarium.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Stellarium tracked object url: QUrl("http://localhost:8090/api/objects/info?name=New Telescope 1&format=json")
Board version:  79
degPerStepAzi 0.0204545
degPerStepAlt 0.0170455
Did not find any connected gamepads
Port set to  "ttyS0"
Port set to  "ttyS0"
Fast decay: false
Stellarium tracked object url: QUrl("http://<IP_ADDRESS>:8090/api/objects/info?name=New Telescope 1&format=json")
Stellarium tracked object url: QUrl("http://<IP_ADDRESS>:8090/api/objects/info?name=New Telescope 1&format=json")
Driver id: 1
Using driver id: 1
error: XDG_RUNTIME_DIR is invalid or not set in the environment.

Hi,
Can you open the url in a web browser? http://<IP_ADDRESS>:8090/api/objects/info?name=New Telescope 1&format=json
You should see something like this:

I have Stellarium installed not on Raspberry, but on a computer, I indicate its host. I can't install it on raspberries. in the browser, nothing is visible. I'm not an expert on raspberries (((

It should still work. Open the browser on PI. If there is nothing, please check if Remote Control preferences are set as described in README, with "Access requires authentication" unchecked  https://raw.githubusercontent.com/kwahoo2/Mortar/master/.github/images/stellar-conf1.png

I don't have Stellarium installed on the Pi. It's on the computer whose host I point to in Mortar

It seems that Pi does not see the PC. Please try ping the PC from Pi:
ping <IP_ADDRESS>
and then check open ports (also typing on Pi):
nmap <IP_ADDRESS>

ping 56 (84) bytes of data
bash: nmap: command not found

apnet66@raspberrypi:~ $ nmap <IP_ADDRESS>
Starting Nmap 7.93 ( https://nmap.org ) at 2023-12-25 23:56
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.13 seconds

I removed the firewall and so on from the windows, looked at this (((
Starting Nmap 7.93 ( https://nmap.org ) at 2023-12-26 00:03 MSK
Nmap scan report for <IP_ADDRESS>
Host is up (0.00056s latency).
Not shown: 993 closed tcp ports (conn-refused)
PORT     STATE SERVICE
135/tcp  open  msrpc
139/tcp  open  netbios-ssn
445/tcp  open  microsoft-ds
5357/tcp open  wsdapi
8090/tcp open  opsmessaging
8443/tcp open  https-alt
8800/tcp open  sunwebadmin
Nmap done: 1 IP address (1 host up) scanned in 0.20 seconds

It seems that it should connect now:

8090/tcp open opsmessaging

If after opening in a browser http://<IP_ADDRESS>:8090/api/objects/listobjecttypes you can see some data, and http://<IP_ADDRESS>:8090/api/objects/info?name=New Telescope 1&format=json is still broken, then probably virtual telescope plugin configuration is incorrect.

Everything is fine, he sees the stellarium. Now I’m making drivers and transmitting GPS coordinates to Pi. Thank you. I'll figure it out further. Which joystick should I use?

One of these cheap Dragorise-based gamepads. It should not matter as long Qt can recognize it. Also joystick is not really required, as you can use these arrow buttons in the Mortar window.


Expected Behavior
In layouts/404.html I have:

{{ i18n "error404" }}

{{ i18n "error404Message" }}

In i18n/en.yaml:
error404: Page not found
error404Message: The page you're looking for doesn't exist at this URL. That's all we know.

And i18n/fr.yaml:
error404: Page non trouvée
error404Message: La page que vous recherchez n'existe pas à cette URL. C'est tout ce que nous savons.

When we go to, e.g., example.com/fr/foo, the French version is expected but the English one is shown. This is evident from checking the source of the rendered 404 page which has lang="en-us" or adding {{ .Site.Language.Lang }} to 404.html and it will return en from example.com/fr/foo.
Steps to Reproduce
In 404.html

{{ i18n "error404" }}

{{ i18n "error404Message" }}

Code Reproduction URL
No response
Additional Information
No response

Hey @ruskinik, I have added support for language based 404 page. here is the changes https://github.com/zeon-studio/hugoplate/commit/f994a8b6e66e8f751bb789c960ad31a5cc894b98
please download the latest version.

I ran npm run update-theme and got:
POSTCSS: failed to transform "/css/style.css" (text/css): CssSyntaxError: The `text-base-sm` class does not exist. If `text-base-sm` is a custom class, make sure it is defined within a `@layer` directive.

Maybe I'm missing something but it didn't solve the problem.

npm run update-theme
copied 404.en.html from themes to layouts
added 404.fr.html to layouts with French 404

http://localhost:1313/fr/foo shows English 404 page.

please start from scratch by re-downloading the theme. and let me know if
it works...
On Mon, Apr 15, 2024, 5:48 PM Nikolai @.***> wrote:

Maybe I'm missing something but it didn't solve the problem.

npm run update-theme
copied 404.en.html from themes to layouts
added 404.fr.html to layouts with French 404

http://localhost:1313/fr/foo shows English 404 page.
—
Reply to this email directly, view it on GitHub
https://github.com/zeon-studio/hugoplate/issues/115#issuecomment-2056637170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOAMCY2U6ZF2ZBHSG75WZ23Y5O475AVCNFSM6AAAAABGGCRIK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJWGYZTOMJXGA
.
You are receiving this because you commented.Message ID:
@.***>

It works, thanks.
However, solving one problem, it created another by changing the URL structure from example.com/foo to example.com/en/foo.
Is it possible to keep the default URL structure?

I don't think so, because when you enable defaultContentLanguageInSubdir it will add the language path to the URL. but still I am going to check if it works


Extract transformations and effect in url construct

Description

Used the regex to extract the URL transformations and add to the cloudinaryUrlConstructor with the permission of the new useUrlTransformations property
Issue Ticket Number
Fixes  #9
Type of change

added a new property for allowing user to make a choice to use URL transformation
extract transformations from URL using regex
ran changes correctly

What's left:

test on examples and add doc example
any updates based on review

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Fix or improve the documentation
[ ] This change requires a documentation update

Checklist

[ ] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[ ] I have created an issue ticket for this PR
[ ] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] I have performed a self-review of my own code
[ ] I have run tests locally to ensure they all pass
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes needed to the documentation

left a few comments, can you please add some tests for this? would like a few test cases similar to what we did with the public ID function to make sure things are working expectedly
https://github.com/colbyfayock/next-cloudinary/blob/main/next-cloudinary/tests/lib/cloudinary.spec.js#L55

left a few comments, can you please add some tests for this? would like a few test cases similar to what we did with the public ID function to make sure things are working expectedly
https://github.com/colbyfayock/next-cloudinary/blob/main/next-cloudinary/tests/lib/cloudinary.spec.js#L55

HI @colbyfayock I have worked on the updates and resubmitted the PR for your review and if there is anything that needs to be changed please let me know

this is great, thanks @agbanusi!
I believe you got the initial PR in by the end of October, so if you want free Space Jelly swag feel free to email me at<EMAIL_ADDRESS>where I'll send you a form to claim
try doing that soon as I'll be packaging them up for people within the next week

@all-contributors please add @agbanusi for code


codespell: config, workflow + typos fixed

ok, codespell feels ok now. Testing is all red, likely due to https://github.com/ionrock/cachecontrol/issues/292  which is causing ripples everywhere.


avr-specs/sync-from-upstream.py implementation

Last two points from #32

avr-specs/sync-from-upstream.py implementation
update specs with latest upstream spec

@Rahix how should I fix that?

Review target and update only args which allows to build project
Review other project parts and keep upstream target

I would design this a bit differently.  I'd load the upstream spec, then iterate over a list of supported MCUs and write out modified versions of the upstream spec.  In the python script, at the top I'd define the list of supported chips:
SPECS = {
    "atmega32u4": {
        "cpu": "atmega32u4",
    },
    "atmega328p": {
        "cpu": "atmega328p",
    },
}

Please don't touch the avr-spec.json files yet, I'll take care of updating them after this PR (with just the script) is merged.

Please revert the changes to all these files (avr-specs/*.json), then I can merge :) I will take care of updating the specs this evening hopefully ...

Thank you!


RELIABLE COMPANY AGENCY FOR CRYPTOCURRENCY RECOVERY.. I RECOMMEND CYBERTECH WIZARD RETRIEVAL

Good day, everyone!
I don’t want to alarm anyone, but the rise in cybercrime is truly alarming. Recently, I was deceived by an organization that promised a guaranteed percentage return on investment within a week. I realize now that such promises can be a red flag, but it's something that could happen to anyone. I fell victim to this scam and ended up losing up to $400,000 worth of cryptocurrency. I initially believed I was dealing with a legitimate team, but my troubles began when I tried to withdraw my funds after several weeks of membership. The withdrawal request was declined, and when I reached out to their customer care system for assistance, they asked me to deposit an additional $64,000 for maintenance fees and taxes. This was on top of the $400,000 I already had on hold. The entire situation left me feeling extremely depressed and disheartened.Some people claim that binary options brokers are scams, but I can assure you that this is not always the case. There are still honest and reliable brokers out there.  It felt like a betrayal of my hard-earned funds, and it was a painful experience.Fortunately, I was referred to Cyber Tech Wizard WhatsApp  +1<PHONE_NUMBER><EMAIL_ADDRESS>Jivo chat<EMAIL_ADDRESS>by a friend who had a positive experience. They specialize in fund recovery and trading solutions. Their masterclass intelligence and strategic approach helped me recover all of my lost funds from the deceitful broker. Thanks to their expertise, I was able to successfully withdraw my money and restore my financial security.Cyber Tech Wizard  proved to be a genuine and trustworthy entity. They offer accurate and free signals, 100% guaranteed winnings, and instant withdrawals. Their team is incredibly skilled at navigating complex recovery scenarios and ensuring clients get their funds back. I am now a living testament to their effectiveness.If you find yourself in a similar situation or need assistance with any kind of trading or recovery, I highly recommend reaching out Cyber Tech Wizard . They offer the expertise and support necessary to turn a dire situation into a successful resolution. There are still real and trustworthy professionals out there, and finding the right one can make all the difference.

LEEULTIMATEHACKER@ AOL. COM
telegram:LEEULTIMATE
wh@tsapp +1  (715) 314  -  9248
Lee Ultimate Hacker, a service that turned out to be a lifeline for me after I fell victim to a major fraud. The scam involved a company called VitroForex, which deceitfully siphoned off $654,550 of my hard-earned money. The shock and frustration of losing such a significant amount were overwhelming, especially since I felt powerless to recover it. I had tried various methods to retrieve my funds, but nothing seemed to work. Thankfully, my FBI brother-in-law, who has experience in financial investigations, took an interest in my case. He conducted an extensive search through police forensics and records to find a viable solution. His efforts led him to Lee Ultimate Hacker, a firm renowned for its successful track record in recovering lost funds. Initially, I was hesitant to reach out to Lee Ultimate Hacker. The idea of recovering such a large sum seemed almost unbelievable, especially given my previous unsuccessful attempts. Nevertheless, given the strong recommendation from someone I trusted, I decided to give them a chance. The team at Lee Ultimate Hacker began by thoroughly reviewing my case and crafting a tailored recovery strategy. Their professionalism and expertise were immediately evident, which gave me renewed hope. They used advanced techniques and their extensive network to track down and recover the stolen funds. To my astonishment, after a few weeks of diligent work, I received a bank notification of a deposit of $654,500. Seeing that amount back in my account was an emotional and exhilarating moment—I could hardly believe it was real. Lee Ultimate Hacker had successfully returned my funds, proving their capabilities beyond my expectations. If you find yourself in a similar situation, whether involving cryptocurrency or traditional financial fraud, I highly recommend contacting Lee Ultimate Hacker. Their exceptional skills and dedication to recovering stolen funds are truly impressive. My experience with them was nothing short of transformative, and their success in my case is a testament to their effectiveness. If you’re struggling with financial fraud, reaching out to them might just be the solution you need.

HOW TO RECOVER MONEY LOST IN BITCOIN/USDT TRADING OR TO CRYPTO INVESTMENT !!
Hi all, friends and families. I am writing From Alberton Canada.
Last year I tried to invest in cryptocurrency trading in 2023, but lost a significant amount of money to scammers. I was cheated of my money, but thank God, I was referred to Hack Recovery Wizard they are among the best bitcoin recovery specialists on the planet. they helped me get every penny I lost to the scammers back to me with their forensic techniques. and I would like to take this opportunity to advise everyone to avoid making cryptocurrency investments online. If you have already lost money on forex, cryptocurrency or Ponzi schemes, please contact<EMAIL_ADDRESS>or WhatsApp: +1 (757) 237–1724 at once they can help you get back the crypto you lost to scammers.
BEST WISHES.
Celina Garcia.

HOW TO RECOVER MONEY LOST IN BITCOIN/USDT TRADING OR TO CRYPTO INVESTMENT !!
Hi all, friends and families. I am writing From Alberton Canada.
Last year I tried to invest in cryptocurrency trading in 2023, but lost a significant amount of money to scammers. I was cheated of my money, but thank God, I was referred to Hack Recovery Wizard they are among the best bitcoin recovery specialists on the planet. they helped me get every penny I lost to the scammers back to me with their forensic techniques. and I would like to take this opportunity to advise everyone to avoid making cryptocurrency investments online. If you have already lost money on forex, cryptocurrency or Ponzi schemes, please contact<EMAIL_ADDRESS>or WhatsApp: +1 (757) 237–1724 at once they can help you get back the crypto you lost to scammers.
BEST WISHES.
Celina Garcia.

In my trading investment plan, I faced a significant setback when I lost £80,000 to a fraudulent cryptocurrency investment broker I had discovered on Facebook. Initially, I was enticed by the promises of high returns and a user-friendly platform. I invested £49,000, and as I saw the profits accumulating, I was convinced that I was making a smart financial move. Encouraged by these initial gains, I decided to invest even more into the scheme. However, my optimism quickly turned into distress when I encountered a problem. After several months of seeing my investment grow, I decided it was time to withdraw some of the profits. To my dismay, I found that my withdrawal requests were being denied. My concerns deepened when I realized that I was unable to access my funds at all. Attempts to contact the broker were futile; my messages went unanswered, and I soon discovered that the broker's online presence had vanished. This situation led me to the grim realization that I had been scammed. In my desperation, I reached out to my bank, hoping they could assist in recovering my lost funds. Unfortunately, my bank could offer no help in this situation, as the transactions had already been processed and the funds were no longer traceable through conventional means. Feeling defeated and with no clear path forward, I began to explore other options. It was during this period of searching for solutions that I came across an article about a family who had successfully recovered their retirement funds through a company called Lee Ultimate Hacker. The article detailed how Lee Ultimate Hacker had assisted them in reclaiming their lost investments, and the positive outcome gave me a glimmer of hope. Intrigued and cautiously optimistic, I decided to reach out to Lee Ultimate Hacker for assistance. When I first contacted telegram:LEEULTIMATE, wh@tsapp +1  (715) 314  -  9248, I explained my situation in detail. The expert I spoke with was understanding and assured me that they had experience dealing with similar cases. They began to investigate my case immediately. Lee Ultimate Hacker’s team meticulously gathered information about the fraudulent broker, the transactions involved, and any potential leads on the whereabouts of my lost funds. Throughout the process, Lee Ultimate Hacker maintained clear and open communication with me. They provided regular updates on the progress of the investigation and explained the steps they were taking to recover my cryptocurrency. The professionalism and expertise of their team were evident, which greatly alleviated some of the stress I had been feeling. After weeks of diligent work, Lee Ultimate Hacker managed to trace and recover the full amount of my lost cryptocurrency. I was astonished and relieved to see my funds restored. The recovery process was thorough, and the team at Lee Ultimate Hacker demonstrated a high level of commitment to ensuring that I was able to recover my investment. The experience taught me a valuable lesson about the risks associated with cryptocurrency investments and the importance of conducting thorough due diligence before committing funds to any platform. It also highlighted the significance of having access to reliable recovery services in case of unforeseen issues. if you find yourself in a situation where you have been defrauded by a fake investment broker or have lost funds to a scam, seeking professional help can make a significant difference. Companies like Lee Ultimate Hacker can offer expertise and support in recovering lost investments. My successful recovery of £80,000 was a result of their dedicated efforts, and I am incredibly grateful for their assistance. If you are in a similar predicament, consider reaching out to a reputable recovery service like Lee Ultimate Hacker to explore your options and take steps toward reclaiming your lost assets.


Feature: Enhance GetEnumSelectList html helper to support Flags enum.

see based on https://github.com/aspnet/Mvc/issues/5084#issuecomment-236336854 for some more info.
Make Html.GetEnumSelectList enum support flag attribute
Framework can switch from simple value select to a multiple <select multiple> tag.
And selected options will be all those that HasFlag for the enum.
sample boilerplate output will be:
<select multiple>
<option>1</option>
<option selected>2</option>
<option>3</option>
<option selected>4</option>

Haven't tested it recently but I believe this feature request is incomplete as described. The model binding system converts a collection of values into a single value by grabbing the first value, not ORing them together. There are no special cases in the model binding system for [Flags] enums.
I recommend a view model containing an IEnumerable<TEnum> property and a bit of code to OR the values together into the actual value. TEnum could be a non-[Flags] enum containing the subset of values you actually want in the UI.


Lower entropy for RUM IDs and Timestamps

There are different sources of entropy in RUM data, that bring much more entropy than what is actually needed. Which leads to:

more data storage required
potential de-anonymization

In an effort to reduce the entropy we will:

reduce the RUM ID to a 6 digits random string, encoded in base64
add a property t = <milliseconds since first read> to the RUM beacon

RUM ID can now be any String from 0 to 6 random alphanumeric characters


TF_REPEATED_DATA from zed-ros-wrapper

Error message is spammed after the upgrade to Noetic. Should check if the zed-ros-wrapper is updated.

This seems to be a problem with multiple other packages :^(


Standard macOS minimize shortcut doesn't work with lens

What would you like to be added:
Using cmd + m to minimize the application.
Why is this needed:
Nice to have standard feature across macOS applications
Environment you are Lens application on:
macOS 10.15.4

Hi, this issue still persists and is quite annoying. I see it's being dragged along the milestones for a couple years now. Is it possible to include the fix in some near future milestone?


The value does not fall below 200

Not sure how to fix incorrect display values?  He's been showing me 200-260 for some time.  And it will never go down.  I also tried to vacuum and it didn't help.

Vacuum is not enough. I found that you need to regularly dismantle the sensor completely, and blow compressed air through the sensor (I used 3 bar, probably overkill).
This is how far I dismantle it (just unscrew everything, no need to desolder or cut glue):

But even that no longer works lately. Trying ultrasound cleaning now.
And even then, it takes some time for the values to drop. It seems to have some memory.

i had a similar problem, but i solved it by power cycling the unit
https://github.com/Hypfer/esp8266-vindriktning-particle-sensor/issues/43#issuecomment-1061440029

The complete disassembly and cleaning of the sensor also helped me. Subsequently, with the passage of time, I restarted the sensor twice.
Now, after 2 weeks, the data is still fine

and again i powercycled my units, see the graph from one of them:


local Java (openJDK)

Proposal:
allow the download and usage of an openJDK version, to enable local Java support.
This is sure to appeal to a wide range of people who dislike being reliant on remote services / do not have access to the internet on the go.

Add support for java standard libraries, like java.util, because currently you cannot use a Scanner class (from the java.util library) for example to ask for an Input, because the Terminal will show you an error: "Exception in thread main java.util.NoSuchElementException  ...... at java.base/java.util.Scanner.nextInt(Scanner.java:2258)"

It would be great! Maybe even allowing multi file compiling (thanks to local java support)

Proposal:
allow the download and usage of an openJDK version, to enable local Java support. This is sure to appeal to a wide range of people who dislike being reliant on remote services / do not have access to the internet on the go.

@bummoblizard would it be possible?

Proposal:

allow the download and usage of an openJDK version, to enable local Java support. This is sure to appeal to a wide range of people who dislike being reliant on remote services / do not have access to the internet on the go.

@bummoblizard would it be possible?

Yes. But I haven't been able to do it.

Is it planned already or any updates?

Added in https://github.com/thebaselab/codeapp/commit/39155744844ad472f0b79c714230a8691a7832bb.


Update README.md

pod 'GBDeviceInfo', '~> 3.5'  --> '4.2.2'

Would you mind changing this to ~> 4.2?

sure


Property value referencing function in this does not work

The value field of a property can be a function. When this is a direct function or reference to a function defined in an outer-scope, it works. However, when a function in this (referencing the Polymer object) is passed it does not work.
http://jsbin.com/zipodeduzi/edit?html,js,console,output to reproduce.
Expected console output:
"called"
"called another"
Actual console output:
"called"
Expected page contents:
"asdfanother"
Actual page contents:
"asdf"
Reported by @tbone587

Still thinking on why this doesn't work. I think the this does not reference the Polymer object, but the property object. However, when trying that out (adding the function after the value field), it does not work either.

I think what you're seeing here is that you're passing an object with a this reference to the Polymer() function. It's not inside a function closure. You're calling Polymer() from the global scope so this == window. window.functionWithAnotherName is undefined, so that's the default value for another.
Here's another jsbin, where you can see that calling this.functionName matches a function in the global scope, and that setting a property to this gives you a reference to window.
http://jsbin.com/rumaqu/1/edit?html,js,console,output
To put it another way: if you want per-instance initialization for a property, value needs to be a Function object when you call Polymer(),
You can, however, do:
value: function() { return this.someOtherMethod(); }

Yep, @arthurevans is correct. Your use of this here will be window when this.functionWithAnotherName is dereferenced, as the this of executing scripts is `window.
Here's a fixed jsbin for you: http://jsbin.com/pobusa/edit?html,console,output

Thanks for the extensive explanation! I PM'd Tbone.


fix: build pipe

Please, don't forget to remove dockerfile and test.sh

@area73 Any ideas why the ci build is failing? If I remove @ts-expect-error comment locally, I can't get the build to work. I don't really get what's happening


bug 12669 - When click "cancel" with nothing changed in the user page…

…, there is the confirmation window popup: Fixed

This change is

Current coverage is 58.15% (diff: 100%)

Merging #543 into master will not change coverage

@@             master       #543   diff @@
==========================================
  Files          1932       1932
  Lines         99356      99356
  Methods           0          0
  Messages          0          0
  Branches      12362      12362
==========================================
  Hits          57776      57776
  Misses        38505      38505
  Partials       3075       3075

Powered by Codecov. Last update c6138c3...a38d63c

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Parameter type list does not match table

On the YAML parameters.parameter page, the Property section description for type contains a different and apparently out-of-date list of data types (boolean | container | containerList | deployment | deploymentList | environment | filePath | job | jobList | number | object | pool | secureFile | serviceConnection | stage | stageList | step | stepList | string.). The correct list of types is shown in a table in the Types section.
I recommend removing the list of data types in the Property section and instead referencing the Types section from the type parameter description (e.g. "See the full list of data types below").

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

ID: c9c8a161-7e80-ae54-6e2a-9e2334791309
Version Independent ID: c9c8a161-7e80-ae54-6e2a-9e2334791309
Content: pipeline.parameters.parameter definition
Content Source: content/parameters-parameter.md
Service: azure-devops-pipelines
GitHub Login: @steved0x
Microsoft Alias: sdanie

Sorry, this is a duplicate of #182


quickfix root dockerfile to unblock docker based acceptance tests

Description
applies a quick fix the Dockerfile in the repository root in order to unblock docker based acceptance test.

with that change the build fails for me with

looks like you vendor the go dependencies of oCIS and they are not up to date. Running go mod vendor to refresh the vendored dependencies should do the trick

with that change the build fails for me with

Can you check what's inside the vendor directory?
Actually it might just contain stuff from php's composer that interferes with with go build. I've seen that before. If that's the case you can try rm -rf vendor and rerun.


docs: add python courses and books in indonesia language

What does this PR do?
Add resources (courses and books) for Python in Indonesia language.
For resources
Description
Why is this valuable (or not)?
It is recommended by the community and me personally.
How do we know it's really free?
There is no any prerequisite to access the course, they provide to us for free.
For book lists, is it a book? For course lists, is it a course? etc.
Book and course.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Just updated according to requested changes, please let me know if there is anything that still missed. thankyou @eshellman


Feature/link 1174 instruction for local test environment

Description :sparkles:

Instructions to set up local development environment with Tunnistamo, Linked Events API and Linked Events API
DOCKER_BUILD_ARG_REACT_APP_OIDC_API_TOKENS_URL environment variable

Issues :bug:
Closes :no_good_woman:
LINK-1174
Related :handshake:
Testing :alembic:
Instructions can tested locally by following "Setting up complete development environment locally with docker" section in README.md

Codecov Report

Merging #153 (3dedf93) into develop (6d1cbbc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #153   +/-   ##
========================================
  Coverage    99.70%   99.70%
========================================
  Files          488      488
  Lines         9355     9358    +3
  Branches      1998     1999    +1
========================================
+ Hits          9327     9330    +3
  Misses          28       28

Impacted Files
Coverage Δ

src/domain/auth/utils.ts
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Have --max-memory also be applied to the extension host

Extracted from https://github.com/microsoft/vscode/issues/107950#issuecomment-729885866

Hi @alexdima, thanks for opening this issue!
I seem to have the same problem as in #107950. Is there any news so far in having --max-memory be applied to extension host?

To verify, use ps to find the extension host process and look at the command line arguments.


Content Bot - show claim amount

@nikooo777 Is it possible to show the claim amount on the bid?

it's most likely possible however it can't be done without calling an extra RPC method.
Is that really necessary and worth looking into?
unfortunately claims don't carry the amount property

@tzarebczan Is this still something that you want looked into? Just cleaning up issues that have been opened for a while.

@Coolguy3289 yes, but it sounds like it would require some claim decoding that's not being done currently.

this could become much easier with chainquery!

Can be added when chainquery gets integrated!


Add proper markdown line breaks

These three sections should either have proper markdown line breaks or be converted to headings (or a bullet list?). Currently the "headings" run into the text content without a line break, which looks weird:

Live page: https://docs.microsoft.com/en-US/aspnet/core/mvc/views/tag-helpers/intro?view=aspnetcore-5.0#what-tag-helpers-provide

Thanks @MarcusOtter  keep the PR's coming.


chore(api-docs): enable allow_reuse to fix the docs

Issue #, if available:

https://github.com/awslabs/aws-lambda-powertools-python/issues/611

Description of changes:
Set allow_reuse=True for all of the pydantic validators, so the docs can render.
Checklist

[x] Meet tenets criteria
[x] Update tests
[x] Update docs
[x] PR title follows conventional commit semantics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #612 (e0e2249) into develop (f7cd398) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #612      +/-   ##
===========================================
- Coverage    99.95%   99.91%   -0.05%
===========================================
  Files          113      113
  Lines         4535     4535
  Branches       246      246
===========================================
- Hits          4533     4531       -2
- Misses           0        1       +1
- Partials         2        3       +1

Impacted Files
Coverage Δ

...lambda_powertools/utilities/parser/models/apigw.py
100.00% <100.00%> (ø)

...a_powertools/utilities/parser/models/cloudwatch.py
100.00% <100.00%> (ø)

...mbda_powertools/utilities/parser/models/kinesis.py
100.00% <100.00%> (ø)

...s_lambda_powertools/utilities/parser/models/sns.py
100.00% <100.00%> (ø)

aws_lambda_powertools/utilities/parser/types.py
71.42% <0.00%> (-28.58%)
:arrow_down:

Continue to review full report at Codecov.

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

Just hit the issue - it happens only when I open utilities.

turns out it's due to the import system as Pydantic somehow believes it's a duplicate. Let's keep as is, if it happens again then we take time to investigate down the stack.


getValue() on the field is not returning the selected value

getValue() on the autocomplete text field is returning the value typed in for search instead of the selected value. This issue can be seen in all the browsers except in Firefox and Chrome.

Thank you for reporting this issue.
I'll investigate it.

I have upgraded the online demo with a fix: https://vaadin.maxschuster.eu/AutocompleteTextField/

Thank you for providing a fix in short notice

I found an issue with the fix which I explained in detail at https://github.com/maxschuster/Vaadin-AutocompleteTextField/commit/29d145f6a9cf29f903eace3a61a82cf7783ca106

Did you have time to test, what I suggested here?

The fix is working. I messed up my test case. Also, instead of value change listener (it didnt work even with fix), I have used shortcut listener for Enter key, utilized .getValue() from text field and it worked on all browsers.

I will close this issue then. Please open another issue, if you still have issues with the value change listener.

Updated version 3.0-alpha-2 is available in the Vaadin Directory


kubeone cannot expand path to key

What happened:
Tried to run kubeone apply ...
What is the expected behavior:
A kubernetes cluster.
How to reproduce the issue:

installed current/latest kubeone (1.3.3) ✅
ran openstack terraform example ✅
used the output of state to run kubeone
observe output:

❯ kubeone apply -v --manifest kubeone.yaml -t state.json
INFO[18:15:29 CET] Determine hostname...
ERRO[18:15:29 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
ERRO[18:15:29 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
ERRO[18:15:29 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
WARN[18:15:29 CET] Task failed, error was: at least one of the tasks has encountered an error
WARN[18:15:34 CET] Retrying task...
INFO[18:15:34 CET] Determine hostname...
ERRO[18:15:34 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
ERRO[18:15:34 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
ERRO[18:15:34 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
WARN[18:15:34 CET] Task failed, error was: at least one of the tasks has encountered an error
WARN[18:15:44 CET] Retrying task...
INFO[18:15:44 CET] Determine hostname...
ERRO[18:15:44 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
ERRO[18:15:44 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
ERRO[18:15:44 CET] failed to connect to <IP_ADDRESS>: failed to validate ssh connection options: failed to read keyfile "~/.ssh/key": open ~/.ssh/key: no such file or directory  node=<IP_ADDRESS>
WARN[18:15:44 CET] Task failed, error was: at least one of the tasks has encountered an error

Anything else we need to know?
Since you asked, a suggestion for a potential fix. 😆
I switched the path in the state output from ~/.ssh/key to /Users/till/.ssh/key and it worked.
I think this is due to the ~/.ssh in a flat file (and not invoked via shell where it would be expanded). Couldn't find the code adhoc where you get the path to the key, but something like this should work https://stackoverflow.com/a/43578461, or potentially https://github.com/mitchellh/go-homedir
Information about the environment:
KubeOne version (kubeone version): 1.3.3
Operating system: osx
Provider you're deploying cluster on: openstack
Operating system you're deploying on: osx

Cheers! 🙇🏼


Use vars for registry image container name

Values are here: https://github.com/infrawatch/service-telemetry-operator/blob/627db785aa1c5746dad6a7274106511f38694b3b/build/stf-run-ci/defaults/main.yml#L37
Waiting on PR #429

recheck

Two Jenkins' and a Zuul have approved this.
@elfiesmelfie do you have any objection to merging this? If you still have changes that conflict, I think they will be trivial enough to resolve.

Two Jenkins' and a Zuul have approved this.
@elfiesmelfie do you have any objection to merging this? If you still have changes that conflict, I think they will be trivial enough to resolve.

I can see where I'll need to make updates, it'll conflict, but I won't be thrown off by it


Added isQuarantined()

Removed the extra gradle files being messed with - sorry about that

Looks good, thanks!


Deploy to OpenShift

link to demo deployment of your smk based app is
https://smk-firewood-rt-b16795-dev.apps.silver.devops.gov.bc.ca
Verify that it looks good, if so merge the pull request which will trigger a prod deployment, otherwise close the pull request without merging
mentions / notifications: @GuyTheFlower, @NicoledeGreef, @franTarkenton

free firewood???  are you guys delivering??  :wink:

The Vanity URL for the dev deploy is https://smk-firewood-api-gov-bc-ca.test.api.gov.bc.ca
If this is a dev deploy,  verify that it looks good, then merge the pull request to trigger prod deployment.
If this is a prod deployment, view your prod deploy at the url above :)
mentions / notifications: @GuyTheFlower, @NicoledeGreef, @franTarkenton

The Vanity URL for the dev deploy is https://smk-firewood-api-gov-bc-ca.test.api.gov.bc.ca
If this is a dev deploy,  verify that it looks good, then merge the pull request to trigger prod deployment.
If this is a prod deployment, view your prod deploy at the url above :)
mentions / notifications: @GuyTheFlower, @NicoledeGreef, @franTarkenton