All my programs show nothing on WIndows 11 overnight

Software Versions

Python: 3.12.2 and 3.9.12
OS: Windows 11
Kivy: v2.3.0 and v2.1.0
Kivy installation method: pip, conda

Describe the bug
None of my programs are working. I have a lot of programs in my computer that i previously wrote and successfully ran using kivy, but none of them get to the point of opening the window to show it or starting the kivy main loop now.
This all happened overnight, and it happens in two virtual environments created using anaconda. One is an old version kivy with an older python 3, and the other is the newest version of kivy (which worked during a few weeks) with a newer python 3. I can only asume something in a windows update or in my OS has broken compatibility with kivy, but i don't know how to search the bug as the logs show nothing. I can only track that after importing a few things in kivy, it just stops working and exits without doing anything or showing any errors.
Expected behavior
a normal log looks like this:
[INFO   ] Logger: Record log in C:\Users\migue\.kivy\logs\kivy_24-03-22_41.txt
[INFO   ] deps: Successfully imported "kivy_deps.gstreamer" 0.3.3
[INFO   ] deps: Successfully imported "kivy_deps.angle" 0.4.0
[INFO   ] deps: Successfully imported "kivy_deps.glew" 0.3.1
[INFO   ] deps: Successfully imported "kivy_deps.sdl2" 0.7.0
[INFO   ] Kivy: v2.3.0
[INFO   ] Kivy: Installed at "C:\ProgramData\Anaconda3\envs\simplekivy2\Lib\site-packages\kivy\__init__.py"
[INFO   ] Python: v3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 17:28:07) [MSC v.1916 64 bit (AMD64)]
[INFO   ] Python: Interpreter at "C:\ProgramData\Anaconda3\envs\simplekivy2\python.exe"
[INFO   ] Logger: Purge log fired. Processing...
[INFO   ] Logger: Purge finished!
[INFO   ] Factory: 195 symbols loaded
[INFO   ] Image: Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] Text: Provider: sdl2
[INFO   ] Window: Provider: sdl2
[INFO   ] GL: Using the "OpenGL" graphics system
[INFO   ] GL: GLEW initialization succeeded
[INFO   ] GL: Backend used <glew>
[INFO   ] GL: OpenGL version <b'4.6.0 Compatibility Profile Context <IP_ADDRESS>025'>
[INFO   ] GL: OpenGL vendor <b'ATI Technologies Inc.'>
[INFO   ] GL: OpenGL renderer <b'AMD Radeon(TM) Graphics'>
[INFO   ] GL: OpenGL parsed version: 4, 6
[INFO   ] GL: Shading version <b'4.60'>
[INFO   ] GL: Texture max size <16384>
[INFO   ] GL: Texture max units <32>
[INFO   ] Window: auto add sdl2 input provider
[INFO   ] Window: virtual keyboard not allowed, single mode, not docked
[INFO   ] Base: Start application main loop
[INFO   ] GL: NPOT texture support is available
[INFO   ] Base: Leaving application in progress...

Now all my logs show nothing after [INFO   ] [Window      ] Provider: sdl2
To Reproduce
The simplest kivy program doesn't work.
import kivy
# kivy.require('2.1.0') # replace with your current kivy version !
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
    def build(self):
        return Label(text='Hello world')
if __name__ == '__main__':
    MyApp().run()

My exact Windows version is:
Edition:	Windows 11 Home
Version:	22H2
Installed on:	05/01/2023
OS build:	22621.3296
Experience:	Windows Feature Experience Pack 1000.22687.1000.0
Code and Logs and screenshots
[INFO   ] [Logger      ] Record log in C:\Users\migue\.kivy\logs\kivy_24-03-26_32.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.gstreamer" 0.3.3
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.4.0
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.7.0
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "C:\ProgramData\Anaconda3\envs\simplekivy2\Lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 17:28:07) [MSC v.1916 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\ProgramData\Anaconda3\envs\simplekivy2\python.exe"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
{'trace': 9, 'debug': 10, 'info': 20, 'warning': 30, 'error': 40, 'critical': 50}
[DEBUG  ] [Cache       ] register <kv.resourcefind> with limit=None, timeout=60
[INFO   ] [Factory     ] 195 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[TRACE  ] [Lang        ] load file C:\ProgramData\Anaconda3\envs\simplekivy2\Lib\site-packages\kivy\data\style.kv, using utf8 encoding
[TRACE  ] [Parser      ] parsing 1340 lines
[TRACE  ] [Parser      ] got directive <kivy 1.0>
[TRACE  ] [Parser      ] got directive <import kivy kivy>
[TRACE  ] [Builder     ] build rule for <Label>
[TRACE  ] [Builder     ] build rule for <-Button,-ToggleButton>
[TRACE  ] [Builder     ] build rule for <BubbleContent>
[TRACE  ] [Builder     ] build rule for <BubbleButton>
[TRACE  ] [Builder     ] build rule for <Slider>
[TRACE  ] [Builder     ] build rule for <ProgressBar>
[TRACE  ] [Builder     ] build rule for <SplitterStrip>
[TRACE  ] [Builder     ] build rule for <Scatter>
[TRACE  ] [Builder     ] build rule for <RelativeLayout>
[TRACE  ] [Builder     ] build rule for <Image,AsyncImage>
[TRACE  ] [Builder     ] build rule for <EffectWidget>
[TRACE  ] [Builder     ] build rule for <TabbedPanelContent>
[TRACE  ] [Builder     ] build rule for <TabbedPanelStrip>
[TRACE  ] [Builder     ] build rule for <StripLayout>
[TRACE  ] [Builder     ] build rule for <TabbedPanelHeader>
[TRACE  ] [Builder     ] build rule for <Selector>
[TRACE  ] [Builder     ] build rule for <TextInput>
[TRACE  ] [Builder     ] build rule for <TextInputCutCopyPaste>
[TRACE  ] [Builder     ] build rule for <CodeInput>
[TRACE  ] [Builder     ] build rule for <TreeViewNode>
[TRACE  ] [Builder     ] build rule for <TreeViewLabel>
[TRACE  ] [Builder     ] build rule for <StencilView>
[TRACE  ] [Builder     ] build rule for <FileChooserListLayout>
[TRACE  ] [Builder     ] build rule for <FileChooserListView>
[TRACE  ] [Builder     ] build template for [FileListEntry@FloatLayout+TreeViewNode]
[TRACE  ] [Builder     ] build rule for <FileChooserIconLayout>
[TRACE  ] [Builder     ] build rule for <FileChooserIconView>
[TRACE  ] [Builder     ] build template for [FileIconEntry@Widget]
[TRACE  ] [Builder     ] build rule for <FileChooserProgress>
[TRACE  ] [Builder     ] build rule for <Switch>
[TRACE  ] [Builder     ] build rule for <ModalView>
[TRACE  ] [Builder     ] build rule for <Popup>
[TRACE  ] [Builder     ] build rule for <SpinnerOption>
[TRACE  ] [Builder     ] build rule for <Spinner>
[TRACE  ] [Builder     ] build rule for <ActionBar>
[TRACE  ] [Builder     ] build rule for <ActionView>
[TRACE  ] [Builder     ] build rule for <ActionSeparator>
[TRACE  ] [Builder     ] build rule for <ActionButton,ActionToggleButton>
[TRACE  ] [Builder     ] build rule for <ActionLabel>
[TRACE  ] [Builder     ] build rule for <ActionGroup>
[TRACE  ] [Builder     ] build rule for <ActionCheck>
[TRACE  ] [Builder     ] build rule for <ActionPreviousImage@Image>
[TRACE  ] [Builder     ] build rule for <ActionPreviousButton@Button>
[TRACE  ] [Builder     ] build rule for <ActionPrevious>
[TRACE  ] [Builder     ] build rule for <ActionGroup>
[TRACE  ] [Builder     ] build rule for <ActionOverflow>
[TRACE  ] [Builder     ] build rule for <ActionDropDown>
[TRACE  ] [Builder     ] build template for [AccordionItemTitle@Label]
[TRACE  ] [Builder     ] build rule for <AccordionItem>
[TRACE  ] [Builder     ] build rule for <SettingSpacer>
[TRACE  ] [Builder     ] build rule for <SettingItem>
[TRACE  ] [Builder     ] build rule for <SettingBoolean>
[TRACE  ] [Builder     ] build rule for <SettingString>
[TRACE  ] [Builder     ] build rule for <SettingPath>
[TRACE  ] [Builder     ] build rule for <SettingColor>
[TRACE  ] [Builder     ] build rule for <SettingOptions>
[TRACE  ] [Builder     ] build rule for <SettingTitle>
[TRACE  ] [Builder     ] build rule for <SettingSidebarLabel>
[TRACE  ] [Builder     ] build rule for <SettingsPanel>
[TRACE  ] [Builder     ] build rule for <Settings>
[TRACE  ] [Builder     ] build rule for <InterfaceWithSidebar>
[TRACE  ] [Builder     ] build rule for <InterfaceWithSpinner>
[TRACE  ] [Builder     ] build rule for <MenuSpinner>
[TRACE  ] [Builder     ] build rule for <MenuSidebar>
[TRACE  ] [Builder     ] build rule for <ContentPanel>
[TRACE  ] [Builder     ] build rule for <InterfaceWithTabbedPanel>
[TRACE  ] [Builder     ] build rule for <ScrollView>
[TRACE  ] [Builder     ] build rule for <VideoPlayerPreview>
[TRACE  ] [Builder     ] build rule for <VideoPlayerAnnotation>
[TRACE  ] [Builder     ] build rule for <VideoPlayer>
[TRACE  ] [Builder     ] build rule for <CheckBox>
[TRACE  ] [Builder     ] build rule for <ScreenManager>
[TRACE  ] [Builder     ] build rule for <ColorPicker_Input@TextInput>
[TRACE  ] [Builder     ] build rule for <ColorPicker_Label@Label>
[TRACE  ] [Builder     ] build rule for <ColorPicker_Selector@BoxLayout>
[TRACE  ] [Builder     ] build rule for <ColorWheel>
[TRACE  ] [Builder     ] build rule for <ColorPicker>
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.5.1
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [Cache       ] register <kv.graphics.texture> with limit=None, timeout=None
[TRACE  ] [Parser      ] parsing 19 lines
[TRACE  ] [Builder     ] build rule for <-CoverBehavior>
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[Finished in 4.1s]

