FirefoxProfile isn't working

I am running howtos/setFirefoxProfile/conf.js and during wait period trying to open new tab.
New tab is not showing angular.org page. It means not able to set profile.
Also getting below error -
apps@apps-thinkpad-w530:~/Downloads/UStax/protractor-demo-master$ ./node_modules/protractor/bin/protractor howtos/setFirefoxProfile/conf.js
Starting selenium standalone server...
[launcher] Running 1 instances of WebDriver
Selenium standalone server started at http://<IP_ADDRESS>:32825/wd/hub
/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:113
var template = new Error(this.message);
^
UnknownError: Unable to connect to host <IP_ADDRESS> on port 7055 after 45000 ms. Firefox console output:
browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
1467886981535   addons.xpi  INFO    Mapping<EMAIL_ADDRESS>to<EMAIL_ADDRESS>1467886981535   addons.xpi  DEBUG   checkForChanges
1467886981536   addons.xpi  DEBUG   Loaded add-on state from prefs: {"app-profile":{"fxdriver@googlecode.com":{"d":"/tmp/anonymous8110263991387900314webdriver-profile/extensions/fxdriver@googlecode.com","e":false,"v":"2.45.0","st":1467886970000,"mt":1467886970000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"44.0","st":1454042676000,"mt":1453731169000}},"app-system-share":{"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com.xpi","e":false,"v":"3.2","st":1442597167000}}}
1467886981537   addons.xpi  DEBUG   Existing add-on<EMAIL_ADDRESS>in app-profile
1467886981537   addons.xpi  DEBUG   getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1467886981538   addons.xpi  DEBUG   Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global
1467886981538   addons.xpi  DEBUG   Existing add-on<EMAIL_ADDRESS>in app-system-share
1467886981538   addons.xpi  DEBUG   getInstallState changed: false, state: {"app-profile":{"fxdriver@googlecode.com":{"d":"/tmp/anonymous8110263991387900314webdriver-profile/extensions/fxdriver@googlecode.com","e":false,"v":"2.45.0","st":1467886970000,"mt":1467886970000}},"app-global":{"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"44.0","st":1454042676000,"mt":1453731169000}},"app-system-share":{"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com.xpi","e":false,"v":"3.2","st":1442597167000}}}
1467886981540   addons.xpi  DEBUG   No changes found
1467886981547   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1467886981549   addons.manager  DEBUG   Provider finished startup: XPIProvider
1467886981549   addons.manager  DEBUG   Starting provider: LightweightThemeManager
1467886981549   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1467886981550   addons.manager  DEBUG   Provider finished startup: LightweightThemeManager
1467886981551   addons.manager  DEBUG   Starting provider: GMPProvider
1467886981564   addons.manager  DEBUG   Registering shutdown blocker for GMPProvider
1467886981565   addons.manager  DEBUG   Provider finished startup: GMPProvider
1467886981565   addons.manager  DEBUG   Starting provider: PluginProvider
1467886981565   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1467886981566   addons.manager  DEBUG   Provider finished startup: PluginProvider
1467886981567   addons.manager  DEBUG   Completed startup sequence
1467886981667   addons.xpi-utils    DEBUG   Starting async load of XPI database /tmp/anonymous8110263991387900314webdriver-profile/extensions.json
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1467886981787   addons.manager  DEBUG   Starting provider:
1467886981787   addons.manager  DEBUG   Registering shutdown blocker for
1467886981788   addons.manager  DEBUG   Provider finished startup:
1467886982148   addons.xpi-utils    DEBUG   Async JSON file read took 0 MS
1467886982148   addons.xpi-utils    DEBUG   Finished async read of XPI database, parsing...
1467886982194   addons.xpi-utils    DEBUG   Successfully read XPI database
1467886982338   addons.manager  DEBUG   Starting provider: PreviousExperimentProvider
1467886982338   addons.manager  DEBUG   Registering shutdown blocker for PreviousExperimentProvider
1467886982338   addons.manager  DEBUG   Provider finished startup: PreviousExperimentProvider
JavaScript warning: https://normandy.cdn.mozilla.net/static/js/bundles/selfrepair-7575f6d27445b45bcffb.js, line 9825: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create
at new bot.Error (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:113:18)
at Object.bot.response.checkResponse (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
at /home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:158:24
at [object Object].promise.ControlFlow.runInFrame_ (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1877:20)
at [object Object].promise.Callback_.goog.defineClass.notify (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:2464:25)
at [object Object].promise.Promise.notify_ (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:563:12)
at Array.forEach (native)
at Object.goog.array.forEach (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/array/array.js:203:43)
at [object Object].promise.Promise.notifyAll_ (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:552:16)
at goog.async.run.processWorkQueue (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/async/run.js:125:21)

From: Task: WebDriver.createSession()
at Function.webdriver.WebDriver.acquireSession_ (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:155:22)
at Function.webdriver.WebDriver.createSession (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:129:30)
at [object Object].Builder.build (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/node_modules/selenium-webdriver/builder.js:416:22)
at [object Object].DriverProvider.getNewDriver (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/lib/driverProviders/driverProvider.js:38:7)
at [object Object].Runner.createBrowser (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/lib/runner.js:180:37)
at /home/apps/Downloads/UStax/protractor-demo-master/node_modules/protractor/lib/runner.js:268:21
at _fulfilled (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/q/q.js:797:54)
at self.promiseDispatch.done (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/q/q.js:826:30)
at Promise.promise.promiseDispatch (/home/apps/Downloads/UStax/protractor-demo-master/node_modules/q/q.js:759:13)
at /home/apps/Downloads/UStax/protractor-demo-master/node_modules/q/q.js:573:44
[launcher] Process exited with error code 1
Protractor version - 2.1.0
Firefox - 44
Selenium-webdriver - 2.45.0

Yes I tried this too it kicks off the firefox browser and you can see it open but it does not run anything.

This npm isn't working properly for me as well.

+1

Firefox profile is not loaded for me. I see those messages in webdriver-start window:
08:21:28.708 INFO - Executing: [new session: Capabilities [{count=1, browserName=firefox, firefox_profile=UEsDBBQACAAIAK46QkoAAAAAAAAAA...}]])
08:21:28.709 INFO - Creating a new session for Capabilities [{count=1, browserName=firefox, firefox_profile=UEsDBBQACAAIAK46QkoAAAAAAAAAA...}]
08:21:36.168 INFO - Done: [new session: Capabilities [{count=1, browserName=firefox, firefox_profile=UEsDBBQACAAIAK46QkoAAAAAAAAAA...}]]

SO it seems that a profile have been loaded. But regarding to firefox options don't show any of my options.
 $ firefox --version
Mozilla Firefox 45.7.0
 $ uname -a
Linux localhost.localdomain 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

See #26 and #27 for a working version.


FT-44 # AngularJS (1.x) components for location

Added

bmStaticLocationOnMap component

bmLocationOnMap component, that internally uses bmStaticLocationOnMap or ngMap as appropriate

bmConfirmLocationOnMap component, that internally uses bmLocationOnMap and blinkmobile/geolocation and integrates with ngModel

Notes

it might actually be easier to just review the aggregate changes all together, at least for the components files, rather than commit-by-commit

LGTM 👍


This does not work in my case

I have written this script to enable protocols:
Import-Module "sqlps" -DisableNamechecking
###############################################################
#                                                             #
# Function to Enable or Disable a SQL Server Network Protocol #
#                                                             #
###############################################################
function ChangeSQLProtocolStatus
{
	Param (
		$protocol,
		$instanceName,
		$enable
	)
	try
	{
		Add-Type -AssemblyName "Microsoft.SqlServer.Smo"
		Add-Type -AssemblyName "Microsoft.SqlServer.SqlWmiManagement"
	}
	catch { throw "Exception occurred when we refer smo and SqlWmiManagement assembly, and its $($_.Exception)" }

	try
	{
		Write-Host "Initializing WMI object"
		$wmi = new-object Microsoft.SqlServer.Management.Smo.WMI.ManagedComputer

		Write-Host "Generation URI"
		$uri = "ManagedComputer[@Name='$env:COMPUTERNAME']/ServerInstance[@Name='MSSQL`$$instanceName']/ServerProtocol[@Name='$protocol']";
		$uri

		Write-Host "Creating protocol settings"
		$prtocolSettings = $wmi.getsmoobject($uri)

		Write-Host "Created Protocol smo  object"
		$prtocolSettings.IsEnabled = $enable
		$prtocolSettings.Alter()

		# Restart SQL Server
		try { Get-Service -Name "MSSQL`$$instanceName" -ErrorAction 'Stop' | Restart-Service -Force -ErrorAction 'Stop' }
		catch { throw "Starting Sql server service failed in server $($_.Exception)" }
	}

	catch
	{
		$_
	}
}
# Calling it like that:
ChangeSQLProtocolStatus 'Tcp' 'EXPRESS_2017' True;

I always get an error saying:
Exception calling "GetSmoObject" with "1" argument(s): "Attempt to retrieve data for object failed for ManagedComputer 'WINS-2019'."

I have tried running it with the 32 bit version of powershell and still nothing.
Using the exact code that the docs propose fails as well:
$smo = 'Microsoft.SqlServer.Management.Smo.'
$wmi = new-object ($smo + 'Wmi.ManagedComputer').

# List the object properties, including the instance names.
$Wmi

# Enable the TCP protocol on the default instance.
$uri = "ManagedComputer[@Name='WINS-2019']/ ServerInstance[@Name='MSSQL$EXPRESS_2017']/ServerProtocol[@Name='Tcp']"
$Tcp = $wmi.GetSmoObject($uri)
$Tcp.IsEnabled = $true
$Tcp.Alter()
$Tcp

I have a named instance and I run the script on the computer where the instance is running.

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

ID: e3e350b6-b39b-0a14-6637-06fbec7b171a
Version Independent ID: f92e2065-c2d4-3e93-c136-de4da69d7586
Content: Enable or Disable a Server Network Protocol - SQL Server
Content Source: docs/database-engine/configure-windows/enable-or-disable-a-server-network-protocol.md
Product: sql
Technology: configuration
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

Found it!
I had to remove the MSSQL$ part from the instance name.
The docs where misleading on this...
Import-Module "sqlps" -DisableNamechecking
###############################################################
#                                                             #
# Function to Enable or Disable a SQL Server Network Protocol #
#                                                             #
###############################################################
function ChangeSQLProtocolStatus
{
	Param (
		$protocol,
		$instanceName,
		$enable
	)
	try
	{
		Add-Type -AssemblyName "Microsoft.SqlServer.Smo"
		Add-Type -AssemblyName "Microsoft.SqlServer.SqlWmiManagement"
	}
	catch { throw "Exception occurred when we refer smo and SqlWmiManagement assembly, and its $($_.Exception)" }

	try
	{
		Write-Host "Initializing WMI object"
		$wmi = new-object Microsoft.SqlServer.Management.Smo.WMI.ManagedComputer

		Write-Host "Generation URI"
		$uri = "ManagedComputer[@Name='$env:COMPUTERNAME']/ServerInstance[@Name='$instanceName']/ServerProtocol[@Name='$protocol']";
		$uri

		Write-Host "Creating protocol settings"
		$prtocolSettings = $wmi.getsmoobject($uri)

		Write-Host "Created Protocol smo  object"
		$prtocolSettings.IsEnabled = $enable
		$prtocolSettings.Alter()

		# Restart SQL Server
		try { Get-Service -Name "MSSQL`$$instanceName" -ErrorAction 'Stop' | Restart-Service -Force -ErrorAction 'Stop' }
		catch { throw "Starting Sql server service failed in server $($_.Exception)" }
	}

	catch
	{
		$_
	}
}
ChangeSQLProtocolStatus 'Tcp' 'EXPRESS_2017' True;

@DumboJetEngine -- thank you for your thorough feedback.
@MikeRayMSFT -- please look into this issue 2926.

@DumboJetEngine  - is there a specific update to the Enable or Disable a Server Network Protocol article that would clarify this for you?
Adding @MightyPen and @VanMSFT  for extra insight

Closing for the time being.

This Issue #2926 is more of a request for Support service, than it is a note about Documentation.
These GitHub Issues cannot provide Support services.

@MikeRayMSFT I think this part:
To stop and start a named instance replace 'MSSQLSERVER' with 'MSSQL$<instance_name>'.

..causes confusion, because the WMI code below uses the name 'MSSQLSERVER' as well. And if you use the 'MSSQL$<instance_name>' in the WMI code, it will fail (based on my experience at least).
Notice the difference between:
ServerInstance[@Name='$instanceName']

...and :
-Name "MSSQL`$$instanceName"

...in my PowerShell script above. This is what made it work. Using MSSQL$<instanceName> in both places causes failure in the WMI code.

The only line in the documentation that notates replacing 'MSSQLSERVER' with 'MSSQL$<instance_name>' is for the following code block:
$DfltInstance = $Wmi.Services['MSSQLSERVER']
Are you saying that this fails? MSSQL$<instance_name> does not equate to the Instance Name of a SQL Server Instance. MSSQL$ is not a part of the Instance Name and that's why your PS script fails. We specifically state the following:

We don't think this is a documentation issue, but rather a confusion on what is an Instance Name. We appreciate the feedback, but these forums are not for troubleshooting/support services.

OK. :)


The promise returned from getPictures function doesn't work

After upgrade to iOS11, I encountered an issue that getPictures(...).then(...).catch(...) doesn't work when no pictures selected on iPhone, it neither went into then block nor went into catch block. This caused my loading controller never got dismissed, and to temporarily fix this, I have to remove the loading controller which lowered user experience a bit.

I have the same issue. How did u resolve this trouble?

Same Issue


Thread safety

Issue #, if available:
It is possible to get a concurrent modification exception from adding PrecursorIds in two separate threads at the same time.
Description of changes:
Make the data structure for PrecursorIds thread safe.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #383 (921f6f3) into master (711e48c) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #383      +/-   ##
============================================
+ Coverage     58.27%   58.30%   +0.03%
  Complexity     1273     1273
============================================
  Files           138      138
  Lines          5253     5253
  Branches        634      634
============================================
+ Hits           3061     3063       +2
+ Misses         1896     1894       -2
  Partials        296      296

Impacted Files
Coverage Δ

...va/com/amazonaws/xray/entities/SubsegmentImpl.java
76.47% <100.00%> (+2.94%)
:arrow_up:


Installation Guide

Installation guide to deploying bot in local machine.

Hi @robinfriedli could you please look at this pull request and let me know if any changes are required.

Sent you a pull request with some spelling and grammar fixes.

@Ethanol6 Hi Ethan! Thanks for fixing those issues. I have updated the fork as well. Although I'm not really sure whether it will get merged because when I created this pull request, the bot was called Botify and now it is Aiode there might be changes to installation @robinfriedli is it good to go, or do we need to make any changes?

The setup is very different for botify 2 / aiode with gradle and spring now, so the guide is quite obsolete.

Thought so. I'll close this now.


encode() fails to compile

hello 👋🏼
This is probably similar to #74
I am trying to run encode on the LogsData message from the opentelemetry logs proto.
Get this error in the test
 ⚡  zig build test
test
└─ run test
   └─ zig test Debug native 1 errors
/.../src/protobuf.zig:301:30: error: unable to resolve inferred error set
        try append_submessage(pb, item);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~
referenced by:
    append__anon_2963: /.../src/protobuf.zig:395:51
    internal_pb_encode__anon_2962: /.../src/protobuf.zig:435:23
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

The setup:
zig 0.13.0
zig-protobuf at revision eed464eaf55fefa913d33b9a6207f17e5e9d5e0f
test
test "LogsData proto" {
    var logsData = pblogs.LogsData.init(std.testing.allocator);
    defer logsData.deinit();

    const rl = pblogs.ResourceLogs.init(std.testing.allocator);
    defer rl.deinit();

    try logsData.resource_logs.append(rl);

    const bytes = try logsData.encode(std.testing.allocator); // <- compile error here i think
    defer std.testing.allocator.free(bytes);

    const proto = protobuf.pb_decode(pblogs.LogsData, bytes, std.testing.allocator);
    defer proto.deinit();
}

It is indeed exactly the same kinf of error. #85 is ongoing to fix everything. Thanks for the report and the test example that allowed me to do it fast.


Compatibility with Aldeed Autoform 5.1.1?

Getting an unexpected constraint?

<EMAIL_ADDRESS><- meteoric:autoform-ionic 0.1.5

But I'm using<EMAIL_ADDRESS>

It's because this package depends on<EMAIL_ADDRESS>Someone needs to update it

Same problem for me ... If someone could update the package that would be great :)

