Sniff all strings to check if they're valid mathematical expressions

This now sniffs
=55
55
555
and correctly sets them to be formula types
It means there's no obligation to type '=', but you still can to go into text mode.
It also won't assign a QSFormula type unless you have the Calculator Module installed.
If anybody has any ideas on the warning with performAction then that'd be appreciated. Not sure how to get rid of it.

Oh, P.S.:
It also returns if the string has no length. Previously QS would run through the whole sniffString method when you:

enter a character in text mode
delete the character so you have an empty text area

Two questions:

Does this require the changes to the Calculator plug-in to work correctly? If I type a number in text mode, it shows up twice and the text panel won’t go away until I relaunch.
It looks like it runs the performCalculation: action and compares the result every time you hit a key. Is that right? Is that what we want?

Does this require the changes to the Calculator plug-in to work correctly?

Yes.

It looks like it runs the performCalculation: action and compares the result every time you hit a key. Is that right? Is that what we want?

Yes. Now I think about it, it does seem like it's a little wasteful, but I think it's the best way to check if a string is a mathematical expression. .eg. how else would you check "sin(55) + log(5^2)" ?

I have a style related observation: the sniffString method is getting quite long. Maybe you could split it up into smaller methods (you know, checkFormula, checkFilePath, checkUrl or things like that) and call each one from the sniffString method. I think it would make the whole thing more easy to read.

Now I think about it, it does seem like it's a little wasteful

You could run some tests to check which of the parts of sniffString are quickest and which take the longest. Then you could move them around, so the quickest check are run first and if they are successful, you wont have to run the other ones. E.g. a string wont be a mathematical expression if we have already determined its an email address.

Good points on both accounts. I will look into it and update the pull
request (when I get time)
QL integration is now my priority (as I've emailed Lifehacker)
On 23 February 2012 09:50, Henning Jungkurth <
<EMAIL_ADDRESS>
wrote:

I have a style related observation: the sniffString method is getting
quite long. Maybe you could split it up into smaller methods (you know,
checkFormula, checkFilePath, checkUrl or things like that) and call
each one from the sniffString method. I think it would make the whole
thing more easy to read.

Now I think about it, it does seem like it's a little wasteful

You could run some tests to check which of the parts of sniffString are
quickest and which take the longest. Then you could move them around, so
the quickest check are run first and if they are successful, you wont have
to run the other ones. E.g. a string wont be a mathematical expression if
we have already determined its an email address.

Reply to this email directly or view it on GitHub:
https://github.com/quicksilver/Quicksilver/pull/710#issuecomment-4133461

how else would you check "sin(55) + log(5^2)"

I probably wouldn’t. If you’re willing to type all that, I don’t think adding ⇥ and c is too much to ask (or alternately typing = up front). ;-) In other words, I don’t see a problem that needs to be solved here. You obviously do or you wouldn’t have taken the time to implement this, so I don’t want to dismiss the idea. But I still need some convincing.
My main concern is what we’ve already been talking about: This method runs with every keystroke, so it needs to be lightweight. I think the method was in good shape as far as doing the quicker checks first, but if we’re going to make this change, the formula checks should probably come later.
I have no strong feelings either way about breaking sniffString into smaller pieces. It’s long, but with proper comments, I think it’s easy enough to follow.


Provide a SOFARPC RESTful protocol and swagger integration demo

Provide a SOFARPC RESTful protocol and swagger integration demo, so users can integration RESTful with swagger more easily.

We provide a document about how to integrate SOFARPC RESTful service and swagger, http://www.sofastack.tech/sofa-rpc/docs/RESTful-Swagger, more easier integration support will be provided in the later version of SOFARPC.


Rearranging children leads to a wrong visual representation

Changed the parent feature for two features under the root to another feature (done internally correctly, but drawn wrong):

Proof for internal correctness:

Could you please attach the .hyfeature and .hylayout file.
For me it seems to work

de.tu_bs.cs.isf.jxmapviewer.spl.zip

I am now able to reproduce it:
Create F1 under root.
Go to date t1 and create F2 under root. Move F1 under F2.
I'm trying to fix the attached model in the mean time.

Fixed model. Please delete .hylayout file before using it
NavigationSystem.zip


Add endianness support to struct module.

xdrlib works now locally, but I first would like to merge this change to the struct module.

Codecov Report

Merging #1061 into master will decrease coverage by 0.04%.
The diff coverage is 28.34%.

@@            Coverage Diff             @@
##           master    #1061      +/-   ##
==========================================
- Coverage   64.65%   64.61%   -0.05%
==========================================
  Files         101      101
  Lines       18305    18348      +43
  Branches     4042     4047       +5
==========================================
+ Hits        11836    11856      +20
- Misses       3688     3700      +12
- Partials     2781     2792      +11

Impacted Files
Coverage Δ

vm/src/stdlib/pystruct.rs
28.22% <28.34%> (+3.83%)
:arrow_up:

Continue to review full report at Codecov.

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


Write __repr__/__str__ for format classes that uses reprlib so a user can print to get something readable

Right now if we just do something like
>>> import crowsetta
>>> birdsongrec = crowsetta.example('Annotation.xml')
>>> birdsongrec

the auto-generated __repr__ provided by attrs will dump out every annotation to stdout. This is technically correct but not very helpful
Might be good to

[ ] override the __repr__ for each class and use reprlib in it to get an abbreviated representation of attributes
[ ] possibly provide an even friendlier version with __str__? In some cases I think it might be good to have an almost human-readable summary of the annotations in the file, "TextGrid with 5 tiers" or something like that

... I think having a __str__ that uses reprlib so that the convention is you print(annot) to get some more readable version might make the most sense


Xcode 12.0.1 & SPM

I get this error when I try to install DefaultsKit with SPM (Carthage works)

because every version of DefaultsKit contains incompatible tools version and root depends on DefaultsKit 0.2.0, version solving failed.

Same error (Xcode 12 + SPM)
This topic talks about invalid characters in some files: https://developer.apple.com/forums/thread/650499
Maybe it can lead to something.