Additional context
Any ideas regarding how to track or solve the problem are appreciated. I tried elevating the debug level to show as much as possible, but i can't find what is wrong. I'll try to use another window provider besides sdl2, as it seems to be the more likely suspect.

I found that this only happens when i connect a second screen to my laptop. The behavior is the same as described in the issue. The second screen is connected using a generic usb to hdmi/vga adapter, not sure if that matters. Disconnecting the screen "solves" the issue, but it is a shame that i can't work using my two screens, so my question still stands. How can i track or work around it?

Can you try using a different backend ?
Put KIVY_GL_BACKEND=angle_sdl2 in your variable environment

Can you try using a different backend ?
Put KIVY_GL_BACKEND=angle_sdl2 in your variable environment

I tried setting up the environment variable KIVY_GL_BACKEND=angle_sdl2 but the problem persists. This is the log when the video adapter is connected:
[INFO   ] [Logger      ] Record log in C:\Users\migue\.kivy\logs\kivy_24-04-05_21.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.gstreamer" 0.3.3
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.4.0
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.7.0
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "C:\ProgramData\Anaconda3\envs\simplekivy2\Lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 17:28:07) [MSC v.1916 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\ProgramData\Anaconda3\envs\simplekivy2\python.exe"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 195 symbols loaded
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.5.1
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [Window      ] Activate GLES2/ANGLE context

