Can WearAuthn stay connected to paired Bluetooth computers

Great project!
Is there any way to have WearAuthn automatically connect & stay connected to any paired Bluetooth computers that are in range? So that any time the token is required it will pop up on the Watch to ask confirmation; rather than having to manually open the app and trigger the connection from there?

Thanks for your interest!
Two things are currently possible: If you download the WearAuthn app on your phone, you can unlock a watchface shortcut for connecting to a chosen paired device with a single tap. I also know that Windows tends to reconnect to WearAuthn automatically when it is needed, even if the app is not running anymore.
If none of this currently works as conveniently as you would like, I would ask you to provide a few more details of what you are looking for. I have already thought about adding a feature similar to what you are describing, but would want to collect some more input from users, hence a few questions. It would be great if you could answer at least some of them:

Which operating systems are you using WearAuthn with?

Do you frequently switch between multiple devices and would like WearAuthn to stay connected to more than one at the same time?

If staying connected in the background would mean faster battery drain, what level would you tolerate?

If WearAuthn needs to get your confirmation while it is in the background and you are using a different app on your watch, would you prefer it 1) to show a full screen dialog as it does now or 2) to show a (less intrusive) notification instead?

Ah interesting statement about Windows - I wonder whether I can persuade Linux to do similar; sounds like you're saying it should be possible.
In answer to your questions:

Linux
Yes, often switching between desktop and laptop. Similarly be great if I could just go from home to work and it seamlessly work.
"Some"... sorry not sure here.
I don't think the screen is big enough for less intrusive notifications nor that I'd be using the watch whilst trying to perform a login on another device; so 1).

I have looked into this and learned that multiple concurrent connections are unfortunately not supported by Wear OS (or Android in general), which leaves the following options:

The best solution is probably to understand how Windows manages the automatic connections and replicate this on Linux. Since this would mean that all of the work would take place off the watch, this approach would not affect battery life and (hopefully) be quite reliable. I will look into this when I have time, but it will probably be rather difficult.

One could think about adding a mode that switches between a set of paired devices. But this would probably be quite heavy on the battery as well as increasing the latency with which requests are handled by the watch.

By making WearAuthn remain connected in the background, coupled with the watchface shortcut, one could get the required effort for changing devices down to a single tap.

Although I do not have any experience with it, Tasker integration may help with this.

Do you know which of these approaches you would prefer?

I'm not OP, but I would prefer 1)


samples: compression: lz4 requires more than 64kB of RAM

Set the min_ram limit to 64kB so that with new ztest lib can run the sample on board with enough ram.
Smaller ram platforms are not used anymore.
Fixes https://github.com/zephyrproject-rtos/zephyr/issues/51520
Signed-off-by: Francois Ramu<EMAIL_ADDRESS>

@FRASTM do you plan to take this out of draft?


Feat/form data setter

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Alternate way to restricting editing content in content controls

An alternate way to restrict editing of contents of the content control.
Discussion 🗣
Instead of the chunk of code here (111-119), we can probably use this API to do the same. Not sure how will this integrate but we can try if using this API works out.

Can I take this issue up and give it a try?

Yes, you may go for it. 😌


[feat] trigger Zen mode/advanced info mode with hotkey (for the new UI)

Describe the problem
i personally like the info on the feeds but i really dont like them on the creations page/artist profiles - it feels to me like it affects the aesthetics of the artist creations page more than i thought, makes it look more like just another marketplace and less "soothing" - liked that very much about the hen artist profiles. so tuning it off and on easily would help imo.

Describe the solution you'd like
i think having a hotkey switch for zen mode would be awesome - so users can quickly switch between the info and the zen mode
it would be important to add sme kind of description or alt text to the zen mode switch so people can learn how to use it
Alternatives considered
turning the info stuff off on artists creations pages per default and allowing switching it on would also be an option but we would need to separate the modes for the global feeds and artist profiles and i think this would be confusing and cumbersome to implement.
Additional context
see: mel-embx.onrender.com/
for me the info bars on artists profiles kinda mess with the "look and feel"/UX of the old teia UI: it makes it look more like trhe other marketplaces and more focused on commerce while taking away from the "gallery/art cenetered" feeling of the old grid

I personally think the Zen button is misplaced, but we could add shortcuts for feeds to switch the view & zen modes


Right align "Dismiss" X button in search result entry list

Could we right align the Dismiss "X" of individual lines in the search? I often search for things and start dismissing items in that list that are not of interest. However, the X is always in another place, which makes this difficult. If it were right aligned, I could always click in the same place to dismiss items.
I think it was right aligned a few years ago but somehow got removed.
Thanks for considering this.
Regards

You want to set "search.actionsPosition": "right". I am considering making this the default


Ford Bronco Sport: treats kph as mph

Set to metric units on the car, and 30 kph set speed shows as 30 mph on the 3X. When setting 3X to metric, then it displays 48 kph

duplicate of https://github.com/commaai/openpilot/issues/29494


fix(state): when having two widgets of the same type, state were erased when refining

fixes #1685

Nice find right before release, will publish a new version

@kikobeats This can of feedback is gold for us, we would have maybe pushed a completely broken first version.

team building! 💪

team building!

We are still recruiting :trollface: :)****


Mock with MSW

I've additionally smoke tested the change in babbel-sandbox "just in case" because I named some of the GraphQL operations.

@jansiwy Incorporated your suggestions. Also switched to keeping MSW server instance.


how can i use this for transactions command 'watch,mutil,...,exec,unwatch'

I am building a web store
I use locks and transactions to ensure proper inventory
But how do I use the transaction?
I wrote the following code
But I'm not sure this is right
	_ = cache.Conn.Cmd("WATCH", "5")
	d, err := cache.Conn.Cmd("GET", "5").Str()
	if err == nil && d == "5" {
		cache.Conn.PipeAppend("MULTI")
		cache.Conn.PipeAppend("SET", "key1", "1")
		cache.Conn.PipeAppend("SET", "key2", "2")
		cache.Conn.PipeAppend("SET", "key3", "3")
		cache.Conn.PipeAppend("SET", "key4", "4")
		cache.Conn.PipeAppend("SET", "key5", "5")
		cache.Conn.PipeAppend("EXEC")
		_ = cache.Conn.PipeResp()
	}
	cache.Conn.Cmd("UNWATCH")

Can you give me some suggestions ?

So you're pretty close. I really recommend checking for errors at every step, even though it's a bit of a pain. Also you need to make sure you call PipeResp for every time that you've called PipeAppend, or use PipeClear if you know you don't care about the responses (but in this case you probably want to know if your transaction succeeded, so you do want the responses). So something like this:
	if err := cache.Conn.Cmd("WATCH", "5").Err; err != nil {
		// handle error
	}

	d, err := cache.Conn.Cmd("GET", "5").Str()
	if err != nil {
		// handle error
	}

	if d != "5" {
		if err := cache.Conn.Cmd("UNWATCH"); err != nil {
			// handle error
		}
		// handle d not being "5"
		return
	}

	cache.Conn.PipeAppend("MULTI")
	cache.Conn.PipeAppend("SET", "key1", "1")
	cache.Conn.PipeAppend("SET", "key2", "2")
	cache.Conn.PipeAppend("SET", "key3", "3")
	cache.Conn.PipeAppend("SET", "key4", "4")
	cache.Conn.PipeAppend("SET", "key5", "5")
	cache.Conn.PipeAppend("EXEC")

	for i := 6; i >= 0; i-- {
		r := cache.Conn.PipeResp()
		if r.Err != nil {
			// handle error
		} else if i == 0 {
			// This will be the actual response to EXEC. This is where you'll
			// find out if your transaction actually succeeded, if the reply is
			// nil it means it failed because "5" was changed
			if r.IsType(redis.Nil) {
				// transaction failed
			}
		}
	}

An alternative I'd really recommend is looking into the lua EVAL stuff. antirez has basically stated that lua is the way forward for people doing transactional stuff, the WATCH/MULTI/EXEC stuff is only left for backwards compatibility. It's still a bit of a pain because you have to learn lua, but you end up with much cleaner and simpler code. Lua eval is also faster in cases where you'd otherwise have to use WATCH, because you don't have to retry your transactions, they're always atomic. For your case you'd end up with something like this:
	script := `
		if redis.call("GET", "5") ~= "5" then
			return nil
		end

		for i = 1, #KEYS do
			redis.call("SET", KEYS[i], ARGV[i])
		end
		return "OK"
	`

	r := util.LuaEval(cache.Conn, script, 5,
		"key1", "key2", "key3", "key4", "key5",
		"1", "2", "3", "4", "5",
	)
	log.Print(r)

Note I hardcoded the check on "5", but you could make that part of the arguments to your script as well if that's something which changes. LuaEval is also nice because it'll work with a Pool or Cluster automatically.
Hope this helps, lemme know if you have any more questions :)

Usually, I use lua as a server deployment script and openresty widget
I will try it with redis.
thank you very much.

No problem! If you're used to openresty then you should have no problem here, redis' lua support is way simpler. I'll go ahead and close this now, but feel free to open it back up if you've got any other questions.


Use a forked version of LMDB to fix a memory usage issue

The forked LMDB repository introduces a new MDB_ALWAYSFREEPAGES flag that forces LMDB to call free on single pages instead of storing them in a list for future reuse.
The fact that LMDB was keeping the pages in memory was, pretty obviously, impacting the memory usage of the library when big transactions were created. Even after being committed, the memory usage was high. The only way to free the memory was to drop the environment.
We are not the sole ones that were impacted by this behavior.

bors merge


Nuxt 3 + Vitest + Supabase

Hi all,
Thanks for building such a great module. It's really simple to use and achieves everything we need so far.
We're trying to build out some simple unit tests using Vite and @nuxt/test-utils-edge, but any component that features an auto-import such as useSupabaseClient fails the test with an error useSupabaseClient is not defined. We're then tried to import it explicitly with import { useSupabaseClient } from '#imports' but get a new error:
Package import specifier "#imports" is not defined in package<EMAIL_ADDRESS>
Do you have any examples or documentation around unit testing components that use the @nuxtjs/supabase module?

Just to follow up on this, we ended up using global stubs like this:
const supabaseClientMock = vi.fn(() => ({
  functions: {
    invoke: vi.fn()
  },
  auth: {
    signIn: vi.fn()
  }
}))

vi.stubGlobal('useSupabaseClient', supabaseClientMock)

Which means we can also do this
expect(supabaseClientMock).toHaveBeenCalled()


How to add a new decoder after gpt is created with ::new call ?

