MQTTClient error

Hi, I download all library (MQTT , wifimanager, arduinojson) and when I compiling the HASwithPlate code in Arduino IDE "MQTTClient does not  name a type" is reported.
Please any help from you I will appreciate.
thanx

Can you give me versions on the setup you have running?  Which library versions specifically, along with the ESP8266 board manager version?

Hi,
-This is title of the ESP8266 board version " esp8266 by ESP8266 Community version 2.5.0 INSTALLED"   after the update  I restart arduino IDE not my PC .
-WiFiManager by Tzapu Version 0.13.0 INSTALLED.

MQTT by Joel Gaehwiler Version 2.3.4 INSTALLED
Thanx

Hi. Thanks for you help, it works after including   <MQTTClient.h>  in sketch and it should be befor MQTT.h otherwise it will not work.

I'm still not certain what is going on here.  I've just downloaded a fresh install of Arduino 1.8.9 (Windows), and deployed the board manager and libraries as documented here, and the project compiles with no warning and no changes required.


don't give log-file prepopulate flag a default

Passing the default logging file into flag pre-population causes the logger to assume the flag is always passed in and never falls back to the ENV setting.  This ensures that if no flag is provided, the env log file setting is used.

Does this PR need a docs update or release note?

[x] :white_check_mark: Yes, it's included

Type of change

[x] :bug: Bugfix

Test Plan

[x] :muscle: Manual
[x] :zap: Unit test
[x] :green_heart: E2E

Proof of retaining help output:
corso --help
Free, Secure, and Open-Source Backup for Microsoft 365.

Usage:
  corso [flags]
  corso [command]

Available Commands:
  backup      Backup your service data
  env         env var guide
  help        Help about any command
  repo        Manage your repositories
  restore     Restore your service data

Flags:
      # clipped...
      --log-file string      location for writing logs, use '-' for stdout (default "corso-<timestamp>.log")
      # clipped...

Use "corso [command] --help" for more information about a command.


add distinctive styling for highway=path back, fixes #811

This adds back the brown casing for highway=path ways
top: new, bottom: old

Looks good, thanks @mvexel 👍


#463 Resources for interview preparation

Description
I have created a new "Interview preparation" section under the courses section and added links and resources to it.
Pull Request Checklist
Please make sure that your PR meets the following requirements:

[x] The app is working correctly after applying the changes.
[x] The app is responsive and displays properly on different screen sizes and devices.
[x] The changes are thoroughly documented in the appropriate files or documentation sections.
[x] The coding conventions and style guidelines are followed consistently.

Checklist
Please check all applicable boxes and provide any additional information if needed.

[x] I have tested the changes locally and ensured that the app is functioning as expected.
[x] I have verified that the app is responsive and looks good on various screen sizes and devices.
[x] I have reviewed the documentation and ensured that it accurately reflects the changes made.
[x] I have followed the coding conventions and style guidelines defined in the project.
[ ] I have run the automated tests and all of them pass.
[x] I have considered the performance implications of the changes made.
[x] I have considered the security implications of the changes made.
[ ] I have checked for any potential regressions or side effects caused by the changes.
[x] I have performed a self-review of my code.
[x] Starred the repository.
[ ] Added My Name to the Contributor's List.
[x] Followed the repository's Contributing Guidelines.
[x] I ran the app and tested it locally to verify that it works as expected.

closes #463


Flake8

add flake8 reporting to github commit API. So that build does not break, but a second report about the flake status is generated.

Codecov Report

Merging #184 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #184   +/-   ##
=======================================
  Coverage   74.67%   74.67%
=======================================
  Files          67       67
  Lines        8676     8676
=======================================
  Hits         6479     6479
  Misses       2197     2197

Impacted Files
Coverage Δ

cate/ds/local.py
90.98% <100%> (ø)
:arrow_up:

cate/ds/esa_cci_odp.py
64.25% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Pipeline - build/deploy selectively

E.g. check for subfolders, build accordingly

Should have been created in https://github.com/bcgov/nr-fom-api.


draft: Trigger TextChangedI for 'o/O' in normal mode

draft only for now
fixes: #13367
todo: needs to verified and add some more tests

@chrisbra, I've tested it and everything seems to work.
I've tried writing tests for all this "Normal and Insert modes mix" cases.  TextChanged  <buffer>

It seems to pass both on 56b2aeec0086e68de86c9717edbeda43527b974b and 63afbbef7511355f128498be615d8f48d829c9a1, i.e. I couldn't make them break by reverting changes at 56b2aeec. So these might not cover all scenarios.

feedkeys() doesn't invoke main_loop(), so it never triggers TextChanged.

feedkeys() doesn't invoke main_loop(), so it never triggers TextChanged.

Yeah, it seems to be an issue even prior to this update. Completely unaware what to do here.
But tests in patch seem to still be good as they concern Insert mode and are breakable.


release 3.7.0

What are you trying to accomplish?

What approach did you choose and why?

Anything you want to highlight for special attention from reviewers?

We need to support Rails 7.1 before the PVC build will start working again.


Add eBPF connection tracking

Introduces connection tracking via eBPF. This allows scope to get notified of every connection event, without relying on the parsing of /proc/net, and therefore:

improve performance
increase reliability

How it works
...
Limitations:

[ ] Does not support IPv6
[ ] Sets procspied: true on connections coming from eBPF
[ ] Reads 5000 bytes of /proc/net/tcp, whereas the actual file could be larger

You should have a better commit message of course, explain the purpose, how it works, limitations ;)
and for the final PR, mentions which bug it fixes: 1168, possibly 1260, etc.

Limitations:

[ ] IPv6
[ ] add yours here...

Can you add in the PR the list of tests you did:

:white_check_mark: get connections from NAT
:x: falling back to the old parsing method when ebpf does not work at all (old kernel)
:x: falling back to the old parsing method when ebpf stops working (python script crashed)
:x: IPv6

We are making the official one on scope, don't need this anymore


Add kube-prometheus addon

I just tried to monitor my cluster using prometheus and failed as kubernetes doesn't export any metrics. We should create an addon that adds an endpoint to the cluster.

In this case, I'd advise using prometheus operator :)
it feels soo native!

Good catch, I will give it a try!

I changed the scope of the issue:

[ ] Setup prometheus-operator
[ ] Setup kube-prometheus

@JohnnyQQQQ I did ha manual installation. It's a hard one, but I got it working. Ping me if you need help with this

I got a running version. Right now I try to figure out how I can monitor etcd, kube-scheduler and kube-controller. Do you have one of those up and running?

yes, everything but etcd, as I use it in HA and etcd is not a workload of k8s.

Okay, did you take any special step to get the kube-scheduler and kube-controller metrics running? Somehow I don't get any targets.

FYI, I'll work on helping to have an official helm chart for prometheus operator, if you want to help also, feel free!
https://github.com/coreos/prometheus-operator/issues/1154

@JohnnyQQQQ yes, use this documentation https://github.com/coreos/prometheus-operator/blob/master/contrib/kube-prometheus/docs/kube-prometheus-on-kubeadm.md
here you even can install everything as needed after the cluster installation. Then use the minikube-deploy script and it runs.

Ah okay, I used self-hosted. Perhaps this was the problem. I will try it as soon as I have some free time.

This actually, cannot be the problem. Yes, there is a self-hosted flag, but it's not implemented, yet.
Maybe I should add this option :laughing:


added total amount released endpoint

Purpose
Addresses Issue #75
Changes
Addresses Issue #75
Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
[x] (If necessary) I have updated the CHANGELOG.

CLA acceptance
By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0

link: https://developers.concordium.com/CLAs/Contributor-License-Agreement-v1.0.pdf

[x] I accept the above linked CLA.


--user-patterns is not respected

This is either a bug, or the documentation needs to be clarified to say that patterns are merely suggestions to Tesseract and that the patterns may not be respected (if that is the case).
Environment

Tesseract Version:
tesseract 5.0.0-alpha-647-g4a00b
leptonica-1.80.0

Platform:

Linux 4.19.113-1-MANJARO x86_64 GNU/Linux
Current Behavior:

