Email verification Problem

My actions before raising this issue

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

Expected Behaviour
Fix could not login on the server error
Current Behaviour

Possible Solution

Edit base.py with

ACCOUNT_AUTHENTICATION_METHOD = 'username'
ACCOUNT_CONFIRM_EMAIL_ON_GET = True
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'

build cvat

docker-compose -f docker-compose.yml -f docker-compose.dev.yml build
docker-compose up -d

Steps to Reproduce (for bugs)

Context

Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

@arcibiyo
Please fill the issue template for the future task and provide cvat container logs

I will close the issue, because there is not a response from your side. Please, do not hesitate to reopen it if you still have questions and ready to provide more details.

has this been resolved? currently having a similar issue.

@giordifungula , could you please provide more information about the issue? Need a clear way to reproduce the issue on the latest develop version of CVAT.

@nmanovic should I create a new Issue or just comment directly from here?

What Im currently trying to do.
I am using this link to try and fix the issue of disabling self sign up on the login page.
What steps I have done

cd into cvat/settings
cp base.py base.py.backup
open base.py
added ACCOUNT_AUTHENTICATION_METHOD = 'username' inside base.py
added ACCOUNT_CONFIRM_EMAIL_ON_GET = True inside base.py
added ACCOUNT_EMAIL_REQUIRED = True inside base.py
added ACCOUNT_EMAIL_VERIFICATION = 'mandatory' inside base.py
ran docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f  build
ran docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f up -d

How am I running CVAT:

I have an ec2 instance running version cvat:master branch changes on top of a version that I had running that had the proxy with the nginx server configured in the docker file.
When I run commands sudo docker-compose -f docker-compose.yml -f docker-compose.dev.yml build and sudo docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d to build the docker images
I'm unable to login as any users after these configs were applied to the base.py file and I build the docker images too.
I, however, noticed that there is now a toast saying "You are not verified", if you try and log in as a user that is not verified, but no one is able to login.
See screenshots below on what the output is

Note:

It looks like when I reset the default base.py settings and add back the old configs it works fine, however, the problem still persists about users being able to automatically login without being verified by the admin.
However, I would like those configs
added ACCOUNT_AUTHENTICATION_METHOD = 'username' inside base.py
added ACCOUNT_CONFIRM_EMAIL_ON_GET = True inside base.py
added ACCOUNT_EMAIL_REQUIRED = True inside base.py
added ACCOUNT_EMAIL_VERIFICATION = 'mandatory' inside base.py
to be added to my base.py file but I would like to be able to login as any user and also only be able to login after admin verifies the user.
Please let me know if you can replicate this issue or if you can advise on how to get this working whilst still being able to login as any user and keep the latest configs

@nmanovics
When ı adjust Email verification settings like in this link https://openvinotoolkit.github.io/cvat/docs/administration/basics/installation/#email-verification
I used just this code script

ACCOUNT_AUTHENTICATION_METHOD = "username"
ACCOUNT_CONFIRM_EMAIL_ON_GET = True
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = "mandatory"

