Rewrite the flavour for QuestAlteracBase

The new flavour and mechanics for QuestAlteracBase don't match up. They go on about the Alterac base but actually, it really just requires that the Scourge complete the Plague quest. So it should probably talk about that and how it ties into the Fel Orcs in Alterac.

Something like: once the Plague starts, the Dreadlords are ready to start their plan. So they summon in some buildings and get the Alterac Orcs on their side.


Use new cloning script

With this PR, the new cloning script is used for acquiring the chromium sources. However, the "old" tarball method can still be used by passing --tarball to the build.py script.
Implementing the new feature was quite simple. When using the clone script, we only need the windows downloads.ini. Instead of downloading and unpacking the tarball, we just call the clone script (which now uses PGO for windows). As the sources differ slightly compared to the tarball, we need to use a windows specific pruning.list. While generating the pruning.list, a new domain_substitution.list is generated as well. This file does currently not differ from file checked into the ungoogled-chromium repo, but in case this changes in the future we are using the file from the windows repo now.
I also updated the README for the new update process.

I assume the CI script needs to be updated as well? It still uses cmd instead of the developer prompt for VS.

I always thought one should use the developer command prompt for compiling and thought I should fix the bug in the readme while updating it. I just ran a short test in a normal cmd shell and so far it just works fine (at least it starts the cloning process).
Shall I revert the cmd change and change the other readme parts as well?

https://github.com/Nifury/ungoogled-chromium-windows/actions/runs/6852770418/job/18632070726#step:5:916
Seems that it is not out-of-the-box compatible with the CI script. I'll look into this.

Maybe python version used in the CI is to old? https://github.com/Nifury/ungoogled-chromium-windows/actions/runs/6852770418/job/18632070726#step:5:920

Yeah depot_tools requires Python 3.8

Noooo how did I push to your repo...

Noooo how did I push to your repo...

I'll wait for your pipeline to finish before merging.

No idea why the pipeline failed but I guess it's safe to merge.

Looks like some kind of artifacts problem. But x86 finished compiling. If @PF4Public or @networkException  are okay with that I'll merge.

If that's a random fluke, we can merge of course.


Add CS to CI

It uses Symfony CS.
Note: I saw some yoda and non-yoda comparisons, I prefer don't using yoda, that's why I disabled them, but any other opinion is welcome.

IMO if you want to use and apply a known standard like symfony CS why not but then you might as well apply it 100%, if you start making exceptions it's not really much of a standard anymore :)
Up to you tho ultimately, just my 2c.

It does make sense to stick to the standard, just that I don't think yoda conditions and I think they are in their standard because some years ago people used them, but if the standard was created today probably they won't be there.
Anyway, I'll leave them, it can be changed if we choose another coding standard 👍

Yeah to be honest this kind of thing is one where I hate blind CS automation. It's great for basic things like bracket placement and so on to harmonize the code a little, but when it gets to line-breaking, condition order and whatnot I find it usually over-reaching and it tends to lead to suboptimal code sometimes. IMO null === $foo is just fine and when the right side gets long I find it even more readable as you kinda know what it's about before hand (a null check), but with things like -1 < $bar it just breaks my brain and offers no benefit over $bar > -1 which reads a ton better.


Add Express Routes to serve REST

I'm submitting a ...
[ ] bug report
[ ] feature request
[ x] question about the decisions made in the repository

Do you want to request a feature or report a bug?

What is the current behavior?

I can't get the server to route server side requests to my REST service.
I would like to add a simple Expressjs route so that a custom page I've added can make an http request to get some data in a dynamic manner.  Is there a way for the webpack-dev-server to do this in a simple manner.  Documentation implies I need to set up a proxy.  I tried this and it didn't work.
I went in to config/webpack.dev.js and added a proxy section, but it didn't route my request to another server.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Simplify development to include back-end dynamic loading of data.

Please tell us about your environment:

Running windows, latest Node and NPM.  ng2-admin is up-and-running fine.

Angular version: 2.0.0-rc.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

I ended up just writing a second express server and adding a route to express-http-proxy.  Easier than I'd thought, so I log into system via my express server port, instead of port 3000.

Could you go into a bit more depth on what you did to get this work? So what exactly is your second express server doing that the framework server isn't? Are you protecting your routes by making sure you're authenticated using the second express server?

