api/conversions: fix converting of nil complex numbers

It will help on #1031

Yeah, I'm also curious how a complex var has a nil Value, I suspect the actual issue lies somewhere else. @shevchenkodenis do you have any code that can repro this? Didn't see anything in the issue you created.

I think I know how this happens, if a variable with a complex variable escapes it's replaced by a pointer, that pointer can have a 0 value if it's out of scope. If we get to a point where we try to evaluate it anyway (because of incomplete .debug_info, corrupted memory or whatever), because of the autodereferencing of escaped variables, we get a complex variable with address 0, which won't have childrens.
I'm ok with patching it like this.


CheckExistence for resource groups should return bool

func (client GroupsClient) CheckExistence(resourceGroupName string) (result autorest.Response, err error)
This function should return a boolean value wheter the resource group exists or not.

Howdy @radu-matei,
Thanks for all of your interest lately! We appreciate all of the feedback. This one is particularly interesting, because it really exemplifies an idiosyncrasy of our project's architecture. Forgive me for articulating any of this that you already know, I mostly want to write it out for anybody who stumbles upon this issue. The Azure service teams write markup descriptions of their services which can be found at Azure/azure-rest-api-specs, those specs get picked up by a tool written by our colleagues named Autorest. We write a generator for Autorest which allows for output in Go. At the moment, all of the ARM packages are a product of this auto-generation.
This particular issue highlights something that gets lost in translation a bit. For a Go programmer, it makes sense to return a bool. For the web service, it makes sense to return a 204 or a 404. You can see in the Swagger that this is exactly what they do: Resource Group Check Existence Swagger. This ties our hands a little bit. From the generator's perspective, this would mean that we must either pass through the response verbatim, and lose some idiosyncrasy but maintain clear integrity of conforming to all Swagger documents, or detect that the only responses are a 204 or a 404 and generate different code for that situation. For the moment, we're not convinced that it's a strong enough convention to assume that all services would want this behavior. So we've chosen to leave this as is.
Luckily, it should be pretty easy to write a convenience function for yourself if this bothers you!
func checkExistence(response autorest.Response) (result bool, err error) {
    switch response.StatusCode {
    case 204:
        result = true
    case 404:
        // Intentionally Left Blank
    default:
        err = fmt.Errorf("Unexpected Status Code: %d", response.StatusCode)
    }
    return
}

Ok, I understand.
Thanks!


feat(channel): allow public_channel_factory to create a category

This commit would allow the following construct to work:
async def foo(msg: Message):
    new_category = await msg.ctx.guild.create_channel('Dummy Category', ChannelTypes.CATEGORY)

fixed in #173


Fix patch crash

Libgit2 documents that content isn’t NUL-terminated, so we can’t
call strlen on it. If we do, we’ll probably crash.

This fixes a crash we saw in Atom. The crashlog would look like this:
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000125f72000

...

Thread 14 Crashed:
0   libsystem_c.dylib             	0x00007fff863db188 strlen + 72
1   nodegit.node                  	0x00000001164ef072 createFromRaw(git_patch*) + 525
2   nodegit.node                  	0x00000001165b7069 GitPatch::ConvenientFromDiffWorker::Execute() + 153
3   libnode.dylib                 	0x0000000110c4c48e 0x110b08000 + 1328270
4   libnode.dylib                 	0x0000000110c4c68b 0x110b08000 + 1328779
5   libnode.dylib                 	0x0000000110c57189 0x110b08000 + 1372553
6   libsystem_pthread.dylib       	0x00007fff968e9c13 _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff968e9b90 _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff968e7375 thread_start + 13

This is ready :pray:

@implausible could you also :eyes: this?

This looks good to me :+1:. I don't even know how I got to this solution anymore. So huge thanks to Josh for fixing yet another one of my errors. :heart:

@joshaber took a quick walk. I think I understand where I got this wrong now. The no new line flag only matters for the last hunk in the diff. I assumed it was required for every line of every hunk. This is wrong. Thanks again!

Ah, I see. Thanks for clarifying @implausible!


devex: CLI common library

Our CLI was something that evolved fairly quickly to prove concepts and get going forward fast. This is fine for an initial implementation, but we're soon finding ourselves repeating ourselves fairly frequently and having inconsistent code.
Let's start coming up with an internal CLI library so we have a consistent experience with the API.
Features:

Common parameter handling.
Common and re-usable object outputs.

framework or printing YAML, JSON, tables without much boilerplate.

Auto-generation of CLI sub-commands for given objects (At least basic CRUD operations).

Superseded by the CLI-epic


Merge main into dev/socket

Can we please merge it with rebase, to keep the history straight?

Can we please merge it with rebase, to keep the history straight?

Sure, the git commits of main branch will be kept.


Sponsors

The first sponsors for the footer. Don’t merge until we’ve decided to show sponsors on the site.

LGTM


fix for issue 69, missing downloadUrl property from file upload response on iOS

Fix for issue #69

I've never seen more than one, so not sure.  I know android always has just the URL as the downloadUrl property, but in the metadata it will show an array for downloadUrls.

JS documentation shows:
// Upload completed successfully, now we can get the download URL
var downloadURL = uploadTask.snapshot.downloadURL;


Could not find linearInterpolation function in Phaser.Math

if typing the bellow code:
game.math.linearInterpolation([1,2,3,4,5], 0.1);

the typescript throws error:
error TS2339: Property 'linearInterpolation' does not exist on type 'Math'.

linearInterpolation is a static function of Phaser.Math, so it does not exists on a specific instance (game.math in your case). You just need to change it to;
Phaser.Math.linearInterpolation([1,2,3,4,5], 0.1);
and that should work.


fs: Convert NFFS partition to a generic one

The NFFS partition at the end of flash is also useful for any other
file system or even the Flash Circular Buffer (FCB). Rename the
partition from 'nffs_partition' to 'storage_partition' and make it
depend on a new hidden Kconfig entry which the relevant users will
select (such as NFFS and FCB).
Signed-off-by: Johan Hedberg<EMAIL_ADDRESS>

I'm also welcoming feedback on the naming of the partition. Is "storage" appropriate? Some dts files make references to "application usage", so app_partition might be another option.

Codecov Report

Merging #7195 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7195   +/-   ##
=======================================
  Coverage   55.02%   55.02%
=======================================
  Files         477      477
  Lines       51749    51749
  Branches     9951     9951
=======================================
  Hits        28477    28477
  Misses      19306    19306
  Partials     3966     3966

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 341b427...27aacb5. Read the comment docs.

recheck

@jhedberg Looks good. Could you build MCUboot with this PR enabled to make sure it doesn't affect it?

Pending MCUboot check