And this is when the video adapter is not connected (the window is created successfully):
[INFO   ] [Logger      ] Record log in C:\Users\migue\.kivy\logs\kivy_24-04-05_24.txt
[INFO   ] [deps        ] Successfully imported "kivy_deps.gstreamer" 0.3.3
[INFO   ] [deps        ] Successfully imported "kivy_deps.angle" 0.4.0
[INFO   ] [deps        ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.7.0
[INFO   ] [Kivy        ] v2.3.0
[INFO   ] [Kivy        ] Installed at "C:\ProgramData\Anaconda3\envs\simplekivy2\Lib\site-packages\kivy\__init__.py"
[INFO   ] [Python      ] v3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 17:28:07) [MSC v.1916 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\ProgramData\Anaconda3\envs\simplekivy2\python.exe"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 195 symbols loaded
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.5.1
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_ffpyplayer
[INFO   ] [Text        ] Provider: sdl2
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [Window      ] Activate GLES2/ANGLE context
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <angle_sdl2>
[INFO   ] [GL          ] OpenGL version <b'OpenGL ES 2.0.0 OGLP-221025 '>
[INFO   ] [GL          ] OpenGL vendor <b'ATI Technologies Inc.'>
[INFO   ] [GL          ] OpenGL renderer <b'AMD Radeon(TM) Graphics'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 0
[INFO   ] [GL          ] Shading version <b'OpenGL ES GLSL ES 3.20'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <32>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available

I found a workaround, which is terrible and annoying, but it does the trick.
I literally have to set my display settings in windows to show only the main display before importing kivy, and setting the option back to extend the displays after the window is successfully created inside my kivy program. This is done in windows with the command line commands DISPLAYSWITCH.exe /internal and DISPLAYSWITCH.exe /clone that i send using os.system (take note that these commands are for 2 screens only).
This is not a solution and, as a sidenote, the kivy programs also fail in the way i described above even if the main screen is mirrored, as long as the usb video adapter is connected.

I still don't know the cause, but i now have determined when it happens. For some reason, if i set the display settings of my computer to internal, then i initialize a kivy widget (any widget, it does not matter), then i set display settings to extend again, i can create a kivy program after that even if the usb video adapter is connected. Whatever the problem is, it happens when the first widget is initialized, after that, creating a window is possible. However, the steps of showing in only one display, initializing a widget, then extending displays is not what i want.
The code that shows what i describe is:
import os
from kivy.uix.label import Label
os.system('DISPLAYSWITCH.exe /internal')
Label()
os.system('DISPLAYSWITCH.exe /extend')

import kivy
# kivy.require('2.1.0') # replace with your current kivy version !
from kivy.app import App
from kivy.uix.label import Label
class MyApp(App):
    def build(self):
        return Label(text='Hello world')
if __name__ == '__main__':
    MyApp().run()

Doing this before creating any kivy app window, i can successfully run my programs that i had before, but it is annoying watching my monitors flicker before running any kivy program.

I have come to the conclusion that this problem is to niche.
I found a "less annoying" solution. Whatever the problem is, it is related to the internal display and maybe the graphics card of my laptop. When I close the lid, the laptop's internal window doesn't appear in the display settings of windows, as if it were physically removed.  Here is when the problems i described above happen, as it is my working setup at home.
Having the laptop lid open (even if i turn that screen off) just didn't make sense as my normal working conditions, but there you have it. THIS is the less annoying solution. Having the laptop lid slightly open, just so that windows detects the internal display, makes my kivy programs run normally (i suspect there is an internal switch, and windows not detecting the internal display of my laptop breaks all functionality with kivy apparently, unless i do the "fix" of my previous comment.)
So, i'll just keep the lid of my laptop slightly open forever, or until someone finds any real solution.

@SuperMechaDeathChrist , please keep an eye on #8665, and let us know if the issue persists even after the linked issue has been closed, so we can move forward with an investigation.


Support for cluster

Should we interact directly with the cluster or just split jobs for users and let them take care of it?

my hope was that existing tools (snakemake?) could be used for cluster submission, provided
we output the jobs in appropriate format(s).

Snakemake relies on shell command 'qsub' and I did not like the experience with it. Currently the "embarrassing parallel" mode is powered by celery, which has the potential to distribute tasks to multiple nodes on cluster once we have something like DAG, although how exactly it is done remains to be explored.

Will discuss and implement in the upstream pysos library


Listing Management - Appropriate Org Steward and Content Steward filters should exist

On the Listing Management page the appropriate filters (Pending, Need Actions, etc) should exist for Org Stewards and Content Stewards.

For this release we would like to keep the filters as they are in current production.
My Listings (User, Org, Admin):

Published
Needs action
Pending
Draft

Organizational Tab (Org):

Published
Needs action
Org approved
Returned
Draft

All Center Listings (Admin):

Published
Needs action
Pending, Org.
Returned
Draft

Passed on Latest.

Deleted was added.  Passed on staging.


WS2812 refactor to fix #5

Hopefully Resolves #5, though I've observed my WS2812 is not lighting up with these changes.
@Gustavomurta could you please test this and see if it works on your WS2812?
Current implementation signal images:

Latest push to main matches drivers ws2812 implementation. closing this one.


💬 RFC: Login/Logout hidden commands

Login and Logout are top level commands that can have high usage. Currently the Login/Logout commands are hidden commands in the help message but will be showed in the documentation website. This seems like a incontinuity and may cause confusion if user is looking for the commands in the CLI help message.

Yeah good idea. Let's also group the user specific commands (login/logout/whoami) under a User header.

Yeah good idea. Let's also group the user specific commands (login/logout/whoami) under a User header.

It seems like Yargs group() only works for flags currently. They have an issue that has been open for 3 years for a command group function. https://github.com/yargs/yargs/issues/684


Ran pre-commit autoupdate.

Committed via https://github.com/asottile/all-repos

Coverage remained the same at 100.0% when pulling 3f587dd7f968010c572ffd0d28c3ee23b0d72a8c on all-repos_autofix_pre-commit-autoupdate into baf13a52146700a9c15a017ef3ae653044af2bc7 on master.


A sample working strategy

I am trying to write a custom strategy on Gekko but not able to follow the documentation very well. Hence, I need some support. I'm not asking for anyone's best working strategy but I need some help to create one.
` var strat = {}
strat.init = function() {

this.buyPrice = 0.000081;

// setting sell price
this.sellPrice = 0.00009;

}
// What happens on every new candle?
strat.update = function(candle) {
}
// For debugging purposes.
strat.log = function() {
}
// Based on the newly calculated
// information, check if we should
// update or not.
strat.check = function() {
 // buy when it hits buy price
if(candle.close <= this.buyPrice) {
    this.advice("long");
    // do some output
    console.log("buying BTC @", candle.close);
    return;
}

// sell when it hits sell price
if(candle.close >= this.sellPrice) {
    this.advice("short");
    // do some output
    console.log("selling BTC @", candle.close);
    console.log("Profit:", (candle.close-this.buyPrice));
    return;
}

}
module.exports = strat;`
This is my sample code where I am just trying to buy BTC @0.000081 and sell @0.00009. However when I save it in custom.js and load it on the UI. It gives some result like +10%, -40%, 3%, etc different result at different time ran with same parameter and for same date range.
I am not sure even my strategy is executing or not.
Any help will be appreciated.

I don't know if it is just a copy/paste issue or I see strat.init declared twice.
You can add console.log in your init to see if your strategy is running at all.
I have also noticed in gekko that sometimes it would run on a smaller time interval than it is asked for.  But usually it happens only the first or second time around.  After that it consistently runs on the interval provided.  There is probably some thread that catches up with the backtesting and it takes a little bit time.
One more thing I would suggest that you should save the candle.close price as your buy price and use it to calculate the profit instead of your buy threshold.

I check the logs it is not logging anything that means it's not executing. Do I have to enable any debug is any config file to make it write logs?

I am attempting this exact same code (except I'm using USD for buy and sell)
Following the basic strategy example at: https://gekko.wizb.it/docs/strategies/creating_a_strategy.html
For me it is running my custom strategy, however I am getting a candle is not defined error:
2017-11-18 20:14:02 (INFO):     Setting up Gekko in backtest mode
2017-11-18 20:14:02 (INFO):
2017-11-18 20:14:02 (INFO):     Setting up:
2017-11-18 20:14:02 (INFO):              Trading Advisor
2017-11-18 20:14:02 (INFO):              Calculate trading advice
2017-11-18 20:14:02 (INFO):              Using the strategy: custom
2017-11-18 20:14:02 (INFO):
2017-11-18 20:14:02 (INFO):     Setting up:
2017-11-18 20:14:02 (INFO):              Paper Trader
2017-11-18 20:14:02 (INFO):              Paper trader that simulates fake trades.
2017-11-18 20:14:02 (INFO):
2017-11-18 20:14:02 (INFO):     Setting up:
2017-11-18 20:14:02 (INFO):              Performance Analyzer
2017-11-18 20:14:02 (INFO):              Analyzes performances of trades
2017-11-18 20:14:02 (INFO):
2017-11-18 20:14:02 (INFO):             WARNING: BACKTESTING FEATURE NEEDS PROPER TESTING
2017-11-18 20:14:02 (INFO):             WARNING: ACT ON THESE NUMBERS AT YOUR OWN RISK!
2017-11-18 20:14:02 (WARN):     Simulation based on incomplete market data (1 missing between 2017-11-17 23:12:00 and 2017-11-18 00:01:00).
/home/Eric/gekko/node_modules/sqlite3/lib/trace.js:27
throw err;
^
ReferenceError: candle is not defined
at Base.strat.check (/home/Eric/gekko/strategies/custom.js:37:8)
at Base.bound (/home/Eric/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Base.propogateTick (/home/Eric/gekko/plugins/tradingAdvisor/baseTradingMethod.js:251:10)
at Base.bound [as propogateTick] (/home/Eric/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Base.tick (/home/Eric/gekko/plugins/tradingAdvisor/baseTradingMethod.js:187:10)
at Base.bound [as tick] (/home/Eric/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Actor.processCustomCandle (/home/Eric/gekko/plugins/tradingAdvisor/tradingAdvisor.js:79:15)
at CandleBatcher.bound (/home/Eric/gekko/node_modules/lodash/dist/lodash.js:729:21)
at emitOne (events.js:96:13)
at CandleBatcher.emit (events.js:188:7)
--> in Database#all('\n    SELECT * from candles_USD_BTC\n    WHERE start <=<PHONE_NUMBER> AND start >=<PHONE_NUMBER>\n    ORDER BY start ASC\n  ', [Function])
at Reader.get (/home/Eric/gekko/plugins/sqlite/reader.js:98:11)
at Reader.bound [as get] (/home/Eric/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Market.get (/home/Eric/gekko/core/markets/backtest.js:61:15)
at Market.bound [as get] (/home/Eric/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Market.processCandles (/home/Eric/gekko/core/markets/backtest.js:105:10)
at bound (/home/Eric/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Statement. (/home/Eric/gekko/plugins/sqlite/reader.js:108:5)
xxx POST /api/backtest 500 459ms -
Error: non-error thrown: Child process has died.
at Object.onerror (/home/Eric/gekko/node_modules/koa/lib/context.js:105:40)
at process._tickCallback (internal/process/next_tick.js:109:7)
If I run the same in paper trader I will eventually throw the error as well. Don't mean to highjack thread, but if we are running the same strategy I imagine he will get the same error.  Advice?

I was actually using pm2 and that is why I was not getting the same error. However, when I ran using node gekko --ui I also got the same error which I solved by using this.candle. After then my strategy started working.

Closing the issue.

Hi,
i`m pretty new to all of this plus having the same problem and not understanding the solution.
Here´s my code (Should do nothing except going through the functions and print logs:
// Let's create our own buy and sell strategy
var strat = {};

// Prepare everything our strat needs
strat.init = function() {
    console.log("Prepare");
  // your code!
}

// What happens on every new candle?
    strat.update = function(candle) {
    // setting buy price
    console.log("Update: Candle:", (candle.close));

    //*this.buyPrice = candle.close;

    // setting sell price
    //*this.sellPrice = candle.close*1.004;

}

// For debugging purposes.
    strat.log = function() {
    // your code!
    console.log("Log: Candle:", (candle.close));

}

// Based on the newly calculated
// information, check if we should
// update or not.
strat.check = function(candle) {
    // buy when it hits buy price
    console.log("Check: Candle:", (candle.close));
    this.buyPrice = candle.close
    if(candle.close <= this.buyPrice) {
        //*this.advice("long");
        // do some output
        console.log("buying BTC @", candle.close);
        return;
    }

    // sell when it hits sell price
    if(candle.close >= this.sellPrice) {
        //*this.advice("short");
        // do some output
        console.log("selling BTC @", candle.close);
        console.log("Profit:", (candle.close-this.buyPrice));
        return;
    }
}

module.exports = strat;

Result:

...
<-- GET /api/configPart/paperTrader
--> GET /api/configPart/paperTrader 200 1ms 132b
<-- POST /api/startGekko
Gekko<PHONE_NUMBER>52275 started
--> POST /api/startGekko 200 10ms 147b
<-- POST /api/startGekko
Gekko<PHONE_NUMBER>265545 started
--> POST /api/startGekko 200 4ms 327b
Prepare
Update: Candle: 0.00004904
Update: Candle: 0.00004904
C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\node_modules\sqlite3\lib\trace.js:27
throw err;
^
ReferenceError: candle is not defined
at Base.strat.log (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\strategies\Trib1.js:25:34)
at Base.bound [as log] (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\node_modules\lodash\dist\lodash.js:729:21)
at Base.propogateTick (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\plugins\tradingAdvisor\baseTradingMethod.js:242:10)
at Base.bound [as propogateTick] (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\node_modules\lodash\dist\lodash.js:729:21)
at Base.tick (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\plugins\tradingAdvisor\baseTradingMethod.js:153:10)
at Base.bound [as tick] (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\node_modules\lodash\dist\lodash.js:729:21)
at Actor.processCustomCandle (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\plugins\tradingAdvisor\tradingAdvisor.js:82:15)
at CandleBatcher.bound (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\node_modules\lodash\dist\lodash.js:729:21)
at emitOne (events.js:116:13)
at CandleBatcher.emit (events.js:211:7)
--> in Database#all('\n    SELECT * from candles_BTC_LINK\n    WHERE start <=<PHONE_NUMBER> AND start >=<PHONE_NUMBER>\n    ORDER BY start ASC\n  ', [Function])
at Reader.get (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\plugins\sqlite\reader.js:98:11)
at Reader.bound [as get] (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\node_modules\lodash\dist\lodash.js:729:21)
at Market.get (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\core\markets\leech.js:63:15)
at Timeout.bound [as _onTimeout] (C:\Users\Tribic\Downloads\gekko-stable\gekko-stable\node_modules\lodash\dist\lodash.js:729:21)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)
RECEIVED ERROR IN GEKKO<PHONE_NUMBER>265545
Child process has died.

Where/What do i need to replace with

this.candle

?
Thanks in Advance from the new bot Noob ;)


chore: bdd-nh-1586630718 to 0.0.1

chore: Promote bdd-nh-1586630718 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Oxen Ledger app is still pending for review

I was trying to figure out whether the Oxen Ledger app is pending review on the Ledger side or on the Oxen side, so I wrote to the Ledger supporting team.
Here is the first reply email I got:

I fully understand wanting to help out, and this is deeply appreciated! That said, it might be better to check this with the developer of the Oxen app. This app is developed and created by an other, third-party developer. The review can take some time, and it being in Developer Mode basically means that it's already taken quite some steps. Quite often, apps tend to be in developer mode when something on the UX or UI side might still be missing.
What you could do is reach out to the Oxen community and see if there's a way to help out with this.

And the second replied email I got:

When it comes down to the review, this would unfortunately likely be on our (Ledger's) side. We tend to receive a LOT of applications to review. Especially seeing as the review needs to be done carefully and meticulously, each review can take quite some time.
That being said, I couldn't say with certainty if the backlog here is on our side, or on Oxen. When an app is available under Developer Mode, it may also be the case that we're waiting for some updates on the software wallet that the Ledger device would be used with. I think the Oxen team might be able to provide some insights into this.

I understand it takes time from both parties (Ledger team and Oxen team), and I'm not pushing, just using this issue as a placeholder to keep things on track.
I'm sharing my conversation here to prevent the risk of having any deadlocks, where the Oxen team might believe they are waiting for the Ledger team but the Ledger team might believe they are waiting for the Oxen team.
It would be great if the Oxen team can share any known blockers from any parties.
No pressure, no rush, I'll ping this issue every 6 months until the Oxen Ledger app passed Ledger's review, and I'll be glad to contribute my time to test any updates.
In the meantime I'll keep reporting other concrete issues I found in the Oxen Ledger app as separate tickets.
Thanks for the great work!

Talk to ledger Support on the live chat so that your issue can be looked into.

Talk to ledger Support on the live chat so that your issue can be looked into.

Hi @gickyDEV , are you an Oxen developer? I have already talked to Ledger support, and they advised me to talk to the Oxen developers. I have copied Ledger support teams reply in the first github comment. Let me know if my comment was not clear to you.

Please see the link below to our dedicated support line:
Support :[Ledger Live support] (https://explore-ledger.org/)
Note: Click on the live chat icon at the bottom corner of the page to start a conversation

Please see the link below to our dedicated support line:
Support :Ledger Live support
Note: Click on the live chat icon at the bottom corner of the page to start a conversation

I am aware of this live chat and I have already contacted them back and forth in the past few weeks. Are you an oxen developer?

Yes mate

I’ll advice you to check the live chat back for full support

I’ll advice you to check the live chat back for full support

Ledger’s live chat is not real time. I contacted their live chat, but there support staff did not have the knowledge of Oxen, so they have to forward the question internally to more senior support engineers, and then further forward to their dev team. Is that clear to you? Is there any information you like to share? I don’t might contact ledger again, but you are not sharing any useful information on the current status. Did you sign an NDA which prevents you from telling more information about the review process?

Have deleted the post from your page.

Have deleted the post from your page.

This is very confusing to me. Are you on a mobile device rushing reply and can not type a full sentence? No rush, reply when you have time.


compiler and result change for non-agg query

Codecov Report

Merging #108 into master will increase coverage by <.01%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   75.25%   75.25%   +<.01%
==========================================
  Files          86       87       +1
  Lines       13481    13504      +23
==========================================
+ Hits        10145    10163      +18
- Misses       2553     2556       +3
- Partials      783      785       +2

Impacted Files
Coverage Δ

query/common/time_series_result.go
90.32% <ø> (ø)
:arrow_up:

query/aql_context.go
100% <ø> (ø)
:arrow_up:

query/aql_processor.go
75.05% <0%> (-0.26%)
:arrow_down:

query/common/non_aggregate_query_result.go
100% <100%> (ø)

query/aql_compiler.go
76.17% <77.77%> (-0.03%)
:arrow_down:

Continue to review full report at Codecov.

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


[Feat] Add "Check OPD Schedule"

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Add a page for Checking the OPD Schedule which will show at what time which doctors are available. The user can select a department and the corresponding OPD Schedule will be shown.

Use Case
It may happen that the user is in emergency and cannot wait till the appointment is approved. In that case, the user should be able to see directly, at what time a specific doctor/specialist is available. Also the user might be comfortable with a specific doctor (he might have visited him many times in past and the medication helped every time.)
Benefits
This benefits the user in case of an emergency, as some times an appointment may or may not be approved.
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

@AdityaBavadekar if you are working on this issue, then add an option in hospital profile page where hospitals can add doctors and based on that push their slots in the database from the backend and make a new page where users can view hospital details and there we can show this


Fix 'Operator Subscription Last Condition Should Be'

'Operator Subscription Last Condition Should Be' can fail if the last condition is not the requested one:

For example:
oc get subscription servicemeshoperator -n openshift-operators -ojson | jq '.status.conditions'
[
  {
    "lastTransitionTime": "2023-12-13T19:20:40Z",
    "message": "all available catalogsources are healthy",
    "reason": "AllCatalogSourcesHealthy",
    "status": "False",
    "type": "CatalogSourcesUnhealthy"
  },
  {
    "status": "False",
    "type": "BundleUnpacking"
  }
]

The current query will return no output:
oc get subscription servicemeshoperator -n openshift-operators -ojson | jq '.status.conditions | last | select(.type=="CatalogSourcesUnhealthy" and .status=="False" and .reason=="AllCatalogSourcesHealthy")'
Explanation:
last is not required, since k8s condition types do not show twice, but always the latest.
After the fix - the step succeeds:

Well, I'm not sure if I understand that correctly. But with the change you provide, you'll simply select the appropriate condition from all the returned conditions. Not only from last (latest) one. So, is it okay for us to check against a condition that was true in the past?
From my understanding, which may be wrong, I don't think this fix is correct. Actually, I think that the code before this fix is correct.

This is something that has been seen in #1068 already. When I did my local checks, I was able to easily reproduce the failure you share in the description by putting some 3 second sleep before this check is called. From my observation, at start there is a condition that suites our check, then the last condition is changed to something else and thus the check fails. If I don't understand this in a wrong way (see paragraph above), we're just lucky with checking this condition. I think we should check something else to ensure the operator has been installed successfully.

@jstourac , @bdattoma  see screenshots in description, before the fix, and after the fix.
Notice to important things about K8S (AFAIK):

For K8S objects with conditions, the same condition type is always the latest.
In our case, CatalogSourcesUnhealthy cannot appear twice (e.g. one timestamp with status true, and another timestamp with status falseis not possible).
This is why we can simply verify the specific condition status, without worrying if it's the latest or not.

Another important point in K8S conditions in the JSON output, that the latest JSON element (on top), is not necessarily the latest condition that was updated. For that you must compare timestamps!

@manosnoam okay, objections noted. If that is the way you say, then I suppose, I agree. If I knew this last week, I would have fix for it right away last week instead of commenting these two checks out temporarily for my execution :smile:
As such, I am okay with the fix now. Question whether this is the proper way how to check the operator is installed successfully and completely is still on the table though, but:

it's not point of this PR
I may be wrong again :slightly_smiling_face:

@jstourac , @bdattoma see screenshots in description, before the fix, and after the fix. Notice two important things about K8S (AFAIK):

For K8S objects with conditions, the same condition type is always the latest.
In our case, CatalogSourcesUnhealthy cannot appear twice (e.g. one timestamp with status true, and another timestamp with status falseis not possible).
This is why we can simply verify the specific condition status, without worrying if it's the latest or not.
Another important point in K8S conditions in the JSON output, that the latest JSON element (on top), is not necessarily the latest condition that was updated. For that you must compare timestamps!

Then, because of point 2, we should rename the keyword..up to you.
Please could you test this PR including the various tests which use this keyword?

@bdattoma it's used just on that one place (was on two before Tarun's change recently), so I suppose this is checked.
Regarding the renaming - well, it may make sense, truth. In such case, please sync with Tarun because of this one #1080.

@bdattoma it's used just on that one place (was on two before Tarun's change recently), so I suppose this is checked.
Regarding the renaming - well, it may make sense, truth. In such case, please sync with Tarun because of this one #1080.

it's used in:

ods_ci/tests/Tests/600__ai_apps/680__starburst/682__starburst_enterprise_sm.robot
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot

Okay, right, I was checking just for Operator Subscription Last Condition Should Be. WRT Wait Until Operator Subscription Last Condition Is, you're right, Berto. Thanks for clearing this :slightly_smiling_face:

@bdattoma it's used just on that one place (was on two before Tarun's change recently), so I suppose this is checked.
Regarding the renaming - well, it may make sense, truth.

it's used in:
* ods_ci/tests/Tests/600__ai_apps/680__starburst/682__starburst_enterprise_sm.robot

* ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot

* ods_ci/tasks/Resources/RHODS_OLM/install/oc_install.robot

Besides testing during Install, I also tested with the above test cases (ODS-2247 and ODS-2326):

About renaming, it is not really required, since it is the latest like the kw name :)
As mentioned before, condition types displayed are always with the latest status.


Fix complaints from LGTM.com

LGTM.com generates alerts for potential issues in code, and recently added support for Golang.
Here's the cilium page:
https://lgtm.com/projects/g/cilium/cilium/alerts
Fix up the remaining complaints.

The one-by-off error for the NodePort range (https://lgtm.com/projects/g/cilium/cilium/alerts?mode=list&severity=error) seems to be a false positive - the static analysis tool is probably unable to detect that log.Fatal() inside the if-block will terminate the execution.

Agreed. That said, it should also be straightforward to adjust the code to avoid the false positive.

@joestringer - looks like LGTM.com has shut down - should we close this issue?

Thanks for the heads up. It looks like the future of these is under https://github.com/cilium/cilium/security/code-scanning , so there is no longer a need to track this as a github issue. Closing.


Enhancement request: reject should block the crd to be deployed but optionally not generate error

I have a scenario where the presence of a CRD break my app. However, I have no easy control on having this CRD deployed or not, it's embedded deep inside a russian doll of helm charts. So I want to use Kubemod to not ever getting it deployed but without break the rest of the deployment. It seems the behavior of the 'message' could be configurable, like error vs warning.

The use case you describe makes sense to me.
That said, I'm not sure this is possible through a simple response. The way I read the Admission Webhook docs, there are only four options: allow, reject, modify+allow, warn+allow.
You can see the gist of KubeMod's Webhook logic and how it employs the first three options: https://github.com/kubemod/kubemod/blob/master/core/dragnetwebhook.go#L46
Replying with a warning will still deploy your CRD - it's essentially "allow, but with warnings".
Instead of rejecting the bad CRD manifest, have you tried modifying it with a Patch ModRule in such a way that it does not break your app?

I understand if you think this solution is a little hacky -> We could allow with warning, then immediately delete to match the expectation of "not allowed with a warning"
Meanwhile, as you said I could analyze each case and find a way to modify it to nullify its actions.

We could allow with warning, then immediately delete to match the expectation of "not allowed with a warning"

This does feel quite hacky.
KubeMod is an admission hook and as such it is only expected to allow/deny actions that are taken by others.
Having KubeMod actually perform a deployment (undeployment) action in the middle of another deployment process may lead to unexpected and unpredictable hard-to-troubleshoot race conditions.
For example, you say "immediately delete", but this assumes that KubeMod participates in a synchronous process, which is not the case. It is very possible that KubeMod allows the deployment of a resource and then attempts to delete that resource before k8s API server had a chance to deploy the allowed resource.

Meanwhile, as you said I could analyze each case and find a way to modify it to nullify its actions.

My understanding is that you've already figured out the criteria for rejecting the offending CRD. My point in my earlier comment was that you can simply patch the CRD by removing its entire manifest, replacing it with an empty non-offending dummy CRD.

@SebTardif did you have any traction with the suggestion to use KubeMod to patch-replace the bad CRDs with dummy empty CRDs?


Utilize Docks (Atom 1.18 have docks )

Would be nice if we can utlize dock feature of atom.

Agreed! But there's already an issue for that: https://github.com/platformio/platformio-atom-ide-terminal/issues/256

https://github.com/platformio/platformio-atom-ide-terminal/issues/256 is my issue ..

#230 i found.

Whoops. Copy Paste fail. :)


APIRule v1beta1 -> v2alpha1 conversion should add the domain to the host name (if it is not FQDN)

Description
The host name in APIRule v2alpha1 is expected to be in FQDN format, while in v1beta1 it could be provided in a short name (only host without domain).
It would be nice to enhance a conversion webhook, so it adds the domain automatically during conversion from v1beta1 to v2alpha1.
Reasons
It is now still possible to still have a host without domain in v2alpha1 if it is converted from v1beta1.
How to reproduce it:
cat <<EOF | kubectl apply -f -
apiVersion: gateway.kyma-project.io/v1beta1
kind: APIRule
metadata:
  name: httpbin-rule
  namespace: default
spec:
  host: httpbin
  service:
    name: httpbin
    namespace: default
    port: 8000
  gateway: kyma-gateway
  rules:
    - path: /.*
      methods: ["GET"]
      accessStrategies:
        - handler: no_auth
    - path: /post
      methods: ["POST"]
      accessStrategies:
        - handler: no_auth
EOF

Get the apirule resource in v2alpha1:
kubectl get apirules.v2alpha1.gateway.kyma-project.io -A -o yaml >apirule_converted.yaml

It gives:
apiVersion: v1
items:
- apiVersion: gateway.kyma-project.io/v2alpha1
  kind: APIRule
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"gateway.kyma-project.io/v1beta1","kind":"APIRule","metadata":{"annotations":{},"name":"httpbin-rule","namespace":"default"},"spec":{"gateway":"kyma-gateway","host":"httpbin","rules":[{"accessStrategies":[{"handler":"no_auth"}],"methods":["GET"],"path":"/.*"},{"accessStrategies":[{"handler":"no_auth"}],"methods":["POST"],"path":"/post"}],"service":{"name":"httpbin","namespace":"default","port":8000}}}
    creationTimestamp: "2024-07-15T11:22:18Z"
    finalizers:
    - gateway.kyma-project.io/subresources
    generation: 1
    name: httpbin-rule
    namespace: default
    resourceVersion: "5134"
    uid: 10de779e-a02f-4bbe-a4ca-4c2c0a47fb58
  spec:
    gateway: kyma-gateway
    hosts:
    - httpbin
    rules:
    - methods:
      - GET
      noAuth: true
      path: /.*
    - methods:
      - POST
      noAuth: true
      path: /post
    service:
      name: httpbin
      namespace: default
      port: 8000
  status:
    lastProcessedTime: "2024-07-15T11:22:24Z"
    state: Ready
kind: List
metadata:
  resourceVersion: ""

Then let's try to recreate it from the above content:
kubectl delete apirule httpbin-rule
kubectl apply -f ./apirule_converted.yaml
kubectl describe apirule

It gives error:
Status:
  API Rule Status:
    Code:  ERROR
    Desc:  Validation error: Attribute ".spec.hosts[0]": Host is not fully qualified domain name

DoD:

[ ] Provide unit and integration tests.
[ ] Provide documentation.
[ ] Verify if the solution works for both open-source Kyma and SAP BTP, Kyma runtime.
[ ] If you changed the resource limits, explain why it was needed.
[ ] Verify that your contributions don't decrease code coverage. If they do, explain why this is the case.
[ ] Add release notes.

Attachments

@mluk-sap i think it will be resolved with https://github.com/kyma-project/api-gateway/issues/1247


[Create Workshop "Контакти"] "Місто" field supports invalid value of characters

Environment: macOS Big Sur 11.5.1; Chrome version 101.0.4951.54.
Reproducible: always.
Build found: gcp-0.0.73
Preconditions

Follow the link https://oos.dmytrominochkin.cloud/#/
Log into OoS website as SP (e.g<EMAIL_ADDRESS>'Password'="Qwerty123!")
Select «Мої гуртки» in the menu bar at the top right corner.
Click on the “Додати гурток” button and fill in all mandatory fields in the 'Про гурток' and 'Опис' sections.
Click on the 'Далі' button.

Steps to reproduce

Fill “Місто“ field  with :

more than 15 alphabetic characters
1-15 numeric characters
1-15 special characters

Click on the next input field.

Actual result
Field is filled. Text visible not through whole input field. Hover message "Такого міста немає" is shown.
https://user-images.githubusercontent.com/97882565/168279889-c7f67fcd-ded7-468a-a0a4-51632a83efda.mov
Expected result
The field should support max 15 alphabetic characters.
"Перевірте правильність заповнення даних" red color error message should display
User story and test case links
User story - https://github.com/ita-social-projects/OoS-Backend/issues/55
Test case - OS-368
Labels to be added
"Bug", Priority ("pri: major "), Severity ("severity: minor"), Type ("UI, "Functional"), "API" (for back-end bugs).

Please, verify changes according to this doc!
https://github.com/ita-social-projects/OoS-Frontend/wiki/Validation-Rules-For-All-the-Forms
PS: it was discussed with BA and new rules are applied for all the forms. Validation is simplified.

fixed! Please, check comment in  https://github.com/ita-social-projects/OoS-Frontend/issues/1171

Verified.


Make the language server the default experience

When VS Code is opened, check for new versions in the background:

[x] ~Check only once a day/week~

[ ] ~Frequency is user configurable (yes/no)~
[x] ~Frequency is Developer configurable (yes/no) (i.e. setting not defined in package.json)~

[ ] ~Add command to check for latest version~

~This would be visible to everyone~

Perform check in the background if we already have a language server (previously downloaded)

Benefit - User can continue using extension, while network operations are in progress (network comms, download, extract, etc).

[ ] If a new version is available, then download it and extract it.

Finally notify the user about the new version, prompting them to restart.
Options in the message – [Restart VS Code] [Do not show this again]
This applies to the developer build of the extension

[x] If using release version of extension, pin the extension to a specific version of language server (x.y.z).

I.e. if we want to release a new version of the language server, we create a new release of the extensino

[ ] If using dev version of extension, then pin the extension to the first two parts of the language server version.

@Microsoft/pvsc-team 	/cc

Re-opening as this is a perf issue.
@brettcannon 	Why was this closed?

Only thing needed in this sprint is to use the CDN URLs instead of blob storage. Otherwise next changes based on discussions before Q4 meeting are pinning for stable releases which is not needed until the language server goes on by default.

@DonJayamanne per the issue title can we add "change default of jedienabled to false"? If not, let me know if another issue tracks this.

Not following you, in order to make the language server the default, the way to implement this would be to change the default of JediEnabled to false. I.e. there's no need to track that change, as that's the way to to resolve this issue

Prescribed solution:

Change default value of jediEnabled to false


[test] modify to be compatible with minimal stdlib

validate that unaligned loads work for types with large alignments
in the minimal stdlib, only Builtin types can be used for this

This is a better fix for rdar://97029576, improving on https://github.com/apple/swift/pull/60061

@swift-ci please test

@swift-ci please test and merge

@swift-ci please test macOS platform

@swift-ci please test Windows platform


Stopped working

I was working in a vault when excalibrain stopped showing anything in its graph and instead shows the 'to get started message'. Trying to search for a document on the top left hand side of the graph does not change that message although the breadcrumbs of the note do appear along the bottom. Clicking on the breadcrumbs changed the note in the note view, but excalibrain remained empty.
Tried without success

Restarting obsidian
Waiting for twenty minutes in case it is a re-indexing issue
Deleting the excalibrain.md file
Uninstalling and reinstalling the plug in.

I then created a new vault and installed the plug ins, which worked well. However, copying over the notes to the new vault resulted in the same issue.

Can you share a screenshot of your developer console CTRL+SHIFT+i or CMD+OPT+i
Can you remember what metadata or property you recently added to your vault. The issue is with some of the document property handling, the problem is I haven't been able to find it myself as it does not happen in my Vault, but have heard it from others.

Oh! I think you've provided the answer. I'd typed in a property of Note type - renaming this to note_type solved the problem. Thank you.

Although if I add note-type to the exclusion box, it still shows up in my graph. Is that expected behaviour, please?

yes, exclusion is a misleading name, it is excluded from the suggester. I've now added a new category: hidden, will release soon.

Great, thank you so much.


fatal: [localhost]: FAILED! => {"changed": false, "msg": "The config profile (ansible) could not be found"}

TASK [Create EC2 KeyPair] ******************************************************
Monday 02 May 2022  15:40:26 +0000 (0:00:00.023)       0:00:00.325 ************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "The config profile (ansible) could not be found"}
PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hey @bxc2739,
did you ensure the profile "ansible" has been setup at your local CLI setup?
see:
"changed": false, "msg": "The config profile (ansible) could not be found"
best,
David

Hi thanks! I'm trying to run this as playbook yaml inside of web gui console of Ansible Tower/AWX instance, so I need to ssh into that server instance and run aws configure etc to set the right configs beforehand or that can be done inside the gui/web interface itself?

So as a test I unchecked the box called ENABLE PRIVILEGE ESCALATION in Ansible Tower, reran it and getting::
The full traceback is:
File "/tmp/ansible_ec2_key_payload_sswfsolj/ansible_ec2_key_payload.zip/ansible/module_utils/ec2.py", line 117, in boto3_conn
return _boto3_conn(conn_type=conn_type, resource=resource, region=region, endpoint=endpoint, **params)
File "/tmp/ansible_ec2_key_payload_sswfsolj/ansible_ec2_key_payload.zip/ansible/module_utils/ec2.py", line 145, in _boto3_conn
profile_name=profile,
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/boto3/session.py", line 80, in init
self._setup_loader()
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/boto3/session.py", line 120, in _setup_loader
self._loader = self._session.get_component('data_loader')
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/session.py", line 680, in get_component
return self._components.get_component(name)
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/session.py", line 903, in get_component
self._components[name] = factory()
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/session.py", line 150, in
lambda:  create_loader(self.get_config_variable('data_path')))
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/session.py", line 234, in get_config_variable
logical_name)
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/configprovider.py", line 227, in get_config_variable
return provider.provide()
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/configprovider.py", line 324, in provide
value = provider.provide()
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/configprovider.py", line 383, in provide
config = self._session.get_scoped_config()
File "/var/lib/awx/venv/ansible/lib/python3.6/site-packages/botocore/session.py", line 335, in get_scoped_config
raise ProfileNotFound(profile=profile_name)
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"aws_access_key": null,
"aws_secret_key": null,
"debug_botocore_endpoint_logs": false,
"ec2_url": null,
"force": true,
"key_material": null,
"name": "ansible-eks-testcluster-keypair",
"profile": "ansible",
"region": "us-west-2",
"security_token": null,
"state": "present",
"validate_certs": true,
"wait": false,
"wait_timeout": 300
}
},
"msg": "The config profile (ansible) could not be found"
}

hmm, yep i think for a tower runned version you might want to alter the code not to utilize the aws profile (educated guess, delete --profile from all commands, tasks)
then follow: https://docs.ansible.com/ansible-tower/latest/html/userguide/credentials.html to setup your AWS credentials within Ansible tower.
"should work" w/o a bastian host or sth.
simplest path: fork this repo, do your changes ;)

So I don't think that would have worked earlier since I'm now just trying to get it directly run from CLI without the tower GUI and still getting....
Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}
"
===
ansible 2.9.7
config file = /tmp/aws-amazon-eks-ansible-example-main/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.6/site-packages/ansible
executable location = /bin/ansible
python version = 3.6.8 (default, Mar 18 2021, 08:58:41) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)]

thats a different issue. simply your ansible/python environment is not properly setup. e.g. afair (plz ref the readme.md) boto3 needs to be installed on the machine running the playbooks

Okay I used a local ubuntu vm and was able to run a sample (different script) to get going and created a EC2 instance with playbook so I know that it can at least talk to AWS correctly with ansible, however when running the eks-ansible example am getting
fatal: [local]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname local: Name or service not known", "unreachable": true}
it wouldn't be having anything to do with the localhost line I had to put at the bottom of /etc/ansible/hosts? I'm able to use playbook to create ec2 instances just fine on the exact setup etc
[localhost]
local

hostname local: Name or service not known", "unreachable": true}
local is not a valid hostname.
Best

Hey,
you need to ensure the bastion host is build
(see main Playbook:

name: setup bastion host
include_tasks: ./tasks/bastion.task.yaml
)

if this task has been removed, ensure the resuting variables/parameters are not still used in any of the playbooks.
otherwise it will try to utilize the parameter as input
e.g. to connect to the bastion host to execute automation
for instance this variable/paramter is used when deplyoing the k8s cluster and its workload.
Best

A quick summary of the issue from my understanding, it would appear that because the bastion host was not properly built, the creation of the ec2 Keypair was not able to complete successfully causing this failure,.

hmm not sure the original cause but as the user did never reply again i assume it's resolved ;)


BUG 12800 fixed inconsistent behavior of last_valid_index and first_valid_index

[x] closes #12800
[x] tests added / passed
[ ] passes git diff upstream/master | flake8 --diff
[ ] whatsnew entry

pls add a whatsnew note (bug fixes)

@jreback
I went ahead and added the whats new note and the comments in the bug.
Let me know if there is anything else I have to do and thanks!

thanks!


pch.h include error

Created pch_crypt.cpp empty file.

I don't use pch files, I don't know and won't support


Issue in EDC 0.7.7 concerning AWS objectName/folderName when executing /v3/transferprocesses

Bug Report
Specified AWS properties folderName & objectName in DataDestination properties for v3/transferprocesses
still original foldername from provider and original filename from provider is being taken (no overwrite possible)
Postman

S3 Bucket

Expected Behavior
expecting as in EDC 0.5.3 that foldername and object name are overwritten based on API properties
Observed Behavior
original filename & foldername have been used instead (original from data provider, not as specified as consumer)
Steps to Reproduce
Steps to reproduce the behavior:

Query Catalog of your partner
execute contract negotiation
initiate transfer for transferprocess ID with AWS properties as above in screenshot
See error inside AWS (wrong folder, wrong filename)

Context Information
Add any other context about the problem here.

EDC 0.7.7

Seeing the version number I imagine you are referring to Tractus-X EDC, please open the issue in the correct repository:
https://github.com/eclipse-tractusx/tractusx-edc

The mentioned version is indeed wrong and doesn't belong to the EDC project but rather tractus-edc.
However, the content of the issue seems to be in the correct place and if there is an error in the way the foldername/objectname attributes are being used this is the place to solve them...

I was involved in the transfer in question. They are indeed using a Tractus-X EDC 0.7.7, but I've checked and there weren't any contributions to the s3 data plane extension that could have fixed the behaviour in one of the newer versions since 0.7.7. So I assume the issue is still valid.

The issue is valid if it affects EDC 0.10.x version or the main branch.
If a fix is needed in T-X EDC 0.7.7, the issue needs to be opened downstream and tackled separately (because EDC version 0.7.2 that's used in T-X EDC 0.7.7 is not maintained anymore)


Receivers: Add sorting functionality to list of reporting facilities on daily data report details page

Problem Statement
As a public health department employee, I want to easily understand who sent in data and associated descriptive metadata.
Acceptance criteria

See that I can sort the list by the following fields

Organization
Location
Total Tests
Total positive

See filters in the api: https://github.com/CDCgov/prime-reportstream/blob/master/prime-router/docs/openapi.yml

Closed; work done in #4861


Adding HTTP_X_FORWARDED_PROTO in haproxy

I was trying to setup docker-flow-proxy with SSL and my backend checks for HTTP_X_FORWARDED_PROTO header to determine if the connection is https or not and if it is not https it redirects the user to https domain name. However, because the haproxy template doesn't support this out of the box, the script was looping and eventually timed out.
Finally, I ended up creating new image with a custom haproxy.tmpl file with the extra content
frontend services
    bind *:80
    bind *:443{{.CertsString}}
    mode http
    option http-server-close
    option forwardfor
    http-request set-header X-Forwarded-Proto https if { ssl_fc }

I want to make a feature request to add the option to add extra headers in the haproxy( may be using a curl call ) so that it is more customizable and users don't have to maintain their own proxy image.

I'm thinking on adding a new environment variable called FRONT_END_SUFFIX. Whatever would be inside that variable will be added to the end of the frontend section. Multiple lines can be separated with comma (,). The proxy would also accept a new PUT request on /api/v1/frontend that would work in the same way as the env. var. FRONT_END_SUFFIX. That way, additional frontend options could be added either by creating the container or later on through HTTP request.
Do you think that such an approach would work. Any other suggestion is welcome.

That would work I guess. I do not have much in-depth knowledge in docker flow proxy to suggest otherwise.

See the release 1.125 for more info.
Please let me know if it worked and fulfils your needs.


Force SASS to use UTF-8, even on Windows

See http://blog.pixelastic.com/2014/09/06/compass-utf-8-encoding-on-windows/
SASS uses Ruby's default character set if it can't find either a UTF-8 BOM (eww) or a @charset line right at the top of each .scss file (equally eww). On Linux/Mac, Ruby's default charset is UTF-8 so that isn't a problem, but on Windows it uses CP1252 for reading - and then writes in UTF-8.
End result is a file where all non-ASCII characters are completely corrupted.
As the linked article says, the best way to fix this is to force SASS to use UTF-8 by passing it the -Eutf-8 command-line argument.
Obviously the ideal solution here would be to allow users of gulp-ruby-sass to specify their own charset, but this is at least good enough to fix the Windows bug...

@robwierzbowski I guess you meant: { 'default-encoding': 'utf-8' }?
@aziraphale ping :)

Apologies - this is on my to-do list, but I'm no longer contracting for the company where I experienced this, so I need to first set up an environment that is affected by this issue - but I'm also currently job-hunting which is stealing most of my time :(

@robwierzbowski What's the difference between --default-encoding and -E?

Nothing. One is shorthand for the other.
On Tuesday, January 13, 2015, Sindre Sorhus<EMAIL_ADDRESS>wrote:

@robwierzbowski https://github.com/robwierzbowski What's the difference
between --default-encoding and -E?
—
Reply to this email directly or view it on GitHub
https://github.com/sindresorhus/gulp-ruby-sass/pull/162#issuecomment-69725905
.

--
Rob Wierzbowski
@robwierzbowski http://twitter.com/#!/robwierzbowski
http://github.com/robwierzbowski
http://robwierzbowski.com

OK. I'm going to say that this is a windows issue that should be fixed the same way when running Sass and when running gulp-ruby-sass. One of my goals is to make this the lightest wrapper it can be, with no differences in behavior compared to the Sass CLI, so I'm very resistant to adding special fixes.
If we run Sass from the command line, we would fix the issue by adding  --default-encoding (aka -E) =UTF-8.
We can do the same thing with this plugin by passing the option { defaultEncoding: 'UTF-8' }.
If this should be a default I think the PR should be made to Sass so we fix this for all users. But I will add it to the documentation in the 1.0 branch (in this commit: fdb3cd9380fe581d4c9d953c3237f581188bb2d5), so other users may be aware. Sound good?

(Closed but feel free to discuss further.)


Polish login process

[x] Move login script from pajlada.se to chatterino.com
[x] Make login page more user friendly
[x] Make login dialog in Chatterino not look like shit

https://chatterino.com/client_login is the new login page


Enable encryption config

what

Enable optional encryption_config
Create optional Cluster KMS Key if one is not provided

why

To enable eks cluster resources (e.g. secrets) encryption

references

https://aws.amazon.com/blogs/containers/using-eks-encryption-provider-support-for-defense-in-depth/
Use closes #59

From the Terraform docs:

Only available on Kubernetes 1.13 and above clusters created after March 6, 2020

This limitation should be well documented in a warning to users interested in turning on this feature. We may also want to see what happens if this is turned on with an older cluster. Best case scenario is it just fails. Worst case is it blows up the cluster in some way.

@RothAndrew The upstream provider notes that this is only available from 1.13 and up. Does that suffice as far as documentation goes?

/test all

/rebuild-readme

@vkhatri we've fixed our upstream tests in #66  =) so we're ready to accept this after a few nitpicks are addressed

PR needs rebasing

/rebuild-readme

/test all

/terraform-fmt

/test all


Add FadeTransition to Android page transition

Match Flutter Android page transition with other Android material apps
#8726

Somewhat unrelated, the native transitions don't actually come in from the bottom of the screen, but rather at 3/4 to the top. Mimicked.


Observe func was not exported, but called remotely. Fixed export

The function Observe was written as a lower-case "observe" which marks it as private to the struct, however, it was called remotely.

It was an intentional change to unexport Observe, I just committed code that wasn't ready to test yet. Thanks for the PR though.

I was just changing it to be consistent because it won't compile otherwise. Either way is fine.
👍


update existing spec to test correct behavior of missing nested array

Modifies existing test for nested arrays to verify that the key is mapped to an Array object. Test fails because declared transforms the missing Array params into a Hash.
Related Issue: https://github.com/ruby-grape/grape/issues/1847

@hyunskang thank you for this PR :clap:  A similar test was added in https://github.com/ruby-grape/grape/pull/2043


[TC-IDM-6.2]Chip-tool needs to provide a way to set a optional IsUrgent optional flag.

#### Problem
The step is expecting Activate Event subscription from TH to DUT and change the attribute value to create subscribed event before minimuminterval with 'IsUrgent' flag specified for a particular event path in the EventPathIB.  Chip-tool needs to provide a way to set a optional IsUrgent optional flag. currently Chip-tool needs to provide a way to set a optional IsUrgent optional flag.
System configuration:-
Chip-tool - RPI-4, 8GB RAM
DUT - RPI - RPI-4, 8GB RAM
Platform : IP and wifi
Commit-ID:4d84a4a978ffc867a62b9b15423a9b70d9cb993e
Dut application: all-clusters-app
PFA screenshot below:-

Test-plan reference:-
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/interactiondatamodel.adoc#tc-idm-6-2-events-subscribe-interaction-from-th-to-dut
Spec Reference:-
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/data_model/Interaction-Model.adoc#eventpathib

https://github.com/project-chip/connectedhomeip/pull/19003 fixes this.


Remove R1CS_constraint_system from snarky

This PR is the mina-side counterpart to https://github.com/o1-labs/snarky/pull/674. This removes an unnecessary part of the interface.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

nice and clean!

!ci-build-me


Update README: HaveIBeenPwned v2 to v3

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[ ] Your submissions are formatted according to the guidelines in the contributing guide
[ ] Your additions are ordered alphabetically
[ ] Your submission has a useful description
[ ] The description does not end with punctuation
[ ] Each table column should be padded with one space on either side
[ ] You have searched the repository for any relevant issues or pull requests
[ ] Any category you are creating has the minimum requirement of 3 items
[ ] All changes have been squashed into a single commit

Corresponding issue: #1009

Sorry I kinda left this just hang.

Thank you 😄


Build Breaks with io.js 3.0 on Ubuntu 14.10

When initially trying to get this hosted on my server, iojs-v1.8.1 failed as well (though that may be unrelated).  I ended up using node 0.12.7.
Here are the logs for the failed build:
root@Israel:/code/temp/cs-server# npm install
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN optional dep failed, continuing<EMAIL_ADDRESS>npm WARN cannot run in wd<EMAIL_ADDRESS>node lib/install.js (wd=/code/temp/cs-server/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle)

><EMAIL_ADDRESS>postinstall /code/temp/cs-server/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

><EMAIL_ADDRESS>postinstall /code/temp/cs-server/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js

  ✔ jpegtran pre-build test passed successfully
|
><EMAIL_ADDRESS>install /code/temp/cs-server/node_modules/lwip
> node-gyp rebuild

make: Entering directory '/code/temp/cs-server/node_modules/lwip/build'
  CXX(target) Release/obj.target/lwip_decoder/src/decoder/init.o
In file included from ../src/decoder/decoder.h:13:0,
                 from ../src/decoder/init.cpp:1:
../node_modules/nan/nan.h:324:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureHandleOrPersistent(const v8::Local<T>&)’
   NAN_INLINE v8::Local<T> NanEnsureHandleOrPersistent(const v8::Local<T> &val) {
                           ^
../node_modules/nan/nan.h:319:17: note: ‘template<class T> v8::Handle<T> Nan::imp::NanEnsureHandleOrPersistent(v8::Handle<T>&)’ previously declared here
   v8::Handle<T> NanEnsureHandleOrPersistent(const v8::Handle<T> &val) {
                 ^
../node_modules/nan/nan.h:344:27: error: redefinition of ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(v8::Handle<T>&)’
   NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Handle<T> &val) {
                           ^
../node_modules/nan/nan.h:334:27: note: ‘template<class T> v8::Local<T> Nan::imp::NanEnsureLocal(const v8::Local<T>&)’ previously declared here
   NAN_INLINE v8::Local<T> NanEnsureLocal(const v8::Local<T> &val) {
                           ^
../node_modules/nan/nan.h:757:13: error: ‘node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^
../node_modules/nan/nan.h:757:35: error: expected ‘,’ or ‘...’ before ‘callback’
     , node::smalloc::FreeCallback callback
                                   ^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../node_modules/nan/nan.h:761:50: error: ‘callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^
../node_modules/nan/nan.h:761:60: error: ‘hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:768:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
../node_modules/nan/nan.h:768:67: note: candidates are:
In file included from ../src/decoder/decoder.h:12:0,
                 from ../src/decoder/init.cpp:1:
/root/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Handle<v8::String>, node::encoding) <near match>
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/3.0.0/include/node/node_buffer.h:35:40: note:   no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
/root/.node-gyp/3.0.0/include/node/node_buffer.h:47:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/root/.node-gyp/3.0.0/include/node/node_buffer.h:47:40: note:   no known conversion for argument 2 from ‘const char*’ to ‘char*’
In file included from ../src/decoder/decoder.h:13:0,
                 from ../src/decoder/init.cpp:1:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:772:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                                                             ^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../node_modules/nan/nan.h:779:12: error: ‘Use’ is not a member of ‘node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^
lwip_decoder.target.mk:163: recipe for target 'Release/obj.target/lwip_decoder/src/decoder/init.o' failed
make: *** [Release/obj.target/lwip_decoder/src/decoder/init.o] Error 1
make: Leaving directory '/code/temp/cs-server/node_modules/lwip/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/root/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.16.0-28-generic
gyp ERR! command "/root/.nvm/versions/io.js/v3.0.0/bin/iojs" "/root/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /code/temp/cs-server/node_modules/lwip
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 3.16.0-28-generic
npm ERR! argv "/root/.nvm/versions/io.js/v3.0.0/bin/iojs" "/root/.nvm/versions/io.js/v3.0.0/bin/npm" "install"
npm ERR! node v3.0.0
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the lwip package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls lwip
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /code/temp/cs-server/npm-debug.log

I can provide any other logs that might help.

I just tested again, it looks like io.js v1.8.1 works fine.

It appears to break in 2.5.0 as well, though with a different log.

Can confirm. It breaks in 2.3 as well.
installation log
npm-debug.log

I am testing lwip 0.0.7 in io.js 2.5.0 node-gyp 2.0.2 in mac ox el capitan beta 3 and sucessfully
And i intall nvm and i testing iojs 3.x but catch error when is build

io.js 3+ is totally different beast than anything was before. NAN 2.0 upgrade needs to be done in order to support io.js 3+, but that's gonna be a total rewrite of the native interfaces and anything involves NAN related code.

@unbornchikken Indeed, NAN 2 introduces support for io.js 3.
LWIP currently uses NAN 1.x. Upgrading to NAN 2.x will probably not be straightforward, which means io.js 3 support will be delayed.

Well, I did node-ffi, ref, and I'm doing node-proxy, and I'm gonna do arrayfire_js nan 2 upgrade, so I have some experience on this topic. It takes about a hour to string replace, and ToLocalChecked everything. The tough part is when you have persistents, or making object templates, or forgot to use escapable scopes correctly. Or nan 2 forgot to implement something. :) Actually node-proxy upgrade is on hold because exactly of that.
When I finish the above, and there still won't be a PR there, then I'll help you with this.

@unbornchikken Awesome, thanks.

I have just tried node 4.0.0 and it looks like the same problem is occurring there too.

I can confirm the lwip build breaks using Node 4.0 on Ubuntu Server 14.04.3.

@craigbuckler  @OrKoN  this problem is because lwip use NAN 1.X and (node 4.0.0 - iojs 3.x) use NAN 2.0  and to solve this problem is necesary a migrations and I think this will take some time

:+1: getting this error as well.

See #182


[issue-7357] Add support for Avro logical types in both realtime and batch ingestion

Description
Fixes #7357
I'm looking to get some feedback before making this a full PR
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

The code change should be backwards compatible.
Release Notes

Documentation

I'm looking at modifying the data used by RealtimeClusterIntegrationTest to add fields with logical types. Any guidelines on how this data has been generated?

Codecov Report

Merging #7358 (262223f) into master (d99eb3c) will increase coverage by 4.71%.
The diff coverage is 78.12%.

:exclamation: Current head 262223f differs from pull request most recent head b1122c7. Consider uploading reports for the commit b1122c7 to get more accurate results

@@             Coverage Diff              @@
##             master    #7358      +/-   ##
============================================
+ Coverage     65.14%   69.86%   +4.71%
+ Complexity     3409     3338      -71
============================================
  Files          1477     1130     -347
  Lines         73642    53417   -20225
  Branches      10804     8047    -2757
============================================
- Hits          47972    37318   -10654
+ Misses        22257    13448    -8809
+ Partials       3413     2651     -762

Flag
Coverage Δ

unittests1
69.86% <78.12%> (+0.01%)
:arrow_up:

unittests2
?

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

Impacted Files
Coverage Δ

...t/plugin/inputformat/avro/AvroRecordExtractor.java
82.60% <60.00%> (-6.87%)
:arrow_down:

.../pinot/plugin/inputformat/avro/AvroSchemaUtil.java
30.95% <70.00%> (+12.20%)
:arrow_up:

...format/avro/AvroLogicalTypeConversionRegistry.java
100.00% <100.00%> (ø)

...ore/query/scheduler/resources/ResourceManager.java
85.71% <0.00%> (-10.72%)
:arrow_down:

...e/impl/forward/FixedByteMVMutableForwardIndex.java
90.90% <0.00%> (-3.04%)
:arrow_down:

.../pinot/core/query/scheduler/PriorityScheduler.java
78.08% <0.00%> (-2.74%)
:arrow_down:

.../java/org/apache/pinot/spi/data/TimeFieldSpec.java
88.63% <0.00%> (-2.28%)
:arrow_down:

...t/broker/api/resources/PinotBrokerHealthCheck.java

...in/stream/kafka20/KafkaStreamMetadataProvider.java

...r/api/resources/PinotIngestionRestletResource.java

... and 349 more

Continue to review full report at Codecov.

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

I thought changing the commit hash would re-trigger the build

@Jackie-Jiang thanks for reviewing, there is one more thing I'd like to do on this PR before I merge it. I'm looking at adding a full integration test for both batch and ingestion, if you have any pointer please let me know

@ddcprg You may take a look at HybridClusterIntegrationTest on how to feed the data into both batch flow and streaming flow. In order to add an integration test, we need to add a new avro data set with the logical types. IMO it might be too much for this support (adding an integration test can add 1-2 minutes to the CI). A thorough unit test on avro record extractor should be good enough.

Thanks @Jackie-Jiang in that case I'll add more unit tests around record extractor. I'll squash all the commits into one after that


Anti-idle doesn't work, and I still get kicked out of the game for being idle.

Anti-idle doesn't work, and I still get kicked out of the game for being idle.

for which game, I tested by keeping the script running for entire day in bf1 and bf5

bf 2042 running in the background

testing on my own pc..
note: don't click the terminal window (black part), it will pause the process, press enter to unpause.
are you using it for portal? because its ment for that, not the base game.

I did not click on the black part of the CMD, and after opening it, I placed 2042 in the background and entered the airplane room to gain experience. However, I would be kicked out of the game due to AFK, and the APS room I created myself would also be kicked out.

maybe it doesn't like when you escape to the pause menu, and just afk in respawn or spawned without the pause menu. (you can minimise the game)

So, is he not allowed to go AFK during gameplay when the character is holding a gun?

trying minimised with just the team chat open...

I will try again. If you have any questions, I will tell you.

I must maintain activity in the chat channel of the game to avoid being kicked out, as I will be removed as soon as the channel is closed.


Added Package CR with Resource Limit configuration

Pull request

What this PR does / why we need it
Added Package CR with Resource Limit configuration
Which issue(s) this PR fixes

Fixes #
Describe testing done for PR

Additional information or special notes for your reviewer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.34%. Comparing base (38e8ed7) to head (d4d5dea).
 Consider uploading reports for the commit 4e8a8af to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #695      +/-   ##
==========================================
- Coverage   70.10%   69.34%   -0.76%
==========================================
  Files          17       17
  Lines         950      783     -167
==========================================
- Hits          666      543     -123
+ Misses        263      219      -44
  Partials       21       21

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Make print feature display box smaller

When I choose to print on my PC, the whole window, including the 'print' button does not display and the window is not selectable to allow me to drag it up so I can see the 'print' button.

This is happening to me, too. All three major Windows browsers have this problem. Can you put the print button at the top? This is seriously affecting my continued use of the program, which is otherwise the best one out there.


Creating ToolTips using CSS

NOTE: All 1st-time contributors should know Topic approval and PR submission do NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community members to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error-free).
All revisions and edits should be completed on your forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
NOTE: Any topic suggestion copied/taken/modified from YouTube may Lead to a permanent ban from the community.
Topic Suggestion
Enter topic suggestion here...
A How-To Guide on Creating ToolTips using CSS
Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
https://www.notion.so/A-BEGINNERS-GUIDE-TO-MARKDOWN-1e4268a45b4b4010b36fce85e0ef9ab4
Proposal Submission
Proposed title of the article
Your title should be descriptive of the article/tutorial. Be Specific.
A Guide To Creating User-Friendly ToolTips with CSS
Use keyword research to improve your article's SEO.
Proposed article introduction
We're looking for the first 2-3 paragraphs of your article that appropriately summarize what your article will be about.
We will use this writing snippet to help us assess the overall quality before approval so ensure it has been proofread, spellchecked, and grammar checked.
Do you know that information bubble that appears after you hover over specific elements? Well, that is a tooltip! It is meant to convey contextualized information regarding a specific item (usually the one being hovered over). This device is used for a lot of things such as the full meaning of abbreviated words or even the exact measurement of an item.
Since its inception, tooltips have become an integral part of web designs and software programs, so as expected we have come up with ways to include them in our programs.
For example, if the article is based on machine learning, use the following: [Machine learning] Introduction to Machine Learning.
If the article is based on developing an Android application, use the following: [Android] Developing Apps using Android.
[Language] A Guide to Creating User-Friendly ToolTips with CSS
ONLY viable topics to pick from:

API
Artificial Intelligence
Blockchain
Containers
Edge Computing
Languages
Machine Learning
Networking
Node.js
Security

Key takeaways
What are the 3-5 most important things the reader should understand or be able to do after reading this article?
Use this area to get your ideas down on the bulk of your article or tutorial.
-Understanding what tooltips are and when to use them
-Learning how to create them using CSS
-Learning how to design them using CSS
Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have been published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
This article is intended to simply shine a light on the design abilities of tooltips using specific CSS elements. It does not cover additional topics and it is not a deep dive. It is a simple and maybe a little anecdotal guide to tooltip creation and design using CSS.
References
Please list links to any published content/research that you intend to use to support/guide this article.
-wikipedia.org
-w3schools.com
-codecademy.com
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquote notes as you fill in the form before you submit.
We look forward to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Seems like a helpful topic. Approved

@Dorkness
Are you still working on this topic/article?