just a question.

I've read your alert.

So what does this project do? is this just a simple page or can do more than that?
imean, i was testing coin-hive and thinking to open a pool with it. but something weired was happening while on mining page hash rate is 100+Hash/sec from just one pc my hash rate at coin-hive dashboard is just 60hash/sec :confused: (testing with coin-hive javascript way)
So is this project optimized somehow or you just created a simple page?!
Thanks.

looks like a simple page from here

https://github.com/cazala/coin-hive/blob/master/src/server.js#L6

Hi, this project allows you to run coin-hive on a server by emulating a browser (using puppeteer and rendering a CoinHive miner.
Nothing different then the javascript coin-hive, just runs on a server instead of your computer's browser.

Oh and regarding the hash rate, if you run this package without specifying a number of threads, it will set it to the number of CPU cores, to run as many concurrent threads as possible. In coin-hive's website the miner they have on their homepage is set by default to use only 2 threads (although you can increase that from the UI).

Well thank you for informations and the great work

Just a few more questions :-)
What's your h/s ?
Are you running it on the cloud or locally?

i was just testing..
my pc 129Hash/sec
and 2 vps servers one 34hash/sec and anotherone 92hash/sec
So i was around 200hash sec.
At the begin it starts to show hash ok. then in dashboard i was able to see just 60-69/hash sec while mining rate in browser wasn't going low.
In this case is happening a bad think. or coin-hive mining system isn't that good. like some old mining programs are, if nothing to mine hash will go 0h/s :confused:


[FEATURE REQ] Delete source branch after completing Pull Request

Please describe the feature.
When the Extractor creates a Pull Request and that PR gets completed, the option to delete that branch is disabled by the default branch policies.
We get the message:
Cannot delete the source branch without force push permission
It would be nice if branch policies could be added to the extractor's Powershell Script so that the branch allows delete permissions for default Azure Devops groups like Contributors.
Is this something you guys are aware of, have considered or know a workaround for?
Because over time, these branches get cluttered and only administrators can delete them. Which is a cumbersome task..
It would be great that any developer that completes the PR, could check out the option to automatically delete the branch when completing the PR.

This is a permission issue on the Azure Devops level and has nothing to do with apiops. Extractor creates the PR. It doesn't deal with source branch deletion.


Python for DevOps article

Proposed changes

Unreleased product version (optional)

Related issues (optional)

This url checker is such a pain:

Checking http://www-testing-pulumi-docs-origin-pr-13674-06b11ce8.s3-website.us-west-2.amazonaws.com/ for new 404s...
Checking 2014 URLs...
3 new 404s were detected:
/events/exploring-the-intersection-of-cluster-api-and-infrastructure-as-code/ : 403
/events/nginx-deploy-kubernetes-and-the-kitchen-sink/ : 403
/events/winning-the-product-agility-jackpot/ : 403
These are pages that exist on pulumi.com but do not exist at http://www-testing-pulumi-docs-origin-pr-13674-06b11ce8.s3-website.us-west-2.amazonaws.com./
Please make sure any content that's been moved has been an appropriate alias or redirect in place.
make: *** [Makefile:74: ci_pull_request] Error 1

I rebased, but I didn't touch these files and don't know what its talking about.


Migrate to clap 4

This PR migrates from clap 2 to clap 4, and does a little
bit of refactoring on the code that it touchs.
Fixes #86.
I had to refactor a lot of main code, so I ended up solving
#86 too in the process.
Set as a draft while I try to discover why commit 400c6cf broke one test.

Ah, I missed the last two commits - I would prefer to put those in a follow-up PR if possible, the clap migration is already quite large.

I'll be separating the last two commits for the next PR. :+1:

This is amazing! Thank you for putting the move from main.rs to cli.rs in its own commit! It made this much easier to review :)

I wanted to do it in even smaller pieces, but the migration commit had to do a lot of stuff at the same time.
I unindented most of the main function by one level, the diff is terribly unreadable because of it, so here's a tip, if you disable whitespace diffing:

You'll have 60 fewer modifications to review in that commit :wink:.


label_3

First of all, thank you for providing me with such a good code.
I have a question about kitti data.
As far as i know, only label_2 is provided in the Kitti Object dataset.
Can you tell me where i get the data from label_3?

Following Stereo R-CNN, we project 3D bounding boxes to the right view to get label_3.
I have uploaded label3.tar.gz to here.


GUI is not working...

Using (testing) v1.1.5
Using on Ubuntu 20.04
From the GUI

Still seeing this issue

Debugging this with the command line given here it is working.
Maybe the issue is with the flag Open spreadsheet
So, if I unmark this checkbox, the whole gui hangs.
A 3rd test gave this...
BOM file: board.csv
Reconigzed EDAs: CSV file
Open spreadsheet unmarked
[3]    76634 segmentation fault (core dumped)  kicost

Attach the answer to kicost --info on terminal.

✦2 ➜ kicost --info
KiCost v.1.1.5.at Python 3.8.2.on Linux-5.4.0-34-generic-x86_64-with-glibc2.29(64bit).Graphical library: 4.0.7 gtk3 (phoenix) wxWidgets
3.0.4.

Confirmed. Also some freeze at Ubuntu 16.04.

Same problem with current master branch:
hash: c1ea5d401c3714af4c6922f23360de7616a53016
KiCost v.1.1.5.at Python 3.8.6.on Linux-5.8.14-arch1-1-x86_64-with-glibc2.2.5(64bit).Graphical library: 4.0.7.post2 gtk3 (phoenix) wxWidgets 3.0.4.

KiCost v.1.1.4.at Python 3.8.5.on Windows-10-10.0.19041-SP0(64bit).Graphical library: 4.0.7.post2 msw (phoenix)
wxWidgets 3.0.5.

Hi, I have the same issue.
The kicost --info output is:
KiCost v.1.1.4.at Python 3.7.9.on Windows-10-10.0.19041-SP0(64bit).Graphical library: 4.1.0 msw (phoenix) wxWidgets 3.1.4.
The output of the script is:
Progress:   0%|                                                                              | 0/213 [00:00<?, ?part/s]Traceback (most recent call last):
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\connection.py", line 160, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
    raise err
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
    sock.connect(sa)
TimeoutError: [WinError 10060] Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l'intervallo di tempo oppure mancata risposta dall'host collegato

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
    self._validate_conn(conn)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\connectionpool.py", line 978, in _validate_conn
    conn.connect()
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\connection.py", line 309, in connect
    conn = self._new_conn()
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\connection.py", line 172, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x0000019E7F767CC8>: Failed to establish a new connection: [WinError 10060] Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l'intervallo di tempo oppure mancata risposta dall'host collegato

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\requests\adapters.py", line 449, in send
    timeout=timeout
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\connectionpool.py", line 727, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\urllib3\util\retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='dev-partinfo.kitspace.org', port=443): Max retries exceeded with url: /graphql (Caused by NewConnectionError("<urllib3.connection.HTTPSConnection object at 0x0000019E7F767CC8>: Failed to establish a new connection: [WinError 10060] Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l'intervallo di tempo oppure mancata risposta dall'host collegato"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\programdata\anaconda3\envs\kicost\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\programdata\anaconda3\envs\kicost\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\ProgramData\Anaconda3\envs\kicost\Scripts\kicost.exe\__main__.py", line 7, in <module>
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\kicost\__main__.py", line 311, in main
    dist_list=dist_list, currency=args.currency)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\kicost\kicost.py", line 251, in kicost
    api_partinfo_kitspace.query_part_info(parts, distributor_dict, currency)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\kicost\distributors\api_partinfo_kitspace.py", line 353, in query_part_info
    get_part_info(queries[slc], query_parts[slc], query_part_stock_code[slc])
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\kicost\distributors\api_partinfo_kitspace.py", line 197, in get_part_info
    results = api_partinfo_kitspace.query(query, distributors)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\kicost\distributors\api_partinfo_kitspace.py", line 124, in query
    response = requests.post(QUERY_URL, {'query': query_type, "variables": variables})
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\requests\api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\requests\sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\requests\sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "c:\programdata\anaconda3\envs\kicost\lib\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='dev-partinfo.kitspace.org', port=443): Max retries exceeded with url: /graphql (Caused by NewConnectionError("<urllib3.connection.HTTPSConnection object at 0x0000019E7F767CC8>: Failed to establish a new connection: [WinError 10060] Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l'intervallo di tempo oppure mancata risposta dall'host collegato"))
Progress:   0%|                                                                              | 0/213 [00:21<?, ?part/s]

It seems that dev-partinfo.kitspace.org is not responding, it is down or there is a bug in kicost?

