Increase in exit code 1 failures during builds

I don’t know whether this is a host issue (I use GitHub Actions to publish to Cloudflare Pages) or something that’s changed in Pagefind 0.10.6, but I note it here just in case it’s the latter...
Since 0.10.6 came out, I’ve seen a marked increase in exit code 1 failures in the build process. I use two different repos, one for Hugo and one for Eleventy, to build my site as I choose at the time, and have seen this in both. In each case, the GitHub Action has a backup that restarts a failed build, and it seems the backup typically does better with the Pagefind part.
Examples (in each case, the failure followed by the success):

Eleventy repo: https://github.com/brycewray/eleventy_site/actions/runs/3760996487/jobs/6392278556 and https://github.com/brycewray/eleventy_site/actions/runs/3761003689/jobs/6392292239
Hugo repo: https://github.com/brycewray/hugo_site/actions/runs/3740944817 and https://github.com/brycewray/hugo_site/actions/runs/3740950420/jobs/6349929489

Please advise if I can provide more information. And please don’t waste any holidays-related time on this — it’ll wait. 🎄 👪 🥳

Hmm there are a few things it could be — most likely the binary failing to download for some reason.
npx is annoying and suppresses the logging I (think I) have in place for some of these situations, so a good first step would be to add pagefind to your package.json, alongside an npm script like "pagefind": "pagefind --source _site". Then in your action, run npm run pagefind.
This probably won't fix the error, but the npm install will log better errors than the npx command will, which will help us dig into it further 🙂

I have had weird intermittent npx issues on GitHub actions myself, so I tend to download the binaries directly. If you want to fix it over the holiday break this would be something to look into.
Example (for one of our other projects with the same release setup):
https://github.com/CloudCannon/pagefind/blob/f133aa06303c4198c916a080d3d40b3267fce581/.github/workflows/test.yml#L77-L82
Untested, but writing off the cuff:
      - name: Install pagefind
        uses: supplypike/setup-bin@v1
        with:
          uri: "https://github.com/CloudCannon/pagefind/releases/download/v${{env.PAGEFIND_VERSION}}/humane-v${{env.PAGEFIND_VERSION}}-x86_64-unknown-linux-musl.tar.gz"
          name: "pagefind"
          version: ${{env.PAGEFIND_VERSION}}

Alongside a version variable at the top of your workflow run:
env:
  PAGEFIND_VERSION: "0.10.6"

