Milestone for REST/binary changes listener?

Hi,
I would just like to ask if there's any plan on implementing some sort of REST/binary changes provider much like the one available in CouchDB. Basically, client either constantly polls or long-polls from the server. Once change happened, client becomes notified or which record was changed.

We already provide it as Live Query. Check this in documentation.

Nice! Cutting edge stuff

Understandably it says "This feature is experimental and not covered by commercial support...". Can you provide some insight on whether you guys will keep this feature in later versions and, if yes, then by which version of OrientDB is it expected to become stable?

Hi Andrey,
we would have liked to release it as a stable feature in 2.1, but it was
too close to the release, so we decided to release it anyway, but as
experimental.
In 2.2 it should be released as a stable feature, you can just expect some
minor changes in the API.
Luigi
2015-04-29 11:00 GMT+02:00 Andrey<EMAIL_ADDRESS>
Understandably it says "This feature is experimental and not covered by
commercial support...". Can you provide some insight on whether you guys
will keep this feature in later versions and, if yes, then by which version
of OrientDB is it expected to become stable?
—
Reply to this email directly or view it on GitHub
https://github.com/orientechnologies/orientdb/issues/4052#issuecomment-97357374
.

That's great news. I'll start using this feature then, since it's going to grow mature. Thanks guys


Fixes comment block's start field regex

Fixes #56
I have also added test to ensure, documents having both comment block and comment as key works fine.

Thanks for this fix!


fix: update installer icons

That ^

Not needed for now. Take a look at this after deciding which builder use for electron.


Upgrade from 2.1.0 to 2.1.1 removed Laminas-Form from modules.config.php

BC Break Report
After running composer update it removes Laminas-Form from the modules.config.php file

Q
A

Version
2.1.1

Summary
After composer updated there was no Laminas-Form in my modules.config.php
Previous behavior
Laminas-Form was in my modules.config.php
Current behavior
removed Laminas-Form
How to reproduce
Run composer update. I have tested this in two separate projects with the same results.

form provides its own entry.
Can you try to remove vendor directory and run composer install, see if it is added back?

When component installer plugin processes package updates on composer update it is only invoked for packages that actually changed. Because this package had duplicate entry from laminas-form it ended up removing laminas form module on update.

Yes it adds it back in if you delete the vendor directory and run composer install.

This was a bug fixed in this package. It should not have had component installer entries in the first place. This is potentially a bug in laminas-component-installer and it is definitely an edge case but I am not sure it can be fixed.


Why named 'father'?

Nothing happend, just curious about the name 'father'.

It's the shortest meaningful package name we have on the npm.

cool


Refactor token generation to make it testable

Some ideas in this thread https://github.com/stacklok/minder/pull/2413#discussion_r1502784683
In summary, store a map of map[provider]*auth.OAuthConfig which is managed via a Register(string, *auth.OAuthConfig). On calls to NewOAuthConfig look up the auth.OAuthConfig from the map.

This was done as part of #3334 using the githubProviderManager


lensFlareSystem .viewportBorder (lensflare from outside of the screen)

default = 0, no change in default behaviour.
if > 0, lensflares start to intensify when they are slightly outside of
the viewport (as they should I think, most real lens flares are visible
when the light is not yet in the view)

Lensflare screenshots

Brilliant


Auto-generate version.h

Move the CML version into CMakeLists.txt, and auto-generate version.h based on that.

This would break code that directly includes CML sources, so closing as wontfix.


Command line --check-only gives a false compilation error

Godot version
4.0.3-stable
System information
Windows 10
Issue description
When checking a gd script using the command line, it give a false compilation error. It seems to not be able to discover the autoload setup and fails to find defined autoloads, generating this error:
SCRIPT ERROR: Compile Error: Identifier not found: singleton
I thought that compilation does not check for this, but if I intentionally add "class_name singleton" I get this very correct compilation error:
SCRIPT ERROR: Parse Error: Class "singleton" hides an autoload singleton.
This means the compilation process knows the autoloads but still fails to identify them as already defined class. This is a language feature as per official documentation:
From https://docs.godotengine.org/en/stable/tutorials/scripting/singletons_autoload.html:
"If the Enable column is checked (which is the default), then the singleton can be accessed directly without requiring get_node():"
I've attached a minimal project to demo the bug. In the editor works correctly, but checking compilation errors on the command line fails to find the autoload identifier.
Steps to reproduce
Execute the .bat associated in the attached .zip to compile the file and see the compilation error that should not happen. You might need to edit it to point to your godot executable. It just executes:
"c:\Program Files\Godot\Godot_v4-stable_win64.exe" --headless --check_only -s scene.gd
If you open the project in the editor the code compiles and works correctly
Minimal reproduction project
compilation_bug_test.zip

"c:\Program Files\Godot\Godot_v4-stable_win64.exe" --headless -s scene.gd" result in the same error. This issue happens not only when "--check_only" is given.

"c:\Program Files\Godot\Godot_v4-stable_win64.exe" --headless -s scene.gd" result in the same error. This issue happens not only when "--check_only" is given.

That particular issue is being tracked in https://github.com/godotengine/godot/issues/80319. Were project autoloads ever loaded when using --script/-s (especially in 3.x)?

Were project autoloads ever loaded when using --script/-s (especially in 3.x)?

I have a working standalone script in 3.x that depends on an autoload fwiw

@Calinou looking into the source, it seems like autoloads are being loaded just fine. The problem is that the script is loaded (and thus compiled) before that happens, so compilation fails because the autoload global names aren't populated yet. I'm not sure why this was working in 3.x but I assume compilation worked differently in those versions.
I'm working on a fix that basically populates the autoload map before assigning the main loop, and only adds them to the tree if said loop is a scene tree. I'll submit a PR shortly to get guidance on whether my approach is sound


npm-groovy-lint --version returns wrong CodeNarc version

After upgrading to 13.0.0, npm-groovy-lint --version displays CodeNarc version 3.3.0
➜  ~ npm-groovy-lint --version
GroovyLint: Successfully processed CodeNarc:
CodeNarc version 3.3.0

npm-groovy-lint version 13.0.0

Embeds:
CodeNarc version 3.3.0
- Groovy version 3.0.9 (superlite)

While 13.0.0 seems to be based on newer version of CodeNarc which is a bit confusing
BREAKING CHANGE: Upgrade CodeNarc to v3.4.0-alpha+3346775f

This is expected as that's how the CodeNarc build system works as the tag doesn't actually exist. This will be corrected when CodeNarc does an official release some time next year.


First Part of Recording Gets Cut Off

Pretty much as the subject says.  We're testing Piper on an Ubuntu 22.04 system.  It's a virtual machine running on an Ubuntu 22.04 host in KVM (to be clear, yes, VM and host are both 22.04).  VM has 28GB of RAM, 6 CPU cores (I think around 3.6Ghz per core).  Piper is being run using the files downloaded directly from Github (not in python, just invoking the script with ./piper).
I've tried amy, lessac-low, and lessac-medium and all of them have the same problem; about the first half second of the recording is dead air, cutting off the opening word, or half of the opening word of the statement.
I've not messed with the config files at all, other than to give them a glance over, and it's not apparent to me that there's anything in there that would help.  I'm pushing the text in using echo piped into piper, if that matters, and I'm outputting to a wav file.
I'm hoping there's either a) a way to fix this issue, or b) a way to somehow set a pause or blank space in a text, either as part of the input text or as a setting we can configure, so that maybe we can just tell the model to wait a beat before it starts speaking.  Everything past that first half second comes out perfectly.

Update:  It was bluetooth.  It's always bluetooth.  I should have realised sooner.
No issue here, marking as closed.


Generic icon component with typescript

Prerequisites

Version: ^0.88.0
Are you running from source/main: No
Are you using a released build: No
Operating system: macOS
Bits: 64 bits

Step to reproduce
I am using the example code from Lucide React to make a generic icon component.

import * as icons from 'lucide-react';

const Icon = ({name, color, size}) => {
  const LucideIcon = icons[name];

  return
};

export default Icon;

It's working very well. But now, we are trying to use typescript and React createElement to return the element.

import React, { createElement } from "react";
import * as lucideIcons from "lucide-react";
import PropTypes from "prop-types";

interface LucideProps {
  icon: keyof typeof lucideIcons;
  className: string;
}

function Lucide(props: LucideProps) {
  try {
    const { icon, className, ...computedProps } = props;
    if (lucideIcons[props.icon] !== undefined) {
/*
* No overload matches this call.
*   The last overload gave the following error.
*     Argument of type '((iconName: string, iconNode: any[]) => (props: LucideProps) => Element) | ((props: LucideProps) => Element) | ((props: LucideProps) => Element) | ... 828 more ... | ((props: LucideProps) => Element)' is not assignable to parameter * of type 'string | FunctionComponent | ComponentClass'.
*       Type '(iconName: string, iconNode: any[]) => (props: LucideProps) => Element' is not assignable to type 'string | FunctionComponent | ComponentClass'.
*         Type '(iconName: string, iconNode: any[]) => (props: LucideProps) => Element' is not assignable to type 'FunctionComponent'.
*           Type '(props: LucideProps) => Element' is not assignable to type 'ReactElement'.ts(2769)
*/
      return createElement(lucideIcons[props.icon], {
        ...computedProps,
        className: `lucide ${props.className}`,
      });
    } else {
      throw props.icon;
    }
  } catch (err) {
    throw `Lucide icon '${props.icon}' not found.`;
  }
}

Lucide.propTypes = {
  icon: PropTypes.string,
  className: PropTypes.string,
};

Lucide.defaultProps = {
  icon: "",
  className: "",
};

export default Lucide;

Is there a way to use Lucide React with createElement and typescript?

Hello looking for solution for this one also


Default widget width not defined/looks broken

Describe the bug
Compared with the earlier version, the new datapoint graph has a different default width define, which makes the widget look broken on default/whenever added
**To Reproduce
**
Steps to reproduce the behavior:

Edit widgets
Select new (vs. old) datapoint graph widget
Add

