Scroll reverser preferences randomly change.

I am on Sierra, 10.12.1.  Using Scroll Reverser 1.7.4.
I usually keep the "reverse trackpad" and "reverse tablet" settings unchecked, as I don't want my trackpad reversed.
But seemingly randomly. I will notice my trackpad scrolling will start reversing, without me doing anything.  Literally scrolling fine on webpages, then click something, then scrolling will be reversed.
When I go to the Scroll Reverser settings, I notice that my preferences for "Reverse Trackpad" and "reverse tablet" have been selected.
Oddly enough, if I click either one of them to un-check them, the other will automatically go unchecked.
This happens several times per day.

Is it possible you have an older copy of Scroll Reverser running at the same time? Two copies running at once could explain this (both trying to use the same preference file).

On 29 Nov 2016, at 06:19, Lynn Dixon<EMAIL_ADDRESS>wrote:
I am on Sierra, 10.12.1. Using Scroll Reverser 1.7.4.
I usually keep the "reverse trackpad" and "reverse tablet" settings unchecked, as I don't want my trackpad reversed.
But seemingly randomly. I will notice my trackpad scrolling will start reversing, without me doing anything. Literally scrolling fine on webpages, then click something, then scrolling will be reversed.
When I go to the Scroll Reverser settings, I notice that my preferences for "Reverse Trackpad" and "reverse tablet" have been selected.
Oddly enough, if I click either one of them to un-check them, the other will automatically go unchecked.
This happens several times per day.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ref: Conversation #5351 / Phoebus

I have verified I am not running two instances or an older copy alongside a newer one.  I completely removed all occurrences of Scroll Reverser from my Mac, rebooted, and installed only the newest version, but I am still seeing these odd problems.

Thank you for your help eliminating this hypothesis.

As an general position on this issue - I have had a look over the code and I cannot see any reason for this to be happening. It does not happen in my own testing. If anyone reading is able to suggest the cause, or a fix, I'm all ears.

Ref: Conversation #5396 / Steffen

Thanks for this awesome app. I wanted to report the same issue. I have the exact issue as mentioned above on Sierra, 10.12.2, using Scroll Reverser 1.7.4. This just happened with me when I opened Chrome browser and suddenly the scroll direction reversed. This has happened many times in the past. I used to go to preferences and uncheck again when that happens. Is there someway to make the preferences read-only or something so that it cant automatically revert it? Or did anyone find any work around?

I would like to appreciate you for this great app first. I wanted to report the same problem on my 15 inch Mid 2012 MacBook Pro, which is running macOS Sierra. Any log files I can provide to help you debug?

If I set my preferences, close the app, and open it, the preferences are as I set them. If I set my preferences, restart my computer, or logout, then login, my preferences are set to the defaults.
I would like Reverse Trackpad and Reverse Tablet unchecked, and Reverse Mouse checked, so that mouses work the way they're supposed to.

My apologies. It is not nearly this consistent. After writing this post, to make sure I wasn't lying, I logged out and back in. My preferences were as I set them. I then restarted, and my preferences were still as I set them. So, I guess I'm in the same boat as everyone else. At some point, I do not know what triggers it, my preferences get reset to default and the next time the app is opened, the preferences are in their default states.

I haven't got any scientific measurements but I feel like this happens every 12-24hrs.
I wonder if there's a scheduled job running that affects the settings?

+1 on this. Getting it at regular internals. I'm on Scroll Reverser 1.7.4, macOS Sierra 10.12.3.

+1
Settings reset to something like a default every so often (every day or two)?

Yes, it started happening much more regularly for me all of a sudden too.
Possibly following some Mac OS update not too long ago.
On Sat., 29 Apr. 2017, 5:08 am bu-ra3y<EMAIL_ADDRESS>wrote:

+1
Settings reset to something like a default every so often (every day or
two)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pilotmoon/Scroll-Reverser/issues/38#issuecomment-298082131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACQILAepiWvzhWokE-7LLQRNAXUnSC42ks5r0jkKgaJpZM4K-m5C
.

This is happening very frequently now. Everyday once or twice I am facing this issue. Suddenly the scroll direction reverses. I am having v1.7.5 on Sierra 10.12.5. Anyone found anyway to modify this default preference selection to something of ours so that even when it is resetting, it will still have the same selection. Any hacks? like replacing some plist file with a modified one inside app?

I released Scroll Reverser 1.7.6 today, which has some changes to preferences handling. At the moment I am unable to reproduce this bug myself, so this is NOT a fix. But it is possible my changes have had some effect. Please let me know if you observe any differences after upgrading to 1.7.6.

Seems like it is still happening (macOS 10.12.4, Scroll Reverser 1.7.6)

Thank you @Cyb3rfr3ak. I have had other reports too.
At this point I have no clue why this is happening. I have gone over every line of code related to preferences, it is all totally standard just like I do it in all my other apps. NSUserDefaults + Cocoa bindings. If anyone can take a look at the code, please do.
For those getting this problem, is it only Scroll Reverser that it happens to or have you seen it with any other apps? Could this be macOS bug?

I'm also seeing this bug still with 1.7.6 on macOS 10.12.4 (16E195).  @invariant, the only thing I've seen like this on Mac is the preferences for custom keyboard shortcuts for Services within the Keyboard preference pane.
I frequently make keyboard shortcuts to run small scripts running with Automator.  The last time I went to make one when I double-clicked to add set the keyboard shortcut, all of my custom shortcuts were erased (unbound, but still listed).  I am not sure that the system uses NSUserDefaults for storage of these kinds of preferences, but it has the same behavior of toggling one setting changing many (as if reloading valid or invalid settings from a different source than when the list was initially rendered).  This behavior is definitely new to macOS with the most recent versions.
At the risk of getting too off-topic, I've also seen a bug on iOS which looks like a problem specifically with NSUserDefaults: many of the apps on my iPhone will suddenly begin launching as if they had never been run before (including built-in apps like Messages).  I'll get apps that I've had for months asking me to allow notifications and showing me tutorials that I've skipped.  To me, it feels like NSUserDefaults for those apps is getting erased or replaced.
So it may be a bug in Foundation as you suspect.

Thanks everyone for allowing me to subtract one from list of reasons I might be crazy.

I can't tell if this is the same bug, but I am also running into similar issues on Sierra 10.12.5 with Scroll Reverser v1.7.5.
In my case, I am only reversing the mouse, but randomly the trackpad will start reversing too. This change does not show up in the preferences, and unchecking and rechecking "Reverse Scrolling" fixes the issue temporarily.

Looks like a lot of others have this issue too, add a +1 from me!

I'm in a bit of a unique position because I currently have two laptops, my older one does not exhibit this behavior (that I have seen), the newer one does.  Both are using 1.7.6.  What can I look at to help track down the problem?  The only obvious difference is the older one is set to auto-update but they are on the same version.
Caveat, I will only have the old laptop (where Scroll Reverser works fine) until Wednesday, so let me know soon what you need from me.

First, thank you for this awesome app.
I also encounter the same issue too, the scroll direction randomly changed. (macOS Sierra version 10.12.5).
When this happened, I have to un-check "Reverse Scrolling" and check again to bring it back.

To open the preferences window you have to click on the menu bar icon first to make it appear.
Every time I've tested (at least 10 times now), it's simply the action of clicking on the menu bar icon that has made it start working again -- even if I don't choose any of the menu items or open the preferences window.
I thought it might be related to restart-from-sleep, but it's happened to me in the middle of working (no sleep involved). Maybe it be mis-detecting a restart and then not initialising correctly? Unfortunately I've not been able to catch it happening while having the Debug Console open.

Are you trying to use scroll reverser in software running as root/admin or with elevated permissions? If so, you need to add Scroll Reverser to the accessibility list for its features to work inside those elevated apps.

I have caught this issue happening right in the middle of scrolling. I'll be scrolling a page, normally like I want it, then in the middle of the scroll it will reverse direction.  Then I check the settings and they've reverted like others have mentioned in this thread.  So clearly something is actively triggering this to happen; it has nothing to do with restarting or sleeping.

Also just randomly happened to me: trackpad scrolling in Chrome became reversed.
Scroll Reverser: 1.7.6
OS X: 10.12.5
Chrome: 58.0.3029.110

I'm using synaptics on ubuntu (so i don't use scroll-reverser nor a mac) and i've to manually re-run my synclient script everytime the change mentioned on this thread happens. and it happens absolutely randomly.
it's just bizarre. I'd thought maybe it's the kernel or something because it'd begun only recently, say since four months or so.

I'm running Sierra 10.12.5 on a 2017 MacBook Pro.  Scroll direction changes on its own, and "tap to click" (which is completely uncontrollable) is activated at times.
It doesn't matter if I have Force Click on or off - the same things happen.  It's also seemingly impossible to select filenames in finder without associated apps being opened about half the time.  I've talked to Apple - they have no solutions and these problems have been the same for almost 2 years based on posts in Apple Communities.

Similar is happening to me and I've noticed that it consistently happens at 11:52 PM every night, and never at any other time. I reset it by disabling/enabling scroll reversing. Hope this helps somewhat.

This has happened to me a couple of times now at 10:55pm.
I'm running Sierra 10.12.6 (16G29) on a 2017 12" Macbook.

I have this same situation as well. I always set the preference to "reverse Mouse" but not "Trackpad". But occasionally (I think mostly in the middle of using chrome?), the trackpad becomes reversed and I would find "Reverse Trackpad" option checked in the preference panel.
I am using:
Scroll Reverser: 1.7.6
macOS Sierra 10.12.6
MacBook Pro 13-inch 2017
This has been a very helpful tool for me,  and hope it can be fixed soon : )

I had this behavior before, too.
For some weeks, I am now running macOS High Sierra 10.13 Beta and it never appeared since. I'd  bet your problems will be gone as well when High Sierra is going to be released next month.

I am also having this issue on OSX 10.12.6.

I'm also having this issue, notice it when waking from sleep sometimes.
Macbook Pro 13" 2016 TB, Sierra 10.12.6
My usual settings are:
[ ] Reverse Trackpad
[✓] Reverse Mouse
[✓] Reverse Tablet
Then it reverts to:
[✓] Reverse Trackpad
[✓] Reverse Mouse
[✓] Reverse Tablet

For what it's worth I too am having this issue. I usually have reverse mouse and tablet selected and not trackpad. Occasionally the preferences will change to all reversed. I'm on Sierra 10.12.6. I haven't detected a pattern or any cause, but I'll try to keep an eye out.

@invariant Any luck on figuring out what is going on?  Or have we chocked this up to an OSX bug with no fix?  Thanks!

