Fails to bootstrap on M1

nathansosnovske@Nathans-MacBook-Pro react-native-camera-kit % yarn bootstrap
yarn run v1.22.10
$ yarn example && yarn && yarn pods
$ yarn --cwd example
[1/4] 🔍  Resolving packages...
success Already up-to-date.
[1/4] 🔍  Resolving packages...
success Already up-to-date.
$ cd example && pod-install --quiet
1.10.1

pod install
Analyzing dependencies
Fetching podspec for DoubleConversion from ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
Fetching podspec for Folly from ../node_modules/react-native/third-party-podspecs/Folly.podspec
Fetching podspec for glog from ../node_modules/react-native/third-party-podspecs/glog.podspec

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
/usr/local/bin/pod install

Report

What did you do?

What did you expect to happen?

What happened instead?

Stack
   CocoaPods : 1.10.1
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]
    RubyGems : 3.0.3
        Host : macOS 11.1 (20C69)
       Xcode : 12.4 (12D4e)
         Git : git version 2.24.3 (Apple Git-128)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories :

Plugins
cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-trunk       : 1.5.0
cocoapods-try         : 1.2.0

Podfile
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'CameraKitExample' do
  config = use_native_modules!

  use_react_native!(:path => config["reactNativePath"])

  pod 'ReactNativeCameraKit', :path => '../..'

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
  end
end

Error
LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle - /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi.rb:6:in `rescue in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi.rb:3:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.12.0/lib/ethon.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/typhoeus-1.4.0/lib/typhoeus.rb:2:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:74:in `cdn_url?'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:36:in `create_source_with_url'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/sources_manager.rb:21:in `find_or_create_source_with_url'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:178:in `block in sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `map'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:177:in `sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1073:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1072:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=dlopen(%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.14.2%2Flib%2Fffi_c.bundle%2C+0x0009)%3A+missing+compatible+arch+in+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.14.2%2Flib%2Fffi_c.bundle+-+%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.14.2%2Flib%2Fffi_c.bundle&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...

Couldn't determine repo type for URL: https://cdn.cocoapods.org/: Invalid ABI specified
https://github.com/CocoaPods/CocoaPods/issues/10368 [open] [4 comments]
20 hours ago

CocoaPods compatibility with Apple DTK (Apple Silicon)
https://github.com/CocoaPods/CocoaPods/issues/9907 [open] [79 comments]
2 days ago

Firebase installation error on xcode 12 com m1 processor
https://github.com/CocoaPods/CocoaPods/issues/10329 [closed] [5 comments]
4 days ago

and 3 more at:
https://github.com/cocoapods/cocoapods/search?q=dlopen(%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.14.2%2Flib%2Fffi_c.bundle%2C 0x0009)%3A missing compatible arch in %2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.14.2%2Flib%2Fffi_c.bundle - %2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fffi-1.14.2%2Flib%2Fffi_c.bundle&type=Issues&utf8=✓
Aborting run
An unexpected error was encountered. Please report it as a bug:
Error
at CocoaPodsPackageManager._installAsync (/Users/nathansosnovske/source/react-native-camera-kit/node_modules/pod-install/build/index.js:2:85721)
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async CocoaPodsPackageManager.installAsync (/Users/nathansosnovske/source/react-native-camera-kit/node_modules/pod-install/build/index.js:2:85121)
at async runAsync (/Users/nathansosnovske/source/react-native-camera-kit/node_modules/pod-install/build/index.js:2:12925)
at async /Users/nathansosnovske/source/react-native-camera-kit/node_modules/pod-install/build/index.js:2:13011
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
nathansosnovske@Nathans-MacBook-Pro react-native-camera-kit %

Same issue for me on installing POD in my brand new M1 processor - OS (Big Sur) - React-Native development
Are there any workaround ? or solutions

Hey guys! I don't currently have an M1 to test with, but I will try to look into this shortly. If anyone with an M1 wants to troubleshoot and create a PR that would be very helpful also!

I've been using this package on an M1 mac. Are you guys using Rosetta for the terminal and/or Xcode?

Fixed in #544


intlGet could not find Intl object

Hi
When I tried to use FormatJS with RequireJS, I encounter this problems.
my code is like:
in a.hbs
{{intlGet "a"}}
in a.js
this.$el.html(this.template(this.model.toJSON(),{data:{intl:{"a":"b"}}}));
I got an  error : could not find Intl object "a".
And I track the error, I found in handlebars-intl.js intlGet is a function with 2 variables.
function intlGet(path, options){...}
So when I track in it, i found options are empty object.It lead to the error. How should I setting this options if it can't be parse by this.template({},options)?

make sure you're loading the intl polyfill: https://github.com/andyearnshaw/Intl.js#getting-started

right now I'm using Chrome on OS X, so I assume it is not necessary for now. right?

thank you for helping, I found my project using a legacy version of handlebars.js. update to 2.0+ will fix this.


Attempt to use requests.request instead of sessions

Remove usage of sessions and use requests.request instead

Would be better if we removed it completely instead of commenting it out :) But LGTM.

Have pushed a new commit to remove it entirely now since was initially unsure


Clarify this note about methods

I think I understand what this note is saying better now.

Thomas approved offline.


Get filtered set of nodes in a subtree

I'd like to be able to get a computed set of all nodes in a subtree optionally filtered by some predicate. It seems computedWalkTreeAggregate is already doing the heavy lifting. Would you be open to adding such a function? E.g.:
function getNodes(subtreeRoot: object, predicate?: (node: object) => boolean): Set<object> {
  // ...
}

(I'm open to finding a better name :smile:.)

I've submitted a PR with an attempt at closing this issue. I went for using getChildrenObjects because

it's simpler,
I think filtering a set should be quite cheap, and
computedWalkTreeAggregate requires a key for each entry in the returned map which is a model ID for root refs and resolveId but the key for e.g. an array node is not so obvious and I think findChildren (as a complement to findParent) should not be restricted to finding only model nodes.

Let me know what you think :slightly_smiling_face:

Thanks for making the feature!

You're welcome, thanks for accepting it! 🙂


GET tables/id does not return the same structure as from GET tables

Mainly missing columns key that i'll need on the FE
Return body from tables/id:

Return body from tables:

POST tables also does not return the same structure as GET /tables, has same structure as GET tables/id

👍 Good catch!


build: Fix make dependencies for multiple concurrent jobs

This PR does multiple things, but all are related to fix parallel builds:

adds a + sign here: +$(call VERILATE,testharness), otherwise make will spawn an error from verilator that it disables the job server and will not run in parallel.
adds dependencies to the jobs that create streamers and csr managers. All jobs that require wrappergen to be called. Note that make really was not built for commands outputting multiple files, so I'm using the idiom described here (https://www.gnu.org/software/automake/manual/html_node/Multiple-Outputs.html) to force a serialized build in parallel make, otherwise make will spawn multiple concurrent instances of wrappergen, which is not wrong per se, but a bit unnecessary. The method used has several downsides, and will most likely require to run make clean-generated periodically. This also creates explicit recipes for all the generated files. Not having such a recipe caused previous parallel builds to generate a race condition and fail.
Adds a macro to get all the files generated by wrappergen in one go for multiple configurations of SNAX.
Fixes a wrong dependency. $(SNAX_GEN) is not a dependency of bin/snitch_cluster but already needs to be generated at VERILATE, specifiying the files here is not necessary, since VLT_SOURCES already fetches those file lists from Bender.yml

@xiaoling-yi can you take over this pull request? I'm a bit busy with other stuff.

@JosseVanDelm I will help @xiaoling-yi but since she has 9th month to prioritize, and I have my MS students too, we might get this slowly through the week ^^;

@JosseVanDelm I will help @xiaoling-yi but since she has 9th month to prioritize, and I have my MS students too, we might get this slowly through the week ^^;

I found it is not so hard to fix so it is fine! @rgantonio 👍


fix: crash on empty array

Summary
When VP has no children, app crashed
Close https://github.com/react-native-community/react-native-viewpager/issues/145
Test Plan
Set inital page value to 0 like below:
    this.state = {
      page: 0,
      pages: [],
    };

Compatibility

OS
Implemented

iOS
✅

Android
❌

Checklist

[x] I have tested this on a device and a simulator

cc @krystiansliwa


[ARCTIC-238][DIST]rename CompactJob.jar to OptimizeJob.jar and mv OptimizeJob.jar to di…

…rectory plugin

Why are the changes needed?
fix issue https://github.com/NetEase/arctic/issues/238
Brief change log

rename CompactJob.jar to OptimizeJob.jar and mv OptimizeJob.jar to directory plugin

How was this patch tested?

[ ] mvn package module dist and OptimizeJob.jar should exist in dir /plugin

Documentation

Does this pull request introduces a new feature? (no)
If yes, how is the feature documented? ( not documented)

@hhippodnsla please take a look


Better help text for privacy level

This closes #3422
Also I made a little more consistent the help texts of the project model adding a period.
Please correct me if the text is not right, English is not my native language :).

@humitos I got 4 migration files, just one relate to the projects model, do I need to push the others too?

I'd say that you just have to push the one that it's related to your change and maybe open another PR for the other migrations. They are probably things that someone forgot to apply but shouldn't affect the database itself, anyway.

I don't believe we should change the privacy help_text, and I don't believe it represents the truth for readthedocs.org. I believe private repos will never work for anyone, and we should remove the settings on the .org totally. Not sure the best transition path for projects, but we should remove the option from the forms, at least, so no new projects will set them.

@ericholscher looks like there is an issue already about this #2663. Closing this PR in favor of discussing more about this in the other issue.


Add link to Korean translation readme

Type of changes

