Remote Desktop

 2.0.15

[x] I confirm that this is an issue rather than a question. x

Bug report
using windows 10 and connecting to Pc via Remote Desktop Hyperion dashboard switches off usb grabber and instance  when remote connection is closed
Steps to reproduce
connect to host vid Remote Desktop
What is expected?
using windows 10 and connecting to Pc via Remote Desktop Hyperion dashboard switches off usb grabber and instance  when remote connection is closed
What is actually happening?
using windows 10 and connecting to Pc via Remote Desktop Hyperion dashboard switches off usb grabber and instance  when remote connection is closed
System

Hyperion Server:

Build:             (HEAD detached at 2.0.15) (GitHub-70e1043/24a00e3-1676809483)
Build time:        Feb 19 2023 14:48:39
Git Remote:        https://github.com/hyperion-project/hyperion.ng
Version:           2.0.15
UI Lang:           en (BrowserLang: en-GB)
UI Access:         expert
Avail Screen Cap.: qt,dx
Avail Video  Cap.: v4l2
Avail Audio  Cap.: audio
Avail Services:    boblight,effectengine,forwarder,flatbuffer,protobuffer,mDNS,SSDP,borderdetection
Config path:       C:/Users/Rob/.hyperion
Database:          read/write

Hyperion Server OS:

Distribution:      Windows 10 Version 2009
Architecture:      x86_64
Kernel:            winnt (10.0.19045 (WS: 64))
Root/Admin:        false
Qt Version:        5.15.2
Python Version:    3.11.2
Browser:           Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15

Eine dumme Frage: Wie beenden Sie die Remote-Desktop-Sitzung?

if you disconnect at any time / close the programme / close the laptop / and it happens on windows R/D and if im using R/D on my MacBook too

