psycopg2.ProgrammingError

I tried to run tileserver on my machine by following this tutorial: https://github.com/tilezen/vector-datasource/wiki/Mapzen-Vector-Tile-Service . Everything was installed successfully but when I try to retrieve tile from this server I get an error psycopg2.ProgrammingError: ProgrammingError: function jsonb_build_object(unknown, unknown, unknown, bigint, unknown, unknown, unknown, real) does not exist LINE 8: jsonb_build_object( ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. from file query.py from tilequeue library. I am also attaching screenshot:

For all libraries I am using master branch as when I tried to use versions recommended in that tutorial I get another errors in Python.
I am not sure whether to post this issue into tilequeue or vector-datasource repository.

@rwrx Reporting the error here is good. Rob will have a look once he's back in the office (probably Wednesday NYC time).

We started requiring later versions of postgresql. You'll need at least 9.5, and we're running 9.6 on servers ourselves.
This is a recent change and we haven't updated the docs yet. I made an issue for that: https://github.com/tilezen/vector-datasource/issues/1319
If you can't update postgresql, I'd suggest running off the latest tagged versions which you can find here: https://github.com/tilezen/vector-datasource/releases/tag/v1.4.0

Thank you a lot for your answer. I have installed postgresql 9.6 and postgis 2.3 as is written here https://github.com/tilezen/vector-datasource/wiki/Mapzen-Vector-Tile-Service/_compare/d3ec978d8a61c13760688fdfe312859453f94051...8fe772e1f7eedbf5b159e5da0f508a29ac8ab2fe . But now I get another error when trying to retrieve tiles from tileserver. I have followed all tutorial and used that new york extract and used master branches on vector-datasource, tileserver and also on tilequeue. Error message is: NameError: name 'area' is not defined. Here is also screenshot:

@rwrx We'll have a look Monday. In the meantime, the latest tagged releases in each repo are probably your best bet.

Thank you. Did you try also master branches, New York extract and postgresql 9.6 and postgis 2.3? I have tried it several times and dropped databases.

When I follow that tutorial and checkout all that latest stable versions as are written in tutorial I get error TypeError: process_coord_no_format() takes exactly 5 arguments (4 given). Is it possible for you to send me install instructions which are working for you? Or at least send parts where your instructions differ from tutorial? Do you also use Ubuntu 14.04 with updated software?

Thank you. Did you try also master branches, New York extract and postgresql 9.6 and postgis 2.3? I have tried it several times and dropped databases.

I just tested it with a different extract, master branches and postgresql 9.5 and postgis 2.2 on ubuntu 16.04. Locally I develop with postgresql 9.6 and postgis 2.3 on ubuntu 14.04. The package versions you have installed look fine to me.

TypeError: process_coord_no_format() takes exactly 5 arguments (4 given)

This time the error looks like it's a version mismatch between tileserver and tilequeue. If you were switching branches, I bet it's picking up an unexpected installed version, or something to that effect. If you install from requirements and then also checkout and switch branches, sometimes you can get into a state where it's picking up the installed egg instead of the checked out branch.
We are testing a docker setup that is what we plan on eventually switching to. It's early, but you can give that a try to see if it'll help. We don't have public docs for it yet, but it's a docker-compose environment.
https://github.com/tilezen/tileserver/tree/iandees/dockerize
To load the data, there's a docker script in https://github.com/tilezen/vector-datasource/tree/iandees/dockerize
Alternatively, if you send me a transcript of what you're running with console output, I can scan through to see if I can figure it out or suggest things to try.

Thank you a lot for your patience.
Ok, I have done clean install on clean Ubuntu 14.04 with postgresql 9.6 and postgis 2.3 and on master branches for vector-datasource, tileserver and tilequeue. Now I don't have time to import whole planet so I imported this extract http://download.geofabrik.de/europe/slovakia.html into postgresql database. I have also followed all tutorial and another change I have done (beside different extract) is adding repository for downloading postgresql 9.6 and postgist 2.3 as is written here for Ubuntu 14.04 https://askubuntu.com/questions/831292/how-to-install-postgresql-9-6-on-any-ubuntu-version .
After successfully running server I tried to get tile from this url http://localhost:8080//all/5/18/10.json I get NameError: name 'area' is not define same error as in my second post in this thread. You can reproduce this very simply just by following steps in tutorial.
This tileserver is not supposed to work with OSM extracts? When I will import whole planet (which will take approx one day on my machine - I have tested only Europe import which has taken half a day) will it work?
I just need this to work as soon as possible because I need to create mbtiles for offline maps for every country in the world and I cannot use your server for this.

@rwrx We strongly recommend using latest tagged releases in the repos for production work like this. Are those not working for you? I've listed them below for reference.

https://github.com/tilezen/vector-datasource/releases/tag/v1.4.0-docs1
https://github.com/mapzen/tileserver/releases/tag/v2.1.0
https://github.com/mapzen/tilequeue/releases/tag/v1.8.0
https://pypi.python.org/pypi/mapbox-vector-tile/v1.2.0

I agree that we should investigate NameError: name 'area' is not define in any case, but please try the latest tagged releases above.

@rwrx If you require any additional support please review the Premium support section at https://mapzen.com/pricing/.

Thank you. I have tried it again from scratch with dropping database and cloning all repositories and checkouting tags as you wrote and I am again getting error as I wrote previously TypeError: process_coord_no_format() takes exactly 5 arguments (4 given). It seems that tileserver 2.1.0 and tilequeue 1.8.0 are not compatible.

Looks like that should have read tilequeue 1.9.0 instead, but you tried that? We're running this version combination in production currently:
      "vector_datasource": "v1.3.0",
      "tilequeue": "v1.9.0",
      "mapbox_vector_tile": "v1.2.0",
      "tileserver": "v2.1.0"

I tried tilequeue 1.9.0 but I get same error as I wrote. But now I have done checkout to master on all repositories and rerun all python configuration and it is working! :) I don't know why but I have done this previously and back then it wasn't working.

Great to hear! Good luck with the per-country builds :)


Suggestion about importing view_eval from xtensor-blas

I think that xt::view_eval defined in xtensor-blas is quite useful for defining custom functions with xt::xexpression arguments.
Is it possible to define it in xtensor?
If possible, may I make the migration?
Thanks.

There is already an eval function in xtensor that is equivalent to the view_eval of xtensor-blas.
It is defined in xeval.hpp.
Let me know if this does not fot your needs.

This is the one I wanted!
Thank you for the information and your time.


Security risk: interface names are passed directly to shell command

Hey,
Most of the code responsible for returning network interfaces details uses the interface name in shell commands without sanitization, e.g.: https://github.com/sebhildebrandt/systeminformation/blob/21b1d62b2110169488bef7d1c1afa6a62f56b839/lib/network.js#L833
Interface names have no limitations other than 15 characters and no forward slashes nor spaces. It is therefore possible to name an interface $(reboot) which would lead to the system rebooting when executing si.networkInterfaces().
The interface name can be sanitized as done here: https://github.com/sebhildebrandt/systeminformation/blob/21b1d62b2110169488bef7d1c1afa6a62f56b839/lib/network.js#L1198-L1204
Thanks

Hi @lodi-g ... after a very first check: this function does not have the interface $iface as a user input. This value actually comes from os.networkInterfaces(). So the only way of injecting malicious code would be by overwriting os.networkInterfaces(). I now created a fix for that. Version 5.17.4 just released.


Spark streaming vs Kinesis

Worth noting why Kinesis here?

Must have degradation plan to not-cloud, so spark or kafka
Processing infrastructure setup use of possible DAG processing API

Closing per #365


The Surprisingly High Table Stakes of Modern Blogs

tags: advice, writing
cover_image: https://user-images.githubusercontent.com/6764957/185814244-3e698a67-0827-45bd-986d-0c1d419b0fbb.png
Bottom Line Up Front: You are probably underestimating how much goes into blogging technology these days.
Reader Experience

Article header and body
- Good typography
- Readable, accessible, branded styling
- Embedding rich media (particularly YouTube and Twitter embeds, but also Repl/Sandbox embeds - mind the mobile view)
- Footnotes (a really great way to add extra context without bloating main text)
- Truncation marker for pagination
- Content Transclusion
- Syntax highlighting of Code (main players: Prismjs, Highlightjs, Shikijs - preferred if static - no css/js embed needed)
- including git diff displays - I had trouble with this recently
- make sure to test overflow code blocks - in general try to implement defensive CSS

render as popover on desktop, as footnote on mobile/email?

Metadata

Table of Contents extraction/display/highlighting/collapsing
Reading time estimation (debatable)
Reader Comments (Disqus? Utterances?) and Webmentions

Sanitizing/moderating comments?

Social Proof

Reader highlights (like Medium does)
Claps/likes/etc
Meta conversations on HN/Reddit/Twitter/etc

Theming

Dark/Light mode toggles - avoid dark-mode FOUC!
Custom theming (see Max Bock site)

Blog Index Browsing features

Search: Simple filters, fuzzy matches, faceted search
Tags and Categories. Tag hierarchies?
nprogress loading indicator
Autolink headers
Pagination - for posts, for tags (example)
Archive (unpaginated) (example)
Recommendations:

Next/previous buttons
"Related" reads
"You may also like" recommendations

404 page - try to guess what the user wanted

Accessibility

Using semantic HTML with proper Heading hierarchy
SVG Icons
Tap targets

Security

X-Content-Type
X-Frame-Options
X-XSS-Protection
CSP
auto add target="_blank" or rel="noopener" to links

And everything should look great on mobile devices and (at least not horrible on) ultrawide monitors.
Web performance is of course a huge part of the reading experience but I've put it in the section below for even spacing reasons.
Author Experience

WYSIWYG writing (with keyboard shortcuts) - use a CMS? Roll your own? Markdown vs Blocks?
If writing in static markdown files, the ability to colocate static files (eg pdfs) next to the file (instead of dumped in a big fat "files" folder with no clue which post it belongs to), and to easily write relative links to them in the markdown that will be transformed to the write path
Customizable metadata (with good inference when not supplied)

slug
publish date
edited at date
canonical url
description
og:image
layout

Shortcodes/Unfurls
Image uploads - best workflow is to paste the image from clipboard right into the textbox and have it upload, as Github Issues does.
Static data entry

eg to log talk and podcast appearances

Analytics

Server side analytics (Netlify Analytics)
Google Analytics
Privacy preserving clientside analytics (eg Fathom)

Mobile authoring/editing experience

Distribution/Reach

OpenGraph tags - these will determine unfurls.
Autogenerated og:image off a template? on request or at build time? Your title/description/og:image will be read by more people than your post itself
Is a sitemap needed these days?
Favicons + Webmanifest
Redirects for moved/broken links

outbound: broken link checkers
inbound: redirect checkers

RSS feed: even better - customizable RSS feed by topic
This is HUGE for reaching loyal readers: Newsletter publishing on a per-post or weekly-digest basis. IMO this is the big win of Substack, the only platform really taking this seriously
AMP support? debatable
Web Performance (affects Google ranking so I put it here)

Mind your lighthouse scores

Lazy load images <img loading="lazy" />
Image optimization
try to set image aspect ratios for cumulative layout shift

Find "lite" versions of all third party scripts

https://github.com/paulirish/lite-youtube-embed
Youtube embed: React: https://static-tweet.vercel.app/ , Svelte
https://github.com/lukeed/ganalytics
or put them in partytown https://github.com/BuilderIO/partytown

CDN caching/serving from Edge workers (Cloudflare, Deno, Fly)
PWA/Offline caching (example)
Resource hints/preconnects

Developer Experience

Plugin systems for adding every feature above in <10 lines of code (example)
Build times should be <1 minute
Type safety for data schemas
Fast content preview (preferably without having to run a local server)
Monitoring/alerting - when your site goes down or a single popular page disappears for whatever reason, who finds out first? your readers or you?

This is often tied with the debate about whether or not the blog should be Jamstack - mostly statically generated and hosted on a CDN, or traditionally mostly generated on request and cached for some amount of time.
Misc

Portability to other platforms in future
Popovers and link previews per Andy Matuschak
i18n/translations