[ ] Bug fix
[ ] New feature
[x] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[ ] I've run the latest black with default args on new code.
[ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Add link to Korean translation README

Thanks.


Windows: different zoom levels on different monitors fail to restore windows at correct location

VSCode Version:1.52.1
OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:
I have extension screens setup:

Main screen: laptop resolution 3840x2160 and enlarger text& application size to 200%
extension screen 1: ultrawide screen 2516x1080, no enlargerment
extension screen 2: nomral wide screen: 1920x1080, no enlargerment

and using FancyZones from PowerToys to manage my screens.
=================================

put vscode in extension screen 1 or 2
Drag vscode window & press shift (shortcut of FancyZones) to put to a target sub-screen
close vs code, reopen it

Vscode window positon will not restore to the position where I closed it. In addtion, the vscode window size seems enlargered to 200%. My guess is vscode restores window size & position based the coordinator of main screen rather then the extension screen.
I am not sure it is vscode's bug or FancyZones messed up OS ( win10) ?
If I just put vscode in main screen or extension screens without using draging it to a subscreen, it works fine.
=============================
I double checked. It seems nothing to do with FancyZones. If I put vscode in the certain postion in extension screen but close to main screen, the problem will happen.

Does this issue occur when all extensions are disabled?: Yes/No
N/A

This sounds like an electron issue to me, esp. given the zoom factor.

@bighammer to clarify:

you have 3 monitors
your primary is the most left one
you start VSCode with exactly 1 window and move that to monitor 2
you close VSCode
you start VSCode

=> VSCode does not restore where you left it?
PS: please make sure to not use any third party tool at all, just move the window with the mouse if you must.

@bpasero
you have 3 monitors - Yes
your primary is the most left one - No. My primary is the bottom (monitor 1), monitor 3 is the middle, monitor 2 is the top. Monitor 3 is ultrawide 2516x1080. Monitor 2 is 1920x1080. Monitor 1 is laptop resolution 3840x2160 and enlarger text& application size to 200%
you start VSCode with exactly 1 window and move that to monitor 2 - It doesn't matter. If I put vscode in certain position & size, it happens.
you close VSCode
you start VSCode
=> VSCode does not restore where you left it? - Correct!
Please see the attached screen shot for more information.
One is the layout of my monitors. The other is positon in monitor 3 where it causes issue.

@bighammer any chance this reproduces with just 2 monitors as well? I will have a hard time setting up your setup from home...

@bpasero Of cuz.
I tried this: without the top monitor, just laptop + ultrawide monitor.  The same issue.
It seems vscode retores to the wrong coordinators (and window size) when it is reopened.

Thanks, more questions: when you temporarily disable the extra 200% zoom on the one monitor, does that help? Trying to figure out if the zooming is the origin of this problem.

@bpasero It IS 200% zoom causes the problem. It goes away, when I change 200% to 100%.  In my case, I can work this around by changing the 200% zoom.  The laptop resolution is 3840x2160 with limited screen size. It has to be change to 200% or more.

Ok thanks, I will try to see if I can reproduce this, but I suspect a bug in Electron (= upstream).

Opening for help wanted, as I do not have a good windows setup with multiple monitors right now. If someone wants to chime in with this setup (Windows, 2 monitors, 1 with zoom to 200%) willing to help, a good start to figure out what goes wrong is here:
https://github.com/microsoft/vscode/blob/5c330b06d4df1e2c7b17b629b7b31df4b85efea5/src/vs/platform/windows/electron-main/window.ts#L133
Either the state from the previous session is already wrong or we fail to restore it properly.

Reported as upstream: https://github.com/electron/electron/issues/29605 as I was able to reproduce easily when snapping the window to the right of the second monitor.

I've updated #131098  with details of the scale settings on monitor 1 (250%)

Reported as upstream: electron/electron#29605 as I was able to reproduce easily when snapping the window to the right of the second monitor.

Did you ever find a work-around for this other than having to change the scale? Is there some way with the way electron works where I can force the default location of where the window opens? This is a really annoying problem, because when it opens between monitors, it's trick to even move it to one or the other.

this seems to be fixed for me on insiders after the electron update

Nice, anyone else able to confirm? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Before I posted my issue #144227, I tested whether the problem also happens with the insiders build and it did.

Insiders is back to Electron 13 for a moment, so hold your breath until we resume Electron 16.

I have a feeling that @gjsjohnmurray fix in https://github.com/microsoft/vscode/pull/155589 would fix this as well, 🤞 should validate once insiders is out end of week.

I can repro some non-restoring behavior with 1 monitor at 250% and the other at 100% with stable, but I can't repro with insiders. Verified.


Added HDInsight Kafka option for Flink

When you run
./create-solution.sh
without parameters, you get
Enter a name for this deployment.
Usage: ./create-solution.sh -d  [-s ] [-t ] [-l ]
-s: specify which steps should be executed. Default=CIPTM
Possible values:
C=COMMON
I=INGESTION
P=PROCESSING
T=TEST clients
M=METRICS reporting
V=VERIFY deployment
-t: test 1,5,10 thousands msgs/sec. Default=1
-i: ingestion: eventhubskafka or hdinsightkafka. Default=eventhubskafka
-p: platform: aks or hdinsight. Default=aks
-a: type of job: 'simple-relay', 'stateful' or 'complex-processing'. Default=simple-relay
-l: where to create the resources. Default=eastus
usage should include the -p parameter also
Usage: ./create-solution.sh -d  [-s ] [-t ] [-l ] [-p platform]


Question: Performance comparison with NORM protocol?

I don't see a user forum for this project, so I will post my question as an issue. My apologies if there is a better place.
Has anybody has compared Aeron with the NORM protocol?
https://www.nrl.navy.mil/itd/ncs/products/norm
They look similar and I'm trying to understand improvements Aeron might have included over the open-source NORM. The specification mentions that much of the same design was used.

I've not heard of a comparison of the implementations.
Several of the concepts present in the NORM protocol are used. As is the case for any NAK oriented protocol, actually, since NORM incorporates the best known techniques. Several specifics are different, but the basics of NAK operation haven't drastically changed from SRM semantics. http://www.icir.org/floyd/srm.html
From an implementation standpoint, the design of Aeron is very very different than the NORM implementation. Especially related to throughput and latency.


sensor value formatting

Hi!
First, thanks for your great module.
I would like to format the output value from my custom sensor:
  - name: "lounge_temperature"
    platform: loxone
    uuidAction: "13647f32-01f8-502f-ffff1173fe792577"
    unit_of_measurement: "°C"
    device_class: "temperature"
    state_class: "total"

The result is a very ugly number: 22,012564 °C
I've tried to add the parameter value_template the same way I used them in my other sensors. But that gives me Invalid config for [sensor.loxone]: [value_template] is an invalid option for [sensor.loxone].

Hi,
templating is not supported for now. You have two options first is to format it on the loxone itself so that there is no need to format it with a template. Or the second is that you make a nother template sensor for this custom sensor and hide this one.

Hi, thanks for your answer. I will go ahead with the loxone-side solution.


Milestone 1 feedback

3. Project proposal: reasoning
Comments
This is a great project. I like it, but this is sort of only a descriptive analysis. Even though it is descriptive, I believe there can be a lot to learn here and many implications and conclusions you guys can come up with in terms of looking at trends.

Exploratory data analysis in a literate code document: VIZ

Comments
Well done, but I can see some extra cells that aren't working in some of the EDA pages.
In the future, it would be great to get a one-graph comparison for before and after and trends as well, as it is pretty tricky at this stage to compare the analysis between the measures/categories.

Thanks Andy for your feedback!
We'll look to address these - i've tagged the team so that we can continue some discussions here.

Hey Andy, thanks for the feedback.
Quick question about the underlying project question being 'descriptive'. A quick lookup on definition shows:

Descriptive statistics summarize the characteristics of a data set. Inferential statistics allow you to test a hypothesis or assess whether your data is generalizable to the broader population.

We are not summarizing characteristics of our dataset here; we are testing the hypothesis that the number of explicit references to substance use before/'after' (ahah) covid is different. Is it just that this is not properly communicated in the way the project question is phrased? I'll include the question below for ease of reference.

Has frequency of explicit description of substance abuse in mental-health-oriented subreddits changed over the time period of 2018 through 2020?

Hi @LukeAC, I think this project is very well done. I believe that maybe phrasing it differently where you can have a null hypothesis, and a hypothesis, that would work in your favour!

Hi Andy, appreciate the feedback!
A quick question regards to the EDA part: to compare the before and after trends, shall we add a summary to briefly explain the details and the conclusion?
Since we carried out EDA on 15 subreddit csv respectively, the summary would be from a global level or just for each subreddit(1 or 15?)

Hi @MaeveShi, I would suggest having one global level table comparing the frequency before and after covid. Is there a way to combine the tables?
I would also suggest adding a brief summary explaining the details and the conclusion from a global level.

Hi Andy @andytai7, thanks for the suggestions! I've combined the tables and also created a ipynb file including frequency plots and a brief summary on a global level!

but I can see some extra cells that aren't working in some of the EDA pages.

For the eda pages that not working, can you take a screenshot of them since I cannot find any cells in the eda pages that's not working...Do you mean the files in the main branch of eda/subreddit?

Hi @MaeveShi
For the addictions EDA, here is the screenshot.


Fatal error: Object # has no method 'toCSS'

Running "clean:dist" (clean) task
>> 0 paths cleaned.

Running "clean:post" (clean) task
>> 0 paths cleaned.

Running "copy:fontAwesome" (copy) task
Copied 6 files

Running "coffee:compile" (coffee) task
>> 0 files created.

Running "recess:dist" (recess) task
Fatal error: Object #<Object> has no method 'toCSS'

Running:
node 0.10.33
grunt-recess 1.0.1

You probably have some invalid CSS or LESS.


add keyConcepts for Controlled Vocabulary

@ioggstream @giorgialodi ping

@giorgialodi we need to regenerate all rdf+xml, jsonld files, right?

@giorgialodi we need to regenerate all rdf+xml, jsonld files, right?

hmmm, you are right because I see here the intervention only in the turtle files.

@giorgialodi I'm doing the fixes..

@SrinivasanTarget  I'll merge once you merge :P

@ioggstream your changes are merged. thanks.

just trimming EOL/EOF spaces in edited files.


why 0 for not seen hotspots

@schollz, why not seen hotspots are set to 0?
https://github.com/schollz/find3/blob/master/server/ai/src/learn.py#L208
P=0 dBm => P=1 mW: the transmitter is very near the receptor (~ lossless).
P=-100 dBm => P=0.000000001 mW: the transmitter is far away from the receptor (~ blindloss).
|--------|--------------------|
| P(dBm) |        P(mW)       |
|--------|--------------------|
|    50  |  100000            |
|    40  |   10000            |    strong transmitter
|    30  |    1000            |             ^
|    20  |     100            |             |
|    10  |      10            |             |
|     0  |       1            |             |
|   -10  |       0.1          |
|   -20  |       0.01         |
|   -30  |       0.001        |
|   -40  |       0.0001       |
|   -50  |       0.00001      |             |
|   -60  |       0.000001     |             |
|   -70  |       0.0000001    |             v
|   -80  |       0.00000001   |    sensitive receiver
|   -90  |       0.000000001  |
|   -100 |       0.0000000001 |
|--------|--------------------|

Why not use >= -100dBm as not seen value?

@schollz, any insight?


[Java] Adding Spotless to Tools module

Describe the enhancement requested
The main issue discussing the inclusion of Spotless plugin is discussed here.
Component(s)
Java

Issue resolved by pull request 42058
https://github.com/apache/arrow/pull/42058


Added kazia.uk

This is my partner's website (GitHub repo). I'm not sure if it's considered "low quality" (because it has no real content - it's just a pretty picture) - apologies if so.
Pingdom test: https://tools.pingdom.com/#5dcd646399c00000

