Issues with loading macros

Hi, I'm trying out aniseed again on my config, which you can see here: https://github.com/shaunsingh/nyoom.nvim/tree/aniseed-support
The macros in question are here: https://github.com/shaunsingh/nyoom.nvim/tree/aniseed-support/fnl/macros
Essentially, aniseed can recognize command-macros event-macros and all of the top-level macros just fine. However, those depend on other macros as well: these which aniseed can't find. How should I proceed with this, is this something aniseed should solve or rather is there a certain way I should name/redo those macros?
Here is the resulting error:
Error detected while processing /Users/shauryasingh/.local/share/nvim/site/pack/packer/start/aniseed/plugin/aniseed.vim:
line    3:
Compile error in /Users/shauryasingh/.config/nvim/fnl/core/commands.fnl:2
  .../shauryasingh/.config/nvim/fnl/macros/command-macros.fnl:1: module 'macros.lib.types' not found:
^Ino field package.preload['macros.lib.types']
^Ino file './share/lua/5.1/macros/lib/types.lua'
^Ino file './macros/lib/types.lua'
^Ino file './macros/lib/types/init.lua'
^Ino file './lib/lua/5.1/macros/lib/types.so'
^Ino file './macros/lib/types.so'
^Ino file './lib/lua/5.1/loadall.so'
^Ino file './lib/lua/5.1/macros.so'
^Ino file './macros.so'
^Ino file './lib/lua/5.1/loadall.so'
stack traceback:
^I[C]: in function 'require'
^I.../shauryasingh/.config/nvim/fnl/macros/command-macros.fnl:1: in function 'loader'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:1996: in function 'require-macros'
^Isrc/fennel/macros.fnl:322: in function <src/fennel/macros.fnl:317>
^I[C]: in function 'xpcall'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2634: in function 'macroexpand_2a'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2820: in function 'compile1'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:784: in function 'special'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2658: in function 'compile1'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:3054: in function 'compileString'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:50: in function <...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:49>
^I[C]: in function 'str'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:57: in function 'file'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:75: in function 'glob'
^I.../nvim/site/pack/packer/start/aniseed/lua/aniseed/env.lua:57: in function 'init'
^I[string ":lua"]:1: in main chunk
                                      ^
runtime error: module 'macros.lib.seq' not found:
^Ino field package.preload['macros.lib.seq']
^Ino file './share/lua/5.1/macros/lib/seq.lua'
^Ino file './macros/lib/seq.lua'
^Ino file './macros/lib/seq/init.lua'
^Ino file './lib/lua/5.1/macros/lib/seq.so'
^Ino file './macros/lib/seq.so'
^Ino file './lib/lua/5.1/loadall.so'
eyboard interrupt
stack traceback:
  [C]: in function 'getcwd'
  ...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:25: in function 'wrap_macros'
  ...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:50: in function ?
  [C]: in function 'str'
  ...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:57: in function 'file'
  ...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:75: in function 'glob'
  .../nvim/site/pack/packer/start/aniseed/lua/aniseed/env.lua:57: in function 'init'
  [string ":lua"]:1: in main chunk
Compile error in /Users/shauryasingh/.config/nvim/fnl/core/keybinds.fnl:2
  .../shauryasingh/.config/nvim/fnl/macros/keybind-macros.fnl:1: module 'macros.lib.types' not found:
^Ino field package.preload['macros.lib.types']
^Ino file './share/lua/5.1/macros/lib/types.lua'
^Ino file './macros/lib/types.lua'
^Ino file './macros/lib/types/init.lua'
^Ino file './lib/lua/5.1/macros/lib/types.so'
^Ino file './macros/lib/types.so'
^Ino file './lib/lua/5.1/loadall.so'
^Ino file './lib/lua/5.1/macros.so'
^Ino file './macros.so'
^Ino file './lib/lua/5.1/loadall.so'
stack traceback:
^I[C]: in function 'require'
^I.../shauryasingh/.config/nvim/fnl/macros/keybind-macros.fnl:1: in function 'loader'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:1996: in function 'require-macros'
^Isrc/fennel/macros.fnl:322: in function <src/fennel/macros.fnl:317>
^I[C]: in function 'xpcall'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2634: in function 'macroexpand_2a'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2820: in function 'compile1'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:784: in function 'special'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2658: in function 'compile1'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:3054: in function 'compileString'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:50: in function <...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:49>
^I[C]: in function 'str'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:57: in function 'file'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:75: in function 'glob'
^I.../nvim/site/pack/packer/start/aniseed/lua/aniseed/env.lua:57: in function 'init'
^I[string ":lua"]:1: in main chunk
(import-macros {: let!} :macros.variable-macros)

I'll try putting everything under the macros/ folder, rather than some under macros/lib and some under macros/. It would be nice to have support for the later case as well though

Nevermind, similar error even after doing that. I don't think https://github.com/Olical/aniseed/issues/62 was actually fixed
Error detected while processing /Users/shauryasingh/.local/share/nvim/site/pack/packer/start/aniseed/plugin/aniseed.vim:
line    3:
Compile error in /Users/shauryasingh/.config/nvim/fnl/core/commands.fnl:2
  .../shauryasingh/.config/nvim/fnl/macros/command-macros.fnl:1: module 'macros.types-macros' not found:
^Ino field package.preload['macros.types-macros']
^Ino file './share/lua/5.1/macros/types-macros.lua'
^Ino file './macros/types-macros.lua'
^Ino file './macros/types-macros/init.lua'
^Ino file './lib/lua/5.1/macros/types-macros.so'
^Ino file './macros/types-macros.so'
^Ino file './lib/lua/5.1/loadall.so'
^Ino file './lib/lua/5.1/macros.so'
^Ino file './macros.so'
^Ino file './lib/lua/5.1/loadall.so'
stack traceback:
^I[C]: in function 'require'
^I.../shauryasingh/.config/nvim/fnl/macros/command-macros.fnl:1: in function 'loader'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:1996: in function 'require-macros'
^Isrc/fennel/macros.fnl:322: in function <src/fennel/macros.fnl:317>
^I[C]: in function 'xpcall'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2634: in function 'macroexpand_2a'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2820: in function 'compile1'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:784: in function 'special'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:2658: in function 'compile1'
^I...te/pack/packer/start/aniseed/lua/aniseed/deps/fennel.lua:3054: in function 'compileString'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:50: in function <...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:49>
^I[C]: in function 'str'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:57: in function 'file'
^I...m/site/pack/packer/start/aniseed/lua/aniseed/compile.lua:75: in function 'glob'
^I.../nvim/site/pack/packer/start/aniseed/lua/aniseed/env.lua:57: in function 'init'
^I[string ":lua"]:1: in main chunk
                                      ^
runtime error: module 'macros.seq-macros' not found:
^Ino field package.preload['macros.seq-macros']
^Ino file './share/lua/5.1/macros/seq-macros.lua'
^Ino file './macros/seq-macros.lua'
^Ino file './macros/seq-macros/init.lua'
^Ino file './lib/lua/5.1/macros/seq-macros.so'
^Ino file './macros/seq-macros.so'
^Ino file './lib/lua/5.1/loadall.so'

I'll try and fix this for good soon, just focusing on some Conjure stuff at the moment.

Loving the work on conjure, for now I just moved everything into one file and it works perfectly. Take your time, no worries

So I think this was to do with Aniseed not creating intermediate directories when copying macro files over into your compiled lua output directory. I've since fixed that and I can now refer to nested macro files!
If you can still reproduce it, please let me know. I'm trying to reproduce it still but I feel like I'm missing something. I think I've fixed one issue but there may be another lurking that I can't quite repro.

So this works, but you NEED to use import-macros, if you just require then it's going to try and load a lua module which won't work since you can't have a macro file that is compiled lua. Macros MUST always be uncompiled fnl.
If this statement is wrong and this does work in some other system please let me know! But I think the only way to load other macro files into your macro file and use them is to use import-macros etc. I've fixed the nested dirs of macros issue, so maybe that was it?
Here's a small snippet of me requiring a sub-macro file and using it. It works for me! Although not super useful, I think it's just a limitation of Fennel, you can't just infinitely require and next macros and have it resolve them all as you would in Clojure... I think. I could just be wrong!
; (local {: bad-add} (require :./misc.other-macros.fnl))
(import-macros {: bad-add} :dotfiles.misc.other-macros)