I have chalked it up to a OS bug, @Mochnant. I haven't seen any reports of it on 10.13 so far, which is hopeful.

I have the problem on High Sierra.  My Scroll-Reverser preferences are to only reverse scrolling for the mouse and leave the trackpad as-is; however, sometimes when waking from sleep, the trackpad scroll direction is reversed. Clicking the "Scroll Direction Natural" trackpad setting twice will fix it

It seems to happen most frequently for me when waking from sleep, but it does occasionally happen randomly as I'm using my computer normally.

@KyleKing When waking from sleep is the preferences setting actually changing, such that the setting has visibly changed in the prefs window (this issue); or is the preference still showing correctly but Scroll Reverser is not obeying it (issue #40)?

@invariant when waking from sleep all of the preference windows appear correct (scroll-reverser: only mouse & mac trackpad: scroll direction natural is checked), but the trackpad scroll behavior is reversed. I think my problem may be different because toggling the trackpad setting fixes the issue (https://github.com/pilotmoon/Scroll-Reverser/issues/40#issuecomment-336317973).
I haven't had scroll reverser on for about a week and haven't had any issues, but I can keep scroll-reverser running and post any logs when it happens again.
Probably related: my Launchpad/Desktop multi-finger trackpad gestures keep getting deactivated and become unchecked

@markedelman I think that is an unrelated issue. I had something similar happen in the past and fixed it by changing the "Show scroll bars" setting under System Preferences/General to "When scrolling" instead of "Automatically based on mouse or trackpad"

I'd bet your problems will be gone as well when High Sierra is going to be released next month.

Would like to second this; I used to get the bug 2-3 time per week. Since upgrading to High Sierra (a week after release -- around 8 weeks ago now) I haven't had it happen once.

Allowing the app to monitor inputs helped me with this problem on macOS Catalina.

Hi everyone. It looks like most of the action on this issue was from 2017 and I haven't had any recent reports of preferences randomly changing.  I'm going to close the issue now to tidy things up. If you do still have any problems with preference settings not sticing, please report it afresh.


Strategy Room: Enhanced Help/FAQ

Create a built-in help/FAQ for each strategy room page, not just a link to the github wiki
Button toggles the FAQ on/off, default hidden

I wonder who drew that fairy... :smirk:

ah he is on our dev list for a long time, but the image hasn't been used since forever XD

Oh..Okay... Not bad though... :grin:


ServiceEntry.Resolution DNS lookup only ipv4 address

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
envoy is only trying to resolve ipv4 address, so all ipv6 external services can't be reached with resolution.DNS mode.
And according to Envoy documents by default it should be Auto, means first IPv6 and then IPv4.
but i found in istio code, it is specifically set to IPv4 only.
erenqgo@ubuntu:~/go/src/istio.io/istio$ grep "cluster.DnsLookupFamily" * -r
pilot/pkg/networking/core/v1alpha3/cluster.go:          cluster.DnsLookupFamily = apiv2.Cluster_V4_ONLY
Enum Cluster.DnsLookupFamily
[Cluster.DnsLookupFamily proto]
When V4_ONLY is selected, the DNS resolver will only perform a lookup for addresses in the IPv4 family. If V6_ONLY is selected, the DNS resolver will only perform a lookup for addresses in the IPv6 family. If AUTO is specified, the DNS resolver will first perform a lookup for addresses in the IPv6 family and fallback to a lookup for addresses in the IPv4 family. For cluster types other than STRICT_DNS and LOGICAL_DNS, this setting is ignored.
AUTO
(DEFAULT)
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
It should either use envoy Auto mode by default or provide a plilot-agent command line argument to change the mode (considering Auto mode's side effect for ipv4 users)
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

@vadimeisenbergibm Could you please help to revert or improve the fix? https://github.com/istio/istio/pull/5447

This was intentional because we were getting DNS spam for ipv6 in non-ipv6 environments. So I don't think we can just switch it to auto.
Ref https://github.com/istio/istio/issues/13710

@howardjohn yes, you are right, so let's try to provide a plilot-agent command line argument to change the mode by user.

I don't think we would want to add another field to ServiceEntry. Why do you need to configure it in ServiceEntry anyways? My understanding is you would want to use ipv6 cluster wide or ipv6 cluster wide, not per service?

Yes, you are right. Then maybe it is better to set the dns_lookup_family value based on k8s cluster ip version. Will you plan to implement this in near feature ?

Part of https://github.com/istio/istio/issues/1756


CSV Output Changes

Changes to allow column names to be a union of the fields of all the items in a returned object rather than just the first item.

Verified that @sujaygarlanka has signed the CLA. Thanks for the pull request!


Supporting french as base language

Hi everyone,
As part of a school project where I needed a bunch of words in french and their definition (also in french), I forked the project and modified the code to my needs. The code is here : https://github.com/cedric-audy/WiktionaryParser .
Solved I was unable to pull from the repo and use wiktionary as a 'package'. For now, when I need it, I include the whole thing in my project and import WiktionaryParser, which is impractical. However, I had no problem installing the main version using pip. Help would be appreciated on that.
After a bit of tinkering I can now retrieve a definition and etymology (see image), with the help of this code : https://github.com/cedric-audy/french_wiktionary_scraper .

I am fairly new to all this (git, forking, python, etc etc), so help would be appreciated in making a version of WiktionaryParser that works with french as base language.

@cedric-audy the project only supports the English wiktionary as of now since the parts of speech/page structure for each language would be different. Thanks for working on support for French on your fork of the repo! I'll try to integrate other languages in the project after taking a look at that

I was unable to pull from the repo and use wiktionary as a 'package'. For now, when I need it, I include the whole thing in my
project and import WiktionaryParser, which is impractical. However, I had no problem installing the main version using pip. Help > would be appreciated on that.

Could you elaborate on this? Are you unable to use it from source?

I was unable to pull from the repo and use wiktionary as a 'package'. For now, when I need it, I include the whole thing in my
project and import WiktionaryParser, which is impractical. However, I had no problem installing the main version using pip. Help > would be appreciated on that.

Could you elaborate on this? Are you unable to use it from source?

Hi @Suyash458, I was able to use it as if it was a normal python library when I installed it from source using pip. My problem was when I wanted to download my forked version; to use it I had to include the whole project (module? library?) in my directory (french_wiktionary_scraper, with the WiktionaryParser folder in .gitignore). For now I would assume I lack the knowledge to install a random python module in a way that I can use it like any other python-included library (such as math or re). I will try again later today, any link/suggestion is welcome.

I've made some improvements today, we can now retrieve 'nom commun' (definition), 'étymologie', 'synonymes', 'dérivés' (related words?), 'vocabulaire apparenté par le sens' (sense related vocabulary?), 'hyperonymes' (synonyms, but more generic), 'hyponymes' (more specific synonyms, such as bleu d'auvergne for fromage). I still need to do pronunciations.
I really didnt have to change this many things. Maybe french could be integrated into the source code eventually.
Output exemple (using pprint)

@cedric-audy also see PR #56

I too am interested in other langauges - as @Suyash458 points out, one of the problems is that the actual response metadata from Wiktionary changes based on the language queried. (This is why, of course, @cedric-audy you had to change the definitions -- "etymologies" >> "étymologie", etc.)  (Side note: I am very sorry to say that I am a very beginner student of French [my apologies @cedric-audy] - but I am helped that something like 40+% of English vocabulary comes from (Norman) French. That said, I think the proper translation for "determiner" would be déterminant and not "dérivés"  -- I'll open an issue over on your repo @cedric-audy with more to keep it separate.)
I wasn't aware that the Wiktionary/Mediawiki APIs actually change the langauge of the metadata -- that really does complicate things...
I wonder if Wiktionary has a language mapping table already built for internationalization - e.g. something that will lookup the language-local equivalents for the API response structure. Will check that out.

Hi @danieldjewell, thank you for your input, issues were already enabled from what I see, but I added some templates in case it needed that. You are right about the botched translation, I was mainly interested in making it work for a school project. Yes to all of your suggestions, but I dont have time this week for this I am afraid :)

Please see pull request #92 for a possible adaptation of the code.


Shell i get package.xml file Through metadata browser?

Here its showing popup message, but i want package.xml with multi selected components.
Any help would be appreciated.

If you have experience in Sencha coding, you can change that code to generate the package.xml. Its not something i can do easily for you, my Sencha coding skills are quite rusty to say the least. Sorry.


Added main table border styles

@nadav2051 Can you provide at least visual tests to show the result?

Sure, can you instruct me on how to create tests?
On Tue, Mar 17, 2020, 19:10 Jules Sam. Randolph<EMAIL_ADDRESS>wrote:

@nadav2051 https://github.com/nadav2051 Can you provide at least visual
tests to show the result?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jsamr/react-native-render-html-table-bridge/pull/10#issuecomment-600190716,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR6QDEFAD4L3KBTYVXZUJ3RH6VJHANCNFSM4LNNJWSA
.

Oh ; by visual test I just meant an example code and a screenshot of the result!

@nadav2051 Thanks for your participation. I ended up implementing this differently as I decided to reorganize the TableStyleSpecs for release 2.0!

@nadav2051 Thanks for your participation. I ended up implementing this differently as I decided to reorganize the TableStyleSpecs for release 2.0!

Awesome, thank you! Apologies for forgetting to submit the screenshots / example code - it totally slipped my mind

@nadav2051 no worries!

I also added a sketch of different style specs to easily identify which does what, see https://github.com/native-html/table-plugin/blob/master/docs/table-plugin.tablestylespecs.md


Can't install

I can't install betterdiscord anymore. I am running Linux and I've tried with and without --global-asar. Is there any kind of log I can provide?

Yes, the output of the command you're running. Include the -v -v flag for extra verbosity.

With --global-asar
$ betterdiscordctl install --global-asar -b /usr/lib/BetterDiscordApp/ -v -v
VV: Scanning /opt
VV: Trying flavor ''
V: Using Discord at /opt/discord
V: Found modules in /home/anubis/.config/discord/0.0.5/modules
V: Unpacking core asar...
V: Patching core entry...
V: Linking core loader...
Installed. (Restart Discord if necessary.)

Without --global-asar
$ betterdiscordctl install -b /usr/lib/BetterDiscordApp/ -v -v
VV: Scanning /opt
VV: Trying flavor ''
V: Using Discord at /opt/discord
V: Found modules in /home/anubis/.config/discord/0.0.5/modules
V: Unpacking core asar...
Updating asar...
V: Patching core entry...
V: Linking core loader...
Installed. (Restart Discord if necessary.)

On both, when string discord
Error: Cannot find module 'betterdiscord'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (/opt/discord/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/anubis/.config/discord/0.0.5/modules/discord_desktop_core/core/app/mainScreen.js:2:22)
    at Object.<anonymous> (/home/anubis/.config/discord/0.0.5/modules/discord_desktop_core/core/app/mainScreen.js:609:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)

Run reinstall instead of install and post the output if it fails again.

I ran uninstall before installing both but here it goes...
With --global-asar
$ betterdiscordctl install --global-asar -b /usr/lib/BetterDiscordApp/ -v -v
VV: Scanning /opt
VV: Trying flavor ''
V: Using Discord at /opt/discord
V: Found modules in /home/anubis/.config/discord/0.0.5/modules
Killing Discord processes...
V: Removing old core folder.
V: Unpacking core asar...
V: Patching core entry...
V: Linking core loader...
Reinstalled.

Without --global-asar

Is the error still there when you start Discord?

Yes.

Okay, that worked. I cloned it one day ago so it's a bit weird that it wasn't working. Thanks for your help :grin:.

BBD was updated many times yesterday due to a multitude of bugs.


Automatic extension host issue should contain a link to explanation

Refs: #64222
Automatic issue creation should have a link in the issue to our docs or at least release notes where we explain how we auto detect bad extensions by doing profiles.
This way the extension owner will not be puzled and will figure out why his extension got flagged.
The doc should explain how to use the cpu profile and what the extension author should do once he gets an issue like this.

Not sure how much information can be put in there..

I have started this wiki page. @gregvanl please review: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

@jrieken I did an edit pass. Looks good.

Thanks


Add portuguese

Add portuguese language, with verified signature now

@umutxyp

@umutxyp

hey man, I don't know why, but no matter what I do, I couldn't combine the updates with the project. Please create a new pull req and post all updates at once.

#57


Disable top right number and grey bar

Thanks for the great work! I am trying to run the below example.
data(business)
Brewer's Red-White-Grey palette reversed with predefined range
business$employees.growth <- business$employees - business$employees.prev
d3tree3(
treemap(business,
index=c("NACE1", "NACE2"),
vSize="employees",
vColor="employees.growth",
type="manual",
palette="-RdGy",
range=c(-30000,30000))
, rootname="Fictitious Business Data"
)

Was wondering if it is possible to disable the number at the top right

It also overlaps with the triangle pointer when the value gets large and the pointer value is no visible

Please correct me if I am wrong, I believe the grey bar is confidence level. Is it possible to disable it? It is there even if StdErr is not used in Treemap

Appreciate any advice. thanks.

Hi @Nicbecoz I have forked a version of this repo and removed the grey bar. Check it out. I did it for a personal use case, however, yes it would be good for us to put a parameter in which removes the bar.
https://github.com/sada1993/d3treeR

hi @sada1993 Thank you for your response and fork! The number is gone and I see that you have added a "click to go back function" + also tooltip at the bottom of the plot on hover. Nice!
I just have a small problem.

When I run, the legend bar now overlaps the main plot.

Also the grey bar is still there.

I could take a look at this soon. Unfortunately, I personally haven't used type = manual, been working with type = index.

Thanks.
I am just using the same code as mentioned in my initial post. I am running it in rmarkdown.
library('d3treeR')
business$employees.growth <- business$employees - business$employees.prev
d3tree3(
treemap(business,
index=c("NACE1", "NACE2"),
vSize="employees",
vColor="employees.growth",
type="manual",
palette="-RdGy",
range=c(-30000,30000))
, rootname="Fictitious Business Data"
)


Xcode archive resulting in error

This issue just started happening this morning, but when I would go to archive my project, I'm getting a File/Program node, we can't possibly find a statement parent to this.
I think it has something to do with Babel, but I thought I would throw it out there to see if anyone else has had the same issue. Full stack trace below:
MyApp-gsdfmybbuzoatuadyudywvrhynvn/Build/Intermediates/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/MyApp.app
[9:25:38 AM] <START> Building Dependency Graph
[9:25:38 AM] <START> Crawling File System
[9:25:39 AM] <START> find dependencies
[9:25:45 AM] <END>   Crawling File System (7213ms)
[9:25:45 AM] <START> Building in-memory fs for JavaScript
[9:25:45 AM] <END>   Building in-memory fs for JavaScript (254ms)
[9:25:45 AM] <START> Building in-memory fs for Assets
[9:25:45 AM] <END>   Building in-memory fs for Assets (155ms)
[9:25:45 AM] <START> Building Haste Map
[9:25:46 AM] <START> Building (deprecated) Asset Map
[9:25:46 AM] <END>   Building (deprecated) Asset Map (69ms)
[9:25:46 AM] <END>   Building Haste Map (474ms)
[9:25:46 AM] <END>   Building Dependency Graph (8154ms)

/Users/johndoe/code/work/MyApp/node_modules/promise/lib/done.js:10
      throw err;
      ^
Error: /Users/johndoe/code/work/MyApp/node_modules/react-native-webview-bridge/webview-bridge/index.ios.js: File/Program node, we can't possibly find a statement parent to this
    at NodePath.getStatementParent (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/path/family.js:43:11)
    at PathHoister.getAttachmentPath (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/path/lib/hoister.js:118:26)
    at PathHoister.run (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/path/lib/hoister.js:171:25)
    at NodePath.hoist (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/path/modification.js:292:18)
    at PluginPass.JSXElement (/Users/johndoe/code/work/MyApp/node_modules/babel-plugin-transform-react-constant-elements/lib/index.js:39:16)
    at newFn (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/visitors.js:301:19)
    at NodePath._call (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/path/context.js:76:18)
    at NodePath.call (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/path/context.js:48:17)
    at NodePath.visit (/Users/johndoe/code/work/MyApp/node_modules/babel-traverse/lib/path/context.js:106:12)
TransformError: /Users/johndoe/code/work/MyApp/node_modules/react-native-webview-bridge/webview-bridge/index.ios.js: /Users/johndoe/code/work/MyApp/node_modules/react-native-webview-bridge/webview-bridge/index.ios.js: File/Program node, we can't possibly find a statement parent to this
Command /bin/sh failed with exit code 1

Did you try to remove transform-react-constant-elements from your plugins?


GH-39582: [C++][Acero] Increase size of Acero TempStack

We have had problems for a long time with a specific batch job that combines data from different sources. There is something in the data causing an Acero execution plan to hang or crash at random. The problem has been reproduced since Arrow 11.0.0, originally in Ruby, but it has also in Python. There is unfortunately no test case that reliably reproduces the issue in a release build.
However, in a debug build we can see that the batch job causes an overflow on the temp stack in arrow/cpp/src/arrow/compute/util.cc:38. Increasing the size of the stack created in the Acero QueryContext works around the issue, but a real fix should be investigated separately.
This PR contains a "Critical Fix".

Closes: #39582

Hmm, this temp stack is only (I think) used in the hash-join.  It's basically a stack allocator.  Allocations made on the allocator should be RAII guarded to release when they finish.  So either there is a bug and these are leaking somehow (I feel like this would be more reproducible) or maybe some of these stack variables are being help across a future boundary and that's causing some re-entrancy which causes the stack to run out of space (I like this explanation because it seems like it's environment specific and threading issues can often be environment statistic).  Or, maybe it's only caused by certain input data?
Either way, this stack doesn't take up very much memory in the grand scheme of things.  I don't think there is much harm in increasing this value.

Thanks for reviewing this!
OK. Let's merge this for now. Let's investigating this later. (I hope that this can be reproducible on my environment...)
@stenlarsson Could you update the PR description to describe this problem more deeper like the associated issue, this is not a real fix and we should investigate/fix this later before we merge this? We will use the PR title and description for commit message.

Regardless of this, can we please check for stack overflows instead of letting them hang the process?

Ah, it's a good idea.
We can work on it in this PR or a separated PR.

I have updated the description.
It is unfortunately that you cannot reproduce the issue, because in a debug build the assertion fails reliably every time on my computer.

We can work on it in this PR or a separated PR.

Let's do it in this PR?

Another issue of crash caused by this stack overflow has been reported in #39951.

Regardless of this, can we please check for stack overflows instead of letting them hang the process?

What exactly should happen in case of a stack overflow?

A regular error if possible, or at least a controlled abort rather than memory corruption.

Returning an error status is not an option since the TempVectorStack::alloc function is used in the TempVectorHolder constructor, so I decided to throw an std::runtime_error exception. I couldn't find any examples of throwing exceptions in the compute module, so please let me know if there is a better way abort.

You could either create a static constructor:
template <typename T>
class TempVectorHolder {
  friend class TempVectorStack;

 public:
  static Result<TempVectorHolder> Make(TempVectorStack* stack, uint32_t num_elements) {
    TempVectorHolder holder{stack, nullptr, 0, num_elements};
    ARROW_RETURN_NOT_OK(stack->alloc(num_elements * sizeof(T), &holder.data_, &holder.id_));
    return holder;
  }

or, conversely, move the typed allocation API into TempVectorStack:
class ARROW_EXPORT TempVectorStack {
  template <typename>
  friend class TempVectorHolder;

 public:
  template <typename T>
  Result<TempVectorHolder<T>> AllocateVector(uint32_t num_elements) {
    TempVectorHolder holder{this, nullptr, 0, num_elements};
    ARROW_RETURN_NOT_OK(alloc(num_elements * sizeof(T), &holder.data_, &holder.id_));
    return holder;
  }

Can you really return a TempVectorHolder like that? I think that is beyond my limited C++ skills unfortunately.

It's probably possible, yes.

If I understand this correctly, the purpose of the TempVectorHolder is to release the memory in the destructor, as if the vector was allocated on the stack. How can you return such an object?

By defining a move constructor and assignment operator, like this:
template <typename T>
class TempVectorHolder {
  friend class TempVectorStack;

 public:
  ~TempVectorHolder() {
    if (stack_) {
      stack_->release(id_, num_elements_ * sizeof(T));
    }
  }
  TempVectorHolder& operator=(TempVectorHolder&& other) {
    stack_ = other.stack_;
    other.stack_ = NULLPTR;
    data_ = other.data_;
    other.data_ = NULLPTR;
    id_ = other.id_;
    num_elements_ = other.num_elements_;
    return *this;
  }
  TempVectorHolder(TempVectorHolder&& other) {
    *this = std::move(other);
  }

  T* mutable_data() { return reinterpret_cast<T*>(data_); }

 private:
  TempVectorStack* stack_ = NULLPTR;
  uint8_t* data_;
  int id_;
  uint32_t num_elements_;
};

I tried to implement this, but it is unfortunately beyond my abilities. If the TempVectorHolder returns a status, so does every method using it, and all methods using those methods, and so on. It is a huge change, and I got lost along the way.
Raising an exception will have to do.

@github-actions crossbow submit -g cpp

I'd post a non-binding +1.

Thank you @zanmato1984 !


[functions] Add log level in a property for log topic

Motivation
By default, in a function, the messages in the log topic only contain the raw message of the log, we loose the log level. The consumer of this topic could be interested by this information.
Modifications
Change the LogAppender class by adding a property "loglevel" to the messages sent in the log topic.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): no
The public API: no
The schema: no
The default values of configurations: no
The wire protocol: no
The rest endpoints: no
The admin cli options: no
Anything that affects deployment: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

run integration tests
run java8 tests

is there a way to restart tests that have failed in local ?


[9.x] Improved check on long Blade strings

Further improvement of #41956, as commented in #32254.
The full concatenation of a Component's Blade string AND the Views' folder path must be considered to avoid that a string longer than PHP_MAXPATHLEN characters arrives to Filesystem::exists(), triggering an error like File name is longer than the maximum allowed path length on this platform.

No plans to make further changes here.


How to get Prometheus format for /cluster in administration interface

Title: Prometheus format for /cluster in administration interface
Description:

In administration interface,I can only get the metric format as below:

JSON format:

But I need the prometheus format,how can I deal with it?
PS:I know "/stats/prometheus" can provide the prometheus format.

[optional Relevant Links:]

Other people met the same problem except me.
see https://github.com/envoyproxy/envoy/issues/12436

Looking forward to the reply!!! Thank you~

PS: I know "/stats/prometheus" can provide the prometheus format.

Sorry, I confused a bit. What is stopping you to use /stats/prometheus?

PS: I know "/stats/prometheus" can provide the prometheus format.

Sorry, I confused a bit. What is stopping you to use /stats/prometheus?

I want the metrics of prometheus format on each upstream host, these are in /clusters not in /stats/prometheus.

Got it. So currently per upstream host stats is not included in server_.stats(),
https://github.com/envoyproxy/envoy/blob/07f7c59a4e0a8892a2e2fc3443b2ae47ccb33ff2/source/server/admin/stats_handler.cc#L148
but rather "generated" on-the-fly by (for JSON)
https://github.com/envoyproxy/envoy/blob/07f7c59a4e0a8892a2e2fc3443b2ae47ccb33ff2/source/server/admin/clusters_handler.cc#L72 or (for text) https://github.com/envoyproxy/envoy/blob/07f7c59a4e0a8892a2e2fc3443b2ae47ccb33ff2/source/server/admin/clusters_handler.cc#L150
I think we need to consult this to @jmarantz. Should this be included in server_.stats() or we can extract the logic on getting per upstream host stats and append that to Prometheus output?

I am guessing that the cardinality of hosts is so large in some cases, that we don't want to include all of the individual host stats in the main stats output, but require stats clients to request them explicitly. This design predates my involvement and I'm not inclined to change it as it might break current stats clients by overwhelming them with data.

@jmarantz Got it. So seems like from https://github.com/envoyproxy/envoy/issues/12436 the request is to have, for example: /clusters/prometheus or /clusters?format=prometheus. I think it makes sense, and as you said it is up to the client to decide.

I'm not sure if this is a good practice to have two different endpoints for prom. Seeking for opinion: cc. @rumanzo @liamawhite @mandarjog

RE scale, there was a talk at KubeCon 2019 by Splunk about stats cardinality blowing through hundreds of gigs of memory in Prometheus (slides) and the source of the stats explosion was Envoy (via Istio). So we need to be a little careful about silently and significantly expanding the cardinality of prometheus output.

Yeah I think we definitely do not want to output host stats by default due to cardinality issues. Somehow having an option to do this whether on a different endpoint or the same one seems ok.

Since /cluster has enumerated endpoints, it should surely not be by default.
I think we should add "format=Prometheus" to all /admin endpoints uniformly where it makes sense.
We have started scraping /memory endpoint recently in Istio.

Did the request comes alive? I could not see any PR linked


Added htop and powertop to System Utilities

For process and power monitoring.

Will be manually merged in to maintain alphabetical order. Your contribution will still be credited to you.

Merged in b4d050698b62b044faf791ce6ba857a7e657df04. Thanks for your contribution!

Sorry, should've kept that in mind.


ref_metric inflation in 1.8.3

For some reason or another 1.8.3 calculates a wrong ref_metric, at least on default routes,
but I haven't checked further. For that matter, so does 1.7.1,
but the two behaviors are different and 1.7.1 "works" where 1.8.3 gets it wrong. I kind of suspect
a parsing error or memory corruption somewhere.
For a default route...
The ref_metric I get for 1.7.1 with an advertised 0, is 256.
The ref_metric I get for 1.8.3 with one default route on the link is 0. Add another link to it though, it goes up to a much larger number.

so when I first get the thing, I get a ref_metric of 0. Later on, I see txcost going up, for no reason I know of.... I thought this was a fixed number.... then ref_metric goes up....
so how did I end up with a txcost of 256 here? It's a wired network on a bridge. Perhaps misdetected?
I'm beginning to vaguely remember something about this sort of asymmetry that happened once.
add neighbour 2390e30 address fe80::f6f2:6dff:feb6:a01c if eno1 reach ffff ureach 0000 rxcost 96 txcost 256 rtt 3.046 rttcost 0 cost 256
add neighbour 2390f90 address fe80::230:18ff:fec9:de9c if eno1 reach ffff ureach 0000 rxcost 96 txcost 96 cost 96
add neighbour 2390ef0 address fe80::46d9:e7ff:fe93:822e if eno1 reach ffff ureach 0000 rxcost 96 txcost 96 rtt 0.606 rttcost 0 cost 96
add neighbour 2390e30 address fe80::f6f2:6dff:feb6:a01c if eno1 reach ffff ureach 0000 rxcost 96 txcost 258 rtt 15.323 rttcost 0 cost 258
add neighbour 2390f90 address fe80::230:18ff:fec9:de9c if eno1 reach ffff ureach 0000 rxcost 96 txcost 96 cost 96
add neighbour 2390ef0 address fe80::46d9:e7ff:fe93:822e if eno1 reach ffff ureach 0000 rxcost 96 txcost 96 rtt 0.664 rttcost 0 cost 96

so things look ok with 1.8.3


wip: need to render images within working directory

I'm new to rust and I really like this project.
I'm trying to render images using typst so tempdir wont work in my usecase.
Upside of my PR:

able to render image using:

    ``` typest +render
    image("imagehererelativetocurrentfile.png")
    ```

Downside:

Creates temporary typst files in the current working directory.

Does using
![]("imagehererelativetocurrentfile.png")

Not work? Or are you trying to use an image within typst somehow? I see the issue, I'm just curious of how you're using this..

This is what my slide currently looks like:
# Introduction on MBTI: 16 Personalities
<!-- new_lines: 2 -->
 2  x  2  x  2  x  2  =  16
<!-- new_lines: 1 -->
I/E   N/S   T/F   J/P

<!-- pause -->
<!-- column_layout: [1, 1] -->

<!-- column: 0 -->

    ```typst +render
    #set text(font: "JetBrainsMono NF")
    #scale(100%, reflow: false)[
    #table(
      columns: 3,
      stroke: none,
      align: horizon,
      inset: (
        x: 20pt,
        y: 10pt
      ),
      image("Intj.png", width:70pt), [INTJ], [Architect],
      image("Intp.png", width:50pt), [INTP], [Logician],
      image("infj.png", width:50pt), [INFJ], [Advocate],
      image("infp.png", width:50pt), [INFP], [Mediator],
      image("istp.png", width:50pt), [ISTP], [Virtuoso],
      image("istj.png", width:50pt), [ISTJ], [Logistician],
      image("isfp.png", width:50pt), [ISFP], [Adventurer],
      image("isfj.png", width:50pt), [ISFJ], [Defender],
      )
    ]
    ```

<!-- column: 1 -->
    ```typst +render
    #set text(font: "JetBrainsMono NF")
    #scale(100%, reflow: false)[
    #table(
      columns: 3,
      stroke: none,
      align: horizon,
      inset: (
        x: 20pt,
        y: 10pt
      ),
      image("entj.png", width:60pt), [ENTJ], [Commander],
      image("entp.png", width:60pt), [ENTP], [Debater],
      image("enfj.png", width:60pt), [ENFJ], [Protagonist],
      image("enfp.png", width:60pt), [ENFP], [Campaigner],
      image("estp.png", width:60pt), [ESTP], [Entrepreneur],
      image("estj.png", width:60pt), [ESTJ], [Executive],
      image("esfp.png", width:60pt), [ESFP], [Entertainer],
      image("esfj.png", width:60pt), [ESFJ], [Consul],
    )]
    ```

<!-- column_layout: [1] -->
<!-- column: 0 -->
Back to 0
<!-- end_slide -->

and this is what it looks like:

I just created #235 which addresses this. Can you try out the branch and see if it works for you? Do read the description in the PR. TL;DR; in your example you need to use change your paths to be absolute like
...
image("/entj.png", width:60pt), [ENTJ], [Commander],
image("/entp.png", width:60pt), [ENTP], [Debater],
...
``

Your PR works for me!

Closing in favor of #235.


configurable slack enable configuration

Basically, only must have configuration is openai api key, others are all configurable, which means missing other configurations should not block the service starting.

fixed by https://github.com/shiliangcao/chat-assistant/commit/0292cc3154eb1c22ed8243a83546af1c750cc5b9


TableBlock localization error

Issue Summary
After the 2.6.1 update if I insert a TableBlock into any StreamField, I get a JS error message on the admin:

handsontable-6.2.2.full.min.js:29 Language with code "hu" was not found. You should register particular language before using it. Read more about this issue at: https://docs.handsontable.com/i18n/missing-language-code.

Using Hungarian locale.
UPDATE
The error below is independent of the localization - I was able to reproduce it using a new wagtail site with English locale:
table.js:95 Uncaught ReferenceError: isInitialized is not defined
    at t.default.initEvent (table.js:95)
    at e.value (handsontable-6.2.2.full.min.js:29)
    at t.default.runHooks (handsontable-6.2.2.full.min.js:29)
    at t.default.init (handsontable-6.2.2.full.min.js:29)
    at new H (handsontable-6.2.2.full.min.js:29)
    at initTable (table.js:139)
    at (index):5124

Normally an error printed on the console is not a serious problem but it causes wagtail-react-streamfield to fail.
Steps to reproduce

start a new wagtail project
add "wagtail.contrib.table_block" to INSTALLED_APPS
Create a page class with a streamfield, and add a TableBlock to the available blocks
Edit an instance, and check the js console in Chrome

Hi @roodie,
I'm unable to reproduce this as described on a clean install of Wagtail 2.6.1. Did you make sure to clear the browser cache / force-refresh the page? The line numbers given for table.js in the error message don't seem to match up with the file as it exists in Wagtail 2.6.1, which makes me suspect that you have a customised version of that file cached in your browser.
For reference, I tested using the following page model in home/models.py:
from django.db import models

from wagtail.core.models import Page

from wagtail.core.fields import StreamField
from wagtail.admin.edit_handlers import FieldPanel, StreamFieldPanel
from wagtail.contrib.table_block.blocks import TableBlock

class HomePage(Page):
    body = StreamField([
        ('table', TableBlock()),
    ], blank=True, null=True)

    content_panels = Page.content_panels + [
        StreamFieldPanel('body'),
    ]

Hey,
I will double check. I did not have a customized version installed; also you must set the default locale to 'hu_HU' to see the error itself. Works just fine with english.

OK, I'm seeing the "Language with code "hu" was not found" message when I set LANGUAGE_CODE to 'hu-HU'.
I'm not getting the "isInitialized is not defined" error at all, and you mentioned that this could be reproduced with English locale - is the UPDATE section of your report not accurate, then?

That must have been some cache problem as you guessed - sorry about that. I've tried every trick to make Chrome forget the static files, but it seems it still kept some.

Proposed fix:

Ship the language files from https://github.com/handsontable/handsontable/tree/master/languages in static/table_block/js/vendor/
Update TableBlock to check whether the language passed in table_options or translation.get_language() is included on this list
If so, include the relevant language file in the output of TableBlock.media
If not, revert the language to en-US


Visiting http://readme.md/ redirected me here

Some wysiwyg editors today auto-links xxx.yyy and that's the reason why I was brought here (Gmail in my case).
I just thought that it would be very cool if it instead redirects you to a random readme page in Github.

Wait, why does this happen?

http://blog.echonest.com/post/9332881544/new-pyechonest-on-github-at


[AutoPR sql/resource-manager] Add Swagger documention for UpgradeDataWarehouse API

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2426

(message created by the CI based on PR content)

Codecov Report

Merging #2139 into restapi_auto_sql/resource-manager will decrease coverage by <.01%.
The diff coverage is 10.71%.

@@                          Coverage Diff                          @@
##           restapi_auto_sql/resource-manager    #2139      +/-   ##
=====================================================================
- Coverage                              53.03%   53.02%   -0.01%
=====================================================================
  Files                                   4781     4781
  Lines                                 120202   120230      +28
=====================================================================
+ Hits                                   63748    63751       +3
- Misses                                 56454    56479      +25

Impacted Files
Coverage Δ

.../azure/mgmt/sql/operations/databases_operations.py
29.12% <10.71%> (-1.12%)
:arrow_down:

Continue to review full report at Codecov.

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


Correctly remove Index.Group from IndexRegistry

The Index.Group was being left in the list indexGroups in the SecondaryIndexManager because the incorrect key was being used to remove it from the map
patch by Mike Adamson; reviewed by  for CASSANDRA-18905
Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

Committed as https://github.com/apache/cassandra/commit/e45c1092f91edd63591f562b2120ea6a5fd3edd5


#556  QA -receive - faq

What would you like to be added:
Acceptance Criteria:  Verify receive faq content
Android:

[ ]  Balance > Receive  > click ? > Verify FAQ content

iOS:

[ ]  Balance > Receive  > click ? > Verify FAQ content

Related: #556


action name issues

coalescing here
https://github.com/lolopinto/ent/issues/177
https://github.com/lolopinto/ent/issues/127
https://github.com/lolopinto/ent/issues/86
shouldn't have to provide all 3. maybe change CreateFooAction, EditFooAction to FooCreateAction, FooEditAction etc so we're consistent and can just provide one field that generates all 3 (actionName, graphqlName, inputName)

related: https://github.com/lolopinto/ent/pull/819
affected mutation names and input names


fix: vue2.7 SFC compiler.parse error

close #765

I think we should use vue's semantic version to check whether vue is vue2.7 | vue3 | vue2.
VueTemplateCompilerV2_7 & isVueTemplateCompilerV2_7OrV3 & isVueTemplateCompilerV2 cannot be able to a safely check vue versions.
From: https://github.com/vuejs/vue/issues/12679#issuecomment-1189778234

Feel free to change that. This would not prevent this issue from happening - they introduced breaking change to their API without a major bump ;)

I don‘t know why e2e was fail on github action
it works well on my mac.

ohh, There is so many lock file changes,may i append all lock file changes?

Yes, the locks file in git is not a great DX - that's why I changed it in the v7. You can commit these lock files.

Hi, I've noticed also the missing type-checks for<EMAIL_ADDRESS>which is unfortunate because the prod-build is not stopping anymore if there are any type errors. Is this PR going to be merged soon-ish?

Thanks @iceprosurface for the PR! I've been trying to figure out this bug all morning.
While we're waiting for this to get merged, has anyone figured out a workaround?

I'm dropping support for Vue.js - there is no clean API in TypeScript to support it and I don't have time to maintain it as current workaround is hacky and buggy :/


ingress: add docs on PathType and IngressClass features

PR for two new features in Ingress API
Related: kubernetes/enhancements#1453

/milestone 1.18

/sig network

@cmluciano would you like help documenting IngressClass and / or PathType?

Also
/hold
pending merge of https://github.com/kubernetes/kubernetes/pull/88509

It looks like https://kubernetes.io/docs/reference/kubernetes-api/labels-annotations-taints/ should also list ingressclass.kubernetes.io/is-default-class; is that right?

It's possibly also worth mentioning kubernetes.io/ingress.class as a deprecated annotation.

/assign

@sftim I think we should be ok since this is only a placeholder. We are working hard to get all PRs merged and then will concentrate on the docs.

@sftim I've added some initial content around PathType and IngressClass if you have time to take a look. Still planning to add content covering the final related PR here once it's merged: https://github.com/kubernetes/kubernetes/pull/88775

@cmluciano are you able to update the PR description now this is no longer looking like a placeholder?

👋 Please rebase this PR on dev-1.18 in order to avoid merge conflicts.
Feel free to /hold cancel after you've rebased.
/hold

The Markdown and test looks OK to me. @cmluciano can you rebase this against dev-1.18?

Done

@cmluciano and @sftim Thanks for the great feedback! I've updated this PR to include the changes related to backends. I'm not quite sure my changes describe things properly. Would appreciate another look whenever you have time.

@robscott if you already rebased and are happy that https://github.com/kubernetes/kubernetes/pull/88509 plus any other related code PRs are merged, you can /unhold this

/hold cancel

/assign @bradtopol

/lgtm

Hi @cmluciano
We are very close to the docs final deadline i.e All 1.18 enhancements docs should be in ready to merge state by Monday 16th March. Please make sure to complete all the docs reviews before the deadline.
Thanks!

@VineethReddy02 I believe this is good to go. We just need a PR approval at this point, can you help with that?

/assign

/lgtm
/approve


Fix Node DNS TXT record parsing regression

Recent versions of Node have this issue https://github.com/nodejs/node/issues/52053 that prevent them from properly parsing the TXT records used by Eureka to resolve hosts.

Sorry, wrong target repo ;) Closing

@malaporte if this isn't the right target repo, then please can you let us know which is the right one?

This was the right repo : https://github.com/coveord/eureka-js-client
It's our own fork of the lib that has some changes to get it to work with recent Spring Boot - it's likely not suitable for anyone else.
In other words, it was a PR targeting the same repo it's from - I clicked the wrong option or something when submitting it.


RefCountCancelable has unclear API documentation

Update the documentation on RefCountCancelable. In response to issue #85.

Fixed.


Feature normalization

Feature extractors should not be responsible for data normalization. We need to add feature normalization as a separate step in the pipeline.

@michaelivonin It works, thank you! Closing as done.


zoom shelled?

why zoom shell the text? also in the demo

Hi, I'm sorry i don't understand the issue, could you please give me more
details? thanks
On Wed, Sep 30, 2015, 7:34 PM MichaelBosello<EMAIL_ADDRESS>wrote:

why zoom shell the text? also in the demo
—
Reply to this email directly or view it on GitHub
https://github.com/loicminghetti/touchpdf/issues/2.

thanks you for reply,
the first one is pdf with touchpdf, the second one is with adobe reader

You are right, there is something wrong with the quality of pdf pages being loaded. I will fix this soon. Meanwhile, you can try to adjust the pdfScale option, let me know if it can works for you.
$(function() {
  $("#myPDF").pdf( { source: "yourfile.pdf", pdfScale : 2 } );
});

I would like to use touchpdf for my company, but MichaelBosello is right, the pdf's are not really sharp. Is it possible to fix this problem?

Hi, thanks for the reminder, v0.4 now fixes the pdf quality issue when zooming


Feature request: mail function

Currently, I see no way to handle mailing within xtemplate. And I don't think any ambitious web site or app should avoid this nowadays. So I'm sharing my thoughts about it below. Please, let me know what you think.

configuration: as the mailing able Caddy security module is very likely to be used with a user-centric xtemplate app, the smtp configuration should be share between the two modules (using snippet), so the configuration expected by xtemplate for this should use the same format as Caddy Security,
a directive should be added to this configuration to handle mail templates directory (supporting T10N?)
2 new functions mail and mailWithTemplate should be added that should be used in templates (but not mail templates).

This is a great idea!
I'm currently refactoring the dot context system to allow for start-time configuration of the dot value {{ . }}. This will unify the files context and db items so they are more configurable (including disabling entirely, or having more than one of each with different configurations), and will also allow for easier extensibility by importing a package that adds new functionality to the dot value. This is where I think mail functionality would fit best.
As for the Caddy integration, reusing the same configuration format as Caddy Security seems very reasonable. Caddy Security may be a good place to draw ideas for implementation as well.

Great ! Please, let me know how you progress on this!

I have an update on the new dot value system.
Initially my plan was to use the reflect package to create a new struct at start time with (optionally) embedded fields configured by the user. This would give a nice UX where users could call methods on any of the embedded members directly, or prefix with the field name if ambiguous.
It turns out Go has very little support for creating structs with embedded members at start time. Here's some playground examples that show a few variations of what I tried:

https://go.dev/play/p/CvHP9dJOGbc
https://go.dev/play/p/EeWhO0_wljU
https://go.dev/play/p/XRayDQjxwMl

This is a bit disappointing for me, and while its tempting to start yak shaving and submit implementation ideas on the upstream issue, for the sake of xtemplate it's probably best to accept that embedded fields are not feasible and just proceed with named fields. This hits the UX a bit, since all of the methods would have to be prefixed with their field name, but it's a small price to pay when the alternatives are "no user customization" and "wait until an issue from 2016 is fixed by the language". (And honestly there may be a clarity argument as well, since embedded fields are a moderately advanced Go feature.)
Long story short, if Go adds support for runtime embedded field methods then we'll have some options open to us in the future; until then I have a solid plan and a decent start at an implementation for xtemplate.


Can I export ReactQuill value?

I tried to export the value of the editor with jsPDF but it doesn't looks pretty.
How can I export the value to PDF ?

I don't have much experience with ReactQuill but how much I explored it, it adds the only styling we apply in the editor and doesn't add any additional style when you want to display it somewhere else.
Since you took the value out and exported it to some other tool. In this case if you want to add styles (like adding page margins, header/footer, pagination) you have to apply it separately according to your use-case.


Fixing failing tests

PTL
how-to-guides/how-it-works/scripts
how-to-guides/monitor-ml-runs/scripts

@kamil-kaczmarek no action is needed at the moment here. This is still in progress, I'm just running the tests to analyze them and see if my tests take any effect.

@kamil-kaczmarek, all tests are passing!
You can review it.
Notes:
I fixed all issues. Most were about downgrading the versions of the libraries because I noticed that some errors said that the specified higher version of the library doesn't exist while it exists.
Example:
ERROR: No matching distribution found for tensorflow==2.7.2
Proof of that exists in Pypi: https://pypi.org/project/tensorflow/2.7.2/
I did some research and saw that it could be related to the Python version of the machine. In our case, we are using v3.6, while TF 2.7.2 might require v3.7+.
https://github.com/tensorflow/tensorflow/issues/53709#issuecomment-1015816806
Finally, I also found out that the dependabot is the culprit of most of the issues, as it updates the dependencies from tested versions to higher ones without considering Python version support.
Example:
PR https://github.com/neptune-ai/examples/pull/91

@Blaizzy
I dropped support for Python 3.6, trying to revert TF to 2.7.1


SKU error on creation of workspace linked to cluster

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command
az monitor log-analytics workspace create
Describe the bug
After a workspace has been linked to a dedicated LA Cluster which has a cluster level commitment tier. That workspace can be deleted and created again however during recreation of the workspace there is an error.
{"code":"DeploymentFailed","details":[{"code":"BadRequest","message":"sku.name can not be changed while workspace is linked to cluster"}]}
In the Azure Portal, In the Resource Group -> Deployments blade it then shows that the deployment Failed
However the workspace does in fact create and appears up a few moments later with its SKU as the expected cluster level commitment tier.
To Reproduce

Link Workspace to Cluster with Cluster Level Commitment Tier that will be inherited by workspaces
Delete Workspace
Create Workspace and receive error

Expected behavior
Warning that SKU could not be changed as there is an existing Cluster Workspace link. Also that the Deployment does not show as failed.
Environment summary
Task         : Azure CLI
Description  : Run Azure CLI commands against an Azure subscription in a PowerShell Core/Shell script when running on Linux agent or PowerShell/PowerShell Core/Batch script when running on Windows agent.
Version      : 2.208.0

@kairu-ms for awareness

It's because you delete workspace in soft-delete. You can add --force in delete workspace commands.

Thanks, I tested force and you are right. I was wrong in thinking it was because of the cluster link operation.
It does indeed create the workspace again with pergb2018. Does this mean that the 'limit of two link operations ' resets for the workspace ?


Adding classical logic

Codecov Report

Merging #8 (1de03b9) into main (6192d98) will increase coverage by 0.30%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   77.03%   77.33%   +0.30%
==========================================
  Files          19       20       +1
  Lines        1093     1090       -3
  Branches      122      122
==========================================
+ Hits          842      843       +1
+ Misses        129      125       -4
  Partials      122      122

Impacted Files
Coverage Δ

src/AutoProof/Internal/AST.hs
86.95% <ø> (ø)

src/AutoProof/Internal/Formula/Operations.hs
100.00% <ø> (ø)

src/AutoProof/Internal/Formula/Types.hs
94.44% <ø> (ø)

src/AutoProof/Internal/Judgement.hs
96.00% <ø> (ø)

src/AutoProof/Internal/Parser.hs
87.50% <ø> (ø)

src/AutoProof/Internal/Proof/Structural.hs
72.50% <ø> (ø)

src/AutoProof/Internal/Proof/Types.hs
86.20% <ø> (ø)

src/AutoProof/Internal/Utils/DList.hs
100.00% <ø> (ø)

src/AutoProof/Internal/Utils/Parser/Char.hs
87.50% <ø> (ø)

src/AutoProof/Internal/Utils/Parser/Combinator.hs
91.66% <ø> (ø)

... and 29 more

Continue to review full report at Codecov.

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


[Bug][Module Name][V1.0.0-Alpha] The scale of the table on the task instance page is out of balance.

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
The scale of the table on the task instance page is out of balance.
How to reproduce
Adjust the scale of the table.
Anything else
No response
Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will fix it.


impl PartialEq for Vec> and 'str, str, String

Getting a value from Headers and comparing it to a string is quite involved. The current way to do it is:
if let Some(encoding) = res.header(&TRANSFER_ENCODING) {
    if !encoding.is_empty() && encoding.last().unwrap().as_str() == "chunked" {
       // proceed
    }
}

Even though we implemented more convenient comparisons in #80, this is still quite involved. What we'd like to be able to do is:
if res.header(&TRANSFER_ENCODING) == "chunked" {
    // proceed
}

Note on Option<Vec<HeaderValue>>
We currently return Option<Vec<HeaderValue>> from various of our methods. This is because HTTP by design can have multiple values for a single key. However there is some overlap between a vec of 0 elements, and a None value. The idea we've been talking about offline is to perhaps introduce a new type: HeaderValues which implements Iterator<Item = HeaderValue>> and guarantees to never be empty.
This would provide a convenient location to implement equality checks. Examples include:

PartialEq<[str]> for HeaderValues
PartialEq<str> for HeaderValues
PartialEq<String> for HeaderValues
PartialEq<HeaderValue> for HeaderValues

Returning HeaderValues from existing methods would be a breaking change, so we shouldn't do this right away. But this provides a cleaner path forward than implementing equality for Vec<HeaderValue>.

Orphan rules don't allow for this. We need to introduce HeaderValues for this to work. This is a breaking change, but also the only way forward it seems. Welp.


md files to spanish

md files to spanish

I like the idea of translating the contributing files and as such. It would make the project far more accessible to other users who may not speak English. However, this is the first time this has been done so there is no sort of precident to go of in terms of the structuring. I would probably not go and add all of the different translations in the project root as it could get very crowded, instead I would be inclined to create a seperate directory for translated files.
A slight barrier may be if one of the files gets updated, all the transaltions need to as well, which could be a lot of work. I would probably suggest that for the really important files such as the code of conduct and security, put a line at the top saying something like This translation is provided for your convenience only. For the authorative version of this document, see <untranslated file>.

lets do it
pls share me new repo for all translations

lets do it pls share me new repo for all translations

I would not suggest a new repo, merely a new directory within this one. Something like translations or perhaps docs with seperate iso directories within. I think @louislam should probably decide what to name it.

Thanks for the translation!
I agree with @Computroniks, it would be so many files in the root directory if there are a lot of md files in other languages.
Other issues are fragmentation and inconsistent over time.
Let's say, in CONTRIBUTING.md, I am going to change the npm run dev command to npm run development. I have to go through all languages files to update this.
Also unlike vue-i18n, if the words are not existing in vue-i18n, it will fallback to English.
So probably I need more opinions and a better approach on this.

i want to contribute for all spanish, french and italian developers, a lot
of friends cant review english speaking
and about translate notification messages, how can contribute for that?
El jue, 23 jun 2022 a las 8:02, Nelson Chan @.***>)
escribió:

There is a significant burden to keeping this updated. Outdated
information is much worse than missing translations. Probably why this is
rarely done.
—
Reply to this email directly, view it on GitHub
https://github.com/louislam/uptime-kuma/pull/1806#issuecomment-1164381361,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADIWFAIJRSMWOPDY56TDS3VQRN6DANCNFSM5ZM35PZA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks for the translation!
I agree with @Computroniks, it would be so many files in the root directory if there are a lot of md files in other languages.
Other issues are fragmentation and inconsistent over time.
Let's say, in CONTRIBUTING.md, I am going to change the npm run dev command to npm run development. I have to go through all languages files to update this.
Also unlike vue-i18n, if the words are not existing in vue-i18n, it will fallback to English.
So probably I need more opinions and a better approach on this.

Close as this reason, if you want to promote, you can share your own fork of Uptime Kuma.


Using HRVTool without external toolboxes

Thanks a lot. I checked the code and made some small changes.
Your iqr and quantile functions were not required since the myquantile function exists before. I made some minor changes to make it more universal and renamed it to nanquantile. My nanzscore function moved into the HRV class and made your zscore obsolete. To be independent from external toolboxes I also change the affected parts the in QRS detection codes lines.


Provides a means to extend paper-date-picker.

By adding 2 content areas (in the header and in the neon-animated-pages), this provides the ability to extend paper-date-picker to include other data or paper-time-picker which allows a date-time field instead of just a date or just a time field.

Right now these WIP things that are required for the next tag conflict with this PR:

removing deprecated neon-animations
porting to Polymer 2.0

Open an issue articulating your use-case / feature request and we can slate something compliant for 2.1


[Bug]: pg database archive data archive half of the connection timed out

ODC version
ODC432
OB version
independent
What happened?
pg database archive data archive half of the connection timed out

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
taskId=832
Anything else we need to know?
No response

The task cannot be stopped

fixed

fixed


Admin Mode, annotations and fadeTime issue

Hi Luke,
first of all thanks a lot for your awesome project!
I have some ideas for improvements, but unfortunately no experience with telegram bots and javascript...

I'd really love an admin-feature for rebooting / updating and so on. I just saw, that there is a PR in the pipeline.. Hope to see this feature being implemented soon :)

Is it possible to have the message and sender name remain as long as the image is shown? By now, I can only see it for a few seconds and I suspect my grandparents to miss it...

When the image changes, the screen blinks white or black for a few milliseconds.. It is most likely related to the fading between images, since it does not occur if I set fadeTime to 0 in the config.js. However, with fadeTime=0, the screen turns black for a short period and then the next image is shown. Would be nice if the black period wasn't there. PS: I am using an RPi 3A+ connected to a display (my tv screen) via HDMI.

Looking forward for new updates and features in this project :)

