[SDL1/2]: Made change in iconification's code, so X/Y values of icon after snaphooting didn't take in account when iconify.

As we discuss previously on forum, currently when we snapshot the icon in the workbench window and X or Y start to be big enough, then when we do iconification instead of putting icon in the next free slot on workbench screen (as expected from pure iconificatino) , it start to place icon on the workbench screen in different places (depend on how bug X/Y of snapshoted icon).
Solution was give by Trixie:
If you use a program icon for iconification purposes, you should set the do_CurrentX and do_CurrentY fields in the icon's DiskObject structure to the value of NO_ICON_POSITION. Unless you call PutDiskObject() with the modified DiskObject as parameter, no change will be made to the actual icon on disk, and the icon's original X/Y coordinates will be preserved.

@Capehill
I just OS4_GetDiskObject() in the SDL_os4window.c as Trixie suggest and it works indeed. Just in case i set it to fallback one as well (to avoid problems when default on snapshoted somehow different too).
There is:
static struct DiskObject* OS4_GetDiskObject(_THIS)
{
    SDL_VideoData *videodata = (SDL_VideoData *) _this->driverdata;
    struct DiskObject *diskObject = NULL;

    if (videodata->appName) {
        BPTR oldDir = IDOS->SetCurrentDir(IDOS->GetProgramDir());
        diskObject = IIcon->GetDiskObject(videodata->appName);
        diskObject->do_CurrentX = NO_ICON_POSITION;
        diskObject->do_CurrentY = NO_ICON_POSITION;
        IDOS->SetCurrentDir(oldDir);
    }

    if (!diskObject) {
        CONST_STRPTR fallbackIconName = "ENVARC:Sys/def_window";
        dprintf("Falling back to '%s'\n", fallbackIconName);
        diskObject = IIcon->GetDiskObjectNew(fallbackIconName);
        diskObject->do_CurrentX = NO_ICON_POSITION;
        diskObject->do_CurrentY = NO_ICON_POSITION;

    }

    return diskObject;
}

Should be fixed, please confirm (but no need to hurry).

Yes, tested, everything fine, thanks !


NuGet restore for .NET core

Hi,
I get the following exception when trying to restore the NuGet package in an .NET Core project (VS2017):

Restoring packages for D:\Projects\stanTest\stanTest\stanTest.csproj...
Package STAN.Client 0.1.3 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package STAN.Client 0.1.3 supports: net45 (.NETFramework,Version=v4.5)
Package NATS.Client 0.6.1 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package NATS.Client 0.6.1 supports: net45 (.NETFramework,Version=v4.5)
One or more packages are incompatible with .NETCoreApp,Version=v1.1.
Package restore failed. Rolling back package changes for 'stanTest'.

This should be working according to #37 correct?
Thanks

@loremaps , this is odd - It looks like the .NET 45 clients are being installed with core.  Have you tried clearing out your local NuGet cache before restoring?
nuget locals -Clear all