{:adder-b (fn [a b]
            `(+ 1 ,a ,b ,(bad-add 1 2)))

...

Yep! That sounds like the same problem! Which to me sounds like a Fennel
usage problem? Like we need to work out patterns that work for Fennel. I
don't think I can work around that limitation?
I think I've fixed aniseeds bug to do with nested dirs though!
On Thu, 25 Aug 2022, 00:03 Thanh Dung TRUONG, @.***>
wrote:

@Olical https://github.com/Olical
Might related to
rktjmp/hotpot.nvim#76 https://github.com/rktjmp/hotpot.nvim/issues/76
—
Reply to this email directly, view it on GitHub
https://github.com/Olical/aniseed/issues/128#issuecomment-1226578539,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACM6XKKGA7GL66QETGSFCTV22S4VANCNFSM5522DVZA
.
You are receiving this because you were mentioned.Message ID:
@.***>

We're now on fennel 1.2.0 on the develop branch, not sure if that helps at all...

(x-post from hotpot issue)
I think if you use this fork https://github.com/rktjmp/fennel-cljlib/ cljlib should now work?
The install instructions have changed since this was opened, you how have to set the package.path.
Internally it makes a direct (require :lazy-seq) call, so you must update the package path as instructed. For me that was:
(let [root (vim.fn.stdpath :config)
      path (.. root :/fnl/cljlib)]
  (set package.path (string.format "%s;%s;%s"
                                   (.. path "/?/init.lua")
;; readme doesn't say to add this one but it's idiomatic to include both the `?.lua` and `?/init.lua` paths.
                                   (.. path "/?.lua")
                                   package.path)))

(local clj (require :cljlib))
(import-macros cljm :cljlib)

(print (clj.add 1 2 3))
(cljm.time (do
  (for [i 1 10000000] i)))

I just cloned it into .config/nvim/fnl/cljlib (and got the submodules) which effectively puts it in the main cljlib package in "neovims lua package root" if you want to call it that. If you put it in some nested subdir you might have to muck around with package.path a bit more.
Hopefully the patch can be up streamed, have to check with Andre if he has opinions on the change.
https://github.com/rktjmp/fennel-cljlib/commit/8b58117962c51f72da211ea0c06e4c0aea3f74e9

Considering require-macros is deprecated anyways, and that aniseed works just fine with multiple macro files and import-macros, I'll consider this fixed for my own use case.


Remove borders from iframes by default

Iframes have a 3d-looking border by default which looks a bit odd imo:
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe

Ping @twbs/css-review for a review.

Gonna merge this, let me know if anyone is missing the nineties look


Plumber Task

Need water service connection
Install & Hookup Toilets
Check all lines for other plumbing fixtures
Architecutal Map of Level 1: Pinterest
Architecutal Mao of Level 2: Pinterest

It also linked to this


Drop Python 3.7 testing from Github Actions workflows

Python 3.7 is EOL: https://devguide.python.org/versions/
Motivated by me hitting an annoying 3.7 incompatibility in https://github.com/modal-labs/modal-client/pull/1203

Should we explicitly drop support for it in our setup.py too then?

Oh yes. There's also support for it in image.py.


Handle AJAX write to S3 via PHP fails for large files

I am providing more details about the implementation since I have little knowledge of file systems.
I have been trying to implement an image gallery piwigo (http://piwigo.org/) on an AWS EC2 t2 machine.  I intend to store the images on S3 using goofys.
I created a folder in /home/ubuntu and mounted a S3 folder to it and then softlinked it to the upload folder of piwigo web gallery.
The web gallery allows file upload through a web-browser and this fails for large files (> 900kB). When I changed the upload folder to a native one it works fine. I understand this might has something to do with caching.  I dont intend to use catfs since it is a prod environment.
Any inputs would be great. Thanks.

The web gallery allows file upload through a web-browser and this fails for large files (> 900kB).

Can you explain in detail what is failing here? Maybe share your code/logic of how you are writing to the goofys mounted directory?
Can you also share the goofys log? I have a gut feeling that your code is doing "random writes" that goofys does not support.

Its possible that piwigo does random writes. You can check the code from piwigo. Its opensource. probably this is the page responsible for upload from webform
https://github.com/Piwigo/Piwigo/blob/master/admin/photos_add.php
I had mounted my drive using this in fstab
goofys#bucket   /mnt/mountpoint        fuse     _netdev,allow_other,--file-mode=0744,--dir-mode=0777    0       0
Regards

Where do I get the goofys log

goofys log goes to syslog. The location in most OSs is /var/log/syslog
If random write is indeed the issue, the workaround is to write to a local file and then move to the location where goofys is mounted


ReferenceError: getGlobalCDNUrl function window is not defined

Hello! We've moved to the 2.0 version and started receiving errors in Sentry - getGlobalCDNUrl(@segment.analytics-next.dist.cjs.lib:parse-cdn) window is not defined.
The problem is inside getGlobalCDNUrl function.

@silesky I understand that I can fix it with window check, however, in next js example there is no window check. Maybe, I am missing something.

@altyntsevlexus ensure that .load is not called on the server in whichever way you choose.
some additional next.js examples are here: https://github.com/vercel/next.js/pull/52327


Fullscreen modal box on mobile

Hello @tomlovesgithub I have tested this on my mobile and I could only see:

The time/numbers displayed. I no longer saw ‘Time remaining’.
'Previous'. I could not see the 'Question' of 'Previous Quesiton'.
The 'Are you sure?' box covering the whole screen when exiting the test.

Again, nice work! I'm happy that that this can go live on production, pending further testing by other staff.
I have three additional staff testing this tomorrow morning at 8:30. We are unable to push this to live without several people testing it.
Can you please clarify whether this ticket can be pushed to production if the numerous other tickets in the pipeline cannot be released?

@tomlovesgithub as discussed earlier this morning this work has now also been tested by two SET members and they have confirmed that everything included in your testing script worked as described.
We can now push this to production. This will need to be completed before COB Friday. Please liaise with Warren to confirm whether this can independently released apart.

Update: This has been tested and can go to production after the 051 mop up on 1 April 2021.


103 Early Hint

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
Would love to see Traefik support 103 Early Hint
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103

Asked related questions:

How to get 103 Early Hints work in Traefik?
Does Traefik support 103 early hints?

Hello @gajus,
Thanks for pointing this out,
An issue is open in the Go repository to support 103 Early Hint (see https://github.com/golang/go/issues/51914) and that might be released with go1.19. This means that we will have to wait for that support and evaluate what needs to be done to support it in Traefik.

Looks like this was released in go1.20. Would love to see support for this in Traefik. In our trials, this results in huge page load time improvements.

@kevinpollet Any chance of this landing in v3 of Traefik?

Any update on this? Will be awesome if you add support for it.


Trying to import a JSON DUMP but it's failing

I'm trying to import a JSON dump but it's showing a message:
Something wrong when reading the dump file:
Serialize Reference not supported in json import yet!

I'm working on it. As the message says, it's not supported yet.

Minimal testing done so far, but basic support seems to be working in uabeanext (https://github.com/nesrak1/UABEANext)


Save compose file without deploy

Is your feature request related to a problem? Please describe.
I'd like to be able to save changes I've made to a compose file while the stack is turned off. As it stands, any changes I make while the stack is not running get cleared out when I start the stack up again
Describe the solution you'd like
When editing an existing stack that is stopped, replace the "Update the stack" button with a "Save" button
When creating a new stack, an extra button that says "Save the stack"
Additional context
Sometimes I don't want to deploy something right this second, but I don't want to lose the changes I've made.

Related to #2732

Hi, sounds like this is a duplicate of https://github.com/portainer/portainer/issues/4564.


Problem when project is marked CXX

Everything works with
project(blah)

add_library(foo ...)

but when I do
project(blah CXX)

add_library(foo ...)

in the function cotire_check_precompiled_header_support I get ${_language} == "C" and
message("${CMAKE_${_language}_COMPILER_ID}") prints nothing (hence no PCH get generated).

Actually it seems that my CMAKE_C_COMPILER_ID is not set. Maybe relevant to this : http://www.itk.org/Bug/view.php?id=7680 ?


node: allow nodes in insecure mode to start control plane by themselves

Control plane nodes in insecure modes do start since the low-integrity work, but the control plane does not come back up as the roleserver depends on the curator to start the curator.

https://review.monogon.dev/c/monogon/+/1842


Build failure: invariant violations once including rnmapbox

Environment

Dev OS: [OSX 12.5.1]
More info from react-native info below

Steps to reproduce
Hi! I've got trouble with implementing this library in a freshly started react-native project I started based on Infinite Red's Ignite boilerplate.
I already cleaned my project manually and with help of react-native-clean-project.
What I did:

Installed latest @rnmapbox/maps via npm
Ran npx pod-install and added pre_ & post_install entries to the Podfile as specified here
Set up a fresh component containing a view with the README.md's boilerplate

import React from "react"
import { ImageStyle, Linking, TextStyle, View, ViewStyle } from "react-native"
import { AutoImage, Button, Screen, Text } from "../components"
import { colors, spacing } from "../theme"
import { isRTL } from "../i18n"
import MapboxGL from '@rnmapbox/maps';

function openLinkInBrowser(url: string) {
  Linking.canOpenURL(url).then((canOpen) => canOpen && Linking.openURL(url))
}

MapboxGL.setAccessToken("pk.eyJ1IjoicmllZGVsamFuIiwiYSI6ImNrdjc4cDd4NTA5d2kyb21nYzk0MW12djYifQ.gmq-Ycreye3Ht5gQh8j8Eg");

export function MapComponent({ navigation }) {

  return (
    <Screen preset="scroll" safeAreaEdges={["top"]} contentContainerStyle={$container}>
      <View style={$page}>
        <View style={$container}>
          <MapboxGL.MapView style={$map} />
        </View>
      </View>
    </Screen>
  )
}
// ... only omitting some style variables

What happens:
 ERROR  Invariant Violation: `new NativeEventEmitter()` requires a non-null argument., js engine: hermes
 ERROR  Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
        A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
 ERROR  Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.
        A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes

What to do?
At this point I'm very uncertain what to do next. I reinstalled all dependencies, purged caches, rebuilt multiple times, etc.. I might be missing something trivial. Is there any relation to the dependency.platforms.ios.project invalid configuration warning? Would appreciate any help!
react-native info
warn Package @rnmapbox/maps contains invalid configuration: "dependency.platforms.ios.project" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
    OS: macOS 12.5.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 24.15 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.0 - /usr/local/bin/node
    Yarn: 1.22.15 - /usr/local/bin/yarn
    npm: 8.19.2 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8193401
    Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.15 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: ^9.1.3 => 9.1.3
    react: 18.1.0 => 18.1.0
    react-native: 0.70.2 => 0.70.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

1.) Have you also rebuilt the app in Xcode?!
2.) Which RNMapboxMapsImpl are you using?!
3.) Can you put a breakpoint at MGLModule / constantsToExport to see if it's executed or not?!

Same Issue 10.0.0-beta.58

I think the warning comes from this line here.
Maybe try editing<EMAIL_ADDRESS>like so:
module.exports = {
  dependency: {
    platforms: {
      ios: {
-        project: 'true',
      },
      android: {
        sourceDir: './android/rctmgl',
      },
    },
  },
};


normalisation of negative dynamics

The norm-function of 'plotdyn' normalises only at the maximum, so it works only for positive dynamics. For negative dynamics the minimum should be used instead.

The normalisation now first checks weather the absolute value of the minimum or maximum is larger and then uses the larger to normalise.


Add paging to orders command

Added to new orders in https://github.com/fremantle-industries/tai/commit/ff9867d18149e5def7b7db2a5bc12058800a0da2


[WV-334] fixed dict values for candidates view TEAM REVIEW

Created template values for

district name
contest office name
vote usa office id
vote usa politician id

Removed lime green background color

👍  Thank you @lredmo1!


⚠ Spryr has degraded performance

In b252489, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3177 ms

Resolved: Spryr performance has improved in 5eb0bb5 after 7 minutes.


Can't get Jetson imports to run from script file

Hello,
I am trying to run a .sh file to launch my python program. Which looks something like this:
#!/bin/sh
echo "Starting"
sleep 1
cd /home/velotech/workspace
python3 detect.py

And it runs the python program up until it gets to the part where it imports jetson.inference and jetson.utils when it gets to that point it just closes the terminal. When I run python3 detect.py from the terminal manually it works just fine, my program executes normally. It just doesn't work from the .sh file. I don't know what exactly it could be related to, maybe you can help me.

Hi @Unweptpit, not sure what would be causing this - are you double-clicking this shell script, or running it from terminal?
Is there any output from the program?
What happens if you replace the first line with #!/usr/bin/env bash ?

The situation is as follows, I have a touchscreen attached to a jetson nano. I would like to control everything through the touchscreen (clicking with a mouse). So I've made a .desktop application which runs the .sh script when it is double-clicked. The .sh script then attempts to launch the python program. Which is where the problem occurs. There is no output whatsoever in the terminal, it just launches an empty terminal and closes it immediately. (apart from the first print statement)
I've tried your suggestion, it gave me this error.

What if you use xterm -hold -e "python3 detect.py" in your script instead?

Hmm okay - sorry, I don't know what is happening
Can you try making a .desktop launcher like shown here:  https://stackoverflow.com/a/23105350

Thank you for giving me suggestions anyway. I was actually already using a .desktop application to launch the script. I've tried your suggestion and edited the .desktop application to the following.
[Desktop Entry]
Name=Velotech
Comment=Run the script in a Terminal window
Exec=bash -c 'cd /home/velotech/workspace && python3 detect.py'
Type=Application
Terminal=true
Icon=utilities-terminal
NoDisplay=true

This results in the same behavior as in the beginning, a terminal opens, it prints this gets printed and then closes.
Some things I've noticed though, the program runs fine when I use python3 detect.py from the terminal myself but it also runs fine when I use ./start.sh from the terminal. So the only time it doesn't work is when I double click the .desktop application to launch the script.

Today I did a complete re-install on my Jetson Nano and did a fresh install of jetson-inference. When I ran the example it threw a warning saying jetson.utils is precated and to use jetson_utils instead. After doing that I was able to run it from a .sh file and by double clicking the .sh file


[Azure Cognitive Search] Rename Track 2 models and add missing property

Per Azure API review feedback, we're renaming some Result types from <model><operation>Result to <operation><model>Result.
Also, the @search.coverage property of AutocompleteResult was missing from the spec. Note that it's not actually supported by the service yet, but will be added in the near future.
FYI @jhendrixMSFT -- This applies to our Track 2 specs only, and our first Track 2 SDK has not shipped yet, so this won't actually break any customers.
FYI @JonathanGiles -- Please review and let me know if the names make sense from an API guidelines perspective.
FYI @navalev @itye-msft -- Please ensure these changes are reflected correctly in the generated Java SDK code.
FYI @arv100kri @bleroy -- Just making sure you're aware of these changes for Track 2.
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

@brjohnstmsft are we still waiting for reviews from others?

@jhendrixMSFT Nope, this is ready to merge


KAFKA-15713: KRaft support in AclCommandTest

Updating AclCommandTest to support KRaft
Tests which are using AclAuthoriser are not updated, as they are expected to be removed after full migration to KRaft
Changed AclCommand console output for adding and removing ACLs.
In the original implementation, listAcls() method was called directly from addAcls() and removeAcls() methods, which caused a race condition in KRaft mode, so the test become flaky

This is quite a big change for our UI, as I understand. Should it go throuhg KIP process?

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hi @pasharik. Thanks for the change.

In the original implementation, listAcls() method was called directly from addAcls() and removeAcls() methods, which caused a race condition in KRaft mode, so the test become flaky

Can you share a bit more detail on this? How specifically does listAcls() contribute to flakiness? Thanks

Replied in the above thread

@pasharik Could you please check  the failed test?

@pasharik Could you please take a look at failed tests?

Could you please take a look at failed tests?

AclCommandTest seems to be fixed, but there are some other failing tests for jdk8 and jdk21

Test seems to be more stable now after recent update. I'm also running it in a loop in IntelliJ, and so far can't reproduce flakyness :crossed_fingers:

@pasharik thanks for your contribution and patience :)


Deployment to Netlify

Describe the bug
When I try to deploy to netlify it fails with the following message
Command failed
npx astro build
I have hit the 'Try to fix button' many times but no joy.
I need to get my site live that I've spent a lot of time working on.
Please help! Thanks!

Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-tqntjh
Steps to reproduce
Click the 'Deploy' button
Expected behavior
Deploys and provides a link to view the site
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 78558141,
  "usedJSHeapSize": 46885661,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = stevenwise
Chat ID = 711a0253ebe6

Additional context
No response

No now get this just when I execute a change in the chat

issue seems to have resolved it self when I left the project and then reopened it


Fix/errors for tox

Fix the errors we were getting when running tests
  [RuntimeError]
  The Poetry configuration is invalid:
    - Additional properties are not allowed ('group' was unexpected)

Nope. The group is the new way for poetry to manage additional dependencies and the dev dependencies are deprecated so the fix ought to be on the tox side. See the "DEPRECATED" in bold here.

🕵🏼

Will fix in another PR


Rename RID with alpine in name

Sabotage Linux - http://sabotage.tech/
Void Linux - https://www.voidlinux.eu/
NodeOS - http://node-os.com/
are some examples of musl-libc based linux distributions. Here is a full list: https://wiki.musl-libc.org/projects-using-musl.html.
Currently microsoft/dotnet:2.1-sdk-alpine docker image has hardcoded alpine name in it and unlike dotnet-sdk-latest-linux-x64.tar.gz distro-agnostic package, there is no way of using alpine package on any-musl distro.
Please consider renaming alpine docker and tarball to have musl in its name instead of alpine, so other distros based on this libc can get the (non-official) support.
Example of using .NET Core on some non-officially supported glibc-based distros:

Mageia Linux - https://gist.github.com/anonymous/1b45b87032d62bf20bf28ad7512ea178 (listed on top 10 on distro watch https://www.distrowatch.com/dwres.php?resource=major)
Clear Linux - https://github.com/dotnet/coreclr/issues/9055#issuecomment-371758941

CC @janvorli @MichaelSimons

You should be able to publish for Alpine and use it on other musl-libc based distros.
My understanding is that in addition to just supporting musl-libc, we would have to make sure the binaries are created in a distro agnostic way with respect to other dependencies like openssl and libunwind.

@Petermarcu, sure the same way there are fallback lookup paths for dependency lib names in glibc-based distros. Those fallback paths in core-setup/coreclr/corefx repos can even be added later.
However, with alpine hardcoded in RID name without a base RID with musl-libc is not neutral. Before 2.1 if this gets renamed to *musl-libc* that would be a great achievement in terms of future proofing, otherwise we are going to stick with alpine-* forever or encounter a breaking change when it's time to support the second musl-libc distro.

I think thats something we can consider. We'd have to make the graph something like this: linux-x64->musl-linux-x64->alpine-x64->alpine.3.6-x64. And make sure the implementations that are in the alpine.3.6-x64 packages end up in the linux-musl-x64 packages. I'm going to move this to the core-setup repo where it can be tracked.

Issue moved to dotnet/core-setup #3817 via ZenHub


replaced snprintf with BIO version (for windows builds)

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Merged to master, thanks.


remove support for cookies

Fixes #1011
and then
Fixes #2572
Fixes #2052

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Add a page() method to Jinja which renders the template even for non-HTMX requests

The goal is to be able to serve "main" pages through the Jinja class.

Done in #15


feat(ape-staking): adds ape staking feature

Security Checklist

[ ] 1. Re-Entrancy
[ ] 2. Arithmetic Over/Under Flows
[ ] 3. Unexpected Ether
[ ] 4. Delegatecall
[ ] 5. Default Visibilities
[ ] 6. Entropy Illusion
[ ] 7. External Contract Referencing
[ ] 8. Short Address/Parameter Attack (off chain)
[ ] 9. Unchecked CALL Return Values
[ ] 10. Race Conditions / Front Running
[ ] 11. Denial Of Service (DOS)
[ ] 12. Block Timestamp Manipulation
[ ] 13. Constructors with Care
[ ] 14. Uninitialized Storage Pointers
[ ] 15. Floating Points and Precision
[ ] 16. Tx.Origin Authentication
[ ] 17. Address.isContract Re-Entrancy via Constructor

⚠ NOTES ⚠
Make sure to think about each of these exploits in this PR.

@WalidOfNow seems mixed with a lot of format changes so difficult to review, could we separate it from this pr?

Can we extract the repeated code logic between NTokenBAYC and NTokenMAYC to a NTokenApeStaking.

@yrong you only need to look at the NToken contracts. you can ignore other contracts as they are just formatted.


GLSLMaterial binding issue with Texture and FBO

So the way that textures occupy the same slot space as FBO's may cause some problems in the future. The current model does not introduce this problem, but an FBO can occupy the same active slot as a Texture, if a texture is ever bound to an GLSL shader that is using FBO's. At the moment the only shader that suggest this problem is the ShaderParametersLightGeometryPass. Any GLSLMaterial that takes advantage of both an FBO and Texture will not work properly. A suggested solution is to allow Shaders to accept an FBO in as a property. I believe FBO's may have to be reworked to accommodate this change.
It uses this workaround to avoid the issue:
 if (CoreRegistry.get(Config.class).getRendering().isCloudShadows()) {
     Texture clouds = Assets.getTexture("engine:perlinNoiseTileable").get();

     GL13.glActiveTexture(GL13.GL_TEXTURE0 + texId);
     glBindTexture(GL11.GL_TEXTURE_2D, clouds.getId());
     program.setInt("texSceneClouds", texId++, true);
 }

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32293952-glslmaterial-binding-issue-with-texture-and-fbo?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

I just noticed this issue. You are correct that texture slot assignment is all a bit insecure. I'm currently working on the render nodes and therefore at a higher conceptual level, but I will eventually look deeper, at the materials and in particular at the shader parameter classes which is often where texture assignment occurs. So: I'm aware of the issue, it will get more robust, bear with us.


Add documentation to gaf-eco-mapping-derived.txt

The file here is well commented:
https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping.txt
The related corresponding derived file here is not documented and contains no comments:
https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping-derived.txt
Can @rctauber perhaps add some explanatory comment in the head like the source file? I would like to be able to know source of this file, roughly what it describes, and who is using for what purpose...

Absolutely- I’ll have to think about the best way to do this as we
automatically generate this file during the release. I could either do a
template file (not a ROBOT template) or code the doc string into the
Makefile. Not sure what would be cleaner.
On Tue, Sep 11, 2018 at 19:51 Marcus Chibucos<EMAIL_ADDRESS>wrote:

The file here is well commented:
https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping.txt
The related corresponding derived file here is not documented and contains
no comments:
https://github.com/evidenceontology/evidenceontology/blob/master/gaf-eco-mapping-derived.txt
Can @rctauber https://github.com/rctauber perhaps add some explanatory
comment in the head like the source file? I would like to be able to know
source of this file, roughly what it describes, and who is using for what
purpose...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/evidenceontology/evidenceontology/issues/177, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AP-WRnQE_KYPL8TkQIDTGMqCabyx1T_1ks5uaExsgaJpZM4WkaZK
.

Hi @rctauber
Any new thoughts on this?

I think it would be best to have it in the Makefile, so people don't get confused about which file is which. @mchibucos or @mgiglio99 do you have suggestions for the content of the doc strings?

I’m editing a copy of the comment section from the other file with info appropriate for this file…
On Feb 27, 2019, 4:22 PM -0500, Rebecca Tauber<EMAIL_ADDRESS>wrote:

I think it would be best to have it in the Makefile, so people don't get confused about which file is which. @mchibucos or @mgiglio99 do you have suggestions for the content of the doc strings?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@rctauber would something like this work as comments for the derived file? Feel free to modify as you see fit.
Permanent URL of this document:
http://purl.obolibrary.org/obo/eco/gaf-eco-mapping-derived.txt

Always use this URL

About:
This mapping is derived from a mapping that translates evidence codes used
in a GAF to a specific evidence type in ECO. That file can be found here:
http://purl.obolibrary.org/obo/eco/gaf-eco-mapping.txt

Here, each row represents a mapping between an ECO class and a GAF evidence
code (http://geneontology.org/docs/go-annotation-file-gaf-format-21/).
Because an ECO class can have many subclasses, multiple ECO classes may map
to the same GAF evidence code. The highest-level ECO parent class that maps
to a corresponding GAF evidence code is notated with "Default" (see comments
concerning GO_REFs in original mapping file above). ECO classes not indicated
with "Default" are subclasses of the highest-level ECO parent classes that
map to a GAF code with the "Default" notation.

1. ECO ID
2. GAF evidence code (e.g. IEA)
3. Indication ("Default") of highest-level ECO class mapping one-to-one to a GAF
evidence code. Blank means it is a child of an ECO class with "Default".

To request changes in the mappings, submit an item to
https://github.com/evidenceontology/evidenceontology/issues

Would something like this work as comments for the derived file?
# Permanent URL of this document:
#  http://purl.obolibrary.org/obo/eco/gaf-eco-mapping-derived.txt
#
# Always use this URL
#
# About:
# This mapping is derived from a mapping that translates evidence codes used
# in a GAF to a specific evidence type in ECO. That file can be found here:
# http://purl.obolibrary.org/obo/eco/gaf-eco-mapping.txt
#
# Here, each row represents a mapping between an ECO class and a GAF evidence
# code (http://geneontology.org/docs/go-annotation-file-gaf-format-21/).
# Because an ECO class can have many subclasses, multiple ECO classes may map
# to the same GAF evidence code. The highest-level ECO parent class that maps
# to a corresponding GAF evidence code is notated with "Default" (see comments
# concerning GO_REFs in original mapping file above). ECO classes not indicated
# with "Default" are subclasses of the highest-level ECO parent classes that
# map to a GAF code with the "Default" notation.
#
#  1. ECO ID
#  2. GAF evidence code (e.g. IEA)
#  3. Indication ("Default") of highest-level ECO class mapping one-to-one to a GAF
#  evidence code. Blank means it is a child of an ECO class with "Default".
#
# To request changes in the mappings, submit an item to
#  https://github.com/evidenceontology/evidenceontology/issues

That looks good to me!

Need to revise the comment based on how we now generate the file now.
This revision was overlooked when we made the change to the new system.
New comment:
Permanent URL of this document:
http://purl.obolibrary.org/obo/eco/gaf-eco-mapping-derived.txt

Always use this URL

About:
This maps specific ECO terms to more general GO evidence codes.
This file is automatically generated based on the annotation property "has GO evidence code"
that is attached to each ECO term. Values for "has GO evidence code" were initially populated
based on equivalence mappings of ECO high level terms to GO evidence codes (from
http://purl.obolibrary.org/obo/eco/gaf-eco-mapping.txt) followed by propagation
of those GO evidence codes to the corresponding ECO child terms.
Currently, this field is populated as part of the term creation and curation process.
Child ECO terms may or may not be mapped to the same GO evidence code as their parents.
See PMID:34986598 for more details on this system.
The lines that contain "Default" in the third column are ECO terms with equivalent mappings to
GO evidence codes from http://purl.obolibrary.org/obo/eco/gaf-eco-mapping.txt.

Each mapping line contains:
1. GAF evidence code (e.g. IEA)
2. ECO term ID
3. Default (optional), only present if the ECO term is equivalent to the GAF evidence code

This document consists of these comments (after #s) followed by a set of mappings,
each represented as the above 3 columns separated by tabs.

To request changes or report an issue with the mappings, submit an item to
https://github.com/evidenceontology/evidenceontology/issues

Done

NOTE: Revised comment lines from Michelle post above have been added to '/Users/snadendla/evidenceontology/src/util/derived-header.txt' file which is read during a release process where the text from this file is appended to the mappings to create ' gaf-eco-mapping-derived.txt' file.
The revised 'derived-header.txt' file has been pushed.


Uploading data errors out due to 'GenericResource' object has no attribute 'workspaceid'

When uploading data to Azure, got an error when executing this line:
ds = ws.get_default_datastore()
Then followed this resolution from this link (Thanks to Uasmi) https://github.com/Azure/MachineLearningNotebooks/issues/146
and in "Connect to a workspace", after setting up the workspace, did this:
ws._workspace_autorest_object.workspaceid = ws._workspace_autorest_object.id
print(ws.name, ws.location, ws.resource_group, ws.location, ws._workspace_autorest_object.id, sep = '\t')

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

ID: 4bee4b9a-ce0f-f98b-3160-d6c4a40ef3ac
Version Independent ID: a0475a9e-47f6-2803-8707-fac54ba898dd
Content: Image classification tutorial: Train models - Azure Machine Learning service
Content Source: articles/machine-learning/service/tutorial-train-models-with-aml.md
Service: machine-learning
GitHub Login: @hning86
Microsoft Alias: haining

@rramani Thanks for the feedback. We are investigating into the issue and will update you shortly.

@rramani I ran the steps in the notebook without facing any issue with the documented steps. Could you please confirm if these pre-requisites were satisfied?

A machine learning workspace
The configuration file for the workspace in the same directory as the notebook

For the second point if the config file is not present in the tutorials directory it would check in the parent directory for the file and set the ws from config. It also worked fine if i created a new config file in the same directory as the notebook.
Please ensure the subscription id, resource group and workspace name are correctly mentioned in the file. Example:
"subscription_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resource_group": "romungi-testrg",
"workspace_name": "romungi-testml"
Also the workaround you mentioned also has the same effect.
@hning86 Can we add this workaround as a note if required?

Hi Rohit, there is a difference in what I tried. I did not have the details in the config file but created the workspace from code. (ws.create()). I also had to reload the notebook at one point, which required me to modify the creation to getting the workspace.
ws = Workspace.get(name="",subscription_id="")
thanks
Rama
From: RohitMungi-MSFT<EMAIL_ADDRESS>Sent: February 14, 2019 2:04 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Rama Ramani<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Uploading data errors out due to 'GenericResource' object has no attribute 'workspaceid' (#24894)
@rramanihttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frramani&data=02|01|Ramasubramanian.Ramani%40microsoft.com|2e796d880e254fada05f08d69263c067|72f988bf86f141af91ab2d7cd011db47|1|0|636857354465876934&sdata=L4WFAXlifpShfTYhbSe2UOkJvQRy5wiRIQoLJyBXto4%3D&reserved=0 I ran the steps in the notebook without facing any issue with the documented steps. Could you please confirm if these pre-requisites were satisfied?

A machine learning workspace
The configuration file for the workspace in the same directory as the notebook

For the second point if the config file is not present in the tutorials directory it would check in the parent directory for the file and set the ws from config. It also worked fine if i created a new config file in the same directory as the notebook.
Please ensure the subscription id, resource group and workspace name are correctly mentioned in the file. Example:
"subscription_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resource_group": "romungi-testrg",
"workspace_name": "romungi-testml"
Also the workaround you mentioned also has the same effect.
@hning86https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhning86&data=02|01|Ramasubramanian.Ramani%40microsoft.com|2e796d880e254fada05f08d69263c067|72f988bf86f141af91ab2d7cd011db47|1|0|636857354465876934&sdata=Hg3W3tnsk8FfsME37kYFwGk4WyM69BEP0Lf3KE%2BzUdE%3D&reserved=0 Can we add this workaround as a note if required?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F24894%23issuecomment-463567902&data=02|01|Ramasubramanian.Ramani%40microsoft.com|2e796d880e254fada05f08d69263c067|72f988bf86f141af91ab2d7cd011db47|1|0|636857354465886925&sdata=Dos6AzQoDrFg2mmDeW4EfkmrmFG9J1YZFpK44uALR5M%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAs3J4WYcG_Ft5jOK-hMhi0CKjdFJhXulks5vNTSSgaJpZM4a6Rkw&data=02|01|Ramasubramanian.Ramani%40microsoft.com|2e796d880e254fada05f08d69263c067|72f988bf86f141af91ab2d7cd011db47|1|0|636857354465886925&sdata=Pj9a7xidAGEJcSAbs1IG%2B2oxb%2BZzMNufTQe4EMNM9KA%3D&reserved=0.

@rramani Thanks for the clarification. One of the preferred ways is to save the workspace details to a configuration file and load it if required. Here are the steps for the same. You can then load the workspace from other scripts and notebooks in this directory.
ws = Workspace.from_config()
I was also able to create a workspace from code and upload to default datastore without the workaround you mentioned.
@hning86 could you please add a note for this tutorial as a workaround if workspace id is not found as there are two open issues from users who faced the error.

@sdgilley

@YutongTie-MSFT - #please-assign to sdgilley

To minimize the chance for confusion, our tutorials provide one path to accomplish the task, so we can’t add alternatives. But we are glad you got unblocked in the meantime.
As a general practice, we discourage the use of personal information inside your code, especially if you will be checking it into a public repository.  Using a configuration file and Workspace.from_config() is a more secure way to reference your workspace.

@rramani
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.
@sdgilley Thank you Sheri.


How to compress PDF files？

Describe your idea
I recently encountered a requirement to compress PDF files to below 4M? What should I do?
Please provide a complete example of using it on the browser side.
For example, can you specify the maximum compression value and compression quality?
How could this be implemented?
I recently encountered a requirement to compress PDF files to below 4M? What should I do?
Please provide a complete example of using it on the browser side.
For example, can you specify the maximum compression value and compression quality?
What problem are you trying to solve?
I recently encountered a requirement to compress PDF files to below 4M? What should I do?
Please provide a complete example of using it on the browser side.
For example, can you specify the maximum compression value and compression quality?
Why does this matter to you?
I recently encountered a requirement to compress PDF files to below 4M? What should I do?
Please provide a complete example of using it on the browser side.
For example, can you specify the maximum compression value and compression quality?
Would others find this helpful?
I recently encountered a requirement to compress PDF files to below 4M? What should I do?
Please provide a complete example of using it on the browser side.
For example, can you specify the maximum compression value and compression quality?
Are you interested in implementing your proposal?
Yes
Why are you submitting a proposal?
I recently encountered a requirement to compress PDF files to below 4M? What should I do?
Please provide a complete example of using it on the browser side.
For example, can you specify the maximum compression value and compression quality?
Additional Notes
I recently encountered a requirement to compress PDF files to below 4M? What should I do?
Please provide a complete example of using it on the browser side.
For example, can you specify the maximum compression value and compression quality?

This indeed would be an interesting feature.


Snapshot not working in localized versions

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
I'm trying to use Snapshot to create screenshots from my app in all it's localized versions, but it only opens the english version of the app, the app is already internationalized and localized for both spanish and english, when I build it using the scheme configured for the Spanish language and Mexico as the region it works properly and all the strings are in spanish but when I run snapshot I only get english text, although according to Snapshot the Spanish version should have opened:
15:20:04: --- iPhone 4s - es-ES  ---
15:20:04: --------------------------
Any fix to this issue?
Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Snapfile:
A list of devices you want to take the screenshots from
devices([
"iPhone 6",
"iPhone 6 Plus",
"iPhone 5",
"iPhone 4s",
"iPad Retina",
"iPad Pro"
])
languages([
"en-US",
"es-ES ",
"de-DE",
"it-IT",
["pt", "pt_BR"] # Portuguese with Brazilian locale
])
Arguments to pass to the app on launch. See https://github.com/fastlane/snapshot#launch-arguments
launch_arguments(["-favColor red"])
The name of the scheme which contains the UI Tests
scheme "appname"
Where should the resulting screenshots be stored?
output_directory "./screenshots"
clear_previous_screenshots true # remove the '#' to clear all previously generated screenshots before creating new ones
Choose which project/workspace to use
project "./appname.xcodeproj"
workspace "./Project.xcworkspace"
For more information about all available options run
snapshot --help
Environment
fastlane version (run fastlane -v):
Fastlane 1.94
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
No

Found the solution:
After this argument in my UITests file
private let app = XCUIApplication()
override func setUp() {
    super.setUp()
    app.launchArguments += ["UI-Testing"]
    setupSnapshot(app)
    app.launch()

I had this argument
XCUIApplication().launch()
this argument was overriding the language in the simulator, removing it took care of the problem.

@tattva20 Awesome! Really glad to hear you got up and running. Hope that you have a wonderful day! 👍

@TKBurner Thank you so much! Now everything is running smoothly and fastlane is working perfectly, have a wonderful week!


Display information during the build with the data selected

Issue
Today when users execute make 2 or make after cloning the repo is not displaying any information which options were selected from
./sync/shared/variables.yaml.
Goal
Would be nice to display to users after executing make such information. This helps user understand what's happening, which APIServer is selected, kubelet, nodes IP, SHA, overwrite linux bins?, CNI, VM size etc.
# make 2
Triggering SIG Windows Dev tools Env Build
==================================
    kubelet: "1.21.0"
    apiserver: "1.23.0"
    Windows Node IP: "<IP_ADDRESS>"
    Linux Node IP: "<IP_ADDRESS>"
    Overwrite Linux Binaries: False

etc...

/good-first-issue


release pass_through_opts to pypi

It is useful for solving some certificate issues, e.g. ibamacsr/sentinelsat/issues/1

Thanks for reminding. Released v0.1.2.

Awesome, thanks!


Mergify: Do not merge W I P branches

Motivation

Test plan

See included automated tests.

It appears as though this branch has been marked WIP because it contains WIP in the title.

Why would you tag a WIP branch with mergify?

🤷♂ , but would like to prevent confusion.


Utf8 encode for segment path

fix for #81

Instead change the process used by UrlConnection to create the request url to ensure it is encoded properly, otherwise other request types will still have issues with other character types

👍


fix: firebase.json:functions optionally as array

Summary
firebase init command generates an array for functions field instead of an object inside the firebase.json file. This commit adds support to this configuration (getting the first element of the array) without removing the current implementation.
Fixes:

#196

Other Information
I couldn't find the documentation to this behavior but since I'm using the most recent version of the Firebase CLI, I guess this could be something the adapter should support.

@kleber-swf I imagine the tests are going to fail because the firebase.json files in the test scaffolds are incorrect. Can you also bump the version of Firebase CLI in .tool-versions?

@pham Can you rebase this PR?

Hi @kleber-swf @jthegedus, are you going to merge this or fix the #196 issue otherwise soon?
The firebase creates an array now per default. We can't change the array to an object since we use multiple function code-bases and need an array.

Oh! I'm sorry. Since I was using my own version I didn't see that it wasn't merged into the main project. I'll do it right now. I just not sure to what version I should bump firebase.

There. Bumped to 11.19.0, the one that I tested in the first place.

Awesome, thank you! Does it also work with the new v12.0.0 which fully supports V2 Functions?


upstream-community-operators [R] [CI] opentelemetry-operator (0.16.0 0.17.1 0.21.0 0.27.0)

Signed-off-by: Owais Lone<EMAIL_ADDRESS>New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@jpkrohling ^

/merge possible

@owais please remove
operators.operatorframework.io.test.config.v1

from annotations.yaml if you don't have any scorecard tests. Thanks

/test all

/merge possible


v100 GPU vs CPU different accuracy，the same dataset and parameter

I am training the same dataset on GPU and CPU with xgboost, but got different accuracy on  eval data.
The same data with the same parameters using the xgboost GPU version and the CPU version training model are not the same, the test set is the same.
gpu:
model = xgb.XGBRegressor(n_estimators=800,
objective = 'reg:linear',
booster='gbtree',
learning_rate = 0.05,
gamma=2,
max_depth=9,
min_child_weight=5,
subsample=0.9,
colsample_bytree=0.9,
reg_lambda=5,
reg_alpha=3,
updater="grow_gpu",
seed=7,
n_jobs=-1)
model.fit(X_train, y_train, early_stopping_rounds=20, eval_metric="rmse", eval_set=[(X_train, y_train), (X_test, y_test)])

cup:
model = xgb.XGBRegressor(n_estimators=800,
objective = 'reg:linear',
booster='gbtree',
learning_rate = 0.05,
gamma=2,
max_depth=9,
min_child_weight=5,
subsample=0.9,
colsample_bytree=0.9,
reg_lambda=5,
reg_alpha=3,
n_jobs=-1)
model.fit(X_train, y_train, early_stopping_rounds=20, eval_metric="rmse", eval_set=[(X_train, y_train), (X_test, y_test)])

On CPU, use tree_method = hist, on GPU, use tree_method = gpu_hist.  These two are same algorithms.  There's still minor discrepancy due to floating point error.

And don't set the updater.  There is a warning I think.

@trivialfis thanks for your reply, I tried your suggestion but the effect is still not working.

@trivialfis the CPU result better than GPU

Another thing is, the gamma parameter is only supported on gpu in a recent commit as a pre-pruning step.  It's used for preventing over fitting.  We are trying to make a new release, it might take sometime as this one is quite big, so you may want to build it from source for that parameter.


some questions about the final figure

Thanks for your excellent work! I got a very high precision than before.But I have some questions about the figure.When I finish run the eval.py ,I got some files like this:

and could you please tell me how can I do to get the final figure in the paper you show?thank you

hello, have you solved this problem? when i open the .obj file, it mentioned me 'No Vertex Found'. do you know something about it ?

Hi @iamnotstory
*_pc.ply shows the input point cloud.
*_pred_confident_nms_bbox.ply shows the predicted 3d bounding box (the confident ones, pruned by NMS)
*_gt_bbox.ply shows the ground truth 3d bounding boxes.
*_pred_map_cls.txt records the predicted 3d bounding box parameters and confidence scores.
The rest .ply files are for debugging purposes. E.g. seed_pc are the seed points, vgen_pc shows the predicted votes.
After you load such files in MeshLab, you can set the colors for each set of point clouds or bounding boxes. See here on how to set quad-mesh mode for bounding boxes.


Switched type to unique to be consistent with Mongoose types

Closes #39

Fixing tests now

@matteodelabre I have fixed the tests and force-pushed after rebasing, should be good now.

Hello @niftylettuce, and thanks for your contribution! I’m currently reviewing this.

@matteodelabre OK I've updated my PR per all your requests - please see my latest push.  Note that I've added a fallback global message formatted adhering to Mongoose's standard behavior (e.g. https://github.com/Automattic/mongoose/blob/e659958fe80c5d03a7cb89a4e43804c1dd3ddda2/lib/error/messages.js).

Also @matteodelabre I documented mongoose.Error.messages.general.unique in the Readme too!

Looks good to me! Thanks for your help :-)
I will publish a new major release with this as soon as possible.

I can release an NPM version if you npm owner add niftylettuce if needed!

Let’s do that! But first, I wanted to add some tests for the default validation message and fix some minor formatting issues — unfortunately your latest patch does not pass ESLint validation, but it’s entirely my fault, I didn’t integrate ESLint to the CI. Please give me a few minutes :-)

Oh awesome!

@matteodelabre see my comment here https://github.com/Automattic/mongoose/issues/2284#issuecomment-320810641 😄

Not sure what's going on here, but I tried to fix this per https://github.com/matteodelabre/mongoose-beautiful-unique-validation/compare/master...niftylettuce:master yet your master branch here on GitHub is still synced to an older version before you accepted the PR 🤦♂ ....

Thanks for the comment! Much appreciated. :)

If you want to submit new changes, you need to create a new pull request, because this one was merged and cannot be re-opened.

I tried to create a new one... this is weird

See what I mean here @matteodelabre ?  Never seen this ever before:

Strange indeed. What happens if you click “Create pull request”?

Same thing, this is a GitHub bug 🤦♂

I sent in a support request on GitHub and tweeted them

Weird. Please keep me updated if you receive a response, I’m also interested. :-)

All fixed
On Aug 8, 2017 6:59 AM, "Mattéo Delabre ✏"<EMAIL_ADDRESS>wrote:

Weird. Please keep me updated if you receive a response, I’m also
interested. :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/matteodelabre/mongoose-beautiful-unique-validation/pull/40#issuecomment-320922526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAf7hSQrKoT0soDDgMcL4bb2CoeV0Pmaks5sWD97gaJpZM4OvxlU
.


Option to invert the effects panel.

Is your feature request related to a problem? Please describe.
No, it isn't a problem, only a suggestion. Some people use the top part to place cam, time/weather effects.... etc...
Describe the solution you'd like
It would be nice to have an option to invert the appearance of effects .... instead of top to bottom, so that they appear from bottom to top (probably some GMs will prefer one or the other option, depending on the configuration of the screen). It would just be super useful to have flexibility in choosing the display. For me it's not a problem per se, I simply have to place the time panel (bottom), but I prefer to have it facing up, since I place the monk token bar, macro bar, etc... at the bottom.
Additional context
For my current configuration, I have to move the time panel. Probably for some GM, may also find it useful to have that versatility to adjust the screen as best as possible.

Good suggestion, thanks! I'll work on it

Good suggestion, thanks! I'll work on it

nice....


Project-wide "Pattern that the region based isolation checker does not understand how to check"

Description
There have been previous reports of this compiler warning popping up, that was fixed in Xcode Beta 5 (#75439, #75128, #75238). I just now installed Xcode Beta 6 and have hoped this warning to disappear but it remains. However, for me the warning is not associated with a specific line or file but is printed as:
<unknown>:0: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode

This error occurs when compiling the StanfordSpezi/SpeziBluetooth SPM package (commit hash as of time of writing 8ee8ba902cff833aa6a6062fc8433e5d0e0338f3). The warning is printed 8 times, each when compiling the files resource_bunle_accessor.swift (file generated by Xcode), Bluetooth.swift, DeviceDiscoveryDescriptor.swift, Discover.swift, DiscoveryDescriptorBuilder, BluetoothManager.swift, BluetoothPeripheral.swift and CharacteristicDescription.swift. Except for the first file, all of the files are part of the project.
Most of these files are non-trivial. The project is otherwise compatible with Swift 6 strict concurrency checking.
This issue is intended to ask for assistance in tracking down the exact issue for this warning. Are there any magic switches to pull that would provide more information where the warning is generated from? Or might this be related to a known issue that was reported somewhere else (hopefully in a more reproducible manner) that is about to be fixed?
Reproduction
As explained above, I currently cannot isolate it to a single line of code due to the cryptic compiler warning. The only steps for reproduction I can point to is the project where the error occurs.
Expected behavior
Report a more useful diagnostic that includes the file and line number where this error/warning occurs.
Environment
Xcode Beta 6
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-<IP_ADDRESS>.10 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx14.0

Additional information
No response

cc @gottesmm you seem to get mentioned with these warnings in the other issue reports.

Attaching the full build log
Build SpeziBluetooth-Package_2024-08-21T09-26-58.txt

The issue persists with Xcode 16 RC release today.

cc @gottesmm

Any updates on this? This issue persists in Version 16.1 (16B40) and remains a significant blocker for adopting Swift 6.
I’ve eventually managed to isolate the problem to a minimal setup, which consistently reproduces the error.
It will yield the following error for one or more files (even if the code is only contained in a single file):
<unknown>:0: error: pattern that the region based isolation checker does not understand how to check. Please file a bug

The example defines a type TestClass that is isolated to a custom global actor TestActor and contains a property wrapper PropertyWrapper that is isolated to the @MainActor. Note, this example doesn't trigger when using simple types like Int but only triggers with a type like Values.
@propertyWrapper
class PropertyWrapper<Value> {
    var wrappedValue: Value

    init(wrappedValue: Value) {
        self.wrappedValue = wrappedValue
    }
}

@MainActor
struct Values {
    nonisolated init() {}
}

@globalActor
actor TestActor {
    static let shared = TestActor()
}

@TestActor
final class TestClass: Sendable {
    @MainActor @PropertyWrapper var property: Values

    @MainActor
    init(_ value: Int) {
        self.property = Values()
    }
}

You cannot initialize the underlying storage property of the property wrapper as this yields the error shown below. Annotating the property wrapper with @MainActor, I would have suspected that the underlying storage property is also initialized to the MainActor(?). Independent of the correctness of the code, they main point this issue raises is that the error message is not meaningful and really doesn't help to explain nor locate the issue.
    @MainActor
    init(_ value: Int) {
        self._property = PropertyWrapper(wrappedValue: Values()) // error: Global actor 'TestActor'-isolated property '_property' can not be mutated from the main actor
    }
``


UIPFPAT-2: Implement find title functionality

Purpose
The purpose of the ticket is to implement find title functionality of the plugin
Screen

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-package-title/job/PR-20/1/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-package-title/job/PR-20/2/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-package-title/job/PR-20/3/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-package-title/job/PR-20/5/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-package-title/job/PR-20/6/

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-plugin-find-package-title/job/PR-20/7/


docs: documentation redesign

@armaniferrante and I have been discussing a plan for anchor's new documentation. This issue is to gather feedback before we proceed.
Here's the initial plan:

three docs

the guide: this is where we explain topics (https://v3.vuejs.org/guide/introduction.html / the rust book), maintained by very small group, 1-2 people, in order to keep writing and teaching style consistent
the reference: =docs.rs, most up to date, maintained by everyone, if you commit sth, you update the reference
the cookbook: https://vuejs.org/v2/cookbook/index.html, a little bit similar to what the anchor tutorials are right now, although instead of focusing on how specific anchor features work it is more focused on showing how specific patterns independent from anchor can be implemented in anchor (e.g. how do I set up global admin settings for a program in anchor). I'd prefer the core team not to maintain this at all except maybe in the beginning and then hope anchor users contribute. This might work because contributing to the cookbook does not require you to get familiar with how anchor works under the hood, you just need to know how to use it well. might not be necessary at all if solanacookbook.com is good enough

One thing I'd add is that I really love when it's easy to run and play around with complete examples (this is what the current docs attempt to do). So for the first and last doc types, it'd be great to allow that either in browser or via github.

Reference Checklist:

[ ] Contributing.md
[ ] Readme.md
[ ] Accounts

[ ] Account (basic parts done but lacks section about out-of-the-box-types, e.g. ProgramData)
[ ] SystemAccount
[ ] AccountInfo
[ ] Box
[ ] AccountLoader
[ ] Signer
[ ] Sysvar
[ ] UncheckedAccount
[ ] Program
[ ] ProgramData (add this to Account reference)
[ ] BpfUpgradableState (add this to Account reference)

[ ] Context (lacks examples)
[ ] Constraints
[x] Anchor Errors
[ ] Custom Errors

Wanna help! already have one open PR for ts client documentation.

hey @Necmttn sorry for the late reply. Are you still interested in writing ts documentation? One thing that would be really helpful is a section in the book that shows how all the different rust types are mapped to ts types. e.g. u64 -> BN

Hey @paul-schaaf, Noah and I putting together a PR to add events to the docs:
https://github.com/coral-xyz/anchor/pull/2008
Let us know if there's another section you think is a high priority to write next. Thanks, Ash

Will look at it @ashpoolin!

Hi , is this issue still open ? I would love to join you guys.


Enable module stability support.

Enable module stability support to allow build as binary release
and used for different version of Xcode, it can save app build time.
see more on https://swift.org/blog/library-evolution/

#214  improves on this PR

#214  improves on this PR


add deprecated annotation

The deprecated class should add @Deprecated annotation

Coverage remained the same at 87.227% when pulling 83382d62c221f2bab01957a65db6415c587cc52a on Oliverwqcwrw:master-add-deprecated-annotation into 586dc88c6e6d9830c8d40e751189522e7297971d on mybatis:master.

@Oliverwqcwrw Good catch!  Thanks.


Updates to XSP data-preprocessing code (for training data).

This PR includes the following additions to the XSP repo:

A README that describes how to run the code, currently focusing on setting up the environment and data preprocessing.
Utility functions such as the data download script and a list of requirements for the code.
Updates to the data preprocessing code that make it python3 compatible.

@googlebot I consent.


ParameterizedTest - Internal Server Error

Describe the bug
When the tests of an exercise contain Parameterized Tests, Artemis displays a popup message about an internal server error.
To Reproduce

Create Programming-Exercise with ParameterizedTests
Start participating in the exercise
Go to the exercise
See error (Popup at the top-right corner of Artemis)

Expected behavior
There should not be an internal server error.
Screenshots
No response
What browsers are you seeing the problem on?
Chrome, Safari, Microsoft Edge, Firefox
Additional context
No response
Relevant log output
J {headers: A, status: 500, statusText: 'OK', url: 'https://artemis.ase.in.tum.de/api/programming-exercises/6986/exercise-hints/available', ok: false, …}
error: {type: 'https://www.jhipster.tech/problem/problem-with-message', title: 'Internal Server Error', status: 500, detail: "Duplicate key ProgrammingExerciseTask{taskName='in… testCases=[]} (attempted merging values 0 and 0)", path: '/api/programming-exercises/6986/exercise-hints/available', …}
headers: A {normalizedNames: Map(0), lazyUpdate: null, lazyInit: ƒ}
message: "Http failure response for https://artemis.ase.in.tum.de/api/programming-exercises/6986/exercise-hints/available: 500 OK"
name: "HttpErrorResponse"
ok: false
status: 500
statusText: "OK"
url: "https://artemis.ase.in.tum.de/api/programming-exercises/6986/exercise-hints/available"
__sentry_captured__: true

The error only occurs for participating students, right?

Yes, as an instructor of the course the only popup shows the following message "You are not authorized to access this page." (screenshot) when clicking on the test feedback embedded in the assignment.
However, this seems not to be associated with ParameterizedTests.


badzip error occur can you help me to resolve this error

PS C:\Users\kushr\Downloads\MimicMania-master\MimicMania-master> python setup.py
86.6kiB [00:00, 1.85MiB/s]
Downloading Of Models Completed!
Starting The Extraction Process to language_model Folder...
Traceback (most recent call last):
File "C:\Users\kushr\Downloads\MimicMania-master\MimicMania-master\setup.py", line 3, in
DownloadModels().download_models()
File "C:\Users\kushr\Downloads\MimicMania-master\MimicMania-master\helpers.py", line 62, in download_models
with zipfile.ZipFile(temp_path, 'r') as zip_ref:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\zipfile.py", line 1266, in init
self._RealGetContents()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\lib\zipfile.py", line 1333, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

Download the model manually from Here and extra it in the language_model folder then your problem will be solved.

And shortly i will create a better and more powerful version of this app, currently, I am busy with my academics.


request-promise incorrect return type on options.transform

export interface Options extends request.Options {
        simple?: boolean;
        transform?: (body: any, response: http.IncomingMessage) => number;
        resolveWithFullResponse?: boolean;
    }

See above code, the method interface for 'transform?' returns a number, this can only be an any i think.
export interface Options extends request.Options {
        simple?: boolean;
        transform?: (body: any, response: http.IncomingMessage) => any;
        resolveWithFullResponse?: boolean;
    }

please send a pull request. I'll review it.

Fixed in #5456 .


Allow specifying the runOrder property when creating CodePipeline Actions

Also create a new addToPipeline method on LambdaRef,
which was missed when doing these for Code* services.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

@eladb any thoughts on the JSII error?

@skinny85 I think your analysis is correct, seems like this is the result of using multiple inheritance. Is there any way to simplify this hierarchy? It's not only blowing jsii's head, it's also blowing mine... Too complex.
One way to address such cases is to use containment instead of inheritance. Check out what we did in the API gateway library for example with MethodOptions and MethodProps. MethodProps simply includes an options field, and this is also what resource.addMethod exposes for customization. I believe it's a very similar use case here...

One way to address such cases is to use containment instead of inheritance. Check out what we did in the API gateway library for example with MethodOptions and MethodProps. MethodProps simply includes an options field, and this is also what resource.addMethod exposes for customization. I believe it's a very similar use case here...

I don't agree - that would mean that you have to do:
new SomeAction(this, 'Action', {
    stage: someStage,
    someProperty: sth,
    options: {
         runOrder: 13,
    },
});

I don't think it makes sense to change the API we want into something like that just because of a JSII quirk/bug...
Don't you think it makes sense to correct this at the JSII level, if the underlying code is valid in TypeScript? What if a customer does this while writing their own Construct library?

Changed the interface hierarchy to not have the same interface in the hierarchy chain twice (at the cost of more changes in the props interfaces in each package).

@eladb ping

Is the jsii issue caused by the same interface being in the inheritance lineage twice? If so, I reckon the code generators should properly detect this and generate valid code.

Is the jsii issue caused by the same interface being in the inheritance lineage twice?

Yep.

If so, I reckon the code generators should properly detect this and generate valid code.

I concur.

Can someone open a jsii issue for this?

Done: https://github.com/awslabs/jsii/issues/255
@eladb should I wait for the JSII fix with this PR, or should I go ahead with the workaround I did? I want to make runOrder immutable (needed for #845).

@skinny85  don't wait

Made runOrder immutable.

@eladb @RomainMuller ping


better installer behaviour

to get things out of the door quickly, installer.sh and installer.ps1 are just hardcoded to ensure ~/.cargo/bin exists and then copies the binary to there. Various improvements:

Update ~/.cargo/.crates.toml to register the binary?
Look for other big likely-on-PATH dirs?
Run an "install" subcommand of the binary itself?

The current behaviour is only really adequate for use in ci environments.

Discussing this with Ashley we concluded that it might be for the best if we do like apollo's rover does and try to build out machinery for CLIs to have an install subcommand (which would also theoretically support self-update and uninstalling and whatnot).
That way we can have more hairy logic in rust and not bash scripts (yuck!). This may involve us building out a reusable library for everyone to use for this. It's possible this library already exists in some of the binstalk crates in cargo-binstall, or is aching to be extracted from them.

Relevant issues rustup had a while back

https://github.com/rust-lang/rustup/pull/2387
https://github.com/rust-lang/rustup/issues/2106

It would be nice if this also respected CARGO_HOME instead of hardcoding ~/.cargo.

We should update the milestone again.

This issue doesn't really make much sense anymore / needs to be revived as several smaller issues.


[Automation] More precise adjustment of the floodgate height

Hello, can you change the value of the floogate height step in the code from 0.5 to 0.05? Because update 6 now has this step.

Yes, it can be done. But some backward compatibility would be needed to not reset the height on the old saves.

As a simple solution I can suggest to create a new action like WaterRegulatorPreciseStateAction with new step.


Inaccurate image output in built code on Chrome, FireFox

In a vue-cli generated project, when running in development the target image is accurate accross browsers, however built code is inaccurate across Firefox and Chrome (works in Safari)
Note: the image below is table-less; the bordered elements  on the right side of the image are css-defined rows + columns
Example accurate output (top is image output, bottom is HTML element):

Inaccurate output, after NPM Run Build:

Note: the top and right inaccurate margins/paddings in images two and three are not the same on ever render, but are always inaccurate

Thanks for opening the issue. I will look into it soon.


Steve's Feedback: Change the message shown to a contributor who says they are the CLA Manager

Replace the above message on Contributor Console with the following message:
You will need to use your LF account to access the CLA Manager console, or create an LF Login account if you do not have one already. After logging in, you will be redirected to the CLA Manager console where you can sign the CLA (or send it to an authorized signatory) and approve contributors on behalf of your organization.

This is deployed to all environments through https://github.com/communitybridge/easycla-contributor-console/releases/tag/v1.0.46

Verified the text changes on the popup, please refer the screencast below for reference: