text:
Color changes only on page load, and flashes on a website

Great extension! I LOVE IT.
One thing I've noticed though: in my website I have a dark mode switch. I'm gonna use it to describe the behavior I'm experiencing.
A little background: my system, Firefox and the extension are working on dark mode right now (it's night time here at the moment of testing the extension). I have the Dark Reader extension installed, but I disabled it completely from Firefox extensions to track down the problem properly.
I got 2 problems:

When I'm in dark mode in the website, everything works fine. However, if switch to the light theme, it doesn't change the tab colors right away. I need to refresh or get into a link to make it change.
If I leave it in light mode, it flashes in dark and then goes to the proper color again (light).

I can tell you that the meta theme-color in my website is set via javascript at the very beginning of loading the website. The flashing problem does not happen in Chrome or similar browsers in Android where the tabs color changes according to the current webpage theme, and they switch dynamically as well.
I could say that the flashing problem might be because the theme-color tag is being processed a few milliseconds late, but still the javascript code is running even before the DOM is processed I guess. The problem does not happen in Android browsers because they process the theme-color tag a bit late and, in the meantime they retain the previous color, I guess?
EDIT: the flash issue seems to happen, at least to me, in the homepage, here, and any product page. It does not happen, however, here, or at least not so frequently, which may hint a race condition problem as I mentioned.
And an optional issue, which I don't really know if that's part of the scope of what the extension is able to do:

The SVG favicon in my webpage is able to switch between dark and light mode depending on the system color scheme (I'm guessing more precisely Firefox color scheme). So, it won't change according to the current theme chosen in the website, which is desirable given that it has to go along the color scheme of the whole browser. Thing is, the extension does change the whole look of the borders and tabs.

Does it have the ability to switch the SVG colors in the favicons? To give more information, SVG uses the media query (prefers-color-scheme: dark) to change the fill color within the icon. It is embedded in the SVG file.
Thank you!

The color flashes also happen in these sites with their own dark and light themes:

https://www.joshwcomeau.com/
https://www.leagueofgraphs.com/
https://github.com/

@Arecsu
Thanks for such a detailed issue, and I truly appreciate how deep you have dug! After some testing, I sometimes also see some flashing when I open or refresh a website, no matter in dark mode or light mode. I think that’s because the add-on tries to get the theme color, but the website is not completely loaded. I’ll try to rebalance between speed and accuracy.
Sometimes the favicon isn’t rendered in the right color scheme, that’s because the add-on overrides the color scheme of the browser.
Also, thanks for the list of URLs. It helps a lot with the debugging.
By the way, I really love the design of your website and also the artwork you’re making.

Hey @YS-Wong, thank you so much for your kind words about my site! Hopefully it will keep growing as time goes by 😊
I've been trying to dig more into the flashing problem. So far, I've changed these parts of the code which are responsible of the flashing problem to be a bit more  "readable"
// background.js
// Colorize tab bar after defined theme-color or computed background color
function changeFrameColorToBackground() {
  chrome.tabs.query({ active: true, currentWindow: true }, function (tabs) {
    chrome.tabs.sendMessage(tabs[0].id, { message: 'remind_me' }, function (response) {
      if (!response.responseColor) {
        let windowId = tabs[0].windowId;
        resetFrameColor(windowId);
        reject("NO responseColor, may be about:pages")
      }
    });
  });
}

//content_script.js
chrome.runtime.onMessage.addListener(
   function (request, sender, sendResponse) {
      if (request.message == 'remind_me') {
         if (responseColor != "") {
            sendResponse({ responseColor: true });
            findColor();
         } else {
            sendResponse({ responseColor: false });
         }
      }
   }
);

As far as I'm concerned, in some sites responseColor will be empty probably because the site hasn't loaded the proper css/meta tags to get the correct color. Thus, triggering resetFrameColor(windowId) and making it flash.
If resetFrameColor(windowId) is commented, the problem dissapears, but about:pages no longer will change color.
I tried to get around this issue by using some await async functions, but I'm pretty sure I'm doing it wrong (I always screw them over 😅). What I was trying to do is delaying any message response until responseColor got a non-empty value that can be correctly processed.

Ok, I think I solved this issue in the most simple and "dirty" way:
// background.js
if (response == undefined) {
  // checks if it's an about or addons.mozilla.org
  if (url.startsWith("about:") || url.startsWith("addons.mozilla.org")) {
    resetFrameColor(windowId);
  }
console.log("NO CONNECTION TO CONTENT SCRIPT\nMay be about:pages");
}

:)
So far, no flashing problems at all and everything works just fine. Gonna to make a pull request!

@Arecsu
Thanks for your fix! It’s included in the latest version, v1.3.4.
You’re right. The add-on always reset tab bar color to its default, when the content script returns no response. I think that’s because before v1.2, content script can return undefined in some cases. If that happens, the tab bar resets its color. After v1.2, theoretically, only pages protected by browser and loading page returns undefined. So, your fix isn’t “dirty” at all, instead rather fit.
It always surprises me when people actually dig into my codes, even though they are more like Java than JavaScript. That’s because I learned Java, but not JavaScript.

@Arecsu the add-on is now responsive to color scheme switching on your website (needs “dynamic color update” turned on).

Wooow that's so cool!! Thank you so much for that feature, definitively handy and feels awesome 😊😊😊

Hey hey,
I've got some issue with certain favicons, here github and raindrop.
Any idea why?

Thanks

authors: Arecsu YS-Wong kud

repo: easonwong-de/Adaptive-Tab-Bar-Colour


text:
English docs are down

Please fix the english docs

we have not written the english doc yet , but we are going to write it , if you like ,you could join us and help us translate it into english .

i wanted to do a chat, with shared host restrictions in mind

so you need is a websocket service ? if so ,you can see the demo at https://github.com/easy-swoole/demo/tree/3.x-chat

that one depends on redis, not my case, mysql at minimum

source: gharchive/issue

repo: easy-swoole/easyswoole

license_type: permissive

license_source: github-api


text:
Keyboard shortcuts for Markdown

Hi!
Your great editor could benefit from the following Markdown shortcuts, when using an external keyboard:
H1, H2, H3: Ctrl + 1-3
Italic: Ctrl + i
Bold: Ctrl + b
Quote: Ctrl + q
List & Numbered List: Ctrl + l
So if the text cursor is at the beginning, end or in the middle of a word, then pressing the above mentioned shortcut should format the word correspondingly.

Sorry for lated reply!  I understand what you need. I may add them in the future. :)

Would be fantastic and a great help for people with external keyboards!

Did you make any progress on that?

license: mit

license_source: bigquery


text:
This expression is not callable.

This expression is not callable.
Type 'typeof import("./node_modules/use-debouncy/lib/index")' has no call signatures.ts(2349)

Hi!
Can you add some code to reproduce the problem? Or some additional description.

Hey same issue here. It doesn't work on TS projects.
import prisma from '@/lib/prisma'
import { useSession } from 'next-auth/react'
import React, { useCallback, useState } from 'react'
import useDebouncy from 'use-debouncy/effect'

function Create() {
  const [val, setVal] = useState(val)
  useDebouncy(
      () => {
        console.log('call API')
      },
      400,
      [val]
  }
  return (

Hello world!

  )
}

export default Create

But anyways @adamgogogo and @eavam I fixed it by importing it like this instead:
import { useDebouncyEffect } from 'use-debouncy'

@BraydenTW Thanks, it helped me a lot!

You’re welcome!

authors: BraydenTW adamgogogo eavam wschenkel

repo: eavam/use-debouncy

license: MIT


