Emsg Event not triggering

Hi !
I'm presently having some trouble with EventStream that does not seem to be triggering any event. By adding an eventListener on the player for emsg event type with the manifest below, I was expecting two events to be triggered at seconds 2 and 5 after the beginning of the video. After numbers of different manifests I tried, nothing seems to do the trick to trigger any emsg event. I even tried to take exact examples from Dash documentation : https://standards.iso.org/ittf/PubliclyAvailableStandards/c065274_ISO_IEC_23009-1_2014.zip
This manifest is triggering emsg events on other Dash players. Maybe I don't get the exact syntax for Emsg Box and something is wrong with this manifest, but I can't figure out what it is.
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" maxSegmentDuration="PT1.003S" mediaPresentationDuration="PT23M34.109792S" minBufferTime="PT0S" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static">
   <Period id="1" start="PT0S">
      <BaseURL>https://my-base-url</BaseURL>
      <EventStream schemeIdUri="urn:mpeg:dash:event:callback:2015" timescale="1" value="1">
         <Event id="2" messageData="https://some-reporting-urn1" presentationTime="2"/>
         <Event id="3" messageData="https://some-reporting-urn2" presentationTime="5"/>
      </EventStream>
      <AdaptationSet bitstreamSwitching="true" contentType="video" group="1" id="1" maxFrameRate="30000/1001" maxHeight="1080" maxWidth="1920" mimeType="video/mp4" par="16:9" segmentAlignment="true" startWithSAP="1">
         <SegmentTemplate initialization="S!d0FEQVNIVP7...8Bnw__/QualityLevels($Bandwidth$)/Fragments(video=Init)" media="S!d0FEQVNIVP7...8Bnw__/QualityLevels($Bandwidth$)/Fragments(video=$Time$)" timescale="10000000">
            <SegmentTimeline>
               <S d="10010000" r="9"/>
               <S d="2000000" r="0"/>
            </SegmentTimeline>
         </SegmentTemplate>
         <Representation bandwidth="325950" codecs="avc1.4d4015" frameRate="30000/1001" height="270" id="dzE--QSf" sar="1:1" width="480"/>
         <Representation bandwidth="631425" codecs="avc1.4d401e" frameRate="30000/1001" height="360" id="dzGBogmf" sar="1:1" width="640"/>
         <Representation bandwidth="1236504" codecs="avc1.4d401e" frameRate="30000/1001" height="480" id="dzEY3hKf" sar="1:1" width="720"/>
         <Representation bandwidth="1939045" codecs="avc1.4d401f" frameRate="30000/1001" height="540" id="dzFllh2f" sar="1:1" width="960"/>
         <Representation bandwidth="3747150" codecs="avc1.64001f" frameRate="30000/1001" height="720" id="dzFOLTmf" sar="1:1" width="1280"/>
         <Representation bandwidth="4945982" codecs="avc1.64001f" frameRate="30000/1001" height="720" id="dzE-eEuf" sar="1:1" width="1280"/>
         <Representation bandwidth="5555565" codecs="avc1.640028" frameRate="30000/1001" height="1080" id="dzFtxVSf" sar="1:1" width="1920"/>
      </AdaptationSet>
      <AdaptationSet bitstreamSwitching="true" contentType="audio" group="2" id="2" lang="und" mimeType="audio/mp4" segmentAlignment="true">
         <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
         <SegmentTemplate initialization="S!d0FEQVNIVP7...8Bnw__/QualityLevels($Bandwidth$)/Fragments(audio_482_und=Init)" media="S!d0FEQVNIVP7...8Bnw__/QualityLevels($Bandwidth$)/Fragments(audio_482_und=$Time$)" presentationTimeOffset="14" timescale="32000">
            <SegmentTimeline>
               <S d="32767" r="0" t="14"/>
               <S d="31744" r="0"/>
               <S d="31745" r="0"/>
               <S d="32767" r="0"/>
               <S d="31745" r="0"/>
               <S d="31744" r="1"/>
               <S d="32767" r="0"/>
               <S d="31745" r="0"/>
               <S d="31744" r="0"/>
               <S d="7168" r="0"/>
            </SegmentTimeline>
         </SegmentTemplate>
         <Representation audioSamplingRate="32000" bandwidth="40000" codecs="mp4a.40.2" id="dyHiAZ8."/>
      </AdaptationSet>
   </Period>
</MPD>

Do you know what is wrong with this manifest or can you point me a manifest with EventStream and sub Event that should be triggering emsg events ?
Thank you :)

@phildupuis thank you for reaching out to us for help. Few on the team are Dash Manifest experts and stepping through the manifest parser is the best way for us to understand how your content is being treated. By chance do you have your manifest and content hosted somewhere we reach using the demo page?

We do not fire emsg events for EventStream elements.  Instead we fire timelineregionenter and timelineregionexit events for when we enter and leave a region respectively.  We fire an emsg event when we see an emsg box in the segments, but only if it is signaled in the manifest with an InbandEventStream element.

Thank you so much @TheModMaker, that was exactly it. I think what mixed me up is that I'm presently trying to catch these events on chromecast with CAF Receiver and the only event type that seems good for my case in this framework is the EMSG_EVENT. Maybe CAF should be implementing timelineregionenter and timelineregionexit or maybe I'm not listening to the right event there too.
I don't know if you have any idea on that, but I'll close this issue. Thx !


How to connect using a password instead of a private key?

I am trying to solve a university exercise where I have to use Terraform to execute remote commands and this provider seems pretty intuitive to use.
However to connect via ssh I only have a user and password and there is no way for me to setup keys for authentication.
I tried to put the password as a pre_command but that didn't work.
Is there a way one can use a password instead of a private key?

hi @jalemann, password support is not implemented yet. The underlying easyssh library does seem to support password based authentication. It should be fairly straightforward to add support for this. Will accept a PR for this, otherwise will look add implementing this post the holidays 👍🏻

Thanks for the fast reply, maybe I can manage to implement it and open a PR.
Anyway, enjoy the holidays!

I opened a PR #60
Maybe you can have a look at it after the holidays. This was my first time seeing Go code and I didn't test it as I didn't want to publish it and didn't know how else to test.
Still it seemed quite straight forward so I thought I'd give it a shot and you can double check whenever you have time.

@jalemann implemented in v2.4.0


Switch to yaml.v2 as the YAML parser

To fix: https://github.com/buildkite/agent/issues/510
We use github.com/ghodss/yaml as our YAML parser, which in turn uses https://github.com/go-yaml/yaml. For some reason (probably me, but I can't remember) we're using a modified version of ghodss/yaml that uses cloudfoundry-incubator/candiedyaml instead.
Switching to the proper ghodss/yaml version seems to fix the YAML parsing issue as reported in #510. I need to do some more digging why I did it like this in the first place...

Heh, turns out ghodss/yaml tried cloudfoundry-incubator/candiedyaml for a while, then switch back to the old version. I guess we added this package at the time they were trailing the new one :)

I remember having a go (hah!) at this while back and it turned out more difficult than I thought... but I don't remember why. We should definitely update it, though!

go-yaml for sure!

@lox @sj26 @keithpitt Thank you, I can confirm this fixed the problem!


Update rebuses.js

Associated Issue: #
Summary of Changes

change 1
change 2

Pull Request Test Coverage Report for Build 780

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Code License

Would you consider putting the code (not the data, of course) under a license of your choice? Especially generateScreenshot would be quite useful to be usable outside this project. I would love to transfer this into some kind of CI-runnable script that one could add to a repo that would just automatically create an up-to-date image.

+1 - something like MIT would be great ;)

+1 - something like MIT would be great ;)

Of course!
c0731ef175b14beca5e326f3bde3eba5b4ce5fb6

Of course!
c0731ef175b14beca5e326f3bde3eba5b4ce5fb6


Update spring-cloud-dataflow-configuration-metadata version to SCDF's 1.7.3.RELEASE

The dependency in use is 1.4.x vs. whatever is the latest.


README: add mention to coc-perl

Briefly mention coc-perl client extension in the coc.nvim section on README file, pointing users to its repo and a demo'ing a simple configuration file to enable PerlNavigator using coc-perl.

Looks good to me, thanks!

@bscan, actually we (me and @oalders) just created a new Perl github org for bundling projects, ideas and discussions around Perl development tools, I can send you and invite if you wish. Any help, vision, ideas is more than welcome.
I transferred coc-perl to this org, but there are no requirements whatsoever, I just thought it would be really nice to have it there. Please, let me know and I send you the invite (alongside the invite to the Slack channel on TPF server).
https://github.com/perl-ide


Night light support for Dual 200S

Is your feature request related to a problem? Please describe:
There are two different models of the Dual 200S. The Amazon version does not have a night light but the Target version does (the one I have). The VeSync app supports the night light function and I can control it just fine. The error I am getting in the latest version of your plugin is: This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined).
Describe the solution you'd like:
Looking for the developers to add support for the night light function for the Dual 200S as the VeSync app supports it.
Describe alternatives you've considered:
N/A
Additional context:
N/A

Hey @danfratamico, can you provide me with the exact model? You can probably find it on the device, or enable debug mode in your plugin config and it will output the device model.
I recently added night light support to the LUH-D301S-WUSR model. If that's the model you have and you are seeing that error, it could be a cache issue.

