text:
Clarify the behavior of the Cross-Origin-Opener-Policy header

URL(s)
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy
Request type

[ ] New documentation
[x] Correction or update

Details
I'd like to recommend a couple of updates to the recent COOP article to better explain its behavior.
/cc @annevk @Elchi3
Introduction

COOP will process-isolate your document and potential attackers can't access to your global object if they were to open it in a popup, preventing a set of cache attacks dubbed XS-Leaks.

Replace "cache attacks" with "cross-origin attacks" or "information disclosure attacks". XS-Leaks aren't only cache-based, and the ones that COOP prevents are based on direct DOM access to other documents.

If a document with COOP opens a pop-up, its window.opener property will be null. This header allows you to have more control over references to a window than rel=noopener, which only affects outgoing navigations.

This isn't accurate because same-origin pop-up with same COOP will still retain the window.opener. I'd rephrase this to something like:
"If a cross-origin document with COOP is opened in a new window, the opening document will lost a reference to it, and the window.opener property of the new window will be null. This allows you to have more control over references to a window than rel=noopener, which only affects outgoing navigations."
Syntax | Directives | same-origin

Shares the same browsing context group with same-origin documents that are also explicitly marked same-origin.

"Shares the same browsing context group with same-origin documents whose COOP is also explicitly set to same-origin."
Examples

You can only access powerful features like SharedArrayBuffer objects or Performance.now()

@annevk Is Performance.now() restricted by COOP+COEP? I thought it's just SAB and the two other APIs listed in https://web.dev/coop-coep/
Browser compatibility
COOP also shipped in Chrome 83.

Thanks for your detailed feedback, @arturjanc! Very much appreciate it :+1:
I've made the updates you suggested and also fixed the compat data for Chrome.

You can only access powerful features like SharedArrayBuffer objects or Performance.now()

@annevk Is Performance.now() restricted by COOP+COEP? I thought it's just SAB and the two other APIs listed in https://web.dev/coop-coep/

Maybe it would be more correct to say:
"You can only access powerful features like SharedArrayBuffer objects or unthrottled timers in Performance.now()"
(I think I got this from https://groups.google.com/g/mozilla.dev.platform/c/-hYWoob95LI)
@annevk can probably comment on this a lot better than I :)

The resolution of performance.now() is gated on cross-origin isolated. This is not yet fully standardized, but implemented in Firefox: https://github.com/w3c/hr-time/issues/89.

Thanks Anne. Added info to https://wiki.developer.mozilla.org/en-US/docs/Web/API/Performance/now#Reduced_time_precision

@Elchi3 I recommend calling it "cross-origin isolated" everywhere as it's the name of the primitive, it matches self.crossOriginIsolated, and we might want to eventually create a page for that. I think we reached the point where being specific about "origin" and "site" and communicating the difference to developers is relevant.

Thanks for catching that, Anne. Updated!
I'm closing this here, but I think the remaining task for closing https://github.com/mdn/sprints/issues/2219 is to actually create a page that defines cross-origin isolation and make sure we link it out from the various place where we've introduced this now.

authors: Elchi3 annevk arturjanc

repo: mdn/sprints


text:
Bug 1504238 - Interactive examples have got narrower

Between October 17 and 24 the horizontal space available to interactive examples seems to have been reduced:
https://web.archive.org/web/20181017144030/https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
https://web.archive.org/web/20181024150009/https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
This might not seem like much but horizontal width is often a difficult constraint to work within: we take time and care to ensure if possible that examples won't wrap at reasonable browser widths.
Reducing the width the examples are allocated will undo this work for a lot of examples.
https://bugzilla.mozilla.org/show_bug.cgi?id=1504238
Acceptance Criteria

[ ] Allocated space for the interactive examples/main content area is restored

The cause of this issue is that the class .center's max-width has changed from 93.2667em to 77.7222em. Will see if there is perhaps a calculation done that is font-size based causing the decrease. If not, I am not sure which change introduced this, the resolution is changing the max-width back to  93.2667em.

So yes, this is font size related. There is this piece of CSS:
$max-width-default: (1399px / $base-font-size) * 1em;

The $base-font-size was bumped from 16px to 18px causing the narrower content area. There is a comment above the definition of these calculations stating the following:
...
- divide pixels by browser default font size (16px)
...

As our previous $base-font-size was 16px this mapped correctly, but now these is a mismatch. I am therefore switching back to 16px so it matches the comment, which will resolve this issue.

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
updated synthesis demo supported browser

I tested the demo synthesis in Safari today and it works great 👍

Cool!
Desktop or mobile Safari?

@tomByrer Both. Desktop and mobile.

@philipheinser The demo does not work for me on an iPhone. Safari iOS 13.4 https://mdn.github.io/web-speech-api/speak-easy-synthesis/
I've been struggling with text to speech on iOS. The code looks fine but maybe the issue is not the code but some settings in iOS.

@AoDev I testet it right now again in Safari on iOS 14.4.2 and it was working for me.

@philipheinser Ok. I've updated iOS to 14.4.2 and now I have sound. That said, when you opened this PR, iOS 14 was not released yet so, while I am happy it works now, I wish I knew why it didnt work on 13.

source: gharchive/pull-request

authors: AoDev philipheinser tomByrer

repo: mdn/web-speech-api


text:
middle bar not moving

the bar is not moving i have no idea what is wrong

This screen resolution might be too small for the tool.
Try this fix.

Look for settings.json on where you put the .exe
Open it with notepad or any field editor
Look for "UpperLeftBarPoint_Y"
Change it from "56" to "55"
Save it, then reopen the tool

I took your screenshot and Y: 55 and it looks ok-ish. If it still doesn't work, I'm afraid that screen resolution is just too small unfortunately.

Closed for Inactivity/lack of followup

repo: mdnpascual/ToF-Fishing-Bot

license: MIT


text:
Webauthn/Passkeys are a shattered dream. Remove text from header of README and move section further down the page.

Currently the README implies that Webauthn/Passkeys are the way forward.
Consensus in 2024 is that passkeys/webauthm is a shattered dream. Related Front Page discussion on HN.
"The biggest issue with passkeys is that I just can't trust the companies offering them"
-- Top comment on HN
Request that this front matter is removed and the section on this moved further down the readme, maybe including that issues around passkeys/webauthm are still being resolved and that there is still no mass adoption of this approach.
MFA TOTP remains best practice for password security in 2024 and this project is doing excellent work in this space.

First off, thanks for opening this issue and sorry for the delay in responding. I think it's a good issue to discuss and wanted to take some time to write up my thoughts on this.
In some ways I agree; Passkeys are a bit of a disaster UX wise, at least at the moment. Adoption of the full "Passkey" login has not been great, and it's definitely confusing for users. But while I can't predict Passkey adoption with consumers, for more security focused users (enterprise/corporate) it's already the standard (hardware keys via Webauthn).
Even as bad as the Passkey UX is, there's no way I could recommend TOTP in 2024 for most users.

OTP's are very phishable, so much so that most high profile orgs have banned their internal use - Google did this more than 6 years ago ^2. Cloudflare, Okta, Twitter - This trend is headed in only one direction.
It's a shared secret system. As a developer, this puts the onus on me to come up with a way to store it securely and retrieve the plaintext anytime a user logs in as well as prevent replays.
OTP's also seem to be heading towards UI enshittification. Nearly every enrollment will point a user to a mainstream OTP authenticator that then tries to tie this into the provider's backend. Google Authenticator has 100M downloads and a 3.8 rating, mostly due to cloud sync issues.
It's more work for the end user: install an app, scan a code, verify the code, get your phone out every time you need to login (or when the security team calls you and asks you to read off the OTP to them).

If you've got a user's email and security concerns are low, I think sending them a magic link is probably as safe for most users as TOTP, easier to use and easier for developers to implement (no need to encrypt and manage shared secrets and users don't need a separate app).
For users in more security critical roles, Webauthn/Passkeys is the solution while OTP is actually a liability ^1.
From personal experience I've moved every provider I can to Passkeys and haven't had much trouble. However it's clear from adoption rates that Passkeys are still not great for many users. But I think that's starting to change. For users with a password manager, like 1Password or Bitwarden (the beta on Testflight just added this on iOS and it works great), it's incredibly easy to use Passkeys now. It mostly just works, and works well.
While I think Passkeys still have many UX issues to solve, falling back to TOTP isn't an option. Put simply, if security is a big concern for your organization, YOU SHOULD NOT BE USING TOTP, or any OTP for that matter. For users that just want a simple 2FA solution, I think you'd be better off just using a simpler solution like magic links.

repo: mdp/rotp

license: mit

license_source: bigquery


text:
Convert fetching grids to use compressed zarr files

Description of the desired feature:

Due to some issues with Bedmap2 geotiffs (#119 ) as well as the pooch cache starting to grow very large, it would be good to convert any fetch calls on gridded data (geotiffs, netcdfs, etc) to preprocess the files into Zarr files. Initial testing with the bedmap2 tiffs showed a good amount of compression by using .zarr's, 87.8 MB for a .tif and 39.2 MB for a .zarr.
Unfortunately, Pooch keeps the unzipped file, as well as the non-preprocessed .tif files. So preprocessing all files to .zarr will only save space if we get pooch to delete the original files.
There is some discussion of this here, here
There doesn't seem to be support for this yet with Pooch. Maybe we can just use os.remove(fname) at some point in the fetch call?
For now I will start convertign to zarr anyway.
Geotiffs

[x] bedmap2
[ ] REMA
[ ] deepbedmap
[ ] burton-johnson GHF
[ ] stal GIA
[ ] MODIS MOA
[ ] LIMA

NetCDFs

[ ]  bedmachine
[ ]  RIS basement
[ ] baranov sediment thickness
[ ] tankersley sediment thickness
[ ] globsed
[ ] IBCSO
[ ] antgg
[ ] eigen gravity
[ ] earth topo
[ ] eigen geoid
[ ] aq1 GHF
[ ] shen crust
[ ] an crust
[ ] shen moho

Are you willing to help implement and maintain this feature?

Discovered that you can't use os.remove(fname) since pooch uses the originally download file names (unzipped) in each call, even if preprocessing is already applied.


text:
removed markdownShortcutPlugin, but the shortcuts are still enabled

I removed the shortcut plugin, but I can still use cmd + b to enabled bolding.

These shortcuts (cmd+*) don't come from the plugin, but are actually built-in in the core of Lexical. It's possible to disable them manually through the lexical API.

authors: petyosi zasuh

repo: mdx-editor/editor


text:
change the luasocket feature to haproxy sockets

Related to https://github.com/leafo/pgmoon/issues/114.

Closing in favor of https://github.com/leafo/pgmoon/pull/115.

repo: mecampbellsoup/pgmoon


text:
Should we use regolith?

See: https://github.com/regro/regolith
This would be an alternative to Pelican. It is a small project but targeted to research labs.

Dug in on pelican, so closing.


text:
Remove pch

This removes completely (hopefully) the precompiled header stuff in all CMakeLists.txt.
This is mostly removal of code, except the two lines:
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins/)
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins/)
which I think I needed for something else (plugins/libs were not generated at the proper place?), but it is easier to keep them here.

Looks good to me. Can anyone on windows try to compile this and see if it's still works ?

Can we remove (or at least rename) the RemovePch branch ?
Because when typing git checkout origin/RemovePCH I go on removePch

First glance: many linking errors, most of them with dtkCore.lib
Was medPch useful after all? I'll try to have a closer look.

Forget what I wrote, it works fine!
We can merge it.

authors: LoicCadour ocommowi papadop

repo: medInria/medInria-public


text:
Travis is not building PRs from forked repositories

Because of Security Restrictions when testing Pull Requests Travis won't export the secret tokens to the build script. That prevents Intern from connecting to BrowserStack and thus fail the build. This just happened in #94 (Build #163).
The Travis docs advise to simply not run the build scripts requiring secret tokens:
script:
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && _your_build_command_ || false'

At this time ally.js simply runs the test suite on BrowserStack and publishes a few results to CodeClimate and Coveralls - all of which require tokens for authentication. Without the tokens we could run the npm scripts lint, build and build:website. I'm not sure how useful that is by itself.
There was a discussion about how to solve this properly: travis-ci/travis-ci#1946. Of course nothing came of it. Instead of going with Jörn's idea, nothing has happened. I'm not sure I can stress the following enough: instead of being able to use a potentially insecure solution (but somewhat traceable, when breached), projects like Angular now simply expose their tokens in plain text. What a big win for Travis' Security Department.
How do we fix this? I'm reluctant to follow Angular's suit. Maybe it's time to replace Travis with something else? I've heard good things about drone.io.

For QUnit I went with a slightly more obscure variation of plain text: https://github.com/jquery/qunit/blob/master/.travis.yml#L7-L8 - its not hard to decode, but at least it won't show up when searching for "BROWSERSTACK_KEY" or something like that.
Since that Travis issue is still open, but locked, I don't know what to do there.
Another CI service I've heard about, also offering GitHub integration: https://circleci.com/

https://github.com/travis-ci/travis-ci/issues/5579#issuecomment-180805112 cc @jzaefferer

authors: jzaefferer rodneyrehm


text:
add support annotation

adding support (and containerImage)

Signed-off-by: razo7 oraz@redhat.com

disagree, see comments here: https://github.com/medik8s/node-healthcheck-operator/pull/89#discussion_r802937134
/hold

There is no need to fix csv annotations, in particular createdAt, therefore I am changing the PR to adding support(andcontainerImage)

/retest

Trying to only add the support field made the CI fail. @slintes Do you understand why?

/retest

@razo7 can you please add a link to some doc on what this annotation means?

See in OCP or Operator-sdk - the Operator provider, with a name; usually an organization.

@razo7 can you please add a link to some doc on what this annotation means?

See in OCP or Operator-sdk - the Operator provider, with a name; usually an organization.

that's provider, not support 🤷🏼

@razo7 can you please add a link to some doc on what this annotation means?

See in OCP or Operator-sdk - the Operator provider, with a name; usually an organization.

that's provider, not support 🤷🏼

That's correct, here you can see the required fields for OperatorHub and support is one of them - The name of the individual, company, or service that maintains this operator.
Except this link I haven't found any other reference to support in other places :)

thx, I added it to the PR description
/lgtm
/approve
/hold cancel


text:
Fix outdated client cacheTime docs

The default client cache for the client appears to be 60 seconds - not 10 seconds as documented in the client options.
Here is the definition in the client:
https://github.com/medplum/medplum/blob/30050b411dbd58b52733e61e14e03abedc2d5873/packages/core/src/client.ts#L86
It appears that the underlying value was changed in this PR without the associated docs being updated. (cc @codyebberson)

Thanks @josh- !

authors: codyebberson josh-

repo: medplum/medplum


text:
While running the action get the permission denied error

Run medyagh/setup-minikube@v0.0.9
/usr/bin/chmod +x /home/runner/work/_temp/16c8ee0d-be6e-4f15-b509-e3f88c243b5b
/usr/bin/sudo apt-get update -qq
/usr/bin/sudo tar zxvf /home/runner/work/_temp/c5b81a34-3290-4e29-b289-d69a1a3f8a16 -C /usr/local/bin
crictl
/usr/bin/chmod +x /home/runner/work/_temp/02c46012-bd10-4750-bde0-7906740a8f47
/usr/bin/sudo mv /home/runner/work/_temp/02c46012-bd10-4750-bde0-7906740a8f47 /usr/bin/cri-dockerd
/usr/bin/sudo mv /home/runner/work/_temp/88d7cc1b-e41c-4747-87d4-f9a17d1c164a /usr/lib/systemd/system/cri-docker.service
/usr/bin/sudo mv /home/runner/work/_temp/fd202a65-4623-43b9-a5be-8e978ed860bd /usr/lib/systemd/system/cri-docker.socket
/usr/bin/sudo apt-get -qq -y install conntrack socat
Selecting previously unselected package socat.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 236178 files and directories currently installed.)
Preparing to unpack .../socat_1.7.4.1-3ubuntu4_amd64.deb ...
Unpacking socat (1.7.4.1-3ubuntu4) ...
Setting up socat (1.7.4.1-3ubuntu4) ...
Processing triggers for man-db (2.10.2-1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 5.15.0-1031-azure
NEEDRESTART-KEXP: 5.15.0-1031-azure
NEEDRESTART-KSTA: 1
/home/runner/bin/minikube start --wait all --driver none --kubernetes-version 1.24.3 --cni auto
* minikube v1.29.0 on Ubuntu 22.04
* Using the none driver based on user configuration
* Starting control plane node minikube in cluster minikube
* Running on localhost (CPUs=2, Memory=6943MB, Disk=85160MB) ...
* OS release is Ubuntu 22.04.1 LTS
* Preparing Kubernetes v1.24.3 on Docker 20.10.22+azure-1 ...
  - kubelet.resolv-conf=/run/systemd/resolve/resolv.conf
  - Generating certificates and keys ...
  - Booting up control plane ...
  - Configuring RBAC rules ...
* Configuring bridge CNI (Container Networking Interface) ...
! initialization failed, will try again: apply cni: cni apply: copy: chmod /etc/cni/net.d/1-k8s.conflist: permission denied
  - Generating certificates and keys ...
  - Booting up control plane ...
  - Configuring RBAC rules ...
* Configuring bridge CNI (Container Networking Interface) ...
*
X Error starting cluster: apply cni: cni apply: copy: chmod /etc/cni/net.d/1-k8s.conflist: permission denied
*
╭─────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                │
│    * If the above advice does not help, please let us know:                                 │
│      https://github.com/kubernetes/minikube/issues/new/choose                               │
│                                                                                │
│    * Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    │
│                                                                                │
╰─────────────────────────────────────────────────────────────────────────────────────────────╯

X Exiting due to GUEST_START: apply cni: cni apply: copy: chmod /etc/cni/net.d/1-k8s.conflist: permission denied

Ref: https://github.com/spotahome/redis-operator/actions/runs/4190683022/jobs/7264354627

@maxbrunet is there something that i could add to my workflows that would fix this on our side?

Hey @samof76, pinning the previous Minikube version should still work: minikube-version: 1.28.0

repo: medyagh/setup-minikube


text:
Rasterplotter fixes / Simulation improvements

Addresses issue #1921

To be dropped in favor of pr #2719


text:
Sync Google Account

Is your feature request related to a problem? Please describe.
For almost all services, I use my Google Account, and on every device I have to log in to my Google Account in every service.
Describe the solution you'd like
Attaching a Google Account to my Franz account, which could be used as the default for logging in. Or somehow syncing the login from one tab to another.

I agree this is somewhat inconvenient. I want to use Keep, Calendar and Gmail but I have to login separately. I can imagine that an quick'n'dirty fix for this problem creates security risks and problems if you have multiple Google accounts (personal Gmail, work Calendar for example).

I have this issue as well. I thought that maybe refreshing the Google Calendar tab after logging into Gmail would do the trick, like it does in Chrome, but that doesn't seem to work here. Does each tab use its own cookie store?

not stale

repo: meetfranz/franz


text:
Fixes addNewService, same issue as #111

Refactored SortableTabBar to a class instead of a stateless component. Saw that most of the code that had internationalization stuff inside was made up of stateful components anyway, so just tried to follow suit :)
Also added some placeholder strings for all the other languages, so no errors get logged. A chance for more hacktoberfest PRs, I suppose :)
Linter passes okay, tested it with most languages already and all seems in order.

Updated with both.

PR merged. Thank you for your contribution!

authors: DBozhinovski adlk


text:
undocumented changes to POST description field

POST /:urlname/events
image.jpg used to be rendered as , now its left unchanged
text  was rendered as is, now its turned into
text (url)
If these are intentional changes, please update the doco, and please explain how to include an image
cheers
andrew

refers to HTML in the description field

repo: meetup/api


text:
Recursive React components & un-mounting/ re-rendering of components

Hi there, when I try to create recursive react components, e.g. a folder structure UI:
RecursiveFolderComponent
├── RecursiveFolderComponent
│   ├── RecursiveFolderComponent
│   ├── RecursiveFolderComponent
├── RecursiveFolderComponent
    ├── RecursiveFolderComponent
    │   ├── RecursiveFolderComponent
    ├── RecursiveFolderComponent

