SIXEL support.

There is a patch floating around of questionable quality:
https://gist.github.com/saitoha/70e0fdf22e3e8f63ce937c7f7da71809
I'm tempted to try and implement/port it to xst.
Thoughts?
It'd be handy for a couple things.

take a look on filelist of st vs xst
xst was forked from st back then when st was a single file, now it's splitted into multiple files (win.h and x.c)

btw, sorry for offtopic question, but where it could be used? i found only lsix script, which tries to implement ls with thumbnails via using montage
i think if you'll give more real usecases for the feature you could motivate more people to collaborate on it :-)

well, i was hoping to use ff2sixel to display images, graphs and such.
i have some led matrix code which i'd love to make a sixel output for as well, so that i can debug all in my terminal.

https://github.com/uobikiemukot/sdump/ exists as well

@actionless just to make sure i don't get this wrong:
would you rather i keep xst in a single file backport to xst the st file split?
i am probably just gonna keep xst in a single file and redo the changes, it looks easier.
i am not sure how to do the latter without applying the changes manually.

my vote is for changing xst structure in a same way as st did (because generally i am up to having bigger number of smaller files than the opposite)
@neeasade @laserswald any opinion on this?

Yes, it's been a lingering task for awhile now to revert to upstream file layout, both for the split and easier merges/updates from st in the future. Gets a little hairy doing that split while preserving xst changes and pulling, which is why it hasn't happened yet

also could be useful if somebody will be trying to tackle it later on: http://rullf2.xs4all.nl/sg/doc.html

Hi all, I'm not a xst user (I roll my own forked off from st directly), but I've successfully gotten the patch that the OP noted working on my st fork. It's pretty hacky - I had to move a lot of things around manually, and make a lot of things global between x.c and st.c, however, my implementation does seem to more or less work.
link to my st fork
Please feel free to use any of my code as a starting point if you would like.
Do note that the patch from the OP likely infects any code that uses it with GPL, as the sixel decoder is taken from (IIRC) mintty. If this bothers you, you may want to roll your own decoder, or use libsixel instead.
If you make any improvements to the sixel support, please let me know so I can merge them back into my own implementation :)
~ Charles

oh, thanks for your good point about the license, @charlesdaniels. didn't noticed it initially
anyway i think the progress on sixel is frozen until somebody will be not lazy enough to split the files in a same way as in st :-)

FYI - I have done a fair amount of sixel work in the last couple years, and made some torture tests available for terminal authors here: https://jexer.sourceforge.io/sixel.html .

I'd just like to add that I'm keen for this and also came across the st-sixel fork which is still a little old but could be worth a look for inspiration.

he progress on sixel is frozen until somebody will be not lazy enough to split the files in a same way as in st :-)

btw neeasade was so kind to do that at some point of time
so currently if any of you are interested, it would be much easier to make a pr

so currently if any of you are interested, it would be much easier to make a pr

I will try, but I'm merely a user and not a programmer so it a bit out of scope for me. I will reach out to others who might be interested and capably of making this happen though.
Cheers

So I'm back, and still interested in this. I'm also still not really in a position to make a PR but thought I'd just share my latest interest in having sixel support for xst.
I recently found this cool mpd client called davis which uses another tool by the same dev to display album art called picat. While I can modify his cover scripts to use w3m-img' or even ueberzug` to do the same thing, I still like the idea of having sixel support.
Anyway, I know this issue is frozen until someone can put in the work. I will try ring a few bells and see who can help.


Uncaught TypeError: Cannot read property 'getAppPath' of undefined

[x] Review the documentation: https://docs.sentry.io/platforms/javascript/electron/
[x] Search for existing issues: https://github.com/getsentry/sentry-electron/issues
[x] Use the latest release: https://github.com/getsentry/sentry-electron/releases
[ ] Provide a link to the affected event from your Sentry account

Versions + Platform

[x] SDK version -<EMAIL_ADDRESS>[x] Electron version -<EMAIL_ADDRESS>[x] Platform - Windows

Description
I updated from 0.17.0 to 1.5.1, and I now see this error:
Uncaught TypeError: Cannot read property 'getAppPath' of undefined
    at eval (webpack-internal:///./app/node_modules/@sentry/electron/esm/main/normalize.js:8)
    at<EMAIL_ADDRESS>(renderer.js:1907)
    at __webpack_require__ (renderer.js:750)
    at fn (renderer.js:61)
    at eval (webpack-internal:///./app/node_modules/@sentry/electron/esm/main/backend.js:15)
    at<EMAIL_ADDRESS>(renderer.js:1811)
    at __webpack_require__ (renderer.js:750)
    at fn (renderer.js:61)
    at eval (webpack-internal:///./app/node_modules/@sentry/electron/esm/main/client.js:8)
    at<EMAIL_ADDRESS>(renderer.js:1823)

I found a couple of issues (https://github.com/getsentry/sentry-electron/issues/92, https://github.com/getsentry/sentry-electron/issues/142) that reference this error, though they seem to be focused on different errors. I tried the deep import mentioned here, to no avail.
This was working with no issues previously, and the only change I made was to update to 1.5.1. I didn't see any breaking changes that suggest a problem in this area.

Are you getting this error in the main or renderer process? You would expect this error if the code in normalize is run in the Electron renderer.
After 1.4.0 the package.json started referencing module and browser so Webpack should automatically pick the correct code for each Electron process without the deep import hack.

It's happening in the renderer process. I'm not sure what I'm doing wrong, as it was working just fine until the update. I did go back and confirm it worked in 1.3.2 and then broke in 1.4.0. Here's what I was doing the init in the renderer process:
import { init } from '@sentry/electron/dist/renderer'
import { SentryConfig, configureScope } from '../config'

let installed = false

if (!installed) {
  installed = true
  init(SentryConfig)

  configureScope()
}

I've now changed in the import to import { init } from '@sentry/electron'. I don't see anything out of step with what is shown in the documentation.

For 1.4.0 and later, import { init } from '@sentry/electron' should work, but it relies on webpack being correctly configured.
Does your webpack config set target: 'electron-renderer'? Do you modify the defaults for resolve: { mainFields: ['browser', ...]}?

No, I have this configuration:
target: 'node',
  externals: ['electron'],

That configuration is a work-around for the issues described below.
https://github.com/RobinBuschmann/sequelize-typescript/issues/717
https://github.com/webpack/webpack/issues/7953
https://github.com/typeorm/typeorm/issues/4210

Yep, this will be the cause.
You're telling webpack that your renderer is a node process and this means it'll look at the module field in package.json which points at the code for the Electron main process.
In the renderer you're going to have to import the esm build manually. I've not actually tried this myself, but It'll be something like this:
import { init } from '@sentry/electron/esm/renderer'

init({})

I've tried this, but it doesn't work for me. From digging into webpack stats, it appears that I will need to go through the entire code base and conditionally require the main or renderer module everywhere I load anything related to @sentry/electron, otherwise I end up getting the main process modules in the renderer. It's pretty much a show-stopper since my webpack configuration has to be as described to allow more vital parts of the app to work.

None of the above approaches have worked correctly when including sentry in a preload script (i.e. webpack target electron-preload).  Even loading the esm module directly was causing issues.  Any other ideas?

Have you tried the 3.0.0-beta.1?
There has been a significant rewrite to help with issues like this.

It's a beta release so it's under the next tag.
I think you can install it via:
npm install @sentry/electron@next


Sorting controller output by name (alphabetical) in status command

Signed-off-by: Shantanu Deshpande<EMAIL_ADDRESS>Summary of changes:
Sorting controller output in cilium status command alphabetically. Ex output:
Controller Status:      7/7 healthy
  Name                                 Last success   Last error   Count   Message
  ipcache-bpf-garbage-collection       24s ago        never        0       no error
  kvstore-lease-keepalive              26s ago        never        0       no error
  lxcmap-bpf-host-sync                 4s ago         never        0       no error
  resolve-identity-29898               21s ago        never        0       no error
  sync-IPv4-identity-mapping (29898)   21s ago        never        0       no error
  sync-IPv6-identity-mapping (29898)   21s ago        never        0       no error
  sync-identity-to-k8s-pod (29898)     21s ago        never        0       no error

Fixes: #3999

test-me-please

Awesome thanks for contributing ;-)


CI is broken and it's not clear why

I've filed a support ticket with github to see if they can help, the contents of which were:

Since last night on the bytecodealliance/wasmtime repository we've been consistently receiving alerts in our Actions workflows which say "Received request to deprovision". This causes the workflow run to fail and currently we can't get any successful runs. Some example workflow runs are:

https://github.com/bytecodealliance/wasmtime/actions/runs/9276653595
https://github.com/bytecodealliance/wasmtime/actions/runs/9276831779
https://github.com/bytecodealliance/wasmtime/actions/runs/9277846527
https://github.com/bytecodealliance/wasmtime/actions/runs/9278460559
https://github.com/bytecodealliance/wasmtime/actions/runs/9280206728
https://github.com/bytecodealliance/wasmtime/actions/runs/9283330115
https://github.com/bytecodealliance/wasmtime/actions/runs/9288960611
https://github.com/bytecodealliance/wasmtime/actions/runs/9291171973

These runs span a few different changes so it doesn't appear that any single PR is the culprit. Additionally the failing job seems to switch each time so it doesn't appear that any particular job is the single culprit. Some searching online indicates that this may indicate resource exhaustion (e.g. OOM) in the workflows but given that the workflows are changing each time and the failure points seem to all be different I'm not sure if that's what's happening here.

I also wanted to open this as a heads up to others.

It's fixed now.


Stop awarding points for Web SQL Databases

Web SQL has been rejected, yet it still awards 5 points.

Would you please provide a link to where it is officially rejected?

You only get points for WebSQL if you don't support IndexedDB. It is perhaps a fair point it shouldn't get points as the spec was abandoned, but as all major browsers now support IndexedDB, it doesn't really impact anything.

@Kasijjuf “Beware. This specification is no longer in active maintenance and the Web Applications Working Group does not intend to maintain it further.”
https://www.w3.org/TR/webdatabase/

Would you please provide a link to where it is officially rejected?

HTML5Test itself already says it is rejected. Anyway, see @dstorey's comment.

I've decided to keep this as is. It really does not matter anymore, because all modern browsers support IndexedDB and you only get points for WebSQL if you don't support IndexedDB.


Switch to JUL logging completely, and wire up zero dependency Android logging

Discussion in https://github.com/square/okhttp/pull/5991

Platform.log method and infra should be removed

Draft PR - https://github.com/square/okhttp/pull/6005


FIX: #412 set Restart flag to true before creation

I think we'll need to add this to the single node creation (k3d node create) as well.

Hello @iwilltry42, as suggested I've implemented the early exit by checking the restarting status in the waitForLogMessage.
I wanted to minimize the changes and I've reused the GetNodeStatus() from Docker runtime, now exposed in the runtime interface
Side note, I'd like to make sure that moving the Sleep() inside the loop was what was initially intended with the Sleep()

Thanks for your contribution! You may want to use the all-contributors bot to add yourself to the list of contributors shown in the readme for the code you provided :+1:


chore: release 1.2.1

:robot: I have created a release *beep* *boop*
1.2.1 (2022-11-30)
update

add admin login (ddf2208)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Galaxy-Wish-Star/E-commerce/releases/tag/v1.2.1 :sunflower:


Daylight Saving Time and 7-Segment example

Hi Daniel,
Here is the WeatherStationDemoExtendedDST example for inclusion in the library. This is mostly the same code as https://github.com/neptune2/esp8266-weather-station-oled-DST but moved into the examples directory and renamed. Recent improvements include a settings.h file and #defines to support both SPI and I2C version of the SSD1306 display. I have verified that this works with both interface versions of the display.
Specific customizations include:

Added Wifi Splash screen and credit to Squix78
Modified progress bar to a thicker and symmetrical shape
Replaced TimeClient with built-in lwip sntp client (no need for external ntp client library)
Added Daylight Saving Time Auto adjuster with DST rules using simpleDSTadjust library

https://github.com/neptune2/simpleDSTadjust

Added Locale Setting examples for Boston, Zurich and Sydney

Selectable NTP servers for each locale
DST rules and timezone settings customizable for each locale
See https://www.timeanddate.com/time/change/ for DST rules
Added AM/PM or 24-hour option for each locale
Added metric settings for each locale

Changed Clock screen to 7-segment font from http://www.keshikan.net/fonts-e.html
Added Forecast screen for days 4-6

includes a one line update to WundergroundClient.h to support 6 days of forecasts

Added support for DHT22, DHT21 and DHT11 Indoor Temperature and Humidity Sensors

Verified on a DHT22 and DHT11 sensors

Fixed bug preventing display.flipScreenVertically() from working (removed double ui init)
Slight adjustments to overlay
Moved user settings into settings.h
Added #defines in settings.h to make it easier to select SPI or I2C interface for OLED in settings.h

Additional required library for automatic Daylight Saving Time adjust

simpleDSTadjust Library

Regards,
Neptune

Hi Neptune
Wonderful code and many thanks for creating a pull request!
Regards,
Daniel


My ILCE-6400 is in Chinese, no way to switch it to English?

I just bought a Sony a6400 from an official Sony store on the Chinese marketplace, TaoBao. I live In China, and buy all my equipment from Taobao.
I was baffled to find that the camera only had Chinese, Korean, Hindi, and some other obscure languages available. No English? No problem, I'll just install the English firmware... I mean... the buttons on the camera are in English, surely it is just a software problem.
Wait... no firmware available on Sony's website??? what the heck???
I tried the OpenMemories: Tweak but apparently it doesn't work for the A6400... only the 6300 and the 6500.... FML
Store I bought it from will not return it.... Please, someone help me.... there has GOT to be a way.....

I think you have to wait till they add support for a6400

I have same problem. But i bought japanese camera)))