Just hit this snag too...

I forked and tried to find the dependency -- but I'm new at this -- I don't see anything in the repo .versions section showing a dependency on<EMAIL_ADDRESS>--- not sure how to correct this. Any suggestions?

My guess is that @nickw has not updated the atmosphere package with this repo's latest commit (since this repo shows it is asking for autoforms 0.5.2).  To get around this just download this repo and place the un-zipped folder into your app's packages/ folder and then run meteor update --allow-incompatible-update


Updates to alerting rules docs

Added a further explanation of the for clause.
Added further clarification of non identifying labels.

As per #3379 comments.

Thanks - that clarifies it further - have made some updates.

Thanks!


[Codegen] Simplify flag surface for transform dialect usage

With #15787, there are now three ways to use a transform dialect strategy from flags:

--iree-codegen-transform-dialect-library=<file_path> and nothing else, which will use __transform_main as a direct replacement for other codegen pipelines and use the same strategy for all dispatches
--iree-codegen-transform-dialect-library=<file_path>::<transform_main> which will run the sequence referred to by transform_main before strategy selection. The kernel config strategy is run by every dispatch, so this could directly perform the same codegen for all dispatches and then disable default codegen by specifying translation_info = None on the exports.
--iree-codegen-transform-dialect-library=<file_path>::<kernel_config> which will run the kernel_config like sequence for every dispatch.

We should switch to deprecating (1) and require that users that want to use the same codegen strategy universally explicitly indicate that they have already done the codegen they want. This will simplify the logic in https://github.com/openxla/iree/blob/3b534c4299d28fd5fd04801a62955b3b25cba543/compiler/src/iree/compiler/Codegen/Common/MaterializeUserConfigs.cpp.

Closing as completed by #16427


asset Folder

Hi ....
i prepare a acoustic model for Urdu Speech.
Please tell me how i create asset folder ?
and which file are put in asset folder ?
one thing more what is .arr package library and where from i get this package ?

See the code


fix(starr): DD+ word boundaries

Pull Request
Purpose

Fix word boundaries that were not correctly adjusted with #1887.
Approach

Move word boundaries around whole expression.
Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

TrueHD didn't even a word boundary before #1887 so confirming for posterity adding that is intentional

TrueHD didn't even a word boundary before #1887 so confirming for posterity adding that is intentional

that is intentional yes


Critical error: accept tcp <IP_ADDRESS>:9980: accept: too many open files in system

macOS 10.12.4, Sia version 1.2.1
Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Finished loading in 0.077420784 seconds
goroutine 1 [running]:
runtime/debug.Stack(0x1043857, 0x0, 0xc420b475f8)
	/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
	/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Critical(0xc420b47948, 0x1, 0x1)
	/home/luke/go/src/github.com/NebulousLabs/Sia/build/critical.go:15 +0xa7
main.startDaemon(0x0, 0x0, 0x7fff5fbffd14, 0xe, 0x7fff5fbffd40, 0x5, 0x7fff5fbffd2f, 0x5, 0x0, 0x7fff5fbffd50, ...)
	/home/luke/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:295 +0xaa9
main.startDaemonCmd(0xc420089200, 0xc420019540, 0x0, 0x5)
	/home/luke/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:309 +0x6d
github.com/spf13/cobra.(*Command).execute(0xc420089200, 0xc42000e0d0, 0x5, 0x5, 0xc420089200, 0xc42000e0d0)
	/home/luke/go/src/github.com/spf13/cobra/command.go:648 +0x234
github.com/spf13/cobra.(*Command).ExecuteC(0xc420089200, 0x16c6004, 0x3b, 0xc42015a820)
	/home/luke/go/src/github.com/spf13/cobra/command.go:734 +0x339
github.com/spf13/cobra.(*Command).Execute(0xc420089200, 0x1aa4520, 0x16af49d)
	/home/luke/go/src/github.com/spf13/cobra/command.go:693 +0x2b
main.main()
	/home/luke/go/src/github.com/NebulousLabs/Sia/siad/main.go:174 +0x7ac
Critical error: accept tcp <IP_ADDRESS>:9980: accept: too many open files in system
Please submit a bug report here: https://github.com/NebulousLabs/Sia/issues
Closing renter...
Closing host...
Closing wallet...
Closing transaction pool...
Closing consensus set...
Closing gateway...
Shutdown complete.

This happened pretty much overnight.

Transferred SC to Sia
Created Allowance (1 TB)
Left at creating contracts ... this is where it must have happen

Were you running the UI? There is a known (and fixed but not yet released) issue with the UI that causes this issue. Release in a week or so

@DavidVorick indeed! Glad this has been fixed.


usonic sensor hardware issue

I have noticed that if I connect the sensor to the raspberry pi without resistor its working
There is a problem with that? I mean I have to put a resistor?  The software will work with flaws
If I won't put resistor? Thanks