hi @keyvank ,
let's say I want to add a new decoder layer (the one that gets constructed as part of 0..num_layers loop) at run time after the gpt::new() call, how do I go about it ? As I understand you are just pushing the computations one by one incremented by tensorid so adding a layer at a later point of time will need incrementing the ids for the next layers as well (for example adding one more decoder layer along with all the sub layers like attention etc means incrementing the vocab out and other variables outside the for loop ?)
Also why keep computations as a btree when in reality it's being used more like a Vec as we are not even using the id against which each computation is stored (please correct me if I missed something :) )

Good question. I have done this manually but it's tricky. You have to dis-allow loading tensors coming after the last layer in your new model, and this way you can migrate your old weights to your new model.
Computation is BTreeMap because not all tensors are a results of a computation (E.g input or parameter tensors), and we also need to process them in a sorted way

@cutoken Please check the latest commit: https://github.com/keyvank/femtoGPT/commit/9d9db580fd6a09d8ddc0b9e1557f353337e17010

Yes. saw that :)
So if I'm understanding this correctly, to add a new layer, I stop the training, set optimizer to false, increase the layers and restart the training ?

@cutoken
Yes, you can turn on optimizer again after it saved the training-data again. (But it will start from step 0, which is maybe not very efficient!)

It might start from step 0 but will the weights, biases of layer 1 and other intermediate  components from training run stay as is or will they be reset to random ?

new layers are random. old layers keep old weights

Got it. Now one more ask on similar angle. Is there a way to not run backward pass on a particular layer ? Since they are so costly, I want to exclude earlier layers from the training. Ideal would be some kind of layer numbers I can pass to the optimizer so that it just ignores the computation for those layers.

You can't do it on a "particular layer". But you can do it only from the last-layer to a particular layer. (

Ya that is what I actually want. For example, I have started the training with 2 layers, trained them to death :D (loss not reducing anymore), restarted my training with 4 layers, now I want original layers 0,1 not to be having backward pass while new layers 2, 3 (and their sub components like self attention heads etc) to be trained normally. How do I achieve something like that ?

@cutoken Pushed something that is useful for you. But be aware, this might confuse the Adam optimizer (Since the gradients of other layers will be zero)

saw your commit. But is the computations matching the layers ? :thinking:  I mean the number of computations done in backward pass is always equal to the number of decoder layers ? Only if they are the commit would work I think @keyvank

Okay that zero grad problem can solved if we just clone the last layer. It's as good as any random value anyway :)

@cutoken No, it's not. you have to calculate how many computations are done from your new layers till the last computation

I think this is the formula:
n=3 + ((10*num_heads) + 12) * num_new_layers

Got it. I'm thinking of just storing of the layer number in computation during the creation. That way no need for any calculation and it would reliably work. So call function would take the layer number and layer type. If layer type is decoder and layer number is < start layer/limit we do nothing.

Hmmmm this could work, but I want this library to be general purpose, what you are proposing needs adding GPT logic into the Graph logic. You can just forget about the calcs and use a number like 200, it doesn't need to be accurate hah

Update on experimenting with this one:

It does work in saving time
Savings however aren't going to be high unless the model is deep
It has negligible impact on the training quality - will be even better once we remove the need for learning embeddings (through sentencepiece) and positional encodings (through sine and cos) at the input layer.


How to send nested object in data

How do I send a nested object type:
{
  'field': {
    'key': 'value',
    'key2': 2
  }
}

in data field of background_uploader ?

Hey, I found a fix for this.
It's a little bit messy one, just put a jsonEncode()
on the nested object and send it as a string

This is actually the recommended way. Consider that the plugin sends a multipart/form-data request, in which the contents are sent as form fields.
The plugin could encode the payload, but should be a decision done by the user of the plugin.
We will address this as a documentation update in the future, thank you.


Add support for images inside designs

Is your feature request related to a problem? Please describe.
Images used as assets inside designs aren't currently supported. We should fix that.

Sketch used to test this support: xlayer.test.sketch.zip


Hooks separate actions from entry catalog

Codecov Report

Merging #1443 (3aed9ca) into master (5a96674) will decrease coverage by 0.29%.
The diff coverage is 10.18%.

@@            Coverage Diff             @@
##           master    #1443      +/-   ##
==========================================
- Coverage   39.79%   39.49%   -0.30%
==========================================
  Files         156      158       +2
  Lines       12478    12572      +94
==========================================
  Hits         4965     4965
- Misses       6803     6893      +90
- Partials      710      714       +4

Impacted Files
Coverage Δ

actions/event.go
0.00% <0.00%> (ø)

actions/hook.go
0.00% <0.00%> (ø)

actions/webhook.go
0.00% <0.00%> (ø)

catalog/entry_catalog.go
14.94% <0.00%> (-0.85%)
:arrow_down:

actions/action.go
24.44% <24.44%> (ø)

api/errors.go

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a96674...63990bf. Read the comment docs.


Add on is starting on Raspberry pi 4 with homeassistant os 10.3 and needs 50% CPU but stops after startup

