Generate clusters, which are not backed up by present markers

I'm working with a search-engine for OSM and came across a problem which I'm not sure how to solve elegantly.
In principal, I want to create markerClusters, which are not backed up by markers. That means, I get the information from the server, that a specific region (bbox) on the map contains e.g. 50000 locations which are just markers at different places. Now I want to draw a Cluster element which contains the information "500000", but not by downloading the actual location elements and clustering them. This should be done on-demand, if the user clicks on the clustericon or by zooming. The search-engine is then giving me more informations about how the region is separated into more regions, for which I want to draw again clustericons.
In some cases, the regions are small enough, that I can easily download everything and cluster it locally. And I also want these clusters (described at the top) to merge with clusters generated with this library. Thats the reason why i want to extend the current library.
I've worked through the code for the last two days and thought about how to integrate this easily, but it seems pretty tough. Do you have any hints for me on this topic?

Check out #351 for some details.
I think: do the server side clustering, send the resulting mid/lower level clusters down and cluster those, override the icon creation function so your icons take in to account the amount of clusters contained in these clusters.
When you zoom below their level request lower level clusters for the visible viewport.

just started, but I think this is working pretty good. Thanks a lot for your help!

one more question, associated with this whole server-side clustering:
the common scenario is, that a user inserts a query and the server returns information about the clustering. using the tips that you posted i can set up clustericons, which can be clicked so that more information about this area is loaded. the server just returns clustering information, as long as the user clicks on a clustericon, which has a cluster-count bigger than a constant: otherwise the whole items of the area is downloaded.
Now I want to eliminate the action of clicking the clustericons. The workflow should be the same as if the items are already downloaded. So, when I zoom-in the server is queried about the information for the currently viewed clustericons. Is see a few problems here, maybe you can help me:

Where should I implement the logic? Do I need a new subclass like in #217?
I don't really have information at which zoomfactor a clustericon should be resolved by child-clusters from the server. Should I test this empirically or is there a better way? e.g. at zoom-level=x start to resolve clusters with count > 1000, at zoom-level=x+1 start resolve clusters with count > 800, ....
Is this going to work, that i resolve just clusters in the current viewport using the events zoomend/moveend for zooming and dragging?

You probably need to listen to viewreset or zoom events on the map, and load the data then?
I don't think you'd need to subclass markercluster, you should be able to just interact with it.

You'll need to remember the area and depth of markers/clusters you have downloaded and fetch more when this data doesn't cover the current view/zoom any more I think?

I am pretty certain this will work :)


Fix multiple routes not working when Logger enabled beyondcode#412

When multiple routes are declared and WebSocket logger is enabled, all the routes will use the controller of the last route declared
This fixes the issue

@mpociot Any chance to have this merged rapidly? It's causing major headaches with inconsistent behavior between production mode and development mode


Add a scope argument to Entity message to target a subset of the HW resources

Problem
Some architectures like the Tofino Native Architecture (TNA) for the Barefoot Tofino chip consist of multiple parallel hardware pipelines, instead of the usual one. They are attached to distinct sets of front panel ports, can be individually programmed and have independent state. Currently there is no mechanism in P4Runtime to target such a subset of the pipelines.
Examples

Asymmetric table entries
In some cases table entries only apply to a subset of ports (e.g. setting VLAN id based on egress port), but all rules still are inserted into all pipelines. By selectively inserting there entries in only the relevant subset, resources can be used more efficiently.
Registers & counters
Since the pipelines share no state, the registers and counters in them are not in sync. While this can be mitigated for counters (totaling them up), this does not make sense for general purpose registers (e.g. calculating flow hashes).

Proposed changes
Adding an optional scope message to the Entity allows targeting on both the read and write path. The absence of a Scope message specifies the current behavior. If set on entities that do not allow or support scopes (e.g. PRE on Tofino), the server return an INVALID_ARGUMENT error.
message Entity {
  message Scope {
    repeated uint32 scope = 1;
  }
  oneof entity {
    ExternEntry extern_entry = 1;
    TableEntry table_entry = 2;
    ActionProfileMember action_profile_member = 3;
    ActionProfileGroup action_profile_group = 4;
    MeterEntry meter_entry = 5;
    DirectMeterEntry direct_meter_entry = 6;
    CounterEntry counter_entry = 7;
    DirectCounterEntry direct_counter_entry = 8;
    PacketReplicationEngineEntry packet_replication_engine_entry = 9;
    ValueSetEntry value_set_entry = 10;
    RegisterEntry register_entry = 11;
    DigestEntry digest_entry = 12;
  }
  Scope scope = 13;
}

Open Questions
Should the scope also apply to the ForwardingPipelineConfig message to allow programming individual pipelines?
How should the scope be specified? Is an array of integers enough for all types of entities (e.g. parser value sets)?
P4Info has a Scope enum, should we chose a different name?
Alternatives
Externs provide a way to extend the P4RT protocol unilaterally for a platform/architecture/vendor. Since the details are then defined by the specific implementation, interoperability between SwitchOSs and control planes might be lower than with a standardized solution.
Treating each pipe as a separate device with its own device id provides an even higher level of isolation.
Assuming the user only wants to program a small part of the tables / entities asymmetrically, this could result in extra overhead for the controller (maintaining the StreamChannel, ensuring all common entries are inserted).

@jameschoi I will ping you on several public p4runtime issues to call your attention to them. For others, sorry for the comment noise.


[feat] generate web file in dart if dart_decl_output = None

Is your feature request related to a problem? Please describe.
generate web file in dart if dart_decl_output = None
let raw_opts = RawOpts {
        // Path of input Rust code
        rust_input: RUST_INPUTS.into_vecs(),
        // Path of output generated Dart code
        dart_output: dart_outputs,
        wasm: true,
        rust_output: Some(rust_outputs),
        // dart_decl_output: Some("../lib/bridge_definitions.dart".into()),   /// would never gen .web
        dart_format_line_length: 120,
        class_name: Some(CLASS_NAMES.into_vecs()),
        // for other options use defaults
        ..Default::default()
    };

some code change
https://github.com/huang12zheng/flutter_rust_bridge/commit/a12ddc9e2bc5f4aa6c4c52ebeba30f21cb27415c

expect
would generator .web file

ps My final scenario is in a multi-file case

Feel free to PR!

a more info for ci:
example pure_dart_multi would no use flag dart_decl_output,
and other examples like pure_dart which use flag dart_decl_output


feat(languages/ts): add denols

Please add an entry to the release notes in docs/releas-notes under rl-05 before I merge this.

Please add an entry to the release notes in docs/releas-notes under rl-05 before I merge this.

sick okay

Please add an entry to the release notes in docs/releas-notes under rl-05 before I merge this.

Do i append and force push?


fixed __extract_history()

fixed __extract_history() method in deutschland/handelsregister/registrations.py  #37

The newest version of handelsregister is currenlty in this repo and will eventually be merged back at some point. For not I close this MR.


Autostart on MacOS