text:
Aqara Cube | what button does what?

I cant get behind which of the 9 buttons in Homekit is what cube gesture.
Thanks

See https://github.com/dresden-elektronik/deconz-rest-plugin/issues/138#issuecomment-325101635 for an overview of the buttonevents deCONZ issues for the cube, and how the sides are layed out.  This is translated to HomeKit as follows:

The first six HomeKit buttons map to the 100x, 200x, ..., 600x events.  Single Press for flip, Long Press for push, and Double Press for double tap.   The side (ending) on top determines the button.  The starting side for flip is lost in the translation to HomeKit.
The seventh button is for the 700x events.  Double Press for drop and Long Press for shake.
The last two buttons are for rotation left and right.  Single Press for an angle < 45°, Double Press for an angle between 45° and 90°, and Long Press for an angle > 90°.

Great overview, thanks

The last two buttons are for rotation left and right.  Single Press for an angle < 45°, Double Press for an angle between 45° and 90°, and Long Press for an angle > 90°.

Hi, I don't really get your 'the last two buttons' remark. Do you mean button 6 and 7? After pairing I have 6 buttons, each with three different 'tap' types. Next to that I have a 7th button with only two 'tap' types. However, I don't find any buttons relating to the rotational movement of the cube. Did I mess up the pairing?

No, buttons 8 and 9.  If they don’t show, most likely deCONZ hasn’t exposed the second ZHASwitch resource for the Analog Input cluster 0x000c on endpoint 0x03.

No, buttons 8 and 9. If they don’t show, most likely deCONZ hasn’t exposed the second ZHASwitch resource for the Analog Input cluster 0x000c on endpoint 0x03.

Sorry to be bothering you, but does this mean I can't use the rotational switches using your homebridge-hue plugin?

No, buttons 8 and 9. If they don’t show, most likely deCONZ hasn’t exposed the second ZHASwitch resource for the Analog Input cluster 0x000c on endpoint 0x03.

Meaning I should re-pair the device?

Probably.  You might also try reading the Basic cluster attributes in the deCONZ GUI while searching for new devices.
If memory serves, there were several issues causing deCONZ not to expose the second ZHASwitch.  You might want to check https://github.com/dresden-elektronik/deconz-rest-plugin/issues.
You might want to double-check that:

The deCONZ GUI shows three endpoints; and
The REST API plugin exposes two ZHASwitch /sensors resources, one for the digital events (with a uniqueid ending in -02-0012) and one for the analog events (ending in -03-000c).

Interesting I found this .. my recommendation would be to check the zigbee adapter for iobroker .. the dev has managed to make the objects quite understandable. In comparisson (and I am a complete newbie to conbee) what I get out of the deconz iobroker adapter (API call) is not understandable at all.
I am not much into clusters and endpoints - I take the user perspective as a non-dev who automates his home.

authors: Kroellie TangoTaker daniel-lo ebaauw

repo: ebaauw/homebridge-hue


text:
Ability to download when the spreadsheet is generated

At the moment, when the spreadsheet generation takes a very long time, it encounters a timeout error and the user has no way of getting the spreadsheet. This ticket should provide the ability for the user to download the last generated spreadsheet once it's finished.
This is a pre-requisite of ebi-ait/dcp-ingest-central#555 which will do auto triggering spreadsheet generation so the user won't even have to trigger the download and would allow the user to download the spreadsheet instantly.
This is also related to ebi-ait/dcp-ingest-central#491 which are initial fixes to the UX when downloading the spreadsheet.

@amnonkhen @gabsie here are the mock ups https://miro.com/app/board/uXjVOX88PlI=/
I'll put the sequence diagram for the implementation design soon.

@startuml
actor User
User -> UI: requests to export submission into spreadsheet download
UI -> Broker: Sends request to generate spreadsheet
Broker -> UI: HTTP 204 Accepted
UI -> User: Gives a message that spreadsheet is being generated
Broker -> Core: get data
Broker -> Core: create a spreadsheet entity which will track the filename/path, timestamp, submission, status
Broker -> Broker: generate the spreadsheet
User -> User: Checks and waits until spreadsheet is available
Broker -> Broker: store spreadsheet in its volume for now
UI --> Core: Polls for last generated spreadsheet
User -> UI: Downloads spreadsheet
@enduml

@prabh-t @gabsie @amnonkhen to review

still waiting on the reviews

Hey @aaclan-ebi - Diagram looks great to me!

Alegria can pair up with another dev and talk things a bit more on the design.

@aaclan-ebi will continue work today.

@aaclan-ebi  had a meeting @gabsie and @amnonkhen to clarify UX flow. This will be carried over for next sprint

Alegria to publish PRs for review this morning.

@gabsie @amnonkhen I updated the miro board of actual screenshots of what I've implemented: https://miro.com/app/board/uXjVOX88PlI=/
It changed quite a bit from the original, part of the changes are what we also discussed last Friday and a little more UI touches I think helpful. Please let me know if you have comments or anything you want to change.

needs PR reviews from devs
needs UI reviews from @gabsie

https://github.com/ebi-ait/ingest-broker/pull/26
https://github.com/ebi-ait/ingest-client/pull/40
https://github.com/ebi-ait/ingest-core/pull/109

@aaclan-ebi got the reviews and applied the comments, devs to take another look at it

Hi @ESapenaVentura The changes are all deployed to staging and ready for testing.
Please check miro board to see the new flow: https://miro.com/app/board/uXjVOX88PlI=/https://miro.com/app/board/uXjVOX88PlI=/

I have tested the feature:

With a small dataset, it works great! just as intended
With a big dataset, I haven't checked yet, but we found a bug ( @aaclan-ebi can give more details on this) related to hitting the button before the submission is fully imported

Thanks @ESapenaVentura
Issues
[ ] 1 - don't allow user to download while importing/linking - i thought i added this check, i need to verify
[ ] 2 - exporting causes another user's importing to fail https://github.com/ebi-ait/ingest-broker/pull/32 - awaiting 1 more review

authors: ESapenaVentura MightyAx aaclan-ebi amnonkhen gabsie ipediez ofanobilbao yusra-haider

repo: ebi-ait/dcp-ingest-central


text:
Minor typo in definition of CHEBI:87631 (statin)

It reads "Any organooxygen compound whose structure is related to compactin (mevastsatin) and..."
Should be "mevastatin" instead, thanks.
Paola

Hi Paola,
Thanks for letting us know. Now corrected.
Kind regards,
Gareth

authors: G-Owen paolaroncaglia

repo: ebi-chebi/ChEBI


text:
Images upload failing on iOS

Report from User. Image upload if failing in editor while uploading more than 2 images

Apparantly seems the issue is coming from server.
Status code 500 is returning form server.

repo: ecency/ecency-mobile


text:
Clicking notifications sends to blank page

When clicking on notifications they open as normal.
But clicking on individual notification it sends to blank page. (Screenshots are in discord issues room)
Vision 3.0.26
OS - Pop!OS 22.04 (Ubuntu 22.04)
Fully updated/upgraded on all packages
Screenshot 1
https://cdn.discordapp.com/attachments/385448634197737484/1021104381996839052/click-note.png
Screenshot 2
https://cdn.discordapp.com/attachments/385448634197737484/1021104382445625394/blan-ecency.png
Screenshot Neofetch with computer info

have the same issue on Windows 11 + firefox

Closing this issue as its now been fixed for me.

Closed for me

authors: stresskiller unklebonehead

repo: ecency/ecency-vision