Problem/Motivation
Add on is starting on Raspberry pi 4 with homeassistant os 10.3 and needs 50% CPU but stops after startup
Log:
Initializing homegear as user homegear
Preparing NodeBlue
up to date, audited 966 packages in 16s
74 packages are looking for funding
run npm fund for details
56 vulnerabilities (1 low, 32 moderate, 22 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run npm audit for details.
npm notice
npm notice New major version of npm available! 8.1.2 -> 9.7.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.7.2
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
Attached ttyUSB devices:
Attached ttyAMA devices:
crw-rw---- 1 root 18 204, 64 Apr  4 12:55 /dev/ttyAMA0
Attached spidev devices:
Adding group of the devices to homegear user homegear
Found group id: 18
Detecting group name
Group name is:
Group for id 18 does not exist. Creating one.
Adding group homegear-18 to user homegear
Adding group root to user homegear
Starting Homegear (/usr/bin/homegear -u homegear -g homegear)
07/05/23 00:27:20.911 Loading settings from /etc/homegear/main.conf
07/05/23 00:27:20.913 Loading RPC server settings from /etc/homegear/rpcservers.conf
07/05/23 00:27:20.914 Loading RPC client settings from /etc/homegear/rpcclients.conf
07/05/23 00:27:20.914 Debug: hostname of RPC client ExampleClient1 set to myhostname
07/05/23 00:27:20.914 Debug: caFile of RPC client ExampleClient1 set to /path/to/ca-certficate
07/05/23 00:27:20.914 Debug: verifyCertificate of RPC client ExampleClient1 set to 1
07/05/23 00:27:20.914 Debug: forceSSL of RPC client ExampleClient1 set to 0
07/05/23 00:27:20.914 Debug: authType of RPC client ExampleClient1 set to 1
07/05/23 00:27:20.914 Debug: userName of RPC client ExampleClient1 set to myuser
07/05/23 00:27:20.914 Debug: password of RPC client ExampleClient1 was set.
07/05/23 00:27:20.914 Debug: certFile of RPC client ExampleClient1 set to /path/to/client.crt
07/05/23 00:27:20.914 Debug: keyFile of RPC client ExampleClient1 set to /path/to/client.key
07/05/23 00:27:20.914 Debug: retries of RPC client ExampleClient1 set to 3
07/05/23 00:27:20.914 Debug: timeout of RPC client ExampleClient1 set to 15000000
07/05/23 00:27:20.914 Debug: hostname of RPC client ExampleClient2 set to <IP_ADDRESS>
07/05/23 00:27:20.914 Debug: retries of RPC client ExampleClient2 set to 5
07/05/23 00:27:20.914 Debug: timeout of RPC client ExampleClient2 set to 30000000
07/05/23 00:27:20.915 Setting allowed core file size to "18446744073709551615" for user with id 0 and group with id 0.
07/05/23 00:27:20.915 Core file size now is "18446744073709551615".
07/05/23 00:27:20.915 Setting maximum thread priority to "0" for user with id 0 and group with id 0.
07/05/23 00:27:20.915 Maximum thread priority now is "0".
07/04/23 19:52:14.994 Info: Core file size now is "18446744073709551615".
07/04/23 19:53:38.768 Starting Homegear Management...
07/04/23 19:53:38.774 Info: Setting allowed core file size to "18446744073709551615" for user with id 0 and group with id 0.
07/04/23 19:53:38.774 Info: Core file size now is "18446744073709551615".
07/04/23 21:07:32.506 Starting Homegear Management...
07/04/23 21:07:32.508 Info: Setting allowed core file size to "18446744073709551615" for user with id 0 and group with id 0.
07/04/23 21:07:32.508 Info: Core file size now is "18446744073709551615".
07/05/23 00:25:33.550 Starting Homegear Management...
07/05/23 00:25:33.553 Info: Setting allowed core file size to "18446744073709551615" for user with id 0 and group with id 0.
07/05/23 00:25:33.554 Info: Core file size now is "18446744073709551615".
07/04/23 19:53:33.791 Determining maximum thread count...
07/04/23 21:07:27.521 Starting Homegear...
07/04/23 21:07:27.522 Homegear version: 0.7.51-3497
07/04/23 21:07:27.522 Determining maximum thread count...
07/05/23 00:25:28.595 Starting Homegear...
07/05/23 00:25:28.596 Homegear version: 0.7.51-3497
07/05/23 00:25:28.596 Determining maximum thread count...
07/05/23 00:27:20.916 Starting Homegear...
07/05/23 00:27:20.916 Homegear version: 0.7.51-3497
07/05/23 00:27:20.916 Determining maximum thread count...
07/05/23 00:27:25.913 Service disabled in influxdb.conf. Exiting.
07/05/23 00:27:25.916 Starting Homegear Management...
07/05/23 00:27:25.918 Info: Setting allowed core file size to "18446744073709551615" for user with id 0 and group with id 0.
07/05/23 00:27:25.918 Info: Core file size now is "18446744073709551615".

HI, I have the same issue. Also it takes a really long time to start and so the conenction to the HA always need to reset with a new start of the complete HA service.
Any suggestions on this issue?
Thanks


what's role of the"template: ''" in new Vue({})

new Vue({   el: '#app',   router,   template: '<App/>',   components: { App } })
I can use  <app/>,<app>,<app>123<app/>,instead and run successefully, but why it must"app",if I use "<abb/>" will be fault

because the component is called 'app': components: { App }


arm32v7 not supported on 2.9

Describe the bug
When deploying OPC Publisher with the newest versions 2.9 and the previews of 2.9.4 to an arm32v7 device (for me raspberry pi) I get the error "exec /usr/bin/dotnet: exec format error"
To Reproduce
Steps to reproduce the behavior:

Deploy OPC Publisher to arm32v7 device
The logs of OPC Publisher

Expected behavior
As I understood the OPC Publisher Images should be multi arch and therefor we should be able to use the tags 2.9 or 2.9.4
Desktop (please complete the following information):

OS: Debian arm32v7

Please could you try with 2.9.8 release and let me know if the issue is fixed?

Please reopen if the issue is not fixed in 2.9.8


The Merge: Support fee recipient for validator accounts

As soon as the merge hits, validators will be able to specify a fee recipient in their consensus client.
This is possible for either the whole node or specific keys.
To support this fee recipient function we need:

[x] #505
[x] #506
[ ] #508

#571 Beacon Chain API Call for "Block Fee Recipient"

With #1264 @NeoPlays added the necessary backend for this. I would propose the following button - taking the middle spot for button on the key

For the input we reuse what @MaxTheGeeek made for "Validator Naming",
changing the input to only take Ethereum Addresses
Slightly changing the color:
HEX COLOR #4D56CB
& using this icon to represent it:

Bc Max is kind of overloaded I would propose @mabasian to do this, but please ask him about the Validator Naming component and just reuse most of it 👍


Replace bcrypt hashing with argon2 for improved performance

Hi nielsfaber! I made this change because the bcrypt hash function was too slow, and with several users and codes on my installation, I observed delays of 5-10s to verify the pincode/password.

Hi @mrpriv4te, thanks for the PR.
I am not an expert on hashing methods so if you found a better alternative it's good to me.
I must say I'm surprised with the high delay you are experiencing, I believe Alarmo uses a similar implementation as HA.
One thing holding me back from merging this:
Alarmo stores the hashed passwords, so users have now bcrypt-ed hashes in their configuration.
I assume these are not compatible with your modified code, so users will need to reset their password before it would work.
I think we should make a backwards-compatible implementation, for example by detecting the pattern of the stored hash and using bcrypt if so.
What are your thoughts about this?

After further testing, I realized that the time saving was not significant, so I opted for sha256, which is faster.

I must say I'm surprised with the high delay you are experiencing, I believe Alarmo uses a similar implementation as HA.

If you want to reproduce the latency, add several users (12 in my case) to Alarmo and try arming or disarming with the code of the last user created.

I think we should make a backwards-compatible implementation, for example by detecting the pattern of the stored hash and using bcrypt if so.
What are your thoughts about this?

I totally agree with you, and now it's done.

@mrpriv4te please don't just use plain SHA256 without salting because a password will be much easier to reverse from known hashes or by using a rainbow table.
The original bcrypt.hashpw method used a randomly generated salt and ran 2^12=4096 rounds of hashing, which is pretty standard and secure. We should come up with a better solution that doesn't compromise security.

@mrpriv4te please don't just use plain SHA256 without salting because a password will be much easier to reverse from known hashes or by using a rainbow table.
The original bcrypt.hashpw method used a randomly generated salt and ran 2^12=4096 rounds of hashing, which is pretty standard and secure. We should come up with a better solution that doesn't compromise security.

Hi @marazmarci, thanks for your feedback !
I've now added salting to the password hash, and I've replaced sha256 with blake3, which is not vulnerable to length extension attack.

@mrpriv4te Following the discussion I'm not confident we should change the current password encryption.
I don't have the knowledge to evaluate the impact of your proposed change so I rather keep the same method as used by HA.
I also think there is not much benefit to this change for other users.
You said you created 12 different pin codes, which I don't expect many other users will have.
In addition the computation time can also be related to the hardware you are using for running HA.
If you still want to see this PR merged, I would like this change to be reviewed by multiple people who have experience with encryption methods.

Hi @nielsfaber, I totally understand, I'll use my fork on my side.


fix systemctl error

when we enable centosconsole/fedoraconsole, the systemctl command
will broken, because the reboot/shutdown/halt/poweroff in the console
are linked to systemctl.
[root@815a9b2ebc81 /]# ls -l /sbin/poweroff  /sbin/shutdown /sbin/reboot /sbin/halt
lrwxrwxrwx 1 root root 16 Feb 15 23:08 /sbin/halt -> ../bin/systemctl
lrwxrwxrwx 1 root root 16 Feb 15 23:08 /sbin/poweroff -> ../bin/systemctl
lrwxrwxrwx 1 root root 16 Feb 15 23:08 /sbin/reboot -> ../bin/systemctl
lrwxrwxrwx 1 root root 16 Feb 15 23:08 /sbin/shutdown -> ../bin/systemctl
we run console os with the following:
-v /home/wanglong/os/bin/ros:/sbin/reboot:ro
the systemctl command will be replace with ros command.
So delete these soft links when we create the console os images.
Signed-off-by: Wang Long<EMAIL_ADDRESS>

@joshwget We need to delete following in the consoles
/sbin/poweroff
/sbin/shutdown
/sbin/reboot
/sbin/halt

We should probably just do this in ubuntu/debian too for consistency.  Just a little bit of background.  If you have a symlink foo -> bar in a container and then bind mount something to foo, docker will resolve foo to bar and then overwrite bar.  This is how @datawolf is loosing systemd.  The same thing happens on my laptop where I run an Ubuntu 15.10 based console.


Create CoinChangeDP.py

Coin Change dynamic programming problem written in python3

Hey @gupta-niharika !
Thank you for contributing to this repo.
Can you please add a folder with the name of the question or concept, and create a small README.md, explaining the question or concept? You can add your solution file in that folder itself.
Follow this example to see how to add files to this repo.

Hey @gupta-niharika !
Are you attempting to fix the files? If not, I need to close this pull request.

hi, sorry for the delay. fixing it.


why dont i get the option for 0.5.0  when running "yo meanjs" ?

The generator hasn't been updated since we released 0.5.0.
Feel free to open a new issue, and/or a PR to resolve this at https://github.com/meanjs/generator-meanjs

done


Create test123.js

Description

A clear and concise summary of the change and which issue (if any) it fixes. Should also include relevant motivation and context.
Resolved or fixed issue:
Affirmation

[ ] My code follows the CONTRIBUTING.md guidelines

CVE-2022-45425


Create/Update User don't offer Non-Clubs

Don't show Non-Clubs when creating or updating users

Fixed!


High latency buffering of audio before playback

Issue description
It takes the AudioPlayer around 800-900ms to fully buffer before finally playing in a voice channel. This is up from <100ms from older versions of Discord.js, using the dispatcher.
I have used tweetnacl and libsodium-wrappers, I have created AudioResources from both local files and remote, latency has not improved.
Steps to reproduce:

Use new Date() immediately after a connection to a voice channel, and again on('stateChange') from buffering to playing. Note the difference is ~900ms.

Code sample
const connection = joinVoiceChannel({
    channelId: channel.id,
    guildId: channel.guild.id,
    adapterCreator: channel.guild.voiceAdapterCreator
});

const player = createAudioPlayer();
const resource = createAudioResource(path.join(__dirname, '../../130876312133959680.mp3'));

player.play(resource);
connection.subscribe(player);

player.on('stateChange', (oldState, newState) => {
  if (oldState.status === 'playing' && newState.status === 'idle') {
    connection.disconnect();
  }
});

@discordjs/voice version
0.7.5
Node.js version
v16.13.0
Operating system
Windows
Priority this issue should have
Low (slightly annoying)

This bug also often results in the first 800ms or so of audio not being played. My workaround is setting the audio resource volume to inline and adjusting it when I want it to mute or not


Fix initializing self.thread_data.alerts_sent for running elastalert-test-rule

Fix for #2634 AttributeError: '_thread._local' object has no attribute 'alerts_sent'
This initializing seems to be lost at this commit.
https://github.com/Yelp/elastalert/commit/df481d045c7c0efb9a46c268556ac6300564c19d#diff-de8c5a47817fa23d1afa305e6d3c3e8ee717e7236c4278a57df4ab30d4ecddcaL143-R158

Merged into elastalert2.
https://github.com/jertel/elastalert2/pull/9


Could not find NMAKE using the following names: nmake

Installing openssl using vcpkg and the Windows.MSVC.toolchain.cmake I get the following error message:
CMake Error at scripts/cmake/vcpkg_build_nmake.cmake:43 (find_program):
Could not find NMAKE using the following names: nmake
cmake looks in:
CMake Debug Log at scripts/cmake/vcpkg_build_nmake.cmake:43 (find_program):
find_program called with the following settings:
VAR: NMAKE
NAMES: "nmake"
Documentation: Path to a program.
Framework
  Only Search Frameworks: 0
  Search Frameworks Last: 0
  Search Frameworks First: 0
AppBundle
  Only Search AppBundle: 0
  Search AppBundle Last: 0
  Search AppBundle First: 0
CMAKE_FIND_USE_CMAKE_PATH: 1
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
CMAKE_FIND_USE_INSTALL_PREFIX: 1

find_program considered the following locations:
C:/Program Files/PowerShell/7/nmake.com
C:/Program Files/PowerShell/7/nmake.exe
C:/Program Files/PowerShell/7/nmake
C:/Windows/System32/nmake.com
C:/Windows/System32/nmake.exe
C:/Windows/System32/nmake
C:/Windows/nmake.com
C:/Windows/nmake.exe
C:/Windows/nmake
C:/Windows/System32/wbem/nmake.com
C:/Windows/System32/wbem/nmake.exe
C:/Windows/System32/wbem/nmake
C:/Windows/System32/WindowsPowerShell/v1.0/nmake.com
C:/Windows/System32/WindowsPowerShell/v1.0/nmake.exe
C:/Windows/System32/WindowsPowerShell/v1.0/nmake
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/perl/<IP_ADDRESS>/perl/bin/nmake.com
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/perl/<IP_ADDRESS>/perl/bin/nmake.exe
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/perl/<IP_ADDRESS>/perl/bin/nmake
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/ninja/1.10.2-windows/nmake.com
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/ninja/1.10.2-windows/nmake.exe
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/ninja/1.10.2-windows/nmake
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/nasm/nasm-2.16.01/nmake.com
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/nasm/nasm-2.16.01/nmake.exe
C:/Users/A879833/AppData/Local/vcpkg/downloads/tools/nasm/nasm-2.16.01/nmake

The item was not found.
The right version is in:
"C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/"
which is equivalent to
"${VS_TOOLSET_PATH}/bin/Host${CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE}/${CMAKE_VS_PLATFORM_TOOLSET_ARCHITECTURE}/"
is it possible to export e.g. CMAKE_PROGRAM_PATH from the toolchain, so the right version of nmake can be found?

It's not clear to me what the 'right thing' to do is: should a toolchain update CMAKE_PROGRAM_PATH, or should it just have documented properties it sets, to allow consumers to update CMAKE_PROGRAM_PATH if they want to..? #99 would benefit from a documented path to VS.

For programs that are always at a fixed location, it makes sense to me to let the user set CMAKE_PROGRAM_PATH. However, in the case of nmake, the path changes depending on the compiler that is used, which is set by the toolchain.

This transmission is confidential and must not be used or disclosed by anyone other than the intended recipient. Neither Tata Steel Europe Limited nor any of its subsidiaries can accept any responsibility for any use or misuse of the transmission by anyone.
For address and company registration details of certain entities within the Tata Steel Europe group of companies, please visit https://www.tatasteeleurope.com/en/legal-notice/entities

Sensitivity: general

Fixed with #119.


🐛 Attempt to invoke interface method 'void com.bleplx.adapter.BleAdapter.stopDeviceScan()' on a null object reference

Prerequisites

[X] I checked the documentation and FAQ without finding a solution
[X] I checked to make sure that this issue has not already been filed

Expected Behavior
The app not to crash and start device scan to be called successfully
Current Behavior
The app is crashig with above error. We havent seen it a lot and we have yet to reproduce on our own. Didn't happen on the v2.x
Library version
3.1.2-rc.0
Device
Galaxy Tab A8,Galaxy S20 FE 5G,Galaxy Tab S6 Lite,Lenovo Tab P11 (2nd Gen),Galaxy Tab A (2016)
Environment info
hermesEnabled:true
react native: "0.72.6"

Steps to reproduce
we have not yet reproduced on our side
Formatted code sample or link to a repository
class BleDeviceLocator {
    private bleManager: BleManager;

    constructor() {
        this.bleManager = new BleManager();
    }

    public startBluetoothScanning(): void {
        this.bleManager.startDeviceScan(null, null, (error: BleError | null, device: BlePlxDevice | null) => {
            .
            .
            .
        });
    }
}

Relevant log output
Fatal Exception: java.lang.NullPointerException
Attempt to invoke interface method 'void com.bleplx.adapter.BleAdapter.stopDeviceScan()' on a null object reference
com.bleplx.BlePlxModule.stopDeviceScan (BlePlxModule.java:222)
java.lang.reflect.Method.invoke (Method.java)
com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188)
com.facebook.jni.NativeRunnable.run (NativeRunnable.java)
android.os.Handler.handleCallback (Handler.java:790)
android.os.Handler.dispatchMessage (Handler.java:99)
com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
android.os.Looper.loop (Looper.java:164)
com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228)
java.lang.Thread.run (Thread.java:764)

Additional information
No response

Same, and I can add that everything works in dev mode, but when i do gradlew assembleRelease, install apk and open the app it crashes with this error.

I'm having trouble reproducing this 😞
I created a sample project:
https://github.com/dominik-czupryna-withintent/ble-plx-issues-1144-1142-1141
with as mentioned above:
    "react-native": "0.72.6",
    "react-native-ble-plx": "^3.1.2-rc.0",

I generated a release app
https://github.com/dominik-czupryna-withintent/ble-plx-issues-1144-1142-1141/blob/main/app-release.apk
And tested it
https://github.com/dominik-czupryna-withintent/ble-plx-issues-1144-1142-1141/blob/main/Screenrecorder-2023-11-24-13-52-39-436.mp4
The only option in which I can trigger the error mentioned was when I destroyed the Manager instance, but this should not be done as long as it is in use.
Can you show me how to reproduce these errors in the above project?

Get the same (NullPointerException) but for BleAdapter.getCurrentState(). Only in prelaunch report. Cannot reproduce on local simulator even if device/SDK are the same as reported from Google
Happened on two devices on google test. Pixel 2(SDK31) and Small Desktop (SDK 32)

Im getting the same error on a Xiaomi Redmi Note 12 Pro+ (Android 13) when i install the generated APK. On the expo dev server and on Android 14 devices everything seems to works.
I created a new issue with my code sample, maybe this helps to reproduce the error: https://github.com/dotintent/react-native-ble-plx/issues/1159

I'm also getting this error on a OnePlus 6T (Android version 11, OxygenOS <IP_ADDRESS>). Hope someone can find the cause!

Hello, we have this same on "BleAdapter.getCurrentState()" as well. I think quick fix would be wrap some try catch there on Java-code so it would not crash the app. This seems to be related somehow if the manager is newly created or being destroyed. This is maybe only hunch.

Adding to the crowd that gets the error with BleAdapter.getCurrentState(). Only shows in prelaunch report, works perfectly on test devices.

Adding to the crowd that gets the error with BleAdapter.getCurrentState(). Only shows in prelaunch report, works perfectly on test devices.

I avoided this error by checking if device is physical. If not (BLE does not work on simulator anyway) I set app to not try to use BLE at all. Then the prelaunch tests passed without crashes

We are seeing the same issue. We have identified that it is caused by the createClient-function (BlePlxModule.java) not instantiating the bleAdapter. That is caused by getCurrentActivity-function returning null sometimes.
In our case it was caused by the another react native library which responded to push notification. When it activated our application, the Activity is not the main activity of our react-native application.
There are at least couple of problems with react-native-ble-plx-library:

It doesn't actually handle the case where getCurrentActivity returns null. It just leaves the module in an inconsistent state that causes Java side to crash at some point later.
It takes a long lived reference to the value returned by getCurrentActivity-function, even though  at the react-native source code it says: DO NOT HOLD LONG-LIVED REFERENCES TO THE OBJECT RETURNED BY THIS METHOD, AS THIS WILL CAUSE MEMORY LEAKS.

I got the same error like @jaittoka
05-03 18:00:57.587  5033  5061 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules 05-03 18:00:57.587  5033  5061 E AndroidRuntime: Process: de.ira.app, PID: 5033 05-03 18:00:57.587  5033  5061 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String com.bleplx.adapter.BleAdapter.getCurrentState()' on a null object reference 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at com.bleplx.BlePlxModule.state(BlePlxModule.java:178) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:146) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at com.facebook.jni.NativeRunnable.run(Native Method) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:958) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:205) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:294) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:233) 05-03 18:00:57.587  5033  5061 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:1012)
Seems that my app crashes when adding the subscription for manager.onStateChange. It happens only in release mode - and not always. There are users devices on which the app crashes every time (Samsung SM-A515F) and some (many) other devices where the app crashes just sometimes - but every time on startup.
In simulator I can reproduce a crash - but also not every time. I have to install and delete the release build until it crashes (needs 3-5x uninstall and install). Sometimes it crashes only once, sometimes it crashes 2-3 times on app start. But when the app startet one time correctly it never crashes again.
@dominik-czupryna-withintent maybe it is a solution to fix the problems @jaittoka mentioned if you cant reproduce?

Hi everyone
The issue with the NullPointerException was related to calling a method on non-existent objects. This has been resolved in version 3.2.0.

I’m closing the issue, in case of anyone with similar error please upgrade to at least 3.2.0 version


Compile error on couldn't find gunit.h

What's a gunit.h which is included in tensorflow/stream_executor/cuda/cudnn_version_test.cc? Since I can't find a gunit.h in tensorflow folder nor in the system
System OS: Windows 10.0.16299.334

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Have I written custom code : N/A
OS Platform and Distribution: Windows 10
TensorFlow installed from: VS compilation
TensorFlow version: TAG e489b60
Bazel version: N/A
CUDA/cuDNN version : v9.0
GPU model and memory: TITAN X
Exact command to reproduce: Counldn't find gunit.h

Nagging Assignee @rohan100jain: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


https://www.ampproject.org/ NET::ERR_CERT_COMMON_NAME_INVALID

I guess this is the right place to report.
ampproject.org serves certificate issued for firebaseapp.com

This has been resolved, redirected to amp.dev now


Update sys-sql-modules-transact-sql.md - Unnecessary object_name invocation

Peers:-
It is preferable to directly use the object name from sys.objects rather than to invoke object_name function.
The reasons include:-

Metadata locks during object creation
The existence of sys.objects in the query, as is

Also, added sys.schemas so that we can include the schema name, as well.

@DanielAdeniji : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@WilliamDAssafMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks @DanielAdeniji for submitting this PR! I have added a commit to support your updates to the sample query and refresh other style things in the article. Your commit will be merged and this article update is in flight. After the updated article is published, GitHub will list you as an article contributor.
Thanks again for this feedback, your suggestions help improve our documentation.
#sign-off


Typescript: Add React.Component to SideNavigationItem label type

[DISCUSSION]
As I use the SideNavigation, I want to put in each of the SideNavigationItem a custom Component used to handle translation in my app (similar to react-intl). It has to be a component because it's a consumer of a provider, providing the translations for the app.
An so I open this issue to discuss the idea to add React.Component as an additonnal type on the label of a SideNavigationItem. All of this is only to avoid putting a //@ts-ignore but may be usefull for other people.
It may also be worth keeping in mind that kind of thing for other components with labels or when restricting the way to use a component.
https://github.com/lumapps/design-system/blob/master/packages/lumx-react/src/components/side-navigation/SideNavigationItem.tsx

You can do a PR if you want. But use the type ReactNode, it contains string and JSX elements

See https://github.com/lumapps/design-system/pull/345


Blank file name allowed for input

Running ssg -i without any file name argument will create the dist directory without any files in it. Maybe it should display an error message instead?

Added an error message when there is no file or directory path included.  No directory is created or deleted.


Making the mesh-wide default retry policy configurable

Hi everyone, I think this is a long-lived topic but I bring it back again.
Is there any plan to make the default retry policy configurable across the mesh? I don’t get why we should have a hardcoded configuration for it that affects any Kubernetes service reached by any Istio sidecar. It breaks the boundaries between Istio workloads and non-Istio workloads by forcing to setup a VirtualService with specific retry policy to configure the non-Istio managed Kubernetes service.
In the case you have 5% services using Istio (which forcibly happen in the start of the adoption), it is hard to argue having to create VirtualServices for the remaining 95%. (several hundreds)
We are considering to patch Istio to change the hardcoded value/make it configurable and run our own build to solve this but this is definitely not a happy outcome.
Few questions:

Would you consider upstreaming that patch?
Would you consider making the change by yourself and make it upstream?
Is there any other possible way to avoid going that way?

I really enjoy using Istio and the community but this kind of forced submission to opinionated choices without a way to opt-out is saddening. Anyway, thank you very much for all the awesome support over the years :bow:

👍

cc @louiscryan - pertains to the topic we discussed earlier.

So there are a few ways to solve this.. Matter of fact, in our internal implementation at my company, we have an API explicitly meant for this purpose (one that allows setting the resilience settings [timeout, retry, outlier, etc.] at client-namespace level, such that it applies to all sidecars in that namespace, irrespective of the destination of that client. My preference would be to have a similar API in Istio, one that allows user to specify the resilience settings at the client namespace level, so that the settings in virtual services act as merely overrides (I wager that most would stop using the per virtual service settings).
Whether that API will be a separate CRD or will be part of the existing Sidecar CRD is a matter of debate. If its part of sidecar CRD, then it will result in some onerous copy-paste of global/namespace wide values as users customize the Sidecar per namespace/ per workload. If its a separate CRD, then it can apply independent of the presence of Sidecar or their overrides, but it will be yet another crd, with similar workload style semantics (global in config root namespace, namespace wide, per workload). What are your thoughts @lainra ?

@rshriram we should look at fixing this. It has come up a few times now and I know we sometimes point people to use EnvoyFilter which has its own issues.

@rshriram Thanks for the quick reply, really appreciate it!
The quick patch we're thinking of is to:

change the hardcoded value to our fitting default (very opinionated, not for other users)
add a MeshConfig setting for each parameter from HTTPRetry

The first is hardly portable so it would be our workaround until having a proper solution merged upstream.
The second is more portable but may conflict with the intended purpose of MeshConfig and what kind of configuration/how much configuration we need to add there.
The primary purpose is to counteract the hardcoded and non-changeable parameters (now only know about Default Retry Policy) but it could be expanded to other parameters if they exist and fit both statements. It would still open a path to get more and more settings into MeshConfig, which is probably not something the maintainers are happy to go with?
Having an external way as you mentioned to modify resilience settings based on the same model of Sidecar CRD with the same workload style semantics looks like a good idea.
I'd like to give pros and cons for each option:
1. Within same Sidecar CRD
Pros:

Reuse existing CRD, limiting the cost of handling one more interface to configure the mesh
Sidecar already has the purpose to define configuration based on location semantics

Cons:

The Sidecar CRD gets overloaded if we add all resilience settings there
Need to clarify the Sidecar resource for users on what it is used for when we add new configuration, as even the current resource is quite confusing by its name and configuration for users

2. Within a new CRD
Pros:

Most flexible way to implement a new interface

Cons:

Adding one more CRD will make an already complicated process even more
For a given sidecar configuration, some parameters will be set in Sidecar while others will be set in the new CRD, leading to more risks of getting things wrong and worse user experience. It may defeat the purpose of a new CRD.
Need to handle the CRD lifecycle (release process, versioning...)

@nrjpoddar Thanks for the follow-up, I didn't think about using EnvoyFilter but as you said, it brings its own issues and hard to justify adding one more filter to offset a default. The less filters we have by default the better, for various reasons, especially in environments that don't support them (i.e. Anthos Service Mesh).
Nonetheless, it would be great if could you elaborate more on how you would do that.
Would it be setting the retry policy in the EnvoyFilter as overriding the default sidecar configuration? In this case, how would it identify things to override (default retry policy) and not to override (explicit retry policy)?

Very related design doc: https://docs.google.com/document/d/1hY-ShGY6sgwWUw0NGLvsDWXWm3wNLvhM4HHuRjFzRT0

EnvoyFilter is not a filter. its a crd that modifies the generated xds config. And the reason for suggesting separate crd was so that gateways and sidecars will be equally configured using this. give me sometime and i can dump the envoyfilter crd we use for our purposes

We have a bunch of issues around defaults, lets consolidate into https://github.com/istio/istio/issues/6861 to clean things up. Please also see https://docs.google.com/document/d/1hY-ShGY6sgwWUw0NGLvsDWXWm3wNLvhM4HHuRjFzRT0/ which is a design doc for this being actively worked on.


Column selection ignored when using accessible_by

Steps to reproduce

Create a model
Define an ability with any :read configuration for that model
Perform a query with a select() to specify the columns

Effectively, and I think that's the import part, there's just no way to limit the columns that cancancan selects. It always selects all columns for all tables.
Expected behavior
The generated query should only contain the columns that are part of the select and needed for the ability.
Actual behavior
The generated query contains all columns for the model. As you can see from the output below, my column selection is included in the query first, but followed by every single column of the model. For a huge model this has quite a big impact on the system.
> MyModel.select('mycolumn').all
MyModel Load (0.4ms)  SELECT  "my_models"."mycolumn" FROM "my_models"

> MyModel.select('mycolumn').accessible_by(ability).all
MyModel Load (1.5ms)  SELECT "my_models"."mycolumn", "my_models"."first_column" as t0_r0, "my_models"."second_column" as t0_r1 (clipped)

System configuration
Rails version:
5.2.0
Ruby version:
2.5.1
CanCanCan version
2.2.0

This problem has been discussed also here and it should be fixed in 3.0.0

This issue should be addressed completely in 3.1.0. Please feel free to re-open otherwise.


Fix support for creating Hive external tables using CTAS

Bug fix for issue https://github.com/prestosql/presto/issues/1089
The original change @findepi and I put in a few months ago removed the error but external tables were not properly respecting the external location property.
Original change: https://github.com/prestosql/presto/pull/2669

@alexjo2144 can you add a test to HiveSmokeTest too?

@alexjo2144 can you add a test to HiveSmokeTest too?

TestHiveIntegrationSmokeTest doesn't have the property enabled to write into external tables, so it asserts that CTAS isn't allowed https://github.com/prestosql/presto/blob/master/presto-hive/src/test/java/io/prestosql/plugin/hive/TestHiveIntegrationSmokeTest.java#L3327
We could put another test there with a custom query runner, but I thought I remembered not doing that on purpose last time we worked on this.

@alexjo2144
right. I somewhat remember... but we need a test for this (as it's apparent now).
So -- let's have a new class, with hive query runner unlocking ctas.

We have the TestHiveCreateExternalTable class last time with those properties. I updated that test to actually assert that the file is created in the right place using a select $path query.
Is there more you're thinking we need to test than what's in that update?

Updates addressed, but looks like the build is failing for the same reasons as master.

Merged, thanks!


Don't remove patch lines from spec in testbuild

Without this patch, the testbuild CI job may fail the obs validators if
the package has patches to apply[1]. This causes the testbuild job to
fail and hence the mkcloud job to never start. This patch keeps the
patch directives in the spec file so they can be applied and the
validators can pass.
[1] https://ci.suse.de/job/cloud-crowbar-testbuild-pr/4500/console

I'm not clear on why this seems to only happen on the stable/3.0 branch - there's a passing master build here: https://ci.suse.de/job/cloud-crowbar-testbuild-pr/4471/console, but it seems like that's not running the obs validators at all. I'm also not clear on why this is starting now. I see that this sed line was copied over from the original python script so I don't know why it would be broken now. Maybe @jdsn can shed some light?

There is a schema which patches will be removed and which ones not. For example sometimes we add PR-patches to the packages but we don't want them in the testbuilds.
Patches that are from upstream should be numbered < 40
40 to 49 is reserved for branding patches

= 50 is reserved for non-upstreamable patches

@rsalevsky it's removing patch1 which is the suse-branding.patch.
It seems like no matter which patch is removed it will fail the validator if the validator is run: https://github.com/openSUSE/obs-service-source_validator/blob/master/30-patches-applied

@cmurphy then the first fix would be to move suse-branding.patch to patch number in the range of 40-49.
the source validator is a check that is set by project, so I'm not surprised there is behavioral difference.  the issue here is that crowbar-testbuild was rewritten into ruby and that broke it. we're missing the --noverify --noservice options from
https://github.com/SUSE-Cloud/automation/pull/1996/files#diff-4d7448aef4e4ac6861196a224c81faf2L177
there are probably other issues with the whole rewrite but I don't want to start on that here.


[Distroless] Enable Distroless Java SDK based container images

Summary
Add distroless variants to existing Java SDK container images:

beam-sdk/beam_java17_sdk
beam-sdk/beam_java21_sdk

Description
The Publish Beam SDK Snapshots, and build_release_candidate GitHub workflows build and publish Beam container images using docker. The distroless base images by design lack tools assumed to exist in Java Dockerfiles such as file system tools. In order to reuse the existing Dockerfile to add a distroless variant, we need to employ a multi-stage build approach.
Blockers

[x] #32819
[x] #32820

Measures of Done

[x] Add Java SDK Dockerfile distroless variants (PR: #33173)
[x] #33226
[ ] #32899
[ ] #33201

How's the status here? I would love to cherry-pick changes if they are not risky, in order to offer users an option to get fewer vuln scanner results.


ubuntu 18.04 使用报错

Bug Report
Please answer these questions before submitting your issue. Thanks!

What did you do?

sudo bin/pairmesh -k <secrety-key>

What did you expect to see?
success

What did you see instead?

/opt/pairmesh/pairmesh: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /opt/pairmesh/pairmesh)
/opt/pairmesh/pairmesh: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /opt/pairmesh/pairmesh)
ubuntu@VM-0-3-ubuntu /o/pairmesh> lsb_release

What version of PairMesh are you using (PairMesh --version)?
v0.0.1 release

Sure. we are aware that ubuntu 18.04 comes with glibc 2.27.
So how did you get the pairmesh binary? Downloading from our release, or making your own local build in your 18.04 machine?

Downloading from release

Oh that makes sense. The current release was build with glibc 2.35.
I'll try making another build using 18.04 and update it in the release. I'll let you know.

Tarball updated in the release. Please try it out.

https://github.com/pairmesh/pairmesh/releases/download/v0.0.1/pairmesh-v0.0.1-ubuntu-18.04-amd64.tar.gz

ubuntu@120-182 ~> sudo ./pairmesh -t pmkey-a4647a7837014d8bb086ba5e861*****
ubuntu@120-182 ~> ps -ef | grep pair
ubuntu   21068 20503  0 19:28 pts/0    00:00:00 grep --color=auto pair
ubuntu@120-182 ~>

可以启动，但是无法正常运行，在网站的dashboard上也未注册上

That's weird.
我是用的VMware的18.04环境做的build，在机器里边启动之后log应该是
2022-03-22T14:14:45.817-0700	INFO	Load configuration finished	{<whole bunch of config>}
2022-03-22T14:14:46.716-0700	INFO	Save the latest configuration	{<whole bunch of config>}
2022-03-22T14:14:46.717-0700	INFO	Exchange auth key finished
2022-03-22T14:14:47.064-0700	INFO	Preflight request successful
2022-03-22T14:14:47.102-0700	INFO	Set virtual device address finished	{"address": "<IP_ADDRESS>"}
2022-03-22T14:14:47.102-0700	INFO	Driver preflight finished
2022-03-22T14:14:47.105-0700	INFO	Driver initialized successfully
2022-03-22T14:14:47.106-0700	INFO	All background threads running
2022-03-22T14:14:52.237-0700	INFO	ExternalAddressChanged	{"address": "<IP_ADDRESS>:65071"}
2022-03-22T14:14:52.237-0700	INFO	Local endpoints changed	{"endpoints": ["<IP_ADDRESS>:49489", "<IP_ADDRESS>:65071"]}
2022-03-22T14:15:27.372-0700	INFO	ExternalAddressChanged	{"address": "<IP_ADDRESS>:51319"}
...

我们会继续研究这个问题，但是在你的机器上没有任何log打印，我们也挺难复现的。要不要与此同时你试试看在本地checkout代码，然后compile一份出来，看看能不能启动？


WebPage Problems

please see here
I think, this issues would't be read nor answered so often or is it better to write Web-Problems here in this issues?

@Pedritoprint Sorry, I don't understand your question.
Problems related to the website (either on the Pi or not) should be reported in the allsky-website repository, not this one, so the fix can be associated to the Issue.
I realize not everyone understands that or knows where the problem is, but you were correct in creating the Issue in the other location.
I monitor all 3 repositories.
Assuming this comment is related to the allsky-website Issue, would you please close this Issue since it's a duplicate?

Thanks EricClaeys for your answer. I only saw in the WebPage issues, that there are some issues not answered, one since 3 days. So i asked here, because i feel, that this Issues are frequently visited. No Problem, i close this question and thanks.


Fix Minesweeper score and time wrapping

The numbers are stacking though there's enough horizontal space for them. Switching to a flex container keeps them on the same row.
https://github.com/ShizukuIchi/winXP/assets/6905903/66340dbe-345a-470d-ab15-3d59b35ecbc6

@ShizukuIchi I appreciate this is unlikely a priority for you, but do you mind taking a quick look to close this out? 🙏


HMC on product distributions

For many hybrid models it is useful to be able to Sample from Products and Sums of Random Variables, such as:
`
@model product(z) = begin
    a ~ Normal(2.0,0.1)

    b ~ LogNormal(2.0,0.5)

    c ~ a*b

return c

`
As far as I can see there is no way in Turing for sampling c or for conditioning on c, as the sample() routine only returns values for a and b.
Is there a way to do this in Turing, or are there plans on implementing this?

I think this is possible by implementing a customised distribution, i.e. prod(x) = Normal(x) * LogNormal(x), then define the model as

@model product(z) = begin
    c ~ prod()
end

See https://turing.ml/docs/advanced/ for an example on defining new distributions for Turing.

To elaborate on @yebai's approach, you can do:
struct Delta{T} <: ContinuousUnivariateDistribution
    v::T
end
Distributions.rand(d::Delta) = d.v
Distributions.logpdf(d::Delta, x::T) where {T <: Real} = x == d.v ? zero(T) : T(-Inf)

@model product(c, a_dist, b_dist) = begin
    a ~ a_dist
    b ~ b_dist
    c ~ Delta(a*b)
end
c_dist = product(a_dist = Normal(2.0, 0.1), b_dist = LogNormal(2.0, 0.5))

# Samples from c
c_dist()

Thanks for the replies!
But shouldn't one of the advantages of HMC be that one can use autodifferentiation over the product operations that are applied to the samples to build a gradient, to circumvent the sampling problems that come with a delta measure?

Unless you mean something like this?
@model test(data) = begin
    a ~ Normal(2.0,0.1)
    b ~ LogNormal(2.0,0.5)
    c = a * b
    data ~ Normal(c, 1)
end


Add Solidity syntax highlight

Update .gitattributes to enable Solidity syntax highlight on GitHub.

If I am not mistaken, Github is already highlighting it.

If I am not mistaken, Github is already highlighting it.


Update to newest fcm API endpoints

Done to match latest Server endpoint changes, discussed in https://developers.google.com/cloud-messaging/android/android-migrate-fcm#update_server_endpoints

@googlebot ping

Wouldn't it be better to be able to pass a user defined url to the Sender() constructor ?

See #168


Column CSS (Frontend)

Description
proposing for the frontend that we limit to 4 columns. Column form can come post-mvp.
Current Behavior (for bugs)
[Describe what is currently happening or the problem you're facing]
Expected Behavior (for bugs)
[Describe what you expected to happen]
Proposed Solution (for features)
[Describe your proposed solution or implementation for the feature]
Additional Context (optional)
[Add any additional information or context about the issue or feature]
Tasks (optional)

[ ] Task 1
[ ] Task 2

Related Issues or PRs (optional)
[If there are any related issues or pull requests, link them here]

Some current issues with the column

[ ] Newly added task is not editable
[ ] Task counters do not currently work

Closed with #93


Change CI S3 URLs to dualstack

Proposed Changes
During switching from Google Buckets to AWS S3 Buckets, IPv6 support was removed, this restores it by adding dualstack versions of AWS S3 endpoints.
Types of Changes
Change CI S3 URLs to dualstack
Verification

Testing

Linked Issues

#6497

User-Facing Change

NONE

Further Comments

Thanks for the PR! Out of curiosity, are you consuming our CI artifacts for anything? We only really expect artifacts from GitHub Releases to be consumed by users; these are mostly for dev and QA validation.

Codecov Report
Base: 9.51% // Head: 9.51% // No change to project coverage :thumbsup:

Coverage data is based on head (d4e9a91) compared to base (2156015).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6995   +/-   ##
======================================
  Coverage    9.51%   9.51%
======================================
  Files         146     146
  Lines       10757   10757
======================================
  Hits         1024    1024
  Misses       9515    9515
  Partials      218     218

Flag
Coverage Δ

unittests
9.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

You are right, I confused to the URLs. I updated the PR to reflect it.


[CS2113T-W17-3]-shamussy-README

Added Readme, updated everyone's PPI, added prelimary UG and DG as well as MIT Licensing

Special thanks to @valerietyj for conceptualising the Ui from hand drawing to actual mockup


installation via npm fails with 1.7.2

The postinstall script throws an error
; npm install @jinntec/fore
npm ERR! code 1
npm ERR! path /Users/jll/customers/eeditiones/tuttle/node_modules/@jinntec/fore
npm ERR! command failed
npm ERR! command sh -c cd demo && npm i
npm ERR! sh: line 0: cd: demo: No such file or directory

I tried a couple of earlier versions. The first one I found to be installable was 1.5.0

fixed in 1.8.0


Fix eslint

@panzerstadt Maybe this issue too boring XD? There's another one of implementing commenting function.

Nono that gif is meant to say I’m excited to start contributing! XD
On Sun, Feb 12, 2023 at 22:20 Yanze Dai @.***> wrote:

@panzerstadt https://github.com/panzerstadt Maybe this issue too boring
XD? There's another one of implementing commenting function.
—
Reply to this email directly, view it on GitHub
https://github.com/Pitayan/gatsby-theme-pitayan/issues/21#issuecomment-1427031841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEN5KIHEF2UVJK4D7RH3XADWXDPSLANCNFSM5VKCXA4Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

hmm can you give me more context? i tried running:
To start local development
$ npm -w packages/www run develop
the www package doesn't seem to have any issues, or rather it doesn't have any code that needs linting.
the gateby-theme-pitayan refuses to build due to gatsby-config not being able to be exported as a function.

would appreciate some pointers on where to look! (as well as how to setup)

How was the npm i? Hope it was a clean installation with no errors. (Btw, need to use Node 18+)
And which directory were you at while executing the command of npm -w packages/www run develop?

ok played around with it more and realised i'm not supposed to run develop on the plugin itself (sidenote: if the scripts on packages/gatsby-theme-pitayan are not supposed to be run, perhaps we should remove them)

warn gatsby-plugin-react-helmet: Gatsby now has built-in support for modifying the document head. Learn more at https://gatsby.dev/gatsby-head
warn Plugin `@pitayan/gatsby-theme-pitayan` has customized the GraphQL type `Mdx`, which has already been defined by the plugin
`gatsby-plugin-mdx`. This could potentially cause conflicts.
warn There are conflicting field types in your data.
warn You can't use childImageSharp together with SiteLogo.svg — use publicURL instead. The childImageSharp portion of the query in this file
will return null: undefined

are these the eslint warnings that you're looking to fix?

Em... That means eslint is still working on your side? If so, I think we could close this ticket asap

i guess eslint is still working as expected.


How to use for graph level unsupervised clustering, not the node.

I have millions of graph data that cannot be labeled by human efforts. I need it to be classified by unsupervised technique, not semi and not the node level. Is it possible?

Hi! Thanks for reaching out.
If you'd like to cluster the data or find any similarity between data points, you can definitely use our method for doing so.
What do you mean by "graph level"? that each data point (sample) is a graph?

Thank you for your comment,
Graph-Level means that each data point (sample) is a graph, you are right. All that I've found the method for Graph Clustering is actually for node clustering.
Each of my graph data has 80 ~ 100 nodes and their edges. As I told you before, I have that graph data over milions and I want it to be classified by unsupervising method that doesn't need its own label to train. I want to be classified automatically by unsupervised learning model.
But, I couldn't find that model yet. That'ss why I contact you to find the solution.
Thank you.

Hi!
As long as you can find a good embedding for a graph, i.e., a function that will embed the graph into a euclidean space for instance, you can feed the model with those embeddings and it should be working.

Thank you for your comment,
Do you mean like the KMean algorithm can be used for it?

No.
The input to the networks is basically an embedding of the original data so that each input data point (in your case a graph) is represented as a vector.
If you will find a model/function/method that can take a graph and represent it as a vector, you will be able to use these graph representations as input to SpectralNet.


Fix search path for jupyter kernels on UNIX

For #3918

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] ~Appropriate comments and documentation strings in the code.~
[x] ~Has sufficient logging.~
[x] ~Has telemetry for enhancements.~
[ ] Unit tests & system/integration tests are added/updated.
[x] ~Test plan is updated as appropriate.~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed).~

@rchiodo I have some problems understanding the test suite and how I could add a test for this change, I am not even sure it is necessary... Could you please tell me if you want it and if so point me in the right direction?

I have tried to push a fix for the tests, which did not succeed because of my commit.
Please have a look to see if they're right, because as I said I don't understand very well how they work...

Tests look good to me.


Sometimes fish.give() returns air

Hi!
Sometimes fish.give() returns air
[16:47:25 ERROR]: Could not pass event PlayerFishEvent to EvenMoreFish v<IP_ADDRESS>
java.lang.IllegalArgumentException: Cannot drop air
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122) ~[patched_1.16.5.jar:git-Airplane-11]
at net.minecraft.server.v1_16_R3.EntityItem.setItemStack(EntityItem.java:501) ~[patched_1.16.5.jar:git-Airplane-11]
at org.bukkit.craftbukkit.v1_16_R3.entity.CraftItem.setItemStack(CraftItem.java:37) ~[patched_1.16.5.jar:git-Airplane-11]
at com.oheers.fish.fishing.FishingProcessor.process(FishingProcessor.java:119) ~[?:?]
at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:38) ~[patched_1.16.5.jar:git-Airplane-11]

It is indeed on the master branch.

This did not happen before competition rewrite, i guess something wrong with rarity rolling