Ok, I believe a few issues are conflated here (especially since #421 was marked as a duplicate). I think I have an idea what's going on.

The issue in https://github.com/xesscorp/KiCost/issues/421#issuecomment-691255711: wxPython has become more strict about accepting nonsensical combinations of sizer flags. From the release notes of wxPython 4.1.1:

This should have been mentioned in the notes for the last release, but alas, it wandered away and got lost. wxWidgets is now validating the flags passed when adding items to a sizer, to ensure that they are the correct flags for the type of the sizer. If the given flags do not make sense, for example using horizontal alignment flags in a horizontal box sizer, then a wxAssertionError error is raised.

... which is exactly what happens. The error messages even tell what the problem is ("wxEXPAND flag will be overridden by alignment flags"). The solution is to either remove the wx.EXPAND flag or the alignment flags, depending on what the intent here is. Getting the GUI to start required a modification in kicost_gui.py of lines 367, 384 and 449. I'm not sending a pull request since I don't know what the GUI is supposed to look like and hence which of the conflicting flags should be removed.

The xcb/XInitThreads error. What is happening here is that GUI code is being run from a thread different than the one that created the window. This is not supported in wxPython. Specifically, it seems that formKiCost.run() is run from a different thread (started in button_run()), and it contains GUI code such as self.m_gauge_process.SetValue(0) (and lots of other GUI manipulation). This causes breakage. See eg. this thread. Hacking button_run() to just call self.run() instead of starting a thread fixes this for me.

Hi @hildogjr !
If you incorporate the flake8 patch first (which I strongly recommend) the #451 becomes:
diff --git a/kicost/kicost_gui.py b/kicost/kicost_gui.py
index 231e11f..bb2dcb9 100644
--- a/kicost/kicost_gui.py
+++ b/kicost/kicost_gui.py
@@ -41,7 +41,7 @@ import webbrowser  # To update informations.
 import sys
 import os
 import subprocess  # To access OS commands and run in the shell.
-import threading
+from threading import Thread
 import time  # To elapse time.
 import tempfile  # To create the temporary log file.
 from datetime import datetime  # To create the log name, when asked to save.
@@ -96,6 +96,18 @@ PAGE_POWERED_BY = 'https://kitspace.org/'
 kicostPath = os.path.dirname(os.path.abspath(__file__))  # Application dir.

+# ======================================================================
+class ChildThread(Thread):
+    """ Helper class to safetly call the run action """
+    def __init__(self, myframe):
+        """Init Worker Thread Class."""
+        Thread.__init__(self)
+        self.myframe = myframe
+
+    def run(self):
+        wx.CallAfter(self.myframe.run)
+
+
 # ======================================================================
 def open_file(filepath):
     '''@brief Open a file with the default application in different OSs.
@@ -714,10 +726,9 @@ class formKiCost(wx.Frame):
     def button_run(self, event):
         ''' @brief Call to run KiCost.'''
         event.Skip()
-        # self.run()
-        # wx.CallLater(10, self.run) # Necessary to not '(core dumped)' with wxPython.
-        t = threading.Thread(target=self.run)  # , args=[self])
-        t.start()
+        self.child = ChildThread(myframe=self)
+        self.child.daemon = True
+        self.child.start()

     # ----------------------------------------------------------------------
     # @anythread


[setup raw3-1]Find out the phidgets serial on raw3-1

Seems to be fixed (https://github.com/ipa320/cob_robots/pull/475/files#diff-c3c1576e01fb1063d4a430245c2480d6R6)
@ipa-nhg @ipa-bnm please close

we will receive an updated raw3-1 config by @ipa-bfb soon anyway


Make a unified representation of doc blocks

As an extension to ESTree or a completely separate format it would be nice if doctrine could speak in a unified format which YUI and JSDoc could understand and share for a similar use-case to ESTree.
The problem of beginning to parse both I think suffers from being able to speak about the same statements in a unified manner.
As there is still fairly good support for YUI doc I think it would be worth having this however it could be harder to expand to other formats.

Does YUIDoc and JSDoc already shared a common format?

It is pretty universal, the structure is slightly different in that YUI has primary and secondary tags where as JSDoc is a little more informal. I'm not actually sure if there are any syntax differences other than different tags and conventions.

Since you're passionate about this, I'd like to suggest you do some research and post back here examples of Doctrine, YUIDoc, and JSDoc output for the same docblocks.

It's probably fair to say I'm not going to get time to complete this unless it became a requirement of my next job (Which it looks like it won't be).
I'm going to close this as it looks like I'm the only one pushing for this however I'm available to walk through this if anyone has an interest in it.


Add React + Apollo example

As discussed in https://github.com/brillout/vite-plugin-ssr/issues/8, here is an example that uses React and Apollo SSR.

Neat.
Is there a way to move new ApolloClient outside of   app.get("*", async (req, res, next) => {? Doesn't seem right to initialize the client over and over again. Also I guess we can move it outside async function hydrate() { (doesn't make a difference but it's more idiomatic).
Also, I'd reduce the example to a bare minium:

No logo
No PageLayout
JS instead of TS
Etc.

If someone looks at the examples/apollo example, he'll want to see integration stuff and not unrelated things. (I'm actually planning to replace the examples/react example with a bare minimum one.)
Sorry for the late reply, I was heads down with implementing Client-side Routing. I normally reply within a day.

I've simplified the example quite a bit and removed some unnecessary code/packages.

Is there a way to move new ApolloClient outside of app.get("*", async (req, res, next) => {

This is actually done on purpose. According to Apollo's docs on SSR, it is recommended that you create a new client per request:

It's important to create an entirely new instance of Apollo Client for each request. Otherwise, your response to a request might include sensitive cached query results from a previous request.

Let me know if you have any other feedback.
Thanks.

This is actually done on purpose. According to Apollo's docs on SSR, it is recommended that you create a new client per request:

I guess we should add a comment about that on top of the client initilization code, at both places.
The test is not working. The react and vue tests are quite heavy; no need for such heavy test here and we can do something simple like examples/redux/.test.spec.ts.
I added instructions on how to run tests at https://github.com/brillout/vite-plugin-ssr/blob/master/CONTRIBUTING.md
We can also squeeze out more stuff, e.g. the scripts at package.json (see the redux example) and we can remove const title = contextProps.title || "Demo: vite-plugin-ssr";. Also we can remove _error.page.
LGTM otherwise.
Let me know if you run into any paper cuts while developing the example. I'm interested in a well polished contributing DX.

@stephensamra Any luck? If you are busy let me know and I'll merge and finish it up. Thanks for the PR btw.

Hey @brillout, I am a little busy but I plan on doing this sometime over the weekend. I'll update you either way. Thanks.

Sounds good

Hey @brillout, what version of node/npm should be used for this project? I'm currently using node v14.3.0 and npm v6.14.4 but I think that's causing some issues when trying to run npm install in the root directory (following https://github.com/brillout/vite-plugin-ssr/blob/master/CONTRIBUTING.md#run-test-suite):
This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!

I can switch versions using nvm but wondering what version I should switch to? Thanks.

I believe npm v7 should do the trick, as they did a lot of breaking changes between v6 and v7.
My setup: node: 7.0.14, npm: v15.3.0.

You can use npm test -- --root-dir examples/some-example/ instead of npm test. It will save you a lot of time. https://github.com/brillout/vite-plugin-ssr/blob/master/CONTRIBUTING.md#modify-example

Thanks @brillout, that's working perfectly now 👍

@brillout, I've cleaned up the example a bit more. The test is passing now, too. Let me know if it's all good or if you think there should be any more changes.

Perfect.
Let me know if you have questions or critical(!) feedback regarding vps.


Add more tips to Troubleshooting doc

I just had it "not work" again...
... and this is a bunch of things I tried.
No cleaning helped, and then I did an update of the extension (thus the uninstall/reinstall tip), and it worked again.
Which seems very weird, given that there don't seem to be any major changes recently.
The menus were there, the extension was "activated" according to VSC, but it just didn't configure the project.
@guw

Is there a way to increase logging verbosity which we could document here?
Where does it actually log when it launches Bazel do to the queries to configure the classpath?  That's not in the .log and the client.log-2024* from JDT, right? I don't see anything about that there (even now that magically it works again for me).
I know the Terminal has 2 tabs for Bazel Build Status and Java Build Status - let me amend to add a note to look at that...

@vorburger I noticed the missing logging too. I suspect something is not ok with JDTLS SLF4J & Logback setup. I am investigating. Probably worth moving this into a separate topic.

@vorburger I noticed the missing logging too. I suspect something is not ok with JDTLS SLF4J & Logback setup. I am investigating. Probably worth moving this into a separate topic.

==> #100 (yay, 💯 🚀 )


Feature request: add optional "sync to maven central step" to bintray-maven-plugin

I've been using the bintray-maven-plugin successfully in a multi-module maven project (https://github.com/IBM/platform-services-java-sdk) for a few releases now.
My artifacts are published to my bintray repo and those artifacts are also exposed on JCenter.
There's one more step that I need to add to my build, and that is to sync the artifacts from JCenter to Maven Central.
In another (single-module) project, I do this via a shell script that uses curl to invoke the bintray "maven_central_sync" REST API.   After the "deploy" phase of the build publishes the artifacts on the bintray repo, the shell script is executed to sync those artifacts to MC.
I was going to adapt this shell script to work in my new project, but was thinking that it would be great if the bintray-maven-plugin could support this "sync to MC" functionality as an additional optional step after deploying the artifacts to the bintray repo, perhaps controlled either by a new boolean flag (e.g. performMCSync) or perhaps a specific goal could be exposed which could be triggered after depoy (e.g. mvn bintray:syncMC).
Any chance this could be added as a new feature?
If you feel this would be a worthwhile addition to the project, I could try to submit a PR with the changes.
Thanks,
Phil

Phil:

thank you for the idea
yes, please submit a PR


Be able to customize CMAKEFLAGS with $TRANSFORMERS_CMAKEFLAGS env var

This is necessary to pass specific cmake flags when building localAI

Thanks!


ascii2mathml breaks Promise API

We are using markdown-it-math.
Unfortunately the babel polyfills break the Promise API of the Atom editor:
https://github.com/Galadirith/markdown-preview-plus/issues/86
Is there a better way to do it?

:+1:


maintainers: thehedgeh0g -> pyrox0

Also updates my information and contact info.
I no longer use The Hedgehog as my github username or online presence username, so this fixes that. It also matches my github username, so it should be easier for others to mention me if needed.
Further, for any packages that I am the sole maintainer of, this moves those packages to pkgs/by-name. I did not move any packages maintained by multiple people, to reduce the risk of breaking changes and pull request conflicts.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Let's consider moving the packages in a separate PR, since other changes would be needed too.

Reverted all the package file moves.


Fix helm installation issue

Earlier executable helm was not available as an archive,
now Helm latest version's excutable is available as an archive.
Also helm executable doesn't match with the client name, so
fixed that as well.
Fixes: #8
Signed-off-by: divyansh42<EMAIL_ADDRESS>

This fix is in the right area and and I see that it works. However, I think there is an easier way.
In the caller, we already have file.archiveFileName, which this ends up being the same as in our helm case. Maybe instead of relying on ${client}-${os}-${arch} working, we can just remove the file extension and add that to the glob pattern.
So the glob in the helm case would look for helm or helm-linux-amd64.
Note that ghGlob.createGlob accepts multiple patterns separated by newline.

I think this approach really makes sense.
I don't think archiveFileName approach would be of much use.
So, I have added multiple patterns in the glob to match for helm or helm-linux-amd64

looks great -
can you change the helm version in the test workflow to latest or * so we can make sure it works?


[Question] onbeforesave server validation

How can set Error if I from server return object for example:
{
  "Status": "Error",
  "Message": "Server validation error message"
}

Now error is set if server response is different then 200.

I think this sample 'Validate remote' http://jsfiddle.net/NfPcH/36/ is that I need.

@eugef looks like he answered his own question, please close.


Passing arguments to underlying Appium driver

What are you trying to achieve?
Custom Appium driver relies on yargs options which were being passed to mocha+Appium+chai setup as follows:
mocha --recursive e2e --runType sim.iPhoneX.iOS11 --reuseDevice
The options runType and reuseDevice are interpreted by the custom Appium driver.
Running similar command with codecept gives an error.
What would be the best way to pass CLI options to codecept where they are in-turn passed on to mocha / custom Appium driver?
What do you get instead?
> codeceptjs run --runType sim.iPhoneX.iOS11 --reuseDevice
error: unknown option `--runType`

Details

CodeceptJS version: 1.1.7
NodeJS Version: 8.10.0
Operating System: macOS

Same issue here.


Failure to load /api/homepage should not break Home Page

When loading the Home Page, we're fetching data from the /api/homepage endpoint. If for some reason there is a problem with it, the entire page will fail.
We should fail elegantly and be able to display most of the home page without that data.

After a better diagnosis, this was fixed in: https://github.com/opencollective/opencollective-api/pull/1695


zed: 1.10.0 -> 1.11.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/zed-super-structured-data/versions.
meta.description for zed is: A novel data lake based on super-structured data
meta.homepage for zed is: https://zed.brimdata.io
meta.changelog for zed is: https://github.com/brimdata/zed/blob/v1.11.0/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
zed result is not automatically checked because some binaries stick around

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
zed

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gn9dp0pq4vgjlwia38wz3czmlwqsyalj-zed-1.11.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zed https://github.com/r-ryantm/nixpkgs/archive/7fbd91bfa633868e56ba080cec1e16596b0e9aab.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7fbd91bfa633868e56ba080cec1e16596b0e9aab#zed

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gn9dp0pq4vgjlwia38wz3czmlwqsyalj-zed-1.11.0
ls -la /nix/store/gn9dp0pq4vgjlwia38wz3czmlwqsyalj-zed-1.11.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

zed

Maintainer pings
cc @dit7ya @knl for testing.

Result of nixpkgs-review pr 266688 run on x86_64-linux 1

1 package built:

zed


Register User

Summary
A user must register a username and password to access the system
Basic Path

The use case starts when a user indicates that he/she wants to register.
The system requests a username (must be an email address) and password.
The user enters a username and password.
The system checks that the username does not duplicate any
existing registered usernames.
The system requests a name (), address, phone number, institutional affiliation () and email address (). Items marked by () are required.
The user enters the information.
The system determines the user's location and stores all user information.
The system sends a verification email with a verification link to the user’s email address.
User clicks on link in email address.
User is redirected to a login page.
User logs in.
The system starts a login session and displays a welcome message.

Alternative Paths
Step 4: If the username duplicates an existing username, the system displays a message and the use case goes back to step 2.
Step 5: If the user does not enter a required field, a message is displayed and the use case repeats step 4.
Exception Paths
User already exists, in which case he/she can enter their password if known or request a password reset.
Preconditions
The username is the user’s email address.
Postconditions
The user can now access the system to add data, delete data, query data and visualise data

Investigate firebase API - for email activation

Might be on the slides. I would like an example piece of code here as demo.

Register component. User will need to insert name, address, phone number, institutional affiliation, email and password. (Items which are bold  are required)

Register authentication

Home page will contain a button called register once clicked the unregistered user will be sent to the register page( will be done using a route)
Register form opens with 6 text boxes (Name(string), address(string), phone number(string), institutional affiliation(string), email(string) and password(string))
Submit button below the 6 text boxes, when the submit button is pressed it will validate that all text boxes are not empty
If the data has been validated connect register form to firebase auth using createUserWithEmailAndPassword
Once data has been sent to the firebase authentication, it will insert the new user account into the database
User will then be sent to the log-in page to log-in to their account.

Validating data

If data validation fails display an error to the user indicating what piece of data is incorrect e.g. password is empty. This will be implemented using a watcher.
If a duplicate entry exists such as a username, then we can create a rule in the firebase database which checks for duplicate username data this can be done using:
match /users/{username} {allow create: if !exists(/databases/$(database)/documents/users/$(username))}
The code above will check if a username already exists, if it does it will not allow the duplicate data to be entered.

User session
If a user is already logged in they should not be able to see the register button, this can be done by checking their session state

After doing some research on creating users in firebase, it seems like when a user creates an account using firebase they are automatically logged in.
Source: https://firebase.google.com/docs/auth/web/password-auth#create_a_password-based_account

Probably would want email validation using regular expressions.

Starting with the happy path first. For dev, use your own firebase project instance and auth.

After working on the register view it turns out that firebase automatically makes sure that there can be no duplicate data for the email, meaning no validation for email is required.

After implementing register user it seems like firebase only stores the email and password with the createUserWithEmailAndPassword command. So name, address, phone number and affiliation are not stored inside of the firebase authentication. Instead I can either store the data in a collection or store the data locally using something like a variable, but the problem is that it only stores the data on the users device instead of on firestore.

Ive updated feature/register to add user data to the database and added some validation for phone number. Now I need to add unit tests to test the register page.


Fails to create an image for Debian/Testing and Debian/Unstable

Hi, I have defined the following stretch.def:
DistType "debian"
MirrorURL "http://ftp.us.debian.org/debian/"
OSVersion "stretch"

Setup
Bootstrap

InstallPkgs git

Cleanup

then I bootstrap the image:
sudo singularity bootstrap Stretch.img stretch.def
The boostrap fails with the following error:
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 126C0D24BD8A2942CC7DF8AC7638D0442B90D010)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1
I: Found additional base dependencies: adduser debian-archive-keyring gpgv libapt-pkg5.0 liblz4-1 libstdc++6
I: Checking component main on http://ftp.us.debian.org/debian...
....
I: Configuring apt...
I: Configuring libc-bin...
I: Base system installed successfully.
+ apt-key update
Error: gnupg, gnupg2 and gnupg1 do not seem to be installed,
Error: but apt-key requires gnupg, gnupg2 or gnupg1 for this operation.

I get a similar error for sid.
I use the packaged version (2.1.2) by neuro-debian.

Please install gnupg, gnupg2 & gnupg1 on your debian machine.
apt-get install gnupg
apt-get install gnupg1
apt-get install gnupg2
and then bootstrap the image.
--Krishna.
On Tue, Sep 13, 2016 at 6:52 AM, Trophime<EMAIL_ADDRESS>wrote:

Hi, I have defined the following stretch.def:
DistType "debian"
MirrorURL "http://ftp.us.debian.org/debian/"
OSVersion "stretch"
Setup
Bootstrap
InstallPkgs git
Cleanup
then I bootstrap the image:
sudo singularity bootstrap Stretch.img stretch.def
The boostrap fails with the following error:
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 126C0D24BD8A2942CC7DF8AC7638D0442B90D010)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libaudit-common libaudit1 libbz2-1.0 libcap-ng0 libdb5.3 libdebconfclient0 libgcrypt20 libgpg-error0 libncursesw5 libsemanage-common libsemanage1 libsystemd0 libudev1 libustr-1.0-1
I: Found additional base dependencies: adduser debian-archive-keyring gpgv libapt-pkg5.0 liblz4-1 libstdc++6
I: Checking component main on http://ftp.us.debian.org/debian...
....
I: Configuring apt...
I: Configuring libc-bin...
I: Base system installed successfully.

apt-key update
Error: gnupg, gnupg2 and gnupg1 do not seem to be installed,
Error: but apt-key requires gnupg, gnupg2 or gnupg1 for this operation.

I get a similar error for sid.
I use the packaged version (2.1.2) by neuro-debian.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gmkurtzer/singularity/issues/213, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACQb9sdMxaXsxa12CEA59Ah6_H752Mx6ks5qpqqygaJpZM4J7siO
.

What do you mean?
install gnupg et al on my host which is a Debian Testing? or on the image?
Actually gnupg is already install on my host:
dpkg -l | grep gnupg
ii  gnupg                                    1.4.20-6                               amd64        GNU privacy guard - a free PGP replacement
ii  gnupg-agent                              2.1.11-7                               amd64        GNU privacy guard - cryptographic agent
ii  gnupg2                                   2.1.11-7                               amd64        GNU privacy guard - a free PGP replacement (new v2.x)

if I try to install gnupg1, I end up with:
sudo apt-get --dry-run install gnupg1 gnupg gnupg2
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnupg is already the newest version (1.4.20-6).
gnupg2 is already the newest version (2.1.11-7).
gnupg2 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnupg1 : Breaks: gnupg (< 1.4.20-6+exp1)
          Breaks: gnupg:i386 (< 1.4.20-6+exp1)
E: Unable to correct problems, you have held broken packages.

gnupg1 package need to be fixed.
However it seems that apt-key update on Debian/Testing is no longer needed:
sudo apt-key update
[sudo] password for xxxx:
Warning: 'apt-key update' is deprecated and should not be used anymore!
Note: In your distribution this command is a no-op and can therefore be removed safely.

I removed the automatic call to apt-key update in [master 01559bc].

Hi @Trophime, I am closing this ticket but please comment on it if for any reason it needs to be re-opened.
Thank you!


Backup/Restore over the admin panel

Is your feature request related to a problem? Please describe.
For backup and debugging purposes it would be nice to have a simple way to backup and restore the configuration and selected accounts.
Describe the solution you'd like
The admin panel could get a Export and Import functionality on the Setup page of the admin panel. As data format, we could use json, since we have a stable serializer for that which supports circular references and other nasty stuff.
See also JsonDownloadController.

This optimization plan is really good. Now I back up and restore directly through the postgres database. As a result, every time I restore, the items sold by the merchant are overwritten and additional deletions are required.
In addition, a small bug was discovered during the operation. After resetting the server data through the admin panel, the data template was not the latest version, causing all subsequent repairs to basically not take effect.


Regression: index dropped in migration and not recreated

Problem
In the following cases (possibly more) any indexes on the column are dropped, but aren't recreated afterwards:
(a) when a column is made null-able (i.e. adding null=True)
(b) when a column is renamed
(c) when a table is renamed
This is quite a major issue because it is silently leaving the database in the wrong state - the migration doesn't fail, but now certain columns with db_index=True won't actually have an index which could cause very slow queries.
Cause
As far as I can see this is a triple-regression introduced by 2e6075456a (for #24).
That commit added new calls to _delete_indexes in 2 places causing the first two cases listed above:

(a) https://github.com/ESSolutions/django-mssql-backend/commit/2e6075456a#diff-e4c1520d8b49ccbf46382bd2eed4e740R400
(b) https://github.com/ESSolutions/django-mssql-backend/commit/2e6075456a#diff-e4c1520d8b49ccbf46382bd2eed4e740R334-R335

and an explicit index deletion here before renaming a table causing the third case:

(c) https://github.com/ESSolutions/django-mssql-backend/commit/2e6075456a#diff-e4c1520d8b49ccbf46382bd2eed4e740R222-R225

but in none of those cases is the index re-instated afterwards, even if the field still has db_index=True. Index restoration only happens in certain specific cases (e.g. type change / removal of nullability) which doesn't include the above 3 cases.
Reproduction
See the 3 tests I added on this branch:
https://github.com/ESSolutions/django-mssql-backend/compare/master...sparrowt:issue58-index-reinstatement
which fail due to the bugs described above, but pass if run on django-mssql-backend v2.4.2 (before #24)

Considering how to solve this, one approach would be to expand the condition under # Restore an index, or to start explicitly keeping track of which indexes have been dropped and need re-creating.
However before that we should ask: is it actually necessary for all indexes to be dropped in these 3 cases?
If it can be avoided then it will save wasting time during migration of a large table. MS SQL Server seems to allow those 3 operations to occur while the index is there (it didn't explode in those cases using v2.4.2).
@OskarPersson do you know what the reasons were for adding all these "delete index before doing X" in 2e6075456a?

This issue still remains in the new Microsoft-supported fork of this project so I have filed it there 👆

Now fixed in https://github.com/microsoft/mssql-django/issues/14


Support multiple modules

Fuzzier does show, but cannot open or preview files from other open projects so adding a new project module to the workspace is not enough to enable searching for files from there.
It should be possible to search for files from all open modules.

Probably just an issue with the project's base path handling, it assumes that every file is under the same project

Experiencing the same problem in all projects, imported from Bazel workspace.

Looks like modules do not have a static base path, but at least my testing seemed to work correctly when getting the first source path of the module.
I think there needs to be some information about which module the file belongs to, possibly adding the module dir to the shown file path, if there is more than one module in the project.
Any chance you could build and test the fast and dirty version to verify that it works in your case. #54
I can upload it as an unstable version to the marketplace, but that might take a few days to get through.


kinect2_calibration can't save frame

Hi,
in Detailed steps:
at 3.Record images for the color camera: rosrun kinect2_calibration kinect2_calibration chess5x7x0.03 record color
when running the node above ,i can see the image ,but I can't save frames to kinect_cal_data .and it seems that the instructions don't work . (just input the instructions? )
the node shows:
[ERROR] Tried to advertise a service that is already advertised in this node [/kinect2_calib_1464850290115448126/compressed/set_parameters]
(i have only run  roscore and kinect2_bridge)
T.T help

The image window has to be active, the board has to be visible and detected, then press space to save images.

I have actived the image window ,and the board is visible and detected . But i still can't see anything in kinect_cal_data ... I run the node in folder @wiedemeyer

considering it may be my computer 's problems,  I changed another one for test .

Glad to hear that it is working.

@crescent
I just met the same problem as yours, i have already activated the color window and press the space, but i still cannot save any images and the color window could detect the borad...
so, could anyone tell me how can i fix it? THX

@ccrescent
me too ,i also met the same problem,cannot save images but "q"  works...
errors like:
[ERROR] Tried to advertise a service that is already advertised in this node [/kinect2_calib_1489672995873018352/compressed/set_parameters]
did anyone know how to fix this problem? Thanks.


cmake re-runs too often (always!)

Every time I run obi build, cmake is re-run and I see a whole lot of spew from FindGSpeak. This re-run isn't necessary; cmake's generated Makefiles will re-run cmake if CMakeLists.txt was changed.
The "configure" task would run cmake (in the default case) to populate the build directory, while the "build" task would run cmake --build build/ -- $BUILD_FLAGS(in the default case). obi configure could do nothing if it detects that the build directory exists.

Since cmake autoruns if you changed anything since last make, the simplest way to get what you want is to only run cmake explicitly if it's never been run before, innit?  No need for an extra task...?

Yeah, that sounds better.

slightly sanitized example of FindGSpeak spew.
-- G_SPEAK_INCLUDE_DIRS is /opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/deps-64-11/cef2704/include;/opt/oblong/g-speak3.28/include/libGreenhouse;/opt/oblong/deps-64-11/include/freetype2;/opt/oblong/deps-64-11/v8/5.2.361/include;/opt/oblong/deps-64-11/v8/5.2.361/include/..;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/g-speak3.28/include/libGreenhouse;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/deps-64-11/include/freetype2;/opt/oblong/deps-64-11/cef2704/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/deps-64-11/v8/5.2.361/include;/opt/oblong/deps-64-11/v8/5.2.361/include/..

-- G_SPEAK_STATIC_INCLUDE_DIRS is /opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/deps-64-11/cef2704/include;/opt/oblong/g-speak3.28/include/libGreenhouse;/opt/oblong/deps-64-11/include/freetype2;/opt/oblong/deps-64-11/v8/5.2.361/include;/opt/oblong/deps-64-11/v8/5.2.361/include/..;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/g-speak3.28/include/libGreenhouse;/opt/oblong/g-speak3.28/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/deps-64-11/include/freetype2;/opt/oblong/deps-64-11/cef2704/include;/opt/oblong/deps-64-11/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/lib/gstreamer-1.0/include;/opt/oblong/deps-64-11/include/gstreamer-1.0;/opt/oblong/deps-64-11/include/glib-2.0;/opt/oblong/deps-64-11/lib/glib-2.0/include;/opt/oblong/deps-64-11/v8/5.2.361/include;/opt/oblong/deps-64-11/v8/5.2.361/include/..
Seabed is skipping libWebThing
-- Seabed standalone build? 0
-- Building with Remotery profiling support enabled
-- ObRemotery standalone build? 0
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/tjakubowski/obsrc/dieter/sprockets/build

So I think this is still the question to be answered: how do we cleanly accomplish this?

the simplest way to get what you want is to only run cmake explicitly if it's never been run before

07e290bd4e7e4418156e8f89ba02fb2af48c5fd5 interpreted "existence of the build directory" as sufficient evidence that cmake had been run to completion at least once. But the build directory still exists if cmake stops mid-way due to an error. So we need some stronger medicine.

I did a little experiment with a minimal CMakeLists.txt:
project(aaaaaaa)

#message(FATAL_ERROR "oops!")

By commenting/uncommenting that line, I can make CMake fail or succeed.
I first did a successful run:
mkdir success
cd success
cmake ..

Here are the directory trees for each case:
success
├── CMakeCache.txt
├── CMakeFiles
│   ├── 3.8.0
│   │   ├── CMakeCCompiler.cmake
│   │   ├── CMakeCXXCompiler.cmake
│   │   ├── CMakeDetermineCompilerABI_C.bin
│   │   ├── CMakeDetermineCompilerABI_CXX.bin
│   │   ├── CMakeSystem.cmake
│   │   ├── CompilerIdC
│   │   │   ├── CMakeCCompilerId.c
│   │   │   ├── a.out
│   │   │   └── tmp
│   │   └── CompilerIdCXX
│   │       ├── CMakeCXXCompilerId.cpp
│   │       ├── a.out
│   │       └── tmp
│   ├── CMakeOutput.log
│   ├── CMakeTmp
│   ├── TargetDirectories.txt
│   ├── cmake.check_cache
│   ├── feature_tests.bin
│   ├── feature_tests.c
│   └── feature_tests.cxx
├── build.ninja
├── cmake_install.cmake
└── rules.ninja

7 directories, 19 files

fail
├── CMakeCache.txt
└── CMakeFiles
    ├── 3.8.0
    │   ├── CMakeCCompiler.cmake
    │   ├── CMakeCXXCompiler.cmake
    │   ├── CMakeDetermineCompilerABI_C.bin
    │   ├── CMakeDetermineCompilerABI_CXX.bin
    │   ├── CMakeSystem.cmake
    │   ├── CompilerIdC
    │   │   ├── CMakeCCompilerId.c
    │   │   ├── a.out
    │   │   └── tmp
    │   └── CompilerIdCXX
    │       ├── CMakeCXXCompilerId.cpp
    │       ├── a.out
    │       └── tmp
    ├── CMakeOutput.log
    ├── CMakeTmp
    ├── cmake.check_cache
    ├── feature_tests.bin
    ├── feature_tests.c
    └── feature_tests.cxx

The big differences that pop out, which obi could potentially test for, are:

presence of build.ninja and related in the success case.
presence of cmake_install.cmake in the success case (but probably only if install() is called in the CMakeLists.tt)
presence of a bunch of files under build/CMakeFiles/3.8.0

The first one could be good to test for, but we'd also want to check for Makefiles + XCode stuff.
On the other hand, since we're supposed to support other metabuild systems, obi might be a little too flexible for this feature… should obi cut out support for anything but CMake? @jshrake

Suggestion:

When obi runs cmake (or equivalent) it should check the resulting exit code. If the exit code is 0, it should touch a file in the build dir with a name like obi-cmake-success.
obi should use the presence/absence of this file to decide whether to run cmake again in build: if it's there, don't run cmake; if it's not, run cmake.

Fixed in PR #114


feat: allow configuration of left-right wrapping characters and strip multiple

https://www.reddit.com/r/neovim/comments/193hxsb/comment/khd6rqd/?utm_source=share&utm_medium=web2x&context=3

fixed by latest proper handling of treesitter offsets


Update boston.py

Making transformation of x_test separate so that it is useful for the coders

Can one of the admins verify this patch?

@tensorflow-jenkins test this please


Inconsistent usage of delegate types

Some examples:

https://github.com/aspnet/Hosting/blob/dev/src/Microsoft.AspNet.Hosting/Startup/StartupMethods.cs#L10
https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNet.Http/RequestDelegate.cs
https://github.com/aspnet/Hosting/blob/dev/src/Microsoft.AspNet.Hosting.Server.Interfaces/IServerFactory.cs#L15
https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNet.Http/IApplicationBuilder.cs#L17

Our public interfaces should be consistent (or have a good reason not to be).

So I take it this means we want to add delegates for everything?
public delegate Task ServerDelegate(IFeatureCollection features);
public delegate void ApplicationDelegate(IApplicationBuilder app);
public delegate RequestDelegate MiddlewareDelegate(RequestDelegate next);

/cc @lodejard to see his thoughts.

Not sure if this is worth the effort. The RequestDelegate type was only declared because it appears as a middleware constructor parameter in end-user code. I don't think any of the func or action these delegates represent appear in end-user code, so no reason to give them a named delegate type.

Only RequestDelegate remains doesn't sound like there's any interest in creating more delegates, closing this issue


Paragraph lacks clarity

Hi - the first paragraph does not seem to bring any clarity to the topic discussed - what exactly is the purpose of this paragraph? can it be revisited to pinpoint what the intent is?
Applications evolve over time. Successful applications evolve by being useful to people. Unsuccessful applications don't evolve and are eventually deprecated. Here's the question: how much do you know about your requirements today and what they'll be in the future? For example, let's say you're building a reporting application for a department in your company. You're sure the application applies only within the scope of your company and that the reports won't be kept long. Your approach will be different from that of, say, building a service that delivers video content to tens of millions of customers.

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

ID: 9da8bfc3-34f4-4b28-58bc-44db1d5990b9
Version Independent ID: 8fb2214a-ade9-7cef-4fc8-e6888e5c1fd0
Content: Introduction to microservices on Azure
Content Source: articles/service-fabric/service-fabric-overview-microservices.md
Service: service-fabric
GitHub Login: @athinanthny
Microsoft Alias: atsenthi

@eyast Thank you for the detailed feedback.
This is being assigned to the content author to evaluate and update as appropriate.

@eyast as the title suggests, the idea is to help the user understand Monolithic vs. microservices design approach. Can you elaborate on what exactly you are finding confusing and what you would like to see changed?

@eyast a few of us have reviewed this doc and find it to be fine as is. That being said, your issue will remain on this document and if others feel it is also confusing they can comment and let us know. We can then reconsider updating.


Add revisionHistoryLimit to ActiveMQArtemis CRD

looks good

Thank you...

congratulations on your first merge! @Msarawan

Thank you @gaohoward


[Bug Report]: sass-embedded panic when force exit by ^C

System Info
System:
OS: macOS 12.5.1
CPU: (10) arm64 Apple M1 Pro
Memory: 276.14 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Yarn: 1.10.1 - ~/Library/Application Support/fnm/node-versions/v16.17.1/installation/bin/yarn
npm: 8.15.0 - ~/Library/Application Support/fnm/node-versions/v16.17.1/installation/bin/npm
Browsers:
Chrome: 109.0.5414.119
Firefox Developer Edition: 109.0
Safari: 15.6.1
npmPackages:
@rspack/cli: 0.0.0-6530ad08f-20230202102742 => 0.0.0-6530ad08f-20230202102742
Details

Reproduce link
No response
Reproduce Steps

npm run dev
ctrl+c force exit devServer

I guess this was solved. Create a new one if not.


Write some lines about multiple bot instances support

Update README.md file with some intstructions or comments.

Closed in #50


Fix test_run unittest

Fix the project name
Remove the incident case as no Incident class in work_item

Signed-off-by: Wayne Sun<EMAIL_ADDRESS>

WorkItem classes are generated dynamically (see https://github.com/RedHatQE/pylero/blob/master/src/pylero/work_item.py#L1530)
This is because each work item is a configuration object and not a native object. In the internal Polarion test instance, there is an IncidentReport WorkItem defined. Unfortunately, the WSDL doesn't support admin configurations, so there is no way to configure the work items that you want as part of the test code.

@simzacks Ok, I've updated the code and fixed the project_id. all pass now.


experimental rules checkbox not working?

I enabled the experimental rules in my gradle config, and the gradle build now fails in places where I am violating them as I would expect.  However, I also checked the "Use experimental rules" checkbox in the IDEA plugin config dialog, and the errors that are causing the compile failures are not being highlighted in the editor window. Is there another setting I need to toggle?

@cprice404 would you happen to know which rules it wasn't picking up? I can look into this!

I noticed it for at least a couple:

Argument list wrapping
No leading empty lines in method blocks

I didn't see any editor highlighting when I violated those, but when I ran ktlint outside the IDE it definitely detected them.
I think I also tried and observed it on:

Braces required for multiline if/else statements

@cprice404 I haven't been able to reproduce this issue since you reported it – has it been happening for you still?
One idea: there are times where code analyzing as a whole is slow or interrupted at times and nothing gets linted (along with other analyzers, not just mine). I see this occasionally on larger projects, but it usually resolves itself over time or with a restart of the IDE.

Here to +1 that experimental rules don't seem to be working (at least for argument-list-wrapping). Here is a repro case:
package com.samsara.remoteaccess

fun test(p1: String, p2: String, p3: String) {
  return
}

class Example {
  constructor() {
    test(
      "long argument for example call", "long argument for example call",
      "long argument for example call"
    )
  }
}

Error from ktlint: Example.kt:10:41: Argument should be on a separate line (unless all arguments can fit a single line)
No error caught by plugin (experimental rules enabled). It does actually format if all three arguments are on the same line, maybe this has to do with maximum line length configuration?

@adapap thanks for the repro case! I'll take another look at this

Confirmed that something has changed with regard to how ktlint likes being loaded via the class loader since I originally implemented it. Working on a fix now!

It ended up being a shadow jar issue! Fixed in 0.9.0+


error with downloading new apps

When I Use mindtach to hide youtube from google play Many new apps refuse to download

Same here, I have to clear play store data if I want to install a new app. But if I do that, sometimes, youtube updates and breaks. I hope it will be fixed soon.

Same problem here. If you clear data you just need to reflash the module to avoid YouTube update.

Can confirm. Same issue appeared. I first thought it was related to my ROM considering I didn't have the issue before updating it, but disabling the module solved the problem.
Deleting google play data fixes the issue temporarily.

I agree, you need to fix this problem.

Can confirm. This needs to be fixed.

@j-hc this is a significant issue that makes this module mostly unusable, is there any chance of a fix soon?

Can confirm. Sometimes apps, that are not selected for detach, dont auto-update as well.

this is known issue and caused by the fact that play store forcefully tries to update the detached apps when the phone is at idle (like at night).
there is no solution as of now. i dont need any "+1"s or confirmations.


ElasticQueryInfo.init fails with a None body

As you can see in Transform.perform_request from the Python elasticsearch client, body can be None. However, using a None body raises a TypeError in ElasticQueryInfo.__init__:
    def __init__(self, method, full_url, path, body, status_code, response, duration):
        self.method = method
        self.full_url = full_url
        self.path = path
        self.body = _pretty_json(body)
        self.status_code = status_code
        self.response = _pretty_json(response)
        self.duration = round(duration * 1000, 2)
>       self.hash = hashlib.md5(self.full_url + self.body).hexdigest()
E       TypeError: coercing to Unicode: need string or buffer, NoneType found

Among many options, you can use self.body if self.body else b''. However, do not use bytes(self.body) : it works in Python 2 (yields b'None') but fails with a TypeError in Python 3.

1.0.3 should fix this


WIP: Update nixpkgs

What type of PR is this?
/kind dependency-change
What this PR does / why we need it:
Bump nixpkgs.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.75%. Comparing base (4e0f474) to head (2444a51).
Report is 632 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2350      +/-   ##
==========================================
- Coverage   37.53%   35.75%   -1.78%
==========================================
  Files          15       15
  Lines        1268     1264       -4
  Branches      414      420       +6
==========================================
- Hits          476      452      -24
- Misses        526      552      +26
+ Partials      266      260       -6

@kwilczynski PTAL

/approve
/lgtm

/lgtm


Lawrence/rankings modifications

Fixed last_responded bug to now update when submitted preferences
Now only shows back button in rankings edit page if logged in
UI enhancements to rankings show and edit pages, as well as fixing merge conflict UI bug at the end page

UI changes look great
Thanks for changing the back button!

Still getting an "Error: please fill in an option for each time." when I try to submit preferences with a time given for each timeslot.

Do not approve yet, there's still some local changes needed to push


Git server controller test does not include built-in controllers

env test is set up here
https://github.com/cnoe-io/idpbuilder/blob/fd507f50b4733388b156aa3b7ae499daab91901d/pkg/controllers/gitserver/controller_test.go#L31
UseExistingCluster is set to false (zero value)
https://github.com/kubernetes-sigs/controller-runtime/blob/7db81c7b27468b517d70ce3f7da49b134ec51fec/pkg/envtest/server.go#L152
Per this doc, no built-in controllers run https://book.kubebuilder.io/reference/envtest.html#testing-considerations
So no deployment is created and the test fails.
Not sure if there is a easy way around this.

So, if I understand correctly the problem, it is then needed that:

We install a kind cluster and local registry first
Next we deploy the needed controllers
before to execute the tests: make test or run a test file using ide tool ?
@nabuskey

Were the test cases working before ?

Not sure if it was working before. @greghaynes ?
To me looks like it was written before writing the code being tested, which is good. It's just that the envtest didn't provide a good explanation in code.
We could use kind cluster to test them all but not sure if it's necessary. The advantage of envtest is the lightweight nature to test your controller fast. To me, waiting for gotResource.Status.DeploymentAvailable may not be necessary. We are testing our controller logic, not the deployment controller. We could look at the deployment object and ensure it's what we expect.

We could use kind cluster to test them all but not sure if it's necessary.

Correct. We just need to run as testing environment kubebuilder where the idp controllers are registered for the tests.
There is nevertheless one issue as the image_test.go requires an existing container registry where image is pushed/removed. Do we have to perform such a test ? Does it make sense - not sure


Adds maxWindow property, uses keyWindow for setting frame

Added maxWindow property that defaults to UIWindowLevelNormal. This offers support for a project that uses multiple windows.
Use keyWindow when setting self.frame in positionHud: . If main window is not keyWindow its frame may not be the full screen, especially if if the keyWIndow is a different orientation.
Thanks!

This is now on the master, done by another PR. CHeck if that fits your needs.


Improvementes to scons defined WINVER/_WIN32_NT

This PR continues the work in<PHONE_NUMBER>dea0db7f58afef7d3d3d5588ef20cb .
It defines both WINVER and _WIN32_NT for UWP and Windows builds removing more workarounds and hacks for various build env (mingw,uwp).

damn, and I thought we didn't need the mingw workaround with all the flags sets :'(.
Will update the PR soon

This is all I can do.
We still need those 2 nice MinGW < 4.0 workarounds (although now the cause it's clear).
I can remove WINVER from the defines in #platform/detect.py,
I added it because I thought some old library might use that instead of _WIN32_WINNT.
By a second look though, it is only mentioned in a comment so it's not really needed.
Just let me know in case, because in case we should also change os_windows.cpp at least for clarity.
P.S.: that code in os_windows.cpp has never been compiled due to the WINVER definition. Is it even tested?

Just let me know in case, because in case we should also change os_windows.cpp at least for clarity.

I guess we can keep WINVER as it doesn't hurt, though our compilation commands are already quite lengthy and Windows is touchy with this :P
But I think we should probably try to rely on _WIN32_WINNT in our own code, so the test in os_windows.cpp could be changed yeah.

P.S.: that code in os_windows.cpp has never been compiled due to the WINVER definition. Is it even tested?

I guess it was never tested indeed - it will be interesting to see how it behaves :)


feat(pci): remove usage of otrs module in favor of the support module

MANAGER-2803
MANAGER-3270

Related to https://github.com/ovh-ux/manager/pull/1316

Hello @FredericEspiau,
Your pull request is now closed due to inactivity.
Feel free to re-open it if you have any update.
Anna Bot for OVH UX <3


Bad performance  - spatialindex not used?

When using a Mapsui 1.4.1 app with >1000 small polygons (non overlapping ), performance is considered as suboptimal.  Even when zoomed in to a few polygons the performance is not good, so it seems there is some issue with spatial indexing going on.
I can create a reproducible case if needed.

@bertt: That would be very nice. Save time to find this problem.
Btw. I draw whole vector tiles with much more than 1000 features, but normally this needs only around 300 ms.

@charlenni I think he is adding a regular polygon layer, not using vector tiles.
Mapsui performance is terrible with a polygon layer. You can get better performance by using a RasterizingLayer.

yes indeed its a regular polygon layer. Can the performance of polygon layer be fixed?

maybe related: the work in 'performance' branch https://github.com/Mapsui/Mapsui/tree/performance

For the short term you could try the rasterizing layer. Look at the shapefilesample.

@bertt Just a heads up, something that tripped me up when I first started using RasterizingLayer, is that you need to use the underlying projection of the map. My polygon layer was in WGS84 originally and I didn't know why it wasn't showing up as a RasterizingLayer. I had to reproject the coordinates first.

@spaddlewit oh wait. Shapefilesample is wgs84 but does not reproject.
.

Thanks for pointing out what @pauldendulk has said about this :)

@charlenni very simple polygons, only 5 vertices each

@bertt Are this polygons placed in a small area or all over the map?

@charlenni they are tile boundaries at level 14, 1000+ polyons spread over the world

@bertt The sample project will still be interesting for us to investigate.

I have written an RTREE index in C# that my company uses for spatial matching to millions of roads/addresses in milliseconds that may be able to improve the speed at which objects are found to be "on screen" for rendering. How does mapsui currently decide what to render on a polygon layer? Does it just iterate for all polygons whos bounding boxes overlap with the current viewport?
Does this also affect polylines?

Yes, that's how it works. No spatial index at all. Bert assumes this is a spatial index problem because even with a few features in view it is slow but there might be other explanations like 'multiple enumerations' in an IEnumerable. I had this problem in my vector tile implementation. Fixing it had a huge impact.

Here it is: https://github.com/Mapsui/Mapsui/commit/13c4485ebbfc53817b23dccae526f538959470c1

Why no spatial index is being used?

Because there is none.
It would be the responsibility of the datasource.
Do you use a MemoryLayer.

        map.Layers.Add(CreateLayer(polys, fillColor, outlineColor));

        public static ILayer CreateLayer(List<Polygon> polys, Color fillColor, Color outlineColor )
        {
            return new Layer("Polygons")
            {
                DataSource = new MemoryProvider(polys){ CRS = "EPSG:4326" },
                Style = new VectorStyle
                {
                    Fill = new Brush(fillColor),
                    Outline = new Pen
                    {
                        Color = outlineColor,
                        Width = 4,
                        PenStyle = PenStyle.Solid,
                        PenStrokeCap = PenStrokeCap.Round
                    }
                }
            };
        }

I think, it is a IProvider problem. IProvider has GetFeaturesInView(BoundingBox, Resolution). All Features, that are returned, are drawn. But even when all polygons are returned, there shouldn‘t be a problem. Drawing 1000 polygons with solid stroke is very fast with Skia.

This is the implementation of the MemoryProvider.GetFeaturesInView
 public virtual IEnumerable<IFeature> GetFeaturesInView(BoundingBox box, double resolution)
{
	if (box == null) throw new ArgumentNullException(nameof(box));

	lock (_syncRoot)
	{
		var features = Features.ToList();

		// Use a larger extent so that symbols partially outside of the extent are included
		var grownBox = box.Grow(resolution*SymbolSize*0.5);

		foreach (var feature in features)
		{
			if (feature.Geometry == null)
				continue;

			var boundingBox = feature.Geometry.GetBoundingBox();
			if (boundingBox!= null && grownBox.Intersects(boundingBox))
			{
				yield return feature;
			}
		}
	}
}

You could create your own MemoryProvider and play around with the implementation. Perhaps not use yield.
Copy this to your own code:
https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Providers/MemoryProvider.cs

oh, and @bertt do you use the MinimalTransformion. Could it be the MemoryProvider does not apply it propertly for GetFeatureInView?

Here a sample Android app demonstrating the problem
https://github.com/bertt/Mapsui/tree/polygons_perf/Samples/Bertt.Samples.AndroidPolygons
its drawing random tile boundaries over the world (level 14), zoom in and see the performance dropping...

Note: number of polygons turned out to be 10000.

Here you can see the fix: https://github.com/Mapsui/Mapsui/commit/ac83a39764948216c2a2670f88422e1a9f0282b8
The problem was that first the transformation was done and after that the box was grown (for symbol size) but this growing was done with resolutions that did not make sense in the coordinate system of the provider.

@radderz Could you roughly describe how you implemented spatial indexing? Did you implement it for a specific kind of layer?

Javascript spatial indexers by mourner: https://github.com/mourner/rbush (points/rectangles), https://github.com/mourner/kdbush (points)

Let's port it :). But what mourner made was more than just spatial indexes wasn't it. He made something to allow fast hover info.

Hi Paul, I haven't implemented it in mapsui at all, I had implemented it for a map matching algorithm and address polygon matching services we use in our platform.
It's just an RTREE spatial index written in C# that can be used for any type of spatial object for distance and intersection of boundary queries. I can clean my implementation up and provide it when I get a chance if you'd like. It's much faster than do a distance check for every item. And the more objects the more the index matters.

Maybe try this? https://github.com/marchello2000/kdbush

It would be portable enough to use it as is, but it does a bit more than what you'd be wanting it for.

ah, that kdbush project is already a port. It has no nuget package though. And it's not a lot of code it seems.

@radderz @bertt Thanks for the info. I will open een new issue for adding a spatial index. I won't be able to work on this myself in the short term.

tested fix: works much better 👍 is it going to master branch too (so it gets in a package)?

It should be in the latest build package if the build succeeds: http://mapsui.github.io/Mapsui/documentation/NuGet-of-latest-build.html


Test with connectivity checks in split Cilium versions

During upgrades, users end up with a split-version cluster: some of the nodes run the old Cilium version while others have the new version. Our current upgrade/downgrade test consists of only two nodes and will therefore run in a split-version scenario for a very short time. We may therefore miss regressions in those scenarios.
We should have a separate test that deploys Cilium with both master and the development branch of the latest stable release (e.g., v1.9), then deploys the connectivity checks and waits for all pods to be ready.
Note: We could also do the same for patch releases (cf. https://github.com/cilium/cilium/issues/14882).
I'm not flagging this as a good-first-issue because it's not yet clear to me how to best deploy Cilium in a split-version scenario. Please post here if you know a good way to do that.

I'm not sure if this is realistic or even strictly necessary. I don't think we've ever provided any guarantees around successful pod scheduling during upgrades. On some cluster, this will be unavoidable, but the focus point should be avoiding disruptions to existing workloads.
For this to work reliably, we'd need to support deploying multiple versions of the Helm chart to a single cluster simultaneously, and we'd have to figure a way to selectively deploy DaemonSets on a subset of nodes in each chart without any risk of overlap. What about operators, etc.?
I don't think this complexity is worth it. We should probably invest in improving the upgrade tests and making sure we're covering more bases.

I'm not sure if this is realistic or even strictly necessary. I don't think we've ever provided any guarantees around successful pod scheduling during upgrades.

This is doable as I'm doing it manually semi-regularly. It would have avoided several recent regressions on IPsec for example. We don't need to cover pod scheduling specifically; we could deploy the connectivity test pods before the semi-upgrade.

For this to work reliably, we'd need to support deploying multiple versions of the Helm chart to a single cluster simultaneously, and we'd have to figure a way to selectively deploy DaemonSets on a subset of nodes in each chart without any risk of overlap.

I've typically not changed the DaemonSets except to add a nodeSelector such that each DS (cilium and cilium-new) deploys on a subset of nodes. Regarding the Helm chart, it may mean we can only do this for patch releases. I've done it for minor releases before, but may have got lucky.

I don't think this complexity is worth it. We should probably invest in improving the upgrade tests and making sure we're covering more bases.

Covering everything the connectivity tests cover while undergoing an upgrade is unfortunately difficult (we'd need to rewrite all connectivity tests so that they send a constant stream of packets and fail on any packet drop). Our upgrade tests currently only cover basic pod-to-pod via ClusterIP connectivity.


fix epic creation test + bug

Most the engagement config tests failed for some reason.. Any idea?

my bugfix introduced another bug, luckily caught by the loads of tests introduced a while ago.
I had to merge upstream/dev also to get rid of the parser test failing.

last one seems to failing on code introduced to handle the epic engagement mapping:
{code}
test_import_with_push_to_jira_epic_as_issue_type
[05/Feb/2021 21:12:58] DEBUG [dojo.jira_link.helper:534] Adding to EPIC Map: 1st Quarter Engagement
[05/Feb/2021 21:12:58] ERROR [dojo.jira_link.helper:544] JiraError HTTP 400 url: https://defectdojo.atlassian.net/rest/greenhopper/1.0/epics/333/add
text: Issue does not exist or you do not have permission to see it.
    response headers = {'ATL-TraceId': 'd39e562b1f869e0e', 'Connection': 'close', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Fri, 05 Feb 2021 17:06:40 GMT', 'Expect-CT': 'report-uri="https://web-security-reports.services.atlassian.com/expect-ct-report/global-proxy", enforce, max-age=86400', 'Server': 'AtlassianProxy/<IP_ADDRESS>', 'Strict-Transport-Security': 'max-age=315360000; includeSubDomains; preload', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'cache-control': 'no-cache, no-store, no-transform', 'micros-issuer': 'micros/edge-authenticator', 'timing-allow-origin': '*', 'x-aaccountid': '5fa43d1b8405b10077912260', 'x-arequestid': 'a35b1220-73d5-4c9a-a9d7-1aea383f998b', 'x-envoy-upstream-service-time': '47'}
    response text = {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}

Traceback (most recent call last):
File "/home/valentijn/dd/dojo/jira_link/helper.py", line 537, in add_jira_issue
jira.add_issues_to_epic(epic_id=epic.jira_id, issue_keys=[str(j_issue.jira_id)], ignore_epics=True)
File "/home/valentijn/venv/lib/python3.8/site-packages/jira/client.py", line 3328, in add_issues_to_epic
{code}

Looks like if epic mapping is enabled on a jira project, then findings cannot be pushed of type epic.

Is it trying to add an epic to an epic?

No I think since epic mapping is enabled, then it is trying to make and engagement map out of the finding. Also for some reason there is already an jira_issue attached to the engagement with ID=1. That's why i've ben using ID=3 for the epic tests. That will fix this specific issue, but not the overall issue.

re-recorded the test, and now it's green.
also seems that I forgot to commit one of the new unit tests so added that as well.

Wohoo! Thanks again for all your help.


css/cloudogu-black.css not found

Error: when using THEME_CSS=css/cloudogu-black.css envvar to adjust styling, got:
"GET /dist/theme/css/cloudogu-black.css HTTP/1.1" 404 555 "http://localhost:8080/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" "-"
Browser: irrelevant
OS: irrelevant
Reproduction steps:

setup docker-compose.yaml

version: "3.9"
services:
  web:
    image: "cloudogu/reveal.js"
    ports:
      - "8080:8080"
    environment:
        THEME_CSS: css/cloudogu-black.css

docker-compose up

Probable reason:
README.md states, that styling can be applied using THEME_CSS=css/cloudogu-black.css

Optional Env vars:
...

THEME_CSS

css/cloudogu.css
css/cloudogu-black.css
reveal.js themes

but the CSS files are just in the /dist/theme directory, and there's no css/ subdirectory in it.
Should the description in the README.md be adjusted accordingly?

Hey @lhaze,
thanks for reporting this!
Does the dist path fix it for you?
I remember that the paths changed from reveal 3 to 4. Maybe we just missed to upgrade the README.
I can't look into this right now, but l will once I'm back from leave. This will take a couple of weeks though, sorry.

Removing css from the paths does the job. This isn't a big deal. I just thought I could report this tiny problem, as I like your solution for containerization of Reveal-based slides.
I can propose a PR changing README.md if it suits you.

Yes, please do! Contributions are always welcome 😉
Glad you like it!


[uz-latin]

Updated uz-latin messages

Hello,
thank you for your translations, but don't touch at todo.php


Fail to converge

Hi,
This tool looks quite useful and I'm trying to use it to my own data. I run the Jellyfish with the following command to obtain reads.histo:
zcat *.fq.gz | jellyfish count -C -m 21 -s 1G -t 10 /dev/fd/0 -o reads.jf
jellyfish histo -t 10 reads.jf > reads.histo
After uploading the file, the plot looks nice but GenomeScope fail to converge. What should I do to get things work for this data?
reads.histo.txt
Best,
Yang

Yang,
Thanks for using this tool. We have updated GenomeScope to GenomeScope 2.0 which better converges on certain files. Please use GenomeScope 2.0 online at http://genomescope/genomescope2.0/ or download and run it on your own computer from https://github.com/tbenavi1/genomescope2.0.
You can find the GenomeScope 2.0 results for your data at http://qb.cshl.edu/genomescope/genomescope2.0/analysis.php?code=8y0XQlNTN3Cx4sonIUTQ. Please let us know if you have any further questions.

Thanks for your help and now GenomeScope2.0 works well to all my data.


Some questions

Sorry for opening an issue, but I just want to better understand a few things about this project and how much did you progress with blazor.
This is in continue to: https://github.com/mapbox/mapbox-gl-js/issues/9145
I'm developing for a while now IsraelHikingMap which uses mapbox-gl with angular and cordova on the client side and .net core in the server side.
I have performance issues due to angular stuff and also some other issues due to cordova.
I was wondering if switching to blazor might reduce the work needed to maintaining the project as I would be able to easily share code.
This is a huge effort, but I trust Microsoft more than I trust Cordova or Ionic, so it might be worth it.
I'm using a lot of Cordova plugins to get native capabilities which I'm not sure are supported with blazor hybrid (BTW did you had a chance to test it?)
In any case, I would appreciate any insights you have on the stability, performance and ease of writing related to blazor.
Thanks for getting back to me so quickly BTW.

I am  a little busy with current affairs right now. I've been working with mapbox for half a year , mobile  and desktop verdion application, I will load library on nuget and show my app in the web later, possibly in the next 2-3 weeks.

Thanks for the info!
This is very interesting for me.
My focus is a mobile app and website that share the same code as much as possible.
Looking at the community around native capabilities with blazor hybrid I think it's a bit immature, not sure though...
Same feels for UI controls in blazor, again, not sure.
In any case, assuming this is something that will benefit both of us, I'd be happy to help out, if not coding then testing :-)

Take a look at this blazor boilerplate
matBlazor

and my own test livesbook.ru   I did this six months ago

Try double clicking on car speakers. One will show the location of the car, the second will show the track of the distance traveled

We are doing  similar works , I will be glad to cooperate my email<EMAIL_ADDRESS>


fix: Do not attach force MFA statement for iam-groups-with-policies by default

Description
Disable MFA enforcement for created groups added in 5.11.0. This change was undocumented, therefore it should be reverted and added as opt-in feature.
Motivation and Context
Keep the module backward compatible with versions prior to 5.11.0

Fixes #332
Breaking Changes

How Has This Been Tested?

[X] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[X] I have tested and validated these changes using one or more of the provided examples/* projects

[X] I have executed pre-commit run -a on my pull request

@antonbabenko Could you please review

Could someone please take the time to review this fix as it is a blocking upgrade issue.

This PR is included in version 5.14.3 :tada:


Add yellow bar for birth -> 10 yrs old in visualizations timeline

As in the subject.

Likewise, add yellow bar for records in same year of death.


Updating handle bars to 4.7.7 to fix a component governance issue

This PR fixes the handlebars Component governance issue raised in build pipelines.
Here is a successful build with this fix. (error in smoke test is unrelated)
https://mssqltools.visualstudio.com/CrossPlatBuildScripts/_build/results?buildId=101859&view=results

Pull Request Test Coverage Report for Build 787846065

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 43.371%

Totals

Change from base Build 787388694:
0.0%

Covered Lines:
26261

Relevant Lines:
55098

💛  - Coveralls


Compressed Video is not Streamble

Hey man! your video compression is great it compressed almost all of the video and more faster than ffmpeg. However after uploading the compresssed video and playing i notice that the video wait to load/download all before it play(not buffering).
Hope you fix this bug soon.
Thanks

God, me too. Play very slow. If you fixed it, please let me know, thanks. @dn0myaraymond

Did you find a solution?


GeoIP Database and Flags

Great transforms, thanks! Two small things I noticed whilst experimenting:

The GeoIP database is defined in HoneyMalt.conf, but then explicitly referenced in kippogeoip.py

The flag lookup fails for the UK - it tried to reference gb.png which 404s, rather than uk.png.

Close issue, changes made and no feedback so will assume successful.


Weird artifact in the restored result

I made the test with your code and get the same performance as you reported in Readme. That's cool, however, when I visualize the reconstruct result with visualize option in your code, I can find it has some unusual visual artifact.
restored picture is as followed, and as you can see, restoration picture shows decreased visual quality and background color is getting a little different.

Performance is exactly same as you reported, so I ask you whether this artifact a usual one.
Best

Yes, the visual result may have some changes since recognition & linguistical clues are not designed for improving fidelity. To achieve a better fidelity performance, you may utilize visual clue and pixel losses to obtain a variant.
Best

Following are some experimental results in my supplementary materials, I think it will be useful for you to balance recognition performance and fidelity:
For fidelity performance, we can drop the text-specific losses. As for recognition performance, we can apply the iterative super-resolution proposed in [Ma et al., 2021]. We apply these two tricks and develop two variants. The experimental results can be checked in Tab. 3. As shown in Tab. 3, our variants achieve satisfied fidelity or recognition performance, respectively.


test/e2e: Fix cri-o auth tests

For the cri-o tests, the error we get back for
unauthorized access to a private image is
different to containerd, so add logic to handle
this.

Hmm, the libvirt tests weren't triggered here? I'll try unlabelling and re-labelling


Disable swipe when no action added

I have a reveal action to disclose hidden information in the cell. Once the hidden information is shown, there's no more action to perform, in this case I'd like to completely remove swipe effect; it'd be nice being able to disable it when the actions lists are empty.
Furthermore, I'm reusing the same composable in some scrollable rows, so in those cases I definitely need to disable swipe interactions in order for the horizontal scroll to work.
var unlocked by remember { mutableStateOf(false) }

val actions = mutableListOf<SwipeAction>()
if (!unlocked) {
    actions.add(
        SwipeAction(
            icon = {
                Column(
                    modifier = Modifier.padding(horizontal = 25.dp),
                    verticalArrangement = Arrangement.spacedBy(5.dp),
                    horizontalAlignment = Alignment.CenterHorizontally
                ) {
                    Icon(painter = painterResource(R.drawable.ic_lock_open), contentDescription = "", tint = Primary)
                    Text(stringResource(id = R.string.reveal))
               }
            },
            background = Color.Transparent,
            onSwipe = {
                unlocked = true
            }
        )
    )
}

SwipeableActionsBox(
    endActions = actions,
    backgroundUntilSwipeThreshold = Color.Transparent,
    swipeThreshold = 80.dp,
    disabledWhenEmpty = true // <--
) {
        Row { ...


join some no labeled image to train dataset

i wanted to join some no labeled image to train dataset,such as neg samples,but didn't success.can someone have  advice?Thank you!

@duoduo1234 do you mean to add dont care region which does not contribute to the loss?

no,closed


Containerization and Finalize Orchestraion and deployment

Plan System Design
Plan Cloud Deployment Strategy

Confirmed sir, i will be doing that.

Okay Manav on it!!


[Issue] : Fixing Navbar in Trending Page

Issue Description
The navbar in the Trending section is somewhat different from others, which makes it ambiguous, so I want to make similar navbars for that too.
Please assign me this issue under Hacktoberfest 2022.
Are you a Hacktoberfest'21 contributor

[X] Yes, I'am Hacktoberfest'21 contributor

I can fix this position issue. Please assign me this one


fix under-alignment of index elements

Obsoleted. Will open a new PR with an up-to-date fix for it.


in the latest update the Issue Reporter doesn't work

I cannot find a single open issue about issue reporting now working. So excuse me but I will say it again. It doesn't work. Please fix it.

Please include more details about what you mean by "not working"


Update for Rails 8

Closes https://github.com/Shopify/ruby-lsp-rails/issues/468
There are two main things here:

I re-generated the dummy app with bundle exec rails plugin new then did some manual clean-up. There are more files than previously, but I think this is fine since otherwise we would need to clean these up on on every Rails update.

Due to Rails 8 changes, we now have to explictly eager load the routes.

I verified against code-db which is on Rails 7.2.

I've marked this as Ready for Review, however there are 2 tests which are failing only in CI and I cannot figure out why 😭 .

My original intention was to have keep the dummy app as unchanged as possible, so as to minimize the work needed when regenerating it, but we can stick with the current approach.

Re-verified against code-db and Core with the latest changes.


Release?

Hi Martin :wave:
Would it be possible to get a release please?
VirtualiZarr is pinning down to avoid https://github.com/fsspec/kerchunk/issues/445 which is in 0.2.3 and 0.2.4 but fixed on main. Word is that xarray is releasing soon, so if kerchunk gets a release too all the deps over in virtualizarr land will be pointing to proper releases.

I'll get #456 in, and then release

0.2.5 on pypi now

Thanks!

Amazing thank you @martindurant !


Pixi.Filter is undefined

Hello! Your README approach doesn't seem to work or there's a version conflict or something.
  <script src="/node_modules/pixi.js/bin/pixi.js"></script>
  <script src="/node_modules/pixi-filters/bin/pixi-filters.js"></script>

In PIXI.Filter.prototype -> Uncaught TypeError: Cannot read property 'prototype' of undefined
PIXI.VERSION 3.0.10
pixi-filters 1.0.0

This is for pixi v4

Yes, requires v4.


How to change the init function of a theme?

Hi,
I want to derive the simlpe theme, and change some content of it to make my own theme.  Because I only want to change some default global settings, I don't like to leave a copy in my local.  Thus, I tried to change the default init function to inject the configuration.  But it failed.
I tried to do like this:
#show: simple-theme.with(
  aspect-ratio: "16-9",
  config-methods(
    init: (self: none, body) => {
      set text(size: 25pt, font: "Andale Mono", fallback: true)

      show heading.where(level: 2): it => {
        text(bottom-edge: "bounds")[
          *#it.body*
          // #v(-30pt)
          #line(length: 100%, stroke: 2pt + gradient.linear(..color.map.mako))
          // #v(-20pt)
        ]
      }

      set math.equation(numbering: "(1)")

      show link: underline

      show strong: alert

      body
    },
  ),
)

= A

== BB

cccc

However, it shows the error:
error: panicked with: "Unsupported mark `touying-fn-wrapper` at page 2. You can't use it inside some functions like `context`. You may want to use the callback-style `uncover` function instead."
   ┌─ @preview/touying:0.5.3/src/configs.typ:48:8
   │
48 │         panic("Unsupported mark `" + kind + "` at page " + str(page-num) + ". You can't use it inside some functions like `context`. You may want to use the callback-style `uncover` function instead.")
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Looks like I missed something.

Just remove show strong: alert

Just remove show strong: alert

Wow, interesting.  It works.
I just merged it from the old version, and there was such a line in the old version.


Line annotations out of chart area

Hi,
it would be great to have the line annotations just inside the chart area, not on the whole panel.

I added a tag. good suggestion.


Version updates and subsequent fixes

I bumped the version of gradle up which brought along checkstyle/findbugs updates.  this PR also cleans up those new failures.  clirr has been nonfunctional for a while so it is also removed in this PR.

Looks like Travis is failing.

Could not find method buildingWith() for arguments [xmlReports.enabled] on project ':entityscanner-plug' of type org.gradle.api.Project.


Internet Explorer and Microsoft Edge integration

Open Internet Explorer
Type in the address bar the program "localhost/.../index.php"

Cells seem compressed to the left with the overhead text overlapping each other.
Cells cannot be clicked
Legend colors not showing

/*** Microsoft Edge ***/

Open Microsoft Edge
Type in the address bar the program "localhost/.../index.php"

Cell colors are not shown and will only appear when hovered on
Legend colors not showing
Cells can be clicked but do not show the restricted grey area when you select a cell

Will scale this to Severity - Minor if sir really wants us to do this


This page is material intended for computers prepared to teach in a classroom, it is NOT suitable for general learning

This page is clearly pulled from instructional material from a course prepared to be delivered from specially prepared machines for a paid focused course.
At the very least a disclaimer about how the steps will not work unless you are in a course that also needs to be listed should be on this page.  At best, provide a link to how someone could set up a suitable environment to run through the steps provided.
When we read in section https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/create-nextgen-reporting-solutions?context=%2Fdynamics365%2Fcontext%2Fcommerce#using-vb-code-to-manage-running-balances
"In the File name window, browse to C:\FmLab\Lab10-3, select FMRentalDetailsReport.axpp, and then click Open." No one is going to have that a VHD or Cloud Hosted environment.
Can we get some suitable Report training? It's very complicated to learn given the myriad different technologies including:

Tool
Author
Target
Data
Consumption
Designer

Excel
Power User
Power User
Transactional
External
Free form

Embedded BI
Developer
All users
Aggregates
Internal
Modeled

SSRS Report
Developer
All users
Transactional and Aggregates
Internal/External
Free form

Power BI
Power User
All users
Aggregates
Internal/External
Free form

Management Reporter
Power User
Power User
Transactional
External
Modeled

Then on top of that there is now Electronic Reporting which is again -completely different- than all of the above.

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

ID: 9938b25a-e89a-8527-4035-ec626420274f
Version Independent ID: 411856f8-8e09-3ed6-7fd5-3c168075e5f6
Content: Create reporting solutions - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/analytics/create-nextgen-reporting-solutions.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @RichdiMSFT
Microsoft Alias: *richdi

Thank you for your feedback. At this point, we are not updating this page. Closing as won't fix.