I am hit with problems of all children components un-mounting and re-rendering (and React.memo also fails to work) when the parent component's state is updated.
I can make it work by using impure unsafePerformEffect like so:
recursiveFolder ∷ ReactComponent { folderId ∷ Int }
recursiveFolder = unsafePerformEffect $ memo' eq $
--                      ^ If I do not use `unsafePerformEffect`,
--                        subfolder components will keep unmount and re-render
  reactComponent "RecursiveComponent" \props -> React.do
    ...
    let
      arrOfSubFolders = const (element recursiveFolder { folderId: props.folderId - 1 })
        <$> (mkRows props.folderId)
    pure $ ...
          , React.fragment arrOfSubFolders
     ...

I have made a minimal reproducible code at:

Try Purescript | WITH unsafePerformEffect
Github Gist | WITH unsafePerformEffect

If I do not use unsafePerformEffect, the children sub components will always un-mount and re-render, and I have to use unsafeRenderEffect in the middle of the component anyway (see below):

Try Purescript | WITHOUT unsafePerformEffect
Github Gist | WITHOUT unsafePerformEffect

I think the issue is (to quote your succinct comment):

React uses function instances as component identity. ... Creating component functions during render results in forced unmouting and remounting of the entire tree below that component...

Originally posted by @megamaddu in https://github.com/megamaddu/purescript-react-basic-hooks/issues/12#issuecomment-573794368
Is there no other way to achieve memoization of recursive children components in Purescript without using unsafePerformEffect/ unsafeRenderEffect that might have arbitrary side-effect?
Is this one of the cases that Javascript/React refuses to play nicely with pure functional approach?
Thank you for reading through this long-winded issue.
Lastly, this is a Codepen | Typescript Implementation of how I would write it in "normal" Typescript, for refererence.

The comment you linked is the answer to this question.
When you log to the console, it has the type Effect Unit because there's a side effect. The side effect is a change to the world outside the program, where the number of times you run the effect and the way you order those effects matters. All programs have some kind of effect, or there'd be no reason to run them. PureScript just tells you when/where they're happening using the Effect a type.
So why is component creation side-effecting? Because each function instance or class declaration is a separate component, even if they have the same name and were created from the same code. And it is up to you as the creator of the component to decide when that effect happens. In JS/TS it's at the module level, by convention. If you wrapped your TS component in a function and called it multiple times you'd see the same re-mounting behavior. If you wrapped your TS component in a function and immediately invoked it (const RecursiveFolder = (() => ...your existing implementation...)();), you'd have written it exactly the way you've written it in the Try PureScript example. Using unsafePerformEffect at the module level is the way TS/JS do it, it's just implicit because side-effecting anywhere/everywhere is the status quo in TS/JS.
The more "PureScript way" would be to keep your component definition as an Effect and evoke that effect at the proper time in main, before you call render.

Because each function instance or class declaration is a separate component, even if they have the same name and were created from the same code. And it is up to you as the creator of the component to decide when that effect happens. In JS/TS it's at the module level, by convention.

thank you that makes a lot of sense.
I don't mean to beat a dead horse, but what would be the "recommended way" to approach recursive React component?
If we behave and do the "Purescript way": invoking the effect of function instance creation in main, then the recursive component cannot directly reference itself (because that function instance has not been created yet).
So the way to do it will be to pass that instance that we created at main as a prop back to the recursive component?
I have re-implemented the RecursiveFolder component above using this approach Try Purescript | RecrusiveFolder as Props as an example.

The pattern I've used is to create dependent components as part of the effect for creating the parent component:
mkApp = do
  sidebar <- mkSidebar
  content <- mkContent

  component "App" \_ -> ...

Technically this does result in a few low level components being "duplicated", but if their parents are being replaced with new component types they're going to be re-mounted anyway.

Thank you! really appreciate your help :) @megamaddu

authors: bentongxyz megamaddu

repo: megamaddu/purescript-react-basic-hooks


text:
Add Attribution function

add a function that can modify the attribution of a layer

it is both in the Capabilities
<Layer queryable="1" opaque="0">
    <Name>my-sample-layer</Name>
    <Title>my-sample-layer</Title>
    <Abstract />
    <KeywordList>
        <Keyword>features</Keyword>
        <Keyword>my-sample-layer</Keyword>
    </KeywordList>
    <SRS>EPSG:4326</SRS>
    <LatLonBoundingBox minx="5.86632" miny="47.2701" maxx="15.0419" maxy="55.0587" />
    <BoundingBox SRS="EPSG:4326" minx="5.86632" miny="47.2701" maxx="15.0419" maxy="55.0587" />
    <Attribution>
        <Title>Beispiel Attribution</Title>
        <OnlineResource xlink:type="simple" xlink:href="https://www.example-attribution-link.com" />
    </Attribution>
    <Style>
        <Name>polygon</Name>
        <Title>Grey Polygon</Title>
        <Abstract>
A sample style that just prints out a grey interior with a black outline
</Abstract>
        <LegendURL width="20" height="20">
            <Format>image/png</Format>
            <OnlineResource xlink:type="simple" xlink:href="http://localhost:8080/geoserver/mgsm-ger/wms?request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=my-sample-layer" />
        </LegendURL>
    </Style>
</Layer>

the attribution can also be set and seen in the "publishing" tab in the layer settings of the  GeoServer UI

Very cool, thanks for clarification.

authors: JakobMiksch chrismayer

repo: meggsimum/geoserver-node-client


text:
Multi-Crate repo

I get an error when I try to edit a folder that contains many crates. So the Cargo.toml files are not at the root, but in the folders. Seems RLS is checking for a Cargo.toml at the root of my folder instead of starting where my main.rs file is.
Two examples of multi-crate repos:

https://bitbucket.org/dannyfritz/chip8-rs/src/c12c17776d8321c8e96674a467a12fc8a19b5696/?at=modules
https://github.com/emu-rs/rustual-boy

This is the error:
Error reading manifest path: ErrorMessage { msg: "could not find Cargo.toml in C:\\Users\\danny\\Dev\\chip8\\ or any parent directory" }

stack backtrace:
0: 0x7ff755ab9529 - git_reference_type
1: 0x7ff755ab9a7e - git_reference_type
2: 0x7ff755ab8a80 - git_reference_type
3: 0x7ff75596b213 - git_commit_tree_id
4: 0x7ff75596b6d0 - git_commit_tree_id
5: 0x7ff7552844bd -
6: 0x7ff7551566a5 -
7: 0x7ffa3a1cae12 - _rust_maybe_catch_panic
8: 0x7ff7551d4b7b -
9: 0x7ffa3a1c8b4f - std::sys::windows::thread::Thread::new::he6cb72092aa085f2
10: 0x7ffa7a731fe4 - BaseThreadInitThunk

Rust (RLS) C:\Users\danny\Dev\chip8\

following https://github.com/mehcode/atom-ide-rust#multi-crate-projects made the error go away, but I don't seem to be getting any features outside of code formatting now.

Ran a cargo build and rust-ide started working again. Sorry for the spam! Closing issue and am a happy camper. 👍

Glad you worked through it!
It's fair enough to report it though as it still isn't idea how we handle this. We've gone from just not working, to erroring without telling you why, to finally erroring and telling you why (https://github.com/mehcode/atom-ide-rust/issues/49).
The message comes from Rls, but perhaps we can do more. I'll raise an issue as a placeholder.

authors: alexheretic dannyfritz

repo: mehcode/atom-ide-rust


text:
Skip searching by ID

Hello,
When creating toSearchableArray for a specific model, if there isn't ID included in final array, I can't import the data using php artisan scout:import "App\Book". But if I include ID, then it becomes available to search by ID also, which is behaviour I would like to escape. What is the right way to disable searching by ID?
Example code:
    public function toSearchableArray()
    {
        $array = $this->toArray();

        foreach(array_keys($array) as $key) {
            //if I unset ID also, I won't be able to import table data
            if(in_array($key, ['id', 'title', 'name'])) continue;
            unset($array[$key]);
        }

        return $array;
    }

Hey @milosevicn,
the ->toSearchableArray() defines the stored data within MeiliSearch for a specific document (object). Omitting the id will result in non-discoverable elements within the search because by default the id is the primary key used for identifing a document.
To prevent MeiliSearch from searching through  all fields, consider extending the functionallity of this package and setting the searchAttributes within MeiliSearch. You can find a tutorial to do this here.

@mmachatschek Sorry to disturb you, but I didn't want to open new issue for this. It might be related to my question up there.
When I'm adding documents using php artisan scout:import command, everything works as it's supposed to, but when I am doing the same using /indexes/:index_uid/documents route (->addDocuments()) it does not respect toSearchableArray() rules. So if I try adding the whole model, all columns are going to be added.
I would probably be able overcoming this by selecting specific columns while doing query, but is there a way to make the function addDocuments() itself be aware of toSearchableArray()?

Hi @milosevicn,
this package basically is a wrapper for the MeiliSearch PHP library and extends Laravel Scout.
When adding documents "manually", all the magic that Scout provides e.g. adding new objects to the index or updating existing ones with specific fields etc. gets lost because you skip that steps.
Is there a specific intention you have by adding documents manually?

Thanks for replying @mmachatschek
I have multitenancy app -  two separate apps (landlord and tenant). Because of this, I am not able to use predefined Laravel Scout functionality to update docs automatically once something is added to database. That's why I'm using a webhook to inform my tenant app when something happened in database actually on landlord (on created/updated/deleted). I want to add those docs once I catch a webhook on tenant

@milosevicn I think you could just do a $model->touch(). This updates the updated_at column of the model and the updated event will be triggered on the tenant app. The Scout event listener will then trigger a update on the index. Would this work out for you?

authors: milosevicn mmachatschek

repo: meilisearch/meilisearch-laravel-scout


text:
v0.29: Add support to matchingPolicy search request parameter

This improvement motivation is about letting the user customize the behavior of Meilisearch when retrieving documents according to the query words.

Add a matchingStrategy parameter to search requests via SearchParameters.
The value last is the default strategy if the field is not specified.
This field can receive only two valid options last or all.

Expected result:
let searchParameters = SearchParameters(
    query: "shifu",
    matchingStrategy: "last",
    attributesToCrop: ["overview"],
    cropMarker: "[…]"
)