@carlescufi seems to build fine (also, "git grep" doesn't find any references to FLASH_AREA_NFFS_* in the mcuboot source tree)

Do we need to change tests that expect CONFIG_FILE_SYSTEM_NFFS to run?

@lpereira actually you were right about this. There were tests that were explicitly defining FLASH_AREA_NFFS_* values instead of those coming from dts. I've fixed this now in the PR (so hopefully the tests will pass).


How to show the image in ionic 2?

bring the images well but I do not know how to show it. I'm doing a kind of custom camera screen and I want to show the last img of the device. Similar to facebook messenger

<img scr="cdvphotolibrary://your-image">

Or I didn't get you?


fix attempt to subtract with overflow error which was causing bizarre errors

After calling the set_panic_hook function which was unused for some reason in Universe::new, i found out that the errors were caused by the attempt to subtract with overflow error.

this commit is dead im closing it


Add signP256 cheatcode

Follow up to https://github.com/foundry-rs/foundry/pull/6797, adds function definition for signP256 to Vm.sol

@mds1

@DaniPopes I'm looking at https://github.com/foundry-rs/foundry/pull/6785 and it aded a new group called Base64. Feels like overkill for that to have it's own group. What do you think about removing that group and moving the base64 cheats to the Utilities group?

Does it make sense to leave the byes64 issue to a separate PR?

Replaced by https://github.com/foundry-rs/forge-std/pull/497


Typing fix

Adjusted the repository to use List and Tuple from typing instead of regular list and tuple as specified in Issue #2.
I ran the tests and the only issue happens with python test_matrix.py. It would appear that there are tuples that differ but the difference seems to be quite insignificant (several hundreds of digits after period in many cases). The errors go as follows:
(cqgui) jalovisko@home ~/dev/cqMore/tests $ python test_matrix.py
...F...F..F
======================================================================
FAIL: test_rotation (__main__.TestMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_matrix.py", line 110, in test_rotation
    self.assertTupleEqual(expected, rotated)
AssertionError: Tuples differ: ((0.5773502691896258, 0.5773502691896258, 0.5773502691896258[193 chars]422)) != ((0.5773502691896257, 0.5773502691896258, 0.5773502691896258[190 chars]421))

First differing element 0:
(0.5773502691896258, 0.5773502691896258, 0.5773502691896258)
(0.5773502691896257, 0.5773502691896258, 0.5773502691896258)

Diff is 944 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_scaling (__main__.TestMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_matrix.py", line 59, in test_scaling
    self.assertTupleEqual(expected, scaled_points)
AssertionError: Tuples differ: ((2.0[123 chars]660254037844385, 6.123233995736766e-17), (0, 0, -1), (0, 0, 1)) != ((2.0[123 chars]660254037844384, 6.123233995736766e-17), (0, 0, -1), (0, 0, 1))

First differing element 2:
(-1.0000000000000009, -0.8660254037844385, 6.123233995736766e-17)
(-1.0000000000000009, -0.8660254037844384, 6.123233995736766e-17)

  ((2.0, 0.0, 6.123233995736766e-17),
   (-0.9999999999999996, 0.8660254037844387, 6.123233995736766e-17),
-  (-1.0000000000000009, -0.8660254037844385, 6.123233995736766e-17),
?                                          ^

+  (-1.0000000000000009, -0.8660254037844384, 6.123233995736766e-17),
?                                          ^

   (0, 0, -1),
   (0, 0, 1))

======================================================================
FAIL: test_translation (__main__.TestMatrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_matrix.py", line 69, in test_translation
    self.assertTupleEqual(expected, translated)
AssertionError: Tuples differ: ((3.5[467 chars]922195, -0.8660254037844385), (3.0, -0.5000000[2755 chars], 1)) != ((3.5[467 chars]9221946, -0.8660254037844385), (3.0, -0.500000[2757 chars], 1))

First differing element 8:
(2.7499999999999996, -0.4330127018922195, -0.8660254037844385)
(2.7499999999999996, -0.43301270189221946, -0.8660254037844385)

Diff is 4211 characters long. Set self.maxDiff to None to see it.

----------------------------------------------------------------------
Ran 11 tests in 0.006s

FAILED (failures=3)

cqMore is based on Python 3.9.


[5.2] Always add APP_KEY to .env file when using key:generate

If the APP_KEY value is not set in the .env file, php artisan key:generate fails silently. This ensures that this value is set by the command if it the APP_KEY key is not already present in the file.
#12384 fixed this issue previously, but the logic added by that PR no longer exists.

I think this has come up before but I'm curious how people are getting .env files without a APP_KEY variable? It is included by default in the .env.example which is copied over to .env during installation. I think I would prefer to just keep things simple at this time by assuming it is present.
Thanks!

This has come up before - see #12384.
I agree that having an .env file without an APP_KEY variable defined is an edge case but currently php artisan key:generate displays Application key [...] set successfully. whenever the file can be read & written to, regardless of if the APP_KEY value was successfully written or not. Given the lack of error handling here, the current implementation seems incorrect to me.


parameterized for functional librosa compatibility test

We'd like to use parameterized for the functional librosa compatibility test here. This will make it easier to know which option is failing.
cc comment

Feel free to point out if there's already an issue covering this :)


try windows without removing ripgrep

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

References:

as noted in https://github.com/conda-forge/ripgrep-feedstock/issues/19
testing https://github.com/conda-forge/ripgrep-feedstock/pull/21

@conda-forge-admin please rerender

With:
+ ripgrep                                     13.0.0  h7f3b576_2          conda-forge/win-64       2MB

Traceback (most recent call last):
  File "C:\Miniforge\Scripts\conda-mambabuild-script.py", line 9, in <module>
    sys.exit(main())
  File "C:\Miniforge\lib\site-packages\boa\cli\mambabuild.py", line 256, in main
    call_conda_build(action, config)
  File "C:\Miniforge\lib\site-packages\boa\cli\mambabuild.py", line 228, in call_conda_build
    result = api.build(
  File "C:\Miniforge\lib\site-packages\conda_build\api.py", line 253, in build
    return build_tree(
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 3799, in build_tree
    packages_from_this = build(
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 2875, in build
    newly_built_packages = bundlers[pkg_type](output_d, m, env, stats)
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 2017, in bundle_conda
    output["checksums"] = create_info_files(
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 1553, in create_info_files
    files_with_prefix = get_files_with_prefix(m, replacements, files, prefix)
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 1171, in get_files_with_prefix
    pfx_matches = have_regex_files(
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 653, in have_regex_files
    match_records_rg = regex_files_rg(
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 385, in regex_files_rg
    raise e
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 377, in regex_files_rg
    subprocess.check_output(args, shell=False).rstrip(b"\n").split(b"\n")
  File "C:\Miniforge\lib\subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "C:\Miniforge\lib\subprocess.py", line 503, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Miniforge\lib\subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Miniforge\lib\subprocess.py", line 1456, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 206] The filename or extension is too long

Oops, still pulling _2... will retry in a bit...

continue on #2


Group table by status type

Currently the table listing all the dependencies lists the dependencencies in alphabetical order based on the package name. This is fine for small diffs, but for large diffs it becomes harder to see which packages got removed/downgraded etc., at a glance.
It could be an option in the workflow step to first group the packages by status then alphabetically sort them within those groups in the table, i.e shown in the table as:

Added (a-z)
Updated (a-z)
Downgraded (a-z)
Removed (a-z)

Thank you! 🎉❤


epub creation error

Hello,
Can you please help me on this error:
Thanks,
Mahmoud
make epub
asciidoctor --backend=epub3 --require=asciidoctor-epub3  --destination-dir=_build --out-file=book.epub master.adoc; \
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:196:in rescue in try_activate': undefined method activate' for nil:NilClass (NoMethodError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:193:in try_activate' 	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:125:in rescue in require'
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:39:in require' 	from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/options.rb:276:in block in parse!'
from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/options.rb:274:in each' 	from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/options.rb:274:in parse!'
from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/options.rb:34:in parse!' 	from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/invoker.rb:24:in initialize'
from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/bin/asciidoctor:13:in new' 	from /Library/Ruby/Gems/2.3.0/gems/asciidoctor-2.0.10/bin/asciidoctor:13:in <top (required)>'
from /usr/local/bin/asciidoctor:22:in load' 	from /usr/local/bin/asciidoctor:22:in '
make: *** [_build/book.epub] Error 1
This is my master.adoc
$ cat master.adoc
:author: Mahmoud Parsian
:author_2: Ph.D. in Computer Science
:revnumber: 1.0
//:revdate: July 4, 2019
//:revremark: First draft
:email<EMAIL_ADDRESS>:copyright: Mahmoud Parsian 1.0
:doctype: book
:doctitle: PySpark Algorithms
:producer: Mahmoud Parsian
:creator: Mahmoud Parsian
:description: PySpark Algorithms in Action
:keywords: Spark, PySpark, MapReduce, Asciidoctor, samples, e-book, EPUB3, MOBI
//:front-cover-image: images/pyspark_algorithms.pdf
//:front-cover-image: images/pyspark_algorithms2.pdf
:front-cover-image: images/pyspark_algorithms2.jpg
//:title-logo-image: image:logo.png[Logo,100,100]
:title-logo-image: image:logo_001.png[Logo,300,300]
:lang: en
:toc: left
:toclevels: 2
//:sectnumlevels: 3
:sectnumlevels: 5
:numbered:
:icons: font
:icon-set: fi
:imagesdir: {docdir}/images
:source-language: python
:source-highlighter: pygments
:pygments-style: manni
:codedir: {docdir}/code
:datadir: {docdir}/data
:experimental:
:stem: latexmath
//:stem:
:hide-uri-scheme:
:chapter-label: Chapter
:appendix-caption: Appendix
:plantuml-config: {docdir}/_conf/umlconfig.txt
//:font_size: 10
ifdef::backend-html5[]
:data-uri:
:mathematical-format: svg
:mathematical-ppi: 300
endif::[]
ifdef::backend-pdf[]
// shows the actual URL
// :media: prepress
// hide the actual URL
// :media: print
:pdf-stylesdir: _resources/pdfstyles
:pdf-style: default
:mathematical-format: png
endif::[]
ifdef::backend-epub3[]
:imagesdir: images
:epub3-stylesdir: _resources/epubstyles
:ebook-validate:
:mathematical-format: svg
:mathematical-ppi: 300
endif::[]
ifdef::ebook-format-kf8[]
// Settings for Kindle
endif::[]
////
Do not use ":pygments-css: class" in the block above, as this blocks
the generation and/or display of highlighted code in EPUB output.
Also, the ":pygments-style: xcode" is required, since by default the
EPUB generation uses the "bw" style (i.e., black and white.)
////
= {doctitle}
:sectnums!:
include::chapters/colophon.adoc[]
// Abstract and Dedication MUST have a level-0 heading in EPUB and Kindle
// but level-1 in PDF and HTML
//ifndef::backend-epub3[:leveloffset: +1]
include::chapters/dedication.adoc[]
//ifndef::backend-epub3[:leveloffset: -1]
include::chapters/preface.adoc[]
:sectnums:
ifndef::backend-epub3[]
= Part 1: The Basics
[partintro]
This part covers the fundamental concepts of Spark and PySpark.
The following chapters are included:

Chapter 1: Introduction to PySpark
Chapter 2: Hello World in PySpark
Chapter 3: Data Abstractions in PySpark

--
endif::[]
ifndef::backend-epub3[:leveloffset: +1]
include::chapters/chap01.adoc[]
include::chapters/chap02.adoc[]
include::chapters/chap03.adoc[]
ifndef::backend-epub3[:leveloffset: -1]
ifndef::backend-epub3[]
= Part 2: Meet The PySpark: Transformations and Reductions
[partintro]
This part covers the fundamental transformations and reductions in Spark.
The following chapters are included:

Chapter 4: Getting Started with PySpark
Chapter 5: Spark Transformations with PySpark
Chapter 6: Reductions in Spark
Chapter 7: Spark DataFrames

--
endif::[]
ifndef::backend-epub3[:leveloffset: +1]
include::chapters/chap04.adoc[]
include::chapters/chap05.adoc[]
include::chapters/chap06.adoc[]
include::chapters/chap07.adoc[]
ifndef::backend-epub3[:leveloffset: -1]
ifndef::backend-epub3[]
= Part 3: PySpark in High Gear
[partintro]
This is PySpark in High Gear.
This part covers some machine learning algorithms,  and basics of data design patterns.
The following chapters are included:

Chapter 8: Spark Data Sources
Chapter 9: Logistic Regression
Chapter 10: Movie Recommendations
Chapter 11: Graph Algorithms
Chapter 12: Design Patterns

--
endif::[]
ifndef::backend-epub3[:leveloffset: +1]
include::chapters/chap08.adoc[]
include::chapters/chap09.adoc[]
include::chapters/chap10.adoc[]
include::chapters/chap11.adoc[]
include::chapters/chap12.adoc[]
ifndef::backend-epub3[:leveloffset: -1]
include::chapters/epigraph.adoc[]
include::chapters/appendix_A.adoc[]
include::chapters/appendix_B.adoc[]
include::chapters/appendix_QA.adoc[]
include::chapters/bibliography.adoc[]
ifdef::backend-pdf[]
include::chapters/index.adoc[]
endif::[]

This is an EPUB3 converter issue. I'm moving it to that project.


Use categories for community updates

Add category: community-update or similar to community update blog posts
Link to /news/category/<category> in the updates rather than just /news so people can cleanly see past updates

This is completed, forgot to close!


Switch to icon fonts

Replace all svg images with icon font references
Generate icon fonts from svg using something like https://github.com/tancredi/fantasticon

progress: so far so good,
I'm going to suggest we keep the SVG images for some the left hand menu items product logos.
Is this OK?
LHS is original, RHS is refactored:

Normal webfonts are one color per glyph (1) and some of these icons don't work well in one-color.
There are some tricks possible to overlay two or three glyphs with multiple colors, but not sure if that's worth the trouble.
The two icons missing in the screenshot have conversion issues with https://github.com/tancredi/fantasticon (a few of the icons do - I'll look for fixes for the individual glyphs when most of the work is done).
So far the infographic icons seem well suited to using webfonts: in the screenshot the cargo-ship-50 icon suffers a bit of degradation from being one color, but it seems acceptable (in this case we could tweak the source SVG outline a bit to work better).
(1) Multi-color fonts are possible, but from a quick look it looks like Chrome support might be an issue. Happy to dig further, but not sure if this will be good bang-for-buck as we'd still need to look at the tooling for font-creation.

progress: so far so good,
I'm going to suggest we keep the SVG images for some the left hand menu items product logos.
Is this OK?
LHS is original, RHS is refactored:

Normal webfonts are one color per glyph (1) and some of these icons don't work well in one-color.
There are some tricks possible to overlay two or three glyphs with multiple colors, but not sure if that's worth the trouble.
The two icons missing in the screenshot have conversion issues with https://github.com/tancredi/fantasticon (a few of the icons do - I'll look for fixes for the individual glyphs when most of the work is done).
So far the infographic icons seem well suited to using webfonts: in the screenshot the cargo-ship-50 icon suffers a bit of degradation from being one color, but it seems acceptable (in this case we could tweak the source SVG outline a bit to work better).
(1) Multi-color fonts are possible, but from a quick look it looks like Chrome support might be an issue. Happy to dig further, but not sure if this will be good bang-for-buck as we'd still need to look at the tooling for font-creation.

single color fonts are 100%, and we should probably standardize on black, and then change the color using CSS when required

single color fonts are 100%, and we should probably standardize on black, and then change the color using CSS when required


hp-ams: init at 2.8.3

Motivation for this change
Adds support for the HP Agentless Management Service (for HP/HPE ProLiant servers) which interfaces with the iLO Management Processor to collect rich information and SNMP packets from the host OS.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/555

Result of nixpkgs-review pr 129423 at 49281390 run on x86_64-linux 1

2 packages built successfully:

hp-ams
nixos-install-tools

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/os-specific/linux/hp-ams/default.nix:18:3:
   |
18 |   installPhase = ''
   |   ^

This introduces generic code for systemd hardening. A review from @NixOS/systemd will be greatly appreciated.

There already has been another approach on adding certain sandboxing levels/hardening profiles in https://github.com/NixOS/nixpkgs/pull/87661, and I still think we shouldn't ship "sandboxing levels", but do this granular and per service - also to avoid sudden breakages if there's a new sandboxing options and we want to add it to this list.
Please apply that list explicitly to the hp-ams service unit, instead of generalizing it.

Alright, I will do this.

Apologies for the late response. Please move the release notes over to the upcoming release; then this can be merged.

Closing this due to no response from the author in the last year.


"Printing" text

Get header text to "print" like an old school terminal.

Will be using Om to achieve the effect. We want it in the system anyway.


Adds new tutorial link

Blog post about Riot compiler. Contains an example tag that and it's compiler output is examined. Few lines about taking the compiler part of your build process.

Thank you!


[Question] Customizing the Application

Hello I'm trying to modify Veristand Application Menu and I want to display "Operate" Menu.
Could you let me know which command should I use?

or I would like to use  "Deploy" tool below

I tried add "MenuPathCommand.RunMenu.UniqeId" in _allowedCommands but it dose not work.

I'm really appreciated if you help me out how to modify deployment menu.

Hello,
As you've identified, the editor customization example uses CustomApplicationFeatureSet.CanExecuteCommand to hide all commands that have not been explicitly permitted by the _allowedCommands set when the HideEditor preference has been enabled. Given that configuration, the following entries would need to be added to _allowedCommands in order to show the Operate menu and its contents:
VeriStandCommands.OperateMenu.UniqueId,
VeriStandCommands.DeployCommand.UniqueId,
VeriStandCommands.UndeployCommand.UniqueId,
Shell.ProjectCommands.GatewayConnectCommand.UniqueId,
Shell.ProjectCommands.GatewayDisconnectCommand.UniqueId,

Thanks very much for your support.
I tried to add Commands which you mentioned, and It works well.
Can I ask two more questions regarding Custom Application?

Which command should I use to enable "Zoom" function of Veristand.

Can I customize "Window Title and Icon" of Custom Veristand Application as like Splash Screen customization?

thanks very much for your help
Best regard

Hello,
The following command IDs can be added to the same set that was referenced earlier in order to allow Zoom within the product:
DocumentCommands.Zoom.UniqueId,
DocumentCommands.AutoFitZoom.UniqueId,
DocumentCommands.FitToSelectionZoom.UniqueId,
ZoomControl.SelectZoomLevelCommand.UniqueId,

Regarding your second question, that functionality is beyond the current scope of this set of examples.


Provide method for Uri to get correct value host-with-port for Ipv6 host name

I forgot what is it.


Add implicit environment support to pubsub

Coverage remained the same at 100.0% when pulling 96b5925dc3827a3aebd8b6ef70464cb274e4f510 on tseaver:pubsub-implicit_environ into d34a15ed8cefe722233cd183866bcd9eb325439e on GoogleCloudPlatform:master.

Just reviewed from phone. LGTM.
I'm unclear if we need both the Cloud Platform scope and the Pubsub scope (i.e. just one will do).
Maybe not though. There are methods in storage where the storage.full_control is the only scope that will work.

@dhermes the API docs for authorization appear to indicate that either scope would be fine.

In my understanding, the Cloud Platform scope contains all of the scopes. I prefer using only Pubsub scope explicitly rather than using the wildcard.


Feature - view a single watchlist

Is your feature request related to a problem? Please describe.
I would like to be able to view just a single watchlist instead of all of them
Describe the solution you'd like
Upon calling the command, all of the watchlist information of only the specified watchlist is shown.

Issue closed by pull request #53


Add validation of cluster state after replacing with oss cilium in docker e2e test

Issue #, if available:
Description of changes:
We have a validation that checks if the cluster is ready before performing an upgrade. So, it's possible that after replacing EKSA cilium with the OS cilium in the. TestDockerCiliumSkipUpgrade_CLIUpgrade , it can fail with the following error:
2024-02-21T20:43:15.230Z	V0	❌ Validation failed	{"validation": "control plane ready", "error": "1 control plane replicas are unavailable", "remediation": "ensure control plane nodes and pods for cluster release-i-0c0c6-2a90c82 are Ready"}

We should validate that the cluster is in a ready state after replacing EKSA cilium with OSS cilium before continuing with the upgrade because of that.
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve
/lgtm

/cherry-pick release-0.19


compared with django password_reset?

What's the difference with django's contrib auth password_reset and this project?
Seems to be similar features. If there is a difference probably should document what they are and why this should be used vs the django one.

+1

+1


Add dxdiag translations to Spanish

This pull request adds Spanish translations for the dxdiag tool. This tool is used to collect and display information about a computer's system configuration. The translations are provided for all of the text in the tool, including the labels, buttons, and other elements.
The translations were created by a native Spanish speakers.
This pull request is a welcome addition for Spanish-speaking users. It makes the dxdiag tool more accessible and user-friendly for people who do not speak English.

Thank you for your exceptional work, I truly appreciate your contribution.
I will review it thoroughly once I'm back home, but it already looks incredibly valuable. Much appreciated!


[Enhancement/Suggestion] 3 QoL Features to Add

No. 1

Adding Phosphor Fabric / Phosphor Forge (If FML Support is an option) to the compatibility list

No. 2

Backporting to older versions such as 1.16 | (If not it cool I understand)

No. 3

Forge Support meh but would be nice as an option

How should it be accomplished?
I'm not the greatest at this just saying
1. Using Cloth-Config to backport unless YetAnotherConfigLib decides to backport as well.
2. Most Likely don't even bother with FML since you work with Fabric / Quilt
Last Thoughts
Don't even bother with this if it is too stressful.

I thought that Phosphor didn't work with Methane?
I probably could, but would have to backport some features and maintain the code.
I think half of the FabricMC community would actively try to hunt me down if I ported to forge, and I don't have any maintainers helping out with development. I might opt for an architectury rewrite/forge port if this happens.

sorry for the late reply
I thought the compatibility list also included mods that weren't compatible mb
And are far are you able to backport? 1.8 to beta 1.7?
And I can understand the Fabric community lol yea its fine I doubt FML support would be needed unless it is for 1.8

And how far are you able to backport? 1.8 to beta 1.7?

In theory, I could easily backport to 1.8 and beta 1.7.3 thanks to legacy/cursed fabric, and probably all the way into Classic Minecraft if i wanted to decompile and mod the 2010/11 way.

I doubt FML support would be needed unless it is for 1.8

1.8 - 1.19 would probably be the best use-case for a port, and in my experience FML is pretty slow with a large amount of mods, so Methane might help there.

1 - For backporting for fabric how long will that take?
2 - And for Forge implementation, how long will that be? - As well as to back port
(I'm in no rush btw im just curious)

1 - For backporting for fabric how long will that take? 2 - And for Forge implementation, how long will that be? - As well as to back port
(I'm in no rush btw im just curious)

I'm working on a lot of stuff, and I don't really have all the time in the world to work on features, but a fabric backport would probably be easy, and a basic forge port could probably be done in a day (again, if I had the time).

alright let me know when it is done

Methane 2.15 should work fine with Sinytra Connector on forge based on my testing, but I can't really guarantee any support past that.

I don't really see anything else that can be done, especially if I want to maintain some of the newer features I plan to integrate into Methane in the near future, so I'm just gonna close this issue...


Add set timeout method

The use case for this method arised when making many successive calls to ShouldReceiveOnly. The default Timeout of one milisecond was not sufficient as the read deadline, causing packets to be lost. Ultimately, the tests failed in a non-deterministic manner.

Timeout is an exported global variable so you can just set it like this:
udp.Timeout = time.Second


csv_line_items not returned for invoice(s)

If I send the command curl -u <user>:<pass> -XGET -i 'http://MYACCOUNT.harvestapp.com/invoices/10259606' -L -H "Accept: application/json" then I get  csv_line_items back as a field, but this field doesn't seem to be present when I make the same call via harvested, e.g. inv = harvest.invoices.find(10259606).
Is the code for exposing this field incomplete or is there a bug?

@joewarner We ran into this in testing, but realized that the issue is the difference between calling  harvest.invoices and harvest.invoices.find(xxx).  The former does NOT include the csv_line_items details where the latter does include csv_line_items.

Thanks for helping debug @spovich!


Feature Request - Preferred Sort Order

Would it be possible for the CodeNav to save the sorting preference?
At times, opening a file will generate the nav in a strange way and I'll have to set the sort order  every time.

Sort order is now saved in the new release!

Ah, sweet, sweet sorting. Thanks!


Upgrade dependencies, fix kenlm

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Merging


Support dark mode

UCP https://github.com/pingcap-incubator/tidb-dashboard/issues/124

Some implementation details:

Group dark mode style files *.dark.less into different files without importing them explicitly  by webpack entry and specialized loader rules
Dynamically load the dark mode stylesheets by detecting the currently active app and the manifest.json generated by webpack

Unresolved Problems

Not support HMR
In dev mode, Files successfully emitted, waiting for typecheck results... will be displayed after compiling and goes away in a short time. This does not influent the development though.
darkMode global state implementation is buggy.
HighlightSQL is using moize, which is hard to using CustomEvent to update cached elements

HighlightSQL is using moize

The solution can be providing a wrapper over the memorized version that receives context.

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

Keep open.

Dark mode is not our P1 tasks, close for now. It will be picked up again later.


Move StreamObserverFactory to java fn-execution

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

The abstract type can be used by both servers and clients.
Create an interface (not java.util.function.Function) for creating outbound observers from
inbound observers.

Removed create; default -> direct


Unable to call .exe from Azure function that runs as expected through Kudu console

For deployment issues, please provide us with the following information:

Repro steps.

Copied cdr2xhtml.exe and related .dll's to d:\home folder
Logged into Kudu console and executed cdr2xhtml.exe with expected results
Call cdr2xhtml.exe by spawning a System.Diagnostics.Process()
Exit code of -1073741515
Tried several other .exe's including fciv.exe and receive various error exit codes.
The only process that has actually run is spawning a cmd.exe and echoing some text.

Project structures.
https://github.com/nauticalcoder/azure-demo/blob/master/run.csx
The log/error given by the failure.

No exception. Just the exit code from the Process.  There is no standard error or standard output.

Debug your Azure website remotely.

it is recommanded that you share your Web App name, directly or indirectly
Function App - 2019-01-15T20:07:35.676 [Info] Function started (Id=e0b0f915-0093-4a47-a1bb-d84955ae7338) East US

Thanks! We'll be in touch soon.

I have reviewed the article listing restrictions on processes in Azure functions and I don't believe this .exe violates any of them.  Also, the fact that it runs fine in Kudu but as part of my function is perplexing.  Is there something different I can setup to execute an exe on Azure?  I need to do pre-processing on some of the files that are processed by this Azure function.

Still facing same issue for two in my function. my app have 9 function , 7 run perfact while 2 run perfact on kudu console but not as function.

Could you add add to perform File.Exists(@"D:\home.....\Goo..exe") and spew out if FALSE?  This helps us pinpoint further.

Great .. now let wait for it to fail.

Do you have any idea for this issue?

No clue really.  The error simply said file wasn't there.  The new File.Exists trace would help clarify.


Cannot mount volumes into containers launched on Mesos backed Swarm

If a container is launched with Swarm using the Mesos backend, host volumes(-v) do not mount.
The setup is as follows.
CoreOS 1010.5.0
using Docker 1.10.3.
Mesos 0.28.2 with mesos and docker containerizers
Zookeeper 3.5.1-alpha backed data store
Swarm 1.2.3
Everything communicates fine and I am able to launch containers onto Mesos slaves.
$ docker -H swarm.sky.vogt.local:4000 run --cpu-shares 1 -m 1G ubuntu /bin/bash -c "echo Hello World"
Hello World

However if I try to mount a host volume (which is present on every host on the cluster) I get this:
docker -H swarm.sky.vogt.local:4000 run --cpu-shares 1 -m 1G -v /mnt:/mnt ubuntu /bin/bash -c "ls /mnt"
mesos

While on the host I get this:
mesos
store
work

Looking at the container vis docker inspect it looks like something in the mesos driver is overriding the mount:
        "Mounts": [
            {
                "Source": "/var/lib/mesos/slaves/c7434bf0-1b8c-43eb-b626-fcd5689a97c1-S0/frameworks/c7434bf0-1b8c-43eb-b626-fcd5689a97c1-0025/executors/a69a9cdffcc9/runs/f7d333b8-f0bb-4940-8199-d70db9407735",
                "Destination": "/mnt/mesos/sandbox",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],

I apologize if this is a duplicate, but I couldn't find a reference to this behavior anywhere.

@jhart99
Hi Jonathan, did you find a solution for this problem? I have exactly the same problem right now and the alternative to run as privileged is not a viable option (and swarm won't let it anyway).
Luck!

In the end, I gave up on trying to get this to work.  I was able to get this to work several other ways but the particular combination of docker swarm with a mesos backend never worked for me.  I think the issue works like this.  Mesos wants everything to run in a sandbox and external mounts are not allowed.  Swarm would need to communicate a persistent volume resource (with a mount or path) to Mesos in order for this to work I think.
Here are the things I did to get around this. Marathon or Chronos on Mesos can run docker images just fine with external mounts.  Eventually I just migrated to Kubernetes and that is what we are using today.

@jhart99
I did a quick hack to swarm yerterday. If interested aff this to cluster/mesos/task/task.go in the Build function:
	// Handle mounting volumes
	for _, volumebind := range t.config.HostConfig.Binds {
		// Values come as hostpath:containerpath[:mode]
		// example /host/path:/container/path:rw
		bindinfo := strings.Split(volumebind,":")
		hostpath := bindinfo[0]
		containerpath := bindinfo[1]
		bindmode := mesosproto.Volume_RW.Enum()
		if len(bindinfo) > 2 && bindinfo[2]=="ro" {
			bindmode = mesosproto.Volume_RO.Enum()
		}

		t.Container.Volumes = append(t.Container.Volumes, &mesosproto.Volume{
					Mode:      	   bindmode,
					HostPath:      &hostpath,
					ContainerPath: &containerpath,
				})
	}

It allows mounting a folder. In this case my folder is a mounted NFS folder so any data I write is persisted. The folder is mounted in all the nodes in the cluster so I don't care where the job is started it will always save correctly.
I had plenty of problems using swarm on mesos but I have hacked my way through most of them. My swarm allows privileged containers, fractions of cpus, job persistence (i.e. not losing jobs if mesos leaders or swarm master crash) and now volume mounting. All my solutions are around as issues or PRs but they never got accepted for some reason.
The only big problem I have with Swarm on Mesos right now is when it crashes on heavy loads (more then 100 slaves and 1000 jobs) then it might take long to restart.... starts flapping for an hour until it stabilises. But other than that it works ok.

Closing due to no activity and https://github.com/docker/swarm/pull/2853


Reply on email from redmine (with [Rogator IT Support - #381]) not udpate issue and goes to Error folder in mailbox.

If some client send email to our ticketsystem (4.0.1.stable) it makes new issue, all right. Client receive confirmation email with number of Issue. But if he try to reply on this mail with saving subject (number for example [Rogator IT Support - #381]) email dont goes to success folder in mailbox (goes to failed) and issue not updates. In receiver we have this configuration:
rake -f /opt/redmine/Rakefile  redmine:email:receive_imap
RAILS_ENV="production"
host=imap.mnet-online.de
port=993
<EMAIL_ADDRESS>password=***
ssl=SSL
project=software-support
folder=INBOX
move_on_success=INBOX.success
move_on_failure=INBOX.failed
no_permission_check=1
unknown_user=accept
priority=Hoch
So, looks like hepldesk plugin dont see issue number in subject=( I try all settings from REAMDE, but not success(

This is not a support issue tracker. If you need support you can contact our company.


fix: fix the /label command case sensitive problem and optimize reply

Bug Report
Fix the problem found in https://github.com/pingcap/docs-tidb-operator/pull/1134.
CheckedList

[x] solve a series of case sensitive problems
[x] optimize reply, distinguish the three cases where the label does not exist (Notice: may cause the robot’s response to increase)
[x] fix invalidation of multiline /label command (caused by regular expression matching the \r char)

@hi-rustin PTAL~  Most of the changes in the test file are caused by the addition of blank lines. You can focus on the expectedCommentText and new use cases.

Good job! I will take a look tomorrow.

/assign

/merge

@Mini256 Thanks!


Incorrect Protocol Messages Testcases

This ticket is to implement four testcases with our testworld p2p simulation frame work.
Refer testworld/README.md for env setup and a small guide on how to run. testworld/park_test.go is a good starting point for any other tests you define. Copy it and define a file called p2p_connection_test.go for your tests. Refer to #438 and the related PR to see how this can be achieved.

Alice's node sends bytes to a Bob that is not a valid protobuf message but has a valid header
Alice sends bytes to Bob that has invalid headers
Alice calls Bob but Alice is on a different node/protocol version than Bob
Eve's node sends a protobuf that is larger than the max allowed size

This issue has a gitcoin bounty attached to it. If you'd like to start working on it, feel free to reach out to me<EMAIL_ADDRESS>directly, join our slack channel #bounties on our slack.

Can you point me in the right direction regarding what types / methods I could use to complete this issue? I'm a little confused as to how to even send a message between the nodes.

The server side is implemented here: https://github.com/centrifuge/go-centrifuge/blob/develop/p2p/receiver/handler.go#L186 and the client is implemented here: https://github.com/centrifuge/go-centrifuge/blob/develop/p2p/client.go#L216
You'd have to mock the client so you can send a header that specifies an incompatible version. If you follow the client you should see how the header is constructed and how that can be achieved.

@lucasvo thanks for pointing me in the right direction!


~[ZWATCH_S.E.X√NOW!] Jaden Newman Viral Leaked Video 2024 LINK On Social Media X Telegram [Trending√FULL70K]

01 sec ago Jaden Newman Leaked Video Viral On Social Media. ~[ZWATCH_S.E.X√NOW!] Jaden Newman Viral Leaked Video 2024 LINK On Social Media X Telegram [Trending√FULL70K]

Jaden Newman's latest video has taken the internet by storm, becoming a viral hit that has captivated social media users and ignited widespread discussions. This rising digital creator, celebrated for her captivating content, especially her recent Spiderman-themed video, has experienced a notable increase in interest from fans eager to discover where they can view the complete version. Many are flocking to platforms like Instagram, X (formerly Twitter), and Discord to access her work.
As the buzz grows, fans are enthusiastically sharing their thoughts online, demonstrating the immense power of social media in propelling creators like Jaden Newman into the limelight. With her distinctive style and imaginative approach, she has rapidly made a name for herself in the digital realm, leaving many eager to learn about her future projects and content.
[Trending√_S.E.X√NOW!] Jaden Newman Viral Leaked Video 2024[FULL70K]

thank you

FG

vf

FG

vf

FG

vf

cxvxcv

fg

mh

jf

gh

dgh

syfhgsdf
fhj5ruy


A way to properly change the strenght of X-ray radiation

Hello,
I was wondering how could I change the X-ray radiation dose when generating the virtual X-ray images. I see there is a "bone_attenuation_multiplier" variable, but this seem kind of specific to the input data and does not seem to work with the attached chest dataset if I want to increase the dose, such the only the bones would be visible.
I think the proper way to set the X-ray power would be, instead of changing the CT intensity values, to add scaling to the natural exponential in Beer-Lambert law of attenuation. This worked in my case when I was projecting virtual X-ray from volumetric tetrahedral meshes. Take a look at ehlke2013 By doing so, we are also not bound to the intensity values of the CT [-2000 ... 4000+?].
Furthermore, by looking at your code, it seems to me that the DRR is only dependent on the ray length and its weight? From what I understand, there should be a final post-processing step that takes the contribution of each pixel and takes the exp(-a*x) of the contributions, similar as in ehlke2013 .
Let me know what you think and if this would be possible to implement.
Best regards,
Marko Leskovar

Hi @MarkoLeskovar, this is a good idea and something easy to implement.
In DiffDRR, for each ray cast, we model the amount of energy absorbed by the volume, not the attenuated energy of the ray as you're suggesting. That is, the integral we compute is

where

r is the X-ray beam from the source s to the pixel p
I_0 is the initial energy of the ray (I think this is equivalent the dose?), which is implicitly set to 1 in DiffDRR since we don't model it

Does subtracting log I_0 produce the image you expect for your desired dose?

HI @MarkoLeskovar, been digging more into the literature based on your question. It appears the CT Hounsfield units -> LAC density conversion depends on the radiation dose (this paper was particularly illustrative).
Going to try and implement a dose-dependent conversion for DiffDRR v0.4.0.


[Kernel][Expression] - Performance Optimization for LIKE expression evaluation

Which Delta project/connector is this regarding?

[ ] Spark
[ ] Standalone
[ ] Flink
[x] Kernel
[ ] Other (fill in here)

Description
Resolves https://github.com/delta-io/delta/issues/3129
How was this patch tested?
Existing tests validated. This is a performance optimization for LIKE expression evaluation.
Does this PR introduce any user-facing changes?
No

@vkorukanti this is ready for review.

cc @raveeram-db


ionChange event documentation missing on ion-select

https://ionicframework.com/docs/api/components/select/Select/
Output section is missing the documentation of ionChange event.

This issue was moved to ionic-team/ionic-site#1155


XML: omit INITIAL fields

Problem 1: would like to decrease the file sizes
Problem 2: Diffs shows up in abapGit between AS versions, eg.:

Solution: in LCL_XML_OUTOUT method add, create a structure dynamically without the fields that are initial, and move the contents to this structure, after this the CALL TRANSFORMATION id should still work. Note that this will also be backward compatible

RTTS should work in 702, http://help.sap.com/abapdocu_702/en/abenrtti.htm

RTTS works fine in 702.
It would be great to omit the fields with default values. That's a great idea which can have the automatic consequence of removing all those irrelevant diffs appearing between different versions. I hope it works!

yep, fewer diffs and lower file size 😄
Did some testing, see: https://gist.github.com/larshp/205f3be705167451113ae06f97f52c14 it works with RTTS.
However the feature is already built into CALL TRANSFORMATION, so something like the following will do the trick,
  CALL TRANSFORMATION id
    OPTIONS initial_components = 'suppress'
    SOURCE data = ls_usr02
    RESULT XML lv_xml.

Ah that's cool I didn't know that.
Looking forward to see it happening.

code change committed in branch https://github.com/larshp/abapGit/tree/issue478
to be used for testing purposes before creating pull request, there might be some unforeseen issues


Some quick profiling shows for transform setting robot positions:

          Some quick profiling shows for transform setting robot positions:

svg_robot.transform.baseVal[0].setTranslate(x,y) takes ~1.112 us
svg_robot.setAttribute("transform", translate(${x}, ${y})) takes ~1.975 us

Or about 77.61% faster.
Originally posted by @Elucidation in https://github.com/Elucidation/mapf-multiagent-robot-planning/issues/115#issuecomment-1622328561

While this is minor, this call happens for every robot, ie 1000x and around every 20 us.
So we're looking at a savings of (1.975 - 1.112) microseconds = 0.863 microseconds per robot * 1000 robots = 863 microseconds or ~0.9 ms per call. A minor improvement but doesn't hurt anything


Can't override rspec generator templates in latest

Ruby version: 2.6.3
Rails version: 6.0
RSpec version: 4.0.0 beta4
What I did
I added my overriden template file in lib/templates/rspec/scaffold/controller_spec.rb.
What happened
Running the command rails g scaffold MyModel attribute_name:string completly ignores it and use the default generator.
What was expected
I expected the scaffolding to use my rspec generator

My project is using API controller, the right file name should have been api_controller_spec.rb.
Sorry !

I have checked and it is working for me.


Possible error in the code base

In the /backend/app/app/schemas/base_schema.py I found what is likely to be an error in the as_db_dict property of BaseSchema class. In the set literal {"identifier, id"} the correct syntax should probably use two separate strings in the set: {"identifier", "id"}. I did local tests and it seems not to affect the properties end result because the key "identifier" is overwritten anyway in this case. But model_dump() outputs a different result when using two separated string, ie: excluding the key "identifier" from the dumped model.
class BaseSchema(BaseModel):
    @property
    def as_db_dict(self):
        to_db = self.model_dump(
            exclude_defaults=True, exclude_none=True, exclude={"identifier, id"}
        )
        for key in ["id", "identifier"]:
            if key in self.model_dump().keys():
                to_db[key] = self.model_dump()[key].hex
        return to_db

Good catch!  Would you like to submit a PR?

Of course! Tks.

I've submitted a pull request for review: #35

Fixed in #35


Always generate request ids for mixer calls

Mixer-to-mixer reporting PR was causing seg faults when requests were
received with no request IDs. This PR ensures that all mixer requests will
have request IDs.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: ijsnellf
Assign the PR to them by writing /assign @ijsnellf in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm
/approve
This is a bug in upstream envoy, really. The tracer requries request_id or segfaults.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kyessenov
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [kyessenov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
7caf31bb89858776ad93c211fb6f55d1a165e45e
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kyessenov
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [kyessenov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Toggle laggy behaviour

Problem description
I have only one single toggle in my screen, which shows/hide some components.
The transition from on/off seems very laggy. Please refer to the gif below:

Link to minimally-working code that reproduces the issue

Versions

Material-UI: ^0.16.0
React: ^15.3.2
Browser: Chrome 53.0.2785.143

We have been porting the component on the v1-beta branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.
Still, we will accept PR fixes until v1-beta takes over the master branch.


Cannot install addon in stremio

After clicking on the configure link, it is taking to the configure page, but cannot authorize RD or use dirent torrent. While clicking on the install button, it is not installing

similar to #33


openapi-workflow-bot generates bad link to API Specs Comparison Report Generator

For PRs opened in the azure-rest-api-specs repo, the openapi-workflow-bot posts a comment shortly after the PR is opened with various bits of information, among them a link to the "API Specs Comparison Report Generator".  I believe that the intent of this link is to directly load the API Diff for the specific PR.  Here' an example from PR 18169:
[API Specs Comparison Report Generator](https://portal.azure-devex-tools.com/tools/diff?pr=Azure/azure-rest-api-specs/18169)

Unfortunately, navigating to that link opens the page on OpenAPI Hub with an error message "* Mandatory fields for generating the compare report":

It is by design to save your time to input all parameters for api diff, but you have to choose the readme tags/version to be compared  @mikekistler , yes, it may still need to improve like preset some tag, maybe we can do it in integration with API view. @honghr to awareness

Agreed that we need to preset the tag. The pipeline already decides which tags to use for the breaking changes checks, and we should just use the same tags there.

Then I recommend simply removing the bad link.

We'll leave the link as it is not "broken" just hard to use for novices.


Ruby 2.3: Thread.exclusive is deprecated, use Mutex

Thread.exclusive is deprecated, use Mutex
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-contrib-1.4.6/lib/sinatra/reloader.rb:222:in `block in registered'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1610:in `block in compile!'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1014:in `block in process_route'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `catch'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `process_route'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:965:in `block in filter!'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:965:in `each'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:965:in `filter!'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1083:in `block in dispatch!'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/nulllogger.rb:9:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/capybara-2.4.4/lib/capybara/server.rb:19:in `call'
/Users/burg/.rvm/gems/ruby-2.3.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
/Users/burg/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
/Users/burg/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
/Users/burg/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'

:+1: I'm getting this too.

See the same with 'thin' web server.

Cool, is the #184 PR going to get fixed, to pass the tests and merged?

:+1:

In the interim, anyone know which Ruby version can be safely used?

I'll see about doing some triage and bug fix release for contrib asap.

Any chance on getting this issue resolved? These stack traces look rather scary and verbose during local development.

Right now the build is red, so I need to fix that before I can make a stable release.

Thanks for looking into this. Having this stack trace on every request in your app is somewhat... inconvenient. ;)

activerecord-session-store seems to have made a similar change.
Could the same be applied here?

Hi,
I am keep to upgrade to ruby 2.3.0.
Just wondering if there is any update on this issue being resolved?
:smile:

+1

Same issue here on Ruby 2.3.0 and Sinatra 1.4.5

@rkh this is the issue that i mentioned is keeping @gudmundur upset

grr :)

Shipped!
Thanks for your patience :bow: :bow: :bow:

@zzak 👏  👏  👏 !

@zzak Thank you so much!

I'm getting this from old version of Rack. Please update Sinatra to use the latest version soon. Thanks!


Enhancing model caching to automatically reload model when they changed (e.g., on disc)

I would like to enhance model caching to allow to automatically reload models (e.g., from disc) when models changed (e.g., on disc).
Need further analysis to understand how to allow a seamless integration into the (scope provider) logic of different predicates. Possible predicates:

date of file changed
MD5 of file changed
in-memory representation within an editor changed (?)

Also allow to update models.
Example use case / unittest with global repository:

load A,B,C (A is including B and C)
reload A (B,C are cached)
change B on disc
reload A (C is cached, B is reloaded)

Example use case / unittest with global repository:

load A,B,C (A is including B and C) + validate A,B,C
reload A (B,C are cached) + validate A (B,C are not validated because they are cached)
update B with update mechanism + validate B; --> also reload (request reload?) of all model including B

Good idea but not sure where this should fit. Should it be done in the core textX or should we do that in textX-LS? We should definitely have some generic extension mechanism in the model loading/caching process that could be used to implement this. There are many ways we could detect model changes. By pooling date/MD5 as you suggested or by using some platform specific feature like inotify for example.

I had the idea to provide some callback mechanism to hook-in the scope provider logic caching files. This hook could be implemented by textx-ls.
Let's think about it...

If you have ideas, we can collect requirements / use cases here... (for the new mechanism).

I have already started implementing this in textX-LS (not yet completed).
When textX language project is installed in editable mode, file system watcher is registered for its project path. When .tx files are changed extension is regenerated and updated (see this). I need to add watcher for .py files as well, and reload meta-models for already opened documents (no need to update extension, because coloring depends just on grammar keywords).
Thoughts on that approach?

Hm. Not sure.
If we can handle it completely within textX-ls, perfect. Maybe we need support from the textx core api.
Check the use cases above. We should define what should happen when files and included files are modified. When to reload files...
I think at least we need an api call to invalidate cached files...

However, I think we should focus on model files (e.g., .eflow) and not meta model files (.tx, *.py).
The end user wants to use the dsl, not to develop the dsl...

Actually, we have two classes of users, DSL designers and DSL users. We are targeting both with our tools.

Maybe we need a call in textX to properly invalidate cache based on the path that has been changed. In that way we leave to the user of the library (in this case textX-LS) to implement mechanism to detect which file has been changed.


FEATURE REQUEST | Search Custom Data Object

Looking for option to Use Custom data object search where text object is not present in the object.
object{ id: 1, name: "abc", surname: "xyz" }

Duplicate of https://github.com/select2/select2/issues/5095, there are ways to solve this in various places including our docs.


[FLINK-33010][table] GREATEST/LEAST should work with other functions as input

What is the purpose of the change
The issue is that tmpResult could refer to not initialised variable and this fact leads to compiliation issues.
It could be reproduced with GREATEST/LEAST queries when input is a result of other functions like
SELECT GREATEST(IFNULL(1, 2), IFNULL(2, 1));

Brief change log
ScalarOperatorGens.scala assign value to tmpResult after it is already initialised in ${element.code} block
Verifying this change
a test to GreatestLeastFunctionsITCase.java was added
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality g
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): ( no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: ( no)
The runtime per-record code paths (performance sensitive): ( no )
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: ( no )
The S3 file system connector: ( no)

Documentation

Does this pull request introduce a new feature? ( no)
If yes, how is the feature documented? (not applicable )

Thanks for taking a look


OpenStack UUIDs should be in Status

The OpenStack unique identifier of a resource is never set by the user; therefore it should be a status item.
Move ID from spec to status in all resources.

Moved to #16


websockets.server Errno 104

Hi
OS hassbian = 1.23
Home Assistant release = 0.46.1
Python release = 3.4.2
2017-06-12 14:06:46 WARNING (MainThread) [websockets.server] Error in opening handshake
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/deps/websockets/server.py", line 64, in handler
    extra_headers=self.extra_headers)
  File "/home/homeassistant/.homeassistant/deps/websockets/server.py", line 143, in handshake
    path, headers = yield from read_request(self.reader)
  File "/home/homeassistant/.homeassistant/deps/websockets/http.py", line 43, in read_request
    request_line, headers = yield from read_message(stream)
  File "/home/homeassistant/.homeassistant/deps/websockets/http.py", line 83, in read_message
    start_line = yield from read_line(stream)
  File "/home/homeassistant/.homeassistant/deps/websockets/http.py", line 103, in read_line
    line = yield from stream.readline()
  File "/usr/lib/python3.4/asyncio/streams.py", line 418, in readline
    yield from self._waiter
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/asyncio/selector_events.py", line 582, in _read_ready
    data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 104] Connection reset by peer

I constantly see this error in the log .... Home Assistant still runs with no problems as far as i see, but i thought i better report the issue
kind regards
c_bb

having the same issue over and over with 0.48.0
2017-07-11 20:30:18 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=96 from 2017-07-10 08:54:19)
2017-07-11 20:31:30 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.luc3asopenelec fails
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/deps/jsonrpc_websocket/jsonrpc.py", line 42, in send_message
    response = yield from pending_message.wait(self._timeout)
  File "/home/homeassistant/.homeassistant/deps/jsonrpc_websocket/jsonrpc.py", line 118, in wait
    return self._response
  File "/srv/homeassistant/lib/python3.4/site-packages/async_timeout/__init__.py", line 46, in __exit__
    raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 222, in async_update_ha_state
    yield from self.async_update()
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/kodi.py", line 392, in async_update
    ['time', 'totaltime', 'speed', 'live']
  File "/home/homeassistant/.homeassistant/deps/jsonrpc_websocket/jsonrpc.py", line 48, in send_message
    raise TransportError('Transport Error', message, exc)
jsonrpc_base.jsonrpc.TransportError: ("Error calling method 'Player.GetProperties': Transport Error", TimeoutError())
2017-07-12 03:00:26 ERROR (Thread-3) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:00:26 ERROR (Thread-7) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:00:26 ERROR (Thread-4) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:01:06 ERROR (Thread-7) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:01:09 ERROR (Thread-8) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:01:12 ERROR (Thread-4) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:01:30 ERROR (Thread-9) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:01:33 ERROR (Thread-5) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:01:36 ERROR (Thread-8) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:02:00 ERROR (Thread-1) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:02:03 ERROR (Thread-9) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:02:06 ERROR (Thread-5) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:02:30 ERROR (Thread-12) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:02:30 ERROR (Thread-1) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 03:02:30 ERROR (Thread-6) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 08:33:27 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/selector_events.py", line 582, in _read_ready
    data = self._sock.recv(self.max_size)
TimeoutError: [Errno 110] Connection timed out
2017-07-12 09:02:50 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/selector_events.py", line 582, in _read_ready
    data = self._sock.recv(self.max_size)
TimeoutError: [Errno 110] Connection timed out
2017-07-12 10:59:33 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.octaviadlzka is taking over 10 seconds
2017-07-12 10:59:33 ERROR (Thread-7) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 10:59:43 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.octaviasirka is taking over 10 seconds
2017-07-12 10:59:43 ERROR (Thread-10) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 10:59:53 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.octavia_rychlost is taking over 10 seconds
2017-07-12 10:59:53 ERROR (Thread-1) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-07-12 11:21:58 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/selector_events.py", line 582, in _read_ready
    data = self._sock.recv(self.max_size)
TimeoutError: [Errno 110] Connection timed out

I am still experiencing this with high volume in my logs (0.57)
l
ed scan interval 0:00:12
Nov 08 17:03:01 Carlo-Pi hass[13415]: 2017-11-08 17:03:01 ERROR (MainThread) [homeassistant.co
re] Error doing job: Fatal read error on socket transport
Nov 08 17:03:01 Carlo-Pi hass[13415]: Traceback (most recent call last):
Nov 08 17:03:01 Carlo-Pi hass[13415]:   File "/usr/local/lib/python3.6/asyncio/selector_events
.py", line 724, in _read_ready
Nov 08 17:03:01 Carlo-Pi hass[13415]:     data = self._sock.recv(self.max_size)
Nov 08 17:03:01 Carlo-Pi hass[13415]: TimeoutError: [Errno 110] Connection timed out
Nov 08 17:03:07 Carlo-Pi hass[13415]: 2017-11-08 17:03:07 ERROR (MainThread) [homeassistant.co
re] Error doing job: Fatal read error on socket transport
Nov 08 17:03:07 Carlo-Pi hass[13415]: Traceback (most recent call last):
Nov 08 17:03:07 Carlo-Pi hass[13415]:   File "/usr/local/lib/python3.6/asyncio/selector_events
.py", line 724, in _read_ready
Nov 08 17:03:07 Carlo-Pi hass[13415]:     data = self._sock.recv(self.max_size)
Nov 08 17:03:07 Carlo-Pi hass[13415]: TimeoutError: [Errno 110] Connection timed out

I am experiencing this issue as well with Home Assistant 0.58 on Raspbian Stretch with Python 3.6
2017-11-19 19:57:24 WARNING (Thread-5) [pychromecast.socket_client] Heartbeat timeout, resetting connection 2017-11-19 19:58:50 ERROR (Thread-5) [pychromecast.socket_client] Error reading from socket. 2017-11-19 19:58:50 WARNING (Thread-5) [pychromecast.socket_client] Error communicating with socket, resetting connection 2017-11-19 20:00:39 ERROR (Thread-5) [pychromecast.socket_client] Error reading from socket. 2017-11-19 20:00:39 WARNING (Thread-5) [pychromecast.socket_client] Error communicating with socket, resetting connection 2017-11-19 20:02:19 ERROR (Thread-5) [pychromecast.socket_client] Error reading from socket. 2017-11-19 20:02:19 WARNING (Thread-5) [pychromecast.socket_client] Error communicating with socket, resetting connection 2017-11-19 20:05:21 ERROR (Thread-5) [pychromecast.socket_client] Error reading from socket. 2017-11-19 20:05:21 WARNING (Thread-5) [pychromecast.socket_client] Error communicating with socket, resetting connection 2017-11-19 20:05:35 ERROR (Thread-5) [pychromecast.socket_client] Error reading from socket. 2017-11-19 20:05:35 WARNING (Thread-5) [pychromecast.socket_client] Error communicating with socket, resetting connection 2017-11-19 20:08:01 ERROR (Thread-5) [pychromecast.socket_client] Error reading from socket. 2017-11-19 20:08:01 WARNING (Thread-5) [pychromecast.socket_client] Error communicating with socket, resetting connection 2017-11-19 20:11:33 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport Traceback (most recent call last):   File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 724, in _read_ready     data = self._sock.recv(self.max_size) TimeoutError: [Errno 110] Connection timed out 2017-11-19 20:11:41 ERROR (Thread-5) [pychromecast.socket_client] Error reading from socket. 2017-11-19 20:11:41 WARNING (Thread-5) [pychromecast.socket_client] Error communicating with socket, resetting connection 2017-11-19 20:13:31 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport Traceback (most recent call last):   File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 724, in _read_ready     data = self._sock.recv(self.max_size) TimeoutError: [Errno 110] Connection timed out


How to train a model with case information

Hi,
I want to train the corpus with case information (not converting to lowercase).
I can't find any options in the  build/glove for this.
I can see there is a pretrained model available at this link with cased information.
Common Crawl (840B tokens, 2.2M vocab, cased, 300d vectors, 2.03 GB download): glove.840B.300d.zi
Please help me in training a cased model.
Thanks,
sriram

give your corpus input where each token separated by a space, it works regardless of case type of words.


Devices not showing as connected in map

Problem/Motivation
I only have a few zwave devices connected but two of them - a socket and extender are not showing as connected but the socket is working (the extender is for the socket). I have tried a network heal but that didn't change the map.

Expected behavior
All devices shown as connected.
Actual behavior
Two not shown connected
Steps to reproduce
Local to my installation.
Proposed changes
N/A

Still no change with the latest version.
zwavejs2mqtt: 6.4.1
zwave-js: 8.11.1
home id:<PHONE_NUMBER>
home hex: 0xc19a0be6

Still no change with
zwavejs2mqtt: 6.5.2
zwave-js: 8.11.6

Reopen


Minor commit to keep website active for FOSDEM 2022

Need to commit to existing site by 31st Dec to keep website active for FOSDEM 2022

I use this site support my android mobile phone


mimeytpes

gee this works nicely.
I made a folder and uploaded a PDF, then viewed it. It did not work and loaded the pdf up in a text editor.
Maybe its better to have the view work in 2 stages ?

show the file based on the mimeytpe. so you can see the image or pdf.
then if they user wants they can show an editor for that file.

It may be a possibility to have the ability to view images and pdfs in the future, but not in the immediate future.

Ah I did not realise that was intended.
No worries. Will close this then


bug fix to number of vehicles

It seems that vehicles are sometimes removed twice during reset. The number of vehicles in the list is not affected though, so calculating the length now instead of decrementing the values.
resolves #387

Pull Request Test Coverage Report for Build 2854

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.823%

Totals

Change from base Build 2845:
0.0%

Covered Lines:
7406

Relevant Lines:
8530

💛  - Coveralls

LGTM. Nice PR


BigQuery Load Job: Authentication Object Not Passed Through .createLoadJobs Properly

Environment details

OS: Windows 10
Node.js version: 8.9.4
npm version: 5.8.0
@google-cloud/bigquery version: 2.0.6

Steps to reproduce

Edit service account to have the following permissions:

BigQuery Admin
Project Owner
Custom Role that includes every single BigQuery permission

Download service account, point Google towards said service account through a .env file (and dotenv package), Run the following example code from Google tutorial:

require('dotenv').config();
const {BigQuery} = require('@google-cloud/bigquery');
const bigquery = new BigQuery();
const dataset = bigquery.dataset('dataset-name');
const table = dataset.table('table-name');

const callback = (err, job, apiResponse) => {
  // `job` is a Job object that can be used to check the status of the
  // request.
  console.log(err);
  console.log(apiResponse);
};

table.createLoadJob('./data.csv', callback);

BigQuery web browser for Job history shows Jobs have completed successfully, but data does not go to table. Skimming through apiResponse, I can see it is pointing towards my dataset and table as expected.
apiResponse gives a self-link, which points towards a page that lists the following error object:
{
  "error": {
    "code": 401,
    "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
    "errors": [
      {
        "message": "Login Required.",
        "domain": "global",
        "reason": "required",
        "location": "Authorization",
        "locationType": "header"
      }
    ],
    "status": "UNAUTHENTICATED"
  }
}

Another important thing to note is that with the same credentials, I am able to use other parts of the BigQuery helper library with no issue. In the same file, I am querying another table inside of the same dataset successfully.
It seems that something with the helper library is not passing the authentication token correctly for table.createLoadJob jobs. That, or I am missing something painfully obvious.

Just confirming we will have the same set up, what is in the .env file with regards to the configuration of this library?

For sure. The .env file is just the google creds, exactly as below other than the specifics in the path.
GOOGLE_APPLICATION_CREDENTIALS='C:/path/to/project/client_secret.json'

Thanks! That self-link can't be accessed directly without authentication. You can use the Google API explorer to access the details of that job with authentication: https://developers.google.com/apis-explorer/#search/bigquery job get/m/bigquery/v2/bigquery.jobs.get
Or, our API can do the same:
job.getMetadata((err, metadata) => {})

But, the data not going to the table isn't good. How are you verifying?

Verifying if the data is sent to the table? I am using the front-end and doing a SELECT * query on the table and looking at table details > Number of rows.
I followed the link you provided and plugged in some values from the jobs. This does give more information than the self-link, but nothing that gives any indication of a reason for error. (I can create a scrubbed version of this response if you find it will be useful, but most of the information here is intuitive enough for me to make a reasonable assumption that it would not be helpful.)
You mentioned ensuring a similar .env file for replication test purposes. Were you able to follow my replication steps but insert into the table as expected?

Yes, it has worked for me. I've written a test gist. Would you mind giving it a run? https://gist.github.com/stephenplusplus/66844bf76a78b455633e1f86c0b4b7e1


Documentation of Contributing.md

Can you please assign me this issue "Documentation of CONTRIUTING.md"? @beRajeevKumar @J-B-Mugundh @himanshu-sheetlani @KiranBaliga @priyaahm

@ark0078 I am not the owner of the repo. Please tag @beRajeevKumar

already tagged


Hash verification failing in 2.2.1

FYI...verifyHash is now failing in 2.2.1

What I mean by failing is that the receipt hash is not equaling the generated hash.  It worked in 2.1.2...now not.

@chrisvanbuskirk thanks for letting me know. Just pushed a fix.


No CSS for general definition (dl,dt,dd) tags

See https://www.w3schools.com/tags/tag_dl.asp
This means, for example, sphinx API documentation looks rubbish, because there is no delineation between components, e.g.

RTD theme: https://ipypublish.readthedocs.io/en/latest/api/ipypublish.convert.main.html
book theme: https://markdown-it-py.readthedocs.io/en/latest/api/markdown_it.main.html

agree we should definitely add rules for these. Ideally this would be at the pydata-sphinx-theme level but I think we can get them here faster and then upstream later


[AVM Module Issue]: output logs from deployment-script

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/resources/deployment-script
(Optional) Module Version
No response
Description
I'd like to see the logs of the deployment-script. This can be done like this:
resource deploymentScript 'Microsoft.Resources/deploymentScripts@2023-08-01' = {
...
  resource logs 'logs' existing = {
    name: 'default'
  }
}

@description('The script output of each image import.')
output deploymentScriptOutput string[] = split(deploymentScript::logs.properties.log, '\n')

(Optional) Correlation Id
No response

Thanks for the quick implementation @sebassem 🙏🏻


Slef-Hosted LLM?

Hi,
Will it be possible to use self-hosted LLM like Llama, CodeT5, etc. in the future?
Thanks

Thanks @Tverous, the current should be able to support that.
You can add a model class at models.py, give it a name, and pass the name to the --model flag. GPT could be a good example of this.
Depending on the prompt structure of your model, you may need to overwrite prompt generation functions. Using the same GPT example, it overwrites a plain text prompt (used by Vertex AI) with a JSON structured one.
If your self-hosted LLM needs an alternative way to access, you can encapsulate that in a binary/script, and use the --ai-binary flag. For example, a binary/script that sends the prompt to an API and passes the response to OSS-Fuzz-Gen.

Please feel free to reopen this if my method above does not work for your case : )


How to use nested_objects attribution

Hi Guys,
I have a hostname fields in the nested objects, here is the data sample:
{
"localtime" => 2013-08-16T19:26:36.471Z,
"level" => "ERROR",
"logger" => "com.tst.Bar",
"throwable" => "java.lang.tst:error message",
"thread" => "main",
"message" => "Message flushed with immediate flush=true",
"@timestamp" => 2017-04-18T09:54:35.393Z,
"@version" => "1",
"contextMap" => {
"APP_BUILD_VERSION" => "111-39",
"HOSTNAME" => "<IP_ADDRESS>"
}
}
when I configure nested_objects is true, then I got the below error message:
Error! Exception while fetching hosts : [parsing_exception] Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested], with { line=1 & col=36 }
Here is the logtrail conf:
{
"index_patterns" : [
{
"es": {
"default_index": "logstash-*",
"allow_url_parameter": false
},
"tail_interval_in_seconds": 10,
"es_index_time_offset_in_seconds": 0,
"display_timezone": "local",
"display_timestamp_format": "YYYY-MM-DD HH:mm:ss",
"max_buckets": 500,
"nested_objects" : true,
"default_time_range_in_days" : 3,
"max_hosts": 1000,
"max_events_to_keep_in_viewer": 5000,
"fields" : {
"mapping" : {
"timestamp" : "@timestamp",
"display_timestamp" : "localtime",
"hostname" : "contextMap.HOSTNAME",
"program": "level",
"message": "throwable"
},
"message_format": "{{throwable}}"
}
}
]
}
How can I fix this issue?
Thank you.

@lynch0227 Can you paste the complete error log from Kibana console?

I've got the same issue, but nothing appeared in the Kibana console output

I got also the same error after enabling the nested Object to be able to read the hostname coming from the different beats - below the error log from Kibana
Error while fetching hosts { [parsing_exception] Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested], with { line=1 & col=36 } :: {"path":"/cbk-/_search","query":{},"body":"{"size":0,"aggs":{"nested":{"path":"beat"},"aggs":{"hosts":{"terms":{"field":"beat.hostname.keyword","size":100}}}}}","statusCode":400,"response":"{"error":{"root_cause":[{"type":"parsing_exception","reason":"Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested]","line":1,"col":36}],"type":"parsing_exception","reason":"Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested]","line":1,"col":36},"status":400}"}
at respond (/opt/kibana-5.3.0-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:289:15)
at checkRespForFailure (/opt/kibana-5.3.0-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:248:7)
at HttpConnector. (/opt/kibana-5.3.0-linux-x86_64/node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
at IncomingMessage.wrapper (/opt/kibana-5.3.0-linux-x86_64/node_modules/elasticsearch/node_modules/lodash/lodash.js:4968:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)
status: 400,
displayName: 'BadRequest',
message: '[parsing_exception] Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested], with { line=1 & col=36 }',
path: '/cbk-/_search',
query: {},
body:
{ error:
{ root_cause: [Object],
type: 'parsing_exception',
reason: 'Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested]',
line: 1,
col: 36 },
status: 400 },
statusCode: 400,
response: '{"error":{"root_cause":[{"type":"parsing_exception","reason":"Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested]","line":1,"col":36}],"type":"parsing_exception","reason":"Expected [START_OBJECT] under [path], but got a [VALUE_STRING] in [nested]","line":1,"col":36},"status":400}',
toString: [Function],
toJSON: [Function] }

Fixed in 0.1.12 release . Download the latest release ( supported in Elastic 5.4.0) https://github.com/sivasamyk/logtrail/releases/download/0.1.12/logtrail-5.4.0-0.1.12.zip

This still happens in 5.3.2 version. What was the fix?

Is there any fix for this that does not require Elasticsearch 5.4.x? We are currently using AWS Elasticsearch which constrains us to 5.3.

@dileepfrog You can try using https://github.com/sivasamyk/logtrail/releases/download/v0.1.17/logtrail-5.4.3-0.1.17-145.zip. Unzip the file and update kibana.version to 5.3.0 or as required in package.json and zip it back. As part of fix for #145 I have removed nested_object attribute from logtrail.json. Hope this helps.


Upgrade react to 16.3.0

Codecov Report

Merging #125 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #125   +/-   ##
=====================================
  Coverage      25%    25%
=====================================
  Files          13     13
  Lines         184    184
  Branches       35     35
=====================================
  Hits           46     46
  Misses        107    107
  Partials       31     31

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 d94932b...5fa5472. Read the comment docs.