Ahh, I see the problem; .NET core is not available for NATS streaming in NuGet yet, only in master branch.  There will be release soon (I'm aiming for the next few days) where the latest streaming NuGet packages will have .NET core support.  In the meantime, it you build the NATS streaming client, you'll have .NET core support.

Thank you for your prompt response. Indeed building the client works fine with .NET core. Looking forward for the latest NuGet packages.

@loremaps You're welcome - I'm glad to hear it is working out for you!  The release is coming soon...


AB#7204 Make "export-voucher"-endpoint always return the most-recent image

For "installment #17" PA will have multiple images, in getVoucher an array-method find is used;
This will return at the first successful match (and thus the 'old/initial' voucher image of the correct installment-17).
By reversing the array, the most-recent image of the INcorrect-installment-17(should be 23) will be returned.

@jannisvisser This is to document the current state of the LVV-production server (where I changed this by hand).
I don't think we need to merge this change per se, but as documentation this was most convenient. ;)


When mutate after an action, to want to get the request list, use queryCache. RefetchQueries or queryCache. InvalidateQueries list update, but did not make the list updates.Neither approach works

`
export const useTouchListComplate = () => {
const [mutate] = useMutation((options: any) => {
return fetch(${DOMAIN.BIBLE_INSPIRE}${PATH.WORKBENCH.API_LIST_COMPLATE}, {
method: 'POST',
body: objToParam({
deptcode: options.deptcode,
list_code: options.list_code
})
})
}, {
onSuccess: (data: any, param: any) => {
console.log(data)
queryCache.refetchQueries(${DOMAIN.BIBLE_INSPIRE}${PATH.WORKBENCH.API_TABLE_EACH_DATA}/${param.tabId}, {
active: true
})
}
})
return [
mutate
]
}
`

Not sure I got the question right, but here are some approaches to what I think you want to achieve that have been working well for me:

After mutation, just invalidate the query cache for your key. The next time a component renders that needs that data, it will be re-fetched.

You can see this working in this example: https://react-query.tanstack.com/docs/examples/optimistic-updates
especially this part:
// After success or failure, refetch the todos query
onSettled: () => {
    cache.invalidateQueries('todos')
},

alternatively, if your mutation returns the result, you can just put it in the query cache. I will stick with the todos example:

useMutation(
    text => axios.post('/api/data', { text }),
    {
      onSuccess: (allTodos) => {
        cache.setQueryData('todos', allTodos)
      },
    }

this approach will manually update the cache with the data from the server, so it will not re-fetch it. This is useful if, like in my example, your server already returns the new data as a result of the mutation request.

Thanks, but my problem is that when cache.invalidatequeries ('todos') ends, no todos is requested.My understanding is that the invalidateQueries method will trigger the request for the list and the useQuery rerender page, but it doesn't work.I don't know if there is a problem with my global configuration. Here is my global configuration:
`
const queryConfig = {
queries: {
suspense: true,
// queryKeySerializerFn: defaultQueryKeySerializerFn,
enabled: true,
retry: 3,
staleTime: 0,
cacheTime: 1000,
refetchOnWindowFocus: false,
refetchInterval: Infinity
// refetchOnMount: true
// onError: noop,
// onSuccess: noop,
// onSettled: noop,
// useErrorBoundary: false, // falls back to suspense
}
}
`

Since you have suspense set to true, maybe this is a duplicate of https://github.com/tannerlinsley/react-query/issues/1065 ?

Thank you very much.That's true.But are these because of the suspense and invalidateQueries conflict?How do you handle UI State management in your projects

But are these because of the suspense and invalidateQueries conflict?

Personally, I haven't used suspense yet, so I haven't experienced any problems

I have this issue as well. Use query fetches the data for my table, but once I make an action on the table within the same component, the query doesn't refetch, is it because the component doesn't rerender when I make the mutation?

This is a bug that we are now tracking in #1065


Add a reserved site ID (-2) for refresh key. Add method to keystore snapshot to return refresh key, fall back to master key if not found.

Add a reserved site ID (-2) for refresh key. Add method to keystore snapshot to return refresh key, fall back to master key if not found.

LGTM


<EMAIL_ADDRESS>is spewing "use your own version of lodash" message

Is this related to https://github.com/karma-runner/karma-coffee-preprocessor/issues/39? I added my own version of lodash to my project (npm install --save-dev lodash), but the message is still there.

Yes, this error message is related to each karma plugin being used and if it's using the lodash from karma it will print this error message.

So I assume nothing can be done about this until the respective plugins stop using lodash from Karma.

Yes, but please file issues on the plugins that have this. karma-coffeescript-preprocessor has this fixed in the last release (769283e7e348a612f54a95ceed672b26ad6fef92)

Yep, will try to track down which one is doing this.

Should the message say something to indicate that it is the plugin that needs to be changed? Something like "Karma plugin needs to use it's own version of lodash". This would clarify why the warning is being thrown and what code needs to be updated.


Estimated cost now is formatted

Issue https://github.com/inductiva/tasks/issues/438
This PR makes the estimated cost more human-readable

@bgregoinductiva can you QA this ?

@bgregoinductiva can you QA this ?

It is working as expected.
(env) brunogrego@oxygen:~/inductiva/test_scripts$ inductiva tasks info b2jyodxsquzmpt8apwhy4fwsd

Task status: success
Wall clock time:  0:27:21
Time breakdown:
	Input upload:              0.92 s
	Time in queue:             0:01:58
	Container image download:  0.64 s
	Input download:            0.25 s
	Input decompression:       0.05 s
	Computation:               0:25:20
	Output upload:             0.83 s
Data:
	Size of zipped output:    11.98 MB
	Size of unzipped output:  47.69 MB
	Number of output files:   14

Estimated computation cost (US$): 0.026 US$

(env) brunogrego@oxygen:~/inductiva/test_scripts$ inductiva tasks info 0vzbk4h0db1eao41w13vmkhnv

Task status: success
Wall clock time:  18.75 s
Time breakdown:
	Input upload:              0.47 s
	Time in queue:             12.49 s
	Container image download:  0.58 s
	Input download:            0.17 s
	Input decompression:       0.00 s
	Computation:               4.15 s
	Output upload:             0.79 s
Data:
	Size of zipped output:    13.35 MB
	Size of unzipped output:  52.24 MB
	Number of output files:   94

Estimated computation cost (US$): Less than 0.0001 US$. For more details check
https://console.inductiva.ai/tasks


add column label spacing

fix #4

Coverage remained the same at 0.0% when pulling cd56be70bd7e45a0f84566c12937727babc6ff4f on imprv/column-label-spacing into cb72d35a136e46835d8b68a8258a38261b175095 on master.


Docs: IAM permissions

Would be great if you provided an up to date equivalent of this doc https://docs.sst.dev/advanced/iam-credentials#iam-permissions for Ion, at least the COPY IAM POLICY block would be enough for now.

Yup tracking it here https://github.com/sst/ion/issues/165


Security Issue in Broadcast Receiver

Hi
My security team has reported below issue under severe category, please help me understand implication for same
Issue: Broadcast Receiver:(com.adboe.android.gms.gcm.GcmReceiver) is not protected {android :exported= true}
Mitigation Step : Unprotected broadcast receiver , check the permission defined on the application and ensure it is set to signature , this ensure only applications signed with the same certificate can obtain the permission
Result : Changing the property results in the notification not being received. So we cannot change the property if the notification is needed.

Bug reported in
File: AndroidManifest.xml
Line no.: 151

@abhibeta this appears to be referring to the 1.x stream of the plugin. Please upgrade to 2.x stream as it no longer uses the GcmReceiver.
As well this is the recommended way of setting up your app to receive GCM push messages. Read these Google docs for more info:
https://developers.google.com/cloud-messaging/android/client

Thanks @macdonst I will update plugin to version suggested and validate.


Display GitHub watcher counts

This would make scanning through libraries a lot easier, so that you know who's using what. If this sounds like a useful feature, I can write up a patch and make a pull request.

Done!


Invert colors of application

Description of the new feature / enhancement
Similar to DarkModeAnywhere and WindowTop which invert the colors of a specific windows application that lacks the native ability to use darkmode.
Scenario when this would be used?
Older applications that don't support darkmode.
Supporting information
https://windowtop.info/features/dark-mode/
https://darkmodeanyapp.com/

/dup #13005


typo 'unit8' instead of 'uint8'

Can one of the admins verify this patch?

Thanks for the fix, but we need the CLA to be signed.  Please let us know if you can sign it and we'll reopen.

I signed it! Hope to contribute more substantially in the future. THanks

Can one of the admins verify this patch?

 I've only used the github.com web interface for making the patch. Do I have to open a new issue and we close this?

@tensorflow-jenkins test this please

PR merged. Thank you, @velaia !


Add support for Ruby 2.4.0

Support for Ruby 2.4.0 🎉

Coverage remained the same at 88.303% when pulling 68460af45ece0833ccb7ca9d6f970878ed74c7dc on danielbayerlein:ruby-2.4.0 into 570b0636325c0b7fab67e54659645b32a772d214 on technicalpickles:master.

Coverage remained the same at 88.303% when pulling 68460af45ece0833ccb7ca9d6f970878ed74c7dc on danielbayerlein:ruby-2.4.0 into 570b0636325c0b7fab67e54659645b32a772d214 on technicalpickles:master.


Readmd: Link to AshHQ incorrectly links to .com instead of .org

Just noticed this! Would submit a fix but on my phone and didn’t want to forget later on 😄

Thanks for the report! Fixed :)


Fix a compilation warning

We get this warning with the latest swift 5 dev builds
/Users/rudraniwankhade/Library/Autosave Information/Kitura-WebSocket-NIO/Sources/KituraWebSocket/PermessageDeflateDecompressor.swift:52:13: warning: variable 'frame' was never mutated; consider changing to 'let' constant
var frame = unwrapInboundIn(data)
~~~ ^
let

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


spacing(s)

I suppose spacing in the stitching config file should has "s" https://github.com/YuelongWu/feabas/blob/62b8493a1ec866b7adb0c772d21027865553b49e/configs/default_stitching_configs.yaml#L10, because stitching_matcher is getting spacings

you're right, thanks!


How can write log default in console

Hi guy, I want get cid in console on default (run application). How can I config it. Thanks.

I'm Sorry!!
I didn't see your comment!
I believe that you can follow the steps described in the Readme file.
Here is an example:
import {ContextAsyncHooks, Logger} from 'traceability'

const levelRoot = () =>{
  const {cid} = ContextAsyncHooks.getTrackId({})
  ContextAsyncHooks.setContext({cid})
  Logger.info('levelRoot');
  level1()

}
const level1 =  () =>{
  Logger.info('level1');
  level2();
}

const level2 =  () =>{
  Logger.info('level2');
}

levelRoot();

The Logger will show the CID in console as default.


dsa-Problem-Cash-Register

cash register app using js

freecodeCamp cash register app

Thank you @rohitpatel0011 for your suggestion. This is a fun project. For now, as this is a great project for additional practice, the best place to share your creation would be in Show and Tell.
Closing this PR so you can share this sample project within Discussions. When we build out the ability to onboard additional projects to our repo for extra practice and exercises, we will announce to the community. Thank you!


how can I get the 'Eyes_Japan_Dataset', 'SSM_synced' etc. dataset

I am a novice to this field, and I cannot get these dataset in index.csv. Can you tell me where I can get these dataset.
Thanks.

I see the answer


Test wagtail-personalisation with existing environments

[ ] Test with existing custom page models
[ ] Test on high-scale platform
[ ] Test with translatable pages
[ ] Test with existing edit handlers
[ ] Test with wagtail-experiments
Migrations:
You are trying to add a non-nullable field 'personalisablepage_ptr' to homepage without a default; we can't do that (the database needs something to populate existing rows).

Closing this issue as it's describes too wide test scenario's


redirect for new Shopify guide

redirect for new Shopify guide

🚀 Deployed on https://6691665e05661b2ae8f625ae--cozy-fox-0defec.netlify.app


Doc 2.0: Documentation for CORS SE Support

Helidon Version: 2.0
Helidon SE

<also applicable for HDon 1.x but this is tracking the 2.0 doc>
Documentation to support 1573, 1562

Here are some thoughts I've jotted down about the CORS SE support that might be a good head-start for the doc: https://gist.github.com/tjquinno/d7336ad17268116fc6b7ed2c238f0cc5
It is rough and evolving and not intended as-is for public consumption.


search bar should allow label tags to be applied

Detailed description

Describe in detail the issue you're having.

Is this a feature request (new component, new icon), a bug, or a general issue?

feature request Search bar filter

What did you expect to happen? What happened instead? What would you like to see changed?

We use additional filters. It would be nice to be able to add label tags to search bar like we see in git search

What browser are you working in?

chrome

What version of the Carbon Design System are you using?

^6.36.1

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

transformation advisor
Steps to reproduce the issue

Step one
Step two
Step three
etc.

Additional information

Screenshots or code
Notes

Hi @lounestor! Thank for taking the time to make this issue. Could you provide some more details for what you're expecting here? Thanks!

Much like the filters in github we would like tag feature in the search e.g label:dev_complete
In our case, we have two separate filters

normal user text input
Fixed categories filter which we want to display in the search (reminding user of their selection).
We will be ignoring the tagged filter as text input is for display purposes only
We would like to prepend tags to the search
maybe something like
then anything  tags attribute gets prepended.? i hope that is making sense


HeroTypes in Representation; DataFrame in _types

switch DocumentTermDF in for RepresentationSeries in _types.py
add functionality for decorator @InputSeries to handle several allowed input types
Add typing decorator/hints to representation.py
add tests for DocumentTermDF type in test_types.py

NOTE: only so many commits/lines as this builds on #156

we have now also adopted the type checks. The given DataFrame should not be a multicolumn one, but a "normal" Sparse DataFrame. We decided to not call it SparseDataFrame, as in the future the DataFrame may not have to be sparse. :octocat:

Nice!
Just realizing that this PR solve some of the issues of #180
I will review the code details once #156 is merged.
Overall questions: why do we need the DocumentTermDF type? That's just a DataFrame with numeric-only values, right? As discussed, I would not have a specific type for this, at least for now.

Overall questions: why do we need the DocumentTermDF type? That's just a DataFrame with numeric-only values, right? As discussed, I would not have a specific type for this, at least for now.

We changed it to only DataFrame, as it also could represent a different constellation than DocumentTermDF. But when we remove this type from our pandas types, we have an Incomplete TypeCheck. For now the DataFrame typcheck is not as much worth as the Series Types, but it completes the typing of every input.

We could of course just use the actual pd.DataFrame type in our type checks. Arguments:

Pro: easier for us; not confusing to users
Con: our documentation will then not link to a hero series article with a nice docstring explaining that this is to represent a matrix etc (as the _types module is not only useful for typechecks but also for documentation).

We have now re-merged #156 in this and solved the last remaining issues we saw. Ready to review/merge now from our side :3rd_place_medal:

From our side, this is now ready to be re-reviewed / merged :crossed_fingers: :baby_bottle:

Thanks! Merged 🎉 🎉

Great! 🎉🎉🎉. We will now go through all PRs in the merge checklist that are branched from this and change them accordingly! 💡👍


[HOPS-1634] Fix uri checks for multi-namenode deployments using consul

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added and passed (for bug fixes / features)
[x] HOPS JIRA issue has been opened for this PR
[x] All commits have been squashed down to a single commit
[x] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

https://hopshadoop.atlassian.net/browse/HOPS-1634

jenkins test this please

Can one of the admins verify this patch?

jenkins test this please

jenkins test this please


feat(api/smoothie): home should return an offset, like a probe

Overview
Sometimes one would like to check where an axis is compared to where we think it is. For example, if we do a tip pick-up we have to home the Z axis afterwards. If we could return how how far the homed position was from the "expected" position then we could determine whether the user had forgotten to place the tip rack on the deck (homed position would be exactly "expected" position, due to no missed steps).
Implementation details
This appears to require changes to both Smoothie and the API so I don't expect it to happen anytime soon. Still wanted to record the idea which I think is pretty powerful. I think you could detect even missing individual tips, as well as checking for collisions where they are possible, etc.

This would also let us detect severe crashes. (When the gantry collides with one of its end stops, the motor skips.)


SignaturePadView not showing without Height-/WidthRequest set

It took me quite a while to figure out, that the SignaturePadView was not showing up, because I didn't set the HeightRequest and WidthRequest properties. This happened to me while programming on an Xamarin Forms PCL project and testing on iOS (simulator and device).
I think it should work with VerticalOptions and HorizontalOptions too:
            signPad = new SignaturePadView()
            {
                VerticalOptions = LayoutOptions.CenterAndExpand,
                HorizontalOptions = LayoutOptions.CenterAndExpand,
                BackgroundColor = Color.GhostWhite,
                StrokeColor = Color.Black,
                ClearTextColor = Color.Black,
                ClearText = "Neu",
                CaptionText = "Unterschrift",
                CaptionTextColor = Color.Black,
                StrokeWidth = 2,
                PromptText = "Hier unterschreiben",
                PromptTextColor = Color.Black,
                SignatureLineColor = Color.Black,

                // Remove the following two lines and SignaturePadView is not showing up
                HeightRequest = 200,
                WidthRequest = 600,
            };

This has been address in two ways:

the view now has a default size of 40x40
the view now only collapses as far as it can go, but still shows the various labels and button

The reason the collapsing actually happens is because the horizontal and vertical options are set to center. The correct way to make the signature view expand is with FillAndExpand.


Cant install 0.4.0 release

Hello, i cant install latest release.
Here is part of log from gitlab-ci:
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python3.5/site-packages/pip/commands/install.py", line 310, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3.5/site-packages/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3.5/site-packages/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3.5/site-packages/pip/req/req_set.py", line 647, in _prepare_file
    set(req_to_install.extras) - set(dist.extras)
  File "/usr/lib/python3.5/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2810, in extras
    return [dep for dep in self._dep_map if dep]
  File "/usr/lib/python3.5/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2624, in _dep_map
    dm.setdefault(extra,[]).extend(parse_requirements(reqs))
  File "/usr/lib/python3.5/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2980, in parse_requirements
    "version spec")
  File "/usr/lib/python3.5/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2956, in scan_list
    raise RequirementParseError(msg, line, "at", line[p:])