text:
Add mini.tag to autocomplete tag similar to nvim-ts-autotag

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.tag
Description
nvim-ts-autotag is a great tool for web development. The functioning itself is similar to mini.pairs and I think it would be a great addition to the mini repository.
When i press >after <html
Hopefully it results in <html></html>
Although I know lsp will provide autocomplete after typing </
It is a hassle in languages like react where we need to quickly close tag and insert a new line between the tags.

Thanks for the suggestion!
Coincidentally, there was similar request quite recently: #726. The reasoning from its resolution still stands.
Closing as duplicate of #726.

authors: echasnovski sdhrt


text:
Filename clash when locating resource bundle messages

In example this block in the Messages class results in an attempt to use directly the Messages class as a ResourceBundle which it doesn't implement. The original idea was probably to load the Messages.properties file in the same package. Same result is on JDK11, 17, 18.
    static String format( String property, Object[] args ) {
        String text = **ResourceBundle.getBundle(Messages.class.getName())**.getString(property);
        return MessageFormat.format(text,args);
    }

java.util.MissingResourceException: Can't find bundle for base name jakarta.xml.bind.Messages, locale cs_CZ
at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2045)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1683)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1586)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1549)
at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:858)
at jakarta.xml.bind.Messages.format(Messages.java:41)
at jakarta.xml.bind.Messages.format(Messages.java:22)
at jakarta.xml.bind.ContextFinder.newInstance(ContextFinder.java:144)
at jakarta.xml.bind.ContextFinder.find(ContextFinder.java:340)
at jakarta.xml.bind.JAXBContext.newInstance(JAXBContext.java:392)
at jakarta.xml.bind.JAXBContext.newInstance(JAXBContext.java:349)
......
Caused by: java.lang.ClassCastException: jakarta.xml.bind.Messages cannot be cast to ResourceBundle
at java.base/java.util.ResourceBundle$Control.newBundle0(ResourceBundle.java:3211)
at java.base/java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:3151)
at java.base/java.util.ResourceBundle.loadBundle(ResourceBundle.java:1984)
at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1770)
at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1722)
at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1722)
at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1656)
... 47 more

Sorry, wrong repo.


text:
bazel support release

Brief feature description
Will a new release including bazel support be created?

The current master branch supports bazel which means it will also be in the next release.
It is not on the same level like cmake, e.g. some compile time configuration cannot be set with bazel yet. If you have experience with bazel and want to add this configuration options we would appreciate a patch.

Closing this issue. The next release will have bazel support

repo: eclipse-iceoryx/iceoryx


text:
iox-#1394 Fix axivion warnings in "string_internal.hpp"

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[x] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[x] Assign PR to reviewer

Notes for Reviewer

See PR title.
Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Code according to our coding style and naming conventions
[x] Unit tests have been written for new behavior
[x] Public API changes are documented via doxygen
[x] Copyright owner are updated in the changed files
[x] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[x] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Relates to #1394

@ithier this also needs a rebase

source: gharchive/pull-request

authors: elBoberido ithier


text:
Improper handled of out of order packets in case Application connection restarts in multiple loop

we are running MQTT client application  as mentioned in below , server : Mosiquito broker
1.WLAN  AP connect
2. MQTT Client Init
3. MQTT Connect
4. MQTT Subscribe
5. MQTT Publish
6. MQTT Unsubscribe
7. MQTT Disconnect
8. MQTT Destroy
9. WLAN AP Disconnect
10. Repeat steps in loop from step 1 to 9.
We are observed MQTT connection failed with connection time out. it is occurs due to out of order packet received in tcp queue from the previous connection, this means socket sequence number is not matching with incoming tcp packet sequence number so packet is not given to the application layer and application timeout happened.
Below we are attaching the wireshark captures and debug prints for your reference :

jtag_logs.txt

we restarting MQTT connection with same port and ip address.
From the above capture in the packet number :6242 we are sending the MQTT connect cmd with seq_no:4273989310 and ack_no:1428468738
2)server had responded with connack in the packet number:6243 with seq_no:1428468738 and ack_no:4273989354 this should be the expected packet for the current MQTT connection successful.
3)But due to out of order packet present in tcp rx, queued packet number :6161 seq_no:1426907804 and ack _no:2142349211 present in the queue condition check got failed and application fives time out error.