Same :( Any update?

+1

Should be working now. Thank you.


Source Control treelist does not preserve folding state

Issue Type: Bug
Put the SCM view in treelist

contract the treelist.
Goto any other tab, say explorer tab and come back
REPRO: whole treelist is unExpanded
VS Code version: Code - Insiders 1.40.0-insider (f5d3ffa6a0d655c87e1eb0e1e90773df58f7ff25, 2019-10-23T05:24:32.072Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz (4 x 2500)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 4, 6

Memory (System)
16.00GB (3.10GB free)

Process Argv
-psn_0_23729824

Screen Reader
no

VM
0%

https://github.com/microsoft/vscode/issues/82346

#82346

No this is a new issue.
Please note the issue you quoted above is already mentioned to be fixed and I am still having the current issue.
Kindly reopen


How to send custom notification on failed task ?

I would like to send notification by calling my custom api. As far as I can see on documentation, (https://luigi.readthedocs.io/en/stable/api/luigi.notifications.html) luigi support notification by email.
However, I want to write custom notification function (call my api with a message) that will be invoke when there is failed task.
How can I write my own notification function, how to make my notification function be call when a task failed ?

Two parts of the documentation you should read over and choose from:

The on_failure method on Task
Events/callbacks - You may want to handle more than FAILURE, see a list of events here. Generally I add event handlers for FAILURE, PROCESS_FAILURE, TIMEOUT and BROKEN_TASK to report a problem but YMMV.

what is the different between FAILURE, PROCESS_FAILURE, BROKEN_TASK  ?

The documentation on the event types needs some work.. PRs accepted! You can take a look at
https://github.com/spotify/luigi/blob/e2228418eec60b68ca09a30c878ab26413846847/luigi/worker.py and search for Event. in the code to see where each is triggered.


Does convolution layer has weight decay param? just as fc layer "wd_mult"

Does convolution layer has weight decay param? just as fc layer "wd_mult"

Please ask usage related questions at https://discuss.mxnet.io/ for more people being able to answer, search and refer in future. We want to keep GitHub for issues/bugs.


Release 2.0 not available on http://cdnjs.com/libraries/randomcolor

Could not find 2.0 on cdnjs.com. Can you please add this to http://cdnjs.com/libraries/randomcolor?
Thanks

This is now fixed!


CCUBE-1436

Changes

Created a translate prefill schema function
Amended the translateToElement function to include prefill
Ammended typings for the prefill
Added new tests to test for the functionality.

Additional information

You may refer to this CCUBE-1436

do fix the failing tests

the tests are still failing?


rules for tool hifiasm_meta

@TomHarrop would you be happy with singularity_enabled: true for this? It's using a single conda package there will (i think) be a container

Yep! I do my testing on biocontainers rather than conda, so this tool has already been tested with Singularity.


Issue in gathering facts from device, logout error [using telnet]

When I am trying gather facts from device, it is successfully collecting all facts but giving error while logging off from device.
(venv)sh-3.2# netconify --telnet <IP_ADDRESS>,23 -u demo -P demo123 --facts
TTY:login:connecting to TTY:<IP_ADDRESS>:23 ...
TTY:login:logging in ...
TTY:login:starting NETCONF
facts:retrieving device facts...
facts:saving: ./R1_re01-facts.json
inventory:saving: ./R1_re01-inventory.xml
TTY:logout:logging out ...
ERROR:None

Traceback (most recent call last):
  File "/usr/local/bin/netconify", line 6, in <module>
    results = nc.run()
  File "/Library/Python/2.7/site-packages/netconify/cmdo.py", line 250, in run
    self._hook_exception('logout', err)
  File "/Library/Python/2.7/site-packages/netconify/cmdo.py", line 248, in run
    self._tty_logout()
  File "/Library/Python/2.7/site-packages/netconify/cmdo.py", line 304, in _tty_logout
    self._tty.logout()
  File "/Library/Python/2.7/site-packages/netconify/tty.py", line 115, in logout
    self._logout_state_machine()
  File "/Library/Python/2.7/site-packages/netconify/tty.py", line 150, in _logout_state_machine
    self._logout_state_machine(attempt=attempt + 1)
  File "/Library/Python/2.7/site-packages/netconify/tty.py", line 150, in _logout_state_machine
    self._logout_state_machine(attempt=attempt + 1)
  File "/Library/Python/2.7/site-packages/netconify/tty.py", line 144, in _logout_state_machine
    _ev_tbl[found]()
KeyError: None

I have the same problem.

@SimonXantaro You should use PyEZ 2 for this . Refer example
https://github.com/Juniper/junosautomation/blob/master/pyez/PyEZ_2_0_0.ipynb
from jnpr.junos import Device
from lxml import etree

with Device(host='10.xxx.1.xxx', user='xxx', password='xxxx', mode='telnet', port='23', gather_facts=True) as dev:
    print dev.facts


sssd: init at 1.13.3

Things done

[x] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

autofs: add ldap support
glibc: add default and system lib folders to ld.so.conf
ding-libs: init at 0.5.0
jade: init at 1.2.1
perlPackages.Po4a: init at 0.47
perlPackages.TextWrapI18N: init at 0.06
Fixes #11407.
Notes
This is a set of nix expressions to build SSSD, RedHat's identity and authentication daemon. We're using this at my work, so I wanted to get it packaged in NixOS. I've tested the changes out on my NixOS VM, and login, ssh login, su, sudo, automount maps, etc. seems to work just like on my ArchLinux VM.
This package had a lot of dependencies that weren't in nixpkgs, so I had to add them. Some of the packages use docbook for building documentation. I ended up having to do a lot of juggling with the SGML_CATALOG_FILES variable to get everything to compile correctly, because of the non-standard way Nix stores catalog XML files, and some deficiencies in the configure scripts.
By far the most troublesome/controversial change I made in this pull request is adding /nix/var/nix/profiles/default/lib and /nix/var/nix/profiles/system/sw/lib to the (previously unused) ${pkgs.glibc}/etc/ld.so.conf lookup. I had to do this in order to get glibc to find the libnss_sss.so file. The libnss_sss.so file is required in order to get the "sss" entries in the nsswitch.conf file working. glibc uses the dynamic linker to find the libnss_* files. See #1868 for more information.
I thought about a few other approaches, such as using LD_LIBRARY_PATH, but that would mean either wrapping every program which can use glibc for user/password lookup (sshd, perl, python), or adding LD_LIBRARY_PATH to /etc/profile, which wouldn't work when nix is used on non-NixOS systems.
Another idea I had was to simply add sssd as a dependency to glibc, and copy the libnss_sss.so file in as a postInstall step in glibc, but that created an infinite loop when trying to build glibc.
So I guess modifying glibc means basically rebuilding everything. When I tested out these changes on my NixOS VM, rather than wait days for everything to re-compile, I instead re-mounted /nix/store as read-write, and just added the ld.so.conf and ld.so.cache files to the glibc folder in the nix store. Since I'm not actually patching glibc at all, I figured this was a good enough test.
My proposed ld.so.conf file puts ${pkgs.glibc}/lib first in the lookup list, so dynamic linker lookup should work mostly the same as it did before. I just added /nix/var/nix/profiles/system/sw/lib and /nix/var/nix/profiles/default/lib, so that the dynamic linker also searches those paths if it doesn't find what it's looking for the the glibc's lib folder.
This is a pretty big change, and since this is only my second package submission, my hope is that the NixOS main contributors can look over this change carefully and let me know if what I'm proposing could potentially break people's systems.
I did not add an option to generate the sssd.conf file from the user's configuration.nix file, since the sssd.conf file is required to be readable by root only. Putting it in configuration.nix, which is world-readable, would make those permissions pointless.
I should also mention that running the passwd command to try and change a LDAP user's password doesn't seem to work. It also doesn't work on my ArchLinux box with the stock SSSD package installed, so I'm not sure if this is just a deficiency in SSSD, or a problem with my sssd.conf configuration file. If anyone has any idea if it's possible to fix this, please let me know.
Thanks!

The bogus Travis failure should be fixed now.
That is one (IMO too) huge diff... any chance of splitting this megacommit into smaller pieces?

I split up the commit into separate commits for each package. I also made a modification to the ld.so.conf, so it's populated using $NIX_PROFILES instead of hard-coding the /nix folders. This should make it work when nix is installed under a custom prefix. Please let me know if there is anything I can fix or improve. Thanks!

The ld.so.conf thing is probably not going to be well received. Instead what could work is to patch glibc to search for the NSS modules in say, /run/nss-modules and then have a NixOS module to populate that if SSSD is enabled. This is similar to how OpenGL drivers are handled on NixOS.

Is there some way this could work for nix when installed as a prefix on
another distro? Could the search path be somewhere in /nix/var instead of
/run? If a nix installed program such as perl or python is running in
another distro thats set up with sss in the nsswitch conf file, then nix's
glibc should still be able to find the nix-installed libnss_sss.so file.
On Apr 16, 2016 8:34 PM, "Tuomas Tynkkynen"<EMAIL_ADDRESS>wrote:

The ld.so.conf thing is probably not going to be well received. Instead
what could work is to patch glibc to search for the NSS modules in say,
/run/nss-modules and then have a NixOS module to populate that if SSSD is
enabled. This is similar to how OpenGL drivers are handled on NixOS.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/pull/14697#issuecomment-210947636

What is the rationale for not wanting to use ld.so.conf in this way? To me it seemed like the ideal way to add to the library search path without having to patch glibc, since this search capability is already built into glibc.

This PR as it is does not create the {glibc.out}/etc/ld.so.conf file. I think it's because builder.sh defines its own postInstall, overriding the one in glibc/default.nix.

Also note that $NIX_PROFILES is empty during build, at least when sandboxing, and anyway, you can't anticipate user home locations during build, if that's what you intended. There is $NIX_STORE variable, so I suppose $NIX_STORE/../var/nix/profiles could be used, but searching such potentially large folders for libraries is bound to lead to problems.

Looking at po4a, please don't use the old texLive anymore. See texlive documentation: http://nixos.org/nixpkgs/manual/#sec-language-texlive

@vcunat thanks for your input! I'm working on fixing my patch with your suggestions. I'm going to go ahead and rebuild everything from scratch to make sure my glibc changes work, which could take awhile.

searching such potentially large folders for libraries is bound to lead to problems.

Can you elaborate on this? glibc on other linux systems searches /lib and /usr/lib for libnss_* libraries, do you think /nix/var/nix/profiles/system/sw/lib and /nix/var/nix/profiles/default/lib could have a significantly larger amount of files to search through?

Okay, so I think I see another problem: the ld.so.cache file is caching the paths to each individual library, not the folders themselves. So if a new library is added to one of the profile folders, the ld.so.cache would have to be updated, which is of course impossible....
Damn, I guess the only way to do this is to patch glibc to search for other folders. What would be the performance implications of this? The ld.so.cache mechanism seems to be used to speed up dynamic library lookups. Telling glibc to search other directories that aren't cached in ld.so.cache could cause a performance hit, but I'm not sure how significant that would be. I'll have to think about this some more...

Is there some way to get glibc to depend on sssd, so I can copy the libnss_sss.so file into the glibc folder, without causing infinite recursion? sssd depends on glibc, but glibc needs libnss_sss.so from sssd...

searching such potentially large folders for libraries is bound to lead to problems.

Can you elaborate on this? glibc on other linux systems searches /lib and /usr/lib for libnss_* libraries, [...]

The problem is that AFAIK adding stuff into ld.so.cache makes it look into the folders when loading any libraries. With nix we almost always run against exactly the same versions of libraries that we build against. It's not good to allow changing all linkage inadvertently by a nix-env command.

Is there some way to get glibc to depend on sssd

That's standard bootstrapping problem. It should be doable by changes to http://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix, but it would certainly seem better to have a solution that doesn't involve a mass rebuild when switching sssd on/off.

I anticipate a couple options:

libGL-like solution, i.e. let NixOS extend $LD_LIBRARY_PATH by a directory with libnss plugins symlinked into place.
Patch glibc to add a special environment variable containing a directory or list of full paths or something like that.

But one should consider:

security implications – any user can override such variables;
what will happen in case of version mismatch, i.e. when the plugins are loaded by a glibc version completely different from the one it built against.

I removed the texLive import and fixed a parallel build issue with jade.
I also removed the glibc commit since it's currently broken. I'm not sure how to proceed since changing something as fundamental as glibc needs more guidance and supervision. It might make more sense to submit the glibc changes as a separate PR.
Would it be possible to get sssd merged without the glibc changes? It wouldn't work properly until a solution to the glibc problem is found, but at least people make use of use it with some hacks, e.g. manually copying the .so files into the glibc/lib folder.

libGL-like solution, i.e. let NixOS extend $LD_LIBRARY_PATH by a directory with libnss plugins symlinked into place.

I played around with this, and its workable (on NixOS) without recompiling glibc. The main issue here is that creating a systemd --user session is apparently done by systemd by first dropping privileges and then running the user daemon in the environment specified by the user@ unit. For users that don't exist on the local system, the first step fails unless PID 1 itself is able to find the nss module. So I had to put the LD_LIBRARY_PATH export directly into the stage 2 init script.
I could try and create a PR from this if you think its a viable solution.

security implications – any user can override such variables;

Isn't that always the case? On any distribution, users can override LD_LIBRARY_PATH and make programs load different versions of nss modules. So all security issues that could occur in NixOS using this approach could also occur anywhere else...

So I had to put the LD_LIBRARY_PATH export directly into the stage 2 init script.

@cruegge, how did you do this? I tried adding this to my configuration.nix:
  boot.postBootCommands = ''
    export LD_LIBRARY_PATH=${pkgs.sssd}/lib
  '';

The environment variable doesn't seem to be inherited by systemd. How did you modify the stage2 init script to make this work? Thanks!

Also, how does your solution deal with prefix-installed Nix running on another distro? In that case, we don't have control over the init scripts, so I don't know how we could set the LD_LIBRARY_PATH.

@benwbooth there seems to be a failure building this against the current nix master on a prefixed nix install
$ nix-env -i sssd -f $NIXPKGS
...
mv -f /tmp/nix-build-glibc-locales-2.23.drv-0/build/sysd-versionsT /tmp/nix-build-glibc-locales-2.23.drv-0/build/sysd-versions
(while read which lib number setname; do \
   eval seen_$which=1; \
   test x"$which" = xDEFAULT || continue; \
   case $number in \
     [0-9]*) echo "$lib.so-version=.$number"; \
             echo "all-sonames+=$lib=$lib.so\$($lib.so-version)";;\
     *)      echo "$lib.so-version=$number"; \
             echo "all-sonames+=$lib=\$($lib.so-version)";;\
   esac; \
 done; \
 echo soversions.mk-done = t;) < /tmp/nix-build-glibc-locales-2.23.drv-0/build/soversions.i > /tmp/nix-build-glibc-locales-2.23.drv-0/build/soversions.mkT; exit 0
mv -f /tmp/nix-build-glibc-locales-2.23.drv-0/build/soversions.mkT /tmp/nix-build-glibc-locales-2.23.drv-0/build/soversions.mk
gawk -v buildlist="iconvprogs iconvdata ldconfig lddlibc4 libmemusage libSegFault libpcprofile librpcsvc locale_programs memusagestat nonlib nscd extramodules libnldbl" -f scripts/gen-libc-modules.awk /tmp/nix-build-glibc-locales-2.23.drv-0/build/soversions.i > /tmp/nix-build-glibc-locales-2.23.drv-0/build/libc-modules.T
/bin/sh scripts/move-if-change /tmp/nix-build-glibc-locales-2.23.drv-0/build/libc-modules.T /tmp/nix-build-glibc-locales-2.23.drv-0/build/libc-modules.h
touch /tmp/nix-build-glibc-locales-2.23.drv-0/build/libc-modules.stmp
for dir in /tmp/nix-build-glibc-locales-2.23.drv-0/build sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic ; do \
  test -f $dir/syscalls.list && \
  { sysdirs='sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic' \
    asm_CPP='gcc -c     -Iinclude   -I/tmp/nix-build-glibc-locales-2.23.drv-0/build  -Isysdeps/unix/sysv/linux/x86_64/64  -Isysdeps/unix/sysv/linux/x86_64  -Isysdeps/unix/sysv/linux/x86  -Isysdeps/unix/sysv/linux/wordsize-64  -Isysdeps/x86_64/nptl  -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux  -Isysdeps/nptl  -Isysdeps/pthread  -Isysdeps/gnu  -Isysdeps/unix/inet  -Isysdeps/unix/sysv  -Isysdeps/unix/x86_64  -Isysdeps/unix  -Isysdeps/posix  -Isysdeps/x86_64/64  -Isysdeps/x86_64/fpu/multiarch  -Isysdeps/x86_64/fpu  -Isysdeps/x86/fpu/include -Isysdeps/x86/fpu  -Isysdeps/x86_64/multiarch  -Isysdeps/x86_64  -Isysdeps/x86  -Isysdeps/ieee754/ldbl-96  -Isysdeps/ieee754/dbl-64/wordsize-64  -Isysdeps/ieee754/dbl-64  -Isysdeps/ieee754/flt-32  -Isysdeps/wordsize-64  -Isysdeps/ieee754  -Isysdeps/generic   -Ilibio -I. -nostdinc -isystem /scratch/gopinatr/nix/store/pc3y1mmd5547k7ri0hqhcm5f3w24z9zh-gcc-5.3.0/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include -isystem /scratch/gopinatr/nix/store/pc3y1mmd5547k7ri0hqhcm5f3w24z9zh-gcc-5.3.0/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include-fixed -isystem no  -D_LIBC_REENTRANT -include /tmp/nix-build-glibc-locales-2.23.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include include/libc-symbols.h       -DASSEMBLER  -g -Werror=undef -Wa,--noexecstack   -E -x assembler-with-cpp' \
    /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
  test $dir = sysdeps/unix && break; \
done > /tmp/nix-build-glibc-locales-2.23.drv-0/build/sysd-syscallsT
mv -f /tmp/nix-build-glibc-locales-2.23.drv-0/build/sysd-syscallsT /tmp/nix-build-glibc-locales-2.23.drv-0/build/sysd-syscalls
make  -C localedata install-locales
make[2]: Entering directory '/tmp/nix-build-glibc-locales-2.23.drv-0/glibc-2.23/localedata'
.././scripts/mkinstalldirs /scratch/gopinatr/nix/store/j84kwchcycbsl8yr23g64z51zsdf3c3w-glibc-locales-2.23/lib/locale
mkdir -p -- /scratch/gopinatr/nix/store/j84kwchcycbsl8yr23g64z51zsdf3c3w-glibc-locales-2.23/lib/locale
aa_DJ.UTF-8...cannot create temporary file: /tmp/nix-build-glibc-locales-2.23.drv-0/scratch/gopinatr/nix/store/0wfgakp0ssbkr57jdaa23a55s9v6ldf2-glibc-2.23/lib/locale/locale-archive.eeZI74: No such file or directory
Makefile:205: recipe for target 'install-aa_DJ.UTF-8/UTF-8' failed
make[2]: *** [install-aa_DJ.UTF-8/UTF-8] Error 1
make[2]: Leaving directory '/tmp/nix-build-glibc-locales-2.23.drv-0/glibc-2.23/localedata'
Makefile:421: recipe for target 'localedata/install-locales' failed
make[1]: *** [localedata/install-locales] Error 2
make[1]: Leaving directory '/tmp/nix-build-glibc-locales-2.23.drv-0/glibc-2.23'
Makefile:9: recipe for target 'localedata/install-locales' failed
make: *** [localedata/install-locales] Error 2

@vrthra Looks like a bug in glibc package. You should submit an issue for that package. I haven't tried a prefixed nix install so I'm not sure if I can help with this.

Adding a solution posted at #554 here so that it will gain visibility.
I noticed that not all packages require the libnss_sss plugin. Only a few packages do (git, redo, python, etc) that uses getpwuid. So why not create a second package glibc-with-plugins with a copy of the glibc content and update it with libnss_sss (and any other plugins)? Then the few packages that require libnss_sss plugin can depend on the glibc-with-plugins instead of standard glibc, and we wont cause the world to be rebuilt. More importantly, whether to depend on glibc or glibc-with-plugins can be tackled on a package by package basis
Would this be acceptable?

I would really like to get sssd into NixOS, I need it for FreeIPA support. What needs to be done to to finish this? Can I help somehow?

So there seems to be no way around patching glibc, and skimming the code, it does generally not look too complicated to do. The open problem is how to make things work on non-NixOS systems. A possible issue here is that it should be made sure that user-supplied nss modules do not get loaded by setuid programs. Therefore, either

loading nss modules adheres to the secure-execution mode described in ld.so(8), which might break setuid wrappers on NixOS, or
the module search path in /nix/var is made root-writeable, which would be no real advantage over using /run/nss-modules, or
a combination of both, like having a per-user plugin path that respects secure-execution, plus a system-wide root-only path.

One could also abuse the fact that there are usually (IIUC) no setuid binaries using Nix-installed libraries on non-NixOS systems, and make the plugin path root-writeable only on NixOS systems, but that somehow feels like a dirty solution.
Moreover, the problem is not really relevant for per-user Nix installations, since then you won't have setuid binaries linking to your stuff unless you already have some way to become root, so the question is in how many cases these issues actually occur. To put it differently: why would there be a system-wide Nix installation, but admins not willing to add some additional logic to set up the proper site-specific nss modules (if only we came up with a sufficiently simple way to do that)?
Also, none of this addresses possible versioning issues. A simple way might be to just have multiple plugin directories, like /run/nss-modules/<unique-id-of-underlying-glibc>.

I rebased the original changes onto channels/nixos-16.09, fixed all conflicts and a minor issue with libxml2's header files. Should I be creating a new pull request so we can proceed with this? The branch is located at https://github.com/e-user/nixpkgs/commits/sssd-1.13.3.
So next would be patching glibc to look for NSS modules in /run/nss-modules/<own-unique-id>/..?

Update: I was able to produce a patch that makes glibc look for NSS modules in a specific additional location first, but only if AT_SECURE is not set (by checking __libc_enable_secure). I'll figure out how to create per-user directories in /run/nss-modules and update the patch accordingly.

For getent passwd $USER, my version of glibc first attempts to open
/run/nss-modules/4iszg1mhyd5pimxm06x28xyq1nv60swr-glibc-2.24/per-user/1000/libnss_files.so.2
/run/nss-modules/4iszg1mhyd5pimxm06x28xyq1nv60swr-glibc-2.24/system/libnss_files.so.2

If getent is has the setuid flag set, it only looks for
/run/nss-modules/4iszg1mhyd5pimxm06x28xyq1nv60swr-glibc-2.24/system/libnss_files.so.2

4iszg1mhyd5pimxm06x28xyq1nv60swr-glibc-2.24 is identical with the store path of the same version of glibc built. Since resolving the UID of the calling process would cause infinite recursion, I'm using getuid () for the per-user paths.
I had to switch to using getauxval (AT_SECURE) as __libc_enable_secure does only seem to get set under different circumstances.
Next up is making SSSD install its module into the new location and testing it. I'm still wondering whether I should create a new pull request..?

@e-user I think it would be helpful to create new pull request with your changes.

deprecated by #21150


Chart: Sync to upstream.

For changes in the chart, chart templates and container images, I executed the following tests, using the hello-world app, to verify them in live environments:

[x] Upgrade from previous version

[x] AWS
[ ] Azure

[x] Existing Ingress resources are reconciled

[x] AWS
[ ] Azure

[x] Fresh install

[x] AWS
[ ] Azure

[x] Fresh Ingress resources are reconciled

[x] AWS
[ ] Azure

inb4: I'm aware that the chroot is a) not PSS compliant and b) also a security risk on its own as it elevates the container's privileges just to run the internal NGINX with less. So this PR is mostly about fixing behavior which worked before.

Thanks a lot to @Strigix & @stone-z for their support on understanding of what needs to be done to enable the chroot!


PHP 7 and HHVM  support

In this PR i'll make sure that both HHVM and PHP7 are supported. HHVM was supported before, but broken as of a little while due to a php incompatibility.
PHP7 no longer allows keywords such as Integer and Float to be used as classnames, so we're renaming those.

:+1:


[ISSUE #5036]Optimize controller module Response code

Make sure set the target branch to develop
What is the purpose of the change
close #5036
Brief changelog

Optimize controller module Response code

Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #5037 (af4afe2) into develop (f8bf7bd) will increase coverage by 0.00%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             develop    #5037   +/-   ##
==========================================
  Coverage      43.21%   43.22%
+ Complexity      7764     7759    -5
==========================================
  Files            995      995
  Lines          69113    69113
  Branches        9152     9152
==========================================
+ Hits           29869    29871    +2
+ Misses         35490    35489    -1
+ Partials        3754     3753    -1

Impacted Files
Coverage Δ

.../apache/rocketmq/common/protocol/ResponseCode.java
0.00% <ø> (ø)

...q/controller/impl/manager/ReplicasInfoManager.java
62.21% <33.33%> (ø)

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...apache/rocketmq/remoting/netty/ResponseFuture.java
77.55% <0.00%> (-4.09%)
:arrow_down:

...rocketmq/remoting/netty/NettyRemotingAbstract.java
49.27% <0.00%> (-3.63%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
61.00% <0.00%> (-1.38%)
:arrow_down:

...mq/client/impl/consumer/RebalanceLitePullImpl.java
69.86% <0.00%> (-1.37%)
:arrow_down:

.../apache/rocketmq/store/ha/DefaultHAConnection.java
65.86% <0.00%> (-1.21%)
:arrow_down:

...ache/rocketmq/proxy/common/ReceiptHandleGroup.java
65.47% <0.00%> (-1.20%)
:arrow_down:

.../org/apache/rocketmq/store/ha/DefaultHAClient.java
61.02% <0.00%> (-0.52%)
:arrow_down:

... and 6 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


When Logon

When login in using email and password I get an Unexpected error!

If you go into Configuration and then Logs do you see any errors related to "Emporia Vue"? Verify that you're using the correct email and password. The error handling around logging in is currently very minimal so that's something I need to work on, but it should log in correctly.

If you go into Configuration and then Logs do you see any errors related to "Emporia Vue"? Verify that you're using the correct email and password. The error handling around logging in is currently very minimal so that's something I need to work on, but it should log in correctly.

After checking the logs in the configurations section it seems the password was incorrect. There are no more errors and it seems to work great !!
Thank you for all your hard work :)

After checking the logs in the configurations section it seems the password was incorrect. There are no more errors and it seems to work great !!
Thank you for all your hard work :)


"Export Selected Scenes" ignores "class_name" dependencies

Godot version
3.3.2-stable
System information
Windows 10, GTX 1050ti, GLES3
Issue description
"Export Selected Scenes" ignores dependencies.
Doesn't export class_name scripts.
Doesn't export ENV.
Doesn't export bus_layout
My export:

Open PCK/ZIP:

Missing resources preload:

code in image_object.gd
extends Node2D

export(DependenceScript.ImageType) var type_img #DependenceScript - dependence_script.gd

func _update_img() -> void :
	$Sprite.texture = DependenceScript.IMAGES[type_img] #preload all IMAGES

func _ready() -> void:
	_update_img()

code in dependence_script.gd
class_name DependenceScript
extends Node

enum ImageType {
	A,
	B,
	C,
	D,
	E,
}

const IMAGES := {
	ImageType.A : preload("res://img/heron_A.png"),
	ImageType.B : preload("res://img/cat_B.png"),
	ImageType.C : preload("res://img/panda_C.png"),
	ImageType.D : preload("res://img/hairy_ball_D.png"),
	ImageType.E : preload("res://img/cat_E.png"),
}

This issue created big problems for us when submitting to android
Steps to reproduce

create script "class_name TEST"
preload resources in script TEST
сall "TEST.my_resource_var" in the main scene or sub-scenes
export project from "export selected scenes"

Minimal reproduction project
Test project:
export to ./.export/
TestDependence.zip

@jbromberg Please don't bump without contributing significant new information. Use the :+1: reaction button on the first post instead.
If you can add some relevant information to this that's be very welcome though, but otherwise this doesn't help :)

I provided new information on this related issue that has an MRP attached: https://github.com/godotengine/godot/issues/61556

Then I'll close this as a duplicate of that to keep it focused, unless you add info here too

That's a different issue, so please provide more info here, that's not the same

MRP is below. To reproduce, export main.tscn as a pck or zip and then load it in a separate project. The main.gd script will encounter an error as it's missing the dependency.gd script.
missing-deps-godot-mrp.zip


[Improvement-11913] Mask password when creating/editing alert instances

Purpose of the pull request

Fixes #11913

Brief change log
See above

Verify this pull request

@c3Vu Could u plz pull the latest dev code and rebase this PR on dev? I think this will help CI pass.

Codecov Report

Merging #14415 (093691b) into dev (8a2c05f) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head 093691b differs from pull request most recent head 4a15279. Consider uploading reports for the commit 4a15279 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14415      +/-   ##
============================================
- Coverage     38.51%   38.51%   -0.01%
+ Complexity     4557     4554       -3
============================================
  Files          1237     1236       -1
  Lines         43507    43489      -18
  Branches       4813     4812       -1
============================================
- Hits          16756    16748       -8
+ Misses        24898    24885      -13
- Partials       1853     1856       +3

Impacted Files
Coverage Δ

...in/alert/dingtalk/DingTalkAlertChannelFactory.java
98.82% <100.00%> (+0.01%)
:arrow_up:

...r/plugin/alert/email/EmailAlertChannelFactory.java
98.85% <100.00%> (+0.01%)
:arrow_up:

...plugin/alert/feishu/FeiShuAlertChannelFactory.java
97.56% <100.00%> (+0.06%)
:arrow_up:

...in/alert/telegram/TelegramAlertChannelFactory.java
100.00% <100.00%> (ø)

... and 6 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

this dead link will be fix in https://github.com/apache/dolphinscheduler/pull/14406

approval ci run

Hi @c3Vu , it is a great step for you to become part of dolphionscheduler contributors community 🎉 .
If you want to continue your contribute but could not find issues, maybe you could start in https://github.com/apache/dolphinscheduler/contribute
or just search our issue list https://github.com/apache/dolphinscheduler/issues, Looking for something you interesting.


wormbase annotations use WormBAse and WB

I thought this was fixed before, but  when looking at EXP colocalizes_with:

@vanaukenk  just so you know

@ValWood
What term are you looking at?
We only have WB in our source file, so I'm wondering if these are annotations from WB that were made to other species?

I did  cellular_component, filtered on qualifier contributes_to, filtered on experimental evidence codes.
v

This issue was moved to geneontology/go-site#685


Add report menu for Leaderboard

As stated at https://github.com/commons-app/apps-android-commons/pull/5025#issuecomment-1206026553 , we need to add the Report menu in Explore to Leaderboard.

Actually, I am not sure why the whole menu (which can be seen via Explore) is missing. Looks like a bug I would say. 🙂

I've had a look into this and it seems that the media.MediaDetailPagerFragment needed to display the media content is created in two places - ExploreListRootFragment & ContributionsFragment. The explore side sets up with a .add(R.id.explore_container, fragment) and contributions side sets up with .add(R.id.root_frame, fragment, tag) which I believe may be the root cause of the issue - the contributions side doesnt have the ExploreFragment from which to draw the menu in question, the contribution side only has ContributionsFragment, ContributionsListFragment and LeaderboardFragment when setting up the MediaDetailPager
This is the first time I'm looking at this code base so let me know if my understanding is off

@DamienBradleyDSP Thanks a lot for the investigation! Please do not hesitate to send a pull request, if it solves the issue we will probably merge it :-)

