We need more reasons to use laser guns

I think the game could be improved if we saw more laser guns being used. Right now the only time we really see them is with salvage or the captain's antique laser. Most of the time they are just... non-existent and are so heavily outperformed by ballistic guns that no one really bothers with using them.
Laser fights are also so much more enjoyable. Each shot seems to have more significance, fights last longer and offers more opportunities for tactics.
Laser weapons need some love, as of now they are shit compared to any ballistic gun. their TTK in some cases double or triple that of ballistic guns, and their ammo capacity is usually about 1/3 of them as well.  Their damage type also cauterizes bleeding so that further hampers their possible damage output.
Of course laser guns have one strong advantage, they can shoot through glass.
I don't think this one factor should be making them so limited in gunfights. Yes, they should always be out performed by ballistic weapons in most cases, but I think the game would be improved if we buff laser guns slightly. Increasing their battery size seems like the easiest option to me right now.
Traditionally in ss13, most of the guns available to the station were lasers. Syndicate/traitors/nukies were the ones with ballistic guns. That was why redsuits had high heat resistance and secoffs had armor vests. However i understand that 14 is a different game with our own game philosophy.
That being said, as of now in the current state of the game, 90% of all gunplay we see is with ballistic weaponry. Perhaps make laser guns more easily obtainable early game, and make ballistic guns late game? or split the guns in the armory to be 50% laser and 50% ballistic?
TLDR: Ballistic guns outperform laser guns way too much.  Introduce more reasons to use laser guns or make ballistic guns more rare.

TLDR: Ballistic guns outperform laser guns way too much.  Introduce more reasons to use laser guns or make ballistic guns more rare.

To say that nobody uses them is an overstatement. Lasers already have the ability to shoot through windows and are hitscan, which will inevitably make them have some niche.
The truth is their DPS is lower as is their total damage, so they'll almost always be second to ballistic weapons in an open fight. But I don't think that's necessarily a problem. I'm not going to go through and name every scenario in which a laser rifle is better, but there is a lot, and they do those roles well enough to not need changes. There's a reason everyone orders lasers instead of SMGs when nukies show up.

most of the laser weapon target Heat resistance, which is a pretty good niche in itself i think

Well... Laser guns suffer from not being able to change battery (which may be the main downside, and probably one of the hardest one compared to every weapons in the game).
So yeah, if you were able to switch the battery in with another that you have in your pocket, laser weapon would be WAY MORE usable instead of a single clip hitscan gun

Well... Laser guns suffer from not being able to change battery (which may be the main downside, and probably one of the hardest one compared to every weapons in the game).
So yeah, if you were able to switch the battery in with another that you have in your pocket, laser weapon would be WAY MORE usable instead of a single clip hitscan gun

I think the main issue we'd find with this is someone getting something like the x-ray cannon and an antique powercell, you know cause uh... It'd be pretty busted

I think the main issue we'd find with this is someone getting something like the x-ray cannon and an antique powercell, you know cause uh... It'd be pretty busted
Pretty much yeah, but can you even find antique powercells anywhere? i saw it while messing in sandbox but never during salvaging (there could be battery restrictions on many guns to avoid this particular case of OP battery on OP guns)

I think the main issue we'd find with this is someone getting something like the x-ray cannon and an antique powercell, you know cause uh... It'd be pretty busted
Pretty much yeah, but can you even find antique powercells anywhere? i saw it while messing in sandbox but never during salvaging (there could be battery restrictions on many guns to avoid this particular case of OP battery on OP guns)

Nah, did salvage two days ago and one of the missions had an antique, it can spawn it's just rare

So yeah, if you were able to switch the battery in with another that you have in your pocket, laser weapon would be WAY MORE usable instead of a single clip hitscan gun

This was removed for a reason

There's a reason everyone orders lasers instead of SMGs when nukies show up.

What? Do you even play the game?

What? Do you even play the game?

Shockingly, I do. The last 3-4 nukie rounds I've played people ordered lasers instead of SMGs. Granted a big reason for that is probably how much cheaper they are, so it's not really fair to say that it has anything to do with their performance. Regardless I don't think lasers are in a terrible spot.

lasers are a better defensive weapon since you can build grilles and windows which both let you fire and have to be broken by attackers using ballistic weapons

lasers are an extremely awful choice against ops because 1. there's usually more than one of them and 2. lasers do awful damage against their very heat resistant armour
people are likely only ordering them because they're cheap - they're by no means good, which I think is fine. imo they should stay cheap and be a crew mass arming weapon

Making an executive decision and closing this, I feel like lasers are in a good place right now. If a maintainer disagrees feel free to reopen.


Comment

Thanks for opening a Pull Request!
Here's a handy checklist to ensure your PR goes smoothly.

[ ] I signed Google's Contributor License Agreement
[ ] My code conforms to Google's python style.
[ ] My PR at a minimum doesn't decrease unit-test coverage (if applicable).
[x] My PR has been functionally tested.
[ ] All of the unit-tests still pass.
[ ] Running pylint --rcfile=pylintrc passes.

These guidelines and more can be found in our contributing guidelines.

Hi @shyleshsunnithan , can you elaborate what is this comment for?  It seems it's not necessary to comment on the import statement.

Hi @shyleshsunnithan , can you elaborate what is this comment for? It seems it's not necessary to comment on the import statement.

just tried to comment something

Not going to accept this.  This is a no-ops change.


Additional error checks

A couple of years ago, I used this lib to run the conformance tests at http://u2fconformance.fidoalliance.org. To comply with those tests, I had to add a few error checks to the U2F lib so that it doesn't return false positives. If I remember correctly, I took these error checks from the Java implementation and ported them over to PHP. I did this in June 2015, so I might be mis-remembering the source from which I took these changes. I just came back to this repo to check if there were any bug fixes and cleanups, and realized I had never posted this upstream, so here it is.

Sorry for being horribly slow on this. Looks good, thanks!


Environment variable definitions affect the binding code generated by CDKTF

CDKTF is a useful tool that uses terraform like AWS CDK.
CDKTF will generate a binding code from terraform providers; most providers work great.
However, it behaves strangely in mackerelio-labs/mackerel.
Mackerel provider will check environment variables and change provider argument typing dynamically if defined the MACKEREL_APIKEY or MACKEREL_API_KEY.
This also works when the CDKTF generates the binding code, But it doesn't work when plan or apply.
Therefore, Environment variable definitions affect the binding code generated by CDKTF, and reproducibility will be lost.
Below is the generated code fragment:
If defined the MACKEREL_APIKEY or MACKEREL_API_KEY
export interface MackerelProviderConfig {
  readonly apiBase?: string;
  readonly apiKey?: string;
  readonly alias?: string;
}

export class MackerelProvider extends cdktf.TerraformProvider {
  public constructor(scope: Construct, id: string, config: MackerelProviderConfig = {}) {}
}

If not defined any environment variables:
export interface MackerelProviderConfig {
  readonly apiBase?: string;
  readonly apiKey: string;
  readonly alias?: string;
}

export class MackerelProvider extends cdktf.TerraformProvider {
  public constructor(scope: Construct, id: string, config: MackerelProviderConfig) {}
}

@rokoucha Thank you for your report.
There are two ideas about the specification: one is that we are happy to have constraints at schema level, and the other is that we don't want schema to be dynamic. Please give me some time to review how it is implemented in a general provider and  consider pros/cons of making the provider's schema static.
There would be a workaround to set an empty environment variable during code generation by cdktf.


Implement Algorithm for Adding to Score

TODO:

Comment in this log how you will calculate score
Get approved by a group member for calculation
Ensure that once the user logs in the score is updated

Approved by at least one team member.
TODO: increment score whenever user adds a workout


chore: ignore .NET 7

Let's stick with LTS versions for the moment.
If we decide to upgrade we can probably also bump C# language version and maybe more.

I started with the .NET7 implementation in #923...

@fgreinacher : I started with the .NET7 implementation in #923...

Ah OK, then let's close this 👍


[Run] Shell not closed after Shell execute

Environment
Windows build number: Microsoft Windows [Version 10.0.19608.1006]
PowerToys version: 0.18.0
PowerToy module for which you are reporting the bug: PowerToys Run

Steps to reproduce
You need Visual Studio Code installed, or try it with another program that opened from CMD.