pip._vendor.pkg_resources.RequirementParseError: Expected ',' or end-of-list in uvloop>=0.5.3;platform_system!="Windows" at ;platform_system!="Windows"

Do you know what version of setuptools your gitlab-ci is running?
I can understand the issue but I cannot recreate on any of the machines that i have currently.

Also do you have any OS details etc.?

Hello.
My gitlab-ci is trying to build docker image.
Here is content of my dockerfile (i use alpine as a base image).
FROM yellowblackandwhite/alpine-python3
MAINTAINER Pavel Litvinenko<EMAIL_ADDRESS>COPY pip.conf /home/alpine/.pip/pip.conf
ENV PATH=$PATH:/home/alpine/.local/bin
USER root
RUN apk --update add build-base python3-dev py-cryptography libuv-dev linux-headers && \
    pip install cython && \
    pip install --no-binary :all: falcon && \
    apk del linux-headers && \
    rm -rf /root/.cache/pip/* && \
    rm -rf /var/cache/apk/* && \
    rm -rf /tmp/*
USER alpine
RUN pip install --user wvproxy
EXPOSE 5000
ENTRYPOINT ["/pip_entry_point.sh"]
CMD ["wvproxy", "-k guv.GuvWorker", "--bind=<IP_ADDRESS>:5000", "--workers=9", "--timeout=1200", "--graceful-timeout=90", "--reload", "wvproxy.app:wsgi_app"]

Here is build log of yellowblackandwhite/alpine-python3 image:
https://hub.docker.com/r/yellowblackandwhite/alpine-python3/builds/b7tzsfzb8nnqhppubzcrv7t/

Relates to: 1436fb3ef448841dd36991ceb0ccc50ee3d68047

Can you guys try to do a:
pip install git+https://github.com/channelcat/sanic.git

If #493 works I'll cut a release for 0.4.1 for today.

@gerasim13, @Sniedes722, and @hyeonjae.
As well as @agoose77 to test if it still works in Windows.

@seemethere had success building with 3.5.2

This happens iirc if people are running an outdated version of setuptools. They could fix it with pip install setuptools --upgrade

ok, will try to build with newer version of setuptools.

Unfortunately i cant install even with setuptools 34.3.0

This works!
pip install git+https://github.com/channelcat/sanic.git

Alright, sanic 0.4.1 was released this morning with a fix for this in particular. Feel free to use pip install sanic from here on out.


initialize isSelectAll

I want to reset angular2-multiselect-dropdown from reset button.
when i do a select all then reset, my list is empty but i have unselect all checkout, i want to get select all.
how i can do this?
thanks!

fixed. Available in v1.2.0


What's the expected behaviour when stopping a push notifications channel?

We've built a handler for push notifications associated with Google Calendar.
Each channel for push notifications expires every 7 days. From the documentation here:

Currently there is no automatic way to renew a notification channel.
When a channel is close to its expiration, you must create a new one
by calling the watch method. As always, you must use a unique value
for the id property of the new channel. Note that there is likely to
be an "overlap" period of time when the two notification channels for
the same resource are active.

Ideally, I'd like to schedule a cron job to run every night which would:

stop an existing channel
immediately recreate the channel, with the same ID as before

Even if I were to create a new channel with a different ID, I'd still like some certainty that the previous channel has been stopped.
However, with the Node client it seems possible to make multiple successful requests to stop an existing channel, before receiving an error stating that the channel no longer exists:
const options = {
  auth: OAuth2Client,
  calendarId: CALENDAR_ID,
  resource: {
    id: GOOGLE_ID,
    address: CALENDAR_ADDRESS
  }
};

const eventsWatch = Promise.promisify(calendar.events.watch)(options);

eventsWatch
  .then(response => {
    console.log({ response });
  })
  .catch(err => {
    console.log({ err });
  });

This would successfully create the channel. If I then cancel the channel:
const options = {
  auth: OAuth2Client,
  resource: {
    id: GOOGLE_ID,
    resourceId: RESOURCE_ID
  }
};

const eventsStop = Promise.promisify(calendar.channels.stop)(options);

eventsStop
  .then(response => {
    console.log({ response });
  })
  .catch(err => {
    console.log({ err });
  });

The above would log { response: undefined }, as the successful request does not return any response (see docs here).
However, I can then run the above a second time - and see { response: undefined }. It's only by running the code for third time that I receive:
{ Error: Channel CHANNEL_ID not found for project PROJECT_ID }

What is the expected behaviour here?
Ideally, I'd like a function like the following to stop and restart a channel:
async function refreshWatcher() {
  try {
    const stop = await Promise.promisify(calendar.channels.stop)(options);
    console.log({ stop });

    const start = await Promise.promisify(calendar.events.watch)(startOptions);
    console.log({ start });
  } catch (err) {
    console.log({ err });
  }
}

refreshWatcher();

However, this will throw an error on the above:
{ stop: undefined }
{ err: { Error: Channel id CHANNEL_ID not unique } }

If I run the following:
async function refreshWatcher() {
  try {
    const stop = await Promise.promisify(calendar.channels.stop)(options);
    console.log({ stop });

    const stop2 = await Promise.promisify(calendar.channels.stop)(options);
    console.log({ stop2 });

    const start = await Promise.promisify(calendar.events.watch)(startOptions);
    console.log({ start });
  } catch (err) {
    console.log({ err });
  }
}

I'll log to the console:
{ stop: undefined }
{ stop2: undefined }
{ start:
   { kind: 'api#channel',
     id: CHANNEL_ID,
     resourceId: RESOURCE_ID,
     resourceUri: RESOURCE_URI,
     expiration: '1500047025000' } }

Is this right? Why is it necessary to cancel the channel twice? Any suggestions would be much appreciated!

cc @sqrrrl @erickoledadevrel
I'm not terribly familiar with this particular API, but does it help if you add a small delay (e.g. await Promise.promisify(setTimeout)(1000)) between stop and start calls? It's possible the API is taking some time to be consistent.

I'd reverse the operations -- create the new channel first, then cancel the old one. This provides a more graceful cutover (no gap in the subscription) and can be done in a way where even if the old subscription isn't canceled you're not dealing with duplicate notifications and the old one can naturally expire.
When you create the renewal, mark the new one as pending until you receive the sync message and continue to process messages on the old channel. When you get the sync message, mark the new as active and the old one as canceled. You can then go ahead and call stop on the old one or just let it expire naturally. Any messages that arrive with the old channel ID after the new one is activated can be discarded/ignored since you should also be getting duplicates on the new channel.

@ace-n thanks for the comment! I had tried a delay as you described, but it seems like a channel remains active until being stopped a second time.
@sqrrrl thanks for the detailed comment, it's really appreciated. I'll go with the approach you've suggested. I'd also missed that the optional token could be provided - that should be useful for reconciling the newly created channel.
Thanks to you both for the clarification 👍


TextField announces value changes after it loses focus

I have a screen where there's a slider and a text box where both are in sync. When the user changes the value in the text box, I want the text box to announce the change; and when the user changes the value in the slider, I want the slider to announce the change. It looks something like this:

There is a problem in the following scenario:

Turn on TalkBack.
Focus on Slider and move it using the volume keys. You hear "Fifty percent seek control"
Focus on Text Field. Double tap to bring up the keyboard. Then dismiss the keyboard such that the text field loses focus.
Focus on Slider. It's still at 50%. Move the slider by pressing the volume up key. You hear "Fifty-five percent seek control. Five replaced zero."

The problem is that the text field is still announcing changes to its contents after it loses focus. This only happens after focusing on the text field, so I feel like this is a bug.
Code of sample app demonstrating this problem:
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({Key key, this.title}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  double _value = 0.0;
  TextEditingController _controller;

  @override
  void initState() {
    super.initState();
    _controller = TextEditingController(text: '0');
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Column(
        children: <Widget>[
          TextField(
            controller: _controller,
          ),
          Slider(
            onChanged: (value) {
              setState(() {
                _value = value;
              });
              _controller.text = (value * 100).round().toString();
            },
            value: _value,
          )
        ],
      ),
    );
  }
}

CC @jonahwilliams @goderbauer

Even if I type numbers in without TalkBack on, the slider does not adjust - you're missing a listener in there for the text field.

That direction seems to work fine, and I'm not worried about it. I just didn't implement that direction in my simple reproduction case.

@jonahwilliams just wanted to confirm you're not waiting on anything from me for this bug. Thanks!

Sorry, lost track of it.
The TextField needs to announce values not just when it has a11y focus, but input focus. This is because interacting with an onscreen keyboard will move a11y focus to the last pressed key. I think in this case we need the slider to take focus from the text field when it's interacted with via a FocusNode. This might be a more general problem since IIRC only text fields take focus, possibly part of https://github.com/flutter/flutter/issues/13264

Np. I think I'm noticing that the value changes are being announced even after the text field has lost input focus. In the application I'm working on (not the simple repro case above), we have a FocusNode and we do stuff when the focus is lost. I'm noticing that the FocusNode value is false but the text changes are still being announced.
I just noticed another thing. Remember the instructions from above:

Turn on TalkBack.
Focus on Slider and move it using the volume keys. You hear "Fifty percent seek control"
Focus on Text Field. Double tap to bring up the keyboard. Then dismiss the keyboard such that the text field loses focus.
Focus on Slider. It's still at 50%. Move the slider by pressing the volume up key. You hear "Fifty-five percent seek control. Five replaced zero."

If I swap 1 and 3, I can't reproduce the issue:

Focus on Slider and move it using the volume keys. You hear "Fifty percent seek control"
Focus on Text Field. Double tap to bring up the keyboard. Then dismiss the keyboard such that the text field loses focus.
Turn on TalkBack.
Focus on Slider. It's still at 50%. Move the slider by pressing the volume up key. You hear "Fifty-five percent seek control. Five replaced zero."

I'll definitely do some more investigation tomorrow. It may turn out that we've got some stale information being propagated through the semantics system in the case of input focus. Stay tuned.

Update: I've found the issue. When creating the text field semantics on the android a11y bridge we don't correctly account for a fields value being changed even if it isn't focused. It is currently unconditionally set to a live region. It should only be set if it has input focus

For reference the sample code I am working with:
Focusing the second text field causes the first the stop making the announcements. Focusing the slider without unfocusing the first causes the announcements to persist.
class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({Key key, this.title}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  double _value = 0.0;
  TextEditingController _controller;
  @override
  void initState() {
    super.initState();
    _controller = TextEditingController(text: '0');
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Column(
        children: <Widget>[
          TextField(
            controller: _controller,
            onChanged: (String newValue) {
              setState(() {
                if (newValue == '') {
                  _value = 0;
                } else {
                  _value = double.tryParse(newValue);
                }
              });
            },
          ),
          TextField(
            controller: TextEditingController(text: 'asd'),
            onChanged: (String newValue) {
              setState(() {
                if (newValue == '') {
                  _value = 0;
                } else {
                  _value = double.tryParse(newValue);
                }
              });
            },
          ),
          Slider(
            onChanged: (value) {
              setState(() {
                _value = value;
              });
              _controller.text = value.round().toString();
            },
            min: 0.0,
            max: 100.0,
            value: _value,
          )
        ],
      ),
    );
  }
}

@jonahwilliams I'm still noticing this issue in our app

are you explicitly releasing the focus of the text field? This isn't done automatically per the reasoning above

The text field does not have input focus. I'm tapping the bottom right button on the keyboard which is closing the keyboard and removing the focus. The focus node says there is no focus.

@alanrussian Can you confirm whether this is Android, iOS, or both?

I have verified on Android not iOS. I can test on iOS if you need.
On Fri, Nov 9, 2018, 2:11 PM Dan Field<EMAIL_ADDRESS>wrote:

@alanrussian https://github.com/alanrussian Can you confirm whether
this is Android, iOS, or both?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/23180#issuecomment-437510673,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACH0Z8DhvAUHOq0s_sw011d0kPerS7y1ks5utf2JgaJpZM4XifWk
.

iOS doesn't announce things, so it would only occur on android

Good enough, thanks.  Just wanted to make sure I'm chasing on the right platform.

Root cause:

We announce things form text fields when they have input focus even if they don't have a11y focus because we're assuming the keyboard can take a11y focus away but we still want to announce the text field.
We don't unfocus text fields when other elements get focused by default - but this is consistent with the platform side.

I'm looking to see if I can change this so that text fields check if keyboard has a11y focus or not.  In the interim, you could work around this by manually unfocusing the TextField like so:
@override
  Widget build(BuildContext context) {
    FocusNode focusNode = FocusNode();
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Column(
        children: <Widget>[
          TextField(
            controller: _controller,
            focusNode: focusNode,
          ),
          Slider(
            onChanged: (value) {
              setState(() {
                _value = value;
              });
              _controller.text = (value * 100).round().toString();
              focusNode.unfocus();
            },
            value: _value,
          )
        ],
      ),
    );
  }

Ahh I see now.  I was having trouble reproducing that, but now I can.


Adding service version logging

Part of the quest to add version logging to every starter kit. Prints the service version to the console after running fastly log-tail. (JIRA ticket)

Actually thinking more about this, I guess there's no harm in having this in this SK


[USB Serial/JTAG Driver] use time-limited blocking for TX (IDFGH-8700)

Older PR: https://github.com/espressif/esp-idf/pull/10099
Tested working on a ESP32-S3.
Uses Ivan's suggestions for Usb Serial JTAG TX with the driver.

Instead of introducing this new function, would it instead make more sense to fix the TX-blocking-indefinitely behavior?
This is already done in usb_serial_jtag_tx_char with the TX_FLUSH_TIMEOUT_US check, we exit and drop the character if the flush doesn't happen for too long.
Seems like the same behavior could be achieved in usbjtag_tx_char_via_driver, by passing pdMS_TO_TICKS(TX_FLUSH_TIMEOUT_US / 1000) instead of portMAX_DELAY?

new PR here, due to renaming the branch: https://github.com/espressif/esp-idf/pull/10208


Add watchOS target

Add watchOS target to support effort to have Firebase Firestore on watchOS. See https://github.com/grpc/grpc/issues/21566
@yashykt

CLA

The CLA needs to be signed before we can look at this.

Hey, I have signed the CLA but I don’t know how to trigger a new check (this the CLA comment).

Ah I was wrong. It is already in gRPC-Core.podspec. Yea I think it is fine.

@hohteri The EasyCLA check is still failing.  I don't think you signed it right, or at least not in a way that it recognized.  You'll need to get that resolved before we can look at this.
(Muxi, note that technically, we should not have even looked at the changes until the CLA was signed.)

Hmm... if I open EasyCLA link "Please click here to be authorized." it just redirects me back here as I've already completed the CLA authorisation... Please let me know if I need to do something differently.

@hohteri The check is still failing.  If it's not working for you, try opening a ticket using the link in the CLA message above.

To be exact, it opens a link where I can click "Individual" and then "OPEN CLA", and then it redirects back here. I'm using Safari on a Mac if that is of any help.

We (gRPC) don't own the CLA check; it's run by CNCF.  To get help resolving this, you'll need to open a ticket with them via the link above.

Fixed CLA


mark known_failures from upgrade_tests

Also adds some Doxygen metadata in a place where it was obviously necessary.

+1

Cheers, merging.


mouse.support.js: Fix scheduled execution in case of no document.body.

Commit 5cf4553 changed the structure of this file, it does still call checkSupport, but the function no longer exists.

Thanks!


Access/Connect Couch Db 1.6 from a remote server

Hi There
I have installed couch db 1.6 in one of my amazon ec2 instance and i want to connect it from a blacknight hosted code. I had tried setting up the bind address in local.ini as <IP_ADDRESS> and tried connecting , but unfortunately it was not connecting.
There is no firewall blocking the port or IP
Any help will be highly appreciated
Thanks
Nijil

Sorry, Apache CouchDB has deprecated v1.x and is no longer supporting this release via GitHub.
If you are looking for advice you can try our mailing list or Slack channel for informal assistance. See https://couchdb.apache.org/ for more information.


GS 2022-01-17 harvest and CSV extraction bug fixes.

Someone at GS has been very busy in the past month as there are many changes in the organoleptic percepts. Also, we fixed a bug in the code in how the OPL IDs were extracted from the original HTML data into the opl.csv file, as a result there is a lot more structured data that can be linked to activity data, now. We highly recommend you pull these changes and rerun your scripts.

Shall I wait until after that to review this?

It's your call. Either way, we will do a TGSC harvest next week and update the data. If you already merged this PR by that time, we will issue another one. And if not, we will update this one.

Not a single change in yesterday's harvest. Will continue to monitor TGSC this year, but it is safe to pull this now.


Using Precison metric in compile method raises shape mismatch error

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Windows 10 Home
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No mobile device
TensorFlow installed from (source or binary): Installed using Pip command
TensorFlow version (use command below): 2.1.0
Python version: 3.6.8
Bazel version (if compiling from source): No
GCC/Compiler version (if compiling from source): No
CUDA/cuDNN version: No
GPU model and memory: No
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.

I am trying o implement different training metrics for keras sequential API. However when I try to implement precision method I get an error of shape mismatch. The same thing works when I use sigmoid as activation function instead of softmax.
I am trying to solve binary classification problem.
Code to create model:
def create_model():
    model = tf.keras.Sequential([
    feature_layer,
    tf.keras.layers.Dense(units = 12, activation='relu', use_bias = True, kernel_initializer= 'glorot_normal', bias_initializer = 'zeros', name = 'd1'),
    tf.keras.layers.Dense(units = 6, activation='relu', use_bias = True, kernel_initializer= 'glorot_normal', bias_initializer = 'zeros', name = 'd2'),
    tf.keras.layers.Dense(units = 2, activation='softmax', name = 'out')
    ])
    model.compile(optimizer='adam',
                  loss='sparse_categorical_crossentropy',
                  metrics=[tf.keras.metrics.Precision()])
    return model

The same code runs when I try to run with sigmoid activation fuction with 1 output unit and Binary Crossentropy as my loss.
Source code / logs
Traceback (most recent call last):
  File "4.py", line 217, in <module>
    callbacks = ALL_CALLBACKS)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 819, in fit
    use_multiprocessing=use_multiprocessing)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_v2.py", line 342, in fit
    total_epochs=epochs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_v2.py", line 128, in run_one_epoch
    batch_outs = execution_function(iterator)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_v2_utils.py", line 98, in execution_function
    distributed_function(input_fn))
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\eager\def_function.py", line 568, in __call__
    result = self._call(*args, **kwds)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\eager\def_function.py", line 615, in _call
    self._initialize(args, kwds, add_initializers_to=initializers)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\eager\def_function.py", line 497, in _initialize
    *args, **kwds))
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\eager\function.py", line 2389, in _get_concrete_function_internal_garbage_collected
    graph_function, _, _ = self._maybe_define_function(args, kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\eager\function.py", line 2703, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\eager\function.py", line 2593, in _create_graph_function
    capture_by_value=self._capture_by_value),
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\framework\func_graph.py", line 978, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\eager\def_function.py", line 439, in wrapped_fn
    return weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_v2_utils.py", line 85, in distributed_function
    per_replica_function, args=args)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\distribute\distribute_lib.py", line 763, in experimental_run_v2
    return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\distribute\distribute_lib.py", line 1819, in call_for_each_replica
    return self._call_for_each_replica(fn, args, kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\distribute\distribute_lib.py", line 2164, in _call_for_each_replica
    return fn(*args, **kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\autograph\impl\api.py", line 292, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_v2_utils.py", line 433, in train_on_batch
    output_loss_metrics=model._output_loss_metrics)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_eager.py", line 316, in train_on_batch
    model, outs, targets, sample_weights=sample_weights, masks=masks)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_eager.py", line 74, in _eager_metrics_fn
    skip_target_masks=model._prepare_skip_target_masks())
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 2004, in _handle_metrics
    target, output, output_mask))
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 1955, in _handle_per_output_metrics
    metric_fn, y_true, y_pred, weights=weights, mask=mask)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\engine\training_utils.py", line 1155, in call_metric_function
    return metric_fn(y_true, y_pred, sample_weight=weights)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\metrics.py", line 196, in __call__
    replica_local_fn, *args, **kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\distribute\distributed_training_utils.py", line 1135, in call_replica_local_fn
    return fn(*args, **kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\metrics.py", line 179, in replica_local_fn
    update_op = self.update_state(*args, **kwargs)  # pylint: disable=not-callable
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\utils\metrics_utils.py", line 76, in decorated
    update_op = update_state_fn(*args, **kwargs)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\metrics.py", line 1216, in update_state
    sample_weight=sample_weight)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\keras\utils\metrics_utils.py", line 303, in update_confusion_matrix_variables
    y_pred.shape.assert_is_compatible_with(y_true.shape)
  File "C:\Users\Aniket\Desktop\Class\class_env\lib\site-packages\tensorflow_core\python\framework\tensor_shape.py", line 1110, in assert_is_compatible_with
    raise ValueError("Shapes %s and %s are incompatible" % (self, other))
ValueError: Shapes (None, 2) and (None, 1) are incompatible

@aniketbote
Can you please help us with the colab link or simple standalone code to reproduce the issue in our environment. It helps us in localizing the issue faster. Thanks!

https://colab.research.google.com/drive/1zBAVrau6tmShvA7yo75XgV9DmblDi4GP
This is the colaboratory link that can recreate the error.

@aniketbote
There is no information is available in the link you have shared. Request you to send the correct link and help me to reproduce the issue. It helps us in localizing the issue faster. Thanks!

Sorry about that.
Colab_link
This is the correct link.

I know the issue but don't whether that is the expected behavior or not. When using sigmoid the output layer gives array of shape (n * 1) for binary classification problem and when using softmax it outputs (n * 2). The error is because of the assert statement which expects array of shape (n * 1).

@aniketbote For this problem binary_crossentropy and sigmoid are suitable. When you have more than two categories, you can use categorical_crossentropy and softmax.  I changed create_model part of your code which works as expected. Please check the code below.
def create_model():
    model = tf.keras.Sequential([
    feature_layer,
    tf.keras.layers.Dense(units = 12, activation='relu', use_bias = True, kernel_initializer= 'glorot_normal', bias_initializer = 'zeros', name = 'd1'),
    tf.keras.layers.Dense(units = 6, activation='relu', use_bias = True, kernel_initializer= 'glorot_normal', bias_initializer = 'zeros', name = 'd2'),
    tf.keras.layers.Dense(units = 1, activation='sigmoid', name = 'out')
    ])
    model.compile(optimizer='adam',
                  loss='binary_crossentropy',
                  metrics=['accuracy',tf.keras.metrics.Precision()])
    return model

Please close the issue if the issue was resolved for you. Thanks!

As stated in the question, the metric works when I try to use a single sigmoid activation function in my final layer. So does every TensorFlow metric require a single sigmoid function as its final layer to work correctly and will not work if any other activation function like softmax is used?
Also, the precision metric fails if we try to use it for a multiclass classification problem with multiple softmax units in the final layer.
To summarize we cannot use any of the metrics provided by TensorFlow if we have more than 1 unit in our final layer. So is it the expected behavior?

Is anyone working on this issue?
I would like to work on this issue.

So does every TensorFlow metric require a single sigmoid function as its final layer to work correctly and will not work if any other activation function like softmax is used?

You can use metrics with multiple output units (Softmax or otherwise) if you use a non-sparse loss e.g., categorical_crossentropy (opposed to sparse_categorical_crossentropy) and encode your labels as one-hot vectors. You may need to use the class_id parameter to compute the metric for each class in the case of precision/recall (I'm not sure what the behavior is otherwise).
That said, it would be great if sparse losses were supported for metrics computed over multiple output units to save on memory. Is that what is being proposed in this issue?

So does every TensorFlow metric require a single sigmoid function as its final layer to work correctly and will not work if any other activation function like softmax is used?

You can use metrics with multiple output units (Softmax or otherwise) if you use a non-sparse loss e.g., categorical_crossentropy (opposed to sparse_categorical_crossentropy) and encode your labels as one-hot vectors. You may need to use the class_id parameter to compute the metric for each class in the case of precision/recall (I'm not sure what the behavior is otherwise).
That said, it would be great if sparse losses were supported for metrics computed over multiple output units to save on memory. Is that what is being proposed in this issue?

@aniketbote could you please confirm if you are still interested in working on this issue and would the solution be similiar to what @dwyatte suggested ?

@aniketbote could you please confirm if you are still interested in working on this issue and would the solution be similiar to what @dwyatte suggested ?

@goldiegadde I am interested in working on this issue. I have a gist of what I have to do but it would help me a lot if you give some pointers on what should I change and how should I change it. Although I use TensorFlow extensively in my job, this will be my first contribution. So any help/advice is appreciated.

@goldiegadde I am interested in working on this issue. I have a gist of what I have to do but it would help me a lot if you give some pointers on what should I change and how should I change it. Although I use TensorFlow extensively in my job, this will be my first contribution. So any help/advice is appreciated.

@aniketbote @goldiegadde I could use this functionality, so I made a quick pass on it in https://github.com/tensorflow/tensorflow/pull/48122 (a few line change in tensorflow/python/keras/utils/metrics_utils.py plus tests).
If this is something useful, we should figure out whether support for sparse outputs should be implicit as in the draft PR above or explicit and if it explicit, whether usage should be specified by an additional argument on metrics classes (e.g., sparse_labels=True) or new sparse metric classes (e.g., SparsePrecision, SparseRecall, etc). I mentioned this in the draft PR as well.


New install guide and setup script

Added How to install in the Readme and a setup script, the wiki is a bombshell.

haha thanks for all the work, i knew my readme was really bad :) i'll edit some things and hopefully push tomorrow

it was for the ble spam, took it from applejuice

Here is a pi transmitter software, https://github.com/F5OEO/rpitx


[Feature Request]

support Display in other languages
support cheat
support save/load state in indexdb data when i load
js method take output "capture" image Uint8array

Hey Nenge123,
Could you create a separate github issue for each individual feature request?
Thanks,
-Sky


chore: various ci fixes

This PR fixes CI:

using aliases that exist (because .nuxt has been prepared but .vite hasn't yet been generated)
linting project
using a node 14 compatible fs utility as we are still testing it in ci

Thank you so much 🙏


Do not render vectors in image mode

This pull request improves performance for "image" render mode with vector tiles, by not trying to render vectors at all.

note: easier to view the diff with the w=1 param:
https://github.com/openlayers/openlayers/pull/8301/files?w=1


As a business owner who has suppliers that supply different products, I can tag the supplier with their product type

so that I can have a clearer view of ‘who supplies what’ at a glance.

#21


refactor api.py

Only the smallest of edits to make, as far as I'm concerned.  Looks great!

lgtm :+1:


stats: keep a set of ref-counted parent histograms in ThreadLocalStore so that two with the same name map to the same histogram object.

Signed-off-by: Joshua Marantz<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

This may help unblock #12241

We'll see if this flies through CI but I think this is ready for review

OK I've got a framework for a real-threads histogram test, which I refactored from an existing test that used real threads.
I think there's probably more you had in mind and I should take another crack at some tests myself tomorrow, and I still need to update stats.md.

I didn't add more 'synchronizer' tests. The locking structure is identical to that of counters/gauges for which there are synchronizer tests. Happy to add that if you like.


Randomly Initialized embeddings?

Hi, thanks for sharing your implementations, it is really helpful and very clean to follow.
I have one question about the embedding used in your model. There are 3 options discussed in the Diffusion-LM paper: 1. fixed randomly initialized embedding. 2. fiexd embeddings initialized from a PLM (like BERT). or 3. E2E embedding like Diffusion-LM.
I did not find which one you used in your paper.
But from your codes, It seems that you use randomly initialized embeddings, which is different from Diffusion-LM?
Specifically, I find the input ids are embedded into 128-d random embeddings in the data loading process:
https://github.com/Shark-NLP/DiffuSeq/blob/8bfafcbb26df218073b8117234afb9de9dfcbec9/basic_utils.py#L71
Please correct me if I am wrong.

Hi, we randomly initialized the embeddings and trained them end-to-end, so it is the same setting with Diffusion-LM. We also tried the second setting, which is compared with joint E2E training in our paper (Table 3). The line you quote loads the 128d random embeddings but they are not used in the later training, and we keep this interface in case you need to initialize them in other settings. For DiffuSeq, the actually used word embedding is:
https://github.com/Shark-NLP/DiffuSeq/blob/8bfafcbb26df218073b8117234afb9de9dfcbec9/diffuseq/transformer_model.py#L55

For future reference,
it seems the randomly initialized embeddings are used,
https://github.com/Shark-NLP/DiffuSeq/blob/901f8604d619c1923d69e57bd11894523309aab8/diffuseq/text_datasets.py#L192
But it's finally not used,
https://github.com/Shark-NLP/DiffuSeq/blob/901f8604d619c1923d69e57bd11894523309aab8/diffuseq/gaussian_diffusion.py#L596-L600

@summmeer , So the default setting is training E2E?


[Release-1.30] - Agent loadbalancer may deadlock when servers are removed

Backport fix for Agent loadbalancer may deadlock when servers are removed

#10506

Validated on release-1.30 branch with version v1.30.3-rc1+k3s1
Environment Details

Infrastructure

[x] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"

$ uname -m
x86_64

Cluster Configuration:

HA: 3 server/ 1 agent

Config.yaml:

token: xxxx
cluster-init: true
write-kubeconfig-mode: "0644"
node-external-ip: <IP_ADDRESS>
node-label:
- k3s-upgrade=server

Testing Steps

Copy config.yaml

$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s

Install k3s

curl -sfL https://get.k3s.io | sudo INSTALL_K3S_VERSION='v1.30.3-rc1+k3s1' sh -s - server

Verify Cluster Status:

kubectl get nodes -o wide
kubectl get pods -A

Identify the server that the agent is connected to : netstat -na | grep 6443
Disconnect the network on that server: ip link set dev eth0 down (or whatever interface that node is using).
Look up the journal logs for a loadbalancer update happening.

Replication Results:

k3s version used for replication:

$ k3s -v
k3s version v1.30.2+k3s1 (aa4794b3)
go version go1.22.4

level=error msg="Remotedialer proxy error; reconnecting..." error="dial tcp <ip1>:6443: connect: connection timed out" url="wss://<ip1>:6443/v1-k3s/connect"
level=info msg="Connecting to proxy" url="wss://<ip1>:6443/v1-k3s/connect"
level=debug msg="Failed over to new server for load balancer k3s-agent-load-balancer: <ip1>:6443 -> <ip2>:6443"

Validation Results:

k3s version used for validation:

$ k3s -v
k3s version v1.30.3-rc1+k3s1 (086d9ca0)
go version go1.22.5

level=info msg="Removing server from load balancer k3s-agent-load-balancer: <ip1>:6443"
level=info msg="Updated load balancer k3s-agent-load-balancer server addresses -> [<ip2>:6443 <ip3>:6443] [default: <ip1>:6443]"


crashed in electron 4.2.5

https://github.com/nodejs/nan/issues/865

@hxkuc you can try this workaround in your package.json
"resolutions": {
"objc/**/nan" : "2.12.1"
}


