[1.1] Feature request: On unique constrain violation exceptions include ids or keys that were involved

I think it would be good to know which constraint has been violated on a document /edge save , instead of a generic message.
This could be either somehow inside the exception string in an easy to parse way or as a property to the exception object.
What do you think?

We're pleased to anounce that ArangoDB 3.2 containing this is now available for download - Closing.


Module Review javascript2.editor

Mainly versioned external library downloads + cleaned up/consolidated binary licenses

Update names.properties too?

I'll address @junichi11 comments and get this merged. Thank you.


No JSON Data

For some reason, I don't seem to be getting any data put into the $jsonData, but it's all getting put into the $headerData. I'm also getting this exception:
( ! ) Notice: Undefined offset: 1 in C:\wamp\www\Insta\src\Instagram.php on line 448
Call Stack
Time	Memory	Function	Location
1	0.0004	253312	{main}( )	..\success.php:0
2	0.2117	419608	MetzWeb\Instagram\Instagram->getUserMedia( )	..\success.php:35
3	0.2117	420648	MetzWeb\Instagram\Instagram->_makeCall( )	..\Instagram.php:148
Any thoughts?

seeing the same issue just about now. The breaking change was introduced here: https://github.com/cosenary/Instagram-PHP-API/commit/6ee32c0aeeb82973c73a471ef80808cc0512962a

To solve this, try to comment line 490 to 500 from src/Instagram.php

The breaking change in 6ee32c0aeeb82973c73a471ef80808cc0512962a is on systems which do not return the headers by default on curl requests. It would require:
curl_setopt($ch, CURLOPT_HEADER, 1);
Currently the library is broken due to this change.

PR #100 should do the trick. but for now the entire lib is broken in the latest release.

Sorry for any inconvenience. This is fixed with commit 019b3dcf91ddad2a3a9c15e75b605bf57c2f0ca4


Add an !updaterepo command

Just like V1, it'll be much easier to update that way, with the frequent releases.
Can maybe be paired with #75

@ZeusJunior i have it planned to not be added to the bot, but to a script used to control the bot.

But I guess it could be added to the restart command as a parameter

To a script?


Same error !

root@backbox:/home/its_0x08/Desktop/exploits/CrackMapExec# python crackmapexec.py -t 100 <IP_ADDRESS>-255
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7601 (name:ISLAM-EL) (domain:ISLAM-EL)
[] <IP_ADDRESS>:445 is running Windows 10.0 Build 10240 (name:WIN-9FJM713M56L) (domain:WIN-9FJM713M56L)
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7601 (name:ADMIN-PC) (domain:ADMIN-PC)
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7601 (name:ADEL-PC) (domain:ADEL-PC)
[] <IP_ADDRESS>:445 is running Windows 6.3 Build 9600 (name:ASUS) (domain:ASUS)
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7600 (name:MAC-MINI-ALEKSEJ) (domain:MACMINI-EB09D7)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(self.args, **self.kwargs)
File "crackmapexec.py", line 2884, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
File "crackmapexec.py", line 75, in print_status
cprint("[] ", 'blue', attrs=['bold'], end=message.encode('utf-8')+'\n')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 63: ordinal not in range(128)
<Greenlet at 0xb64f97acL: connect('<IP_ADDRESS>')> failed with UnicodeDecodeError
[*] <IP_ADDRESS>:445 is running Windows 6.3 Build 9600 (name:ISIDORO) (domain:ISIDORO)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(self.args, **self.kwargs)
File "crackmapexec.py", line 2884, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
File "crackmapexec.py", line 75, in print_status
cprint("[] ", 'blue', attrs=['bold'], end=message.encode('utf-8')+'\n')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 67: ordinal not in range(128)
<Greenlet at 0xb5241a2cL: connect('<IP_ADDRESS>')> failed with UnicodeDecodeError
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7601 (name:ACER-PC) (domain:ACER-PC)
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7601 (name:ADMIN-TOSH) (domain:ADMIN-TOSH)
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7601 (name:LORRAINE) (domain:LORRAINE)
[] <IP_ADDRESS>:445 is running Windows 6.3 Build 9600 (name:ILHOM) (domain:ILHOM)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
result = self._run(self.args, **self.kwargs)
File "crackmapexec.py", line 2884, in connect
print_status("{}:{} is running {} (name:{}) (domain:{})".format(host, args.port, smb.getServerOS(), s_name, domain))
File "crackmapexec.py", line 75, in print_status
cprint("[] ", 'blue', attrs=['bold'], end=message.encode('utf-8')+'\n')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 62: ordinal not in range(128)
<Greenlet at 0xb525470cL: connect('<IP_ADDRESS>')> failed with UnicodeDecodeError
[] <IP_ADDRESS>:445 is running Windows 6.1 Build 7601 (name:ASUS) (domain:ASUS)
^CKeyboardInterrupt
[] Got CTRL-C! Exiting..
root@backbox:/home/its_0x08/Desktop/exploits/CrackMapExec#

@its0x08 should work now

It dosen't

bravo :')
Now I think its ok !
Thank you


Markdown live preview in compose box

In #217 the current  preview has been implemented, which however requires clicking Preview explicitly. As https://github.com/zulip/zulip/issues/217#issuecomment-969392085 suggested, and as has been sometimes requested by users, we could also implement a live preview, where the user can see it dynamically, while typing their message.

I wasn't able to find an existing open issue for this, feel free to close  if I missed something.

you mean this? the preview result is shown when writing?

@zulipbot claim

Relevant CZO threads:

https://chat.zulip.org/#narrow/stream/6-frontend/topic/live.20preview.20within.20the.20compose.20box
https://chat.zulip.org/#narrow/stream/6-frontend/topic/Visual.20editor/near/1422600

I think if a full preview doesn't make sense to implement, it would be nice to have a Discord-like lightweight formatting preview that doesn't hide the Markdown syntax.

Some inspiration from StackOverflow:

At my company, this would be a must have for us to onboard the non-technical staff! Is this on your roadmap?

@chris-crunchr This is of long-term interest, but it's not on our short-term roadmap. More immediate improvements will be adding more buttons for using formatting and special widgets (see #20302 and #20305), as well as a visual redesign of the compose box (#24878).


WIP work towards msvc support

Hoping to start this as a collaborative effort

I'm getting a segfault currently sometime after calling __getmainargs (which isn't implemented at all, so that's probably an issue
WIBO_DEBUG=1 build/wibo ~/repos/decomp.me/backend/compilers/win9x/msvc4.0/Bin/CL.EXE
msvcrt::__getmainargs(0xff9bf014, 0xff9bf010, 0xff9bf018, 1, 0xff9bf00c)
SetConsoleCtrlHandler
Segmentation fault


Analyzer fuzz crash: duplicate library element with one library annotation

library c;
@foo
library c;

One interesting note is that it must be the 2nd library that is annotated or the bad state is not found.
doesn't fails for classes. I didn't check enums/extensions/mixins/etc etc. though those may have similar problems.
Unhandled exception:
_ElementMismatchException: Element mismatch in /test/lib/test.dart at /test/lib/test.dart
Caused by Bad state: Found 1 annotation nodes and 0 element annotations
#0      DeclarationResolver.resolveAnnotations (package:analyzer/src/generated/declaration_resolver.dart:578:7)
#1      DeclarationResolver.visitLibraryDirective (package:analyzer/src/generated/declaration_resolver.dart:356:5)
#2      LibraryDirectiveImpl.accept (package:analyzer/src/dart/ast/ast.dart:6687:49)
#3      NodeListImpl.accept (package:analyzer/src/dart/ast/ast.dart:7682:20)
#4      CompilationUnitImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:2160:19)
#5      RecursiveAstVisitor.visitCompilationUnit (package:analyzer/dart/ast/visitor.dart:725:10)
#6      CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2140:49)
#7      DeclarationResolver.resolve (package:analyzer/src/generated/declaration_resolver.dart:45:12)
#8      LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:654:31)
#9      LibraryAnalyzer.analyzeSync.<anonymous closure> (package:analyzer/src/dart/analysis/library_analyzer.dart:160:7)
#10     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)

https://dart-review.googlesource.com/c/sdk/+/125521


Correcting some spelling mistakes -> language selection -> german

Hi!
This corrects some spelling mistakes and phrases of the german translation which didn't fit. :)
(this list of improvements was collected and discussed on the fediverse)

@Toromino Hi, thanks for the improvements!


Update resque-scheduler to use Composer auto-loader

Regarding https://github.com/resque/php-resque/pull/19:
Here the changes to address review comments form PR.
Used Composer autoloader, resque-scheduler.php script moved to the bin directory, added related changes into composer.json file.

Thanks for the pull request and sorry I couldn't get to this sooner!
Most of this was fine, but I'd like to hold off on any code sharing between the two "binaries". It might make sense to share more than just the autoloader code.
Merged the rest, so closing this! :)


fileType errors when detecting webm/matroska files

This is a very weird glitch and I have been digging for hours and am not quite sure what the reason is. Basically when a webm is uploaded and the file-type MIME detection is used, it throws an error that is captured by server.coffee:699.
The error thrown is TypeError: sliced.findIndex is not  a function, and it comes from index:217 in file-type.
A bit more digging reveals that buf.subarray() in the line above (216), for some reason, does NOT return a valid buffer object, but instead seems to return a normal object.
Here are my debugging code additions:
    ###
    @locus Anywhere
    @memberOf FilesCollection
    @name _getMimeType
    @param {Object} fileData - File Object
    @summary Returns file's mime-type
    @returns {String}
    ###
    _getMimeType: (fileData) ->
      check fileData, Object
      mime = fileData.type if fileData?.type
      if fileData.path and (not mime or not _.isString mime)
        try
          buf = new Buffer 262
          fd  = fs.openSync fileData.path, 'r'
          br  = fs.readSync fd, buf, 0, 262, 0
          fs.close fd, NOOP
          buf = buf.slice 0, br if br < 262
+         test = buf.subarray(4, 4 + 4096);
+         console.log 'sliced', (typeof test), test, !!test.findIndex
+         test = new Uint8Array()
+         console.log 'u8', (typeof test), test, !!test.findIndex
+         console.log 'buf', (typeof buf), buf, !!buf.findIndex
          {mime, ext} = fileType buf
       catch error
+        console.error error
     if not mime or not _.isString mime
       mime = 'application/octet-stream'
     return mime

The 'sliced' log value (test = buf.subarray(4, 4 + 4096)) mimics file-type's internal code and as you can see, the result is a plain object without .findIndex, which is the reason for the non-detection by file-type (file is classified as application/octet-stream):
sliced object { '0': 159, ...,  '257': 76 } false
u8 object Uint8Array {} true
buf object <Buffer 1a 45 df a3 ... > true
(STDERR) [TypeError: sliced.findIndex is not a function]

Also the Buffer and Uint8Array instances themselves work just fine, only the new Buffer().subarray() return value is weird.
I suspected this was some weird side-effect of the meteor 1.5.1 update to node 4.8.4, but testing in node reveals that Buffer is working fine:
docker run -ti --rm node:4.8.4
> new Buffer(262)
<Buffer 40 fb 77 02 00 00 00 00 40 fb 77 02 00 00 00 00 40 fb 77 02 00 00 00 00 0a 00 00 00 00 00 00 00 a8 52 78 02 00 00 00 00 05 00 00 00 01 00 00 00 00 00 ... >
> new Buffer(262).subarray(4, 4100).findIndex
[Function: findIndex]

My best guess is that this is a side effect from some broken polyfill trying to patch over the Uint8Array/Buffer implementation in pure JS (and failing hard) but I haven't been able to find out much. I attached a demo file that triggers the correct code path in file-type, just make sure to delete fileRef.type in onAfterUpload to trigger file-type detection when testing.
webm_test.zip

Hello @s-ol ,
new Buffer(262);

Is fine for node v4.8.4, Buffer constructor is deprecated in later node versions.
Have you tried to report the bug to file-type repository?
Hope @sindresorhus can tell us more about what is going on.

Hello @s-ol ,
Did you get a chance to raise this issue on the file-type repository?

sorry @dr-dimitru, I haven't, in part because I suspect this is not their fault and a glitch connected to meteor.

I suspect this is not their fault and a glitch connected to meteor

Chance is small, as _getMimeType called on Server only, so there is no Meteor's tweaks around Buffer omplementation

@s-ol any news on your end?

Closed due to silence at issue owner end.
Feel free to reopen it in case if the issue still persists on your end.


Rename bundle identifier com.example -> com.example.polly

Renamed MACOSX_BUNDLE_GUI_IDENTIFIER to com.example.polly to avoid errors like
No profiles for ´com.example´ were found: Xcode couldn't find a
provisioning profile matching ´com.example´.

Code signing is required for product type ´Application´ in SDK ´iOS 10.3´

when working on Enterprise Apple Developer accounts.

I opened #173 from joeced other branch where he had started to work.
We'll look to fix the rest tomorrow

Thanks, will take a look.


CI Ready to rock

Waiting on project name change so we can submit to homebrew and the pypi repo

We're good to go here right?


Move Spec context state into Spec::CLI

Follow-up to #14170. This includes the global variables inside Spec::RootContext.

CLI is at the moment still :nodoc:, we could change it any time we want.
prints_summary? reflects the fact that formatters don't depend on a context. Any other refactoring would introduce an equally "unrelated" change.

Not sure I understand what you mean. Wouldn't it be possible to apply the refactor from print_results to prints_summary? without the other changes? If it is, we should do it first, then move the other stuff around.


Please delay disabling screensaver password till screensaver exit

I'm using ControlPlane (and Proximity before that) to disable screen saver password while I'm nearby my office iMac, by testing if my phone is visible over bluetooth.
However, starting 10.6.5 (I believe) disabling screen saver password while screen saver is running leads to unexpected behavior -- you just get a black screen with mouse cursor moving around (see, for example, http://stackoverflow.com/questions/6577635/kill-screensaver-and-unlock-a-mac-using-applescript).
With Proximity I used to solve this issue with a script which were disabling password after screen saver exits. I thinks the same trick would work for ControlPlane, too. Obviously, it should be a bit more complicated, i.e. if context has been switched again, delayed operation should be cancelled.
Please note that I definitely don't want to unlock my iMac automatically, I just want it to not require password as soon as I entered it first time in the morning and while I keep being nearby.

Great tip, this is an issue that has been haunting me for a couple of weeks now.  I think the full proper fix is to use launchctl to restart ScreenSaverEngine

No, unfortunately this doesn't work. It looks like Snow Leopard introduced some additional security procedure in case ScreeSaverEngine crashed.

http://blog.mattbrock.co.uk/tag/launchd/

related #111


New landing page design

Related to #101.
This PR contains a draft for a new landing page and the related styling changes.
Still missing in this draft are:

improved footer
slideshow feature for news
information as listed in #76

I'm happy to continue iterating on this, but thought that it might be a good time to discuss what I've currently got.

Just a suggestion, IMO text color of nav-bar in dark mode is not quite visible properly, it should have more light, and normal text is too much bright for dark mode... maybe it's just my eyesight delusion😅!

@simonsteiger Can we try to add something like this SVG, we created this rough sketch, it's a bit unclean, but I think it worth a shot!
Adding @Govindggupta to this conversation as he created this SVG a while back!
https://github.com/user-attachments/assets/fe0b810f-525a-43e3-9999-8f3e55d021f8

Code

<!DOCTYPE html>

      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>SVG Animation</title>

         NAVBAR

Turing.jl

Bayesian inference with probabilistic programming

            <svg width="2300" height="498" viewBox="0 0 2300 498" fill="none" xmlns="http://www.w3.org/2000/svg">
               <path class="line line1"
                  d="M0 487C428.737 486.5 424.61 478.535 493.575 389C523.23 350.5 595.105 213 654.414 213C713.724 213 748.907 290 790.625 344.5C832.343 399 846.416 425.5 908.239 461.5C979.498<PHONE_NUMBER>.47 487 2300 487" />
               <path class="line line2"
                  d="M0 485.5C212.654 485.5 378.977 486 565.45 486C751.923 486 763.644 514.469 852.448 292.5C881.709 219.36 911.829 96 950.052 96C988.276 96 1016.27<PHONE_NUMBER>.19 287.031C1116.15<PHONE_NUMBER>.64<PHONE_NUMBER>.06 484.016C1416.28<PHONE_NUMBER>.04 486.5 2300 486.5" />
               <path class="line line3"
                  d="M0 486.499C101.007 486.499 207.547 486.499 308.554 486.499C409.56 486.499 483.491 486.499 577.149 486.499C668.492 486.499 699.329 489.286 731.197 460.973C773.165 423.687 790.94 330.837 809.112 262.111C827.285 193.386 858.089 8 890.182 8C922.275 8 944 162.661 971.155 262.111C988.985<PHONE_NUMBER>.43 426.95 1058.05 469.982C1081.26<PHONE_NUMBER>.7<PHONE_NUMBER>.64 486.499C1356.96<PHONE_NUMBER>.25<PHONE_NUMBER>.74 486.499C1627.23<PHONE_NUMBER>.68 487 2300 487" />
            </svg>

Just a suggestion, IMO text color of nav-bar in dark mode is not quite visible properly, it should have more light, and normal text is too much bright for dark mode... maybe it's just my eyesight delusion😅!

Thanks for the feedback, those are good points. I'll have a look at the colours again.
The SVG looks awesome! I'll try to integrate it into the current design in the coming days. I might also experiment with moving the "Turing.jl" header and subheader around a bit to align it better with the current content layout.

The SVG looks awesome! I'll try to integrate it into the current design in the coming days. I might also experiment with moving the "Turing.jl" header and subheader around a bit to align it better with the current content layout.

Feel free to experiment anything! Let us know if you need any help!

I tried to make the SVG header work as well as possible on mobile screens.
Do you have other ideas for the layout on mobile screens? I played with a few versions but preferred one where "Turing.jl" is the most prominent (instead of smaller and to the right of the distributions):

I tried to make the SVG header work as well as possible on mobile screens.

Thank you, @simonsteiger!

Do you have other ideas for the layout on mobile screens? I played with a few versions but preferred one where "Turing.jl" is the most prominent (instead of smaller and to the right of the distributions)

It's looking good, I will let you if I get any other ideas!

@yebai @penelopeysm Please let us know if you have any suggestions to complete this PR!

Hello @simonsteiger! I think the layout is very beautiful and elegant, and having done a bit of web design myself I know that tweaking CSS to make something look sleek is not trivial so I wanted to say that this is really, really good work :) Thank you!
Some small comments:

In the SVG, it would be good if the text 'Turing.jl' would appear earlier. Right now you have to wait ~ 3 seconds before it appears.
Would it be possible to move the text to the left-hand side and the peaks of the Gaussians to the right-hand side?

I like the libraries page a lot, but I don't think it deserves to be put front and centre together with tutorials and the link to the github organisation. The average user wouldn't really be navigating there very often imo.

In its place, perhaps we could have a link to #turing on Julia Slack (https://julialang.slack.com/archives/CCYDC34A0) and/or the probabilistic programming forum on Discourse (https://discourse.julialang.org/c/domain/probprog/48). These are places where people can get in touch with us / other users. I think that would be more welcoming and pertinent

Is there a reason why the tutorial button is a different colour from the others? If there isn't a very important reason, I would prefer to have it be the same as UI consistency is really important.

I'm happy to continue discussing what other, additional, information is worth including. However, I strongly believe that that should be part of a separate PR, not this one.
Unrelated to this PR. but my moonshot dream for the front page is to have a 'playground' - people can edit a model definition, select a sampler from a dropdown, then click a button and have it sample and display plots. I know this is not really possible (this would require either Julia -> WASM compilation, or a dedicated server machine) but just putting it out there. 😄

Unrelated to this PR. but my moonshot dream for the front page is to have a 'playground' - people can edit a model definition, select a sampler from a dropdown, then click a button and have it sample and display plots. I know this is not really possible (this would require either Julia -> WASM compilation, or a dedicated server machine) but just putting it out there. 😄

Maybe these can help, just putting them here if we take this on in future!
https://tshort.github.io/WebAssemblyCompiler.jl/stable/
https://dspace.mit.edu/handle/1721.1/150151
https://discourse.julialang.org/t/julia-and-wasm/108482

Hi @penelopeysm! I was really happy to read your comment – working on the design was a lot of fun, and it's of course great to hear that you think it looks beautiful and elegant.

In the SVG, it would be good if the text 'Turing.jl' would appear earlier. Right now you have to wait ~ 3 seconds before it appears, and it looks like the user is just looking at empty space.

Definitely! I'll change that.

Would it be possible to move the text to the left-hand side and the peaks of the Gaussians to the right-hand side?

That would be a great change, too! I think it'd work particularly well given that "Turing.jl" will be appearing first, and the Gaussians then continue "unfolding" on the right of the text.

I like the libraries page a lot, but I don't think it deserves to be put front and centre together with tutorials and the link to the github organisation. The average user wouldn't really be navigating there very often imo.

In its place, perhaps we could have a link to #turing on Julia Slack (https://julialang.slack.com/archives/CCYDC34A0) and/or the probabilistic programming forum on Discourse (https://discourse.julialang.org/c/domain/probprog/48). These are places where people can get in touch with us / other users. I think that would be both more welcoming and pertinent

Great! I believe I just looked at some other docs and what they put there, but most of the content was really just intended to be placeholders. Slack and / or discourse sound like great choices.

I think the libraries page would be a good fit for the 'learn more' section at the bottom of the page

I'll move it there!

Is there a reason why the tutorial button is a different colour from the others? If there isn't a very important reason, I would prefer to have it be the same as UI consistency is really important.

No, no particular reason. I was probably taking inspiration from other docs and pages that were linked as potential inspiration by @shravanngoswamii in #101.
The only reason I could see from a UX perspective is that we might want new users to check out a specific resource first, and therefore highlight it. If such a prioritised resource does not exist, I agree that they should be the same colour.

If I had to argue for it from a UX perspective, I'd probably say that we might want to nudge new users to check out a specific resource first, and therefore highlight that button.

