Performance improvement ideas

This SIMD accelerated crc library may be able to improve performance: https://github.com/srijs/rust-crc32fast
Not sure if this is related to the performance difference between this and zopfli-rs?

zopfli-rs provides bindings for the original Zopfli C code, and that code does not use a particularly fast CRC32 implementation, at least for the Gzip format.
Besides, as admitted in the zopfli-rs benchmarks, the performance of both crates is non-linear with respect to the input data size, which makes it harder to reason about. Experimentally, I've also found substantial differences in runtime when trying to compress random data vs. data with a predictable distribution, even if they have the same size. It may happen that this Rust reimplementation is slower for that particular benchmark, but faster in others.
Anyway, I think that the performance of this crate can be improved! Using crc32fast is certainly and option, and so is multi-threaded compression.

Yeah, I'm not too worried about performance really, zopfli is always going to be horrendously slow 🤣. I just came across crc32fast and thought it might be useful here.
Although, ECT has demonstrated that fast zopfli is possible. I guess you could try and figure out how it was done. zopfli#119 and zopfli#110 may be good reference.

When dealing with near-optimal algorithms like Zopfli, one must keep the no free lunch theorem in mind. A patch may perform better on a given benchmark, in detriment of other possible benchmarks :wink:
However, thank you for sharing the links! ECT certainly did some changes that are worth looking into, and multi-threading sounds like a relatively low-hanging fruit that could bring some significant performance improvements to the table.

I've switched to crc32fast and got rid of IterRead in the latest commit. I'm not sure of how much it helps performance yet, but at least the code is more elegant now :smile:

That looks great!

Nice! I measured this around 3-4% faster on one file I tested.

When dealing with near-optimal algorithms like Zopfli, one must keep the no free lunch theorem in mind. A patch may perform better on a given benchmark, in detriment of other possible benchmarks 😉

Ha, true! Though in my experience ECT can compress better than zopfli's default settings while still being far faster.
On the topic of near-optimal algorithms, libdeflate has its own implementation which is also very fast, though falls just short of the ratios that ECT/zopfli can reach.

Indeed, by the looks of it, ECT and other projects you've linked to did quite a few smart optimizations to the hot paths that work better in the practical scenarios I can imagine. Admittedly, this crate is more focused on correctness and being a faithful Rust port of the original Zopfli code than performance. Anyway, I'm glad that cleanup worked well for you, and I'd like this crate to become faster too, by implementing some of those ideas!
However, if truth be told, I didn't dive that deep into the matter, and getting these optimizations done right requires a lot of effort. I feel confident about implementing multi-threading at some point, but gaining further substantial speedups by accumulating known micro-optimizations is a task that flies right over my head right now :innocent:
For the time being, I'd like to keep this issue open to track performance improvement ideas.

Yeah, I totally understand. Wish I knew more about compression myself 🙂

I got some time and will to run zopfli under perf. I noticed that squeeze::get_cost_stat was taking up a significant chunk of CPU cycles, so I decided to start by avoiding some of the unsigned-signed type mish-mash that goes on there. This simple change brought down the compression time for a test file from ~14.91 s to ~13.82 s (7.9% improvement) on an Intel Core i7-12700 CPU.
This is by no means a scientific benchmark or the end of the road when it comes to performance optimization, but I'm amazed that this relatively simple change had such outsized impact :smile:

Nice find!


Deep link to a single race page that shows someone their congressional race, senate race, and presidential race

Currently if we link someone to a district page, it doesn't display senate/presidential info. We need a page, per district, that shows all 3 races in a "voter guide" format so we can deeplink it to people.

PRD

Dup of https://github.com/Stand-With-Crypto/swc-internal/issues/129


Refresh token is missing

Hi,
any idea why i get for any function error 400
https://login.eveonline.com/oauth/token.
{"error":"invalid_request","error_description":"Refresh token is missing."}.
???
Best Regards

There are some issues with documentProperties (where I am storing character data atm) I have discovered recently.  This will be fixed in version 5 sometime early next week.  It seems for whatever reason, data stored in there is getting deleted.
A few things to check until version 5 is out:

Make sure the character name you are using in either the CHARACTERS array or in the name param of a function matches exactly the name of your character you authed.
Make sure you authed that character.
Look in the documentProperties object to see if other data is in there.

    function test() {
        Logger.log(DOCUMENT_PROPERTIES.getProperties());
    }

Add that function to GESI.gs and run it in the script editor, then check the logs.

Everytime i try to auth the character i try to log in and when i have to enter the google authenticator i get the answer the Login failed. Possible reasons can be: Your login session has expired. Please try again.

I had the issuer too!  Was super annoying.  Solution for that i found is remove some scopes you do not use.  The URL is too long and causes issues from what i figure.

Fixec in #22


Add Prettier

Requesting thoughts from @lolleko and @tomblind

Closing for now until for lack of agreement on if this should be merged or not


R-Markdown file type

I recently realized that this plugin works with the filetype rmd, which I assume is for R-Markdown files, but the most common filetype for R-Markdown files, with some standard plugins, is rmarkdown, with the .Rmd file extension. Because of this, whenever R-markdown files are opened, the plugin is not loaded unless I use :set ft=rmd. I think this should be adjusted to allow for the .Rmd (rmarkdown) filetype.

rmarkdown is not a default Neovim filetype. The correct filetype for R markdown is rmd.
But if you have some plugin that adds a new filetype, and you want to use that, you can. Just pass the configuration for it in the setup function. You can even just use the default rmd configuration, like so.
require("headlines").setup {
    rmarkdown = require("headlines").config.rmd,
}


[NEW ALGORITHM] Trapping Rainwater

Description:
Return how much water it can trap after raining.
Checklist:

[yes ] Contributor in GSSoC-ext
[ yes] Want to work on it

Please assign me  and assigned the labels

Please assign to me so that i can start working

@Dipanita45 you can start

Okay thank you
On Sun, 13 Oct 2024, 6:49 pm Pankaj Kumar Bind, @.***>
wrote:

@Dipanita45 https://github.com/Dipanita45 you can start
—
Reply to this email directly, view it on GitHub
https://github.com/AlgoGenesis/C/issues/383#issuecomment-2408977489, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7SRZ6H6UPNETIIAGRROSITZ3JXOJAVCNFSM6AAAAABPTSQZRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYHE3TONBYHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Please also assign me #676 sir
On Sun, 13 Oct 2024, 6:57 pm Dipanita Mondal, @.***>
wrote:

Okay thank you
On Sun, 13 Oct 2024, 6:49 pm Pankaj Kumar Bind, @.***>
wrote:

@Dipanita45 https://github.com/Dipanita45 you can start
—
Reply to this email directly, view it on GitHub
https://github.com/AlgoGenesis/C/issues/383#issuecomment-2408977489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7SRZ6H6UPNETIIAGRROSITZ3JXOJAVCNFSM6AAAAABPTSQZRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYHE3TONBYHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add return types to call() methods.

update snapshots to include call fns
add return types to call() methods

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (4789f4f) 68.44% compared to head (7d32499) 68.95%.

Files
Patch %
Lines

pypechain/utilities/format.py
0.00%
3 Missing :warning:

pypechain/utilities/abi.py
96.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   68.44%   68.95%   +0.51%
==========================================
  Files          17       17
  Lines         507      525      +18
==========================================
+ Hits          347      362      +15
- Misses        160      163       +3

Flag
Coverage Δ

unittests
68.95% <86.20%> (+0.51%)
:arrow_up:

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

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


add LICENSE files

The lack of these LICENSE files prevented callCabal2nix to compile both bluefin-internal and bluefin packages.

Thanks. I took an alternative approach of merging these as links in https://github.com/tomjaguarpaw/bluefin/commit/7d99c72323ff3bcf8314a36bf88fcd20528f2962

The new change didn't fix the nix compilation issue for me. For posterity, patching the cabal files locally to get around this issue:
                bluefin-internal = overrideCabal (callCabal2nix "bluefin-internal" (filter {
                  root = "${inputs.bluefin}/bluefin-internal";
                  exclude = [ ];
                }) { }) {
                  postPatch = with pkgs; ''
                    ${rsync}/bin/rsync -avz ${inputs.bluefin}/LICENSE .
                  '';
                };
                bluefin = overrideCabal (callCabal2nix "bluefin" (filter {
                  root = "${inputs.bluefin}/bluefin";
                  exclude = [ ];
                }) { }) {
                  postPatch = with pkgs; ''
                    ${rsync}/bin/rsync -avz ${inputs.bluefin}/LICENSE .
                  '';
                };

Interesting. Why is that? Does cabal2Nix not like the symlink?

Yes, sort of! Builds in nix are sandboxed to allow for reproducible builds. Both bluefin and bluefin-internals are separate packages, so they can't depend to external objects outside of their respective root filesystems

Ah, that's interesting. In that case then I agree the best thing to do for now is to copy the root LICENSE file into each package directory.

Closing this as resolved another way. Please do reopen, or file an issue, if there's still something you're having problems with.


Nuttx Update to 7.x

Thanks to the efforts of David Sidrane, a first candidate is available for wider testing. The NuttX update per se only provides bugfixes to existing functionality, but will allow to build:

USB mass storage: Faster / convenient access to logs when connected to a computer
Smaller time slices: Optimization to scheduling to allow more accurate prioritisation for critical control tasks
Support for new devices like the CC3000 wifi module (which might be of interest)
We are using a commit from upstream + some minor patches, so we're back to mainline.

Main validation areas:

Check that none of the fixed I2C issues resurfaces. Current NuttX employs all of the fixes developed for PX4 in the past, but not using the very same code, so soak testing is required.

Changes before merge:
This PR will be rebased, so for review only. We will squash a lot of the commits and get rid of merge commits.

@LorenzMeier I get a compile error:
In file included from /home/foxie/Desktop/haukr/Firmware/src/modules/px4iofirmware/px4io.c:60:0:
/home/foxie/Desktop/haukr/Firmware/src/modules/px4iofirmware/px4io.c: In function 'show_debug_messages':
/home/foxie/Desktop/haukr/Firmware/src/modules/px4iofirmware/px4io.h:66:40: error: 'LOG_DEBUG' undeclared (first use in this function)
 # define debug(fmt, args...) lowsyslog(LOG_DEBUG,fmt "\n", ##args)
                                        ^