Pingdom test: https://tools.pingdom.com/#5dcd646399c00000

Pingdom test: https://tools.pingdom.com/#5dcd646399c00000

It is a very nice brand logo, but unfortunately I wouldn't classify this as much of a "website" in 1MB Club terms. Thanks for your interest though!

It is a very nice brand logo, but unfortunately I wouldn't classify this as much of a "website" in 1MB Club terms. Thanks for your interest though!


XY Coordinate with scaled canvas.

Hello, So I would like to point out a problem with the cropping areas XY coordinates. The image cropper loads from within a modal it works on desktop size however when the browser gets resized the cropping area does not let you select the right area.

Interesting issue, never had this before. Does this issue exists in codepen?


Cocoa Pod Install issues ever since latest update

I keep running into issues trying to perform an install or update in DeviceKit through CocoaPods, ever since the most recent update to DeviceKit from the last few weeks. I have tried both the branch master and the normal one listed on main page under Swift 5. Having the same issue with both of them. When I first started to see this issue I tried the master, which initially worked, but now even the master seems to be having issues too. Any ideas what is going on here??? I have no other issues with this project, and DeviceKit has been extremely reliable, up until this point.
pod 'DeviceKit', '~> 3.1'
pod 'DeviceKit', '~> 3.2'
pod 'DeviceKit', :git => 'https://github.com/devicekit/DeviceKit.git', :branch => 'master'
Error:
[!] CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/d/e/6/DeviceKit/3.2.0/DeviceKit.podspec.json Response: Timeout was reached

@sdevo619 - I'll investigate on that.

I just checked it a little while ago, and seems to be working now using the master repo,  which was strange as I didn’t change anything since yesterday, but haven’t checked using the standard one. Not sure what was going on, or if you were editing it yesterday. Either way, thank you for looking into it. I’ll let you know if it keeps happening though.

@sdevo619 Thanks for letting me know. I'll keep an eye on it. May CocoaPods had a hiccup or something like that. I didn't touch anything since the latest release - which unfortunately happened at 30th instead of 29th April 2020 because the TravisCI build did not build...

No worries. Thanks for the follow up. I’ll let you know if happens again. Take care!

Closing because of inactivity.


install a service mesh for workload-to-workload mTLS connectivity

For the GopherCon demo we’ve written application-specific code that directly integrates with SPIRE; however, that is tight coupling and will require additional code in the workloads (that is a better fit for the data plane instead).
^ That’s not the end of the world, but still, a service mesh can address some cross-cutting concerns.
Two favorable options are LinkerD and istio.
I am more inclined towards istio since it is SPIFFE-compatible.
The appealing case for LinkerD are: performance, ease-of-use, ease of installation
Both solutions equally serve our connectivity and identity needs. So, I think it will be a fair coin toss :).
It might be better to start with LinkerD and refactor to istio if there is a need.
Related to that:
We’ll need to retire the current SPIRE cluster in either case:

for istio insallation, it already uses SVIDs, so we don’t need a SPIRE server.
for LinkerD, it does not understand (at least without an intermediary gateway) about SVIDs anyway.

ref:
https://linkerd.io/2.10/getting-started/

Actually; WONTFIX.
A service mesh is an added layer of complexity that a deployment at this scale does not need.
I’ll keep it as it is.
As a side benefit, maybe I can carve out some reusable library out of this.


Re-enable ban notify rpc

Re enable the ban notify RPC on our network.
Closes #9794

I doubt it's a good idea to have such and endpoint. Idea of ban is to
quickly clean up all resources associated with the node in which we lost
trust.
Sending something to the node means we still store some connection data for
a great while, this is a powerful attack vector which is not hard to
utilize e.g. for DoS.
вт, 9 нояб. 2021 г., 23:03 Nathan Holland @.***>:

Re enable the ban notify RPC on our network.
You can view, comment on, or merge this pull request online at:
https://github.com/MinaProtocol/mina/pull/9793
Commit Summary

Re-enable ban notify RPC
https://github.com/MinaProtocol/mina/pull/9793/commits/536b255d4997498a4a9fc5c8cee62b8e6d739bdf