Context
It is often said that one of the best ways of learning a new language, from Ruby to Rust, is to implement a static site generator (fun fact - it was actually my take-home interview for Netlify!). Depending on the requirements, it forces you to learn everything from filesystem access, making network requests, parallelizing code, parsing configs, using libraries, creating plugin systems, injecting javascript, writing a CLI, and deployment.
Because there are accordingly so many static site generators, most people tend to devalue them, in the "I could build this in a weekend" sort of way, and end up building their own blogging platforms every few years as a way to "stay sharp". But that's a very 90's view of blogging technology - and the requirements of a modern Blog has diverged a lot from the basics of static site generation in the past 30 years. In the end, your readers have a poorer experience and your blog may not get the reach it might deserve.
I of course am no exception to this, being maintainer of my own small blog template for the Svelte ecosystem. I am intimately familiar with the modern dev blogging platforms like Dev.to and Hashnode, and these days spend plenty of time reading the many Data Engineering Substacks, and only appreciated how much they do for us that you should not handroll (or should consider building if DIY, because it is genuinely such a good feature).
This is an appreciation I only arrived at after ~5 years of constant blogging, so I figured I should write down what I see as "table stakes", for you to appreciate when considering your next great blogging platform, without trying to sell you any particular solution.
For what its worth, I do think most people, even developers, should not handroll their own blogs and should try to use Devto/Hashnode/Substack (Wordpress is of course an option) accordingly, because most people get so caught up in being PM + Dev for their handrolled blogging software that they never get to the writing.
The most important feature of a blog is its content - if you write good content, people will overcome almost any hurdle to come and read it. Don't forget that.
{% twitter https://twitter.com/markdalgleish/status/1108433814647300097 %}

Aaron Francis has a nice looking syntax highlighting API that seems to have a bunch of these features figured out: https://twitter.com/aarondfrancis/status/1561490579095273473?s=21&t=e9tGZTAVWD3LH-PHXsbHuw

You know, this is why I've paused on any next steps, it's a big effort to migrate/choose, and not certain yet what route to take. My current Hugo blog works well, but maintaining over time is probably not the best use of my time as that theme is no longer actively developed.
I've considered doing what you are doing with GitHub issues, which I think is great! However, at the end of the day, despite my love for simple markdown, I've been reconsidering super[dot]so, or other alternatives despite being less powerful, because the authoring friction is reduced. Because Notion can export markdown, I feel it's a reasonable compromise to get my data back out, albeit with terrible naming :-) I'd eliminate clunky shortcodes to do special formatting, and just WYSISWG in essence.
I read that Blocks vs Markdown post in your article as well, and it was a pretty solid case! Thanks for sharing that.
control & compatibility
My main concern is most of the stuff like Super.So how difficult it can be to migrate existing content, maintain backwards compatibility, and deal with missing features that seem obvious to a development audience. RSS, Redirects for renamed posts, front-matter/slug control to help ensure metadata correctly set.
Considering I don't make money on my blog, it's perhaps not as much of an issue as I'd think. The benefits of reduced friction might make up for it. I think it's serverless, and updating content is nearly live after editing in Notion, with seconds to your website being updated. If I'm willing to give up simple text and move to block based editing, I'd probably benefit long-term in writing with such low friction.
close
Obsidian is tempting, but sorta comes back down into role your own solution, unless you use Publish, which is way to expensive for a personal dev blog. They also have a separate licensing requirement if you use on a work system at all, which is a frustrating restriction.
I'm also experimenting with Front Matter as a VSCode driven way to make things nicer to author. Still prefer blogging with Typora, but it bridges the gap from cli driven blog actions to a nice dashboard.
Gist Wish List
I wish Gists as a blogging mechanism had become more popular.
They are too hard to discover, and lack enough control.
However, GistLog/Gist oriented blogging seemed like a perfect solution for developers, if it had only been built on better.

@sw-yx comment with headers broke your comment formatting, sorry!
Also the heart/like reaction at the bottom near my name results in a hyperlink to the api json, not to the comment on github. 👋🏻

whoops... @sheldonhull PR welcome, not gonna take a look at it right now but appreciate the report


Default template dir

Use sampleDir to define a default templates path and load it into our filesystem.
Addresses #167.

#177 has been merged.

Please resolve merge conflicts.

@arctan5x @jmeixensperger I think both the default template dir issue and the vulnerability issue are already fixed at #177 with test cases. So this PR can be closed instead of merging to dev branch.


setenv.sh ENV_VARS includes all stdout

Describe the bug
setenv.sh set ENV_VARS by running envio list -n dev -v.
This includes unnecessary stdout print messages like:
New version available: 0.4.1 -> 0.5.0
Loading Profile
Enter your encryption key

To Reproduce
Steps to reproduce the behavior:

Create a profile: envio create dev_profile
Add environment variable: envio add dev_profile -e dummy=key
Load profile: envio load dev_profile
Check setenv.sh. Line 8 has:

ENV_VARS=$(envio list -n dev_profile -v)

Create ENV_VARS by running: ENV_VARS=$(envio list -n dev_profile -v)
echo $ENV_VARS

New version available: 0.4.1 -> 0.5.0
Loading Profile
Enter your encryption key
test=dev

Check the temp file created by setenv.sh (it's automatically deleted by the script so you need to edit it to not remove it)

export New version available: 0.4.1 -> 0.5.0
export Loading Profile
export Enter your encryption key
export dummy=key

The temp file is sourced to the shell and it produces error due to the unnecessary export lines.
8. Sourcing setenv.sh produces an errror:
❯ source  /home/marloeu/.envio/setenv.sh
> Enter your encryption key: ************
/tmp/tmp.oTZRrzyHPC:export:1: not valid in this context: available:
Failed to load environment variables from temp file

[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

Expected behavior
Temp file should only do export dummy=key .
Device (please complete the following information):

WSL2 (Ubuntu 23.10)
zsh
Version 0.4.1

Additional context
Looks like line export New version available: 0.4.1 -> 0.5.0 is the main issue. export Loading Profile does not produce an issue.

Just to add that release 0.5.0 has 0.4.1 artifacts.

Thank you for opening this issue it helps out a lot! I changed the shell script up a bit and now it only accepts a specific pattern, essentially ignoring all the unnecessary lines you were seeing before. The artifacts have also been updated as well.
I am closing this issue for now. Thank you once again!


Not able to connect to TI SensorTag to ESP32

I am trying to connect to TI sensorTag cc2650 ( http://www.ti.com/tool/cc2650stk )
Its characteristics descriptor is given here
http://processors.wiki.ti.com/images/a/a8/BLE_SensorTag_GATT_Server.pdf
I was trying to read values from different sensors, but i am not able to. I am not able to read multiple characteristics from one service also.
If some demo example is given which will enable and read sensorTag value then it will be big help and I can proceed using ESP32
Thanks in advance

It isn't clear what application you have written to attempt to connect .... there are some sample ESP32 BLE app samples ... https://github.com/espressif/esp-idf/tree/master/examples/bluetooth
In addition, there are some C++ samples here ...
https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils/tests/BLE Tests
The ESP32 doesn't have anything "special" for the TI sensor tag ... however, if it is a BLE device, it should be able to be connected to as long as we write an application that connects with it.

I have server device which has 3 characteristics in one service. I am able
to read the first characteristic of that service in client app. But how I
should read/write second n third characteristics. Please help me with demo
code flow to achieve the same.
On 29-Jul-2017 12:01 AM, "Neil Kolban"<EMAIL_ADDRESS>wrote:
It isn't clear what application you have written to attempt to connect ....
there are some sample ESP32 BLE app samples ...
https://github.com/espressif/esp-idf/tree/master/examples/bluetooth
In addition, there are some C++ samples here ...
https://github.com/nkolban/esp32-snippets/tree/master/
cpp_utils/tests/BLE%20Tests
The ESP32 doesn't have anything "special" for the TI sensor tag ...
however, if it is a BLE device, it should be able to be connected to as
long as we write an application that connects with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-idf/issues/853#issuecomment-318729608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaEE5IAn6Lue0l_CxM_ExfWv67jwX_muks5sSijlgaJpZM4OmbVr
.

I think I am hearing that you are looking for assistance writing an ESP32 application that achieves the goals that you have set for yourself.  This Github issues log is primarily for defects found in the ESP32 APIs as opposed to usage questions.   Where documentation on the usage of ESP32 is incomplete or wrong then that too is considered a defect.
The documentation on ESP32 BLE programming can be found here:
http://esp-idf.readthedocs.io/en/latest/api-reference/bluetooth/index.html
Have you had a chance to study that in detail?  Are you able to comprehend the BLE sample applications supplied with the ESP-IDF?
If you think there is a code defect in the ESP-IDF then lets see if we can get to the bottom of that.  If our challenge is getting you up to speed on writing C or C++ applications that you are responsible for writing that use the exposed ESP-IDF APIs, then let me suggest that you create a forum thread on the ESP32 forum found here:
https://esp32.com/index.php
That is the place where the ESP32 community "hangs out" to offer assistance, guidance and generally chat about all things ESP32.

I have server device which has 3 characteristics in one service. I am able to read the first characteristic of that service in client app. But how I should read/write second n third characteristics.
esp32 forum post


[feature] Load XAPKs directly

APKPure has multi-arch apps in an XAPK file, which is more or less just a zip archive with multiple apks inside.
It would be nice if we could load them directly without unpacking them first and load the folder instead.

@skylot Hey, any plans on implementing this soon? I could do a PR myself if you're willing to review it and point out any changes you might see are necessary to meet the coding standard of the project.
I've noticed that lately more and more apps are only available as xapk from sites such as apkmirror and it's a pain in the ass to extract them before loading them.

@Iscle sure, PR will be great :+1:

I've been working on this (I've decided to create a new plugin instead of modifying the existing jadx-dex-input) and I feel like especially the input plugins could maybe be improved a bit, with some sort of priority and maybe mutual exclusion so that if, for example, the xapk plugin supports the file, the dex plugin does not get executed.
I've also seen repeated functionality such as functions to read all bytes from an InputStream that maybe could be moved to a common project.
Is this something you've considered?

Furthermore, I've seen a few issues on how jadx handles resources and _AndroidManifest.xml_s. As you might know, xapk files are just a zip file with many apks inside and a few other support files such as a manifest.json and icon.png.
Each of the split apk contains an AndroidManifest.xml, as well as some resources. If I extract the xapk and then load all the extracted files into jadx directly, the AndroidManifest.xml that will appear in the editor will be a random one.
It would be nice if the UI either showed all of them (maybe with a smaller gray text specifying which file it came from) or selected the "base" one (which we know as it's specified in the xapk manifest.json).
In my opinion, a refactor on the loading code logic and structure would be a great improvement to jadx. :)

Now every plugin search for supported files from input and output decoded results.
To implement your suggestion we can run a global loop over all input files (with zip traversal) and asking every input plugin for decoding result (or even transform to other file format, so other plugins can decode it) and if file is supported stop asking other plugins. This will also allow plugin ordering. I was planing to implement similar thing to support resources decoding in plugins. Such changes require big refactoring with API changes and all plugins rewrite, so it is a lot of work.
As for xapk support, I thought it should be done in dex input plugin with zip unpacking like it already done for apk. This way it not require big refactoring and use will use already implemented approach.
For common parts we can just use jadx-core or jadx-input-api modules.

It would be nice if the UI either showed all of them

I think we can show all files under Resources node as is, every apk can be made expandable, so it will be possible to check all inner files.

A simple modification to the dex input plugin will allow xapk files to be loaded and show decompiled code just fine. However, none of the resources will get loaded because of the way jadx is handling it (basically searching for them in the main file, and not "asking" the plugins to do it instead).

I'm sure with some tweaks it could be made to work, but it will be a bit messy in my opinion. You are right that it will require a lot of work to refactor the code and modify the API but I think it's the right way to do it. Of course, let me know your thoughts, as you're much more familiar with the project than I am :)


Android-Lint fixes

This includes #32, so you can ignore that if you are going to merge this, or merge that first and then this.

Assertion are not supported on Dalvik
Try not to use iterators or for( int i ) loops
Mark exceptions as purposefully unhandled

As #32 now has moar, this branch can no longer be auto-merged.

merged to master


W-10967201 - update

Hi @hannanelson, for the first change against the polling time in the table, the supported value should be from 0 to 20 000 milliseconds.
For the second change, kindly refer to GUS W-10967879. Better to leave the "Default" setting of polling time which is empty value and add another scenario for the polling time when it's out of supported range.

Hi @hannanelson, for the first change against the polling time in the table, the supported value should be from 0 to 20 000 milliseconds. For the second change, kindly refer to GUS W-10967879. Better to leave the "Default" setting of polling time which is empty value and add another scenario for the polling time when it's out of supported range.

0 just defaults to 10 :|

LGTM


version: 1.0.0

version: 1.0.0

Codecov Report

Merging #40 (dd8d828) into main (c858d2d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   95.32%   95.32%
=======================================
  Files          21       21
  Lines         620      620
  Branches       39       39
=======================================
  Hits          591      591
  Misses         19       19
  Partials       10       10

Continue to review full report at Codecov.

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


chore: restore the ability to use PVCs as source for a restore

Closes #5030

/test d=push

The is fine with me. I started a full E2e suite run: https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/9840725538

/ok-to-merge E2e were green

Why this PR is not included in 1.23.3 release notes?

Not sure it works?
      bootstrap:
        recovery:
          volumeSnapshots:
            storage:
              name: db-recovery
              kind: PersistentVolumeClaim
              apiGroup: v1

Is this not approximately what the code should expect?
Rejects it with the error in the PR so it's got this commit.
│ Error: cannot patch "nextcloud-db" with kind Cluster: admission webhook "vcluster.cnpg.io" denied the request: Cluster.cluster.cnpg.io "nextcloud-db" is invalid: spec.bootstrap.recovery.storage: Invalid value: v1.TypedLocalObjectReference{APIGroup:(*string)(0xc001291a00), Kind:"PersistentVolumeClaim", Name:"db-recovery"}: Only VolumeSnapshots and PersistentVolumeClaims are supported

Based on my read of the code, that's what it should be expecting.


Set tmp dataset to 1777 permissions

Default permissions seem to cause issues with the X server (It doesn't load the desktop after logging in: xfce will simply stall, but plasma5 will actually show an error for access denied to /tmp).

Strange that this never used to be a problem, I have no problem adding this, however. Thanks.


Not stable behavior when using parameters %

Hello Julian.
I'm trying to use your library. Thank interesting library.
Unfortunately found not stable behavior.
Correct behavior:
> printfn "1 2 3"
1 2 3
> colorprintfn "1 2 3"
1 2 3

Incorrect behavior:
// Partial reverse. Missing spaces.
> printfn "1 2 %d" 3
1 2 3
> colorprintfn "1 2 %d" 3
31 2

> printfn "1 %d %d" 2 3
1 2 3
> colorprintfn "1 %d %d" 2 3
231

// Missing spaces:
printfn "%d %d %d" 1 2 3
1 2 3
> colorprintfn "%d %d %d" 1 2 3
123

Thanks for the report !
I published version 0.3.0 on NuGet with the fix.


Optional num_bytes_original_files

Because download_size is None in config-and-parquet-info if the dataset is >5GB

Codecov Report
Patch coverage: 77.77% and project coverage change: -0.03 :warning:

Comparison is base (10ecac7) 91.72% compared to head (17c3551) 91.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1478      +/-   ##
==========================================
- Coverage   91.72%   91.69%   -0.04%
==========================================
  Files          75       75
  Lines        5006     5012       +6
==========================================
+ Hits         4592     4596       +4
- Misses        414      416       +2

Flag
Coverage Δ

services_worker
91.69% <77.77%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

...vices/worker/src/worker/job_runners/config/size.py
90.62% <ø> (ø)

...ices/worker/src/worker/job_runners/dataset/size.py
81.35% <71.42%> (-1.67%)
:arrow_down:

services/worker/src/worker/dtos.py
99.26% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Upgrade Puppeteer and remove use of expect-puppeteer

What
Puppeteer version >18 introduced a change which means that expect-puppeteer is breaking - https://github.com/smooth-code/jest-puppeteer/issues/495
Instead of waiting for them to fix, it's best we rewrite clicks and inputs with native Puppeteer methods.
How to review
Executing the acceptance tests against dev environment:
export PAAS_ADMIN_BASE_URL=https://admin.${DEPLOY_ENV}.dev.cloudpipeline.digital
export CF_API_BASE_URL=https://api.${DEPLOY_ENV}.dev.cloudpipeline.digital
export ACCOUNTS_API_BASE_URL=https://accounts.${DEPLOY_ENV}.dev.cloudpipeline.digital
export ACCOUNTS_USERNAME=admin
export ACCOUNTS_PASSWORD= # get this value from credhub using `credhub get -n /concourse/main/create-cloudfoundry/paas_accounts_password`

export ADMIN_USERNAME=admin
export ADMIN_PASSWORD= # get this value from credhub using `credhub get -n /${DEPLOY_ENV}/${DEPLOY_ENV}/cf_admin_password`

npm run test:acceptance

Who can review
not @kr8n3r

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

I ran npm run test:acceptance and got the following
npm run test:acceptance

><EMAIL_ADDRESS>test:acceptance
> jest ./acceptance-tests/main.test.ts --config=acceptance-tests/jest-config.json --silent=false

 PASS  acceptance-tests/main.test.ts (37.724 s)
  paas-admin
    when the client is not authenticated
      ✓ passes its healthcheck (486 ms)
      ✓ redirects to the login service (46 ms)
    when the client is authenticated
      ✓ should show a count of orgs on the home page (336 ms)
      when the user is an organisation manager
        ✓ should show a count of orgs on the home page (351 ms)
        ✓ should invite a user (2424 ms)

Test Suites: 1 passed, 1 total
Tests:       5 passed, 5 total
Snapshots:   0 total
Time:        37.946 s
Ran all test suites matching /.\/acceptance-tests\/main.test.ts/i.```
Looks good from this point of view


Update instagram button link from footer.

Current link gives a 404 error.

The issue is fixed now.


operator of bool does not accept objects of type str

hi,
am I missing some dependency to build libpsl on Centos?
Compiler stderr:
Run-time dependency libidn2 found: YES 2.3.1
../meson.build:37:7: ERROR: The `==` operator of bool does not accept objects of type str (auto)

Thanks,
Dave

The meson.build was broken by a previous commit, I submitted a PR to fix it.


Chart component

Hi, I just tried out the Chart component but it didn't seem to work.
Are there any examples or instructions for it? I searched the documentation and other than the API description I could not find anything.
Thanks!

@koernigo we are preparing update and example using chart component is included into new version. Hopefully, version 0.9.100 will be deployed tomorrow (2 days later after promised wednesday).
Stay tuned!

Awesome, thank you Petar!!

@koernigo example-geiger is now using "Chart" component (both Blaze and React apps).
Please see example json input here: https://github.com/perak/kitchen-examples/blob/master/example-geiger/example-geiger.json#L64-L71 (or copy & paste entire json to kitchen GUI and see how component is used).
If you have any issues and questions, feel free to ask here. 👍

@perak I tried the Chart component with an empty project. When I try to add it to an existing React based project, I get the following error:
modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:27731 Download the React DevTools for a better development experience: https://fb.me/react-devtools
:3000/login:1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.
:3000/customers:1 Failed to decode downloaded font: http://<IP_ADDRESS>:3000/fonts/glyphicons-halflings-regular.woff2
:3000/customers:1 OTS parsing error: invalid version tag
:3000/customers:1 Failed to decode downloaded font: http://<IP_ADDRESS>:3000/fonts/glyphicons-halflings-regular.woff
:3000/customers:1 OTS parsing error: invalid version tag
:3000/customers:1 Failed to decode downloaded font: http://<IP_ADDRESS>:3000/fonts/glyphicons-halflings-regular.ttf
:3000/customers:1 OTS parsing error: invalid version tag
chart.jsx:29 Uncaught TypeError: data.map is not a function
at Chart.render (chart.jsx:29)
at finishClassComponent (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:23530)
at updateClassComponent (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:23492)
at beginWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:24160)
at performUnitOfWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26186)
at workLoop (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26225)
at HTMLUnknownElement.callCallback (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:10545)
at Object.invokeGuardedCallbackDev (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:10583)
at invokeGuardedCallback (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:10632)
at replayUnitOfWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:25639)
modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:24558 The above error occurred in the  component:
in Chart (created by CustomersDetailsPage)
in div (created by CustomersDetailsPage)
in div (created by CustomersDetailsPage)
in div (created by CustomersDetailsPage)
in CustomersDetailsPage (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent
in div (created by PrivateLayout)
in div (created by PrivateLayout)
in PrivateLayout (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent (created by Layout)
in Layout (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:24558
meteor.js?hash=c8108d734cc548d91539b054e14b613d0c4512cc:1010 Exception from Tracker recompute function:
meteor.js?hash=c8108d734cc548d91539b054e14b613d0c4512cc:1010 TypeError: data.map is not a function
at Chart.render (chart.jsx:29)
at finishClassComponent (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:23530)
at updateClassComponent (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:23492)
at beginWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:24160)
at performUnitOfWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26186)
at workLoop (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26225)
at renderRoot (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26265)
at performWorkOnRoot (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26882)
at performWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26803)
at performSyncWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26775)
modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:5249 Warning: Invalid DOM property font-size. Did you mean fontSize?
in select (created by FiltersPageTest)
in div (created by FiltersPageTest)
in div (created by FiltersPageTest)
in div (created by FiltersPageTest)
in div (created by FiltersPageTest)
in h3 (created by FiltersPageTest)
in div (created by FiltersPageTest)
in FiltersPageTest (created by FiltersPage)
in div (created by FiltersPage)
in div (created by FiltersPage)
in FiltersPage (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent
in div (created by PrivateLayout)
in div (created by PrivateLayout)
in PrivateLayout (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent (created by Layout)
in Layout (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent
printWarning @ modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:5249
chart.jsx:29 Uncaught TypeError: data.map is not a function
at Chart.render (chart.jsx:29)
at finishClassComponent (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:23530)
at updateClassComponent (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:23492)
at beginWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:24160)
at performUnitOfWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26186)
at workLoop (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:26225)
at HTMLUnknownElement.callCallback (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:10545)
at Object.invokeGuardedCallbackDev (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:10583)
at invokeGuardedCallback (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:10632)
at replayUnitOfWork (modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:25639)
modules.js?hash=362cc2b4b601a33cc301f27d0a50ce4ab86ed2c8:24558 The above error occurred in the  component:
in Chart (created by FiltersDetailsPage)
in div (created by FiltersDetailsPage)
in div (created by FiltersDetailsPage)
in div (created by FiltersDetailsPage)
in FiltersDetailsPage (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent
in div (created by PrivateLayout)
in div (created by PrivateLayout)
in PrivateLayout (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent (created by Layout)
in Layout (created by ReactMeteorDataComponent)
in ReactMeteorDataComponent
Consider adding an error boundary to your tree to customize error handling behavior.
 Is your data result from find().fetch()? (or is result from findOne()?)
Hum... I guess it's findOne() and that currently doesn't work, but maybe it makes sense to allow object as input. If this is your case, then I need more info - how data object looks like? (and what type of diagram you want to show?).

@perak I want to display a set of KPIs in a set of gauges (.e.g percentages). I was able to make that work in a test app when I started from scratch using a single value.

I guess meteor gets confused about package dependency. This is why I get the error
chart.jsx:29 Uncaught TypeError: data.map is not a function
at Chart.render (chart.jsx:29)

@koernigo how I can reproduce that error here? Can you share your kitchen input .json ? (or at least minimal part of it to help me reproduce issue locally)

@perak Thanks. I think the whole project is somehow corrupted. I will create a clean one and go from there. Quick question. about the charts:  Is there a way to customize the chart, so e.g. if I have a gauge chart that goes from 0 to 100, but the field in the DB goes from 0..1 is there a way to adjust the scale of the gauge?


Add snapshot testing library

This doesn't add any tests, just the library.

@hanningni please review

BSD-licensed is ok?
:+1:


About Page Text Update

From SusanR:

Also, on the about page,, can we change the word “advertize” to “promote” or “spread the word”

Closed with 08c142f00e83355222cc49e4406c7572025947a0


Create a plugin system for non-core features and community extensions.

I think this is pretty well handled by the new trait traits and attribute traits.


⚠ SceneTime has degraded performance

In c426c5c, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2190 ms

Resolved: SceneTime performance has improved in cd59cc8.


Reading the GSpherical:ProjectionType tag

I'm basically having troubles using this library. All I want is figuring out if an mp4 video I have is a  spherical video, or a casual one. If I read the video file binary content on my pc I see a structure similar to https://github.com/google/spatial-media/blob/master/docs/spherical-video-rfc.md#appendix-1---global-metadata-sample , so I just want to somehow check in my Android app if the video contains the GSpherical:ProjectionType tag. How should it be done? I've went through this library examples and github issues, couldn't find anything helpful. I've spent a couple hours researching it, found some IsoFiles and Boxes, is it what I'm supposed to use? Does anyone have an actual code sample that I could use, not just theory? Or is using this library an overkill for my goal?
Thanks

I'd say: overkill.
Parsing boxes and navigating there is simple. 4 bytes length, 4 bytes type,
if type is uuid then next 16 bytes are a uuid. Some boxes contain boxes.
Check this example:
https://github.com/sannies/mp4parser/blob/master/examples/src/main/java/com/google/code/mp4parser/example/PrintStructure.java
Am Mo., 29. Okt. 2018 um 21:31 Uhr schrieb Tibor Kaputa <
<EMAIL_ADDRESS>
I'm basically having troubles using this library. All I want is figuring
out if an mp4 video I have is a spherical video, or a casual one. If I read
the video file binary content on my pc I see a structure similar to
https://github.com/google/spatial-media/blob/master/docs/spherical-video-rfc.md#appendix-1---global-metadata-sample
, so I just want to somehow check in my Android app if the video contains
the GSpherical:ProjectionType tag. How should it be done? I've went
through this library examples and github issues, couldn't find anything
helpful. I've spent a couple hours researching it, found some IsoFiles and
Boxes, is it what I'm supposed to use? Does anyone have an actual code
sample that I could use, not just theory? Or is using this library an
overkill for my goal?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sannies/mp4parser/issues/344, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKUD7F6VOQXF2T_uF5YXOfu79wOjcJNks5up2WpgaJpZM4YAPhw
.

I tried running that sample in kotlin in my app, but the result is
Setting END to 15759427
ftyp@0 size: 24
free@24 size: 3191
mdat@3215 size: 15750590
moov@15753805 size: 5622
mvhd@15753813 size: 108
meta@15753921 size: 117
trak@15754038 size: 1766
tkhd@15754046 size: 92
mdia@15754138 size: 1212
mdhd@15754146 size: 32
hdlr@15754178 size: 44
minf@15754222 size: 1128
vmhd@15754230 size: 20
dinf@15754250 size: 36
stbl@15754286 size: 1064
stsd@15754294 size: 160
stts@15754454 size: 136
stss@15754590 size: 36
stsz@15754626 size: 632
stsc@15755258 size: 52
stco@15755310 size: 40
uuid@15755350 size: 454
trak@15755804 size: 3623
tkhd@15755812 size: 92
mdia@15755904 size: 3523
mdhd@15755912 size: 32
hdlr@15755944 size: 44
minf@15755988 size: 3439
smhd@15755996 size: 16
dinf@15756012 size: 36
stbl@15756048 size: 3379
stsd@15756056 size: 127
stts@15756183 size: 2008
stsz@15758191 size: 1144
stsc@15759335 size: 52
stco@15759387 size: 40
I have no idea what am I seeing. If it isn't the correct output, do you have any sample output, like what should I see? And how can I determine from it, if the video is a spherical one?
Thanks

actually, I guess that I need the moov part, so I just have to read bytes from 15750591 to 15750591 + 5622 and that will give me the needed xml? going to try that

ok Im close to figuring it out, thanks :)


PMID:12810074

Increased level of DNA AP (apurinic/apyrimidinic) sites

increased level of AP sites in DNA FYPO:0007135
edit file: f623968cf338deb197a749ed344b11922bde331f
release: 22a37036cb982537b07873689c6932f2397082a6


pull request for e2e test at 12/16/2016 20:26:17

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


Model Save caused Segmentation fault

Laravel Version: 5.1.44 (LTS)
PHP Version: PHP 7.0.8-2+deb.sury.org~xenial+1 (cli) ( NTS )
Database Driver & Version: mysql  Ver 14.14 Distrib 5.7.16, for Linux (x86_64) using  EditLine wrapper

Description:
After saving a model from inside a command I am given the beautiful Segmentation Fault error.
I am not sure what is causing this so any help would be greatly appreciated. According to php -i Zend OPCache is turned Off and I do not have XCache. I have provided a stack trace from gdb below.
I have the following in my command:-
print_r("Updating active state on contract... \n");
$this->contract->active = $this->status;
print_r("Saving contract state... \n");
$this->contract->save();
print_r("Saved contract state... \n");

And the following is output to the console:-
Updating active state on contract...
Saving contract state...
Segmentation fault

Stacktrace:-
#0  0x00007feca2520ae0 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#1  0x000055a03022e88d in ?? ()
#2  0x000055a0301e9d9b in execute_ex ()
#3  0x000055a030199861 in dtrace_execute_ex ()
#4  0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#5  0x000055a03019b4c9 in zend_call_function ()
#6  0x000055a0301c7702 in zend_call_method ()
#7  0x000055a0301e1a23 in zend_std_read_dimension ()
#8  0x000055a0301eae66 in ?? ()
#9  0x000055a0301eb887 in ?? ()
#10 0x000055a0301e9d9b in execute_ex ()
#11 0x000055a030199861 in dtrace_execute_ex ()
#12 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#13 0x000055a03022e88d in ?? ()
#14 0x000055a0301e9d9b in execute_ex ()
#15 0x000055a030199861 in dtrace_execute_ex ()
#16 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#17 0x000055a03022e88d in ?? ()
#18 0x000055a0301e9d9b in execute_ex ()
#19 0x000055a030199861 in dtrace_execute_ex ()
#20 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#21 0x000055a03022e88d in ?? ()
#22 0x000055a0301e9d9b in execute_ex ()
#23 0x000055a030199861 in dtrace_execute_ex ()
#24 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#25 0x000055a03022e88d in ?? ()
#26 0x000055a0301e9d9b in execute_ex ()
#27 0x000055a030199861 in dtrace_execute_ex ()
#28 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#29 0x000055a03022e88d in ?? ()
#30 0x000055a0301e9d9b in execute_ex ()
#31 0x000055a030199861 in dtrace_execute_ex ()
#32 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#33 0x000055a03022e88d in ?? ()
#34 0x000055a0301e9d9b in execute_ex ()
#35 0x000055a030199861 in dtrace_execute_ex ()
#36 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#37 0x000055a03022e88d in ?? ()
#38 0x000055a0301e9d9b in execute_ex ()
#39 0x000055a030199861 in dtrace_execute_ex ()
#40 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so
#41 0x000055a03022e88d in ?? ()
#42 0x000055a0301e9d9b in execute_ex ()
#43 0x000055a030199861 in dtrace_execute_ex ()
#44 0x00007feca2520ae6 in bf_zend_execute () from /usr/lib/php/20151012/blackfire.so

Steps To Reproduce:
I'm not sure what's causing this--all I'm trying to do is save a model from inside a command.

I'm not sure about what the actual issue is here but i seems related to some backfire extension for PHP try to disable that and try again.
Let me know if it fixes the issue, and if it does you report this to the maintainers of backfire.

Please ask on the forums, we try to keep this repo for bug reporting only.

Any segfaults are not bugs in Laravel anyway. They are bugs in PHP.

Changed my implementation to use DB:: instead to update the table directly. Looks like the actual issue was in the assignment of $this->contract->active = $this->status; because $this->contract->save() on it's own worked fine.

Same here,
I've had model, that was creating another model from Queue process and switch from $model->save() to DB::table()->insert() helped.


[ec2-user@ip-10-20-4-211 ~]$ sudo systemctl restart dbus
PolicyKit daemon disconnected from the bus.
We are no longer a registered authentication agent.
[ec2-user@ip-10-20-4-211 ~]$ sudo systemctl restart dnsmasq
[ec2-user@ip-10-20-4-211 ~]$ ping google.com
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from sea15s07-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=1 ttl=42 time=7.80 ms
64 bytes from sea15s07-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=2 ttl=42 time=7.42 ms
^C
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 7.429/7.616/7.804/0.206 ms
[ec2-user@ip-10-20-4-211 ~]$ sudo yum update

OCP 3.9 reference architecture just got released.  I'll try that codebase. https://access.redhat.com/documentation/en-us/reference_architectures/2018/html/deploying_and_managing_openshift_3.9_on_amazon_web_services/

@alberttwong I wrote the OCP 3.9 reference architecture.  I'm now watching this issue.
Let us know how you do.
Thanks.


DPP overriding compiler flags

Using vcpkg, where DPP is installed/built with vcpkg install dpp --triplet=x64-windows. Latest release is being used (v10.0.26) according to vcpkg list.
Describe the bug
Setting c++ version does not work, DPP overrides c++latest with c++17. Also see https://github.com/brainboxdotcc/DPP/issues/710.
To Reproduce
CMakeLists.txt:
cmake_minimum_required (VERSION 3.20)
project(DppTest)

find_package(dpp CONFIG REQUIRED)

add_executable(${PROJECT_NAME} "src/Main.cpp")

target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_23)

target_link_libraries(${PROJECT_NAME}
    PRIVATE dpp::dpp
)

src/Main.cpp:
#include <iostream>

// concept not being recognized
template<typename T> requires std::is_integral_v<T>
struct Something {};

int main(int argc, char **argv) {
    std::cout << "Test\n";

    Something<int> T{};

    return 0;
}

Expected behavior
Program should compile.

@braindigitalis Did we ever push #863 to vcpkg?

Issue probably caused by
https://github.com/microsoft/vcpkg/pull/34185/files#diff-d66ae78a65c40c62e98e7181dbe7a4dbf53444f46e361867ddc35f6794d7dfe6L10

So, the problem with our VCPKG CMakeLists:
target_compile_definitions cannot contain flags. They should be only used for preprocessor macros.
target_compiler_options, while, being the correct command for flags, does propagate flags to a consumer if PUBLIC, which in the case of the cmake standard probably shouldn't be the case.
The correct and most portable way to change the c++ standard is to juse use
target_compile_features(dpp PUBLIC cxx_std_17). This will allow users to overwrite it with a more recent standard.
@braindigitalis I'll let you handle this since you have more experience with vcpkg than I do.

Potential fix #973 merged into master


[AIRFLOW-3359] Added customer managed encryption keys as an option to…

… the Dataproc operator
Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Add CMEK as a disk encryption option to the Dataproc operator issues and references them in the PR title.

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

We have a requirement to use customer managed keys to encrypt disks. This PR adds an option so the Dataproc cluster instances are created with disks encrypted with customer managed keys.
Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes flake8

Codecov Report

Merging #4200 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #4200   +/-   ##
======================================
  Coverage    77.7%   77.7%
======================================
  Files         199     199
  Lines       16312   16312
======================================
  Hits        12675   12675
  Misses       3637    3637

Continue to review full report at Codecov.

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


wip: rename archive package to lake

I see there are still some usages of 'ark' as a variable name, will continue to search & replace.

I like it!

This still leaves us with a grip of "archive" occurrences.
$ git grep -i archive | wc -l
     221

Do we plan to eliminate those separately?

Yes - many of those left are references to the api structs, or the storage kind, which will take some Brim coordination & migration to manage.


feat: setup testing for react components

Closes #21
Sets up the ability to use Enzyme and Jest for testing React components
Changelog
New

Added the Enzyme package

Changed

Yarn test now runs tests for React components

updated


Update master from develop

This merge contains content updates, translations, and fixes for escaped HTML in form labels and #125 . Tested on ACC and all seems well.

This now also contains fixes for practice proposals. Merging now as a hotfix because students are using the practice functionality for courses.

Small warning: I see the MaxValueValidator added here (probably done elsewhere), but I can't see any migration related to that in this PR.
This probably means you either forgot to add it to git, or to create it at all. While this validator enforces this contraint in Python, it also generates a migration. (I think it also adds a DB contraint as well).
Might be worth looking into

Ah yes, well spotted. I have migrations in my working dir, so I think I forgot to add them to the commit. I'm guessing that the deploy script does not makemigrations, but only migrates existing ones. I will add the migrations to develop and immediately merge to resolve this before more development takes place.

I'm guessing that the deploy script does not makemigrations, but only migrates existing ones.
Nope, that would create a ton of problems if it did.

I will add the migrations to develop and immediately merge to resolve this before more development takes place.
Awesome!


egui scrollable windows draw features outside window bounds

Some parts of an egui window's contents are still drawn when scrolled out of the window.

Also notice the titlebar in the right image, which is partially overdrawn with text from inside the window.
This occurs in desktop and web mode.
Note: An easy workaround is to disable window scrolling, if the UI can be made to fit.

I think I now the reason for this, I will try to fix it ASAP

Should work now 🎉


Skipping buy because one token at a time is turned on and token is already being processed

Getting a lot Skipping buy because one token at a time is turned on and token is already being processed, but nothing is being processes.
https://imgur.com/GeY6BqM
Why is that ?

https://imgur.com/GeY6BqM

This happens because your bot is already working with a token, in this case it has not yet purchased, but is monitoring it. Once finished, he is free to take another token. This is limited by the MAX_TOKENS_AT_THE_TIME env

ah got ya thanks, btw any way to better store or track logs?

ah got ya thanks, btw any way to better store or track logs?

You can use PM2

ah got ya thanks, btw any way to better store or track logs?

In bot.ts, when a transaction ocurrs:
if (result.confirmed) {
          logger.info(
            {
              dex: `https://dexscreener.com/solana/${rawAccount.mint.toString()}?maker=${this.config.wallet.publicKey}`,
              mint: rawAccount.mint.toString(),
              signature: result.signature,
              url: `https://solscan.io/tx/${result.signature}`,
            },
            `Venta confirmada tx`,
          );

          await addTransaction({
            dex: `https://dexscreener.com/solana/${rawAccount.mint.toString()}?maker=${this.config.wallet.publicKey}`,
            mint: rawAccount.mint.toString(),
            signature: result.signature ? result.signature : "",
            url: `https://solscan.io/tx/${result.signature}`,
            success: true,
            direction: 'sell',

          })

To save the Transaction in a database
export const addTransaction = async (transaction: ITransaction) => {
    try {
        const data = new Transaction(transaction);

        await data.save();

    } catch (err) {

        console.log(err)

    }
};


Add subject to messages

Current coverage is 87.73% (diff: 100%)

Merging #608 into master will not change coverage

@@             master       #608   diff @@
==========================================
  Files           213        213
  Lines          8765       8765
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           7690       7690
  Misses         1075       1075
  Partials          0          0

Powered by Codecov. Last update 83a1eac...4bbe693


change and make all static strings to dynamic

some of your strings not dynamic please make it dynamic because now i'm using your packege and i make it multi language but there are few lines:
https://github.com/devpri/tinre-core/blob/a5654d73a0d313843c72e487e43a9afb0efd99ab/resources/js/components/url/Create.vue#L14
https://github.com/devpri/tinre-core/blob/a5654d73a0d313843c72e487e43a9afb0efd99ab/resources/js/components/url/CreateGuest.vue#L12

Fixed in 5d3edb3041378e856782845585d8669203343734.


[Nightly] Image upload broken for some images

Issue Summary
In the current Nightly version, it is no longer possible for me to upload an image. Maybe it is already known or fixed, but I preferred to report it.
Internal Server Error: /admin/images/multiple/add/
Traceback (most recent call last):
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/views/decorators/cache.py", line 62, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/wagtail/admin/urls/__init__.py", line 170, in wrapper
    return view_func(request, *args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/wagtail/admin/auth.py", line 205, in decorated_view
    return view_func(request, *args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/views/generic/base.py", line 103, in view
    return self.dispatch(request, *args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/utils/decorators.py", line 46, in _wrapper
    return bound_method(*args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/views/decorators/vary.py", line 21, in inner_func
    response = func(*args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/wagtail/admin/views/generic/multiple_upload.py", line 44, in dispatch
    return super().dispatch(request)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/wagtail/admin/views/generic/permissions.py", line 36, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/views/generic/base.py", line 142, in dispatch
    return handler(request, *args, **kwargs)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/wagtail/admin/views/generic/multiple_upload.py", line 144, in post
    if form.is_valid():
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/forms/forms.py", line 205, in is_valid
    return self.is_bound and not self.errors
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/forms/forms.py", line 200, in errors
    self.full_clean()
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/forms/forms.py", line 437, in full_clean
    self._clean_fields()
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/forms/forms.py", line 447, in _clean_fields
    value = field.clean(value, bf.initial)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/forms/fields.py", line 678, in clean
    return super().clean(data)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/django/forms/fields.py", line 198, in clean
    value = self.to_python(value)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/wagtail/images/fields.py", line 156, in to_python
    self.check_image_pixel_size(f)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/wagtail/images/fields.py", line 107, in check_image_pixel_size
    width, height = f.image.get_size()
  File "/wagtailNightly/.env/lib/python3.10/site-packages/willow/image.py", line 78, in wrapper
    image = converter(image)
  File "/wagtailNightly/.env/lib/python3.10/site-packages/willow/plugins/pillow.py", line 248, in open
    image_file.f.seek(0)
AttributeError: 'str' object has no attribute 'seek'
[01/Nov/2022 10:28:08] "POST /admin/images/multiple/add/ HTTP/1.1" 500 150299

Steps to Reproduce

Start a new project with wagtail start myproject
Install the nightly version pip install https://releases.wagtail.org/nightly/dist/wagtail-4.2.dev20221101-py3-none-any.whl
Start the server and open the wagtail admin interface
Click on Images in the left sidebar
Upload an image

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: yes

Technical details

Python version: 3.10.8
Django version: 4.1.1
Wagtail version: 4.2.dev20221101
Browser version: Firefox 106 and Chrome 107

Thank you @vorlif
#8974 made changes to the image field used under the hood.
I tested this locally and did not encounter any issues. One for me to double check.

@zerolab Thanks for the quick reply. After your feedback I tried a few other pictures and many of them were working. Here once a picture which did not go. One time compressed in case Github converts the images.
With version 4.0 and 4.1rc1 the image can still be uploaded.

20210808_204140.zip

Found the issue and submitted a PR for it #9572


Suggestion

I know this isn't a suggestion about a booru but I was wondering if you could add a Pixiv downloader to grabber. I'm sure a lot of people would get usage out of it. I'm sure you could pull it off in a magnificent way.

please describe in more details how this Pixiv downloader should looks like

Well, I was thinking you could add a new tab for it. You might be able to use this to build off.
https://github.com/Nandaka/PixivUtil2
IDK I'm sure Bionus could figure it out, He is pretty smart.

How is Pixiv different from any other source?
Why does it need a separate tab?

Well, Pixiv in most cases is the original source of content for all boorus, many of them even have direct pixiv link as source of their images. Moreover you can see on many boourus tags like "Pixiv_id#####" instead of artist tag, because, as I said they mostly uses content from Pixiv, which technically isn't booru site, but more like social network for artists(like deviantart in europe)
So it will be very cool to add searching on Pixiv, but adding new tab for it... hmm Isn't adding it to sources will not be enough(but It could not be possible because Pixiv is not a booru site and have(is he?) a different api) in that case separated tab for it will be necesery.
Anyway, Bionus, take a close look on Pixiv and tell us what you will decide.

Well, Pixiv like MasterPetrix said isn't a booru site. The tagging system also doesn't work the same way as in a normal Booru. It would make more sense to allow it to have its own tab.

As you can see, boorus are very pixiv related

Yeah I know that.
What I fail to grasp is why would Pixiv need a special tab instead of just using the usual one with the tag search? The only major difference I see is the way uploaded images are closely linked to their users.

If you can add it to source menu it will be more logical, but, at first, as I know pixiw shows HD images only to loggined users, and many other troubles can appear while integration, but if you can, do it in normal way, then special tab isn't needed, I guess

It only shows images to logged in users.

Overusage can lead to Pixiv blocking your IP for a few hours. Nice for bath download)

Overusage can lead to Pixiv blocking your IP for a few hours. Nice for batch download)

After using pixiv downloader I don't believe this is true, I have downloaded thousands of images non stop without any problem totaling 100gb


materials are linked using unsecure protocol

Whatever topic I click on from (secured) page https://galaxyproject.github.io/training-material/ will be accessed only with http including any links to subsequent content. This seems unfortunate given all the pages support https. We should promote only https links.
We should also redirect automatically if possible.

maybe it would be useful to have a "training-material" admigithub team

Looks like a 301 is being sent somehow, that's weird (and bad).

I turned on enforcing https. Apart from some mixed-content warnings (external http images) it seems to work as intended?
@willdurand What do you mean?

301 redirects are persistent. The problem is that now, most clients will remember to redirect HTTPS links on the homepage to their HTTP equivalent links.
Because you turned HTTPS on on GitHub, it gets redirected again. That's why it works, not exactly because links got fixed (I still believe it is the proper fix, although it is odd that relative links were not reusing the current protocol).
Anyway, a picture is worth a thousand words:

although it is odd that relative links were not reusing the current protocol

yep, that confused me as well


Request to change the description for Azure Machine Learning resources

[Enter feedback here]
The description of locking resource groups, including Azure Machine Learning, is as follows, and it is expressed as having benefits to doing locking.
description of Azure Machine Learning in the resource locking documentation

A cannot-delete lock on a resource group prevents Azure Machine Learning from autoscaling Azure Machine Learning compute clusters to remove unused nodes.

However, the Azure Machine Learning documentation does not recommend locking, as follows:
description of resource locking in the Azure Machine Learning documentation

Azure allows you to place locks on resources, so that they cannot be deleted or are read only. Do not apply resource locks to the resource group that contains your workspace. Applying a lock to the resource group that contains your workspace will prevent scaling operations for Azure ML compute clusters. For more information on locking resources, see Lock resources to prevent unexpected changes.

The description of the former may mislead customers into thinking that it is better to lock it, so we would like it to be modified to indicate that it is not recommended as described on the machine learning site.

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

ID: 4e7af209-7240-dd2a-7130-e7fb3143986a
Version Independent ID: a653b0d1-877d-09f7-17fa-11bf06c37cc9
Content: Protect your Azure resources with a lock - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/lock-resources.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@damochiz - thanks for this feedback. I have more text to clarify the effect of locks. The update should get published later today.
#please-close


[GHSA-xrqq-wqh4-5hg2] svg-sanitizer has Cross-site Scripting Bypass

Updates

Affected products
CVSS
CWEs
Description
Severity

Comments
The assigned CVE is a false-positive, the described cross-site scripting vulnerability of v0.15.4 of the package is invalid. Please reject the corresponding CVE in order to resolve current issues with Dependabot, packagist.org and the roave/security-advisories package (which all use GitHub advisories as their source of truth). Investigations are available at https://github.com/darylldoyle/svg-sanitizer/issues/88

Hi there @darylldoyle! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Thanks for opening this @ohader! As mentioned in the description, the vulnerability has been proved to be a false positive after further investigation by multiple parties.

Hey @darylldoyle would you mind updating your repo GHSA to indicate that the advisory was made in error? Once that's done I can go ahead and withdraw our global advisory and get the CVE revoked for you.

Thanks @darakian, I've updated the description for the GHSA to advise that it was a false positive and linked through to the issue that contains the findings. Please let me know if there's anything else you need me to do!

Many thanks @darylldoyle. Might take a bit to process on my end but I'll reply again here when things are withdrawn/rejected.

@darylldoyle Apologies for the delay, I had to figure out some file format questions. The global GHSA has been withdrawn (why this PR was closed) so all dependabot alerts should be halted and the CVE reject request is now sitting with mitre https://github.com/CVEProject/cvelist/pull/8836
Let me know if you see anything weird and/or if there's anything else we can do for you 😄


kube-prometheus/manifests: Upgrade api resource versions from apps/v1beta2 to apps/v1

Upgraded old deprecated Deployment/DaemonSet API resource versions.

All of these are generated, and I'm afraid the library we use for generation still uses the old APIs. We will need to talk to the maintainers to get that updated.

It's hard for new contributors who have never used jsonnet/ksonnet to follow contrib/kube-prometheus/contribution guidline. I'm not sure it it's because of an old APIs, but I am always getting errors for make generate-in-docker.

With make clean generate-in-docker or make generate-in-docker the tail I am getting:
HEAD is now at fa521f4e0... Merge pull request #10392 from mitake/cn-gateway
rm -rf manifests
./build.sh
+ set -o pipefail
+ rm -rf manifests
+ mkdir manifests
+ jsonnet -J vendor -m manifests example.jsonnet
+ xargs '-I{}' sh -c 'cat {} | gojsontoyaml > {}.yaml; rm -f {}' -- '{}'
make[1]: Leaving directory '/go/src/github.com/coreos/prometheus-operator/contrib/kube-prometheus'
hack/generate/build-non-rbac-prometheus-operator.sh
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
go install github.com/coreos/prometheus-operator/cmd/po-docgen
go: disabling cache (/.cache/go-build) due to initialization failure: mkdir /.cache: permission denied
/go/bin/po-docgen api pkg/apis/monitoring/v1/types.go > Documentation/api.md
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`

When I do it with sudo I am getting:
HEAD is now at fa521f4e0... Merge pull request #10392 from mitake/cn-gateway
rm -rf manifests
./build.sh
+ set -o pipefail
+ rm -rf manifests
+ mkdir manifests
+ jsonnet -J vendor -m manifests example.jsonnet
+ xargs '-I{}' sh -c 'cat {} | gojsontoyaml > {}.yaml; rm -f {}' -- '{}'
make[1]: Leaving directory '/go/src/github.com/coreos/prometheus-operator/contrib/kube-prometheus'
hack/generate/build-non-rbac-prometheus-operator.sh
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
go install github.com/coreos/prometheus-operator/cmd/po-docgen
/go/bin/po-docgen api pkg/apis/monitoring/v1/types.go > Documentation/api.md
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
/go/bin/po-docgen compatibility > Documentation/compatibility.md
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`
/go/bin/embedmd -w `find Documentation -name "*.md" | grep -v vendor`

Nothing gets generated. When I do these commands inside /contrib/kube-prometheus I am getting: make: Nothing to be done for 'generate'.
I need to go through generete-in-docker script and jsonnet documentation (which I don't find very friendly) to understand better what are the steps how you are building manifests in this repository. 😕

Do the changes you did get reverted by running those commands? That's what should be happening. Updating these version is a larger task, as the jsonnet library we use first has to be updated.

No. Nothing gets reverted. I think I should close the PR.
Maybe I will do some contribution after I have some basic understanding of jsonnet.

We will need to talk to the maintainers to get that updated.

I've also been wondering how to tackle this. With ksonnet being retired (or at least handed off), any thoughts about how the project should proceed?

the ksonnet library is generated from openapi, so it shouldn't be a big deal at all to update this

kube-prometheus just moved to https://github.com/coreos/kube-prometheus.
See contrib/kube-prometheus/README.md for details.
Thank you for your contribution and sorry for the inconvenience!


ElizabethSeatonDrive

This is an example issue.
Need to Create a Differential Drive linked which works in simulation and hypothetically real life.

[ ]  Real Differential Drive

[ ] Simulation Differential Drive

About issues:
Issues are created to track what needs to be coded for the robot and the progress on each task. Issues can be large tasks such as creating an entire mechanism or subsystem in code, to small tasks such as updating comments. Every issue links to a corresponding branch.
There are 3 types of issues: feature, bugfix, and chore.
Feature - something new to the robot (ie adding a new mechanism or creating a new autonomous mode)
Bugfix - Fixing an problem on the robot (ie updating PID values, fixing dimension errors, etc)
Chore - Code Cleanup (Adding comments, removing commented out code sections, etc)
Issues also include labels to organize the type and urgency of the issue

Creating a branch: All branches should be created off of Dev. They should have a name for the [issuetype]#[issueNumber]-issueName
My example for this project is feat#1-ElizabethSeatonDrive


Create a new online reporting form for web that will connect to InvasivesBC

[ ] Reporting form will have the same fields and replace the one currently here: https://forms.gov.bc.ca/industry/report-an-invasive-species/
[ ] reports submitted via the form will dump into the same "bucket" as REPORT INVASIVE app reports for a specialist to review and decide whether or not they should be submitted to InvasivesBC.
[ ] reports that are submitted will be tagged with a "community science - online report" indicator.

Parking as something we can't ship during interregnum, and I'm off after today.  I'd still be interested in doing this one as a pro-bono / task of interest later in new role.


Update for Facter.add syntax change

(Hi from Nike!)
Looks like "timeout" is no longer a supported argument, and it's giving us warnings. Can we take it out?

It would be better to move the timeout to the exec, rather than just take it out all together:
https://docs.puppet.com/facter/3.4/custom_facts.html#execution-timeouts

Good idea, I've updated the commit, and switched to Facter::Core::Execution.execute as well.

Looks good.  Thanks!


WIP: Overflow and bound checks

This is a series of patches to add various overflow and bound checks on data that comes in to MCUboot, particularly from the image headers and TLVs.
Putting up for review, although there are more of these to write.

This looks good!


Add Comments about BrowserSync ghostMode Disabling [ci skip]

add some comments on how to disable ghostMode in BrowserSync.
Related to https://github.com/jhipster/generator-jhipster/issues/11116

Please make sure the below checklist is followed for Pull Requests.

[ ] All continuous integration tests are green

[x] Tests are added where necessary

[x] Documentation is added/updated where necessary

[x] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

thanks @SudharakaP

You are welcome :smile:
On Fri, Feb 21, 2020, 2:35 AM Pascal Grimaud<EMAIL_ADDRESS>wrote:

thanks @SudharakaP https://github.com/SudharakaP
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/jhipster-vuejs/pull/563?email_source=notifications&email_token=AC64D7NT7OQBS5VH6AAKOC3RD6U6LA5CNFSM4KY7DP72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMSIS2I#issuecomment-589597033,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC64D7O7SFP3HMMATRDGBN3RD6U6LANCNFSM4KY7DP7Q
.


Low accuracy for BlazeFace keypoints

If I pass upside-down faces to the BlazeFace model the bounding box works well but the keypoints are usually very incorrect.
I'm using keypoints to fix orientation before passing to FaceMesh. I expect some error in the BlazeFace keypoints, but I rely on the eyes to nose orientation to correct the rotation but this fails. I've attached (part of) a sample image - the blue points are the eyes, yellow is the nose and green is the mouth.
If there is an alternate approach to fixing orientation I'd be happy to try that.

When re-implement, I also found BlazeFace is not good at upside-down image.
If you impelement BlazeFace on the mobile phone, you can fix this by below method:
1: Check the phone's orientation by mobile phone's gravity sensor.
2: rotate the image by phone's orientation.
3: Run BlazeFace.
4: Convert the coordiante back.

Thanks @amazingyyc - yes, phone sensors can be helpful but I don't have access to them in all environments.
I was thinking of implementing something based on facial geometry compared to the bounding box - if eye separation is less than X% of bounding box size it is probably wrong. But there are some face angles where I'm not sure this will work.

@amazingyyc is correct that model wise it is difficult to handle upside-down case since we don't explicitly train the model with such data. But it should work fine with at most 45 degrees rotation which are supported in the training with augmentation.


Binary Replication

One other suggestion here: if it doesn't cause issues, I think it would be better to move the ReplicationProcessor into the replication package


Passing string array signature to operations via the java client

Hi there, is there any way to escape the type name if it contains a ; character.
I'm trying to pass a [Ljava.lang.String; signature for the operation.
execRequest = new J4pExecRequest("com.sun.management:type=DiagnosticCommand",
    "gcClassHistogram([Ljava.lang.String;)",
    new ArrayList<Object>());
J4pExecResponse execResponse = j4pClient.execute(execReq);

{"error":"java.lang.IllegalArgumentException : No operation gcClassHistogram([Ljava.lang.String found on MBean com.sun.management:type=DiagnosticCommand"}

It works fine without signatures and with eg: long[] but their serialized classname don't have a ; character.

Actually, this seems to be an issue of the Java client, which does not URL encode a ; when using a GET request (so, the URL ends prematurely at the semicolon). It should be encoded with %3B for a GET request.
Could you try with a POST request, too? Alternatively, you could try to replace the ';' with a %3B when creating the exec request.
Actually, URL escaping should be added here, too --> https://github.com/rhuss/jolokia/blob/cc8104062231e246254ad8063217c06cfc28641a/client/java/src/main/java/org/jolokia/client/request/J4pRequestHandler.java#L191
Fancy for sending  a PR ?

The POST version works fine out of the box, thanks for helping out.
I'm sorry for the reported problem, i'm using jolokia via an embedded tomcat and it fails with the ;.
I played with the default webserver and it looks like there is a tiny issue using GET with the java client.
https://github.com/rhuss/jolokia/blob/cc8104062231e246254ad8063217c06cfc28641a/client/java/src/main/java/org/jolokia/client/request/J4pRequest.java#L264
It returns "" string if its an empty list and then the url will end up with a slash and you will get the "0 parameter instead of 1" from jolokia.
eg:

http://localhost:8778/jolokia/exec/com.sun.management:type=DiagnosticCommand/gcClassHistogram([Ljava.lang.String%3B)/

Returning with the magic "[null]" or "/" string works fine. Probably the [null] thing looks better since its not a "" and the url doesnt end up with double slashes.
    private String getArrayForArgument(Object[] pArg) {
        if (pArg.length < 1) {
            return "[null]"; // or you can return / then the url ends up with double slashes
        }

        StringBuilder inner = new StringBuilder();
        for (int i = 0; i< pArg.length; i++) {
            inner.append(nullEscape(pArg[i]));
            if (i < pArg.length - 1) {
                inner.append(",");
            }
        }
        return inner.toString();
    }

So you will end up with this url and it works fine:

http://localhost:8778/jolokia/exec/com.sun.management:type=DiagnosticCommand/gcClassHistogram([Ljava.lang.String%3B)/[null]

Hmm, not the problem is, how we can distinguish between an empty array and a null array (which are clearly different. The problem with double slashes (which would be used in this case) is, that e.g. Tomcat slurps them in and normalizes them to a single slash. Maybe we need another magic [empty] but on the other hand, I really don't like to introduce these magic strings as they can obviously collide with real arguments.
Any suggestions ?

From my student perspective i don't really understand why the java-client ever using GET requests :)
On the agent side its trivial and really handy.

Java client can be configured to use POST or GET method without problems.
And GET requests are limited because of HTTP/URL restrictions. It's always recommended for complex requests to use POST method.


feat: Images to display xaml styles

GitHub Issue: #49
PR Type
What kind of change does this PR introduce?

Feature

Description
use pngs to display the xaml code and style for material components
PR Checklist
Please check if your PR fulfills the following requirements:

Commits must be following the Conventional Commits specification
[x] Tested UWP
[x] Tested iOS
[x] Tested Android
[ ] Tested WASM (my wasm env isn't compiling)
[x] Contains No breaking changes

If the pull request contains breaking changes, commit message must contain a detailed description of the action to take for the consumer of this library. As explained by the Conventional Commits specification

Other information

Internal Issue (If applicable):

And if the code change, we will need to do new images everytime @NicolasChampagne ?

And if the code change, we will need to do new images everytime @NicolasChampagne ?

Yes, however previously it was just textblocks that displayed the code, but it wasn't necessarily asthetic. It would of also taken over an hour to write up the navigationview one. Therefore I used images for the navigationview. To keep consistency I add them for the rest as well.
But the downside is as you pointed out.

We can use this since it's already done and looking good but let's not spend too much time for other controls, we can reevaluate/brainstorm some ideas.


Added ImageCropper docs

Added ImageCropper docs for WindowsCommunityToolkit PR.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

OPS Build status updates of commit 931a592:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

OPS Build status updates of commit 7fa4406:
:clock10: Pending: waiting for processors (6 builds ahead of you)
:warning: OPS Build is busy, click here to report any potential performance downgrade issues, or you could view OPS Portal for trend of build queue length.

Note: A full build takes more time than an incremental build.  This is the expected behavior of the build system.

OPS Build status updates of commit 7fa4406:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

  This is the expected behavior of the build system.

OPS Build status updates of commit 834175a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

  This is the expected behavior of the build system.

OPS Build status updates of commit a525b82:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

  This is the expected behavior of the build system.

OPS Build status updates of commit c1367bb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

OPS Build status updates of commit 1874693:
:clock10: Preparing: average preparing time is 1 min(s) 21 sec(s)

OPS Build status updates of commit 1874693:
:clock10: Incremental building: average incremental building time is 1 min(s) 19 sec(s)

OPS Build status updates of commit 1874693:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

OPS Build status updates of commit 1874693:
:clock10: Preparing: average preparing time is 1 min(s) 21 sec(s)

OPS Build status updates of commit 1874693:
:clock10: Incremental building: average incremental building time is 1 min(s) 19 sec(s)

OPS Build status updates of commit 1874693:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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

OPS Build status updates of commit e03e047:
:clock10: Preparing: average preparing time is 1 min(s) 21 sec(s)

OPS Build status updates of commit e03e047:
:clock10: Incremental building: average incremental building time is 1 min(s) 18 sec(s)

OPS Build status updates of commit e03e047:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/ImageCropper.md
:white_check_mark:Succeeded
View

docs/resources/images/Controls/ImageCropper.gif
:white_check_mark:Succeeded
View

docs/toc.md
:white_check_mark:Succeeded
View

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


Editing a test file causes the code lenses to jump around

Identify cause and possible solution.
Do other extensions have the same issue?
This has been reported a number of times in the past, and users have hence requested for the ability to turn these code lenses off.

Maybe you can show the code lense after the colon of the test_function definition. That would prevent the jumping of lines up and down.

This is incredibly annoying! @rogererens's suggestions would look a bit inconsistent with the rest of the UI IMO. I would prefer a way to disable these code lenses until this problem is fixed.

I had this issue today: Jumpy code lense for pytest.
My project is a client folder with a vue app without a test suite. Then I added a server folder containing the basic set up for a fast api with a python enviroment managed by pyenv (via poetry). Python 3.8.1 and pytest. My workspace file was in the client sub folder.
There are two folders in the test tab of the side bar. The one for client was empty and the one for server had the one or two basic pytest tests to start off a project. The tests worked allright and everything was fine except the constant toggling on and off of the code lense.
I since then switched to two different workspaces one for client and one for server and the problem is gone.

Closing in favour of https://github.com/microsoft/vscode-python/issues/10898.


Remove build-time DOM dependencies from base tsconfigs

Removed DOM API dependencies from base tsconfigs
Added an explicit dependency on DOM APIs in property-properties, which uses console.

@tylerbutler are we still publishing build-common and leveraging it as a package anywhere? Or are we strictly consuming it via file path these days? Wondering what more we may need to do to validate this / what additionally we may need to do after merging.

@tylerbutler are we still publishing build-common and leveraging it as a package anywhere? Or are we strictly consuming it via file path these days? Wondering what more we may need to do to validate this / what additionally we may need to do after merging.

It's still a dep in server as far as I know. It's hard to use relative paths there because server builds in docker.

I'm updating the API report for api-markdown-documenter. Originally there were import statements that aliased Node as Node_2:
…
-import type { Node as Node_2 } from 'unist';
+import type { Node } from 'unist';

…
-export interface DocumentationNode<TData extends object = Data> extends Node_2<TData> {
+export interface DocumentationNode<TData extends object = Data> extends Node<TData> {

I believe this is because Node is a DOM type in the global scope when "DOM" is specified as a lib in the tsconfig, and there is yet another Node type coming from unist.

I'm abandoning this PR in favor of a simpler PR that changes the base tsconfigs without eliminating the dependency. After that goes in, it will be easier to eliminate usages from individual packages.