text:
[BUG] IMU orientation message does not consider Magnetometer data

Noticed the IMU orientation vector is not calculated.
To reproduce it is just to check the /oak/imu topic where the orientation is 0 0 0 1.
I am using a OAK D PRO W device with a BNO085 IMU.
based on the docs I naively did a modification on the stereo_inertial_publisher.cpp sample adding
imu->enableIMUSensor(dai::IMUSensor::MAGNETOMETER_RAW, 10);

But there are no visible results, finally I could check the orientation is still empty, I am using noetic but the same happens with humble.
    interpMsg.orientation.x = 0.0;
    interpMsg.orientation.y = 0.0;
    interpMsg.orientation.z = 0.0;
    interpMsg.orientation.w = 1.0;

Would like to know the plans to integrate a orientation value, or to publish a standalone magnetometer topic?
Currently we are using a 9 axis external IMU and using the madgwick filter node to get and absolute reference for the IMU output.
We want to use the integrated IMU from the camera to keep configuration as simple as possible, the expected output for us is to get an absolute orientation for outdoor navigation.
Is there a sample code I could integrate to check if the information can be published?
Related information I could find, here and here.
system log

oak2_log_system_information.zip
NVidia Jetson Orin using Jetpack 5.1.1 Ubuntu 20.04.6 LTS
ROS noetic 1.16.0
depthai-ros built from source
depthai/depthai-core library installed from rosdep
apt show ros-$ROS_DISTRO-depthai ros-$ROS_DISTRO-depthai-ros ros-$ROS_DISTRO-depthai-bridge ros-$ROS_DISTRO-depthai-ros-msgs ros-$ROS_DISTRO-depthai-ros-driver

Package: ros-noetic-depthai
Version: 2.20.2-1focal.20230202.200823
Priority: optional
Section: misc
Maintainer: Sachin Guruswamy <sachin@luxonis.com>
Installed-Size: 21.3 MB
Depends: libc6 (>= 2.17), libgcc-s1 (>= 4.5), libopencv-core4.2 (>= 4.2.0+dfsg), libopencv-imgproc4.2 (>= 4.2.0+dfsg), libstdc++6 (>= 9), libopencv-dev, libusb-1.0-0-dev, nlohmann-json3-dev, ros-noetic-catkin
Homepage: https://www.luxonis.com/
Download-Size: 10.2 MB
APT-Manual-Installed: yes
APT-Sources: http://packages.ros.org/ros/ubuntu focal/main arm64 Packages
Description: DepthAI core is a C++ library which comes with firmware and an API to interact with OAK Platform

Version: 2.6.1-2focal.20230225.012112
Priority: optional
Section: misc
Maintainer: sachin <sachin@luxonis.com>
Installed-Size: 18.4 kB
Depends: ros-noetic-depthai, ros-noetic-depthai-bridge, ros-noetic-depthai-examples, ros-noetic-depthai-ros-driver, ros-noetic-depthai-ros-msgs
Download-Size: 2,124 B
APT-Sources: http://packages.ros.org/ros/ubuntu focal/main arm64 Packages
Description: The depthai-ros package

Package: ros-noetic-depthai-bridge
Version: 2.6.1-2focal.20230216.065040
Priority: optional
Section: misc
Maintainer: Sachin Guruswamy <sachin@luxonis.com>
Installed-Size: 69.5 MB
Depends: libc6 (>= 2.17), libgcc-s1 (>= 4.2), libopencv-core4.2 (>= 4.2.0+dfsg), libopencv-imgcodecs4.2 (>= 4.2.0+dfsg), libopencv-imgproc4.2 (>= 4.2.0+dfsg), libstdc++6 (>= 9), libboost-dev, libopencv-dev, ros-noetic-camera-info-manager, ros-noetic-cv-bridge, ros-noetic-depthai, ros-noetic-depthai-ros-msgs, ros-noetic-image-transport, ros-noetic-robot-state-publisher, ros-noetic-ros-environment, ros-noetic-roscpp, ros-noetic-sensor-msgs, ros-noetic-std-msgs, ros-noetic-stereo-msgs, ros-noetic-vision-msgs, ros-noetic-xacro
Download-Size: 10.5 MB
APT-Sources: http://packages.ros.org/ros/ubuntu focal/main arm64 Packages
Description: The depthai_bridge package

Package: ros-noetic-depthai-ros-msgs
Version: 2.6.1-2focal.20230216.064856
Priority: optional
Section: misc
Maintainer: Sachin Guruswamy <sachin@luxonis.com>
Installed-Size: 475 kB
Depends: ros-noetic-geometry-msgs, ros-noetic-message-runtime, ros-noetic-sensor-msgs, ros-noetic-std-msgs, ros-noetic-vision-msgs
Download-Size: 39.4 kB
APT-Sources: http://packages.ros.org/ros/ubuntu focal/main arm64 Packages
Description: Package to keep interface independent of the driver

Package: ros-noetic-depthai-ros-driver
Version: 2.6.1-2focal.20230225.010515
Priority: optional
Section: misc
Maintainer: Adam Serafin <adam.serafin@luxonis.com>
Installed-Size: 1,490 kB
Depends: libc6 (>= 2.17), libconsole-bridge0.4, libgcc-s1 (>= 4.2), libopencv-core4.2 (>= 4.2.0+dfsg), libopencv-imgproc4.2 (>= 4.2.0+dfsg), libstdc++6 (>= 5.2), ros-noetic-camera-info-manager, ros-noetic-cv-bridge, ros-noetic-depthai, ros-noetic-depthai-bridge, ros-noetic-diagnostic-msgs, ros-noetic-dynamic-reconfigure, ros-noetic-image-pipeline, ros-noetic-image-transport, ros-noetic-image-transport-plugins, ros-noetic-message-filters, ros-noetic-nodelet, ros-noetic-roscpp, ros-noetic-rospy, ros-noetic-sensor-msgs, ros-noetic-std-msgs, ros-noetic-std-srvs, ros-noetic-vision-msgs
Download-Size: 277 kB
APT-Sources: http://packages.ros.org/ros/ubuntu focal/main arm64 Packages
Description: Depthai ROS Monolithic node.

Hi, currently rotation vector is not enabled in the driver, will add option to use it's data this week.

ok cool will be waiting for that.
Can you detail if the magnetometer will be available as a separate Rostopic?

Hi @ladrians , you can find details here, in short there will be an option to choose different message types when publishing, either with a custom message that contains both imu and magnetic field message or to have those messages split into two different topics

lgtm! is there a change to port it to noetic branch?

@Serafadam is there a change to backport it to the noetic branch?

Hi, sorry for the delay, I was away for some time, yes, the newest Noetic branch also has those changes

Closing since the issue was resolved.

authors: Serafadam ladrians

repo: luxonis/depthai-ros


text:
pull master

Pre-launch Checklist

[ ] I have updated CHANGELOG.md with my changes
[ ] I have run "dart format ." on the project
[ ] I have added/updated relevant documentation

pull master

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Add some improvements for the new native Windows driver (win32drv)

Improve the zoomed graphic quality.
Improve the DPI support.
Fix out of range issue in the pointer input device driver.
Add native render support for 16, 8 and 1 LVGL color depth mode.

Before

After

As far as I can judge it looks good.
Side note: I didn't know the MulDiv functions. What a great name for this common calculation. Probably I'll add something like this in lv_math.h. :slightly_smiling_face:

@kisvegabor
Here is the documentation of 'MulDiv' function.
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-muldiv
The function multiplies two 32-bit values and then divides the 64-bit result by a third 32-bit value. The final result is rounded to the nearest integer. It's a common API used in the High DPI support.

Thanks! In LVGL something like this is used to avoid floating-point numbers. E.g. (10 * 3) / 4.

@kisvegabor

In LVGL something like this is used to avoid floating-point numbers.

But I do some search and don't find the similar API in lv_math.h.

Probably I'll add something like this in lv_math.h. slightly_smiling_face

But I do some search and don't find the similar API in lv_math.h.

I meant I'll add it in the future.
Anyway, as the PR looks good, so I merge it.

Thanks for merging.

I meant I'll add it in the future.

Got it.

authors: MouriNaruto kisvegabor

license: MIT


text:
torch_npu不支持get_cann_version

/mindtorch

source: gharchive/issue

repo: lvyufeng/mindtorch


text:
New Error

Been working fine for a year or so but now Getting this error message: Cannot parse response to an image.
iOS 14.4.1

Maybe something is wrong with the downloaded homebridge logo that is saved in your iCloud. What if you manually delete it and execute the script again?

repo: lwitzani/homebridgeStatusWidget


text:
File push broken with 2.5 windows client

Seems like #2557 broke LXC 2.5 client on Windows.
>lxc exec far2l ls /
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  snap  srv  sys  tmp  usr  var

>lxc file push t01list.py far2l/
error: open: No such file or directory
errno: 2

>lxc file push t01list.py far2l/xxx

>lxc exec far2l ls /
\xxx  bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  snap  srv  sys  tmp  usr  var

Required information

Distribution: Vista 32
The output of "lxc info":

  driver: lxc
  driverversion: 2.0.5
  kernel: Linux
  kernelarchitecture: x86_64
  kernelversion: 4.8.0-26-generic
  server: lxd
  serverpid: 2703
  serverversion: 2.4.1
  storage: dir
  storageversion: ""

LXC version: 2.5

Perhaps we should just move the path normalization to linux only, i have no idea what it would be in windows.

repo: lxc/lxd

license_source: bigquery


text:
Memory overcommitment + container limits

Hello, I'd like to know how does LXD manage the RAM over-commitment. KVM uses KSM + ballooning.
Also I'd like to know the limits in terms of how much RAM, CPU, NICs and mounts LXD supports ( I mean max numbers per container, and max numbers per daemon) and the max amount of containers per daemon.
I haven't found that info in the documentation

LXD container will support as much ram, cpu, nics, mounts as your host would. It's all shared kernel objects so the same limits apply.
There are no limits to then number of containers you can run, though it's rare that you can exceed 10000 without getting into some serious slow downs due to the very high amount of kernel objects resulting from that.
To get you past around 500 containers you will also have to bump a number of sysctls, we have those listed in our production setup documentation.
As for memory. There is no need of ballooning for containers. Ballooning is used to prevent VMs from caching data, taking that memory away from the host. With LXD, the containers are just processes on the host, so caching is done for the whole host by the kernel.

OK thanks a lot @stgraber


text:
Shared ZFS storage fails while set security.idmap.isolated=true

Required information

Distribution: Ubuntu
Distribution version: Ubuntu 16.04.3 LTS
The output of "lxc info" or if that fails:
driver: lxc
driver_version: 2.0.8
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.4.0-91-generic
server: lxd
server_pid: 2363
server_version: "2.16"
storage: zfs
storage_version: 0.6.5.6-0ubuntu16

Issue description
I've created a custom storage backed with ZFS
I've set security.idmap.isolated=true but try to get a storage writable by one container and read only by others, to propagate data and sockets (via world readable in those containers).
My current situation is also that this storage volume does not mount automatically, and container, that depend on this storage, fails to start.
Firstoff: This seems to be in conflict with the solution of issue #3548
Second: Would it be possible to have one shared uid/gid between the provider container and a consumer container while have set security.idmap.isolated=true and ids not shared between consumers?
Steps to reproduce

