python311Packages.meshio: 5.3.4 -> 5.3.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.meshio is: I/O for mesh files.
meta.homepage for python311Packages.meshio is: https://github.com/nschloe/meshio
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.3.5 with grep in /nix/store/hggf6jcrdvr3nkjzj7g8wimj7pjk667h-python3.11-meshio-5.3.5
found 5.3.5 in filename of file in /nix/store/hggf6jcrdvr3nkjzj7g8wimj7pjk667h-python3.11-meshio-5.3.5

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.meshio
python311Packages.sfepy
python312Packages.meshio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hggf6jcrdvr3nkjzj7g8wimj7pjk667h-python3.11-meshio-5.3.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.meshio https://github.com/r-ryantm/nixpkgs/archive/7839bd4abede9918935821e29c9367e82d824dd8.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7839bd4abede9918935821e29c9367e82d824dd8#python311Packages.meshio

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hggf6jcrdvr3nkjzj7g8wimj7pjk667h-python3.11-meshio-5.3.5
ls -la /nix/store/hggf6jcrdvr3nkjzj7g8wimj7pjk667h-python3.11-meshio-5.3.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

python311Packages.sfepy
python311Packages.sfepy.dist

4 packages built:

python311Packages.meshio
python311Packages.meshio.dist
python312Packages.meshio
python312Packages.meshio.dist

Maintainer pings
cc @wd15 for testing.

Builds fine for me
Result of nixpkgs-review pr 285312 run on x86_64-linux 1

6 packages built:

python311Packages.meshio
python311Packages.meshio.dist
python311Packages.sfepy
python311Packages.sfepy.dist
python312Packages.meshio
python312Packages.meshio.dist

@ofborg build python311Packages.sfepy


feat(grpc): drop inheritance, use composition

Instead of requiring inheritance from base classes and interfaces now we can use any protobuf message and service. All call processing code now lives in injectable IGrpcCallProcessor. Requests and responses no longer need to implement interfaces. Processor will use duck typing to fill response with ApiResponseInfo if supported.
Also includes request validation.

@pogromistik @thelegendaryzubat поглядите, как будет время =)


Update iOS SDK to 17

Hi @hey24sheep !
When I build my Flutter app using your pipeline tasks, it works, but I have started receiving emails from Apple that look like this:

Hello,
We noticed one or more issues with a recent delivery for the following app:
my_app_name
Version 2.8.3
Build 180
Although delivery was successful, you may want to correct the following issues in your next delivery. Once you've corrected the issues, upload a new binary to App Store Connect.
ITMS-90725: SDK version issue - This app was built with the iOS 16.2 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution.
Apple Developer Relations

Looks like a plugin the pipeline is using for building iOS apps needs to be updated?

Hi, this extension is just an interface to use the CLI on Pipelines. Whatever IOS SDK is supplied with Flutter is used so, I'll recommend you to open an issue on Flutter's GitHub for this.
As this issue is related to Flutter and not this, I'm closing it.
Thanks


GDTTransformer Can't endBackgroundTask.

Xcode version: Xcode 11.4 (11E146)
Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Don't know which component crash. We used pod to get firebase like this.

pod 'FirebaseInstanceID'
pod 'Firebase/Analytics'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Crashlytics'
pod 'Firebase/Performance'
pod 'Firebase/InAppMessaging'

When my phone upgrade to iOS 14 Beta,  and app enter background. Later it will crash.  Crash log is
[BackgroundTask] Background task still not ended after expiration handlers were called: <_UIBackgroundTaskInfo: 0x2835e06c0>: taskID = 64, taskName = CCTLogWriter, creationTime = 64357 (elapsed = 0). This app will likely be terminated by the system. Call UIApplication.endBackgroundTask(_:) to avoid this. Message from debugger: Terminated due to signal 9
And when I use UIApplicationEndBackgroundTaskError() to debug where goes wrong,  It breakpoint here.

Could you please check this method to see if the backgroundtask is closed?

@zhangcx627 Thank you for the report. We will investigate the issue.

@zhangcx627 Could you please share Podfile.lock so we can know for sure what component versions are used?

It looks like an old version of GoogleDataTransport is used in your app, because a background task with name CCTLogWriter is not started in the recent versions. Could you please try to update Firebase and check if you still have an issue.

Likely related to or a duplicate of #4554

@maksymmalyhin  Thank you~. I'm try to update to the last version and use Xcode 12 Beta4. And find the log about [BackgroundTask] Background task still not ended after expiration handlers were called: <_UIBackgroundTaskInfo: 0x2835e06c0>: taskID = 64, taskName = CCTLogWriter, creationTime = 64357 (elapsed = 0). This app will likely be terminated by the system. Call UIApplication.endBackgroundTask(_:) to avoid this. disappear. But it still crash Message from debugger: Terminated due to signal 9. I don’t know if there are any more with firebase, no matter what, thank you very much~

@zhangcx627 I suspect, there may be something that prevents GoogleDataTransport (the SDK that contained CCTLogWriter  in older versions) from updating. If you could share your Podfile.lock we can take a look together what it may be.

Sorry about the slow reply. Here is the Podfile.lock.
Podfile.lock.zip

May be it's Realm's bug.
https://github.com/realm/realm-cocoa/issues/6671

@maksymmalyhin Does this log from the previous versions?
[BackgroundTask] Background Task 55 ("GDTTransformer"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

@zhangcx627 Sorry for the slow response, I was off last week. Thank you for the update.
Yeah GDTTransformer background task ID is used in the new versions. Do you still experience the crash with the recent Firebase version? If yes, will it be possible to share the crash log or at least stack traces for all threads where Firebase or GDT is present?
Also, a sample project to reproduce the issue will help a lot. Would you be able to post a sample project?

No, there is no crash, But there are just a lot of logs [BackgroundTask] Background Task 55 ("GDTTransformer"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.

@zhangcx627 Thank you for the update. I was not able to reproduce the issue on my end. I haven't detected anything obviously wrong in the implementation either.
I guess, there are some additional conditions to trigger the issue. Could you please provide a sample project and steps to reproduce the issue so we can make progress on it?

Verrrrrrrrry sorry about late reply. This is the demo. Please change the keys in GoogleService-Info.plist first.
Use Xcode 12.0 beta6 build and use iOS14 Device not simulator.
If this log doesn't appear, please switch front and back sometimes. It will appear.
My app will have this log when I switch to the background for the first time
FBDemo.zip

@zhangcx627 Thank you for the provided project. I could get the  ("GDTTransformer"), was created over 30 seconds ago...  console message only after generating a big amount (more than 10) Performance traces in the background. In this case the background tasks were successfully finished in the expiration handler which is an expected behaviour and should not lead to an app crash.
I'll take a look if any optimization can be provided to increase chance of finishing the work before the background task expiration.
From your side I would suggest to check your app for extra Performance traces, especially ones that may be created near the transition to the background time.

Hey folks,
I'm also getting this same error:
2020-09-08 17:02:24.528971-0400 iosapp[23130:550346] [BackgroundTask] Background Task 4615 ("GDTTransformer"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
In my case it's not related to iOS 14 (I'm building/running on iOS 13.7 from Xcode 11.7) but rather started happening after adding the Firebase Performance framework via CocoaPods.
I can reproduce both on the Simulator and on device (iPhone 11 Pro). After building/running, launching the app and then waiting about 3-4 minutes the log messages start coming in without fail.
I reverted the change (removed Firebase/Performance from Podfile), did 'pod install' (which removed FirebasePerformance, GTMSessionFetcher, GoogleToolboxForMac) rebuilt the project, and now I can't reproduce.
Podfile.lock with Performance / Podfile.lock without Performance
This probably isn't very helpful but seems related. Please let me know (and forgive me) if you think this is sufficiently different from the issue description such that it should be reported as its own issue.
Thank you!

Thank you all~~~. Sorry about the issue title. The first time I noticed this problem was when adapting to iOS14. And later found that crash is from Realm. Now there only console those logs. My app has lots of background traces. So it must appear when I debug.
I reverted the change (removed Firebase/Performance from Podfile), did 'pod install' (which removed FirebasePerformance, GTMSessionFetcher, GoogleToolboxForMac) rebuilt the project, and now I don't see the GDTTransformer logs. Adding Firebase/Performance causes them to reappear.
I will try this next.
Thank you again.

Looks like background tasks are not properly finished by GDTTransformer for events filtered by a transformer here (in this case Firebase Performance event rate limit filter applied). I'll work on a fix.

The fix is planned for the next release.

Thanks very much.

Has this been released? I'm on 6.33.0 (from Carthage) and keep seeing logs like this:
2020-09-30 16:08:15.383822+0200 XXXX[11617:3146215] [BackgroundTask] Background Task 13 ("GDTTransformer"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
Releasing with this does not seem safe...

@icedice This is supposed to be release. Let me try to recreate it on my end. In the meanwhile I would recommend to double check that Carthage frameworks were actually updated with the proper version and successfully copied to you project.

@icedice  I cannot reproduce it locally in a new project, so I would suggest to clean Carthage cache, double check that the frameworks were updated properly and clean project to make sure it is not some weird caching issue before doing other troubleshooting steps.

I tried deleting the whole Carthage folder along with the whole cartage cache folder and then bootstrapping again.
I'm still seeing the issue in both simulator and on actual device.
here is my cartfile.resolver (relevant part):
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseABTestingBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseFirestoreBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseProtobufBinary.json" "6.33.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" "6.33.0"

I tried inspecting the .framework for a version number but the result looks strange:
plutil -p /Carthage/Build/iOS/FirebaseFirestore.framework/info.plist
{
  "CFBundleExecutable" => "FirebaseFirestore"
  "CFBundleIdentifier" => "com.firebase.Firebase-FirebaseFirestore"
  "CFBundleInfoDictionaryVersion" => "6.0"
  "CFBundleName" => "FirebaseFirestore"
  "CFBundlePackageType" => "FMWK"
  "CFBundleVersion" => "1"
  "DTSDKName" => "iphonesimulator11.2"
}

Could this in anyway be related to us applying this fix: https://github.com/Carthage/Carthage/issues/3019#issuecomment-699143260 to accommodate for the Carthage / XC12 issue? As Carthage is simply downloading the binaries for firestore my guess is that is should not be related...


Check, if predictions are actually predicting the future

Closely related to #9 - the predictions are getting too good. I'm skeptical about that - or the working crawler really has such a huge influence.

Predictions are bad again. Things are working as expected.


Add Bevan Loon, new FTA dev on Core team

Can Bevan submit this instead? :)

ok! Will close this one and let @bevanloon open another - according to the test failures he needs a stronger SSH key too.


MSN.com - Blocked elements

List the website(s) you're having issues:
MSN.com
Example:
https://www.msn.com/nb-no/underholdning/
What happens?:
Some elements are blocked
Screenshot:

Problem filter:
Dan Pollock's hosts file
Problem rule:
adnxs.com
Possible fix:
@@adnxs.com$domain=msn.com
--

OS/version: Windows 8.1 Pro (x64)
Browser/version: Pale Moon v27.8.1 (x64)
Adblock Extension/version: uBlock Origin v1.15.10

Thanks @THEtomaso, that's a perfect issue report, right there.

@tyzbit I can't get to msn.com at all.
For me personally, that's not a problem, I could live with that   😈  but for some folks...
From my location (Central Canada) it wants to carom off a-0003.a-msedge.net which is in data/tyzbit/hosts.
I'm going to revert back to the old source, and regen.
Sorry @THEtomaso, stand by.

@StevenBlack  i just tried to reproduce it and everything looks good on my end.Looks like this is a uBlock specific rule and nothing to do with your lists.I can also open msn.com with no problems.

@dnmTX it's mos def the hosts file.  I have unable to load on multiple machines, multiple browsers on each.

@THEtomaso fixed in Release 1..32, on master branch now.  Sorry for the hassle.

@StevenBlack  well if you planing to revert back to the old @tyzbit's list i'd say don't(i thing we all agreed that need it improvements and the way it was it's useless).This way i can load the new list as a addition to yours without worrying about duplicates.You can also link the new @tyzbit's list in your repo for whoever want's it .

everything looks good on my end

The MSN site changes continously.
At the moment, you should be able to reproduce the issue here:
https://www.msn.com/nb-no/helse/

@THEtomaso  still ok

@THEtomaso just checking here... you understand that "blocking elements" is the whole point of the this hosts file.  Elements coming from ad servers are explicitly blocked.
We have a new release just now because I couldn't get to msn.com at all with the hosts file from Release 1.3.1.

still ok

LOL!
The site changes faster than I can post!! :)
For me, the issue takes hold at the link that I provided in the first post again now.
If you aren't able to reproduce, try browsing through some of the other sub categories.
Examples:
https://www.msn.com/nb-no/livsstil/
https://www.msn.com/nb-no/matogdrikke/
https://www.msn.com/nb-no/nyheter/