client.index("movies").search(searchParameters) { (result) in ... }

Good to have: Make the last or all constants where we can quickly use them without mistakes.

Closing this one, too old, so can collide with the current code samples. We will run our own tool to define the missing code sample

authors: brunoocasali curquiza

repo: meilisearch/meilisearch-swift


text:
Filter error ignored on search request

Describe the bug
When searching using POST /indexes/{indexUid}/search there is a strange behavior when there is an error coming from the filter param. Depending on the filter object, sometimes, even if an error is present, Meilisearch just returns no documents without any error. It happens when adding more filter items in an array (creating AND), but does not seem linked to the number of filter items in the array, rather maybe the length of each independent filter item maybe.
To Reproduce
Steps to reproduce the behavior:

Index the movies dataset
Add genres as filterable

Try with these requests
req: POST /indexes/movies/search
params: {
  "facets": [
    "genres"
  ],
  "filter": [
    "test=test"
  ],
  "limit": 20
}
error: {
  "message": "Attribute `test` is not filterable. Available filterable attributes are: `genres`.\n1:5 test=test",
  "code": "invalid_search_filter",
  "type": "invalid_request",
  "link": "https://docs.meilisearch.com/errors#invalid_search_filter"
}

🔝 This is expected ✅
req: POST /indexes/movies/search
params: {
  "facets": [
    "genres"
  ],
  "filter": [
    "genres=\"Action\"",
    "test=test"
  ],
  "limit": 20
}
response: {
  "message": "Attribute `test` is not filterable. Available filterable attributes are: `genres`.\n1:5 test=test",
  "code": "invalid_search_filter",
  "type": "invalid_request",
  "link": "https://docs.meilisearch.com/errors#invalid_search_filter"
}

🔝 This is expected ✅
req: POST /indexes/movies/search
params: {
  "facets": [
    "genres"
  ],
  "filter": [
    "genres=\"Action\"",
    "genres=\"Adventure\"",
    "genres=\"Animation\"",
    "genres=\"Comedy\"",
    "test=test"
  ],
  "limit": 20
}
response: {
    "hits": [],
    "query": "",
    "processingTimeMs": 0,
    "limit": 20,
    "offset": 0,
    "estimatedTotalHits": 0,
    "facetDistribution": {
        "genres": {}
    },
    "facetStats": {}
}

🔝 This is not expected and the response should be the same as previous examples 🔴
Expected behavior
Meilisearch should respond an error if a filter is wrong, in all cases.
Meilisearch version:
v1.11.3
Additional context
Tested with the Meilisearch Cloud search preview