Create at least two containers with security.idmap.isolated=true
Create a storage volume
Attach storage volume as disk device to containers

So current behavior is:
stgraber@castiana:~$ lxc launch ubuntu:16.04 c1 -c security.idmap.isolated=true
Creating c1
Starting c1

stgraber@castiana:~$ lxc launch ubuntu:16.04 c2 -c security.idmap.isolated=true
Creating c2
Starting c2

stgraber@castiana:~$ lxc storage volume create default shared
Storage volume shared created

stgraber@castiana:~$ lxc storage volume attach default shared c1 /data

stgraber@castiana:~$ lxc storage volume attach default shared c2 /data
error: Failed to setup device: Failed to initialize storage volume "shared" of type "custom" on storage pool "default": idmaps of container and storage volume are not identical.

That's indeed to avoid one of the containers seeing everything as owned by uid/gid -1.
There is a fairly new option of security.idmap.isolated that can be (ab)used to give two containers the same map while still keeping it different from all others.
stgraber@castiana:~$ lxc config get c1 volatile.idmap.base
1065536
stgraber@castiana:~$ lxc config set c1 security.idmap.base 1065536
stgraber@castiana:~$ lxc config set c2 security.idmap.base 1065536
stgraber@castiana:~$ lxc restart c2
stgraber@castiana:~$ lxc storage volume attach default shared c2 /data

This gets the map of the first container, makes it static for that first container, then configure the second to use the same map, restart the second container to remap it, at which point the storage volume can be attached.

In your case however it does sound like you do want the individual idmap ranges and just rely on world readable and executable paths for the others to access it.

One workaround is to properly attach the custom volume to the first container as shown above.
Then for the others use the old way of doing things by just bind-mounting the host path with:
lxc config device add c2 shared disk path=/data source=/var/lib/lxd/storage-pools/default/custom/shared

One option to make all of this a first class thing would be to add an attribute to the "disk" device type to specify that no remapping is expected. This would then let you bypass the normal remap check.
Not sure it's worth the extra complexity when the above syntax will effectively do the same and when there's shiftfs somewhere in the horizon which will let us avoid all those mapping issues in the future.

Ok, your bind mount in https://github.com/lxc/lxd/issues/3655#issuecomment-321931629 approach works.
Advantage: bindmounts can be set as read-only.
Disadvantage: the producer container has to autostart before all consumers. (but doable with boot.autostart.priority)
P.S.: Related Question: is it possible to create a profile that contains a variable, that is resolved later?
Like:
lxc profile device add shareprofile sharedevice disk path=/data source=/var/lib/lxd/storage-pools/default/custom/shared/{$containername}
to configure consumers solely via profiles?

authors: monkz stgraber


text:
doc/storage: move content from FAQ to storage section

Move some details from the FAQ about creating storage to the
storage section and remove the question from the FAQ.
Signed-off-by: Ruth Fuchss ruth.fuchss@canonical.com

Documentation preview available at: https://linuxcontainers.org/lxd/docs/pr.10675/

Testsuite passed

authors: lxc-jenkins ru-fu


text:
lxc-to-lxd: permit defaults in lxc.mount.entry and lxc.cap.drop

Ignore sysfs and proc mounts, which are mounted
in LXD containers by default. If they're not ignored,
the os.path.exists test will fail.
Ignore lxc.cap.drop values that are dropped by
default in LXD containers, rather than bailing.
Also, add a missing comma at the end of the line
for lxc.cap.drop in the list of handled attributes.
Signed-off-by: Andrew Wilkins axwalk@gmail.com

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

jenkins: test this please

authors: axw lxc-jenkins stgraber


text:
Update images.rst

image.save() instead of image.update()

Thanks for the fix.  Please could you ensure that you commit with git commit -s for future PRs as (as a group defined lxc policy) all commits are supposed to be "signed off" -- see the DCO check above.
I'm merging this as it's a useful documentation fix.
Thanks!

authors: ajkavanagh dawncold

repo: lxc/pylxd


text:
VPN Connect but Internet is not working

I have successfully connect VPN but my internet is not working?

I am assuming your question is VPN connected on iOS but not traffic shows on Linux terminal. Well, in this case, you can check iptables and route settings on your Linux machine, or open debug mode(refer to this) on your iOS device, make sure data is redirect to tun.

Thanks traffic shows now and internet is working but another problem is that VPN uses the server network. I want to use the user's internet not the server's one. How to achieve it? please help

I just want to change DNS using VPN and want to use the user's own internet

This line manipulate routes, which you can make user use his own Internet connection.
However my guess is DNS settings in VPN only valid for VPN traffic, not sure this satisify your requirements, but you can verify.

Can you little bit more explain? or give me example that How user use his own internet connection. Please I am trying but I am unable to achieve this.

tunnelNetworkSettings.iPv4Settings?.excludedRoutes = [NEIPv4Route.default()]

how to achieve this kind of functionality ? here it is in the below link how this app works programmatically?
https://itunes.apple.com/us/app/dns-override-set-dns-for-wi-fi-and-cellular/id1060830093?mt=8

Anyone fixed this issue successfully? If yes please help..
let tunnelBundleId = "com.afia.vpn.tunnel"
let serverAddress = "209.95.51.185"
let serverPort = "54345"
let mtu = "1400"
let ip = "10.8.0.2"
let subnet = "255.255.255.0"
let dns = "8.8.8.8,8.4.4.4"
Vpn Connected, Logo showing but internet not working...

same problem , i have successfully connected to VPN, but not working internet connections.
Any one can help me ?
Thanks.

authors: Jaydip-iOS lxdcn niaj-twinbit rajaunleashed

repo: lxdcn/NEPacketTunnelVPNDemo

license: mit


text:
feat: 支持配置获取IP的请求头

感谢你的贡献，但是我在 427cc72 中增加了一个更完全的实现，所以我将关闭这个pr:)

repo: lxmusics/lx-music-api-server-python


text:
邮箱验证

感谢源码分享，我有一个问题：登陆一定需要邮箱验证吗？万一有的账号没有绑定邮箱呢？

你好 请问你最近在用吗 最近能用吗 这个代码现在还好用吗

authors: Irismoon liuhaidon


text:
Update Troubleshooting Guide

See details: https://github.com/lycheeverse/lychee-action/issues/152

Thanks @abordage.
(FYI fixed a minor typo. 😉)

authors: abordage mre

repo: lycheeverse/lychee


text:
[Issue report]Misuse of iaminstanceprofile in aws_ec2_iaminstance.json due to missing EC2InstanceProfile object

Title: Misuse of iaminstanceprofile in aws_ec2_iaminstance.json due to missing EC2InstanceProfile object
Description:

In aws_ec2_iaminstance.json (found here), Cartography incorrectly assumes a direct connection between the iaminstanceprofile name and the IAM Role. This assumption is not accurate, as AWS uses IamInstanceProfile as a distinct resource that links to a single IAM Role.

The misuse happens because Cartography does not currently create a separate EC2InstanceProfile object, leading to incorrect modeling of the relationship between EC2 Instances and IAM Roles.
Expected behavior:
A separate EC2InstanceProfile object should be created and properly linked to EC2 Instances.
The relationship between the EC2InstanceProfile and its associated IAM Role should be accurately represented, avoiding the incorrect assumption about the name correlation.
[optional Relevant Links:]

here

@xiaoen-liu - Thanks for reporting, this is a valid issue.
To make sure I understand, the current model is
EC2 Instance ←→ IAM Role

but it should be this instead:
EC2 Instance ←→ IamInstanceProfile ←→ IAM Role

Is this right?

Yes, without having the IamInstanceProfile as a separate model, it's not possible to correctly establish the node relationships between EC2 Instances and IAM Roles.

I would like to further clarify the cause of this confusion. The creation of an AWS Instance Profile and the binding of an Instance Profile to an IAM Role are two separate API calls: IAM.Client.create_instance_profile and IAM.Client.add_role_to_instance_profile. These APIs do not require the instance profile name and the IAM role name to have any relationship.
However, the AWS Console design makes it appear as though the instance profile name and the IAM role name are identical, which leads to confusion. This issue becomes more pronounced when using Infrastructure as Code (IaC) tools like Terraform, CloudFormation, or CDK, where instance profile names and IAM role names are often completely different.
This discrepancy can cause significant issues in environments where IaC is used to manage AWS resources, making it important to properly model the distinction between instance profiles and IAM roles.

From what I understand and also from looking at our tfstate files
aws_iam_instance_profile -(one-to-one)→ role

while
role -(one-to-many)→ aws_iam_instance_profile

So not sure what the issue issue!
@xiaoen-liu Are you able to provide an example please?

authors: achantavy chandanchowdhury xiaoen-liu

repo: lyft/cartography


text:
Add rails lowest version to gemspec

This gem uses ActionDispatch::Routing::Mapper::Scope,
but ActionDispatch::Routing::Mapper::Scope exists from rais 4.2 or above.
https://github.com/rails/rails/commit/dc3f25c8a5aa64de9225f11498a389a2d31e880a#diff-46876897330259072a679792c5f45f99R1896
This gem does not work before rails 4.2 .

@dks17 you can approve if you want

@MaicolBen Ok.

@masatooba Hey. I did not check/review your code. I have just appreciated sense of your propose. This PR is not sophisticated to approve this. So I did it.

@dks17 Makes sense, I was letting you know because some people don't know that can approve PRs without being contributors.
I will merge, travis is green but the integration with Github isn't working properly now

@MaicolBen Ok. Thanks.

@MicolBen @dks17
Thanks.

authors: MaicolBen dks17 masatooba

license: WTFPL


text:
Remove "Puppet DSL" support from Lyra

Is your feature request related to a problem? Please describe.
Having a chat with @scottyw this morning led to the idea that it's time to have a conversation about dropping Puppet DSL support in Lyra. Here are some reasons, in no particular order:

What we're calling "Puppet DSL" bears only passing resemblance to what current users of Puppet actually interact with; it's increasingly disingenuous to conflate the two; they share some syntax conventions, but conceptually and semantically, only passing resemblance.
Now that we're able to author workflows in YAML, a major use case for Puppet (declarative workflow actions) is solved elsewhere.
New users coming from other cloud native tooling will not expect or be familiar with Puppet, so choosing something more widespread (TypeScript, Go) will ease the learning curve.

Describe the solution you'd like
Remove Puppet as a supported language for authoring workflows and invest in TypeScript as the preferred method for authoring the imperative bits of workflows and their actions.

Sounds good. I do have to say that trying to figure out whether to put on my Ruby hat or Puppet hat when writing imperative code all around feels bad.

We'd expect the user journey to start with yaml and move to typescript (as you need to get more complex and add things like actions), which we want to emphasise in the docs and examples. There's not a high maintenance burden to leaving puppet in, though, and there is some utility in having the golang puppet parser actively used. So i'm in favour of leaving it as-is.

authors: ahpook jdwelch kenazk

repo: lyraproj/lyra


text:
解决方案检查