OK, here's how to reproduce properly!
Instead of directly opening the subpages that I posted links to before, go to the main page instead, then click on the navigation bar button shown in this screenshot:

@THEtomaso ok  i see what you mean.Now the question is did you try after @StevenBlack  updated the hosts file(like probably 10 min ago)? Another thing is that i'm almost positive that the blocked element is just another add and nothing important.

When updating the filter from uBlock Origin, I still get this version:

Last updated: Thu, 15 Mar 2018 at 09:11:53 GMT

All of the blocked elements seems to be ordinary MSN articles, but it looks like they're kept in a container which also may be used for ads.
After adding my proposed fix, the ads themselves are still efficiently blocked by other rules though.

adnxs.com domain is present at @StevenBlack' lists on many occasions and he didn't remove them.They are there for a reason so updating you filter won't solve your problem.The best thing to do is to make custom rule as you suggested in your first post also advise users in the uBlock forum to do the same as a workaround.

adnxs.com domain is present at @StevenBlack' lists on many occasions

I've updated my first post, narrowing it down a bit.

To clarify, adnxs.com is blocked via

mvps.org
someonewhocares.org
yoyo.org

I'm going to state, flat out, if you want adnxs.com delivered to your browser, then this hosts file is definitely not for you.
Can I close this issue?  I plan no further action on this.

For what it's worth, maybe it could be removed from my list in the name of narrowing its scope?

No problem.
Thanks for your time.

@StevenBlack  very much agreed on the "closing" part

@tyzbit no need, it's a tracking domain for sure

Thanks, folks.  Closing.


[FLINK-10583][table] Add base TwoInputStreamOperator with TTL operator.

What is the purpose of the change
This is the first step for the implementation of FLINK-10583 and FLINK-10584.
It introduces the AbstractTwoInputStreamOperatorWithTTL which contains the basic functionality for implementing state TTL based on timers.
This operator makes sure that:

only at most one timer is registered per key
both "sides" of the operator (processElement1 and processElement2) are treated equally when it comes to registering cleanup timers.

Verifying this change
Added the AbstractTwoInputStreamOperatorWithTTLTest with tests for the class.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

R @pnowojski

@pnowojski I integrated your comments. Let me know what you think.

done!

@fhueske @twalthr @pnowojski
What should we do with this PR given the effort to remove scala from sql's runtime code? Should I re-write it in Java?
In addition, does this overlap with the effort to finalise TTL support at the backend level?

I think it is not worth the effort to convert code to Java that will be unnecessary once we have proper DataStream API TTL support. The discussion about Scala-free flink-table is also not done yet.

Thanks @twalthr ! So I will rebase the PR and have another look and if travis gives green light, I will go on and merge.

@pnowojski and @twalthr I updated the PR to expose the state retention logic to the joins. Please review and let me know if you have any comments.
Also there is a question I had that is marked with a TODO and has to do with a (small) potential optimization. Let me know if that comment seems correct.

Thanks for the review @pnowojski . I integrated most of your comments or I gave reasons on why I did not integrate the ones the I did not. Let me know what you think.

@pnowojski  I integrated the comments.


gftools-add-font.py: Ability to add variable fonts

Atm, gftools-add_font.py cannot generate METADATA.pb files for family dirs which contain variable fonts. I totally understand we need to implement this and we're still establishing a workflow.
(env)Marc:tools marc$ python bin/gftools-add-font.py /Users/marc/Documents/googlefonts/fonts/ofl/lemonada
Traceback (most recent call last):
  File "bin/gftools-add-font.py", line 220, in <module>
    app.run()
  File "/Users/marc/Documents/googlefonts/tools/env/lib/python2.7/site-packages/google/apputils/app.py", line 239, in run
    return _actual_start()
  File "/Users/marc/Documents/googlefonts/tools/env/lib/python2.7/site-packages/google/apputils/app.py", line 268, in _actual_start
    really_start()
  File "/Users/marc/Documents/googlefonts/tools/env/lib/python2.7/site-packages/google/apputils/app.py", line 221, in really_start
    sys.exit(main(argv))
  File "bin/gftools-add-font.py", line 206, in main
    metadata = _MakeMetadata(fontdir)
  File "bin/gftools-add-font.py", line 111, in _MakeMetadata
    file_family_style_weights = _FileFamilyStyleWeights(fontdir)
  File "bin/gftools-add-font.py", line 90, in _FileFamilyStyleWeights
    result = [fonts.FileFamilyStyleWeight(f) for f in files]
  File "/Users/marc/Documents/googlefonts/tools/Lib/gftools/util/google_fonts.py", line 462, in FileFamilyStyleWeight
    sw = StyleWeight(m.group(2))
  File "/Users/marc/Documents/googlefonts/tools/Lib/gftools/util/google_fonts.py", line 446, in StyleWeight
    return ('normal', _KNOWN_WEIGHTS[styleweight])
KeyError: 'VF'

We can take patches. Please ping about proposed changes before anything extensive. We should make sure our copy and the internal one are in sync before anyone embarks on patches.

@m4rc1e @davelab6 @rsheeter Any updates? Variable fonts has landed in the current version of all major browsers. (source)

@jhpratt I'm guessing this relates to the Inter UI issue on google/fonts?
We're working on converting/adding VF families to Google Fonts. Adding the necessary features to support VFs will take time.
Now if you just want to get Inter UI on Google Fonts, it must pass our linter, Font Bakery. I quickly ran the fonts through and the family is producing many fails.
At some point, I'll take a look at them in more detail. Unfortunately I have other more pressing matters to inspect/fix (it is a nice family though)

Yes, that was my purpose behind posting here, but I know other fonts support it as well.
I'll take a look at the linter, though. Thanks for that.

I love this font and want to see in on Google Fonts. There is another open issues that is similar to this one, perhaps we can close one and merge these conversations: https://github.com/googlefonts/gftools/issues/93
I can start looking at fontbakery issues with this over the weekend, I had no problems building the variable font with fontmake yesterday.


Fixed treemap bug

This is just a minor update to allow using the treemap visual
In the current version (v1.0.3) the treemap visual doesn't seem to work, and we are instead seeing a single box being drawn.
I've tried using the example dataset from the Apex website as an example, below is what we are getting.

After applying the change to the code, the same dataset now looks correct.

Many thanks
-Gary

I already fixed the issue with similar code.

Thanks for the update @traviscox


Remove .bin files defined at react-scripts/package.json after eject

Remove .bin files defined at react-scripts/package.json after eject
https://github.com/facebookincubator/create-react-app/pull/1356#issuecomment-280047793
Object.keys(ownPackage.bin).forEach(function(binKey) {
  fs.removeSync(path.join(appPath, 'node_modules', '.bin', binKey));
});

btw. removeSync from fs-extra does not trigger exception if file does not exists. In most cases this is not a problem but maybe we should fix this if you want tests to cover as much as possible

Maybe let's remove react-scripts as well for consistency?
Also we should put this behind a swallowing try/catch because we don't actually care if they get removed or not. It's just a bonus.
We should make sure we attempt to remove them after we have written package.json to not use them in scripts. Is that the case?

Maybe let's remove node_modules/react-scripts as well for consistency?

This is already implemented.

Current PR: scripts/eject.js:156
Code at last release (v0.9.0): scripts/eject.js:154 and scripts/eject.js:158

Also we should put this behind a swallowing try/catch because we don't actually care if they get removed or not. It's just a bonus.