The input pins of the Raspberry Pi only allow 3.3V
Putting a 5V on it is no good.
Using no resistor is bad.
Using only one 1k resistor isn't very good either.
You should use a voltage divider or logic level shifter.


Error with the Plugin i need Help!

Getting this error with multiverse.
http://pastebin.com/RFKvLhpj

Using quite an old version of the plugin, please grab one from the dev server.


Option to add custom templates that can be pasted anytime

Before Submitting Your Feature Request

[X] Check that there isn't already a similar feature request to avoid creating a duplicate.
[X] I have seen the FAQ.

Problem
Add an option to add custom templates that can be pasted anytime.
For example: email templates you need often, or chatgpt prompts, etc
Solution
No response

I feel like this is more of a snippet manager feature than a clipboard manager one. I always tried to avoid mixing these two in Maccy because I believe there are great snippet managers out there already. So for now, I will close this issue. Feel free to re-open and provide your perspective if you disagree.


Exporting with filter causes skips

If a filter is applied to an SCAssetExportSession, the exported asset often has skips in it. Here's a link to an example. You'll notice skipped frames in the middle and (although it's hard to see in this video) at the end.
I'm running the example project on an iPhone 5S.
Oddly enough, if you export in the same exact same way and don't have a filter selected (or even if you have an empty SCFilter selected), those skipped frames never seem to happen.

The skipping seems to only happen when the SCAssetExportSession videoConfig filter is being set by the filterSwitcherView (using currentFilter).
If I directly set the filter of the export session, I can't seem to produce any skips.

I added the NSCopying support in SCFilter. You can set the selectedFilter to SCAssetExportSession by copying it. SCFilter isn't thread safe, so if you put the same instance on a player and an exporter and that they both use it at the same time, you may encounter some problem : )

Ah ok that makes sense, thanks for adding that!


Handle sending trailer for completion when web socket closed

GrpcWebSocketBridgeHandler throws an exception when trying to send an empty trailer for completion.
Checking state of the underlying web socket instance before sending an empty trailer does not help, so using a try / catch block instead.
Only WebSocketError.InvalidState is handled so should not affect any other functionality.
The error looks like following
WebSocketException: The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived'
System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState (System.Net.WebSockets.WebSocketState currentState, System.Boolean isDisposed, System.Net.WebSockets.WebSocketState[] validStates) (at <6bb3336e864c4ab48c43a2538573e586>:0)
System.Net.WebSockets.ManagedWebSocket.SendPrivateAsync (System.ReadOnlyMemory`1[T] buffer, System.Net.WebSockets.WebSocketMessageType messageType, System.Boolean endOfMessage, System.Threading.CancellationToken cancellationToken) (at <6bb3336e864c4ab48c43a2538573e586>:0)
--- End of stack trace from previous location where exception was thrown ---
GrpcWebSocketBridge.Client.WebSockets.SystemNetWebSocketsClientWebSocket.SendAsync (System.ArraySegment`1[T] buffer, System.Net.WebSockets.WebSocketMessageType messageType, System.Boolean endOfMessage, System.Threading.CancellationToken cancellationToken) (at ./Library/PackageCache/com.cysharp.grpcwebsocketbridge@43c5556d52/GrpcWebSocketBridge.Client/WebSockets/SystemNetWebSocketsClientWebSocket.cs:40)
Cysharp.Threading.Tasks.UniTask+ExceptionResultSource.GetResult (System.Int16 token) (at ./Library/PackageCache/com.cysharp.unitask@50a67d8f41/Runtime/UniTask.Factory.cs:205)
Cysharp.Threading.Tasks.UniTask+Awaiter.GetResult () (at ./Library/PackageCache/com.cysharp.unitask@50a67d8f41/Runtime/UniTask.cs:312)
GrpcWebSocketBridge.Client.GrpcWebSocketBridgeHandler.ProcessRequestAsync (GrpcWebSocketBridge.Client.WebSockets.IClientWebSocket clientWebSocket, System.Net.Http.HttpRequestMessage request, GrpcWebSocketBridge.Client.Internal.ConnectionContext ctx, System.Threading.CancellationToken cancellationToken) (at ./Library/PackageCache/com.cysharp.grpcwebsocketbridge@43c5556d52/GrpcWebSocketBridge.Client/GrpcWebSocketBridgeHandler.cs:187)
GrpcWebSocketBridge.Client.GrpcWebSocketBridgeHandler.ProcessRequestAsync (GrpcWebSocketBridge.Client.WebSockets.IClientWebSocket clientWebSocket, System.Net.Http.HttpRequestMessage request, GrpcWebSocketBridge.Client.Internal.ConnectionContext ctx, System.Threading.CancellationToken cancellationToken) (at ./Library/PackageCache/com.cysharp.grpcwebsocketbridge@43c5556d52/GrpcWebSocketBridge.Client/GrpcWebSocketBridgeHandler.cs:196)
UnityEngine.Debug:LogException(Exception)
Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception) (at ./Library/PackageCache/com.cysharp.unitask@50a67d8f41/Runtime/UniTaskScheduler.cs:90)
Cysharp.Threading.Tasks.ExceptionHolder:Finalize() (at ./Library/PackageCache/com.cysharp.unitask@50a67d8f41/Runtime/UniTaskCompletionSource.cs:66)

Hi @mayuki !
Here's a minor fix of the GrpcWebSocketBridgeHandler, please take a look whenever you've got a minute.

Thanks! It looks good to me.


Unable to install in RStudio

Hello,
I am trying to install the package, but getting the following error.

install.packages("uaparserjs")
Warning in install.packages :
package ‘uaparserjs’ is not available (for R version 3.4.3)

I also noticed the package hasn't been updated since 2016 but the pdf  does say that it is compatible with R (>= 3.0.0). Could someone help me.
Regards

Hello,
Got the same issue as above.
Also I tried to install from source but still got error. I used Windows 10 and R 3.4.4
Regards,
Danai
`

install.packages("./packages/uaparserjs_0.1.0.tar.gz", repos = NULL, type="source")
Installing package into ‘C:/Users/ldanai/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)

installing source package 'uaparserjs' ...
** package 'uaparserjs' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
converting help for package 'uaparserjs'
finding HTML links ... done
ua_parse                                html
uaparserjs                              html
** building package indices
** testing if installed package can be loaded
*** arch - i386
Error: package or namespace load failed for 'uaparserjs':
.onAttach failed in attachNamespace() for 'uaparserjs', details:
call: context_eval(join(src), private$context)
error: RangeError: Maximum call stack size exceeded
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
removing 'C:/Users/ldanai/Documents/R/win-library/3.4/uaparserjs'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.4/bin/x64/R" CMD INSTALL -l "C:\Users\ldanai\Documents\R\win-library\3.4" "./packages/uaparserjs_0.1.0.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘./packages/uaparserjs_0.1.0.tar.gz’ had non-zero exit status
`

same error for me on linux this time

install.packages("uaparserjs", dependencies = TRUE,type = 'source')

