Update README about python version

As per https://www.npmjs.com/package/node-gyp , "node-gyp requires that you have installed a compatible version of Python, one of: v2.7, v3.5, v3.6, v3.7, or v3.8."
However, the documentation in README asks to install python2.7. This is a bit misleading. Please indicate all compatible python versoins.

Thanks for pointing this out. We would welcome a PR to resolve this.


Add troubleshooting information regarding using heapster and autoscaler

Many users install heapster to get autoscaling working.
Maybe it's worth adding an additional point for those users to clarify the need of setting CPU request in order to get it working, since the user is able to see the metrics but unable to get it working in the autoscaler.

This change is

I signed it!

@k8s-bot ok to test

This is unrelated to influxdb. How about putting this into heapster/docs/debugging.md?

I suggested that file as it includes the common troubleshooting guide, and would be the most common place to look for.
Maybe it can be added to debugging and link it from docs/influxdb.md

@agsola I'm fine with linking to docs/debbuging.md from docs/influxdb.md

This is not relevant for InfluxDB.. and afaik HPA is not depends on any sink...

Agree with @AlmogBaku


docs: Add "added in version" to API reference

What does this pull request do?
This PR adds Added in vx.x.x text to each API method. Here's what it looks like:

Related issues
Closes https://github.com/elastic/apm-agent-python/issues/983.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #984 opened

Start Time: 2020-12-09T21:51:54.526+0000

Duration: 3 min 48 sec

:grey_exclamation: Flaky test report
No test was executed to be analysed.


[DataLake Store - filesystem api-version: 2015-10-01] Semantic validation fails with duplicate API path errors