This action handles extracting the tar.gz and all that noise 🙂 (There might also be a way to construct that URL using latest if you don't want to manually version bump)

(It would be quite handy for Pagefind to provide an install action for GH out of the box... 👀🤔)

@bglw Thanks for the responses. Have no package.json in the Hugo repo but will look into your alternative for the GHA itself. (If it succeeds more regularly, may just let that work for the Eleventy repo, too.) Will advise of results. Thanks again!

With package.json method in Eleventy, worked fine the first time around: https://github.com/brycewray/eleventy_site/actions/runs/3761404233/jobs/6393117829
With GHA-based method in Hugo (once I got the Pagefind URL right 😄 ), worked fine the first time around:
https://github.com/brycewray/hugo_site/actions/runs/3761462996/jobs/6393240984
The only thing I noted that was a little odd was in the Hugo repo, running the URL download didn’t show Pagefind as (extended) as was the case with the Eleventy/package.json method (or has usually been the case with the npx method). Don’t know how much that matters, but just FYI.
Thanks as always!

Good news all round 🙂 The extended release includes handling for Chinese and Japanese segmenting, so if you aren't searching those languages you can use the standard pagefind release, which will download faster 🙂

Good news all round 🙂 The extended release includes handling for Chinese and Japanese segmenting, so if you aren't searching those languages you can use the standard pagefind release, which will download faster 🙂

Well, that’s good (not needing the extended release), because my Hugo repo keeps choking when it tries to run the extended release. The same pagefind --source "public" command which gave the regular release no problem keeps failing with an error message indicating command not found for pagefind:
https://github.com/brycewray/hugo_site/actions/runs/3761561437/jobs/6393441752
So guess I will stick with standard for the Hugo repo.

Oh, yes for the extended release you'd need to change the action from name: "pagefind" to name: "pagefind_extended" and run it as pagefind_extended --source "public" — the binary has a different name that the npx package abstracts away.

Oh, yes for the extended release you'd need to change the action from name: "pagefind" to name: "pagefind_extended" and run it as pagefind_extended --source "public" — the binary has a different name that the npx package abstracts away.

Makes perfect sense. Thanks!


Don't put user objects onto miq_queue in tests

In the actual code, this is not a problem.
But in these tests, they are putting User objects onto miq_queue

What do the callers of queue_generate_content_for_users_or_group do in the real code?

@Fryguy
they add generate_content_options
which calls MiqWidget::ContentOptionGenerator#generate
which passes group.description, user.userid
so the change is for the spec to mimic real code

👍 LGTM


Issue #3: The golden era of the PR.

I remember when I was your age danny, the whole botnet, ddos, carding, exploits, scrapping scene - just for messing around, is mega fun, it feels it's without consequences. But looking back, I gotta warn you, that trail you're leaving can really come back to bite you.
Police is already building a case, you should look at one of your discord "friend" that coughed your entire convo.
Stop before it's too late, prison is not fun in Germany, or else we can play around, good with me too ma boy.

Also, the fact that you log the IP (and req headers) of your users on AnonDrop is low, realize that you are hosting seriously bad stuff there.

Wdym?

I'm glad to see via the little pianist removed himself from the lil' playground donations, smart move my man.
Maboy, I was thinking we could schedule what's coming as some sort of "live show" (something elaborated) and we maybe even invite discord members and I'm thinking some outsiders? Are you free this weekend?

I'm glad to see that the little pianist removed himself from the lil' illegal playground, smart move my man.
Maboy, I was thinking we could schedule what's coming as some sort of "live show" (something elaborated) and we maybe even invite discord members and I'm thinking some outsiders? Are you free this weekend?

It's weekend already, chill bro! (I saw the message - the deleted one, you really hurt me while I was just a nice lamb with you) I'm glad you're open to making this story more humorous and entertaining for our audience, so yeah, let's get creative and see where our imaginations take us, because I know I can take things a tad too far, they'll all love it!

just wtf is happening and you trying to do 💀


Use fetch from load event

Describe the bug
The fetch function provided by the event inside load function deduplicates api calls by inlining the reponse.
The first fetch on the client will get that inlined data.
Expected behavior
No extra api call on the first client side load.
Additional context
This will result in calling createTRPCClient in every load function, not sure it that´s a big deal.

After a bit of testing i found out that passing the origin in the url disables the inlining.
I modified the createTRPCClient function a bit and got it working:
function createTRPCClient<Router extends AnyRouter>(...) {
	let link: TRPCLink<Router>;

	if (init) {
		const {
			fetch,
			url: { origin }
		} = init;

		link = httpBatchLink({ url: `${url}`, fetch, headers });
	} else {
		if (typeof window === 'undefined') {
			throw new Error(
				'Calling createTRPCClient() on the server requires passing a valid LoadEvent argument'
			);
		}
		link = httpBatchLink({ url: `${url}`, headers });
	}

	// eslint-disable-next-line @typescript-eslint/ban-ts-comment
	// @ts-ignore
	return createTRPCProxyClient<Router>({ transformer, links: [link] });
}

Thanks for the tip! This should be fixed in v3.2.5.


Build error: "not a valid python or it is missing distutils"

I keep getting this error when I try to build master on Arch:
../meson.build:498:0: ERROR: <PythonExternalProgram 'python3' -> ['/usr/bin/python']> is not a valid python or it is missing distutils

I've installed the python-setuptools and python3-distutils packages but it doesn't seem to make a difference.
Any ideas?
meson-log.txt

Could you try installing all dependencies from the PKGBUILD of libratbag-git?
sudo pacman -S --asdeps --needed glib2 libevdev libudev.so libunistring json-glib python python-evdev meson swig git check valgrind python-gobject python-lxml
(note: this is without python-sphinx python-sphinx_rtd_theme used for building documentation, which is disabled by default)

Could not introspect Python (['/usr/bin/python', '/tmp/tmpemeqq6km.py']): exit code 1
Program stdout:

Program stderr:

Traceback (most recent call last):
  File "/tmp/tmpemeqq6km.py", line 66, in <module>
    'link_libpython': links_against_libpython(),
  File "/tmp/tmpemeqq6km.py", line 41, in links_against_libpython
    cmd = Distribution().get_command_obj('build_ext')
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 475, in __init__
    _Distribution.__init__(
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
    self.finalize_options()
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 898, in finalize_options
    for ep in sorted(loaded, key=by_order):
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 897, in <lambda>
    loaded = map(lambda e: e.load(), filtered)
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools_scm'

So:

you have setuptools installed, this hijacked distutils so that import distutils actually imports setuptools._distutils
setuptools itself is apparently broken -- it thinks setuptools_scm is installed and wants to use it, but that isn't actually installed (or at least cannot be imported)

I've installed the python-setuptools and python3-distutils packages but it doesn't seem to make a difference.

BTW: python-setuptools is the Debian name for a python2 thing (and the Arch name for a python3 thing), and python3-distutils is the Debian name for -- as the name implies -- a python3 thing.
No other distros really provide a distutils package in the first place, because they do what they are supposed to do and include distutils in the stdlib. I am somewhat curious how you were able to install something called "python3-distutils" on an Arch system.

Sorry, it was python-distutils-extra not python3-distutils. I removed python-setuptools and python-distutils-extra and it built without error. Thanks for the tip!


(PUP-9010) Ensure block is always run by with_text_domain

with_text_domain is used to compile a catalog. In the refactor to use
with_text_domain, compiling a catalog when disable_i18n=false was
broken because with_text_domain would not evaluate the block passed to
it. Fix so it always evaluates the block, i.e. compiles a catalog.

How was https://github.com/puppetlabs/puppet/blob/master/acceptance/tests/i18n/enable_option_disable_i18n.rb passing?

I think the commit message has the logic inverted. It mentions "when disable_i18n=false", but from the ticket & code, it looks like the scenario it's describing is for disable_i18n=true.

Yup, thanks.

Oh, that test only applies to the agent-side, not master-side.

This should probably get an acceptance test update to verify disable_i18n server-side.

Added an acceptance test that worked in 5.5.2, fails in 5.5.3. Haven't yet tested with 5.5.x, but we should run Jenkins on this PR.

jenkins please test this with agent 5.5.x


Prepare for PR into datajoint-python

List of issues to address in the datajoint-core PR into datajoint-python
Most issues revolve arround functionality being used from pymysql that is not currently available in datajoint-core's client
Errors on calls to pymysql for items methods or fields datajoint-core does not have
Direct errors from the code where datajoint-python calls a pymysql method that is not implemented yet. client and self._conn represent pymysql.

[ ] client.err.ErrorName for checking errors
[ ] self._conn.autocommit(True)
[ ] self._conn.ping()

Other issues to be address or decided upon

[ ] placeholder arguments with the wrong form (datajoint-python uses tuples with all arguments)
[ ] requests made on a cursor in datajont-python, vs connection with datajoint-core?

We have some flexibility here if we want to stick to Connection.fetch_query and Connection.execute_query or use the exposed Cursor and Executor methods.

[ ] Replace uses of execute_query in existing datajoint-python with calls to execute_query and fetch_query based on what the query is doing.
[ ] sql_mode and charset parameters passed to pymysql.connect are currently being ignored
[ ] names of parameters such as user vs username and password vs passwd being used.

@JHocevar

Replace uses of execute_query in existing datajoint-python with calls to execute_query and fetch_query based on what the query is doing.

To prevent added noise/confusion on issuing the PR to datajoint-python, I would recommend instead to preserve use of execute_query but add additional logic there to redirect the query to the right call to DataJoint Core. For example, here's a sudo-code example using regex to better illustrate what I mean:
if re.match(r'^\s*(?i)select\s.*$', query):  # Only on SELECT's
    fetch_iter = fetch_query(query, ph_tuple)
else:
    execute(query, ph_tuple)

Closing this for now but keeping it as reference to be used when we are ready to introduce this into DJ Python/MATLAB. Likely after Phase 2 or 3.


[AutoPR-sdkreleaseplannertest]SDK Release Planner Test PR

Create to sync https://github.com/Azure/azure-rest-api-specs/pull/21720

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Security.SDKReleasePlannerTest

Closing issue.  This is test for release planner app.


Correctly handle 'transfer-encoding: chunked'

The 'data' event should only be used to consume the incoming chunks.
The 'end' event is designed to handle the request end.

(the tests were already failing)


NullPointerException when Importing Items into Auto Workbench without Recipes

Description:
When items are imported into an Auto Workbench from an external source (e.g., using a Hopper) without a set recipe, a NullPointerException occurs. The issue does not arise when a recipe is set before importing items.
Crash Report: https://pastebin.com/L90YLbPb
Versions:
Minecraft: 1.20.1
Forge: 47.2.0
Mod: moreautomationmod-1.4.1.jar

fixed


Submitting alpha version of the PostgreSQL protocol adapter.

Motivation
First contribution to the protocol adapter list with one for PostgreSQL. Original idea came from a discussion with a customer to be able to connect to a specific tool that rely on a database to collect metrics and add them into the enterprise UNS.
The adapter is quite simple, you define the connection to the server and then in each subscription you can execute a dedicated query. For performance a maximum of query is defined. You can chose the output as one single message with all data as JSON or one message per row formatted as JSON.
Resolves #
None
Changes
Add new protocol adapter.

@cla-bot check


Mark UTC timezone to the last updated timestamp

Otherwise the timestamp is just confusing
Description

TESTING STAGE
Tested in my webserver
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read CONTRIBUTING.md
[x] I fully understand Github Flow.
[x] My code adheres to the code style of this project.
[x] I have updated the documentation in /docs if I have changed the config, arguments, logic in how the bot works, or anything that understandably needs a documentation change.
[x] I have updated the config file accordingly if my change requires a new configuration setting or changes an existing one.
[x] I have tested the bot with no issues for 24 continuous hours. If issues were experienced, they have been patched and tested again.

Is this purely a visual change on the webpage? If so, can I see a screenshot?

As far as I remember, I don't think it's always UTC, it's using the timezone where the bot is running:
https://github.com/BitBotFactory/MikaLendingBot/blob/b59ab8709220b3be1481ca8949a80f944b05018e/modules/Logger.py#L102


Mobile trend chart info popup

The info popup on the trend charts on mobile is completely clipped:

Closed by #128.


SysExReceive output reverse

When I try to read SysEx Messenger from Roland, instead of starting messenger F0 and ending F7, but it reverse
Is it right ?

I don't have a roland device so I can't try it.
The following sample exchanges device inquired messages.
#include <UHS2-MIDI.h>

byte sysex_ir[] = { 0xF0, 0x7E, 0x00, 0x06, 0x01, 0xF7 };

USB Usb;
UHS2MIDI_CREATE_DEFAULT_INSTANCE(&Usb);

unsigned long t0 = millis();

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
void setup()
{
  Serial.begin(115200);
  while (!Serial);

  // Listen for MIDI messages on channel 1
  MIDI.begin(1);

  MIDI.setHandleSystemExclusive(OnMidiSysEx);

  if (Usb.Init() == -1) {
    while (1); //halt
  }//if (Usb.Init() == -1...
  delay( 200 );
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
void loop()
{
  Usb.Task();
  // Listen to incoming notes
  MIDI.read();

  // send a note every second
  if ((millis() - t0) > 1000)
  {
    t0 = millis();
    //   Serial.print(F(".");

    MIDI.sendSysEx(sizeof(sysex_ir), sysex_ir, true);
  }
}

// -----------------------------------------------------------------------------
//
// -----------------------------------------------------------------------------
void OnMidiSysEx(byte* data, unsigned length) {
  Serial.print(F("SYSEX: ("));
  Serial.print(length);
  Serial.print(F(" bytes) "));
  for (uint16_t i = 0; i < length; i++)
  {
    Serial.print(data[i], HEX);
    Serial.print(" ");
  }
  Serial.println();
}

No problem to see the results.

KORG nanoKEY2

SYSEX: (15 bytes) F0 7E 0 6 2 42 11 1 1 0 3 0 1 0 F7

ZOOM G1on

SYSEX: (15 bytes) F0 7E 0 6 2 52 63 0 0 0 31 2E 32 31 F7

PreSonus ATOM SQ

SYSEX: (17 bytes) F0 7E 7F 6 2 0 1 6 22 0 0 0 0 1 17 0 F7

My Setting:

Arduino UNO
Arduino IDE 1.8.19
MIDI library 5.0.2
USB Host Shield Library 2.0 1.6.2

Please provide more information.

Could you explain this byte sysex_ir[] = { 0xF0, 0x7E, 0x00, 0x06, 0x01, 0xF7 };
When I turn on device Roland and serial show : F0 41 10 0 0 0 31 12 E 0 0 1 71 F7
I also test your code above, it's correct position F7 F0, the SysEx messenger when I pressed button show F7 B0 0 1 B0 20 0 C0 0 F0

First, there is one correction. The third message should be 0x7F.
byte sysex_ir[] = { 0xF0, 0x7E, 0x7F, 0x06, 0x01, 0xF7 };

This is an identity request in a Universal System Exclusive Message.
https://www.midi.org/specifications-old/item/table-4-universal-system-exclusive-messages

What is your MIDI device?
What is your micro controller board?
Can you show me your code?

What is your MIDI device? -> Roland V-1SDI
What is your micro controller board? -> Pro mini 3.3v + USB Host shield 2.0
Can you show me your code? -> I really want to show you, but I haven't found a specific solution yet.
If you are interested, I really appreciate you helping me complete the project. Please contact me by email<EMAIL_ADDRESS>Thanks

Roland V-1SDI

I found the reference manual on Roland's website.
Isn't it a control change or program change that sends a message when you press a button?
Are you sure a SysEx will be sent?

Isn't it a control change or program change that sends a message when you press a button?
Are you sure a SysEx will be sent?
Yes, Sure. In page 11. I checked with the device. It show up :
A1: F7 B0 0 0 B0 20 0 C0 0 F0
CC=0   V=0
CC=32 V=0
PC=0
A2: F7 B0 0 0 B0 20 0 C0 1 F0
CC=0   V=0
CC=32 V=0
PC=1
B1 : F7 B0 0 1 B0 20 0 C0 0 F0
CC=0   V=1
CC=32 V=0
PC=1
B1 : F7 B0 0 1 B0 20 0 C0 0 F0
CC=0   V=1
CC=32 V=0
PC=2
A1 -> A4 or B1 -> B4 : PC = 0 -> 3
Only CC0 different value, with A value = 0, B value = 1
By the way, my project is like this one : https://github.com/DaveTheK/RolandV-1HD-Arduino-TallyLights/wiki
He use Roland V-1HD. I just want to convert the signal received from the device into a light control signal with IO pins

F0/F7 is not needed in CC or PC.
There is three MIDI messages.
A:
B0 0 0
B0 20 0
C0 0

Is it MSB and LSB ?

Base on MSB, LSB.
MSB : 0 x 128 + PC
LSB : 1 x 128 + PC
A1 = 0 x 128 + 0 = 0
A2 = 0 x 128 + 1 = 1
A3 = 0 x 128 + 2 = 2
A4 = 0 x 128 + 3 = 3
B1 = 1 x 128 + 0 = 128
B2 = 1 x 128 + 1 = 129
B3 = 1 x 128 + 2 = 130
B4 = 1 x 128 + 3 = 131
Is it correct ?

You should learn about MIDI first. I do not support the MIDI standard and specific device.


How to use mysql json function in where clause?

So I have query which required us to use Mysql json function such JSON_OVERLAP()
I want to use it alongside other array keys in where clause in select function. Is it possible?
Using Medoo::raw() and building query is not possible for us due to the architecture that we chose atm.
At the end we want to build query such as
select * from table_name where <conditions_from_other_places_in_where_array> and JSON_OVERLAPS('<some_col>', <array_from_request>)

i need this too.
Now we can make a where in two way
$db->select('table',[], Medoo::raw('WHERE ALL MY CONDITIONS'));
or this way:
$db->select('table',[], [ 'myfield' => 1 ]);
it would be very useful to do something hybrid like that
$db->select('table',[], [ 'myfield' => 1, Medoo::raw('myfunction(MYFIELD2) = true') ]);
in the (1.7.10) it will be translated with a '0' = myfunction(MYFIELD2) = true
it could be fixed in dataImplode method of medoo
extending that class
but that's not maintainable.

one workaround for this which works is to use the conditions like this
php
$data = $database->select("products",*, [
	"price[>]" => 1000,
	"id" => Medoo::raw('<id> AND JSON_OVERLAPS(<categories>, "[100,200,300]")')
]);


Colored labels have text color === bg color

Happens e.g. on https://semantic-ui.com/elements/label.html#pointing, but also in my app (semantic-ui-css 2.3.3)

It's a problem in semantic-ui-css, seems they are going to fix it:
https://github.com/Semantic-Org/Semantic-UI/issues/6439

oops, I intended to report this in the semantic-ui repo and was actually surprised that there was no issue for it... but now I see that I was looking in the wrong repo ;x

Closing, because issue should be fixed in the main repo.


Is unique() supported?

Hi, I’m not sure how to test if this a faker or TestDummy issue but I’m having trouble using the unique() feature of faker. My code looks like this:
$factory('App\Product', [
    'sku' => $faker->unique()->ean13,
]);

It doesn’t work: the seeder runs fine but the EAN generated are all the same.

Might be related to this? https://github.com/laracasts/TestDummy/issues/86

Yep, use release 2.1 for the time being (from your composer.json):
    "laracasts/testdummy": "2.1",

Tested on 2.1.2, same issue.

@redgluten - you need to use 2.1.0 I believe

Yeah sorry, figured that out after I wrote it. But still, the issue persists on 2.1:
vagrant@homestead:/var/www/marcapar$ composer show -i | grep dummy
laracasts/testdummy                   2.1     Easy test stubs

Recent commit should fix this.

Hey, @JeffreyWay this issue isn't completely resolved.
That is if you use consequent calls to static create, then it can still fail
As an example, let's say we call it like this
Laracasts\TestDummy\Factory::times(10)->create(Website::class, ['user_id'=>$id]);
Laracasts\TestDummy\Factory::times(20)->create(Website::class);

The chances are there will be uniques collision.
[Illuminate\Database\QueryException]
  SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: websites.domain

The problem is that Faker instance after latest commits (testing on 2.3.1) is Builders private property and we always get new Builder instances, so used values for attributes aren't shared.
    public static function create($name, array $attributes = [])
    {
        return (new static)->getBuilder()->create($name, $attributes);
    }
    public function getBuilder()
    {
        return new Builder($this->databaseProvider(), $this->factories());
    }

FakerAdapter should also use the same faker instance if we want to keep uniques.
This is still regression to version 2.1

Unfortunately it doesn’t. :/
vagrant@homestead:/var/www/marcapar$ composer show -i | grep dummy
laracasts/testdummy                   2.3.1   Easy test stubs


Allow users to partition a table and all secondary indexes with a single command

Background: https://airtable.com/tblD3oZPLJgGhCmch/viwchkdQkRUw6hZ3z/rec6WkrR0y6cUsfML?blocks=hide
PM: @awoods187

Looks like this one has also been bumped to 20.1 also

Dup of https://github.com/cockroachdb/docs/issues/5981


Add back in transaction tests

I realized that I never moved the TxTest into the tests directory and those tests weren't being run :(
When I moved the tests, you can see that the new coinbase_height logic in https://github.com/buidl-bitcoin/buidl-python/pull/4 now breaks the old tests. @jimmysong, can you take a look?

Fixed the function.

Awesome, thanks!


gRPC Auth Plugins

Description

The following PR adds the capability of implementing Auth plugins on top of gRPC for Vitess.  The core of this feature uses gRPC interceptors (StreamInterceptor, UnaryInterceptor) to extract from each gRPC request the metadata needed to authenticate/authorize the request. Inspiration comes from here.

Users which would like to add different kind of auth between the gRPC components of Vitess can implement these plugins on demand.

This PR also adds a basic auth plugin. With this plugin, each gRPC component can be started with the following parameters:

On the server side:

vttablet ... -grpc_auth_mode static -grpc_auth_static_password_file /path/to/creds/grpc_static_auth.json

On the clients:

vtctlclient -grpc_auth_static_client_creds /path/to/creds/grpc_static_client_auth.json

With this, servers will enforce clients to have a valid username/pass in order to make gRPC requests.

In the future, we will expand this work to have an approach that includes both Tables and gRPC  ACL's.

Outstanding Items

[x]  At the moment, there is a limitation in python gRPC implementation. It is not matching the golang one and it enforces to use TLS when using WithPerRPCCredentials. This creates a problem in the context of Vitess where we don't want to force our users to use TLS when using an auth plugin. This issue is being in discussed in the gRPC python mailing list.  One option that we are thinking is to use something similar to Header to pass these kind of credentials, however this doesn't seem to be supported in python neither.  BLOCKER
[x] Clean up python client depending on resolution on issue above.
[ ] Add tests for each of the go clients to assert basic auth plugin is working.

I confirm that it is ok to include my commit in this PR.

Codeclimate looks unhappy.

Without digging through all the details maybe can I just ask if this will support what we need at Square?
At Square our server to server certificate names look something like this:
cn=<hostname>,ou=<service name>,o=Square

We only want to authorize on the ou field. I.e. we authorize access to Vitess for all the hosts of a particular service.
Will this change support that?

@tirsen - Not as part of this PR. But on the good side, it should be easier to add a plugin to support your feature :D

LGTM
Great work!


Blockwise transfer doesn't retry blocks

The code which handles retransmissions is ClientConn.writeMessage but the code which controls the requests for new blocks uses Session.WriteMessage resulting in unreliable blockwise transfers.
We should always be calling ClientConn.writeMessage, but that code also has side-effects: for some reason it allocates a new MID to the message.

Yes this is fixed in v3. Feel free to reopen issue if it is not.


Stylus watch got an issue of parsing

I installed stylus and jeet in my project folder.
When execute 'stylus -u jeet -w style.styl', got the below error.
ParseError: node_modules/jeet/stylus/jeet.js:2:10
   1| module.exports = function(opts) {
   2|   return function(style) {
---------------^
   3|     style.include(__dirname);
   4|   };
   5| };

expected "ident" or "string", got "return"

May I know what is the root cause and how to fix it?

I found all file name has changed and added 'index.styl' file in master.
That already fixed my issue, but not released yet.


Add step to GnuTest workflow to compare results against master

Add a script to compare the results from a current run against the last result from the master branch.
If the results change then an annotation will be added showing the change in pass, fail, error and skip numbers.
If the number of passing tests goes down then the run will be failed.
This PR shows a reduction of 2 passing tests because it is based on 54f4c8ff and 2 new tests have started passing in newer commits.
Fixes #2287

I was actually working on something similar right now: However, my approach was to create a passing-gnu-tests.txt file in the repo, which contains all passing gnu tests. CI could then check that all of these tests are still passing. Do you think that could be an option too?

Cool stuff.
I reported this issue for this idea: https://github.com/uutils/coreutils/issues/2287

Excellent, bravo :)

I was actually working on something similar right now: However, my approach was to create a passing-gnu-tests.txt file in the repo, which contains all passing gnu tests. CI could then check that all of these tests are still passing. Do you think that could be an option too?

That would be beneficial so you don't need to go digging through the results from master to find the specific tests that changed. Though I think rather than working out the tests that passed and keeping that in an extra file you can get a list of the failed tests out of the test-suite.log file in the test-report artifact (it doesn't specifically name the tests that pass). Then you report the tests that start failing or start skipping.

Do you know if it would be possible to show the results like

(ie in the title of the checks)?

I think this can be achieved by using the status api, I'm running some experiments

@jaggededgedjustice finally got it to work. I implemented your suggestion of comparing with the master branch results (instead of having an explicit file). I first extract the passing tests on master and the new version, and then check that all passing tests from master are still passing. You can check it out here: https://github.com/miDeb/coreutils/commit/099810db64f965644f2de52b656c42400754104a. Feel free to incorporate that as part of your PR ;)

You can't easily create a status when running a PR from a fork (the token has read-only permissions, I guess to stop malicious activity) so I had to take that bit out again.

Fails because:
Warning: Changes from master: PASS -1 / FAIL +1 / ERROR +0 / SKIP +0
Error: Process completed with exit code 1.

Do we want to return an error in this case yet? Not sure yet

The other check is returning: Error: GNU test failed: tests/misc/factor-parallel. tests/misc/factor-parallel is passing on 'master'. Maybe you have to rebase?

This test is randomly passing/failing. It passed on master and failed here. We'll probably have to find a way to exclude flaky tests.

I'll fix factor so that the test is always passing

@miDeb I don't think that's a random failure, this branch is taken from https://github.com/uutils/coreutils/tree/54f4c8ff356c58dbf369ab0cdcad4eb347e362bc where the factor-parallel test is also failing. I'll rebase onto the current head of master and it should start passing as well.
@sylvestre My thinking was to draw attention if you are making things worse, presumably we should be catching anything that would decrease compatibility with the GNU coreutils as soon as possible.

@jaggededgedjustice No, I verified that it's in fact a random failure. I'm fixing it here: https://github.com/uutils/coreutils/pull/2559. If you execute the command in the test
odd() { LC_ALL=C sed '/[24680]$/d'; }
primes() { LC_ALL=C sed 's/.*: //; / /d'; }

seq 1e6 | odd | /usr/bin/split -nr/4 --filter='factor' | primes | wc -l

you will see different results each time. You can also see that the test is passing in the latest run on master, but not on the run before (and factor was last modified a month ago).

well done for fixing the factor issue
Could you please rebase this patch to restart the GNU CI?

Looks good:

Changes from master: PASS +0 / FAIL +0 / ERROR +0 / SKIP +0


diesel_cli v1.3 print-schema broken on WIN10

Setup
With diesel_cli 1.2:
diesel print-schema gives correct output.
With diesel_cli 1.3:
diesel print-schema gives

Access is denied. (os error 5)

Versions

Rust: nightly-2018-05-14/1.26 Stable
Diesel: 1.3
Database: PG10
Operating System WIN10

Feature Flags

diesel: Postgres

Checklist

[ X ] I have already looked over the issue tracker for similar issues.
[ X ] This issue can be reproduced on Rust's stable channel.

Doing some troubleshooting, but it's 1 am and I might pass out. Will figure out cause tomorrow at latest.

Why would it work on the previous version then? I downgraded to 1.2 and it worked fine.
I've tracked the error down to https://github.com/diesel-rs/diesel/blob/master/diesel_cli/src/print_schema.rs#L57, but haven't figured out why its failing yet.

extern crate tempfile;
use tempfile::NamedTempFile;
use std::fs::File;
use std::io;

fn main() -> Result<(), io::Error> {
    let tempfile = NamedTempFile::new()?;
    let mut out = File::create(tempfile)?;
    Ok(())
}

Fails on my system. Seems like this is an issue with tempfile.

Is your temp directory writable for your current user? If not this seems more like a system configuration issue.

Opened https://github.com/Stebalien/tempfile/issues/56.
Made a better test where I can write a PathBuf file, but not a NamedTempFile. This one looks... fun lol.

I actually think diesel is using tempfile incorrectly. https://docs.rs/tempfile/3.0.2/src/tempfile/file/mod.rs.html#371-374
NamedTempFile already creates a File. By passing it to File::create() NamedTempFile happily dereferences down to a path to the file it already created, and the OS tries to create a file at a path that already has a file descriptor open.

@Deedasmi that's right, NamedTempFile::new will create the temporary file it wraps before it returns.


Contact discord please

Hello it's important can you contact me on discord:

Thanks my brother

sent you a friend request


replace old busted map benches with less obviously busted std bench macros

r? @apasel422 (I gave you push rights, btw)

r+ Nice


Could you add a config file that lets us change pipe speeds/storage values?

Would make the mod way more customizable.

Why doesn't it copy to the defaultconfigs one though?


Improvements around resource handling in IndexMerger / IndexIO / QueryableIndex

Fix resource leak in io.druid.segment.IndexIO.DefaultIndexIOHandler#validateTwoSegments(java.io.File, java.io.File)
Un-deprecate close() in QueryableIndex and make it inherit Closeable
Fix resource leaks in various unit tests
Add CloserRule for closing out resources in unit tests
Add convert to IndexMerger and tests

+1

This looks like a big PR but most of the code (on a line-count basis) is Unit Tests

+1


Wrap Link with forwardRef

Hi!
This relates to #256
Wrapping components with forwardRef is a common way component libraries expose underlying DOM to library users.
One particular example where it might be useful is passing Link down as a component to use in various navigation elements, e.g. MUI's Buttons and Tabs See related doc section. Currently one'd write their own wrapper with same functionality as Link, but i thought it would be better to have wrapper out of the box. There aren't drawbacks i could think of, if you know about one, please, leave a comment.
Thanks.

kindly pinging @molefrog

It's my understanding that molefrog is unavailable, is there anyone else empowered to merge and release wouter?

Hi, @molefrog is here. Sorry it's been a crazy year for me. I'll take a look next week 🖖

Thanks, this actually looks good!
One thing though is that we don't require from our Preact users to have preact/compat installed (some people prefer to keep it as small as possible). We'll have to find some workaround, otherwise we risk breaking compatibility with previous versions of Preact lib.

Yep seems reasonable, i'll see what we can do.

Thanks, this actually looks good!
One thing though is that we don't require from our Preact users to have preact/compat installed (some people prefer to keep it as small as possible). We'll have to find some workaround, otherwise we risk breaking compatibility with previous versions of Preact lib.

Yep seems reasonable, i'll see what we can do.

I did some brief digging today and it looks like what Preact doing to support forwardRef isn't super sophisticated, however is does patch the rendering pipeline https://github.com/preactjs/preact/blob/master/compat/src/forwardRef.js#L5
So I think we have two options here:

For Preact, provide forwardRef implementation that simply does nothing and just forwards the original component
Or, introduce another prop called innerRef (inspired by this) which can be used in environments where forwardRef isn't available (we can support the prop in React as well, it can be just an alias to ref).

Added forwardRef stub for now

Released in https://github.com/molefrog/wouter/releases/tag/v2.8.0


bin/play.py --replay should accept urls

bin/play.py will replay a replay file, but only from local disk. It'd be nice if it was given a url it'd download it to memory and pass the data to the game without having to write it to disk somewhere.

I'll take a look and let you know if i've figured out anything.

I’m taking a look at this. Anywhere in particular to host the replay files?

I like this idea! I would like to undertake developing this feature.

After researching this feature a little I stumbled upon this replay reader . Getting replay data from a URL seems trivial, I got that much working - however I am a little stumped on how to pass this memory correctly to SC2Client since we don't want to write it to disk. At the same time we probably want to avoid adding a huge parsing solution to the project.
I'm not sure if I should be;
Looking for some way to parse data in memory as a specific file type. (.SC2Replay) OR
Looking for an injection point in SC2 client after it resolves the file name and starts reading the bytes just to give it the start location of bytes -perhaps I can give it a dummy file to run but point it to another location in memory?
I also read somewhere that they are MPQ.
Currently, I am going through the sc2Reader and Blizzard's s2protocol repos to look for hints or ideas.
Can anyone with experience in this point me towards more resources or documentation that exposes how blizzard executes their replays? I will keep looking through these repos, but python is a language that I am still getting adjusted to, so it will take some time.


feat(handler): add support for direct array records

Current dependencies on/for this PR:

main

PR #129   👈

This comment was auto-generated by Graphite.

Merge Activity

Sep 27, 9:57 AM: @pevisscher started a stack merge that includes this pull request via Graphite.


online training, learning links

It may be helpful to have a separate page specifically for early learners.
The Getting Started page lists the links to online training in the Next steps. Possibly group these links with the Mini/Micro install instructions or maintain a separate page.

/area docs
/priority p2


ReactTooltip.hide doesn't hide tooltip instantly

I'm trying to create a tooltip using react-tooltip with a close button. According to the documentation, I need to use ReactTooltip.hide but it doesn't seem to work. It hides the tooltip only if I'm moving the cursor out of the tooltip, but not instantly.
Using React 17.0.2, react-tooltip 4.2.21.
Here's a quick CodeSandbox example to see my issue.

Also seeing the same issue, using React 16.12.0 and react-tooltip 4.2.21.

As a quick fix you can do this until the package is updated:
const [tooltip, showTooltip] = useState(true);

<>
 {tooltip && <ReactTooltip effect="solid" />}
 <p
   data-tip="hello world"
   onMouseEnter={() => showTooltip(true)}
   onMouseLeave={() => {
     showTooltip(false);
     setTimeout(() => showTooltip(true), 0);
   }}
 />
</>

As a quick fix you can do this until the package is updated:
const [tooltip, showTooltip] = useState(true);

<>
 {tooltip && <ReactTooltip effect="solid" />}
 <p
   data-tip="hello world"
   onMouseEnter={() => showTooltip(true)}
   onMouseLeave={() => {
     showTooltip(false);
     setTimeout(() => showTooltip(true), 50);
   }}
 />
</>

Great quick fix @svmszcck
Thanks.

Has a fix for this been prioritized or released in some way? I don't mind using the workaround, but it would be nice to be able to follow an issue that will resolve the problem in a release as this one has been closed.


Allow use existing cluster

towards https://github.com/giantswarm/giantswarm/issues/2440
for KVM we already have precreated cluster so we don't wanna minikube and we dont wanna setup cluster on aws ( at least for now, maybe in future we will spawn kvm host cluster)
for https://github.com/giantswarm/kvm-operator/pull/522

@fgimenez Moved kubeconfig creation here, can you take one more look if this looks good to you? Thanks!

migrated to flags instead of envs


Fix compatibility of various methods of writing out HDL

The process of writing out HDL is parameterized, with multiple parameters.
As of the latest update to this issue, parameters are the following:

mapping: What standard cell library, if any, should the HDL be pre-mapped to.
merge_mapping: Whether to have a single merged HDL file, as opposed to separate files for the HDL and the mapping.
language: What HDL to use
flat: Whether to fully flatten this particular structure's HDL. Note that this argument flattens only this particular structure, not any of its sub-structures. For example, if the top module foo contains the module bar, which contains the module baz, unflattened foo will contain a reference to bar, while flattened foo will contain the innards of bar with baz remaining unflattened. This explanation is hard to understand, but will be drawn out with diagrams in the official documentation.
block_flat: Whether all partition blocks, anywhere downstream of this structure, should be flattened.
node_flat: Whether all nodes, anywhere downstream of this structure, should be flattened.

In addition, the following methods will modify the structure of the HDL:

optimize_nodes: This will excise unnecessary logic out of nodes, by replacing nodes with simplified versions.
find_equivalent_nodes: This will mark equivalent nodes as belonging to equivalence classes. Only one member of an equivalence class must be written out, so only one member of each equivalence class will be written out.
add_best_blocks / add_block: This partitions structures into blocks, meant to enable improved synthesis.

As of v1.0.7, the following combinations of settings have known issues and must be resolved:

[x] find_equivalent_nodes with flat = False [Results in broken HDL]
[x] find_equivalent_nodes with block_flat = False [Results in broken HDL]
[ ] find_equivalent_nodes with node_flat = False [Ignores find_equivalent_nodes]

Closing with wont_fix.
Node HDL generation is due for an overhaul. No point in fixing obscure interactions with a system that must be replaced anyway.


Increase / remove range limitation on loading winch

This will help when commanding Spidertrons from afar.

Feature added in 5ee9e84251aa36368fdf300df5ba26990925ff1b


Need cross-platform support in Getting Started doc

Can the doc owner find-and-replace Mac-only "cmd" keyboard shortcuts with the idiomatic cross-platform "ctrl/cmd"?
A lot of people won't actually know to translate cmd to ctrl. People at the beginning of their software journeys, so to speak, e.g. 12- or 18-year-olds who have only ever used Windows or Linux. And vast numbers of people in developing countries who have never been in the same room with a Mac, and again especially at the beginning of their journeys/careers, before they've encountered a lot of content that features "cmd".

Closing this in favor of https://github.com/atom/docs/issues/16. I hope it's something we can do in the new docs, it would be useful. :star:


Re-write e2e test to enable mTLS inside test cases

Is your feature request related to a problem? Please describe.
Currently, we run e2e test twice, one with mTLS enable and one without. As mTLS enable now can be changed at run-time, it's possible to do it after test setup, for the relevant test cases. This can help to reduce CPU power for continuous build, and reduce pre-submit time.
Describe the solution you'd like
Call deployableConfig inside test function (like this one) to enable/disable mTLS.
Only need to do this for the tests that dependent on mTLS settings.

I'd like to work on this issue, is this up for grabs @diemtvu ?

Yes, definitely. Thanks. Feel free to grab me if you need information.
On Wed, Aug 8, 2018 at 10:10 PM Jeremy L. Morris<EMAIL_ADDRESS>wrote:

I'd like to work on this issue, is this up for grabs @diemtvu
https://github.com/diemtvu ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/7757#issuecomment-411638462, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AX99cWSdrjpEtXANBYazVlrapsgf18kIks5uO8Q7gaJpZM4V00lS
.

--
Diem Vu | Software Engineer |<EMAIL_ADDRESS>| +1<PHONE_NUMBER>

I'm still working on this btw. Just having some trouble running these tests locally @diemtvu


New Coinbase exchange

I'm sure we've all heard by now that Coinbase is getting ready to launch their own regulated exchange in the US.
Here is the documentation for their API: https://docs.exchange.coinbase.com/#get-an-account
Anyone willing to work with me on this? I can do all the DTOs/package set-up if someone else will implement the logic.

@zholmes1 @timmolter I wonder has anybody started working on this one? We are looking to use the public market data (ticker). If no one has initiated, we might consider working on the public market data (ticker) for the Coinbase Exchange.

As far as I know, no one is working on it.

I haven't started working on it. Mostly because I don't know what to name
it. CoinbaseExchangeExchange?
On Mar 24, 2015 4:19 AM, "Tim Molter"<EMAIL_ADDRESS>wrote:

As far as I know, no one is working on it.
—
Reply to this email directly or view it on GitHub
https://github.com/timmolter/XChange/issues/839#issuecomment-85392452.

How about CoinbaseXExchange?

Sounds good to me.
On Tue, Mar 24, 2015 at 7:53 AM, TM Lee<EMAIL_ADDRESS>wrote:

How about CoinbaseXExchange?
—
Reply to this email directly or view it on GitHub
https://github.com/timmolter/XChange/issues/839#issuecomment-85465124.

@zholmes1 Are you planning to work on it? Shall we wait for the good news? :smile:

If you do the framework and implement the ticker, I'll do the order book
and trades. I can't do trading right now since it's not supported in my
state yet. Maybe if we do the public implementation someone else will do
the private implementation.
On Mar 24, 2015 10:00 AM, "TM Lee"<EMAIL_ADDRESS>wrote:

@zholmes1 https://github.com/zholmes1 Are you planning to work on it?
Shall we wait for the good news? [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/timmolter/XChange/issues/839#issuecomment-85506632.

@tmlee and I will start working on the public implementation of CoinBase market data

Should I create a new Maven module (and call it something like xchange-coinbasex), or should I make the additions to the existing xchange-coinbase module?

@yingzhe probably a new module. Are there any common DTOs between the two implementations? If np then definitely a new module

@zholmes1 @tmlee Coinbase exchange module (xchange-coinbaseex) has just been added

+1

@yingzhe btw are you planning on adding trading and account functionality any time soon?

Nope, I would not have much time in the near future to work on this.

I would want to extend the current code by adding support for more operations, like:

exchange symbols loaded from exchange
trade history
recent filled orders

The associated pull request is #989

done.

Curious as to why websocket support was not added. Maybe it didn't exist at the time? Any reason why XChange still doesn't support it?


Get a pandoc error when building

I'm hitting an error when I try to run this plugin. This is on a codespace, so should be a clean environment. I've tried a couple of fresh installs and still get the error. Without the plugin, mkdocs works fine on this project. I've also double checked that pandoc is installed correctly.
Here's the error:
 python -m mkdocs serve
Traceback (most recent call last):
  File "/usr/local/python/3.10.4/lib/python3.10/site-packages/pandoc/__init__.py", line 87, in configure
    pandoc = plumbum.local["pandoc"]
  File "/usr/local/python/3.10.4/lib/python3.10/site-packages/plumbum/machines/local.py", line 242, in __getitem__
    return LocalCommand(self.which(cmd))
  File "/usr/local/python/3.10.4/lib/python3.10/site-packages/plumbum/machines/local.py", line 202, in which
    raise CommandNotFound(progname, list(cls.env.path))
plumbum.commands.processes.CommandNotFound: (CommandNotFound(...), 'pandoc', [<LocalPath /usr/local/rvm/gems/ruby-3.1.3/bin>, <LocalPath /usr/local/rvm/gems/ruby-3.1.3@global/bin>, <LocalPath /usr/local/rvm/rubies/ruby-3.1.3/bin>, <LocalPath /vscode/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/remote-cli>, <LocalPath /home/codespace/.local/bin>, <LocalPath /home/codespace/.dotnet>, <LocalPath /home/codespace/nvm/current/bin>, <LocalPath /home/codespace/.php/current/bin>, <LocalPath /home/codespace/.python/current/bin>, <LocalPath /home/codespace/java/current/bin>, <LocalPath /home/codespace/.ruby/current/bin>, <LocalPath /home/codespace/.local/bin>, <LocalPath /usr/local/oryx>, <LocalPath /usr/local/go/bin>, <LocalPath /go/bin>, <LocalPath /usr/local/sdkman/bin>, <LocalPath /usr/local/sdkman/candidates/java/current/bin>, <LocalPath /usr/local/sdkman/candidates/gradle/current/bin>, <LocalPath /usr/local/sdkman/candidates/maven/current/bin>, <LocalPath /usr/local/sdkman/candidates/ant/current/bin>, <LocalPath /usr/local/rvm/gems/default/bin>, <LocalPath /usr/local/rvm/gems/default@global/bin>, <LocalPath /usr/local/rvm/rubies/default/bin>, <LocalPath /usr/local/share/rbenv/bin>, <LocalPath /opt/conda/bin>, <LocalPath /usr/local/php/current/bin>, <LocalPath /usr/local/python/current/bin>, <LocalPath /usr/local/py-utils/bin>, <LocalPath /usr/local/nvs>, <LocalPath /usr/local/share/nvm/versions/node/v19.7.0/bin>, <LocalPath /usr/local/hugo/bin>, <LocalPath /usr/local/dotnet/current>, <LocalPath /usr/local/sbin>, <LocalPath /usr/local/bin>, <LocalPath /usr/sbin>, <LocalPath /usr/bin>, <LocalPath /sbin>, <LocalPath /bin>, <LocalPath /home/codespace/.dotnet/tools>, <LocalPath /usr/local/rvm/bin>])

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/python/3.10.4/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/python/3.10.4/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/__main__.py", line 301, in <module>
    cli()
  File "/home/codespace/.local/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/codespace/.local/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/codespace/.local/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/codespace/.local/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/codespace/.local/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/__main__.py", line 234, in serve_command
    serve.serve(dev_addr=dev_addr, livereload=livereload, watch=watch, **kwargs)
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/commands/serve.py", line 78, in serve
    config = get_config()
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/config/base.py", line 363, in load_config
    errors, warnings = cfg.validate()
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/config/base.py", line 228, in validate
    run_failed, run_warnings = self._validate()
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/config/base.py", line 186, in _validate
    self[key] = config_option.validate(value)
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/config/config_options.py", line 147, in validate
    return self.run_validation(value)
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/config/config_options.py", line 939, in run_validation
    self.load_plugin_with_namespace(name, cfg)
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/config/config_options.py", line 975, in load_plugin_with_namespace
    return (name, self.load_plugin(name, config))
  File "/home/codespace/.local/lib/python3.10/site-packages/mkdocs/config/config_options.py", line 993, in load_plugin
    plugin_cls = self.installed_plugins[name].load()
  File "/usr/local/python/3.10.4/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
    module = import_module(match.group('module'))
  File "/usr/local/python/3.10.4/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/local/python/3.10.4/lib/python3.10/site-packages/mkdocs_glossary_plugin/plugin.py", line 18, in <module>
    from pandoc.types import *
  File "/usr/local/python/3.10.4/lib/python3.10/site-packages/pandoc/types.py", line 184, in <module>
    pandoc.configure(auto=True)
  File "/usr/local/python/3.10.4/lib/python3.10/site-packages/pandoc/__init__.py", line 93, in configure
    raise RuntimeError(message)
RuntimeError: cannot find the pandoc program.
paths:['/usr/local/rvm/gems/ruby-3.1.3/bin', '/usr/local/rvm/gems/ruby-3.1.3@global/bin', '/usr/local/rvm/rubies/ruby-3.1.3/bin', '/vscode/bin/linux-x64/92da9481c0904c6adfe372c12da3b7748d74bdcb/bin/remote-cli', '/home/codespace/.local/bin', '/home/codespace/.dotnet', '/home/codespace/nvm/current/bin', '/home/codespace/.php/current/bin', '/home/codespace/.python/current/bin', '/home/codespace/java/current/bin', '/home/codespace/.ruby/current/bin', '/home/codespace/.local/bin', '/usr/local/oryx', '/usr/local/go/bin', '/go/bin', '/usr/local/sdkman/bin', '/usr/local/sdkman/candidates/java/current/bin', '/usr/local/sdkman/candidates/gradle/current/bin', '/usr/local/sdkman/candidates/maven/current/bin', '/usr/local/sdkman/candidates/ant/current/bin', '/usr/local/rvm/gems/default/bin', '/usr/local/rvm/gems/default@global/bin', '/usr/local/rvm/rubies/default/bin', '/usr/local/share/rbenv/bin', '/opt/conda/bin', '/usr/local/php/current/bin', '/usr/local/python/current/bin', '/usr/local/py-utils/bin', '/usr/local/nvs', '/usr/local/share/nvm/versions/node/v19.7.0/bin', '/usr/local/hugo/bin', '/usr/local/dotnet/current', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/home/codespace/.dotnet/tools', '/usr/local/rvm/bin']

There is something wrong with environment, obviously. Is any way to run which pandoc in exact environment?


want to get mobile otp

This should be solved using a custom lookup, which will be added with https://github.com/anexia-it/django-rest-passwordreset/pull/93


[EventGrid] Default value is invalid for sku

In the latest 2020-10-15-preview API version, the sku property defines a default value "Basic": https://github.com/Azure/azure-rest-api-specs/blob/35bd110090a51263b61dd0c9f18cf512e17e8742/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/EventGrid.json#L5926
This is wrong because sku is an object of type ResourceSku with a property name. It's the property that should have the default value.

@ahamad-MS , I saw you update the spec recently. Can you have a look at this issue? Thanks.

Thanks for reaching out and opening this issue. We will take a look and respond back.
thanks

The issue seems to be valid. We will track this for a quick fix. thanks for reporting this @mikhailshilkov  .. Somehow, this was not caught in swagger check tools.

This bug is part of the latest swagger update here: https://github.com/Azure/azure-rest-api-specs/pull/13397#pullrequestreview-612536477 .. Closing this issue as being addressed.
Thanks

This issue is still present in an older API version:

https://github.com/Azure/azure-rest-api-specs/blob/2807478a8b8f6251a031aa3f3d2f14b3325c721a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json#L5751
https://github.com/Azure/azure-rest-api-specs/blob/2807478a8b8f6251a031aa3f3d2f14b3325c721a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json#L7726

Could you please fix it everywhere?

@ahamad-MS , can you please take care of fixes for other versions?

Yes.. We will take care of it separately. thanks

What's the status here? The problem is still there... Could you please reopen the issue?


EventBuilderImpl: Only log missing event class once

Signed-off-by: Sean Bright<EMAIL_ADDRESS>

excellent idea.


An error has occurred. Please see the logfile

Is there an existing issue for this?

[X] I have searched the existing issues and have read the Known Issues and Troubleshooting topics in the Wiki

What happened or didn't happen
After starting the program (v <IP_ADDRESS>) I get a error message stating "An error has occurred. Please see the logfile". Then the application freezes and exits. There is no log file or I did not find it.
How can I help to resolve this problem?
Steps To Reproduce
No response
Version
<IP_ADDRESS>
Windows Version
Win11 22H2 22621.1992
Relevant log output
No response
Anything else?
No response

Hi Tim,
i finally was able to genearte a log before the app crashed again. I attached it.
Regards
WUView.20230805.log

@mgeha, thanks to the log you supplied, I found the cause of the crash and implemented a fix. The fix will be included in 0.5.17. The cause was a null title in an update, which I didn't believe was possible.
Thanks for your help,
Tim

Hey Tim,
sorry to bother you again :-) I looks like it's still happening. But now I see the list of updates populated with a number of updates before the app crashes. In v. 0.5.16 the list was empty. I have attached a log for you.
My locale is DE_de, maybe something with german Umlauts? I am guessing, have no clue
Regards
WUView.20230806.log

@mgeha, I'm sorry this has taken so long. Real life got in the way.
I've just released 0.5.19 which hopefully will fix your issue. I'm leaving this open pending confirmation from you that the bug is fixed.
Thanks for your patience.
Tim

No worries Tim, I am happy to tell you that the issue has been fixed :-)

@mgeha, reading this is a wonderful way to start the day. I'm glad that the issue is resolved.
Tim


Keyboard

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

Hi @ryanmcclaran, could you please provide some information about the issue you are experiencing?
Thanks!

Please file a new issue with details of your problem and how to reproduce if you are still having a problem. Thanks and happy coding!


Current Bench Setup

This PR adds the setup for running current-bench. Once this is merged and we get added to the app, all benchmark results will be available in a nice UI.
Also adds a bare-bones benchmark for SPSC Queue.
Testing
(base) ➜  lockfree git:(benchmark-setup) ✗ make bench
{
  "name": "lockfree",
  "results": {
    "name": "spsc-queue",
    "metrics": [
      {
        "name": "time",
        "value": 0.180373,
        "units": "s",
        "description": "median time result"
      },
      {
        "name": "throughput",
        "value": 11088136.897106,
        "units": "item/s",
        "description": "median throughput result"
      }
    ]
  }
}

Got green light from @Sudha247


Not working on ubuntu 20.04 (missing command from the tutorial)

Hey there, tried installing with apt and with the .deb file, wont work.
Did some research and checked that on ubuntu 20.04, you need to install python for pip3 before using it.
sudo apt-get install python3-pip
Please update the tutorial.
Great tool, keep the good work.

Hi, can you verify and let me know the version that you are using.?
For v1.3.9 pip is not necessary. In case where psutil(python3-psutil) doesn't meet the version requirements, which is the case for Ubuntu<=20.04 (official repos doesn't have python3-psutil>=5.7.2), you have to install psutill via pip only.
This is mentioned in the readme under ubuntu installation. Please check out readme.
In any case please let me know.

I'm using lastest version 1.3.9, that's exactly as you say, i had to manual install pip to install psutil after that, after that it worked (i tried the apt install and the .deb installer).
On the guide you say to use pip3, but first you need to install pip3, that's what i'm saying.
Just add the like to install pip3 before using it: sudo apt-get install python3-pip

Hmm, I have added it so that people who are not familiar with pip can install it.


Add schema.json

This is my first time making a json schema, so I'm sure there's plenty to be improved. I used check-jsonschema to test that the schema was correct. The command I used was check-jsonschema --schemafile schema.json api/*.json This doesn't make sure that everything is covered under the schema, only that the schema is correct for the parts that have been added.

I am new to this project and to JSON schemas, but it seems you did a very through job.
I am was surprised to see all the APIs and types (APIRefs) listed in the schema. I guess it depends on how we intend the schema.
If we want the schema to be "a priori", i.e. a json analog of a winmd file (as I imagined), than the enums of types and APIs should not be in there since they (possibly) depends on the version of the original winmd file.
Otherwise if we want the schema to be "a posteriori", then this schema should be auto-generated from the json files (or by the generator itself) since it might be subject to change.
A middle ground might be best: a manually maintained "a priori" schema (without types and APIs enums) and auto-generated metadata files that list the possible values. These metadata files may contain all sort of useful information (for example a map of symbols) and might spare projection maintainers some work.


Define how the medication overview is created

Does the repository HAVE the Medication Overview, or it has to create it as demanded?

I believe we agreed that it can be done either way. The client side does not have to know where the meow originates from as there are different possible architectures:

full medication overview prebuilt in a dedicated repository;
core medication overview prebuilt in a dedicated repository, other related data (eP, eD) requested from other sources and added where relevant;
no overview prebuilt, everything constructed on the fly from whichever sources needed. There is possibly a need to have some kind of medication overview repository anyway, because there is likely some information that would not come from anywhere else. However, medication overview should be technically constructable based on ePrescriptions and eDispensations only (not advised from functional perspective).


i encountered following error after issuing  "bundle pack && bundle install --path vender/cache" command while installing snorby. Does anyone have any solution?

What did you do?
I ran the command /usr/local/bin/bundle install --path vender/cache

What did you expect to happen?
I expected Bundler to...

What happened instead?
Instead, what actually happened was...

Error details
Errno::EACCES: Permission denied - /var/www/snorby/.bundle
  /usr/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'
  /usr/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
  /usr/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
  /usr/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
  /usr/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
  /usr/lib/ruby/1.9.1/fileutils.rb:205:in `each'
  /usr/lib/ruby/1.9.1/fileutils.rb:205:in `mkdir_p'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/settings.rb:208:in `set_key'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/settings.rb:31:in `[]='
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/cli/install.rb:87:in `run'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/cli.rb:162:in `install'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/cli.rb:10:in `start'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/bin/bundle:20:in `block in <top (required)>'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'
  /var/lib/gems/1.9.1/gems/bundler-1.10.5/bin/bundle:18:in `<top (required)>'
  /usr/local/bin/bundle:23:in `load'
  /usr/local/bin/bundle:23:in `<main>'

Environment
Bundler   1.10.5
Rubygems  1.8.23
Ruby      1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
Git       1.9.1

Bundler settings
path
  Set for your local app (/var/www/snorby/.bundle/config): "vender/cache

This means you don't have write permission in the directory you're running bundle from. It needs to be able to write it's config file.

Thanks a lot that really helped i forgot to add the user in the www-data group and then set the write permission. my bad.


Rename CClaimTrieCache to CClaimTrieUpdateBuffer and separate in own file

Signed-off-by: Anthony Fieroni<EMAIL_ADDRESS>

How to get start claim lbry coin?

This a code review can you ask here https://www.facebook.com/lbryio

CClaimTrie.nCurrentHeight has also been renamed to nNextHeight here

I had some problem rebasing this, there is basically a commit here:
7d321ec0eac0a9cb14a3ef078f134a87f6aed956 which looks like a failed merge commit that contained elements from unrelated commits.
I've resolved this in  https://github.com/lbryio/lbrycrd/pull/175 so will be closing this one.
In the future, I suggest that you rebase commits that you are working on top of master instead of merging it.


install error on kubernete 1.22.11

Ubuntu 21.04

@clcc2019 What is your machine's CPU architecture?

@clcc2019 What is your machine's CPU architecture?

amd64

v1.4.0-amd64 tag is ok

OK, let's close this issue.


Add a check for $isLinux

This is a very simple if statement, I don't think there's much to explain
if ($IsLinux){ # PowerShell on Linux has that read-only bool variable set to $true
   Write-Host "This utility is exclusively designed for Windows"
   return
}

I don't see the need for this, it's already clearly stated that it's meant to be used by windows.

doesn't hurt to add :shrug:


save dashboard after edit properties is failing

save a dashboard after editing from the properties window. result in a failure
no way to save a dashboard
How to reproduce the bug

create an empty dashboard
go to dashboard properties and edit the then click save
click save on the dashboard level

Expected results
dashboard. should be saved
Actual results
get an error message
save error response:
PUT https://superset-maf.dev.apps.nielsen.com/api/v1/dashboard/231 400
{"message":{"certification_details":["Unknown field."],"certified_by":["Unknown field."]}}
https://user-images.githubusercontent.com/47772523/146814956-c2af9fcc-b8bf-4c8b-b089-91bd11f7992f.mov
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):

browser type and version:  chrome 96

superset version: 1.4rc2

python version: python --version

node.js version: node -v

any feature flags active:
"ENABLE_TEMPLATE_PROCESSING": True,
"ROW_LEVEL_SECURITY": False,
"DASHBOARD_NATIVE_FILTERS": False,
"DASHBOARD_NATIVE_FILTERS_SET": False,
"DASHBOARD_CROSS_FILTERS": False,
"VERSIONED_EXPORT": True,
"DASHBOARD_RBAC": True

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

@rusackas do you know if there's a fix for this already that we can cherry in?

We cherrypicked the relevant PR

for me color scheme cannot be emptied


[sw/build] Meson does not provide a reliable way to disable local -I args to GCC.

As of https://github.com/lowRISC/opentitan/pull/503, we're using a small regular expression to strip Ninja files of all -I args that are not absolute, to work around Meson not having a global switch to disable generating -I arguments, and implicit_include_directories sometimes not working correctly[1].
In the middle-term, we should try to eliminate this small regular expression, and instead figure out how to ask Meson to not generate any -I args we don't provide manually in the top-level meson.build.
[1] I haven't been able to produce a minimal repro case for this, unfortunately. My current suspicion is that it falls out of the many special-use arguments we pass to Meson's build rule functions.

Closing as the software builds are not moving to bazel lowrisc/opentitan#7972.


[question] Cannot import Gtk using const { Gtk } = imports.gi;

Hey, this is my first interaction with gnome-shell extension and typescript.
My learning consists of modifying an example from this repo.
However, I can't import the GtK library using:
const { Gtk } = imports.gi;

I got  error "Property 'Gtk' does not exist on type 'GjsGiImports'.ts(2339)"
I also tried to use import
import  { Gtk } from<EMAIL_ADDRESS>
but it didn't like probably gnome-shell after I got an error:  ReferenceError: require is not defined
I don't know what the problem is, am I making some kind of mistake ?

tl;dr: I think this is what my problem is related to: https://github.com/evanw/esbuild/issues/3166
I did a little reading of articles on the web and found that GJS does not support require. From what I understood as I am using Gnome 42 one way to import is to use imports.gi .
However, typescript has a problem with this so I have to use import in the code. And this will solve the compilation problem for me. But I still have a problem with the runtime.
While manually editing the resulting js file, I noticed that esbuild is using the wrong files from @girs to import. I tried for several hours but couldn't get esbuild to use the cjs files.
Moments ago I found this issue https://github.com/evanw/esbuild/issues/3166 created by @JumpLink
However, I do not see a satisfactory solution there. Is the only solution plugin + onResolve ??

Hello,
I had the same problem as you, and I found a "workaround". I share it if it can help :
const { Clutter, Gio, GLib, St } = imports.gi;

import type Clutter_t from '@girs/clutter-12';
import type Gio_t from<EMAIL_ADDRESS>import type GLib_t from<EMAIL_ADDRESS>import type St_t from '@girs/st-12';

@jboillot Interesting WA.
I decided to write a plugin for esbuild:
let girsResolverPlugin = {
	name: '@girs resolver',
	setup(build) {
		build.onResolve({ filter: /^@girs\// }, (args) => {
			const packagePath = path.join(
				args.resolveDir,
				'../node_modules',
				args.path,
				'package.json',
			);
			if (!fs.existsSync(packagePath))
				return {
					errors: "Module ${args.path} doesn't have package.json",
				};

			const packageData = fs.readFileSync(packagePath, 'utf8');
			try {
				const packageJson = JSON.parse(packageData);
				if (
					'exports' in packageJson &&
					packageJson.exports['.'] &&
					packageJson.exports['.']['require'] &&
					packageJson.exports['.']['require']['default']
				) {
					return {
						path: path.join(
							args.resolveDir,
							'../node_modules',
							args.path,
							packageJson.exports['.']['require']['default'],
						),
					};
				} else if ('main' in packageJson) {
					return {
						path: path.join(
							args.resolveDir,
							'../node_modules',
							args.path,
							packageJson.main,
						),
					};
				} else {
					return {
						errors: "Module ${args.path} doesn't have 'exports' or 'main' field in package.json",
					};
				}
			} catch (parseErr) {
				return {
					errors: 'Module ${args.path} package.json parse error',
				};
			}
		});
	},
};

However, I faced a problem with gtk4 that I don't know how to solve.
I do not know how, but all this code generated by esbuild:
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __commonJS = (cb, mod) => function __require() {
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));

//<EMAIL_ADDRESS>var require_gtk_4_0 = __commonJS({
  "node_modules/@girs/gtk-4.0/gtk-4.0.cjs"(exports, module2) {
    imports.gi.versions.Gtk = "4.0";
    var Gtk2 = imports.gi.Gtk;
    module2.exports = Gtk2;
  }
});

// src/prefs.ts
var import_gtk_4 = __toESM(require_gtk_4_0());
imports.gi.versions.Gtk = "4.0";

causes Gtk4 to try to access functions not offered by the libraries on my system:
GLib.Error g-invoke-error-quark: Could not locate gtk_ordering_from_cmpfunc: 'gtk_ordering_from_cmpfunc': /lib/x86_64-linux-gnu/libgtk-4.so.1: undefined symbol: gtk_ordering_from_cmpfunc

gtk_ordering_from_cmpfunc was added in GTK4.2 and I have GTK4.1.
When I do normal imports in JS this problem does not occur. I don't understand the cause of this problem....

Since this package has now been completely converted to ESM (but CJS still exists) and ESM is now also to be used for GNOME SHell 45, this issue may have been resolved, may someone test this?


Fixed issues

Attempted to fix following:

#17
#10
#12
#13

About issue 12 and 13: I could not reproduce the issue before so not sure if they actually got fixed
A few other fixes including UI fixes and text color not updating with slider
I also forced a few theme colors (mainly dark) to stop the entire mess of colors mixing up
Most dependencies were updated

Hey, I recieve the following errors after running the code:
../Downloads/flutter/.pub-cache/git/image_editor_plus-25a3815edb84770bf6a854ec20459485f401dae9/lib/image_editor_plus.dart:1290:38: Error: The method 'build' isn't defined for the class 'ColorFilterGenerator'.

'ColorFilterGenerator' is from 'package:colorfilter_generator/colorfilter_generator.dart' ('../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/colorfilter_generator-0.0.6/lib/colorfilter_generator.dart').
Try correcting the name to the name of an existing method, or defining a method named 'build'.
: selectedFilter.build(
^^^^^
../Downloads/flutter/.pub-cache/git/image_editor_plus-25a3815edb84770bf6a854ec20459485f401dae9/lib/image_editor_plus.dart:1405:21: Error: The method 'build' isn't defined for the class 'ColorFilterGenerator'.
'ColorFilterGenerator' is from 'package:colorfilter_generator/colorfilter_generator.dart' ('../Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/colorfilter_generator-0.0.6/lib/colorfilter_generator.dart').
Try correcting the name to the name of an existing method, or defining a method named 'build'.
child: filter.build(
^^^^^
../Downloads/flutter/.pub-cache/git/image_editor_plus-25a3815edb84770bf6a854ec20459485f401dae9/lib/image_editor_plus.dart:1535:18: Error: The method 'HandSignaturePainterView' isn't defined for the class '_ImageEditorDrawingState'.
'_ImageEditorDrawingState' is from 'package:image_editor_plus/image_editor_plus.dart' ('../Downloads/flutter/.pub-cache/git/image_editor_plus-25a3815edb84770bf6a854ec20459485f401dae9/lib/image_editor_plus.dart').
Try correcting the name to the name of an existing method, or defining a method named 'HandSignaturePainterView'.
child: HandSignaturePainterView(

Not sure why you're getting that, I changed the dependency package to my fork and it works fine. If it only happens when using my fork then I'll take a look

Yes it happens only using your forked repository

Yes it happens only using your forked repository

Hmm, okay I'll see whats wrong then, maybe it works for me because of some cache thing, i'll try on a fresh project and let you know

@Stefi16  Whats your compiledSdkVersion in /android/app/build.gradle

@DizzasTeR 31

@Stefi16 Pushed some changes, pub get and pub upgrade and give it a go. Also you might need compiledSdkVersion of 33 and minSdkVersion 21 for some dependencies to work (Concluded this by starting a fresh project, and adding this package as dependency only)

Okay will test it thank you.

merge plese)

@DizzasTeR please update conflicting files.


Update chart victoria-metrics-k8s-stack to 0.31.3

This PR contains the following updates:

Package
Update
Change

victoria-metrics-k8s-stack
patch
0.31.2 -> 0.31.3

Release Notes

VictoriaMetrics/helm-charts (victoria-metrics-k8s-stack)
v0.31.3
Compare Source
Release notes for version 0.31.3
Release date: 2024-12-18

added default value for .Values.grafana.sidecar.datasources.label for case when grafana.enabled: false but datasource provision is still enabled. See this issue.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


Can kong proxy local static resources

Can kong proxy local static resources？ i can't found method in doc

Kong itself can't do it. You can inject inject an nginx server block to do that: https://docs.konghq.com/2.2.x/configuration/#injecting-nginx-directives
That will bypass all of Kong though.

Kong itself can't do it. You can inject inject an nginx server block to do that: https://docs.konghq.com/2.2.x/configuration/#injecting-nginx-directives
That will bypass all of Kong though.

@hbagdi  if i inject an nginx server，Will the Go plugin work for this ?

@hbagdi  if i inject an nginx server，Will the Go plugin work for this ?


DPL-574 Bioscan - Traction/Limber - How to Link XP tube to Traction tube

Description
Consider how to link the XP tube in Limber (and it's mBrave file export) to the Traction ID created on importing the tube into Traction. The sequencing file(s) created in the Traction run need to be linked with the mBrave file exported from the Limber XP tube in order to de-convolute and publish the sequencing data.
Who the primary contacts are for this work
Emma B
Knowledge or Stake holders
Faculty team
Additional context or information
See diagram here

Traction has an option to record the source identifier when a sample is imported. It is also possible to put a feature in place so that the XP tube barcode can be the library barcode. This barcode would then be pushed to the warehouse and would be the barcode used in the sequencing run.

@andrewsparkes As mentioned yesterday there is the possibility in traction to record the source of the library tube so in this case the source would be the XP tube
The source is not currently stored in the warehouse but that sound to me like the simplest way to proceed?

Closed as done. We have confirmed that we can provide the XP barcode as a source identifier to link back from the library tube.

@stevieing @andrewsparkes @emrojo
Just to confirm:
What entities will the RabbitMQ message create? And on what entity will the source attribute live?
From a quick look in Traction, the pacbio_request has a source_barcode - A pacbio_library has a pacbio_request_id. Then if there is a Pacbio::Run, how would the run entity access this source_barcode?
e.g run > wells > library > request > source_barcode ?


Go 1.5 support + Refactor

I fixed the regexp for Go 1.5 as explained on https://golang.org/pkg/runtime/

Currently, it is:
gc # @#s #%: #+...+# ms clock, #+...+# ms cpu, #->#-># MB, # MB goal, # P

I ended up also adding tests and fixing a few things:

It was parsing Stderr and printing on Stdout (via Println). It now always write to Stderr.
I added a flag to be able to set a fixed port.

Thank you, I'll take a look tonight
On Sun, 11 Oct 2015 09:09 Vincent Bonmalais<EMAIL_ADDRESS>wrote:

I fixed the regexp for Go 1.5 as explained on
You can view, comment on, or merge this pull request online at:
https://github.com/davecheney/gcvis/pull/19
Commit Summary

Update parser to support Golang 1.5
Fix spelling and space
Refactor and test HTTP server and subcommand

File Changes

M graph.go
https://github.com/davecheney/gcvis/pull/19/files#diff-0 (4)
A http_server.go
https://github.com/davecheney/gcvis/pull/19/files#diff-1 (61)
A http_server_test.go
https://github.com/davecheney/gcvis/pull/19/files#diff-2 (59)
M main.go
https://github.com/davecheney/gcvis/pull/19/files#diff-3 (52)
M parser.go
https://github.com/davecheney/gcvis/pull/19/files#diff-4 (54)
M parser_test.go
https://github.com/davecheney/gcvis/pull/19/files#diff-5 (54)
A subcommand.go
https://github.com/davecheney/gcvis/pull/19/files#diff-6 (51)
A subcommand_test.go
https://github.com/davecheney/gcvis/pull/19/files#diff-7 (49)
D subprocess.go
https://github.com/davecheney/gcvis/pull/19/files#diff-8 (21)

Patch Links:

https://github.com/davecheney/gcvis/pull/19.patch
https://github.com/davecheney/gcvis/pull/19.diff

—
Reply to this email directly or view it on GitHub
https://github.com/davecheney/gcvis/pull/19.

Thanks for this. A few small nits and one bug where stderr appears to be eaten.

@davecheney I updated the PR. I covered a few scenarios in the tests such as non-zero exit codes and I fixed a bug where if the subcommand exits early, gcvis would stay open.
This was caused by sc.Scan waiting for an EOF but never getting it since the pipe was staying open. See: https://github.com/kouno/gcvis/commit/4fc3c17b3667986a344a524b331f9c16361a55a3#diff-363c6f0b9a44ea80c5c84761577d72f0R40.

Let me know if everything looks good and I'll rebase and clean up the fixup commit.

@davecheney fixed your feedback. I also commented on the Lock. Let me know if that sounds good.

LGTM with a few more minor cleanups.

Btw. If you want to go ahead and we can land this now, then tackle the rest in followups.

Above, when I said "we", I was planning on adding you as a committer, but it looks like I already did before. So, when you're happy with this PR, please merge it and we can fix any remaining issues in followups.

Thanks!
On Sat, 17 Oct 2015, 09:22 Vincent Bonmalais<EMAIL_ADDRESS>wrote:

Merged #19 https://github.com/davecheney/gcvis/pull/19.
—
Reply to this email directly or view it on GitHub
https://github.com/davecheney/gcvis/pull/19#event-438025297.


Legacy Noon vs Indicative Rate

https://github.com/tsiemens/acb/blob/3b01de49e0290bda01b9eb05133ebe3d2ef14bd0/fx/io.go#L19
While IEXE0101 (the noon rate) certainly used to be the correct value to use (see Desjardins, and The Globe and Mail), this value only exists up to 2017-04-28.
The Bank of Canada now uses a new "Indicative Rate", represented by FXUSDCAD. See also the Financial Post.
The FXUSDCAD goes back as far as 2017-01-03. IANAA, but I'm going with this value for the whole of 2017. You could alternatively reasonably argue that you should use IEXE0101 until it stops working and then switch over to FXUSDCAD, but given the way you've divided it up into years here, the former seems to make more sense.

Ah, yes this. Did not spend enough time reading up on why I ran into this.
Had been using FXUSDCAD, and then found that it returned no results for 2016 (as you mentioned), so I switched everything to IEXE0101. Makes sense to have <= 2016 use IEXE0101 and >= 2017  use FXUSDCAD


Fix example directions

What type of PR is this?
/kind documentation
What this PR does / why we need it:
The directions for how to generate an SBOM from the current directory were incorrect. This commit rectifies the guidance.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/ok-to-test


Added some documentation

Added some documentation to the Add-SPOView cmdlet.

Hi @Laskewitz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Sorry, made a typo, fixed it in the following commit: 271fdb172379b4933b7cff61981f7301e3384f78

Thank you Daniel!


Adding a datasource did not work

Is this a request for help?:
Yes its a help request.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}

Which chart:
Using prometheus-operator chart.
What happened:
Adding extra data source using configmaps is not working as expected. Please check my explaination above.
What you expected to happen:
Expected to see the datasource ready to be consumed as the configmap is created without errors and also container logs looks clean.
How to reproduce it (as minimally and precisely as possible):
Please try creating a data source using the configmap I posted above. You might need to use valid AWS access key and password.
Anything else we need to know:

Duplicate of another one. Created by mistake.


Delete By Query - SetParent needed?

Hello,
I noticed that in delete_by_query.go, there is a Routing() option, but not a Parent().
In some files, such as exists.go, there is both Routing() and Parent().
So, do we need Parent in delete_by_query.go.
Two more findings:

When the plugin is not enabled, I’m getting the error

elastic: Error 404 (Not Found)

And not elastic.ErrPluginNotFound as in CHANGELOG-3.0.md
Example for Elastic 3.0 (new):

_, err := client.DeleteByQuery().Query(elastic.NewTermQuery("client", "1")).Do()
if err == elastic.ErrPluginNotFound {
	// Delete By Query API is not available
}

When I pass the parent in routing as well, it works. Also, if I pass it in Parent (I added that. See below), it also works. Which is correct? If they are interchangeable, then why do other services like ExistsService support both.

My changeset
--- a/Godeps/_workspace/src/github.com/olivere/elastic/delete_by_query.go
+++ b/Godeps/_workspace/src/github.com/olivere/elastic/delete_by_query.go
@@ -28,6 +28,7 @@ type DeleteByQueryService struct {
        expandWildcards   string
        replication       string
        routing           string
+       parent            string
        timeout           string
        pretty            bool
        q                 string
@@ -142,6 +143,12 @@ func (s *DeleteByQueryService) Routing(routing string) *DeleteByQueryService {
        return s
 }

+// Parent is the ID of the parent document.
+func (s *DeleteByQueryService) Parent(parent string) *DeleteByQueryService {
+       s.parent = parent
+       return s
+}
+
 // Timeout sets an explicit operation timeout, e.g. "1s" or "10000ms".
 func (s *DeleteByQueryService) Timeout(timeout string) *DeleteByQueryService {
        s.timeout = timeout
@@ -229,6 +236,9 @@ func (s *DeleteByQueryService) Do() (*DeleteByQueryResult, error) {
        if s.routing != "" {
                params.Set("routing", s.routing)
        }
+       if s.parent != "" {
+               params.Set("parent", s.parent)
+       }
        if s.timeout != "" {
                params.Set("timeout", s.timeout)
        }

I see that, the DeleteByQuery fails only when I have not installed the plugin. And since I’m using parent_child, it fails with the error type=routing_missing_exception. After I install the plugin, then it doesn't even ask for routing or parent. I’m confused, why it first thinks it needs routing and when I install the plugin, it doesn’t care about routing, even though I’m passing term with _parent to be deleted.

@sundarv85 AFAIK routing and parent/child are different concepts and serve different purposes. Routing is for "routing" a document to a particular shard in your cluster. If not specified, it uses _id or _parent (see docs)--maybe that's the reason for your confusion? Parent/child is for relationships between two types of (tightly-bound) documents.
According to DBQ docs, there is no parent property. I don't see it in the Java source as well.
I'll keep the issue open as I still need to double-check the correct error message when DBQ is installed/not installed.

You are correct in that DBQ service does not respond with ErrPluginNotFound. It responds with a 404.
But TBH I think responding as if the endpoint is missing is the correct response. ErrPluginNotFound is a good idea at first sight. But it comes with the burden that you'll now always have to double check if it's an error because some feature might be missing, or it's something wrong with your query. I think elastic should be opaque here and simply return what ES returns, and it shouldn't put any logic into the response. So I think I will change the documentation accordingly.
If an application relies on some plugins, it should probably check those dependencies on startup (via e.g. HasPlugin or SetRequiredPlugins) other then rely on checking constantly while under load.
Regarding your confusion about DBQ:
The endpoints that DBQ plugin is registering is DELETE /{index}/{type}/_query and DELETE /{index}/_query. If you don't register DBQ, these will get routed to the Delete API, and _query will be interpreted as the _id you want to delete. The type you're trying to delete might require a _parent, hence the error. It also explains why it 404's: Because there is no document with an identifier of "_query".
When you use parent/child, the _parent is used as a routing value to make sure that the parent and its child documents are routed to the same shard. Otherwise it would be hard or even impossible to get acceptable response time when searching.

Can we close this?

@olivere Yes, the issue is solved. Thanks


not working with php

If I try to format php file and it get the error below.
"Formatter for this file type (html5) not found."

You can add your syntax (html5) in option "syntaxes" under  codeformatter_html_options


arbitrary_self_types support

Hi, I would use this crate if it probed for arbitrary_self_types. Raising an issue as requested by your helpful error messages. Thanks!

I've implemented support for the arbitrary_self_types feature, as well as improved the package in some other ways, and have tested all this, and this is pushed.
But I haven't yet published a new version to crates.io, since I still need to do final review and testing (I'm planning on trying some basic use from your autocxx).  I should be able to publish it soon (maybe by tomorrow night).
If you'd like, you may currently use the crate from my repo as version 0.1.1-pre.

@adetaylor, I've published new version 0.1.1 to crates.io that supports the feature and provides the new rust_lang_feature = "arbitrary_self_types" cfg option.
Also, I made a demonstration of how it could be used by autocxx, that uses it where I found that seemed relevant to arbitrary_self_types, and that shows some various ways of how it can enable code to automatically adjust to whether Rust features are stable or unstable.  (Of course, all this might not be how you end-up wanting to use it.)
The README is also now a little improved to better describe its capabilities.


fix flaky integration test MethodInvokeIT

Description
Its test case testInvoke always fail due to app is not in a healthy state. Increasing time of waiting for app health can be helpful.
Issue reference
Please refer to the the point 4 of issue #7128 in dapr/dapr.

It looks like the additional time is not enough to make the test pass.

It looks like the additional time is not enough to make the test pass.

ready to review