It looks like it returns the 0 hits response if one of the earlier filter conditions matches nothing (e.g. "genres=\"nomatch\"), so it never reaches the "test=test" condition

authors: jameshiew nicolasvienot

repo: meilisearch/meilisearch


text:
render full dropzone error message within error toastmessage

@mks-d How does this look to you? It seems like it makes sense to render the full dropzone error message within the toast message instead of just a generic message?  I noticed this when trying to upload a file that was too large... it wasn't clear to me why it was failing, though it became obviousl once I looked at the logs.
I do see that one drawback is that the dropzone messages are localizable, but my vote would be that it's better to include them in English than not to include them at all.

Thanks!  What preview icon are you referring to?  Everything looks fairly consistent to me, maybe I'm missing it.


text:
[bug] the Wiki link in the main README doesn't work

Describe the bug
the link seems to point into the repo: https://github.com/melMass/comfy_mtb/blob/main/wiki
but the Wiki is a separate thing: https://github.com/melMass/comfy_mtb/wiki. super simple fix is just to use the absolute link. i'm going to guess it would be easier for you to fix than to deal with a pull.
obviously not much of a problem. oh no, the Wiki link is 404, i guess i'll move my mouse up to the top of the screen and hit the Wiki link there instead!
Reproduction
No response
Expected behavior
No response
Operating System
Windows (Default)
Comfy Mode
Comfy Portable (embed) (Default)
Console output
No response
Additional context
No response

Thanks for the report!

authors: blepping melMass


text:
Support for custom open-ai base url

Is your feature request related to a problem? Please describe.
Whenever, I would like to use a custom openAI base url such as Azure openAI or my openAI proxy, there is no option for that. DemoGPT should be able to support custom base url for openAI
Describe the solution you'd like
Similar to the openai API key, there should be an option to provide the open AI base url.

Hi @bharath97-git,
Thank you for your excellent contribution! I've reviewed your pull request and found that it effectively resolves the issue of supporting custom base URLs for OpenAI services. I've gone ahead and merged it into the main codebase.
Your changes will be included in our next release, giving users the flexibility to use custom OpenAI base URLs, which is a significant improvement to DemoGPT.
Thank you again for your valuable input and for taking the time to contribute. Please feel free to reach out with any more suggestions or feedback in the future. Your contributions are highly appreciated!
Best regards,
Melih

repo: melih-unsal/DemoGPT


text:
ShaderGen.Build does not generate any shader

Environment
ShaderGen/ShaderGen.Build 1.2.0-beta3 from nuget.org
Windows 10 Pro 18362.418 (1903)
.NET Core SDK 3.0
JetBrains Rider 2019.3
Description
I was trying to use ShaderGen.Build to build my shaders, but it didn't generate anything in bin. No MSBuild messages were shown. I did spot ShaderGen files in obj, but _sggeneratedfiles.txt was empty.
Reproducing
Here's a minimal repro project zipped with artifacts generated by my build. Shader copied from veldrid-raytracer.
Foo.zip

Hi @TJYSunset . Unfortunately, I don't have the time to work on this project any longer, and it has been superceded for the most part by Veldrid.SPIRV (not in spirit, but for practical uses). The easiest way (but still not easy) to figure out what's going wrong here is to build the project from scratch and pass ShaderGen.App the same parameters that the MSBuild target does (you can see in the logs when it is calling ShaderGen.App).

authors: TJYSunset mellinoe

repo: mellinoe/ShaderGen


text:
🛑 Siege Green Books is down

In 192aa42, Siege Green Books (https://book.siege-green.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Siege Green Books is back up in ebacbd5 after 36 minutes.

repo: meloncafe/status-sggrn-upptime


text:
🛑 Siege Green SeAT is down

In a28f5fa, Siege Green SeAT (https://seat.siege-green.com) was down:

HTTP code: 500
Response time: 19978 ms

Resolved: Siege Green SeAT is back up in 27a05e7 after 5 minutes.


text:
fix: type narrowing for builder props

added as const to every object returned from...
makeElement(name('group'), {
	returned: () => {
		return {
			...
		} as const; // <------
	},
});

Before

After

I wonder if we can be smarter with this. Using something like this: https://xebia.com/blog/typescript-5-0-and-the-new-const-modifier-on-type-parameters/

I tried using the const modifier and was almost able to do it but it seems like TS has a weird bug that breaks its behavior when used in more complex situations.
I had to create a way smaller and simpler version of the makeElement function to test the const modifier without too many flowing variables to first prove a way to do it before trying to apply it to a much more complex scenario. But again, TS seems to have a weird issue that prevents me right now from moving forward with it.
TS Playground
The idea behind what we are trying to accomplish is to get the props returned from makeElement to be interpreted as const. We get the props from the returned method, which takes in a parameter--the store values that are passed to the makeElement function.
I was able to get the props to be interpreted as const but only if I didn't declare the stores parameter in the returned method.

However, for some reason, when I declare the stores parameter in the returned method, TS doesn't  return the object as const anymore.

The weird thing is that TS knows the type of the stores parameter from the generics, but if you explicitly add the type for the stores parameter, the returned props are then interpreted as const. But the whole point was to not have to write "unnecessary" code.

@TGlide Unless I am missing something with the const modifier, it seems like it's a little broken and so maybe we should just use as const for now, as it is actually already used in many builders, and then if someone can figure out a better way to do this, they can create a PR

authors: TGlide anatolzak

repo: melt-ui/melt-ui


text:
Unable to install target-gcs, hub needs to be updated to use the latest version

I wasn't able to install target-gcs.  The problem is fairly easy to reproduce and it seems to be just needing an update to the hub to reference the latest version from the author.  The referenced tag  of 0.11.3 is no longer in https://github.com/Datateer/target-gcs.git  repository.
Below are the error I received.
Added loader 'target-gcs' to your Meltano project
Variant:        datateer (default)
Repository:     https://github.com/Datateer/target-gcs
Documentation:  https://hub.meltano.com/loaders/target-gcs

Installing loader 'target-gcs'...
Loader 'target-gcs' could not be installed: failed to install plugin 'target-gcs'.
  Running command git clone --filter=blob:none --quiet https://github.com/Datateer/target-gcs.git /private/var/folders/99/0v4bp70x0hz59xhx9r07vxlh0000gp/T/pip-req-build-z7naw51i
  WARNING: Did not find branch or tag '0.11.3', assuming revision or ref.
  Running command git checkout -q 0.11.3
  error: pathspec '0.11.3' did not match any file(s) known to git
  error: subprocess-exited-with-error

  × git checkout -q 0.11.3 did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git checkout -q 0.11.3 did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Failed to install plugin(s)

@jerrydeng thanks for logging this! I just opened a PR to remove the pinning entirely https://github.com/meltano/hub/pull/712. We're still working out our pattern but right now most hub plugins are unpinned and we recommend users pin a version in their own projects via meltano.yml.
Theres a discussion related to how we pin pip version, here one https://github.com/meltano/meltano/discussions/6445. Feel free to join the conversation if you have opinions!

repo: meltano/hub


text:
When showing logs in the Meltano UI, the logs should persist at the bottom

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1588
Originally created by @emilie on 2020-01-18 19:27:28

Problem to solve
When I run a Meltano pipeline, I want to see the latest logs so I can watch the pipeline run successfully, but everytime I scroll all the way to the bottom, it kicks me back to the top.

Target audience
Anyone who is configuring a pipeline for the first time.
Proposal
Always show the latest logs by default.
What does success look like, and how can we measure that?
It's exciting for the user to watch their pipeline run, and if something fails they more readily see the error message.
Regression test
(Ensure the feature doesn't cause any regressions)

[ ] Write adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

Links / references
Please note that this was taken from GitLab, to be changed accordingly

View 4 previous comments from the original issue on GitLab

repo: meltano/meltano


text:
explore how we might use PipelineWise (newly open sourced)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/951
Originally created by @dmor on 2019-09-04 16:59:17

https://tech.transferwise.com/bringing-data-sources-together-with-pipelinewise/
First impression is that with Apache licenses our ability to integrate this into Meltano might be limmited, but we should take a closer look

View 1 previous comment from the original issue on GitLab


text:
Run tests on python 3.11

This just adds a few lines to run CI tests on the recently released python 3.11.
Substantial speedups are expected, and as the taps and targets are run inside their own virtual envs, it should be pretty easy to upgrade them even if the main app is running on an earlier version of python.

:books: Documentation preview :books:: https://meltano-sdk--1115.org.readthedocs.build/en/1115/

Hey @laurentS!
You'll need to add 3.11 to the known version in noxfile.py:
- python_versions = ["3.10", "3.9", "3.8", "3.7"]
+ python_versions = ["3.11", "3.10", "3.9", "3.8", "3.7"]

Ok, it looks liks numpy is brought in by pyarrow which itself is working on supporting 3.11 (see this issue). Looks like they're still supporting python 3.7, so chances are they'll fix the problem for us :)
I'll keep an eye on it, and come back here when there's a new release over there. I have a feeling it won't take long.

Agreed we can probably wait this out if pyarrow/numpy updates are coming soon.
Since pyarrow is only a dev dependency, we can optionally remove it at the cost of disabling/removing the target-parquet sample implementation. This is the only place where the pyarrow dependency is used as of now:
https://github.com/meltano/sdk/blob/6adeead98c25e13092bc657aaa3593234e1eed84/samples/sample_target_parquet/parquet_target_sink.py#L7-L8

I'm wondering if these dependencies that are only used for samples would be better managed as extras, like is done for docs?

I'm wondering if these dependencies that are only used for samples would be better managed as extras, like is done for docs?

@laurentS Poetry would still resolve those dependencies along with the rest even if they're extras. The samples would need their own separate dependency trees/pyproject.toml.

I'm seeing 2 packages that cause problems with python 3.11:

pyarrow, used only for the target-parquet sample code. I feel like there's value in having tested code samples that are known to run, but also wonder if it's worth blocking the entire tap+target ecosystem in a situation like this. In order to progress on this PR, I've marked the test as skipped for python 3.11, so as to avoid dropping checks that were in place. Once pyarrow releases a new version, we can re-enable the test and imports for all versions of python.
viztracer Can I suggest removing it entirely from the pyproject.toml file? This is a debug tool, I think it's enough to have the docs mention how to install it, and nothing else. Right now, it's being installed multiple times on each CI run, without being used. It costs CI time :clock1: and carbon footprint :cloud:

At this point, all checks are green, with a bit of a caveat for 3.11. I had to adjust dependency specifications for older pythons, as newer releases came out recently that broke tests.

viztracer Can I suggest removing it entirely from the pyproject.toml file? This is a debug tool, I think it's enough to have the docs mention how to install it, and nothing else. Right now, it's being installed multiple times on each CI run, without being used. It costs CI time 🕐 and carbon footprint ☁

Agreed 100%. See https://github.com/meltano/sdk/issues/1124.

pyarrow, used only for the target-parquet sample code. I feel like there's value in having tested code samples that are known to run, but also wonder if it's worth blocking the entire tap+target ecosystem in a situation like this. In order to progress on this PR, I've marked the test as skipped for python 3.11, so as to avoid dropping checks that were in place. Once pyarrow releases a new version, we can re-enable the test and imports for all versions of python.

@laurentS Sounds good. Skipping the test on 3.11 is a good approach 👍

Alright @laurentS, this LGTM! Thanks so much for making all the necessary updates in tests and dependencies.

authors: aaronsteers edgarrmondragon laurentS

repo: meltano/sdk


text:
Can not compile from github sources

My goal to do next:
git clone https://github.com/memcached/memcached
???
make

git clone https://github.com/memcached/memcached
./autogen.sh
./configure
make
make test

You also need libevent installed :)

authors: bm13kk dormando rmccullagh

repo: memcached/memcached


text:
🛑 Kérwá is down

In 46d5abc, Kérwá (https://kerwa.ucr.ac.cr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kérwá is back up in 5ad86a7 after 8 minutes.

repo: memoemg/howyoudoing


text:
🛑 Kérwá is down

In daeec6b, Kérwá (https://kerwa.ucr.ac.cr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kérwá is back up in f8ab986 after 18 minutes.


text:
🛑 Portal de Revistas is down

In 1963c09, Portal de Revistas (https://revistas.ucr.ac.cr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal de Revistas is back up in a120307.


text:
build-a-pluggable-web-widget-part-1

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: build-a-pluggable-web-widget-part-1
Document link: create-a-pluggable-widget-one.md
My Issue/Suggestion
Where the text reads: "As part of the widget scaffolding, the generator builds the widget for the first time. You can do this yourself by running npm run build.
There is also a watcher available that will rebuild your widget as you make changes to files. Start the watcher by running npm start."
it would be good to mention one must first navigate to the widget-folder, eg: cd TextBox. Otherwise, the npm-commands cannot find the package.

Hi @masebok ,
Thank you for reaching out. You are totally correct, it would be smoother if the doc specified where to start the builder and watcher. I've added your details explaining that users must do it inside the widget's directory.
Thank you for improving Mendix's documentation,
Connor

authors: ConnorLand masebok

repo: mendix/docs


text:
[MOO-1333] Update native mobile prerequisites

Firewall entries should say "Mendix Native Mobile" instead of "Node.js" now.

 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.Arjen Hoekstra seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant hnejra


text:
Fix LibGit2Sharp.Tests/GlobalSettingsFixture.cs

we commented out the code here to fix the issue where NativeDllName reference would show an error if we import the incorrect package reference.
Fix the issue and re-include the test fixture
Update LibGit2Sharp.Tests/GlobalSettingsFixture.cs

@MarcellvanRooyen I've uncommented it in the new mendix/releases branch, let's see if it builds.

authors: A-Ovchinnikov-mx MarcellvanRooyen


text:
Improve Accuracy

Hello
How can we improve accuracy of object detection ?

https://github.com/ultralytics/yolov5/wiki/Tips-for-Best-Training-Results


text:
Error while compiling the ransac voting layer

I get the following error while compiling the Ransac Voting Layer
`running install
running bdist_egg
running egg_info
writing ransac_voting_3d.egg-info/PKG-INFO
writing dependency_links to ransac_voting_3d.egg-info/dependency_links.txt
writing top-level names to ransac_voting_3d.egg-info/top_level.txt
reading manifest file 'ransac_voting_3d.egg-info/SOURCES.txt'
writing manifest file 'ransac_voting_3d.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'ransac_voting_3d' extension
gcc -pthread -B /home/dhruv/anaconda3/envs/object_posenet/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include/TH -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/include -I/home/dhruv/anaconda3/envs/object_posenet/include/python3.6m -c ./src/ransac_voting.cpp -o build/temp.linux-x86_64-3.6/./src/ransac_voting.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ransac_voting_3d -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/bin/nvcc -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include/torch/csrc/api/include -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include/TH -I/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include/THC -I/usr/include -I/home/dhruv/anaconda3/envs/object_posenet/include/python3.6m -c ./src/ransac_voting_kernel.cu -o build/temp.linux-x86_64-3.6/./src/ransac_voting_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ransac_voting_3d -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(36): error: identifier "__builtin_ia32_monitorx" is undefined
/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined
/home/dhruv/anaconda3/envs/object_posenet/lib/python3.6/site-packages/torch/lib/include/c10/Half-inl.h(21): error: identifier "__half_as_short" is undefined
/usr/include/c++/5/bits/stl_tree.h(1440): error: identifier "_Compare" is undefined
4 errors detected in the compilation of "/tmp/tmpxft_00005e0c_00000000-7_ransac_voting_kernel.cpp1.ii".
error: command '/usr/bin/nvcc' failed with exit status 2`

It seems not having system-wide CUDA installed was the main problem. I had CUDA9.0 installed in my conda env. Using a system-wise CUDA, TF version 1.5, Pytorch version 1.0.1 and Pillow version 6.1 solved all the problems.

repo: mentian/object-posenet


text:
[Enhancement] Added two fixes description in Changelog

Se agregan dos fixes en el changelog.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@6dde0f4). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #739   +/-   ##
==========================================
  Coverage           ?   25.36%
==========================================
  Files              ?      232
  Lines              ?    17906
  Branches           ?     1530
==========================================
  Hits               ?     4542
  Misses             ?    12860
  Partials           ?      504

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 6dde0f4...6bc4b32. Read the comment docs.

authors: codecov-io matiasromar

repo: mercadopago/px-android


text:
880 pinned iptt unicode error

Are we importing classes from __future__ as a practice? Or on a case-by-case basis?
Also, fun factoid, str.format() won’t let you mix unicode and strings in Python 2.7!

@KennyMonster @axoplasm Did I overhear you talking about a different branch for this fix?  Is this a stale branch?  Should we delete the branch and the PR?

Yeah there was a different 880 branch that only unicodeified the broken string related to pinned.

I'll close the PR

authors: KennyMonster axoplasm sanjuroj

repo: mercycorps/TolaActivity


text:
Features / 109 Add events

This PR resolves #109. It adds events to the groups
https://github.com/merpw/forum/assets/43277901/a67e03bb-35fa-46c7-b532-266cfcb89aea

Test deployment

I've just added time to the event's card

Make the colors different on I'M IN and I'M OUT. Also switch positions of the buttons so it's consistent with the other invites:

Are you sure that you have the latest version. Your buttons are different, mine are not CAPSED:

I've changed events tab to be a separate page /group/{id}/events. So now when you click on the invitation or create a new event, you will be redirected to the events tab on the group page:
https://github.com/merpw/forum/assets/43277901/c71fd79a-e2db-4804-a9a2-1450346bba75

Design improvements will be handled by #101

I am unable to recreate the 500 error after restarting the front end after the latest commit.

Here is a video on how I trigger the error:
https://github.com/merpw/forum/assets/72476579/bcd4794f-808f-4afe-9838-1bece05f9692

I am getting this error when I have responded to invites, am on the posts tab, leave the group, ask to join, accept the request with admin, and click anywhere on the page to re-render.

This error was caused by invalid member_status check, which caused invalid appearing of the post list.

It was just fixed in e386091

authors: bomanviktor maximihajlov

repo: merpw/forum


text:
Fixing issue when time range To equals now

Contributor Comments
I this PR I'm fixing an issue found by Nick. You can find the exact description of the issue in the comment section of your PR. I'm also extended our unit tests to cover date range selection and quick range conversion logic.
Hope you find it useful!
Cheers

Thanks @tiborm!  You're missing license headers on the new files added in this PR.  Do you mind adding those?

@merrimanr I added the missing headers. Thanks, Ryan!

authors: merrimanr tiborm

repo: merrimanr/incubator-metron


text:
Replace the Logo of Layer5 with Meshery in config.yml workflow

Description

Currently, we are using the Logo of Layer5 instead of Meshery. This repository is under the organization Meshery, so, there should be the image of Meshery.
How to resolve this?

Go to .github and replace this welcome image with the new one:

Make sure to display the images conditionally, based on the theme selected by user.
Here's the sample code:

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/w.png">
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/b.png">

</picture>

New images are:

Download these images, and upload with an appropriate name. Make sure to use conditional rendering as described above.

After uploading the image, and removing the previous image, go to .github/config.yml folder and update the reference to previous image to the new image in the following part:

firstPRMergeComment: >
  Thanks for your contribution to the Layer5 and Meshery community! :tada:

  ![Congrats!](https://raw.githubusercontent.com/meshery/meshery.io/master/.github/welcome/Layer5-celebration.png)
    	   	    	    	 :star: Please leave a [star on the project](../stargazers). :smile:

Here, replace ![Congrats!](https://raw.githubusercontent.com/meshery/meshery.io/master/.github/welcome/Layer5-celebration.png) with the code
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/w.png">
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/b.png">

</picture>

make sure to change the image sources with the path to image in the folder where you upload it.

That's it.

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hey @leecalcote @anshgoyalevil can you assign me this task?

repo: meshery/meshery-istio


text:
Issue with dark mode

Description

There are some issues with dark mode that text is not visible and under the related patterns section there also issue with dark mode
https://user-images.githubusercontent.com/90546692/221680478-4f5529b0-c856-4fcf-8551-01c655f62ade.mp4

Expected Behavior

The text should be visible by applying white text color during dark mode and the related pattern section should also be compatible with dark mode
Screenshots

Enviroment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I can work on this issue.


text:
[Server] Improve the formatting of  Deployment Errors

Currently the deployment errors are sent as a single string with no formatting from server . it makes them hard to read.

There are a few regex tricks that we can employ here:

Insert a period after every line break.
Capitalize the first letter of every sentence.
Insert <ul> and , for each line break

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@aabidsofi19 I would like to work on this

@narharim have you set up meshery locally?

Yes.

@narharim  you are good to go :)

@narharim  any progress here , or are you stuck on anything

assigned to you @Yana-Gupta

repo: meshery/meshery


text:
[Docs] Enhance Integrations

Current State
Desired State

Implementation

Create Jekyll integrations collection.
Incorporate integration category in the path
Frontmatter structure
Update the GH workflow with a publication to the docs.meshery.io (enhanced for logos and categories and... page content).

Acceptance Criteria

Users can read details of each individual integration as published on its own page.
Existing search should index these pages (content of these pages should return in search results).
Each integration's colored logo is displayed on its respective page.

Hopefully, there's no use for the white version of the logos.

~220 integrations are published.

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@vishalvivekm, your promise to fill-in the rest of the details here doesn't seem to have been upheld.


text:
add endpoint to download the application with particular :id

Notes for Reviewers
This PR fixes #
Applications can either be downloaded as Kubernetes Manifests or as design files. Here is the fix to support downloading application_file based on $id.
Signed commits

[x] Yes, I signed my commits.

@harkiratsm thanks for working on this. In addition to @Abhishek-kumar09's questions, will you reflect on how these changes fit into the existing APIs documented in the Meshery API Endpoints spreadsheet?

will you reflect on how these changes fit into the existing APIs documented in the Meshery API Endpoints spreadsheet?

This will aid in my review, @harkiratsm

As soon as the changes are accepted, I will incorporate api endpoint into the spreadsheet.

https://docs.google.com/spreadsheets/d/1ABJCbfQRi0uN_YoP2kmHZ-lTI4S4QuvRk1_unomKNRE/edit?disco=AAAAvcY-AMc

It can also be used by mesheryctl to download the application file. It can also be used to download design files via catalog. I guess we're moving forward.
Thank you @Abhishek-kumar09 for pointing out how this PR fits in other places.

@harkiratsm it's unclear what the status of this is.

authors: harkiratsm leecalcote


text:
Running marathon-lb as docker wont start with latest build (group_https_by_vhost)

Hey Guys,
just setup a new cluster, everything was working fine until i got to marathon-lb which is running within docker. A simple (without all the parameters i am usually using) docker run command fails with the following message:
docker run -d -e PORTS=80,9090 mesosphere/marathon-lb poll --group external
2018-04-10 09:27:42,272 marathon_lb: setting default value for HAPROXY_TCP_BACKEND_ACL_ALLOW_DENY
Traceback (most recent call last):
File "/marathon-lb/marathon_lb.py", line 2105, in
args.haproxy_map)
TypeError: regenerate_config() missing 1 required positional argument: 'group_https_by_vhost'
[/marathon-lb/service/haproxy ./run] Reload finished
Did you experience similar behaviour? I am running v1.11.3 now again and everything seems to be running just fine. Am I missing something? Thanks in advance!

I am facing the same issue when pulling the latest marathon-lb , i am getting this:
Traceback (most recent call last):
File "/marathon-lb/marathon_lb.py", line 2105, in
args.haproxy_map)

TypeError: regenerate_config() missing 1 required positional argument: 'group_https_by_vhost'

I've addressed this in https://github.com/mesosphere/marathon-lb/pull/573 which will be included in the next release.

authors: drewkerrigan frothlauf hodeh

repo: mesosphere/marathon-lb


text:
MarathonSchedulerService.onDefeated not called on leader change

During leader change the losing contestants shall be notified with a call to MarathonSchedulerService.onDefeated. The winner is called via onElected correctly, but the losers are not.
This leads to problems described in #356 and probably #896.

False alarm. But instead the whole SchedulerActor + leadership change logic is broken / missing, leading to the symptoms.

repo: mesosphere/marathon


text:
Fixes #1572 - Improve metrics name generation

Fixes #1572 - Improve metrics name generation
Updated the metric name generation code in order to remove the Guice marker
("$$EnhancerByGuice$$") from the names.
Added to the name of the metrics generated by the classes using the StateMetrics
trait a prefix, as well as a comma between the class and method name.
For example:
mesosphere.marathon.tasks.TaskTrackerwrite-request-time -> service.mesosphere.marathon.tasks.TaskTracker.write-request-time

I created the following list of metric names (after having applied my changes):
https://gist.github.com/gkleiman/48424cbe40dc9596b2d1

Looks great! Some more comments:

TimerUtils should be removed.
"Added to the name of the metrics generated by the classes using the StateMetrics
trait a prefix, as well as a comma between the class and method name." I think you can improve the wording here ;)
One could provide a more convenient API for the named metrics. I am not sure if it is better. Let's talk ;)

Maybe it's silly but you actually test your timer/histogram/gauge implementations in the test.

Thanks for your comments, I incorporated them in this new version. =)

authors: gkleiman kolloch


text:
Fix minimumHealthCapacity in TaskReplaceActor and add test case

Due to a logic error the TaskReplaceActor always behaved like
minimumHealthCapacity=1. This patch fixes the bug and extends the
existing test cases to cover the immediate killing of tasks above
minimumHealthCapacity.
Fixes #973.

:shipit:

authors: ConnorDoyle sttts


text:
🛑 Web chat 1b  with automatic health-check logic is down

In 7df0449, Web chat 1b  with automatic health-check logic (https://chatcoord-health-s.botbird.biz/healthcheck) was down:

HTTP code: 500
Response time: 5734 ms

Resolved: Web chat 1b  with automatic health-check logic is back up in c71e5f5 after 6 minutes.


text:
chore(deps): update dependency typescript to v4.4.3

This PR contains the following updates:

Package
Type
Update
Change

typescript (source)
devDependencies
minor
4.3.5 -> 4.4.3

Release Notes

Microsoft/TypeScript
v4.4.3
Compare Source
This patch release contains fix for leaking file watchers on package.json, and a minor fix for completions in JavaScript files.

For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript 4.4.0 (Beta).
fixed issues query for Typescript 4.4.1 (RC).
fixed issues query for Typescript 4.4.2.
fixed issues query for Typescript 4.4.3.

Downloads are available on:

npm

v4.4.2
Compare Source
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript 4.4.0 (Beta).
fixed issues query for Typescript 4.4.1 (RC).
fixed issues query for Typescript 4.4.2.

Downloads are available on:

npm
Visual Studio 2017/2019 (Select new version in project options)
NuGet package

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box.

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (4.4.3). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

repo: metabreak/grpc-lib


text:
Revise and consolidate the tensor encoding checks

New checks for CSR/CSC were added in PR#110. Unfortunately, those checks were incorrect (see discussion #165).
This PR fixes the CSR/CSC checks and consolidates them with the existing checks. The general approach was to use the framework of the existing checks (return optional, message if error, None if success). But instead of passing an index to indicate the operand number (or return value if negative), that piece is left to the caller to make the check less magical and to give greater flexibility to the caller.

Pull Request Test Coverage Report for Build 1237820487

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage remained the same at 82.7%

Files with Coverage Reduction
New Missed Lines
%

mlir_graphblas/engine.py
1
75.1%

mlir_graphblas/tests/test_profile.py
4
51.95%

Totals

Change from base Build 1234575773:
0.0%

Covered Lines:
2548

Relevant Lines:
3081

💛  - Coveralls

repo: metagraph-dev/mlir-graphblas


text:
🌱 Add CAPI v1.8 contract

This PR add CAPI v1.8 contracts

Should we also update the e2e-conf file in this PR or open a separate one for that?

I was thinking the same, didnt touch it thinking if that would affect the tests before the release, would it ?

It should not affect anything if we add a new version but those changes are mostly related to clusterctl tests, I will open a separate PR that updates the tests and also update the e2e-config file.

Ok, I checked again test/e2e/data/infrastructure-metal3/v1.8/metadata.yaml and test/e2e/data/shared/v1.8/metadata.yaml are only needed in the main branch so let's add them once we have release-1.8 branch. Other changes we can already merge.

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

/retest

/retest
Artfifactory issues.

/retest

/retest

/lgtm

/retest

authors: adilGhaffarDev kashifest tuminoid


text:
Required modifications to existing pretrained networks to allow CAM

I have tried your demo using the pre-trained CAM models. I now want to try it with my own pre-trained Caffe CNNs.
I would be very grateful if you could demonstrate the modifications that are required to convert a  pre-trained non-CAM model to the CAM format. Is it as simple as modifying the prototxt files directly? Thanks.

https://github.com/metalbubble/CAM/blob/master/models/deploy_vgg16CAM.prototxt#L324
You could refer to this prototxt file. Basically you need to remove all the fully connected layers in your original prototxt, then add a convolutional layer, average pooling layer (here you need to know the size of the feature map), and the final fc layer for softmax. Then you could fine-tune the modified prototxt file on your data for several epochs.

In the finetuning step , do you completely freeze the original conv layers?

Why adding additional conv layer is needed? For example original VGG16 network have last conv layer with 512 planes, so I remove all layers after this last conv layer and then add new layers like last_vgg16_conv->GAP->Dense. And I even tried to finetune only dense layer looks like it work, at least for ImageNet-like classes.

authors: J6767 kishensurajp metalbubble mrgloom

repo: metalbubble/CAM


text:
Support hierarchical numbering of terminology entries according to ISO 10241-1

The relevant section from ISO 10241-1:

The hierarchical numbering scheme is shown in EXAMPLE 1, where a "lower-level" concept can be numbered under a "higher-level" concept.
ISO 56000 provides an example of such in 3.1.1 vs 3.1.1.1 and 3.1.1.2:
https://www.iso.org/obp/ui#iso:std:iso:56000:ed-1:v1:en
We will need to come up with a syntax that supports this encoding and also a mechanism to render this.
And a friendly reminder from ISO DIR 2:

"the Terms and definitions clause consists of a list of terminological entries and not subclauses."

That's why IEV documents contain terms that are identified with IEV IDs, not clause numbers. And eventually that's why arbitrary IDs of terms should be supported.
Originally posted by @ronaldtse in https://github.com/metanorma/mnconvert/issues/50#issuecomment-895234091

@Intelligent2013 FYI: term can now contain nested term in XML.

authors: opoudjis ronaldtse

repo: metanorma/metanorma-iso


text:
#1381 Relplace to html entity(tag symbol,new line)

Description

Relplace to html entity in grid (tag symbol, new line)
Related Issue :

#1381
How Has This Been Tested?

Import finefood.sample.txt with colon delimiter.
Click the new generated I.DS.
Click Create dataflow with this dataset.
Edit rules.
Drop column3 and all after.
Click "Snapshot" button
Click "Done" (make a CSV snapshot)
Click the new generated snapshot.
Scroll down and you'll see the empty lines (in the middle)

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Additional Context
Also applies to dataset, dataflow

un build
deploy to 4

run build
deploy to 4

authors: ksparknot sang-hee-lee

repo: metatron-app/metatron-discovery


text:
#1331 column rename for hive snapshot

Description

Automatically generates names that are appropriate for creating a hive snapshot
Related Issue :

#1331
How Has This Been Tested?

Check #1331 for test details.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Additional Context

run build
deploy to 5

run build
deploy to 5

run build
deploy to 5

@joohokim1 @paigechoi
테스트 리뷰입니다

오토 네이밍 시, 이름 중복 체크도 되어야 합니다.

팝업에서는 '중복 이름' 문구가 표시되지 않지만

룰 편집 그리드의 컬럼명을 보면 그냥 바뀌어 있습니다.
화면 캡처하면서 발견한 현상입니다. 큰 문제는 아닙니다만, 한번 확인 부탁드립니다.
2.1. 중복 이름 입력 -> '중복이름' 문구 보임

2.2. Command 키(Mac OS) 누름
2.3. '중복이름' 문구 사라짐

run build
deploy to 5

run build
deploy to 5

run build
deploy to 5

run build
deploy to 5

@joohokim1  Found bug .. closing this issue for now sorry!

run build
deploy to 5

run build
deploy to 5

run build
deploy to 5

authors: joohokim1 minjung-cho paigechoi teamsprint


text:
Decide on and implement a metadata convention for weather symbols

As an IMPROVER developer, I want to be able to store weather symbols within a netCDF file in a consistent way so that they can be read in and interpreted correctly.
Related issues: #292
This issue should :

Document the existing metadata convention using the existing weather symbol relationships, for example, 0 = Clear night, 1 = Sunny day, 2 = Partly cloudy night.
Create a utility that applies this convention. This utility will be used for creating a cube containing weather symbol information, such that the values that have been attributed to a particular site or grid point, can be cross-referenced to the meaning of the weather symbol easily.

Acceptance criteria:

Document the existing metadata convention for weather symbol codes and their description in Confluence.
Create a utility that can be used for creating a cube and applying the metadata convention.
New criteria: Generate sample data for verification, over several cycles.

There were two PRs for this change: #302  & #306

PR merged and closed on Jira

authors: fionaRust gavinevans

repo: metoppv/improver


text:
Cube creation not blendable

Cube creation for new diagnostic plugins that don't require level 3 blending:

Orographic enhancement
Weather symbols
Convection
Optical flow (nowcast)

Testing:

[x] Ran tests and they passed OK
[x] Added new tests for the new feature(s)

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- improver_tests/metadata/test_utilities.py  1

Complexity decreasing per file
==============================
+ improver/orographic_enhancement.py  -1

Clones removed
==============
+ improver_tests/wxcode/wxcode/test_utilities.py  -8
+ improver_tests/acceptance/test_nowcast_optical_flow.py  -2
+ improver_tests/wxcode/wxcode/test_WeatherSymbols.py  -9

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- improver_tests/metadata/test_utilities.py  1

Complexity decreasing per file
==============================
+ improver/orographic_enhancement.py  -1

Clones removed
==============
+ improver_tests/wxcode/wxcode/test_WeatherSymbols.py  -9
+ improver_tests/acceptance/test_nowcast_optical_flow.py  -2
+ improver_tests/wxcode/wxcode/test_utilities.py  -8

See the complete overview on Codacy

authors: benfitzpatrick cgsandford


text:
CU-85zthvknn_Rewrite-database

Create separate classes

Task linked: CU-85zthvknn Rewrite database

repo: mezgoodle/StudyHepler


text:
Mezgoodle functions

GetUser();
Book();
CheckBookings();
Review();

So, to resolve conflict I deleted GetUser() function, if it disappear, we will just commit again into master

Oh no, now also GetRoom, for what?

repo: mezidia/hotel-booking


text:
Installation guide

Could you please share the complete installation guide?

Hello shabeepm,
what are you missing from the readme ? The how-to section should be enough to get you started. The only requirement is for you to have docker installed. Building and running the container after having dropped your case files in the proper path is all you need to do.

Thank you for your response, I am getting below error message related to docker file,
ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory

that error message would typically occur if there is no Dockerfile found in your current working directory, are you running the docker build command from within the base directory of the project ?
git clone https://github.com/mf1d3l/Splunk4DFIR.git
cd Splunk4DFIR/
sudo docker build -t splunk4dfir .

Thank you very much, the error was related to docker and i tried to manage it and installed Splunk4DFIR, however now it is stuck in the stage, which says 'Ansible playbook complete, will begin streaming splunkd_stderr.log', below is the screenshot

you can login as admin user with the password set via the SPLUNK_PASSWORD variable passed via the docker run command

Thank you very much,
One last question - I am using this docker on my Ubuntu WSL and once it is restarted, how can I run splunk4dfir docker again ?

Thank you very much, One last question - I am using this docker on my Ubuntu WSL and once it is restarted, how can I run splunk4dfir docker again ?

you can manage the instance with the docker start/docker stop commands

Could you please advise under which directory, I can create the folder, artifacts/ ?

you can just use the folder structure of the project or you can map /mnt/artifacts to any arbitrary path where you case files are located using the -v volume flag of the docker run command
if you are completely new to docker I recommend you read the docker cli documentation and get familiar with the basics: https://docs.docker.com/reference/cli/docker/

Thank you very much for your support, I am not familiar with docker and facing few issues, (sorry for bothering you)
so when Ib tried to run the splunk4dfir container using the command below, i am getting below error message

Could you please share the correct command to run this docker in the background ?

it's right there in the how-to: https://github.com/mf1d3l/Splunk4DFIR?tab=readme-ov-file#how-to
sudo docker run --name splunk4dfir -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD=changeme -e SPLUNK_APPS_URL="/mnt/resources/sankey-diagram-custom-visualization_130.tgz" -p 8000:8000 -p 8089:8089 -v ./artifacts:/mnt/artifacts -v ./resources:/mnt/resources splunk4dfir:latest start

I tried to run the same command, but i am getting below error -

thats because you already have a container created with the name "splunk4dfir"
you can delete it with sudo docker rm splunk4dfir then run the docker run command again.
once the container instantiated via the docker run command you can stop it with sudo docker stop splunk4dfir and start it again with sudo docker start splunk4dfir
Getting familair with the basics of docker container management is essential if you want to use this project.

It is working well, thank you for your support


text:
[WIP] Device pools

Adds pool or arena device options.

Closing / cleaning stalled branches.

repo: mfem/mfem


text:
SHACL targetting aupport

Analysis of possible SHACL targetting
In order to validate data, SHACL needs to set a node, which is going to be targetting specific structure in data. From this targetted node, SHACL specifies a structure to which the data needs to conform. The target does not need to be the root of the data nor the data structure as SHACL allows pointing to properties that are coming into the targetted node, as opposed to usually describing structure downwards the structure tree.
Main cases for SHACL targetting
This part describes the main cases of targetting where the common tools of SHACL language can be used directly.
1) The root of the structure ALWAYS has unique type
If the rdf:type of the structure is unique, it can be targetted by sh:targetClass.
This can only be used when "Explicitní určení typu instancí" is set to vyžadováno, because if the type determination is missing in the data, the data won't be checked against created shape.
Each value of sh:targetClass in a shape is an IRI.
2) The root of the structure contains a UNIQUE predicate leading from it
If the root has a unique predicate in attributes with cardinality [1..x], it can be used for targetting by sh:targetSubjectsOf.
If the predicate is [0..x], there is a chance the predicate is not available in data, not allowing the shape to find a focusNode.
The values of sh:targetSubjectsOf in a shape are IRIs.
3) The root has an attribute, which has ALWAYS UNIQUE type
If the rdf:type of the structure is unique, it can be targetted by sh:targetClass.
This can only be used when "Explicitní určení typu instancí" is set to vyžadováno for the targetted attribute class, because if the type determination is missing in the data, the data won't be checked against created shape.
The only difference to 1) is, that the structure above the targetted class has to be found using reverse paths (using sh:path: [ sh:inversePath ex:parent ]).
Each value of sh:targetClass in a shape is an IRI.
4) The root has an attribute that contains a UNIQUE predicate leading from it
If the targetted attribute has a unique predicate in attributes with cardinality [1..x], it can be used for targetting by sh:targetSubjectsOf.
The only difference to 2) is, that the structure above the targetted node has to be found using reverse paths (using sh:path: [ sh:inversePath ex:parent ]).
The values of sh:targetSubjectsOf in a shape are IRIs.
Outliers for SHACL targetting
Section below discusses cases where usual SHACL defined tools don't work.
1) There are NO unique types
In the whole structure, there are no unique types of any class. In that case, the rdf:type will be the same for different nodes in different levels of the structure and both will be targetted with sh:targetClass. But the aim is to check the structure from only one of them and the other focusNodes will give false Negative results while being checked.
In that case let's check for second option, checking for unique predicates.
2) There are also NO unique predicates
In the whole structure there is no unique predicate with the cardinality [1..x] that would ensure it always occures in the data.
3) There are unique unique types but the explicit typing of instances is not mandatory
If the unique class has Explicitní určení typu instancí is set to OTHER than vyžadováno, there is no guarantee the data will have the rdf:type specified. In that case there is no certainly focusable node in the data.
4) There are unique predicates but are OPTIONAL ... [0..x]
In case there are unique predicates but they are only optional with cardinality [0..x], there is no guarantee they will be present in the to-be-validated data.
If all outliers 1)-4) are true in the structure, there are no basic SHACL means how to target the focusNode from where to validate the data.
Solution to outliers
1) Tell the user to reconsider
If all techniques in the first section of this descussion fail, maybe it could be good to just TELL the user about this issue in an informative matter and ask them to SET the conditions in whichever manner they feel the most comfortable having their data structure usage in mind.
Then the user may fix one of the problems at hand by:

giving one class a unique type
changing one predicate for a unique predicate not in the data yet
setting a unique class type instance typing mandatory
setting a unique predicate cardinality to [1..x]

2) Doing one of the suggested helping solutions automatically for the user
3) Having typed instances mandatory for the root
The root of the data structure could be mandatort to be typed. In case the user still changes the behavior, there could be warning that the SHACL can't be generated unless the user changes one of the problems.
If the user doesn't want to change the data structure to allow for SHACL targetting, the final solution could be

Textual warning that the structure does not support SHACL targetting, generating no SHACL shape
Custom solution for different kind of targetting (for further discussion)

Conclusion
This is a space for further discussion of what could be the other custom final solution of the problem with targetting.

This is a nice overview of the options. I think in many of the cases, a simple, but informative error while generating SHACL will be an OK solution at this stage. Of course, this analysis needs to be present in the user documentation of the SHACL generator.
I think the most common case will be non-problematic, i.e. root has a unique class and we can take it from there.
The second most common case will be that there is the root class repeated somewhere in the data. In that case, the user can actually solve it e.g. by prohibiting typing in the non-root classes, making the root one unique.
I see the main cases 2, 3 and 4 maybe a bit unintuitive for the user. If implemented, there should be some kind of a note in the generated shapes explaining what is happening and why, e.g. why a certain shape is targeting subjectsOf some, at the first glancce, "random" predicate to target the root.
The rest of the cases I would detect and write an (informative) error during generation for the time being. Later, if time permits, the individual cases can be improved.

