Labels on maps render very small

Street labels and other text on maps displayed using datasette-cluster-map render very small on Apple (Mac, at least) retina displays. This seems to be an issue with openstreetmap (and other) tiles. Opening the issue as a placeholder for more information on the fix.

Can you share a screenshot?

Oh I see what you mean!

That's new. I think the default https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png server may have changed how it returns tiles.

Example tile: https://c.tile.openstreetmap.org/4/7/7.png

But it's usually rendered at 128px wide for retina size:

This is weird, that tile on Internet Archive a few years ago looks the same: https://web.archive.org/web/20220217160159if_/https://c.tile.openstreetmap.org/4/7/7.png

So maybe it's always looked like this but I never noticed how small the text was?

I should be clear that I can't confirm it is only on retina displays. I tried changing my screen resolution and it didn't fix the problem. It's just that there is definitely discussion online about text labels being too small on retina displays on OSM (and other sources).
I'm pretty sure I've not had this problem before. (But I upgraded laptops recently, so I wanted to file an issue to confirm.)

My best guess is that OSM don't serve retina tiles at all, and. the default configuration for datasette-cluster-map displays regular tiles but at retina sizes.
The thing that surprises me is that I've never noticed this before. Has it been like this all along, or did something change recently?

I changed the title of the issue because I'm seeing the same problem on a Chromebook. I've used this plugin before and not been bothered by this problem. It's kind of maddening because it's not like we can roll back the tile server to confirm....

It can't be a change to Leaflet either, because that's vendored: /-/static-plugins/datasette-leaflet/leaflet-v1.7.1.js from https://github.com/simonw/datasette-leaflet/tree/main/datasette_leaflet/static

I'm really confused by this. Leaflet hasn't changed (it's vendored). datasette-cluster-map hasn't changed. According to the Internet Archive the tiles themselves haven't changed either.

This looks right to me: https://leafletjs.com/examples/quick-start/

compare to here

Spotted this in the code:
TILE_LAYER = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
TILE_LAYER_OPTIONS = {
    "maxZoom": 19,
    "detectRetina": True,
    "attribution": '© OpenStreetMap contributors',
}

Without that detectRetina flag I get this - uglier but no longer illegibly small:

Related: https://gis.stackexchange.com/questions/444988/label-size-in-osm-tiles
I'm confident OpenStreetMap have never offered a free retina tile server. So I can only guess that we've had tiny labels on retina displays on datasette-cluster-map for years!

So this seems to be the fix:
diff --git a/datasette_cluster_map/__init__.py b/datasette_cluster_map/__init__.py
index d91f1a3..fa6cc46 100644
--- a/datasette_cluster_map/__init__.py
+++ b/datasette_cluster_map/__init__.py
@@ -6,7 +6,6 @@ import json
 TILE_LAYER = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
 TILE_LAYER_OPTIONS = {
     "maxZoom": 19,
-    "detectRetina": True,
     "attribution": '© OpenStreetMap contributors',
 }

That's probably a reasonable fix. Definitely caused by either local config or leaflet. This example that uses openstreetmap tiles looks better for the same zoom level: https://deck.gl/examples/tile-layer

Fix is out in 0.18.2: https://pypi.org/project/datasette-cluster-map/0.18.2/

Thanks. FYI, the canonical tile URL is now tile.openstreetmap.org (drop the "a"). https://github.com/openstreetmap/operations/issues/737

I deployed the new plugin version to Datasette Cloud, here's an example map using the new non-retina configuration: https://simon.datasette.cloud/data/high_school_newspapers

The quality really doesn't suffer much if at all. Thanks for the quick fix.


new user not allocated site login

I have a site in which some pages, but not all pages, have the following in the page header
access:
  site.login: true

I create a new user, eg., candy, using grav-plugin-admin-addon-user-manager. BUT in candy.yaml there is no entry
access:
  site:
    login: 'true'

There are only entries for supervisor mode. This means that candy does not have site login access.
Consequently, the new user (candy) cannot login to the pages that require site login access
My suggestion is that a new user is automatically given site login access, because if someone wants to create a situation where a user does not have site login access, the administrator can use expert mode to delete the relevant lines in the .yaml.
Also the same for groups. There is no way for a group to be edited (without the expert mode) to allocate to members of the group site login access.
It took me a long time to work out why the login was being rejected. My assumption was that any registered user automatically was given site login access. This is not true.
I suspect that other people have made the same assumption (I've added comments to one issue accordingly).
It seems to me that this is on the level of a bug rather than an enhancement or extra feature because it concerns the lowermost security setting.

Hi Richard!
Actually this is not an issue with the plugin itself. The Admin plugin doesn't expose the site.login permission. That's why it doesn't show up in the list.
You can overcome this by adding it as a custom permission via this plugin.
Here is an example:

I will be honest. I think this causes user experience issues (like yours), so I release a hotfix which makes sure this specific permission is automatically added into the list.
Thank you!

It's released: v2.1.1

Hi David!
We met on perl6 topics, Bailador??
I keep thinking it would be nice to do a sort of Perl6 Grav :)
Richard
On Fri, 23 Mar 2018, 07:56 Dávid Szabó<EMAIL_ADDRESS>wrote:

It's released: v2.1.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/david-szabo97/grav-plugin-admin-addon-user-manager/issues/36#issuecomment-375484170,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWMnBbtksKiiioRR5NnqzgZthLkUA1jks5thCwYgaJpZM4Sy6A9
.

@finanalyst
Hi Richard!
I don't think we have ever met, well not on perl6 topics that's for sure :) I have never worked with Perl :)
Did v2.1.1 fixed your issue? If it did, please close the issue :)

Closed due to inactivity, reopen if neccessary

@finanalyst Moved the permission to the front.


pull request for e2e test at 11/06/2016 16:56:07

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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.


[BiliBili] Unable to download JSON metadata

Checklist

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

Verbose log

❯ yt-dlp -v https://www.bilibili.com/video/BV1LK4y1v7ke/
[debug] Command-line config: ['-v', 'https://www.bilibili.com/video/BV1LK4y1v7ke/']
[debug] Portable config "~\scoop\apps\yt-dlp\current\yt-dlp.conf": []
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.20152-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg N-108915-g5661c8715c-20221102 (setts), ffprobe N-108915-g5661c8715c-20221102
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] [BiliBili] Extracting URL: https://www.bilibili.com/video/BV1LK4y1v7ke/
[BiliBili] 1LK4y1v7ke: Grabbing original ID via API
ERROR: [BiliBili] Unable to download JSON metadata: <urlopen error [Errno 11004] getaddrinfo failed> (caused by URLError(gaierror(11004, 'getaddrinfo failed')))
  File "yt_dlp\extractor\common.py", line 672, in extract
  File "yt_dlp\extractor\bilibili.py", line 161, in _real_extract
  File "yt_dlp\extractor\bilibili.py", line 406, in _get_video_id_set
  File "yt_dlp\extractor\common.py", line 1032, in download_content
  File "yt_dlp\extractor\common.py", line 996, in download_handle
  File "yt_dlp\extractor\common.py", line 866, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 823, in _request_webpage

  File "urllib\request.py", line 1354, in do_open
  File "http\client.py", line 1252, in request
  File "http\client.py", line 1298, in _send_request
  File "http\client.py", line 1247, in endheaders
  File "http\client.py", line 1007, in _send_output
  File "http\client.py", line 947, in send
  File "http\client.py", line 918, in connect
  File "socket.py", line 787, in create_connection
  File "socket.py", line 918, in getaddrinfo
socket.gaierror: [Errno 11004] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 805, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3682, in urlopen
  File "urllib\request.py", line 525, in open
  File "urllib\request.py", line 542, in _open
  File "urllib\request.py", line 502, in _call_chain
  File "yt_dlp\utils.py", line 1334, in http_open
  File "urllib\request.py", line 1357, in do_open
urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed>

Description

I don't know anymore than the debug logs, I'm on version: 2022.10.04

wrong repo lmao


Fix guessDir function

Updated guessDir function to find the profile.
Previous method tried to read the ini file which could change with each release. The new method is just to look for the 'logins.json' file and if it exists that's the correct profile.
Resolves : https://github.com/louisabraham/ffpass/issues/54

Nice! It looks like the commit from #55 is included. I'll probably wait until we bring back support for older firefox versions in #55 before merging this one.

Nice! It looks like the commit from #55 is included. I'll probably wait until we bring back support for older firefox versions in #55 before merging this one.

Whoops, it wasn't meant to be included. I've rebased the "profile" branch without the encryption update.

Whoops, it wasn't meant to be included. I've rebased the "profile" branch without the encryption update.

Very clean code, thanks!!!

Very clean code, thanks!!!


Add external listeners to obtain split information

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
As what https://github.com/ververica/flink-cdc-connectors/pull/2453 described, we may need to add a mechanism to notify users about current split status.
Debezium support notifications in 2.3, it's a helpful reference.
Solution

Add event and listener definition.
Notify listeners about the events in SourceEnumerator.

Alternatives
Use Flink metric to check whether incremental reading is started
Anything else?
Still some question to be defined:

What events should be contained?
Should we add some extra information about the slit of tables?

Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Closing this issue as it has been migrated to Apache Jira.


Added Exception logging events to the interface

Hey,
I've added the Exception logging methods to the interface and adapter e.g. DebugException and InfoException. We use these extensively where I currently work, but we previously weren't using DI for logging.
Hope this helps
Ryan Bartsch.

Thanks for the PR. I have pushed it to NuGet too.
https://www.nuget.org/packages/NLog.Interface/3.2.1


On Mac: "THCLNN.lua:11: bad argument #1 to 'load'"

see https://github.com/hughperkins/clnn/issues/22#issuecomment-168491731 :
Per @salicylic :
After updating to most recent clnn version, build goes through, but now require 'clnn' fails:
th> require 'clnn'
libthclnn_searchpath    nil
...ta/Users/jan/torch/install/share/lua/5.1/clnn/THCLNN.lua:11: bad argument #1 to 'load' (string expected, got nil)
stack traceback:
    [C]: in function 'load'
    ...ta/Users/jan/torch/install/share/lua/5.1/clnn/THCLNN.lua:11: in main chunk
    [C]: in function 'require'
    ...Data/Users/jan/torch/install/share/lua/5.1/clnn/init.lua:5: in main chunk
    [C]: in function 'require'
    stdin:1: in main chunk
    [C]: at 0x010486aba0