/home/foxie/Desktop/haukr/Firmware/src/modules/px4iofirmware/px4io.c:119:4: note: in expansion of macro 'debug'
    debug("%s", msg[msg_next_out]);

Hold on. I forgot to make archives.

Okay, it compiles after removing uavcan from the make:
make[2]: *** No rule to make target `/home/foxie/Desktop/haukr/Firmware/Build/px4fmu-v2_default.build/nuttx-export/include/nuttx/spi.h', needed by `/home/foxie/Desktop/haukr/Firmware/src/lib//uavcan/libuavcan_drivers/stm32/driver//src/uc_stm32_can.cpp.o'.  Stop.

If UAVCAN compilation fails, delete the UAVCAN dir and run Git submodule update again.

@davids5 HW test says it didn't get any serial data - does this state boot fine for you?

Boots fine (with pio error)
[boot] Initialized SPI port 1 (SENSORS)
[boot] Initialized SPI port 2 (RAMTRON FRAM)
[boot] Initialized SPI port 4
[boot] Initialized SDIO
[i] Looking for microSD...
[i] microSD mounted: /fs/microsd
[i] Init script not found: /fs/microsd/etc/rc.txt
[i] AUTOSTART mode
sercon: Registering CDC/ACM serial driver
sercon: Successfully registered the CDC/ACM serial driver
nshterm [6:70]
[uorb] ready
param: selected parameter default file /fs/mtd_params
[param] Loaded: /fs/mtd_params
[rgbled] on I2C bus 2 at 0x55
nsh: pca8574: command not found
1:   SYS_USE_IO: match
0:   SYS_AUTOSTART: match
[i] No autostart
[i] Config not found: /fs/microsd/etc/config.txt
[PX4IO::checkcrc] check CRC failed - -1
px4io: px4io is not started, still attempting upgrade
[PX4IO] using firmware from /etc/extras/px4io-v2_default.bin
[PX4IO] found bootloader revision: 4
[PX4IO] erase...
[PX4IO] programming 43620 bytes...
[PX4IO] verify...
[PX4IO] update complete
[PX4IO::checkcrc] check CRC failed - -1
[i] ERROR: PX4IO not found
[i] ERROR: PX4IO not found, disabling output
dataman: Unknown restart
dataman: Initialized, data manager file '/fs/microsd/dataman' size is 101504 bytes
commander: loaded mission state: dataman_id=0, count=0, current=0
mavlink_if0: mode: 0, data rate: 1000 B/s on /dev/ttyS1 @ 57600B
ver hwcmp match: PX4FMU_V2
[MS5611_SPI] on SPI bus 1 at 3
 init done
mpu6000: driver start failed
[MPU6000] on SPI bus 1 at 4
 probe failed
l3gd20: driver start failed
[L3GD20] on SPI bus 1 at 1
hmc5883: no device on bus 2
hmc5883: no device on bus 1
[HMC5883_SPI] on SPI bus 1 at 5
hmc5883: no device on bus 3
hmc5883: driver start failed
ver hwcmp match: PX4FMU_V2
 probe failed
lsm303d: SPI init failed
lsm303d: driver start failed
[LSM303D] on SPI bus 1 at 2
[MS5611_SPI] on SPI bus 4 at 2
ms5611: interface init failed
meas_airspeed: no MS4525 airspeed sensor connected
ets_airspeed: no ETS airspeed sensor connected
ets_airspeed: no ETS airspeed sensor connected
px4flow: driver start failed
preflight_check [63:100]
Start sdlog2 at 200Hz
[i] Start GPS
navigator: Initializing..
[i] No autostart ID found
[i] No addons script: /fs/microsd/etc/extras.txt
NuttShell (NSH)
nsh> navigator: Could not clear geofence
navigator: offboard mission updated: dataman_id=0, count=0, current_seq=0
preflight_check: magnetometer calibration is for a different device - calibrate magnetometer first
preflight_check: PREFLIGHT CHECK ERROR!
[i] microSD mounted: /fs/microsd
[i] Init script not found: /fs/microsd/etc/rc.txt
[i] AUTOSTART mode
sercon: Registering CDC/ACM serial driver
sercon: Successfully registered the CDC/ACM serial driver
nshterm [6:70]
[uorb] ready
param: selected parameter default file /fs/mtd_params
[param] Loaded: /fs/mtd_params
[rgbled] on I2C bus 2 at 0x55
nsh: pca8574: command not found
1:   SYS_USE_IO: match
0:   SYS_AUTOSTART: match
[i] No autostart
[i] Config not found: /fs/microsd/etc/config.txt
[PX4IO::checkcrc] CRCs match
dataman: Unknown restart
dataman: Initialized, data manager file '/fs/microsd/dataman' size is 101504 bytes
commander: loaded mission state: dataman_id=0, count=0, current=0
[px4io] default PWM output device
[i] PX4IO started
[i] Set PX4IO update rate limit:
mavlink_if0: mode: 0, data rate: 1000 B/s on /dev/ttyS1 @ 57600B
ver hwcmp match: PX4FMU_V2
[MS5611_SPI] on SPI bus 1 at 3
 init done
mpu6000: driver start failed
[MPU6000] on SPI bus 1 at 4
 probe failed
l3gd20: driver start failed
[L3GD20] on SPI bus 1 at 1
hmc5883: no device on bus 2
hmc5883: no device on bus 1
[HMC5883_SPI] on SPI bus 1 at 5
hmc5883: no device on bus 3
hmc5883: driver start failed
ver hwcmp match: PX4FMU_V2
 probe failed
lsm303d: SPI init failed
lsm303d: driver start failed
[LSM303D] on SPI bus 1 at 2
[MS5611_SPI] on SPI bus 4 at 2
ms5611: interface init failed
meas_airspeed: no MS4525 airspeed sensor connected
ets_airspeed: no ETS airspeed sensor connected
ets_airspeed: no ETS airspeed sensor connected
px4flow: driver start failed
preflight_check [63:100]
Start sdlog2 at 200Hz
[i] Start GPS
navigator: Initializing..
[i] No autostart ID found
[i] No addons script: /fs/microsd/etc/extras.txt
NuttShell (NSH)
nsh> navigator: Could not clear geofence
navigator: offboard mission updated: dataman_id=0, count=0, current_seq=0
preflight_check: magnetometer calibration is for a different device - calibrate magnetometer first
preflight_check: PREFLIGHT CHECK ERROR! TRIGGERING ALARM
sdlog2: log buffer size: 22528 bytes
nsh>

Having trouble compiling latest. Says I'm missing a math.h file for nuttx?

The new build does build time patching. Please try a make distclean followed by make archives.
the do a git status in the NuttX folder
You should see something like:
On branch upstream_to_greg
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

modified:   nuttx/include/signal.h
modified:   nuttx/include/stdio.h
modified:   nuttx/include/stdlib.h
modified:   nuttx/include/sys/stat.h

Untracked files:
(use "git add ..." to include in what will be committed)

nuttx/.patchedpx4common
nuttx/arch/arm/include/math.h

Yes now it works. Had to manually clean (delete) the NuttX folder and run everything again.

To keep the build process reliable, I would suggest that we should always run make distclean before switching to/from master(or a child) and nuttx_bringup

HI 6dc834d fixes The USB issue
Jan 28 12:47:48 ast1 kernel: ohci_hcd 0000:00:0f.4: wakeup
Jan 28 12:47:49 ast1 kernel: usb 2-2: new full speed USB device using ohci_hcd and address 109
Jan 28 12:47:49 ast1 kernel: usb 2-2: config 1 has an invalid descriptor of length 36, skipping remainder of the config
Jan 28 12:47:49 ast1 kernel: usb 2-2: config 1 has 0 interfaces, different from the descriptor's value: 2
Jan 28 12:47:49 ast1 kernel: usb 2-2: configuration #1 chosen from 1 choice

(and what may be a lot of issues). the assembly language memcpy did not return dest in r0 and when the stack checking was turned off  the compiler was assuming r0 was valid. In the case of the USB issue this created a jumbled up descriptor.

Replaced by #1758.


Fix default remote API url in AliceBobRemoteProvider

Fixes issue #35 .

Hi Maxence,
it was my pleasure!
Thank you, @lprost, for pointing me to this issue.
See you soon!


JoErNanO: Watch giftcards2u.com

JoErNanO requests the watch of the watch_keyword giftcards2u\.com. See the Metasmoke search here and the Stack Exchange search here.

giftcards2u\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Coverage remained the same at 66.005% when pulling 8ec187d7e72e277bbfa208fb91230ef490cc8709 on auto-blacklist-1529128757.045942 into 2306025d7a6e3ec8e7eb2781c81c73a685d0640c on master.

!!/approve


New Win7 install: Failed to load the editorconfig package

Win7_64, installing v0.208.0 via zip, v0.209.0 via AtomSetup.exe, got same error both times.

Failed to load the editorconfig package
Cannot find module 'emissary'
Hide Stack Trace
Error: Cannot find module 'emissary'
at Module._resolveFilename (module.js:328:15)
at Function.Module._resolveFilename (C:\Users\t\AppData\Local\atom\app-0.209.0\resources\app.asar\src\module-cache.js:383:52)
at Function.Module._load (module.js:270:25)
at Module.require (module.js:357:17)
at require (module.js:376:17)
at Object. (C:\Users\t.atom\packages\editorconfig\index.js:2:18)
at Module._compile (module.js:452:26)
at Object.loadFile as .js
at Module.load (module.js:347:32)
at Function.Module._load (module.js:302:12)

Figured since this is the only package in the new installs I have issues with, I'd post here.  Let me know if I should punt to atom/atom.

Installs fine for me. Atom issue, or would rather guess a network issue on your part.

Well, if emissary can't be found by your package, and Atom otherwise works fine, it would indeed point to this package as an issue.
Perhaps a combination of configurations?
In any event (pardon the pun), Atom is moving away from emissary, towards event-kit. Might be an idea to switch at some point.

I think I had this package left over from an old install.
I'm doing more testing...

Hi,
I've got this error each time I open a new project: Cannot find module 'pify'

Hi @LionelPaulus, thanks for getting in touch.

Please try to reinstall the editorconfig-package (f.e. with $ apm install editoroconfig)
Open a new issue with all necessary information so we can dig deeper into it.