I wrote the server in Coffee. Pasted below are the relevant snippets.  The key is the websockets portion at the bottom and server.on('upgrade'.....
Effectively, set up an express application.
Set all your REST routes first.
Then do the proxy to port 4200 (or whatever port your webpack server runs on).
This works beautifully.  Even browser reloads when your front-end code changes.
The cookie and authorization are not related to the proxy over to webpack.
Though, in the BlurAdmin modification, I do redirects if a re-authorization call doesn't work.
#---------------#
exprHttpProxy = require('express-http-proxy');
app = express();
cookies = require( 'cookie-parser')
app.use cookies()
#....------------------------
Handle all REST API Routes
#app.post('/rest-api/xxx', ....
#....------------------------
portToUse = process.env.SERVER_PORT ?= 80
proxy = httpProxy.createProxyServer({ ws: true, target : 'http://localhost:4200' });
app.all( '/socket*', (req, res)-> { proxy.web( req, res) })
app.all( '/*', exprHttpProxy( 'localhost:4200'))
server = require('http').createServer(app);
server.on( 'upgrade', (req, socket, head)-> { proxy.ws(req, socket, head)} )
server.listen portToUse, ()->
try

  console.log "INFO","Server Up and Running on port " + portToUse

catch err

  console.log "SEVERE", err.trace


Error in predict.randomForest when running Chapter 1 locally

First of all, this tutorial is amazing. Content, pace, level of detail. I love it.
I encountered one issue with random forest when following the code of Chapter 1 locally. I'm on tidymodels 0.1.2 and randomForest 4.6-14 running in Windows.
While I found a solution by mutating chr cols in car_vars to factor, I have no idea why the code that works on netlify did not work locally.
Running predict(fit_rf, car_train) returned:
Error in predict.randomForest(object = object$fit, newdata = new_data) :
New factor levels not present in the training data

To reproduce:
install.packages(c("tidymodels","randomForest"))
library(tidymodels)
csv_url <- "https://raw.githubusercontent.com/juliasilge/supervised-ML-case-studies-course/master/data/cars2018.csv"
download.file(csv_url,"cars.csv")
cars <- readr::read_csv("cars.csv")

set.seed(1234)

car_vars <- cars %>%
  select(-model, -model_index)

car_split <- car_vars %>%
  initial_split(prop = 0.8,
                strata = aspiration)

car_train <- training(car_split)

rf_mod <- rand_forest() %>%
  set_mode("regression") %>%
  set_engine("randomForest")

fit_rf <- rf_mod %>%
  fit(log(mpg) ~ .,
      data = car_train)

results <- car_train %>%
  mutate(mpg = log(mpg)) %>%
  bind_cols(predict(fit_rf, car_train) %>%
              rename(.pred_rf = .pred))

What I noticed is that all levels in str(fit_rf[["fit"]][["forest"]][["xlevels"]]) were numeric (contrary to the model stored in data/c1_fit_rf.rds. Maybe someone here could explain me why, since randomForest is new to me?
Solution to the error was to enforce factor class on chrs: car_vars <- mutate(car_vars, across(where(is.character),as.factor))

Hmmmmm, that seems quite mysterious to me; the randomForest package hasn't had a release since 2018 so I'm sure it's something in how a tidymodels package has changed recently. My best guess would be the categorical encoding changes we discussed here.
I'm going to leave this open so I can come back and update the course (including the pretrained model .rds file).

For the record, we do typically recommend using factors when building models, so you can "be the boss" of what factor levels are in your model, how to account for unseen factor levels, etc.

Hello Julia,
As always, this is fabulous pedagogy.  I am planning on using this when I teach ML over in a June.  I would be great if chapter 1, topic 4 could be tweaked to say:
# Create cars_vars after deselecting the 2 columns that are record IDs and ...
car_vars <- cars2018 %>%
    select(-model, -model_index) |>
    # ... converting the character strings into categorical factors.
    mutate(across(where(is.character), as.factor))

I am thinking that solves the problem and mentioning the fact that these two things are IDs sets the stage for latter explaining update_role().
What do you think?

Yes, some kind of change like this is needed. With MRAN closing up shop, I will need to do some more general maintenance on this course, so I'll take care of this at that point. Did you say you are wanting to use this for a course this coming June?

Yes.  I am teaching reproducible research this semester and ML over the summer.  As you can tell I am a fan.  If you would like to collaborate, I will find time to help in any way I can.
Ray
Raymond R. Balise, PhD
Associate  Professor
Department of Public Health Sciences, Biostatistics
University of Miami, Miller School of Medicine
1120 N.W. 14th Street
Don Soffer Clinical Research Center - Room 1061
Miami, Florida 33136
(305) 243-9694
To request help from the Center for HIV and Research in Mental Health (CHARM) please go herehttps://redcap.miami.edu/surveys/?s=EEWDYECME7.  To provide post-consult feedback go herehttps://redcap.miami.edu/surveys/?s=EYMEPRMCJP&consultant=1. Please remember to acknowledge CHARM in your papers if resources were used (P30MH116867).
To request help with SCAN360 please go herehttps://redcap.miami.edu/surveys/?s=Y7DMMNHFKAEYDH3W.
Confidentiality Notice: This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail or by telephone at<PHONE_NUMBER>  and destroy the original transmission and its attachments without reading them or saving them to disk.
From: Julia Silge @.>
Date: Friday, January 13, 2023 at 10:16 AM
To: juliasilge/supervised-ML-case-studies-course @.>
Cc: Balise, Raymond R @.>, Comment @.>
Subject: [EXTERNAL] Re: [juliasilge/supervised-ML-case-studies-course] Error in predict.randomForest when running Chapter 1 locally (#59)
CAUTION: This email originated from outside the organization. DO NOT CLICK ON LINKS or OPEN ATTACHMENTS unless you know and trust the sender.
Yes, some kind of change like this is needed. With MRAN closing up shop, I will need to do some more general maintenance on this course, so I'll take care of this at that point. Did you say you are wanting to use this for a course this coming June?
—
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjuliasilge%2Fsupervised-ML-case-studies-course%2Fissues%2F59%23issuecomment-1382004072&data=05|01|balise%40miami.edu|cb3cccc2b49a464c2c2108daf57920be|2a144b72f23942d48c0e6f0f17c48e33|0|0|638092197871500266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=fFc5j44dZmYnQiGmKFmxkq5FQttbEbiZZDyzmaOwuZA%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEKOXOXPSXFDN73GXOQFF3DWSFWUHANCNFSM4YJGOIYQ&data=05|01|balise%40miami.edu|cb3cccc2b49a464c2c2108daf57920be|2a144b72f23942d48c0e6f0f17c48e33|0|0|638092197871500266|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=jufWlSsjYiANVVSvkwirHhaCo0v6hMn4DTsytmZ8w28%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>


score.py not being copied to container using SDK v2

Package Name: azure-ai-ml
Package Version: 0.1.0b5
Operating System: Tested on both windows and macos
Python Version:  3.9

Describe the bug
score.py is not being copied to a container, tried both relative and absolute path. Due to which container fails at runtime with ModuleNotFoundError: No module named 'main'
To Reproduce
Steps to reproduce the behavior:
Sample code is given below:
env = Environment(
    conda_file="./code/deploy/environment.yml",
    image="mcr.microsoft.com/azureml/openmpi3.1.2-ubuntu18.04:20210727.v1",
)

blue_deployment = ManagedOnlineDeployment(
    name="blue",
    endpoint_name=local_endpoint_name,
    model=model,
    environment=env,
    code_configuration=CodeConfiguration(
        code="./code/deploy", scoring_script="score.py"
    ),
    instance_type="Standard_F2s_v2",
    instance_count=1,
)

And directory listing from inside the docker container:
root@21d33d6d1768:/var/azureml-app# ls -alih
total 16K
714328 drwxr-xr-x 1 root root 4.0K Jul 22 12:52 .
714327 drwxr-xr-x 1 root root 4.0K Jul 22 12:19 ..
714329 drwxr-xr-x 2 root root 4.0K Jul 22 12:47 .empty
570216 -rw-r--r-- 1 root root  259 Jul 22 12:18 conda.yml
root@21d33d6d1768:/var/azureml-app#

And exception logs when container runs
(ewa_deployer_v2) waqas@192-168-1-13 EWA.CreditRisk.Model % docker run local-07222036358655:blue
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2022-07-22T15:15:25,827211584+00:00 - gunicorn/run
2022-07-22T15:15:25,847585459+00:00 - rsyslog/run
2022-07-22T15:15:25,849390709+00:00 - iot-server/run
2022-07-22T15:15:25,877277918+00:00 - nginx/run
EdgeHubConnectionString and IOTEDGE_IOTHUBHOSTNAME are not set. Exiting...
2022-07-22T15:15:26,660859376+00:00 - iot-server/finish 1 0
2022-07-22T15:15:26,682624043+00:00 - Exit code 1 is normal. Not restarting iot-server.
Dynamic Python package installation is disabled.
Starting HTTP server
Starting gunicorn 20.1.0
Listening at: http://<IP_ADDRESS>:31311 (64)
Using worker: sync
worker timeout is set to 300
Booting worker with pid: 152
SPARK_HOME not set. Skipping PySpark Initialization.
Exception in worker process
Traceback (most recent call last):
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
    worker.init_process()
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
    self.load_wsgi()
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
    return self.load_wsgiapp()
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
    mod = importlib.import_module(module)
  File "/opt/miniconda/envs/inf-conda-env/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/var/azureml-server/entry.py", line 1, in <module>
    import create_app
  File "/var/azureml-server/create_app.py", line 4, in <module>
    from routes_common import main
  File "/var/azureml-server/routes_common.py", line 32, in <module>
    from aml_blueprint import AMLBlueprint
  File "/var/azureml-server/aml_blueprint.py", line 30, in <module>
    import main
ModuleNotFoundError: No module named 'main'
Worker exiting (pid: 152)
Shutting down: Master
Reason: Worker failed to boot.

Expected behavior
scoring file should be copied and container starts without any issue

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.19816822,Machine Learning:0.12406817,Storage:0.12123685'

@azureml-github

Is there any solution or associated root cause of this issue. I am experiencing the same when using the azure CLI v2 for deployment

@hugoaponte FYI.

@rdzotz well we didn't find any solution, so reverted back to v1 sdk

@waqassiddiqi In my case this issue was resolved by pip install azureml-defaults. Obviously this is not the root of the problem though hopefully it unblocks your use of CLI V2

@waqassiddiqi could I receive the environment.yaml and score.py file used. Also, what region was this done in?

@waqassiddiqi could I receive the environment.yaml and score.py file used. Also, what region was this done in?


Zoomed in view occasionally not displaying entire label

Not having the entire label in view makes it pretty hard to transcribe.
Work has begun to fix this in the interface branch. I'll post updates here.

Instead of starting a new issue, I wonder if we can request that the zoom be added to Macrofungi as well? That would resolve this issue.
I think this is working great for the herbarium interface and our volunteers seem to like it as well.
http://talk.notesfromnature.org/#/boards/BNN0000002/discussions/DNN00003yb?page=1&comment_id=5512d93b90ecf52b8d00028e


AudioEffectSpectrumAnalyzerInstance.get_magnitude_for_frequency_range reports jittered values

Godot version
3.5 stable
4.0 beta3
System information
Windows 10 64 bits NVIDIA GeForce GTX 1060
Issue description
I started playing with rendering a spectrum, and even after some smoothing and peaking, noticed it was kinda low quality. Then I noticed that the reported frequencies were actually jittering along the frequency axis.
It happens for all FFT sizes, but can be mistaken for a "normal precision issue" with the default 1024. It is a lot more obvious with larger FFT sizes and a chirp sound. The frequency peak "wiggles" constantly around the frequency it is supposed to be "following".
https://user-images.githubusercontent.com/1311555/196815731-cc8b47ac-7d94-4009-aa0e-ce16ab5e0420.mp4
After seeing this, it becomes clear other FFT sizes also have this problem, but around a shorter width.
It seems the issue is temporal: reported values alternate between some time close to now and some time in the past. To the point when the chirp restarts, we can see values from the previous chirp still flicker back and forth for a brief moment.
Such discrepancy is not expected. It really looks like something is wrong in the way values are reported. Maybe the data from the ringbuffer is read in the wrong way?
Steps to reproduce
Test project:
3.5:
AudioAnalyzerFFTBug.zip
4.0 beta3:
AudioAnalyzerFFTBug_GD4.zip
Minimal reproduction project
No response

Related to I remember seeing this issue https://github.com/godotengine/godot/issues/67611.

I can also confirm this bug. The vaues produced get_magnitude_for_frequency_range produce values that appear correct at first glance but are far too noisy when comparing to other FFT implementations done in other software.  I also don't think that is bug is new, as if I recall correcly even the demo project for the feature when it was announced back in godot 3.2 (see here : https://godotengine.org/article/godot-32-will-get-new-audio-features ) did suffer from the same issue.
As the reporter suggested it looks like the problem is time related, as the fft calculations looks correct, but they seem scrambled accros time, and thus produce jittery values.
I tried to dig out in the c++ implementation to try to find out where the bug came from but I didn't have enough experience in audio alalysis to find where whe bug could have come from.

Also happening on 3.5.3, especially with larger FFT sizes

To me, it seems reasonably clear that past FFT frames are repeating themselves.
It is also worth noting that I have attempted locking/unlocking AudioServer, as the code very clearly does not perform any such locking itself.
Looking at the code, I'm not sure what to do except to simply remove the part that tries to compensate for latency/etc. (It isn't functioning, and the current state of things is worse)

Looking at the code, I'm not sure what to do except to simply remove the part that tries to compensate for latency/etc. (It isn't functioning, and the current state of things is worse)

i tried changing the code a bit but to no avail...for anyone interested in researching this further maybe I can save you some time by pointing you to the code snippet that causes this.
If calculation is as should be, AudioServer::get_singleton()->get_output_latency(); is probably the biggest suspect here.
The problem should be caused by the while loop or rather, the diff var it depends on in the snippet below:
Vector2 AudioEffectSpectrumAnalyzerInstance::get_magnitude_for_frequency_range(float p_begin, float p_end, MagnitudeMode p_mode) const {
	if (last_fft_time == 0) {
		return Vector2();
	}
	uint64_t time = OS::get_singleton()->get_ticks_usec();
	float diff = double(time - last_fft_time) / 1000000.0 + base->get_tap_back_pos();
	diff -= AudioServer::get_singleton()->get_output_latency();
	float fft_time_size = float(fft_size) / mix_rate;

	int fft_index = fft_pos;

	while (diff > fft_time_size) {
		diff -= fft_time_size;
		fft_index -= 1;
		if (fft_index < 0) {
			fft_index = fft_count - 1;
		}
	}

Link to Code


Add get charts function

PR to add get_charts function to download the images of charts from the document.

As this function is almost exactly the same as the get_images function, can you reuse the get_images function or refactor to avoid the code duplication?

Sure.


date_locale returning incorrect data

If date_locale is set to "au" then the date returned is mm/dd/yy, which is incorrect for au. Australia uses day month year in every format.
For example, if I use "nl" then for Bahrain (at the time of writing) then I correctly see 06/03/23. If I set it to "au" then it returns "03/06/23" which is incorrect for Australia.
If "au" is not a valid option, then please provide a list of valid options.
PS thank you very much for the project - it's excellent.

If you don't pass the locale to the card it takes your locale of home assistant. The options you have are listed here https://www.w3.org/International/O-charset-lang.html


GH-11: Add test CI: macOS

Fix GH-11
This part:
https://github.com/apache/arrow/blob/58415d1fac50cb829b3dcf08526033d6db8c30db/.github/workflows/go.yml#L305-L360
This also imports ci/scripts/go_{build,test}.sh from apache/arrow.
This also introduce ShellCheck and shfmt with pre-commit.
This also adds apache/arrow-testing and apache/parquet-testing submodules.

CI result: https://github.com/kou/arrow-go/actions/runs/10716893068

Before we can truly claim that the CI is working, we need to update the package path of the go.mod file and all of the imports in the files to point to itself here instead of the old paths.

OK. How about #88?

Passed: https://github.com/kou/arrow-go/actions/runs/10745815085
I'll merge this.


Revise SBClientController

Right now it's redundant (everything in SBServer calls it, could call directly) and probably creating cycles. One idea is to turn SBClientController into an Operation that handles the argument building and HTTP lifecycle, including timers. This would make it observable in the UI.

This is an operation now.


Distorted Graphic

vsc suddenly become distorted like that and every time I move my cursor, the distortion keeps flickering like crazy

Does disabling hardware acceleration help?


Added on-click callback feature

Hi.
I added callback on click functionality discussed in this issue  .
Implementation followed this comment plus my own code snippet for decorator/handler.
How it works - just add to show_toast method argument called callback_on_click with callable as value.

Is this going to be merged?
@Charnelx could you give a bit more detail on this, sorry guys bit of a Python noob, I downloaded the changed file and replaced the old one in source, built from source (I think that worked correctly?) Just need some clarification on how to implement a click action to my toast notifications

@JDogg1329 , don't know about merge, but you can get this from my own repo if needed.
On-click implementation is really easy - just pass callable (in this case function that doesn't receive any arguments) as value of show_toast method parameter called callback_on_click.
Example:
def say_hello():
    print('Hello!')

toast = ToastNotifier()
toast.show_toast( title="Notification", msg="Here comes the message",
                    icon_path=None, duration=5, threaded=False, callback_on_click=say_hello)

In this case, if notification is clicked, `say_hello` function will be called.

Thanks @Charnelx ! So is it possible to pass an argument to the callback_on_click method?

@JDogg1329 , nope, you can't pass the argument in a direct way...but you can do a trick like this:
toast.show_toast( title="Notification", msg="Here comes the message",
                    icon_path=None, duration=5, threaded=False, callback_on_click=lambda: say_hello(arg))

@Charnelx Bro I have been trying some random stuff for a long time. Thanks for your help. Now I can die peacefully 🤣

If anyone is interested, I have merged this branch and the permanent notification feature on this fork

@Charnelx I noticed that if user won't click on the notification, in windows 10 the message will be moved to "Action Center" (the notification area in the left side of the screen), and there I couldn't handle the user's click action.
Do you have any idea?
I want a web page to be opened when user click on the notification.
Thanks

I've installed win10toast via pip and it seems that's not the latest code version because the callback_on_click argument doesn't work. Error says "TypeError: show_toast() got an unexpected keyword argument 'callback_on_click'"

I've installed win10toast via pip and it seems that's not the latest code version because the callback_on_click argument doesn't work. Error says "TypeError: show_toast() got an unexpected keyword argument 'callback_on_click'"

same for me.

Does this still work? I tried replacing my init.py contents with the contents from your file @Charnelx but the script was full of errors and said the callback_on_click was not an argument I could use. Sorry if I am doing something wrong, but I'm a noob

@crappy-coder21 , just try to update your version using pip.

@Charnelx Nice work !
Are there any way to get win32con.WM_RBUTTONUP in lparam for example ?

this should be merge to master it is a very useful feature

Anybody still having prolblems with the:
TypeError: show_toast() got an unexpected keyword argument 'callback_on_click'
I installed yesterday so it must be the latest version.
What could i do wrong?

Was it fixed? Because I still get the error TypeError: show_toast() got an unexpected keyword argument 'callback_on_click'

Will this ever be merged? Because I hope so.

If anyone want's this feature and is using pipenv, the following command will update the package to the version with the callback_on_click parameter.
pipenv install git+https://github.com/Charnelx/Windows-10-Toast-Notifications.git#egg=win10toast

I couldn't get it to work using pip.

LGTM

There is still same problem:
TypeError: show_toast() got an unexpected keyword argument 'callback_on_click'

Here is the init: https://stackoverflow.com/questions/62828043/how-to-perform-a-function-when-toast-notification-is-clicked-in-python

Is it ever going to merge ?
Or is @jacobcolbert  dead due to corona ?
Its been 2 Years Now !
@Charnelx Please make a New pip Repo with Your Version 🙏

Hey Guys,
this works perfectly, BUT:
in my case the callback_on_click is executed instantly after this toast shows up.
How can i make that the action only executes if I click it?
cheers leon

@leon-mueller
You are probably doing something like
...(callback_on_click=print('clicked'))

when in reality, you wanna do
...(callback_on_click=lambda: print('clicked'))

@jakubblaha-ids
I'm doing as followed:
... callback_on_click=open_ticket(ticket_link)
def open_ticket(url):
webbrowser.open(url)
In this case it's always executing the def open_ticket when the toast shows up

@leon-mueller
What you are doing is essentially the same as...
result = open_ticket(ticket_link)
...(click_on_callback=result)

You are calling the function and assigning it's return value to the click_on_callback parameter.
You instead need to pass in the function (not it's call resulting in a return value) as the click_on_callback argument. This can be done by defining a function without a name using the lambda keyword (you can google that) as follows.
...(callback_on_click=lambda: open_ticket(ticket_link))

@JakubBlaha
aaaah damn didn't thought about that tho.
Thank you very much!!!!

i feel dumb, but how do i install it????

i feel dumb, but how do i install it????

@jellytoaster
https://github.com/jithurjacob/Windows-10-Toast-Notifications/pull/38#issuecomment-633012502

@jellytoaster
https://github.com/jithurjacob/Windows-10-Toast-Notifications/pull/38#issuecomment-633012502

@jellytoaster
#38 (comment)
thx

@jellytoaster
#38 (comment)
thx

help, im getting errors saying "the system could not find the file specified."
do i need anaconda or something????

help, im getting errors saying "the system could not find the file specified."
do i need anaconda or something????

@jellytoaster With this little information noone can help you. You will better off to ask on StackOverflow. GitHub issues is not a place to ask such questions.

@jellytoaster With this little information noone can help you. You will better off to ask on StackOverflow. GitHub issues is not a place to ask such questions.

If anyone want's this feature and is using pipenv, the following command will update the package to the version with the callback_on_click parameter.
pipenv install git+https://github.com/Charnelx/Windows-10-Toast-Notifications.git#egg=win10toast

I couldn't get it to work using pip.

If you don't use pipenv, you can clone the repo and install through python .\setup.py install. If there is error, change attrgetter("req") in line 21 of setup.py to attrgetter("requirement") as indicated here.

If anyone want's this feature and is using pipenv, the following command will update the package to the version with the callback_on_click parameter.
pipenv install git+https://github.com/Charnelx/Windows-10-Toast-Notifications.git#egg=win10toast

I couldn't get it to work using pip.

If you don't use pipenv, you can clone the repo and install through python .\setup.py install. If there is error, change attrgetter("req") in line 21 of setup.py to attrgetter("requirement") as indicated here.

Is there a fork that allows using duration = False?

Is there a fork that allows using duration = False?

If you're aiming to keep the notification persistent in the action centre duration=None works if that's what you're going at having it false.

Is it ever going to merge ?
Or is @jacobcolbert dead due to corona ?
Its been 2 Years Now !
@Charnelx Please make a New pip Repo with Your Version 🙏

I suppose you meant @jithurjacob instead of @jacobcolbert

I suppose you meant @jithurjacob instead of @jacobcolbert

i believe he changed his name

I've a problem, I ran this code but the function trigger as soon as the toast appear on the screen. So click don't work. Do you have the same problem? (I would like to open a webpage whether I click on the toast)

I've a problem, I ran this code but the function trigger as soon as the toast appear on the screen. So click don't work. Do you have the same problem? (I would like to open a webpage whether I click on the toast)

That's because you used a function call as the trigger instead of the function itself.

@Charnelx I noticed that if user won't click on the notification, after 10 seconds (in windows 10) the message will be moved to "Action Center" (the notification area on the left side of the screen), and there I couldn't handle the user's click action.
Do you have any idea?

Hi everyone,
The library works well for me except on one point: I want my notification to stay in the action center if I don't click on it. So I set the duration parameter to None. However, after 10s, the notification disappear from the action center.
It is strange because this functionality works well on the previous version (win10toast_persist). Does anyone had the same issue already ?

This pull request will be merged and able when you do your pip install?

I can't seem to get pywinauto to work through callback_on_click.
When I click the notification, I get a message saying "Python WNDPROC handler failed" when I want a specific window to be active. (If each function is used separately, it works normally.)
My code is in the format below.
import pyautogui
import pywinauto
import time
from win10toast_click import ToastNotifier
def open(...):
win = pyautogui.getWindowsWithTitle("...")[0]
if win.isActive==False:
pywinauto.application.Application().connect(handle=win._hWnd).top_window().set_focus()
toaster.show_toast( ...
callback_on_click=lambda : open(...)


Added spanner-instance module

Checklist

I applicable, I acknowledge that I have:

[X] Read the contributing guide
[X] Ran terraform fmt on all modified files
[X] Regenerated the relevant README.md files using tools/tfdoc.py
[X] Made sure all relevant tests pass

do not approve yet, I will do a change to you can have have instance_create flag like in the kms module

do not approve yet, I will do a change to you can have have instance_create flag like in the kms module

I'll add a useless comment and approve so you can resolve and merge once you're ready :)


Change domain name from pyansys.com to ansys.com

Now that we have moved it to the @ansys org, we should modify the CNAME. This involves opening a ServiceNow ticket with IT

Thanks for opening this. I agree the domain should move now to "templates.ansys.com".

Just created it by the IT team. Proceeding to adapt the project Settings


Add LocalVector move semantics (constructor and operator=).

We've recently begun to introduce move semantics to core, for its performance benefits. Examples of functions that can benefit a lot from move semantics include SWAP (https://github.com/godotengine/godot/pull/100367), reduce_at and insert (https://github.com/godotengine/godot/pull/100477), and simple data transfer. For more information on motivation, see https://github.com/godotengine/godot/pull/100426.
For LocalVector, this is especially important because a copy-constructor and copy-assignment is forced to copy the entire array, and all elements in it.
Examples
This time I've gathered relevant beneficiaries through a [[deprecated]] trick. Here are some examples:
https://github.com/godotengine/godot/blob/6395450b10d73bc3515763c7bbd1b2f5b7425d10/modules/navigation/3d/nav_mesh_queries_3d.cpp#L923-L929
(the memory no longer has to be re-allocated to return the vector)
The same was happening in ShaderPreprocessor::advance:
https://github.com/godotengine/godot/blob/6395450b10d73bc3515763c7bbd1b2f5b7425d10/servers/rendering/shader_preprocessor.cpp#L122
SWAP calls also required double reallocations in e.g. OAHashMap on insert:
https://github.com/godotengine/godot/blob/6395450b10d73bc3515763c7bbd1b2f5b7425d10/core/templates/oa_hash_map.h#L133-L135
e.g .from ShaderGLES3::Version::Specialization items:
https://github.com/godotengine/godot/blob/6395450b10d73bc3515763c7bbd1b2f5b7425d10/drivers/gles3/shader_gles3.h#L95-L100
There's some more examples but I think that should be enough evidence that the addition is warranted :)

Thanks!


NIO should provide some memory stats stuff

NIO’s System type could be a great place to have a function that returns allocator statistics like mallinfo on Linux.
We could start with a OS-specific String representation that our users could print/log  say on receipt of a signal.
Example: the webservers could implement something that when SIGUSR1 is received, the call the method suggested here and print the output. Then (for example for Vapor) users could use
pkill -USR1 Run

And get the stats logged.
CC @tanner0101

Are you sure it's ok to call mallinfo() inside a signal handler? I know malloc() isn't allowed, because the program could be halfway through a malloc() when the signal happens.

It’s not really safe to call almost anything in a signal handler. However, you can call things in response to a signal: you usually do this by doing the write-to-self-pipe trick. Or just use DispatchSources, which essentially does the safe thing too.

write-to-self-pipe trick

Qué? 😁

Write 1 byte to a pipe when the signal was triggered (in the handler). Elsewhere, just have a DispatchSource/epoll/kqueue/select waiting for writes on that pipe.
But as Cory says, DispatchSource.makeSignalSource is the right answer. That does the right thing.

Cool, thanks.

This seems like a great idea.

Might be a better fit in swift-metrics: https://github.com/apple/swift-metrics/pull/61

@weissi Can we close this issue since we are having this functionality in swift-metrics-extras now?

@FranzBusch Yes, I'm +1 on closing this. NIO shouldn't provide everything you might possibly need (although that was kinda the case in the old days).
This indeed sounds like functionality that could be exposed through Metrics and probably gathered with APIs from SwiftSystem?

It is exposed to Metrics but not using SwiftSystem. It should be straight forward to use with this package: https://github.com/apple/swift-metrics-extras


fix: actor logs base64

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#578  👈 (View in Graphite)
#577
#576
#575
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Docs: How can I disable phenomic-HeadingAnchorbeing added in the .md loader?

Response by pieces here https://gitter.im/MoOx/phenomic?at=57bd7659187885ef4f72db84
Need to be added into faq

How about the default markdown preset allow user to alter the remark plugins stack without rewrite a new preset?

I was thinking about that too :D

This question was ask twice today on gitter.

Not here by default since 1 alpha 10


Cannot deploy my web application.  I get the following error:

Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Version: 0.7.0
OS: win32

I got the same issue.
"Error: The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used."

What type of application are you deploying? Node, .NET Core, Static HTML?
And are you deploying to a Windows or Linux Web App in Azure?

Angular spa from vs code.  Windows server.  I get the error when deploying to the production slot.  I just started getting the error today.  I can deploy to a “stage” deployment slot and then swap slots.  Strange…
Brian Paul | President |<PHONE_NUMBER> x100
[EK-LogoResizedForEmail]
From: Eric Jizba<EMAIL_ADDRESS>Sent: Friday, April 6, 2018 11:47 AM
To: Microsoft/vscode-azureappservice<EMAIL_ADDRESS>Cc: Brian A. Paul<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/vscode-azureappservice] Cannot deploy my web application. I get the following error: (#388)
What type of application are you deploying? Node, .NET Core, Static HTML?
And are you deploying to a Windows or Linux Web App in Azure?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode-azureappservice/issues/388#issuecomment-379310902, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfA-JrIe-Av9mZDS6G-7dv4VhtdBszfks5tl5wWgaJpZM4TJ7mJ.

@ekyros, I've been trying to reproduce your bug, but I haven't succeeded yet.  Here's what are the steps that I've tried:
1.) Created a new Windows Web App
2.) Cloned this Angular SPA repo (https://github.com/gothinkster/angular-realworld-example-app)
3.) Ran npm install, ng serve, and ng build
4.) Deploy the "dist" folder via "zipdeploy"
Are there any steps that you are doing differently that might help me repro? Some other questions:

Do you have any specific application settings that may be affecting deployment?
What is the Deployment Source type of your web application?  And your "stage" deployment slot?  This can be found by right-clicking the respective node in the extension explorer and clicking Configure Deployment Source.

same issue here

@ekyros @Globalrun @ninianh
We've been trying to repro this issue, but we haven't had any success yet.  It would be awesome if anybody could help us pinpoint this problem by trying to deploy using one of two methods:

If you have the Azure CLI installed, could you try to deploy to your web app using the following command:
az webapp deployment source config-zip --name                                     --resource-group                                     --src                                     [--slot]
(reference: https://docs.microsoft.com/en-us/cli/azure/webapp/deployment/source?view=azure-cli-latest#az-webapp-deployment-source-config-zip)

If you could install a previous version of the Azure App Service Extension by manually installing this .vsix (https://github.com/Microsoft/vscode-azureappservice/releases/download/v0.6.1/vscode-azureappservice-0.6.1.vsix) and then attempt a deploy, it would tell us if the breaking changes are in v0.7.0 or if the changes were introduced somewhere else.

We're really sorry if this is blocking your web apps.  If you need to update your web app immediately, please try to use the Local Git Deployment Source or connect it to a GitHub repository.  This can be done in the "Configure Deployment Source" context action.

@ninarn Thanks for your help in testing this issue.  I'm able to repro this issue on a Linux container with a custom domain now as well.  I appreciate your time and hope to resolve this issue soon!

@ekyros @Globalrun @ninianh We released a new version of the extension today that will hopefully resolve this issue.  Please give it a try and let us know if you are still having issues deploying.
Thanks again for your assistance in tracking down the issue!

Sorry, I was out last week.  I installed the VS Code update and deployed my SPA/Angular app and it worked great.  No error.  Thank you!
Brian Paul | President |<PHONE_NUMBER> x100
[EK-LogoResizedForEmail]
From: Nathan<EMAIL_ADDRESS>Sent: Friday, April 13, 2018 5:17 PM
To: Microsoft/vscode-azureappservice<EMAIL_ADDRESS>Cc: Brian A. Paul<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/vscode-azureappservice] Cannot deploy my web application. I get the following error: (#388)
@ekyroshttps://github.com/ekyros @Globalrunhttps://github.com/Globalrun @ninianhhttps://github.com/ninianh We released a new version of the extension today that will hopefully resolve this issue. Please give it a try and let us know if you are still having issues deploying.
Thanks again for your assistance in tracking down the issue!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode-azureappservice/issues/388#issuecomment-381273792, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfA-JWfEWye4guNO56OdnU-rDDdmW61ks5toSPSgaJpZM4TJ7mJ.

@nturinski @ekyros New version, it works for me too. Thanks team.

@ekyros @ninianh I'm glad that this resolved your issue.  I'll go ahead and close this.
Thanks for your patience in this and for using the App Service Extension!

Thank you!  I appreciate the quick resolution.  You guys are awesome!
Brian Paul | President |<PHONE_NUMBER> x100
[EK-LogoResizedForEmail]
From: Nathan<EMAIL_ADDRESS>Sent: Monday, April 16, 2018 5:36 PM
To: Microsoft/vscode-azureappservice<EMAIL_ADDRESS>Cc: Brian A. Paul<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/vscode-azureappservice] Cannot deploy my web application. I get the following error: (#388)
@ekyroshttps://github.com/ekyros @ninianhhttps://github.com/ninianh I'm glad that this resolved your issue. I'll go ahead and close this.
Thanks for your patience in this and for using the App Service Extension!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/vscode-azureappservice/issues/388#issuecomment-381771730, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVfA-MTR0-2psP-F5qu5fWmB6kJ1yrMRks5tpRzSgaJpZM4TJ7mJ.


Criteria for 1.0 release to PyPI

I'll commit to a 1.0 release to PyPI when:

[ ] We have 80% of R-janitor's functionality implemented.
[ ] Test coverage is acceptable.
[ ] We have more than one example available on the Docs.

We have 80% of R-janitor's functionality implemented.

What are the lowest-hanging, high-priority fruit? (knowing nothing about R-janitor)

What are the lowest-hanging, high-priority fruit? (knowing nothing about R-janitor)

Things users (i.e. you and I and the others who are using pyjanitor) want from R janitor, basically!

I have linked R-janitor in my first post.

Would you want to make this a "project" under the projects tab? No idea if that makes sense.


refactor: Update RPSAAS provider

Copying over the styles from a different repo. The improvements include:

division of resource type into correct formats
no longer have create try to build up the resource id
support parent resource type (not used here yet but it is good to have)

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact<EMAIL_ADDRESS>with any additional questions or comments.
Thank you for contributing to Azure IoT Operations tooling!
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Intent for Production

[ ] It is expected that pull requests made to default or core branches such as dev or main are of production grade. Corollary to this, any merged contributions to these branches may be deployed in a public release at any given time. By checking this box, you agree and commit to the expected production quality of code.

Basic expectations

[ ] If introducing new functionality or modified behavior, are they backed by unit and/or integration tests?
[ ] In the same context as above are command names and their parameter definitions accurate? Do help docs have sufficient content?
[ ] Have all the relevant unit and integration tests pass? i.e. pytest <project root> -vv. Please provide evidence in the form of a screenshot showing a succesful run of tests locally OR a link to a test pipeline that has been run against the change-set.
[ ] Have linter checks passed using the .pylintrc and .flake8 rules? Look at the CI scripts for example usage.
[ ] Have extraneous print or debug statements, commented out code-blocks or code-statements (if any) been removed from the surface area of changes?
[ ] Have you made an entry in HISTORY.rst which concisely explains your user-facing feature or change?

Azure IoT Operations CLI maintainers reserve the right to enforce any of the outlined expectations.
A PR is considered ready for review when all basic expectations have been met (or do not apply).

just want to comment the parent resource type would be useful in dp rpsaas although it's parked😆but yeah it might also be needed in other rp in future

tests be passing

Extraneous files being checked in


Unexpected parsing behavior when composing parsers programmatically

I'm trying to build a simple parser using fastparse which succeeds when the given input is one of the words defined in a given list. Concretely this is what my code looks like:
val words = List("a", "b", "c", "d")

def reader[$: P] = words.map(f => P( f )).reduce((l, r) => l | r )

fastparse.parse(input, reader(_))

The parser fails when input is "a", "b", or "c" and succeeds when given "d". Precisely, the parser seems to succeed when "d" appears in the input and all other characters are from the list of words.
From my understanding this parser should succeed on "a", "b", "c" and "d". Am I missing something ?

This is a known issue, the workaround is to do something like this
val words = List("a", "b", "c", "d")

def reader[$: P] = words.map(f => () => P( f )).foldLeft(Fail)((l, r) => l | r() )

fastparse.parse(input, reader(_))

Basically the call to P( f ) runs immediately, which is causing problems because .map and .reduce are eager. To defer evaluation, we need to wrap it in a () => and only call it when necessary

Thanks a lot for answering. I'm sorry I was not able to identify this as a known issue before posting.


Problem moving polygon points - unexpected behaviors

My actions before raising this issue

[x ] Read/searched the docs
[x ] Searched past issues

Expected Behaviour

When I try to move a polygon point, the point moves to the new location I drag it to.
When a directional arrow occurs on top of a point, I expect it to move (as a point) to a new location when I try to drag it.

Current Behaviour

Experiencing inconsistent & unexpected behaviors when trying to move a polygon point. Frequently, a new point is created instead, rather than the point being moved to new location.
Directional arrow usually appears on a line connecting two points. However, sometimes it appears over a point. If I need to edit the point and drag it to a new location in this case, the entire image moves instead.

Steps to Reproduce (for bugs)

Expected move point - create point instead (animated GIF included in post)

Expected move point - move image & create point instead (animated GIF included in post)

Context

This makes labeling polygons in my videos very difficult and frustrating. Sometimes very jagged points are added to my polygons, which takes a lot of time to correct.
Your Environment

GitCommit: fec3683
Docker version docker version (e.g. Docker 17.0.05): 0.18.0
Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04 LTS

@miso-ramen
Looks like you have several points with the same coordinates and move one of them. Could you please check it?

Thank you, bsekachev. In the instances above, the polygons are only 4 pointed. As soon as a point is touched to move it, a new point seems to be created.
If I think I'm creating a 4-pointed polygon, but somehow the program is creating additional points, how would I go about checking that? Would I need to do an annotation dump and view the annotation file for that frame?

@miso-ramen
Actually code of dragging points even doesn't assume ability to create new points. Issue is probably in something else.
By the way, speaking about orientation arrow. It always directed from the latest point to the first point, so if you see this arrow between two points, everything is alright. If you see it over a point, it means, that the latest point and the first point have the same coordinates, as I wrote in the first message.
I believe, need to understand why some points are duplicated for you. Maybe every click of your mouse is double? At least I am unable to reproduce the issue from provided steps

@miso-ramen
By the way, git says that hash you provided fec3683 is not in the working tree of our develop branch.
Are you sure it is correct?

Thank you for your time on this. The hash is correct. I had installed probably the master branch. Would this hash match up? Then, a few days ago, there was a bug in annotation.py that you all fixed (problem with dumping annotations). I (perhaps incorrectly) changed the files affected, then rebuilt cvat. Should I clone the development branch and rebuild instead? I'm sorry if I did this incorrectly.

I was able to screen capture labeling a new polygon from the beginning (a brand new task that hadn't yet been labeled) that shows all steps, when things are working as expected, then when things go awry. I hope this helps you in recreating the problem. Thank you.

I start at frame 80, add a 4 pointed polygon (with track). I create a 4 pointed polygon, jump ahead by 10 frames at a time, unpin object, then move points, jump 10 frames, move points, move entire polygon; this is just as expected. Note: the orientation arrow in these frames is between points.
Then I jump backward to beginning frame (sorry...mistake), then move forward back to where polygon was created. Note: the orientation arrow is now on a point. Now, if I try to move a point, an additional point is created. If try to move the point at the location of the orientation arrow, the entire image moves. This is unexpected behavior.
This is reproducible by me each time. I'm hoping that by repeating these events on your system, you'll also be able to recreate them. Again, thank you.

I suspicious that it is related with #1882
Anyway let's assign bug label, I will look into this issue

Much appreciated. Thank you.

@miso-ramen
Please, check if #1892 resolves the issue. Let me know if it does not

I built the development branch and made the changes you outlined, then built it again. I tried to recreate the issue like I did from scratch in the video above. I was unable to. However, I imported the task my labeler was working on and asked them to see if the issue was gone. The issue still exists in the imported task.

@miso-ramen
Actually it is expected because wrong annotation is probably have been saved for some frames (with duplicated points).

I'll keep you posted on this. I had my labeler only create new polygons, and not continue edited existing polygons. I'm told that on the new polygons, things seem to be working well. We'll continue with only new polygons from this point forward. If we see problems again, we'll let you know. Many thanks to you for your time and work on this!


Sshd Always Killed in Initrd

Describe the bug
I'm running NixOS unstable. On the page below it says
boot.initrd.postMountCommands = ''
      # Stop sshd cleanly before stage 2.
      #
      # If you want to keep it around to debug post-mount SSH issues,
      # run `touch /.keep_sshd` (either from an SSH session or in
      # another initrd hook like preDeviceCommands).
      if ! [ -e /.keep_sshd ]; then
        pkill -x sshd
      fi
    '';

https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/initrd-ssh.nix
So I put the following code into my configuration, yet initrd sshd continues to be killed during Stage2
boot.initrd.preDeviceCommands =
  ''
    touch /.keep_sshd
  '';

Note:
I have initrd sshd and the system sshd running on different ports so to not conflict.

Expected behavior:
Log into initrd sshd and remain logged in throughout boot and startup of system.
Actual behavior:
Log into sshd and become disconnected when Stage 2 boot begins.
I'm able to temporarily pause Stage 1 boot and log into sshd with this code:
boot.initrd.postDeviceCommands =                                            ''
    sleep 60 && echo 1 > /tmp/continue &
    echo 'waiting for ssh login...'
    mkfifo /tmp/continue
    cat /tmp/continue
  '';

I can confirm this is still happening


[Internal] [Feature] Prime the Dev Branch (Staging)

What is the Feature Related To? Please Provide a Description.
Need to protect the Dev branch and change the default source branch to Dev (when creating a new branch).
Place an :x: in a Box that Best Matches the Feature's Importance:

[] 1 - Most important (absolutely integral and will not use codebase at all without it)
[X] 2-4 - Moderate (still using codebase for other functions but is serving as a blocker for future use-cases)
[] 5 - Least important (would like to see but there are no stringent expectations nor urgency for current/future use-cases)

Any Additional Context or Information? Has There Been Any Progress Made So Far Towards this Request? Any Helpful Resources to Reference? Screenshots or Links?
N/A

Added protection to dev branch.


Validate external service calls payloads

Closes #45
This PR aims to implement data validation when dealing with external data sources.
We evaluated several solutions for doing the validation step, and finally chose AJV, mostly due to its language-agnosticity (it relies into JSONSchema) , performance, and good documentation. It's also the most common utility to perform data validation according to NPM statistics.
The idea is to make use of JSONSchemaType class from AJV to link schemas to Typescript interfaces, so this way we assure the validation layer is synced to our internal type definitions.
I left some TODO comments in the code to address the fact that when validation fails, cache should be cleared to avoid caching malformed data coming from data sources. We probably want to address this in a separated issue because the behaviour in this scenario could be optimised in order to avoid flooding the data source (timeout before invalidation, rate-limiting, etc. could be some options there).

Coverage decreased (-8.1%) to 79.383% when pulling 54a62c8589c58bd5964bd88159dcdd6e1b5be1c3 on 45-validate-external-service-calls-payloads into 997a41f822ef40c79353f0248fd7864eebb758bc on main.

Great work 👏
We are currently using four instances of Ajv. We should strive to use only one due to caching of the schemas.
One concern that I have with this is regarding modularisation. I'd say that we can keep the app with the Ajv instance while each module contributes with the schemas.
This can be accomplished via Nest modules. A module would only provide the Ajv instance which can be reused and the feature modules would compile and contribute to that module.
See: https://ajv.js.org/guide/managing-schemas.html#compiling-during-initialization

You're totally right about this, we need to centralise the schemas compilation and use a common instance. This leads me to think about having also ValidationErrorFactory as a dependency of this centralised instance instead of the specific service requesting validations.
Also, one step further would be encapsulate all the validation logic into this centralised instance, something like ValidationService (?) and let this class do the link between the type of the object to validate and the schema to use. Probably we could take advantage of Typescript usage on this. But maybe I'm going too far, which level of encapsulation do you think is more appropriated here @fmrsabino?

You're totally right about this, we need to centralise the schemas compilation and use a common instance. This leads me to think about having also ValidationErrorFactory as a dependency of this centralised instance instead of the specific service requesting validations.
Also, one step further would be encapsulate all the validation logic into this centralised instance, something like ValidationService (?) and let this class do the link between the type of the object to validate and the schema to use. Probably we could take advantage of Typescript usage on this. But maybe I'm going too far, which level of encapsulation do you think is more appropriated here @fmrsabino?
PS: I'd say to do it here or in a different PR depending on the complexity of the solution we're taking.

I would need to think more about a possible solution but I was thinking along the following lines:

Having one module called JsonSchemaModule

this is the module that provides AJV and doesn't have any knowledge about any features

Each feature would contribute schemas to this instance on each "feature" module.
Each feature would hold a reference to the validation functions generated

This way you get the benefits of a single instance without coupling all the schemas in this module.
Something similar to what we did with the CacheModule, ConfigModule and NetworkModule but without it being @Global. I think that each feature can still specify that they need this JsonSchemaModule as long as the module's AJV instance is shared across different features.
Let me know what you think!

You're totally right about this, we need to centralise the schemas compilation and use a common instance. This leads me to think about having also ValidationErrorFactory as a dependency of this centralised instance instead of the specific service requesting validations.
Also, one step further would be encapsulate all the validation logic into this centralised instance, something like ValidationService (?) and let this class do the link between the type of the object to validate and the schema to use. Probably we could take advantage of Typescript usage on this. But maybe I'm going too far, which level of encapsulation do you think is more appropriated here @fmrsabino?
PS: I'd say to do it here or in a different PR depending on the complexity of the solution we're taking.

I would need to think more about a possible solution but I was thinking along the following lines:

Having one module called JsonSchemaModule

this is the module that provides AJV and doesn't have any knowledge about any features

Each feature would contribute schemas to this instance on each "feature" module.

Each feature would hold a reference to the validation functions generated

This way you get the benefits of a single instance without coupling all the schemas in this module.
Something similar to what we did with the CacheModule, ConfigModule and NetworkModule but without it being @Global. I think that each feature can still specify that they need this JsonSchemaModule as long as the module's AJV instance is shared across different features.
Let me know what you think!

So if I'm getting it correctly, in essence you're thinking in a module which is the only one interacting with the AJV instance, and has a function which takes a JSONSchema as argument and returns a validation function associated to the JSONSchema received.
I like this idea 🙂. The other feature modules interacting with this one should send their JSONSchemas in its constructor and retrieve and store the validation functions, wdyt?

@fmrsabino I've written a façade class for AJV as we discussed: JsonSchemaService, which exposes compile and addSchema to the api services. As we commented, this forces the callers to store references to the ValidateFunctions returned from compile internally as private members, and I'm not totally happy with the result of that, to be honest.
I think the api providers should be clean and pretty easy to read (they perform simple operations) and they're getting a bit polluted with validation logic, schemas management, and validation error-handling. And this pollution will increase in the future as we will be adding more datasource endpoints with more schemas.
As I commented I think we need to hide all the interactions with AJV from callers, I was thinking in a central place, something like DatasourceValidator, inside /datasources folder which which:

Encapsulates all AJV interactions, all its types and interfaces. (no more import whatever from 'ajv' outside this class)
Compiles all the schemas with their dependencies, and stores a reference to the associated ValidateFunctions.
Links each ValidateFunction to a specific Typescript class.
(Thanks to 3.) It could have just one public function: validate(data, Type): void where data is an arbitrary object and Type is a Typescript interface. This function would just return void or use ValidationErrorFactory to create and throw an exception.
By having ValidationErrorFactory injected, the caller don't have to catch errors, just fire & forget about validation.

All this will make api services thiner and readable, and will also reduce the amount of dependencies to inject/manage in each of them. Of course this is a proposal for another issue/PR 🙂


ENH: Add support for unsetting the loaded state of a bean property  (via BeanState)

Add something that equates to:
  private void unloadProperty(Object entityBean, String propertyName) {

    EntityBean eb = (EntityBean)entityBean;
    EntityBeanIntercept ebi = eb._ebean_getIntercept();
    int position = ebi.findProperty(propertyName);
    if (position == -1) {
      throw new RuntimeException("Property "+propertyName+" not found on bean "+entityBean.getClass());
    }
    ebi.setPropertyUnloaded(position);
  }

-- resulting update
update c_user set name=?, when_modified=? where id=?; --bind(name mod,2015-09-22 08:57:44.503,1,)

So setting the 'loaded state' of a given bean property (setting its loaded state to false) ... has the effect of excluding it from updates.
An alternative of unsetting the 'dirty state' of a property would NOT work for stateless updates. That is, stateless updates use all the loaded properties (as there is no prior/old values etc).

    // our bean to perform stateless update
    User user = new User();
    // populate via JSON or however (manually here)
    user.setId(seed.getId());
    user.setName("name mod");
    user.setEmail("change@junk.com");

    // we want to ensure that the email property is not included in the update
    user.markPropertyUnset("email");

   // perform stateless update
   user.update();


Suddenly not pulling payments. Getting the following message

from: 2021,02,01to: 2021,02,28Date >= DateTime(2021,02,01) and Date <= DateTime(2021,02,28)
Fatal error: Uncaught XeroAPI\XeroPHP\ApiException: [400] Client error: GET https://api.xero.com/api.xro/2.0/Payments?where=Date%20%3E%3D%20DateTime%282021%2C02%2C01%29%20and%20Date%20%3C%3D%20DateTime%282021%2C02%2C28%29%20and%20PaymentType%3D%3D%22ACCRECPAYMENT%22 resulted in a 400 Bad Request response: Your request is not filtering payments efficiently, given the extremely high volume for this organisation. Please check (truncated...) in C:\xampp\htdocs\xero-raglanOauth2\vendor\xeroapi\xero-php-oauth2\lib\Api\AccountingApi.php:42232 Stack trace: #0 C:\xampp\htdocs\xero-raglanOauth2\vendor\xeroapi\xero-php-oauth2\lib\Api\AccountingApi.php(42204): XeroAPI\XeroPHP\Api\AccountingApi->getPaymentsWithHttpInfo('652460cf-9738-4...', NULL, 'Date >= DateTim...', NULL, NULL) #1 C:\xampp\htdocs\xero-raglanOauth2\indexoauth2.php(190): XeroAPI\XeroPHP\Api\AccountingApi->getPayments('652460cf-9738-4...', NULL, 'Date >= DateTim...') #2 {main} thrown in C:\xampp\htdocs\xero-raglanOauth2\vendor\xeroapi\xero-php-oauth2\lib\Api\AccountingApi.php on line 42232

In order to maintain stability and performance for everybody on the platform,  we’re introducing a high volume threshold to the Payment endpoint. This will impact the way your app interacts with organisations with more than a 100,000 payments.
To make sure that your app can still retrieve data from high volume organisations, you’ll need to change the way you’re calling the payment endpoint
Don’t request all payments in a single request (i.e. you must use paging)
Only use filter and order combinations that have been specifically optimised for use in high volume organisations (including when using paging). More details here.
Without these changes, Get payment requests to these organisations will result in a 400 error response.
The high volume threshold went into effect Jan 2021.
Please take a look at the documentation on developer center, which outlines how you can use paging and optimise your filtering to ensure your requests are always successful.
If you have any further questions, please contact<EMAIL_ADDRESS>


How to make it so that instead of 'x seconds ago', it is a fixed string like 'just recently'?

How would you do this so that when the time is less than a minute ago, instead of the component displaying an annoying timer like:
1 second ago
2 seconds ago
3 seconds ago
...
it would just be a string like:
'just recently'
How to do?

Yeah, that would be a nice feature 👍

I guess you could change line 120 in lib/index.js from
var _ref2 = seconds < MINUTE ? [Math.round(seconds), 'second'] : ... to something like var _ref2 = seconds < MINUTE ? 'just recently' : .... But an react prop would be much cleaner.

Actually it's way easier:
formatter={(value, unit, suffix) => {
    if(unit === "second"){
        return "just now";
    }else{
        return value + " " + unit + (value > 1 ? "s" : "") + " " + suffix;
    }
}}

Perfect, it works! Thanks

Does anyone have any thoughts on making this a native feature?

I open to adding additional formatters. But this specific case doesn’t seem different enough and will only create confusion.

I think this should be the default behavior. Seeing the seconds count increase every seconds is way too distracting. It makes the UI feel over-engineered, and we practically never need this level of precision.
On a side note, "just now" seems better to me than "just recently"

Guys, I'm currently using buildFormatter. Is there any way I can use custom formatter + buildFormatter.
My code looks something like this:
const formatter = buildFormatter(lngRes[lng]);

Any help would be appreciated. :)

a formatter is just a function. buildFormatter is only present to convert data objects into formatter functions. You can write your own formatter function for complete flexibility.


python script for proxy server

hello. and im back again with another problem xD
currently, im using my vps as forward proxy server. im using proxifier to send my game traffics to the vps(proxy server).
this is my best option with regards to gaming as i dont want to use VPN and it helps me alot on other mmorpg games
now upon checking the script, and how it works, (correct me if im wrong) it PREROUTES incoming traffic to the server's random socket, do the magic, and then routes it back to the internet.
with my vps setup, the server itself is the incoming traffic since he is acting as a proxy to forward requests to the game server.
and PREROUTING table will surely not work (also tried). I tried replacing PREROUTING to OUTPUT on the script, but the script just went on loop because im just REDIRECTING traffic endlessly on my vps.
tldr: how can i just make the script work without touching the iptables? do you have source python script that works on linux just like how it works on windows?
P.S. im a tech guy but with a little to no knowledge in socket programming. (still trying to learn it thou)

ok i found a band-aid solution.
I tried to same setup you did with hyper-v but using docker on my vps.
everything went smoothly until i end up here

i tried to ping the game-server IP but the results are this

it feels like im still on a loop. client-vps-dockercontainer-vps-dockercontainer-vps-vps-dockercontainer-vps..........
this is the same setup you did with hyper-v. i dont know how you made it work? please help me here xD

FIXED:  made it work using docker container.
what i did was implement source based routing to segregate traffic going to the script and to actual game server to prevent routing loop.

Hello,
Currently my game traffic is routed via gameclient -> linuxVM -> container(contains the mitm script) -> linuxVM -> gameserver.
Here is my routing config on my linuxVM
#!/bin/sh
ip rule add from <IP_ADDRESS>/32 table 14
ip route add <IP_ADDRESS>/24 via <IP_ADDRESS> table 14
ip route add <IP_ADDRESS>/24 via <IP_ADDRESS> table 14
ip route add <IP_ADDRESS>/24 via <IP_ADDRESS> table 14
ip route add <IP_ADDRESS>/24 via <IP_ADDRESS> table 14
ip route add <IP_ADDRESS>/24 via <IP_ADDRESS> table 14
docker exec -i --privileged xivubuntu python3 mitigate.py
This was actually a script running as an autostartup service on my linuxVM.
1st line was my linuxVM interface IP. (im using WSL here btw)
2nd-6th line was game traffic coming out of container telling it to route it directly to game server IPs.
7th line was to start the container and run the script from there.
Hope this helps!


Add COALESCE statement support to Linq

Looks like there is nothing available in Marten linq extensions to support coalescing operator ?? when select fields, aka
COALESCE(d.data -> 'LastApprovedRequest' ->> 'Status', d.data ->> 'Status')

Correct. That's never come up before. Think this is an "I take pull requests" moment.


No GPS data for P|I recordings

 if recording.type in ("N", "E", "M"):
This avoids importing .gps files for some recordings.
Not having any .gps file is problematic for the popular Dashcam Viewer. It requires .gps data on all files to work properly (bug on their part).
I suppose importing these .gps files was caising issues since you added this condition, but in that case, would it be possible to add something like this?
if recording.type in ("P", "I"):
    touch recording.base_filename+".gps"

not sure if there are other events than N, E, M, P, I.

I'm sorry, i had not noticed this issue had been created.
I was not aware of the camera producing gps files for parking and impact, but I could have been mistaken.
Will follow-up shortly.

Many thanks for this bug report. should be fixed now.


Add metric for tracking compactions of large partitions

Adds metric for tracking compactions of partitions exceeding compaction_large_partition_warning_threshold_mb in C* yaml.

Unable to release palantir-cassandra-2.2.18 since the branch protections rules include administrators. Please modify the rule.


Fix: Linking correct fuse major version when multiple are installed on host

When both fuse 2.x and fuse 3.x are installed on the host system, this library will link to fuse 2.x even if a version >= 30 is selected.
This is due to probe() automatically instructing cargo to link the library if found, eventually resulting in -lfuse -lfuse3 being passed to the linker, in that order. So when a version >= 30 is selected, bindgen will create bindings for fuse version 3.x while the linker will link 2.x.
This PR fixes this by first probe()ing without printing cargo metadata, and then probe()ing the chosen library again, this time with cargo metadata.

Looks good to me. Thank you for your contribution.
bors r+


R&D Equipment now require power to operate.

Fixes: #392

Make Lathe require power to interact with or produce.
Make R&D Console require power to interact with.
Add PowerDevice component to R&D computer.
Add PowerDevice component to R&D server.

This doesn't make the R&D server or points source take power yet though so maybe untag the fixes from the issue.


Adding multiple papers from WACV23, ICCV23, CVPR24

Thanks a lot @ezius07 for contributing to the repository!


No attribute 'TitleValidator'

AttributeError: module '_plotly_utils.basevalidators' has no attribute 'TitleValidator'
Code:
df = pd.DataFrame(np.random.randn(100, 2), columns=list('AC'))
px.scatter(df, x='A', y='C')
I upgraded plotly but received the same error

Which version of plotly are you using now?

plotly==3.7.1
plotly-express==0.1.3

Hmmm it seems like you have a problem with your plotly installation. What does plotly.__version__ contain in the same environment as you're seeing this problem?
It's sometimes possible to have multiple versions of plotly installed at different versions e.g. one with pip and one with conda and this can lead to strange behaviour.


Wrong green dots in Spy mode

In de buggy calc wrong green dots. Two dots for backspace and green dots between buttons.

Solved.
Now these Panels and Menu items of the SUTs should not have an action associated.

Could you please add the commit where this has been fixed?

https://github.com/TESTARtool/TESTAR_dev/commit/5707ce51de1161cfa99f554e8eb58c020d355def#diff-0e69ff38354ef2fe90f07fccc5d17cba


Removing Chrome OS Bitmaps not working on Pixelbook (2013)

I removed the write protection screw, and was able to change the boot order with out issue, but when I try to remove (replace?) the google splash screens it doesn't seem to do anything.  Rebooting after selecting that option still shows the ugly white background.

might not work on the 2013 Chromebook Pixel, it's a bit of an oddball firmware-wise.  If I have some time, will see if I can reproduce here / find a fix

Not a blocking issue for sure, just wanted to see if it was a known issue.

found/fixed the issue, script update pushed :)


add open-in-iterm shortcut for macos module

+macos/open-in-iterm opens the current directory in iTerm.
iTerm is a popular alternative to the macos's default terminal emulator term.

Thanks for the help!


Use less memory for constraint lookup radix cache

Reduce the size of the precomputed array of prefixes from 4 MB to 1 MB in order to fit into the cache of CPUs with lower amounts of cache.  Improves send rate on systems where send rate is CPU/memory-bound and cache is limited.
With the default blocklist, this changes the array/tree tradeoff from<PHONE_NUMBER> IPs in radix array, 15104 IPs in tree to<PHONE_NUMBER> IPs in radix array, 64256 IPs in tree.  That seems like a reasonable price to pay for the perf boost of reducing the memory footprint to one fourth.  On a system with 8 core Intel Atom, 8*2 MB L2 cache, 10 GbE NIC, netmap, AES-NI, before this change, send rate was 11% below what the NIC can do, while with this change, zmap pushes packets faster than the NIC can send them.  You may want to test this change on higher end systems before merging, to assert that it does not perform substantially worse on different system configurations.

Test failures look unrelated to change under test.

Sounds fairly reasonable. @phillip-stephens can you confirm whether there are any performance implications on more resourced systems (e.g., one of our boxes)?

@zakird Doesn't look like any negative performance implications on my VM with plenty of cores/RAM and a large bandwidth uplink.
Test Command - sudo ./src/zmap -p 80 -t 20 -T 6 -B 10G -o /dev/null
main Branch Results

0:29 100% (0s left); send: 52595072 done (2.63 Mp/s avg); recv: 695316 0 p/s (24.0 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 1.32%
 0:29 100% (0s left); send: 56374656 done (2.82 Mp/s avg); recv: 743188 0 p/s (25.6 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 1.32%

Pull Request #860 Results

 0:28 100% (0s left); send: 54433902 done (2.72 Mp/s avg); recv: 719076 3 p/s (25.6 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 1.32%
 0:28 100% (0s left); send: 59560768 done (2.98 Mp/s avg); recv: 785961 5 p/s (28.0 Kp/s avg); drops: 0 p/s (0 p/s avg); hitrate: 1.32%


Downloading custom reports-nothing created

I followed the instructions to create a custom report, when I choose Download, a file is not downloaded.  I just see a message that  an on demand report is getting generated. The instructions don't seem to be accurate. Please update to describe the actual functionality.

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

ID: e73759db-ce7a-88b4-d65c-bb912fdb3878
Version Independent ID: e0e24eb3-2fad-801e-6eaf-a07a57cefbc9
Content: Create, view, and share a custom report a custom report in Permissions Management - Microsoft Entra
Content Source: articles/active-directory/cloud-infrastructure-entitlement-management/report-create-custom-report.md
Service: ciem
GitHub Login: @kenwith
Microsoft Alias: kenwith

@DeanGross Thank you for sharing feedback. We are actively validating it. We will share updates soon.


Support record loading via SRU

Started in branch https://github.com/gbv/pica-editor/tree/sru but requires CORS headers to be enabled in SRU server.

See https://github.com/NatLibFi/sru-client-js for an existing SRU client for Node

Possible use case: https://github.com/deutsche-nationalbibliothek/pica-rs/issues/363


Need a more accessible and scalable way to display repeat one and repeat all

Currently the repeat cycle is displayed by changing from the primary color, either light or dark, and then to green primary. This present form is hard to see as a user as the contrast change is so subtle (this will be exacerbated on screens at lower light or with lesser quality screens). It is also unclear which color change is toggling which version of the repeat.
@jbaxleyiii proposed solution is to add a callout:
Using one instead of 1 so they occupy the same visual space.
Right of the icon instead of above/below because of our limited height on small screens.
We can add these to our ico-font, with the text being knocked out of the object, so the text always takes on the album color.

@samclaridge you were working on this right? I'll assign it to you.

@johnthepink yeah it’s done, it’ll be in the Music Player branch when it
gets merged in, but I’m still working on some other UI tweaks.
On Tue, Jun 14, 2016 at 7:08 PM John Pinkerton<EMAIL_ADDRESS>wrote:

Assigned #605 https://github.com/NewSpring/Apollos/issues/605 to
@samclaridge https://github.com/samclaridge.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NewSpring/Apollos/issues/605#event-692564182, or mute
the thread
https://github.com/notifications/unsubscribe/AHG2e6jZz8uK0G6lhYeedbBuHm3wgS43ks5qLzR8gaJpZM4Ixaaa
.

Closed by #661


Add websocket and bootstrap repositories to source-code page

Add websocket and bootstrap repositories to KNoT Cloud section and remove a duplicate of storage repository.

This PR should be updated to link the new repositories instead of the Meshblu ones.


Build Step fails with: grep: invalid option -- P

The check worked fine and was properly added to my "Recent Builds" in the Guardsquare website, but the Buildstep reports this issue:
BUILD SUCCESSFUL in 1m 42s
1324 actionable tasks: 18 executed, 1306 up-to-date'
++ grep -oP '(?<=Your scan results will be available at )[^ ]*'
grep: invalid option -- P
usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
	[-e pattern] [-f file] [--binary-files=value] [--color=when]
	[--context[=num]] [--directories=action] [--label] [--line-buffered]
	[--null] [pattern] [file ...]

I used and (Flutter) Android Build with the gradle Plugin Version 1.5.6
https://github.com/Guardsquare/appsweep-gradle
Here are some additional logs which occur before the error. Not sure if they are relevant:
> Task :app:uploadToAppSweepRelease
Uploading library information.
Uploading mapping file /Users/vagrant/git/build/app/outputs/mapping/release/mapping.txt
Uploading app for scanning, 5% uploaded (6464 kB / 126764 kB).
Uploading app for scanning, 36% uploaded (46104 kB / 126764 kB).
Uploading app for scanning, 66% uploaded (84896 kB / 126764 kB).
Uploading app for scanning, 98% uploaded (125088 kB / 126764 kB).
Build created successfully.
Your scan results will be available at https://appsweep.guardsquare.com/builds/<I removed the id>
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '\''--warning-mode all'\'' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

Hey @adscooli,
we've recently updated the step in #5, replacing the non-POSIX-compliant grep use so that it should work on all machines.
Can you check if the newest version works for you?

PR to the main bitrise StepLib was just merged, closing this issue.


SAP HANA XS Advanced, Access a classic schema from an HDI container

Tutorial URL: https://developers.sap.com/tutorials/xsa-create-user-provided-anonymous-service.html
Please specify the step you are referring to
Step 3: SPS03 - Create a User-Provided service using a wizard
please provide the way for SPS04 and above:  db -> right click -> new -> SAP HANA Service Connection
thank you

This tutorial was recently updated to add the SPS 04 version of the menu option as well.


Update LXML to version 5.1+

This has to be thoroughly tested beforehand.

There is a problem with _move_element_one_level_up in xml.py, probably due to a change in LXML v5.0:

LP#1976304: The Element.addnext() method previously inserted the new element
before existing tail text.  The tail text of both sibling elements now stays on
the respective elements.


Fixes #38 added support for command aliases

Pull Request Test Coverage Report for Build 118

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 93.408%

Totals

Change from base Build 116:
-0.02%

Covered Lines:
1668

Relevant Lines:
1764

💛  - Coveralls

Pull Request Test Coverage Report for Build 118

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 93.408%

Totals

Change from base Build 116:
-0.02%

Covered Lines:
1668

Relevant Lines:
1764

💛  - Coveralls


A question about depth image

Hello,I saw vertical stripes in the depth image in the training set, and there was no streaking in the depth image I acquired. Will these stripes have any effect? How are these stripes obtained?

Do you mean the vertical and horizontal stripes with missing data?  If your depth images don't have stripes, then it's better.

Yes, I understand. Thanks a lot !


Spinning Unknown Pokestops or Keep walking

Expected Behavior
Keep catch Pokemons and spin the Pokestops.
Actual Behavior
Spinning Unknown Pokestops or Keep walking.
Steps to Reproduce
Run the script for a while (usually about one hour).
Other Information
OS: Ubuntu 14.04 Desktop
Git Commit: b8606bc509ca89902441b213f5ee7996cca29137
Log from the account which location setting is 37.78839,-122.40764
[2016-07-25 18:07:43] [x] PokemonGO Bot v1.0
[2016-07-25 18:07:43] [x] Configuration initialised
Normal Log...
[2016-07-25 19:00:07] [+] 1x Revive (Total: 103)
[2016-07-25 19:00:07] [+] 1x Potion (Total: 23)
[2016-07-25 19:00:07] [+] Recycling 1x Potion...
[2016-07-25 19:00:08] [+] Recycling success
[2016-07-25 19:00:08] [+] 1x Pokeball (Total: 51)
[2016-07-25 19:00:08] [#] PokeStop on cooldown. Time left: 3.78 minutes
[2016-07-25 19:00:10] [#] Found fort 6885fa828e014c7b9074f4f3f2a02d58.16 at distance 0.74km
[2016-07-25 19:00:10] [#] Need to move closer to Pokestop
[2016-07-25 19:05:51] [#] Arrived at Pokestop
[2016-07-25 19:05:53] [#] Now at Pokestop: Strong Women - Spinning...
[2016-07-25 19:05:55] [+] Loot:
[2016-07-25 19:05:55] [+] 100 xp
[2016-07-25 19:05:56] [+] 6x Pokeball (Total: 57)
[2016-07-25 19:05:56] [+] 1x Ultraball (Total: 3)
[2016-07-25 19:05:56] [#] PokeStop on cooldown. Time left: 3.78 minutes
[2016-07-25 19:05:58] [#] Found fort 2b3f38b36f184c268a5ae6e92c4b5bd0.16 at distance 0.82km
[2016-07-25 19:05:58] [#] Need to move closer to Pokestop
[2016-07-25 19:09:09] [#] Arrived at Pokestop
[2016-07-25 19:09:11] [#] Now at Pokestop: Tenderloin Children's Playground Characters - Spinning...
[2016-07-25 19:09:13] [+] Loot:
[2016-07-25 19:09:13] [+] 50 xp
[2016-07-25 19:09:14] [+] 1x Revive (Total: 104)
[2016-07-25 19:09:14] [+] 1x Ultraball (Total: 4)
[2016-07-25 19:09:14] [+] 1x Pokeball (Total: 58)
[2016-07-25 19:09:14] [#] PokeStop on cooldown. Time left: 3.79 minutes
[2016-07-25 19:09:16] [#] Scanning area for objects....
[2016-07-25 19:09:16] [#] Walking from (37.784681382500885, -122.4155937955918) to (37.790884299999995, -122.4076388) 0.98km
[2016-07-25 19:09:29] [#] Found fort 721d9b1a74004e18a58a4d5dbcef1705.16 at distance 0.20km
[2016-07-25 19:09:29] [#] Need to move closer to Pokestop
[2016-07-25 19:13:48] [#] Arrived at Pokestop
[2016-07-25 19:13:49] [#] Now at Pokestop: Unknown - Spinning...
[2016-07-25 19:14:01] [#] Found fort d8f34cb719224005b80e41f56c7dd4fa.12 at distance 0.23km
[2016-07-25 19:14:01] [#] Need to move closer to Pokestop
[2016-07-25 19:14:41] [#] Arrived at Pokestop
[2016-07-25 19:14:43] [#] Now at Pokestop: Unknown - Spinning...
[2016-07-25 19:14:52] [#] Found fort dab84afbc8784bd39e00c63747e5227a.16 at distance 0.24km
[2016-07-25 19:14:52] [#] Need to move closer to Pokestop
[2016-07-25 19:15:38] [#] Arrived at Pokestop
[2016-07-25 19:15:41] [#] Now at Pokestop: Unknown - Spinning...
[2016-07-25 19:15:52] [#] Found fort c35a01bf3f264505847d5b63317ea4e6.11 at distance 0.33km
[2016-07-25 19:15:52] [#] Need to move closer to Pokestop
[2016-07-25 19:16:46] [#] Arrived at Pokestop
[2016-07-25 19:16:48] [#] Now at Pokestop: Unknown - Spinning...
[2016-07-25 19:17:00] [#] Found fort 11a6db909c46409280d93fb97ba58d3d.16 at distance 0.34km
[2016-07-25 19:17:00] [#] Need to move closer to Pokestop
^C[2016-07-25 19:17:09] [x] Exiting PokemonGo Bot

Log from account which location setting is 34.01042157488069, -118.49967097705793
[2016-07-25 18:10:24] [x] PokemonGO Bot v1.0
[2016-07-25 18:10:24] [x] Configuration initialized
Normal Log...
[2016-07-25 19:04:57] [#] Arrived at Pokestop
[2016-07-25 19:04:59] [#] Now at Pokestop: West 4th and Jane - Spinning...
[2016-07-25 19:05:02] [+] Loot:
[2016-07-25 19:05:02] [+] 50 xp
[2016-07-25 19:05:02] [+] 1x Pokeball (Total: 90)
[2016-07-25 19:05:03] [+] 2x Greatball (Total: 32)
[2016-07-25 19:05:03] [+] 1x Ultraball (Total: 9)
[2016-07-25 19:05:03] [#] PokeStop on cooldown. Time left: 3.77 minutes
[2016-07-25 19:05:05] [#] Found fort 471afbc641ef4d4b9a1a41de062983f5.16 at distance 0.73km
[2016-07-25 19:05:05] [#] Need to move closer to Pokestop
[2016-07-25 19:07:58] [#] Arrived at Pokestop
[2016-07-25 19:07:59] [#] Now at Pokestop: Garden Fountains of City Hall  - Spinning...
[2016-07-25 19:08:02] [+] Loot:
[2016-07-25 19:08:02] [+] 50 xp
[2016-07-25 19:08:03] [+] 1x Revive (Total: 40)
[2016-07-25 19:08:03] [+] Recycling 1x Revive...
[2016-07-25 19:08:03] [+] Recycling success
[2016-07-25 19:08:03] [+] 2x Pokeball (Total: 92)
[2016-07-25 19:08:03] [#] PokeStop on cooldown. Time left: 3.77 minutes
[2016-07-25 19:08:05] [#] Found fort adf7a4a0163c400a993f6629e4f5b200.16 at distance 0.71km
[2016-07-25 19:08:05] [#] Need to move closer to Pokestop
[2016-07-25 19:09:53] [#] Arrived at Pokestop
[2016-07-25 19:09:55] [#] Now at Pokestop: A Balanced Life - Spinning...
[2016-07-25 19:09:57] [+] Loot:
[2016-07-25 19:09:57] [+] 50 xp
[2016-07-25 19:09:57] [+] 2x Pokeball (Total: 94)
[2016-07-25 19:09:57] [+] 1x Greatball (Total: 33)
[2016-07-25 19:09:57] [#] PokeStop on cooldown. Time left: 3.79 minutes
[2016-07-25 19:09:59] [#] Found fort 4c8fbd061d674422b41ad32a59e63ac0.12 at distance 0.97km
[2016-07-25 19:09:59] [#] Need to move closer to Pokestop
[2016-07-25 19:11:56] [#] Arrived at Pokestop
[2016-07-25 19:11:58] [#] Now at Pokestop: Civic Center Parking Art - Spinning...
[2016-07-25 19:12:00] [+] Loot:
[2016-07-25 19:12:00] [+] 50 xp
[2016-07-25 19:12:01] [+] 1x Pokeball (Total: 95)
[2016-07-25 19:12:01] [+] 2x Greatball (Total: 35)
[2016-07-25 19:12:01] [#] PokeStop on cooldown. Time left: 3.77 minutes
[2016-07-25 19:12:03] [#] Found fort cc8c005c1d734edb9d98e39ea64446b9.16 at distance 1.10km
[2016-07-25 19:12:03] [#] Need to move closer to Pokestop
[2016-07-25 19:17:14] [#] Arrived at Pokestop
[2016-07-25 19:17:17] [#] Now at Pokestop: Unknown - Spinning...
[2016-07-25 19:17:28] [#] Found fort 208f38b58d39450f96a1dac89617a8df.12 at distance 1.14km
[2016-07-25 19:17:28] [#] Need to move closer to Pokestop
^C[2016-07-25 19:17:35] [x] Exiting PokemonGo Bot

I run the five account at the same time, but when I run for a while, it happen like the photo below.

Might be a Soft ban or might be the log in token not be refreshed. Soft ban detection could use that "Unknown" pokestop name to stop and Sleep for a while. The log in token refresh has a Pull request already and should be fixed.
Thanks for the clarity of the issue

@dmateusp I don't think it is softban, because it happened lots time for me.
After I restart that, it become normal, so I think it should be the token expired.

Should be fixed by 1312ca4aa2b6ea800ac4637d3964ae1a9ab6668b, please text and give feedback. Thanks!

Well....
[2016-07-25 19:42:51] [x] Starting PokemonGo Bot....
[2016-07-25 19:42:51] [#] Scanning area for objects....
[2016-07-25 19:42:51] [#] Walking from (34.0104215, -118.4996709) to (34.0104215, -118.4996709) 0.00km
Traceback (most recent call last):
  File "pokecli.py", line 228, in <module>
    main()
  File "pokecli.py", line 219, in main
    bot.take_step()
  File "/home/seadog007/PokemonGo-Bot/pokemongo_bot/__init__.py", line 42, in take_step
    self.work_on_cell(cell, location)
  File "/home/seadog007/PokemonGo-Bot/pokemongo_bot/__init__.py", line 73, in work_on_cell
    self.check_session(location)
NameError: global name 'location' is not defined

Fixed in d18f30c341d1ba936c50febf1ab49a6fb0e83ac4

[2016-07-25 19:51:37] [x] PokemonGO Bot v1.0
[2016-07-25 19:51:37] [x] Configuration initialized
[2016-07-25 19:51:38]
[2016-07-25 19:51:38] [x] Address found: 37.78839,-122.40764
[2016-07-25 19:51:38] [x] Position in-game set as: (37.7883843, -122.4076388, 0.0)
[2016-07-25 19:51:38]
[2016-07-25 19:51:38] [#] Attempting login to Pokemon Go.
[2016-07-25 19:51:39] [+] Login to Pokemon Go successful.
Normal log....
[2016-07-25 20:16:23] [#] Walking from (37.7907971156702, -122.40766656057974) to (37.8008843, -122.4151388) 1.30km
[2016-07-25 20:16:32] [#] Scanning area for objects....
[2016-07-25 20:16:32] [#] Walking from (37.79081205373609, -122.40771067388484) to (37.8008843, -122.4126388) 1.20km
[2016-07-25 20:16:42] [#] Scanning area for objects....
[2016-07-25 20:16:42] [#] Walking from (37.79083893667029, -122.40772671833331) to (37.8008843, -122.4101388) 1.14km
[2016-07-25 20:16:54] [#] Scanning area for objects....
[2016-07-25 20:16:54] [#] Walking from (37.790890067881705, -122.40773684207075) to (37.8008843, -122.4076388) 1.11km
[2016-07-25 20:17:07] [#] Scanning area for objects....
[2016-07-25 20:17:07] [#] Walking from (37.79094590574343, -122.40776306661508) to (37.8008843, -122.4051388) 1.13km
[2016-07-25 20:17:19] [#] Scanning area for objects....
[2016-07-25 20:17:19] [#] Walking from (37.790966706064275, -122.40776509397527) to (37.8008843, -122.4026388) 1.19km
[2016-07-25 20:17:32] [#] Scanning area for objects....
[2016-07-25 20:17:32] [#] Walking from (37.79098915481349, -122.40779742251549) to (37.8008843, -122.40013880000001) 1.29km
[2016-07-25 20:17:44] [#] Scanning area for objects....
[2016-07-25 20:17:44] [#] Walking from (37.79100063008459, -122.40781316324599) to (37.8008843, -122.3976388) 1.42km
[2016-07-25 20:17:56] [#] Scanning area for objects....
[2016-07-25 20:17:56] [#] Walking from (37.79103385055106, -122.4078150849325) to (37.8008843, -122.3951388) 1.56km
[2016-07-25 20:18:08] [#] Scanning area for objects....
[2016-07-25 20:18:08] [#] Walking from (37.79107686929945, -122.40785070719431) to (37.798384299999995, -122.3951388) 1.38km
[2016-07-25 20:18:22] [#] Scanning area for objects....
[2016-07-25 20:18:22] [#] Walking from (37.79109407438849, -122.40788171941796) to (37.7958843, -122.3951388) 1.24km
[2016-07-25 20:18:37] [#] Scanning area for objects....
[2016-07-25 20:18:37] [#] Walking from (37.791149780115596, -122.40788929462094) to (37.7933843, -122.3951388) 1.15km
[2016-07-25 20:18:47] [#] Scanning area for objects....
[2016-07-25 20:18:47] [#] Walking from (37.79118672859461, -122.40791492991268) to (37.790884299999995, -122.3951388) 1.12km
[2016-07-25 20:19:01] [#] Scanning area for objects....
[2016-07-25 20:19:01] [#] Walking from (37.791200397818265, -122.40793992178116) to (37.7883843, -122.3951388) 1.17km
[2016-07-25 20:19:13] [#] Scanning area for objects....
[2016-07-25 20:19:13] [#] Walking from (37.7912477113037, -122.40796588724562) to (37.7858843, -122.3951388) 1.28km
[2016-07-25 20:19:27] Session stale, re-logging in
[2016-07-25 20:19:27] [#] Attempting login to Pokemon Go.
Traceback (most recent call last):
  File "pokecli.py", line 228, in <module>
    main()
  File "pokecli.py", line 219, in main
    bot.take_step()
  File "/home/seadog007/PokemonGo-Bot/pokemongo_bot/__init__.py", line 42, in take_step
    self.work_on_cell(cell, location)
  File "/home/seadog007/PokemonGo-Bot/pokemongo_bot/__init__.py", line 73, in work_on_cell
    self.check_session(position)
  File "/home/seadog007/PokemonGo-Bot/pokemongo_bot/__init__.py", line 192, in check_session
    self.login()
  File "/home/seadog007/PokemonGo-Bot/pokemongo_bot/__init__.py", line 200, in login
    self.api.set_position(*self.position)
TypeError: set_position() takes exactly 4 arguments (3 given)

@seadog007 updated, test please.

oh no, wait.

should work now.