@DamienBradleyDSP Thanks a lot for the investigation! Please do not hesitate to send a pull request, if it solves the issue we will probably merge it :-)

Well the reason I haven't is that I'd guess that the code needs a bit of a rewrite so that the mediadetailfragment is made inside of an explore fragment - or contributions is made inside the explore fragment. I'm not sure on the solution in that respect, I'm unable to hack together a solution with the architecture there at present

Had another look at this and it was simpler than I first thought - I have enabled the explore options menu for ProfileActivity so this should now be functional with the leaderboard
I had to disable certain option menu items appearing in ContributionsFragment -> within the fragment it checks if the activity is MainActivity and if not doesn't display the notifications / cloud button

Is this issue solved now? Else I will look into it.

Is this issue solved? if not, I am willing to look into this.

@cakepineapple You can have it, please pull https://github.com/commons-app/apps-android-commons/pull/5068 and add unit tests. Please let us know about your progress every few days. Thanks!

thank you! Working on it

I think I can add the unit tests
Can I pick this up @nicolas-raoul?

@shankarpriyank Sure thanks!

Can I work on this if this is on board...@nicolas-raoul?

@keerthi5465 This issue is already assigned and actively being worked on. Feel free to choose another :-)


Improve documentation

Hi Remi,
This is still a work in progress, and I haven't addressed some of the issues with documentation directly.
What's new:

