text:
Fix ineffective error code checks.

I believe that the error code checking in vmaCreateImage is wrong, possibly causing null pointer dereferencing issues, if allocation fails. The checks in this method test the result value against >= 0, which should always evaluate to true, as VK_SUCCESS is defined as 0 and all errors are integers greater than that. This function is the only function that tests results this way.
This PR replaces the checks by explicitly testing against VK_SUCCESS, which I believe is the intended behavior.
For context, I've encountered this issue, as clang-tidy complained about a possible null pointer deref here:
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/blob/05973d8aeb1a4d12f59aadfb86d20decadba82d1/include/vk_mem_alloc.h#L16161-L16188
... which from my understanding can happen if the earlier call to allocator->AllocateMemory fails. In this case, pAllocation will be freed and explicitly set to 0 (for example here). Depending on the exact configuration and provided flags, the code may then attempt to dereference the null pAllocation in one of the three function calls below line 16163.

Thank you for this fix. I merged it.
However, it is not true that res >= 0 will always evaluate to true. Please see the documentation of VkResult https://docs.vulkan.org/spec/latest/chapters/fundamentals.html#fundamentals-returncodes Error codes have negative values, VK_SUCCESS is zero, and positive values are reserved for other special-purpose but non-error results like VK_INCOMPLETE.

Thanks! Yes, you're right - I guess I've somehow assumed they are unsigned. But I still think that discarding everything that's not VK_SUCCESS is the intended behavior and it should fix the clang-tidy complaints. 🙂


text:
agoReleaseGraph hangs with multithreading

agoReleaseGraph function in openvx/ago/ago_interface.cpp hangs when used with latest multithreading code

Fixed with resent PR

#266

source: gharchive/issue

authors: hansely kiritigowda rrawther

license: MIT

license_type: permissive

license_source: github-api


text:
scons not listed as a dependency, but is required.

Build/Linux/build_rcp.sh invokes scons, but nowhere is it listed as required. If you start with a clean install of Ubuntu, you will get confusing error that lists "Build arguments passed to scons" but obviously they weren't, if you don't have scons.
Command line arguments passed to build_rcp.sh:
RCPROOT=/home/crews/RCP/Build/Linux/../..
=====Building Radeon Compute Profiler======
Building infra projects
Build arguments passed to scons:
----------- Start building ---------------
Sun Feb  4 10:44:00 EST 2018
scons -C /home/crews/RCP/Build/Linux/../../Build/Linux CXL_prefix=/home/crews/RCP/Build/Linux/../../Output CXL_build_type=static
*** ERROR during the build of the 64 bit framework ***
(scons -C /home/crews/RCP/Build/Linux/../../Build/Linux CXL_prefix=/home/crews/RCP/Build/Linux/../../Output CXL_arch=x86 CXL_build_type=static )
*** ERROR during the build of the 32 bit framework ***
----------- End building -----------------
Sun Feb  4 10:44:00 EST 2018
*** ERROR ***
*** the build failed - see the logs for details ***
sudo apt-get install scons fixed issue. Should be listed as a prerequisite along with python

Thanks for pointing this out.  We will update the list of prerequisites in BUILD.md to include scons.

authors: Mandrewoid chesik-amd

repo: GPUOpen-Tools/RCP

license: mit

license_source: bigquery


text:
Hessian matrix

Hello,
Can you please tell me how to get the Hessian matrix or second derivative in GPflow?

You can use tf.hessians. Which hessian are you after? If you want the objective wrt to the  model parameters this is a bit fiddly as the parameters aren't packed into a single vector. If you want the hessian wrt e.g. test inputs then this is much easier. If you actually want a hessian-vector product then directly calculating the hessian and doing the multiplication is extremely inefficient and much better ways exist

Thanks a lot. I want the Hessian matrix that allows me to calculate the Cramer Rao lower bound.

For the hyperparameters? For GPR this should just be the Hessian of the objective function.

The fiddlyness here is that you'll need to be careful with the packing of the tensors and taking the gradients. As encountered in #790, if you pack the hyperparameters into a single tensor and then get the gradients of the objective wrt that tensor you'll get a None gradient. Of course, if you only want the diagonals of the Hessian then that's really easy and can be done in a couple of lines.