Below is the code where problem occurs:
File name: nx_tcp_socket_state_data_check.c
API: nx_tcp_socket_state_data_check
/* Pickup the tail pointer of the receive queue.  */
search_ptr = socket_ptr->nx_tcp_socket_receive_queue_tail;
note: For a new connection all the packets in receeive_queue should be null but in current case out of order packer from the previous connection present in the queue search_ptr should be true.
/* Check to see if the tail pointer is part of a contiguous stream.  */
if (search_ptr) {
/* Setup a pointer to header of this packet in the sent list.  */
search_header_ptr = (NX_TCP_HEADER *)search_ptr->nx_packet_prepend_ptr;

/* Determine the size of the search TCP header.  */
search_header_length = (search_header_ptr->nx_tcp_header_word_3 >> NX_TCP_HEADER_SHIFT) * sizeof(ULONG);
/* Now see if the current sequence number accounts for the last packet.  */
search_end_sequence =
  search_header_ptr->nx_tcp_sequence_number + search_ptr->nx_packet_length - search_header_length;

note: required sequence number updated in search_end_sequence.
} else {
/* Set the sequence number to the socket's receive sequence if there isn't a receive
       packet on the queue.  */
search_end_sequence = socket_ptr->nx_tcp_socket_rx_sequence;

}
/* Determine if we have a simple case of TCP data coming in the correct order.  This means
the socket's sequence number matches the incoming packet sequence number and the last packet's
data on the socket's receive queue (if any) matches the current sequence number.  */
if ((tcp_header_ptr->nx_tcp_sequence_number == socket_ptr->nx_tcp_socket_rx_sequence)
&& (search_end_sequence == socket_ptr->nx_tcp_socket_rx_sequence)) {
note: this is check is failing due to search_end_sequence and socket_ptr-> nx_tcp_socekt_rx_sequence so packet is not go in ready state to application.
/* Yes, this is the simple case of adding receive packets in sequence.  */

/* Mark the packet as ready. This is done to simplify the logic in socket receive.  */
packet_ptr->nx_packet_queue_next = (NX_PACKET *)NX_PACKET_READY;
/* Place the packet on the receive queue.  Search pointer still points to the tail packet on
       the queue.  */

Hi Team,
Please provide any update on this ticket.

Hi Team,
Please provide any update on this ticket.

As you debug this issue, pay attention to the TCP sequence number used on the NetX side.  Between two TCP sessions, the sequence number shall be random.  This way, when the remote sends data to NetX Device, the sequence number won't be in range for the new TCP connection, and NetX can reject the packets (from the previous session).
TCP initial sequence number is generated by calling "NX_RAND()".   Make sure NX_RAND (defined in nx_api.h) is tied to a true random number source.

repo: eclipse-threadx/netxduo


text:
GitHub: Invite member

new GitHub user: TorstenHirsch
Vouching person: Evgeny Vinokurov GitHub Username: evgenyvinokurov

@evgenyvinokurov please verfiy and add him to the desired gh-team
If you are fine... please close this issue. 👍

@FaGru3n Thank you. I will close the issue.

repo: eclipse-tractusx/sig-infra


text:
EDC - Architecture Documentation

Description
As an EDC stakeholder,
I want to have an easy way to understand basic concepts of the EDC and I need a map to trace certain features to their implementation.
For that an architecture document should be started that gives a structural overview of the components that build up an EDC and describes general mechanisms like the extension mechanism.

[ ] An analysis of existing documentation is done and input is gathered
[ ] Major stakeholders in the development team are asked for their input
[ ] An initial architecture document is created and agreed by the developer community

Impact
None, as this is pure documentation
Additional information

[x] I'm willing to contribute to this feature

was presented in open planning ⇾ developer and committer are involved

Hello @lgblaumeiser
Since the feature is a 24.08 feature and the development phase is coming to an end, we need a status on the feature.

[ ] Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[ ] Please check whether the status (backlog, work in progress ...) is set correctly
[ ] Please check whether there is an assignment to a committee or expert group (supported-by) to be found on the board
[ ] Please comment on the current status of the feature
[ ] Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.

If you need any clarification, please get in touch, thank you very much.
Stephan

2024-06-11: In Progress, currently no heavy activity

2024-06-11:

[x]  Currently you are assigned (Responsible) → Is this correct? If not, please assign the correct contact person
[x]  Please check whether the status (backlog, work in progress ...) is set correctly
[x]  Please check whether there is an assignment to a committee or expert group (supported-by) to be found on the board
[x]  Please comment on the current status of the feature:
In Progress, currently no heavy activity
[x]  Are all SubTasks (issues from other repositories that deal with the feature) linked? → The easiest way is to mention the feature here in the issue (via the ID) so we can see which teams/repositories are involved.

Spillover for next release

Presented in the DRAFT Feature Freeze -> Committer is available

De-Prioritized and closed

Issue already closed -> new status DONE

authors: lgblaumeiser stephanbcbauer

repo: eclipse-tractusx/sig-release


text:
action in policy translated into type instead of @id

It seems in 0.5.3 the action is translated into type instead of @id after creating the policy.
Examples:
Input:
{
 "@context": {
  "dct": "https://purl.org/dc/terms/",
  "tx": "https://w3id.org/tractusx/v0.0.1/ns/",
  "edc": "https://w3id.org/edc/v0.0.1/ns/",
  "dcat": "https://www.w3.org/ns/dcat/",
  "odrl": "http://www.w3.org/ns/odrl/2/",
  "dspace": "https://w3id.org/dspace/v0.8/"
 },
 "@id": "e30caa13-0afb-4eae-8749-a15f6055666e",
 "edc:policy": {
  "@type": "odrl:Policy",
  "odrl:permission": [
   {
    "odrl:action": {
     "@id": "odrl:use"
    }
   }
  ]
 }
}

Result when I fetch the policy:
{
 "@id": "e30caa13-0afb-4eae-8749-a15f6055666e",
 "@type": "edc:PolicyDefinition",
 "edc:createdAt": 1709541298224,
 "edc:policy": {
  "@id": "2d81087b-c40e-4ddb-96e0-333acd2824d9",
  "@type": "odrl:Set",
  "odrl:permission": {
   "odrl:action": {
    "odrl:type": "http://www.w3.org/ns/odrl/2/use"
   }
  },
  "odrl:prohibition": [],
  "odrl:obligation": []
 },
 "@context": {
  "dct": "https://purl.org/dc/terms/",
  "tx": "https://w3id.org/tractusx/v0.0.1/ns/",
  "edc": "https://w3id.org/edc/v0.0.1/ns/",
  "dcat": "https://www.w3.org/ns/dcat/",
  "odrl": "http://www.w3.org/ns/odrl/2/",
  "dspace": "https://w3id.org/dspace/v0.8/"
 }
}

Relevant part is this:
   "odrl:action": {
    "odrl:type": "http://www.w3.org/ns/odrl/2/use"
   }

Also in the database it is stored in the field type
The above example is very expressive. It also is the same behavior when using shorter forms like
"action" : "use"

Same happens in the Catalog.
Expected result:
   "odrl:action": {
    "@id": "http://www.w3.org/ns/odrl/2/use"
   }

@id field should be used instead of type

This should be submitted to the EDR repo, it is not a Tractus-X issue.

This bug is still available in 0.7.1 @jimmarino

authors: jimmarino matgnt

repo: eclipse-tractusx/tractusx-edc


text:
Fix uTransport send() definition to map source.

#65

@sophokles73 understood and agree, will revise based on our discussion.

@sophokles73 and people, uProtocol mission statement is connecting uE everywhere and anywhere.
We are using service oriented architecture with strong contracts using the protobuf files and we are optimizing on message sending using pub/sub patterns.
In the pub/sub patterns the sender does not care about receivers - it just sends out messages.
It can optimize that is no one is subscribed, nothing is sent.
" I need to specify the source instead of the destination that I want to send the message to" - correct! This is to enable routers/dispatchers to implement the mission statement of connecting everyone everywhere.
An owner of data (service oriented) can publish a state change - the platforms job is to deliver this state change to interested parties. Interested parties register as such by subscribing to said state change topic.
Routers and dispatchers are interested in the source since their job is knowing who is subscribed, not the owners of the data.
Separation of concerns in this way, gives the protocol all the wiggle room it is needs to optimize each system delivery.

If RPC is what is confusing, then I have a ton to say about that and it is more than a comment typing. But it should be solved in the RPC part and not in the actual UTransport part.

@tamarafischer there is no dissent about what you stated. I also agree with

In the pub/sub patterns the sender does not care about receivers - it just sends out messages.

and I would be inclined to append

to an address.

because in the end, the receiver(s) of the message are represented by this address, regardless of whether it is zero, one or multiple receivers.
I also believe that when it comes to defining a developer-facing API, we should try to make the API as easy to use and comprehensible as possible. While I can easily see that a message is being published/sent-out to an address/topic/receiver (whatever you might want to call it), I have a hard time understanding why I need to put the address that I want to send the message to into a parameter that is called source (even if at the transport level, calling it like that might make sense).
Moving the source parameter into UAttributes does not really solve this issue FMPOV, but I guess we can alleviate this problem by means of the UAttributesBuilder factory methods which we can use to hide the mapping of the publish address to the corresponding UAttributes property.

@tamarafischer there is no dissent about what you stated. I also agree with

In the pub/sub patterns the sender does not care about receivers - it just sends out messages.

and I would be inclined to append

to an address.

because in the end, the receiver(s) of the message are represented by this address, regardless of whether it is zero, one or multiple receivers.
I also believe that when it comes to defining a developer-facing API, we should try to make the API as easy to use and comprehensible as possible. While I can easily see that a message is being published/sent-out to an address/topic/receiver (whatever you might want to call it), I have a hard time understanding why I need to put the address that I want to send the message to into a parameter that is called source (even if at the transport level, calling it like that might make sense).
Moving the source parameter into UAttributes does not really solve this issue FMPOV, but I guess we can alleviate this problem by means of the UAttributesBuilder factory methods which we can use to hide the mapping of the publish address to the corresponding UAttributes property.

@tamarafischer we are not changing the definition of source and sink, just making the transport API more intuitive.

authors: sophokles73 stevenhartley tamarafischer

repo: eclipse-uprotocol/up-spec


text:
introduce Distributive interface so that polymorphic operators can be used by matrices

Currently, one can't write a Matrix class that can use Ceylon's polymorphic operators. That's because matrices don't support a division operation, and because multiplication for matrices is not commutative.
I propose a simple Distributive interface that will hold the times method (and by consequence the * operator), and that does not require commutativeness for its operation. This interface will satisfy Invertible and will be satisfied by Numeric:
shared interface Distributive<Other>
	of Other
	satisfies Invertible<Other>
	given Other
		satisfies Distributive<Other>
{
	shared formal Other times(Other other);
}

shared interface Numeric<Other>
	of Other
	satisfies Distributive<Other>
	given Other
		satisfies Numeric<Other>
{
	shared formal Other divided(Other other);
}

I've implemented this on the 7267 branch, as a new Multiplicable interface, almost identical to Summable.

It would be beautiful if it was possible to have more matrix operators supported in the language (using their unicode characters). If only one could declare new operators and their supporting interfaces :grinning:

authors: Zambonifofex gavinking xkr47

repo: eclipse/ceylon


text:
LSTM failing on GPU with cudaMalloc failed runtime exception

Issue Description
Am training an LSTM classifier ( which worked perfectly well on CPU) on a GPU server and it is failing with a run-time exception for cudaMalloc failed.
Version Information
Cuda with Cudnn version 10.0
Dl4j and Nd4j version - Beta6

Platform - Linux
NVIDIA driver version, if in use

Additional Information
Where applicable, please also provide : attached a snapshot of the stack trace.
Also was able to train with a batch size of 256 on CPU reduced to batch size of 32 now. Still not working.

you know, you can take "actual" screenshots on almost any OS, or?  ;)
It all depends on the memory configuration - so if anyone here should be able to help you, you need to provide those details. RAM of CPU used. VRAM of your GPU. The preferences for JavaCPP is also helpful as far as I saw in other issue descriptions.