I have a patterns file of 5 digits.
\d\d\d\d\d
tesseract 14.png - --oem 3 --psm 7 -l eng --user-patterns /tmp/2294/patterns.txt
Tesseract recognizes the comma.
Expected Behavior:
I expect the pattern to be respected.
I've tried with a every option for --oem and I've tried specifying a pattern suffix in a bazaar file and moving my patterns file to my tessdata directory. Same results.
I cannot find anything in the manpage or other documentation that says how strictly patterns are respected.
https://tesseract-ocr.github.io/tessdoc/ImproveQuality#dictionaries-word-lists-and-patterns
https://github.com/tesseract-ocr/tesseract/blob/master/doc/tesseract.1.asc#CONFIGFILE
Suggested Fix:
I don't know. If this is expected behavior and patterns are mere suggestions that are not necessarily respected, then updating the documentation is the fix. If someone can confirm this, I'll see if I can understand the code well enough to write accurate documentation around it.

Duplicate of #2940


Review tabs component usage

We have three components on GOV.UK with the name tabs, specifically in these places:

govuk_publishing_components
collections-publisher (not documented in component guide)
release (no component guide)

All three look alike but the two outside of the gem operate as actual links, as opposed to switching between in-page tab content.
We should extend the gem component to include this functionality, then replace usage of the other two with the one from the gem.

All related PRs on this issue have been resolved, so I'm going to close it. We now have only one tabs component on GOV.UK 🎉


Automate initial setup of environment variables

Since creating a .env file manually can get painful if there are too many variables to keep track of, a script that asks the user for input would likely be a good idea

This has been completed


Input queue is empty when calling next_batch

I am using this command to run:
python run_summarization.py --mode=decode --data_path=./finished_files/chunked/test_* --vocab_path=./finished_files/vocab --log_root=./pretrained_model --max_enc_steps=400 --max_dec_steps=120 --coverage=1
But I am getting this warning and nothing happens:
WARNING:tensorflow:Bucket input queue is empty when calling next_batch. Bucket queue size: 0, Input queue size: 400
Any help is appreciated, thanks!

I take out the --max_enc_steps=400 and I get this error:
INFO:tensorflow:Failed to load checkpoint from ./pretrained_model/train. Sleeping for 10 secs...

I am using this command to run:
python run_summarization.py --mode=decode --data_path=./finished_files/chunked/test_* --vocab_path=./finished_files/vocab --log_root=./pretrained_model --max_enc_steps=400 --max_dec_steps=120 --coverage=1
But I am getting this warning and nothing happens:
WARNING:tensorflow:Bucket input queue is empty when calling next_batch. Bucket queue size: 0, Input queue size: 400
Any help is appreciated, thanks!

did you find the cause of this problem, i met this problem too.

It has been awhile since I have worked on this, but I believe the source of the problem was the version of tensorflow I was using with respect to the pre-trained model. I used the pre-trained model for tensorflow 1.2.1. I got mine to work by used that version of tensorflow installed. I hope this helps.

Was anyone able to figure out why this is happening?
Changing the tf version didn't work for me.

Have you solved it now? Changing the TF version is useless for me.

Yes, I think it was about getting to the exact TF versions for me.


More debugging output

Can we put more debugging output into all.r so that anyone can figure out where it fails?

And maybe suppress the SS_output verbage to the screen so that we can see what is happening instead of the reading in of models that are not important.

I just committed some potential changes to all.r and utilities.r to address this.  I'll close this issue and let Chris and Andi decide if it is useful.


Missing bidTime and askTime in EventType.QUOTE

Describe the bug
I'm trying out the new DXLinkStreamer.  bidTime and askTime are missing from the event data. Without any timestamp, we wouldn't know if quotes are still streaming. I'm still using the old DataStreamer and I can confirm that the bidTime and askTime are available.
Symbol = 'SPX'
Streamer Symbol = 'SPXW240119P4975'
'.SPXW240119P4975': Quote(eventSymbol='.SPXW240119P4975', eventTime=0, sequence=0, timeNanoPart=0, bidTime=0, bidExchangeCode='C', bidPrice=137.9, bidSize=1.0, askTime=0, askExchangeCode='C', askPrice=138.7, askSize=1.0)}
How to reproduce
from tastytrade import DXLinkStreamer
from tastytrade.dxfeed import EventType

async with DXLinkStreamer(session) as streamer:
    subs_list = ['SPX']  # list of symbols to subscribe to
    await streamer.subscribe(EventType.QUOTE, subs_list)
    # this example fetches quotes once, then exits
    quote = await streamer.get_event(EventType.QUOTE)
    print(quote)

Quote(eventSymbol='SPX', eventTime=0, sequence=0, timeNanoPart=0, bidTime=0, bidExchangeCode='', bidPrice=4835.73, bidSize='NaN', askTime=0, askExchangeCode='', askPrice=4837.39, askSize='NaN')

I'm a bit confused, in both the examples you posted bidTime and askTime are equivalent, so it doesn't seem to be a difference between the DXFeedStreamer and DXLinkStreamer... Did you mean size perhaps?

Sorry about the confusion. Both examples are using DXLinkStreamer. The streamer symbols are just different.
Here's an example of Datastreamer.  askTime and bidTime are in millisecond epoch.
Quote(eventSymbol='.SPXW240119C4985', eventTime=0, sequence=0, timeNanoPart=0, bidTime=1705674603000, bidExchangeCode='C', bidPrice=0.0, bidSize='NaN', askTime=1705696318000, askExchangeCode='C', askPrice=0.05, askSize=4419.0)

Could you see if it's still a problem with the latest version?

Although I suspect that this is on the API end so there's likely nothing that can be done

Yeah I tried the latest DXLinkStreamer. It's still missing bidTime and askTime. DXFeed still has them.
I'll email Tastytrade support and see if they say about it.
DXLinkStreamer output:
from tastytrade import DXLinkStreamer, DXFeedStreamer
from tastytrade.dxfeed import EventType

async with DXLinkStreamer(session) as streamer:
    subs_list = ['SPX']  # list of symbols to subscribe to
    await streamer.subscribe(EventType.QUOTE, subs_list)
    # this example fetches quotes once, then exits
    quote = await streamer.get_event(EventType.QUOTE)
    print(quote)

Quote(eventSymbol='SPX', eventTime=0, sequence=0, timeNanoPart=0, bidTime=0, bidExchangeCode='', bidPrice=4790.51, bidSize='NaN', askTime=0, askExchangeCode='', askPrice=4898.59, askSize='NaN')

DXFeedStreamer output:
from tastytrade import DXLinkStreamer, DXFeedStreamer
from tastytrade.dxfeed import EventType

async with DXFeedStreamer(session) as streamer:
    subs_list = ['SPX']  # list of symbols to subscribe to
    await streamer.subscribe(EventType.QUOTE, subs_list)
    # this example fetches quotes once, then exits
    quote = await streamer.get_event(EventType.QUOTE)
    print(quote)

Quote(eventSymbol='SPX', eventTime=0, sequence=0, timeNanoPart=0, bidTime=1705702549000, bidExchangeCode='\x00', bidPrice=4790.51, bidSize='NaN', askTime=1705702549000, askExchangeCode='\x00', askPrice=4898.59, askSize='NaN')

Yeah I tried the latest DXLinkStreamer. It's still missing bidTime and askTime. The latest DXFeedStreamer still has them so I will continue to use DXFeed. In the meantime, I'll email Tastytrade support about DXLink and see what they have to say about it.

Sounds good, let me know if you hear anything from them and this gets fixed!

On a side note, I've been trying to test how long I can keep the streams alive for both DXLink and DXFeed. I'm streaming SPX EventType.TRADE and EventType.QUOTE. Are you noticing that the streams stop after a few hours??? On last friday, the streams stop 30mins before the market close. Are you aware of any rate limit or stream limit?

I definitely haven't noticed anything like that, that's weird considering that the streamer should keep on sending heartbeat messages as long as it's open. Are you sure the market was still open? It closes at 4pm EST.

@Graeme22 @pressplay21
If you are streaming a lot of option series this might be due to a memory overflow. The number of quotes that are sent  per second is insane.
The oeverflow exception is unfortunately not always propagated and the streamer just hangs.


Bitmovin deploy

quickly kicking this back to you @zsiec since i found that one file i never updated changes for. Will merge if you think its good and when MediaHub PR is ready


Update hugo to use WithAllClasses from Chroma