"Functions" entry in treeview is missing icons

This issue is solved in pr #417
In your screenshot I notice that there is no label for the function (instead of {...}).
Maybe get the label from the namespace for functions?

Partially fixed by #417

Which part is not fixed?

[ ] Need icons for namespace, individual functions, parameters, outputs, etc.
[ ] Need to better populate the tree with understanding of functions (for instance understanding that the {...} object is a namespace and labeling it properly, as Nils points out above)

I tried to fix this issue in #427

Fixed by #427

Release went out today with this fix - thanks.


Change 'local' to 'global' in README

I think global makes much more sense than local.

Thats right, thanks!


Creating the Postgress Database Script in SQL

script is built and tested and ready to be applied to the newly created RDS. its also saved in the root directory in the backend repo


404 - Page Not Found: Missing CODE_OF_CONDUCT.md in gh-pages branch

I encountered a 404 error when trying to access the CODE_OF_CONDUCT.md file. It seems that the file is missing from the gh-pages branch of the awesome-github-profiles repository.

Hi @AtharvaDomale I have assigned this issue to you

Hi @sanjay-kv, thank you for assigning me this issue. I would like to work on resolving it. I will investigate and restore the missing CODE_OF_CONDUCT.md file in the gh-pages branch. Please let me know if there are any specific requirements for this task.

nothing spesfic you can use the default one.

Hi @sanjay-kv , please review this PR at your convenience.


FieldStatistics.cs class has int values but can get from indexes long values

NEST/Elasticsearch.Net version: 7.6.1
Elasticsearch version: 6.8
Description of the problem including expected versus actual behavior:
A clear and concise description of what the bug is.
This class is getting integers in all their properties: https://github.com/elastic/elasticsearch-net/blob/master/src/Nest/Document/Single/TermVectors/FieldStatistics.cs
Can be the case, when you do a termVectors query, those number are bigger than an integer (long).
Steps to reproduce:

Query to termVectors: POST https://host/index/_mtermvectors
An exception is triggered: "Unhandled exception when processing list: efefdb47-0aaf-4244-9c96-7e971cba3c46. - Elasticsearch.Net.UnexpectedElasticsearchClientException: JSON integer<PHONE_NUMBER> is too large or small for an Int32. Path 'docs[0].term_vectors.abstractFull.field_statistics.sum_ttf'

Expected behavior
Be able to map all properties.
Provide ConnectionSettings (if relevant):
Provide DebugInformation (if relevant):

Thanks for opening @guille11gg.
Looking at FieldStatistics in Elasticsearch source, SumOfDocumentFrequencies and SumOfTotalTermFrequencies should be long.
Changing these to long in 7.x would technically be a breaking change. I see a couple of options:

Accept the breaking change in a minor version, as impact in doing so is likely low. For clarity, the semantic versioning of the library is bound to the versioning of Elasticsearch.
Introduce SumOfDocumentFrequenciesLong and SumOfTotalTermFrequenciesLong long type properties to deserialize to, with existing int properties returning these values.

Technically a breaking change, but I suspect moving from int to long in this case should be of limited impact. My vote for 1.

I'm +1 on changing them to long too

Hi all,
Will the fix of this bug release in v.7.7.0?
What´s the date expected of that release?
thanks a lot.

hi @guille11gg, I'm looking at putting a new 7.x release out today

@guille11gg 7.6.2 is now released to nuget with this fix: https://www.nuget.org/packages/NEST/7.6.2


[Main. Оберіть напрям гуртків] Wrong color of labels

Environment: Windows 10, Google Chrome Version 92.0.4515.107 (Official Build) (64-bit)
Reproducible: always
Build found: last commit
Preconditions

Go to https://speak-ukrainian.org.ua/dev/

Steps to reproduce

Scroll down to 'Оберіть напрям гуртків'

Actual result
Color of the names of the categories is 002766

Expected result
Color of the names of the categories is #2D4C68

The same issue is still present. Color of the names of the categories is 002766


Calculate the similarity of two polylines

An algorithm for calculating the similarity between two given polylines should be implemented.
Idea:

create a corridor area around the first polyline (with configurable corridor width); a polygon instance can be used for this (check: what happens if the polyline crosses itself?)
check how much of the second polyline is located within the corridor
the result is a floating point number between 0 and 1; 0 means that no parts of the second polyline are located within the corridor and 1 means that the second line ist located entirely within the corridor
additionally provide a check if the directions of both polylines are the same

Sounds reasonable?