I had a similar problem and constantly experiencing some memory - let's say "limitations" when I use GPU training and LSTM. So maybe, I can help you if you provide above details for me.
And your used workspace setup would be also helpful (if any).
Hope it brings us closer to a solution. Cheers!

And btw. you may use nvidia-smi to actually monitor your GPU (incl. memory allocation). What I assume, it would have shown then, is, that you GPU memory was almost full such that the malloc of that exception above fails.

Please try the latest dl4j/nd4j version, which is 1.0.0-beta7
If the problem is reproducible there - please show us all the output you'll get there. You can do that by copying it into service like https://gist.github.com/

@sascha08-15 got any news?

Thanks guys for your inputs. I was calling the datasetloss calculator to calculate score on the train and test data set after every epoch which was causing it to go out of memory . Which then resulted in this error.
Getting rid of that in my loop helped me get rid of the error.


text:
Add teaser GIF and extend docu

Brief feature description

Add teaser GIF
Link "Eclipse iceoryx in 1000 words" from $ROOT/Readme.md
Update PLANNED_FEATURES.md

Added in #46

repo: eclipse/iceoryx


text:
Issue272 Add TCK for deployment failure when LRA is not combined with either Compensate or AfterLRA

resolves #272

add a new TCK test - TckInvalidSignaturesTests#invalidLRAResourceWithoutCompensateOrAfterLRATest
fix other TCK LRA resources which do not contain any of the Compensate of AfterLRA methods
ignore TckTests#mixedMultiLevelNestedActivity because it collides with the above requirement (will be reported in the new issue - https://github.com/eclipse/microprofile-lra/issues/274)

@rdebusscher @mmusgrov @ochaloup this is ready for review again.

@mmusgrov I am going to merge this later today. Do you still have any questions?

@mmusgrov @tomjenkinson we have 2 approvals on this PR. I am going to merge this later today so this is just a notification if you want to take another look.

Thanks @xstefank my personal preference would be to remove the code formatting changes to make the change set smaller. For instance this commit has quite a bit of whitespace: https://github.com/eclipse/microprofile-lra/pull/273/commits/0fd620c31584f327f8e8f75b7518c60f03a832ba
Also, I wonder if the commits related to 272 could be squashed?

Pushed only changes suggested by @tomjenkinson in his last comment.

Thanks @xstefank! (I think we should consider to update the checkstyle)

Merging since this was approved 2 times. We can revert if needed.

authors: tomjenkinson xstefank

repo: eclipse/microprofile-lra


text:
MP Talk at Devnexus 2020

Name of the speaker: Cesar Hernandez
Name of the session: It’s Easy! Contributing to Open Source
twitter or/& git account, if available: cesarHgt
link of the event or short session abstract: https://devnexus.com/presentations/4538/
Date/ time/location: Frid, February 21st,, 2020, 11:20 AM EST
Tweet message: Join @cesarHgt at Devnexus 2020 on Friday, February 21st to learn how easy is to join, contribute, share, and learn in Open Source projects 🚀@devnexus @MicroProfileIO  @ApacheTomEE

Hi Debbie,
Is Cesar's session in the set of social cards you've been promoting for
DevNexus?
Cesar
On Wed, Feb 5, 2020 at 3:01 PM Cesar Hernandez notifications@github.com
wrote:

Name of the speaker: Cesar Hernandez
Name of the session: It’s Easy! Contributing to Open Source
twitter or/& git account, if available: cesarHgt
link of the event or short session abstract:
https://devnexus.com/presentations/4538/
Date/ time/location: Frid, February 21st,, 2020, 11:20 AM EST
Tweet message: Join @cesarHgt at Devnexus 2020 on Friday, February 21st to
learn how easy is to join, contribute, share, and learn in Open Source
projects 🚀@devnexus https://github.com/devnexus @MicroProfileIO
@ApacheTomEE
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/microprofile-marketing/issues/242?email_source=notifications&email_token=AGB2SAQNKMUYPEL44OUMACLRBMLILA5CNFSM4KQRE5W2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILKBCEA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGB2SAX2KTHJ7RWQNAFQWKTRBMLILANCNFSM4KQRE5WQ
.

--
Cesar Saavedra
Senior Principal Technical Product Marketing Manager
csaavedr@redhat.com
(407) 492-9801

I took care of it.

authors: cealsair cesarhernandezgt rstjames

repo: eclipse/microprofile-marketing


text:
GH-2104 explain query (query plan) API design and initial implementation

GitHub issue resolved: #2104
Briefly describe the changes proposed in this PR:

PR Author Checklist:

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change
[ ] every commit has been signed off

Note: we merge all feature pull requests using squash and merge. See RDF4J git merge strategy for more details.

I would appreciate your input on this guys. I'm not ready for a full review, but more would like you to consider the general approach.

This is coming along nicely.
I have introduced a GenericPlanNode which can be used to represent any and all plan nodes. It has toString support equivalent to the current TupleExpr toString format. It also supports json (using Jackson).
Also supports ASK and CONSTRUCT.
There is still one issue. The use of a mutable TupleExpr instead of an immutable one. I think I will look closer at this and maybe create a new evaluate method in SailConnection to support more options.

I feel that this might start getting ready to merge.

I’ve also added time tracking, so the user can see how much time each sub part takes. I find this particularly useful.
I’ve quickly tested the overhead, and it was non-existent on my MacBook. I know that nanoTime used to be super slow on windows back in the XP time, but seems that all modern hardware and operating systems now support very low overhead nanosecond timing.

I don’t want to implement support for remote explain() in this PR. Would be great if this initial implementation could be released as part of 3.2 and maybe I’ll have time to implement the remote feature too.

TODO:

[ ] check that methods that implement interface method with @Experimental show this in their javadcos

Just waiting for Github Actions to merge this.


text:
精简了colorpicker，并添加了单测

如题

Coverage decreased (-0.7%) to 82.521% when pulling 4bfe72f311387407545747af463cc56215604c66 on mly-zju:master into 657ef3f9c175c57c333f2b14b181555dcc8ce4e4 on ecomfe:master.

Coverage decreased (-5.5%) to 70.7% when pulling f537c748a55526e685f2a677da019eacb8572ac7 on mly-zju:master into 997a8ecb73d129fd8eaf84eea1fe0ff93a944948 on ecomfe:master.

Coverage increased (+4.1%) to 80.308% when pulling 0be8652205b6cf47f6af26ecc8245f680ce6aa5b on mly-zju:master into 997a8ecb73d129fd8eaf84eea1fe0ff93a944948 on ecomfe:master.

authors: coveralls mly-zju

repo: ecomfe/san-mui


text:
🛑 Main Api is down

In 09a709e, Main Api (https://api.wayru.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Api is back up in b3bef82.


text:
Add Element "Loader" Support

Before submitting a pull request, please make sure you have at least performed the following:

[x] read and followed the CONTRIBUTING.md guide.
[x] linted, built and tested the changes locally.
[x] added/updated any applicable API documentation.
[x] added/updated any applicable demos.

Thank you for the PR. I've had a brief look and from what I can tell this component isn't adding any JavaScript functionality, other than being a useful shortcut for some HTML.
My issue with this is that this library is really intended to only cover the non CSS-only functionality of Semantic UI, for various reasons, but a big one being ease of maintenance - if Semantic UI fundamentally changes how their loading component works, this library would have to fix that, when instead if people had just been using the pure HTML and CSS the problem would be on their end.
Currently, you can easily make a loader by doing something like this:
<sui-dimmer class="inverted" [isDimmed]="isLoading" [isClickable]="false" [transitionDuration]="200">

Loading

</sui-dimmer>

I wonder if instead, it would be best to add a simple example of this to the dimmer documentation?
Let me know your thoughts!

Thanks for the comment! This honestly is just my oversight.
I’m still new to semantic and was not familiar with the term dimmer and completely missed it in your documentation.
Especially since semantic docs specifically call out a loader under “elements”.
Your solution is a much better way to go, and I can just use a small wrapper to simplify my HTML

No worries at all! I'm going to open an issue about the documentation, as it would be useful to have, but will close this for now.

authors: edcarroll gabrieldoty


text:
🛑 KJM Ceremonies is down

In 81eff5b, KJM Ceremonies (https://kjmceremonies.co.uk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KJM Ceremonies is back up in 772360d after 5 minutes.

repo: eddiebt/BTCWebMonitor


text:
Switch to white theme - (First experience with Ghost)

Hi!
I really love this theme and It's one of the coolest themes I've seen. I really appreciate your work.
I have read closed issues but I couldn't solve the problem. Later I checked for my device's theme and it selected as Light theme. After that, I tried by editing the app.css but it's so difficult to find tags. What should I do? Also, Could I get csstag names for the shadow of article-cards on the main page?
Thank you!

Oh, It's only happening when I use Brave browser. And still I have a problem. How does this dark theme work?
Thank you!

Currently the dark theme is shown when devices that support @media (prefers-color-scheme: dark) have the dark-mode enabled. If the device doesn't support that or if you have the dark mode turned off then the light theme is shown.
More info about this here: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
But I don't understand yet what do you need exactly, do you want to disable the dark theme for your blog and just show the light theme? If you want to do that then please take a look on this:
https://twitter.com/_edev/status/1190724632556556288

After reading this: https://github.com/eddiesigner/liebling/issues/68
I thought the dark theme depends on OS's default theme. I worried because of the Liebling theme was still black even though my default theme was light. After I found that my browser's theme selected as dark. Now I got it. (I think in the dark theme we can't see even shadows. can we?) That's why I tried to force light mode.
Thank you for your co-operation! =)
after referring to this: https://github.com/eddiesigner/liebling/issues/62, I tried with my own colours...
:root {
 --background-color: #243239;
 --primary-foreground-color: #ECEFF1;
 --secondary-foreground-color: #fff;
 --primary-subtle-color: #64FFDA;
 --secondary-subtle-color: #2A383F;
 --titles-color: #ECEFF1;
 --link-color: #64FFDA;
 --primary-border-color: #2A383F;
 --secondary-border-color: #243239;
 --article-shadow-normal: 0 0px 0px 30px rgba(0,0,0,0.5);
 --article-shadow-hover: 0 0px 0px 60px rgba(0,0,0,0.9);
 --transparent-background-color: rgba(27,38,43,1);
 --foter-background-color: #1f2a30
 --submenu-shadow-color-opacity: 0.55;
 --button-shadow-color-normal: rgba(10, 10, 10, 0.5);
 --button-shadow-color-hover: rgba(10, 10, 10, 0.5);
}

And I removed the secondary border of article-cards:
border:1px solid var(--secondary-border-color);
Not too darker, not too brighter. isn't it? :3
Few screenshots:

authors: Xenonstaforums eddiesigner

repo: eddiesigner/liebling


text:
globally configured mail_settings

This feature allows mail_settings, such as sandbox_mode, to be applied globally through the sendgrid_actionmailer_settings configuration.

This causes mail to not be delivered:
mail_settings: { sandbox_mode: { enable: false }}

It doesn't seem to matter what value of enable you use.
It looks like you're just passing mail_settings straight through to the SendGrid API, so it's probably a SendGrid bug, but maybe worth noting in the Readme.

It looks like the problem is that it assigns mail_settings directly to SendGrid::Mail. It should reuse the logic from #add_mail_settings.

Fix proposal:
diff --git a/lib/sendgrid_actionmailer.rb b/lib/sendgrid_actionmailer.rb
index c9af090..f09474c 100644
--- a/lib/sendgrid_actionmailer.rb
+++ b/lib/sendgrid_actionmailer.rb
@@ -27,10 +27,6 @@ module SendGridActionMailer
         m.subject = mail.subject || ""
       end

-      if self.settings[:mail_settings]
-        sendgrid_mail.mail_settings = self.settings[:mail_settings]
-      end
-
       add_personalizations(sendgrid_mail, mail)
       add_api_key(sendgrid_mail, mail)
       add_content(sendgrid_mail, mail)
@@ -243,7 +239,10 @@ module SendGridActionMailer

     def add_mail_settings(sendgrid_mail, mail)
       if mail['mail_settings']
-        settings = mail['mail_settings'].unparsed_value || {}
+        mail_settings = mail['mail_settings'].unparsed_value || {}
+      end
+      settings = (self.settings[:mail_settings] || {}).merge(mail_settings || {})
+      unless settings.empty?
         sendgrid_mail.mail_settings = MailSettings.new.tap do |m|
           if settings[:bcc]
             m.bcc = BccSettings.new(**settings[:bcc])
diff --git a/spec/lib/sendgrid_actionmailer_spec.rb b/spec/lib/sendgrid_actionmailer_spec.rb
index 0283099..351113e 100644
--- a/spec/lib/sendgrid_actionmailer_spec.rb
+++ b/spec/lib/sendgrid_actionmailer_spec.rb
@@ -777,7 +777,25 @@ module SendGridActionMailer
           it 'should apply mail_settings to request body' do
             m = DeliveryMethod.new(api_key: 'key', return_response: true,  mail_settings: { sandbox_mode: {enable: true }})
             m.deliver!(mail)
-            expect(client.sent_mail['mail_settings']).to eq({ sandbox_mode: {enable: true }}.to_json)
+            expect(client.sent_mail['mail_settings']).to eq("sandbox_mode" => {"enable" => true })
+          end
+
+          context "when mail has mail_settings set" do
+            before do
+              mail['mail_settings'] = {
+                sandbox_mode: { enable: false },
+                spam_check: { enable: true }
+              }
+            end
+
+            it 'should apply local mail_settings on top of global settings' do
+              m = DeliveryMethod.new(api_key: 'key', return_response: true,  mail_settings: { sandbox_mode: {enable: true }})
+              m.deliver!(mail)
+              expect(client.sent_mail['mail_settings']).to eq(
+                "sandbox_mode" => {"enable" => false },
+                "spam_check" => {"enable" => true },
+              )
+            end
           end
         end
       end

@jamezilla, nice catch!  @gogiel, If I recall correctly the reason I structured it that way was so that the settings could be applied through the initializer globally, as opposed to through the mail object. But, it looks like you address that with settings = (self.settings[:mail_settings] || {}).merge(mail_settings || {}), which is a far better approach.  :+1:  We should  probably add coverage for the sandbox false case.  But otherwise, this LGTM. If you want to create a PR to this branch, I'll merge it in.  Thanks for digging into this!

Thanks @gogiel, @jamezilla. Merged, bumped and pushed 3.1.1.

authors: gogiel jamezilla tyrauber

repo: eddiezane/sendgrid-actionmailer


text:
Do not focus input, select, textarea or button with :not([tabindex^="-"]).

Currently even when button has negative tabindex, it's still focusable via TAB key.
Use case:
I have <button type="button" data-a11y-dialog-hide="true" aria-label="Close the dialog" tabindex="-1"></button> first in DOM of dialog and I don't want to be close button focused after dialog opens.
So I am putting negative tabindex on close button and when dialog opens I am removing that negative tabindex so close button can be user focused with tabbing.

Hey Adam, thank you for opening an issue. Why don’t you use the disabled attribute instead? I assume you don’t want that button to be actionable at all, which is not what tabindex is for.

I am trying to manage just focus on opening, that's why I choose tabindex instead of disabled.
But you are probably right, I don't think it through. Disabled make more sense because tabindex is user oriented and we are setting focus programatically.
So feel free to  close this. Thanks for your time.

No worries, thanks for reporting. :)

authors: HugoGiraudel adammockor


text:
Upcoming API Changes

https://twitter.com/frazer_HX/status/816600136029786112

Post once per day.
Multiple images per post.
Use description text.
Link to https://flood-warning-information.service.gov.uk/5-day-flood-risk


text:
Ablation study exmperiment

Hi, first of all, thank you for your work. It's so great!!!
I want to recreate your ablation study by train the model with only CA-VAE and DA-VAE. I tried to do it by disable the distance loss or cross-reconstruction loss in the total loss, but I can't get the result on your paper. I only get harmonic mean accuracy of 2.18% for CA-VAE and 39.52% for DA-VAE. Can you point out my mistake?
Thank you

Hi, it's very much possible that the hyperparameters have to be adjusted for each ablation, especially the early stopping step for the final classifier. That should be done on the validation split (=the split that is not used for the final testing), see here https://github.com/edgarschnfld/CADA-VAE-PyTorch/issues/10.

Hi,have you got the true ablation result ? can you show me the details ?

authors: GanAndreas angela000 edgarschnfld

repo: edgarschnfld/CADA-VAE-PyTorch


text:
Can't create type and a function that references it at the same time

CREATE MIGRATION {
    CREATE TYPE default::Note {
        CREATE REQUIRED SINGLE PROPERTY note -> std::str;
    };
    CREATE FUNCTION default::foo(x: default::Note) -> std::str USING (SELECT
        (x.note ++ "!")
    );
};

fails with edb.errors.InternalServerError: relation "edgedb_9b4cb2b5-0f4e-11eb-8480-7de12ecda434.c1149538-0fff-11eb-a12b-0fcdfa949b6c_t" does not exist.
(I wrote this as CREATE MIGRATION to show that the problem isn't how we compute migrations but creating the type and the function at the same time.)
The issue is that the function refers to the inheritance view for Note, not the underlying table, and inheritance views are always created at the end of the script. So even though the creation of Note is done first, the inheritance view isn't so the function creation failed.

Seems to be a dupe of #1625?

authors: elprans msullivan

repo: edgedb/edgedb


text:
Rename constraints to avoid potential clashes and ambiguity

Constraints like min, max, length and other similar ones potentially clash with function names. Here's the proposed renaming:

constraint  ->  constraint (abstract parent of all constraints, hardly ever used explicitly)
enum  ->  one_of
exclusive  ->  exclusive
expression  ->  expression
len_constraint  ->  len_value
max  ->  max_value
max_ex  ->  max_ex_value
max_len  ->  max_len_value
min  ->  min_value
min_ex  ->  min_ex_value
min_len  ->  min_len_value
regex  ->  re_matches (this one doesn't need to be renamed, since regexp functions are all prefixed with "re_" and doing so here might be more ambiguous)

@1st1 and @elprans, do you have any more thoughts on this?

+1;
"regex -> re_matches" is not necessary.

-1 on renaming "regex", everything else looks ok

OK, I've updated the list.

Implemented by #525.

authors: 1st1 elprans vpetrovykh


text:
Fix many of migration proposal rejection

One major issue was that the logic for determining what the proposed
change that was being rejected did not match the logic for computing
the proposed change. This is fixed by pulling the info about the
rejected change directly from last_proposed, which also has the
advantage of eliminating another schema diff.
The downside of this is that reject no longer rejects anything unless
DESCRIBE CURRENT MIGRATION AS JSON has been run in the current
transaction. This works fine with the CLI, though. If this is a
problem, we can reuse the logic from DESCRIBE AS JSON to reproduce it
when needed.
can_alter and friends also needed to be changed to get types directly
from the relevant objects, since they were getting confused by sclass
being Pointer (which corresponds to the type of the pointers refdict.)
I had to adjust the confidence generation to prevent emitting a 1.0
confidence for some of the (very not 1.0 confidence!) suggestions
in my tests.
I then fiddled around a bit to try to make some of the messages in
those cases more granular.

This will also fix #2314


text:
Add remaining config file fs watch for multi-tenants

A known issue is that, if the watched file is moved/renamed, uvloop _monitor_fs() will still report the changes of the NEW path, while the reloading tasks are all using the OLD path. This effectively cripples the reload feature on fs change. This is particularly found when any config file is edited using vim. I'll create a new PR to fix it to survive renames (that also includes watching the containing folder so that a new file at the OLD path can be picked up, but that may need some discussion).
Updating the config file content works fine.

A known issue is that, if the watched file is moved/renamed, uvloop _monitor_fs() will still report the changes of the NEW path, while the reloading tasks are all using the OLD path. This effectively cripples the reload feature on fs change.

By the way, you shouldn't ignore the callback's event parameter and only do the reload on UV_CHANGE.  If you receive a UV_RENAME instead, you should stop watching that handle.
For renames, watching the containing directory is the correct fix I think.

authors: elprans fantix


text:
Add rest definitions to facilitate local API debugging

For example, a deployment.rest file with the following content:
@host = studio.edgeimpulse.com
@base=https://{{host}}/v1/api
###

# @name listProjectDownloads
GET {{base}}/{{$dotenv projectId}}/downloads
X-API-KEY: {{$dotenv apiKey}}
Content-Type: application/json
###

[ ] Include a reference to this in the main README file

Closed with ee8c9b4

repo: edgeimpulse/notebooks


text:
refactor: Update for new service key names and overrides for hyphen to underscore

Dependent on edgexfoundry/go-mod-core-contracts#613
Dependent on edgexfoundry/go-mod-bootstrap#216
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.
What is the current behavior?
Service key constants have the edgex- prefix
Issue Number:  #3460 & #3393
What is the new behavior?
Service key constants no longer have the edgex- prefix
Hyphen in Overrides are converted to underscore
Does this PR introduce a breaking change?

[x] Yes
[ ] No

BREAKING CHANGE: Service key names used in configuration have changed.
New Imports

[ ] Yes
[x] No

Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

Codecov Report

Merging #3462 (98bad9c) into master (5b6776f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3462   +/-   ##
=======================================
  Coverage   40.62%   40.62%
=======================================
  Files         202      202
  Lines       16488    16488
=======================================
  Hits         6699     6699
  Misses       9313     9313
  Partials      476      476

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 7e9ba5b...98bad9c. Read the comment docs.

The prefix in SECURITY.md should be modfied.
Please also modify the config API example in system-agent.yaml, core-data.yaml, and core-metadata.yaml under /openapi/v2/ folder.

@cloudxxx8 , I addressed the YAML files. Remember that the container and host names will still start with edgex- prefix
The SECURITY.md is way outdated and needs many more changes than the scope of this PR. I have created a new issue to address updating it:
https://github.com/edgexfoundry/edgex-go/issues/3476

authors: codecov-commenter lenny-intel

repo: edgexfoundry/edgex-go


text:
device-service always use message bus after 3.0

🚀 Feature Request
Relevant Package [REQUIRED]

 This feature request is for device-service
Description [REQUIRED]
 Cases for testing UseMessageBus should be removed.

we have the agreement to remove this config in the Core WG meeting on 31-Jan-2023

repo: edgexfoundry/edgex-taf


text:
Integrate Dependency Updates

Multiple dependency upgrades can get funky, time to integrate them. This should supercede:

#82
#83
#84
#85
#86

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
建议Display也可以添加全局控制参数

建议Display也可以添加全局控制参数

Related to #1734

authors: ghostman-git scottsut


text:
🛑 Zona Segura is down

In b6b258d, Zona Segura (https://zonasegura.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zona Segura is back up in 83ab0a6.


text:
-DNO_TLS_WITH_CHACHA20_POLY1305 broken

Hi,
It appears -DNO_TLS_WITH_CHACHA20_POLY1305 tries to use some DTLS code that's not in:
pannekake:~/nmu/tlse> gcc examples/tlshelloworld.c -o tlshello -ltomcrypt -ltommath -DLTM_DESC -DNO_TLS_WITH_CHACHA20_POLY1305
In file included from examples/tlshelloworld.c:1:
examples/../tlse.c: In function ‘dtls_reset_cookie_secret’:
examples/../tlse.c:1388:16: error: ‘dtls_secret’ undeclared (first use in this function); did you mean ‘tls_sni_se ’?
     tls_random(dtls_secret, sizeof(dtls_secret));
                ^~~~~~~~~~~
                tls_sni_set
examples/../tlse.c:1388:16: note: each undeclared identifier is reported only once for each function it appears in
In file included from examples/tlshelloworld.c:1:
examples/../tlse.c: In function ‘_private_tls13_key’:
examples/../tlse.c:2797:21: error: ‘TLS_CHACHA20_IV_LENGTH’ undeclared (first use in this function); did you mean  TLS_AES_IV_LENGTH’?
         iv_length = TLS_CHACHA20_IV_LENGTH;
                     ^~~~~~~~~~~~~~~~~~~~~~
                     TLS_AES_IV_LENGTH
examples/../tlse.c: In function ‘tls_packet_update’:
examples/../tlse.c:3837:88: error: ‘POLY1305_TAGLEN’ undeclared (first use in this function)
                                     *((unsigned short *)&aad[3]) = htons(packet->len + POLY1305_TAGLEN - header_size);
                                                                                ^~~~~~~~~~~~~~~
examples/../tlse.c: In function ‘_private_dtls_build_cookie’:
examples/../tlse.c:5922:47: error: ‘dtls_secret’ undeclared (first use in this function); did you mean ‘tls_sni_se ’?
         hmac_init(&hmac, find_hash("sha256"), dtls_secret, sizeof(dtls_secret));
                                               ^~~~~~~~~~~
                                               tls_sni_set

Fixed, thanks for reporting.

May we close this?

authors: eduardsui sesse

repo: eduardsui/tlse


text:
MA-2763, Fetching registration form from server.

Description
MA-2763
Fetching registration form from server rather than local json file.
Notes
Please refer to the Jira ticket for detailed description of the functionality implements within this PR.
Screenshots

Loading before rendering page
Register screen (top part)
Register screen expanded (bottom part)

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3d3b5f1). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #935   +/-   ##
=========================================
  Coverage          ?   16.58%
  Complexity        ?      999
=========================================
  Files             ?      466
  Lines             ?    19825
  Branches          ?     2280
=========================================
  Hits              ?     3288
  Misses            ?    16181
  Partials          ?      356

Impacted Files
Coverage Δ
Complexity Δ

...va/org/edx/mobile/authentication/LoginService.java
100% <ø> (ø)
0 <0> (?)

...dule/registration/view/RegistrationSelectView.java
0% <0%> (ø)
0 <0> (?)

...ain/java/org/edx/mobile/view/RegisterActivity.java
0% <0%> (ø)
0 <0> (?)

.../module/registration/model/RegistrationOption.java
0% <0%> (ø)
0 <0> (?)

...dule/registration/view/IRegistrationFieldView.java
0% <0%> (ø)
0 <0> (?)

...e/registration/view/RegistrationAgreementView.java
0% <0%> (ø)
0 <0> (?)

...dule/registration/model/RegistrationFormField.java
0% <0%> (ø)
0 <0> (?)

...a/org/edx/mobile/task/GetRegistrationFormTask.java
0% <0%> (ø)
0 <0> (?)

...n/java/org/edx/mobile/authentication/LoginAPI.java
35.8% <0%> (ø)
5 <0> (?)

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 3d3b5f1...7113ba5. Read the comment docs.

Focus is not properly set:
After filling a field say Email, if I press the enter button on keyboard the focus changes to next input item Full name but the field isn't properly focused i.e. I cannot input anything from the keyboard until and unless I tap that field.
If checked on current master, this workflow works just fine.

Screen goes blank
If we have no connectivity and open the Registration screen a dialog pops up showing that we have no connectivity and upon dismissing the popup the screen remains blank.
We shouldn't show the error dialog in this case and show a full screen error with the wifi icon at the center of the screen.

@miankhalid all change requests addressed, ready for second pass.

@miankhalid nit addressed.

authors: codecov-io farhan miankhalid

repo: edx/edx-app-android


text:
Release 0.5.0

@andy-armstrong @AlasdairSwan @bjacobel

:+1:
FYI, we agreed that release PRs only need one reviewer, so you can go ahead and merge.

Sounds good!

authors: andy-armstrong dan-f

repo: edx/edx-ui-toolkit


text:
Module resolve missing in the docs

I switched version from 1.10.0 to 2.0.0 and onwards.
Now i get this Problem in my project.
Cannot find module '../doc/directives.js'
tsconfig.json
{
  "compilerOptions": {
    "target": "ES6",
    "module": "commonjs",
    "outDir": "dist",
    "strict": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "sourceMap": true,
    "declaration": true,
    "typeRoots": [
      "node_modules/@types"
    ]
  },
  "include": [
    "src/**/*",
    "test/**/*"
  ],
}

Hello,
i can try. I did not much. Just installed with "yarn add yarn --dev"
And for a quick test i wrote a test in mocha.
I call for the test to run:  yarn test-single ./test/900-validator.spec.ts
The script from package.json:
"test-single": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -t 10000 -r ts-node/register"
`
it('API gen', () => {
    const file = fs.readFileSync('./artifacts/api.yaml', 'utf8');
    const parsedYaml = YAML.parse(file);
    console.log('test');

});
`

Ok found the issue. Thanks to the hint with #384
In my ".yarnclean" file was:
# asset directories
docs
doc

repo: eemeli/yaml

license: ISC