File Changes
(7 files https://github.com/MinaProtocol/mina/pull/9793/files)

M src/lib/gossip_net/any.ml
https://github.com/MinaProtocol/mina/pull/9793/files#diff-915162c10c9fae6de8fa78160ddf9b615665ca859c54db57727832e4d7f558d3
(7)
M src/lib/gossip_net/fake.ml
https://github.com/MinaProtocol/mina/pull/9793/files#diff-58450d8ef8db39935d8f38cd4f47f051b5104877a6466f34e4aee3c5334ebbae
(15)
M src/lib/gossip_net/intf.ml
https://github.com/MinaProtocol/mina/pull/9793/files#diff-053099bbf1bf5860848d9cde2f1e5556d5167f848e5d7e3e1946be0d85275b20
(6)
M src/lib/gossip_net/libp2p.ml
https://github.com/MinaProtocol/mina/pull/9793/files#diff-ba0e0e31ca94b59ea8bec503e1358c3037c612a7b0bba8d400b9450bfbc30f30
(183)
M src/lib/mina_lib/mina_lib.ml
https://github.com/MinaProtocol/mina/pull/9793/files#diff-fe983c998cc2d2f005d1747a73921c3bf8f9107c172f728e31f4273706a03079
(16)
M src/lib/mina_networking/mina_networking.ml
https://github.com/MinaProtocol/mina/pull/9793/files#diff-40d403297c6290018cdde2fed51cf3aa9f70ca0d489144df6d63643f34f3037e
(34)
M src/lib/mina_networking/mina_networking.mli
https://github.com/MinaProtocol/mina/pull/9793/files#diff-45080ff6cd748b535ced1a18b9bf68362ce1ba3df69ebd069e36362b61764048
(5)

Patch Links:

https://github.com/MinaProtocol/mina/pull/9793.patch
https://github.com/MinaProtocol/mina/pull/9793.diff

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/MinaProtocol/mina/pull/9793, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ4IITYXWBQXKLL3TEGLILULF5CHANCNFSM5HWE6DLQ
.

I doubt it's a good idea to have such and endpoint.

I'm not sure I agree. Perhaps we should discuss this.

Stale, closing.


Amend asUint8Array for Safari 10.0.

A direct test of the buffer's constructor doesn't work on Safari 10.0 (and then SqueakJS won't start). Compare the constructor's name instead.

Would we need to fix it in makeStObject() too?
https://github.com/bertfreudenberg/SqueakJS/pull/68/commits/2d6533b2d66e6a3616a0779bd851ab4e32845a04#diff-1818469f62ebe11a0a28ede7f4a2a4feR4166

Oops, that's right.


Adding rule to pin all floating windows doesn't work

Steps to reproduce
Add this rule to the config file:
windowrulev2 = pin,floating:1
Adding an extra class or title filter doesn't seem to help:
windowrulev2 = pin,floating:1,class:.*
windowrulev2 = pin,floating:1,title:.*
Expected outcome
All floating windows should be pinned
Noted outcome
:shrug: :

fixed in 738ec900f4d5c5e2b00f90e71221ca380555b874
keep in mind the floating:1 rule has to be below any float rule because they are parsed top-to-bottom

Good to know! Thanks!

@vaxerski this commit works well on newly-created floating windows, but not when I float an existing tiled window using the togglefloating dispatcher.
I've added an extra binding that allows me to pin the active window, but I need to remember to trigger it after floating a tiled window, which is a bit annoying.
I tried modifying my binding in order to call both togglefloating and pin at the same time, but that didn't work.
Do let me know if you'd like me to try something else. :+1:

For the rule to work, for now, the window need to be floating when the rule is applied (startup), since the rule is not dynamic. (might be a something worth changing on layout update)
You can bind the toggle float key to toggle float and make it pinned.

@MightyPlaza could you show me how to trigger two dispatchers with one binding? I tried doing it using something like bind = $mod, F, exec, hyprctl dispatch togglefloating && hyprctl dispatch pin but nothing happened. Thanks in advance!

bash -c "hypr..." or hyprctl --batch

@MightyPlaza  ok, so according to hyprctl --help:
...
flags:
--batch -> execute a batch of commands, separated by ';'

So I tried the following:
$ hyprctl --batch "dispatch togglefloating active"; "dispatch pin active"
.. but the result was a floating terminal window and the following output:
ok
bash: dispatch pin active: command not found

Removing the quotes gives me the following output:
$ hyprctl --batch dispatch togglefloating active; dispatch pin active
ok
bash: dispatch: command not found

Any idea as to what's going on?

@MightyPlaza nevermind; I removed my earlier comment. It's working now. Thanks again for your help!


[Skype For Business] Outbound Bot doesn't work.

Every time I try create outbound conversation (no matter WEB API or Console app) I receive an error Microsoft.Rest.TransientFaultHandling.HttpRequestWithStatusException
A 504 (Server Time-Out) response was received from the network and the operation failed. See the exception details for more information.
An error occurred at ConversationResourceResponse response = connector.Conversations.CreateConversation(cpMessage);
My code is from msdn documentation:

const string trustServiceUri = "https://api.skypeforbusiness.com/platformservice/botframework";
MicrosoftAppCredentials.TrustServiceUrl(trustServiceUri, DateTime.MaxValue);
Trace.TraceInformation(MicrosoftAppCredentials.IsTrustedServiceUrl(trustServiceUri).ToString());
Trace.TraceInformation(MicrosoftAppCredentials.MicrosoftAppIdKey);
Trace.TraceInformation(MicrosoftAppCredentials.MicrosoftAppPasswordKey);
var to =<EMAIL_ADDRESS>var connector = new ConnectorClient(new Uri(trustServiceUri));
List participants = new List();
participants.Add(new ChannelAccount(to, to));
ConversationParameters cpMessage = new ConversationParameters(true, new<EMAIL_ADDRESS>"skypebot"),
participants, "My Test Conversation");
ConversationResourceResponse response = connector.Conversations.CreateConversation(cpMessage);
var conversationID = response.Id;
var conversationServiceURL = response.ServiceUrl;

I use the latest version of Bot Framework. 3.8.1 and 3.8.2

sometimes I see another error code A 480 (Temporarily Unavailable) response was received from the network and the operation failed. See the exception details for more information.

Hey @Mikhail2k15 - Did you find a solutions for this problem. I am facing the exact same issue.

@rakeshreddy27  Unfortunately no.

Please share the MSDN documentation page where you found the code you're trying to use.

@EricDahlvang His code is from this MSDN documentation page.

Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.
From now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here:
https://github.com/microsoft/botbuilder-v3/issues
For Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here:
https://github.com/microsoft/botbuilder-channels/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


UD changed the shape of the response object.

Getting definitions no longer works:

KeyError: 'result_type' (file "/usr/local/lib/python2.7/dist-packages/urbandictionary.py", line 41, in _parse_urban_json)

Example URL
http://api.urbandictionary.com/v0/define?term=test
Old style response
{
  "tags": [
    "testes",
    "balls",
    "testicles",
    "nuts",
    "scrotum",
    "school",
    "tests",
    "exam",
    "penis",
    "testing"
  ],
  "result_type": "exact",
  "list": [
    {
      "defid": 708924,
      "word": "test",
      "author": "tester",
      "permalink": "http:\/\/test.urbanup.com\/708924",
      "definition": "A process for testing things",
      "example": "This is a test message",
      "thumbs_up": 376,
      "thumbs_down": 221,
      "current_vote": ""
    },
    {
      "defid": 2957653,
      "word": "test",
      "author": "sm1g",
      "permalink": "http:\/\/test.urbanup.com\/2957653",
      "definition": "To check if something coresponds the promised result or what effect does it have at all.",
      "example": "By typing in the word \"test\" you prolly tried to search if there was a definition for this word.",
      "thumbs_up": 188,
      "thumbs_down": 88,
      "current_vote": ""
    },
    {
      "defid": 2573364,
      "word": "test",
      "author": "test is best",
      "permalink": "http:\/\/test.urbanup.com\/2573364",
      "definition": "slang for testosterone..steroid hormones.",
      "example": "This cycle I'm stacking test with fina for some serious gains.\r\n",
      "thumbs_up": 133,
      "thumbs_down": 49,
      "current_vote": ""
    },
    {
      "defid": 1662552,
      "word": "test",
      "author": "Eddiehashiv",
      "permalink": "http:\/\/test.urbanup.com\/1662552",
      "definition": "A means of evaluating another person's character through a series of unannounced, inconspicuous examinations. Developed by Eddie, it serves to define which people are desirable company and which should not be associated with. As a general rule, a test-passer is a good person while a test-failer is a bad person.\r\n\r\nPassing the test results in the joyous proclamation that \"You pass the test!\"\r\n\r\nFailure of a test is announced simply by saying \"You failed the test.\" This phrase is often used to show general disdain for a person's existence.\r\n",
      "example": "\"You didn't make eye contact while saying 'thank you.' You failed the test.\"\r\n\r\n\"You forgot to hold the door open for me... failed the test.\"\r\n\r\n\"You passed the test - you offered me a piece of sausage from your pizza.\"",
      "thumbs_up": 120,
      "thumbs_down": 52,
      "current_vote": ""
    },
    {
      "defid": 1876232,
      "word": "test",
      "author": "monn-unit",
      "permalink": "http:\/\/test.urbanup.com\/1876232",
      "definition": "1. the main cause of explosions.\r\n2. any thing dreaded that your \"teachers\" say is \"good\" for you. soon after, you explode for no reason.\r\n3. what scientists do to make stuff explode.\r\n4. when a sheet of paper explodes into flames.",
      "example": "1. test sodium and water.\r\n2. SAT is a test.\r\n3.  A process of finding out whether something works or not.\r\n2. An oral or written exam to find out one's ability in one or more subjects.",
      "example": "1. Lets test out that abandoned car!\r\n2. NOOO!! We have a test in math class today! I'm going to fail1!",
      "thumbs_up": 63,
      "thumbs_down": 33,
      "current_vote": ""
    },
    {
      "defid": 2081307,
      "word": "TEST",
      "author": "VICKI KARMA",
      "permalink": "http:\/\/test.urbanup.com\/2081307",
      "definition": "Everything that is put in front of you during any given day. ",
      "example": "How was your day?\r\nTesting!...but i did well at not passing every test!...Hope i get a better run tomorrow. ",
      "thumbs_up": 39,
      "thumbs_down": 15,
      "current_vote": ""
    },
    {
      "defid": 1693816,
      "word": "TEST",
      "author": "Joey Suska",
      "permalink": "http:\/\/test.urbanup.com\/1693816",
      "definition": "1. One of the greatest pro-wrestlers to ever grace us with his presence. Has a good habbit of getting annoying WWE Diva's OFF of our TV screens, usually by charging at them and booting them in the face.\r\n\r\n2. A real mans man! Even more so than William Regal.\r\n\r\n3. Soon to be returning to WWE rings and will be murdering mid-carders left and right with big boots.",
      "example": "J.R.: Bah Gawd, that sunuvabitch TEST just kicked that poor girls teeth down her throat!\r\n\r\nKing: Those poor puppies!",
      "thumbs_up": 70,
      "thumbs_down": 52,
      "current_vote": ""
    },
    {
      "defid": 1157334,
      "word": "Test!",
      "author": "fano",
      "permalink": "http:\/\/test.urbanup.com\/1157334",
      "definition": "Derogative term. \r\nDerived from the way a Greek may call someone an Arhidi (a testicle). \r\n\r\nPlace of origin: N Melbourne (Aust)",
      "example": "You're such a test!\r\n\r\nHey there goes that test again.\r\n\r\nTEST!",
      "thumbs_up": 15,
      "thumbs_down": 3,
      "current_vote": ""
    },
    {
      "defid": 2485641,
      "word": "Test",
      "author": "energizerman38",
      "permalink": "http:\/\/test.urbanup.com\/2485641",
      "definition": "What you take in school to determine if you pass or fail in life.",
      "example": "I failed my test, therfore I must fail at life.",
      "thumbs_up": 16,
      "thumbs_down": 6,
      "current_vote": ""
    }
  ],
  "sounds": [
    "http:\/\/media.urbandictionary.com\/sound\/test-8076.mp3"
  ]
}

New style response
{
  "list": [
    {
      "definition": "To test or to try someone by irritating, aggravating, annoying or anything less than [pleasurable]. \r\n\r\n[Testing] can also be a premeditated [plot] to see what you would do in a certain situation.",
      "permalink": "http://testing.urbanup.com/2949093",
      "thumbs_up": 34,
      "author": "Jfender24",
      "word": "testing",
      "defid": 2949093,
      "current_vote": "",
      "written_on": "2008-03-24T00:00:00.000Z",
      "example": "\"This [boy's] been testing my patience all day.\"\r\n\r\n\"He asked me if I wanted a [3some] but I think he was just [testing me].  He don't get down like that.\"",
      "thumbs_down": 5
    },
    {
      "definition": "To try the [patience] of a certain individual [who you] know can't be tried [son].",
      "permalink": "http://testing.urbanup.com/5007499",
      "thumbs_up": 23,
      "author": "Steven Waterdog the Third",
      "word": "testing",
      "defid": 5007499,
      "current_vote": "",
      "written_on": "2010-06-02T00:00:00.000Z",
      "example": "Alex, if you [don't stop] testing Jessica, she's going to [burn] your face with a [bagel]!",
      "thumbs_down": 3
    },
    {
      "definition": "1. the main cause of [explosions].\r\n2. any thing [dreaded] that your \"teachers\" say is \"good\" for you. soon after, you explode for no reason.\r\n3. what scientists do to make stuff explode.\r\n4. when a sheet of paper explodes into [flames].",
      "permalink": "http://test.urbanup.com/1876232",
      "thumbs_up": 126,
      "author": "monn-unit",
      "word": "test",
      "defid": 1876232,
      "current_vote": "",
      "written_on": "2006-07-22T00:00:00.000Z",
      "example": "1. test [sodium] and water.\r\n2. SAT is a test.\r\n3. [Monkeys].\r\n4. you brought your [lighter] to test.",
      "thumbs_down": 33
    },
    {
      "definition": "To test or to try someone by irritating, aggravating, annoying or anything less than [pleasurable]. \r\n\r\n[Testing] can also be a premeditated [plot] to see what you would do in a certain situation.",
      "permalink": "http://testing.urbanup.com/2949186",
      "thumbs_up": 44,
      "author": "Jfender24",
      "word": "testing",
      "defid": 2949186,
      "current_vote": "",
      "written_on": "2008-03-24T00:00:00.000Z",
      "example": "\"This [boy's] been testing my patience all day.\"\r\n\r\n\"He asked me if I wanted a [3some] but I think he was just [testing me].  He don't get down like that.\"",
      "thumbs_down": 14
    },
    {
      "definition": "slang for [testosterone]..[steroid] [hormones].",
      "permalink": "http://test.urbanup.com/2573364",
      "thumbs_up": 148,
      "author": "test is best",
      "word": "test",
      "defid": 2573364,
      "current_vote": "",
      "written_on": "2007-08-30T00:00:00.000Z",
      "example": "This cycle I'm [stacking] test with [fina] for some serious [gains].\r\n",
      "thumbs_down": 59
    },
    {
      "definition": "Everything that is [put in] [front] of you during any given [day]. ",
      "permalink": "http://test.urbanup.com/2081307",
      "thumbs_up": 48,
      "author": "VICKI KARMA",
      "word": "TEST",
      "defid": 2081307,
      "current_vote": "",
      "written_on": "2006-11-10T00:00:00.000Z",
      "example": "How was your day?\r\n[Testing]!...but i did well at not [passing] every test!...Hope i get a [better run] tomorrow. ",
      "thumbs_down": 16
    },
    {
      "definition": "A means of evaluating another person's character through a series of [unannounced], [inconspicuous] examinations. Developed by Eddie, it serves to define which people are desirable company and which should not be associated with. As a general rule, a test-passer is a good person while a test-failer is a bad person.\r\n\r\nPassing the test results in the joyous [proclamation] that \"You pass the test!\"\r\n\r\nFailure of a test is announced simply by saying \"You failed the test.\" This phrase is often used to show general disdain for a person's existence.\r\n",
      "permalink": "http://test.urbanup.com/1662552",
      "thumbs_up": 132,
      "author": "Eddiehashiv",
      "word": "test",
      "defid": 1662552,
      "current_vote": "",
      "written_on": "2006-03-17T00:00:00.000Z",
      "example": "\"You didn't make [eye contact] while saying 'thank you.' You failed the test.\"\r\n\r\n\"You forgot to [hold the door] open for me... failed the test.\"\r\n\r\n\"You passed the test - you offered me a piece of [sausage] from your pizza.\"",
      "thumbs_down": 57
    },
    {
      "definition": "To [check] if something coresponds the promised result [or what] [effect] does it have at all.",
      "permalink": "http://test.urbanup.com/2957653",
      "thumbs_up": 213,
      "author": "sm1g",
      "word": "test",
      "defid": 2957653,
      "current_vote": "",
      "written_on": "2008-03-27T00:00:00.000Z",
      "example": "By [typing] in the word \"test\" you [prolly] tried to [search] if there was a definition for this word.",
      "thumbs_down": 97
    },
    {
      "definition": "[Something] [you do] to see if this [works]",
      "permalink": "http://testing.urbanup.com/3207681",
      "thumbs_up": 16,
      "author": "verenea",
      "word": "testing",
      "defid": 3207681,
      "current_vote": "",
      "written_on": "2008-07-10T00:00:00.000Z",
      "example": "I'm testing this out",
      "thumbs_down": 4
    },
    {
      "definition": "The male-gendered [equivalent] of \"[bitchy].\" Pronounced \"[testy].\"",
      "permalink": "http://teste.urbanup.com/4150620",
      "thumbs_up": 59,
      "author": "Moggraider",
      "word": "teste",
      "defid": 4150620,
      "current_vote": "",
      "written_on": "2009-08-02T00:00:00.000Z",
      "example": "[I'm outta here]; [Robert's] [pulling up] to the house. That guy is so teste.",
      "thumbs_down": 23
    }
  ]
}

if anyone has any mission critical urban dictionary services that can't wait for a fix
https://github.com/bcyn/urbandictionary-py/pull/10

#10 was accepted, closing.


How to deny a connection?

@t-mullen Hi! Thanks for this package.
I see you say we can use discovery data to pass credentials. But, how can we deny a connection in the discover event?
Thanks!

You get to define how discovery works. I recommend resolving with an error of some kind if auth fails. There is no built-in way to fail discovery.
Server:
const isAuthValid = (auth) => { /* define this */ }
signalServer.on('discover', (request) => {
  if (isAuthValid(request.auth)) { //<-- check credentials
    const clientID = request.socket.id
    allIDs.add(clientID)
    request.discover({ ids: Array.from(allIDs), authFailed: false })
  } else {
    // auth failed, don't track client ID or return any other client IDs
    request.discover({ id: [], authFailed: true }) // <- probably a descriptive error message too
  }
})

Client:
signalClient.on('discover', async ({ ids, authFailed }) => {
  if (authFailed) {
    throw new Error('Authentication failed')
  } else {
    // continue as usual
  }
})

signalClient.discover({ auth: 'your password or token or whatever' })

Thanks!!


Draft Script

Script is now able to fetch OA submission and programme data, upload submissions with a fake file and attach to desired communities with a small amount of manual input to select which programme session for submissions that have multiple (bof/poster), but this is trivial to replace with a basic merge sessions of same name and ignore lightning talk.
Other plenaries are not currently handled, as they do not have OA submissions.
Learnings:

Zenodo approval of entry into community is 2 click with page loads, maybe worth disabling approval on community for the 5 mins script is run
Zenodo records require a file for them to be published
Zenodo states metadata can be updated after publication
OxfordAbstracts submission id field is not submission id from the web site, it's a globally unique id, that is instead named serial_number

-------- Test run as of b7a7748 --------
All submissions uploaded to Zenodo sandbox rsecon24test1 and rse
Logfile output, which includes doi oa2zenodo_log.csv (can produce a separate log with email/doi pairing for mail-merge later)

Separate graphQL query to fetch the programme information, this will allow the session/track information to be added to OA records. One of the final pieces of the puzzle.
query MyQuery {
  events_by_pk(id: 49081) {
    program_dates {
      program_sessions {
        name
        program_sessions_submissions {
          submission {
            title {
              without_html
            }
          }
          submission_id
        }
        colour
        program_sessions_program_columns {
          program_column {
            name
          }
          program_session {
            name
            end_time
            start_time
            program_date {
              program_date
            }
          }
        }
      }
    }
  }
}

The publish validation failure is because no files attached

Have now drafted some code that does the file search.
Also:

Added dry_run support which never touches Zenodo API (should be useful for testing the file search).
Resolved the fact GraphQL submission id is not the same submission id seen within the conference management web ui.

Will probably test this tomorrow.

Progress on globbing, still todo:

Add a filter for certain files (e.g. lots of desktop.ini)
Review the submissions that glob is finding multiple/no directories for
add support for parsing CSV to include Youtube URLs

oa2zenodo_log.csv

This should now be feature complete, unless I want to automate the manual user input currently required during processing.


Unable to fetch providers message displayed with positive context

Describe the bug
unable to fetch providers. using default providers message is displayed with positive context
whereas it is a negative message.
To Reproduce
Steps to reproduce the behavior:

Go to web-extension.
See error

Expected behavior
Same message should be displayed with negative context.
Desktop (please complete the following information):

OS: Linux
Browser: Firefox
Version: 71.0

Can I change the context of the message to negative @makkoncept ?


Latex support

The feature you want to get in MarkdownView
Dear @LiYanan2004 ,
Thank you once again for this great package. Do you have any plan to support Latex syntax?

Maybe yes. But it might take a looooong time.

Thank you for confirmation @LiYanan2004 !

@hugo53 I have updated the block directive which unlocks the possibility to add LateX support for Markdown content. Hope it will be useful.
If you’re interested in it, you can test it out by switching to block-directive-improvements branch and check out my description in the PR mentioned above.

@hugo53 Thank you, let me check that PR.

There is no definition of Latex in CommonMark. Hope that PR will help you. If there is any technical problems you can reopen the issue or create a new issue. Thanks

Thank you for great work. I will check more with the latest release for sure.


Project structure - help needed

Good morning! I've finally been able to get a working project for my f746 discovery board and I'm in the process of testing everything. I'm trying to build a speedometer which structure should be :
-Splash screen ( logo or gif logo ( if possible stored in the ad))

main screen: variables display rpm speed temp hour tripmeter and so on
menu: in which variables and interface can be set up
The first problem I'm finding is how to switch between these different interfaces and how, in your opinion, these interfaces should be organized considering that in the main screen will be a lot of callbacks for actually refreshing and storing variables.
Thank for your time,
Fabrizio

I think it would be a good idea to read the WIKI manual first, and you will have a better understanding of the library.

@effeci  As @turoksama said, please read the Wiki documentation first. Especially the section about Objects
I close this issue. If something is not clear after reading the documentation, please open a new issue with a more specific question.


Folder not combining on pasting

Description
If I have two folder with the same name but different content they wont be combined. they will either replace the old content with the new content or just make the same folder with "- copy" added on.
Steps To Reproduce

Create a folder with a name in a directory.
Add a file to it.
Create a new folder with the same name but another place
Add a file with a different name
Cut on of the folders and paste it were the other one is

Expected behavior
It should bring up the conflict dialog and ask me to what I want to do and add a combine button. So the content merged.
Files Version
1.9.24
Windows Version
10.0.19043.1151
Relevant Assets
debug.log
debug_fulltrust.log

If you choose replace in the conflict dialog it should merge the folders and replace files if they have the same name. Could you confirm this?

When I tried that it seemed to just delete the original files in there. However continuing to use it I've seen that some file just wont copy, usually there left in the original place witch it wasn't,

Just tried it again brings up the prompt I click replace existing and it just made folder name - copy versions. Didn't edit or add any data in the original non - copy folder.

Are you in a local folder? Not a network folder or something?

Its a local folder. Seem to happen sometimes didn't do it for the next folder I did. I'll upload the updated logs if that helps.
debug.log
debug_fulltrust.log

@gave92 any ideas on this?

Nope, as I can't reproduce.

Closing due to it not happening for a long time.


Source blocks not working after upgrading rubygems to 2.6.2

We're getting a strange error when running bundle install after upgrading rubygems from 2.4.8 to 2.6.2. We originally install bundler with the gem version of 2.4.8, then run gem update --system before running bundle install (this is in a CI environment that we don't control).
When running bundle install, we get the following error:
$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
A block was passed to `source`, but Bundler versions prior to 1.7 ignore the block.  Please upgrade Bundler to 1.7 or specify your dependencies outside of the block passed to `source`.
A block was passed to `source`, but Bundler versions prior to 1.7 ignore the block.  Please upgrade Bundler to 1.7 or specify your dependencies outside of the block passed to `source`.
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