Modify hugo to use WithAllClasses() when running hugo gen chromastyles --style=monokai > syntax.css to create CSS stylesheet.
Small change in chroma to output all css class definitions, even if they have redundant coloring with current style. Prevents any modifications to the style from missing elements.
I believe it's only a matter of changing WithClasses to WithAllClasses here.
I will try to see if I can submit a PR, but haven't actually tried compiling hugo yet (still unfamiliar with Go) so noting this here.

I believe it's only a matter of changing WithClasses to WithAllClasses here.

Yes, but we also need to update the Chroma version (could ask him to tag a release version?)

Good point. I'll add it to the chroma issue.


Added options in graphandshapes.html

Related Issue

Info about Issue or bug

Fixes #5340
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.

@Khushi-agarwal any ss or something ??

I have referred to the linearAlgebra.html page as said by @sairish2001 .

This happens because you directly Opened this page, try to open from index.html, by running live server

This happens because you directly Opened this page, try to open from index.html, by running live server

Do I have to make any changes?


(E) and (Z) stereo labels appear so far from stereobonds after calculate cip action

Steps to Reproduce

Open file with structures with stereo bonds
structures_with_stereo_bonds_2.zip

Click on the 'Calculate CIP' button of the main toolbar.

Expected behavior
(E) and (Z) stereo labels appear near from stereobonds
Actual behavior
(E) and (Z) stereo labels appear so far from stereobonds
Screenshots
https://user-images.githubusercontent.com/93334478/147477890-56eb00d4-0cc4-4641-bfd0-70e4d1d25c36.mp4
Desktop (please complete the following information):

OS: Windows 10
Browser  Chrome Version 93.0.4577.63, Firefox Version 94.0.1, Microsoft Edge Version 93.0.961.47

fixed, tested 2.4


Terrain Generation not working, Just square mesh

Describe the bug
When I generate terrain I just get a tiny square, no matter what I do I cant get anything but the square, and importing heightmaps seem to not work. Sometimes when I exit the scene and return to it it causes the program to lag, even crash.
To Reproduce
Steps to reproduce the behavior:

place down a Terrain3D
create terrain
click on ok on create terrain

Expected behavior
Terrain to appear and being able to use the tool with a visual indication like a circle on the terrain
Screenshots
https://ibb.co/McQ85QD
https://ibb.co/k5RX9x1
Desktop (please complete the following information):

OS: Windows 11
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Thank you for the report. This can have a couple of problems. You might want to play with the parameters for "height map algo" and import "height map scale". Would you also mind providing us the height map image you used so we can try to reproduce it.

here is the height map https://ibb.co/smqpLRn

here is the height map https://ibb.co/smqpLRn
Edit: Also I messed with the parameters, didnt work, either I got a square, or nothing at all

I'm on it. Thank you for your input.