Email backend settings for Django
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
`
Finally, ı got Could not login on the server
Error: Request failed with
log.txt
status code 502. "Bad Gateway"  error
My docker logs >


2015 updates

Added placeholder object for revised 3-5 year ACS layers for 2015 layer
Updated default query parameter to 2015

LGTM despite Travis test failures. Merging and will circle back to this.


Custom zulip server defaults to http

I see there was a PR specifically changing this (#78), but from an end-user perspective I don't understand the change. Won't real Zulip servers run over https? It wasn't obvious to me that I had to add https:// to my Zulip server name.

Yes, this should default to HTTP.  I bet the HTTP change was to make it work nicely with a development environment running on localhost, but we should never use HTTP in production.

OkHttp supports redirect from http to https, I'll implement code to save the server url after it redirects when we fetch the "v1/get_auth_backends" in #101 branch.

From a security perspective, we should try HTTPS only by default.  Otherwise, the app might be vulnerable to man-in-the-middle attacks.

So should we not allow them to use https or show a message that if you don't use https there can be security issues?

I think we should require HTTPS, with a special exception for the development environment (can we e.g. check this by IP address or something else that's not doing a fetch over HTTP)?

We can check for development server by a new api route, for fetching settings.PRODUCTION in the server?
Maybe we can do like this, if they specifically mentioned http in the server url then we use http showing user a message that its not recommended over http and if not specified then we connect over https?

That sounds good to me.

We can check for development server by a new api route, for fetching settings.PRODUCTION in the server?

So if you incorrectly specify "http://zulipchat.org", an active MITM can force a downgrade.
I'd prefer that using HTTP either require a very onerous opt-in or require running a development build of the app.

Yeah, I was going to say the same thing.  Let's just default to HTTPS, and if they hand-specify HTTP, show a warning with text like "HTTP is insecure, and we recommend using it only for testing the Zulip Android app against a development environment.  Are you sure you want to use HTTP?".  As a proposal, the button options would be:
"Switch to HTTPS / Use HTTP / Cancel"
("Switch to HTTPS" would just modify their URL to be HTTPS instead.)
but one could skip the "use HTTPS" one.
How does that proposal sound?

It'd be good to get this resolved quickly, since it is a security-relevant issue (and I hope should be fairly quick?).

This has been merged and will be fixed in the next release.


Dev dzh

fix the b+tree index

lock and abort

fix the btree index and fix the lock-and-abort process


feat: update messages

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

v1.2.0
v1.2.0
GitHub release

Your semantic-release bot :package::rocket:


Fixing params encoding issue

I'm using ogcapi-js/features with the reference implementation of the OCG standard (pygeoapi) but I get error 400 as soon as I start passing datetime parameters:
[2021-03-17T09:31:34Z] {/var/folders/gc/ry76n9m15l7br5j9tnqvy5kc0000gn/T/tmp1Yp0gu/lib/python3.7/site-packages/pygeoapi/api.py:813} ERROR - {'code': 'InvalidParameterValue', 'description': 'Unknown string format: 2014-01-01T00%3A00%3A00.000Z%2F2014-01-02T00%3A00%3A00.000Z'}

I think that the issue came from a wrong use of encodeURIComponent at https://github.com/haoliangyu/ogcapi-js/blob/7550268f903a6ddc47eb0fb5bb2ca476605bbd8f/packages/features/src/request.ts#L16
As you are using a URLSearchParams you are already encoding the parameter:
searchParams = new URLSearchParams();
searchParams.append('datetime', '2014-01-01T00:00:00.000Z')
searchParams.toString()
'datetime=2014-01-01T00%3A00%3A00.000Z'

By calling another encodeURIComponent the final parameter is encoded twice.

Awesome! Thank you for the fix.

This is released as v0.2.3.


BLD: remove build_sphinx support from setup.py

Closes gh-3284

The circleci build_docs job failure might be an unfortunate coincidence--IIUC the deleted machinery wasn't being used for the doc build there anyway, and I saw one of those "matplotlib rebuilding fontcache" type messages, so it may have been a timeout caused by that. So, restarting..

IIUC the deleted machinery wasn't being used for the doc build there anyway,

correct

and I saw one of those "matplotlib rebuilding fontcache" type messages, so it may have been a timeout caused by that. So, restarting..

yeah it's been failing for a couple of days, no time to look into it today unfortunately

Hello, I have been looking through it yesterday a lot, but I must admit  didn't find much.
The failure in CI always occurred while building documentation. CircleCi output is as follow :
waiting for workers...
Makefile:127: recipe for target 'html-scipyorg' failed
make: *** [html-scipyorg] Hangup

I tried to reproduce it on local using docker, and every time, I ended up with the same following errors (for the sake of readability, I am posting a screenshot, and the line at the end of this comment) :

Executing the command make -Cdoc PYTHON="/workspace/venv/bin/python" html-scipyorg latex SPHINXOPTS="-j2"
ended up with the same errors output. If you have some advices or paths to follows, I will be glad to help
here is the output log from docker execution
/workspace/build/testenv/lib/python3.7/site-packages/scipy/odr/__init__.py:docstring of scipy.odr.rst:10: WARNING: autosummary: stub file not found 'scipy.odr.odr'. Check your autosummary_generate setting.

looking for now-outdated files... none found

pickling environment... done

checking consistency... done

preparing documents... done

writing output... [ 36%] generated/scipy.linalg.lapack.spptrf .. generated/scipy.linalg.lapack.ztpttf

docstring of _odrpack.odr:16: WARNING: py:obj reference target not found: ODRed/scipy.optimize.LinearConstraint

docstring of _odrpack.odr:28: WARNING: py:obj reference target not found: ODR

/workspace/build/testenv/lib/python3.7/site-packages/scipy/odr/__init__.py:docstring of scipy.odr:29:<autosummary>:1: WARNING: py:obj reference target not found: scipy.odr.ODR

release/1.6.0-notes.rst:47: WARNING: py:obj reference target not found: scipy.odr.ODR9;00m

waiting for workers...

generating indices... genindex py-modindex done

writing additional pages... search done

copying images... [ 3%] generated/../../build/plot_directive/generated/scipy-interpolateolve_ivp-1.png

copying images... [ 10%] generated/../../build/plot_directive/generated/scipy-ndimage-fourier_ellipsoid-1.png

copying images... [ 13%] generated/../../build/plot_directive/generated/scipy-ndimage-rotate-1_00_00.png

copying images... [ 20%] generated/../../build/plot_directive/generated/scipy-signal-convolve-1.png

copying images... [ 27%] generated/../../build/plot_directive/generated/scipy-signal-gausspulse-1.png

copying images... [ 34%] generated/../../build/plot_directive/generated/scipy-signal-peak_prominences-1_00_00.png

copying images... [ 41%] generated/../../build/plot_directive/generated/scipy-signal-welch-1_01_00.png

rated/

copying images... [ 47%] generated/../../build/plot_directive/generated/scipy-signal-windows-hamming-1_00.png

copying images... [ 54%] generated/../../build/plot_directive/generated/scipy-spatial-tsearch-1.potationSpline-1_02_00.png

copying images... [ 61%] generated/../../build/plot_directive/generated/scipy-stats-binned_statistic_dd-1.png

copying images... [ 68%] generated/../../build/plot_directive/generated/scipy-stats-genhalflogistic-1.png

copying images... [ 75%] generated/../../build/plot_directive/generated/scipy-stats-loggamma-1.png

copying images... [ 81%] generated/../../build/plot_directive/generated/scipy-stats-randint-1_00_00.png

copying images... [ 88%] ../build/plot_directive/optimizctive/generated/scipy-stats-zipfian-1_00_00.png

copying images... [ 95%] tutorial/../../build/plot_directive/tutorial/signal-5.png

copying images... [100%] tutorial/../../build/plot_directive/tutorial/stats/plots/mgc_plot4.png

copying static files... done

copying extra files... done

dumping search index in English (code: en)... done

dumping object inventory... done

build finished with problems, 5 warnings.

Makefile:127: recipe for target 'html-scipyorg' failed

make: *** [html-scipyorg] Error 1

make: Leaving directory '/workspace/doc'

Traceback (most recent call last):

File "runtests.py", line 565, in <module>

main(argv=sys.argv[1:])

File "runtests.py", line 214, in main

subprocess.run(cmd, check=True)

File "/usr/local/lib/python3.7/subprocess.py", line 468, in run

output=stdout, stderr=stderr)

subprocess.CalledProcessError: Command '['make', '-Cdoc', 'PYTHON="/workspace/venv/bin/python"', 'html-scipyorg', 'latex', 'SPHINXOPTS="-j2"']' returned non-zero exit status 2.

Thanks @V0lantis! Given that it's unrelated to this PR, could you open a new issue for it?
The critical part is this probably:
build finished with problems, 5 warnings.

CI is set up to error when there are any warnings, so we keep the build clean. Those warnings will be higher up, so you may want to attach the full build log for that CI step (that's doable either as a gist, or with a foldout as I just did to your comment above - surround the code block with <details> .... </details>).

CI issue resolved, all green now - I'll merge this in a day or two unless there's more comments.

Looks straightforward so I'll merge, thanks @rgommers


Use incremental go build

Speed up kpod builds by not recompiling eveything but only
what has changed.
Signed-off-by: baude<EMAIL_ADDRESS>

LGTM

LGTM
If this works will be great.
@rh-atomic-bot r+


WIP - support for todo.txt file format

This will allow ultralist to work with todo.txt files.
Ultralist will prefer a todo.txt file if it sees one in the cwd or home dir.  Otherwise, it will use the standard .todos.json format.

@timorunge I think this is ready for a review.  Could you give it a quick look?

@gammons I will take a look tonight my time (GMT+2).

@gammons sorry for the late reply, I was pretty busy and sick afterwards.
Technically it's working fine for me. But actually I personally don't like that I can't use the full power of ultralist while working with a todo.txt file. I think an "import" and "export" functionality in ultralist would fulfill the needs of #175 as well.
Would make it easy to migrate back and forth.
If you wanna stay with this we should adopt the ScreenPrinter as well and remove the output for due dates.

hmm, this makes sense.  there are also other downsides as well:

Notes won't be supported
I need to write a UUID for each todo if it's synced, adding a bunch of noise to the todo.txt file
I also need to write other meta tags like id and archived

Perhaps an import and export is the right move.  I agree, I think it will solve the spirit of what #175 is about.

Yeah, I also can imagine something like: If an existing todo.txt file is found ultralist will ask what to do: import the file (in an existing .todos.json file), init ultralist with the todo.txt file in the current directory etc. - the same for the export option.
This will keep the power of ultralist with all the functionality which is build in but also gives a potential new user the possiblity to test / import / export with todo.txt.
The core of both applications is the same but for me - personally - todo.txt is a little bit to limited and basically a todo list while ultralist is going into the direction into a GTD app.


Export from Execute>export from query doesn't work for variables

System information:

Operating system (distribution) and version Windows 10
DBeaver version 6.3.0

Connection specification:

Database name and version PostgreSQL

Describe the problem you're observing:
Export from "Execute>export from query" doesn't work for variables.
Steps to reproduce, if exist:

Write in SQL Editor (PostgreSQL):
@set test = payment_history
select * from :test
Try to export from query (Context menu>"Execute">"export from query")
Expected result:
Export is successful

Actual result:

Error appears:
Data transfer failed
Reason:
SQL Error [42P01]: ERROR: relation "payment_historynt_history" does not exist
Position: 15
Export is failed.

Include any warning/errors/backtraces from the logs

Fixed


Added Banner image and also improved the UI

Description
I have added the Banner image and also added border radii to get started boxes.

Category

[ ] Documentation
[ ] Resource Addition
[ ] Codebase
[x] User Interface
[ ] Feature Request

Related Issue

Fixes #138
Under JWOC.
Checklist

[x] I have gone through the CONTRIBUTING guide
[ ] The name of the resource is spelled correctly (if applicable)
[ ] The link to the resource is working (if applicable)
[ ] The resource is added in the correct format (if applicable)
[x] I have tested changes on my local computer (if applicable)

Hey @Abhishek-465, the border radii looks good, but we want to keep the original one for now.
On the other hand, the banner image looks good. But after trying with this one and many others, we came to the conclusion that the original solid color better fits with the theme of the website.
So, we'll have to close this PR and the corresponding issue.


:bug:  Make player icon transitions local

Description

The player icon transition effects only play when the immediate parent block is added or removed.

Type of change

[x] 🐛 bug fix

Verified on

[x] Google Chrome

@meigo This reduces the effect of unwanted transition on unmounting the VideoPlayer component

@meigo This reduces the effect of unwanted transition on unmounting the VideoPlayer component


add codeowners file

Looks like pygfx@main just changed points material api, fix that in another PR and then do this?

vertex_sizes=True -> size_mode='vertex'


Features to add

[x] Change ending music
[x] Loading screen effect
[x] Mod logo!

Other things are not significant, not sure if needed.


new feature for addon

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
I'd like to add "length of string" to conditions drop-down menu in Addon settings
Describe alternatives you've considered
None
Additional context

Now you can add Addon condition to compare length of string also . Under Value you need to add regex which can match the length of value which you trying to compare.
Example If you want to check the length of input field value.
Add Addon
Element Finder - point to the input field whose value need to compare.
Condition - Equal
Value - .{3,} - here 3 is for minimum or start range. If you want to check the length exact three remove the ,
[a-z]{3} - pass if the value is three characters and all three alphabets in small case
[A-Z]{3} - pass if value is three characters and all three alphabets in small case
[A-z]{3} - pass if value is three characters and all three alphabets
. - compares everything
\d - to compare the number


Add vscode: URI prefix to knownSchemes in links.ts

I have not yet built and tested this branch. Should fix #71414.

Well, this fixes the link output issue, but clicking it does not launch the vscode page.

Thanks!


Add drawer folder list - part 3

Third part of the drawer folder list implementation #8118. The folder list is implemented and the account view has a click event to switch between the accounts for testing purposes. The GetDisplayFoldersForAccount doesn't do much yet, as the repository does the heavy lifting and functionality from the FoldersViewModel for unified folder is not needed yet. If time I'll move code up to clean up the repository and view model. The starred count setting is not consumed yet.
The click event for folder selection will be added by a follow up pull-request.

For future consideration: Flow.collectLatest() comes with a bit of overhead compared to Flow.collect(). In cases where the lambda has no suspension points, using collectLatest() has no advantages over using collect().

For future consideration: Flow.collectLatest() comes with a bit of overhead compared to Flow.collect(). In cases where the lambda has no suspension points, using collectLatest() has no advantages over using collect().

Thank you for pointing out the potential overhead of Flow.collectLatest(). I don't know if it is significantly different then consuming very event and populate that as UI state. For the drawer, only the last state is important and I don't need to think about back pressure too much. If performance issues arise, I'll look into optimisations.


My first post...

I really want to get a lot of subs on YouTube so if you dont mind can  you drop me a sub?
My youtube channel is Hybrid0897

I really want to get a lot of subs on YouTube so if you dont mind can you drop me a sub?
My youtube channel is Hybrid0897

I really want to get a lot of subs on YouTube so if you dont mind can you drop me a sub?
My youtube channel is Hybrid0897

I really want to get a lot of subs on YouTube so if you dont mind can you drop me a sub?
My youtube channel is Hybrid0897


[jvm-packages] train model on spark is not stable

I train a model on spark with train_data and calculate auc with test_data.  I repeated the action , but every time, the auc is different.  sometimes it is up to 0.79, and sometimes  it is as low as 0.76.
train code:
val paramMap = List(
     "booster" -> "gbtree",
     "eta" -> 0.5,
    "max_depth" -> 4,
    "tree_method" -> "exact",
    "save_period" -> 0,
   "eval_metric" -> "auc",
    "objective" -> "binary:logistic").toMap
val round = 100
val nWorkers = 32
model = XGBoost.trainWithRDD(trainData, paramMap, round, nWorkers = nWorkers, useExternalMemory = true)
auc code:
val predict = model.transform(testData)
val evaluator = new BinaryClassificationEvaluator().setLabelCol("label").       setRawPredictionCol("probabilities").setMetricName("areaUnderROC")
val auc = evaluator.evaluate(predict)

how many samples do you have?

train_data: 6515508x43
test_data:  1729773x43

@wangzhilong  What is your positive class rate, and do all workers get chunks of data with similar properties?
Keep in mind that AUC is calculated approximately in distributed settings, by averaging individual workers' AUC's.

@khotilov Thanks for your reply。 I trained model in spark and calculated auc in local, not in  distributed setting.
data = xgb.DMatrix(data_path)
bst = xgb.Booster({'nthrea': 4})
bst.load_model(model_path)
labels = data.get_label()
pred = bst.predict(data)
print metrics.roc_auc_score(labels, pred)

are you using libsvm format?

@CodingCat I'm using libsvm format, but i process the data index, convert one-based to zero-based.

@CodingCat
today, i changed params: round=100 to round=30, and trained 4 times. on test_data the auc is
stabled at 0.79. may round = 100, overfitting.
i don't know why train on spark is not stable when rount=100.
if i train in local, same params can get same model, every time.

when you say train in local, it is spark local model, or single thread training?

use "./xgboost train.conf",  not spark local model. @CodingCat

then I would say it is expected when you separate training set into multiple partitions,
the split point proposed in each partition is based on the data within that partition, bringing some accuracy off

@CodingCat, very thank you for answering so many questions to me.
I'm not familiar with xgboost's code  implementation. i read trainWithRDD

separate training set into multiple partition, will get multiple boosters
val boosters = buildDistributedBoosters(trainingData, overriddenParams,      tracker.getWorkerEnvs, nWorkers, round, obj, eval, useExternalMemory, missing,      baseMargin)

select first model as result model.
val xgboostModel = XGBoostModel(distributedBoosters.first(), isClassificationTask)

I think the partitions put the split point together through rabbit in each round, then select the best split point.  Is my thinking right?

yes, for each round, the model is synced

@CodingCat : There is very little documentation of inner working of distributed xgboost esp. how model is being trained and synchronized .. one has to go through various questions asked in github to understand the inner workings of distributed xgboost . Could you help to explain the tree building process in distributed xgboost using spark?
That wud be grate help.

There're some bits and pieces here and there, but no good in-depth (and up to date) description, sadly.

there is some intro in https://spark-summit.org/2017/events/building-a-unified-data-pipeline-with-apache-spark-and-xgboost/


Volokine's attempt at completing the Beginning Git video course

Hi,
This PR represents all the work I did to complete the raywenderlich.com Beginning Git video course. It was a delightful experience and, I'd recommend it to anybody!
Volokine

Hey @Volokine78—congrats on submitting a PR at the end of the git course. I hope that you enjoyed the course and that you learnt a lot in doing it.
If you weren't already using git for your code, hopefully this has inspired you to do so. I hope that you enjoy the "Mastering Git" video course as well—you'll soon be able to get git to bend to your will :)
You can now wear this #GitWarrior badge with pride—and Tweet your historic victory!

sam


Fix some words

Fix some words

The CI test failed because the code format is not correct. Could you please run 'pre-commit run --all-files' and submit the code? Please run pip install pre-commit if it's not installed.

Thanks, I will do that

Cannot view the details of the unittest error， no expand button

Cannot view the details of the unittest error, no expand button


HubschAPI - adding public surface for hubs

Looks good. What's the status on the hub implementation? Currently I'm working on integrating our code with the connection class. Are you close enough that I should stop that work and prepare for taking a drop with hub support?

Once this is merged hubs work end-to-end. I actually have a test app that uses this right now as it stands. There are some nits and TODOs in the code but they just small things that should not affect using end ton end scenarios or edge cases (and bugs I don't know about yet).

Ok, I’ll hold off on the fake-hub-around-connection then. Are you merging today?
Also, do you plan on supporting arm in the future?
From: Pawel Kadluczka<EMAIL_ADDRESS>Sent: Friday, January 16, 2015 11:24 AM
To: aspnet/SignalR-Client-Cpp
Cc: Jordan Rudd
Subject: Re: [SignalR-Client-Cpp] HubschAPI - adding public surface for hubs (#80)
Once this is merged hubs work end-to-end. I actually have a test app that uses this right now as it stands. There are some nits and TODOs in the code but they just small things that should not affect using end ton end scenarios or edge cases (and bugs I don't know about yet).
—
Reply to this email directly or view it on GitHubhttps://github.com/aspnet/SignalR-Client-Cpp/pull/80#issuecomment-70307201.

I am planning all unmerged PRs but reviewed PRs today.

Thanks @jordanrudd !


Add a microbenchmark for immediately-firing alarms

Immediate firing seems to be one of the most-preferred uses, so let's make sure that it's fast.

Variant on #17335 : same problem is causing a crash on OPT rather than just a race on TSAN


Add a way to build an image from a pull request

Implementation details:

Obtain from Github REST api via Zinc client details about branch name, head repository
If default project is used (Pharo-project/Pharo) then:

create image based on latest development template, or specified by user argument
else
create image based on latest stable template, or specified by user argument

-Load into new image project using MC command with determined head repo:branch name, baseline.

@demarey : Hi Christophe, can you review this approach? Or should I ask on Iceberg channel? I have 1) ready (more or less).
ad 2a) I don't know, how exactly to determine buildNr/SHA development template (if branch is forked from given commit on main branch)
ad 3a) I don't know yet, how programatically (using Iceberg) repair repository and checkout to branch

Open issues:

replace aPhLLaunchConfiguration launchProcess runUnwatch with watched version of launching.
debug loading MC loading of pharo project to dev image

Continuing on PharoLauncher project, therefore closing this issue.


Write a GO program to convert seconds to weeks

Description
Write a GO program to convert seconds to weeks
1 week = 7 days = 168 hours = 10080 minutes = 604800 seconds
Input  : 3024000
Output : 5

How to contribute

Save the solution in program/convert_seconds_to_weeks.go file
Add convert_seconds_to_weeks.go file in convert-seconds-to-weeks folder

@assign

!assign

Hey @astitva0011,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


namedExports database

This might be a terrible idea, but just going to throw it out there...
It seems one of the big roadblocks for people switching to Rollup is that they expect named exports from CommonJS modules to Just Work, but they often don't because of the tendency among CommonJS authors to export properties in a way that can't be statically analysed.
For one thing, we need to make the resulting compile-time error message much clearer (though that's a job for Rollup itself, not this plugin).
But another thing we could potentially do is have a community-supported database of named exports for different versions of various libraries – so if we detected that the user was importing Immutable, say, we could automatically populated namedExports.immutable with
['Iterable', 'Seq', 'Collection', 'Map', 'OrderedMap', 'List', 'Stack', 'Set', 'OrderedSet', 'Record', 'Range', 'Repeat', 'is', 'fromJS']

and so on.

Maybe we could extract exports from imports instead? Say module defines two files:
main.js
function awesome() { return 'awesomeName'; }
module.exports[awesome()];

test.js:
var awesome = require('./main').awesome;

Then we're unable to extract named exports from main.js, but it's obvious there's "awesome" named export by analysing test.js. This could be automated to create database you mention.

Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. :beer:


swap from click to mousemove on demo

I originally thought that moving the mouse would make this thing work and was surprised when it didn't. So I made it work in a slightly more expected manner (imo).
While doing so I noticed that the yellow circle was not centered on the mouse position so that got fixed as well.

Thanks!


Add 'type' and 'contentType' parameters to CDAService.

Add overloads of CDAClient#sync to accept new parameters.
This would make the SDK fit the docs, and save us from loading unnecessary data.

Hey,
again thanks so much for the contribution, I will be creating a new PR #168  for it, since the base changed a bit and I will need to make some changes on it.
Thanks for your contribution and please feel free to keep it up. :+1:

I did like the initial idea of using Strings for the creation of the type and content_type parameter, but I found it can be confusing for the user: Can I use content_type also for something else then the Entry-type? (Answer: No, it only works on Entry)
So I decided to actually use an object to encapsulate the different options and use static creators to provide the user with enough information through the ide on how to create the right type.
I hope I could get you an insight into the decisions and am looking forward for you next contribution, or even feedback on this approach.

Hi, thanks for explaining the decisions behind the changes - they make sense and are covering my use-case completely. It was a pleasure to contribute:)


Don't send notifications that are marked inactive

Apparently previously Lemur ignored the "active" flag of notifications.

Coverage remained the same at 60.462% when pulling a2081195ec66cf188348397a735715e4793f8449 on intgr:fix-inactive-notifications into ad88637f22c2e8418db3f96ba473c5f11d421e22 on Netflix:master.

lgtm thanks!


feat(i18n): Add French translations for UI elements

Translate interface text elements from English to French

Related issues / PRs

None

Summarize Changes

Add French translations for UI elements

Thanks for doing this!


customizations not persisting

I'm trying this out in my app.
export default Ember.Route.extend(InfinityRoute, {
  model() {
    return this.infinityModel('user', { perPage: 10, startingPage: 1 });
  },

  perPageParam: 'pageSize'
});

The first request is
http://localhost/api/v1/users?page=1&pageSize=10

but the second request is
http://localhost/api/v1/users?page=2&per_page=10

The model hook is not getting called the second time if that helps.
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Got it.  Will look into it when I get some spare time!


Blog: "Open Source Development" post

Closes #190
This PR

Adds the blog post file for Open Source development
Adds 3 new images to the blog assets folder

@laneymangan @thekaveman, even though some stylings need to be fixed, are we okay with me merging this?

I'd say so! Only thing is making sure we're good with the pictures re: Vyki's slack message: just checking for the photos the IP is ok, they’re CC0 or similar? Ok for unattributed commercial use?


Generate ABAP code examples and train a LLAMA code using it

Hi,
Can I use it to generate ABAP code with quality and use it to for finetuning code LLAMA model. How do I generate samples in instruction format?

This is only for pretraining data - it creates data that is formatted like a textbook


⚠ PrivateHD has degraded performance

In 90413d0, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2062 ms

Resolved: PrivateHD performance has improved in f33f1c4.


[Enabler] Post office is ready to communicate with domains and market

Performance/Throughput:
For Non-meterdata messages:
0,5 seconds in total from DataHub receives the Peak to the market party receives his message
For meter data messages:
30 seconds in total from DataHub receives the Peak to the market party receives his message
We need to measure the through-put times for messages step by step through the system (gateway, sub-postoffices).
Bundling:
Subpostoffices delivers a ‘weight’ with each notification that messages are available to the market parties.
The post office sums up to an agreed max-weight on CIM XML messages or CIM JASON messages and asks
First: CIM
Then: Jason
Later: EbiX
Message-‘BUS’:
Postoffice will create the ‘BUS’ to enable the total messageflow starting from the initial notification from sub-postoffice and to sending the message to the market party.
Create/inform interface to sub-postoffices


Can't seem to Actuator refresh a PropertySource that access an external resource after bean creation

Working on Spring Cloud GCP, our project offers a Secret Manager PropertySource which will query an external secret store and load secrets into your app as properties.
We are interested in looking into if it's possible to refresh the value of the properties through Spring Actuator with the /refresh endpoint.
We are having some trouble though, it looks like the ContextRefresher recreates the application context but then closes it after. So the secret manager client bean which connects to the secret store gets created but then closed before any new secrets can be retrieved by the property source. (Our Property Source is not enumerable, we will query for secrets when they are requested by @Value(...) or placeholders in .properties files which is why querying for all the secrets on bean creation doesn't work for us).
Here's a snippet of our code below, we did manage to get it to work if we added @Bean(destroyMethod = ""); however this is probably not the correct solution as I think it would cause a memory leak.
	@Bean(destroyMethod = "")  // This would fix the problem, but probably cause memory leak over time.
	@ConditionalOnMissingBean
	public SecretManagerServiceClient secretManagerClient() throws IOException {
		SecretManagerServiceSettings settings = SecretManagerServiceSettings.newBuilder()
				.setCredentialsProvider(this.credentialsProvider)
				.setHeaderProvider(new UserAgentHeaderProvider(GcpSecretManagerBootstrapConfiguration.class))
				.build();

		return SecretManagerServiceClient.create(settings);
	}

        // This is the property source locator that depends on the client being alive
	@Bean
	@ConditionalOnMissingBean
	public SecretManagerPropertySourceLocator secretManagerPropertySourceLocator(SecretManagerServiceClient client) {
		SecretManagerPropertySourceLocator propertySourceLocator =
				new SecretManagerPropertySourceLocator(client, this.gcpProjectIdProvider);
		return propertySourceLocator;
	}

Is there a way for us to avoid recreating the secretManagerClient bean on a refresh? Curious what recommendations you might have for us to get this to work.
cc/ @meltsufin @elefeint

Is there an update on this? I'm running into the same problem when trying to use Spring Boot Admin to a property value

Is there an update on this? I'm running into the same problem when trying to use Spring Boot Admin to a property value

Hmm, maybe this problem is too esoteric or I didn't word it properly.
But just imagine you have a PropertySource where everytime you call propertySource.getProperty(..) it makes some RPCs via a client connection to get the properties (like imagine accessing property values through a database connection; in our case it's via GRPC).
If I understand this correctly, Actuator doesn't support this use-case because it will copy and then destroy the application context (and thereby destroy the client object connection used by the property source). Actuator assumes that the property source should cache all of the properties it will use when the property source is constructed (which is why the application context is destroyed). And then getProperty just gets values from a cached Map.
However, this approach doesn't seem to work in the case where the property source is non-enumerable meaning that you don't know what properties are available to the user and can be cached when the property source is constructed. Or in the case of accessing a secret store, you do not want to build a cache of secrets in memory for security purposes.

Hmm, maybe this problem is too esoteric or I didn't word it properly.
But just imagine you have a PropertySource where everytime you call propertySource.getProperty(..) it makes some RPCs via a client connection to get the properties (like imagine accessing property values through a database connection; in our case it's via GRPC).
If I understand this correctly, Actuator doesn't support this use-case because it will copy and then destroy the application context (and thereby destroy the client object connection used by the property source). Actuator assumes that the property source should cache all of the properties it will use when the property source is constructed (which is why the application context is destroyed). And then getProperty just gets values from a cached Map.
However, this approach doesn't seem to work in the case where the property source is non-enumerable meaning that you don't know what properties are available to the user and can be cached when the property source is constructed. Or in the case of accessing a secret store, you do not want to build a cache of secrets in memory for security purposes.

@dzou this is one of the issues with the legacy bootstrap approach. Has spring-cloud-gcp migrated to the new ConfigData approach (spring.config.import)?

@spencergibb -- Ah we have not done that migration yet, but thanks for letting us know.
If migrating to spring-config-import is the solution then you can just mark this as closed, we can perform the migration on our end.

Ok, feel free to comment if there are other issues.


R package download succeeding in spite of failing from cran.stat.unipd.it

I'm getting the following while building the rPackages.maps package

...
trying http://cran.stat.unipd.it/src/contrib/maps_2.3-11.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   837  100   837    0     0   3772      0 --:--:-- --:--:-- --:--:--  3839
output path ‘/home/nixbld/store/ghjjncf8rzpynfkgx79y82nkll5r18k1-maps_2.3-11.tar.gz’ should have sha256 hash ‘0752dh646bngw726941p0xd3p9chxlg4mdyns3jc23h68w7da0kc’, instead has ‘102rw6gw1mrbr00s8b1bnz2yh2nqk411qdhs6kncs6scalixjb5p’
cannot build derivation ‘/home/nixbld/store/n9b91lxx8lzf3k5rqjvd965bw581ssy9-r-maps-2.3-11.drv’: 1 dependencies couldn't be built
error: build of ‘/home/nixbld/store/n9b91lxx8lzf3k5rqjvd965bw581ssy9-r-maps-2.3-11.drv’ failed

Looking at the mirror in a website reveals that there is no maps_2.3-11.tar.gz under just contrib and manually downloading the path with curl gives you back a basic html page (which I can't seem to include here as a quote as markdown doesn't escape all the html for me).

$ curl http://cran.stat.unipd.it/src/contrib/maps_2.3-11.tar.gz
... bunch of html ...

I believe what is suppose to happen is it should realize the download failed and next try the contrib/00Archive/maps directory.  I'm guessing something is wrong with this mirror in that it isn't returning an appropriate error?
Thanks!  -Tyson

What version of Nixpks / channel do you use?

For what it's worth, this error does not occur on current master:
$ nix-build ~/.nix-defexpr -A rPackages.maps
/nix/store/78ywbc5blf23sl1i5zyx1hddqarmdsxv-r-maps-3.0.0-2

Currently using a slight modified (nothing to do with fetchurl or R though) version of tag 15.09 from September 30th.

Maybe it is relevant that I'm running it with the 1.10 release of Nix from September 3rd.  I seem to recall there was something about switching some of the fetch stuff to being builtin recently?

I see 287f99badae394c38a200170a60189d74d1f52f9 from 15 days ago dropped the cran mirrors and replaced them all with the single mran.revolutionanalytics.com/snapshot/${snapshot} mirror.  I guess this would explain why it is working in master but not for me on 15.09.
Out of curiosity what do you get with nix-prefetchurl on the cran.stat.unipd.it mirror

$ nix-prefetch-url http://cran.stat.unipd.it/src/contrib/maps_2.3-11.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   837  100   837    0     0   3847      0 --:--:-- --:--:-- --:--:--  3875
path is ‘/home/nixbld/store/c0jzzh7icc6dl64l1wd72rw15ayb3m6z-maps_2.3-11.tar.gz’
102rw6gw1mrbr00s8b1bnz2yh2nqk411qdhs6kncs6scalixjb5p

versus the master cran.r-project.org mirror

nix-prefetch-url http://cran.r-project.org/src/contrib/maps_2.3-11.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (22) The requested URL returned error: 404 Not Found
/home/nixbld/var/nix/profiles/default/bin/nix-prefetch-url: download of ‘http://cran.r-project.org/src/contrib/maps_2.3-11.tar.gz’ failed

This could be fixed in Nixpkgs' fetchurl, by checking the hash before considering the download to be successful: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/fetchurl/builder.sh#L36
Or there could be more work on Nix's builtin fetchurl implementation.

The build succeeds in the release-15.09 branch, too:
$ nix-build ~/.nix-defexpr -A rPackages.maps
/nix/store/6dn61i6ifdwnfsh7qz17qn177d54x4j6-r-maps-3.0.0-2

That command used revision 1a86bf8aae151c40747f4e47e791356ff0084e2b. I suppose this issue will go away after a channel update.

That does seem odd.    I really don't understand then.  From what I can tell of the code it should do the following in order and stop on the first success
1- try every $url in the mirror list in the order of the mirror list with $url/src/contrib/maps_2.3-11.tar.gz
2- try every $url in the mirror list in the order of the mirror list with $url/src/contrib/00Archive/maps/maps_2.3-11.tar.gz
and this shouldn't work as when it tries http://cran.stat.unipd.it/src/contrib/maps_2.3-11.tar.gz it will think it succeeded because it gets the webpage instead of a 401.  The build when the fail as the webpage won't match the hash.
What did you log say for the fetch?  Mine looked like so

trying http://cran.r-project.org/src/contrib/maps_2.3-11.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
...
trying http://cran.stat.unipd.it/src/contrib/maps_2.3-11.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   837  100   837    0     0   3772      0 --:--:-- --:--:-- --:--:--  3839

Cheers!  -Tyson

@twhitehead, please update your channel, i.e. run nix-channel --update. You are using an obsolete version of the R package set.


Xhamster youtube_dl.utils.ExtractorError: No video formats found

Checklist

[x ] I'm reporting a broken site support
[x ] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE

C:\Users\crisc\Downloads>youtube-dl https://xhamster.com/users/parser/videos --verbose --no-check-certificate -ciw --download-archive downloaded.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://xhamster.com/users/parser/videos', '--verbose', '--no-check-certificate', '-ciw', '--download-archive', 'downloaded.txt']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 2021-01-24-git-1775688292-full_build-www.gyan.dev, ffprobe 2021-01-24-git-1775688292-full_build-www.gyan.dev
[debug] Proxy map: {}
[download] Downloading playlist: parser
[XHamsterUser] parser: Downloading page 1
[XHamsterUser] parser: Downloading page 2
[XHamsterUser] parser: Downloading page 3
[XHamsterUser] parser: Downloading page 4
[XHamsterUser] parser: Downloading page 5
[XHamsterUser] parser: Downloading page 6
[XHamsterUser] parser: Downloading page 7
[XHamsterUser] parser: Downloading page 8
[XHamsterUser] playlist parser: Downloading 230 videos

[download] Downloading video 3 of 230
[XHamster] xhFzKbt: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\extractor\xhamster.py", line 178, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\extractor\common.py", line 1367, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

[download] Downloading video 6 of 230
[XHamster] xhU8EQP: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\extractor\xhamster.py", line 178, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpgi7ngq0n\build\youtube_dl\extractor\common.py", line 1367, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

WRITE DESCRIPTION HERE

You didn't solve the issue. How come you closed this thread? I'm going to reopen another one with the -- dump pages info that you requested from someone else on another person's thread that had the same issue as me.


[youtube:tab] Extract channel banner

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[X] At least skimmed through contributing guidelines including yt-dlp coding conventions
[X] Searched the bugtracker for similar pull requests
[X] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[X] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Extracts channels banners if available. They are set to a lower preference than the channel avatar. Also try get the original/uncropped banner as described in https://github.com/yt-dlp/yt-dlp/issues/2237#issuecomment-1013694714.
Closes https://github.com/yt-dlp/yt-dlp/issues/2237

any way to get these banners to show up in the json file from the --write-info-json option?

any way to get these banners to show up in the json file from the --write-info-json option?

It's in the playlist info json, under thumbnails. All but the highest priority one are banners of different qualities.

What channel URL did you give yt-dlp? I am using the latest source code, and was only able to get the user's avatar as one single entry in the thumbnail list, sometimes a few more thumbnail entries that are various sizes of the user's avatar. The test channel URL I am giving is https://www.youtube.com/channel/UCyJ_Gr6K0cyunUhwWJh-KeA, the command looks like this /usr/bin/python3 yt-dlp-master/yt_dlp/__main__.py --output output_path --skip-download --write-info-json --retries 10 https://www.youtube.com/channel/UCyJ_Gr6K0cyunUhwWJh-KeA

What channel URL did you give yt-dlp? I am using the latest source code, and was only able to get the user's avatar as one single entry in the thumbnail list, sometimes a few more thumbnail entries that are various sizes of the user's avatar. The test channel URL I am giving is https://www.youtube.com/channel/UCyJ_Gr6K0cyunUhwWJh-KeA, the command looks like this /usr/bin/python3 yt-dlp-master/yt_dlp/__main__.py --output output_path --skip-download --write-info-json --retries 10 https://www.youtube.com/channel/UCyJ_Gr6K0cyunUhwWJh-KeA

I was using yt-dlp ytuser:pewdiepie --write-info-j --flat-playlist --playlist-items 1
They show up for me. double check that the yt-dlp that you are running is up to date?

The problem seems to have been using subprocess, after using os.system instead, it works. Not sure why.


1.5.1 Does Not Start

Windows 10 build 20206.1000
Downloaded tagged 1.5.1 release just now (redownloaded twice to be sure)
Chrome is (and always was) installed and set as default browser.

Duplicate of #86


Promise api

Could you add an alternative promise based api?

Added in #9 .
Can you update to 0.10.0 and give it a try?
Thanks :smiley:

Awesome! I'll test it out soon.
On Tue, 3 May 2016 at 16:16 Daniel Perez<EMAIL_ADDRESS>wrote:

Added in #9 https://github.com/tuvistavie/node-git-cli/pull/9 .
Can you update to 0.10.0 and give it a try?
Thanks [image: :smiley:]
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/tuvistavie/node-git-cli/issues/8#issuecomment-216447208


[HOPSFS-47] Bump version to <IP_ADDRESS>-SNAPSHOT

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added and passed (for bug fixes / features)
[x] HOPS JIRA issue has been opened for this PR
[x] All commits have been squashed down to a single commit
[x] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue
https://hopsworks.atlassian.net/browse/HOPSFS-47

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Can one of the admins verify this patch?


Please,working demo

Hi.
Anyone know where I can see a working demo as a user?
Regards

I've created a demo account on my site if you wish.
https://dudedating.com
email<EMAIL_ADDRESS>pass: 123456789!


docker

Problem description

Problem location

I saw a problem on the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

Closing the issue as it appears empty.


Allow component Foo to be invoked without parens or a block

From @catmando on January 7, 2016 17:0
Currently you have to say Foo() or Foo {} so ruby can determine Foo is a method.
A recent SO question got me thinking about this http://stackoverflow.com/questions/34657494/why-does-a-method-call-need-to-be-disambiguated-when-it-can-in-principle-be-a-co/34659428#34659428
I see no reason why we should not update const_missing so that if the missing "const" is in fact a subclass of React::Component::Base (or has the mixin) then we go ahead and make the method call.
While it would require we open class Module, it would only effect the behavior of React Component classes, it would get rid of an exception that constantly confuses beginners, and make the code more readable.
Copied from original issue: zetachang/react.rb#115

From @ajjahn on January 8, 2016 15:27
@catmando Can't we raise a const missing exception if the method doesn't exist either, replicating as much standard ruby behavior as possible?

From @catmando on January 8, 2016 21:30
@ajjahn - if you mean in the case that you say Foo but there is no component Foo, then yes, I would say we just use call the original std lib method.

From @catmando on January 11, 2016 23:34
This is not going to work... what was I thinking Foo is defined as a constant so of course const_missing would never be raised.


Reduce installer size by removing playerglobal SWC's?

Currently AppMan patches installed SDK's with the latest playerglobal SWC's but FD also contains the same set of SWC's in tools/flexlibs dir. AS3Context patches the SDKs too on request the same way. Should we remove the bundled ones? The reduction would be something like 7mb.

Or otherway around? Then the AppMan would download less per SDK install.

Yeah maybe we should only include the latest SWC?

Could we patch the SDK with latest playerglobal? So for example if you select v15, your SDK would be patched with playerglobal 20 or something. Does it complete incorrectly (like offer v20 feats) or does it affect only compiling?

That's a whole topic - it would probably work, but some people complain that FD should let you only choose versions compatible with your SDK.

This issue affects only manually configured SDK's, maybe we should just tell them to patch themselves with a link.

Oh, like warning that the SDK is missing the SWC? That may be a good option.
Maybe we do that and include just the latest SWC; and maybe we shouldn't patch v15 for v20.

Actually i think we should have these libs in FD but should remove them from HD. I will add a message for the case the libs dir is missing.

Good point.

I removed the playerglobal.swc's and FlexPMD from HD, its now 10mb smaller :) The SDK already says it its missing a SWC file when you are trying to compile, so i'm not adding a message for that.
AppMan SDK's are still patched on install.


[ExtensionError]: Could not import extension sphinx.ext.githubpages

Details

Project URL: http://quantized-mesh-tile.readthedocs.org/
Build URL (if applicable):https://readthedocs.org/projects/quantized-mesh-tile/builds/4118363/
Read the Docs username (if applicable): loicgasser4

Expected Result
The build is successful.
Actual Result
while executing this command.
python /home/docs/checkouts/readthedocs.org/user_builds/quantized-mesh-tile/envs/latest/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html
I keep getting the same error:
Running Sphinx v1.3.5
making output directory...

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/quantized-mesh-tile/envs/latest/local/lib/python2.7/site-packages/sphinx/cmdline.py", line 243, in main
    opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
  File "/home/docs/checkouts/readthedocs.org/user_builds/quantized-mesh-tile/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 144, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/quantized-mesh-tile/envs/latest/local/lib/python2.7/site-packages/sphinx/application.py", line 435, in setup_extension
    err)
ExtensionError: Could not import extension sphinx.ext.githubpages (exception: No module named githubpages)

Extension error:
Could not import extension sphinx.ext.githubpages (exception: No module named githubpages)

I have tried a couple of things but no luck so far.

This is new in 1.4, you're using 1.3.


Lifesteal triggers on inanimate entities

Describe the bug
Lifesteal gets triggered when hitting inanimate entities, such as Minecarts and Boats.
This causes other players and mobs to be damaged without intent.
This makes #33 more problematic.
To Reproduce

Have a nearby mob to monitor.
With a Lifesteal enchanted item, hit a Minecart or a Boat.

fixed for 1.20.2 update


InAppReview.RequestInAppReview() not working white npm run android

Hello friend, thanks for your plugin, I am testing directly from the terminal with npm run android to a physical device, but it does not work. Should I upload a trial version to the PLAY STORE? Or with testing the android npm run should it work?

Hello 👋, the result you got it's the normally, that it doesn't work on debugging mode, you should upload it to play store after integrate with plugin to see review flow. (android)
For ios it appears in debugging mode.

Thanks for your answer. You're the best


sonobuoy status doesn't report the tests are completed when the logs do.

What steps did you take and what happened:
I have automation running sonobuoy that has been using the logs to determine when the tests are finished and the results are available.  When I changed it to use sonobuoy status, I've encountered a case where sonobuoy status thinks the tests are still running when the logs indicate they're finished:
$ ./sonobuoy status
PLUGIN		STATUS		COUNT
e2e		running		1
systemd_logs	complete	5

Sonobuoy is still running. Runs can take up to 60 minutes.

$ kubectl logs -n heptio-sonobuoy sonobuoy -f
time="2018-07-17T17:48:10Z" level=info msg="Scanning plugins in ./plugins.d (pwd: /)"
time="2018-07-17T17:48:10Z" level=info msg="Scanning plugins in /etc/sonobuoy/plugins.d (pwd: /)"
time="2018-07-17T17:48:10Z" level=info msg="Directory (/etc/sonobuoy/plugins.d) does not exist"
time="2018-07-17T17:48:10Z" level=info msg="Scanning plugins in ~/sonobuoy/plugins.d (pwd: /)"
time="2018-07-17T17:48:10Z" level=info msg="Directory (~/sonobuoy/plugins.d) does not exist"
time="2018-07-17T17:48:10Z" level=info msg="Filtering namespaces based on the following regex:.*|heptio-sonobuoy"
time="2018-07-17T17:48:10Z" level=info msg="Namespace default Matched=true"
time="2018-07-17T17:48:10Z" level=info msg="Namespace e2e-tests-nettest-5qgxw Matched=true"
time="2018-07-17T17:48:10Z" level=info msg="Namespace heptio-sonobuoy Matched=true"
time="2018-07-17T17:48:10Z" level=info msg="Namespace kube-public Matched=true"
time="2018-07-17T17:48:10Z" level=info msg="Namespace kube-system Matched=true"
time="2018-07-17T17:48:10Z" level=info msg="Starting server Expected Results: [{ e2e} {fab10-compute-1 systemd_logs} {fab10-compute-2 systemd_logs} {fab10-compute-3 systemd_logs} {fab10-compute-4 systemd_logs} {fab10-compute-5 systemd_logs}]"
time="2018-07-17T17:48:10Z" level=info msg="starting aggregation server" address=<IP_ADDRESS> port=8080
time="2018-07-17T17:48:10Z" level=info msg="Running plugin" plugin=e2e
time="2018-07-17T17:48:10Z" level=info msg="Running plugin" plugin=systemd-logs
time="2018-07-17T17:48:13Z" level=info msg="received aggregator request" client_cert=systemd-logs node=fab10-compute-1 plugin_name=systemd_logs
time="2018-07-17T17:48:13Z" level=info msg="received aggregator request" client_cert=systemd-logs node=fab10-compute-3 plugin_name=systemd_logs
time="2018-07-17T17:48:13Z" level=info msg="received aggregator request" client_cert=systemd-logs node=fab10-compute-2 plugin_name=systemd_logs
time="2018-07-17T17:48:13Z" level=info msg="received aggregator request" client_cert=systemd-logs node=fab10-compute-5 plugin_name=systemd_logs
time="2018-07-17T17:48:13Z" level=info msg="received aggregator request" client_cert=systemd-logs node=fab10-compute-4 plugin_name=systemd_logs
time="2018-07-17T17:48:30Z" level=info msg="received aggregator request" client_cert=e2e plugin_name=e2e
time="2018-07-17T17:48:30Z" level=info msg="Running non-ns query"
time="2018-07-17T17:48:30Z" level=error msg="error querying CustomResourceDefinitions: the server could not find the requested resource"
time="2018-07-17T17:48:30Z" level=info msg="Collecting Node Configuration and Health..."
time="2018-07-17T17:48:30Z" level=info msg="Creating host results for fab10-compute-1 under /tmp/sonobuoy/d6b2dd57-773c-4823-8e3c-69fc80a4b137/hosts/fab10-compute-1\n"
time="2018-07-17T17:48:30Z" level=warning msg="Could not get configz endpoint for node fab10-compute-1: the server could not find the requested resource"
time="2018-07-17T17:48:30Z" level=warning msg="Could not get healthz endpoint for node fab10-compute-1: the server could not find the requested resource"
time="2018-07-17T17:48:30Z" level=info msg="Creating host results for fab10-compute-2 under /tmp/sonobuoy/d6b2dd57-773c-4823-8e3c-69fc80a4b137/hosts/fab10-compute-2\n"
time="2018-07-17T17:48:30Z" level=warning msg="Could not get configz endpoint for node fab10-compute-2: the server could not find the requested resource"
time="2018-07-17T17:48:30Z" level=warning msg="Could not get healthz endpoint for node fab10-compute-2: the server could not find the requested resource"
time="2018-07-17T17:48:30Z" level=info msg="Creating host results for fab10-compute-3 under /tmp/sonobuoy/d6b2dd57-773c-4823-8e3c-69fc80a4b137/hosts/fab10-compute-3\n"
time="2018-07-17T17:48:30Z" level=warning msg="Could not get configz endpoint for node fab10-compute-3: the server could not find the requested resource"
time="2018-07-17T17:48:30Z" level=warning msg="Could not get healthz endpoint for node fab10-compute-3: the server could not find the requested resource"
time="2018-07-17T17:48:30Z" level=info msg="Creating host results for fab10-compute-4 under /tmp/sonobuoy/d6b2dd57-773c-4823-8e3c-69fc80a4b137/hosts/fab10-compute-4\n"
time="2018-07-17T17:48:30Z" level=warning msg="Could not get configz endpoint for node fab10-compute-4: the server could not find the requested resource"
time="2018-07-17T17:48:31Z" level=warning msg="Could not get healthz endpoint for node fab10-compute-4: the server could not find the requested resource"
time="2018-07-17T17:48:31Z" level=info msg="Creating host results for fab10-compute-5 under /tmp/sonobuoy/d6b2dd57-773c-4823-8e3c-69fc80a4b137/hosts/fab10-compute-5\n"
time="2018-07-17T17:48:31Z" level=warning msg="Could not get configz endpoint for node fab10-compute-5: the server could not find the requested resource"
time="2018-07-17T17:48:31Z" level=warning msg="Could not get healthz endpoint for node fab10-compute-5: the server could not find the requested resource"
time="2018-07-17T17:48:31Z" level=error msg="error querying ThirdPartyResources: don't know how to handle non-namespaced resource ThirdPartyResources"
time="2018-07-17T17:48:31Z" level=info msg="Running ns query (default)"
time="2018-07-17T17:48:33Z" level=info msg="Collecting Pod Logs..."
time="2018-07-17T17:48:33Z" level=error msg="error querying PodPresets: the server could not find the requested resource (get podpresets.settings.k8s.io)"
time="2018-07-17T17:48:35Z" level=info msg="Running ns query (e2e-tests-nettest-5qgxw)"
time="2018-07-17T17:48:36Z" level=info msg="Collecting Pod Logs..."
time="2018-07-17T17:48:37Z" level=error msg="error querying PodPresets: the server could not find the requested resource (get podpresets.settings.k8s.io)"
time="2018-07-17T17:48:38Z" level=info msg="Running ns query (heptio-sonobuoy)"
time="2018-07-17T17:48:39Z" level=info msg="Collecting Pod Logs..."
time="2018-07-17T17:48:42Z" level=error msg="error querying PodPresets: the server could not find the requested resource (get podpresets.settings.k8s.io)"
time="2018-07-17T17:48:44Z" level=info msg="Running ns query (kube-public)"
time="2018-07-17T17:48:45Z" level=info msg="Collecting Pod Logs..."
time="2018-07-17T17:48:45Z" level=error msg="error querying PodPresets: the server could not find the requested resource (get podpresets.settings.k8s.io)"
time="2018-07-17T17:48:46Z" level=info msg="Running ns query (kube-system)"
time="2018-07-17T17:48:48Z" level=info msg="Collecting Pod Logs..."
time="2018-07-17T17:49:11Z" level=error msg="error querying PodPresets: the server could not find the requested resource (get podpresets.settings.k8s.io)"
time="2018-07-17T17:49:13Z" level=info msg="Results available at /tmp/sonobuoy/201807171748_sonobuoy_d6b2dd57-773c-4823-8e3c-69fc80a4b137.tar.gz"
time="2018-07-17T17:49:13Z" level=info msg="no-exit was specified, sonobuoy is now blocking"

What did you expect to happen:
sonobuoy status to show the tests have completed.
Environment:

Sonobuoy version: 0.11.3
Kubernetes version: (use kubectl version): 1.10.5
Kubernetes installer & version: kubespray
Cloud provider or hardware configuration: bare metal
OS (e.g. from /etc/os-release): Ubuntu 16.04
Sonobuoy tarball (which contains * below)
201807171748_sonobuoy_d6b2dd57-773c-4823-8e3c-69fc80a4b137.tar.gz

There are two parts.
1 - Check races on worker cleanup
2 - Aggregator done = clear status.


XAML Controls Gallery links to Expander "Guidelines", which is... a 404.

Guidelines links to https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/expander, which doesn't exist.
Users are insufficiently "guided."

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

ID: c3a93846-82b4-7363-8d3a-7f299e09d0ba
Version Independent ID: 0347e98d-bafd-d80d-7ca4-ae77016c582d
Content: Windows Controls and patterns - Windows app development - Windows apps
Content Source: hub/apps/design/controls/index.md
Product: uwp
Technology: design
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Thanks for reporting this!
Link is currently:
https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/expander
Link should be
https://docs.microsoft.com/en-us/windows/apps/design/controls/expander
Investigating the best way to get this fixed.

I have looked at the latest source code of the Xaml Control gallery, and I cannot see this old link being used.
I hope this means the link has already been updated. I will close the issue - if I missed the broken, please feel free to re-open it and let me know, thanks! -john


Recheck parts in ReplicatedMergeTreeAlterThread in case of error

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Bug Fix

Short description (up to few sentences):
Fix recheck parts in ReplicatedMergeTreeAlterThread in case of error.

Closes https://github.com/yandex/ClickHouse/issues/4766.


minLength validation bug fix

Fix bug where minLength is incorrectly validated against maxLength

Thank you @iamdarrenhall for spotting that one!


BackgroundColor="Transparent" fade it to black color

How to overcome an issue that when I put BackgroundColor="Transparent" it fills button with black color?
Thanks.

@wilsonvargas  I am using version XF <IP_ADDRESS>4934.

Hi @wilsonvargas, I experiencing this as well but on Android platform.
I am using it against XF versions  3.1 and 3.2pre2
Any help please?
Thanks


Twigpack config

In Twigpack I have a config that connects to the webpack dev server running on my mac. Is it possible to have an IP that connects to host machine? Like Homestead that has a special IP: <IP_ADDRESS>.
'devServer' => [
    'manifestPath' => 'http://<IP_ADDRESS>:8000/assets/',
    'publicPath' => 'http://localhost:8000/assets/'
],

Thanks.

@jimhaakman there is an IP address that is configured to your host machine already. By default, that IP should be <IP_ADDRESS>.
In order to verify, you can take the following steps:

nitro ssh
ip addr show
The enp0s2 should have an IP address similar to <IP_ADDRESS>
You can replace the last octet of the IP with 1 and reach your host machine (e.g. <IP_ADDRESS> would be <IP_ADDRESS>)

In your config, you would update it to look like this:
'devServer' => [
    'manifestPath' => 'http://<IP_ADDRESS>:8000/assets/',
    'publicPath' => 'http://<IP_ADDRESS>:8000/assets/'
],

@jasonmccallister thank you for your reply. However I'm getting a connection refused when trying to access that host.
For instance (from nitro ssh) using  curl http://<IP_ADDRESS>:8000/assets/manifest.json my response is:
curl: (7) Failed to connect to <IP_ADDRESS> port 8000: Connection refused

Result from ip addr show is:
ubuntu@nitro-dev:~$ ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp0s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 66:7d:3d:f7:b2:3a brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic enp0s2
       valid_lft 83760sec preferred_lft 83760sec
    inet6 fe80::647d:3dff:fef7:b23a/64 scope link
       valid_lft forever preferred_lft forever
3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:30:3a:26:61 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:30ff:fe3a:2661/64 scope link
       valid_lft forever preferred_lft forever
5: veth013fe48@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether f2:82:7e:bf:05:85 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fe80::f082:7eff:febf:585/64 scope link
       valid_lft forever preferred_lft forever

@jimhaakman can you access port 8000 on your host machine to verify that it is running?

@jasonmccallister yes it is running and accessible.

I've found a fix for this. Instead of using localhost as a host in your webpack config use <IP_ADDRESS> instead. Now it's working.

That makes sense, glad you got it sorted out!

Does anyone have a working configuration for the Windows machine?
Thanks

@jimhaakman Any chance you can post your webpack dev server and twigpack settings? I'm struggling with the same issue. Thanks.

@jimhaakman Any chance you can post your webpack dev server and twigpack settings? I'm struggling with the same issue. Thanks.

sure
craft.zip

@jimhaakman Any chance you can post your webpack dev server and twigpack settings? I'm struggling with the same issue. Thanks.

Sure
craft.zip

For Nitro 2.0 which is based on Docker, you can get Twigpack working with the following config, assuming you're running Webpack on the host.
In twigpack.php:
'devServer' => [
    'manifestPath' => 'http://host.docker.internal:8080/',
    'publicPath' => 'http://localhost:8080/',
],

In webpack.config.js:
devServer: {
  disableHostCheck: true
},

For Nitro 2.0 which is based on Docker, you can get Twigpack working with the following config, assuming you're running Webpack on the host.

To what are you referring here as host?

@kevinmu17 I mean the Docker host or in other words your local machine outside of Docker.

Thanks for clearing that up. What command are you using for running the dev server? I can't get it to work buy you pointed me in the right direction already, because it's now workingish ha!


Add i18n zh_CN

Add i18n  zh_CN
I am a Timex user from China and there is no zh_CN support. So I added it
Checklist
According to the ja template, I added zh_CN package.

Coverage increased (+0.08%) to 63.905% when pulling f0459d1fb4a057958ece0cc32f7b9e0b613b2440 on soarpatriot:master into 6807598bd66abea97d188459a256096530bf8bd5 on bitwalker:master.


Update cluster-prepare.yml to include group_vars

Description of the change
The Packages | Install required packages task was failing because the provision/ansible/inventory/group_vars/kubernetes/os.yml was not being included in the execution of the playbook

Benefits
The playbook will not error out.

Possible drawbacks
None that I know of.

Applicable issues

Discussed in  #499 as a side topic

Additional information

Thanks for the PR, I'll have to verify this on my end. The group vars should be getting picked up automatically.

Just added a second commit to this PR to fix the namespace in tmpl/cluster/cert-manager-secret.sops.yaml to put the cloudflare-api-key secret into networking, where it would be used by the cert-manager helm-release


BorderColor should impl From<Color

What problem does this solve or what need does it fill?
This is a common and convenient idiom elsewhere in the engine to make working with colors easier.
What solution would you like?
Implement the From trait.

Isn't It already implemented?
https://github.com/bevyengine/bevy/blob/ca3d8e8760f46d4308ba2fdc00435d00afd96989/crates/bevy_ui/src/ui_node.rs#L1736C1-L1740

Isn't it already implemented?
https://github.com/bevyengine/bevy/blob/ca3d8e8760f46d4308ba2fdc00435d00afd96989/crates/bevy_ui/src/ui_node.rs#L1734-L1740

Hmm, evidently. I wonder why that wasn't getting picked up.


Removed an unused variable

This variable causes builds to fail when using build flag -Werror

Any reason why this PR is not merged?

I believe @knolleary needs to accept this?

Yup - its in the ever growing backlog of work I have. Given the trivial nature, I'll merge it now. But I won't have time to cut a new release for a while.

Thanks!

@knolleary do you have any plans on making a new release with this fix? We're still getting this complier warning.


Artemis Engine implement ASB script

Hello. Is it possible to implement the .abs script found in Artemis Engine? I know that VNTextPatch already has support just plain Artemis .txt, but these scripts are compiled. I personally never saw these scripts in any of the VNs in that engine, but at least one has them and it's a new version of Aiyoku no Eustia on Artemis Engine.
Here sample: aiy00010.zip
I studied the script a bit, and found that each line of text has a data tag preceded by a string size in bytes. Through the hex editor I made the string longer, and then changed the size of the string. As a result, the game does not crash, and it displays the changed string, which is longer than the original string (if you do not change the size of the string, the game crashes, which is logical). About other strings, such as character names and choices I do not know, but I think there is also just a string size. All text is in UTF-8.

Well, the problem is partially solved. Inside the .pfs archive I found one .lua script that has a function called print. In .asb file it is called every time when need to display text on the screen. So I can change this function so that it returns a translated string instead of the original string. Before that, I need to parse all the strings by going through the whole game, and it's very inconvenient. I could not find the functions responsible for names or choices.
As for exe file, it uses the most common unmodified executable for the Artemis engine. Apparently, support for .asb files was always there, just wasn't used. In any case, here is the exe file: Artemis.zip
I have the game itself, but it has a very large size, and given that I have a weak Internet, it will take a very long time to upload it.

Ah, I found the link where I got the game from. Here's the link.

.asb support now available.


Allow an option to configure whether the PortableThemeEngine's TE1.x shim operates in full TE1.x compatibility mode or loose TE1.x compatibility mode.

This would be a public property set at runtime by the calling application, and would default to loose compatibility. Full compatibility is basically "UXL Launcher Mode," where themes that don't support anything other than the main windows don't apply to other forms. This is dependent on checking the form's name and is not recommended for applications other than ones that use form names consistent with what's in UXL Launcher. Loose compatibility mode basically just loads the theme in like a TE2.x theme while making sure any serious issues are taken care of.

This should now be available in the PortableThemeEngine as of d642891. Can't verify it for sure until the applying code is hooked up, though, at which point a "fixes issue number" will be put in the commit message.

Forgot to put the fixes issue number thing in there. I'll do it on the pull request.


Add option to validate after each pass

New command-line option to opt: --validate-after-all
Pass manager will validate after each pass it runs

Errors look like:
error: line 109: ID 54[%54] defined in block 43[%43] does not dominate its use in block 68[%68]
  %68 = OpLabel

error: line 0: Validation failed after pass merge-return

Especially useful when combined with -print-all.

Perhaps the name should be slightly different to clarify that it runs after each pass, not after all passes have run. E.g. --validate-every-pass --validate-after-each --validate-all --validate-passes But this might just be me.

Perhaps the name should be slightly different to clarify that it runs after each pass, not after all passes have run. E.g. --validate-every-pass --validate-after-each --validate-all --validate-passes But this might just be me.

It was named after the llvm option -print-after-all. I guess we changed that to -print-all, but this option doesn't control the initial validation. Maybe --validate-passes is a better name.

Ah maybe --validate-after-all is fine then.


Handle search Dir parameters properly

The zqd search api takes a "Dir" parameter which is meant to specify whether results should be from oldest-to-newest or from newest-to-oldest.  But the only value that works right now is -1 to specify newest-to-oldest.  Passing 1 (to request oldest-to-newest) just silently breaks some queries (such as those that include time-binned groupby procs).
At the very least we should validate Dir and return an error if a value other than -1 is passed.  We could also just remove this parameter, it would not be difficult to add it back if/when we implement the ability to generate results in either order.  (see also #501)

This is going to entail updating some test code.  For instance, we're currently testing for the existence of broken behavior here: https://github.com/brimsec/zq/blob/adc4e535a9fdd480900b7eb6035098cb102981b9/zqd/handlers_test.go#L33-L46
In that test, zngSearch is currently hard-wired to pass 1 for Dir, but the test asserts that the records come back with descending timestamps.


insecure-ssh-keys need different permissions

The key files from https://github.com/NLeSC/Xenon/tree/9e7f25971fe84bb842aa0ffd855a551e57a307f5/src/integrationTest/docker/insecure-ssh-keys need certain permissions, otherwise ssh will complain like this:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0664 for '../insecure-ssh-keys/id_rsa.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.

I'm not sure how the permission got set to 0664, maybe operating system defaults are applied when checking out from github?
Anyway, so we need to add instructions to the documentation here for example, something along the lines of
chmod 600 ../insecure-ssh-keys/id_rsa.pub

or even better, point to a readme in this directory that lists the proper permissions on key files as well as ~/.ssh/ itself.

Possibly also relevant for https://github.com/NLeSC/Xenon/blob/ef477b0dd555e6c016d906480fe15cca71cb7e7a/src/integrationTest/docker/xenon-alpine-base/Dockerfile#L13

This may not be a problem as long as you avoid building individual docker containers.
Instead just build them all by running https://github.com/NLeSC/Xenon/blob/ef477b0dd555e6c016d906480fe15cca71cb7e7a/src/integrationTest/docker/build.sh#L5

Should be fixed by #461. Closing this issue.


Permission to enter

What is your username and discriminator?
Mr. Snake#3408
Why did you join Discord Linux?
Cause I use linux and I'm intrested in
Where did you hear about Discord Linux?
Google
What is the passphrase that was assigned to you by the bot?
sudo -i downtown-deserted-fox-mousse

From simonizor#0420 :
Please check the message that mentions you in the welcome channel to find your passphrase.

@DiscordLinuxBot I found it that's why I changed it
sudo -i downtown-deserted-fox-mousse
that;s my passphrase!

From simonizor#0420 :
Looks good.  I've given you a temporary role so that you can enter the passphrase in the welcome channel.

Thanks so much simonizor :+1:  I am really sorry for the inconvenience at the beginning.
I wish you a happy new year
Sincerely
Mr. Snake#3408


Add cancellation token overloads to publish/subscribe methods

Thanks for being patient @JosephWoodward. I have requested some minor changes. Good job on this feature 👍


Extract single observation and infer model item

It should be simpler to extract a single observation:
c1 = mr.extract_observation(o1, item=0)

In simple cases we would like to infer model item by using eum info:
c1 = mr.extract_observation(o1)

@ecomodeller is this ready for merge after your recent commit? Or do we need to do more?

It is good to go unless I missed something in my modified filtering algotrithm:
https://github.com/DHI/fmskill/blob/9d42ecf0b59e1907c34bb8e1c93487aa843ad1e2/fmskill/model.py#L208-L211

It is good to go unless I missed something in my modified filtering algotrithm:
https://github.com/DHI/fmskill/blob/9d42ecf0b59e1907c34bb8e1c93487aa843ad1e2/fmskill/model.py#L208-L211

neat! Thx


When using the first item in the list as a placeholder (value="" and disabled) the selected attribute is not applied for the item inside the text-field

<vaadin-dropdown-menu>
  <template>
    <vaadin-list-box>
      <vaadin-item value="" disabled>
        Select an option

        Pretty please
      </vaadin-item>

      <vaadin-item value="1">
        Option one

        Item description
      </vaadin-item>
      <vaadin-item value="2">
        Option two

        Item description
      </vaadin-item>
      <vaadin-item value="3">
        Option three

        Item description
      </vaadin-item>
      <vaadin-item value="4">
        Option four

        Item description
      </vaadin-item>
    </vaadin-list-box>
  </template>
</vaadin-dropdown-menu>

Expected result:

Actual result:

The vaadin-item which is shown inside the vaadin-dropdown-menu-text-field does not get the selected, so the style adjustments, which remove the horizontal padding from the item, are not applied.

The reason is this code: https://github.com/vaadin/vaadin-item/blob/master/src/vaadin-item-mixin.html#L113
So, when we clone selected item, it has the selected attribute, but once we attach it to the value slot, it loses it because of the property observer fired.
We can workaround this explicitly in vaadin-dropdown-menu by moving this line down and always invoking it after we append item to the slot.

I was also wondering if the way Lumo adjusts the styles of the selected item, using the [selected] selector, is a good practice.

Haven’t figured out a better system either, to get the required visual results.


Enable Azure in GoTrue

In "MK1" of the supabase CLI (I have been using version 0.5 up until today), I manually passed in parameters to GoTrue via the docker-compose file. Specifically, flags to enable Azure, as I use this in local development and testing:
services:
    ....
  auth:
    container_name: supabase-auth
    environment:
      .....
      GOTRUE_EXTERNAL_AZURE_ENABLED: 'true'
      GOTRUE_EXTERNAL_AZURE_CLIENT_ID: ************
      GOTRUE_EXTERNAL_AZURE_SECRET: ***********
      GOTRUE_EXTERNAL_AZURE_REDIRECT_URI: http://localhost:8000/auth/v1/callback
      GOTRUE_URI_ALLOW_LIST: http://localhost:8080
    depends_on:
      - db
      - mail

What would be the equivalent in MK2?

I haven't thought deeply about this, but the I think the ideal solution is to configure this directly in the OSS dashboard once I manage to integrate it into the CLI.

Closing this in favor of #80


Update examples/spark for v1beta3

Small part of https://github.com/GoogleCloudPlatform/kubernetes/issues/6584.

Thanks a lot for the PR @bcbroussard
v1beta3 is now the default API version. We can just replace the v1beta1 json files by beta3 ones.
Instead of adding a v1beta3 folder, can you just replace the top level beta1 files?
Thanks!

@nikhiljindal - Sure thing, I was wondering about that, but decided to play it safe and follow the pattern Tim and others were using. Making the updates on my other PR's too

@nikhiljindal - commits squashed, should be ready to go

LGTM, Thanks!


Basic example: hide the buttons when VR mode is entered (on iOS)

@cvan could you explain the context or details here? I don't understand

In the Basic example, there are three buttons shown:

Fullscreen
VR (WebVR/Mobile only)
Reset

iOS (i.e., specifically WebKit) lacks support for the Fullscreen API. So, upon you entering "VR mode," the page enters faux-Fullscreen mode. When this happens, the three buttons still appear overlayed the VR scene.
This is just a matter for the Basic example. Ideally, though it's not guaranteed, everything except the <canvas> and the UI icons (i.e., the back arrow + settings) injected by the Polyfill become hidden when VR mode is entered. This could be solved by creating a <div> that is positioned (position: fixed) behind the <canvas> such that the non-VR content is not visible.
A different solution that's less than ideal would be to set display: none on all other elements, but that would make too many assumptions about what content looks like.

Fixed via #261


Update sbt-scalajs, scalajs-compiler, ... to 1.9.0

Updates

org.scala-js:sbt-scalajs
org.scala-js:scalajs-compiler
org.scala-js:scalajs-library
org.scala-js:scalajs-test-bridge

from 1.8.0 to 1.9.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.8.0).
You might want to review and update them manually.
build.sbt
scalafix/README.md
scalafix/input/src/main/scala/example/thrift/SimpleRequest.scala
scalafix/input/src/main/scala/example/thrift/SimpleResponse.scala
scalafix/input/src/main/scala/example/thrift/SimpleService$FinagleClient.scala
scalafix/input/src/main/scala/example/thrift/SimpleService$FinagleService.scala
scalafix/input/src/main/scala/example/thrift/SimpleService.scala
scalafix/output/src/main/scala/example/thrift/SimpleRequest.scala
scalafix/output/src/main/scala/example/thrift/SimpleResponse.scala
scalafix/output/src/main/scala/example/thrift/SimpleService$FinagleClient.scala
scalafix/output/src/main/scala/example/thrift/SimpleService$FinagleService.scala
scalafix/output/src/main/scala/example/thrift/SimpleService.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js" } ]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Superseded by #38.


Play Mc bed wars

Using teach mode

Hmmmm good idea @viaate, I guess this could be expanded to any online game. A bit more advanced than just learning how to activate coding events, but kind of cool. Good suggestion. Not sure if I am the best person to test that game out, but I can probably test out the concept using a Browser based javascript game.


SW-3992 Add sub-location delete endpoint

Left this out of commit bfea4017. It won't be used initially for nursery
sub-locations, but is needed to support deleting seed bank sub-locations.

Current dependencies on/for this PR:

main

PR #1424   👈

This comment was auto-generated by Graphite.


Synchronization of drawing with the framerate of the display device

In writing games and demos it is quite important to be able to synchronize to the device framerate in order to maintain the right smoothness of movement and animations, with no hiccup,  glitches while loosing sync.
How does this currently look in the Neo6502? A virtual device emulated by RP2040 is responsible for the display, so
as what frequency does it generate the image? Would it be possible to somehow synchronize with its cycles?
This would be a very useful feature from the point of view of smoothness of animation generation.
For now, it is possible to watch the clock given by the API and draw the picture when we have the last bit is set to zero.
This gives us a frequency of 50Hz, but I don't know at what actual frequency is the image generated by RP2040?
The options I can think of are:

an interrupt triggered when the frame drawing is finished (like vertical blank interrupt in actual retro hardware),
maybe "hardware in firmware" timer counting frames, that can be attached to trigger 6502 irq?
API command returning a result only after the current frame is finished.

The last solution is a bit worse, because it forces the current program to stop working and wait for API to respond.
But i'm not an hardware expert so I do not even know if it is possible at all (from rp2040 point of view).
Maybe there are some other options?

I don't think it's practically possible to fire interrupts. The hardware is sort of there but it will break UEXT and probably SDCard as well.  This leaves the option of something like wait for vertical blank, which should be feasible.
Maybe just VBLANK ?

I suppose you could have a HASVBLANK() , this would return TRUE if a VBlank had occurred between this call and the previous call, if there was one ?
What do you think ?

that should be enough I think. Or maybe a vblank counter working tha same way? when it changes it's value you knot that it just occured between reads. And counter let's you identify I you skipped frame or not.

VBLANKS() returns this, it is updated immediately after the rendering of the final line.


Dynamic Endpoints

Our applications read in a configuration api that has a list of web services the application will use.
Is there a way to dynamically generate these webservice endpoints into moya at runtime?

Hmm, not easily, though you could use the StructTarget to use a struct instead of an enum for your MoyaTarget. I'm not aware of anyone doing this, if you find anything online that helps, please let us know 🙇

Perhaps, something like this could work:
enum APIProvider {
	// returns an array of objects with `apiPath` in each.
	/* Example: [
		{
			"title": "Followers",
			"apiPath": "/people_components/{userUUID}/followers",
		},
		{
			"title": "Following",
			"apiPath": "/people_components/{userUUID}/following"
		},
		{
			"title": "Blocked",
			"apiPath": "/people_components/{userUUID}/blocked", etc.
		}
	] */
	case PeopleComponents

	case People(apiPath: String, userUUID: String)
}

extension APIProvider: TargetType {
	var baseURL: NSURL { return NSURL(string: "http://localhost:3000")! }

	var path: String {
		switch self {

		case let .PeopleComponents:
			return "/people_components"

		case let .People(apiPath, userUUID):
			return apiPath.stringByReplacingOccurrencesOfString("{userUUID}", withString: "\(userUUID)")

	}
}

// ...

You may want to consider generating the Moya source code from your API similar to this: https://github.com/lkuczborski/SwiftMoyaCodeGenerator - you can't really get the advantages of maya without their being defined types in code

@wonc003 did you manage a solution for this issue? Would love to have it added to our documentation 👍

Since there hasn't been any activity on this thread for some time, I am going to go ahead and close it. Please re-open or create a new issue if you would like to discuss further. Thanks.


Support UPC codes

Any plans to support UPC codes?

Hi @alejandrogiubel .
I already enabled this type. The   zxing_lib has support but for some reason it doesn't work.