logstash 1.5.4 is shipped with 'logstash-input-lumberjack 1.0.4'. blocker

logstash 1.5.4 is shipped with 'logstash-input-lumberjack 1.0.4'. 1.0.4 is blocker. need 1.0.5 soon.  #45

Thanks for letting us know!
As a workaround, you should be able to upgrade the lumberjack input with bin/plugin update logstash-input-lumberjack

@ph let's make sure 1.0.5 is included with the next release (1.5.5)

@nxhack thx for finding this, I've released a 1.0.5.
bin/plugin update logstash-input-lumbjerjack

@ph update 1.0.5 , work fine. thank you!

@nxhack thanks for so quickly getting us feedback on the new release! :heart:

Hi,
I'm trying to update/install this 1.0.5 version to my logstash 1.5.4 instance but am getting blocked no matter what I try:
So far I've tried:
Updating the Plugin:

C:\Applications\Elastic\logstash-1.5.4\bin>plugin update logstash-input-lumberjack
io/console not supported; tty will not be manipulated
ERROR: Updated Aborted, message: Connection refused - Connection refused

Updating the Plugin from a local download:

C:\Applications\Elastic\logstash-1.5.4\bin>plugin update >c:\Downloads\ElasticProducts\Plugins\logstash-input-lumberjack\logstash-input-lumberjack->master.zip
io/console not supported; tty will not be manipulated
ERROR: Updated Aborted, message: Plugin c:\Downloads\ElasticProducts\Plugins\logstash-input->lumberjack\logstash-input-lumberjack-master.zip is not installed so it cannot be updated, aborting

Installing the Plugin:

C:\Applications\Elastic\logstash-1.5.4\bin>plugin install logstash-input-lumberjack
io/console not supported; tty will not be manipulated
Validating logstash-input-lumberjack
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection >refused - Connection refused (https://api.rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-input-lumberjack

Installing the Plugin from a local Download without Verifying:

C:\Applications\Elastic\logstash-1.5.4\bin>plugin install --no-verify >c:\Downloads\ElasticProducts\Plugins\logstash-input-lumberjack\logstash-input-lumberjack->master.zip
io/console not supported; tty will not be manipulated
Installing c:\Downloads\ElasticProducts\Plugins\logstash-input-lumberjack\logstash-input->lumberjack-master.zip
Error Bundler::HTTPError, retrying 1/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 2/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 3/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 4/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 5/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 6/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 7/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 8/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 9/10
Could not fetch specs from https://rubygems.org/
Error Bundler::HTTPError, retrying 10/10
Could not fetch specs from https://rubygems.org/
Too many retries, aborting, caused by Bundler::HTTPError
ERROR: Installation Aborted, message: Could not fetch specs from https://rubygems.org/

As you can see from the above, nothing much is working for me at the moment :(
If anyone can let me know what the problem might be that would be very much appreciated.
Apologies in advance if this is a dumb question - I'm still relatively new to Logstash...
Regards,
Steve

@stevedearl The repository master.zip is the source, not the gem, so you need to download the gem: https://rubygems.org/gems/logstash-input-lumberjack
Hopefully the local install method will then work when you pass it the gem file :+1:

Hi @driskell,
Thanks for the quick response. Unfortunately I'd tried that already, as I saw a similar answer to another plugin install thread. It didn't work for me but I didn't document it in my above post as I assumed I'd done something daft!!
Here's what I get when trying to install from the gem file:

C:\Applications\Elastic\logstash-1.5.4\bin>plugin install >c:\Downloads\ElasticProducts\Plugins\logstash-input-lumberjack\logstash-input-lumberjack->1.0.5.gem
io/console not supported; tty will not be manipulated
Validating c:\Downloads\ElasticProducts\Plugins\logstash-input-lumberjack\logstash-input->lumberjack-1.0.5.gem
Installing logstash-input-lumberjack
Error Bundler::GemspecError, retrying 1/10
There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec:
No such file or directory - git from
C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec' Error Bundler::GemspecError, retrying 2/10 There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec: No such file or directory - git from  C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec'
Error Bundler::GemspecError, retrying 3/10
There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec:
No such file or directory - git from
C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec' Error Bundler::GemspecError, retrying 4/10 There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec: No such file or directory - git from  C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec'
Error Bundler::GemspecError, retrying 5/10
There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec:
No such file or directory - git from
C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec' Error Bundler::GemspecError, retrying 6/10 There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec: No such file or directory - git from  C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec'
Error Bundler::GemspecError, retrying 7/10
There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec:
No such file or directory - git from
C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec' Error Bundler::GemspecError, retrying 8/10 There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec: No such file or directory - git from  C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec'
Error Bundler::GemspecError, retrying 9/10
There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec:
No such file or directory - git from
C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec' Error Bundler::GemspecError, retrying 10/10 There was a Errno::ENOENT while loading logstash-input-lumberjack.gemspec: No such file or directory - git from  C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in eval_gemspec'
Too many retries, aborting, caused by Bundler::GemspecError
ERROR: Installation Aborted, message: There was a Errno::ENOENT while loading logstash-input->lumberjack.gemspec:
No such file or directory - git from
C:/Applications/Elastic/logstash-1.5.4/vendor/local_gems/659b65cd/logstash-input-lumberjack->1.0.5/logstash-input-lumberjack.gemspec:14:in `eval_gemspec'

From the errors, it seems to be the directory/path from C:/Applications/Elastic/logstash-1.5.4/vendor which is a problem. I don't have this path or the subdirectories on my machine...?
Any advice appreciated...!
Regards,
Steve

Sorry,
Just re-checked and the /vendor path is being created correctly (which I guess means the GEM file is being unpacked etc.).
There is also a logstash-input-lumberjack.gemspec file present within the directory - see screenshot attached so I'm still not sure why I'm getting this error ....

Cheers,
Steve

It mentions No such file or directory - git. Maybe it is trying to locate git. Do you have it installed? Not sure how it works on Windows to be fair. Someone else may be able to shed more light but it looks like it may be looking for git.

Hi @driskell,
I suspect you're right - line 14 of the gemspec file is:

s.files = git ls-files.split($)+::Dir.glob('vendor/*')

Unfortunately I'm not git-aware enough to know what the solution is for Windows.....time to hit the internet again... :(
Thanks for the help anyway,
Steve

Bummer, we have to remove all this git from our gemspec.
Do you have some kind of firewall? bin/plugin update should work on windows?

Hi @ph,
I'm in the office so am behind a firewall/proxy. Definitely doesn't work:

C:\Applications\Elastic\logstash-1.5.4\bin>plugin update logstash-input-lumberjack
io/console not supported; tty will not be manipulated
ERROR: Updated Aborted, message: Connection refused - Connection refused

For ElasticSearch plugins (Marvel, BigDesk) I've had to download them locally to get them to install, so I thought it would be the same with this Logstash plugin.
Is there a particular url/address that I'd need to get my IT security team to allow access to to get the standard 'plugin update ....' command to work correctly?
Cheers,
Steve

Hi All,
Looks like the problem I've hit is already known about:
https://github.com/elastic/logstash/issues/3117
Cheers,
Steve


Any plan about the IDE's syntax highlighting support ?

Pebble is robust, but write the template code without syntax highlighting is a little painful.
Is there any plan to add the IDE's syntax highlighting?
By the way, I'm using the IntelliJ IDEA.

+1
It's an old idea of mine. Will be a fantastic tool. I can help here but I know nothing about the plugins system from IDEA. I can start looking at an open source plugin built for another template engine (freeamrker, velocity, jade, ...) and I will try to create something minimalist in first step. My problem is that I don't have time.

Yup, a syntax highlighting tool is something I've wanted since the beginning. Unfortunately, I also have no knowledge about creating IDE plugins and time is also not on my side. The plan so far has been to cross my fingers and hope that someone out there will be crazy enough to take on that responsibility.

:smile: I've installed the twig plugin for IntelliJ just now, and works fine with pebble template.

I can confirm that you have some syntax highlights with twig plugin for IDEA.
My intention was to build something more powerful and customize for Pebble but I think that using twig plugin is a good compromise.
All you need to do is to add the custom extension (.peb) so IDEA can recognize template files.
Steps:

Install twig plugin
Go to File -> Settings -> Editor -> File Types
Find Twig, it's identical template engine but for PHP and add custom extension. click green plus and type *.peb. Now all *.peb files are parsed as Twig so in the end - support Pebble.

+1 for Atom

I was using Twig Plugin for IntelliJ and it highlights perfectly but for most recent version of IDE it is not available :/

I just changed the extension from html to html.twig and installed Twig extension (Eclipse & Netbeans) and work perfectly 👍

We changed the suffix to .twig as well and installed the plugin http://twig.dubture.com/installation/ for eclipse. Works okay.

If anyone in interested in IntelliJ IDEA support specifically, please make a separate issue.
If there will be high amount of votes I might look into it.

Hi guys!
I wanted to let you know that I published a new IntelliJ plugin that supports Pebble: https://plugins.jetbrains.com/idea/plugin/9407-pebble
Feedback is highly welcome, v0.2 is on the way (https://github.com/bjansen/pebble-intellij/milestone/2).

 Thanks!


Unsure how to debug "unexpected end of JSON input, stop watching"

I'm unsure of how to track down what's causing:
Jan 27 22:22:55.464: WARN PID:1 [supervisor.go:350] No frontends found
Jan 27 22:27:55.464: ERROR PID:1 [etcd.go:417] unexpected error: unexpected end of JSON input, stop watching

Is this the etcd watch closing after no activity? Or do I actually have invalid data in my etcd keys? Here they are:
$ etcdctl ls /vulcand --recursive
/vulcand/backends
/vulcand/backends/robszumski
/vulcand/backends/robszumski/backend
/vulcand/backends/robszumski/servers
/vulcand/backends/robszumski/servers/robszumski1
/vulcand/frontends
/vulcand/frontends/robszumski
/vulcand/frontends/robszumski/frontend

$ etcdctl get /vulcand/backends/robszumski/backend
{"Type":"http"}

$ etcdctl get /vulcand/backends/robszumski/servers/robszumski1
{"URL":"http://httpbin.org/status/200"}

$ etcdctl get /vulcand/frontends/robszumski/frontend
{"Type":"http","BackendId":"robszumski","Route":"Path(`/`)"}

That's strange. I've just repeated your setup with no problem:
etcdctl set /vulcand/backends/robszumski/backend '{"Type":"http"}'
etcdctl set /vulcand/backends/robszumski/servers/robszumski1 '{"URL":"http://httpbin.org/status/200"}'
etcdctl set /vulcand/frontends/robszumski/frontend '{"Type":"http","BackendId":"robszumski","Route":"Path(`/`)"}'

What version are you on?

I was running v0.8.0-alpha.3. I'll try again with the latest beta.
I think this might be due to the etcd watch being closed after 1000 events (etcd snapshot size).

Vulcand automatically reloads itself when encountering these errors, so that should not be an issue. What I fund confusing is:
Jan 27 22:22:55.464: WARN PID:1 [supervisor.go:350] No frontends found

That means that Vulcand can not find any frontends in the config, what should not be the case

That log line might have been written before I issued my etcd requests, so we probably don't need to worry about that. I assumed the json error was my formatting since I happened to be debugging my etcd code (which think it was working fine) but that error was throwing me off. Ideally that's not printed in the log if its not a big deal.

ah, got it. I can make it an info, as it does not really affect anything at all

:+1:  for making it INFO - my logs are full of these!
I recall etcd introduced a 5min timeout for clients some time back, which corresponds with the timestamps I'm seeing.


GET /fourhour/buy/weak

Return H1 > 30% BUY

/buy Return H4 > 30% BUY
/sell Return H4 > 30% SELL

WEAK, MEDIUM, STRONG


Adding .readthedocs.yaml file, Moving SRAM outside digital directory, Fix all warnings, Move I/O and SRAM docs to their repositories

Fixes #26
Fixes #15
Fixes #20
Fixes #11
Fixes #12

The file .readthedocs.yaml is added.

The SRAM directory is now in a new directory called IP, Standard Cells are in digital, and I/Os are in IO.

Fixed all warnings happens when building read-the-docs.

Moved IO docs from this repository into globalfoundries-pdk-libs-gf180mcu_fd_io.

Moved SRAM docs from this repository into globalfoundries-pdk-ip-gf180mcu_fd_ip_sram.

[x] .readthedocs.yaml is added.

[x] SRAM directory is outside digital directory.

[x] Building the docs locally passes without any warnings.

[x] I/O documentation is moved.

[x] SRAM documentation is moved.

Looks like I have a problem in building the docs from symbolic links. I will check them again.

Please send one pull request per issue fixed.


DNS fallback: set ANCOUNT to QDCOUNT

During testing, we found that the Windows 7 system DNS client fails to retry over TCP unless the response sets the number of answers to the number of queries.

Non-system DNS clients like nslookup work as expected on Windows 7. It's only the system DNS client that misbehaves.

While this is technically incorrect, most DNS clients seem to tolerate the error and retry the query over TCP. We have tested on Android L+, iOS 9+, macOS 10.11+, Debian, Ubuntu 18, and Windows 8+.

Thanks for the fix.


Mod causes game to crash on startup. had no previous issues

I have a pretty hefty CraftTweaker script (that's still unfinished) and Ender Tweaker has worked fine up until this point. Now, suddenly, even though I added no new EnderIO-related recipes since my previous startup, the game crashes and blames Ender Tweaker. This was with the mod version 1.1.4.
I removed the mod, and doing so allowed the game to start with no errors or crashes. I then downloaded and installed the new 1.1.5 version of the mod, at which point the game crashed on startup once again.
The crash is then definitely caused by Ender Tweaker and I don't know why. I can provide the crash report and other necessary files if asked. Please help.

crash reports are required to debug anything, so, put that on gist and link it

I just realised I did make an adjustment to an EnderIO recipe. I attempted to remove the recipe for the Decay enchantment book in the Enchanter and add a new one. That might have something to do with it. Anyway, here is the crash report.

That's an error with your script, obviously the error handling is bad on ET's end (and will be improved shortly), but it's not an actual bug.  You've either got a null reference to the enchantment object, or to the ingredient for the recipe addition.


Allow enforcement of no-unused-imports

rules_proto (well, probably the native code in Bazel) prints
INFO: From Generating Descriptor Set proto_library //foo/v1:foo_proto:
foo/v1/foo.proto:19:1: warning: Import foo/v1/other.proto is unused.

I'd like to enforce no backsliding, so promote this to an error. One way to do that would be a linter (e.g. buf_lint_test, if https://github.com/bufbuild/rules_buf/issues/32 were fixed). But it would be easier to run on CI with something like bazel build --@rules_proto//proto:unused_imports=error //...
@Yannic  WDYT?

Looks reasonable! Probably needs to be possible to opt-in/out on a target or package level though (because googleapis is a huge offender of unused imports).
May require a change in protoc to make this an error

Note, this is supported by https://buf.build/docs/build-systems/bazel#buf-lint-test now. I don't think we need linters included in the baseline proto ruleset.


Time string parsing for micro and nanoseconds

RF can parse time from multiple different input formats. One of them is time string. Currently smallest time specifiers are for milliseconds. However, we are working with electrical measurement devices and would need to input times down to nanosecond accuracy.
We use time strings in standard keywords
${time}=    Convert Time    250 ns

and in our own keywords that uses argument conversions.
Considerations:

RF typically converts times to float as seconds.
It is already possible to define sub millisecond times eg. using floats 1E-6 or decimals in string format 0.001 ms.
In some places accuracy is limited either to one second or one millisecond. See Millisecond handling.
Python datetime.timedelta only supports up to microsecond accuracy.

Custom argument converter is needed for nanosecond accuracy. That can be easily implemented using robot.Datetime API.

DateTime converters can also output time in str formats like 1min 2s 345ms. At this time we don't need this conversion and would probably prefer seconds as decimals anyway 1min 2.3456s.

PR #4491 implements support for micro and nanoseconds when parsing time strings. I don't understand how I missed that when I looked at this issue earlier. The PR looks so good that I guess we can still include it in RF 6.0. Other possible enhancements discussed above then need separate issues.

PR #4491 added support for parsing nano and microseconds and I enhanced docs a bit in the above commit. This issue can be considered done and new issues submitted for other related enhancements.
Thanks for contribution @mikkuja!


Whitespace captured in wrong node for string template given as a key in map.

Description:
Whitespaces are captured in a wrong node for string template which is used to define a key in map.
map<any> m = {[string `${prefix}name`]: "John" };

Issue has been fixed with the above attached PR.


JavaScript Highlighting Not Working on Some Pages

Compare the following:
works: https://developers.google.com/web/fundamentals/primers/push-notifications/push-messages?hl=en
doesn't work: https://developers.google.com/web/fundamentals/getting-started/your-first-progressive-web-app/step-03?hl=en
NOTE: There are three code examples on that page. The first seems to work. The last two don't.

Thanks for the feedback, we've got an update coming next week that should fix this.


feat: Update dependencies

fix: Upgrade lenra_components to v1.0.0-beta.49 fix: MenuItem icon spacing (#117)

fix: Upgrade lenra_components to v1.0.0-beta.49

fix: Upgrade client_common to v1.0.0-beta.11

:tada: This PR is included in version 1.0.0-beta.88 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Purge hsproxy iRODS resource files after N days (N=21)

Because the hsproxy iRODS account is open for all developers the resources it holds can quickly become unnecessary.
Create a Jenkins task to periodically scan and purge

Collections identified by a GUID with resource files older than N days
Zip files within the bags directory older than N days

This script will be set to execute every Sunday evening.

Implemented as a Jenkins "housekeeping" task as defined here: http://ci.hydroshare.org:8080/view/3. Housekeeping/job/irods-delete-old/


cmd/pprof: -weblist and -output don't play well together

This issue isn't very serious but can be annoying nevertheless.
What version of Go are you using (go version)?
go 1.5.1 (the issue also exists in tip)
What operating system and processor architecture are you using?
not applicable
What did you do?
I was working on a headless system.
I wanted to analyse profiling output by running go tool pprof -weblist=. -output=listing.html myprogram myprogram.pprof and copying the resulting listing.html file to my workstation for viewing.
What did you expect to see?
I expected that there would be a file named listing.html containing the profiling report.
What did you see instead?
$ go tool pprof -weblist=. -output=listing.html myprogram myprogram.pprof
Generating report in listing.html
exec: "firefox": executable file not found in $PATH

The file listing.html was created, but remained empty.
Note that the same command works if I use -list instead of -weblist.
I think that the default behaviour of opening a browser to display the report is very convenient. But if the user specifies -output, that choice should either be respected or a warning (e.g. "warning : flag -output ignored for -weblist output format") should be printed. In no case an empty listing.html file should be generated.
As a workaround, I placed a small script named firefox in my $PATH; the script copies the report to a directory of my choice.

I'd be happy to contribute a patch if the Go maintainers are interested.

Sure, send a patch. At this point it would be for the 1.7 release.

This works now for 1.11.
18:56:57-agniva-~/play/go/src/github.com/agnivade/levenshtein$go tool pprof -weblist=. -output=list.html levenshtein.test cpu.prof
Generating report in list.html
18:57:14-agniva-~/play/go/src/github.com/agnivade/levenshtein$ls -l list.html
-rw-rw-r-- 1 agniva agniva 4026138 Sep 30 18:57 list.html

Closing.


fix: remove publish line

This is not needed and removing this should increase the score on pub.dev slightly

@SputNikPlop
Hi, Thank you for your pull request!
Since the main branch is currently under development,
I have temporarily set publish_to: none in the pubspec.yaml file for the plugin published on pub.dev.
Therefore, could you please revert the following commit?

https://github.com/droibit/flutter_custom_tabs/pull/194/files#diff-cdcbb6eeb1823ec3e785e5f25c5668cd222f7945209871b2aacbfdd116ec55a6

@SputNikPlop Hi, Thank you for your pull request!
Since the main branch is currently under development, I have temporarily set publish_to: none in the pubspec.yaml file for the plugin published on pub.dev.

Got it, made the changes as requested.

Thanks for making the requested changes!!


Change --setup flag to --install to clarify what the flag is for

ArchiveBox init --setup is confusing as init and setup mean the same thing. We should rename the flag to make this clearer somehow.

as you have also problems with the web extension, are you using the devversion?

I'm the creator of ArchiveBox ;)  I recommend using the dev version for now (0.7.1)

Whoops created this twice https://github.com/ArchiveBox/ArchiveBox/issues/1348


fix release pipeline failing on UI widget tests

Description
Fix release pipeline failing on UI widget tests.  The fix here is to run the tests without flights prior to release.
Alternatively, we could run all UI tests as an extra step, but this seems unnecessary for release pipeline.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1573 (44a4f34) into main (f8c1569) will decrease coverage by 12.45%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1573       +/-   ##
===========================================
- Coverage   88.03%   75.58%   -12.46%
===========================================
  Files         109       10       -99
  Lines        5291      258     -5033
===========================================
- Hits         4658      195     -4463
+ Misses        633       63      -570

Flag
Coverage Δ

unittests
75.58% <ø> (-12.46%)
:arrow_down:

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

Impacted Files
Coverage Δ

...ponsibleai/responsibleai/_tools/shared/versions.py

.../raiutils/data_processing/data_processing_utils.py

...ponsibleai/responsibleai/rai_insights/constants.py

raiwidgets/raiwidgets/__version__.py

...bleai/responsibleai/_managers/explainer_manager.py

...is/erroranalysis/_internal/surrogate_error_tree.py

...sponsibleai/responsibleai/rai_insights/__init__.py

...eai/responsibleai/managers/data_balance_manager.py

raiutils/raiutils/version.py

...i/responsibleai/managers/error_analysis_manager.py

... and 89 more

Continue to review full report at Codecov.

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


[stable/keycloak] Fix theme example

tpl args should be strings.

Thanks. You need to bump the chart version.

squashed into #6289.


安装失败，如下所示。但其实我电脑里有visual c++14环境

Complete output (12 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
copying geohash.py -> build\lib.win-amd64-3.7
copying quadtree.py -> build\lib.win-amd64-3.7
copying jpgrid.py -> build\lib.win-amd64-3.7
copying jpiarea.py -> build\lib.win-amd64-3.7
running build_ext
building '_geohash' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
ERROR: Failed building wheel for python-geohash

For geohash, you can try to install it online. pip install python-geohash.
For hypergbm, we recommend  install with pip as well. pip install hypergbm


do not copy tensorrt_dir/lib/myelin64_1.dll when using tensorrt>=8.0 with Paddle Inference

 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.FlyingQianMM seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Build fails

While building of lame I got this: "error: automatic de-ANSI-fication support has been removed" and I got unable to build a whole mpv.

@AsukaLangleyfag
I meet same problem like you, could you share your solution?
thanks.


No icon on launcher or template under file after upgrade to Jupyter Lab 1.0.1

I had the extension working on Jupyter Lab 0.35.6, and pointing to two templates on a defined location. After updating to Jupyter Lab 1.1.1, updating all extension and building, I don't have an icon for templates in the Launcher and I can't also find an option under "File".

Under 0.35.6 I could use the templates via the launcher ( I never tried using "File").  In the anaconda launcher, I get a message that:
 Installing jupyterlab_templates handler on path /templates
Available templates: T1.ipynb,T2.ipynb
I can access the location of the templates in Jupyter Lab.
The extension shows under my extension list, and I did try enabling/disabling:

It looks like you only upgraded the javascript package, not the python package?

Apologies for that, upgrading the python package did the trick. Thanks!


A couple of fixes

Validate the url
Do not throw if the url is
And set normalize to false, by default.
The normalize url was failing to work with git+ssh urls

/cc @pvdlg Can you please check this

For now I will merge it like it is (I updated the docs) and bumped the major version. 🚀
But contributions are welcome (maybe normalizing the Git urls)?


Docs: Guide for Checkstyle to cleanup recipes migration

This has been completed. See https://docs.openrewrite.org/tutorials/automatically-fix-checkstyle-violations


Stripe / Payments Extension

This is brought over from Discord, where we briefly discussed a Stripe/payments extension that's already in the roadmap. Let's discuss this here briefly and we can then make a draft RFC when we have more clarity on the scope and approach.
Approaches
One approach is to not store Stripe data in the database but map queries to API calls. This is more inline with GraphQL approach.

It avoids dealing with syncing etc.
Limited in what's possible to do. e.g: analytical queries, aggregation ...

The other approach is to actually store Stripe data in the database. This is the approach I think makes sense for EdgeDB.
Creating the schema
Since the surface we’re talking about here is quite big, we could provide the most common types off the shelf and enable/teach users to create Stripe Object Types themselves.
The API docs are the way to go to “manually introspect” the Stripe schema.
Handling Events
Now that we have a database schema in place. We need to choose which events to handle.
By default that will be all webhooks related to Stripe types the user chose when creating the schema.
Our handling of events mainly creates data in the db. But sometimes, users want to handle some webhooks  themselves (e.g: one-time payment checkout completed event). We should allow that as well.
A simple, yet powerful way to handle both scenarios would be to:

Receive the webhook first in EdgeDB side
Create database objects from that webhook automatically
Send an http request (webhook) to the web server. It contains both the new data created/updated/deleted (when available) along with the original event.

Detailed docs for events can be found here
Calling Stripe API
With the HTTP extension, it’s possible to call Stripe API from the database. But why create a level of indirection when the user can call the Stripe API client directly?
There is an official OpenAPI spec if that’s of interest.
The flow
Generated by Claude
sequenceDiagram
    participant C as Client App
    participant S as Server
    participant E as EdgeDB
    participant SA as Stripe API
    participant SW as Stripe Webhooks

    %% Initial Setup
    Note over C,SW: Setup Phase
    S->>E: Configure Stripe types to sync
    S->>E: Create schema for selected types
    S->>SW: Register webhook URL

    %% Runtime Operations
    Note over C,SW: Runtime Operations

    %% Direct API Call Flow
    C->>S: Request payment operation
    S->>SA: Call Stripe API (create payment, etc)
    SA-->>S: Return API response
    S-->>C: Return response to client

    %% Webhook Flow
    Note over SA,E: Async webhook processing
    SA->>SW: Generate event
    SW->>E: Send webhook event
    activate E
    E->>E: Update database state
    E->>S: Forward webhook + DB changes
    deactivate E
    S->>S: Custom webhook handling

    %% Query Flow
    C->>S: Query payment data
    S->>E: EdgeQL query
    E-->>S: Return local data
    S-->>C: Return response

    %% Error Handling
    Note over C,SW: Error Scenarios
    SA->>SW: Failed payment event
    SW->>E: Send webhook event
    E->>E: Update payment status
    E->>S: Forward failure event
    S->>C: Notify client

did you decide to model all of the Stripe Core+Payments domain?

No, here are the entities we model.

StripeCustomer
StripeSubscriptionPauseCollection
StripeSubscriptionItem
StripeSubscription
StripeInvoiceLine
StripeInvoice
StripeCharge
StripePrice
StripeProduct
StripePaymentIntent
StripePromoCode
StripeDiscount
StripeCoupon

And furthermore, I wonder if it's worth considering a less vendor-specific design before committing to the full Stripe layout.

I understand the motivation behind this. But I think Stripe is the de-facto solution for most, and is a safe bet.
However, there is hyperswitch which is an open source open payment switch. It seems interesting but doesn't seem to model quite basic concepts like Coupons!
Also, even Stripe is a moving target. For example, in Subscriptions single discount was deprecated in favor of multiple discounts. This makes the task of having a less vendor-specific design (of the data model) quite hard.


Using Observer instead of Subscriber when using RxLifecycle

Hi,
After beginning using this library i do not using any Subscriptions.
My question is:
Is ok to use Observer instead of Subscriber because anyway i do not use subscription functionality?
Thanks

Both Observer and Subscriber create subscriptions after subscribing, so the question makes no sense. RxLifecycle can be used with either.
Regardless, this is an tracker for RxLifecycle's bugs and features. If you have questions about usage please check elsewhere, like stackoverflow.com.


Develop upstream sync 230227

I pushed the xla_call_module_test PR to upstream
https://github.com/tensorflow/tensorflow/pull/59831


payrol.l

OPS Build status updates of commit 625d784:
:clock10: Preparing: average preparing time is 45 sec(s)

OPS Build status updates of commit 625d784:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/msftdynamicsgpdocs, working directory: W:\dkld-s, target branch: master, target branch commit: 646f497db182326ae1c8bbb0b3a9584023955e31, source branch: 9b73f2fdaae0804519f42accd6ca3677/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit ed5f033:
:clock10: Preparing: average preparing time is 45 sec(s)

OPS Build status updates of commit ed5f033:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/msftdynamicsgpdocs, working directory: W:\u1qu-s, target branch: master, target branch commit: 646f497db182326ae1c8bbb0b3a9584023955e31, source branch: 9b73f2fdaae0804519f42accd6ca3677/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

pdm


Updated Powershell Book Links

The DevOps Collective, Inc. have relocated their books from GitBook to LeanPub.

please resolve conflicts.

Closing because these resources have already been added and updated


Troubleshooting

Show troubleshooting steps if things go wrong during enrollment such as windows 10 business upgrade not working

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

ID: a6b63155-715a-14bf-c3bb-31b52ffcf8ec
Version Independent ID: d274ba6f-50f2-a4ff-5981-f53561b7e438
Content: Get started with Microsoft 365 Business
Content Source: microsoft-365/business/microsoft-365-business-overview.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

@officedocsbot assign @mypil

@gkens There are specific articles covering how to troubleshoot failing Windows 10 updates/upgrades, such as:
https://docs.microsoft.com/en-us/windows/deployment/upgrade/resolve-windows-10-upgrade-errors
https://docs.microsoft.com/en-us/windows/deployment/upgrade/troubleshoot-upgrade-errors
https://support.microsoft.com/en-us/help/10587/windows-10-get-help-with-upgrade-installation-errors
If these do not help, the recommendation is to contact support. It's the fastest way of solving such an issue.

@officedocsbot close


Minor fixes

Two minor fixes:

when using .apply() with keyword arguments, these are not called when evaluating the steady state. I think they should be, because they are hardwired anyways
for nonlinear irfs, the (optional) options dictionary are not updated with potential keyword arguments, although it seems that this is intended (via the call to .get_options).

Thanks for the great package!

Thanks, Gregor! Good catches, both of them.


[cxx-interop] Use macosx paths when searching modulemaps for macCatalyst

The existing code will use paths for "iphoneos" because the triples for macCatalyst are in the form "-apple-iosXX.yy-macabi", which the code interprets as an iPhone triple. This seems to work in Xcode because the "iphoneos" folder is always there. When building in open source, this seems to work because it is also normal to have the iPhone SDK configured. This is not the case if you want to build the macOS SDK in isolation.
The code changes detect the macCatalyst environment from the triple and use the "macosx" paths instead, otherwise it follows the same code path as before. This matches many places in the CMakeLists.txt files in which macCatalyst support pieces are only enabled when the SDK is macOS.
The modified function is also used for the libc modulemap of non-Darwin platforms, but for those triples, the macCatalyst environment should not be detected, so the libc modulemap should not be affected by this change.
This is a followup to #76260 and #74994.

@swift-ci please test


Language server crash

After installing as written in the docs and opening any vue file, I get the following error.
[coc.nvim]: UnhandledRejection: Connection to server got closed. Server will not be restarted.
Error: Connection to server got closed. Server will not be restarted.
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:967)
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:28612)
    at t (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:386)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at bi (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:36:10897)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at _M.fireClose (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:12716)
    at ChildProcess.<anonymous> (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:62:11975)
UnhandledRejection: Connection to server got closed. Server will not be restarted.
Error: Connection to server got closed. Server will not be restarted.
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:967)
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:28612)
    at t (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:386)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at bi (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:36:10897)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at _M.fireClose (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:12716)
    at ChildProcess.<anonymous> (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:62:11975)
UnhandledRejection: Connection to server got closed. Server will not be restarted.
Error: Connection to server got closed. Server will not be restarted.
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:967)
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:28612)
    at t (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:386)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at bi (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:36:10897)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at _M.fireClose (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:12716)
    at ChildProcess.<anonymous> (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:62:11975)
UnhandledRejection: Connection to server got closed. Server will not be restarted.

{
  "name": "Volar doctor info",
  "filePath": "xxx.vue",
  "clientVersion": "0.7.8",
  "serverVersion": "0.29.8",
  "vueVersion": "3.2.22",
  "vueRuntimeDomVersion": "3.2.22",
  "vueTscVersion": "0.29.8",
  "tsVersion": "4.4.3",
  "tsServerPath"<EMAIL_ADDRESS>  "settings": {
    "enable": true,
    "useWorkspaceTsdk": false,
    "diagnostics": {
      "enable": true,
      "tsLocale": "en"
    },
    "lowPowerMode": false,
    "codeLens": {
      "references": true,
      "pugTools": false,
      "scriptSetupTools": false
    },
    "autoClosingTags": false,
    "autoCompleteRefs": false,
    "takeOverMode": {
      "enabled": false
    },
    "formatting": {
      "enable": true,
      "printWidth": 100
    },
    "completion": {
      "tagNameCase": "both",
      "attrNameCase": "kebab",
      "autoImportComponent": true
    },
    "dev": {
      "serverPath": ""
    },
    "fix": {
      "completion": true
    }
  }
}

I am unable to reproduce the crash in my environment. Can you tell me the output result of :CocInfo in your environment?
Also, do you have the same problem with vue projects (ts/js) created with vite? https://vitejs.dev/guide/#scaffolding-your-first-vite-project

CocInfo
## versions

vim version: NVIM v0.6.0
node version: v12.22.7
coc.nvim version: 0.0.80-03c9add7cd
coc.nvim directory: /home/user/.config/nvim/plugged/coc.nvim
term: xterm-256color
platform: linux

I created a fresh vue-ts project with vite as you explained and still the same error:
[coc.nvim]: UnhandledRejection: Connection to server got closed. Server will not be restarted.
Error: Connection to server got closed. Server will not be restarted.
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:967)
    at np.handleConnectionClosed (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:28612)
    at t (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:223:386)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at bi (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:36:10897)
    at tM.invoke (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:9670)
    at sd.fire (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:10436)
    at _M.fireClose (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:35:12716)
    at ChildProcess.<anonymous> (/home/user/.config/nvim/plugged/coc.nvim/build/index.js:62:11975)

Is it possible to get a stacktrace / crash log of the server component?

Maybe it is an incompatibility with my nvim config. But I don't know how to debug further. I don't know how the server component is executed and why it crashes.

Is it possible to update the Node.js version? Can you update to at least v14 or higher and give it a try?


Do not follow Bitcoin's development model

Bitcoin is being for-profit developed to promote transaction verification methods separate from the miners (https://m.youtube.com/watch?v=0BZoKH-hX_o)
The Lightning Network (https://m.youtube.com/watch?v=UYHFrf5ci_g) exists, because BTC sucks, not because it is a good idea. Dont lean on centralization to improve Dogecoin transactions or Doge will end up clunky and require its users to use third parties to avoid volatile and high fees.
Bitcoin cash was made to keep this principle of decentralization. Follow their ideas not Bitcoin, the dinosaur of crypto.

Thank you for your insights. Noted!


Could not load the property file output_xml.properties for output method xml

When Transformer new instance is created I am getting a runtime exception, any solutions or workaround ?
Exception
2018-05-10 09:58:19.278339+0530 LumifyIOS[58056:5630921] *** Terminating app due to uncaught exception 'OrgApacheXmlSerializerUtilsWrappedRuntimeException', reason: 'org.apache.xml.serializer.utils.WrappedRuntimeException: Could not load the propery file 'output_xml.properties' for output method 'xml' (check CLASSPATH)'
JavaCode
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
J2OBJC Code
JavaxXmlTransformTransformerFactory *transformerFactory = JavaxXmlTransformTransformerFactory_newInstance();
JavaxXmlTransformTransformer *transformer = [((JavaxXmlTransformTransformerFactory *) nil_chk(transformerFactory)) newTransformer];

The Xalan serializer has properties files that need to be included with your app as Java resources. There are seven files in the org/apache/xml/serializer directory, so as the Java resources page directs, all of them need to be copied into an org/apache/xml/serializer Resources sub-directory.
I'm leaving this issue open, as we should be able to copy the properties file data into default tables in the OutputPropertiesFactory, so there is a backup when those property files are not present (rather than throwing a WrappedRuntimeException).

After adding those files that error is solved and I have started getting this exception in the last line, please suggest anything more to be added
org.apache.xml.serializer.utils.WrappedRuntimeException: The Properties object passed to the SerializerFactory does not have a 'method' property.
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
transformer.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "2");
DOMSource source = new DOMSource(document);
StreamResult result =  new StreamResult(output);
transformer.transform(source, result);
J2OJBC Code
JavaxXmlTransformTransformer *transformer = [((JavaxXmlTransformTransformerFactory *) nil_chk(transformerFactory)) newTransformer];
[((JavaxXmlTransformTransformer *) nil_chk(transformer)) setOutputPropertyWithNSString:JavaxXmlTransformOutputKeys_INDENT withNSString:@"yes"];
[transformer setOutputPropertyWithNSString:@"{http://xml.apache.org/xslt}indent-amount" withNSString:@"2"];
JavaxXmlTransformDomDOMSource *source = new_JavaxXmlTransformDomDOMSource_initWithOrgW3cDomNode_(document);
JavaxXmlTransformStreamStreamResult *result = new_JavaxXmlTransformStreamStreamResult_initWithJavaIoOutputStream_(output);
[transformer transformWithJavaxXmlTransformSource:source withJavaxXmlTransformResult:result];

Exception
org.apache.xml.serializer.utils.WrappedRuntimeException: The Properties object passed to the SerializerFactory does not have a 'method' property.
This is solved after adding this line.
transformer.setOutputProperty(OutputKeys.METHOD, "xml");

Added support for apps that fail to correctly link in Xalan resource files. If a resource is not found, a string containing the same data as the resource file is loaded instead. To use this before the next release (not scheduled), build j2objc from source and use that source's dist/lib as the library path to j2objc libraries.


Right-Click Enchanting Table

This does not work as intended (does not open the SpellsMenu).
I noticed this after 8.2, however it may be there from before.
It may be a conflict with the second/third hotbar upgrade ... they both suppose to trigger an action on right-click ...

I did try this out after I saw your report (and someone’s confirmation, or maybe vice-versa) on Discord.
But all of the menus seem to be working for me... I thought the other person said that the main menu opened, the spell shop opened but nothing else.
Trying to think of what could’ve gone wrong there- any chance you could zip up your whole Magic folder so I could try your configs?

Sorry for my late reply.
Here it is: https://drive.google.com/drive/folders/1uTbi9OhGx5Q7GGrY59Ovmsj66FlhzR4o?usp=sharing

Sorry for my late reply.
Here it is: https://drive.google.com/drive/folders/1uTbi9OhGx5Q7GGrY59Ovmsj66FlhzR4o?usp=sharing

No worries at all! It's the holidays- I've been trying to stay away, too.
I think I see the problem, can you please try
/mconfig example set survival painterly Magic-Bosses
?
The issue was that "survival" has to be the primary example loaded, otherwise it doesn't modify core settings, it just adds in wands and spells and such.
This is kind of confusing but otherwise things get really messy if mixing together a lot of examples .. I've never come up with a better solution.

No worries at all! It's the holidays- I've been trying to stay away, too.
I think I see the problem, can you please try
/mconfig example set survival painterly Magic-Bosses
?
The issue was that "survival" has to be the primary example loaded, otherwise it doesn't modify core settings, it just adds in wands and spells and such.
This is kind of confusing but otherwise things get really messy if mixing together a lot of examples .. I've never come up with a better solution.

I am afraid this did not fix it. Same behaviour.

I am afraid this did not fix it. Same behaviour.

Worked! Thank you!

Worked! Thank you!


Intl.Locale.language should be required / should not include undefined?

lib Update Request

Configuration Check

My compilation target is ESNext and my lib is the default.
Missing / Incorrect Definition

Intl.Locale.language
Sample Code
new Intl.Locale('en-GB').language;

Documentation Link

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/language
I played around and I couldn't find any scenario where language would return undefined.
The first thing that came to mind was this:
new Intl.Locale('').language

However, new Intl.Locale('') throws with:
Uncaught RangeError: First argument to Intl.Locale constructor can't be empty or missing
    at new Locale (<anonymous>)

… so it's not even possible to read the language property.

Fixed by https://github.com/microsoft/TypeScript/pull/47720

Yep; this is fixed, as noted above.


Engine.time_scale float equality check failed

Godot version: Godot 3.1 Beta 10

OS/device including version: Windows 10

Issue description:

This makes me question if my brain is still working.

Paste this in some node:

var slo_mo_time_scale = 0.2

func _process(delta):
	if Input.is_action_just_pressed('ui_cancel'): # Esc
		print('time_scale = ', Engine.time_scale)
		if Engine.time_scale != slo_mo_time_scale:
			Engine.time_scale = slo_mo_time_scale
		else:
			Engine.time_scale = 1

Press Esc multiple times to toggle (not working)
Output prints:

time_scale = 1
time_scale = 0.2
time_scale = 0.2
...
time_scale = 0.2

Works normally if slo_mo_time_scale is an integer, for example: 2

Floating point operations are not always accurate.
This data should always be rounded off!
Use this:
static func compare_floats(a, b, epsilon = 0.001):
return abs(a - b) <= epsilon

Tangentially, Godot likes to format its float values to be pretty, which is why your debugging failed to spot the issue. If you add more precision to your prints, you would see the problem:
Engine.time_scale = 0.2
print("%.16f" % [0.2]) # prints 0.2000000000000000
print("%.16f" % [Engine.time_scale]) # prints 0.2000000029802322

This is why you avoid equality comparisons with floating point numbers.

Equality between float can never been guaranteed.  You may use Math.is_equal_approx instead.


TensorFlow's introductory examples errors

I am following along from this point: https://www.tensorflow.org/get_started/get_started#basic_usage
It is a linear regression example.
I have approached this execution from two angles:
Angle 1: Running python and copying one line at a time.
When run this line:  estimator = tf.contrib.learn.LinearRegressor(feature_columns=features)
I get this issue: WARNING:tensorflow:Using temporary folder as model directory: C:\Users\elavi\AppData\Local\Temp\tmprirdvmnn INFO:tensorflow:Using default config. INFO:tensorflow:Using config: {'_tf_config': gpu_options {   per_process_gpu_memory_fraction: 1 } , '_task_type': None, '_save_checkpoints_steps': None, '_master': '', '_is_chief': True, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x0000021D2049C390>, '_task_id': 0, '_save_checkpoints_secs': 600, '_save_summary_steps': 100, '_keep_checkpoint_max': 5, '_keep_checkpoint_every_n_hours': 10000, '_evaluation_master': '', '_tf_random_seed': None, '_environment': 'local', '_num_ps_replicas': 0}
Angle 2: It may be more helpful to see how I run it as a script as a whole. The output is:
WARNING:tensorflow:Using temporary folder as model directory: C:\Users\elavi\AppData\Local\Temp\tmp41huenz5 WARNING:tensorflow:Rank of input Tensor (1) should be the same as output_rank (2) for column. Will attempt to expand dims. It is highly recommended that you resize your input, as this behavior may change. WARNING:tensorflow:From C:\Users\elavi\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\head.py:521: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported. 2017-02-24 00:02:36.386704: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations. 2017-02-24 00:02:36.388071: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE2 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-24 00:02:36.389235: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-24 00:02:36.389290: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-24 00:02:36.390010: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-24 00:02:36.390894: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. 2017-02-24 00:02:36.391659: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-24 00:02:36.392248: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. WARNING:tensorflow:Rank of input Tensor (1) should be the same as output_rank (2) for column. Will attempt to expand dims. It is highly recommended that you resize your input, as this behavior may change. WARNING:tensorflow:From C:\Users\elavi\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\head.py:521: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported. WARNING:tensorflow:Skipping summary for global_step, must be a float or np.float32.
I am interested in what is going on but I really need things simplified. A list of steps to fix this would be great. Also, if there are any better ways I could pose my problems in the future, please let me know.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Many. The issue is that I am very new. My ability to understand solutions is very small. I am not well versed with the required terminology. So I have seen this problem posed and closed but I just can't follow along.
Environment info
Operating System: Windows 10
Installed version of CUDA and cuDNN: I have the latest version but I probably shouldn't because I do not have a dedicated graphics card. (I am doing initial development on Microsoft Surface Pro 4)
TF Version
1.0.0-rc2

All I see in the output you posted are warnings, not errors.  Those warnings point out issues you ought to be aware of, but should not prevent a correct evaluation.  If you ignore those warnings, does the example not work?

Same problem for me

same problem here

@wenquanzhao / @ElliotVilhelm can you see if poxvoculli's reply addresses your problem (ie, the solution is to ignore these messages)

@poxvoculi @yaroslavvb
No it doesn't. If it did, the expected output would at least include
{'loss': 5.9819476e-11, 'global_step': 1000} According to the example by TF.

Make sure a print is working for you at all ...
you can surround the final print in that code with
print("STARTING")
print(estimator.evaluate(input_fn=input_fn, steps=10))
print("ENDING")

See if you can see either of those added prints working.

@aselle
The result is
STARTING WARNING:tensorflow:Using temporary folder as model directory: C:\Users\elavi\AppData\Local\Temp\tmp_ukogsp9 WARNING:tensorflow:Rank of input Tensor (1) should be the same as output_rank (2) for column. Will attempt to expand dims. It is highly recommended that you resize your input, as this behavior may change. WARNING:tensorflow:From C:\Users\elavi\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\head.py:521: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported. 2017-02-27 11:35:27.716156: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations. 2017-02-27 11:35:27.716322: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE2 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-27 11:35:27.719845: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-27 11:35:27.720688: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-27 11:35:27.721719: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-27 11:35:27.722310: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. 2017-02-27 11:35:27.722955: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. 2017-02-27 11:35:27.723499: W c:\tf_jenkins\home\workspace\nightly-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. WARNING:tensorflow:Rank of input Tensor (1) should be the same as output_rank (2) for column. Will attempt to expand dims. It is highly recommended that you resize your input, as this behavior may change. WARNING:tensorflow:From C:\Users\elavi\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\head.py:521: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported. WARNING:tensorflow:Skipping summary for global_step, must be a float or np.float32. WARNING:tensorflow:Rank of input Tensor (1) should be the same as output_rank (2) for column. Will attempt to expand dims. It is highly recommended that you resize your input, as this behavior may change. WARNING:tensorflow:From C:\Users\elavi\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\head.py:521: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported. WARNING:tensorflow:Skipping summary for global_step, must be a float or np.float32. {'loss': 1.209928e-08, 'global_step': 1000} ENDING
So something is certainly working. I have questions though:

Every time I run the same code, the loss changes. Why?
Why did you pick steps = 10?
Least importantly, am I going to have to perpetually live with these warnings?

Your last three lines here
list of tags to a scalar summary op is no longer supported. WARNING:tensorflow:Skipping
summary for global_step, must be a float or np.float32. {'loss': 1.209928e-08, 'global_step': 1000} ENDING

have
{'loss': 1.209928e-08, 'global_step': 1000}

So it did work. the loss became effectively zero (1e-8 is about zero for the purposes of this discussion). The loss changes because the examples are ordered randomly and the weights are initialized randomly. That means that the exact numeric values are not deterministic (this is inherent in stochastic gradient descent learning approaches).
TensorFlow is verbose on startup so it is hard to see the result, but it is there.

@aselle I see, thank you! I still don't like the warnings but I am glad this all works!
For future TF Beginners, the example code on the TF website is missing this line where it prints the estimator results at the end:
print(estimator.evaluate(input_fn=input_fn)
Thanks to everybody on this thread, I am closing it now.

It might be helpful to take a look at an overview of TensorFlow logging.
https://www.tensorflow.org/get_started/monitors  There are multiple
levels of logging available, and their labels are somewhat arbitrary.
ERROR is supposed to be used for things which are really errors, i.e. a
value has been encountered somewhere which is outside of the legal range,
and correct computation cannot continue, but maybe we can unwind up the
stack and retry something.  FATAL is even more severe, it means the program
must terminate now.   There are multiple gentler logging levels for
informational or debugging messages.  WARNING is intermediate, for
something that isn't definitely an error, but you ought to know about.
(WARNING also has the sometimes useful property that it flushes to the log
file immediately, so it should be there if a hard program failure occurs
soon afterward.)  According to the documentation I cited, the default
logging level is WARN, which means that logging messages of lesser severity
will likely not display to novices, and if one of the TF developers wants
to make sure you see a message, it needs to be a WARNING.  So, some of
these WARNINGs are just messages that someone hopes will help users
self-diagnose a non-optimal situation without needing to post issues here.
On Wed, Mar 29, 2017 at 11:25 PM, Stefano<EMAIL_ADDRESS>wrote:

I really don't like the perspective, that warnings are ok. Especially when
they are triggered by official example code from the website.
Where is the sense of quality and soundness?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/7841#issuecomment-290314030,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO818Vzm8XNJa05FlVZ7F4fEzS3cbT4qks5rq0rPgaJpZM4MK7aI
.

I managed to suppress all the warnings with this.
# https://github.com/tensorflow/tensorflow/issues/7778
# TF_CPP_MIN_LOG_LEVEL is a TensorFlow environment variable responsible for the logs,
# to silence INFO logs set it to 1, to filter out WARNING 2 and to additionally silence ERROR logs (not recommended) set it to 3
import os
os.environ['TF_CPP_MIN_LOG_LEVEL']='2'

import numpy as np
import tensorflow as tf

# supress 'monitor' warnings...
# https://www.tensorflow.org/get_started/monitors
tf.logging.set_verbosity(tf.logging.ERROR)

You have to set the model_dir, eg. if you want to store the outputs in ./output folder:
estimator = tf.contrib.learn.LinearRegressor(feature_columns=features, model_dir='./output')
Same thing if you follow the next example (Custom model):
estimator = tf.contrib.learn.Estimator(model_fn=model,model_dir='./output')
Then you can use TensorBoard to show the result:
>tensorboard --logdir=output

@tonytangau I was actually having an error with a huge stack for this tutorial, and adding model_dir DID fix the error somehow... how could this even be the case?
C:\Users\Username\AppData\Local\Programs\Python\Python36\python.exe C:/Users/Username/git/TensorFlowTutorial/tf_contrib_learn_tutorial.py
WARNING:tensorflow:Using temporary folder as model directory: C:\Users\Username\AppData\Local\Temp\tmprgntzl60
WARNING:tensorflow:From C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\head.py:625: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.
Traceback (most recent call last):
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1139, in _do_call
    return fn(*args)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1121, in _run_fn
    status, run_metadata)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\contextlib.py", line 89, in __exit__
    next(self.gen)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status
    pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.FailedPreconditionError: Failed to rename: C:\Users\Username\AppData\Local\Temp\tmprgntzl60\model.ckpt-1_temp_ea3d2f00fe2043578134043560b310e6/part-00000-of-00001.index.tempstate17313616136446688854 to: C:\Users\Username\AppData\Local\Temp\tmprgntzl60\model.ckpt-1_temp_ea3d2f00fe2043578134043560b310e6/part-00000-of-00001.index : The process cannot access the file because it is being used by another process.

	 [[Node: save/SaveV2 = SaveV2[dtypes=[DT_INT64, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](save/ShardedFilename, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, global_step, linear/bias_weight/part_0/read, linear/regression_head/linear/bias_weight/part_0/Ftrl/read, linear/regression_head/linear/bias_weight/part_0/Ftrl_1/read, linear/x/weight/part_0/read, linear/regression_head/linear/x/weight/part_0/Ftrl/read, linear/regression_head/linear/x/weight/part_0/Ftrl_1/read)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/Username/git/TensorFlowTutorial/tf_contrib_learn_tutorial.py", line 52, in <module>
    main()
  File "C:/Users/Username/git/TensorFlowTutorial/tf_contrib_learn_tutorial.py", line 42, in main
    estimator.fit(input_fn=input_fn, steps=1000)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\util\deprecation.py", line 289, in new_func
    return func(*args, **kwargs)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 455, in fit
    loss = self._train_model(input_fn=input_fn, hooks=hooks)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 1007, in _train_model
    _, loss = mon_sess.run([model_fn_ops.train_op, model_fn_ops.loss])
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 505, in run
    run_metadata=run_metadata)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 842, in run
    run_metadata=run_metadata)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 798, in run
    return self._sess.run(*args, **kwargs)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 960, in run
    run_metadata=run_metadata))
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\basic_session_run_hooks.py", line 368, in after_run
    self._save(global_step, run_context.session)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\basic_session_run_hooks.py", line 384, in _save
    self._get_saver().save(session, self._save_path, global_step=step)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 1488, in save
    raise exc
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 1472, in save
    {self.saver_def.filename_tensor_name: checkpoint_file})
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 789, in run
    run_metadata_ptr)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 997, in _run
    feed_dict_string, options, run_metadata)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1132, in _do_run
    target_list, options, run_metadata)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\client\session.py", line 1152, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Failed to rename: C:\Users\Username\AppData\Local\Temp\tmprgntzl60\model.ckpt-1_temp_ea3d2f00fe2043578134043560b310e6/part-00000-of-00001.index.tempstate17313616136446688854 to: C:\Users\Username\AppData\Local\Temp\tmprgntzl60\model.ckpt-1_temp_ea3d2f00fe2043578134043560b310e6/part-00000-of-00001.index : The process cannot access the file because it is being used by another process.

	 [[Node: save/SaveV2 = SaveV2[dtypes=[DT_INT64, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](save/ShardedFilename, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, global_step, linear/bias_weight/part_0/read, linear/regression_head/linear/bias_weight/part_0/Ftrl/read, linear/regression_head/linear/bias_weight/part_0/Ftrl_1/read, linear/x/weight/part_0/read, linear/regression_head/linear/x/weight/part_0/Ftrl/read, linear/regression_head/linear/x/weight/part_0/Ftrl_1/read)]]

Caused by op 'save/SaveV2', defined at:
  File "C:/Users/Username/git/TensorFlowTutorial/tf_contrib_learn_tutorial.py", line 52, in <module>
    main()
  File "C:/Users/Username/git/TensorFlowTutorial/tf_contrib_learn_tutorial.py", line 42, in main
    estimator.fit(input_fn=input_fn, steps=1000)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\util\deprecation.py", line 289, in new_func
    return func(*args, **kwargs)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 455, in fit
    loss = self._train_model(input_fn=input_fn, hooks=hooks)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\estimators\estimator.py", line 1003, in _train_model
    config=self._session_config
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 352, in MonitoredTrainingSession
    stop_grace_period_secs=stop_grace_period_secs)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 648, in __init__
    stop_grace_period_secs=stop_grace_period_secs)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 477, in __init__
    self._sess = _RecoverableSession(self._coordinated_creator)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 822, in __init__
    _WrappedSession.__init__(self, self._create_session())
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 827, in _create_session
    return self._sess_creator.create_session()
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 538, in create_session
    self.tf_sess = self._session_creator.create_session()
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 403, in create_session
    self._scaffold.finalize()
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\monitored_session.py", line 205, in finalize
    self._saver.build()
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 1170, in build
    restore_sequentially=self._restore_sequentially)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 685, in build
    save_tensor = self._AddShardedSaveOps(filename_tensor, per_device)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 361, in _AddShardedSaveOps
    return self._AddShardedSaveOpsForV2(filename_tensor, per_device)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 335, in _AddShardedSaveOpsForV2
    sharded_saves.append(self._AddSaveOps(sharded_filename, saveables))
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 276, in _AddSaveOps
    save = self.save_op(filename_tensor, saveables)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\training\saver.py", line 219, in save_op
    tensors)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\ops\gen_io_ops.py", line 745, in save_v2
    tensors=tensors, name=name)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 767, in apply_op
    op_def=op_def)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 2506, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "C:\Users\Username\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\ops.py", line 1269, in __init__
    self._traceback = _extract_stack()

FailedPreconditionError (see above for traceback): Failed to rename: C:\Users\Username\AppData\Local\Temp\tmprgntzl60\model.ckpt-1_temp_ea3d2f00fe2043578134043560b310e6/part-00000-of-00001.index.tempstate17313616136446688854 to: C:\Users\Username\AppData\Local\Temp\tmprgntzl60\model.ckpt-1_temp_ea3d2f00fe2043578134043560b310e6/part-00000-of-00001.index : The process cannot access the file because it is being used by another process.

	 [[Node: save/SaveV2 = SaveV2[dtypes=[DT_INT64, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](save/ShardedFilename, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, global_step, linear/bias_weight/part_0/read, linear/regression_head/linear/bias_weight/part_0/Ftrl/read, linear/regression_head/linear/bias_weight/part_0/Ftrl_1/read, linear/x/weight/part_0/read, linear/regression_head/linear/x/weight/part_0/Ftrl/read, linear/regression_head/linear/x/weight/part_0/Ftrl_1/read)]]

Process finished with exit code 1

@tonytangau Unlike elvai001's case, mine DOES end up in an error if I don't explicitly add model_dir into the parameter like you've mentioned :/

Tutorial code should always work and give exactly the same result.
Not mention "warning" is something i should not ignore and should not be in tutorial code.
If someone think in the opposite way, sorry but it make bad image of project, some people are not capable to make human communication even if they are good at same others things.
For me it is a message: "I will have more problems in future" so before to invest money and time in it, i will try the other solution. Sorry but it is always hard at start and when creator do not care about clean, working code, it gets much harder.

same here


Reintroduce 'related resource URL'

Has anyone noticed that the entire definition of related resource URL has been inadvertently eliminated? This PR adds it back.

Lololol. Not sure how this happened...probably my fault though. Thanks @bintoro!

Thanks @bintoro. We're perhaps pushing a bit too hard for 1.0, but it has to happen at some point.  When the dust settles this afternoon @dgeb and I plan to attempt reading the spec through as though it were our first time (probably impossible) to suss out any final weirdness like this.

Rebased due to PR #586.

thanks for catching this @bintoro :+1:

:+1:

Rebased and merged via d76ebd09ef2bafe7bf5a90074bfb354080a6f622


Add more browsers to DestinationEnvironment

Ref #227. Not sure if .edge is intended to represent Chrome-Edge or legacy Edge.

Thanks! Sorry it took so long to get this merged 😔


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/114 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 5aaedbb:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-30-03-00-06 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-30-03-00-06

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[frontend]: Fix sorting in stats

Fixes #511

@frol , I'm still trying to reproduce this issue. I also checked this in Firefox but for for me it's still visible 10 names. I'll try to figure out what is going on

@frol , I'm still trying to reproduce this issue. I also checked this in Firefox but for for me it's still visible 10 names. I'll try to figure out what is going on

I think it makes sense to address it on the backend (reverse the sorting order)


Unexpected behavior after 13/12/2023

Hello team, hope you are all well!
Issue Description:
When I end my prompts with "Resposta: " to ensure the generation of concise answers without leading tabs or linebreaks, the API has started returning a blank space (" ") as the response. This behavior is new and wasn't observed in earlier usage.
With the same prompt but "Resposta:" (without the blank space at the end) it works, but the quality of the inference noticeably deteriorates compared to previous tests (with identical prompts and parameters).
We used the following generation parameters:
model.generate(query,                chat_mode=False,                do_sample=True,                max_tokens=500,                temperature=0.1,                top_p=0.15)
Another point I've noticed is that the inference process seems to be faster now. Could it be possible that there have been recent changes to the base model or its configuration on the API?
Your insights or suggestions on resolving this issue would be greatly appreciated.
Thank you for your assistance.

Hi @willianfco,
Yes, we've update the API with a new model, hence the faster inference and different behaviour. From now on, we will introduce a versioning system visible to the user so it does not cause any surprises (sorry about that).
We will also have an updated version with better answers in a month or so.

Closing this due to the release of the new Sabiá-2, which is served under the MariTalk webchat. Please let us know if the problem persists!


YAML & other changes

changes:
api -> routes
misc -> handlers
json -> yaml

as the project is much different then heliactyl nowdays, i'd recommend fork detaching (thats basically so it dosent say "forked from https://github.com/OpenHeliactyl/Heliactyl" anymore


Update codebase for ghc-7.10.1 compatibility

Increase base upper bound to 4.9
foldl is now exported from Data.Foldable
Added type annotations in order to help GHC know which Foldable instance is being used.
Hide traverse function from Prelude
Remove tab character in MonadIO instance

All good thanks! I'll upload a new version in hackage.


Ginkgo: Created a new log file per test

Created a new Writer (TestLogWriter) that has all the logs for the test.
Created a new global AfterEach to reset TestLogWriter when test finished.
Create a new log hook to write data into GinkgoWritter
Refactor ExecWithSudo to use Exec method
Added SendToLog in cmdRes to write the given command to the logs files.

This change will create a new log file per test under test_results
with all logs and the output of executed commands.
@raybejjani due to your Logrus knowledge I added you to review this PR, Thanks.
Related to issue  #2221

btw @ianvernon  My plan is to add the exitCode on cmdRes.SendToLog but the change is made on Policy generation PR and I'm waiting to have it merged to update this one. ;-)

@ianvernon comments sorted again, rebased with master and should be ready to merge. Could you check please?

@eloycoto there is a conflict; please rebase and I will merge.