happy mapper errors

Every call I make using this module is ending up with a happy mapper error.
Simple code:
require 'vcloud'
@session = VCloud::Client.new("https://vlabs.fi.com/api/", '1.5', :verify_ssl => false)
@session.login('steven.pollock@se-lab-dirty', 'ubba')
org_ref_hash = @session.get_org_references_by_name
Returns:
spollock-mbpr:~ steven.pollock$ ruby testvcloud.rb
/Library/Ruby/Gems/2.0.0/gems/nokogiri-happymapper-0.5.9/lib/happymapper.rb:468:in initialize': wrong number of arguments (1 for 0) (ArgumentError) 	from /Library/Ruby/Gems/2.0.0/gems/vcloud-<IP_ADDRESS>/lib/vcloud/base_vcloud_entity.rb:29:in new'
from /Library/Ruby/Gems/2.0.0/gems/vcloud-<IP_ADDRESS>/lib/vcloud/base_vcloud_entity.rb:29:in from_reference' 	from /Library/Ruby/Gems/2.0.0/gems/vcloud-<IP_ADDRESS>/lib/vcloud/client.rb:66:in get_org_references'
from /Library/Ruby/Gems/2.0.0/gems/vcloud-<IP_ADDRESS>/lib/vcloud/client.rb:59:in get_org_references_by_name' 	from testvcloud.rb:5:in '
spollock-mbpr:~ steven.pollock$
Any help appreciated.  thanks!!

TBH I tried to work with this GEM some years back, raise a ticket or two but found it to be somewhat limited in functionality. vCloud API is just RESTapi so you can bind using the standard rest-client gem.
thanks to KMorey for this snippet demonstrating this;

def login_vcloud(servername, username, password, ref)
    url = "https://#{servername}"+"#{ref}"
    headers = {}
    headers[:content_type] = :xml
    headers[:accept] = 'application/*+xml;version=5.1'
    headers[:content_length] = 0

    params = {
      :method=>:post,
      :url=>url,
      :user=>username,
      :password=>password,
      :headers=>headers
    }
    log(:info, "Logging into vCloud: #{url}")
    authorization_response = RestClient::Request.new(params).execute
    log(:info, "Successfully logged into vCloud: #{authorization_response.code}")
    @cookie = authorization_response.headers[:x_vcloud_authorization]
    log(:info, "Detected API session cookie: #{@cookie}")
    unless authorization_response.code == 200 || authorization_response.code == 201 || authorization_response.code == 202
      raise "Failed to log into vCloud: #{authorization_response.code}"
    end
  end


Folderise Aero theme

Been planning to do this for a while so here it is
In relation to #1390
This will make it easier to see problems with the theme from GitHub

Also delete files that don't need to be dublicated

Dude Aero is so outdated. Why does it use Instance.new for parenting 💀

Bro is going for the most codebase changes in existence.
lemme boost my GitHub stats with folderising Windows XP.


EN this a big trouble

Analyzer Feedback from IntelliJ
Version information

IDEA IU-182.4323.46
2.1.0-edge.ccb16f72824374163562364bf19dd18e8a882fab
IU-182.4323.46, JRE 1.8.0_152-release-1248-b8x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 1920x1080

Exception
Please append the contents of:
file://C:\Users\Administrator\AppData\Local\Temp\report.txt
Dart analysis server, SDK version 2.1.0-edge.ccb16f72824374163562364bf19dd18e8a882fab, server version 1.20.5, FATAL error: Failed to handle request: {id: 3, method: analysis.setAnalysisRoots, params: {included: [C:\Users\Administrator\IdeaProjects\newflutter], excluded: [C:\Users\Administrator\IdeaProjects\newflutter\.idea, C:\Users\Administrator\IdeaProjects\newflutter\.dart_tool, C:\Users\Administrator\IdeaProjects\newflutter\.pub, C:\Users\Administrator\IdeaProjects\newflutter\build, C:\Users\Administrator\IdeaProjects\newflutter\out]}, clientRequestTime:<PHONE_NUMBER>382}
FileSystemException: Exists failed, path = 'C:\Users\Administrator\IdeaProjects\newflutter\build\app\intermediates\transforms\dexBuilder\debug\10\android' (OS Error: 拒绝访问。
, errno = 5)
#0      _Directory.existsSync (dart:io/directory_impl.dart:101:7)
#1      _WindowsDirectoryWatcher._eventsBasedOnFileSystem (package:watcher/src/directory_watcher/windows.dart:324:41)
#2      _WindowsDirectoryWatcher._onBatch.<anonymous closure> (package:watcher/src/directory_watcher/windows.dart:166:13)
#3      __InternalLinkedHashMap

The " 拒绝访问。" text stands out as something being wrong, but it's probably not related to the actual error - I have seen similar bad UTF-8 strings in other error messages, just not reproducibly.

I have seen similar bad UTF-8 strings in other error messages

I don't think it's a bad string (unless you're referring to the newline?). Translates to "access denied" and is probably an expected exception caused by a bug in analyzer. I think I've seen a few similar reports with the error both in english and chinese.

Duplicate of #34294


Implement LiveReload's Option: Override URLs to serve modified CSS from localhost?

http://feedback.livereload.com/knowledgebase/articles/86220-preview-css-changes-against-a-live-site-then-uplo

Hello @christianmagill
I'm sorry, I lack background on that. This is a feature of the official LiveReload application and tiny-lr goal is not to be a competitor, just a tiny lib.
I'm closing for now, feel free to reopen if you'd like to discuss more about this feature.


[BUG]Dataload's status should be Pending when the status of dataset is Calculating

What is your environment(Kubernetes version, Fluid version, etc.)
Fluid:0.5.0
Describe the bug
My dataset is about 800G,all the data are small files.I create dataset and runtime,the status of dataset is Calculating.I create a dataload and the status of dataload is Loading
The following Scenarios should notify the end user:

the dataload's namespace is different from dataset
the path to load doesn't exist

What you expect to happen:
How to reproduce it
Additional Information

@ldd91 Hi, dongdong, you can try the new commit.

@xieydd Thanks,I will have a try

@xieydd Thanks,I will have a try

@ldd91 how about the test? can we close it now?

Close it since it's not active for a long time. Feel free to reopen it.


Change build passing badge to point to new travis build

Also, update links in readme and other badges


MLDBFB-399_put_post_creds.py

this is by design...

@FinchPowers can you please merge master into this branch and update the tests to hit the new /v1/credentials endpoint please? I believe this test should now pass :)

superceded by MLDB-1468-credentials-test.py


Printing is broken in 3.X.

Describe the bug
A user (John Fields) tried to print to a pdf and he couldn't get it to work. I tried it and it pretended to do something, but I never got a file. I then tried printing to the printer and that also pretended to do something, but no print out. This all worked in 2.13.2 on Windows. I didn't try this on Linux. I assume it is related to Qt 5.
Impact

[X] Medium - User productivity partially degraded

Likelihood

[X] High - occurrence is not specific to platform, data, config, a combination of operators, queries, etc.

OS and version: Windows 10

VisIt Version: 3.1.1

Server info (if applicable):

I just tried 3.0.1 on OSX and it did not print there. I was expecting to at least see a print dialog come up for me to select a printer. It didn't. It just did nothing.
If user needs a quick work-around for raster (image) saves, he can of course File->Set save options..., select jpg or png output, creating an image file and then open that file in a Windows native app and print from that.

Good idea!

On Windows the print dialog comes up and it looks like it works, but no output.

This is the warning I get when trying to print on macOS:
Qt: Warning: QPrintDialog: Cannot be used on non-native printers
Qt: Warning: QPrintDialog: Cannot be used on non-native printers

I  stepped through with VS debugger, and it seems that our vtkQtImagePrinter's WriteFile method is never called (its a subclass of vtkImageWriter). I am going to use a debug version of vtk to see if I can figure out why the subclass methods aren't called.


feat: Add suave-enabled geth support

Very minor addition to enable running suave-enabled geth (a.k.a. suave-execution-geth) instead of the stock geths.

Could you please update your base branch to latest master?

Could you please update your base branch to latest master?

done @barnabasbusa


Launch the game maximised if shortcut properties say so

You can create a shortcut to wow.exe and configure it to launch maximised in the shortcut properties sheet. If you do that in the vanillafixes.exe shortcut, it doesn't work; the wow window is created restored. I know it's not a "bug" in the traditional sense of the word but it would be nice if it worked.

Not sure if this can be fixed. I assume Windows is looking for a window created by VanillaFixes.exe, but since the launcher exits and launches WoW.exe the shortcut properties aren't carried over.