Here are my current envrionment details:
Operating System Details
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise

Linux Version
3.13.0-29-generic

$ ruby --version
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
$ rvm --version
rvm 1.26.10 (latest-minor) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]
$ bundle --version
Bundler version 1.11.2
$ gem env version
2.6.2

Can you please share the output of bundle env?

Ping @jooshbzm is this still an issue?

@LynnCo I tried a few times, but I'm not able to reproduce this anymore with rubygems 2.6.2 and bundler 1.11.2.

@jooshbzm Thank you!


feat(file value uploads): use upload from for file value types

resolves DSP-1203

@flavens I integrated the upload form. However, now we need to figure out how to get the tmp. file name from Sipi and then create the CreateStillImageFileValue class. I guess we would need some help from @mpro7.

@flavens I integrated the upload form. However, now we need to figure out how to get the tmp. file name from Sipi and then create the CreateStillImageFileValue class. I guess we would need some help from @mpro7.

@tobiasschweizer please do not update this branch from main (we will explain during the daily scrum)

@tobiasschweizer please do not update this branch from main (we will explain during the daily scrum)

@tobiasschweizer please do not update this branch from main (we will explain during the daily scrum)

I figure it is because you removed everything but the admin part from main.

@tobiasschweizer please do not update this branch from main (we will explain during the daily scrum)