Please try updating to this version ( https://godotengine.org/asset-library/asset/1920 ) it says it is for 4.1, but it still works with 4.0

@Sythelux can u add me by discord, that we upgrade rhis project and make a fr together.
DM to sj.on.fire


fix: Merging query parameters and cookies passed to case.call and query parameters passed to case.call_wsgi

Fixes #1705

Codecov Report

Merging #1706 (69bd329) into master (be43dd9) will decrease coverage by 0.40%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master    #1706      +/-   ##
==========================================
- Coverage   98.94%   98.54%   -0.40%
==========================================
  Files          97       97
  Lines        7778     7785       +7
  Branches     1612     1315     -297
==========================================
- Hits         7696     7672      -24
- Misses         49       66      +17
- Partials       33       47      +14

Impacted Files
Coverage Δ

src/schemathesis/models.py
99.13% <100.00%> (+0.01%)
:arrow_up:

src/schemathesis/_compat.py
63.41% <0.00%> (-14.64%)
:arrow_down:

src/schemathesis/specs/openapi/validation.py
76.47% <0.00%> (-11.77%)
:arrow_down:

src/schemathesis/extra/pytest_plugin.py
93.57% <0.00%> (-6.43%)
:arrow_down:

src/schemathesis/runner/impl/threadpool.py
98.27% <0.00%> (-1.73%)
:arrow_down:

src/schemathesis/stateful.py
98.59% <0.00%> (-1.41%)
:arrow_down:

src/schemathesis/cli/callbacks.py
98.84% <0.00%> (-1.16%)
:arrow_down:

src/schemathesis/cli/cassettes.py
98.89% <0.00%> (-1.11%)
:arrow_down:

...c/schemathesis/specs/openapi/negative/mutations.py
98.76% <0.00%> (-0.83%)
:arrow_down:

src/schemathesis/utils.py
97.02% <0.00%> (-0.75%)
:arrow_down:

... and 3 more

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


V5 version When the custom node is dragging, the node "flies" away as soon as it is dragged, which is very distressing, is there a solution?

Describe the bug / 问题描述
自定义节点在拖拽的时候，一开始拖动，节点就“飞”走了，很是苦恼，有解决办法吗？
https://github.com/user-attachments/assets/77d50bb8-0ba5-4f57-8375-59def43b79f0
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
No response

已解决

已解决


Use the project name in the require

Because of how Crystal's require works, the example wouldn't work if you're deploying it to Heroku, for instance (maybe there are other situations).
As far as I could understand it depends on your system considering "Amethyst/amethyst.cr" to exist, when asking for "amethyst/amethyst.cr".
The other solution would be to rename the project to use a lowercase "A", since that's what Crystal is expecting, from what I can tell. Maybe @asterite can shed more light on the matter.

Another solution is to have a file src/Amethyst.cr that is just like the current src/amethyst.cr. Then you can do require "Amethyst".
But yes, project names should be lowercase and the convention is to have a file src/... named exactly as the project name, so probably the project should be renamed to its lowercase version.

OK, I'll rename project to 'amethyst'


Chef fails to create directories when it has permission to do so

Version:
Chef Client 11.14.6
Environment:
Windows 7 x64
Scenario:
Create a directory in C:\Program Files
Steps to Reproduce:
directory "C:\\Program Files\\test" do
    action :create
end

Expected Result:
I would expect the directory to be created.
Actual Result:
The chef client throws an InsufficientPermissions error
  * directory[C:\Program Files\test] action create
    * Cannot create directory[C:\Program Files\test] at C:\Program Files\test due to insufficient permissions
    ================================================================================
    Error executing action `create` on resource 'directory[C:\Program Files\test]'
    ================================================================================

    Chef::Exceptions::InsufficientPermissions
    -----------------------------------------
    Cannot create directory[C:\Program Files\test] at C:\Program Files\test due to insufficient permissions

    Resource Declaration:
    ---------------------
    # In C:/chef/cache/cookbooks/test/recipes/default.rb

     15: directory "C:\\Program Files\\test" do
     16:     action :create
     17: end
     18:

    Compiled Resource:
    ------------------
    # Declared in C:/chef/cache/cookbooks/test/recipes/default.rb:15:in `from_file'

    directory("C:\Program Files\test") do
      provider Chef::Provider::Directory
      action [:create]
      retries 0
      retry_delay 2
      guard_interpreter :default
      path "C:\\Program Files\\test"
      cookbook_name "test"
      recipe_name "default"
    end

In the code, it looks like this is caused by File.writable? returning false for C:\Program Files even though the user has enough permissions.
C:\Windows\system32>irb
irb(main):001:0> ::File.writable?("C:\\Program Files")
=> false
irb(main):002:0> require 'fileutils'
=> true
irb(main):003:0> FileUtils.mkdir("C:\\Program Files\\test")
=> ["C:\\Program Files\\test"]
irb(main):004:0> File.exists?("C:\\Program Files\\test")
=> true

This bug is also documented at: https://tickets.opscode.com/browse/CHEF-4453

+1 on this.

@charlesjohnson Can we get this some attention?  Thank!

+1. If I'd found this issue earlier it would have saved me a lot of work!!!

btw: @carpnick thx for the workaround!!!

Validated 12.1 worked as expected:
directory "my_test_folder"  do
   path "C:\\program files\\test\\abc"
	 recursive true
	 action    :create
 end

 [2015-03-03T18:46:01-05:00] INFO: Processing directory[my_test_folder] action create (eis_lib_chefcore::test line 1)
[2015-03-03T18:46:01-05:00] INFO: directory[my_test_folder] created directory C:\program files\test\abc
<IP_ADDRESS> U

Awesome,
Thanks @carpnick

+1


Enable auto deploy to remote dev environments with commit tag

Description
Feature developers would like to be able to easily deploy code changes for testing in remote dev environments with fewer button clicks 😁
Proposed solution
A possible way to do this is allowing addition of a tag in commit messages (such as #deploy-dev2) and necessary CI/CD infrastructure that will trigger auto deploy to a remote dev environment (such as dev2) when a feature branch is pushed to remote with the tag.
Additional Context
With this proposed change, deploying to a remote dev environment requires just two actions - claiming the environment via slack and pushing a branch with a commit tag.

Team concerns:

rebasing
confusing commit messages

Can we use a git hook instead of a separate workflow? Script that strips the "deploy" message out of the commit and triggers the deploy to the Github Action via API.
May be too much effort for low value prop. Iceboxing for now.


.NET SDK ignore case when using filtering parameters

Brief bug description
When a user fills out a form field on our site.  We use that value in our .NET SDK ContainsFilter to look for that value. But the ContainsFilter and EqualsFilter is case sensitive.   For example the form field is asking for a city.  The users inputs pensacola.  We then use that value (locationValue) into our response  --new ContainsFilter("elements.city", locationValue.Trim()),--  The KC sdk is looking for "pensacola" but we do not get results because the text field in KC contains "Pensacola".
Repro steps

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Correct behavior is that ContainsFilter and EqualsFilter should be able to check for text and ignore case.
Test environment

Platform/OS: .NET 4.61
Browser All browsers
Version [e.g. 22]

Additional context

Hi @Argorob.
Thank you for pointing this issue out.
I've briefly looked into it and I'm afraid that you have stumbled upon limitations of current Delivery API. There is, unfortunately, no way a single SDK can sort this out since it is the API itself that is designed with code names and identifiers rather than text search and loose equality in mind. Since this is the Delivery API feature that is missing here, please, consider submitting the idea for our product roadmap.
I would also like to point out one more thing. You used ContainsFilter with the elements.city field that seems to be a plain string value in your code sample. This filter actually works only for array values as described in the ContainsFilter class comment. I believe that EqualsFilter is actually the only option here since Delivery API does not support partial matching right now. I found an article that suggests otherwise and it is currenly being reviewed to prevent any confusion.
We will also look further into your issue and try to come with some potential workaround(s) that might solve this particular situation.

Hi!
This issue has gone quiet. 👻
It’s been a month since the last update here.
If we missed anything on this issue or if you want to keep it open, please reply here.
Thanks for being a part of the Kentico community!


Add touch swipe invert config

Describe your PR, what does it fix/add?
This PR adds an extra config to invert the touch screen workspace swipe. It's mostly useful for people with 2-in-1 laptops.
It allows for better synchronization between the swipe behavior on a the touch screen vs the touch-pad.
This also addresses the following issue https://github.com/hyprwm/Hyprland/issues/6836
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Nothing of note. This just adds an extra config key and replaces the use of another one.
Is it ready for merging, or does it need work?
It's ready for merging
Wiki PR: https://github.com/hyprwm/hyprland-wiki/pull/722

tanks wiki mr needed

Done


MINOR: Eliminate unnecessary map operations in RecordAccumulator.isMuted

Avoids calling both containsKey and get from isMuted, when only a single get is necessary.
Also avoid calling remove unless necessary. This could be a reduction of map operations
from 3 to 1.
isMuted showed up as a hotspot in profiling when using the producer with high numbers of partitions.

One unrelated test failure in one job and 2 jobs that timed out.

retest this please

I updated the PR description as the changes could reduce the look-ups from 3 to 1 in the case where the partition is unmuted.

Two jobs passed, one failed with flake kafka.api.ConsumerBounceTest.testClose. Merging to master.


Starting "continue" server manually

Following instructions at https://continue.dev/docs/walkthroughs/manually-run-continue, I started the server manually with the command ./dist/run. I received the following output:
Certificates at:  /var/folders/g_/_bggj09s1z183t3_j5jy1r9c0000gn/T/_MEIpzSD3F/ca_bundle/cacert.pem
Running Continue server version 0.0.350
INFO:     Started server process [80424]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:65432 (Press CTRL+C to quit)

I then start Visual Studio Code, and click on the "continue" icon. At that point the "Continue Server Starting` appears with the spinning wheel, and never exits. The settings have been modified to state I am starting the server manually. The Server URL (in settings) is http://localhost:8080:65432
At this point, I do not know what to do. I would not expect the "continue" server to start since I started it manually.
Thanks for any insight or any pointers to look at.
Gordon

The first thing I notice is the URL http://localhost:8080:65432.  If not, your problem would be solved by replacing it with http://localhost:65432.

@sestinj: that solved the problem. So right now, I am using the ChatGPT model with my API key. What I really want is to run llama.cpp with llama code on a remote machine with different IP address than my machine. I have tried this before but unsuccessfully. Is .continue/config.py the only file that requires modification, assuming I still start the continue server manually? Thanks.

Yes, that is the only file you should have to edit. If you haven't already seen it, this is our reference page for using Llama.cpp: https://continue.dev/docs/reference/Models/llamacpp
This is if you're running the llama.cpp server, is that what you're doing?
I can also give better instructions on actually setting up that server and the options if that would help

Thanks. I read the docs you refer to again. You write that config.py should contain the following:
config = ContinueConfig(
    ...
    models=Models(
        default=LlamaCpp(
            max_context_length=4096,
            server_url="http://localhost:8080")
    )
)

I assume that localhost should be replaced by the IP of the machine that Llama.cpp is running on? VisualStudioCode is running on localhost.  Let me try again. If I have issues, I'll write another message.

Here is my "other message" :-) with more details. Llama.cpp runs on a remote machine with IP address x.y.z.w   . I execute the Llama.cpp server with the following command:
./server -m models/codellama-7b-instruct.Q4_K_M.gguf --host <IP_ADDRESS>

I modify the config.py file and then execute ./dist/run. Here is the relevant section of the config.py file:
"""
This is the Continue configuration file.

See https://continue.dev/docs/customization to for documentation of the available options.
"""

from continuedev.src.continuedev.core.models import Models
from continuedev.src.continuedev.core.config import CustomCommand, SlashCommand, ContinueConfig
from continuedev.src.continuedev.plugins.context_providers.github import GitHubIssuesContextProvider
from continuedev.src.continuedev.libs.llm.maybe_proxy_openai import MaybeProxyOpenAI

from continuedev.src.continuedev.libs.llm.llamacpp import LlamaCpp

from continuedev.src.continuedev.plugins.steps.open_config import OpenConfigStep
from continuedev.src.continuedev.plugins.steps.clear_history import ClearHistoryStep
from continuedev.src.continuedev.plugins.steps.feedback import FeedbackStep
from continuedev.src.continuedev.plugins.steps.comment_code import CommentCodeStep
from continuedev.src.continuedev.plugins.steps.share_session import ShareSessionStep
from continuedev.src.continuedev.plugins.steps.main import EditHighlightedCodeStep
from continuedev.src.continuedev.plugins.steps.cmd import GenerateShellCommandStep
from continuedev.src.continuedev.plugins.context_providers.search import SearchContextProvider
from continuedev.src.continuedev.plugins.context_providers.diff import DiffContextProvider
from continuedev.src.continuedev.plugins.context_providers.url import URLContextProvider
from continuedev.src.continuedev.plugins.context_providers.terminal import TerminalContextProvider

config = ContinueConfig(
    allow_anonymous_telemetry=True,
    models=Models(
        default=LLamaCpp(
            max_context_length = 1024,
            server_url="http://x.y.z.w:8080"
        )
    ),
    system_message="",
    temperature=0.5,

The URL of the Continue server (in the VSC settings), remains https://localhost:65432.
Finally, here is the stacktrace I get when I click on the continue extension in VSC:
Invalid Continue Config File

Falling back to default config settings due to the following error in ~/.continue/config.py.

Invalid Continue Config File
Falling back to default config settings due to the following error in ~/.continue/config.py.

Falling back to default config settings due to the following error in ~/.continue/config.py.

Traceback (most recent call last):
File "continuedev/src/continuedev/core/sdk.py", line 75, in create
sdk.config = config or sdk._load_config_dot_py()
File "continuedev/src/continuedev/core/sdk.py", line 242, in _load_config_dot_py
config = ContinueConfig.from_filepath(path)
File "continuedev/src/continuedev/core/config.py", line 112, in from_filepath
spec.loader.exec_module(config)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/erlebach/.continue/config.py", line 30, in
default=LLamaCpp(
NameError: name 'LLamaCpp' is not defined
I get I have to do a `pip install LlamaCpp`? I did not see that in the instructions.

Thanks!

The code works. I had a spelling error. Thanks for getting me over the hump. Now I must explore the various models. Great job with the development of continue!

Glad to hear! If you have any more questions don't hesitate to ask in our Discord! https://discord.gg/RKcHQgxy5N


generic templating framework for dag generation through the definition of starlake python operators - WIP

Summary
add python interface for starlake base operator,
add classes to implement starlake base operator for bash, cloud run and dataproc
add generic dag template to load domain and implements it using bash, cloud and dataproc starlake operators
add generic dag template to transform and implements it using bash, cloud and dataproc starlake operators
PR Type: Feature
Status: WIP
Breaking change? No

Just requested from @tiboun to review it


[QUESTION] Change name of notes folder

Hello,
can I change the name of the note's folder? Currently, the name of the folder is "_simple_calendar_notes_directory". If I change the folder name, the module ignores it and creates again the folder with the name "_simple_calendar_notes_directory".
Did I miss a something in the configuration, or would it be an additional function?
Thanks!
PS: thank you very much in general for creating and updating this module!!!

Oh this looks like a bug, or I forgot to allow for it. Either way in the final release you will be able to rename the folder!


Function fields are not filled

import marshmallow_objects as marshmallow

class Model(marshmallow.Model):
    id = marshmallow.fields.Str()
    created_at = marshmallow.fields.Function(lambda obj: datetime.now())

m1 = Model(id="test")
m2 = Model(id="test")
m1 == m2  # True
m1.created_at is None  # True

It is a weird behaviour because model representation show the created_at field, but it is None when I try to get it.

Thanks, I know about this issue, but I still didn't solve it.

Seems It's a behavior of Marshmallow, if there is no filed created_at in a data then Marshmallow doesn't call deserialize function.
So, here is working example:
import datetime

import marshmallow_objects as marshmallow

class Model(marshmallow.Model):
    id = marshmallow.fields.Str()
    created_at = marshmallow.fields.Function(
        serialize=lambda obj: obj.created_at,
        deserialize=lambda obj: datetime.datetime.now())

m1 = Model(id="test")
m2 = Model(id="test", created_at=1)
m1.created_at   # None
m2.created_at   # 2018-03-11 16:49:37.232061

m1.dump()   # {'id': 'test', 'created_at': None}
m2.dump()   # {'id': 'test', 'created_at': datetime.datetime(2018, 3, 11, 16, 49, 37, 232061)}

Here is a proof:
class Schema(marshmallow.Schema):
    id = marshmallow.fields.Str()
    created_at = marshmallow.fields.Function(
        serialize=lambda obj: obj.created_at,
        deserialize=lambda obj: datetime.datetime.now())

schema = Schema()
m1 = schema.load(data=dict(id="test"))
m2 = schema.load(data=dict(id="test", created_at=1))
print(m1.data)   # {'id': 'test'}
print(m2.data)   # {'id': 'test', 'created_at': datetime.datetime(2018, 3, 11, 17, 2, 40, 124940)}

As a solution, I can add a hack - if a deserialize is defined then I can call that function at a load()

I found:
import datetime

import marshmallow_objects as marshmallow

class Model(marshmallow.Model):
    id = marshmallow.fields.Str()
    created_at = marshmallow.fields.Function(
        serialize=lambda obj: obj.created_at,
        deserialize=lambda obj: datetime.datetime.now(),
        missing='any value, but not None'
    )

m1 = Model(id="test")
print(m1.created_at)   # 2018-03-11 18:19:07.894453

print(m1.dump())   # {'id': 'test', 'created_at': datetime.datetime(2018, 3, 11, 18, 19, 7, 894453)}

There is a special attribute missing, It's like a default value if field doesn't exist in data. In your case you can put any value into missing except None. Also you need to define deserialize function and serialize if you are going to dump an object.

Didn't knew that! Yes, missiing is what I need. It totally solve the issue. I was using the Function field wrong. :+1:


Question: How set CONTENT_TYPE, "text/javascript"  in response.js

exist: from_html(),  from_json() ? But I need set CONTENT_TYPE, "text/javascript"
exist: with_headers(). But I can't figure out how to use it.
A simple example is very appreciated.

Usage of headers is very easy. Something like this should work:
use worker::*;

#(event[fetch])
pub async fn main(_request: Request, _env: Env) -> Result<Response> {
    // create new headers
    let mut headers = Headers::new();
    // append header
    headers.append("Your-Header", "Value").unwrap();

    return Ok(Response::ok("Your Content")?.with_headers(headers));
}

Ooo! Yes! It's work. Thanks


[module] raylib_compile_execute.bat

raylib_compile_execute.bat
There is an "I" for librarys links, it should be L

Updated!


🐛 [cloud_functions ] Calling function on cloud_functions 0.7.0+1,  throws exception

Bug report
Steps to reproduce
1.. Deploy official function from https://flutter-firebase-docs.web.app/docs/functions/usage/#calling-endpoints
const functions = require('firebase-functions');

exports.listFruit = functions.https.onCall((data, context) => {
  return ["Apple", "Banana", "Cherry", "Date", "Fig", "Grapes"]
});

Add the following packages in your pubspec.yaml

  cloud_functions: ^0.7.0+1
  firebase_core: ^0.5.2

Use the minimal code sample below

code sample
// Copyright 2018, the Chromium project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:cloud_functions/cloud_functions.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  FirebaseFunctions.instance
      .useFunctionsEmulator(origin: 'http://localhost:5001');
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  List<dynamic> listOfFruits;
  String exceptionMessage = '';

  @override
  Widget build(BuildContext context) {
    final HttpsCallable callable = FirebaseFunctions.instance.httpsCallable(
        'listFruit',
        options: HttpsCallableOptions(timeout: const Duration(seconds: 30)));
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Cloud Functions example app'),
        ),
        body: Center(
          child: Container(
            margin: const EdgeInsets.only(top: 32.0, left: 16.0, right: 16.0),
            child: Column(
              children: [
                Text(listOfFruits.toString() ?? exceptionMessage),
                MaterialButton(
                  child: const Text('Get Fruits'),
                  onPressed: () async {
                    try {
                      final HttpsCallableResult result = await callable.call();
                      print(result.data);
                      listOfFruits = [];
                      setState(() {
                        for (var item in result.data) {
                          listOfFruits.add(item);
                        }
                      });
                    } on FirebaseFunctionsException catch (e) {
                      print('caught firebase functions exception');
                      print(e.code);
                      print(e.message);
                      print(e.details);
                      setState(() {
                        listOfFruits = null;
                        exceptionMessage =
                            "caught firebase functions exception\n${e.code}\n${e.message}\n${e.details}";
                      });
                    } catch (e) {
                      print('caught generic exception');
                      print(e);
                    }
                  },
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Run the app and tap Get fruits button and see it doesn't update text view and instead throws an exception.

I/flutter ( 9134): caught firebase functions exception
I/flutter ( 9134): unavailable
I/flutter ( 9134): UNAVAILABLE

Same official function works fine if you use earlier code sample and package version

Updating  pubspec.yaml, comment out  firebase_core and change to cloud_functions: ^0.5.0 (earlier version)

  cloud_functions: ^0.5.0
  # firebase_core: ^0.5.2

Use the minimal code sample below (which doesn't use firebse_core)

code sample
// Copyright 2018, the Chromium project authors.  Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:cloud_functions/cloud_functions.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  List<dynamic> listOfFruits;
  String exceptionMessage = '';

  @override
  Widget build(BuildContext context) {
    final HttpsCallable callable = CloudFunctions.instance
        .getHttpsCallable(functionName: 'listFruit')
          ..timeout = const Duration(seconds: 30);
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Cloud Functions example app'),
        ),
        body: Center(
          child: Container(
            margin: const EdgeInsets.only(top: 32.0, left: 16.0, right: 16.0),
            child: Column(
              children: [
                Text(listOfFruits.toString() ?? exceptionMessage),
                MaterialButton(
                  child: const Text('Get Fruits'),
                  onPressed: () async {
                    try {
                      final HttpsCallableResult result = await callable.call();
                      print(result.data);
                      listOfFruits = [];
                      setState(() {
                        for (var item in result.data) {
                          listOfFruits.add(item);
                        }
                      });
                    } on CloudFunctionsException catch (e) {
                      print('caught firebase functions exception');
                      print(e.code);
                      print(e.message);
                      print(e.details);
                      setState(() {
                        listOfFruits = null;
                        exceptionMessage =
                            "caught firebase functions exception\n${e.code}\n${e.message}\n${e.details}";
                      });
                    } catch (e) {
                      print('caught generic exception');
                      print(e);
                    }
                  },
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Run the app and tap Get fruits button and you will see text view is updated list of fruits

Preview

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.19042.610], locale en-US)
    • Flutter version 1.22.3 at C:\Code\flutter_stable
    • Framework revision 8874f21e79 (12 days ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.1.0)
    • Android Studio at C:\Code\android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.51.0)
    • VS Code at C:\Users\taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 10 (API 29)

! Doctor found issues in 1 category.

Flutter dependencies
Click To Expand
Dart SDK 2.10.3
Flutter SDK 1.22.3
triage 1.0.0+1

dependencies:
- cloud_functions 0.7.0+1 [meta flutter firebase_core firebase_core_platform_interface cloud_functions_platform_interface cloud_functions_web]
- cupertino_icons 0.1.3
- firebase_core 0.5.2 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- cloud_functions_platform_interface 3.0.1 [flutter meta firebase_core plugin_platform_interface]
- cloud_functions_web 3.0.1 [firebase_core cloud_functions_platform_interface flutter flutter_web_plugins firebase http_parser meta]
- collection 1.15.0-nullsafety.3
- fake_async 1.2.0-nullsafety.1 [clock collection]
- firebase 7.3.0 [http http_parser js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- http 0.12.1 [http_parser path pedantic]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- js 0.6.1+1
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- path 1.8.0-nullsafety.1
- pedantic 1.9.0
- plugin_platform_interface 1.0.2 [meta]
- quiver 2.1.3 [matcher meta]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner
term_glyph matcher]
- typed_data 1.3.0-nullsafety.3 [collection]
- vector_math 2.1.0-nullsafety.3```

I can reproduce this on the the latest flutter master 1.24.0-8.0.pre.194 with cloud_functions: ^0.7.0 but not with cloud_functions: ^0.6.0+1.

flutter doctor -v
[√] Flutter (Channel master, 1.24.0-8.0.pre.194, on Microsoft Windows [Version 10.0.19041.572], locale et-EE)
    • Flutter version 1.24.0-8.0.pre.194 at C:\Development\flutter_master
    • Framework revision 018467cdb1 (2 hours ago), 2020-11-11 02:04:03 -0500
    • Engine revision 81f219c59c
    • Dart version 2.12.0 (build 2.12.0-31.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2020.2)
    • IntelliJ at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\202.7660.26
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (5 available)
    • SM G950F (mobile) • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • Windows (desktop) • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.572]
    • Web Server (web)  • web-server         • web-javascript • Flutter Tools
    • Chrome (web)      • chrome             • web-javascript • Google Chrome 86.0.4240.183
    • Edge (web)        • edge               • web-javascript • Microsoft Edge 86.0.622.63

• No issues found!

I also got this when try to run flutter run
Note: /home/bolt/dev/data/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_functions-0.7.0+1/android/src/main/java/io/flutter/plugins/firebase/functions/FlutterFirebaseFunctionsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

pubspec.yml
  firebase_core: 0.5.2
  cloud_functions: 0.7.0+1

[✓] Flutter (Channel stable, 1.22.4, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.4 at /home/bolt/dev/data/flutter
    • Framework revision 1aafb3a8b9 (5 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

Android Studio 4.1

Works again with:
Flutter 1.26.0-1.0.pre • channel dev
cloud_functions: 0.7.2

Still can't run, getting I/flutter (12155): [firebase_functions/deadline-exceeded] DEADLINE_EXCEEDED
dependencies:
  flutter:
    sdk: flutter
  cloud_functions: ^0.7.2
  cupertino_icons: ^0.1.3
  firebase_core: ^0.5.3

I'm getting deadline-exceeded exception  as well on the Web platform.
The error appears inconsistently and only when using httpsCallable.
The exception appears even though the cloud function executed successfully. Since the function in question only writes data to Firestore, I was able to confirm that the results were actually written. Also the functions logs on the firebase console shows successful execution.
The main issue here is that the response is lost because of this exception plus the uncertainty of what's happening (ie fear of a high bill).
Exception with the Stack Trace:
[firebase_functions/deadline-exceeded] deadline-exceeded
=========================================== stack trace:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 231:49  throw_
packages/cloud_functions_web/https_callable_web.dart 44:7                     call
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 60:31            <fn>
dart-sdk/lib/async/zone.dart 1451:54                                          runBinary
dart-sdk/lib/async/future_impl.dart 164:20                                    handleError
dart-sdk/lib/async/future_impl.dart 720:46                                    handleError
dart-sdk/lib/async/future_impl.dart 741:13                                    _propagateToListeners
dart-sdk/lib/async/future_impl.dart 549:5                                     [_completeError]
dart-sdk/lib/async/future_impl.dart 605:7                                     callback
dart-sdk/lib/async/schedule_microtask.dart 41:11                              _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 50:5                               _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15           <fn>
TypeError: Cannot read property 'Symbol(dartx.forEach)' of null
    at Function.from (http://localhost:56045/dart_sdk.js:40763:14)
    at callFunction (http://localhost:56045/packages/foro/src/services/firestore_service.dart.lib.js:132:64)
    at callFunction.next (<anonymous>)
    at http://localhost:56045/dart_sdk.js:38561:33
    at _RootZone.runUnary (http://localhost:56045/dart_sdk.js:38418:58)
    at _FutureListener.thenAwait.handleValue (http://localhost:56045/dart_sdk.js:33395:29)
    at handleValueCallback (http://localhost:56045/dart_sdk.js:33955:49)
    at Function._propagateToListeners (http://localhost:56045/dart_sdk.js:33993:17)
    at _Future.new.[_completeError] (http://localhost:56045/dart_sdk.js:33843:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:56045/dart_sdk.js:33882:31)
    at Object._microtaskLoop (http://localhost:56045/dart_sdk.js:38676:13)
    at _startMicrotaskLoop (http://localhost:56045/dart_sdk.js:38682:13)
    at http://localhost:56045/dart_sdk.js:34209:9

Firebase Dependencies
pubspec.yaml:
  firebase_core : ^0.5.0
  firebase_auth: ^0.18.1
  cloud_firestore: ^0.14.1
  firebase_storage: ^5.2.0
  firebase_analytics: ^6.0.2
  cloud_functions: ^0.7.2

index.html :
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-app.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-auth.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-storage.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-firestore.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-functions.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-analytics.js"></script>

Flutter Doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.145, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)

• No issues found!

Please let me know if you need any additional information. Unfortunately, I'm not able to reproduce the error consistently because it doesn't appear all the time but it comes up frequently.

I'm getting deadline-exceeded exception  as well on the Web platform.
The error appears inconsistently and only when using httpsCallable.
The exception appears even though the cloud function executed successfully. Since the function in question only writes data to Firestore, I was able to confirm that the results were actually written. Also the functions logs on the firebase console shows successful execution.
The main issue here is that the response is lost because of this exception plus the uncertainty of what's happening (ie fear of a high bill).
Exception with the Stack Trace:
[firebase_functions/deadline-exceeded] deadline-exceeded
=========================================== stack trace:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 231:49  throw_
packages/cloud_functions_web/https_callable_web.dart 44:7                     call
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 60:31            <fn>
dart-sdk/lib/async/zone.dart 1451:54                                          runBinary
dart-sdk/lib/async/future_impl.dart 164:20                                    handleError
dart-sdk/lib/async/future_impl.dart 720:46                                    handleError
dart-sdk/lib/async/future_impl.dart 741:13                                    _propagateToListeners
dart-sdk/lib/async/future_impl.dart 549:5                                     [_completeError]
dart-sdk/lib/async/future_impl.dart 605:7                                     callback
dart-sdk/lib/async/schedule_microtask.dart 41:11                              _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 50:5                               _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 166:15           <fn>
TypeError: Cannot read property 'Symbol(dartx.forEach)' of null
    at Function.from (http://localhost:56045/dart_sdk.js:40763:14)
    at callFunction (http://localhost:56045/packages/foro/src/services/firestore_service.dart.lib.js:132:64)
    at callFunction.next (<anonymous>)
    at http://localhost:56045/dart_sdk.js:38561:33
    at _RootZone.runUnary (http://localhost:56045/dart_sdk.js:38418:58)
    at _FutureListener.thenAwait.handleValue (http://localhost:56045/dart_sdk.js:33395:29)
    at handleValueCallback (http://localhost:56045/dart_sdk.js:33955:49)
    at Function._propagateToListeners (http://localhost:56045/dart_sdk.js:33993:17)
    at _Future.new.[_completeError] (http://localhost:56045/dart_sdk.js:33843:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:56045/dart_sdk.js:33882:31)
    at Object._microtaskLoop (http://localhost:56045/dart_sdk.js:38676:13)
    at _startMicrotaskLoop (http://localhost:56045/dart_sdk.js:38682:13)
    at http://localhost:56045/dart_sdk.js:34209:9

Firebase Dependencies
pubspec.yaml:
  firebase_core : ^0.5.0
  firebase_auth: ^0.18.1
  cloud_firestore: ^0.14.1
  firebase_storage: ^5.2.0
  firebase_analytics: ^6.0.2
  cloud_functions: ^0.7.2

index.html :
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-app.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-auth.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-storage.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-firestore.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-functions.js"></script>
  <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-analytics.js"></script>

Flutter Doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.145, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)

• No issues found!

Please let me know if you need any additional information. Unfortunately, I'm not able to reproduce the error consistently because it doesn't appear all the time but it comes up frequently.

Any news on this? Cloud functions seems to be totally broken for web.

Any news on this? Cloud functions seems to be totally broken for web.

I'm getting DEADLINE_EXCEEDED as well on latest (as of now) cloud_functions on mobile.
flutter doctor -v:
D:\Dev\IdeaProjects\morada-dos-sonhos>flutter doctor -v
[√] Flutter (Channel dev, 2.1.0-12.1.pre, on Microsoft Windows [versÃ£o 10.0.19041.867], locale pt-BR)
    • Flutter version 2.1.0-12.1.pre at D:\Dev\Android\flutter
    • Framework revision 8264cb3e8a (6 days ago), 2021-03-10 12:37:57 -0800
    • Engine revision 711ab3fda0
    • Dart version 2.13.0 (build 2.13.0-116.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at D:\Dev\Android
    • Platform android-30, build-tools 29.0.3
    • ANDROID_HOME = D:\Dev\Android
    • Java binary at: C:\Program Files\Java\jdk1.8.0_241\bin\java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.2
    • Flutter plugin version 53.1.5
    • Dart plugin version 203.6912

[√] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 89.0.4389.82
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 89.0.774.45

! Doctor found issues in 1 category.

Is this still an issue, I've not seen it on our testing suite and other local testing we do?

Hi @Salakar
I just created a fresh sample on the latest versions and deployed the function
Calling the function gets the results
Preview
 |
Thank you so much


DEC-1069 Fix for custom slug update

Bug: Custom slug updates via the UI were failing
Fix: Thought that this was related to caching but it ended up being related to the permitted save params. This was due to changes in the model and removing the custom_slug method earlier. Adding url_slug to the permitted params list resolved the issue.

👍

👍

Coverage decreased (-0.0009%) to 96.211% when pulling b40db9bba9256561d193efe44b5c84f2251ab9de on DEC-1069-fix-cache-bug-custom-slug into 2e2e832a50e581aecbbaa1169d543633ec5a3346 on master.


Remove "Not applicable" from Beneficial Use values

https://westdaat.westernstateswater.org/?state=N4IgtghgDiBcoC8D2SwBkCmA3DAbOAzAHQCsAbAQQEwCMFdALAQAw0CcANCLhAC4CWvAK4ATDHAbMiAdjo0CXXEgB2Ac0GjxsALQAONkWaTp0gL5cA7gCc4oAEYZlGAGb8Axvwi4AqgGcMAHIQYBi%2BcADaIAFIvAAEAIJQULjuEHa44gC6XPy%2BAbgi-ABi-Li8GFbxbgI4cM5e-qamQA

Issue resolved. Just a "Not Applicable" wade beneficia use label squeezed in for an unspecified use.


Provide mechanism to configure XContent parsing constraints (after update to Jackson 2.15.0 and above)

Description
Provide mechanism to configure XContent parsing constraints (after update to Jackson 2.15.0 and above)
Related Issues
Resolves #7549

Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@andrross @dblock curious what do you think folks, @martin-gaievski @ylwu-amzn fyi

@andrross could you please review again, seems that Andriy (reta) has been addressed your previous comments? This change should unblock several plugins that are blocked by jackson 2.15 upgrade

@reta Sorry I missed this prior to merging, but since this introduces a new setting for cluster operators I think this merits a changelog entry. What do you think?

@reta Sorry I missed this prior to merging, but since this introduces a new setting for cluster operators I think this merits a changelog entry. What do you think?

I will do that (in a moment) and also include the documentation issue, thank you


Add sorting algorithms

I added the sorting techniques as much as I know.

Add the bubble sort algorithm under appropriate folder


Update eclipse-che operator for openshift to release 7.16.0

Signed-off-by: Mykhailo Kuznietsov<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/test CVP

/test CVP

/test CVP

@jozzi @mvalahtv hello, could you please clarify why the annotation  'operatorframework.io/cluster-monitoring' is disallowed?
it was added to the csv as part of https://github.com/eclipse/che-operator/pull/339

@jozzi @mvalahtv can you tell us if the annotation in question should be removed, and if so, why? As in comment above, it is tied to a certain functionality

/test CVP

@mkuznyetsov @ibuziuk, please remove operatorframework.io/cluster-monitoring annotation. It is disallowed for community-operators, new check is catching it. Reason could provide someone from CVP team. Not known for me.

Thanks for the response. I will close this PR and open a new one for a newer version, and without that annotation :+1:


users: support on OpenBSD

Following PR#5620
users tool is not supported on OpenBSD, due to the lack of support for utmpx (see https://github.com/uutils/coreutils/issues/5596).
=> implement users on OpenBSD with an alternate solution without using utmpx.

I would be glad to work on this. I'm an occasional OpenBSD user and tried compiling coreutils there; which worked smoothly, But obviously no users (and pingy, who, ...).
Since this is a larger contribution than what I've done before on this project, I've decided to ask first & propose my solution.
My idea is adding a utmp module alongside utmpx and use it when retrieving data from related files (say /var/run/utmp for users).
Would be glad to have your comments & suggestions.

Great news if I'm not the only dev to work on OpenBSD support for coreutils :)
I have also a partial implementation of users with a new utmp module to grep infos in /var/run/utmp. I think this is the right solution. I would be interested to review your code if you propose a PR.
(WIP for me to add CI support for OpenBSD)


TimeoutError: [Errno 60] Operation timed out

Mac
Python 3.5.2
Hi! First of all thanks for this tutorial.
I am trying to run the program but a timed out exception stops the program execution. I am using a Mac, so I followed the corresponding steps stated in the INSTALL.txt file. To test the installation, I ran python3 mnist_1.0_softmax.py and the following error raised.
$ python3 mnist_1.0_softmax.py
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1151, in _send_request
    self.endheaders(body)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 934, in _send_output
    self.send(msg)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 877, in send
    self.connect()
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 849, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/socket.py", line 711, in create_connection
    raise err
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/socket.py", line 702, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "mnist_1.0_softmax.py", line 39, in <module>
    mnist = read_data_sets("data", one_hot=True, reshape=False, validation_size=0)
  File "/Users/lucasrodes/.env/dl/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 211, in read_data_sets
    SOURCE_URL + TRAIN_IMAGES)
  File "/Users/lucasrodes/.env/dl/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 208, in maybe_download
    temp_file_name, _ = urlretrieve_with_retry(source_url)
  File "/Users/lucasrodes/.env/dl/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 165, in wrapped_fn
    return fn(*args, **kwargs)
  File "/Users/lucasrodes/.env/dl/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 190, in urlretrieve_with_retry
    return urllib.request.urlretrieve(url, filename)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 188, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1282, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 60] Operation timed out>

I am using a virtual environment using Python 3.5.2. Do you have any idea why this is happening?
Thanks in advance!

It looks like http://yann.lecun.com is down right now - it is probably why it does not work.
Maybe it make sense to have mirror somewhere else in addition to original source - so in this case download can back up to another source.
https://github.com/martin-gorner/tensorflow-mnist-tutorial/issues/19#issuecomment-283572206

Download the files from this answer and it should work:
https://github.com/martin-gorner/tensorflow-mnist-tutorial/issues/19#issuecomment-284251463

Thanks for the reference!
I downloaded the files mentioned by #19 (comment), placed them in the folder data (note: WITHOUT extracting) and it worked like a charm!


[COMP]: InView: off-screen exit animations should be instant

We should set the animation durations to zero for exit transitions, only when matchRootMarginToThreshold={true}.
Currently, if you have even a slight duration on your InView animations, you can quickly scroll back up and see them in a half-transitioned state.

I'm going to treat this one as blocked until this issue is resolved on the wethegit/react-hooks package: https://github.com/wethegit/react-hooks/issues/16


Permanently delete soft deleted / trashed records

Because most customers that the company I work for works with need to be able to permanently delete records (for many reasons obviously) I would like to requrest this feature...
And also, is there a temp workaround, because I deliver my product thursday and now I found out Twill does not allow permanent deletion which I find really weird that nobody thought of this??

Hey @vacoup95, for now I would suggest adding a new function or overriding the delete function from ModuleController to do the force delete.

@yanhao-li thanks, do you know when this feature will be added? I feel like everyone from Twill just disappeared :(

Hahaha that’s because these days our team are attending the laracon 2019, sorry for the inconvenience!
I think the feature itself is not hard to implement, but we have more things need to be considered, like how to maintain browser relationship after force deleting? How to deal with nested modules? I can totally understand this is a rigid demand, but these questions need to be took care of properly, and maybe our answers/solution can’t perfectly fit your use case. I will still encourage you to build your own solution for now, and we hear you, and will implement it ASAP. @vacoup95


Is base64 data parsing supported？

code like this: postdata = {'image':b64encode(data).decode()}

AFAIK - no. You have to use some library (maybe: https://github.com/ReneNyffenegger/cpp-base64 ?).

i have done！thanks
| |
夏**
|
|
<EMAIL_ADDRESS>|
签名由 网易邮箱大师 定制
On 06/30/2020 19:27, Igor Mroz wrote:
AFAIK - no. You have to use some library (maybe: https://github.com/ReneNyffenegger/cpp-base64 ?).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

it's worth noting while crow does not support base64 decoding, it does support encoding using crow::utility::base64encode(data, size) and crow::utility::base64encode_urlsafe(data, size)


update for zig 0.9.0

Allocgate changes

Thank you for the pull request! Tests ran fine on my computer, everything looks good to me.


[SMALLFIX] Fix liquid warnings

It seems like we're supposed to use collection[key] instead of collection.[key]. Without these changes I would get dozens of liquid warnings when trying to build the docs. After these changes the docs still build fine for me.
@waltonryan do you know if this will cause issues on the website?
https://ecommerce.shopify.com/c/ecommerce-discussion/t/liquid-warning-152301
https://github.com/jekyll/jekyll/issues/5368

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13215/
Test PASSed.

@aaudiber It's worth doing a test build of this PR in the website repository to make sure the docs build as expected there. This change looks good to me.

@waltonryan I build the docs for the website and these changes don't seem to have changed any functionality 👍


Golang builder missed sandbox method

Golang builder missed sandbox, start, and stop methods.
Branch: development_builder , Commit ID: 73933ea29f95e238c765344c01fe39e05e7348ea

not really needed?
its a requirement for builders to work, why would this have to be started/stopped/sandboxed?

will not resolve, because not needed


Apptainer seems to cache images still in the user home directory

Describe the bug
Colby reported they are having some issues on Purdue Anvil where the .apptainer directory in the home dir is getting filled up with cache files (in /home/x-ob/.apptainer/cache/oci-tmp and /home/x-ob/.apptainer/cache/blob)
Here are some example files:
[x-ob@login02.anvil](mailto:x-ob@login02.anvil):[oci-tmp] $ du -h *
3.2M    1fa120974c9760d03badf8ff7aacb5b3bb55da23bea28e2f400506be2facb566
5.1G    3e6df1d51bb123027da307beb0bc1bc0854effb6bfb3a6eb356fb52323d7b50a
2.7M    593911a010c350b55c7b9099cce1cb778a0c92683bd714481765c2b352ca3618
5.1G    a4d322c0307085a2c66afb87abad86ec480c58ecc518ecade71133814a825a3f

Looking through job logs here are what we are seeing for the apptainter/singularity variables:
'APPTAINER_CACHEDIR=$(GLIDEIN_LOCAL_TMP_DIR)'
GLIDEIN_LOCAL_TMP_DIR=/tmp/glide_x-ob_X992YJ

To Reproduce
Jobs running at Purdue Anvil
Expected behavior
All Apptainer cache files should be in the Glidein dir in /tmp
Screenshots
If applicable, add screenshots and/or console outputs to help explain your problem.
Info (please complete the following information):
Stakeholders and components can be a comma-separated list or on multiple lines.
If you add a new stakeholder or component, not on the sample list, add it on a line on its own.

GlideinWMS version: 3.10.7
Python version:
OS version:
HTCondor version:
Priority: high
Stakeholders: FactoryOps
Components: glidein

Additional context
This should have been fixed in 3.10.7, see PR #404 and issue #403 .
Those variables (APPTAINER/SINGULARITY_CACHEDIR and APPTAINER/SINGULARITY_TMPDIR) are not set/modified by the site or operators.
Apptainer debug messages should be visible enabling debug:
To troubleshoot you can set GLIDEIN_DEBUG_OUTPUT to True and GLIDEIN_DEBUG_OPTIONS to userjob . This will add debug messages to the job stderr, including the apptainer invocation and debug messages.
The other test is to set the variables APPTAINER/SINGULARITY_CACHEDIR and  APPTAINER/SINGULARITY_TMPD explicitly (using params)

This file prints extra messages:
singularity_lib.sh.txt


Address CRAN comments

Close #925
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Code is formatted according to the tidyverse style guide
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue so that it closes after successful merging.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done!  Much love to your accomplishment!

@thomas-neitmann , I think we need a second pull request to merge this feature branch into main. We can not merge devel into main because it includes already features for 0.7.0.

Will do that 👍

Closing this as the changes have been directly merged into main. Once the package gets on CRAN, let's merge main into devel.


Build error: optimization flag '-fno-fat-lto-objects' is not supported

This is output from cmake --build ./build in the Docker container (Ubuntu host machine):
[  0%] Building CXX object _deps/fmt-build/CMakeFiles/fmt.dir/src/format.cc.o
[  0%] Building CXX object _deps/fmt-build/CMakeFiles/fmt.dir/src/os.cc.o
[  0%] Linking CXX static library libfmt.a
[  0%] Built target fmt
[  0%] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/spdlog.cpp.o
[  1%] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o
[  1%] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/color_sinks.cpp.o
[  1%] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/file_sinks.cpp.o
[  1%] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/async.cpp.o
[  3%] Building CXX object _deps/spdlog-build/CMakeFiles/spdlog.dir/src/cfg.cpp.o
[  3%] Linking CXX static library libspdlog.a
[  3%] Built target spdlog
[  5%] Building CXX object src/sample_library/CMakeFiles/sample_library.dir/sample_library.cpp.o
error: optimization flag '-fno-fat-lto-objects' is not supported [clang-diagnostic-ignored-optimization-argument,-warnings-as-errors]
7 warnings generated.
Suppressed 6 warnings (6 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
1 warning treated as error
make[2]: *** [src/sample_library/CMakeFiles/sample_library.dir/build.make:76: src/sample_library/CMakeFiles/sample_library.dir/sample_library.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3662: src/sample_library/CMakeFiles/sample_library.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

The error is optimization flag '-fno-fat-lto-objects' is not supported . From a quick Google search, this post on StackOverflow says that the solution is to include the compiler flag -Wno-ignored-optimization-argument.
I just followed the instructions for building in the Docker container, so I would expect it to work without modification. Is this project not maintained anymore?

Okay the solution was just to disable IPO/LTO in ProjectOptions.cmake.
48     option(myproject_ENABLE_IPO "Enable IPO/LTO" OFF)