Some more thoughts, since I worked a little with the code in the meantime...

I think it makes sense to have a config parameter for the amount of time, the sender and caption is shown. Maybe there can be three options like 0,1,2 meaning not shown, full time and half time of the slideshow-interval.
BTW: @LukeSkywalker92 , is there a fallback in the case that a user forgets one of the parameters in the config? Maybe we should implement that the TeleFrame uses the config.example.js values in case of undefined parameters.
Related question: I once tried to "deactivate" the voice reply action by removing the parameters from the config file. However, this gave errors on long-press. Is there a proper way to deactivate this feature?

I solved that. I had to uncomment the config_hdmi_boost=4 line in /boot/config.js. Seems to be related to the RPi 3A+, if I'm the only one with this issue.

Config parameter for the amount of time and #69 was implemented in feature/caption-sender-fullscreen.
config.js
...
  interval: 10 * 1000,
  showCaption: true,
  // To output sender caption, use the entire screen
  useFullscreenForCaptionAndSender: true,
  // Defines the percentage of the duration of <interval> to show sender and caption.
  // minimum value: 10  = fade out after 10% of <interval>
  // maximum value: 100 = full time. sender and caption does not fade out
  senderAndCaptionDuration: 50,
...

But the release has to wait until we have #66 finished.

Nice implementation, thank you!
What is the status of #35 and #53? Also postponed until #66 is decided?