ALT+Space
> code C:\YourFolder
The **Command Prompt` windows opened, the Visual Studio Code opened correctly in the right folder, but the Command Prompt window stay opened without any text in it.

Expected behavior
I'm not sure if it a bug of PowerToys Run or Visual Studio Code, since if you trying to reproduce with explorer command, the File Explorer with open without Command Prompt window.
Screenshots

@baruchiro does this still happen in v0.18.1?

No

Run prompt does same thing.  This i'd imagine is a code bug


logo for staava token

Please fix this PR, your logo is not uploaded in the folder. Below is an example of a correct PR
https://github.com/traderjoe-xyz/joe-tokenlists/pull/1369


WebGL canvas is black when capturing in 3D mode

Capturing screenshots and GIFs is producing blank images in 3D mode. The code to get the image data from the WebGL context appears to function normally, but sometimes returns nothing but an black canvas (other elements like the map chip and timeline still capture normally). There are no exceptions being thrown and I'm seeing it across multiple browser versions.
It happens fairly consistently in both Chrome 67 and FF60, but I do occasionally get successful captures. If I capture right after loading into 3D, it works properly. But if I pan/zoom the map even a little bit, all subsequent shots will be empty. It sometimes seems to come back after that, but I don't know why.

This has been resolved.


[BUG] Wrong icon for LineageOS dialer

About this discussion
In Lawnicons version 2.5.0 Dev #4130 the Contacts app icon is linked to the LineageOS dialer (com.android.dialer), thus showing the wrong icon for the dialer.

Hey! Many apps have the same package as this icon (com.android.dialer), so we need to specify the activity.
Could you please share the package with activity for this app? If you don't know how, there are options.

<appfilter>

	<!-- Phone -->
	<item component="ComponentInfo{com.android.dialer/com.android.dialer.main.impl.MainActivity}" drawable="phone"/>

</appfilter>

Is this correct?

As far as I can see, the icon is linked correctly.
@SuperDragonXD Could you see if you get a chance. Is this issue related to the one we've been talking about recently? Any ideas on how to fix it?

I guess it's semi-related. The best thing to do is to test all the activites of the app and see which ones are correctly mapped to the right drawable.
Could you check what Lawnchair shows for that themed icon by enabling the show_component_name flag (in Debug Menu)? (Also sometimes the phone activity is actually in com.android.contacts)

Could you check what Lawnchair shows for that themed icon by enabling the show_component_name flag (in Debug Menu)?

Same activity.

lineageos 19.1, same issue here. but like mentioned above on dev build it shows correct icon
Screenshot_20240112-221318_Lawnchair.png

Try Lawnchair 14 Beta 2. If the error persists, share the package with the activity here.

Yup, still happening here on 14 Beta
IconRequest_14042024_105542.zip

Yup, still happening here on 14 Beta

Hmm, but it should work. Then I suggest installing the icon manually. It works better in L14.
As for the reasons.
Hypothesis 0. The cache has not been updated.
Hypothesis 1. Dialer and Contacts have the same activity in LineageOS and GrahpeneOS.
Hypothesis 2. The activity shown by IconRequest and other apps is incorrect. The real one is different.
Hypothesis 3. LineageOS and GrapheneOS have some features that are not taken into account in Lawnchair.

installing the icon manually

What do you mean?

Hypothesis 0. The cache has not been updated.

My 14 beta install is clean, no backups restored either.

Hypothesis 1. Dialer and Contacts have the same activity in LineageOS and GrahpeneOS.

Different activities, at least here in LineageOS:
<appfilter>

	<!-- Contacts -->
	<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.PeopleActivity}" drawable="contacts"/>

	<!-- Phone -->
	<item component="ComponentInfo{com.android.dialer/com.android.dialer.main.impl.MainActivity}" drawable="phone"/>

</appfilter>

Hypothesis 2. The activity shown by IconRequest and other apps is incorrect. The real one is different.

Would an app like activity launcher help?

Hypothesis 3. LineageOS and GrapheneOS have some features that are not taken into account in Lawnchair.

Well, I hope not.

What do you mean?

Long press the Phone icon → Customize → Tap on the icon → Choose a new one

Would an app like activity launcher help?

Shortcut Maker would be better suited (I guess). Can you share screenshots of Phone and Contact activities?
https://play.google.com/store/apps/details?id=rk.android.app.shortcutmaker

Long press the Phone icon → Customize → Tap on the icon → Choose a new one

That doesn't work, I've reported the issue.

Can you share screenshots of Phone and Contact activities?

That doesn't work, I've reported the issue.

This argues in favor of the OS having some features that are not addressed in L14. :/

This argues in favor of the OS having some features that are not addressed in L14. :/

Applying Lawnicons to both the home screen and the drawer works just fine, so probably it's a Lawnchair issue after all?

so probably it's a Lawnchair issue after all?

Most likely.

Most likely. Works only in "Home Screen & App drawer" mode, right?

I meant, when I apply Lawnicons in both home screen and drawer mode the phone icon is the right one, while in home screen only mode the wrong icon gets applied (the contacts icon)

Since the issue has been resolved or a workaround has been found for most, I close it. The issue about the remaining bug is open in the Lawnchair repository. https://github.com/LawnchairLauncher/lawnchair/issues/4281


Which distribution lists can be upgraded link doesn't work

It redirects back to this page

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

ID: 10dbb56e-1c52-8fa0-0d3d-bab6d50519d0
Version Independent ID: ff6585cd-9d68-ed1c-ee5f-1f451457dbef
Content: Upgrade distribution lists to Office 365 Groups in Outlook
Content Source: Office365-Admin/manage/upgrade-distribution-lists.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

@officedocsbot assign @mypil

@ssebs - Thank you for submitting feedback.
I will get this issue over to the O365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@ssebs - From our understanding, the issue has been resolved but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!


Passing BytesMut to tokio::UdpSocket always receives 0 bytes

I want to receive bytes from a tokio::UdpSocket. I noticed that the snippet using BytesMut always receives zero bytes, but it does not block. When I swap it for the vec it works as expected. Do I use the library wrong and is this expected behaviour, or should this work?
let mut buf = vec![0; self.buffer_size];
let (bytes, _sender) = self.socket.recv_from(&mut buf).await?;

let mut buf = BytesMut::with_capacity(self.buffer_size);
let (bytes, _sender) = self.socket.recv_from(&mut buf).await?;

If you folks need additional information, just ask me please. Thank you in advance
Running on Ubuntu22 and rustc 1.63

The capacity is not the same as the length! You are passing a slice of length zero to recv_from, so it reads zero bytes.
To fix this, either initialize the BytesMut with zeroes so that its length is no longer zero, or use the try_recv_buf_from method, which will do the right thing. (See its example for how to use it in an async manner together with readable.)


Use clipping for the min/max layers iso re-rendering

see: https://threejs.org/examples/webgl_clipping.html

It's safe to assume min/max layer parameters are controlled most of the time by a slider. The performance of it is very important for the user's experience. It can be difficult to diagnose a problem in the sliced model when the preview lags.
Can clipping be used for lines or is it a geometry thing only?

will be implemented in #234

I was thinking that clipping would be also useful in other contexts than inspecting layers. For example, have the print split vertically.
But that's a whole new feature that happens to use the same techniques. WDYT?

I could be useful but I haven't come across a situation where min/max layers weren't adequate. I'd like to see an actual use case. What would you use the feature for?

You're right that we can visualize pretty much everything with the layers. But I've seen people struggle with 2D/3D vision and mental representation of objects. They could not understand from layers that there was overhangs.
Having an additional clipping plane is an additional tool that can help understand what's going on when your brain is not wired like a software engineer's.
Those are also ways I would personally use it:

inspecting how layers are placed on top of each other and detect weak points
inspect the insides of a hollow part to see where the walls have a thickness of only one line or some infill
just playing with it because it's cool to visualize

Good points. I use 'section analysis' sometimes in Fusion which really is the same thing.
I must say I'm from the 'less is more' school    but I'm open to a simple implementation of this.
Maybe only allow clipping planes along the x, y, z axes?
For me this would still be a 3.1++ feature.. but hey they're more like guidelines not rules https://imgflip.com/gif/1suyyk

Yep, section analysis is different than layers, and should be scope for "eventually".
Only on x,y or z is exactly what I had in mind.


Package name causes issues on Package Control

The package uses an asterisk character in its package name on Package Control which causes issues, specifically in that it is uninstallable on Windows because * are invalid in file paths.
We do actually check for these in our repo tests, but because you added the package in a custom repo and we don't fetch these for the automated tests (only for manual runs), this was missed.
Please rename the package.

Yeah I’ve meant to rename it for a long time... will do.

On Feb 20, 2019, at 7:46 PM, FichteFoll<EMAIL_ADDRESS>wrote:
The package uses an asterisk character in its package name on Package Control which causes issues, specifically in that it is uninstallable on Windows because * are invalid in file paths.
We do actually check for these in our repo tests, but because you added the package in a custom repo and we don't fetch these for the automated tests (only for manual runs), this was missed.
Please rename the package.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Did you perhaps forget to add a previous_names entry for the renamed package? https://packagecontrol.io/packages/Swift for F*ing Sublime still exists.

Ah I didn’t know that was an option.

On Feb 27, 2019, at 8:19 AM, FichteFoll<EMAIL_ADDRESS>wrote:
Did you perhaps forget to add a previous_names entry for the renamed package? https://packagecontrol.io/packages/Swift for F*ing Sublime still exists.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

OK this commit should do it.


WIP collection = Vec

Description
As discussed on Friday, this turns collections into just sequences of hashes
Notes & open questions
~Just wanted to check how much effort this is. Not ready to merge. But the effort seems very manageable...~
Todo:

[x] add total size to metadata
[x] remove IrohCollectionParser from iroh, add LinkSeqCollectionParser to iroh-bytes, and make it the default
[x] add more convenient APIs to work with 2 initial blobs
[x] skip size prefix for links

Change checklist

[ ] Self-review.
[ ] Documentation updates if relevant.
[ ] Tests if relevant.

This was easier than expected. The only big downside so far is that the total_blobs_size is in the metadata and therefore no longer available when parsing just the collection (=seq of links) blob.
However, I think using this for bookkeeping is probably unwise anyway.

There is a naming issue here. A collection as far as iroh-bytes is concerned is just a sequence of links. A collection in iroh is a thing that you can map to a fs (with names and stuff). Before these were kinda the same, but now they aren't.
So I guess one of them need a new name, and that would be the "sequence of links". This will fade into the background or might be hardcoded in the future.

@Arqu can you comment on this: due to the metadata now being in the first leaf, the TransferCollectionStarted event now no longer contains the total_blob_size. I think this is no big deal, since for bookkeeping and billing you probably want to use something else anyway.
But am I right, or does this has a big impact on iroh-net?

@Arqu can you comment on this: due to the metadata now being in the first leaf, the TransferCollectionStarted event now no longer contains the total_blob_size. I think this is no big deal, since for bookkeeping and billing you probably want to use something else anyway.
But am I right, or does this has a big impact on iroh.network?

Good eye for tagging me on this. You're very lucky actually :). The work on iroh.network is currently exactly around this spot. Yes it's going to be moved around and potentially have a completely different implementation so don't worry about it in this PR.
@flub Just tagging you here for reference, we can touch on this in our meeting.


Support docker build/publishing

Hey nice simple tool
just figured id push this back your way in case you wanted to be the one that host a container for others to use?
the dockerfile itself is copy pasta from https://v2.vuejs.org/v2/cookbook/dockerize-vuejs-app.html?redirect=true
and seems to just work
docker run -p 8080:8080 ghcr.io/phyzical/image-converter:latest
if you want to try before merging

Hi, thanks a lot for contributing! The Docker container works great – I'll merge the commit now


Compiling on a Power9 PC

Godot version:
3.2-beta
OS/device including version:
ubuntu 19.04 disco ppc64le
Issue description:
The project fails to compile.
Steps to reproduce:
Clone this repository on a power9 pc and then compile using, scons platform=x11.
Minimal reproduction project:
I realize that using a power9 pc for godot is uncommon, but I thought it would be good to create an issue since this project is platform independent. Below is the output im getting from scons.
I'm not sure what the following gcc error is refering to. There is no -mssse3 flag present in the file that failed to compile.
gcc: error: unrecognized command line option '-mssse3'; did you mean '-misel'?
I also noticed that the files are present under a directory named x86. Let me know if there are any other logs that could be helpful for debugging.
scons output
#error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
^~~~~
[Initial build] In file included from thirdparty/libvpx/vpx_dsp/x86/txfm_common_sse2.h:14,
from thirdparty/libvpx/vpx_dsp/x86/inv_txfm_sse2.h:18,
from thirdparty/libvpx/vpx_dsp/x86/inv_txfm_sse2.c:12:
/usr/lib/gcc/powerpc64le-linux-gnu/8/include/emmintrin.h:56:2: error: #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
#error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
^~~~~
gcc: error: unrecognized command line option '-mssse3'; did you mean '-misel'?
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/x86/loopfilter_avx2.c
gcc: error: unrecognized command line option '-mavx2'
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c
gcc: error: unrecognized command line option '-mavx2'
[Initial build] Compiling ==> thirdparty/libvpx/vp8/common/x86/filter_x86.c
[Initial build] Compiling ==> thirdparty/libvpx/vp8/common/x86/loopfilter_x86.c
[Initial build] Compiling ==> thirdparty/libvpx/vp8/common/x86/vp8_asm_stubs.c
[Initial build] Compiling ==> thirdparty/libvpx/vpx_dsp/x86/vpx_asm_stubs.c
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/copy_sse2.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/copy_sse2.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/copy_sse3.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/copy_sse3.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/dequantize_mmx.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/dequantize_mmx.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/idctllm_mmx.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/idctllm_mmx.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/idctllm_sse2.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/idctllm_sse2.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/iwalsh_mmx.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/iwalsh_mmx.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/iwalsh_sse2.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/iwalsh_sse2.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/loopfilter_sse2.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/loopfilter_sse2.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/recon_mmx.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/recon_mmx.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/recon_sse2.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/recon_sse2.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/subpixel_mmx.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/subpixel_mmx.asm
[Initial build] yasm -Ithirdparty/libvpx/ -f elf64 -D X86_64 -o thirdparty/libvpx/vp8/common/x86/subpixel_sse2.x11.tools.64.o thirdparty/libvpx/vp8/common/x86/subpixel_sse2.asm
scons: *** [thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.x11.tools.64.o] Error 1
scons: *** [thirdparty/libvpx/vp9/common/x86/vp9_idct_intrin_sse2.x11.tools.64.o] Error 1
scons: *** [thirdparty/libvpx/vpx_dsp/x86/loopfilter_avx2.x11.tools.64.o] Error 1
scons: *** [thirdparty/libvpx/vpx_dsp/x86/loopfilter_sse2.x11.tools.64.o] Error 1
scons: *** [thirdparty/libvpx/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.x11.tools.64.o] Error 1
scons: *** [thirdparty/libvpx/vpx_dsp/x86/inv_txfm_sse2.x11.tools.64.o] Error 1
scons: building terminated because of errors.
contents of config.log
file /home/andrew/godot_source/SConstruct,line 529:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for C header file mntent.h...
.sconf_temp/conftest_0.c <-
|
|#include "mntent.h"
|
|
^[[94mCompiling ^[[95m==> ^[[93m.sconf_temp/conftest_0.c^[[0m
scons: Configure: yes

In Debian repository, Godot was compiled to support PowerPC - https://buildd.debian.org/status/fetch.php?pkg=godot&arch=ppc64el&ver=3.0.6-2%2Bb1&stamp=1565018829&raw=0
This is command used to compile Godot with version 3.0.6
scons platform=server tools=yes target=release_debug bits=64 builtin_bullet=yes builtin_enet=no builtin_freetype=no builtin_libogg=no builtin_libpng=no builtin_libtheora=no builtin_libvorbis=no builtin_libvpx=no builtin_libwebp=no builtin_openssl=no builtin_opus=no builtin_pcre2=no builtin_squish=no builtin_zlib=no builtin_zstd=yes -j 4 CCFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" LINKFLAGS="-Wl,-z,relro -Wl,-z,now" CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security"

I think that you should try to use
scons p=x11 -j6 builtin_libvpx=no

LibVPX is in Godot very old - 1.6 version was released 3,5 years ago https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.6.0
and now the newest version is 1.8.2 https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.8.2 from december, so maybe updating this library will fix issue with libvpx in powerpc.

scons p=x11 -j6 builtin_libvpx=no

Godot's built-in modules use own scons configs without any support for anything besides ARM and x86, and tons of hardcoded stuff, builtin_libtheora=no builtin_libvpx=no should solve most issues with non x86 builds (only these two modules have assembler parts).

I didn't realized it was in the ppc64le repository as godot3.
root@andrew-ubuntu:~/godot_source# apt-cache search godot3
godot3 - Full 2D and 3D game engine with editor
godot3-runner - Godot game engine run-time
godot3-server - Headless Godot game engine run-time
Either way, I was able to compile with scons p=x11 -j32 builtin_libvpx=no, but I had to install the following package.
apt install libvorbis-dev
The following define in thirdparty/libpng/pngrutil.c, line 4304, was causing a linker error. I commented it out in order to get the build to work. Not 100% sure what this define is used for.
#ifdef PNG_FILTER_OPTIMIZATIONS
   /* To use this define PNG_FILTER_OPTIMIZATIONS as the name of a function to
    * call to install hardware optimizations for the above functions; simply
    * replace whatever elements of the pp->read_filter[] array with a hardware
    * specific (or, for that matter, generic) optimization.
    *
    * To see an example of this examine what configure.ac does when
    * --enable-arm-neon is specified on the command line.
    */
   PNG_FILTER_OPTIMIZATIONS(pp, bpp);
#endif


Fix yaw computation

This PR fixes the yaw computation when dealing with > 180 or < -180 degrees.

This code has been tested on a real robot and reviewed by multiple people. I merge it right away.


Simplify project source code hierarchy

The directory where source code for projects reside COULD be shallower.
I don't think it MUST, but I would like to opt for something my team is used to.
If there were an option to use all C#(.cs) files under the project root it would be great.

There's a way to do this already. Here's how you can do it:
new Project("foo",
            Cs.Dll(BuildDirsKeys.BaseDir.Modify(config => config.GetBaseDir(Project.ProjectKey(BudProjectId))))

It's quite a bit convoluted. This should be much easier to do. Maybe something like this:
new Project("foo", Cs.Dll(BaseDir.SetToProjectRoot));

Nice! Thanks for the clarification.
One way or another I think this should be on docs!
Maybe a Wiki in this repository.

@ubas where is BudProjectId located.

Apologies, that was a copy-paste error. Replace BudProjectId with "foo" (the name of your project).
I have fixed the comment above too.


Use git range-diff to identify upstream commits

To determine when a PR made it into an integration branch in core Git, we need to identify corresponding commits (if any).
Earlier, we tried to do that by tracking the mails' progress, identifying pairs of mails on the GIt mailing list and their corresponding commits in core Git by the date, with the idea of fixing things manually if they go wrong. Turns out they go wrong a lot.
So let's use range-diff instead. This takes a bit more time, but should be a lot more robust, too.

@kewillford thank you!


fixes #34, extract text and not html content

Just a quick fix for #34 , however I think a better way is to include an optional attribute to parse text or html

Its been a year, any hope for getting this in?


Index synonyms

Is there a way to have multiple terms index/abbreviate to the same entry?  I'm thinking of things like "control stream" and "control streams" which really shouldn't be separate entries (or even subitems, really) but are distinct streams.

Do you have an example document?

Oh, and did you see https://mailarchive.ietf.org/arch/msg/rfc-markdown/PklAZRoS2NchUzKSOLupZ9IJwWg?
This is a bit tedious, but might do the job.

I did not see that discussion; it looks more like a solution to #167, where I could suppress the link generation within the definition.
For an example, check the HTTP/3 index (built from https://github.com/quicwg/base-drafts/blob/h3qp_auth48/rfc9114.md) where "control stream" and "control streams" get separate index entries.  I'd like to be able to make "control stream" be the index entry, even if the text happens to use the plural in some cases.  Same with push stream(s), request stream(s), etc.

You can do that with this change:
-*[control streams]: #control-streams
+*[control streams]: #control-streams (((control stream)))

A bit redundant, but I don't see how kramdown-rfc could guess this.

No, I wouldn't expect it to be guessed; just the ability to do it.  Thank you!


RunStory Fixes

2 issues found on master preventing Running stories (tested against trader-example)
NPE due to core RunContext only initialised in runStories()
Also shadowed properties in storyBuilder caused NPE with keywords not being initialised correctly

To recraete:
clone latest master
mvn jetty:run-war
run a story from web-app, note no output returned
debug RunStory.run() and config the failure is a NullPointerException
at PerformableTree.perform (line 406)
Caused by RunContext not being set: when an enqueued story is added it uses the RunContext member of the StoryManager. This property is only initialised on a specific method of the StoryManager, runStories()
WebRunner uses runningStories() with a provided runContext()
Given that runStories() called performStories which in turn calls runningStories() I’ve just changed web runners RunStory to call runStories().
Also NPE caused by storybuilder scoping bug

I'd do a quick release, but there's a Selenium incompatibility between v3.5.x and v3.12 :-(

Thanks @paul-hammant, happy to assist and help look into any blocking issues to get a release.

This is as far as I got:
diff --git a/web-selenium/pom.xml b/web-selenium/pom.xml
index fa48156..69bad3d 100644
--- a/web-selenium/pom.xml
+++ b/web-selenium/pom.xml
@@ -11,7 +11,7 @@
   <description>Selenium and WebDriver API bindings for JBehave</description>

   <properties>
-    <selenium.version>3.5.3</selenium.version>
+    <selenium.version>3.12.0</selenium.version>
   </properties>

   <dependencies>
@@ -20,6 +20,11 @@
       <artifactId>selenium-java</artifactId>
       <version>${selenium.version}</version>
     </dependency>
+       <dependency>
+           <groupId>org.seleniumhq.selenium</groupId>
+           <artifactId>selenium-htmlunit-driver</artifactId>
+           <version>2.52.0</version>
+       </dependency>

I'll get back to it in a few days, unless you beat me to it. Some constructors changed. I asked Simon Stewart in chat:
Hey, what replaces stopClient() on FirefoxDriver ... some time since v3.5.3?

He replied:
Listening out for the quit command in the CommandExecutor
Take a peek at the DriverCommandExecutor to see what we do
Or you can wrap with an EventFiringWebDriver and override quit

@tomb50 what do you use JBehave-web-selenium with?  Chrome or Firefox ?

Paul

Upgrading jbehave-web-selenium to dep on Selenium 3.6 shows te first break on its own - a different ctor contract in Firefox. It's barely documented what the shenanigans are around OverriddenFirefoxDriver and DoublyOverriddenFirefoxDriver, and I wrote that stuff and don't understand it now. I'm going to have to dig deeper, but I inclination is to delete unused (no tests) code, and wait for someone to complain post "point release".

Hi @paul-hammant sorry for the slow response.
If it's still relevant, we are not using the any the jbehave-selenium-web integration, only using the jbehave-web-runner module, so personally the above is perfectly good.


[SP-2831] Backport of PDI-11229 - Variable used in directory field of…

[SP-2831] Backport of PDI-11229 - Variable used in directory field of "Get repository names" step is not resolved (5.4 Suite)

backport of #2625

@mbatchelor, @matthewtckr, @pamval , @mchen-len-son please review

Checked locally.
Tests are passing, checkstyle is OK.
Merging.


evertonfraga plz stop

evertonfraga plz stop

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain rtfs.hu has exceeded the max emails per hour (159/150 (106%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:36772 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by cp5.ezit.hu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.88)
(envelope-from<EMAIL_ADDRESS>id 1csDbW-001ve0-OL
for<EMAIL_ADDRESS>Sun, 26 Mar 2017 21:13:31 +0200
Date: Sun, 26 Mar 2017 12:11:44 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1490555504;
bh=24loeh3wtgSlc3wcIB2iI+edOIatrK2WAiBVeixIWd0=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=pTYNPicUxjYu4q7bhVvCFfC/nA5QsEkzjr3eOR7b9qICnI3IbhZLGHgnnFovXMEDx
VKb8B4bkgFtZ3lw+fkCXXEMi31K8KPMQ0plhauNalWMzFqMf/zYFzcSojySEtFiYPQ
90CTq12ndIgO9GUM25m2nSGPzoLoH4eeLerRIok0=
From: Martin Holst Swende<EMAIL_ADDRESS>Reply-To: ethereum/remix<EMAIL_ADDRESS>To: ethereum/remix<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [ethereum/remix] evertonfraga plz stop (#402)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_58d81270c2a8f_53e03fd0e6ae3c3c114175";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: holiman
X-GitHub-Recipient: axic
X-GitHub-Reason: subscribed
List-ID: ethereum/remix <remix.ethereum.github.com>
List-Archive: https://github.com/ethereum/remix
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AABPdBQN9jKcNT5ku7qrkNeg0D-th5eWks5rprhwgaJpZM4Mpiac
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_58d81270c2a8f_53e03fd0e6ae3c3c114175
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #402.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ethereum/remix/issues/402#event-1015781767
----==_mimepart_58d81270c2a8f_53e03fd0e6ae3c3c114175
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #402.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_58d81270c2a8f_53e03fd0e6ae3c3c114175--


Add ability to add patterns for app_mentions

Currently, I can only subscribe to a generic app mention event using @app.event("app_mention"), but if I'm building an app that has multiple actions, the function can become unmaintainable. Instead, using a similar interface as app.message would make this much more usable in my opinion.
Examples:

@app.mention("hello")
def say_hello(say):
    say("Hey there")!

@app.mention("status of [0-9]+")
def handle_status(...)
    ...

Category (place an x in each of the [ ])

[x] slack_bolt.App and/or its core components
[ ] slack_bolt.async_app.AsyncApp and/or its core components
[ ] Adapters in slack_bolt.adapter
[ ] Others

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Cool idea and thanks for the example that starts to inch toward real-world requirements!
If we added support for this functionality, it would likely be a Bolt concept that would be implemented by Python, Java, and JavaScript. So we'll need to discuss it more.
At the moment, without built-in support, would you implement this by subscribing to @app.event("app_mention") and then using a series of regex matchers?

Following up after talking with the other maintainers:
Normally, our current recommendation is to use the listener middleware to check the message text. I think this approach would give you what you need without Bolt adding a new built-in handler. In this case, you could listen for the app_mention event and then inspect the text using your regexp.
If it works for you, I'd love to see a small code sample! It would be helpful to others as well 🙇🏻

Yes, that's what I'm doing at the moment, but, I do find that it's a little inconsistent, given that message is a type of event, and is a "first class citizens" ie, has its own interface, but, mentions which is also a type of (similar) event, doesn't.
I don't think the middleware approach would work, here's what I think it would look like,

def only_hello(message, next):
    text = message.get('text')
    if text == 'hello':
        next()

def only_status(message, next):
    text = message.get('text')
    if re.search("status of [0-9]+"):
        next()

@app.event("app_mentions", middleware=[only_hello])
def say_hello(say):
    say("Hey there")!

@app.event("app_mentions", middleware=[only_status])
def handle_status(...)
    ...

I don't think is particularly elegant and is more boilerplate than code.

@azizmb Thanks for the response and code sample! I had a chat with @seratch. There is actually a simpler version of listener middleware called matchers that we haven't had a chance to document. We'll be adding the documentation in https://github.com/slackapi/bolt-python/issues/372
Using the method approach (code sample courtesy of @seratch):
def is_hello(message) -> bool:
    return message.get('text') == "hello"

@app.event("app_mention", matchers=[is_hello])
def handle_app_mention_events(event, say):
    say("Hey there!")

I know it's not as elegant as a built-in @app.mention method, but it works today out-of-the-box!
Using Lambda, it would look like:
@app.event(
   "app_mention",
   matchers=[lambda message: message.get('text') == "hello"]
)

def handle_app_mention_events(event, say):
    say("Hey there!")

Hey @mwbrooks! Tried this out today, but, receiving message as None in the matcher function.
Any ideas?

@azizmb The message argument is available only for app.message listener: https://slack.dev/bolt-python/api-docs/slack_bolt/kwargs_injection/args.html#slack_bolt.kwargs_injection.args.Args.message You can use either event or payload for app.event listeners.

I just tried this in a async app, and when trying to inline the matcher with a lambda I get the following error:
TypeError: object bool can't be used in 'await' expression

Which means I must create a seperate matcher function for each command.

@davidolrik You are right that lambda syntax is not available for async functions (it's Python's limitation). But you still can pass an async method as one of listener matchers in AsyncApp. Checking the example like is_eyes in this comment: https://github.com/slackapi/bolt-python/issues/284#issuecomment-815471920 may be helpful for you!

Yeah, that is what I'm doing - It's just a lot of boilerplate.
Having a keywords for app_mention events would eliminate all that boilerplate.


Bar color change onClick

Are there any examples which show how we can change an individual bars styles onClick?
For example I want the clicked bar to change color.

Hey @alangrn 👋 , thanks for checking out vx. Here's a modified sandbox of the Bar demo that includes onClick style-changing logic.
Hope it helps!


lldp topology discovery napp

[WIP] on branch "lldp"

@diraol, was this issue already addressed in another branch?

@cemsbr, @beraldoleal has done two commits[1] on this napp. I think that maybe this issue can be closed.
@beraldoleal can you confirm that this napp is already finished and it is working? ;)
[1] https://github.com/kytos/kyco-core-napps/commits/develop/kytos/of.lldp

yes, is closed for now. thanks.


docs: Add export example in README

This PR illustrates with an example the export format  in README. Any feedback is welcome!
Closes #343

I agree, I can move everything to the docs

This is how it renders in the models page of the doc:


IndexError: list index out of range

Hi, @chenjiandongx
I couldn't solve the problem as below via google it
$ scrapy crawl stackoverflow -o a.csv
...
2018-11-09 20:01:37 [scrapy.core.scraper] ERROR: Spider error processing <GET https://stackoverflow.com/questions?page=3&sort=votes&pagesize=50> (referer: None)
Traceback (most recent call last):
  File "~/anaconda3/lib/python3.6/site-packages/scrapy/utils/defer.py", line 102, in iter_errback
    yield next(it)
  File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/offsite.py", line 30, in process_spider_output
    for x in result:
  File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/referer.py", line 339, in <genexpr>
    return (_set_referer(r) for r in result or ())
  File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/urllength.py", line 37, in <genexpr>
    return (r for r in result or () if _filter(r))
  File "~/anaconda3/lib/python3.6/site-packages/scrapy/spidermiddlewares/depth.py", line 58, in <genexpr>
    return (r for r in result or () if _filter(r))
  File "~/stackoverflow-spider/stackoverflow/spiders/stackoverflow_spider.py", line 48, in parse
    sel.xpath('div[1]/div[3]/@title').extract()).split()[0].replace(",", "")
IndexError: list index out of range

Thank you!

Hi, may be Stack overflow has changed the html page structure.So the code raise ex now


[YUNIKORN-1499] Fix PriorityClass resource access for yunikorn-admission-controller when deploying.

What is this PR for?
When deploying yunikorn-admission-controller with
yunikorn-admission-controller-rbac, it shows can't list and watch for PriorityClass in pod log.
What type of PR is it?

[x] - Bug Fix
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/YUNIKORN/
Put link here, and add [YUNIKORN-Jira number] in PR title, eg. [YUNIKORN-2] Gang scheduling interface parameters

How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Thank you, @craigcondit, for review, in the scheduler rbac.yaml , we already used the cluster-admin cluster role which will cover the PriorityClass access.
`apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: yunikorn-rbac
subjects:

kind: ServiceAccount
name: yunikorn-admin
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
`

We should not be using the cluster admin role anywhere. That was dropped as part of the YUNIKORN-997 in release 1.0. Looks like we forgot to merge those changes intothe non helm examples.

We should not be using the cluster admin role anywhere. That was dropped as part of the YUNIKORN-997 in release 1.0. Looks like we forgot to merge those changes intothe non helm examples.

Thank you @wilfred-s for this reminder, i will cover this in this PR, and i will also create a new PR to check the helm chart priorityclass related things.

The helm charts have been updated via: apache/yunikorn-release#120
A copy of the charts is used during the e2e tests so without that change none of the e2e tests would work.

It makes sense to me @wilfred-s  , so i will cover the fine-grained and priority in example deployments, thanks!


Add preloader

It should match color palette.

I would like to work on this issue. Can you assign it to me?

I would like to work on this issue. Can you assign it to me?

Sure! Go ahead.


Work though an upgrade scenario for holdings

We should work though a scenario of upgrading holdings to understand what's involved.
I suggest to make this a tutorial right away, and put an example project into docs/code-samples.

Probably makes sense to think through https://github.com/digital-asset/daml-finance/issues/115 first.

maybe we can use the registry app as an example for it

We could turn the test Daml.Finance.Holding.Test.Upgrade into a tutorial, and also add an example how the lazy upgrade happens during settlement.

I think this would be a great addition, can you see if we can still fit this into 2.8?

Will look into it.


Should support audio transcription at word level

Currently only supports segment based timestamps, word based timestamps are also available: https://platform.openai.com/docs/api-reference/audio/createTranscription
needs support for property of timestamp_granularities which is an array of strings
timestamp_granularities[]
array
Optional
Defaults to segment

Support added a while ago: https://github.com/openai-php/client/releases/tag/v0.8.5


Pulling from remote git repository after a Force Push makes Thoth local repository inconsistent

We recently had an issue where someone made a mistake merging branches and some information got lost. We fixed this by applying the user's changes on top of a commit prior to the "bad" merge, and force pushing it.
When Thoth pulled from this repository, it tried to merge the two histories (which shouldn't happen), and failed to do so automatically. The repository was then left in this inconsistent state, and further pulls failed.
We fixed this by manually reseting the Thoth local repository to the latest commit on the remote repository.
IMO Thoth should replace any local history when pulling from the remote repository, and not try to merge anything. It should just replace the local contents.

This will be fixed in 1.0.3
I have added repos.reset().setMode(ResetType.HARD).call(); before the pull.


Plugin can start the app but no data/ extras sent

I'm trying to open a Square App from my Ionic 1 application using your plugin. Using this reference, I assume that the parameters passed from the intent anchor is the same as EXTRAS (android term).
Here's my code snippet:
var extrasObject = { /* extras */
    "action": "com.squareup.register.action.CHARGE",
    "package":"com.squareup",
    "S.browser_fallback_url":"<my-fallback-url>",
    "S.com.squareup.register.CLIENT_ID":"<my-client-id>",
    "S.com.squareup.register.WEB_CALLBACK_URI": "<registered-callback-uri>",
    "S.com.squareup.register.API_VERSION":"v1.3",
    "i.com.squareup.register.TOTAL_AMOUNT": 100,
    "S.com.squareup.register.CURRENCY_CODE":"USD",
    "S.com.squareup.register.TENDER_TYPES":"com.squareup.register.TENDER_CARD,com.squareup.register.TENDER_CARD_ON_FILE,com.squareup.register.TENDER_CASH,com.squareup.register.TENDER_OTHER"
};

var sApp = startApp.set({ /* params */
    "package":"com.squareup",
}, extrasObject).start(function() { /* success */
    console.log('Success!')
}, function(error) { /* fail */
    alert(error);
});

The Square App can successfully launch, but no data was sent. Can you help me figure out this one? Thanks!

A little late to the party, but did you end up figuring out how to accomplish this?

I'm seeing the same thing. Any ideas?


[WIP] Game conclusions

TODO

[x] implement conclusion logic for player B
[x] get the blockchain listener to work in order to listen for the GameConcluded event, emitted by the SimpleAdjudicator
[ ] implement conclusion logic for when the GameConcluded event is heard
[ ] improve the conclusion UX
[x] Add destination selection to the UI

Note about the gameConcluded event, as discussed with Alex: you always know that the gameConcluded event is coming, as both players must have signed a conclusion proof (and be on the wallet screen waiting) in order for the game to be concluded. It might be that we don't have to explicitly handle it here at all.
In general, there might not be a gameConcluded event when games conclude - as (when we move away from the simple adjudicator) a lot of games will be concluded completely off-chain.


ViewContractObservable (WhenAnyObservable) in ViewModelViewHost seems to not reflect replacement

If I define ViewContractObservable e.g in XAML on the ViewModelViewHost, then this Observable is not used, instead the default defined Observable is used.
If I comment out the default defined Observable from the ViewModelViewHost.cs, then the problem goes away and it will use my Observable.
Is this broken behavior of WhenAnyObservable in conjunction with DependencyProperty or?

Closing this due to age. If this is still a problem, please open another ticket with a minimal repro. For example, it's not clear from the question how you're setting the ViewContractObservable property in XAML (custom converter, markup extension?).


Fixes : UI Automation: Write an automated test using Cypress for "Enter selects the option"

Summary
Added a test when menu options are searched with keywork and entered the option.
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/13344
Jira https://mattermost.atlassian.net/browse/MM-21036

@srkgupta Thank you so much for appreciation. I have added the requested check.


chore: changed partition interval of signoz_metrics.samples

@ankitnayan Update this PR link here https://github.com/SigNoz/opentelemetry-collector-contrib/issues/10 after you merge the PR.


Notifications Format

Notification info
Previous Format: LW requests your investment in his idea ID: 14758.
New Format: ID: 14758 LW is requesting your investment in his idea.

done


Update Maven artifact versions in README to 2.0.4

Minor documentation update to include the latest version of the library.

Thanks :)


Resolve syncing conflicts from master-sync-work to master

Pull request opened by OPS to resolve syncing conflicts from master-sync-work to master.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.gitattributes
:white_check_mark:Succeeded

.openpublishing.publish.config.json
:white_check_mark:Succeeded

2017-03-09-profile/docs-ref-autogen/ext/dms-preview/dms/project/task.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

2018-03-01-hybrid/docs-ref-autogen/ext/dms-preview/dms/project/task.yml
:white_check_mark:Succeeded
View (azure-cli-2018-03-01-hybrid)

docfx.json
:white_check_mark:Succeeded

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

latest/docs-ref-autogen/ext/dms-preview/dms/project/task.yml
:white_check_mark:Succeeded
View (azure-cli-latest)

titleMapping.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Event Request] Table 1294 "Applied Payment Entry"

Hi,
Could you please add event before each function that have case statement for "Account Type" - we need to extend logic with new type and handle it?
Functions and trigger affected :

GetRemAmt
GetLedgEntryInfo
CalcAmountToApply
CheckCurrencyCombination
Trigger OnLookup() on field "Applies-to Entry No"

[IntegrationEvent(false, false)]
    local procedure OnBeforeGetRemAmt(AppliedPaymentEntry: Record "Applied Payment Entry"; var RemainAmt: Decimal;var IsHandled: Boolean)
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeGetLedgEntryInfo(var AppliedPaymentEntry: Record "Applied Payment Entry";var IsHandled: Boolean)
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeLookupAppliesToDocNo(var AppliedPaymentEntry: Record "Applied Payment Entry";var IsHandled: Boolean)
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeCalcAmountToApply(AppliedPaymentEntry: Record "Applied Payment Entry"; var RemainingAmount: Decimal;var IsHandled : Boolean)
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeCheckCurrencyCombination(AppliedPaymentEntry: Record "Applied Payment Entry"; var IsHandled : Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Updated service.md

Removed the Future Work section from https://kubernetes.io/docs/concepts/services-networking/service/

/assign  @gochist

This is for issue #19531

@sftim Sure, thank you for bringing that to my notice! Have edited the pull request now with the correct name 👍

@divya-mohan0209 the list of commits still mentions #19531 when I look.

@sftim Apologies, it should now be resolved. Please check and let me know, if anything else seems to be an issue?


Google Dataflow unsupported SDK version 0.5.5 error 400

While doing the Google Cloud Transfer learning flowers examples using my own data images, I have issues with launching the Dataflow with the correct version and getting an unsupported SDK error. It seems like the program somehow still download the old verison of Dataflow SDK instead of new ones. However, I have tried following upgrades before executing code :
*sudo pip install --upgrade -r requirements.txt
sudo pip install pip==9.0.3 ( to fix other error)
Code I am trying to use is Google cloud pre-processing using dataflow :
https://github.com/GoogleCloudPlatform/cloudml-samples (source)
code :
|python -E preprocess.py |
| |--input_path=PATH_TO_INPUT_CSV_FILE |
| |--input_dict=PATH_TO_INPUT_DIC_TXT_FILE |
| |--output_path=YOUR_OUTPUT_PATH |
| |--cloud|
Error log:
Collecting google-cloud-dataflow==0.5.5 Using cached https://files.pythonhosted.org/packages/18/18/e7d7a32f917d47bbcc7e3d5c9b60138a7d51adf04d155e0d400108915e79/google-cloud-dataflow-0.5.5.tar.gz Saved /tmp/tmp17oW97/google-cloud-dataflow-0.5.5.tar.gzSuccessfully downloaded google-cloud-dataflow
File "/home/zeyihe/.local/lib/python2.7/site-packages/apitools/base/py/base_api.py", line 604, in __ProcessHttpResponse http_response, method_config=method_config, request=request)apitools.base.py.exceptions.HttpBadRequestError: HttpError accessing https://dataflow.googleapis.com/v1b3/projects/nexgenai-224306/jobs?alt=json\: response: <{'status': '400', 'content-length': '342', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'transfer-encoding': 'chunked', 'vary': 'Origin, X-Origin, Referer', 'server': 'ESF', '-content-encoding': 'gzip', 'cache-control': 'private', 'date': 'Sun, 06 Jan 2019 13:11:24 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'application/json; charset=UTF-8'}>, content <{ "error": { "code": 400, "message": "(717cdaa221ed221e): The workflow was automatically rejected by the service because it uses an unsupported SDK version 0.5.5. For a list of supported SDK versions, see: \nhttps://cloud.google.com/dataflow/support#support-status-for-dataflow-sdk-releases", "status": "INVALID_ARGUMENT" }}

Imported from Jira BEAM-6384. Original Jira may contain additional context.
Reported by: DCD1688.

obsolete


add import functionality for harbor_config_auth

At the moment it is not possible (or I don´t know how) to import an already existing oidc configuration like harbor_config_auth
Can this feature please be added or the documentation be updatet to do this?
Thank you.

hi, @Tim-herbie
thank you, indeed it's not yet supported

Hi @Tim-herbie,
the feature will be available in the next release


Updating CLI golden path documents for preview 3

Title
Updating CLI golden path documents for preview 3.
Summary
Two new documents are added that are updated versions of /docs/core/tutorials/using-with-xplat-cli.md. The tutorial is also split in two to isolate the core of the tutorial from more optional and advanced parts.
Suggested Reviewers
@mairaw @blackdwarf @BillWagner @kendrahavens  @cartermp

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/core/tutorials/using-with-xplat-cli-msbuild.md
:warning:Warning
View
Details

docs/core/tutorials/using-with-xplat-cli-msbuild-folders.md
:white_check_mark:Succeeded
View
Details

docs/core/tutorials/using-with-xplat-cli.md
:white_check_mark:Succeeded
View
Details

docs/core/tutorials/using-with-xplat-cli-msbuild.md

Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/deploying/index.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/core/tutorials/using-with-xplat-cli-msbuild.md
:warning:Warning
View
Details

docs/core/tutorials/using-with-xplat-cli-msbuild-folders.md
:white_check_mark:Succeeded
View
Details

docs/core/tutorials/using-with-xplat-cli.md
:white_check_mark:Succeeded
View
Details

docs/core/tutorials/using-with-xplat-cli-msbuild.md

Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/deploying/index.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

I haven't had a chance to read these yet, but should this go to the cli-preview3 folder we're creating in PR #1233? The Core guide will stay with the Preview 2 content.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild-folders.md
:warning:Warning
View
Details

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild.md
:warning:Warning
View
Details

docs/core/tutorials/using-with-xplat-cli.md
:white_check_mark:Succeeded
View
Details

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild-folders.md

Line 300: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-test.md).

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild.md

Line 19: [Warning] Invalid file link:(~/docs/cli-preview3/sdk.md).
Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/deploying/index.md).
Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-run.md).
Line 313: [Warning] Invalid file link:(~/docs/cli-preview3/tutorials/cli-console-app-tutorial-advanced.md).
Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-build.md).
Line 112: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-restore.md).
Line 39: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-new.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/cli-preview3/tutorials/using-on-windows-vs-2017.md
:warning:Warning
View
Details

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild-folders.md
:warning:Warning
View
Details

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild.md
:warning:Warning
View
Details

docs/cli-preview3/tutorials/using-on-windows-vs-2017-full-solution.md
:white_check_mark:Succeeded
View
Details

docs/core/tutorials/using-with-xplat-cli.md
:white_check_mark:Succeeded
View
Details

docs/cli-preview3/tutorials/using-on-windows-vs-2017.md

Line 45: [Warning] Invalid file link:(~/docs/cli-preview3/tutorials/using-on-windows-vs-2017-full-solution).

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild-folders.md

Line 300: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-test.md).

docs/cli-preview3/tutorials/using-with-xplat-cli-msbuild.md

Line 19: [Warning] Invalid file link:(~/docs/cli-preview3/sdk.md).
Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/deploying/index.md).
Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-run.md).
Line 313: [Warning] Invalid file link:(~/docs/cli-preview3/tutorials/cli-console-app-tutorial-advanced.md).
Line 118: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-build.md).
Line 112: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-restore.md).
Line 39: [Warning] Invalid file link:(~/docs/cli-preview3/tools/dotnet-new.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/core/preview3/tutorials/using-on-windows-vs-2017.md
:warning:Warning
View
Details

docs/core/preview3/tutorials/using-on-windows-vs-2017-full-solution.md
:white_check_mark:Succeeded
View
Details

docs/core/preview3/tutorials/using-with-xplat-cli-msbuild-folders.md
:white_check_mark:Succeeded
View
Details

docs/core/preview3/tutorials/using-with-xplat-cli-msbuild.md
:white_check_mark:Succeeded
View
Details

docs/core/preview3/windows-prerequisites.md
:white_check_mark:Succeeded
View
Details

docs/core/tutorials/using-with-xplat-cli.md
:white_check_mark:Succeeded
View
Details

docs/core/preview3/tutorials/using-on-windows-vs-2017.md

Line 45: [Warning] Invalid file link:(~/docs/core/preview3/tutorials/using-on-windows-vs-2017-full-solution).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:x: Validation status: errors

File
Status
Preview URL
Details

docs/core/preview3/tutorials/index.md
:white_check_mark:Succeeded

Details

docs/core/preview3/tutorials/media/console-app-solution.png
:white_check_mark:Succeeded

Details

docs/core/preview3/tutorials/media/new-project-console-app.png
:white_check_mark:Succeeded

Details

docs/core/preview3/tutorials/using-on-windows-vs-2017-full-solution.md
:white_check_mark:Succeeded

Details

docs/core/preview3/tutorials/using-on-windows-vs-2017.md
:white_check_mark:Succeeded

Details

docs/core/preview3/tutorials/using-with-xplat-cli-msbuild-folders.md
:white_check_mark:Succeeded

Details

docs/core/preview3/tutorials/using-with-xplat-cli-msbuild.md
:white_check_mark:Succeeded

Details

docs/core/preview3/windows-prerequisites.md
:white_check_mark:Succeeded

Details

docs/core/tutorials/using-with-xplat-cli.md
:white_check_mark:Succeeded

Details

docs/toc.md
:white_check_mark:Succeeded

Details

samples/core/console-apps/FibonacciBetterMsBuild/Fibonacci.csproj
:white_check_mark:Succeeded

Details

samples/core/console-apps/FibonacciBetterMsBuild/FibonacciGenerator.cs
:white_check_mark:Succeeded

Details

samples/core/console-apps/FibonacciBetterMsBuild/Program.cs
:white_check_mark:Succeeded

Details

samples/core/console-apps/HelloMsBuild/Hello.csproj
:white_check_mark:Succeeded

Details

samples/core/console-apps/HelloMsBuild/Program.cs
:white_check_mark:Succeeded

Details

samples/core/console-apps/HelloMsBuild/README.md
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/README.md
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/src/NewTypes/NewTypes.csproj
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/src/NewTypes/Pets/Cat.cs
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/src/NewTypes/Pets/Dog.cs
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/src/NewTypes/Pets/IPet.cs
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/src/NewTypes/Program.cs
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/test/NewTypesTests/NewTypesTests.csproj
:white_check_mark:Succeeded

Details

samples/core/console-apps/NewTypesMsBuild/test/NewTypesTests/PetTests.cs
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


router: support for x-forwarded-host header.

Commit Message: Support for x-forwarded-host header.
Additional Description:
If, for a request, the host/authority header is changed when the
request is proxied, set the x-forwarded-host header as:
x-forwarded-host = append(x-forwarded-host, host)
Risk Level: Low
Testing: unit test and manual testing
Docs Changes:
Added x-forwarded-host header in HTTP header manipulation
(configuration/http/http_conn_man/headers).
Under the host_rewrite options in route_components.proto
(in v2, v3, and v4alpha), added that when host is rewritten,
XFH header is appended with the original value of host header.
Release Notes: router: added support for x-forwarded-host header.
Platform Specific Features: No
Fixes https://github.com/envoyproxy/envoy/issues/5940

I had to delete my repo. Will send a fresh PR.


[Bug] Cloudinary.UploadWidget - encountered error !  DOMException: Failed to execute 'postMessage' on 'Window

Bug Report
Describe the bug
The Uploadwidget throws a DOM error when opened
Cloudinary.UploadWidget - encountered error !  DOMException: Failed to execute 'postMessage' on 'Window': open(t,e){return y(t,e),this} could not be cloned.
    at Object.I [as postMessage] (https://widget.cloudinary.com/v2.0/global/all.js:1:118510)
    at Object.i [as sendMessage] (https://widget.cloudinary.com/v2.0/global/all.js:1:125177)
    at https://widget.cloudinary.com/v2.0/global/all.js:1:124417
    at https://widget.cloudinary.com/v2.0/global/all.js:1:124194
    at https://widget.cloudinary.com/v2.0/global/all.js:1:124200

Steps To Reproduce the error

Go to next examples: https://next.cloudinary.dev/clduploadwidget/basic-usage
Click button "Upload an image"
Error thrown in console

Expected behaviour
No error

Facing the same error @colbyfayock @haraldini @kbravh
app-index.js:31 Cloudinary.UploadWidget - encountered error !  DOMException: Failed to execute 'postMessage' on 'Window': open(t,e){return y(t,e),this} could not be cloned.
    at Object.I [as postMessage] (https://widget.cloudinary.com/v2.0/global/all.js:1:118510)
    at Object.i [as sendMessage] (https://widget.cloudinary.com/v2.0/global/all.js:1:125177)
    at https://widget.cloudinary.com/v2.0/global/all.js:1:124417
    at https://widget.cloudinary.com/v2.0/global/all.js:1:124194
    at https://widget.cloudinary.com/v2.0/global/all.js:1:124200

URL to check error in console: https://airbnb-lite-psi.vercel.app/
Video to reproduce:  https://github.com/colbyfayock/next-cloudinary/assets/32722867/ba0a1658-64cd-478a-a506-64b1819999d7
refer code: https://github.com/satyajitnayk/airbnb-light/blob/main/app/components/inputs/ImageUpload.tsx#L29

this error make my app just can upload once after that i need to reload again, it can be done with deupgrade to<EMAIL_ADDRESS>but i can't use onSuccess feature in that version

hey all, have a fix in, going to test it again in the morning before merging it in, but looks like it was just a silly mistake that's easily fixed. i appreciate your patience on this


Replace ejs templates with react

Closes #5

Thanks @arvigeus! Will merge and test this locally tomorrow.

Merged this in #9. Made a few tweaks with linting and proptypes being passed, but very few changes otherwise. Great work @arvigeus - thanks for taking the time to work on it!


What column name should be added for the slug?

The docs say:

Of course, your model and database will need a column in which to store the slug. You will need to add this manually via your own migration.

I assume the column name should be slug but it would be nice if the docs made that explicit. I'm happy to send a PR updating this sentence if my assumption is correct. Thanks!

It doesn't need to be named slug. You could name it anything you want: url maybe, if that's what you use slugs for.

On Sep 19, 2017, at 6:28 PM, Aaron Parecki<EMAIL_ADDRESS>wrote:
The docs say:
Of course, your model and database will need a column in which to store the slug. You will need to add this manually via your own migration.
I assume the column name should be slug but it would be nice if the docs made that explicit. I'm happy to send a PR updating this sentence if my assumption is correct. Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Is that defined in the config file or something? I just wanted to point out that the readme was ambiguous on this.

You define it in the configuration method in your model, e.g.:
    public function sluggable()
    {
        return [
            'url' => [
                'source' => 'title'
            ]
        ];
    }

The key in that array (i.e. url) is the slug field you will need to add to your model.
Also note that you can have more than one sluggable field in your model, so your configuration array would have more than one key, and your model would need fields for both.

So what I was trying to point out was that the example sluggable method is unclear. It was not clear that the slug string below is referring to the column name, and isn't just some hard-coded string the module needs.
    public function sluggable()
    {
        return [
            'slug' => [
                'source' => 'title'
            ]
        ];
    }

I would have understood quicker what to do if this first example clarified that the column name is the key of the configuration array.


VM crash when running analyzer in LSP mode with VM Service enabled

I thought I'd raised this before, but I can't find it and I'm hitting this again today trying to do some CPU profiling of the analysis server.
When running the analysis server in LSP mode with --enable-vm-service, the VM crashes during initialisation:
[10:51:05 AM] [Analyzer] [Info] Spawning /Users/danny/Dev/Google/flutter/bin/cache/dart-sdk/bin/dart with args ["--enable-vm-service=9111","-DSILENT_OBSERVATORY=true","--disable-service-auth-codes","/Users/danny/Dev/Google/flutter/bin/cache/dart-sdk/bin/snapshots/analysis_server.dart.snapshot","--lsp","--client-id=VS-Code","--client-version=3.24.2"]
[10:51:05 AM] [Analyzer] [Info]     PID: 3382
[10:51:05 AM] [Analyzer] [Info] ==> Content-Length: 4884
[10:51:05 AM] [Analyzer] [Info] ==> {"jsonrpc":"2.0","id":0,"method":"initialize","params":{ // snip long VS Code initalization params
[10:51:05 AM] [Analyzer] [Info] <== The Dart DevTools debugger and profiler is available at: http://<IP_ADDRESS>:9111/devtools/#/?uri=ws%3A%2F%2F<IP_ADDRESS>%3A9111%2Fws
[10:51:06 AM] [Analyzer] [Info] <== Content-Length: 408
Content-Type: application/vscode-jsonrpc; charset=utf-8
[10:51:06 AM] [Analyzer] [Error]
===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x50
version=2.14.0-312.0.dev (dev) (Tue Jul 13 15:32:06 2021 -0700) on "macos_x64"
pid=3382, thread=21251, isolate_group=(nil)(0x0), isolate=(nil)(0x0)
isolate_instructions=0, vm_instructions=1066bfdc0
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001069d3a81 fp 0x00007000081981f0 dart::ServiceEvent::ServiceEvent(dart::Isolate*, dart::ServiceEvent::EventKind)+0x21
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001069c2ed5 fp 0x0000700008198340 dart::Service::SendEmbedderEvent(dart::Isolate*, char const*, char const*, unsigned char const*, long)+0x45
[10:51:06 AM] [Analyzer] [Error]   pc 0x0000000106c4c003 fp 0x0000700008198360 Dart_ServiceSendDataEvent+0xe3
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001067f13c9 fp 0x00007000081983a0 dart::bin::File::WriteFully(void const*, long long)+0xb9
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001067eddf7 fp 0x00007000081983f0 dart::bin::File::WriteFromRequest(dart::bin::CObjectArray const&)+0x2d7
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001066abf97 fp 0x0000700008198440 dart::bin::IOServiceCallback(long long, _Dart_CObject*)+0x2d7
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001068be94f fp 0x0000700008198db0 dart::NativeMessageHandler::HandleMessage(std::__1::unique_ptr<dart::Message, std::__1::default_delete<dart::Message> >)+0xbf
  pc 0x00000001068bbb03 fp 0x0000700008198e30 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x133
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001068bc129 fp 0x0000700008198e90 dart::MessageHandler::TaskCallback()+0x1e9
  pc 0x00000001069f4e68 fp 0x0000700008198f20 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x158
[10:51:06 AM] [Analyzer] [Error]   pc 0x00000001069f513f fp 0x0000700008198f50 dart::ThreadPool::Worker::Main(unsigned long)+0x6f
[10:51:06 AM] [Analyzer] [Error]   pc 0x000000010694eba5 fp 0x0000700008198fb0 dart::ThreadStart(void*)+0xb5
  pc 0x00007fff205718fc fp 0x0000700008198fd0 _pthread_start+0xe0
  pc 0x00007fff2056d443 fp 0x0000700008198ff0 thread_start+0xf
-- End of DumpStackTrace

To reproduce, set the following VS Code settings to ensure LSP is enabled, the VM Service is enabled and it's being logged to a file (be sure to revert them after testing):
{
	"dart.analyzerVmServicePort": 9111,
	"dart.analyzerLogFile": "logs/analyzer.txt",
	"dart.previewLsp": true
}

I was testing with a Flutter project using Flutter SDK (so using the Dart SDK included in) at hash https://github.com/flutter/flutter/commit/e990f4b9120ec7df9597a000aa678d1582f25ef1.

/cc @bkonyi @rmacnak-google

I hit this again today, and discovered that if I use "dart language-server" the issue doesn't seem to occur, but using "dart /path/to/analysis_server.snapshot" it does. I don't know if that's just fluke or not.
Since you have to send a valid LSP package before it crashes, here's a repro script. Enter an SDK path at the top and it'll crash if useSnapshot=true but not if useSnapshot=false.
import 'dart:convert';
import 'dart:io';

/// Whether to use snapshot (if false, uses "dart languge-server" command).
const useSnapshot = true;

const sdkLocation = '/Users/danny/Dev/Dart SDKs/nightly';

const initMessage =
    '{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":12752,"rootUri":"file:///Users/danny/Dev/TestStuff/win32","capabilities":{}}}';

Future<void> main() async {
  final vm = '$sdkLocation/bin/dart';
  final snapshot = '$sdkLocation/bin/snapshots/analysis_server.dart.snapshot';
  final args = [
    '--enable-vm-service=0',
    '-DSILENT_OBSERVATORY=true',
    '--disable-service-auth-codes',
    '--no-serve-devtools',
    if (useSnapshot) ...[
      snapshot,
      '--lsp',
    ] else
      'language-server'
  ];

  final proc = await Process.start(vm, args);

  proc.stdout.transform(utf8.decoder).listen((s) => print('<== $s'));
  proc.stderr.transform(utf8.decoder).listen((s) => print('<== $s'));

  void write(String s) {
    print('==> $s');
    proc.stdin.add(utf8.encode(s));
  }

  write('Content-Length: ${initMessage.length}\r\n\r\n');
  write('$initMessage\r\n');

  await proc.exitCode;
}

==> Content-Length: 145
==> {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":12752,"rootUri":"file:///Users/danny/Dev/TestStuff/win32","capabilities":{}}}
<== Content-Length: 1773
Content-Type: application/vscode-jsonrpc; charset=utf-8
<==
===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x58
version=2.16.0-edge.b1955d63ad678b651b09db3dd286136c4463f36b (be) (Mon Nov 22 17:02:50 2021 +0000) on "macos_x64"
pid=12988, thread=3587, isolate_group=(nil)(0x0), isolate=(nil)(0x0)
isolate_instructions=0, vm_instructions=105b309e0
  pc 0x0000000105e00033 fp 0x000070000800a6a0 dart::ServiceEvent::ServiceEvent(dart::Isolate*, dart::ServiceEvent::EventKind)+0x13
  pc 0x0000000105deff27 fp 0x000070000800a7f0 dart::Service::SendEmbedderEvent(dart::Isolate*, char const*, char const*, unsigned char const*, long)+0x37
  pc 0x00000001062732d5 fp 0x000070000800a800 Dart_ServiceSendDataEvent+0x75
  pc 0x0000000105c35fd9 fp 0x000070000800a840 dart::bin::File::WriteFully(void const*, long long)+0xa9
  pc 0x0000000105c332b5 fp 0x000070000800a890 dart::bin::File::WriteFromRequest(dart::bin::CObjectArray const&)+0x2a5
  pc 0x0000000105b1dd75 fp 0x000070000800a8e0 dart::bin::IOServiceCallback(long long, _Dart_CObject*)+0x2b5
  pc 0x0000000105cfe712 fp 0x000070000800ade0 dart::NativeMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0x92
  pc 0x0000000105cea2a8 fp 0x000070000800ae50 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x228
  pc 0x0000000105cea8bf fp 0x000070000800aea0 dart::MessageHandler::TaskCallback()+0x1df
  pc 0x0000000105e16c08 fp 0x000070000800af30 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x138
  pc 0x0000000105e1709d fp 0x000070000800af60 dart::ThreadPool::Worker::Main(unsigned long)+0x5d
  pc 0x0000000105d89daf fp 0x000070000800afb0 dart::OSThread::GetMaxStackSize()+0xaf
  pc 0x00007fff204a98fc fp 0x000070000800afd0 _pthread_start+0xe0
  pc 0x00007fff204a5443 fp 0x000070000800aff0 thread_start+0xf
-- End of DumpStackTrace

Exited

Oh, but it turns out it does still occur when running from source (which makes it difficult for me to profile while also make changes to the code).
I'm not sure what the cause is, but if anyone knows of any possible workarounds I might be able to use in the meantime, that would be very useful.

Resolved by 9c8f51f

@bkonyi awesome, thanks! :)


bottom limit in 1.19 is -64 instead of 0

As it didn't get merged, could you provide a compiled version including your modification?

You can simply download my updated repository from https://github.com/GamesMCde/WorldBorder/tree/1.19 and compile it with maven


CP-SAT: The more search_workers, the more time used to get the first feasible solution.

Hello, @lperron.
I am working on some job shop like problem and I am doing some test using jobshop_sat.cc.
I found when num_search_workers set to 8, it usually take more time to get the 1st feasible solution than 1. Is this normal? Should num_search_workers be set to 1 if I want to get 1st feasible as soon as possilbe?
Thanks a lot!

Search is non deterministic, and workers share information, which in turn can change the search.
In practise, it improves search a lot, but you can be unlucky.

Thanks for the reply.
I think I get a little more understanding.


Calculating rate of traffic

I'm pushing counter values (not rate) of network traffic from server to influxdb. I want to show that metrics on the graphs in Grafana. My goal is to always have bytes/s, no matter the timespan I select.
I'm using influxdb version 0.9.3.
My data looks like this:
2015-09-11T11:59:40Z<PHONE_NUMBER>33
2015-09-11T11:59:50Z<PHONE_NUMBER>16
2015-09-11T12:00:00Z<PHONE_NUMBER>05
2015-09-11T12:00:10Z<PHONE_NUMBER>49
2015-09-11T12:00:20Z<PHONE_NUMBER>35
2015-09-11T12:00:30Z<PHONE_NUMBER>97
2015-09-11T12:00:40Z<PHONE_NUMBER>67
2015-09-11T12:00:50Z<PHONE_NUMBER>83
Calculating derivative is simple:
SELECT derivative(value) FROM "interface" WHERE "fqdn" = 'graphite' AND time > now() - 1h
But this returns a lot of results if I want to graph last 24h. If I understand correctly, we use GROUP BY to create buckets (example, if we use GROUP BY time(60s) it should calculate average rate per 60s bucket (average bytes/s rate in 60s) and return 60 metrics(given that our timespan is 1h and group by time is set to 60s).
In my case, I get last metric minus first metric for all entries:
SELECT derivative(value) FROM "interface" WHERE "fqdn" = 'graphite' AND time > now() - 1h GROUP BY time(60s)
2015-09-11T12:03:00Z	16909020
2015-09-11T12:03:10Z	16788006
2015-09-11T12:03:20Z	17410074
2015-09-11T12:03:30Z	16606902
2015-09-11T12:03:40Z	16283814
2015-09-11T12:03:50Z	16490946
If I divide this numbers by 60, I get bytes/s. Should it work like this?
As far as I understand, I should get 60s buckets with average transfer rate in bytes/s like so:
2015-09-11T12:03:00Z	281817
2015-09-11T12:04:00Z	279800
2015-09-11T12:05:00Z	290167
2015-09-11T12:06:00Z	276781
2015-09-11T12:07:00Z	271396
How to achieve that? What am I doing wrong?
If I use mean() function instead of derivative(), then I get the right buckets, but calculations are obviously wrong.
2015-09-11T12:15:00Z<PHONE_NUMBER>36.1666
2015-09-11T12:16:00Z<PHONE_NUMBER>12.1666
2015-09-11T12:17:00Z<PHONE_NUMBER>72
2015-09-11T12:18:00Z<PHONE_NUMBER>44.8333

derivative takes an optional second argument that changes which unit the derivative returns. You can use derivative(value, 1s) if you want to see the rate per second within the group by time

This looks like it returns the right results (bytes per second), but I think group by time is not working correctly.
Query
SELECT derivative(value,1s) FROM "interface" WHERE "fqdn" = 'graphite' AND time > now() - 1h group by time(60s)
returns
2015-09-11T15:46:10Z	261784.5
2015-09-11T15:46:20Z	247362.8
2015-09-11T15:46:30Z	260923.5
2015-09-11T15:46:40Z	265645.9
2015-09-11T15:46:50Z	258242.9
2015-09-11T15:47:00Z	249119.8

Shouldn't it return something like (notice the time buckets):
2015-09-11T15:46:00Z	261784.5
2015-09-11T15:47:00Z	247362.8
2015-09-11T15:48:00Z	260923.5
2015-09-11T15:49:00Z	265645.9
2015-09-11T15:50:00Z	258242.9
2015-09-11T15:51:00Z	249119.8

+1 – I had the same confusion. I also wanted to log the raw data to not lose detail right away and have been trying to make CQs to make it easier to graph and down sample the data and have been running into the same issue.

I'm glad I'm not the only one.

hmm, looks like I was confused about how exactly the derivative function works.
Good news is that I think I found a way of executing the query you want. SELECT derivative(first(value), 1s) from ...

I don't think this works as expected as well.
Executing SELECT derivative(first(value), 1s) FROM... returns only 1 hit with value 0:
interface
time	derivative
2015-09-14T14:05:00Z	0

@matejzero Try adding a fill(0)

fill(0) looks like it solves the problem. I will try to show metrics on graph and compare to Graphite metrics.
By the way, can you explain to me, what this query and fill(0) actually does, so I can understand better.

If you run something like:
SELECT derivative(first(value), 1s) FROM foo WHERE time > now() - 1h GROUP BY time(10s)

It first runs:
SELECT first(value) FROM foo WHERE time > now() - 1hr GROUP BY time(10s)

This returns the first value for each 10s interval over the last hour.  From these results, it calculates the derivative between each 10s bucket and converts it to a 1s rate.
The fill(0) is needed because the first group by query would not return all the data required to calculate a derivative for all the buckets.  The derivative currently exits early if it's missing some data which is why you were only getting one point back w/ 0.  derivative should probably be changed to assume 0 for missing data values though.

Maybe I was too fast with my response.
Using fill(0) gives this response:
time	derivative
2015-09-14T16:12:00Z<PHONE_NUMBER>4.4
2015-09-14T16:13:00Z<PHONE_NUMBER>3333336
2015-09-14T16:14:00Z<PHONE_NUMBER>6666664
2015-09-14T16:15:00Z	286938.35
2015-09-14T16:16:00Z	299208.4

If I look at the raw data, I can see why (SELECT first(value) FROM ...):
time	first
2015-09-14T16:13:00Z	0
2015-09-14T16:14:00Z<PHONE_NUMBER>34
2015-09-14T16:15:00Z<PHONE_NUMBER>35
2015-09-14T16:16:00Z<PHONE_NUMBER>39
2015-09-14T16:17:00Z<PHONE_NUMBER>42

On the other hand, if I use fill(none), then it leaves out the first response where we don't have enough data, but leaves the rest. Is this the right way to go?

I think this gives me the results I want. I changed first() function with mean() and the result is almost the same as graphite graphs.


SVM model for classification in classifier.py is not working

https://github.com/bytefish/facerec/blob/master/py/facerec/classifier.py#L140
svm_model() is not defined in the program.
How to create the svm object for traning the model and use the other class functions for prediction.

I have the same doubt, this code line cannot work

I'm facing the same issue!

I think this project is incomplete.

Actually Wagner did a great job in developing this project since I have used the simple_example that he attached and it works nicely.  As a newbie in face recognition, I really like it, I've leaned a lot from it.

I think you can simply delete the problematic line and it should work without problems. I can't verify it at the moment, because I don't have access to the develooment environment right now.
Anyway, this is an open source project. Please feel free to make pull requests.

I was able to work SVM classifier, you have to use LIBSVM so that you need to download its repository from GitHub and build it. I made a commit for resolving some problems about it. By the way, you have made a great job @bytefish.

Fixed with the latest release, which now uses scikit-learn.


Support travis

This PR provides some changes (reorganize imports, creation of setup.py, etc.) to support the execution of CI tests.

I don't have permission to activate Travis on this repo (so I cannot check if everything works smoothly). Btw the tests work locally (@Polaris000 checked it on his side too).

This PR tackles issue https://github.com/chaoss/wg-evolution/issues/225

This kind of makes sense, but I wonder if the reference implementations are actually going to change that much over time. My expectation is that they will evolve 😂 slowly. I am not opposed in any way, but I wonder if we might go such a long time before the reference implementation changes that whoever wrote the tests won't be around to help interpret a failure. Merely a thought.

Thank you @sgoggins for your comment

This also resolves issue #179.

This kind of makes sense, but I wonder if the reference implementations are actually going to change that much over time. My expectation is that they will evolve joy slowly. I am not opposed in any way, but I wonder if we might go such a long time before the reference implementation changes that whoever wrote the tests won't be around to help interpret a failure. Merely a thought.

I understand your concerns, @sgoggins. But the idea of the tests tend to be that: if in the future they fail, somebody will have to research to know why they fail. Usually, it is better to know they are no longer working (even to decide t drop them), than to ignore that, and have a reference implementation which is not working. More details in the referenced issues.
So, if nobody opposes, I will configure the repo to run those tests.

I am okay with tests, but I think about implications they have on the
working group.
Is there any technical debt that the WG collects by adding tests?
Does this raise the requirements for all metrics to include tests to be
considered complete?

I am okay with tests, but I think about implications they have on the working group. Is there any technical debt that the WG collects by adding tests? Does this raise the requirements for all metrics to include tests to be considered complete?

This is something that of course we can discuss. Tests are (I think) a part of the reference implementation, written to ensure that the code produces the expected output. Of course we can live without them, but that means that checking that changes to the reference implementations are good will require manual intervention: tests will be helpful mostly on that front.
In case this adds tech debt to the future, or just that they don't help, we could decide to drop them in the future. And I don't think this should be a requirement for metrics. Now, even having a reference implementation is not a requirement. Depending on how we evolve, maybe at some point having a reference implementation becomes a requirement, if we all decide so, and maybe later having tests for the reference implementation too. But not for now, not without a general consensus, and I think nobody is even proposing that.
From another point of view, you can also consider this as a proof of concept, to test the idea of having tests in this repo, and later help us to evaluate if the idea of reference implementations, and tests for them, is good enough to extend to other wgs...
What do you thnk?

I agree. Thank you. Let's learn more about tests in reference
implementations.

After @GeorgLink comment, I'm merging this patch, since nobody seems to oppose, and we need it to move forward. Thanks to all of you!


Feature/15 bump do-py to 0.4.0

Codecov Report

Merging #16 (0fdd5e5) into master (4cd17d6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          393       374   -19
=========================================
- Hits           393       374   -19

Impacted Files
Coverage Δ

db_able/savable.py
100.00% <0.00%> (ø)

db_able/listable.py
100.00% <0.00%> (ø)

db_able/loadable.py
100.00% <0.00%> (ø)

db_able/creatable.py
100.00% <0.00%> (ø)

db_able/deletable.py
100.00% <0.00%> (ø)

db_able/client/__init__.py
100.00% <0.00%> (ø)

db_able/base_model/params.py
100.00% <0.00%> (ø)

db_able/base_model/database_abc.py
100.00% <0.00%> (ø)

db_able/base_model/kwargs_validator.py
100.00% <0.00%> (ø)

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 4cd17d6...0fdd5e5. Read the comment docs.


balenaOS fork - necessary changes

Hi @srednak and thank you for work on supporting balenaOS on this board!
I have forked your repository at https://github.com/balena-os/balena-st-stm32mp and will need a couple more things to bring this device type to the cloud:

We'll need an svg icon and a contract which uses the same 'slug' as the device, for example https://github.com/balena-io/contracts/tree/master/contracts/hw.device-type/nanopc-t4
The slug will need to be set here: https://github.com/srednak/balena-st-stm32mp/blob/dunfell/qsmp1570-qsbase1.coffee#L6 , and should be the same as in the contracts. I suggest using the 'qsmp1570-qsbase1' slug.
Provisioning instructions will need to be filled in the coffee file: https://github.com/srednak/balena-st-stm32mp/blob/dunfell/qsmp1570-qsbase1.coffee#L12
I see the README mentions that only eMMC has been tested, so the provisioning instructions will need to mention how the eMMC should be flashed.
This directory does not contain yocto recipes and should be removed: https://github.com/srednak/balena-st-stm32mp/tree/dunfell/layers/meta-balena-st-stm32mp
This line in the supervisor recipe isn't needed anymore: https://github.com/srednak/balena-st-stm32mp/blob/dunfell/layers/meta-balena-st-stm32mp/recipes-containers/docker-disk/balena-supervisor.bbappend#L1 because it has been renamed here: https://github.com/balena-os/meta-balena/commit/2d284b2015e3d7f6c6a37a63ce49f6f89da7696d
Is this append really necessary: https://github.com/srednak/balena-st-stm32mp/blame/dunfell/layers/meta-balena-st-stm32mp/recipes-devtools/kernel-modules-headers/kernel-modules-headers.bbappend ? Can you check if dropping works?
Is this file used: https://github.com/srednak/balena-st-stm32mp/tree/dunfell/layers/meta-balena-st-stm32mp/recipes-support/balena-init ? In the coffee file I see the image is not a flasher and also the directory name is 'balena-init', different from the corespondent in meta-balena, so the resin-init-flasher append is not used in the build.

For steps 4 to 7 it would be great if you could also update the repository to the latest revision of balenaOS and balena-yocto-scripts to check if the build succeeds and the device boots fine? Once the above points are addressed we will pull your updated repo in our fork and deploy the image in the dashboard.
Thank you

@srednak are you still using this device type?

Personally I don't. It was used on my previous job.
Den ons 31 maj 2023 11:07Florin Sarbu @.***> skrev:

@srednak https://github.com/srednak are you still using this device
type?
—
Reply to this email directly, view it on GitHub
https://github.com/srednak/balena-st-stm32mp/issues/1#issuecomment-1569797698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM7GFDR37NU2CBP5SKGPFM3XI4C55ANCNFSM5RQNAUZA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks.
Can you put us in contact with somebody from your previous company so we can check if they still use this?

@floion Hi, I'm working as a project manager responsible for this. We are still using this and are interested in bringing this to balena. You can reach me at<EMAIL_ADDRESS>