/azure-rest-api-specs/arm-datalake-store/filesystem/2015-10-01-preview/swagger/filesystem.json
Errors
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{destinationPath} : API path (or equivalent) already defined: /webhdfs/v1/{destinationPath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{msConcatDestinationPath} : API path (or equivalent) already defined: /webhdfs/v1/{msConcatDestinationPath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{listFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{listFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{getFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{getFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{flushFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{flushFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{directFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{directFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{setAclFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{setAclFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{modifyAclFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{modifyAclFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{removeAclFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{removeAclFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{defaultAclFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{defaultAclFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{aclFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{aclFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{filePath} : API path (or equivalent) already defined: /webhdfs/v1/{filePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{renameFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{renameFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{setOwnerFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{setOwnerFilePath}
DUPLICATE_API_PATH : #/paths//webhdfs/v1/{setPermissionFilePath} : API path (or equivalent) already defined: /webhdfs/v1/{setPermissionFilePath}

@veronicagg this is by design. There is no way in swagger today, that I am aware of, to differentiate methods by query parameters. Each of these paths behaves differently based on a query parameter (which then also results in different requests/responses and parameters being passed in to the call). If there is some other way to make "unique" paths that include a static query parameter, I can make the change, otherwise this will have to remain.

@veronicagg please close this, we are not going to fix the 2015-10-01-preview swagger API as we have moved on to the latest 2016-11-01. I have a PR out to remove all of our preview swagger specs now.


Wrong icons size on docs / CSP Issue

If you visit https://endoflife.date/docs/api the icons/svg are in the wrong size.
This is because the CSP blocks inline-src for styles.
Screenshot:

This should be fixed upstream imo.
The style should be included in https://unpkg.com/<EMAIL_ADDRESS>

It is OK for chrome, but not for Firefox (I am using Firefox 102.4.0esr) :

also it is ok for newer versions of firefox :

@marcwrobel 102.5esr will be released within 1 week, could you also check if it is same there or not because it looks like they fixed in new versions of firefoxes

@usta, OK, i will put a reminder to test with 102.5esr next thursday or later (I do not if it will be available right away in Debian Bullseye repository).

Just checked with 102.5.0esr, still not working :

@marcwrobel could you open a bugreport here about this one : https://github.com/webcompat/web-bugs/issues

Done.

@marcwrobel thank you , i asked that because looks like that bug is not directly related to us but firefox

This issue does not seem to relate to the CSP after all (@devNan0 are you using Firefox ?). Note that I still have the following CSP violation, but I do not see any visible impact, so I think this issue can be closed :
// On chrome
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' https://unpkg.com/@stoplight/elements/". Either the 'unsafe-inline' keyword, a hash ('sha256-MBVp6JYxbC/wICelYC6eULCRpgi9kGezXXSaq/TS2+I='), or a nonce ('nonce-...') is required to enable inline execution.

// On Firefox
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“style-src”). web-components.min.js:2:1407421

The SVG rendering issue has been fixed on latest Firefox versions (see https://bugzilla.mozilla.org/show_bug.cgi?id=1521882) but not yet been backported on Firefox ESR (according to https://github.com/webcompat/web-bugs/issues/114165#issuecomment-1322322883).

@marcwrobel yes i am using Firefox (ESR).
I thought this was an CSP issue because some of the CSS classes that are used for the SVGs are defined inline within the head section. And therefore gets blocked by the CSP.
But i didn't look deeper into this, sorry about that.

I am closing this issue : it is not related to the CSP issue.

Should I open a new issue for the ⚡ icon being too large - that is definitely because of the CSP.

@captn3m0 even if it is a bug or not , it looks cute

@captn3m0, I misunderstood the issue, sorry. The issue raised by @devNan0 is about the size, so let's just reopen this one.

Not an issue anymore with recent firefox version (115.3.0esr), closing this issue.


Updated Colors and Home Screen

This commit does the following:

Adds brand new colors to the Tailwind Theme that match as secondary colors (Blue, Red and Purple)
Updates the Pill Component to support these colors for the background of the pill
Updated layout of homepage to clean up the list of models and prepare for future model types
Adds slightly more padding to the Widget component to make text more readable
Updates the Model Icon to be Purple to introduce the new colors

Going to merge this @a10y since it is a bunch of minor changes to colors and does not touch any core logic or layouts.


Add state to rcc

With react 16, state doesn't need to be created in the constructor. Therefore I would suggest upon creation of stateful components to be included
export default class componentName extends Component {
  state  = {}
  render() {
    return (

    )
  }
}

@ridgekimani I would happily change that but I don't see actually this change.
The example here
initialize the state in the constructor which I consider a good approach
class Clock extends React.Component {
  constructor(props) {
    super(props);
    this.state = {date: new Date()};
  }

  render() {
    return (

Hello, world!

It is {this.state.date.toLocaleTimeString()}.

    );
  }
}

I am closing this as I didn't get any feedback. If I missed something feel free to open it again.


updated chinese translation and add a Boolean flag instead of using text on button to confirm the state of viewing trash bin

language selection part of code is separated from form_load
so that view_trash button code can be simplify
Also the nested if in language selection is replaced by select case may be easier to add more language support
I am now trying moving all message box text and dialog text to same place so that even guys do not know programming can help to translate.

all message box text and dialog text already moved to a new function
a lot of code is changed so there may be some typo


Assets inside a .pck file created from one project becomes null when imported in another project

Godot version
Godot 4.0 Alpha 1
System information
Windows 10 x64 - 21H1
Issue description
Issue Description: Assets inside a .pck file created from one project becomes null when imported in another project.
Expected result: Given that one of the uses of pck is for DLCs. Assets needs to be fully usable in another project.
Steps to reproduce

Create a new project (Exporter) and create a .pck file through:
var packer = PCKPacker.new()
packer.pck_start("sample.pck")
packer.add_file("res://crate.png", "crate.png")
packer.flush()

Create a new project(Importer)

Put the created sample.pck file in the Importer project's "user://" directory.

Import the sample.pck through:
var success = ProjectSettings.load_resource_pack("user://sample.pck")
	if success:
		var imported_scene = load("res://crate.png")
		print(imported_scene)

Encounter the error. Output is [Object:null]

Minimal reproduction project
Importer.zip
Exporter.zip

As the warning message when using it implies, load() does not work in exported projects: https://github.com/godotengine/godot/issues/21626

As the warning message when using it implies, load() does not work in exported projects: #21626
Instead, you should open the PNG file directly using the File class, then use Image class's load_png_from_buffer() method.

I don't think that's correct. load() does work in exported projects because it loads the imported file by remapping the path automatically. Here the problem seems to be that the imported file might not be included in the DLC PCK for some reason.

In traditional and manual way,   importing a .pck created thru Project > Export > Export PCK/ZIP, it works.
Manual way
Export mode: Export selected resources (and dependencies)
And I only checked the "crate.png"
Also, I put "crate.png" in the Filters to export non-resource files/folders field.
The resulting file size thru the manual way is 6KB, while thru PCKPacker it is 1KB.
So I think the problem lies in the way the PCKPacker packs the assets.

The packaging of PCKPacker is to package "crate.png" into pck
Editor packaging is to package crate.png.import + .import/crate.png-xxxxxx.stex into pck
load() is to read the .import file and then get the stex file, so there is no problem with the packaging method of the editor

The resulting file size thru the manual way is 6KB, while thru PCKPacker it is 1KB.
This reason may be because icon, boot_splash, project.binary are included (/editor/editor_export.cpp line: 920-953) @nightrobin

I also encountered a similar problem, the way I am using now is:

Backup and empty project.godot, backup and modify export_presets.cfg
Call instruction packaging
Restore project.godot export_presets.cfg
like this https://github.com/vmjcv/godot-ugc/blob/main/addons/UGC/Utils/Data/Content/ContentPCKPackage.gd

This way you should be able to use the load method directly


Ped shader ped_wrinkle_enveff not exporting properly

1st is exported from CW
2nd is after exported from Sollumz
https://stickerz.is-serious.business/2znjm1d.mp4
pedshaderstuff.zip

The whole embedded texture dictionary is missing, so you probably didn't have the textures exported from CW.

Hey, can you show your Sollumz texture panel of the imported xml in Blender please.

https://stickerz.is-serious.business/566Y9Sq.png

Well, as alex said your embedded texture dictionary seems to be missing. You can reexport the xml and or assign the textures manually in those fields


pduType bad when connecting to Windows 7

xfreerdp -d DOMAIN -u user host.domain.local
connected to host.domain.local:3389
Password:
pduType bad
rdp_client_connect_demand_active failed
Exit code is 131.
Connecting to Windows XP, Server 2003 & 2008 works.

Uh, this works after rebooting the Windows system.

Closing.


Fix use of user controlled values being put through formatting

Closes #102

Git keeps failing in the coverage test somehow.
Merging it anyway.


implemented flow control in the receiver

It eliminates the need of random sleeps in the daemon::spawn_receive_transaction

Oh interesting. Yeah so the core functionality should already exist as an
unbounded file right? Though that now makes me think this implementation
won't handle unbounded correctly with the check file size function. But
that's just a hunch and I'm not looking at the code at the moment.
One way that could be accomplished is in unbounded mode to not send data
until the current max_file_segmemt amount of new data has been added. But
how could it know the file has been closed/rotated? 🤔
On Thu, Mar 2, 2023, 19:29 Nicolae Mihalache @.***>
wrote:

@.**** commented on this pull request.
In cfdp-core/src/transaction/recv.rs
https://github.com/ASU-cubesat/cfdp-rs/pull/19#discussion_r1123967188:

 // The current state of the transaction.

 // Used to determine when the thread should be killed
 state: TransactionState,

// recv sub-state, applicable when state = Active
recv_state: RecvState,
// File size received in the EOF, used also as an indication that EOF has been received
file_size: Option,
// EOF ack prepared to be sent at the next opportunity
ack: Option,
// Finished PDU prepared to be sent at the next opportunity, if the bool is true
finished: Option<(Finished, bool)>,
// Prompt PDU to be processed at the next opportunity
prompt: Option,
// the list of gaps to include in the next NAK
naks: VecDeque,

Actually somehow related to this length, I want to bring out another thing
for your consideration: one of my envisaged use cases would be to have a
kind of "tailing file transfer" - used to transfer log files (or other
streaming files) which are being appended to, so transfer bits from them as
they appear (basically like a "tail -f" via CFDP). The transaction can run
for days and the EOF will be sent only after I determined that the file is
closed (for example rotated by logrotate).
I haven't looked yet what implications this would have in the code but one
of them is to define a minimum file size segment which will be used to
avoid sending data when there is just a few bytes appended to the file
(except after the file has been closed).
Do you think that's a crazy idea?
—
Reply to this email directly, view it on GitHub
https://github.com/ASU-cubesat/cfdp-rs/pull/19#discussion_r1123967188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACB7BLLTRG4M5F3Q7NESMIDW2FJR5ANCNFSM6AAAAAAVNLE2NU
.
You are receiving this because you commented.Message ID:
@.***>

Oh interesting. Yeah so the core functionality should already exist as an unbounded file right? Though that now makes me think this implementation won't handle unbounded correctly with the check file size function. But that's just a hunch and I'm not looking at the code at the moment. One way that could be accomplished is in unbounded mode to not send data until the current max_file_segmemt amount of new data has been added. But how could it know the file has been closed/rotated?

Looking at the sourcecode of tail they either use inotify or do a stat on the file from time to time.
https://github.com/coreutils/coreutils/blob/master/src/tail.c
I will maybe have my own filestore if it turns to be too complicated or too Linux specific.

looks like we can only get inodes for unix and linux via the metadata in std. Which I think is how inotify monitors for closes (I may have been reading that tail code incorrectly. I'm not great with C).  It's a bit more work from the user side, but I could also imagine a script monitoring the file that periodically suspends and resumes the operation on a streaming file. A little gross though

Oh I moved the common.rs file in tests into a new folder so it wouldn't show up in the tests output. A little vain but there was nothing there to actually test. The conflict is really easy to resolve on a rebase though.

Codecov Report
Patch coverage: 94.46% and project coverage change: -0.02 :warning:

Comparison is base (d7e5f43) 93.19% compared to head (8e305c0) 93.18%.

:exclamation: Current head 8e305c0 differs from pull request most recent head 90da675. Consider uploading reports for the commit 90da675 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   93.19%   93.18%   -0.02%
==========================================
  Files          18       18
  Lines        8261     8491     +230
==========================================
+ Hits         7699     7912     +213
- Misses        562      579      +17

Impacted Files
Coverage Δ

cfdp-core/src/transaction/config.rs
100.00% <ø> (ø)

cfdp-core/src/daemon.rs
76.44% <78.04%> (-0.22%)
:arrow_down:

cfdp-core/src/transaction/recv.rs
97.97% <95.70%> (-0.42%)
:arrow_down:

cfdp-core/src/pdu/header.rs
100.00% <100.00%> (ø)

cfdp-core/src/pdu/ops.rs
97.54% <100.00%> (+<0.01%)
:arrow_up:

cfdp-core/src/timer.rs
98.77% <100.00%> (+0.78%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Design start page (home)

Content of the start page is defined in index.md.
Layout elements of the page according to sketches, oru phone call discussion and your personal preferences :sweat_smile:

As discussed yesterday in our telco, I've emptied the startpage for you. After the call, I remembered that you simply can write HTML in the Markdown files. Jekyll's parser distinguishes markdown from HTML and simply passes HTML through.
Hence, you can create the entire start page within  index.md.
The changes are pushed to dev by ecd1a63. Please branch from dev.


CI: Ruby v3.3.0+ requires Puma v6.4.0+

Now that Puma v6.4.0 is out, we can resume testing with "nil" (latest) on Ruby v3.3.0, but we need to prevent Ruby v3.3.0 and future rubies from ever testing Pumas older than v6.4.0.

@fallwith - There's an option to handle minimum Ruby versions in an Envfile's versions array. You can make a given version row a nested array to include minimum and maximum Ruby versions for testing.
Can you try refactoring to remove the 'nil' and replace with nil (no string), and add the nested array for that line?
- 'nil',
+ [nil, 3.3],

Addressed with bbf283d


[Bug]: Failed to launch the browser process!

Bug description
I have a REST API deployed to Heroku with the puppeteer buildpack.
For some reason sometimes the request fails because puppeteer throws one of the following errors:
1.
Failed to launch the browser process! spawn /app/node_modules/puppeteer/.local-chromium/linux-970485/chrome-linux/chrome EAGAIN

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Failed to launch the browser process!
[0405/091201.326548:ERROR:platform_thread_posix.cc(151)] pthread_create: Resource temporarily unavailable (11)
[0405/091201.326655:FATAL:simple_thread.cc(55)] Check failed: success.
#0 0x559bebb89469 base::debug::CollectStackTrace()
#1 0x559bebaeff33 base::debug::StackTrace::StackTrace()
#2 0x559bebb02d50 logging::LogMessage::~LogMessage()
#3 0x559bebb0390e logging::LogMessage::~LogMessage()
#4 0x559bebb7364f base::SimpleThread::StartAsync()
#5 0x559bebb735ce base::SimpleThread::Start()
#6 0x559be9bc27c8 content::SandboxHostLinux::Init()
#7 0x559beb69cd41 content::ContentMainRunnerImpl::Initialize()
#8 0x559beb69aeb9 content::RunContentProcess()
#9 0x559beb69b00e content::ContentMain()
#10 0x559beb6f5fca headless::(anonymous namespace)::RunContentMain()
#11 0x559beb6f5cd5 headless::HeadlessShellMain()
#12 0x559be82e7668 ChromeMain
#13 0x7f96da9650b3 __libc_start_main
#14 0x559be82e74aa _start

Received signal 6
#0 0x559bebb89469 base::debug::CollectStackTrace()
#1 0x559bebaeff33 base::debug::StackTrace::StackTrace()
#2 0x559bebb88f71 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7f96db83a3c0 (/usr/lib/x86_64-linux-gnu/libpthread-2.31.so+0x143bf)
#4 0x7f96da98403b gsignal
#5 0x7f96da963859 abort
#6 0x559bebb881f5 base::debug::BreakDebuggerAsyncSafe()
#7 0x559bebb03221 logging::LogMessage::~LogMessage()
#8 0x559bebb0390e logging::LogMessage::~LogMessage()
#9 0x559bebb7364f base::SimpleThread::StartAsync()
#10 0x559bebb735ce base::SimpleThread::Start()
#11 0x559be9bc27c8 content::SandboxHostLinux::Init()
#12 0x559beb69cd41 content::ContentMainRunnerImpl::Initialize()
#13 0x559beb69aeb9 content::RunContentProcess()
#14 0x559beb69b00e content::ContentMain()
#15 0x559beb6f5fca headless::(anonymous namespace)::RunContentMain()
#16 0x559beb6f5cd5 headless::HeadlessShellMain()
#17 0x559be82e7668 ChromeMain
#18 0x7f96da9650b3 __libc_start_main
#19 0x559be82e74aa _start
  r8:<PHONE_NUMBER>000000  r9: 00007ffd506a4ad0 r10:<PHONE_NUMBER>000008 r11:<PHONE_NUMBER>000246
 r12: 000009e4002b8000 r13: 000009e4002b8018 r14: 000009e4002b8010 r15: 000009e4003bca80
  di:<PHONE_NUMBER>000002  si: 00007ffd506a4ad0  bp: 00007ffd506a4d20  bx: 00007f96d97a4e00
  dx:<PHONE_NUMBER>000000  ax:<PHONE_NUMBER>000000  cx: 00007f96da98403b  sp: 00007ffd506a4ad0
  ip: 00007f96da98403b efl:<PHONE_NUMBER>000246 cgf:<PHONE_NUMBER>000033 erf:<PHONE_NUMBER>000000
 trp:<PHONE_NUMBER>000000 msk:<PHONE_NUMBER>000000 cr2:<PHONE_NUMBER>000000
[end of stack trace]

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Failed to launch the browser process!
[0405/082259.515193:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[0405/082259.515285:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[0405/082259.516995:ERROR:platform_thread_posix.cc(151)] pthread_create: Resource temporarily unavailable (11)
Received signal 6
#0 0x55ad9ecd1469 base::debug::CollectStackTrace()
#1 0x55ad9ec37f33 base::debug::StackTrace::StackTrace()
#2 0x55ad9ecd0f71 base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7fead73c93c0 (/usr/lib/x86_64-linux-gnu/libpthread-2.31.so+0x143bf)
#4 0x7fead651303b gsignal
#5 0x7fead64f2859 abort
#6 0x7feac562cc68 <unknown>
#7 0x7feac562c95b <unknown>
#8 0x7feac562c8d5 <unknown>
#9 0x7feac562c342 <unknown>
#10 0x7feac54a3038 <unknown>
#11 0x7feac54a2dd0 <unknown>
#12 0x7feac54a2d59 <unknown>
#13 0x7feac549d63f <unknown>
#14 0x7feac549dad5 <unknown>
#15 0x7feac5492ab1 <unknown>
#16 0x7feac5842e13 <unknown>
#17 0x7feac58408ea <unknown>
#18 0x7feac583fdb0 <unknown>
#19 0x7feac584932e <unknown>
#20 0x7feac6d06083 <unknown>
#21 0x7feac6d034a3 <unknown>
#22 0x7feac6ce794d <unknown>
#23 0x7feac6d7cba8 <unknown>
#24 0x7feac6b4b030 <unknown>
#25 0x7feac6ad9dbf <unknown>
#26 0x7feac6adc0a1 <unknown>
#27 0x7feac589bbc2 <unknown>
#28 0x55ad9ff25b02 gl::GLSurfaceEGL::InitializeDisplay()
#29 0x55ad9ff25053 gl::GLSurfaceEGL::InitializeOneOff()
#30 0x55ad9bdbb40c ui::GLOzoneEGL::InitializeGLOneOffPlatform()
#31 0x55ad9ffbb178 gl::init::InitializeGLOneOffPlatformImplementation()
#32 0x55ad9ffbaf03 gl::init::(anonymous namespace)::InitializeGLOneOffPlatformHelper()
#33 0x55ad9ffbaffc gl::init::InitializeGLNoExtensionsOneOff()
#34 0x55ada08b344c gpu::GpuInit::InitializeInProcess()
#35 0x55ada21f1e1a content::InProcessGpuThread::Init()
#36 0x55ad9ecbc304 base::Thread::ThreadMain()
#37 0x55ad9ece211e base::(anonymous namespace)::ThreadFunc()
#38 0x7fead73bd609 start_thread
#39 0x7fead65ef163 clone
  r8:<PHONE_NUMBER>000000  r9: 00007feac8f22fb0 r10:<PHONE_NUMBER>000008 r11:<PHONE_NUMBER>000246
 r12: 00003cca0060cd40 r13: 00003cca00264580 r14: 00007feac562c2c0 r15: 00007feac5793e30
  di:<PHONE_NUMBER>000002  si: 00007feac8f22fb0  bp: 00007feac8f23210  bx: 00007feac8f27700
  dx:<PHONE_NUMBER>000000  ax:<PHONE_NUMBER>000000  cx: 00007fead651303b  sp: 00007feac8f22fb0
  ip: 00007fead651303b efl:<PHONE_NUMBER>000246 cgf:<PHONE_NUMBER>000033 erf:<PHONE_NUMBER>000000
 trp:<PHONE_NUMBER>000000 msk:<PHONE_NUMBER>000000 cr2:<PHONE_NUMBER>000000
[end of stack trace]

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Restarting the dynos seems to solve this for a while, but then it happens again.
Any ideas what might be causing this?
Thanks in advance
Puppeteer version
^13.5.1
Node.js version
16.13.0
npm version
8.1.0
What operating system are you seeing the problem on?
Linux

Hi, I have the same error.
2022-05-25T17:17:57.220146261Z Error: Failed to launch the browser process!
2022-05-25T17:17:57.220146261Z [0525/171757.201974:ERROR:platform_thread_posix.cc(151)] pthread_create: Resource temporarily unavailable (11)
2022-05-25T17:17:57.220146261Z [0525/171757.202121:FATAL:browser_task_executor.cc(399)] Failed to start BrowserThread:IO
2022-05-25T17:17:57.220146261Z
2022-05-25T17:17:57.220146261Z
2022-05-25T17:17:57.220146261Z TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
2022-05-25T17:17:57.220146261Z
2022-05-25T17:17:57.220146261Z     at onClose (/app/node_modules/puppeteer/lib/Launcher.js:750:14)
2022-05-25T17:17:57.220146261Z     at ChildProcess.<anonymous> (/app/node_modules/puppeteer/lib/Launcher.js:740:61)
2022-05-25T17:17:57.220146261Z     at ChildProcess.emit (events.js:326:22)
2022-05-25T17:17:57.220146261Z     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)

The documentation does not explain the error control or socket reset.

same when using n8n docker and this as a community node:
`Error: Failed to launch the browser process! spawn /home/node/.n8n/nodes/node_modules/puppeteer/.local-chromium/linux-1002410/chrome-linux/chrome ENOENT
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
at onClose (/home/node/.n8n/nodes/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:286:20)
at ChildProcess.<anonymous> (/home/node/.n8n/nodes/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:280:24)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)`


Hotfix/issue 145 - special characters in subscription search

This change is

[Current coverage][cc-pull] is 57.97%

Merging [#233][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master       #233   diff @@
==========================================
  Files          1911       1911
  Lines         97653      97651     -2
  Methods           0          0
  Messages          0          0
  Branches      12128      12128
==========================================
- Hits          56616      56615     -1
+ Misses        38037      38036     -1
  Partials       3000       3000

[][cc-pull]

Powered by Codecov. Last updated by [e2d7142...ec6452d][cc-compare]
[cc-base-branch]: https://codecov.io/gh/servicecatalog/development/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/servicecatalog/development/compare/e2d71421ea2dfd74aadd26314a3420e63549e186...ec6452d7302482649a4bcbd7925eaf68a831e327?src=pr
[cc-pull]: https://codecov.io/gh/servicecatalog/development/pull/233?src=pr

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


NEXT-12360 - SEO: swap h3 tag for in template: filter-panel-offcanvas-only

From SEO point of view, h-tags should not be used in the theme. h-tags are intended for content only.
"Filter"
replace with span or div or similar.

Duplicate of https://github.com/shopwareBoostDay/platform/pull/261

Duplicate of https://github.com/shopwareBoostDay/platform/pull/261


Add webhook plugin

hi @aarlint, thanks for the PR.
For what I can see in its content, you might be bringing some changes that are already in main. Could you make sure your fork is up to date with upstream and rebase there? Thanks!

@migmartri rebased from main.  4 files changed :)

Thanks @aarlint, whenever this PR is ready, just update the description with some context, mark it "as ready", and we'll review it :)

Ready v1 brothers


[Feature Request]: Nuxt Support

client
- [ ] `performance` config(`maxEntrypointSize` `hints`)
- [x] #2602
- [ ] FriendlyErrorsWebpackPlugin
- [ ] TimeFixPlugin
- [ ] #2350
- [ ] #2610
- [ ] vue-style-loader

server
- [ ] #2277
- [ ] #2611
- [ ] #2612

Hooks
- [ ] https://github.com/web-infra-dev/rspack/issues/2982

Plugin
- [ ] `unplugin.webpack` has some api not implement at now, but `unplugin.rspack` worked fine.

@hardfist @amirilovic @zoolsher looks like ForkTSCheckerWebpackPlugin is needed here too. Should it maybe get broken into its own issue?

bump 😊

bump! ❤

bump！Is there any progress?

Bump

@danielroe, I had a quick chat with the team and there is not any velocity to dig deep on the last few items to knock this out at this moment. However would be happy to support if someone from the Nuxt community wants to help add the last few pieces.

Wonder how much closer we're getting on this. @hardfist, @underfin any chance you can check on the remaining items to see if they slipped in without being checked off?

boom！

actually i checked and the only important  blocker is missing webpack-virtual-module support

this is a very outdated issue and the blocker change a lot, close this one and will create new one to track this

for anyone who's still interested in this issue, I make Nuxt on Rspack works now, you can try a poc version here https://github.com/hardfist/nuxt-rspack


Civ 2747 claimant case data

JIRA link
https://tools.hmcts.net/jira/browse/CIV-2747
Change description
Retrieve OCMC claims as claimant on dashboard
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x ] No

Just re-raising identical PR to 563 to bypass Jenkins pipeline issue.


add layerName to tilecache.queryFeatures() returned features

This adds a layerName property to features returned by tilecache.queryFeatures().
This means users can filter returned Features by layerName if desired.
For example - in TerriaJS we only want to show features which have paint/label rules applied to them
https://github.com/TerriaJS/terriajs/blob/31f1ef8198dc349c3a8a6cd26273ccc9956bfb35/lib/Map/ProtomapsImageryProvider.ts#L516-L534

Hi @nf-s, thanks for this PR - I haven't put a lot of thought into how queryFeatures should work, so your contributions are very appreciated. What if the result of queryFeatures instead had a shape like this:
export interface PickedFeature {
  feature: Feature
  layerName: string
}

That way the feature value in the result is just the plain old Feature type, and we can add keys beyond layerName in the future without worrying about colliding with something in Feature.

Sounds good to me!
Just changed PickedFeatures to match your interface

LGTM! I've uploaded version 1.1.0 to npm with this change


Feat/custom db download

Description
In order to improve user experience, now we are showing 'Uploaded By' info in the group databases page and allowing the user that uploaded the database to delete it.
#890
Changes
Webapp
DatabaseDetailsView

[x] Showing download database area
[x] Allowing user that created database to see delete database option

Tests
Front end

[x] Unit Test
[ ] e2e Test

Browsers and resolutions

[x] Chrome
[ ] Safari
[ ] Firefox
[x] md, lg, lg
[ ] sm, xl

@lmacielvieira
May add an original name of DB?


setting the tls flag correctly for openbsd and bitrig

this patch correctly disables thread local storage on OpenBSD and Bitrig.  @semarie this will make one of your port patches unnecessary.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @pcwalton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTING.md for more information.

I have a similar patch being upstreamed to jemalloc but this is still necessary because of the old version of jemalloc we use.

I just submitted another patch that makes this change in the rust-lang/jemalloc dev patch.

Thanks!


DMP-3317: ADMIN - Seach audio

Jira link (if applicable)
https://tools.hmcts.net/jira/browse/DMP-3317
Change description
Add search audio and results

startAt/endAt date should be hh:mma

Figma design is outdated. Ticket has the correct format


support emacsclient

emacsclient uses "emacsclient +4 info.txt" to open info.txt on line 4.

emacs support same but "emacsclient -n" will let us open in existing emacs.

I would like to know more about this issue so that I can start working it......


Add integration with amazon-s3

At the moment there is a built-in functionality to upload website to by the ftp.
It would be really good to get possibility to release site on amazon clound (see jeykill for details)

You can now use the deployCustomCommand setting to set up deployment with any CLI deployment tool. If you set up S3 deployment with one of the tools mentioned or something else please post your configuration and I'll add it to the README.


Latest update (v4.6.1) causes BO to not work anymore.

Describe the bug and add attachments:
Just auto updated to latest version 'PrestaShop Marketplace in your Back Office' (v4.6.1), and it caused BO to crash completely,
Managed to get the following error messages:

Uninstalling the module caused the entire shop to shop working including Front.

Installed the previous version V4.5.3 and the shop could apparently run without Debug mode again. Did another update, and it completely crashed the shop again!
Steps to reproduce
Auto Update the Marketplace module from 4.5.3 to 4.61 under Modules gave the error message afterwards. Then Modules page, as well as other pages like Performance/Cache page etc no longer works.
Uninstalling the module caused the shop to crash in FO also.
Installing V4.5.3 again seem to address the error related issue, but not sure if everything works again (did a full restore from backup instead)
PrestaShop version(s) where the bug happened
8.1.2
PHP version(s) where the bug happened
8.1.26
If your bug is related to a module, specify its name and its version
ps_mbo 4.6.1

Hell @intraordinaire
Thanks for your feedback!
I just tried with a new testshop.
When upgrading the module I still get an red error message at the end saying something like: Module could not perform upgrade undefined".  Then afterwards the debug error screen appears.
I then tried to delete the mentioned cache folder. I could then refresh the page and get access again!
However the module was still mentioned as V5.5.3.
I then changed the cache settings to 'Force Compile', and then tried to upgrade module again. The second time it then upgraded to 4.6.1 and no site crash. However still received this message in modules afterwards:

So it does seem cache related, but just a bit weird the module will fail the upgrade. It seems it does not finish, and thereby not clearing the cache itself.
Anyway, the testsite seems to run now. So maybe I will dare to try on live shops later...

@kmorgen
We did some investigations yesterday on this.
We manage to reproduce the error with PrestaShop 8.0.0 or 8.0.1.
PrestaShop 8.0.2 came with improvements about module updates, and we did not manage to crash the shops.
We still have some troubles updating the module on newer version >= 8.0.2, but for now, we can not do much more.
I explain myself.
The process to update a module is the following :

PrestaShop get the updated source (through download or by uploading a zip)
Replace old files with new ones
Run upgrade scripts

The trouble we're having with our module, is that we are responsible to manage external modules installation and/or updates.
So, our module is already loaded in PHP process when replacing files.
Then, when trying to run upgrade script, upgrade the version in DB, and so on, it may cause problem because there is different version of files/services between the ones that are already load, and the one that are about to be...
With this problem, we have to update the module twice to get the update working correctly.
First time, it displays an error, but the files are correctly replaced. Second, it will not touch the files, and just run the upgrade scripts.
PrestaShop 8.1.2 with ps_mbo ready to be updated to 4.6.1

First update failed 😢

Second update success 🎉

Shop still up, and module well updated

And, if I reload the page between the upgrades, the shop is still up and the module is still displayed as 4.5.3, even if the source code is in 4.6.1.
After several tests with versions of PrestaShop >= 8.0.2 it seems to "work" like this.
If I test with a shop in PrestaShop 8.0.0 or 8.0.1, I did have the broken shop every time 😞
We are still trying to find a way to get it working properly.
We may use some update mechanism we have developed in our module.
Do the update process in two times, first download the source and exit, and then, in another process, run the upgrade, which seems to work like a charm.
In conclusion, for now :

We have removed the compatibility of PS < 8.0.2 for this version
We are still working to fix this
We will update the readme of the module to add a "Known bugs" section to explain this behavior.

In the meantime (not an ideal solution), to use the last version of the module, you can also uninstall it, and then, install the new one.
This will not break anything, as it's the update process who is breaking things here. The module itself works well.
Again, thanks for your feedback, really important to us, and don't hesitate if something here is unclear.

Hi @intraordinaire
Thank you for your feedback, I will study it.
Just to clarify, when you mention 8.0.2 you actually mean the latest 8.1.2, right? (which I am running too)
So does this also explain, why many modules in general need to be upgraded 2 times?

So does this also explain, why many modules in general need to be upgraded 2 times?

It may, yes ! We experienced that with our module, because he is loaded "high" in the PS process. But we may not be alone to do that.

Just to clarify, when you mention 8.0.2 you actually mean the latest 8.1.2, right? (which I am running too)

Actually, yesterday morning I was meaning 8.0.2 but after our tests of yesterday, I changed my mind.
So, yesterday, we go through a whole day of testing/debugging updates in different PS versions.
It appears that, indeed, before 8.0.2, it's very complicated to do something clean.
For version after 8.0.2 (so in your case with the 8.1.2), it "works" well in 2 times BUT not all the time... Sometimes, and actually, we don't know why, the CacheClearer of Symfony is not deleting anything.
We found something related to this here.
It seems to be better in Symfony 5, but we can't update the Symfony version like this in PS8 😄
It will be done in PrestaShop 9 🎉
We may have a solution for this :

for now, remove our module from the available updates.
Publish a version 4.5.4 without updating services, but with a cleaner way to delete the cache when we are proceeding module downloads.
Make this update available through another channel, directly in the marketplace, so we'll make it with our mechanism, in two times.
Allow user to update to 4.6 and more, only if they have this "cleaner" version.

We'll keep you updated on this.
The bug with the account email will be fixed in the 4.7.0, but a bit delayed due to this problem. (planned to release it this week initially).
Last but not least, on all our tests yesterday we do check the Marketplace page, and it worked well.
Do you have errors in the browser console ?

Hi @kmorgen
I hope you had a great time on this EoY, and I wish you all the best for this new year.
We released updates as explained last month.
Have you tried it ?
You can, normally, see that an update is available directly in the marketplace.
Hope it solves the problem !

As we released a new version that should fix this behavior, I close the issue.
Feel free to reopen if needed.
Again, thanks for your feedback !


Feature request: Option to display all global variables in a list

Is your feature request related to a problem? Please describe.
I'm always frustrated when I find a bug related to me forgetting to me forgetting to make a variable private to a function and then it causes a problem in my program.
Describe the solution you'd like
I'd like a reminder when I defun a new function that shows me all my global variables, with an easy option to change any to being private to the function they're declared in.
Describe alternatives you've considered
It could also just be a list of your global variables that pops up on request. If that's the case, I'd like to have the function the variable is first used in shown next to the variable name.
It could also ask when you make a new variable with setq if you want to make it private in the function definition line.

This is an interesting feature!
Recently @JD-Howard has implemented the F12 works for variables definition, I think it is easier achieve to this functionality.

The current F12 logic could easily be adapted to "select" all of a defun's global variables, but it wouldn't be effective across the entire document. When the F2 stuff gets done, we could very easily perform the whole document though.

It looks like for this feature requested it only needs to analysis the current (defun) body, maybe the action is triggered by the "hover" action in the parameter list of function.


Build failing in EAS with version 1.0.0-beta.17/Expo 52

I ran into this issue because while trying to upgrade to Expo SDK 52, I saw that I also needed to upgrade the customerio dependencies. After I tried to create a build in EAS, I saw the following errors in the xcode logs:
Build failed: The "Run fastlane" step failed because of an error in the Xcode build process. We automatically detected following errors in your Xcode build logs:
- unknown type name 'CIOAppPushNotificationsHandler'
- use of undeclared identifier 'CIOAppPushNotificationsHandler'
- unknown type name 'CIOAppPushNotificationsHandler'
- use of undeclared identifier 'CIOAppPushNotificationsHandler'
Refer to "Xcode Logs" below for additional, more detailed logs.

customerio-expo-plugin: 1.0.0-beta.17
customerio-reactnative: 3.9.1
expo: 52.0.18
From my app.config.ts file:
      [
        'expo-build-properties',
        {
          android: {
            buildToolsVersion: '34.0.0',
            compileSdkVersion: 34,
            targetSdkVersion: 34,
          },
          ios: {
            deploymentTarget: '15.1',
             pushNotification: {
              env: {
                apiKey: '<...>',
                region: '<...>',
                siteId: '<...>'
              },
              useRichPush: true,
            },
          },
        },
      ],

When I run the cio doctor cli, I get this:
Starting diagnostic for React Native project...
[✓] Project Path: <redacted>
[✗] Customer.io React Native SDK not found in package lock file. Make sure to run `yarn install` or `npm install` before running the project.
[!] Customer.io React Native SDK version: 3.7.0
Warning: Update to the latest SDK version 4.1.1

Initialization
[✗] React Native SDK Initialization not found. For more details, run the script with the -v flag
[✓] iOS SDK Initialization found in 'mobile/ios/<redacted>/PushService.swift'

Push Setup
[✓] Push notification capability found in entitlements
[✗] Notification Service Extension (NSE) not found
Error: The Notification Service Extension is required in order to display and track push notifications.
[✓] MessagingPush Initialization found in 'mobile/ios/<redacted>/PushService.swift'

Dependencies
[✓] No conflicting packages found
[✓] No conflicting pods found
[✓] CustomerIOTracking: 2.14.2
[✓] CustomerIOMessagingInApp: 2.14.2
[✓] CustomerIOMessagingPushAPN: 2.14.2

Diagnostic complete!

I definitely have the dependencies installed, I'm assuming that cio doctor is being buggy because I'm using an nx monorepo. Dependencies are hoisted.

Hey, thanks for the report!
The error seems to suggest that some of the files that are auto generated by our plugin is missing, here are some pointers to troubleshoot the problem:

Can you check the generated iOS project code to see if CIOAppPushNotificationsHandler type is created in a file called <YourAppName>/ios/<YourIosProject>/PushService.swift
Can you please ensure following the docs for configuring the plugin, it seems you might be injecting our plugin config incorrectly
The plugin should have its own customerio-expo-plugin entry in your app.config.ts with plugin specific configuration


BUG: y-label in curvature distributions should be probability density and not Probabilty

units are fine

@pastewka I could easily change this is in the current develop branch (functions.py) and trigger a recalculation
of all height/slope/curvature distributions. Or does it make more sense to do this in #775 , because analyses have to be triggered there anyway? Then I would shift this to 0.19.0.


✏  Create rating component

Break out the show rating stars into a dedicated component.
Create a storybook.

Closed by #449


TEST ISSUE

TEST ISSUE: Testing to see if the auto-labeling system is working.

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

ID: 0eb4d762-3910-2c57-8741-3306c15537b6
Version Independent ID: ba2254a0-ea8e-9b28-e94b-edd0fc58c043
Content: Configuration in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/index.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@Rick-Anderson @tdykstra @wadepickett ... Yeah, it looks like it's a general failure.


Dependabot Alerts: Organization-Level Alert Rules (beta)

Summary
This ship brings auto-triage rules to the organization-level.
Organization admins can set enforcement for GitHub presets across all of an organization's repositories or create and enforce custom auto-triage rules.

🚢 This has shipped: https://github.blog/changelog/2023-10-26-dependabot-user-defined-rules-for-security-updates-and-alerts-enforcement-of-auto-triage-rules-and-presets-for-organizations-public-beta/.
Leaving open to track for GHES release.

🚢 This has shipped with GHES 3.12<EMAIL_ADDRESS>Closing as complete!


standardize parameter broken

MWE:
from jiwer import wer

e1 = wer("he's my neminis", "he is my <unk> [laughter]", standardize=True)
e2 = wer("he is my neminis", "he is my")

assert e1 == e2

According to the documentation, these should be equivalent, but are not.
Version 1.3 from PyPi

Hi,
Thanks for your interest in this repo! I've created an initial fix at PR #4 . Do you have some other concerns before I merge?

@nikvaessen Thanks for the fix! No other concerns at the moment.


Default Password for incl. Espurna Firmware

can someone provide the correct wifi password which is used by the included espurna firmware binary? the default one, fibonacci doesnt work for me

fibonacci should be the default password, according to the Espurna developer. For further assistance with Espurna, please see the Espurna repository.


[RFC] Add support for fallback search paths for Target frameworks

Currently, target frameworks are looked up in the default location or a
path specified by $(TargetFrameworkRootPath). It would be useful to be
able to look for these frameworks in more than one location. For
example, in case of Xamarin products on OSX, mobile specific frameworks
are installed in
/Library/Frameworks/Mono.framework/External/xbuild-frameworks and the
.NET ones are installed in
/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/xbuild-frameworks
.
With support for fallback search paths, a lookup for a target framework will follow the order:
1. $(TargetFrameworkRootPath) or Default location is $(TargetFrameworkRootPath) is ''
2. Fallback search paths

These fallback search paths can be set in app.config, per os, like:
<msbuildToolsets default="14.1">
  <toolset toolsVersion="14.1">
    <property name="TargetFrameworkRootPathSearchPathsOSX" value="/tmp/foo;/tmp/bar" />
    <property name="TargetFrameworkRootPathSearchPathsWindows" value="C:\tmp\foo;C:\tmp\bar" />
    ...

This is a RFC, and not complete as tests for this feature are yet to be added.

Updated to fix the merge issue.

@dotnet-bot test this please

The code here needs to get access to the "current toolsversion" for the project, so that it can load the toolset from the config file and get access to the fallback search paths. But it currently uses ToolLocationHelper.CurrentToolsVersion, which is a constant and probably not what is required here. I'm not sure how I might be able to get the actual toolsversion for the project.

As suggested, out of band, I tried to add the fallback search paths in the targets file and use that. It solves the problem for that particular call. But the problem is that the target frameworks lookup is done in more than one place, for example in tasks like GetReferenceAssemblyPaths, AssemblyIdentity etc. New task properties will need to be surfaced in all of these for supporting the search paths. Anywhere we don't or can't do this, will have inconsistent behavior, namely that it won't be able to find the frameworks installed in the fallback paths.
Adding this support via the app.config, means that all the existing callers get this support, automatically, since it won't depend on the Any code using the ToolLocationHelper.GetPathToStandardLibraries and ToolLocationHelper.GetPathToReferenceAssemblies will have this support. So, from user POV, the target frameworks installed in the fallback paths would consistently be available (can be looked up) everywhere.
So, I think that we should go with the app.config approach. And sticking with:
  <toolset toolsVersion="14.1">
    <property name="TargetFrameworkRootPathSearchPathsOSX" value="/tmp/foo;/tmp/bar" />
    <property name="TargetFrameworkRootPathSearchPathsWindows" value="C:\tmp\foo;C:\tmp\bar" />

Discussed this a bit today. Still seems a bit odd to define it as a property in the toolset but then use it in such an usual way (not reading the property but reading the configuration setting). It also seems unnatural to include it with the other fallback search path since they're such different uses (used as fallback replacement in <Import> vs ToolLocationHelper method).
One idea we had for this is potentially add os to the toolset element. So for example:
<toolset toolsVersion="14.1" os="windows">
    <property name="TargetFrameworkRootPathSearchPaths" value="C:\tmp\foo;C:\tmp\bar" />
  ...
</toolset>
<toolset toolsVersion="14.1" os="osx">
    <property name="TargetFrameworkRootPathSearchPaths" value="/tmp/foo;/tmp/bar" />
  ...
/>

In this scenario, ToolLocationHelper should be able to read the property passed in and without having to add OS to the property name. Thoughts on that?

I agree, it does seem odd as a property or to be specified with the extensions paths search paths. But maybe then we should make it even clearer? Like:
<toolset toolsVersion="14.1">
   <targetFrameworkFallbackSearchPaths>
       <searchPaths os="windows" paths="c:\tmp\foo;c:\tmp\bar" />
       <searchPaths os="osx" paths="/tmp/foo;/tmp/bar" />
   </targetFrameworkFallbackSearchPaths>
   ...

(with better names in the <searchPaths .. element).

This removes the confusion that it could be a property or something that can be set or overridden anywhere else.
It doesn't use the TargetFrameworkRootPath name, so again no confusion with that property.
The name targetFrameworkFallbackSearchPaths suggests what it is supposed to do too

One issue might be that this now sounds too similar to <msbuildExtensionsPathSearchPaths> thus maybe suggesting (to the user/reader) that they are supposed to have the same behavior. For that, maybe we can rename that to <msbuildExtensionsPathSearchPathsForImports>. I think, it would suggest that it is meant for a specific case "ForImports", at which point the user can look at the documentation to find out more.

Any thoughts on this?

Can this be closed in favor of #627?

Err.. sorry for the late response! This still needs to be open as it adds the support for search paths for target frameworks. #627 was extracted from commits in here, so, I will update this PR to remove those and so it will be left with the commit for search path support. I could open a new PR, but since discussion about this particular feature already happened here, it might be good to use this PR itself.


adds a vader sentiment analyzer function

Vader sentiment analyzer function
Adds sentiment analysis with vaderSentiment.
quick walkthrough

[x] New feature

Checklist:

[x] My code follows PEP8 style guide
[x] I have removed unnecessary print statements from my code
[x] I have made corresponding changes to the documentation if necessary
[x] No commented-out code
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

This idea is finally being birthed. I like that this uses Vader sentiment. Should really be useful for the mentors after each session.


Support simple query pushdown

Description
This is analysis PR for #2, we won't merge it.
Select queries of the form {_id: <value>}.
PR scope is {_id: <value>} where <value> is ObjectID.
Tigris
TODO: How will we ensure that Tigris compares values the same way as MongoDB?
Not in scope
Other cases when <value> of types are not in scope:

Strings

string comparison difference between MongoDB and PostgreSQL i.e.
case sensitive
zero values
collation
encoding checks
etc.

Binary data

len
sub-type
byte by byte

Numeric
Dates and Timestamps

ordering

Non-existent Fields (NaN, Inf)
Objects
Arrays

arrays are restricted to be in _id

Links
The pushdown term.
MongoDB restrictions on _id.
MongoDB Comparison/Sort Order.

Please take a look at the work done on this PR as I think it overlaps a lot with the dynamic query generation needed for this feature:
https://github.com/FerretDB/FerretDB/pull/850

Let's maybe describe what "pushdown" is?

Here is the pushdown description:

Let's go step by step and first, implement a simple query pushdown for queries containing {_id: <value>},
i.e. add SQL condition _jsonb->+ p.Next() + = in WHERE clause passed to the PostgreSQL backend.

Next question:

Also, the problem definition says that it's all about memory usage.
The solution part doesn't really clarify what will be in memory with the new approach, and why it is better.

Should I remove it? I think everyone understands that's not good to get all the data from the collection just to delete or update some fields...

Good answer to what "pushdown" is: https://qr.ae/pv48xk

Overall looks good, the only question I have is about tests. Should we mention some?
For example, we could add a unit test to check that we fetch the entire table if _id is not ObjectID.

Well, there definitely should be tests. How do you know that it was the query with _id only? i.e. we filter the data inside fetch  so if you add the test for the fetch, it won't check that that was the pushdown. What are your suggestions?

Indexes tried:

(_jsonb ->> '_id')::text
((_jsonb ->> '_id' )::jsonb->> '$o')::text
(_jsonb#>>'{_id,$o}')

CREATE TABLE values (
	_jsonb jsonb NOT NULL DEFAULT '{}'
);

CREATE INDEX values_id_idx ON values (((_jsonb ->> '_id')::text));
insert into values values('{"_id": {"$o": "507f1f77bcf86cd799439011"} }');

---
CREATE INDEX values_id_idx ON values (((_jsonb ->> '_id')::text));
ferretdb=# EXPLAIN ANALYZE select * from values where (_jsonb->'_id')::jsonb->>'$o' = '507f1f77bcf86cd799439011';
                                             QUERY PLAN
----------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=0.00..33.80 rows=7 width=32) (actual time=0.031..0.033 rows=1 loops=1)
   Filter: (((_jsonb -> '_id'::text) ->> '$o'::text) = '507f1f77bcf86cd799439011'::text)
 Planning Time: 0.158 ms
 Execution Time: 0.849 ms
(4 rows)

ferretdb=# EXPLAIN ANALYZE select * from values where _jsonb->'_id' = '{"$o":"507f1f77bcf86cd799439011"}'::jsonb;
                                             QUERY PLAN
----------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=0.00..30.40 rows=7 width=32) (actual time=0.023..0.025 rows=1 loops=1)
   Filter: ((_jsonb -> '_id'::text) = '{"$o": "507f1f77bcf86cd799439011"}'::jsonb)
 Planning Time: 0.167 ms
 Execution Time: 0.053 ms
(4 rows)

---
CREATE INDEX values_id_idx ON values ( (((_jsonb ->> '_id' )::jsonb->> '$o')::text ));
ferretdb=# CREATE INDEX values_id_idx ON values ( (((_jsonb ->> '_id' )::jsonb->> '$o')::text ));
CREATE INDEX
ferretdb=# EXPLAIN ANALYZE select * from values where (_jsonb->'_id')::jsonb->>'$o' = '507f1f77bcf86cd799439011';
                                            QUERY PLAN
---------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=0.00..1.02 rows=1 width=32) (actual time=0.024..0.026 rows=1 loops=1)
   Filter: (((_jsonb -> '_id'::text) ->> '$o'::text) = '507f1f77bcf86cd799439011'::text)
 Planning Time: 0.511 ms
 Execution Time: 0.058 ms
(4 rows)

ferretdb=# EXPLAIN ANALYZE select * from values where _jsonb->'_id' = '{"$o":"507f1f77bcf86cd799439011"}'::jsonb;
                                            QUERY PLAN
---------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=0.00..1.01 rows=1 width=32) (actual time=0.029..0.032 rows=1 loops=1)
   Filter: ((_jsonb -> '_id'::text) = '{"$o": "507f1f77bcf86cd799439011"}'::jsonb)
 Planning Time: 0.147 ms
 Execution Time: 0.066 ms

---------------
ferretdb=# CREATE INDEX values_id_idx ON values(( _jsonb#>>'{_id,$o}'));
CREATE INDEX
ferretdb=# SELECT
    tablename,
    indexname,
    indexdef
FROM
    pg_indexes
WHERE
    schemaname = 'public'
ORDER BY
    tablename,
    indexname;
 tablename |   indexname   |                                           indexdef
-----------+---------------+-----------------------------------------------------------------------------------------------
 values    | values_id_idx | CREATE INDEX values_id_idx ON public."values" USING btree (((_jsonb #>> '{_id,$o}'::text[])))
(1 row)
ferretdb=# EXPLAIN ANALYZE select * from values where (_jsonb->'_id')::jsonb->>'$o' = '507f1f77bcf86cd799439011';
                                            QUERY PLAN
---------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=0.00..1.02 rows=1 width=32) (actual time=0.025..0.028 rows=1 loops=1)
   Filter: (((_jsonb -> '_id'::text) ->> '$o'::text) = '507f1f77bcf86cd799439011'::text)
 Planning Time: 0.120 ms
 Execution Time: 0.058 ms
(4 rows)

ferretdb=# EXPLAIN ANALYZE select * from values where (_jsonb->'_id')::jsonb->>'$o' = '507f1f77bcf86cd799439011';
                                            QUERY PLAN
---------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=0.00..1.02 rows=1 width=32) (actual time=0.025..0.028 rows=1 loops=1)
   Filter: (((_jsonb -> '_id'::text) ->> '$o'::text) = '507f1f77bcf86cd799439011'::text)
 Planning Time: 0.117 ms
 Execution Time: 0.057 ms
(4 rows)

better use GIN https://www.postgresql.org/docs/current/datatype-json.html#JSON-INDEXING

it's not applied anyway :|
ferretdb=# CREATE INDEX values_id_idx ON values USING GIN ((_jsonb->'_id'));
ferretdb=# SELECT
    tablename,
    indexname,
    indexdef
FROM
    pg_indexes
WHERE
    schemaname = 'public'
ORDER BY
    tablename,
    indexname;
 tablename |   indexname   |                                      indexdef
-----------+---------------+-------------------------------------------------------------------------------------
 values    | values_id_idx | CREATE INDEX values_id_idx ON public."values" USING gin (((_jsonb -> '_id'::text)))

ferretdb=# EXPLAIN ANALYZE select * from values where _jsonb->'_id' @> '{"$o":"507f1f77bcf86cd799439011"}';
                                            QUERY PLAN
---------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=0.00..1.01 rows=1 width=32) (actual time=0.026..0.029 rows=1 loops=1)
   Filter: ((_jsonb -> '_id'::text) @> '{"$o": "507f1f77bcf86cd799439011"}'::jsonb)
 Planning Time: 0.149 ms
 Execution Time: 0.060 ms
(4 rows)

Well,

It's probably doesn't use the index, since for the small queries it's more effective to use seq scan.
To see how it will look like on large tables I tried set enable_seqscan=false: and anyway it used seq scan:

ferretdb=# CREATE INDEX values_id_idx ON public."values" USING gin ((((_jsonb -> '_id'::text) -> '$o'::text)))
ferretdb-# ;
CREATE INDEX
ferretdb=# set enable_seqscan=false;
SET
ferretdb=# EXPLAIN ANALYZE select * from values where ((_jsonb->'_id'::text)->'$o')::text = '507f1f77bcf86cd799439011';
;                                                      QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------
 Seq Scan on "values"  (cost=10000000000.00..10000000040.60 rows=7 width=32) (actual time=0.008..0.009 rows=0 loops=1)
   Filter: ((((_jsonb -> '_id'::text) -> '$o'::text))::text = '507f1f77bcf86cd799439011'::text)
 Planning Time: 0.721 ms
 JIT:
   Functions: 2
   Options: Inlining true, Optimization true, Expressions true, Deforming true
   Timing: Generation 0.310 ms, Inlining 0.000 ms, Optimization 0.000 ms, Emission 0.000 ms, Total 0.310 ms
 Execution Time: 770.581 ms
(8 rows)

Type casts for the case are matching:

CREATE INDEX values_id_idx ON public."values" USING gin ((((_jsonb -> '_id'::text) -> '$o'::text)));
EXPLAIN ANALYZE select * from values where ((_jsonb->'_id'::text)->'$o')::text = '507f1f77bcf86cd799439011';

Maybe also to experiment with the planner settings.


Running non-interactively

I am not able to run the command in a non interactive way.
generate --version v2.0.0 --to v1.0.1 --scope acm --interactive false
Input version (`VERSION` to generate, follow Semantic Versioning):

It always asks for input.

Maybe there is a bug. Let me try to re create

Hy @cburza, I have fixed the issue. Could you try again, but without --interactive.
After some time playing with urfave/cli, I think that even --interactive false trigger that.
You should use like this:
generate --version v2.0.0 --to v1.0.1 --scope acm


Fixed issue with Manganelo plugin

With this PR i have fixed the issues with manganelo plugin #13 . The plugin was not working because of the changes in the API of the website.

Works like a charm. Thanks a lot for the PR!


Fix date link scroll

fixed https://github.com/fossasia/open-event-webapp/issues/738

merging myself, to be able to deploy. have tested with ots and fossasia both to work


ValueError: register_class(...): already registered as a subclass 'Halo_SurfaceFlags'

Traceback (most recent call last):
  File "X:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 401, in enable
    mod.register()
  File "C:\Users\dsnv1\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_scene_halo\__init__.py", line 65, in register
    module.register()
  File "C:\Users\dsnv1\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\io_scene_halo\global_ui\__init__.py", line 210, in register
    bpy.utils.register_class(clshalo)
ValueError: register_class(...): already registered as a subclass 'Halo_SurfaceFlags'

I get this error enabling the addon, which causes it to fail to load. Tried on Blender 3.5 and 4.0, with multiple versions of the addon going all the way back to 162. Same result every time.

Update: it works after restarting Blender and re-enabling the addon, however it disables itself again every time Blender is launched. And if you disable it yourself, the issue comes back, and it can't be re-enabled until you restart Blender.

This should be solved on latest.


Module:ID

[x] confirm CAT24C32WI-GT3 is compatible with RPI
[x] confirm symbol / pin table / footprint
[x] confirm schematic

WP = Write Protect
I think is is an [Input] need to confirm

Referenced in hat standard with numerous public implementations.


Question concerning deployment scaling in practice

Hi PyGrid Team,
I was testing the deployment of a model-centric fl framework to use with mobile user clients and have a couple of questions regarding node scaling when there are large amount of incoming traffic.
Since number of mobile clients can range up to millions of users at a particular time interval, how does PyGrid node scale up to accept all the incoming request to update the model? Will the network duplicate the node then combine the model update later using the average plan or are the number of nodes deployed remain fixed and instead scale up/spawn multiple workers within the nodes to manage the load and average the updates?
From my understanding, I assume it is the latter, but I would like to clarify to make sure.
Another question regarding this is if I am to deploy PyGrid on Google Cloud Kubernetes cluster, will I need to set kubernetes scaling configuration for the nodes image deployed? Or do I fix the number of kubernetes pods since the node and network already has its own scaling capabilities?
Thank you,
Nattapoom

@cereallarceny

There is no "network" in model-centric FL, there's only a "node". This node can be deployed to multiple instances and load balanced across. Also keep in mind that while there may be millions of devices, it's more important to know how many devices are currently connected to PyGrid. If you operate your worker libraries via Websockets then scale is something you will need to think about. If it's over HTTP, I would suspect that a single instance should be able to handle the load by itself. Our worker libraries and PyGrid support both protocols.
PyGrid does not have any particular suggestion as to how to do this, since it's a pretty general question about infrastructure and not a question specific to PyGrid. I'll be closing this.


realpath() of ../docker/gmission_by_uwsgi/uwsgi.ini failed: No such file or directory [core/utils.c line 3616]

Hello, I installed all the required software mentioned in the gmission's documentation. However, when I perform "docker-compose up" in the gmission/docker directory I face the following error.

should caused by docker volume with config error.
https://github.com/gmission/gmission/blob/remaster/docker/docker-compose.yml
each service in docker-compose.yml have
volumes:
    - ../:/GMission-Server

and the relative path ../ should be replaced to absolute path.
if your gmission repo placed at /home/gmission/gmission then you have to change all - ../:/GMission-Server to - /home/gmission/gmission:/GMission-Server
also, docker-compose.yml is with docker-compose v1 format, i am not sure if the latest docker-compose can support it or not, PR are welcome.

Thanks for your reply, I changed the volumes directory to the absolute path as you mentioned. However, I still face the same error.
I also installed docker toolbox and gave it a try again but the error persisted.

if you are using docker with Windows, then you should make sure that gmission repo is cloned or shared into your docker's host VM.
ref: https://docs.docker.com/docker-for-windows/#shared-drives

if you are using docker with Windows, then you should make sure that gmission repo is cloned or shared into your docker's host VM.
ref: https://docs.docker.com/docker-for-windows/#shared-drives

洛阳铲！


Revert "Fix issue in which not all port ports get exposed"

Reverts rancher/cattle#1016

Going with #1050 instead.


The onLoadingSlow and onSuccess callback miss unmount check

 setTimeout(() => {
   if (loading) config.onLoadingSlow(key, config)
}, config.loadingTimeout)

// trigger the success event,
// only do this for the original request.
config.onSuccess(newData, key, config)

The two callback should also be checked if unmountRef is true, or we will see the:

Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.

Should be fixed in #433


Create example configuration files for other machines

Create versions of test_complete_run.cfg for Cori and Compy. (Don't create new integration tests for those machines -- just create new configuration files to manually test/debug on them).

Perhaps we can use Mache to specify paths in the example files. (#234 was implemented with a generic file that is used to generate the actual examples).

#264, if implemented, would resolve this issue.

Replaced by #264.


docs: improvement for github templates

Signed-off-by: Allen Sun<EMAIL_ADDRESS>
1.Describe what this PR did
This PR polishes the PR and issue templated.
2.Does this pull request fix one issue?

None
3.Describe how you did it
None
4.Describe how to verify it
None
5.Special notes for reviews
None

LGTM


DlKpi component development

Q
A

Related tickets
https://opentechdev.atlassian.net/browse/DLCL-731

Vue2
Y

Vue3
Y

Storybook 7
Y

Tests
Y

Demo
Y

Changelog

New: The KPI component has been created

@vadim-popa-opentech great work, this component should replace the simple texts inside the dl-counters component as a dl-kpi is a single dl-counter
please update the PR

@fadiDL @vadim-popa-opentech FYI - I'll connect this new component to the DlCounters.

KPI should have bordered prop as its not always required.
KPI Object and Counters object are different
Maybe initialize defaults
No need for auto width
Keep in UL/LI form and just use kpi component instead

@vadim-popa-opentech can you please pick it up again ?
The desired behavior is a KPI
is a single entity not an array.
it should have borderd property with default false so to not have the box border
Once those changes are done
Dlcounters needs to be updated and for it to be a list of dlkpis
instead of ul li and items.
NOTE !
please make sure the circular dependency check is not a thing. i couldnt get the app to work for me because of circular dependencies.
lets pick it up together soon and set up a register order or code load order for us
we need it as we are having issues with components using other components. we will restructure the files together


validation problem when try to put a part of value of the mask

In my case I need to put a parcial string in a input masked so even with allowInvalidValue setted to true the model doesn't validate. If I put a complete value the model is validate.
<input id="phone" name="phone" type="text" class="form-control input-md" ng-model="data.phone" ui-mask="(999) 9999-9999" validator="required" valid-method="submit" allow-invalid-value>
If I type (000) 0000-000_ (no complete the mask) and try to validate ( $validation.validate(form) ), the method doens't execute sucess promise and doens't show the required message from input. When I console the form object the input appear in $error section as a invalid input.
I'm working on a new GUI for a old database, so the values for this data can be broken for this new mask.
If the user try to alter the form with the broken data field the form is not validating. I just need that the form be validate with the broken masked data.
The allow-invalid-value supposed work for, is it?

just add "?" like ui-mask="(?9?9?9) ?9?9?9?9-?9?9?9?9"


Assets folder is missing...

Hi! So, where is Assets folder?
Of course, AssetManager.cpp line 46:
if(readonly_mapped_file_open(&file,"assets/assets.cache") == 0)		//loads the file, and puts it in memory
failed...

Hey MoO!
Thanks for reporting this issue! Apparently the gitignore file caused the asset folder to not be committed. I can't test it at the moment, because I currently don't have access to a Windows machine.
For the project to run, you need to have Vulkan SDK installed. You can get the latest version here:
https://vulkan.lunarg.com/sdk/home#windows
The binaries of the project are directly downloadable here:
https://www.dropbox.com/s/bldesz36wx9rpwl/v10_cvct_binary.rar?dl=0
If you don't have the Vulkan SDK installed, you can simply run the Release exe.

Of course, I already installed Vulkan SDK and your project is going to be launched and started, it just naturally falls with the exception during startup, because can't find assets...
P.S.: Why do you allocate so much virtual memory on the hard drive? I hope the render does not come from HDD :-) ?


HDDS-11486. SnapshotDiffManager prints ERROR for NativeLibraryNotLoadedException

What changes were proposed in this pull request?
Not sure how important of the NativeLibraryNotLoadedException. Keep seeing the following ERROR in the OM log. If it is important, it should throw the exception out and stop OM; otherwise, change it to WARN and consider not printing the stack trace.
024-09-24 23:02:20,241 ERROR [main]-org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager: Native Library for raw sst file reading loading failed.
org.apache.hadoop.hdds.utils.NativeLibraryNotLoadedException: Unable to load library ozone_rocksdb_tools from both java.library.path & resource file libozone_rocksdb_tools.so from jar.
        at org.apache.hadoop.hdds.utils.db.managed.ManagedRawSSTFileReader.loadLibrary(ManagedRawSSTFileReader.java:40)
        at org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.initNativeLibraryForEfficientDiff(SnapshotDiffManager.java:292)
        at org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.<init>(SnapshotDiffManager.java:266)
        at org.apache.hadoop.ozone.om.OmSnapshotManager.<init>(OmSnapshotManager.java:278)
        at org.apache.hadoop.ozone.om.OzoneManager.instantiateServices(OzoneManager.java:847)
        at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:674)
        at org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:759)
        at org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:189)
        at org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:86)
        at org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:74)
        at org.apache.hadoop.hdds.cli.GenericCli.call(GenericCli.java:38)
        ...
        at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:91)
        at org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:58)

Please describe your PR in detail:
Using native libs to read raw sst file is set by default. If the native libs were not loaded, SnapshotDiffManager  handles deltas instead.  I think log warn message is fine, since `SnapshotDiffManager sill works.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11486
How was this patch tested?
CI:
https://github.com/chungen0126/ozone/actions/runs/11253054528

We might want to include the exception message, though. (Sorry for not mentioning it previously.)

The pr is updated. Keep the exception message in the log. Thanks @adoroszlai for your review.

Thanks @chungen0126 for the patch, @swamirishi for the review.


thumbnailing: Increase default pixel size

Current thumbnail implementation provides 100px images for our thumbnails (which are 100px in height). That looks sane before we consider that the majority of clients are now 'retina' - almost all browsers render more physical pixels than what the pixel size would suggest in order to transparently support higher pixel densities.
A typical modern laptop needs a 1.5x-2x larger image than what the html/css pixel size.
A modern phone needs 2x-4x larger image (2x were the first retina iPhones, 4x is for the modern high-end phones like Google Pixel XL)
We should increase the default thumbnail size. The minimum increase should be to 200px height, but I would recommend at least 300px (and we should see how much larger are 400px images)

@borisyankov Can you tell me a bit more about how mobile app renders the message. Like does it queries for the rendered content from server and displays that directly or does it renders it on it.
From this question what I really wanna know is that is the mobile app has any control over the link being used to fetch the images. Because in the case it does, size is just a query parameter and we can introduce more size terminology (for eg. size=mobile-6in) and have server understand these new sizes and act accordingly.
Otherwise we can of course find a size which is suitable for all the devices I guess (and still is small enough to add network load)

@adnrs96 We are just rendering the content with almost no change to the HTML, so whatever you see as HTML on the web plus similar but not the same CSS.
For reference this is the file the 'magic' happens:
https://github.com/zulip/zulip-mobile/blob/master/src/webview/html/messageAsHtml.js#L77
And also we do modify the IMG tag to add a special auth key with this function:
https://github.com/zulip/zulip-mobile/blob/master/src/utils/url.js#L163
With this issue, I intended to show that we would really benefit from 2x size of the thumbnails even for the web. A 4K laptop that has some zoom applied can be more than 2x even.
We can try rewriting the img parameters but I was thinking a 300px height is a nice default.
BTW, this is related #10218


Build static binaries in CI

Issue
We want to build binaries that are compatible with most Linux systems and avoid conflicts with glibc version
Solution 1: Ubuntu 18.04 or 20.04
Building on an older system version means using an older version of the glibc library, which means avoiding the versions conflict we usually face
Solution 2: Nix build
The nix build commands have been merged in PR #811. These commands build static binaries whereas the cargo build commands build dynamic binaries. We have encountered difficulties with the dynamic binaries produced by the CI due to compatibility versions on some of the libraries dynamically linked as described in issue #834.
We need to test in a Poc if the nix commands can be used in replacement on the build jobs of the workflows (if it works and how long it takes vs current workflows)
Solution 3: MUSL build
We could use MUSL to build the binaries, but it will bring other problems due to cross compilation (openssl, sqlite compilations fialing). We decide to not investigate that option at the moment.
To do
Solution 1

[x] Setup build phase on Ubuntu 18.04 or 20.04 (means more complex setup of the env, see example with cargo nextest)

Solution 2

[ ] Build binaries with nix instead of cargo
[ ] Verify build times are acceptable from CI perspective
[ ] Verify that there is no issue regarding evolution (e.g. new cargo versions, ...)
[ ] Verify static builds and that it fixes issue #834

Since it was the easiest solution 1 was used (see #1043), it allow to support systems that bundle glibc 2.31 or more. This include obviously ubuntu version starting 20.01 but also Debian Bullseye (11).


[BUG] ... A RED FLAG issue - category column for budget account disappears when Toolkit is enabled

Describe the bug
When Toolkit is enabled, the Category column in the Budget account register is GONE, as if the account were a tracking account.  Disabling Toolkit restores the Category column
To Reproduce
I just open YNAB and this happens.
Expected behavior
I want the Category column to appear on all Budget account registers, without having to disable Toolkit.
Screenshots
This is what I have with Toolkit DISABLED

This is what happens when I enable Toolkit

Desktop (please complete the following information):

OS: [Windows 10, latest version]
Browser [Chrome]
Toolkit Version [e.g. 2.35.1]

Setting Export
Note! DO NOT replace the leading and trailing ``` characters as they are required formatting characters.
REPLACE_ME_WITH_SETTINGS

Can you please add your settings export to this ticket? It helps a lot when debugging.


Status of CVE-2024-43598?

Hi,
what is the status of CVE-2024-43598? It claims that all versions below 4.6.0 are vulnerable but the latest version is 4.5.0. So either the information is bogus or it was written by someone who knows that there will be no 4.5.1...
I do not see any commit around November that looks like a fix...
Is this CVE genuine at all or is lightgbm the victim of a bogus CVE?

Fixed by #6752.


Fix for @Type not picking up the sentinel value

The code converted the whole TypeInfo payload into an optional type
instead of using the "sentinel" field value.
Fixes #3828

Thank you


Introduce isText property to AbstractNode, defaults to false

CompoundText and Text and EmptyLine (in non strict mode) do not share a common denominator. isText would provide such a common denominator in order to prevent us from having multiple instanceof tests when combining multiple lines of text into a single compound text node.

Introduced AbstracText instead.


Create a "dev dependencies check" script for identifying what a contributor may need

Description

This came out of a discussion between maintainers about Sprints/Contributor Day events where new contributors could use some tooling to determine quickly what dependencies they'd need. This could be similar to calypso-doctor (although perhaps not as involved) in that it would check for various dependencies and fail for ones that are missing.
As just is an uncommon requirement for a project but happens to be necessary for everything we run on the command line, perhaps the tool could also auto-install just (by downloading a binary and putting it in the user's PATH) if requested.
This should probably be written in bash, or at least a language (like pure python) that doesn't require any dependencies in order to run on a POSIX machine.
The dependencies to check for (in my mind and from this doc) are:
0. git

just
docker
python (for pre-commit)
pnpm (for linting and the frontend)

putting it in the user's PATH

Where would you propose that be? A single, safe, and writable destination for PATH is not determinable, certainly not easily, and certainly not with reliability. ~/.local/bin is a convention, but there are others too (e.g., ~/Applications). We could add some path in the Openverse monorepo directory to user's path, and modify their bashrc/zshrc/etc..., but that's pretty gross! I hate it when scripts touch these files without asking me. And whether they're even reliably available on some systems is a question in itself.
Everyone should install just using the tools available to them from their operating system or typical dependency management solution. Use a script from the Openverse project to download it, also kind of makes us responsible for keeping it up to date, or providing some method for doing so. We're not really in the business of managing system dependencies, as far as I know. Unless we're also going to check the just version for contributors and offer to update for them (what a load of complexity :woozy_face:) I don't think there is a good approach here. At most, I think we should link to https://github.com/casey/just?tab=readme-ov-file#installation; and suggest https://github.com/casey/just?tab=readme-ov-file#pre-built-binaries for users that run into problems using standard solutions.
Anything more is a responsibility I don't think this project is equipped to take on, and so complicated that it would inevitably incur a maintenance burden (of course regular maintainers aren't the ones using installation scripts like this most often, so we wouldn't see when they break or stop working).


Fix invalid Docker image name in README, start script

This pull request updates README and start script to use the correct image name (st2chatops instead of hubot).
I assume repo / image was renamed from hubot at some point, but readme and start script was never updated.

Yeah, either works for me. But having docs in a single place is better and less chance of some place getting out of sync (like this repo).


Allow optional file extensions

Would you consider adding support for alternate file extensions?
I'd like to use nyc for a project that uses the .jsx file extension, but I can't manage to get it to cover the .jsx files. Perhaps I've done something wrong, but it seems as though nyc assumes the files being tested have a .js extension.

@Gudahtt I thought we might actually get a request for this :) I like this idea.
@jamestalmage do your require-hook helper modules support alternative extensions? how hard would it be for us to pull this off?

@bcoe I took some time to experiment with this.  I think I've determined how this can be done.  Here's the diff: https://github.com/bcoe/nyc/compare/master...lloydcotten:master
If you want I can refactor into a PR.  Was just wondering if the extensions supported should be configurable?  Such as adding them to the nyc config section in package.json, command line args, etc... thoughts?

append-transform - yes
caching-transform - yes, though that option really doesn't affect how the hook is installed (it just changes the suffix so cache entries will be saved with a .jsx extension - this helps your IDE open them with the correct pretty highlighting - and makes debugging the cache a little easier to sort through).

@lloydcotten - your branch is mostly on the right track, but I think it should probably be configurable which extensions get added. Also, the correct extension would need to be passed through to caching-transform as well.
This issue might also be relevant to implementers: https://github.com/jamestalmage/append-transform/issues/6

I've updated my branch trying to take into account some of the suggestions / info from @jamestalmage.  Just wanted to post the diff here again for review to see if I'm getting close to good.  If so, I can submit this as a PR.  https://github.com/bcoe/nyc/compare/master...lloydcotten:master
There aren't any additional tests yet, mainly because I'm not used to the way these tests are done and,  to be honest, was having a little trouble following exactly what was going on.  If you can provide some guidance as to how this change could be tested using a similar pattern to what's already there, I can certainly take a crack at it.

@lloydcotten - It's best just to open a PR. You can prefix it with [WIP] (meaning "Work in Progress") if you feel it's not ready to be merged yet.
An actual PR makes it a lot easier for all of us to review and give feedback.

Thanks for the feedback @jamestalmage.  I added PR #163.

@lloydcotten @Gudahtt give this a shot:
npm i nyc@next --save-dev
I'll promote to nyc@latest once people have played with it for a bit.

I've just tested this - seems to work great! Thanks!


home-assistant: disable test_error_posted_as_event

The test is still flaky after the latest testing changes.

Motivation for this change
Disable a flaky test. After 4 more hours of home-assistant builds this was the only test that I could get to fail with 32 jobs.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Wow this is hardcore testing.

Thanks a lot!


Very white color as default

There is a very white color ( same as terminal foreground ) for default and I do not know how to change it to dark grey ( i know how to change it ( sort of ) ), using solarized dark colors

I do not know how to change it

See the section on configuration in the readme: https://github.com/zsh-users/zsh-autosuggestions

i know how to change it ( sort of )

You're going to need to get a bit more specific. Can you describe the specific problem you're having?

what number of color is grey.

what number of color is grey

Gray is 8 (the default). Your color scheme likely defines the gray color (color 8) as a white color.
Here's a handy table of colors for 256-color terminals (colors will be slightly different under your color scheme):

More info: http://misc.flogisoft.com/bash/tip_colors_and_formatting

You can also run spectrum_ls in your zsh at any time to see the colour swatch of your terminal.


Error on npm install

Hello,
I take an error while i try to install package. I is not failing npm install process and everything works fine.
The error is as below;

thanks for your helps.

Hi, did you read the error message? cmake: not found ..


Thanos queirier unable to connect to sidecar

Thanos, Prometheus and Golang version used:
thanos: charts.bitnami.com/bitnami 3.17.8
prometheus-operator with sidecar: charts.bitnami.com/bitnami6.0.0
sidecar image: docker.sel.inc/bitnami/thanos:0.20.2-scratch-r1
What happened:
I have successfully installed:

Thanos sidecars for the prometheus agents
Storage Gateway pointing to the s3 storage
CNAB to install prometheus + thanos sidecar on VM

Currently, I am trying to point the Thanos Querier to the Thanos sidecar. For the sake of simplicity, I have even installed the kube-prometheus chart on the same namespace as the Thanos Chart.
I am able to see that the storage unit has been successfully installed through the Query logs below:
level=info ts=2021-06-10T17:01:27.335676921Z caller=bucket.go:555 msg="loaded new block" elapsed=72.93339ms id=01F7VDVKVPG1HC716MKZ7CH9JA level=info ts=2021-06-10T17:04:27.247103408Z caller=fetcher.go:476 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=112.484546ms cached=35 returned=35 partial=0
However, when I try to point to the corresponding Thanos sidecar, I continously receive the following error message:
Error while dialing dial tcp: lookup prometheus-kube-prometheus-prometheus.thanos.svc.cluster.local on <IP_ADDRESS>:53: no such host\"" address=prometheus-kube-prometheus-prometheus.thanos.svc.cluster.local:10901
I have verified that the hostname: prometheus-kube-prometheus-prometheus.thanos.svc.cluster.local is resolvable through a nslookup box on the same thanos namespace.
Also, when going to the Thanos UI, and clicking on the stores, it says that there are no stores registered to that Thanos instance.

What you expected to happen:
The Thanos instance to pick up the storage unit which the Querier can see.
How to reproduce it (as minimally and precisely as possible):
helm install my-release bitnami/thanos
Here are the helm values that I am using for the helm install thanos chart:
---   existingObjstoreSecret: "thanos-objstore-config"   metrics:      enabled: "true"   querier:      dnsDiscovery:        enabled: "true"       sidecarsNamespace: "thanos"   query:      logLevel: "debug"     stores: "{prometheus-kube-prometheus-prometheus.thanos.svc.cluster.local:10901,thanos-storegateway.thanos:10901}"   queryFrontend:      ingress:        enabled: "true"       hostname: "thanos.appstest.ad.selinc.com"       tls: "true"   storegateway:      enabled: "true"
Full logs to relevant components:
Thanos Log Qurier.
thanos-querier.log
Thanos Sidecar Logs
thanos-sidecar-logs.log

@ChristopherVishoot I don't have any experience about the bitnami chart. Can you check that service prometheus-kube-prometheus-prometheus exists in thanos namespace and port 10901 is exposed?

Alright, so I have validated the service, and then made sure that the correct port was exposed.

I have also updated the Quirer to point to the service endpoint with the correct port, and yet the same error is still occurring (unable to find the host).
The new endpoint:
kube-prometheus-prometheus-thanos.thanos:10901
Other things of interest:
When I look at the pod containing the thanos sidecar, I notice that it isn't exposing the grpc 10901 port.

I also have noticed that the bitnami chart for the thanos service is creating a headless service.

Well, I am not sure. I don't understand why it is configured as a headless service. A normal service with clusterIP would work I think. You can try it and see if it works for you.
It would be better if you can also open an issue on the bitnami's repo.

OK! I'll go ahead and just ask the Bitnami folks about this. Even I'm confused to why they did that.


Custom Standard at .phpcs.xml.dist ?

Would it be possible for the extension to check for .phpcs.xml.dist/phpcs.xml.dist  in addition to phpcs.xml?
Or choose to have the --standard= flag not be present, and then phpcs will look for the config file?

You should be able to specify that file in the config. Is that not working?

Hey @dannyreaktiv how did it work out?

You were right that I could just set it in the config.
However, I wasn't able to get the extension running correctly.
It would find the Executable Path, and a working directory, and Start Listing, but not return any errors that I could get from running phpcs in the command line.

interesting, I will look into that. Thank you for providing feedback. Would you mind sharing your phpcs file so I may use it for testing?

Sure thing. This is the one I am using. https://github.com/Automattic/VIP-Coding-Standards/blob/develop/.phpcs.xml.dist

I was able to recreate the issue and hope to have this fixed here in a bit.

@dannyreaktiv I just pushed update 0.1.32, this should work. In testing I found it that specific file did not work because various rule providers were not available (that wasn't the original issue, but might be the cause if it still doesn't work for you).
Let me know how it goes. :) Thanks again for reporting this.

Got the update (automatically updated through Nova)
I needed to include the absolute path for the .phpcs.xml.dist file (ex. "/Users/…"), but it appears to be running correctly using the desired toolset. Thanks!

you should only have to include the project-relative path for the phpcs config file. do you store it somewhere other than the project root?

It's in the project root as .phpcs.xml.dist

That is odd ... i tested with that as well, and i did not require the absolute path. Can you turn on debugging in the extension config and copy/paste the entire console output for this extension only? That will help me troubleshoot. Thanks!


Method List Browser debug option and Run Tests

Control-B normally debugs selected code.  This is missing from the method list browser. The method text pane popup menu does not have a debug it option.
Also, I think the Run Tests menu item should be renamed Run Test in cases where it only runs the selected test.  It's most confusing in the Method List Browser, but it's not correct in the Project Browser method list pane.

Believe that this is fixed as of 3.0.49. Ctrl-B should debug selected tests in a list or open a debugger on selected text in a source pane.


Overloading and High memory consumption while downloading data

Hi there, thanks for developing  finder
I am currently running finder on a fungus genome. I put several dozens of SRA libraries in the metadata file. The process is currently at the first step, downloading from SRA and aligning the data using STAR.
Currently, this is the landscape on the node I am running finder:

The load average is very over the roof. Do you know why is this happening? Is this normal? Can you further explain to me what is downloadAndDumpFastqFromSRA.py doing besides prefetching and using fasterq-dump? It seems to me it is creating too many processes.
On the other hand, memory is another issue that I worry about. This should be a fairly small genome (~43 Mb), but it is using 380+ Gb of memory! it has even swapped already (which slows tremendously the process). I am not sure which processes are taking that much space. It is not clear to me that it is STAR, because if it were, memory should have been released after the alignment process. So I wonder why Memory is almost full while downloading data.
For reference, this is the command line I used:
finder -mf $folder/new_metadata.csv -out_dir $folder/output -g $folder/input/strain_masked.fasta -gdir_star $star_folder -gdir_olego $olego_folder --cpu $threads --addUTR

I would appreciate any thoughts on the matter. My TI admins are asking and I would like to be able to answer them.
Regards

Hi @sivico26,
Thank you for your interest in finder. The downloadAndDumpFastqFromSRA.py script will spawn multiple processes for downloading the raw data. Even then I am not convinced that it should take such a large amount of memory since prefetch writes to the disk. You can rerun finder with /usr/bin/time --verbose option. It can tell you whether it is this process that uses such a large amount of RAM.
Thank you.

Hi, thanks for the suggestion.
If I stop finder and launch it again with the files exactly as they were at that point, Would finder be smart enough to retake the process where he left it (let's say he already downloaded and aligned half of the data), or would it start from the beginning? I ask because it has not reached any checkpoint yet.
Regards

Yes, finder will skip the steps that have already been computed.
Thanks.

Just wanted to let you know I did not have the chance to apply your suggestion because the node failed during finder execution (It is currently down, so nothing I can do at the moment).