Dear @ionut199418, it would be great if you could post this as a question on stackoverflow (tagged gpflow: https://stackoverflow.com/questions/tagged/gpflow), whether you're still looking for an answer or found it by now (in which case I would encourage you to answer it yourself) so that future users can also benefit. Hope this makes sense!

authors: hughsalimbeni ionut199418 markvdw st--

repo: GPflow/GPflow


text:
add mypy to test requirements; type ci utils module

starts #1368

I am happy with the added types to ci_utils - I'm not sure though about making mypy a part of tests_requirements.txt while it's not actually required anywhere?

I am happy with the added types to ci_utils - I'm not sure though about making mypy a part of tests_requirements.txt while it's not actually required anywhere?

good point. i suppose I should add it to the build at some point, even just for the sake of logging. until then, i'll leave it out of test_requirements.txt

source: gharchive/pull-request

authors: joelberkeley-pio st--


text:
🛑 beCOOKIES GCP API is down

In 34687b7, beCOOKIES GCP API (https://prod.becookies.tech/api) was down:

HTTP code: 0
Response time: 0 ms

Resolved: beCOOKIES GCP API is back up in 6ea4417 after 6 minutes.

repo: GSoftbiz/upptime


text:
Create API endpoints for getting and filtering applicants

Admins should be able to retrieve applicant data and filter by specific criteria.
Items to discuss

What filters the endpoint should expect
How pagination should function. This will require research on how best to send back data in chunks with infinite scrolling on the frontend.

Action Items

[x] Create an endpoint that gets a general list of applicants in chunks, as with pagination. First request should pull back the first 25 applicants, and subsequent requests should specify the current "index" of 25 to retrieve. This allows infinite scrolling to function correctly and keeps the return body small.
[x] Create an endpoint that accepts filters as REST parameters. This will function the same as the first endpoint (including pagination), but will filter out certain results. Expected filters are role, availability (with separate filters for each time as booleans) and skills/interests

General notes

Results should be sorted in chronological order based on when they were added to the database. This may be changed in the future depending on if a sorting toggle is implemented in later versions.
These endpoints should return an array of userData models as objects.

Working minus pagination. This should be added later so I'll close this for this milestone.

repo: GTBitsOfGood/drawchange


text:
Update page.hiveteam.html

Initiated by #39

@Xifang11
Check the test site and make sure your changes are visible and correct.

Looks good to me now.


text:
Collaborator Tasks: Jorge Sepulveda

Primary: Urnisha | Backup: Lori

[ ] Attend Design Thinking Session on 9/12/2023
[ ] Assist with PredictMod EHR model training

Dr. Sepulveda will request for the pickled (stored) model to be exported. Upon this approval, we will upload the package to GitHub to to integrate with PredictMod. He and I will reconvene on 10/10/23 after we are both back from our respective vacations.

authors: lorikrammer ubhuiyan

repo: GW-HIVE/PredictMod


text:
ReferenceError: Reveal is not defined

Getting 404 everywhere

Sounds like bower install did not run on travis 🔴

It worked! 🚀
https://github.com/GabLeRoux/to-pull-or-not-to-pull/tree/gh-pages/bower_components

repo: GabLeRoux/to-pull-or-not-to-pull


text:
feat(message-markdown-preview): init plugin

requested by @IndigoSamurott
PLUGIN DOESN'T WORK YET WORKS NOW

link to load this plugin
https://raw.githubusercontent.com/Gabe616/VendettaPlugins/message-markdown-preview-plugin/dist/message-markdown-preview

It's great, the only things I'd note are

Italics don't seem to be functioning, on my end at least
Quotes are missing too
It could potentially implement link embeds so that people can check whether or not they successfully hid them (as in, by adding < > around the link so that Discord doesn't preview it)
Discord is rolling out masked links like this so the plugin might need to be updated to include those

It's great, the only things I'd note are
* Italics don't seem to be functioning, on my end at least

* Quotes are missing too

* It could _potentially_ implement link embeds so that people can check whether or not they successfully hid them (as in, by adding < > around the link so that Discord doesn't preview it)

* Discord is rolling out masked links [like this](https://google.com) so the plugin might need to be updated to include those it it doesn't already

the entire issue is that I use the incorrect markdown parser, i'm looking for the correct one rn

well, I found the correct function but I still don't know how to render the AST
I could use the renderMessageMarkup function like so:
//@11
const { default: renderMessageMarkup } = findByProps(
  "renderMessageMarkupToAST"
);

//@51
const markup = renderMessageMarkup(
  {
    content: text,
    embeds: [],
  },
  {
    hideSimpleEmbedContent: true,
    formatInline: false,
    allowHeading: true,
    allowList: true,
    allowLinks: false,
    previewLinkTarget: false,
  }
).content;

showConfirmationAlert({
  title: "Markdown Preview",
  content: markup,
  confirmText: "Ok",
  confirmColor: "grey" as ButtonColors,
  onConfirm: () => undefined,
});

but that still looks the exact same (yes, italics are properly parsed)
 [ { '$$typeof': {},
    type: { '$$typeof': {}, render: [Function] },
    key: '0',
    ref: null,
    props: { style: { fontStyle: 'italic' }, children: [ 'test' ] },
    _owner: null } ]

discord uses the renderMessageMarkupToAST function which should get the correct AST, but once again, I'm not sure how to actually render it

https://discord.com/blog/how-discord-renders-rich-messages-on-the-android-app discord blog post mentions that they use https://github.com/Khan/perseus/tree/main/packages/simple-markdown for all their parsing and rendering, might that help?


text:
feature chat component

Why need this change? / Root cause:

add chat component and storybook

Changes made:

Avatar component
Svg Icon
Global style

Test Scope / Change impact:

Issue

Close #350
Close #342

Storybook
Room / Chat

✅ Knip Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/356/commits/6e9e4e7362ebaf5216ada0bd1552442514762cdb

Unused files (9)

Unused files (9)

.bundlewatch.config.js

components/shared/Chat/ChatContent.tsx

components/shared/Chat/ChatMessage.tsx

components/shared/Chat/index.tsx

configs/i18nConfigs.ts

lighthouserc.js

reset.d.ts

scripts/knipScanReporter.js

scripts/lhciScanReporter.js

Unused dependencies (2)

Unused dependencies (2)

@svgr/webpack  package.json

sharp          package.json

Unused devDependencies (5)

Unused devDependencies (5)

@actions/github             package.json

@octokit/core               package.json

@storybook/blocks           package.json

@storybook/testing-library  package.json

@total-typescript/ts-reset  package.json

Unused exported types (2)

Unused exported types (2)

ChatProps        type  components/shared/Chat/v2/Chat.tsx

ChatHeaderProps  type  components/shared/Chat/v2/ChatHeader.tsx

Configuration issues (1)

Configuration issues (1)

Unused item in ignoreDependencies: @next/bundle-analyzer

🤖 Lighthouse Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/356/commits/6e9e4e7362ebaf5216ada0bd1552442514762cdb

/rooms

Metric
Value

Performance
73

Seo
78

Accessibility
78

HTML Report for LHCI Scan
Report Link

/rooms/abc

Metric
Value

Performance
76

Seo
78

Accessibility
64

HTML Report for LHCI Scan
Report Link

/login

Metric
Value

Performance
47

Seo
80

Accessibility
94

HTML Report for LHCI Scan
Report Link

✅ Knip Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/356/commits/4a26e5870deb75049ca67b9fb35e47fbb52abc73

Unused files (9)

Unused files (9)

.bundlewatch.config.js

components/shared/Chat/ChatContent.tsx

components/shared/Chat/ChatMessage.tsx

components/shared/Chat/index.tsx

configs/i18nConfigs.ts

lighthouserc.js

reset.d.ts

scripts/knipScanReporter.js

scripts/lhciScanReporter.js

Unused dependencies (2)

Unused dependencies (2)

@svgr/webpack  package.json

sharp          package.json

Unused devDependencies (5)

Unused devDependencies (5)

@actions/github             package.json

@octokit/core               package.json

@storybook/blocks           package.json

@storybook/testing-library  package.json

@total-typescript/ts-reset  package.json

Unused exported types (2)

Unused exported types (2)

ChatProps        type  components/shared/Chat/v2/Chat.tsx

ChatHeaderProps  type  components/shared/Chat/v2/ChatHeader.tsx

Configuration issues (1)

Configuration issues (1)

Unused item in ignoreDependencies: @next/bundle-analyzer

🤖 Lighthouse Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/356/commits/4a26e5870deb75049ca67b9fb35e47fbb52abc73

/rooms

Metric
Value

Performance
73

Seo
78

Accessibility
78

HTML Report for LHCI Scan
Report Link

/rooms/abc

Metric
Value

Performance
76

Seo
78

Accessibility
64

HTML Report for LHCI Scan
Report Link

/login

Metric
Value

Performance
47

Seo
80

Accessibility
94

HTML Report for LHCI Scan
Report Link

✅ Knip Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/356/commits/d45aa706cd86ee511b2352c905a4f606516d881a

Unused files (9)

Unused files (9)

.bundlewatch.config.js

components/shared/Chat/ChatContent.tsx

components/shared/Chat/ChatMessage.tsx

components/shared/Chat/index.tsx

configs/i18nConfigs.ts

lighthouserc.js

reset.d.ts

scripts/knipScanReporter.js

scripts/lhciScanReporter.js

Unused dependencies (2)

Unused dependencies (2)

@svgr/webpack  package.json

sharp          package.json

Unused devDependencies (5)

Unused devDependencies (5)

@actions/github             package.json

@octokit/core               package.json

@storybook/blocks           package.json

@storybook/testing-library  package.json

@total-typescript/ts-reset  package.json

Unused exported types (2)

Unused exported types (2)

ChatProps        type  components/shared/Chat/v2/Chat.tsx

ChatHeaderProps  type  components/shared/Chat/v2/ChatHeader.tsx

Configuration issues (1)

Configuration issues (1)

Unused item in ignoreDependencies: @next/bundle-analyzer

🤖 Lighthouse Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/356/commits/d45aa706cd86ee511b2352c905a4f606516d881a

/rooms

Metric
Value

Performance
71

Seo
78

Accessibility
78

HTML Report for LHCI Scan
Report Link

/rooms/abc

Metric
Value

Performance
76

Seo
78

Accessibility
64

HTML Report for LHCI Scan
Report Link

/login

Metric
Value

Performance
47

Seo
80

Accessibility
94

HTML Report for LHCI Scan
Report Link

authors: GaaSBot JohnsonMao

repo: Game-as-a-Service/Game-Lobby-Web


text:
i fixed unityengine.networking.Types in 2022.3.7f1!!!!!!!

i fixed it, i only replaced unityengine.networking.Types with this:
using UnityEngine.Networking.PlayerConnection;
using System.Net.Cache;
using System.Net.NetworkInformation;
using System.Net.Mime;
using System.Net.Mail;
using System.Net.Http;
using System.Net.Security;
using System.Net.Sockets;
using System.Net.WebSockets
using UnityEngine.Networking;
and now i can run the game, walk, jump etc.

Are you in the discord? If not, go there so there's no implementation problems and to help add this fix to the asset.

@perrylets can not join. got banned for saying the github link is not under one of the two videos about etra's starter assets.
but it is not under the videos. whats your discord name?

authors: Epiczhul perrylets


text:
Zoom Does Not Pan Properly in Range Bump Region

MODULE: Bubble chart
Platform:  Windows 7 / Chrome 47.0
STEPS TO REPRODUCE:

Manually set maxX to 8000.
Manually set minX to 500.
Pan to the leftmost edge of the BubbleChart
Draw a rectangle from the bottom of the Y-axis to the top of the Y-axis, and from minX = 500 to the right end of the X-axis.

ACTUAL RESULTS:
Some zooming occurs, but minX is not equal to 500.
Subsequent zooming by repeating step 4 causes a correct zoom with minX = 500.
Repeating step 4 by manually setting minX = 500 causes the same problem.
EXPECTED RESULTS:
Zooming to minX = 500 in step 4 should cause the zoom to minX to correctly occur.

Pull request https://github.com/Gapminder/vizabi/pull/1298

repo: Gapminder/vizabi


text:
how to visualize on 3d model?

Hi, how to convert the generated 3d pose to bvh or fbx?

Hi, Thank you for the interest!
I built my IK part based on this video2bvh with different joints settings.
As the pose estimator provides 3D position of joints, and the RL requires axis-angle for each joint. This IK converts the estimation result to usable reference motion for RL.
Hope this helps,
:)

@Garfield-kh thanks for your reply. I have ran the code it can basically seamlessly connect with video2bvh except a tiny problem:

if I guess it right, video2bvh simplest demo using h36m skeleton and it provides a clear skeleton file of it.
However, this repo using just only one less keypoint:

I found a little bit didn't found a clue indicates the definition on each key points topological definitions.
Can you provide one or just like video2bvh does provide a skeleton file for users to further experiment on real 3d models?

Hi, I have upload the pose2bvh IK part here estimator-pose2bvh.
I also include a XML file for mujoco which is matched with the BVH file for RL reference motion. The imitator is built base on RFC, you may check it for more detail about the RL visualization part.

@Garfield-kh thanks.  that's very quick response. However, I ran it but found the bvh upper body not fully right:

Does there anything not correct?
Am simply using kunkun's example npz pred3D_pose/bilibili-clip/kunkun_clip_pred3D.pkl generated by example.
And then:
Converter = humanoid_1205_skeleton.SkeletonConverter()
prediction3dpoint = Converter.convert_to_21joint(pose3d_world)

human36m_skeleton = humanoid_1205_skeleton.H36mSkeleton()
_ = h36m_skel.poses2bvh(prediction3dpoint, output_file=bvh_file)

pose3d_world is generated 3d pose.

How about the 0626_take_01_h36m.bvh? is that showing properly in blender?

Here is the result I tried in blender.

And maybe you can try bvhacker, as from my experience, the blender will modify something when import bvh...

@Garfield-kh  0626_take_01_h36m.bvh in test_data opened shows nothing on my blender.
that's weird. what's your blender version? Mine is 3.0

I noticed the bvh header not exactly same between your test data and mine:

Here is my bvh gened:
a.txt

@Garfield-kh Can u kindly also provide this file if possible? I really want vis the human on RL env.

My blender version is blender-3.0.0-windows-x64
I tried re-run the pose2bvh_debug.py from zip file, it will generate 0626_take_01_h36m.bvh  from np.load('bvh_skeleton/test_data/h36m_take_599_predicted_3d_wpos.npy', allow_pickle=True)[690:710], which looks fine on my side...
I also tried load the estimation pose:
   # prediction = np.load('bvh_skeleton/test_data/h36m_take_599_predicted_3d_wpos.npy', allow_pickle=True)[690:710]     prediction = np.load('../../PoseTriplet-test/estimator_inference/wild_eval/pred3D_pose/bilibili-clip/kunkun_clip_pred3D.pkl', allow_pickle=True)['result']
The result is fine as shown above .
The header is different possibly means the rotation_order='xyz' in get_bvh_header().
Did you change anything from the zip file?
Or is is due to the environment my requirement file?
The comon folder for your reference. Code is under cleaning...

@Garfield-kh thank u for you patient, let me try again tomorrow.

@Garfield-kh I finally found where the skeleton was:

why the bvh so far from origin point and orientation looks up side down?

Nice to see the problem solved!
The position is decided by the root position, if you read the root position of npy file, you will see it is far from zero position.
The  orientation is also decided by the npy, here up side down is because the npy is under camera coordinate space. In my experiment, I will rotate it to Z-up world coordinate.

@Garfield-kh thanks, I indeed load directly from np which is raw generated. How could I convert the root position to the right one (let's say the origin point which can be parsed correctly by blender or other 3d software?)
Meanwhile, the whole sequence can be also adjusted?

There is a function called rigid alignment, which scale, rotation, and translation the whole sequence tx16x3.
So if you have a standard standing pose (place at origin, and upside down), you can try use it as a alignment reference, caculate the relative rotation, and translation from raw generated pose (t=1), and transform the whole raw generated pose to the origin.

@Garfield-kh thanks, it's helpful. I am pretty new in pose transform. It looks like we can get aligne pose with:
    predicted_aligned = a * np.matmul(predicted, R) + t

But how can I get a target, which is T-pose here?

If you want a T-pose [standard standing pose (place at origin, and upside down)], you can try manual set a 1x16x3 pose, where the bond segment length is the same as your test data.
Or if the assumption camera is horizontal can be hold, you can try a rotation matrices R whcih directly rotate the Y up to Z up, and reset starting pose hip the original point.

@Garfield-kh I have 2 questions unclear wanna have a disucssion.

what values should I fill in the 1x16x3 matrix?
Is that every elem in 16x3 is a 3-dim rotation matrix at the bone? What reference does this matrix according at?

what values should I fill in the 1x16x3 matrix?

3D xyz position for 16 joints, you can try VideoPose3D (17-joints-setting) to check how the joint-position based pose converting from world space to camera space.
And you can find its dataset contains T-pose in some clip at the begining.
Or you can try plot this pose array([-0.  ,  0.  ,  0.92, -0.1 , -0.02,  0.92, -0.11, -0.02,  0.49,        -0.14,  0.08,  0.07,  0.11, -0.01,  0.92,  0.13,  0.01,  0.49,         0.14,  0.1 ,  0.07, -0.  ,  0.  ,  1.24, -0.  , -0.03,  1.49,         0.  , -0.05,  1.61,  0.17,  0.01,  1.44,  0.49,  0.07,  1.42,         0.74,  0.09,  1.45, -0.18, -0.  ,  1.44, -0.5 ,  0.04,  1.44,        -0.75,  0.01,  1.48])

Is that every elem in 16x3 is a 3-dim rotation matrix at the bone?

No, they are joint position xyz.

About axis-angle, joint position

axis-angle = Inversekinmatic(joint position)
joint position = forwardkinematics(axis-angle)
joint position : usually used in 2D-3D lifting network (e.g., SimpleBL, ST-GCN and VPose3D ).
axis-angle: usually used in the BVH file, SMPL representation, RL humanoid.
if you are interested in axis-angle format, says SMPL representation, you can refer to this tutorial SMPL.
In RL humanoid, you may refer to SFV paper, It contains paragraph to detail the joint postion and axis-angle relationship and how it is used in RL.

@Garfield-kh thanks for your detailed info! so that the BVH file actually takes axis-angle as final stored format. Which looks reasonable, however, from the pose2bvh_deug.py the steps are:
Converter = humanoid_1205_skeleton.SkeletonConverter()
    prediction3dpoint = Converter.convert_to_21joint(prediction3dpoint)

    human36m_skeleton = humanoid_1205_skeleton.H36mSkeleton()
    human36m_skeleton.poses2bvh(prediction3dpoint, output_file=bvhfileName)

which takes prediction as input, it should in format like joint positions in xyz.
and inside it, there is a func:
def poses2bvh(self, poses_3d, header=None, output_file=None):
        if not header:
            header = self.get_bvh_header(poses_3d)

        channels = []
        for frame, pose in enumerate(poses_3d):
            channels.append(self.pose2euler(pose, header))

the main function is:
def pose2euler(self, pose, header):
        channel = []
        quats = {}
        # quatsV1 = {}
        eulers = {}
        stack = [header.root]

        # check is hand in singularity.
        index = self.keypoint2index
        LeftForeArm_angle = math3d.anglefrom3points(pose[index['LeftArm']], pose[index['LeftForeArm']],
                                                    pose[index['LeftHand']])
        LeftForeArm_straight = np.abs(LeftForeArm_angle - 180) < 10
        RightForeArm_angle = math3d.anglefrom3points(pose[index['RightArm']], pose[index['RightForeArm']],
                                                     pose[index['RightHand']])
        RightForeArm_straight = np.abs(RightForeArm_angle - 180) < 10

        while stack:
            node = stack.pop()
            joint = node.name
            joint_idx = self.keypoint2index[joint]

            if node.is_root:
                channel.extend(pose[joint_idx])

            index = self.keypoint2index
            order = None
            if joint == 'Hips':

So i suppose this is what InverseKinmatic actually does? Then what does forwardkinematics defined if we convert aa back to joint?
It seems VideoPose3D generated pose can automatically change bvh pose to the center in blender, but I can not see any further steps it does inside code, where does it did this?

So i suppose this is what InverseKinmatic actually does?

Yes, right.

Then what does forwardkinematics defined if we convert aa back to joint?

@bingbing-li Can you help provide a weblink describe the forwardkinematics for humanoid?

It seems VideoPose3D generated pose can automatically change bvh pose to the center in blender, but I can not see any further steps it does inside code, where does it did this?

I think what you mean here is because the prediction (root relative pose, root trajectory), if the root trajectory (hip posistion) is not predict (says always 0), then the it will be in center of blender.

@Garfield-kh I am using raw prediction from Posetriplet, with trajectory to be True by default. Without trajectory is not make sense in realworld application I think, because if no center positon of current person, then it will not have global positions. And the action will looks like very strange IMO. Correct me if am wrong.
However, I currently want to achieve: Make the trajectory predicted start point back to 0, I using the T-Pose as you suggested, and I have the prediction like this:
[[[-1.9068520e-01 -3.9178967e-02  4.5949988e+00]
  [-2.5305325e-01 -2.9162843e-02  4.4994464e+00]
  [-1.8069524e-01  4.3677863e-01  4.4576030e+00]
  ...
  [-2.8469834e-01 -4.5449731e-01  4.6212463e+00]
  [-2.3282693e-01 -2.9664233e-01  4.3486352e+00]
  [-1.2895647e-01 -4.1007891e-01  4.4302406e+00]]

 [[-1.9192021e-01 -3.9367903e-02  4.6015420e+00]
  [-2.5498700e-01 -2.9555742e-02  4.5096269e+00]
  [-1.8597291e-01  4.3562496e-01  4.4672227e+00]
  ...
  [-2.9103380e-01 -4.5551348e-01  4.6341572e+00]
  [-2.4870943e-01 -2.8300324e-01  4.3651376e+00]
  [-1.3434877e-01 -3.8451532e-01  4.4105206e+00]]

 [[-1.9411772e-01 -4.0184531e-02  4.6097612e+00]
  [-2.5815964e-01 -3.0703645e-02  4.5215812e+00]
  [-1.9152476e-01  4.3327647e-01  4.4791899e+00]
  ...
  [-2.9778859e-01 -4.5574141e-01  4.6444201e+00]
  [-2.6997945e-01 -2.6711115e-01  4.3868499e+00]
  [-1.4192513e-01 -3.5707697e-01  4.3994899e+00]]

 ...

 [[ 7.8537606e-02 -1.9512240e-02  4.7203770e+00]
  [ 6.7087561e-03 -3.5564065e-02  4.6529732e+00]
  [-1.2862757e-01  3.8110998e-01  4.6106095e+00]
  ...
  [ 2.5051706e-02 -5.1567096e-01  4.7451878e+00]
  [-1.8966964e-01 -5.3678060e-01  4.4888573e+00]
  [ 1.9376837e-02 -5.9469616e-01  4.4149585e+00]]

 [[ 8.0162838e-02 -1.7930716e-02  4.7151556e+00]
  [ 6.4739212e-03 -3.4628361e-02  4.6456432e+00]
  [-1.3561368e-01  3.8102677e-01  4.5988793e+00]
  ...
  [ 2.2833768e-02 -5.1289767e-01  4.7348070e+00]
  [-1.9386707e-01 -5.2635908e-01  4.4787607e+00]
  [ 1.1895433e-02 -5.8982205e-01  4.4090815e+00]]

 [[ 8.0274649e-02 -1.3761428e-02  4.7100964e+00]
  [ 1.9843355e-03 -3.0324388e-02  4.6375494e+00]
  [-1.4260200e-01  3.8468662e-01  4.5899444e+00]
  ...
  [ 2.1430891e-02 -5.0615418e-01  4.7255592e+00]
  [-2.0255995e-01 -5.1654124e-01  4.4720707e+00]
  [ 3.2196417e-03 -5.8053029e-01  4.4047399e+00]]]

what should I do next here? Should I just minus the T-Pose of all frames poses?

I applied some directly minus looks not right:
# make first pose to be zero
delta = tpose - pose3d_world[1, :]
pose3d_world += delta

Can you try a simple case? says only center the postion without rotation:

    Converter = humanoid_1205_skeleton.SkeletonConverter()

    # add here
    starting_point = prediction3dpoint[:1,:, :] * 1.0
    prediction3dpoint = prediction3dpoint - starting_point

    prediction3dpoint = Converter.convert_to_21joint(prediction3dpoint)

    human36m_skeleton = humanoid_1205_skeleton.H36mSkeleton()
    human36m_skeleton.poses2bvh(prediction3dpoint, output_file=bvhfileName)

I correct it in my RL/XML file (which is also provided in the link), I placed the RightShoulder/LeftShoulder back to the Neck position in XML file.

I'm a bit confused with the usage of these XML files. Are they used in some RL framework, or is there any documentation on the protocol? Thanks 😃

to be [1, 6, 0], this should result in normal shoulder width

Yes, but then your shoulder bone would be far behind your torso.

The reason why I add more joints here is to match the joint number of estimator, imitator, and hallucinator. It's a good point to make them the same as well as the 2D detector so that no information mismatch during joint-training.

I do the hard code in spine and shoulder for simplicity, and the RL is runing fine with 21 joints. You can try it here.

I see this. Since the code for RL part is not yet commited, I'm interested in how it works. I.e., after you mapped 16 joints result to 21 joints, would the inner force and rotation in spine1, spine2 also be model in RL model? Then I assume we should further use your imitator to refine bvh file? Do you have any schedule to release it?

Do you have any schedule to release it?

I am doing some code optimization (e.g., joint definition mentioned above) currently, and reach a better result compared with the paper reported. I am double-checking it. I think I will release it after checking and data cleaning.
I am trying on real-time implementation (i.e., camera-2D-3D-IK-RL), and multi-person as an extension. I want to make it work and release them together, so it might be this month or next month.
Here is an example image:

I'm a bit confused with the usage of these XML files. Are they used in some RL framework, or is there any documentation on the protocol?

The RL environment is opensource Mujoco, and the code for imitation is a mixture of EgoPose and RFC.
As the paper limitation mentioned, the cpu-based RL is not time efficient, here the gpu-based RL isaacgym-nvidia is now avalible and might help.

Yes, but then your shoulder bone would be far behind your torso.

umm, It can be corrected to be like this with the proper init_direction:

@atodniAr Yes, I am interested. :P

the joint angles are found one by one

That's true. In computer animation software, you can drag and drop left hand joint location without taking care of arm location, they have humanIK function embedded, which will try to find a "least work" path to acheive end site movement. That's what we say IK of kinematic chain does. Check out FABRIK.
I mentioned this as pose estimation only gives location for 16 joints, I guess chain IK would make better guess for spine and shoulder joints. Not sure how much it can help though, as seems your imitator can do a lot of work correcting poses.

That's true. In computer animation software, you can drag and drop left hand joint location without taking care of arm location, they have humanIK function embedded, which will try to find a "least work" path to acheive end site movement. That's what we say IK of kinematic chain does. Check out FABRIK.
I mentioned this as pose estimation only gives location for 16 joints, I guess chain IK would make better guess for spine and shoulder joints. Not sure how much it can help though, as seems your imitator can do a lot of work correcting poses.

Got you.
We didn't implement that in this work. we would like to try if we have time. Thanks for the suggestion.

we would like to try if we have time

Looking forward to your future results :D

do you mean this ? :)
@atodniAr

authors: Garfield-kh atodniAr bingbing-li jinfagang opentld

repo: Garfield-kh/PoseTriplet


text:
BUG HvEptHookWriteAbsoluteJump and HvEptHookInstructionMemory

It is not safe to use a temporary register without restoring

Thanks for the changes!

authors: Gbps xorrsp

repo: Gbps/gbhv


text:
Alt trait for array

Currently the branch::alt() only deals with tuples with at most 21 elements(#1144, #994) , so I write this pr trying to change it.
Trait Alt has been implemented for &'a mut [P] where P: Parser as a result, but due to the limition of my ability and rust compiler, I failed to implement the trait for [P]  and P must have the same type.
For example, the code as  follows failed to be compiled:
use nom::branch::alt;
use nom::character::complete::{alpha1, digit1};
fn main() {
fn parser(input: &str) -> IResult<&str, &str> {
  alt([alpha1, digit1])(input) // using an array
};

Coverage decreased (-0.2%) to 82.52% when pulling 28265cbd80361ba057352592af52522029ce82b7 on snylonue:alt_trait_for_array into c5090ef1e2a1704851b1773169653728b0761d9c on Geal:master.

I did not implement that trait for arrays for that exact reason. Even if some parsers have the same input, output and error types, their actual type might be different due to heavy use of closures and impl trait returns

I did not implement that trait for arrays for that exact reason. Even if some parsers have the same input, output and error types, their actual type might be different due to heavy use of closures and impl trait returns

I don't think it is a good idea now

I don't think it is a good idea now

I did not implement that trait for arrays for that exact reason. Even if some parsers have the same input, output and error types, their actual type might be different due to heavy use of closures and impl trait returns

What about for parsers have no impl types and are completely identical? You are forbidding a use case just because it is uncommon. :(

authors: Geal LoganDark coveralls snylonue

repo: Geal/nom


text:
🛑 Bitwarden is down

In 90e0b31, Bitwarden ($BITWARDEN_URL) was down:

HTTP code: 502
Response time: 26284 ms

Resolved: Bitwarden is back up in b8d3c88.

repo: GeekCornerGH/status-page


text:
Contributors in README.md?

Can I add contributors list in README.md?

Hey @priyanshumaitra
I think you can make a .md file listing all the contributors with pictures and GitHub links
and then link that file in the Readme.md
PS:- I'll assign this to you only and only if you promise to keep updating the new contributors to the list, I'll wait for your confirmation
Thanks for considering to contribute to this Repo
Really means a lot! 💖💖

It will be updated automatically. And will show something like this below 👇

Alright @priyanshumaitra work on it
And ya just make it in any other file rather readme because it'll cluster it and link that file in the readme
Thank you for considering to contribute in this repo
Really means a lot!!
💖💖


text:
Icon not showing in input group

The Icon not show on the input like the Demo.
<View style={root}>
        <Icon size={50} name='ios-checkmark-circle' style={{color:'#00C497'}}/>
        <View style={cardContainer}>
          <Card>
            <CardItem header style={cardHeader}>
              <Text style={{ textAlign: 'center', color: '#ffffff' }}>Log In To ContracStar</Text>
            </CardItem>
            <CardItem>
              <InputGroup borderType='rounded'>
                <Input
                  type="email-address"
                  label="Email"
                  placeholder="user@example.com"
                />
                <Icon name='ios-checkmark-circle' style={{color:'#00C497'}}/>
              </InputGroup>
            </CardItem>
            <CardItem>
              <InputGroup borderType='rounded'>
                <Icon size={25} name='ios-lock' style={{color:'#d4d4d4', alignSelf: 'center'}}/>
                <Input
                  iconRight
                  success={true}
                  returnKeyType="go"
                  label="Password"
                  placeholder="password"
                  secureTextEntry
                />
                 <Icon name='ios-checkmark-circle' size={40} style={{ color:'#00C497' }} />
              </InputGroup>
            </CardItem>
          </Card>
        </View>
      </View>

I am on RN 0.34 and NB 0.5.9

You think this is cause of rn 33 ? I can try to update it.

It's highly unlikely RN version would case this. Can you try it out in a blank page and see if that works? Without custom styles and everything.

It's ok now I have update to 35

repo: GeekyAnts/NativeBase


text:
iOS unable to play m3u8 file format

In Android all files are being played without any issue, but iOS is not able to play m3u8 file format.
You can check the below link for debug:
https://4ykn7mxvnwqg-hls-push.5centscdn.com/mp4/raw/Just A Minute2/Just a min_2_FINAL_2_combined.smil/playlist.m3u8
Since m3u8 files are basically playlist for different quality format, It would be great addition in package to allow select video quality for m3u8 files.

In Android all files are being played without any issue, but iOS is not able to play m3u8 file format.
You can check the below link for debug:
https://4ykn7mxvnwqg-hls-push.5centscdn.com/mp4/raw/Just A Minute2/Just a min_2_FINAL_2_combined.smil/playlist.m3u8
Since m3u8 files are basically playlist for different quality format, It would be great addition in package to allow select video quality for m3u8 files.

Can you please share the logs you get after running m3u8 file format in iOS?

In Android all files are being played without any issue, but iOS is not able to play m3u8 file format.
You can check the below link for debug:
https://4ykn7mxvnwqg-hls-push.5centscdn.com/mp4/raw/Just A Minute2/Just a min_2_FINAL_2_combined.smil/playlist.m3u8
Since m3u8 files are basically playlist for different quality format, It would be great addition in package to allow select video quality for m3u8 files.

@vipinnegi90
The player can able to play the m3u8 file format. I have tried several URLs (e.g: https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8).
I guess there is something specific issue to this attached URL. I'll look into it and let you know.

Can you please share the logs you get after running m3u8 file format in iOS?

the error :
flutter: CacheManager: Failed to download file from  with error:
Invalid argument(s): No host specified in URI

Can you please share the logs you get after running m3u8 file format in iOS?

the error :
flutter: CacheManager: Failed to download file from  with error:
Invalid argument(s): No host specified in URI

Strange!
Can you please try https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8. and share logs.

Strange!
Can you please try https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8. and share logs.
URL you provided is playing in both Android and iOS flawlessly. Not sure why my URL is not being played only in iOS :(

Closing this issue as not reproducible.

Same issues happening in ios 17.
in ios 14 its working fine.

authors: geekruchika soham-sharpsell vipinnegi90

repo: GeekyAnts/flick-video-player


text:
interoperability for Stipple.JSONText and JSON.JSONText

Only after fixing handling of Stipple.JSONText in StipplePlotly I understood the root cause of the error.
It is that Stipple's definition of JSONText for JSON3 doesn't interoperate with JSON's definition, but PlotlyBase's JSON3-rendering is calling JSON behind the scenes. Therefore, Stipple.JSONText("test") is rendered as "{\"s\": \"test\"}
julia> JSON.json(Stipple.JSONText("test"))
"{\"s\":\"test\"}"

This PR adds all necessary methods to JSON3 and JSON to grant interoperability of the JSONText definitions so that
julia> JSON.json(Stipple.JSONText("test"))
"test"

Respective tests are added to runtests.jl
So if in future some component adds JSON3 rendering via a JSON fallback, we are save to use our Stipple.JSONText.

@hhaensel is DataFrames a dependency of Stipple now? Is it just for testing? If it's for testing, last time I checked the best practice was to set up a distinct project in the test/ folder and add test dependencies there.

Same for Test - if it's not used by Stipple itself, it should go into the test/ project. (Unless the best practice has changed recently).

AFAIK there are two ways of including packages for testing. One is defining a separate Project.toml in /test, as you said, the other - old school - variant is adding them to the [extras] section and listing their names under targets.
[extras]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "DataFrames", "JSON", "OffsetArrays"]

I took this practice from the Extensions docs for the case that we want to support old julia versions which do not support extensions.
Re-reading the docs I found probably a way to get rid of the file copies without using, following this hint from the link above.
isdefined(Base, :get_extension) ? (using Contour) : (using ..Contour)

Let's see whether I can get that running.

@hhaensel is DataFrames a dependency of Stipple now? Is it just for testing? If it's for testing, last time I checked the best practice was to set up a distinct project in the test/ folder and add test dependencies there.

Here are the docs for test-specific dependencies.

@hhaensel is DataFrames a dependency of Stipple now? Is it just for testing? If it's for testing, last time I checked the best practice was to set up a distinct project in the test/ folder and add test dependencies there.

Here are the docs for test-specific dependencies.

Thanks for the link. I thought the "old" way was deprecated and was concerned that the dependencies would leak into the package installation (I haven't test exactly how and when are test deps installed with the current approach, hopefully only when running tests).

I think I remember, why the target-approach is used for Requires-compatibility. If you want to set compat entries for your weak dependencies old versions of Julia will complain if the packages are not listed either under [deps] or [extras].

I think I remember, why the target-approach is used for Requires-compatibility. If you want to set compat entries for your weak dependencies old versions of Julia will complain if the packages are not listed either under [deps] or [extras].

Hmmm... ok. I can't remember though, why do we have table rendering in Stipple? Shouldn't it be in StippleUI?

The answer is, we don't. The file StippleTablesExt.jl is mainly empty and never used. It's probably a left over from early testing.

@essenciary should we merge this? We could handle improved extension management in a separate PR.

Meanwhile, I released StipplePlotly 0.13.9 where rendering of Stipple.JSONText is at least fixed for the particular case of PlotlyBase
For a general solution, I would need the ok this PR.

@hhaensel We'll run some tests to see if anything breaks. FYI @PGimenez

Perfect! Don't trigger  new release yet, there's another PR in the pipeline.

authors: essenciary hhaensel


text:
miner does not see intel opencl device

"ethminer --list-devices" does not show my opencl-enabled intel sandy bridge apu. opencl libs installed by this tutorial:
https://software.intel.com/en-us/forums/opencl/topic/390630
platform: linux mint 17.3 x64
clinfo tool says:
Number of platforms:				 1
Platform Profile:				 FULL_PROFILE
Platform Version:				 OpenCL 1.2 LINUX
Platform Name:				 Intel(R) OpenCL
Platform Vendor:				 Intel(R) Corporation
Platform Extensions:				 cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64
Platform Name:				 Intel(R) OpenCL
Number of devices:				 1
Device Type:					 CL_DEVICE_TYPE_CPU
Device ID:					 32902
Max compute units:				 4
Max work items dimensions:			 3
Max work items[0]:				 8192
Max work items[1]:				 8192
Max work items[2]:				 8192
Max work group size:				 8192
Preferred vector width char:			 1
Preferred vector width short:			 1
Preferred vector width int:			 1
Preferred vector width long:			 1
Preferred vector width float:			 1
Preferred vector width double:		 1
Native vector width char:			 16
Native vector width short:			 8
Native vector width int:			 4
Native vector width long:			 2
Native vector width float:			 8
Native vector width double:			 4
Max clock frequency:				 2500Mhz
Address bits:					 64
Max memory allocation:			 2514811904
Image support:				 Yes
Max number of images read arguments:		 480
Max number of images write arguments:		 480
Max image 2D width:				 16384
Max image 2D height:				 16384
Max image 3D width:				 2048
Max image 3D height:				 2048
Max image 3D depth:				 2048
Max samplers within kernel:			 480
Max size of kernel argument:			 3840
Alignment (bits) of base address:		 1024
Minimum alignment (bytes) for any datatype:	 128
Single precision floating point capability
Denorms:					 Yes
Quiet NaNs:					 Yes
Round to nearest even:			 Yes
Round to zero:				 No
Round to +ve and infinity:			 No
IEEE754-2008 fused multiply-add:		 No
Cache type:					 Read/Write
Cache line size:				 64
Cache size:					 262144
Global memory size:				 10059247616
Constant buffer size:				 131072
Max number of constant args:			 480
Local memory type:				 Global
Local memory size:				 32768
Error correction support:			 0
Unified memory for Host and Device:		 1
Profiling timer resolution:			 1
Device endianess:				 Little
Available:					 Yes
Compiler available:				 Yes
Execution capabilities:
Execute OpenCL kernels:			 Yes
Execute native function:			 Yes
Queue properties:
Out-of-Order:				 Yes
Profiling :					 Yes
Platform ID:					 0x1bc0780
Name:						        Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
Vendor:					 Intel(R) Corporation
Device OpenCL C version:			 OpenCL C 1.2
Driver version:				 1.2.0.43
Profile:					 FULL_PROFILE
Version:					 OpenCL 1.2 (Build 43)
Extensions:					 cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64

There's a cmd line flag --allow-opencl-cpu 1. This should enable it, altough I've never tried. You will likely run into memory allocation issues. That may be solved using a kernel where the DAG emmeory is split across multiple chunks. Let me know if you need code for that.

Just as you said, I've got a segfault trying to mine with --allow-opencl-cpu turned on.

Let me know if you need code for that.

Yes, please. I'm certainly want to give it a try.

As I mentioned in the other thread, the code seems to have already passed the main DAG memory allocation part. So in theory you shouldn't have to use chunks. Intel CPUs don't get this far. I'd just run a debugger to see where the segfault comes from. I can hand you the chunks code, but if it isn't a problem, better not use chunks (worse performance).

Let's continue here https://github.com/Genoil/cpp-ethereum/issues/44

authors: Genoil unxed

repo: Genoil/cpp-ethereum


text:
Brand New Shiny Figure #1

@ahwagner to design and create a shiny new figure 1 to hook the readers into continuing to read our manuscript.

https://lucid.app/lucidchart/b15dea81-273b-45f4-94d6-5586d6a05d96/edit?page=n_iPTiZFQHGt&invitationId=inv_8d43a9ea-1fff-4865-853a-c7273bdfcf08#


text:
Installing Scrcpy in a Pixelbook Go

[ y] I have read the FAQ.
[ y] I have searched in existing issues.

Environment

OS: [Chromebook / Debian]
scrcpy version: [1.16]
installation method: [snap]
device model: Laptop: Pixelbook Go; Phone: Xiaomi K20 Pro
Android version: [10]

Describe the bug
It seems I could not use scrcpy due to this error.
jamaguilera@penguin:~$ scrcpy
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
ERROR: '/usr/local/share/scrcpy/scrcpy-server' does not exist or is not a regular file

I have tried to install scrcpy via snap because the normal mode gives me this error:
jamaguilera@penguin:~$ sudo apt install scrcpy
Reading package lists... Done
Building dependency tree
Reading state information... Done

No apt package "scrcpy", but there is a snap with that name.
Try "snap install scrcpy"

E: Unable to locate package scrcpy

Thanks in advance for anyone who could help!

same issue

'/usr/local/share/scrcpy/scrcpy-server' does not exist or is not a regular file

Does this file exist somewhere else (/usr/share/scrcpy/scrcpy-server) on your machine?
cc @sisco311

it does not show anywhere

I don't know where it has been installed then. Does it work if you build manually?
As a workaround, you could download the prebuilt server somewhere, and set its full path (filename including) in the environment variable SCRCPY_SERVER_PATH.
For example:
export SCRCPY_SERVER_PATH=/home/$USER/Downloads/scrcpy-server-v1.16
scrcpy

hello rom1v, good day.
I just did and it get me this error:
~~
-bash: export: `/usr/local/share/scrcpy/scrcpy-server/=/home/jamaguilera/scrcpy-server-v1.16': not a valid identifier
~~
apologies about this mess I'm really new to trying linux / chromebook. Thank you in advance

You must execute:
export SCRCPY_SERVER_PATH=/home/jamaguilera/scrcpy-server-v1.16

authors: Majoramari jamaguilera rom1v

repo: Genymobile/scrcpy


text:
Create filte i cannot delete

Its werid.
When i drag a file to my phone ,sometime it sussecc but somethimes it create filte i cannot delete
Like this, it said permissions do not match in chinese

If you drag&drop a file, it just executes adb push yourfile /sdcard/Download.


text:
Add titlescreen before game

Value proposition
As a user,
I want to have a titlescreen
so that i have a moment to get in the right mood
Description

Acceptance criteria

[ ] a titlescreen with a button is first page after opening or reloading the app.
[ ] when user presses button user is directed to game-page.
[ ] introduction text is now on titlescreen-page.
[ ] a cancel button directs from game-page back to titlescreen-page.

Complexity
Small
Tasks

[ ] Create branch
[ ] implement routing
[ ] create button to switch from titlescreen to game
[ ] create button to cancel current game and return to titlescreen
[ ] message is shown to check if cancel was correct
[ ] if cancel was incorrect the focus is set on the input

Looks good to me 👍

authors: GeorgJuranek JessicaLoers

repo: GeorgJuranek/capstone-project


text:
Introduce test framework

Decide on framework (django, pytest, ...)
"Install"
Example test(s)
Documentation

Requirements:

Test pyramid: many unit tests, but also some end-to-end tests
easy to write, easy to read

Testing frameworks in python
Unit testing frameworks:

unittest (https://docs.python.org/3/library/unittest.html#module-unittest) and pytest (https://docs.pytest.org/en/7.2.x/how-to/index.html#how-to)

End-to-end testing frameworks:

playwright
selenium

Behavioral testing frameworks: Lettuce, Behave, Robot
-> more boilerplate code for creating "natural" language, rather use testing frameworks were the methods already sound "natural"
Comparison of unittest and pytest
Unittest:

part of standard python library
Junit style
grouping of tests into test suites

Pytest:

external library
minimal boilerplate code, supports parametrized tests
extensible e.g. for parallel testing

-> both can be combined with Selenium for end-to-end testing but only pytests supports playwright (https://playwright.dev/python/docs/intro)
see https://www.slant.co/versus/9148/9149/~unittest_vs_pytest

There ist also django.test https://docs.djangoproject.com/en/4.1/intro/tutorial05/ .

authors: cafischer mdrie

repo: GermanZero-de/klimaschutzmonitor


text:
Patch 1

corrected comma in model parser

I screwed up...  I'll try again.

repo: Gernby/openpilot


text:
automatically follow by cursor is not working for vue code

描述Bug
automatically follow by cursor is not working for vue code, but is working for js code , is a bug or new fetature?
复现
期望表现
thks for your answer
截屏/录屏
信息

VSCode Version* :
Outline-map Version* :
相关文件 : [eg: github.com/......]
-相关插件: [eg: vue.volar]
扩展设置:

附加信息

It's a bug but it works well in my vue file... 💦💦
https://github.com/user-attachments/assets/0944d131-22a7-494a-8e45-32453cea74f8

authors: Gerrnperl Qiang-Wang-Sea

repo: Gerrnperl/outline-map


text:
scatter not found on window

one day the scatter is defined on window , what happened..

Best to use scatter-js now. https://github.com/GetScatter/scatter-js/

authors: nsjames peterchealse

repo: GetScatter/ScatterWebExtension


text:
Releases arent available.

The github provides no location for obtaining of releases, and the old location on Jenkins is gone. It has been a while since I have checked the websites for news, however the Geyser official website also points to a 404 Jenkins job.

The github provides no location for obtaining of releases, and the old location on Jenkins is gone. It has been a while since I have checked the websites for news, however the Geyser official website also points to a 404 Jenkins job.

They migrated to GitHub actions, and it's now a extension for geysermc. Use the actions tab.

How does the extensions work? A quick search doesn't say...

Everywhere needs to be updated to point to the new link, and preferably we could get a permalink to the latest release again...

Everywhere needs to be updated to point to the new link, and preferably we could get a permalink to the latest release again...

I made a pr for that

How does the extensions work? A quick search doesn't say...

Get the file (artifact/build) extract it if it's not a jar, and put the jar in the geyser_extensions folder and start up geysermc, it will make a config file and a folder for GeyserConnect in the extensions folder.

https://github.com/GeyserMC/GeyserConnect/actions
that is a link to the screen where I can click to select a build and then again to download a zip. that is not a permalink to the latest release. a permalink to the latest release would be something like https://nightly.link/GeyserMC/GeyserConnect/actions/artifacts/674314924.zip which in the case of that one uses a 2nd program to redirect to the latest link, so you can use it in auto update scripts and it will always work.

https://github.com/GeyserMC/GeyserConnect/actions
that is a link to the screen where I can click to select a build and then again to download a zip. that is not a permalink to the latest release. a permalink to the latest release would be something like https://nightly.link/GeyserMC/GeyserConnect/actions/artifacts/674314924.zip which in the case of that one uses a 2nd program to redirect to the latest link, so you can use it in auto update scripts and it will always work.

You don't have to be a jerk about it. They migrated to GitHub actions from Jenkins. If you can figure it out why ask. You're wasting my time.

nightly.link  for GitHub This service lets you get a shareable link to download a build artifact from the latest successful GitHub Actions build of a repository.

because I shouldn't have to use a third party website, and my simple update script redownloads every time even if its the same file, which is wasteful, instead of only redownloading if there is a different timestamp...

because I shouldn't have to use a third party website, and my simple update script redownloads every time even if its the same file, which is wasteful, instead of only redownloading if there is a different timestamp...

Well. I explained the process, I hope that should be of help.

authors: MattTheTekie j-romchain

repo: GeyserMC/GeyserConnect


text:
[1.18, Bug] cannot reconnect

So, if you log onto a server, log off, and then log on again, you won't be able to join
You'll just time out instead

seems to be fixed


text:
Added new method to the Dataset class to log dataset to the WandB run.

Added wand dataset log. Sorry for the additional changes due to indents, these are due to idea code refactoring..

Please follow these instructions for the formatting: https://docs.giskard.ai/en/latest/contribute/dev-environment.html (do pre-commit install from the giskard repo)
and re-commit the file you changed, it'll be reformatted automatically.
Thanks

authors: AbSsEnT rabah-khalek

repo: Giskard-AI/giskard


text:
CLI Change

Describe the problem
The problem is this: completely lost in the CLI library. It works badly or not at all, as the library I used to use for it has gotten bad. Namely python-fire. It has problems with it all the time. There is an idea to switch to something better.
I want to switch to Typer. In my opinion, it is a good alternative.

Added Typer for CLI. Should be better now. #17 #15

repo: GitBib/pyasstosrt


text:
maintain(test): ajout des tests unitaire à l'application

Il est nécessaire d'ajouter à l'application la gestion des tests unitaire.
On peut éventuellement penser à une utilisation du "code covrage".
On doit pouvoir mock facilement et aussi lancer les TU via travis.

Fixé via #36.
Je ferme

authors: Nemtecl Philiippe

repo: GitHarpon/git-harpon


text:
Typo in documentation

In https://github.com/GiulioRomualdi/scs-eigen/blob/main/docs/pages/main-page.md#how-to-use-the-library there is a typo as follows:
We provide a list of self-contained examples that can be used as a refernce to build an optimization problem

Thank you @xEnVrE!

authors: GiulioRomualdi xEnVrE

repo: GiulioRomualdi/scs-eigen


text:
🛑 rapishare is down

In e274f5c, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in a9a02a6 after 1 hour, 52 minutes.


text:
🛑 orkut is down

In 33f5880, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 98853c0.


text:
🛑 orkut is down

In 89579b0, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 227 ms

Resolved: orkut is back up in ab0210b.


text:
🛑 orkut is down

In 150cc20, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 142 ms

Resolved: orkut is back up in 47ed724.


text:
🛑 orkut is down

In 27dc029, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 237 ms

Resolved: orkut is back up in af183da.


text:
🛑 orkut is down

In a4340d1, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 303 ms

Resolved: orkut is back up in 23bc881.


text:
🛑 orkut is down

In a425371, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 119ed94.


text:
🛑 ojolink is down

In d8b1c26, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 70f332b.


text:
🛑 hcr is down

In 0a8a800, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 722 ms

Resolved: hcr is back up in d2b2afd.


text:
🛑 orkut is down

In 9bd9416, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 235d190.


text:
🛑 hcr is down

In 9ae0b70, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 1278 ms

Resolved: hcr is back up in 9d67f3c.


text:
🛑 hcr is down

In cc81270, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 1063 ms

Resolved: hcr is back up in 2966116.


text:
🛑 orkut is down

In 88cee9b, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 5e4166e.


text:
🛑 wvtaxsales is down

In 7b6142c, wvtaxsales (wvtaxsales.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: wvtaxsales is back up in 407bfdc.


text:
🛑 letsgo is down

In a253a30, letsgo (letsgo.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: letsgo is back up in c35aa77.


text:
🛑 hcr is down

In e55765e, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 1003 ms

Resolved: hcr is back up in 3c352da.


text:
🛑 hcr is down

In e847e9a, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 1124 ms

Resolved: hcr is back up in 17eac9d.


text:
🛑 ojolink is down

In a874aaa, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 768c0f5.


text:
🛑 ojolink is down

In 363126b, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 430 ms

Resolved: Ojolink is back up in 6dd43fe.


text:
🛑 hcr is down

In 0ec1e48, hcr (hcr.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: hcr is back up in d06be94.


text:
🛑 ojolink is down

In 86ae1d8, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 514 ms

Resolved: Ojolink is back up in 80e6da2.


text:
🛑 ojolink is down

In 0dbaea1, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 463 ms

Resolved: Ojolink is back up in 3e918f2.


text:
🛑 orkut is down

In 42fe6d2, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 666 ms

Resolved: orkut is back up in 71e2de3.


text:
🛑 ojolink is down

In e8c5e7c, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 414 ms

Resolved: Ojolink is back up in aac6067.


text:
🛑 orkut is down

In d396161, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 3b61c6f.


text:
🛑 orkut is down

In 942b617, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 813 ms

Resolved: orkut is back up in bb211e3.


text:
🛑 orkut is down

In 475f995, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 560 ms

Resolved: orkut is back up in 0788611.


text:
🛑 orkut is down

In 38ec1b2, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 908 ms

Resolved: orkut is back up in ca2d285.


text:
🛑 inkcityusa is down

In f7b6e6c, inkcityusa (inkcityusa.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: inkcityusa is back up in 43872f2.


text:
🛑 sohu is down

In 4b55fd5, sohu (sohu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sohu is back up in 10c0660.


text:
🛑 orkut is down

In fc95472, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 6e0c761.


text:
🛑 ojolink is down

In e9b1d1a, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 0a6aa77.


text:
🛑 ojolink is down

In dceaa7d, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in cd6169c.


text:
🛑 orkut is down

In 4f8bfd2, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 75cf840.


text:
🛑 asgreenas is down

In b750093, asgreenas (asgreenas.com) was down:

HTTP code: 403
Response time: 821 ms

Resolved: asgreenas is back up in 739b4f2 after 2 hours.


text:
🛑 uzboys is down

In 363f70c, uzboys (uzboys.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: uzboys is back up in 5db34db after 2 hours, 31 minutes.


text:
🛑 inkcityusa is down

In d691bff, inkcityusa (inkcityusa.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: inkcityusa is back up in 8984aed after 2 hours, 46 minutes.


text:
🛑 torrentzap is down

In cad6d20, torrentzap (torrentzap.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: torrentzap is back up in 18a5b0b after 1 hour, 8 minutes.


text:
🛑 detonics is down

In afbce64, detonics (detonics.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: detonics is back up in 35b7b5a after 1 day, 11 hours, 59 minutes.


text:
🛑 ojolink is down

In 6bdfe20, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 7818842 after 8 minutes.


text:
🛑 twoc is down

In 11ffb5e, twoc (twoc.co.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: twoc is back up in 1ac25d6 after 17 minutes.


text:
🛑 wordpress is down

In dca3e95, wordpress (wordpress.com) was down:

HTTP code: 500
Response time: 49 ms

Resolved: wordpress is back up in 2141e4d.


text:
🛑 orkut is down

In 3eb4a19, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 2bf9744 after 6 minutes.


text:
🛑 taobao is down

In 0ce7bdc, taobao (taobao.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: taobao is back up in 5d16d70 after 11 days, 18 hours, 1 minute.


text:
🛑 ojolink is down

In 693626e, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 6fe8349 after 8 minutes.


text:
🛑 ojolink is down

In 21dd840, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 57901b6 after 8 minutes.


text:
🛑 orkut is down

In 4a6cf3f, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 03e3b99 after 8 minutes.


text:
🛑 orkut is down

In 493e43f, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in c417b87 after 54 minutes.


text:
🛑 torrentzap is down

In cbd80e6, torrentzap (torrentzap.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: torrentzap is back up in 3e871c7 after 41 minutes.


text:
🛑 da1234 is down

In 2f7e916, da1234 (da1234.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: da1234 is back up in cf2f376 after 5 hours, 12 minutes.


text:
🛑 detonics is down

In 083d603, detonics (detonics.com) was down:

HTTP code: 403
Response time: 422 ms

Resolved: detonics is back up in 94bcc3c after 9 hours, 52 minutes.


text:
🛑 detonics is down

In eec1a93, detonics (detonics.com) was down:

HTTP code: 403
Response time: 594 ms

Resolved: detonics is back up in e28c503 after 18 minutes.


text:
Reduce notification centre

In an effort to limit load on our backend, it would be great to reduce the notification centre
Imo, we should:

Don't send notifications for received donations less than $1 (neither emails nor in the dapp)
Don't send notifications for sent donations (neither emails or in the dapp)
Remove: My project activity -  Project published
Remove: My project activity - Project updated or edited

@CarlosQ96 pls take this up as a p0. Let me know if you have any other p0 items on plate. I will help you reprioritize.

Thanks, I can take it soon. Finishing p0 about importing the missing donations, currently a draft pr, im cleaning up and will leave it for review in a few hours.

@CarlosQ96 - We should find a way to test to know if this is the root cause of our issues.
In the meantime, for expediency we should turn off the notification center while we work on these issues defined above.
We should remember to turn on the notification center in time for GIVbacks distribution so users are notified of those.
cc @WhyldWanderer

@RamRamez there is a small part that must be done in the frontend, the notification settings are handled directly by your side. Maybe we can disable that view for now.

@CarlosQ96 - We should find a way to test to know if this is the root cause of our issues.
In the meantime, for expediency we should turn off the notification center while we work on these issues defined above.
We should remember to turn on the notification center in time for GIVbacks distribution so users are notified of those.
cc @WhyldWanderer

GIVBack notifications are managed by giveconomy-notificaiton-service, independent of impact-graph.

There is an important question here! should we ignore all notifications that used to be sent during this off time? or do we have to send them suspended notifications after it's enabled?

I feel like the most important ones not to miss are GIVbacks are out...
I honestly don't think it is an issue to just ignore & never send the ones during this time, but curious to hear what @whyldwanderer or @divine-comedian think

Yes, we can ignore the notifications

Yeah.. I think we can ignore them as well.. how long is the projected period of time for it to be completely down?

my project received a 11 USD donation but no notification and email has been sent for project owner
https://explorer.solana.com/tx/7599siBRhzt6W39Mom3VS9eqJkMzSJNHkKcbDKRdDZRU3tsUSLMqV3r74WRUnEHJM1BkfiPs58gg7Ldbtj7PDVh?cluster=devnet

@maryjaf  - Are you sure this service is working for Solana donations? This issue was made with EVM donations in mind (it should eventually work for Solana too)

my project received a 11 USD donation but no notification and email has been sent for project owner

ّI reported this problem on issue about solana notification (# 3559), and Amin said it seems it's related to this issue

@CarlosQ96 - what is the update for this issue?

but what if....

The notifications from the checklist have been disabled. I thought Maryjaf late confirmed the issue were fixed. Can you reconfirm @maryjaf ?

Thanks @CarlosQ96 Yeah the problem related to solana donation notification has been resolved, I had commented on (# 3559)

authors: CarlosQ96 WhyldWanderer aminlatifi divine-comedian jainkrati laurenluz maryjaf

repo: Giveth/impact-graph


text:
angularjs package for templates

Hello.
Trying to beautify templates, where is selected language is Html(Angular), takes forever.
This appears with the following package:
AngularJS-atom
However switching to default Html, then pressing beautify everything works fine.
Maybe it would be good for all Html extensions to beautify exactly as default Html?
I just needed the indentations, and I think this is most reason to beautify the file, to intend the code.

Could you prepare a debug.md file and past it into a gist?  We cannot move forward without it.  Please reopen the issue at that time and we will investigate.
https://github.com/Glavin001/atom-beautify/blob/master/docs/troubleshooting.md

authors: phstoned prettydiff


text:
Violations is not defined

I am getting an error that says violations is not defined. I am working on .jsp files with javascript mixed in.

Please follow https://github.com/Glavin001/atom-beautify/blob/master/CONTRIBUTING.md#new-issues-bugs-questions-etc , specifically the steps about running command Atom Beautify: Help Debug Editor. This information will be useful for debugging,

debug.md:
https://gist.github.com/758a14c017a5a119086f
Because the source file is close to 1000 lines, i removed all but the opening and closing html tags and the jstl at the beginning. I am not sure if I'm reading the output correctly, but it seems that the source file is being interpreted as xml.

@prettydiff any ideas?

Fixed in v1.15.16


text:
Food Delivery Reviews Classification Prebuilt Model [Resolves #290]

sadedegel/prebuilt/README.md:

Added how to use prebuilt pipeline
Added how to use evaluation
Added holdout test set F-1 macro score

sadedegel/prebuilt/model/food_sentiment.joblib:

Dumped pretrained/optimized model weights

sadedegel/prebuilt/food_reviews.py:

Created functions according to CONTRIBUTING.md
Implemented build, load and evaluate functions
Added optional argument to check roc_auc score for predict_proba method
Best model and vectorizer parameters are selected using bayesian optimizer

tests/prebuilt/context.py:

Added import line for the base model

tests/prebuilt/test_food_reviews.py:

Added assertions for testing purposes.

sadedegel/dataset/food_review/*

Created a dataset imports by @dafajon based on the data I mentioned on Issue #290

Which function did you use as loss during Bayesian Opt? Can you upload optimization code separately on a private gist and share with me as contributor. Let's version it for future use next to optuna.

authors: dafajon ertugrul-dmr

repo: GlobalMaksimum/sadedegel


text:
How to prevent opening a browser window?

Everytime I run broccoli serve, a browser window opens. I'd like to disable it and and found that this is a BrowserSync option. But it doesn't work for me.
Here is my relevant Brocfile.js:
    var browserSync = new BrowserSync([styles, scripts], {
        // proxy the local play server
        port: 9000,
        browserSync: {
            open: false // should not open the browser
        }
    });

What am I doing wrong?

This has not been released yet; please release a new version.

Fixed in 1.0.1.

authors: cornerman fdietze mlaccetti

repo: Globegitter/broccoli-browser-sync


text:
Feeling like I am missing something obvious... :S

Hey!
The add-on looks amazing but I think I am missing something obvious.. Everything is going fine until I click close, nothing actually appears on the card. It is like the cards are not being made, nothing happens.
(In the gif below I had a pic on the clipboard – great feature btw!)

Thank you so much for any pointers on this, would love to use this add-on!

Hi Lydia,
the cards are added directly to your collection when you press either of the "add nonoverlapping/overlapping" buttons. The note won't appear in the editor, but as soon as you go back to Anki's main screen you should see the cards in your deck, ready to be reviewed.
Hope that helps!

It does! Thanks a million for your work :)

You're welcome :).

authors: Glutanimate LydiaF


text:
File perms error for 0644 file perms

I'm getting for a main.go file when run through gometalinter:
Expect file permissions to be 0600 or less

The perms are 0644.
Is this saying main.go should have 0 for group and other perms? If so, why is this so stringent? 0644 are the default perms, on macOS at least, and they're perfectly fine.

Well it really depends on the use case. For example 0644 would not be acceptable if the file contained any sort of credentials. So we have opted for a strict but secure default. FWIW - This is configurable (but not currently documented feature).
github.com/GoAstScanner/gas  master ✗                                                                                28d ◒  ⍉
▶ ./gas -include=G302  ~/samples/fileperms1_sample.go
Results:

[/Users/gm/samples/fileperms1_sample.go:6] - Expect file permissions to be 0600 or less (Confidence: HIGH, Severity: MEDIUM)
  > os.Chmod("/tmp/somefile", 0777)

[/Users/gm/samples/fileperms1_sample.go:7] - Expect file permissions to be 0600 or less (Confidence: HIGH, Severity: MEDIUM)
  > os.Chmod("/tmp/someotherfile", 0644)

Summary:
   Files: 1
   Lines: 8
   Nosec: 0
  Issues: 2

github.com/GoAstScanner/gas  master ✗                                                                                28d ◒  ⍉
▶ cat config.json
{
  "G302": "0644"
}

github.com/GoAstScanner/gas  master ✗                                                                                28d ◒
▶ ./gas -conf=config.json -include=G302  ~/samples/fileperms1_sample.go
Results:

[/Users/gm/samples/fileperms1_sample.go:6] - Expect file permissions to be 0644 or less (Confidence: HIGH, Severity: MEDIUM)
  > os.Chmod("/tmp/somefile", 0777)

Summary:
   Files: 1
   Lines: 8
   Nosec: 0
  Issues: 1

You're not supposed to put credentials in code, right? Requiring stricter
perms than the OS default seems like overkill. Won't practically every Go
file out there fail this check?
This is used by gometalinter now. Is this intended to be a general-purpose
linter? Maybe that's my disconnect.
Thanks for replying.
On Tue, Jan 10, 2017 at 5:11 PM Grant Murphy notifications@github.com
wrote:

Well it really depends on the use case. For example 0644 would not be
acceptable if the file contained any sort of credentials. So we have opted
for a strict but secure default. FWIW - This is configurable (but not
currently documented feature).
github.com/GoAstScanner/gas  master ✗                                                                                28d ◒  ⍉
▶ ./gas -include=G302  ~/samples/fileperms1_sample.go
Results:
[/Users/gm/samples/fileperms1_sample.go:6] - Expect file permissions to be 0600 or less (Confidence: HIGH, Severity: MEDIUM)

os.Chmod("/tmp/somefile", 0777)

[/Users/gm/samples/fileperms1_sample.go:7] - Expect file permissions to be 0600 or less (Confidence: HIGH, Severity: MEDIUM)

os.Chmod("/tmp/someotherfile", 0644)

Summary:
Files: 1
Lines: 8
Nosec: 0
Issues: 2
github.com/GoAstScanner/gas  master ✗                                                                                28d ◒  ⍉
▶ cat config.json
{
"G302": "0644"
}
github.com/GoAstScanner/gas  master ✗                                                                                28d ◒
▶ ./gas -conf=config.json -include=G302  ~/samples/fileperms1_sample.go
Results:
[/Users/gm/samples/fileperms1_sample.go:6] - Expect file permissions to be 0644 or less (Confidence: HIGH, Severity: MEDIUM)

os.Chmod("/tmp/somefile", 0777)

Summary:
Files: 1
Lines: 8
Nosec: 0
Issues: 1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoASTScanner/gas/issues/107#issuecomment-271748691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5VrBGEr_iGYaD3E6e8QbnKsrmlERUks5rRCwogaJpZM4LgDB-
.

Sorry. Just to be clear this rule will trigger wherever Go source code is creating a file not on the actual permissions of Go source files within a project.
From a security review / code auditing point of view I want to know where files are being created on the filesystems that aren't following principle of least privilege type practices.

Oh, I misunderstood. Strange, the file it complained about doesn't write any files directly.
...And of course now it won't repro. Closing. Thanks. :)

Hi @gcmurphy,
The principle of least privilege type practices does not justify the error in the lint. The lint cannot know if I am giving or not the least privilege for my use case.
Example:
I am tooling a process where it would create a file that should/can be edit for anyone.
The linter is raising issues when should not and trying to do a check that goes beyond its responsibility since it is unable to analyse the scenario and the business rules to know if the 644 is or nor the least privilege that should be applied, indeed.

The aim of gosec is to find potential security problems and you could make a similar argument against most of the rules in gosec really as usually there isn't enough context to make a definitive decision. From a security researchers perspective knowing places like this in a code base you may be unfamiliar with is really useful.
For this specific scenario if you are working closely with the tool you have a multitude of options:

Disable the rule completely
Alter the permission level you warn about
Add an annotations to any false positives to avoid future warnings.

authors: camilamacedo86 gcmurphy willfaught

repo: GoASTScanner/gas


text:
Request for customize time chart

Hey mate i would like to request you to have customize time chart. if thats not possible please provide a 12h chart.
cheers
Regards
SK - posted by sk10g16@soton.ac.uk

Dup

repo: GoChartingAdmin/Go-Charting


text:
added surface footstep - system

added surface_audio - a node that can be placed inside any static body and once you stand on it, it starts playing the previously defined footstep
added movement_footstep - a movement provider that controls the footsteps it plays in combination with the surface audio plays the corresponding footstep soundfile
added footstep_holder - holds all footstep sounds, this node gets instanced under the player_body/kinematic_node
added randomAudio and randomAudioStream - these .gd scripts are responsible for the variation in the audio of the footsteps, they play the audio files randomly and change the pitch_scale randomly

1st, thank you @Malcolmnixon for helping me inbetween, without your kind help i wouldnt have finished this.
thx
Notes:
the present footstep sounds are vocal audio files are for debugging purposes.
replacing those is not what i intend, so if someone has free open source audio for footsteps or is willing to create some from scratch, feel free to do so.
missing instructions  - if this pr should get noted to be accepted, am willing to update this with instructions
code refactoring - the code above is not perfect and i know this but it is what i was able to accomplish with my limited knowledge of .gd script and the xr tools, so whoever wants can fix my errors

One option for supporting any number of surface sounds is to introduce a new resource to define the surfaces. Something like:
tool
class_name XRToolsSurfaceType, "res://addons/godot-xr-tools/editor/icons/body.svg"
extends Resource

## XRTools Surface Type Resource
##
## This resource defines a type of surface, and the audio streams to play when
## the user lands or walks on it.

## Surface name
export var name : String = ""

## Audio stream to play when the player lands on this surface
export var hit_sound : AudioStream

## Audio streams to play when the player walks on this surface
export(Array, AudioStream) var walk_sounds : Array = []

## Walking sound minimum pitch (to randomize steps)
export(float, 0.5, 1.0) var walk_pitch_minimum : float = 0.8

## Walking sound maximum pitch (to randomize steps)
export(float, 1.0, 2.0) var walk_pitch_maximum : float = 1.2

# This method checks for configuration issues.
func _get_configuration_warning():
	# Verify the camera
	if name == "":
		return "Surface type must have a name"

	# Verify hit sound
	if !hit_sound:
		return "Surface must specify a hit audio stream"

	# Verify walk sounds
	if walk_sounds.size() == 0:
		return "Surface must specify one or more walk audio streams"

	# No configuration issues detected
	return ""

In the editor defined resources would look like this:

Thanks for reworking/ givin a way of removing the hardcoding, however right now am not able to grasp how to connect your suggestion properly and because of that am converting this to draft.
Not sure when i will be able to sort this, still thanks

thanks to @Malcolmnixon who took the time to rework the footstep system i started to be more generic and not anymore hardcoded

added instructions to the demo scene along with controls and therefore am moving to ready for review

I ended up using this in my GGJ project (https://github.com/lunarcloud/vr-game-GGJ-2023) however play-testing immediately revealed that people want the foot-step sounds to be played more frequently when the player moves faster.

Indeed that is where gettin the sprint providers instance would come in play.
By connecting the sprint started and finished signals we might be able to get this done.
Another thing is the infinity sprint, right now you can do that endless. Stamina should be added to the sprint provider and the movement direct provider should be made available as get instance so that one can adjust the max speed to half speed to recover for sprint. Thats just an idea

Why not just use the ground control velocity we're already using. Specifically the step_time is decrement by delta. If it were instead decrement by delta * player_body.ground_control_velocity.length() then the rate of steps would be proportional to the players requested run speed.

During XR meeting, there is a lot of enthousiasm for this feature.
The question raised is if it makes sense to spin this off into a separate audio library that can be used more widely then just XR as normal games have these issues as well.
That said, we also agreed this should not stop us from finishing and merging this now, and maybe spinning this off at some later date.
Waiting on more people to review and suggest improvements.

During XR meeting, there is a lot of enthousiasm for this feature.
The question raised is if it makes sense to spin this off into a separate audio library that can be used more widely then just XR as normal games have these issues as well.
That said, we also agreed this should not stop us from finishing and merging this now, and maybe spinning this off at some later date.
Waiting on more people to review and suggest improvements.

Spinning Off.. yeah indeed this would be a cool thing to do.
At a later point it might make sense to do this.
Right now Godot XR got almost nothing when it comes to audio and this needs to change.
Therefore ic the footsteps as the building block, next would be building a Audio Collision System with interactables support for when throwing/dropping/using/hitting with/without hands. This should close the gap we got when it comes to audio in the xr tools.
This would come in handy with the collision hands system that i plan to get added to godot xr

I updated my game to use the new speed-based version. I did end up changing the step_rate from 0.5 to 1.0. This is essentially now how many steps per meter. It might be a good idea to rename it to 'steps_per_meter' and make it an exported property in case anyone wants to tweak it (or if people shrink the player and want the steps to change appropriately)

The current sounds are vocal audio files - put in because the original implementation had an exhaustive enumeration of ground types it could handle. Now that it's resource based we could get away with only having a few ground materials, and using actual audio files for them.

aye understood, just didnt got around..
will update both pr's with the above audio files and remove the placeholders

I think this is now ready to go in. It plays well and the sounds are good.

authors: BastiaanOlij DigitalN8m4r3 Malcolmnixon

repo: GodotVR/godot-xr-tools


text:
(Bug) Sign TX buttons are hidden and modal not scrollable

First Issue

@patpedrosa yes that is doable

Hotfixed released here: https://github.com/GoodDollar/GoodDAPP/commit/143aa62b9d5cbae23351fe61cf868063a67dddad

verified via different challenge on prod

authors: L03TJ3 sirpy vldkhh

repo: GoodDollar/GoodDAPP


text:
How do i judge the tap/click event success?

The tap/click event sometimes failed in the slow network speed.
For example, it can't trigger a href element to open new tab.(It may be the element position is error in the slow network speed).
I think it's sure to judge the event success state.

Input.dispatchTouchEvent Input.dispatchMouseEvent from element position to trigger event rather than use dom event to trigger.
If the position is error,it means the event is failed.

@fhmd4k I'm not sure I follow. What do you mean by 'success'?

@aslushnikov I use the page.tap(a link element) .
If i tap success:
1.may open new tab (_blank) or navigate to other page(_self)?
2.may do some javascripts (if some listeners have listened)?
....
in the lib/Page.js find
  async tap(selector) {     const handle = await this.$(selector);     console.assert(handle, 'No node found for selector: ' + selector);     await handle.tap();     await handle.dispose();   }
it will call the elementHandle to do, in the lib/ElementHandle.js
look at element.getBoundingClientRect()
`
async _visibleCenter() {
const center = await this.evaluate(element => {
if (!element.ownerDocument.contains(element))
return null;
element.scrollIntoViewIfNeeded();
// in the slow network, the page may load incompletely. it will get the incorrect position. If the position is incorrect,it will tap failed.
//For example:  ( the a link element correct position is 150, 200). In the slow network, it get the incorrect position 150,170.  It can't tap the element successfully.
const rect = element.getBoundingClientRect();
return {
x: (Math.max(rect.left, 0) + Math.min(rect.right, window.innerWidth)) / 2,
y: (Math.max(rect.top, 0) + Math.min(rect.bottom, window.innerHeight)) / 2
};
});
if (!center)
throw new Error('No node found for selector: ' + selector);
return center;
}
async tap() {
const { x, y } = await this._visibleCenter();
await this._touchscreen.tap(x, y);
}
`

If i tap success:

may open new tab (_blank) or navigate to other page(_self)?
may do some javascripts (if some listeners have listened)?
and so on

@fhmd4k there's no generic way to determine tap "success", as you defined it here.
A few ideas:

A new tab would be possible to track once #554 lands. The navigations are reported with 'framenavigated' event.
JavaScript execution should be observed entirely by side effects it produces. If there are no side-effects, in some cases you can override some method to trace it (see examples/detect-sniff.js)

thanks

repo: GoogleChrome/puppeteer


text:
Add hooks for puppeteer page life cycle

Why
I noticed that Rendertron currently does not handle CSSOM that are injected on the page using insertRule. As these CSS rules are added to the browsers memory and do not make it in DOM, Rendertron can't serialize/save these styles in the generated snapshot.
Examples of the issue
There are few reports of these kind of issues #291 , styled-components#2577, prerender#574.
Changes proposed
This PR proposes to add puppeteer config section to the config file.  The config will support evaluateOnNewDocument and beforeSerialize
    "puppeteer": {
        "evaluateOnNewDocument": "SC_DISABLE_SPEEDY = true;",
        "beforeSerialize": "./test-resources/cssom-to-styles.js"
    }

puppeteer config
Currently only supports:

evaluateOnNewDocument - inline script/function that is invoked after the document was created but before any of its scripts were run. You can use this as a hook to initialize/bootstrap any custom logic/state needed by the page. See puppeteer.evaluateOnNewDocument
beforeSerialize - path to a custom JS script that will be executed before the page is serialized by rendertron. The path is relative to rendertron root folder or can be absolute path.

Potential future extension
With the puppeteer config section, it will be possible to expose/support more puppeteer configurations/customizations in future.
README and Docs
Included in this PR also are the updates to the README and configuration.md files.
Test cases
Added 2 test cases to validate the working of evaluateOnNewDocument and beforeSerialize configuration.

@AVGP when you get a chance , please do review and let me know if you need any changes.

@AVGP bumping this up to make sure it does not get lost in the dependabot PRs :). Please do review it when you get a chance.

@AVGP just checking if you got a chance to review this PR and if you had any feedback?

@AVGP I have rebased my PR to the latest master changes. But now looks like the 3 checks (related to ec2 cache) are failing due to the missing  google-cloud-sdk-datastore-emulator package. My PR does not have any changes relevant to these. I am still looking but I think these checks maybe failing on "main" too.

repo: GoogleChrome/rendertron


text:
Implement network.responseStarted event

Spec: https://w3c.github.io/webdriver-bidi/#event-network-responseStarted

See https://github.com/w3c/webdriver-bidi/pull/204#issuecomment-1570324761.

repo: GoogleChromeLabs/chromium-bidi


text:
Add tests for strict mode

Add test for strict mode in evaluate and callFunction

Why are these not WPT tests?

Why are these not WPT tests?

There are such tests in WPT as well: https://github.com/web-platform-tests/wpt/pull/35448
Some of our e2e tests intersect with WPT, and this is an example. Do you think this tests are too niche, and should not be in e2e tests? I'm inclined to agree with that position.

The tests are too niche, and we can keep them only in WPT: https://github.com/web-platform-tests/wpt/pull/35448

authors: mathiasbynens sadym-chromium


text:
export-dev

Adds npm run-script export-dev.
I'll admit it, this is basically so I can continue hosting it (unofficially) on https://glennhartmann.github.io/llaminator

I think that we should limit ourselves to a single build configuration, until we really need multiple, and that should just be prod. ESBuild & co. can be configured to output source maps that will make debugging much easier.
A few comments on the actual code to align w/ similar projects.

authors: beverloo glennhartmann

repo: GoogleChromeLabs/llaminator


text:
Migrated from Standard to flex and lost the mapping of / -> /index.jsp

From a customer:
I'm working on migrating my app from standard -> flex and am using the compat image (java 7) and have run into a small inconsistency I thought I'd check in about and see if it's a known issue:
My app has an admin site written in .jsp which when deployed in standard is available at:
https://XXX.appspot.com/admin_console
When deployed in Flex (using true in the .xml descriptor) I need to explicitly call out the jsp path to get the content:
https://XXX.appspot.com/admin_console/index.jsp
Note: There is a filter installed on /admin_console/* which requires authentication. This filter is working properly which is why regardless of the deployment you don't 404. However, if you were able to authenticate, then in the case where this app is deployed on Flex, you would see no content unless you used the second url form. In the case where it's deployed in Standard, it would be business as usual.
Update, Later:
FWIW with the new version it works if you put the / in but not without.
Works:
http://XXX.appspot.com/admin_console/
Doesnt:
http://XXX.appspot.com/admin_console

That update explains a bit.
For a request to /contextPath there are two actions that take place:

a redirection is performed to /contextPath/, so that relative paths will work correctly
the redirected request to put through the welcome page mapping of the context to locate the actual page.

So it appears that step 2 is working, but step 1 is not.  Step 1 is optional by calling ContextHandler.setAllowNullPathInfo(true),  but the default is false and I find it highly unlikely that somebody would have configured this?  But we should check.
Thus is may be some interaction with the authentication redirections at that URI as well?
So we need to investigate.  However, I think there is probably an enhancement we can do to jetty to make it try the welcome page redirections even with a null path info.  This wont help us short term but will make this more robust.  I have raised https://github.com/eclipse/jetty.project/issues/506

@ludoch How is the context path being set in this case?  It is hard coded to / in root.xml in the images I can see?

I think so, ( I guess but will check with the reporter). I doubt he
customized any of the jetty xml conf files we have.
On Mon, Apr 11, 2016 at 5:53 PM, Greg Wilkins notifications@github.com
wrote:

@ludoch https://github.com/ludoch How is the context path being set in
this case? It is hard coded to / in root.xml in the images I can see?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/issues/210#issuecomment-208649985

maybe it is the only legacy image with jetty9.2
On Mon, Apr 11, 2016 at 7:11 PM, Greg Wilkins notifications@github.com
wrote:

I've been testing 9.3.x and it does correctly map requests to /context to
welcome files even if setAllowNullPathInfo(true) has been called. It may be
JSP related, but we need to know more about their setup before we do much
more.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/issues/210#issuecomment-208664417

setup:
do not put 1.8 in the pom.xml
add true in appengine-web.xml of a standard GAE all
On Mon, Apr 11, 2016 at 7:39 PM, Ludovic Champenois <
ludovic.champenois@gmail.com> wrote:

maybe it is the only legacy image with jetty9.2
On Mon, Apr 11, 2016 at 7:11 PM, Greg Wilkins notifications@github.com
wrote:

I've been testing 9.3.x and it does correctly map requests to /context to
welcome files even if setAllowNullPathInfo(true) has been called. It may be
JSP related, but we need to know more about their setup before we do much
more.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/issues/210#issuecomment-208664417

@ludoch still need to checkout how he is setting context path before we deploy anything
By "a standard GAE all" do you mean master or something prior to that?
Will check 9.2.x and JSP behaviour shortly for null pathinfo, but that still does not explain why the redirection is not done in the first place.

https://github.com/eclipse/jetty.project/issues/506 was closed, as testing showed that jetty 9.2 and 9.3 handles serving index jsp files with null path info just fine.
Need more info from reporter about their setup.

authors: gregw janbartel ludoch