📢  Whoever lands here: Please open a new issue - i lock this conversation since Failed to load the editorconfig package is a collective topic which is not meaningful and makes this thread unmanageable.


Unable to select elements by id in custom HTML elements

Hi,
I have found a bug(?) in qwery when trying to select an element when using an custom HTML element as context. I noticed this while porting from Sizzle to qwery. Try the following code to reproduce.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <surf:container id="hello">

        </surf:container>

I get the following console output (using Chrome):
Sizzle #hello [<surf:container id="hello">…</surf:container>]
Sizzle #world [

]
qwery #hello [<surf:container id="hello">…</surf:container>]
Uncaught TypeError: Object #<HTMLUnknownElement> has no method 'getElementById'

As you can see Sizzle is able to handle this, but qwery is unable to select the inner element.

This is also a problem with buttons. Test case:
lol.js:
(function() {
"use strict";
var $ = require('ender');
  function heh() {
    alert("DELEGATE ALL THE THINGS!");
  }

  $.domReady(function() {
    $('body').delegate('#emergency', 'click', heh);
  });
}());

lol.html:

Assembly Troubleshooting Guide

CLICK MEEEEEEEEEEEEEEEEEE!!!!!

I also get the following output in chrome:
Uncaught TypeError: Object # has no method 'getElementById'
Thanks :D

will look at this today