What is the real-world appliance? Like, if vehicle/someone follows some path when traveling?
If you decide to add support for GEOS (like https://geophp.net/geos.html), there is "within" function, so when you construct a corridor, you can easily check if polyline is within polygon.
However, you can have issue there if you are trying to determine if object follows a "one way" path.
Let say that there is a path A-B-C-D, so you want to check if object follows that path. With function "within" object can go A-B-C-B-C-B-D and you will get result that evaluates to "true".
There are additional issues related to "path following problem" which has to be considered, but I can not explain them without drawing...


test: Update request.test.ts to remove duplicate checks

Possibly unintended check duplication :P
The author should do the following, if applicable

[x] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code
[x] Add TSDoc/JSDoc to document the code

@JoaquimLey
Yes. It's unintended. Thank you for your contribution.


Adds doxygen generation and github action for automated pages

Automated documentation using doxygen and github actions! (Tested on personal repo, can only test it here once it is present on the repo)
Read the starter guide on documenting code here:
https://www.doxygen.nl/manual/docblocks.html
When you write documentation, ask yourself two questions:
What is 's purpose?
What do I expect to happen when I use ?
Keep it high level, but be clear. Include any information that you think might help you or someone else later.
You must document all your public functions, objects, etc with at least a @brief, @return (when not void) and documenting any arguments (or we'll get warnings).  Also, include a description for what objects you make and what their overall purpose is, and fill out the inheritance graph if you use inheritance structures.
We're using three /// slashes, with @ to represent the specific strings:
Here's an example: (Most documentation belongs in the hpp header file)
    /// @brief Get the temperature of the sensor
    /// @return temperature in Celcius
    float get_temperature();

    /// @brief Get the acceleration of the sensor in its local x axis.
    /// @return acceleration m/s^2
    float get_accel_X();

There exists VSCode/Codium extensions that autogenerate/autocomplete the documentation structure. I currently use cschlosser's Doxygen Documentation Generator.
Please make sure that your code is documented fully before merging the pull request! We want to write readable code that we can use and improve on for a long time. We'll get clearer standards written up later. Please ask any questions or suggestions to help us develop good standards.
Note about github pages:
Github pages is paid for private repositories. But, we don't need github pages to access the docs. You can access it locally by going to the docs branch and opening the index.html file (TODO make a buff-tool for this later). This is also what you'll want to do to make sure your documentation works, which can be done by running doxygen Doxyfile in the root of the project. Make sure to only commit the docs to the github-pages branch, however (and don't modify the html website manually - do it through documenting your code)!
Also, the main README.md file should be the doxygen homepage. Let's do some cool stuff with that! (We can set it to a different MD file if needed)

first


Default rendering position is sometimes wrong

With large visualisations the opening default zoom often doesn't have any data in it. This makes it somewhat hard to use the tool.
Ideally the default zoom position would be set to include all of the displayed data.

This should be fixed now. Can you check with your data and let me know whether it's still not working?

Thanks @marianamarasoiu


Safari 9.0.2 won't render records page

Looks like the recent release of Safari browse 9.0.2 is interfering with rendering of any records page. Should be able to reproduce by using that version browser and try to pull up any records page. All that appears is a blank page with just the header and footer (whether in FaceBase or vanilla chaise).
Some possible resources:
apple's Safari 9.0.2 page: https://support.apple.com/en-us/HT205639
a third-party writeup about the release:
http://blog.appgrounds.com/content-blockers-track-browser-history/

one other interesting thing is the new Safari breaks the use of http:// in the URL. Other browsers will change http to https but new Safari doesn't seem to.

I just updated my system and am now running Safari Version 9.0.2 (11601.3.9). All the details pages are working for me. We need to find a local system that is having the problem.

The redirect to the record page did not specify a trailing /. I.e., it was /record that got concatenated with the fragment identifier. When browsing to the resource the apache server will issue a permanent redirect to the .../record/ resource. Some browsers will then strip away the #... fragment identifier and therefore will not have any parameters. We will fix the immediate issue by adding the trailing / by default. We should also improve our error reporting from the record page. There is already an issue for that.

Fixed. Tested. and deployed to a production server.


Add exchange-rates-client fallback implementation

This PR tries to fix application build failure.
Currently, maven build failing due to failed ExchangeRatesClientTest test.
The test is failing while requesting exchange rates from Fixer API.
-------------------------------------------------------------------------------
Test set: com.piggymetrics.statistics.client.ExchangeRatesClientTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.895 sec <<< FAILURE! - in com.piggymetrics.statistics.client.ExchangeRatesClientTest
shouldRetrieveExchangeRates(com.piggymetrics.statistics.client.ExchangeRatesClientTest)  Time elapsed: 0.884 sec  <<< ERROR!
com.netflix.hystrix.exception.HystrixRuntimeException: getRates failed and no fallback available.

The root cause of this failure is discontinued Fixer API (since June 1st, 2018).
More details from the response:
Caused by: feign.FeignException: status 404 reading ExchangeRatesClient#getRates(Currency); content:
{
  "0": "#################################################################################################################################",
  "1": "#                                                                                #",
  "2": "# IMPORTANT - PLEASE UPDATE YOUR API ENDPOINT                                                                                #",
  "3": "#                                                                                #",
  "4": "# This API endpoint is deprecated and has now been shut down. To keep using the Fixer API, please update your integration       #",
  "5": "# to use the new Fixer API endpoint, designed as a simple drop-in replacement.                                                  #",
  "6": "# You will be required to create an account at https://fixer.io and obtain an API access key.                                   #",
  "7": "#                                                                                #",
  "8": "# For more information on how to upgrade please visit our Github Tutorial at: https://github.com/fixerAPI/fixer#readme          #",
  "9": "#                                                                                #",
  "a": "#################################################################################################################################"
}

So, this PR adds a workaround in form of fallback implementation for ExchangeRatesClient, which returns empty ExchangeRatesContainer.
The motivation of this fix is the following:

fixing build failure for now
providing degraded service in case of third-party failure, instead of failing completely

Notes:
I've quickly looked at new Fixer API and would like to share with you what I've found :)
Fixer API now requires access key for any requests, which by itself not a big problem, as they are offering a free tier.
The worst part is that it's now limited up to 1000 requests per month and doesn't allow to specify the custom base currency.
As result, it seems to me, that Fixer SaaS API is not suitable anymore for this application.
Next steps:
As a further logical step to solve this issue, I would suggest to:

either switch to another exchange rates info provider
or deploy an instance of Fixer service as a part of the whole application ecosystem

What do you think? :)

Codecov Report

Merging #23 into master will increase coverage by 0.16%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #23      +/-   ##
============================================
+ Coverage     80.86%   81.03%   +0.16%
- Complexity      217      219       +2
============================================
  Files            44       45       +1
  Lines           575      580       +5
  Branches         13       13
============================================
+ Hits            465      470       +5
  Misses          108      108
  Partials          2        2

Impacted Files
Coverage Δ
Complexity Δ

...statistics/client/ExchangeRatesClientFallback.java
100% <100%> (ø)
2 <2> (?)

Continue to review full report at Codecov.

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

Hi @Q1nt! Thank you very much for the contribution. Looks good, I'll merge it.
As a next step, I agree, it would be great to switch to another exchange rates provider.


AttributeError: Namespace object has not attribute 'batch'

Hi, i have followed your instructions and wanna run the train.py file. But I am getting this error would you please give me any suggestions. thanks in advance

Hi, sorry for the glitch. It is because of the inconsistency between 'batch' and 'batch_size'. I have now fixed the issue and updated repo, it should work fine now, please give another try again :)


Use a more international date format

MDY is primarily used in the USA. DMY, in contrast, is used by the majority of the world: https://en.wikipedia.org/wiki/Calendar_date.

Before
After

I'd actually want to get this from the browser, so that you just see whatever you expect to see.

The stamp link result now displays in the dateformat of the browser's locale. Compose should be up next

Oh, cool, I didn't know about window.navigator.language (d80a07951) :slightly_smiling_face:
So, I see you're doing changes related to this (also in the context of #10). Should I drop this PR?

Yes, this PR can be dropped. Thank you a lot for helping the issue forward @waldyrious

Sure! An additional benefit of this discussion was that it led to improvements to the MDN docs for window.navigator.language and Intl :D https://github.com/mdn/content/pull/29347 — so overall it was well worth the investment.
I have a follow-up question, though. If the browser locale is simply "en" (not "en-US"), I believe the date format defaults to the MDY style, i.e. the same as the "en-US" locale. Given the considerations in the opening comment of this PR, would you consider introducing logic to ensure a browser locale of "en" gets the date formatted the same way as "en-GB"?

console.log(new Intl.DateTimeFormat('en-US', {dateStyle: 'long'}).format(date)); // Output: "December 20, 2020"
console.log(new Intl.DateTimeFormat('en-GB', {dateStyle: 'long'}).format(date)); // Output: "20 December 2020"
console.log(new Intl.DateTimeFormat('en', {dateStyle: 'long'}).format(date)); // Output: "December 20, 2020" (same as en-US)


Proposal: Split bucket and object metadata to different struct

Proposal: https://github.com/Xuanwo/storage/pull/58

Implement: https://github.com/Xuanwo/storage/pull/59


Yakuza Kiwami Support

Added Yakuza Kiwami support by adding game to games.json. This works the same way as Yakuza 0 with no trouble. Please note: this was tested with the GOG version of the game (Yakuza 0 and Yakuza Kiwami), not Steam. This should add support for Steam as well. Source: https://www.gog.com/forum/yakuza_series/converting_saves_from_steam

Closes Issue #125


Not able to login to push created image

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...


Radix Dialog + HCaptcha bug

Bug report
Current Behavior
When using Radix Dialog with this HCaptcha package, it isn't possible to click images in the captcha. Attempting to do so makes the captcha modal close.
At first glance, it seems like a basic z-index issue but it is more complicated than that. I suspect it is something to do with the combination of the HCaptcha iframe & React Portal.
example of the bug: https://superficial-mark.surge.sh/
code: https://github.com/gigamesh/radix-bug
Any ideas would be much appreciated!
versions
package.json
pnpm v6.32.10
node v16.13.2

Hi @gigamesh,
It will be because of the fact dialog disabled outside pointer events when modal.
There are a couple solutions for this:
Solution 1
Target the modal from hcaptcha and add pointer-events: auto to it.
Unfortunately, I haven't been able to find a way to do this as the library seems pretty close and doesn't seems to give any access to DOM/attributes, etc.
Solution 2
Make the radix dialog non-modal by passing modal={false} to Dialog.Root. That will fix the issue with pointer events, but it seems an issue still remains as the other dialog steals focus. To prevent that from happening, you can pass onFocusOutside={event => event.preventDefault()} to Dialog.Content.
https://codesandbox.io/s/elastic-moser-6nfkt9?file=/src/App.js

Note: I've used your siteKey in the above sandbox, let me know when the issue is resolved your side with either solution and I'll delete the sandbox.

Closing the issue now, but feels free to keep discussing.

@benoitgrelard huge thank you!
I tried solution 2 and it all seems to be working except the DialogOverlay doesn't render. Is that by design?

Yes that is by design for a non-modal dialog.

dang ok - I think we'll need to fork the repo to opt out of that. thanks again

That wouldn't be really valid to have an overlay for a non-modal dialog. Non-modal means all users can interact with what's outside the dialog. An overlay would block that.
In my opinion, a better solution is to work towards having access to the DOM produced by hcaptcha, or at least being able to add a data attribute, an id, or a className to it to be able to target it.

Good point - I think the hcaptcha script is minified & fetched because its a paid service.
I could try doing surgery on the script but probably going to be easier to write a hacky script to find the DOM node based on its list of style attributes. Not great but should work fine for our needs.

Is it open source? Could try and get a change in?

no but that's ok - got it working. thanks again!