Section on provider lifecycles
Section on Immutability
Section on scoping
Placeholder section on different provider types and their differences (not finished, and likely to change with the RFCs)
Added dark / light versions of the imports decision digram
Moved intro video to a history directory - I'm not sure if the video is that helpful anymore, since Riverpod has changed much since it was recorded, but I'm thinking that a history section might be useful for migration guides.

Small grammar fixes in other files.
Rearranged the testing guide to be below the concepts section. (You need to understand the concepts before moving on to testing).
Still todo:

[ ] More information on dealing with asynchronous initialization
[ ] More information on dealing with asynchronous values / dependencies from within a StateNotifier
[ ] Make sure that when a provider is disposed is clear, especially for autoDispose, and understanding how to make sure objects aren't disposed before they should be
[ ] Clean up loose ends

Awesome!
I'll take a look later today 😊

:wave:
Do you still plan on working on this? :smile:

Yes, I've been a bit busy recently. But I do plan on continue working on it soon. I'd like some feedback to see if this is going in a good direction, and also want to know your preference on when to use code blocks versus links for highlighting terms / class names / class methods etc.

No worries, take your time.
Although it's worth noting that I do plan on re-architecturing the documentation too (not just adding new things).
I'd like to change the flow for newcomers, to provide a smoother path from zero to some basic understanding.
Maybe it'd be worth having a chat privately to discuss about this?

Yeah, a private chat sounds good. I think a new flow for newcomers sounds like an excellent idea.

I've tried to keep it mergeable with master, but I haven't had the time I'd like to dedicate to this to make it what I think it deserves. You are welcome to help out if you want. There are quite a few changes in v1.0 that probably still need to be addressed in the documentation. The CHANGELOG is probably best for understanding what needs to be updated or added.
Thanks for the offer to help!

Can I help with something? Where I find the changelog? I want to ask another thing, I was planning to create the italian version of the docs for the old version, but this means that I should wait for this one to finish and then translate, am I right?

I want to ask another thing, I was planning to create the italian version of the docs for the old version, but this means that I should wait for this one to finish and then translate, am I right?

No need to wait for this PR to land. While there are some docs updates planned, it mostly involve new docs and changing the sidebar.

@TimWhiting In your opinion, are there any bits in there that would be worth extracting and merging into the current doc right now?

@TimWhiting In your opinion, are there any bits in there that would be worth extracting and merging into the current doc right now?

Yes, I will extract the parts out that I feel are ready to merge, and then I will try to merge new sections in as they are ready.