IMO it is better to integrate the waiting PR's only after changing the configuration handling. Especially #35 will only work if the configuration is to be changed by external commands.

Sure, I agree. Too bad that Christmas is that early this year :P

There are seven days left. I am optimistic that we will be able to do a few more things 😏

closed with PR #86 and #35


Replace countries.iso to countries.code

Done in https://github.com/dimsav/laravel-translatable/pull/101.


syscall: test failures on CentOS

Testing packages.
ok  	sync/atomic	0.017s
--- FAIL: TestCloneNEWUSERAndRemapRootDisableSetgroups (0.00s)
exec_linux_test.go:81: Cmd failed with err fork/exec /usr/bin/whoami: invalid argument, output:
--- FAIL: TestCloneNEWUSERAndRemapRootEnableSetgroups (0.00s)
exec_linux_test.go:81: Cmd failed with err fork/exec /usr/bin/whoami: invalid argument, output:
--- FAIL: TestEmptyCredGroupsDisableSetgroups (0.00s)
exec_linux_test.go:129: fork/exec /usr/bin/whoami: invalid argument
--- FAIL: TestGroupCleanupUserNamespace (0.00s)
exec_linux_test.go:238: Cmd failed with err fork/exec /usr/bin/id: invalid argument, output:
FAIL
FAIL	syscall	0.057s
ok  	testing	1.130s
2017/02/27 10:18:18 Failed: exit status 1
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.2.1511 (Core)
Release:	7.2.1511
Codename:	Core