I dont have fishes with air material

Oh I see, could you first ensure that this issue doesn't occurr in the latest version, and if it does please send your fish.yml & rarities.yml (if you would rather not post it publically, feel free to open a ticket in #private-support on the discord)


fix(compiler): Fix identifier comparison to be case insensitive

close #2745

@orisano Sorry about the test failures. Can you rebase from main? It should fix those failures.

How will with work with quoted identifiers? Identifiers are case-insensitive unless they aren't.

I thought that quoted identifiers are handled by the parser for each engine and the compiler doesn't need to be aware of them.

CREATE TABLE t(`C` TEXT);
SELECT c FROM t;

Is the expectation that this should not work?

It depends on the database engine. That query does not work for PostgreSQL.
#=> CREATE TABLE t("C" TEXT);
CREATE TABLE
#=> SELECT c FROM t;
ERROR:  column "c" does not exist
LINE 1: SELECT c FROM t;

OK, this PR does not seem to be correct, so I will make another PR.


Use user-settable device name.

By using a user-settable device name, it is possible to associate device logs
better with physical devices. The problem previously was especially in cases
where a test was run simultaneously with exact same device models in which
case it wasn't straightforward to do the association.
Fixes #290.

PR is added to the queue for testing as 1. task. (1dbc378)

Test 550731521dbc378(1dbc378) has failed
See https://github.com/ThaliTester/TestResults/tree/550731521dbc378_Use_user-settable_device_name__vjrantal/ for the fail logs

@tompaana: The CI results indicated that the Bluetooth friendly name is unique between the different device models we have in the CI so I'd say this PR is good to go after a code review.
As a side note, seems that some default names are not very descriptive (like A3-1), but from the logcat logs, one is able to see a more exact model or the devices.

Review status: 0 of 3 files reviewed at latest revision, 1 unresolved discussion.

src/android/java/io/jxcore/node/ConnectionHelper.java, line 197 [r1] (raw file):
else statement is not really needed

Comments from the review on Reviewable.io

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from the review on Reviewable.io

PR is added to the queue for testing as 1. task. (24df3aa)

Review status: 2 of 3 files reviewed at latest revision, 1 unresolved discussion.

src/android/java/io/jxcore/node/ConnectionHelper.java, line 197 [r1] (raw file):
Done.

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

Test (Success) 55073152 build is completed (24df3aa)
See https://github.com/ThaliTester/TestResults/tree/5507315224df3aa_Use_user-settable_device_name__vjrantal/ for the logs

Test<PHONE_NUMBER>df3aa(24df3aa) has failed
See https://github.com/ThaliTester/TestResults/tree/5507315224df3aa_Use_user-settable_device_name__vjrantal/ for the fail logs


Empty user agent strings

Nice project, thanks for sharing it!
What's your take on empty user agent strings? ('')
It seems like they are being considered as not a bot currently, what about considering them as a bot instead?

This package explicitly checks is a user agent string identifies as bot - usually crawlers. I don't know if not matching any would count as "identifying as a bot". Can you explain why you think it would? Have you seen any traffic w/o a user agent header which is a bot?

I think there's no definite answer on how to classify an empty user agent string. I haven't seen any such case so it's more of an opinion really. I think my point of view is that if the user agent doesn't get sent, then either it's a bot, or it's a human who willingly decided to remove the user agent from the headers, so they shouldn't be surprised if they are being classified as a bot.
That's just my 2 cents on it, based on reading a few articles/answers on the web e.g. https://webmasters.stackexchange.com/questions/35642/interpretation-of-empty-user-agent. Both work for me but I was curious about your take on this as you invested time developing this package

@sebranly I'll give it a read 👌

@sebranly Thank you, that was an excellent point. I think it one of the notions in that thread was referring to both attempts:

Identify humans
Identify bots

This library is not attempting to identify humans, rather identify user agents who belong to known bots. As such, the question it asks is: "Does this user agent belong to a known bot"? And an empty string can not answer this question and I think can not be true.
However - based on your use case you can modify the behaviour of this package:
isBot('') // false
isBot.extend(['^$'])
isBot('') // true

In my opinion that should be the resolution for your case.

That makes perfect sense to me with this specific goal of "identifying known bots" 👍
To be fair, as my use case makes me want to consider an empty user agent string as a bot (slightly different use case than yours), I was using the isBot package by wrapping it up.
Something like
const isBotUA = (userAgent: string) => {
  if (userAgent === '') return true;
  isBot.extend(UA_BOTS_KEYWORDS);
  return isBot(userAgent);
};

But I just tested your suggestion (with a custom unit test suite supporting some well-known user agents) and it works as well with the regex directly added to UA_BOTS_KEYWORDS 👍
Thank you for the conversation on this one and for the package! By the way one major point that convinced me to use your package was the PR about https://support.google.com/webmasters/answer/1061943?hl=en


Update user guide to refer to all four annotations, and other updates

Fixes #523.
Now that the annotations are all linked to Javadoc, this might be sufficient to close #524 as well, at least with respect to the User Guide.

We'd be better off without "(unless there's a bug in your code)," and that might be more palatable to remove now that you've gone with "should."

I could have sworn I got rid of that. I guess I missed one?

The usage of "but" we were discussing is a little strange.

I switched one "but" for an "and". I'm no longer sure which "but" we were talking about.


Gallery, Pesto: missing frames when shrinking a recipe

On my Nexus 5X, built with profile mode, it looks like we're missing frames when the user taps the back icon after viewing a recipe.

Then, here's the performance overlay when the transition is complete:

Here's a trace:

File:
pesto-recipe-back.json.zip

diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
index c6422ca..b7be309 100644
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
@@ -95,6 +95,8 @@ bool GrGLProgramBuilder::compileAndAttachShaders(GrGLSLShaderBuilder& shader,
 }

 GrGLProgram* GrGLProgramBuilder::finalize() {
+    TRACE_EVENT0("skia", "GrGLProgramBuilder::finalize");
+
     // verify we can get a program id
     GrGLuint programID;
     GL_CALL_RET(programID, CreateProgram());

@abarth: I am not seeing the same massive spikes in SkCanvas::flush. For the most part, they seem to be in line with the size of the SkPicture being drawn.

Maybe it's something specific to my device.

Maybe it's something specific to my device.

Perhaps. It is also a lot better on iOS but we still lose some frames. I am now investigating if its the opacity layer causing the creation of an offscreen rendertarget and the extra work needed to be done by the switches causing us to lose frames.

We might want to reorganize how //flow draws layers to draw the off-screen targets ahead of time instead of switching back and forth.  Skia used to have a layer hoister that did this for us, but they appear to have removed it recently.

Tested on a Nexus 5. Notice the Down seems to be missing a lot of frames.

We've hidden Pesto.


Fix missing boost link for validator; support ninja build with external

Validator library was not linked with boost, leading to missing
header files error. This error was not visible since most setups have
boost installed in system directories, which are included by default

Replace INTERFACE_SYSTEM_INCLUDE_DIRECTORIES with
INTERFACE_INCLUDE_DIRECTORIES, since prior does not add actual folder
to include paths

Replace $(MAKE) with make for ninja build due to $ symbol error

Add BUILD_BYPRODUCTS to fix missing target error in ninja build

Codecov Report

Merging #719 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #719   +/-   ##
========================================
  Coverage    42.91%   42.91%
========================================
  Files          307      307
  Lines        12478    12478
  Branches      6927     6927
========================================
  Hits          5355     5355
  Misses         704      704
  Partials      6419     6419

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1965193...96e6229. Read the comment docs.

Build fine for me :+1:


Episode URLs 404ing

I cannot stream or download a podcast. I have tried with both the Apple Podcasts app and AntennaPod (Android). Both apps give errors when trying to download or stream the feed. Additionally, I have opened the Spotifeed URL's RSS feed and tried to directly open the episodes' URL (e.g https://anon-podcast.scdn.co/ URLs). They 404.
Example:

Spotify URL: https://open.spotify.com/show/3IKbkJpylxBFb8PWcliJOJ
Spotifeed URL: https://spotifeed.timdorr.com/3IKbkJpylxBFb8PWcliJOJ

I'm happy to provide more info to help troubleshoot, if needed.

I've confirmed this is not a dupe of #21, as the episode URLs in #21 do not 404.

@timdorr, I believe I've found the issue — Spotify does not host this podcast. Instead, it's hosted by Podbean.
I played the podcast in the Spotify app and proxied my connection through Charles. With that, I was able to find that the URL Spotify is streaming episode one from is: https://mcdn.podbean.com/mf/web/bpvips/EPISODE_ONE_-_MASTERED.mp3
Perhaps Spotifeed could be updated to acommodate this. Otherwise, it should throw some sort of warning/error.
Also, I am not sure if this is a rare occurrence or if Spotify regularly streams podcasts from other hosts.

Darn, perhaps that is not it — that podbean.com URL is 404ing...

All URLs in this feed have suddenly started to give 410 Gone errors. Example.

Yeah, looks like https://anon-podcast.scdn.co/ has been discontinued. I'll try to find an alternative, but this may be an issue that prevents Spotifeed from working.

Got hit by that too, @augusto-herrmann. Not sure if this is related to the original issue, though.

Can't seem to find an option that wouldn't involve re-hosting content, which is unfeasible from a cost and legal perspective.
Party's over. Sorry folks, but Spotifeed is dead :(


Fix issue #177

Fix
#177
Error unzip pod with folder with a special character

@rquesada I'm not sure why the CI pipeline didn't run for this change. Could you rebase your change on master to see if that kicks it off?


k3s support doesn't allow selecting local building

https://github.com/rancher/k3d/issues/19
Allows k3s to do local image building but tilt does not appear to support

Thanks for the request! You can currently do this now!
If you set up k3d with a registry as described in this doc (https://github.com/rancher/k3d/blob/master/docs/examples.md#connect-with-a-local-insecure-registry), then you can use the default_registry Tiltfile function (https://docs.tilt.dev/api.html#api.default_registry)
Your Tiltfile would look like
default_registry('registry.local:5000')

There are also some proposals to make this a bit more automatic, for details on those see https://github.com/windmilleng/tilt/issues/1620 (for auto-discovery of private registries) or https://github.com/windmilleng/tilt/issues/2001 (for using k3d import-images)
I'm going to close this feature request because it already overlaps a lot with the other ones filed, but feel free to comment if you have additional questions


Support other template engines (handlebars, ejs...)

I'm using email-templates with hbs and I wonder if the preview package can support something else than pug?
Maybe override the default render function by one passed in options:
  options = {
    dir: os.tmpdir(),
    id: uuid.v4(),
    open: { wait: false },
    template: templateFilePath,
    renderFn: pug.renderFile,
    ...options
  };

....

  const html = await pify(options.renderFn)(
    options.template,
    Object.assign(options.locals, {
      cache: true,
      pretty: true,
      dayjs
    })
  );

I would accept a PR that adds something like consolidate.  Look at my email-templates package and see how I made it so you can use any.
https://github.com/forwardemail/email-templates


[Bug] it seems that max_tokens not be sent as a request param

Bug Description
background:
I'm using a openai  proxy gateway(api2d.com), it requires max_tokens param in api v1\chat\completions to identify if left purchase points meet require tokens, if not it will return a 402 Payment Required  status
problem
the request from NextChat has no param max_tokens whether set it or not. (test on v2.10.2  v2.11.2)
And i found that the setting max_tokens seems like a local setting, if set it too small, the eventstream will be end.
(The client ends, whether the server calculate the tokens of not finished response? it seems like api2d.com does it.
Steps to Reproduce
simply send a chat
Expected Behavior
has a max_tokens request body param
Screenshots
No response
Deployment Method

[ ] Docker
[X] Vercel
[ ] Server

Desktop OS
No response
Desktop Browser
No response
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
the request body(has no max_tokens
{
    "messages": [
        {
            "role": "user",
            "content": "who are u？ whatis your data endline?"
        },
        {
            "role": "assistant",
            "content": "I am a language model AI created by OpenAI. My purpose is to assist users in generating human-like text based on the input provided to me. I do not have personal data or an endline as I am a machine learning model."
        },
        {
            "role": "user",
            "content": "使用四到五个字直接返回这句话的简要主题，不要解释、不要标点、不要语气词、不要多余文本，不要加粗，如果没有主题，请直接返回“闲聊”"
        }
    ],
    "model": "gpt-3.5-turbo",
    "temperature": 0.5,
    "presence_penalty": 0,
    "frequency_penalty": 0,
    "top_p": 1
}

402 Payment Required
it literally api2d.com issue lmao


Mapper: index transactions for blocks

This is needed so we can properly retrieve transactions, see: #195
It will also allow us to expand the DPS API and implement the Access API.

Done in #209


High CPU occupied When the day is around 18 o'clock

VSCode Version:1.28.2
OS Version: win10

When the day is around 18 o'clock, vscode isn't response all operations and high cpu occuiped with a number of proccess

Does this issue occur when all extensions are disabled?: Yes/No

@zmicx can you please follow https://github.com/Microsoft/vscode/wiki/Performance-Issues next time is 18 o'clock? Thanks!

/needsMoreInfo

Today I encounter the issue again at 16:30, proccesses snapshot as the picture above,

this picture' shown is all extensions I using
I hope it helps. Thanks a lot

It's My work pc information

Is this still an issue?


add new command to show LLDP neighbor info

Thanks for submitting a patch.
Please read the instructions for writing commit messages and submitting patches in Documentation/internals/contributing/submitting-patches.rst and then submit again. It's probably better to send your patch through email, since that's the main way that OVS is developed.

Got it. Thanks for your reply.


Feed 1 frame to 2 models in tensorflow

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubnutu 16.04
TensorFlow version (use command below): tensorflow-gpu
Python version: 35
CUDA/cuDNN version: 9
GPU model and memory: Titan

Tf version " tensorflow-gpu=1.12)
I have two tensorflow models (A.pb , B.pb ). I have two written two python codes. Both of these take same frame Input and produce output. (Currently, I run both of them in different terminals.)
Since they take same image frame as inputs... Can I do something in tensorflow like...
In 1 single python file :
Put the both codes in 1 single file.
Open both A.pb and B.pb models.
Feed the same input image frame two both A.pb and B.pb parallely
Superimpose the output of A.pb & B.pb and produce 1 single output.

Kindly help me in this regard. :)

@bosssaurav
This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.

pk


Consent flow

When a user uses a client with some scope it should have an explicit consent screen for it.
There are a lot of informations we can display on this screen, including a bunch of metadata about the client, the list of already granted scopes, the list of about-to-be-granted scopes, etc.
The scopes themselves are not defined yet

This was done a while ago


mpl proxy for matplotlib process

📝 Summary
This represents the matplotlib fix to create a proxy middleware which connects the main starlette process to the mpl starlette process.
Using this mapplotlib can be used in production on Docker for any kind of interactive stuff.
See my demo app here, which is finally working: https://causal-quartets.fly.dev/
I left the environmental variables in the codebase so that you could customize the port or hosts for some reason in the future, but I removed references to them from the documentation since I think that would be more of a developer-facing thing anyway.
🔍 Description of Changes

Creates AsyncHTTPClient class to manage HTTP responses between the two starlette processes without any dependencies (i.e., no httpx)
Fixes The WebSocket handling from the original implementation of the proxy class. There were two things wrong: The websocket proxy was dropping the figure url params required for matplotlib to find the figure. There was also a bare Exception that was silently catching the assertion failure in _mpl, which made diagnosis difficult.
adds 9 tests which successfully simulate and range the gamut across all of the issues we were seeing and make sure that all of the HTTP and WebSocket methods we're talking about work correctly as well as testing it directly with the mpl middleware.

📋 Checklist

[x] I have read the contributor guidelines.
[x] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
[x] I have added tests for the changes made.
[x] I have run the code and verified that it works as expected.

📜 Reviewers
@mscolnick - finally ready for you

I have read the CLA Document and I hereby sign the CLA
(again)


DH Logo / Back button is now invisible when inside a room

Macbook Pro Late 2018 / Firefox Developer Edition

Dup #1198


Volume stuck in deleting

Hi, one of my volumes is stuck in the deleting state for days. The volume is released but it is now in a failed state for the last remaining node. Also it is assigned to an instance manager which does not exist anymore.

Smashing the delete button does not help ;) I also rebooted the assigned node, no changes. Dropdown options are: Backups, Delete, Create PV/PVC

@cr0 Can you send us a support bundle at<EMAIL_ADDRESS>? We will look into it. It looks like something is preventing the volume from deleting (probably the instance manager).


Finalize membership of TSC

To continue the steps to form the TSC, we could start off with the maintainers of the initial implementations we discussed during PQCA formation, and set up during the recent Hackathon:

repo
maintainer

mlkem-c-aarch64mlkem-c-embedded
@mkannwischer

mlkem-c-generic
@jschanck

mlkem-libjade
@mbbarbosa

mlkem-libcrux
@franziskuskiefer

Plus @dstebila as one of the founders of pqcp & oqs lead. I'll volunteer also to try and get us up and running.
Anyone else I missed that's interested for the pre-TSC bootstrap?
For those mentioned so far:

would you be amenable to helping get the TSC off the ground?
are you the right person or should it be someone else in your group?
are you ok with being in the first set of implementations we try and get fully onboarded, active, packaged up within pqcp?

We'll get help from the LF to put together an initial charter (#42) and need to get this reviewed. This will be discussed in the upcoming PQCA tac meetings
After this bootstrap process we will be able to revisit membership, voting, responsibilities, processes,  etc, but it will be good to get something started.

👍🏻  sounds good to me

Sounds good to me, too. Let me know how I can help.

@mbbarbosa is also interested.


Ability to add prefix to filename generated

What problem does this feature solve?
Usually npm run build will generate the following output:
dist/static/pack/js/chunk-vendors.82e5bca0.js
dist/static/pack/js/console.c4f1ea0a.js
dist/static/pack/js/app.d18fb3c8.js
dist/static/pack/css/chunk-vendors.37ae32f6.css
dist/static/pack/css/app.7ae1ca78.css
dist/static/pack/css/console.915b5f85.css

It would be nice to have the ability to add prefix (e.g. vue-) to the generated filename, such as vue-app.hash.*, vue-console.hash.*, etc.
Reason is I am using another old build system which generate files of the same name (app, vendor, etc), and I wanted to add prefix to vue generated ones to avoid confusion.
I can overwrite vue.config.js to generate the filename, but it won't be easy or straightforward, as I also need to put in hash, different configuration for app, vendor, module and css.
  configureWebpack: {
    output: {
      filename: 'vue-[name].js', // this will change app.js only, not css, vendor and modules
    },
  }

I thought of changing the filename by renaming the file after it's generated, but on demand module loading will still use the original filename. assetsDir can specify directory of css/js, but not prefix filename.
What does the proposed API look like?
vue.config.js
module.exports = {
  filenamePrefix: 'vue-`',
}

I think this is too niche a use case for an extra config. You can just nest it under a directory instead.


support for "BIDS model"

I have started using BIDS model from the BIDS model BEP in the pipeline of our lab because not everyone can use fitlins. :-p
Things are getting to a point where I am thinking to create a function / set of function / class to deal with those (a bit like the analysis module does in pybids).
I think those functionalities would fit better in the bids-matlab repo so I am tempted to work on that here.
My questions are :

how do people feel about working on things that are not "vanilla / official" BIDS yet like the BIDS model?

pros:

those BEP offer some standard which is better than no standard
this BEP might not change much
if pybids does it, so can we (I like the idea of both packages being more in synch)

con :

we might have to redo some things and potentially break things downstream if people start using bids-matlab once the BEP become official (I think we need to start having versioned releases).

if we agree to support this, how should it be implemented?

suggestion : mimicking the pybids implementation maybe? (that I have not looked at yet)

those BEP offer some standard which is better than no standard

And the way to end up with a good standard is to have working "reference implementations" for practitioners to play with while the standard is still being developed, so they can give feedback based on actual use. I think having "preview" BEP functionality available in the library (or maybe in an add-on "bids-matlab-bep" library) would probably be good for the community and the standard.

Potentially let BIDS matlab help with creating the basic JSON for some simple models.
https://bids-standard.github.io/pybids/analysis/index.html#quickstart


LOG4J2-2967 Fix JTL parameter resolution for messages with too few parameters.

When messages don't contain enough parameters, index-based lookups
result in a JSON null token rather than failing to produce a log event.
This change also modifies behavior of non-index-based resolution
when messages have no parameters. Previously the value would be null,
now we produce an empty list. Note that this is a change for only
ParameterizedMessage, not for messages which implement
ParameterVisitable.

@vy I'd appreciate your review on this at your convenience :-)

@carterkozak Great catch with a complete fix! Thanks so much for sparing time!