Ref NeRF added (experimental)

Ref-NeRF: Structured View-Dependent Appearance for Neural Radiance Fields implemented in this repo. Yet the reproduction result is not satisfying, so Ref NeRF is currently an experimental feature. However, this repo now allows to switch from mip NeRF to Ref NeRF with one single flag: -t.

No code reviewer. Closing.


Investigate performance improvements for format conversion

[x] Consider loompy combine_faster but note This version assumes that the individual files will fit in memory. If you run out of memory, try the standard combine() method.
[ ] Review off-the-shelf format conversion code for performance improvements

@mckinsel - could you update the Milestone ro when you plan to complete this investigation?


sails.sockets.addRoomMembersToRooms is not a function (0.12.3)

Sails version: 0.12.3
Node version: 4.4.2
NPM version: 3.8.7
Operating system: Win7 64

I had this issue #3558 and updated my sails from 0.12.0 to 0.12.3 and now I have this issue :
>C:\Users\Yohan\AppData\Roaming\npm\node_modules\sails\lib\hooks\pubsub\index.js:1342
        sails.sockets.addRoomMembersToRooms(self._classRoom(), rooms );
this happends when I use the model.publishCreate(). (I am not using sails.sockets.addRoomMembersToRooms in my controller)

Ok, fixed!

Hi @NOaMTL, would you mind checking the version in node_modules/sails/node_modules/sails-hook-sockets/package.json (or the NPM 3 equivalent)?  Thanks!


Simplify Filters to fix the SSR problem

Fixes

Fixes #1748 by @zackkrida
Description

This PR fixes the filters components and makes it simpler. Instead of a computed component, we select the filter component based on v-if. And because the conditions are mutually exclusive, there is never a case when there are two FilterGrids in the document, so there is no element id collision as there were previously.
I realized that if a composable has an onMounted hook, it runs it whenever any component that imports this composable is mounted. So, it was updating the filters visibility status in the local storage every time a component using use-filter-visibility mounted.  For mobile screens, we set the visibility to false in onMounted even if the localStorage was false. So, when visibility was set to true on mobile, the onMounted hook for the menu would run, and set the visibility back to false.
Testing Instructions

Build and start the app using pnpm build && pnpm start. Go to the search page (http://localhost:8443/search/audio?q=birds), set the screen wider than mobile breakpoint and open the filters. Reload the page and check that the filters sidebar has the checkboxes inside it.
Also try making the screen wider or narrower while the filters are open. The filters should change into full screen modals on mobile and sidebar on desktop, and the desktop filters should not cover the search results.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Fan of code simplifications ✨ One question I have is that the filter sidebar is not open on desktop by default anymore. I recall this was an explicit design requirement to bring attention to available filters, isn't there a problem with this?

I guess I forgot about that requirement. Currently on desktop, we check for the filters open value that's saved in the local storage. If something is stored, we use that value. Otherwise, we default to false. I will change this default to true, thank you for catching this, @krysal!

I've updated the code to make the filters on desktop open by default at @krysal's suggestion. This caused all the desktop snapshots of search pages and the header on the search pages to fail because the filters are open, and the filters button is in 'pressed' state. I'm updating the snapshots, and hope to fix the Playwright errors shortly.


Mouse hover on table should move focus

separating tasks. This need to be done after #99.
Purpose of this is to have better visual signal as to which cell will be clicked (for KaiOS users)

I think this should be lower priority than keyboard focus styles, and we should only have a hover effect for < 320px widths.


Set id to null

If the id is not null, an error will occur when importing from the grafana API, so I think it is better to set the id to null.
(The other json has null id.)

/assign @upodroid

/lgtm
/approve


[DOC] Some suggestions for the Dashboards page

What do you want to do?

[X ] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
I am new to OpenSearch Dashboards, so I went to the https://opensearch.org/docs/latest/dashboards/index/ page. There were a few points that were unclear.
In section Explore the OpenSearch Dashboards playground:
Step 2: "Choose OpenSearch Dashboards > Dashboard." This should mention that it's in the hamburger menu in the upper left. I clicked on the text "OpenSearch Dashboards" instead, and then the Dashboard button. This gets me to the same place, but ....
Step 3: What does "Explore the available datasets and select one" mean? Am I supposed to click through on the different links? What am I looking for? What does "select one" mean? Does it mean that I click through to one of the examples using the text link? using the pencil link? Or does it mean that I select the checkbox? If it means "select the checkbox", then what's the next step?
Step 4: "Interact with the data on a dashboard". What sorts of interactions are possible? I tried brushing the "Flight Count and Average Ticket Price" and that did nothing. I tried clicking on one of the airlines in Airline Carrier, and it seems to have filtered to just that carrier, but I don't see any way of undoing that selection; even reloading the page doesn't undo it. How do I drill down on the data? I see in Delays & Cancellations that the exclamation point symbol reports on events, but how do I click through to details on the event? That is, the documentation needs to guide the user more on "interacting with the data" -- a priori, there are lots of possible interactions, some of which we provide, but not others. And it's not clear how to undo actions.
Step 4: "Add filter". I tried selecting the first option, Avg Ticket Price, but it is completely unclear what that is an average over, and there doesn't seem to be any hoverover documentation. Then I tried adjusting the Average Ticket Price slider, and that seems to have no effect on the dashboard. AHA! I need to scroll down to see "Apply changes" !!!!!! Very bad UI design, but can be mitigated with documentation. Somewhere it needs to say "scroll down in the Controls box and enter Apply Changes".
Step 5: "Select one of the options from the Field menu". This seems to be part of Step 4, after you've chosen Add filter, and presumably happens before the second half of step 5 ("specify the data").
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

@macrakis In progress. I'll set up an info gathering meeting with you and other SMEs.

@macrakis We are restructuring the Dashboards site. These issues will be addressed during the content development or revisions.

@macrakis We've replaced the page with a the Quickstart guide. You're welcome to provide feedback on the guide. https://opensearch.org/docs/latest/dashboards/get-started/quickstart-dashboards/

See https://opensearch.org/docs/latest/dashboards/get-started/quickstart-dashboards/


Convert libs to .net standard

This is a real pain TBH I may just wait till .net core 2.0 is out to do the move.


I thought spacebar would toggle the checkbox but it doesn't with VoiceOver

Testing #183549

Is this typical for VoiceOver? cc @meganrogge @isidorn

According to VO docs, you have to hold down the VO key(s)+ spacebar

Gotcha. This is good then


Are you sure if the page contains valid information?

Hi,
The logging on Teams is one of the biggest challenge. And in my mind this page is not up to date.
Steps:

On Teams client "Enable logging for meeting diagnostics (requires restarting Teams)" was market as unchecked.

Four fingers pray: Shit + Ctrl + Alt + 1 (this is much better sequence for your fingers than what you have on the page)

I'm getting a folder under downloads:

Then I go to the settings, mark this "Enable logging for meeting diagnostics (requires restarting Teams)" as checked.

Quit for Teams client (as sign-out clears the setting).

Start Teams client, and verify the setting is still there.

Four fingers pray: Shit + Ctrl + Alt + 1

I'm getting a new folder under downloads:

Both of these folders have the *.blog files under Meeting\Media-Stack
So could you clarify what are the facts today?
thanks

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

ID: 97d5e6d3-b7e0-d79f-0dea-ed423186a157
Version Independent ID: ec6e68aa-552f-ab45-3c8e-92eff526b173
Content: Use log files in troubleshooting Microsoft Teams - Microsoft Teams
Content Source: Teams/log-files.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@Petri-X thank you for reaching out and helping to improve Microsoft Docs. I'm looking into this and will get back to you soonest.

@Petri-X I'm still looking into this, but I see this article has been updated two days ago. Please can you have a look and see if anything still needs amending.

Hi @lindspea
Yes, I noticed, but when I was testing I still could not see any differences if this was enabled or not. Same amount of files and folders.

:(


Improve debriefing session interface

Can we have the query using "date of the debriefing session" and "backward time frame"? Will be good to say: "debriefing session on 2015-05-12 for workshops in the last 2 weeks".

I believe you can enter any start/end date you want for the debriefing
range, no?

I believe you can enter any start/end date you want for the debriefing
range, no?

Yes. I want to avoid calculate the dates but OK if I need to.

I just found out that our datepicker widget does not work. It should help you select proper dates, but somehow invocation of that widget got lost. I'll submit a fix soon.

@r-gaia-cs now the datepicker is working. I think it's a decent solution that has both usability (to get last two weeks you'd count rows in the pop-up calendar widget) and flexibility.
Try it out and decide if that's enough or not. Cheers!

@pbanaszkiewicz Thanks a lot. :sparkles:


Extend the DSL with new Client and Server pattern DslProperty creation methods

When doing some work on my own I came up with a few primitives I think would be generally useful to people at large.  Specifically

anyIso8601DateTimeWithTimeZone: adds the Z and +0:00 style endings to a date with optional millisecond precision
anyNotEmptyOrWhitespaceString: Anything that is "" or " " will fail
enumOf(String...): useful for enumerated values in an API, currencies, languages etc.

I've got no horse in the naming fight, I tend to name verbosely which isn't popular with many people, other suggestions appreciated.
Pull Request forthcoming, I needed a gh issue number to create a proper branch and check messages

Hi @pfrank13 ! Great job!
Ensure that any commits are done to a PR for branch 1.0.x . We're merging then everything from 1.0.x to master.
As for naming maybe let's go with
anyIso8601WithOffset
anyNonEmptyString
anyOf(...)

WDYT? BTW I'm not an expert on naming ;) @Fitzoh maybe you have an opinion on this? :)

I like your suggestions @marcingrzejszczak , but I think anyNonEmptyString is a little different from anyNotEmptyOrWhitespaceString.
Should probably be two options, anyNonEmptyString (would allow ' ') and anyNonBlankString (would not allow ' ').
isEmpty
isBlank

Oh yeah I've forgotten about the blank method. Obviously you're right. My dementia is getting more severe than I thought.

Congrats @pfrank13 on your PR :D

@marcingrzejszczak Thank you sir :)