You can use GetStartupInfo, and from the STARTUPINFO structure get the wShowWindow member and put it here https://github.com/hannesmann/vanillafixes/blob/d9242b23889d4123aedb74ea4e1e4b969ef8ab8b/src/launcher/launcher.c#L44
(I haven't tested this, I just did some googling)

Makes sense, I think you could use the nCmdShow parameter of wWinMain too. I'll look into this later but if you want to fix it I'll accept a PR.

I haven't tested this but it should work: https://github.com/hannesmann/vanillafixes/raw/shortcut-properties/bin/VanillaFixes.exe

Works fine. Thank you

I haven't tested this but it should work: https://github.com/hannesmann/vanillafixes/raw/shortcut-properties/bin/VanillaFixes.exe

cannot open


Increase travis timeout to 20 minutes

com.pushtorefresh.storio2.sqlite.integration.RxQueryTest > queryOneExistedObjectTableUpdate PASSED

travis_time:end:0989402b:start=1504075636448415121,finish=1504076838809435674,duration=1202361020553

The command "travis_wait 20 sh ci.sh" exited with 137.

Code 137, looks like we are hitting memory limit :(

Codecov Report

Merging #820 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #820   +/-   ##
=======================================
  Coverage   97.39%   97.39%
=======================================
  Files          89       89
  Lines        2692     2692
  Branches      302      302
=======================================
  Hits         2622     2622
  Misses         38       38
  Partials       32       32

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 2f10dc5...456023e. Read the comment docs.

and this one can be closed as well?

Closed via #829


The confirmation letter of user Google registration is absent

Date Time
04-11-2022 15:24
Priority
High
Environment:
OS: Windows 10
Browser Chrome
Version 100.0.4896.60
Pre-conditions

Move to https://eventsexpress-test.azurewebsites.net/landing.
Unregistered User opens "Registration form" window ("Sign In/Sign Up" button)

Steps to Reproduce

Unregistered User clicks the "Sign up with Google" button.
Input Google e-mail and click the "Next" button (UserEmail as USER12)
Input your Google password and click the "Next" button

Expected result
The system sends the confirmation letter to the User's email.
The system redirects to the Complete Registration Form.
Actual result
The system doesn't send a confirmation letter to the User's email.
Screenshots

User story and test case links E.g.: "User story #730 Test case #1124 "
Labels to be added "Bug", Priority "Medium", Severity "Critical:", Type "Functional".

Dev team has concluded that the part with email confirmation for external providers in #730 is irrelevant. This works as intended


Issue 95

Description

Added chevron icon to expand and collapse description
made text 4 lines or unlimited lines depending on the chevron clicks

I have attached images and a screen recording to showcase the change
Issue Resolved
Issue resolved is #95
Screenshots
Video
https://user-images.githubusercontent.com/10523656/195592116-4d54aac1-7f6f-45de-87ac-7c0eccaadc41.mp4
Images

Checklist

[x] I have read the contribution guidelines.
[x] I have read the code of conduct.
[x] I have reviewed my submission in detail.

Lgtm 😄 thanks for your contribution @Kardelio  😇


feat: improve load car logic (for paritydb)

Summary of changes

Changes introduced in this pull request:
Write queue size is hard coded as 16MB in paritydb: (code), this PR tries to increase it to ~1GB by committing a large batch

db
branch
import time
db size
ratio

rocksdb
main
917s
87GB
1x

rocksdb
pr
1028s
87GB
1.12x

paritydb+jemalloc
main
3297s
114GB
3.56x

paritydb+jemalloc
pr
1796s
114GB
1.96x

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Nice! Could you add paritydb+jemalloc to the db benchmark script? I would like to test on a mainnet snapshot.
Thanks!

Nice! Could you add paritydb+jemalloc to the db benchmark script? I would like to test on a mainnet snapshot too. Thanks!

Looks like it's already there
# Benchmark class for ParityDb with Jemalloc
class JemallocBenchmark < Benchmark
  def build_command
    ['cargo', 'build', '--release', '--no-default-features', '--features', 'forest_fil_cns,paritydb,jemalloc']
  end
end


Agent - Connection pool is full

2015-10-01 13:55:13,842 WARNING requests.packages.urllib3.connectionpool [140708359895312] [connectionpool.py:272] Connection pool is full, discarding connection: xxx.xxx.xxx.xxx

Rancher	v0.39.0
Cattle	v0.95.0
User Interface	v0.52.0
Rancher Compose	beta/latest

The parent host for this agent is showing as 're-connecting'. The error seemingly comes out the blue. We are building many services, upgrading them, destroying them again and again...

Agent then failed to stop with a 'docker stop' command, had to kill it and re-run it up. Seems okay after being restarted. It had been running 3 days.

Can you provide us the agent logs from the stopped rancher/agent?
http://docs.rancher.com/rancher/faqs/troubleshooting/#agent-logs

I've looked but can't seem to find the logs for that instance i'm afraid. I'll close the issue and re-open it should it appear again with some more context.


Move vCruise to card

@deanlee the UI report is now missing some information, can you fix that, and maybe a simple test to ensure it doesn't break if it's easy?

it introduced by #33462 . already  fixed in #33486

should already be fixed in  #33486


Discord

added talkback class to discord bot
improved help text
added !help command (useful for discord)
sooga

Used the wrong branch name, deleting PR


Remove EventDeliveries without webhooks and make webhook field non-nullable

I want to merge this change because Eventdeliveries without webhoook is useless to us and might cause errors when Webhook objects were deleted between queueing delivery task and executing it.
Migrations are split into two to prevent migration errors.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-6489 send_webhook_request_async breaks when delivery object has no webhook


Short solution needed: "How to update data" (lua-mysql)

Please help us write most modern and shortest code solution for this issue:
How to update data (technology: lua-mysql)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to update data


can files.exclude don't effect treeview in bread-crumb

when i set files-exclude with **/node_modules/**: true, the explorer view is expected. but sometimes we need  open files in node_modules and look for related files in same directory, i know it's conflicting setting for explorer view , but can we show node_modules file in dropdown of bread-crumb ?
ye, we real requirement is : hide some directories only in explorer.

/assign jrieken


Plan lockdown alcohol study

First look through current literature and try to build a picture of how drinking habits changed in England's elderly population during and after the COVID-19 lockdowns.
Initial plans for this paper could be, to run the model as normal from 2012 to 2018, and from there diverge into 2 or more scenarios. One baseline scenario where we maintain pre-pandemic drinking habits throughout and assume the pandemic and lockdowns never happened, and another one (or more) scenarios where we model the change in habits during and after the lockdowns.
Idea:
Still very early in the lit review stage but already it seems that there is much more information about how drinking habits changed during the lockdown but not after. In the case that we don't find much information for post-lockdowns, we could investigate a couple of different scenarios:

Drinking habits return immediately to pre-pandemic levels
Habits slowly return to pre-pandemic levels (i.e. 1-4 waves)
Drinking habits are maintained at new level

TODO:

[ ] Check proportions within each consumption group and compare with Rao et al. paper.

Alcohol consumption during the COVID-19 pandemic in Europe: a large-scale cross-sectional study in 21 countries
Carolin Kilian et al. (2021)
This paper analysed the change in alcohol consumption behaviours across 21 European nations, and found that the only nations to not see a decline in alcohol consumption were Ireland (stayed roughly the same) and the United Kingdom (only nation to see an increase in alcohol consumption). In the UK, drinking frequencies and quantities consumed per occasion "increased considerably", but not the frequency of Heavy Episodic Drinking (HED) events.
The study also found that changes in consumption were associated with income and experiences of distress; low income drinkers generally saw a decline in consumption regardless of experiences of financial distress, however for those with average or high incomes changes were dependent upon experiences of financial distress.
The study used data from the cross-sectional online European Alcohol and COVID-19 survey that collected information on changes in alcohol consumption among European adults (http://www. COVID19-and-alcohol.eu). Participants were asked to grade their change in alcohol consumption from -2 (much less often) to +2 (much more often) for each of (i) frequency of drinking occasions, (ii) quantity of alcohol consumed per occasion and (iii) frequency of heavy episodic drinking. These answers were then summed and divided by 6 to get an aggregate consumption-change score scaled to a range of -1 to +1. This means we can't use these results directly, but it is interesting to find out that the UK is the only European nation included in the study to see an increase in consumption during the pandemic.

Characterising the patterns ofand factors associated with increased alcohol consumption since COVID-19 in a UK sample
Melissa Oldham et al. (2021)
Key Outcomes
Frequency
Amongst 50% of participants, there was no change in the frequency of drinking pre- and post-COVID-19. 30% of participants reported drinking more frequently, and the remaining 20% reported drinking less frequently.
Units per Occasion
61% of participants reported consuming the same amount per occasion. 16% reported drinking more, and 22% drinking less from pre- to post-COVID.
Heavy Episodic Drinking (HED)
61% reported no change in frequency of HED.
14% reported an increase.
26% reported a decrease.
Patterns of drinking for each outcome measure were roughly comparable across men and women with the most disparity in units consumed. Women were more likely to drink the same uniis as pre-COVID (66% of women vs 56% of men), and men were more likely to drink both more units (19% vs 14% of women) and less units (25% vs 20% of women).
Table here on the independant associations of drinking more frequently amongst men and women:

There are two more of these tables, one each for increases in number of units drank per session, and for Heavy Episodic Drinking.
The main thing this paper can tell us is what factors influence an increase in the frequency, amount, and heavy episodic drinking for both men and women in the UK.

The impact of changes in COVID-19 lockdown restrictions on alcohol consumption and drinking occasion characteristics in Scotland and England in 2020: an interrupted time-series analysis
Iain Hardie et al. (2021)
Interesting study that tracks alcohol consumption in units from January 2009 - December 2020, including three interventions points:

March 2020 lockdown
July 2020 easing of restrictions
October 2020 re-introduction of some restrictions

Its maybe not as useful to creating an intervention as I initially thought, as the results are stratified by whether the units consumed were off-trade (i.e. shop-bought) or on-trade (i.e. licensed venue) and not by gender or other individual characteristic.

Severe alcohol-related liver disease admissions post COVID-19 lockdown: canary in the coal mine?
Zillah Cargill et al. (2021)
"Observational data have reported 28% of those that consume alcohol are drinking more heavily compared with pre-lockdown, with this increasing further if individuals had previously been a heavy drinker."
Not a huge amount to glean from this one, just more evidence that heavy drinkers developed more extreme relationships with alcohol, and that referrals and deaths from alcoholic liver disease increased during and post lockdown.

Risky alcohol consumption in older people before and during the COVID-19 pandemic in the United Kingdom
Rahul Rao et al. (2022)
Useful table showing proportions of people within each consumption group before and after lockdown:

This is the first piece of information in this lit review that could be useful for planning interventions! Now need to check the proportions of both the raw ELSA population and the datasets I use to validate.
Here is another table from this paper with more detailed information about alcohol consumption changes before and after lockdown. This is all based on older people (50-64 & 65+) that were risky drinkers before lockdown.

Risky alcohol consumption in older people before and during the COVID-19 pandemic in the United Kingdom
Heber Rodrigues et al. (2020)
Interesting paper on the specific changes in consumption of different drink types (wine, beer, cider, whisky, etc.) but it goes into too much detail to be useful for this purpose.

Alcohol use and mental health during COVID-19 lockdown: A cross-sectional study in a sample of UK adults
Louis Jacob et al. (2020)
Some useful information here to inform who increased their consumption in lockdown. The study looked at the relationship between increased alcohol consumption in lockdown and mental health outcomes. The table below shows the most useful information for our study:

Some interesting things from the table above (and some things to note):

The study was mostly female (~61%)
The vast majority of over 65s did not increase their alcohol consumption in lockdown
Features that corresponded with an increase in alcohol consumption:

Female
18-34 years
single/separated/divorced/widowed
Employed
Annual earnings over £40,000
English
We can potentially use these features to pick who will increase their consumption. It might be difficult to put specific numbers with certain groups here, but some things we definitely can take away from this is that over 65s didn't really see an increase in their consumption through lockdown. Perhaps this age group tend to be more social drinkers? The authors had this to say:

It is also important to note that increased alcohol consumption was significantly more frequent in participants aged 18-34 years (50.4%) than in those aged 35-64 (45.4%) and >= 65 years (4.2%). Therefore, it may be  hat COVID-19 social distancing measures are disproportionally affecting younger adults in relation to increased alcohol consumption. It is plausible that social distancing measures may have limited impact on those greater than 65 years in the UK, since b y this age both females and male will receive a state pension and thus likely retired with some financial security (Batchelor, 2017). Owing to COVID 19 social distancing younger adults may had been furloughed and thus concerned about their financial security and future per se, increasing their alcohol intake in the attempt to mitigate depressive symptoms. However, these hypotheses are untested and further research of a qualitative nature is now required.


Add validations specs

These tests that validations errors are displayed on forms. With the complexity of the various form journeys we have, and given the setting that this tool will be used, these are useful to ensure that the service communicates errors in the correct way to nurses.

I was originally concerned that having these tests in separate files would start to really ramp up our test run times. However, on my local system, we seem to be averaging 1s per test file ... here's a comparison of our specs before and after this change:
Before:

12 specs
~12s runtime

After:

18 specs
~17s runtime

This doesn't seem too bad a price to pay if this translates to a similar runtime in GitHub actions ... although at the moment the entire Playwright test, including installation, spinning-up, etc, is 2m ... so this doesn't seem like it'll be a big factor in slowing these down.


Auth: Fake timeout during the phone number verification on iOS

Unity editor version: 2019.4.10f1
Firebase Unity SDK version: 6.5.2
Source you installed the SDK: Unity Package Manager
Problematic Firebase Component: Auth
Other Firebase Components in use: Cloud Firestore, Remote Config
Additional SDKs you are using: Vuforia
Platform you are using the Unity editor on: Mac
Platform you are targeting: iOS, Android
Scripting Runtime: IL2CPP

The SDK calls codeSent and codeAutoRetrievalTimeOut callbacks on VerifyPhoneNumber immediately at the same time and doesn't wait for the timeout time. But I receive a SMS with code and still can get the credential with it.

Call VerifyPhoneNumber to get the verification code;
Receive the SMS with a codeSent callback;
Receive a timeout error;
Sigh in with this code, ignore the timeout error;
Successful authorization.

Works perfect on Android device with the same code logic.

Hi @adlercoder,
Thanks for the ticket, The behavior you've encountered is expected on iOS.  Auto Retrieval isn't supported on that platform so the SDK returns this event immediately instead of waiting for the timeout.  This is documented in our C++ SDK Reference Docs, but for some reason not at all in the Unity SDK Reference Docs.  I'll create a ticket to update that documentation.  Thanks again!


When using system emoji, they are placed above the default ones in the page header.

describe the bug
The images in page headers are placed above the default ones. In other places (e.g. page previews, list entries) they are replaced correctly though.
On the image below you can see the default emoji and then the Win-10 one drawn beneath it.
expected behaviour
Only the system version of the emoji should be displayed
screenshots

platform
Windows 10, native app.

Add
document.querySelectorAll('[src*="notion-emojis.s3-us-west-2.amazonaws.com"]:not(.notion-emoji)').forEach(el => el.outerHTML = '')

between lines 168 and 169.
Will push with the next update, ty for letting me know.

fix released in v0.8.0


Bug Report : cannot start scanning on Android 12 - A52 phone

Prerequisites

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

Expected Behavior
The start scanning operation doesn't work on Android 12, phone Galaxy A52s 5G (SM-A528B/DS).
It does work on every iPhone I've tested and an older Android 8 phone Galaxy A5 (SM-A520F)
I expect it to work on the latest Android phones as well.
Current Behavior
When scanning I receive the following error :
Cannot start scanning operation
at http://<IP_ADDRESS>:8081/index.bundle?platform=android&dev=true&minify=false&app=xxx.xxx.xxx&modulesOnly=false&runModule=true:121060:321 in _createSuperInternal
at node_modules/react-native-ble-plx/src/BleError.js:47:4 in constructor
at node_modules/react-native-ble-plx/src/BleError.js:75:15 in parseBleError
at node_modules/react-native-ble-plx/src/BleManager.js:339:16 in scanListener
at node_modules/react-native/Libraries/vendor/emitter/_EventEmitter.js:150:10 in EventEmitter#emit

The Location button is activated on the Android top menu. All location permissions are given to the application.
The manifest contains the following :
<uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

expo init
expo add react-native-ble-plx @config-plugins/react-native-ble-plx expo-dev-client
Add @config-plugins/react-native-ble-plx to the expo.plugins array in your app.json.
Make a button and scan the devices.
Run it through easor expo run:android

Context

Library version: 2.0.3
Platform: Android 12
JS logs:

Cannot start scanning operation
at http://<IP_ADDRESS>:8081/index.bundle?platform=android&dev=true&minify=false&app=xxx.xxx.xxx&modulesOnly=false&runModule=true:121060:321 in _createSuperInternal
at node_modules/react-native-ble-plx/src/BleError.js:47:4 in constructor
at node_modules/react-native-ble-plx/src/BleError.js:75:15 in parseBleError
at node_modules/react-native-ble-plx/src/BleManager.js:339:16 in scanListener
at node_modules/react-native/Libraries/vendor/emitter/_EventEmitter.js:150:10 in EventEmitter#emit

Contents of the package.json file:

{
  "name": "test-ble",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@config-plugins/react-native-ble-plx": "^2.0.0",
    "expo": "~45.0.0",
    "expo-dev-client": "~1.0.1",
    "expo-status-bar": "~1.3.0",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-native": "0.68.2",
    "react-native-ble-plx": "^2.0.3",
    "react-native-web": "0.17.7",
    "expo-splash-screen": "~0.15.1"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@types/react": "~17.0.21",
    "@types/react-native": "~0.66.13",
    "typescript": "~4.3.5"
  },
  "private": true
}

Formatted code sample or link to a repository:

requestBluetoothPermissionAsync()
    .then(() => {
      BluetoothManager.startDeviceScan(null, null, (error, device) => {
        if (error) {
          // Handle error (scanning will be stopped automatically), this gets hit on the Android Galaxy A52
          console.error(error);
          return;
        }
        const deviceName = device.localName ?? device.name;
        if (!deviceName) {
          return;
        }
        if (!(device.id in state.devices)) {
          state.devices[device.id] = deviceName;
        }
      });
      state.isScanning = true;
      state.interval = setInterval(notifyListeners, NOTIFY_INTERVAL_MS);
    })
    .catch((err) => console.error(err));

Since Android 12 you'll need the following extra permissions :
  <uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
  <uses-permission android:name="android.permission.BLUETOOTH_SCAN"/>

If you're using the latest expo, you can use the expo prebuild with the following app.json
{
  "expo": {
    "name": "test-ble",
    "slug": "test-ble",
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "userInterfaceStyle": "light",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "xxx.xxx.xx"
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "permissions": [
        "android.permission.BLUETOOTH",
        "android.permission.BLUETOOTH_ADMIN",
        "android.permission.BLUETOOTH_SCAN",
        "android.permission.BLUETOOTH_CONNECT",
        "android.permission.ACCESS_COARSE_LOCATION",
        "android.permission.ACCESS_FINE_LOCATION"
      ],
      "package": "xxx.xxx.xxx"
    },
    "web": {
      "favicon": "./assets/favicon.png"
    },
    "plugins": ["@config-plugins/react-native-ble-plx"]
  }
}

In your code make sure you request the permissions.
I did this by adding the react-native-permissions library to my project and requesting the permissions at runtime.
package.json
{
  "name": "test-ble",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@config-plugins/react-native-ble-plx": "^2.0.0",
    "expo": "~45.0.0",
    "expo-dev-client": "~1.0.1",
    "expo-splash-screen": "~0.15.1",
    "expo-status-bar": "~1.3.0",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-native": "0.68.2",
    "react-native-ble-plx": "^2.0.3",
    "react-native-permissions": "^3.5.0",
    "react-native-web": "0.17.7"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@types/react": "~17.0.21",
    "@types/react-native": "~0.66.13",
    "typescript": "~4.3.5"
  },
  "private": true

code snippet :
   await PermissionsAndroid.request(
    PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION
  );
  await requestMultiple([
    PERMISSIONS.ANDROID.BLUETOOTH_SCAN,
    PERMISSIONS.ANDROID.BLUETOOTH_CONNECT,
  ]);

  requestBluetoothPermissionAsync()
    .then(() => {
      BluetoothManager.startDeviceScan(null, null, (error, device) => {
        if (error) {
          // Handle error (scanning will be stopped automatically)
          console.error(error);
          return;
        }
        if (device) {
          const deviceName = device.localName ?? device.name;
          if (!deviceName) {
            return;
          }
          if (!(device.id in state.devices)) {
            state.devices[device.id] = deviceName;
          }
        }
      });
      state.isScanning = true;
      state.interval = setInterval(notifyListeners, NOTIFY_INTERVAL_MS);
    })
    .catch((err) => console.error(err));
}


Update Pro-Lights-CromoSpot300.qxf

there was an error on Person1 Mode

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
15282

Relevant Lines:
54426

💛  - Coveralls


fn mct: Pass tmp len for use in Rust fallback fns

The tmp arg for the mct fns is always a slice, so I've added an extra arg to the end of the function calls to pass the slice length in so that we can safely reconstruct the slice in the Rust fallback fns.

Part of #842.

Yeah, in this case that seems reasonable. I've updated the PR to use that approach.


unclear build instructions for Android

i am currently using Android Studio and CMake, and i am not sure how to go about building an application using The Forge

There is a section on the homepage of TF that says "Android Requirements". This is what you need to run the Android run-time. Please note the phones we are currently testing on. We currently support Visual Studio 2019. The reason why this is not 2017 is that there is a bug in 2017 that prevents us from using it, otherwise, it would be 2017 similar to many other platforms.

There is a section on the homepage of TF that says "Android Requirements". This is what you need to run the Android run-time. Please note the phones we are currently testing on. We currently support Visual Studio 2019. The reason why this is not 2017 is that there is a bug in 2017 that prevents us from using it, otherwise, it would be 2017 similar to many other platforms.

hmm ok, so
i would clone the repo, and then open it directly in Visual Studio 2019?


SQL code completion: preference for upper case keywords

When editing a .sql file and typing "sel", vscode offers 2 code completion options:
select
SELECT

(same for any other SQL keyword)
Would it be possible to please recommend only UPPERCASE keywords? Maybe have a preference for this? (trying to avoid cluttering preferences)

VS Code does not have SQL specify code completion out of the box. Do you use an extension?

VS Code does not have SQL specify code completion out of the box

I can see that now on a fresh install, thanks. Will report to the extension.


mixpanel.identify() works even when it is turned off.

Hello everyone, I encountered such a problem: mixpanel.identify(); works even when shouldEnableMixpanel = false. What could be the problem?
import mixpanel from "mixpanel-browser";

classMixpanelTracker {
  constructor(shouldEnableMixpanel = false) {
    this.shouldEnableMixpanel = shouldEnableMixpanel && !window.location.host.includes('localhost');
}

  initialize() {
    if (this.shouldEnableMixpanel) {
      mixpanel.init(MIXPANEL_API_TOKEN, { track_pageview: false });
      mixpanel.identify();
    }
    else {
      console.log(`Mixpanel identifying is disabled or in localhost.`);
    }
  }

  logEvent(eventName, eventParams) {
    if (this.shouldEnableMixpanel) {
      try {
        mixpanel.track(eventName, eventParams);
      } catch (error) {
        console.error(error);
      }
    } else {
      console.log(`Mixpanel tracking is disabled or in localhost.`);
    }
  }

  logUserProperty(property, value) {
    if (this.shouldEnableMixpanel) {
      try {
        mixpanel.people.set({ [property]: value });
      } catch (error) {
        console.error(error);
      }
    } else {
      console.log(`Mixpanel tracking is disabled or in localhost.`);
      }
    }
}

export default MixpanelTracker;

mixpanel.identify() is not bound by the class you've written. Hence, to enforce that restriction you need a method in this class that will be called whenever you want to identify. And that will enforce your restriction.


Add Banner for promoting meetups

Report
I'd like to add a banner to the top UNDER the navigation that promotes our upcoming meetups.
See this from ModelOP

Next meetup:
Expert Insights on Developing Safe, Secure, and Trustworthy AI
Webinar | Wednesday, February 14th | 11 am ET
Link to register: https://www.linkedin.com/events/expertinsightsondevelopingsafe-7158518681906413569/about/
Once you get this setup, I can learn how to change them and correct for the next ones.
First choice color on the banner - our orange - #F46737
Note: this shouldn't move anything further down the page!  There's plenty of room under the navigation for it.

@jendefig
We already have a banner section above the navbar. I know it's not fancy, but it should work.
I quickly added the content, here is the PR:

https://github.com/iterative/dvc.org/pull/5115

Preview:

PS: If we really want to work on the redesign, we can merge and keep the changes in PR live and work on that.


added convenience import

You can take this or leave it. I've been exploring a bit the python package structure.
in essence, this allows for the example.py import:
from ddspdrum.module import ADSR  # etc...
to become:
from ddrpdrum import ADSR # etc...

I'm happy with this change -- I think it makes sense given the scope of this project. The modules are the main components so it makes sense to have them accessible at the root package level. Just fix up the linter error and good from my perspective!

I'm happy with this change -- I think it makes sense given the scope of this project. The modules are the main components so it makes sense to have them accessible at the root package level. Just fix up the linter error and good from my perspective!

Awesome.
You'll have to forgive my n00biness... I'm not sure how to read these bot readouts. Is there a doc you could point me to?
Max

From: Jordie Shier<EMAIL_ADDRESS>Sent: Friday, January 22, 2021 1:01 PM
To: turian/ddsp-drum<EMAIL_ADDRESS>Cc: Max Henry<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [turian/ddsp-drum] added convenience import (#30)
I'm happy with this change -- I think it makes sense given the scope of this project. The modules are the main components so it makes sense to have them accessible at the root package level. Just fix up the linter error and good from my perspective!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/turian/ddsp-drum/pull/30#issuecomment-765588799, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL2T7TM4MUT3PAYHMK4UKTTS3G4RDANCNFSM4WNGKKDA.

Awesome.
You'll have to forgive my n00biness... I'm not sure how to read these bot readouts. Is there a doc you could point me to?
Max

From: Jordie Shier<EMAIL_ADDRESS>Sent: Friday, January 22, 2021 1:01 PM
To: turian/ddsp-drum<EMAIL_ADDRESS>Cc: Max Henry<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [turian/ddsp-drum] added convenience import (#30)
I'm happy with this change -- I think it makes sense given the scope of this project. The modules are the main components so it makes sense to have them accessible at the root package level. Just fix up the linter error and good from my perspective!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/turian/ddsp-drum/pull/30#issuecomment-765588799, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL2T7TM4MUT3PAYHMK4UKTTS3G4RDANCNFSM4WNGKKDA.

Ah, I see. It's saying
src/ddspdrum/__init__.py:1:1: F401 'ddspdrum.module.ADSR' imported but unused etc... in  __init__.py but there's nothing to use in those modules for in the init file... So I'm not sure what to do here.

Ah, I see. It's saying
src/ddspdrum/__init__.py:1:1: F401 'ddspdrum.module.ADSR' imported but unused etc... in  __init__.py but there's nothing to use in those modules for in the init file... So I'm not sure what to do here.

@jorshi is the pythonic way that init.py just imports the submodules, rather than the things in it?
If not, @maxsolomonhenry I think the answer is just to add a pylint disable. But let's see what @jorshi says

@jorshi is the pythonic way that init.py just imports the submodules, rather than the things in it?
If not, @maxsolomonhenry I think the answer is just to add a pylint disable. But let's see what @jorshi says

I've seen arguments for both having empty __init__ files as well as importing specific things from with submodules. Argument for having empty __init__s seems to be that they can become complex as the library grows. I think it makes sense here to import the main items (SynthModules / TorchModules) in the __init__ and keep the other stuff under their submodule namespace.  i've seen that pattern in other libraries like librosa. So in that case we can add the pylint disable and move forward with this.

I've seen arguments for both having empty __init__ files as well as importing specific things from with submodules. Argument for having empty __init__s seems to be that they can become complex as the library grows. I think it makes sense here to import the main items (SynthModules / TorchModules) in the __init__ and keep the other stuff under their submodule namespace.  i've seen that pattern in other libraries like librosa. So in that case we can add the pylint disable and move forward with this.


Merge ign-gazebo6 ➡  main (part 1)

➡  Forward port
Port ign-gazebo6  ➡  main
Branch comparison: https://github.com/gazebosim/gz-sim/compare/main...ign-gazebo6
Breaking it into several parts since the diff is so large.
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

Test failures - flake or not flake?

Windows

ServerRepeat/ServerFixture.ResolveResourcePaths is a consistent failure: https://build.osrfoundation.org/job/ign_gazebo-pr-win/4868/testReport/(root)/ServerRepeat_ServerFixture/ResolveResourcePaths_0/history/

Jenkins Ubuntu

ServerRepeat/OdometryPublisherTest is a flake: https://build.osrfoundation.org/job/ignition_gazebo-ci-pr_any-ubuntu_auto-amd64/9386/testReport/junit/(root)/ServerRepeat_OdometryPublisherTest/GaussianNoiseTest_0/history/

Homebrew

⌛

Actions Focal

⌛

Actions Jammy

⌛


[GHSA-4hh5-2678-83fx] Cross-Site Request Forgery vulnerability in Prefect

Updates

Affected products
CVSS
Severity

Comments
We disagree with the characterization of this issue as a security vulnerability and are coordinating with Hunter to update their characterization accordingly.
The Prefect Server API in the open source Prefect library is provided without auth. Prefect's expectation that users will (i) subscribe to Prefect Cloud (with a generous "free forever" tier), which is hosted by Prefect and contains robust and secure auth mechanisms, or (ii) self-host and implement their own auth mechanism (e.g., where such user does not wish to rely on Prefect Cloud's auth services).
In short, for OSS Prefect Server, the security implementations for authorization and authentication are the responsibility of the end-user. The Prefect Cloud API (that is hosted, maintained, and provided by Prefect) provides best practice authorization and authentication mechanisms.
Kindly let us know if you have any further questions or if it would be helpful to arrange a short call with a representative of our Security team to discuss further.
The PR template only allowed me to propose LOW severity. Please let me know if there's another way for me to request this is removed as a vulnerability entirely.

Hey @zangell44, just read through that huntr thread and oh boy. Yes we can take action on this.

The Prefect Server API in the open source Prefect library is provided without auth.

If that's documented then that would indeed invalidate this vulnerability.
We have two functional limitations here

If I accept this PR and lower the severity it will close out this PR. Happy to do this as a short term while the conversation plays out with huntr and we can keep the conversation going here in the closed PR
I'm somewhat hesitant to withdraw this advisory until the huntr conversation has played out as we cannot un-withdraw advisories.

Hey @darakian, thanks for the reply! Glad you enjoyed that thread 😄
Reducing the severity in the short term and continuing the conversation sounds great to me! I’d like to avoid further unnecessary panic among our users.
As for the complexity of withdrawing the advisory, understood. We’ve been in touch with Huntr today and there may be a valid (but low severity in our opinion) report around CSRF attacks when running Prefect open source server without taking proper precautions. Let’s keep the advisory open until we can clear that up with Huntr.
Because the vulnerability only applies to open source prefect, would it be possible to change the description from “using the Prefect API.” to “using a self-hosted, open source Prefect API.“?

Right on. The severity is now at low without a CVSS score attached. The description has also been updated 😄
Feel free to ping here or to just open a new PR whenever the huntr thread comes to a conclusion and we can re-score again or follow up as needed 👍


Root object type is not written with TypeNameHandling.Auto

When TypeNameHandling is set to Auto the serializer writes the object types for any contained objects, which enables derived types to be deserialized correctly. However, it doesn't write the type for the root object, so this fails unless the caller somehow knows the exact type. It would be very useful if TypeNameHandling.Auto wrote $type for the root object, too.
Note that the deserializer already supports this. If I manually add the $type property it works.
The following LINQPad snippet demonstrates the problem:
public abstract class MyBase
{
	public string BaseProperty { get; set; }
}

public class MyDerived : MyBase
{
	public string DerivedProperty { get; set; }
}

public class Container
{
	public MyBase Contained { get; set; }
}

private void RoundtripObject<T>(T original)
{
	var settings = new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.Auto };
	var json = JsonConvert.SerializeObject(original, settings);
	json.Dump();

	var deserialized = JsonConvert.DeserializeObject<T>(json, settings);
	deserialized.Dump();
}

void Main()
{
	MyBase contained = new MyDerived { BaseProperty = "base", DerivedProperty = "derived" };
	var container = new Container { Contained = contained };
	// JSON: {"Contained":{"$type":"UserQuery+MyDerived, ...","DerivedProperty":"derived","BaseProperty":"base"}}
	RoundtripObject(container);	// OK
	// JSON (no type for root object!): {"DerivedProperty":"derived","BaseProperty":"base"}
	RoundtripObject(contained); // Error: Could not create an instance of type UserQuery+MyBase. Type is an interface or abstract class and cannot be instantiated. Path 'DerivedProperty', line 1, position 19.

	// Deserialization works fine if the type is there
	var jsonWithType = "{\"$type\":\"UserQuery+MyDerived, " + GetType().Assembly.GetName().Name + "\",\"DerivedProperty\":\"derived\",\"BaseProperty\":\"base\"}";
	var deserializedWithType = JsonConvert.DeserializeObject<MyBase>(jsonWithType, new JsonSerializerSettings { TypeNameHandling = TypeNameHandling.Auto });
	deserializedWithType.Dump();
}

Duplicate of #990. I think this is one of the biggest gotcha's when working with Json.NET which is why I proposed adding generic versions of SerializeObject in #634 which would have fixed this issue. Unfortunately, it was decided not to be added.

Hmm... #990 says "You can however specify a type argument for the root type in one of the SerializeObject overloads which will achieve what you want." but I've just tried that:
var json = JsonConvert.SerializeObject(original, original.GetType(), settings);
and the resulting JSON still doesn't include the type:
{"DerivedProperty":"derived","BaseProperty":"base"}

You want to use this instead:
var json = JsonConvert.SerializeObject(original, typeof(T), settings);

OK, that works, but it seems really confusing. I can basically pass in any type except the actual object type and SerializeObject writes the type to JSON. E.g. this works:
var json = JsonConvert.SerializeObject(original, typeof(DBNull), settings);
Result:
{"$type":"UserQuery+MyDerived, query_ocekut","DerivedProperty":"derived","BaseProperty":"base"}
So should I just pass some random type in, e.g. typeof(object)? What exactly is the "declared" type here?

Your declared type is MyBase as that is the variable contained's type.
Remember TypeNameHandling.Auto only outputs the type info if the object's runtime type doesn't match its declared type such as the property Contained is declared as a MyBase but its runtime type in this case was MyDerived.

Sure, in this case it's simple, but it could be a much more complex type hierarchy and there could be templates, too. E.g. if the object is actually MyDerived<DerivedItem>, inheriting from MyBase<TItem> where TItem is a type parameter and MyBase itself inherits from MySuperBase<TItem, string>, etc. - what's the "declared type" then?
All I want, in the end, is to get back the exact same type after deserializing. At serialization time that just means I want the $type written.

For a root object, the declared type would be the type of the variable you're passing to SerializeObject. This confusion just goes to show how much we need generic SerializeObject methods as proposed in #634.

I don't see how the type of the variable matters. It could anything in the type hierarchy of the input object, including System.Object! This doesn't tell me the right value to pass in or, more precisely, what is the difference in behaviour between passing in typeof(MyBase), typeof(MySuperBase), typeof(object) and typeof(DBNull).

In other words, the declared type should be the type you're going to specify in the DeserializeObject method.

That makes more sense. I really just want it to read the type from the JSON and JsonConvert.DeserializeObject<System.Object> seems to work fine for that. So is there any reason to specify a more derived type than object (other than to avoid casting it later)?

I suppose not but I'd prefer not to cast.

OK, so then my earlier question remains: is there any reason to pass any type other than System.Object to SerializeObject()?

I suppose not if you want the type info serialized no matter what for the root object. You don't actually need the type info on the root object if the type you're deserializing to is the actual type of the object.

OK, then I suppose it works, albeit in a highly un-intuitive way. :)


Integration of Analytics Expression Language into AE/EE

Complete and is integrated into the https://github.com/data-cube/agdc-v2/tree/develop


It cannot be started after a power failure

Today there have been power outages. Unable to start Umbrel. I haven't finished verifying the blockchain.

similar issue here, after a power outage (accidentally unplugged) is the node faulty. It is not possible to login, it stucks in verifying blockchain.

Similar here as well: was still in the process of validating, lost power, now unable to start Umbrel.
Umbrel.local not showing up on IP scanner, RasPi showing intermittent green lights with solid red. SSD lights up briefly but after a minute or two goes dark.
Going to try and flash the OS onto a new SD and see if that does the trick but it will be a few days until I can order one.

I have had no success powering on my Umbrel after shutting it down and discovered it will only boot with a display connected.
This is an issue with the Raspi 4 when running headless, the earlier Raspi models would fallback to composite output when no display is connected and boot fine, the pi 4 however fails to boot if no HDMI mode is specified in /boot/config.txt and no display is connected.
The state of my /boot/config.txt when the issue occured:
umbrel@umbrel:~ $ cat /boot/config.txt | grep hdmi
#hdmi_safe=1
uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
#hdmi_group=1
#hdmi_mode=1
#hdmi_drive=2
#config_hdmi_boost=4
The fix is adding a HDMI mode to /boot/config.txt
uncomment to force a specific HDMI mode (this will force 1080p)
hdmi_group=2
hdmi_mode=82
Uncommenting #hdmi_force_hotplug=1  instead should also allow it to boot headless.

Closing due to inactivity, let us know on https://community.getumbrel.com if the issue still exists.


TGM v0.1.0  Roadmap

This is the roadmap for torchgeometry v0.1.0 focuses on multi-view reprojection primitives that work on images and feature maps.

Feel free to volunteer yourself if you are interested in trying out some items(they do not have to be on the list).

Features

API

Pinhole

[x] inverse_pose 001097c3af11a44f18bb8e66e32bf73362d12046
[x] pinhole_matrix 063b0c611217c6fcdf1f43a98f4934220d2f54df
[x] inverse_pinhole_matrix 063b0c611217c6fcdf1f43a98f4934220d2f54df
[x] scale_pinhole 063b0c611217c6fcdf1f43a98f4934220d2f54df
[x] homography_i_H_ref 063b0c611217c6fcdf1f43a98f4934220d2f54df

Conversions

[x] pi fb56c9c800b347392737d2342e8938ef88cd25e1
[x] rad2deg fb56c9c800b347392737d2342e8938ef88cd25e1
[x] deg2rad fb56c9c800b347392737d2342e8938ef88cd25e1
[x] convert_points_from_homogeneous f13c462326cb6f0c558b91f1a25a457a6bc107b6
[x] convert_points_to_homogeneous f13c462326cb6f0c558b91f1a25a457a6bc107b6
[x] transform_points 1a1511c906e547eedc63f0c363d3aa9a9155b471
[x] angle_axis_to_rotation_matrix 4c929d528ac65dbab04a7388549ee903013b8e1f
[x] rtvec_to_pose 4c929d528ac65dbab04a7388549ee903013b8e1f
[x] rotation_matrix_to_angle_axis f999165bf3b850ea35d3758196b90b75631f85fb
[x] rotation_matrix_to_quaternion f999165bf3b850ea35d3758196b90b75631f85fb
[x] quaternion_to_angle_axis f999165bf3b850ea35d3758196b90b75631f85fb

Warping

[x] HomographyWarper 2e54229fbb7b14a071d3dd2ad93103c68791f57a
[x] DepthWarper cd0356977a0fb573e78f0ba59cf490671eb56a24

Utilities

[x] tensor_to_image 3ad7d0518365a0f7f12c3e6f5d29e3b2605974c2
[x] image_to_tensor 3ad7d0518365a0f7f12c3e6f5d29e3b2605974c2
[x] inverse 1a1511c906e547eedc63f0c363d3aa9a9155b471

Testing

[x] docker kit ae8d9e1adb68cb282ce4165132ab701e96a33497
[x] automated test with TravisCI c213e3e348a6ba553fa2323e4e897659d0250f60
[x] lint tests c213e3e348a6ba553fa2323e4e897659d0250f60
[ ] cuda tests (v0.1.1)

Documentation

[x] sphinx documentation b9251ab28b33023dbab862d210aea20a96545b0d
[x] development e800c3609e64b4297c9713d209d1527c7841f627

Examples:

[x] homography regression ce1524df7aedb4c7abff8f5b0bd9ff6a89f35422
[x] image warped by depth f999165bf3b850ea35d3758196b90b75631f85fb
[x] jupiter notebooks 3c96835b02bb4dfd30eec3f33c996373aa6584ca

I will be more than happy to add new functionality to it --- robot kinematics and other stuff that I have already implemented but in tensorflow :) so we could import both gvnn and that as well.


[Storage] error overhaul

Fixes # .
Motivation
continuing from https://github.com/coinbase/rosetta-sdk-go/pull/134
Solution
added errors.go file in storage package and unit test
Open questions

Pull Request Test Coverage Report for Build 6360

3 of 8 (37.5%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 78.472%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

keys/keys.go
0
5
0.0%

Totals

Change from base Build 6353:
0.7%

Covered Lines:
3718

Relevant Lines:
4738

💛  - Coveralls


Less-than-or-equal-to sign not highlighted

The <= symbol isn't highlighted like the others.

Fixed by #74.


Human readable exceptions

Currently we print exceptions directly at the CLI. Instead, we should have a notion of "human-readable" exceptions, which can be shown to the user. We should leverage the type system to ensure that only human-readable exceptions are shown at the CLI.

already in v12


Can i takeover subdomain with cname that refers cdn.cloudflare.com

I have found a subdomain like sub.example.com which alias to sub.example.com.cdn.cloudflare.com
when I request that subdomain it gives me
( 404 not found)
so can i take over it or not ?

Any Update ? ,. Did you take over ? ,.
This site can’t provide a secure connection
sub.example.eu uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH

I have the same question? Anyone knowss how to do this?

Subdomains pointing to sub.example.com.cdn.cloudflare.com utilize a CNAME Zone on Cloudflare which requires a Business or Enterprise account and requires TXT record verification at the authoritative DNS per this article titled Understanding a CNAME Setup. Thus, takeovers are impossible.

Oh thanks a lot for the clarification. 👌

thanks

In Some Place, we see "404 Not Found. nginx".
when we dig this, we saw some ip address. but not found is it from where.
Can anybody tell me how can we find it and is it vulnerable or not?

I don't think so we can takeover subdomain that point towards the IP. Means cname like <IP_ADDRESS> not possible to takeover


运行npm run build:prod出警告

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
static/js/chunk-elementUI.916cd2bb.js (562 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
app (984 KiB)
static/js/runtime.f70cc7c6.js
static/css/chunk-elementUI.8441406c.css
static/js/chunk-elementUI.916cd2bb.js
static/css/chunk-libs.0404713a.css
static/js/chunk-libs.cee28661.js
static/css/app.10fde728.css
static/js/app.45c065fc.js

https://github.com/PanJiaChen/vue-admin-template/issues/279


Add Clippy as a dev-dependency

Clippy is quoted as A collection of lints to catch common mistakes and improve your Rust code. Essentially, this tool will help us write better, more concise Rust across the board!
A full list of all linting rules for Clippy can be found here.
Note that docs say not to add Clippy as a hard dependency, but to include it as an optional dependency, as a cargo subcommand, or as an included feature during build.

Closing, see my comment on #6.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-sandbox/channel-wg-leads
/assign knative-sandbox/channel-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/reconciler-test a25de6a...49fac75:
  > 49fac75 import release 0.26 dependencies (# 241)
bumping knative.dev/pkg 4857ab6...5ae4821:
  > 5ae4821 [release-0.26] Source validation fixes (# 2291)
  > a49a60e [release-0.26] Add IsNum to true when set `-0` to minimumVersion.Pre (# 2290)
bumping knative.dev/eventing 20ec9f7...f031ba2:
  > f031ba2 upgrade to latest dependencies (# 5744)
  > dcb0aea Add record events to released images (# 5734)
  > 24d102d Ce overrides validation (# 5730)
  > 9e66fc9 Adding all resources for NOOP migrator (# 5694)
  > ef48133 KReference mapping experimental feature (# 5599)
  > 407f3cb Update community files (# 5739)
  > 7e80074 Update actions (# 5740)
  > 21155e9 Enhance DLQ CloudEvents with destination (# 5727)
  > deafb9b fixing error message (# 5735)
  > cf630ed :dizzy: Adding 1.22 k8s to GH Actions (# 5737)
  > 495814c upgrade to latest dependencies (# 5732)
  > 0260d8b Dropping k8s 1.19 as that is unsupported (# 5736)
  > f568fd9 Cleaning up v1b1 testing (# 5733)

/lgtm
/approve


Flow list of seeds large number causes vapor to hang

Edit the default list of seeds file: shared/example
Add the following line to the end .5,5000000000000000000000000000000000000,.5
Enable a flow renderer and pick use List of seeds under seed distribution type

Vapor will hang.

On M1, this causes VAPOR to crash when loading our zfp HDF5 file, and selecting a variable for advection (none are selected by default)

Hey @StasJ , I cannot reproduce a hang using the dataset Scott suggested, on M1 MacBook. What platform did you test it on?
@sgpearse , I cannot reproduce a crash! We need to do a screen share probably...

@shaomeng I think this works for stas.  I'm actually seeing it work too now.  Not sure why it crashed for me yesterday but I'll go ahead and close it.

@shaomeng I think this works for stas. I'm actually seeing it work too now. Not sure why it crashed for me yesterday but I'll go ahead and close it.

Hmm, thanks for testing it again.  I'll keep this issue in mind and come back to it as soon as I notice it again. Thanks a lot!


[Solution] Two Sum in python #8

resolved #8

kindly provide your screenshot

for the leetcode ? or my file structure ?

for the leetcode solution

add it to your file


Push replication and attachment

We are creating a document and add the atachment. But push replication can not send it to the server. File size 1MB. Version 0.0.0-531
07-07 10:46:07.110: E/RemoteRequest(2714): io exception.  url: http://admin:admin@<IP_ADDRESS>:5984/qrbox-server/update_qrbox-qrboxe90c5183?new_edits=false
07-07 10:46:07.110: E/RemoteRequest(2714): org.apache.http.NoHttpResponseException: The target server failed to respond
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:85)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at com.couchbase.lite.support.RemoteRequest.executeRequest(RemoteRequest.java:184)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at com.couchbase.lite.support.RemoteMultipartRequest.run(RemoteMultipartRequest.java:48)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
07-07 10:46:07.110: E/RemoteRequest(2714): 	at java.lang.Thread.run(Thread.java:841)

Hi @QRPro,
Could you please share Sync Gateway version and configuration, and also the code snippet of setting the attachment?

If the attachment size 1 byte, it work. If 500kb is not working.
Document document = getDatabase().getExistingDocument(documentId);
UnsavedRevision unsavedRevision = document.createRevision();
unsavedRevision.setAttachment(updateName, attachment.getContentType(), attachment.getContent());
unsavedRevision.save();
iOS version works fine. Push attachments.
Server version CouchDB 1.2.0

Hi @QRPro,
Attachment push replication to CouchDB was fixed for CBL 1.1.0 release.
http://files.couchbase.com/maven2/com/couchbase/lite/couchbase-lite-android/1.1.0/
Please try 1.1.0 build?

We have try 1.1.0. The error remained.
07-13 09:46:35.402: E/RemoteRequest(26044): org.apache.http.NoHttpResponseException: The target server failed to respond

It could be CouchDB, according to 1, 1.2.0 is no longer a supported
release.
2015-07-13 5:48 GMT+01:00 QRPro<EMAIL_ADDRESS>
We have try 1.1.0. The error remained.
07-13 09:46:35.402: E/RemoteRequest(26044):
org.apache.http.NoHttpResponseException: The target server failed to respond
—
Reply to this email directly or view it on GitHub
https://github.com/couchbase/couchbase-lite-android/issues/637#issuecomment-120811594
.

Version couchbase for iOS working properly. I do not think that the case CouchDB 1.2.0.

Hi @QRPro
I tested push replication with attachment against CouchDB 1.6.1 that I installed. It works fine.
Following is sample code.
https://github.com/hideki/couchbase-lite/tree/master/test/SimpleCouchDBClient
As @sergio91pt  wrote, it could be CouchDB 1.2.0 issue.
Thanks!

@QRPro: Definitely upgrade CouchDB. There have been major improvements in attachment replication in the latest releases.


Intellisense is taking about 10-15 seconds to show suggestions with large project

I found these existing issues, but they were closed without a solution:
https://github.com/Microsoft/vscode/issues/38409
https://github.com/Microsoft/vscode/issues/42306

VSCode Version: 1.24.1
OS Version: macOS 10.13.1

Also tried with VSCode insiders build 1.25.0
Steps to Reproduce:
I think the problem might be related to the size of the project. My folder structure is as follows:
top-level/
  clients/
    client-one/
    client-two/
    client-three/
    client-four/
  packages/
    node-module-one/
    node-module-two/
    node-module-three/

I'm using lerna to bootstrap it all together (The clients share the common local packages in the packages dir).
Each client is a react application, and was created using create-react-app.
Some stats about the project:
Files: 358190
Dirs: 30438
Size: 2.5 GB

Does this issue occur when all extensions are disabled?: Yes
I tried with all extensions removed and fresh builds of VSCode.
Also, here's a video capturing the delay at about 10-15 seconds:
screencast 2018-06-17 15-32-30.mp4.zip

@RMacfarlane Let me know what I can do to help resolve this! I'm happy to do a screen share or whatever you need

This issue was moved to Microsoft/TypeScript#25057


Evalution when label imbalance

Hi,
I want to know how you deal with imbalance label problem? When the label distribution is highly skewed, the generative model may only generate one class label, which cannot use to evaluate ROC AUC, even with cross validation. Besides, should I use cross validation  for real data? I cannot find the codes to tackle this problem, looking forward to your reply! Thanks!

Hi,
Sorry for the late response. We did not deal with the imbalance problem in a specific way, since on our datasets model worked good enough even with label imbalance. But probably you could try loss re-weighting, or sample minority class more often (than sampling according to empirical distribution).


Feat/routing

:grin: :tada: :dancer:
Changes unrelated to routing:

[x] Removed Android-related files for now, to simplify the repo (in retrospect, I should have done this later, because it clutters the PR with about 15 deleted files. But that's what those are.)
[x] Removed unused .flowconfig, .watchmanconfig and .travis.yml
[x] Misc. cleanup

Happy to squash these commits post-review, just wanted to keep the steps clear.
Resolves #35.

Found consistently reproducable showstopping bug: When switching to the AR view, I seem to be only able to switch to it one time. If I tap on 'map' multiple times, or 'list' and then 'back' multiple times, I am able to do so as expected. If I tap on 'AR', and then 'AR' again, the app freezes. If I tap on 'AR' and then 'Map' and then 'AR' again, the app freezes.
Also, when I am in 'Map' view that button should be grayed out or not present, and when I am in 'AR' view that button should be grayed out or not present

@jake-shasteen "Show-stopping" notwithstanding, this may be a fundamental issue with Navigator behavior in React Native, and merits further inquiry.
The design of the mode-menu, on the other hand, wasn't really within the scope of this issue, but we can definitely work on improving its UX.

@jake-shasteen Added suggested stopgap fix, wherein AR and list view now both only go back (to map view), which avoids the stacked-scenes performance issue.

@bignell
Bug
When I try to change the orientation of the device from portrait to landscape, I get an error:
Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the undefined component. The error populates multiple times per orientation change ( in the last case, over 500 warnings popped up when I switched views a few times and then reoriented ).
Attempted Debug
Tried for a few minutes to locate bug but could not easily locate it. I have tried adding
componentWillUnmount() {
    navigator.geolocation.clearWatch(this.watchID);
  }

to MapView / ArView -- this does not seem to change anything
I have also tried commenting out line 17 of Map.js, but that does not seem to help either.
Suggested Resolution
If you would like we can make it a new issue. One solution would be to not ever use setState and not have stateful components by keeping everything in the redux store. Otherwise, we will have to identify what is causing this issue and then proceed from there.

I don't believe we need to separate the screens from containers. Personally, it's more confusing because most of the containers will be scenes anyways,dropNewButton is the exception.

@jake-shasteen The weirdest part is that it happens only on orientation change. I could understand if it was some issue with the getPosition somehow running while a different view was being rendered, but then it should happen even without changing orientation, right? I'll create a bug issue in Waffle.
@tiffeli I imagined us adding more functionality in the form of more smart buttons, like "Turn on Sharing my Location" or what have you, but if we end up not doing so we can always relocate it back. I personally find the 'container' term a little confusing, because for me that implies a component nested inside another, when these are really the same component but bound with data/actions.

@bignell @tiffeli @asu91
We might be able to avoid repeating ourselves by doing something like this to switch between views rather than routing to different scenes that contain repeated code. It seems like we would want to use the router in order to switch between things like the settings page or auth, because those are completely separate concerns. The additional complication could cause more difficulty in debugging and adding additional features later. With the implementation proposed by the PR we will have to be sure to modify identical or similar code in at least 3, potentially 6 places when changes that touch each view are introduced.
This implementation isn't fully fleshed out and does introduce a problem in rendering the list when cycling through. That said, it is just a few lines of code and all in one place.
What are the clear benefits of using the router for switching views over this method, and do they outweigh the cost of additional complication and unavoidable repeated code?
// ViewController.js from current master branch

toggleView() {
    if( this.state.view === 'ar' ) {
      this.setState({view: 'map'});
    } else if ( this.state.view === 'map' ) {
      this.setState( {view: 'list'} );
    } else if ( this.state.view === 'list' ) {
      this.setState( {view: 'ar'} );
    }
  }

  render() {
    const { getLocationToSave, pins, deletePin, recent } = this.props;
    return (
      <View style={{flex: 1}}>
      { this.state.view === 'ar' ? <AR currLoc={ this.state.currLoc } pins={pins} /> : void 0 }
      { this.state.view === 'map' ? <Map
          getLocationToSave={getLocationToSave}
          currLoc={this.state.currLoc}
          initialLoc={this.state.initialLoc}
          pins = {pins}
          recent = {recent}
        /> : void 0 }
      { this.state.view === 'list' ? <PinList
          deletePin={deletePin}
          pins={pins}
          /> : void 0 }
        <Button
          onPress={this.toggleView.bind(this)}
        >
          Toggle View
        </Button>
        <DropNewPinButton/>
      </View>
    );
  }

@jake-shasteen The toggleView function does seem more intuitive, but that might be because I am not entirely familiar with react-router-flux. From what I see so far, it is much more DRY to use the toggleView function.

Discussion notes:

Root-level routing with react-native-router-flux (this PR's implementation)

Pros: built-in NavigationAnimations, external routing actions, fairly idiomatic
Cons: code repetition, rendering performance questions with camera feed

Conditional rendering inside ViewContainer by state

Pros: DRYness & simplicity, SoC from non-pin-view screens
Cons: DIY animation, less presentational control, less idiomatic

Plan of action:

Use presentational components like screens/MapView.js to compose render-views
Play with conditional rendering in one standard ViewContainer-type file, using either a custom solution or a nested react-native-router-flux Router

In light of the new approach, I'm closing this in favor of a new PR.


Docker run doesn't work

I followed the howto and got this error.
marcel@scummbar:~/docker-horizon-core-web$ sudo docker run opennms/horizon-core-web:20.0.1-1 -s
OpenNMS configuration already initialized.
runjava: Looking for an appropriate JRE...
runjava: Checking for an appropriate JRE in JAVA_HOME...
runjava: found: "/usr/lib/jvm/java/bin/java" is an appropriate JRE
runjava: value of "/usr/lib/jvm/java/bin/java" stored in configuration file
==============================================================================
OpenNMS Installer
==============================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

DEBUG: Platform is IPv6 ready: true
- searching for libjicmp.so:
  - trying to load /usr/lib64/libjicmp.so: OK
- searching for libjicmp6.so:
  - trying to load /usr/lib64/libjicmp6.so: OK
- searching for libjrrd.so:
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /libjrrd.so: NO
  - trying to load /opt/opennms/lib/libjrrd.so: NO
  - trying to load /opt/opennms/lib/linux64/libjrrd.so: NO
  - trying to load /usr/java/packages/lib/amd64/libjrrd.so: NO
  - trying to load /usr/lib64/libjrrd.so: NO
  - trying to load /lib64/libjrrd.so: NO
  - trying to load /lib/libjrrd.so: NO
  - trying to load /usr/lib/libjrrd.so: NO
  - trying to load /usr/lib/jni/libjrrd.so: NO
  - trying to load /usr/lib/libjrrd.so: NO
  - trying to load /usr/local/lib/libjrrd.so: NO
  - trying to load /opt/NMSjicmp/lib/32/libjrrd.so: NO
  - trying to load /opt/NMSjicmp/lib/64/libjrrd.so: NO
  - trying to load /opt/NMSjicmp6/lib/32/libjrrd.so: NO
  - trying to load /opt/NMSjicmp6/lib/64/libjrrd.so: NO
- Failed to load the optional jrrd library.
  - This error is not fatal, since jrrd is only required for optional features.
  - For more information, see http://www.opennms.org/index.php/jrrd
- searching for libjrrd2.so:
  - trying to load /usr/lib64/libjrrd2.so: OK
15:46:01.080 [Main] WARN  org.opennms.install.Installer - Could not create file: /opt/opennms/etc/libraries.properties
- using SQL directory... /opt/opennms/etc
- using create.sql... /opt/opennms/etc/create.sql
15:46:01.094 [Main] INFO  org.opennms.core.schema.Migrator - validating database version
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:525)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.opennms.core.schema.MigrationException: an error occurred getting the version from the database
    at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:183)
    at org.opennms.core.schema.Migrator.validateDatabaseVersion(Migrator.java:211)
    at org.opennms.install.Installer.install(Installer.java:245)
    at org.opennms.install.Installer.main(Installer.java:990)
    ... 6 more
Caused by: java.sql.SQLException: No suitable driver found for jdbc:postgresql://:/template1
    at java.sql.DriverManager.getConnection(DriverManager.java:689)
    at java.sql.DriverManager.getConnection(DriverManager.java:208)
    at org.opennms.core.db.install.SimpleDataSource.getConnection(SimpleDataSource.java:113)
    at org.opennms.core.schema.Migrator.getDatabaseVersion(Migrator.java:171)
    ... 9 more

What I did:

Installed all requirements successfully
ran the commands "usage" lists
ran the command on the top

Docker run alone does not work, OpenNMS requires a PostgreSQL database, therefore you need to link it to an existing PostgreSQL database or run a whole service stack with docker-compose. The configuration for authentication is done through environment variables.

I'm also getting this error and i'm following the docker-compose to stack the whole service.
Thus, i'm getting 2 containers which separate with psql + hrz.core.web
The psql is running okay with port 5433 and i already have 5432 running for other services.
Have no idea why core.web cant take up the 5433 PostgreSQL.
docker-compose.yml
version: '2'

volumes:
  psql.data:
    driver: local
  opennms.data:
    driver: local

networks:
  opennms.net:
    driver: bridge

services:
  database:
    container_name: opennms.psql
    image: postgres:9.6.1
    env_file:
      - .postgres.env
    networks:
      - opennms.net
    volumes:
      - /volume1/docker-compose/postgresql/data:/var/lib/postgresql/data
    ports:
      - "5433:5433"

  opennms:
    container_name: opennms.hzn.core.web
    image: opennms/horizon-core-web:20.0.1-1
    env_file:
      - .opennms.env
      - .postgres.env
    networks:
      - opennms.net
    depends_on:
      - database
    volumes:
      - /volume1/docker-compose/opennms/etc:/opt/opennms/etc
      - /volume1/docker-compose/opennms/data:/opennms-data
    command: ["-s"]
    ports:
      - "8980:8980"
      - "18980:18980"
      - "1099:1099"
      - "8101:8101"
      - "61616:61616"
      - "5817:5817"
      - "162:162/udp"

Docker-Compose  Version
ash-4.3# docker-compose version
docker-compose version 1.14.0, build c7bdf9e

@xmushimushi you can leave the port for PostgreSQL on 5432, if you have 5432 already used, change the expose port mapping from 5432:5432 to 5433:5432.
This means incoming connections on your local machine on port 5433 will be forwarded to the running container port 5432.

Running opennms in Docker will create IO issue if yes please let know how to overcome we have around 1 lakh interfaces among that 75k interfaces enabled for polling


crash on "xml_attribute::empty ()"

...
<item attr1="val" attr2="" />
...

...
if (!item.attribute (L"attr2").is_empty ()) // crash goes here
...

pugi::parse_default, pugi::encoding_auto

#define PUGIXML_COMPACT
#define PUGIXML_NO_STL

pugixml 1.6/1.8

pugixml does not have an is_empty function; is this something you have added?
Do you also define PUGIXML_WCHAR_MODE?

sorry, just "::empty ()" method, wchar defined.

Does the crash happen without PUGIXML_COMPACT?
Can you include the full callstack of the crash?
If possible, can you attach the full XML file? The XML fragment alone doesn't seem to trigger any issues.

with PUGIXML_COMPACT
<?xml version="1.0"?>
<root>
<item attr1="val" attr2="" />
</root>

pugi::xml_document doc;
pugi::xml_parse_result result = doc.load_file (L"example.xml", pugi::parse_default, pugi::encoding_auto);
pugi::xml_node root = doc.child (L"root");
if(root)
{
for (pugi::xml_node item = root.child (L"item"); item; item = item.next_sibling (L"item"))
{
if (!item.attribute (L"attr2").empty ()) // crash
{
//todo
}
}
}

This code does not result in a crash on the compilers I'm testing on (MSVC, gcc, clang on x86 / x64). What compiler are you using, what are the compilation flags, and what is the platform this code executes on?
Also it's my understanding that the crash is inside the attribute function, not empty function - is this correct?

my misstake. crashing not on checking attribute, but get is value.
if (!item.attribute (L"attr2").empty ()) // not here crash
{
     // but condition is true, and as you see (above), attribute has empty value, no text.

     item.attribute (L"attr2").as_string (); // CRASH!!
     item.attribute (L"attr2").value (); // CRASH!!
}

This does not crash for me either. Here's the program I'm using:
#include "pugixml.hpp"

int main()
{
pugi::xml_document doc;
pugi::xml_parse_result result = doc.load_file (L"example.xml", pugi::parse_default, pugi::encoding_auto);
pugi::xml_node root = doc.child (L"root");

if(root)
{
for (pugi::xml_node item = root.child (L"item"); item; item = item.next_sibling (L"item"))
{
if (!item.attribute (L"attr2").empty ())
{
	item.attribute (L"attr2").as_string ();

}
}
}
}

When built with -DPUGIXML_COMPACT -DPUGIXML_WCHAR_MODE -DPUGIXML_NO_STL this does not crash on any systems I have access to. Can you specify the compilation flags, compiler and platform you're testing on so that I can try to understand the issue better?

/GS- /GL /W4 /Gy /Zc:wchar_t /Ox /Zc:inline /fp:precise /D "_UNICODE" /D "UNICODE" /errorReport:prompt /GF /WX /Zc:forScope /Gr /Oy /MT /EHsc /nologo /Os
w7-64

Here's the code that I am using to test this:
issue-143.zip
When I build it and run it using Visual Studio 2012, I get this output:
pointer: 00976734, length: 0
Which is correct.

Thank you for answer and help.
I found where it crashed, not pugixml.


How to define a route that does nothing ?

Usually when we create a link that does nothing, we give it an href of "#". But with react-router this redirects to the main page (path = '/'). How can I define a route that does nothing, that I will then put in the href of such links? Thanks.

Can you elaborate on what you're trying to achieve?

I'm not sure why you'd want an element that does nothing, seems like a <span/> should be enough.  also <a href="#"/> is an accessibility anti-pattern.


Add more transaction example and improve preload example

related: https://github.com/go-rel/rel/issues/176


Support for 'docker run/stop' to start/stop containers

Description
Are there plans to support 'docker run/stop' to start/stop containers?
I'll see in the 'docker-client' there are methods for 'createContainer' etc.
Thankx,
Malu

Sorry for the delayed response @Malu44 - we don't have any plans ourselves to add a stop or start goal to the plugin as we don't really have a need, but I'd be happy to review/merge any PR that added such a thing.

We recommend users switch to https://github.com/spotify/dockerfile-maven. This project is now bug fix only mode.


volatility demo

Codecov Report
Base: 96.85% // Head: 91.12% // Decreases project coverage by -5.73% :warning:

Coverage data is based on head (2f9d153) compared to base (edefc48).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
- Coverage   96.85%   91.12%   -5.74%
==========================================
  Files          14       15       +1
  Lines         318      338      +20
==========================================
  Hits          308      308
- Misses         10       30      +20

Impacted Files
Coverage Δ

src/binary_operations/compose.jl
66.66% <0.00%> (-33.34%)
:arrow_down:

src/distributions/mixture.jl
66.66% <0.00%> (-33.34%)
:arrow_down:

src/kernels/resampling.jl
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.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Is it possible to add several image overlays?

Im trying like this but it only displays the last image, is it possible to do it?

     //Overlays
    myPlayer.imageOverlay({
        image_url: "img/overlay1.png",
        click_url:"#secc1",
        opacity: 0.9,
        start_time: 0,
        end_time:10,
        height: '20%',
        width:'100%'
    });

    myPlayer.imageOverlay({
        image_url: "img/overlay2.png",
        click_url:"#secc1",
        opacity: 0.9,
        start_time: 15,
        end_time:20,
        height: '20%',
        width:'100%'
    });

thanx in advance,
Alex

Possible or not several images use?

Can we add multiple image overlay like this
vid1.imageOverlay({
image_url: "1.png",
click_url:"",
opacity: 0.9,
start_time: 0,
end_time:10,
height: '20%''
});
vid1.imageOverlay({
    image_url: "2.png",
    click_url:"",
    opacity: 0.9,
    start_time: 15,
    end_time:20,
    height: '20%'
});

can you please tell  --possible or not


Fix flex children's width not calculated correctly

This is a known issue on IE11 caused by the fact that IE add the padding value to the flex-basis leading to increase in the size of the column beyond intended. The block behave as if has box-sizing set to content-box even if it is set correctly.
Reference: https://github.com/philipwalton/flexbugs#flexbug-7
Motivation
Part of fixing issues on IE11 https://github.com/facebook/Docusaurus/issues/585
Have you read the Contributing Guidelines on pull requests?
Yes

Screenshot for the homepage on IE11

Screenshot of the help page on IE11

Before that PR the last column was being moved to a new line


Fixed typo

'skeketon' to 'skeleton'. For some reason, it's not showing up in the Github change highlight.

Thanks @radarhere !


EventListener for 1.26

When try to use EventListener package, warcraft just doesnt load a map, drop in main menu. Now i'm using RegisterEvents, but in some cases EventListener would be more convenient. Can u make this package work for 1.26 wc version?

Sure, you just have to backport ClosureEvents into the Pre 1.29 branch and then checkout that manually as your dependency.
It probably doesn't need much to work, but I can't test it myself.
If you have time, join the chat at EU times and we can try getting it to run together.

Ok. It's just because Mouse events. http://prntscr.com/mpcmpp
I've not found ClosureEvents package in pre 1.29 branch.
Think, I'll just comment this lines everytime i update stdlib.

As I said, ClosureEvents would have to be backported into that branch.


⚠ Fortnite has degraded performance

In de49dfc, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1709 ms

Resolved: Fortnite performance has improved in cdebc9b.


feat: able to use local cache

problem
AWS CodeBuild can use local cache feature, but this plugin can not use it.
Description of changes:
By specifying cacheModesOverride: [LOCAL_SOURCE_CACHE, LOCAL_DOCKER_LAYER_CACHE, LOCAL_CUSTOM_CACHE] , we can use local cache.
please review!

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

@leoherran-aws Could you do a code review?

Looks good, thanks for your contribution!

This change was released in version 0.49 of the plugin. Thanks again!


Show 6 promoted, with rest in extended gallery

If there's 20 promoted reportbacks for a campaign, allow for requesting 6 random promoted reportbacks for initial gallery view and then showing rest of the promoted reportbacks in extended "view more" gallery.

I believe this is was completed.


add requirements file of non-python dependencies - fix issue #34

@pydanny @theskumar review me please

:+1:

@dupuy I refactored the install_os_dependencies.sh file. Is good now or I missed some more error?

:+1:


Add missing siteurl on single host

Fixes #27

ShowHostsLabel was only set to true if there was just 1 host (I removed the part from an if .. else statement)

And regarding the label in the UI. We should just clean it up completely, the UI is quite messy at the moment. I will create a new issue for that.


feat(label): color prop

feat(label): color prop
Description
This PR:

adds color prop to Label component
implements basic color scheme for Label colors
creates Label color examples
closes #636

API
<Label color={COLOR} .../>

where COLOR is one of 'primary' | 'secondary' | 'blue' | 'green' | 'grey'  | 'orange' | 'pink' | 'purple' | 'teal' | 'red' | 'yellow' | string

Known issues:
Label text color should be dark shade for labels with light background color, tracked by #629
The color scheme idea implemented here still does not fix this. We need a better mechanism that takes into account the shades of the colors and choose a different variant for foreground based on it.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS

speaking on the ask for inversion mechanism - we might start with a simple concept of on colors where 'on' color (for text/icons/anything that could be placed on top of background) will be provided in two variants: for light background (then black color may be used, as an example) and dark ones (for instance, then white color may be used for text). This will require the following declaration for on color from the client
onColor = {
  light: #333, // will be used on dark background
  dark: #333 // will be used on light background
}

Then we might apply logic that will precompute appropriate 'on' color (dark or light one) for each color used in the user's theme.
Note that if client will need to customize the 'on' colors generated, it might still be possible:
// pseudo-implementation, just to provide an idea
onColor: {

  light: #333, // will be used on dark background by default
  dark: #333 // will be used on light background by default

  // OVERRIDES
  backgrounds: {
     primary:  <some custom color>, // will be applied for all 'primary' tints (100 - 900)

     // with these variants being used where appropriate for different tints of secondary
     secondary: {
         light: ...
         dark: ...
     },

     // absolute fine-tuning
     pink: {
         ....
         '600': <color for exact tint of pink>
     }
  }
}

@kuzhelov can you please add your proposal to #636 ?
there's a big discussion on this happening over there


In mknfold init random seed only if the seed parameter is sent by the…

… caller

This will change the default behavior. Is there a reason why you are changing this? It's an internal function.

The code as is sets the random seed to 0 on each call. Thus one cannot call cv multiple times and average the results (so the seed is not a factor) because the cv will produce the same result
In general, all methods must have a way for the caller to avoid setting the random seed

okay. Could you fix the tests?

Not sure why the tests failed – I looked but I couldn’t figure it out. I’ll have to spend more time to understand the test errors
From: Yuan (Terry) Tang<EMAIL_ADDRESS>Sent: Wednesday, May 17, 2017 9:21 AM
To: dmlc/xgboost<EMAIL_ADDRESS>Cc: mircean<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dmlc/xgboost] In mknfold init random seed only if the seed parameter is sent by the… (#2101)
okay. Could you fix the tests?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dmlc/xgboost/pull/2101#issuecomment-302143098, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGKyfO0pm1CfHLyws_amphT7FsUfVewWks5r6x5QgaJpZM4MbpBK.


How to load my own results file

How would I load my own results file?  I tried replacing the respth argument with a local path, but it doesn't seem to work.
respth <- "D:/Documents/ExampleResults_final_4-28-22.xls"
resdat <- read_results(respth)
Error: `path` does not exist: ‘D:/Documents/ExampleResults_final_4-28-22.xls’

@ben-wetherill, that should work... is the path right?  What happens when you run this?
file.exists(""D:/Documents/ExampleResults_final_4-28-22.xls")

You're right.  The path was wrong.  I had the wrong suffix .xls instead of .xlsx.
read_results() worked with my file, but it still wanted the column heading of Results Depth Category.  This needs to be changed to Activity Relative Depth Name.

@ben-wetherill good, glad that was sorted.  Do you mean the column G header name should be "Activity Relative Depth Name" instead of "Relative Depth Category"? If so, I can change the system file and the check in check_results().

Yes.  That's correct.


Upgrade crate to support quinn 0.11.

I'm interesting in this library support modern version of quinn. By using this library I'm particularly aim to make TLS handshake less suffering from fingerprinting.
I've updated examples to match latest version in quinn master.
I've updated existing integration tests to compile and run without errors.
I've also updated & relaxed dependencies specification of  this crate.

I was unable to check test when fips enabled due to lack of required version of clang on my machine.

Hello @nmittler, could you please take a look at this when you have some time?

@mstyura merged ... thank you!


Fix AIEX::NpuDmaMemcpyNdOp::getOffsetInBytes

Current version doesn't take into account striding (effectively assumes unit stride for all dims). Not sure how this hasn't come up before...
Thanks @erwei-xilinx

Thanks @makslevental and @erwei-xilinx! This should fix the numeric issue we had for batch matmul size 2.

This also fixes https://github.com/nod-ai/iree-amd-aie/issues/762