Branch medium-ip compile failed on linux

I am using the medium-ip branch to implement a transparent proxy, and my application is fine on windows, but on Linux compiler complains about the following:
error[E0659]: `RawSocket` is ambiguous
   --> /home/hoping/.cargo/git/checkouts/smoltcp-d6a83fd2b0891566/0a1ad9e/src/iface/interface.rs:976:61
    |
976 |         for mut raw_socket in sockets.iter_mut().filter_map(RawSocket::downcast) {
    |                                                             ^^^^^^^^^ ambiguous name
    |
    = note: ambiguous because of multiple glob imports of a name in the same module
note: `RawSocket` could refer to the struct imported here
   --> /home/hoping/.cargo/git/checkouts/smoltcp-d6a83fd2b0891566/0a1ad9e/src/iface/interface.rs:11:5
    |
11  | use crate::phy::*;
    |     ^^^^^^^^^^^^^
    = help: consider adding an explicit import of `RawSocket` to disambiguate
note: `RawSocket` could also refer to the struct imported here
   --> /home/hoping/.cargo/git/checkouts/smoltcp-d6a83fd2b0891566/0a1ad9e/src/iface/interface.rs:14:5
    |
14  | use crate::socket::*;
    |     ^^^^^^^^^^^^^^^^
    = help: consider adding an explicit import of `RawSocket` to disambiguate

   Compiling webpki-roots v0.22.1
   Compiling rustls v0.20.2
error[E0599]: no function or associated item named `downcast` found for struct `phy::raw_socket::RawSocket` in the current scope
   --> /home/hoping/.cargo/git/checkouts/smoltcp-d6a83fd2b0891566/0a1ad9e/src/iface/interface.rs:976:72
    |
976 |         for mut raw_socket in sockets.iter_mut().filter_map(RawSocket::downcast) {
    |                                                                        ^^^^^^^^ function or associated item not found in `phy::raw_socket::RawSocket`
    |
   ::: /home/hoping/.cargo/git/checkouts/smoltcp-d6a83fd2b0891566/0a1ad9e/src/phy/raw_socket.rs:13:1
    |
13  | pub struct RawSocket {
    | -------------------- function or associated item `downcast` not found for this
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `socket::AnySocket` defines an item `downcast`, perhaps you need to implement it
   --> /home/hoping/.cargo/git/checkouts/smoltcp-d6a83fd2b0891566/0a1ad9e/src/socket/mod.rs:157:1
    |
157 | pub trait AnySocket<'a, 'b>: SocketSession + Sized {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The IP medium code is already merged to master, can you check if the issue is still present in master?

Thanks for the reply, master is ok.


Outdated Docker Image

The jarredsumner/bun:edge Docker image doesn't seem to be maintained any more.  It looks like it's been migrated to oven/bun.  I'll push a quick feature branch for you to merge if you'd like to update...
Update...  Pull request created: https://github.com/steren/cloud-run-bun/pull/3

Pull request merged, thankls!


Update little-snitch to 3.7.4

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Fine on one, unrelated error on the other.


Add the specified model in the yaml file for download

this is a example for running multi-models after deploying the image
version: "2.0"
services:
  stable-diffusion-ui:
    image: sonic868/stable-diffusion:v1.0
    models:
      - name: illustroV3.safetensors
        url: https://civitai.com/api/download/models/151490
        dir: "/easy-diffusion/models/stable-diffusion"
      - name: midchapter2.safetensors
        url: https://civitai.com/api/download/models/154252
        dir: "/easy-diffusion/models/stable-diffusion"
      - name: v1-5-pruned-emaonly.safetensors
        url: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors
        dir: "/easy-diffusion/models/stable-diffusion"

    expose:
      - port: 9000
        as: 80
        to:
          - global: true
deployment:
  stable-diffusion-ui:
    lagrange:
      count: 1

space link: https://lagrangedao.org/spaces/0x6091b2f5678952cAfbf02755D78973EBff302e11/Stable-Diffusion-base-2/files


Make terminal able to output too long lines

Right now, if you print a line that's wider than the window, the line is cut off without any option to view the rest.
A way would be to detect too long lines and then add a [more] or 1/3 text at the end of the line, and then let the user press some fancy buttons to go to next/previous lines. Rudimentary and not particularly user friendly but it would work at least.
Another option would be to make the field editable or at least traversable with the cursor, letting the user scroll left/right with the cursor. Ugly and not very easy to use.
Yet another bunch of options would be to add a larger output/terminal somehow. Either dynamically or manually grow/shrink the output field, having a statically larger output field or having the output field or terminal in some kind of semi/quasi-fullscreen or w/e.

The easiest thing would prolly be to use the file/document viewer to house the terminal log window and add a notifier of some kind to show when multiple lines have been put into the log window without showing up in the terminal first for x seconds.


Train the Stylegan generator with imitative-contrastive learning scheme

Thanks for your great work! I have a few questions:

How long time do you take to train stage1 and stage2?
The Stylegan generator  can be repalced by stylegan2?  Will stylegan2 be beneficial to this project?

Hi, you can check here for the training time.
It is possible to replace stylegan with stylegan2. In that case, you don't need a progressive growing training strategy. We have conducted experiments on stage1 using the stylegan2, and the image quality measured by FID will be better than stylegan1.


Repo not cloned if directory already exists

Describe the issue
I noticed that if I already have the folder created (/var/www/aspecthq.com), then the repo would not get initialized. I have to run the initial git clone myself. Not a huge deal. I would expect it to work though.
Configuration
Paste full Caddyfile below:
{
    git {
        repo aspecthq.com {
            base_dir /var/www
            url https://gitlab.com/joeworkman/aspecthq.com.git
            branch master
            depth 1
            # auth ssh /var/www/ssh/id_rsa.pub
            webhook name X-Gitlab-Token go-caddy-git-go
            # post pull exec {
            #     name Pager
            #     command /usr/local/bin/pager
            #     args "pulled authp.github.io repo"
            # }
        }
    }
}
aspecthq.com {
    redir https://www.aspecthq.com{uri}
}
www.aspecthq.com {
    log {
        output file /var/log/caddy/aspecthq.com/access.log {
            roll_size 3MiB
            roll_keep 5
            roll_keep_for 48h
        }
    }
    handle_errors {
        respond "{http.error.status_code} {http.error.status_text}"
        # rewrite * /{http.error.status_code}.html
        # file_server
    }
    route /update {
        git update repo aspecthq.com
    }
    encode gzip zstd
    php_fastcgi unix//run/php/php8.1-fpm.sock
    file_server
    root * /var/www/aspecthq.com
    push
}

Version Information
Provide output of caddy list-modules -versions | grep git below:
git v1.0.4
http.handlers.git v1.0.4

I noticed that if I already have the folder created (/var/www/aspecthq.com), then the repo would not get initialized.

@joeworkman , yes, because it is unclear what is that directory, i.e. cannot simply remove it.

I have to run the initial git clone myself. Not a huge deal. I would expect it to work though.

Say it discovers a directory (due to misconfiguration). What would be the logic to decide to pull it?

What would you remove it. With the git clone command, do you not have to ability to define where you want the destination for the clone? Via terminal I use...
git clone https://gitlab.com/joeworkman/aspecthq.com.git /var/www/aspecthq.com

@joeworkman , is this still an issue?


Backend - Convert appellate system to database

Convert appeals to use a database

This will add stability and allow us to work a logging system in
Ideally, appellate logs will be tied to moderation logs
Will also resolve #83

We're throwing this out since workarounds to existing issues were found.


Test policy topic added

Breaking the complex Testing section into smaller chunks. Adding this section as the test policy.

@alandefreitas thanks for the feedback, and squashed


How to port-forwarding for such as web-server?

I'd like to build some web-server within a lxd container.
Obviously, I need to forward the port 80 to 80.
How could we achieve this? Thanks.
PS.
I have the following with one lxd container running:
$ ifconfig
lxcbr0 Link encap:Ethernet HWaddr fe:f5:31:0c:4e:5d
inet addr:<IP_ADDRESS> Bcast:<IP_ADDRESS> Mask:<IP_ADDRESS> inet6 addr: fe80::f44f:9bff:fe8a:c309/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:23 errors:0 dropped:0 overruns:0 frame:0 TX packets:64 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1768 (1.7 KB) TX bytes:9789 (9.7 KB)
veth2V2GC2 Link encap:Ethernet HWaddr fe:f5:31:0c:4e:5d
inet6 addr: fe80::fcf5:31ff:fe0c:4e5d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:23 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2090 (2.0 KB) TX bytes:5251 (5.2 KB)
// and others
I suppose I need to bind lxcbr0: this should be lxd network bridge hub- <IP_ADDRESS> and veth2V2GC2 : the container network interface.
Am I correct and can anyone show me the way? Thanks.

I will use nginx.

This has been closed, but to give a clear answer: lxd (at least as
currently intended) will not do host networking.  So in general
you would port-forward to a web-server in a lxd container the same
way you would do with lxc - you can pass in a nic from the host
into the container and have your local router provide it its own
address;  or use route-based networking to container veths;  or
use iptables forwarding to forward host traffic into the container
(which is what I usually do).
See https://help.ubuntu.com/lts/serverguide/lxc.html#lxc-network
for more information.

@hallyn it would be nice if LXD exposed some user level control over port forwarding instead of leaving users with messing with their network settings without any means of control.
 iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 587 -j DNAT \
 	--to-destination <IP_ADDRESS>:587

This helps, but it is kind of cryptic, and there is no guarantee that this rule will be purged once container is removed.

+1 for a functionality, that is similar to docker-proxy

Let's see if LXD can be patched to provide such functionality. I borrow forward setting from Vagrant, which is:
config.vm.network "forwarded_port", guest: 80, host: 8080

Now I need to see where is the place for it in LXD config. Looks like LXD config doesn't support arrays, so this looks impossible:
config:
  network.forwarded_port:
    guest: 80
    host: 8080
  network.forwarded_port:
    guest: 22
    host: 2222

Now we need to see where in LXD where is a place that can:

[ ] add iptables route when

[ ] container with that config is started
[ ] container config is updated
[ ] dependent variable (ip address) is changed

[ ] remove iptables route when

[ ] container is stopped
[ ] container config is updated
[ ] dependent variable (ip address) is changed

It will also be nice if LXD could somehow detect its own iptables routes and purges them (with obligatory warning) in case somebody decides to manually add/remove containers.

There is a case that need to be handled. What happens if a container is migrated and the port on the destination is in use?

[ ] fail // disable // propose alternative // autoincrement port if

[ ] container is going to be created and the port is in use

This will require additional network.forwarded_port.strategy variable to choose desired behavior. Maybe even network.forward_strategy for the start.

I wrote a tool that can monitor LXD and make changes to IPTable rules as containers come up or down. https://github.com/JustinJudd/lxd-port-forward
I really love the lxd teleport idea to be able to make these changes on lxd remotes and not having to ssh over. In the meantime, I have added daemon and systemd support so it should be really easy to just throw onto an LXD host and add a configuration file and let it go.

Just in case anyone comes here, there is now a feature in LXD to manage port-forwarding between host and containers (added this year, a few months ago - device proxy)


Add more than 4 sensors to display

How about adding a few more sonsor values to the display? Like a 5th or 6th small icon with consumption or production values?

I am but confused tbh. You can add as many as you want already... 1 oder 100 it literally doesn't matter..
Just take a look at the presets in the Readme file

@chheiss i would need more specific info to understand what you mean

Closed due to inactivity. Feel free to reopen if you have more information. 👍


[release-1.12] Fix binary events with no data and ce overrides not being delivered (#3475)

Manual cherry pick of #3475 with the build issues fixed

/retest-required

/retest-required


Proxying example.com/XXX to port

Is it possible to proxy or redirect e.g. example.com/HELLO to :PORT or to serve static files. Wondering if this is possible. Thanks

Sure it is, just specify the following in your config:
ports: {
  80: {
    router: {
      'example.com/hello/*': 8090
    }
  }
}

So I just gave that a try and it looks like one of my other rules is taking precedence over it; my root has an API associated with it and I'm getting data from that not a proxy to Apache.
80: {
            "router": {
                   "domain.com/stuff/*": 9000,
                   "domain.com": "redirect -> https://domain.com/[path]",
                   "*": "redirect -> https://domain.com"
             },
},

Is it possible to make the 'example.com/hello/*': 8090 be the root of my proxied app. As currently when I try it, it looks for /hello/ in Apache whereas I'd like example.com/hello/ to be the Apache root

That is something your end application needs to support anyway since all URLs  you generate have to account for the relative path. One could try actively re-write the HTML but in my opinion it is not worth the effort since you won't handle all the cases.

Ok cool thanks :smile:


Fix: add Endpoints references counter

In the current implementation, if an Endpoint relates to multiple
Services, once a Service deleted, flows of the Endpoint will
also be deleted. This commit adds an Endpoint references counter
which helps to determine if an Endpoint should be removed from
data path.
This commit also adds logs to improve debuggability.
Fixes #1835.
Signed-off-by: Weiqiang Tang<EMAIL_ADDRESS>

/test-all

/test-e2e
Retrigger, since the Jenkins test failed due to infra error.
====== Delivering Antrea to all the Nodes ======
link /var/lib/jenkins/.ssh/known_hosts to /var/lib/jenkins/.ssh/known_hosts.old: File exists
Build step 'Execute shell' marked build as failure

Codecov Report

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

@@           Coverage Diff           @@
##             main    #1815   +/-   ##
=======================================
  Coverage        ?   61.51%
=======================================
  Files           ?      195
  Lines           ?    16587
  Branches        ?        0
=======================================
  Hits            ?    10204
  Misses          ?     5315
  Partials        ?     1068

Flag
Coverage Δ

kind-e2e-tests
50.46% <0.00%> (?)

unit-tests
43.05% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

LGTM, but let's get an extra review from someone else as well.
As pointed out offline, I am not too fond of the discrepancy between detectStaleConnections in upstream K8s and in Antrea. detectStaleConnections is used to purge UDP flows from conntrack downstream, while we use it to determine which endpoints needs to be removed. The discrepancy may make maintenance harder in the future if we want to update AntreaProxy code based on upstream changes.

Thanks for review @antoninbas. For now, I changed the name from detectStaleConnections to detectStale.

Could you create an issue to track the bug?

Thanks, @jianjuns. I've created #1835.

/test-all

/test-windows-conformance
Re-trigger windows conformance since it was failed by infra error.

/test-windows-conformance


Fix manifest not being JSON.parse-able (missing "")

Describe the problem
In most adapters, the builder generates a list of assets, entry files, and routes using builder.generateManifest.
However, the generated dictionary (it's a string type, but in dictionary format) is not JSON spec-compliant; it can't be JSON.parsed or otherwise read without exec because the dictionary keys are missing double quotation marks (").
This is a problem because this manifest can be used for other things, such as generating a _headers file for Cloudflare to use Server Push or parsing entry files for further bundling in adapters.
Describe the proposed solution
The most clear solution, in my mind, is to add double quotes (") around each dictionary key.
This is still valid Javascript so it won't break scripts that inject it as-is into JS files. This solution would allow parsing using standard functions such as JSON.parse
Alternatives considered
An alternative could be to not change this and parse using exec etc. However, this is much easier to break than spec-compliant JSON.parse and doesn't function in some environments.
Importance
would make my life easier
Additional Information
No response

The manifest isn't JSON-serializable period — it contains dynamic imports, among other things. Can you elaborate on exactly what you're trying to do?

Mostly to generate Link headers for using with technologies such as Cloudflare's Early Hints (generated automatically from Link headers). Because the assets are dynamically named there's no easy way to predict filenames ahead of time.

At what stage are you generating these headers — in a custom adapter, or in handle, or elsewhere? The asset list is already available to adapters (from the generated manifest at runtime, and from the filesystem at build time, albeit hackily); if it needs to be available elsewhere then it can probably be arranged. Though I'm curious about which assets you're including in those headers, specifically?

I was planning to add them via the adapter itself (that's why I was running into this issue with being unable to parse the manifest inside the adapter). I was unaware that there was another way to refer to those assets; are you referring to using the manifest itself somehow or via another method?
As for which assets I was planning on using Early Hints for, plugins such as vite-imagetools bundle the images (dynamically generated, random filenames so I can't predict) themselves into the assets key inside the manifest. I'm totally open to handling these inside the handle hook or elsewhere somehow, just thought the adapter would be the easiest. 🙂

Actually, I misspoke — I don't think the generated assets are currently exposed via the manifest that's available to adapter code. I was thinking of stuff like this: https://github.com/sveltejs/kit/blob/2ce93d6f4bba58011aee63c6702848945c40b7c5/packages/adapter-cloudflare/src/worker.js#L43-L49
How are you deciding which assets get Link headers for a given page?

I was planning to based on extension (so .jpeg, .jpg, .png, etc) but I guess that wouldn't ensure that it's scoped to the current page (even if I tried directly in the adapter it would grab all the assets, not just the current page's assets).
In my mind one solution would be returning Link headers in the GET inside a Shadow Endpoint, but that's again running into the issue of filenames being dynamically generated... except that vite-imagetools converts the imports to the URLs at build-time so it might allow returning inside a load function, which I didn't think of before.
Might not be possible for all tools, but this does seem like a niche use-case. In that case, free to close this issue 🙂

Yeah, it sounds like this is probably best solved in userland, so I'll close this. Generally speaking you can't know which assets to push until you've actually rendered the page, and I doubt SvelteKit could generate that list in a way that improved performance universally (I haven't used server push, but my understanding was that it didn't work very well in the wild because it's easy to misuse bandwidth; Early Hints seems more promising but only has so much value when the HTML is already generated).
You could probably do something grotesque like this, if it improves performance:
export async function handle({ event, resolve }) {
  const links = [];
  const response = await resolve(event, {
    transformPage: ({ html }) => {
      find_images(html).forEach(src => {
        links.push(src);
      });
    }
  });

  links.forEach(link => {
    response.headers.append('link', ...);
  });

  return response;
}


Attribute Rolls Should be Draggable as Macros

Right now you can drag an attack into the macro hotbar, but not attributes.
You should be able to drag an attribute label into the hotbar to roll Luck checks, for example.

I've done a bit of digging and have a plan of attack for this.
Any thoughts on reworking the current weapon macros in hot bars? Currently the label is that of the dragged weapon, but the macro created rolls the equivalent weapon slot of the selected token.
I think my preferred alternative would be for the macro to find a weapon on the selected actor with the matching name. This way the user doesn't roll an unexpected weapon if the wrong token is selected, and the stats don't go state (as they could if the weapon stats were cached in the macro).

@mooped I agree it's weird that it says "sword" in the hotbar, but really just rolls weapon 1.  That said, for NPCs, it's incredibly helpful to be able to click on any given NPC, and just the basic 'attack 1' button. 🤔
For long-term play, I think most people would prefer if the macro button updated to their actual attack name, but for purposes of keeping it simple, I'm honestly wondering if it might be best to just change the macro text to say "Melee #1", or something like that, so it's at least accurate. :)
I'm open to treating PCs and NPCs differently for macros as well - e.g. take a weapon name OR m1/r1 as the input to the rollWeaponAttack function, and for PCs default to weapon name, and NPCs default to 'Melee #1'.  What do you think?
Or maybe default to rolling melee 1 if the matching attack name can't be found?


WIP: Adding stake pool api integration with graphql

Adding stake pool api integration with graphql

@rhyslbw @DeeJayElly I wired-up the stake pools api but most of the critical information is not provided so this renders like this currently:

@DominikGuzei Best to hide all fields we cannot currently populate, instead just present the pool hash as the identifier so the tiles have something. I'd like to see this branch get merged with what we have, as this screen is still disabled in the production config


fix(styled-jsx): Allow importing styled from styled-components

Closes #224

Lovely! Thank you very much for the swift fix.
Sending greetings from Berlin 👋


[WIP] Cleanup code related to schema version 1.0

Description

References

Review Checklist

[ ] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[ ] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Hi @gabrielbussolo, do you need help with this PR?

@miparnisari sorry, I started to do other things and I forgot this issue. I'm backing to it.

@gabrielbussolo would you be OK if I take over this PR? We need it for an upcoming feature :)


Add a "Get Curent" or "Refresh" Button

Sometimes, the status doesn't update itself, and I end out having to restart the app.
Having a button to grab the latest data would be greatly appreciated.

Are you use it doesn't update? Since the poll rate is set to 30 seconds if I remember correctly.


Asus FX506IV: Can't set low fan speed

When I set 40% in gui, fan speed is 3200 rpm. But my laptop fan's can operate at lower speeds when there is no load.
One need to operate at lower speeds.

The problem doesn't appears on command line version of program. Only in GUI.

I've added option to ignore this limit in 5a17ba223f7f2258bfc858e6938b3d280309db37


Is it possible to use lua-radix-router to get the best performance?

Hi @huahua132 . The lua-radix-router is optimized for high performance. Compared to the current router(based on redis rax), the lua-radix-router is 70x faster in real-world use cases. It is possible to switch lua-radix-router? I think the APIs are basically the same, it should be easy to replace without introducing any breaking changes.

I need to compare before deciding whether to replace

I made a PR here https://github.com/huahua132/skynet_fly/pull/22. Let me know if you have concerns.

Thank you for your recommendation, I need to think about it carefully

Take your time. Do you have test cases for the current router based on rax. I don't see GitHub workflow in this repo. I would like to run the test

The test cases for rax are available here https://github.com/hanxi/lua-rax.
Introduction to the workflow of this project. Sorry, the English version is not available yet. You can take a look at the Chinese version introduction

Already replaced, the test results are here https://huahua132.github.io/2024/01/14/skynet_fly/benchmark_rax/

script is here https://github.com/huahua132/skynet_fly/blob/master/test/load_mods_radix_router.lua
You can run it like this
git clone https://github.com/huahua132/skynet_fly.git
make build
cd test
sh make.sh
sh sh script/restart.sh load_mods_radix_router.lua
vim logs/server.log

Sorry, this suggestion cannot be adopted. The web is only one of the functions of the framework. The web also relies on many framework functions, so it is not easy to separate them independently.


Add pretty response handling

Based on offline discussion I think few more changes are pending here, will change this back to draft for now.


https://github.com/zimfw/history-substring-search has disappeared

My zim build process is failing over the history-substring-search module being unavailable. The repository https://github.com/zimfw/history-substring-search seems to has been taken offline. Will it return or is there are replacement?

Maybe try reinstalling Zim from scratch. It's now using the upstream, https://github.com/zsh-users/zsh-history-substring-search.

replace zmodule zimfw/history-substring-search by zmodule zsh-users/zsh-history-substring-search, and add the following to your .zshrc file: https://github.com/zimfw/install/blob/4d11eb529f7fe987b48535616af1ba89820f6f61/src/templates/zshrc#L110-L128


How to play your game?

Code
Check off the items that are true.

[ ] The game was made using the Sprig editor.
[ ] The game is placed in the in the /games directory.
[ ] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[ ] The game runs without errors.
[ ] The name of the file/game contains only alphanumeric characters, -s, or _s.
[ ] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for PR!

Hey! Are you wanting to submit a game? Looks like there's been a mistake, I'll close this


some bugs about helm template and coupled code in install/upgrade action

when I look into the code of helm template , I found some code about --output-dir is in the file action.go which used by install and upgrade. as the code below shows method renderResources have 9 parameters, 4 of them are set for helm template
https://github.com/helm/helm/blob/82a2a2e85ccd9f83455b211ac2a7c7c887ffb9bd/pkg/action/action.go#L100-L105
they are TIGHTLY COUPLED, and there are some fields in install/upgrade configuration which only used by helm template . such as OutputDir IncludeCRDs UseReleaseName etc.
https://github.com/helm/helm/blob/3974136b6eba92f17a821aac52a80b59a9fa1202/pkg/action/install.go#L86-L102
And the COUPLED  cases many bugs when helm template using --output-dir , --show-only   crds, hooks, and normal manifests:

--show-only will change the order of output manifest. see below when we change the args order of --show-only the ouput will be different. This is inconsistent with the object order of HELM.
https://github.com/helm/helm/blob/3974136b6eba92f17a821aac52a80b59a9fa1202/cmd/helm/template_test.go#L98-L100
#11321
#11481
diferent file header to stdout & output-dir  when --include-crds
without --output-dir

# Source: crds/crdA.yaml

with --output-dir
# Source: subchart/crds/crdA.yaml

some other bugs wait to be found.

I think it's hard to fix all of them whithout refactoring  code in helm template (we should not continue to add more logic or parameters about helm template to  the method  renderResources), helm template need refactor badly !

I offer a PR about it, I hope everyone can actively participate in this refactoring! :)


Mongo configuration

Hi,
after the Mango installation could you precise the step 11.
11. Create mongo user, password and database for application
Which user and database name should we use?
Thanks,
Johann

Dear Johann,
It is up to you, it could be something like 'gxb' and 'secret'  - see the 'Passwords File' section for how to give this information to the GXB application.
From: jp-eisbm <notifications<EMAIL_ADDRESS>Reply-To: BenaroyaResearch/gxbrowser <reply<EMAIL_ADDRESS>Date: Wednesday, June 8, 2016 at 3:55 AM
To: BenaroyaResearch/gxbrowser <gxbrowser<EMAIL_ADDRESS>Subject: [BenaroyaResearch/gxbrowser] Mongo configuration (#2)
Hi,
after the Mango installation could you precise the step 11.
11. Create mongo user, password and database for application
Which user and database name should we use?
Thanks,
Johann

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/BenaroyaResearch/gxbrowser/issues/2, or mute the threadhttps://github.com/notifications/unsubscribe/AGamQDFRi9K3uLLUeKopOn6rgYFzQ-sIks5qJp-ZgaJpZM4Iw1iX.

--CONFIDENTIALITY NOTICE--: The information contained in this email is intended for the exclusive use of the addressee and may contain confidential information. If you are not the intended recipient, you are hereby notified that any form of dissemination of this communication is strictly prohibited. www.benaroyaresearch.org


Update jsoniter-scala-core, ... to 2.1.12

Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.1.11 to 2.1.12.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

labels: library-update, semver-patch

Superseded by https://github.com/almond-sh/almond/pull/536.


Perms errors caused by "with sharing"?

Hey, this seems like a great package, thanks for sharing it.
It did break some things due to permissions issues when we created realtime triggers, especially for users who couldn't be added to the "process rollups" permset, such as newly-provisioned portal/communities users and site guest users.
Short term we fixed the problem by granting perms to the custom "metadata" objects in the relevant profiles. But long term that seems a bit awkward. Every time a rollup is added to an object, any user of any type (staff, portal, site guest user) who ever needs to create/update the relevant child object will also need to have perms on the Lookup Summaries configuration object or it will basically break their access to that object. Concerned that will become hard to maintain as more of these triggers are added.
Is it possible the classes used by the trigger are defined as "with sharing" but may not need to be? As I understand, triggers generally run in system mode, and should have permission to query any object, unless they are explicitly defined as "with sharing". If left undeclared would they adapt appropriately?
Related thread (re different package) here from @mscholtz
Thanks again for your work on this.

Your very welcome thanks for the kind words! :+1:
Regarding with sharing, yes probably, though the default is better to honour security, what i could do is add a checkbox to the rollup to get it to ignore it? This would be a good option for backwards compatibility as well. Would that work for you?
BTW, regarding your portal/community users, i can you raise another GithHub issue for this and i'll mark it as an enhancement to provide permission sets that are not bound to a salesforce license, which will resolve this issue. In the meantime you can create your own custom permission sets in your org and assign those instread of adjusting profiles, this might help in the meantime.

Hard to envision how a checkbox would work. Isn't a class either "with sharing" or "without sharing" (or undeclared)? I wasn't aware that could be changed at runtime.
Since the query that's causing trouble in this case is the query for the Lookup Rollup Summary custom object, would it work to just isolate those "metadata" queries in a separate without-sharing class? Or not declare sharing on that class, which I think would make it run as without-sharing in trigger context. That way sharing on all other objects could be retained, but the trigger would always be able to read the metadata object to figure out what to do.

Oh i see, its not the parent and child objects the rollups are referencing you want to control 'without sharing' on, its the ability to read the rollup 'metadata' objects without having to have permission to do them, is that what your getting at?

Yes, exactly. The error we were getting was about the metadata objects:
execution of AfterInsert caused by: dlrs.SObjectDomain.DomainException: Permission to access an dlrs__LookupRollupSummary__c dennied. (dlrs)

I see, yes i agree users just editing child records should not need access to this object. I've raised this issue to address this. In meantime you have to continue to grant read access to the rollup objects.


fix: added import to CORS enabled routes

Added POST /asset/import to CORS-enabled routes.

CI tests failing on yarn install step with:
Failed to resolve type for union type ContactSectionOrCtaSectionOrHeroOrInvestorsSectionOrJobsSectionOrMarkdownSectionOrTeamSectionOrTestimonialsSectionOrTextSectionOrValuesSection - object is missing "_type"

This was the case in the previous commit as well https://github.com/livepeer/studio/commit/1a6c70bf5f76e4dc4c7cc039e7df54ee769fb489 so going to merge for now to get this on staging.


Black format

:heart: Thank you for your contribution!
Description
Format using black and add .git-blame-ignore-revs
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

[x] I'm aware of the code of conduct.
[x] I've created logical separate commits and followed the commit message format.
[x] I've added relevant test cases.
[x] I've added relevant documentation.
[x] I've marked translation strings (for relevant code).
[x] I've followed the CSS/JS and React guidelines (for relevant code).
[x] I've followed the web accessibility guidelines (for relevant code).
[x] I've followed the user interface guidelines (for relevant code).
[x] I've identified the copyright holder(s) and updated copyright headers for touched files (>15 lines contributions).
[x] I've NOT included third-party code (copy/pasted source code or new dependencies).

Third-party code
If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

You license your contribution under the same terms as the current repository’s license.
You agree that you have the right to license your contribution under the current repository’s license.

@utnapischtim I am merging this, but if you have more comments, we can always create a new PR ;)


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


Update github actions script

Purpose
$subject
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19817 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #19817   +/-   ##
================================================
  Coverage            20.51%   20.51%
================================================
  Files                   52       52
  Lines                 1394     1394
  Branches               216      216
================================================
  Hits                   286      286
  Misses                1095     1095
  Partials                13       13

Continue to review full report at Codecov.

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


Can't use static as an object key

Hi,
My issue appears very similar to #829. I'd like to type the webidl2.js AST. Some of the AST nodes include a static property. When I try to type this with Flow, e.g.
declare interface IDLMember {
  static: boolean;
  // additional properties elided
};

I get the following error.
$ flow check
Library parse error:
decls/idlmember.js:2
  3:   static: boolean;
       ^^^^^^ Use of future reserved word in strict mode

Found 1 error

Moreover, disabling module.use_strict does not appear to have any affect.

Similar problems with babel and babylon.


Random Whole Number with JavaScript

What have I done wrong? Can someone help me in order to continue?
Thank you in advance
My code:
var randomNumberBetween0and19 = Math.floor(Math.random() * 20);
function myFunction() {
// Only change code below this line.
var randomNumberBetween0and9 = Math.floor(Math.random() * 10);
return Math.random();
// Only change code above this line.
}

For coding help go to the Help Chat Room.  Please do not open another issue for this waypoint unless and until you have posted your problem there and been specifically told that there is a bug with this waypoint.
Closing as this is not a site problem.
Thanks and Happy Coding!


Missing libs from the https://github.com/prometheus/alertmanager/releases/download/v0.25.0/alertmanager-web-ui-0.25.0.tar.gz

What did you do?
Downloaded the https://github.com/prometheus/alertmanager/releases/download/v0.25.0/alertmanager-web-ui-0.25.0.tar.gz release artefact and added the whole content to the UI folder given to the /usr/share/prometheus/alertmanager/ui/ folder
What did you expect to see?
Working alertmanager web UI
What did you see instead? Under which circumstances?
Missing lib folder (font-awesome, bootstrap, elm-datepicker), so error on web UI
Environment
Debian Linux

System information:

Linux 5.10.177-amd-kvm-guest x86_64

Alertmanager version:

alertmanager, version 0.25.0 (branch: debian/sid, revision: 0.25.0-1~bpo11+1)
  build user<EMAIL_ADDRESS>  build date:       20230508-08:28:22
  go version:       go1.19.8
  platform:         linux/amd64

Prometheus version:

prometheus, version 2.33.5+ds1 (branch: debian/sid, revision: 2.33.5+ds1-2~bpo11+1)
  build user<EMAIL_ADDRESS>  build date:       20220820-12:29:59
  go version:       go1.18.5
  platform:         linux/amd64

Alertmanager configuration file:

N/A

Prometheus configuration file:

N/A

Logs:

N/A

I guess the problem is here: https://github.com/prometheus/alertmanager/blob/main/scripts/package_assets.sh#L9
Maybe the
tar czf .tarballs/alertmanager-web-ui-${version}.tar.gz ui/app/script.js ui/app/index.html
should be
tar czf .tarballs/alertmanager-web-ui-${version}.tar.gz ui/app/script.js ui/app/index.html ui/app/lib


Fixed #34679 - Lazy load staticfiles manifest

Fixed collectstatic when unsupported manifest file already exists.

Closing per ticket.


Recursive types are reported as "any" by type-at-pos

Minimal case: try flow
type T = { t: T };
const t = {};
t.t = t;
(t: T);

The result of type-at-pos index.js 4 2 is {t: any}
Ideally the displayed type information would use the identifier for the type itself when a recursive type was found (e.g. {t: T}) or something to signify that it is a recursive type and not in fact any: {t: self}, {t: recursive}, or really anything other than any.

that it is a recursive type and not in fact any: {t: self}, {t: recursive}

The problem with this approach that it's not going to be a valid type that you can paste in your code somewhere.

Is that the intended purpose of type-at-pos? I ask because I nuclide is using the same functionality to display autocomplete and tooltip type hints, so having it report that some type is any when it is in fact just recusive is rather frustrating.
Additionally it seems rather pointless to display any instead of self or recursive or even T (the identifier for the type itself) for the sake of a valid type you can paste into your code anywhere. Because you could just make type-at-pos just just always output any and it would be "valid". I'd rather it either produce a valid type I could paste anywhere in the same file (meaning you could use T). Or possibly provide some CLI flag for it so that nuclide could hook into it for much more helpful type hints.

Alternately a new utility type could be introduced: $Recurse<N> where N is any positive integer representing how many steps up the object chain this type represents.
type T = { a: { b: { c: $Recurse<3> } } };
const t = { a: { b: {} } };
t.a.b.c = t;
(t: T);

This would allow type-at-pos to output types that would be valid anywhere while maintaining the recursive information. From my first example the output would be {t: $Recurse<1>}.

The problem with this approach that it's not going to be a valid type that you can paste in your code somewhere.

@vkurchatkin using polymorphic types already breaks this rule. Try Flow
// foo.js
type Foo<T> = { foo: T }
declare var foo: Foo<1>

$ flow type-at-pos foo.js 3 15
Foo<1>
foo.js:3:13,3:23

See the following locations:
foo.js:3:18-23:
type application of polymorphic type: type `Foo`

If the goal of type-at-pos is to simply produce a type that is valid within the current file, then why not simply use the actual type identifier for recursive types in place of any?

Interfaces also appear to break this rule:
interface T { t: T };
const t = {};
t.t = t;
(t: T); // type-at-pos returns: {t: T}


WL-4672 Made LB-CSS folder hidden by default.

In SimplePageBean class when LB-CSS folder is added in resources, the
PROP_HIDDEN_WITH_ACCESSIBLE_CONTENT property is set to true for the folder.
For the existing LB-CSS folders in database a new job(class) -
LBCSSFolderHideJob is added. When this job is run , it will hide all the
visible LB-CSS folders from access users.

have implemented above comments and updates the pull request.


Download website unreachable

Hello everyone, I was trying to download the dataset from the website (https://bdd-data.berkeley.edu/) but it says "403 Forbidden".
Could you fix it?
I actually just need the "Labels" dataset (https://doc.bdd100k.com/download.html#labels). Could someone mirror that? Thank you.

It is back online now. Thanks for reporting.

It is back online now. Thanks for reporting.

Hi, it is offline again. Could you please help to fix it?

It is back online now. Thanks for reporting.

Hi, the website is down again. Could you please fix it?

It is back online now. Thanks for reporting.

I hope the website will be fixed soon

It is back online now. Thanks for reporting.

The website is offline again. Could you please fix it?


Tips is not installed. Once your device reboots, install Tips from the App Store and retry

iPhone SE 1st IOS 15.0
[*] Device should now show text on screen
[*] Waiting for the ramdisk to finish booting
Error connecting to device: No such file or directory
[*] Dumping blobs and installing Pogo
16169+215 records in
16376+0 records out
4192256 bytes transferred in 0.239563 secs (17499597 bytes/sec)
img4tool version: 0.197-aca6cf005c94caf135023263cbb5c61a0081804f
Compiled with plist: YES
Found IM4R extracting generator: ok
Saved IM4M to blobs/iPhone8,4-15.0.shsh2
seputil: Gigalocker file (/mnt7/3C8A1B10-BD4E-5222-A30E-49B3ADF2729E.gl) exists
seputil: Gigalocker initialization completed
[*] Tips is not installed.


Progress Indication for Resync

When initiating a complete resync, we currently get only the date in the log with which the harvest API is called in that moment, so we know Tobira is asking Opencast for all elements updated after that date. But it's hard to figure out how far along the resync is based on that. Something like "x of y events resynced" or even "z events left to sync" would be more helpful.

To show that information, the harvest API need to provide it. In particular, the harvest API would need to tell us the total number of events, series and playlists that would be sent if preferredAmount would be set to ∞. The search service (from which we receive events) very easily provides that number for us. The series and playlist service do not, so we would have to adjust the getForAdministrativeRead method. I haven't dug deeper how difficult it would be to do that. Should be fairly straight forward?
Sure, events are the most important metric, but it feels kind of dirty to just expose this information about events.
But yeah, someone would have to look a bit deeper into that.


Ignore some tests on Travis

If the right string is put into the pr body, travis will skip running those tests and simply throw a warning that those tests were skipped.
[WF_IGNORE:BLINK,MAX_LEN,SCRIPT,FILE_SIZE]

Whoops!
There were 4 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
wf_blink_components - check was skipped
[max line length](https://github.com/Google/WebFundamentals/blame/c5a7b998339ad6e94c364806993b8371f18ab365/max line length) - check was skipped
[<script> tag](https://github.com/Google/WebFundamentals/blame/c5a7b998339ad6e94c364806993b8371f18ab365/

Whoops!
There were 4 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
gulp-tasks/tests.js - wf_blink_components check was skipped
gulp-tasks/tests.js - max line length check was skipped
gulp-tasks/tests.js -


Fix validation of PVs with no supported actions.

Fix validation of PVs with no supported actions.  PVs with Action = "" and SupportedActions = [] to be valid.

cc @dymurray @djwhatle @eriknelson @sseago @jmontleon @ibolton336
I think we will want to include PVs with no supported actions.
Reasoning is to provide information to the user that we are unable to do anything with the specific PV(s).
I see 2 potential examples:

Hostpath used to store generated cache data, if it's not migrated the application will still work, will just regenerate the data

Hostpath used to store true persistent data, lack of migration causing application to fail

I think it's best to surface the information of "We found a PV but can't migrate it", this way the user is aware and can decide if they want to proceed or not.  Spoke to @eriknelson about this, plan is in the UI if a PV has no supported actions we will inform the user and when we validate the migrationplan in UI we will warn user a PV has no supported action for migration and ask if they want to continue.

Thanks @jwmatthews!
I revised the PR. The controller will set a Warn condition listing the PVs without supported actions.  Warning conditions do not block the Ready condition with means users will be informed but can still run migrations.
Ex:
    Type:                  PvNoSupportedAction
    Category:              Warn
    Last Transition Time:  2019-05-24T13:01:55Z
    Message:               PV in `persistentVolumes` [local] with no `SupportedActions`.
    Status:                True


add ability to use different terminal commands

Most editor commands accept -- as a flag to denote that no further flags
should be processed.
This allows opening files named like flags (e.g. -wait).

A user might have specialized terminal-like commands to open terminals with
certain properties (e.g. terminal-on-left, floating-terminal).
This allows a user to use those alternative commands instead of only
supporting the terminal command.
This patch also changes to docstrings to document the arguments similar
to other kakoune commands.

Can you place the copyright waiver as the first commit and squash the two commits into a single one?

Can you place the copyright waiver as the first commit and squash the two commits into a single one?

done

@alexherbo2, Is there anything you are waiting for me to change?

Are you sure the positional arguments are correct?

The positional arguments remain the same as the only change is the added prepended arguemnt when passing arg{@} but there is no way to slice the argument without going to sh and I don't think the performance hit is worth it.
With regard to #11 it will be too limited for me as I actually have specialized commands that I use (like suspend-and-resume or float-terminal).
If kakoune had proper scripting the actual API should be just decorating a command.
build_connect_command [cmd] that gets a command and returns it decorated with all the connect stuff.
That way you could just:
terminal ( build_connect_command %arg{@} )
But, AFAIK there is no way to return a value from a command in kakoune.
You can just implement #11 using connect-command.

terminal is an alias to the right windowing.  How about changing that alias to control it?

This is why you need to not care about the windowing, connect-command just builds the command and passes it to whatever command you want to use it.
As stated, a user can have multiple commands that operate on shell commands (e.g. terminal, repl, suspend-and-resume).
If you want to go minimal and leave windowing to someone else, only implement connect-command.
You can also try and implement some shell function so that we can run
terminal %sh{$KAK_CONNECT "$@"}
repl %sh{$KAK_CONNECT "$@"}

where KAK_CONNECT is a shell function that builds the command and prints it.

declare-user-mode terminal

map global terminal v ': alias global terminal terminal-vertical<ret>' -docstring 'Vertical'
map global terminal h ': alias global terminal terminal-horizontal<ret>' -docstring 'Horizontal'
map global terminal f ': alias global terminal terminal-floating<ret>' -docstring 'Floating'

map global normal <c-b> ': enter-user-mode terminal<ret>'

@ficoos terminal-mode.kak


RDK-42620,RDK-42827: Cherry SecondaryVideoPlane/AudioMixing

Reason for change: Support for SecondaryVideoplane and Audio mixing
Test Procedure: as per jira
Risks: None
Priority: P1
Signed-off-by: Aishwariya B<EMAIL_ADDRESS>

Duplicate of https://github.com/rdkcentral/rdkservices/pull/4376/, closing as facing some rebasing issues


Resolve differences from designs in FAQs

FAQ item

Perex should have line-height: 1.4
There should be a 5px margin between Header and perex

Feedback button

button needs to be aligned to the centre

Acceptance criteria

All mentioned issues perfectly match the designs in Zeplin

Resolved differences regarding spacing/typography of perex.
The contact button looks like this on my computer:

@jaroslav-kubicek, is there a specific step I need to make to reproduce the issue?

@kantord  this only happens on https://introduce-smart-faq.fe.staging.kiwi.com/en/

@jalbertsr wow! :-D haha now I see it!

@jalbertsr Ok so apparently the issue was that the button had display: block in frontend and display: inline-block in SmartFAQ (global styles/reset or something)
I pushed a solution which centers the button using display: flex, that should equally work with block and inline-block.

Perfect 💯 👍


Not available in the team account.

I'm going to use a team account. but An error called Command check has failed.  But it works well on personal accounts.
I'm Using Python 3.8.10 venv

This issue is related to dico, not dp.

Fixed on latest commit.

thank you.


Sitemap not responding | Bad Request

Hello, when trying to crawl a website with many links, sitemap doesn't work.
Response: {"timestamp":"2022-05-27T22:00:38.345+0000","status":400,"error":"Bad Request","message":"URLDecoder: Incomplete trailing escape (%) pattern","path":"/burp/target/sitemap"}%

The endpoint is responding "Bad Request" because it's receiving a wrong encoded string (see https://stackoverflow.com/questions/10590080/java-urldecoder-throws-exception-when-used-with-a-string-containing-a )
You are probably sending a wrong request similar to this
curl -v -X GET "http://<IP_ADDRESS>:8090/burp/target/sitemap?urlPrefix=https://www.site.com%" -H "accept: */*"
In addition to that, the right header to use is
-H "accept: */*"
not
-H "accept: /"


Update to the commit that fixes mmk_noreturn.

This goes along with https://github.com/ros2/Mimick/pull/29 .  Note that we'll have to update both the URL and the VERSION once we merge in the other PR; this is here for CI purposes.
@christophebedard FYI.

CI:

Linux
Linux-aarch64
Windows

One more round of CI, just to make sure I got the hash correct:

Linux
Linux-aarch64
Windows


RN2903 and Arduino Uno not Working with Library

I have been trying to use the official TTN Library with my Arduino Uno wired to my Microchip RN2903 with the SA1.0.3 firmware. I am using this board for the RN2903 and have wired it to my Arduino with using a logic level converter for the RN2903 TX -> Uno RX line and two voltage dividers for the RESET line and the Uno RX -> RN2903 TX line.
I had been using the jpmeijers with success and since been testing this library with the exact same pinouts, wiring setup and AltSoftSerial. My first issue I faced was the code repeating in the while section of the readLine function which from my understanding is in the process of being resolved as documented firstly here and secondly here.
My pinouts are:

RN2xx3 -- Arduino
Uart TX -- 8
Uart RX -- 9
Reset -- 12
Vcc -- 3.3V
Gnd -- Gnd

My Arduino code for all testing was based on the SendABP example, however was adjusted to support the Arduino Uno as shown below. Do note that I am using the AU915 frequency plan:
#include <TheThingsNetwork.h>
#include <AltSoftSerial.h>

AltSoftSerial loraSerial;

// Set your DevAddr, NwkSKey, AppSKey and the frequency plan
const char *devAddr = "ADDR GOES HERE";
const char *nwkSKey = "NWKSKEY GOES HERE";
const char *appSKey = "APPSKEY GOES HERE";

#define debugSerial Serial

// Replace REPLACE_ME with TTN_FP_EU868 or TTN_FP_US915
#define freqPlan TTN_FP_AU915

TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);

void setup()
{
  loraSerial.begin(9600);
  debugSerial.begin(57600);

  // Wait a maximum of 10s for Serial Monitor
  while (!debugSerial && millis() < 10000)
    ;

  debugSerial.println("-- PERSONALIZE");
  ttn.personalize(devAddr, nwkSKey, appSKey);
  debugSerial.println("-- STATUS");
  ttn.showStatus();
}

void loop()
{
  debugSerial.println("-- LOOP");

  // Prepare payload of 1 byte to indicate LED status
  byte payload[1];
  payload[0] = (digitalRead(LED_BUILTIN) == HIGH) ? 1 : 0;

  // Send it off
  ttn.sendBytes(payload, sizeof(payload));

  delay(10000);
}

I did some testing printing the read, buffer and size values by adjusting the TheThinksNetwork.cpp as follows starting on line 360:
size_t TheThingsNetwork::readLine(char *buffer, size_t size)
{
  debugPrintLn("Before1");
  size_t read = 0;
  debugPrintLn("Before2");
  while (read == 0)
  {
    read = modemStream->readBytesUntil('\n', buffer, size);
    debugPrint("read value: ");
    debugPrintLn(read);
    debugPrint("buffer value: ");
    debugPrintLn(buffer);
    debugPrint("size value: ");
    debugPrintLn(size);
  }
  debugPrintLn(read);
  debugPrintLn("After1");
  buffer[read - 1] = '\0'; // set \r to \0
  debugPrintLn("After2");
  return read;
}

My output from this is as follows:
-- PERSONALIZE
Before1
Before2
read value: 0
buffer value:
size value: 512
read value: 0
buffer value:
size value: 512
read value: 0
buffer value:
size value: 512
...

As I didn't know where to go from here, I resorted to copying the content of the three files changed in the pull request by savnik.
These three adjusted files are:
TheThingsNetwork.md
TheThingsNetwork.cpp
TheThingsNetwork.h

The output from these changes are below. This output took about 40 minutes, with each `mac set ch status` taking about 30 seconds each to appear.

-- PERSONALIZE
Model: Version: Sending: mac set deveui
Sending: mac set adr off
Sending: mac set devaddr DEVADDR IS HERE!
Sending: mac set nwkskey NWKSKEY IS HERE!
Sending: mac set appskey APPSKEY IS HERE!
  I checked to make sure that my credentials were correct and they were, so on the TTN side everything should have worked.
Also note the blank value under STATUS which I can only assume should contain information.
The above channels also look correct being from channels 8-15 and then 65, so there is nothing wrong with the frequency plan either.
So the current problems are as follows:

Looping in the readLine function
Long initialisation setup time for adjusted library
Missing values under STATUS

From my perspective part of the problem is the same as that which is present with the readLine function, but I think there may be something else which is causing a problem. From my testing of this library over the last 6 months using both an Arduino Uno or an Arduino Nano, never have I successfully used it, unlike some people I know who have been able to with The Things Uno.
What I do know are correct:

Wiring
AltSoftSerial
Hardware
Frequency plan
Credentials
Antenna
RN2903 firmware

Hi @johanstokking,
Using @jpmeijers library I am able to execute commands on the RN2903.
In addition, I have used the following code without either @jpmeijers or the TTN library and it succeeded in send a message to the RN2903 and sending one back. On my board a LED is connect to GPIO10, so for testing I flicked it on and off.
Below is my code. It's not pretty, but it shows that it works with my current setup:
#include <AltSoftSerial.h>

AltSoftSerial loraSerial;

void setup()
{
  Serial.begin(57600); //serial port to computer
  loraSerial.begin(9600); //serial port to radio
  Serial.println("Startup");
  initialize_radio();
  delay(2000);
  Serial.println("RN2xx3 firmware version:");
  Serial.println(sysver());
}

void loop()
{
  sendRawCommand(F("sys set pindig GPIO10 1"));
  delay(1000);
  sendRawCommand(F("sys set pindig GPIO10 0"));
  delay(1000);
}

void initialize_radio()
{
  //reset rn2483
  pinMode(12, OUTPUT);
  digitalWrite(12, LOW);
  delay(500);
  digitalWrite(12, HIGH);

  delay(100); //Wait for the RN2xx3's startup message
  loraSerial.flush();

  autobaud(); //Autobaud the rn2483 module to 9600. The default would otherwise be 57600.
}

String sendRawCommand(String c)
{
  while(loraSerial.available())
  {
    loraSerial.read();
  }
  loraSerial.println(c);
  String ret = loraSerial.readStringUntil('\n');
  ret.trim();
  return ret;
}

String sysver()
{
  String ver = sendRawCommand(F("sys get ver"));
  ver.trim();
  return ver;
}

void autobaud()
{
  String response = "";
  while (response=="")
  {
    delay(1000);
    loraSerial.write((byte)0x00);
    loraSerial.write(0x55);
    loraSerial.println();
    loraSerial.println("sys get ver");
    response = loraSerial.readStringUntil('\n');
  }
}

So the issue is that this bare code is faster than when you use the library?
That's pretty weird...

I'd say so, but the bigger issue is that the library simply does not play nice with the official TTN library.

Which library does not play nice with the TTN library?
The only obvious thing I see in your code is that you swapped the baud rates for debug and the radio; if you use 9600 for the RN module instead of 57600 then everything is clearly slower.

Sorry, I meant to say board. ;) The baud rate I normally use is 9600, I'll try changing that.

@ElectronicallyE did you figure out in the meantime why the TTN library doesn't work?

@johanstokking, unfortunately I haven't. Completely slipped out of my mind. I won't be able to get back into it till the end of the year, but when I make progress, I'll be sure to get back in touch.

OK please reopen when the issue is still there.

Was this ever fixed? I tried the RN2903 module and still cant get this to work.

Hey @brolly759 I didn’t end up resolving this issue as I no longer had the need to develop a board I was designing which used the RN2903. Have a look at this library, which I believe I got working, but was stuck on SF12 packet size limits: https://github.com/jpmeijers/RN2483-Arduino-Library

I tested that library out as well.  I couldn't do more than 11 byte payloads. Also running into issues trying to get network status on there. In their code they have a switch statement for the RN2903, I guess I could compare the TTN library verse theirs to see the differences. Maybe I will just go with a different UART Lora module. ;)

Yep, that’s about where I stopped. Was just putting a heap of time into it with very little progress and by the end it was more effective to just go with a MKR WAN 1310.
Oddly enough, the TTN Uno as far as I know didn’t have these problems, which makes me suspect it was something about the Uno and the RN2903.

MKR WAN 1310. That uses a Murata module and looks like SPI to control it over an SAMD21 processor. Not as easy as UART.

Nevermind, looking at the source code it looks like UART. Still a bit overkill if I wanted to use an ATMEGA328P.

haha, I got it to work! That was easier than I thought. Make sure the buadrate for both serial ports is set to 9600. 57600 is too fast and data can get corrupted with the softwareserial library. Then all you had to do was call ttn.reset(); after loraSerial.begin(9600); debugSerial.begin(9600);
My theory is this, the autobuad() function isnt called after the serial ports are initialized and we have a buadrate mismatch.
The OTAA example works fine.

@brolly759 your solution, how much does it differ from that is documented at https://www.thethingsnetwork.org/docs/devices/arduino/usage.html#serial-ports?
If the documentation is wrong or incomplete, please let us know, or file a pull request to fix it.

@jpmeijers First off, great work!
The documentation isn't wrong at all.
The only thing you need to add, at least for the "Arduino Uno, Arduino Nano or other devices using SoftwareSerial" section is ttn.reset(); in the setup() function after the serial.begin statements.
Reasoning: because we are changing the baudrate from 57600 to 9600 we need to run the autobaud function after the serial ports are initialized. The autobaud() function is private in the library and the only time its called is in ttn.reset(); Its also good habit to reset the Microchip module on startup anyways.


Graph overlay was expanding off the screen to the size of the prompt line

sure this isn't really important at the moment
just limited the size of the width and gave it a shadow

The Node Editor is very WIP at the moment but no worries at all. If something is bothering you, feel free to pitch up a fix. It all adds up for later anyway. Thanks for the PR.


River Types

Is your feature request related to a problem?
No.
Describe the solution you'd like
Give rivers their own secondary terrain type that depends on the surrounding terrain and biome it currently goes through to give it more varation.
Describe alternatives you've considered
None.
Additional context
This is very content heavy so I recommend you to take a look at this link to make anything out of it:
https://www.popoptiq.com/types-of-rivers/#How_Rivers_are_Classified

Rivers will be more varied. They won't be getting new terrain types


implement udpTunnel

Looks great. Thank you!
What setup did you use to test?

I used just a simple echo server with netcat clients


Get addrress by coin not working

Bug Report
Version

Current behavior

Expected behavior

Steps to reproduce

Related code

insert short code snippets here

Other information

fixed in #116


Weird error after adding roms.

[11/26/15 21:21:03] =========================Starting Ice
[11/26/15 21:21:03] Detected Emulator: mednafen
[11/26/15 21:21:03] Emulator '' not found for Nintendo DS. Ignoring
[11/26/15 21:21:03] Emulator '' not found for Playstation 2. Ignoring
[11/26/15 21:21:03] Emulator '' not found for Sega Dreamcast. Ignoring
[11/26/15 21:21:03] Emulator '' not found for Nintendo Gamecube. Ignoring
[11/26/15 21:21:03] Emulator '' not found for Nintendo 64. Ignoring
[11/26/15 21:21:03] Emulator '' not found for Nintendo Wii. Ignoring
[11/26/15 21:21:03] Detected Console: Super Nintendo => mednafen
[11/26/15 21:21:03] Detected Console: Playstation 1 => mednafen
[11/26/15 21:21:03] Detected Console: Nintendo Entertainment System => mednafen
[11/26/15 21:21:03] Detected Console: Gameboy Advance => mednafen
[11/26/15 21:21:03] Detected Console: Sega Genesis => mednafen
[11/26/15 21:21:03] Detected Console: Nintendo Gameboy => mednafen
[11/26/15 21:21:04] ---------------Running for user 153692781
[11/26/15 21:21:04] ####################################
[11/26/15 21:21:04] An Error has occurred:
[11/26/15 21:21:04] 'utf8' codec can't decode byte 0xbd in position 6: invalid start byte
Traceback (most recent call last):
File "", line 45, in
File "", line 33, in main
File "c:\Users\Scott.Scott-PC\Development\Projects\Ice\build\ice\out00-PYZ.pyz\ice.rom_manager", line 91, in sync_roms
File "c:\Users\Scott.Scott-PC\Development\Projects\Ice\build\ice\out00-PYZ.pyz\ice.rom_manager", line 78, in remove_deleted_roms_from_steam
File "c:\Users\Scott.Scott-PC\Development\Projects\Ice\build\ice\out00-PYZ.pyz\ice.rom", line 53, in to_shortcut
File "c:\Users\Scott.Scott-PC\Development\Projects\Ice\build\ice\out00-PYZ.pyz\ice.rom", line 40, in name
File "c:\Users\Scott.Scott-PC\Development\Projects\Ice\build\ice\out00-PYZ.pyz\encodings.utf_8", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbd in position 6: invalid start byte
[11/26/15 21:21:04] ####################################
I don't know what this means. I did add like 600 roms from various flash drives I had.

I get the same error, even with the latest 1.0.0 release.


Add tests for centos7 and amazonlinux, add back travis ci for ansible-galaxy content scoring

These tests were failing due to b/181554122. Adding them back now that has been resolved.
Also add back .travis.yml file since Ansible galaxy uses it generate its content score shown here: https://galaxy.ansible.com/googlecloudplatform/google_cloud_ops_agents

@qingling128 ping :)


Release artifacts (model, dataset) on Hugging Face rather than Dropbox

Hi @jeohalves,
Niels here from the open-source team at Hugging Face. I discovered your work as it was submitted on AK's daily papers: https://huggingface.co/papers/2411.17863. The paper page lets people discuss the paper, and discover its artifacts (such as models, dataset, a demo in the form of a 🤗 Space).
It'd be great to make the checkpoints and dataset available on the 🤗 hub, to improve their discoverability/visibility, rather than Dropbox. We can add tags so that people find them when filtering https://huggingface.co/models and https://huggingface.co/datasets.
Uploading models
See here for a guide: https://huggingface.co/docs/hub/models-uploading.
In this case, we could leverage the PyTorchModelHubMixin class which adds from_pretrained and push_to_hub to any custom nn.Module. Alternatively, one can leverages the hf_hub_download one-liner to download a checkpoint from the hub.
We encourage researchers to push each model checkpoint to a separate model repository, so that things like download stats also work. We can then also link the checkpoints to the paper page.
Uploading dataset
Would be awesome to make the dataset available on 🤗 , so that people can do:
from datasets import load_dataset

dataset = load_dataset("your-hf-org/your-dataset")

See here for a guide: https://huggingface.co/docs/datasets/image_dataset
Besides that, there's the dataset viewer which allows people to quickly explore the first few rows of the data in the browser.
Let me know if you're interested/need any help regarding this!
Cheers,
Niels
ML Engineer @ HF 🤗

Hi Niels,
Thank you for reaching out and for your interest in our work! I appreciate the suggestions and the detailed walk-through.
We’re currently planning to improve our support for Hugging Face and integrate these resources soon. Once we’ve made progress or have updates, we’ll be sure to get in touch. In the meantime, please don’t hesitate to reach out if you have further suggestions or if there’s anything specific you’d recommend as we plan this integration.
Thanks again for your outreach and support!
Best regards,
Jeovane


The release management email list should be sorted by Version

We should have all the issues impacting 45 first, 46 second etc
For now, it is sorted by bug id

I will work on it @sylvestre

@anoopvalluthadam Have you been able to make some progress on this? Thanks

Will update you by today evening
On Mon, Apr 25, 2016, 9:57 PM Sylvestre Ledru<EMAIL_ADDRESS>wrote:

@anoopvalluthadam https://github.com/anoopvalluthadam Have you been
able to make some progress on this? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/mozilla/relman-auto-nag/issues/76#issuecomment-214429596

--
~anoop_valluthadam

Pretty sure this is fixed.


Added to rules

I tried to add a helpful tip that all open source editors should know and care about. Hope it helps!

We reworked contributing.md. You can add your proposal reworded. Please take more welcoming words and more explanations.
Note: This is a similar PR to #37 adding nearly the same words. So I flagged "invalid".


docker-build-rhtap: create a new show-sbom task compatible with RHDH

Previous title: emit the LINK_TO_SBOM result
~This result contains the URL to the OCI artifact that stores the SBOM. It is meant primarily to be consumed by RHDH and ODC. The URl follows the format:~
~registry.io/user/image:sha256-hash.sbom~
~Note that this URL is not meant to be used with cosign, as it automatically resolves it when performing a "cosign download sbom registry.io/user/image:actual-tag".~
This PR was changed based on the comments on this thread. We need to annotate the show-sbom task instead of buildah-rhtap. But since Pipelines as Code will clear the annotations, they need to be re-added using a dedicated step in the task.
To avoid breaking the Konflux pipeline, we're temporarily splitting the show-sbom into a new show-sbom-rhdh so that the latter can have all the necessary changes for the RHDH integration.

the step that re-adds the annotations is forbidden in Konflux by the Enterprise Contract.

For my info, how is that forbidden? What's the error message and where did you see it?

@mmorhun was the one that told me the EC doesn't allow the tasksRuns to modify the pipeline in any way. Do you have more info on it, Mykola?

/retest

/retest

e2e tests fail on known nissue.


Change from math.sqrt to numpy.sqrt

Enables one to work with Lists and Arrays of Data.
I dont know where to make an annotation in the code or documentation sorry.
For more Infomation see: This Issue

I dont think its a issue with the changes i made but with coveralls. Alle the checks for fluids.core
passed.
Error Message at the end of the files:
====== 491 passed, 61 skipped, 1 deselected, 1 warnings in 63.28 seconds ======
Not on TravisCI. You have to provide either repo_token in .coveralls.yml or set the COVERALLS_REPO_TOKEN env var.
Traceback (most recent call last):
File "c:\hostedtoolcache\windows\python\2.7.18\x86\lib\site-packages\coveralls\cli.py", line 61, in main
service_name=options['--service'])
File "c:\hostedtoolcache\windows\python\2.7.18\x86\lib\site-packages\coveralls\api.py", line 64, in init
self.ensure_token()
File "c:\hostedtoolcache\windows\python\2.7.18\x86\lib\site-packages\coveralls\api.py", line 73, in ensure_token
self.config_filename))
CoverallsException: Not on TravisCI. You have to provide either repo_token in .coveralls.yml or set the COVERALLS_REPO_TOKEN env var.
Error: Process completed with exit code 1.


MSA Authenticator asks repeatedly for permission

This is related to https://github.com/OneDrive/onedrive-sdk-android/issues/36.
While issue 36 is solved (OneDrive 4 Business), the same or similar issue exists with the regular OneDrive (MSA).

Authenticate using a OneDrive account (non business, ui) + grant permissions
Swipe the app from the recent list (-> app is killed)
Re-open the app, app tries to login again -> the user gets the popup asking for permission (which was already granted). This happens each time, also when the device is restarted.

I'm using the unaltered latest versions of all libraries:
    compile ("com.onedrive.sdk:onedrive-sdk-android:1.1.4") {
        transitive = false;
    }
    compile "com.microsoft.services.msa:msa-auth:0.8.6"
    compile "com.microsoft.aad:adal:1.1.16"
    compile "com.google.code.gson:gson:2.6.2"

I compared this to the explorer sample app and here's the difference: the scope. The sample app requests "wl.offline_access" which my app doesn't. If I add that scope all works as expected.
My device isn't offline so this permission should not be needed.
https://dev.onedrive.com/auth/msa_oauth.htm:

Allows your application to receive a refresh token so it can work offline even when the user isn't active

Sorry for the delay, I was out of the office.
If you do not have the wl.offline_access scope in your application, the user will be prompted to authorize your application via OAuth flow ever time they start the application.  If you want the login, and not be prompted again experience for your users you will need to add that scope.

Closing out this older issue, please reopen if this is still a problem


[Polymetis] Add minimum libfranka version to docs

Description
Please include a summary of the change and link to an issue this PR fixes. Please also include relevant context. List any downstream components that might be affected by this change.
Fixes # (issue)
Type of change
Please check the options that are relevant.

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] Proposes a change (non-breaking change that isn't necessarily a bug)
[ ] Refactor
[ ] New feature (non-breaking change that adds a new functionality)
[ ] Breaking change (fix or feature that would break some existing functionality downstream)
[ ] This is a unit test
[x] Documentation only change
[ ] Datasets Release
[ ] Models Release

Type of requested review

[ ] I want a thorough review of the implementation.
[x] I want a high level review.
[ ] I want a deep design review.

Before and After
If this PR introduces a change or fixes a bug, please add before and after screenshots (if this is causes a UX change) or before and after examples(this could be plain text, videos etc ) to demonstrate the change.
If this PR introduces a new feature, please also add examples or screenshots demonstrating the feature.
Testing
Please describe the tests that you ran to verify your changes and how we can reproduce.
Checklist:

[ ] I have performed manual end-to-end testing of the feature in my environment.
[ ] I have added Docstrings and comments to the code.
[ ] I have made changes to existing documentation where needed.
[ ] I have added tests that show that the PR is functional.
[ ] New and existing unit tests pass locally with my changes.
[ ] I have added relevant collaborators to review the PR before merge.
[ ] [Polymetis only] I ran on hardware (1) all scripts in tests/scripts, (2) asv benchmarks.

Codecov Report

Merging #1186 (4521640) into main (7ce6725) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1186      +/-   ##
==========================================
- Coverage   34.15%   34.10%   -0.06%
==========================================
  Files         346      345       -1
  Lines       34243    33988     -255
==========================================
- Hits        11695    11590     -105
+ Misses      22548    22398     -150

Impacted Files
Coverage Δ

lowlevel/minecraft/pyworld/fake_mobs.py
88.13% <0.00%> (-0.85%)
:arrow_down:

agents/droidlet_agent.py

interpreter/robot/tests/world.py
75.18% <0.00%> (+0.72%)
:arrow_up:

agents/_agent.py
51.37% <0.00%> (+10.19%)
:arrow_up:


Create timeline

Rough concept ..

Solution architecture, Compliance, IITB Finance -> ARC (within 2 months)

IAERMB, Legal, CFOB, ... -> EARB (August / September)

Link to existing document and close ...

https://014gc.sharepoint.com/:x:/r/sites/strategyBuildvsBuy/_layouts/15/Doc.aspx?sourcedoc={1753B0A3-ACAE-41A3-BC1E-78C37FB6164E}&file=stakeholders-engagement.xlsx&action=default&mobileredirect=true


Extract Frames, Apply Filter, Merge Frames

What is the best way to approach first splitting a video into frames, applying a certain filter, and then rejoining the frames into a new video? I have been having a lot of trouble approaching this task. Any help would be greatly appreciated.

What is the filter you need to apply on frames ? ffmpeg has a lot of built-in filters, if some of them can achieve what you want then it'll be a simple command :)

Grayscale and a few other text layovers. However, this needs to run on a server so that’s why I chose fluent-ffmpeg. I am having trouble being able to take in several frames or video, apply some sort of filter, and then recompile the frames and allow the user to download the video.

On Apr 29, 2016, at 2:09 AM, Nicolas Joyard<EMAIL_ADDRESS>wrote:
What is the filter you need to apply on frames ? ffmpeg has a lot of built-in filters, if some of them can achieve what you want then it'll be a simple command :)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/534#issuecomment-215633956

You can definitely do that with a single command. Try to achieve it on the command line and then if you need help converting it to a fluent-ffmpeg call, come back here :)
Some pointers :

colorchannelmixer filter, grayscale example : https://ffmpeg.org/ffmpeg-filters.html#Examples-36
drawtext filter : https://ffmpeg.org/ffmpeg-filters.html#drawtext-1

Oh for grayscale you're probably better off using the eq filter to set saturation to 0.

I've figured out how to do it on the command line just been having trouble converting it to fluent-ffmpeg

What is your command, your code, and the issues you're having ?

ffmpeg -i input.mp4 -vf fps=1 out%d.png
This line outputs one frame every second.
ffmpeg -f image2 -framerate 12 -i out%d.jpeg -s WxH newVideo.mp4
This line merges all of the frames and outputs the video.
I cannot figure out how to do this within fluent-ffmpeg.

The second one cannot be done currently, I think. You should really use filters with a single command, though :)


voteOnly System.

Btw u can just do 1 commit for all file you have edited. i'm not gonna merge this PR coz i'm making something new on the repo.


Opentest : Not able to run opentest template on port other than 3000.

Hi Adrianth
I am running opentest through jenkins and the server is running on port 3010 ..
From the UI I am able to run a template successfully.
But when I create a session and run the ame template from  jenkins it shows me the below error
=====================================================
+ opentest session create --template check_template_test --wait --out test_output_junit.xml
Error:  connect ECONNREFUSED <IP_ADDRESS>:3000

====================================================
I am not sure why it is trying to find 3000 even though my server is running on port 3010.
Can you please help me out here.
Thanks In Advance.
Rabindra Nath Gogoi.

By default, the opentest session create command will try to connect to http://localhost:3000. If your server is running on a different port or different machine, you must specify the server URL using the --server argument:
opentest session create --server http://localhost:3007 --template ...

Thanks Adrianth.. It worked


Migrations ran_on using current date

When I run a batch of migrations. The ran_on column takes the current date. I feel this should be the timestamp of the migration file. This will help us in rolling back the last ran migrations,
When the ran_on has the same timestamp rollback might not undo the last migration ran as ordering by ran_on may not point to the previous migration.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25944787-migrations-ran_on-using-current-date?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F73887&utm_medium=issues&utm_source=github).

@ramakrishnan This sounds more to me, as if you're manipulating the order in which you execute your migrations. As they get executed in the order of their timestamps.
Please provide a use case, when this would happen and why you think this would be a solution that would fit in more natural, then using the actual point in time, to give me an insight and make me able to make the right decision.
Thank you

Also I don't understand your logic at this point:

This will help us in rolling back the last ran migrations,

When you want to rollback the last ran migration, than it has to be the actual timestamp, as you might have copied over a migration from another project, which timestamp doesn't fit in.

@wzrdtales
Lets say if I create two migrations.
create_customers and create_accounts, thought the file name will have different (timestamp) when ran using db-migrate up the migrations table's ran_on will have the same timestamp, as both these migrations got executed on the same time.
Lets assume customer got created first and accounts got created later.
Now what if I need to rollback one level down. (ie) rollback accounts. Things will be fine as long as the database returns the migrations in proper descending order. ie  SELECT * from migrations order by ran_on desc.
But what if the order returns customer in the top, since its ordering on ran_on which is the same for both the records.
Is this an edge case during rollback? Also I feel the behavior could be different in different databases.

Any thoughts on my comments?

Yes but the last two days I have dedicated to other projects.
Actually the sorting is like the following: https://github.com/db-migrate/node-db-migrate/blob/master/lib/driver/base.js#L473
First sorting with the run date and then with the migration date. That is perfectly fine already, as if there were executed many migrations at the same time, they would be rolled back in the same order of their names. The ordering of db-migrate and the Databases using DESC is identically. If there might be any database System that does handle this different, this is not a problem of db-migrate. This is something that needs to be fixed in the allLoadedMigrations function of the specific driver.
That means, if there is a database System out there which someone provides a driver for, it is his responsibility to return the right ordering if the db doesn't do this.

Thanks a lot for the clarifications. It makes sense, it boils down to the driver's implementation of handling allLoadedMigrations.

No problem, if you have any other questions don't hesitate to ask.


change the TET FREE mesh to a HEX SWEEP mesh

Excuse me. I changed the TET FREE mesh to a HEX SWEEP mesh when I modified the mesh generation command in the program. After importing into cae, only a 2D section mesh is generated, not a 3D mesh. How can this be resolved? Thank you!
1221.docx

Thanks for the bug report!
I think that when you use the HEX SWEEP mesh, it should already be guaranteed to be periodic.
If you comment out https://github.com/KnutAM/AbaqusRolloverSimulation/blob/d3c6d9bf027be103563ac2838d9924a46fb7a9c5/rollover/three_d/rail/mesher.py#L176-L178
This seems to produce the mesh at least and should get you further.
A long-term solution should be to check if the mesh is already periodic in the make_periodic_meshes function. Then only periodize if required as this operation is rather fragile in Abaqus. Not sure why it fails in this case and why Abaqus doesn't give any error when calling generateMesh().
Let me know if this solves your problem, but let's keep this issue open as a reminder to add a permanent solution in the future that doesn't rely on modifying the source code.

Thank you very much for your reply! Now I have solved the problem.


Symfony 3 Compatibility

Is it planned to make this bundle compatible with Symfony 3 ?

This bundle has not been updated since 2 years. I do not think that it will be updated for Symfony 3.
But, i used it on Symfony 2.8.4 and it work well. I have not had any problems.

Aren't there other people willing to maintain it? Or is there something similar to it?

It seems none want to maintain it to Symfony 3.
I did not get any problems with Symfony 2.8.4.
I would like to maintain it but i've dont have time :/

Pretty sure a lot of people would love to maintain it but nobody has time indeed. Biggest problem of open source.

Yes of course !
There is the problem of the open source... I'm working on a open source project for my job but i do not have the time to spend my free time to develop other open source project.
BTW, this bundle is really good, it helped me a lot.

Hello,
Can you list the task in order to update the bundle please ?
Give us some instruction to do this please.

@egeloen Said he's not maintaining it because he doesn't use it anymore.

I made fork for sf 3.1 if any of you is interested
https://packagist.org/packages/fungio/google-map-bundle

Hi @fungio !
Actually, I am interested, and thank you for pointing it out! I'm sure going to give that a try, and maybe @egeloen might consider merging your work back in to the master...?
It does make me wonder if @egeloen said he is not maintaining it because he's no longer using it, what are indeed possible alternatives? Anyone recommendations?
Thanks!

@egeloen mentioned not wanting to maintain this anymore so maybe he could give maintenance control to @fungio and others could make use of it?
Thanks @fungio for your work. Much appreciated.

It's too bad he is not maintaining it anymore ! It's a really good bundle, very useful ! I'm sure lot of people are using it ! I sure do !

@fungio thanks for forking this repository, but why only for Symfony 3.1? And I couldn't add an issue on your branch, where this message would make more sense to be posted.

Yep sorry issues were not enabled. It is now.
I needed it to work with 3.1 but it could definitely work with other versions. Just make an issue I'll work on it ;)

Your issue has been fixed by #159 but will only be part of the 3.x version of the bundle.


Add MacOS interop and UBSan C to internal CI

Eventually we will need to add UBSan C++, but that can wait until its results aren't noisy.
Linux interop tests still aren't enabled, but I'd also like to start experimenting with MacOS interop tests, since these only test cloud_to_cloud.

All comments addressed except for

wrong command. no --use_docker on mac.
At the same time, without --use_docker you can't use --server option at all (AFAIR).
I think the most you can do here is --cloud_to_prod. We might be able to do a limited subset of --cloud_to_prod_auth at some point, but not right now.

This command comes from https://github.com/grpc/grpc/blob/master/tools/jenkins/run_interop_objc.sh written by @makdharma.
I've been working on getting this to work on one of the Jenkins Mac workers and I am currently stuck on a non-Docker related issue, but Docker on the Mac seems to work fine with Docker Machine. AFAIK, it should be possible to run Obj-C locally and use Docker for the other languages acting as the server. I'm adding this internally to see if our internal environment might be easier to get this test running on.

Not sure I'm happy about running Docker on the mac workers (seems like a fairly heavyweight solution). It might make more sense to actually get run_interop_tests.py working with non-docker servers (but maybe not).

For per language interop testing between ObjC and all languages I could not come up w

Sorry closed by mistake. disregard previous comment.

I'll try to get interop MacOS working internally, and if it's not working, I'll work with Makarand to see if it's possible to run this test without Docker.
All tests were passing before resolving merge conflict.

No significant performance differences


Create an ABAP Core Data Services (CDS) View in SAP Cloud Platform, ABAP Environment

Tutorials: https://developers.sap.com/tutorials/abap-environment-create-cds-mde.html
Write here how you think we can improve the tutorial ...
In Step 6: Create service binding, the Binding Type = ODATA V2 (UI…) is suggested.
But the UI annotation didn't work when the bingding type is OData V2 UI in preview.
However, the UI annotation can work when he bingding type is OData V4 UI in preview.
Is there any mistake/typo about the binding type?

Hi,
I've just tested this. Which annotation are you referring to?
For me, they are all working - using OData V2 UI.
I apologize for the delay. If you could just clarify this, I will investigate further.
Thanks and best wishes,
Julie.

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


Dist-optim fixes

What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
Changelog

Please update the CHANGELOG.md under next version with high level changes in this PR.

Usage

You can potentially add a usage example below

# Add a code snippet demonstrating how to use this

Before your PR is "Ready for review"
Pre checks:

[ ] Make sure you read and followed Contributor guidelines
[ ] Did you write any new necessary tests?
[ ] Did you add or update any necessary documentation? Make sure to also update the NeMo Framework User Guide which contains the tutorials

Checklist when contributing a new algorithm

[ ] Does the trainer resume and restore model state all states?
[ ] Does the trainer support all parallelism techniques(PP, TP, DP)?
[ ] Does the trainer support max_steps=-1 and validation?
[ ] Does the trainer only call APIs defined in alignable_interface.py?
[ ] Does the trainer have proper logging?

Additional Information

Related to # (issue)

@akoumpa Could you PR against #380 ? I caught a few of the changes missing for mcore dist opt over there

Closing so you can re-create a PR targetting that branch

synced with @terrykong offline; will pull 392 in 380.


Blocks jump to workspace when deleting in palette

Breaking out this issue from: https://github.com/LLK/scratch-blocks/issues/675
Expected Behavior – as seen in scratch-vm as of 2/21/17

When the user drags the block over the palette and drops the block to delete, the block should drop into z-space and remain over the palette.
Actual Behavior – as seen in scratch-gui as of 2/21/17

When the user drags the block over the palette and drops the block to delete, the block jumps horizontally back over the workspace and then animates back.
Operating System and Browser
Browser: Chrome Version 56.0.2924.87 (64-bit)
OS: macOS 10.11.6 (15G31)

Confirmed just now on Firefox 50.1.0, Ubuntu 16.04 LTS.
When half-moving a block onto the flyout (without it being deleted), it gets pushed off back to the workspace. That code probably interfered with this, pushing it off to the workspace and then deleting it.

My new dragging code fixes this; it's a pain to fix with the current code.

Fixed by https://github.com/google/blockly/pull/1078

Fixed in scratch-blocks by #891


Remove: Unity.Unity.6000.MacMono version 6000.0.12f1

Microsoft Reviewers: Open in CodeFlow

URL: https://download.unity3d.com/download_unity/7defd84cdab8/TargetSupportInstaller/UnitySetup-Mac-Mono-Support-for-Editor-6000.0.12f1.exe
OK
(Automated message - build 923)

https://github.com/microsoft/winget-pkgs/pull/186121#issuecomment-2445759087

[Policy] Needs-Manual-Merge


Broken link for MyGet in README.md

Versions
master branch on GitHub
Describe the bug
The highlighted link is broken.

Expected behavior
Show an article talking about how to enroll into MyGet.

PR #977 fixes issue.


Automatic binding expectations per subject

Closes #50
After merging this, we should remove the default expectations from all exercises.

Fixes #42 too


Adding Estonian language

Working on adding Estonian language support

We've changed a bunch of stuff around in the last 2 days as we introduced responses to the repository. This means that this PR is no longer up to date and it's missing responses for all intents + it's format changed slightly. I would suggest to start with a clean add_language command and copy your files on top of it.


docs: Add documentation for AKS enableWorkloadIdentity Flag

Reason for Change:

If a user enables the workload identity on the AKS Cluster, there is no need for manual installation of mutating admission webhook, By enabling workload identity on the AKS Cluster it installs the mutating admission webhook components in the kube-system namespace by default.

No

Helm chart is auto-generated in Azure AD Workload Identity. If you have any changes in charts directory, they will get clobbered when we do a new release. Please see https://github.com/Azure/azure-workload-identity/blob/main/third_party/open-policy-agent/gatekeeper/helmify/static/README.md#contributing-changes for modifying the Helm chart.
No
Requirements

[x] squashed commits
[x] included documentation
[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

Please answer the following questions with yes/no:
Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

[x ] no

Notes for Reviewers:
Documentation update include details enabeWorkloadIdentity flag, by updating the existing cluster by setting this flag to true, users are no longer required to install the mutating admission webhook.
https://learn.microsoft.com/en-us/azure/aks/workload-identity-deploy-cluster#update-an-existing-aks-cluster

@akhiljimmy7 I think, you should rebase and squash commits.