obsidian: update app icon

Description of changes
Update Desktop Entry to the latest obsidian app logo
https://obsidian.md/blog/new-obsidian-icon/

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

This should be against master instead of nixos-unstable.
See https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#branch-conventions for more info.

This should be against master instead of nixos-unstable.
See https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#branch-conventions for more info.

I cannot change the branch, so I opened a new pr here: https://github.com/NixOS/nixpkgs/pull/260553


How to set it up with flatlist ?

I tried it with flatlist calling it with render item but didnt worked. Though outside flatlist , it works but I want it to be unique for each row .

Then maybe put it outside the flatlist, use state or props to maintain the content in dialog, and change the state or props every time before you call the dialog.I think it is a solution if you don't want multiple dialog show up in the same time.

@yash2code  any workaround?

@yash2code any workaround?

I have a same problem when i import data from other file .js but when i declare in within Component using works perfect.
const styles = StyleSheet.create({
containerParrent: {
marginBottom: 56
},
...
});
let dataField = [
{
'value': 'Comp1',
},
{
'value': 'Comp2',
},
{
'value': 'Comp3',
},
...
];
in render():  class FlatListItemMenu declare below import in the current component using.
<FlatList data={dataEmployee} horizontal={false}
ListEmptyComponent={() => {
return (

);
}}
renderItem={({ item, index }) => {
return (

)
}} />
I don't know why It's not work when data imported from other file .js but now it's work


HTTPS cert expired

On the https://www.googleplaymusicdesktopplayer.com/ https cert have expired 27 March

yep came here to say the same thing

Still not fixed. Very disappointed. Looks like the dev cannot or doesn't want to take care of the project anymore.

Same issue as seen previously https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3789
That issue was closed when I mentioned it in 2020 without a proper fix 🙂

@LurkerShark I'm not sure that it's completely same problem.
If I right understood in https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3789 the answer from maintainers was - oops cron haven't performed in right time due to business of server.
But now it's September and cert have been expired in March, so I assume that right now cert renewal cron is just disabled...
P.S. Anyway unfortunately this project now looks completely dead. I assume that it was left without maintenance cause its main focus was Google Play Music and now Google Play Music is closed.

@dm3ch that's the thing, there's no situation under #3789 where it shouldn't have run weeks before the certificate expired
I believe it was manually run after my original post back then

P.S. Anyway unfortunately this project now looks completely dead. I assume that it was left without maintenance cause its main focus was Google Play Music and now Google Play Music is closed.

Yeah, seems that way

yeah also looks like google chrome starts thinking that lts unsafe


Is there an update to allow graphics?

Hello,
I have been using your great library with lot of success.
Nevertheless i would like to add graphics too.
And saw you had that in the todo list.
Do you plan to update the library?
Thx,
Franck

Thx, i will try when it will have the printer back ! :+1:


fix: bump dependencies

fixes
ImportError: cannot import name 'Document' from 'llama_index.core' (unknown location)

My issue seemed to get fixed when I removed my virtualenv and rebuilt from scratch

I've been getting this as well, unclear if it should be escalated to an issue.


Added Lecture 02: TDD

In Slides/ and Examples/     Comments?

Suggest updating names of instructors

instructor names updated.

Looks great! I fixed a few typos on the slides. The example has a stale README.md from an old async activity - is there anything else besides what's on slide 26 that should go into that README?

readme file talk about async stuff which isn't covered till later. We should update the readme file.

You might need to add link to activity starter code?

Who is the "you" directed at? I'm not sure how we settled on distributing the link to the starter code

I guess it would be @mwand {but if you are helping setup the resources for the first time, then it could be you @jon-bell :) }. I guess we should first discuss/update/finalize the activity starter code and instructions ....

is there anything else besides what's on slide 26 that should go into that README?

readme file talk about async stuff which isn't covered till later. We should update the readme file.

What readme file are we talking about here?  The README in the zip for the activity (at Activities/Lesson 04*.zip) seems fine to me-- it's a tiny update from Jon's version from S21 or thereabouts.

The learning objective in readme.md file that I found in tdd-transcipt-activity.zip under the most recent commit of "lecture2-tdd" branch is not the most recent one. It still talks abour async stuff

did u move the wrong one?