@salicylic , just to confirm ,this is for Mac, right?

Yes, Mac OS 10.11.2.

k, thanks!

Changed THCLNN to a .so in https://github.com/hughperkins/clnn/commit/3026b4e233835c7848e3b7edde758e4cc5eff683 but now get error about libpaths cant be found, https://travis-ci.org/hughperkins/clnn/builds/99961544#L2443-L2452 :
$ luajit -e 'require "clnn"'
luajit: /Users/travis/torch/install/share/lua/5.1/paths/init.lua:1: module 'libpaths' not found:
	no field package.preload['libpaths']
	no file './libpaths.lua'
	no file '/Users/travis/torch/install/share/luajit-2.1.0-beta1/libpaths.lua'
	no file '/usr/local/share/lua/5.1/libpaths.lua'
	no file '/usr/local/share/lua/5.1/libpaths/init.lua'
	no file '/Users/travis/torch/install/share/lua/5.1/libpaths.lua'
	no file '/Users/travis/torch/install/share/lua/5.1/libpaths/init.lua'
	no file '/Users/travis/torch/install/lib/libpaths.dylib'
	no file '/Users/travis/torch/install/lib/libpaths.dylib'

But the odd thing is that libpaths.so exists, https://travis-ci.org/hughperkins/clnn/builds/99961544#L2429-L2433 :
$ ls ~/torch/install/lib/lua/5.1
cjson.so	lfs.so		libclnn.so	libpaths.so	libtorch.so
ffi		libTHCLNN.so	libcltorch.so	libsundown.so
ffi.so		libTHNN.so	libnn.so	libsys.so

... so that is a mystery.  I seem to remember seeing this problem before though.  I think its something to do with flat namespace, or having to load using dyload( ... , GLOBAL_TLD), but I remember it's not very easy to solve...

apparently can reproduce in cltorch, dont even need clnn to reproduce https://travis-ci.org/hughperkins/cltorch/builds/99968449#L2514 :
$ luajit -e 'require "cltorch"'
luajit: /Users/travis/torch/install/share/lua/5.1/paths/init.lua:1: module 'libpaths' not found:
	no field package.preload['libpaths']
	no file './libpaths.lua'
	no file '/Users/travis/torch/install/share/luajit-2.1.0-beta1/libpaths.lua'
	no file '/usr/local/share/lua/5.1/libpaths.lua'
	no file '/usr/local/share/lua/5.1/libpaths/init.lua'
	no file '/Users/travis/torch/install/share/lua/5.1/libpaths.lua'
	no file '/Users/travis/torch/install/share/lua/5.1/libpaths/init.lua'
	no file '/Users/travis/torch/install/lib/libpaths.dylib'

I think it's all working ok now actually :-)  https://travis-ci.org/hughperkins/clnn/

basically it was fixed earlier, by changing the library type of THCLNN from SHARED to MODULE
and the travis build was broken in the meantime, because I removed exe/env from the travis build, to try to save build time, but breaking the ~/torch/install/bin/torch-activate script in the meantime, so libpaths.so didnt load correctly

Works for me now also (Mac OS 10.11.2). Thanks for the quick attention!

Cool! :-)


Add TIME parameter support to GetCoverage request

When querying layers that have temporal component, for instance GeoTrellis spatiotemporal layer or a STAC catalog it should be possible to specify the time range for the query.

The parameter is described further in OGC specification document for WCS 1.0.0 (Section 10.2): https://portal.opengeospatial.org/files/05-076
This issue covers parsing the query, routing it to the catalog model and return an actual raster response.
It is possible that TIME parameter will be specified as a time range or a sequence of dates. Because we expect to be querying data-cube of rasters that already exist the expected result is a coverage that falls on or with-in times described. This parameter is specific to version 1.0.0 of WCS protocol
This is not officially part of the specification but seems to be a reasonable interpretation for our case.

We don't support WCS 1.0 anymore.


Fixed initialization-time inference for class properties assigned through element access

fixes https://github.com/microsoft/TypeScript/issues/49339
cc @harrysolovay

@weswigham friendly 🏓


Add caveats for unexpanded globs

Another alternative is to add a test [ -f "$file" ] &&.

I think so, although -e would be more appropriate?

Yeah, was just an example. :+1:

Actually -e doesn't work if $file is a broken symlink. [[ -e "$file" || -L "$file" ]] && should be correct.

LGTM :+1:


kak-lsp causes coredump on certain files

I noticed that when I open some files in kakoune with kak-lsp enabled, kakoune instantly crashes with core dump.
I managed to reduce repro steps to the following:

Download this file
Run kak -n crashfile
Execute :evaluate-commands %sh{kak-lsp --kakoune -s $kak_session} in kakoune

❯ kak -version
Kakoune v2018.10.27-85-gb897a18a

❯ kak-lsp --version
kak-lsp 5.10.0

❯ kak -n ~/Downloads/crashfile.txt
Received SIGSEGV, exiting.
Pid: 13631
Callstack:
kak(_ZN7Kakoune9BacktraceC1Ev+0x19) [0x55c311ac2919]
kak(_ZN7Kakoune14signal_handlerEi+0x17b) [0x55c311b9a47b]
/usr/lib/libc.so.6(+0x37e00) [0x7f0f56cb6e00]
kak(_ZN7Kakoune13RegexIteratorIPKcLNS_14MatchDirectionE0EE4nextEv+0x170) [0x55c311b5b300]
kak(_ZN7Kakoune12ShellManager4evalENS_10StringViewERKNS_7ContextES1_NS0_5FlagsERKNS_12ShellContextE+0x233) [0x55c311c3eee3]
kak(_ZN7Kakoune14CommandManager7executeENS_10StringViewERNS_7ContextERKNS_12ShellContextE+0x524) [0x55c311ae38b4]
kak(+0xb8339) [0x55c311af2339]
kak(_ZN7Kakoune14CommandManager22execute_single_commandENS_9ArrayViewIKNS_6StringEEERNS_7ContextERKNS_12ShellContextENS_11BufferCoordE+0x226) [0x55c311ae31b6]
kak(_ZN7Kakoune14CommandManager7executeENS_10StringViewERNS_7ContextERKNS_12ShellContextE+0xb6a) [0x55c311ae3efa]
kak(+0xb8858) [0x55c311af2858]
kak(_ZN7Kakoune14CommandManager22execute_single_commandENS_9ArrayViewIKNS_6StringEEERNS_7ContextERKNS_12ShellContextENS_11BufferCoordE+0x226) [0x55c311ae31b6]
kak(_ZN7Kakoune14CommandManager7executeENS_10StringViewERNS_7ContextERKNS_12ShellContextE+0xada) [0x55c311ae3e6a]
kak(+0xb8858) [0x55c311af2858]
kak(_ZN7Kakoune14CommandManager22execute_single_commandENS_9ArrayViewIKNS_6StringEEERNS_7ContextERKNS_12ShellContextENS_11BufferCoordE+0x226) [0x55c311ae31b6]
kak(_ZN7Kakoune14CommandManager7executeENS_10StringViewERNS_7ContextERKNS_12ShellContextE+0xada) [0x55c311ae3e6a]
kak(_ZN7Kakoune11HookManager8run_hookENS_4HookENS_10StringViewERNS_7ContextE+0x10b4) [0x55c311b60fc4]
sh: 1: xmessage: not found
[1]    13631 abort (core dumped)  kak -n ~/Downloads/crashfile.txt

Let me know if I can provide some additional info to help solving this bug.

Thanks for reporting! I will investigate it this week.

I'm not sure what #130 is about, do you know if there's any way to retrieve more information about the crash?

@mawww would you mind helping with it? How can we get more info when Kakoune crashes? E.g. exact line of script which caused a crash.

I suspect that was due to vfork along with exit and signal handling. @maximbaz  is that crash still present on latest git ?


Disable routing functionality or clarify it is OSM-based

The OHM website includes OSM default routing capability, like this:
https://www.openhistoricalmap.org/directions?engine=fossgis_osrm_car&route=44.6580%2C-72.4980%3B37.2730%2C-119.9920#map=4/41.21/-96.94&layers=O&date=1791-03-04&daterange=1791-03-04,2023-12-31
While it would be amazing to someday enable historically aware routing, for now we're going to disable that feature.
Says @geohacker:

i think if we take out the routing API in the settings.yml it should go away

We'll try that locally but then also see if we need to change anything on the website frontend -- it would be great if all links to routing disappear based on YML change, but I'll be surprised if it is that easy.

As I suspected, disabling the routing endpoints in YML does nothing to the website, which still offers routing as an potion:

So I think we'd have to take more significant measures to

remove the options from the context menu
disable the Rails directions template
maybe other things

Is the concern that there's a feature on the site that's not working properly, or are people complaining?
I'm not too worried about this - I'd hate to see us spend too much time taking something off of the site that we might be readding / fixing later.

NatFoot noted this in OSM US Slack here: https://osmus.slack.com/archives/C2J8FAS9M/p1673935989110419
Not exactly a complaint, but it does seem odd:

Heads up that the router on the main page is still using OSM data to route on and not OHM data. (edited)

Could be one easy fix would simply be to check the localization settings so these say "Directions to/from here (based on OSM)"
https://github.com/OpenHistoricalMap/ohm-website/blob/staging/config/locales/en.yml#L2906-L2907

Aha - so is it fair to say that the issue is "OHM routing uses OSM data to plan routes"? (or something like that?)

Yes, though that's a lot of words to put into a context menu.
We could add to this stirng:
https://github.com/OpenHistoricalMap/ohm-website/blob/staging/config/locales/en.yml#L2885

Directions courtesy of FOSSGIS Routing Service, based on OpenStreetMap data.

adding the bold part

This came up again on OSM US Slack:
https://osmus.slack.com/archives/C2J8FAS9M/p1674555625387399
Tim reported we are working on disabling it. Richard Welty's reply:

please do. in its current form it doesn’t serve any real purpose other than sowing confusion.

From a pure code/maintenance perspective, it would be lower overhead to just change locale labels to include a disclaimer than to go through and disable the feature, since that will involve more code variance from upstream. though overall I'd prefer to disable it until and unless we have routing over OHM data.


Set bf16 flags correctly for a10/a100

Follow-up to https://github.com/databrickslabs/dolly/commit/a33d774e857e1e19fcf74cf0357dc27c78a4cd06
We need to make sure --bf16 is set according to the GPU type, as leaving it out will now otherwise default to fp32.
(I added corresponding deepspeed config, though arguably redundant, as a double-check)
CC @tnixon

I'm going to go ahead and merge as I think this is important to fix


Remove Pangeo-Forge recipes notebook

Also updates DataTree to use xarray rather than archived library
Closes #68, #66
Supercedes #67

Looks great @maxrjones! I think there is a unopened issue with ndpyramid and the xarray/xarary-datatree integration.


Bugfixes

Fix bugs on Balance, Status request
Other bug fixes

@misthioseagle Thank you. If you still have time add some documentation and tests on lnmoQery and the balance API.
https://github.com/gathuku/laravel_mpesa/blob/master/USAGE.md


Add value pattern to DatasetFieldEntity

Coverage decreased (-0.02%) to 26.687% when pulling 57577e546886c81458645811b8220f023abf5e48 on alyiwang:master into e23f2744cfd93de84bd5492708836fc503d05b9e on linkedin:master.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1126   +/-   ##
=======================================
  Coverage   32.25%   32.25%
=======================================
  Files         192      192
  Lines        4827     4827
  Branches     1324     1324
=======================================
  Hits         1557     1557
  Misses       3270     3270

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 e23f274...57577e5. Read the comment docs.


DB schema

Thinking about a DB schema:
Table: lib
Each library we render has a row in this table
Columns

name - npm name
last-checked npm API was last queried at this time to check for new versions

Table render_queue
When a new npm version of a lib is identified, it's added to this queue.
We can also manually add items to the queue to force a re-render.
Columns

lib
version
state: pending, in-progress
started: if it was started too long ago, assume the worker died?

Table: lib_render
Each row describes a single render of a single lib@version
Columns:

lib_name
lib_version
renderer_version - if we update the renderer, we'll know that docs have been rendered using an older version and need to be eventually re-rendered
datetime
result - success, failure.  If rendering fails, it may be nice to show all failures in a list, or to prioritize re-rendering them after we bugfix the reasons they failed.

EDIT: I added result to the lib_render table so that failed renders are tracked and a human can more easily investigate.

A (GH Actions) build ID might be good for the lib_render table.
I was also thinking about schema in general terms. Since we have a single db file and fully control it, we can make any DDL changes in a pretty straightforward way I think.  Could get weird though, don't want to touch the schema while a run is happening, and if code depends on it things could get weird too.
Possibly the simplest thing to do is keep an idempotent DDL script in code and run that at the start of every run.
And if we wanna test branches somehow we can just not persist/push the db when done.
One concern might be potential unbounded growth of the db over time. Don't know if this is a real concern.
I found this: https://www.npmjs.com/package/better-queue which has a sqlite backend but looks mostly dead. Something like that out of the box might be helpful.  Sorta thinking that avoiding persisting the queue might be fine to start.

Possibly the simplest thing to do is keep an idempotent DDL script in code and run that at the start of every run.
I like this idea.

And if we wanna test branches somehow we can just not persist/push the db when done.
Good point.  I didn't think about this when writing db.ts  Right now the db is stored in refs/heads/db  We could refactor it to store the db in refs/heads/db/<branch you are working on> e.g. refs/heads/db/main and refs/heads/db/my-topic-branch

One concern might be potential unbounded growth of the db over time. Don't know if this is a real concern.
render_queue seems like the only table which could grow unbounded unless we cleanup old rows periodically.

I think all the pieces we need are pretty much already there in db.ts.  Just need to factor out some things and make multiple entry points or allow CLI args in the worker (meh) or whatever. I'll play with this some when I get a chance.
I'm generally in favor of making entry points really thin in cases where everything doesn't basically fit in a single module.