I get a ERROR: configuration failed for package ‘V8’ so the package does not install.
* package ‘V8’ successfully unpacked and MD5 sums checked
Using PKG_CFLAGS=-I/usr/include/v8-3.14
Using PKG_LIBS=-lv8
------------------------- ANTICONF ERROR ---------------------------
```Configuration failed because  was not found. Try installing:

ok got it, thanks. I ended up using user-agent in python which seems ok
by the way, I would really appreciate your input about my question here https://github.com/hrbrmstr/splashr/issues/18 if you have 3 min :D
Thanks!!

works on windows now and on cran!


Fix typo in prometheus worker volumes metric.

😓
After the fix, we get distinct container and volume counts:
# HELP concourse_workers_containers Number of containers per worker
# TYPE concourse_workers_containers gauge
concourse_workers_containers{worker="c0bc0727b104"} 1
# HELP concourse_workers_volumes Number of volumes per worker
# TYPE concourse_workers_volumes gauge
concourse_workers_volumes{worker="c0bc0727b104"} 6

lol
thanks!


Find websites using MapLibre GL JS

Find scraping service for finding which websites use MapLibre GL JS

Maybe something like this:
https://www.similartech.com/technologies/mapbox

https://trends.builtwith.com/websitelist/MapLibre-GL-JS/Historical

Oha we have 0.04 percent market share in mapping:

https://trends.builtwith.com/mapping

Or this one: https://www.wappalyzer.com/technologies/maps/maplibre-gl-js/
Notable user of MapLibre GL JS: MapQuest!

https://www.wappalyzer.com/technologies/maps/

https://www.wappalyzer.com/technologies/maps/

nice stats @wipfli !


image updates for chapter 0.2

@jachiang please address the following:

https://github.com/bitcoinops/taproot-workshop/pull/13#discussion_r320789551
https://github.com/bitcoinops/taproot-workshop/pull/13#discussion_r324253922
https://github.com/bitcoinops/taproot-workshop/pull/13#discussion_r324481755

Fixes addressed in #25.


feature: Add DistanceJoint and 2D and 3D examples.

Hi,
This is a really cool project you've put together. I was using Rapier before this, and I really wanted a spring joint which isn't supported there. I hoped to find it here, but better than finding it I found that the XPBD means of expressing constraints and joints is so much easier to work with that I put one together myself that I hope you'll find useful.
Taking note from other XPBD implementations, I called this a DistanceJoint. When it's compliance does not equal 0 though it very much behaves like a spring joint.
I added examples in 2D and 3D. Here are some gifs on them.

One problem I didn't tackle was if you look at the heading describing a SphericalJoint and a DistanceJoint, they're not terribly distinct. However, upon inspection SphericalJoint is doing more than DistanceJoint. I wonder if there's a clearer way to discriminate between them in their one line descriptions.
Thanks for the code, and thanks for turning me onto the the XPBD methodology. Happy hacking!

Thanks, looks great! I'm glad that the constraints are understandable enough that people can make new constraints like this.
The main difference between this distance constraint and the spherical joint is that the spherical joint doesn't allow any relative translation, while the distance constraint allows 1 or 2 (2D/3D) translational DOFs. The spherical joint also has optional swing and twist limits. I added a comment to clarify the DistanceJoint description a bit.

Thanks for the kind words and the explanation for the difference between distance joint and spherical joint.
Honestly after I wrote the code and started writing the documentation, I had a jolt when I saw spherical joint's description and I wondered if I had just reimplemented it for no benefit (other than my own challenge). Glad that wasn't the case.
Look forward to putting this to use. Thanks for the speedy reply. I'm impressed with the pace of work I've seen on this project.

Yes. Absolutely. -ShaneOn Aug 2, 2023, at 9:20 AM, Joona Aalto @.***> wrote:
Thanks :)
Could you resolve the lint warnings so that I can get this merged? I think it's mostly whitespace stuff.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Support visibility groups in bazel-to-cmake for deployment artifact grouping

In the current implementation, all libs are marked as PUBLIC. At least for the targets in iree/base/internal, this is not intended. It would be nice to respect default_visibility set in the corresponding Bazel files.

It would be good to mark almost everything under iree/ as private besides the C API libraries and have bazel-to-cmake respect that. There may be some other cleanup we can do as part of a more install-focused build process.

We'll want to get this sorted so that we can use visibility to denote the public API and gather installable files. Renaming to better match the intent.

I think the directory organization is better and we practically haven't had many issues because of this, so marking as P3


Cache token in GitHub client

The GitHub client has been refactored to cache its tokens as long as they are valid. Once a token expires, it is recreated and cached again. This reduces the number of outgoing requests to the GitHub API by half, since each request always requested its own installation token.
The client now maintains an internal token factory, which required mutability to cache the tokens. This also required a change to the Action trait, which might turn out to be either good or bad. We consider this only the first of many changes to the public interface of both the client and the action trait, which will change as we learn more about the domain and their usage.

Codecov Report

Merging #48 (d404f68) into main (32f29bc) will increase coverage by 0.46%.
The diff coverage is 95.37%.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   93.03%   93.49%   +0.46%
==========================================
  Files          27       27
  Lines         632      646      +14
==========================================
+ Hits          588      604      +16
+ Misses         44       42       -2

Impacted Files
Coverage Δ

src/github/client.rs
88.23% <88.23%> (-0.66%)
:arrow_down:

src/github/token.rs
96.25% <95.65%> (+3.79%)
:arrow_up:

src/action/create_check_run.rs
92.59% <100.00%> (-0.52%)
:arrow_down:

src/action/get_file/mod.rs
91.78% <100.00%> (ø)

src/action/list_check_runs.rs
88.00% <100.00%> (-0.89%)
:arrow_down:

src/action/update_check_run.rs
89.28% <100.00%> (-0.72%)
:arrow_down:

src/macros.rs
94.44% <0.00%> (+5.55%)
:arrow_up:

Continue to review full report at Codecov.

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


confirm config.yaml is correct

Currently, the init using the latest bundle prompts with this screen regarding the feature flag used:

But, there is no way to toggle anything. This is using the latest uploaded xtp cli build (xtp version 0.0.0+f889800)

The config.yaml file is correct and seems to be rendered properly on my machine

❯ cd ~/.config/xtp/templates/dylibso/xtp-go-bindgen/v0.0.1-rc6
❯ cat config.yaml
template-suffix: ejs
dependencies:
  - tinygo

available-feature-flags:
  - name: stub-with-code-samples
    description: |
      Stub the `main.ts` implementations with code from the codeSamples property.
      By default the implementations will throw a not-implemented error. This will error out
      if every export doesn't have at least one typescript codeSample.
❯ xtp plugin init --template go
   Select feature flags

  1 item

  > 1.  [ ] stub-with-code-samples
            Stub the `main.ts` implementations with code from the codeSamples property.
            By default the implementations will throw a not-implemented error. This will error out
            if every export doesn't have at least one typescript codeSample.

  ↑/k up • ↓/j down • / filter • q quit • ? more

Press SPACE to toggle a feature flag
Press ENTER to confirm the feature flags
Note: You can pass in --feature none to disable all feature flags

Okay, I think I know what's going on. It seems like your terminal is not tall enough and the screen gets cropped (bubbletea can't render the entire view). I will decrease the list height

That is definitely the cause! Good thinking 🧠


C++ usage

In file included from /home/bernhard/Projects/nello_firmware_ng/src/main.cpp:4:0:
/home/bernhard/Projects/zephyr/include/sensor.h: In function 'int sensor_attr_set(device*, sensor_channel, sensor_attribute, const sensor_value*)':
/home/bernhard/Projects/zephyr/include/sensor.h:271:45: error: invalid conversion from 'const void*' to 'const sensor_driver_api*' [-fpermissive]
  const struct sensor_driver_api *api = dev->driver_api;
                                        ~~~~~^~~~~~~~~~
/home/bernhard/Projects/zephyr/include/sensor.h: In function 'int sensor_trigger_set(device*, sensor_trigger*, sensor_trigger_handler_t)':
/home/bernhard/Projects/zephyr/include/sensor.h:299:45: error: invalid conversion from 'const void*' to 'const sensor_driver_api*' [-fpermissive]
  const struct sensor_driver_api *api = dev->driver_api;

my config includes the CONFIG_CPLUSPLUS=y the target is the nrf52 dk dev boad.
How do I get around this? Specifiying -fpermissive does not solve my issue. I tried to include all C includes in extern "C" but no success.

CONFIG_COMPILER_OPT="-fpermissive" does not help either

This happens with 1.8.1 and the latest git of today

CXXFLAGS=-fpermissive make works though, but specifying it inside the makefile does not:
#required since pgio.h and snesors.h of zephyr otherwise fail to build
CXXFLAGS="-fpermissive"

BOARD ?= nrf52_pca10040
CONF_FILE = prj.conf

include ${ZEPHYR_BASE}/Makefile.inc

This is an issue for me too, i have to use -fpermissive, with that it works, but... it's permissive :)


Regressions on telemetry

Converting doNotTrack into an only-once function (#225) introduces a regression consisting on not honouring do-not-track feature if this is turned on in the middle of a session.

thanks for filing. I've reverted the PR #225 in PR #235 + followed up with PR #236


Enable assignee e-mail notification

Assignee right now doesn't get any notifications when new comment or when got a new issue.

It seems it's difficult to add a test for it.

I would like to close this PR and create new one, because the doer.ID check is missing so assignee receive self comments too.
Or I could simply push the fix in this PR?

Just to push.

One more mistake, because assignee is not mandatory it maybe empty, issue.Assignee != nil check enough or issue.AssigneID != 0 or better to use GetUserByID().

LGTM

LGTM

@ethantkoenig needs your approval


vivisect vamp function identification

https://github.com/fireeye/capa/discussions/414#discussioncomment-342163

Testing with vc32rtf derived signatures by adding a addFuncAnalysisModule in viv_utils. With default vamp this results in:
$ time capa tests/data/Practical\ Malware\ Analysis\ Lab\ 16-01.exe_ -d
DEBUG:capa:generating vivisect workspace for: tests/data/Practical Malware Analysis Lab 16-01.exe_
DEBUG:viv_utils.vc32rtf:loaded vc32rtf with 34503 sigs
DEBUG:viv_utils:perf: vw analyze: 6.12s
DEBUG:capa:format: pe, platform: windows, architecture: i386, number of functions: 172
INFO:capa.features.extractors.viv.helpers:gave 48 functions and skipped 124 lib functions
matching: 100%|##########| 48/48 [00:04<00:00, 11.78 functions/s]
...

real    0m16.930s
user    0m0.000s
sys     0m0.016s

vs. no signature matching
$ time capa tests/data/Practical\ Malware\ Analysis\ Lab\ 16-01.exe_ -d
DEBUG:capa:generating vivisect workspace for: tests/data/Practical Malware Analysis Lab 16-01.exe_
DEBUG:viv_utils:perf: vw analyze: 4.26s
DEBUG:capa:format: pe, platform: windows, architecture: i386, number of functions: 172
INFO:capa.features.extractors.viv.helpers:gave 171 functions and skipped 1 lib functions
matching: 100%|##########| 171/171 [00:12<00:00, 13.84 functions/s]
...

real    0m20.819s
user    0m0.015s
sys     0m0.016s

We've picked flirt (#435) over this due to better performance and re-usability.


Mcs 1298 stitch top down plotter

This depends on a fix to MCS-1301 that removes the image folder.  That folder is also probably going to be renamed and this will have to be updated, but that should be easy.

Should we add to this PR to provide a config way to switch between the two top down image generators or even provide a way to produce both?  This might ease the transition and mitigate risks.

@kdrumm We can definitely do that. Do you have a suggestion for how to approach this?

@kdrumm We can definitely do that. Do you have a suggestion for how to approach this?

I added some more config options that we can hopefully usually ignore.

@kdrumm We can definitely do that. Do you have a suggestion for how to approach this?

I added some more config options that we can hopefully usually ignore.

Awesome - I meant to ask, will this require any changes to either the Unity or Python PR for capturing the top-down images?

will this require any changes to either the Unity or Python PR for capturing the top-down images?

Nope!

I had to make some changes here.  I think at least one person should reapprove.


feat: add nav bar contets, images, dropdown

This PR will resolve #15
Changes:

Added navbar contents
Added dropdown menu for Events
Added logo

Dropdown UI doesn't match the design

Plan

Current

These changes were made in the latest pull request.

@SamratAdhikari I have a suggestion for improving the navbar UI. We could consider adding a subtle visual change for the selected item, such as changing its color or adding an underline (e.g., when "Home" is selected make this nav item different than others). This could help distinguish the active item and enhance the overall navigation experience.
Feel free to explore this and see if it improves the look.

I will start working on distinguishing the active page from the rest immediately. Thanks

Changes:

Active Page Color: Implemented base-black color for the active page.
Responsive Design: Improved the responsiveness of the navigation bar to ensure better display across various screen sizes.

Issues:

Hover Effects: Jekyll variables are not functional with some effects, hence the decision to hardcode hex values for hover states. (open to suggestions)
Medium Screen Responsiveness: The design is not quite responsive for a few medium sized screens.

Output:

Going for merge


Use log crate for debug logging

dav1d contains a variety of debug logs, and its own infrastructure for enabling and disabling logging. Currently when we cleanup transpiled code, these are getting converted into println! invocations, but it would be more idiomatic to use the log crate instead. We may eventually want to replace dav1d's infrastructure for controlling log verbosity with something that integrates better with the log crate, but that doesn't have to happen right away.

I looked at the rav1d_log function and the logger callback and I think we should replace our logging with Rust formatting and if a C user wants a log callback we just pass the formatted string to that logger callback without varargs.


CopyGCSObjects can update or apply acls

Codecov Report

Merging #75 into master will decrease coverage by 0.21%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   78.99%   78.78%   -0.22%
==========================================
  Files          22       22
  Lines        1495     1499       +4
==========================================
  Hits         1181     1181
- Misses        241      244       +3
- Partials       73       74       +1

Impacted Files
Coverage Δ

daisy/workflow/step_copy_gcs_objects.go
64.81% <25%> (-3.19%)
:arrow_down:

daisy/workflow/step.go
91.95% <0%> (-1.15%)
: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 43616d2...1a73c0d. Read the comment docs.


10 safe addresses related to airdrop hunters

10 safe addresses related to airdrop hunters
0x204ea9a401bfd0b5e3b0ac81d3c92957f06abaef
Related Safe Addresses
0x07a548209a561aa4194d894a7d2ff1f17e8b5407
0x0c01ecf03c9bbde21d5ae633b4aa724b39a4939a
0x5da052804920156c90691154a1cb920d3c26f382
0x725ec5c1e884d90519165d78aac336d0c30b09b9
0x935c95e9558ea8387126463199ce6bc5fd08dc91
0x96e85af1f121dc539afa770de49468b704d391f4
0xc724946ba20ef547a1dbea1158ec79711870af69
0xccb86121542fcb08ead9e86ff7a7d8c0018e6c7f
0xe17868f1da82aae105545a95d27161130feaf48d
0xefcd73d806ef1daf5b09814e1a3faee68aa38ec5
Reasoning

10 safe address, from address of txs are all 0x204ea9a401bfd0b5e3b0ac81d3c92957f06abaef or 0x668b2E2F9FD9679e6F613f538872a91Cf2c7cD6B
0x204ea9a401bfd0b5e3b0ac81d3c92957f06abaef it's human EOA address
6 safe address, the nums of txs are 3, the same time Jul-22-2021 11:44:07 AM +UTC,Jul-26-2021 02:24:49 PM +UTC,Aug-23-2021 02:27:25 PM +UTC.
13 safe address, all 300+ days have not txs
10 safe address, the balance is 0 eth

safe address,nums of txs
0x0c01ecf03c9bbde21d5ae633b4aa724b39a4939a 3
0x5da052804920156c90691154a1cb920d3c26f382 3
0x725ec5c1e884d90519165d78aac336d0c30b09b9 3
0x96e85af1f121dc539afa770de49468b704d391f4 3
0xc724946ba20ef547a1dbea1158ec79711870af69 3
0xefcd73d806ef1daf5b09814e1a3faee68aa38ec5 3
0x07a548209a561aa4194d894a7d2ff1f17e8b5407 4
0x935c95e9558ea8387126463199ce6bc5fd08dc91 9
0xe17868f1da82aae105545a95d27161130feaf48d 9
0xccb86121542fcb08ead9e86ff7a7d8c0018e6c7f 15
Methodology
download txs of safe addresses use etherscan api ,and check the common action of the txs use python, at last check the transactions on https://etherscan.io/ one by one.
https://etherscan.io/address/0x07a548209a561aa4194d894a7d2ff1f17e8b5407
https://etherscan.io/address/0x0c01ecf03c9bbde21d5ae633b4aa724b39a4939a
https://etherscan.io/address/0x5da052804920156c90691154a1cb920d3c26f382
https://etherscan.io/address/0x725ec5c1e884d90519165d78aac336d0c30b09b9
https://etherscan.io/address/0x935c95e9558ea8387126463199ce6bc5fd08dc91
https://etherscan.io/address/0x96e85af1f121dc539afa770de49468b704d391f4
https://etherscan.io/address/0xc724946ba20ef547a1dbea1158ec79711870af69
https://etherscan.io/address/0xccb86121542fcb08ead9e86ff7a7d8c0018e6c7f
https://etherscan.io/address/0xe17868f1da82aae105545a95d27161130feaf48d
https://etherscan.io/address/0xefcd73d806ef1daf5b09814e1a3faee68aa38ec5
Safe Address
0xd8878417378CB18D315b4768503fC39487f90580

Thanks for the report. Owning several Safes is not airdrop farming per se, but quite common.
The Safes you linked stored quite an amount of USD stable coins for some time, each. Safe as store of value is legitimate usage. Hence closing this.


Delete ENV Export in README.md

No need to export environment variables, they are already defined in .sample.env
export FLASK_APP fbosbot
export FLASK_RUN_HOST <IP_ADDRESS>
export FLASK_ENV development

We should delete this section !

I assume this should be deleted from the Readme file

hey @elinguiuriel can I fix this?

@vj-codes you're just on fire 🔥 . Assigned to you


Impl rules not loaded when using clara-0.17.0

May be due to changes with namespace resolution in CLJS:
https://github.com/cerner/clara-rules/pull/360/files/bf35443b2b1f2cd25f31e796eae74f32ce082060#diff-550d7ef80ca9d9b77a96a7daa011fce6R183
https://github.com/cerner/clara-rules/pull/360/files/bf35443b2b1f2cd25f31e796eae74f32ce082060#diff-d36657207c7dc409b99d9e6ce628b462R248
Appears to affect entities macro (which depends on rules defined precept.impl.rules) as well as clear-transients___impl.
Haven't investigated whether this fixes #111 yet but I expect it to. So we'll probably want a fix that addresses the loading of rules from the impl ns.
Our hot-reloading implementation appears to fix the problem but actually doesn't. This is because we strip :transient facts from the set of unconditional inserts that we load into the session when it reloads.
Reverting to b5795258b1a205806578543de2a4f8a1e2be31e9 of my branch of clara-rules fixes this issue.

Fixed in #113 which is not merged at this time. Electing to close to avoid confusion.


Navbar

We normally use 4 spaces for indentation, It will be nice if we can maintain that uniformity.


Do we want to keep the CLA?

Several people today (@RealOrangeOne, @mildlyincompetent) have raised issues today about the CLA on this repo and think that it's unnecessary.

@mildlyincompetent Please could you make a case for removing the CLA?
PROS of the CLA:

Ensures that the licence agreement has been explicitly read and agreed to.
A bot ensures that this is the case
This will ensure that contributors do not try to retract their work or lead to licensing disputes in the future.

Options if we decide not to keep the CLA:

Replace the CLA text with the LICENCE to ensure that contributors have read it.
Remove both the CLA and the Bot.

CLA Text

First let's discuss the pros of the CLA to see how advantageous they are:

Ensures that the licence agreement has been explicitly read and agreed to.

Realistically, anyone contributing to an open source project will understand that their contributions will be shared under the license of the project. It is very difficult to contribute to a GitHub project without noticing the big flashy license. Therefore we can pretty much assume that, for good faith contributors, the CLA serves no informational or consent-establishing purpose.

A bot ensures that this is the case

This is better than requiring a human to ensure it, but still adds friction to contributions.

This will ensure that contributors do not try to retract their work

Realistically this does not protect us adequately from malicious (intentionally or otherwise) contributors. The MIT license (which is commonly accepted as applying to contributions) already grants us a license to use contributions. But let's consider the two primary risks: malicious contributor, and malicious employer.
 If they DMCA us (which they could since GitHub is based in the US) or just throw lots of money at the problem, we're basically screwed regardless unless we have some hidden pot of money for lawyers that I am unaware of. Should we fight a legal case on this topic, the CLA simply makes a win more likely - it does not ensure it, and nor does its lack ensure a loss. I would sure hope that a reasonable court would side with us regardless, however given that we'd be dealing with potentially international copyright law, I very strongly doubt we could actually afford such a case.
Malicious employer: the CLA does effectively nothing to protect us, since the contributor's IP is owned by their employer not the contributor. They do not have the authority to either sign the CLA or release their work under the MIT license. We are pretty much screwed in this instance. Yes the CLA requires them to confirm that they have this authority, but that doesn't really help us if this happens to be untrue.

or lead to licensing disputes in the future.

Personally I consider this a disadvantage.  The need to avoid licensing disputes is easily resolved by just picking a good license and sticking to it, but that's just my opinion.
Note that if the copyright is assigned to "j5 contributors", it is unclear whether we can actually trivially re-license anyway, so if this is a significant concern, I'm not sure if our current approach to the CLA is appropriate.
I'd like to add that our CLA in general is a bit murky - we state that "to the extent possible under law, you transfer all copyright and related or neighboring rights of the code or documents you contribute to the project itself or its maintainers." The project itself is not, to my knowledge, a legal entity. Therefore we are left with the project maintainers, who are not really well defined should this come to a legal dispute. I really don't think it gives us that much protection.
So what are the disadvantages of a CLA:
Easy re-licensing: if the CLA has an appropriate copyright transfer clause (I'm not entirely convinced ours does), the project can be easily re-licensed. I consider this a disadvantage precisely because the maintainers alone can re-license, including under nasty licenses. Since we're using MIT, there's little in the way of simply forking and licensing under any more restrictive license, but still - I don't really like the idea of contributors effectively having no rights as to how their work is licensed.
Contribution friction: this is a direct and active disadvantage. In general I feel that this project is currently quite hostile to new contributors, and this doesn't help. I myself am not convinced that any of the advantages of the CLA are either that advantageous or easily achieved with our current CLA. Meanwhile the friction generated for contributors exists as soon as someone wants to contribute. A lot of people are scared of big legal agreements, or simply get confused.
Personally I would support removing the CLA and the bot. I do not support the replacement of the CLA with the LICENSE file, because that keeps the main real disadvantage of friction, while just weakening basically all of the perceived advantages.

Realistically, anyone contributing to an open source project will understand that their contributions will be shared under the license of the project. It is very difficult to contribute to a GitHub project without noticing the big flashy license. Therefore we can pretty much assume that, for good faith contributors, the CLA serves no informational or consent-establishing purpose.

I dislike assumptions.

This is better than requiring a human to ensure it, but still adds friction to contributions.

Personally I consider this a disadvantage.  The need to avoid licensing disputes is easily resolved by just picking a good license and sticking to it, but that's just my opinion.

The lack of a CLA doesn't stop this either. It's still under MIT and you can still fork.

Note that if the copyright is assigned to "j5 contributors", it is unclear whether we can actually trivially re-license anyway, so if this is a significant concern, I'm not sure if our current approach to the CLA is appropriate.

We should probably define this better. I suggest looking at other MIT licence projects and doing what they do.

Easy re-licensing: if the CLA has an appropriate copyright transfer clause (I'm not entirely convinced ours does), the project can be easily re-licensed. I consider this a disadvantage precisely because the maintainers alone can re-license, including under nasty licenses. Since we're using MIT, there's little in the way of simply forking and licensing under any more restrictive license, but still - I don't really like the idea of contributors effectively having no rights as to how their work is licensed.

Forking can be done anyway.

In general I feel that this project is currently quite hostile to new contributors

If this is the case, then I am greatly concerned and wish to discuss the issues that you see that cause this along with any proposed solutions.

Personally I would support removing the CLA and the bot.

🤖😢😢🤖
To be clear. I agree with the removal of it at this stage.

I do think its important that our contributors are made aware that their contributions are being made on the terms of the license, because many of our contributors are less familiar with open source development practices and software licensing than you or I and it would be good to help them learn more about it. However, I don't feel too strongly about how we go about doing this. I'm happy if you want to remove the CLA. Personally I'd happy with the statement "by contributing to this project I agree that my contributions will be made public under the terms of the project's license" being made visible when creating a PR, or simply in the contributing guidelines.

I only signed the CLA because I believed that my contribution was more important than my objections to a CLA. Personally I consider the requirement to sign a CLA a blocker to me contributing. A project on this scale doesn't need a CLA, most of the contributors are doing so on good faith.
Entities like Facebook require CLAs to protect them against any legal issues, which would be a massive deal for them.
The main thing a CLA protects against in our case is re-licensing (I think). The chances of us doing that are incredibly low, and even then there will be a large intersection between the people involved in said discussion and the contributors.

I have disabled the CLA. Please re-open the ticket if we want it reinstated.


Add warning message when exporting svg from workflow

When exporting SVGs, I think it could be helpful to have a warning message if a workflow does not compile or the environment doesn't contain all the necessary packages to run the workflow (which creates hatched nodes in the exported SVG).

@cjsha this is a good idea. I am wondering whether we should go forward and actually fail the call with an error, since for such purposes the resulting export will most likely never be quite useful.
That way CI systems could more easily signal a failure in their pipelines.


Fix HEAD method for robots.txt

Fix #30601
~$ curl --head localhost:3000/robots.txt
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 5
Content-Type: text/plain; charset=utf-8
Last-Modified: Wed, 19 Jul 2023 04:56:12 GMT
X-Gitea-Debug: RUN_MODE=dev
Date: Fri, 19 Apr 2024 12:59:44 GMT

HEAD requests by definition must not have a body, e.g. no Content-Length or Content-Length: 0 only.

Are you sure? Would you like to learn it first before putting a change request?

Ah, Content-Length is fine, but it does not send any actual content, right?

@wxiaoguang why are you dismissing without answering my question? That's rude.

Ah, Content-Length is fine, but it does not send any actual content, right?

It calls Golang's standard HTTP library, Golang already handles it correctly.

@wxiaoguang why are you dismissing without answering my question? That's rude.

I think the question has been answered and the concern has been addressed. All are standard.

Ok, I think we should enable HEAD methods on all these GET methods defined in Routes.

@wxiaoguang why are you dismissing without answering my question? That's rude.

I think the question has been answered and the concern has been addressed. All are standard.

Blocks should be dismissed by their author only, unless the author is unresponsive, then it's fine when someone else dismisses it.

Ok, I think we should enable HEAD methods on all these GET methods defined in Routes.

Actually no. Because most dynamic route handlers do not support HEAD.
Golang standard library only handles "file serving".

Yeah, it would be needed to be coded there. But I see we can at least enable it for /metrics. I will follow up.

@wxiaoguang why are you dismissing without answering my question? That's rude.

I think the question has been answered and the concern has been addressed. All are standard.

Blocks should be dismissed by their author only, unless the author is unresponsive, then it's fine when someone else dismisses it.

TBH I was a little unhappy about that change request, I also felt a little rude of it too. Because, it seems that you didn't really look into it (your referred document also said the "content-length" could exist). Hopefully you could also understand my feeling.

Yeah, it would be needed to be coded there. But I see we can maybe enable it for /metrics.

If and only if the handlers really support HEAD method.

My conclusion is that it's a waste of server resources to send Content-Length in HEAD because you are basically building a body and then immediately throwing it away.


Windows Form for Core SignalR Client

I created a Windows Form with Core SignalR Client.
In TcpConnection.cs appears three errors. I had download System.IO.Pipelines by Nuget. I cannot install System.IO, Visual Studio 2017 display that it does not find the System.IO.dll.
Does somebody know how to solve this problem?
'DuplexPipe' is inaccessible due to its protection level
'DuplexPipe.DuplexPipePair.Transport' is inaccessible due to its protection level
'DuplexPipe.DuplexPipePair.Application' is inaccessible due to its protection level

    public async Task<ConnectionContext> StartAsync()
    {
        await _socket.ConnectAsync(_endPoint);

        var pair = **DuplexPipe**.CreateConnectionPair(PipeOptions.Default, PipeOptions.Default);

        Transport = pair.**Transport**;
        _application = pair.**Application**;

        _ = ExecuteAsync();

        return this;
    }

Originally posted by @akira32 in https://github.com/aspnet/SignalR/issues/3259#issuecomment-437272538

TcpConnection is not officially supported, it is a sample. DuplexPipe is a helper type we produce, you can copy it from the source.

@anurse , Thank you! My problem is solved.


Create .hgignore

Mercurial is a superior VCS system nobody uses, let's make it possible to change this repository into Mercurial repository. Yay!!!1!!1

Our chaos git overlord does not agree!
👎


Receive additional data

I'm using Ionic 2 and sending data in the push message, that's fine, but I'm not able to get that data in the application, but I know they're coming because I'm monitoring through Android Studio:
My code is:
initPushNotification()
{
var push = Push.init({
android: {
senderID: '999999999999'
},
ios: {
alert: 'true',
badge: true,
sound: 'true'
},
windows: {}
});
}
push.on('notification', (data) => {
alert(JSON.stringify(data));
});
push.on('error', (e) => {
console.log("Erro: ", e.message);
});
}
But when the message arrives if the application is open nothing happens, if it is closed it plays the audio and it appears, but this Alert when the app is open does not work.
By Android Studio I see that I get the message, it comes like this:
V/PushPlugin: extrasToJSON: {"title":"Title","message":"XXXXXX","additionalData":{"dado1":"0","dado2":"0","google.message_id":"0:1488486182299980%017aec09f9fd7ecd","dado3":"7","coldstart":false,"collapse_key":"do_not_collapse","foreground":true}}
Where am I going wrong?
Thank you.

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


Add Kanban view

What do you think about adding a kanban view? Some people report that kanban works better for them than GTD and can also be used together.

https://hackernoon.com/personal-kanban-part-1-why-todo-lists-don-t-work-3b5c6dc78708
http://www.ericlee.info/blog/?p=1068
https://lifehacker.com/productivity-101-how-to-use-personal-kanban-to-visuali-1687948640
https://www.personalkanban.com/personal-kanban-101
https://nomad8.com/articles/everyone-needs-kanbanfor1
As first step, you can implement it as following:

You have 3 columns: todo, doing, done
done shows tasks that are marked as done, sorted by completion date (newest on top)
doing shows tasks with project +doing sorted by priority (highest on top)
todo shows every other tasks sorted by priority (highest on top)

The tasks are rendered as cards. When you drag a card from todo to doing, the project +doing is added to the task (so it's shown in that column). When the task get's moved from doing to done, the project +doing is removed and the task is marked as done.
That's probably not that complicated to implement and should work for many people.
A next step is to make it configurable. You are able to remove the default columns and create new ones. Set displayed name and criteria when a task is shown there and when excluded. Also how it is sorted. You can change configuration later. Card color is according to the priority. You can move cards in a column in the space of other tasks with same priority. So when your tasks have no priority, you can just move the cards freely and use it for your priority.
I should be able to set a work in progress limit for column. Both soft (only show warning) and hard (show error and refuse to move card). Default for doing should be soft 3 (personalkanban recommendation).
I consider having inbox, next, doing, waiting, done as columns where inbox shows all tasks not in the other columns and don't have the project +idea. So there is your user story.

I love this idea, thank you for this complete proposal.
Unfortunately I don’t use kanban and I’ll probably don’t have motivation to write the most configurable view, that could be another software.
But I've been thinking about a minimal implementation:

I also think that easy to implement, and I let interested people doing more complex stuff.

That's also the most minimal implementation of kanban in general, but should work well for personal tasks. It can get improved later.
There are a lot of good Kanban boards. Some more simple, some very komplex with support for teams and integrated in productivity suites like Taiga or Nextcloud. But they are all browser-based and don't support todo.txt. So when effitask supports it, it's the only todo.txt client with kanban support. And i came across one other person who would like to have that.
https://chaos.social/web/statuses/101517219697963872
Here are the other Kanban boards that i found, that  should be usable:
https://codeberg.org/swiso/website/issues/72
@sanpii what did you use to create the mockup? Looks very good.

I can’t read the status on chaos.social.
@davidak http://pencil.evolus.vn/
Here the source if you want improve it: kanban.zip

I searched for the hashtag #kanban in the fediverse and found this one todo.txt related post:

I don't see anything to improve. Everything else would be additional features. Like a work in progress limit would be an important feature, but can get implemented in a next step.


Cutsom serializers

It’s great that mpire supports dill as a serilizer because that makes it possible to de/serialize any Python object but also could pose a security risk.
I’d like to be able to communicate between the processes with AMQP 1.0.
Is there a way to create a custom message serializer for MPire workers?

I'm not familiar with AMQP or experienced with RabbitMQ, so I don't have a super clear idea on the implications of the request.
That being said, mpire makes use of multiprocessing contexts to switch between different types of multiprocessing. Support for dill is added by utilizing the multiprocess package, which also provides their own contexts.
I can image that adding a new communication method would be easiest to do by creating yet another context (or multiple ones for spawn/fork/etc.) which uses a modified version of the different synchronization primitives (e.g., the Queue object), swapping out the Pipe with whatever amqp provides. But I have no idea if amqp can be translated to such an interface, or that it would require much more effort.
If you have other ideas, let me know.

Cannot this be done using a shared queue? Something like:
import io
import pickle
import time
from multiprocessing import Queue as _Queue

from mpire import WorkerPool

class CustomPickler(pickle.Pickler):
    ...

class CustomUnpickler(pickle.Unpickler):
    ...

class CustomQueue:
    def __init__(self):
        self._queue = _Queue()

    def put(self, obj):
        buf = io.BytesIO()
        CustomPickler(buf, pickle.HIGHEST_PROTOCOL).dump(obj)
        self._queue.put(buf.getvalue())

    def get(self):
        buf = io.BytesIO(self._queue.get())
        return CustomUnpickler(buf).load()

def foo(queue, x):
    time.sleep(1)
    queue.put(x)

def main():
    queue = CustomQueue()

    with WorkerPool(n_jobs=5, shared_objects=queue) as pool:
        for _ in pool.imap_unordered(foo, range(10)):
            result = queue.get()
            print(result)

if __name__ == "__main__":
    main()

fasterfifo seems interesting. I see it doesn't support Windows, which is not a deal-breaker as it can be an optional dependency. It also doesn't perfectly mimic the vanilla Queue regarding timeouts. I'll have to see what the implications are of that. The only other downside I see, which is a big one, is that the maintainer doesn't seem to have time to continue working on it. fasterfifo could be added as an experimental feature, though (if I can get it to work on mac/linux for all python versions currently supported).
If anyone else knows of alternatives to fasterfifo that are perhaps a bit more stable/mature, I'd like to hear from you


internet connectivity extension

this extension checks if a device is connected to the internet.

Thanks for submitting this 👍
I made a few comments to clean the extension. Let me know when you have applied this.
Thanks!

Okay I am done, you can have a look at it now.

@4ian i completely forgot about this extension. could you review it now.

Thanks for pinging me @the-gem-dev! I've added comments :)
When you've applied them we're good to publish this.

@the-gem-dev some new things to review? :)
This issue was similar.
The Battery API is deprecated, but we can merge the online check and the language check?
I'll be happy to add the extension with theses features and close the issue.

Thanks! Made a few fixes and added in 8aebdf34619817e386346b29b33ba62df17d75a2


Allow adding apollo context option on a component level

context: ... in the queries isn't working for you?

context is now reactive.


Problem with "clientWidth" and "clientHeight"

Hi,
I am using react-image-crop for cropping an image in my project. So I have a problem in Windows machine Chrome Browser.
That is "clientWidth" and "clientHeight" of ReactCrop component is always 0. In Firefox it runs well. Is there any solution to fix this issue.
Thanks

Hi what version are you using and what version of chrome?
On Mon, 30 Sep 2019 at 16:05, Varadharaj<EMAIL_ADDRESS>wrote:

Hi,
I am using react-image-crop for cropping an image in my project. So I have
a problem in Windows machine Chrome Browser.
That is "clientWidth" and "clientHeight" of ReactCrop component is always
0. In Firefox it runs well. Is there any solution to fix this issue.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DominicTobias/react-image-crop/issues/302?email_source=notifications&email_token=AAFZT6X5MAGIISHUUY3NIULQMIISHA5CNFSM4I34HO3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOSR46Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFZT6VMXGUYMP45JO3TKZ3QMIISHANCNFSM4I34HO3A
.

Hi what version are you using and what version of chrome?
…
On Mon, 30 Sep 2019 at 16:05, Varadharaj @.***> wrote: Hi, I am using react-image-crop for cropping an image in my project. So I have a problem in Windows machine Chrome Browser. That is "clientWidth" and "clientHeight" of ReactCrop component is always 0. In Firefox it runs well. Is there any solution to fix this issue. Thanks — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#302?email_source=notifications&email_token=AAFZT6X5MAGIISHUUY3NIULQMIISHA5CNFSM4I34HO3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOSR46Q>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFZT6VMXGUYMP45JO3TKZ3QMIISHANCNFSM4I34HO3A .

"react-image-crop" - V 8.3.1
"Windows" - 10
Google Chrome is up to date
Version 77.0.3865.90 (Official Build) (64-bit)

Code I Used:
<ReactCrop
ref={reactCropRef => { this.reactCropRef = reactCropRef;}}
src={image}
crop={crop}
onImageLoaded={this.onImageLoaded}
onChange={this.onCropChange}
onComplete={this.onCropComplete}
/>

Console Log ^^

This is not really a bug with the library as it's related to your setup or what the browser has decided to do. Did you make the component inline (incl. inline-block or inline-flex etc) by any chance? I just tested on Windows and Chrome on the sandbox demo and it gets the dimensions fine -

Please make a reproducible example with the codesandbox demo

Hi @DominicTobias,
We haven't change any display setting. By default, it has "inline-block".

The same code works fine in Mac Chrome browser.

Ah fair enough I can't remember the historical reason for inline-block, seems strange. I'll consider removing it in later releases. I do not have the issue on Windows however try changing the display to block. In the w3 spec clientWidth and height is 0 if the element is inline (not sure about inline-block)

I have an issue which I think might be related. In Chrome, the image cropper looks like this:

However, in firefox, it looks as I'd expect

We've had it working in Chrome before, however, ReactCrop has recently started exhibiting this behavior. Explicitly setting the height of ReactCrop through style and imageStyle works but since we do not know the exact height of the image to crop, this is not a feasible solution. Setting display of ReactCrop to block doesn't make a difference

Hi what version are you using?
On Mon, 14 Oct 2019 at 14:35, Niklas Nørregaard<EMAIL_ADDRESS>wrote:

I have an issue which I think might be related. In Chrome, the image
cropper looks like this:
[image: Screenshot 2019-10-14 at 14 30 56]
https://user-images.githubusercontent.com/6885285/66755136-4cef5c80-ee8f-11e9-888f-5117e7132324.png
However, in firefox, it looks as I'd expect
[image: Screenshot 2019-10-14 at 14 32 40]
https://user-images.githubusercontent.com/6885285/66755245-7f995500-ee8f-11e9-880b-ef7d0321285d.png
We've had it working in Chrome before, however, ReactCrop has recently
started exhibiting this behavior. Explicitly setting the height of
ReactCrop through style and imageStyle works but since we do not know the
exact height of the image to crop, this is not a feasible solution. Setting
display of ReactCrop to block doesn't make a difference
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DominicTobias/react-image-crop/issues/302?email_source=notifications&email_token=AAFZT6WLCW4SJJI7FUKEKVDQORYSBA5CNFSM4I34HO3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBEWOVA#issuecomment-541681492,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFZT6VQQ4G3GURTSK2ELJLQORYSBANCNFSM4I34HO3A
.

Same here.
I'm working on mac, and Firefox works fine, but Chrome does not show image properly.(width and height are all 0)
My chrome version is up to date. Version 77.0.3865.120 (Official Build) (64-bit)
react-image-crop version is also up to date. 8.3.1
I don't know exactly, but it used to work fine. Maybe as Chrome's version has been updated, it's been broken.

Are you able to replicate this on the codesandbox? It used to happen after
a Chrome update when the cropper was wrapped inside a display:grid
container and I removed a max-height property to workaround it. I’ll see if
I can see the same issue but otherwise will need to know how you’ve wrapped
it if it’s not happening normally
On Tue, 15 Oct 2019 at 07:00, Hakjoon Sim<EMAIL_ADDRESS>wrote:

Same here.
I'm working on mac, and Firefox works fine, but Chrome does not show image
properly.(width and height are all 0)
My chrome version is up to date. Version 77.0.3865.120 (Official Build)
(64-bit)
react-image-crop version is also up to date. 8.3.1
I don't know exactly, but it used to work fine. Maybe as Chrome's version
has been updated, it's been broken.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DominicTobias/react-image-crop/issues/302?email_source=notifications&email_token=AAFZT6RK2AUBEF2PZXO2NNDQOVL75A5CNFSM4I34HO3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBHQVEA#issuecomment-542050960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFZT6Q4SHOL55LMNDKMCK3QOVL75ANCNFSM4I34HO3A
.

@DominicTobias
Please check my comment again. The Cropper was wrapped bootstrap's grid. But I noticed the css has been updated recently, and I updated it, then the problem solved.
Thanks.

Sounds like you solved it so closing this


Support downloading index.db to a specified path

mport index command should also support saving to a custom directory
e.g.
mport index ./mypath

This is handled by the new PKG_DB env var instead.


fix setup.py

Removed check_previous from setup.py as pip.get_installed_distributions() throws error and check_previous is removed in the upstream.
https://github.com/apache/incubator-airflow/blob/master/setup.py#L233-L235
Traceback (most recent call last):
  File "setup.py", line 305, in <module>
    do_setup()
  File "setup.py", line 199, in do_setup
    check_previous()
  File "setup.py", line 105, in check_previous
    in pip.get_installed_distributions()])
AttributeError: 'module' object has no attribute 'get_installed_distributions'

:eyes: @feng-tao @astahlman

:+1:


Provide default for GITHUB_TOKEN

See https://github.com/actions/checkout/blob/94c2de77cccf605d74201a8aec6dd8fc0717ad66/action.yml#L24

Yep see the documentation:

A token to authenticate on behalf of the GitHub App installed on your repository. This is functionally equivalent to the GITHUB_TOKEN secret.

As for masking, yes, the masking on GitHub is value-based. If the value of the token is printed to the logs for any reason, and it doesn't matter how it got there, the processor of the logs will mask the value before rendering it, including in the "raw" logs.

Thanks, that makes sense.

Done!  🆗


feat(install): expose hypershift-readers ClusterRole at install time

What this PR does / why we need it:
Today, hypershift install exposes a flag:
--enable-admin-rbac-generation
which creates ClusterRoles and ClusterRoleBinding for Hosted cluster admins and readers.
We want to start using the hypershift-readers ClusterRole in ROSA HCP to replace the one currently deployed on the Management Clusters by OSDFM, as it was already agreed that this is better located in HO, as it is close to the resources and the logic.
To do that, we need to:

add a new install flag
--enable-reader-rbac-generation
that creates only the hypershift-readers ClusterRole (as the binding will be handled elsewhere), to avoid creating useless resources that could impact the exposure
align the ClusterRole with what we have on OSDFM in terms of role aggregation and also add the missing HyperShift API group for certificates which where added recently in HyperShift

The existing flag --enable-admin-rbac-generation is kept unchanged in case we want to deploy both personas including ClusterRoleBindings.
Which issue(s) this PR fixes:
Fixes #HOSTEDCP-1536
Checklist

[X] Subject and description added to both, commit and PR.
[X] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/retitle HOSTEDCP-1536: feat(install): expose hypershift-readers ClusterRole at install time

Hey @andreadecorte 👋🏻 - looks like you are failing verify because you are missing a generated file. If you run make verify locally, it should show up.

Hey @andreadecorte 👋🏻 - looks like you are failing verify because you are missing a generated file. If you run make verify locally, it should show up.

thanks for the hint, fixed!

/test verify

/test e2e-kubevirt-aws-ovn

closing as not prioritized. OSDFM can reopen if there is further interest on this


Project "10 Gbit PON Burst Mode Receiver IC" cannot be deleted

Bug description
Project 10 Gbit PON Burst Mode Receiver IC cannot be deleted.
Steps to Reproduce

Go to a publication https://backoffice.bibliodev.ugent.be/publication/01HFXNG2416Z84P1JBAYC5WRXS?redirect-url=%2Fpublication#projects (happens local, dev, test and production)
Add the project 10 Gbit PON Burst Mode Receiver IC

Try deleting it:

Likelihood
6: incredible
Only this project
Consequences
3

Fixed with https://github.com/ugent-library/biblio-backoffice/issues/1332


fromProtected, isError

These two variables are static. A large number of simultaneous requests can cause problems. Wouldn't it be better if these variables were stored in echo.Context ? Am I wrong ?

These two variables are static. A large number of simultaneous requests can cause problems. Wouldn't it be better if these variables were stored in echo.Context ? Am I wrong ?

You're right. I only did it this way for simplicity and speed, but, as you say, it can cause problems. I have removed those global flags and stored them in echo.Context and created a middleware to handle the fromProtected flag based on the authentication status on the Home, Login and Register pages.
You can see it in this commit.
Thank you for your advice.👌

Thanks. Great project !


Video object not updated when playlist advances to an HLS item

I am getting stale video objects from the API when I have an HLS item in the second or later position of a playlist.  This can be observed at http://codepen.io/anon/pen/wGpYjG or with the following code (I'm using Chrome 49):

<link rel="stylesheet" href="//releases.flowplayer.org/6.0.5/skin/minimalist.css">

flowplayer('#video', {
  playlist: [{
    sources: [{
      type: 'application/x-mpegurl',
      src: '//stream.flowplayer.org/bauhaus.m3u8'
    }]
  }, {
    sources: [{
      type: 'application/x-mpegurl',
      src: '//content.jwplatform.com/manifests/vM7nH0Kl.m3u8'
    }]
  }]
}).on('progress', function(e, api) {
  videourl.innerText = api.video.time + ", " + api.video.src;
});

After finishing the first item in the playlist, the second item plays, but api.video.src still returns '//stream.flowplayer.org/bauhaus.m3u8', which in the above example is displayed above the video on every progress event for convenience.  This is specific to HLS, since the following configuration (with an mp4 as the second clip instead) exhibits the expected behavior of showing the currently playing URL:
flowplayer('#video', {
  playlist: [{
    sources: [{
      type: 'application/x-mpegurl',
      src: '//stream.flowplayer.org/bauhaus.m3u8'
    }]
  }, {
    sources: [{
      type: 'video/mp4',
      src: '//ia800201.us.archive.org/12/items/BigBuckBunny_328/BigBuckBunny_512kb.mp4'
    }]
  }]
}).on('progress', function(e, api) {
  videourl.innerText = api.video.time + ", " + api.video.src;
});

Thanks!

Thanks. Will take care of this.
The cause is some - probably misguided - attempt of having the MediaSource blob src in the API available somewhere. It's probably better to leave this (almost) entirely inside the hls.js API (which is available as api.engine.hlsjs anyway).
It's probably enough to communicate the blob src on error when it matters, and handle api.video.src and api.video.url like the html5 engine does: it simply assigns the same value to both properties. - @nnarhinen - thoughts on this?

@jmdx - this should be fixed now.

Yep, looks good.  Thanks for resolving this so quickly!


ARROW-8098: [Go] Avoid unsafe unsafe.Pointer usage

The checkptr check in go 1.14 flags unsafe.Pointer(uintptr(x)) as potentially unsafe due to the possibility of dereferencing arbitrary memory.  This commit instead uses bare pointers for the length & byte fields
https://issues.apache.org/jira/browse/ARROW-8098

Good catch!
I was also researching this bug and found out a very similar solution except that I don't use uintptr:

func _memset_avx2(buf unsafe.Pointer, len int, c byte)
func _memset_sse4(buf unsafe.Pointer, len int, c byte)

Converting to uintptr does not seem like an issue here since it preserves the meaning for int and byte . Nonetheless I find it more natural to use the real types. What's your opinion?
Also while digging I found that memory.c includes <memory.h> which don't exist on my machine... Should we use <stddef.h> instead?

found out a very similar solution except that I don't use uintptr

Yes that could be valid as well.  I stuck with pointers because the original code was using them and I didn't know enough about it to change it.

Also while digging I found that memory.c includes <memory.h> which don't exist on my machine... Should we use <stddef.h> instead?

I don't know enough about C to say one way or the other.

@alexandreyc Thoughts here?

let's merge this in (as I suspect it has already been tested on the DataDog-side)

Indeed it has.

As I already mentionned, the proposed solution seems to work but he does not feel natural to me.
There is no reason to pass uinptr when "real" types do the job.
Besides, I think we should update memory.c to use standard include and regenerate the corresponding assembly file. I can do it if needed.


[FEATURE REQ] Expose specifying region for authority url with TokenCredentialOptions

Library name
Azure.Identity
Please describe the feature.
Currently to make use of MSAL's WithAzureRegion, one has to set the environmental variable AZURE_REGIONAL_AUTHORITY_NAME . This is not intuitive . Inferring the region specific url for the login endpoint should be exposed via TokenCredentialOptions
TokenCredentialOptions already provides option for specifying AuthorityHost, There should be an option for Region.
Please consider exposing it in addition to the current environmental variable usage.

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @bganapa  - We have no current plans to expose the region as a top-level option because the default is to auto-select. In addition, region is most likely to be deployment environment specific when specified. Is there a scenario you have that requires manual selection in code?

@christothes Thanks for the quick response and for the assistance here.
We are currently using 1.5.0-beta.4 version of Azure.Identity which had an option for specifying the RegionalAuthority. We have been using that option.
https://github.com/Azure/azure-sdk-for-net/blob/Azure.Identity_1.5.0-beta.4/sdk/identity/Azure.Identity/src/ClientCertificateCredentialOptions.cs#L25
This option has been deprecated in the latest Azure.Identity.
I do not think there is a need for us to manually specify the region, we could completely rely on the Auto Detect. However, we do need to explicitly specify AuthorityHost as we use the same code for usgov, china and AzurePublicCloud.
Can you confirm Auto Detect would still work even when after explicitly specifying the AuthorityHost ? Thank you!
                    var options = new ClientCertificateCredentialOptions
                    {
                        AuthorityHost = authorityHost,
                        SendCertificateChain = true,
                    };

@christothes Also looking at the MSAL's Region Auto detect feature doc(link below), MSAL relies on IMDS endpoint to detect the region.
https://review.learn.microsoft.com/en-us/identity/microsoft-identity-platform/msal-net-regional-adoption?branch=main
IMDS works well for Azure VMs and Azure Functions. We deploy on AKS and to have IMDS available in AKS, it looks like aad-pod-identity pod needs to be deployed explicitly as part of the deployment
https://github.com/Azure/aad-pod-identity/issues/992
Also from the MSAL's doc page (pointed above), they recommend specifying the region instead of relying on the Auto Detect as Auto Detect may not work in all the cases.  Given the broad use cases of the SDK, I think it is meaningful to provide a client option to specify the region instead of setting the environmental variable

Regarding use of pod identity, it is being deprecated in favor of workload identity

@christothes Given MSAL's reco is to specify the region when known and not rely on the Auto Detect , I think it is worthwhile to expose an option instead of env var. What do you think?

I believe that applies only to what are called first party applications, which are special applications with elevated rights.

From the documentation, it is applicable only for the first party applications, however it is not called out that the regional login endpoint feature is internal microsoft first party apps only.  In any case the current environmental variable setting is not intuitive for an SDK. Thanks for your consideration for future improvements.
Could you please confirm  that AZURE_REGIONAL_AUTHORITY_NAME is used only for the regional STS setting? Since we are going to set this envionmental var at global, we do not want any unintented behaviour. Thank you!

From the documentation, it is applicable only for the first party applications, however it is not called out that the regional login endpoint feature is internal Microsoft first party apps only. In any case the current environmental variable setting is not intuitive for an SDK. Thanks for your consideration for future improvements.

It is not meant for most users, so this is intentional.

Could you please confirm that AZURE_REGIONAL_AUTHORITY_NAME is used only for the regional STS setting? Since we are going to set this environmental var at global, we do not want any unintended behaviour. Thank you!

It equates to the WithAzureRegion setting in MSAL. Unless you are a first-party application, I'd recommend not setting this at all.


feat: 更新 Rate api

🤔 这个 PR 的性质是？

[ ] 日常 bug 修复
[ ] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

fix(组件名称): 处理问题或特性描述 ...

[x] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[ ] 文档已补充或无须补充
[ ] 代码演示已提供或无须提供
[ ] TypeScript 定义已补充或无须补充
[ ] Changelog 已提供或无须提供

Codecov Report

Merging #1251 (d596310) into develop (492d477) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop    #1251   +/-   ##
========================================
  Coverage    57.94%   57.95%
========================================
  Files          407      407
  Lines        15371    15370    -1
  Branches      2931     2931
========================================
  Hits          8907     8907
+ Misses        6187     6186    -1
  Partials       277      277

Impacted Files
Coverage Δ

src/rate/props.ts
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[FLINK-28479] Add metrics for resource lifecycle state transitions

What is the purpose of the change
Introduce histogram metrics for tracking how long resource lifecycle state transitions take between the following states:

CREATED
SUSPENDED
UPGRADING
DEPLOYED
STABLE
ROLLING_BACK
ROLLED_BACK
FAILED

New metrics:
FlinkDeployment.Lifecycle.Transition.ResumeTimeSeconds: count=0, min=0, max=0, mean=NaN, ...
FlinkDeployment.Lifecycle.Transition.SuspendTimeSeconds: count=1, min=2, max=2, mean=2.0, ...
FlinkDeployment.Lifecycle.Transition.UpgradeTimeSeconds: count=1, min=33, max=33, mean=33.0, ...
FlinkDeployment.Lifecycle.Transition.StabilizationTimeSeconds: count=1, min=29, max=29, mean=29.0, ...
FlinkDeployment.Lifecycle.Transition.RollbackTimeSeconds: count=0, min=0, max=0, mean=NaN, ...
FlinkDeployment.Lifecycle.Transition.SubmissionTimeSeconds: count=1, min=1, max=1, mean=1.0, ...

FlinkDeployment.Lifecycle.State.<STATE_NAME>.Count: 0

Brief change log

Introduce ResourceLifecycleState derived from the resource status
Add mechanism to track ResourceLifecycleState transitions
Create histogram metrics for select transitions
Add count metrics for each state
Add tests

Verifying this change
New unit tests + manually verified on minikube
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changes to the CustomResourceDescriptors: no
Core observer or reconciler logic that is regularly executed: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? [TODO]

I love this PR @gyfora added some minor comments

What is FlinkDeployment.Lifecycle.State.STATE_NAME.Count: 0 ?

@morhidi STATE_NAME is a placeholder in this example. In practice it's gonna be one of CREATED, UPGRADING, DEPLOYED etc.

What is FlinkDeployment.Lifecycle.State.STATE_NAME.Count: 0 ?

@morhidi STATE_NAME is a placeholder in this example. In practice it's gonna be one of CREATED, UPGRADING, DEPLOYED etc.

What is FlinkDeployment.Lifecycle.State.STATE_NAME.Count: 0 ?

@morhidi STATE_NAME is a placeholder in this example. In practice it's gonna be one of CREATED, UPGRADING, DEPLOYED etc.

nit: you can update the description to FlinkDeployment.Lifecycle.State.<STATE_NAME>.Count = ... to make it obvious

cc @tweise @wangyang0918

This is great and maybe also mention (docs!) that you are not only tracking transitions between adjacent states and how this can be used to track the upgrade latency directly.