Is there any way to run frontail as a service on MacOS? I installed frontail through npm (and node-js through homebrew) and made the following launchctl file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs>
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>frontail.openhab.logs</string>
  <key>ProgramArguments</key>
  <array>
    <string>/usr/local/lib/node_modules/frontail/bin/frontail</string>
    <string>-d</string>
    <string>--pid-path /tmp/frontail.pid</string>
    <string>/Users/buzink/openhab/userdata/logs/*.log</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
  <key>KeepAlive</key>
  <false/>
  <key>StandardErrorPath</key>
  <string>/tmp/frontail.openhab.logs.err</string>
  <key>StandardOutPath</key>
  <string>/tmp/frontail.openhab.logs.out</string>
  <key>WorkingDirectory</key>
  <string>/usr/local/lib/node_modules/frontail/</string>
</dict>
</plist>

I get the following error:
env: node: No such file or directory
The same command given directly in the shell works fine.
What am I doing wrong?

Solved it. The problem was the env path to /usr/local/bin/ was missing. I don't know how to set that in the launchd-file, so I created a shell script and set it in there. The launchd-file starts the shell script.
~/Library/LaunchAgents/frontail.openhab.logs.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs>
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>frontail.openhab.logs</string>
  <key>ProgramArguments</key>
  <array>
    <string>/Users/buzink/frontail.sh</string>
    <!-- <string>/usr/local/bin/frontail</string>
    <string>/usr/local/lib/node_modules/frontail/bin/frontail</string>>
    <string>-d</string>
    <string>--pid-path /tmp/frontail.pid</string>
    <string>/Users/buzink/openhab/userdata/logs/*.log</string>-->
  </array>
  <key>RunAtLoad</key>
  <true/>
  <key>KeepAlive</key>
  <false/>
  <key>StandardErrorPath</key>
  <string>/tmp/frontail.openhab.logs.err</string>
  <key>StandardOutPath</key>
  <string>/tmp/frontail.openhab.logs.out</string>
  <key>WorkingDirectory</key>
  <string>/usr/local/lib/node_modules/frontail/</string>
</dict>
</plist>

~/frontail.sh:
#!/bin/bash
export PATH="$PATH:"/usr/local/bin/
/usr/local/bin/frontail -d --pid-path /tmp/frontail.pid /Users/buzink/openhab/userdata/logs/*.log


Update README.md

Changes some links to images and License etc. which are crashed when the page is published to Python Package Index.

Also Image's Links were broken when the Github readme was deployed of Python Package Index Website.


Update the Graphql schemas for Event Queue Enrolments

PT-1651 PT-1662.
There are some new queries and mutations:
EnrolEventQueueMutation
UnenrolEventQueueMutation
EventQueueEnrolmentQuery
EventQueueEnrolmentsQuery
Some endpoints are removed:
enrolments
studyGroups
studyGroup
Also, the query endpoints restrictions are now improved.

kultus-admin-ui branch is deployed to platta: https://kultus-admin-ui-pr295.dev.hel.ninja :rocket::rocket::rocket:


Show pointer cursor while hovering over a selection

(https://github.com/adobe/brackets/pull/9584)
On Windows at least, almost all code editors show a pointer cursor (cursor: default) while hovering a selection when Drag & Drop is enabled.
We wanted to have the same behavior in Brackets and tried it by styling .CodeMirror-selected on Windows, but we're facing some issues:

The cursor constantly switches between pointer and caret while dragging a selection (https://github.com/adobe/brackets/pull/9584#issuecomment-67715608)
The cursor sometimes doesn't change at all, for some reason (https://github.com/adobe/brackets/pull/9584#issuecomment-67840203)

Thus, imho there should be an option in CodeMirror directly to show the pointer cursor while hovering a selection.

Use the markselection addon to also add a class (CodeMirror-selectedtext by default) to the selected text, and then (also) add the pointer rule to that class.

We tried this too (https://github.com/MarcelGerber/brackets/commit/5791e609cbcfa910c05cbc5374c749a8f2016308), but we had issues with this as well:

The cursor constantly switches between pointer and caret while dragging a selection (adobe/brackets#9584 (comment)) (same as above)
The pointer cursor doesn't show up while hovering the end-of-line whitespace of a selection that continues to the next line

The cursor constantly switches between pointer and caret while dragging a selection

Well, obviously styling the selection won't prevent the cursor for showing up differently when outside of the selection. You could try a hack where you set the cursor for the whole editor to pointer while the mouse button is down.
But the second point is a good one. Since the actual node under the cursor will be the <pre> for the current line, there's no sane way to use CSS to style the cursor in that case. What ACE appears to be doing is handling a "mousemove" event. You could write an addon that registers such a handler and, using getClientRects, figures out if the mouse is inside the selection every time it moves, and sets the editor's cursor style as appropriate.

I still think this is something that should be in main CodeMirror as, as pointed out above, almost every other editor (even ACE) does the same.

Try with the new selection-pointer addon.

Yeah, that's exactly what we need in Brackets. Thanks!


Fix iOS imports on RN0.40+ and replace UIWebview with WkWebview

No more deprecated webview on iOS and let people use webviewbridge API with RN 0.40+

Wow, moving to WKWebview is a big jump. Which I wanted.
Are you using it in your own app and tested? Does it maintain same API as before, more or less?

@fungilation
Are you using it in your own app and tested? <- Yes
Does it maintain same API as before, more or less? <- Yes, only scalesPageToFit is not supported by wkwebview (all other props we used worked well)

I commented inline in code:

Any reason why this isn't changed to #import <React/UIView+React.h>?
Same in ios/RCTWebViewBridge.m

@fungilation No reason, sent a fix, TY! :)

Switched to your PR in my app, no bug so far I can see. With noticeable improvement in performance, much thanks for this!

@fungilation Nice! :D

The injectedJavaScript property no longer works.
Do you have a good idea how to add that back in for WkWebView ?

I confirm that the WKWebView fork never worked. I mistakenly had the old version in my test app. On linking the new fork, app just crash to home screen on WebView's render.

@fungilation it mostly works for me with a few tweaks (which were ok for my situation):

I moved my code from injectedJavaScript and embedded into my document
WebViewBridge was not defined on initial document load, so I wait for it with a handler:

<script>
 (function () {
    function onWebViewBridgeReady() {
      document.removeEventListener('WebViewBridge', onWebViewBridgeReady, false);
      WebViewBridge.onMessage = function (message) {
          // assume message has a color
          document.body.style.backgroundColor = message;
        }
     }
      WebViewBridge.send("webviewbridge-ready");
    }
   document.addEventListener('WebViewBridge', onWebViewBridgeReady, false)
  }())
</script>

My document works with that and I can send/receive data over the bridge.

@fungilation @peterept I fixed now this injectedJavaScript property and created a new example: examples/SampleRN42/ that you can use to test

@fungilation @peterept Anyway I never used injectedJavaScript in my projects.
I always embedded in the document like @peterept said, because is way faster and should be your solution if you have control over the document

For me I need to inject JS, as I'm loading external websites. Thanks @guilhermebruzzi

Right. The code needs to use -[WKWebView evaluateJavaScript:completionHandler:] to do the inject, but I'm not sure where react-native-webview-bridge needs to do the injection exactly.

@peterept I called the method on the same places that UIWebview used to call his inject method.
Even If you call It earlier, the webview (on Android too) only allows the code to run after it has finished loading (If i'm not mistaken)

holy moley @guilhermebruzzi . I'm a fool... I cloned from your master branch on your fork (which has an older version of your code with WkWebView - missing the injection code). I'll switch to your branch feature/wkwebview and report back!

Confirmed it works! That's awesome work @guilhermebruzzi.
I installed from the correct branch (although I see you've updated master now also):
$ npm install --save git://github.com/vtex/react-native-webview-bridge.git#feature/wkwebview
$ react-native run-ios

And now the injectedJavaScript={injectScript} works and also the WebViewBridge variable is set already (as in the sample code) and so no need to wait for it:
const injectScript = `
(function () {
  if (WebViewBridge) {
    document.body.style.backgroundColor = "red";
  }
}());
`;

Thank you so much for this.

@peterept no problem! :) Yeah, you can install from master branch also.

@guilhermebruzzi  how to use this pull request ? the master branch have problem!

@iOSHw What kind of problem?
To use the master branch you insert:
"react-native-webview-bridge": "vtex/react-native-webview-bridge",
on package.json dependencies
And than run npm install and react-native link

@guilhermebruzzi Hi, bro. I really appreciate your hard working, but it seems not working under RN 0.44.2. Can you fix it?

Awesome!
I couldn't get this library to work ("Cannot read property 'NavigationType' of undefined") until I installed this PR - THANKS! :D

@guilhermebruzzi @alinz is anybody working on fixing the conflicts and merging this branch into master?

@jenskuhrjorgensen I'm extremely busy that's why I'm constantly looking for good maintainer? Are you interested?

@alinz That's a shame - your library has been very useful to me! :) I'm afraid I don't have the time either.


EN-21894: Bump DC library version for spandex SW

Bump data-coordinator library version for secondary-watcher-spandex
to include new collocation work. This will be a NoOp change for
spandex but does require some configuration additions.
Also add new config configs/application.conf for local development
to replace the infamous /etc/soda2.conf file. (See EN-21594)
Also update the README.md accordingly and remove outdated information
and files from the secondary watcher dymanic class loading world.

retest me please

Build failed.

This build looks good.


parameters should not be a documented property of the API

The __parameters__ property is currently part of the Column's, DataFrame's, and GroupBy's APIs: https://data-apis.org/dataframe-api/draft/search.html?q=parameters
The same applies to the __subclasshook__ property.
This does seem like a bug to me.

yup, agree


Train on own data

Hello.  I am trying to fit this network on my data, but hm_loss down to 9.208498 and don't improve. I tried to use different samples of dataset but result was same. After that i download tiny_coco and anyway hm_loss == 9.208498. Can you help me with this?

2020-09-30-17-53: epoch: 1 |loss 110.024204 | hm_loss 109.175058 | wh_loss 8.276505 | off_loss 0.870643 | time 0.250000 |
2020-09-30-17-53: epoch: 2 |loss 10.162599 | hm_loss 9.092366 | wh_loss 8.377615 | off_loss 1.302705 | time 0.033333 |
2020-09-30-17-54: epoch: 3 |loss 9.840244 | hm_loss 9.208498 | wh_loss 6.206020 | off_loss 0.642890 | time 0.033333 |
2020-09-30-17-54: epoch: 4 |loss 9.729698 | hm_loss 9.208498 | wh_loss 6.791722 | off_loss 0.363228 | time 0.033333 |
2020-09-30-17-54: epoch: 5 |loss 9.686012 | hm_loss 9.208498 | wh_loss 6.189690 | off_loss 0.336059 | time 0.033333 | loss 16.727993 | hm_loss 9.208498 | wh_loss 28.976759 | off_loss 12.141313 | time 0.000000 |
2020-09-30-17-54: epoch: 6 |loss 9.660375 | hm_loss 9.208498 | wh_loss 5.394241 | off_loss 0.364330 | time 0.033333 |
2020-09-30-17-54: epoch: 7 |loss 9.728366 | hm_loss 9.208498 | wh_loss 7.177228 | off_loss 0.322013 | time 0.033333 |
2020-09-30-17-54: epoch: 8 |loss 9.784336 | hm_loss 9.208498 | wh_loss 7.994667 | off_loss 0.352210 | time 0.033333 |
2020-09-30-17-54: epoch: 9 |loss 9.674562 | hm_loss 9.208498 | wh_loss 6.191436 | off_loss 0.312984 | time 0.033333 |

I tried to train on my custom dataset which had only bounding box for objects not masks, but I couldn't.
It seemed that this repo made use of instance masks annotations to refine bounding box for partly visible objects.

@cao-nv this repo changes nothing than original centernet, except adding a HarDNet backbone

i met same problem when i trained my own dateaset. my hm_val_loss also stop at 9.208  :(

@cao-nv this repo changes nothing than original centernet, except adding a HarDNet backbone

When I just add the hardnet file in this repo to the original CenterNet, everything works well.


LVs are invisible on the host machine

We created a new pod with a lvm pvc, it started successfully and everything seemed ok.
With 'lvs' command executed in the csi container, we could find the new lv:
bash-5.0# lvs | grep vg01
pvc-dcd29be5-41c6-46b0-bd81-93e45056ee95 vg01     -wi-ao----  4.00g
However, when we executed 'lvs' command on host, no lv existed...
[ivan@k8s-node16 ~]$ sudo lvs | grep vg01
[ivan@k8s-node16 ~]$
Also，the vg we used showed differences:
vgs in csi container:
bash-5.0# vgs | grep vg01
vg01       1   1   0 wz--n- <19.53g <15.53g
vgs on host:
[ivan@k8s-node16 ~]$ sudo vgs | grep vg01
vg01       1   0   0 wz--n- <19.53g <19.53g
But, on the host, we could find the new lv under the /dev/vg01 and /dev/mapper.
[ivan@k8s-node16 ~]$ sudo ls /dev/vg01
pvc-dcd29be5-41c6-46b0-bd81-93e45056ee95
[ivan@k8s-node16 ~]$ sudo ls /dev/mapper | grep vg01
vg01-pvc--dcd29be5--41c6--46b0--bd81--93e45056ee95
Is this related to the diff of lvm version in container and on host, or something else like the centos7 os of host?
lvm version in container:
bash-5.0# lvm version   LVM version:     2.02.186(2) (2019-08-27)   Library version: 1.02.164 (2019-08-27)   Driver version:  4.39.0   Configuration:   ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr --sysconfdir=/etc --libdir=/lib --sbindir=/sbin --localstatedir=/var --disable-nls --disable-readline --enable-pkgconfig --enable-applib --with-thin=internal --enable-dmeventd --enable-cmdlib --with-thin-check=/sbin/thin_check --with-thin-dump=/sbin/thin_dump --with-thin-repair=/sbin/thin_repair --with-dmeventd-path=/sbin/dmeventd --enable-udev_rules CLDFLAGS=-Wl,--as-needed
lvm version on host:
LVM version:     2.02.171(2)-RHEL7 (2017-05-03)   Library version: 1.02.140-RHEL7 (2017-05-03)   Driver version:  4.39.0   Configuration:   ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm --with-default-pid-dir=/run --with-default-locking-dir=/run/lock/lvm --with-usrlibdir=/usr/lib64 --enable-lvm1_fallback --enable-fsadm --with-pool=internal --enable-write_install --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd --enable-blkid_wiping --enable-python2-bindings --with-cluster=internal --with-clvmd=corosync --enable-cmirrord --with-udevdir=/usr/lib/udev/rules.d --enable-udev_sync --with-thin=internal --enable-lvmetad --with-cache=internal --enable-lvmpolld --enable-lvmlockd-dlm --enable-lvmlockd-sanlock --enable-dmfilemapd
It would be greatly appreciated if anyone could help.

#173

Propose another way here:

Before execute the lvcreate command, we first enter the mount namespace of the host machine by nsenter. To see host mount namespace in the lvm node container, a "hostPID=true" is also needed for the lvm node pod spec.
After some tests, it appeared that the problem of lv invisibility could be well solved by this solution.

some tests, it appeared that the problem of lv invi

I use hostPID true，will command stuck，How to deal with it

Hi @git-yww , Thanks for reporting . However, we see no difference in lvs and vgs output in container and host on lvm driver v1.3.0 and Ubuntu 20.0.4. If it is reproducible on 1.3 as well let us know.

From the information given, the lvm version is 2.02 and has --enable-lvmetad which is enabling caching of metadata. Hence unless pvscan is done, the info wasn't refreshed. With lvm driver 2.03, this caching daemon behaviour is removed, and metadata is read form the disk instead of cache. Please confirm if that resolves the issue, or if still using 2.02 please disable the daemon and try again.
Meanwhile I'm closing this issue, please feel free to update any new information or reopen in case of any issues around this.


Error /usr/lib64/libnssutil3.so: version NSSUTIL_3.82' not found (required by /opt/lib/libnss3.so)` during Lambda Execution

Overview
Following error occurred on executing Lambda.
sam local start-api is working well.
{
    "errorMessage": "/usr/lib64/libnssutil3.so: version `NSSUTIL_3.82' not found (required by /opt/lib/libnss3.so) - /var/task/vendor/bundle/ruby/3.2.0/gems/pg-1.5.4/lib/pg_ext.so",
    "errorType": "Init<LoadError>",
    "stackTrace": [
        "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'",
        "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/pg-1.5.4/lib/pg.rb:49:in `block in <module:PG>'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/pg-1.5.4/lib/pg.rb:37:in `block in <module:PG>'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/pg-1.5.4/lib/pg.rb:42:in `<module:PG>'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/pg-1.5.4/lib/pg.rb:6:in `<top (required)>'",
        "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `require'",
        "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'",
        "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:40:in `require'",
        "/var/task/app/infrastructures/database.rb:1:in `<top (required)>'",
        "/var/task/app/usecases/plan/index.rb:1:in `require_relative'",
        "/var/task/app/usecases/plan/index.rb:1:in `<top (required)>'",
        "/var/task/app/controllers/plan.rb:2:in `require_relative'",
        "/var/task/app/controllers/plan.rb:2:in `<top (required)>'",
        "/var/task/app/routers/plan.rb:2:in `require_relative'",
        "/var/task/app/routers/plan.rb:2:in `<top (required)>'",
        "/var/task/app/server.rb:2:in `require_relative'",
        "/var/task/app/server.rb:2:in `<top (required)>'",
        "/var/task/app/config.ru:3:in `require_relative'",
        "/var/task/app/config.ru:3:in `block in <main>'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `eval'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:116:in `new_from_string'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:105:in `load_file'",
        "/var/task/vendor/bundle/ruby/3.2.0/gems/rack-2.2.8/lib/rack/builder.rb:66:in `parse_file'",
        "/var/task/lambda.rb:22:in `<top (required)>'",
        "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'",
        "<internal:/var/lang/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in `require'"
    ]
}

Description
While developing #2 .
I created a script for deploy to Lambda. and fix it follow errors occurred on executing Lambda.
ex) Lambda environment failing to locate certain binary packages,. So I adjusted Makefile for Lambda Layer.
However, the error cited above remains unresolved.

I tried configure LD_LIBRARY_PATH  environment variable of Lambda in several ways.

/opt/lib

This path is lib directory provided by Lambda Layer.
In this case, Lambda was unable to load ruby runtime.

/opt/lib:/lib64:/usr/lib64:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib

/opt/lib + default path pattern.
It's occurred same error of issue.

/opt/lib:/var/runtime:/var/runtime/lib:/var/task:/var/task/lib

Remove /lib64 and /usr/lib64 pattern.
/opt/lib/libnss3.so depends libnssutil3.so on /usr/lib64, so I thought if remove these path, /opt/lib/libnss3.so dependency become /opt/lib.
However, same error occurred.


backend: Relax requirement for new files

Before, all backend implementations were required to return an error if the file that is to be written already exists in the backend. For most backends, that means making a request (e.g. via HTTP) and returning an error when the file already exists.
This is not accurate, the file could have been created between the HTTP request testing for it, and when writing starts. In addition, apart from the config file in the repo, all other file names have pseudo-random names with a very very low probability of a collision. And even if a file name is written again, the way the restic repo is structured this just means that the same content is placed there again. Which is not a problem, just not very efficient.
So, this commit relaxes the requirement to return an error when the file in the backend already exists, which allows reducing the number of API requests and thereby the latency for remote backends.

Codecov Report

Merging #1623 into master will decrease coverage by 0.13%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1623      +/-   ##
==========================================
- Coverage   51.61%   51.47%   -0.14%
==========================================
  Files         142      142
  Lines       11362    11335      -27
==========================================
- Hits         5864     5835      -29
  Misses       4575     4575
- Partials      923      925       +2

Impacted Files
Coverage Δ

internal/backend/azure/azure.go
79.31% <ø> (+0.42%)
:arrow_up:

internal/backend/swift/swift.go
78.18% <ø> (+0.27%)
:arrow_up:

internal/backend/gs/gs.go
73.13% <ø> (-0.53%)
:arrow_down:

internal/backend/b2/b2.go
77.48% <ø> (-0.47%)
:arrow_down:

internal/backend/s3/s3.go
66.02% <ø> (+0.62%)
:arrow_up:

internal/backend/test/tests.go
57.77% <100%> (-0.18%)
:arrow_down:

internal/backend/mem/mem_backend.go
79.38% <0%> (-2.07%)
:arrow_down:

internal/backend/local/local.go
63.15% <0%> (-1.51%)
:arrow_down:

internal/backend/sftp/sftp.go
62.35% <0%> (-1.18%)
:arrow_down:

internal/backend/rest/rest.go
63.47% <0%> (-0.87%)
:arrow_down:

... and 1 more

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 2fb4d44...b506295. Read the comment docs.

Just to confirm, do objects with the same name contain the same contents?  That is, even if an object is overwritten, it just costs time and bandwidth?

@kurin exactly, when a file with the same name is written, it will also contain the same content (because filename == sha256(content)). The only exception is the config file, which we handle as a special case.

Really good change!


PhantomJS seems to cache based on Cache-Control of the redirected page

Background
We at Powershop Ltd use PhantomJS on our CI server via Ghostdriver. I noticed that some of our integration tests were failing at an odd point...
Version
PhantomJS 2.0.0
Issue
When PhantomJS requests a page test_redirect and gets back a 302 to another page, subsequent visits to the page test_redirect seems to be cached. I.e. No requests to the server for subsequent visits.
The page is returning the following headers, and therefore should not be cached.
302 Move Temporarily
Cache-Control: no-cache
Location: http://localhost:3000/test_landing

Scenarios
Further investigation reveals that the issue occurs when the next page has a header Cache-Control='public, max-age=3600'.
Given the following ruby/rails code :
  def test_redirect
    headers['Cache-Control'] = 'no-cache'
    redirect_to :action => 'test_landing'
  end

  def test_landing
    headers['Cache-Control'] = 'public, max-age=3600'
    render :nothing => true, :layout => false
  end

And the following phantomjs code:
page.open('http://localhost:3000/test_redirect', function(status) {
  console.log("Status: " + status);
  if(status === "success") {
    console.log("rendered");
    page.render('example.png');
  }

  page.open('http://localhost:3000/test_redirect');
  phantom.exit();
});

I should expect to see two requests made to the server for http://localhost:3000/test_redirect'. But I only see one request made.
Scenario 2
If I modify the ruby/rails code above to:
  def test_redirect
    headers['Cache-Control'] = 'no-cache'
    redirect_to :action => 'test_landing'
  end

  def test_landing
    headers['Cache-Control'] = 'no-cache'
    render :nothing => true, :layout => false
  end

Then the same phantomjs scripts now successfully makes two requests to the server for http://localhost:3000/test_redirect'.
Other browsers
Chrome and Firefox made two requests to the server for http://localhost:3000/test_redirect'.

Full headers returned by the server for http://localhost:3000/test_redirect
kuah-air:powershop kuahyeow$ curl  -I http://localhost:3000/test_redirect
HTTP/1.1 302 Moved Temporarily
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-UA-Compatible: IE=Edge,chrome=1
Cache-Control: no-cache
Location: http://localhost:3000/test_landing
Content-Type: text/html; charset=utf-8
Set-Cookie: powershop_nz_session=FILTERED; path=/; HttpOnly
X-Request-Id: c626ba4c-fcfd-4041-9d39-4576ae077ca1
X-Runtime: 0.041763
Connection: close
Server: thin


lint: adopt restyled.io

Check the supported languages.
(This may not require a PR.)
This should also not replace the pre-commit hook that runs yarn format-check and yarn lint.

@shcheklein @efiop note that it doesn't support ESLint though, so it's not guaranteed to fix all CI checks for contributors. See https://github.com/restyled-io/restyled.io/wiki/Available-Restylers
But for the majority of them, which happen on the Markdown files, it should be able to fix formatting problems (Prettier).


Fix clippy warnings

Oops, cargo clippy --fix changed all the usages of black_box to be incorrect.


Program is stuck at rdSensorReg8_8

Hi,
I'm using an Arducam Mini Module Camera Shield with OV2640 connected to an Uno. I'm using the code from ArduCAM_Mini_2MP_TimeElapse2SD.
The code runs through the init until it gets to:
myCAM.rdSensorReg8_8(OV2640_CHIPID_HIGH, &vid);
and never passes this line.
Any ideas what's wrong?
Thanks,
eladyt

OK. Got it. A wire was soldered incorrectly.


GitFlow Migration

The devel branch here still has the release version matching the CRAN release. Needs to be updated before merging!
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[ ] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[ ] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[ ] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[ ] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

@bundfussr feel free to make any changes you see fit. I am less familiar with staged dependencies, and wasn't sure which notation is required there.


Should explain how to restrict access to a specific virtual network

The section entitled "Connecting from Azure" gives the impression that it is only possible to expose the endpoint to all Azure virtual networks or to none.
It would make sense to reference this page, which explains how to restrict access to a single, specific virtual network:
https://docs.microsoft.com/en-us/azure/mysql/howto-manage-vnet-using-portal

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3943cb2e-ed20-044d-d78f-19280ebc23da
Version Independent ID: d3d718b8-86e5-a28f-0477-e35fb577a61a
Content: Azure Database for MySQL server firewall rules
Content Source: articles/mysql/concepts-firewall-rules.md
Service: mysql
GitHub Login: @ajlam
Microsoft Alias: andrela

@athempel, Thank you for sharing the query. We are looking into this and will update the docs after reviewing the same.

@athempel - thanks for the suggestion! I'll look into a subsection to the "Connecting from Azure" section to refer to the VNET docs.

@athempel - I've updated the firewall doc with more information about VNets. They should be published by Monday morning.
#please-close

FYI, I made the PR linked above to address what I believe was @athempel 's intention here.


Bug: Some bulk files have columns with comma-delimited values and others pipes within the same data year

Steps to Reproduce
Step 1
Action: Download 2021 Daily Emissions for 2021 q1-q4
Expected Result: All the data in PM Controls should be either comma-separated or pipe-separated (I can't remember which it is supposed to be)
Actual Results
Some units have PM Controls comma-separated in one quarter and pipe-separated in the next

Example: ORIS 26, Unit ID 2 has "Baghouse|Electrostatic Precipitator" in Q1 and "Baghouse,Electrostatic Precipitator" in Q2

Requirements
All columns should be consistent for all bulk files. The solution may just be to re-run the quartz jobs that generate the bulk files.

What files need to be regenerated-- what years, which types? @lgiannini1 please work with Stacey on this.

@szintgraff Since 6/1/2023, resubmissions have occurred for 2018 Q1 forward.

@szintgraff  @j-tafoya
Since 6/1/2023, emissions resubmissions have occurred for 2018 Q1 forward.
Commas are still present in the following files:

Transactions
compliance
hourly emissions
daily emissions
facility (fuel type)
MATS

Questions for EPA:

Should all fields be pipe delimited, e.g., fuel type, program, etc.
What files need to be regenerated-- what years, which types?

After meeting with EPA CAMPD team. Lets move this to on hold and prioritize it with the other CAMPD tickets in on hold when the time comes.


can we add Search Bar on SpreadsheetView?

I am use SpreadsheetView pod, I design as my design requirement but i need add the Search bar on SpreadsheetView in Header section and search from table . can you help me please.

@sameerkupkar  Your question is too broad, it could be answered by an entire book, or has many valid answers. Please provide the code that you wrote.

Simply i want to add searchbar on header of spreadsheet can it possible?

You can simply add a search bar and spreadsheet view inside a vertical stack view or a custom container view and update the spreadsheet view's data as the search bar's text input changes.

@sameerkupkar Yes. Because SpreadsheetView is a subclass of UIView.

Any demo on that.still i am not getting answer.

@sameerkupkar You should provide a code that you tried (that probably doesn't work though, it's OK). Because your question is too basic, ambiguous and broad. It takes too much time to teach all。

i am trying app like thinkorSwim trading app so i want spreadsheet with search bar.


Requeue bulk items with response code 429 - Too Many Requests

When Elasticsearch gets overloaded it may return response code 429
for line items in the bulk response that it could not process.  This
commit detects that response code and requeues the line item so that it
is not dropped.
For reference see the code in the elastic beats elasticsearch
output plugin.
https://github.com/elastic/beats/blob/master/libbeat/outputs/elasticsearch/client.go#L500.

I'm on vacation and be back in July. I will review asap when I'm back in town.


Auto-reconnect on match failure

If Ping-Pong fails, try to re-connect to the match on the plugin-side.


Different covariance plots in Python 3.7.8

Describe the bug
Running the cookbook examples using v1.2.3 on Python 3.7.8, I am getting odd covariance plots (covariance of stocks with themselves is < 0.33).
Screenshots
See screenshot of the plot I get below:

Operating system and python version:
Ubuntu 16.04, Python 3.7.8, PyPortfolioOpt 1.2.3

Hi @sackio,
Thanks for raising this! What you have shown is a feature, not a bug :wink:. The heatmap plots the covariance matrix, not the correlation matrix. So the diagonals represent the asset variances.
However, what might be causing confusion is that in a previous release, PyPortfolioOpt's plot_covariance function actually plotted the correlation matrix. I later fixed this because it was silly.
Incidentally, I've noticed that the docs page for the plotting module is currently down, so I'll try to get that back online.
Cheers,
Robert

thanks so much for the help -- and the package, it's fantastic


Does this work for Cat 10?

Hey!
I'm trying to open a CAT10 Asterix file but i'm having some issues parsing it. I have the file as a .asterix file but all the examples are .ast. I'm not sure if that matters at all or how to remedy the issue.

Update on the problem, I tried importing the sample file from https://trackviewer.5lnc.com/ and it came as a .asterix which ran fine. After opening the text based, pre-decoded .txt version that came with the data it seems that data is being encoded in two categories (10 and 19). Could this crossing of categories cause problems with the import? Maybe there is some way to filter by category?
Either way, when i try to import this test data i get the attached error message.


[LIVY-412][Server] Reject create session request if too more sessions are creating.

What changes were proposed in this pull request?
In our cluster, livy server run with spark yarn cluster mode, when createSession request is too frequently, livyServer will start too more spark-submit child process, it will cause the machine oom.
Reject the create session request when there are too many spark-submit child process.
How was this patch tested?
Add two testcase, test create interactive and batch session when reach the max creating sessions, the request should failed.
Please review https://livy.incubator.apache.org/community/ before opening a pull request.

The testcase org.apache.livy.repl.ReplDriverSuite is passed in my own machine.

@meisam , thanks for comment, In our cluster, we can't  simply throttle down create session requests.
I will update the code.

@ajbozarth thanks for your review, I will update the code according to the comment.

@shenh062326 are you using yarn cluster mode? spark-submit process is a short-lived process, it may not last very long.

@meisam rejection is another kind of throttle, what's your idea of throttle?
@codingcat, I saw you have a similar JIRA about this issue, what do you think about the current proposal?

@jerryshao , I use yarn cluster mode.

Beside this solution, what I can think of is to delay the session creation for throttling. Since POST request is async, so we could delay the session creation if reaching to threshold. Client side should wait and query until and session is created, what do you think of this solution?

@jerryshao The solution seems more friendly to client. But acturally we have have more than one livyServer, if too many create request send to one livy server, client may wait more time.

I get your point. I'm OK with current solution.

Please address the comments and add unit test to verify your code.

OK, I will add a unit test.

rejection is another kind of throttle, what's your idea of throttle?

@jerryshao
I was thinking we could delay the session creation, because, at least for our workloads, there are short bursts in requests to Livy. Delaying the session creation jut by 1 or 2 minutes solves those problems.

Yes, but for the scenario mentioned by @shenh062326 , they have multiple Livy instances,  if one request is rejected by one Livy instance, it could quickly shifted to another instance. That seems better than unnecessary waiting.

Codecov Report

Merging #58 into master will increase coverage by 0.54%.
The diff coverage is 95.45%.

@@             Coverage Diff              @@
##             master      #58      +/-   ##
============================================
+ Coverage     70.46%   71.01%   +0.54%
- Complexity      792      801       +9
============================================
  Files            97       97
  Lines          5357     5469     +112
  Branches        805      812       +7
============================================
+ Hits           3775     3884     +109
- Misses         1049     1055       +6
+ Partials        533      530       -3

Impacted Files
Coverage Δ
Complexity Δ

...la/org/apache/livy/server/batch/BatchSession.scala
85.55% <100%> (+0.01%)
14 <0> (ø)
:arrow_down:

...main/java/org/apache/livy/rsc/ContextLauncher.java
83.82% <100%> (+2.51%)
17 <0> (-1)
:arrow_down:

...ain/java/org/apache/livy/rsc/RSCClientFactory.java
69.04% <100%> (+0.75%)
9 <1> (+1)
:arrow_up:

...rver/src/main/scala/org/apache/livy/LivyConf.scala
95.96% <100%> (+0.03%)
15 <0> (ø)
:arrow_down:

.../scala/org/apache/livy/server/SessionServlet.scala
67.02% <91.66%> (+2.24%)
30 <3> (+3)
:arrow_up:

rsc/src/main/java/org/apache/livy/rsc/Utils.java
83.33% <0%> (-2.39%)
16% <0%> (ø)

...in/java/org/apache/livy/rsc/rpc/RpcDispatcher.java
64% <0%> (-2.31%)
19% <0%> (ø)

.../java/org/apache/livy/rsc/driver/SparkEntries.java
60.27% <0%> (-1.27%)
10% <0%> (ø)

rsc/src/main/java/org/apache/livy/rsc/RSCConf.java
85.71% <0%> (-1.16%)
7% <0%> (ø)

...ain/java/org/apache/livy/client/http/HttpConf.java
76.92% <0%> (-1.08%)
5% <0%> (ø)

... and 19 more

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 bef5b4f...71cc8d1. Read the comment docs.

@ajbozarth thanks for you comment, I will update the testcase.

@jerryshao @meisam thanks for your comment, I will update the code.

@shenh062326 can you please make the travis pass the unit test.

You can close and reopen PR to trigger the travis test.

@jerryshao  👌

I think your added test is a bit flaky, can you please fix it, thanks!

The testcase always succeeded in my own machine, I will add some log to find the failed reason.
BatchServletSpec:
Batch Servlet

should create and tear down a batch (1 second, 146 milliseconds)
should respect config black list (4 milliseconds)
should show session properties (10 milliseconds)
should fail session creation when max session creation is hit (20 milliseconds)
InteractiveSessionServletSpec:
should setup and tear down an interactive session (68 milliseconds)
should show session properties (11 milliseconds)
should failed create session when too many creating session  (20 milliseconds)
CreateBatchRequestSpec:
CreateBatchRequest
should have default values for fields after deserialization (15 milliseconds)
AccessManagerSuite:
access permission (3 milliseconds)
wildcard access permission (1 millisecond)
default allowed users (2 milliseconds)
configured users are not in the allowed list (2 milliseconds)
Run completed in 1 minute, 6 seconds.
Total number of tests run: 133
Suites: completed 23, aborted 0
Tests: succeeded 133, failed 0, canceled 0, ignored 0, pending 0
All tests passed.

Thank @shenh062326 , let me merge to master.


Update edge build script

REDMINE-17508

Ah yes, I forgot to change this in #1404. But the frontend file is not simply gone, it turned into a output directory for multiple chunks. In my local workspace there are actually a lot of old versions of these chunk files. So we probably need to git clean -xf the directory during build. Also we need to update the gemspec to include this directory.

see #1415


Highlight state on map when table state is hovered

When a state in the table is hovered over (or clicked on mobile), the state details on the map are shown. This is for Issue 119

Nice. Can you add highlighting of the state borders on the map as well?

Looks good! Merging this for now, feel free to open a PR supporting state borders!


smoosher isn't picking up changes to CSS files when run within a watch task

I have a css task that runs some postCSS processors on my CSS file before writing the changes. Then I have an HTML task that runs smoosher followed by htmlmin.
When I run the tasks separately, it works fine, but if I pass the tasks as an option to the gulp.watch() function, the changes in the CSS don't appear in the final file even though they do appear in the file created by the CSS task.
Is smoosher somehow getting the CSS file before the css task finishes writing it?
gulpfile.js:
var gulp = require('gulp');
var postcss = require('gulp-postcss');
var autoprefixer = require('autoprefixer');
var cssnext = require('cssnext');
var precss = require('precss');
var nesting = require('postcss-nesting');
var cssnano = require('cssnano');
var htmlmin = require('gulp-htmlmin');
var smoosher = require('gulp-smoosher');

var paths = {
    css: 'src/*.css',
    html: 'src/*.html'
};

gulp.task('css', function() {
    var processors = [
        nesting,
        autoprefixer,
        cssnext,
        precss,
        cssnano
    ];
    return gulp.src(paths.css)
        .pipe(postcss(processors))
        .pipe(gulp.dest('css'));
});

gulp.task('html', function() {
  return gulp.src('src/*.html')
    .pipe(smoosher({ base: '.' }))
    .pipe(htmlmin({
        collapseWhitespace: true,
        conservativeCollapse: true,
        removeComments: true,
        collapseInlineTagWhitespace: true,
        collapseBooleanAttributes: true,
        removeAttributeQuotes: true,
        removeRedundantAttributes: true,
        removeEmptyAttributes: true,
        removeScriptTypeAttributes: true,
        removeStyleLinkTypeAttributes: true,
        removeOptionalTags: true,
        minifyCSS: true
    }))
    .pipe(gulp.dest('.'))
});

gulp.task('watch', function(){
    gulp.watch(paths.css, ['css', 'html']);
    gulp.watch(paths.html, ['html']);
});

@Ghodmode If I remember correctly, gulp tasks don't run in series, they run parallel. Try this instead:
var sequence = require('run-sequence');

gulp.task('css-then-html', function(done) {
  sequence('css', 'html', done);
});

gulp.task('watch', function(){
    gulp.watch(paths.css, ['css-then-html']);
    \\ etc
});

Thanks @gabrielflorit That works now. I would swear that I tried that already before I posted this issue, but I must have done something wrong.
Aside from naming the variable runSequence (copied and pasted from the run-sequence package page) and not using a callback, I thought my version was the same as your example, but my memory must be faulty.
I wish I could go back and see what I did wrong before but I didn't commit my code using the run-sequence plugin because it wasn't working.
I also didn't realize that there wouldn't be an error if I used a callback argument with the task's function, but didn't pass it a callback.
Thank you very much for your help.


Update tests to match current requirements

@Psotas Please see if there is anything worth picking here into: https://github.com/Dasharo/open-source-firmware-validation/pull/125
If not, please close it.

@macpijan
I don't see anything worth using. novacustom-nv41pz.robot will be the template for other platform-configs
I'm closing it


Add a MacOSX TTS io adapter

I added an io adapter for a TTS engine built in to MacOSX.
Although I added an output adapter, I have not added a corresponding STT adapter so it gets input using the Terminal. I recommend we make a change to the way io adapters are structured (which will also solve the problem with multiple inputs in my other PR), separating out input adapters and output adapters. This way, the user can specify more precisely what they would like to use for inputs and outputs. @gunthercox What do you think?

This is awesome.

This looks like a good addition. I don't have access to a mac to test this on, but I trust that it works.


Render attribution from iiif-presentation and fallback to iiif-image data

An example is:
https://wellcomecollection.org/works/d2mxjdkb
Where the

iiif-presentation attribution is Wellcome Library (<= subject to change) ([data])(https://wellcomelibrary.org/iiif/b16691362/manifest])
iiif-image credit is ACT UP (data)

We should always be using other data, if available, over MIRO / wellcome images data.
We should build an Attribution type and just create it accordingly.

We should build an Attribution type and just create it accordingly.

@jamesgorrie Is this something for the data team? Anything new to add? (relates to #4938)

Yip, this will be usurped by getting the copyright etc from the mets.


YouTube clips now featured in DNA info box

No good. Actually want to get the about me merged before adding YouTube feature


[QUERY] Management.Reservations error

Query/Question
I'm getting this error: MissingRegistration while calling Quota PUT.
Environment:

Microsoft.Azure.Management.Reservations -Version 1.15.0-preview

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@pilara-ms could you please provide the HTML request and response? Thank you

My issue is resolved.


opt: introduce a custom key_memcmp function

memcmp always compares the entire range. It doesn't early-exit.
Since our keys are (relatively) long and high entropy, binary search and other situations where we mostly compare unequal keys is made faster by having an early exit. This just does a simple byte-wise comparison.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#515
#514  👈
#511
#510
#509
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rphmeier and the rest of your teammates on  Graphite


Fix processing "PING" messages with unstable networks

This PR attempts to fix the IndexError issues described in #20 and #25. I believe that until the checklist is completed, it should be taken as a draft.

[ ] Tests written
[ ] The fix was tested as part of this PR on a project with similar issues.

The problem is that in case of problems with the network, the buffer in the BufferedReader is empty (equal bytearray()) and an attempt to read data at index "0" raises an IndexError exception.
In the case of "PING" messages, we can assume that this behavior is caused by network problems and the current connection is not valid, so we can notify the user about this and return "false".
I understand that this error is caused by code that references clickhouse-driver, but there are some differences with the proto module code.  Unexpected packet from server <IP_ADDRESS>:9000 (expected Pong, got Hello)

../../asynch/proto/connection.py:254: UnexpectedPacketFromServerError

I checked this solution, but the leb128.decode returns 0 (which is logical), which corresponds to the type HELLO and when checking the type in the Connection.ping method, we raise UnexpectedPacketFromServerError (which is logical).
I understand what the problem is, but I don’t quite understand how to solve it correctly, since it seems that either a new type of error is needed here, which we will return in checking for buffer emptiness, or a change in the value of a constant of type "Hello" (which we hardly then let it be done).
And here it looks like you need to go to the guys from clickhouse-driver.
But if the current version is enough for the "first time" - I will be glad if we accept it.

Hi there!
Also facing the same issue.
Is there any chance that PR will be merged soon?

@tikon93 We started using it at work, but had to disable the pool to quickly solve the another problem. And then ... there was simply no time.
If you want, I will test again tonight whether I understood the problem correctly (and then what I did works fine) or whether the problem is in my implementation.
It will also be necessary to add tests and then it will be possible to ask the @long2ice about whether it will be possible to accept PR.

@i8enn, actually we also trying to use the solution at work and it looks fine so far.
It'll be great if you'll take another look to the problem.

@long2ice I have written tests that simulate network problems and check if these problems are caught in the ping method: they are simple, but I think this is enough.
I also checked the bug I was talking about in my previous comment and it's really our problem with FastAPI middlewaries based on this and @tikon93 post - it looks like this PR really solves the problem.
I hope you accept this as soon as possible, because I want to install the library from PyPI, not from git... I will be very grateful to you 😄.
P.S.: I will also be grateful if you accept the improvement for the environment variables (#32) that I did at the very beginning, since it is much more convenient to write tests with them.

OK, thanks!

@long2ice Hello! Tell me if there will be a deployment on PyPI?


Ci.jenkins

SonarQube analysis reported 4 issues

 3 major
 1 info

Watch the comments in this conversation to review them.

SonarQube analysis reported 4 issues

 SqlUpdateStepDiscoveryService.cs#L11: Use the overloading mechanism instead of the optional parameters.
 SqlUpdateStepDiscoveryService.cs#L16: Use the overloading mechanism instead of the optional parameters.
 Updater.cs#L23: Use the overloading mechanism instead of the optional parameters.
 SqlUpdateStepDiscoveryService.cs#L25: Complete the task associated to this "TODO" comment.


Generate and use a config.h header

Useful for #1041
Related to https://github.com/ruby/yarp/pull/1051

This works with TruffleRuby with https://github.com/oracle/truffleruby/pull/3140, so let's wait that merges and then we can merge this.

I actually changed my mind on the src/yarp.c changes though, would you be able to revert those only?

Do you mean defining YP_VERSION_MAJOR in include/yarp.h instead of in config.h (via autoconf)? What's the rationale?
(BTW this PR should remove those YP_VERSION* from include/yarp.h if we keep it in autoconf, it seems https://github.com/ruby/yarp/pull/1051 missed that cleanup)

Specifically I mean using the PACKAGE_VERSION macro. I'm nervous about it conflicting since it's not prefixed with anything.

Ah sure, happy to change that back to YP_VERSION

I remove the arguments to AC_INIT as well then to not define any PACKAGE_* macros?

Should I remove the arguments to AC_INIT as well then to not define any PACKAGE_* macros?

I think they get defined as empty in that case. But yeah feel free.

@eregon is this good to go or are we waiting on truffleruby?

Let's wait the TruffleRuby PR merges to not break the CI here.

https://github.com/oracle/truffleruby/actions/runs/5415357250/jobs/9843509793?pr=3140
src/enc/unicode.c: In function ‘utf_8_codepoint’:
src/enc/unicode.c:2233:28: error: conversion to ‘uint32_t’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Werror=sign-conversion]
 2233 |             (0xff >> type) & (byte);
      |                            ^

Not sure why it this error happens there and not in other places. I'll try a trivial fix.

@eregon strange - probably needs to be 0xffu

Yeah, that goes further, but there are more errors: https://github.com/oracle/truffleruby/actions/runs/5416543973/jobs/9846399623?pr=3140
I'm just using make all-no-debug, so really weird it doesn't happen in YARP's CI.
One difference is that job runs on Ubuntu 20.04 vs 22.04 here.
I'll try to add a 20.04 job here to see if that repros.

OK it repros on 20.04: https://github.com/ruby/yarp/actions/runs/5416596186/jobs/9846527321?pr=1088
@kddnewton Could you address these warnings?

@eregon yeah can you rebase off https://github.com/ruby/yarp/pull/1103

Thanks!
We'll need a bit longer before merging the TruffleRuby PR, because that needs a small change in mx, and that's currently blocked due to some unrelated CI issue.

The TruffleRuby PR merged, CI is green on rerun, I'll merge


I want to install AngleSharp to VS2017 windows Service Project

I can not install to  VS2017 windows Service Project
Please Help me , thank you

What version of the .NET Framework are you targeting? I assume the version you use there is too low.
Please see the requirements listed in the README. Hope that helps!

up frmewrk to 4.6  can install , thank you


Incompatible changes break upgrade

Describe the issue
Currently I'm running 4.14.2 and trying to upgrade to 4.14.latest, which fails.
First error is this
$ helm upgrade -n weblate weblate weblate/weblate -f values.yaml
Error: UPGRADE FAILED: execution error at (weblate/charts/postgresql/templates/secrets.yaml:17:24):
PASSWORDS ERROR: The secret "weblate-postgresql" does not contain the key "postgres-password"

After duplicating the old entry postgresql-passwort to postgres-password using kubectl -n weblate edit secret/weblate-postgresql I now get the next error (reformatted for readability):
$ helm upgrade -n weblate weblate weblate/weblate -f values.yaml
Error: UPGRADE FAILED:
cannot patch "weblate-postgresql" with kind StatefulSet: StatefulSet.apps "weblate-postgresql" is invalid: spec:
  Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
&&
cannot patch "weblate-redis-master" with kind StatefulSet: StatefulSet.apps "weblate-redis-master" is invalid: spec:
  Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden

I already tried

[X] I've read and searched the documentation.
[X] I've searched for similar issues in this repository.

Steps to reproduce the behavior

helm upgrade -n weblate weblate weblate/weblate -f values.yaml

Expected behavior
helm upgrading Weblate
Screenshots
No response
Exception traceback
$ helm upgrade -n weblate weblate weblate/weblate -f values.yaml --debug
…
client.go:250: [debug] error updating the resource "weblate-postgresql":
         cannot patch "weblate-postgresql" with kind StatefulSet: StatefulSet.apps "weblate-postgresql" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
client.go:510: [debug] Patch StatefulSet "weblate-redis-master" in namespace weblate
client.go:250: [debug] error updating the resource "weblate-redis-master":
         cannot patch "weblate-redis-master" with kind StatefulSet: StatefulSet.apps "weblate-redis-master" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden

$ helm upgrade -n weblate weblate weblate/weblate -f values.yaml --debug --dry-run
…

### Additional context

_No response_

Might be result of PostgreSQL upgrade in https://github.com/WeblateOrg/helm/pull/195, that has changed quite some things...

I'm running 0.4.14 and thought it's a good idea to upgrade to the latest patch release 0.4.24.
I even checked https://github.com/WeblateOrg/helm/releases for breaking changes but none were reported.
I couldn't find a changelog for this helm chart.
After upgrade the postgresql database doesn't come online anymore cause the versions aren't compatible.
Luckily I was able to revert back to the old version.
It would really be nice if you introduce breaking changes that you could update to a new minor (or even better major) version and provide breaking changes in the release notes and even provide an upgrade path if possible.

Yes, this chart really needs a maintainer who understands Kubernetes. Right now, it's me merging changes, but I know Weblate and not Kubernetes, so it's easy to merge something that breaks things without noticing.

I'm looking for reviews of https://github.com/WeblateOrg/helm/pull/317 to avoid further breakages of the chart.

Are there any updates on this issue? Or are there upgrade instructions?

There have been several fixes to the chart meanwhile, but I don't think this issue has been fully addressed (IMHO that would break the current setups). If you have any suggestions how to improve the chart, pull requests are welcome. See also https://github.com/WeblateOrg/helm/issues/348


Converts variables and facts to be accepted by CALDERA

https://github.com/mitre/caldera/blob/f4b645a105aea5d6083e786c224e66c33c7ba3d6/app/utility/base_planning_svc.py#L52-L53
                relevant_facts = await self._build_relevant_facts([x for x in set(variables) if len(x.split('.')) > 2],
                                                                  facts)

According to the code above, the fact name must contain at least two periods.
The facts (input_arguments) contained in FIN6.yaml, menupass.yaml, etc. are not accepted by CALDERA because they violate this rule.
We suggest that this plugin automatically converts fact names, for example, like fact -> emu.FIN6.fact

thanks we'll address this further up the chain so that a.b facts and then don't need to convert. we'll leave this open until this is in place

Seems like this pull request on Caldera has fixed this issue @wbooth @shinsugarfj


Getting blank page in local env

Hello,
I have checked out the code and tried to run it locally, but I am getting a blank page that just says "Loading...", after I click on "Login".
These are the screenshots:

In my env file I am pointing to the same client_id that is in the example env file.
Can you please advise?
Thanks.

Hello @albertoalmansa-e2x
Currently we have identified 2 ways to access to buyer portal:

By using you bigcommerce store url (https://store-{storeHash}-{channelId}.mybigcommerce.com) or cname url (mystore.com),
By using stencil cli tool

Both will work after you configure the script tags on your store configuration

Hello @bc-marco ,
But I am trying to run or locally following the readme.
Thanks.

Hello @bc-marco ,
But I am trying to run it locally following the readme.
Thanks.

Yes, but in order to consume the bundled files, you should be using the store, not the local development direction on your browser
PS. Stencil CLI is not fully working yet, we're working on a fix for that

Thank you @bc-marco , that worked. I can now see it integrated with cornerstone and hit the buyer-portal that runs on my local env. I hadn't imagined it had to be through the deployed theme.
Kind regards,
Alberto.


#352 made variables (scoredCandidates and mapGene2Concepts) threadsafe

Thanks @mdonepudi , what's the reason for the new Map geneMap being used?? while still having the genes arraylist?

We could have removed genes and refactored to use geneMap instead, for presentation sake, but we prioritised fixing the code. Given that you intend to retire this class, going into too much effort to make it perfect seems redundant.
Sent from my iPhone

On 31 Jul 2019, at 14:02, Ajit Singh<EMAIL_ADDRESS>wrote:
Thanks @mdonepudi , what's the reason for the new Map geneMap being used?? while still having the genes arraylist?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or mute the thread.


Superset Dashboard Files

I ran the entire workflow within a VSCode devcontainer.  Cool stuff!  Do you have the Superset dashboard definitions uploaded to the repo (which produce the images in the readme?)

No, they have to be configured manually in my testing. But the images are straight selects on the following tables: reg_season_summary and season_summary. There is no data transformation happening in superset.
BTW I have some work in flight to get this working with evidence.dev and potentially rill developer.

Also here's the superset documentation for exporting/importing objects in order to quickly replicate that awesome looking boxplot for first timer superset users. https://superset.apache.org/docs/miscellaneous/importing-exporting-datasources/

BTW a PR implementing plotly dash is more than welcome!!

Also here's the superset documentation for exporting/importing objects in order to quickly replicate that awesome looking boxplot for first timer superset users. https://superset.apache.org/docs/miscellaneous/importing-exporting-datasources/

Ok this looks excellent. I think I can rebuild those dashboards in the next few days and use the import/export functionality. Thank you for sharing!!

@n0012 so I have this "working" but its only data sources & data sets. Which means, superset is still a deadend. Closing this one.

https://github.com/andrewcstewart/ds4fnp/tree/main/superset#importing-and-exporting
# exports
superset export-datasources -f datasources.yml
superset export-dashboards -f dashboards.json

# imports
superset import-datasources -p datasources.yml
superset import-dashboards -p dashboards.json

ok this is in now.

Thanks! Will give it a try


Lesion augmentation - improve lesion placement

Currently, a lesion is placed into a random location within the target SC:
https://github.com/ivadomed/model_seg_sci/blob/3f87ed73fec29a65c7f5df42be986a1fa309cc61/generate_new_lesions/generate_new_lesion.py#L149-L159
This randomness sometimes causes that the new lesion coordinates are selected close to SC/CSF border. Since we are then masking the lesion using the SC mask (to avoid lesion projection outside of the SC), the resulting lesion might have a small size. Sometimes only a few voxels. This then challenges the model training.
Example (top - original lesion, bottom - augmented lesion (placed close to SC/CSF border)):

Solution:
Improve how the new coordinates are selected.

A random point where the lesion placement starts is now selected on the centerline. Moreover, the check, if lesion was inserted, was added. See lines L195-L220.

Closing as we stopped working on this


STP crashes the app with std::bad_alloc

Hi,
I was writing some testing code with STP and SFML 2.1. Basically, I was just loading a TMX file as the tutorial teaches and I got this:
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
Aborted (core dumped)
Process returned 134 (0x86)   execution time : 0.703 s
Press ENTER to continue.
After insisting for a few times, it was able to crash the entire OS (in this case Ubuntu Linux 14.04).
Any clues? Let me know if I can provide further info.

Closed for lack of information to debug the problem.


Support mozreview

Coverage remained the same at 49.332% when pulling 2210221b2b05a72e41616f440ff0559b1b4b741f on calixteman:mozreview into 009cb4c82d66d047ad3ec902fa5d45824fb114cf on mozilla:master.


Export ast-to-estree?

Hi,
I'd like to use eslisp to evaluate eslisp, so that I can do things like:
(eval (quote (+ 1 2 3)))
eval, of course, takes Javascript so I'd like a way to transform the estree (as returned by quote) to javascript. Looking at https://github.com/anko/eslisp/blob/master/src/index.ls, it appears that we might be able to export ast-to-estree such that something like
(eval (ast-to-estree (quote (+ 1 2 3))))
could work (edit: not quite, the AST used internally seems to be different from what quote returns). Another option would be to make compileOnce, etc default to this behavior if the input was an estree instead of a string.
What do you think?
Thanks,
Ben

Trying to isolate the root issue—correct me if I'm wrong:
You want to evaluate (+ 1 2 3) at compile-time, such that its output (6) is inserted into the output JavaScript as a numeric constant.
At the moment, you could do that with this.evaluate inside a macro:
; Define a new macro that compiles & evaluates its input, and outputs the result
(macro precompute
       (lambda (input)
        (var output ((. this evaluate) input))
        (return ((. this atom) output))))

; Call it
(precompute (+ 1 2 3))

The output is:
6;

The only sparse documentation I've written for this sort of thing so far is here. It's buried behind a few links from the main readme, because my thoughts on it haven't fully come together yet—sorry about that. It has various unit tests though.
To return array and object literals from macros, you currently have to manually construct the appropriate estree objects and return those. Macros should probably expose a generic this.valueToEstree. This isn't documented anywhere, because again I'm not convinced I've fully figured it out yet.
Eventually, I want to get rid of as much of this AST-format juggling as possible, and document properly what's going on. It's actually not very complex, it's just liable to change a lot.
Does some of that answer some of your questions? :sweat_smile:


maintained?

Is this repo still maintained?

Work is in progress, but I can't give any estimates about any new features/bugfixes atm

is this project still maintained ? no commits since 2017...

Probably not. I think it’s safe to say you can fork it and take over it.
On Wed, Jul 24, 2019 at 16:32 Juan Luis Baptiste<EMAIL_ADDRESS>wrote:

is this project still maintained ? no commits since 2017...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/adamwalach/openvpn-web-ui/issues/10?email_source=notifications&email_token=AB4V4QDROG52ZA6X524MMATQBDDAVA5CNFSM4E6TXKOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2XVUVA#issuecomment-514808404,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4V4QGCLMVQK6KHHQRQSN3QBDDAVANCNFSM4E6TXKOA
.

--
Kareem G. H.
This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended recipient(s).
Any unauthorized disclosure, dissemination, distribution, copying or the
taking of any action in reliance on the information herein is prohibited.
E-mails are not secure and cannot be guaranteed to be error free as they
can be intercepted, amended, or contain viruses. Anyone who communicates
with us by e-mail is deemed to have accepted these risks. Company Name is
not responsible for errors or omissions in this message and denies any
responsibility for any damage arising from the use of e-mail. Any opinion
and other statement contained in this message and any attachment are solely
those of the author and do not necessarily represent those of the company.

Sadly, I can't promise I'll be able to continue development of this project(at least in next few months).
If someone is interested in contributing/taking over we could create an org in github and redirect project there. I can help with the development, but I will not be able to drive it.
If anyone is interested in collaboration/taking over, please pm me.

Hello @adamwalach,
Thanks for creating this great open source project. It is really helping community a lot.
Me and @macnev2013, are planning to maintain the project with new feature/bug-fixes. We wolud be happy to adopt the project or maintain a separate fork. Please let us know your thoughts.
You can visit our fork here. We have updated and redesigned the User Interface.
Looking forward to hearing from you.
Thanks.

Hi @monty16597
Thanks for reaching out!
I really like the redesigned user interface, and I'd love to see this project having a new life :)
I think we have the following options:

develop it in the current repository - I am fine with that, and I can grant you owner permissions if you want
add a note to the readme file with a short explanation that this repo is no longer active and a link to your repo

Additionally, we could create a new gh organization with a fancy name ;)
What is your opinion?

Hi @adamwalach, Thanks for the response.
We are fine with any of the following:

We already have a GitHub organization where we manage such projects and we can transfer the project ownership over there.
We can maintain a separate fork in the same organization and add depreciation notes here.

Let us know your thoughts.
We would love to discuss more.  You can reach out to us at<EMAIL_ADDRESS>and<EMAIL_ADDRESS>.
Thanks.

Hi @adamwalach, We would love to hear back from you. We are open for any discussions.
We are actively working on the future road map.
Looking forward to discuss in detail.
Thanks

Me and @macnev2013, are planning to maintain the project with new feature/bug-fixes. We would be happy to adopt the project or maintain a separate fork. Please let us know your thoughts.
You can visit our fork here. We have updated and redesigned the User Interface

@monty16597 and @macnev2013 Thanks for the work you've done on the updated interface for this project in your @intrigues fork. Loved that I could spin-up a test setup using the Stacks - Git Repository feature of Portainer. I'm curious if you think it's possible for the openvpn-gui Docker container to work with an openvpn server instance that's not in a docker container? I'd like to use it in a TAP interface (bridge) scenario, which I don't believe can be implemented in a container.

Hi @monty16597 Thanks for reaching out! I really like the redesigned user interface, and I'd love to see this project having a new life :)
I think we have the following options:

develop it in the current repository - I am fine with that, and I can grant you owner permissions if you want
add a note to the readme file with a short explanation that this repo is no longer active and a link to your repo

Additionally, we could create a new gh organization with a fancy name ;)
What is your opinion?

@adamwalach -
Just wanted to let you know that I've created a fork of your excellent openvpn-web-ui project specifically for those of us that like using a TAP-style VPN connection.  I did a full update on all of the dependencies, and numerous changes to accommodate the latest versions of OpenVPN (including differences in the Management Interface) and EasyRSA3.  The base is now Debian 11.
I don't believe it's possible to do a TAP (bridge) setup inside a docker container, so this version works with OpenVPN on the host, and so is a single container.   I used PiVPN, which is a great script, and is compatible with both Debian and Ubuntu.  All of the command line options for PiVPN work too, so things like certificate revocation can be done from a root terminal session, WinSCP or Cockpit.
Personally, I prefer your original interface, which looks great with the Dark Reader browser extension.  I forked from @tyzbit's version, done last year -- so there are also additional server and client configuration options, including specifying DNS servers and the ability to add options without specific fields.  Also, thanks to @mendoza-conicet, I added downloading of the client config as a single .ovpn file.
Here are few screenshots, which of course should look very familiar:

Here's what it looks like in Organizr, complete with Cockpit and Portainer:

The Certificates page with the additional download option:

And the OpenVPN config page (in white, because I can't do a "Select and Scroll" screen capture with Dark Reader enabled):

Thanks for all the great work you did on this back in 2017, and just wanted to let you know it's still appreciated!

Hallo everyone
Its 2023 and work done by Adam is still amaizing.
I found that all popular forks continue to use Beego v1.X web framework which has 3 critical CVEs (1, 2, 3) and 76 more  for other software components.
I have all these fixed, but unfortunately can't just push new changes in this repo, as my fork went too far with code base and features, so I'm leaving link to my repo here, for you all.
The fork called openvpn-ui
I'm keep maintaining it and you all are welcome to participate, as well.
Here is short features description and screenshots.
Features

Status page that shows server statistics and list of connected clients
Easy to preview OpenVPN Server logs
Supports OpenVPN tunnel(dev tun) or bridge(dev tap) server configurations
Easy to generate, download, revoke and delete client certificates
Client can have secret passphrase and static IP assigned during client certificate generation
You can Change predefined EasyRSA vars including certificates and CRL expiration time
Maintain EasyRSA PKI infrastructure (init, build-ca, gen-dh, build-crl, gen-ta, revoke)
Change OpenVPN Server configuration via web interface
Restart OpenVPN Server and OpenVPN UI from web interface
Pass user and password via container environment variables
Updated infrustracture:

Beego 2.1 with all vulnerabilities fixed
Easy-rsa 3.X
Openssl 3.X
OpenVPN 2.5.8 Server is fully compatible

Compatible OpenVPN Server images can be found on Docker Hub - d3vilh/openvpn-server:latest
As well as Openvpn-UI itself - d3vilh/openvpn-ui:latest

Support any architecture, ready images for AMD64 and ARM available on Docker Hub.

@d3vilh, your repository featuring the ability to sponsor the project as well as having a donation link at the end of your README gives me pause.
It's true you've done a huge amount of work as evidenced by the commit history and I'm grateful that this codebase has been developed upon and has an active maintainer on a fork. With that said, do you plan on keeping all proceeds from sponsors and donations on this project or would you share some with @adamwalach? If you do not plan to split proceeds, does that seem fair given the complexity of this original repo versus your additions?
To be clear, I think you should do whatever you like. I myself added the tiniest of features to my personal fork, so I don't expect derivative works to credit me. But @adamwalach made a great tool here and it's obvious that hours were spent on it, yet he gets but a mention at the bottom of your README, his commits stripped from the commit history and the new maintainer of the code he largely wrote happily accepting sponsors and donations. Like I said, it gives me pause.

Hi @tyzbit, your comment is very fair.
I'd be happy to include an Adam donation button there as well. I haven't generated any income from this project  (there have been no donations at all), also I'd be glad to receive some as well because I've dedicated a lot of my time to it over the past few months🙃
as you wrote, Adam is mentioned in the Readme file as an original author and LICENSE also have the proper links. Furthermore, we all have permission, as indicated in this thread, to take over this repository.
This is important because it aligns with the core principles of the Free Software community and is a way to contribute.
Ultimately, the decision is yours. You can pause the project or even use it in a commercial environment, but it's important to publicly acknowledge all the co-authors mentioned in the LICENSE file and, if you're inclined, make a donation to show appreciation for the developers' time and effort.

To be clear, I think you should do whatever you like.
Thank you, and I would be delighted to receive pull requests from you as well 😉.
This is how the Open Source community thrives.

@adamwalach, I'd be more than willing to personally donate and include your links to Openvpn-ui project page (Please update the readme file with it, or pm me). I'm sure lot of people here would be glad to donate too.

Thanks for your response @d3vilh, you've given me some peace of mind. I want effort to be rewarded with income in the open source community and how you're going about it seems responsible and fair to me.
Ultimately, whatever Adam wants is all that matters, so as long as if he asks for more attribution or a donation link on your repo you make the requested change, then all is well. Thanks again for becoming an active maintainer for this very useful codebase.


Any plan releasing a non app store version?

Description of the new feature/enhancement
I want to install this terminal to windows server. But windows server doesn't have app store.
Proposed technical implementation details (optional)
Is that possible having a portable version of this App?

/dup #1386

You can also unzip the msixbundle from our releases page. This is not supported, but it might work for you.


Font is not changed for debug console input field.

VSCode Version: Code 1.7.2 (7ba55c5860b152d999dda59393ca3ebeb1b5c85f, 2016-11-21T22:06:37.428Z)
OS Version: Windows_NT ia32 10.0.14393

Steps to Reproduce:

Set custom font in settings
Run any script in debugger and open Debug Console
See that font is still default (Consolas on Windows)

@isidorn Is this #1957?

Yes closing as dup


Modify announcement bar to be closable

Modify announcement bar to be closable

Just noting @KtorZ's comment that the survey is running through the 29th (4 more days from now) (#704 (comment)) but does not say the bar cannot be closable before then; only that it should remain there. 🤔

I believe in case someone already did the survey, it would be annoying to constantly see the announcement bar on top

in case someone already did the survey, it would be annoying to constantly see the announcement bar

I agree & have display: none'd web site components in browser style sheets for less... it would be a shame for people to have to do that to the Developer Portal 💔

Note that the survey is ending tomorrow. So we might as well remove the bar 😅

So we might as well remove the bar

Fine to remove a closeable bar. ☝😁