[vmwarefusion] "IP not found in DHCP leases" problem

I have setup a new mac using Mojave 10.14.1 .
VMware Fusion Professional Version 11.0.1 (10738065)
Installed Docker for Mac via brew cask install docker.
Created a VM via docker-machine
docker-machine create --driver vmwarefusion docker
I can see the VM in Vmware Fusion.
The last line in the console which I can see is haveged: haveged: fills: 0, generated: 0
docker-machine ls
NAME     ACTIVE   DRIVER         STATE     URL   SWARM   DOCKER    ERRORS
docker   *        vmwarefusion   Running                 Unknown   IP not found for MAC 00:0c:29:25:ba:09 in DHCP leases

It basically stays forever like this.
I checked network settings inside VMware Fusion for the VM and network is set to Share with my Mac.
I have see a couple of similar issues but they're all from a couple of years ago.
Any idea what's wrong here?

Same problem for me. The VM hangs at the haveged step.
MacOS High Sierra 10.13.6
docker-machine version 0.14.0, build 89b8332
VMWare Fusion 11.0.0

This seems to be a problem with either docker-machine 0.14.0 or the latest boot2docker images on vmware / vmware fusion https://github.com/boot2docker/boot2docker/pull/1350#issuecomment-439655247

There is a problem in boot2docker.iso 18.09.0 which is fixed with https://github.com/boot2docker/boot2docker/pull/1350 by adding missing kernel modules and fixing the /etc/init.d/docker script.
There is another problem with docker-machine 0.14.0 and newer using the vmwarefusion driver. In all my macOS machines (baremetal and nested VM) it aborts at the "vmrun ... enableSharedFolders" command also with older boot2docker.iso versions.
There is an external driver plugin vmware which can be used right now as it does not abort at the "vmrun ... enableSharedFolders" command, but it mounts
I have built the boot2docker.iso with the fix for vmware and put it into a GitHub release of my fork.
docker-machine -D create -d vmware --vmware-boot2docker-url=https://github.com/StefanScherer/boot2docker/releases/download/18.09.0-vmware/boot2docker.iso default

The shared folders are mounted to /hosthome instead of /Users in the b2d VM. At the moment using -v $(pwd):/xxx does not work:
$ pwd
/Users/stefan/code/boot2docker

$ docker run -v $(pwd):/test alpine ls -a /test
.
..

$ docker run -v /hosthome/stefan/code/boot2docker:/test alpine ls -a /test
.
..
.dockerignore
.git
.gitignore
.travis.yml
Dockerfile
FAQ.md
LICENSE
MAINTAINERS
README.md
boot2docker.iso
files
update.sh

I try to figure out why this happens and send PR's to the corresponding repos.


Allow custom validation plugin for custom fields

Environment

Python version: 3.6.8
Nautobot version: v1.1.1

Proposed Functionality
Allow to define custom validation via validation plugin for all custom fields.
This might me as easy as adding @extras_features("custom_validators") to CustomField and CustomFieldChoice models.

Use Case
We'd like to enforce format of values for some custom fields, namely cf.asw_owner. We need it to be like team_name <team@email> (manager@email) to make sure changing the value won't break associated integration scripts from other projects. It already did happen, that's why we'd like to implement a check. But it is not possible yet.

Database Changes
None

External Dependencies
None

This specifically needs to take the validation into the Custom Field Choices, above and beyond the validation regex that is available today.

Can assign to myself and Josh S

@jvanderaa what's your timing on this?  If it is in the next 2-3 weeks, it'll make 1.2, otherwise, 1.3.  Can you let us know? :)


Could you make pod for it

Thanks for this library i will use it in the v2 of my app :) https://itunes.apple.com/de/app/summoners-companion-for-lol/id1171905646?mt=8
if possible add it for cocapods <3

It's done!
https://cocoapods.org/pods/BubbleTabBar

[!] Unable to find a specification for BubbleTabBar
You have either:

out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

@askopin

@ahmedsafadii just run pod install --repo-update as suggested

@askopin Thanks it's working now <3

Hi when I try to install the library it throw this error:
[!] CocoaPods could not find compatible versions for pod "BubbleTabBar":
In Podfile:
BubbleTabBar (~> 0.8)
Specs satisfying the BubbleTabBar (~> 0.8) dependency were found, but they required a higher minimum deployment target.
Some help here please


Oscar

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

I believe this was submitted by mistake and will close. Please let me know otherwise.


chore: Include v1beta1 in synth.py

@schmidt-sebastian this looks good to me :+1: I might be tempted to call it a feat: rather than a chore, at the end of the day, once this is released, our customers have access to the new v1beta1 API surface, am I correct?

@bcoe The API and functionality should not have changed (ignoring the addition of a second export that could theoretically be used). I see a bunch of code that got moved around in v1beta1, but I don't see any breaking changes or feature additions. Let me know if that lowers the bar to "chore", otherwise I can make this a feature PR.


crash