First of all, @pschroeder89, thank you very much for working on this and for being so active / responsive.
You're doing great work!
(My girlfriend wanted to use her LUH-D301S-WUSR and we've just skipped the Hubitat and gone straight through the Homebridge, thanks to your plugin!)
On that note, we are also having trouble with the night light, with the exact same error reported by @danfratamico.
I've enabled debug mode and - as I noted above - it's the LUH-D301S-WUSR model.
Could you help me understand what you mean by a caching issue? Yours was the first plugin we installed for this device, so there shouldn't (🤞) be any locally cached incorrect version.
(As a complication, however, we did install the other humidifer Homebridge plugin when we noticed that the light wasn't working - but that plugin doesn't work at all)

@pschroeder89 I enabled Homebridge debug mode and also deleted the accessory from the cache, but I did not see any lines in the log that listed my humidifier model. I also don't see a way to add debug mode just to your plugin. Am I missing something?

Thanks @danfratamico and @rockerest. I'll have to publish a debug version of the plugin for you guys to get some info for me.
Before I do that, I have some questions:

Is the Night Light exposed in HomeKit as an accessory?
a. If it is exposed, do you get the This plugin generated a warning from the characteristic 'Brightness' error when you attempt to change the brightness?
b. If it's not exposed, is "night_light" set to true in your config?
Do you see any other errors when debug mode is turned on for the plugin? You can find instructions on enabling debug mode here: https://github.com/pschroeder89/homebridge-levoit-humidifiers#enabling-debug-mode

Here are the answers to your questions:

The Night Light slider is exposed in HomeKit, but as expected, turning it on does not turn on the light. The error message does not appear when I use the slider in the Home app, it seems to display in the logs every minute or so. The "night_light" setting is set to "true" in config.

There are no errors, below is the full log of the plugin during a full restart of Homebridge. The error seems to trigger every time the plugin is getting device info:

[12/30/2022, 5:05:45 PM] [Levoit Humidifiers] [DEBUG]: [LOGIN] The authentication success
[12/30/2022, 5:05:45 PM] [Levoit Humidifiers] Discovering devices...
[12/30/2022, 5:05:45 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICES] Device List -> JSON: [{"deviceRegion":"US","isOwner":true,"authKey":null,"deviceName":"Bedroom Humidifier","deviceImg":"https://image.vesync.com/defaultImages/deviceDefaultImages/wfon_ahm_luh-d301s-wusr_us_240.png","cid":"REMOVED","deviceStatus":"off","connectionStatus":"online","connectionType":"WiFi+BTOnboarding+BTNotify","deviceType":"LUH-D301S-WUSR","type":"wifi-air","uuid":"REMOVED","configModule":"WFON_AHM_LUH-D301S-WUSR_US","macID":"REMOVED","mode":null,"speed":null,"currentFirmVersion":null,"subDeviceNo":null,"subDeviceType":null,"deviceFirstSetupTime":"Dec 28, 2022 4:15:06 AM","subDeviceList":null,"extension":null,"deviceProp":null}]
[12/30/2022, 5:05:45 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[12/30/2022, 5:05:45 PM] [Levoit Humidifiers] Restoring existing accessory from cache: Bedroom Humidifier
[12/30/2022, 5:05:46 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
[12/30/2022, 5:06:01 PM] [Levoit Humidifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[12/30/2022, 5:06:01 PM] [homebridge-levoit-humidifiers] This plugin generated a warning from the characteristic 'Brightness': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

The humidifier night light button operates as follows when you tap on the button. The VeSync app lets you pick any color you want and allows you to adjust the dimmer:

Tap 1 - Auto color change mode
Tap 2 - Purple light
Tap 3 - Blue light
Tap 4 - Light blue light
Tap 5 - Cyan light
Tap 6 - Yellow/orange light

Interesting, thanks for the info @danfratamico!
I actually just discovered that Levoit has locked down their app's SSL certificate, so I can no longer sniff the traffic from their app to their servers. This will make debugging and implementing this (and all future changes to this plugin) more difficult.
I have published version 1.8.4-debug, that will output a new [UPDATED INFO RESPONSE] log (you will not need to have debug mode enabled to see this log). It should look something like:
[UPDATED INFO RESPONSE] {"traceId":"1672465495037","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"1672465495037","code":0,"result":{"enabled":false,"mist_virtual_level":9,"mist_level":3,"mode":"auto","water_lacks":true,"water_tank_lifted":false,"humidity":31,"humidity_high":false,"display":false,"automatic_stop_reach_target":false,"night_light_brightness":0,"configuration":{"auto_target_humidity":40,"display":true,"automatic_stop":true}}}}

I'm expecting / hoping that your log will contain 2 new values in that response, maybe something like light_color and night_light (instead of night_light_brightness like on other models). I can then hopefully construct the correct API calls to control the light's color and power.
Thanks a lot for helping out on this!

Thanks for your work on this! I installed the latest version of the plugin and here is my response:
{
"traceId":"1672494584478",
"code":0,
"msg":"request success",
"module":null,
"stacktrace":null,
"result":{
"traceId":"1672494584478",
"code":0,
"result":{
"enabled":true,
"mist_virtual_level":1,
"mist_level":1,
"mode":"auto",
"water_lacks":false,
"water_tank_lifted":false,
"humidity":35,
"humidity_high":false,
"display":true,
"automatic_stop_reach_target":true,
"configuration":{
"auto_target_humidity":40,
"display":true,
"automatic_stop":true
},
"extension":{
"schedule_count":0,
"timer_remain":0
},
"rgbNightLight":{
"action":"off",
"colorMode":"marquee",
"speed":0,
"brightness":91,
"red":255,
"green":255,
"blue":255,
"colorSliderLocation":61
}
}
}
}

"rgbNightLight":{
   "action":"off",
   "colorMode":"marquee",
   "speed":0,
   "brightness":91,
   "red":255,
   "green":255,
   "blue":255,
   "colorSliderLocation":61
}

we got 'em, folks

1.8.4-debug2 has been pushed. I'd appreciate it if you both could test it out and let me know how things look.
There's a possibility that it won't work at all as this took a bit of guesswork and outdated info from other VeSync repos (and since I don't have this feature on my current models), but I am getting successful responses from VeSync when sending the current set of commands.
The current behaviors that should be supported:

Turning the light on and off (not using the slider, but the lightbulb icon). Turning it on should go to 50% (check the slider to confirm, please).
Turning the light on and off from the slider. Turning on from the slider will always go to 50%. Once it is on, you can adjust the brightness to any other %. That's the current behavior for the non-RGB night lights, too...it's more of a UI limitation in HomeKit than anything else.
When turning on the lights, whatever color, colorMode, speed, and colorSliderLocation you had set in VeSync should be kept and respected by HomeKit. I attempted to just read and store these values from the initial get requests, and we just supply them when we turn the light on / off or change the brightness.

I did have some other questions too, to make sure my logic is ok:

What different "actions" are there? Just on/off? There are some other vesync devices that appear to handle dim as an option as well, not sure if that applies here.
What are the different color modes? If there are only a couple and people want it, we can probably make a few new switches for them.
What does speed control, exactly? We could potentially add a slider in the future to change the speed.
What does colorSliderLocation do?

@pschroeder89 Sure, here is how it's working for me:

The device in the Home app defaults to 50% brightness and the slider is half way. I don't see a on/off switch for the light, there is only a slider. To turn off the night light, I need to drag the slider to the bottom and that shuts it off.

Adjusting the brightness does not work from the slider.

From what I can test, it does respect the color chosen in VeSync. The other values, I am not sure about.

To try and answer your other questions, I'm hoping the attached image can help. This shows the settings we can configure for the night light in the VeSync app. I'm guessing the "colorSliderLocation" lets you pick any RGB color.

Thanks @danfratamico. To try to understand the brightness behavior a little more, I've published 1.8.4-debug3. This will output another log when getting the light info from VeSync. It should start with [GET LIGHT JSON].
Could you capture a GET log, then change (only) the Dimmer setting to another value, then go back to Home and capture another GET log?
Also, for the on/off switch without the slider, you need to go to the Humidifier accessory in HomeKit (so all 5 or 6 accessories are showing), then scroll down to the Accessories item. You should then see the accessories in a smaller view, and you can tap the light to turn it on / off.
If all of this debugging is a lot for you and you'd be comfortable, you could add me as a Device User in the Share Device settings of the VeSync app (Paul.j.schroeder.29@gmail.com). Let me know if that's an option, that way I could debug on your device. If not, let's see what the logs look like and see if we can figure this out.
Thanks again for the help!

Thanks, I was able to find the accessories list. The night light button read 50% brightness and the light was off on the humidifier. I turned it on in Home and it did not turn on the humidifier. It only turned on when I moved the slider. Here are the logs:
[1/3/2023, 7:59:32 PM] [Levoit Humidifiers] [GET LIGHT JSON] {"action":"on","speed":0,"green":154,"blue":173,"red":0,"brightness":50,"colorMode":"color","colorSliderLocation":54}
[1/3/2023, 7:59:38 PM] [Levoit Humidifiers] Setting Night Light Status to {"action":"on","speed":0,"green":154,"blue":173,"red":0,"brightness":75,"colorMode":"color","colorSliderLocation":54}

I also sent you an invitation for access to my device in VeSync. I would love to chat on Dkicord, but using your link displays a message "You don't have access to any text channels, or there are none on this server.".

Ah, try this discord link first: https://discord.com/invite/Z8jmyvb

Here are debug logs when I changed the brightness in the Home app:
[1/4/2023, 8:59:56 AM] [Levoit Humidifiers] [DEBUG]: [GET DEVICE INFO] Getting device info...
[1/4/2023, 8:59:56 AM] [Levoit Humidifiers] [DEBUG]: [DEVICE INFO] {"traceId":"*removed*","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"*removed*","code":0,"result":{"enabled":true,"mist_virtual_level":1,"mist_level":1,"mode":"auto","water_lacks":false,"water_tank_lifted":false,"humidity":41,"humidity_high":false,"display":true,"automatic_stop_reach_target":true,"configuration":{"auto_target_humidity":40,"display":true,"automatic_stop":true},"extension":{"schedule_count":0,"timer_remain":0},"rgbNightLight":{"action":"off","colorMode":"color","speed":0,"brightness":50,"red":9,"green":255,"blue":115,"colorSliderLocation":42}}}}

[1/4/2023, 8:59:56 AM] [Levoit Humidifiers] [GET LIGHT JSON] {"action":"off","speed":0,"green":255,"blue":115,"red":9,"brightness":50,"colorMode":"color","colorSliderLocation":42}

[1/4/2023, 9:00:02 AM] [Levoit Humidifiers] Setting Night Light Status to {"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":57,"colorMode":"color","colorSliderLocation":42}

[1/4/2023, 9:00:02 AM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLightStatus to Bedroom Humidifier with ({"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":57,"colorMode":"color","colorSliderLocation":42})...

[1/4/2023, 9:00:02 AM] [Levoit Humidifiers] Setting Night Light Status to {"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":50,"colorMode":"color","colorSliderLocation":42}

[1/4/2023, 9:00:02 AM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLightStatus to Bedroom Humidifier with ({"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":57,"colorMode":"color","colorSliderLocation":42})! Response: {"traceId":"*removed*","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"*removed*","code":0}}

[1/4/2023, 9:00:02 AM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLightStatus to Bedroom Humidifier with ({"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":50,"colorMode":"color","colorSliderLocation":42})...

[1/4/2023, 9:00:03 AM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLightStatus to Bedroom Humidifier with ({"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":50,"colorMode":"color","colorSliderLocation":42})! Response: {"traceId":"*removed*","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"*removed*","code":0}}

[1/4/2023, 9:00:08 AM] [Levoit Humidifiers] Setting Night Light Status to {"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":73,"colorMode":"color","colorSliderLocation":42}

[1/4/2023, 9:00:08 AM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Sending command setLightStatus to Bedroom Humidifier with ({"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":73,"colorMode":"color","colorSliderLocation":42})...

[1/4/2023, 9:00:08 AM] [Levoit Humidifiers] [DEBUG]: [SEND COMMAND] Successfully sent command setLightStatus to Bedroom Humidifier with ({"action":"on","speed":0,"green":255,"blue":115,"red":9,"brightness":73,"colorMode":"color","colorSliderLocation":42})! Response: {"traceId":"*removed*","code":0,"msg":"request success","module":null,"stacktrace":null,"result":{"traceId":"*removed*","code":0}}

Update: Thanks to @danfratamico for letting me test and debug on his LUH-D301S-WUSR!
1.8.5 has been pushed and fixes brightness and on / off for the light on this model.
We do not support changing the color from the plugin (yet).

If new bugs are found against this feature, please raise them in a new ticket. Thanks!


ghc: support building with integer-simple

If the flag enableIntegerSimple is true GHC will be build with the GPL-free but slower integer-simple library instead of the faster but GPLed integer-gmp library.

I also added some documentation to the manual.

A few questions:

Should we give names to the compilers build with integer-simple? Advantages are that we can then easily build them on hydra and users can more easily select those compilers without resorting to overriding. Maybe we can use a naming scheme like: pkgs.haskell.compiler.ghc802.integer-simple or pkgs.haskell.compiler.integer-simple.ghc802.

Secondly, should we also provide package sets for these compilers?

Finally, should we build these compilers and/or package sets on hydra or will this increase the load to much?

@peti any ideas?

I pushed another commit that answers my first and second questions. I provide convenient names ro get a GHC compiler build with integer-simple and to get a package set supporting integer-simple:
The attribute pkgs.haskell.compiler.integer-simple."${ghcVersion}" provides a GHC compiler build with integer-simple.
Similarly, the attribute pkgs.haskell.packages.integer-simple."${ghcVersion}" provides a package set supporting integer-simple.

This is some fine work. Thank you very much for the contribution.
I've merged the patches to haskell-updates. This means that Hydra will test-build everything at http://hydra.nixos.org/jobset/nixpkgs/haskell-updates. I'll merge the patches to master in a day or two -- assuming that the changes don't break the compiler builds. :-)

Thanks Peter.
Do you think it makes sense to set recurseForDerivations = true in pkgs.haskell.compiler.integer-simple causing the underlying compilers to be build by hydra?
Offtopic: I would also prefer to have a binary cache available for packages build with profiling (enableLibraryProfiling = true;). At LumiGuide we currently have a hydra job which builds all our Haskell packages and their dependencies with profiling enabled in case we quickly need to profile something.

The jobset status looks OK. Mergeable then?
(I'd like all larger rebuilds merged now to staging so it can be stabilized without too much rebuilding.)

Do you think it makes sense to set recurseForDerivations = true in pkgs.haskell.compiler.integer-simple causing the underlying compilers to be build by hydra?

I pushed a commit that does that in 47a604a41807dd4221a354a095715c7320008d6e. I think we'll use that for running test builds right now, but it's probably overkill to enable those builds on hydra.nixos.org for all GHC versions we have. Who needs GHC 7.2.2 anyway -- with or without gmp? GHC is relatively expensive to compile and to store (the resulting package is >1 GB), so I'd rather be cautious about enabling too many builds that we probably don't need anyway. I do think that it is appropriate to enable the gmp-less variant of the latest ghc in pkgs/top-level/release.nix though.

I would also prefer to have a binary cache available for packages build with profiling (enableLibraryProfiling = true;).

https://github.com/NixOS/nixpkgs/issues/22340

@vcunat, give us one more day, please. I have one minor change I'd like to see implemented before we commit.

OK, in case Hydra gets idle, we can "build staging first" and eventually even exchange the merge order.

The integer-simple variant of GHC 7.6.3 does not compile: http://hydra.nixos.org/build/47389866/nixlog/1/raw. Looks like it's unhappy about our version of gmp, maybe?

Um, forget what I just said. It's built without gmp, of course. I guess what I should have said was that there is some part of the code that expects functions like divInteger which appear to be missing.

@vcunat, dfcc9e2994eba3544ddfe303be5128ff17195ca6 and 75a4679548aef2062babe669da27471af3dbcae2 pushed to staging.

@peti regarding GHC-7.6.3, maybe it's best to put "ghc763" in integerSimpleExcludes.


IAM policy is missing in the latest aws account

With a new AWS account, a new permission is needed to create a load balancer.
The 12.2.0 introduced the needed patch to the policy: https://github.com/terraform-aws-modules/terraform-aws-eks/pull/902
Should be useful to update asap to this version.
Thanks!

Solved. The latest release includes the upstream module v13

Solved. The latest release includes the upstream module v13


Code mapping after an error occurs

I'm running nyc with ava. When a runtime error occurs in a test (e.g. trying to access a key of undefined), ava outputs the stacktrace with lineno:col inside the instrumented file, not the original file. Would it be possible to map the instrumented code back to the original code and output the relevant lineno:col?

@aureooms nyc uses Istanbul to instrument the files. You'd probably need Istanbul to include a source map when it instruments a file, and it would have to take into account input source maps in case of ES2015 transpilation. Then it may or may not work automatically with AVA.
I don't think Istanbul supports this currently so you'd have to open an issue there.

@aureooms give this a spin:
https://github.com/bcoe/nyc#use-babel-plugin__coverage__-for-better-es6es7-support
we've released better support for ES6/ES6 coverage using the __coverage__ instrumentation library.


Adds seperate build to checksums batch for pr

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Change maintainer from @astrofrog to @astrofrog-conda-forge

Hi there :wave:. This is an automated pull request to change the maintainer from @astrofrog to @astrofrog-conda-forge (having conda-forge as one of my organization makes the Travis and AppVeyor GitHub integrations extremely slow, so I've decided to have a dedicated account for conda-forge-related work)

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Improve test specs on "Leap" exercise

While solving this exercise for exercism.io I thought test specs could be improved (from my point of view, so I might be wrong). This PR tries to clarify the specs and provides some more examples of leap and non-leap years.
Specs haven't changed, but I hope texts describing them are clearer now.

I'm not sure the extra specs help provide any additional information. It seems like they're just more examples of the same rules.
/cc @exercism/track-maintainers What do you think? Does redundancy help make the rules more clear?

I agree with @kytrinyx. Unless the duplication serves to build illustrate the solution or walks the user in the right direction I don't think it helps.
But... maybe we could remind users that it's okay to add their own unit tests if they want to. The ones we provide aren't carved in stone. The tests @rchavarria added would be good spot checking if you wanted to explore your own solution a bit more.

I know is better having just a single assertion in each test, but sometimes I find it useful to have more than one example in the same test.
What about this: right now, there are four tests, four specs. I can write each test with just one assertion, as they were before. And I can add a describe block with additional examples. The describe block can be excluded (it won't be run) or commented. If a user wants to run more test she just needs to activate (remove the x in xdescribe) or uncomment the block.

@rchavarria thank you for taking time to try to improve the tests of an exercism track. I espcially like your rewording of the describe blocks. However I must agree with @kytrinyx that I do not think that these extra examples add much.
At most, a single extra example of each part of the rule may be useful. Each new test/assertion adds a maintenance cost so we should keep as few tests as possible (but no fewer!). Do the additional examples show interesting corner cases of the Gregorian Calendar leap year rule?
(excuse me while I put on my pedantic hat...)
Your additional examples specify that the function should compute leap-year-ness in the Proleptic Gregorian Calendar (https://en.wikipedia.org/wiki/Gregorian_calendar#Proleptic_Gregorian_calendar). Was this intentional? Any date before 1582-10-15 is a HUGE corner case of the Gregorian Calendar. And things are complicated by geography: because I am located in the USA (a former British Colony) any date before 1752-09-14 is the limits of the calendar; other localities changed to the Gregorian Calendar at different times (https://en.wikipedia.org/wiki/Gregorian_calendar#Adoption).
I think that this exercise should quietly steer well clear of the common problematic dates (1582 & 1752) by sticking to dates after 1800 (although those also may fall into corner cases depending upon locale).
As an 'extra credit' I have prompted one or two submitters on the xlisp track to add tests & code to handle dates before the time of the Papal Bull of 1582.
(takes off pendantic hat...)
Programming with Time is hard, this exercise seems to be meant to be about integer division and modularization of the code - let's keep the exercise simple, it only needs a few examples.

Ooops. My apologies. It wasn't my intention to test such corner cases. Yep, I'm aware of some interruptions or particularities in the Gregorian calendar, but I didn't take them into account here. I was thinking of years just as integers, as @verdammelt said: test should mean just integer division and modularization. I understand that using years below 1800 can lead to confusion.
Wow, I didn't think adding a couple of examples would create such a great discussion. Thanks everybody.
I will write a main describe block, with just one assertion for each existing test case. And an additional xdescribe block with another example for each test case. I'll take care of corner cases due to the Gregorian calendar (maybe, just using future years).

Good explanation, including the regional issues.  There is room here as well to not simply do integer division, as you can express a year as a float (and this is commonly done, but usually behind the scenes).  But it is appropriate to avoid it.
As for additional assertions in the tests, I agree that it is sometimes helpful, but they should be border examples in the category of the test.  If they can communicate clearly, without being strictly redundant, then they may be beneficial.
Otherwise they are 'fluff'.

PR updated with changes to have just one assertion for each test and an additional xdescribe block to let users enable it if they want to check more examples.

I'm happy with this version. Anyone else have any additional comments before we merge this?

:+1:  from me

Looks great.

Thanks, everyone for the great discussion. Thanks @rchavarria for working through this!

My pleasure, thanks everybody for helping and teaching me.


Support raw layer 4

https://github.com/nginxinc/nginx-kubernetes-gateway/blob/main/docs/gateway-api-compatibility.md
Fixes tf2-vanilla

Will also need cloudflared support (unlikely), or a LoadBalancer service which wouldn't be viable onprem

MixedProtocolLBService is GA in k8s 1.26, which hit AKS preview in Feb. Cluster has been manually upgraded, should be GA by end of March

Cilium is a dead end since future work is BGP-only so unsupported on home infra (no IPv6 delegation). MetalLB is tracking IPAM integration (metallb#157), but manual config should work in the meantime. Cilium as the CNI would still make sense - allows layer 7 network policies without a sidecar which could be interesting. And it's supported on AKS if the cluster is recreated (needed anyway for dual-stack)

AKS cluster upgraded and multiprotocol loadbalancing is successful. A new PIP is created for each service though. A static PIP can be assigned with the service loadBalancerIP property, but that assumes no port clashes and isn't supported in the bjw-s template chart. Another reason to create my own template


Update .NET SDK for Mixed Reality Azure Management APIs

Spatial Anchors GA
Remote Rendering Public Preview

Please update the versions in csproj and AssemblyInfo.cs, as well as release notes in csproj.

@erich-wang @isra-fel Resolve the comments by updating versions and release notes andadding an AssemblyInfo.cs.


Fix correct spellchecker locale is not selected for non en-US locales

Before submitting, please confirm you've

[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
Fix correct spellchecker locale is not selected for non en-US locales.
While launching the app, app.getLocale() can't return correct locale until ready event is emitted. So default en-US was chosen.
In this fix, defaultPreferences.js would lose spellCheckerLocale parameter because it should be determined by user's system locale.
Tested on macOS 10.12.
Issue link
#632
Test Cases
Before testing, change computer's locale to non en-US locale such as de-DE (Germany).

Make sure config.json is removed before launching the app.
Start the app.
The app should use correct locale for spellchecker.
config.json should have spellCheckerLocale parameter with correct locale.

Additional Notes
https://circleci.com/gh/yuya-oc/desktop/635#artifacts

Tested on Windows 10. When using German as system language, German spellchecker is chosen.

Thanks @yuya-oc 👍
Really appreciate your help here


fix sync api calls (should not be in reducer)

Sync api calls should be called from action creators

Duplicate from #21 closing this


Any plans to add tiers?

Wondering if there is or ever was a plan to add tiers/nesting to this.

It's supported out of the box just like in NSOutlineView. Just use -sourceList:child:ofItem: and -sourceList:isItemExpandable: in your data source.

I guess I meant as an example. Im a bit perplexed on how to achieve it with PXSourceList.

Sure — if you have a look at the cell-based source list demo target there's an example there (the 'Playlist group' item under 'Playlists'). The API for creating something similar is the same with the view-based source list using the two methods I mention above.


Listview images are not scaled correctly on EUI.

When using the App, images in the listview that are larger in height than in width (Scale 3:4) like movie posters/covers are being stretched in a 1:1 (Square) scale. Images with a larger width then their height (like 16:9) or square images 1:1 are displayed like expected.

example https://www.youtube.com/watch?v=LQV6Wi-5-CE

Oh nice catch sadly similarly to #85 it looks like the problem is on the Brain firmware side and not the SDK.
I've filed a bug report for the firmware, since the fix wont be on the SDK side I'm closing this.


Provide better quality of life for Roblox Studio users

Currently flipbook will reload the story any time the source changes. This works well for Rojo users where Ctrl+S is the only time a story's source will change, but in Studio the source changes on each keystroke.
We should introduce some quality of life changes to make the experience for Roblox Studio developers better

We could potentially put auto-refreshing on a cooldown where if the user has Studio focused we only refresh if there has not been a keystroke for 500ms or so. Making use of WindowFocused and WindowFocusReleased to know when the user is actively using Studio


I Did It !

Detect.py

@yayapipi
Can you please share knowledge

Can you share your code？
I did get an error while executing train.py.
(1、AttributeError: Can't pickle local object 'mpgen..main'；
2、EOFError: Ran out of input.)
Do you have encountered such problems and hope to get your answers. Thank you very much!

change
@mpgen to #@mpgen

change
@mpgen to #@mpgen


PodMonitor TLS configuration

At the moment there is no possibility to deactivate the TLS validation when using the PodMonitor.
Further the PodMonitorEndpoint is missing other features like Auth options.
https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#podmetricsendpoint
https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint

Environment: AKS, PrometheusOperator community helm chart
Prometheus Operator version: v0.32.0

We are open to PRs implementing mentioned features.

If nobody is looking into this right now, I'd be interested in taking over this issue.


Split button content

Split's button text and the :after.

Reviewer: @philipnrmn

retest this please

retest this please


More test tweaks

Backports from 0.26
the nightly images will be replaced, once we have eventing 1.0 branch on CI ...

step e2e-aws-ocp-49 is missing dependencies: <&api.internalImageStreamLink{name:"stable-latest-e2e-aws-ocp-49"}>


I couldn't find where to click in order to replace the current version with a snapshot

The share icon was really not where I'd had thought to click in order to replace the current version with the snapshot version.
I actually thought it was not possible until a colleague told me where to click.
Maybe replace the share icon with arrow down icon so users can understand a drop menu will appear with actions related to the snapshot. I just thought it was a button to share my snapshot.

linked to #540

to discuss about https://www.figma.com/design/wcpetFt6aOKzTszcvPPWLQ/[05%2F24]-Grist-Design?node-id=1090-49307&t=taNhdbNmPlYYx24l-1

Reacting to the design above:

It's possible to close the "Document History" tab, either with the "X" in the upper-right corner, or by collapsing the creator panel. In that case, it would still be important for the user to know they are looking at a snapshot rather than the actual document.
The issue is specifically about the "Replacing Current Version..." action, not only "Return to the Current Version". For reference, here is the contents of the menu as it exists today:

Updated design https://www.figma.com/design/wcpetFt6aOKzTszcvPPWLQ/[05%2F24]-Grist-Design?node-id=1090-49307&t=tM7yRRTAzdKqXnoA-1


include watchOnly transactions in wallet transaction enumeration

Lets wallet be used to enumerate watchOnly addresses.

Coverage remained the same at 39.153% when pulling 4d0771c200018c0e09c34eb25abae20f975806ac on xloem:watchOnlyTransactions into 39f04e8d6d34bbd27049945bdbe9c8d4512f54fd on OpenBazaar:master.


Add warnings for certain types of meta-transactions

This was mentioned on Twitter: https://twitter.com/kongtaoxing/status/1619154248931082243.
This is definitely something to be explored and added.
See more:
https://wiki.polygon.technology/docs/develop/meta-transactions/network-agnostics/

This was added in v0.5.0


Generic type 'WebSocket' requires 1 type argument

Hello,
I've just installed hyper-express so I can test it, but I get TS error:
node_modules/hyper-express/types/components/ws/Websocket.d.ts:114:16 - error TS2314: Generic type 'WebSocket<UserData>' requires 1 type argument(s).

114     get raw(): uWebsockets.WebSocket;
                   ~~~~~~~~~~~~~~~~~~~~~

It's just a typing issue. uWebsockets.WebSocket has one type argument declared and it is required.
I'll create a PR draft with the fix.

Good catch, I'll merge the PR once it is out of draft. Thanks!


Support pretrained arg for create_model (and train.py) like in open_clip

Shouldn't be too hard (probably can just copy from open_clip) and enables somewhat easier fine-tuning. Nice to have

This is supported now via the --pretrained flag, feel free to re-open if it's not what you want!


concatenate an adata object shows "data type not understood"

Hey!
I'm trying to use scvelo to read in loom files and concatenate these to a single object. I'm pretty sure this concatenate operation is based on anndata (but maybe @VolkerBergen can also help?).
I need to concatenate six files and am therefore doing this in a loop. The code is the following:
#Read in data
ldata = scv.read(velocyto_folder+files.pop(0), cache=True)
ldata.var_names_make_unique()

for file in files:
    print(f'Reading file: {file}')
    tmp = scv.read(velocyto_folder+file, cache=True)
    tmp.var_names_make_unique()

    ldata = ldata.concatenate(tmp, index_unique=None)
    ldata.obs.drop(columns=['batch'], inplace=True)

This always fails on the second iteration in the main list no matter which files I have there. Its seems a concatenated object can't be further concatenated. There error I get is this:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-156-4818d685e370> in <module>
      4     tmp.var_names_make_unique()
      5
----> 6     ldata = ldata.concatenate(tmp, index_unique=None)
      7     ldata.obs.drop(columns=['batch'], inplace=True)

~/new_anndata/anndata/anndata/core/anndata.py in concatenate(self, join, batch_key, batch_categories, index_unique, *adatas)
   1877                 cols_intersect &= set(ad.var.columns)
   1878                 cols_intersect = {
-> 1879                     col for col in cols_intersect
   1880                     if ad_ref.var.loc[var_names, col].equals(ad.var.loc[var_names, col])
   1881                 }

~/new_anndata/anndata/anndata/core/anndata.py in <setcomp>(.0)
   1878                 cols_intersect = {
   1879                     col for col in cols_intersect
-> 1880                     if ad_ref.var.loc[var_names, col].equals(ad.var.loc[var_names, col])
   1881                 }
   1882                 if not cols_intersect: break

~/anaconda3/envs/sc-tutorial/lib/python3.6/site-packages/pandas/core/generic.py in equals(self, other)
   1433         if not isinstance(other, self._constructor):
   1434             return False
-> 1435         return self._data.equals(other._data)
   1436
   1437     # -------------------------------------------------------------------------

~/anaconda3/envs/sc-tutorial/lib/python3.6/site-packages/pandas/core/internals/managers.py in equals(self, other)
   1392         other_blocks = sorted(other.blocks, key=canonicalize)
   1393         return all(block.equals(oblock)
-> 1394                    for block, oblock in zip(self_blocks, other_blocks))
   1395
   1396     def unstack(self, unstacker_func, fill_value):

~/anaconda3/envs/sc-tutorial/lib/python3.6/site-packages/pandas/core/internals/managers.py in <genexpr>(.0)
   1392         other_blocks = sorted(other.blocks, key=canonicalize)
   1393         return all(block.equals(oblock)
-> 1394                    for block, oblock in zip(self_blocks, other_blocks))
   1395
   1396     def unstack(self, unstacker_func, fill_value):

~/anaconda3/envs/sc-tutorial/lib/python3.6/site-packages/pandas/core/internals/blocks.py in equals(self, other)
   1397
   1398     def equals(self, other):
-> 1399         if self.dtype != other.dtype or self.shape != other.shape:
   1400             return False
   1401         return array_equivalent(self.values, other.values)

TypeError: data type not understood

I'd be grateful for any point in the right direction. It can't be the files as the same thing fails if I take out the file for which this is failing, or if I use a different ordering for concatenation. I've also tested that the var and obs columns contain the same data types  and they do. I'm a bit lost regarding what to test next. The error message isn't exactly helpful either.
The loom file was generated with veloctyo version 0.17.7, and I'm running on scanpy==1.4.3+116.g0075c62, anndata==0.6.22.post1+29.g16615d7, and scvelo==0.1.16

So after some digging, @VolkerBergen and I found that anndata.concatenate() changes categorical data back into object data types.
While scv.read() immediately vets the data and turns strings into categoricals, sc.read() does not. Thus, using anndata.concatenate() with adata objects ready by sc.read() is fine as long as you don't plot them or do something that calls sanitize_anndata() first. anndata.concatenate() however doesn't work on adata objects that have different var.dtypes.
A quick fix would be to just ensure that input data types are retains by anndata.concatenate(). @ivirshup @flying-sheep ?
Also, it's interesting to see that if tmp has categoricals, and ldata has object dtype columns, then ldata.concatenate(tmp) fails, but tmp.concatenate(ldata) works. Intuitively I would have though you can concatenate onto object data types, but not onto categoricals.


Terminal split button has extra padding right of the launch profile button

On the latest Insiders:

Hover over the terminal split button
:bug: Notice an area to the right of the launch profile darkens, which might mean the terminal split button is too large.

Found while verifying https://github.com/microsoft/vscode/issues/139213

/duplicate #202078


Update authoring.md

line 256: Website-InforMation  --> website-information

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@kkbruce  thanks


Remove ProcessQueue made-up sudo message for staking processing

The staking module has a made-up ProcessQueue sudo message to process the pending staking / unstakings.
This could be easily modified / improved, to call the ProcessQueue message handler under the hood before each query.
This can be done during / before every balance query. A little overkill, but since the queue is almost always empty.
It can also be done on update_block, after block updating.
Perhaps in both places for robustness, as the second call (empty queue) will be really cheap.

Getting rid of that message would be really nice for usability.
One thing to note here is that this processing needs mutable storage access. In order to do it in a query, we have to create a separate function that does not update storage and just returns the differences (and those can then be used e.g. in the balance query to adjust the balances).
So, doing this only in update_block and set_block might be easier (and I think also more realistic, since in the sdk, it happens in the end blocker?).


Logstash output plugin for Amazon Kinesis Firehose.

Version 0.0.2, works but lack of many useful features like batch ingesting, fallback policy, safe error handling,..
If test are failing please see the issue I reported to Ruby AWS SDK dev team: https://github.com/aws/aws-sdk-ruby/pull/1086

Did a test myself and it looks good. I see data being sent to my kinesis firehose.

@purbon Any update on this PR? I have also started to use this plugin and seems to work fine

Any movement on this?  I would love to see this in logstash-plugins

bump


Improve confluence tests

Speed up confluence tests by using a better order checks in the intersection.
Fix Rule 2 to be applicable inside applications and dispatches.
Remove genericShrink from attribute names and bytes. These should not shrink.
Change arbitrary names to be two-symbol (letter + number), e.g. a3 or m7.
Show inputs that result in timeouts.

PR-Codex overview
The focus of this PR is to refactor tests and update language features.
Detailed summary

Refactored test structure for eo-phi-normalizer
Added language features like LambdaCase and TupleSections
Improved object generation logic for testing

The following files were skipped due to too many changes: eo-phi-normalizer/test/Language/EO/Rules/PhiPaperSpec.hs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@fizruk the puzzle #175 is still not solved.

@fizruk the only puzzle #175 is solved here.


packaging: update nokogori to its latest version

Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

Merging directly since it's a small packaging update. @vitoravelino ping me if you have any doubts :wink:


Updates for appmesh pipeline

Added some outputs for use by pipeline
filtered nodes participating in virtual node creation

There are many changes happened after this branching. Will cancel this PR and will do those changes on top of latest branch. Its simple that way.


Flash new firmware

Hi. I don't understand, how I can update firmware. I have DFP-34G-2C2 upon stick.
From web interface update not worked.
On stick launched telnet. I'll transfer M114_sfp_ODI_220817.tar, untar. So, what is next? )
flash_eraseall /dev/mtdX and after cat XXX > /dev/mtdX ??
I need flash rootfs? Or only uImage? Or both?
Thanks )

just upload .tar firmware via WebGUI, no need to extract


Get Body from reponse

Hi, can you help me? I can't find the one thing: how i can get body response from request?
f.e.
I have POST request and i want to extract some key's values from for use their in a new body request

Would be really useful to return body from response in some way.
I'm using gRPC-gateway, when there's partial failure, I still have to return HTTP status 200 and include detail info in response body, because gRPC-gateway won't return response body if HTTP status is not  200.
So I have to parse response body to get meaningful statistics. I did this in my own fork, but really want this integrated into vegeta.
Thanks!

I'm working on this and should have something out next weekend tops. Hold
tight! Branch: https://github.com/tsenart/vegeta/tree/response-body
On Fri, May 11, 2018 at 5:47 AM, smthpickboy<EMAIL_ADDRESS>wrote:

Would be really useful to return body from response in some way.
I'm using gRPC-gateway, when there's partial failure, I still have to
return HTTP status 200 and include detail info in response body, because
gRPC-gateway won't return response body if HTTP status is not 200.
So I have to parse response body to get meaningful statistics. I did this
in my own fork, but really want this integrated into vegeta.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tsenart/vegeta/issues/279#issuecomment-388251525, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEHj1aMzO4mlKXrf96aHV3ycxWk6OeVks5txQnMgaJpZM4SsYPX
.


Package changes for Adoptium Temurin binaries 🧪

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Proposed changes change in package due to:

Vendor name change from Eclipse Foundation to Eclipse Adoptium
Product name change from AdoptOpenJDK to Temurin

This will probably break what is allowed in a single PR ie. multiple manifests and move instead of add/delete but since this is just metadata changes I am hoping a moderators blessing will get this through
Microsoft Reviewers: Open in CodeFlow

We moderators can't do anything because it requires Validation-Completed, the Administrators do not Approve PRs. Since this is just  18 files you should be able to submit the PR's pretty quickly tho, instead of waiting forever for MAYBE a Administrator to Approve.

We moderators can't do anything because it requires Validation-Completed, the Administrators do not Approve PRs. Since this is just 18 files you should be able to submit the PR's pretty quickly tho, instead of waiting forever for MAYBE a Administrator to Approve.

Added additional 12 PR's as requested. I see the delete ones are getting merged first though. I expected the ones that added to go in first.

All 12 related PR's merged. Closing this.


All mods are installed to the .modio/mods folder. This is incompatible with UE4.

UE4 users need to be able to customize the installation directory so that the plugin is placed in the same location where it was cooked. The Plugin manager can find the mod just fine, but the asset registry uses a cooked database to locate assets and the paths will come up empty. This was tested using Epic's SimpleUGC plugin.
A custom install path is recommended, rather than forcing files in a mod.io subdirectory.

You can use the
RootDirectory and bRootDirectoryIsInUserSettingsDirectory in the settings of the plugin to change this

We were already setting the root directory to the "mods" folder which was causing a .modio subfolder to appear there. We tried setting "bRootDirectoryIsInUserSettingsDirectory" (we're still confused about this naming. What is "usersettings" and how does that force it to install mods to our root path?).
Now when we call DownloadModIds it reports success but no file is anywhere to be found? Certainly not in the Project/Mods folder. There's no .modio/temp folder to be found anymore either.

bRootDirectoryIsInUserSettingsDirectory moves the location into %LOCALAPPDATA%, that's equivalent to: %USERPROFILE%\AppData\Local.
I thought you just wanted to move the .modio directory and not the mods folder. That's what we are supporting. You need to mount the cooked paks manually to support loading mods. We wouldn't recommend to download into your installed directory anyway, as the user might not have permissions to download the mods there.

You can reach other unreal developers that has done this through our discord at https://discord.mod.io and our staff monitors the support channels there too

Because UE4 cooks the asset directory with specific paths, unless you alter the cooker it's impossible to make mods that reside in other directories like that. The asset registry will simply fail to find the assets despite a successfully mounted pak. Please see here:
https://answers.unrealengine.com/questions/851116/external-plugin-pak-file-asset-registry-not-being.html
I have not had any issues writing to the game's mod folder manually. As it stands I've had to copy the zip file over and unzip manually.
Thank you for the discord link!

I'll reopen the issue for tracking purposes.
I was pretty sure this is something that was possible as Mordhau uses the UE4 plugin (and I'm pretty sure that Robo Recall allowed packaged to be loaded from arbitrary locations). But as you seem quite sure on your point, so I can't dismiss it, and I really want to ensure that in the upcomming plugin that we help cook/load cooked packages easily. Thanks for the link =) I'm going to in research on this subject the upcomming weeks where I can either give you more infromation that I uncovered to help you on the way, or I'll have to ensure that we support custom mod paths.
What version of UE4 are you using, so that I konw if I uncover information that's specific for some unreal engine version that I can pass along?


Netapp Ontapp wrong regex

https://github.com/splunk/splunk-connect-for-syslog/blob/main/package/etc/conf.d/conflib/syslog/app-syslog-netapp_ontap.conf
 patterns('^[A-Za-z0-9\-\_\.]+: [0-9]+\.[0-9a-f]+ [0-9a-f]+ [A-Z][a-z][a-z] (?<timestamp>[A-Z][a-z][a-z] \d\d \d\d\d\d \d\d:\d\d:\d\d [+-]?\d{1,2}:\d\d)')
-->
^[A-Za-z0-9\-\_\.]+: [0-9a-f]+\.[0-9a-f]+ [0-9a-f]+ [A-Z][a-z][a-z] (?<timestamp>[A-Z][a-z][a-z] \d\d \d\d\d\d \d\d:\d\d:\d\d [+-]?\d{1,2}:\d\d)
I send a capture to @mateuszpierzchala-splunk in slack to proof

echo '<14>Oct  5 10:34:23 dcstef11: dcstef11: 0000002e.0012bbc8 01a345ef Wed Oct 05 2022 10:34:21 +02:00 [kern_audit:info:2602] 8123e812314d123f :: dcstef11:ontapi :: <IP_ADDRESS>:45878 :: dcfast1:ocum :: aggr-check-spare-low :: Success:'  > /dev/udp/<IP_ADDRESS>/514

there is also an issue with dtparse
                date-parser-nofilter(                     format(                         '%a %d %Y %H:%M:%S %z',                         '%b %d %Y %H:%M:%S %z'                     )                     template("${.tmp.timestamp}")                 );

closed by #1880


kernel BUG at net/core/skbuff.c:4044!

The network mode of Calico is BGP. when enabling GRO and GSO, it will crash randomly.
Expected Behavior
Avoid crash when enable gro/gso.

The gso_size is 75, the frag_list has one element which head_frag is 1. the skb_shared_info struct is as following.

struct skb_shared_info {
nr_frags = 17 '\021',
gso_size = 75,
gso_segs = 0,
frag_list = 0xffff895eb2022f00,
gso_type = 1035,
destructor_arg = 0x2d656c6261747372,
frags = {{
bv_page = 0xfffff80e86d4d180,
bv_len = 125,
bv_offset = 2306
},
....
}
}

In BGP mode, the ebpf will call the bpf_skb_adjust_room() to adjust the gso_size?
Your Environment
Calico version: v3.24.5

@tomastigera @sridhartigera  any thoughts?

@dracoding what kernel do you use?

ebpf will call the bpf_skb_adjust_room() to adjust the gso_size?

yes, that should happen within the kernel automatically, outside of calico's code (so I assume you are using ebpf - that patch also applies to ebpf only)

@dracoding what kernel do you use?

ebpf will call the bpf_skb_adjust_room() to adjust the gso_size?

yes, that should happen within the kernel automatically, outside of calico's code (so I assume you are using ebpf)

my kernel version is 5.16.20. yes, I'm using the calico with enabling the bpf. no ebpf outside of calico's code.

my kernel version is 5.16.20

what distro is it?

FWIW, a kernel BUG panic means there's a bug in the kernel, not in Calico.  We'll do what we can but please can you report it to your distro vendor.  To have a chance of figuring it out we;ll need to know exact details of the kernel/distro/hardware that you're using along with details of your workload that is causing the problem.
Please can you also try a more recent kernel, there have been bugs like this in the past, quite possible this one is already fixed upstream.

what distro is it?

CentOS Linux release 7.8.2003 (Core)

FWIW, a kernel BUG panic means there's a bug in the kernel, not in Calico. We'll do what we can but please can you report it to your distro vendor. To have a chance of figuring it out we;ll need to know exact details of the kernel/distro/hardware that you're using along with details of your workload that is causing the problem.
Please can you also try a more recent kernel, there have been bugs like this in the past, quite possible this one is already fixed upstream.

it was only happening in the cluster enabling calico ebpf mode, maybe this trigger the kernel bug. It doesn't happen frequently, maybe few months once. I'm not sure which workload will cause the problem.
I will try a more recent kernel but it may need a long time to test.
Distro: CentOS Linux release 7.8.2003 (Core).
Kernel: 5.16.20 of the upstream.
NetCard：Ethernet controller: Intel Corporation Ethernet Controller E810-XXV for SFP (rev 02).
any hardware infoamation

@dracoding have you hit this issue again on the other kernels?
@tomastigera We have also started getting this error, one of our workers went down and we were forced to reboot the machine.
we have almost latest kernel version from 2024-04 , Debian 12

@dracoding have you hit this issue again on the other kernels?

I have tested on kernel 6.6.35, it also has the problem and I have submitted a patch to the community.
<EMAIL_ADDRESS>


Update README.md

Adding env0 platform to the list, as it is extensible with OPA for IaC Automation workflows.

Thanks Tim!


I can't able to hide the default window buttons in Mac.

Cannot able to hide default window buttons in Mac

I have followed exactly how docs were mentioned.
System info
Mac 12.0.1
Flutter - 2.5.3 stable

While not a duplicate per se, this is very much related to #62


templateRef lost in translation

if I use a tag:

It creates an <svg> tag and comments out the  tag
If I put a traditional id tag on as such:

It keeps this value as:
<svg id="idExample">
However, if I use a templateRef used in Angular2+:
https://angular.io/api/core/TemplateRef

The #idExample is not included on the <svg> tag.
This means I have to use a different library or jquery to access the <svg> DOM element dynamically.
This can be fixed with support for TemplateRefs (https://angular.io/api/core/TemplateRef). Please add support for this.

This means I have to use a different library or jquery to access the  DOM element dynamically.

You should never use jQuery with Angular, it's horrible practice and redundant. In fact, if all you need is to get an element, you shouldn't use any library, you can just use querySelector
As for support for template references, I don't see need to have access to the icon themselves. Maybe if you give me a use case you might change my mind


Python KI-Campus updates

Added:

exercises/evaluation/ex_eval_3a.ipynb
exercises/evaluation/sol_eval_3a_py.ipynb

Modified: (like in revised version)

exercises/supervised-regression/ex_regression.ipynb
exercises/supervised-regression/sol_regression_py.ipynb

 Updates on Jupyter Notebooks for KI-Campus


FIX: Move yml anchor declaration above usage

Fixes an error caused by a change to the yml parser used on CI. Similar to alphagov/govwifi-acceptance-tests#25

LGTM. I remember doing a similar change with Rich. It's a bit of a 'gotcha'.

yeah, and I think it came about from an update to the concourse box, which got us talking about dependencies outside the system breaking the pipeline


Update docs to correct error type for RequestErrorEvent

The type here was incorrect for retryCallback- This PR corrects Error to RequestErrorEvent.

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@jjhembd Could you please review?


Treat Distribtion Db in AG as a User Db

Description of the feature
It can be a new feature, or a change to an existing feature
Hello Ola,
I appreciate that you have to script the Distribution database to add it to AG & there are considerations to doing it.
We have recently done just that to make our replication more resilent, when I spotted a sort of issue. When the Distributor is in an AG, I would like it to backup it's T-Logs the same way as I do other AGs. To do this I had to set the @Databases parameter to ALL_DATABASES from the standard USER_DATABASES.
Is it possible to treat Distribution like user database, when they are in an AG for Backup, etc
I suspect that there are not too many folks looking to put the Distributor in to AG, but I thought I would raise as thought for a feature enhancement in a future release.
Thank you for all you do for the community
Richard Gilbert

Another option could be to create a log backup job for the Distribution database.


feat: Add analytic structure groupoid on models with corners

Happy to add some examples if necessary (i.e. replicate Instances/Real.lean and Instances/Sphere.lean in the analytic setting).

bors r+


Added program to calculate percentage of FizzBuzz in sentence

Added program to calculate percentage of FizzBuzz in sentence

Thank you for your PR!
Unfortunately this isn't quite what we're searching for here.
The goal is to find creative/abstract new solutions to FizzBuzz itself.
See The top 5 samples here.
Please consult the readme for more information.
Thanks anyway! :)


enhancements to hotspot image connector and/or possibly the plain hotspot image page

The hotspot image connector page is arguably underused because its perceived as a connector page rather than just a hot spot image interaction with wider options e.g. pop-up html so perhaps we should add pop-up options to the plain hotspot image page too. But anyway enhancements to the hotspot image connector page would be:

[ ] Control the position of the pop-up for each hotspot rather than just at parent page level
[ ] Perhaps control position of pop-up relative to hotspot and/or mouse click
[ ] Control size of pop-up width especially
[x] Include a title option for the popup and display that in the header of the pop-up
[x] Include an option to hide the header of the popup
[ ] Include mouse-over content as well as on-click pop-up e.g. tooltip on mouse over or launch pop-up on mouse over and close on mouse-out

add sound on click?

Hi,
Maybe we can also add to the list to show a line between the popup and the hotspot like the glossary does. Here an example:

Bye, Inge

I've got a question about the hotspot connector. The request is if we can add hotspot icons like in the 360 page and the Interactive video page. And also that the popup is connected to the hotspot. They also make an example drawing. Is this something we can do?
Maybe it is also possible that the user could add normal images to the 360 page?

I like the idea of being able to upload normal images to 360 image page - or maybe just having a separate 'interactive image' page.


avoid tuple assignment because it will circumvent the transient tag

What changes were proposed in this pull request?
it is said in LeastSquaresAggregator that :

// do not use tuple assignment above because it will circumvent the transient tag

I then check this issue with Scala 2.13.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_241)
Why are the changes needed?
avoid tuple assignment because it will circumvent the transient tag
Does this PR introduce any user-facing change?
No
How was this patch tested?
existing testsuites

Test build #118156 has started for PR 27523 at commit 477f99e.

I use following code to check this issue:
env: Scala 2.13.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_241)
import java.io.{ByteArrayInputStream, ByteArrayOutputStream, ObjectInputStream, ObjectOutputStream}

  def serialise(value: Any): Array[Byte] = {
    val stream: ByteArrayOutputStream = new ByteArrayOutputStream()
    val oos = new ObjectOutputStream(stream)
    oos.writeObject(value)
    oos.close()
    stream.toByteArray
  }

  def deserialise(bytes: Array[Byte]): Any = {
    val ois = new ObjectInputStream(new ByteArrayInputStream(bytes))
    val value = ois.readObject
    ois.close()
    value
  }

class A extends Serializable { @transient lazy val a = {println("get a"); System.currentTimeMillis} }
val a = new A
a.a
val a2 = deserialise(serialise(a)).asInstanceOf[A]
a2.a
a.a == a2.a

class B extends Serializable { @transient lazy val (a,b) = {println("get a & b"); val t = System.currentTimeMillis; (t, -t)} }
val b = new B
b.a
val b2 = deserialise(serialise(b)).asInstanceOf[B]
b2.a
b.a == b2.a
b.b == b2.b

class C extends Serializable { @transient lazy val t = {println("get a & b"); val t = System.currentTimeMillis; (t, -t)}; @transient lazy val a = t._1; @transient lazy val b = t._2 }
val c = new C
c.a
val c2 = deserialise(serialise(c)).asInstanceOf[C]
c2.a
c.a == c2.a
c.b == c2.b

Result:
scala> class A extends Serializable { @transient lazy val a = {println("get a"); System.currentTimeMillis} }
defined class A

scala> val a = new A
a: A = A@68ef01a5

scala> a.a
get a
res0: Long =<PHONE_NUMBER>300

scala> val a2 = deserialise(serialise(a)).asInstanceOf[A]
a2: A = A@f017dd0

scala> a2.a
get a
res1: Long =<PHONE_NUMBER>523

scala> a.a == a2.a
res2: Boolean = false

scala>

scala> class B extends Serializable { @transient lazy val (a,b) = {println("get a & b"); val t = System.currentTimeMillis; (t, -t)} }
defined class B

scala> val b = new B
b: B = B@1d008e61

scala> b.a
get a & b
res3: Long =<PHONE_NUMBER>022

scala> val b2 = deserialise(serialise(b)).asInstanceOf[B]
b2: B = B@6ab826bb

scala> b2.a
res4: Long =<PHONE_NUMBER>022

scala> b.a == b2.a
res5: Boolean = true

scala> b.b == b2.b
res6: Boolean = true

scala>

scala> class C extends Serializable { @transient lazy val t = {println("get a & b"); val t = System.currentTimeMillis; (t, -t)}; @transient lazy val a = t._1; @transient lazy val b = t._2 }
defined class C

scala> val c = new C
c: C = C@7ec01440

scala> c.a
get a & b
res7: Long =<PHONE_NUMBER>575

scala> val c2 = deserialise(serialise(c)).asInstanceOf[C]
c2: C = C@42a698bd

scala> c2.a
get a & b
res8: Long =<PHONE_NUMBER>713

scala> c.a == c2.a
res9: Boolean = false

scala> c.b == c2.b
res10: Boolean = false

We can see that b2.a does not trigger the println, and the fields .a and .b contains the same values after  serialization;
while a2.a and c2.a will trigger the println, and the fields change after serialization;

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/22918/
Test PASSed.

friendly ping @srowen , I can not find in the scala community any description or disscussin on this issue.

Test build #118156 has finished for PR 27523 at commit 477f99e.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118156/
Test FAILed.

What's the question 😛 ? See my comments here: https://github.com/apache/spark/pull/14109
Also the databricks style guide mentions it: https://github.com/databricks/scala-style-guide#destructuring-binds

Oh ha thanks @sethah ! never seen that. Yeah I was just asking if you knew anything more about why or what is happening here. That's pretty good.

Heh np, I remember it being really subtle! But that's about all I can give you.

I don't know which of them are actually really big, but, that would keep existing behavior right?

acturally, I do know how big those variables in SQL are. If they are supposed to be transient, I guess that should keep existing behavior.

retest this please

Test build #118202 has started for PR 27523 at commit 477f99e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/22963/
Test PASSed.

Test build #118202 has finished for PR 27523 at commit 477f99e.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118202/
Test FAILed.

I'm OK with it, I guess I was just saying that the current behavior is not as intended, but still 'works' it seems. Maybe in some cases they aren't that big. But if you're pretty confident they are then this is a 'win'.

Jenkins retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23128/
Test PASSed.

Test build #118371 has started for PR 27523 at commit 477f99e.

Test build #118371 has finished for PR 27523 at commit 477f99e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118371/
Test FAILed.

@srowen acturally, I do not know how big the objects in SQL are. So I agree to let them alone, and only change the ML side.

Test build #118407 has started for PR 27523 at commit 968ffb3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23164/
Test PASSed.

Test build #118407 has finished for PR 27523 at commit 968ffb3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118407/
Test PASSed.

Oh, I don't think it's 'wrong' to fix. Or if we know the intended behavior isn't working, just undo the intention (i.e. remove transient lazy). Well, either way.

Merged to master


Lag between gizmo and manipulated object

Hello, great work, this is a very useful crate.
I noticed that when moving the object, the gizmo lags behind the object. This is visible in the demo. Depending on the frame rate it is more or less visible, but it makes the gizmo visuals feel a bit "floaty".
You can fix this by applying the modified transform to the config before drawing the subgizmos. It makes manipulation feel much more solid. I cannot open a PR for now unfortunately...

Interesting, I had never noticed that lag. It was very noticeable after lowering the refresh rate. Should now be fixed in PR https://github.com/urholaukkarinen/egui-gizmo/pull/23.

Awesome, thanks for the super quick fix!


S3 bucket syntax needs to be updated for new Terraform AWS Provider version (4.0+)

Instead of specifying acl = "private" within the aws_s3_bucket resource, now a separate aws_s3_bucket_acl resource is needed. Implement these changes
Also migrate away from deprecated resource definitions (e.g. aws_s3_bucket_object -> aws_s3_object)

Fixed in the 0.3 release


Isaiah/playwright tests

I added playwright test coverage for HomePage, Nav bar, and Project page.
Lmk if the tests are adequate.

I'm seeing the following tests fail:

I'm seeing the following tests fail:

Odd. were you in local or prod env?

Brian, when STAGING=1, these are the failures Im getting


fix(MongoDBStorage): check if embedding is present before .pop('embedding')

Added a unit test case test_mongo_search_without_embedding to reproduce the issue.

Added a unit test case test_mongo_search_without_embedding to reproduce the issue.

Hey @sauravgarg540
Thanks a lot for your contribution. But it doesn't seem your PR actually "fixes" anything, am I right? You are just adding a new test?
PS Our CI is not running the test because it relies on there being changes in the file in the Indexer's directory.

Hi @cristianmtr, you are right this PR does not resolve the issue, in this PR I have only added a test case that shows the problem. I was not sure what you meant by

come up with a scenario in a test that shows the problem

so according to my understanding, I thought of providing you with a simple unit test case that reproduces the issue. If this test case matches your expectation, I will go ahead and create a new pull request that resolves the issue.

Hi @cristianmtr, I have pushed the code that solves the issue so that review all the changes made by me. If there is something more to be done, please let me know.

Hey @sauravgarg540
Seems like there is a linting problem with your code.
Can you check the Contributing guide and set up your pre-commit hook?
Also, can you add a requirements.txt to the tests folder with the required packages? (minimal would be pytest)

hey @cristianmtr, I was using the wrong pre-commit-config.yaml which I have corrected now. You can review the code now.
For requirements.txt I have not installed any extra package for resolving the issue except the ones which are already mentioned in the documentation.

Seems like there's still some linting issues present. Can you please check again?

Hi @cristianmtr, there were some linting errors from the file which I have not touched, I manually used isort  to make changes to the files that were throwing errors, I hope it works this time. Also, Flake8 was throwing errors in the following files:
jinahub/indexers/storage/MongoDBStorage/mongo_handler.py:36:89: E501 line too long (91 > 88 characters)
jinahub/indexers/storage/MongoDBStorage/mongo_storage.py:76:89: E501 line too long (92 > 88 characters)
jinahub/indexers/storage/MongoDBStorage/tests/conftest.py:40:89: E501 line too long (98 > 88 characters)

Again these are the docstring and not touched by me. So I believe it needs your attention why flake8 was throwing errors for these files.


Render spans with zero weights: test and fix

If all weight are zero, previously a runtime warning was raised, and opacity was "nan" in html:
eli5/formatters/html.py:195: RuntimeWarning: invalid value encountered in double_scalars
  rel_weight = abs(weight) / weight_range
ab

Now if weights and weight range are zero, weights stay at zero.

Codecov Report

Merging #171 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #171      +/-   ##
==========================================
+ Coverage   97.02%   97.02%   +<.01%
==========================================
  Files          37       37
  Lines        2250     2252       +2
  Branches      440      441       +1
==========================================
+ Hits         2183     2185       +2
  Misses         35       35
  Partials       32       32

Impacted Files
Coverage Δ

eli5/formatters/html.py
100% <100%> (ø)
:arrow_up:

👍 Thanks!


Uncaught TypeError: Cannot read property 'find' of null     at GridRowSelectionMixin.updateSelectAll

Many times I'm getting error while return to Grid from dialog.. any help!
Uncaught TypeError: Cannot read property 'find' of null
at GridRowSelectionMixin.updateSelectAll (SlickHelpers.ts:76)
at RemoteView. (SlickHelpers.ts:71)
at Event.notify (slick.core.js?v=BLCRBDx7U3jsEuDNgnEQkw2:144)
at refresh (Serenity.Externals.Slick.ts:1447)
at setItems (Serenity.Externals.Slick.ts:708)
at addData (Serenity.Externals.Slick.ts:1592)
at Object.success (Serenity.Externals.Slick.ts:1658)
at fire (jquery-3.4.1.js?v=EcBesobtV2Umv0VDdgeFuQ2:3291)
at Object.fireWith [as resolveWith] (jquery-3.4.1.js?v=EcBesobtV2Umv0VDdgeFuQ2:3421)
at done (jquery-3.4.1.js?v=EcBesobtV2Umv0VDdgeFuQ2:9533)

HI @mustafalotiya ,
in what kind of browser do you get this?
With kind regards,
John

Hi John,
I'm using Google chrome.

Hmm,
so far I never had this problem. What is your environment?

Project type? (Full .NET or core)
SF version (to see that, look under packages and there you can see the Serenity core with a version)
Is this happening in visual studio or when the project is deployed to a webserver (I see localhost - but this could be a webserver on your machine)?
Is this on Linux or Windows?
Do you have any specific antivirus app running on your machine?
Do you have fiddler installed and running?

I am just trying to understand your environment better to ally suggest some actions.
Regards,
John

Hi John
Thanks for your time.
Please find below highlighted response.
Project type? (Full .NET or core)  - .NET
SF version (to see that, look under packages and there you can see the Serenity core with a version)  : 3.12.6
Is this happening in visual studio or when the project is deployed to a webserver (I see localhost - but this could be a webserver on your machine)? Yes in production and development both
Is this on Linux or Windows? Windows
Do you have any specific antivirus app running on your machine? No Antivirus
Do you have fiddler installed and running? No fiddler installed

@mustafalotiya
Your XYZgrid has a function find that is being called on an object - that object does not exist.
So imagine you call find from an object that is not instantiated basically like doing this;
null.find('this_thing')
Null does not exist and so you can't call find either.
I would start searching the XYZGrid for the .find() function and then start checking that object for why it is not defined so for example
myobjectIsNotdefined.find('blah')

Closed due inactivity
Also check the issue guidelines.
If you still need help, you can ask this on stackoverflow with our new tag.
https://stackoverflow.com/tags/serenity-platform


Feature Request: Add Cylance Protect

Please add Cylance Protect to SC4S.

I am closing this issue because it is a duplicate of #154

I am closing this issue because it is a duplicate of #154


Mac: Create log file for kext logging

Kext logging of warnings\error should be recorded to a log file that gvfs diagnose can collect.
See #395 for related user-mode issue

I'm not sufficiently familiar with the gvfs diagnose end, but if you need anything done on the kext/native userlib end for this, let me know.
Do we want to include kext profiling support into this as well in some form? (Certain builds only of course.)

My take-away from our out-of-band discussion earlier:

As a first deliverable for this, extend/replace prjfs-log to be/with a proper daemon that is installed by the installer and runs all the time by default.
Add log level filtering in the kext to minimise overhead.
By default, log only error-level errors.
Allow end-users to temporarily enable more verbose logging.

Things that were discussed elsewhere:

Start by logging to macOS's syslog database, and see how we go with that. (+ write some scripts for gathering the logs up from syslog)

@pmj That all sounds good to me. Is there any value to log warning-level errors as well by default? Where will prjfs-log log to by default?
/cc @wilbaker

I've been reading up on the details of macOS's Unified Logging system a bit before I start implementing the log daemon based on it. It seems pretty reasonable to me in general; interestingly, it has an "info" log level that by default doesn't hit disk unless sometime later an error is also logged. So rather than logging everything all the time, it effectively retroactively enables verbose logging if an error occurs. Is that something we'd be interested in using?
The only downside I can see to the whole thing is that there's no programmatic API for querying the log database, only the log CLI tool. This tool at least is fairly powerful and also supports a metadata-preserving (i.e. searchable, filterable, etc.) export/archival file format that e.g. Console.app supports reading; so that's something that users could send back to us.
Documentation I've been using:

WWDC presentation on (then) new logging system
Reference documentation

Given the extremely low barrier to entry (I expect we'll simply be calling os_log_with_type() instead of printf()ing to stdout in our code.) I suggest the following:

Create a variant of prjfs-log that works as a daemon
This daemon writes to the unified logging system.
Put together some scripts that use the log CLI to produce log archives with relevant data for us.
See if we like the UX of working with these log archives and associated tooling and then decide if we want to move to something else.

It seems pretty reasonable to me in general; interestingly, it has an "info" log level that by default doesn't hit disk unless sometime later an error is also logged. So rather than logging everything all the time, it effectively retroactively enables verbose logging if an error occurs. Is that something we'd be interested in using?

That sounds like a pretty cool feature, I think it's worth giving it a try.

The only downside I can see to the whole thing is that there's no programmatic API for querying the log database, only the log CLI tool. This tool at least is fairly powerful and also supports a metadata-preserving (i.e. searchable, filterable, etc.) export/archival file format that e.g. Console.app supports reading; so that's something that users could send back to us.

I think the log tool will be enough for VFS4G.  We can update the gvfs diagnose verb to call the log CLI tool and then include the resulting export file in the zip file gvfs diagnose produces.

I suggest the following:

The approach you've outlined sounds good to me.
/ cc:@jrbriggs


Add   default contacts for sending message and call

Hi, What exactly we have to do in this. And if possible assign it to me, i will try to work on that;

Dumhttps://github.com/shagun25/SheHeroes/issues/35

Duplicate issue  - https://github.com/shagun25/SheHeroes/issues/35

What just happened


fix: login script updates

fix: Added unset command to remove any previously set AWS envs
fix: Added an echo to the end of the script to display the caller-identity
fix: Added account number and region flags

/update


Pipeline Tweaks

attempting to fix bad api route config
Other bits of cleanup (removing unused values, etc)

i think this one broke the pipeline https://github.com/bcgov/invasivesbc/runs/1277623793

i think this one broke the pipeline https://github.com/bcgov/invasivesbc/runs/1277623793

The build was breaking before, these changes were trying to fix it, but evidently didn't work.
Something is up with the route it tries to create for the api.  It complains its in use already, so one of the names is colliding somewhere.

is this the race condition you were talking about?