< ----- Current Log --------------------------- >
2023-08-14T16:22:43.088Z [IMAGETOLED|First LED Hardware instance] (WARNING) Mapping LED/light [0]. The current mapping area contains 2208 pixels which is huge. Therefore every 2 pixels will be skipped. You can enable reduced processing to hide that warning.
2023-08-14T16:22:43.088Z [LEDDEVICE|First LED Hardware instance] (ERROR) Cannot resolve mDNS hostname for given service [Tv._wled._tcp.local]!
2023-08-14T19:19:42.066Z [LEDDEVICE] (ERROR) Cannot resolve mDNS hostname for given service [Tv._wled._tcp.local]!
2023-08-14T19:21:04.514Z [IMAGETOLED|First LED Hardware instance] (WARNING) Previous line repeats 1 times
2023-08-14T19:21:04.514Z [IMAGETOLED|First LED Hardware instance] (WARNING) Mapping LED/light [0]. The current mapping area contains 2304 pixels which is huge. Therefore every 2 pixels will be skipped. You can enable reduced processing to hide that warning.
2023-08-15T21:54:57.107Z [WEBSOCKET] (DEBUG) (WebSocketClient.cpp:213:WebSocketClient::sendClose()) Send close to ::ffff:<IP_ADDRESS>: 1000
2023-08-15T21:54:57.243Z [WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient::WebSocketClient()) New connection from ::ffff:<IP_ADDRESS>
2023-08-15T21:54:57.359Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:149:JsonAPI::handleInstanceSwitch()) Client '::ffff:<IP_ADDRESS>' switch to Hyperion instance 0
2023-08-15T21:54:57.606Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:1220:JsonAPI::handleLoggingCommand()) log streaming activated for client ::ffff:<IP_ADDRESS>
2023-08-15T21:55:18.008Z [DAEMON] (INFO) Screen unlock event received
2023-08-15T21:55:18.008Z [HYPERION-INSTMGR] (INFO) Put all instances in working state
2023-08-15T21:55:25.281Z [DAEMON] (INFO) Screen lock event received
2023-08-15T21:55:25.281Z [HYPERION-INSTMGR] (INFO) Put all instances in idle state
2023-08-15T21:55:25.282Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:118:ComponentRegister::handleCompStateChangeRequestAll()) Disable selected Hyperion components, store their current state
2023-08-15T21:55:25.284Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:ComponentRegister::setNewComponentState()) Blackborder detector: disabled
2023-08-15T21:55:25.284Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:ComponentRegister::setNewComponentState()) V4L capture device: disabled
2023-08-15T21:55:25.559Z [V4L2:MEDIA_FOUNDATION] (INFO) Stopped
2023-08-15T21:55:25.560Z [V4L2:MEDIA_FOUNDATION] (DEBUG) (GrabberWrapper.cpp:81:GrabberWrapper::stop()) Grabber stop()
2023-08-15T21:55:25.490Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:359:PriorityMuxer::updatePriorities()) Removed source priority 240
2023-08-15T21:55:25.490Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:422:PriorityMuxer::updatePriorities()) Set visible priority to 255
2023-08-15T21:55:25.490Z [HYPERION|First LED Hardware instance] (DEBUG) (Hyperion.cpp:642:Hyperion::handleSourceAvailability()) No source left -> Pause output processing and switch LED-Device off
2023-08-15T21:55:25.490Z [LEDDEVICE|First LED Hardware instance] (INFO) Switching device wled OFF
2023-08-15T21:55:25.758Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (ProviderRestApi.cpp:243:ProviderRestApi::executeOperation()) PUT took 268ms, HTTP 200: [http://<IP_ADDRESS>/json/state] [{"bri":128,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[10,255,153],[255,0,0],[0,0,0]],"frz":false,"fx":9,"grp":1,"id":0,"ix":128,"len":191,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":11,"rev":false,"sel":true,"set":0,"si":0,"spc":0,"start":0,"stop":191,"sx":20}],"transition":7,"tt":0,"udpn":{"recv":true,"send":false}}]
2023-08-15T21:56:00.268Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:ComponentRegister::setNewComponentState()) Blackborder detector: enabled
2023-08-15T21:56:01.486Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:178:PriorityMuxer::registerInput()) Register new input 'System/V4L' () with priority 240 as inactive
2023-08-15T21:56:01.486Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:ComponentRegister::setNewComponentState()) V4L capture device: enabled
2023-08-15T21:56:01.615Z [V4L2:MEDIA_FOUNDATION] (DEBUG) (MFGrabber.cpp:152:MFGrabber::init()) Searching for USB Video 1920 x 1080 @ 25 fps (NV12)
2023-08-15T21:56:01.615Z [V4L2:MEDIA_FOUNDATION] (DEBUG) (MFGrabber.cpp:198:MFGrabber::init_device()) Init USB Video, 1920 x 1080 @ 25 fps (NV12)
2023-08-15T21:56:01.653Z [V4L2:MEDIA_FOUNDATION] (DEBUG) (MFGrabber.cpp:234:MFGrabber::init_device()) Device opened
2023-08-15T21:56:01.654Z [V4L2:MEDIA_FOUNDATION] (INFO) Started
2023-08-15T21:56:01.654Z [V4L2:MEDIA_FOUNDATION] (DEBUG) (GrabberWrapper.cpp:67:GrabberWrapper::start()) Grabber start()
2023-08-15T21:56:01.662Z [V4L2:MEDIA_FOUNDATION] (DEBUG) (MFSourceReaderCB.h:99:SourceReaderCB::OnReadSample()) Skipping stream gap
2023-08-15T21:56:01.884Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:178:PriorityMuxer::registerInput()) Register new input 'System/V4L' (V4L2:MEDIA_FOUNDATION) with priority 240 as inactive
2023-08-15T21:56:01.884Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:422:PriorityMuxer::updatePriorities()) Set visible priority to 240
2023-08-15T21:56:01.885Z [HYPERION|First LED Hardware instance] (DEBUG) (Hyperion.cpp:651:Hyperion::handleSourceAvailability()) new source available -> Resume output processing and switch LED-Device on
2023-08-15T21:56:01.885Z [LEDDEVICE|First LED Hardware instance] (INFO) Switching device wled ON
2023-08-15T21:56:01.934Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (ProviderRestApi.cpp:243:ProviderRestApi::executeOperation()) GET took 48ms, HTTP 200: [http://<IP_ADDRESS>/json/] []
2023-08-15T21:56:01.934Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDeviceWled.cpp:420:LedDeviceWled::powerOn()) Disable synchronisation with other WLED devices
2023-08-15T21:56:02.155Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (ProviderRestApi.cpp:243:ProviderRestApi::executeOperation()) PUT took 220ms, HTTP 200: [http://<IP_ADDRESS>/json/state] [{"live":true,"on":true,"udpn":{"recv":false,"send":false}}]
2023-08-15T21:56:02.155Z [LEDDEVICE|First LED Hardware instance] (INFO) Device wled is ON
2023-08-15T21:56:05.560Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:1229:JsonAPI::handleLoggingCommand()) log streaming deactivated for client  ::ffff:<IP_ADDRESS>
2023-08-15T21:56:05.562Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:1220:JsonAPI::handleLoggingCommand()) log streaming activated for client ::ffff:<IP_ADDRESS>
2023-08-15T21:56:24.267Z [DAEMON] (INFO) Screen unlock event received
2023-08-15T21:56:24.268Z [HYPERION-INSTMGR] (INFO) Put all instances in working state
2023-08-15T21:56:24.269Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:150:ComponentRegister::handleCompStateChangeRequestAll()) Enable selected Hyperion components, restore their previous state
2023-08-15T21:56:29.676Z [DAEMON] (INFO) Screen lock event received
2023-08-15T21:56:29.677Z [HYPERION-INSTMGR] (INFO) Put all instances in idle state
2023-08-15T21:56:29.691Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:118:ComponentRegister::handleCompStateChangeRequestAll()) Disable selected Hyperion components, store their current state
2023-08-15T21:56:29.692Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:ComponentRegister::setNewComponentState()) Blackborder detector: disabled
2023-08-15T21:56:29.693Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:ComponentRegister::setNewComponentState()) V4L capture device: disabled
2023-08-15T21:56:29.948Z [V4L2:MEDIA_FOUNDATION] (INFO) Stopped
2023-08-15T21:56:29.949Z [V4L2:MEDIA_FOUNDATION] (DEBUG) (GrabberWrapper.cpp:81:GrabberWrapper::stop()) Grabber stop()
2023-08-15T21:56:29.837Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:359:PriorityMuxer::updatePriorities()) Removed source priority 240
2023-08-15T21:56:29.837Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:422:PriorityMuxer::updatePriorities()) Set visible priority to 255
2023-08-15T21:56:29.837Z [HYPERION|First LED Hardware instance] (DEBUG) (Hyperion.cpp:642:Hyperion::handleSourceAvailability()) No source left -> Pause output processing and switch LED-Device off
2023-08-15T21:56:29.840Z [LEDDEVICE|First LED Hardware instance] (INFO) Switching device wled OFF
2023-08-15T21:56:30.179Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (ProviderRestApi.cpp:243:ProviderRestApi::executeOperation()) PUT took 339ms, HTTP 200: [http://<IP_ADDRESS>/json/state] [{"bri":128,"live":false,"lor":0,"mainseg":0,"nl":{"dur":60,"mode":1,"on":false,"rem":-1,"tbri":0},"on":true,"pl":-1,"ps":-1,"seg":[{"bri":255,"c1":128,"c2":128,"c3":16,"cct":127,"col":[[10,255,153],[255,0,0],[0,0,0]],"frz":false,"fx":9,"grp":1,"id":0,"ix":128,"len":191,"m12":0,"mi":false,"o1":false,"o2":false,"o3":false,"of":0,"on":true,"pal":11,"rev":false,"sel":true,"set":0,"si":0,"spc":0,"start":0,"stop":191,"sx":20}],"transition":7,"tt":0,"udpn":{"recv":true,"send":false}}]

It is the expected behaviour that when locking the screen Hyperion goes into idle mode.
This was a feature request and was implemented as per Release 2.0.15.
I assume, that if you disconnect RDP the Session Lock-Event is triggered, which results in idle mode.
Please see the Hyperion Release notes:

...
Allow to Disable / Enable all instances (https://github.com/hyperion-project/hyperion.ng/issues/970) by
Suspend/Resume support for Linux and Windows (https://github.com/hyperion-project/hyperion.ng/issues/1493, https://github.com/hyperion-project/hyperion.ng/issues/1282, https://github.com/hyperion-project/hyperion.ng/issues/978).
Suspend/Resume/Restart is supported via API, UI, Systray and hyperion-remote
Idle scenario via Screen Locking (Linux/Windows), Screensaver invokation (Linux), hyperion-remote or API
In Idle, all instances, components will be disabled besides the output processing (LED-Devices, smoothing).
The current priorities will be cleared and the background effect per instance will be executed, if enabled.
...

hi thanks for the info .. is there a way around this?

never mind .. I have installed the HyperionHDR version ... problem solved

that would be great ... the original software is always better... I run it on my home server that we use for lots of day to day things .. so each time we use Remote Desktop the lights shutdown ... its a pain .. thanks will look out for the update


Do not mask the diff output of ConfigMap

What this PR does / why we need it:
Because the ConfigMap is expected to not contain sensitive data.
I am not sure we should make a minor change for this or just a patch is enough.
This feature is under alpha status but this might be an unexpected change for some users.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

Do not mask the diff output of ConfigMap

/changelog


Initial Release v1.0.0

Dev to Master PR for Initial release 1.0.0!! 🥳

53/181 reviewed :P I'll try to do the rest on Monday ✌🏼

Great stuff, thanks! Don't worry, I will start implementing the reviews on Friday and will just do whatever has come in until then!

Hey,
for Pipeline Releases, the Reviews should generally be done in the Pseudo-PR. There, you compare the current dev state with the absolute zero. In this PR, you compare the dev branch to the master branch - as the master branch might already contain problems, one might miss some things here.
I added a review here

Thank you so much @jonasscheid!! I will implement your comments soon and let you know when I'm finished!

@nictru, @jonasscheid sorry for the failing tests, there were some issues on ncbi/entrez side! If you are both fine, we would prefer to release the pipeline without nf-core template update 3.0.2, as the release is now pending already for a long time. So if you could both have a look again, that would be great. @jonasscheid I'm not sure if you are eligible to be special first time release reviewer, so if you are not please let me know, so I can ping someone to look over!
Thank you both so much!!

@jonasscheid I'm not sure if you are eligible to be special first time release reviewer, so if you are not please let me know, so I can ping someone to look over!
Acutally only core members are eligible. Sorry to say, but then you need someone else..

Thank you so much @nvnieuwk I'll add your suggestions for the local modules to the issues (I guess it's a remnant of the long development time)!
I think the smiley in the comments broke the aws test, do you know how to fix that?

it's not the smiley, it's the '. you can ignore it for now. once you are done kick it off manually (and then once again after release)

@mashehu and @nvnieuwk Do you think I should make all CI tests required? Or is it enough to make the linting and infrastructure stuff required, as for releases the PR (and the actions) are checked more thoroughly?

only pre-commit and nf-core the others. change name too often 🙂 I changed the branch protection rules accordingly in dev and master

Congrats! 🥳


Allow optional chart installation check behavior

We (folks at RStudio) are finding that in cases where a previous release is in a state other than deployed that the existing check can result in an irrecoverable state where InstallOrUpgradeChart will always assume an install is needed, but the helm library code will fail with cannot re-use a name that is still in use. Rather than force a new behavior on all users of this library, I'm opting for a pluggable behavior change at the place where the existing behavior is a problem for us, with the intention that we will inject a CheckChartInstalled function that meets our needs. Feedback very much appreciated ❤

Hello @meatballhat and thanks for your MR.
The problem addressed by your change is quite understandable.
Therefore, in addition to the InstallOrUpgradeChart() method, we have now provided two separate methods for installing and upgrading charts.
This way we avoid type bloat, and make it possible to implement a separate InstallOrUpgradeChart() method.
You can find the mentioned changes in this MR
I hope this will help you get to your goal as well. If this is not the case, feel free to open an issue.
I'll close this MR for now.

sorry, I had posted the wrong link for the MR yesterday. But I have updated it now.


Add a sort icon in dashboard table column header

Describe the task
Currently if we click on the table column header, it will sort the table based on selected column. We'd like to add a sort icon in the header so it's more obvious to the user.
An example icon like this, could confirm with Olga or Alison how we want to align the icon:

Acceptance Criteria

[ ] Added the sort icon to table header
[ ] Table sorting works

Additional context

Add any other context about the task here.
Or here

duplicated with #1130


I think you forgot to include some links.

Documentation Page URL
https://docs.paradex.trade/documentation/getting-started/architecture-overview/starknet-first-appchain
Issue Description
From my understanding of this page, the following sections should include links to direct people to more information about each concept.
You can learn more about the following topics:
StarkWare
Starknet
Rollups
ZK-Rollups
STARKs, SNARKs and Validity Proofs
Fractal Scaling - App-chains in Rollups
Steps to Reproduce (Optional)
No response
Suggested Improvement
No response

Thanks @Lyskey1 for the suggestion! We'll discuss and see what links would be good to add here to make it more accessible for readers to learn more about those topics

StarkWare
Starknet
Rollups
ZK-Rollups
STARKs, SNARKs and Validity Proofs
Fractal Scaling - App-chains in Rollups

Original documentation also had no links to the resources, so list of proposed links is attached. For the time being docs are populated with these


node and globalstrict

As far as my JavaScript knowledge goes, «can break third-party widgets» only applies to JavaScript in web pages, and I find myself to always use /*jshint node: true, strict: true, globalstrict: true*/ in my node scripts; I wonder if there's any reason against globalstrict in that environment and if globalstrict could be true by default when node is.

This make sense, I need to give it a little bit more thought though.
Sent from my iPhone
On Dec 6, 2011, at 5:01 AM, Lapo<EMAIL_ADDRESS>wrote:

As far as my JavaScript knowledge goes, «can break third-party widgets» only applies to JavaScript in web pages, and I find myself to always use /*jshint node: true, strict: true, globalstrict: true*/ in my node scripts; I wonder if there's any reason against globalstrict in that environment and if globalstrict could be true by default when node is.

Reply to this email directly or view it on GitHub:
https://github.com/jshint/jshint/issues/377

+1

+1


Links to blobs in default branch are broken

Since there is no branch named 'default' in the lorawan-stack repo anymore, all links in the docs such as https://github.com/TheThingsNetwork/lorawan-stack/blob/default/api/messages.proto (for example in this page) are broken, and the /default/ segment should be replaced by /v3.10/ (or the default branch should be restored)
See https://github.com/TheThingsIndustries/lorawan-stack-docs/search?q=%2Florawan-stack%2Fblob%2F for links that need updating.

poke @htdvisser @neoaggelos


[iOS Export] Fix adding static libs to the Xcode project.

Fixes https://github.com/godotengine/godot/issues/90173 (I was not able to fully test it since godot-kotlin-jvm seems to be not functional with current master and never generate usercode.a, but file is created manually it is exported and included to the project).

Thanks!

Cherry-picked for 4.2.2.

Fixes #90173 (I was not able to fully test it since godot-kotlin-jvm seems to be not functional with current master and never generate usercode.a, but file is created manually it is exported and included to the project).

It works, but it requires setting up graal and enabling ios in gradle project.
Will test on my side.


Disable MTM relations generation in config

I want to disable generating all MTM relations (and possible all relations whatsoever) in config, rather than writing /// DtoEntityHidden on every model. By default Prisma doesn't include those relations in returning records, so I think this feature should be on-demand rather than turned on from the start

The output without any relations is basically the plain DTO. I recently added the config to omit the generation of entity files; https://github.com/Brakebein/prisma-generator-nestjs-dto/issues/42#issuecomment-2259990757
Does it already solve your issue? Or am I missing something?

The output without any relations is basically the plain DTO. I recently added the config to omit the generation of entity files; #42 (comment)
Does it already solve your issue? Or am I missing something?

Yeah, thanks, I think I will just use entities then.


Drop docker content trust

Is not necessary now that we check the sha of the image contents and it
ties us to dockerhub.
Signed-off-by: Itxaka<EMAIL_ADDRESS>

woops, sorry, this was mean to have a WIP tag as I sent it just before finishing on monday :)

Need to update to reflect changes made on 0.5.0 as the grub changes are not backwards compatible :/


0.16.0: Uncaught TypeError: Cannot read property 'preventDefault' of undefined

Hello,
I Have the following code, which works fine in 0.15.1:
View snippet:
export const view = (state, actions) =>

    Home

;

Action snippet
export const actions = {
  page: (state, actions, event) => {
    event.preventDefault();
    return { page: '/foo' };
  },

After upgrading to 0.16.0, calling preventDefault results in the following error:
Uncaught TypeError: Cannot read property 'preventDefault' of undefined
    at Object.page (http://localhost:8084/app.js:9876:11)
    at HTMLAnchorElement.actions.(anonymous function) (http://localhost:8084/app.js:8294:33)

The function in HyperApp that causes the error
  function initDeep(state, actions, from, path) {
    Object.keys(from || {}).map(function(key) {
      if (typeof from[key] === "function") {
        actions[key] = function(data) {

          // The line that causes the error
          var result = from[key]((state = get(path, appState)), actions)
         ....
  }

Are there any breaking changes regarding how events are handled?

Hi @leifoolsen! I still haven't had time to update the release notes, explaining how to upgrade from <0.16.0, but in your case the solution is:
export const actions = {
  page: state => event => {
    event.preventDefault();
    return { page: '/foo' };
  },

Hi @JorgeBucaran. Thanks for reply.
Using a chained function worked 👍

Hi @leifoolsen, just a brief poll. As you are a user.
What is your thoughts about this API change ?

Hi @Swizz. Currying is ok, but probably need some documentation.

Also the init function from #406 seems to be missing in 0.16.0
app({
  init(state, actions) {
    // Subscribe to global events, start timers, fetch resources & more!
  },
  state,
  actions,
  view,
  modules: { whopper, mouse }
})

How do I write the init function  in 0.16.0?

@leifoolsen Still haven't had time to work on the release notes, but I will today. Here is the same code snippet updated for 0.16.0.
const actions = app({
  state,
  actions,
  view,
  modules: { whopper, mouse }
})

// Subscribe to global events, start timers, fetch resources & more!

@leifoolsen Still haven't had time to work on the release notes, but I will today. Here is the same code snippet updated for 0.16.0.
const actions = app({
  state,
  actions,
  view,
  modules: { whopper, mouse }
})

// Subscribe to global events, start timers, fetch resources & more!

@JorgeBucaran Thans for reply.
I'll try that.
As I understand it (after some debugging), only actions are exposed from app. If I need access to state object (for e.g. copying to local storage) I must use an action?

@leifoolsen You only had access to the initial state inside init, so if you need access to the initial state outside the app, just put the state in a variable and use it.
const state  = { loggedUser: "me" }

const { commit } = app({ state, view, actions })

if (state.loggedUser !== "") {
   commit(state.loggedUser)
}

This is unlikely, though. You would probably be better off just calling an action, which can access the state and do something with it.
Does this answer your question?

Another solution to this is to make a component out of it. If you wanted to fetch a state from local storage when the app loads, and then store all subsequent state, you could create a component that accepts root level state/actions. If it is the first render then setup === false so we do some stuff, in this case we read from localStorage and replace our apps state with the value, using actions.commit. If the component is already setup then the state must be new, so put it in storage.
let setup = false
const Tardis = (state, actions) => key => {
  if (!setup) {
    actions.commit(JSON.parse(localStorage.getItem(key)))
    setup = true
  } else localStorage.setItem(key, JSON.stringify(state))
}

app({
  state: {
    count: 0,
  },
  actions: {
    commit: () => state => state,
    up: state => _ => ({ count: state.count + 1 })
  },
  view: (state, actions) => main([
    Tardis(state, actions)('hyperapp-state'),
    h1(state.count),
    button({ onclick: actions.up }, 'Increment'),
  ])
})

I'm still not sure if I prefer this way to the good old init (yet) which sure was convenient.. but it has got me experimenting with different component patterns and as you can see, you can get quite a lot done just in the view.

@leifoolsen What about this?
const state = JSON.parse(localStorage.getItem(key))

const { getState } = app({
  state,
  actions: {
    getState: state => state
  }
})

setInterval(() => saveState(getState()), 1000)

The first one is not really an option as it is not a solution to the problem and not all the code is there to actually make it work without breaking. So not really a fair code comparison either.
In the second soliution.. what does the subscribe function look like and what is it injecting? What about the key variable? Could create multiple of these or insert it at various levels in the state tree? This solution conflicts with modules too.

@lukejacksonn You are right. The solution is to remove modules.
Modules are convenient, but they introduce a problem: now you have two ways to define state and actions. (edited)
[13:04]
How is this a problem? Well, it makes it very difficult to wrap your state and actions outside the app() call.
Without modules, we can assemble our state outside the app call (if there is a need) and only then app({ state }).
The snippet above using localStorage, is a good example. Your pointed what happens if there is nothing in the store and you were right. And how do I access the state injected by modules?
We need to either bring init back or simply remove modules leaving state assembly completely up to the user.

We are doing this all to accommodate a more complicated solution to an already solved problem. Not just solved.. but solved simply and requires zero changes to any core features. Let us look at the actual copy/paste-able solution that works today in any hyperapp.
Notice the solution does not use modules but it also does not exclude their use just because it is the only way you can find to to make it work any other way.
Above app:
let setup = false
const Tardis = ({ key, state, action }) => {
  if (!setup) {
    action(JSON.parse(localStorage.getItem(key)))
    setup = true
  } else localStorage.setItem(key, JSON.stringify(state))
}

In actions:
tardis: () => state => state

In view:
Tardis({
  key: 'hyperapp-state',
  state,
  action: actions.tardis,
})

If you are indeed intending on moving modules then people are going to have to wire up actions manually themselves. So importing this feature from a package on npm somewhere is still going to be as easy or easier than importing your solutions.
This is my main issue btw.. nothing easy easy to share in hyperapp apps. I always have tyo re-invent the wheel. Modules helped that a bit and in most cases you can get away with adding a very simple module and a component like the router.
import router, { Route, Link } from '@hyperapp/router'

Not all of us have the liberty of just being able to add/remove features because they aren't compatible with the problem space. So we work within the existing constraints. I have yet to hear why init and a component approach is actually so bad. Until then I will keep building components as they feel simpler and more re-usable that other solutions that have been proposed.

Thank you all for helpful answers.
This is what I ended up with:
  const dispatch = app({
    state,
    actions,
    view
  });
  window.addEventListener('beforeunload', () => dispatch.storeState());

@leifoolsen I removed modules from master and will publish later.
This should be the way forward:
const actions = app({
  state: JSON.parse(localStorage.getItem(key)),
  view,
  actions
})

window.addEventListener('beforeunload', () => dispatch.storeState())

And eventually, we may have a dedicated solution for subscriptions, like a function or functions run for each state update that would help you with the storeState step.
Thanks for bearing with us! 🙇

Thanks again for helpful comments and answers. I now have a working demo application built with Hyperapp 0.16.0 (just waiting for the router to catch up), with the following features:

Webpack3 with Node Express middleware and HMR
PostCSS/cssnext/css-modules

Repo here: https://github.com/leifoolsen/webpack2-boilerplate


Using es6-module-loader on precompiled js code (gulp-babel)

I tried to use es6-module-loader on js files after my gulp process (gulp-babel) but i couldn't get rid off errors. It seems that it's obligatory to include a transpiler (traceur, babel etc.) inside html page before calling es6-module-loader script).
Is there an existing solution if we want to use es6 module loaders on already "babeled" files (ie with no runtime required) ?
Is there a project for a "gulp-es6-module-loader" in order to finally have only one working js file ?

It seems that's it's better using Traceur (gulp-traceur to precompile), with the traceur-runtime js file, as it's described here.
But there are some problems again : System.import worked as expected, but 'classic' import didn't.

There is a system-register-only build of SystemJS which just supports loading System.register modules and bundle files created by Traceur and other transpilers. There isn't much info available on how to set this up, so just let me know if you're having any problems at all.


Too many steps to delete a go/link

Either allow 1 click delete with a toaster with a timeout to undelete
or
two click confirmation Delete row item -> Delete in Modal
Don't make me type the link out, its just a pain.

@jaredzimmerman I see what you mean. Will consider.


Prevent reading /etc config files inadvertently

How do files in /etc get read? My understanding from reading the code is that it only loads resource files, not files on disk.

@electrum you're right

AC


Bump imgui pin to 1.6.0

xref: https://github.com/pygfx/wgpu-py/pull/645
Seems to be blocking the docs generation
I grep'd around for any mentions of the keypress modifiers causing this but they seem to be contained to wgpu-py.

It looks like this needs a new wgpu-py release for the rest of the tests to pass.


Build a artifact builder

For most of the starfish libraries, to get the latest installed contract addresses we need to download all of the artifact files.
Build a node script to a large JSON file containing all of the contract artifacts. This can then be gzipped, and sent to the starfish libraries.

wrong repo !


add swiftlint to project

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   100.0%   100.0%
=======================================
  Files           3        3
  Lines         229      228    -1
=======================================
- Hits          229      228    -1

Impacted Files
Coverage Δ

Sources/MultiProgressView/LayoutProvider.swift
100.0% <100.0%> (ø)

Sources/MultiProgressView/MultiProgressView.swift
100.0% <100.0%> (ø)

...ources/MultiProgressView/ProgressViewSection.swift
100.0% <100.0%> (ø)


Add more command tests

Adds an extra test to take coverage of command.py to 100%
c.f. #147

Coverage increased (+0.4%) to 70.157% when pulling dc316ff0246cca612792eaf0d96ddfaa08a3bf79 on Hate-Usernames:test-command into 54340fffc99cb73e97358b094ae830da52cf173c on ggravlingen:master.


Validation: support placeholders for anything

Description
Supersedes and closes #3910
Fixes #3774
I tried cherry-picking @element-code 's commit but ended up with merge conflicts instead, so the original authorship was lost.
The breaking change with this is the signature change of setRule.
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

This method change should be safe, right? Since all extended classes will still have string $rules which is LSP-compatible.

No, the parameter will no longer be contravariant since extending classes will now be typehinting a specific type (string) from the parent's  type (this PR proposing as mixed).
https://3v4l.org/h6Ehe

In that case we will we need additions to the upgrade guide noting the BC. Since we have a ValidationInterface and this method is not included I think this is an acceptable break. Definitely one of the things we need in version 5 is a massive pass at all classes and methods, making everything possible private, final, or @internal so we don't keep running into these issue.

LGTM except documentation.

🥳


change for updates in react-native

Hi, I've made some changes to fix the library for latest versions of React Native. It works fine for me now. Also updated README.md.

+1 on merging this. This fixed the crashing after speaking on RN 0.41.2.


regenerate python dependencies

Regenerate python dependencies with :sdks:python:container:py39:generatePythonRequirement
I think this may be causing #24572 even if it isn't, updating dependencies is probably a good thing. The publish snapshot job will need to run before we're sure

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @chamikaramj


Make a pretty website

The current website is just a placeholder for the API docs. We need a much prettier website with other pages beyond just the documentation.
Thoughts on the website

No huge frameworks or libraries. This is a simple static website, so there's absolutely no reason to make pages bloated. Required watching: The Website Obesity Crisis (slides)
The current website uses an old version of Bootstrap with the default theme. It's fast, but looks like it was designed by an engineer (because it was). Maybe we can use the U.S. Web Design framework? Seems appropriate since this is all about U.S. election information. Also, it's a super simple and lightweight framework since it has to serve all citizens and has great accessibility features.
Docs, examples, and tutorials should be written by humans for humans.  I'm fine with adding generated schemas, but those should be secondary to making great human-readable docs.

alternatively, I'm currently helping a couple of other non profit orgs set up and use this wordpress theme, so might be easy to convert over to it. Just a thought. Might make keeping documentation up to date easier.
https://github.com/SeattleDSA/dsa_wordpress

Hey check out this project I'm working on @diafygi https://github.com/jcklpe/common-wp
Still has some work to go but should be useful for you guys probably.

Possible hero images?

https://www.pexels.com/search/america/
https://www.pexels.com/photo/woman-women-united-states-of-america-flag-92730/

Switched the landing and about-us pages to use the USWDS framework.

@diafygi sounds like you are not interested in using the CMS solution I proposed? That's cool, I just want to check in, and see if there's anything with it that I could do differently that would make it more useful for your project.
I know that WP gets a bad rap but I specifically built the theme to be essentially self contained. Having a CMS is heavier than running a static site generator etc, but it's also not always as easy for non-devs to update the content of which is why I suggest it.

@jcklpe Yeah, I think sticking with Jekyll and just a static Github Pages site is best for now. There's really no need for a dynamic backend or CMS at the moment. Until we actually get a demo running, I don't think there will be much in the way of news/blogs/posts/etc. that non-devs would need to be able to post.

@diafygi  sounds good! :) Looking forward to seeing this project evolve.

Converted the rest of the pages to use USWDS, so I think we're good until the prototype is working.


CODEOWNERS: Point nRF52840 board to @anangl

Point the nrf52840_pca10056 board to @anangl as a code owner.
Signed-off-by: Carles Cufi<EMAIL_ADDRESS>

Closing as a test


f.mmmRobyn() not working

Hi,
While running fb_nextgen_mmm_v20.0.exec.r code:
model_output <- f.mmmRobyn(set_hyperBoundGlobal
                          ,set_iter = set_iter
                          ,set_cores = set_cores
                          ,epochN = Inf # set to Inf to auto-optimise until no optimum found
                          ,optim.sensitivity = 0 # must be from -1 to 1. Higher sensitivity means finding optimum easier
                          ,temp.csv.path = getwd() # output optimisation result for each epoch. Use getwd() to find path
                          )

I'm recieving the following error with traceback. This error shows after the iteration process finishes.
 Error in { : task 6 failed - "'from' must be a finite number"
7.
stop(simpleError(msg, call = expr))
6.
e$fun(obj, substitute(ex), parent.frame(), e$data)
5.
foreach(i = 1:iterRS, .export = c("f.adstockGeometric", "f.adstockWeibull",
    "f.transformation", "f.rsq", "f.decomp", "f.calibrateLift",
    "f.lambdaRidge", "f.refit"), .packages = c("glmnet", "stringr",
    "data.table"), .options.snow = opts) %dopar% { ... at fb_nextgen_mmm_v20.0.func.R#755
4.
system.time({
    doparCollect <- foreach(i = 1:iterRS, .export = c("f.adstockGeometric",
        "f.adstockWeibull", "f.transformation", "f.rsq", "f.decomp",
        "f.calibrateLift", "f.lambdaRidge", "f.refit"), .packages = c("glmnet",  ... at fb_nextgen_mmm_v20.0.func.R#754
3.
f.mmm(hyper_bound_global, iterRS = set_iter, set_cores = set_cores,
    out = out) at fb_nextgen_mmm_v20.0.func.R#1003
2.
system.time({
    model_output <- f.mmm(hyper_bound_global, iterRS = set_iter,
        set_cores = set_cores, out = out)
}) at fb_nextgen_mmm_v20.0.func.R#1002
1.
f.mmmRobyn(set_hyperBoundGlobal, set_iter = set_iter, set_cores = set_cores,
    epochN = Inf, optim.sensitivity = 0, temp.csv.path = getwd())

Can you please help?

Thanks for using Robyn! To be honest I haven't seen this error before. One suspect might relate to the parallel process. What is your set_cores value? Do you also get error when you set core to 1?

Thanks for using Robyn! To be honest I haven't seen this error before. One suspect might relate to the parallel process. What is your set_cores value? Do you also get error when you set core to 1?

Yes, unfortunately after setting cores to 1 the error still occurs. But it changes to:
 Error in { : task 1 failed - "'from' must be a finite number"
7.
stop(simpleError(msg, call = expr))
6.
e$fun(obj, substitute(ex), parent.frame(), e$data)
5.
foreach(i = 1:iterRS, .export = c("f.adstockGeometric", "f.adstockWeibull",
    "f.transformation", "f.rsq", "f.decomp", "f.calibrateLift",
    "f.lambdaRidge", "f.refit"), .packages = c("glmnet", "stringr",
    "data.table"), .options.snow = opts) %dopar% { ... at fb_nextgen_mmm_v20.0.func.R#755
4.
system.time({
    doparCollect <- foreach(i = 1:iterRS, .export = c("f.adstockGeometric",
        "f.adstockWeibull", "f.transformation", "f.rsq", "f.decomp",
        "f.calibrateLift", "f.lambdaRidge", "f.refit"), .packages = c("glmnet",  ... at fb_nextgen_mmm_v20.0.func.R#754
3.
f.mmm(hyper_bound_global, iterRS = set_iter, set_cores = set_cores,
    out = out) at fb_nextgen_mmm_v20.0.func.R#1003
2.
system.time({
    model_output <- f.mmm(hyper_bound_global, iterRS = set_iter,
        set_cores = set_cores, out = out)
}) at fb_nextgen_mmm_v20.0.func.R#1002
1.
f.mmmRobyn(set_hyperBoundGlobal, set_iter = set_iter, set_cores = set_cores,
    epochN = Inf, optim.sensitivity = 0, temp.csv.path = getwd())

Are you using your own dataset or the sample dataset? It would really surprise me if the sample dataset is not working. If your own, is the format of the input data same as the example? Because I haven't seen this error before, it's difficult to debug without knowing more details.

Yes, I am using my dataset. Unfortunately I can't share it. I've doubleckecked and the formating is the same as the sample datset. I did some transformation on my data and the previous error was replaced by a new one. Maybe this one you can help with :)
So after running
dt_mod <- f.inputWrangling()

I'm recieving this:
Warning messages:
1: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
2: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
3: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
4: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
5: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
6: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
7: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
8: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
9: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead
10: In value[[3L]](cond) :
  default start value for nls out of range. using c(1,1) instead

Still the dt_mod dataset is beign created. But after running
model_output <- f.mmmRobyn(set_hyperBoundGlobal
                          ,set_iter = set_iter
                          ,set_cores = set_cores
                          ,epochN = Inf # set to Inf to auto-optimise until no optimum found
                          ,optim.sensitivity = 0 # must be from -1 to 1. Higher sensitivity means finding optimum easier
                          ,temp.csv.path = getwd() # output optimisation result for each epoch. Use getwd() to find path
                          )

I'm getting this error with traceback.
in { :
  task 1 failed - "error in evaluating the argument 'x' in selecting a method for function 'as.matrix': Cholmod error 'X and/or Y have wrong dimensions' at file ../MatrixOps/cholmod_sdmult.c, line 90"
In addition: Warning messages:
1: In .Internal(gc(verbose, reset, full)) :
  closing unused connection 4 (<-EWAL106S2X6S2.S2.MS.UNILEVER.com:11740)
2: In .Internal(gc(verbose, reset, full)) :

 Error in { :
  task 1 failed - "error in evaluating the argument 'x' in selecting a method for function 'as.matrix': Cholmod error 'X and/or Y have wrong dimensions' at file ../MatrixOps/cholmod_sdmult.c, line 90"
7.
stop(simpleError(msg, call = expr))
6.
e$fun(obj, substitute(ex), parent.frame(), e$data)
5.
foreach(i = 1:iterRS, .export = c("f.adstockGeometric", "f.adstockWeibull",
    "f.transformation", "f.rsq", "f.decomp", "f.calibrateLift",
    "f.lambdaRidge", "f.refit"), .packages = c("glmnet", "stringr",
    "data.table"), .options.snow = opts) %dopar% { ... at fb_nextgen_mmm_v20.0.func.R#755
4.
system.time({
    doparCollect <- foreach(i = 1:iterRS, .export = c("f.adstockGeometric",
        "f.adstockWeibull", "f.transformation", "f.rsq", "f.decomp",
        "f.calibrateLift", "f.lambdaRidge", "f.refit"), .packages = c("glmnet",  ... at fb_nextgen_mmm_v20.0.func.R#754
3.
f.mmm(hyper_bound_global, iterRS = set_iter, set_cores = set_cores,
    out = out) at fb_nextgen_mmm_v20.0.func.R#1003
2.
system.time({
    model_output <- f.mmm(hyper_bound_global, iterRS = set_iter,
        set_cores = set_cores, out = out)
}) at fb_nextgen_mmm_v20.0.func.R#1002
1.
f.mmmRobyn(set_hyperBoundGlobal, set_iter = set_iter, set_cores = set_cores,
    epochN = Inf, optim.sensitivity = 0, temp.csv.path = getwd())

I do have some issues with loading the 'see' package. Maybe this is the reason?

Don't worry about the InputWrangling warnings, we'll fix that in the next update.
Another new error I've never seen:) I don't think the "see" package is the issue here because it's just used for plotting. It seems to me that this error is related to the parallel process? so maybe try manually do stopCluster() before you try out new iterations, or maybe just simply restart Rstudio? see here: https://stackoverflow.com/questions/28462406/unknown-error-worker-initialization-failed-21-in-foreach-with-doparallel-cl

There's a major update of Robyn released yesterday. During the course of update, I've realised that the error "Error in { : task 1 failed - "'from' must be a finite number"  is caused by incorrect specification of the hyperparameters in the .exec script and I didn't put appropriate warning there. I believe I've fixed this (put better warnings in place) in this version. Please just open a new issue if you still have problems!


[spark] Cleanup Spark3.1 files

Purpose

Follow up of https://github.com/apache/paimon/pull/4237 to remove leaked Spark 3.1 files

Tests

Pass CI
API and Format

no
Documentation

+1


New theme for Helpy by Seravo: Nordic

We currently use Flat theme on our hosted Helpy site. We’ve had a few issues with the Flat theme and need more features than the theme can currently provide. Those issues and features originate from the theme in use, so we started working on a new theme.
Nordic theme is fork of Flat theme. We have fixed some small issues and added few basic features we needed. This PR contains the base of theme and we will continue to improve it in the future.
What Nordic theme improves:
Search field on every page in Helpy
Gives customers an easy way to search for an another article, for example in different articles and on the category view.
Improve the accessibility of the language selection
Changing the language can now be done from any page without leaving the current page.

Cleaner URLs
The URLs have been shortened, for example from example.com/en/knowledgebase/1-example-category/docs/1-example-article to example.com/en/docs/1-example-article

Editing article via button
Admins can now go directly to editing from the the article page.

Legibility
Optimize typography to make support documentation as easy to read as possible.

This looks like a great contribution @cr0vy ! I will pull this and make any suggestions, as well as look at the Brakeman XSS warnings...

#879
#1004

I pushed the brakeman ignores which are required to get past false-positive from brakeman in 34ff1ad.
Should it be corrected to the first commit and then build this branch again or is it fine like this?

It's fine like this!

Thanks @scott !


read html from string

is any solution to read and parse html tags from string? i have some html tags which i saved into database and i must read them from that, thanks

To obtain a Reader from a string, use new StringReader(string)


Organize designs

Designs are inconsistent in terms of colours and header sizes.
Continue solidifying the colours, header sizes on the already approved designs.

this issue lives in Design repo now


dev sh should take CWD into account when running commands on container

If the user is in a sub-directory of the project, commands run with 'dev sh' should be relative to that directory. Be nice to be able to do it without the need to configure it.

Can add configuration later if required but don't need it yet b/c we tend to use one project configuration for all projects that exist in a directory structure.


IRGen: Exclude unavailable enum cases from runtime layout calculations

When -unavailable-decl-optimization=complete is specified, exclude unavailable enum cases from the runtime layout of enums with payloads. Without this, the type metadata for unavailable types may be referenced by enum cases with unavailable payloads and cause linker failures.
Resolves rdar://107483852

@swift-ci please test

@swift-ci please test


Failed to activate the sass-autocompile package

[Enter steps to reproduce below:]

Install sass-autocompile update 0.9.0
Atom throws an error

Atom Version: 1.0.9
System: Mac OS X 10.10.5
Thrown From: sass-autocompile package, v0.9.0
Stack Trace
Failed to activate the sass-autocompile package
At Cannot read property 'length' of undefined

TypeError: Cannot read property 'length' of undefined
    at Object.module.exports.updateMenuItems (/Users/nils/.atom/packages/sass-autocompile/lib/sass-autocompile.coffee:197:53)
    at /Users/nils/.atom/packages/sass-autocompile/lib/sass-autocompile.coffee:188:13
    at Config.module.exports.Config.observeKeyPath (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:568:7)
    at Config.module.exports.Config.observe (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:135:21)
    at Object.module.exports.registerConfigObserver (/Users/nils/.atom/packages/sass-autocompile/lib/sass-autocompile.coffee:185:60)
    at Object.module.exports.activate (/Users/nils/.atom/packages/sass-autocompile/lib/sass-autocompile.coffee:166:5)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:243:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:224:30
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:167:15)
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:216:14)

Commands
     -0:40.8.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-chester-atom-syntax.theme-one-dark-ui)

Config
{
  "core": {
    "ignoredNames": [
      ".DS_Store",
      ".git",
      ".svn"
    ],
    "disabledPackages": [
      "feedback",
      "metrics",
      "styleguide",
      "welcome",
      "snippets",
      "package-generator",
      "dev-live-reload",
      "linter-jshint",
      "emmet",
      "htmlhint",
      "deprecation-cop",
      "jekyll",
      "atom-color-highlight",
      "git-tab-status"
    ],
    "projectHome": "/Users/nils/Desktop/Work/",
    "themes": [
      "one-dark-ui",
      "chester-atom-syntax"
    ]
  },
  "sass-autocompile": {
    "sourceMap": true
  }
}

Installed Packages
# User
atom-minify, v0.3.1
autoclose-html, v0.18.0
autocomplete-php, v0.3.7
bezier-curve-editor, v0.7.2
chester-atom-syntax, v0.1.1
color-picker, v2.0.11
file-icons, v1.6.9
fold-functions, v0.3.1
git-log, v0.4.1
grammar-token-limit, v0.1.1
highlight-selected, v0.10.1
jslint, v1.4.0
language-htaccess, v0.1.1
less-autocompile, v1.0.0
minimap, v4.13.2
minimap-find-and-replace, v4.3.0
minimap-git-diff, v4.1.8
minimap-highlight-selected, v4.3.0
minimap-pigments, v0.1.6
pigments, v0.13.2
project-manager, v2.0.1
sass-autocompile, v0.9.0
sync-settings, v0.6.0

# Dev
No dev packages

Can you try to uninstall und reinstall my package? I think, something went wrong with the internal Atom cache.

Uninstalling and reinstalling unfortunately brought up the same error message.

Can you try to execute this command in your terminal?
apm rebuild-module-cache

Does this fix your problem?

Yes, that worked! Thank you very much.


Attribute validation escalates to "something went wrong" instead of "invalid attribute"

There is a potential regression between Ash 04707aafd74fe3c5439d642578bce0817fda5ced and 81842a319aa18e974c9e87905c2a30b42e5084f10bf2931a6709e26398eeb5a6 or Ash Graphql between 8d612a08bc8956e350d0cc579a8be476d1b0ba74 and 5d784606582c0bcf36570bc9245a9db8524415d2a48a92c075e306475f2eba7f.
I have an action that suppose to validate the state of a record:
update :update_interval do
  accept []

  # ...

  validate attribute_equals(:state, :active)

  change after_action(fn changeset, resource, _context ->
            # ...
          end)
end

That action is exposed via GQL API. After upgrading those two packages, I see that a test is faling now because relevant GQL mutation returns "something went wrong" instead of "invalid attribute".
Note that I have other actions that rely on Ash State Machine and these validates the state correctly - it returns a correct error if the state validation fails.
Here are logs from the action execution:
08:33:37.025 function=log/4 module=Ecto.Adapters.SQL user_id=3196e23e-931f-4005-897f-ef95a27b85f9 [debug] QUERY OK db=0.6ms idle=145.5ms
begin []
↳ Ash.Actions.Update.Bulk.run/6, at: lib/ash/actions/update/bulk.ex:243

08:33:37.035 function=log/4 module=Ecto.Adapters.SQL user_id=3196e23e-931f-4005-897f-ef95a27b85f9 [debug] QUERY ERROR source="subscriptions" db=5.3ms
UPDATE "subscriptions" AS s0 SET "updated_at" = s1."__new_updated_at", "id" = s1."__new_id" FROM (SELECT $1::timestamp::timestamp AS "__new_updated_at", (CASE WHEN ss0."state"::varchar != $2::varchar THEN ash_raise_error((jsonb_build_object('exception', $3::text, 'input', jsonb_build_object($4::text, $5::jsonb, $6::text, ss0."state"::varchar, $7::text, (jsonb_build_object($8::varchar::varchar,($9::varchar::varchar),$10::varchar::varchar,($11::varchar::varchar)))::jsonb, $12::text, $13::jsonb)))::jsonb, ss0."id"::uuid) ELSE ss0."id"::uuid END) AS "__new_id", ss0."id" AS "id", ss0."effective_at" AS "effective_at", ss0."expires_at" AS "expires_at", ss0."inserted_at" AS "inserted_at", ss0."updated_at" AS "updated_at", ss0."user_id" AS "user_id", ss0."subscription_plan_id" AS "subscription_plan_id", ss0."state" AS "state" FROM "subscriptions" AS ss0 INNER JOIN "public"."users" AS su1 ON ss0."user_id" = su1."id" WHERE (ss0."id"::uuid = $14::uuid) AND (su1."id"::text = $15::text) LIMIT $16) AS s1 WHERE (s0."id" = s1."id") RETURNING s0."id", s0."effective_at", s0."expires_at", s0."inserted_at", s0."updated_at", s0."user_id", s0."subscription_plan_id", s0."state" [~U[2024-07-19 06:33:37.026736Z], :active, "Ash.Error.Changes.InvalidAttribute", "message", "must equal %{value}", "value", "vars", :value, :active, :field, :state, "field", "state", "ac279681-c7bf-4d98-8146-66ca0ba5c321", "3196e23e-931f-4005-897f-ef95a27b85f9", 1]
↳ AshPostgres.DataLayer.update_query/4, at: lib/data_layer.ex:1405

08:33:37.036 function=log/4 module=Ecto.Adapters.SQL user_id=3196e23e-931f-4005-897f-ef95a27b85f9 [debug] QUERY OK db=0.3ms
rollback []
↳ Ash.Actions.Update.Bulk.run/6, at: lib/ash/actions/update/bulk.ex:243

08:33:37.038 function=to_errors/3 module=AshGraphql.Errors user_id=3196e23e-931f-4005-897f-ef95a27b85f9 [warning] `4e8e6f16-5637-437d-926d-89d662cf6c3c`: AshGraphql.Error not implemented for error:

** (Ash.Error.Unknown.UnknownError) unknown error: :rollback
    (ash 3.2.4) [filtered]/elixir/deps/splode/lib/splode.ex:291: Ash.Error.to_error/2
    (ash 3.2.4) lib/ash/actions/update/bulk.ex:298: Ash.Actions.Update.Bulk.run/6
    (ash_graphql 1.2.1) lib/graphql/resolver.ex:1236: AshGraphql.Graphql.Resolver.mutate/2
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:234: Absinthe.Phase.Document.Execution.Resolution.reduce_resolution/1
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:189: Absinthe.Phase.Document.Execution.Resolution.do_resolve_field/3
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:174: Absinthe.Phase.Document.Execution.Resolution.do_resolve_fields/6
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:145: Absinthe.Phase.Document.Execution.Resolution.resolve_fields/4
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:88: Absinthe.Phase.Document.Execution.Resolution.walk_result/5
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:67: Absinthe.Phase.Document.Execution.Resolution.perform_resolution/3
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:24: Absinthe.Phase.Document.Execution.Resolution.resolve_current/3
    (absinthe 1.7.6) lib/absinthe/pipeline.ex:408: Absinthe.Pipeline.run_phase/3
    (absinthe_plug 1.5.8) lib/absinthe/plug.ex:536: Absinthe.Plug.run_query/4
    (absinthe_plug 1.5.8) lib/absinthe/plug.ex:290: Absinthe.Plug.call/2
    (phoenix 1.7.14) lib/phoenix/router/route.ex:42: Phoenix.Router.Route.call/2
    (phoenix 1.7.14) lib/phoenix/router.ex:484: Phoenix.Router.__call__/5
    (coinbits 2.0.0) lib/coinbits_web/endpoint.ex:1: CoinbitsWeb.Endpoint.plug_builder_call/2
    (coinbits 2.0.0) [filtered]/elixir/deps/plug/lib/plug/debugger.ex:136: CoinbitsWeb.Endpoint."call (overridable 3)"/2
    (coinbits 2.0.0) lib/coinbits_web/endpoint.ex:1: CoinbitsWeb.Endpoint.call/2
    (phoenix 1.7.14) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
    (bandit 1.5.5) lib/bandit/pipeline.ex:124: Bandit.Pipeline.call_plug!/2
    (bandit 1.5.5) lib/bandit/pipeline.ex:36: Bandit.Pipeline.run/4
    (bandit 1.5.5) lib/bandit/http1/handler.ex:12: Bandit.HTTP1.Handler.handle_data/3
    (bandit 1.5.5) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
    (bandit 1.5.5) [filtered]/elixir/deps/thousand_island/lib/thousand_island/handler.ex:411: Bandit.DelegatingHandler.handle_continue/2
    (stdlib 5.0.2) gen_server.erl:1067: :gen_server.try_handle_continue/3
    (stdlib 5.0.2) gen_server.erl:977: :gen_server.loop/7
    (stdlib 5.0.2) proc_lib.erl:241: :proc_lib.init_p_do_apply/3

08:33:37.040 function=to_errors/3 module=AshGraphql.Errors user_id=3196e23e-931f-4005-897f-ef95a27b85f9 [warning] `7f6a56d2-e310-47d5-b06f-60717a2472ef`: AshGraphql.Error not implemented for error:

** (Ash.Error.Unknown.UnknownError) unknown error: :rollback
    (ash 3.2.4) [filtered]/elixir/deps/splode/lib/splode.ex:291: Ash.Error.to_error/2
    (ash 3.2.4) lib/ash/actions/update/bulk.ex:298: Ash.Actions.Update.Bulk.run/6
    (ash_graphql 1.2.1) lib/graphql/resolver.ex:1236: AshGraphql.Graphql.Resolver.mutate/2
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:234: Absinthe.Phase.Document.Execution.Resolution.reduce_resolution/1
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:189: Absinthe.Phase.Document.Execution.Resolution.do_resolve_field/3
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:174: Absinthe.Phase.Document.Execution.Resolution.do_resolve_fields/6
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:145: Absinthe.Phase.Document.Execution.Resolution.resolve_fields/4
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:88: Absinthe.Phase.Document.Execution.Resolution.walk_result/5
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:67: Absinthe.Phase.Document.Execution.Resolution.perform_resolution/3
    (absinthe 1.7.6) lib/absinthe/phase/document/execution/resolution.ex:24: Absinthe.Phase.Document.Execution.Resolution.resolve_current/3
    (absinthe 1.7.6) lib/absinthe/pipeline.ex:408: Absinthe.Pipeline.run_phase/3
    (absinthe_plug 1.5.8) lib/absinthe/plug.ex:536: Absinthe.Plug.run_query/4
    (absinthe_plug 1.5.8) lib/absinthe/plug.ex:290: Absinthe.Plug.call/2
    (phoenix 1.7.14) lib/phoenix/router/route.ex:42: Phoenix.Router.Route.call/2
    (phoenix 1.7.14) lib/phoenix/router.ex:484: Phoenix.Router.__call__/5
    (coinbits 2.0.0) lib/coinbits_web/endpoint.ex:1: CoinbitsWeb.Endpoint.plug_builder_call/2
    (coinbits 2.0.0) [filtered]/elixir/deps/plug/lib/plug/debugger.ex:136: CoinbitsWeb.Endpoint."call (overridable 3)"/2
    (coinbits 2.0.0) lib/coinbits_web/endpoint.ex:1: CoinbitsWeb.Endpoint.call/2
    (phoenix 1.7.14) lib/phoenix/endpoint/sync_code_reload_plug.ex:22: Phoenix.Endpoint.SyncCodeReloadPlug.do_call/4
    (bandit 1.5.5) lib/bandit/pipeline.ex:124: Bandit.Pipeline.call_plug!/2
    (bandit 1.5.5) lib/bandit/pipeline.ex:36: Bandit.Pipeline.run/4
    (bandit 1.5.5) lib/bandit/http1/handler.ex:12: Bandit.HTTP1.Handler.handle_data/3
    (bandit 1.5.5) lib/bandit/delegating_handler.ex:18: Bandit.DelegatingHandler.handle_data/3
    (bandit 1.5.5) [filtered]/elixir/deps/thousand_island/lib/thousand_island/handler.ex:411: Bandit.DelegatingHandler.handle_continue/2
    (stdlib 5.0.2) gen_server.erl:1067: :gen_server.try_handle_continue/3
    (stdlib 5.0.2) gen_server.erl:977: :gen_server.loop/7
    (stdlib 5.0.2) proc_lib.erl:241: :proc_lib.init_p_do_apply/3

08:33:37.041 function=phoenix_endpoint_stop/4 module=Phoenix.Logger user_id=3196e23e-931f-4005-897f-ef95a27b85f9 [info] Sent 200 in 235ms

I fixed a bug remarkably similar to this in ash core recently. Just want to double check that latest of ash, ash_graphql, and ash_state_machine don't resolve the issue.

The issue exists on the latest branches of these packages. Tested via:
      # Ash Framework and its dependencies
      {:ash,
       github: "ash-project/ash", sha: "3c2f51224a767b6487decd538af1e0299096dcac", override: true},
      {:ash_appsignal, "~> 0.1.3"},
      {:ash_authentication_phoenix, "~> 2.0.0"},
      {:ash_authentication, "~> 4.0.0"},
      {:ash_graphql,
       github: "ash-project/ash_graphql", sha: "3e5cf20023f3990aff2d66c7307e3479d2a357ad"},
      {:ash_oban, "0.2.3"},
      {:ash_phoenix, "~> 2.0.2"},
      {:ash_postgres, "~> 2.0.8"},
      {:ash_state_machine,
       github: "ash-project/ash_state_machine", sha: "4549fb277d992134fc7f6de4bac359b88476e667"},
      {:picosat_elixir, "~> 0.2"},

I'll have to get a reproduction set up. Hopefully within the next few days. Is something that is being called in the after_action hook raising an error or rolling back the transaction? Will need to narrow down the likely causes to reproduce it.

I've removed everything and tried again with 3.2.6 and latest branches and seems to be working now. I have no idea what get changed but seems to be resolved now.


feat(parser): support to parse param in parser

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
To complete #8112, we need to support to parse param syntax like ('$1','$1::int') in parser first.
Checklist For Contributors

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features).
[x] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[x] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

I updated this PR because I was playing with buildkite & merge queue. Sorry if that bothered. 🤪🙏


Could ruff also check files according to file's shebang?

$ ruff  check .
warning: No Python files found under the given path(s)
All checks passed!
$ head -1 vcs-diff-lint
#! /usr/bin/python3
$ ruff check vcs-diff-lint
All checks passed!

Even though the file is not *.py, it still is a Python file and it is worth checking.

Related https://github.com/astral-sh/ruff/issues/2192
tl;dr It's recommended to use the include / extend-include config options to explicitly list down the files that you want Ruff to check for. Adding support for it might come with a performance cost although not sure.

Does using include / extend-include solve your use case? If so, we can close this issue.

The differential analysis tool we develop uses Ruff as one of the backends, and while we appreciate Ruff's overall performance - analyzing the shebang is worth it in our case.
The goal is to make future project enablements (= "start using vcs-diff-lint + ruff" in more projects) as trivial as possible.  Explicitly asking for include/extend-include per/project raises the initial enablement barrier, and incomplete analysis is also not nice...
That said, having an analyze-shebangs = true opt-in would be completely fine for our use case; we can afford to spend some time on this.

https://github.com/fedora-copr/vcs-diff-lint/pull/25 seems to help a bit here;  vcs-diff-lint knows the set of changed Python, including those that do not end with *.py.  So we can indeed use extend-include to at least cover those changed files, but we are still not checking unchanged non-*.py files.

Detecting all Python files based on shebang has the downside that Ruff needs to read at least the first 80 or so bytes to determine whether the file should be included in the analysis. This is significantly more costly than just looking at a file extension, so I would not want this behavior to be the default. I'm open to adding such a feature if we can come up with an interface that doesn't penalty the default use case where this isn't needed.

Detecting all Python files based on shebang has the downside that Ruff needs to read at least the first 80 or so

Could we, e.g., only include files with no "suffixes"?  That would be the most common case, I assume.
Otherwise, opt-in is completely fine!

Also some html files - though valid python - have a non standard shebang (like it used to be on MS-DOS) that Ruff cannot yet support/handle ( unlike black -x / python -x )
eg source : https://github.com/pygame-web/showroom/blob/main/pygame-scripts/org.pygame.touchpong.html
for run with python-wasm : https://pygame-web.github.io/showroom/pygame-scripts/org.pygame.touchpong.html

Also some html files - though valid python - have a non standard shebang

Indeed, this should be only an additional/optional analysis, and I don't think we need to have 100% success rate (nb. the basic .py suffix rule isn't 100% correct either).


Python no longer cross-platform

It seems like someone (cough @SAMdroid-apps) had fun implementing linux only commands. Unfortunately that removes a lot of the scalability and flexibility.

Mhm, I see.  Unfortunately we are too webscale to have automated unit tests so unfortunately this could not have been foreseen.

Hum, is there a library to fix this?  Like jQuery maybe?

I did find pyquery but in this case the problem was solvable without it. See my new pull request.


Failed while connecting to sparklyr to port (8880) for sessionid

My spark cluster works fine: version 2.1.0
But I am having issue with sparklyr 0.9.
I tried all modes (local, yarn-client and yarn-cluster) but no luck.
Error below:
Error in force(code) :
Failed while connecting to sparklyr to port (8880) for sessionid (20721): Gateway in localhost:8880 did not respond.
Path: /usr/lib/spark-2.1.0-bin-hadoop2.6/bin/spark-submit
Parameters: --class, sparklyr.Shell, '/usr/lib64/R/library/sparklyr/java/sparklyr-2.1-2.11.jar', 8880, 20721
Log: /tmp/RtmpBrwT6L/file15a9869445_spark.log
---- Output Log ----
18/12/05 00:34:54 INFO sparklyr: Session (20721) is starting under <IP_ADDRESS> port 8880
18/12/05 00:34:54 INFO sparklyr: Session (20721) found port 8880 is not available
18/12/05 00:34:54 INFO sparklyr: Backend (20721) found port 8882 is available
18/12/05 00:34:54 INFO sparklyr: Backend (20721) is registering session in gateway
18/12/05 00:34:54 INFO sparklyr: Backend (20721) is waiting for registration in gateway
18/12/05 00:34:54 INFO sparklyr: Backend (20721) finished registration in gateway with status 0
18/12/05 00:34:54 INFO sparklyr: Backend (20721) is waiting for sparklyr client to connect to port 8882

@jim-baskin please share your connection code, as in spark_connect(), which cluster provider are you using? The more information you can provide the more we can help.
One initial suggestion, try forcing yarn-client mode by adding to your configuration:
config$`sparklyr.shell.deploy-mode` = "client"


amazon-cognito-identity-js dependency browserify-crypto is still at 3.0.0

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
UnhandledPromiseRejectionWarning: ReferenceError: crypto is not defined
Which versions of Amplify, and which browser / OS are affected by this issue? Did this work in previous versions?
I'm using  amazon-cognito-identity-js 2.0.5. Recently there was a commit that upgraded browserify-crypto to 3.12.0, but that didn't seem to end up in the 2.0.5 release of amazon-cognito-identity-js.

It seems I have the same issue. Dod you manage to fix it?

Reverting to 2.0.2 worked for me. Not sure though if this is save. I just
use it to lock down my homepage Dev environment, so I don't care.
On Fri, May 18, 2018, 21:10 Abador<EMAIL_ADDRESS>wrote:

It seems I have the same issue. Dod you manage to fix it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-amplify/issues/848#issuecomment-390174708,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABKQLP8qOVF7K4dWaDmRYrZ2a0IoE13fks5tzqwMgaJpZM4UCb82
.

we have rolled back the use of crypto 3 due to issues with other modules (stream). We are looking into replacing this module with another crypto library or investigating the next upgrade.


Add scope for ownership

https://bugzilla.redhat.com/show_bug.cgi?id=1400671
This is used for check whether images/instances are accessible for ownership change.
When images/instances comes from provider with tenant mapping then ownership change is not allowed.


Add repository list page + it's related modals (PROJQUAY-3892)

This task covers:

PROJQUAY-3892
PROJQUAY-3900
PROJQUAY-3896

Changes include:

Repository List page + Create repository modal
Modals for changing repo visibility to private/public and deleting repositories
Repositories tab under OrganizationList page -> Specific org -> Repositories tab
Add navigation for all pages

ToDo:

Allow multiple repo deletion
Update list results after changing visibility (presently you need to refresh the page)

Signed-off-by: harishsurf<EMAIL_ADDRESS>

from last meeting: move the generic repositories component to the global components directory


Only check arnold shading group if arnold is used

[PYPE-271] created by admin

resolved during Rendermand and redshift implementation work


Release v183

https://github.com/heroku/heroku-buildpack-python/compare/v182...f825896c4e3992dbc1582f8d0562e71e88754c1a
Closes W-8202815.

$ ./etc/publish.sh
Deploy as version: v183 [y/n]? y

Tagging commit ac8fd555b8484eade35f8cc3e39238f3c62b55ca with v183...
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/heroku/heroku-buildpack-python
 * [new tag]         v183 -> v183
Two-factor code: ********************************************
Publishing buildpack heroku/python... done
Publishing buildpack was successful
Done.

$ h buildpacks:versions heroku/python | head -n4
Version  Released At               Status
───────  ────────────────────────  ─────────
183      2020-10-12T11:51:27.255Z  published
182      2020-10-06T09:46:30.803Z  published


Not working as expected. Where are the tests?

I've just paid my $100 annual sub and this package is not working?
You are missing the res.on("end", ....) handling in https.get callback, surely?
I was getting blank responses using this package until I re-implemented my self.
https
        .get(url, function(res) {
          let data = ""
          res.on("data", function(chunk) {
            data += chunk
          })
          res.on("end", function() {
            if (res.statusCode === 200) {
              try {
                let json = JSON.parse(data)
                resolve(json)
              } catch (e) {
                reject("Error parsing JSON!")
              }
            } else {
              reject("Status: " + res.statusCode)
            }
          })
        })
        .on("error", function(err) {
          reject("Error: " + err)
        })

New version is g2g. Tests and better implementation overall. Cheers!


get_meta() will throw error even if default arguement is set in 3.x

Godot version
3.5 rc1
System information
Windows 11 21H2
Issue description
Even if default values are provided in the arguments, get_meta() will throw an error if there is no metadata.
The Master branch does not have this issue.
Steps to reproduce

Minimal reproduction project
No response

Fixed by #61362.


t.throws(fn) does not catch the exception thrown

t.throws(fn) does not catch the exception thrown, making the test function to fail.
Here's how to reproduce the problem:
if ((typeof GasTap)==='undefined') {
  eval(UrlFetchApp.fetch('https://raw.githubusercontent.com/zixia/gast/master/src/gas-tap-lib.js').getContentText())
}

var test = new GasTap()

function gastTestRunner() {
  test('do calculation right', function (t) {
    t.throws(UrlFetchApp.fetch("hi"));
  })
}

To be quite frank, I don't really remember what happened with this, but I think I probably stopped using gast altogether.

That's ok. I was doing housekeeping today and found some missed issues here and there.
Have a good day!


Maintenance: building changelog, e2e tests and docs fails in forks

Why is this needed?
Repositories that fork this repo inherit its Github actions, some of which fail regularly; failed changelog rebuild, failed changelog publish.
This creates a bit of spam for the fork owner and can potentially incur costs.
Which area does this relate to?
Automation
Solution
Github actions relating to packaging and releasing new versions of LPT should only run in the original repository, not in forks.
Acknowledgment

[X] This request meets Powertools for AWS Lambda (Python) Tenets
[X] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

I would be happy to implement the changes. Example for dispatching analytics.

thank you!!!


2 calls to deprecated methods

I get the following error after installing the bootstrap snippet.
atom-bootstrap3 (2 deprecations)
Store package settings files in the settings/ directory instead of scoped-properties/
Called 1 time
Package.loadSettings - C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:566:9

C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:168:43
Package.measure - C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:147:15
Package.load - C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:161:12
Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows:

"activationCommands": {
"atom-workspace": ["foo:bar", "foo:baz"],
"atom-text-editor": ["foo:quux"]
}
Called 1 time
Package.getActivationCommands - C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:790:9
Package.hasActivationCommands - C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:715:20

C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:169:24
Package.measure - C:\Users\CRISTIAN\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:147:15

what version did you use? this should have been resolved in the last commit

upgrade and fix. many Thanks


Fixing Footer Links for Improved Website Navigation

Problem Statement:
Users are having trouble accessing the correct pages from the footer links on the website. The links such as "Benefits" and "Literary Realms" are redirecting users to the home page instead of their intended pages.
Task:
The task is to update the footer links so that they direct users to the correct pages instead of just the home page.
Steps to Solve:
To resolve the issue, follow the below steps:

Identify Issue: Find the code responsible for the footer links to determine the cause of incorrect redirection.
Update Links: Correct the paths for each footer link so that they point to the correct pages.
Test: Verify that clicking on each link now takes users to the expected pages.
Commit Changes: Once fixed, commit the changes to the code repository.
Communicate: If working with others, inform them of the changes made, and ensure they agree with the changes.

i would like to work for this issue under gssoc 2024

would u pls assign me this project


Remove ffxiv-teamcraft

This PR is to remove ffxiv-teamcraft from winget. The winget pkg was submitted by a user unaffiliated with ffxiv-teamcraft without our knowledge. We have received issues regarding updating something we never knew existed. We do not intend to maintain the winget pkg so we would like the pkg removed to avoid further issues.
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115369&drop=dogfoodAlpha

@ArcaneDisgea please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@ArcaneDisgea Why not let the community maintain it? You don't have to support WinGet-related issues (like outdated version).

According to the issue created on our repo it's been out of date for 2 months. We push updates fairly sporadically as well meaning it will consistently be out of date if someone is not watching it. We just want to avoid users creating issues on our repo for something we don't have anything to do with.


Use bezier paths for the rotation and zooming motion instead of easing functions?

It would be nice to also use a bezier module to animate the rotation and zooming motion instead of easing functions. I'm not sure, need to test.

Right now the main problem is how to calculate anchor points for the bezier of rotation?


chore: add appeal_id to slack notifier logs

closes #23

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

23 of 28 (82.14%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 75.285%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

plugins/notifiers/slack/client.go
2
3
66.67%

core/appeal/service.go
10
14
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
7981

Relevant Lines:
10601

💛  - Coveralls


Cherry pick the poly-eval fix, and add some small changes to make the cherry-pics with the arkworks version of the branch)

cherry picks @winderica 's commit in arkworks https://github.com/arkworks-rs/r1cs-std/commit/381abccfb39eedf1796a65e5547760f2a14fe435
adds small changes to make the cherry-pick work with the arkworks branch version (v0.4.0)

Thank you so much for the PR! It looks great to me 🎉


time_synchronizer - Error getting server time

Describe the bug
Each time I start hummingbot, I see these two error lines:
12:52:54 - time_synchronizer - Error getting server time. (See log file for stack trace dump)
12:52:54 - time_synchronizer - Could not refresh server time. Check network connection.
I believe these may be related to binance's restriction of US users, but I have ensured that i switched the rate oracle to coinbase_advanced_trade and have not made any connectors to binance. I want to ensure that this isn't a problem that may affect interactions outside of binance.
Please note:

I am located in the USA.
I do not have a VPN on.
Coinbase Advanced Trade is my rate oracle source.
I have no active connectors set up.
Version 1.27.0

Troubleshooting Steps Taken:

Full reinstall (./clean, ./install, ./compile) in a new directory

In the log files I see:
2024-04-29 13:05:31,547 - 7386 - hummingbot.connector.time_synchronizer - NETWORK - Error getting server time. Traceback (most recent call last):   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/time_synchronizer.py", line 65, in update_server_time_offset_with_time_provider     server_time_ms: float = await time_provider   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange/binance/binance_web_utils.py", line 69, in get_current_server_time     response = await rest_assistant.execute_request(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request     response = await self.execute_request_and_get_response(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 100, in execute_request_and_get_response     raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. " OSError: Error executing request GET https://api.binance.com/api/v3/time. HTTP status is 451. Error: {   "code": 0,   "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error." } 2024-04-29 13:05:31,548 - 7386 - hummingbot.connector.time_synchronizer - WARNING - Could not refresh server time. Check network connection. 2024-04-29 13:05:31,622 - 7386 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - ERROR - There was an error requesting exchange info. Traceback (most recent call last):   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 1074, in _initialize_trading_pair_symbol_map     exchange_info = await self._make_trading_pairs_request()   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 1087, in _make_trading_pairs_request     exchange_info = await self._api_get(path_url=self.trading_pairs_request_path)   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 863, in _api_get     return await self._api_request(*args, **kwargs)   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 906, in _api_request     request_result = await rest_assistant.execute_request(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request     response = await self.execute_request_and_get_response(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 100, in execute_request_and_get_response     raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. " OSError: Error executing request GET https://api.binance.com/api/v3/exchangeInfo. HTTP status is 451. Error: {   "code": 0,   "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error." }
Steps to reproduce

Install hummingbot
Run hummingbot in the United States without a VPN.

Release version
1.27.0
Type of installation
Source
Attach required files
2024-04-29 13:05:31,547 - 7386 - hummingbot.connector.time_synchronizer - NETWORK - Error getting server time. Traceback (most recent call last):   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/time_synchronizer.py", line 65, in update_server_time_offset_with_time_provider     server_time_ms: float = await time_provider   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange/binance/binance_web_utils.py", line 69, in get_current_server_time     response = await rest_assistant.execute_request(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request     response = await self.execute_request_and_get_response(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 100, in execute_request_and_get_response     raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. " OSError: Error executing request GET https://api.binance.com/api/v3/time. HTTP status is 451. Error: {   "code": 0,   "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error." } 2024-04-29 13:05:31,548 - 7386 - hummingbot.connector.time_synchronizer - WARNING - Could not refresh server time. Check network connection. 2024-04-29 13:05:31,622 - 7386 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - ERROR - There was an error requesting exchange info. Traceback (most recent call last):   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 1074, in _initialize_trading_pair_symbol_map     exchange_info = await self._make_trading_pairs_request()   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 1087, in _make_trading_pairs_request     exchange_info = await self._api_get(path_url=self.trading_pairs_request_path)   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 863, in _api_get     return await self._api_request(*args, **kwargs)   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 906, in _api_request     request_result = await rest_assistant.execute_request(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request     response = await self.execute_request_and_get_response(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 100, in execute_request_and_get_response     raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. " OSError: Error executing request GET https://api.binance.com/api/v3/exchangeInfo. HTTP status is 451. Error: {   "code": 0,   "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error." } 2024-04-29 13:11:11,521 - 7386 - hummingbot.client.hummingbot_application - INFO - stop command initiated. 2024-04-29 13:11:13,600 - 7386 - hummingbot.client.hummingbot_application - ERROR - MQTT is already stopped! 2024-04-29 13:12:21,401 - 7555 - hummingbot.connector.time_synchronizer - NETWORK - Error getting server time. Traceback (most recent call last):   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/time_synchronizer.py", line 65, in update_server_time_offset_with_time_provider     server_time_ms: float = await time_provider   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange/binance/binance_web_utils.py", line 69, in get_current_server_time     response = await rest_assistant.execute_request(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request     response = await self.execute_request_and_get_response(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 100, in execute_request_and_get_response     raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. " OSError: Error executing request GET https://api.binance.com/api/v3/time. HTTP status is 451. Error: {   "code": 0,   "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error." } 2024-04-29 13:12:21,402 - 7555 - hummingbot.connector.time_synchronizer - WARNING - Could not refresh server time. Check network connection. 2024-04-29 13:12:21,484 - 7555 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - ERROR - There was an error requesting exchange info. Traceback (most recent call last):   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 1074, in _initialize_trading_pair_symbol_map     exchange_info = await self._make_trading_pairs_request()   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 1087, in _make_trading_pairs_request     exchange_info = await self._api_get(path_url=self.trading_pairs_request_path)   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 863, in _api_get     return await self._api_request(*args, **kwargs)   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/connector/exchange_py_base.py", line 906, in _api_request     request_result = await rest_assistant.execute_request(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 47, in execute_request     response = await self.execute_request_and_get_response(   File "/Users/alecotto/Documents/code/botcamp/hummingbot/hummingbot/core/web_assistant/rest_assistant.py", line 100, in execute_request_and_get_response     raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. " OSError: Error executing request GET https://api.binance.com/api/v3/exchangeInfo. HTTP status is 451. Error: {   "code": 0,   "msg": "Service unavailable from a restricted location according to 'b. Eligibility' in https://www.binance.com/en/terms. Please contact customer service if you believe you received this message in error." }

I was coming running into this too. Make sure to remove binance from the paper_trades attribute in your conf_client.yml. It is probably safe to remove any values that you will not be using there.

oh great shout!

I was coming running into this too. Make sure to remove binance from the paper_trades attribute in your conf_client.yml. It is probably safe to remove any values that you will not be using there.

Great shout! I'm trying to purge any geo restricted connections from my hummingbot installation. Are there any other areas where binance may be sneakily connected to or relied upon?

Great shout! I'm trying to purge any geo restricted connections from my hummingbot installation. Are there any other areas where binance may be sneakily connected to or relied upon?

not that I am aware of.


Image assets need replacing

Bitcoin image assets need switching out for Nav Coin Branding.
Audit the images used in the project which need replacing.
Provide file paths to the assets we need to update inside the project.
Create new image assets as required.

MOBILE

[ ] resources/copay/android/icon/drawable-ldpi-icon.png

[ ] resources/copay/android/icon/drawable-mdpi-icon.png

[ ] resources/copay/android/icon/drawable-hdpi-icon.png

[ ] resources/copay/android/icon/drawable-xhdpi-icon.png

[ ] resources/copay/android/icon/drawable-xxhdpi-icon.png

[ ] resources/copay/android/icon/drawable-xxxhdpi-icon.png

[ ] resources/copay/android/splash/drawable-land-hdpi-screen.png

[ ] resources/copay/android/splash/drawable-land-ldpi-screen.png

[ ] resources/copay/android/splash/drawable-land-mdpi-screen.png

[ ] resources/copay/android/splash/drawable-land-xhdpi-screen.png

[ ] resources/copay/android/splash/drawable-land-xxhdpi-screen.png

[ ] resources/copay/android/splash/drawable-land-xxxhdpi-screen.png

[ ] resources/copay/android/splash/drawable-port-hdpi-screen.png

[ ] resources/copay/android/splash/drawable-port-ldpi-screen.png

[ ] resources/copay/android/splash/drawable-port-mdpi-screen.png

[ ] resources/copay/android/splash/drawable-port-xhdpi-screen.png

[ ] resources/copay/android/splash/drawable-port-xxhdpi-screen.png

[ ] resources/copay/android/splash/drawable-port-xxxhdpi-screen.png

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/icon/icon-60.png

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/icon/icon-76.png

[ ]<EMAIL_ADDRESS>

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/icon/icon-40.png

[ ]<EMAIL_ADDRESS>

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/icon/icon-72.png

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/icon/icon-small.png

[ ]<EMAIL_ADDRESS>

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/icon/icon-50.png

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/splash/Default~iphone.png

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/splash/Default-Portrait~ipad.png

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/splash/Default-Landscape~ipad.png

[ ]<EMAIL_ADDRESS>

[ ]<EMAIL_ADDRESS>

[ ] resources/copay/ios/splash/Default-667h.png

[ ] resources/copay/ios/splash/Default-736h.png

[ ] resources/copay/ios/splash/Default-Landscape-736h.png

Windows (not sure if for .exe or windows phone)

[ ] resources/copay/windows/icon/StoreLogo.png
[ ] resources/copay/windows/icon/Square30x30Logo.png
[ ] resources/copay/windows/icon/Square44x44Logo.png
[ ] resources/copay/windows/icon/Square70x70Logo.png
[ ] resources/copay/windows/icon/Square71x71Logo.png
[ ] resources/copay/windows/icon/Square150x150Logo.png
[ ] resources/copay/windows/icon/Square310x310Logo.png
[ ] resources/copay/windows/icon/Wide310x150Logo.png
[ ] resources/copay/windows/splash/SplashScreen.png
[ ] resources/copay/windows/splash/SplashScreen.scale-100.png
[ ] resources/copay/windows/splash/SplashScreenPhone.scale-240.png
[ ] resources/copay/windows/splash/splashscreenphone.png

Other

[ ] www/img/llustration-send-feedback.png

[ ] www/img/icon-warning.png

[ ] www/img/app/logo.png

[ ] www/img/app/favicon.ico

[ ] www/img/onboarding-tour-control.svg

[ ] www/img/app/icon.png

[ ] www/img/icon-chrome-128.png

might be used with multisig wallets not sure

[ ] www/img/icon-bitcoin-white.svg

all done i think, testing build now.


migrate to Python 3

Hello, I have a project depending on libsnmp, and I'm going to migrate it to Python 3, but I found libsnmp doesn't have a verion can run in Python 3, so I upgraded it(it has passed all test cases in Python 3.4 & python 3.9), could you please merge it and publish a new version to pypi?

Firstly: Thank you so much for doing this! I'm amazed anyone is using this old code of mine.
Secondly, the queries on the variable names aren't blockers since we are making the code better overall, but it seems prudent to tidy up these loose ends while we're here and the effort seems small.
Finally, again, amazing that you're using this code and took the time to make it better, and work with modern Python.
Kudos!

Firstly: Thank you so much for doing this! I'm amazed anyone is using this old code of mine.
Secondly, the queries on the variable names aren't blockers since we are making the code better overall, but it seems prudent to tidy up these loose ends while we're here and the effort seems small.
Finally, again, amazing that you're using this code and took the time to make it better, and work with modern Python.
Kudos!

Thanks for replying me so quickly, I was worried that you would ignore this PR
Actually, I'm not very familiar with SNMP protocol, but a project depends on this library needs to upgrade, so I have to commit this PR
Thank you for the reply again!