that is entirely possible.   Did somebody rewrite the README, and if so,
where is it? :(
On Mon, Sep 5, 2022 at 5:34 PM Adeel A. Bhutta @.***>
wrote:

did u move the wrong one?
—
Reply to this email directly, view it on GitHub
https://github.com/neu-se/CS4530-Fall-2022/pull/5#issuecomment-1237471630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR3CMBCBPQUEYBLMAXWHSTV4ZRP5ANCNFSM6AAAAAAQATNUME
.
You are receiving this because you were mentioned.Message ID:
@.***>


TurboSrcID and Github Name isn't populated in extension config on tsrc-dev init.

If you're launching to connect to the router, those values have to be manually populated in the config.devOnline.json, breaking our promise for seamless launching.

Resolved with 2b7fb56


Next 6 styled-jsx not working when extending stateful component

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
App should automatically reload with new CSS changes.
Current Behavior
When making CSS changes, the app throws an error:
Error: StyleSheetRegistry: styleId: `jsx-215943140` not found.
A page refresh clears the error and loads the app correctly.
Steps to Reproduce (for bugs)

Install next@canary
Create a new React.Component in pages/index.js
Add some
Open the app and make some CSS changes

Show code example
import React, { Component } from 'react'

export default class Index extends Component {
  render() {
    return (

next@canary

    )
  }
}

Initially I thought it was an issue with my .babelrc config (as I was using PostCSS plugins) but I eliminated those and was still experiencing the issue.
If I change the stateful component to a stateless component it works as expected.
I created a sample repository here to allow replication of the issue. This issue could be related to #4265 but there might be some differentation.
Context
The issue primarily affects the developer experience. It is managable but irritating.
Your Environment

Tech
Version

next
6.0.1-canary.1

node
8.9.0

OS
macOS 10.13.4

browser
Chrome 66.0.3359.139

Will be fixed when https://github.com/gaearon/react-hot-loader/pull/968 is merged. Took a while to figure out what was happening.

Fantastic! Thanks, @timneutkens 🙌


Build failure: bind: 9.18.21 -> 9.18.24 #288662

Steps To Reproduce
Steps to reproduce the behavior:

build with inputs.nixpkgs.url = "github:nixos/nixpkgs/619cb8eb5337d0c7e870cec92817d761f2355b04"

Build log
building '/nix/store/xr2di9nf0n5n09w3x360bhcp7lmjp9yi-bind-9.18.24.drv'...
error: builder for '/nix/store/xr2di9nf0n5n09w3x360bhcp7lmjp9yi-bind-9.18.24.drv' failed with exit code 2;
       last 10 log lines:
       > ============================================================================
       > make[4]: *** [Makefile:1299: test-suite.log] Error 1
       > make[4]: Leaving directory '/build/bind-9.18.24/tests/isc'
       > make[3]: *** [Makefile:1407: check-TESTS] Error 2
       > make[3]: Leaving directory '/build/bind-9.18.24/tests/isc'
       > make[2]: *** [Makefile:1697: check-am] Error 2
       > make[2]: Leaving directory '/build/bind-9.18.24/tests/isc'
       > make[1]: *** [Makefile:518: unit-recursive] Error 1
       > make[1]: Leaving directory '/build/bind-9.18.24/tests'
       > make: *** [Makefile:625: unit-recursive] Error 1
       For full logs, run 'nix log /nix/store/xr2di9nf0n5n09w3x360bhcp7lmjp9yi-bind-9.18.24.drv'.

netmgr/tcpdns.c:277: REQUIRE(((mgr) != ((void *)0) && ((const isc__magic_t *)(mgr))->magic == ((('N') << 24 | ('E') << 16 | ('T') << 8 | ('M'))))) failed, back trace
/build/bind-9.18.24/lib/isc/.libs/libisc-9.18.24.so(+0x3cba0)[0x7ffff7f65ba0]
/build/bind-9.18.24/lib/isc/.libs/libisc-9.18.24.so(isc_assertion_failed+0xa)[0x7ffff7f65afa]
/build/bind-9.18.24/lib/isc/.libs/libisc-9.18.24.so(isc_nm_tcpdnsconnect+0x451)[0x7ffff7f5b2d1]
/build/bind-9.18.24/tests/isc/.libs/lt-netmgr_test[0x40a979]
/build/bind-9.18.24/tests/isc/.libs/lt-netmgr_test[0x407e24]
/build/bind-9.18.24/lib/isc/.libs/libisc-9.18.24.so(isc__trampoline_run+0x15)[0x7ffff7f8cd15]
/nix/store/cyrrf49i2hm1w7vn2j945ic3rrzgxbqs-glibc-2.38-44/lib/libc.so.6(+0x8b383)[0x7ffff76a2383]
/nix/store/cyrrf49i2hm1w7vn2j945ic3rrzgxbqs-glibc-2.38-44/lib/libc.so.6(+0x10e00c)[0x7ffff772500c]
netmgr/tcpdns.c:277: REQUIRE(((mgr) != ((void *)0) && ((const isc__magic_t *)(mgr))->magic == ((('N') << 24 | ('E') << 16 | ('T') << 8 | ('M'))))) failed, back trace
/build/bind-9.18.24/lib/isc/.libs/libisc-9.18.24.so(+0x3cba0)[0x7ffff7f65ba0]
/build/bind-9.18.24/lib/isc/.libs/libisc-9.18.24.so(isc_assertion_failed+0xa)[0x7ffff7f65afa]
/build/bind-9.18.24/lib/isc/.libs/libisc-9.18.24.so(isc_nm_tcpdnsconnect+0x451)[0x7ffff7f5b2d1]
FAIL netmgr_test (exit status: 134)

Additional context
Notify maintainers
@risicle @LeSuisse
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
spiage@nixos:~$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.5, NixOS, 24.05 (Uakari), 24.05.20240217.f896ce7`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `""`
 - nixpkgs: `/nix/store/8cnc9205rmc6qxgfr6xxdsv11fn36v65-source`

@risicle I can give all needed info and have time to test

Was the version of this prior to this merge (896ce73af919e29890120865a4222b2630f3126) buildable on your machine (if you force it to actually build via e.g. --check)?

Prior to the commit with bind update is f896ce73af919e29890120865a4222b2630f3126 in master branch, and my system now switched into it
host os: Linux 6.7.5, NixOS, 24.05 (Uakari), 24.05.20240217.f896ce7
and I cant find 896ce73af919e29890120865a4222b2630f3126 (and prior), can you help me?
[root@nixos:/etc/nixos]# nix flake update && nixos-rebuild -v --check --keep-going switch --flake .
error:
       … while updating the lock file of flake 'path:/etc/nixos?lastModified=1708194493&narHash=sha256-cdQdEzTWQVUd8VKpvGoTHuwLjHFeXNwocw3r9FfZh9o%3D'

       … while updating the flake input 'nixpkgs'

       … while fetching the input 'github:nixos/nixpkgs/896ce73af919e29890120865a4222b2630f3126'

       error: unable to download 'https://api.github.com/repos/nixos/nixpkgs/commits/896ce73af919e29890120865a4222b2630f3126': HTTP error 422

       response body:

       {
         "message": "No commit found for SHA: 896ce73af919e29890120865a4222b2630f3126",
         "documentation_url": "https://docs.github.com/rest/commits/commits#get-a-commit"
       }

Ugh, I missed the leading f when I copy-pasted it - I did indeed mean f896ce73af919e29890120865a4222b2630f3126.

FYI, I have received bind from hydra )
copying path '/nix/store/whx707chf7h17k7s7ddpq3cmhsqjhmgn-bind-9.18.24' from 'https://cache.nixos.org'...

Yes I expected you to, but the idea of this issue is to investigate it not building on your machine, hence the --check flag.

I can't find build directory in /tmp, I think it was cleaned
Do you need 'tests/isc/test-suite.log' file for upstream?
I can not create shell.nix to build 'bind' by myself right now, but I can spend some time to learn 'nix pills' (finally)
Or can you write this code for me to let me make this tests with my hardware?
=)
============================================================================
Testsuite summary for BIND 9.18.24
============================================================================
# TOTAL: 32
# PASS:  31
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/isc/test-suite.log
Please report to https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug
============================================================================
make[4]: *** [Makefile:1299: test-suite.log] Error 1
make[4]: Leaving directory '/build/bind-9.18.24/tests/isc'
make[3]: *** [Makefile:1407: check-TESTS] Error 2
make[3]: Leaving directory '/build/bind-9.18.24/tests/isc'
make[2]: *** [Makefile:1697: check-am] Error 2
make[2]: Leaving directory '/build/bind-9.18.24/tests/isc'
make[1]: *** [Makefile:518: unit-recursive] Error 1
make[1]: Leaving directory '/build/bind-9.18.24/tests'
make: *** [Makefile:625: unit-recursive] Error 1

Ok if you're going to use the flake syntax the command you'll want to try is nix build github:nixos/nixpkgs/f896ce73af919e29890120865a4222b2630f3126#bind --rebuild

I'll use --keep-failed in my infinite update script for the future...
while true
do
cd /etc/nixos/ && nix flake update && nixos-rebuild -v --keep-going --keep-failed switch --flake . && nix profile diff-closures --profile /nix/var/nix/profiles/system && nvd diff /run/booted-system /run/current-system
date
sleep 600
done

no errors
spiage@nixos:~/bind$ nix build github:nixos/nixpkgs/f896ce73af919e29890120865a4222b2630f3126#bind --rebuild
spiage@nixos:~/bind$

If you need I can switch back to f896ce, nix-collect-garbage -d, and try to switch to 619cb8e

oh, it will use hydra....

Looks like your original failure was just a flaky test.

this happened 3-4 times before I noticed

It seems it is not the first time this test fails, see https://lists.isc.org/pipermail/bind-users/2022-August/106608.html and https://gitlab.isc.org/isc-projects/bind9/-/issues/2398
Not sure if there is something we can do about it.

Sure, I have googled it - the same issues are for years


Create appointment by phone API

Branch create-appointment-by-phone#21
Requirement

Only Administrator (Manager & Shop onwer)
Create Appointment
Describe appointment data structure

API description

URL: /api/v1/appointment/createbyphone
Method: POST
Body

{
    customer_phone: string, require
    customer_name: string, require
    salon_id: string, require
    note: string, optional,
    services: require
        [{
            service_id: string,
            employee_id: string,
            start: SalonTime,
        },...],
}

SalonTime:{
     day: number,
     month: number,
     year: number,
     hour: number,
     min: number
}

Return

{
     appointment_id: string
}

Testing
link: https://github.com/thanhtruong0315/salon-cloud/wiki/Appointment-Management#create-appointment-by-phone

[x] Design Unit Test @hapvh 10/17/2016
[x] Validation 10/19/2016
[x] check return data10/20/2016
[ ] Review Unit test10/20/2016

Implement

[ ] Validation

[x] validate employee_id
[x] validate service_id
[ ] validate SalonTime

[x] Get Customer Id 10/21/2016

[x] Create new account with auto generation password (DONE #18 )
[x] Find customer from phone number

[ ] Receipt Id 10/22/2016

[x] Design receipt module 10/21/2016
[ ] Create receipt document 10/22/2016
[x] Update appointment module

[ ] Create appointment document 10/23/2016

[x] Normalize data 10/23/2016
[ ] Create Receipt with Array Appointment

[ ] Create API 10/24/2016
[ ] Check available time 10/25/2016

[ ] Flowchart
[ ] Implement

[x] Get Employee List
[ ] Get appointment by day
[x] Get salon flexible setting
[ ] Implement Observer for Appointment

[ ] Pass Unit Test 10/26/2016
[ ] Review code 10/27/2016

Create new issue in the next sprint


ja: Make docs/concepts/workloads/pods/_index.md follow v1.19 of the original text

This is a Feature Request

What would you like to be added
Update docs/concepts/workloads/pods/_index.md to follow v1.19 of the original (English) text.
Why is this needed
content/ja/docs/concepts/workloads/pods/_index.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/tree/dev-1.19-ja.1/content/ja/docs/concepts/workloads/pods/_index.md
Original
https://github.com/kubernetes/website/tree/release-1.19/content/en/docs/concepts/workloads/pods/_index.md
diff between translated and v1.19
https://gist.github.com/995a155ef0ec032a59728a84ead29ee6
Note
Currently, we use dev-1.19-ja.1 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

/triage accepted

/assign

/assign

/close


Update Sphinx to 1.6.5

.. by updating sphinx-gradle-plugin to 1.0.6

Self-merging since it's very trivial.


Unhandled exceptions in isolates does not terminate the VM

The tests
  isolate/isolate2_negative_test.dart
  isolate/isolate3_negative_test.dart
expect the VM to terminate when there is an unhandled exception in an isolate.
Might be releatd to issue #3734.

This looks stale. The tests named above don't appear to exist anymore.

This is still an issue.
The problem is pretty much, that errors in other isolates are completely ignored.
See for example:
import 'dart:isolate';
import 'dart:async';

foo(x) {
  print("throwing");
  throw "in other isolate";
}

main() {
  Isolate.spawn(foo, null);
  new Timer.periodic(const Duration(seconds: 1), (_) { print("tick"); });
}

Silently ignoring is the worst of all options. We should come up with a better way to deal with it.
@zanderso, @a-siva : I suggest working together with us (mostly with @lrhn and me, since we designed most of the isolate library), to improve the situation.

@floitschG Could you give this issue a better title? As stated, I think the VM is working as intended. Thanks.

Fair enough. I will close this one.
Let's meet for my example anyway (probably there is already a bug for that one too).


Implement sounds using legion

We'll action this later on. Really, the proper way to do this is with oddio and that's going to take a bit of research to implement.


Build error after reinstalling Docker

Hello! Can you tell me what the error is and how to fix it? The code used to work, I didn't change anything. Docker crashed in my Windows, I restored Docker. And now this error appears during assembly
/shared_dir/Plate/controllers/InSomnia_Files_Manager.cc: In member function ‘void InSomnia::Files_Manager::upload(const HttpRequestPtr&, CALL_BACK&&) const’:
/shared_dir/Plate/controllers/InSomnia_Files_Manager.cc:21:88: error: invalid initialization of reference of type ‘const std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&’ from expression of type ‘drogon::SafeStringMap<std::__cxx11::basic_string<char> >’ {aka ‘const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, drogon::utils::internal::SafeStringHash, std::equal_to<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > > >’}
   21 |     const std::map<std::string, std::string> &parameters    = file_upload.getParameters();
      |                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~^~
make[2]: *** [CMakeFiles/Plate.dir/build.make:104: CMakeFiles/Plate.dir/controllers/InSomnia_Files_Manager.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/Plate.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Thank you in advance for your help!

const SafeStringMap<std::string> &getParameters() const;
SafeStringMapstd::string what is it extends to?

The type of the map has been changed in one of the recent commits to unordered_map, and it uses a custom hash on top of that.
I believe it is now typed drogon::utils::SafeStringMap, or to be safe, you can use auto.

Thanks for the answer! And I wrote it that way and it works fine. Do you have Namespace Utils in inline?
drogon::SafeStringMap

I don't know what you mean, but I forgot to also let you know it should be const auto& to make sure it doesn't copy the entire map.
Can you elaborate further on what you mean?

You say to use
drogon::utils::SafeStringMap
However, I have a successful build like this
drogon::SafeStringMap
What could be the explanation for this?

I looked at the inside of the library. The Safe String Map is located in the drogon namespace, without namespace utils

Yeah it probably resides in the drogon namespace, I was unsure whether it's in drogon::utils or somewhere else.
I'll close this issue as solved.


Kubernetes cannot apply NetworkPolicy on RHEL8 due to different source IP behavior

Hi guys,
I have a pretty simple test setup on two pretty much identical Kubernetes 1.21.4 clusters; one Ubuntu 20.04 and one RHEL 8.5. I have two Pods, a webserver on node001 on port 18081, and a webserver-client on node002 that periodically tries to wget that webserver. This works. So Kubernetes + Calico in principle seems to work fine for both clusters.
Then, I introduce a NetworkPolicy that explicitly allows traffic to port 18081 based on Pod labels (YAML after this paragraph). This should prevent any other Pods that do not match the criteria of labels in the policy to be blocked. This works correctly on Ubuntu 20.04, but not on RHEL (tested 8.4 and 8.5). On RHEL it actually results in no traffic being allowed at all to this Pod, even if it has matching labels.
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: webserver-allow-port-18081
spec:
  podSelector:
    matchLabels:
      app: webserver
  ingress:
  - ports:
    - port: 18081
    from:
    - podSelector:
        matchLabels:
          app: webserver-client

Calico is configured identically on both my Ubuntu and RHEL test setups. Some difference that I see with tcpdump that might be relevant is: On RHEL the packets arrive on the destination host (node001) with the IP calico uses for the sending node (node002) as the IPIP tunnel (projectcalico.org/IPv4IPIPTunnelAddr, which is <IP_ADDRESS>).
Where on Ubuntu it seems that already at the sending node (node002) the Source IP is replaced with the Pod IP instead (<IP_ADDRESS>) before sending packets. So the source IP won't be that of the IPIP tunnel (which is <IP_ADDRESS> on the Ubuntu setup). I'll include the tcpdump output and other info below.
The working Ubuntu 20.04 (kernel version 5.4.0-73-generic) setup
root@node002:~# ip addr show dev tunl0
8: tunl0@NONE: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
    inet <IP_ADDRESS>/32 scope global tunl0
       valid_lft forever preferred_lft forever

root@node002:~# tcpdump -i tunl0 port 18081
11:54:07.687249 IP <IP_ADDRESS>.58308 > <IP_ADDRESS>.18081: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,sackOK,TS val 706166123 ecr 0,nop,wscale 7], length 0
11:54:07.688276 IP <IP_ADDRESS>.18081 > <IP_ADDRESS>.58308: Flags [S.], seq 372371080, ack<PHONE_NUMBER>, win 64260, options [mss 1440,sackOK,TS val<PHONE_NUMBER> ecr 706166123,nop,wscale 7], length 0

root@node001:~# tcpdump -i tunl0 port 18081
11:54:07.687821 IP <IP_ADDRESS>.58308 > <IP_ADDRESS>.18081: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,sackOK,TS val 706166123 ecr 0,nop,wscale 7], length 0
11:54:07.688100 IP <IP_ADDRESS>.18081 > <IP_ADDRESS>.58308: Flags [S.], seq 372371080, ack<PHONE_NUMBER>, win 64260, options [mss 1440,sackOK,TS val<PHONE_NUMBER> ecr 706166123,nop,wscale 7], length 0

In summary: I see the Pod IP here as the source IP.
The broken RHEL 8.5 (kernel version 4.18.0-372.9.1.el8.x86_64) setup
[root@node002 ~]# ip addr show dev tunl0
3: tunl0@NONE: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
    inet <IP_ADDRESS>/32 scope global tunl0
       valid_lft forever preferred_lft forever

[root@node002 ~]# tcpdump -i tunl0 port 18081
listening on tunl0, link-type RAW (Raw IP), capture size 262144 bytes
11:52:11.555868 IP <IP_ADDRESS>.55032 > <IP_ADDRESS>.18081: Flags [S], seq 777305220, win 28200, options [mss 1410,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0

[root@node001 ~]# tcpdump -i tunl0 port 18081
listening on tunl0, link-type RAW (Raw IP), capture size 262144 bytes
11:52:11.556545 IP <IP_ADDRESS>.55032 > <IP_ADDRESS>.18081: Flags [S], seq 777305220, win 28200, options [mss 1410,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0

In summary: I see the tunl0 IPv4IPIPTunnelAddr here as the source IP.
Expected Behavior
The receiving node should be able to get the Source Pod IP from the packet somehow, so that it can lookup which Pod the traffic is coming from, and with that check if the labels from the NetworkPolicy match with the Pod labels and based on that allow or reject the traffic.
Current Behavior
My analysis of the current behavior can be wrong, since I don't know if I fully understand it. I captured pcap files and tried to analyse them in wireshark: pcaps.tar.gz. From this I got the impression, and I can very well be wrong, that the Pod IP is not embedded in the packet (which is how I assumed IPIP worked) for neither Ubuntu and RHEL, but simply the Pod IP is already put there before it's being sent in the case of Ubuntu.
Possible Solution
I hope by making this tickets I can get some guidance on where to look further.
Your Environment

Calico version v3.23.1
Orchestrator version Kubernetes 1.21.4
Operating System and version: Red Hat Enterprise Linux release 8.4 (Ootpa)
OS Kernel: 4.18.0-305.el8.x86_64

One notable difference between the Ubuntu (working) setup and this RHEL8 environment is that RHEL8 uses nftables instead of iptables.

@rayburgemeestre you're correct in that you should expect to see the original pod IP address show up in the un-encapsulated packet on the destination node.
The fact that you're seeing the source node's tunnel IP seems to suggest that perhaps there is an extra MASQUERADE or SNAT that is occurring on the source node which is hiding the original source IP.
One thing you could do is, while running traffic from the pod in question, monitor the following in iptables on the source node:
sudo watch iptables-save -c | grep MASQ

and
sudo watch iptables-save -c | grep SNAT

^ This will give you counters to see if there are any iptables rules performing MASQ or SNAT that are incrementing.

Thanks Casey, for the pointers. It was nice to know I was on the right track and it helped me find the culprit! And sorry it was unrelated to calico in the end.
Turns out we were using an extra MASQUERADE rule in our kubelet services file that was placed there as a fix a long time ago in order to "allow networking from the container to the host network".
ExecStartPre=/sbin/iptables -P FORWARD ACCEPT
ExecStartPre=/sbin/iptables -t nat -A POSTROUTING -m addrtype ! --dst-type local ! -d <IP_ADDRESS>/16 -j MASQUERADE

I can't fully recall how we came to this rule, but in hindsight I believe this wouldn't have been necessary if we had disabled the --masquerade-all flag for the kube-proxy (also running as a service).
If I disable that flag on kube-proxy I can get rid of those iptables additions, and networking works correctly!
Just in case others that land on this ticket may find this related comment useful: In the meantime (before I solved this issue) I tried running calico in eBPF mode. It worked around this problem (of the erroneous MASQ rule)
I needed a pretty recent calico version (3.20.1 didn't work, so I updated to v3.23.1).
calicoctl patch felixconfiguration default --patch='{"spec": {"bpfKubeProxyIptablesCleanupEnabled": false}}'
calicoctl patch felixconfiguration default --patch='{"spec": {"bpfEnabled": true}}'

This was about a bare-metal cluster, in my case I had to keep kube-proxy running, which is why I also patched bpfKubeProxyIptablesCleanupEnabled to false. My plan is to investigate why I couldn't turn off kube-proxy fully, but at the time of writing I haven't figured that out yet.


Compatibility problems with some file names

Steps to reproduce
Compatibility problems with some file names

filename: '1V:0Lz0FEp]x)650x1am{r7$LOewq ~{6#+ #EOdfyjT;HJ>_<'''Ua9F7Ah.{N1B4XEw#'''[_C^6T3W^F&jE20)dU?LT&Q{dGwh~6E|&ZvA|ZwTx['''V,\6XFSKh2bf-haf|L|DPg5-!!h5C dYpXhA~@KpvbOX0;STkFYA4F-m%@ IbU8ZS:bs.J-{"U.py'

Expected behaviour
save file and save undofile
Version of Vim
8.2.4919
Environment
OS: Ubuntu 22.04
Shell: Bash-5.1.16
Logs and stack traces
E828: 无法打开并写入撤销文件：/home/lrne/.vim/.undodir/%home%lrne%桌%File%Project%VimScript%MyVimConfig%vimscript%1V:0Lz0FEp]x)650x1am{r7$LOewq ~{6`#+#E`OdfyjT;HJ>_<'Ua9F7Ah.{N1B4XEw#'[_C^6T3W^F&jE20)dU?LT&Q{dGwh~6E|&ZvA|ZwT*x['V,\\6XFSKh2bf-ha*f|L|DPg5-!!h5CdYpXhA~@KpvbOX0;STkFYA4F-m%@ IbU8ZS:bs.J-{"U.py

The filename shown in github is messed up because it's interpreted as markdown.  Please give the shell command you use to open this file, or the edit command in Vim, literally (using three backticks).
You may also want to upgrade to a more recent version of Vim and try again.  8.2.4919 is quite old.

The filename shown in github is messed up because it's interpreted as markdown. Please give the shell command you use to open this file, or the edit command in Vim, literally (using three backticks).
You may also want to upgrade to a more recent version of Vim and try again. 8.2.4919 is quite old.

ok


Cannot activate continuous calculations

What happened?
Just installed the latest version to try out the continous calculation option but it returns a 400 error if I try to activate it.
Also wondering if this feature is intended to work:

if all variables except for the Evapotranspiration come from sensors
Total precipitation to be set on last/max for this feature also? Or do we need to include the actual rain rate instead of the sum per hour/day/week/year which all are provided by weather stations from ecowitt for example.

How to reproduce
NTR
Relevant log output
No response
Which version are you running?
v2024.7.5 (config integrations shows v2024.6.1 below the logo)
Diagnostics file

[X] I have attached a diagnostics file

Additional information
No response

It should work for you if you have just sensors as sources for everything except et if using pyeto or static module. Heck, the sensors could even come from an api for all we know. You just can't use a weatherservice you configured through this integration though.
Thanks for trying it out and providing the report this is really helpful to get this working properly!

Oh... I am not seeing this and maybe this is just a browser cache issue since you're also seeing the old version number. Try clearing your browser cache and trying again please?

I restarted HASS just once more and now the error is gone! Deleting all history/browser cache on both safari and chrome gave no luck.
Thanks for the fast response! Keen to see how the update works. What about the sensor requirements though? Will continuous work if all variables except for the Evapotranspiration come from sensors?
And do we need to change the variable "Total precipitation" to the average of the actual rain rate sensor instead of the last/max of the rain rate per day sensor?

Should work if you have sensors for everything except et as long as you're using pyeto or static module. If you have et sensor then it should work regardless because you will be doing a simple Passthrough. We need to figure out many things with this and I think you're right, you'd set it to the actual rain rate sensor not the rate per day. That and there solar radiation sensor needs to be processed differently.

I have added a discussion and will point others to that as well. https://github.com/jeroenterheerdt/HAsmartirrigation/discussions/437

Just posting my findings here.
The version number and front end of this plugin was still the old version in the IOS APP. In order to fix that do the following: Settings>Companion App>debugging>reset frontend cache
Continuous calculation findings so far:

Did not yet change the total rain sensor from total rain rate per day to actual rain rate but the the trend of the bucket is looking ok to be honest. Forgot to enable debug but will post some screenshots later on of the data.
it seems that we have to unable the automatic weather updates and bucket calculation when continuous calculation has been enabled because the bucket size increased to the amount of a full day with only rain (welcome to the Dutch summer) at exactly the calculation time. Seems logic

The second thing you mention is a good point for sure, that sounds like an oversight on my part. I think we should skip pure sensor sensor groups when continuous updates are on. Then you can still use scheduled updates for when you have a mixed sensor group or senor groups from weather services. Then you shouldnt have to disable the automatic scheduled updates.

More continuous calculation findings:

Enabled debug mode > file size after 3 days +5GB
Updated calculations seemed to stop updating the irrigation bucket size around the time picker shown in the screenshot below. In the second screenshot it seems that there are no values posted for the bucket size at all but we have to check the debug file for this I guess. No time for this yet
The trend seems to react on the rain as seen in the third screenshot but we have to calculate the bucket size with the raw data to confirm if it is correct or not though. No time yet to check the formula and run it in some Python script

Attached 2 snippets of the debug file and a screenshot of the data for the debug selection 2

debug_selection_1.log
debug_selection_2.log


Fixed roles cache TTL

coverage: 79.76% (-0.03%) from 79.792%
when pulling 50dc5241ebb52be563ce83c509dcb67d786feeef on dissoupov
into 9bfda38b5107e17247f828a7f8099a1167f89bdc on main.


Audio-to-MIDI mode for non-MIDI sources

Especially when you don't have a component (foo_midi) to play MIDI files or MIDI files themselves to play with in the first place, I would appreciate if this component can use audio-to-MIDI algorithm in real-time to visualize it anyway with reduced accuracy since none of audio-to-MIDI conversion algorithms are perfect and the accuracy of the piano visualization depends on audio sources

It would need a driver to determine the notes from the sample data (like Pianolyzer) that can piggy-back on existing audio decoders.  It does not understand samples or audio formats.


Implement replay

https://viablesystems.atlassian.net/browse/TE-516
This adds the subcommand replay to light-node with 3 new arguments --from-block, --to-block and --target-path.
Usage example:
cargo run --bin light-node replay --target-path=/tmp/replay --config-file ./light_node/etc/tezedge/tezedge.config --network=edo2net --to-block BMf2TQSuyJrsE7JQjEBj1ztfspoVaFChEmVg6DsUYHxinsEVEeW --one-context

Note that --from-block will not work until the tezedge context supports persistent storage

@sebastiencs
please rebase to actual develop

The base branch is protocol-runner-storage I am rebasing that one now.

Just pushed the rebased version of protocol-runner-storage with an updated libtezos-ffi-distribution-summary.json too (which fixes the timings issue).

@bkontur Branch rebased

@sebastiencs after many failed experiments, and based on what I see here: http://ci.tezedge.com/tezedge/tezedge/326/4/1
+ ${BUILD_ARTIFACTS_PATH}/build_files/light-node replay --target-path=/tmp/replay --config-file "${BUILD_ARTIFACTS_PATH}/build_files/tezedge/tezedge_drone.config" --network=mainnet --to-block BLiunc6vajjnatP89AeJawjrScDpfes63FjfjBVemH3q3X2p85q --fail-above 1000 --one-context --tezos-data-dir=/tmp/tezedge_developer/data --identity-file "${BUILD_ARTIFACTS_PATH}/build_files/identities/identity_6.json" --protocol-runner "${BUILD_ARTIFACTS_PATH}/build_files/protocol-runner"
42s
	error: Invalid value for '--protocol-runner <PATH>': Tezos protocol runner executable not found at './target/release/protocol-runner'

I think the issue is that the config file flags are overriding the flag being passed to the replay subcommand, because it is not picking up the value I am passing to it and instead using the value from the config file.
I give up for now, becasue I am not sure about what to try. My last attempt is here https://github.com/tezedge/tezedge/commit/e7fefac53ef532cd435c1bfd2f138733f27beac1
If after fixing the arg parsing issue it still doesn't work please ping @adonagy and @bkontur who may be able to help you with the drone stuff (I am not very familiar with all the drone stuff so I may be missing something obvious).


vstext.console Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>

Description

I am trying to use vstext.console to run project test on linux. I downloaded the nuget package microsoft.testplatform.portable.17.5.0.nupkg, unzip it and run ./vstest.console.dll on my wsl on windows:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Steps to reproduce

./vstest.console.dll
or
./vstest.console.dll mytest.dll
Expected behavior

It should run vstest just like run dotnet test mytest.dll
Microsoft (R) Test Execution Command Line Tool Version 17.3.1 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Logging Vstest Diagnostics in file: /path/to/log.txt
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:     1, Skipped:     0, Total:     1, Duration: 24 ms

Actual behavior

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Diagnostic logs

Microsoft (R) Test Execution Command Line Tool Version 17.3.1 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Logging Vstest Diagnostics in file: /path/to/log.txt
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:     1, Skipped:     0, Total:     1, Duration: 48 ms

Environment

WSL ubuntu,
microsoft.testplatform.portable.17.5.0.nupkg tools/netcoreapp3.1

https://github.com/microsoft/vstest/blob/040f4eb8ecc1e21833f62e4b8172474e0397e272/src/vstest.console/vstest.console.csproj#L30-L33
Not sure, but is this missing for netcoreapp3.1?

Hi @Cugtyt,
You are mentionning that you are using v17.5 of the package but the log is showing 17.3.1 (Microsoft (R) Test Execution Command Line Tool Version 17.3.1 (x64)). Are you sure you are running the correct vstest.console?

Hi @Evangelink , the vstest.console never run successful from my side, the Microsoft (R) Test Execution Command Line Tool Version 17.3.1 (x64) is the dotnet test command result for expected result, it is not vstest.console output, it is expected behavior, not actual behavior

I confirm that I can repro the issue on Linux using this package.
Out of curiosity, is there anything preventing you to be using dotnet test? We are not aware of many people using this package.

The case is we need to run vstest inside the dotnet runtime container in the service pod, in which the dotnet cmd is not avaiable. I don't know if there are other ways to run the test dll

Executing .dll directly in WSL will make it fallback to the underlying Windows, just like when you run Calc.exe, it will start Windows calculator. Vstest.console is not able to handle that scenario, and will crash, and the output will be directed back to your WSL console, so it seems like you are running in linux but you are not.
This is from Windows point of view (via procexp):

To correctly run vstest.console you need to run it via dotnet command, because we don't ship an executable. So prefix your vstes.console.dll with dotnet or dotnet exec.
In a containter you cannot vstest.console run without dotnet runtime.


Editing Forum Post to nothing results in error

I couldn't figure out how to add the 'testing party' or 'bug' label ! apologies
Steps to Reproduce:

Make a forum post
Click the edit post button
Remove all text
Save Post

Expected Behavior:

Either a user friendly error message that you cannot delete all text of a comment, or redirect to deletion process if you delete all text

Screenshots:

nice catch @maxgrove42! to make our lives easier, i'll probably add some client side validation for this haha


docs: Add Gunosy Inc. to who-uses-tfaction

Hi, I'm @johnmanjiro13 from Gunosy Inc..
First, Thank you for your product. It's really useful for us on a daily basis.
We use tfaction in almost all of products, and we are attracted by the affinity with GitHub Actions and the safety by Terraform Plan file.
We would be happy to add our company name to the list!

Thank you for your contribution!


would it be possible to add server-client arch by adding full screen chrome as presentation layer?

I think it would be interesting having html5 as presentation layer and OS access by connecting to local-host the node server, that way you could use a simple browser to remote access your nodejs OS computer.

I think the masses would be glad to see noGUI. Closing as this is inprogress in another thread.


Provide a streaming API

Without much effort, we could support streaming processing without materializing JSON documents  objects as  in-memory tapes.

+1, would be very helpful for improving speed when creating custom objects from json

I'd be happy to contribute to this. What would be the best way to do it? For example, it could use templating with write_tape to decide if it should write to a tape (DOM) or call a callback function (streaming)?

I think it would involve making it so that our stage 2 calls custom functions instead of the ones that build the tape. It probably won't work "as is". I think that the easiest thing would be to make "practical" for people to build their own custom stage 2.

Hmm, I think the checkin we just made gets us pretty close to this. We should make up a json SAX-like interface on top of it now!
... if we do provide this interface, it'd be nice if the user had the choice whether to parse numbers and strings, or not ... or even to use their own routines to do so. We could expose a parse_string and parse_number or a callback to make it easy for those who just want it parsed for them.

It would give them the option of being even more restrictive about the JSON--requiring integers only for a field, for example, and eschewing any actual float processing.

We should make up a json SAX-like interface on top of it now!

Yes!!! I'm eager to write benchmarks... :-)

... if we do provide this interface, it'd be nice if the user had the choice whether to parse numbers and strings, or not ... or even to use their own routines to do so. We could expose a parse_string and parse_number or a callback to make it easy for those who just want it parsed for them.

That sounds like a good idea actually... If it can be done with templates and a zero cost...

Another design point: sax apis absolutely force branches because they call different functions for different things. A branch free friendly API that passes you a uniform object for everything and lets you decide if you wanted to branch based on the type of object encountered, might significantly improve performance for at least some users. Like, if they want to ignore all numbers and booleans because their file doesn't have them, they can assume all values are strings and use an error mask for anomalies.

Like it passes you an object with an enum telling you the type of thing encountered.

One issue here: if we provide a SAX-like callback based API, we either have to give up inlining or let the user compile their callbacks for each supported architecture. Giving up inlining of the callback APIs would be leaving a lot of performance on the floor. Letting the user create architecture-specific versions of their code is not a bad idea anyway, but it requires design--our multi-architecture compilation and selection is pretty flexible now but is limited to simdjson methods.

@jkeiser Astute observation.

@lemire I believe this is covered by on demand, but I'll let you be the judge of that.

Moved to 0.6 and closing.


environment option not working.

Which version and edition of Flyway are you using?
Flyway OSS 10.20.1
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Docker CLI 10.20.1-alpine
Which database are you using? (Type & version)
Mysql
Which operating system are you using?
Moc OS 14.6.1 (23G93)
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
I tried to run the baseline command passing -environment and also tried flyway_environment and its not using it
What did you expect to see?
that it would select the specified environment and use that config
What did you see instead?
DEBUG: Java Version: 17.0.13+11
DEBUG: Loading config file: /flyway/conf/flyway.conf
DEBUG: Unable to load config file: /root/flyway.conf
DEBUG: Unable to load config file: /flyway/flyway.conf
DEBUG: Using configuration:
DEBUG: Multiple databases found that handle url 'jdbc:mysql://docker.host.internal:3310/lion_apps_development': OceanBase,TiDB,MySQL
DEBUG: [environments.development] ->
[environments.local] ->
[environments.production] ->
baselineOnMigrate -> true
flyway.locations -> filesystem:/flyway/sql
flyway.password -> ********
flyway.user -> admin
url -> jdbc:mysql://docker.host.internal:3310/lion_apps_development
validateMigrationNaming -> true

DEBUG: Scanning for classpath resources at 'classpath:db/callback' ...
DEBUG: Determining location urls for classpath:db/callback using ClassLoader java.net.URLClassLoader@de3a06f ...
DEBUG: Unable to resolve location classpath:db/callback.
Flyway OSS Edition 10.20.1 by Redgate

See release notes here: https://rd.gt/416ObMi
ERROR: Unexpected error
org.flywaydb.core.api.FlywayException: Unable to connect to the database. Configure the url, user and password!
	at org.flywaydb.core.internal.configuration.ConfigurationValidator.validate(ConfigurationValidator.java:45)
	at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:120)
	at org.flywaydb.core.Flyway.baseline(Flyway.java:391)
	at org.flywaydb.commandline.Main.executeOperation(Main.java:287)
	at org.flywaydb.commandline.Main.executeFlyway(Main.java:204)
	at org.flywaydb.commandline.Main.main(Main.java:127)

Note it looks like it used the last environment it encountered instead of the local environment i was trying to select.
My Conf file looks like
[environments.local]
url=jdbc:mysql://lion-apps-mysql:3306/lion_apps
baselineOnMigrate=true
validateMigrationNaming=true

[environments.production]
url=jdbc:mysql://docker.host.internal:3310/lion_apps
baselineOnMigrate=true
validateMigrationNaming=true

[environments.development]
url=jdbc:mysql://docker.host.internal:3310/lion_apps_development
baselineOnMigrate=true
validateMigrationNaming=true

I'm actually using a wrapper script to execute the docker run command. That looks like
docker run --rm -v "${TOP}/flyway/sql:/flyway/sql" -v "${TOP}/flyway/conf:/flyway/conf" \
  -e FLYWAY_USER="${MASTER_USER}" -e FLYWAY_PASSWORD="${MASTER_PASS}" -e flyway_environment="${ENV}" \
  "${FLYWAY_IMAGE}" "$@"

Hi @ronald-fenner ,
From the debug log, it looks like you are using a flyway.conf file and using toml configuration format. conf file and toml file are two distinct configuration files.
If you want to use multiple environments, I think your choice shall be toml. More details could be found here https://documentation.red-gate.com/fd/toml-configuration-file-224919679.html

Ahh I was looking at an example use from another team that didn't use environments and had a .conf extension. I missed that the sample from the CLI download had a different file extension.


Generate legend on demand

This PR adds a legend (map key) to the Web application. Click the Legend button in the lower-left corner to reveal a popup illustrating each element of the map style with a description in plain (American) English. The legend’s contents are generated dynamically on demand based on the features visible in the current viewport.

The legend for the default view shows a bit of everything.
Motivation
A legend can come from anywhere.— Campy coming-of-age film
This project intentionally departs from established conventions among OSM-based maps in favor of established conventions among U.S. map publishers. While this hopefully makes the map more intuitive and approachable to Americans who grew up refolding print maps, the choices in line style and symbology can be bewildering to those who grew up refolding European maps, or those who have become accustomed to commercial online maps that split the difference between the two cartographic traditions in search of greater marketshare or platform-level versatility.
The need for a legend has grown as OSM Americana has become more well-known among the global OSM community. Most mappers are familiar with openstreetmap-carto from using it for both mapping and trip planning. Over the years, openstreetmap-carto has made many design decisions that reflect the European cartographic tradition and the unique constraints of being a default, well-rounded style for OSM globally.
Coming from that perspective to Americana, mappers may rightly wonder how to tell which road is classified higher than another, or why there appear to be restricted-access roads in unexpected places. Without firsthand experience on U.S. roads, someone from a country with a more basic route marking system would look at our menagerie of route shields and never be able to figure it out on their own.
This project reintroduces American cartographic practices to the OSM community, ensuring that the OSM database accommodates the technical needs of anyone who wishes to reproduce this approach in their own projects. The community is well aware of the need to avoid overreliance on a particular renderer’s approach, but it’s easy to develop bad habits when the results of those habits aren’t apparent. Just as importantly, the nomenclature associated with various tags also needs to be translated for a lay audience so that the community can connect tagging discussions to a realistic end user experience. A legend can be a powerful tool for reframing discourse around the question, “Which distinctions really matter?”
The Web application already integrates OpenMapSamples, but its output is more appropriate for proofing a change during the development process. Educating the end user about the style requires a UI that’s more compact and focused so that they can compare the illustrations to the actual map.
Architecture and implementation
As a form of user documentation, legends can be challenging to maintain. You need to carefully consider what to illustrate and how much detail to provide, and of course the illustrations need to visually match the map. In the past, various OSM-based renderers have attempted to somehow automate the creation of a legend: https://github.com/ZeLonewolf/openstreetmap-americana/issues/332#issuecomment-1362466431. However, these tools still require a nontrivial amount of curation, leading some legends to become outdated easily: openstreetmap/openstreetmap-website#1307.
The Americana style is still in its infancy and subject to continual change, so any legend needs to be as data-driven as possible to remain relevant and accurate. Therefore, the legend’s configuration is written in JavaScript and runs as part of building the style. The configuration is located alongside the layer definitions and directly references the various layers that constitute the style. If you change a layer and neglect to update the configuration, the application will most likely crash on launch so you won’t overlook the problem.
The configuration isn’t derived directly from the layer definitions, because there isn’t a straightforward one-to-one mapping between layers and the concepts that a user needs to know. For example, rendering each kind of railroad track requires two layers, one of which is common to all the kinds of railroad tracks. Many layers implement data-driven styling for performance and maintainability, so multiple legend entries may draw from the same set of layers. A few layers, such as one-way arrows, have been omitted from the legend, because the meaning should be eminently obvious to most users. Most bridge and tunnel variations have been omitted for brevity, except on a few features like subways and monorails that routinely traverse one of these structures.
For each feature type in the configuration, the legend picks out a representative feature that’s currently visible on the map and generates an illustration based on the associated layers’ evaluated paint and layout properties. GL JS also has the capability to pick out features from the vector tiles that have loaded but aren’t visible. However, it doesn’t evaluate the style properties for these features, so we wouldn’t be able to automatically derive an illustration. Moreover, showing all feature types from all zoom levels would result in a lengthy, chaotic legend with many contradictions because of how layers can vary by zoom level. The popup can take a second or two to appear because it synchronously queries the map for features once per entry. Initially, I combined all the entries into a single query, but there was too much crosstalk among entries that happen to share layers and it was challenging to filter the results effectively.