I figure it is because you removed everything but the admin part from main.

This is done in #472


docs: Fix md links of astrocookies

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)

Description

Fix md links syntax of astrocookie docs section

Thanks so much, @devidw! This is a brand new section on that page, and this link syntax slipped past us.  😅
Welcome to the Astro docs as a first-time contributor!  🥳 🚀


Suggestion: clear chat window when set to don't scroll when send message is pressed

The don't scroll works fine but it shows the start of new content often below the visible area.
When not scroll is set when I press "Send message" I would expect the new text to start from the top. Similar to ctrl+L (clear) on a Linux commandline followed by sending the message.
We do want to be able to scroll back to previous output though.

I will look at it after resolving the other ticket

I was thinking about it and could this be matter of preference? Imagine use case "i want the scrolling to NOT change at all when i click don't scrool, that's why i'm clicking it" imagine you have lot of text and you scrolled back to something you liked and suddenly you realized that you want to ask something new and you do not want to lose your current possition, you click the don't scroll and what it does, instantly the opposite, it does scroll down.
So this might be matter of taste?

Another problem is that when content is empty, it start on the top as there is nothing else to render, when content is bigger than 1 screen you get the scroll, but from that point you can only scroll within the content, the last line will be always on bottom. For example even this GH webpage, the fotter is on the bottom of the webpage, that's the end, you can't scroll past that and certanly you can't scroll past the footer so much that you would make it apear on the top of the webpage.
This wouldn't be just about scrolling or not, this would be adding artificial padding in the content just to have enough content so it would apear on top, and then various problem, what we will do if the user resizes the window.
@rjmacarthy are you sure you want this to be attempted?

I agree and I think we should leave it as it is, it's too complicated to implement and a matter of preference as you say.


NavigatorIOS custom navbar colors

tintColor, barTintColor, titleTextColor UIExplorer example added.
Based on @ericvicenti comments on pull request #695, this commit includes the example in the same view with a Reset button to default colors.

Looking pretty good! Few notes:
If you upgrade to 0.4.0, you will notice that the app can't run because of flow errors. It looks like you need to annotate the new properties in getInitialState
Also, do you know of any way to change the colors for one scene rather than changing the colors for the whole navigator?

I tried to change the colors only for one scene but the example gets more complex. Hidden the main nav bar and adding another NavigatorIOS component or adding an external example like in Navigator maybe confuse and I think it's not necessary.
Maybe we can achieve this with 'pop' events like didPopItem or something (ok, this is another case :P)

Would love to see this get merged!

It has been internally - just not in time for the last github merge. It will be in the next one.


Icons not working (showing ? instead)

Hello,
With those versions on windows 10 64bits:
"native-base": "2.12.2",
"react-native": "0.60.4",
"react-native-vector-icons": "6.6.0" -> (i know that this is not the dev-depedencie 6.1.0 but it works with NB 2.12.1)
Icons are displayed with '?' instead of the good one (fontAwesome for my case)
If i downgrade to "native-base": "2.12.1" it works well..
What about NativeBase working with RN 0.60.x and the fact that linking process is no longer needed with RN 0.60.x ?
I've replaced my custom theme with the native-base one (using node node_modules/native-base/ejectTheme.js) without changing a line but it does'nt solve my isssue.

I finally get my icon but why do i have to add an option (type="FontAwesome") in the native base  Icon component whereas it was not needed/required in NB 2.12.1
I don't see that in changelog too of the 2.12.2 version.. maybe default behavior is broken and always fallback to ionicons when there is no type prop in NB Icon component.

Similar issue, but ionicons not loading for me.

Resolved with this comment: https://github.com/GeekyAnts/NativeBase/issues/2806#issuecomment-515674149

@stevesweets i'm not sure it's the same issue.
For me fonts are presents and loaded but NativeBase don't use the one i've specified in the theme iconFontFamily variable. Thus i have '?' instead because the icon's name that i used are not present in the font that is loaded. When there is are Square with a cross inside, it means that the font was not found at all i believe.
I repeat that, now, it's working for me because i'va added the 'type' prop in icon component that i had not to do before 2.12.2 O_o

Something after this merge #2804 broken the default behaviour

Something after this merge #2804 broken the default behaviour

Can you please share some more details about the broken behaviour, preferably screenshots and snacks to reproduce.

Please refer to this. Hope this solves the issue.

This is not a 'linking' problem.
The problem is that the variable that store the icon's type in your ejected theme file for the whole project in no more taken into account.
From my theme file 'platform.js'
 // Icon
    iconFamily: 'FontAwesome',

Now, i have to add the prop 'type="FontAwesome"' to each  component in order to make it work. Before this was not the case. If you don't provide the 'type' prop to your Icon's component they try to display icon's from a default font (ionicons i think) So icons appear with a '?' instead and not with a 'cross' like this X. If i try with a name that exist in ionicons font it's displaying good.

This is not a 'linking' problem.
The problem is that the variable that store the icon's type in your ejected theme file for the whole project in no more taken into account.
From my theme file 'platform.js'
 // Icon
    iconFamily: 'FontAwesome',

Now, i have to add the prop 'type="FontAwesome"' to each component in order to make it work. Before this was not the case. If you don't provide the 'type' prop to your Icon's component they try to display icon's from a default font (ionicons i think) So icons appear with a '?' instead and not with a 'cross' like this X. If i try with a name that exist in ionicons font it's displaying good.

It's a bug. Here is i'm write a comment on that.
https://github.com/GeekyAnts/NativeBase/commit/805577d43092296b73924360c2bfc988630c5444#commitcomment-34672919
You can fix it by your self until the next version fixes this:

Open file node_modules\native-base\dist\src\basic\IconNB.js and remove all text code.
Copy to the file code from the node_modules\native-base\src\basic\IconNB.js
Add lifecycle function code:
componentWillMount() {    this.setIcon(this.props.type);  }
Run your app and check it.

P.S. You can add this function to the file in the second step and run npm command compile to recompile library.

version 2.13.5, componentDidUpdate method is using wrong param.  https://github.com/GeekyAnts/NativeBase/issues/2806#issuecomment-524788295
In IconNB.js
componentDidUpdate(nextProps) {
    if (nextProps.type && this.props.type !== nextProps.type) {
      this.setIcon(nextProps.type);
    }
  }

should be
componentDidUpdate(prevProps) {
    if (prevProps.type && this.props.type !== prevProps.type) {
      this.setIcon(this.props.type);
    }
  }

For now, I have to back to 2.13.4

Fixed in 2.13.8

Seems like componentWillMount() { this.setIcon(this.props.type); } is still needed in 2.13.8.

I've tested the lastest version (2.13.8) and i've removed the 'type' prop in an 'Icon' component to test if it's always required and it shows me a '?' instead of the correct icon. So, i think that the problem still exist in this version :(

I confirm, it is back in 2.13.8

+1

Mine is not even showing the '?', it just doesn't load:

The icon on the left is a test to see if <Icon /> works, and apparently, it doesn't.
The Icons code:
<Container style={styles.checkBoxContainer}>
    <Icon type='FontAwesome' name='check' style={{color: palette.default.mainColor}} /> //Test Icon
    <CheckBox
        color={palette.default.mainColor}
        style={styles.check}
        checked={this.state.persistConnection}
        onPress={()=>{
            let s = this.state;
            s.persistConnection = s.persistConnection?false:true;
            this.setState(s);
        }}
    />

    <Text style={styles.checkLabel}>Manter-se conectado</Text>
</Container>