Expected behavior
a good default size that doesn't look broken/always require a resizing to be usable
(maybe even a minimum size, if the widget doesn't work smaller anyway)
Screenshots

Issue fixed in the following PR:
https://github.com/Cumulocity-IoT/cumulocity-community-plugins/pull/46


pycors always tries to install 3.9.0 on Linux

platform: KDE neon User Edition 5.17(based on ubuntu)
pycors: 0.2.1
pycors always tries (and fails) to install 3.9.0 against any python versions.
$ pycors install 3.8.0

[2019-12-10T03:47:12Z INFO  pycors::cache] Using cache (0 days old)
[2019-12-10T03:47:12Z ERROR pycors::toolchain] Failed to parse version string "2.7.15+": ParseError("Error parsing prerelease")
[2019-12-10T03:47:12Z ERROR pycors::toolchain] Failed to parse version string "2.7.15+": ParseError("Error parsing prerelease")
[2019-12-10T03:47:12Z INFO  pycors::commands::install] Installing Python 3.9.0 (from https://www.python.org/ftp/python/3.9.0)
[2019-12-10T03:47:12Z INFO  pycors::download] Downloading https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tgz...
Error: Failed to query python.org: Response { status: 404, version: HTTP/1.1, headers: {"server": "nginx", "content-type": "text/html", "x-clacks-overhead": "GNU Terry Pratchett", "via": "1.1 varnish", "via": "1.1 varnish", "content-length": "162", "accept-ranges": "bytes", "date": "Tue, 10 Dec 2019 03:47:13 GMT", "age": "371", "connection": "keep-alive", "x-served-by": "cache-jfk8121-JFK, cache-hnd18744-HND", "x-cache": "MISS, HIT", "x-cache-hits": "0, 1", "x-timer": "S1575949634.863530,VS0,VE0", "strict-transport-security": "max-age=63072000; includeSubDomains"}, body: Body(Streaming) }

This is caused by semantic versioning interpretation.
By default, without any prefix character to the version provided (here 3.8.0), the semver crate interpret the requested version as ^3.8.0, which means >=3.8.0, < 4.0.0. The latest Python version matching this is 3.9.0 and hence this is the one being attempted to download.
Unfortunately, 3.9.0 is not yet released and is only available as pre-release (see directory listing here: https://www.python.org/ftp/python/3.9.0/). Hence why it is failing.
What you want is to request an exact version to install. To do this, simply prepend the version with =:
pycors install =3.8.0

I've opened #101 regarding the confusing behavior.


AStar/BiDirAStar - Test 27 Is Broken

Fixing Test 24 broke Test 27....

  FIXED!


Entity picker multiple not working

Can only pick one item. Am I missing something?
Settings

This happens

@tobbbe have you tried filling in the minimum / maximum number of items allowed in the prevalue? They are empty in your screenshot.

huh! works if I set "Maximum number of items" to > 1. thanks! :D


Some non-intended missing terms from imports

I noticed around 150 terms in mondo.owl (48 now that I moved the PRO issue here), which are not imported (and should):
@matentzn

[x] ECTO:0000121
[x] ECTO:0000330
[x] ECTO:0001059
[x] ECTO:0001591
[x] ExO:0000002
[x] NBO:0000034
[x] NBO:0000433
[x] NBO:0000455
[x] NBO:0000551
[x] NBO:0000612
[ ] NPO:1731
[ ] NPO:1732
[ ] NPO:1735
[ ] NPO:1736
[x] OBA:1001084

@cmungall

[ ] UMLS:C1709838
[ ] MFOEM:000193
[x] MFOMD:0000101
[x] MFOMD:0000105
[x] MFOMD:0000107
[x] MFOMD:0000109
[x] MFOMD:0000119
[x] MFOMD:0000122

@nicolevasilevsky

[ ] NCBITaxon:11046
[x] FOODON:00003374
[ ] NCIT:C147564
[ ] NCIT:C15492
[ ] NCIT:C15493
[ ] NCIT:C15496
[ ] NCIT:C15497
[ ] NCIT:C16273
[ ] NCIT:C16326
[ ] NCIT:C17214
[ ] NCIT:C19085
[ ] NCIT:C19683
[ ] NCIT:C35920
[ ] NCIT:C36104
[ ] NCIT:C36869
[ ] NCIT:C37109
[ ] NCIT:C37123
[ ] NCIT:C38328
[ ] NCIT:C43431
[ ] NCIT:C45980
[ ] NCIT:C45981
[ ] NCIT:C52005
[ ] NCIT:C53637
[ ] NCIT:C68748
[ ] NCIT:C68749

IMO this means that some of the imports have not been properly refreshed:
Known issue
@matentzn to deal with

ECTO (#1949)

Should be refreshed normally
@nicolevasilevsky next time you refresh imports (at release time) ensure that all terms from these namespace are actually imported correctly.

[x] FOODON
[x] NCBITaxon
[x] MFOEM (not an import (or is it this mf import?) -> the labels have not been imported
[x] MFOMD (same as above?) -> the labels have not been imported
[x] NCIT
[x] OBA

Not currently an import: What should we do with these?
@cmungall
Should we delete terms from this namespace prior to release? Or add them as imports?

NBO
ExO
NPO
PR
UMLS

NBO

I quite like the axioms we have that use NBO, but there are only a handful, I am not sure how we are with things like making a base file for NBO. May be easier to filter for now?

ExO

Does this come from the ecto import?

NPO

I'm sure this must come from the ecto import? We needed this way back before we added energy terms to envo

PR

Switch these to ncbi gene IDs. Maybe make a ticket for this

UMLS

no idea how these get in here, we should have no logical axioms that reference this in the new mondo.owl, only in imports/equivalencies.owl
ExO
NPO
PR
UMLS

no idea how these get in here, we should have no logical axioms that reference this in the new mondo.owl, only in imports/equivalencies.owl

[Term]
id: MONDO:0042963
name: wandering spleen
...
xref: UMLS:C0272414 {source="MEDGEN:kboom-pr98-c99", source="MONDO:equivalentTo", source="GARD:0000328", source="NCIT:C85224"}
is_a: MONDO:0002332 {source="MESH:D050805", source="linkedlifedata"} ! splenic disease
is_a: UMLS:C1709838

Seems like this references the class "Rare Non-Neoplastic Disorder" (which I cant find in the ontology, but maybe someone else can): https://www.ncbi.nlm.nih.gov/medgen/354119
Solution 1: we just delete the is_a
Solution 2: We create a Mondo term for "Rare Non-Neoplastic Disorder", xref UMLS:C1709838 to that and replace the is a with the new Mondo term.
@cmungall your call!

action item:
after our recent PRs are merged, check the terms above and then this can be closed.

this has been addressed by PR #3966


Filter a report using query string parameters in the URL: Unstable

This feature/option does work sometimes, but not always. It never filters sometimes. Also, please let know if this option also works on the embedded URL.

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

ID: 70b360f3-21a7-adc2-896a-b1dfd5d9e384
Version Independent ID: 15e8c09f-46ad-68f9-75e6-c3d5c2c214e5
Content: Filter a report using query string parameters in the URL - Power BI
Content Source: powerbi-docs/service-url-filters.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @Vicchi21. We’ve forwarded your feedback to the writer, who should respond to this thread shortly.
Also, looks like this also is product feedback – you can submit product feedback or feature ideas by going to https://ideas.powerbi.com. You can also engage with the Power BI engineering team by being active in the Power BI Community, found at https://community.powerbi.com.

Hi, @Vicchi21 -- thanks for your comment and question!
I'll check on your embedded URL question.
For your other comment, "This feature/option does work sometimes, but not always. It never filters sometimes." can you elaborate? I'm not following.

I can also confirm that this feature will stop working sometimes. When it does not work it sends the user to the Power BI log-in screen. After entering credentials, it will throw an error page saying that the page cannot be found.

Hi, @Vicchi21 -- 2nd comment first:
Also, please let know if this option also works on the embedded URL.
Good news! URL filters are supported in Power BI Embedded. See here: https://azure.microsoft.com/en-us/updates/power-bi-embedded-advanced-url-filtering-capabilities/
I'll update this article with that info and link. Thanks for asking!
for @Vicchi21 and @joelvega, your 1st comment: This feature/option does work sometimes, but not always. It never filters sometimes. These sound like bugs. I recommend contacting support: https://powerbi.microsoft.com/en-us/support/


1.7.10 Rotary Condenser making wrong HCl

Instead of converting the gas into the blue hydrogen chloride liquid its converting it to the green hydrogen chloride from IHL tools and machines!

Both should be cross compatible

Well, it's not doing that on your latest 1.7.10 build. The Rotary Condenser can create the green hydrogen chloride and output it into barrels but the Rotary Condenser can't convert the green hydrogen chloride back into the gas. So it's one way only. Thanks for your response anyway!


Split NAudio into multiple NuGet packages

#591 - .Net Standard-ify NAudio

Note that it's easier to review these changes in the desktop GitHub app, as it shows that almost all the changes are simple renames

@markheath would you be willing to take a PR like this, or should I try to split it up into smaller chunks? Renaming NAudio/ to NAudio.Core/ is generating a huge changeset which is probably 95% of this PR.

@markheath I would love to know your thoughts

This is great @jwosty!

@tedvanderveen If anything I may split this effort off into a fork, since I would like to use this functionality sooner rather than later

I like the idea of breaking NAudio up into packages. Can you just quickly summarise what went where because GitHub is doing an awful job of showing the diffs in a consumable way? In particular did you move DMO and MediaFoundation in with WASAPI?

I've been having an experiment and have pushed a v2 branch, as a starting point for how things might be divided. There is still work to do on cleaning up namespaces, but might be worth you having a look and seeing if that breakdown would work for you.
The other big thing I'd love to get into a v2 of NAudio would be to make it based on Span

With regard to "span", please keep in mind us VB developers that also consume this project.

Is there a problem using Span from VB?

Obviously if the span(s) is/are kept completely internal to the implementation... then there's no problem.  However, VB contains little to nothing to create, support or interact with spans.  For example...
Dim arraySpan = New Span(Of Byte)(array)
Creates a (BS!) error stating 'Span(Of Byte)' is obsolete: 'Types with embedded references are not supported in this version of your compiler.'
"obsolete" isn't really the right word in that error.
So if there is / are any requirements to initialize, interact with spans from "other languages"... the advice would seem to be that "spans" are something to only be used within the implementation but not exposed on/through the API layer.

Well, speaking of multiple languages, I'm using NAudio from F#, and F# can consume Spans just fine (though there's a little roughness around the edges when it comes to certain parts). Yikes. That's horrifying that VB doesn't support them very well. I would normally ask why people are using this library anymore from VB, but given how long NAudio has been around, I get it...

"I would normally ask why people are using this library anymore from VB"
I, for one, think NAudio is AWESOME and recommend it to everyone I interact with when it comes to working with audio in .NET.

@markheath Looking at this PR again, it seems I pretty much just made the following splits (by splitting some things into new csprojects and therefore creating some new packages):

NAudio.Core - as far as I remember, it contains the core interfaces and everything that could be shared across platforms (so that in the future someone [probably me :)] could come along and write a macos implementation for things)
NAudio.Asio - all the Asio implementations (pretty much just AsioOut and everything ASIO-specific that it needs)
NAudio.Wasapi - all the Wasapi implementations (again, pretty much just WasapiOut and its non-shared dependencies)

The end result is that in this PR now we have these new NAudio.Core, NAudio.Asio, and NAudio.Wasapi projects separated into their own folders. Which is why Github is generating the awful diff as you can see. I didn't change any namespaces or any code at all, just drew some extra lines for new packages. Pretty much just moved files around, messed with the build a little bit, and made some new csprojects.
@DualBrain yes, I love this library too and I want to see it flourish just like you! @markheath has done a phenomenal job with this beast of a library and his efforts are not going for granted. I also don't want to come off like I'm dissing VB, haha.
Although I don't use F#... I am a HUGE fan of the F# community.  I'm doing what I can to help nudge the VB community to be inspired by the F# community to get more involved in our own future.
For example, I just kicked off a project to "take ownership" of the "Visual Basic Runtime" from a more community point of view; in one area particular, I'm planning on utilizing NAudio for the My.Computer.Audio functionality (when running on Windows) - yes, one of the goals is to take the runtime cross platform as I'm also interested in Linux and RasPi.

@markheath I'm looking at your v1 branch and yeah, it looks like you've done pretty much what I've done here, but you've done more packages as well. Seems like we're on the same page here!
@DualBrain yes! As time goes on it really seems like the best way to get stuff you want in your language. If the OSS community didn't push F# as hard as they have been by digging into the guts of stuff themselves, F# wouldn't be where it is today. The Microsoft F# team (who are all very passionate and dedicated individuals of course) only has so much manpower and MS doesn't grow them very much! Your projects sound very interesting, anyway!
I, personally, am using NAudio for a cross-platform desktop application that will be used in the live performance industry. That's why I'm so invested in the macos aspect of stuff.

Perhaps it may be more relevant to move this discussion to #591 as it seems this draft PR might be unnecessary at this point, since the work is being done in a different branch

I'm going to close this PR, as I've done it in a slightly different way on the v2 branch
Many thanks for your work on this which prompted me to finally get this done


How did you know that Bittrex provides Websocket connect?

Hi,
I'm wondering how did you know that Bittrex provides Websocket connect?
I didn't find any notice here: https://bittrex.com/Home/Api

#21


Public Yeet command

When mods want to abuse their privileges publicly, it's displayed publicly.

Mod abuse complete.


pg_dump: error: aborting because of server version mismatch

Hi There,
How can i solve this?
pg_dump: error: server version: 14.2; pg_dump version: 13.6
pg_dump: error: aborting because of server version mismatch

Both Add-Ons installed:
pgAdmin4
Current version: 2.0.0
TimescaleDB
Current version: 2.0.1

Hi!
It seams you are using PostgreSQL 14, while the version of pg_dump you are using is 13.6.
From where are you usign pg_dump?

Same issue here. Using your pgadmin4 add-on and the version of pg_dumpall etc that is supplies

Hi @Expaso, i'm using timescale addon version 2.1.0 and pgadmin4 addon version 2.1.1 and i've got the same error
i was trying to export the db schema only.
this is the log:
Backing up an object on the server 'homeassistant (77b2833f-timescaledb:5432)' from database 'homeassistant'
Running command:
/usr/local/pgsql-13/pg_dump --file "/root/hassio_backup_schema.sql" --host "77b2833f-timescaledb" --port "5432" --username "shakin" --no-password --verbose --format=p --schema-only --no-tablespaces --schema "public" "homeassistant"
 Start time: Thu Nov 17 2022 09:35:35 GMT+0100 (Ora standard dell’Europa centrale)
pg_dump: error: server version: 14.5; pg_dump version: 13.8
pg_dump: error: aborting because of server version mismatch

it seems the addon is pointing to a wrong directory (pgsql-13) to find pg_dump

For those who are looking for a solution to this problem.
The problem is due to pgAdmin4 configuration and can be simply solved.
You can change the path of default binaries directory in pgAdmin here - File -> Preferences -> Paths -> Binary paths -> PostgreSQL Binary Path. Set it to your PostgreSQL installed binaries. All the binaries then will be picked from this.
Specifically for PostgreSQL 14 the directory to set is /usr/local/pgsql-14
Refer to this link for more info
https://redmine.postgresql.org/issues/5995


Does not work with handlesbar 4.0, only handlesbar 3.0

They must have change the trait of their helpers between 4.0 and 3.0. Here is the error :
help: the trait `for<'r, 'reg, 'rc, 's, 't0> Fn<(&'r Helper<'reg, 'rc>, &'reg Handlebars<'reg>, &'rc handlebars::Context, &'s mut RenderContext<'reg, 'rc>, &'t0 mut (dyn handlebars::Output + 't0))>` is not implemented for `FluentLoader<&StaticLoader>`
   = note: required because of the requirements on the impl of `HelperDef` for `FluentLoader<&StaticLoader>`

Thank you for your issue! If someone is interested in tackling this, I'd welcome a PR.

This is now fixed in 0.7.1


Make aliases work again Closes: #93

Only show usage when twurl is called without arguments.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Coverage decreased (-0.04%) to 88.123% when pulling 0c4711aafc866614cf95a51e3a41a9ca0782dfba on flaviomartins:patch-3 into 7eb9a1364cbc9e8ee30a81cf36db384eb363e0af on twitter:master.

قناةشليلة.com
Android.com
Twitter.com
Gthub.com

اصوت بصوت عالي

قناة شليلة
Patch
Gthub.com
Android.com
APKONLYINihdadi.com
<EMAIL_ADDRESS>

From 0c4711aafc866614cf95a51e3a41a9ca0782dfba Mon Sep 17 00:00:00 2001
From: Flavio Martins<EMAIL_ADDRESS>Date: Tue, 12 Mar 2019 13:33:57 +0000
Subject: [PATCH] Make aliases work again Closes: #93

lib/twurl/cli.rb | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/lib/twurl/cli.rb b/lib/twurl/cli.rb
index c68210c..f6495db 100644
--- a/lib/twurl/cli.rb
+++ b/lib/twurl/cli.rb
@@ -41,8 +41,6 @@ def dispatch(options)
end
   def parse_options(args)

   arguments = args.dup

   Twurl.options         = Options.new
   Twurl.options.trace   = false
   Twurl.options.data    = {}

@@ -91,15 +89,15 @@ def parse_options(args)
end
end

   arguments                 = option_parser.parse!(args)

   Twurl.options.command     = extract_command!(arguments)

   Twurl.options.path        = extract_path!(arguments)

   if Twurl.options.command == DEFAULT_COMMAND and Twurl.options.path.nil?

   if args.first.nil?
     CLI.puts option_parser
     raise NoPathFound, "No path found"
   end

قناة شليلةgithub-customer-data-protection-addendum-presigned.pdf

   arguments                 = option_parser.parse!(args)

   Twurl.options.command     = extract_command!(arguments)

   Twurl.options.path        = extract_path!(arguments)

   Twurl.options.subcommands = arguments
   Twurl.options
 end

Hi @flaviomartins, Thanks for submitting this PR!
Can you update your branch (merge mater) to see if that fixes the CI test? Thanks!

Hi @smaeda-ks. Done! Seems to pass all tests now.

@flaviomartins Thanks for the additional commits! Don't worry about the test failures, that's a known issue and I just fixed it in https://github.com/twitter/twurl/pull/128/commits/b22bd20b97bda1048df5e84193f78604464d22ce.
Merging this PR!


Deploy to Q Testnet

Chain Name
Q Testnet
Chain ID
35443
RPC URL
https://rpc.qtestnet.org
Block Explorer URL
https://explorer.qtestnet.org/
Deployment Funds
Yes

Done, thanks!


Jinja template error on stats query via CLI

$ greynoise stats "Google LLC"
Traceback (most recent call last):
  File "/usr/local/bin/greynoise", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/greynoise/cli/decorator.py", line 105, in wrapper
    return function(api_client, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/greynoise/cli/decorator.py", line 39, in wrapper
    output = formatter(result, params.get("verbose", False)).strip("\n")
  File "/usr/local/lib/python2.7/site-packages/greynoise/cli/formatter.py", line 45, in wrapper
    output = function(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/greynoise/cli/formatter.py", line 115, in gnql_stats_formatter
    return template.render(results=results, verbose=verbose, max_width=max_width)
  File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/site-packages/greynoise/cli/templates/macros.txt.j2", line 34, in template
    {%- set right_width = elements_slice | map(attribute='count') | map('string') | map('length') | max %}
jinja2.exceptions.TemplateAssertionError: no filter named 'max'

version:
greynoise 0.3.0
  Python 2.7.16
  Darwin-18.7.0-x86_64-i386-64bit```

disregard- I upgraded to the latest code and this seems to have been fixed. Thanks!


Add Python and Github content for Clinic

Add and organize content for Pre-Hackathon Clinic

Code management (using git)
Using command line (terminal/shell)
Fundamentals of Python programming


inso run test command throws error (INSO CLI)

I have created unit tests currently in Insomnia Designer  its working  fine there with UI.
However, INSO CLI is throwing error with below command
inso run test

I have tried with command
inso run test --appDataDir .
this works but we cannot combine other options as mentioned in this document especially reporting doesn't work
I tried with  > output file as well but this seems to be doesnt work with inso run test --appDataDir .

This is verify critical feature please fix this asap
Logging after having discussion with Nijji
Neither of this command is working:
inso run test "MyTestSuite"
inso run test spc_ba58e1
I believe these are basic commands for inso not sure why this is also not working.

@ganeshsirsi I will log an issue for Inso not finding the application data directory by default, but I believe the flag you need for outputting to a file will be the --ci flag. See Global Options for more information.


TransactionRepository doesn't support rewind

This bug was spotted by @pacu and it's described here.
TransactionRepository is used to get lastScannedHeight which is then used to compute which ranges should be used for sync.  Problem is that TransactionRepository doesn't have any support for rewind. So when rewind is called from any app then TransactionRepository doesn't rewind and next time scan range is wrong. And blocks fetched after rewind aren't synced.

@pacu is right. I verified that and last scanned height is rewinded correctly. I am not longer able to reproduce the original problem. It looks like it wasn't caused by wrong rewind but by incorrect state of cache DB (#660). This is now fixed in #648.


udpate to 01.beta.36

Hello @dnadeau4,
this looks like its mainly an update in mip table dates  and the version string for the data request.  Where there no updates to diagnostics between 32 and 36 (things like change in descriptions, diagnostics moving between mip tables, etc?)  I thought Martin was putting in a lot of work so I was surprised to see so little change.  Could you check?
Sorry to be a pain,
Jamie

Actually you are right,  I copied the dreq.xml file, but did not run my program to recreate the SQL database.  it is running now and it is much slower than before.....  There is already some ' character in uuid and vid that made my program failed.  I fixed it.   Hopefully that won't be a major issue when created the tables.

Thanks @dnadeau4 - good luck building the new mip tables.


chore: disable shadow dom test

This feature is going to be disabled as it's breaking with <a> elements

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Detect prefilter events 6728 v1

Ticket
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/6728

Continued in https://github.com/OISF/suricata-verify/pull/2001


jade: update jade simulator build in line with current jade master

The Jade qumu simulator has been updated to qemu 8, which requires changes to the configure options when building from source.

ACK d53da52cf48cbbe69be6e0d79a7eda73638e0541


refactor: Add missing @Override to MockClusterInvoker

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[x] Add some description to dubbo-website project if you are requesting to add a feature.
[x] GitHub Actions works fine on your own branch.
[x] If this contribution is large, please follow the Software Donation Guide.

LGTM


Frictionless primary key

fixes #587
add support for multiple field-primary keys in from_frictionless_schema.
@rbngz this should solve your issue, please give it a review and let me know if I missed anything

merging this now! @rbngz feel free to test this out in a dev installation

@cosmicBboy sorry, was not able to test this earlier. Works as expected, thanks again! :)


Fix typos in cell_diffusion_timescale methods.

This PR might want to add a simple test that runs these functions to ensure this doesn't continue to happen (and improve coverage), rather than only fixing the current code.

@glwagner I added turbulence diagnostics tests to ensure that DiffusiveCFL is compatible with all closures.
Unfortunately it failed on TwoDimensionalLeith as it was bundled with AbstractSmagorinsky and TwoDimensionalLeith does not have a closure.Pr field.
I split it off into its own cell_diffusion_timescale where it's easy to calculate the viscous CFL condition but it seems that TwoDimensionalLeith calculates the nonlinear diffusivity on the fly and so there is no easy/cheap way to compute the diffusive CFL for each tracer.
I'm thinking of merging this PR because I need the bugfix for a script in another repo.
I will open an issue about the diffusive CFL for TwoDimensionalLeith (out of scope for this PR).


AutoML() doesn't seem to use Ray's object store (for large datasets)

Hi there,
I have a large dataset (+100GB) that I have been trying to make FLAML (AutoML) work with, no success so far. Since FLAML uses Ray, shouldn't it take advantage of Ray's object store (object spill to disk)?
If not, any suggestions on how we should go about out-of-memory compute with FLAML?

When I try to pass a Ray objectRef to AutoML's fit, I get an error that either a Numpy array, Pandas DataFrame or Scipy sparse matrix is expected.

@ottok92 How do you perform training currently? If you have a working training function already, you can use flaml.tune to perform hyperparameter tuning.

Thank you for the quick reply, @sonichi. Currently I do everything in Spark with Scala. I'm interested in using FLAML both because of the impressive CFO algorithm and also to make it easier for my colleagues to collaborate (everybody knows Python).
I'll go through the doc you suggested to see if this will enable us to run FLAML on our large datasets. Thanks for the support!

It looks very promising to integrate with Ray's object store. Thank you for the suggestion. I will run some experiments and post feedback in this thread for future reference.

@ottok92 That's great. I'm very interested in how it works with your use case.
Another question is what learner do you use, for example, lightgbm? flaml has built-in search space for the built-in learners, which might be useful. For example, here is an example of tuning lgbm:
https://github.com/microsoft/FLAML/blob/main/test/tune_example.py
To make it work for your dataset, you can modify the train_lgbm function, metric, mode, time_budget_s, and set use_ray=True.

Perfect! I'm working with XGBoost, which is also built-in. Once I finish playing with this, I will share my train_xgboost function. Maybe we can create a section in the Docs for "handling large datasets with Ray".

Perfect! I'm working with XGBoost, which is also built-in. Once I finish playing with this, I will share my train_xgboost function. Maybe we can create a section in the Docs for "handling large datasets with Ray".

That'll be super cool. Looking forward to it.

BTW, flaml provides two search spaces for XGBoost.
XGBoostSklearnEstimator tunes "max_leaves", and XGBoostLimitDepthEstimator tunes "max_depth".


[Spike] Extend support for Linux /  GTK 3

https://github.com/gotk3/gotk3

Previous library is not working properly the alternative which also will cover more distribution and X systems would be use dbus and at-spi2
Some refs:
https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/
https://dbus.freedesktop.org/doc/dbus-specification.html
https://www.freedesktop.org/wiki/Accessibility/
https://github.com/GNOME/accerciser
https://wiki.gnome.org/Apps/Accerciser


Internshala workfromhome scraping

Script Title -
Brief -
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md (using this template) in your folder for program Instructions
add requirements.txt if needed

Programming Language

[x] Python

Happy Coding

this looks like a web scraping script for the internshala website. but i need a detailed description of what features to be added in the scraping bot, and then please assign this issue to me


Automated cherry pick of #5584

Cherry pick of #5584 on release-1.46.
/cc  @enahum

/release-note-none


Fix #97

Pull Request Test Coverage Report for Build 295

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.611%

Totals

Change from base Build 283:
0.0%

Covered Lines:
501

Relevant Lines:
524

💛  - Coveralls


Python CSV CRUD Module

Objective
Develop a Python module that allows users to perform basic CRUD (Create, Read, Update, Delete) operations on CSV (Comma Separated Values) files. This module will provide a convenient interface for managing data in CSV files using Python.
Features

Create: Implement functionality to add new records to a CSV file.
Read: Enable users to view the content of a CSV file.
Update: Provide the ability to modify existing records in the CSV file.
Delete: Allow users to remove specific records from the CSV file.

Example Usage
import csv_crud

# Create a new record
csv_crud.create_record('data.csv', {'Name': 'John Doe', 'Email'<EMAIL_ADDRESS>'Age': 30})

# Read the CSV file
data = csv_crud.read_csv('data.csv')
print(data)

# Update a record
csv_crud.update_record('data.csv', 1, {'Name': 'Jane Doe', 'Email'<EMAIL_ADDRESS>'Age': 35})

# Delete a record
csv_crud.delete_record('data.csv', 2)

Difficulty: Beginner/Intermediate
Tags: Python, CSV, CRUD Operations
Additional Information

The module should handle cases where the CSV file does not exist or is empty.
Ensure that the module provides clear error messages in case of any issues with file operations or data manipulation.

Contribution Guidelines
The updated guidelines can be found here.

Folder Name : csv_curd_handler
Script Name : csv_curd_handler

I want to work on this issue.

Sure @kom-senapati ,
Thanks for picking this up!
Happy Coding!

Hi @kom-senapati ,
Thanks for your contribution,
You can take a look at other open issues or, you can also submit one of your own code/ideas.
Thanks :)
Happy coding!


util: tool for parsing BFV codes

Given the hex value reported in the BFV: xxxxxxxx entry of the crash log print the symbolic name of the error.
Usage example:

bazel run //util:fw_error_decode -- 50540d 0c4f5705 123
...
0050540d: kErrorPersoTlvInternal
0c4f5705: kErrorOwnershipKeyNotFound
00000123: unknown error code

This looks super useful! One of the most common uses of decoding BFV is when running programs through opentitanlib. I wonder if opentitanlib could gain this facility as well as, for example, automatically decode them on exit_failure when waiting for a BFV code? Or at least opentitanlib/tool could have a subcommand for it (because if you are already running a test with it, you might as well use the same tool).
There is also the specific BFV code for exception which is not just defined by the table but by looking at various bits of bit and is quite useful as well.
Also ideally this tool should appear in some documentation somewhere, I just don't know where?

Hi Amaury, thank you for looking at this.
I did notice that some exception errors ('R' 'I') cannot be parsed using this approach, I can add a special case for these just showing the component values separately, or is there a better way?

I wonder if opentitanlib could gain this facility as well as, for example, automatically decode them on exit_failure when waiting for a BFV code?

Can you please elaborate - I am not aware of the situations where opentitanlib is waiting for a BFV code. Also, opentitanlib is in Rust, and this utility is pure C for a good reason.

Or at least opentitanlib/tool could have a subcommand for it (because if you are already running a test with it, you might as well use the same tool

Again, I thought about adding this to opentitanttool, but I don't see a good way of writing this in Rust, or are you suggesting interfacing opentitantool/opentitanlib with C?

Hi Amaury, thank you for looking at this.
I did notice that some exception errors ('R' 'I') cannot be parsed using this approach, I can add a special case for these just showing the component values separately, or is there a better way?

I think you need a special case. Here is an example of one in the ROM:
https://github.com/lowRISC/opentitan/blob/master/sw/device/silicon_creator/rom/rom_isrs.c#L26
There might be more

Can you please elaborate - I am not aware of the situations where opentitanlib is waiting for a BFV code. Also, opentitanlib is in Rust, and this utility is pure C for a good reason.

Maybe I didn't express that well: whener we run a test using opentitantool, we usually use the console operation that waits for either an exit_success or exit_failure regex. The default exit_failure regex includes a BFV:
https://github.com/lowRISC/opentitan/blob/master/rules/opentitan/defs.bzl#L123
I was therefore wondering if you would make sense to have opentitanlib/tool detect that special case and decode the message, since it's quite common. But that's just a thought.
It is possible to the code in C like you did, and then use it from rust. For example a C API like this would work for rust:
bool decode_bfv(uint32_t bfv, char *out_buf, size_t out_buf_size)

I think you need a special case. Here is an example of one in the ROM: https://github.com/lowRISC/opentitan/blob/master/sw/device/silicon_creator/rom/rom_isrs.c#L26 There might be more

Can you please elaborate - I am not aware of the situations where opentitanlib is waiting for a BFV code. Also, opentitanlib is in Rust, and this utility is pure C for a good reason.

Maybe I didn't express that well: whener we run a test using opentitantool, we usually use the console operation that waits for either an exit_success or exit_failure regex. The default exit_failure regex includes a BFV: https://github.com/lowRISC/opentitan/blob/master/rules/opentitan/defs.bzl#L123
I was therefore wondering if you would make sense to have opentitanlib/tool detect that special case and decode the message, since it's quite common. But that's just a thought.

There is code in opentitanlib to deal with rom_error_t, but it hasn't been cherry-picked to master yet.  The library //sw/host/opentitanlib/bindgen contains a rom_error module which has a RomError unit struct that defines all of the rom_error_t values and has the various Display, Debug, FromStr and serde traits implemented.
The existence of this particular bit of rust code doesn't negate the value of this simple C program, but it does make @pamaury's idea of enhancing the error case in the console easier.  It's worth pursing after the rest of the ROM_EXT and ownership transfer code gets cherry-picked onto master.

Please take a look guys, also, can it go in as a standalone utility (which I think would be useful) or is it a must to be integrated with opentitantool/lib?

also, I have some responses to comments marked on the page as pending but I don't see a way to publish them, is there some button I'm missing?


Compile regexp in detokenizer

Together with #133 this replaces #140.
main: cat big.txt | python -m sacremoses -l en detokenize > /dev/null
  Time (mean ± σ):     35.786 s ±  0.612 s    [User: 35.058 s, System: 0.475 s]
  Range (min … max):   34.669 s … 36.835 s    10 runs

this: cat big.txt | python -m sacremoses -l en detokenize > /dev/null
  Time (mean ± σ):      8.581 s ±  0.119 s    [User: 8.181 s, System: 0.383 s]
  Range (min … max):    8.453 s …  8.789 s    10 runs

I don't want to be picky, but does that big.txt contain tokenized sentences? Performance may be different if input is not tokenized?

True, I assumed that it wouldn't matter that much for performance comparisons. I've now run the same thing on a tokenized version of big.txt. The difference is slightly smaller, but still big enough for this change I'd say.
main: cat big.tok.txt | python -m sacremoses -l en detokenize > /dev/null
  Time (mean ± σ):     34.814 s ±  0.724 s    [User: 34.226 s, System: 0.464 s]
  Range (min … max):   33.846 s … 36.157 s    10 runs

this: cat big.tok.txt | python -m sacremoses -l en detokenize > /dev/null
  Time (mean ± σ):      9.253 s ±  0.172 s    [User: 8.828 s, System: 0.381 s]
  Range (min … max):    9.060 s …  9.560 s    10 runs


Added holidays for New Zealand

This adds New Zealand as another holiday country class. Includes provincial anniversary days.

Coverage decreased (-0.05%) to 99.84% when pulling 72ce6f8903b4b20be0016e95fdf0115442432942 on linuxsoftware:master into 5e64876e9278a3d14c51729573ea387b4e8ef2df on ryanss:master.

Coverage decreased (-0.05%) to 99.84% when pulling 72ce6f8903b4b20be0016e95fdf0115442432942 on linuxsoftware:master into 5e64876e9278a3d14c51729573ea387b4e8ef2df on ryanss:master.

Coverage decreased (-0.05%) to 99.84% when pulling 72ce6f8903b4b20be0016e95fdf0115442432942 on linuxsoftware:master into 5e64876e9278a3d14c51729573ea387b4e8ef2df on ryanss:master.

This is terrific, thank you!


[$500] mWeb/Safari - Chat - Preview of specific PDF file is not displayed correctly

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.8-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to any chat
Send the attached PDF file
Wait for it to upload and tap on the PDF preview on chat

Expected Result:
PDF preview should load correctly, displaying the entire PDF
Actual Result:
PDF preview is not displayed correctly, white page is displayed instead
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/bd5a8563-39bc-4903-846a-673705504ecf
Bug6302114_1701797701028!pdf.pdf
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~010d5700108a6e7575
Upwork Job ID:<PHONE_NUMBER>291532288
Last Price Increase: 2023-12-05

Hi, I'm Artur from Callstack - expert contributor group - and I would like to work on this issue.

Update: identified root issue, investigating the possible solutions

Update: working on a proposal

Proposal
Please re-state the problem that we are trying to solve in this issue.
PDF files carrying images of large resolutions (such as the one posted in this issue) are not rendered on iOS Safari, although we would like them to be rendered properly.
What is the root cause of that problem?
The root cause is that our app on the web uses react-pdf, which in turn uses pdf.js (in our case, from an NPM package pdfjs-dist) as renderer. The renderer utilizes a canvas to render PDF contents. Every browser has limitations applicable to the canvas element, since it requires a buffer to be allocated in memory. It is specified and well tested that Safari limits the maximum size to 4096x4096 px. The provided PDF carries an image that breaks this limit. The limit regarding the PDF resolution itself is dealt with using the devicePixelRatio option, however it does not apply to PDF contents, e.g. high-resolution images, like in this case. This is the reason why such large-resolution contents are not being rendered.
What changes do you think we should make in order to solve the problem?
There was a discussion ongoing in pdf.js that mentioned this problem. The maintainers mentioned that starting from version 3.5.141 they are attempting to use the OffscreenCanvas to downsize over-large images in PDFs, if it is implemented in the host browser at runtime. I tested and indeed the provided problematic PDF works in the newest release of pdf.js, since it is down-scaled and renders properly, of course at the expense of image quality.
The current version of react-pdf in Expensify app, 6.2.2, uses pdfjs-dist version 2.16.105, which does not have the described feature. The latest version of react-pdf, 7.5.1, uses pdfjs-dist version 3.11.174 which already has that feature. The solution would be to upgrade react-pdf dependency to version 7.5.1 and adjust the code in src/components/PDFView/index.js accordingly.

@artus9033 Thanks for the proposal! It makes sense to me, my only concern is the "at the expense of image quality" quality :smile: Any chance you can provide a screenshot of how it looks?

Sure thing @jjcoffee, just today I am OOO. I'll post back tomorrow.

@jjcoffee this is the difference:

lossy downscaling on iOS with PoC of my solution:

lossless display on a device supporting canvas resolution matching / higher than image resolution (here - macOS/Chrome):

As far as I see the options, there is no chance to overcome this issue in a non-lossless way, since the web canvas implementation does not support images of arbitrary resolutions and rendering them in a tiled way, downscaling and merging will always carry some loss of quality.

Thanks @artus9033! I think that looks fine, especially since it's just meant to be a preview. The only other way I can think of is to use the image thumbnail preview generated by the BE, but this has a similar issue with quality so no benefit there I don't think!
Note we are switching to our own pdf preview library here https://github.com/Expensify/App/issues/22998, but I think it's fine to go ahead with this for now as that library also relies on react-pdf. They're using v7.3.3 there, maybe we should align with that here (assuming the pdfjs version is correct there)?
:ribbon::eyes::ribbon: C+ reviewed

Thanks @jjcoffee, working on the PR, then

Just by looking at the dependencies, it seems like we could align with v7.3.3, since it theoretically would still have the new feature / fix. I will test and report back.

Update: still working on the final PR

Update: the PR is ready for review
CC: @jjcoffee

Update: working on a final PR with some adjustments

What's the latest here @artus9033 ? 🙇

@MitchExpensify We're just waiting for a few more fixes on the PR. Work has been taken over by @MrRefactor.

Git it, thanks for the update @jjcoffee

Payment summary

$500 @artus9033 requires payment NA - CallStack
$500  @jjcoffee requires payment automatic offer (Reviewer)

Paid & Contract ended


mfizz icon mismatch?

The icon mapping seems to be mixed up in the latest version.
For instance, icon-python is the WordPress icon, and icon-microscope is a telephone.
Is there an easy way to correct this?
Update: The mapping seems to be shifted by 20-some places; anyway, I figured out a workaround for the icon I was looking for (icon-python can be produced by referencing icon-netbsd)

apa yang di rubah lgi jarrect
2017-11-29 12:58 GMT+07:00 Kenneth Aycock<EMAIL_ADDRESS>
The icon mapping seems to be mixed up in the latest version.
For instance, 'icon-python' is the WordPress icon, and 'icon-microscope'
is a telephone.
Is there an easy way to correct this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jarrekk/Jalpc/issues/98, or mute the thread
https://github.com/notifications/unsubscribe-auth/Aa5A2BjVtq-KCkex4yiJF4pZ5RlxMeaoks5s7PKAgaJpZM4QudeI
.

@kenaycock Thanks!
bug fix now, please try new commit.


No BufferPool and  associated with thread test?

BufferPool would benefit from a unit test, yes.  Not sure what you mean by "associated with thread test".  Are you referring to a unit test that test acquisition/release across multiple threads?


AttributeError: 'Namespace' object has no attribute 'json'

Please tell me, my current environment is python3.9, when executed, Certipy<EMAIL_ADDRESS>auto, the following error appears, is there any solution?
Traceback (most recent call last):
File "/usr/local/bin/certipy", line 33, in
sys.exit(load_entry_point('Certipy==0.2', 'console_scripts', 'certipy')())
File "/usr/local/lib/python3.9/dist-packages/Certipy-0.2-py3.9.egg/certipy/entry.py", line 176, in main
File "/usr/local/lib/python3.9/dist-packages/Certipy-0.2-py3.9.egg/certipy/auto.py", line 29, in auto
File "/usr/local/lib/python3.9/dist-packages/Certipy-0.2-py3.9.egg/certipy/find.py", line 474, in init
AttributeError: 'Namespace' object has no attribute 'json'

Got the same error with Python 3.9.

As a temporary workaround, you can just comment these two lines at certipy/find.py:474 :
        #if self.options.json:
        #    logging.getLogger().setLevel(logging.WARNING)

They are only logger-related and not necessary.

Thank mxrch！

作为临时解决方法，您可以在 certipy/find.py:474 注释这两行：
        #if self.options.json:
        # logging.getLogger().setLevel(logging.WARNING)

它们仅与记录器相关，而不是必需的。

Thank mxrch

After these two lines have been commented, execute the command Certipy<EMAIL_ADDRESS>auto again, and a new error occurs
Traceback (most recent call last):   File "/usr/local/bin/certipy", line 33, in <module>     sys.exit(load_entry_point('Certipy==0.2', 'console_scripts', 'certipy')())   File "/usr/local/lib/python3.9/dist-packages/Certipy-0.2-py3.9.egg/certipy/entry.py", line 176, in main   File "/usr/local/lib/python3.9/dist-packages/Certipy-0.2-py3.9.egg/certipy/auto.py", line 30, in auto   File "/usr/local/lib/python3.9/dist-packages/Certipy-0.2-py3.9.egg/certipy/find.py", line 495, in connect   File "/usr/local/lib/python3.9/dist-packages/Certipy-0.2-py3.9.egg/certipy/ldap.py", line 72, in connect   File "/usr/local/lib/python3.9/dist-packages/impacket-0.9.25.dev1+20220105.151306.10e53952-py3.9.egg/impacket/ldap/ldap.py", line 122, in __init__     self._socket.do_handshake()   File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1894, in do_handshake     self._raise_ssl_error(self._ssl, result)   File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1624, in _raise_ssl_error     raise SysCallError(errno, errorcode.get(errno)) OpenSSL.SSL.SysCallError: (104, 'ECONNRESET')

Fixed in #91cbec8


不知道怎么用

之后会完善文档的qwq

Celestia Airdrop - Claim Your Free TIA Tokens Now!

Don't Miss Out on Your Share of 60 Million $TIA Tokens!
Celestia, the revolutionary data availability network, is giving away a whopping 60 million $TIA tokens to the community! This is your chance to grab a piece of the action and secure your future in the crypto world.
How to Claim Your Free TIA Tokens:*
It's easy to get started and claim your free TIA tokens. Follow these simple steps:

Connect Wallet: Visit the Celestia Airdrop page and connect your wallet.
Claim: Click the Claim button to receive your tokens.
Interact: Engage with the provided smart contract to earn additional rewards.

Why Wait? Start Earning Today!
With Celestia, the sky's the limit. Don't let this opportunity slip through your fingers. Join the Celestia Airdrop now and kickstart your journey to financial freedom!noorfarahainazmi, @fengjianli007, @Eliatan444, @valterlobo, @kai98, @Victor-Hu66, @robby3000, @bdazzle43, @astrroboi, @noirquant, @dastagirkhan, @absieee, @Jukianalejo, @gitwinst, @OwlFlyFine, @quietude0x, @anooppoommen, @BinaryBar, @ElshanSamadli, @Googloplex


appcast.md: add tr

Addresses https://github.com/caskroom/homebrew-cask/issues/24454. Until https://github.com/caskroom/homebrew-cask/issues/24811 is done, this is still needed.
On hold until the new cask-repair release. The command will also need to be updated in https://github.com/Homebrew/brew/blob/master/Library/Homebrew/cask/lib/hbc/audit.rb.
After we do so, we’ll need to recalculate every appcast for every cask.

After we do so, we’ll need to recalculate every appcast for every cask.

Well, not every cask. If the appcast is outdated already, we shouldn't recalculate it.

Well, not every cask. If the appcast is outdated already, we shouldn't recalculate it.

I meant to remove that but forgot. I since think we shouldn’t go through the trouble of recalculating everything on purpose. We can do it as casks are updated. I intend to build the new scripts to update casks based on appcasts sometime soon.
Related, could you give me some assistance with https://github.com/Homebrew/brew/pull/1876?


Add developer support for python 3.11

Currently, seCureLI is implemented in Python version 3.9.  In order to maintain best practices, the required Python version in the pyproject.toml file should be changed to "^3.11"
The goal of this story is to resolve all of the incompatibility issues that arise from switching to Python3.11
There are some known incompatibility issues that need to be corrected such as how Enums are printed which will affect how seCureLI runs
example:
from enum import Enum

class EchoLevel(str, Enum):
    debug = "DEBUG"
    info = "INFO"
    warn = "WARN"
    error = "ERROR"

test = {"level": EchoLevel.error}
test["level"] = "{}".format(test["level"])
print(test)

python3.9 output: {'level': 'ERROR'}
python3.11 output: {'level': 'EchoLevel.error'}
there may be other issues as well

PR to resolve is open: https://github.com/slalombuild/secureli/pull/316

See https://github.com/slalombuild/secureli/issues/318, this is being reverted, it needs to be handled with a better checklist of the different systems needed to be updated including publishing and homebrew.

Developer support for 3.11 is complete, moving the project proper to 3.11 needs to be a bigger ticket and have careful consideration


Training GP on outputs from the last hidden layer

I've just read your paper - thank you for you great work! Measure of confidence is essential to many applications.
I have a general question on the combination on GPs and Neural Networks:
Suppose you've trained a model (e.g. containing several LSTM layers followed by a linear layer for the output $y$). If the model generalizes properly, you have a low train and test error. This means, that the last linear layer uses the learned features from previous layers to generate outputs.
Few days ago I had an Idea to replace the last linear layer with a GP. I would train this GP separetely with the outputs of the last hidden layer and the task outputs $y$ after the "main" training of the whole deep structure (containing linear layer).
Your paper integrates learning of the GP in the learning process, my approach is a bit different. It would be nice to have an opinion about my idea whether I would get the same performance.

Hi. Yes, I like the way of thinking of generalization of the last layer in the space of high-level features obtained by transforming the inputs. And this is commonly used across deep learning applications -- you pretrain your network on a large general purpose dataset and then use a part of it to construct a new model for another dataset you care about. As long as the data shares some semantics, pretraining could be a useful initialization (it's hard to quantify this theoretically though, people just do it through trial and error).
Note that usually you still fine-tune the entire model after pretraining (with a much lower learning rate to eliminate "forgetting" of the initial state), which typically gives better performance than just training the final layer (we have tried both in this paper, and see more results in the deep kernel learning paper). Trying GP layers for transfer learning across datasets is something we haven't tried/thought about and is potentially worth looking into.

Thank you for your response!
You mention the transfer learning case - when I use a different dataset. As in your paper I want to use the same train data for a complete model training (\w linear layer) and for a separate GP training routine. With my training-data X I would calculate the output of the last hidden layer H and with (H, y) train the GP model.
During testing I could use the output of the linear layer, prediction of the GP and the confidence of the GP. The motivation is to use the GP outputs in the backend to verify the model confidence from time to time.

That sounds like a cool idea to try!


Problem when trying to build package with Pyinstaller on Windows

Helo,
I'm trying to build the "nut_RTR.py" file (the "nspBuild.py" file work without problem) with Pyinstaller on Windows and the package build without problem but when it is executed, I've an error on the import of "urllib3". Is this package is necessary to the script or can I remove this import and calls to it functions?
If I execute the script normaly I haven't any problem, it's only when I build the package with Pyinstaller (last version and all other packages are updated also, python is 3.6).
Thanks.

Also you can try with https://github.com/blawar/nut if you want, you can redirect the batch call to the whole NUT with the config file.

I've managed to do it by placing all the Python scripts files on the same folder (no "lib" or other folder anymore) and executing the pyinstaller command on "nut_RTR.py" with Python 3.7. By replacing some variable in the "NSCB_options.cmd" file with the adapted values, the script work normaly.
I close the issue.


Can't link to anchor tags

When clicking on an anchor tag, it generates an url like https://www.builtforvue.com/#/faq. Although it scrolls you to the anchor tag when you click on it, you can't link someone to a specific anchor tag of a page

@MathijsHaakman, this should now be fixed


Deprecate BadResponseException instantiation without a response

Closes #1631
I created the PR anyway :smile:
Edit:
I guess this is a Breaking Change? I don't know if it will be accepted but it feels more correct to me this way.

Okay, I am willing to accept this patch, but since this is a BC break, we will have to go through the "normal" deprecation process, so please:

add back a default null value in the constructor
before invoking the parent constructor, please add a check for response being null and if it is, trigger an error, like this: @trigger_error('Instantiating the '.__CLASS__.' class is deprecated since version 6.3 and will be removed in 7.0.', E_USER_DEPRECATED);

Isn't this message better?
'Instantiating the ' . __CLASS__ . ' class with null Response is deprecated since version 6.3 and will be removed in 7.0.'

Isn't this message better?

OMG 👊
What I wanted to say is "without a Response"

Done!

You were fast! If you don't mind, I keep this from merging for a little while. Since it includes deprecation it needs to go into 6.3. I am now going through the open issues and PRs to see if something requires urgent fix and as such a PATCH version for the 6.2.x series, but after that I will merge it.
Thanks for your contribution!

@sagikazarmark yea am awake...
I think it would be better also to squash the commits for clean history. What do you think?

You can, but if you don't I will do it anyway. Github now supports squashing commits when merging. 😉 Quite useful.

If you don't mind, I keep this from merging for a little while.

Ofcourse I don't mind.

You can, but if you don't I will do it anyway

Did it anyway.

Thanks for your contribution


Fixing a couple spelling errors.

Summary of changes: Changed logfield to show correct message. Fixed minor spelling error.
pkg/node/node_address.go was incorrectly using logfields.V4Prefix for both the IPv4 message and IPv6 message. This made it so the logs would log:
INFO[0000] Retrieved IPv6 allocation range for node. Using it for ipv6-range  node=node2 v4Prefix="aaaa:aaaa:aaaa:aaaa:beef:beef::/96"
Instead of:
INFO[0000] Retrieved IPv6 allocation range for node. Using it for ipv6-range  node=node2 v6Prefix="aaaa:aaaa:aaaa:aaaa:beef:beef::/96"
The second change was pkg/workloads/containerd/watcher.go had a string where network was misspelled.
Signed-off-by: Nathan Taylor<EMAIL_ADDRESS>

@ntaylor1781 thanks for the PR!
can you rebase against master and push force again?

Ok that has been rebased against master.

Ok I have rebased against master and updated my fork.


Mictosite updates && replacing tut to mdoc

@SunPj Looks like there's still an implicit dependency on tut in there somewhere
➜  spark-alchemy git:(495abf2) ✗ sbt "project docs" makeMicrosite
[info] welcome to sbt 1.3.12 (Amazon.com Inc. Java 1.8.0_275)
[info] loading global plugins from /Users/peter/.sbt/1.0/plugins
[info] loading settings for project spark-alchemy-build from plugins.sbt ...
[info] loading project definition from /Users/peter/d/spark-alchemy/project
[info] loading settings for project alchemy from build.sbt ...
[info] set current project to spark-alchemy (in build file:/Users/peter/d/spark-alchemy/)
[info] set current project to spark-alchemy-docs (in build file:/Users/peter/d/spark-alchemy/)
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[warn] Credentials file /Users/peter/.sbt/sonatype_credentials does not exist
[info] Updating
[info] Resolved  dependencies
[warn]
[warn] 	Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading org.tpolecat:tut-core_2.12:0.6.13
[error]   Not found
[error]   Not found
[error]   not found: /Users/peter/.ivy2/local/org.tpolecat/tut-core_2.12/0.6.13/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom
[error]   download error: Caught java.io.IOException: Server returned HTTP response code: 403 for URL: https://dl.bintray.com/tpolecat/maven/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom (Server returned HTTP response code: 403 for URL: https://dl.bintray.com/tpolecat/maven/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom) while downloading https://dl.bintray.com/tpolecat/maven/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom
[error] 	at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:249)
[error] 	at lmcoursier.CoursierDependencyResolution.$anonfun$update$35(CoursierDependencyResolution.scala:218)
[error] 	at scala.util.Either$LeftProjection.map(Either.scala:573)
[error] 	at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:218)
[error] 	at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error] 	at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:52)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:102)
[error] 	at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:69)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:115)
[error] 	at scala.util.control.Exception$Catch.apply(Exception.scala:228)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:115)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:96)
[error] 	at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:150)
[error] 	at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:129)
[error] 	at sbt.Classpaths$.$anonfun$updateTask0$5(Defaults.scala:2950)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:281)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error] 	at sbt.Execute.work(Execute.scala:290)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:281)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] 	at java.lang.Thread.run(Thread.java:748)
[error] (update) sbt.librarymanagement.ResolveException: Error downloading org.tpolecat:tut-core_2.12:0.6.13
[error]   Not found
[error]   Not found
[error]   not found: /Users/peter/.ivy2/local/org.tpolecat/tut-core_2.12/0.6.13/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom
[error]   download error: Caught java.io.IOException: Server returned HTTP response code: 403 for URL: https://dl.bintray.com/tpolecat/maven/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom (Server returned HTTP response code: 403 for URL: https://dl.bintray.com/tpolecat/maven/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom) while downloading https://dl.bintray.com/tpolecat/maven/org/tpolecat/tut-core_2.12/0.6.13/tut-core_2.12-0.6.13.pom
[error] Total time: 3 s, completed Jul 12, 2021 1:47:59 PM

@pidge The microsite sbt plugin we use, depends on both tut and mdoc and gives user a choice to use either. But everything compiles on my machine. Let me try to clean my local cache and check the build one more time

@pidge I removed my local .m2 and .ivy2 caches and it still compiled. I updated microsite version and there shouldn't be any tut dependency. It looks they don't support it anymore https://github.com/47degrees/sbt-microsites/pull/527
Could you please check whether everything is working now? Thanks


Remove the support for variants and telemetry from the .NET feature flag schema

Open a tracking issue following the discussion: https://github.com/microsoft/FeatureManagement-Dotnet/issues/393#issuecomment-1989037173
We should do this before v4.0.0 turns stable.

Deprecating the .NET FF schema is not as straightforward as that discussion makes it sound. For the FM library, it can make the switch, but the provider today only returns the Dotnet schema and can't make the switch as easily.
This change means the provider needs to switch to snake_case, which means newer versions of the provider will not work with old versions of FeatureManagement. Unless the provider can do some version determination but that doesn't sound great.
cc; @jimmyca15 @amerjusupovic

There is a way to support it that I thought of. Throwing it out there.
Flags with variants are put into IConfiguration with the Microsoft FF schema. Flags without variants are put into IConfiguration with the .NET FF schema.
I.e.
{
    "FeatureManagement": {
        "Beta": true
    },
    "feature_management": {
        "feature_flags": [
            {
                "id": "Gamma",
                "Variants": [
                    ...
                ]
            }
        ]
    }
}

The .NET feature management library would need to respect both sections being defined.

We could go that route, but I'm concerned someone would add a variant to an existing flag, and now suddenly that flag disappears. I suppose the UI doesn't support it- but it doesn't sound ideal.

Without making code changes, if a customer has <V4 of FM and they use portal to edit the flag and add a variant, refresh would make the flag disappear.

You added variant to an existing feature flag, but you didn't update your application to use the FM library that supports variant. What's your expected outcome for this scenario?

The current functionality, which is their flag continues to work as a flag without variants until they update FM to read the "Variants" & other fields. This update lets GetVariant work and lets the StatusOverride work.

Without making code changes, if a customer has <V4 of FM and they use portal to edit the flag and add a variant, refresh would make the flag disappear in their running application. (If they had latest provider)

We don't allow updating an existing flag to add variants though.

We don't allow updating an existing flag to add variants though.

You're right it's not possible today in the UI via normal edit. But there's other ways to edit & the edit flow may change.

This would be the first time the division between a variant flag and non variant flag is more than just a portal UI decision.

It's an unsupported scenario. The result is non-deterministic if a customer feeds a variant feature flag to an old FM library that doesn't support variant. In the eyes of the old FM library, the variant feature flag is "invalid". A customer shouldn't expect it returns anything meaningful (even if it doesn't fail right away).

Regardless of my edit concern- If we go with the variant separation plan, I think we're still kicking the can down the road for deprecating the old schema.
I'd rather commit fully to the new schema and accept the breaking change now. As far as I understand, the provider will have to do it eventually.

I'd rather commit fully to the new schema and accept the breaking change now.

I agree.

Discussed --
.NET configuration provider v8 will only support Microsoft Feature Flag (MFF) schema for feature flags


Including @preact/signals-react-transform breaks rerender on hook change for fast refresh

[ ] Check if updating to the latest version resolves the issue

Environment

[ ] I am using @preact/signals-core
[ ] I am using @preact/signals
[X] I am using @preact/signals-react

[X] I understand usage changed in v2, and I've followed the React Integration instructions

Describe the bug
React Fast Refresh has two modes of updating the view:

updating the current component tree
re-rendering the components from scratch

Most operations result in updating the current component tree but some operations, like adding or removing hooks, causes everything to be re-rendered and state to be lost. This is mandatory as trying to call a different number of hooks during rendering will cause React to fail with Error: Rendered fewer hooks than expected. This may be caused by an accidental early return statement. or Error: Should have a queue. This is likely a bug in React. Please file an issue. or something similar
When adding @preact/signals-react-transform, it seems like all operations result in trying to update to current component tree and thus modifying anything related to hooks shows one of the mentioned errors.
To Reproduce
https://github.com/Artur-/react-signals-hmr
Steps to reproduce the behavior:

npm run dev
Open localhost:5173
Click the counter a few times to change the state
Edit src/App.tsx and add a new useState hook

The main branch includes @preact/signals-react-transform and shows the problem
The without-signals branch shows how it is supposed to work
Expected behavior
The page should be updated and the counter reset to 0.
Instead, the page is empty and console contains the React error messages

Without signals
https://github.com/user-attachments/assets/e62809e0-eb69-4385-a6aa-d4842575f629
With signals
https://github.com/user-attachments/assets/5bfccd1a-f4f2-443c-98b2-6f60d593cd1a

Huh, that's very odd because the error message actually shows the expected behaviour.... We added a useState hook so that went from undefined --> useState and the order of the others stayed the same

So I don't know how exactly fast refresh is supposed to work but debugging the code a bit, I see that on a hot update, fast refresh compares a "signature" of the old function and the new function. When the comparison succeeds, it preserves state and when there is a difference, it drops the old state.
In the plain React app, this signature is in the rewritten App.tsx as
var _s = $RefreshSig$();
...
function App() {
  _s();
...

_s(App, "8dc1Irf8dimWgWVmn2MPwBiuiBU=");

but when including signals, this code is no longer added to App.tsx at all, so no signatures are calculated and on a hot update, it runs
function haveEqualSignatures(prevType, nextType) {
            var prevSignature = allSignaturesByType.get(prevType);
            var nextSignature = allSignaturesByType.get(nextType);
            if (prevSignature === void 0 && nextSignature === void 0) {
                return true;
            }

and as neither a "prev" or "next" signature is present, it concludes the signatures are equal and it preserves state. Apparently causing the issue

I assume this is the case because we wrap it in a try {} finally {} it probably only analyzes the closure. https://github.com/preactjs/signals/blob/main/packages/react-transform/src/index.ts#L340-L361

I tried replacing
const tryCatchTemplate = template.statements(_t || (_t = _`var STORE_IDENTIFIER = HOOK_IDENTIFIER(HOOK_USAGE);
try {
	BODY
} finally {
	STORE_IDENTIFIER.f();
}`));

with
const tryCatchTemplate = template.statements(_t || (_t = _`var STORE_IDENTIFIER = HOOK_IDENTIFIER(HOOK_USAGE);
	BODY
`));

directly in<EMAIL_ADDRESS>but that results in
Uncaught Error: Cycle detected
    at b.S (@preact_signals-react_runtime.js?v=31752f79:385:25)
    at O (@preact_signals-react_runtime.js?v=31752f79:507:21)
    at Object.S (@preact_signals-react_runtime.js?v=31752f79:566:19)
    at M (@preact_signals-react_runtime.js?v=31752f79:578:6)
    at N (@preact_signals-react_runtime.js?v=31752f79:594:15)
    at App (App.tsx:23:17)
    at renderWithHooks (chunk-QXLG2TGQ.js?v=31752f79:11594:26)
    at updateFunctionComponent (chunk-QXLG2TGQ.js?v=31752f79:14628:28)
    at beginWork (chunk-QXLG2TGQ.js?v=31752f79:15970:22)
    at HTMLUnknownElement.callCallback2 (chunk-QXLG2TGQ.js?v=31752f79:3678:22)

It seems like there is an experimental.noTryFinally option already and if I enable that, then there are no cycle errors and the generated App.tsx looks like
function App() {
  _useSignals();
  const [count, setCount] = useState(0);
  return /* @__PURE__ */ jsxDEV(Fragment, { children: [
...
}
_c2 = App;
_c = App;
export default App;
var _c, _c2;
$RefreshReg$(_c, "App");
$RefreshReg$(_c2, "App");

but there are still no calls to _s at all and two calls to $RefreshReg$ for the same function instead of one

I dug som more and would almost like to claim that what happens is that

The react refresh plugin is run, it stores the info that a useState hook is used in the App function
The preact transform plugin runs, it replaces the function
The react refresh plugin runs again, but now it has the info still stored from the first run, e.g. that a hook is called... in the original function. So it no longer works properly

Because if I manually do the transform changes, like adding
import { useSignals as _useSignals } from "@preact/signals-react/runtime";

and
useSignals();

as the first statement in the App function, then the code is generated correctly with the expected _s calls

That might also explain why it creates two RefreshReg calls, as it finds two functions

Hmm, that's very odd... We might need to check how we can use leave/enter better to collaborate with this plugin. Not sure in all honesty 😅

My first thought would have been to replace the function body and not the whole function, like
//  path.replaceWith(newFunction);
path.node.body = newFunction.body;

which actually seems to fix the immediate issue with _s not ending up in the source.

It actually seems to work... and also when keeping the try-catch in place

That's a great find, mind PR'ing it? We could see if there's any tests that start failing

#628


Search

Partially implements https://github.com/ndd7xv/heh/issues/43
I am sure it can be improved but works fine for me

Woah, thanks so much for making a PR! I've been interested in trying to get this functionality for some time and I'm really happy you've taken a stab at something like this.
I'm a bit busy right now, but I'll try my best to look over it this weekend :)

I just looked over this and it's great as is! I think there are a couple of things I may refine/add in the future (like cycling through all patterns) but this is more than I could ever ask for :D
Thank you!


Frontend Project "QUIZ APP" Alignment

Describe the Feature you want to end
Changing few styling properties of the website to improve its alignment.
Expected behavior
Improved alignment of the website.
Screenshots (optional)
Current Design

Expected Updated Design

Additional context (optional )
N/A

Hi @MohitGupta121
Kindly assign me this issue.


[Bug]:  MV GENS ERROR

/mv version -p output
[17:04:05 INFO]: [Multiverse-Core] Multiverse-Core Version: 4.3.1-b861 [17:04:05 INFO]: [Multiverse-Core] Bukkit Version: git-Purpur-1171 (MC: 1.16.5)
Server logs
https://paste.gg/p/anonymous/ab2ce6fc9a1d402c8ac40d5113b70650
Server Version
This server is running Purpur version git-Purpur-1171 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

Bug Description
i write nv gens
Steps to reproduce

Start the server plugin is multiverse-core and moongenerator2 and...
console write /mv gens
error write

Agreements

[X] I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
[X] I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Likely an issue with other plugin's configuration. Please give more detailed reproduction instructions.


Uncaught DOMException: Failed to execute 'querySelector' on 'Element'

Hi, I running redis commander 0.8.0 with redis local server, I got a problem in tree selection.
in console, I got an error
Uncaught DOMException: Failed to execute 'querySelector' on 'Element': '#R\:undefined\:undefined\:undefined\:��

How to solve this ? thanks

What is the original key stored in Redis? Are there non-printable characters in it or similar?
Mybe related to #454 or #140?

I stored key from spring and the result in redis-cli like this


Templates: Atom: moved hard-coded colors out of base

Taking more advantage of LESS, and keeping hard-coded colors in the syntax-variables file to avoid duplication. This allows for easier tweaks of a theme's 16 base colors post-build, since re-building isn't always an option once additional theme functionality has been added / modified.

I guess custom templates are the answer to this, or keeping customizations in a separate @import, but thought it would be cool to beef up the base template so others can take advantage.

Hey @chriskempson ,wouldn't mind hearing your thoughts on this...

Oh, just saw you deprecated the repo, sorry! nvm.


Improve test coverage to more parameter combinations

tofn's integration tests and some of the unit tests (including malicious tests) are only run for a specific choice of parameters (specific keygen, sign party count and threshold). We can improve the test coverage by having a set of test cases that use varying parameter combinations, including various edge cases that all tests can reuse. The malicious tests might require some changes to work with this.
One concern is that this will significantly increase testing time for local testing and PR reviews. Few potential solutions to look into are:

Add a feature to enable the long running tests and locally run the tests every now and then.
Configure the github actions to run the full suite of tests in a nightly build, while the PR reviews can still just the most important tests.
Reduce the unsafe keygen RSA modulus size to 1024/512 bits for faster operations and testing.
Take the hit in testing time. Maybe it's not too bad?

@ggutoski mentioned that we could leverage the end-to-end testing architecture for axelar-core to run any long running tests we might have.
Along with more test parameters, we can also setup our tests to run in debug mode to run debug_asserts for sanity.

Long running tests should also use safe primes for some tests, to get more coverage (for e.g. #190).


CI/CD Update

This update aims to complete our pipeline, automating the publication and distribution of the pandas stubs.
New workflow:

check_style -> stubs-test -> publish github and pypi

Details:

Add style check before all tests
Dynamic version update the project ( pandas version + current date, use “poe build” to refresh the project version and build a new whell )
Add automatically publish on Github and PyPi after all tests in main branch (They are commented for a while)
Add local test “poe check_style”
Add local test “poe format_style”
All code are now in black and isort style

Please add, PYPI_TOKEN_NAME and PYPI_TOKEN secrets to the publish works correctly.

Yeahp no problem

Don't worry there is a safe way to store secrets in repo config, just the owners have access. https://octopus.com/blog/githubactions-secrets

I think it should be possible, but we need to be careful because each new PR is gonna publish a new version, and if we have two versions in the same day we will get a conflict.

Don't worry there is a safe way to store secrets in repo config, just the owners have access. https://octopus.com/blog/githubactions-secrets

That's going to be a little tricky for a public project like this, because even at the organizational level, we don't want our personal tokens to be in there, so I'll need to discuss with the pandas-core team how/if we want to manage this.
Thanks again for the suggestion.

Don't worry there is a safe way to store secrets in repo config, just the owners have access. https://octopus.com/blog/githubactions-secrets

That's going to be a little tricky for a public project like this, because even at the organizational level, we don't want our personal tokens to be in there, so I'll need to discuss with the pandas-core team how/if we want to manage this.
Thanks again for the suggestion.

when the secret is stored nobody can see the value, so it should not be a problem.

I think it should be possible, but we need to be careful because each new PR is gonna publish a new version, and if we have two versions in the same day we will get a conflict.

Another possibility is that a bot is created that runs at 2AM on Sunday mornings and we just publish new versions once a week instead of with each PR.

Great! I am sure there is a way to schedule github actions to run. So we could apply this ideia.

@Dr-Irv I checked here and it's really easy to schedule the publish with github actions, we could run every sunday at 2am if we want, but I was thinking we could check every day if there are new PR's and publish this version in the end of the day.

Thanks.  I need to look into creating a bot account for the project which could then be used for the automatic publishing.

So it turns out that I can create a secret with my pypi login that is good only for this project, and store it at the repository level, and it is then available to github actions that can do the publishing.
If you want to move forward with this, I think we should leverage this project:
https://github.com/pypa/gh-action-pypi-publish
So if you want to do a PR for that, and create a placeholder for the token, then I'll create a token.
I would prefer that the action is only run once a day, but only if changes were made to main in the past 24 hours.
If you can figure that out, that would be great!

There is also this example that is used by a member of the pandas core team on geopandas:
https://github.com/geopandas/geopandas/blob/main/.github/workflows/release_to_pypi.yml

It does not make sense to me, I know this project and it's wonderful for projects don't use poetry, but what I think is worring you is that in our pipeline there's a line with our token and anyone could see, but if that's the case you should not worry, github hides any secrets for anyone in the repository, even the owners. So my point is that we are going to use another project when we should just use poetry publish --build --username 'CONTEND-TOTALY-HIDE' --password  'CONTEND-TOTALY-HIDE2'. Underneath that package do the same thing.

I see, thank you for the suggestions! When I finished the other two PR I am gonna start this one, it should not be hard, the last puzzle I still do not search about is how to generate the release notes automatically.

I see, thank you for the suggestions! When I finished the other two PR I am gonna start this one, it should not be hard, the last puzzle I still do not search about is how to generate the release notes automatically.

Some time-based projects such as dask simply use the git commit messages as a changelog/release notes. Personally, I'm not a fan of it in the case of dask (new cool features and major overhauls get lost in a long list of commits) but for pandas-stubs which  has only type annotations, it could be fine to just dump the commit messages.

Slightly unrelated question: are the tests also run on main, visually it seems that the tests were not run for some commits (no green check mark/red cross):

Slightly unrelated question: are the tests also run on main, visually it seems that the tests were not run for some commits (no green check mark/red cross):

TBH, I'm not sure.  Looking at the past history, when I've done PR's and then merged them in, then the test is run on main.  It seems that if someone else does the PR, and I do the merge, it doesn't run on main.
I don't know how to set that up!  Or maybe as part of the test procedure, we take the PR and merge with main, and run the PR test on the merged code?

Slightly unrelated question: are the tests also run on main, visually it seems that the tests were not run for some commits (no green check mark/red cross):

I noticied that, please remove the paths config in the header of 'test.yaml'. For some reason it is not working correctly.

I noticied that, please remove the paths config in the header of 'test.yaml'. For some reason it is not working correctly.

Could probably have something like what pandas has but just for the main branch:
https://github.com/pandas-dev/pandas/blob/231b9fad17475918a94fc922d5bbd452c5b67a2f/.github/workflows/code-checks.yml#L3
(I will not work on it, I have very little knowledge about GitHub workflows.)

Sure I do, my purpose here was to run tests only when source code was modified, because if you are working in docs you do not need to run the tests.


Cannot click outside dialog (not closing)

Before you start...

[X] Have you updated your dependencies? You might be using an old version of the library.
[X] Have you checked for an existing issue on this topic? If there is one, post a comment on it instead.

What browsers are you seeing the problem on?
Microsoft Edge
Description
I want to open a closable dialog. Currently, it works with the Esc key. I also want to close it when clicking outside. Any of these events are never triggered: backdropclick, backdropmousedown.
Steps To Reproduce

<Button on:click={() => open = true}>
	Open
</Button>
<ContentDialog bind:open title="Dialog Title" on:backdropclick={() => open = false} on:backdropmousedown={() => open = false}>
	Some text
	<svelte:fragment slot="footer">
		<Button variant="accent" on:click={() => open = false}>
			Button 1
		</Button>
		<Button on:click={() => open = false}>
			Button 2
		</Button>
	</svelte:fragment>
</ContentDialog>

Expected behavior
When a dialog is opened, I'd like to close it when I click outside the dialog.
Relevant Assets
No response

The backdrop not closing when clicked is by design, however backdropclick and backdropmousedown should be dispatching. I've identified the problem and pushed a fix. Expect it to be working in the next release.

(should be) Fixed as of 1.3.0.

Well, now it works but it works too well. :)
Indeed, it closes the dialog when I click outside but it also closes it when I click inside the dialog. :(

Any news on this @Tropix126 ?

Fixed this. Will publish a patch as soon as I get home.

Alright, now it should actually work as intended as of 1.3.1.

Hum, sorry to bring the bad news, but 1.3.1 did not fix anything. I still close the dialog when I click inside. Maybe it's me but I don't know why it does not work. Here is my code:

<ContentDialog
	bind:open
	title="Authentication"
	on:backdropclick={() => (open = false)}
	on:backdropmousedown={() => (open = false)}
>

Select the....

	<Button slot="footer" on:click={() => (open = false)}>Close</Button>
</ContentDialog>

Ah, this never ends, does it.😆 Turns out the change I made didn't end up being pushed to 1.3.1. Next publish will fix this later today.

If I somehow manage to mess this up again, here is a temporary workaround that works on the latest build.
https://svelte.dev/repl/9d75aa707ed64415ab918701c6ac3fb3?version=3.46.3

Yep, I'll keep coming back to kill the Omega.
Anyway, your temporary fix seems to work. Thank you very much for your help on this.