CocoaPod shows error when doing pod install

I am attempting to install YelpAPI to a Swift app but I am getting an error in Terminal and I cannot find documentation to solve the issue.
The error I receive when I pod install is:
[!] The platform of the target ForTheTroops (iOS 9.3) is not compatible with YelpAPI (1.0.3), which does not support iOS.
and this is my Podfile setup going off the directions from your CocoaPod install instructions:
source 'https://github.com/CocoaPods/Specs.git'
target 'ForTheTroops' do
Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
Pods for ForTheTroops
pod 'AFNetworking', '~> 3.0'
pod 'YelpAPI', '~> 1.0'

target 'ForTheTroopsTests' do
inherit! :search_paths
# Pods for testing
end
target 'ForTheTroopsUITests' do
inherit! :search_paths
# Pods for testing
end
end
Any help would be really appreciated here. Thank you!

Hi @WadeSellers! Can you try something for me? I think there might be something up with our podspec. Here's an updated version:
Pod::Spec.new do |s|
  s.name             = "YelpAPI"
  s.version          = "1.0.3"
  s.summary          = "Objective-C client library for accessing the Yelp Public API."

  s.description      = <<-DESC
			This pod is designed to help developers using both Objective-C
			and Swift in accessing the Yelp Public API. A thorough
			readme with usage examples can be found at https://github.com/Yelp/yelp-ios.
                       DESC

  s.homepage         = "https://github.com/Yelp/yelp-ios"
  s.license          = 'MIT'
  s.author           = 'Yelp'
  s.source           = { :git => "https://github.com/Yelp/yelp-ios.git", :tag => s.version.to_s }

  s.ios.deployment_target     = '7.0'
  s.osx.deployment_target     = '10.9'
  s.requires_arc = true

  s.source_files = "Classes/**/*.{h,m}"
  s.private_header_files = 'Classes/**/*Private.h'

  s.dependency 'TDOAuth', '~> 1.1'
end

Can you paste that into a file locally called YelpAPI.podspec? Then in your Podfile, make your pod line look like this:
pod 'YelpAPI',  :podspec => 'path_to_yelpapi.podspec'
If this works out for you, we'll publish an updated podspec

I followed the instruction above. I created the YelpAPI.podspec file, pasted everything into it. I placed the .Podspec file right into the app where the .xcodeproj file is located too.  I added the line to the Podfile, ran pod install, and it looks like it can't locate the .Podspec file from what I read in the terminal response.
Let me know if I can help anymore please.

I also have tried moving the .Podspec file into the Pods/Local Podspecs folder as well but no difference when trying Pod Install

I'm not sure I understand. Where did I assign it twice?

@WadeSellers it's all fixed fixed now.  The "assign twice" refers to a bug on our end. You didn't do anything :)

If it's already installed, you may need to run pod update YelpAPI

HEY-O!!!! Now we're cooking with fire!  Worked perfectly.  Thanks so much for looking into this and solving the issue. I really didn't want to use Google Place API if I didn't have to. Yelp has all the info I need and more for my project so I was really looking forward to utilizing it... and now I can!
You're awesome!  Thanks again!
-Wade


Prevent ParamArray and ParamDictionary parameters from binding by keyword

This fixes
import clr
clr.AddReference("rowantest.methodargs")
from Merlin.Testing.Call import VariousParameters
obj = VariousParameters()
obj.M560(1, 2, 3, z=4, b=5, c=6)

reported in #249.
Disabling by-keyword assignment to param arrays and dictionaries is controlled though a virtual method on OverloadResolver, but I stopped short from making it protected since the DLR currently cannot handle the "enabled" case so I did not want the languages to start requesting it. It can go in three ways from here:

The DLR implements PositonalOnlyAttribute/NonKeywordAttribute for the benefit of all languages. Probably the best way to support it is in ReflectionUtils and the virtual extension point maybe can be abolished (i.e. preventing binding by keyword to param arrays/dictionaries will be hard-coded).
PositonalOnlyAttribute/NonKeywordAttribute will be implemented at the language level (i.e. in IronPython), and the virtual extension point will become protected and overridden in PythonOverloadResolver, (or any other language-specific resolver derived from DefaultOverloadResolver, with the provision that the language can only tighten the restriction rather than relax it).
The DLR will somehow be upgraded/cleaned/up/extended to be able to handle param arrays/dictionaries being bound by keyword, by some to be determined consistent set of rules. Then the virtual extension point can become protected without any restrictions.

After sleeping on it, I now think that option 2 is the best way forward. Implementing new attributes in IronPython 3 will allow to get the feeling how they work and possibly tweak things before releasing them to the world.
@slozier if this is OK with you, I will amend the PR accordingly.

if this is OK with you, I will amend the PR accordingly.

Sounds good to me!

Causes some failures in ipy3 but I believe they are expected.

I have updates to ipy3 tests locally ready to go once an official DLR commit lands on master.

Are you going to have to remove internal from some of the virtual methods to get PositonalOnlyAttribute/NonKeywordAttribute working from ipy3?

No, all virtual methods I foresee needing to be overridden in PythonOverloadResolver are already protected or protected internal. I haven't looked into KeywordOnlyAttribute/NonPositionalAttribute yet so perhaps some DLR update will be needed for that, but I am parking this story for now to look into nonlocal in ipy3.


Support SDK generation outside Azure/azure-sdk-for-net

With goals of becoming more of a toolset, we need to support building - but not necessarily shipping; we'll still be the authoritative, official source of client libraries - SDKs outside our repo. This is related to our efforts with code generation atop TypeSpec, both for generating server source as well as client source - the latter of which would be used for testing the service and giving the service team an early preview of what using their SDK would look like so they can make adjustments to their TypeSpecs as needed.
Currently, I can think of the following issue(s) that prevent us from supporting this:

Shared source: we have a lot of shared source that we link into our SDKs, and paths are found relative to our repo layout. Alternatively, we could consider:

Put it in an obvious namespace like "Azure.Internal" or something (ASP.NET does something similar) but make the types public. This is also a common approach in most other track 2 languages.
Publish a separate "source package" kin to Azure.Core but containing only shared source. IIRC, we did (or still do) something like this with autorest.csharp.

Azure.Core.TestFramework relies on <ProjectReference> but we could publish this and use a <PackageReference> instead. License and description could specify it's only in support of developer Azure SDKs, or perhaps we publish it to an internal feed if we're not ready to completely open it up.

We discussed this in our team sync yesterday, and it turns out we already have something in place. I think it's a good start to unblock internal partners but, long-term, we'll need to consider other options to make this accessible to the public e.g., outside contributors or third-party partners.
Available now

If the namespace in tspconfig.yaml starts with "Azure." the right template is chosen to pull in shared source as we would within the repo today. This lacks many - if not all - of the analyzers we'd run in our repo, however, but should produce an SDK that is the same or very similar to what we'd ship from our repo when the time came.
There are allegedly some scripts or tasks that will make a shallow clone of our repo, generate the necessary project files and source, and build an SDK as if it were done in our repo from the start. These may be the same tasks that we use in the Azure/azure-rest-api-specs repo. Need to investigate further.

Long-term

We could create a "lite" assembly of build files that we have in our repo now - ideally, we'd use those in our build for qualify control and consistency - and could package those up and publish the package to our public Azure Artifacts feed, which we already point to in our root nuget.config file. This could run the appropriate analyzers, build validations, etc., and potentially enforce the same package dependency we have now in eng/Packages.Data.props.

I believe since OpenAI is generating clients outside the repo, we may have addressed this feature request.  @heaths can you confirm whether this is still needed?


Libs version

Hi, which boost and emscripten version should be use to build mymonero-core ?
Thank you ;)

Hi, thank you for your answer.
I got this error when trying to run : emmake cmake --build .
emscripten/bind.h:1409:14: error: invalid use of ‘struct emscripten::constructor<>’
.template constructor<>()
using last emsripten version and 1.68 boost version
Thank you


ci: merge staging to master

This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.

Pipeline Attempt on 914224744 for ba97282bcc6dcef356425bbea73100886acfe1d8
https://gitlab.com/MatrixAI/open-source/js-timer/-/pipelines/914224744

Pipeline Succeeded on 914224744 for ba97282bcc6dcef356425bbea73100886acfe1d8
https://gitlab.com/MatrixAI/open-source/js-timer/-/pipelines/914224744


Link options from MPI compiler wrapper collapsed incorrectly (CMake 3.13+)

CMake: 3.14.3
BLT: https://github.com/LLNL/blt/commit/938345715810c6457d3e57a2c20d4ee0fa253632
When using e.g. Intel MPI, link flags obtained from mpicc may look like the following:
-Xlinker -rpath -Xlinker /path/to/A -Xlinker -rpath -Xlinker /path/to/B -Xlinker -rpath -Xlinker /path/to/C ...

After the link options are set on the target in blt_add_target_link_flags via LINK_OPTIONS, the resulting command line looks like:
-Xlinker -rpath /path/to/A /path/to/B /path/to/C ...

which is incorrect. This is because CMake removes duplicates, as per documentation.
Unless there is a way to pass the link flags verbatim (as opposed to splitting and adding one by one), perhaps the correct treatment would be:

Collect and concatenate all consecutive options that have a preceding -Xlinker into a comma-separated string
Add the resulting string with a LINKER: prefix.

So we end up adding
LINKER:-rpath,/path/to/A,-rpath,/path/to/B,-rpath,/path/to/C

as a single link option, which CMake translates back into the correct string (using -Xlinker or -Wl syntax, as appropriate).

