text:
metadata not available[ERROR] [1627575249.042885701]: metadata not available

Required Info

Camera Model
D455

Firmware Version
05.12.14.50

Operating System & Version
Ubuntu 20.04

Kernel Version (Linux Only)
5.4.0-77-generic

Platform
Intel NUC

SDK Version
2.48

Language
C++

Segment
Robot

Issue Description
After updating the camera to 05.12.14.50, accessing the metadata of a frame through the C++ SDK results in an error. This seems to only happen on my Intel NUC10i7FNK.
// config realsense
rs2::pipeline rs_pipe;
rs2::config cfg;
cfg.enable_stream(RS2_STREAM_DEPTH, 0, RS2_FORMAT_Z16);
cfg.enable_stream(RS2_STREAM_INFRARED, 1, 1280, 720, RS2_FORMAT_Y8, 30);
cfg.enable_stream(RS2_STREAM_INFRARED, 2, 1280, 720, RS2_FORMAT_Y8, 30);
rs2::pipeline_profile rs_profile = rs_pipe.start(cfg);

// sensor options
auto sensor = rs_profile.get_device().query_sensors()[0];
sensor.set_option(RS2_OPTION_VISUAL_PRESET, RS2_RS400_VISUAL_PRESET_HIGH_ACCURACY);
sensor.set_option(RS2_OPTION_LASER_POWER, 360);
sensor.set_option(RS2_OPTION_EMITTER_ENABLED, 1);
sensor.set_option(RS2_OPTION_EMITTER_ON_OFF, 1);
sensor.set_option(RS2_OPTION_FRAMES_QUEUE_SIZE, 1);

rs2::frameset fs = rs_pipe.wait_for_frames();
rs2::depth_frame df = fs.get_depth_frame();
std::cout << df.get_frame_metadata(RS2_FRAME_METADATA_FRAME_LASER_POWER_MODE) << std::endl;

Hi @rolandgvc  The SDK's frame metadata documentation suggests checking that metadata is supported using the rs2_supports_frame_metadata instruction in an If condition before retrieving the metadata with get_frame_metadata in order to help to avoid generating an exception.
https://github.com/IntelRealSense/librealsense/blob/master/doc/frame_metadata.md#librealsense2-api-for-metadata

Looks like none of the depth frames support the metadata. Thoughts?

It is possible that metadata support is not enabled on the librealsense SDK build on your NUC.  If you built the SDK with Debian packages in Ubuntu then metadata support is built into the packages.  Metadata support is also included if you build from source code with the RSUSB backend method.  If you build the SDK from source code without using RSUSB then metadata support is added by patching the Linux kernel.
The SDK documentation states that RS2_FRAME_METADATA_FRAME_LASER_POWER_MODE has been deprecated and replaced by RS2_FRAME_METADATA_FRAME_EMITTER_MODE
https://intelrealsense.github.io/librealsense/doxygen/rs__frame_8h.html#a91f19a01f5bf2abadc30959a8d3109c9a79ae181e2bbabecbab365e36575c89bc

I installed the binaries from apt. Again, everything was working fine before updating the camera software. Would there be a way of downgrading the camera back to its previous version?

Once you have uninstalled all previous librealsense packages with a purge instruction:
dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge
You can install specific package versions instead of the latest version by providing details of the package name, like in the example guidance in the link below.
https://github.com/IntelRealSense/realsense-ros/issues/1925#issuecomment-858716097

What about camera firmware only?  I think you can do that from realsense-viewer directly, no? Where could I find a list of the versions?

You can install a specific firmware version by downloading it as a .bin file from the list on the firmware releases page.
https://dev.intelrealsense.com/docs/firmware-releases#section-d400-series-firmware-downloads
Then go to the More option near the top of the Viewer's options side-panel and select the Update Firmware option from its drop-down menu.  This will cause a file selector window to pop up.  Select the firmware .bin folder from the location on your computer that you downloaded it to and then the firmware update will commence.

Reverted camera / sdk back to the 2.45 binaries. For the same code and sdk version, the metadata is accessible on my Lenovo T480s and not on NUC. Are there any issues with realsense on NUC specifically that are causing this?

I note from the specification at the top of this case that you are using Ubuntu 20.04 with kernel 5.4 on your NUC.  My understanding is that among RealSense users, 5.8 is a preferred kernel for 20.04.

If you left-click on the frame metadata option on a stream panel in the RealSense Viewer on your NUC to overlay the metadata display, does it indicate that per-frame metadata is not supported?

If you left-click on the frame metadata option on a stream panel in the RealSense Viewer on your NUC to overlay the metadata display, does it indicate that per-frame metadata is not supported?

It doesn't indicate that, so it should work...

The next test that you could run with your script is to substitute in RS2_FRAME_METADATA_TIME_OF_ARRIVAL in place of RS2_FRAME_METADATA_FRAME_LASER_POWER_MODE, since if TIME_OF_ARRIVAL can be displayed in the Viewer's metadata overlay then you should be able to access it with your script too.

Hi @rolandgvc  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.

authors: MartyG-RealSense rolandgvc


text:
[Question]: What would be needed to add hexapod mark 3 support ?

Question
What would be needed to add hexapod mark 3 support ?
I know I can just place the required urdf and stl files but the mark 3 uses DYNAMIXEL AX-12A servos.
I would like to know what changes would be needed to add support for the mark 3.
Robot Model
mark3
Operating System
Ubuntu 20.04
ROS Version
ROS1 Noetic
Anything Else
No response

@LSinterbotix @swiz23 @mtrossen small follow up, I was wondering what changes would be needed to get it working on a mark 3 with AX-12A servos

The base ROS interface to the motors is through the interbotix_xs_sdk. The core wraps the dynamixel_workbench_toolbox. According to ROBOTIS, the toolbox is compatible with the AX-12 servos.
The SDK is designed for the X-Series DYNAMXIELs, so much of its functionality is built up with the assumption that we'd be using those more advanced interfaces. You would have to strip away a lot of that functionality like managing operating modes and change how things like joint limits are managed. The AX-12A motors seem to only operate in a position-based mode with timing controlled by the Moving Speed register. On top of that, you will need to modify the Python-ROS API to reflect the changes made to the SDK.
There are probably other things you would need to change to get full compatibility, but this should be a good starting point if you're interested in undertaking this effort. I'll be closing this issue as it's unrelated to the officially supported ROS-based crawlers, but feel free to continue to ask questions in this thread.

source: gharchive/issue

authors: LSinterbotix The-Real-Thisas

license_type: permissive

license_source: github-api


text:
[QA] Can internlm2 be supported in fastchat?

Describe the question.
Hope to support internlm2 in fastchat.

Sure. We put it in our plan. Stay tuned.

https://github.com/lm-sys/FastChat/pull/3187

repo: InternLM/InternLM


text:
Add the username

Context & versions
https://dev-sanchonet.govtool.byron.network/dashboard
Actual behavior

Expected behavior
Add the username on the bottom left, just above the Wallet connection

@ValMBO @teske00 How we will do this because it is not on PDF side, its GovTool sidebar?

It is govtool sidebar, we can provide to the app context username property where we could set and display in the connected wallet card

@ValMBO This sounds fine to me, what do you think?

Removing the milestone and adding to Community backlog.

authors: MSzalowski ValMBO bosko-m vpaunovic

repo: IntersectMBO/govtool


text:
Variable color and font size for text

Is it possible to apply font size and color to text through a variable like this?
$img->text($string, $item['x'], $top, function($font) {
                       $font->file('assets/fonts/Roboto-Medium.ttf');
                       $font->size($fontsize);
                       $font->color($color);
                       $font->align('left');
                       $font->valign('top');
                   });

Sure. You just have to inherit variables from the parent scope via use.

authors: anithaiyer olivervogel

repo: Intervention/image

license: mit

license_source: bigquery


text:
aspectRatio don't work on digitalocean sever

$ret = $image->resize($w, null, function (Constraint $constraint){                 $constraint->upsize();                 $constraint->aspectRatio();             })->save(getCacheImageStoragePath($name));
$newW = $ret->getWidth();
When i upload images, the codes above work well in my local computer, but don't work on digitalocean's server, I don't know why.
The new width is right. but the actual image file  saved is not right, the size even don't change.
And I save same image in a new directory, not in the temp uploading directory "/tmp/xxxx" , it also work well.
and even different image work different.
It's really weird problem.

Not reproducible.

authors: argb olivervogel


text:
Update ImageServiceProviderLumen 5.4

Update ImageServiceProviderLumen based on 5.4 releases, replacing of share by singleton

Thanks.

source: gharchive/pull-request

authors: olivervogel yjradeh


text:
🛑 minilagertrondheim.no is down