Implementation plan:

If the cimIRI of the root class is unique in the structure, use sh:targetClass.
If the root has a unique predicate in attributes with cardinality [1..x], use sh:targetSubjectsOf.
If the always present [1..x] child of the root has unique class, use sh:targetClass on it and reference the root with the help of inversePath.
If the always present [1..x] child of the root has a unique predicate leading from it, use  sh:targetSubjectsOf and reference the root with the help of inversePath.
If neither holds, write and informative note to the user what is missing from the structure for successful targetting and display the note instead of generated shape.

Yes, this seems like a sound plan.

The targetting for SHACL has been implemented, there is a revision due on case 3 and 4 as in some cases the algorithm has not been implemented correctly.
The case number 5 throws
 and says more in developpers console.
Not yet closing the issue as the implementation of 3 and 4 has to be revised.

@LadyMalande Wouldn't it be better to at least hint at what went wrong with the generation? e.g. "Nepovedlo se vygenerovat SHACL pravidla kvůli nejasnosti v datové struktuře"

authors: LadyMalande jakubklimek

repo: mff-uk/dataspecer


text:
🛑 Traffic Dashboard Mediahuis Ierland is down

In 3d6f603, Traffic Dashboard Mediahuis Ierland (https://traffic-inm.mediahuis.ie/api/system/status) was down:

HTTP code: 503
Response time: 490 ms

Resolved: Traffic Dashboard Mediahuis Ierland is back up in 4820721 after 5 minutes.

repo: mh-data-science/upptime


text:
🛑 Traffic Dashboard Mediahuis Nederland is down

In ddde447, Traffic Dashboard Mediahuis Nederland (https://traffic-tmg.mediahuis.nl/api/system/status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Traffic Dashboard Mediahuis Nederland is back up in 75ff54a.


text:
🛑 Traffic Dashboard Mediahuis Nederland is down

In 1a6f1ee, Traffic Dashboard Mediahuis Nederland (https://traffic-tmg.mediahuis.nl/api/system/status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Traffic Dashboard Mediahuis Nederland is back up in 0ae6f27.


text:
Unable to read all messages correctly

when we send all command via serial terminal we get incorrect response, like last two pulls causes this issues so try to revert them or create new branch from main (develop) and implement same changing of staging but monitor the response after each changes and then merge that branch (develop) to staging and main if it works fine, and one more thing don't forgot to mention the issue.

its fixed in over latest code version. In latest code when module receive message it execute it and delete it (if that message is executed successfully) so module don't have to store useless messages now, and it receives any message which is not understandable then it will send that message to @mhamidjamil and ask what to do with it, its on @mhamidjamil that he want module to keep the message or not (in 90% cases he ask module to delete it) so by doing this i and message forwarding

but remember this last feature is not in any branch it is still in development, but this problem #2  is solved in leatest version


text:
Add good mecanism to parse custom packets

for example not data packet
see https://github.com/PocketMine/RakLib/blob/a5cca45a922ca193a616069f885866efc7158c67/server/Session.php#L396

https://gist.github.com/mhsjlw/8f2923d2e64f1052dab29fbcd86b91ab but what we really need are the packets

done

repo: mhsjlw/node-raknet


text:
Design guidance for pattern pages

Currently we have not fully designed or thought about how the guidance for patterns will be laid out.

Need to
Look at what other design system do
How to we want to inform the users including: examples, code, guidance and accessibility.


text:
Merge pull request #9 from micah292/main

pull

dw


text:
Fix: Null check operator used on a null value #17

Fix issue described in #17

Thank you for your contribution!
The fix has been already incorporated in the next version and I will be releasing that in a few hours.
Sorry, I haven't been very active.
Your name has been added to the list of contributers.
Thank you!

authors: avatarnguyen micazi


text:
Some functions have "papp" for a prefix instead of "pappl"

Here's one example:
https://github.com/michaelrsweet/pappl/blob/fa9f3cc852116b30d10e6322763118bc032bb368/pappl/job.h#L94

Oops...
[master 5363278] Fix function names (Issue #295)

authors: michaelrsweet wifiprintguy

repo: michaelrsweet/pappl


text:
rename parameters: FP should be Fp

other parameters too, possibly

VP->vp

The commit message should have been
resolves #32
or
closes #32

repo: michimichi/compartmentmodels


text:
Training on TPU is very slow

Training on TPU is very slow due to the naive triplet loss hard samples mining

We did not test our code on TPU. The project is based on the standard Pytorch. It is sorry that we cannot give you any help. Maybe the sampler of triplet loss is slow on TPU.

Fix it! The bottleneck of the training code is the addmm_ which is slow on TPU, and the other time consuming op is advanced index in triplet hard mining code. I will make an pr later, so this nice work can train on google cloud TPU

OK, thank you for your contributions. You can create a new branch or add ‘TPU’ options into the config file. Please be careful not to affect the training on the GPU.

authors: StrangerZhang michuanhaohao

repo: michuanhaohao/reid-strong-baseline


text:
Add validation rules for DNA Container Label

Currently the guidance for DNA Container Labels states that the values must be unique and less than 20 characters. There appears to be no validation for this term because values > 20 characters or duplicate values validate just fine.

This appears to be fixed now. A plate name longer than 20 characters fails validation. Closing.

authors: pkalita-lbl pvangay

repo: microbiomedata/DataHarmonizer


text:
[memoize] does not have typescript definitions

Hello, as in the title the memoize package does not have typescript definition which makes it annoying to use with typescript (no type checking and eslint error).

Hello, good catch. Can you make a PR to add them? 🙂

repo: microlinkhq/keyv


text:
Rename prism to cortex, split network policy

Couple of changes:

Rename prism to cortex (that's it's new name)
split network policy out into a separate folder so that it can easily be applied in a separate step.

Good catch, thanks. Updated, PTAL @errordeveloper

repo: microservices-demo/microservices-demo