/cc @ianlancetaylor @minux

package main

import (
    "log"
    "os/exec"
    "syscall"
)

func main() {
    cmd := exec.Command("whoami")
    cmd.SysProcAttr = &syscall.SysProcAttr{
        Cloneflags: syscall.CLONE_NEWUSER,
        UidMappings: []syscall.SysProcIDMap{
            {ContainerID: 0, HostID: 505, Size: 1},
        },
        GidMappings: []syscall.SysProcIDMap{
            {ContainerID: 0, HostID: 505, Size: 1},
        },
        GidMappingsEnableSetgroups: true,
    }
    b, err := cmd.CombinedOutput()
    if err != nil {
        log.Fatal(err)
    }
    println(string(b))
}

505 is my uid/gid on my environment. Then sudo ./whoami return 2017/02/27 18:02:05 fork/exec /usr/bin/whoami: no such file or directory

@mattn Your test when running as root passes for me on Ubuntu Trusty but fails with no such file or directory on CentOS 7.  The CentOS 7 error is indicating that the parent process fails to open /proc/PID/uid_map where PID is the child.  That is how UidMappings is implemented.  This is consistent with running ls /proc/self/; on Ubuntu Trusty I see the file /proc/self/uid_map, on CentOS 7 I do not.  I conclude that the UidMappings (and GidMappings) fields do not work on CentOS 7.
When I run Go tip on CentOS the syscall tests all pass, whether I run them as a normal user or as root.  The original poster is clearly running as root (probably a bad idea).  When I run the syscall tests as root with -test.v I see this (among other output):
--- SKIP: TestCloneNEWUSERAndRemapRootDisableSetgroups (0.00s)
	exec_linux_test.go:32: kernel doesn't support user namespaces