test flags should now work

test flags did not work.
I now committed the -e 6 flags as well RESULTING IN BROKEN TRAVIS

hi, test flags fixed. I verified that the -e6 tests are really broken currently in div fixes -> travis is broken currently.

I think I've broken -e 6, almost fixed.
Will accept this PR first.


Dbeaver is not showing column default value - SQLSERVER

Description
Looking in PowerDesigner, I noticed that a table has columns with default values.
ex:
CREATE TABLE client(
client_id CHAR(8) NOT NULL,
is_active bit  NOT NULL default 1
)
But when I tried to get the script to create this table in Dbeaver, the default value does not appear, causing divergence when I tried to recreate the table:
ex.:
CREATE TABLE client(
client_id CHAR(8) NOT NULL,
is_active bit  NOT NULL
)
DBeaver Version
Community <IP_ADDRESS>207240747
Operating System
Windows 10 Enterprise
Database and driver
MS SQL Server / SQL Server
Microsoft JDBC Driver for SQL Server (MSSQL)
Steps to reproduce
No response
Additional context
No response

@geanmatheus unfortunately, cannot reproduce it against 22.2.1. Could you please check if issue is actual for you against the recent version?

still the same

Also can't reproduce.
What database version and driver version do you use?

Microsoft SQL Server 2016 (SP3-CU1-GDR) (KB5015371) - 13.0.7016.1 (X64)
MSSQL JDBC 9.2.0 JRE8

Hello @geanmatheus,
Can you please confirm that the default value is shown in SSMS?

No, it's not. The error message below appears. In DEV environment, I can see the script, but when generating the table script, the default value is not displayed either. Very strange
PRD Enviromet Error:

DEV Enviroment table script:

Ok. the Internet says that it can be a definitions access issue.
Can you please check this version? And add access to your database?
GRANT VIEW DEFINITION ON OBJECT ::  TO ;

It Worked, Thanks!

Thanks for the answer @geanmatheus


[Bug]: bash shell required for InternalCommandPortListeningCheck

Module
Core
Testcontainers version
1.17.6
Using the latest Testcontainers version?
Yes
Host OS
Ubutntu
Host Arch
x86
Docker version
Client: Docker Engine - Community
 Version:           23.0.1
 API version:       1.42
 Go version:        go1.19.5
 Git commit:        a5ee5b1
 Built:             Thu Feb  9 19:46:56 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          23.0.1
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.19.5
  Git commit:       bc3805a
  Built:            Thu Feb  9 19:46:56 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.18
  GitCommit:        2456e983eb9e37e47538f59ea18f2043c9a73640
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