fse.removeSync(ownPath); never throws exception (https://github.com/jprichardson/node-fs-extra/issues/246). But swallowing try/catch prevent errors in cases like fs-extra "itself throwing because of a typo or something." I will add it

We should make sure we attempt to remove them after we have written package.json

Yea. Removing node_modules/react-scripts and its binaries is executed when package.json is already updated and before npm install (or yarnpkg if yarn lock file exists)

Looks fine to me. Thanks.


Save window size

Hello,
I have noticed that the window size is reset every time you close the client, I think saving this locally and ideally to your account as well would be really nice to have, or at least an option to have this.
Thank you.

Check the "RuneLite" plugin settings, has an option to set the size.

Oh, I am sorry, I did not see it. I searched for "window", "size" and "screen" and did not find anything. Thank you, I will now close this issue.


minor typo in position fixed.

"top_ bar" -> "top_bar"

Warnings

:warning:

Please include an updated CHANGELOG.md file.This way we can keep track of all the contributions.

  Generated by :no_entry_sign: dangerJS

good catch


merger test

Description
Thanks for contributing this Pull Request. Make sure that you submit this Pull Request against the develop branch of this repository, add a brief description, and tag the relevant issue(s) and PR(s) below.

Relevant Issues : (compulsory)
Relevant PRs : (optional)
Type of change :

[ ] New feature
[ ] Bug fix for existing feature
[ ] Code quality improvement
[ ] Addition or Improvement of tests
[ ] Addition or Improvement of documentation

https://github.com/intuit/karate/blob/master/.github/CONTRIBUTING.md


resetStores fires before persistance restoration on page reload

The restStores function fires before the store gets restored from the localStorage on a page reload.
Workaround ist to wrap the resetStores function in a setTimeout or a delay(0).

Can you explain the use case, please? Why would you use persist state, and immediately call resetStores?

I have a multi tenant application, some stores are completely related to the current tenant. When the user switches between tenants, I have to reset these stores. It could happen, that the user saves the url and just opens another tenant via url. In this case I track the active tenant id and when the id changes I reset the stores.

Akita also exposes the selectPersistStateInit observable. This observable emits after Akita initialized the stores based on the storage's value.
import { selectPersistStateInit } from '@datorama/akita';

selectPersistStateInit().subscribe(() => {
  resetStores();
})

I'm closing this issue. If my solution doesn't work for you, reopen it.


[Event Request] Page 498 Reservation - function GetSerialLotNo

Dear,
I request for below Integration

Definition of Integration as below

thanks & regards
Ashwini Tripathi

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Fix Email Authentication Issue Caused by Trailing Spaces

Fixes #518
The issue can be easily resolved by applying the trim() function to the email and password strings before they are passed for authentication.

Normally I would also ask you to write a test for your change, but this function is actually one of a few spots where it's not currently possible to test without doing some refactoring. (There's a TODO comment to this effect inside the fetchApiKey function it calls.) I'll see if I can quick take care of that right now, so that it's possible for you to write a test.

OK, I've sent #522 with those changes. Please rebase your branch atop that PR, and then you should be able to write a test for this change: you can pretty much copy the testWidgets test that that PR adds, and modify what's entered into the username field with the tester.enterText call so that it exercises your new logic.
If you're not sure how to rebase your PR on top of another PR's branch, just ask in #git help on chat.zulip.org and we'll be glad to help out.

@gnprice , I have made the necessary changes, but somehow the CI is still failing. I am quite new to CI/CD. Could you please provide me with some context for the reason for the failure?

Thanks for the revision!
To fix errors that are appearing in CI, it's most convenient to run the same checks locally on your machine. You can do this with the command tools/check; see https://github.com/zulip/zulip-flutter/#tests in our README.
When the check script fails, it prints messages explaining what failed. But the version in CI prints a lot of other detail, so it can take a bit of practice to be able to find the relevant message in its output. If you run just tools/check, it's a lot more concise and you should be able to find the relevant complaint. (If you have any further trouble, though, please ask in #mobile on chat.zulip.org and we'll be glad to help you debug.)

But the version in CI prints a lot of other detail, so it can take a bit of practice to be able to find the relevant message in its output.

Oh and the relevant piece of the GitHub web UI is a bit inconspicuous, too, so to make sure you've found it: there's a "Details" link here, on the right-hand side at the bottom of the PR thread:

That links to the output of the latest CI run, which is currently this:
https://github.com/zulip/zulip-flutter/actions/runs/7919458559/job/21620278989?pr=519
And that's where you find the voluminous output I mentioned. (Which you may already have found.)
But as I said, probably the easiest way to diagnose the problem is to run tools/check locally. Once you've done so, it may be informative to compare your local tools/check output with that CI output — the relevant error message does appear in the CI version, so finding it there might help you find the error directly from the CI output next time.

Thanks for the revision! The new test looks good, with a couple of small comments below.
The main thing needed now before we can merge this PR is to clean things up so that it doesn't make other changes that are unrelated to what it's about. Please take a look at the Zulip project's style guide for a clean commit history: https://zulip.readthedocs.io/en/latest/contributing/commit-discipline.html
This PR should end up being a single commit on top of #522 (if the .gitignore change is dropped, or two commits where one is the .gitignore change), just changing the one line to add .trim() and adding the test case, and not making any other changes. There also should be no merge commits.
To get a clear view of what changes your commits are making and of the structure of your branch, I recommend a graphical Git viewer like gitk. Alternatively, for reading in your terminal, git log -p is very helpful in combination with my "secret" for getting a good UI with it. If you have any questions, we'll be glad to answer in #git help on chat.zulip.org.

Thank you for the suggestions, sir. I will definitely look into them and continue improving my contributions.

@gnprice , I've incorporated the suggested changes by adding white spaces at the start and modifying the test name. I've also addressed the CI failure caused by the unwanted import and have also removed the gitignore change. If there are any additional tasks, please let me know.

That other PR #522 has been merged, so if you rebase onto current main, that should help simplify the picture in Git. This PR should now be just one commit on top of main.

I am closing this and opening a new MR for this :)

Cool, thanks for the update. For the future, though, it'd be better to update the existing PR rather than close it and open a new one: https://github.com/zulip/zulip-flutter/pull/547#pullrequestreview-1918098359


[react-form-state] recalculate validity once the user updates a field after a submission

If the a user submits a form that yields server errors we need to be able to reset form validity to true  the next time they make a change to an input.

Might not actually be useful, especially since we don't want to disable submit anyway


z-index at elements after drag does not disappear, in vue

z-index at elements after drag does not disappear, in vue
https://stackblitz.com/edit/vitejs-vite-xghckt?file=src%2FApp.vue
https://github.com/formkit/drag-and-drop/assets/48857511/c21dbc94-9b4a-4646-a726-33f894b0c9c4
it seems to me that z-index should be removed automatically after the end of a drag event.

@Jerd0 Hey there! When you define handlEnd, you are actually overriding the core handleEnd event. The way to do this would be to import the original handleEnd and invoke it after: https://stackblitz.com/edit/vitejs-vite-t7bzxw?file=src%2Fcomponents%2Ftest.vue. We plan to implement some system of emitting events in the future, so you don't need to worry about overriding existing events. I'll close this for now but please let me know if you have any other questions.


Error: No Orca Configuration