30Gb SD in raspberry pi 4, copied to 15Gb SD card in USB reader.
uname -r
5.10.103-v7l+ (Raspbian Buster)
Two attempts
1.) Previous Raspberry Pi OS Bookworm installation was overwritten - crash
2.) Wiped SD card clean - crash
pi@raspberrypi:/var/www/html $ sudo chmod 777 clone_rasp_disk.sh
pi@raspberrypi:/var/www/html $ ./clone_rasp_disk.sh /dev/sda
Model: TS-RDF5 SD Transcend (scsi)
Disk /dev/sda: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number  Start   End     Size    Type     File system  Flags
1      4194kB  541MB   537MB   primary  fat32        lba
2      541MB   15.9GB  15.3GB  primary  ext4         lba
mkfs.fat 4.1 (2017-01-24)
mke2fs 1.44.5 (15-Dec-2018)
/dev/sda2 contains a ext4 file system labelled 'rootfs'
last mounted on /mnt/rootfs on Sun Jul 21 13:26:06 2024
Proceed anyway? (y,N) y
Creating filesystem with 3738624 4k blocks and 934720 inodes
Filesystem UUID: 0270eb91-c27a-4d2f-9aaf-8896fbf20c58
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
mkdir: cannot create directory ‘/mnt/rootfs’: File exists
880,669,419  96%    6.68MB/s    0:02:05 (xfr#18149, ir-chk=1003/23900)
file has vanished: "/proc/10/exe"
913,238,371  99%    6.66MB/s    0:02:10 (xfr#18225, ir-chk=1042/24018)
file has vanished: "/proc/10/task/10/exe"
913,238,371  99%    6.66MB/s    0:02:10 (xfr#18267, ir-chk=1000/24183)
"                                           "
"                                           "
"                                           "
"                                           "
"                                           "
file has vanished: "/proc/178/exe"
913,238,371  99%    6.58MB/s    0:02:12 (xfr#23420, ir-chk=1002/31063)
file has vanished: "/proc/178/task/178/exe"
913,238,371  99%    6.58MB/s    0:02:12 (xfr#23534, ir-chk=1005/31203)^C
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(644) [sender=3.1.3]
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(513) [generator=3.1.3]
rsync: change_dir "/boot/firmware" failed: No such file or directory (2)
0 100%    0.00kB/s    0:00:00 (xfr#0, to-chk=0/0)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3]
sed: can't read /mnt/rootfs/boot/firmware/cmdline.txt: No such file or directory
pi@raspberrypi:/var/www/html $
This may be a permissions problem:
pi@raspberrypi:/proc/10 $ ls
ls: cannot read symbolic link 'cwd': Permission denied
ls: cannot read symbolic link 'root': Permission denied
ls: cannot read symbolic link 'exe': Permission denied
pi@raspberrypi:/proc/10/task/10 $ ls
ls: cannot read symbolic link 'cwd': Permission denied
ls: cannot read symbolic link 'root': Permission denied
ls: cannot read symbolic link 'exe': Permission denied

I reproduce your results. Thanks your report this bug and use this repository! This project needs people try it to find potential issues and usage.
I exclude more directories when using rsync, like/proc. These directories stores many files generated by system, such as swapped memory. In your sample, cwd  is the current work directory of a process, we don't have permission to access it.
These files and directories aren't necessary for clone, because they will be removed or generated after next boot.
In my previous tests, maybe I reboot in high frequency, system doesn't generate many files, so this issue doesn't happened.
In some Linux backup tips, they recommend many directories, but excluding much directories cause boot problem. Excluding less directories also cause first boot taking more time. And some services will need some minutes to start after first start, like SSH and SMB server.


All updates I've made (besides legend.py cog, as changers were too significant)

Double check this pull doesn't change legend.py, as it should not

Any changes to brawlstars.py were unintentional


IoT Hub Preview Mode DPS registration fails

Hi I have an IoTHub created in preview mode. I am trying to create a Azure IoT Edge device using DPS service. Steps are as follows:

Create demo certificates as given in the documentation:  https://docs.microsoft.com/en-us/azure/iot-edge/how-to-create-test-certificates?view=iotedge-2020-11
Uploaded root ca certificate to DPS and created group enrollment
install iotedge runtime 1.1.3 and edited section : # DPS provisioning with X.509 identity certificate attestation

provisioning:
source: "dps"
global_endpoint: "https://global.azure-devices-provisioning.net"
scope_id: "<>"
attestation:
method: "x509"
registration_id: "testdevice01"
identity_cert: "file:///home/ubuntu/certs/iot-edge-device-identity-testdevice01-full-chain.cert.pem"
identity_pk: "file:///home/ubuntu/certs/iot-edge-device-identity-testdevice01.key.pem"
always_reprovision_on_startup: true
dynamic_reprovisioning: false

Restarted IoT Edge
I am getting following error:

Provisioning edge device...
<6>2021-09-15T09:41:56Z [INFO] - Starting provisioning edge device via X509 provisioning...
<6>2021-09-15T09:41:56Z [INFO] - Starting DPS registration with scope_id "0ne003B4DC5", registration_id "testdevice01"
<4>2021-09-15T09:42:12Z [WARN] - Could not provision device
<4>2021-09-15T09:42:12Z [WARN] -        caused by: DPS registration failed because the DPS operation is not assigned
<6>2021-09-15T09:42:12Z [INFO] - Restoring device credentials from backup

I want a confirmation that DPS x509 cert authentication works with IoT hub in preview.
I have done the same procedure with same above certs with normal IoT Hub and I can see device gets register and download all iotedge modules.

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

ID: 869192a9-b222-7355-f5e5-fe2c72a62a03
Version Independent ID: 1581b3d6-9aa5-eea5-0d44-dccd67bad8d8
Content: Create test certificates - Azure IoT Edge
Content Source: articles/iot-edge/how-to-create-test-certificates.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Hello @payalgaikwad42
Thanks for the feedback! We are currently investigating and will update you shortly.

@SatishBoddu-MSFT , Any updates?

#

Hello @payalgaikwad42 Thanks for waiting on this query.
Thanks for bringing this to our notice!
As of now we can confirm that 'all preview features are not supported compared to the normal IoTHub'
We have logged an issue with Product Team and they are actively tracking this(No ETA)

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.


Variable explorer not showing data

Description
What steps will reproduce the problem?

tried to read data using pandas but variable explorer is not showing the data
Traceback
  File "/home/sysg/anaconda3/envs/Py36/lib/python3.6/site-packages/spyder/widgets/variableexplorer/importwizard.py", line 633, in process
    self.clip_data = self._get_table_data()
  File "/home/sysg/anaconda3/envs/Py36/lib/python3.6/site-packages/spyder/widgets/variableexplorer/importwizard.py", line 613, in _get_table_data
    return array(data)
NameError: name 'array' is not defined

Versions

Spyder version: 3.3.6
Python version: 3.6.9
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Linux 4.15.0-66-generic

Dependencies
pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.4.2 (OK)
sphinx >=0.6.6    :  2.2.1 (OK)
rope >=0.9.4      :  0.14.0 (OK)
jedi >=0.9.0      :  0.15.1 (OK)
psutil >=0.3      :  5.6.3 (OK)
nbconvert >=4.0   :  5.6.0 (OK)
pandas >=0.13.1   :  None (OK)
numpy >=1.7       :  None (OK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.2.0 :  4.5.5 (OK)
IPython >=4.0     :  7.9.0 (OK)
matplotlib >=2.0.0:  None (OK)
pylint >=0.25     :  2.4.3 (OK)

Please explain how you're trying to read the data.

Per the traceback, the user is attempting to read data via the Spyder importwizard; it sounds like they are specifically trying to do so using the "i Naturally, this fails because

pandas >=0.13.1   :  None (OK)

pandas is not installed. Presuming this is the case, Spyder should show a user-interpretable error (e.g. a QDialog with "Pandas must be installed in Spyder's environment to import data as a Pandas dataframe. Please install pandas or try importing data into a different format instead."); assuming that importing data into a simple list without pandas, numpy etc. is even possible; if not then an error dialog with an appropriate message should be shown immediately on the user triggering the importwizard.


Improper tab names when starting with multiple tabs - Threading bug?

Environment
Windows build number:  10.0.18363.0
Windows Terminal version (if applicable): 1.1.1671.0

Any other software? No

Steps to reproduce
Run a command line which opens multiple tabs, and some split panes. Supply a name for each tab using --title.
Example command line:
wt.exe -p "Command Prompt" -d . --title Cmd1 ; split-pane -H -p Cmd -d . ; new-tab -p "Windows PowerShell" -d . --title Posh1 ; new-tab -p "Windows PowerShell" -d . --title Posh2 ; split-pane -H -p "Windows PowerShell" -d . ; split-pane -H -p "Windows PowerShell" -d . ; new-tab -p "Windows PowerShell" -d . --title Posh3 ; split-pane -V -p "Windows PowerShell" -d .
Expected behavior
Each tab gets the name you assigned it.
Actual behavior
Tabs sometimes get the names you supplied, and sometimes not. Since this problem is intermittent, I suspect it's a threading bug. I would guess you are using the same string variable to parse parts of the command line successively and passing each to a thread. The variable is getting clobbered.
Also of note, this is likely the same problem that is causing #6340, because they also describe it happening intermittently.
Thanks.

What titles are you getting?

Since the tabs I specified are either powershell or cmd, the cmd tab is randomly either Command Prompt or Cmd1, which I specified on the command line.
For the powershell tabs, I've specified Posh1, Posh2 and Posh3. Each of those is randomly the text I specified for it, or Windows PowerShell, which is the default in the settings.json file.
The randomness of it leads me to believe it's a threading bug. Run the command line I posted above several times and you'll start to see different results.

So, as far as I can tell, this is wrong for a different reason than "titles aren't working". Here's why.
I've decomposed your command into the wtscript that it runs, then annotated it.
wt.exe
 new-tab -p "Command Prompt" -d . --title Cmd1       [1]
 split-pane -H -p Cmd -d .                           [2]
 new-tab -p "Windows PowerShell" -d . --title Posh1  [3]
 new-tab -p "Windows PowerShell" -d . --title Posh2  [4]
 split-pane -H -p "Windows PowerShell" -d .          [5]
 split-pane -H -p "Windows PowerShell" -d .          [6]
 new-tab -p "Windows PowerShell" -d . --title Posh3  [7]
 split-pane -V -p "Windows PowerShell" -d .          [8]

Open a new tab, running a terminal whose title is "Cmd1"
Split that terminal, running a new terminal with the default title
Open a new tab, title "Posh1"
Open a new tab, title "Posh2"
Split that terminal, running a new terminal with the default title
Split that terminal again, running a new terminal with the default title
Open a new tab, title "Posh3"
Split that terminal, running a new terminal with the default title

Titles are actually attached to Terminals, not to tabs. The title shown in the tab is that of the active, focused terminal in that tab.
The issue here is that focus isn't ending up where we expect it. When you switch focus to the original split in the split pane, the title comes back.

Ah ok, that is very interesting. Thank you!
This now seems also bit more like user error on my part. Every pane needs a title, not just every tab. I will handle my setup by naming each pane, no problem.
Maybe clarify the documentation to state this clearly?


pileup function for direct RNA seq data

Hi,
I am trying to use the pile_up functionality, and my command line is as follows:
'''
python plot_pileup.py --rna ${BASE_SHIFT} --region ${REGION} -f ${FASTA} -s ${SIGNAL} -a ${ALIGNMENT} -o ${OUTPUT} --tag_name "testcase-${TESTCASE}" ${PLOT_LIMIT} ${SCALING}
'''
However, I receive an error of "Error: sam record does not have a 'si' tag."
Can I have your help on the matter?
Thank you!

Hi @kaltinel,
Can you please use the dev branch to build squigualiser?
Then please run test/data/raw/pipelines/pipeline_0/dna_r10.4.1_e8.2_400bps/run.sh pipeline after setting the appropriate variable as documented here.
You should run the script while sitting inside the test/data/raw/pipelines/pipeline_0/dna_r10.4.1_e8.2_400bps directory.
Then we can see where the pipeline is failing and troubleshoot from there.
Thank you.

Could you check if you are using newer version of f5c with the correct -a option to generate the BAM file with the si tag?

Hi,
Thank you for your replies.

@hiruna72 : I am using the dev branch, and all the test cases work. My kind suggestion would be to check the locations of the folders. For example, from src import X only works if the src is outside of the current script path. I am sure everyone can move the files a bit and make it work, so it is only a suggestion for improvement :)

@hasindu2008 Indeed, my f5c version doesn't have an -a option, however I thought I am using the latest version which is v1.3.

$ f5c-v1.3/f5c_x86_64_linux --version
F5C 1.3

@kaltinel
The --sam option is equivalent to -a option and was introduced in version 1.3 as explained in https://github.com/hasindu2008/f5c/releases/tag/v1.3.  Is it that -a gives as error in your case?
Could you double-check if your commands are as in https://github.com/hiruna72/squigualiser/tree/dev#option-2-f5c-eventalign?
@hiruna72 we better update the doc that f5c >=1.3 is required for this

Thank you for your reply. Indeed option-a works well and I am able to create .sam file as output with f5c v1.3.
However that sam file (the output of f5c eventalign) wasn't BGZF compressed, therefore could not be indexed after sorting.
For this reason, I did sam --> bam --> sorted_bam --> indexed sorted bam, and used this indexed sorted bam as an alignment file for plot_pileup.
I would be happy to know if there is a way to create BGZF compressed output of eventalign, or a shorter way to provide alignment input for plotting.
Other than that, everything works perfectly, thanks for the tool & help.

@kaltinel the steps are:
ALIGNMENT=eventalign.bam
f5c eventalign -b ${MAP_SAM} -r ${FASTQ} -g ${REF} --slow5 ${SIGNAL} -a -o eventalign.sam
samtools sort eventalign.sam -o ${ALIGNMENT}
samtools index ${ALIGNMENT}

The samtools sort command will make it BAM automatically if  the output file is .bam.
@hiruna72 Please fix the issue with this file location as well as inconsistencies/missing versions etc on the documentation.


Attempting to test terraform resource property/attribute is set to particular value

I am attempting to validate that resource attribute values are in acceptable range or set to particular value, but there is no step to support this use case. How can the below type of feature file be written?
https://www.terraform.io/docs/providers/aws/r/rds_cluster.html
So I should be able to verify that the value is being set to specific or some range, for any of the resource attributes below.(Same for any other terraform resource)
resource "aws_rds_cluster" "default" {
cluster_identifier      = "aurora-cluster-demo"
engine                  = "aurora-mysql"
engine_version          = "5.7.mysql_aurora.2.03.2"
availability_zones      = ["us-west-2a", "us-west-2b", "us-west-2c"]
database_name           = "mydb"
master_username         = "foo"
master_password         = "bar"
backup_retention_period = 5
preferred_backup_window = "07:00-09:00"
}
Scenario Outline: Retention Period defined
Given I have aws_rds_cluster defined
Then it must contain <retention_rules>
Then its value must be greater than 15
    Examples:
        | retention_rules |

Hi @TrickMcCarthy,
Thanks for reporting this! We will improve the step that
When I {operator} it`

where we only support count at the moment. We will also add read to that, then you can use that step before checking the value.

Hello @TrickMcCarthy,
terraform-compliance 1.0.17 has the feature where you can compare the values with steps. Here is an example feature/scenario for your situation ;
Feature: Test for https://github.com/eerkunt/terraform-compliance/issues/120

  Scenario: Ensure backup retention period is defined
    Given I have aws_rds_cluster defined
    Then it must contain backup_retention_period
    And its value must be greater than 15

Could you please try and let me know if this works for you with 1.0.17 ? Thanks!

Hi Eerkunt,
It's working now thank you for the addition. Negative and Positive test results below.
It doesn't work with terraform 0.11.xx as this does not support the terraform show command  conversion to json argument.
Observation: It seems a long winded way to run terraform-compliance to have to produce the plan and then convert it. I preferred passing in the location of the tf files and having this all done in the background. I see this as a deterrent for usability. Please consider making this unnecessary by going back to original method of passing the terraform module folder and performing the json conversion in the background. Perhaps using terraform go library or https://github.com/kvz/json2hcl
terraform-compliance v1.0.19
Running Negative test

In order to provide DR

As engineers
We are required to enable backups with 33 day retention period

Scenario: Ensure backup retention period is defined
    Given I have aws_rds_cluster defined
    Then it must contain backup_retention_period
    And its value must be greater than 32
      AssertionError: 5 is not more than 32

1 features (0 passed, 1 failed)
1 scenarios (0 passed, 1 failed)
3 steps (2 passed, 1 failed)
Run<PHONE_NUMBER> finished within a moment
Running Positive Test
In order to provide DR
As engineers
We are required to enable backups with 33 day retention period
Scenario: Ensure backup retention period is defined
    Given I have aws_rds_cluster defined
    Then it must contain backup_retention_period
    And its value must be greater than 32

1 features (1 passed)
1 scenarios (1 passed)
3 steps (3 passed)

Hello @TrickMcCarthy,
Thanks for trying out!
Unfortunately, there are many reasons why terraform-compliance requires a plan output. We had many problems with parsing HCL (while there were no HCL2 out) especially on interpolations and dynamic values.
E.g. you may read a value from aws_ssm_parameter_store and may use it as a variable somewhere. Terraform gets these data ( and many more ) while creating a Plan, since these are required to proceed.
Having this kind of functionality would require not only lexing HCL2 and implement ALL interpolations that terraform has already, but also fetching dynamic values based on specific resource types.
This was a general problem, not only terraform-compliance's. Luckily, terraform contributors and Hashicorp listened to us and created an interface where external tools can use to tap data that terraform will process on a plan.
Due to this problem - which is not the only one, tools that are dealing with HCL2 usually completely changed themselves in order to adapt new terraform.
Unfortunately, there is no plan to process HCL2 directly in the roadmap for now.

Closing the issue, since it is fixed already. Thanks again!


Enable py312 pipelines

[x] lint
[ ] navigator https://github.com/ansible/ansible-navigator/pull/1622
[x] compat
[x] pytest-ansible
[ ]

CLosing it, with the note that work on navigator is still pending.


deleteById does not work

I am calling DB.deleteById<M>(id) but when I call DB.getById<M>(id) I get the object back like it was not deleted. However, if I delete like that:
val key = DB.keyById<M>(id)
persistentDB.delete(key)

all works as expected. Am I doing something wrong or there is a bug?

Definitely a bug.
Which version are you on?

It is 0.8.1-beta

@iMrTidy When you say DB.deleteById<M>(key) are you actually passing a key to that function, or are you passing the id of the model, which is what that function is looking for? Keep in mind a key is not an id.
I wrote the following test and it didn't reproduce the issue on 0.9.0-beta:
`
@Test
fun test10_findAfterDeleteById() {
db.inflateDB()
    assertNotNull(db.getById<Adult>("BRYS", "Salomon"))

    db.deleteById<Adult>("BRYS", "Salomon")

    assertNull(db.getById<Adult>("BRYS", "Salomon"))
}

`

@Kasheen Sorry, I was not clear in my initial comment which I have edited now. I do use 'id' and not 'key' and it does not work in 0.8.1-beta. It is maybe fixed in the 0.9.0-beta. I will try to find time to check it and report here.

Hey, 0.8.1-beta is not the most recent version - this has been fixed with #38


npm version bump

Can you bump npm package version?
right now you installing version with broken .then (without err handler)
thanks

Sorry for the slow response time :sweat:
I've released a new version to npm :smile:


Cleanup after restored shim dies unexpectedly

Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
Fixes #2078

Codecov Report

Merging #2083 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2083   +/-   ##
=======================================
  Coverage   45.35%   45.35%
=======================================
  Files          96       96
  Lines        9453     9453
=======================================
  Hits         4287     4287
  Misses       4455     4455
  Partials      711      711

Flag
Coverage Δ

#linux
50.24% <ø> (ø)
:arrow_up:

#windows
40.29% <ø> (ø)
:arrow_up:

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 eed3b1c...6fe630f. Read the comment docs.

@estesp Yep, witholding my LGTM until I get a chance to test.

LGTM


No module-info.class file was generated

Question
Hi!
We tried to build the project according to the guidance, but it failed at the step of ant compile-native. During the process, some .class files are generated besides module-info.class file, which should be generated by compiling the module-info.java file. And we do notice that, on your release version, you have module-info.class file inside jars. So we are wondering whether there's something we need to be extra careful about while building your systems if we want to obtain module-info.class file?
The way we are trying to build the system:
git clone https://github.com/LWJGL/lwjgl3.git
cd lwjgl3
ant init
ant compile-templates
ant generate
ant compile
ant compile-native (failed)

Thank you for your time ahead! 😊

Hey @Annette0127,
The module-info classes are generated during the release target, when building with a JDK 9+ JDK. They're then stored inside the jar files, under the META-INF/versions/9 folder (see multi-release jars for why this works). They're not used for anything else, lwjgl3 is Java 8 compatible.
Your build is failing earlier though, in the native compilation target. If you could provide more information (OS, native compiler, build output), I might be able to help with resolving the issue.

Hello @Spasi, thank you very much for the information on when module-info.class was generated!
As for my building failure, more details are as follows:

OS: macOS Ventura Version 13.3.1

Native compiler: I am not quite sure what you want to know here. If you are asking about my gcc compiler, it is Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)

Build output:

compile-native:

compile-native-platform:
 [SDK Root] <path to SDKs>/MacOSX13.3.sdk
 [Compiler] <Path to the project>/lwjgl3/modules/lwjgl/core/src/generated/c/org_lwjgl_system_JNI.c:20:35: fatal error: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 [Compiler]     return (jshort)((uint16_t (*) ())(uintptr_t)__functionAddress)();
 [Compiler]                                   ^
 [Compiler]                                    void
 [Compiler] 1 error generated.

BUILD FAILED
<Path to the project>/lwjgl3/build.xml:574: The following error occurred while executing this line:
<Path to the project>/lwjgl3/config/macos/build.xml:139: The following error occurred while executing this line:
<Path to the project>/lwjgl3/config/macos/build.xml:82: The following error occurred while executing this line:
<Path to the project>/lwjgl3/config/macos/build.xml:33: apply returned: 1

Hey @Annette0127, yeah that's perfect.
Looks like a new Clang warning (treated as error because we build with -Werror) after the latest Xcode update. I can reproduce it locally and will get it fixed soon.

Hey @Spasi, thank you very much for your help. 😊

Hi @Spasi, I apologize for reaching out again, but I was curious about the reason behind the generation of module-info classes during the release target instead of the compile target, alongside other .java files. There seems to be some kind of design advantage of compiling them separately, but I am not sure what exactly that may be.

Hey, I wouldn't say there's a design advantage. They are simply not needed for anything, up to the point of building the final jar artifacts. There is no target that uses the module path (including tests and demo). All development and testing is done on JDK 8, so it is not even possible to compile the module-info classes without switching to a newer JDK.
However, all jar artifacts (both Java and -native) contain a module-info class, so LWJGL is fully compatible with the Java module system. Simply adding an Automatic-Module-Name to the JAR manifest was not enough because of jlink, it requires explicit modules for all dependencies. JDK 8 and legacy tools simply ignore the module-info classes because they're "hidden" under META-INF/versions/9.

@Spasi Thank you very much for your answer; it has been really helpful! 😊


Generated lib*.d.ts files differ from the files in TypeScript SDK

TypeScript Version:  at least 3.9.7 and 4.0.5
The lib/lib*.d.ts and built/local/lib*.d.ts files contain mixed line breaks (LF/CRLF) and differ from the files in the TypeScript SDK, which contain only LF.
Steps to reproduce
Build LKG or local on any operating system.
git clone --config core.autocrlf=input https://github.com/microsoft/TypeScript.git
cd TypeScript
npm ci
gulp LKG

Expected behavior:
Consistent line breaks in lib*.d.ts files and no differences from the TypeScript SDK.
Actual behavior:
Mixed line breaks.

Post #51387, this one is definitely fixed as the problem here was the way we combined things with gulp (among other things). In the new build, the entirely of built and lib now consistently use LF line endings.

@jakebailey, I've tested TypeScript 5.1.6 and can confirm that the problem is fixed. Thank you!


Add badge

What is this PR for?
Add badge for build status, pypi version, code coverage and pypi supported versions.
This PR includes

Add badge on README.md
Remove unsupported versions

What type of PR is it?
Feature
What is the issue?
N/A
How should this be tested?
N/A

Thank you!


Vulnerabilities Fix for AzureFunctionOnKubernetesV0

Task name: AzureFunctionOnKubernetesV0
Description:
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N)  https://dev.azure.com/mseng/AzureDevOps/_workitems/edit/2029520
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected
[x] node make.js build --task AzureFunctionOnKubernetesV0
[x] node make.js test --task AzureFunctionOnKubernetesV0

/azp run

/azp run

/azp run

/azp run

/azp run


Add initial meeting notes for 2024-07-02

DNS update can be ignored, we will just merge Keycloak before merging this notes PR.


Update control_structures.md

Made the necessary changes in the repository. Please look into it.
Ty.

kindly add the anchor tags for each topic mentioned in the File


Allow distro-specific IMG_SIZE to be specified in config.sh

We should allow IMG_SIZE= to be specified in config.sh and use the Makefile to pass that value to image_builder.sh -s.
That will partly solve the issue of different distros needing different image sizes. However, if the user specifies EXTRA_PKGS=, the IMG_SIZE= value will likely be too low.

IMG_SIZE is no more supported, rootfs image is as small as possible


New flake in FlutterEngineTest.BackgroundIsBlack

This has only been seen a couple of times so far, but would seem to point to a race condition in setting up native methods in tests:
[ RUN      ] FlutterEngineTest.BackgroundIsBlack
../../third_party/dart/runtime/vm/native_entry.cc: 246: error: Failed to resolve native function 'SignalNativeTest' in '::.signalNativeTest'

[ERROR:flutter/fml/backtrace.cc(108)] Caught signal SIGABRT during program execution.
Frame 0: 0x10a64659e dart::Assert::Fail()
Frame 1: 0x10a6a64d5 dart::NativeEntry::LinkNativeCall()
Frame 2: 0x10f4dea87 0x0
Frame 3: 0x10f5334b7 0x0

I can't find the build run where I copied that output from, but I found another failure in the same task for the same reason here:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8797584134962729281/+/u/test:_Host_Tests_for_host_profile/stdout

Provisionally marking P2 for visibility in triage.

The new test was added here https://github.com/flutter/engine/pull/36906 by @a-wallen. It looks like the native callback is added after the test starts running, so is prone to a race, which results in the crash.

It looks like a similar problem exists with many of the tests in this file, and they likely all need a fix that registers the callback before the Dart code starts running.

If I understand the solution that you are proposing correctly, are you saying that the current test
TEST_F(FlutterEngineTest, HasNonNullExecutableName) {
  // Launch the test entrypoint.
  FlutterEngine* engine = GetFlutterEngine();
  std::string executable_name = [[engine executableName] UTF8String];
  ASSERT_FALSE(executable_name.empty());
  EXPECT_TRUE([engine runWithEntrypoint:@"executableNameNotNull"]);

  // Block until notified by the Dart test of the value of Platform.executable.
  fml::AutoResetWaitableEvent latch;
  AddNativeCallback("NotifyStringValue", CREATE_NATIVE_ENTRY([&](Dart_NativeArguments args) {
                      const auto dart_string = tonic::DartConverter<std::string>::FromDart(
                          Dart_GetNativeArgument(args, 0));
                      EXPECT_EQ(executable_name, dart_string);
                      latch.Signal();
                    }));
  latch.Wait();
}

needs to be reordered so that the native callback is registered before the engine begins to run with the dart entrypoint.
TEST_F(FlutterEngineTest, HasNonNullExecutableName) {
  // Block until notified by the Dart test of the value of Platform.executable.
  fml::AutoResetWaitableEvent latch;
  AddNativeCallback("NotifyStringValue", CREATE_NATIVE_ENTRY([&](Dart_NativeArguments args) {
                      const auto dart_string = tonic::DartConverter<std::string>::FromDart(
                          Dart_GetNativeArgument(args, 0));
                      EXPECT_EQ(executable_name, dart_string);
                      latch.Signal();
                    }));
  latch.Wait();

  // Launch the test entrypoint.
  FlutterEngine* engine = GetFlutterEngine();
  std::string executable_name = [[engine executableName] UTF8String];
  ASSERT_FALSE(executable_name.empty());
  EXPECT_TRUE([engine runWithEntrypoint:@"executableNameNotNull"]);
}

@a-wallen  And I think we spotted that there were other tests in this same file that also needed the same reordering...

Yeah, that re-ordering looks like the right thing to do, but does the latch.Wait() need to come later?

Yes. Good catch.


Formatting

Do you even indent?

Upon review, there isn't much to indent. Most sections are well divided and commented... even if they report to shell and not to a log file. But that is for another enhancement.


Please add IDT to IBM Cloud Application Tools 2 Mac Application

IBM Cloud Application Tools 2 (https://console.bluemix.net/docs/cli/icat.html#icat) is a useful Mac application. It would be great to integrate IDT with this Mac app.

ICAT2 is not being maintained, and its unlikely at this time that we'll have any new releases.  If this changes in the future, it would be tightly integrated with the rest of the IDT suite.


Enable use of RStudio preview releases and installation of quarto

Thanks for this script - I'm hoping it will make setting R up across multiple machines easier.
It would be very convenient for those of us who use the preview release of RStudio if that were an option that we could enable in this script.
I'd also love it if it were possible to keep Quarto updated using this same method. Is that something you'd consider?
Thanks again!

hi @srvanderplas
indeed, I can provide the unstable/daily version of rstudio and quarto

Thanks!
On Wed, May 10, 2023 at 2:15 PM Pachá @.***> wrote:

@srvanderplas https://github.com/srvanderplas I added quarto to the
main APT, I tested this
$ sudo apt install quarto
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
quarto
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 88.7 MB of archives.
After this operation, 313 MB of additional disk space will be used.
Get:1 https://apt.pacha.dev ./ quarto 1.3.340 [88.7 MB]
Fetched 88.7 MB in 4s (20.0 MB/s)
Selecting previously unselected package quarto.
(Reading database ... 687508 files and directories currently installed.)
Preparing to unpack .../quarto_1.3.340_amd64.deb ...
Unpacking quarto (1.3.340) ...
Setting up quarto (1.3.340) ...
Regarding RStudio daily, I added a side APT (https://apt-daily.pacha.dev)
and I updated the script accordingly, which shall ask you if you want to
install the daily build, so the instructions are the same from the README
—
Reply to this email directly, view it on GitHub
https://github.com/pachadotdev/r-packages-ubuntu/issues/2#issuecomment-1542678252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQHKFJ4U4VZVSR5GK5JVFDXFPSLHANCNFSM6AAAAAAX4WN5CI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Framework not found

After copying the TensorFlowLiteC framework to the correct location the iOS build still fails with the framework not found error. I can get it to run by copying the framework to the derived data folder of the build and running directly from iOS but that's just a hacky workaround. any suggestions or ideas?

Same issues

same, tried everything

Hi to all
After i spend more then 2 days on this error, i found a solution and I hope will work for others.
Solution:
Framework not found TensorFlowLiteC to fix this issues you need to go to your app folder
flutterAPP/ios/.symlinks/plugins/tflite_flutter/ios and I moved here that TensorFlowLiteC.framework
Flutter clean
Flutter pub get
pod install
Cheers

Unfortunately does not work for me.

After copying the TensorFlowLiteC framework to the correct location the iOS build still fails with the framework not found error. I can get it to run by copying the framework to the derived data folder of the build and running directly from iOS but that's just a hacky workaround. any suggestions or ideas?

Where is derived folder ? I would like to run it even with hack !

check this: https://dart.dev/tools/pub/cmd/pub-get#the-system-package-cache

@Mmisiek  this is the tacky way around: https://github.com/am15h/tflite_flutter_plugin/issues/153#issuecomment-950301547
This also worked for me: https://github.com/am15h/tflite_flutter_plugin/issues/153#issuecomment-1006075443

Hi to all
After i spend more then 2 days on this error, i found a solution and I hope will work for others.
Solution: Framework not found TensorFlowLiteC to fix this issues you need to go to your app folder flutterAPP/ios/.symlinks/plugins/tflite_flutter/ios and I moved here that TensorFlowLiteC.framework
Flutter clean Flutter pub get pod install
Cheers

Worked this for me on MacBook M1 tested on 2022 Feb. !! Thanks a lot!!!

TensorFlowLiteC.framework

Where do I find this framework?

TensorFlowLiteC.framework

Where do I find this framework? @AliuDardan @asirigawesha

@meet7sagar you can find on here

Thanks a lot, @AliuDardan.

Hello, I have this error on my side, what do you think?
Error (Xcode): Building for iOS Simulator, but linking in object file built for iOS, file
'/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/tflite_flutter-0
.9.0/ios/TensorFlowLiteC.framework/TensorFlowLiteC' for architecture arm64
Could not build the application for the simulator.
Error launching application on iPhone 12.

I tried every solutions in this issue but nothing works for me. I am using M1.

Hi to all
After i spend more then 2 days on this error, i found a solution and I hope will work for others.
Solution: Framework not found TensorFlowLiteC to fix this issues you need to go to your app folder flutterAPP/ios/.symlinks/plugins/tflite_flutter/ios and I moved here that TensorFlowLiteC.framework
Flutter clean Flutter pub get pod install
Cheers

work on mac mini 2018, use command 'pod install' on folder inside /ios

Hi to all
After i spend more then 2 days on this error, i found a solution and I hope will work for others.
Solution: Framework not found TensorFlowLiteC to fix this issues you need to go to your app folder flutterAPP/ios/.symlinks/plugins/tflite_flutter/ios and I moved here that TensorFlowLiteC.framework
Flutter clean Flutter pub get pod install
Cheers

great work, just additional information use command 'pod install' on /ios folder

So this solution worked on Mac Book Pro Intel but does not on brand new Mac Mini M2 Pro. Any idea why and how to fix it ? Utterly annoying :(.

Hi to all
After i spend more then 2 days on this error, i found a solution and I hope will work for others.
Solution: Framework not found TensorFlowLiteC to fix this issues you need to go to your app folder flutterAPP/ios/.symlinks/plugins/tflite_flutter/ios and I moved here that TensorFlowLiteC.framework
Flutter clean Flutter pub get pod install
Cheers

Worked this for me on MacBook M1 tested on 2022 Feb. !! Thanks a lot!!!

not on M2 :(

@Mmisiek have you found any solution to this?

None of them work for me on an M1...

@paplorinc

None of them work for me on an M1...
instead of pod install run arch -x86_64 pod install

also do copy TensorFlowLiteC to .../ios/.symlinks/plugins/tflite_flutter/ios with using the instruction

It can be found on the home page or here

also you may need to tweak Podfile so this code
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

becomes
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
          config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'i386 arm64'
    end
  end
end

Hey @vishnukvmd, thank you for responding to this. Unfortunately...
When I change my tflite_flutter dependency...
 - tflite_flutter: ^0.9.0
 + tflite_flutter:
 +  git:
 +    url: https://github.com/ente-io/tflite_flutter_plugin.git
 +    ref: master

My flutter pub get output was:

Because tflite_flutter_helper >=0.2.1 depends on tflite_flutter from hosted and visualpt depends on tflite_flutter from git, tflite_flutter_helper >=0.2.1 is forbidden.
So, because visualpt depends on tflite_flutter_helper ^0.2.1, version solving failed.

I noticed that @ente-io also cloned the helper library, so I replaced that dependency as well and...

Because every version of tflite_flutter_helper from git depends on tflite_flutter from git https://github.com/ente-io/tflite_flutter_plugin at e90a9665a8ccf828d2cca507a1f0904c51e73743 and visualpt depends on tflite_flutter from git https://github.com/ente-io/tflite_flutter_plugin.git at master, tflite_flutter_helper from git is forbidden.
So, because visualpt depends on tflite_flutter_helper from git, version solving failed.

What do you suggest?

Hey @charlieforward9, I can't find visualpt on pub.dev. Is it a package you've locally developed? If yes, could you please configure it to use the git version of tflite_flutter as well?

VisualPT is my private project that is depending on these libraries. This is the current snippet in the pubspec.yaml
  tflite_flutter:
    git:
      url: https://github.com/ente-io/tflite_flutter_plugin.git
      ref: e90a9665a8ccf828d2cca507a1f0904c51e73743
  tflite_flutter_helper:
    git:
      url: https://github.com/ente-io/tflite_flutter_helper.git
      ref: master

@charlieforward9 could you also confirm that your flutter project is now pointing to this modded version of visualpt?

I am not sure what you mean by that. VisualPT is my Flutter project. I am simply modifying the VisualPT pubspec.yaml and saving the file, which triggers an automatic flutter pub get command.

Hey @vishnukvmd , following up on this. Not sure if you missed it or if you're as confused as I am. 🙃

@charlieforward9 could you try specifying the commit ID for the helper plug-in as well within pubspec?

Tried, and failed, the same message except for the word master is replaced by the commit id.
I am going to try to move forward by removing the inference from my app and running it on a server. If you've got some time to spare, feel free to check and share your take on this conversation I had with ChatGPT about running the models on a server.

You can simply add the framework.xcworkspace in "Build Phase" -> Linked binary with libraries. It will work for you guys.


DNR Editor Debug (maybe feature request)

Is it possible to execute some flow in the dnr-editor instance?
For example, I would like to see the result in of the debug in the relative tab in the dnr-editor and not in a node-red instance of a remote (or local) device.
Thanks

Hi Alex,
I'm considering integrating DNR-Editor to an existing Node RED instance
without having a separate fork (through a special node). Once this is
possible, your use case will be supported. However, it requires some
engineering efforts so might not be done overnight.
In the meantime, what you can do I think is to have a separate Node-RED
instance run along side with your DNR-Editor and put a node requirement on
the debug node so that it only run on that instance. This is what I'm doing
for some of my works.
Thanks
On Fri, Jul 27, 2018 at 4:33 AM, Alex Carrega<EMAIL_ADDRESS>wrote:

Is it possible to execute some flow in the dnr-editor instance?
For example, I would like to see the result in of the debug in the
relative tab in the dnr-editor and not in a node-red instance of a remote
(or local) device.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/namgk/dnr-editor/issues/11, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA9PoIV-0VdoglYZ8gPk40YniHYNewYuks5uKvqIgaJpZM4VjWcf
.


AWS Xray Java auto instrumentation using Agent Jar not recording all the requests

I have configured the AWS Xary using Java agent in ECS. But Xray automatic instrumentation using java agent only records the health check requests. All the requests which are going through ALB is not getting recognized by the Java agent. There is no sampling rule set to restrict the requests coming from ALB. I have tried to hit the service directly using the container IP address instead of ALB URL and that requests are getting recognized by the Xray Agent.
Following is the container definition for Xray daemon.
{
"Name": "xray-daemon",
"Image": {"Ref": "XrayImageURL01"},
"PortMappings" : [
{
"hostPort": 0,
"containerPort": 2000,
"protocol": "udp"
}
],
"LogConfiguration": {
"LogDriver": "awslogs",
"Options": {
"awslogs-group": {
"Ref": "ContainerCWLogGroup01"
},
"awslogs-region": { "Ref": "AWS::Region" },
"awslogs-stream-prefix": {"Fn::Sub": "${MicroserviceId01}"}
}
}
}
The agent jar is placed inside the container and following is the entry point script to add the java agent while starting the application.java -javaagent:/usr/app/disco/disco-java-agent.jar=pluginPath=/usr/app/disco/disco-plugins:loggerfactory=software.amazon.disco.agent.reflect.logging.StandardOutputLoggerFactory:verbose -jar test-0.0.1-SNAPSHOT.jar
No other code level changes are applied for XRay in the application which is deployed in ECS.

AWs

Hi @jijokrishnan33,
This sounds like it could be a sampling issue. Could you try to follow these docs to either: 1) ignore all the health check requests (set sampling for the health check URL to 0%) or 2) sample 100% of all requests (to ensure health + normal requests are sampled). The default sampling rules only sample 1 request per second (plus 5% of additional request), so if a health check and normal request come in at the same time, then it is very likely the health check will be sampled but the subsequent request won't.
If this doesn't work, please enable debug logging and post your debug logs.

Hi @willarmiros ,
I have set the sampling rule as 100% for all request but still only the health check request are getting recorded in Xray. None of the request executed via ALB is getting recorded. I have attached the debug log for both Xray daemon and application.
Logs.zip

Having same exact issue.  bumped to 100% in sampling rules.  A direct request to the container http://10.x.x.x:1234/some/unique/path always generates a trace but the exact same request through the ALB for the ECS service never generates a trace.  ELB healcheck from target group always generates an trace.
Only have 1 container in service and can validate the both manual GET requests are reaching the same container via CW log entries.

@espower @jijokrishnan33 thank you for the bug reports, it turned out to be a problem on the agent's end. I've opened #66 to address this and it should fix this problem once released.

@willarmiros ,
When will be the fix be available for us to use?

Hi @jijokrishnan33 I cannot give official dates for releases, but I will try to get one out soon! Feel free to watch the repo to be notified when it's out :)

This bug has been fixed in v2.8.0, download today! https://github.com/aws/aws-xray-java-agent/releases/tag/v2.8.0


Missing documentation to configure the plugin for vue 2.7

Describe the bug
The doc says that vue2.7 is supported by the plugin
And the doc explain how to configure it for webpack
// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('unplugin-vue-macros/webpack')({
      plugins: {
        vue: require('unplugin-vue/webpack')(),
        // vueJsx: VueJsx(), // if needed
      },
    }),
  ],
}

But unplugin-vue supports only vue3.
So I guess that there is a lack of documentation, or the plugin doesn't support vue 2.7?
Reproduction
vue2.7 + webpack5 + vue-cli
System Info
System:
    OS: macOS 12.6
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 155.19 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - /usr/local/bin/node
    npm: 8.11.0 - /usr/local/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 108.0.5359.98
    Firefox: 103.0.2
    Safari: 16.0

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[ ] The provided reproduction is a minimal reproducible of the bug.

Documentation is updated https://github.com/sxzz/unplugin-vue-macros/commit/d682e6447c44f02007a721fc24dabf4b0aacd730
You can also refer to demos below

Vite + Vue 3
Vite + Vue 2
Nuxt 3 + Vue 3
Vue CLI + Vue 2

Can we also have an example for a Nuxt 2 app?


[BUG] Invalide type check when field is nullable

Checklist

[x] I checked the FAQ section of the documentation
[x] I looked for similar issues in the issue tracker

Describe the bug
I have an attribute describe as follow:
"circuit_id": {
    "type": "integer",
    "readOnly": true,
    "nullable": true,
    "description": "Circuit Identifier"
},

When i run a schemathesis test against that endpoint a get following result:
E   schemathesis.exceptions.CheckFailed:
E
E   1. The received response does not conform to the defined schema!
E
E   Details:
E
E   None is not of type 'integer'
E
E   Failed validating 'type' in schema['items']['properties']['circuit_id']:
E       {'type': 'integer'}
E
E   On instance[31]['circuit_id']:
E       None

Expected behavior
It should be valid for circuit_id to be null because of nullable": true.
OpenAPI documentation confirme that this syntaxe is valid.
Environment (please complete the following information):

OS: Windows
Python version: 3.10.4
Schemathesis version: 3.17.2
Spec version: openapi 3.0.3

Actually I was looking a circuit_id schema on the wrong endpoint. My schema was indeed wrong as the test said and schemathesis handle "nullable": true, without problem.

Sorry for the useless issue.


Update Trips App.

Update Trips serializers.py
Update generate_trips.py
Update model admin.py
Add new migrations.

Hello @awaisdar001! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file django_trips/trips/admin.py:

Line 121:42: E231 missing whitespace after ','

In the file django_trips/trips/management/commands/generate_trips.py:

Line 85:101: E501 line too long (109 > 100 characters)

In the file django_trips/trips/migrations/0001_initial.py:

Line 113:101: E501 line too long (168 > 100 characters)

In the file django_trips/trips/models.py:

Line 210:101: E501 line too long (110 > 100 characters)


test: verify on macOS

Codecov Report

Merging #20 (32a3f85) into main (439a2de) will decrease coverage by 0.02%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   77.97%   77.95%   -0.03%
==========================================
  Files          19       19
  Lines        2157     2155       -2
==========================================
- Hits         1682     1680       -2
  Misses        475      475

Impacted Files
Coverage Δ

taosrest/restclient.py
89.28% <83.33%> (-0.13%)
:arrow_down:

taos/_version.py
100.00% <100.00%> (ø)

taos/connection.py
88.67% <0.00%> (-0.21%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Can operators be override?

Wanted to know if there possibility to override the operators ">" "<" "!=" from the C++ side to the GDscript API?!

No, there is no way to override operators so that they are usable from GDScript.
That's a limitation with how GDScript and Godot handles operators, so there is not really a way to fix that without modifications to Godot.

Sadly... but thank you for the answer


feat: Fine-Tuning Implementation - Part 4-10

Since there are many moving pieces this is a big PR that needs to test the whole flow - this will be getting continously broken down into smaller PRs.

Modularizing common functions from preset-inferences.go and preset-tuning.go into common-presets.go
Handling DataSources in init containers (URL, Image, hostPath) (WIP)
Creating up a Tuning Job manifest
Handling DataDestinations (TODO)
Handling Adapter Loading on inference side (TODO)

This PR was successfully split into Parts 4-10! And all merged in! This code is redundant and already included, closing now.


Softbody doesn't collide with plane collider (ground)

Godot version:
3.1. alpha 1 (how do I check the exact hash given I didn't build it?)
OS/device including version:
Win 7 x64
Radeon HD 6630M
Issue description:
Softbody goes through ground.
Steps to reproduce:
Place softbody node in scene which has a plane collider serving as ground, see it go through ground.
Mesh applied to softbody doesn't matter. Place said softbody above some other collider (e.g. box shape) and see it work properly.
Minimal reproduction project:

Planes are used in 3D game design as an ultimate "bottom of the world" collider that nothing should ever go through (and that's how I'm using it in my game, there is nothing below the ground)

I know that the concept of a plane is the ideal for this kind of use, but the physics engine do not like it.
See (or remember) #17893 .

As stated in #17893 there should been Quad physic shape support instead. Closed as supersede by #17893.


spurious "activation failed" error

I have lv_rc=4 and I get an activation failed message; at this point in time there are NO inactive objects for the user and forcing the value leads to a normal installation with all demos running correctly.
Two installations of abap2xlsx tag 7.15.0 on HANA, same story, same workaround:

yesterday evening in an internal company system, version S4CORE105, offline ZIP method
(note: in this case, there was an older installation that I had to clean because it was a mixed bag of local / transportable objects, someone had tried the CR import from another system, grrrrrr!)

this morning in a customer system, version SAPK-10401INS4CORE, online access

Just this week we made some improvements when it comes to activation. See #5303 and #5312
Which object type(s) are involved in your case?

@mbtools both times, time pressure prevented me from digging and documenting. Off the top of my head, at the last activation round the popup showed a few structures and the transformations, all of them. I'll spin a new A4H (HANA1909) in the next day or two and try again, that should allow for a clean slate test.

I must have something that bugs love, because I keep finding them when I'm looking for something else :)
Anyway, starting from an empty A4H docker system, create online repo with package name ZABAP2XLSX, create CR and this is the first attempt:

Second attempt, these are the reportedly inactive objects:
(I do not see them in the transportable objects from another session

At this point, I force lv_rc to 0, first time:

Second time:

At this point there are some residual spurious differences in the project:

All the project objects are active and the demos run just fine.

I tested main and demo repos with v1.115.0 on 7.54. Both can be pulled without errors (just some warnings due to reserved field names)
Suggest closing

I'll retest on new container, then close, thanks.

Respun a new A4H container, updated certificates, installed current abapGit standalone, created ZABAP2XLSX package, pulled current abap2xlsx repo, all went well, closing, thanks :)


allow custom module positions by setting allowCustomModulePositions…

… in config.js
fixes #3504, related to https://github.com/MagicMirrorOrg/MagicMirror/pull/3445

@rejas @sdetweil
Can this be merged since I'm not prepared to resolve merge conflicts for weeks here?
It is a minimal solution. If someone wants to invest more, they can do so with a new PR.

yes, merge


Windows: Addresses missing SIGPIPE for Windows

Since SIGPIPE is not found on Windows, this PR adds alternate code path for Windows.

LGTM! Thanks!
I see this is marked as a draft. Is there anything else left to do here?

I wanted to take a closer look again before I requested your attention,  just to be safer. But couldn't find time in the weekend. The patch is small, harmless and seems fine IMO. Marking it ready.

Thanks again!


UnboundLocalError: local variable 'to_print' referenced before assignment

The hotfix may not been merged into the add on...I can't fetch the fixed version.


Fetch additional data from ArchivesSpace

Is your feature request related to a problem? Please describe.
Reading room and duplication requests to Aeon should include information that you can't find from a single object in ArchivesSpace. We will need to interact with a few different AS endpoints to gather this information or use the resolved parameter to fetch additional data.
Describe the solution you'd like
These fields are required:
creator: records creator.
barcode: barcode for top container that an object is housed in
collection name: Title of the resource record containing the object
aggregation: Title of the Series or Record Group containing the object (if one exists)
dates: Dates of the object, if no date associated with object, next closest parent date.
location: Housing location of the object at RAC
resource id: Resource id of the collection housing an object. Generally id_0
container: Concatenated data indicating Box and number for object. Ex.: "Box 1" or "Reel 3"
title: object title
restrictions: Human readable string of any restrictions associated with an object. Inherit closest restrictions if they exist
url: ArchivesSpace ref of requested object
Additional context
We may need to expand or reduce this in the future, but these represent the major fields we'll need from AS. You may also decide to remove or add methods as necessary/as you like.

Two questions about the data we're getting from AS:

We always want the aggregation closest to the resource, right? (I.e., if an item has 4 ancestors, we  want the one right below the resource.)
For collection creator, can we reliably assume each collection has only one linked agent with the role of creator? If there are multiple, should it be handled by combining all of them, or picking one?

I think it depends on the data you're interested in. If you're just looking for an aggregation, I'd say the first one below the resource level, but it may be possible to grab all and concatenate them. Though I'm not sure that's helpful if we have a link to the requested item already. For dates and restrictions, we'd want the closest data above the item.
Collections sometimes have multiple creators. I wouldn't mind @helrond 's take, but I think it could go a couple of ways. One, we could grab all creators and put them in the same field separated by commas, or just grab one and pass that along. For Aeon purposes, we've only sent a single creator in the past, as far as I know.

Yes, the "aggregation" can just be the immediate ancestor. Side note, you'll likely need to get data for all the ancestors anyway, in order to check restrictions and such.
I think let's grab all the creators.

Just to confirm - if an object doesn't have a title, we want to use the display string?

To answer your question, I think using the display string in all cases might be the most preferable, as long as we don't mind the date being included when one is present. We already show the display string in DIMES as it is.

For the restrictions data, would it be useful to have the boolean as well, or just record the note text?

Based on the slack convo with @helrond , yes, I think we should expand to have a restrictions apply field, thought I think it may need to be more than Boolean to account for “conditional” statements.

Okay; so for the restrictions apply field, first I'll check whether "restrictions_apply" is True; if it's False, I'll still use matching against note text to check whether something is restricted.

Yes, and matching against premis rights statements as well.

If there's no linked agent with the role of creator attached to a resource, do we want to throw and error or just have a blank field?

I would say leave it blank. But also, that really shouldn't happen, even though we know it's possible.

Going to leave this open pending closure of PR #52


Automated cherry pick of #2695: Wait for ovs-vswitchd PID before calling ovs-appctl

Cherry pick of #2695 on release-1.3.
#2695: Wait for ovs-vswitchd PID before calling ovs-appctl
For details on the cherry pick process, see the cherry pick requests page.

/test-all

Codecov Report

Merging #2711 (ab950f5) into release-1.3 (b8a6983) will decrease coverage by 19.68%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release-1.3    #2711       +/-   ##
================================================
- Coverage        60.68%   41.00%   -19.69%
================================================
  Files              285      158      -127
  Lines            23020    19271     -3749
================================================
- Hits             13970     7902     -6068
- Misses            7551    10621     +3070
+ Partials          1499      748      -751

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
41.00% <0.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.


requestAnimationFrame is also available in Dedicated Workers

@Kaiido commented on Mon Oct 05 2020
Content Issue

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

URLs of page you are seeing the problem on:

https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
https://developer.mozilla.org/en-US/docs/Web/API/window/cancelAnimationFrame

Details

requestAnimationFrame and cancelAnimationFrame used to be Window only methods, but it has recently been added to DedicatedWorkerGlobalScope too. https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animationframeprovider
interface mixin AnimationFrameProvider {
  unsigned long requestAnimationFrame(FrameRequestCallback callback);
  undefined cancelAnimationFrame(unsigned long handle);
};
Window includes AnimationFrameProvider;
DedicatedWorkerGlobalScope includes AnimationFrameProvider;

I guess the page should now be Web/API/WindowOrWorkerGlobalScope/requestAnimationFrame, but I fear this would break any link to the current /Web/API/window/requestAnimationFrame. So I'm not sure how it should get handled.
Also, compat-data should probably be updated (currently these methods are supported in Blink only).

Issue moved to mdn/content #1519 via ZenHub

Issue moved to mdn/content #1519 via ZenHub


Feature/fix crash behaviour

In some cases, we had crashes with force unwrapping behaviour so I passed it to optional to handle this (see below stack)
Crashed: com.apple.main-thread
0  VersaPlayer                    0x1027546e8 partial apply for closure #2 in VersaPlayerControlsBehaviour.defaultDeactivationBlock() + 92 (VersaPlayerControlsBehaviour.swift:92)
1  VersaPlayer                    0x1027542b4 thunk for @escaping @callee_guaranteed (@unowned Bool) -> () +<PHONE_NUMBER> (:4333699764)
2  UIKitCore                      0x23006cd1c -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 752
3  UIKitCore                      0x230043a74 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 312
4  UIKitCore                      0x230044048 -[UIViewAnimationState animationDidStop:finished:] + 296
5  UIKit                          0x2234955a0 -[UIViewAnimationStateAccessibility animationDidStop:finished:] + 128
6  QuartzCore                     0x20775e3c8 CA::Layer::run_animation_callbacks(void*) + 284
7  libdispatch.dylib              0x202c4d7d4 _dispatch_client_callout + 16
8  libdispatch.dylib              0x202bfb008 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
9  CoreFoundation                 0x2031a0b20 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
10 CoreFoundation                 0x20319ba58 __CFRunLoopRun + 1924
11 CoreFoundation                 0x20319afb4 CFRunLoopRunSpecific + 436
12 GraphicsServices               0x20539c79c GSEventRunModal + 104
13 UIKitCore                      0x22fbe1c38 UIApplicationMain + 212

I understand you are having a crash, but is ignoring the fact that the behavior got deinitialized is what we want in this scenario? Is this in any way affecting the functionality? And my next question would be, when is this happening?

I understand you are having a crash, but is ignoring the fact that the behavior got deinitialized is what we want in this scenario? Is this in any way affecting the functionality? And my next question would be, when is this happening?

Hi Jose, thaks for your reply!
This crash happens when the app is in background mode and we decide to close the player programatically. Behavior should be deinit indeed

Hi Jose, thaks for your reply!
This crash happens when the app is in background mode and we decide to close the player programatically. Behavior should be deinit indeed


Does reedline support UNIX / Linux shell 'grep' cmd ?

with grep link: https://man7.org/linux/man-pages/man1/grep.1.html

I'm not sure what your question means. grep is an external command. I use it in nushell sometimes which uses reedline.


Dependency Packages introduced vulnerabilities associated with react-scripts 5.0.1

nth-check 1.0.2	        JavaScript (Yarn)
Incorrect Comparison
Description
nth-check is vulnerable to Inefficient Regular Expression Complexity
Severity:
High
Tool: Dependency Scanning
Scanner: Gemnasium
Links
https://huntr.dev/bounties/8cf8cc06-d2cf-4b4e-b42c-99fafb0b04d0
https://nvd.nist.gov/vuln/detail/CVE-2021-3803
Identifiers
CVE-2021-3803
Gemnasium-3284fc8f-f377-4fcf-95dd-270a8b922329
Solution
Upgrade to version 2.0.1 or above.
express 4.18.2	                JavaScript (Yarn)
Express.js Open Redirect in malformed URLs
Description
Versions of Express.js prior to 4.19.2 and pre-release alpha and beta versions before 5.0.0-beta.3 are affected by an open redirect vulnerability using malformed URLs.
When a user of Express performs a redirect using a user-provided URL Express performs an encode using encodeurl on the contents before passing it to the location header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented allow list.
The main method impacted is res.location() but this is also called from within res.redirect().
Severity:
Medium
Identifiers
CWE-1035
CWE-937
webpack-dev-middleware 5.3.3	JavaScript (Yarn)
Path traversal in webpack-dev-middleware
Description
The webpack-dev-middleware middleware does not validate the supplied URL address sufficiently before returning the local file. It is possible to access any file on the developer's machine.
Severity:
High
Identifiers
CWE-22
CWE-1035
CWE-937
postcss 7.0.39	                JavaScript (Yarn)
PostCSS line return parsing error
Description
An issue was discovered in PostCSS before 8.4.31. It affects linters using PostCSS to parse external Cascading Style Sheets (CSS). There may be \r discrepancies, as demonstrated by @font-face{ font:(\r/*);} in a rule.
Severity:
Medium
Identifiers
Gemnasium-7a2fe254-d605-4097-a4e3-7eafeb60045e
CVE-2023-44270

Edit your package.json
in the end add this
  "devDependencies": {
    "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
    "@babel/plugin-transform-private-property-in-object": "^7.24.5"
  },
  "overrides": {
    "react-scripts": {
      "@svgr/webpack": "8.1.0",
      "typescript": "5.0.2",
      "postcss":"8.4.38"
    }
  }

edit  "react-scripts": "^5.0.1",
  "dependencies": {
    "@testing-library/jest-dom": "^5.17.0",
    "@testing-library/react": "^13.4.0",
    "@testing-library/user-event": "^13.5.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-scripts": "^5.0.1",
    "styled-components": "^6.1.11",
    "web-vitals": "^2.1.4"
  },

in your terminal sync your package by
npm install
check for vulnerabilities
npm audit
Hope it help i think npm is like yarn


refactor: handle multiple unlock types in getInputsPreExpandedConfig

Description of change
Fixes #1104
Type of change

Bug fix (a non-breaking change which fixes an issue)

How the change has been tested
shimmer/transaction/0x02b8488d0cd5ff39d8ade27a73c11e85bbc46171e4479d60f194869d7ebdc7d1
Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[x] My code follows the contribution guidelines for this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

there seems to be a bug, if you visit the tx of the original issue /shimmer/transaction/0x02b8488d0cd5ff39d8ade27a73c11e85bbc46171e4479d60f194869d7ebdc7d1 there is a basic output that doesnt expand its address unlock

Issue reference: #1121


updated pipfile.lock

Motivation and Context
The travis builds were encountering lint errors. The problem was the Pipfile dependencies being out of date.
What has changed

Updated the Pipfile dependencies which were causing the errors.

How to test?
Run make build, then make lint, and make sure there aren't any lint errors.
Links
Trello card

Closing because there are 2 other PRs with more up to date Pipfile.lock


Auto-parama-roundup (WIP)

This PR implements #8. The general idea is to add a helper for casting rays from various points and directions, looking at the intersections between the ray and the glyph, and then trying to organise those intersections into pairs a relatively similar distance apart. i.e.

should return 177,177 and ignore the 802 as an outlier.
It also adds some routines for sweeping a ray around a portion of the glyph (which we call "jittering") and then taking the average discarding outliers. This allows for us to measure stems while ignoring irrelevant features. i.e. in this glyph, we should get a value for red (and maybe orange) but not blue:

Using these new routines, we can find values for XOPQ, XOUC, XOLC, XOFI, YOPQ, YOUC, YOLC and YOFI.
The next step is to add routines which "expect" a number of intersections and then choose a value from the set which is not the most common. (i.e. with the same H above, we should say "expect to see four intersections and when you do, give me the pair with the maximum distance between points) this is how we return the 802 to get XTRA.

Looking at Amstelvar and Robotoflex, parametric values should not correct for slant.

Thank you so much for finishing this off and integrating it into the rest of fontquant!


Fix issue in first reservable time calculation when duration exactly minimum

🛠 Changelog

Fixes issue in the first reservable time calculation where the algorithm would give the wrong first reservable time based on surrounding reservations and the minimum reservable time. This happened due to exiting too early when shortening a reservable time span based on surrounding reservations, leaving the reservable time span just long enough to fit a reservation, when subsequent reservations would have made it actually shorter, meaning another reservable time span should have been used instead. TL;DR: An off-by-one error.

🧪 Test plan

Automated tests

🚧 Dependencies

None

/fast-forward


KryptonForm to have a DropShadow designer boolean

Thoughts on extending KryptonForm to have an option (default to true) for displaying drop shadow ?
Implementing code from https://github.com/Cocotteseb/Krypton/issues/1
via a designer attribute.

The Shadow seems to be working by default, BUT in windows 10 it causes the following to happen..
(And for some reason I cannot upload an image)

On Windows 10, With the Professional ###  themes, the Drop Shadow is a solid line (Might not be related to drop shadow, but that is what it looks like)

Would it be possible to put a theme check in, i.e.:
if theme == professional then
// DO NOT HAVE DROP SHADOW


Support sending binary buffer over web socket in Android

This PR is to support the binary buffer send in Websocket.  Similar to the iOS support PR https://github.com/facebook/react-native/pull/6327

Did you test this?  Can you indicate how?

@dmmiller  In order to test this feature, first we need to apply the patch from https://github.com/facebook/react-native/pull/6327/files.  Mainly the JS files if we are concerned about android.  I have applied the entire patch, and now it works in both iOS and Android.  There is another test case mentioned here https://github.com/facebook/react-native/pull/6190, and that should also work now in Android with this PR.


Melee weapons and materials

Add several types of melee weapons and materials. Different materials have their pros and cons and give their bonuses to weapons.
Wood - almost no cutting damage, brittle, cheap and easy to work with. Good for maces, clubs, spears.
Stone - hard to work with, sometimes shatters, heavy with great bruise damage. Good for spear tips, maces and clubs.
Obsidian - the best not prohibited material. Very sharp and fragile. Great for knifes and swords.
Iron - hard to come by these days. Sometimes it attracts demons, rusts and has additional armor penetration. Best for sharp weapons.
Steel - almost no one can produce it. It attracts demons and provide high armor penetration while being sturdy. Best for any weapons.
Demonic metal - surprisingly not as rare as steel, but almost impossible to make into something useful. It doesn't become any softer in flames, extremely hard to work with and you usually use what you come by. Best used for makeshift shields, blades, arrow tips depending on the size. Attracts demons FAST.

[x] Sap - small pear-like stony or wooden club. Light and easily concealed, but can break sculls.
Wood: STR+(d4/2), stone: STR+d4, iron: STR+d4+1, steel: STR+d4+2, demonic metal: STR+d4+1
[ ] Knuckles - metal or wooden small hand weapon.  Light and easily concealed, can be used with martial arts unobstructed.
Wood: STR+(d4/2), stone: STR+d4, obsidian: STR+d4+1, iron: STR+d4+1AP, steel: STR+d4+2AP, demonic metal: STR+d4+2AP
[ ] Club - like sap, but bigger, higher bash damage.
Wood: STR+(d6/2), stone: STR+d6, iron: STR+d6+1, steel: STR+d6+2, demonic metal: STR+d6+1
[ ] Mace - even bigger club with a heavy head.
Wood: STR+(d8/2), stone: STR+d8, iron: STR+d8+2AP, steel: STR+d8+4AP, demonic metal: STR+d8+1+2AP
[ ] Hammer - Shasha's favorite. Giant head on a stick, great to make omelete from lagnams.
Wood: STR+(d10/2), stone: STR+d10, iron: STR+d10+2AP, steel: STR+d10+4AP, demonic metal: STR+d10+1+2AP
[ ] Sword - almost forgotten weapon of the past. Wooden counterpart is inferior to maces.
Wood: STR+(d6/2), iron: STR+d6+2AP, steel: STR+d6+4AP, demonic metal: STR+d6+1+2AP
[ ] Knife - made from flint or obsidian, used by everyone.
Wood: STR+(d4/2), stone: STR+d4, obsidian: STR+d4+1, iron: STR+d4+1AP, steel: STR+d4+2AP, demonic metal: STR+d4+2AP
[ ] Obsidian sword - you have to change blades after several hits. Skilled warriors are known to be able to behead with those.
STR+d6+2, 12 blades, loose 1d6 on hit.
[ ] Spear - long reach and great piercing damage.
STR+d6
[ ] Pike - very long reach, but hard to handle, especially at close quarters.
STR+d8 -1 PARRY

[ ] TODO: bone knife, bone knuckles(?), minimum strength for heavy weapons


Cleanup is overzealous

Example -- two cloaked collections in one page. For this example they both render the same list, which is just [0-199]
The issue occurs if you open them both, then close one. Seems like this kills the scroll event listener for all cloaked collections.
Also odd: on the initial toggle, it doesn't render to fill the viewport. For me it gets to 27, then stops. Also the second list never renders 199, and 198 is dodgy too.

I can fix this on the es6 branch, thanks for the detailed report!
I bumped into this last week where multiple instances (not even on the same route) would cause this to happen.

Just pinging to let you know I'm starting work on this today after making any necessary HTMLBars changes

@jskeate This is now fixed on the es6-flattened branch.
@eviltrout I appended the cloaked-collection view's element ID to the listener ID to avoid removing the listener for other instances during teardown.  In my case, I use liquid-fire for animated transitions, which means the old view doesn't get torn down before the new view get's inserted, leading to instances on separate routes also colliding with each other.

@runspired sounds good. Once I started on the HTMLBars branch of Discourse I will be looking at this more closely. Until then thanks for your work!


getProxies break for source "proxydb"

When invoking getProxies(), it always give the following:
Uncaught Error: Invalid option "countries": Object expected.
      at Object.module.exports.filterProxies (node_modules/proxy-lists/index.js:240:11)
      at EventEmitter.<anonymous> (node_modules/proxy-lists/index.js:157:26)
      at node_modules/proxy-lists/sources/proxydb.js:57:13
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2722:16
      at node_modules/proxy-lists/node_modules/async/dist/async.js:484:16
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2664:9
      at node_modules/proxy-lists/node_modules/async/dist/async.js:484:16
      at replenish (node_modules/proxy-lists/node_modules/async/dist/async.js:1025:25)
      at iterateeCallback (node_modules/proxy-lists/node_modules/async/dist/async.js:1015:17)
      at node_modules/proxy-lists/node_modules/async/dist/async.js:988:16
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2661:13
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2719:17
      at apply (node_modules/proxy-lists/node_modules/async/dist/async.js:41:25)
      at node_modules/proxy-lists/node_modules/async/dist/async.js:76:12
      at module.exports.parsePageHtml (node_modules/proxy-lists/sources/proxydb.js:137:3)
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2718:16
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2659:9
      at replenish (node_modules/proxy-lists/node_modules/async/dist/async.js:1030:17)
      at iterateeCallback (node_modules/proxy-lists/node_modules/async/dist/async.js:1015:17)
      at node_modules/proxy-lists/node_modules/async/dist/async.js:988:16
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2661:13
      at node_modules/proxy-lists/node_modules/async/dist/async.js:2719:17
      at apply (node_modules/proxy-lists/node_modules/async/dist/async.js:41:25)
      at node_modules/proxy-lists/node_modules/async/dist/async.js:76:12
      at Request._callback (node_modules/proxy-lists/sources/proxydb.js:104:4)
      at Request.self.callback (node_modules/proxy-lists/node_modules/request/request.js:186:22)
      at Request.<anonymous> (node_modules/proxy-lists/node_modules/request/request.js:1081:10)
      at IncomingMessage.<anonymous> (node_modules/proxy-lists/node_modules/request/request.js:1001:12)
      at endReadableNT (_stream_readable.js:921:12)

After tracing, I found the following happened along with proxies data of "proxydb". So I find the following lines in "proxydb.js":
https://github.com/chill117/proxy-lists/blob/master/sources/proxydb.js#L33-L35
As "option.countries" expecting object, is that underscore.js call "map" the cause of problem? Say, using "_.mapObject" instead.
http://underscorejs.org/#mapObject
Thanks for your help. This project is a nice work!

This was an interesting one. I was able to reproduce the issue and have made a fix. It will be included in the next release.

@chill117 Thanks so much for your fix, your response is really fast! We can enjoy a happy holiday then... 😊


Bumps in garden : ign-sensors7

See https://github.com/ignition-tooling/release-tools/issues/685

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!

@osrf-jenkins run tests please!

@osrf-jenkins run tests and pass the flaky one please (:


Support configuration via pillar

Initial capability for configuration of the splunk formula via pillar.

Ok, I've merged the pull request into a branch to look through. Probably going to have some questions — particularly on the path-globbing/resolution.

Oh, you wouldn't normally merge it just to diff it. You'd add my fork as a remote, checkout my branch and diff that.

Or, of course, just use the PR features to look at the diff. The 'Files changed' tab near the top-middle of the page does all the work for you.


Can we use Simple.OData.Client where Metadata endpoint/information not available?

Odata is new to me. Currently, I am trying to use Simple.OData.Client.  The API  I'm  comnsuming is build on OData but the metadata endpoint is not available.
Now I believe without metadata information/endpoint OData client will not going to work but Iam not sure.
So, is it possible to use Simple.OData.Client where metadata URL not being exposed by API or metadata information not available?

You should be able to download the metadata from somewhere, it's not really an OData endpoint without metadata,; you can then assign it statically in your client.

@phatcher  thank you.


Error on npm start: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Debug Log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart<EMAIL_ADDRESS>6 info start<EMAIL_ADDRESS>7 verbose unsafe-perm in lifecycle true
8 info<EMAIL_ADDRESS>Failed to exec start script
9 verbose stack Error<EMAIL_ADDRESS>start: better-npm-run start
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:829:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid<EMAIL_ADDRESS>11 verbose cwd /Users/sfc/sandbox/react1
12 error Darwin 15.6.0
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
14 error node v4.6.1
15 error npm  v2.15.9
16 error code ELIFECYCLE
17 error<EMAIL_ADDRESS>start: better-npm-run start
17 error Exit status 1
18 error Failed at the<EMAIL_ADDRESS>start script 'better-npm-run start'.
18 error This is most likely a problem with the react-redux-starter-kit package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     better-npm-run start
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs react-redux-starter-kit
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls react-redux-starter-kit
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

I'm seeing the same.  Fresh install of node 5.12.0

Same here, solved it with @wrabbit23 fix

Also removed this variable altogether in https://github.com/davezuko/react-redux-starter-kit/commit/85d16e05cd97ecf3119409d468d9dc88ba7401e5.


ISPN-9717 Fix Integer overflow for lifespan and maxIdle

Closing in favor of https://github.com/infinispan/infinispan/pull/6403.
Thanks for spotting this.


Migrate to VS2017 RC.3

cc @pranavkm FYI

I've started this work but it's currently blocked by dotnet/core-setup#1221.

I think this done by the commit https://github.com/aspnet/Localization/commit/d1ee393c72030b05f23f763c6c0152ff94527633


Fixed #925

See #925

rebase?

It make FlowSQLiteOpenHelper reusable after closed the internal SQLiteDatabase

this in 4.0.0-beta3.

@agrosner hi, im using 3.1.1 and experiencing this issue too. Is it required to update to 4.0.0-beta3 to have this fix?


Add unit test for precompiled native libraries

With precompiled libraries java_* rules put the library on
java.library.path.  scala_* rules currently do not.

Can one of the admins verify this patch?

I signed it!

Any update on this?

Probably pretty easy to solve by adding a data dependency, but I don’t have this problem so I haven’t looked at solving it.

I have the same issue, and puting the cc_library target as data do not solve it.
I don't know if it changes anything, but in my case the so is embedded in third party jar. When using it in a scala_binary it works fine, but from within a scala_test it does not appear in java.library.path.

I have the same issue, and puting the cc_library target as data do not solve it.
I don't know if it changes anything, but in my case the so is embedded in third party jar. When using it in a scala_binary it works fine, but from within a scala_test it does not appear in java.library.path.

@lgirault I've pushed small example of JNI in Scala and Java, see if it helps: https://github.com/liucijus/bazel-jni-demo

@lgirault I've pushed small example of JNI in Scala and Java, see if it helps: https://github.com/liucijus/bazel-jni-demo

Great ! now it works ! This is a bit frustrating that I need to add a gen_rule to extract the so from the jar but it seems unavoidable. I've updated my repo so that it shows the working example.
Thank you very much !

Great ! now it works ! This is a bit frustrating that I need to add a gen_rule to extract the so from the jar but it seems unavoidable. I've updated my repo so that it shows the working example.
Thank you very much !

@lgirault any chance you can send a docs PR for this issue?

@lgirault any chance you can send a docs PR for this issue?

I can, but I'm not sure the working thing I wrote thanks to @liucijus example is the best practice.
I have a genrule that extract the so library packaged by my third party dependency. Furthermore using bazel-deps my "public" target is "//3rdparty/jvm/com/eclipsesource/j2v8:j2v8_linux_x86_64" while the gen rule needs to point to the internal target "//external:jar/com/eclipsesource/j2v8/j2v8_linux_x86_64" to work.
Or you just want the doc for the "simpler" use case where you have a cc_target as in @liucijus exemple ?

I can, but I'm not sure the working thing I wrote thanks to @liucijus example is the best practice.
I have a genrule that extract the so library packaged by my third party dependency. Furthermore using bazel-deps my "public" target is "//3rdparty/jvm/com/eclipsesource/j2v8:j2v8_linux_x86_64" while the gen rule needs to point to the internal target "//external:jar/com/eclipsesource/j2v8/j2v8_linux_x86_64" to work.
Or you just want the doc for the "simpler" use case where you have a cc_target as in @liucijus exemple ?

I think the simple case would help others yeah.
Thanks!
On Fri, 15 Jan 2021 at 11:03 Loïc Girault<EMAIL_ADDRESS>wrote:

I can, but I'm not sure the working thing I wrote thanks to @liucijus
https://github.com/liucijus example is the best practice.
I have a genrule that extract the so library packaged by my third party
dependency
https://github.com/lgirault/jni_scala_test/blob/main/src/scala/com/mediarithmics/lib/v8/BUILD.bazel#L3.
Furthermore using bazel-deps my "public" target is
"//3rdparty/jvm/com/eclipsesource/j2v8:j2v8_linux_x86_64" while the gen
rule needs to point to the internal target
"//external:jar/com/eclipsesource/j2v8/j2v8_linux_x86_64" to work.
Or you just want the doc for the "simpler" use case where you have a
cc_target as in @liucijus https://github.com/liucijus exemple ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/140#issuecomment-760765996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKQQF2DJWC2KYW2O7MTJD3S2AAFDANCNFSM4C7XBEGA
.

--
Ittai Zeidman
40 Hanamal street, Tel Aviv, Israel
http://www.wix.com

I think the simple case would help others yeah.
Thanks!
On Fri, 15 Jan 2021 at 11:03 Loïc Girault<EMAIL_ADDRESS>wrote:

I can, but I'm not sure the working thing I wrote thanks to @liucijus
https://github.com/liucijus example is the best practice.
I have a genrule that extract the so library packaged by my third party
dependency
https://github.com/lgirault/jni_scala_test/blob/main/src/scala/com/mediarithmics/lib/v8/BUILD.bazel#L3.
Furthermore using bazel-deps my "public" target is
"//3rdparty/jvm/com/eclipsesource/j2v8:j2v8_linux_x86_64" while the gen
rule needs to point to the internal target
"//external:jar/com/eclipsesource/j2v8/j2v8_linux_x86_64" to work.
Or you just want the doc for the "simpler" use case where you have a
cc_target as in @liucijus https://github.com/liucijus exemple ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/140#issuecomment-760765996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKQQF2DJWC2KYW2O7MTJD3S2AAFDANCNFSM4C7XBEGA
.

--
Ittai Zeidman
40 Hanamal street, Tel Aviv, Israel
http://www.wix.com

here it is https://github.com/bazelbuild/rules_scala/pull/1182
@liucijus example speaks for itself, hence the documentation is quite short an references the example (submitted along the doc).
I completed it with a scala_test target.

here it is https://github.com/bazelbuild/rules_scala/pull/1182
@liucijus example speaks for itself, hence the documentation is quite short an references the example (submitted along the doc).
I completed it with a scala_test target.

closing as stale, feel free to reopen


Implemented URL Methods

Summary:
Implemented URL accessors . Fixes https://github.com/facebook/react-native/issues/45030
The methods output are identical to outputs of window.url .
Changelog:
[General][Added] URL accessors for unimplemented Methods
Test Plan:

Tested with URL :- 'https://example.com:8080/path?query=1#hash'

@cipolleschi @cortinico  Apologies for tagging but Can you check if this can be merged

@riteshshukla04 Thanks for the PR, but there is already another PR that is doing something similar: https://github.com/facebook/react-native/pull/48333. We try to give priority to PRs that arrives first. Feel free to comment and review the other PR as well to make sure that also all your changes are included.

Thanks @cipolleschi  . I didnt see that PR .


Add testbase workflow

Right now if we have to implement so many test cases that use the same setup and teardown, we have to copy/paste it over and over again.
With this change, we will have a test base file that contains those shared steps. All tests in a folder will use the same setup and teardown, but user till have an options to use different setup for specific test by just remove the testbase caller in their testcase.
This is how basic testcase and testbase look like:

Sorry I did not review this in time and thanks for your interest in the project


i18n(zh-cn): Update plugins.mdx

Description
Update plugins.mdx
Upstream #1900

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
resources/plugins.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


⚠ Bofrost.at has degraded performance

In 09bc51b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2418 ms

Resolved: Bofrost.at performance has improved in 6d8308f after 20 minutes.


Is it possible to display next run time in web UI?

I see my recurring jobs schedule in the Sidekiq UI. Even though my schedule is listed, it's still not very clear to me exactly when they will be run. It would be nice to know when the next job is scheduled to run. It would help a lot with debugging.
I'm not familiar with the internals to know how to make this possible. Is it possible to display next run time in web UI?

I'm not sure, but I will investigate if it's possible.

Sometimes the web server run in a process and sidekiq in other, so sometimes is not possible to get the next run time. I'm making some modifications to try to solve this.
I will keep investigating this.

In my case, scheduled jobs are running fine but cannot see any of them in the Sidekiq UI Scheduled tab.  Not so sure what I'm doing wrong. Thanks.

@nengine Jobs scheduled by sidekiq-scheduler are displayed at Recurring Jobs tab.
The Scheduled tab is a view handled by sidekiq for its special type of scheduled jobs, https://github.com/mperham/sidekiq/wiki/Scheduled-Jobs

PR #115 is merged.