Solution that works for me (but is kinda ugly and very specific to just handling -Xlinker flag): in blt_add_target_link_flags
if( ${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.13.0" )
    # In CMake 3.13+, LINK_FLAGS was converted to LINK_OPTIONS.
    # This now supports generator expressions but expects a list
    # not a string
    separate_arguments(_flag_list NATIVE_COMMAND "${arg_FLAGS}" )
    set(_prev_xlinker 0)
    set(_xlinker_flags "")
    foreach( _flag  ${_flag_list} )
        # If previous flag was -Xlinker, accumulate current flag unto a list, reset the indicator
        if(_prev_xlinker)
            list(APPEND _xlinker_flags "${_flag}")
            set(_prev_xlinker 0)
        # Else, if current flag is -Xlinker, set the indicator
        elseif("${_flag}" STREQUAL "-Xlinker")
            set(_prev_xlinker 1)
        # Else (a free-standing flag, i.e. a series of -Xlinker guarded flags is over),
        # dump the accumulated list with a prefix, then add the current flag as well
        else()
            if(_xlinker_flags)
                list(JOIN _xlinker_flags "," _xlinker_flags_str)
                set_property(TARGET ${arg_TO} APPEND PROPERTY LINK_OPTIONS "LINKER:${_xlinker_flags_str}")
                set(_xlinker_flags "")
            endif()
            set_property(TARGET ${arg_TO} APPEND PROPERTY LINK_OPTIONS "${_flag}")
        endif()
    endforeach()
    # Once the list is done, also dump any accumulated -Xlinker guarded flags with a prefix
    if(_xlinker_flags)
        list(JOIN _xlinker_flags "," _xlinker_flags_str)
        set_property(TARGET ${arg_TO} APPEND PROPERTY LINK_OPTIONS "LINKER:${_xlinker_flags_str}" )
        set(_xlinker_flags "")
    endif()

else()
    ...
endif()


Updates to work with tabula-java 1.0.3

Please ensure the following before submitting a PR:

[x] if suggesting code changes or improvements, open an issue first
[x] for all but trivial changes (e.g., typo fixes), add your name to DESCRIPTION
[x] for all but trivial changes (e.g., typo fixes), documentation your change in NEWS.md with a parenthetical reference to the issue number being addressed
[x] if changing documentation, edit files in /R not /man and run devtools::document() to update documentation
[x] add code or new test files to /tests for any new functionality or bug fix
[x] make sure R CMD check runs without error before submitting the PR

This requires ropensci/tabulizerjars#6, I think.  (Overall, this seemed to be pretty trivial, so I didn't add my name to the DESCRIPTION file.  If you disagree, I'll update the DESCRIPTION.)

partially added in 581cad8, thanks a lot !!!


In Datagrid and all the datagrid extensions: Keyboard control no longer working

Detailed description

Describe in detail the issue you're having.

My dev team is preparing to use the Data table extension for inline editing. Until recently, this item used to have really good keyboard control, which was super important for a11y and power users. In the most current version of the storybook, https://carbon-for-ibm-products.netlify.app/?path=/story/ibm-products-components-datagrid-datagrid-canary-extensions-inlineedit--inline-edit-usage-story the keyboard control is completely absent.

Is this issue related to a specific component?
This seems to be an issue for the entire Data grid component and not specific to the inline editing extension.

What did you expect to happen? What happened instead? What would you like to
see changed?
I expected to be able to navigate data tables using my keyboard

What browser are you working in?
Chrome, firefox

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
DataStage, would like to include usage of this component in CPD 4.7 release

Steps to reproduce the issue

Go to Storybook code
Try to navigate using the keyboard (tabbing, return, arrows keys)
It doesn't work (keyboard input no longer works at all)

Hey @jjennings7, thanks for bringing this up! It will be fixed with the above PRs and hopefully will be included in the release tomorrow.


Feature/1275 add metadata option to deploy other methods

PR details
What changes did you make? (Give an overview)

closes #1275

Further details (optional)
...
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] test scripts updated
[ ] Wiki updated (if applicable)

https://github.com/Accenture/sfmc-devtools/wiki/06.b-~-Standard-Commands/_edit
deploy
Command: mcdev deploy [business unit] [metadata type] [metadata key] [--metadata] [--fromRetrieve] [--refresh] [--changeKeyValue=yourNewKey] [--changeKeyField=otherFieldInJson] [--execute] [--schedule] [--fixShared]
Alias: mcdev d
[...]
deploy specific type and key via --metadata option:
This option is exceptionally flexible because it allows you to specify multiple type-key combos simultaneously. If set, it overrides the type or key you specified the old-fashioned way.
If the respective type features it, you can combine keys, IDs, and names in your selection. If you specify multiple --metadata parameters (or -m as an abbreviated version), the keys/ids/names are looked for separately, similar to an OR-search in SQL.


Fixed mkdir mode from 755 to 777

Directory creation isn't using the 0777 mode as advertised by the FAQ, this fixes the mode in few places (there might be other places where using 0777 is appropriate).

Thank you!


Seriously, mamot.fr ?!

Sorry, but I will be very straightforward, why  mamot.fr is in this block list?
Is it a joke?
This is the mastodon instance of La Quadrature Du Net which is the equivalent in France of organization such as EFF.
I can easily understand some instances should be blocked, but what the heck? You add instances on which criteria?
Mamot.fr should not be in this block list and thus should be removed asap.

There is even piaille.fr, a major French instance created recently by a company that often contributes to free software and associations around the topic.

it was sourced from rage.love https://github.com/sgrigson/oliphant/blob/main/blocklists/rage.love.csv#L577 (same for piaille.fr)
also visible here

It's explained right here: https://writer.oliphant.social/oliphant/the-blocklist-algorithm

It's explained right here: https://writer.oliphant.social/oliphant/the-blocklist-algorithm

You would be interested in that thing called "manual review", instead of blindly trusting algorithms.

It's explained right here: https://writer.oliphant.social/oliphant/the-blocklist-algorithm

Hi,
Could you explain why you choose the "rage.love" blocklist as a source of truth, even for a tier 3 perspective ? The list is huge, seems kinda "random", and looking at https://rage.love/about#about-rage-love-en, the column "Reason" is empty for ALL the domains listed.

I heard about this blocklist just yesterday, I feel it like a nightmare, and not only because I'm on Mamot.fr myself: the Fediverse is a decentralized network by design, and now we are building a giant centralized block list, based on an algorithm that would be fed by 9 servers out of more than 12K!? Not to mention that one of those servers is literally this list maintainer's one.
I've read on #8 that some instances had been added to this list because they didn't block some problematic servers, but do you realize that they are not necessarily connected to them and, thus, don't need to block them until they get connected?
Honestly, to me this blocklist has no sense. You have the right to block any instance (even the historic ones) for whatever reason on your own server, but every instance admin should make the decision by themselves, not use such list that makes them block literally 14% of the Mastodon federation without even knowing why.

Could you explain why you choose the "rage.love" blocklist as a source of truth, even for a tier 3 perspective ? The list is huge, seems kinda "random", and looking at https://rage.love/about#about-rage-love-en, the column "Reason" is empty for ALL the domains listed.

It's handy to have just because if I do have an issue with a site on this list, I know I can ask rage.love and see if it's an ongoing pattern or a one-off. That's kind of what a tier 3 perspective is, at least to me (I can't speak for oliphant).

every instance admin should make the decision by themselves

The final decision, sure. But if you look in the fediblock hashtag, it's an endless series of this playing out:
New-site admin: "I've just discovered chudbuds, who harassed my users!"
Experienced admin: "You should probably also check out this blocklist of similar sites!"
New admin: "Nope, I want to make my own judgments!"
New admin, hours later: "I've just discovered five more harassment sites, who took my earlier announcement as a confession I had an incomplete blocklist, and have been harassing my users!"
Experienced admins: "And that was preventable."
Who benefits from all the FUD around "don't trust other people's blocklists?" Hmm. Seems like mostly it's the worst-of-the-worst bad actors.

Could you explain why you choose the "rage.love" blocklist as a source of truth, even for a tier 3 perspective ? The list is huge, seems kinda "random", and looking at https://rage.love/about#about-rage-love-en, the column "Reason" is empty for ALL the domains listed.

It's handy to have just because if I do have an issue with a site on this list, I know I can ask rage.love and see if it's an ongoing pattern or a one-off. That's kind of what a tier 3 perspective is, at least to me (I can't speak for oliphant).

Problem is, the purpose here of this repo is clearly not just to provide a way to check if an instance is known to be problematic, but to block it immediately. It would have been different if it would have been a tool that tells you the amount of known instances that have blocked/silenced it.
I can understand admins need tools to help them moderating what they receive from other instances. But this tool specifically sounds terrible.

I can understand admins need tools to help them moderating what they receive from other instances. But this tool specifically sounds terrible.

Are you an admin, or are you basing this on what you think admins might do?

I'm not an admin. Does it disqualify me to participate to this debate?

No, it just changes what I assume your baseline knowledge to be.
Admins do not, contrary to what non-admins seem to think, just randomly grab blocklists off the internet and slap them on, except in the case of a brand-new site. (At least, good admins don't; there are some who are fairly capricious, but generally the blocklist is the least of the issues in that case.)
We have tools that show us whether a remote site has follow relationships with our users, and that affects whether we choose to silence, suspend, or just let it ride. The only reason somebody is using a Tier 3 or even 2 blocklist out-of-the-box is because they want to set up a site with the same flavor as an existing one: for instance when Artisan Chat spun off of Mastodon Art, it started out with the same blocklist. And that's fine, they're going to pitch it to prospective users as a selling point. Exactly who's being harmed by this?
Again, you've been pitched a lot of FUD about shared/crowdsourced blocklists, and you should probably question who benefits from pushing that agenda.

It's handy to have just because if I do have an issue with a site on this list, I know I can ask rage.love and see if it's an ongoing pattern or a one-off. That's kind of what a tier 3 perspective is, at least to me (I can't speak for oliphant).

I understand the ultimate goal, and separate in multiple tier is a valid way to let some choice to administrator. The question is why rage.love list have been choose as a tier 3 "Trusted source", even with a  warning that it's a "very restrictive blocklist" ? Based on what consideration ?
"Trusted source" is not meaningless, so if it's just a random list populated by a solo admin who decide on his own to silence perfectly valid instance (like mamot.fr) unless it "may" receive a complain, and with no explanation, it should not be an option at all.

A lot of admins trust rage.love's choices, and I am reliably told by (non-rage-love) French-speaking admins that mamot.fr has been kind of a cesspit, and while it's improving it's not unreasonable to still keep it silenced, if you're a site that doesn't federate with that sort of thing.
What you seem to be complaining about is the existence of tightly-moderated sites like rage.love and weirder.earth. There's demand for that, why do you complain about it? Do you feel like you have some entitlement to make them listen to you?

What you seem to be complaining about is the existence of tightly-moderated sites like rage.love and weirder.earth.
No, the main gripe is why these instances were chosen as the absolute reference regarding fediblocks.
You constantly dodge this question with constant red herrings and strawman arguments.

There's a thing Github does where it puts a little tag next to the owners and contributors of a repo, and I really feel like they should also put one on people who aren't owners or contributors, because one doesn't necessarily notice its absence. So I'll point it out to you: I'm not dodging, I'm just not the owner of the repo so I can't answer it.