In 7697814, minilagertrondheim.no (https://minilagertrondheim.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: minilagertrondheim.no is back up in e4c232e after 6 minutes.

repo: Intus-AS/Types-status

license: MIT


text:
problems in urls with special characters

When the user writtes in the editor some urls with parameters like this: ?$filter=parentmasteragent=%JCL% this url is not saved.
We cannot control if the url writted by the user is correct. Can you correct this point?
Besides, when the user writes in the editor urls with '(' , ')' characters, we get a 404 , but if we access from navigator the url
works correctly.
Thanks

I just tried some test links and they all work fine for me:

Test link  with special characters -> http://example.com/?$filter=parentmasteragent=%JCL%
Test link with parentheses -> http://example.com/?caniuse=(parentheses)
Test link with parentheses & special characters -> http://example.com/?$filter=(parentmasteragent)=%JCL%

My best guess is that your CMS is sanitizing user input and removing or replacing characters in the links.

Yes, I agree with you if we remove satinaze option point number one works.
The problem with http://example.com/?caniuse=(parentheses) is that the last ) is removed, and this url works without ), and our url does not work without it.

I think you have "unbalanced" parentheses in your links, meaning no opening or closing parenthesis. This messes up the rendered link:

Link no parens -> http://example.com?parens=absent
Link with balanced parens -> http://example.com?parens=(balanced)
Link with unbalanced parens) -> http://example.com?parens=unbalanced)
[Link with unbalanced parens](http://example.com?parens=(unbalanced) -> http://example.com?parens=(unbalanced

Links with unbalanced parentheses or unbalanced square brackets will work if you enter them between < and > characters:

http://example.com?parens=unbalanced) -> <http://example.com?parens=unbalanced)>
http://example.com?parens=(unbalanced -> <http://example.com?parens=(unbalanced>

The parentheses and pointy/angle brackets can also be escaped with a backslash.

Links could be escaped if entered with the JS prompt (option promptURLs needs to be set to true).
The same applies to image links.
/**
 * Action for drawing a link.
 */
function drawLink(editor) {
    var cm = editor.codemirror;
    var stat = getState(cm);
    var options = editor.options;
    var url = 'https://';
    if (options.promptURLs) {
        url = prompt(options.promptTexts.link, 'https://');
        if (!url) {
            return false;
        }

        if (/[()<>]/.test(url)) url = escapeUrl(url);
    }
    _replaceSelection(cm, stat.link, options.insertTexts.link, url);
}

/**
 * Escape URLs to prevent breaking up rendered Markdown links
 * @param url {string} The url of the link or image
 */
function escapeUrl(url) {

    url = url.replace(/\(/g,'\\(')
             .replace(/\)/g,'\\)')
             .replace(/</g,'\\<')
             .replace(/>/g,'\\>');

    return url;
}

Good idea @Ionaru ?
By the way, I tried looping over an object but that didn't work out, hence the consecutive replaces.
Ofcourse people cannot be stopped entering URLs manually and forgetting to escape them, and the problem with unbalanced square brackets in the link text remains...

The first of the above two commits can be skipped/omitted.

I'm not sure if escaping is the right call here, sorry for the late reply.
Maybe we should encode them instead? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI

Been thinking about that too but the question is whether encoded parentheses (%28 and %29) and angle brackets (%3C and %3E) are accepted/recognized by the CMS it's send to.
Only parentheses and angle brackets mess up link rendering., but it's just as simple a fix as escaping :)
Simpler yet because no extra function is needed.
if (/[()<>]/.test(url)) url = encodeURI(url);

Or create a new option where people can choose:

Keep the URL as is
Encode the URL
Escape the URL

transformURL: "encode|escape"

Parentheses aren't encoded... so the problem remains when encoding URLs

Or do both. First encoding and then escaping if parentheses are present:
url = encodeURI(url);
if (/[()]/.test(url)) url = escapeURI(url);

...

function escapeURI(url) {

    url = url.replace(/\(/g,'\\(').replace(/\)/g,'\\)');

    return url;
}

The last suggestion sounds good.

optional or automatic?

Automatic, I think an option is overkill.

Just did a PR #393

authors: Ionaru Sonia-pl Zignature

repo: Ionaru/easy-markdown-editor


text:
🛑 IPAP Certificados is down

In bb8da77, IPAP Certificados (http://certificados.ipap.chaco.gov.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IPAP Certificados is back up in 3b33ed0 after 26 minutes.

repo: Ipapticsjbiain/EstadoDePaginas


text:
OCR fails on batch ingest

I thought we had this one sorted, but if we are doing a batch import with images being tesseracted then the process manager attempts to run more than one instance, (I think it goes for five) which overwhelms the container, and instead of seeing a new OCR we get nothing but timeouts. A single process uses about 65% of the CPU cycles.
When I'm doing migrations I pull the existing OCR over instead of creating new, but this won't work if there is no existing OCR.
It continues to work well for one-by-each ingestion.

Which container tag are you testing on, Alan?

alpha-15
On Thu, Apr 21, 2022 at 10:48 AM Noah W. Smith @.***>
wrote:

Which container tag are you testing on, Alan?
—
Reply to this email directly, view it on GitHub
https://github.com/Islandora-Devops/isle-dc/issues/251#issuecomment-1105232744,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADY2J2JEXOYYSZDFC5QZILVGFMA5ANCNFSM5T4DRDLA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Alan Stanley
Community Outreach Coordinator
Spinal Cord Injury, PEI
☎ 902-393-0017

Fresh build as of a couple
On Thu., Apr. 21, 2022, 12:56 p.m. Noah W. Smith, @.***>
wrote:

And with a new clone of ISLE-DC, or no?
—
Reply to this email directly, view it on GitHub
https://github.com/Islandora-Devops/isle-dc/issues/251#issuecomment-1105410666,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADY2J4MC4ROVBRSGFX5EVLVGF3C5ANCNFSM5T4DRDLA
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: ajstanley noahwsmith

repo: Islandora-Devops/isle-dc


text:
[ITBL-2705] Save payload and attribution info

Now we should be storing payload as well as other attribution info. We are saving it in NSUserDefaults. They expire in 24 hours.

Yes. Probably not a bad idea. I will look into this.

I see the failure message is "Your build has been stopped." Is there any way to restart the travis build?

repo: Iterable/iterable-ios-sdk


text:
Add login/sing up and contact us page to the website.

assign me I like to work on it. @Its-Aman-Yadav

Hey @ruchikakengal  , i would like to contribute in this. Can u provide more details on and Assign it to me  under gssoc-ext and hacktoberfest label?

repo: Its-Aman-Yadav/Community-Site


text:
Update README.md

Change version from 0.10 to 0.15.0 (latest) in README

Thanks!

repo: ItsEthra/egui-notify


text:
Support different outputs

It is possible to support something like theme in (soldoc)[https://github.com/hubiinetwork/soldoc] ?
For example: markdown, json, etc.

This is a feature that I've considered, but I'm not sure the best way to implement it.  Some of the logic is currently tightly coupled with the Vue site, I think.
Maybe something like this:

hardcoded list of options for output configuration key: "vue", "markdown", etc.
ensure that all of the parsing logic (userdoc/devdoc/ABI merging) is defined within the Hardhat task
define interfaces to be used by the various generators: one for the index page, one for each individual sol file

I don't have time for this right now, but will keep the issue open.  PRs are welcome.

Here an initial attempt: https://github.com/ItsNickBarry/hardhat-docgen/pull/8
It is a big change because now there is a default theme (json) and the rest are in separated packages.

There's a new documentation generator that appears to be gaining some traction: https://github.com/primitivefinance/primitive-dodoc/
@Joelpo They specifically mention Docusaurus compatibility.
So, I see two options for hardhat-docgen:

Compete directly with hardhat-dodoc, offering outputs in both Markdown and Vue formats.
Avoid direct competition and focus on adding unique features.

See #1, #3, and #5.  These features could greatly enhance the static Vue site, but they don't make much sense in a Markdown document.

Closing because I don't see any reason to compete directly with hardhat-dodoc.  Instead, the plugin should move towards including features that only a static site can provide.

authors: ItsNickBarry adjisb

repo: ItsNickBarry/hardhat-docgen


text:
update osx and ios build_framework.py

introduced APPLE_FRAMEWORK variable to replace some framework-related "IOS" conditions
OSX build framework script reuses most part of code from iOS build_framework.py
removed i386 OSX target (i386 iPhoneSimulator is still here, because it is still required for several simulator modes)
fixed install command (cmake -DBUILD_TYPE=Release-iphoneos -P cmake_install.cmake issue)
build OSX/iOS frameworks via opencv_world (iOS didn't use opencv_world)
removed unused HAVE_IOS (https://github.com/Itseez/opencv/commit/8efb84b5a4cc98c6e3b1266923e744e6032ed52f)

:+1:

authors: alalek vpisarev

repo: Itseez/opencv


text:
Input on demo script only working as root?

Greetings,
I've been unable to read anything other than the accelerometer and control the LED matrix on my sense hat for a long time. I recently re-visited an old issue, and someone referred to the blacklist instructions here. I followed them, things still didn't work, but then I was able to succeed by installing RTIMULib and sense_hat to the system and running as root.
You allude to this as a possible problem in the readme, but now how to fix it. I have confirmed this, which was the only obvious permissions related reason:
$ cat /etc/udev/rules.d/99-i2c.rules
KERNEL=="i2c-[0-7]",MODE="0666"

Thanks for any input. Apologies for asking here, as you're not directly responsible... but there's no real solution at AstroPi; everyone points to "this is something wrong with RTIMULib" but most of their repos don't even have an issues tab, and I posted in one that does and have not received a response.

Sorry, I posted #1 and github gave me a 404 error so I thought my attempt failed, clicked back, and re-submitted. This is a duplicate as I see #1 posted after all.

Sorry, I posted #1 and github gave me a 404 error so I thought my attempt failed, clicked back, and re-submitted. This is a duplicate as I see #1 posted after all.

repo: J-Pai/EnvTrackerNode


text:
Force new users to confirm their emails

Reviewing the user accounts, it appears that many accounts use fictitious email addresses (e.g. example@example.com). In order to reduce (or possibly eliminate) the number of fictitious email addresses specified, we should have new users confirm their addresses before activating their accounts.
I believe that the best way to do this would be to use Devise's confirmable module.

😢 it's for the best


text:
Bugfix for the mask_check option

Description
Companion PR of https://github.com/JCSDA-internal/saber/pull/149, more details there.
Issue(s) addressed
Issue in SABER repo.
Testing
Tested on my workstation (GNU-OpenMPI).
I added two new dirac tests with specifically chosen points to ensure the mask_check option was working as intended.
Dependencies

waiting on https://github.com/JCSDA-internal/saber/pull/149

Finally working, should we merge this today? I can merge the SABER PR anytime.

Finally working, should we merge this today? I can merge the SABER PR anytime.

Go for it @benjaminmenetrier !

SABER PR merged, you can go ahead with this one.

authors: benjaminmenetrier guillaumevernieres

repo: JCSDA-internal/soca


text:
Spack Incorrectly Using Dependencies Built With Other Compliers

Describe the bug
After building the jedi-ufs-env with the intel compiler, I tried building it with gcc. The build fails because g2 tries to use the module bacio_module.mod which was built with Intel. Fortran modules are almost always incompatible between compilers and sometimes even between different versions of the same compiler.
To Reproduce
Use spack-stack to configure and build the jedi-ufs-env environment with the Intel compilers, then do the same with GCC. You will notice that during concretization, spack incorporates (marked with [+]) several packages (including bacio) that are built with Intel compilers:
[+]  nsijnfm      ^bacio@2.4.1%intel@2021.8.0 cflags='-diag-disable=10441' cxxflags='-diag-disable=10441' fflags='-diag-disable=10441' ~ipo+pic build_system=cmake build_type=Release generator=make arch=linux-rocky9-sandybridge`

This is intended and expected from spack to reduce the need to rebuild dependencies unnecessarily. This probably works fine for C and C++ codes but is unlikely to ever work for any packages containing Fortran modules.
I was able to work around this problem by adding the --fresh flag to concretize to instruct it not to attempt to reuse dependencies.
Expected behavior
It should be smart enough to not allow software that has Fortran module components to be reused as dependencies.
System:
Linux Workstation running Rocky 9. Intel is 2023.0.0 (2021.8.0 legacy compilers (icc,icpc,ifort)) and GCC is 11.4.1 system package manager install.
Additional context
The actual error from the g2 package is below and is thrown by any use bacio_module line in the code.
f951: Fatal Error: Reading module '/opt/spack-stack/intel/2021.8.0/bacio-2.4.1-nsijnfm/include_4/bacio_module.mod' at line 1 column 2: Unexpected EOF
compilation terminated.
make[2]: *** [tests/CMakeFiles/test_g2_4.dir/build.make:91: tests/CMakeFiles/test_g2_4.dir/g2_test_util.F90.o] Error 1

Note that this was not an issue in previous stack releases so perhaps this has something to do with the boost now being compiled with gcc even when compiling with Intel. I'm guessing that fact is related to the efforts to get spack-stack to build with the newer LLVM Intel compilers.

Can you explain please how you were trying to build the gcc environment after building the intel environment? You must do this in a separate environment using the --compiler=xxx flags. There can be only one preferred compiler (which is selected with --compiler=...) per environment.

I still do not understand. If you create one environment with a separate name = in a separate directory as above, activate it, concretize and install, then deactivate and do the same with the other environment, then they are totally unrelated to each other. How would the gcc env know that there even is a package built by gcc? The concretizer has no information about the other environment.
Are you adding a binary cache to both environments before concretizing? The concretizer will try to reuse dependencies from the binary cache when it thinks it can.

I don't know how to add binary cache to environments so if that happened, I don't know how.
I started from scratch after discovering that the removal of the --modulesys option for environment creation causes my path/to/env/common/modules.yaml to only contain configuration for tcl instead of lmod. This time I modified configs/sites/tier2/linux.default/modules.yaml to use lmod instead of tcl. That cleared up the core compiler issue mentioned in #1360 and also removed the short hash from most of the module names. I will clarify most in #1360.
I don't think this change was the cause of the issue detailed here, but since I can no longer reproduce this issue I am closing it.

authors: climbfuji rjdave

repo: JCSDA/spack-stack


text:
Add files via upload

Adding additional files so it will work.

Adding files with a pull request - it says it can auto-merge so I'm not sure it will be educational.


text:
Request of feature

Request of feature:
Search request log by date range.
From X day to X day.

Not possible. The API endpoint doesn't have a parameter to send a date to get logs 'from x date'.


text:
Bitdefender Total Security blocks ISO download due to threat/malware

Hi there, tried to download this for my VMware installation of Windows 98 to get a better driver, but it seems the ISO linked in the releases is unusable for anyone using Bitdefender Total Security. Once the browser completes the download, Bitdefender automatically blocks and purges the file because -- according to Bitdefender -- the ISO contains "Gen:Variant.Babar.420629".
I did manage to get the file downloaded, which allowed me to scan the file and determine that the file that is causing this flag to occur is the "extras/qemu3dfx/qmfxgl32.dll" file. Unfortunately, because of that one file, my anti-virus quarantines the entire archive. VirusTotal also reported 7 vendors triggering on the ISO for this specific file as well: https://www.virustotal.com/gui/file/abe3b88f0870f7f39bad178ce4b97a91964ebb3f370ff2ca33b8d94cc6d6a652
I'd like to ask if this file can be removed from the package, or if multiple ISO's can be provided for each of the target virtual machine softwares, so that someone wanting the VMware driver doesn't get their ISO quarantined because of an unrelated dll they don't need.
Thanks for making this package, but needs this fix to allow it to be accessible to those using more sensitive anti-virus solutions. :)

False positive, nothing the developer can really do much about

easy workaround:
1 install win 7-8-10-11 vm
2 download softgpu zip file inside vm and extract files inside
3 delete that file, its not necessary for your usage
4 copy other files to host for achiving,
you can install driver from zip files, just runsoftgpu.exe, but for windows 98 you need to add files to 98 vm's hdd,
two solutions:
1 create iso from that extracted files with some iso maker program like ultra iso etc and mount 98 vm (you can also download iso and remove the file with these programs)
2 or install win 98, close vm and add 98's vhd to another vm (win7 or later), run second vm, and copy files to that hdd

authors: 0x5066 SuperSajuuk handlingcfg

repo: JHRobotics/softgpu


text:
Crash when calling _maintainOutgoing  --> _libSsl.SSL_ctrl

Hello Jan,
here a crash trace. Could you check that ?
Thanks.
Tarik
===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=0x1f0
version=2.19.3 (stable) (Unknown timestamp) on "linux_x64"
pid=3214466, thread=3214944, isolate_group=main(0x5626b38ac000), isolate=main(0x5626b394d000)
os=linux, arch=x64, comp=no, sim=no
isolate_instructions=5626b1d74c80, vm_instructions=5626b1d74c80
pc 0x00007fe557d815b6 fp 0x00007fe5a1ffce18 /lib/x86_64-linux-gnu/libssl.so+0x255b6
pc 0x00007fe557e2fe0c fp 0x00007fe5a1ffce60 Unknown symbol
pc 0x00007fe557e2f989 fp 0x00007fe5a1ffcee0 Unknown symbol
pc 0x00007fe557e2e1c0 fp 0x00007fe5a1ffcf50 Unknown symbol
pc 0x00007fe557e2bcae fp 0x00007fe5a1ffcfa0 Unknown symbol
pc 0x00007fe557e2b237 fp 0x00007fe5a1ffcfd8 Unknown symbol
pc 0x00007fe557e23eaf fp 0x00007fe5a1ffd050 Unknown symbol
pc 0x00007fe557e22e63 fp 0x00007fe5a1ffd0a8 Unknown symbol
pc 0x00007fe557e22c51 fp 0x00007fe5a1ffd128 Unknown symbol
pc 0x00007fe557e22714 fp 0x00007fe5a1ffd180 Unknown symbol
pc 0x00007fe557e2204d fp 0x00007fe5a1ffd1c0 Unknown symbol
pc 0x00007fe557e21d5c fp 0x00007fe5a1ffd200 Unknown symbol
pc 0x00007fe557e21ab2 fp 0x00007fe5a1ffd240 Unknown symbol
pc 0x00007fe557e21763 fp 0x00007fe5a1ffd280 Unknown symbol
pc 0x00007fe557e23a5d fp 0x00007fe5a1ffd2c0 Unknown symbol
pc 0x00007fe557e1ef52 fp 0x00007fe5a1ffd318 Unknown symbol
pc 0x00007fe59ec651df fp 0x00007fe5a1ffd360 Unknown symbol
pc 0x00007fe59ec64e2e fp 0x00007fe5a1ffd3a0 Unknown symbol
pc 0x00007fe59ec64d59 fp 0x00007fe5a1ffd3c8 Unknown symbol
pc 0x00007fe59ec64c7e fp 0x00007fe5a1ffd408 Unknown symbol
pc 0x00007fe59ec24208 fp 0x00007fe5a1ffd448 Unknown symbol
pc 0x00007fe5a608300c fp 0x00007fe5a1ffd4c0 Unknown symbol
pc 0x00005626b1eedf79 fp 0x00007fe5a1ffd560 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x139
pc 0x00005626b1eeddf5 fp 0x00007fe5a1ffd5c0 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x145
pc 0x00005626b1ef0154 fp 0x00007fe5a1ffd600 dart::DartLibraryCalls::HandleMessage(long, dart::Instance const&)+0x144
pc 0x00005626b1f13738 fp 0x00007fe5a1ffdb90 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_deletedart::Message>)+0x348
pc 0x00005626b1f3bfca fp 0x00007fe5a1ffdc10 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x15a
pc 0x00005626b1f3c6eb fp 0x00007fe5a1ffdc60 dart::MessageHandler::TaskCallback()+0x1db
pc 0x00005626b206791b fp 0x00007fe5a1ffdce0 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x13b
pc 0x00005626b2067d68 fp 0x00007fe5a1ffdd10 dart::ThreadPool::Worker::Main(unsigned long)+0x78
pc 0x00005626b1fd91d6 fp 0x00007fe5a1ffddd0 /usr/lib/dart/bin/dart+0x22281d6
-- End of DumpStackTrace
pc 0x0000000000000000 fp 0x00007fe5a1ffce18 sp 0x0000000000000000 Cannot find code object
pc 0x00007fe557e2fe0c fp 0x00007fe5a1ffce60 sp 0x00007fe5a1ffce28 [Optimized] FfiTrampoline__SSL_ctrl
pc 0x00007fe557e2f989 fp 0x00007fe5a1ffcee0 sp 0x00007fe5a1ffce70 [Unoptimized] OpenSsl.SSL_ctrl
pc 0x00007fe557e2e1c0 fp 0x00007fe5a1ffcf50 sp 0x00007fe5a1ffcef0 [Unoptimized] _DtlsServerConnection@106018504._maintainOutgoing@106018504
pc 0x00007fe557e2bcae fp 0x00007fe5a1ffcfa0 sp 0x00007fe5a1ffcf60 [Unoptimized] _DtlsServerConnection@106018504._maintainState@106018504
pc 0x00007fe557e2b237 fp 0x00007fe5a1ffcfd8 sp 0x00007fe5a1ffcfb0 [Unoptimized] _DtlsServerConnection@106018504._incoming@106018504
pc 0x00007fe557e23eaf fp 0x00007fe5a1ffd050 sp 0x00007fe5a1ffcfe8 [Unoptimized] DtlsServer._handleSocketRead@106018504
pc 0x00007fe557e22e63 fp 0x00007fe5a1ffd0a8 sp 0x00007fe5a1ffd060 [Unoptimized] DtlsServer._startListening@106018504.
pc 0x00007fe557e22c51 fp 0x00007fe5a1ffd128 sp 0x00007fe5a1ffd0b8 [Unoptimized] _RootZone@4048458.runUnaryGuarded
pc 0x00007fe557e22714 fp 0x00007fe5a1ffd180 sp 0x00007fe5a1ffd138 [Unoptimized] _BufferingStreamSubscription@4048458._sendData@4048458
pc 0x00007fe557e2204d fp 0x00007fe5a1ffd1c0 sp 0x00007fe5a1ffd190 [Unoptimized] _BufferingStreamSubscription@4048458._add@4048458
pc 0x00007fe557e21d5c fp 0x00007fe5a1ffd200 sp 0x00007fe5a1ffd1d0 [Unoptimized] _SyncStreamController@4048458._sendData@4048458
pc 0x00007fe557e21ab2 fp 0x00007fe5a1ffd240 sp 0x00007fe5a1ffd210 [Unoptimized] _StreamController@4048458._add@4048458
pc 0x00007fe557e21763 fp 0x00007fe5a1ffd280 sp 0x00007fe5a1ffd250 [Unoptimized] _StreamController@4048458.add
pc 0x00007fe557e23a5d fp 0x00007fe5a1ffd2c0 sp 0x00007fe5a1ffd290 [Unoptimized] new _RawDatagramSocket@14069316..
pc 0x00007fe557e1ef52 fp 0x00007fe5a1ffd318 sp 0x00007fe5a1ffd2d0 [Unoptimized] _NativeSocket@14069316.issueReadEvent.issue
pc 0x00007fe59ec651df fp 0x00007fe5a1ffd360 sp 0x00007fe5a1ffd328 [Unoptimized] _microtaskLoop@4048458
pc 0x00007fe59ec64e2e fp 0x00007fe5a1ffd3a0 sp 0x00007fe5a1ffd370 [Unoptimized] _startMicrotaskLoop@4048458
pc 0x00007fe59ec64d59 fp 0x00007fe5a1ffd3c8 sp 0x00007fe5a1ffd3b0 [Unoptimized] _startMicrotaskLoop@4048458
pc 0x00007fe59ec64c7e fp 0x00007fe5a1ffd408 sp 0x00007fe5a1ffd3d8 [Unoptimized] _runPendingImmediateCallback@1026248
pc 0x00007fe59ec24208 fp 0x00007fe5a1ffd448 sp 0x00007fe5a1ffd418 [Unoptimized] _RawReceivePort@1026248._handleMessage@1026248
pc 0x00007fe5a608300c fp 0x00007fe5a1ffd4c0 sp 0x00007fe5a1ffd458 [Stub] InvokeDartCode

More info related to this crash. Definitely related to the libssl version mismatch between client and server.
Client is 1.1.1 and server 3.02
Obvious fix: server and client must load the same version

Yes on the server then strangely the client crashes too at almost same time

Reading through the OpenSSL documentation and discussions, it seems as if calling SSL_ctrl directly is a bad practice. I will try out replacing it with DTLSv1_get_timeout, maybe that resolves the issue.

Yes was reading it too but I don´t know if it will solve the problem because 1.1 and 3 seam to be incompatible. At which extend I don't know. Will try it anyway. Thank you for your support.

More info:
Now same client against Cloud Linux Server with OpenSSL 1.1.1d  10 Sep 2019
Actually this setup was working the past days but was crashing after some minutes. Could not trace the problem because no debugging possibility. Was just getting a kind of
===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=0x2d0
Aborted
This setup is able to send the identityHint and is received by the android client. After that both crash.
Could not get a libssl match yet but will investigate further.

Checking the dtls server running locally on my Linux machine against this client:
openssl s_client -dtls -connect etc.. etc...
gives the same result:
DtlsException: error:00000000:lib(0)::reason(0)

I am not sure about your assumption about the identityHint because all was working yesterday and I could send and receive messages after the successful handshake.

Now the difference:
`6789
CONNECTED(00000003)
Can't use SSL_get_servername
40070EFA4B7F0000:error:0A000438:SSL routines:dtls1_read_bytes:tlsv1 alert internal error:../ssl/record/rec_layer_d1.c:613:SSL alert number 80
no peer certificate available
No client certificate CA names sent
SSL handshake has read 231 bytes and written 550 bytes
Verification: OK
New, TLSv1.2, Cipher is PSK-AES128-CCM8
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol  : DTLSv1.2
Cipher    : PSK-AES128-CCM8
Session-ID:
Session-ID-ctx:
Master-Key: 8EEF3C1AF84F27F894492B29867292AF1FF8DCFAFCC5B6B73F4A6BDA63FA387E3AC9D421B2602B60FD91858717088E28
PSK identity: 7X2KT
PSK identity hint: This is the identity hint!
SRP username: None
Start Time: 1678384562
Timeout   : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: yes
`
This is the result of openssl s_client -dtls -connect etc.. etc... just with the ip of my cloud server running the same code but accessing a different libssl (locally I have OpenSSL 1.1.1l  24 Aug 2021) and on my cloud server (OpenSSL 1.1.1d  10 Sep 2019)
Handshake id successful. But after that server crashes:
===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=0x2d0
So there is definitely a problem with the way the libssl library is called

Forget this crash. Was related to fact that the psk key was not returned from the _serverPskCallback
Goooood news!!! Working again like yesterday with the cloud server. For this problem, because I was trying to debug the crash that was occurring from time to time I when back to your example server but messed up with the identity and key.
Fact stays that even if this configuration works, but the one that I need on my local linux machine to trace the crash that occurs "sporadically" does'n.
For now:
Client OpenSSL 1.1.1c  28 May 2019 <----------> Server OpenSSL 1.1.1d  10 Sep 2019:

Handshake OK
Transmission OK
Crash sporadically

Client OpenSSL 1.1.1c  28 May 2019 <----------> Server OpenSSL 1.1.1l  24 Aug 2021:

DtlsException: error:00000000:lib(0)::reason(0) that occurs before handshake

@Ifilehk Would you say that we can consider this issue resolved as well?

Yes resolved!

Yes resolved!

Great, thank you for your feedback :)

authors: Ifilehk JKRhb


text:
Tab

On the orginal dynmap, people are sorted by their suffix in the tab. If you have [group1] name, [group1] name2 than all the group 1’s are under eachother and after that all people with group 2 etc etc
in this overlay, all the names are mixed..
how to fix?

Sorry for the delay in looking at this.
Do you have a link to a map that has this issue (with or without LiveAtlas is fine)? There's likely a specific configuration that LiveAtlas doesn't support correctly here.

Closing this for now as not had a reply. Feel free to reopen if you're still encountering the issue and have more information.

authors: JLyne Woutdvv

repo: JLyne/LiveAtlas


text:
🛑 files.jm26.net is down

In 79da360, files.jm26.net (https://files.jm26.net/status.txt) was down:

HTTP code: 502
Response time: 427 ms

Resolved: files.jm26.net is back up in eab6025 after 9 minutes.


text:
Question about generating shapenet data

Hi,
Thanks for sharing the code! I wonder where did you convert meshes from the ShapeNet dataset into watertight meshes in your code base

Same question

Sorry for the late response! We used the code from here: https://github.com/autonomousvision/occupancy_networks/tree/master/external/mesh-fusion
It's a pretty big pain to do the watertighting, so here are some download links for the watertight meshes:

Cars (~79G): https://imt-public-datasets.s3.amazonaws.com/watertight_shapenet_cars.zip
Chairs (~15.9G): https://imt-public-datasets.s3.amazonaws.com/watertight_meshes/03001627_3_fused.zip
Planes (~4G): https://imt-public-datasets.s3.amazonaws.com/watertight_shapenet/watertight_shapenet_planes.zip

Compressed files wjll be available soon.

Thanks for sharing this. The last link doesn't seem to work.

Hm, it works on my end. What's the error message you're getting?

Works now! Thanks again :)

repo: JRyanShue/NFD


text:
🛑 Linus-Wordpress is down

In fa5789e, Linus-Wordpress ($SERVER_BASE/wordpress/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Linus-Wordpress is back up in 2a6d26a.

repo: JSAnyone/upptime


text:
🛑 Piwigo is down

In 09f6c57, Piwigo ($SERVER_BASE/piwigo/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piwigo is back up in 4d2c7f7.


text:
Excess property checks for destructured arguments

I've struck up a longer discussion about type-checking of destructured arguments in a Typescript issue here and I was wondering if I could get your opinion on this matter.
Given this example:
type User = {
  id: number;
  name: string;
  email: string;
}

function stringifyUser({ name, email }: User): string {
  return `${name} (${email})`
}

Would it be reasonable to infer the argument type as Pick<User, "name" | "email">?
I mean, the underlying JS does not require an object with an id property, so why should this be required by the type-checker?
Hegel tends to be about accuracy, and I had actually hoped to find it already working like this.
But as they pointed out in the thread, only 4 people have ever asked for this feature, so maybe it's just not something anybody notice, cares or thinks about. From my perspective, pretty simple: I want functions with as few dependencies as are actually required.
And sure, I could type out Pick types all day, but why wouldn't the type-checker just check the types that are actually relevant to the function, instead of demanding properties that the function can't actually access?
That's how it works in JS, where destructuring arguments is the closest thing we have to a type-hint.
What do you think? 🤔

you are asking for User type and you are getting User and fact that you are not using all User props is internal logic and can change in the future and should not cause breakage on the consumer side of that function
if you want to make that internal logic same as external interface in hegel you can write this
function stringifyUser({ name, email }): string {
  return `${name} (${email})`
}

and inferred type will be what you wanted
<_a: { 'email': string, 'name': string, ... }>(_a) => string

you don't need to annotate anything type is derived from usage

this can be solved with AutoPick<T> type like so
type User = {
  id: number;
  name: string;
  email: string;
}

function stringifyUser({ name, email }: AutoPick<User>): string {
  return `${name} (${email})`
}

so it's same as Pick<User, "name" | "email"> type but second argument is derived from destructuring logic
i don't see this implemented in typescript or hegel anytime soon but it can be done

you are asking for User type and you are getting User and fact that you are not using all User props is internal logic and can change in the future and should not cause breakage on the consumer side of that function

Is it "internal logic" though?
I mean, it's part of the function declaration - it's the closest thing we have to a type-hint in JS, in practice saying, "the argument is an object with these properties".
I think it's a matter of description. The way I see it, the fact that an object is required, and the fact that the object must have certain properties, that's not just internal logic - it's part of the function's public interface. These are declarations with static meaning.
It's a close analog to named arguments, as well as (effectively) a shallow run-time type-check.
Adding new properties to a destructured argument is not that different from adding new arguments to a function - unless they're optional, calling the function without those arguments should be an error.
And vice versa, calling the function with extra arguments as permitted, just as calling the function with extra properties to destructured arguments is permitted.
But not required.
Why would it be? 🤔

Let me reverse the question:
Where do you see a case for functions that demand properties they can't access or use? 🤷♂

i understand where confusion comes from but destructuring is not part of function interface
it's just a suger syntax
// original
function stringifyUser({ name, email }) {
  return `${name} (${email})`
}
// desugering pass 1
function stringifyUser(obj) {
  const { name, email } = obj
  return `${name} (${email})`
}
// desugering pass 2
function stringifyUser(obj) {
  const name = obj.name
  const email = obj.email
  return `${name} (${email})`
}

this is what js engines do on AST level before executing that function
so it is functions internal logic and has nothing to do with types

Let me reverse the question:
Where do you see a case for functions that demand properties they can't access or use? 🤷♂

btw they can access it
type User = {
  id: number;
  name: string;
  email: string;
}

function stringifyUser({ name, email }: User): string {
  return `${name} (${email}) - ${arguments[0].id}`
}

i understand where confusion comes from but destructuring is not part of function interface
it's just a suger syntax

I promise, I'm not confused. 😄
What you explained is just language implementation details. How the language or some transpilers implement this feature internally is rather moot. I'm talking about what the language feature means to programs and programmers in a practical sense.
If you asked for { name, email }, you are asking for an object - both at run-time and statically, you've declared a function that accepts only objects with those properties. That's what this feature means in practice, to programmers.

btw they can access it

I also noted that in my original post:

This being JavaScript, you can of course access the object using arguments[0] - so the type of this object could in fact matter.
However, the type of arguments[0] is always any, and so, in that case, there's no type safety either way; if the rest of the type is important, you probably aren't (and likely shouldn't be) destructuring the argument in the first place.
So this seems unlikely to affect anything other than things like currying and higher-order functions, where you wouldn't be destructing anyway - and so, it seems unlikely this will cause any adverse effects in practice.

Can you think of a practical example where this would be problematic?
Let's get to the bottom of this. 😄
If a function declaration explicitly declares a dependency on a subset of properties of an object:
When, how or why is it useful to get a resulting function type that validates statically for the presence of properties that the function does not ask for or expect at run-time?

you are not asking for { name, email } that part is internal to the function

That's a matter of interpretation.
If you have a function that accepts { a, b } today, and tomorrow it requires { a, b, c }, that's a breaking change to the emitted JS code - regardless of how you type-hinted it in Hegel.
So the way I see it, it's not internal to the function - it's part of it's public signature.
I mean, if you wanted to be really pedantic, you could argue that the whole argument list is internal to the function, right? Technically, a function (a, b) can be called with just (a) or with (a, b, c) etc. - JavaScript won't complain, arguments is just a list of the arguments that were given.

you are asking for User and that is what any type checker is going to check for

In a nominally-typed language, yes - but in a structurally-typed language?
What you really asked for is "object matching this shape" - and then explicitly selected certain specific properties from that shape. If we have these facts, why would we type-check properties you didn't ask for? Unless you also asked for ...rest, the reality is a function that accepts, and works correctly for, any object with a name and email property.

Can you think of a practical example where this would be problematic?

i have a function that's asking for User object and current implementation does not use email prop but i want consumers of this function to pass full User objects so when i change how my function works and start using email prop consumers don't need to update how they use this function

That sounds more like an imagined future problem than a practical problem.
If you anticipate a future need for a full User instance, you probably shouldn't destructure - again, since type-hints are elided, when you destructure, the emitted JS is code that does not need the full object. If your function really depends on a full User instance, you would ask for the full instance.
Anyhow, I think I've made my point - I think this feature solves a problem, but no one seems to agree with me. 😅

authors: mindplay-dk thecotne

repo: JSMonk/hegel


text:
GitHub pages deployment

Have you encountered any issues with GitHub pages deployment after recent updates? My fork works locally but seems to fail on deployment.

UPDATE: After some digging, I was able to deploy successfully by

creating a new .gitmodules file at project root with the following:

[submodule "path_to_submodule"]
  path = juncture
  url = git://github.com/JSTOR-Labs/juncture

repo: JSTOR-Labs/juncture


text:
master should equal gh-pages before going public

Just before "web" replaces the current "julielab.github.io" repo the master branch has to be current because rendering than switches from gh-pages to the master branch.

It will be done when the news-site is finished :D

repo: JULIELab/web


text:
🛑 Glitch is down

In b5474c5, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 143 ms

Resolved: Glitch is back up in fa70e3e after 17 minutes.

repo: JYFUX/upptime


text:
🛑 Glitch is down

In 017888e, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 420 ms

Resolved: Glitch is back up in 473e82e after 68 days, 1 hour, 52 minutes.


text:
Unsolvable Grids

https://www.geeksforgeeks.org/check-instance-15-puzzle-solvable/
Might have to make a smarter Grid15::GridHelp::generateRandomGridArray()

problem in https://github.com/JZJisawesome/15Slide/tree/fix-unsolvable-grid-generation

fixed (thanks https://www.geeksforgeeks.org/check-instance-15-puzzle-solvable/) but usage in generateRandomGridArray is ineficient

appariently I accidently merged to master, but it is fine because the fix was urgent. Efficiency of Grid15::GridHelp::generateRandomGridArray() can be worked on in the fix-unsolvable-grid-generation branch.

deleted and recreated branch to make even with master

Rewrote code


text:
Helium and recent update to Netflix, Shomi, and CraveTV problems?

Helium was working fine before, but I did update my macbook pro to El Capitan version 10.11.5 (15F34)
and now Netflix, Shomi, and CraveTV do not work.  I am not sure if it was the EL Cap update or something else (these companies now not allowing there programs to run on apps etc.?).  Have updated version of Flash on Safari, computer updated.  With Netflix keep getting "whoops, something went wrong...); Unexpected Error; Error Code:  S7363 1260 00003266.

Others have reported this in Issue 163 and I have a pull request with a "fix" via Issue 164.
Since Helium isn't a "browser" in the same sense as Chrome, Firefox, IE, Safari, etc., it uses a custom userAgent to essentially pretend to BE a browser (in Helium's case, Safari). However, Helium 1.9 uses the following:
webView._customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/8.0.7 Safari/600.7.12"
You may notice that the custom userAgent is trying to say it's running on an OS X 10.10.4 machine but your actual machine is running 10.11.5. My assumption is that the streaming services are doing some cross-checking of userAgent against OS info and finding a discrepancy, thus spitting an error.
I'm sure there are more elegant fixes than my "solution" in Issue 164, but this fixed things for me so I'm happy. ;-)

authors: adamyagiz skagitriver

repo: JadenGeller/Helium


text:
Add pyproject.toml and drop setup.py

This is one step towards adding pycaruna to PyPI.

I had for some reason unwatched this repository so I didn't get notified about your PRs. Happened to stumble upon them when I today wanted to debug why the authentication doesn't work anymore!

Is it necessary to move the files to src/?

Seems like something like this should be added instead of moving to src/:
packages = [
    { include = "pycaruna" }
]

Maybe it's fine like this, I'm not familiar with pyproject.toml to be honest. Please rebase so we can get this in.

Actually moving the directory seems not to be needed. When I originally did this I got some odd error but now when I tried this again it worked fine.

Is the README instructions on how to include this library still working? Or will it need adapting now?
git+https://github.com/Jalle19/pycaruna.git@51d3ee12429d68592640cb146ead71541bf14944#egg=pycaruna==1.0.0

An update is needed, I modified README.md to use the new working syntax.

Thanks!

I think that pycaruna would now be ready for publishing on PyPI. Some documentation on doing this is available at https://packaging.python.org/en/latest/tutorials/packaging-projects.
@Jalle19 could you try PyPI publishing when you have time?

Yeah, I'll have a look

https://pypi.org/project/pycaruna/ should be published now. Haven't tried using the released build yet, let's hope it works!

Thanks!
I tried using the package from PyPI and it works okay for me.

Great!


text:
Cross-context deseserializing to types in collectible assembly contexts fails

Short description: Deserializing a type with the jsonproperty TypeNameHandling = TypeNameHandling.All that resides in an assembly context that is collectible fails.
Exception:
[2020-10-18 20:33:39 ERROR]: An unhandled exception was thrown while loading plugin [collectible assembly short name]: Newtonsoft.Json.JsonSerializationException: Error resolving type specified in JSON '[full type name], [collectible assembly short name]'. Path '[redacted].$type', line 5, position 79.
 ---> System.IO.FileLoadException: Could not load file or assembly '[collectible assembly fullname]'. Operation is not supported. (0x80131515)
File name: '[collectible assembly fullname]'
 ---> System.NotSupportedException: Resolving to a collectible assembly is not supported.
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, RuntimeAssembly assemblyContext, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext)
   at System.Reflection.Assembly.LoadWithPartialName(String partialName)
   at Newtonsoft.Json.Serialization.DefaultSerializationBinder.GetTypeFromTypeNameKey(StructMultiKey`2 typeNameKey)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Newtonsoft.Json.Utilities.ThreadSafeStore`2.Get(TKey key)
   at Newtonsoft.Json.Serialization.DefaultSerializationBinder.GetTypeByName(StructMultiKey`2 typeNameKey)
   at Newtonsoft.Json.Serialization.DefaultSerializationBinder.BindToType(String assemblyName, String typeName)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)

Reproduction:
A host app loads Newtonsoft.Json into the Default AssemblyLoadContext, and a plugin assembly into its own collectible AssemblyLoadContext.
The plugin assembly then calls JsonConvert.DeserializeObject from Newtonsoft.Json cross-context (when the CLR attempts to resolve the reference to Newtonsoft.Json, its given the assembly's instance from default context) and attempts to deserialize a json structure that contains a typename from the unloadable plugin assembly.
Newtonsoft.Json, while trying to instantiate the type, calls Assembly.LoadWithPartialName, assembly resolution occurs in the Default context, and it's pointed at the plugin assembly in the collectible context - the exception is thrown, because its collectible.
Relevant information about the setup:
The setup is a server app with assembly unloadability on plugins, with plugins being able to freely call all assemblies loaded into the default context (the context where the server itself resides)
Relevant versions:
.NET Core 3.1.9
Newtonsoft.Json 12.0.3

For anyone bumping into this in the future thinking what the problem is:
Assembly unloadability and AppDomain.CurrentDomain.AssemblyResolve don't mix.
If you're using unloadability, use AssemblyLoadContext.Default.Resolving instead.
Sincere apologies for putting the blame on NJson, it was incorrect assembly loading on my part after all.


text:
Only failes on parsing from floating point to int not long

Hi
In Newtonsoft.Json version 13.0.1
If one tries to deserialize a Json property that is a floating point to a int in C# one gets as expected an exception. But not when doing the same with a long value then it just get the casts it to a long, loosing it decimals.
Should it also cast an exception when trying to deserialize a floating point value to long?
using Newtonsoft.Json;

var data = JsonConvert.DeserializeObject<SomData>(@"{""aInt"":1, ""ALong"":2.2}");

Console.WriteLine(data.ALong); // output 2

var data2 = JsonConvert.DeserializeObject<SomData>(@"{""aInt"":1.2, ""ALong"":2}"); // exception

Console.WriteLine(data2.AInt);

internal class SomData
{
    public int AInt { get; set; }
    public long ALong { get; set; }
}

Hello,
This doesn't just impact long it also impacts uint and ulong.
So int is the only type that throws an exception when deserializing JSON that contains a decimal value for an integral property.
I tested this in Newtonsoft.Json version 13.0.3
Updated test code from the original problem statement:
using Newtonsoft.Json;

var data = JsonConvert.DeserializeObject<SomData>(@"{""aInt"":1, ""ALong"":2.2}"); // no exception

Console.WriteLine(data.ALong); // output 2

var data2 = JsonConvert.DeserializeObject<SomData>(@"{""aInt"":1, ""AUint"":2.2}"); // no exception

Console.WriteLine(data2.AUint); // output 2

var data3 = JsonConvert.DeserializeObject<SomData>(@"{""aInt"":1, ""AUlong"":2.2}"); // no exception

Console.WriteLine(data3.AUlong); // output 2

var data4 = JsonConvert.DeserializeObject<SomData>(@"{""aInt"":1.2, ""ALong"":2}"); // exception

Console.WriteLine(data4.AInt);

internal class SomData
{
    public int AInt { get; set; }
    public uint AUint {get;set;}
    public long ALong { get; set; }
    public ulong AUlong {get;set;}
}

authors: colton-manville gaotter


text:
Unable to cast Object of type(...) to ICommandHandler

Following your recent Part 1 video on using FunctionMonkey and once I have a simple structure created to verify the plumbing works, I get the following error:
[3/17/19 2:00:58 AM] AzureFromTheTrenches.Commanding: Error occurred during command execution. Anonymously Hosted DynamicMethods Assembly: Unable to cast object of type 'ThreeWill.Functions.Application.Handlers.HelloWorldCommandHandler' to type 'AzureFromTheTrenches.Commanding.Abstractions.ICommandHandler`2[ThreeWill.Functions.Commands.HelloWorldCommand,System.String]'.```

Using the v1.0.0 versions of FunctionMonkey an FunctionMonkey.Compiler.
Using v9.0.1 of the Commanding Abstractions.
Azure Functions Core Tools 2.4.401
Function Runtime Version: 2.0.12309.0

Have you seen this before?  Both macOS w/ VS Code and VS 2017 enterprise get the same result.  Debugging does not seem to get past some of the Function framework prices, or maybe I am missing a way to debug into the actual issue.

I'll keep digging, but thought I would ask if this might be something simple.

Can you share your HelloWorldCommandHandler and HelloWorldCommand implementations?

Hello James, thanks for the quick response!  Below are the sample files.
The following is in a netstandard2.0 library named "ThreeWill.Functions.Commands"
using System;
using AzureFromTheTrenches.Commanding.Abstractions;

namespace ThreeWill.Functions.Commands
{
    public class HelloWorldCommand : ICommand<string>
    {
        public string Name { get; set; }
    }

}

The following is in a netstandard2.0 library named "ThreeWill.Functions.Application"
using System;
using System.Text;
using System.Collections.Generic;
using System.Threading.Tasks;
using AzureFromTheTrenches.Commanding.Abstractions;
using ThreeWill.Functions.Commands;

namespace ThreeWill.Functions.Application.Handlers
{
    internal class HelloWorldCommandHandler : ICommandHandler<HelloWorldCommand>
    {
        public Task ExecuteAsync(HelloWorldCommand command)
        {
            throw new NotImplementedException();
        }
    }
}

I can also share the entire solution if you'd like.  Nothing in there of any import yet.  Let me know.  Very interested to get FunctionMonkey working - Thanks for creating it!

@JamesRandall, I created a private repo and added you as a collaborator to the project. Likely something simple on my part is missing.  :-)

Thanks for that. The line:
internal class HelloWorldCommandHandler : ICommandHandler<HelloWorldCommand>

needs to read
internal class HelloWorldCommandHandler : ICommandHandler<HelloWorldCommand, string>

Your ExecuteAsync method signature will then become:
public async Task<string> ExecuteAsync(HelloWorldCommand command, string previousResult)

If your command returns a result the command handler needs that as part of its generic type definition.
Hope that helps! Will leave this issue open for the moment in case not!

Thanks James, I knew it was likely something simple!  Sorry for the bother but very much appreciate the response and patience!

No problem at all.
I moved Function Monkey to v1.0.0 since I recorded the first 2 videos and there were a couple of breaking changes - in case you run into any issues there is a very short doc here that describes them and how to resolve them:
https://functionmonkey.azurefromthetrenches.com/guides/upgradingTo1.0.html
I also cover them in part 3 which I should be publishing later today.

authors: JamesRandall pkskelly

repo: JamesRandall/FunctionMonkey


text:
Weather Icons display as squares

Describe the bug
The weather and sleep icon (which uses a weather icon) show as simple black squares
To Reproduce
This behavior occurs constantly
Expected behavior
Show the correct weather icons
Screenshots

Desktop (please complete the following information):

EndeavourOS
Hyprland

Additional context
I have got nerd fonts installed

These icons are based off of your system's icon theme. It may be that the theme is missing the required icons. Could you tell me which icon theme it is that you're using; and if possible try a different icon theme and see if the issue persists?

Currently using breeze dark. I can confirm that switching to adwaita or qogir makes the icons show up

Ah gotcha, in that case you may have to reinstall or update Breeze Dark. In either case I'll close the issue since it isn't a HyprPanel related issue.

repo: Jas-SinghFSU/HyprPanel


text:
Release 1.3.5

Hi,
I was wondering if there's any plan for a 1.3.5 release ?
https://github.com/Jasig/phpCAS/compare/1.3.4...master
Let me know if there are short issues that needs attention first !

I think the only open bug is currently #213 which is most likely a onliner to fix the visibility of some functions. If you could fix this we can release a version 1.3.5 shortly.

Just pushed the new version!

Top, thank you very much, we'll finally be able to use the validation callback in stable. Reminds me I should probably write an example for this one ?

authors: gboddin jfritschi

repo: Jasig/phpCAS


text:
UP-4762: Label search box on "Portlet Administration" portlet - rel-4-3-patches

https://issues.jasig.org/browse/UP-4762
Issue
When a form control does not have a name exposed to assistive technologies, users will not be able to identify the purpose of the form control. The name can be provided in multiple ways, including the label element. Other options include use of the title attribute and aria-label which are used to directly provide text that is used for the accessibility name or aria-labelledby which indicates an association with other text on a page that is providing the name. Button controls can have a name assigned in other ways, as indicated below, but in certain situations may require use of label, title, aria-label, or aria-labelledby.
Code Snippet:
<input type="text" class="portlet-search-input form-control">

Resolution
Add id, link label to input with id.
Also updated input type to search.

Coverage decreased (-0.004%) to 22.867% when pulling 1fbc194ae6cf0ffdf1c9655ff2cd82c263762378 on ChristianMurphy:UP-4762-portlet-administration-labelling-rel-4-3 into e6b4afdd506529d90275b783e859c6be70f204ab on Jasig:rel-4-3-patches.

authors: ChristianMurphy coveralls

repo: Jasig/uPortal


text:
Balanced durability mode doesn't work with RabbitMQ

Describe the bug
When using RabbitMQ with default DurabilityMode = Balanced app is unable to start.
All Wolverine and Marten packages are latest as for now: Wolverine 2.1.2 and Marten 7.4.0
There are two other issues strictly related to that and giving necessary context:
#645 and #746
Firstly this exception is thrown:
fail: Wolverine.Runtime.Agents.StartLocalAgentProcessing[0]
      Invocation failed!
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
       ---> System.ArgumentNullException: Value cannot be null. (Parameter 'serializer')
         at Wolverine.Runtime.Routing.MessageRoute..ctor(IMessageSerializer serializer, ISendingAgent sender, IEnumerable`1 rules, IReplyTracker replyTracker)
         at Wolverine.Runtime.Routing.MessageRoute..ctor(Type messageType, Endpoint endpoint, IReplyTracker replies)
         at Wolverine.Runtime.Routing.MessageRouterBase`1.<>c__DisplayClass2_0.<.ctor>b__1(Endpoint endpoint)
         at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
         at Wolverine.Runtime.Routing.MessageRouterBase`1..ctor(WolverineRuntime runtime)
         at Wolverine.Runtime.Routing.MessageRouter`1..ctor(WolverineRuntime runtime, IEnumerable`1 routes)
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         --- End of inner exception stack trace ---
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
         at System.Activator.CreateInstance(Type type, Object[] args)
         at JasperFx.Core.Reflection.TypeExtensions.CloseAndBuildAs[T](Type openType, Object ctorArgument1, Object ctorArgument2, Type[] parameterTypes)
         at Wolverine.Runtime.WolverineRuntime.RoutingFor(Type messageType)
         at Wolverine.Runtime.MessageBus.PublishAsync[T](T message, DeliveryOptions options)
         at Wolverine.Runtime.MessageContext.EnqueueCascadingAsync(Object message)
         at Wolverine.Runtime.Agents.InternalMessageHandler`1.HandleAsync(MessageContext context, CancellationToken cancellation)
         at Wolverine.Runtime.Agents.InternalMessageHandler`1.HandleAsync(MessageContext context, CancellationToken cancellation)
         at Wolverine.Runtime.Handlers.Executor.InvokeAsync(MessageContext context, CancellationToken cancellation)

Which is the same as described in #645
Secondly there is workaround for this which is setting:
options.Durability.Mode = DurabilityMode.Solo;
I use it temporarily in solo mode to proceed with development but unfortunately it won't be acceptable on prod environment in my project.
This workaround is taken from #746
Thirdly and actually really strange:
It is possible to run it without above workaround.
You just need to run your app twice.
In the first run you'll get exception described above.
When you run again everything will be fine.
In the first run there is a log:
Found no other existing nodes, deciding to assume leadership in node 1
and right after that above exception is thrown.
In the second run these logs are printed:
Starting agents for Node da6a8488-5f77-48b1-b481-5f55a9b67653 with assigned node id 2
Found no elected leader on node startup, requesting node 1 to be the new leader
Wolverine assigned node id for envelope persistence is 2

and app runs properly.
To reproduce
Use what is described in #746

@ArkadiuszChorian Hey, the previous issue was closed because I cannot reproduce the issue locally at all. Without reproduction steps that actually cause the issue, I can't merely "use what is described in #746"

Only guess I have at this point is that this might help: https://github.com/JasperFx/wolverine/issues/660

@jeremydmiller thanks, I see. We'll make repro repo soon.

I'm making some guesses at the root cause and pushing a PR to the next release. Just re-open if 2.2.0 doesn't help please

@jeremydmiller thanks for making an attempt to resolve the issue. Hope it will help, so waiting for 2.2.0.
Despite that we were able to setup quite polished repro repo for this:
https://github.com/ArkadiuszChorian/wolverine-balanced-durability-issue
Many thanks @nmapx and @doctorspider42 for help with reproducing the issue and setting up that repo.

Hi again @jeremydmiller. We tested 2.2.0 on our repro repo and unfortunately #791 didn't help - Balanced mode still not working.

@jeremydmiller here is reopened issue #818

authors: ArkadiuszChorian jeremydmiller

repo: JasperFx/wolverine


text:
Incorrect detection

Detecting like Yandex crawler, but it's not:
Mozilla/5.0 (Linux; Android 9; YandexModule2-00001 Build/PI; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.163 YaBrowser/24.1.2.86 (lite) TV Safari/537.36

Also,
Mozilla/5.0 (Linux; Android 9; YandexModule2-00001 Build/PI; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.163 Mobile Safari/537.36

repo: JayBizzle/Crawler-Detect


text:
发现一个奇怪的现象

在Google浏览器里输入中文的时候回自动添加拼音。在火狐和360里不会添加

发布文章的时候

repo: JayTange/Jantent


text:
How does one go about using HIDGuardian?

I'm fed up of the nvidia overlay taking over my DS4 (which it only seemed to start doing recently for some reason) and would like to use hidguardian to prevent this - I notice some functionality relating to it has recently been added but I have no idea for the life of me how to set it up.

It's still work in progress. A test version can be found here: https://vigem.org/hidguardian-v2-secret-alpha-test-area/

I don't think I'll ever be able to play Dark Souls on PC again. I'm fucking fed up with this stupid piece of shit program not working whenever the fuck it wants. It used to work just fine months ago, then recently it started working only half the time. And now, no matter what I do it won't fucking work at all. Also fuck Microsoft, I'd rather shoot myself in the fucking forehead before buying a piece of shit Xbox controller. Fuck this stupid faggot bullshit, I'm going to fucking kill myself

authors: Fentiman JarnoVgr NTripleOne


text:
Slightly tilted face

Assuming the people in the photos have a slightly tilted head (less than 30 degrees), would this software capture and un-rotate the face?

@DonaldTsang No this tool doesn't have that functionality. It's a pretty interesting idea though, I'll add the functionality when I find some free time. If you want to do it, PR's are welcomed.

authors: DonaldTsang JeeveshN

repo: JeeveshN/Face-Detect


text:
Fix Console Errors on Startup

I pulled USyrup into a project and noticed the following errors:

A meta data file (.meta) exists but its folder 'Packages/com.cannone.usyrup/Sample' can't be found, and has been created.
There are inconsistent line endings in the 'Packages/com.cannone.usyrup/Tests/Runtime/Framework/TestModules/TwoDependentProvidersModule.cs' script. Some are Mac OS X (UNIX) and some are Windows.
There are inconsistent line endings in the 'Packages/com.cannone.usyrup/SyrupSource/Syrup/Framework/Model/InjectableMonoBehaviour.cs' script. Some are Mac OS X (UNIX) and some are Windows.

These should be pretty trivial to fix, I'll get to it when I have some time.

Fixed in https://github.com/Jeffan207/usyrup/commit/64ff60f3d52ff7fbf5c7bab7234b919f1753b511


text:
I try the project many times but could not running

In the ubuntu19/20, centos 7, Mac os 10.14/10.15 I found a problem form the pip
like this:
Running command git clone -q https://github.com/JeffreyCA/youtube-dl.git /webapp/src/youtube-dl
Running command git checkout -q 3afecd1a8c3c4371369984137389d580210c3d15
fatal: reference is not a tree: 3afecd1a8c3c4371369984137389d580210c3d15
ERROR: Command errored out with exit status 128: git checkout -q 3afecd1a8c3c4371369984137389d580210c3d15 Check the logs for full command output.
WARNING: You are using pip version 20.1.1; however, version 20.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
ERROR: Service 'huey' failed to build : The command '/bin/sh -c pip install --upgrade pip -r requirements.txt' returned a non-zero code: 1
The tips told the error is the pip3/pip vision was out of style, But I checked my machine and my pip is 20.3.1.
So what's the root about the pip? I'm tired, and thanks for you project.

Thanks for the report. I pushed an update that should fix this (https://github.com/JeffreyCA/spleeter-web/commit/4461d4715c5e800a9e7e52567f7e4ddd97c021ee). Can you do a git pull and try again?

Thx!I will test at now!

It's working right. THX a lot

Glad to hear!

authors: JeffreyCA Sanararax

repo: JeffreyCA/spleeter-web


text:
slong : Cint or Clong?

I guess arbs slong translates to Clong on the julia side:
julia> w = typemax(Cint) +1
2147483648

julia> ArbComplex(w)
ERROR: InexactError: trunc(Int32, 2147483648)
(...)

julia> z = ArbComplex{128}()
0 + 0im

julia> ccall(ArbNumerics.@libarb(acb_set_si), Cvoid, (Ref{ArbComplex}, Clong), z, w)

julia> z
2147483648.0 + 0im

looks like a bug -- will fix
Jeffrey Sarnoff

On Dec 31, 2019, at 5:27 AM, kalmarek notifications@github.com wrote:
I guess arbs slong translates to Clong on the julia side:
julia> w = typemax(Cint) +1
2147483648
julia> ArbComplex(w)
ERROR: InexactError: trunc(Int32, 2147483648)
(...)
julia> z = ArbComplex{128}()
0 + 0im
julia> ccall(ArbNumerics.@libarb(acb_set_si), Cvoid, (Ref{ArbComplex}, Clong), z, w)
julia> z
2147483648.0 + 0im
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

authors: JeffreySarnoff kalmarek


text:
@JeffreySu 谢谢，已经解决！

你怎么解决的啦

什么意思？

repo: JeffreySu/WeiXinMPSDK


text:
看了你们的Redis Cache实现，感觉太麻烦了

我觉得TryGetTicket/TryGetToken里的Cache可以不用自己实现，直接接口注入
然后默认实现MemoryCache，自动过期可以依赖Cache的Expried(.NET自带的MemroryCache和Redis这类都有支持)属性就好了，伪代码：
var token = GetFromCahe()
if(token == null)
{
token = GetTiket();
ICache.SetToCache(token, token.expires_in);
}
这样切换Redis就分分钟了。
另外还需要一个锁，本地的时候lock，Redis的时候得有一个分布式锁，Redis也可以实现分布式锁。
我觉得这里可以也实现的类似的
ICache.Lock(Action action)
这样的方法，把Lock的实现放在具体的ICache实现类上去。
我感觉这样的话，比你们现在要我自己实现一个BaseContainer 简单点。并且我看了下你们提供的Redis Cache，并没有考虑到分布式锁？求指教

缓存过期的机制这么做主要有两个原因：
1、因为本地缓存我们使用的是Dictionary，所以过期的时间还是需要使用程序来维护。不使用.NET自带的缓存有很多的考虑。
2、因为Container缓存的结构比较深，可能（或者比较肯定地说）在一些缓存模块里面，你缓存的是一整个容器对象，这个expire参数做不到针对某个Item的过期时间设置。
所以目前总体来说还是用程序来维护过期时间更加可靠，当然我们也会不断优化这个结构，效率上面始终是会有保障的。
分布式锁的做法比较多，我们正在找一个更加通用一点的方法，尤其是针对每个缓存都可以有效的，预计下一次Redis模块升级我们会加上去。因为是开源项目，最好还需要做成接口和一个默认实现，所以需要一些时间来验证。如果您有很好的通用方案，也欢迎交流。
非常感谢！

针对第二点，有点疑问。

在一些缓存模块里面，你缓存的是一整个容器对象。

这个我感觉按照目前我对缓存的使用，没有是存放整个容器的吧？如果缓存数据不是以Item为单独key缓存的话，一定是有问题的吧？
在程序层面可以以一个key来做一个大集合： urn:weixin:*(urn:weixin:jstoken/urn:weixin:token...)，这样不是每个key都是单独维护的嘛。我觉得想到存整个container，一定是个不合理的设计，而且不够通用。
Redis虽然有众多数据结构支持，但是作为通用缓存无论是redis/memcached都还是以Key:Value来做的。
当然我还是理解作为开源产品，还是以可扩展性为主比较好。我觉得如果Token缓存模块有更好的接口可以扩展的话，还是会比较方便的，毕竟大部分公司（比如我们这）都有稳定的cache框架了，直接扩展一个接口会更加的方便些。

目前我们库里面提供的是一个默认的实现，如果您有自己的实现方式，是可以做另外的实现的。
关于缓存IContainerItemCollection的问题，是历史遗留问题，因为之前的方案是做一个CacheServer代理服务（开源项目里面有这个项目，只是我们现在还没有正式发布），然后所有的缓存都集中在这一台上面，并且直接用C#存对象，而不是字符串，这样的话整个对象引用效率会比序列化高，并且部分的Container逻辑处理都集中在这一台上面，Web服务器只需要关注业务逻辑，当然里面还有很多的问题需要解决。这只是一个扩展方案，即使发布了也不会影响当前的方案。后来扩展到Redis等其他的缓存框架之后，面临序列化的问题确实有独立的需要，这个后期是会处理的，目前来说对大部分维护已知的微信公众号的项目不会有效率上太大的差别。

@capqueen 已经重构了Container和Redis的代码。此版本开始稳定支持：https://github.com/JeffreySu/WeiXinMPSDK/releases/tag/v14.3.4
感谢您的建议！

authors: JeffreySu capqueen


text:
VB sample project

It would be nice if there was a VB sample project.  I've created one based on the SampleWebApplication.  If you'd take a pull request, let me know.

Sure, I'll merge it.

Thank you for submitting it ( https://github.com/Jehoel/AspNetDependencyInjection/pull/16 ). I've done a review and I've requested changes before I merge it.

repo: Jehoel/AspNetDependencyInjection


text:
Add support for I2C

The SVD files have been regenerated with groupName added for SPI and
I2C (See https://github.com/JeremyGrosser/svd2ada/pull/1).

Rebased and merged as 91492fc0ff432a89ae31abd6f2e47209c10da912

I should have asked before merging this, do you consent to making these changes available under the BSD-3-Clause license? To whom should the copyright for these files be assigned?

Everything is fine 👍

authors: Fabien-Chouteau JeremyGrosser


text:
Large data validation performance in DEBUG mode

System Details

FluentValidation version: 8.1.0
.NET Framework version: 4.7

Issue Description
There was an issue which was reported a year ago on "Validating a very large set of items is slow" (#475). And indeed the difference in debug mode is very noticeable. If you try to validate records which number > 500K you will face with > 20 times slower performance (~45 times in some cases)
While digging into the source code I found that root cause is related to lazy loading of property value.
public class PropertyValidatorContext : IValidationContext {...
public object PropertyValue => _propertyValueContainer.Value;
If you read the value directly - the performance is only slightly above release mode (and it is logical).
Sample Code
class Program
{
    static void Main(string[] args)
    {
        var sw = new Stopwatch();

        var rowValidator = new DummyValidator();
        List<Dummy> datasetData = GenerateDummyData();

        int i = 0;
        sw.Start();
        foreach (Dummy row in datasetData)
        {
            rowValidator.ValidateRow(row);

            ++i;
            //Console.WriteLine($"Current index: {++i}");
        }

        sw.Stop();
        Console.WriteLine($"Elapsed Time: {sw.Elapsed.TotalSeconds}");
        Console.ReadKey();
    }

    private static List<Dummy> GenerateDummyData()
    {
        var result = new List<Dummy>();
        for (int i = 0; i < 500000; i++)
        {
            var model = new Dummy
            {
                Prop1 = "ABC",
                Prop2 = "12_4__7",
                EffectiveDate = DateTime.Today.AddMonths(-2),
                DiscontinueDate = DateTime.Today.AddMonths(1),
                Comment = "n/a"
            };

            result.Add(model);
        }

        return result;
    }

    public class Dummy
    {
        public string Prop1 { get; set; }

        public string Prop2 { get; set; }

        public DateTime? EffectiveDate { get; set; }

        public DateTime? DiscontinueDate { get; set; }

        public string Comment { get; set; }
    }

    public class DummyValidator : AbstractValidator<Dummy>
    {
        private bool defineRulesCalled;

        public FluentValidation.Results.ValidationResult ValidateRow(Dummy row)
        {
            if (row == null) throw new ArgumentNullException(nameof(row));

            if (!this.defineRulesCalled)
            {
                this.DefineValidationRules();
                this.defineRulesCalled = true;
            }

            return this.Validate(row);
        }

        protected void DefineValidationRules()
        {
            this.RuleFor(a => a.EffectiveDate).LessThanOrEqualTo(tz => tz.DiscontinueDate).When(tz => tz.EffectiveDate.HasValue && tz.DiscontinueDate.HasValue);
        }
    }
}

Hi, thanks for looking into this.
The lazy loading is in place as retrieving the property value could potentially be expensive (as could the transformation function) and shouldn’t be performed unless the executing validator actually needs it. That being said I’m not particularly tied to using Lazy<T> so would be happy to swap this out for something else if it’s causing issues (although I will stress that you should be running in release mode of performance is a concern).

Just to follow up, I tried running your benchmark and I am not seeing much of a difference between debug and release using your code.
.NET Framework Debug: Elapsed Time: 0.4352517
.NET Framework Release: Elapsed Time: 0.4298071
.NET Core Debug: Elapsed Time: 0.4731312
.NET Core Release: Elapsed Time: 0.4597379
This is running the latest FluentValidation (8.1.0), with use of Lazy<T> still in place. I also tried the same on Linux with both mono and .NET Core with similar results.
Based on this I don't think there's anything that needs doing, but if you can provide more details on how to reproduce this then I'd be happy to take another look.

Hi Jeremy,
Thanks for quick response!
You can reproduce the issue if you try to Debug in Visual Studio, not just run code in debug build without debugging. Do not know the exact reason why VS debugger acts with that much performance degradation. But the problematic thing is that Lazy initialization.
Regards

Thanks for the update....yes, running with the debugger will indeed see a big performance hit - this really is expected (not just with FluentValidation but any code really). I'd only consider this a problem if you were seeing a perf problem compiled in Debug mode without the debugger attached. As it is, this is normal/standard behaviour when running with the debugger so I'm going to go ahead and close this.

repo: JeremySkinner/FluentValidation


text:
May I know what the below script does in your travis-ci yml file

before_install:

pip install --user codecov

after_success:

codecov

Codecov is an external service that creates nice visualisations of code coverage.
Both of those are required to make that work together with Travis CI.
This is the commit where I added it: https://github.com/JeroenMols/LandscapeVideoCamera/commit/1fcd47ce9accfb15a614f87e49f9436f1ddfbc43
To see what the service does, you can have a look here:  https://codecov.io/github/JeroenMols/LandscapeVideoCamera?branch=master

Ah yes @kt3k talks about mentions in his repo. Thanks!

authors: JeroenMols bhargavms

repo: JeroenMols/LandscapeVideoCamera


text:
Some example stories

Example stories for 3 simple setups:

A nav menu that highlights the current item.
A frame containing an outlet that renders different content for different routes
A component that links to some outside route

I tried to cover a wide range of scenarios with the routing configuration.

Based on discussion in #51. Would be good to have this linked to from the main github page, but I don't quite know how that works so I'll leave it up to you.


text:
StringFormatTests on skikoTest

Proposed Changes

Added tests to functions String.format() after addition with calendar in PR https://github.com/JetBrains/compose-multiplatform-core/pull/717

Testing
Run tests:
./gradlew :mpp:testDesktop
./gradlew :mpp:testUIKit

@alexzhirkevich Added tests to your changes

Thanks, it's a good point. I shoul've include such tests in my PR.
Or maybe it shoul've been tested before so i didn't have to fix obvious bugs in it :D

Probably not_enought_args should also be tested? And this case should thow a MissingFormatArgumentException like on JVM?

I know. I mean it is inconsistent with jvm. Jvm format will throw an exception

I know. I mean it is inconsistent with jvm. Jvm (Android actual) format will throw an exception

Ok. because it is internal function we can stay it as is now.

authors: alexzhirkevich dima-avdeev-jb

repo: JetBrains/compose-multiplatform-core


text:
Crashed when I instantiated the java class in Button's onClick{}

I have a util class which is written in java. But it crashes when I call and instantiate it in compose>Button's onClick{}.
The program compiles and runs normally, and it crashes only when the button is clicked.
exception details：

It is probably because you have placed Util in kotlin folder.
To fix, move Util to java folder or apply java plugin explicitly and add main/kotlin to java.srcDirs:
plugins {
    kotlin("jvm") version "1.5.30"
    java
    id("org.jetbrains.compose") version "1.0.0-alpha4-build328"
}
...
sourceSets.main {
    java.srcDirs("src/main/kotlin")
}

@igordmn    Yeah, I solved it by creating a java folder to place it. Thanks

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: igordmn okushnikov tzSharing

repo: JetBrains/compose-multiplatform


text:
Class not found but it is in dependency plugin

getting java.lang.NoClassDefFoundError: org/jetbrains/yaml/YAMLFileType on startup
sample is attached
fff.zip

Thank you for sample project. However, it would be nice if you'll attach working samples in future.

getting java.lang.NoClassDefFoundError: org/jetbrains/yaml/YAMLFileType on startup

Gradle plugin is not responsible for loading classes in IntelliJ Runtime, it's all on IntelliJ's class-loaders.
In your case the plugin is loaded before YAML plugin, apparently there is no YAMLFileType class yet. You must use explicit dependency declaration, e.g. following tag in plugin.xml:
<depends>org.jetbrains.plugins.yaml</depends>

repo: JetBrains/gradle-intellij-plugin


text:
Create lopiaseczno.txt

https://lopiaseczno.waw.pl

@mpiosik Pull request merged. Thank you!

authors: mpiosik philipto

repo: JetBrains/swot


text:
Add University BEST Sabel Berlin, Germany

Add University BEST Sabel Berlin, Germany

please provide the link to the page, describing long-term IT-related programs, that the university provides. Thanks!

obsolete request, please reply to reopen

authors: Syquel zweizwei


text:
add NDA to list of Educational Institutions

Add Nigeria Defence Academy to list of Educational Institutions

School Website : https://nda.edu.ng/
Proof of faculty: https://nda.edu.ng/faculty-of-engineering/

@philipto appreciate your kind feedback.

@DanSam5K Pull request merged, thanks!


text:
please add Berkshire Community College

https://berkshirecc.edu/academics/programs-and-classes/computer-information-systems/certificate-options/computer-science-option-as-degree.php

@kimberlydavidson0191 First stage of verification passed, official domain for Berkshire Community College is berkshirecc.edu as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@kimberlydavidson0191 This request failed for technical reason, but I added the file to the repository manually.
Thank you for your patience while waiting for a review and processing your request.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


text:
Create fgv.txt

FGV's main website is [portal.fgv.br], though [emap.fgv.br] might be a better link. FGV has several "schools", and EMAp is the applied mathematics one. (No www's on the links)
At [emap.fgv.br/graduacao/matematica-aplicada] and [emap.fgv.br/mestrado/modelagem-matematica] you can find information on the long term courses it offers. (No www's on the links)
And at [www.fgv.br/tic/office365/#pag2a] there is recognition of the domain.

@souzamatheusp Pull request merged. Thank you!

authors: philipto souzamatheusp


text:
add ynov in right folder

ynov is a computer school located in france.

@nacimgoura I am afraid, you might misunderstood the idea of this repository. Itr is not a collection of geographically categorized schools, it is a repository of email domains, and the domain ynov.com, which you suggest to remove, exists, and belongs to the school.
I have to close the request without merging. Please ensure you are familiar with this repository rules located at the bottom of this page and submit a new request with correct information.
If I misunderstood your request, and you know that the domain which you suggest to remove, do not belong to the school mentioned in the respective files, please reopen the issue, and let me know about that. Thank you.
Thank you for the understanding!

authors: nacimgoura philipto


text:
Register uninter.com

Centro Universitário Internacional UNINTER

@dpossas I am sorry for a delay with processing your request.
Pull request merged. Thank you!

authors: dpossas philipto


text:
Questions and advice for GDCRNATools

When I use it to build ceRNA network,I notice the internal dataset "pcTarget" and "lncTarget" of this package.
QUESTION:
According to your published article,you use 3 data sources including StarBase v2.0 (Li et al.,2014), miRcode (Jeggari et al., 2012), and spongeScan (Furio´ -Tarı´et al., 2016).So I was confused when I found only 137 lncRNAs in lncTarget dataset.Whether you use intersect or union of them?
Because starBase had been updated to v3.0 with 531 lncRNAs with miRNA interaction.I wonder whether to use my new data.Counld you give some suggestion?
ADVICE:
I found an error would appear if some miRNAs in the matrix of users didn't exist in the  "pcTarget"/ "lncTarget" or self-defined datasets of users.And I think the next code for mirCorTestFun function would avoid this problems.Your suggestion?
mirCorTestFun <- function(lncDa,pcDa, mir,mir.expr) {    if(mir %in% rownames(mir.expr)){     ## miRNA in the matrix(your raw codes)     mirDa <- unlist(mir.expr[mir,])     corlm <- cor.test(lncDa, mirDa, alternative='less')     corpm <- cor.test(pcDa, mirDa, alternative='less')     reglm <- corlm$estimate     regpm <- corpm$estimate   } else {     ## miRNA not exist,so correlation could not be calculated.     reglm <- NA     regpm <- NA   }   return (c(reglm, regpm)) ## lnc then pc }
Look forward to your return.Thank you!

Moreover,for the result from gdcCEAnalysis function,could you give a suggestion about proper cut-off of parameters for a real ceRNA network?

Hi,
I am trying to use gdcCEAnalysis function and it gives two main errors:
1.) Error in colnames<-(*tmp*, value = c("lncRNAs", "Genes", "Counts",  :
attempt to set 'colnames' on an object with less than two dimensions
2.)Error in cor.test.default(lncDa, mirDa, alternative = "less") :
not enough finite observations.
I believe huangwb8 has suggested some changes regarding same. However, I am new to R and it would really help if you can help me resolve the issue.

repo: Jialab-UCR/GDCRNATools


text:
correction of data types in JSON

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Adding of additional information

Checklist:

[ ] I have performed a validation of the JSON data
[ ] I have made corresponding changes to the documentation

Squashed and merged. Handles #41
A minor issue is that it was not needed for the postal code to be of number data type. But it is all good.

repo: JianLoong/malaysia-api


text:
[Readme] change suggested package for parse cron

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Fixed issue
#...

License
MIT

Hi :wave:
Following readme,  I tried to install dragonmantank/cron-expression to show humanized cron expression.
However, this plugin already require it, and no humanized cron expression is displayed.
Regarding composer.json, it came out that it should be lorisleiva/cron-translator. Let's update that readme :rocket:
In a second time, we should check if dragonmantank/cron-expression is really mandatory

:upside_down_face: wrong repo

repo: Jibbarth/SyliusSchedulerCommandPlugin


text:
[Bug]: Persian text is not accurate

Application
Outline Client
Describe the bug
The Persian texts of the Outline client app are not accurate. They are mostly made using auto-translations made by apps. Users will not have a correct understanding of them.
Steps to reproduce
Change the language to Persian (فارسی) in the Outline app.
I have corrected them in client/src/www/messages/fa.json, but I do not have permission to push my branch into this repository.
What did you expect to happen?
No response
What actually happened?
No response
Outline Version
1.14.0
What operation system are you using?
Android, iOS, Windows
Operating System Version
No response
Screenshots and Videos
No response

Feel free to share the suggested updates here (or link to your branch) and I will run them by our translators! Thanks for helping us improve the app.

Thank you so much for your cooperation. I have made the changes and tested them.
I have also committed the code into my local branch, but I do not have the permission to push into the Jigsaw repository. The following is my commit:
commit 4be3dd82cab00d0ad679ad2d4bc5cd565a062bcc (HEAD -> emohandesi/persian_text)
Author: Ehsan Mohandesi <emohandesi@microsoft.com>
Date:   Tue Dec 10 15:50:21 2024 -0600

    fix(client): corrected the Persian texts (#2303)

$ git branch
* emohandesi/persian_text
  master
$ git push --set-upstream origin emohandesi/persian_text
Select an authentication method for 'https://github.com/':
  1. Device code (default)
  2. Personal access token
option (enter for default): 1
To complete authentication please visit https://github.com/login/device and enter the following code:
XXXX-XXXX
remote: Permission to Jigsaw-Code/outline-apps.git denied to emohandesi.
fatal: unable to access 'https://github.com/Jigsaw-Code/outline-apps.git/': The requested URL returned error: 403

You can view the changes in fa.json.

authors: emohandesi sbruens

repo: Jigsaw-Code/outline-apps


text:
Background theme not appearing

It's been 1-2 weeks since I've encountered this issue, it makes me feel uncomfortable because I can't see my waifu on the back....
Basically, I have the correct script and stuff, it's just that the background isn't appearing.

/* fix not having a background image anymore */
.layers-20RVFW, .layer-kosS71, .container-2OU7Cz, .typing-3eiiL_ {
  background: transparent !important;
}
/* optionally adjust background brightness (0: original image, 1: black) */
.layers-20RVFW {
  background: rgba(0,0,0, 0.3) !important;
}``` did you add this already?

How do you use that code to fix the issue? (I have no experience with coding, I'm just here for help.)

Duplicate of #693

huh fixed try it
put this in custom CSS at discord settings
/* fix not having a background image anymore */ .layers-20RVFW, .layer-kosS71, .container-2OU7Cz, .typing-3eiiL_ {   background: transparent !important; } /* optionally adjust background brightness (0: original image, 1: black) */ .layers-20RVFW {   background: rgba(0,0,0, 0.3) !important; }
and use themefix.theme.css from this rar and put it in %appdata%/betterdiscord/themes and enable it in themes in discord
RAR https://drive.google.com/file/d/1v9FZ7LqSskHSEAZTMdXsz7gUjCuI0hQT/view?usp=sharing
simple and ez :)

authors: Dahipppo1555 DevilsLynAvenged Naranzhia OutDark RoryTheReaper

repo: Jiiks/BetterDiscordApp


text:
unify use of 'src' and 'url' attributes

fx-fore uses 'src'
fx-control uses 'url'
fx-load uses 'url'
fx-submission uses 'url'
should be unified

done for fx-control. url is  srcsince 2.0.0

repo: Jinntec/Fore


text:
Adding ssh keys for varunarya

please test this

please test this

please test this

please test this

please test this

Merging as Travis and Jenkins builds have passed.

authors: bodepd mayankkapoor varunarya10

repo: JioCloud/puppet-rjil


text:
exception in PlayerLoginEvent

`[ERROR] Could not pass event PlayerLoginEvent to MineSkyWars v1.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerList.attemptLogin(PlayerList.java:456) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:118) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:813) [?:1.8.0_212]
Caused by: java.lang.NullPointerException
at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57) ~[?:1.8.0_212]
at sun.reflect.UnsafeQualifiedObjectFieldAccessorImpl.get(UnsafeQualifiedObjectFieldAccessorImpl.java:38) ~[?:1.8.0_212]
at java.lang.reflect.Field.get(Field.java:393) ~[?:1.8.0_212]
at com.comphenix.tinyprotocol.Reflection$1.get(Reflection.java:149) ~[?:?]
at com.comphenix.tinyprotocol.TinyProtocol.getChannel(TinyProtocol.java:265) ~[?:?]
at com.comphenix.tinyprotocol.TinyProtocol.access$11(TinyProtocol.java:259) ~[?:?]
at com.comphenix.tinyprotocol.TinyProtocol$5.onPlayerLogin(TinyProtocol.java:160) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_212]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.8.jar:git-Spigot-21fe707-e1ebe52]
... 13 more`
I've getting this error after update the NPCLib library from the v1.4.2 to the current version

Should be solved with NPCLib v2.0 (which will be posted shortly).

https://github.com/JitseB/NPCLib/releases/tag/2.0

repo: JitseB/NPCLib


text:
use 'lighter' global composite operation

The "lighter" global composite operation looks the most rad when it comes to particle effects (source).

Thanks, this gives a very nice effect! I'm including this in the 0.4.0 release https://github.com/JoelBesada/activate-power-mode/pull/76.

authors: JoelBesada mrspeaker

repo: JoelBesada/activate-power-mode


text:
Does not support fluent schema queries

http://isaac.su/2014/05/mocking-fluent-objects-in-javascript/
Looking for a tool that will give me a drop-in mock for a schema-based query using fluent syntax. This tool lacks the recursive aspect necessary for that.
e.g. schema.find().where('name').equals('John').exec(callback);

This would be really useful for my use-case too

Hello I found sinon-mongoose which seems to let you test chained mongoose queries if that helps

the methods are missing, (like, lean), etc - but for chaining you can Model.find.returns(Model) within the test case, leveraging the sinon stub api to achieve what you're looking for

authors: blugavere dnlsngr miskinh robhawkes

repo: JohanObrink/mongoose-mock