Got this same issue -- and your solution worked! Thanks for posting!
Hacky as heck, but here's the way I found the DOM element:
 <HCaptcha
          sitekey="..."
          onOpen={() => {
            var hcaptchaElement = document.querySelector(
              '[title="Main content of the hCaptcha challenge"]'
            )
            if (hcaptchaElement) {
              ;(hcaptchaElement as HTMLElement).style.pointerEvents = 'auto'
            }
          }}


StorageOS 2 and OKD 4.4 volumes created after installation not visible in dashboard and not spread across nodes

StorageOS 2 and OKD 4.4 volumes created after installation not visible in dashboard and not spread across nodes.
So when I create 2 replica volume, I can see on compute node that all replicas has been in fact created on single compute node.
This however works correctly when volume is created from dashboard.
Tested on bare metal OKD 4.4 Beta3 installation with 3 masters and 3 compute nodes.

Question already answered on slack.

Even though most of the questions have been addressed through the Slack channel, we would like to add information to the issue.
The StorageOS GUI segments the Volumes following the Kubernetes namespaces or in this case the OpenShift projects where the PVC is placed. In the GUI, there is picker selector at the top left to choose what namespace is the current view of the Volumes page. See the image attached.

Regarding the replicas, StorageOS has a placement algorithm that doesn't allow the master and its replicas to be in the same instance. A volume with 2 replicas requires 3 nodes, one for the master and one for each replica. Otherwise, if that requirement is not met, the volume provisioning will fail.
I would recommend using the dynamic provisioning functionality that StorageOS provides by provisioning PVCs. When a PVC is provisioned, StorageOS provisions a Volume and maps it with a PV. Creating a Volume from the GUI does not create a PVC or PV. That procedure is manual. Therefore we would recommend to use a PVC and let the automation work for you.


Usage message after install and run okta-aws test sts get-caller-identity

Describe the bug
I installed using README instructions, then try to run okta-aws test sts get-caller-identity. The result is a usage message from AWS CLI.
Note that aws sts get-caller-identity works fine, my AWS client is working, and I regularly use okta-aws to authenticate.
To Reproduce
Steps to reproduce the behavior:

Install as per README
run okta-aws test sts get-caller-identity

Expected behavior
To be honest, I'm not sure, this is the first step to validate the install.

Never mind, this is my fault, I had a different okta-aws executable on my path.


Evaluate storage of grid features values per chain

I noticed that the old deeprank stores grid feature values per chain, for protein-protein interactions. The currect deeprank-core doesn't do that. If we were to apply this to deeprank-core, we need to somehow make the mapping methods treat protein-protein interface graphs differently.
I'm not sure how much this difference affects the performance of deeprank.

Is this still an issue? Did we take any decisions here? @cbaakman

Is this still an issue? Did we take any decisions here? @cbaakman

No decisions were made on this topic yet.


Android - New Room - The name of the room is underlined when creating

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the App
Login with Expensify account
Click on FAB button->New Room
Start typing a name for the room

Expected Result:
The name of the room should not be underlined
Actual Result:
The name of the room is underlined
Workaround:
unknown
Platform:

Where is this issue occurring?

Android
Mobile Web - Android chrome

Version Number: v1.2.15-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/195929540-13e94a3f-80ff-41bd-8dac-7075c888fd7c.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
View all open jobs on GitHub

Hmm I think this is the default behavior for inputs on Android because the text is also underlined in other fields. Also if you type a number first the text is not underlined.

Yup, tested on other apps (like Airbnb, Whatsapp, and Gmail) and the behavior is the same. Closing it


Add Holy Ghost Preparatory School

@100percentexistant First stage of verification passed, official domain is holyghostprep.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@100percentexistant Pull request merged. Thank you!


Blob Storage Bindings

Add support for Azure Blob storage as a:

[x] Trigger

[ ] Input Binding

[ ] Output Binding

Goal is to enable the functionality and document the Python example here - https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob
For now, we can add the docs and samples to the developer reference.

@asavaritayal We already have support for input/output bindings as well.


[WebdriverIO]After version 1.1.0 of codeceptjs, the api I.waitToHide() can not work well.

What are you trying to achieve?
The api I.waitToHide() can notwork well.
What do you get instead?
NA

Provide console output if related. Use --verbose mode for more details.

  1) Admin Board
       Test2-18-4:Hide Service:
     element (Apple CUPS) still visible after 3 sec

  Scenario Steps:

  - I.waitToHide("Apple CUPS", 3) at Test.Scenario (tests/ln2/admin_test.js:70:5)
  - I.click("//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div[3]/div[3]/a/div[2]/div[3]/button[1]") at Test.Scenario (tests/admin_test.js:67:5)

Provide test source code if related

Scenario('Test2-18-4:Hide Service', (I) => {
  I.click(el.admin.hide);
  I.waitToHide(el.appleTitle, 3);
  I.click(el.admin.hiddenList);
  I.waitForText(el.appleTitle, 3);
});

Details

CodeceptJS version:v1.1.0 or v1.1.1
NodeJS Version:V9.3.0
Operating System:Ubuntu 14.04 64bit
Protractor || WebDriverIO || Nightmare version (if related)WebDriverIO
Configuration file:NA

*Other info:
When I downgrade to codeceptjs v1.0.3,the api can work well.
So I think may the new version cause this error.

@liuliran Sorry for the delay. Are you still having troubles with the I.waitToHide() function?
Is there a website that I can test against? (It doesn't have to be your, but some website where the behaviour is similar would be helpful).

Closed due to inactivity.


flarectl: 0.84.0 -> 0.85.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/flarectl/versions.
meta.description for flarectl is: CLI application for interacting with a Cloudflare account
meta.homepage for flarectl is: https://github.com/cloudflare/cloudflare-go
meta.changelog for flarectl is: https://github.com/cloudflare/cloudflare-go/blob/v0.85.0/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.85.0 in filename of file in /nix/store/w5jap8im5mns07i5km42396pk93qwwcq-flarectl-0.85.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flarectl

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/2c60b86fbdcffeecadc1f681863a6f6d11d1d663#flarectl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/w5jap8im5mns07i5km42396pk93qwwcq-flarectl-0.85.0
ls -la /nix/store/w5jap8im5mns07i5km42396pk93qwwcq-flarectl-0.85.0/bin

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

1 package built:

flarectl

Maintainer pings
cc @jmbaur for testing.

Result of nixpkgs-review pr 278439 run on aarch64-darwin 1

1 package built:

flarectl


Poor colorblind mode

The current colorblind setting changes the green to orange and lightens the red.  This makes the text harder, not easier, for me to read with my red-green colorblindness; the text is still clearly readable, but the contrast between the two sections is lower, which leads to the page seeming more like a wall of text.

This now corresponds to https://github.com/Clojure-Intro-Course/babel/issues/51 in the migration repository.


Fix small issues in README, remove stale projects

Proposed change
This fixes some typos and other issues in the README.
For example, it changes the codecov badge to link to the correct branch, removes stale related projects at the bottom, fixes ZCL R7 PDF link, ...
Additional information
At some point, I'll hopefully get to updating the quirk example in the README a bit (to remove the Bus stuff). This isn't that time though.
Checklist

[ ] The changes are tested and work correctly
[ ] pre-commit checks pass / the code has been formatted using Black
[ ] Tests have been added to verify that the new code works

ZCL R8 and Zigbee PRO 2023 aka R23 is liked in the discussion https://github.com/zigpy/zigpy/discussions/595#discussioncomment-5863865 ant is one good plase linking to or making one page in the wiki with more dev docks.


feat: 177 add more examples into the docs

closes #177
This is ready, but first this one https://github.com/Tresjs/cientos/pull/198 should be merged

Precipitation _ Cientos.webm
I don't see problems @alvarosabu
What's the issue??

If you give me the ok @JaimeTorrealba we can merge


False positive for multiple return values

Given the following code:
package main

type T struct {
    s string
}

func (t T) MarshalJSON() ([]byte, error) {
    return json.Marshal(t.s)
}

errchkjson reports the error:
t.go:8:5: Error return value of `encoding/json.Marshal` is not checked (errchkjson)
        return json.Marshal(t.s)

which is a false positive, as it is the caller's responsibility to check the return value from T.MarshalJSON.

@twpayne Thanks for your bug report. In will look into this.

@twpayne Do you mind to test your use case again with the version from PR #6?

I confirm that #6 fixes the bug, thank you :)


WIP: Add k8s integration tests to CI

I'm aiming to get the integration tests to also run for a kuberentes cluster, currently rough progress for this is in ./scripts/travis/k8s.sh. I'm sharing this as a draft to ask for pointers.
So far the script ensures there is a test image (debian10 isn't working due to the TLS issue), then creates a kind cluster using the ./deploy/kubernetes/minikube/*.yaml which it waits for before starting the integration tests. The cluster looks ok on the surface as the services appear healthy, and topologies can be created and their pods run (ignoring when resource requests are too high at the moment).
The problems I'm seeing at the moment are that topology-test-runner instance state results are not written back to the HTTP collector on the host, which is accessible from the executors from the host URL passed to the test script, and http://<IP_ADDRESS>:8080 on the host.
The topology structure is also not updated for topology-test-runner and test-runner. Zookeeper within the cluster is accessible on zookeeper:2181, and <IP_ADDRESS>:2181 from the host.
I suspect this is down to misconfiguration, maybe something like needing separate ~/.heron/conf/kubernetes/*.yaml copies, one for within the cluster, one for the host.
Once that's worked out, I'll clean up and refactor the ./scripts/travis/*.sh test scripts and make a proper PR

Do we plan to do anymore work on this PR?

Attempt to resolve the merge conflicts with changes from master.


Add cookbook tutorials from over the summer

Adding the following tutorials to the Cookbook:

NASA Images in Python
Stack Exchange in Python
FoodData Central in Python
Congress.gov in Python
College Scorecard in C
GeoNames in C
ROR in C
Wiley TDM in C

Additionally, links in the College Scorecard in Python tutorial have been updated, since the webpages have been moved to new addresses.

Thanks Michael, merging now.