[X] 我已阅读常见问题(https://lyswhut.github.io/lx-music-doc/desktop/faq)，但没有找到解决方案
[X] 我已搜索issue列表(https://github.com/lyswhut/lx-music-desktop/issues?utf8=✓&q=)，但没有发现类似的问题

问题描述
这只是一个建议
希望可以修改为软件在哪个屏幕里打开桌面歌词就在哪个桌面展示而不是默认启动在主屏幕
描述你想要的解决方案
希望可以修改为软件在哪个屏幕里打开桌面歌词就在哪个桌面展示而不是默认启动在主屏幕
描述你考虑过的替代方案
No response
附加信息
No response

重复：https://github.com/lyswhut/lx-music-desktop/issues/430

repo: lyswhut/lx-music-desktop


text:
🛑 TMS Get Tenants is down

In a2a9ed3, TMS Get Tenants (https://tms.dev.cmxapp.cloud/tenants/$AMS_TENANT_ID) was down:

HTTP code: 401
Response time: 398 ms

Resolved: TMS Get Tenants is back up in 2b2085c after 2 hours, 6 minutes.


text:
graphics

AMD Radeon RX 6950 XT  it is determined normally. it works incorrectly.it slows down very much.

Send me report.json, acpitables and config.plist

config.zip
Report.zip

You need PCI Bridge ACPI Patch (use SSDTTime) for RX 6950 XT and new config.plist.zip
PCI Path: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)


text:
Interrupted cmd files can cause problems

When a long running cmd (like build.cmd) is being interrupted with Ctrl-C, PsReadline sometimes enters some buggy state. It starts to ignore every second or 2 out of 3 keystrokes. So you type 'aa' or 'aaa' and get single 'a' in the console. When that happens if I do Remove-Module PSReadLine console fixes itself.
So far I don't have a solid repro. But I run into this program once in a week. Just today I found out that it is PsReadLine since the problem goes away if it is unloaded.

Update - console is not fully resurrected on Remove-Module. The keyboard behaves normally, but commands are executed inconsistently:
D:\autopilot\apgold\autopilotservice\HK2\Acceptance-Test [ALEXKO-DEV] XYZ\alexko
» remove-module psr*
D:\autopilot\apgold\autopilotservice\HK2\Acceptance-Test [ALEXKO-DEV] XYZ\alexko
» ls

    Directory: D:\autopilot\apgold\autopilotservice\HK2\Acceptance-Test

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-ar--         6/26/2014      0:03       1178 deployment.ini
-ar--        11/26/2014      0:02         69 Machines.csv
-ar--         6/26/2014      0:03        536 MonitoringConfig.xml

D:\autopilot\apgold\autopilotservice\HK2\Acceptance-Test [ALEXKO-DEV] XYZ\alexko
» ls

D:\autopilot\apgold\autopilotservice\HK2\Acceptance-Test [ALEXKO-DEV] XYZ\alexko
» ls

I'm not sure this has anything to do with PSReadline - in fact, I'm not sure it has anything to do with PowerShell - I know I've seen this problem forever, so I'm guessing it's a cmd.exe problem.

Closing - this problem is not specific to PSReadLine.

authors: FallenGameR lzybkr

repo: lzybkr/PSReadLine


text:
Update setup guide to support ubuntu

기본 셋업 가이드 업데이트

[ ] 안녕하세요. 해당 프로젝트의 기본 셋업 가이드를 하기 OS로 제공 가능하신지 문의 드립니다.
Linux (recommended: Ubuntu 22.04)

사유: M-CMP 프로젝트 및 Cloud-Barista 차원에서 해당 OS에서는 기본 동작할 수 있게 하려고 합니다.
(현재 대부분의 저장소가 Ubuntu 를 기준으로 하고 있음)
Dockerfile, Docker-compose 등 제공

[x] 추가적으로 쉬운 구동을 위해서 dockerfile 제공, docker-compose 로 구동 방식 제공 등이 포함되어야 할 것 같습니다.

사용 가이드 추가

[ ] 셋업 후에, 해당 프로그램을 어떻게 사용하는지도 간략하게 가이드가 있으면 좋을 것 같습니다. (화면 캡쳐, gif, 영상 등 무관)

라이선스 관련 사항

[ ] 저장소에 Apache 2.0 으로 라이선스 고지문(파일) 추가 요청 드립니다.
[ ] 현재 사용하신 오픈소스 및 pkg 를 확인하셔서, Apache 2.0 에 호환되지 않는 라이선스 활용은 모드 제거해야 합니다. 메인테이너께서 확인해주셔야 합니다. (예를 들면, GPL 2.0은 Apache 2.0에 충돌하므로 활용 불가합니다.)

docker compose up 을 통해서, 서버 구동되는 것을 확인하였습니다. :)

@BSjaeyoung-kim docker compose 로 구동시, 하기 컨테이너들이 계속 재시작되는 문제가 있었습니다. 참고하시기 바랄게요. ^^
GCP: e2-standard-4 (CPU:4, MEM: 16GiB)
OS: Ubuntu22.04

mc-cost-optimizer-costcollector-1
mc-cost-optimizer-costprocessor-1
mc-cost-optimizer-alarmservice-1

cb-user@ns01-mc-cost-g1-1-cqk9f8rq10m9htb48ji0:~/mc-cost-optimizer$ sudo docker events
2024-07-30T08:06:22.112013758Z network disconnect 3b523b8627a31496888c3a0e538ec13dc845c712d738a20185c1fd12ca76b115 (container=4667b46bda579f742b8005822a7011b8372526ad9ad966e4605104bdba83e05e, name=mc-cost-optimizer_mcmp_cost_network, type=bridge)
2024-07-30T08:06:22.142512626Z container die 4667b46bda579f742b8005822a7011b8372526ad9ad966e4605104bdba83e05e (com.docker.compose.config-hash=9bf8285c3179e97c1f3318e08ac1be15d987fe102ede7950cbf76cfad35db44a, com.docker.compose.container-number=1, com.docker.compose.depends_on=, com.docker.compose.image=sha256:0f7c935c49f05e7badd7c33b9e6a4302098a9856409b135c42dde203b25f8728, com.docker.compose.oneoff=False, com.docker.compose.project=mc-cost-optimizer, com.docker.compose.project.config_files=/home/cb-user/mc-cost-optimizer/docker-compose.yml, com.docker.compose.project.working_dir=/home/cb-user/mc-cost-optimizer, com.docker.compose.service=costprocessor, com.docker.compose.version=2.29.1, execDuration=14, exitCode=1, image=mc-cost-optimizer-costprocessor, name=mc-cost-optimizer-costprocessor-1)
2024-07-30T08:06:22.210157510Z network connect 3b523b8627a31496888c3a0e538ec13dc845c712d738a20185c1fd12ca76b115 (container=4667b46bda579f742b8005822a7011b8372526ad9ad966e4605104bdba83e05e, name=mc-cost-optimizer_mcmp_cost_network, type=bridge)
2024-07-30T08:06:22.458682011Z container start 4667b46bda579f742b8005822a7011b8372526ad9ad966e4605104bdba83e05e (com.docker.compose.config-hash=9bf8285c3179e97c1f3318e08ac1be15d987fe102ede7950cbf76cfad35db44a, com.docker.compose.container-number=1, com.docker.compose.depends_on=, com.docker.compose.image=sha256:0f7c935c49f05e7badd7c33b9e6a4302098a9856409b135c42dde203b25f8728, com.docker.compose.oneoff=False, com.docker.compose.project=mc-cost-optimizer, com.docker.compose.project.config_files=/home/cb-user/mc-cost-optimizer/docker-compose.yml, com.docker.compose.project.working_dir=/home/cb-user/mc-cost-optimizer, com.docker.compose.service=costprocessor, com.docker.compose.version=2.29.1, image=mc-cost-optimizer-costprocessor, name=mc-cost-optimizer-costprocessor-1)
2024-07-30T08:06:22.463038344Z container attach 4667b46bda579f742b8005822a7011b8372526ad9ad966e4605104bdba83e05e (com.docker.compose.config-hash=9bf8285c3179e97c1f3318e08ac1be15d987fe102ede7950cbf76cfad35db44a, com.docker.compose.container-number=1, com.docker.compose.depends_on=, com.docker.compose.image=sha256:0f7c935c49f05e7badd7c33b9e6a4302098a9856409b135c42dde203b25f8728, com.docker.compose.oneoff=False, com.docker.compose.project=mc-cost-optimizer, com.docker.compose.project.config_files=/home/cb-user/mc-cost-optimizer/docker-compose.yml, com.docker.compose.project.working_dir=/home/cb-user/mc-cost-optimizer, com.docker.compose.service=costprocessor, com.docker.compose.version=2.29.1, image=mc-cost-optimizer-costprocessor, name=mc-cost-optimizer-costprocessor-1)
2024-07-30T08:06:25.102014739Z network disconnect 3b523b8627a31496888c3a0e538ec13dc845c712d738a20185c1fd12ca76b115 (container=8148146246e73535506e2da5ef9e7e087ef6056439c49b8b0546d1a744a8de6f, name=mc-cost-optimizer_mcmp_cost_network, type=bridge)

cb-user@ns01-mc-cost-g1-1-cqk9f8rq10m9htb48ji0:~/mc-cost-optimizer$ sudo docker compose ps
WARN[0000] /home/cb-user/mc-cost-optimizer/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
NAME                                IMAGE                             COMMAND                  SERVICE         CREATED          STATUS                                  PORTS
mc-cost-optimizer-alarmservice-1    mc-cost-optimizer-alarmservice    "java -jar app.jar"      alarmservice    24 minutes ago   Restarting (1) Less than a second ago
mc-cost-optimizer-be-1              mc-cost-optimizer-be              "java -jar app.jar"      be              24 minutes ago   Up 24 minutes                           0.0.0.0:9090->9090/tcp, :::9090->9090/tcp
mc-cost-optimizer-costcollector-1   mc-cost-optimizer-costcollector   "java -jar app.jar"      costcollector   24 minutes ago   Up 9 seconds                            0.0.0.0:8081->8081/tcp, :::8081->8081/tcp
mc-cost-optimizer-costprocessor-1   mc-cost-optimizer-costprocessor   "java -jar app.jar"      costprocessor   24 minutes ago   Up 2 seconds                            0.0.0.0:8082->8082/tcp, :::8082->8082/tcp
mc-cost-optimizer-costselector-1    mc-cost-optimizer-costselector    "java -jar app.jar"      costselector    24 minutes ago   Up 24 minutes                           0.0.0.0:8083->8083/tcp, :::8083->8083/tcp
mc-cost-optimizer-fe-1              mc-cost-optimizer-fe              "/docker-entrypoint.…"   fe              24 minutes ago   Up 24 minutes                           0.0.0.0:8080->80/tcp, :::8080->80/tcp

costprocessor-1  | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
costprocessor-1  |      at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:na]
costprocessor-1  |      at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[na:na]
costprocessor-1  |      at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:na]
costprocessor-1  |      at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[na:na]
costprocessor-1  |      at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[na:na]
costprocessor-1  |      at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:104) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:149) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:165) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:88) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      at com.mysql.cj.NativeSession.connect(NativeSession.java:120) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:829) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      ... 65 common frames omitted
costprocessor-1  | Caused by: java.net.UnknownHostException: host.docker.internal
costprocessor-1  |      at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:801) ~[na:na]
costprocessor-1  |      at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1509) ~[na:na]
costprocessor-1  |      at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1367) ~[na:na]
costprocessor-1  |      at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1301) ~[na:na]
costprocessor-1  |      at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:130) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:62) ~[mysql-connector-j-8.3.0.jar!/:8.3.0]
costprocessor-1  |      ... 67 common frames omitted