Would it be ok if I stub out some sort of a shim adapter to the DB, and then update work.ts to use this shim?
I'm thinking maybe the shim will have one or two methods to start, but it'll let me update work.ts to do the work requested by the DB.
Could be something like:
dbShim = {
  getPendingRenders() {
    return {lib: 'lodash', version: '0.0.1'
  },
  addToQueue(libVersionPair) {/* no op */},
  isRendered(libVersionPair) {return false}
}

It'd let me start refactoring work.ts, and then when the DB is ready, we can update the shim to talk to the DB properly.

yeah I started working on it over the weekend and then got distracted :(  I was thinking something like that.
I kinda waffled on the sql.js vs. actual file access, but if all the db access happens in one process I don't think we need the native library.
I sometimes get hung up in minutiae and overthinking in early stages of projects. I'll try to find time tonight to crank something out, even if it is garbage.

Ok, no rush, I've got plenty of other stuff to keep me busy.
On Wed, Jul 21, 2021, 2:05 PM Keith Layne @.***> wrote:

yeah I started working on it over the weekend and then got distracted :( I
was thinking something like that.
I kinda waffled on the sql.js vs. actual file access, but if all the db
access happens in one process I don't think we need the native library.
I sometimes get hung up in minutiae and overthinking in early stages of
projects. I'll try to find time tonight to crank something out, even if it
is garbage.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TypeStrong/typedoc-auto-docs/issues/13#issuecomment-884385088,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC35ODFWQN7WXCZRLFVQSLTY4D6TANCNFSM5AMKDP2Q
.


[id] Fix links to PodOverhead Feature Design

/retitle [id] Fix links to PodOverhead Feature Design

/lgtm


Release 3.0.0-RC3

Current coverage is 84.30% (diff: 100%)

Merging #16 into master will not change coverage

@@             master        #16   diff @@
==========================================
  Files            21         21
  Lines           274        274
  Methods         266        266
  Messages          0          0
  Branches          8          8
==========================================
  Hits            231        231
  Misses           43         43
  Partials          0          0

Powered by Codecov. Last update 2ff1fe3...59d4a4b


MWPW-140270: Adding the fg sync workflow

Adds workflow action for FG sync

Resolves: MWPW-140270

Test URLs:

Before: https://main--bacom--adobecom.hlx.live/?martech=off
After: https://add-bac om-pink-action--bacom--adobecom.hlx.live/?martech=off

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (10f6100) 97.19% compared to head (851c948) 97.19%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #163   +/-   ##
=======================================
  Coverage   97.19%   97.19%
=======================================
  Files           8        8
  Lines         712      712
=======================================
  Hits          692      692
  Misses         20       20

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

So the idea is to have a new repo with a separate mount point?

So the idea is to have a new repo with a separate mount point?

Correct. Once the Akamai cookie is set up, you can point to the same production URL but it will point to bacom-pink instead of bacom, and will point to files mounted in the bacom-pink content repository. This allows for new and even limited time content to be accessed, and then stakeholders can decide which portions of this content get "promoted" to bacom to enter the bacom content repository.
See:

https://wiki.corp.adobe.com/display/WP4/Floodgate+Git+Repo+Setup
https://wiki.corp.adobe.com/display/WP4/Milo+Floodgate+Architecture


:bug: Causes TypeError when export date type.

Expected Behavior
Export dump file with no errors.
Current Behavior
docker-tester-1    | src/sqlalchemy_loadump/exporter/json_exporter.py:30: in export_to_file
docker-tester-1    |     dump_data_json = json.dumps(
docker-tester-1    | /usr/local/lib/python3.8/json/__init__.py:234: in dumps
docker-tester-1    |     return cls(
docker-tester-1    | /usr/local/lib/python3.8/json/encoder.py:201: in encode
docker-tester-1    |     chunks = list(chunks)
docker-tester-1    | /usr/local/lib/python3.8/json/encoder.py:431: in _iterencode
docker-tester-1    |     yield from _iterencode_dict(o, _current_indent_level)
docker-tester-1    | /usr/local/lib/python3.8/json/encoder.py:405: in _iterencode_dict
docker-tester-1    |     yield from chunks
docker-tester-1    | /usr/local/lib/python3.8/json/encoder.py:325: in _iterencode_list
docker-tester-1    |     yield from chunks
docker-tester-1    | /usr/local/lib/python3.8/json/encoder.py:405: in _iterencode_dict
docker-tester-1    |     yield from chunks
docker-tester-1    | /usr/local/lib/python3.8/json/encoder.py:438: in _iterencode
docker-tester-1    |     o = _default(o)
docker-tester-1    | src/sqlalchemy_loadump/exporter/json_exporter.py:21: in default
docker-tester-1    |     return json.JSONEncoder.default(self, obj)

docker-tester-1    | E       TypeError: Object of type date is not JSON serializable

Possible Solution
Add date/time/timedelta/uuid type encoder to json exporter.
Then we need to date/time/timedelta/uuid type decoder to json importer.
Steps to Reproduce
Run test.

Solved at #8


Image size limit

Either limit image size or automatically resize/downsample images to smaller size when uploading.

which of those two would you recommend for this? What would be the size limit that would either trigger a compression or disallow an upload?

I think resampling is ideal but much more work. I'm not sure what a good size limit would be. It would depend on plot.ly's upload API size limit and the expected number of images and size of presentation without images.

alright, I'll confer with them, I see that some of the other issues filed here have been related to size limits with their API.


Shared ssh key to create machines

When used a shared ssh key to create a new infra, the ansible script will work till the point of root login is disabled.
Workaround would be to create a new user e.g: ethpandaops and add the shared ssh key as its pubkey, and add ethpandaops github user as a member whose keys will always be present on all our machines.

Added the shared key to authorized_keys ( See 4844 testnet repo ). That should be enough.


fix windows dll creation

fix windows conda environment activation

somebody help me with windows and dll path so that when running tests it can find the shogun.dll. basically this is the last blocker for this fix....

but that doesn't seem to be the issue? There are 3 tests that pass and at least 2 need the dll to run as they call the factory no?

if you think it an issue with pathing can you not add the dll path to the system PATH and see what happens?

@gf712 i've had reproduced the env on a local windows machine and whenever i try to call a unittest or example it cries about shogun.dll not being on path. then if i add #pragma comment(lib, 'shogun.dll' then it cries about not finding mkl_rt.dll. and yes i've added the path where shogun.dll resides and the path for mkl_rt.dll should be as well in (see conda env settings in the yaml file of the job). 🤷♂

blocked by https://github.com/gabime/spdlog/issues/973

closing in favour for the development ongoing in feature/modular-graph branch

ok so there's the fold here:

the relative data path is not working since msvc has an additional directory for placing the binaries (Debug, Release)
the unit tests are failing yet for an unknown reason: managed to isolate it that as soon as i add a test that uses DataGenerator the error appears....but couldnt find out why...

azure tests... something is up with the CI hooks

arghhh... didn't work ...

mmmm so seems once closed and in the meanwhile force-pushed, the pr cannot be reopened 🤷♂


Static manifest.json file is overridden with generated file

Describe the bug
A manifest file added to the static folder i.e. /static/manifest.json is overwritten with a generated SvelteKit file at runtime (happens with adapter-node & adapter-auto).
Reproduction
Add /static/manifest.json file:
{
  "name": "test"
}

Build / run app, request /manifest.json, response is like:
{
  ".svelte-kit/runtime/client/start.js": {
    "file": "_app/immutable/start-1e83f480.js",
    "src": ".svelte-kit/runtime/client/start.js",
    "isEntry": true,
    "imports": [
      "_index-e11c2291.js",
      "_index-b191a7c7.js",
      "_singletons-eca981c1.js"
    ],
    "dynamicImports": [
      "src/routes/__layout.svelte",
      ".svelte-kit/runtime/components/error.svelte",
      "src/routes/folder/[...path]/__layout.svelte",
      "src/routes/about/index.svelte",
      "src/routes/cart/index.svelte",
      "src/routes/folder/[...path]/index.svelte",
      "src/routes/index.svelte",
      "src/routes/photo/[id].svelte"
    ]
  },
  ...

Logs
No response
System Info
System:
    OS: macOS 12.5
    CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
    Memory: 51.80 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.0 - /usr/local/bin/node
    npm: 8.3.1 - /usr/local/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 104.0.5112.79
    Chrome Canary: 106.0.5216.0
    Edge: 103.0.1264.77
    Firefox: 102.0.1
    Safari: 15.6
    Safari Technology Preview: 16.0
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64
    @sveltejs/adapter-node: next => 1.0.0-next.85
    @sveltejs/kit: next => 1.0.0-next.401
    svelte: ^3.49.0 => 3.49.0
    vite: ^3.0.4 => 3.0.4

Severity
serious, but I can work around it
Additional Information
manifest.json is specifically mentioned as an example of using a static file:

assets — a place to put static files that should have stable URLs and undergo no processing, such as favicon.ico or manifest.json

manifest.json is a static file that Vite creates in the output directory and Vite copies the static assets to the output directory as well, so this seems like an issue that would need changes in Vite to address. Can you file an issue there? See https://github.com/sveltejs/kit#bug-reporting

It looks like it's a configurable option for Vite, but something SK manages and uses.
It sets it to be generated here, using it here
I don't know if it's used at runtime or just as part of the build process, but maybe a less-likely-to-conflict fixed name could be used instead of the default or a temporary name created, that doesn't exists in the static files?

SvelteKit needs it. We don't control the name. Vite hardcodes that. I think that the real issue isn't the name, but rather that it outputs it to the directory where the results go. It should probably go to a separate configurable directory.

The name can be set (it defaults to manifest.json if the option is set to true, but it can take a filename as well). So SvelteKit can control what file is used.
https://vitejs.dev/config/build-options.html#build-manifest
It looks like Vite has options to have the assetDir as some place other than outDir so perhaps it's a case of just altering the structure that SK uses?

This is a huge problem for us! Just found! 1.0.0-next.394.

This is a huge problem for us! Just found! 1.0.0-next.394.
Is there any workaround for now?

Is there any workaround for now?

You could simply name your manifest manifest.webmanifest.
That's the official file extension for webmanifests anyway.
https://developer.mozilla.org/de/docs/Web/Manifest

You could simply name your manifest manifest.webmanifest.

It works amazingly! Thanks!

Closing as duplicate of https://github.com/sveltejs/kit/issues/5791

@benmccann are you sure this is a duplicate of that?

You're correct. They're not. I just realized they're slightly different as well

I just noticed that this bug is affecting kit.svelte.dev


Simulator->Emulator and link change, nit typo

Suggesting renaming the "Simulator" square to "Emulator", and pointing it to the documentation for HL1 and HL2 emulators instead of a direct download link to the HL2 HoloLensEmulatorSetup.exe (so people can learn how to use it, it aligns better with the other "required software" links, and it gives the option to find the HL1 emulator if desired).
(also made a tiny grammar change to the main description, and fixed a typo)

/azp run mrtk_docs


macho: investigate ld crash using ld64.zld generated combined relocatable file

Extracted from #95

I have managed to narrow it down and create a minimal repro which allowed me to debug the issue with Apple's linker. Namely, it expects all relocations to be ordered in descending order (largest offset first).

I should add that both LLD and zld do not have any problem with input like this.


How to set --shm-size for Docker when running Metaflow in AWS Batch

Hello. Thanks for making Metaflow.
I recently ran into an issue that says
WARNING services.py:1567 -- WARNING: The object store is using /tmp instead of /dev/shm because /dev/shm has only 67108864 bytes available. This may slow down performance! You may be able to free up space by deleting files in /dev/shm or terminating any running plasma_store_server processes. If you are inside a Docker container, you may need to pass an argument with the flag '--shm-size' to 'docker run'.

I wonder how I can set --shm-size for the docker container Metaflow uses when running in AWS batch.
Is it possible to pass it to the @batch decorator?

Yes, indeed - you can set it using the shared_memory attribute in @batch

Yes, indeed - you can set it using the shared_memory attribute in @batch

Thank you! I looked at the batch_client code and I wonder what's the difference between the environment_variable and the @environment decorator? https://github.com/Netflix/metaflow/blob/a655de9ef62870a668d68a1f656bd7b9b92b7a71/metaflow/plugins/aws/batch/batch_client.py#L301
Is it possible to pass multiple environment variables to the environment_variable in the @batch decorator?

You can pass multiple environment variables to your task by using the @environment decorator - @environment(vars={'foo':'bar', 'alpha':'beta'})


Need root name of pipe chain for renderers

This code expands $projects so that you don't know the name in the renderer.
Especially for mustache is this problematic. The only way to circumvent atm is to use current.
=something: $projects |
  ```html
  hello
  ```

Not really a big problem, can just pass state.vars. Nofix for now.


Systematic shift in ASTER DEMs

ASP-created DEMs from ASTER imagery seems to exhibit a 13 meter downward shift as compared to SRTM DEMs, as reported by users at U of Grenoble. Apparently pre-existing ASTER DEMs also exhibit a downward shift compared to SRTM, but only of 3 m. Now, the resolution of ASTER imagery is 15 meter/pixel, so the actual DEM resolution is more like say 60 meters/pixel, so 10 meters does not look like much (note though that one is horizontal resolution but second one is vertical one), but this is still confusing. I would doubt the problem is in our code, the ASTER camera model is so simple that any errors in implementation may manifest themselves in other ways. Either way, to be looked into.

This is likely due to SRTM being relative to the geoid, and need to be converted to be relative to the ellipsoid. This is documented now. https://stereopipeline.readthedocs.io/en/latest/next_steps.html#choice-of-initial-guess-terrain-model


NoItParamInMultilineLambdaRule doesn't account for variables or functions that could be named "it"

NoItParamInMultilineLambdaRule simply checks that there're no identifiers named "it" inside a multiline lambda. That makes it impossible to use this rule with several testing frameworks, e.g. Kotlintest, because they require to use "it()" functions inside the specs:
class MySpec : DescribeSpec({
    describe("if this") {
        it("does that") { // NoItParamInMultilineLambdaRule doesn't allow "it"
        }
    })

You already have a "fixme" in the source code of the rule, so I'm wondering when is this going to be fixed?
class NoItParamInMultilineLambdaRule : Rule("no-it-in-multiline-lambda") {

    override fun visit(...) {
        // fixme: we are not accounting for "it" variable that can be defined in the same scope
        ...
    }
}

from which code-style is this rule? can't find this suggestion anywhere expect ktlint

from which code-style is this rule? can't find this one anywhere expect ktlint

https://github.com/shyiko/ktlint/blob/master/ktlint-ruleset-standard/src/main/kotlin/com/github/shyiko/ktlint/ruleset/standard/NoItParamInMultilineLambdaRule.kt

i mean what document is this rule based on? i asked because didn't find nothing similar nor in android code style guide nor in kotlin code style guide

just can't understand for whats reason i must specify explicitly name of "it" in multiline lambda case

@ofdrykkja https://github.com/yole/kotlin-style-guide/issues/10#issue-157736558

The // fixme: we are not accounting for "it" variable that can be defined in the same scope has been addressed in this PR #507 along with accounting it as a function call for frameworks such as Kotlintest
In StandardRuleSetProvider, NoItParamInMultilineLambdaRule is disabled for reason // disabled until it's clear what to do in case of 'import _.it' . Allowing function call would solve this issue. Is there anything else that is missing for this rule to be enabled ?

We can close this issue as the rule is no longer supported


Automatically closing app with crash log

Steps to reproduce
When I'm searching for manga or updating library
Expected behavior
App wont crash when doing this

Actual behavior
When opening or updating or searching a manga or manhua (anything) the app suddenly crashes

Crash logs
App version: 1.8.3 (standard, 30d6c5c5a, 131, 2024-06-05T00:41Z)
Android version: 14 (SDK 34)
Android build ID: MT2111_<IP_ADDRESS>0(EX01)
Device brand: OnePlus
Device manufacturer: OnePlus
Device name: OP5155L1
Device model: MT2111
Device product name: MT2111_IND
--------- beginning of main
06-05 08:28:41.981 12754 14711 E OpenGLRenderer: Unable to match the desired swap behavior.

Yōkai version
1.8.3
Android version
Android 14
Device
OnePlus 9RT
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.3.
[X] I have updated all installed extensions.
[X] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I have filled out all of the requested information in this form.

@Hatashiki this issue was automatically closed because:

You have not carefully read the acknowledgements.


Make CustomSection immutable, introduce hierarchy

The CustomSection class is mutable, including its name. Since this class is added to a Map based on its name, allowing the name property to be mutable can cause subtle bugs. Additionally, allowing section contents to be mutable after parsing can cause inconsistencies. Finally, formalize the custom section hierarchy somewhat to avoid redundant memory usage and to release the byte array when it is no longer needed.

It may seem nitpicky, but it's all leading up to something :)


App crash on Android, targetSdkVersion 33 when permissions are explicitly not accepted

Hi,
We have been testing with this package and have found that if our physical Android device is on OS 13, and if the build is targeting Android sdk 33, without accepting the bluetooth_scan and bluetooth_connect permissions, our app will crash with the following exception:
I/BluetoothAdapter(24732): STATE_ON
D/BluetoothLeScanner(24732): could not find callback wrapper
E/gralloc4(24732): Empty SMPTE 2094-40 data
3
I/BluetoothAdapter(24732): STATE_ON
E/gralloc4(24732): Empty SMPTE 2094-40 data
I/BluetoothAdapter(24732): STATE_ON
D/BluetoothLeScanner(24732): Start Scan with callback
E/AndroidRuntime(24732): FATAL EXCEPTION: Thread-9
E/AndroidRuntime(24732): Process: com.appname.uat, PID: 24732
E/AndroidRuntime(24732): java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource { uid = 10275, packageName = com.appname.uat, attributionTag = null, token = android.os.BinderProxy@fa5217c, next = null }: AdapterService getBondedDevices
E/AndroidRuntime(24732): 	at com.android.bluetooth.Utils.checkPermissionForDataDelivery(Utils.java:923)
E/AndroidRuntime(24732): 	at com.android.bluetooth.Utils.checkConnectPermissionForDataDelivery(Utils.java:955)
E/AndroidRuntime(24732): 	at com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder.getBondedDevices(AdapterService.java:2955)
E/AndroidRuntime(24732): 	at com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder.getBondedDevices(AdapterService.java:2947)
E/AndroidRuntime(24732): 	at android.bluetooth.IBluetooth$Stub.onTransact(IBluetooth.java:1060)
E/AndroidRuntime(24732): 	at android.os.Binder.execTransactInternal(Binder.java:1321)
E/AndroidRuntime(24732): 	at android.os.Binder.execTransact(Binder.java:1280)
E/AndroidRuntime(24732): FATAL EXCEPTION: Thread-11
E/AndroidRuntime(24732): Process: com.appname.uat, PID: 24732
E/AndroidRuntime(24732): java.lang.SecurityException: Need android.permission.BLUETOOTH_SCAN permission for AttributionSource { uid = 10275, packageName = com.appname.uat, attributionTag = null, token = android.os.BinderProxy@fa5217c, next = null }: GattService registerScanner
E/AndroidRuntime(24732): 	at com.android.bluetooth.Utils.checkPermissionForDataDelivery(Utils.java:923)
E/AndroidRuntime(24732): 	at com.android.bluetooth.Utils.checkScanPermissionForDataDelivery(Utils.java:982)
E/AndroidRuntime(24732): 	at com.android.bluetooth.gatt.GattService.registerScanner(GattService.java:3744)
E/AndroidRuntime(24732): 	at com.android.bluetooth.gatt.GattService$BluetoothGattBinder.registerScanner(GattService.java:977)
E/AndroidRuntime(24732): 	at com.android.bluetooth.gatt.GattService$BluetoothGattBinder.registerScanner(GattService.java:965)
E/AndroidRuntime(24732): 	at android.bluetooth.IBluetoothGatt$Stub.onTransact(IBluetoothGatt.java:290)
E/AndroidRuntime(24732): 	at android.os.Binder.execTransactInternal(Binder.java:1316)
E/AndroidRuntime(24732): 	at android.os.Binder.execTransact(Binder.java:1280)
6
E/gralloc4(24732): Empty SMPTE 2094-40 data
I/Process (24732): Sending signal. PID: 24732 SIG: 9
Lost connection to device.
Exited

We tested using the latest version of this package: 2.1.1.
This is not an issue on physical Android devices that are below OS 13. We have also simulated the exact issue in https://github.com/CodeMinion/Demo-Another-Brother-Prime - we modified the pubspec to target the latest version of this package as well.
I do appreciate that permissions are required for bluetooth scanning to succeed.
However, we are only interested in looking for printers via WIFI and not bluetooth, so we don't want to make it mandatory for  users to accept bluetooth permissions.
Also, if we explicitly decline the bluetooth_scan and bluetooth_connect permissions, the app also crashes in the same manner, which means our app doesn't work unless users explicitly agree to bluetooth permissions outright. The app doesn't crash in the case where users do explicitly accept bluetooth_scan and bluetooth_connect permissions.
Users should be able to decline whatever permissions they wish, and our app will respond to their permissions by allowing them or disallowing them to print instead of crashing the app, ideally.
This may be a limitation of the brother api rather than the intended behaviour of this package, so any suggestions about what can be done is much appreciated.
Many thanks,
Lillian

Hi @lillianho ,
Thanks for reaching out about this. Could I trouble you to share the code you are using for printing and finding the printers?
Based on the logs I see that the app is trying to check the paired devices as well as perform a BLE scan. None of these are performed unless the respective APIs are call.
Thanks in advance,

Hello @CodeMinion,
Sorry, I just realised that the demo app had several pages - one of which had the wifi logic separate from the bluetooth one. I  also just realised I could check permissions first before calling scan_bluetooth, so there is actually no problem.
Just another question, is there any way to do a search of all printers on the network without defining the Printer/ PaperInfo upfront?
We are trying to support as many wifi printers and paper (cut/uncut/dimensions) as we can (that fall under the list of another_brother's support), and we'd planned to scale the print job according to what paper installed in any printer.
Can we do a printer search that return all printers, regardless of model and get returned PaperInfo from the discovered printers so that we don't have to define that ourselves?
If there is no way to do so, what would be the best way to implement another_brother to support as many paper/printers as possible?
Many thanks,
Lillian

Hi @lillianho ,
Glad you were able to find the cause.
With regards to finding the printers, you could use the printers list and pass it to the search function. I have not tested with so many printers myself so can't say from experience whether it will work as intended. https://github.com/CodeMinion/another_brother/blob/main/lib/printer_info.dart#L385
As for the paper, only some of the Brother models support querying the paper installed in the printer. If I remember correctly it's something mainly the QL and PT printers can do. https://support.brother.co.jp/j/s/support/html/mobilesdk/reference/android/printer.html#getlabelinfo
The approach I have normally seen others follow is to have a way for the users to select the correct paper option based on the printer. Here is an example project for configuring printer and the papers based on the selected printer: https://github.com/CodeMinion/Printer-Configuration-UI
Thanks again for reaching out. Hope this helps but don't hesitate to reach out anytime if there is anything else I can help with,


Debugging HTTP functions with Specflow

I am able to successfully launch the function but when debugging in Visual Studio the debugger does not attach to the running function.  Being able to debug the Specflow test is one of the major benefits of BDD testing.
I've spend several days trying to get this to work with Corvus and several other paths however am coming up short.
How can I debug the HTTP function from the specflow test via calls over HTTP?

The fundamental issue here is not Corvus-specific (which I would guess is why you've come up short despite investigating other paths too). The basic problems are this:

functions necessarily run in a separate process from the test runner because that's how the local Azure Functions emulator works
when the test runner process launches child processes (such as the Azure Functions emulator), a debugger attached to the parent (test runner) process will not automatically attach to the child process

Visual Studio does have any built-in option to enable automatic attachment to child processes,. Microsoft has made an extension that does this available in the Marketplace—the Visual Studio 2022 version is available from https://marketplace.visualstudio.com/items?itemName=vsdbgplat.MicrosoftChildProcessDebuggingPowerTool2022
However, this relies on features that are only available to native debuggers, so if you want to use it with .NET projects, you need to debug the top-level project in mixed (both managed and unmanaged) mode.
I've yet to find a better way, unfortunately. And it is for this reason that we have started writing multi-mode tests, in which we execute the same .feature files in multiple ways. In particular, we have them execute code both in-process and via the emulator.
For example, look at https://github.com/marain-dotnet/Marain.Claims/blob/16ffa126dc23f48da787e4ca0147f4e23c665781/Solutions/Marain.Claims.OpenApi.Specs/Features/ClaimPermissionsEvaluation.feature - this defines various specifications for one of the services we write. The specs are written in terms of what a consumer of the service requires. (We use this service itself across multiple applications, which is why there is nothing application-domain-specific in these specs. Domain-specific tests would belong in the individual applications repos.)
Obviously it's important that the real service is able to meet all these specs so we want to run them against the hosted service, and we do. But we also want to be able to debug these tests with ease, and as you're finding, that's not something that VS makes particularly practical.
So we execute these specs multiple times in different ways. If you look at https://github.com/marain-dotnet/Marain.Claims/blob/16ffa126dc23f48da787e4ca0147f4e23c665781/Solutions/Marain.Claims.OpenApi.Specs/Features/ClaimPermissions.feature.multi.cs you'll see we add a partial class to make the specflow-generated class derive from a base called MultiTestHostBase. And the effect of this is to cause multiple instances of each test to appear. It will produce an instance of each test for everything in this list: https://github.com/marain-dotnet/Marain.Claims/blob/16ffa126dc23f48da787e4ca0147f4e23c665781/Solutions/Marain.Claims.OpenApi.Specs/MultiHost/MultiTestHostBase.cs#L46-L48
The effect of this is that for each feature file, the test explorer shows three entries:

Only the UseFunctionHost ones actually fire up the functions host. The other two run in-process meaning there are no complications with debugging. The reason for having two in-process modes is that it's sometimes useful to be able to debug in-process but still invoke the relevant code via HTTP so that we can test that all the handling at that level works as expected, but in situations where that's not where the problem lies, it's easier just to invoke the code under test directly. Also, by avoiding HTTP entirely, those tests better support parallelization, so those of us using NCrunch configure the runner to execute those tests continually and in parallel, but not the ones that will attempt to listen on a fixed HTTP port.
Currently we're putting this multi-mode testing code directly into projects that require it, but at some point we're really hoping to be able to move it out into Corvus.Testing to make it reusable. However, SpecFlow currently doesn't make this easy. They seem to have taken a position that nobody should be doing this sort of thing (specifically, running the same specs multiple times in different ways) so we have to get a little devious to make it work, and it's not yet clear whether there's a reliable way to package this up for reuse.


correct/improve German data (de)

states (correct and sort alphabetically)
companies (correct)
month abbreviations (correct)
food (correct, remove words that represent a region/country/color but not a fruit)
language (correct, remove redundant items)
nationality (correct)
occupation (correct, remove redundant items)
text (correct)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #145   +/-   ##
=======================================
  Coverage   99.79%   99.79%
=======================================
  Files          10       10
  Lines         998      998
=======================================
  Hits          996      996
  Misses          2        2

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 8822315...1fa18ec. Read the comment docs.

@benjixx Great job! Thanks you. Please, also look at de-at if you have free time. As i know  in Austria official language is Deutsch.

@benjixx And add your name to list of our contributors, please.


Outlook calendar plans

https://docs.microsoft.com/en-us/outlook/add-ins/outlook-mobile-addins
Any plans to include calendars in the latest mobile addin feature?
Only mail read is supported at this time. That means MobileMessageReadCommandSurface is the only ExtensionPoint you should declare in the mobile section of your manifest

Nothing I can announce regarding this at this time. I'd suggest adding a request for this on our UserVoice so other folks can vote it up!


Adding not node to find master data for ovn

Type of change

[ ] Refactor
[ ] New feature
[X] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
The current queries to find the cpu and memory data for openshift-ovn-kubernetes master nodes is not working for 4.14 clusters. The pod names are now ovnkube-control-plane-* instead of ovnkube-master-*. Want to be able to find nodes of older versions as well so did not a worker node type
% oc get pods -n openshift-ovn-kubernetes
NAME                                     READY   STATUS    RESTARTS       AGE
ovnkube-control-plane-85f96b444b-fzpk9   2/2     Running   1 (3h1m ago)   3h10m
ovnkube-control-plane-85f96b444b-hmxth   2/2     Running   0              3h10m
ovnkube-control-plane-85f96b444b-vbdkz   2/2     Running   0              3h10m
ovnkube-node-b96d8                       8/8     Running   0              3h1m
ovnkube-node-bnzlq                       8/8     Running   0              3h1m
ovnkube-node-lljmf                       8/8     Running   0              3h
ovnkube-node-mbpzl                       8/8     Running   0              3h9m
ovnkube-node-q8kcg                       8/8     Running   0              3h9m
ovnkube-node-xjxbh                       8/8     Running   0              3h9m

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[X] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

@paigerube14 is this change still relevant?

Fixed with #130


Warning: Illegal string offset 'model' in v.1.0.0 when loading fixtures

Hi! I just tried to use this bundle in my project, and found this error:
$ console khepin:yamlfixtures:load
[Symfony\Component\Debug\Exception\ContextErrorException]     Warning: Illegal string offset 'model'
Exception trace:  () at /var/www/my_app/vendor/khepin/yaml-fixtures-bundle/Khepin/YamlFixturesBundle/Loader/YamlLoader.php:112  Symfony\Component\Debug\ErrorHandler->handleError() at /var/www/my_app/vendor/khepin/yaml-fixtures-bundle/Khepin/YamlFixturesBundle/Loader/YamlLoader.php:112  Khepin\YamlFixturesBundle\Loader\YamlLoader->loadFixtures() at /var/www/my_app/vendor/khepin/yaml-fixtures-bundle/Khepin/YamlFixturesBundle/Command/FixturesLoadCommand.php:66 ...
I have investigated what's the problem, and found a weird place in vendor/khepin/yaml-fixtures-bundle/Khepin/YamlFixturesBundle/Loader/YamlLoader.php:107
$fixture_data = Yaml::parse($file);
After I changed it to
$fixture_data = Yaml::parse(file_get_contents($file));
it worked as expected.
Is this some kind of mistake, or is it just caused by different versions of Yaml component - anyways it's more clear to pass the file data than file name. Could You fix it please? I have found it in both 1.0.0 and 0.8.1 versions, so my pull request is not the best way to do it for all versions.
Thank You!

Hi, you mention a pull-request in your comment but I don't see any. If you have something to submit, that would be the easiest.
I'd be happy to review what you have and see if something needs to be merged.

Hello ! I'm having the exact same problem. Fix seems so straight forward but there hasn't be any one released yet, isn't it ? Thank You!

Hey @stphane do you by chance have a fix?
I'd be happy to merge a pull request fixing the issue if you could make one.
Do you think that's possible?

@khepin Actualy, dimitry-pro gave the fix already, I expected a new revision to come to life with the following changes in khepin/yaml-fixtures-bundle/Khepin/YamlFixturesBundle/Loader/YamlLoader.php on line 107 (v1.0.0):
$fixture_data = Yaml::parse($file);
been replaced by
$fixture_data = Yaml::parse(file_get_contents($file));

Alright, since it's all there then, would you mind making an actual pull request for it? That'll help immensely.
Thanks

Code is okey on master branch.

Oh! Gotcha. I never realized the code was already fixed and the only thing needed was a version push.
I'll work on that now.

Alright, I've spent the afternoon trying to make those tests pass on Travis and all I get is a composer memory error.
Can't figure it out, any help on this one is welcome.

Great ! Concerning the memory error, does your php cli has xdebug enabled ?
I had memory issues at some point and disabling the extension did help !

try it and let me know


[WIP] List the action transcripts for each Request stage  ( Request Detail Page)

should be merged after #24 - screenshots will come later today
Added transcript list of action comments for each request Stage.

Codecov Report

Merging #25 into master will decrease coverage by 0.34%.
The diff coverage is 24.24%.

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   37.46%   37.12%   -0.35%
==========================================
  Files          45       46       +1
  Lines         379      396      +17
  Branches       38       41       +3
==========================================
+ Hits          142      147       +5
- Misses        212      221       +9
- Partials       25       28       +3

Impacted Files
Coverage Δ

src/forms/request-comment-form.schema.js
33.33% <ø> (ø)
:arrow_up:

src/smart-components/request/action-modal.js
25% <0%> (-13.47%)
:arrow_down:

src/helpers/request/request-helper.js
81.25% <0%> (+9.02%)
:arrow_up:

...request/request-detail/request-stage-transcript.js
50% <0%> (-16.67%)
:arrow_down:

...c/smart-components/request/request-detail/stage.js
11.11% <0%> (-1.39%)
:arrow_down:

src/smart-components/request/requests.js
27.27% <0%> (-2.73%)
:arrow_down:

src/helpers/shared/helpers.js
100% <100%> (ø)
:arrow_up:

src/redux/actions/request-actions.js
100% <100%> (ø)
:arrow_up:

src/redux/action-types.js
100% <100%> (ø)
:arrow_up:

src/smart-components/request/expandable-content.js
50% <33.33%> (-16.67%)
:arrow_down:

... and 3 more

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 b348ecb...be73845. Read the comment docs.


Fix some stray paragraphs in the man page.

To reproduce do “nroff -man blib/man1/ack.1 | less -isrr” and you'll
notice them. They were eliminated by converting from the POD ^=for
directive to the more robust =begin/=end.

Thanks for merging this pull-req! It took a while, though.

It took a while, though.

Yes, and?


want support CustomSkinLoader

Need support CustomSkinLoader Mod's Log
https://mclo.gs/Zyny8V7

This is not support for Minecraft servers.

If I understand your message correctly, you're asking us to add formatting for logs created by that mod.
Is that just the latest.log or a custom file created by that mod?

This has been implemented now. If you find any issues with it, or you have further suggestions, please let us know


[cilium+metallb] When cilium and metallb (layer 2 mode) are used together, pod can't response large packets(bigger than a MTU)

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
environment:
metallb 0.13.7, use layer 2 mode
cilium 1.13.3, use DSR mode
network card MTU is 1508, cilium MTU is 1508
linux kernel version is 5.10
kubernetes version is 1.21.14
problem:
When the udp packet is sent from the outside to the pod in the kubernetes cluster (the outside is connect to the LoadBalancer service, and cilium use random loadbalancing algorithm to access one of the pods), if the pod and the metallb-speaker are on the same node, then when the pod replies with a udp message exceeding one MTU, the outside cannot receive it, but those pods that are not on the same node with the metallb-speaker master can reply to external udp messages that exceed one mtu (all pods use cilium egress, and egress network card use metallb-speaker master's info)
Cilium Version
1.13.3
Kernel Version
5.10.0
Kubernetes Version
v1.21.14
Sysdump
No response
Relevant log output
No response
Anything else?
when the external udp requests the loadBalancer service, the requested packet size exceeds the mtu, and the service response packet also exceeds the mtu, at this time, the pod located on the same node as the main metallb cannot respond to the udp request, but other pod can
Code of Conduct

[X] I agree to follow this project's Code of Conduct

So if I understand correctly, in the diagram below, return traffic for pod1 does not work but for pod2 it does?
flowchart LR

    subgraph node2
        pod2
    end

    subgraph node1
        pod1
        lb-svc
    end

    external-host

    external-host --> lb-svc
    pod2 --> external-host
    pod1 --> external-host
    lb-svc --> pod1
    lb-svc --> pod2

It would be helpful if you could collect the routes present in both pod1 and pod2 since those will determine the MTU used by the pods for the different destionations.

@dylandreimerink Yes!!! your understanding is correct

@dylandreimerink
thank u, bro, first, your data packet path is correct. Second, my description is inaccurate. It is not that the pod on the same node as the metallb master cannot reply, but that the reply message data is damaged. Taking the response of 2000 bytes as an example, I After the metallb master node captures the packet, it is found that cilium will modify the seventh and eighth bytes of the data part of the second message of the udp response message, so that the outside cannot assemble the message replied by the pod

@dylandreimerink It should be that cilium regards the second data packet as a udp data packet, and wants to modify the udp header check value, but the second data packet is an ipv4 data packet, and modifying the data packet leads to data corruption

Could you provide the network packets when the issue occurs?


Charts aren't loaded

They are working for me on any browser I have tried but it would be great if someone could have another look from their side.
https://twitter.com/KeithPares/status/724599573310672896

Working on my end. Maybe some browser cache issue.


Where is media supposed to go?

The guide mentions all data goes in the /data folder which also contains a /media folder.
The config.ini also contains 2 lines for a tmp folder and a media folder.
I've defined a media folder (all rights for all users) and made /tmp the tmp folder.
Now I'm getting
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/disk2/chanmedia/m9/6y2fk9ps56fcpx.jpg' [2018-11-25 14:14:42,298] {app.py:1560} ERROR - Exception on /post [POST] Traceback (most recent call last):   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app     response = self.full_dispatch_request()   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception     reraise(exc_type, exc_value, tb)   File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise     raise value   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request     rv = self.dispatch_request()   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request     return self.view_functions[rule.endpoint](**req.view_args)   File "./uchan/view/post.py", line 52, in post     _upload_files(upload_queue_files_list)   File "./uchan/view/post.py", line 213, in _upload_files     file_service.do_upload(upload_queue_files)   File "./uchan/lib/service/file_service.py", line 157, in do_upload     cdn.upload(uploaded_file.image_output, uploaded_file.image_name)   File "./uchan/lib/service/file_service.py", line 54, in upload     shutil.copyfile(local_path, os.path.join(self.path, subdir, name))   File "/usr/lib/python3.6/shutil.py", line 121, in copyfile     with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '/mnt/disk2/chanmedia/51/7yfwyr7fmazzx0.jpg' [2018-11-25 14:14:42,299] {__init__.py:42} ERROR - [Errno 2] No such file or directory: '/mnt/disk2/chanmedia/51/7yfwyr7fmazzx0.jpg' Traceback (most recent call last):   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app     response = self.full_dispatch_request()   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception     reraise(exc_type, exc_value, tb)   File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise     raise value   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request     rv = self.dispatch_request()   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request     return self.view_functions[rule.endpoint](**req.view_args)   File "./uchan/view/post.py", line 52, in post     _upload_files(upload_queue_files_list)   File "./uchan/view/post.py", line 213, in _upload_files     file_service.do_upload(upload_queue_files)   File "./uchan/lib/service/file_service.py", line 157, in do_upload     cdn.upload(uploaded_file.image_output, uploaded_file.image_name)   File "./uchan/lib/service/file_service.py", line 54, in upload     shutil.copyfile(local_path, os.path.join(self.path, subdir, name))   File "/usr/lib/python3.6/shutil.py", line 121, in copyfile     with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '/mnt/disk2/chanmedia/51/7yfwyr7fmazzx0.jpg'
What could be wrong here?

When using file_cdn_type = local, the files when being uploaded are stored at upload_queue_path and then moved to local_cdn_path. Then, nginx has to be configured to serve files from local_cdn_path when the url starts with local_cdn_web_path.


chore(deps): update terraform terraform-ibm-modules/landing-zone/ibm to v5.28.0

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/landing-zone/ibm (source)
module
minor
5.27.0 -> 5.28.0

Release Notes

terraform-ibm-modules/terraform-ibm-landing-zone (terraform-ibm-modules/landing-zone/ibm)
v5.28.0
Compare Source
Features

added support to specify the operating system for OCP cluster workers using new input operating_system (#848) (9eda4cd)

v5.27.1
Compare Source
Bug Fixes

fixed the resource_group_names and resource_group_data outputs to ensure they include prefix (#852) (677a996)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

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

GitHub release
v7.0.0

Your semantic-release bot :package::rocket:


Show extensions in error message.

Versions

vee-validate: 2.2.15
vue: 2.6.10

I am trying to show extensions with the error message for input[type="file"] but it's only showing just first three extensions and if only one or two extensions are provided then the error message contains .e.g., png,[Object object] or png,jpg,[Object object] and if three are provided then it's png,jpg,pdf and if more then three provided those are not showing just first three.
To reproduce

I have copied vee-validate/dist/locale/en.js file unminifed it, removed code other then messages and use it like this.
File Code
I wanted to use this, but Validator.localize(dictionary) won't work for i18n, so that's why copied the file.
Code for ext function:
ext: function (e, n) {
    return 'The ${e} field must be a <b>${n}</b> file'
},
Added n parameter

Expected behavior
It should display all the extensions but it's not BTW rules are working fine, but if I use this in codepen then it's working fine.

This is known bug in v2 with VueI18n. The only way around it is to disable the i18n integration with vee-validate.
v3 this is addressed in v3 already.

So after thinking about this, the best I could do atm is offer a workaround:
You could define your own custom adapter for VueI18n
This example should point you to the right direction:
https://codesandbox.io/s/q84p09y7p6


WireMock 3 extension compatibility

Proposal
We need to ensure that all key WireMock extensions are compatible with WireMock 3. This ticket is used to track compatibility of the extensions and the progress on them
Compatibility Status

[ ] Webhooks Extension - from the 3.0.0 release

https://github.com/wiremock/wiremock/issues/2342
https://github.com/wiremock/wiremock/issues/2341

[x] Response Template Transformer - from the 3.0.0 release
[x] State Extension - from version 0.0.7
[ ] JSON Body Transformer, Callback Simulator, Request time matcher from 9cookies/wiremock-extensions - untested
[ ] CORS Protection Extension - untested
[ ] WireMock telemetry extension - untested

References
No response

It would be nice to include also the JWT extension into the list


Unable to train PointPillars

Trying to train with either kitti_point_pillars_mghead_syncbn.py or nusc_all_point_pillars_mghead_syncbn.py on Kitti or nuscenes data, the process crashes with strange CUDA errors:
/pytorch/aten/src/ATen/native/cuda/IndexKernel.cu:60: lambda [](int)->auto::operator()(int)->auto: block: [278,0,0], thread: [127,0,0] Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed.
...
File "home/Det3D/det3d/models/readers/pillar_encoder.py", line 192, in forward
    this_coords = coords[batch_mask, :]
RuntimeError: copy_if failed to synchronize: cudaErrorAssert: device-side assert triggered

(I am able to train SECOND using both Kitti config files and get good results, so it is something with the PointPillars implementation).
Debugging with PDB the tensors appear to be the correct size, not certain what the issue is.
Suggestions?
Running on Ubuntu 18.04, pytorch 1.3, CUDA 10.1

The error is here: 199 canvas[:, indices] = voxels , which Indices is overflowed.
I solve this error as follows:
home/Det3D/det3d/models/readers/pillar_encoder.py
176 self.nx = input_shape[0] -->self.nx = int(input_shape[0])
177 self.ny = input_shape[1]-->self.ny = int(input_shape[0])


Evaluate and get feedback from users on SDR alpha

The production SDR instance at the stage where we can conduct user testing (following on from #60 ).
There are separate focused issues for tool performance, but we want to check that users can do the following testing tasks:

Login
Run a shared workflow
View outputs and download data
Copy and edit the “PinnedInsect-TenRow-Example.csv”
Repeat steps 3 and 4 using your edited specimen file and make some notes on how good the regions of interest are

Verbose instructions to follow....

This instruction is not clear

I'm seeing this

Clicked Run and got this

which I think gives me the folder icon in the next step

Workflow completed but didn't get a Step 48. Got this output

Workflow completed but didn't get a Step 48. Got this output

Thanks for this! I'm curious if this continued when you changed page or if the history was refreshed? The workflow looks to have completed ok but in the screenshot the history seems to lag behind the main report

What is the vocabulary (if it's used by the workflow) of the Object type column, beyond "Pinned insect"?
I managed to run 5 herbarium sheet images from Zenodo through the DLA workflow. Everything went smooth and the bug outputting the wrong output (filename instead of JSON response) is indeed fixed. The results of the segmentation are not that great, which is to be expected given the different object type.
During my first run on the sample set provided by Laurence, connecting to the file upload server took a few minutes (as stated in the beginning of today's meeting).
One minor UI issue is that on the ROI visualization the metadata of boxes are always shown at the top of the page, so they cannot be seen for boxes that are at the bottom of an image with high height to width ratio. I wonder if it can be easily tweaked to show this metadata popup at the location of the box instead?

We (@emhaston  & Robyn Drinkwater ) at the RBGE have had a test and we agree with @matdillen that the segmentation model being used may well be an issue preventing a proper assessment of the output.
On top of that @Cubey0 is having an error

When trying to upload an RBGE Image (via the individual file upload or via the URL upload)
It might well be due to a list being empty.

We (emhaston & Robyn Drinkwater ) at the RBGE have had a test and we agree with matdillen that the segmentation model being used may well be an issue preventing a proper assessment of the output.

@Cubey0 as per previous comment, note that we only have a segmentation model for pinned insect images at the moment.

On top of that Cubey0 is having an error. When trying to upload an RBGE Image (via the individual file upload or via the URL upload)

@Cubey0 can you share the CSV file you were using to upload?

I didn't upload via a csv but pasted a set of image URLs , uploading went ok (as far as I could tell - I could see big jpg's in the workbench).

This is interesting - it is not a use case we have provided functionality for (to my knowledge). At the moment I think only csv upload is viable using existing tools.
There have been discussions about making it easier to drive individual tools using more friendly inputs (such as an actual image) but at the minute the tools are all driven using openDS objects which are somewhat cumbersome to create by hand.

Doing it in the same manner and run it on an own herbarium data failed however. (see the following sample)

Thank you for providing the file! I tried running it and I can reproduce your error - I'll dig into it!

So I tried the Workflow: HTR-Collections-test with a large dataset (200 item herbarium specimens - the gold standard dataset from Edinburgh) and got some odd errors.
Also what are the results on the RHS - I'm seeing JSON data but not sure what the difference bits are

Some split file errors

But 200 ran through OK (with the Split errors)
Rob


Telework: Retain submitted forms for 60 days

User Story
A short, simple description of a feature or issue told from the perspective of the user.
“As a product owner I want to retain all submitted forms for 60 days so I can mitigate/revover any data loss issues.”
Tasks
TBD
Acceptance Criteria
The checklist the product owner uses to decide whether a story is done. Objective and discrete answers (such as a yes/no) that can be tested.

@Stella-Archer
This is ready for testing on TEST. You can complete a Telework form and see if it is still in the submitted tab and not removed like before.

@T854236
Can you verify that these three applications were successfully sent to ODS? Two of them have the new ministry name Emergency Management and Climate Readiness.
ApplicationId
33151
33152 (emergency ministry)
33153 (emergency ministry)

@iman-jamali-fw
We do see it in PROD ODS.


chore: Update platform target to iOS 13

name: Update platform target to iOS 13
Base support for the Maps and Places SDK's is now iOS 13. Users that run pod install or pod update with these changes will receive the latest minor pod version.

Updated pull request with podfile SDK version support.


About demo_video_mobile.py running

Hello, I am interested in  your work, so I want to run demo_video_mobile.py.Flow your setps, I downloads all files, I meet a problem when I run demo_video_mobile.py. It is " No such file or directory: './graph/GCN/epoch210_model.pt'", I don't know how to deal with  it, please help me, I'll be very grateful with it. Another, I run in windows.Thanks!

@ZHyuwind The file actually is downloaded to "./weights/GCN/epoch210_model.pt". I had corrected the config file:
https://github.com/Guanghan/lighttrack/commit/6d308a0c1b30e05f0f31dd133d34f76877f491b4
You can update the path accordingly.
You should also use the latest demo file:
https://github.com/Guanghan/lighttrack/blob/master/demo_video_mobile.py

Thanks a lot! I will try.
---Original---
From: "Guanghan<EMAIL_ADDRESS>Date: Tue, May 14, 2019 22:54 PM
To<EMAIL_ADDRESS>Cc: "zy"1453012267<EMAIL_ADDRESS>Subject: Re: [Guanghan/lighttrack] About demo_video_mobile.py running (#9)
@ZHyuwind The file actually is downloaded to "./weights/GCN/epoch210_model.pt". I had corrected the config file:
6d308a0
You can update the path accordingly.
You should also use the latest demo file:
https://github.com/Guanghan/lighttrack/blob/master/demo_video_mobile.py
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


DB Connection in User Settings

Hi @zabel-xyz,
Whenever I enter a db connection it gets saved in the workspace settings file. However, I have this file shared with the repo so all developers have the same settings for the current workspace.
Is there a way to save the db connection in the User Settings? If I save it there manually it will appear back automatically in the Workspace Settings whenever I open vscode or save the settings.json.
Thanks a lot for the extension.

Hello,
Curently DB connection are only saved in workspace settings...
I'll improve to allow saving in user settings.

Thanks a lot!

On Mar 13, 2019, at 11:34 AM, Zabel<EMAIL_ADDRESS>wrote:
Hello,
Curently DB connection are only saved in workspace settings...
I'll improve to allow saving in user settings.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

oracle连接怎么弄呢


added fetch_openfmri

Related to issue #23 The import nilearn.datasets was not compatible with the latest nilearn. I added the fetch openfmri function and improved it to be able to access any dataset that follows the convention in the future. To diminsh the manual mantainance of the links. @bthirion do you think this is a good idea? Left the original one to compare.

I am adding the glob_openfmri() to return the subject function as in the other fetch cases and the corresponding test

I realized some datasets do not enforce the tab standard appropriately on some files

Thx for looking at this.
The first thing to do now is to watch the Travis failure: I'm not sure they're related to your commits, but in any case we need to have it green.

I will take a look into the travis failure. @bthirion please read my comment at #23 before continuing the review of the code. It might be worth waiting a bit since all the download conventions will be broken in a couple of months. Also all openfmri datasets will be migrated according to Poldrack.

On 05/10/2015 09:59, Martin Perez-Guevara wrote:

I will take a look into the travis failure. @bthirion
https://github.com/bthirion please read my comment at #23
https://github.com/nistats/nistats/issues/23 before continuing the
review of the code. It might be worth waiting a bit since all the
download conventions will be broken in a couple of months. Also all
openfmri datasets will be migrated according to Poldrack.
—
Reply to this email directly or view it on GitHub
https://github.com/nistats/nistats/pull/30#issuecomment-145456110.

Sure, but I think that my comments remain relevant ;-)

This became obsolete with BIDS. I will post a new BIDS branch with downloaded and utilities soon.


⚠ Thumbnails API Endpoint has degraded performance

In e872f6d, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1027 ms

Resolved: Thumbnails API Endpoint performance has improved in b93eecc after 78 days, 2 hours, 3 minutes.


Alerts Sensor Broken

Hello,
We had a severe fog advisory issued in our area today (Philadelphia, PA). It seems there's an issue pulling this data into the pirateweather alerts sensor.
Here's the relevant portion of home-assistant.log:
2022-02-03 16:30:20 ERROR (MainThread) [homeassistant.components.sensor] pirateweather: Error on device update!
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/forecastio/models.py", line 121, in __getattr__
    return self.json[name]
KeyError: 'description'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 684, in async_device_update
    await task
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/lxc-data/homeassistant/custom_components/pirateweather/sensor.py", line 758, in update
    self._state = self.get_state(alerts)
  File "/lxc-data/homeassistant/custom_components/pirateweather/sensor.py", line 778, in get_state
    alerts[dkey] = getattr(alert, attr)
  File "/srv/homeassistant/lib/python3.9/site-packages/forecastio/models.py", line 123, in __getattr__
    raise PropertyUnavailable(
forecastio.utils.PropertyUnavailable: Property 'description' is not valid or is not available for this forecast

For comparison, the Dark Sky alerts sensor returned a state of '1', and the following attributes:
time:<PHONE_NUMBER>
description: ...DENSE FOG ADVISORY IN EFFECT UNTIL 9 PM EST THIS EVENING... * WHAT...Visibility one quarter mile or less in patchy dense fog. * WHERE...Portions of central, northern and northwest New Jersey and east central, northeast and southeast Pennsylvania. * WHEN...Until 9 PM EST this evening. * IMPACTS...Hazardous driving conditions due to low visibility.

expires:<PHONE_NUMBER>
severity: advisory
uri: https://alerts.weather.gov/cap/wwacapget.php?x=PA1263E2072CC4.DenseFogAdvisory.1263E213F120PA.PHINPWPHI.c652b4d1897352f60f68d73e00327f21
regions: Berks, Carbon, Delaware, Eastern Chester, Eastern Montgomery, Lehigh, Lower Bucks, Monroe, Northampton, Philadelphia, Upper Bucks, Western Chester, Western Montgomery
title: Dense Fog Advisory
icon: mdi:alert-circle
friendly_name: Dark Sky Alerts

EDIT
I tried querying both DarkSky's API and PirateWeather's API directly to see what kind of results I got. Dark Sky returned:
"alerts":[{"title":"Dense Fog Advisory","regions":["Berks","Carbon","Delaware","Eastern Chester","Eastern Montgomery","Lehigh","Lower Bucks","Monroe","Northampton","Philadelphia","Upper Bucks","Western Chester","Western Montgomery"],"severity":"advisory","time":1643913180,"expires":1643940000,"description":"...DENSE FOG ADVISORY IN EFFECT UNTIL 9 PM EST THIS EVENING... * WHAT...Visibility one quarter mile or less in patchy dense fog. * WHERE...Portions of central, northern and northwest New Jersey and east central, northeast and southeast Pennsylvania. * WHEN...Until 9 PM EST this evening. * IMPACTS...Hazardous driving conditions due to low visibility.\n","uri":"https://alerts.weather.gov/cap/wwacapget.php?x=PA1263E2072CC4.DenseFogAdvisory.1263E213F120PA.PHINPWPHI.c652b4d1897352f60f68d73e00327f21"}]

PirateWeather seems to only return
"alerts": [{"title": "Dense Fog", "time":<PHONE_NUMBER>, "expires":<PHONE_NUMBER>, "significance": "Advisory"}]

I'm guessing the lack of uri/description is breaking the call to forcastio

Hi,
Thanks for catching this! Because I only have alerts working for the US right now, it's hard for me to catch these things, so I really appreciate it.
The HA sensor code is pretty picky, so needs the API results to be in the exact Dark Sky form (which is the goal of Pirate Weather). I made a small tweak to the response format, and I believe the Alert integration is working now.
You'll notice that it's missing a few variables (notably the description) that are present in Dark Sky. This is a known right now, since I'm relying on an overview of the (warning database)[https://mesonet.agron.iastate.edu/request/gis/watchwarn.phtml] that includes shape files to produce this. I don't particularly like this approach, since it's limited to the US and doesn't have detailed descriptions, but it's what's working at the moment. Hopefully I can create a grid based dateset to use at some point in the future though

Looks good, as a test I updated my home coordinates to somewhere with a currently active winter weather advisory and it picked it up. Will definitely look forward to additional info in the alerts!
Thanks for all your time on this project.


Zoom and pan

It has been requested a few times.
Handy lib that does it: https://github.com/bumbu/svg-pan-zoom

Implemented, didnt need another library.
D3-graphviz already does it, just updated to newer version


DNM: test trigger ci on release-8.0

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/retest

/test cdc-integration-mysql-test

/test engine-integration-test

/retest

/retest


how to run this?

I have cloned the repo , but am unsure of how to get this project running in localhost.
Hope you can share the steps on how to get it running.

It's better if you can run it on google colab

It's better if you can run it on google colab

which colab are you mentioning. any links?
I was just curious as to how to got it running on localhost.
I'm using Ubuntu.