Web UI for the director

The director should have a web UI that contains:

A view of all the attached origins and caches (structured list of caches, client-side filterable)
The ability to specify an object in the federation and click "download" to download.

Based on the director response, this may generate an OAuth2 workflow.

Do we also want to show the health status of origins the director knows? At least it's API-wise ready by the time this is under the way.

Going to cut this in two parts as it is not possible to download anything via web UI yet as the director does not have the appropriate CORS headers.


not PHP8 compatible -> obsolete function create_function

Hi developers,
current version is not PHP8 compatible because of the obsolete function create_function in utils.php line 154.
It should be replaced with something like this:
$fun = function($args) use ($code){ ... };
But I could not successfully hanlde the statements in $code :-(
Can someone fix it?
Thx very much.

sorry -> duplicate issue
I could fix it myself with:
$fun = fn($args) => $code;
// @codeCoverageIgnoreStart
if (!is_callable($fun))

Perhaps you can also fix it here,
Greetings


fix(notification): images updated

Updated low contrast notification images with correct/updated style.

Hmm I don't know what the problem is with the merge conflict.


[Request] Organization Solutions

Its my teams first year using Advantage Kit, and its great, we haven't had a ton of issues. but as the person that is responsible for my teams logging, and going through that data and making it useful for us, its pretty annoying and difficult to look through everything we have logged just to find the one thing that I want, and it is even worse for those that don't know what we have logged. I know that things are alphabetically sorted, but it would be much more compact and readable if we could put the values in a folder, like what is done with the rail voltages in system stats. It might be possible to do it with sorting through the values name, and if it has a dash in it, then what comes before that is the folder to put it in, for example, pose/limelightPose would be put in a folder named pose. I don't know if this is doable, or if there is already a solution that I just don't know about, but I would appreciate any solution, even if its on Advantage Kit, or Advantage Scope.

What you’re describing is already supported by logging a value with forward slashes in the key, so “Drive/Module0/Position” would be in nested folders for “Drive” and “Module”. It sounds like you already had that idea, so are you having trouble making it work?

Closing this issue since I believe the issue was resolved.


Update gorm logger initialization

Signed-off-by: Katrina Rogan<EMAIL_ADDRESS>TL;DR
Update gorm logger initialization using shared util in flytestdlib
Type

[ ] Bug Fix
[ ] Feature
[ ] Plugin
[x] Housekeeping

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
Tracking Issue
https://github.com/flyteorg/flyte/issues/2324
Follow-up issue
NA

PTAL @EngHabu


Avoid duration calculation panic when clock jumps back

What problem does this PR solve?
Problem Summary:
Duration utilities for standard clock can panic, see https://github.com/rust-lang/rust/issues/86470#issuecomment-864544441
A relate internal tracking issue: https://internal.pingcap.net/jira/browse/ONCALL-3295
What is changed and how it works?
For most of our use cases, it isn't necessary to enforce a strict monotonic timer at userland, like rust does:
https://github.com/rust-lang/rust/blob/80184183ba0a53aa4f491753de9502acd3d6920c/library/std/src/time.rs#L223-L250
Saturating subtraction is enough.
What's Changed:

std::time::Instant::duration_since -> std::time::Instant::saturating_duration_since
std::time::Instant::elapsed -> tikv_util::time::Instant::saturating_elapsed
std::time::Instant::elapsed -> InstantExt::saturating_elapsed when std::time::Instant can't be replaced:

3rd-party functions that take std::time::Instant as input
Critical logic that uses std::time::Instant, such as fsm::Store

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test

Release note
Fix duration calculation panics on certain platforms

Rest LGTM. BTW, I think the test parts don't need to be changed because these tests don't run in the production environment.

@gengliqi I'll revert uses of saturating_duration_since from tests, which can indeed hide real errors.

/merge


Quitting while Pre-Processing Data for Cytoflex QC

I am currently having an issue where this code generates within the shiny app:
Error in if (options$engine != "R") ...: ! argument is of length zero
The console reads out this:
processing file: CytoflexSRTFullScriptPre-Processing.Rmd
|          |   2% [Converting list into dataframe using as.data.frame()]
Quitting from lines  at lines 9-10 [Converting list into dataframe using as.data.frame()] (CytoflexSRTFullScriptPre-Processing.Rmd)
What can I do to avoid this error?
Thanks!

This same error is also happening when I try to run our Aurora data as well!

Hi,
It seems like FlowMonitor is not reading the files, as this error is what you get when you try to read an empty list.
My first two thoughts on what could have gone wrong are:

FlowMonitor didn;'t get the right folder. After you choose the directory, you should see the directory in your R console.
The data are not in a folder with a name that starts with "Data_". Flowmonitor needs that string to identify the relevant data folders and give a name to your instruments.

I did select the correct folder and it does seem to be working within my R console. The folder does also start with Data_. I wondering if it's something to do with the formatting within the CSV files? I've attached some images for reference.

The format of the.csv files looks fine, but can you send me a few .csv files? Then I can try for myself whether the formatting is an issue. I don't have a Cytoflex myself, only a Cytoflex SRT, so the formatting might be slightly different.


Creating Debian package for GetDeb.net

Original ticket:
https://sourceforge.net/p/djv/support-requests/3/

what about creating official packages?


tools/Config:Fix error caused by double quotation in Windows native build

Summary
This commit belong to #7572 in the past, but there's conflict with #7552 when ever rabse
tools/Config:Fix some error caused by double quotation in Windows native build:
The result of $(subst "X",,${shell $(INCDIR) "$(CC)" "X"}) will left an space double quotation:
-isystem ""G:\NuttX\nuttx/include -D__NuttX__ -D__KERNEL__ -pipe -I ""G:\NuttX\nuttx/libs/libc
Impact
Windows native build
Testing
stm32f4discovery in Windows XP/7 native build  GnuWin32 + MinGW + kconfig-frontends-win32

Hi @zouboan did you test your modification on Windows directories with white space?

Hi @zouboan did you test your modification on Windows directories with white space?

Thanks for your remind, i tried to add white space in directories name, both Linux and Windows  auto dismiss prefix and suffix white space in directories name, when i add white space in middle of directories name, both Linux and Windows failed in configure stage, even before this patch for example, when i add white space in boards/arm/stm32/stm32f4discovery/configs/n sh  will give error:
Directory for stm32f4discovery:n does not exist.
when i add white space in apps/examples/he llo  will give error:
./NuttX/apps/examples/Make.defs:21: /home/cast504/E/NuttX/apps/examples/he: No such file or directory
./NuttX/apps/examples/Make.defs:21: llo/Make.defs: No such file or directory
make[2]: *** No rule to make target 'llo/Make.defs'.  Stop.

both in Linux and Windows


[decoupled-execution] Buffer manager redesign

This commit includes a sketch of the buffer manager and a execution phase (together with a unit test and happy path test)

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update or suggest changes to the docs at https://developers.diem.com, and link to your PR here.)
If targeting a release branch, please fill the below out as well

Justification and breaking nature (who does it affect? validators, full nodes, tooling, operators, AOS, etc.)
Comprehensive test results that demonstrate the fix working and not breaking existing workflows.
Why we must have it for V1 launch.
What workarounds and alternative we have if we do not push the PR.

/land


Webforms support

Does this starter kit or Next.js for Drupal supports Drupal Webforms out of the box?
For instances, getting webform form elements and fields through JSON:API,
then webform can be rendered on the frontend based on the json data received.
Furthermore, does this also support webform submissions through JSON:API?
(without using the Webform REST module)
If they're all supported, would you mind to provide the link of the doc, please?
or please add one if no docs cover webforms yet, thanks.

Unfortunately the starterkit does not support rendering Webforms yet. There has been some preliminary discussions about adding support for Webforms, but it is not something we are actively working on at the moment.

Next.js for Drupal has a guide of Webform integration here: https://next-drupal.org/guides/webform


Delta change calculation in Spread Trends not calculated correctly

Describe the bug
On any of the charts showing daily numbers, the delta which appears on side on the actual number is calculated incorrectly. The current calculation seems to calculate delta by subtracting the number from two days ago and not the previous day. Example shown in screenshots.
To Reproduce
Steps to reproduce the behavior:

Go to the homepage
Click on Daily in Spread Trends

Expected behavior
It should calculate delta based on today's number and previous day's number (not 2 days ago)
Screenshots
[

]

Number on 11th July = 8,139
Number on 12th July = 7,827
Number on 13th July = 6,497
Expected delta on 13th July = 6,497 - 7,827 = -1,330
Delta shown on 13th July = -1,642 (6,497-8,139)

Hey, thanks for reporting this. I'm guessing you're in a different timezone since this doesn't seem to happen in India. But anyways, should be fixed now.

That's what I suspected. Me and my family love this website. Thanks to
everyone who's contributing!
On Tue, Jul 14, 2020 at 3:50 PM Ayush Shukla<EMAIL_ADDRESS>wrote:

Hey, thanks for reporting this. I'm guessing you're in a different
timezone since this didn't seem to happen in India. But anyways, should be
fixed now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/covid19india/covid19india-react/issues/2244#issuecomment-658379194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLBIU5GRLVV4WX5ZAZS2MDR3SZI7ANCNFSM4OZX27LA
.

--
Honours Bachelor of Computer Engineering
University of Waterloo | Class of 2016
<EMAIL_ADDRESS>


MBL-1902: Fix circleCI builds

📲 What
FIX CIRCLE CI BUILD FORCING JVM 17
🤔 Why
CircleCI builds were failing
🛠 How
change android image of circle ci and force to use jvm 17

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.55%. Comparing base (709b32f) to head (8aac7d8).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2174   +/-   ##
=========================================
  Coverage     68.54%   68.55%
- Complexity     2162     2163    +1
=========================================
  Files           347      347
  Lines         23015    23015
  Branches       3357     3357
=========================================
+ Hits          15776    15777    +1
  Misses         5437     5437
+ Partials       1802     1801    -1

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


[api/atom] refactor key-value lookup path types for TS 4.3+

Some of the path-lookup related utility types in thi.ng/api & thi.ng/atom can & should be simplified using the newly available syntax and TS compiler features for variadic tuples. The current (older) implementations of these types is causing compiler errors in the latest TS 4.3.x and forced me to temporarily disable support for path lengths > 6 in thi.ng/atom's IReset and ISwap interfaces...
The relevant types needing to be updated/replaced are:

KeysN
ValN
Path0...Path8 & DeepPath
possibly any other related/referenced helper types

Oops, just realized that I'd already created an issue for this previously... Let's move further discussion/updates to #294


[FEATURE] Better and more complete parsing for requirements.txt files

We currently utilise pkg_resources.parse_requirements to parse lines from requirements.txt files.
This seemingly has a number of short comings that it does not support. See:

CycloneDX/cyclonedx-python#315
CycloneDX/cyclonedx-python-lib#8

This feature will look at alternatives to the above method to attempt to support these other formats. CycloneDX/cyclonedx-python-lib#97 may have identified a candidate in requirements-parser - TBC.

we might need to see what pip install -r uses as a parser.
this is the one most people know and the reason why people expect the features here, to.

see https://github.com/CycloneDX/cyclonedx-python/discussions/319
for discussion.


Incorrect Rendering Of Ncurses Style Borders

Currently sub-windows borders created by ncurses don't render correctly.
This is a problem that I've seen with a few of the other terminal capturing tools out there, though I was hoping that it wasn't going to appear here.
Example application:

Rendering in a recent version of chrome:

Would it be possible to add support for these terminal features?

@fundamental I can't reproduce this.  Here's my test with an ncurses program: https://share.esdf.io/JmD1FjKi09/ncurses.html
What confuses me is that in both of your screenshots, the long vertical pipes are rendered correctly but is missing in the left pane's content.  I can tell this by the bulges in the line which are a side effect of anti-alias font rendering.

Would you be able to share the generated HTML?  Maybe I can discern something from that.

I'm confused as to how borders differ from normal vertical pipe characters as well, but the bug appears on my system none the less :-/. You might be able to replicate this using 'midnight commander' (mc) as that seems to also trigger the bug on my system.
The original screenshoted html is:
test.html

Well that wasn't too informative 😑
How about this: tmux capture-pane -t test:1.1 -Jep | gzip > output.txt.gz
Obviously use your own target though.  Leave off the piped gzip if you want to confirm the output before uploading it.

Here you are: output.txt.gz

That wasn't too helpful either.  I was hoping to see secret SGR codes that I didn't account for.  I did find this however: http://emonkak.hatenablog.com/entry/2011/12/30/131055
Translation:
When used the TERM to screen in tmux, the border for use in, say, a ncurses become like a "qqqqqqqq".
This environment variable fixed when the NCURSES_NO_UTF8_ACS is set to 0.
Refer to the man of ncurses details of NCURSES_NO_UTF8_ACS.

In tmux environment variable to set the write as follows.

set-environment -g NCURSES_NO_UTF8_ACS 0

I guess the ascii shift in/shift out characters are used to change the character set to represent the outline that ncurses produces (see ascii 0x0e and 0x0f). That doesn't entirely explain the broken newlines though...

Okay yeah I see what's going on now.  Took me a minute to see 0x0e and 0x0f once I had it in a hex editor.  It looks like it's because 0x0e and 0x0f are included as characters instead of omitted.  So, tmux2html is wrapping the lines due to the extra length.  I think I could support this.  Is there a translation table on the alternate character set I can use for reference?

One of the docs I saw referred to it as the 'G1' character set which is an iso standard of some sort, but I'm not finding a good page describing the mapping.
Using a very simple C test program it seems that these shift in/out codes are the issue.
#include <stdio.h>

int main()
{
    int char_set=0;
    while(1) {
        int ch = getchar();
        if(ch & 0x80)
            return 0;

        if(ch == 0x0e) {
            char_set = 1;
            continue;
        } else if(ch == 0x0f) {
            char_set = 0;
            continue;
        }

        if(char_set && ch == 'x')
            putchar('|');
        else if(char_set && ch == 'q')
            putchar('-');
        else
            putchar(ch);
    }
}

I'll just see if there's some obvious utf8 characters for the vertical lines and corners.

Found this: https://en.wikipedia.org/wiki/Talk%3AVT100#Alternate_character_set
In the case of k, it's 0x6b, so on that table, row 6, column b is ┐ which seems right.

Update: Looks like i can put these characters in a table and get the coordinates with:
y = (ord(c) / 16) - 6
x = ord(c) % 16

Nice, those values look right. What an odd bit of history that ncurses still uses.

@fundamental Got it working.  I'm just going over the script to make sure I didn't introduce a bug since I'm a heathen without unit tests at the moment.  I'll close this issue once the changes are merged and pypi is updated.  Thanks for helping me make tmux2html awesomer!
env LC_ALL=C sudo dpkg-reconfigure tzdata
https://share.esdf.io/V9ao9L964k/ncurses-alt.html
Vs
env LC_ALL=en_US.UTF-8 sudo dpkg-reconfigure tzdata
https://share.esdf.io/KSIfVsO76S/ncurses-utf8.html

Thanks. This bug is entirely resolved after updating to the current version :+1:


adding-new-index-and-course

What does this PR do?
Add resource(s)
Description
this pr adding a new index and book which should be there in order to provide diverse knowledge to our users.
Why is this valuable (or not)?
there is a missing index which is important at the same time.
How do we know it's really free?
this is pdf book which is freely available on the internet, we all can access and download it
For book lists, is it a book? For course lists, is it a course? etc.
it is a book on computer network. which in not available in past updates.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

we have a networking category

and DO NOT close and open a new PR, work on THIS PR

we have a networking category

hey @eshellman
I search and found there isn't specific book or index related to computer networking tech.
Also, I found there are books on topic like ras-pi, windows. so having a book on computer network will help us to understand them well.

look in free-programming-books-subjects.md

look in free-programming-books-subjects.md

sure.  I've added it there itself, now could you pls merge it.


Remove class attribute from script tag

Small fix. Class attr on script tag doesn't add anything as far as I know, and there was an issue raised a while back (#117).

Coverage decreased (-1.1%) to 73.479% when pulling 1e1a9baad435d5809444fec16baeeac2fa94b410 on remove-class-from-scripttag into a6ec67cf1f6a0b4fcb651a1cda8bf25d230d928f on dev.

LGTM, but is there a reason coveralls says are code coverage went down so much? Does it just have a bit of variance?

LGTM, but is there a reason coveralls says are code coverage went down so much? Does it just have a bit of variance?

It looks like there is some variance, I'll take a look at that later. Not sure why there would be variance, but when I re-ran the build it said no change.

LGTM


Deletion behavior can be unintuitive

Consider the following couple of screencaps of the cities demo
https://github.com/brimdata/react-arborist/assets/864752/5d16cd49-1a11-4062-9120-d1a63b062463
I select two items (Anderson and Andalusia), focus on a third (Allgood) item, and hit delete. The two selected items are deleted, yet the focused item is not, and the focus jumps to the next node after deleted nodes (Anniston). This feels jarring. Without having read the code, it wouldn't make sense to me what just happened or why.
Let's say you have some intuition behind that behavior that only the selected nodes will be deleted and the focused node will not. That intuition is correct if you've selected a single node. In this example, I select a single item (Anderson) and focus on the previous item (Andalusia). After hitting backspace, The focused item is deleted, rather than the selected item.
https://github.com/brimdata/react-arborist/assets/864752/efad6e71-29ca-4cf5-8914-331ba5aadb94
This unintuitive behavior can be avoided if you use the selectionFollowsFocus prop, but I thought I'd file an issue for consideration if we want to either change this default behavior, or allow a consumer to override the behvior.

Thank you for pointing this out. Yeah this could be improved. Like I mentioned in the other comment, the "delete" behavior will be overridable soon.

Also, it sounds like what is not intuitive is the "focus" behavior after delete. Is that right?

Also, it sounds like what is not intuitive is the "focus" behavior after delete. Is that right?

Yeah exactly 👍🏻

There's another thing to note, which is the difference in delete behavior when one item is selected, vs more than than one item selected. If more than one item is selected, the only items deleted are the selected items, and the focused item is ignored. If only a single item is selected, then the focused item is deleted, and selected item is not.


Add the ability to pass enums to @DiscriminatorValue

Currently there is a way to use annotations to handle inheritance with Datastore. One of the annotations allows you to pass a String to act as the discriminator. Instead of accepting only Strings, I wish I can pass an enum:
public enum AnimalType {
  CAT,
  DOG,
  RAT
}

and then
@DiscriminatorValue(AnimalType.CAT)
public class Cat extends Animal {
...
}

What we have is consistent with javax.persistence.DiscriminatorValue, which also works with String.
How would we implement what you're proposing?

I guess its infeasible :(


Rclone not installed

Followed al the steps but it still says I don't have rclone.

If it says you dont have rclone installed, then you dont have rclone installed..
Find a way to install rclone
(installed, and downloaded, are two different things)

The install bat was supposed to install it though right?

The install bat was supposed to install it though right?
Assuming you are on windows yes (that is what the questions are for, that are asked when creating a ticket)
Also, since you dont mention any errors or unusual output, i assume that if you ran the windows install script, it ran without errors or incidents?


NOTE ABOUT NEXT RELEASE

Features have been frozen on Zigler till Zig releases 0.7.0  No worries; I am committed to updating zigler when Zig goes 0.7.0.

probably going to work on this starting around the last week of november.

beginning work now.


upgrade target sdk version cannot access file directly

hi, it's been a long time to come here, I upgrade my app's targetSdkVersion to 34, now I can't access the media resource by File api, only Uri, I can get the absolute path from it, but when I try to turn it as RandomAccessFile, I got a FileNotFoundException, so the problem is we can't have a RandomAccessFile easily any more, only take the return from ContentResolver#openFileDescriptor(android.net.Uri) which cannot turn to RandomAccessFile directly

Hey there. I'm not sure exactly what I mean by that. What are you trying to do?
What was working before and doesn't work anymore?
Can you paste some sample code? I'm confused

No activity there, closing.


Add colored bullets, clean up questions

Remove extra question "solutions", add horizontal rules, and color the bullets by their theme color.

Much style. Very bullets. Wow.


Slowing down with hundreds of Pending Requests after the latest update to atom.

Thank you all for providing this.  Any idea on why Atom would generate so many Pending Requests after the update?  It's slowing down and eventually crashes every time now.  I appreciate any help.   Thank you,
-MM

I think this is related to the lack of tsconfig.json file and a large amount of node modules.


DOCS-719: Specify code identifiers in code blocks

Product Version(s):

Issue:
https://tigera.atlassian.net/browse/DOCS-719
Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

@ctauchen Can you review this one?


Cannot build using Latest release 3.0.3

In PerfectRequestLogger, the latest changes made to lines 59-62 cause a compile-time issue
let sequence: UInt = queue.sync {
			self.sequence &+= 1
			return self.sequence
		}

I think this should be self.sequence += 1
Thanks

Should be fixed in 3.0.4.


Add rarity table for word selection

Done in 50f1e2f75e55360a41e81bfa2f07cde81f3ee659

Would it be possible for us to make it so that users can run a command to add a new verb + weight using the discord bot (or both, if its possible on messenger)?
E.g. I type something like !adverb pooped 0.3 to add "pooped" to the table with a probability of 30%

Oooh that's an interesting idea. The only problem is that by saying you
give something a 30% of happening, what does that mean for the other words
that already have rarities. Ideally it would also have a way to remove
words as well. That would tie in with my idea of making the starting list
be an editable file.
Perhaps you can give each phrase an arbitrary value? And that determines
how likely it actually is.
On Tue, Jul 14, 2020 at 1:24 PM Aqua-duck<EMAIL_ADDRESS>wrote:

Would it be possible for us to make it so that users can run a command to
add a new verb + weight using the discord bot (or both, if its possible on
messenger)?
E.g. I type something like !adverb pooped 0.3 to add "pooped" to the
table with a probability of 30%
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ryanclanigan/messaging-bridge/issues/8#issuecomment-658394404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHTM464UUG65BSFWOYDAVP3R3S5HHANCNFSM4OXM3DFA
.

Yeah the method of assigning weight to the values can be different, I just used percentages as an example. Preface: I don't know if this is bad practice or would lead to performance issues. But maybe we could just assign each phrase an integer and that translates to how frequently it would "appear" in the list when it's searched by the random function.
E.g. !adverb poop 5 makes it so that "pooped" would effectively be 5x more likely than a phrase with a value of 1
And yes, a way to remove phrases would also be very useful. As a supplement to that we could have a command that prints the current list of phrases along with their weights


Font is ignored in tables

Is there a way to have tables respect fonts?  I have tried putting the style in the TABLE tag,  the TH and TD  tags, and in a SPAN around the content itself.  It works on my mac, but on windows the content inside the table is showing up with the default Word font (Calibri).

What font-family are you trying to use? Maybe Word has some problem mapping it to the system font? I created an example file with the following content and everything worked fine with Word 2003 for Windows. In our application, we also generate tables with  styled with a our custom symbol font and it works without problems.
<!DOCTYPE html>

ABCDEF

Your example works for me too.  It also worked when I changed Arial to "Times," which is what we are using.  Maybe something else in our stylesheet is causing it to not work, so I will investigate further.  Thank you for looking in to it!

Great to hear this!


Histogram vmin vmax widget

pyqtgraph-like histograms that can be tied to an Image. We can make this very nice looking. In addition to a vertical line graphic to display the histogram, we can have a thick vertical on the side with colors set to the current cmap!

first step...fix histogram graphic lol

No not necessary, just use a line
On Tue, Jun 13, 2023, 08:57 Caitlin Lewis @.***> wrote:

first step...fix histogram graphic lol
—
Reply to this email directly, view it on GitHub
https://github.com/kushalkolar/fastplotlib/issues/166#issuecomment-1589260888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHXXRH5P4ZCMU6QPY5PLVDXLBPSFANCNFSM6AAAAAAXABPURE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Look at the pyqtgraph widget
On Tue, Jun 13, 2023, 09:10 Kushal K @.***> wrote:

No not necessary, just use a line
On Tue, Jun 13, 2023, 08:57 Caitlin Lewis @.***>
wrote:

first step...fix histogram graphic lol
—
Reply to this email directly, view it on GitHub
https://github.com/kushalkolar/fastplotlib/issues/166#issuecomment-1589260888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHXXRH5P4ZCMU6QPY5PLVDXLBPSFANCNFSM6AAAAAAXABPURE
.
You are receiving this because you authored the thread.Message ID:
@.***>

So now after #244 we can probably just use bidirectional link() between LinearRegionSelector of the HistogramLUTWidget and the image cmap vmin, vmax


Womanium Final Assignment Cristian Ilie

PR Description
This is the correct version of the jupyter notebook. Many thanks for everything I have learnt!

Hello @Ilie-Cristi
Good Job!
Score: 9/10
I am closing this PR as we merge only single file assignments. Feel free to resubmit after integrating the images in the notebook (read on how to do it, it's quite straightforward).


I want to add tailwindcss 404 page

assign it under hacktober fest

@Alidhuniya Can I work on this? I worked on tailwind CSS
I'm a full stack developer (HTML CSS Javascript + MERN Stack - MongoDB Express Js React Js Node Js)

Closing this issue, the requirements are explained in #18. Read there for contributing.


Nullpointer trying to set effect without DfReds Convenient Effects

https://github.com/p4535992/conditional-visibility/blob/b5cce040ff11e35cb7e68137bef35f65311578f6/src/module/api.ts#L795
When using another DfReds (Droppables, Pocket change) but not the Convenient Effects, the variable game.dfreds will exist but will be an empty object, thus resulting on nullpointer exception on line 801 while trying to find the effect.

Should solved with 0.5.5


using wrong interface to ping

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Hi, I've deployed this as a docker on a Synology NAS.  The NIC has a Local Port on 3444, bound to Synology IP address.  The Container Port is on port 3001 and has an IP address of <IP_ADDRESS> (according to Portainer)
The problem is when I tried to ping different offices via BOVPN, one of them happened to be "<IP_ADDRESS>" and Kuma fails, because it tries to ping from <IP_ADDRESS>.
I created another "bridge-uptime" network and added Kuma to it, but it still can't reach <IP_ADDRESS>.
Thoughts?  suggestions?
Thanks in advnace
👟 Reproduction steps
described above.
👀 Expected behavior
it should've been able to reach <IP_ADDRESS> and reported it as healthy.
😓 Actual Behavior
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data. --- <IP_ADDRESS> ping statistics --- 11 packets transmitted, 0 received, 100% packet loss, time 1009ms
🐻 Uptime-Kuma Version
1.21.3
💻 Operating System and Arch
Synology DSM 7.0.1-42218 Update 3
🌐 Browser
Cheom 113.0.5672.127
🐋 Docker Version
Docker 20.10.3-1239
🟩 NodeJS Version
No response
📝 Relevant log output
No response

Usually it is your specific network issue, if you go into Uptime Kuma's bash and execute the ping <IP_ADDRESS> command, I believe it won't work either.
More info:
https://github.com/louislam/uptime-kuma/wiki/Troubleshooting

From your description, sounds like you have an overlapping subnet. The IP layer of the network is literally unable to route packets to where you want to go because it is masked by the docker network. This blogpost has a pretty good explanation.

That's exactly what I did...I think...
There's no such file (/etc/docker/daemon.json), so I modified it via Synology GUI instead.

confirmed with Portainer.

But this is what I got:

I entered the shell and tried to ping <IP_ADDRESS>, but it didn't go anywhere:

Maybe you can check if the original bridge is still masking your network by adding a monitor with <IP_ADDRESS> to see if it's going to your other container.


Improve capabilities for low-res MS2 data, e.g. with probabilistic scoring

paltry identifications for low res data could be improved with an alternative scoring mechanism. see andromeda, which is the core of maxquant.
http://pubs.acs.org/doi/pdf/10.1021/pr101065j

Top-down search scoring is "probably" "probabilistic". So, introducing this type of scoring in bottom-up will pay dividends when we extend MM to top-down.

percolator functionality should also benefit from probabilistic scores

Please post a link to a low-res file, that could be used for benchmarking

I believe that you have a low res file. Please try it and review the results.

I don't have it right now. Would you  please post a link here? Thanks!

from 1210
let's try andromeda 1.0 and 2.0 scoring to see if we can get those low res scans done right. we can review the asms talk by Petra Gutenbrunner to see the actual procedure.


Add watch-test Script

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


Starting diamond daemon showing this error in diamond log in ubuntu

[2015-02-09 00:13:43,318] [MainThread] Detaching Process.
[2015-02-09 00:13:43,736] [MainThread] Unhandled exception: [Errno 2] No such file or directory: '/storage/archive.log'
[2015-02-09 00:13:43,738] [MainThread] traceback: Traceback (most recent call last):
File "/usr/bin/diamond", line 291, in main
server.run()
File "/usr/local/lib/python2.7/dist-packages/diamond/server.py", line 103, in run
self.handlers = load_handlers(self.config, handlers)
File "/usr/local/lib/python2.7/dist-packages/diamond/utils/classes.py", line 87, in load_handlers
h = cls(handler_config)
File "/usr/local/lib/python2.7/dist-packages/diamond/handler/archive.py", line 36, in init
encoding=self.config['encoding']
File "/usr/lib/python2.7/logging/handlers.py", line 171, in init
BaseRotatingHandler.init(self, filename, 'a', encoding, delay)
File "/usr/lib/python2.7/logging/handlers.py", line 65, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File "/usr/lib/python2.7/logging/init.py", line 897, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python2.7/logging/init.py", line 916, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/storage/archive.log'

I have found the similar problem.

@jumping  There is a handler .conf  in /etc/diamond/handelrs/archivehandler.conf
If you remove that it will work fine ,As in /etc/diamond/diamond.conf it is define so it will look there.

This repo has moved to https://github.com/python-diamond/Diamond
Please open a new ticket there if this issue is not resolved with the current code there.
Thanks!


Production release #53

service rename from Teaching Jobs to Teaching Vacancies

Don't merge this until the rename has happened.


On scroll center Item looks jumpy

When I am trying to scroll list the view in center position it looks like jumping to  center position
in ItemTransformation transformChild method
`final float scale = (float) (2 * (2 * -StrictMath.atan(Math.abs(itemPositionToCenterDiff) + 1.0) / Math.PI + 1));
    // because scaling will make view smaller in its center, then we should move this item to the top or bottom to make it visible
    final float translateY;
    final float translateX;
    if (CarouselLayoutManager.VERTICAL == orientation) {
        final float translateYGeneral = child.getMeasuredHeight() * (1 - scale) / 2f;
        translateY = Math.signum(itemPositionToCenterDiff) * translateYGeneral;
        translateX = 0;
    } else {

//            final float translateXGeneral = child.getMeasuredWidth() * (1 - scale) / 2f;
final float translateXGeneral = child.getMeasuredWidth() * (0.9f - scale) / 1.7f;
        translateX = Math.signum(itemPositionToCenterDiff) * translateXGeneral;
        translateY = 0;
    }

    return new ItemTransformation(scale, scale, translateX, translateY);`

where is the complete code for removing that jumpy jerk, kindly i need it. @sagarhudge

Kindly, I need code for removing that jumpy jerk. Please help! Thanks!


Phoenix wallet incorrectly shows a transaction as received successfully

First time trying out phoenix (and a LN wallet for that matter)
But I'm running into some strange behavior.
I've done a withdrawal from Nicehash, over the LN network to the wallet on my phone.
On Nicehash the withdrawal shows as failed (because I tried to withdraw within 24 hours after activating 2FA)

But on my phone it shows the transaction itself as successful (see the checkmark icon) . Even deducted the fee for opening a new channel.  But obliviously didn't add to my balance.
See screens. (differences in Euro value is due there's a few days difference in when I took the screenshots.

I think one of the proper fixes would be to show that the transaction has failed

Update.
Second transaction from Nicehash, which is successful, has the channel fee substracted (correctly).
So really, my only feedback is that there should be a visual indicator that a transaction has not actually come through

Sorry this slipped thru the cracks. Please contact support if you have issues: https://phoenix.acinq.co/support
GitHub is only used for engineering related stuff.


should have documentation / guide regarding how to use the knex migrations

we ha(ve|d) some problems with misuse of the migrations system (hopefully we will fix the current problems)
we should have good documentation to prevent these problems from happening again
maybe there is some existing intro to migrations we can link to
the problems were both specifically with Knex but also generally with what migrations are and how they should be used

we cannot write documentation on how to use knex better than the maintainers of knex, (I mean, we could but it wouldn't be cost effective)


MultiComboBox inside table not working as expected during deletion,  selected keys are updated with the keys of deleted row in the model

OpenUI5 version:  1.129.0
Browser/version (+device/version): google chrome
Any other tested browsers/devices(OK/FAIL): FAIL
URL (minimal example if possible):
745391
User/password (if required and possible - do not post any confidential information here):
not required
Steps to reproduce the problem:

Run the snippix provided
Delete the first entry in the table
The selected keys of other entries in the multi combo box vanish
While deleting the row I splice the json data based on the index of the row to be deleted
I save the remaining data back in the model
after saving the data in the model changes ( not the data that I asked it to save)

What is the expected result?

The selection of the remaining multi combo boxes should be retained

What happens instead?

The selection is cleared because the data I ask the model to save is not the same data it saves

Any other information? (attach screenshot if possible)
The data I want the model to save.
After deleting the first row, second row should have selected keys as 4,5,6 but after saving the data, the data is changed and the selected keys are 1,2,3 which are of the row which is deleted, because of this all the keys which were previously selected are being deleted

The same thing happens with second row, the keys should be retained and not deleted according to my model.
Wanted to know why the selectedKeys are being updated from the data of the deleted row and if there is a way to prevent this from happening.

Hello @albertbolt1,
I suspect this issue has something with the order UI5 updates the controls upon bindings when a row is deleted (could also be something else). This may be causing the MultiComboBox to temporarily retain the binding context of the deleted row, resulting in mismatched selectedKeys.
The team has been informed about this behavior and will investigate further. They will get back to you with updates. Internal reference: DINC0334625
While you wait, and if this is urgent, you can try the following workaround:
Clear and Reset the Model
Before updating the model, clear it to ensure all bindings are reset:
oData.items.splice(iIndex, 1);
oModel.setData({});
oModel.setData(oData);

Create and Bind a New JSONModel
Instead of updating the existing model, create a new instance and bind it to your view:
oData.items.splice(iIndex, 1);
var oNewModel = new JSONModel(JSON.parse(JSON.stringify(oData)));
this.getView().setModel(oNewModel);

These solutions should help retain the selectedKeys in the MultiComboBox until a permanent fix is available. Let me know if you need help implementing any of these!
Kind Regards,
Dobrin

Simply changing the order of the properties resolves the issue for now:
Given:

<MultiComboBox items="{options}" selectedKeys="{selectedKeys}">

Workaround:

<MultiComboBox selectedKeys="{selectedKeys}" items="{options}">

Thank you @boghyon


TST: See if cancellation works [skip circle] [skip azp]

I've seen this working in practice so I'll close


Documentation?

Are there any plans of moving over the docs from codeplex now that it is shutting down?

Yes, I will finish porting over the code and documentation this month.

Just checking in on this -- I am using your library in a number of apps and would be bummed if the code disappeared with codeplex shuts down :)

code has been migrated.

Documentation has been migrated


Move some editor-only MigrationHandler code into editor-only assemblies

Overview
We currently have some MigrationHandler code that's in runtime assemblies but with basically all of the code #ifed out as if UNITY_EDITOR. This PR moves that code into existing editor-only assemblies and generalizes those assemblies from "inspector" assemblies to "editor" assemblies.
This change is part of making sure code is in the correct assemblies for potential larger reconciliation down the road, as described in the related issue below.
Changes

Related to https://github.com/microsoft/MixedRealityToolkit-Unity/issues/7388

/azp run

/azp run

/azp run

/azp run


blank

look its just blank with no extensions wtf

Thanks for your report, can you go to the extensions tab and click the triple dot and check whether a token is set?

There is a token in the box and the save changes button doesnt do anything

Can you delete the token in that setting box and save. Then refresh the page hard and open the bazaar tab again?

still no extensions after doing that

We're on top of it.

now im getting this

Can you enable debug and see what the debug button on the error popup then shows.
You are running beta 7?

how do i enable debug and im running watever composer installed i legit installed this today

Okay, run:
php flarum cache:clear

Then extensions should once again show up.
The cause of this issue is that we manually add the latest flarum version to flagrow.io. This information is needed to filter extensions no longer compatible with your flarum installation.
We're going to automate adding new versions of Flarum asap.

ok ty it works now this can be marked as solved


Added methods for next tab, previous tab, getting the tab-index, and activating by tab index.

Please add tests ro prove that this works

Hi Freek, will do, but it'll take me two weeks or so to get to it.  Just returned from a business trip abroad and have a lot to catch-up with at home.

Closing due to inactivity.

I made a new pull request with regression tests:
https://github.com/spatie/vue-tabs-component/pull/24

We'll handle this further in #24


Simulator hotfix + Corner dependency

Changing the hmax = 0 as the default odeint parameter. This is how bioscrape was a couple versions ago (and this is also odeint default), and my bad for updating it to 0.01 in the last PR.
Also, adding corner to requirements so that it is installed with bioscrape. Users will be able to get parameter distribution plots with inference.

@WilliamIX  Please review. It's a minor PR so if the tests all run I think everything should be good.

All tests passing.


Type tests are failing on all PRs and preventing release

🐛 Bug
Here is the error in the release action:
https://github.com/napari/napari/runs/6286397863?check_suite_focus=true#step:6:45
make typestubs
make[1]: Entering directory '/home/runner/work/napari/napari'
python -m napari.utils.stubgen
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/runner/work/napari/napari/napari/utils/stubgen.py", line 205, in <module>
    generate_module_stub(mod)
  File "/home/runner/work/napari/napari/napari/utils/stubgen.py", line 178, in generate_module_stub
    _imports, stub = generate_class_stubs(obj)
  File "/home/runner/work/napari/napari/napari/utils/stubgen.py", line 133, in generate_class_stubs
    _imports, stub = generate_function_stub(method)
  File "/home/runner/work/napari/napari/napari/utils/stubgen.py", line 93, in generate_function_stub
    hints = get_type_hints(func, globalns)
  File "/opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/site-packages/typing_extensions.py", line 876, in get_type_hints
    hint = typing.get_type_hints(
  File "/opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/typing.py", line 1497, in get_type_hints
    value = _eval_type(value, globalns, localns)
  File "/opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/typing.py", line 292, in _eval_type
    return t._evaluate(globalns, localns, recursive_guard)
  File "/opt/hostedtoolcache/Python/3.9.12/x64/lib/python3.9/typing.py", line 554, in _evaluate
    eval(self.__forward_code__, globalns, localns),
  File "<string>", line 1, in <module>
Writing stub: /home/runner/work/napari/napari/napari/view_layers.pyi
TypeError: unsupported operand type(s) for |: 'type' and 'type'
make[1]: *** [Makefile:12: typestubs] Error 1
make: *** [Makefile:22: dist] Error 2
make[1]: Leaving directory '/home/runner/work/napari/napari'

However in PRs/main the error is different:
https://github.com/napari/napari/runs/6287580684?check_suite_focus=true#step:5:8
napari/plugins/_npe2.py:140: error: "Callable[[bool], None]" has no attribute "connect"  [attr-defined]
Found 1 error in 1 file (checked 29 source files)
make: *** [Makefile:18: typecheck] Error 1

Which weirdly is in code that hasn't changed recently.
I don't know whether the two errors are related but they are blocking release. @tlambert03 do you think you could have a look?

Probably due to recent mypy update.  Will have a look

temporary downgrade mypy and fix after rc0 is released?

Sure that's fine too

Fixed by #4475 and #4476. With thanks to @tlambert03!


portable mode on windows no longer works with atom 1.14.0 beta

Description
portable mode on windows no longer works with atom 1.14.0 beta
Steps to Reproduce

unzip atom window zip (or the 64bit package, doesn't matter)
create .atom folder in parallel to the Atom 'installation folder' OR define ATOM_HOME to point to a '.atom' folder
startup atom with --portable flag
.atom is created and used in the user home and the requested portable .atom folder is ignored.

Expected behavior:
Portable mode should work same as in 1.13
Actual behavior:
.atom folder is created and used from user home dir
Reproduces how often:
always
Versions
1.14.0 beta from the releases tab in the github project site

Thanks for reporting this - looks like it gets incorrectly calculated during the mac/linux portable work and is expecting to find it in the same directory as the atom.exe right now.
Fix it checked in and will be included in the next beta update. https://github.com/atom/atom/pull/13605/commits/9648d8b82fdb06cfaf3f8dcc14e910d06c742eb1

Thanks 👍

Fix is included in 1.14.0-beta1 which will be out in a few minutes.

doesn't work and seems like your PR fails on tests and wasn't merged into the master.

Yes, sorry it didn't make it after all.  It is now available on master - builds are available via appveyor if you want them ahead of the next beta update.

thanks again. I'll wait for the official release on github

still not working in 1.14.2 as well.

It was fixed in master but hadn't made it to the 1.14 branch. I just cherry-picked it over, it will be in 1.14.0-beta3.

thanks