My dependencies in package.json:
{
"@react-native-community/async-storage": "^1.6.2",
    "native-base": "^2.13.8",
    "react": "16.8.3",
    "react-native": "0.59.3",
    "react-native-gesture-handler": "^1.4.1",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-reanimated": "^1.3.0",
    "react-native-screens": "1.0.0-alpha.23",
    "react-native-splash-screen": "3.0.6",
    "react-navigation": "^4.0.10",
    "react-navigation-stack": "^1.9.0"
}

am I doing something wrong?

Fixed in 2.13.8

this still not fixed thank you nismaxim82 i had been looking everywhere for a solution after upgrading this worked after adding componentWillMount() { this.setIcon(this.props.type); }

also confirming not fixed in 2.13.8

also confirming not fixed in 2.13.8

This one Worked for me for following configuration.
"native-base": "^2.13.8",
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-vector-icons": "^6.6.0"

what about workin expo

dsccc

I fix this problem in my project importing the fontFamiliy that i want: https://expo.github.io/vector-icons/
Follow the code:
const Index = () => {
  const [ready, setReady] = useState(false);
  if (!ready)
    return (
      <AppLoading
        startAsync={async () =>
          await Font.loadAsync({
            Ionicons: require("native-base/Fonts/Ionicons.ttf")
          })
        }
        onFinish={() => setReady(true)}
      ></AppLoading>
    );
  return (
    <StyleProvider style={getTheme(platform)}>
      <NavigationContainer>
        <Routes></Routes>
      </NavigationContainer>
    </StyleProvider>
  );
};

in the folder Fonts on the native-base you find more:

I ran yarn add @expo/vector-icons and rebuilt the project. Fixed it for me

Issue still persists on "native-base": "2.13.14"
But for me, the play displays a wrong icon and others are question mark for Ionicons

I had the same issue. I don't use expo.
"react-native": "0.60.4", "native-base": "^2.13.14",
ran yarn add react-native-vector-icons.
I then had to remove the fonts from the "Copy Bundle Resources" phase in xcode in order to build for ios.

I have same issue icon not working.
Back button is not working.

If you're using the latest react-native-vector-icons, follow the steps mentioned in the docs for Android setup.

Edit android/app/build.gradle (NOT android/build.gradle) and add:
apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")

https://github.com/oblador/react-native-vector-icons?tab=readme-ov-file#android-setup


Extracting image in predicted bounding box

Thanks for providing this great tool.
I used your pipeline to predict different cell types in a FISH image. Works well!
However, the classification probabilities for the predicted classes of the individual bounding boxes are not as high as it should be (between 0.35 and 0.75).
Therefore, I was wondering whether it is possible to extract the small image (individual cell) in the predicted bounding boxes to be fed into a new CNN (more specialized in classifying the different cell types) for validating the classification to reach accuracies above 0.95 (which is of interest for medical purposes).

@saanasum You may try to increase class_scale in config.json to penalize wrong class prediction more.

@saanasum During training. The key is to make sure that the training set looks like the validation set and the test set. Removing the background in the test set is more difficult than adding random backgrounds to the training set.

Although classification of detected objects is in principle working, unfortunately, the accuracies do not increase much. I do not get accuracies above 0.95. Are there further parameters that I can modify to potentially increase accuracy for each bounding box (cell).

@saanasum I don't know of any other ways to improve classification accuracy. class_scale is the single parameter that controls the amount to penalize wrong class prediction. Why don't you try a very high value of this parameter (such as 100) to see how it affect the classification accuracy?


hunspell stumbles over copyright symbol

Describe the bug
Encountered error Utf8Error { valid_up_to: 2, error_len: Some(1) } returned from Hunspell_suggest(handle, ["\"\\xc2\\xa9\""]): 0: "\xc2\x80\x93"
[2022-09-16T10:03:50Z DEBUG hunspell] © --{suggest}--> []

To Reproduce
Steps to reproduce the behaviour:

A file containing ©
Run cargo spellcheck file.rs
...

Expected behavior
Handle or ignore, currently hunspell-rs is hacked to print an error.
Screenshots
Please complete the following information:

System:  Fedora
Obtained:  cargo + git
Version: <!-- run $(cargo spellcheck --version) --> 0.12.2 / git

CC @lopopolo that was the issue at hand, the suggestion should return 0xC2 0xA9 which is valid itself, but returns garbage instead.

Oh awesome. That's in the generated headers of the Unicode files. Great catch @drahnr and thanks for debugging!

@lopopolo I realized you have custom dict, with a - - removing the single char items from the list resolves the issue. It seems that trips the parser and makes it's way into the lut inside hunspell and then surfaces with some byte sequences.

I just tried this workaround and that seemed to work! I get no warning messages in cargo-spellcheck 0.12.1.

The core issue is due to the fact that Hunspell uses the encoding used in the affix file, for the dictionaries as well. For en_us.aff (both builtin and Fedora 36) this was latin-1 encoding rather than utf-8. Hunspell then treats all inputs of encoding equiv to the affix file, implicitly by the used prefix tree.
Solution would be to use i.e. encoding_rs to re-encode the dictionaries to UTF-8 and only afterwards feed them to Hunspell or reject all encodings set besides utf-8.


Avoid flickering when using SharpAvi

When using SharpAvi, frames occasionally get dropped and the Texture2DFrame.CopyTo method produces a transparent frame. This has been observed to happen when recording the Windows desktop applications such as File Explorer. This causes the recording to flicker and have flashes of empty frames.
The fix checks for transparency by comparing the current frame to all zeros, and uses the previously saved frame if necessary. For performance, it uses memcmp to compare to a byte array pre-filled with zeros.
NB: I realize this might be better fixed in the SharpAvi part of the code, but I spent a couple of days investigating and trying out different things, and could not figure out what was causing the frame drops.

If Texture2DFrame.CopyTo is producing transparent frames, I think we should handle this check there only. This can happen with other writers also I think. I'll only be able to look into the problem after a few weeks, too busy with work right now.


[Google App Engine Standard Environment] no such file or directory

When i run migrations in the Google App Engine Standard Environment i got the next error:
panic: open /tmp/staging/srv/internal/app/someapp/repository/migrations: no such file or directory goroutine 1 [running]: github.com/go-pg/migrations.(*Collection).MustRegisterTx(...) /go/pkg/mod/github.com/go-pg/migrations@v6.7.3+incompatible/collection.go:333 github.com/go-pg/migrations.MustRegisterTx(0xc000407f58, 0x2, 0x2) /go/pkg/mod/github.com/go-pg/migrations@v6.7.3+incompatible/default.go:35 +0x7f some.website.net/example/project/internal/app/someapp/repository/migrations.init.0() /tmp/staging/srv/internal/app/someapp/repository/migrations/1562685639_initialize_db.go:41 +0x4ad

I am sure that this is due to the fact that in this environment writing / reading of the file system is prohibited. Is there any way around this problem?

You can try to disable sql auto discover via https://godoc.org/github.com/go-pg/migrations#Collection.DisableSQLAutodiscover

You can try to disable sql auto discover via https://godoc.org/github.com/go-pg/migrations#Collection.DisableSQLAutodiscover

It works! Thank you!


feat(rum): add advanced rum tracking

adding missing rum addition sourceselector
adding missing rum addition targetselector
adding missing rum addition observe
adding observe invocations
adding missing rum addition mediaobserver
adding missing rum addition blockobserver
adding event listener for error
adding event listener for unhandledrejection

Test URLs

before: https://main--helix-project-boilerplate--adobe.hlx.page/?rum=on
after:  https://advancedrum--helix-project-boilerplate--adobe.hlx.page/?rum=on

Edits performed by https://github.com/trieloff/helix-codemods/blob/main/transforms/advancedrum.js

Closed in favor of #113


Putting the widget in a modal?

I'm not entirely sure how to handle this tbh, but I'm looking to render the widget in a modal when it becomes interactive/challenges the user? (So I'm currently using a managed widget that's invisible otherwise).
Your demo https://codesandbox.io/p/devbox/sweet-dream-s7gcmn?file=%2Fsrc%2Fapp.tsx%3A8%2C20, using the ResizeObserver seemed promising, but it's obviously too late by the time it renders.
You also exposed an onWidgetLoad callback which sounded good, but you then went on to say that it's only called after execute()?
Just wondering if you had any ideas - I'm just fed up of the widget messing with my design/causing CLS and want it out of the way tbh!
Love the package btw, thanks!

To get an invisible widget and make it visible when it becomes interactive, you can use an set the appearance to interaction-only
Here is a demo I made: https://codesandbox.io/p/devbox/turnstile-interaction-only-comparison-t6gl2v

To get an invisible widget and make it visible when it becomes interactive, you can use an set the appearance to interaction-only
Here is a demo I made: https://codesandbox.io/p/devbox/turnstile-interaction-only-comparison-t6gl2v

Hi @marsidev, thanks for the reply
I've been doing that but unfortunately the invisible widget has some height, and because it loads in after the rest of my content it causes cls. That's what I was hoping to avoid! :)

I see. I noticed Cloudflare added an extra container to the widget, which for some reason is causing more height than the expected.
Before: div#cf-turnstile > iframe
Now: div#cf-turnstile > div > iframe
For now, you can set the second div to display:flex to prevent that.
Something like this:
#cf-turnstile div {
  display: flex;
}

I see. I noticed Cloudflare added an extra container to the widget, which for some reason is causing more height than the expected.
Before: div#cf-turnstile > iframe Now: div#cf-turnstile > div > iframe
For now, you can set the second div to display:flex to prevent that.
Something like this:
#cf-turnstile div {
  display: flex;
}

Ah, amazing - I thought this behaviour had suddenly started happening XD
Thanks a lot!


QnA Doc: Fix footer layout

Currently footer divider is missing and footer content is too close to content above it. (This applies to the QnA Doc page only.)
From @yawitz audit.

We have a divider and content placement looks close to the wire frames .

@yawitz for these originating from your audit, do you want them to pass through you before passing or will it be clear enough to Gaurav what to okay?

I checked with Mitch this morning and got the mock up that i am using to verifying these bugs. Let me know Mitch if you want we can go through them together .