What happened?
I try to create a docker compose test and it spins up correctly. My base image is alpine which has no bash.
Then I get a
19:12:35.916 [testcontainers-wait-0] WARN  org.testcontainers.containers.wait.internal.InternalCommandPortListeningCheck - An exception while executing the internal check: Container.ExecResult(exitCode=137, stdout=, stderr=/bin/sh: /bin/bash: not found
``

### Relevant log output

```shell
19:12:35.916 [testcontainers-wait-0] WARN  org.testcontainers.containers.wait.internal.InternalCommandPortListeningCheck - An exception while executing the internal check: Container.ExecResult(exitCode=137, stdout=, stderr=/bin/sh: /bin/bash: not found

Additional Information
No response

If I check https://github.com/testcontainers/testcontainers-java/blob/000cba7b810eb35918a97e7db889e68f627c2b73/core/src/main/java/org/testcontainers/containers/wait/internal/InternalCommandPortListeningCheck.java#L35
I see there a bash -c ...
Is this intended?

Hi @leonard84 and @longliveenduro, I'm the author of #2195. The idea is this:
https://github.com/testcontainers/testcontainers-java/blob/000cba7b810eb35918a97e7db889e68f627c2b73/core/src/main/java/org/testcontainers/containers/wait/internal/InternalCommandPortListeningCheck.java#L30-L36

First try grepping in /proc/net/tcp*
If there are no matches, try nc -vz -w 1 localhost %d
If that also fails, as a final step, try /bin/bash -c '</dev/tcp/localhost/%d'

The /dev/tcp/localhost/<port> is a bashism, so this check really cannot be performed without bash. But the first check (grep -i ':0*%x' /proc/net/tcp*) should normally work if the port is listening in the container.

Is it possible to optionally disable this check? I'm using spicedb which uses [chainguard](Chainguard Images it doesn't even have sh.
Then the check always fails and I'm never able to reuse the image


Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.

Here is  versions list

Angular CLI: 1.7.4

"@angular/animations": "^5.2.0",

"@angular/cdk": "5.2.5",

"eonasdan-bootstrap-datetimepicker": "4.17.47",

I am using Angular 5 & install this datetimpicker using command
npm install<EMAIL_ADDRESS>--save
I tried by changing the version of cdk upto 6.0.0 step by step ,also  I change the version of picker from 5 to latest but still this issue not solved.It occurs after building application using  ng build --prod .

Here is the HTML-
 <mat-form-field>                         <input matInput readonly type="text" placeholder=DateTime" [owlDateTime]="dt1" [owlDateTimeTrigger]="dt1" formControlName="dateTime">                         <owl-date-time #dt1></owl-date-time>    </mat-form-field>

#369

Hello @OmkarJadhav21 , did you fix this issue? I got same issue with angular 5.2.8 and ng-pick-datetime 5.2.6 ?


Certain tables under bullet points are not rendered

The third table in this demo is not rendered. It is not indented "correctly" to belong to the bullet point, but I still expect, that a table appears, however positioned.

Github doesn't render this either:

Under a bullet point

T1
T2

C1R1
C2R2

C1R2
C2R2

Under a bullet point but shifted to the left
| T1   | T2   |
| ---- | ---- |
| C1R1 | C2R2 |
| C1R2 | C2R2 |

There's gotta be a good reason for it, but I can't come up with one from the top of my head.

Github doesn't render this either:
There's gotta be a good reason for it, but I can't come up with one from the top of my head.

Nothing is perfect, we should not consider GitHub's parsing logic to be bug-free, then maybe the reason could be simply a lack of reported cases to be aware of the syntax problem and thus give support to fix it.
Or maybe I'm wrong, and you're right, but if no body can't come up with a good reason for it... I think that makes my conclusion more likely.
Just saying!, perfection shouldn't be taken for granted.

In this project scope, we do not discuss spec-related things "how markdown should be rendered". That's an independent, and very complicated process. We just follow CM spec, and missed parts follow github's behavior (except more advanced auto-linking).
Of course, people can have different opinions, but if you don't like existing mainstream behavior about tables, I see 2 ways:

Write a request to github guys about spec update.
Create a custom plugin.

IMHO, if current behavior does not diverge from github, we should not change anything here.
Closing as "not a bug". But feel free to add more clarifications if you like to share something important.

Write a request to github guys about spec update.

Done
Do I understand you right, @puzrin that GitHub's Markdown rendering behavior is basically treated as holy, how much certain corner cases look like actual bugs?
BTW: Tables shifted to the right of the last bullet point are rendered by Markdown and this project. So, I cannot imagine any reason, except implementation error, for this behavior.

- Under a bullet point but shifted to the right
   | T1   | T2   |
   | ---- | ---- |
   | C1R1 | C2R2 |
   | C1R2 | C2R2 |

Under a bullet point but shifted to the right

T1
T2

C1R1
C2R2

C1R2
C2R2

IMHO I said explicitly - we follow CM spec and Github spec to not create "yet another markdown render behavior". So, if anyone wishes to report the bug here - it is expected to be a deviation from above. The rest is out of scope.
As alternative - the package has flexible architecture. Anyone can create a plugin with custom behavior.

Do I understand you right, @puzrin that GitHub's Markdown rendering behavior is basically treated as holy

yes, thou shalt worship thy microsoft overlords, for they can do no wrong

BTW: Tables shifted to the right of the last bullet point are rendered by Markdown and this project.

Tables shifted to the right by 1-3 spaces are considered a normal markdown text inside the list.
Tables shifted to the left are a paragraph continuation instead (if it's anything else than a text, it'll be placed outside of the list as per spec).
You can also see a difference in behavior between those two:
- hello
 world
 -----

- hello
   world
   -----

For completeness' sake, worth mentioning that blockquotes work similarly:
> Here's a table:
> | T1   | T2   |
> | ---- | ---- |
> | C1R1 | C2R2 |
> | C1R2 | C2R2 |

> And here's not:
| T1   | T2   |
| ---- | ---- |
| C1R1 | C2R2 |
| C1R2 | C2R2 |

So, I cannot imagine any reason, except implementation error, for this behavior.

That is perhaps due to a lack of imagination.
There's one very good reason for it, which is compatibility with other parsers. And that's good enough for me to be honest.

There's one very good reason for it, which is compatibility with other parsers. And that's good enough for me to be honest.
edit: to clarify, there are reasons to do it this way, there are reasons to do it the other way. And all things being equal, same behavior as other parsers is a very good argument to keep things as is.

Staying "compatible" to GitHub is already a weak argument IMO but this is actually invalid. While Remarkable behaves the same as markdown-it and GitHub, other parsers behave differently. Marked renders even all cases as one would expect naively!
Also, I think on the whole platform are like two people at most who intentionally produced such a string that shall not render as a table.


Add explanation why form is so long

We need to inform users that this form will be so long only first time, next time when they will register, fields will be populated automatically

I think, it would be better to reduce number of fields in it.
/cc @webknjaz

We do not need to explain why form is so long, but reduce form instead.


Full-text missing

I took this for a spin (looks super neat!) using the supplied docker-compose setup, and used this PDF file as a test:
1509.00722.pdf
The returned JATS (I used the ScienceBeam API) has an abstract and references, but the full-text is missing. I've tried with only GROBID (exposed its internal network), to get the TEI, and the TEI does have the full-text. What needs to be done to get that full-text into JATS? I imagine some XSLT bit is missing?
Let me know how I can help!

Yes, that is right. The XSLT does not map the full text yet. We will add that in the future. That is now a bit further down in the priority list.
Is it important for your use-case?
You can also skip the XSLT to get the full TEI via the ScienceBeam API but that obviously has limited value, although gives you the Word to PDF translation. (It's also useful for bulk translation using a common interface)

Is there any workaround that has come about in the meantime since this question was asked to support full text output? I just tried it also using the docker-compose setup and it's returning everything other than full text quite well.
Thanks!

Is there any workaround that has come about in the meantime since this question was asked to support full text output? I just tried it also using the docker-compose setup and it's returning everything other than full text quite well.
Thanks!

Thank you for your interest. There wasn't enough push to translate the full text while we were still looking into improving the header data. As mentioned in my previous comment, it is currently the XSTL that translates TEI XML to JATS XML. If you don't mind whether it's TEI or JATS XML, then you could simply skip the XSLT (by adding the --no-grobid-xslt flag) and get the TEI XML which does contain full text. It would be interesting to understand your use-case more.


"Exception: FileSystemException; OS Error: Permission denied" in android 10 using targetSdkVersion 29

"Exception: FileSystemException; OS error: Permission denied" on Android 10 using targetSdkVersion 29, even with permissions granted and requestLegacyExternalStorage = "true"
Exception:
[ERROR:flutter/lib/ui/ui_dart_state.cc(171)] Unhandled Exception: FileSystemException: Cannot open file, path = '/storage/emulated/0/WhatsApp/Media/WhatsApp Images/IMG-20201119-WA0050.jpg' (OS Error: Permission denied, errno = 13)

Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.21.0-10.0.pre.131, on Microsoft Windows [versÃ£o 10.0.18363.1198], locale pt-BR)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Android Studio (version 4.0)

AndroidManifest.xml
    ...
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:remove="android:maxSdkVersion"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:remove="android:maxSdkVersion" />
    <uses-permission android:name="android.permission.CAMERA"  tools:remove="android:maxSdkVersion" />
    <application
        ...
        android:requestLegacyExternalStorage="true"
     ...

example:
List<int> imageBytes = imageNow.readAsBytesSync();

@Joao-b4
I see that there's a space in the folder name WhatsApp Images:
path = '/storage/emulated/0/WhatsApp/Media/WhatsApp Images/IMG-20201119-WA0050.jpg' (OS Error: Permission denied, errno = 13)
Can you fix the folder name and try again to see if it works ?
Also I noticed that you are on older version of master. Current master version is 1.24.0. You may want to upgrade to latest and try again if above doesn't work.

the problem was not in the way of the image, because I tested it with others images.
I upgraded to version 1.24.0 but my packages are not compatible with null-safety, and I had to revert to version 1.22.4 stable.
now the app works, but only with "compileSdkVersion: 28"
"compileSdkVersion: 29" still has errors

@Joao-b4
When you say my packages are not compatible with null-safety, what do you mean exactly ?
Can you provide a minimal complete reproducible code sample that shows the issue ?

solved the "FileSystemException" when updating the FilePicker, now I take the bytes of the image directly from it, without taking the path of the file and then reading the bytes.
when updating to the latest version of the master my editor is pointing out these null safety errors, and to compile it also contains errors related to null safety.

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.24.0-8.0.pre.366, on Microsoft Windows [versÃ£o 10.0.18363.1198], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.51.1)
[!] Connected device
    ! No devices available

@Joao-b4
Please provide minimal complete reproducible code sample along with pubspec.yaml that shows the issue.
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Fix crash for POI click with line break in name

Could you provide test code that I can confirm your work?
I guess you are working on for particular position.

@supa-creation ping

In France
latitude: 46.3192267
longitude: -0.5884898
Click on : Wildlife Park
Parc Naturel
Régional
du Marais
Poitevin


[question] can the pipeline support non-kubernetes environments

Why I ask this question?
we have two large production environment, which one is an old system that not used the kubernetes, the other one is kubernetes  env.
I want to delivery the components (kubernetes components and non-kubernetes components) by all using the tekton. It this idea is reasonable or do you guys have any suggestion for this situation?

Tekton is k8s native, can not run without k8s.
Does the old environment has Docker? you can use Kind prepare a build-in k8s, then run Tekton on that.

We understand that Tekton is k8s native and it must run inside k8s. Can Tekton support a pipeline that release the code to the old environment that is running on VM not k8s?  Many enterprises may have that requirement. Can it be a new feature for Tekton?

Tekton is k8s native, can not run without k8s.
Does the old environment has Docker? you can use Kind prepare a build-in k8s, then run Tekton on that.

@vincent-pli our old environment is all running containers,  what do you mean use Kind prepare a build-in k8s, does this have docs?

😭 So, you have a Tekton-pipeline running for some process (checkout, build, whatever), when almost complete, get an output stuff, then you want to deploy(release) these stuff to a no-k8s env? am I right?
I think you need a task to do that, you can handle this in that task, no matter the target env is k8s or not.

😭 So, you have a Tekton-pipeline running for some process (checkout, build, whatever), when almost complete, get an output stuff, then you want to deploy(release) these stuff to a no-k8s env? am I right?

you are right

I think you need a task to do that, you can handle this in that task, no matter the target env is k8s or not.

but how can i run tekon-pipeline task with k8s env?  ...

You can have two tasks all depends on previous step (task), one for k8s env another for no-k8s
another option is handle both in one task.

You can have two tasks all depends on previous step (task), one for k8s env another for no-k8s
another option is handle both in one task.

got you, 3x

Sorry to jump in but I have a similar use case. Is it possible to run builds that deploy into k8s as our current jenkins set up does for us, but also use tekton pipelines to deploy changes for terraform to roll out infrastructure changes? I cant find any information on this online.

@HusterWan @paulalex yeah, there is no limitiation on deploying things to the current running cluster (or any k8s cluster to be honest). You can deploy to anything as long as you have (or write) a task for it (see ansible tower-cli task for example)
We may need more task of the kind (terraform, …)  and maybe a little bit of documentation or blog posts on the future tekton.dev website :angel:
I am tempted to close this issue in the mean time, wdyt ?

This is something we definitely want to support in the long run but we haven't made a lot of movement toward it yet. Anyone interested in getting started with any requirements gathering / design work?

@ImJasonH opened https://github.com/tektoncd/pipeline/issues/1826 , also @dlorenc  wrote a blog post experimenting with Tekton + MacStadium (https://medium.com/@dlorenc/tekton-on-mac-ed6ea72d1efb)
I'm gonna assume we can close this issue for now and focus on specific issues such as #1826


Add GPS UTC time to Telemetry::GPSInfo

Being able to timestamp events with GPS UTC time would be very useful in an application I am working on. Can the time_usec value from GPS_RAW_INT be added to Telemetry::GPSInfo?
https://mavlink.io/en/messages/common.html#GPS_RAW_INT

@AlexKlimaj Perhaps add a PR?

Do you need the GPS time in GpsInfo somehow, or did you mean Position?

Are you sure that GPS_RAW_INT contains the UTC time?

@JonasVautherin it would make sense being in GpsInfo since num_satellites and fix_type are also in GPS_RAW_INT.
@julianoes It looks like it is getting populated in PX4. msg.time_usec = gps.timestamp;

It looks like you can grab the GPS time from 789?

It looks like you can grab the GPS time from 789?

Oh, exactly. This should already work.

In C++, yes. It hasn't been ported to the other languages. @AlexKlimaj: I guess you are interested in C++?

Yes, I am using the C++ library.
One question I have about 789 is why message #340 was chosen instead of #24? It seems like an odd choice.

One question I have about 789 is why message #340 was chosen instead of #24? It seems like an odd choice.

Probably @julianoes knows that better. But just for my information, why is that an odd choice?

The GPS_RAW_INT message is already broken out with num_satellites and fix_type. Also, the epoch_time is a value that is received from the GPS. It just makes more sense to go look in the GPS telemetry message for the time.

I agree but I think we didn't use GPS_RAW_INT.time_usec because in the description it says:

Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.

So it's not necessarily the UTC time but can also be time since system boot.

Ah okay I see. So #340 time will either be UTC or nothing?

time - Time of applicability of position (microseconds since UNIX epoch).

Ah okay I see. So #340 time will either be UTC or nothing?

I think it should be UTC. Why would it be nothing?

I mean, the autopilot won't populate it as time since boot. So it will be UTC time or not published at all by the autopilot.


what does the ERROR STA-0406 mean?

Hi to all!
First to all congrats to @aolofsson and team for this great work!
Having said that, I am having an error with one of the .tcl file, while executing the heartbeat example (See https://docs.siliconcompiler.com/en/latest/user_guide/quickstart.html). I created the python script that says the quickstart page but when I try to run it (by python3 heartbeat.py ), I get the following error:
OpenROAD v2.0-2686-gb6b65120e
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.

[INFO ODB-0131]     Created 65 components and 235 component-terminals.
[INFO ODB-0133]     Created 40 nets and 105 connections.
[INFO ODB-0134] Finished DEF file: inputs/heartbeat.def
[INFO DPL-0001] Placed 174 filler instances.
[ERROR STA-0406] global_route positional arguments not supported.
Error: sc_route.tcl, 37 STA-0406
| WARNING | job0    | route        | 0   | Command failed. See log file /home/rrossi/siliconcompiler/heartbeat_example/build/heartbeat/job0/route/0/route.log
| ERROR   | job0    | route        | 0   | Halting step 'route' index '0' due to errors.
| ERROR   | job0    | dfm          | 0   | Halting step due to previous error in route0
| ERROR   | job0    | dfm          | 0   | Halting step 'dfm' index '0' due to errors.
| ERROR   | job0    | export       | 0   | Halting step due to previous error in dfm0
| ERROR   | job0    | export       | 0   | Halting step 'export' index '0' due to errors.
| ERROR   | job0    | ---          | -   | Run() failed, exiting! See previous errors.

Someone knows what the error [ERROR STA-0406] global_route positional arguments not supported. stands for?
Thanks in advance,
Ramiro Rossi.

Hi Ramiro,
I think this is a problem with your OpenROAD version -- it seems to be newer than our officially supported version, and it looks like there was a backwards-incompatible API change. We recommend using OpenROAD commit d1c7001ad.

Hi,
I use the conda setup and the provided environment.yml file and I get the same error as above. I was wondering if it's possible to fix this by specifying the openroad version in the environment.yml file. Thanks.

The docs @ https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually specify how to set the OpenROAD version to a specific version. It already looks like a specific version of Surelog is being required.
You can then use a tool conda-lock to automatically update the versions and send pull requests with the updated values.

Thanks for the explanation! What is the required version in this case for openroad? For example, for surelog it shows surelog==0.0_3379_g484687d13. I believe the last part is the commit number? What whould it be for openroad?


Search through PATH instead of calling "which"

On non-macOS platforms, use the PATH environment variable to find programs rather than deferring to which (which is unavailable on Windows).

@swift-ci smoke test

The roughly equivalent command on Windows is where; you could consider using that.

Based off what @compnerd said about the limitations of where in https://forums.swift.org/t/swift-soars-ever-higher/34036/11 I thought this seemed a better approach.

Btw, I noticed something recently when building SPM from master, there was a weird issue where it invoked the Swift 5.1.4 SPM I had installed in the system path, instead of master SPM just bootstrapping itself. I don't know if this is a known issue, but I hope that can be fixed too.


tegola + postgresql13:  could not register providers: Failed while creating connection pool: unknown authentication type: 10

Operating System: CentOS Linux 8
Kernel: Linux 4.18.0-240.15.1.el8_3.x86_64
PostgreSQL 13.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit
POSTGIS="3.1.1 aaf4c79" [EXTENSION] PGSQL="130" GEOS="3.9.0-CAPI-1.16.2" SFCGAL="1.3.7" PROJ="7.2.1" GDAL="GDAL 3.2.1, released 2020/12/29" LIBXML="2.9.7" LIBJSON="0.13.1" LIBPROTOBUF="1.3.0" WAGYU="0.5.0 (Internal)" TOPOLOGY RASTER
Tegola version v0.12.1
I have installed the Bonn base. Things are good.
config.toml = https://tegola.io/documentation/getting-started/#3-create-a-configuration-file. I made different settings - it does not help.

Hello!
Unfortunately, I can't connect the software with the database server PostgreSQL 13.2. An error is written: Error: could not register providers: Failed while creating connection pool: unknown authentication type: 10
What am I doing wrong?
Help, I really want to tegola.
I also have Ubuntu 20.04. I'll try on it. But there is also version PostgreSQL 13.2.

@r4naf thanks for the report. I will need to dig into what the code 10 type is. It might be time to upgrade the Postgres driver.

It looks like we need to upgrade the Postgres drivers. I think type 10 is a new encryption scheme (scram-sha-256) that is now the default in 13.
https://www.postgresql.org/docs/10/auth-methods.html
https://stackoverflow.com/questions/64210167/unable-to-connect-to-postgress-db-due-to-the-authentication-type-10-is-not-suppo

@gdey excellent. That driver is due for an upgrade. The newest version of pgx is a bit of a rework but it should not be too crazy. I know @ear7h has done the upgrade before.

I also got the same error, is there any way to fix it?
`D:\tegola>tegola.exe serve --config=config.toml
2021-12-18 00:36:55 [INFO] root.go:63: Loading config file: config.toml
2021-12-18 00:36:55 [INFO] config.go:309: loading local config (config.toml)
Error: could not register providers: Failed while creating connection pool: unknown authentication type: 10
Usage:
tegola serve [flags]
Aliases:
serve, server
Flags:
-h, --help          help for serve
-n, --no-cache      turn off the cache
-p, --port string   port to bind tile server to (default ":8080")
Global Flags:
--config string   path or http url to a config file, or "-" for stdin (default "config.toml")
could not register providers: Failed while creating connection pool: unknown authentication type: 10
D:\tegola>
`
I also edited the pg_hba.conf but it doesn't work.
`# TYPE  DATABASE        USER            ADDRESS                 METHOD
"local" is for Unix domain socket connections only
local   all             all                                     trust
IPv4 local connections:
host    all             all             <IP_ADDRESS>/32            trust
IPv6 local connections:
host    all             all             ::1/128                 scram-sha-256
Allow replication connections from localhost, by a user with the
replication privilege.
local   replication     all                                     trust
host    replication     all             <IP_ADDRESS>/32            trust
host    replication     all             ::1/128                 trust
`

@anhln8x yes, we need to upgrade to pgx v4. Would you be interested in helping with this effort? We absolutely want to get this upgrade done, but it requires updating the postgis data provider and a good deal of testing.

A pull request has been submitted to address this issue. It would be great to have some help running some QA tests. Please feel free to pull down and build the code.

this answer worked for my to fix the problem, but it's a security downgrade: https://stackoverflow.com/questions/64210167/unable-to-connect-to-postgres-db-due-to-the-authentication-type-10-is-not-suppor

@gregorwebdev the current PR I mentioned above is addressing this issue. We're close to polishing out the details. You can try the code if you're interested and you won't need to downgrade security.


Weather API issues

This is a follow up on https://github.com/freeCodeCamp/freeCodeCamp/issues/15871#issuecomment-328652410
There are two major issues with the weather API:

[ ] Temperature issue. Many times, it shows minimum and maximum temp equal and it changes when you reload, which is not possible practically.
[ ] Location is wrong. The location provided by the API is not perfect. In many cases, it's completely wrong for many instances.

Thanks :+1:

Post your code so we can see if we can figure out what's causing this problem.

@AshishkrGoyal thanks for the issue. It is a bit unclear to me which freeCodeCamp API you're referring to. Are you talking about a challenge itself or the freeCodeCamp website? Also next time, please fill out the issue template so it helps us understand your issue more clearly. Thanks!

@erictleung  i am talking about weather API of freecodecamp.
Thanks 👍

Thanks for reporting this @AshishkrGoyal!
Useful links:
Show the local weather challenge
API
API source - can't find this yet (@MiloATH or anybody else, do you have a link for this?)
I can confirm that the API can act a bit weird. I'll share some links and tell you what's wrong.

?lat=30.2498&lon=30.3086 Coordinates are rounded down to two decimals. This can give results in a location somewhat close to where you are, but not exactly where you are. (I got this example by coming up with random coordinates. It's close to correct)
When I test an application using the API myself, the geolocation API gets my location correct within a distance of less than 10 meters. The rounded down results from the weather API were a little over 300 meters of (that's also about 300 yards). That's enough to show the wrong name in this case, but not enough to give the wrong weather results. The temperature displayed for my location is still correct. Depending on what the decimals of your location are, the distance could be a bit different, but not a lot. My latitude got almost no rounding, my latitude got near the maximum change from rounding.
?lat=9999&lon=9999 It seems to default to the example coordinates when given invalid coordinates. This makes it difficult to see when you're doing something wrong. When the issue is actually caused by an invalid request, it can easily be seen as an invalid response. Interestingly, it doesn't link to an icon when using invalid coordinates, and the weather information is different from when you actually use the default coordinates (compare the previous link to ?lat=35&lon=139).
I think I have seen the issue where min and max temps were equal, but I haven't been able to reproduce it consistently yet. If anybody else can, please let me know! Looking at the code might help with this.

@AshishkrGoyal Can you share some of the examples that gave the wrong location for you?

@systimotic
sure i will share with you my pen ASAP!!!
thanks for concerning 👍

@systimotic it is link for my codepen here you can see the complete code for my project which is developed with using freecodecamp API.
https://codepen.io/AshishkrGoyal/full/GvBprw
Thanks 👍

@systimotic @AshishkrGoyal We have been receiving many complaints regarding the Weather API. I would like to talk about this in detail.

Weather on Desktop - By FCC Weather API

Weather on Desktop - By https://weather.com

Weather on mobile device - By FCC Weather API

Weather on mobile device - By https://weather.com
In all the cases above. Location shown by FCC weather API is accurate as compared with https://weather.com
There is a slight variation in temperature which needs to be resolved.
Conclusion

[ ] Resolve inaccurate temperature issue with FCC weather API. @systimotic @QuincyLarson
[x] Location shown by the FCC weather API is correct. @AshishkrGoyal

@AshishkrGoyal Please try checking the weather on a GPS enabled device (eg. mobile device). You'll get accurate location details.
Please talk about that min. max. temperature issue in detail and if possible provide some relevant screenshots.

I made a repo for the glitch app. Please see https://github.com/MiloATH/WeatherAPI. I am more than willing to transfer ownership to freeCodeCamp if they want the project. I still need to add continuous integration and there are other things which could make this better. This is still a work in progress, but it is in the right direction. Also, it might be cool if we list campers projects on the landing page and let campers add their own (just a thought).

@MiloATH Awesome! Yes - once it's ready, load it into Glitch and share a link to it. We can then "remix" it (fork it) from your account to freeCodeCamp's Glitch account, then update the URL in the challenge. Please let me know once you're ready for us to do that. I would keep this as simple and functional as possible.

@QuincyLarson The biggest challenge with using "remix" is the API keys. What do you suggest? Won't each remix require it's own API keys?

So from what I can tell, the FCC weather API uses data from openweathermap. (Going off of Milo's repo he shared.) I think more of the problem with the temp & location/name inaccuracies simply has to do with openweathermaps' data.
From my testing, the temp seems to be pretty accurate for places in the US, and off a few more degrees in other countries. They also round their coordinates down to two decimal places, which might explain some of the odd names that show up. I'm not sure there is much that can be done to fix these, as it has to do with openweathermaps' information, which we don't have any control over. (Did my testing using the api call in the browser, and comparing the info with weather.com's info.)
As for the temp_min and temp_max sometimes showing the same info.....this has to do with the FCC API using the current weather call to openweathermap. Reading through their docs, the min/max in the current weather API is meant to show differences in different areas of big cities, and not as we might normally think of a daily min/max. It's an optional thing to show the developer some variances in that area. So, not reliable to use as a daily min/max.

@MiloATH To be more clear - campers wouldn't need to get an API key because they would hit an endpoint on our Glitch app, which would use its API keys to access Open Weather Map's API, then pass the results back to the camper.
So this would only be remixed once: from your original Glitch.com project over to freeCodeCamp's Glitch account (where it could be collectively maintained by contributors as needed). We'd add our own API keys. Then no further API keys would be necessary.

@lindakatcodes just found the same info, looks like the name min and max temp is a bit confusing and the expected result would be the min and max temperature of the current day. But this is wrong.
https://openweathermap.org/forecast5#min

@lindakatcodes You may be able to adjust for some of these quirks on the Glitch.com app we're using as a sort of pass-through to the Open Weather Map API.

@QuincyLarson I'd be happy to help if I can! Just let me know what I can do and I'll look into it. I looked through the repo that @MiloATH posted above and didn't see anything that seemed like it would manipulate the open weather map info....but it's possible I missed something or didn't quite have the full picture.

@MiloATH Can you point to a good place in  https://github.com/MiloATH/WeatherAPI where @lindakatcodes might be able to experiment with manipulating the open weather map data before it gets passed to the end user?

@lindakatcodes Most of the data is requested and returned to the user using https://github.com/MiloATH/WeatherAPI/blob/master/server.js#L43. You could add a data manipulation function and call it right after line https://github.com/MiloATH/WeatherAPI/blob/master/server.js#L66.

Has consideration been made to using a different weather API, such as Yahoo! Weather? A jQuery plugin simpleWeather.js cdn makes weather requests simple. Response includes high / low for the day, as well as a 10-day forecast.
Not included in simpleweather's response are the geographic coordinates (a decision made by the maintainers of simpleweather), but when using Yahoo's YQL console for weather.forecast, lat and lon are shown to have six digits of accuracy.
"item": {
     "lat": "37.371609",
     "long": "-122.038254",

// example simpleweather usage
navigator.geolocation.getCurrentPosition(p => {
  const { latitude: lat, longitude: lon } = p.coords
  const location = `${lat},${lon}`
  $.simpleWeather({
    location,
    success: console.log
  })
})

I'm willing to look into this, see if it's more accurate than our current setup.

Alright, bit of a status update. Apologies if this is long!
I submitted a pull request to the repo @MiloATH made (https://github.com/MiloATH/WeatherAPI/pull/3) with a few small fixes. I added some extra information to the main API view that explains the min/max temp issue, and gives some extra links to open weather map's docs for weather descriptions and the current weather, if any other information is needed from that. Should hopefully clear some things up for folks.
Also included a small validation check in the main API JS file, to be certain a user's submitted lat/lon coordinates are valid options. If not, it returns an error telling them it's not in the valid range, and what that range should be. (Some folks in Issue #15767  had some questions on this.)
I checked into the suggested simpleWeather/Yahoo idea above, and from my tests the names were closer to correct, but the temps were still sometimes off when compared to the weather channel's website.  Since I know, whenever the beta becomes the core, that this challenge is moving off the main map and into extra challenges, it didn't seem worth switching off of open weather map just for the names. Also, I'm not sure how the jQuery plugin would work, but Yahoo's weather API has a rate limit of 2,000 calls a day, whereas open weather map is only limited on a per-minute basis. Just seems more accessible for campers this way.
I'm honestly completely stumped on how to adjust the temp, and if it's even worth it. The initial issue that opened this thread was on the min/max idea, which I've added an explanation for on the API view. As far as it not matching what weather.com says is the current temp....I'm not sure there's anything feasible to do for that. I believe weather.com uses wunderground for their info, which has a rate limit that doesn't seem quite feasible for fCC. Just my opinion though, I might be wrong on that. Definitely interested in other ideas on this if anyone has some.
As for making the names better....I do think pulling a name based on the HTML5 geolocation info would be a better way to go. I think open weather map's places data just isn't quite as accurate, since it rounds the coordinates to 2 decimals. However, I couldn't decide on an API to use for that. There's quite a few options out there....yahoo, google maps, locationIQ, mapquest, and others....but they all have their own rate limits, and I just wasn't sure which option might best fit fCC. I'd be more than happy to implement an option if one were to be picked by @QuincyLarson and/or others that have a lot more say in this curriculum than I do.

@lindakatcodes Awesome! I left a comment on your PR.
@vkWeb @AshishkrGoyal what are your thoughts on @lindakatcodes's findings?

I'm closing this issue as stale since it hasn't been active lately. If you think this is still relevant to the newly updated platform, please explain why, then reopen it.


non-default argument '<field name>' follows default argument false positive when using Field without a default value before field that does not use Field

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
at runtime, pydantic seems to think that a Field that does not have a default parameter is optional, and incorrectly raises a TypeError.
in this code, neither of these fields are optional, so it shouldn't raise an error.
Example Code
from pydantic import Field
from pydantic.dataclasses import dataclass

@dataclass # runtime error: TypeError: non-default argument 'b' follows default argument
class Foo:
    a: str = Field(repr=True)
    b: int

i also verified that the issue does not occur with the standard library dataclasses:
from dataclasses import dataclass, field

@dataclass) # no error
class Foo:
    a: str = field(repr=True)
    b: int

workarounds
calling Field with no arguments on the second field
@dataclass
class Foo:
    a: str = Field(repr=True)
    b: int = Field()

or using Annotated:
@dataclass
class Foo:
    a: Annotated[str, Field(repr=True)]
    b: int

Python, Pydantic & OS Version
pydantic version: 2.8.2
        pydantic-core version: 2.20.1
          pydantic-core build: profile=release pgo=true
                 install path: C:\Users\user\project\.venv\Lib\site-packages\pydantic
               python version: 3.12.0 (tags/v3.12.0:0fb18b0, Oct  2 2023, 13:03:39) [MSC v.1935 64 bit (AMD64)]
                     platform: Windows-11-10.0.22621-SP0
             related packages: typing_extensions-4.12.2
                       commit: unknown

Another workaround is to use @dataclass(kw_only=True)

Thanks for the report, this is an unfortunate bug. The building process of Pydantic classes is somewhat hacky, I'll see if this can be fixed without too much refactoring.

This reminds me of https://github.com/pydantic/pydantic-core/issues/1260


BaaCredentialsPanel

a component for a basic access authentication

Let's always use the singular form of "credential", cause for BAA there is always only one credential pair needed, containing
a username and a password (see also https://github.com/ldbv-by/bav4-nomigration/pull/1019/files#diff-711d4ffc37f2003602dc01548e38862bccfc9f7662d6cd392bbf7e751d9d788d)


iOS 13 push support

Anything in the works? pyAPNS was updated to 0.6.0 a month ago with support for the new keys: https://github.com/Pr0Ger/PyAPNs2/releases

@ekimia Run the latest from git and it supports ios13. There may be an issue with pyAPNS setting push-type for voip certs. I'm currently looking into that.

Can somebody explain how to use the new keys?  The docs only explain how to generate a .pem from the old keys.  https://github.com/jazzband/django-push-notifications/blob/master/docs/APNS.rst

@matthewh What's the state of that possible issue with pyAPNS settings for voip certs?

@matthewh the django-push-notifications package is displaying an error when we install "apns2==0.6.0",
error: "ERROR: django-push-notifications 1.6.1 has requirement apns2<0.6.0,>=0.3.0, but you'll have apns2 0.7.0 which is incompatible."
And "apns2==0.7.0" has the support of key "push_type=alert" which helps to send a push notification when the app is in the foreground.


Safari MacOs and iOs forcing website zu reload

Attach (recommended) or Link to PDF file here:
cannot attach the file due to privacy reasons
Configuration:

Web browser and its version: Safari 14.1.2
Operating system and its version: MacOS Bg Sur 11.6
PDF.js version: 2.9.359

Unfortunately I cannot give exact steps to reproduce this issue but I try to be as precise as possible.
We use the pdfjs viewer in an <iframe> within a Vue application which is working perfectly fine for many documents.
<iframe src="/pdfjs/web/viewer.html" width="100%" id="pdfViewer" ref="pdfViewer" frameBorder="0" />

via localStorage we save a PDF Base64 string within the app and let the viewer consume it.
      var base64 = localStorage['currentPDFBase64']
      base64 = base64.split(";base64,")[1]

      function base64ToUint8Array(base64) {
        var raw = atob(base64);
        var uint8Array = new Uint8Array(raw.length);
        for (var i = 0; i < raw.length; i++) {
        uint8Array[i] = raw.charCodeAt(i);
        }
        console.log("4 Returning Value Uint8")
        return uint8Array;
      };

      pdfData = base64ToUint8Array(base64);

      PDFViewerApplication.open(pdfData)

now this works also fine
But the second after PDFViewerApplication.open(pdfData) is called, Safari (and only Safari!) is reloading the website and gives me the following awesome message:

I tried to identify possible problems in the documents but cannot find any.
I just want to know why Safari is reloading the page and how I can prevent it
Maybe this issue is know and you can give me any hints in the right direction?
Many thanks in advance.

Attach (recommended) or Link to PDF file here:
cannot attach the file due to privacy reasons

That unfortunately means that we cannot really help, since it's not possible to debug an issue that cannot be (easily) reproduced.

We use the pdfjs viewer in an <iframe> within a Vue application which is working perfectly fine for many documents.

Furthermore, please note that we unfortunately cannot provide support for various JavaScript frameworks (e.g. "Vue" in this case).
Also, code-snippets are usually not all that helpful on their own; please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.

But the second after PDFViewerApplication.open(pdfData) is called, Safari (and only Safari!) is reloading the website and gives me the following awesome message:

That sounds somewhat like issue #13726, which is a bug in the Safari browser itself.

All-in-all, closing since we cannot provide assistance without a lot more information and that it's likely a duplicate of #13726.


Error in README

git clone https://github.com/snapkite/snapkite.git

should be
git clone https://github.com/snapkite/snapkite.git

@adampasz they're the same?

Oops.
git clone https://github.com/snapkite/snapkite-engine.git
Sorry, didn't have coffee yet.
FYI, snapkite is used in React.js Essentials from O'Reilly.

@adampasz thanks, fixed.
Yeah, I am the author of React.js Essentials (published by Packt Publishing).

Oh. Duh. :)


./dir should print "./dir is a directory" see photo

fix in f48c8596f84c241f30ad5e862f1751df80365ff6
but do double check @Chr-ss


What has been the level of adoption of ISDA’s CDM in the financial industry?

Currently there is one vendor whose model is considered CDM compliant, while many others are engaged in developing the model such their use case can be supported. An example is the release of DAML Clearing model back in October 2020. https://www.isda.org/2020/10/06/isda-and-digital-asset-launch-cdm-clearing-pilot-using-daml/. Legend will be able to help all participants to engage with CDM and therefore vendor solutions as adoption picks up.

There was significant progress in the adoption of the Common Domain Model (CDM) in 2020 and early 2021.  Most relevant for this forum is the incorporation of the CDM into the Goldman Sachs Legend platform, which was used in FINOS working groups to contribute new components to the CDM in 2020 and is continuing to be used in 2021.(https://www.linuxfoundation.org/en/press-release/goldman-sachs-open-sources-its-data-modeling-platform-through-finos/ )
Additionally, the CDM is being adopted by a number of banks, clearing organizations, technology firms, and regulatory institutions around the world.  Banks are adopting it internally for streamlining portfolio data sharing, regulatory reporting, and other purposes.
Technology adopters of the CDM include Axoni, who implemented the CDM Equity model to support their trading platform (https://axoni.com/press/axoni-and-regnosys-announce-scala-implementation-of-isda-common-domain-model).  ISDA also recently announced  pilot implementation of the CDM for the clearing of interest rate derivatives using DAML, an open-source smart contract language created by Digital Asset. The Australian Stock Exchange and UBS have been providing input to validate additional functionality of the CDM for this pilot.
Clearing organizations will be using the CDM combined with Distributed Ledger Technologies (DLT) and other solutions for end-to-end processing, clearing, and life cycle management of OTC Derivatives.
Regulatory authorities are working with ISDA and the financial community to insert regulatory reporting code into the CDM in order to facilitate accurate reporting with minimal effort by reporting firms.  An example of this capability was demonstrated in the recent G20 Techsprint, which was won by ISDA and the fintech firm REGNosys who jointly developed a digital regulatory reporting pilot for the Monetary Authority of Singapore.
No additional public information regarding these adoptions is available at this time.

thank you @TSanborn-ISDA !


Fix: #3544. Fix empty selector is being provided to querySelectorAll.

messageList, getUpdateEvents: Use lodash.isequal to compare object.
web, msg read event: Make sure querySelectorAll never get empty selector

For more debug information, please refer #3544

Thanks @jainkuniya !
Quick remark, having not yet looked at the code: please update the issue references to point at the original issue #3539, rather than #3544 .

We chatted about this briefly in our video call today. Other than the nit above about issue references, just one small comment:

The condition !uevent.messageIds is always false, so let's take that out. The type is Array<number>, and an Array is always truthy.

In general, for everything internal to the app, I want to rely on the types we've expressed in Flow, and not insert side conditions at runtime. If this value were null or undefined for some reason, that'd be a bug inside the app -- and a hole somewhere in our type-checking -- and we should just fix that bug.
(In some cases it could potentially be appropriate to have a runtime check of a condition that would represent a bug in the app. But if we did, it should be an error or at least get logged to Sentry. And in this case I don't see a particular reason to worry that there'd be a type error here that this would catch.)

After that, looks ready to merge!

Updated 👍

Thanks @jainkuniya ! Merged.
On reading again, I decided the optimization that switched to !isEqual from !== wasn't actually necessarily a good optimization. So I added a new commit on top to change it: ce4ed6ab2 .


[Error: No useable methode found:["native","idb","localstorage"]

problem：
react-native use RxDB,  I chose react-native-sqlite as an adapter ，When debugging mode is turned off，I got this error '[Error: No useable methode found:["native","idb","localstorage"]',
but Turning on debuge is normal.
code:
import * as RxDB from 'rxdb'
import SQLite from 'react-native-sqlite-2'
import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite'
const SQLiteAdapter = SQLiteAdapterFactory(SQLite)
RxDB.plugin(SQLiteAdapter)

let db = await RxDB.create({
        name: "userId",
        adapter: 'react-native-sqlite',
      })

console：

You need to set multiInstance to false.
let db = await RxDB.create({
  name: "userId",
  adapter: 'react-native-sqlite',
  multiInstance: false // <-- Here
})

@nerfpops  thank you


Add Cucumber/Gherkin based integration tests

I have implemented a few basic integration tests against a running Databroker.
The tests have been implemented using the Cucumber framework
which allows specifying test scenarios using natural language following
Gherkin syntax.
The general idea is to implement basic functionality for interacting with the
system under test (the Databroker) and asserting outcomes. Based on this
functionality, one can then easily add more tests by simply writing additional
test scenarios.

Cucumber looks interesting, though I never  looked into it any deeper. Could you maybe present what you did (and what would need to be done to extend the scope of this tests) at the next KUKSA community call (Thursday 16th 13 CET, see here https://eclipse.github.io/kuksa.website/resources/ for link)?

It seems like a pretty cool concept to me. Any opinions by other guys? I already "got the tour" from @sophokles73 , I think he is happy to show anyone else as well.
Speaking of this PR specifically, if we want to move forward with this, the main two open points are

getting the new license/dependency cleared (I can work on that)
an opinion, maybe from @argerus w.r.t to the changes done in this PR to Cargo and the "invasiveness" of the code in databroker. Looks not bad to me. Feels fine to ne, but you have a better overview. Obviously, when hacking databroker, tests might fail, or when we change som design or apsect of the API, tests need to be adapted, but that is sort of the point :)

Ping @argerus: Should we move forward with this? It has been open quite some time (and meanwhile needs rebasing). We should decide, and if we want it, rebase & merge.
I "like" it, but that is not a very technical argument. Any opinions?

Should we move forward with this?

I thought we where waiting for the license approval (from Eclipse), since this PR adds a license which we haven't whitelisted yet...

Ah good point, I need to follow up on that. Assuming it is fine, we want this?

Yes, I've postponed reviewing it in detail (given that we're waiting for license approval).
But in general it looks good, and it's definitely something that would benefit the project when merged.

@argerus @SebastianSchildt I have rebased to current HEAD ...

license-wise I think we can merge this. BlueOak "looks fine to me", and we have a (relatively fresh) CQ open Eclipse side. This is "only" a test dependency, and worst case can be pulled. We have some CQs from other dependencies already "in" open for > 1 month now. So let's get this up to date and merged based on our best understanding, and react on anything that might come out of the CQs

Then I can rebase again (one last time?) ;-)


Does it work with the Jetson Nano 2GB?

The image seems not to work with the Jetson Nano 2GB. It is stuck on the logo screen.

I'm sorry. Indeed I made the image with 4 GB Jetson Nano.
Please follow the instruction in the website to upgrade manually.

I am currently using Jetson Nano 4GB, but I have the same issue that keeps stuck on the logo screen.
Are there any problems expected??

@lgkimjy,
Just flashed a fresh SD card with JetsonNanoUb20_2.img.xz downloaded from Sync. It worked flawlessly. No problems.
First the logo screen, then some terminal commands and finally the 'regular' Nvidia screen.

I have used the mapping and unfortunately I have to notice that the performance is massively worse than with version 18. Currently the CPU is not overclocked, does it possibly make sense to extend the imaging so that the CPU is increased to 2.0?

@merhovon,
On the 4 GB RAM version, there is no performance drop whatsoever.
On the 2GB RAM version, I don't know. Due to its limited amount, it makes sense that (time-consuming) memory swapping will occur more often than with the 4 GB version.
Overclocking the CPU can give you a few per cent more speed.


Pages 404 when editing a child page whos parent has an unpublished slug change

I've built a site structured heavily around a few pages having many children.
It has recently been handed over to the client & they've decided to change a few of the parent page titles. They've also changed the slugs, and then gone to make edits to child pages. When they switch to edit mode the page 404s because the parent is at a different slug in edit mode.
The obvious solution here is to publish your changes immediately after changing a title/slug but I wondered if this had ever been raised before. I suspect the way CMS switches between edit/live is heavily based in javascript and to avoid this you'd actually have to redirect in order to pick up the changed url and avoid this.

Fixed in #3901


rails_admin.css cannot be found by webpacker after compilation on rails_admin 3.0.0.beta

Describe the bug
👋 Hello again!
Testing 3.0.0.beta with a staging environment, I came up with this error:
[1f8b3ad2-ef8c-4856-a55b-5d997308e8f0] ActionView::Template::Error (Webpacker can't find rails_admin.css in /home/ubuntu/app/public/js/packs/manifest.json. Possible causes:
1. You want to set webpacker.yml value of compile to true for your environment
   unless you are using the `webpack -w` or the webpack-dev-server.
2. webpack has not yet re-run to reflect updates.
3. You have misconfigured Webpacker's config/webpacker.yml file.
4. Your webpack configuration is not creating a manifest.

In order to fix it, I had to include app/javascript/stylesheets into config/webpacker.yml in the additional_paths: section. Not sure if it's a configuration issue or something we need to tell rails to pick up, so feel free to ignore this if that's the case.
additional_paths: ['app/javascript/stylesheets'] // config/webpacker.yml

Reproduction steps

Compile webpacker assets for staging or production environment.
Run the application in staging or production environment.

Expected behavior
I expect rails to compile the rails_admin.css file when compiling webpacker assets.
Additional context

rails version: <IP_ADDRESS>.
rails_admin version: 3.0.0.beta

I couldn't reproduce this locally in a normal way. The only step was:

Build assets by rails assets:precompile in development mode (= extract_css: false)
Serve assets in production mode (= extract_css: true)

So I suspect this to be inconsistency of extract_css. Also additional_paths didn't make any difference.
Could you check the process you build assets?

I'll try to test again from a clean rails app to see what happens.

OK, I tested this again in a fresh rails app and it compiles with production environment. It seems it's a problem with my configuration in a different environment (staging). I'd consider this an user problem, so I'm going to close it.


Map Filter - Widget size and popup change

Widget
Map Filter
Version of widget
1.0
Bug or Enhancement
Bug
Repo Steps or Enhancement details
I have two monitors with different resolutions. One is 1280x768 and the other is 1176x664. This small change makes a big difference. I also tested at tablet and phone dimensions.

Observations on responsiveness:

On smaller screens and when browser is not maximized, widget uses half the screen real estate and the popups change to the mobile type.
In most of the resolutions I checked, over half of the widget was white space. Perhaps the filter criteria container can expand based on the number of criteria?
The buttons at the bottom can cover part of the filter criteria container when there are multiple criteria set.

As a side note, similar behavior is seen with the batch attribute editor.

The difference being batch attribute editor breaks completely when the screen resolution forces the use of the mobile popup. Edits cannot be done because the BAE mobile popup lacks the details button to edit fields and click save. @previnWong has done a great job on both of these widgets. The batch attribute editor gets a ton of use in our office. Thank you. I'm hopeful that both widgets will function well in the future for our field workers with mobile devices.

@DStokes, can you log an enhancement on support.esri.com for the BAE and the screen resolution?  The responsiness of the app is part of the widget framework and not the widget.
We will look into the map filter issue.

Sorry, was @DShokes

@MikeMillerGIS, I will do that. Thanks.

@DShokes thanks for the issue with the mobile pop up for Batch Attribute Editor.  We'll look into it. Don't forget to log a request with support.  In the meantime, there is a URL parameter (MobileBreakPoint), that you can pass in to override the pop up behavior in mobile to get the default one.  It was meant for users that embedded WAB into a webpage, the small embedded window forced the app into mobile mode.
Here's a link to the doc.  It's alittle bit of a trial and error to get the right number, but it works. You can use it as a work around for now.
http://doc.arcgis.com/en/web-appbuilder/manage-apps/app-url-parameters.htm#ESRI_SECTION1_01F86DEC2181416888D44A32D3096887
sample below

Awesome, I was unaware of mobileBreakPoint @previnWong. Adding the &mobileBreakPoint=200 to the AGOL items app url  did the trick!.  I've got an open case to log the enhancement.  Thanks you.

One workaround is to use the browser's zoom to zoom out past the mobile view threshold.

@DShokes we made several changes to Batch Attribute Editor today.  One of which is the mobile pop up.  It should show the pop up without the URL parameters.

Closing issue as Batch Editor is now a core widget


bacalhau logs panics (always?)

% go run . logs --simon
panic: unable to redefine 'h' shorthand in "logs" flagset: it's already used for "history" flag

goroutine 1 [running]:
github.com/spf13/pflag.(*FlagSet).AddFlag(0x140019bff00, 0x140019cd860)
        /Users/simon/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:874 +0x354
github.com/spf13/pflag.(*FlagSet).VarPF(0x14001315b98?, {0x107425a80, 0x140018bdc6e}, {0x106372ea5, 0x4}, {0x106bf1de0, 0x1}, {0x140018bdc61, 0xd})
        /Users/simon/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:831 +0x148
github.com/spf13/pflag.(*FlagSet).BoolVarP(0x106f649a0?, 0x1063a5306?, {0x106372ea5?, 0x1063a573e?}, {0x106bf1de0?, 0x1?}, 0x1?, {0x140018bdc61?, 0x0?})
        /Users/simon/go/pkg/mod/github.com/spf13/pflag@v1.0.5/bool.go:55 +0x48
github.com/spf13/pflag.(*FlagSet).BoolP(...)
        /Users/simon/go/pkg/mod/github.com/spf13/pflag@v1.0.5/bool.go:80
github.com/spf13/cobra.(*Command).InitDefaultHelpFlag(0x1?)
        /Users/simon/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1148 +0x10c
github.com/spf13/cobra.(*Command).execute(0x140019afb00, {0x1400196b490, 0x1, 0x1})
        /Users/simon/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:858 +0xb0
github.com/spf13/cobra.(*Command).ExecuteC(0x1400198fb00)
        /Users/simon/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x340
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/simon/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/bacalhau-project/bacalhau/cmd/cli.Execute()
        /Users/simon/bacalhau/cmd/cli/root.go:196 +0x334
main.main()
        /Users/simon/bacalhau/main.go:37 +0x140

Something to do with it trying to automatically generate a help flag when the usage is printed.

I'm looking at this as part of the other issue, I think it may have happened during the refactor


🐛 Fix running from ASAR archive

ref: https://www.electronjs.org/docs/latest/tutorial/asar-archives#executing-binaries-inside-asar-archive
fixes #26

wow, I just try it in my code. The error is gone.
You are right.
I could not wait to use the new version anymore.

Thank you for testing! 🙏
Released as 🚢 0.4.2 / 2023-09-01


List userdata with name or keyword not list anything

ISSUE TYPE

Bug Report

COMPONENT NAME

API

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

N/A
OS / ENVIRONMENT

Ubuntu 22.04 for cloudstack
KVM on Rocky linux
SUMMARY

If I use listUserData api for list all userdata everything works well, but if I use keyword or name to fitler data, i receive a empty list.
IAlso on UI the table is empty.
STEPS TO REPRODUCE

Call the `listUserData` with `keyword` or `name` param

EXPECTED RESULTS

Showed userdata filetr by keyworkd or name

ACTUAL RESULTS

Empty list

fixed by #9751


updated az cosmosdb command per deprecation message

@selvasingh
I was also going to raise PR for this.
Can you merge this??


Adding Contribution Guidlines, for better Contributions without any conflicts.

Assigning you, pls explain what guidelines you will be adding and where?

Hey @zeel-pathak generated a PR for the issue. #14


Allow setting logger function

I have 2 use cases where this might be useful:

when one wants to check WHERE segment.track was used one should use console.trace instead of console.log. Right now in debug mode all logs originate in the same line in angular-segment-analytics source which is not useful for finding a call with incorrect arguments)

when one wanted to use different logger than console (for example $log)

Suggested API:

if setDebug() is called with a boolean then console.log is used, if function is passed this function is used, or
setLogger(someFunction)

This makes sense @jrencz! If you can whip up a PR with the API you prefer and some test coverage I'd be happy to review and merge.

FYI: I'm working on a solution right now


Allow networked imports

Hello, I was looking to try out this repo in a project, but I'm only using native ES6 imports, which prevented me from trying this out. I took a look and it seemed like it would be pretty simple to open a PR to allow this sort of usage.
This PR:

removes lodash (seemed pretty easy to support things natively)
adds support for usage via native ES6 imports

No rush on this, but I was going to make these updates anyhow and figured you might be interested in them as well 👍

Coverage remained the same at 100.0% when pulling dadf1248f0f3ecd9baae9fd5a8bfded7dc36aedc on theengineear:allow-networked-imports into 15e1188371e684e814e05a250bb1a1c75206f82b on zeroturnaround:master.

The part of removing lodash has been integrated and released as part of 3.1.0.
However, I'm for now rejecting the rest of this PR.

The part of removing lodash has been integrated and released as part of 3.1.0.
However, I'm for now rejecting the rest of this PR.

That's fine — thanks for taking a look anyhow!

That's fine — thanks for taking a look anyhow!


GitHub issue 39

This should fix Issue #39.
@cjstehno I did not merge this in yet in case you are doing some work as well and we need to coordinate merges. The new tests in HttpGetTestKit should indicate the main use cases of the new exception handler.
The main strategy now for exceptions is now:

By default allow exceptions to propagate.

If 1 is not feasible (because of interface restrictions, lambda restrictions, or too inconvenient), then exceptions should be wrapped in a TransportingException and re-thrown. The TransportingException is a signal to unwrap the exception before calling the exception handler.

In the Builders wrap all request/response executions inside a try/catch block. In the catch block(s) call HttpBuilder.handleException to handle the exception and use the value returned from that method as the return value for the request/response. All Builders do this now.

This should ensure that the original exception thrown makes it to the exception handler. Handlers can be chained just like success/failure handlers can.

Cool. I will merge it into development tomorrow and add some info to the user guide about it. I have a few more things to get in before the next release. We can talk about it on Wednesday.


News letter

As an investor to Scholander Balkan Tours
I would like to get a monthly reminder to send money
So that I do not forget to do my monthly investments
As an person with interest in the skill of the fund manager at Scholander Balkan Tours
I would like to get a monthly news letter with information about the investments
So that I can see the incredible skill of the fund manager

Hello @emilryden, The team look forward to bringing this feature to the investors