=== RUN   TestCloneNEWUSERAndRemapRootEnableSetgroups
--- SKIP: TestCloneNEWUSERAndRemapRootEnableSetgroups (0.00s)
	exec_linux_test.go:32: kernel doesn't support user namespaces
=== RUN   TestEmptyCredGroupsDisableSetgroups
--- SKIP: TestEmptyCredGroupsDisableSetgroups (0.00s)
	exec_linux_test.go:32: kernel doesn't support user namespaces
=== RUN   TestGroupCleanupUserNamespace
--- SKIP: TestGroupCleanupUserNamespace (0.00s)
	exec_linux_test.go:32: kernel doesn't support user namespaces

So apparently on my CentOS 7 system the test detects that the test will fail, but on the OP's it does not.  The test is simply whether /proc/self/ns/user exists.
@tencert Does /proc/self/ns/user exist on your system?
Can you show us the output of go test -test.v syscall?  Thanks.

I can't reproduce when running as root on CentOS 7.3.1611 (Core).
I did need to fix the test a bit first. I sent CL 48191.

Still waiting to hear from @mattn or @ghost on whether this is still reproducible and details if so.

I'm sorry. I've already deleted vagrant guest that I executed the command. Now I tried this on centos7 just created, but this is not reproduced.

Okay, will close this for now. Thanks.