Dear All,
after completing the installation process, I encountered the following error:
$ metaldock -i input.ini
Traceback (most recent call last):
File "/home/stefano/MetalDock/metaldock", line 6, in
main()
File "/home/stefano/MetalDock/src/metal_dock/main.py", line 18, in main
docking(par)
File "/home/stefano/MetalDock/src/metal_dock/docking.py", line 80, in docking
qm_dir, energy = orca.orca_engine(xyz_file, par, output_dir)
File "/home/stefano/MetalDock/src/metal_dock/orca_engine.py", line 22, in orca_engine
orca_geom_opt(xyz_file, var)
File "/home/stefano/MetalDock/src/metal_dock/orca_engine.py", line 109, in orca_geom_opt
mol.calc = ORCA(label='geom',
File "/home/stefano/anaconda3/envs/MetalDock/lib/python3.8/site-packages/ase/calculators/orca.py", line 95, in init
super().init(template=OrcaTemplate(),
File "/home/stefano/anaconda3/envs/MetalDock/lib/python3.8/site-packages/ase/calculators/genericfileio.py", line 274, in init
raise BadConfiguration(f'No configuration of {template.name}')
ase.calculators.calculator.BadConfiguration: No configuration of orca
It seems that there is a communication issue between ASE and ORCA but I haven't been able to find a solution. Any assistance in resolving this issue would be greatly appreciated. Thank you!

Hi,
Did you export the following variable correctly?
export ASE_ORCA_COMMAND='/sw/arch/RHEL8/EB_production/2022/software/ORCA/5.0.4-foss-2022a/bin/orca PREFIX.inp > PREFIX.out'
This line is required for communication between ASE and ORCA. The path is system dependent, so you need to change this for yours.

Hi,
From the screenshot that you have sent the path is not correctly set by $ASE_ORCA_COMMAND. Nothing is printed when you echo $ASE_ORCA_COMMAND. You should see something like this:
mhakkennes@int5:~$ export ASE_ORCA_COMMAND=/root/path/to/metaldock
mhakkennes@int5:~$ echo $ASE_ORCA_COMMAND
/root/path/to/metaldock
mhakkennes@int5:~$
If you copy your path here and run this command in the terminal it should work. You can also set it as environment variable in your shell script.
Let me know if it worked.
Regards,
Matthijs

Dear Matthij,
Thank you very much for your response and sorry for the inconvenience. In the previous post, I forgot to declare it; however, I am still encountering the following error. Thanks again!

Could you try to install ase== 3.22.1? You can do that by typing pip install  ase== 3.22.1

I am experiencing the same issue. I followed all the instructions carefully, including setting up the PATH, configuring the ASE_ORCA_COMMAND, and ensuring the correct version of ase is installed. However, I am still encountering the "No configuration of orca" error. I have verified the PATH, checked file permissions, and ensured all necessary files are present. Despite these efforts, the problem persists.
Could you please provide further guidance on how to resolve this issue? Any help would be greatly appreciated.
Thank you.

Dear Matthijs,
I have installed the older version ase 3.22.1 as you suggested and now is correctly working, thanks a lot for your time !

Thanks for letting me know, probably there is something wrong with the latest ase version. I have adjusted the docs accordingly. @Layr-Allysson can you verify that this also works for you?

Hi @MatthijsHak ,
I have redone all the steps, and now it is working correctly! Thank you very much for your help and guidance.


Next JS Ecommerce?

Did you check the Next JS Commerce? I think if we built on that Project then it's gonna be cool and need to contribute it to that project.
I can help with any related coding and styling.

+1 , I think nextJS Ecommerce is a better option.


#75 Test IdClass

#75  Added test cases, and fixed a bug.

@gbadner cool, thanks!
Looks like this conflicts with my #88, but easy to resolve, no problem.

Merged https://github.com/hibernate/hibernate-rx/pull/89
I've inverted the positions of the two commits so that tests appears after the fix. I know that this is not how Test driven developments works but, this way, the build works for each commit


Mod crashed in game and now Bing maps not loading.

Describe the bug
I was using the mod and it crashed but the game was on. When I restart the game it is loosing it's online connectivity. Bing maps not loading.
To Reproduce
Close without pressing the stop button in the mod.
Desktop (please complete the following information):

OS: windows 10
MOD Version latest
MSFS sim update latest ,  Steam

Please start the mod again and press stop button, it should be good.

I did try that but didn't work, so I'm reinstalling.

Any other suggestions?

Please have a look at these FAQ (https://github.com/derekhe/msfs2020-google-map/wiki/FAQ) , try to restore your hosts file

Any other suggestions?

This mod can change your HOST file,you can try to reset it

@rexetorize if no response for another 2 days, I will close this.

oh yeah changing the host file worked, thanks/


Fails to import PDF document

Unable to import this PDF document using spacypdfreader. The import results in high cpu usage and caused the system to hang.
https://docs.aiddata.org/ad4/pdfs/Banking_on_the_Belt_and_Road_Executive_Summary.pdf

Can you please provide a reproducible example and include the output?

@SamEdwardes Here is simple testcase I have used. https://gist.github.com/arky/c91d20a8769846aec32262c76eea815d The issue surfaces when you are processing a pdf with large number of pages.
The program runs forever taking all available CPU.

Thank you @arky. Is there any way you are able to share the specific code and output related to the issue? Your gist refers to "test.pdf", and the PDF you shared in your first message is 3 pages.

@SamEdwardes I was able to reproduce the error using the following file as test-case
Code snippet: https://gist.github.com/arky/c91d20a8769846aec32262c76eea815d
Test-case: https://docs.aiddata.org/ad4/pdfs/Banking_on_the_Belt_and_Road_Executive_Summary.pdf
However any PDF with sufficiently large number of pages should be able to generate similar problems.
Unfortunately I wasn't able to reproduce any debug logs as the process becomes unresponsive.

Thank you @SamEdwardes for doing the research. Perhaps for now adding a note about correctly handling large sized documents could be added into the documentation.

@SamEdwardes Touching base to see if we could resolve this issue either with implementation of multiprocessing or by expanding the docs as stop-gap measure.
Thanks!

@arky thank you for the reminder! I can make an update to the docs today!

@SamEdwardes You are most welcome, please let me know if I could help in any way.

Thank you @SamEdwardes


Unable to use pd.Series for phenotype

I believe I have a work around for this, so more of a heads up than something that needs solving right now.
The documentation says that the phentoype can be provided as
- a list of strings,
- integer binary data,
- numeric continuous data
- pandas Series, DataFrame or numpy array

I'm using a linear regression - I've got 11 different cancer diagnoses in my dataset. I'm taking the phenotype data from a metadata dataframe. If I pass it in as a Series, it breaks - giving me "Could not understand your pheno_data". In the following, phenotype is a pandas Series, containing strings.
methylize.diff_meth_pos(df, phenotype)

ValueError                                Traceback (most recent call last)
[/data/projects/classifiers/src/exploration/methylation/differentialMethylation.ipynb](https://vscode-remote+ssh-002dremote-002bmtbnotes-002ddev-002ezerochildhoodcancer-002ecloud.vscode-resource.vscode-cdn.net/data/projects/classifiers/src/exploration/methylation/differentialMethylation.ipynb) Cell 17 in ()
----> [1](vscode-notebook-cell://ssh-remote%2Bmtbnotes-dev.zerochildhoodcancer.cloud/data/projects/classifiers/src/exploration/methylation/differentialMethylation.ipynb#X22sdnNjb2RlLXJlbW90ZQ%3D%3D?line=0) methylize.diff_meth_pos(meth_data, phenotype)

File [/data/projects/classifiers/bin/envs/classifiers/lib/python3.10/site-packages/methylize/diff_meth_pos.py:210](https://vscode-remote+ssh-002dremote-002bmtbnotes-002ddev-002ezerochildhoodcancer-002ecloud.vscode-resource.vscode-cdn.net/data/projects/classifiers/bin/envs/classifiers/lib/python3.10/site-packages/methylize/diff_meth_pos.py:210), in diff_meth_pos(meth_data, pheno_data, regression_method, impute, **kwargs)
    208         regression_method = 'linear'
    209     else:
--> 210         raise ValueError("Could not understand your pheno_data.")
    211 else:
    212     raise ValueError(f"pheno_data must be list-like, or if a DataFrame, specify the 'column' to use.")

ValueError: Could not understand your pheno_data.

It won't accept a pandas Series.
It won't accept a list of strings if I convert the series to a list.
It will accept it, and run if I map the strings to integers, i.e.:
unique_strings = phenotype.unique()
string_to_int_map = {string: i for i, string in enumerate(unique_strings)}
phenotype = [string_to_int_map[string] for string in phenotype]
results = methylize.diff_meth_pos(df, phenotype)

It was my understanding from the documentation that methylize would internally maps strings to integers, but that doesn't appear to be working, if my understanding of it is correct.
Cheers
Ben.

If i'm not mistaken, phenotype data must be binary (only 2 groups), and as such you won't be able to run with 11 different cancer diagnoses


[Feature request] Exit normal mode when Tab mode gets activated

When Vim and Tab modes used together it takes additional effort to exit Normal mode to switch between apps. e.g.:
I am reading a document in Preview App, To navigate I use Ubiquitous Vim Bindings (J and K) in normal mode
Now I need to switch to another app, using Tab H/L, yet it won't let me until I switch away from Normal mode. Would it be possible to have an option that would allow to exit Normal mode on Tab, or even better - Normal mode would recognize Tab Mode keybingings and would allow you to switch between Apps (without having to leave Normal mode)

Actually I just found that there's an option "Activate Dead Keys -> Enable Tab Key". This solves my problem. Karabiner is so awesome!


Evaluation on the Pix3D Dataset

In section 4.8 of the paper,

In detail, following [7, 8], we generate the training set using the data from the category of Chair in ShapeNet and synthesize images [35] with random background from the SUN database [36].

Could you release this training set and training code?

Hi, sorry that we currently do not plan to release the training set. For generating the dataset, you can follow the generation approach referred to Pix2Vox++. For the training code, you can refer to the train.py.


Seems I cannot save (maintain) changes to Tibber Pulse sensor

- Following instructions and putting Pulse in AP mode (disconnected from meter cabinet and getting power from USB port)- in theory this could be done while the pulse is powered by the meter cabinet?
- Connecting to Pulse AP and puts in my SSID/PW (works and is retained)
- Adding MQTT URL as user:pw@host
- Port 1183
- Update url: http://host
- Clink Send
- Click try setting (Apply)
- After rebooting I disconnect the Pulse from USB power and connect it to the PI/HAN/RJ12 port
- Pulse boots up and after a while goes back to AP/Connect to Tibber App mode (green light).
Is there a way to make sure the settings are saved? I was expecting clicking Send or Send and Apply would do the trick, but no luck so far.
Finally managed to save settings to Tibber Pulse by clicking send after each field was filled in. And I believe I clicked try these setting -> Apply. Don't know if this is what did the trick, but those where the steps as far as I remember. Maybe someone else will be helped by this.

Added description of how I got it to work.


Install ra10ke from rubygems.org

Install ra10ke from rubygems.org since https://github.com/voxpupuli/ra10ke/issues/28 is resolved.
Make docker build work either with or without Docker BuildKit (e.g., DOCKER_BUILDKIT=1 docker build)
Shell-check fixes

Closing since this isn't picked up for over two months ..


Add Starwels to the project

We want to participate in the project.
What do we need to send so that you can add Starwels to this project?
Ready to send all the keys to connect to the node.

The size of Starwels blocks does not exceed 200 Mbyte.


Missing Indication that sample decision was made on incomplete trace

When using RulesBasedSampler, some long running traces can be evaluated while they are still incomplete (missing root span), this ends up creating results that could unexpected by the users.
A workaround is to have longer TraceTimeout  but when those traces are not the norm, this could be detrimental to the size of cache and the the inner workings of sample/transmit on other traces that might be broken for other reasons.
Since the information that the trace is incomplete already exists on the trace object, one could just add a log indication or a field to the spans that the evaluation was executed on like refinery_incomplete or refinery_evaluated.
Let me know if you have any concerns or preferences on the implementation.
PS. There are metrics for these, but those don't help the users knowing the why/what, only showing that it happens, sometime, somewhere.

Hej @tr-fteixeira ,
Let me try to summarize:

When using RulesBasedSampler, some long running traces can be evaluated while they are still incomplete (missing root span), this ends up creating results that could unexpected by the users.

The problem you're experiencing is that when you look at sampled data, some traces in there don't actually follow the rules you defined in the sampler config, because the trace was incomplete when the rule was applied. So for example, if you have a rule excluding traces with foo field, but the trace was evaluated before the span with foo came in due to timeout, you will see the foo trace in Honeycomb.
And it sounds like you were able to see via metrics that some traces were evaluated "prematurely" but you didn't really have a way to find which traces, specifically, in the UI.
Did I get this right?

A workaround is to have longer TraceTimeout but when those traces are not the norm, this could be detrimental to the size of cache and the the inner workings of sample/transmit on other traces that might be broken for other reasons.

I don't believe setting the trace timeout would affect the cache size, as long as those traces are not the norm. Traces get ejected from cache as soon as the root span arrives, timeout is max time, not min time. Does that make sense? (I'm not sure what you mean in the second part there.)

Hey @vreynolds,
you got it right, not only on the UI, but logs (info) or anything else.

as long as those traces are not the norm

is the key here.. but the traces i noticed this are from a batch job, running for 5h+.. and having a timeout that long, didn't sound healthy.. maybe i should close the root span early and leave the job running under a child a async.. 🤔

Talked to the team, and we agree that having an attribute refinery.sampled_complete_trace = true/false would be a nice enhancement. We'd need to make sure every span in the trace gets the attribute, including any stragglers that might come in after we've sent the trace, which will require updating the sent trace cache to keep track of the sampled_complete_trace with the sampling decision.
We can't make promises on our own timeline right now, but if you'd like to open a PR for this, philosophically we're on board :)


Clarifying Scale & Routes

The current route scale is separated; inbound (6M) and outbound (a few 100k).
Flow scale entries had a 64K to 32K reduction and all 32K s/be Active - please see table in middle of HERO test document
Request is to breakdown 'routes' area into Inbound and Outbound - cross-check sonic dash hld with 'feature packet transforms' and reconcile.

SONiC-DASH HLD is here https://github.com/sonic-net/DASH/blob/main/documentation/general/dash-sonic-hld.md#14-scaling-requirements
Packet Transforms Doc is here  https://github.com/sonic-net/DASH/blob/main/documentation/general/sdn-features-packet-transforms.md#scale-per-dpu-card


RuntimeError: The size of tensor a (200) must match the size of tensor b (512) at non-singleton dimension 1

Getting this error when running visualizing_annotations.ipynb
I have checked  and in defualt.py it is defined the embedded dim to 200:
_C.MODEL.ROI_RELATION_HEAD.EMBED_DIM = 200
but then the clip model embeddigns is returining 512.
Are this error because i'm not using the configs and the repo right ?
Is it normal that i need to manually change _C.MODEL.ROI_RELATION_HEAD.EMBED_DIM  to 512 ?

Hello again,
You don't need to change the defaults.py file every time, you can change the config file in .yaml that you are using instead. If you want to use the clip embeddings for text features you can specify the following:
MODEL.TEXT_EMBEDDING: clip
MODEL.ROI_RELATION_HEAD.EMBED_DIM: 512

If you want to use the default glove, don't specify anything or do:
MODEL.TEXT_EMBEDDING: glove.6B
MODEL.ROI_RELATION_HEAD.EMBED_DIM: 200

From my early experiments, clip features give an extra boost of a few % in model performance, with slightly slower training and inference.
Hope this helps.

Thank you !!!! I think it could be added in the documentation of the repor maybe.

Yeah I will do it in a future update, once I have more results on the performance of the CLIP encoder for text embeddings.


Add Eslint Flat-File support for ReDos Eslint plugin

What is the problem?
Since<EMAIL_ADDRESS>eslint now support a new type of configuration file: the flat-file format.
When migrating our config files to this new format, we realized that the ReDos eslint plugin does not yet support this new file format.
More specifically, the rules attribute now has to be a JS object instead of an array of strings (see error below).

Would you be able to add support for this file format?
How to fix the problem?
eslint released a migration guide for eslint plugins to add support for flat-file configs

For anyone stumbling upon this problem, until flat-file config support is added, you can use the ReDos plugin in your flat-file config like this:
  // Rest of your config
  {
    plugins: {
      redos: eslintRedos,
    },
    rules: {
	  // Or any other rule
      "redos/no-vulnerable": "error",
    },
  }
  // Rest of your config


Update etl README

Reason (Why?)
The README of the etl is out of date.
Solution (What?)
The README should be updated to the current state.
Out of scope
None
Relation to other Issues
None
Acceptance criteria
The REAME of the etl is up to date and helps the user working in the etl directory.

closed with merge of #266

closed with merge of #266


Error in documentation on nipreps.org/smriprep/usage.html

Describe the bug
https://www.nipreps.org/smriprep/usage.html states that a BOLD is required for a sMRIPrep run, but this is wrong.

PRs welcome!


How to define a macro with value via command line?

I must be missing something but cppo -D VAL=1 test.ml doesn't work:
let x = VAL

is expanded into
# 1 "test.ml"
let x =
# 1
        =1

The command line for that is cppo -D 'VAL 1'. If I remember correctly, it was simpler to implement that way so I didn't bother supporting the usual cpp syntax. In hindsight it was a bad decision.

I see. But maybe to support both -D 'VAL 1' and -D VAL=1? It shouldn't be that hard.
And it would be great if the syntax was mentioned in the docs.

I added an example to the command-line help.
I'm hesitant to support the = syntax. Reasons are:

supporting two syntaxes for the same thing isn't great
it's inconsistent with the syntax used inside files, where no equal sign is used
it introduce an incompatibility, e.g. -D 'EQ =' has now a new meaning

None of this is a big deal. Maybe we can support both syntaxes but deprecate the space-based syntax.


Outlook Web App: "something went wrong"

Hi,
I created a fresh new Firefox profile and put your master users.js (no additional plugins), started FF, went to an Outlook Web App site and I get:

Which setting do I need to change so that Outlook Web App is working? (except of course not to use proprietary M$ products)

Indexdb
I dont have access at this time to check more informative
On 25 Jul 2017, at 09:48, passboltUser <notifications<EMAIL_ADDRESS>wrote:
Hi,
I created a fresh new Firefox profile and put your master users.js, started FF, went to a Outlook Web App site and I get:
[exchange]https://user-images.githubusercontent.com/29798595/28561258-f05e336a-711d-11e7-8ab5-b97aa1c6cedb.png
Which setting do I need to change so that Outlook Web App is working? (except of course not to use proprietary M$ products)

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ghacksuserjs/ghacks-user.js/issues/180, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQPEl9RvGJ_cVYxLFa7vXVsWibSTevz9ks5sRZ3SgaJpZM4OiLzA.

2404
On 25 Jul 2017, at 09:48, passboltUser <notifications<EMAIL_ADDRESS>wrote:
Hi,
I created a fresh new Firefox profile and put your master users.js, started FF, went to a Outlook Web App site and I get:
[exchange]https://user-images.githubusercontent.com/29798595/28561258-f05e336a-711d-11e7-8ab5-b97aa1c6cedb.png
Which setting do I need to change so that Outlook Web App is working? (except of course not to use proprietary M$ products)

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ghacksuserjs/ghacks-user.js/issues/180, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQPEl9RvGJ_cVYxLFa7vXVsWibSTevz9ks5sRZ3SgaJpZM4OiLzA.

Thanks.


Beginner Skillmap: Extra blocks in the some tutorials

Describe the bug
Beginner Skillmap: Extra blocks in the some tutorials
Steps to reproduce the behavior

Navigate to https://arcade.makecode.com/--skillmap#beginner
Open tutorial Greeting Card
Observe the toolbox of this tutorial

Actual behavior
Only show the blocks the tutorial need
Expect behavior
Extra category blocks for tutorial "Greeting Card" : Sprites, Variables.
Screenshot

Additional context
1.OS: Windows11
4.arcade version: 1.12.19
5.Microsoft MakeCode version: 8.5.27

Extra blocks for tutorial "Clicker Game"

This is as intended. We like to leave room for some flexibility in creative tutorials.


Snoop for NODE_ENV === 'test' in

In <Link>, we currently support not providing a router, in which case we just don't generate an href.
This is in fact convenient for testing, but it also leads to potential errors like http://stackoverflow.com/questions/35959965/react-router-link-doesnt-render-href-attribute-with-server-side-rendering/35966923.
We could change <Link> to require a router unless NODE_ENV === 'test'. Thoughts?

I'm usually pretty against test-specific hacks in code. We really should be testing against the expected behavior and avoiding doing things solely for our convenience. Is creating a dummy router with just a createHref on it that hard?

If it weren't, then we'd be requiring router on <Link>. I think it's been enough of an issue that it's worth having this carve-out.

I'm still pretty happy with how it works right now, that SO question doesn't convince me we've got a problem. There's no reason to use Link outside of a Router, the moment that app actually starts becoming something real the "problem" will go away.


Update Updates “releases”

Automatically generated by Netlify CMS

This PR failed to due a missing url field in the config.yml which caused the CMS to remove it from the output. That behaviour should be fixed soon in https://github.com/netlify/netlify-cms/pull/3314, and I added the missing field to the config.


"No valid search paramaters submitted" message appears before search is complete

Describe the Problem

If the search bar is taking a particularly long time to load, the text "No valid search parameters submitted" will sometimes appear prematurely. The search then eventually completes, showing the correct results or leading to the one unique page.
Browser and Operating System Information
Opera One(version: 104.0.4944.72) (x86_64)
macOS Version 11.6.5

Solved in next release (already available for preview)


WIP mobx router

Closing, because this has been used and expanded in https://github.com/hfour/h4bff/pull/12, which has been already merged in master.


Impossible to Select clipboard to paste

Hello,
Installed Multiclip on VisualStudio Code
Version: 1.53.2
Commit: 622cb03f7e070a9670c94bae1a45d78d7181fbd4
Date: 2021-02-11T11:48:44.518Z

There is no Ctrl+Alt+v and Command Palette does no show any way to select a clipboard (screen capture attached)

If I list Multiclip Buffer I can see items in the buffer, past the last one copied but can't select any previous items.
Regards

I have the same issue. As a workaround, create a custom keyboard shortcut for Multiclip List Buffer, and use the arrow keys to select the item to paste.

Yeah for some reason on a fresh install the keybinding for picking a clipboard (Ctrl + alt + v) is not set

try https://github.com/tjx666/vscode-clipboard-master


the problem of Tibetan text recognition

Hi, dear, it seems that you use 'chars = tf.strings.unicode_split(labels, 'UTF-8')' to split label strings in the project, now I want using the graphemes function to split charactors of Tibetan(Tibetan characters are variable length unicode), but I get the error 'OperatorNotAllowedInGraphError: iterating over tf.Tensor is not allowed: AutoGraph did not convert this function. Try decorating it directly with @tf.function.' . What should I do? Or do you have any good suggestions?

About my first idea, maybe you can add some splittable char to you label(, or #), then use tf.string.split to split it.

About my first idea, maybe you can add some splittable char(, or #) to you label, then use tf.string.split to split it.

Ok, thank you very much! I think I know what to do, and I will rebuild the style of labels for my dataset.


404 when attempting to create an artifactory_group

Describe the bug
I am trying to create a group in our JFrog hosted Artifactory instance with Terraform. When I run terraform apply, it gives me an error.
Terraform file:
terraform {
  required_providers {
    artifactory = {
      source  = "jfrog/artifactory"
      version = "12.4.1"
    }
  }
}

provider "artifactory" {
  url = "http://blockxyz.jfrog.io"
  // supply JFROG_ACCESS_TOKEN as env var
}

resource "artifactory_group" "snapshots" {
  name = "test"
}

Terraform apply:
$ terraform apply

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # artifactory_group.snapshots will be created
  + resource "artifactory_group" "snapshots" {
      + admin_privileges = false
      + auto_join        = false
      + id               = (known after apply)
      + name             = "test"
      + policy_manager   = false
      + realm            = "internal"
      + reports_manager  = false
      + watch_manager    = false
        # (3 unchanged attributes hidden)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

artifactory_group.snapshots: Creating...
╷
│ Error: Unable to Create Resource
│
│   with artifactory_group.snapshots,
│   on providers.tf line 15, in resource "artifactory_group" "snapshots":
│   15: resource "artifactory_group" "snapshots" {
│
│ An unexpected error occurred while creating the resource update request. Please report this issue to the provider developers.
│
│ Error: {
│   "errors" : [ {
│     "status" : 404,
│     "message" : "Not Found"
│   } ]
│ }
╵

Requirements for and issue

[x] A description of the bug
[x] A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
[x] Your version of artifactory (you can curl it at $host/artifactory/api/system/version
[x] Your version of terraform
[x] Your version of terraform provider

$ curl https://blockxyz.jfrog.io/artifactory/api/system/version
{
  "version" : "7.100.2",
  "revision" : "80002900",
...

$ terraform version
Terraform v1.8.2
on darwin_arm64
+ provider registry.terraform.io/jfrog/artifactory v12.4.1

Expected behavior
I expect the group to be created and an error not to occur
Additional context

@finn-block Thanks for the report. Odd, this shouldn't been any error from basic resource creation. Let me try to reproduce.

@finn-block Using the following configuration, I am able to create a group with no error:
terraform {
  required_providers {
    artifactory = {
      source  = "jfrog/artifactory"
      version = "12.4.2"
    }
  }
}

provider "artifactory" {
  //  supply ARTIFACTORY_ACCESS_TOKEN / JFROG_ACCESS_TOKEN / ARTIFACTORY_API_KEY and ARTIFACTORY_URL / JFROG_URL as env vars
}

resource "artifactory_group" "test-group" {
  name             = "test-group"
}

alexh@alexh-mac terraform-provider-artifactory % terraform apply

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following
symbols:
  + create

Terraform will perform the following actions:

  # artifactory_group.test-group will be created
  + resource "artifactory_group" "test-group" {
      + admin_privileges = false
      + auto_join        = false
      + id               = (known after apply)
      + name             = "test-group"
      + policy_manager   = false
      + realm            = "internal"
      + reports_manager  = false
      + watch_manager    = false
        # (3 unchanged attributes hidden)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

artifactory_group.test-group: Creating...
artifactory_group.test-group: Creation complete after 0s [id=test-group]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Terraform: 1.9.5
Artifactory: 7.100.2

I believe so? How would I check? I used my admin account (which can create groups) and went to edit profile -> generate identity token.

@finn-block Ah, identity token. Let me test with that.

Hey @alexhung , thanks for looking at this! I think I just found the problem: when copy/pasting example code, I neglected to update the protocol scheme in the artifactory URL. url = "http://... gives a 404, url = "https://... seems to work fine.


Issues with spring animation and collection view

Hello again. At this moment you are probably already sick of me, though I found a few more problems. Sorry :P

Now if you enable bounce, with collection view having enough objects to scroll, and start scrolling from some, not the top point, you will see this.
I checked that is caused by custom Spring animation. Good news is that it can be fixed if you check if the duration is 0 and if so don't animate. Though probably it could be better if pullUpControllerAnimate won't just be called if duration is 0? 🤔
That probably has nothing to do with you, but here is a thing: for scroll view not to scroll when reaching top like this I disable scroll in collection view when reaching the middle point, and enable back when reaching the top point. After that sometimes cells stop tapping at all, usually at the middle position. I tried detaching and attaching back the collection view from PullUpController as well, checked using Debug View Hierarchy and all objects are User Interactable. Just can't get what's going on. Probably some collection view issue, but it would be very nice if you could help in any way 🤔

Hoping that you don't hate me too much T.T,
Heltisace

@MarioIannotta Thanks :) Though adding guard animation > 0.0 seemed to solve my issue, at least issue definitely stopped appearing. Nevertheless, thank you.
Regarding the second question, shortly speaking, if you expand a pull controller that has some collection view, containing enough for scrolling items, you will continue the scroll. That means that user either has to scroll very carefully or will have to return to the top. Disabling scroll while the pull view controller is not fully expanded solves this issue and the user will be able to scroll only when he reached the top position. If it's not clear enough, don't worry, I will try to explain using some demo project tomorrow because it's kinda late already.
Thanks for trying to help :)

That's right, the guard solve the issue but I don't think is conceptually right (sorry I'm a little bit picky :))
Maybe I've found another way to solve the issue in the library itself. Do you mind trying it?
You should remove the guard and add
if !pullUpControllerIsBouncingEnabled {
   yTranslation -= initialInternalScrollViewContentOffset.y
}

instead of
yTranslation -= initialInternalScrollViewContentOffset.y

In the method handlePanGestureRecognizer(_ gestureRecognizer: UIPanGestureRecognizer).
Does that solve your issue?
If you're using xcode 10 and you've installed the library using cocoapod, a clean could be necessary.
I'll tackle the other issue tomorrow, you're right it's late 😴
Thanks!

Okay. Will let you know tomorrow. Good night.
Cheers :D
Heltisace

Hi. This code indeed solves the issue.
if !pullUpControllerIsBouncingEnabled {
   yTranslation -= initialInternalScrollViewContentOffset.y
}

Now back to the question I mentioned yesterday. I downloaded your test project and decided to show you what I want in it. First of all, I found an issue. Look at the bottom animation when the add button is pressed. Secondly, as you can see on this video if you try to expand PullUpController, starting the pan gesture on the table, in your case, it will continue scrolling farther. Imagine if you have only a table in your drawer. You will either have to return to the top or expand it very carefully. So what I want, is for drawer not to be scrolled in that case. My solution was to disable scroll at the middle position and then enable back at the top, though it's not only not the best decision but also sometimes cases such issues as some items stop to be clickable at the middle position. Do you have any ideas on how to solve this?
Thanks,
Heltisace

Hello again. I just found out that I forgot to enable bounce while testing your solution and seems like mine too. So it seems like it does not work. Neither guard nor !pullUpControllerIsBouncingEnabled.   Sorry if I'm wrong, just got really tired during today and could messed up with something.

Hi. Wanted to add, that it could be useful to be able to see the current point of PullUpController not only in willMove, or didMove, but in some property.

Hi,
I checked your video and now I've understood the problem, try to use the code i just pushed on develop and let me know how that works, if everything is okay I'll release a new versions.
A note:
Instead of pullUpControllerIsBouncingEnabled now there's pullUpControllerBounceOffset, a CGFloat that represents how much the view will bounce.
Regarding this thing, I've created another issue to keep track of it.
Cheers,
Mario.

@MarioIannotta hi. Thanks for your work! If you are still able to listen to my complaints, this indeed makes things better, though if you do fast small scrolls you will get this. The idea with bouncing offset is brilliant and I also wanted to propose something like this.

 Thanks for finding out all of these bugs :)
I've pushed a little refactoring of the gestures handling on develop that looks so much better, could you please check that out and let me know?
Regarding this last issue I'm not sure I've understood your point, could you please it in the proper issue?
Thanks!
Mario

Hi, thanks :) Surely I will look through changes tomorrow. Will try to explain my point in #35 in a moment.

Hello. If you are still subscribed to this issue, then... Here's a vid.
Shortly:

I'm not quite sure if content should bounce when you swipe to the bottom if it doesn't bounce when you swipe to the top.
If you drug it slowly to the bottom, you will get this struggling thing.

Your's hell of a tester :P

I've accidentally have written this to the wrong issue. I deal with content scrolling like this for now. If you try just to change collectioView's scroll enabled variable you will see that in the middle position collevtionView's items can't be pressed.
//MARK: The function that is called each time user is about to scroll
    func scrollViewWillBeginDragging(_ scrollView: UIScrollView) {
        //Setting scrolling value according to opened state
        collectionView.set(scrolling: state == .open)
    }
//MARK: Custom collectin view to work with PullUp
class PullUpCollectionView: UICollectionView {
    //MARK: Variable saying if should be scrollable
    private var scrolling: Bool = false
    //MARK: Variable that saves initial content offset value
    private var initialContentOffset: CGPoint = .zero

    //MAKR: The function for setting if scrolling is enabled
    func set(scrolling: Bool) {
        //Setting scrolling
        self.scrolling = scrolling
        //And initial content offset
        self.initialContentOffset = contentOffset
    }

    //MARK: Overriding content offset
    override var contentOffset: CGPoint {
        //On set
        didSet {
            //Checking if value is not the initial and shouldn't scrolling
            if contentOffset != initialContentOffset && !scrolling {
                //Then setting value back to starter one
                contentOffset = initialContentOffset
            }
        }
    }
}

In new the version, content keeps scrolling up, if there are enough of elements when you scroll down PullUpController (plus those two bugs I've already named above). That's how it works in the old version + my custom collection view and what I'm talking about.

Maybe I could revert that commit and you could create a PR adding your collection view subclass to fix the issue?

@MarioIannotta maybe, though it seems to me like not quite a right type of solution, you trying to use in your lib. The only thing my collection view does is disabling scroll the way it doesn't cause any issues further. And then I just call it when PullUp starts moving and disable when it stops.


Allow ban-list-of-rooms / BanListOfRooms to take room aliases too

I'm surprised I did not catch this before. ban-room can take a room alias, but not ban-list-of-rooms.

This is completed


Be more restrictive when re-adding topcrash keywords

Resolves #1811
If the topcrash keyword was removed earlier by autonag:

Do not needinfo to increase the severity (suggested by @amccreight).
Apply more restrictive criteria (e.g., top 10 crashes will be top 5 crashes)
Adjust the wording

Checklist

[x] Type annotations added to new functions
[x] Docs added to functions touched in main classes
[x] Dry-run produced the expected results
[ ] The to-be-announced tag added if this is worth announcing

@suhaibmujahid did you mean to land this?


Segfaults on dev

Issue to track segfaults.
I'm running;
Python 3.6 on Alpine Linux with uvloop, I've not seen any segfaults from 3.5.2, just 3.6.
I was clear for around 24 hours, then I had two within an hour. Currently running the latest dev commit (82d037a828d7821206c0d337450ac87a8a145d8a).
There is also concern that this may be related to #5147.

I'm on 3.4.2 on arm (Raspberry Pi 2) and have seen them since #5147 about twice daily. I've built a virtualenv based on python3.4-dbg to try to get to the bottom of it using gdb but it appears the stack is sometimes corrupted when the segfault comes along. Here are some of the things I've logged.
Crash 1
Jan  8 21:11:16 tau hass[1989]: *** Error in `/opt/hass-dev/bin/python': double free or corruption (fasttop): 0x75469530 ***
Jan  8 21:11:16 tau lircd-0.9.0-pre1[513]: removed client
Jan  8 21:11:16 tau systemd[1]<EMAIL_ADDRESS>main process exited, code=killed, status=6/ABRT
Jan  8 21:11:16 tau systemd[1]: Unit<EMAIL_ADDRESS>entered failed state.

** Crash2 with gdb monitoring **
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_S_create

Program received signal SIGABRT, Aborted.
0x76d55f70 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb)
bt
#0  0x76d55f70 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x76d57324 in __GI_abort () at abort.c:89
#2  0x6f7c6b5c in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3  0x6f7c49a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6

Crash 3 with gdb
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_S_create

Program received signal SIGABRT, Aborted.
0x76d55f70 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

(gdb)
bt
#0  0x76d55f70 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x76d57324 in __GI_abort () at abort.c:89
#2  0x6f0b2b5c in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3  0x6f0b09a0 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Odd GUI response (maybe related)
And then I'm also seeing some weird behavior now where the GUI is pretty unresponsive but the automations and things still work. I did a few tracebacks in this condition which may or may not be related. There as no crash at this point.
(gdb) py-bt
Traceback (most recent call first):
  <built-in method poll of select.epoll object at remote 0x75b755c8>
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
Error occurred in Python command: Type does not have a target.
(gdb)

(gdb) bt
#0  0x76df9c14 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x0029432c in pyepoll_poll (self=0x75b755c8, args=(<float at remote 0x684ba5c8>, 6), kwds=0x0)
    at ../Modules/selectmodule.c:1487
#2  0x000e7a84 in PyCFunction_Call (func=<built-in method poll of select.epoll object at remote 0x75b755c8>,
    arg=(<float at remote 0x684ba5c8>, 6), kw=0x0) at ../Objects/methodobject.c:99
#3  0x001e9898 in call_function (pp_stack=0x7effb4d4, oparg=2) at ../Python/ceval.c:4234
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#4  0x001e1f84 in PyEval_EvalFrameEx (f=, throwflag=0) at ../Python/ceval.c:2836
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#5  0x001e6ac8 in PyEval_EvalCodeEx (_co=<code at remote 0x7685f640>, globals=, locals=0x0, args=0x759fc524,
    argcount=2, kws=0x759fc52c, kwcount=0, defs=0x7686d58c, defcount=1, kwdefs=0x0, closure=0x0)
    at ../Python/ceval.c:3585
#6  0x001ea020 in fast_function (func=<function at remote 0x7686e818>, pp_stack=0x7effbe7c, n=2, na=2, nk=0)
    at ../Python/ceval.c:4341
#7  0x001e9ab0 in call_function (pp_stack=0x7effbe7c, oparg=1) at ../Python/ceval.c:4259
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#8  0x001e1f84 in PyEval_EvalFrameEx (f=, throwflag=0) at ../Python/ceval.c:2836
#9  0x001e9ee0 in fast_function (func=<function at remote 0x760705d8>, pp_stack=0x7effc72c, n=1, na=1, nk=0)
    at ../Python/ceval.c:4331
#10 0x001e9ab0 in call_function (pp_stack=0x7effc72c, oparg=0) at ../Python/ceval.c:4259
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#11 0x001e1f84 in PyEval_EvalFrameEx (f=, throwflag=0) at ../Python/ceval.c:2836
#12 0x001e9ee0 in fast_function (func=<function at remote 0x7606e938>, pp_stack=0x7effcfdc, n=1, na=1, nk=0)
    at ../Python/ceval.c:4331
#13 0x001e9ab0 in call_function (pp_stack=0x7effcfdc, oparg=0) at ../Python/ceval.c:4259

Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#14 0x001e1f84 in PyEval_EvalFrameEx (f=, throwflag=0) at ../Python/ceval.c:2836
#15 0x001e9ee0 in fast_function (func=<function at remote 0x75cfd878>, pp_stack=0x7effd88c, n=1, na=1, nk=0)
    at ../Python/ceval.c:4331
#16 0x001e9ab0 in call_function (pp_stack=0x7effd88c, oparg=0) at ../Python/ceval.c:4259
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#17 0x001e1f84 in PyEval_EvalFrameEx (f=, throwflag=0) at ../Python/ceval.c:2836
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#18 0x001e6ac8 in PyEval_EvalCodeEx (_co=<code at remote 0x76410778>, globals=, locals=0x0, args=0x62be78,
    argcount=2, kws=0x62be80, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3585
#19 0x001ea020 in fast_function (func=<function at remote 0x7605c098>, pp_stack=0x7effe234, n=2, na=2, nk=0)
    at ../Python/ceval.c:4341
#20 0x001e9ab0 in call_function (pp_stack=0x7effe234, oparg=2) at ../Python/ceval.c:4259
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#21 0x001e1f84 in PyEval_EvalFrameEx (f=, throwflag=0) at ../Python/ceval.c:2836
#22 0x001e9ee0 in fast_function (func=<function at remote 0x75f0ced8>, pp_stack=0x7effeae4, n=0, na=0, nk=0)
    at ../Python/ceval.c:4331
#23 0x001e9ab0 in call_function (pp_stack=0x7effeae4, oparg=0) at ../Python/ceval.c:4259
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#24 0x001e1f84 in PyEval_EvalFrameEx (f=, throwflag=0) at ../Python/ceval.c:2836
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#25 0x001e6ac8 in PyEval_EvalCodeEx (_co=<code at remote 0x76a905d8>, globals=, locals=, args=0x0, argcount=0,
    kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at ../Python/ceval.c:3585
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#26 0x001d5c40 in PyEval_EvalCode (co=<code at remote 0x76a905d8>, globals=, locals=) at ../Python/ceval.c:773
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
#27 0x00032498 in run_mod (mod=0x5567a8, filename=, globals=, locals=, flags=0x7efff4f0, arena=0x53fb90)
    at ../Python/pythonrun.c:2180
#28 0x00032190 in PyRun_FileExFlags (fp=0x55c700, filename_str=0x76a91880 "/opt/hass-dbg/bin/hass", start=257,
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:
    globals=, locals=, closeit=1, flags=0x7efff4f0) at ../Python/pythonrun.c:2133
#29 0x0002ff0c in PyRun_SimpleFileExFlags (fp=0x55c700, filename=0x76a91880 "/opt/hass-dbg/bin/hass", closeit=1,
    flags=0x7efff4f0) at ../Python/pythonrun.c:1606
#30 0x0002ec90 in PyRun_AnyFileExFlags (fp=0x55c700, filename=0x76a91880 "/opt/hass-dbg/bin/hass", closeit=1,
    flags=0x7efff4f0) at ../Python/pythonrun.c:1292
#31 0x0004c150 in run_file (fp=0x55c700, filename=0x4f5a28 L"/opt/hass-dbg/bin/hass", p_cf=0x7efff4f0)
    at ../Modules/main.c:319
#32 0x0004cf6c in Py_Main (argc=2, argv=0x4f5010) at ../Modules/main.c:751
#33 0x0002847c in main (argc=2, argv=0x7efff754) at ../Modules/python.c:69
(gdb)

@partofthething I find it hard to believe that the change you described started the segfaults. Please make sure you disable components that have a C-dependency like Open Z-Wave, as they can cause Python to segfault too.

@balloob you're likely right. I updated openzwave at roughly the same time as I built out a fresh dev virturalenv. As it turns out, python-openzwave has seen some segfaults in the same recent timeframe, as noted by the commit message of https://github.com/OpenZWave/python-openzwave/commit/a2dd0285212ec44c571e75eaa5cd4ec0732b4765. I rolled back python-openzwave a few more commits and things have been looking good for the last 12 hours or so. If another 12 go by without a crash, I'll consider the problem dealt with. I'll comment here if it crashes again.

Just to add to this, I don't use zwave.

@lwis 😢  we no longer activate the monkey patch for 3.6 but we might have to put it back.
Could you for now try to disable uvloop ?

@balloob if you decide re-enable it, it will need to be altered for 3.6/3.5.3.
I'll disable uvloop for now, I've just cleared dmesg, so I'll report back if I see anymore segfaults.

Ope! I got another segfault even with rolled-back openzwave. Did not have it in debugger this time. So the problem is still here. I can turn off zwave completely but then my whole system is effectively down. Guess it's worth isolating a segfault.
Jan 12 15:58:30 tau hass[26662]: terminate called after throwing an instance of 'std::length_error'
Jan 12 15:58:30 tau hass[26662]: what():  basic_string::_S_create
Jan 12 15:58:30 tau lircd-0.9.0-pre1[513]: removed client
Jan 12 15:58:30 tau systemd[1]<EMAIL_ADDRESS>main process exited, code=killed, status=6/ABRT
Jan 12 15:58:30 tau systemd[1]: Unit<EMAIL_ADDRESS>entered failed state.

Running with the zwave-related theory (even though @lwis isn't using it), I've now noticed that the OZW_Log.txt files do show zwave activity at the moment of the (still continuous) segfaults.
The last messages in the OZW_Log.txt are:
2017-01-15 22:12:08.703 Info, Node004,     Previous value was 424.126W, received 120 seconds ago.
2017-01-15 22:12:08.703 Detail, Node004, Refreshed Value: old value=424.126, new value=424.126, type=decimal
2017-01-15 22:12:08.703 Detail, Node004, Changes to this value are not verified
2017-01-15 22:12:08.703 Detail, Node004, Refreshed Value: old value=120, new value=120, type=int
2017-01-15 22:12:08.704 Detail, Node004, Changes to this value are not verified
2017-01-15 22:12:08.704 Detail, Node004, Notification: ValueChanged

Notably, I am running 2 very similar home-assistant instances. One is on 0.35.3 and the failing one is on 0.36. Both have exactly the same openzwave/cython/python-openzwave code and only the one on 0.36 is failing constantly. (However, the set of devices is different so this isn't a solid case for the issue being in 0.36). I'll see if the openzwave people can see anything in my one zwave backtrace I captured.

[2339643.758144] python[17370]: segfault at 1 ip 00007f72169374dd sp 00007f720e505af0 error 6 in libpython3.6m.so.1.0[7f72167d7000+48f000]
No uvloop, running for less than 3 hours.

I have experienced
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_S_create

twice this week alone.
See my post on the community board: https://community.home-assistant.io/t/unit-home-assistant-service-entered-failed-state/9914

@bk86a aha! I'm not the only one!
I'm almost positive this is related to z-wave for me, and you are also running the same z-stick as I am. Every single time mine crashes (twice a day still), the OZW_Log.txt file shows the same exact sequence of messages related to my Aeotech smart energy switch reporting its power consumption:
2017-01-15 22:12:08.703 Info, Node004,     Previous value was 424.126W, received 120 seconds ago.
2017-01-15 22:12:08.703 Detail, Node004, Refreshed Value: old value=424.126, new value=424.126, type=decimal
2017-01-15 22:12:08.703 Detail, Node004, Changes to this value are not verified
2017-01-15 22:12:08.703 Detail, Node004, Refreshed Value: old value=120, new value=120, type=int
2017-01-15 22:12:08.704 Detail, Node004, Changes to this value are not verified
2017-01-15 22:12:08.704 Detail, Node004, Notification: ValueChanged

Next time you get a crash, copy your OZW_Log.txt for the record and post the bottom page or so https://github.com/OpenZWave/open-zwave/issues/1099 if it looks related.

I did some more gdb investigation and found some more weird stuff.
Thread 16 had a long chain of Python Exception <type 'exceptions.RuntimeError'> Type does not have a target.:  errors as before. I then went through the other threads too. Threads 18 and 19 both were doing some openzwave stuff too:
#0  0x76f86cb0 in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x6f248d3c in OpenZWave::SerialControllerImpl::Read (this=0x732f3ce0)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/SerialControllerImpl.cpp:324
#2  0x6f248738 in OpenZWave::SerialControllerImpl::ReadThreadProc (this=0x732f3ce0, _exitEvent=0x74600af0)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/SerialControllerImpl.cpp:144
#3  0x6f2486fc in OpenZWave::SerialControllerImpl::SerialReadThreadEntryPoint (_exitEvent=0x74600af0,
    _context=0x732f3ce0)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/SerialControllerImpl.cpp:122
#4  0x6f2483e0 in OpenZWave::ThreadImpl::Run (this=0x74600850)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/ThreadImpl.cpp:176
#5  0x6f248390 in OpenZWave::ThreadImpl::ThreadProc (_pArg=0x74600850)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/ThreadImpl.cpp:161
#6  0x76f7ee90 in start_thread (arg=0x6aaff460) at pthread_create.c:311
#7  0x76df7598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92
   from /lib/arm-linux-gnueabihf/libc.so.6

Thread 19:
#0  0x76f83b30 in __pthread_cond_timedwait (cond=0x75017850, mutex=0x75017838, abstime=0x6a2fed10)
    at pthread_cond_timedwait.c:199
#1  0x6f1d05e8 in OpenZWave::EventImpl::Wait (this=0x75017838, _timeout=5000)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/EventImpl.cpp:212
#2  0x6f1ccb34 in OpenZWave::Event::Wait (this=0x750402f0, _timeout=5000)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/Event.cpp:106
#3  0x6f1cb910 in OpenZWave::Wait::Multiple (_objects=0x6a2fed94, _numObjects=1, _timeout=5000)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/Wait.cpp:142
#4  0x6f198318 in OpenZWave::Wait::Single (_object=0x6e346568, _timeout=5000)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/Wait.h:77
#5  0x6f1e102c in OpenZWave::Driver::PollThreadProc (this=0x7324f568, _exitEvent=0x6e346568)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/Driver.cpp:4338
#6  0x6f1e0ab0 in OpenZWave::Driver::PollThreadEntryPoint (_exitEvent=0x6e346568, _context=0x7324f568)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/Driver.cpp:4212
#7  0x6f2483e0 in OpenZWave::ThreadImpl::Run (this=0x6e335540)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/ThreadImpl.cpp:176
#8  0x6f248390 in OpenZWave::ThreadImpl::ThreadProc (_pArg=0x6e335540)
    at /opt/hass-dbg/src/python-openzwave/openzwave/cpp/src/platform/unix/ThreadImpl.cpp:161
#9  0x76f7ee90 in start_thread (arg=0x6a2ff460) at pthread_create.c:311
#10 0x76df7598 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:92
   from /lib/arm-linux-gnueabihf/libc.so.6

I found similar-sounding weird errors in https://github.com/python/asyncio/issues/443, where it was said that

Every time I encountered those suspicious segfaults and weird behavior (AttributeError on an object of the wrong type, etc), it was related to an unsafe use of threads.

and also:

asyncio locks are not intended to be thread-safe.
They are event-loop safe only.
Without looking on full source I have no idea how do you interact between asyncio loop and threaded code but tracebacks are very suspicious.

So, is it possible that somehow we're getting into some unsafe asyncio stuff across threads in an unsafe way in the zwave implementation in home-assistant? Should three threads be doing openzwave stuff at the same time?
As a reminder, my problems started right after #5147 in case that ends up not being a coincidence.

Python Open Z-Wave runs in it's own thread and uses callbacks that use the Home Assistant threaded API. So nothing to do with async.
All services that call into Z-Wave land are also made from threads. There can definitely be some commands ended up executing at the same time because of that.

At least in 2010, it sounded like openzwave logging (and probably other stuff) may not be thread-safe: https://groups.google.com/forum/#!topic/openzwave/rj_SRTfVuuA
Any suggestions on trying to prevent concurrent threaded operations on openzwave? Some kind of locking maybe.

Here's one more bit of info about openzwave and threads:

The Manager Class should be handled as a Singleton, hence, only one instance of it at any one time. If your calling the Manager Class from Different threads, then you need to put controls around your Manager calls to ensure its threadsafe.
[1] https://groups.google.com/forum/#!topic/openzwave/UJFceAz07zE

I'll try to review the code to understand if we do this.

Another update: the most recent two issues that have similar RuntimeErrors: Type does not have a target. in their gdb backtraces did not crash hass. Rather, they froze the frontend (it was just blank and would not refresh). Openzwave log was still rolling fine, pandora music player was working fine, and even home-assistant.log said it was serving http to my client IP, but nothing would come. I scanned around in the threads and found the same corrupt stacks and weird-sounding runtime errors.

I'm not educated enough to make a statement on this, but, since we are using a wrapper (python-openzwave) I believe the first place to look would be in the wrapper?

This should have been resolved now in dependency and HA. Please reopen if issue persist.

Unfortunately I'm still experiencing segfaults.

Closing this as there are other issues to track, and we're aware of the C binding issues.


Use YAML schema for validation

Checking if a yaml file contains the required information should probably be done by creating a yaml schema file.
The checks could then be perfomed using for example this library:
https://github.com/23andMe/Yamale
This would be a much more robust and easy way to perform the checks currently defined in e.g. namelistchecks.py

There is unfortunately no standard for yaml schema files. But I agree that even a non-standard schema format would make it easier to verify the namelist files.


Option to make only one sticker / text / emoji / added view selectable at a time.

The current editor behavior can have multiple stickers / views / text selected at a time (see screenshot).  This is a consequence of having the MultiTouchListener instances not know about each other (one MultiTouchListener is attached to each sticker / view / text).
I have a fix for this, but I'm not sure if this is intended behavior.  My guess is it's not, since a user won't be clicking and moving multiple stickers at the same time.  Additionally, this is not the behavior in PhotoEditorSDK that this project is inspired by.
This also has other consequences, as a lot of my use cases require knowing the "currently selected" sticker / view / text.  Specifically, for https://github.com/burhanrashid52/PhotoEditor/issues/214, I want to make the "currently selected" sticker / view / text not transparent click through, as it's really annoying to the user to click inside the HelperBox and have the sticker / view / text deselected.
TL;DR:

@burhanrashid52 please let me know if having multiple stickers / text / views selected at the same time is intended behavior.
If it isn't, I have a fix.  If it is, let's discuss options for disabling it.

Screenshot illustrating current behavior:

Yes, you are right. This is not the intended behaviour. There should be one selected at a time.
I have got a few questions if you implement this.

How the listener will work when anything is selected/Unselected?
As you mention the click-through logic will not work on the selected view. So this is an assumption for this behaviour and corrects me If am wrong. If we've multiple views overlap and if click on top view then it will get selected and helper box will be visible. But if click on an empty area of the selected view then click through won't work?

How the listener will work when anything is selected/Unselected?

For this, I'm assuming you mean the MultiTouchListener.  I haven't ironed out all the details yet, but here's the general idea:

Every new selection clears all previous selections using clearHelperBox.  We do this by a MultiTouchListener.OnGestureControl to the MultiTouchListener (this may actually already happen).
Clicking on no views (the background) clears all selections.
We track which view is selected by tagging it with a named View tag, or with a Optional we pass to the MultiTouchListener from PhotoEditor.

^^^ For this, I'll just show you in the PR.  I almost have it done.

As you mention the click-through logic will not work on the selected view. So this is an assumption for this behaviour and corrects me If am wrong. If we've multiple views overlap and if click on top view then it will get selected and helper box will be visible. But if click on an empty area of the selected view then click through won't work?

This is correct.  If you click on an empty area, in a selected view, click through will not work and the current selected view will remain selected.  I believe this to be ideal behavior, both from user testing and how PhotoEditorSDK works.

Sounds great!!. Let me know when you are done. I'll review the PR


Payment mgmt: UX design

UX design is here: https://98qkkl.axshare.com/#g=1&p=spa-186-payment_methods_added
Password: ask bill
Was SPA-1106

All tasks to be taken care of by #78.


refactor(generate_assets & generate_static_assets)

Ignore the other 8 commits. I accidentally messed up a bit. Newbie mistakes at using GitHub.

Though files in JavaScript is quite weird. Where do we even specify webkitRelativePath into the File constructor and why does it even exist in first place? Do we need to manually modify it if we need to set the value? But if we tried to just Object.assign + Blob constructor without it, TS will be mad at me.


Create a hooks directory to run sigh lint and sigh check

Makes it easier for developers to have linting and checking performed before git commit.
Adds keyword spacing to our eslint rules.

It's worth mentioning this on the arcs chat too


Feedback Astrid mobile

) sometimes content/page is strangley cropped (see screenshots)
- Can we move the menu icon element a bit further down (e.g. at the hight of the arrow button when menu opened) to give more space to the title?
- the squares below the buttons are still visible
- more padding between the chapters
- if the space is not enough for the title in one line,

I think even if we change the menu positiosn and reduce widths this still will not work in mobile. with such long titles
SHould we just use the sticky-aligned headers on the homepage?
and on the other pages the headlines just stay on the page aligned to the left?


[Text Area] Resolve the "clear-button" discussion

Decision has been made here: https://adevinta.slack.com/archives/C05B0MH7XRC/p1689686106025889
Decision:

No clear button for the TextArea
Trailing element still possible

Next steps:

Update Figma and ZeroHeight documentation.
Ticket: [Documentation] TextArea: Remove the closing indicator from guidelines#1296


Wrap adjoint calls in Matrix

Fixes #55.

Bump! We now have JuliaMath/AbstractFFTs.jl#10 and can I expect to merge this with #58?

Bump!  This broke a downstream package on 0.7 (AuditoryFilters), so it'd be nice to get this sorted soon.

Sorry for letting this languish for so long. Once https://github.com/JuliaLang/METADATA.jl/pull/13833 is merged we should be in better shape here.

Incorporated into #64


Feature/command lines

This is a big branch that implements this milestone
close #76
close #78
close #79
close #80
close #81
close #92

Reviewed by @dgyoshi


Guest dashboard does not have link target option.

I want to let guest user could open link in new tab, but there is no option can choose.  Could you add this feature?
Thank you.

added in dotnet rewrite