@seokho-son 로그와 화면 캡쳐로만 보았을때, 아마도 DB 연결이 현재 안된것으로 보여집니다.
DB를 docker image로 전달하려고 했는데, 현재 init query가 정상적으로 동작을 안해서, 로컬 DB를 바라보도록 되어있습니다.
테스트를 위해 개별적으로 테스트 DB 경로를 안내드리겠습니다

테스트를 위해 개별적으로 테스트 DB 경로를 안내는 제공해주실 필요가 없습니다. :)
기여자 이외에, 일반 사용자가 구동할 수 있는 가이드를 부탁드릴게요!
해당 구동 테스트는 일단 참고만 하시면 되겠습니다.

@BSjaeyoung-kim 본 이슈는 전체 시스템 개발 일정상 다소 지연된 시급 처리 항목이라서, 빠른 대응이 필요할 것 같습니다. 참고하시기 바랍니다.

적어주신 이슈사항 전부 확인 완료했습니다 ㅎㅎ

authors: BSjaeyoung-kim seokho-son

repo: m-cmp/mc-cost-optimizer


text:
🛑 MLflow UI (iMagine) is down

In 31b8d1b, MLflow UI (iMagine) (https://mlflow.dev.imagine-ai.eu/) was down:

HTTP code: 404
Response time: 853 ms

The iMagine Mlflow domain has changed to mlflow.cloud.imagine-ai.eu, .upptimerc.yml is updated accordingly.

repo: m-team-kit/status-ai


text:
add libgeos dependency to Nix flake, CI run

cartopy is causing CI runs to fail at the Python dependency installation step (relevant log). Looks like we missed a required system library when we re-added cartopy to the Python dependencies in pyproject.toml.

I've removed the Windows test workflow for now, since we need a system library libgeos to run part of the software. (I've used msys2 to install stuff successfully before, I could adapt some old config.)


text:
Running out of memory

Thanks for providing your great code. I have ran the wav2vec emotion classification of greek audio and it works great. However, I keep running into memory errors when changing the dataset.
I am trying to do emotion classification on the IEMOCAP dataset (https://sail.usc.edu/iemocap/), but it breaks due to running out of memory. I am changing nothing in your code except for the dataset (which fits into your pipeline well).
I made an SO post describing my issues. Do you have any ideas? I am trying to run a p2.8xlarge instance with 100 GiB mounted, so I can't imagine I don't have enough compute.
SO post: https://stackoverflow.com/questions/68624392/running-out-of-memory-with-pytorch
Thanks!

I've encountered same issue even though I have 8 gpus, with 11178MiB per gpu

I am also facing same issue , I have 4 gpus with same free available memory

authors: Jeiyoon connormeaton vipen07


text:
"Nach etwas suchen" Spielzug fehlt in der Liste

"Nach etwas suchen" fehlt in der Übersicht "Spiel".

Done


text:
Name servers down ?

Hello, I cannot access local-ip.sh, it seems that the NS servers are down.
mxtoolbox.com returns the following error :

DNS No Valid NameServers Responded

Seems to have been fixed


text:
Generating schedules doesn't work for select courses

To reproduce:

Select "econ 1"
Generate schedules

No schedules are generated. Javascript console says: lib.min.js:13 TypeError: Cannot read property 'days' of undefined
May be due to the fact that econ 1 is a course exception, and may not have a "days" property.

Turns out this was not a problem with Finals, but with section times. ECON 1 DIS 123 has no time/location set. The scheduler was tripping up on that. Am now accounting for that.

authors: mDibyo tiffanyqi

repo: mDibyo/berkeley-scheduler-issue-tracker


text:
Created SplitPane component

Split Pane component was created for #1

be able to split vertically or horizontally
have a percentage passed in that determines the relative sizes of the two panes
call a prop callback with any changes to the split percentage
have a nice draggable splitter line in between the parts
use flexbox for easy layout. We only support modern browsers in mWater

Currently the initial width is set in percentage. Once the resizing starts, the pane's width/height is set in pixels. Please check.
render: ->
    React.createElement(SplitPane, {split: "vertical", leftPaneSize: "20%", minLeftPaneSize: 100}, [
      H.div null
      React.createElement(SplitPane, {split: "horizontal", leftPaneSize: "20%", minLeftPaneSize: 100}, [
        H.div null
        React.createElement(SplitPane, {split: "vertical", leftPaneSize: "20%", minLeftPaneSize: 100}, [
          H.div null
          H.div null
        ])
      ])
    ])

Very nice professional job! Could you tidy up the few minor comments I made?

@grassick Please check now.

Very nice work!

authors: broncha grassick

repo: mWater/react-library


text:
android 7.0 text relocations

Detected problems with app native libraries
libutility.so:text relocations
how to fix it?

06-13 11:59:20.240 10165-10165/com.mabeijianxi.smallvideo W/linker: /data/app/com.mabeijianxi.smallvideo-1/lib/arm/libutility.so has text relocations. This is wasting memory and prevents security hardening. Please fix.

可尝试使用2.0新版

authors: mabeijianxi xiadeye

repo: mabeijianxi/small-video-record


text:
Colors added in IB from a separate Pod always fail tests, but still work when running

When applying a color from an Asset Catalog that exists in another Pod to an element in Interface Builder, the test that gets created to validate that the color can be loaded will always fail.
The problem stems from the fact that it's assumed the color exists in R.hostingBundle, which isn't the case when the Asset Catalog exists in another Pod. However, the .xib or .storyboard file does nothing to help the situation, because there is no indication of the bundle the color exists in. Surprisingly, despite the IB file not having that information, the color loads perfectly at runtime.

I have included a sample app, RSwiftColors (at the bottom) that will reproduce the issue if you run the tests. The line that fails is
UIKit.UIColor(named: "CoolColor", in: R.hostingBundle, compatibleWith: nil) == nil

At first I thought maybe colors are special, and passing a nil bundle will result in the framework searching for the color, it seems like that's what IB is doing anyway.
UIKit.UIColor(named: "CoolColor", in: nil, compatibleWith: nil) == nil

That fails too. However, specifying the correct bundle works as you would expect
UIKit.UIColor(named: "CoolColor", in: Bundle(url: Bundle.main.url(forResource: "SeparateBundle", withExtension: "bundle")!)!, compatibleWith: nil)

To be honest I don't know what the best solution to this problem is. R.swift does have a knowledge of all the colors from Asset Catalogs included in the main bundle, so for a workaround if the color included in the IB resource doesn't match, it's excluded from validate. But that also defeats the entire purpose of the test, making it basically pointless.
The other solution is much more technical. If the select target has a [CP] Copy Pods Resources build phase, it can grab the output .xcfilelist from that phase and grab up all the Asset Catalogs from there, identifying the correct bundle to associate with each color. The impact here is 2-fold, performance and the added fragility due to the coupling with Cocoapods.
Perhaps somebody who understands more about how colors within Asset Catalogs actually works can help come up with a more elegant solution.
RSwiftColors.zip

Hmm.... interesting...
I think using a color from a separate bundle isn't a supported feature in UIKit, and Interface Builder showing the color in the picker is a bug.
If you change the color in the asset catalog of the separate bundle, and relaunch the app, it will still show the old color. That old color was saved in the Storyboard when it was last opened in Interface Builder.
If you change the color in the asset catalog of the main bundle, and relaunch the app, it will show the new color.

@tomlokhorst good observation, the color value is definitely cached in the storyboard until the storyboard is relaunched and updated.
I was able to get an extra layer of verification by printing the textColor of the UILabel, and also printing the color fetched via UIColor(name:bundle:).
Before changing the color in the pod bundle:
Optional(UIExtendedSRGBColorSpace 0 1 0 1)
Optional(kCGColorSpaceModelRGB 0 0 1 1 )

After changing the color in the pod bundle:
Optional(UIExtendedSRGBColorSpace 0 1 0 1)
Optional(kCGColorSpaceModelRGB 0 0 1 1 )

So the named color did change, but the storyboard didn't just like you suggested. It's understandable that the feature doesn't work, since image resources don't work like that either and collisions would cause problems. I was just excited for the possibility that Apple somehow supported it.
I'll close out this issue.

authors: bclymer tomlokhorst


text:
Resolution for issue #377 - "default" targetedOSVersionsRule is Ignored/Overwritten when there's multiple osVersionRequirements

I added a new boolean variable defaultMatchSet to track if the targetedOSVersionsRule has matched against default. Variable set to false on instantiation and set to true if a default has been found.
In getOSVersionRequirementsJSON I appended additional conditional statement to else if subPreferences.targetedOSVersionsRule == nil preventing the value from being overwritten by subsequent loops.
In getOSVersionRequirementsProfile I have changed the final else statement to else if !(defaultMatchSet) to prevent overwriting of the default value.

So I'm still not sure if I agree with this change. Won't this potentially mean that there are users who would get the "default" settings and not the overrides depending on the order?

No, users should get the default setting only if there isn't a more specific match, this change allows for "default" targetedOSVersionsRule to act as a default in the absence of targeted rule, which is how I'd expect a default setting to work.
I currently can use "default" as the targetedOSVersionsRule which is accounted for in the if statement logic, however, "default" will be overwritten by the last index of osVersionRequirements because there is no check to see if the default match was set in a previous iteration of the loop.

I see. That makes sense. I will merge but may not cut a release for this until there are other fixes. Wish I had asked you a few days ago to clarify.

authors: erikng samuelzamvil

repo: macadmins/nudge


text:
How many times will the program iterate?

Hi!
I defined the maximum number of iterations with 3, but the program keeps iterating. When will it stop?
Thanks!

Hi,
Did you set it is -i 3? How many iterations did it run for?

The script is also iterating past 3 here (currently iteration 8) and I haven't set the -i parameter. I don't have any issue with that, as long as it improves the assembly, but it doesn't look like the default number of iteration is 3, as opposed to what is said in the help. I the number of iteration automatically determined?

Thanks for reporting this. I am working on fixing this issue. I will keep this issue open until I push the corrected code.

authors: jeanlain jhtrujillo machinegun

repo: machinegun/SALSA


text:
the html5 menuitem tag isn't supported

when doing:
menu
  menuitem moi

I get:

Uncaught Error: Assertion Failed: A helper named 'menuitem' could not be found

Sounds like we need to add it to the whitelist; in the meantime you can prefix with %, e.g. %menuitem moi

cheers

authors: bvellacott machty


text:
Is it possible to set cookies for websocket connections?

Is it possible to set cookies for websocket connections?
By "HTTP Cookie Manager" or by set vars manually.

https://github.com/maciejzaleski/JMeter-WebSocketSampler/issues/28

authors: X-NoNAME ceritandogan

repo: maciejzaleski/JMeter-WebSocketSampler


text:
Travel Times

Add functions to summarize travel times, spatially and temporally, using long form capture history data. There's some stuff in the pilotStudy.R to use as a starting point.

I added the function summarise_movement() which provides a summary of movement times by reach, but I'd like to add functionality to:

Add reach lengths (rkm) to convert times to rates
Add week column and summarize movement times/rates by week as well

Drafts of the above were completed.


text:
Problem running command with second button

Hi Guys,
I have added a second button to an already working config file, the 2 buttons perform exactly the same  function currently but the second button does not action the command. The logs below show the first button (Blink) working correctly but the second button (Doorbell) displays a message stating "There was an error:"

[2018-07-19T10:37:22.873Z] Blink pressed. Count: 2
[2018-07-19T10:39:48.473Z] Blink pressed. Count: 3
[2018-07-19T10:40:10.313Z] Blink pressed. Count: 4
[2018-07-19T10:40:33.353Z] Doorbell pressed. Count: 5
[2018-07-19T10:40:33.369Z] There was an error:
[2018-07-19T10:40:58.313Z] Doorbell pressed. Count: 6
[2018-07-19T10:40:58.327Z] There was an error:
[2018-07-19T10:41:27.433Z] Doorbell pressed. Count: 7
[2018-07-19T10:41:27.446Z] There was an error:

The config is identical for each button bar the MAC address and very simple.

{"buttons":[
{
"name": "Blink",
"address": "78:E1:03:69:C9:19",
"interface": "eth0",
"timeout": "10000",
"protocol": "udp",
"url": "http://<ip_address>:8934/blink1/pattern/play?pname=RGB"
},
{
"name": "Doorbell",
"address": "6C:56:97:68:24:21",
"interface": "eth0",
"timeout": "10000",
"protocol": "udp",
"url": "http://<ip_address>:8934/blink1/pattern/play?pname=RGB"
}
]}

Any ideas? Is there anywhere to get a more detailed error message than just "There was an error:"
Thanks in advance.

Seems I have managed to resolve this through trial and error. Ultimately removing the "interface" line on the second button (Doorbell) allows both buttons to function. No idea as to why though.
Does specifying the interface on one of the buttons prevent it from being monitored for button presses from other buttons?

repo: maddox/dasher


text:
Border Settings dialog controls are hidden on high DPI displays

As you can see from the screenshot below, the Cancel and OK buttons get clipped on my UHD display (3072x1920) scaled at 200%.

@mkornreder any idea on how to make this scale with variuos DPIs? Wanna take a stab at it?

Yes i can try that. I'm currently working on displaying branches in different colors.
As soon as I have that I'll take care of the dpi right away.
I hope that I'll be ready in the next few days.
From: Mads Kristensen
Sent: Wednesday, August 31, 2022 6:33 PM
To: madskristensen/SolutionColors
Cc: mkornreder ; Mention
Subject: Re: [madskristensen/SolutionColors] Border Settings dialog controls are hidden on high DPI displays (Issue #17)
@mkornreder any idea on how to make this scale with variuos DPIs? Wanna take a stab at it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Has probably done with the last pull request, because the solution is in there.
(Branches still in work...)

@mkornreder Thanks. I'm curious how you'll get the branch name. There is no API for it in VS AFAIK

Fixed with latest PR

I have an idea. If I read the HEAD file in the .git folder, I find the branch name there. The solution is usually always inside a folder with .git directory, so i can go up until I find the .git directory in case the solution is in a subfolder.
I'm currently trying to use color gradients so that the color of the master and the branch can be displayed in the borders of a branch. Depending on the setting in the options, you can adjust the behavior.
The color of the master can only be adjusted when the master is opened, the color for the branch only if you have opened the branch. All colors are saved with the name of the branch in color.txt.
Maybe a dialog for managing the branches in color.txt would also be useful here.
What do you think about this?

Interesting idea. I'm game for an experiment, for sure

authors: ascottvhz madskristensen mkornreder

repo: madskristensen/SolutionColors


text:
Add support for Android SafetyNet attestation

See https://www.w3.org/TR/webauthn/#android-safetynet-attestation

Fixed, support is available.

repo: madwizard-thomas/webauthn-server


text:
Some guidance

Hey, interesting repo :) but was pretty rough to get going, frontend is up, video lasts around 4 secs before shitting down, audio and text are d.o.a.
Requirements.txt has a bunch of conflicting modules, and some of them double up.
U guys still working on this or is it dead? Would love to see this working :)