Write shortest possible code: python how to write string to file (python)

Please write shortest code example for this question:
python how to write string to file in python
How to do it:

Go to python codes
Create new file (named in underscore case, should contain key words from title) with md extension (markdown file).
Propose new file with following content (please use all three blocks if possible - title, code itself and explanations list):

# python how to write string to file

```python
code part1 part2 part3 ...
```

- part1 - explain code part 1
- part2 - explain code part 2
- ...

More advanced template for examples and linked solutions. More docs here.

How to write string to file


SPIKE: encryption in transit for the ETL tool

Describe the task
Encryption of data is a security requirement needed for the ETL tool for SPAR2. Data encryption options must be documented with pros and cons and discussed with the dev team at a collab session
Acceptance Criteria

[ ] pros and cons of options documented
[ ] high level how to of implementation documented

@ronrobb @DerekRoberts, I had this ticket for Marcio based on security feedback. Can we close this ticket or should be work on this item?

@Donnelly @ronrobb It's a good idea for security. Ideally we can keep it.


Can't play local mp3 on IOS with RNFS

Hello, my app is a webradio, i have 2 tabs ("Online mode" and "Offline mode").
On "Online mode" i just add 1 track to the queue with the url on the stream of my webradio, it work well on Android and IOS.
On "Offline mode" i use React Native FS to first download all songs into app cache, then generate a playlist from theses files to play them locally.
It works well on Android, but in IOS i tried many things but TrackPlayer stuck at buffering state ^^'
There is my code to adding tracks to queue :
if (Platform.OS === 'android') {
  var filePrefix = 'file://';

} else {

  var filePrefix = 'file://';

}

TrackPlayer.add({
id: id_musique,
url: filePrefix + RNFS.CachesDirectoryPath + '/songs/' + encodeURI(musiqueName) + '.mp3',
title: musiqueName,
artist: '',
}).catch(err => {
console.log(err);
});
I tried without "file://", i also tried with "file:///", but it doesn't work :/
I want to specify that i tested all of this on real device (i don't think it's a simulator issue)
Thank in advance,
Kind Regards.

To narrow this down, if you include an mp3 file in your app when you build it, does it have the same behavior?

If i play a file that i put manually on my app files like this :
import localTrack from '../assets/test.mp3';
TrackPlayer.add({
id: id_musique,
url: localTrack,
title: musiqueName,
artist: '',
}).catch(err => {
console.log(err);
});
It work fine :/

What if you use a file:// path instead of import/require?

where am i supposed to put my test file ? And more important, what filepath must i use ?
Thank you for helping me ^^

Hello, i tried fews things and i managed to make it work but it's not what i want.
I use React Native FS to manage files and filepaths : https://github.com/itinance/react-native-fs#API
As you can see on "constants" section there are fews constants to get filepaths.
I tried to play a test mp3 file that i manually copy on the desired filepath on my simulator via terminal.
I tried this :
var localTrack = 'file://' + RNFS.CachesDirectoryPath + '/test.mp3'; --> It doesn't work
var localTrack = 'file://' + RNFS. MainBundlePath + '/test.mp3'; --> It doesn't work
var localTrack = 'file://' + RNFS. DocumentDirectoryPath + '/test.mp3'; --> It work !!!
The problem was i store my mp3s on RNFS.CachesDirectoryPath and i really can't store them on Document Directory...
Why Trackplayer won't play files in cache directory ? It work on Android... :/

When it doesn't work with the CachesDirectoryPath, what is an example of the full path?
Are there any errors or other logs in Xcode when it does not play?

There is the full path that it try to load :
file:///Users/user173395/Library/Developer/CoreSimulator/Devices/104590AC-E7C1-48FC-A5F0-A06440278444/data/Containers/Data/Application/9B06E475-988B-4C5A-B42F-F694810E2FB6/Library/Caches/songs/test.mp3
BUT when i just retested i discovered what is the true problem, it now worked with my test file, but not with my true files and the only difference i see is my true files have spaces in their name...
I tried this :
var localTrack = 'file://' + RNFS.CachesDirectoryPath + '/songs/kuraberarekko - Tsuyu.mp3';
TrackPlayer.add({
id: id_musique,
//url: filePrefix + RNFS.CachesDirectoryPath + '/songs/' + encodeURI(musiqueName) + '.mp3',
url: encodeURI(localTrack),
title: musiqueName,
artist: '',
}).catch(err => {
console.log(err);
});
But it doesn't work, xcode say to me "Starting/Resuming playback" like all work fine (but definitely no XD)
The generated full path of this song with spaces in her name is :
file:///Users/user173395/Library/Developer/CoreSimulator/Devices/104590AC-E7C1-48FC-A5F0-A06440278444/data/Containers/Data/Application/66D20310-A9B3-44CB-AF3B-7FDA67BE19D6/Library/Caches/songs/kuraberarekko%20-%20Tsuyu.mp3

Are you able to test that theory another way? By converting spaces to underscores (or whatever) when you initially download the track?