Sure, Gaurav, we can look at the UI fixes together to avoid any churn.


esquery.py creates data.json to use in barchartwithlabels.html

So one issue I see is you didn't make changes to the README.md.  So it's difficult for me to know how to  setup and view your HTML report.  Can you update the README with instructions on how to use the dashboard?  I think the README currently covers up to the point of loading into Elasticsearch, right?

@emikoifish and @JeanKRodriguez I think this is broken with respect to the esquery.py but I'm merging the pull request since most is confined to a new Dashboard directory.  Emily, when you have bandwidth, work with Jean to make sure your queries are compatible with Jean's index.


I'm not able to open in Android

Hi @ashishsober, could you explain your issue with a bit more detail?


rename [FAVORITE_ADD]/[FAVORITE_REMOVE] actions paramater

Based on FavoriteService Implementation:
export const FavoriteService = {
  add (slug) {
    return APIService.post(`articles/${slug}/favorite`)
  },

  remove (slug) {
    return APIService.delete(`articles/${slug}/favorite`)
  }
}

slug is a more intuitive name(while payload is regarded as a map containing multiple parameters,usually used as payload.slug)

@vilsbole @EricSimons @igeligel  This is only a change of name pattern without effect changs, would you mind accepting it ?


Class "Google_Client" not found

When I try to veiew my control panel I get this error:
"Class "Google_Client" not found" on line 42 of /srv/users/tipsrobot/apps/tipsrobot/plugins/winter/googleanalytics/classes/Analytics.php

I have also tried installing it via composer require winter/wn-googleanalytics-plugin but then I get this error:
Using version ^3.0 for winter/wn-googleanalytics-plugin
./composer.json has been updated
Running composer update winter/wn-googleanalytics-plugin
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires winter/wn-googleanalytics-plugin ^3.0 -> satisfiable by winter/wn-googleanalytics-plugin[v3.0.0].
    - winter/wn-googleanalytics-plugin v3.0.0 requires psr/cache ^1.0 -> found psr/cache[1.0.0, 1.0.1] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require winter/wn-googleanalytics-plugin:*" to figure out if any version is installable, or "composer require winter/wn-googleanalytics-plugin:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Any suggestions?

I managed to "fix" it by deleting the lock-file. But now i get this error when i do a composer update:
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - wintercms/winter is present at version dev-master and cannot be modified by Composer
    - winter/wn-googleanalytics-plugin[v3.0.0] cannot be installed as that would require removing wintercms/winter[dev-master]. They both replace rainlab/googleanalytics-plugin and thus cannot coexist.
    - Root composer.json requires winter/wn-googleanalytics-plugin ^3.0 -> satisfiable by winter/wn-googleanalytics-plugin[v3.0.0].

For anyone else that comes across this the fix is to update your composer.json to only include plugins that you actually want to merge the composer config of in the merge plugin configuration: https://github.com/wintercms/winter/blob/develop/composer.json#L70-L72.
This issue happens because composer is pulling in the dependencies from plugins/winter/googleanalytics as if they were part of your main composer.json file which often means that it becomes impossible to update a plugin if its dependencies change because your current composer.json conflicts with the newest version of the plugin. The wikimedia merge plugin should only be used for plugins that are not already being loaded by composer (i.e. plugins that you are including directly in your current project but still have composer dependencies defined in their composer.json files).


chore: add a rule that forbid importing families from generic code

📝 Description
This PR adds a rules that we have implicitly in Ledger Live Desktop: it is forbidden for the "generic source code" to import directly a families/* file. For instance, the Send flow should not directly import something from "ethereum implementation", instead, we have a folder called "families" where the code need to live and then we exposed the feature through the 2 ways we have today to decouple things:

the bridges: AccountBridge and CurrencyBridge
the generated/ folder. which is a tolerated workaround to get specific things shared to the generic world. (and the generic side will have to look up per family). this allows any specific part of our app to be "injectable" by a specific coin and prevent a coin to be too involved in the generic codebase (we shouldn't make shortcuts).

Unfortunately, that rule don't pass today for many reasons and we will need to work towards that by moving more things on families side.
❓ Context

Impacted projects: ``
Linked resource(s): ``

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery
[ ] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

@hedi-edelbloute yes agree. but we will need to see how we organize that effort next week. it can't be merged now for sure.

LLD is the simplification focus lately but same can be done on LLM yes


Encountered ClassCastException with the MP Rest Client in XPiNC

I haven't tested this myself yet, but it's likely that the trouble here is a mixing of Apache HttpClient packages from multiple sources when in Notes. This could be due either to extra bundles present in Notes's OSGi environment or JARs in jvm/lib/ext.

This is readily reproducible by opening restClient.xsp from the nsf-example NSF in Notes. Versions of Apache HttpClient are included in a couple places:
> packages org.apache.http
osgi.wiring.package; bundle-symbolic-name="com.google.gdata.client"; bundle-version:Version="<IP_ADDRESS>11122-0830"; version:Version="0.0.0"; osgi.wiring.package="org.apache.http"; uses:="org.apache.http.util,org.apache.http.params,org.apache.http.protocol"<com.google.gdata.client_<IP_ADDRESS>11122-0830 [924]>
  com.ibm.gdata.contact_<IP_ADDRESS>11122-0830 [931] imports
  com.google.gdata.calendar_<IP_ADDRESS>11122-0830 [923] imports
  com.ibm.common.services.gdata_<IP_ADDRESS>11122-0830 [925] imports
osgi.wiring.package; bundle-symbolic-name="org.apache.wink"; bundle-version:Version="<IP_ADDRESS>11117-2131"; version:Version="0.0.0"; osgi.wiring.package="org.apache.http"<org.apache.wink_<IP_ADDRESS>11117-2131 [938]>
  com.ibm.wink_12.0.1.v00_00_20211117-2131 [1072] imports
  org.apache.httpcomponents.httpclient_<IP_ADDRESS>21014210310 [1745] imports
osgi.wiring.package; bundle-symbolic-name="org.apache.httpcomponents.httpcore"; bundle-version:Version="<IP_ADDRESS>21014210310"; version:Version="4.4.13"; osgi.wiring.package="org.apache.http"; uses:="org.apache.http.params,org.apache.http.protocol,org.apache.http.util"<org.apache.httpcomponents.httpcore_<IP_ADDRESS>21014210310 [1746]>
  org.openntf.org.jboss.resteasy.client_6.0.1.Final_20221014210310 [1838] imports

I don't think the com.google.gdata.client bundle is present on Domino, so that's the likely culprit here.

I was able to somewhat improve the problem by switching to the pre-bundled OSGi versions of the Apache HttpCore and HttpClient libraries (which may also improve https://github.com/OpenNTF/org.openntf.xsp.jakartaee/issues/344 ). However, while the client loads and retrieves a response, it hits an internal NPE:
java.lang.NullPointerException
    com.ibm.xsp.util.SessionUtil.setSessionId(Unknown Source)
    com.ibm.xsp.webapp.FacesServlet.getFacesContext(Unknown Source)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    java.lang.reflect.Method.invoke(Unknown Source)
    org.openntf.xsp.jakartaee.AbstractXspLifecycleServlet.getFacesContext(Unknown Source)
    org.openntf.xsp.jakartaee.AbstractXspLifecycleServlet.service(Unknown Source)
    org.openntf.xsp.jaxrs.impl.FacesJAXRSServletContainer.service(Unknown Source)
    jakarta.servlet.http.HttpServlet.service(Unknown Source)
    org.openntf.xsp.jakartaee.servlet.NewHttpServletWrapper.service(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)
    com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService.access$0(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
    java.util.concurrent.FutureTask.run(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
    com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceThread.run(Unknown Source)

The trouble there seems to be that the session ID value ends up a null. I'm not sure why this would be the case here but wouldn't trip up other XPages requests, though.

The main thrust of this - the MP Rest Client not working at all - looks to be fixed by the re-packaged Apache dependencies. The specific trouble of self-calling an XPiNC page would be nice to fix as well, but should be its own (less important) issue.


Could not run example "iteractive_simulation.jl"

Hi @adubredu! Thanks for providing the nice wrapper. However, when I run the "iteractive simulation" in the example, an error pops up:

LoadError: Python: AttributeError: 'mujoco._structs.MjData' object has no attribute 'solver_iter'

Do you have any idea why it happens?
Best regards,
Yujie

Hi Yujie, thanks for checking out this wrapper.  I haven't used it in a while so I'm guessing there may have been some API changes on the Python side.
In any case,  there's a new cool Mujoco.jl package that wraps the core C Mujoco library and is much faster and more reliable. I'd suggest you use it instead.  Here's a link to it: https://github.com/JamieMair/MuJoCo.jl
All the best

Thanks for the quick reply and pointing me to the new package! It definitely saved me a lot of time.


Is RSA_sign thread-safety?

int RSA_sign(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, RSA *rsa);
I use RSA_sign,    rsa  is a global variable. rsa is initialized at startup,  I am sure that It will not be modified.
threads call RSA_sgin with the same rsa.
INFO :
os :  centos6.2
version : openssl-devel-1.0.1e-57.el6.x86_64

No. You cannot assume RSA_sign is thread safe when using an RSA object shared between multiple threads.

Do RSA_sign alter the  RSA object ？ @mattcaswell

Yes, it may change it (for example for blinding) although it does so under a lock. If any other thread makes a change to the RSA though then RSA_sign() will not be thread safe. I just realised you said that you are sure that it won't be modified - so under those conditions RSA_sign() should be ok.

Can RSA object  be a thread local var, and reuse for every request ?

The accesses to the blinding are under lock so if you do not modify the RSA object yourself, it should be safe to call RSA_sign() in multiple threads concurrently with the same RSA object.

Thanks @t8m. This is a good news.
I think I can now optimize our service with confidence，The original coder was afraid that there was an RSA contention problem, creating a temporary RSA object before calling RSA_sign, which affected the throughput of the service.