@haviduck did you fix the conflicting modules?

Not yet
On Mon, May 18, 2020, 1:05 AM shan jiang notifications@github.com wrote:

@haviduck https://github.com/haviduck did you fix the conflicting
modules?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/maelfabien/Multimodal-Emotion-Recognition/issues/4#issuecomment-629829277,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWPWUPJLGRQZQ4Z5VLK72DRSAKMZANCNFSM4JCYALOQ
.

authors: haviduck shanjng souravbose1991


text:
[Ishar 1] [Amiga/AGA] Palette problem on language selection screen

The game itself seems to run perfectly, other than this minor palette problem on the language selection screen:

The PC-DOS/VGA version is not affected at all, only the Amiga AGA version seems to be affected.

16 color images on AGA amiga used 9 bit palette instead of correct 12 bit. Fixed!

Looks perfect now! :)

authors: skruug vanfanel

repo: maestun/alis


text:
locks

Why does hyperlog lock itself so much? I'm really concerned about the performance of add, https://github.com/mafintosh/hyperlog/blob/master/index.js#L100. I fear that it would cripple performance on write.
Is that due to the dag.changes property?
Also there is a log on replicate. https://github.com/mafintosh/hyperlog/blob/db470807d8cb9c5eb19299b9e122b753fba11348/lib/replicate.js#L192-L199

It is due the .changes yea. Its easy to fix though. We'd just have to batch everything inbetween locks (if that makes sense) but I wanted to get basic replication stuff working before starting to optimize it

The same goes for the replicate lock.

How about not locking at all? Even batching between locks might slow things down.

How would you safely append to an sequential append-only log without a mutex? If you have an idea on how to do this I'm all in favor of removing the locks :)
The replicate lock when sending heads is going away in the next version. I found a way to safely get rid of that.

Unfortunately, the only way that pops into my mind is caching. Bad news, this is going to get tricky, good news, it's going to be fast.
Looking at the code, there are three race conditions going on:

The dag.changes property is read https://github.com/mafintosh/hyperlog/blob/master/index.js#L106 and written in https://github.com/mafintosh/hyperlog/blob/master/index.js#L143, which is at best two ticks forward, we have to update it in a single tick if we want to be lockless, basically updating it before it is written. I think this has no side effect (but you might know better). Skipping a value can effect things? (in case of errors).
The seq might need to be cached too https://github.com/mafintosh/hyperlog/blob/master/index.js#L108. However, I am not getting why the whole level-logs thing is needed. I see that it is written during add and used in replication. Can we collapse the changes and seq concepts?
The heads needs to be cached, or append will never work. We can use a dirtry trick given node is single process: we can maintain the cache as an array, that gets overwritten synchronously before appending a new value. That cache needs to be maintained during replication (but I think it's doable).

All these still requires the ready mutex, but it's ok.

in secure-scuttlebutt we queue appends, so a new append is validated against the end of the queue, and then writes go in batches. Write the entire queue, and when that finishes, write the next batch.

authors: dominictarr mafintosh mcollina

repo: mafintosh/hyperlog


text:
Specific file selection grabbing more file than expected

            engine.on('ready', function () {
			engine.files.forEach(function (file){
			if(file.name === singlefile)
			{
				file.select()
				console.log(file.name)
			}
			else
				file.deselect()

I am running the above code, and the torrent seems to be grabbing files outside of desired single file I have selected. Is there an issue with my code of is this a bug?

This is how bittorrent works: all the files in a torrent are stored as a continuous array of bytes split into a lot of pieces of the same size. Piece size varies from 32KB to several MB. There can more than one file in a single piece. So when you do file.select() it actually downloads all the pieces that comprise that particular file, and if it overlaps with other files, some of them (or some of their parts) will be downloaded as well.

Thanks for the clarification.

repo: mafintosh/torrent-stream


text:
Add support for typescript in multiplatform project

Right now there is support only for Lumin. This enhancement will allow developer to create multiplatform project that has typescript support

Resolved with https://github.com/magic-script/magic-script-cli/pull/132

repo: magic-script/magic-script-cli


text:
Pdeexp 1711 disable mfa flow types

📦 Pull Request
[Provide a general summary of the pull request here.]
✅ Fixed Issues

[List any fixed issues here like: Fixes #XXXX]

🚨 Test instructions
[Describe any additional context required to test the PR/feature/bug fix.]
⚠ Don't forget to add a semver label!
Please 🚨 ONLY ADD ONE 🚨 of the following labels, failing to do so may lead to adverse versioning of your changes when published:

patch: Bug Fix?
minor: New Feature?
major: Breaking Change?
skip-release: It's unnecessary to publish this change.

Special Note
Please avoid adding any of the Priority labels as they conflict with the labels above ☝

:rocket: PR was released in @magic-ext/algorand@23.11.0, @magic-ext/aptos@11.11.0, @magic-ext/avalanche@23.11.0, @magic-ext/bitcoin@23.11.0, @magic-ext/conflux@21.11.0, @magic-ext/cosmos@23.11.0, @magic-ext/ed25519@19.11.0, @magic-ext/farcaster@0.11.0, @magic-ext/flow@23.11.0, @magic-ext/gdkms@11.11.0, @magic-ext/harmony@23.11.0, @magic-ext/icon@23.11.0, @magic-ext/near@23.11.0, @magic-ext/oauth2@9.11.0, @magic-ext/oauth@22.11.0, @magic-ext/oidc@11.11.0, @magic-ext/polkadot@23.11.0, @magic-ext/react-native-bare-oauth@25.12.0, @magic-ext/react-native-expo-oauth@25.12.0, @magic-ext/solana@25.12.0, @magic-ext/sui@0.12.0, @magic-ext/taquito@20.11.0, @magic-ext/terra@20.11.0, @magic-ext/tezos@23.11.0, @magic-ext/webauthn@22.11.0, @magic-ext/zilliqa@23.11.0, @magic-sdk/commons@24.11.0, @magic-sdk/pnp@22.11.0, @magic-sdk/provider@28.11.0, @magic-sdk/react-native-bare@29.12.0, @magic-sdk/react-native-expo@29.12.0, @magic-sdk/types@24.9.0, magic-sdk@28.11.0 :rocket:

authors: sherzod-bakhodirov svc-magic-git

repo: magiclabs/magic-js


text:
Update Content “2024-09-25-une-journée-de-parapente-et-saveurs-à-saint-pierre”

Automatically generated by Decap CMS

👷 Deploy Preview for legendary-empanada-86b18b processing.

Name
Link

🔨 Latest commit
7ef47b42ac459ac5b778af8b9af10e9f9465cab1

🔍 Latest deploy log
https://app.netlify.com/sites/legendary-empanada-86b18b/deploys/66f57ffe4dc64e000819f098


text:
Add Parser Stats

Parsers should log their stats, such as logs read per sec, etc, on a regular basis.
That 'regular basis' should be settable via cfg file.

The plan is to add stats with sleep output.
Current code - Anatomize.py::Anatomize::startAnatomizer() - line 186:
self.lgr.debug('sleeping for [ ' + self.cfg['parsing']['sleepTime'] + ' ] seconds...')
sleep(int(self.cfg['parsing']['sleepTime']))

Change to:
self.lgr.debug('sleeping for [ ' + self.cfg['parsing']['sleepTime'] + ' ] seconds :: ' + self.parserStore[parserId].generateStats())
sleep(int(self.cfg['parsing']['sleepTime']))

    def printStats(self, raw=False):
        """
        Generate stats in string or raw form

        :return: str or dict
        """

        # check if raw data should be returned
        if raw:
            return self.stats

        # return stats as string
        return '[ |-- STATS --| :: TOTAL LOGS READ: { } :: (( AVG LOGS READ / SEC: { } :: AVG LOG LENGTH: { } :: AVG LOG SIZE: { } ))]'

Completed w/ commit
https://github.com/magneticstain/Inquisition/commit/53db6afa912823456a0f5221b16b14012784ad28

repo: magneticstain/Inquisition


text:
LICENSE

Hello @maguowei,
From what I see the generation of awesome-stars speak about a license CC0 1.0 Universal in the bottom for the README.md.
What do you think about allowing user to add a LICENSE file and just refer in the README.md to this file if it exist by adding the paragraph License.

I add LICENSE FILE in the template: https://github.com/maguowei/awesome-stars/blob/master/LICENSE
The simple way to create an awesome-stars repository is to use this as template.
see: https://github.com/maguowei/starred#use-awesome-stars-as-template

Sorry, I was not clear enough.
In the bottom of generated README.md, you select license CC0 1.0 Universal, if someone what to use a different license, it's better to not precise the license in bottom, but just put link to the License file.
In my repository, I have chosen MIT License.

authors: maguowei mehdichaouch

repo: maguowei/starred


text:
v0.1.0

いったんデプロイまでできたのでバージョンを上げてタグを作る。

タグ忘れてたあ

github のタグってgit のタグと別なのね...

repo: magurouhiru/mysite


text:
Add Message-ID Tracking on receipts (WIP ish?)

Refactor MailDispatcher to consume receipts
Extract RecipentFilter into own class.
Warning Side effects
Reciepts are not made if a user opts out.
Fully drops support for passing an array to the mailer.

So this applies to #375 Had to go on top of the shoulda matchers to get tests working.
The only real debate is my laziness around trying to figure out the right behavior for send array to mailer.  I am not sure the number of people using this behavior?  But wanted to put this out here so maybe we can refactor.

@jcoyne ping here too :)  This one isn't cut and dry.

To start with, this needs to be rebased against master.

Why are you removing mailer_wants_array (I don't know what that is for myself)?  It seems like that may make this PR break backwards compatibility.

@jcoyne yes it will break something.   The point is to be able to have a record in the DB that we can update when we "verify" that an email has been read (i.e. postmark web hook).  To be able to correlate this information we need a message-id from the action mailer to be persisted somewhere.
The array issue is that we only get one message-id.   It's not insurmountable but I wanted to have a discussion about the feature set before pursuing it.
I assume for the behavior in the array mailer we just need to be clear that you loose resolution of individuals reading the message.

Just a heads up we are using this in production and things are running quite nicely.

@jcoyne do you have any thoughts on this.   We are tossing up a pivot to ahoy_email in favor of broad ability to track email (including mailboxer)

@rposborne Sorry, i'd been overlooking this because the title says "WIP". Is it now ready?

@jcoyne The only thing that would be WIP, is if we don't want to break compatibility with the passing an array to mailers.  I would be for leaving support for that out has it has some weird read state behavior.

authors: jcoyne rposborne

repo: mailboxer/mailboxer


text:
Change default charset when decoding mime parts

We can safely decode text mime parts with utf-8 instead of ascii because ascii is just a subset of utf-8

Can one of the admins verify this patch?

As a side note: decoding text mime parts with ascii can become a problem if it contains unicode information. I have first hand experience with this because I had an email attachment that contained unicode but was decoded using ascii and therefore wasn't properly readable.

authors: VinceWilkie mailgun-ci

repo: mailgun/flanker


text:
Use VERSION file as single version number source

Replaces #22

Merged into PR #26

repo: mailosaur/mailosaur-ruby


text:
NOISSUE - Add pagination of things and users to docs

Signed-off-by: 0x6f736f646f blackd0t@protonmail.com
What does this do?
It adds the documentation of pagination of things and users to the docs
Which issue(s) does this PR fix/relate to?
NOISSUE
List any changes that modify/break current functionality
N/A
Have you included tests for your changes?
No
Did you document any new/modified functionality?
Yes
Notes
N/A

@0x6f736f646f Can you please fix {"channels":[{"id":"<xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxx1>","name":"channel_name_1"},{"id":"<xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxx2>","name":"channel_name_2"}]} -> {"channels":[{"id":"<channel_id_1>","name":"channel_name_1"},{"id":"<channel_id_2>","name":"channel_name_2"}]}?

{"channels":[{"id":"<channel_id_1>","name":"channel_name_1"},{"id":"<channel_id_2>","name":"channel_name_2"}]}

I have done it for both channels and things

repo: mainflux/docs


text:
Issue5405

Related Issue
Under the Equation section, there is a method where CSS is not implemented correctly, which differs from the rest of the methods in that file.
fix #[5405]
Describe the changes you've made
Add the CSS to make that method similar to others.
Checklist:

[ X] My code follows the style guidelines of this project.
[ X] I have performed a self-review of my own code.
[ X] I have commented my code, particularly in hard-to-understand areas.
[ X] I have made corresponding changes to the documentation.
[ X] My changes generate no new warnings.

Screenshots

Original
Updated

@sairish2001 please review it.

repo: makesmatheasy/makesmatheasy


text:
Ionic 2 Error while building

I'am getting the following error

[23:13:25]  ionic-app-scripts 0.0.47
[23:13:25]  build prod started ...
[23:13:25]  clean started ...
[23:13:25]  clean finished in 9 ms
[23:13:25]  copy started ...
[23:13:25]  ngc started ...
[23:13:28]  build prod failed: Unexpected value 'SchemaFormModule' imported by the module 'AppModule'
[23:13:28]  ionic-app-script task: "build"
[23:13:28]  Error: Unexpected value 'SchemaFormModule' imported by the module 'AppModule'

Here's the system info
node v6.9.2
npm  v4.0.5
Angular - 2.2.1
Ionic - 2.0.0-rc.4
angular2-schema-form - 1.0.0-alpha.32
As per this article
Angular Libraries that can utilize ngc require .metadata.json files to be included with the package

As per https://github.com/driftyco/ionic-app-scripts/issues/145#issuecomment-254391245
Angular Libraries that can utilize ngc require .metadata.json files to be included with the package
Hope it might help you

I closed this issue as duplicates are there


text:
Set WeekFirstDay not working version 5.1.0

        var cal = Calendar.current
        cal.firstWeekday = 2 // 2 represents Monday
        cal.timeZone = Zones.gmt.toTimezone()
        cal.locale = Locales.englishUnitedStates.toLocale()

I would like to set the week first day as Monday but the above which worked in swift 4 is not working after migrating to swift 4.2. So, Kindly can you check it once.

I'm not sure what you would to accomplish.
Can you post

Hi @malcommac, also would like to know the answer to this.
How can we set the first day of week when using SwiftDate? since firstDayOfWeek is only a get property.

I need to set the week start date based on user preference. For example: if the user selected Tuesday as the week start date. I want to make sure all computations for the week happen based on that.  I am using dateAtStartOf(.week) and dateAtEndOf(.week) throughout my project.
Currently, i tried setting the firstWeekDay in this way
var calendar = Calendar.autoupdatingCurrent   calendar.firstWeekday = 3   let region = Region(calendar: calendar, zone: userTimezone, locale: Locale.autoupdatingCurrent)   SwiftDate.defaultRegion = region
But it seems to fail, since the default calendar is returned in any instance of Date.
Could you please provide a way to set a week start day? It would be really helpful

I need to set the week start date based on user preference. For example: if the user selected Tuesday as the week start date. I want to make sure all computations for the week happen based on that. I am using dateAtStartOf(.week) and dateAtEndOf(.week) throughout my project.
Currently, i tried setting the firstWeekDay in this way

var calendar = Calendar.autoupdatingCurrent
'calendar.firstWeekday = 3'
'let region = Region(calendar: calendar, zone: userTimezone, locale: Locale.autoupdatingCurrent)'
'SwiftDate.defaultRegion = region`

But it seems to fail, since the default calendar is returned in any instance of Date.
Currently in v6.1.0
@malcommac Could you please provide a way to set a week start day? It would be really helpful

I have the same problem. I really need to let the user change the first weekday, but passing  the configured "Calendar" to "Region" initializer always returns "firstWeekday" based on locale

@Vignesh-Thangamariappan did you manage to solve this? I'm having the same challenge.
Thanks

I have the same problem.
I can't modify firstWeekday and minimumDaysInFirstWeek because of Region's initializer.
There we have:
	public init(calendar: CalendarConvertible = SwiftDate.defaultRegion.calendar,
				zone: ZoneConvertible = SwiftDate.defaultRegion.timeZone,
				locale: LocaleConvertible = SwiftDate.defaultRegion.locale) {
		self.calendar = Calendar.newCalendar(calendar, configure: {
      print($0.firstWeekday, $0.minimumDaysInFirstWeek) // Correct values

			$0.timeZone = zone.toTimezone()
			$0.locale = locale.toLocale()

      print($0.firstWeekday, $0.minimumDaysInFirstWeek) // Incorrect values

      // Manually set the values
      $0.firstWeekday = calendar.toCalendar().firstWeekday
      $0.minimumDaysInFirstWeek = calendar.toCalendar().minimumDaysInFirstWeek

      print($0.firstWeekday, $0.minimumDaysInFirstWeek) // Correct values
		})
	}

It seems to me that after any change to Calendar's properties in the configure closure, all of my settings are reset.
But if I change the values after that, everything works as expected.

Thanks @TimGrell. This looks to be a good fix. Can you please make these changes in a separate branch and push it to the repo. Once they merge your changes, It would be a great addition in the next update of Swift Date.

Thanks @TimGrell. This looks to be a good fix. Can you please make these changes in a separate branch and push it to the repo. Once they merge your changes, It would be a great addition in the next update of Swift Date.

Is there a way to change firstWeekday in current version of SwiftDate? I have the same problem about it.

Is there a way to change firstWeekday in current version of SwiftDate? I have the same problem about it.

me too

Is there a way to change firstWeekday in current version of SwiftDate? I have the same problem about it.

me too

I've figured it out myself by setting Calendars.gregorian or the other to make it change programmatically, hope this help you somehow.

Сan you give an example of how you overcame this bug ?

Сan you give an example of how you overcame this bug ?

var calendar = Calendar.init(identifier: .gregorian)
calendar.firstWeekday = 2
SwiftDate.defaultRegion = Region(calendar: calendar,
zone: TimeZone.autoupdatingCurrent,
locale: Locale.autoupdatingCurrent)
// print SwiftDate.defaultRegion.calendar.firstWeekday then got 1

There used to be a convenient method for that (https://github.com/malcommac/SwiftDate/compare/4.5.1...5.0.0#diff-4ddb0e769834923d6d637cfe9c9974c5d6d2c0e17c1703ac9ec3b7eaae5f68a9L89-L96). Maybe we can bring it back as a fix?

@BagmetDenis @Elshir @suwenclub  You can temporarily use my forked version in which the firstWeekDay works as expected. Here is a link for reference: https://github.com/Vignesh-Thangamariappan/SwiftDate

authors: BagmetDenis Elshir ExtremeMan TimGrell Vignesh-Thangamariappan VladOrackle greyder malcommac mribeiro sathishvgs suwenclub

repo: malcommac/SwiftDate


text:
CI: setup

Description of Change
Make sure dependencies are installed and also test on WSL.
Checklist

[ ] I have read the contribution documentation for this project.
[ ] The changes have sufficient test coverage (if applicable).
[ ] The testsuite passes successfully on my local machine (if applicable).
[ ] macOS/Linux dependencies are installed
[ ] Test on WSL
[ ] Remove any [REMOVEME] commits

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@256dbf9). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage        ?   87.67%
=======================================
  Files           ?        4
  Lines           ?       73
  Branches        ?       20
=======================================
  Hits            ?       64
  Misses          ?        3
  Partials        ?        6

Continue to review full report at Codecov.

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

authors: codecov-io malept

repo: malept/cross-spawn-windows-exe


text:
resizing doesn't work in my app

Hi the TextFit is not at all resizing the font. I'm using react v ^0.14.7;
I'm using the Textfit to resize the react-datagrid column heading.
`
render() {
var categoryHeadings = GenerateCategoryHeadingsFromReportColumns(this.props.reportColumns);
    return (

                {
                    _.map(categoryHeadings, function (columnHeading, key) {
                        if (columnHeading === undefined) {
                            return '';
                        }

                        var divStyle = {
                            width: columnHeading.width,
                            minWidth: columnHeading.width,
                            paddingRight: columnHeading.paddingRight
                        };
                        return (

                                <Textfit style={inlineStyle}
                                                 mode="single"
                                                 forceSingleModeWidth={false}>
                                                 {columnHeading.categoryName}
                                                   </Textfit>

                        );
                    })
                }

    );
}

`

I’m sorry, this does not seem to be a clearly described issue. Given your description, it is tricky to figure out what went wrong. Perhaps you should first try other avenues of action, such as investigate the problem further, ask for help on support forums. You could also try to come up with a simpler way to reproduce your problem on a website like jsfiddle.net. If you have new findings, by all means, feel free to add them here and the issue might be reopened.

repo: malte-wessel/react-textfit


text:
Add PKG_HASH and PKG_BUILDNUMBER support

I think we may not have support for using PKG_HASH and PKG_BUILDNUMBER in the build string right now (for this one needs to compute the values first, then use jinja to evaluate the template.

Hey @wolfv, am I correct in understanding that PKG_HASH and PKG_BUILDNUM are not possible to include in a custom build string in a boa recipe? If so are there any workarounds to get the current package-hash into the build string in case we need to finetune build numbers of package variants (while keeping the hash) like this?
I would like to do something like this in a boa recipe
build:
  number: 4
  string: 'aster_h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}'

But unfortunately it results in -aster_h_.tar.bz2 :(
I am using boa==0.15.1 btw.

authors: Krande wolfv

repo: mamba-org/boa


text:
Can tree shaking be improved for named imports?

If I import
import { Github } from "@icons-pack/react-simple-icons";

webpack packs whole library (2MB+).
If i import only one file
import  Github  from "@icons-pack/react-simple-icons/lib/Github";

only icon I need (few kB).
I would expect for named imports to get tree shaken and pack only files that are needed.
Thanks for the lib, btw ;)

yeah our build was BLOWN out by this package - we assumed tree shaking would work.
Until then perhaps docs in the imports?

Version 3.0.0-alpha.0 looks fine to me, tree shaking works. :)

authors: andrewmclagan pomali

repo: mamut-dev/icons-pack


text:
incompatibility

it doesn't works with vue

it's possible that recents in vuejs introduce compatibilities trouble ...
btw it should continue to work with vuejs < 3
(i don't use vuejs anymore ... and I don't know the current version ;-))

authors: manatlan rraammiinn

repo: manatlan/guy


text:
Issue with strings

Details
After installing FLARE-VM, the first strings in path is not the sysinternals strings, but:

I had expected the sysinternals one. Should we add the sysinternals path at the beginning of PATH in the package? Are there any better solutions? @vm-packages
Also, should we add a shortcut for strings in the Tools directory?

I'd also expect strings.exe. I don't think we need a shortcut (there are other strings tools integrated).

repo: mandiant/VM-Packages


text:
fix mypy code style violations

so that we can merge https://github.com/mandiant/flare-floss/pull/632

Awesome, you got it!

How can I test locally before sending a pull request? Seems like the issue still persists.

I have sent a pull request. Please check if it resolves issue #632

Yes, thank you!

authors: deepaksirohiwal mr-tz

repo: mandiant/flare-floss


text:
Estimated maximum payload?

And estimated available voltages on board?
Thanks!

500g is OK.

authors: Camilochiang mangdangroboticsclub

repo: mangdangroboticsclub/QuadrupedRobot


text:
remove bin/setup in favor of bundle install

Maybe I'm missing the logic behind this, but bundle install is a pretty well-known and understood way of setting up a Ruby development environment. I've never seen anyone wrap it in an executable before, and when I read the instructions, my first reaction was, "what's this aribtrary script they want me to run on my machine, what does it do, and why don't they... oh. it just wraps 'bundle install'."
I'm also a bit confused by bin/console, as opposed to simply telling people to use bundle exec irb -r pack_rb (which I think is more clear about what's actually happening).

bin/setup was actually provided by Bundler's gem generator. I want to hang on to it. Becuase of the convention. Also, if we ever have to do any other setup for development (maybe fetch Packer binary), it would go in this script.

ok, I hadn't used that before. apologies.

authors: jantman jniesen


text:
Opens Chrome browser on Android in-case there is any redirection from main URL

Android Application has been build with Cordova v5.4.0 and Hosted-WebApp plugin v0.3.1.
First the Application is hitting a to a URL and all the plugins are working there. But incase we are doing any redirection to a page, rather than doing the redirection in the same Android app instance it is opening Chrome browser and opening the application there with the NEW URL.
Our expected behaviours are.
Our Web Application is hosted in mutliple URL. We can redirect from one URL to another URL based on business logic. All the cordova plugins should work evenIf we are playing with multiple URL in run time. Chrome browser should not get open due to URL redirection.
{
"name": "FSO MOBILE APP",
"short_name": "Fsomobile",
"mjs_cordova": {
"plugin_mode": "client"
},
"mjs_import_scripts": [
{ "src": "css/bootstrap.min.css" },
{ "src": "css/style.css" },
{ "src": "js/supportedLibrary/jquery.min.js" },
{ "src": "js/examples/audio-sample-source.js" },
{ "src": "js/examples/video-sample-source.js" },
{ "src": "js/examples/camera-sample-source.js" },
{ "src": "js/examples/barcode-sample-source.js" },
{ "src": "js/examples/common-sample-source.js" },
{ "src": "js/examples/geolocation-sample-source.js" },
{ "src": "js/examples/image-location-sample-source.js" },
{ "src": "js/supportedLibrary/angular.min.js" },
{ "src": "lib/html5.mobile.library.js" },
{ "src": "js/controller/mainAppController.js" }
],
"mjs_api_access": [
{ "match": "*" }
],
"start_url":"http://example.com/FSO2",
"scope":"http://example.com/FSO2"
"mjs_extended_scope":["https://rnam.otherdomain.net","https://login2.officedomain.net"]
}

This seems like an issue with the scope.  Can you try adding the scopoe to just be "*", this isn't good practice, but it will set the scope to all URLs, and if it still pops out into the browser, then you know it is being done with JS on the page (like a window.open or taget="blank"  etc)

authors: bikashkumars boyofgreen

repo: manifoldjs/ManifoldJS


text:
Run spellcheck

Ran cspell locally and fixed a number of typos.  Very roughly the more important changes are in earlier commits.
Be sure to check that none of these will have any unintended ill effects, such as the changes to users_popuate, or the eventTrackingName="copy lover referrral".  If so we can pull those out and merge the rest.

Could I get a workflow approval on this?

repo: manifoldmarkets/manifold


text:
🛑 Mesa Freeworld is down

In 5241bfb, Mesa Freeworld (https://nonfree.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mesa Freeworld is back up in 85cd988 after 12 minutes.

repo: manjaro-contrib/upptime


text:
🐛 Greeter doesn't have "Sway (Unsupported GPU)" option mentioned in FAQ

branch
stable
Architecture
x86_64
Description
In https://github.com/manjaro-sway/manjaro-sway/blob/main/SUPPORT.md#why-doesnt-it-start-with-nvidia-drivers, a greeter option is mentioned that I don't seem to have. I only have sway and sway-user-service.
I selected "proprietary drivers" during installation.
Reproduction steps
Install and select proprietary drivers

Observe no listed greeter option for unsupported gpu

Screenshots
No response
Logs
No response

Ah, yes. That is outdated. Calling sway should detect if you're using the Nvidia driver and start sway accordingly: https://github.com/manjaro-sway/desktop-settings/blob/sway/community%2Fsway%2Fusr%2Flocal%2Fbin%2Fsway
Does it work?

Ah, thank you!
It doesn't seem to be working for me, I'm having issues wherein either nothing displays after login, or only this text displays indefinitely:

I can get to tty without issue. I tried launching sway from there to see if I can get an error to display, but it just shows the same text, except then also locks up and prevents me from switching to another tty.
Furthermore, during installation, there were significant graphical glitches on the installer, such as "stuck rendering" (scrolling showing outdated information in a list until I highlighted a line and forced a refresh for example) or constant flickering.
I chalked it up to me not quite understanding things and was going to do more investigation along the lines of running Sway on an Nvidia GPU before I bothered anyone here or elsewhere, knowing that Nvidia GPUs are unsupported. Though of course any pointers I'd gladly and gratefully accept.

I have this error displaying in dmesg:
https://github.com/pop-os/cosmic-comp/issues/419
It may be because I have two monitors plugged in. I'll try with just one for now.

Well anyway, perhaps we should close this since the actual issue is resolved?

repo: manjaro-sway/manjaro-sway


text:
[Feature Request]: Improving Social icons appearance

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Social icons appearance are normal washout any hover effects and animations and interesting view

Use Case
by adding hover effects and animation it will become interesting
Benefits
No response
Priority
Medium
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

can u assign me this issue


text:
Close #21 - Add phpCmd

This is just a quick PR to close my own issue #21. Hopefully this works for you.

Hi @finn-matti sorry i never got to this :)
I tried your PR and specified: "php-cs-fixer.phpCmd": "herd php" and it did not work for me. What is the use case here, do i need to pass the full path to php to make it work?
Thanks

Turns out it needs full path to php. This worked for me "php-cs-fixer.phpCmd": "/Users/mansoor/Library/Application Support/Herd/bin/php".


text:
update to wsclean version 3

This is not critical at the moment, but it would be good to reconcile the versions at some point, so older wsclean versions are not perpetuated in the future (since some functionality and parameters are different).
Currently you are installing version from stimela: stimela/wsclean:1.6.3, which is v2.9, downloaded from dockerhub. That is fine for early tests and development, but at some point v3 (e.g. 3.10) should be used. Docker definition files are available here: https://gitlab.com/aroffringa/wsclean/-/tree/master/scripts/docker
stimela version offers standard compilations, while those docker files include additions like idg or everybeam that gives more flexibility. Also, it allows GPU usage, which will be relevant in the future.
Doing this soonish will avoid having to refactor code in the future.

Yes, we want to review it @jmoldon .

Updated to v3.2

authors: carlosrm9 jmoldon manuparra

repo: manuparra/ska-serverless


text:
Maps SDK 8.4.0

Part of the 8.4.0 Maps SDK release

[x] v8.4.0-alpha.2
[ ] stable v8.4.0

During v8.4.0-alpha.2 QA, I found no issues that are both noteworthy and unreported

@tobrun , beta.1 is out. You're up for QA.

repo: mapbox/mapbox-plugins-android


text:
glibc 2.14 dependency

In 3.0.9 #244 is now an issue again.  Trying to use node-sqlite3 on CentOs 6 and I have a less happy day.
It appears to have been fixed by #444.  Can this be re-applied?  Or was this done on purpose?
module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by .../node_modules/sqlite3/lib/binding/node-v11-linux-x64/node_sqlite3.node)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (.../node_modules/sqlite3/lib/sqlite3.js:4:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (.../index.js:4:19)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

Yes, this worked in v3.0.8, broke in v3.0.9, and will work again in v3.0.10. The problem is we have no good way to test and prevent regression currently.
refs https://github.com/mapbox/node-sqlite3/issues/459#issuecomment-128416060

should be fixed by https://github.com/mapbox/node-sqlite3/commit/4955b79f04509196a15c360e612f9c0c393c3609

I feel your pain.  Tests ftw.  Wish I could help.  Thanks for taking care of it.

authors: seebees springmeyer


text:
Installation on Raspberry Pi Failure

I've tried installing several times but I always get the same error. My log shows that it fails to get the tar, and then fails the fallback installation.
If I download the tar manually, where would I put it/untar it for the installation package to detect it?

The link for the tar is 403... https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.6/node-v48-linux-arm.tar.gz

I read somewhere that the 403 simply means that the file doesn't exist, so that may not be a problem

Perhaps is a duplicate of #664
I tried installing with npm i -g sqlite3 --unsafe-perm as a different thread suggested, same results

I didn't have build tools installed. 😞
sudo apt-get install build-essential


text:
Buffer size roundtrip test

Aims to resolve #8 by returning a Nan::NewBuffer instead of a Nan::New<v8::String>
This only adds the first two arguments to the Nan::NewBuffer method, which are data, and size - but there are two more options that can be added which relate to garbage collection - so we should be sure to do this properly if we can https://github.com/nodejs/nan/blob/master/doc/buffers.md#nannewbuffer - I'm just a little uncertain how to do it properly.
Separately: this would be a great addition to the node-cpp-skel examples, i.e. "return a buffer object" (similar to "ingest a buffer object" https://github.com/mapbox/node-cpp-skel/issues/67)
cc @millzpaugh @artemp

thanks @mapsam! this looks good to me, but I'll wait for @artemp to check it out before merging in.

:+1:

authors: artemp mapsam millzpaugh

repo: mapbox/vtcomposite


text:
Java code should be in separate Github repository

If I want to make changes to your Java code (i.e. to add serialization support) I shouldn't need to fork the entire database.
Please create a new repository.

Closing this issue, as its not explicitly a bug. Currently, MapD is using a monorepo approach, but as conditions change or someone from the community provides a PR we can re-evaluate.

authors: baank randyzwitch

repo: mapd/mapd-core


text:
How to add a url to scrap?

Hi,
I'm scrapping a page, that contains links to other pages I'd like to scrap too (that have the next format, eg for paginated results).
Was wondering if there is a way to inject more urls to parse in the current scrapper?
X+
P.S. jQuery and node.js is by far the more pleasant way to parse (still feel the pain of regex and other string operations ;)

I tried to do the same asynchronously, but did not work for me.

Hi,
Ended up writing code based on async. Worked fine... until I upgraded node. Will check this week-end and report
X+

Hey,
What I ended up doing is using jQuery & Jsdom as secondary scraper inside scraper function. This worked with the latest version of node, I guess you can use this for now. Refer to this article here:
http://blog.nodejitsu.com/jsdom-jquery-in-5-lines-on-nodejs

repo: mape/node-scraper


text:
msls_images_vol_1.zip download fail

All files can be downloaded normally, but only the "msls_images_vol_1.zip" file failed to download, and the web page reported an error 400. I saw this problem in other documents before. Does this one need to wait for a period of time?

I think this might be some issue related to the content distribution network and your specific location. Someone else had similar issues (with another file). Perhaps wait a bit or try to download from another IP?

@mlopezantequera Tanks. I will try. I looked at the previous issue record and found some questions about the competition. Has this data set ever held a competition? If so, can you give me a link?

Excuse me, I have tried to change different download methods and IP addresses, but unfortunately, I still cannot download these files. So are there any other downloads of this dataset?

Currently the evaluation server is not enabled, we're working on hopefully setting up a permanent ongoing eval server.
@Subury  did you manage to download or are there still files that you can't access?

@Subury  the eval server is back online, read more here:
https://github.com/mapillary/mapillary_sls/#-evaluate-on-the-test-set

authors: Subury mlopezantequera


text:
feat: make Camera pure

From Slack my initial motivation:

I’m thinking the migration of UNSAFE_componentWillReceiveProps in Camera could be simpler. I think the native part get’s currently updated twice/multiple times:
By setting the props= to the RCTMLNCamera
And by calling setNativeProps for most props in an useEffect
Was there a reasoning behind doing both?
I will be drafting a PR which only uses setNativeProps for the imperative methods. I’ve mostly compared our current version with the RNMapbox current Camera  . I know we are diverging but it but their technique for migration to hooks here seems just as fine for MapLibre. Note: We can still look at RNMapox for such topics – it’s MIT as it’s still only by the community. Also they moved forward to the new architecture and Swift and Kotlin. Lots of work to do for RN MapLibre :sweat_smile:.
It will keep allowUpdates broken. It currently only blocks the imperative calls anyway. And I don’t see a way for this to work on the React (TS/JS) side. We would have to keep the previous props in state (refs aren’t allow to read/write during render). That would mean extra re-renders. I’m thinking it would be better to implement this on the native side, if anybody uses this. Does someone have a usecase/example for this?

I think this one is now ready to merge. I tested quite a bit within our app and the camera behavior seems stable to me now.
What I did:

Make the Camera component pure

No more side effects, just plainly passing the props to native and exposing the imperative methods
Imperative calls were janked previously and changing props would cause multiple re-renders

Changed the default animationMode for controlled Camera to CameraMode.None

If one uses the controlled Camera (by setting coordinates etc. as props), it should also be mandatory to choose the animation

Dropped the allowUpdates prop

It's opposing to pure components, because the order of changing props would matter
Should be handled in user space, if necessary (e.g. not updating the controlled Camera props, when condition xy)

Removed the unimplemented triggerKey prop

Should also be possible with imperative call setCamera

This PR broke my camera flyTo animation. Now the animationDuration is totally ignored which makes manual view changes unacceptable.
cameraRef.current?.setCamera({
                centerCoordinate: mapCenter,
                zoomLevel: 16.5,
                animationDuration: 500,
                heading: 0,
            })```

repo: maplibre/maplibre-react-native


text:
Improve changelog management and release integration

Our changelog has not been updated for a while, and our CI is not using it properly as part of the release process.  Some interesting ideas are in this blog post on how to set up automated release system. We should go through that blog post and possibly adapt some of it?

@sharkAndshark The issue is that "automatic" is rarely useful -- there are a lot of PRs that simply cleanup/refactor code, and should not be included.  Most projects instead require changelog file to be updated as part of each pull request (when needed).  So perhaps we should adapt that policy. In this case releasing new version would be as easy as copy/pasting the "unreleased" section of the changelog to the github release page.

repo: maplibre/martin


text:
Solr Datasource

Hi ,
first of all , this works wonderful  and thanks all for supporting, now I have tried this POSTGIS datasource and it works fine , our infrastructure is in solr and solr does have geosptial datasource , what would be the best way to use Mapnik + solr, is Mapnik lacking support for solr ?
Regards,
Mihir Soni

closing, discussion happened over at https://github.com/mapnik/mapnik/issues/2760

authors: mihirsoni springmeyer

repo: mapnik/node-mapnik


text:
Revert "Revert "Tests for new table stats feature""

Reverts mapr/drill-test-framework#543

LGTM

repo: mapr/drill-test-framework


text:
ons-dialogを表示・タップやスクロールをしても後ろのGoogleMapsが動いてしまう

I'm submitting a ...  (check one with "x")
[ ] question
[x] any problem or bug report
[ ] feature request
plugin version:  (check one with "x")
[ ] 1.4.x
[x] 2.0.0-beta2
2.0.0-beta2-20170731-1540
cordova information:  (run $> cordova plugin list)
Monacaで開発のため、コマンドが利用できません。
Current behavior:

OnsenUIを使用時に、GoogleMapsの上にons-dialogを開いてタップやスクロールをしても、背面に表示しているGoogleMapsが反応してしまう。
Expected behavior:

ons-dialogを利用してもタップやスクロールにきちんと反応する。
Steps to reproduce:
名古屋の近辺にピンが複数落ちており、それをタップするとons-dialogが表示されます。
普通にons-dialog内をスクロール等操作できるときもあれば、後ろのGoogleMapsが動いてしまうこともあります。
アプリを起動後、数秒放置後にこの現象が発生しやすいように思います。
可能であればMonacaのプロジェクトに招待させていただければと思います。
Screen capture or video record:

dialogを表示するときに、cordova.fireDocumentEvent('plugin_touch', {});を実行してくださ

アプリを起動後、数秒放置後にこの現象が発生しやすいように思います。

はい、正しいと思います。
プラグインでは全てのHTMLの重なり順を考慮しますので、逆に言えば、全てのHTMLの重なり順をチェックしなければなりません。
もちろん省略可能なところはそれなりに省略していますが。
その重なり順を調べる処理は多少時間がかかりますし、CPUもそれなりに使用しますので、ずっと行っているとバッテリーの減りが半端ないです。
そこで指が画面に触れてから最初数秒が新しいHTMLの要素があるかないか、チェックをします。
指が離れてから3秒を経過すると1秒ごとにチェックをして、そこから7秒経過するとチェックすることを止めます。
（これでも長期間監視するようにした方です）
ただし初めて指が触れた領域が地図の場合は、この処理は行いません。
なので、Markerをクリックしたらダイアログを出すようにしているのであれば、ダイアログの領域を地図の領域として認識している確率が高いです。
そのような場合、開発者側で cordova.fireDocumentEvent('plugin_touch', {});を実行してください。

早速のご連絡ありがとうございます。お陰様で解決することができました。
ご解説いただきありがとうございます。
またドキュメントの確認漏れ失礼いたしました。
微力ながら寄付させていただきました。
今後共よろしくお願いいたします。

ありがとうございます。大切に使わせていただきます。

repo: mapsplugin/cordova-plugin-googlemaps