Sure, that makes sense :)
I wonder if you think this layout might be better? (it's just an Inkscape mockup) Happy to stick with the original too. It could just be that my brain is addicted to symmetry 😅

I wonder if you think this layout might be better? (it's just an Inkscape mockup) Happy to stick with the original too. It could just be that my brain is addicted to symmetry 😅

I can relate to that! My attempts so far haven't worked well. Flexbox (or at least my knowledge of it) does not seem to easily accommodate this layout. Grid might be better for that, I guess?
Apart from the obvious centering issue in the current version, I still feel like the extra row creates too much space. I'll keep trying though!

Eek, I can see what you mean with the alignment, and I guess it's because 'Slack' and 'GitHub' have different widths? That's super annoying haha. You could make it work with grid but I'm not sure if that makes the responsive design more painful too. I'm totally fine with sticking to a single line!
As for the SVG, I dug a little around the organisation and I think this is the script that's used to generate them:
https://github.com/TuringLang/turing-logo-graphics/blob/master/src/logo.jl
I ran it and it tells me that

purple has mean 0 and stdev 1
brown has mean 2.5 and stdev 1/sqrt(2)
green has mean 2 and stdev 1/sqrt(3)

I guess we could remedy the "different lengths" problem of GitHub and Slack by setting a minimum width to all buttons, but that doesn't feel very elegant, and a short word like "Slack" might then look lost in a very wide button.
Thank you for pointing me to the script with the Gaussians!
It seems that both Plots and Makie export these curves very large arrays of points compared to the compact bezier curve representation that @Govindggupta created. Apart from the length of the arrays, it seems that these points cannot be animated as lines. In the end, I resorted to asking Claude if it could mirror the curves – and yes, it could!
I'll work on the footer next and continue iterating a bit with colours, in particular for the links since I agree that those aren't great. @shravanngoswamii also mentioned the dark mode in general – let me know what you think should be adapted.
I would really like the header to be centered, too. I have some ideas I'd like to try, but I feel that quarto's defaults are getting in my way here, and I'm not super keen on wrangling my way past those. As @penelopeysm pointed out, a framework like Astro would be a great way to create (and reuse) components like a custom header.

I'd be happy to help brainstorm ideas for the "logo" on the landing page but I don't know enough about, e.g., Javis.jl to help with creating the animation in the near future.
Might it be an option to make the new animation a target for another PR?

In the last changes, I have

shortened the footer text as suggested @shravanngoswamii in a comment in #101
replaced links to subpages for inofficial tutorials and talks with new subsections on the landing page (on the workshop section: if the Turing workshop refers to Jose Storopolis work, I think the it should go under inofficial tutorials, too)
added a placeholders for a table on MCMC algorithms and for the Bayesian workflow diagram as listed in #76

I can add the talks, the workflow diagram, the MCMC table, and more inofficial tutorials if you post the info.
If someone would briefly outline what information should be included in the texts for each of the subsections (e.g., next to the model examples), I can do my best to turn those points into proper texts (not a native speaker here though!).

@willtebbutt Could we trouble you to write the text for the GP model? (For your convenience, the preview for this PR is at https://turinglang.org/pr-previews/105/)

Sorry -- this slipped through the cracks somehow. What exactly is it that you would like me to do @penelopeysm ?

@willtebbutt There's this placeholder text "Goodbye, World in Turing" next to a GP model. I thought you'd be the right person to ask about filling that in with real text 😄

It seems that quarto 1.6.39 treats the first raw html h1 as the page title and therefore wraps it in quarto-title-block. That caused the CSS formatting I had applied to said h1 to be dropped.
For now, I have simply replaced h1 by div. This means "Turing.jl" doesn't have the same font weight at the moment, but we can of course get that back with a custom class.


[Question]:  Why is this repo using labels for versions, and not milestones?

Your question
Why is this repo using labels for versions, and not GitHub milestones?
Just curious, as Microsoft also owns GitHub, I would expect that GitHub would used as by design.
(there is also a milestone which should be closed? --> v1.11.0)

Seems unrelated to the Playwright functionality!

It's related to the open source community...which is an essential part of open source software


Feature generate modal

Codecov Report

Merging #342 into master will decrease coverage by 1.42%.
The diff coverage is 43.58%.

@@            Coverage Diff             @@
##           master     #342      +/-   ##
==========================================
- Coverage     100%   98.57%   -1.43%
==========================================
  Files          62       63       +1
  Lines        1510     1549      +39
  Branches      234      235       +1
==========================================
+ Hits         1510     1527      +17
- Misses          0       22      +22

Flag
Coverage Δ

#builder
98.25% <43.58%> (-1.75%)
:arrow_down:

#runtime
100% <ø> (ø)
:arrow_up:

#srcapp
100% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

cli/generate.js
95% <25%> (-5%)
:arrow_down:

lib/modal_generator.js
45.71% <45.71%> (ø)

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 a1bb2c8...ca44200. Read the comment docs.

@Blackbaud-BryonWilkins doing some housekeeping and we came across this from late 2017. Are you interested in fixing this or should we just close this PR?

Yea I would say, I'm no longer working on this.

From: Trevor Burch<EMAIL_ADDRESS>Sent: Monday, June 17, 2019 11:47 AM
To: blackbaud/skyux-builder
Cc: Bryon Wilkins; Mention
Subject: Re: [blackbaud/skyux-builder] Feature generate modal (#342)
@Blackbaud-BryonWilkinshttps://github.com/Blackbaud-BryonWilkins doing some housekeeping and we came across this from late 2017. Are you interested in fixing this or should we just close this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/blackbaud/skyux-builder/pull/342?email_source=notifications&email_token=AHQHPXUTIW5EZNE5Q6H3HH3P26WXRA5CNFSM4EES4QJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX3SO7Y#issuecomment-502736767, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHQHPXXZVWVSYVGF3I74SLTP26WXRANCNFSM4EES4QJA.

Closing due to inactivity


Constant inout port incorrectly listed as input terminal

Yosys generates incorrect BLIF output for the following Verilog input file:
module minimal(inout y);
   assign y = 1'b0;
endmodule

The generated output is:
# Generated by Yosys 0.7+682 (git sha1 ec3ce72d, clang 3.8.1-24 -fPIC -Os)

.model minimal
.inputs y
.outputs y
.names $false
.names $true
1
.names $undef
.names $false y
1 1
.end

This causes arachne-pnr to fail with the message:
min.blif:12: fatal error: net `$false' has multiple drivers

The same problem occurs when assigning 1'b1 or 1'bz to the terminal.
For 1'b0 and 1'b1, removing y from the .inputs statement resolves the issue.
However, when assigning 1'bz, this results in the same BLIF output as when assigning 1'b0, with the consequence that the pin is set to constant low instead of high-impedance state (this has been reported as issue #511).
For 1'bz, the following BLIF output results in the correct bitstream:
.model minimal
.inputs
.outputs y
.names $false
.names $true
1
.names $undef
.gate $_TBUF_ A=$undef E=$false Y=y
.end

I believe this will be fixed by #735.


#6297 should be noted as a breaking change in v3.2

#6297 should be noted as a breaking change in v3.2. @simster7 could I ask if you could update the upgrading guide.

@alexec I'd be happy to do so


chore: synchronize TappedCollectedArtwork helper API with schema

The schema was updated in #151, but this updates the corresponding helper to match.

:rocket: PR was released in v1.67.8 :rocket:


Porting ZHNetwork to mysensors https://www.mysensors.org/

Hi Alexey ,
Have you heard of mysensors project? https://www.mysensors.org/download/sensor_api_20.
I have a small mysensors network with rfm69 radios. It works great and the challenge is to build the hardware as there is different hardware for radio encryption and storage.  It will be awesom if ZHNetwork can be ported to mysensors. $2 esp8266 has all the hardware built in and with range and mesh topology of espnow it will be a very simple hardware to build by diy user.
Please can you have a look if it is possible to port ZHNetwork to mysensors. :)
Best regards,
Chandan

Hi Chandan!
Now this project is unknown for me. I will be researching it.
Please wait information, but it may not be very soon.
Thanks.


[Bug] dictionary changed size during iteration

What happened?
when switching between wallets

occured.
after clicking [OK] and clicking on the desired wallet, it will load without issue
Version
1.8.0rc3
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
No response

Interestingly, this is actually a python error message. @bramv-chia any chance you can find that error message in your debug log?

@paninaro
2023-04-26T07:06:48.114 wallet chia.wallet.wallet_node    : INFO     Sync (trusted: True) duration was: 51.454047441482544
2023-04-26T07:06:48.148 wallet chia.rpc.rpc_server        : WARNING  Error while handling message: Traceback (most recent call last):
File "chia\rpc\rpc_server.py", line 340, in safe_handle
File "chia\rpc\rpc_server.py", line 331, in ws_api
File "chia\rpc\wallet_rpc_api.py", line 317, in log_in
File "chia\wallet\wallet_node.py", line 388, in _start_with_fingerprint
RuntimeError: dictionary changed size during iteration

Thanks @bramv-chia I'll transfer this to the blockchain repo and assign it.


update Spring Boot to 3.2.3

Spring Boot update
What

libraries update

Why

to fix CVE-2024-22234 and CVE-2024-22243
to have up-to-date libraries in project

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[ ] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[ ] Copyright and license header are present on all affected files

Hi @dvasunin and @adkumar1,
do theses changes need to be includes in the Tractus-X release? If so, I would update the Release issue mentioning a new bugfix version 1.5.4 will be created


Remaining backlog from SURFconext-UI

Includes PRs #187, #188, #189, #190, #191. Compiled into a single PR, because each PR would cause merge conflicts on the compiled files application.js and application.css.

:+1:


get_model should allow a parameter like cache_dir

Currently, the models and preprocessors are downloaded to ~/.cache/huggingface/hub/ ... path and users do not have capability to change this. Most libs like sentence_transformers, fastembed provide something similar.
This feature request allows users to set a custom path where the model etc. can be downloaded.
This option can also prevent unnecessary downloads if the model already exists at the provided location.
Let me know if this request makes sense, i can drop a PR.

Makes sense! Can you please open a PR, @chitralverma?


Get the depth value in meters

Hi, I wanted to know how to get the depth value in meters in python of the recorded video?

Check the function load_depth(path, confidence=None, filter_level=0) in stray_visualize.py. The depth values are saved as millimeters encoded as a matrix of 16 bit unsigned integer values. To go from millimeters to meters you multiply the by 1000.


update my develop branch - June 14th, 2020

Codecov Report

Merging #7 into develop will decrease coverage by 1.93%.
The diff coverage is 65.38%.

@@             Coverage Diff             @@
##           develop       #7      +/-   ##
===========================================
- Coverage    91.32%   89.39%   -1.94%
===========================================
  Files           54       58       +4
  Lines          888      962      +74
  Branches        24       32       +8
===========================================
+ Hits           811      860      +49
- Misses          63       89      +26
+ Partials        14       13       -1

Flag
Coverage Δ

#unittests
89.39% <65.38%> (-1.94%)
:arrow_down:

Impacted Files
Coverage Δ

packages/api/src/Path/Path.service.ts
56.00% <0.00%> (ø)

packages/api/src/PathUser/PathUser.service.ts
44.44% <44.44%> (ø)

packages/api/src/UserModule/UserModule.service.ts
46.15% <46.15%> (ø)

packages/api/src/UserModule/UserModule.resolver.ts
60.86% <60.86%> (ø)

packages/api/src/App.module.ts
100.00% <100.00%> (ø)

packages/api/src/Database/index.ts
100.00% <100.00%> (ø)

packages/api/src/Path/Path.entity.ts
100.00% <100.00%> (ø)

packages/api/src/Path/Path.resolver.ts
88.57% <100.00%> (+0.33%)
:arrow_up:

packages/api/src/PathUser/PathUser.entity.ts
100.00% <100.00%> (ø)

packages/api/src/PathUser/index.ts
100.00% <100.00%> (ø)

... and 7 more

Continue to review full report at Codecov.

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


LE Audio: ASCS ACL disconnect fix

Fixes https://github.com/zephyrproject-rtos/zephyr/issues/62579

As I understand, the problem reported was that connectable advertising could not be started because there was still reference to the conn?

Yes - The bt_conn_cb.disconnected says

When this callback is called the stack still has one reference to the connection object. If the application in this callback tries to start either a connectable advertiser or create a new connection this might fail because there are no free connection objects available. To avoid this issue it is recommended to either start connectable advertise or create a new connection using @ref k_work_submit or increase @kconfig{CONFIG_BT_MAX_CONN}.

But since the k_work_submit of the application may be submitted before the k_work_submit of ASCS, then by the time the application k_work_submit work is processed, then ASCS still kept a reference to the bt_conn


Item flag to hide banner patterns

Be able to hide banner patterns on the item, similar to hiding enchantments etc.
Tried hide_attributes and it didn't work.

We don't control this, spigot does. Ask them.

https://www.spigotmc.org/threads/hideattributes-does-not-hide-bannermeta-patterns.91230/

@Morphan1 it's already there ;_;

@Fortifier42 Read the thread you linked yourself to solve your issue :)


Updated metadata and serviceMesh field

Signed-off-by: dhruv0000<EMAIL_ADDRESS>Notes for Reviewers

Added Service Protos to define any abstract service under /service. It includes:

info.proto
health.proto
error.proto

protos/service_mesh.proto changes:

Changed ServiceMeshes message to ServiceMesh as it defines one instance of mesh.
Added string version in ServiceMesh message
Added labels and annotations in ServiceMesh message to define a mesh more comprehensively.

Updated CI workflow. Courtesy of @kumarabd

Signed commits

[x] Yes, I signed my commits.

@leecalcote This PR will require a minor update in meshery repo to use serviceMesh instead of serviceMeshes to run the performance test correctly. Please do ping me when we update the release tag, will raise that PR in meshery

@leecalcote This PR will require a minor update in meshery repo to use serviceMesh instead of serviceMeshes to run the performance test correctly. Please do ping me when we update the release tag, will raise that PR in meshery

Thanks for pointing this out, @dhruv0000. Here we are - https://github.com/layer5io/service-mesh-performance/releases/tag/v0.3.2

Thanks for pointing this out, @dhruv0000. Here we are - https://github.com/layer5io/service-mesh-performance/releases/tag/v0.3.2

#2297

#2297


Enable testpackage linter

This PR enables the testpackage linter

Codecov Report
Base: 29.91% // Head: 29.91% // No change to project coverage :thumbsup:

Coverage data is based on head (d3e23b9) compared to base (77cf329).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   29.91%   29.91%
=======================================
  Files           5        5
  Lines         341      341
=======================================
  Hits          102      102
  Misses        223      223
  Partials       16       16

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


running tests in a local environment

When I try to run the tests in my machine they time out (I guess that it needs memcached server instances running in special ports).
Maybe that info could be added to the README.md or make the run script to run those instances automatically?

+1


Bot not authorizing on teams

The Teams bot Authentication doesn't work, doesn't allow users to login. It always give the error below

when logging on mobile teams app. It is redirecting to https://token.botframefork.com but with an error saying failed to load webview

Hi @ikaur1718,
We need you to provide more information in order to repro or investigate this.

What samples did you use as a base?
What code changes did you make?
What documentation did you use?
What kind of configuration did you perform?
Is there any other relevant information which may help diagnose your issue?

I believe the UseSingleSignOn setting needs to be set to true for Teams SSO.

That did not work. that app setting is not being used in the application.

As per the README of the sample you linked:

The setting is set to false be default, but the developer should enable it when configuring Teams SSO, assuming the rest of your configuration is correct.

I made those changes but now my adaptive card for login is not appearing at all.


Ticket 25896 1.8

Test breaking with previous code, and fix which makes test pass.

Please add a mention in the 1.8.8 release notes. For future reference, please send pull requests against master and the comitter will take care of backporting as necessary.

buildbot, add to whitelist.

I did all of them, and rebased to master to a new branch. Do I close this request and open a new one?

Yes, you can't edit the branch a pull request is targeted at.


forward kwargs

The new 0.2.0 keras version requires sometimes input_shape to be set.
Therefore it is important to forward the **kwargs argument to the Layer
constructor.

Thanks for that @berleon
I'm actually working on a more detailed solution for it right now. I'll merge what I did first and them you add your contributions. Does it work for you?

please, check recent modifications in this commit https://github.com/EderSantana/seya/commit/71297e4c330b4075144c195ba881d8a82c5cf6c6.


Add Siler

Despite it isn't popular as Slim, Silex and Lumen, it is getting closer to Bullet and Proton.
But the main reason IMHO to get Siler listed is about its uniqueness approach on how PHP micro frameworks, libraries and web applications are made.
It proposes plain old functions and files over classes in a nice structured, PSR compilant and well tested way.

Did small participation to Siler.
It's a very lightweight library containing almost only a single router and a few utilities.
Its aim is to just give a basic routing system and base operations to give full control of its developer on how the request lifecycle will be handled.

Heads up! Siler is stable now by v1.0.0. Almost 300 stars and 1k downloads.

Siler just got listed as GraphQL server implementation: https://graphql.org/code/#siler-https-siler-leocavalcante-com-graphql-github-https-github-com-leocavalcante-siler

Ping @ziadoz @josegonzalez


Fully qualify System.Threading.Tasks.Task

Supersedes #6225 (and regenerated C# code).

CLA is fine.

LGTM


gulp-umd

Explicitly pass root to the factory function.

Tested and it works :) Thanks @xriss
Note that the test failure is unrelated to this PR.


Maya: Re-use maintained_time from lib

Brief description
Code cleanup - re-use maintained_time from Maya lib.
plus also removed two unused lines of code.
Testing notes:

Extract playblast should work like before
Extract thumbnail should work like before

I just resolved the conflict and merging


Rebase to the latest main

Preview: https://react-component-groups-pr-component-groups-277.surge.sh


Potential Issue In PerAvg Server

Hello, thanks for providing this repository.
I was modifying the PerAvg server and found that it makes two separate calls to train() (see below).
Is this intentional? I know the client-optimization has two separate internal steps to get the meta-gradient, but I do not see why the server would have twice as many calls to the train function.
https://github.com/TsingZ0/PFL-Non-IID/blob/3b2579a2a15f0fa066bd3779e14cfba42688b242/system/flcore/servers/serverperavg.py#L31-L33

Please refer to #59 .


Block Names and IDs in world database

This is required because we can add blocks so easily, and in any order with the new Lua interface. For example, block ID 37 might be book one run, and then potion the next run, depending on the modules we load.
Implementation
We should be storing Block Names and IDs in the world database, because block IDs can change with the scripts loaded and because of the new dynamic way we handle blocks.
I think the easiest way to handle this would be to have two caches, similar to the id-to-block-struct cache that's currently implemented in the block handling code. Basically, two arrays of ints to convert from the memory block IDs to the DB block IDs, and then another to convert back.
Requires a bit of precalc (and recalculation when blocks are added), but it's better to do this rather than offload the processing to runtime.

Whoo, almost finished with this, I think. For it actually inserting and creating the caches successfully, from what I can see. I just need to work out where to put the conversion calls to make everything work properly.

Whoo, almost finished with this, I think. For it actually inserting and creating the caches successfully, from what I can see. I just need to work out where to put the conversion calls to make everything work properly.

Cool, this looks basically finished. I need to work out why flag was being applied in the worldgen, but the conversion and loading and all that fun stuff looks like it works just fine.

Alright, this is working how I expect it to. I'll merge this into master and look at flag.
note: This will probably bugger up worlds with existing custom items, but this change is necessary if we want to continue to be able to add new items without our worlds getting corrupted and junked up.


show error if have error in config file

Issue: https://github.com/nuveo/prest/issues/108

@felipeweb @avelino updated


Seems like MWAA runner 2.7.2 misses libgeos-dev

Hi, I am using the most recent version of mwaa-local-runner - 2.7.2 version, and have encountered an issue.
If I try to install apache-airflow-providers-google==10.9.0 (this is the version that's specified in the constraints), I get an error saying:
OSError: Could not find lib geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so']
I see that Airflow team added "libgeos-dev" library to runtime PROD image as it is required by BigQuery library on ARM image
https://airflow.apache.org/docs/docker-stack/changelog.html#airflow-2-6
I hope you can help with that. Thanks a lot !

I saw on #airfow-aws Slack channel in Airflow community someone wrote (Edgaras Navickas
[  26 days ago](https://apache-airflow.slack.com/archives/CCRR5EBA7/p1701439707700519?thread_ts=1701338115.944909&cid=CCRR5EBA7) :
I tried tons of different configurations (I'm no Linux or Docker expert, more like a noob) and finally got it working by building libgeos-dev package from a source inside the systemlibs.sh file by adding the following:
systemlibs.sh file by adding the following:
GEOS INSTALLATION
dnf install -y cmake tar wget
wget https://download.osgeo.org/geos/geos-3.12.1.tar.bz2
tar xvfj geos-3.12.1.tar.bz2
cd geos-3.12.1
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON .
make
make install
cd ..

Hi, @asafsneh ,
I got it to install by specifying these instructions in my startup.sh script:
### GEOS INSTALLATION ###
sudo dnf install -y cmake tar wget
sudo wget https://download.osgeo.org/geos/geos-3.12.1.tar.bz2
sudo tar xvfj geos-3.12.1.tar.bz2
cd geos-3.12.1
sudo cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON .
sudo make
sudo make install
cd ..

You will also need to adjust your startup.sh timeout in your shell-launch-script.sh file (at least for me startup.sh takes around 10 minutes if I build libgeos-dev from the source).
The main issue is that even if you can get it to work in mwaa-local-runner, it won't work in the AWS environment since there the startup.sh timeout is set to 300 seconds and cannot be changed.

Hello. I'm also facing this issue when trying to use the google provider.
Any way we can circumvent this issue without having to install these extra libraries? I'm only trying to use the GSheetsHook from airflow.providers.google.suite.hooks.sheets


HydroServer Capabilities Database Configuration Tool: Unhandled Exception when using UI buttons

prokein[CodePlex] Issue is reproducible on my machine.
Windows Server 2008 R2 Standard 64-bit, SQL Server 2008 R2, .Net 3.5.1 installed.
HydroServer Capabilities Configuration Tool installs fine. The issue remains the same whether the tool is run as user or as admin. An unhandled exception is thrown when clicking any of the buttons (i.e.: System.Data.SqlClient.SqlException: Invalid object name
'Contacts'). The program does not completely crash since the exception can be dismissed, but obviously it just doesn't work. I attached hydroserver_cdct_exception.txt with the error messages for the Contacts button. The messages are essentially the same for
the other buttons.
nbsp
Cheers,
Peter

sreeder[CodePlex] Added Message box to ensure user is using the correct type of database, must be a Hydroserver Capabilites database.


Jenkinsfile and Jenkins Code Pipeline issue

Hi
I would like to use this plugin within a Jenkins pipeline project via a Jenkinsfile. However I can't get it to work. It doesn't appear to poll the scm (i.e. AWS). The polling works fine if I use a freestyle project so it may well be that I am doing something wrong in my Jenkinsfile configuration. This is what I have:
properties([
        buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '1', daysToKeepStr: '', numToKeepStr: '1')),
        pipelineTriggers([pollSCM('* * * * *')])
])
node("leader"){
  checkout([$class: 'AWSCodePipelineSCM', clearWorkspace:true, region: "eu-west-1",
awsAccessKey: "xxxxx", awsSecretKey: "xxxxx",
category: "Test", provider: "Jenkins", version: "2", proxyHost: "", proxyPort:0,
name:"test-1"])
}

Any help appreciated. I get a polling log but it's not the AWS code pipeline polling log that I would have expected with a freestyle project. It always has success in it but it never actually calls AWS.
Thanks

i have similar issue,
checkout([$class: 'AWSCodePipelineSCM'...) step just totally hangs from pipeline script (work fine from freestyle job). and job even cannot be aborted, only restart jenkins.

Hi all - running into the same issue...did you guys find a workaround?

+1 on this?

+1

+1

+1


how to ouput trading plan

I was wondering how I would have to define the environment to predict a future day. So lets say I would train with data up until today (18th  August  2021) and I want to see what the actions for the DOW_30 stocks should be for tomorrow. I can't seem to find any examples or a way to do this.
like this，
8.18 trading plan：
sell Xstock 200 shares at price 20.02-20.05
buy Ystock 100 shares at price 10.00-10.10

In the tutorials, you can save the trained models in config.TRAINED_MODELS folder. Probably you can retrieve the trained model and pass in the required state space to get the action for each asset.

Since DRL algorithms perform an action after observing the environment (say prices), one possible way for your question would be: 1). using a prediction model to estimate tomorrow's prices, 2) then input it into the trained agent and get the actions for tomorrow.

Hi ! Interesting suggestions.  Has anyone developed the code for this ? Kindly let me know .Thanks

@XiaoYangLiu-FinRL  Hello, I have the same question. I want to know whether actions is for today or tomorrow? If you already know the closing price, it's too late.

@chenliqiang1982  We are providing demo codes here.  If you use the price that is one minute before "closing price", will that cause big trouble for you?  If yes, then please find some good way to address it.  Currently, I am relying the execution team to address possible "slipage".

@XiaoYangLiu-FinRL  Thank you. I probably understand what you mean. I will test it.


nmstate: add the docstring and comments

Add the docstrings and comments to the nmstate provider implementation.

lgtm


Custom app name

Customize binary name

I don't think this approach will work. This will only tell the action where it should look for the app files, without renaming them. Therefore it should always fail to find the files 🤔
p.s. sorry for the delay!

The binaries are built with tauri build  ?
If yes, we have to modify tauri directly ?

The binaries are built with tauri build ?

Yes.

If yes, we have to modify tauri directly ?

Hmm, tricky. If you only want to rename the app bundles (like the .msi, .appimage, etc) then no. if you also want to change the name of the exe/binary inside that bundle than maybe, or i guess that's what the productName config is for. Either way i don't see us changing Tauri for this feature so let's keep it specific to the action.

I see https://github.com/tauri-apps/tauri-action/pull/355.
I don't see the PR yet, but it's a complete rewrite and reading https://github.com/tauri-apps/tauri-action/issues/354, it will do the job of my PR.
Will wait the review of rewrite PR and close my PR if it resolve issue

maybe a better approach to this is to take an additional param by the action of a config file that will be merged into the default config json? it will map directly to the tauri build --config <config to merge> and allow to be more flexible in defining pipelines

@ngalaiko's idea works on the dev branch for some time already. Imho that's good enough. With my concerns voiced above i'll close this PR for now. Thank you :)


Text Input Selection Color

Hi guys,
Is there a way to change the default text input selection color like this one
Selection color prop

You can use the textInputProps.
textInputProps={     selectionColor: 'red', }}


2.6下安装报错

你好
这个2.7下安装没问题
2.6下32位linux报错
root@ip-1111111:~# pip install pyqqweibo
Downloading/unpacking pyqqweibo
Downloading pyqqweibo-0.3.7.tar.gz
Running setup.py egg_info for package pyqqweibo
Traceback (most recent call last):
File "", line 13, in
File "/root/build/pyqqweibo/setup.py", line 13, in
from qqweibo import version
File "/root/build/pyqqweibo/qqweibo/init.py", line 7, in
from qqweibo.auth import OAuthHandler
File "/root/build/pyqqweibo/qqweibo/auth.py", line 11, in
from qqweibo.api import API
File "/root/build/pyqqweibo/qqweibo/api.py", line 16, in
class API(object):
File "/root/build/pyqqweibo/qqweibo/api.py", line 44, in API
require_auth = True
File "/root/build/pyqqweibo/qqweibo/binder.py", line 217, in bind_api
rettype)
ValueError: zero length field name in format
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 13, in
File "/root/build/pyqqweibo/setup.py", line 13, in
from qqweibo import version

File "/root/build/pyqqweibo/qqweibo/init.py", line 7, in
from qqweibo.auth import OAuthHandler

File "/root/build/pyqqweibo/qqweibo/auth.py", line 11, in
from qqweibo.api import API

File "/root/build/pyqqweibo/qqweibo/api.py", line 16, in
class API(object):

File "/root/build/pyqqweibo/qqweibo/api.py", line 44, in API
require_auth = True

File "/root/build/pyqqweibo/qqweibo/binder.py", line 217, in bind_api
rettype)

ValueError: zero length field name in format

Command python setup.py egg_info failed with error code 1
Storing complete log in ./pip-log.txt

Hi, sorry I don't speak Chinese but... is there a fix for this error? I also cannot install on 2.6. Thanks

Sorry, I now realise that this is fixed in the latest version. I wonder if the PyPy package could also be updated to ease automated deployment?
Thanks for a great library

hi,
I've updated the package version to 0.3.8 and uploaded to pypi.
you can easy_install -U it now. :)
I am using PyPy environment too. you can make a developmemt env by:
$ virtualenv -p pypy /path/to/pypyenv --prompt='(pypy)'
then source /path/to/pypyenv/bin/activate.
2011/11/1 Benjamin Sims <
<EMAIL_ADDRESS>
Sorry, I now realise that this is fixed in the latest version. I wonder if
the PyPy package could also be updated to ease automated deployment?
Thanks for a great library
--
Reply to this email directly or view it on GitHub:
https://github.com/andelf/pyqqweibo/issues/3#issuecomment-2581331

@benjaminsims as above~


Update go.mod file for v2

And remove retract directive since we changed major

Maybe we should retract 2.0.0, it won't be useable

[x] Retract v2.0.0
[x] Fix error case where we would send a nil wafObject to ddwaf_run instead of a nil value

/merge


Users blocked by deleted blocklists remain partially blocked

Steps to Reproduce

Make a new moderation list on one account, and add any users
Subscribe to the moderation list, and block the list on a second account
Delete the moderation list
Attempt to view a user that was previously on the blocklist's profile

Attachments

What platform(s) does this occur on?
iOS
Device Info
IPhone 14 Pro, IOS version 18.0.1
What version of the app are you using?
Version <IP_ADDRESS>2
Additional Information
Unsure if this happens with manually deleted moderation lists or only ones that were removed by moderation, but this has effected me as one of the lists i subscribed to was used to target queer individuals, and ended up getting deleted at some point, leaving me stuck with this issue.

Thanks for reporting this, please see #6467 for more discussion of this issue.

A variant of this problem: If someone subscribes to a moderation list, then intentionally deactivates, everyone who subscribed to their lists is "stuck" and cannot unsubscribe from the list. This user includes a screenshot of this happening.
https://bsky.app/profile/romewithadot.com/post/3ldx4ehot722f
This user includes a screenshot of this happening:
https://bsky.app/profile/romewithadot.com/post/3ldxdjjbhf22r


[CONTINT-3750] Create a dedicate group allowed to run the secret backends

What does this PR do?
Create a dedicated secret-manager group allowed to execute the secret-backends shipped in the docker image.
Motivation
The agent and the cluster-agent are checking the permissions of a secret backend before invoking it.
By default, it enforces that the agent user is also the owner of the file and that the file is executable only by this user.
If secret_backend_command_allow_group_exec_perm is set, which is the case in the agent and cluster agent docker images, then, it allows group to have execution rights on the file.
The secret backends used to belong to root:root, meaning that paranoid users that want to run the agent with a non-root users have to be in the root group in order to use the secret backends.
With this change, it’s not needed anymore.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes
Run the cluster-agent with a non-root user that has 101 as a supplementary group.
Validate that it can decode secrets.

/merge


[main] Upgrade to latest dependencies

release -kvmware
/cc knative-sandbox/eventing-writers
/assign knative-sandbox/eventing-writers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/reconciler-test 2c3291f...84821d2:
  > 84821d2 Retry on context deadline exceeded errors (# 305)
  > d6d7c14 Update actions (# 291)
  > e2e54d1 Update community files (# 298)
  > 1b5d730 upgrade to latest dependencies (# 296)
bumping golang.org/x/term 6a3ed07...03fcf44:
  > 03fcf44 term: add codereview.cfg
  > f766a8b term: enable TestMakeRawState on darwin/arm64
  > 140adaa term: add portability note re: std{in,out} fds
  > 6886f2d all: upgrade x/sys to latest
  > a79de54 go.mod: upgrade to go 1.17
  > c04ba85 term: unify ioctl{Read,Write}Termios definition for aix, linux, solaris & zos
  > f5beecf term: skip TestMakeRawState on GOOS=ios
  > b80969c term: add aix and zos build tags
  > 72f3dc4 term: use existing unix implementation on solaris
  > de623e6 term: use stdin file descriptor in comment
bumping knative.dev/hack a8ef7b6...e178598:
  > e178598 Update community files (# 157)
  > cf8cbc0 Fix the regex used for matching GitHub Actions files (# 156)
bumping golang.org/x/sys fe61309...4e6760a:
  > 4e6760a unix: add SPEED_UNKNOWN
  > 95c6836 unix: add Kernel Connection Multiplexor ioctl helpers
  > dbe011f unix: add Linux Kernel Connection Multiplexor types and constants
  > 96fed51 unix: add can netlink types and constants
  > f242548 unix/linux: update to Go 1.18rc1
  > 0005352 unix: Getwd: ensure returned path is absolute
  > b146bce unix: remove accept on Linux
  > 3681064 unix: implement getitimer(2) and setitimer(2) on Linux
  > 5739886 unix: implement alarm(2) on Linux on all GOARCH except arm* and riscv.
  > 1c1b9b1 unix/linux: update to glibc 2.35, Go 1.17.6
  > 99c3d69 unix: enable sysctl tests on netbsd
  > da31bd3 unix: lock the thread for TestPrctlRetInt
  > 5a964db windows: add Get{Active,Maximum}ProcesorCount
  > a018aaa unix/linux: update to Linux Kernel 5.16
  > 1d35b9e windows/svc: use NtQuerySystemInformation in IsWindowsService
  > 4abf325 unix: add netlink attribute type and policy type constants
  > 4825e8c unix: add WireGuard generic netlink interface constants on Linux
  > 3b038e5 windows: set pipe explicitly inheritable in test for go 1.16
  > 024a26f unix: regenerate generic netlink controller constants
  > 03aa0b5 windows: allocate attribute list with LocalAlloc, not individual items
  > af8b642 unix: use pipe2 syscall in Pipe on NetBSD
  > 798191b unix, plan9: avoid writing to p when Pipe(p) fails
  > 97ca703 cpu: remove the declaration of function darwinSupportsAVX512
  > 94396e4 windows: add ModuleEntry32 type and Module32{First,Next} wrappers
bumping knative.dev/pkg d481724...2fdd5f2:
  > 2fdd5f2 Update actions (# 2449)
  > 76a28b0 set git user name/email prior to merging upstream (# 2448)
  > fe26417 Allow overriding lease name for a reconciler (# 2435)
  > 9b5c411 allow overriding the default grace period of 45 seconds (# 2423)
  > 4c2331f Bump golang.org/x/crypto (# 2444)
  > 708dc1c Update community files (# 2443)
  > 062ca30 upgrade to latest dependencies (# 2433)
  > 4fcbc1b Update actions (# 2434)
  > 80c511a Wait for reconciler/controllers to return prior to exiting the process (# 2437)
bumping knative.dev/eventing cbf1b08...9590bc3:
  > 9590bc3 adding min and max nodes annotation to rekt tests entrypoint (# 6243)
  > 4252411 Increase rekt test timings and reduce concurrency (# 6221)
  > 6fabdd5 Remove a second trigger of the autoscaler (# 6203)
  > 28a968c upgrade to latest dependencies (# 6230)
  > b349443 fixed links to source.md (# 6223)
  > f40fc74 Zero placements for rebalancing (# 6204)
  > 78aae1e Update community files (# 6220)
  > fdaca85 Update actions (# 6218)
  > 7ab1b0e upgrade to latest dependencies (# 6216)
  > f2045b0 upgrade to latest dependencies (# 6212)
  > 6d5c49a Update community files (# 6146)
  > 2b9baf3 Update actions (# 6174)
bumping golang.org/x/crypto 84f3576...8634188:
  > 8634188 acme/autocert: skip renewal tests broken on windows/arm64
  > 1e6e349 crypto/ssh: don't send the last auth failure message if disconnecting
  > f4118a5 acme/autocert: fix races in renewal tests
  > db63837 ssh: accept WSAECONNABORTED in TestClientAuthMaxAuthTriesPublicKey
  > dad3315 acme/autocert: include email in example
  > 2f5cac0 acme, sha3, ssh: fix the typos
  > 65fa2f7 acme: remove support for pre-RFC 8555 ACME spec
  > bba287d ocsp: fix typo
  > 20e1d8d ed25519: drop Go 1.12 compatibility
  > 30dcbda acme: expose Client KID field
  > 198e437 acme/autocert: replace all ACME server stubs with acmetest
  > aa10faf acme/autocert: renew Let's Encrypt certificates likely to get revoked
  > e04a857 ssh/agent: fix TestMalformedRequests
  > 5e0467b acme: in TestFetchCertCancel, do not reply before the cancellation propagates
  > e495a2d cryptobyte: fix parsing of large ASN.1 OIDs
  > 4570a08 internal/wycheproof: skip on builders with flaky network connections
  > 5770296 ssh: don't assume packet plaintext size
  > ae814b3 all: upgrade x/net to latest
  > b4de73f ssh: support RSA SHA-2 (RFC8332) signatures
  > ceb1ce7 ocsp: rewrite tests that rely on SHA1-RSA
  > 089bfa5 acme: implement Client.ListCertAlternates
bumping golang.org/x/net 491a49a...27dd868:
  > 27dd868 http2: improve handling of slow-closing net.Conns
  > 3bcbab3 ipv4: retry ENOBUFS errors in TestPacketConnConcurrentReadWriteUnicast
  > f80d34d ipv4: shut down the PacketConn on failure in TestPacketConnConcurrentReadWriteUnicast
  > cd36cc0 internal/socket: reuse closure in Recv/SendMmsg
  > 2fabfed internal/socket: use unix cmsg functions on zos
  > e204ce3 netutil: in TestLimitListenerSaturation, allow some connections to fail to dial
  > 2ed6ce1 http2: in TestContentEncodingNoSniffing, do not allow the Transport to outlive the serverTester
  > 4395403 go.mod: update imports to current versions
  > 0dd24b2 http2: eliminate arbitrary timeouts in readFrame methods
  > d55c255 ipv4, ipv6, internal/socket: add loong64 support
  > 5cfca57 ipv6: retry ENOBUFS errors in TestPacketConnConcurrentReadWriteUnicast
  > 8b8fc08 ipv6: shut down the PacketConn on failure in TestPacketConnConcurrentReadWriteUnicast
  > 5b0dc2d netutil: make LimitListener tests more robust
  > fe4d628 netutil: streamline and simplify LimitListener tests
  > 4ddde0e http2: fix tipo in comment

Refactoring is needed for eventing tests because of a breaking change in reconciler test: https://github.com/knative-sandbox/reconciler-test/pull/300
Same github action failure in eventing can be found: https://github.com/knative-sandbox/reconciler-test/pull/300

/retest

/retest

/retest

/retest

/approve
/lgtm

/retest


[Marker.io] Email overlaps with submit/please wait button in subscribe section

Steps to reproduce:

go to subscribe section
enter the email
notice the button and text

Actual result: they overlap
Expected result: should not overlap
note: once clicked, "please  wait" button also overlaps with email

Reported by: Vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://proav-stg.webflow.io/news
Issue details: Open in Marker.io
Device typemobileBrowserSafari 17.6Screen Size375 x 812OSiOS 17.6.1Viewport Size375 x 628Pixel Ratio@3x

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


2.2 Beta3 installation error with pip on Linux

From<EMAIL_ADDRESS>on 2013-02-26T16:30:49Z
Spyder Version:  2.2.0beta3
Python Version:  2.7.3
Qt Version:      4.8.1, PyQt4 (API v2) 4.9.1 on Linux
OpenSuSE 12.2
What steps will reproduce the problem?

pip install spyder
or pip install --upgrade spyder 3. What is the expected output? What do you see instead? What I saw was:

error: install_script 'spyder_win_post_install.py' not found in scripts
----------------------------------------
Command /usr/bin/python -c "import setuptools;file='/tmp/pip-build/spyder/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-vJ9Kh4-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build/spyder
Please provide any additional information below
. When I did the --upgrade install it also said it rolled back to the beta2, though it went and installed the beta3 egg info. When I opened Spyder it showed it at beta2. I then uninstalled Spyder and reinstalled with no --upgrade. I got the above error again. Spyder was installed in site-packages and when I look in About it shows as beta3.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1284

From ccordoba12 on 2013-02-27T06:36:43Z
In a few minutes I'll upload a new beta3 tarball which fixes this problem. Thanks for your patience.
Status: Duplicate
Mergedinto: 1158

From ccordoba12 on 2013-02-26T19:32:16Z
You're right, I didn't check with pip. Sorry for the trouble, I'll try to fix it as soon as I can.
Summary: 2.2 Beta3 installation error with pip on Linux  <span class="oldvalue"> (was: Beta3 install error) </span>
Status: Accepted
Labels: MS-v2.2 Cat-Miscelleneous OpSys-Linux

From<EMAIL_ADDRESS>on 2013-02-27T07:18:09Z
I just tried and it worked with no errors. Thanks.


Change Travis config to install the current Node.js LTS version

Resolves problem with Node.js v12
Description

It solves problems with Node.js v12
gyp ERR! build error gyp ERR! stack Error:makefailed with exit code: 2 gyp ERR! stack     at ChildProcess.onExit (/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack     at ChildProcess.emit (events.js:196:13) gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12) gyp ERR! System Darwin 18.5.0 gyp ERR! command "/.nvm/versions/node/v12.0.0/bin/node" "/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! node -v v12.0.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

manually
Travis

Thank you so much for this! I was just creating a PR for this right now!


fix(sdk): update contract artifacts and fix SDK

#632 should be merged first, after which the head of this PR will be switched to main.

Summary by CodeRabbit

New Features

Enhanced entitlement checking mechanism with the introduction of new function requestEntitlementCheckV2.
New data structures to support complex entitlement checks.

Bug Fixes

Corrected a typographical error in the error name for entitlement checks.

Refactor

Replaced legacy data structures with more flexible byte representations.
Updated various contracts to improve interoperability with the solady library.

Chores

Updated dependencies to remove base64 and incorporate solady.

@coderabbitai review

@coderabbitai full review

@coderabbitai full review

@coderabbitai full review


Missing ISO 639 codes for Bamileke

The language system tag 'BML ' (Bamileke) should correspond to the ISO 639 collection code bai and to these individual language codes: bbj, bko, byv, fmp, jgo, nla, nnh, nnz, nwe, xmg, ybb.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 31fa774c-1048-54de-7334-b9e8665f2815
Version Independent ID: 3502af1f-112a-038b-6ee5-1f7f21018586
Content: Language system tags (OpenType 1.8.4) - Typography
Content Source: typographydocs/opentype/otspec184beta/languagetags.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: alib

Ethnologue and Glottolog differ wrt classification of byv: Ethnologue puts it in a sister node of the hierarchy:
Niger-Congo, Atlantic-Congo, Volta-Congo, Benue-Congo, Bantoid, Southern, Wide Grassfields, Narrow Grassfields, Mbam-Nkam, Nun
Not
Niger-Congo, Atlantic-Congo, Volta-Congo, Benue-Congo, Bantoid, Southern, Wide Grassfields, Narrow Grassfields, Mbam-Nkam, Bamileke

Interestingly, Ethnologue lists one of the alternate names as "Bamileke-Medumba".

Changes for 1.8.4.


How to close websocket with specific close code?

I'm probably missing something obvious here, but have been trying to figure this out for hours with no joy, so would be very grateful for a pointer...
In my application I need to close a websocket with a specific code (e.g. 1011) if an error occurs.  However, I can't see how to get access to the "close" function which accepts a code parameter.
Here's the bare bones of what I'm doing:
use Ratchet\Server\IoServer;
use Ratchet\Http\HttpServer;
use Ratchet\WebSocket\WsServer;

$loop = React\EventLoop\Factory::create();
$MyServer= new MyServer($loop);

$webSock = new React\Socket\Server('<IP_ADDRESS>:8010', $loop);
$server = new IoServer(
	new HttpServer(
		new WsServer(
			$MyServer
		)
	),
	$webSock
);
$loop->run();

And:
use Ratchet\MessageComponentInterface;
use Ratchet\ConnectionInterface;

class MyServer implements MessageComponentInterface {
	...
	public function onError(ConnectionInterface $conn, \Exception $e) {
		// ($conn instanceof WsConnection) is FALSE
		$conn->close(1011); // Closes with code 1000
	}
}

Use Ratchet\Http\CloseResponseTrait that provides close method with http status code.

The CloseResponseTrait closes a connection during the HTTP handshake, before a WebSocket connection is handled. One the HTTP connection has been upgraded and the WebSocket connection established, you'll want to use a WebSocket close Frame to initiate a connection shutdown.
@seb303 You're right with the logic you had initially in that you pass 1011 to the close function. The most likely reason you didn't see 1011 in the close is that a close was already initiated with a different code.

@cboden Thanks for your reply.
You are correct: now I am testing it again, I can see the socket is being closed with the code specified (regardless of using the Trait mentioned).  I can't now repeat what I was seeing before, but I think you are right that something must have closing the connection prior to the onError function being called.


Make sure BranchGraphImp calls the GraphListener correctly

Previously BranchGraphImp.graphRebuilt() would call GraphListener.vertexAdded() and GraphListener.edgeAdded() many times rather than calling GraphListener.graphRebuilt() once.
This is now changed to match the expected behavior of BranchGraphImp().graphRebuilt(). GraphListener.graphRebuilt() is call exactly once after the graph has been rebuilt.

The old behavior together with some inconsistent locking in triggered a ConcurrentModificationException. The exception occurred when the branch graph was rendered while being rebuild.

I guess this deserves a new release right?
Fortunately, I did not upload nor announce the previous release...


Feature Request: Autodetect indentation of a file

Vim has a few ways to set the indentation default indentation, like filetype defaults and autocmd ... setlocal lines in vimrc. However, these kinds of settings only work on a whole language level of granularity. I work on different projects that use the same language but have different indentation conventions (tabs vs spaces, 2 vs 4 columns, etc.). Today (when I'm not using a plugin), I have to :setlocal ts=2 sts=2 sw=2 et on many files every time I open vim.
There are plugins that do this automatically (see for example vim-sleuth and DetectIndent). I think having the ability to indent each file correctly would be really useful in Vim itself.
An alternative is to put the indentation configuration directly in the file by hand. I consider this a worse alternative because:

it requires committing my editor configuration into the code, and
this information is already encoded in the file in the sense that you can look at the indentation that already exists and follow that convention.

Besides, I think this is something a computer program should do rather than a human.

I use https://github.com/thinca/vim-localrc , it provides configuration per project.
You can put .local.vimrc into the root directory of the project.
When loading the files under the root directory, .local.vimrc is loaded.
I put project-local configuration like setlocal ts=2 sts=-1 sw=0 et and add .local.vimrc to .git/info/exclude.

There are indeed several such plugins, and you'll find many different approaches there. Unless we can identify some common basic functionality (that's still useful on its own - one such example is the pathogen plugin, whose idea eventually got incorporated into Vim as pack plugins), I think it's best to keep this covered by the various plugins.

The IndentConsistencyCop plugin (by myself) examines the indent of the buffer and analyzes the used indent widths and methods. If there are conflicting ones or if bad combinations of tabs and spaces are found, it alerts you and offers help in locating the offenders.
Indent Finder (vimscript #513) is a Python script and Vim plugin that scans any loaded buffer and configures the appropriate indent settings
yaifa.vim (vimscript #3096) is a port to vimscript of the above
detectindent.vim (https://github.com/ciaranm/detectindent) by Ciaran McCreesh tries to auto-detect the indentation settings
GuessIndent (vimscript #4251) is based on detectindent.vim
indentdetect.vim (https://github.com/ervandew/vimfiles/blob/master/vim/plugin/indentdetect.vim) by Eric Van Dewoestine performs a simple detection and can set defaults based on the filespec
matchindent.vim (vimscript #4066) detects tabs, 2 and 4-space indents and adapts the indent settings accordingly
sleuth.vim (vimscript #4375) by Tim Pope automatically adjusts 'shiftwidth' and 'tabstop' heuristically (via a simplistic sampling that does not check for bad or inconsistent indents) or by looking at other files of the same type
filestyle (vimscript #5065) highlights tabs when 'expandtab' is set, trailing spaces, and lines longer than 'textwidth', but doesn't actually check conformance to indent
ShowSpaces (vimscript #5148) highlights spaces inside indentation, per buffer / filetype.
Indent Detector (vimscript #5195) run when a file is opened or written, has warnings about mixed tab / space indent, and can adapt Vim's corresponding options automatically.

Also, I second @tyru's alternative approach of using a local vimrc plugin. (You could still combine that with some of the plugins listed here to verify that opened files indeed adhere to those local settings.)

@tyru Thanks for the .git/info/exclude tip. I didn't know about that. Regarding vim-localrc, I would personally use a cross-editor alternative like EditorConfig.
This is a pretty good setup for manual configuring indentation (and other things), but I would still like to pursue an automatic option.


CloneWithScopes in ApiResource does not clone DisplayName

IdentityServer4/src/IdentityServer4/Models/ApiResource.cs contains method CloneWithScopes that is used when Grants for current users are shown.
For some reason this method does not clone DisplayName and because of it Grants list contains only names, not descriptive DisplayNames

I can fix that. Was it causing you a problem?

fixed.


add get bundle api for a given topic-name

Motivation
When broker is serving large number of topics, sometimes we may want to unload specific topics for multiple reasons. and that topic belongs to namespace which has N bundles and we want to unload specific namespace-bundle. Therefore, we want to know which namespace-bundle contains that topic so, we can unload specific namespace bundle.
Modifications
add api to get namespace bundle for a topic.
Result
No functional change, but now admin-user can find out namespace-bundle for a specific topic.

What about having an unload-topic API handler? That would make it easier then first figuring out the bundle and then unloading the bundle.
Also, if you just care about a specific topic, you might want to unload it alone, rather than whole bundle.

What about having an unload-topic API handler?

Yes, that can be useful. But we see need of bundle-range api in multiple cases

we know specific topic having high traffic and we want to know bundle of that topic so, we can split. right now, we don't have any direct tool to find out bundle-range for the topic.
as explained above, sometime we have list of topics with high traffic, so, we want to get list of bundles and based on analysis we want to unload specific bundle.

retest this please


Web Component: onError callback not called for cardholder name field when submit is called

Describe the bug
onError callback not called for cardholder name field when submit is called.
To Reproduce
Steps to reproduce the behavior:

mount component with the following configuration:
card: {      hasHolderName: true,      holderNameRequired: true    },
Fill in all fields apart from card holder
Trigger submission via component submit() method and log onError function.

Expected behavior
Field should be marked as invalid AND onError method should be called
Actual behavior
Field is shown as invalid but onError method is not called. (It is called for the other CC fields)
Desktop:

OS: Windows 10
Browser Chrome
Version  87.0.4280.141

Hi @TweededBadger,
Thanks for opening this issue, we will create an internal ticket to align the card holder name field validation with the rest of fields of the card component.
In the meantime, the onChange event could be a good fit for your use case. It includes the isValid property for every change on the component. More information can be found on the Adyen Web documentation.

Hi @TweededBadger,
Thanks for opening this issue, we will create an internal ticket to align the card holder name field validation with the rest of fields of the card component.
In the meantime, the onChange event could be a good fit for your use case. It includes the isValid property for every change on the component. More information can be found on the Adyen Web documentation.

Hi @TweededBadger
From components v4.4.0 - we have aligned how errors are communicated. When a validation error from Secured Fields occurs, we call the onChange event sending it an object with an errors property. Also present in this object are any non-Secured Fields validation errors i.e. for the cardholder name field

As @sponglord explained, this can now be achieved by using the onChange event. We'll keep the onError event only for application errors. I'll close the issue. Hope this helped and feel free to reopen this issue if there are still further questions, thanks!


Ack on error with manual ack

See #292
Not sure it's the best solution to just add checking for isAnyManualCommits, maybe there are other better options.

Thank you for update, @neetkee !
Would you mind taking a look why tests are failing:
org.springframework.kafka.annotation.EnableKafkaIntegrationTests > testReplyingListener FAILED

    org.junit.ComparisonFailure at EnableKafkaIntegrationTests.java:389

org.springframework.kafka.annotation.EnableKafkaIntegrationTests > testReplyingBatchListenerWithErrorHandler FAILED

    java.lang.AssertionError at EnableKafkaIntegrationTests.java:445

org.springframework.kafka.annotation.EnableKafkaIntegrationTests > testMultiReplyTo FAILED

    org.junit.ComparisonFailure at EnableKafkaIntegrationTests.java:469

?
Have you rebased to the latest master BTW?

Merged it with master to my branch. Should I needed to rebase it? It just already was in remote.

No, no merge. Just rebase. Your commits in this branch must be on top of master's.

That is already our responsibility to merge into master after approval PR.
OK, having green build I'm merging your work.
Thank you!

Merged as https://github.com/spring-projects/spring-kafka/commit/52928de4da449724e6e3ef2492a0b7afd5612ca7 and cherry-picked as https://github.com/spring-projects/spring-kafka/commit/4126fa8eff11af274e3cd42a852a37369fd73a9d

Thank you for the contribution, BTW, Artem!
Looking forward for more!


add docute

Docute is a documentation site generator.

Sorry but StaticGen is about Static Website generator (for website, blog, documentation, whatever). But Docute is not a generator, it does not convert markdown to html. Else it a javascript script dynamically interpreting markdown and rendering it in the browser from client side. So docute is not a staticgen.


Redesign the spawner to Uhuru screen

[x] Rebrand the whole thing to Uhuru

[x] Add "Do you want to run the decentralized Uhuru machine on your own machine?" opens popover with:

You can also try out the beta Uhuru experience on your own device by running this command:

Install Docker
Run your own Uhuru environment inside a Docker:

docker run -ti --sysctl net.ipv6.conf.all.disable_ipv6=0 -e "USER_ID={{USERNAME}}" -e "DIGITALTWIN_APPID=digitaltwin-local.jimbertesting.be" -e "ENVIRONMENT=staging" --cap-add=NET_ADMIN --device=/dev/net/tun:/dev/net/tun  -p 443:443 threefoldjimber/digitaltwin:latest

Browse to https://{{username}}.digitaltwin-local.jimbertesting.be
Replace {{USERNAME}} with your own name.

A tester has commented that the instructions for self deployment are confusing. Reviewing here, it looks the issue with {{username}} getting filtered out was not actually resolved.
Currently at beta.uhuru.me:

Username still missing.

Is fixed but we need to wait until this issue is finished: https://github.com/threefoldtech/twin_aydo/issues/617


feat: show RSS memory usage and percentage of using it by heap used

Please describe the changes this PR makes and why it should be merged:
Show RSS memory usage and heapUsed separated to know the state of memory more correctly with percentage.
Status

[x] Code changes have been tested.

Semantic versioning classification:

[ ] This PR includes new feature, methods or parameters

[x] This PR includes breaking changes (feature, methods, parameters removed or renamed)

[ ] This PR only includes non-code(typo, documentation etc.) changes

Looks like other commits for #10 is mixed. Please clean up.

Also looks like its not Breaking change

I'll reopen when #10 is closed


[go_route] how dynamically hide or show any tab while using the bottom navigation StatefulShellRoute

I am using the go_router: ^14.2.3 library in my app.
The app has a login screen and a main screen with bottom navigation tabs. Let’s say there are three tabs: Section A, Section B, and Section C.
I’ve implemented my StatefulShellRoute following the go_router documentation. You can take a look at the implementation here https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/others/custom_stateful_shell_route.dart
After logging in, I need to show 2 or 3 tabs
How can I dynamically hide Section C from Section A?

@VictorJava
Your question is better suited for support channels like StackOverflow, so please ask the same there.
Closing from here, as this is more of a code assistance issue rather than a bug report or feature request.


[FancyZones] Hotkeys for custom layouts - Community Feedback Needed

Community Feedback Needed
Hey there!
We'd like to get your feedback on re-implementing the Hotkey feature back into FancyZones. Please fill out this 3-mins feedback form if you'd like to help make an impact.
Summary of the new feature/enhancement
Changing between layouts on a screen takes a long time through the editor (1-5 secs). Being able to assign Hotkeys to layouts to quickly swap between layouts without going through the editor would minimize this delay.
Related issues
#518, #2480, #1411, #1997, #2406, #177, #1440
Proposed technical implementation details
Option 1

Setup

Assign hotkeys for single custom layouts when creating or editing them

Usage

Gain focus of a display (through window or mouse hover)
Quickly change layouts on any display by pressing the assigned hotkey

Option 2

Setup

Save layouts across multiple monitors as a preset
Assign a hotkey to the preset

Usage

Quickly apply the preset layouts by pressing the assigned hotkey

Note
Both options could eventually exist. We're only asking which one is a higher priority for you currently.

Also suggested something similar in bug #2846
https://github.com/microsoft/PowerToys/issues/2846


Add example date/time formatting for the Wagtail admin settings

Adding this doc for us backwards Americans :)
In Django 4.2, this required USE_L10N=False. In Django 5.0, this setting was removed and the behavior was permanently set to USE_L10N=True. Hence it is become a lot more complicated. See the Django bug: https://code.djangoproject.com/ticket/35306
Thanks to @FlipperPA

It's ugly, but that's what is required to make it happen these days. And while I'm personally in favor of both 24-hour time format and ISO-8601, I'm aware many U.S. clients might not be quite so progressive. 😄

Thanks @vsalvino!


Govee Plugin failing to load after HomeBridge update

What issue do you have? Please be as thorough and explicit as possible.
Error logs on Homebridge boot up stating the Govee plugin cannot be loaded, it does partially work after this error, I am able to control a Govee immersion TV backlight over that uses WiFi but two H5075 thermometers fail to update.
I only realised after updating Homebridge but honestly, I am not sure when they stopped updating their data. They still show in Homebridge and the logs show the temperature and humidity are reported but the temperature and humidity are really out of date and don't change or match what is shown on the H5075 screens
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?
homebridge-config-ui-x v4.50.2

Which version of Homebridge/HOOBS do you have?
v4.50.2

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Raspbian GNU/Linux Bullseye (11)
Node.js Version | v18.12.1

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?
Tested on homebridge-govee v7.3.0 and v7.2.1 beta 6

Which Govee devices do you have that are causing issues? Please include product models if applicable.
H5075 Thermometers

Please paste any relevant logs below.

[01/12/2022, 17:21:32] Got SIGTERM, shutting down Homebridge...
[01/12/2022, 17:21:37] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[01/12/2022, 17:21:42] [HB Supervisor] Restarting Homebridge...
[01/12/2022, 17:21:42] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[01/12/2022, 17:21:42] [HB Supervisor] Started Homebridge v1.6.0 with PID: 5218
[01/12/2022, 17:21:43] Loaded config.json with 1 accessories and 4 platforms.
[01/12/2022, 17:21:43] Loaded 5 cached accessories from cachedAccessories.
[01/12/2022, 17:21:43] ---
[01/12/2022, 17:21:44] Loaded plugin<EMAIL_ADDRESS>[01/12/2022, 17:21:44] Registering platform 'homebridge-govee.Govee'
[01/12/2022, 17:21:44] ---
[01/12/2022, 17:21:44] Loaded plugin<EMAIL_ADDRESS>[01/12/2022, 17:21:44] Registering accessory 'homebridge-pihole.Pihole'
[01/12/2022, 17:21:44] ---
[01/12/2022, 17:21:45] ====================
[01/12/2022, 17:21:45] ERROR LOADING PLUGIN homebridge-plugin-govee:
[01/12/2022, 17:21:45] Error: The module<EMAIL_ADDRESS>was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1243:18)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Function.Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/var/lib/homebridge/node_modules/homebridge-plugin-govee/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js:6:15)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Function.Module._load (node:internal/modules/cjs/loader:878:12)
[01/12/2022, 17:21:45] ====================
[01/12/2022, 17:21:47] Loaded plugin<EMAIL_ADDRESS>[01/12/2022, 17:21:47] Registering platform 'homebridge-ring.Ring'
[01/12/2022, 17:21:47] ---
[01/12/2022, 17:21:47] Loading 4 platforms...
[01/12/2022, 17:21:47] [Ring] Initializing Ring platform...
[01/12/2022, 17:21:47] [Govee] Initializing Govee platform...
[01/12/2022, 17:21:47] [Govee] Initialising plugin v7.3.0 | System linux | Node v18.12.1 | HB v1.6.0 | HAPNodeJS v0.11.0...
[01/12/2022, 17:21:47] No plugin was found for the platform "GoveeHomebridgePlugin" in your config.json. Please make sure the corresponding plugin is installed correctly.
[01/12/2022, 17:21:47] Loading 1 accessories...
[01/12/2022, 17:21:47] [Pihole] Initializing Pihole accessory...
[01/12/2022, 17:21:47] [Ring] Configuring cached accessory -removed-
[01/12/2022, 17:21:47] [Ring] Configuring cached accessory  -removed-
[01/12/2022, 17:21:47] [Govee] Plugin initialised. Setting up accessories....
Setup Payload:
X-HM:// -removed-
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐

    └────────────┘

[01/12/2022, 17:21:47] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge 76ED) is running on port 51025.
[01/12/2022, 17:21:48] [Ring] Found the following locations:
[01/12/2022, 17:21:48] [Ring]   locationId: -removed-
[01/12/2022, 17:21:48] [Ring]   locationId: -removed-
[01/12/2022, 17:21:49] [Ring] Configuring 1 cameras and 1 devices for location "-removed-" - locationId: -removed-
[01/12/2022, 17:21:49] [Ring] Hidden accessory -removed- lpd_v2 Front Door
[01/12/2022, 17:21:49] [Ring] Configuring 1 cameras and 2 devices for location "-removed-" - locationId: -removed-
[01/12/2022, 17:21:49] [Govee] [LAN] client enabled and found 0 device(s).
[01/12/2022, 17:21:49] [Govee] [HTTP] client enabled and found 4 device(s).
[01/12/2022, 17:21:49] [Govee] [AWS] client enabled.
[01/12/2022, 17:21:51] [Govee] [API] client enabled and found 1 device(s).
[01/12/2022, 17:21:51] [Govee] [BLE] disabling client as ERR_DLOPEN_FAILED.
[01/12/2022, 17:21:51] [Govee] [Kitchen] initialising with options {"lowBattThreshold":20}.
[01/12/2022, 17:21:51] [Govee] [Kitchen] initialised with id [ -removed-] [H5075].
[01/12/2022, 17:21:51] [Govee] [Office thermometer] initialising with options {"lowBattThreshold":20}.
[01/12/2022, 17:21:51] [Govee] [Office thermometer] initialised with id [ -removed-] [H5075].
[01/12/2022, 17:21:51] [Govee] [Tv back lights] initialising with options {"adaptiveLightingShift":0,"aws":"enabled","ble":"disabled","brightnessStep":1,"colourSafeMode":false,"lan":"unsupported"}.
[01/12/2022, 17:21:51] [Govee] [Tv back lights] initialised with id [ -removed-] [H6199].
[01/12/2022, 17:21:51] [Govee] [Living room tv lights] cannot be initialised as BLE packages are not available.
[01/12/2022, 17:21:51] [Govee] [BLE] sync for thermo-hygrometer sensors disabled as required hardware/packages not available.
[01/12/2022, 17:21:52] [Govee] [Kitchen] has been reported [offline].
[01/12/2022, 17:21:52] [Govee] [Kitchen] current humidity [63.6%].
[01/12/2022, 17:21:52] [Govee] [Office thermometer] has been reported [offline].
[01/12/2022, 17:21:52] [Govee] [Office thermometer] current humidity [52.9%].
[01/12/2022, 17:21:52] [Govee] [Tv back lights] has been reported [online].
[01/12/2022, 17:21:53] [Govee] ✓ Setup complete. Interested in sponsoring this plugin? https://github.com/sponsors/bwp91
[01/12/2022, 17:25:44] [Govee] [Tv back lights] current state [on].
[01/12/2022, 17:25:46] [Homebridge UI] [admin] Accessory layout changes saved.

This error is being caused by a different plugin - homebridge-plugin-govee.
[01/12/2022, 17:21:45] ERROR LOADING PLUGIN homebridge-plugin-govee:
[01/12/2022, 17:21:45] Error: The module<EMAIL_ADDRESS>was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

You first need to uninstall this plugin.
Then we can look at getting the bluetooth working again once this is cleaned up


Feat/pm/event search

resolves https://github.com/Informasjonsforvaltning/fdk-search-service/issues/52

blir løst av https://github.com/Informasjonsforvaltning/fdk-search-service/pull/55


Update IP assignment guidance

Add a WARNING that users who run the test own the responsibility of not leaking test traffic to internet.
Add <IP_ADDRESS>/10, a non-globally routable CGN range, which usually is used inside service providers. https://www.iana.org/go/rfc6598.
Correct the name of <IP_ADDRESS>/15 to Device Benchmark Testing (RFC 2544).
Removed other "arbitrary" IP ranages, we'd like to deprecate them from the tests.
Update IP check script accordingly.

Formatting:

Simplify the wording in the IP Addresses Assignment section.

Pull Request Functional Test Report for #2733 / b14c031a167dd8623fda8a0f587f72f47b9c2f7c
No tests identified for validation.
Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1736

Relevant Lines:
3272

💛  - Coveralls