(I can guess it's that, as I said, a lot of us trust rage.love's choices for servers at that level even if we don't choose to run our servers that way, and also that they were willing to permit their blocklist to be published in that way, which a lot of Tier 3 type servers are reluctant to.)

You could look into the source provided by the GitHub and have the answers as to why it was chosen. This is opt-in, this is why those instance were chosen, they chose to be there to share their blocklists. Nobody said rage.love has the best blocklist or whatever they just chose to share it.

For starters, I curate a list of trusted sources, including my own server, pulled from the Fedi Council. Admins of Tier1+ servers have opted in to being one of the Trusted Sources, if you see them listed here, I have their explicit permission.

https://writer.oliphant.social/oliphant/the-blocklist-algorithm
https://writer.oliphant.social/oliphant/the-fedi-council
Also yes, a lot of french instances have mamot at least silenced. I don't know why you're all acting so shocked when we told you we would do this so the moderation on the instance would start actually doing something.

So we're back to square one: this instance relies on an algorithm and no manual reviews will be performed because the Fedi Council said so.

Oh, so you're one of the FUD people. Noted.

A lot of admins trust rage.love's choices, and I am reliably told by (non-rage-love) French-speaking admins that mamot.fr has been kind of a cesspit, and while it's improving it's not unreasonable to still keep it silenced, if you're a site that doesn't federate with that sort of thing.

I can't debate this without numbers, and even if "a lot" is "100" or "1000", it will probably required more data to see if it's an objective reason that push to this action, if it was due to some specific account that can have been ban without excluding the instance, or something more biased. In all cases, a "reason" should be provided to understand what kind of policy dictate a domain to be muted.

What you seem to be complaining about is the existence of tightly-moderated sites like rage.love and weirder.earth. There's demand for that, why do you complain about it? Do you feel like you have some entitlement to make them listen to you?

Not at all. And I even wonder what statement make you think such a thing.
Rage.love probably have their own reason to choose to block or unblock anyone they want, it's their decision, their rules. They can block the entire world, users may choose to stick or not. The question is why this project sgrigson/oliphant, decide to uses their list as a "trusted source". You seems to said "because we, as admins, trust them".  Ok, but in that case, a "Reason" in front each decision can be a good start to be qualified as "trusted" and "debated". You see, it seems that a lot of french users trust "mamot.fr", because it's owned by LQDN, a big french organisation about internet freedom. So I don't say that you are wrong by trusting them, but I say that we can't debate if we haven't qualified infos to understand the "why" on this choice. We need "history" to confront pov.

Why do we need to manually vet a list when others, who have done prior vetting of these sites, and on whose views of the content of these sites we agree with?These lists are well documented as to what site is where and why they are there.As an instance runner, I don’t have the time to go through all 12k mastodon sites to individually look at them and go “yeah, they are all about hate speech there” or whatever. Someone else did that for me, documented it, and I will block it.Am I blindly just loading a list? No. I randomly looked at what I thought would be a good fit and am using that.The real reason these lists are a good idea and I find invaluable is in stopping a NEW site from spreading hate, etc on mastodon. If say a site pops up, and it’s just filled with a few users who are just going after people who are Trans on one site, I want to know about that. I want to proactively BLOCK that from my users. That is not what my instance is about.Sent from my iPadOn Jan 21, 2023, at 7:36 AM, 240-185 @.***> wrote:
So we're back to square one: this instance relies on an algorithm and no manual reviews will be performed because the Fedi Council said so.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

These lists are well documented as to what site is where and why they are there.

I may have miss something, but all my answer are based on the fact that NO, it's not well documented.
If I go to rage.love, all that I see is a list of muted server, with an empty "Reason" column. Can you pointed me to something better ?

Oh, so you're one of the FUD people. Noted.
I'm just interpreting @sapphaos's words.

Someone else did that for me, documented it, and I will block it.Am I blindly just loading a list? No.
This is where I dissent. One claim is not enough, and references have to be crossed, preferably from multiple users from multiple instances. And when major instances are affected by a request of fediblock like mamot or piaille, I personally raise an eyebrow first.

Yes, and if you RTM you will learn that this is a brand-new project and more sites are expected to be added.

but I say that we can't debate if we haven't qualified infos to understand the "why" on this choice. We need "history" to confront pov.

A reason-less listing just tells me, as admin, that the site has been flagged as perhaps needing closer attention. Which I paid: I went and checked French-speaking admins' opinions on the site, and learned, AS I SAID ABOVE, that they feel like mamot.fr used to be very bad and is struggling to improve. That's the system working as designed, what, exactly, is your problem?

A reason-less listing just tells me, as admin, that the site has been flagged as perhaps needing closer attention. Which I paid: I went and checked French-speaking admins' opinions on the site, and learned, AS I SAID ABOVE, that they feel like mamot.fr used to be very bad and is struggling to improve. That's the system working as designed, what, exactly, is your problem?

The problem is that "Opinion" and "feel like" is not a reason. It's nothing. As you said, it's Reason-less. May be you trust each other, may be not, may be one of you is homophobic and you don't even know. And this person have the right to add a domain in rage.love list and "you trust him, period". But may be you do the thing right, you talk, you exchange proof, you don't bannished without further notice and so on... how can we trust a list, and choose to used this tier 3, if we have no way to understand the process ?
You see, this entire issue will not even exist if in front of the domain "mamot.fr', we can have an clear view of what lead to silenced the instance. Better, we can rely on this information to explain why to "not" move to this instance to users who would join the fediverse.
So to be more specific, a reason is something like:

"From 2 weeks since October 1st, multiple harassment for sexual orientation from multiple user of this instance were commited, see example here and here. Admin of the instance were noticed and didn't react. We put this domain on the XXX list. Admin were notified and can choose to prove us that the problem is solved to be whitelisted again."

The time spend by an admin for writing this "Reason" is even shorter that all the time we already spend on this github issue.

Duplicate issue to #2


TTS JavaScript - play the same text will count the characters repeatedly

I have tried JavaScript sample for Speech Synthesis and it seems to work as expected.But when I play the same text,it will count the characters repeatedly.I found the characters not counted repeated when I use Speech Studio.How can I solve this problem?

Hello and thank you for posting this question. I'm from the Speech SDK team. I don't understand what you mean by "it will count the characters repeatedly". Please give more details. What is the text you are trying to synthesize? Please point to SDK samples in this repo that worked for you for this text and did not work for you for this text. Or provide example code of your own.
Thanks,
Darren
@yulin-li as FYI.

Hi,dargilco,
Thank you for your reply.Following the code in the example,https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/js/browser/synthesis.html
I was able to use Text-to-Speech successfully, but when I clicked the start synthesis button in succession, the number of characters was consumed several times, and the contents of the text box did not change at all. Is there any way to set it to the number of characters that will be consumed only once when the user auditions the same content?

@muyu0526 thank you for the details. @glharper @yulin-li can either one of you take a look at this? Thanks!

@muyu0526 I didn't quite get your point? Could you share a screen video of this issue?

when I click the start synthesis button twice,the number of characters was consumed twice,Is there any way to set it to the number of characters that will be consumed only once when the user auditions the same content?

Sorry,My English is a little rusty.I will repeat the question in Chinese.
我已经成功做出文字转语音的功能，按照这个示例，https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/js/browser/synthesis.html
当我连续点击两次试听按钮时，会出现重复计算字符数的情况。如图1所示，文本框中原本有28个字符数，在未修改内容的情况下，连续两次点击试听按钮，最终的计费字符数是56个。请问有什么办法可以让用户在未修改文本的情况下，只消耗一次字符数，也就是28个字符数？

Chinese characters are counted as two characters for billing, including Kanji used in Japanese, Hanja used in Korean, or Hanzi used in other languages. For more information, see Pricing.

See also in this price note

Please see this English example

Is there any way to set it to the number of characters that will be consumed only once when the user auditions the same content?


StackExchange has a new logo (and the current one has a gradient)

The icon I want is:

Name: StackExchange
URL: https://stackoverflow.com/company/
Link to icon: https://stackoverflow.com/company/logos

Vector version of the logo: https://cdn.sstatic.net/Sites/stackoverflow/company/img/logos/se/se-icon.svg?v=62f619494ccd
Official style guide or brand guide: https://stackoverflow.com/legal/trademark-guidance

Looks good. Thanks @baybal. And thank you @jaller94 for letting us know.

The commit above did not update the logo inside the box nor did it remove the gradient.
I sent a pull request to update the colours and remove the gradient.


Issue No.  #307 [FIXED] In the footer section of the site, the copyright year should be dynamically generated instead of being statically hardcoded.

@gauravsingh1281 have some conflict in index.html so please resolve it.

@Anupkjha2601 merge conflict resolved.

@Anupkjha2601 merge conflict resolved.


Append git revision id label.

The label is appened if the source context file exists and git revision
id is present in the file.

Is the failure just due to it using an old version? We should rebase when we've updated everything - hopefully in the next day or two - and see if that fixes it...

It has dependent on
https://github.com/googleapis/gax-dotnet/pull/159.
I am waiting for that PR to be approved.
How (often) does dot net libs pick up changes from GAX?

Ah - I hadn't spotted that. GAX builds tend to happen "as we need them", but we're heading to V1.0 at the moment. I have a few concerns about the GAX PR - will have a closer look and comment appropriately.


Signin backend

Description
Creates the endpoint for the signin functionality. Ensures passwords are hashed before being stored and compares hashed passwords.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Tested with postman and a dummy user on the local sqlite database.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Solid work, guys! Good job!


[Incident]Can't query the timestamp field  with  Timestamp type value

Driver version

mssql-jdbc-8.3.1.jre8-preview.jar
SQL Server version

liunx docker: mcr.microsoft.com/mssql/server:2017-latest
Client Operating System

liunx docker
JAVA/JVM version

java8
Table schema

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[taskexecutionhistory](
	[id] [int] IDENTITY(1,1) NOT NULL,
	[idquartzjob] [int] NULL,
	[taskstartdate] [datetime] NULL,
PRIMARY KEY CLUSTERED
(
	[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

Problem description

Expected behaviour:
Actual behaviour:
Error message/stack trace:
Any other details that can be helpful:
For the timestamp filed, don't query with the value of timestamp type, but used the string type, the result will be fetched.
but for the windows sqlserver, use the timestap type value, will be fetched the data.

JDBC trace logs

Reproduction code

try {
    Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    String url = "jdbc:sqlserver://localhost:1433;databaseName=tac";
    String user = "sa";
    String password = "Root1234!";
    Connection connection = DriverManager.getConnection(url,user,password);
    String sql = "select * from taskexecutionhistory this_ where this_.idquartzjob=? and this_.taskstartdate=?";
    PreparedStatement stmt = connection.prepareStatement(sql);
    stmt.setInt(1, 1);
    stmt.setTimestamp(2, new Timestamp(1595457304057L));
    ResultSet rs = stmt.executeQuery();
    System.out.println("Office Timestamp===================");
    while(rs.next()){
        System.out.println(rs.getString("id"));
        System.out.println(rs.getString("idquartzjob"));
        System.out.println(rs.getString("taskstartdate"));
    }
    stmt.setString(2, "2020-07-23 06:35:04.057");
    rs = stmt.executeQuery();
    System.out.println("Office String===================");
    while(rs.next()){
        System.out.println(rs.getString("id"));
        System.out.println(rs.getString("idquartzjob"));
        System.out.println(rs.getString("taskstartdate"));
    }
    Class.forName("net.sourceforge.jtds.jdbc.Driver");
    url = "jdbc:jtds:sqlserver://localhost:1433/tac";
    connection = DriverManager.getConnection(url,user,password);
    stmt = connection.prepareStatement(sql);
    stmt.setInt(1, 1);
    stmt.setTimestamp(2, new Timestamp(1595457304057L));
    rs = stmt.executeQuery();
    System.out.println("JTDS timestamp===================");
    while(rs.next()){
        System.out.println(rs.getString("id"));
        System.out.println(rs.getString("idquartzjob"));
        System.out.println(rs.getString("taskstartdate"));
    }
    stmt.setString(2, "2020-07-23 06:35:04.057"); //new Timestamp(1595426707000L)
    rs = stmt.executeQuery();
    System.out.println("JTDS String===================");
    while(rs.next()){
        System.out.println(rs.getString("id"));
        System.out.println(rs.getString("idquartzjob"));
        System.out.println(rs.getString("taskstartdate"));
    }
} catch (Exception e) {
    e.printStackTrace();
}

the output:
Result:

Execute on Liunx which contains MSSQL

Office Timestamp===================
Office String===================
1
1
2020-07-23 06:35:04.057
JTDS timestamp===================
JTDS String===================
1
1
2020-07-23 06:35:04.057

Execute on windows and remote connect liunx MSSQL

Office Timestamp===================
Office String===================
1
1
2020-07-23 06:35:04.057
JTDS timestamp===================
1
1
2020-07-23 06:35:04.057
JTDS String===================
1
1
2020-07-23 06:35:04.057

Execute on windows and local MSSQL：

Office Timestamp===================
1
1
2020-07-23 10:12:12.433
Office String===================
1
1
2020-07-23 10:12:12.433
JTDS timestamp===================
1
1
2020-07-23 10:12:12.433
JTDS String===================
1
1
2020-07-23 10:12:12.433

Hi @zfkang-talend, I'll see if I can reproduce the issue on our end and get back to you.

Hi @zfkang-talend, so the reason this is happening is because the driver expects a java.sql.TIMESTAMP to be a datetime(2). And datetime cannot be implicitly converted to a datetime(2) on the server side. JTDS works because their TIMESTAMP supports smalldatetime and datetime, whereas we technically have it mapped to datetime and datetime(2). There's no fix for this currently, and the team will discuss what to do moving forward.

Hi @zfkang-talend, do you have any question regarding my comment above? Does the workaround resolve your issue? We've added a note on the datetime data type mapping on our MSDN site to clarify this interation.

Closing due to inactivity, please feel free to re-open/create a new issue if there are anymore questions.


proposal: testing: Flag to continue testing after -failfast failure

Problem
After using go test -failfast to find the first failing test, then fixing the failure, there is no straightforward way to resume the tests from the point of failure. I have to either run all the earlier tests again, or enumerate the list of tests that come after the failing test.
Proposal
Add a flag such that -run TestFoo will not only run all tests matching TestFoo but all tests after the first such match.
Example
$ go test -failfast
--- PASS: TestA
--- PASS: TestB
--- FAIL: TestC
$ patch -i fix_test_c.patch
$ go test -run TestC
--- PASS: TestC
$ go test -failfast
--- PASS: TestA
--- PASS: TestB
--- PASS: TestC
--- PASS: TestD
--- FAIL: TestE

I didn't want to run TestA or TestB again here, or TestC an extra time. I would rather have done something like
go test -run TestC -andlatertests -failfast

(I acknowledge that's not a good name for the flag)

This seems like it is only relevant in packages where the tests are very slow. In most of the code I work on, running all the tests again would be quicker than typing out all the right flags to selectively re-run the tests that weren't run the first time. In addition, if you're making edits to the code to fix the first failure, it's possible to introduce new failures, so it seems to me that I'd want to run all the tests again anyway (even if they're slow).
I also think this is a fairly special-purpose flag that wouldn't be used much but would add to the already considerable weight of documentation for the testing package, go help testflag, and so on.

Yes, this change is aimed at packages with slow tests. Integration tests for the package I'm working on right now take 15-20 minutes to run in the environments we generally test in.

typing out all the right flags to selectively re-run the tests that weren't run the first time

The point here is to reduce this to a single flag.

it seems to me that I'd want to run all the tests again anyway (even if they're slow)

Running all the tests again once makes sense. But that's not what happens in the situations this is aimed at; the early tests end up getting run far more times than the later tests.

would add to the already considerable weight of documentation

This could be documented like -failfast, only appearing in some docs and not others. go help testflag would get longer, but not https://pkg.go.dev/testing or other high-visibility documentation.

The point here is to reduce this to a single flag.

In addition to -andlatertests you also need to provide an appropriate test name for -run. So I count two additional flags I'd type out in order to use this feature.
I will also say that the fact that this proposed flag is intertwined with the -run flag (it both mandates -run and changes its meaning) is a fairly confusing aspect of it.

Running all the tests again once makes sense. But that's not what happens in the situations this is aimed at; the early tests end up getting run far more times than the later tests.

In this workflow:
$ go test -failfast
# ... fix one failure ...
$ go test -failfast
# ... fix another failure ...
# etc

you run the tests once each time you change something, which is generally the best approach IMO. Each edit is an opportunity to break a previously-passing test.
If your tests take many minutes to run, then I could see why you'd want to avoid re-running the tests after every change. Maybe you want to re-test only the just-fixed test and then only do one big re-run at the end or something like that. But that workflow seems fairly specialized and not something we need to support specially with go test flags.
If I were facing a similar situation some options I'd think about would include:

Just manually invoking the tests I want to run
Using the -skip flag to skip some slow tests that I've already fixed or don't want to re-run
Inserting a few temporary t.Skips if there are a few particularly slow tests that I don't want to keep re-testing

A more permanent version of this could be to have -short mode where certain very slow tests are skipped

Writing a tool to implement the described workflow by running go test for me with -run and/or -skip and taking advantage of the -json flag to understand the output as well as go test -list
Making the tests run faster

In addition to -andlatertests you also need to provide an appropriate test name for -run. So I count two additional flags I'd type out in order to use this feature.

This feature isn't aimed at you. For people who are already -runing the failing test (which, to be frank, should be everyone, but that's not a hill I care to die on today) it's just one additional flag.

I will also say that the fact that this proposed flag is intertwined with the -run flag (it both mandates -run and changes its meaning) is a fairly confusing aspect of it.

I agree this might be confusing. Another approach could be to have a new -runstartat Foo that does what -run Foo -andlatertests did in my original example.

Maybe you want to re-test only the just-fixed test and then only do one big re-run at the end or something like that.

Yes. Exactly that.

But that workflow seems fairly specialized

I propose that part of that specialization is because we don't have this feature. People's testing habits are based on the features available to them.

Just manually invoking the tests I want to run

It's a long list. And yes, that's what I'm doing now. My current plan is to put together a shell script that does a bunch of go test -list, finds the test I stopped on, then runs all the remaining tests. My first attempt ran into unexpected complexity for assembling the equivalent list of tests to a normal test run, which prompted me to write this proposal instead.

... [slow tests] ...

My integration tests are mostly of similar length. There are no slow tests to omit or t.Skip. I'd be doing it for every test before the now-passing one, which just brings us back to the original problem.
Also, this isn't just about the project I'm working on right now. The same problem exists in half the closest dozen related projects (mostly written by substantially different people / teams / etc).

Also, a lot of the suggested alternatives become much more tedious/difficult when go test is buried deep in a Makefile or other build process.

How should handle this handle tests that call t.Parallel ?

I don't think making a test parallelizable affects the order in which tests are launched, and it's that order that this option would respect. Do you have a particular scenario in mind?

t.Parallel matters because the current behavior of -failfast with parallel tests is somewhat ambiguous.
There is also an analogous interaction with package patterns. (go test can test many packages at a time, not just one.)
See:

#30522
#33038

For parallel tests, there could be some overlap. If TestA, TestB, TestC are run in parallel and TestC finishes before TestB fails, then starting over at TestB would run TestC again.
Running tests across packages, as long as -failfast doesn't stop other packages from testing, would also produce some repeat tests.
However, both of these cases would still produce fewer repeat tests than running all tests again.

Right now parallel tests work by starting the test and then immediately suspending it.  Once all the non-parallel tests have completed, the parallel tests are started, with the number of tests run concurrently controlled by the -test.parallel option (default is GOMAXPROCS).  So they don't fit cleanly into a paradigm of continuing the tests from a specific point.  And it's even less clear if the test that failed was itself a parallel test.

Thanks. That wasn't clear to me. You're right that this would not fit cleanly here, but it would still reduce the number of tests run in most such cases.

The motivation here is unclear, or at least unconvincing. If you want to see all the other test failures, why use -failfast in the first place?

I've added a "Goal" section to the original post to clarify motivation, as follows:
Reduce the total time to resolve multiple bugs that each affect one or more tests but not most or all tests. Reduce the number of times each test is run.


Installation Problem with Python3.6

When trying to run pip install tellurium I keep getting a non-deterministic error stating that one of the following packages is missing/cannot be found: phrasedm1, antimony, tesedml
& C:/Users/Nathan/AppData/Local/Programs/Python/Python36-32/Scripts/pip install tellurium      Collecting tellurium   Using cached tellurium-2.1.5-py2.py3-none-any.whl (110 kB) Requirement already satisfied: numpy>=1.11.0 in c:\users\nathan\appdata\local\programs\python\python36-32\lib\site-packages (from tellurium) (1.18.1) Requirement already satisfied: scipy>=0.19.0 in c:\users\nathan\appdata\roaming\python\python36\site-packages (from tellurium) (1.4.1)      Requirement already satisfied: ipykernel>=4.6.1 in c:\users\nathan\appdata\roaming\python\python36\site-packages (from tellurium) (5.1.4)   Requirement already satisfied: jupyter-client>=5.1.0 in c:\users\nathan\appdata\roaming\python\python36\site-packages (from tellurium) (5.3.4) Collecting rrplugins>=1.1.8   Using cached rrplugins-1.2.2-py2.py3-none-any.whl (25 kB) ERROR: Could not find a version that satisfies the requirement phrasedml>=1.0.9 (from tellurium) (from versions: none) ERROR: No matching distribution found for phrasedml>=1.0.9 (from tellurium)
Another instance:
C:/Users/Nathan/AppData/Local/Programs/Python/Python36-32/Scripts/pip install tellurium Collecting tellurium   Using cached tellurium-2.1.5-py2.py3-none-any.whl (110 kB) Collecting requests   Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB) ERROR: Could not find a version that satisfies the requirement tesedml>=0.4.3 (from tellurium) (from versions: none) ERROR: No matching distribution found for tesedml>=0.4.3 (from tellurium)
Would appreciate some help.. Thanks!

Could someone try to answer this query?
Herbert
On Mon, Mar 9, 2020 at 12:31 PM Cerasys<EMAIL_ADDRESS>wrote:

When trying to run pip install tellurium I keep getting a
non-deterministic error stating that one of the following packages is
missing/cannot be found: phrasedm1, antimony, tesedml
& C:/Users/Nathan/AppData/Local/Programs/Python/Python36-32/Scripts/pip
install tellurium Collecting tellurium Using cached
tellurium-2.1.5-py2.py3-none-any.whl (110 kB) Requirement already
satisfied: numpy>=1.11.0 in
c:\users\nathan\appdata\local\programs\python\python36-32\lib\site-packages
(from tellurium) (1.18.1) Requirement already satisfied: scipy>=0.19.0 in
c:\users\nathan\appdata\roaming\python\python36\site-packages (from
tellurium) (1.4.1) Requirement already satisfied: ipykernel>=4.6.1 in
c:\users\nathan\appdata\roaming\python\python36\site-packages (from
tellurium) (5.1.4) Requirement already satisfied: jupyter-client>=5.1.0 in
c:\users\nathan\appdata\roaming\python\python36\site-packages (from
tellurium) (5.3.4) Collecting rrplugins>=1.1.8 Using cached
rrplugins-1.2.2-py2.py3-none-any.whl (25 kB) ERROR: Could not find a
version that satisfies the requirement phrasedml>=1.0.9 (from tellurium)
(from versions: none) ERROR: No matching distribution found for
phrasedml>=1.0.9 (from tellurium)
Another instance:
C:/Users/Nathan/AppData/Local/Programs/Python/Python36-32/Scripts/pip
install tellurium Collecting tellurium Using cached
tellurium-2.1.5-py2.py3-none-any.whl (110 kB) Collecting requests Using
cached requests-2.23.0-py2.py3-none-any.whl (58 kB) ERROR: Could not find a
version that satisfies the requirement tesedml>=0.4.3 (from tellurium)
(from versions: none) ERROR: No matching distribution found for
tesedml>=0.4.3 (from tellurium)
Would appreciate some help.. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/448?email_source=notifications&email_token=AAIBSDRLPQSHDGKGG6STHEDRGVGY7A5CNFSM4LEP4DLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITVXNBA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIBSDUYFU65ZMTWEWXAEY3RGVGY7ANCNFSM4LEP4DLA
.

--
Herbert Sauro, Professor
University of Washington, Bioengineering
206-685-2119, www.sys-bio.org
<EMAIL_ADDRESS>Books: http://books.analogmachine.org/

I ended up using conda to install and that worked. However this is still a bug for the basic python 3.6 package

We’ve started  on revamping the installation process because at the moment
it fail about 1 out of 100 on the Mac platform.
Herbert
On Mon, Mar 9, 2020 at 12:54 PM Cerasys<EMAIL_ADDRESS>wrote:

I ended up using conda to install and that worked. However this is still a
bug for the basic python 3.6 package
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/448?email_source=notifications&email_token=AAIBSDUV7XLOCKC54YZ76F3RGVJNXA5CNFSM4LEP4DLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOI2L6I#issuecomment-596747769,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIBSDXNZTBBBSRYQCH7KHDRGVJNXANCNFSM4LEP4DLA
.

--
Herbert Sauro, Professor
University of Washington, Bioengineering
206-685-2119, www.sys-bio.org
<EMAIL_ADDRESS>Books: http://books.analogmachine.org/

Are you using 32 bit Python by any chance? I believe Tellurium does not support 32 bit Python anymore.


feat: add boost asio

as title
need skip url stabiltiy check

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (boost.asio) have been updated in this PR. Please review the changes.

@wep21 How to  use boringssl/openssl? Thanks~
Usually just add bazel_dep(name = "boost.asio", version = "1.83.0.bcr.1") MODULE.bazel file, but seems it's 'no_ssl' by default.


Accept traffic from Docker devices

Use ohai detected interface information and automatically ACCEPT traffic from any interface with type docker as it's always local.

Replaced by #196


Fix typos in authwit.md

Was reading through the authwit docs and found a couple of typos/grammar mistakes and fixed them.

Thanks for the contribution! We have a policy about typo/doc/minor fixes where we will merge this ourselves as commit counts have become a farmed metric. This is not ideal but we appreciate the understanding that it is something we just have to apply consistently. Will redo this :)

No worries, happy to help making your already amazing docs even better!


Lens gets wrong location when it is used inside

Hi I am trying to integrate your image zoom plugin in my gallery plugin. But the zoom lens gets wrong location, any idea?
Here is a stackblitz

I think this issue might be related to the one reported in #5, except a slightly different use case. Really appreciate the stackblitz as it gives me some more specific use cases I need to test for.
Life has been really crazy over the summer so I'm not sure when I'll get around to putting some more work into this project. Pull requests are welcome though, if you find a good solution.

Has anyone able to find the solution ?

Hi @MurhafSousli & @ashutiwari - I just released a beta version 0.6.0 to npm where I rewrote a big chunk of how I calculate the zooming position. This has resolved some issues I've seen with big pages and several ngx-image-zoom elements. Would you mind giving it a test and see if it resolves your issues as well?

Closing this as fixed in 0.6.0, feel free to reopen or comment if there's still issues with some more details.


Allow human-friendly IP addresses

Adds fix_address/1 to src/emqttd.erl which detects string or Erlang textual binary IP addresses and parses them via inet:parse_address/1. Doing so makes configuration more human friendly as most people expect to enter IP addresses as strings rather than tuples.

Hi @kevsmith, Thanks for the PR.  The emqttd 1.1 has been released with eSockd 4.0, and supports to  configure the human-friendly IP Address now:
       {mqtt, {"<IP_ADDRESS>", 1883}, [
            %% Size of acceptor pool
            {acceptors, 16},

            %% Maximum number of concurrent clients
            {max_clients, 512},

            ...

        ]},


SAK-32270 Make tools/subsites list scrollable on a mobile screen.

Post fix:

It's not working for me. I built your branch from scratch and am getting the same behaviour:

Thanks for looking I'll sort it out now.

Adrian, are you able to check this fix again?  I've done a pull and complete build of master and created a new temporary branch with a cherry-pick of this commit and re-build of portal and library and this fix still looks fine.  Git status doesn't show any rogue code change that didn't get into this commit.
Thanks for your help with getting this merged.

That's odd. I rebuilt the whole thing and hosed my cache multiple times. I'll have a go tonight - on the day job now.


adding some enums due to binance API adaptations

Binance added some filters and rate limit types.

Thanks! :)


Correction in doc and added import in example

@sibiryakov I rebased as you suggested. Please review.

Current coverage is 70.17% (diff: 100%)

Merging #230 into master will increase coverage by 0.04%

@@             master       #230   diff @@
==========================================
  Files            68         68
  Lines          4691       4691
  Methods           0          0
  Messages          0          0
  Branches        582        636    +54
==========================================
+ Hits           3290       3292     +2
+ Misses         1259       1257     -2
  Partials        142        142

Powered by Codecov. Last update 59876a5...7b7e444

thanks!


Creating bit-identical docx files

Hi,
when saving docx with python-docx, the individual files in the zip file have the current date and time as the modification date.
Re-creating the files with the same input data therefore leads to non bit-identical results.
If one manages docx in version control systems, such as SVN or git, files are marked as changed, although they are identical in content.
The cause lies in the module "phys_pkg.py", class "_ZipPkgWriter", method "write". Is it possible to change the method as follows?
old:
def write(self, pack_uri, blob):
    self._zipf.writestr(pack_uri.membername, blob)

new:
def write(self, pack_uri, blob):
    zinfo = ZipInfo(filename=pack_uri.membername, date_time=[1980, 1, 1, 0, 0, 0])
    zinfo.compress_type=ZIP_DEFLATED

    self._zipf.writestr(zinfo, blob)

Btw, if a docx is saved with Word (Office365), the date is also always 1980-1-1.
Thanks a lot
Matthias

If I understand right:
You have a file, test.docx, that has the MD5 of XYZ.
You open it with python-docx, and close it without changing anything, and then the hash is not XYZ anymore?
And thats because python-docx alters the modified date by default?

If I understand right: You have a file, test.docx, that has the MD5 of XYZ. You open it with python-docx, and close it without changing anything, and then the hash is not XYZ anymore? And thats because python-docx alters the modified date by default?

No, python-docx stores a creation date in the file thus an identical document has a different MD5. Creation date has no purpose inside the file. File systems store file metadata such as creation date.
@Matthias1975 there is an active fork of docx maybe check out and report this problem on https://github.com/HiTalentAlgorithms/python-docx


Convert InstallLcmapsVoms

https://twiki.opensciencegrid.org/bin/view/Documentation/Release3/InstallLcmapsVoms

[ ] Add date to spreadsheet
[ ] Replace twiki doc with link

Can you take another look?

LGTM. Go ahead and merge once the conflicts are sorted out


Ability to pass advanced searches to Bulk Attribution

As a user, I want to use the advanced search
E.g. all agent strings of L.K. Gloyd AND from the INHS Insect Collection GBIF dataset.
And then pass those to "Bulk Attribution".

related to #316

I have a magic bullet, bulk attributor used in an admin interface than can do these sorts of things (and more!) - I should make this available to power users with some help documentation.
In the meanwhile (unrelated), I noticed agent strings from INHS confused the dwc_agent name parser:
L.J. Stannard, O'Neill, L.K. Gloyd
...parses as:
https://api.bionomia.net/parse.json?names=L.J. Stannard, O'Neill, L.K. Gloyd
This partly explains why there had been so many undiscovered L.K. Gloyd specimen records. She had been parsed as having a family name, O'Neill and so the search score was much lower than it could have been. Had there been an initial for O'Neill, eg "P." then the parser would have figured it out, but this would likely be counter to your verbatim capture:
https://api.bionomia.net/parse.json?names=L.J. Stannard, P. O'Neill, L.K. Gloyd


config/v1: Introduce operatorhub API

Add the operatorhub.config.openshift.io API that can be used to enable and disable default OperatorSources on the cluster. Disabling an OperatorSource will remove the object from the cluster and enabling an OperatorSource will add the object to the cluster using the default manifest that is part of the operator image.

/hold

/cc @ecordell @shawn-hurley

looks good to me

/hold cancel
Canceling hold as exception as been approved for Air gapped OperatorHub.

@sttts, I have made the changes you requested. Please take a look.

@sttts @shawn-hurley @ecordell I have addressed your comments. Please take a look.

@sttts I have made all the field names lowercase as you requested. Please take a look.

/lgtm
All the comments have been addressed

/approve

@smarterclayton, I have addressed your comments in #405. Please take a look.


No shrinking for BackdropFilter's cull rect

This will be a breaking change. Our old behavior may generate confusions
for a sample app like our added golden test: Skia will shrink the cull
rect (and thus the filtered area) to the text. The new behavior will
fill the BackdropFilter to its parent/ancestor clip. This is more
in line with our clip behaviors (no clip by default).
If this breaks your app, wrap the BackdropFilter with a ClipRect.
[wip] The golden images are not uploaded yet. I'll wait for the initial
round of review to approve the golden test before uploading them.
The correct golden image:

The incorrect golden image before this PR:

Can you document on BackdropFilter that it may potentially need to be wrapped in a ClipRect?

CC @Hixie for the breaking change. Since there's no user complaining yet, we may wait a while and send an ask/announcement to flutter-dev before landing this.

LGTM \o/

Since there's no user complaining yet, we may wait a while and send an ask/announcement to flutter-dev before landing this.

We should definitely do the breaking change policy if we land this, regardless of who is complaining.

This change should have a corresponding documentation change. Either fixing what we say now, or adding documentation to explain what's going on. We need examples of how to get the effect we want, ideally with actual diagrams (see the assets-for-api-docs repo for how to make diagrams) and sample code.

This took us a while to figure out initially and now we are adding a container with Color.transparant background around most of our BackdropFilters. Not a deal breaker of course, but slightly inconvenient.

Doc updated. Added issue https://github.com/flutter/flutter/issues/29070 with the breaking change announcement. Please review the updated PR.

@dnfield after your PhysicalShapeLayer revert, my golden version is having a conflict since my golden patch is after your golden patch. Should I wait for your reland before merging this? (It seems that no new goldens can be updated unless you either reland the PR, or revert the golden commit that includes the PhysicalShapeLayer fix.)

If you can wait for the engine roll to land that would be idea.

Either that, or take the same goldens.version as the engine roll has here: https://github.com/flutter/flutter/pull/29363

I'll wait for the manual roll :)


test(olm): Add mutation tests for receiver_chain

This fixes:
MISSED   src/olm/session/receiver_chain.rs:58:9: replace MessageKeyStore::remove_message_key with () in 0.8s build + 3.6s test
MISSED   src/olm/session/receiver_chain.rs:122:24: replace > with == in ReceiverChain::find_message_key in 0.8s build + 3.0s test
MISSED   src/olm/session/receiver_chain.rs:135:32: replace - with + in ReceiverChain::find_message_key in 0.8s build + 3.0s test
MISSED   src/olm/session/receiver_chain.rs:135:56: replace > with == in ReceiverChain::find_message_key in 0.9s build + 3.2s test

Relates to: #78

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.03%. Comparing base (993410b) to head (7847301).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #132      +/-   ##
==========================================
+ Coverage   84.92%   85.03%   +0.11%
==========================================
  Files          32       32
  Lines        1758     1758
==========================================
+ Hits         1493     1495       +2
+ Misses        265      263       -2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: Documentation: version number and usage

fix: Documentation: version number and usage
Updated version number to latest release.
Improved documentation:

Synced Javadoc and README.md, correcting error about filter in Javadoc
Made example in Javadoc more easy to read and copy

Made 2 fields final to prevent editor/compiler warning.
Fixes #91

@googlebot I signed it!

Hi @jstuyts, thanks for your patience - I believe this issue should be fixed. Can you try rerunning your presubmit checks?

I spent 10 minutes trying to find the rerun button or command, but I cannot find it.

@jstuyts I was able to rerun them! If you go under the 'Checks' tab, click on 'ci' and one of the builds, and rerun is in the top right corner. Unfortunately, it looks like it's still failing. @chingor13 can you help take a look here?


CA - SimpleReport Errors - OBX-23.6.2 and OBX-23.6.3 are missing

Describe the bug
We’re seeing errors for quite a few SimpleReport users that started yesterday.  The error is that OBX-23.6.2 and OBX-23.6.3 are missing.  I’ve copied it below and provided some example MSH-4 and MSH-10 values.
Impact
But what is strange is that not all results from each of these submitters are failing – the errors seem sporadic – but they are widely distributed across quite a number of SR users – we have over 50 different locations with errors.
Error Message:
Required subcomponent missing in segment 6:OBX.  Field 23, repetition 1, component 6 is missing subcomponent 2, which is required in data structure 2.5.1CA:HD.
Required subcomponent missing in segment 6:OBX.  Field 23, repetition 1, component 6 is missing subcomponent 3, which is required in data structure 2.5.1CA:HD.
Advanced Molecular D^CDPH000085^CLIA    d690b2eb-c650-46d6-b2c9-13d9a7939ee8
Altus Lab Wellness C^CDPH000085^CLIA    f2e71744-0fbd-4867-b69b-6530f243abe7
Alvarado Hospital Me^CDPH000085^CLIA    0b488343-ad98-4e94-a254-d79d01597056
American Indian Chan^CDPH000085^CLIA    ff192148-02e4-49fd-b520-7c7f4cfed9ab
Assured Home Health^CDPH000085^CLIA    f4cddac4-4983-4ff9-b8a6-d54c53a8f3d5
Aurora San Diego, LL^CDPH000085^CLIA    19c6d795-ff2e-41cc-9bd7-bf5fb081633f
Axis Community Healt^CDPH000077^CLIA    386108e2-1a25-4677-86c8-f3210229a334
Berenda^CDPH000085^CLIA    5ac3326b-e40d-4209-b82a-3ea0f9bc05fd
BHS American Recover^CDPH000085^CLIA    229d6cdd-b8e8-47f1-aa92-e461c2fb77a2
CCC College of the C^CDPH000085^CLIA    22cbb40a-2e6f-42bc-9180-b17c5762fa11
Cedar Crest Nursing^CDPH000085^CLIA   04b0f4f9-8369-43ff-8e3d-4f6eba1eb966
Cedars Health Main L^CDPH000085^CLIA    2ab2cb9f-b284-48ce-83d8-897afe12ce76
Chavez^CDPH000085^CLIA     29947656-c1e9-4a8e-8dd0-80832aa35cba

There is no CSV file associate with this message ID 'd690b2e-c650-46d6-b2c9-13d9a7939ee8'

@oslynn Hi - how can I help you? Should I contact the customer and ask for the associated CSV file?

@Adrian-Brewster @anshulkumar-usds, how can resubmit these messages?  Is it via email?  If so, may I have the contact info for me to resubmit?

Hi @oslynn, my apologies in not including earlier.  The email is<EMAIL_ADDRESS>

@sliu1000 I apologize for not seeing your message.  Yes, please as ask the customer for the associated CSV files.  Thanks.

@sliu1000 , should resubmit by email to<EMAIL_ADDRESS>

@oslynn Yes, I just asked her to send via email. I'll add here once received.

@sliu1000 , thanks.

Hi @sliu1000 and @oslynn, I want to clarify here. @oslynn, you have the files ready to send to CA? If so, then we do not need any additional CSV files from CA. The next step is to send the files. In the past, I have just sent the files via their SFTP connection. @oslynn are you comfortable doing that? The other potential option is encrypted email. @sliu1000 Can you ask CA if encrypted email is an option to send a small number of HL7 results and if so, then which email address should that encrypted email be sent to?

@brick-green, yes I have all the HL7 files ready to resubmit.  It is easy for me to encrypt and email files to them.  I will wait for @sliu1000 to clarify with them.  Thanks.

@oslynn @brick-green I just sent Carroll a follow-up email. I'll update you all once I receive a response.

@sliu1000 Just saw the email. The contact's first name is actually Ellaison. Carroll is her last name.  Next, it looks like there's still a bit of confusion. Ellaison does not need to send us any files. We are interested in sending CA an encrypted email with the HL7 results. We need to know if that is an accepted practice for CA. So we just need you to ask if CA is willing to accept HL7 results via encrypted email.

@brick-green Got it, I'll resend the email with the correction.

@sliu1000 would you please let me know if I can email the resubmission back to CA.  Thanks.

@oslynn GM - CA has not emailed us back yet. I'll give them a call in a few hours since they are on west coast time.

@oslynn FYI - I spoke with Adrian and he advised me that you two spoke about sending it via SFTP.

@sliu1000 I sftped all files to CA already.  Would you please notify them? Thanks.

@oslynn I just let them know.


Updating prop dayLabels doesn't work

When the prop dayLabels changes after DatePicker is mounted, it is not reflected.
It's because this value is saved to state which is then passed down to the Calendar component.

Pull requests are appreciated!

Hi there, when is this one going to be released? Thanks!


Unicode Path's Issue

Hi,
First sorry if I misbehave here by reporting an issue originally from another software using your library in back end.
So I got an issue with HandBrake software to load my preferences stored in a json file.
Posted an issue over there, and the dev report that the issue is due to the fact that I have an UNICODE username, and so my user Windows directory path isn't handled by the json library they use, namely jansson lib. : https://github.com/HandBrake/HandBrake/issues/2427
They post a workaround, but but no fix from them, it is on you to fix your lib they said.
Thanks.

json_load_file() takes const char *path and passes it directly to fopen():
https://github.com/akheron/jansson/blob/v2.12/src/load.c#L1074
On a linux or mac system, these file path C strings would be encoded in utf8. Windows has always been different in these cases ... it has other file APIs that take utf16-le, but that's not really compatible with C strings. On windows fopen() considers the filename to be in the ANSI codepage by default (or the OEM codepage if the windows application configured this globally). But there is a wacky mode string format to enable utf8: "rb,ccs=UTF-8":
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=vs-2019#unicode-support
So jansson could do that when compiled on Windows ... but is HandBrake encoding the path string as utf-8 on windows?

correction: the mode "ccs=UTF-8" is for transforming the file contents, it does not apply to the path argument, nevermind that idea

Hi, So I look on this, and what I found is, in theory, usign _wfopen() instead of fopen().
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?redirectedfrom=MSDN&view=vs-2019
I could test it (never compiled myself a GitHub project before but I can try). But upfront is usign this official alternative function instead of legacy fopen() sound ok to you or ring some alarm to you ?
Thx
Mr Maignan A.
Note : I’m french so my English isn’t perfect.
De : Pierce<EMAIL_ADDRESS>Envoyé le :mercredi 22 avril 2020 06:02
À<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Objet :Re: [akheron/jansson] Unicode Path's Issue (#531)
correction: the mode "ccs=UTF-8" is for transforming the file contents, it does not apply to the path argument, nevermind that idea
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/akheron/jansson/issues/531#issuecomment-617535581, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIU7PAECRLCWNFC3ZUEMJCTRNZT4XANCNFSM4MNRSUWA.

Handbrake could open the file with unicode name themselves using _wfopen and call json_loadf on the FILE* handle. I'd rather not add Windows specific file opening stuff to Jansson.

This seems like a reasonable documentation improvement to specify a known limitation for Windows. We could advise json_loadf with an already open FILE* as the method with best compatibility with non-ASCII filenames.

Looks like they already fixed it that way: https://github.com/HandBrake/HandBrake/commit/cd252068e94ea1edff177e5abe93c38c5eb6a037
(hb_fopen() uses _wfopen_s() on windows, and converts path to utf16 for it)

Thanks !
I was battling against cygwin and stuff to try compile handbrake myself once I understood HandBrake get their 3rd party Library, like yours, on compile time ! (fetching them online from repo, compile them all in a single dll, the « core » of handbrake if I am right (well after very few hours looking on sources)). So yeah forking my own jansson lib was useless here as they get their own jansson lib online.
And compiling HandBrake on Windows need … Linux ! That I don’t have, so was currently trying/texting to do the compile using cygwin, and then your mail !
So yeah, you pointed out exactly where they already used _wfopen() (actually _wfopen_s(), I supose a variant of previous one) and they could reuse this code to handle UNICODE Path.
So I see you contacted HandBrake dev, and help them out with my concern !
I hope taking the liberty to contact you directly will not be perceived bad from them, or your team.
If so, then I Apologize.
So for now, continuing trying to compile and build HandBrake with this new modification you suggested to them ! (and I still don’t understand why a crossplatform software like handbrake, need a linux OS to perform compilation …)
Mr Maignan A.
De : Pierce<EMAIL_ADDRESS>Envoyé le :mercredi 22 avril 2020 17:52
À<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Objet :Re: [akheron/jansson] Unicode Path's Issue (#531)
Looks like they already fixed it that way: HandBrake/HandBrake@cd25206https://github.com/HandBrake/HandBrake/commit/cd252068e94ea1edff177e5abe93c38c5eb6a037
(hb_fopen() uses _wfopen_s() on windows, and converts path to utf16 for it)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/akheron/jansson/issues/531#issuecomment-617864930, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIU7PAET3UQ4RMXQHKJ4TVLRN4HFJANCNFSM4MNRSUWA.


Adding medtronic commands to iterate glucose and history by hours

$ openaps use pump iter_glucose_hours -h
usage: openaps-use pump iter_glucose_hours [-h] [--now NOW] hours

 Read latest n hours of glucose data

positional arguments:
  hours       The number of hours of historical data to retrieve

optional arguments:
  -h, --help  show this help message and exit
  --now NOW   A read_clock report filename from which to offset the hours

$ openaps use pump iter_pump_hours -h
usage: openaps-use pump iter_pump_hours [-h] [--now NOW] hours

 Read latest n hours of pump records

positional arguments:
  hours       The number of hours of historical data to retrieve

optional arguments:
  -h, --help  show this help message and exit
  --now NOW   A read_clock report filename from which to offset the hours

Examples:
Read the last 4 hours of glucose data, beginning from the latest records
$ openaps use pump iter_glucose_hours 4

Read the last 2.5 hours of history data prior to a specific clock value, beginning from the latest history
$ openaps use pump iter_pump_hours 2.5 --now clock.json

Fixes #24

Very nifty.


auto sd paint, installs but does not install anything

https://github.com/Interpause/auto-sd-paint-ext.git

also it installs in tmp. unless it gos there

got it to work. i just needed to cheat


Nightly on dist_linux32 failing with invalid memory access

32bit specs have been causing trouble lately with running out of memory, and now the dist_linux32 job fails. This also prevents nightlies for other platforms to be published.
https://app.circleci.com/pipelines/github/crystal-lang/crystal/4918/workflows/a19a6143-a89f-4979-aaea-f3193d6f257d/jobs/57110

Only core members can see the job log 😕
We could try to move to GitHub Actions, the VMs have 7GB of RAM – should be enough?

Only core members can see the job log 😕
We could try to move to GitHub Actions, the VMs have 7GB of RAM – should be enough?

Only core members can see the job log 😕

Not true, just need to log in.

Only core members can see the job log 😕

Not true, just need to log in.

Any Circle CI account can access it? Why they require this or access to our GitHub/Bitbucket account... shame :(

Any Circle CI account can access it? Why they require this or access to our GitHub/Bitbucket account... shame :(


Can't reference assembly from script if it's already loaded by Cake.exe / Cake.dll

Suggestion is to move the ScriptAssemblyResolver to outer scope.
PR soon...

Closing since this will be resolved in #2334


Fix build for example app and add support for lighting on Bitwig

This pull request contains a fix to the include path in Example.h and adds a controller script to get the Matrix working with Bitwig. I'm not sure if the daw-support directory is the best way to add that support, so open to suggestions there (I can also try removing those commits if need be).

I don't think including the bitwig script in the OS repo is the best move and I don't like the relative indexing for the Example.h fix
#include "UI/UI.h" // Include the UI Framework
should be changed with
#include "ui/UI.h" // Include the UI Framework


cido not run nonConcurrent case to reduce build time

Proposed changes
Issue Number: close #xxx

run buildall

skip buildall


Wrong title in navigation bar

Title in the navigation bar at the left is different from the title of the article making it difficult for customers to find this article: [Tutorial: WebLogic Server with Elastic on Azure] vs [Migrate WebLogic Server applications to JBoss EAP on Azure App Service]

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

ID: f98546da-1e53-aeec-e89f-d1f8c1e65099
Version Independent ID: f98546da-1e53-aeec-e89f-d1f8c1e65099
Content: Migrate WebLogic Server applications to JBoss EAP on Azure App Service
Content Source: articles/java/migration/migrate-weblogic-to-jboss-eap-on-azure-app-service.md
Service: azure-java
GitHub Login: @KarlErickson
Microsoft Alias: karler

Thanks, @jorisaeles!


343/feature communication between create board and slack service

Relates to #343
Proposed Changes

change the property name in the frontend regards the slack
when creating a new board it checks the field "slack" and calls the service from the slack module if necessary
Note: It calls the slack service only creating the board, recursive boards are not calling the slack service!

@f-morgado  @CatiaBarroco-xgeeks
This pull request closes #343

It should create slack channels with the month and year added to the title of the board or subboard. (requested in the daily)


python 3.11 build needs removal of cython generated code

Package does not build under python 3.11. The cython generated c source files must be removed and cython added to dependency list for build. Builds successfully with python3.11 by removing:
numcodecs/_shuffle.c
numcodecs/blosc.c
numcodecs/compat_ext.c
numcodecs/lz4.c
numcodecs/vlen.c
numcodecs/zstd.c
and having cython installed. Note that Fedora has already as a policy that packages MUST NOT use files pre-generated by Cython:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_using_cython

Out of interest, is there doc in cython alluding to this? The recommendation for a long time had been to yes, include generated C files in distributions.

In theory it just needs to be regenerated with a newer Cython
That being said, tend to agree with the sentiment of just dropping the vendored C. It has gotten to be a headache from a maintenance standpoint
IIUC the main reason to vendor C code before was build dependencies were difficult to specify and things like setup_requires has quirks. With pyproject.toml, this should be less of an issue, but we need to make the move first ( https://github.com/zarr-developers/numcodecs/issues/364 )
If anyone is interested in addressing issue ( https://github.com/zarr-developers/numcodecs/issues/364 ), that would be welcome 🙂

Agreed. Hence all the prebuilt binaries we ship (to hopefully avoid debugging users' compiler setups). Not to say the latter never happens though 😉

Python 3.11 was added and the generated C code removed with PR ( https://github.com/zarr-developers/numcodecs/pull/369 ). Should be available in the next release


Change example doc of heat template with F5 Plugins

The example plugin in the doc is F5::Sys::iAppTemplate, but it should be F5::Sys::iAppCompositeTemplate.

@pjbreaux Is this still a valid issue?

@jputrino: yes it is still an issue. The plugin referenced in that doc does not exist. The one that is expected there is iAppFullTemplate.


Prompt user of override when importing Domain list

This change seeks confirmation and prompts the user of an override of their current data when importing a new domain list.

Changes in the code format is due to an code formatting extension (Prettier) I use with VSCode


go/store/nbs: Make tableIndex into an interface, and add an off-heap implementation using mmap.

A table file index maps chunk addresses to offsets within the file, and is a core part of the chunk store read path. An in-memory index entry consists of:

A chunk address prefix – the first 8 bytes of the chunk address.
A uint32 ordinal – which number chunk this prefix entry is in the file.
A uint64 offset – the first byte of the chunk in the file.
A uint32 length – the length of the chunk in the file.
A chunk address suffix – the last 12 bytes of the chunk address.

On disk, offset isn't stored, but it's computed from the lengths when the index is loaded.
Overall, an index entry takes up 36 bytes. Target chunk size is 4096 bytes, so this is about 0.9% of the total repository size of RAM required to access table files in the repository. A 300GB repository needs 2.8GB of RAM just to locate a chunk.
This initial PR adds a separate index serving structure that moves some of the above off-heap. Initially, this usage does not use file backed mmaps. This initial implementation is slower on the compaction path and uses almost as much memory as the old implementation. It's a start to be able to play with tradeoffs in this space though.

Initial RFC. Still needs some unit tests on mmapTableIndex itself.


Add maintainer handle for Indonesian

This is my PR for translations in Bahasa Indonesia ( Indonesian / IN ).
@regalius and i were translating react on crowdin before.
https://crowdin.com/project/react/id
We both stop working on it because there is no clear goal or plan from the facebook team regarding integrating crowdin translation into the main repo.
Little bit background about our technical expertise,
@gedeagas Front End @kumparan
@regalius Front End @tokopedia

@SastraNababan hi mas, do you want to be maintainer for indonesian translation of react ?

@gedeagas  I've created a repo for you! You should have received an invite to join the react organization. Happy translating :)

@SastraNababan hi mas, do you want to be maintainer for indonesian translation of react as well?

Sure, count me in


[BUG] 🔭 Better OpenTelemetry traces for incoming backplane notifications

Describe the bug
Community user @imperugo noticed that when using the backplane with OpenTelemetry traces enabled, all the spans for the notifications incoming via the backplane were put under one single parent span, basically creating a single mega-span "containing" all the others.
Ideally, each span for each notification should be on their own.
To Reproduce
Here's a MRE (Minimal Reproducible Example) of the issue:

setup a backplane
enable OpenTelemetry
send some backplane notifications

Expected behavior
The traces for the backplane notifications incoming should be root and not "under" another one.
Versions
I've encountered this issue on:

FusionCache v1.1.0

Screenshots

(Courtesy of user @imperugo , taken in Grafana Tempo)

UPDATE
While fixing this I noticed another couple of things that, if added to the traces, could make the developer experience better:

include a tag with the source id (the InstanceId of the remote FusionCache instance)
change the status of the trace in case of errors, like invalid notifications or similar
add an event in case of, well, some event occurring during the activity

So yeah, I took this opportunity to make the overall experience better.

Hi all, FusionCache v1.2.0 is out 🥳


Strange rounding issue when aggregating as sum

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:
3.1 on Single-Server with mmfiles on Windows 10
I'm issuing AQL via:

[x] web interface with this browser:     running on this OS:
[ ] arangosh
[x] this Driver: Java latest

I have the following result from my query:
[
  {
    "bearer": "Client/7163944",
    "grossPrice": 23.529999999999998,
    "taxes": null,
    "netPrice": 21.990654205607473,
    "accountingFrom": "2017-02-01T00:00:00.000Z",
    "accountingTo": "2017-02-28T00:00:00.000Z",
    "invoiceItems": [
      {
        "bearer": "Client/7163944",
        "deliveryDate": "2017-02-23T00:00:00.000Z",
        "mealName": "MenuA",
        "dishName": "Pancakes",
        "articleDescription": "Pancakes with jam",
        "amount": 1,
        "grossPrice": 3.55,
        "originalGrossPrice": 3.55,
        "taxRate": 0.07
      },
      {
        "bearer": "Client/7163944",
        "deliveryDate": "2017-02-22T00:00:00.000Z",
        "mealName": "MenuB",
        "dishName": "Potatoes with cottage cheese",
        "articleDescription": null,
        "amount": 3,
        "grossPrice": 3.11,
        "originalGrossPrice": 3.11,
        "taxRate": 0.07
      },
      {
        "bearer": "Client/7163944",
        "deliveryDate": "2017-02-23T00:00:00.000Z",
        "mealName": "MenuA",
        "dishName": "Pancakes",
        "articleDescription": "Pancakes with jam",
        "amount": 2,
        "grossPrice": 3.55,
        "originalGrossPrice": 3.55,
        "taxRate": 0.07
      },
      {
        "bearer": "Client/7163944",
        "deliveryDate": "2017-02-22T00:00:00.000Z",
        "mealName": "MenuA",
        "dishName": "Spaghetti",
        "articleDescription": "Spaghetti with tomato sauce",
        "amount": 1,
        "grossPrice": 3.55,
        "originalGrossPrice": 3.55,
        "taxRate": 0.07
      }
    ],
    "invoiceNumber": null,
    "generalLedgerAccountId": "GeneralLedgerAccount/7164102",
    "debitor": null,
    "creditor": null,
    "creditorBankAccount": null
  }
]

The grossPrice is am aggregation using this:
grossPrice:SUM(invoiceItems[* RETURN CURRENT.invoiceItem.grossPrice * CURRENT.invoiceItem.amount])

I expected to get 23.53 instead I got 23.529999999999998. I thought this should not happen using double precision as explained in the docs? Even without the multiplication I get a strange value.

Seems to be a floating-point rounding issue.
With an 8 byte double-precision type, the result returned is somewhat expected, as not all numbers can be represented exactly.
That is a general issue when using floating point numbers, not limited to ArangoDB.
I tried several other environments (node/v8, python, php, c++) to check what result they will produce, and they do come up with similar results:
$ node
> 1.0 * 3.55 + 3.0 * 3.11 + 2.0 * 3.55 + 1.0 * 3.55
23.529999999999998

or
$ python
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1.0 * 3.55 + 3.0 * 3.11 + 2.0 * 3.55 + 1.0 * 3.55
23.529999999999998

or
$ irb
irb(main):001:0> 1.0 * 3.55 + 3.0 * 3.11 + 2.0 * 3.55 + 1.0 * 3.55
=> 23.529999999999998

or
$ php -r "ini_set('precision', 20); print 1.0 * 3.55 + 3.0 * 3.11 + 2.0 * 3.55 + 1.0 * 3.55;"
23.529999999999997584

or
$ cat dbl.cpp
#include <iostream>
#include <iomanip>
#include <array>

int main() {
  std::array<double, 4> amounts = { 1.0, 3.0, 2.0, 1.0 };
  std::array<double, 4> grossPrices = { 3.55, 3.11, 3.55, 3.55 };

  double total = 0.0;

  for (size_t i = 0; i < amounts.size(); ++i) {
    total += amounts[i] * grossPrices[i];
  }

  std::cout << "total: " << std::setprecision(20) << total << std::endl;
}
$ g++ -std=c++11 dbl.cpp && ./a.out
total: 23.529999999999997584

If some implementations return the "expected" result with two decimal digits, then they probably have a smarter procedure for rounding floating point values for display/return purposes.

@jsteemann I thought arango would use double precision in general for its queries? See the docs: All numeric values are treated as 64-bit double-precision values internally

Yes, and that is the source of the problem. Double-precision floating point values cannot safely represent every possible value without loss.
You probably know that classic example:
$ node
> 0.1 + 0.2 == 0.3
false

ok, I thought this would only happen with normal floats, because Javas double type handled this calculation just as expected. I helped myself with rounding it to the 6th decimal.

I think Java will use the same double-precision implementation under the hood, but potentially its rounding and/or display procedure for doubles is a bit different (read: smarter).


decide on log package naming

Extracted from https://reviewable.io/reviews/cerana/cerana/117#-KEr0a014imXMRcw-FJd
mmlb: should we just rename logrusx as logx?
TauZero:
I think the name that we import both logrus and logrusx under should be discussed.
With all of our use of fields and whatnot, logrus isn't a drop in replacement for log, so I'm not sure if we should even be calling it that.
You can open up an issue for it.

This is that issue

Related to #308

Standardized on logrus and logrusx


Fix standalone version where dl is not available

This change is

Review status: 0 of 4 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


doResolveEditor has fragile check on override

When I look into the doResolveEditor implementation there is one place where we resolve / populate the editor ID if not found in override options:
https://github.com/microsoft/vscode/blob/ee290519377dbe3e4deb3b325269297b3950030d/src/vs/workbench/services/editor/browser/editorService.ts#L587-L587
Everything is fine for passing in untyped editors, but when passing in typed editors I think we might run into a problem:
https://github.com/microsoft/vscode/blob/ee290519377dbe3e4deb3b325269297b3950030d/src/vs/workbench/services/editor/browser/editorService.ts#L576-L576
This line essentially takes the options as they are passed in if they are present and drops the untypedEditor.options from the toUntyped call. But toUntyped will set the override in most cases which means:

if I open a typed editor with options, the editor will get overridden unless I provide override options
if I open a typed editor and do not provide options, the editor will not get overridden

Isn't this strange?

This seems to be causing https://github.com/microsoft/vscode/issues/127215

Should I close this and #127215 since #127287 was merged?

@lramos15 this issue here seems addressed but I can still reproduce https://github.com/microsoft/vscode/issues/127215 when changing this line:
https://github.com/microsoft/vscode/blob/2c63b5dc9aa171491529cd3a7cc07e457d4ed1d8/src/vs/workbench/services/editor/browser/editorService.ts#L1244-L1244
to this:
const editorPane = await this.openEditor(editor, undefined, groupId);

Which essentially means, anyone opening a untitled editor without disabling the override potentially triggers a new untitled input to be created?

Closing because of #127287. I resolved #127215.


fix metadata error for python3.8

importlib.metadata is broken on python3.8, see https://github.com/apache/airflow/issues/12855 for explanation

Coverage increased (+0.01%) to 88.262% when pulling d27c3371464393fcbf4b9fe94460dbfa3bd93e70 on bugfix/importlib into b74b7f3d347c3e311f7291e221e15cc3719e871f on main.


[BUG] When publishing the PowerBI report, there is no way to perform or schedule refreshes

When publishing the Power BI reports for BAR App, we are unable to schedule or perform refreshes. The following message is presented:
You can't schedule refresh for this dataset because the following data sources currently don't support refresh:
Data source for Query1

Yes same issue here. Have you found a workaround at all? Also looks like a duplicate of this issue https://github.com/microsoft/powerapps-tools/issues/390?

All the queries that use http://www.webcal.fi will cause the error:
Requested Date
Check-in Date
Check-out Date
Reasons for error: https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power-bi/
Fixed this using this syntax:  https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-in-power-query-and-power-bi-m-code/
Example M Code for the web.content queries that works
    PHSource = Xml.Tables(Web.Contents(
                              "http://www.webcal.fi",
                               [
                                    RelativePath="/cal.php",
                                    Query=
                                    [
                                        id="408",
                                        format="xml",
                                        start_year=Text.From(StartYear),
                                        end_year=Text.From(EndYear),
                                        tz="Europe%2FLondon"
                                    ]
                                ]
                    )),

Has anyone had any joy with applying the fix above? We have tried it but now whilst it's fine in Desktop,and when first published to the Service the report shows today's data. However, with the fix in place when a manual or scheduled refresh of the dataset is completed it will then show tomorrows data in the report.   The Service and report all use UTC time so it shouldn't be that but we have changed time zone in the fix, tried it without but no difference. The issue is shown in the document below.
Building Access BI data refresh error.docx

The year,  month and date value in your example which query is that value coming from ? Is Requests and the RequestDate column ?
Have you found that since the timezone change in the UK over the weekend the dates are correctly aligned between the PBI Service and PBI Desktop?

Are you going to provide the code to move from Webcal.fi to Webcal.guru?
Thank you for the code snippet above.  Worked perfectly allowing the calendar to be scheduled online.  It notes those specific queries will not refresh but allows the others to.  Since those queries obtain holidays they would not need to be run from the desktop very often since it has 5 years of holidays.


ManagedClient throwing exception when running in VS

Describe your question
This only happens when running in Visual Studio. The same code works in another project. So this is most likely not an MQTTnet problem, but maybe some of you have run inte the same issue?
When calling StartAsync on ManagedClient the following exception is thrown if no MQTT server is up and running.
System.Net.Internals.SocketExceptionFactory.ExtendedSocketException: 'No connection could be made because the target machine actively refused it'.
If I select to not catch this exception, I get the following exception instead:
MQTTnet.Exceptions.MqttCommunicationException: 'Error while connecting with host 'localhost:1883'.'
Note that if I run the executable directly outside Visual Studio, everything works as expected, that is, no exception/crash even if the target server is not up and running.
Which project is your question related to?

ManagedClient

On second thoughts, maybe this is the expected behaviour. But I should not break when those exceptions are thrown in VS.
Is that so?

Closing this due to inactivity. I personally cannot reproduce the issue. In my opinion it is related to VS exception settings and it is indeed correct that these exceptions are thrown in the described situations.