Just tested now, this don't work :
Code :
var localTrack = 'file://' + RNFS.CachesDirectoryPath + '/songs/test file.mp3';
TrackPlayer.add({
id: id_musique,
//url: filePrefix + RNFS.CachesDirectoryPath + '/songs/' + encodeURI(musiqueName) + '.mp3',
url: encodeURI(localTrack),
title: musiqueName,
artist: '',
}).catch(err => {
console.log(err);
});
Filepath :
file:///Users/user173395/Library/Developer/CoreSimulator/Devices/104590AC-E7C1-48FC-A5F0-A06440278444/data/Containers/Data/Application/A4270DD8-465E-496C-AE03-50ECC920543C/Library/Caches/songs/test%20file.mp3

And this work :
Code :
var localTrack = 'file://' + RNFS.CachesDirectoryPath + '/songs/test-file.mp3';
TrackPlayer.add({
id: id_musique,
//url: filePrefix + RNFS.CachesDirectoryPath + '/songs/' + encodeURI(musiqueName) + '.mp3',
url: encodeURI(localTrack),
title: musiqueName,
artist: '',
}).catch(err => {
console.log(err);
});
Filepath :
file:///Users/user173395/Library/Developer/CoreSimulator/Devices/104590AC-E7C1-48FC-A5F0-A06440278444/data/Containers/Data/Application/423CDBAA-5B47-45A3-A22E-EE46F01BA273/Library/Caches/songs/test-file.mp3

I'm really confused, why spaces causes so many problem ? ^^

This is sounding like a bug on iOS.
Until a fix is found, I would recommend saving your files without spaces.

Oh...... ok, thank you for your help :)

After others tests, i want to add th fact that is bug not only with space in names but also [ and ]

@TheMax98000 , are you able to test this change #950?


Cannot install texlive.biblatex

Issue description
When trying to install texlive.bibtex, I get:
output path ‘/nix/store/6js3as0478x3k9ifqp06ryk5xx0jipn1-biblatex.tar.xz’ should have md5 hash ‘be5f4721eb30254a07a237909b10cd0f’, instead has ‘18b0966c02db0afdc0b239aa234ef8e1’
fetching path ‘/nix/store/kr6vvm3dd1dyplw4ynz7bqvvh244pylw-cairo-1.14.6’...
cannot build derivation ‘/nix/store/6g31sxf5byd5jfi4301pq60ki58zw089-texlive-biblatex-2.9a.drv’: 1 dependencies couldn't be built
killing process 24009
cannot build derivation ‘/nix/store/xpr0y6r3rd06bi0fsaci9i2ghka351wk-texlive-combined-2015.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/xpr0y6r3rd06bi0fsaci9i2ghka351wk-texlive-combined-2015.drv’ failed
/home/ywen/.nix-profile/bin/nix-shell: failed to build all dependencies

Steps to reproduce
nix-shell -p 'texlive.combine { inherit (texlive) biblatex scheme-small; }'
Technical details

System: Ubuntu 15.10
Nix version: nix-env (Nix) 1.10
Nixpkgs version: 16.09pre82942.3853d1e

Dupes https://github.com/NixOS/nixpkgs/issues/10026


Add a Gitter chat badge to README.md

CosyVerif/tool-graphinfo now has a Chat Room on Gitter
@saucisson has just created a chat room. You can visit it here: https://gitter.im/CosyVerif/tool-graphinfo.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Already included.


Implement Support for "scoped" messages.

Scenario:   I have a  tag on my main index template, but I am using bootstrap-ui modals for login and registration to my site.  Within the templates for the login and registration modals, I also have  tags.
Right now, there is currently no way to distinguish between the different "scopes" of the messages.  As in, I would like to define where my messages should go within my angular app.  Currently, when I add flash messages, they show up on the main page AND the modal, which is ugly in my opinion.
I worked on this for a while, and got a working version of angular-flash with "scoped" flash message support.  Added new attribute to the directive: "flash-scope" that can be used to define when messages should be displayed within that  tag.  Preserves all original functionality through the 'default' scope.
Pull Request #33

looks like this is a duplicate of #11.  Going to close this issue.


TypeError: 'dict' object is not callable

Seen below error sometime, not found the way to fix...
[2023-04-11 16:57:05,799] ERROR in app: Exception on /loadHistory [GET]
Traceback (most recent call last):
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 1615, in full_dispatch_request
return self.finalize_request(rv)
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 1630, in finalize_request
response = self.make_response(rv)
File "/home/user/.local/lib/python3.8/site-packages/flask/app.py", line 1740, in make_response
rv = self.response_class.force_type(rv, request.environ)
File "/home/user/.local/lib/python3.8/site-packages/werkzeug/wrappers/base_response.py", line 269, in force_type
response = BaseResponse(*_run_wsgi_app(response, environ))
File "/home/user/.local/lib/python3.8/site-packages/werkzeug/test.py", line 1119, in run_wsgi_app
app_rv = app(environ, start_response)
TypeError: 'dict' object is not callable

这可能是flask版本的原因，你可以尝试 pip install flask --upgrade升级flask版本试一下
This may be the reason for the flask version, you can try pip install flask --upgrade to upgrade the flask version and try again,

Appreciate for your response in time! now it is working.


Split out API doc generation workflow

Goal

Testing

Release Notes

WHAT:
WHY:

#1244  👈
master

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

Join @bidetofevil and the rest of your teammates on  Graphite

Merge activity

Aug 13, 7:08 PM EDT: @bidetofevil started a stack merge that includes this pull request via Graphite.


Windows: Add to path does not seem to work

Hi!
I've installed 4.2 on Windows and set up all the services. I added a host. Added php, mysql, composer.
I would like to run composer install now, or php artisan, but both commands fail because they can't find the binaries.
I've clicked on 'add to path' from the context menu inside PhpWebStudy. I've clicked on this many times, for PHP, for composer, for mysql.. and yet even after restarting the terminal, they are still not available on the path
Running `echo $env:PATH -split ';' in the terminal does not display them either.
Any idea what is going on?
Many thanks

There are currently some problems with this function. You need to manually add the path to PATH currently. A new version will be released soon to fix it.

Thank you for your feedback. The latest version has fixed this issue.


exportJson error:can't handle (nil - 0.0)

Hi:
I want to convert an allegro .brd file to json after converting to ibom, but I get the following error:
Command > exportJson
W- WARNING No variant.lst found, exporting entire design ...
CDS version: 16.600000
E- Error difference: can't handle (nil - 0.0)
Command > exportJson( ?excludeDNP t )
E- Command not found: exportJson( ?excludeDNP t )
I am not skilled in allegro, please advise how to solve this error, thank you!

Hi,
this happens when allegro tries to access a property or something like this, that does not exist ... it would be the best, if you could share your design, so I can look into it. But please be patient, I can't look into it right away.
Moreover you're passing the ?excludeDNP argument, but there's no variant.lst present. Please create the variant.lst or just execute exportJson(), maybe this already solves your problem.

You are using the command line, which is fine, if you are only using exportJson, but if you want to pass arguments to that function you have to do that in the skill environment. That means, you have to type  set telskill to your command line first and a new window will open. In this window you can use the function with arguments.
Anyway, only using exportJson won't solve your problem, so I will need your design ...

How did I give you my design files,email?

Sorry for my late response ... you can attach your board file directly to this issue by dragging and dropping or please wait until I added some debug messages, so we can figure out, what the problem is. I think I'll get this done by tomorrow.

I'd better wait for you to add some debugging messages, thank you!

I passed through the exportJson.Il file added warn information, found that the error appeared in this position in the screenshot

Ok, then I assume, that outline->segments is nil. Did you draw your board outline on the Board Geometry/Outline layer?

I drew the outline, which is a .bsm file.

I'm not sure, what you mean with

" ... which is a .bsm file."

But can you only apply "Shapes" to the find filter and try to select the board outline? If that doesn't work, that might even be our problem. Maybe there is no shape but just lines ...

I'm not sure, what you mean with

" ... which is a .bsm file."

But can you only apply "Shapes" to the find filter and try to select the board outline? If that doesn't work, that might even be our problem. Maybe there is no shape but just lines ...

Sorry, I'm not familiar with allegro, the description is wrong, this PCB outline is drawn with 4 ERTICAL LINE SEGMENT

The board outline has to be a shape, otherwise the code is not working. So please draw a polygon instead of the individual lines. Or, just for testing, draw a rectangle and execute the code, then we know, that this is the reason, why the code is not working.

The board outline has to be a shape, otherwise the code is not working. So please draw a polygon instead of the individual lines. Or, just for testing, draw a rectangle and execute the code, then we know, that this is the reason, why the code is not working.

I drew a rectangle on the outline and the conversion was successful, thank you very much.


Zone in two monitors.

Microsoft PowerToys version
v0.49.1
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Create a zone that covers two monitors.
✔ Expected Behavior
Program display covering both monitors.
❌ Actual Behavior
Although program covers both monitors, they are not aligned and it is not easy to read lines when changing from one monitor to another.

Other Software
No response

Enable Allow zones to span across monitors in settings.  https://docs.microsoft.com/en-us/windows/powertoys/fancyzones

Hi, I allow that option and I can see applications across monitors. Problem is that applications are not fully aligned although monitors are same Maker and model.

Can you do a screenshot of your layouts and add in a "report bug" zip?

A screenshot is included in my previous comment and the issue is highlighted in a blue circle.
Hopefully, this should clarify my problem.

I need the zip an actual screenshot of the layout / desktop. This will hopefully let us see stuff like is it an editor error, and if it is something else.  Are the monitors at different resolutions ...
A zone can't able to shift a window oddly like that so we're lacking data to repro this.  The code moves and resizes a window, that is all.

Hello,
I was checking monitors and found that, without Fancy Zones, difference between both screens are still there so it is not an issue with this program.
Thanks for your help. I will investigate with Windows and monitors characteristics, although both are same model and with same parameters.
Roberto.


GSB: Remove a couple of well-formedness assertions [5.4]

The underlying issue here won't be fixed in 5.4 and 5.5, so remove the
asserts to avoid allowing code in no-asserts builds that is rejected in
asserts builds.
Any code that builds with this assert commented out might fall victim
to an ABI break once the bug with same-type requirement minimization
is actually fixed.
"Fixes" https://bugs.swift.org/browse/SR-14776.

@shahmishal we should pull this into the next 5.4 linux/windows dot release

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 2bc2e16d7cd36c3599fa0c62728c9f0cec79c200

Build failed
Swift Test OS X Platform
Git Sha - 2bc2e16d7cd36c3599fa0c62728c9f0cec79c200

@swift-ci please test