z0
z1
z2
z3

z4
z5
z6
z7

z8
z9
z10
z11

z12
z13
z14
z15

Most illustrations are implemented as styled HTML elements. However, line features are implemented as small embedded SVG documents because the CSS profile for HTML lacks a straightforward way to customize dashed lines. So far, I’ve only implemented the paint and layout properties that this style is using. If a future PR starts using another property, it’ll need to be implemented as part of the legend control.
In most sections, the legend descriptions are hard-coded as part of the application. Every style makes different distinctions requiring different descriptions, so we can’t source the descriptions from, say, id-tagging-schema or the OSM Wiki’s data items. The hard-coded descriptions follow American English to a fault. I tried to capture the essence of how a print map would describe a particular entry if a cartographer had arrived at a definition equivalent to the OSM tag’s actual definition by accident. The highway classifications posed a particular challenge. Print maps are all over the place, but I think the typical functional classification terminology is common enough and close enough to OSM tagging to work here.
The “Route markers” section’s descriptions are fetched dynamically from Wikidata. The first time the user opens the legend after loading the page or changing the preferred language, the legend queries Wikidata for all the items associated with OSM’s network=* tags and populates the section with these items’ labels in the user’s preferred language. The shields are grouped by country, with the country names coming from the browser.
The “Route markers” section includes any visible variants of a standard shield.
Any network value outside of a country namespace, such as GLCT for the Great Lakes Circle Tour (#569), goes into an “International” section.
Country subsections and route network descriptions are translated into the user’s preferred language to the extent possible. If no description is available, the legend falls back to the raw network value.
The legend is contained inside a standard GL JS popup. Normally a popup is tied to a map marker, but in this case, the Legend button’s location on screen is converted to a geographic location and the popup is anchored to that location. To prevent the popup from becoming visually detached from the button, changing the map camera automatically closes the popup. If we want a more persistent popup, we’d need to implement our own popup UI and style it consistently with the map’s other controls.
Alternatives considered
Many GL JS–based maps integrate the mapbox-gl-inspect or maplibre-gl-inspect plugin, which shows an individual feature’s raw properties on hover. This plugin is very useful for style development but not as meaningful to end users, who wouldn’t know what to make of raw OpenMapTiles keys and values. (They don’t straightforwardly align with OSM tags either.) Moreover, describing a particular feature doesn’t necessarily help the user figure out the distinctions that the style is making between different features. A legend gives a better lay of the land, directing the user’s attention to the elements we consider most important to the style.
GL JS is capable of taking a screenshot of the feature itself, analogous to how mapnik-legendary works. However, this results in legend entries that are too large for an in-map popup and not as easy to comprehend at a glance. We don’t really need to reproduce the representative feature’s geometry, only the styling.
This project has a nice writeup on the OSM Wiki (if I may say so myself). We could double down on documenting the style on the wiki, putting the project out there where mappers cannot but consider it in tagging discussions. We could even maintain our own wiki to explain OSM data from the perspective of this style. However, I don’t think anything so voluminous would satisfy the basic user requirement of a visual guide to the map in front of them.
Future improvements
In the future, we could generalize the legend’s support code a bit and extract it out as a plugin for Mapbox/MapLibre GL JS, as with OpenMapSamples. However, I think that should be a later step once the code stabilizes and we see how it holds up to new additions to the style.
We should make legend descriptions localizable, just like in any other user-facing application. I prototyped a rudimentary solution for localization in https://github.com/ZeLonewolf/openstreetmap-americana/pull/215#issuecomment-1060067427, but this PR introduces enough new UI strings that we’d want to shunt the translation table into a separate JSON file.
Once enough network=* tags are tagged in Wikidata to bog down the SPARQL query, we should move the query to a build step and check in the results. Running the query on demand gives mappers instant gratification as they add labels to Wikidata, but it’ll be increasingly wasteful for every user to run this query once per session.
This legend unlocks some possibilities for interactivity, such as highlighting features on the map when you hover over a legend entry. Perhaps a checkbox beside each legend entry could toggle the relevant layers on and off: #25. #76 tracks making an individual map feature clickable to reveal more information about the feature, though that would generally require more information in the vector tiles.

Fixes #75 and fixes #332 to the extent that we have any POIs to define so far.

It looks awesome!  I have no idea how any of this work but I tested it and it seems to be functioning exactly as advertised

I noticed that countries with lower-case versions of the country code don't get converted to names.  I'm thinking we should do a case conversion.

I noticed that countries with lower-case versions of the country code don't get converted to names. I'm thinking we should do a case conversion.

Fixed:

This is spectacular!
If may, I'd like to lobby mildly for left-alignment of (the rest of) the legend items. Populated places, Aviation markers, and the country headings when multiple routes are visible.
I recognize that many print-map legends have the neat row of icons down the center with a sample label to the left and the description to the right, but I respectfully assert that it's harder to read than a table with left-alignment. Eyes are trained to return to a left margin when reading or scanning and mismatched left edges detract from that.
I do genuinely think the dynamic legend is incredible. Please pardon my nitpicking.

If may, I'd like to lobby mildly for left-alignment of (the rest of) the legend items. Populated places, Aviation markers, and the country headings when multiple routes are visible.
I recognize that many print-map legends have the neat row of icons down the center with a sample label to the left and the description to the right, but I respectfully assert that it's harder to read than a table with left-alignment. Eyes are trained to return to a left margin when reading or scanning and mismatched left edges detract from that.

Thanks for pointing this out. The current placement does result in some ragged left edges. In earlier iterations of this design, I experimented with a left-aligned column, but it often made it more difficult to associate a given icon and label with a description, especially in the “Populated places” section where some labels would be a lot shorter or taller than others. (The screenshots below are from before I implemented support for the text-max-width property, which currently serves as a lower bound on the width as well, due to the vagaries of CSS table layout.)

Some legends get around this problem by adding a horizontal rule between each row or a leader line from the icon or label to the description. But those legends tend to have a lot more text or right-align the description column.
Most symbol layers’ labels aren’t that interesting for a legend. It’s only really necessary to include labels that stand on their own, independent of icons, lines, or fills – for example, countries and highway exits. However, for populated places, we’re reusing the same dot icon in multiple entries, varying only the size. The difference in label font size makes this distinction a lot clearer. The capital city entries are mainly about the icons rather than the labels, but if your viewport happens to contain only a country and a capital city, the resulting table looks really imbalanced. Once we start adding layers for POIs (#387), which tend to have much longer labels, we should probably hide nonessential labels from some the POI entries and the ones under “Aviation”.

Are there other open source maps with dynamic legends like this?  If this is a "first" let's make sure it's well advertised. I teased it in my year in review but it's worth special promotion every time we push the envelope on what open source digital maps can do.

Are we waiting for any more tweaks before merging?

No blockers, but I’ve been taking some time to clean up the code a little. That’s an open-ended task. I’ve also been trying to add some Wikidata entries for networks in different regions so that folks don’t have to start from scratch when they just want to translate the legend entries.
I had hoped to include some automated tests as part of this PR, but I’m not finding many opportunities because so much of it is tied to map data (mockable but difficult to maintain) or the DOM (not clearly worth mocking).

Do we need a guide on wikidata editing for route relation networks?  Either here or elsewhere?  Or do we see that as more of a one time task?

This project’s wiki would be a decent place for a guide. We could link to it from the FAQ, which is still incomplete. There’s a long tail of networks. I could automate the creation of stub Wikidata items for the more obscure networks’ items based on the shield definitions, but that can be tail work.

I'm just thinking we want to head off the kind of thing that I did, which was to immediately edit wikidata wrongly to add missing network information.

Are there other open source maps with dynamic legends like this?

I haven’t looked thoroughly enough to say for sure that this legend is the first of its kind. In the “Alternatives considered” section above, I pointed out some prior art that’s less interactive and some prior art that’s even more interactive (but less usefully so). This PR takes an approach befitting the maps we’re using as design inspiration, so I wouldn’t consider it a baseline expectation for every map as with route shields. Still, I think it is a usability improvement over these other approaches.

I'm just thinking we want to head off the kind of thing that I did, which was to immediately edit wikidata wrongly to add missing network information.

Once we have some documentation on the project wiki, then we can encourage folks to create new Wikidata items about networks or assign existing items to network tags. In the meantime, it’s safe enough to add translations to Wikidata items about that have already been tagged with network tags. This is already largely done for English, but speakers of other languages can still benefit from translated labels. They’ll see an English fallback until their language has its own label on Wikidata for a given network.

I’ve restored the link from each network to the respective Wikidata item (but with a more subtle color now). If Wikidata has a label in a fallback language but not your most preferred language, a little language indicator appears off to the side, just like on Wikidata.

I'm just thinking we want to head off the kind of thing that I did, which was to immediately edit wikidata wrongly to add missing network information.

The “Route markers” section gives a lot of exposure to Wikidata’s items about route networks (what it calls “highway systems”). This is good in that it’ll encourage translations that we probably wouldn’t otherwise get for a niche project. However, editing Wikidata directly requires some care, or at least some circumspection. The data model is more nuanced than OSM, but the existing data is often less nuanced due to imports from Wikipedia, ill-considered merges of items, and subsequent bots running rampant.
If a user sees a legend entry described by only the raw network value where a human-readable description should go, ideally they’d open an issue in this repository and we’d take care of setting up Wikidata for translation, by making sure there’s an appropriate item tagged with its corresponding network tag. However, it’s just as likely that they’d search Wikipedia for an article about the network, land on a list article, go to the linked Wikidata item, and change the label to say what the legend should say. That would be incorrect because the item is about a list of routes, not the network itself. This would be confusing because the rest of the item would continue to be modeled as if it’s a list.
To mitigate this confusion, I spent the last two weeks cleaning up hundreds of Wikidata items, unmerging items where necessary and adding statements about shields and number formats to clarify what each item is supposed to represent. I’ve taken care of most of the national networks and many of the regional route networks supported by this project, as well as some that are not yet supported but obviously established in OSM. There are still a lot of supported networks lacking Wikidata items at the regional and local level, but we can fill those out over time. With these edits in place, I feel a lot more confident about the user experience for contributing translations.
Along the way, I discovered that a number of shields, particularly in Europe, were implemented based on assumptions that appear to be unreliable. I’ve opened a separate issue about removing or reviewing each of these shields.

Is this a regression or a TO-DO?

The labels look fine on my end:

Please open a new issue, especially if you see anything amiss in the console.

Looks like it just takes a bit to AJAX in the label sometimes.


Fast hull

This branch implements a faster convex hull for APR operations, in addition to fixing some bugs in CohoAPR and performance improvements in Points.java.
With these changes, performance improvement is about 2x.

Hi Chao,
Input reading between Matlab and Java is now vastly improved. In particular, I profiled some things and found some very inefficient O(n^2) input reading in java_readMatrix and java_hex2num. Furthermore, I re-coded some of the bottleneck matlab code in C++.
Overall, this leads to a 5x speed increase between the Java/Matlab communications.


[google-cloud-cpp*] update to the latest release

Updates google-cloud-cpp-spanner to v1.1.0, google-cloud-cpp to v0.21.0, and google-cloud-cpp-common to v0.25.0.
These are the latest releases for each one of these packages.

What does your PR fix? Fixes issue #

N/A

Which triplets are supported/not supported? Have you updated the CI baseline?

No change.

Does your PR follow the maintainer guide?

Yes.

Thanks for the PR!


Is there a pure C wrapper?

If not, can you please guide us? Thanks.

I'm not aware of any C wrapper for spaCy. You could read the code for this project spacy-cpp to get an idea of what type of work is needed for a C wrapper.

No idea, sorry. I've never used GRPC. Perhaps there's some log to look at, or maybe GDB/LLDB can be attached to the process to check where it's stuck. However, I googled GRPC, and it seems it supports Python, so perhaps it's easier to directly interface with the official spaCy API?

Thanks @d99kris . We need to integrate it into c++ server that does lot of stuff on top of parsed results. We have already have GRPC python server as you suggested but we want to get rid of the remote api call and do the parsing in the c++ code itself. Thanks, anyway,

Ok got it. Good luck! I'll close this issue, but feel free to open another if you have some specific issue.

Thanks. Will report back if we find the issue and the solution.

Hi @cogmeta I've tried to multithread spacy-c++ myself but I could run it on multiple threads concurrently. Did you manage to do that in your implementation or did you just share the GIL between the threads? I hope this doesn't come way to late.


Feature/leetcode

测试

谢谢。您的邮件已收到，我会尽快处理。
Thank you. Your email is received and will be handled  ASAP.

邮件已收到！！！

您好，您发的什么意思
---- Replied Message ----
| From | @.> |
| Date | 11/23/2024 18:11 |
| To | wuyouzhuguli/SpringAll @.> |
| Cc | Subscribed @.***> |
| Subject | Re: [wuyouzhuguli/SpringAll] Feature/leetcode (PR #78) |
邮件已收到！！！
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


📃: Add Perfect Square Number Checker:

:red_circle: Title : Perfect Square Number Checker
:red_circle: Aim : It helps us to check if given number is perfect square or not.The Perfect squares Number are the squares of the whole numbers  such as 16 , 25.
:red_circle: Tech Stack Used : HTML,CSS JS
Screenshots 📷
N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name : Anshika
What is your participant role? GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@Anshika14528 Now, these projects are not acceptable.
Please fill the feedback form: https://forms.gle/Wvsp9N8TDF1WPStq9


Use image-tag from build-tools

Update ./tools to latest build-tools master
and replace image-tag script with the newly-shared version

@ekimekim ping?

fixed, ptal

LGTM


Ensure FileSystemWebRequestHandler cannot return anything that is not below it's root directory

This is for security reasons. This needs to include links.

Moved to web-framework project.


[bug]when running pipeline code, the pod DAG always stay in status Init:StartError

What happened?
I am currently running hyperparameter tuning, which results in creating 60x4 pods within my Kubeflow pipeline. During execution, I encountered an issue where the DAG pod is unable to complete its initialization successfully, preventing the pipeline from continuing
What did you expect to happen?
Pod Status: I observed the status of one of the DAG driver pods:
kubeflow-user-example-com   auto-digits-pipeline-half-complex2-tvdqj-system-dag-driver-1079452148   0/2   Init:StartError   0   84m
Logs Check: When I tried to fetch the logs for the pod, I received the following message:
kubectl logs auto-digits-pipeline-half-complex2-tvdqj-system-dag-driver-1079452148 -n kubeflow-user-example-com Error from server (BadRequest): container "main" in pod "auto-digits-pipeline-half-complex2-xdlfv-system-dag-driver-3285612689" is waiting to start: PodInitializing
This suggested that the DAG pod might not be initializing due to the large number of pods that need to be executed concurrently.
Configuration Investigation: I attempted to locate the ConfigMap associated with the DAG to extend the initialization time limit, as I suspected that the pod timeout might be too short. I used the following command:
kubectl get cm -n kubeflow
However, I could not find a ConfigMap containing relevant parameters to control the DAG pod startup timeout.
Cluster Events: Upon further investigation by listing the cluster events:
kubectl get events
I found the following error:
Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: fork/exec /kind/bin/mount-product-files.sh: argument list too long: unknown
The error suggests that the initialization failure might be caused by the number of arguments or the size of the arguments passed to /kind/bin/mount-product-files.sh, which is exceeding the allowable limit, leading to the failure of the container creation process.
Question
How can I modify the corresponding parameters to avoid this "argument list too long" issue during the container initialization phase? Specifically, I would appreciate guidance on:
Identifying the appropriate ConfigMap or configuration where I can modify the initialization settings for the DAG pods.
Mitigating the "argument list too long" issue, possibly by optimizing or limiting the number of mounted files or arguments.
Any insights or suggestions on how to address this issue would be greatly appreciated.
Environment
Kubernetes version:1.9
$ kubectl version
Client Version: v1.31.2
Kustomize Version: v5.4.2
Server Version: v1.31.0

Training Operator version:
$ kubectl get pods -n kubeflow -l control-plane=kubeflow-training-operator -o jsonpath="{.items[*].spec.containers[*].image}"

Training Operator Python SDK version:
$ pip show kubeflow-training

Impacted by this bug?
Give it a 👍 We prioritize the issues with most 👍

Hi @Epochex, I think this issue is related to Kubeflow Pipelines, not Kubeflow Training Operator.
/transfer pipelines


Create element with own state/context

I am trying to create a TODO app with more than 1 TODO component in the same page, but without using an array.map(...).
I'd like to create the component with it's own state, so I can have one TODO with a list and the other with another list. I am trying something like this:
<div>
  ${todoList(state, emit)}
  ${todoList(state, emit)}
  ${todoList(state, emit)}
</div>

How can I achieve this?
When I create it like this they are all sharing the same state. I tried creating a property todoList in state and push the instances there, but I couldn't think of a way to identify what is the first time the element is created and what is a dynamic render event, so I was triggering only the first addState call.
let firstAccess = true;
let thisState;
const componentName = 'todoList';

function initialize(state, emitter) {
  const initialized = addState(componentName, initialState, state);
  firstAccess = false;
  thisState = initialized;
  eventListeners(thisState, emitter);
}

export default (state, emit, emitter) => {
  if (firstAccess) initialize(state, emitter);
[...]

I could use the DOMContentLoaded event, but what if I insert the element dynamically later?
My code is here, if you want to take a look:
https://github.com/jpenna/todo_choo

EDIT: Basically, what I want is to initialize the state inside the component (not in the app instance), but when I do this I reset the state.

@jpenna

${todolist(state.lists[0], emit)}
${todolist(state.lists[1].emit)}
...

If you don't want them to have the same state, don't pass them the same state.

For stateful elements we've begun work on a component abstraction:

https://github.com/yoshuawuyts/nanocomponent for package code
https://github.com/yoshuawuyts/microcomponent for application code

Hope comes in useful! (:

Ok, I will try it! Thank you!


Full System update feature For LinuxTool Box

@ChrisTitusTech I have noticed that one of the necessary feature of a tool box to allow full system updates is missing so I added one through this script, It goes ahead and do a whole system update with the following things also :-

Git repo updates
pip updates for python
distrobox updates

The repo used in this script https://github.com/thegamingwinner/update_script.

Hey @ChrisTitusTech , I also want to know if you want to have reference script like these (that run off other repos) or do you want to include the scripts with the project, Itself
I have scripts that would setup the base for any coder / programmer but need some clarification


IPK Package does not properly respond to any value for OS/ARCH

Description
When the target OS/ARCH is having any value, the IPK packager refused to package (incompatible candidate). It's likely due to mishap in safety checking.
Expected Behavior
IPK packager allows any target OS and target ARCH value.
Current Behavior
IPK packager rejects any value for both target's OS and target's ARCH.
Steps to Reproduce [COMPULSORY]

build a polygot shell script that offers to any OS and any ARCH functionalities.
run the CI. notice that .ipk is not packaged due to incompatible type.

Associated Data Files
No response

diff --git a/automataCI/_package-ipk_unix-any.sh b/automataCI/_package-ipk_unix-any.sh
index 193d2bd..6386a30 100644
--- a/automataCI/_package-ipk_unix-any.sh
+++ b/automataCI/_package-ipk_unix-any.sh
@@ -54,11 +54,11 @@ PACKAGE_Run_IPK() {
         I18N_Check_Availability "IPK"
         IPK_Is_Available "$_target_os" "$_target_arch"
         case $? in
-        2|3)
+        2)
                 I18N_Check_Incompatible_Skipped
                 return 0
                 ;;
-        0)
+        0|3)
                 # accepted
                 ;;
         *)
diff --git a/automataCI/_package-ipk_windows-any.ps1 b/automataCI/_package-ipk_windows-any.ps1
index 58de1bb..c03a189 100644
--- a/automataCI/_package-ipk_windows-any.ps1
+++ b/automataCI/_package-ipk_windows-any.ps1
@@ -45,10 +45,10 @@ function PACKAGE-Run-IPK {
        $null = I18N-Check-Availability "IPK"
        $___process = IPK-Is-Available "${_target_os}" "${_target_arch}"
        switch ($___process) {
-       { $_ -in 2, 3 } {
+       2 {
                $null = I18N-Check-Incompatible-Skipped
                return 0
-       } 0 {
+       } {$_ -in 0, 3} {
                # accepted
        } Default {
                $null = I18N-Check-Failed

implemented in 997ee73dada4b754dc8465be5935e87fad910f14


Reset to default state after error message

Hi, thanks for this great library.
I have issue to reset the default state after showing an error like this:
self.showErrorTextField(textField, message: "Username not available")
textField.errorTextColor = UIColor.red
How i get back to default state, for example gray when I want to begin editing? Without have to change focus to other text field first.
Thanks

Currently when you will start editing the textfield text this will get
back to default state, currently there is no method for hiding the error
without clicking on that textfield.
On Wed, 5 Apr 2017 at 5:34 PM, dav3harry<EMAIL_ADDRESS>wrote:

Hi, thanks for this great library.
I have issue to reset the default state after showing an error like this:
self.showErrorTextField(textField, message: "Username not available")
textField.errorTextColor = UIColor.red
How i get back to default state, for example gray when I want to begin
editing? Without have to change focus to other text field first.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ErAbhishekChandani/ACFloatingTextfield/issues/17, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANMZ1ywnafYNsKndYFEP_d19h1zoOjN8ks5rs4NZgaJpZM4M0JMg
.

--
Thanks & Regards
Er. Abhishek Chandani

Ok, thanks for the info..I will close the issue.


UI: Button

Primary button

Width is not 100% by default (inconsistent with other components)

Link

Personly, I don't like the default underlining

check design system pls


Request Feed in user profile shows request date

The date/time displayed is not the date/time the user replied, but the date/time when the request was created.

And the date/time is not set to CET. Please change @tillprochaska


Convert active IMAP connection to a pool

The active IMAP connection would become confused when used for
concurrent requests, so it has been converted to a pool to allow for
transactional request handling. All internal usage of raw IMAP
connections has been converted to switchboard:with_imap/2.

Thanks a ton for this PR -- this is great. I left some comments, the most important of which is allowing the pool size to be configurable. Sorry, I came in a bit late on this so let me know if you have the bandwidth to address the issues.
Also, this'll result in a minor version bump to 0.4.0, but I'll commit that separately once merged.

@jtmoulia, addressed your comments. I added a application environment variable to configure the pool size and set the default to a more conservative value.

Merged! I'll create the new release and, if you don't mind, add you to the contributors list.
Cheers 🍻


Image resizer needs a dpi setting

📝The image resizer needs the ability to change DPI
Using image resizer, I never want to go under 102 DPI, but I have no control over this. Currently, I can only set pixel width and height. It would be sweet to be able to scale down images that I have saved with 300dpi to 102 DPI.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate of #4490

Duplicate of #4490


TOMEE-3905 post release fixes

Thanks @cesarhernandezgt

Merged this as the full build currently suffers from the dependencies missed by the release plugin.


Architectural Decision Records: What were the engineers thinking?

Summary of content
1100 word article about Architecture Decision Records. ADRs serve as a snapshot into the developer's past, and grants thoughts and insights about important technical decisions.
Summary of audiences

Software Developers of all skill levels.
Product developers and designers who want to coordinate more with engineers.
Project managers and stakeholders who want to understand important decisions.

Level of content

101: "Awareness / Exploration"

Contributor Checklist

[x] I have added a card to the GitHub Content Backlog and/or moved it to the proper column. See Content Prewriting and Ideation
[x] If contributing via Google Docs: I have added a link to my document to this issue, and set the document's Share settings to "Anyone on the internet with this link can comment". Draft is here
[x] My content is drafted in accordance with existing style guides and best practices. See Drafting Content
[x] The front matter (metadata) is filled out completely (e.g. description, topics, tags, author, etc - as appropriate for the content type). See Drafting Content
[ ] My content has been reviewed by my team for technical accuracy. See Editing Content
[ ] My content has beed reviewed and edited by a copy editor. See Editing Content
[ ] If applicable: My content has gone through a legal review (VMware Employees Only). See Editing Content
[ ] If applicable: I have tested my content locally and everything passes. See Testing Content
[ ] Optional: I have filled out the Social Media request form (optional) (VMware Employees Only). See Next Steps
[ ] If applicable: I have created an author page and opened a pull request to get it added. See Next Steps

Reviewer Checklist

[ ] Review if the content is a good fit for the Tanzu Developer Center. See Content Prewriting and Ideation
[ ] There this GitHub issue has been added to the content backlog project
[ ] Ensure with the author that the content has been reviewed for technical accuracy.
[ ] Ensure with the author that the content has been through copy editing.
[ ] If applicable: Ensure with the author that the content has been through Legal review.
[ ] Review fit with the Tanzu Developer Center Style Guide and the VMware Style Guide (VMware Employees Only).
[ ] Ensure the front matter is filled out correctly and completely.
[ ] If applicable: Review additions to custom_dict.txt.
[ ] Ensure with the author they have reviewed the staging site for correctness. The reviewer should review this too.
[ ] If applicable: Review any new Team pages.
[ ] Optional: Ensure the author has provided copy for Social Media distribution.\
[ ] If contributing via Google Docs: Send the staging link to the author to review. The reviewer should review this too. Get the final 👍 from the author to push the content public.

Link to Google Doc
Nice work!
Not my area of expertise but this seems pretty applicable to me. One question I had while reading, when you say "Put it in the repository", Would this just be a dir full of files? Or would these be part of a commit log? Or something else? Are there best practices for this? Like I said, not my area of expertise so if you think this point will be obvious to all/most readers, then maybe there is no need to be more explicit. But it seemed like an area to maybe add some more detail.

Any other feedback on this?

Thank you taking a look. I think it's ready for copy editing.

Submitted for editing. Stand by. Suggestions will be made in the Google Doc for you to accept/decline.

Deploy preview ready: https://deploy-preview-1529--tanzu-dev-portal.netlify.app/developer/guides/architectural-design-records-what-were-the-engineers-thinking/
Let me know if you want to see any changes, or if looks ready to ship from your POV.

Thank you for the preview. I reread the document and I made some edits to the Google Drive document. You can see them on the "version history" section (cmd option shift + H on Mac, or you can search for it in the help menu.) Most of the edits are in the introduction.

Live link: https://tanzu.vmware.com/developer/guides/architectural-design-records-what-were-the-engineers-thinking/


Fix tests

Codecov Report

Merging #259 (6345d81) into main (6e6a663) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #259   +/-   ##
=======================================
  Coverage   94.31%   94.31%
=======================================
  Files          35       35
  Lines         616      616
=======================================
  Hits          581      581
  Misses         35       35


Add Chinese language for this theme

can you help to review this?
@coliff @matcornic

Shortcuts were added. @matcornic


add volumes definition in worker/webservice

to fix #1291
@wonderflow  any suggestion about where I should add a doc for this?
Signed-off-by: roywang<EMAIL_ADDRESS>

We're going to add End User Guide docs , refer to https://github.com/oam-dev/kubevela/issues/1403
We can add this example under that section. Let me setup the framework first next week.


Pull RocksDB via Conan

The most recent RocksDB version on conan.io is 6.29.5 (current on github is 8.6.7). Let's wait for conan.io to catch up (or open a PR) and pull RocksDB via conan.

There is now rocksdb 8.8.1 available on conan, therefore this one should be unblocked, shouldn't it?

Nice! Was looking ~2 days ago and there was not… Yes, this in not blocked by the missing receipt anymore.

I've pushed this to #41


Ollie: Watch techhelp28.blogspot

Ollie requests the watch of the watch_keyword techhelp28\.blogspot. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

techhelp28\.blogspot has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Spevacus in Charcoal HQ. Reason: 'This was made during a period where the PR's author was not recognized as a blacklist manager.'


Added Fashion webpage.

Hey, project admin As the mentor assigned me this issue I have created this pull request regarding that. I have added the fashion webpage created with HTML and CSS please go through the pull request and review it.
@AyushSingh22 added fashion webpage.
Fixes #422

@AyushSingh22 I have contributed to many repositories but no one is like your mentor. Thank you for such kindness I learned a lot from you. looking forward to learn with you.


Add jest test

This adds a test that renders the sequence panel as if it were a webpage and looks for the protein identifier to show up in the output

attempts to add a github workflow to automatically run the test in CI also


fix(blog): text talks typos

Mainly:

mention "technical program" in headline
remove space before : in English
add   in French, and adjust typography.

I didn't test this: can't have the app built on my shitty internet connection (dependencies cannot be downloaded)

I was not able to merge these changes directly due to conflict but I did my best to integrate these changes via https://github.com/mix-it/mixit/commit/b3968482e185ca6235e94250b961fd6b32cc2c7a (+ other ones).


Extraction of records from multi-record answers

Hello,
first, i'm not sure if I'm doing something wrong or your code is intended to be used differently.
But as far as i can tell, if an answer to a query is received using mdns_discovery_recv in a while-loop, as in your example query_callback is called only once. However, I don't see a method to extract the information of other than the first record in that callback.

The callback passed to the discovery recv function will be called once for each matching record in the answer (and additional records)


Handle THEN better

Here's CitySp:
25 -> PROD[1] THEN CityTile
That gets desugared to
UseAction1<CitySp>: -25 THEN PROD[1] THEN CityTile
"Then" instructions should probably be kept as a unit as long as they have unhandled Xs, or perhaps type linkages (#12). They should allow narrowing in that state, but execution should probably work differently.
Basically to execute a THEN (b, c) should only require reifying and executing a, upon which tasks then get created for b and c. The latter two could be abstract.
If this is fixed, CitySp would change to 25 -> PROD[1], CityTile (with a comma) and be desugared to -25 THEN (PROD[1], CityTile). Creating two independent tasks for the prod and the tile is the right thing to do, since the user has the right to reorder them.

SAE should use THEN too


playlist_tracks field market still prints regions when set to None

Describe the bug
When I use any of the playlist functions to fetch the contents of the playlist it returns the available_markets field regardless of setting market=None.
Your code
from spotipy.oauth2 import SpotifyClientCredentials
import spotipy
import json

sp = spotipy.Spotify(auth_manager=SpotifyClientCredentials(client_id="clientID",
                                                           client_secret="secret"))

playlist_id = 'spotify:user:spotifycharts:playlist:3PGHzE2Tqab3V5xH6JyVcW'
results = sp.playlist_tracks(playlist_id, market=None)

fw = open("dump_tracks.json", "w")
fw.write(json.dumps(results, indent=4))

Expected behavior
I'd assume it prints the regular output except for the available_markets field.
 But I'd like to get the results without it so I don't have to correct it in python.

See the Track Relinking Guide.

Thank you for the URL, I found that I needed to specify the market value to remove the field, using something like market="US"


Unit tests on a C#/WinRT projection does not start

Describe the bug
I have a solution with some C++/WinRT components that perform audio processing.
I created a C#/WinRT projection for theses components.
My graphical interface (C# / WinUI 3) uses this projection. It works great.
I would like to be able to unit test my C++/WinRT components in a C# MS Test project. (As my GUI is in C#, I would like to be able to write theses tests in C#).
So I created a C# MS Test project. I referenced the projection project.
When I launch a unit test, it never starts. Instead, a "file not found" error appears in the "Tests" output.
I already filed a bug on the developercommunity.visualstudio.com website.
But without success. Maybe it was in the wrong team ?
I'm stuck in my project, with a lot of C++ code, and I'm not able to test it. Very frustrating...
Mabe someone here could give me a workaround ?
To Reproduce
I created a minimal repro project.
ReproUnitTestProjection.zip
Just open the solution in the Zip.
Select Debug|x64 for the current configuration / platform
Rebuild the solution
Open the tests explorer
In the “ViewModelTests” class, try to run the “SayHelloTest” unit test => Nothing happens
In the output window, select the “Tests” output => You should see the following error message :
Les tests à exécuter sont introuvables.
Magasin de données de test ouvert en 0,006 s.
Démarrage de la découverte de tests
[MSTest][Discovery][C:\Users\***\source\repos\ReproUnitTestProjection\ReproUnitTestProjection.Component.Tests\bin\x64\Debug\net5.0-windows10.0.19041\ReproUnitTestProjection.Component.Tests.dll] Échec de la découverte de tests à partir de l'assembly C:\Users\***\source\repos\ReproUnitTestProjection\ReproUnitTestProjection.Component.Tests\bin\x64\Debug\net5.0-windows10.0.19041\ReproUnitTestProjection.Component.Tests.dll. Raison :Fichier inexistant : C:\Users\***\source\repos\ReproUnitTestProjection\ReproUnitTestProjection.Component.Tests\bin\x64\Debug\net5.0-windows10.0.19041\ReproUnitTestProjection.Component.Tests.dll
Aucun test n'est disponible dans C:\Users\***\source\repos\ReproUnitTestProjection\ReproUnitTestProjection.Component.Tests\bin\x64\Debug\net5.0-windows10.0.19041\ReproUnitTestProjection.Component.Tests.dll. Vérifiez que les découvreurs et exécuteurs de tests sont inscrits. Vérifiez également que les paramètres de version de plateforme et de framework sont appropriés, puis réessayez.
========== Fin de la découverte de tests : 0 tests trouvés en 677,7 ms ==========

Expected behavior
The unit tests should run.
Version Info
Visual Studio 2022 current version
C++/WinRT last version
Microsoft.Windows.CsWinRT version 1.3.5
(WinUI 3 version 1.0.0-preview3)
Additional context

@nseveno - I took a look at the repro, and the issue is that the test project is not using a packaged app. Currently unpackaged C#/WinRT apps are not working with MSTest. Here is an example of a packaged app using MSTest (note the package manifest, and the use of <EnablePreviewMsixTooling>. We will need to investigate the unpackaged scenarios.

There's no reason MSTest cannot execute unpackaged C#/WinRT projection code.  This is a regression in MSTest, which was introduced with the WinUI support.  That support is triggered via a specific test method attribute, UITestMethod.  But independently, the test project's TFM also determines the test adapter to copy from the nuget.  E.g., a value of net5.0-windows10.0.19041 copies the PlatformServices.WinUI adapter from "%NUGET_PACKAGES%\mstest.testadapter\2.2.5\build\net5.0-windows10.0.18362.0\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll".  The problem is that the WinUI test adapter assumes packaged execution in calls [like this]:(https://github.com/microsoft/testfx/blob/19acefa11712c387774784a79dafcf7b3dbee64c/src/Adapter/PlatformServices.WinUI/Services/WinUIFileOperations.cs#L109):
        public string GetFullFilePath(string assemblyFileName)
        {
            return (SafeInvoke<string>(() => Path.Combine(Windows.ApplicationModel.Package.Current.InstalledLocation.Path, assemblyFileName)) as string) ?? assemblyFileName;
        }

The test code here is not using WinUI, so it could just rely on the PlatformService.Desktop adapter code, but the TFM behavior above doesn't support that.  You can back off to an earlier version of MSTest (I verified that 2.23 works) and you could also enter a bug in the MSTest repo to support unpackaged:
https://github.com/microsoft/testfx

Thanks for answering.
Downgrading to 2.2.3 works ! For reference, I just had to change the nuget references, rebuild and reopen the solution.
I think this existing bug in the MSTest repo should fix the problem.
Since the problem will be solved by the MSTest team, I close this bug.


Consider recording individual image frames instead of video files

A major issue is using VideoWriter for hourly videos, since when you swap the hard disk, if the VideoWriter is not properly closed beforehand, that video being written will get corrupted, so potentially an hours worth of video is lost.
A better way may be to create image frame folders and save individual video frames as images. Image folders should still be easily imported in CVAT, but it could cause a larger explosion of data, since there won't be interpolated frames that come from being a video.

This takes up too much disk space. Closing...


Implement email services

Use it for:

Welcoming email
verification email
forgot password
reservation info upon making it

Estimated time: 20 hours