Added a PR (#61) that should fix this, @mkristo if you switch your Qwery source to https://raw.github.com/rvagg/qwery/byId/src/qwery.js it should work.
@techosaurus I haven't tested with Bean delegation but I don't see why it wouldn't be fixed now, perhaps you can test with by byId branch

@rvagg Thanks for the quick fix! I can confirm that this works properly now.

It still seems to be a bug when creating an element with document.createElement and then using the result as context when fetching by id.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

I get the following console output (using Chrome):
Sizzle [

]
qwery []

Now we're just getting fancy for fancy's sake!
I've committed some changes, rerun your test page.

@rvagg Thanks, mate! The port works perfectly now.


Support: standard text editor widget

To extend the web and desktop, it must support the Flutter standard text editor widget.
Some solutions posted on Pub.dev are not good alternatives.
Let me know if you have any plans
.

Hi @Patrick386, Adding a TextEditor widget to the framework is not possible because there are already few community-driven solutions such as https://pub.dev/packages/super_editor. Also, The flutter provides the freedom to build a texteditor on top of the existing apis.
Closing the issue as invalid, Incase you disagree feel free to write in the comments and we will roepen it.
Thank you.


Revert "Add pspEnablement value to rancher ConfigMap and pass it to webhook"

Reverts #40367. The webhook is now being changed to no longer require PSPs (it will still work on hardened clusters). In this change, we removed the option for PSPs from the chart. Therefore, we no longer need to pass down the PSP enablement flag to the webhook.

Related to #40326.


[Bug]: Tricaster clearing tally status improperly

What happened?
Take a look at the following video:
https://github.com/josephdadams/TallyArbiter/assets/19437233/9802801e-7adb-41c6-bfb6-78daf67157c1
Until fifth second of the video iam going through inputs 1-3 in preview bus. On seventh second of a video i press input 3 in PGM row on switcher. Issue: Tally status for preview is cleared.
 On eleventh second i press input 1 in preview row. Issue: Tally status for program is cleared.
I suppose this is not intended behaviour?
Version
3.0.7
Distribution
Desktop
OS
Windows
What browsers are you seeing the problem on?
Chrome
If applicable, What Listener Clients are You Using?
No response
TallyArbiter configuration
No response
Relevant log output
No response
Error stacktrace (if applicable)
No response

No, it is not how it should work. The code is currently assuming that the status from the Tricaster includes both program and preview information. Given that you have tested with a real Tricaster is that wrong, they are not always combined.

@Jocke4f thank you for looking into this!
Eagerly waiting for your merge request to complete so i can test.

Hello guys!
First test shows that tally data is being received properly from Tricaster! I will be definately testing more in upcoming week. Thank you for your efforts.
Two side questions:

Will there be any binaries which include this patch?
I cant seem to find any documentation on how reconnect system works. I see that i can edit configuration file where reconnect attempts can be modified. If i remember correctly in some previous version there was an option for reconnect interval?

Thanks once again!

This fix should be in the latest release.

Your are correct that the fix for this issue is not yet in a release, the correction was submitted after 3.0.7 was released. There are a couple of fixes that hopefully will make a difference once 3.0.8 is released but I would like to sync up with Joseph if we should look into also fixing https://github.com/josephdadams/TallyArbiter/issues/640 for 3.0.8 or not.
Den torsdag 1 februari 2024 kl. 08:25:46 CET, Slobodan Kosanovic<EMAIL_ADDRESS>skrev:

Hey @josephdadams thanks for taking your time to review this one!
Basically this fix came after 3.0.7 release and i have also tested 3.0.7 and can confirm that it does not contain it.
Source code does though.
Is there a chance we can get perhaps 3.0.8 with latest source code?
Thanks in advance for your time and efforts!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Yes we do need to fix that one

Great!
Excited for next binary release!
Thanks guys!


Command.Dialog search function does not work as expected

When type backspace filter results do not update. This issue also exists for example on https://cmdk.paco.me/

Can you share a more specific example? Pressing [Backspace] completely works for me.

Can you share a more specific example? Pressing [Backspace] completely works for me.

https://drive.google.com/file/d/10FZiUymNjKMUzKl8-zSZm-Sut0seKZSr/view?usp=sharing
When press [Backspace] to show the filter result must appear like when you type show

Hmm weird, will take a closer look.

I also noticed this issue when trying to implement this in my web app

Can you share a more specific example? Pressing [Backspace] completely works for me.

https://drive.google.com/file/d/10FZiUymNjKMUzKl8-zSZm-Sut0seKZSr/view?usp=sharing When press [Backspace] to "show" the filter result must appear like when you type show

I also noticed this issue when trying to implement this in my web app

Passing value prop to item fix the inssue for me:
<Command.Item value="textValue">textValue</Command.Item>


Provide new audio engine API to support more features like event callback

Bind new audio engine in Cocos2d-x
Implement new audio engine API with WebAudio

Duplicated with https://github.com/cocos2d/cocos2d-js/issues/1277


Wich model shouls y add to avoid this issue

Hi, i have this problem on the demo:
java.lang.RuntimeException: Failed to load model from 'file:///android_asset/graph.pb'
I'm running project on a galaxy S8 running android 7.0

The app can't find the graph.pb file So
Check whether you have the graph.pb file in the assets folder when using the android studio before building the .apk file.
or Maybe you forget to change the INPUT_NAME ,OUTPUT_NAME file argument in the ClassifierActivity.java file.


Add AMD Support

Include AMD support for the picker, and the locale files.

AMD is already in upstream for 1.5.0

How about the locales?
Sent from my Windows Phone

From<EMAIL_ADDRESS>Sent: 7/13/2015 1:22 PM
To<EMAIL_ADDRESS>Cc: Ryan<EMAIL_ADDRESS>Subject: Re: [bootstrap-datepicker] Add AMD Support (#1484)
AMD is already in upstream for 1.5.0

Reply to this email directly or view it on GitHub:
https://github.com/eternicode/bootstrap-datepicker/issues/1484#issuecomment-121029110

+1

+1 does anyone know how to shim the locales? I can't get them to work at all.

if anyone is wondering, I just wrapped an existing locale file with:
define([
  'datepicker'
], function() {

// the locale file code is here

});

And datepicker is just the path to the bootstrap-datepicker module.

Is there any chance to get the locales working natively with amd?

Hi,
While PR https://github.com/uxsolutions/bootstrap-datepicker/pull/1196 made the main script compatible with AMD and CommonJS using a UMD wrapper, locale files are still assuming jQuery is available globally.
See for example the Frenche locale file:
https://github.com/uxsolutions/bootstrap-datepicker/blob/d03ecd62619a871597abffc0cc6fd88f73b79020/js/locales/bootstrap-datepicker.fr.js#L5
https://github.com/uxsolutions/bootstrap-datepicker/blob/d03ecd62619a871597abffc0cc6fd88f73b79020/js/locales/bootstrap-datepicker.fr.js#L18
The fix would be to refactor all locale file to use the same UMD wrapper as the main file.


Data format for training from scratch

Hi, I'm quite interested in the paper. I want to know more about format of data to train the model from scratch. Do images need to be different views of the same person from different cameras, or just random 2D images with no info about yaw/pitch are enough? thank you

The training images are random 2D images (FFHQ dataset) without info about yaw/pitch.


Continue miniconda 2 support?

Our docs state we support Miniconda 2, but we don't have any testing of this taking place in busywork.

👍 for continuing Miniconda2 support unless it's prohibitive to do so (and 👍 for adding explicit testing to busywork). There's probably quite a few users who have existing Miniconda2 installs so it could be painful to have them nuke their entire conda install/envs just to use QIIME 2.

We have had a handful of users report successfully using miniconda 2 in their deployments, I think this issue is safe to close now.


Node red call service "sent data"

Current Behavior
In node-red 17.0.7, call service node no longer outputs sent data.
Expected Behavior
"sent data" output should exist
Steps To Reproduce
Create call service node for home assistant, add output property of msg.sent = sent data, and link to debug node with complete msg object. You'll see that the msg.sent object is missing in debug output (older version would output correctly).
Environment

Node-RED version: 17.0.7

Hi,
We do not maintain the Home Assistant nodes. You'll need to raise this in their forum for help.


[Bug Report] el-upload does not work on Android browsers

Element UI version
2.4.6
OS/Browsers version
Android/华为浏览器 <IP_ADDRESS>45
Vue version
2.6.9
Reproduction Link
https://jsfiddle.net/mmx38qxw/
Steps to reproduce

In android browser, open the dashboad, use el-upload to upload image.
The image does not be selected and uploaded.

What is Expected?

In android browser, open the dashboad, use el-upload to upload image.
The image can be selected and uploaded.

What is actually happening?

In android browser, open the dashboad, use el-upload to upload image.
The image does not be selected and uploaded.

It seems because "accept="image/jpeg,image/gif,image/png"".
        <el-upload
          :on-preview="handlePictureCardPreview"
          :on-remove="handlecheshengRemove"
          :on-success="handlecheshengUploadSuccess"
          :on-error	="handleUploadError"
          :before-remove	="handleBeforeRemove"
          :before-upload="handleBeforeUpload"
          :on-exceed="handleExceed"
          :file-list="cheshengfilelist"
          :action="url"
          :data="cheshengzhaopianData"
          with-credentials
          accept="image/jpeg,image/gif,image/png"
          list-type="picture-card">
          <i class="el-icon-plus"/>
        </el-upload>
``
When i change it to "accept="image/*"", it works.

  <el-form-item label="车身照片" prop="cheshengzhaopian">
    <el-upload
      :on-preview="handlePictureCardPreview"
      :on-remove="handlecheshengRemove"
      :on-success="handlecheshengUploadSuccess"
      :on-error	="handleUploadError"
      :before-remove	="handleBeforeRemove"
      :before-upload="handleBeforeUpload"
      :on-exceed="handleExceed"
      :file-list="cheshengfilelist"
      :action="url"
      :data="cheshengzhaopianData"
      with-credentials
      accept="image/*"
      list-type="picture-card">
      <i class="el-icon-plus"/>
    </el-upload>

https://yeaseonzhang.github.io/2017/03/06/%E5%BE%AE%E4%BF%A1%E6%B5%8F%E8%A7%88%E5%99%A8Bug/
https://my.oschina.net/u/2306318/blog/1512155
https://www.jianshu.com/p/1ab00ee63925

Element is designed for desktop. It's not compatible with mobile devices. FYI: https://github.com/vuejs/awesome-vue#mobile-1


Update to 0.2.1

Issue #, if available:
Description of changes:

Update to 0.2.1 to ensure nightly pre-release is properly versioned.
TODO: Merge only after 0.2.0 release.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1087-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1087/1/index.html

Job PR-1087-3 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1087/3/index.html


Introduce DirectReturn check

This PR replaces #1. I decided to pick this task up because the topic was raised after @rickie's recent Amsterdam JUG presentation. CC @SimonBaars.
Suggested commit message:
Introduce `DirectReturn` check (#513)

Just realized: ideally we do not suggest inlining if (a) the variable assigned to is of a different type than the method's return type and (b) this difference may influence the return value. Prime example here is Mockito's nullary mock() method (see also #454). I'll come back to this PR to see how we can best cover this case.

Rebased and added a commit to cover this case. Did make it Mockito-specifc, because attempts at generalization became too contrived.

Aii, misclicked and merged instead of rebased 😅.

Applied and rebased. Will merge once 🟢, thanks for taking a look so quickly.

Let's gooooo :rocket:


fix: Padding for 'How it works' fixes

🛠 Fixes Issue
Closes #210

➕ Changes Introduced
Padding and margin fix on the "How it works" section (Features.tsx file).

📄 Note To Reviewers

📷 Screenshots
Before (pb-14)

After (pb-4)

Heading
Before (pt-20, mt-20)

After  (pt-10, mt-10)

I did precisely so. I passed all 4 checks and had already provided screenshot to the changes I've made. :)


add keyboard support

The keyboard support was added on version 1.6 commit!
Thank you for your suggestion!


File-not-found behaviour in validate_camera_efficiency.py

When running
python applications/validate_camera_efficiency.py --tel_name South-SST-D

I get the following INFO / WARNING:
INFO::camera_efficiency(l319)::analyze::Spectrum weighted reflectivity: 0.9158008881525233
ERROR::config(l196)::findFile::File camera_CHEC-S_x9r.dat could not be found in /workdir/external/output/simtools-output/validate_camera_efficiency/model
WARNING::telescope_model(l534)::_loadCamera::CameraConfigFile was not found in the config directory - Using the one found in the modelFilesLocations

What does it mean and is it actually an ERROR? There is an expectation for camera_CHEC-S_x9r.dat  in a certain directory. As this is not found, it used some default. Does it mean it uses a default telescope model find in modelFilesLocations or that it found 'camera_CHEC-S_x9r.dat ' in modelFilesLocations?

This was discussed in another issue a while ago.
What happens now is that, when using the MongoDB, all the model files are written to this local directory. Then, when we need a file, we search for it on this local directory, and if not found, we search on the modelFilesLocation.
In this case, you were probably not using the MongoDB, so we didn't copy the files to the local model directory.
The question that I'm not sure about is whether or not this should be an error or just a warning.
We have to take into consideration that this behavior of searching in both directory is not suppose to be final one, since we will, at some point, remove the option of using yml files, and keep only the MongoDB option. So, in the final shape, this is actually an error. That is why I kept it like this.
One thing we can do at this point is also copying all the model files to the local directory, from the modelFilesLocation, whenever we build a model with yml files. This will logically fix this error. But on the other hand, the yml file option is only temporary.

So maybe we should ignore that, as using the DB should be the default.
I've switched now to the DB and it works without any problems.
I am closing this, ok?

Yes, ok.


cannot proceed! system shows red X for dodger-blue although all hew data correct.

Challenge Use Hex Code to Mix Colors has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36 OPR/41.0.2353.56.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

I am red!

I am green!

I am dodger blue!

I am orange!

@martkar Thank you for reporting this issue. Your code has a typo and that is preventing your from passing.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


Gjoranv/reduce dependencies part2

This removes the dependency on provided-dependencies from a couple of smaller modules. Note that modules that have compile scoped deps should use it to get the correct Import-Packages.
I have also moved a couple of provided jakson deps into provided-dependencies to simplify dependencies in container-disc and any other module using container-core.

Looks like jetty-util is missing on test classpath for some modules.

I put provided-dependencies back for container-search, as it needs most of the artifacts for unit tests.


Add support for stack traces containing wasm frames in package:source_map_stack_trace

To get nicer stack traces we probably want to add support for parsing JS stacks that contain wasm frames to package:source_map_stack_trace.

/cc @kevmoo @osa1

I've updated stack_trace to parse Wasm frames in Chrome, Firefox, Safari.
No changes needed in this package as there's nothing Wasm specific in mapping frame lines and columns to sources.
We can release a new version of stack_trace with the changes, and then bump the dependency in this package, then close this issue.


Indexing in the mini batch preparation

Hi,
Is the indexing in https://github.com/gdy-scu/FlightBERT_PP/blob/main/dataloader.py#L154 correct?
for step in range(0, self.configs.inp_seq_len + self.configs.horizon):
    t_lon.append(self.convert_tar((raw_seq_lon[step], raw_seq_lon[step - 1]), 'lon'))

If the step starts with 0, then the first element of the t_lon will be raw_seq_lon[0] - raw_seq_lon[-1], i.e. subtracting the last element from the first element of raw_seq_lon. If it is correct, can you please clarify a little bit? Thank you.

Thank you for your comment. the raw_seq_lon[0] - raw_seq_lon[-1] will be reset to 0 by lines 272 to 273:
if len(bin) > self.target_size[type]:
bin_list = [0] * (self.target_size[type])
Thus, it is Ok in our dataset, which is just like a zero padding of the differential BE representation for the first timestamp.
We have updated the code accordingly for better understanding.


Temp clone of git remote branches are not in a repository

There is an issue where remote branch configs cannot be loaded. After digging deeper into this issue, I found that there was a git command being ran, but it threw an error saying it was not in a git repository. This was in the /tmp/... directory created.
The issue seems to be that remote branches in git.py are created using the function copy_tree(gitroot, src, dst, reference, sourcepath="."), which creates the git repository shown in the following code:
with tempfile.SpooledTemporaryFile() as fp:
        cmd = (
            "git",
            "archive",
            "--format",
            "tar",
            reference.commit,
            "--",
            sourcepath,
        )
        subprocess.check_call(cmd, cwd=gitroot, stdout=fp)
        fp.seek(0)
        with tarfile.TarFile(fileobj=fp) as tarfp:
            tarfp.extractall(dst)

This ultimately causes this error to be thrown in main.py (line 245):
                   "Failed load config for %s from %s",
                   gitref.refname,
                   confpath,
               )

A simple fix would be to add git init right after the first code snippet in git.py.
cmd = (
        "git",
        "init"
    )
    subprocess.check_call(cmd, cwd=dst)

Duplicate of #17


Rel-lang-url

Implemented a link decorator feature that automatically converts links within documents to localized ones. This enhancement eliminates the need for manually appending language codes to the links.

📝 Note

[x] The render-link.html  template is provided by Hugo for inspiration.

There is a big question: how to check the presence of a localized document?
graph LR;

src_link("Link in a doc…")

src_link-->none_localized_link("… is not localized\n starts with `/docs/…`")-->
check_for_localization{"if a localized\ndoc exists"}-- "yes, it is" -->add_lng_prefix("Add lang-code\nprefix to the link")

src_link-->indoc_link("… is in the same doc\nstarts with`#` symbol")
src_link-->already_localized_link("… is localized already\n starts with\n`/lang-code/docs/…`")
src_link-->ext_link("…is an external link\nstarts with protocol\n [https:|mailto:|…] ")

ext_link & already_localized_link & indoc_link ---> asis("Keep it as is")
check_for_localization-- "no, it isn't" -->asis

If you open this against k/website, you'll get more eyeballs for feedback. You can then copy the fix to this fork.

Re: https://github.com/kubernetes/website/pull/47612 - Fixed flag deprecations and updated Hugo version to latest

The current approach fully implements the logic of link decoration by adding a language prefix to localised documents where it is not explicitly specified. Links with a hard-coded https://kubernetes.io/ or https://k8s.io/ are considered external and processed as such, even if there are localised versions of the link in the documentation. Handling such cases significantly complicates the code and processing time, and it is easier to correct such links directly in the text of documents.

https://github.com/kubernetes/website/pull/47620 - already in main


Add eval logic for tabular AMLB runs

Description of changes:
This PR introduces evaluation logic from innixma's autogluon-benchmark repository into autogluon-bench.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Once we determine if these are suitable eval changes, before merge I will update the README.md section about evaluation steps.


Ensure IndifferentAccess is injected after merge

During non-destructive merges (i.e. #merge), the IndifferentAccess mixin was
failing to inject itself into the resulting Hash. This caused a NoMethodError
to be thrown when attempting to perform the action.
Now, we properly inject the mixin when necessary so the #merge method works.
Fixes #418

oh I had run into this in the past! Needs a rebase, otherwise feel free to merge, looks good.

Rebased! Waiting on Travis now. ⌚


feat: add dnsConfig to Atlantis

what
Adds dnsConfig property on Atlantis.
why
Allows dns resolution for specific domains.
tests
unit tests made successfully.
Installed plugin: unittest

### Chart [ atlantis ] ./charts/atlantis

 PASS  test pvc charts/atlantis/tests/pvc_test.yaml
 PASS  test secret-api for api secret   charts/atlantis/tests/secret-api_test.yaml
 PASS  test secret-aws for aws  charts/atlantis/tests/secret-aws_test.yaml
 PASS  test secret-basic-auth for git basic-auth secret charts/atlantis/tests/secret-basic-auth_test.yaml
 PASS  test secret-gitconfig for gitconfig      charts/atlantis/tests/secret-gitconfig_test.yaml
 PASS  test secret-netrc for netrc      charts/atlantis/tests/secret-netrc_test.yaml
 PASS  test secret-service-account for serviceAccountSecrets    charts/atlantis/tests/secret-service-account_test.yaml
 PASS  test secret-webhook for git webhook secret       charts/atlantis/tests/secret-webhook_test.yaml
 PASS  test service     charts/atlantis/tests/service_test.yaml
 PASS  test statefulset charts/atlantis/tests/statefulset_test.yaml

references

https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config

Hi @sirpalmeirao, thanks for the contribution 😄 Can you please bump minor on Chart.yaml since this is a new feature?

Hey @GMartinez-Sisti sure. Already made that change. 🙏

Hi @sirpalmeirao, the CI failed because helm-docs needs to be match the result of the check. We prefer to have specific values for keys so they are not comments. WDYT of this method? If the suggested logic does what I think it will, there will be no changes for existing deployments, unless dnsPolicy is changed and dnsConfig is populated.

Regarding the method LGTM! 👍
I've made some changes and add the choices to the dnsPolicy on the schema file to avoid people to put values that are not acceptable. Also I change the condicional so that ClusterFirst don't show when we put as the value of the variable dnsPolicy since it is the default.


chore: add some comments / move some code

picked from #10910
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR contains user-facing changes.

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

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

Release note

weird 👀  cc @kwannoel

weird 👀  cc @kwannoel

Could be https://github.com/risingwavelabs/risingwave/pull/10913?

😇 again @kwannoel

🤔


Feature request - Create stubs for public methods #11

Generate test methods for each public method available in the selected class.
The test methods will be placed where the new token "$TestMethods$" is specified in the file template
New templates are available :
- Tested object creation : code to instantiate the object to test in each test method
- Tested object reference : name of the local variable or field of the object to test in the test method
Added new test cases

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: rCartoux sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!
I am thinking now about some problems I didn't see:

When the class has methods with arguments having ref or out modifiers : does not work now, need to add local variables. Also need to check what happens if there is params keyword in the arguments
Now content tokens are accepted and replaced in the tested object creation and reference template, which does not make sense except for $ExplicitConstructor$ in the creation one. But maybe it is a separate issue about validation in general (define and validate in the settings ui which tokens are allowed in which templates) ?

Ok thanks! will do

You're right, the "accepted tokens" list might need a bit of shuffling around. Also https://github.com/Microsoft/UnitTestBoilerplateGenerator/wiki/Custom-Format-Tokens will need an update.

With your latest version I'm getting an exception when trying to generate from ClassWithMethods to VSTestCases:

System.NotSupportedException: Parameter type not supported
at UnitTestBoilerplate.Services.TestGenerationService.GetArgumentDescriptors(List1 argumentList, SemanticModel semanticModel, MockFramework mockFramework) in D:\git\UnitTestBoilerplateGenerator\src\Services\TestGenerationService.cs:line 324    at UnitTestBoilerplate.Services.TestGenerationService.<CollectTestGenerationContextAsync>d__9.MoveNext() in D:\git\UnitTestBoilerplateGenerator\src\Services\TestGenerationService.cs:line 238 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at UnitTestBoilerplate.Services.TestGenerationService.d__15.MoveNext() in D:\git\UnitTestBoilerplateGenerator\src\Services\TestGenerationService.cs:line 343
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at UnitTestBoilerplate.Services.TestGenerationService.<GenerateUnitTestFileAsync>d__6.MoveNext() in D:\git\UnitTestBoilerplateGenerator\src\Services\TestGenerationService.cs:line 57 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at UnitTestBoilerplate.ViewModel.CreateUnitTestBoilerplateViewModel.d__54.MoveNext() in D:\git\UnitTestBoilerplateGenerator\src\ViewModel\CreateUnitTestBoilerplateViewModel.cs:line 181
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at UnitTestBoilerplate.ViewModel.CreateUnitTestBoilerplateViewModel.<<get_CreateUnitTestCommand>b__53_0>d.MoveNext() in D:\git\UnitTestBoilerplateGenerator\src\ViewModel\CreateUnitTestBoilerplateViewModel.cs:line 166

Hi David,
yes I just saw thx, I have a look
Robin
On 30 June 2018 at 14:06, David Rickard<EMAIL_ADDRESS>wrote:

With your latest version I'm getting an exception when trying to generate
from ClassWithMethods to VSTestCases:
System.NotSupportedException: Parameter type not supported
at UnitTestBoilerplate.Services.TestGenerationService.
GetArgumentDescriptors(List1 argumentList, SemanticModel semanticModel,
MockFramework mockFramework) in D:\git\UnitTestBoilerplateGenerator
src\Services\TestGenerationService.cs:line 324 at
UnitTestBoilerplate.Services.TestGenerationService.<
CollectTestGenerationContextAsync>d__9.MoveNext() in D:\git
UnitTestBoilerplateGenerator\src\Services\TestGenerationService.cs:line
238 --- End of stack trace from previous location where exception was
thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task) at System.Runtime.CompilerServices.TaskAwaiter.
HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.
CompilerServices.TaskAwaiter1.GetResult()
at UnitTestBoilerplate.Services.TestGenerationService.d__15.MoveNext() in
D:\git\UnitTestBoilerplateGenerator\src\Services\TestGenerationService.cs:line
343
--- End of stack trace from previous location where exception was thrown
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.
HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at
UnitTestBoilerplate.Services.TestGenerationService.<
GenerateUnitTestFileAsync>d__6.MoveNext() in D:\git
UnitTestBoilerplateGenerator\src\Services\TestGenerationService.cs:line
57 --- End of stack trace from previous location where exception was thrown
--- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task) at System.Runtime.CompilerServices.TaskAwaiter.
HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.
CompilerServices.TaskAwaiter1.GetResult()
at UnitTestBoilerplate.ViewModel.CreateUnitTestBoilerplateViewModel.d__54.MoveNext()
in D:\git\UnitTestBoilerplateGenerator\src\ViewModel
CreateUnitTestBoilerplateViewModel.cs:line 181
--- End of stack trace from previous location where exception was thrown
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.
HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at UnitTestBoilerplate.ViewModel.CreateUnitTestBoilerplateViewModel.<<get_
CreateUnitTestCommand>b__53_0>d.MoveNext() in D:\git
UnitTestBoilerplateGenerator\src\ViewModel\CreateUnitTestBoilerplateViewModel.cs:line
166
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/UnitTestBoilerplateGenerator/pull/28#issuecomment-401540145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV8YZF3oy4D7PuGezXKovuZsY73VuaJ7ks5uB3fqgaJpZM4U1IK9
.

Awesome! Can you re-run the self-test to update the expected output for the default method changes you made? And let me know when you're all done with the changes and I'll ship it.

Ok!
Unfortunately there are still some cases I need to check like arguments
which are one or multidimensional arrays, params/ref/out modifiers etc
Then I ll do the test cases, maybe add some new ones. I let you know when
its ready
Thx for the feedback
Cheers
On 30 June 2018 at 14:48, David Rickard<EMAIL_ADDRESS>wrote:

Awesome! Can you re-run the self-test to update the expected output for
the default method changes you made? And let me know when you're all done
with the changes and I'll ship it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/UnitTestBoilerplateGenerator/pull/28#issuecomment-401542393,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV8YZC1DCHppUQobsJpET7fbLOWl_WmUks5uB4GfgaJpZM4U1IK9
.

should be ok now

Now getting this when I invoke the create unit test boilerplate option:
System.Reflection.TargetParameterCountException
  HResult=0x8002000E
  Message=Parameter count mismatch.
  Source=mscorlib
  StackTrace:
   at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.VisualStudio.Composition.ReflectionHelpers.Instantiate(MethodBase ctorOrFactoryMethod, Object[] arguments)
   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
   at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()
   at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()
   at System.ComponentModel.Composition.Primitives.Export.get_Value()
   at System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)
   at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastSingleExportToImportType(Type type, Export export)
   at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToSingleImportType(Export[] exports)
   at System.ComponentModel.Composition.ReflectionModel.ImportingItem.CastExportsToImportType(Export[] exports)
   at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)
   at System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportDefinition definition, IEnumerable`1 exports)
   at System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)
   at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)
   at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)
   at System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)
   at System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)
   at System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)
   at Microsoft.VisualStudio.Composition.NetFxAdapters.CompositionService.SatisfyImportsOnce(ComposablePart part)
   at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)
   at UnitTestBoilerplate.View.CreateUnitTestBoilerplateDialog..ctor() in D:\git\UnitTestBoilerplateGenerator\src\View\CreateUnitTestBoilerplateDialog.xaml.cs:line 20
   at UnitTestBoilerplate.Commands.CreateUnitTestBoilerplateCommand.MenuItemCallback(Object sender, EventArgs e) in D:\git\UnitTestBoilerplateGenerator\src\Commands\CreateUnitTestBoilerplateCommand.cs:line 109
   at Microsoft.VisualStudio.Shell.OleMenuCommand.Invoke(Object inArg, IntPtr outArg, OLECMDEXECOPT options)
   at Microsoft.VisualStudio.Shell.OleMenuCommandService.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& commandGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr pIn, IntPtr vOut)
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr pIn, IntPtr vOut)

Thanks again. Released with 1.9. Would you be able to also update the "tokens" wiki page? https://github.com/Microsoft/UnitTestBoilerplateGenerator/wiki/Custom-Format-Tokens

sure!

Also a super easy way to help is rate it on the marketplace: https://marketplace.visualstudio.com/items?itemName=RandomEngy.UnitTestBoilerplateGenerator it only has a handful of reviews. There is a guy who hasn't updated his 1-star review months after I added xUnit support for him. :/

I have updated the custom format tokens page in my wiki fork : new TestMethods and TestedMethodName formats
https://github.com/rCartoux/UnitTestBoilerplateGenerator-wiki
(not sure how to proceed with wiki issues / pull requests)

I'll just copy/paste. Thanks!


MINOR: Move Throttler to storage module

Throttler is one of the dependencies required in order to move LogCleaner out of core.
Committer Checklist (excluded from commit message)

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

None of the test failures seem related, merging to trunk.


[Bug]: Query params are not added to requests that also have a body

Describe the bug
When trying to send a PUT/POST request using SHAFT's Request builder query params are not added to the request if the request also has a body.
If the request does not have a body, then query params are added.
To Reproduce
Steps to reproduce the behavior:

Build a POST/PUT request with anything in the body (but not null) and some query params (again, not null)
Send the request

Expected behavior
Request is sent with both body and query params.
Actual behavior
Request is sent only with body.

Can you share a snippet of native code that's working for you dear?
Usually only one of the three is used. Form parameters, query parameters or body. So this was actually by design from our side and not a bug
But if we understand the reasoning we can enhance it


Add a new record

Add a new record (https://managing-registers-staging.cloudapps.digital/country/new)
From: Add a new country record
To: Add a new record

See description (just added)


IrcConnection

Mentioned to you that I may have a stab at porting Meebey's IrcConnection into .NetStandard1.6.
This so far. I ditched the DCC functionality, as we don't need it.
https://github.com/prom3theu5/TwitchIRC
I still need to redo thread termination in IrcConnection by adding in Cancellation Tokens for each thread started.
Currently, it should run under .net core on Windows, Linux and OSX.
There is a test console app, shows it's a drop in replacement - or at least will be once the threading is sorted :)
Edit:
Alternatively - could move the entire Chat system over to a websocket implementation.

Haven't had a lot of time, but saw your pull request and left a comment there.

I believe this has been dealt with :)


Isolate configuration doesn't call close on the database

Hello SImon, I recently enabled WAL mode with an isolate setup and I noticed that after shutting down the isolate, the extra files "-shm" and "-wal" from SQLite are not deleted, which they should when all the connections to the database get closed (Section 4 in https://sqlite.org/wal.html)
In fact, if I remove the isolate implementation, they do get removed. Maybe the following method in the server implementation should include await connection.executor.close()
@override
  Future<void> shutdown() {
    if (!_isShuttingDown) {
      _done.complete();
      _isShuttingDown = true;
    }

    return done;
  }

Thanks for such a great library!

Ouch, good point! I've added the missing close call now.


Fix buffer enable/disable logic in commands.lua

Changed the buffer disabling logic to set neocodeium_disabled to true as it is used in completer. Otherwise neocodeium_enabled was never used.

Thanks. It's a good catch, I forgot to document this feature (haven't used it myself), so wasn't aware of such lame mistake. But I will reject this PR, I would rather leave this buffer variable as neocodeium_enabled and in that case change this line https://github.com/monkoose/neocodeium/blob/79d611ed38642d047aa7739c858c9fb57cab34be/lua/neocodeium/completer.lua#L76
not vim.b.neocodeium_disabled to vim.b.neocodeium_enabled


Remove unused BorderedText variables from DetectoryActivity

Hi,
we were reading through how the image labelling was being added to the CameraPreview and it looked like these variables were not used. It looks like this is now handled through MultiBoxTracker and this is redundant.
Thanks!

Hi @q3ni,
We can't merge this unless you sign the CLA. Be sure to use the same email address as you used to author the commits.
Thanks.

@googlebot I signed it!


Single panel for range-picker

Instead of two panels, single panel for daterange picker?

When two panels have the same month, it's maybe difficult to convert two panels to a single panel.  Maybe a good way is disabled 'next month selecting' for left panel when unlink-panels is true and month is close,  just like this

The jsfiddle links is wrong. can you please update it ?

See here: http://element.eleme.io/2.0/#/en-US/component/date-picker#date-range


fix bug in remote getData

Codecov Report

Merging #95 into release-0.2 will not change coverage.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             release-0.2     #95   +/-   ##
=============================================
  Coverage           39.4%   39.4%
  Complexity           576     576
=============================================
  Files                136     136
  Lines               4360    4360
  Branches             313     313
=============================================
  Hits                1718    1718
  Misses              2517    2517
  Partials             125     125

Impacted Files
Coverage Δ
Complexity Δ

...com/webank/wecross/stub/remote/RemoteResource.java
93.86% <100%> (ø)
23 <0> (ø)
: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 04129a1...7952451. Read the comment docs.


loadExternalTokens incorrectly assigns expires_in to expiresOn

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.23.0
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.3.2
Description
In the code to side-load an access token the expires_in field from the server response is written to the cache as expiresOn. This causes all access tokens to fail validation because they appear to be out of date (at a time very close to epoch time).
expiresOn is a date
expires_in is a number of seconds
Error Message
No response
Msal Logs
No response
MSAL Configuration
{ not-relevant }

Relevant Code Snippets
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/f8f7c2068905e9ce2be9046400f808d208bf5573/lib/msal-browser/src/cache/TokenCache.ts#L138

Reproduction Steps
Using loadExternalTokens will usually fail due to a number of errors because of this
Expected Behavior
expiresOn is written as expires_in + current date as a workaround
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome
Regression
No response
Source
External (Customer)

@prsauer Thanks for the PR, will review and provide feedback.

@prsauer This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale.

#4711 awaiting review

@prsauer Thanks, reviewing!


[pyspark] Use quantile dmatrix.

Close https://github.com/dmlc/xgboost/issues/8083 .

@WeichenXu123 @wbo4958 Please take a look when you are available.

@wbo4958 Could you please take another look?

LGTM

Apologies for the new changes. For some reason, the pytest mark doesn't work with test cases derived from the python unittest module.


Revamp working of Batched Solvers

Some very crude benchmarks using a problem size of 1 x 1000 (i.e., 1000 batch size)
Broyden

OLD: 11.312 ms (883 allocations: 2.27 MiB)
NEW: 10.678 ms (545 allocations: 548.62 KiB)
NEW (in-place): 10.915 ms (522 allocations: 373.94 KiB)

LBroyden

~OLD: Failed Convergence~
~NEW: Same Failed Convergence~
~NEW (in-place): Same Failed Convergence~

Not updating it since my updates again broke it. For NN cases anyways BatchedDFSane seems to be more reliable and fast.
SimpleDFSane

OLD: 1.389 ms (1510 allocations: 2.61 MiB)
NEW: 1.093 ms (261 allocations: 1.05 MiB)
NEW (in-place): 1.014 ms (242 allocations: 929.45 KiB)

Raphson

OLD: N/A
NEW: 997.954 ms (6452 allocations: 142.61 MiB)
NEW (in-place): N/A

Summary of Updates:

Instead of doing if batching and similar, I am separating the code for batched and unbatched versions for easier maintenance
Better caching of arrays lowering allocations significantly
Ideally, inputs are Matrices. If not,

A vector is assumed to have a batch size of 1
Any higher dimension array is treated as a matrix by collapsing all but the last dimension

Inplace functions are supported!!

@ChrisRackauckas, this is ready for review. This is quite an aggressive change to how things work internally, but the speedups seem worth it.
The CI failures seem related to SciMLOperators and LinearSolve.

@ChrisRackauckas bump on this


Large breakage on NonStop - No plan found in TAP output [master, 3.2]

The commit 6d552a532754f6ee66d6cc604655deaeb5425b16 on the openssl-3.2 branch fails in a number of places in all NonStop builds. Help is needed.
70-test_certtypeext.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_comp.t                        (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_key_share.t                   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_quic_multistream.t            (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
70-test_quic_tserver.t                (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
70-test_renegotiation.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 5 tests but ran 0.
70-test_sslcbcpadding.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslcertstatus.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslextension.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslmessages.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslrecords.t                  (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslsessiontick.t              (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslsigalgs.t                  (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslsignature.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslskewith0p.t                (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslversions.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_sslvertol.t                   (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tls13alerts.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tls13cookie.t                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tls13downgrade.t              (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tls13hrr.t                    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tls13kexmodes.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tls13messages.t               (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tls13psk.t                    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
70-test_tlsextms.t                    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
79-test_http.t                        (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
80-test_cmp_http.t                    (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
80-test_ssl_old.t                     (Wstat: 512 Tests: 13 Failed: 2)
  Failed tests:  2, 8
  Non-zero exit status: 2
Files=295, Tests=3515, 2441 wallclock secs (10.01 usr  0.00 sys + 1450.35 cusr 21.76 csys = 1482.12 CPU)
Result: FAIL

I very much doubt it's that specific commit, as it's a Windows specific commit (i.e. irrelevant for you).  A wild guess is that you have a fairly serious build failure, and we're just getting to see the downfall.  A complete build log would help.

Agreed, I can't fathom a relationship between the windows template and the above failures.  In addition to the build log @levitte asked for, it might be valuable to run some of the tests directly to gather additional output.  For instance, running :
./test/quic_multistream_test
directly might be somewhat revealing

The last confirmed successful build/test we had was at commit 9e75a0b911ffb2ad99190a72a3d740d100edf61f. This is for the unthreaded builds. The whole build/test is attached.
openssl.3.2.fail.log

That's quite a range of commits...
$ git log --pretty=oneline 9e75a0b911ffb2ad99190a72a3d740d100edf61f..6d552a532754f6ee66d6cc604655deaeb5425b16
6d552a532754f6ee66d6cc604655deaeb5425b16 Fix typo in variable name
a091bc6022b23c0b1caf1c7acbb1f15bdf290816 Move freeing of an old record layer to dtls1_clear_sent_buffer
e59ed0bfeece9db433809af2cebbe271a402d59b zero data in hm_fragment on alloc
5091aadc223315ce115ee12f62df2af173bf5efb augment quic demos to support ipv4/6 connections
cf6342bc024868f5a55f2225f2e083415fb1329a NOTES-WINDOWS: fix named anchor links in table of contents
5f6b08e218974d4fbbd77ffedc2d94a08a194cc2 Bump actions/github-script from 6 to 7
4ea752997df83c2a694fdb157aab07908303fc90 Configure: do not check for an absolute prefix in cross-builds
dcfd8cfd4abf4a9fd26aef290dcdd5b4bb1c7f7a Update ci and ABI xml files to validate function parameters
46376fcf4b6d11ec417c2a530475037d4d09fcbf Correct tag len check when determining how much space we have in the pkt
aa6ac60728207ba18779d7cbe71893c066bcbc28 Add some additional tests for the new fc "consumed" params
e57bf6b3bfa2f0b18e5cad7fd3c5fdd7c51516b9 Keep track of connection credit as we add stream data
f5a63bf1c02cf0605ce3f5614cd016c3750766d3 Fix SHA3_squeeze on armv4.
86db958835d1f8ba9ce49a9f93b5309c3d13b91c demos: tidy up makefiles, fix warnings
56aa3e8d1a286e11e56d9a9f6373c33a87a69ff4 Import repro from #22708 as a test case
11e61b3174762ec21ce0875a6449c61e316b4a0b Fix BLAKE2s reporting the same EVP_MD_get_size() as BLAKE2b (64)
4f0172c543dd0f5582d52185bfe2c132faee9c8e README: add link to OpenSSL 3.2 manual pages
ed5e478261127cafe9c3f86c4992eab1e5c7ebb1 ppc64: Fix SHA3_squeeze
10264b534b366785bb560be77913fdbf9f0f4f8f Document the exporter change in CHANGES.md and NEWS.md
c768ccebc718ea0ed6afc5147fe4079fff632cd6 Add exporters for CMake
2ac569a67b9d0980efa2d8061a6a61e0645f37a7 Clean up exporters, specifically those we have for pkg-config
fe487609c17dac049f867f230e09ee090b65e966 Exclude more in the fuzz introspector report
456b32ba4f85000d168230b8cc5f58571699ed63 Rearrange some CI jobs
0ddcb55b602800d4a1bcf1e76ca32939ed4fdaa4 Correct 50-nonstop.conf to support QUIC tests under SPT threading models.
7602bf871564df86005f6c4c989f1d7cc2393878 Enable AES and SHA3 optimisations on Apple Silicon M3-based macOS systems
f63e1b48ac893dd6110452e70ed08f191547cd89 Force Nonstop to use fcntl(F_GETFL) in BIO_sock_nbio
9890cc42daff5e2d0cad01ac4bf78c391f599a6e set_client_ciphersuite(): Fix for potential UB if session->cipher is NULL
ae9fe65d9f85e027bd7428e0f84aa46ab368880e Augment rand argument parsing to allow scaling
66c27d06e0e9a1bb716c67390ad9e5ac613d45d3 Properly limit the variable output size for BLAKE2

@levitte I will run a bisect but it will take a while. Stay tuned.

I went through the log you gave us (thank you!), and since it was about test failures, I went searching for not ok.  And yeah, I found some, all having the exact same pattern, exemplified by the first:
        # 00000000:error:10080106:BIO routines:BIO_socket_nbio:passed invalid argument:/home/jenkinsbuild/.jenkins/workspace/OpenSSL-3.2_Monitor/crypto/bio/bio_sock.c:391:
        # OPENSSL_TEST_RAND_SEED=1700625731
        not ok 1 - iteration 1

So I went looking for commits in the given range that touched crypto/bio/bio_sock.c:
$ git log --pretty=oneline 9e75a0b911ffb2ad99190a72a3d740d100edf61f..6d552a532754f6ee66d6cc604655deaeb5425b16 -- crypto/bio/bio_sock.c
f63e1b48ac893dd6110452e70ed08f191547cd89 Force Nonstop to use fcntl(F_GETFL) in BIO_sock_nbio

It's possible this is good enough to lead to a solution.  I don't think I can help much further...

That was from the series trying to get SPT to work. I suggest reverting that particular PR or at least the change in BIO_sock_nbio. I am continuing the bisect just in case.

#22696 was only that commit.
A simple thing you could try locally would be git revert f63e1b48ac893dd6110452e70ed08f191547cd89 and build from there to see if that solves anything.

@rsbeckerca but you had tested that change when we were tracking down your hang, and it passed all tests at the time, no?

@rsbeckerca but you had tested that change when we were tracking down your hang, and it passed all tests at the time, no?

@nhorman It passed for SPT. I did not run Unthreaded for it.

 I'm going to try to revert that one and retest.

Also, my team has decided that we are going to officially (and publicly) drop support for SPT as part of 3.2, including deleting the configurations for it. There is a new threading model coming that I hope to add - it should just be a new/replacement configuration in 50-nonstop.conf once we have certified, which should be around March.

Thanks for the effort in trying to get it to work, but given the issues we've looked at here, that sounds like a very reasonable approach

Thanks for the effort in trying to get it to work, but given the issues we've looked at here, that sounds like a very reasonable approach

I have essentially given up on SPT for the long term. Thank you for all of your support, though. A PR is coming with resolutions to all of this, once I am done testing, including SPT deprecation.

thank you!

This situation persists for 3.2 and master branches.

Thanks team. The build/test cycle worked for master and 3.2. Much appreciations.


Example package

Hi. I really appreciate your hard works to create this great library. Could you please create an example directory for newcomers?

Good idea.
Meanwhile, I was trying to invoke each function in some test. So tests should provide some ideas on how to use the functions.


⚠ Secret Website 2 has degraded performance

In b9f9ad8, Secret Website 2 ($SECRET_WEBSITE_2) experienced degraded performance:

HTTP code: 200
Response time: 3826 ms

Resolved: Secret Website 2 performance has improved in 748218b.


⚠ Bofrost.at has degraded performance

In 50c5dd6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 851 ms

Resolved: Bofrost.at performance has improved in 126c41c.


Update Video and Reels class

[ ] Create a class to download videos
[ ] Refactor Video class
[ ] Add command to download Reels
[ ] Add command to download Videos
[ ] Add command to download single video/reel just by passing URL


Auto generating md for examples

Updated mkdocs.yml to include examples URLs
created utils/build_examples.py to build example markdown for each language
added workflow to deploy-docs.yml

I think this is an interesting idea, but from a sustainability standpoint I think it would be much easier to let each project handle examples that are language specific and we can just link to them. This will also extend to community languages that we don't directly create.

Closing, too early for me to consider how we document examples


Adding debounce to fix editor flicker

#374

Closing this in favor of #385, since the problem is highlighted with the improved autocomplete. This code in #379 has all been merged into #385.


Replace incorrect sumstats files for 2 studies (PMID 37291194)

The author of this publication (PMID 37291194) has brought to our attention an error in the summary statistics files, which affects 2 studies.
The author has sent us amended copies of the files and these are currently stored on the private FTP. I have identified the following information, which is stored in the attached Excel spreadsheet:
study_accession: GCST of the study
study_tag: Study tag for the study in the original submission
study_directory: Existing directory for this study on the public FTP
current_filename: Filename of the current summary statistics file (within the study_directory) which contains the error and needs to be replaced
replacement_directory: Location of the new corrected file, which needs to be moved to the study_directory to replace the old file. Note that the replacement files are split between two subfolders, depending on the type of study (single variant vs gene burden), but I don't think this should affect the replacement process.
replacement_filename: Filename of the new replacement summary statistics file (within the replacement_directory). When the new file is moved to the study_directory, it should be renamed to match the current_filename.
replacement_md5sum: md5sum of the replacement file
I need help to replace these files in bulk. I think the steps should be:

Move each replacement_filename from replacement_directory on private FTP to study directory, to overwrite the current_filename.
Update the YAML file in the study_directory: the only thing that should need changing in the YAML file is the md5sum. Everything else should stay the same.
Update the md5sum.txt file to display the new md5sum.
Restart harmonisation of the file (I'm not sure of the details about this).

37291194-amendments-plan.xlsx

confirmed, files have been synced

Will pass GCSTs to Yue to be re-harmonised.


An Error in Pytorch1.4.0

Code ( main.py line 124 ):
 outputs = [torch.squeeze(output, 1) for output in outputs]
The shape of outputs and disp_L  are [6,1,,]，so it seems unnecessary to squeeze.

Hi, now it only supports pytorch 1.0. Please try pytorch 1.0. I am working on adapting the code to pytorch 1.4.

Hi, is there still a plan to support for pytorch 1.4?

Hi, is there still a plan to support for pytorch 1.4?


 Clean your repository.

[ ] Clean your repository

Won't be fixed in the near future.


A few small changes and a fix.

A few small changes and a fix (Definitely did not rewrite half of the mod). Here's what I did:

1.21

I switched the main branch over to 1.21.
Maintaining the 1.20.x branches is as simple as swapping the two uses of PlainTextContent.Literal in the CombinedFilter class with LiteralTextContent. Everything else is compatible.

Translation Key Source is Now Considered

Translation keys from vanilla resource packs (vanilla and realms) are unfiltered.
Translation keys in server resource packs are now unfiltered (and collision-safe). When resources reload, MDP will now collect all keys from server resource packs, as well as their values. When the server requests one, MDP will send back what the server sent in the pack, even if a different local (non-server) pack overrides it.

This should hopefully fix the vulnerability found in #6 (the specific comment in question).

Modded translations and translations in local resource packs are still blocked.

Keybinds are Falsified

When a server uses this exploit to request a keybind, MDP will send back the factory setting key of the keybind. For example, if the server requests the key.sprint key, the player can have R as their sprint key, but MDP will respond with Left Control (localised).
This only applies to vanilla keybinds. Non-vanilla keybinds are still blocked.
Since the server has access to the client language through SyncedClientOptions, sending a different language than the one the server thinks the client is supposed to have loaded could potentially be detected. Thus, I decided to not make translations send back the default en_us value like the keybinds do.

De-hardcoding

I removed the hardcoded vanilla keybinds list, and the vanilla keybinds gzip file. They are now automatically detected when the game starts, or when the resource pack reloads.

Logging Messages

When MDP allows, blocks, or falsifies a keybind/translation key, it will print a warning in chat. This could be useful for probing certain servers.

Compatability

I replaced the @Redirects with @WrapOperations, from LlamaLad7's MixinExtras library. @Redirect may collide with other mods, while @WrapOperation will not collide with other mods. This library pretty much just comes with fabric.

I have tested this on a server which I know has a system which can detect the previous version of MDP. They did not detect any mods I have installed, and can not detect MDP by introducing their own translation keys.

Just pushed a commit which fixes a bug causing keybinds from certain mods (Freecam for example) to be classified as vanilla, and allowed to pass through.

Hello,
thanks for the pr! Unfortunately I don't have that much time at the moment, I won't be able to merge it soon.
About the project itself: I am no longer interested in maintaining this mod (because I don't want to be responsible for people getting into trouble for using it). This means, your change won't be put on modrinth or curseforge by me. However, I am open to someone taking over the project.
Cheers!

I still have the ressource pack failed kick message in Cytooxien server

Hello, thanks for the pr! Unfortunately I don't have that much time at the moment, I won't be able to merge it soon.
About the project itself: I am no longer interested in maintaining this mod (because I don't want to be responsible for people getting into trouble for using it). This means, your change won't be put on modrinth or curseforge by me. However, I am open to someone taking over the project.
Cheers!

It would be great if someone would take over the project if you decide not to update it. The implementation from the PR looks good to me, except for the very strange @Totobird-Creations code style. :sweat_smile:


Resize Fold Column Width

Feature description
To set up the fold column width. On my NVim configuration, that column is thin so we can almost see the icons. It is the first column, next to the Git column.

Describe the solution you'd like
A property like:

nvim.o.foldcolumnwidth=5

Additional context
No response

The width of each fold column can not be changed. It's a fixed width equal to the char cell width set by the terminal itself. Next, nvim.o is for neovim's builtin options and a single plugin cannot add and define more options.


📦 NEW: Add binary index html

closes https://github.com/cnpm/cnpmcore/issues/84

https://cnpmjs.org/binary => https://r.cnpmjs.org/binary.html


Enhancements vans

Description of the problem
-New void fraction scheme was not reflecting good values at boundaries.
-Some drag models had issues with their units
-Added a feature to print particle velocity at every time step for the sedimentation test case and output it in a file.
Description of the solution

Removed the need for special calculation at the boundaries for the new void fraction scheme and added the quadrature weights in the calculation of the void fraction. This way every quadrature point will have a different contribution to the cell void fraction depending on its relative weight.
Fixed the units for the drag models and used formulations that are presented in article for the momentum exchange coefficient

How Has This Been Tested?

For the void fraction it has been tested by comparing different void fraction schemes for the spouted bed and finding that treating the boundaries indifferently led to the most realistic void fraction scheme and mass conservation.
For the drag models, the spouted have been simulated with these models and the first bubble formed has been examined. Previously, the bubble was very small and incomparable to the article experiment and simulations. Now its form is completely comparable.

Documentation
-N/A
Future changes
-N/A
Comments
-N/A

I removed the table and file creation for particle velocity as it was only needed for a single comparison case.  These are the equations for the drag:  Beestra eq. 7 and 8. They reference the main Beestra paper but they write the drag for in a way that can be written as F=Beta(u-v). All the other equations remained the same as the references from the documentation of the parameters of Unresolved CFD-DEM.

Nice catch with this PR, @tonielgeitani ! All is good to me now.


Keyboard Shortcut for editor.action.format not working

Smoke Testing 1.7.2

VSCode Version: 1.7.2
OS Version: Windows

Steps to Reproduce:

Add a keyboard shortcut for editor.action.format

{
   "key": "ctrl+shift+w",
   "command": "editor.action.format"
}

Use the shortcut on any js or ts file

Expected : File gets formatted
Actual     : No Change
The Right Click -> Format Document works though

https://github.com/Microsoft/vscode/issues/15040

I agree with https://github.com/Microsoft/vscode/issues/15040#issuecomment-259784832
editor.action.format should be removed from the list of available commands

It's actually not doing anything anymore...


Z implementation does not compile

I am unable to get the Z interpreter to compile. When I compiled the file verbatim, I got:
File "z.ml", line 56, characters 50-51:
Error: Syntax error: operator expected.

When I removed the second space in the character literal, I got:
File "z.ml", line 63, characters 26-32:
Error: Unbound value regexp

When I replaced regexp with Str.regexp, I got:
File "z.ml", line 68, characters 41-50:
Error: Unbound value real_line
Hint: Did you mean read_line?

When I replaced real_line with read_line, I got:
File "z.ml", line 68, characters 35-73:
Error: This expression has type (int -> int array * int * int) * string list
       but an expression was expected of type 'a * 'b * 'c * 'd

And that's when I gave up since I don't actually know OCaml. Is there some unusual build environment I'm missing here?

Thanks, I'll fix that.

You can now compile it and run to have a REPL.


New to react and need help implementing the Month selector and year selector functionality

I'm relatively new to react as well as GitHub, and need some assistance using the year selection functionality on react-dates.
I have used react-dates on a dummy project I made following a course on Udemy, and dd not need that functionality. I've followed up on #25 and #1106 but I wasn't really able to grasp the implementation part.
I'm an intern and the current project I'm a part of, requires that functionality to be added. Could someone please walk me through the use of react-dates in my basic application, say, a form, from importing, to passing the props, to rendering captions and all. Any help would be appreciated. I'm not sure if I should have posted this as an Issue, so if that was not supposed to be done, please excuse me, and kindly move this to wherever this question should be. I'm sorry if this shouldn't have happened.
I have attached the screenshot of how it currently looks to me.
Thanks in advance!

Did you solve this? I'm having the same issue.

@swaritkohli Thank you so much, this solved it for me as well!


fix bugs

@jzhang38 , I realized this fix results in the validation set of slimpajama being too small, thus having index error in _load_n_chunks.
https://github.com/Lightning-AI/lit-gpt/blob/64efb7c7fbf7aa95c011f7045a45ff8a0a445010/lit_gpt/packed_dataset.py#L176
I fixed this by preprocessing with only 1 process for the validation set.


Add inherited variables support for script debugger

Fix #18346

Seems very nice, fine to merge by me

I don't get it. What is base.gd and script_base.gd? Which one is the base script?

script_base  looks to be the base (see BASE_CONST at the bottom)

And what is base.gd? 😄

@neikeq This class extends base.gd which extends script_base.gd  :p

So if I understand correctly, in the image above we see A (script with the extend_var field) which inherits B (base.gd) which inherits C (script_base.gd). Am I right?
If that were the case, I think script_base.gd should be nested inside base.gd, not placed after it. e.g.:
extend_var
V base.gd
    base_var
    V script_base.gd
        a
        b

instead of
extend_var
V base.gd
    base_var
V script_base.gd
    a
    b

and maybe the base class should be placed before the other members:
V base.gd
    V script_base.gd
        a
        b
    base_var
extend_var

I don't think it needs to be nested. It's like the regular Inspector: the derived class is shown first then it goes to each the parent classes. Godot doesn't have multiple inheritance, so if you nest them it'll just create a line of nested sections, reducing horizontal space as well.

@neikeq  Yes. Other debugger inspector like QtCreator use a nested  tree instead of a list to show the base classes.
Why I didn't nested the base classes:

As mentioned by @vnen  that will take  more horizontal space.
We have to expand more sections to check the members of the top-level base class.

After thinking about the Inspector example, I think it's fine this way.

Now that Godot 3.1 has been released, we don't plan to cherry-pick new features and enhancements to the 3.0 branch, unless there is very strong support in favor of it. Removing cherrypick label for 3.0.


ci: Enable nextest for all behavior tests

Let's make this PR the first one for @Ji-Xinyou to review as a committer!

May we reduce the sample counts of this test? Requesting COS seems to be too slow.

May we reduce the sample counts of this test? Requesting COS seems to be too slow.

Seems we have to do this, it is just too slow.

May we reduce the sample counts of this test? Requesting COS seems to be too slow.

Yes, fixed.

cos drop from 10m to 5m by replace with a bucket in us region.

cc @suyanhanx & @Ji-Xinyou to take another look.


tools/fetch.py fails. File can not be downloaded.

Hi there.
When I run fetch.py It fails with the following errors:
[13.06.2019` 03:43:43.186][INFO][16608][cakechat.dialog_model.inference_model.InferenceCakeChatModel][130] Looking for the previously trained model
[13.06.2019 03:43:43.186][INFO][16608 [cakechat.dialog_model.inference_model.InferenceCakeChatModel][131] Model params str: {"corpus_name": "processed_dialogs", "dense_dropout_ratio": 0.2, "epochs_num": 2, "hidden_layer_dim": 768, "input_context_size": 3, "input_seq_len": 30, "is_reverse_model": true, "optimizer": {"clipvalue": 5.0, "decay": 0.0, "epsilon": 1e-07, "lr": 6.0, "rho": 0.95}, "output_seq_len": 32, "token_embedding_dim": 128, "train_batch_size": 196, "training_callbacks": {"CakeChatEvaluatorCallback": {"eval_state_per_batches": 500}}, "training_data": "train_processed_dialogs", "validation_data": "context_free_validation_set,val_processed_dialogs", "voc_size": 101, "w2v_model": "train_processed_dialogs_window10_voc50000_vec128_sgTrue"}
[13.06.2019 03:43:43.260][INFO][16608][cakechat.utils.s3.bucket][19] Getting file nn_models/reverse_cakechat_v2.0_keras_tf_617dfa4a1691.tar.gz from AWS S3 and saving it as /mnt/amadeus/chatbot/results/nn_models/reverse_cakechat_v2.0_keras_tf_617dfa4a1691.tar.gz
[13.06.2019 03:43:44.084][WARNING][16608][cakechat.utils.s3.resolver.S3FileResolver][45] File can not be downloaded from AWS S3 because: An error occurred (404) when calling the HeadObject operation: Not Found
[13.06.2019 03:43:44.085][ERROR][16608][cakechat.dialog_model.inference_model.InferenceCakeChatModel][136] Can't find previously trained model in /mnt/amadeus/chatbot/results/nn_models/reverse_cakechat_v2.0_keras_tf_617dfa4a1691

Thanks for all your work on this project!

@MikaGoetze hi!
I see, that vocab_size has changed in your case. That led to a different hash of the model (617dfa4a1691) and indeed there is no such model on AWS. If you want to fetch the pre-trained model for your experiments, make sure that you have an appropriate tokens index file here: cakechat/data/tokens_index/t_idx_processed_dialogs.json. If you don't have the original tokens index, you can do the following:

Ah okay thanks so much! I can't believe I missed that. I knew I was doing something silly.
Thanks a lot!