runtime: non CGO application segfaulted once

Issue is more for the record, because I can't reproduce it and saw it only once. @aclements maybe interesting for you, I don't know.
What version of Go are you using (go version)?

$ go version
go version go1.15.3 linux/amd64

Does this issue reproduce with the latest release?
I don't know. I can't reproduce it, but saw it once in production.
What operating system and processor architecture are you using (go env)?
I can't share go env, because build setup changes in our CI environment.
# docker --version
Docker version 19.03.13, build 4484c46d9d
# uname -a
Linux my-host 5.4.0-1028-aws #29-Ubuntu SMP Mon Oct 5 15:30:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

AWS c5.9xlarge instance /proc/cpuinfo output (don't know if this matters, but CPU flags seem interesting based on https://github.com/golang/go/issues/35777)

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
stepping	: 4
microcode	: 0x2006906
cpu MHz		: 3101.777
cache size	: 33792 KB
physical id	: 0
siblings	: 48
core id		: 0
cpu cores	: 24
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4999.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
stepping	: 4
microcode	: 0x2006906
cpu MHz		: 3101.480
cache size	: 33792 KB
physical id	: 0
siblings	: 48
core id		: 1
cpu cores	: 24
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4999.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
stepping	: 4
microcode	: 0x2006906
cpu MHz		: 3096.565
cache size	: 33792 KB
physical id	: 0
siblings	: 48
core id		: 2
cpu cores	: 24
apicid		: 4
initial apicid	: 4
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4999.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

.....

processor	: 45
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
stepping	: 4
microcode	: 0x2006906
cpu MHz		: 3103.684
cache size	: 33792 KB
physical id	: 0
siblings	: 48
core id		: 21
cpu cores	: 24
apicid		: 43
initial apicid	: 43
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4999.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 46
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
stepping	: 4
microcode	: 0x2006906
cpu MHz		: 3102.689
cache size	: 33792 KB
physical id	: 0
siblings	: 48
core id		: 22
cpu cores	: 24
apicid		: 45
initial apicid	: 45
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4999.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 47
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz
stepping	: 4
microcode	: 0x2006906
cpu MHz		: 3096.456
cache size	: 33792 KB
physical id	: 0
siblings	: 48
core id		: 23
cpu cores	: 24
apicid		: 47
initial apicid	: 47
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4999.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

What did you do?
We run a net/http based proxy skipper, that runs 24x7 serving our business. The application is running in Kubernetes with docker.
Today, I saw a pod restart and got a panic with:
fatal error: unexpected signal during runtime execution
 [signal SIGSEGV: segmentation violation code=0x2 addr=0xc0000a1668 pc=0x440856] runtime stack:
 runtime.throw(0x1186064, 0x2a)
 /usr/local/go/src/runtime/panic.go:1116 +0x72
 runtime.sigpanic()
 /usr/local/go/src/runtime/signal_unix.go:704 +0x4ac
 runtime.checkTimers(0xc0000a0000, 0x4c1e45bd3eaf4, 0x4c1e45bd3ea01, 0x0, 0x0)
 /usr/local/go/src/runtime/proc.go:2738 +0x36
 runtime.findrunnable(0xc000066800, 0x0)
 /usr/local/go/src/runtime/proc.go:2275 +0x1aa
 runtime.schedule()
 /usr/local/go/src/runtime/proc.go:2669 +0x2d7
 runtime.park_m(0xc000000d80)
 /usr/local/go/src/runtime/proc.go:2837 +0x9d
 runtime.mcall(0x0)
 /usr/local/go/src/runtime/asm_amd64.s:318 +0x5b

....8<...

Rest of the panic is >80kB long and does not show any why to me. Only things you would think are normal for a http proxy application.
What did you expect to see?
no panic
What did you see instead?
a panic
additional information
C Code shown in https://github.com/golang/go/wiki/LinuxKernelSignalVectorBug was tested on the same machine of the restarted process:
# gcc  -pthread test.c
# ls
a.out  test.c
# ./a.out
# echo $?
0

Shutdown of the application was not triggered (I don't see any logs that show logs from our signal handler). So seems unrelated to https://github.com/golang/go/issues/40085
I read https://github.com/golang/go/issues/35777 but I don't know if this is related. If so it seems to happen very rarely.

The crash is happening on line 2738 here:
https://github.com/golang/go/blob/1984ee00048b63eacd2155cd6d74a2d13e998272/src/runtime/proc.go#L2734-L2742
From the traceback, we know pp is 0xc0000a0000. The previous line read pp.adjustTimers, which should be at 0xc0000a278c, then this line segfaulted when reading pp.timer0When at 0xc0000a1668 (confirmed against struct layout and assembly).
What's weird is that there is no reason why 0xc0000a278c would be mapped and 0xc0000a1668 wouldn't. In the heap, the runtime manipulates the address space in 64MiB-aligned 64MiB chunks. So either something went horribly wrong and Go managed to unmap a hole in its own heap, or something went wrong with the kernel or the hardware. Given how rarely Go unmaps anything, and the fact that this only happened once, I think the most likely explanation may actually be a hardware issue.
If you see it again, we'd love to know. But otherwise I'm not sure there's enough information to debug any further.

Thanks, that you looked into the issue. I also think the issue is not very valuable as it is and to be honest I don't know how I can add more information.
Should we let it open that if someone else sees a similar issue they can link to this one?
If you want to close it, it's also fine for me.

Thanks. It's not doing much harm in the Unplanned milestone and it can stay there in case this issue is encountered again. If not, GopherBot will close it in a few months since it has the WaitingForInfo label.

[acting as gopherbot]


unneeded argument in pin into_ functions

Hi,
all pin into_* functions have a ddr: &D(data direction register) argument.
https://github.com/Rahix/avr-hal/blob/d17a441a667dd65e5a9be75b0e71d1beadf93e84/avr-hal-generic/src/port.rs#L510-L562
this is actually not needed, because the DDR name comes from the macro expansion ($reg_ddr).
is it ok to remove this arguments?

this is actually not needed, because the DDR name comes from the macro expansion ($reg_ddr).

Whether the argument is used here or not is actually a secondary matter: It exists as a safety guarantee to enforce synchronous access.  I.e. ddr acts as a token which represents the DDR register and code should only perform DDR accesses while holding the token.  The actual access then happens via an unsafe direct access to the register location solely because that's easier to express in the current macro architecture than trying to unpack the AsDDR type (at least that was the point when I wrote it, not sure if that is still true?).
Now, whether this kind of enforcement is actually needed is a different matter: It is a question about if the accesses we need to perform can be done atomically.  Only if this is the case, can we drop this strict synchronous access enforcement.
The answer to that question looks promising:  As we essentially do single-bit sets and clears the optimizations which I explored in this gitter comment do apply.  For the newer AVR MCUs, the IO-cell even provides dedicated registers to perform those operations atomically.  So I'd say with the rework in #114 we can drop the DDR parameter from the conversion functions.

@Rahix add gitter to the main Readme pls

Right, might make sense add a "community"/contact section there.  So far people have always found their way over there themselves though ^^

Regarding this issue, actually: Commit 9046c06794c5 ("generic: port: Add new port implementation") which is currently on the next branch resolves this; the new port API does not require explicit DDR passing anymore.


Modified the tests with a new recording file and changed the skus input

Modified the tests with a new recording file and changed the skus input

Can one of the admins verify this patch?

Codecov Report

:exclamation: No coverage uploaded for pull request base (restapi_auto_datamigration/resource-manager@f20d755). Click here to learn what that means.
The diff coverage is n/a.

@@                              Coverage Diff                               @@
##             restapi_auto_datamigration/resource-manager    #3293   +/-   ##
==============================================================================
  Coverage                                               ?   57.35%
==============================================================================
  Files                                                  ?     7949
  Lines                                                  ?   160563
  Branches                                               ?        0
==============================================================================
  Hits                                                   ?    92091
  Misses                                                 ?    68472
  Partials                                               ?        0

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 f20d755...acb7ca5. Read the comment docs.


kubeone install on own infrastrucre

What happened:
kubeone install config.yaml -t tf.json
gives the following error
Error: failed to load cluster: unable to load a given KubeOneCluster object: unable to set dynamic defaults for a given KubeOneCluster object: unable to fetch cloud provider credentials: no provider matched failed to load cluster: unable to load a given KubeOneCluster object: unable to set dynamic defaults for a given KubeOneCluster object: unable to fetch cloud provider credentials: no provider matched
What is the expected behavior:
trying to install it on my own infrastructure (bare-metal provider) with the following tf.json
config.yaml:
apiVersion: kubeone.io/v1alpha1
kind: KubeOneCluster
name: demo-cluster
machineController.deploy: false
versions:
kubernetes: 1.14.1
cloudProvider:
name: none
terraform output*
Outputs:
kubeone_api = {
"endpoint" = "xxx.xxx.xxx.xxx"
}
kubeone_hosts = {
"control_plane" = {
"cloud_provider" = "none"
"cluster_name" = "kubeone"
"public_address" = [
"yyy.yyy.yyy.yyy",
"zzz.zzz.zzz.zzz",
]
"ssh_agent_socket" = "env:SSH_AUTH_SOCK"
"ssh_port" = 22
"ssh_private_key_file" = "~/.ssh/deployment"
"ssh_user" = "root"
}
}
tf.json
{
"kubeone_api": {
"sensitive": false,
"type": [
"object",
{
"endpoint": "string"
}
],
"value": {
"endpoint": "xxx.xxx.xxx.xxx"
}
},
"kubeone_hosts": {
"sensitive": false,
"type": [
"object",
{
"control_plane": [
"object",
{
"cloud_provider": "string",
"cluster_name": "string",
"public_address": [
"tuple",
[
"string",
"string"
]
],
"ssh_agent_socket": "string",
"ssh_port": "number",
"ssh_private_key_file": "string",
"ssh_user": "string"
}
]
}
],
"value": {
"control_plane": {
"cloud_provider": "none",
"cluster_name": "kubeone",
"public_address": [
"yyy.yyy.yyy.yyy",
"zzz.zzz.zzz.zzz"
],
"ssh_agent_socket": "env:SSH_AUTH_SOCK",
"ssh_port": 22,
"ssh_private_key_file": "~/.ssh/deployment",
"ssh_user": "root"
}
}
}
}
Information about the environment:
KubeOne version (kubeone version):  "0.10.0-alpha.0",
Terraform version: v0.12.6
Operating system: Ubuntu 18.04
Provider you're deploying cluster on: Cherryservers
Operating system you're deploying on: 18.04

should be
machineController:
  deploy: false

instead of
machineController.deploy: false

cheers!


fix HEAD response length

If another method also empties the response body, we need to modify this. #357

Thanks for the patch! Can we get some tests added for this please?


Allow arrow key navigation on aria-disabled elements

Updates
This PR makes updates to ensure that aria-disabled menu items are arrow-key navigable.
We discovered that a menuitem with aria-disabled="true" cannot currently be accessed with arrow key navigation, and can only be accessed through tab navigation. Even with aria-disabled="true", the menu item should be reachable with arrow key navigation.
Context
From our internal accessibility slack thread regarding disabled menu items:

If used, disabled controls must be user-addressable if they make up a set.  Think items in menus, buttons on a toolbar, radios in a group, etc.  If users hear, "1 of 10", they hit Down Arrow and are then told they've jumped over some items, that's more confusing and frustrating than encountering the disabled items.

Relevant links

Staff only: Slack thread
Staff only: comment on PR

:wave: Hello and thanks for pinging us! This issue or PR has been added to our inbox and a Design Infrastructure first responder will review it soon.

:art: If this is a PR that includes a visual change, please make sure to add screenshots in the description or deploy this code to a lab machine with instructions for how to test.
:fast_forward: If this is a PR that includes changes to an interaction, please include a video recording in the description.
:warning: If this is urgent, please visit us in #primer on Slack and tag the first responders listed in the channel topic.


Create logging namespace and operatorgroup on stone-stage-p01

All the clusters we had so far were ROSA classic, i.e. control plane nodes part of the cluster nodes. On those clusters, openshift-logging namespace and operatorgroup are already created and managed by hive.
The new stone-stage-p01 is a ROSA HCP(Hosted Control Plane) cluster and on those, the openshift-logging namespace and operatorgroup are not created/managed.
Move staging and production kustomize files into nested base folders and change logging argocd application to use base as default clusterDir. On stone-stage-p01, override the cluster dir to point to staging/stone-stage-p01 which include the base plus namespace and operatorgroup.
Also set argocd syn waves of a few resources to make sure the are created in the right order.
RHTAPWATCH-695

/retest-required

LGTM. IIRC, we'll also need to apply the same configuration for stone-prod-p01, right ?

yes, but stone-prod-p01 does not exist yet. That said, we can still create the configuration for it right away. Do you want me to add it to this PR or I do another one?

LGTM. IIRC, we'll also need to apply the same configuration for stone-prod-p01, right ?

yes, but stone-prod-p01 does not exist yet. That said, we can still create the configuration for it right away. Do you want me to add it to this PR or I do another one?

We're good creating it on a different PR once the cluster exists.

@eisraeli Can you /lgtm the PR if we are ready to get it in?

/lgtm

The latest ci/prow/appstudio-e2e-tests job failed on STONEINTG-742 whose fix was already merged to prod via this PR, please rebase your branch

/rebase

@eisraeli I had to rebase, I will need /lgtm again

/lgtm

/retest


Consistant renderer crash on windows from v0.33.9+

I get a consistent crash on windows 10 64bit (tested on 2 different machines).
It happen in my app when I close a tab and free a bunch of objects, possibly linked with others.
Please note that:

There is no crash report sent, even if crash-reporter is setup in both main and renderer sides
It does not happen on mac nor linux
I get the crash on all versions from 0.33.9 to 0.34.1 but not on 0.33.8 and before.

How to reproduce

Download one of the distributions of my app
Run the app.asar with a newer version of electron (v0.33.9 or greater)
After the welcome screen, double click on index.html from the sample project
In the newly created pane, open one of the files file by clicking on it
Close the tab => Renderer Crash

I'm unable to run your app:
Uncaught Exception:
Error: ENOENT: no such file or directory, uv_chdir
    at Error (native)
    at c (C:\cygwin\home\zcbenz\codes\electron\app.asar\tsmain.js:1:942)
    at C:\cygwin\home\zcbenz\codes\electron\app.asar\tsmain.js:1:597
    at C:\cygwin\home\zcbenz\codes\electron\app.asar\tsmain.js:1:2002
    at Server.onListen (C:\cygwin\home\zcbenz\codes\electron\app.asar\node_modules\portfinder\lib\portfinder.js:49:5)
    at Server.g (events.js:260:16)
    at emitNone (events.js:67:13)
    at Server.emit (events.js:166:7)
    at emitListeningNT (net.js:1257:10)
    at doNTCallback1 (node.js:430:9)

Can you see if there is any crash dump generated under C:\Users\USERNAME\AppData\Local\Temp\APPNAME Crashes? Also the operation_log.txt should be able to tell whether a crash dump has been generated and uploaded.

Sorry, to run the app, app.asar must be in a resources dir, because I do the following chdir at startup:
process.chdir(__dirname.replace(/[\\\/]resources[\\\/]app\.asar.*$/i, ""));

There is no dump in this directory, only operation_log.txt
Here is the last log entries:
[7280:8516:1023/224625:VERBOSE1:crash_service_main.cc(68)] Session start. cmdline is [--reporter-url=https://tweakstyle.com/php/crash-report.php --application-name=TweakStyle --v=1]
[7280:8516:1023/224625:VERBOSE1:crash_service.cc(142)] window handle is<PHONE_NUMBER>08083E
[7280:8516:1023/224625:VERBOSE1:crash_service.cc(290)] pipe name is \\.\pipe\TweakStyle Crash Service
dumps at C:\Users\Felicien\AppData\Local\Temp\TweakStyle Crashes
[7280:8516:1023/224625:VERBOSE1:crash_service.cc(294)] checkpoint is C:\Users\Felicien\AppData\Local\Temp\TweakStyle Crashes\crash_checkpoint.txt
server is https://tweakstyle.com/php/crash-report.php
maximum 128 reports/day
reporter is electron-crash-service
[7280:8516:1023/224625:VERBOSE1:crash_service_main.cc(84)] Ready to process crash requests
[7280:8524:1023/224625:VERBOSE1:crash_service.cc(323)] client start. pid = 3084
[7280:8524:1023/224626:VERBOSE1:crash_service.cc(323)] client start. pid = 1340
[8432:8484:1023/224626:VERBOSE1:crash_service_main.cc(68)] Session start. cmdline is [--reporter-url=https://tweakstyle.com/php/crash-report.php --application-name=TweakStyle --v=1]
[8432:8484:1023/224626:VERBOSE1:crash_service.cc(142)] window handle is<PHONE_NUMBER>040B8C
[8432:8484:1023/224626:VERBOSE1:crash_service.cc(290)] pipe name is \\.\pipe\TweakStyle Crash Service
dumps at C:\Users\Felicien\AppData\Local\Temp\TweakStyle Crashes
[8432:8484:1023/224626:VERBOSE1:crash_service.cc(294)] checkpoint is C:\Users\Felicien\AppData\Local\Temp\TweakStyle Crashes\crash_checkpoint.txt
server is https://tweakstyle.com/php/crash-report.php
maximum 128 reports/day
reporter is electron-crash-service
[8432:8484:1023/224626:ERROR:crash_service.cc(301)] could not start dumper
[7280:6648:1023/224636:VERBOSE1:crash_service.cc(331)] client end. pid = 1340
[7280:6648:1023/224636:VERBOSE1:crash_service.cc(331)] client end. pid = 3084
[7280:6648:1023/224637:VERBOSE1:crash_service.cc(352)] zero clients. exiting
[7280:8516:1023/224637:VERBOSE1:crash_service.cc(490)] session ending..
[7280:8516:1023/224637:VERBOSE1:crash_service.cc(495)] clients connected :2
clients terminated :2
dumps serviced :0
dumps reported :0
[7280:8516:1023/224637:VERBOSE1:crash_service_main.cc(89)] Session end. return code is 0

I think the relevant line is ERROR could not start dumper

I didn't see a welcome screen so I just opened some random html files to test, but I didn't succeed to reproduce. You probably have to build Electron locally, and then use WinDbg or Visual Studio to get a full stack trace since the debugger is not working somehow.

I made more tests. I get the crash only with the x64 build of electron. The ia32 build is working fine.
Here is a quick capture of how to reproduce http://recordit.co/iIEOjH6nb7
Note: I open the html file with a double click
I'm trying to build electron to get the full stack, but I'm stuck with the following error at build step:
ninja: Entering directory `out\D'
[360/589] CXX obj\vendor\node\src\node.string_bytes.obj
c:\users\felicien\source\repos\electron\vendor\node\src\string_bytes.cc(191) : warning C4003: not enough actual parameters for macro 'V'
[377/589] CXX obj\atom\browser\ui\electron_lib.file_dialog_win.obj
FAILED: ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\cl.exe" /nologo /showIncludes /FC @obj\atom\browser\ui\electron_lib.file_dialog_win.obj.rsp /c ..\..\atom\browser\ui\file_dialog_win.cc /Foobj\atom\browser\ui\electron_lib.file_dialog_win.obj /Fdobj\electron_lib.cc.pdb
c:\users\felicien\source\repos\electron\atom\browser\ui\file_dialog_win.cc(7) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
[377/589] CXX obj\atom\browser\electron_lib.browser_win.obj
FAILED: ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\cl.exe" /nologo /showIncludes /FC @obj\atom\browser\electron_lib.browser_win.obj.rsp /c ..\..\atom\browser\browser_win.cc /Foobj\atom\browser\electron_lib.browser_win.obj /Fdobj\electron_lib.cc.pdb
c:\users\felicien\source\repos\electron\atom\browser\browser_win.cc(7) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
[377/589] CXX obj\atom\browser\electron_lib.web_view_manager.obj
ninja: build stopped: subcommand failed.

Not sure if it's a common error. I have visual studio 2013 Community

When I run it with a electron x64 debug build, I get the following error:
[6868:1029/112754:FATAL:crash_reporter_win.cc(130)] Check failed: RtlDeleteFunctionTable(&record->runtime_function).

Seems to be fixed in 0.34.2
May be related to

Fix crash when the callback passed to native APIs threw exception.

I reopen, as I still get the issue with 0.34.2.
I don't know why i don't get it last time

I successfully reproduced it with a vmware virtual machine, with both a fresh install of windows 10 64bit french and a fresh install of windows 7 64bit french.
I never got the crash report sent (nor dumped in the C:\Users\USERNAME\AppData\Local\Temp\APPNAME Crashes dir)
If I watch for webContent crashed event, I get it but without any relevant info.
I'm trying to debug it with visual studio, when attaching to all electron process, the breakpoint I get when it crash point to this: https://github.com/atom/electron/blob/d2b3d6d129ec0f1a4b06e5d6a3068dd01a11beba/atom/common/crash_reporter/crash_reporter_win.cc#L126-L131
Maybe it's the cause why the crash is not reported? But how do I access the cause of the crash?
Also, I could export the breakpoint if I knew how to but I'm not used to visual studio and I don't find this feature.

Can you disable the crash-reporter and then try debugging it with VS?

If I disable the crash-reporter, it no longer crashes.
I have just removed the crash-reporter init from the renderer code (i left it in the main code)
Here what I removed in a script included in the head of html:
require('crash-reporter').start({
	productName: 'MyProductName',
	companyName: 'MyCompany',
	submitUrl: 'https://mydomain.com/php/crash-report.php',
	autoSubmit: true
});

Also if I trigger crash with process.crash() on the renderer side, I successfully get the crash dump sent but I don't get the webContents.crashed event.

It may be related to #3276

Does it still crash if you replace this line:
CHECK(RtlDeleteFunctionTable(&record->runtime_function));

to
RtlDeleteFunctionTable(&record->runtime_function);

and then start the crash-reporter?

I confirm that It no longer crashes with this change

@felicienfrancois I think I have figured out why it crashed, thanks for debugging this!

You're welcome
Thank you for your work on electron


Disable automatic approval on stone-prod-p01

The plan is to decommission this cluster so disable automatic approval to prevent new users from coming in.
KFLUXINFRA-648

/lgtm


Convert-BcAppsToRuntimePackages: allow to set showmycode, keepContainer, include sign app parameters

Sugestions to Convert-BcAppsToRuntimePackages
I'm using Convert-BcAppsToRuntimePackages to create runtime packages, but I can do the next processes:

Force ShowMyCode $false when download runtime package.
Sign converted apps after convert to runtime package.

Add param -ShowMyCode and -IncludeSourceInPackageFile
Current version of Convert-BcAppsToRuntimePackages, in Get-NavAppRuntimePackage the parameter -ShowMyCode is not present:

I suggest to add -ShowMyCode and -IncludeSourceInPackageFile params to Convert-BcAppsToRuntimePackages, to override the app.json settings.

Add param -keepContainer and/or -pfxFile and -pfxPassword
To sign app I've tested to use Sign-BcContainerApp after finish Convert-BcAppsToRuntimePackages, but the container is deleted. To solve it I propose two options:

Add keepContainer parameter: in my script I can use -keepContainer to convert the app and after that sign it and delete de container.
Or, add parameters to sign runtime apps: pfxFile and pfxPassword.

I will add -ShowMyCode and -IncludeSourceInPackageFile and directly transport the values to the underlying function.
The code signing certificate should be handled by adding this parameter to the Convert-BcAppsToRuntimePackages:
    -afterEachRuntimeCreation { Param($ht)
        Write-Host "Signing runtime package"
        Sign-BcContainerApp -containerName bctest -appFile $ht.runtimeFile -pfxFile ($CodeSignCertificateUrlSecret.SecretValue | Get-PlainText) -pfxPassword $CodeSignCertificatePasswordSecret.SecretValue
    }

That works today.
Basically, that scriptblock is executed for every app and the appFile and the runtimeFile are in the hashtable transferred as parameter.

he code signing certificate should be handled by adding this parameter to the Convert-BcAppsToRuntimePackages:
    -afterEachRuntimeCreation { Param($ht)
        Write-Host "Signing runtime package"
        Sign-BcContainerApp -containerName bctest -appFile $ht.runtimeFile -pfxFile ($CodeSignCertificateUrlSecret.SecretValue | Get-PlainText) -pfxPassword $CodeSignCertificatePasswordSecret.SecretValue
    }

I've modified my code to add an adaptated version of your proposal in afterEachRuntimeCreation, and I think it runs fine !!!
2022-05-18T06:36:47.0818030Z Publishing MyCompany_MyApp_0.4.19001.110.app
2022-05-18T06:37:01.0636790Z Creating Runtime Package MyCompany_MyApp_0.4.19001.110.runtime-20.1.39764.39901-es.app
2022-05-18T06:37:05.1053810Z Signing runtime package
2022-05-18T06:37:05.3609377Z Copying certificate file to container
2022-05-18T06:37:05.7370187Z Downloading Signing Tools
2022-05-18T06:37:06.0323880Z Installing Signing Tools
2022-05-18T06:37:14.9344300Z Signing c:\dest\MyCompany_MyApp_0.4.19001.110.runtime-20.1.39764.39901-es.app
2022-05-18T06:37:15.6228425Z Done Adding Additional Store
2022-05-18T06:37:16.4437056Z Successfully signed: c:\dest\MyCompany_MyApp_0.4.19001.110.runtime-20.1.39764.39901-es.app
2022-05-18T06:37:16.4438943Z

Thank you very much :=)

I will add -ShowMyCode and -IncludeSourceInPackageFile and directly transport the values to the underlying function.

I think I can't force to disable the parameter as the actual implementation using [switch] params.
Samples to force NO show code:
-ShowMyCode:$false
-IncludeSourceInPackageFile:$false
Could you change a bit the new funciontality?
Best regards,

I will add -ShowMyCode and -IncludeSourceInPackageFile and directly transport the values to the underlying function.

I think I can't force to disable the parameter as the actual implementation using [switch] params. Samples to force NO show code: -ShowMyCode:$false -IncludeSourceInPackageFile:$false
Could you change a bit the new funciontality?
Best regards,

Hi @freddydk ,
Could you change the behavior of new params ShowMyCode and IncludeSourceInPackage to make posiblle pass to downlad runtimepackage as value $false.
In your implementation, I can't do that, and if no params in download runtime, by defaut use de showmycode of app.json.
Best regards,
José Antonio López

Will do

I accidently rolled out 3.0.9 without this fix.
I have already rolled out a 3.0.10 preview with this fix - could you please test this, then I will roll out 3.0.10 as soon as I have confirmation that this works - as this is a breaking change from 3.0.9 (I don't want a lot of people using the switch parameters in 3.0.9).
Thanks and sorry.

Amazed by the number of downloads of a new version...:-)

Fortunately, they don't all write new scripts with this function...

I accidently rolled out 3.0.9 without this fix. I have already rolled out a 3.0.10 preview with this fix - could you please test this, then I will roll out 3.0.10 as soon as I have confirmation that this works - as this is a breaking change from 3.0.9 (I don't want a lot of people using the switch parameters in 3.0.9).
Thanks and sorry.

Hi @freddydk ,
I'll do this week. I need to create an environment for upgrade de preview version, because I won't to upgrade preview version on production environment.
Best regards,

Shipped in 3.0.10
Both parameters are now booleans and only added to the underlying cmdlet if specified in the first place.
This means that the function signature is stable.

I will test the command today and perform the release - then you can try this out on your normal pipelines.

I've done some test with new version 3.0.10, and initially all runs fine 👍
Thanks for all your great job!!
Best regards,


AuthZ API cleanup

Fixes https://github.com/aspnet/Security/issues/480 https://github.com/aspnet/Security/issues/514
cc @divega

Hi @HaoK, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:shipit:

0eaec216b10981fc4b55b5539cf9768526826043


Navbar issue

In the navbar, the navigation button does not work. They do not navigate to the right page.
at the homepage, about us, opportunities other pages are navigated but after going to that page homepage and some also not navigate.
fix that issue so you can navigate any page from home, about, and all others.....

I can solve this issue

ok @PrakharSahu02 go ahead

I would like to work on this issue @Ayan-thecodeking

I would like to work on this issue @Ayan-thecodeking

@aditya687 y u are always late ...just create ur own issue  this issue is already assign


⚠ Bofrost.es has degraded performance

In 85ca138, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1576 ms

Resolved: Bofrost.es performance has improved in d7dbe98 after 6 minutes.


fx: propogate influx deployment labels to pods

What this PR does / why we need it:
This PR propagates Deployment labels down to the Pod for InfluxDB. This makes it so that you can easily query for the Pods by their InfluxDB release in Prometheus and group metrics by release.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md

/ok-to-test

/lgtm


Choose Technology Stack

We have few options mention below. Looking for which one will be suitable for our designs.

jekyll
hexo
wordpress

Currentlu Building Static Website using jekyll templet forked from UofT coders Study group Website.


Do not modify the query string if there are no params to add

In getTarget, we assume params isn't empty and always add a '?' or a '&'.
However, in my case, I'm using flow to upload directly to Amazon AWS S3/CloudFront, using SignedURL. Their multipart upload API is somewhat different from the one flow usually has.
I'm overriding opts.query and opts.target to return the correct URLs. Up to now, Amazon was accepting the URLs even with the additional '&'. However, since a few days, they've tighten their validation of SignedURL.
Since the URLs are signed and sent with the query string already in the URL to the client, I would need to parse the query string and split query and target again. Since I have no guarantee the URL generated that way would be identical to the one I Signed previously, this wouldn't solve my issue.
It seems hardly justifiable to modify the URL when there are no params to add to it anyway.

looks great, thanks!

https://github.com/flowjs/flow.js/releases/tag/v2.13.2

That was fast!
Thanks so much for releasing the new version!

@AidasK If that's not too much to ask, would you mind publishing 2.13.2 to npm? I don't see it there...

Done

Thanks!


Add support for TSLint

Closes #5641.
Adds support for TSLint via fork-ts-checker-webpack-plugin.
TODO:

[x] Figure out where tslint.json should live
[ ] Finalize rules
[ ] React hooks rules - https://github.com/palantir/tslint-react/issues/186
[ ] Lint test files when running jest

@ianschmitz What's left to this done? How can we help?

it's nice that someone already works on this!!!
Today i also thought about mapping eslint to tslint ( tslint-eslint-rules )

or -
parsing typescript with eslint typescript-eslint-parser
which both would let us stay on one linting ruleset and also would have the advantages of keeping the linting configuration detached from the app.

Unfortunately mapping eslint to tslint does not work with "extends" so we would have to create another project (e.g. tslint-config-react-app) and duplicate the ruleset. And my favourite: parsing typescript with eslint does not work on the IDE because of the fileextension.

btw. will this PR cover IDE support?

We should be able to follow the same pattern that we already have for ESLint to add a dummy tslint.json file to root of repo and extend our ruleset

yes thats the only way i think. then it would be the best to create another package like tslint-config-react-app and reference this via  fork-ts-checker-webpack-plugin and the tslint.json ?

I created a solution to this problem. You can use your own TSLint instead of the built-in linting or fork-ts-checker by using the Rescripts framework and its use-tslint-config rescript (I just released it and would really love your feedback!) :)

@harrysolovay Rescripts seems amazing, looking forward to test it, good job!

@samuelcastro thank you so much! Please let me know your thoughts & any suggestions :)

Closing in favor of #6513


question: htseq-count stranded?

I would like to know if htseq-count --stranded = yes.
I found a python script in Celseq git repository, and the default seems to be 'yes'. If it applies to Celseq2, could I also know the reason? It is pretty obvious that the sequence is mostly from 3'-end; but is it okay say strand specific?

Yes. CEL-Seq/2 is strand-specific. https://www.illumina.com/science/sequencing-method-explorer/kits-and-arrays/cel-seq.html


Surface  load from packed

Loading a packed image in a Surface resulted in said image to not be displayed properly. The exit condition for the loop was wrong, causing the last few bytes to not be loaded. On a big spritesheet that portion of the image would probably be transparent anyway, so it was not visible. On a small image, 10x10 pixels for example, it was very clear there was a problem !
I have tested with a number of small images, both on linux and on the device, and they display properly with this PR.

The other way to fix this is to revert me breaking the tools (https://github.com/pimoroni/32blit-tools/commit/e3a9e8f89f7608e3b25514802610b1f8302d363b) (I have no preference). But there's also the issue that b = *++bytes reads 1 byte too far.

I’ve updated the PR with your fix for the buffer overflow

Thank you! I think it's easier to forge ahead with slowly changing packed data to how we want it to work than moving back on ourselves. Onward and upward!
In theory if everyone is using the asset packer toolchain then they wont notice the underlying format change.
In theory...


error if using C elegans

Hi,
I had following errors. could you please help?
Error in .normarg_seqlevels(seqnames) :
supplied 'seqlevels' cannot contain NAs or empty strings ("")
Calls: Main ... BuildReadsGRangesFromBAM -> Seqinfo -> .normarg_seqlevels
Execution halted
best
Su

From your error message "supplied 'seqlevels' cannot contain NAs or empty strings ("")" it appears that your BAM file is corrupt and is missing some chromosome names (seqlevels). Please try plot2DO using another BAM file (e.g. the BAM files that we provided as examples) to make sure that you downloaded everything and plot2DO is working using a normal BAM file. Without your original BAM file that gives this error, I can't really tell the exact problem with your file.

hi, Thanks for your message.
My bed file looks like this:
chrV	11380838	11380938	D00467:395:CE7JDANXX:4:2309:1163:2165/1	42	+
chrV	11380893	11380993	D00467:395:CE7JDANXX:4:2309:1163:2165/2	42	-
chrX	10286716	10286816	D00467:395:CE7JDANXX:4:2309:1333:2116/1	42	-
chrX	10286707	10286807	D00467:395:CE7JDANXX:4:2309:1333:2116/2	42	+
will this work?
thanks
Su

Hi,
Thanks for your suggestion. But I have another error now :(
Error in print_help(opt_parser) : object 'opt_parser' not found
Calls: Main -> LoadGenomeAnnotation_v2 -> print_help -> cat
Execution halted
Could you please help?
I have R version 4.0.0 (2020-04-24)
Thanks
Su

Hello Su,
annotations are read from input bam file or from the file path specified by the genome (the key) in https://github.com/rchereji/plot2DO/blob/master/config/annotation_config.yaml. These files are expected to be csv or txt files. bdg format files should also be an accepted input.
I have tested plot2DO with R4.0 and everything is ok with bam file format as input. If you want to share with me your annotation file I can check it locally and answer with more detail.
Best,
Paula

Hello again,
I am having trouble running drosophila samples. I tried with sample .bam provided with the code. It still provides error either dm3 or dm6. Can you please help.
$Rscript plot2DO.R --genome=dm3 --file=fly_SRR2038265.5M_reads.bam
Error: Unexpected format to the list of available marts.
Please check the following URL manually, and try ?listMarts for advice.
http://dec2014.archive.ensembl.org:80/biomart/martservice?type=registry&requestid=biomaRt
Execution halted
$ Rscript plot2DO.R --genome=dm6 --file=fly_SRR2038265.5M_reads.bam
Error in .normarg_seqlevels(seqnames) :
supplied 'seqlevels' cannot contain NAs or empty strings ("")
Calls: Main ... BuildReadsGRangesFromBAM -> Seqinfo -> .normarg_seqlevels
Execution halted
Thanks a lot
Su

Hello again,
I am having trouble running drosophila samples. I tried with sample .bam provided with the code. It still provides error either dm3 or dm6. Can you please help.
$Rscript plot2DO.R --genome=dm3 --file=fly_SRR2038265.5M_reads.bam
Error: Unexpected format to the list of available marts.
Please check the following URL manually, and try ?listMarts for advice.
http://dec2014.archive.ensembl.org:80/biomart/martservice?type=registry&requestid=biomaRt
Execution halted
$ Rscript plot2DO.R --genome=dm6 --file=fly_SRR2038265.5M_reads.bam
Error in .normarg_seqlevels(seqnames) :
supplied 'seqlevels' cannot contain NAs or empty strings ("")
Calls: Main ... BuildReadsGRangesFromBAM -> Seqinfo -> .normarg_seqlevels
Execution halted
Thanks a lot
Su

Hi Su,
I pushed an update and it should work now. It seems the old ensembl server for dm3 annotations stopped working so I had to update that in the annotation_config.yaml
Let us know if you still have problems running the demo example, after you pull the update.
Best,
Razvan

Hi Razvan,
Thanks for your help.
I will update and let you know.
Best
Su
Subhanita Ghosh
<EMAIL_ADDRESS>
On 15 Feb 2021, at 17:38, Răzvan V. Chereji<EMAIL_ADDRESS>wrote:
Hi Su,
I pushed an update and it should work now. It seems the old ensembl server for dm3 annotations stopped working so I had to update that in the annotation_config.yaml
Let us know if you still have problems running the demo example, after you pull the update.
Best,
Razvan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rchereji/plot2DO/issues/7#issuecomment-779367173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMIPEGR4MWW2PIHSP5HXA3S7FLYHANCNFSM4ONLE6BQ.


Relations contain subject metadata

I think it's a bit arbitrary that the relation contains the metadata of the subject. I would expect just the data of the Relation, not the joined Work, i.e. subj_id, obj_id, source_id, relation_type_id, total, timestamp.
Surely the title etc of one of the items in the relation doesn't belong there?

The metadata of the subject is included so that only one API call is required to show all relations per work. We can discuss the API format going format, as you know I like JSONAPI, which would use side-loading here.


TypeScript broken

The JS file defines a default export, but the d.ts file defines a named export. Any attempt to import it in a TS project gives an error unless you write your own types

Ooo thanks. Ill fix that


premium storage and tables

we are trying to use premium storage for everything, so default storage account is premium. it looks like tables do not work in premium storage accounts.
thoughts?
  Started creating missing vms > ha_proxy_z1/0 (feabf4e3-cc22-4e44-a1fb-e47a45f2df17). Failed: has_table?: #<Faraday::ConnectionFailed>
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/resolv-replace.rb:12:in `rescue in getaddress'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/resolv-replace.rb:9:in `getaddress'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/resolv-replace.rb:23:in `initialize'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/net/http.rb:879:in `open'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/net/http.rb:878:in `connect'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/net/http.rb:852:in `start'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/net/http.rb:1369:in `request'
/var/vcap/packages/ruby_azure_cpi/lib/ruby/2.1.0/net/http.rb:1128:in `get'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:80:in `perform_request'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in `block in call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in `with_net_http_connection'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response/follow_redirects.rb:76:in `perform_with_redirection'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response/follow_redirects.rb:64:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/core/http/http_request.rb:143:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/core/http/signer_filter.rb:28:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/core/http/signer_filter.rb:28:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/core/http/http_request.rb:97:in `block in with_filter'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/core/service.rb:36:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/core/filtered_service.rb:34:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/core/signed_service.rb:41:in `call'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/azure-0.7.1/lib/azure/table/table_service.rb:97:in `get_table'
/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/table_manager.rb:22:in `has_table?'
/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/stemcell_manager.rb:93:in `handle_stemcell_in_different_storage_account'
/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/stemcell_manager.rb:69:in `has_stemcell?'
/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/cloud.rb:91:in `block in create_vm'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/bosh_common-1.3100.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/packages/bosh_azure_cpi/lib/cloud/azure/cloud.rb:83:in `create_vm'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/bosh_cpi-1.3100.0/lib/bosh/cpi/cli.rb:71:in `public_send'
/var/vcap/packages/bosh_azure_cpi/vendor/bundle/ruby/2.1.0/gems/bosh_cpi-1.3100.0/lib/bosh/cpi/cli.rb:71:in `run'
/var/vcap/packages/bosh_azure_cpi/bin/azure_cpi:34:in `<main>' (00:00:08)

cc @cppforlife

@pronoiac Please use Azure DNS <IP_ADDRESS> and try it again.

can you confirm that using tables with premium storage is supported? we cant find tables button in the portal. it does appear for non-prem storage. also running cli results in cryptic error (status code on http response is not found) when trying to create table on prem stor acct.
Sent from my iPhone

On Mar 30, 2016, at 6:23 PM, Chou Hu<EMAIL_ADDRESS>wrote:
@pronoiac Please use Azure DNS <IP_ADDRESS> and try it again.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@cppforlife We will investigate it and update you later.

@pronoiac @cppforlife Currently you only can choose standard storage account as the default storage account.
Premium Page Blob: Premium Storage supports Azure Page Blobs, which are used to hold persistent disks for Azure Virtual Machines (VMs). Currently, Premium Storage does not support Azure Block Blobs, Azure Append Blobs, Azure Files, Azure Tables, or Azure Queues.
Reference: https://azure.microsoft.com/en-us/documentation/articles/storage-premium-storage/

@pronoiac If you want to use premium storage account for BOSH, you can set storage_account_name to your premium storage account name in resource_pools in bosh.yml. BOSH os disk and data disks will be created in the premium storage account.


Compatibility/ Inclusion of Advance Gaze into HoneySelectVR

Can you please either include Advance Gaze(http://www.hongfire.com/forum/forum/hentai-lair/hf-modding-translation/honey-select-mods/5737526-advanced-gaze-for-vr) into HonySelectVR or make it at least compatible with the current build ?

Just an additional comment here, I think it was slightly more immersive when the model would stare into the left eye.  Currently she's fixated on the bridge of your nose, which is slightly uncanny-valley / stepford wife-y.  When looking closely at someone, your eyes flick from eye to eye, left to right, and it would be great to add this oscillation somehow.  Advanced Gaze for VR doesn't currently do this, and the eyeballs float around a bit much for me.

What you have to realise in reality you don't just look someone straight into the left or right eye and that's it you change between looking into the left, right eyes, then nose, mouth and back to the eyes again in very short intervals and sometimes this is something that Advanced Gaze tries to archieve
 It is called triangular eye gaze.

Yep, I get that.  But Advanced Gaze doesn't go between eyes, it just goes between the bridge of your nose and the tip of your nose, and the offset is a bit broken.  It tries but much work is needed to make it an actual triangular gaze.


Client secret should support different secret sizes

Currently it only allows 64 byte secret, but for example 12 word BIP39 mnemonic is 16 bytes and we should support that.

BIP39 states

The length of the derived key is 512 bits (= 64 bytes).

so while the entropy entered into the key derivation function defined in BIP39 might be as little as 128bit, it is always expanded to 512bit. We could do something more custom since the HKDF used by DerivableSecret also has an extract step, but then we wouldn't be using BIP39.

I think we mainly need to document this better so this question doesn't come up again.

Fixed by #2529


fix some issues with authentication and bonding

This PR fixes a few issues with authentication and bonding.

In PeripheralManager+G5.swift writing to a characteristic that is not notifying should not throw and should return a Data object with zero bytes. Was previously failing a guard statement due to characteristic.value == nil.

AppDelegate.swift was calling transmitter.resumeScanning on applicationDidBecomeActive. This causes undesired behaviour. For example the function is called when the user accepts the pairing request, causing the transmitter to immediately disconnect. This PR only calls resumeScanning if !transmitter.stayConnected.

After sending a bond request message, the auth characteristic does not respond to any read or write commands. Consequently this line always throws with a timeout error. Also, since the auth characteristic is not notifying, there is no way to be informed whether the user has accepted the pairing request. In this change we no longer try to query the auth status after bonding; rather we progress immediately to control, and allow the first step in control to timeout after 15s rather than the default 2. The result is that the control step proceeds once the user accepts the pairing request. If the user doesn't accept the pairing request, the transmitter simply disconnects and we have another chance on the next transmitter wakeup.

Also fixes debug messages like "Re-connecting to known peripheral #### in<PHONE_NUMBER>540230144s" (string format specifier).

Resolved with #70 and #73. Thanks @ps2!


webkit input=search has dropdown on left side when results= attribute is set

The webkit input type=search cancel selector (right side) is switched off at line 398, but not the history drop down (left side) that appears when there are history items  (results=x + autosave=uid attribute):
Possible fix is:
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration,
[type="search"]::-webkit-search-results-button,
[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

See ref. in Safari docs.

Blink is deprecating and removing results attribute for <input type=search> in Chrome 53. IMO it's questionable that normalize should care about this specific proprietary extension.

This is a WebKit-extension, and it seems no one tried to standardize it.

@vinorodrigues, does it impact layout (search length, etc.)? Also, would you know when was this property introduced? If it isn’t added to normalize.css, a note could be added to documentation. I’m open to both at this point.

There wasn’t any movement on this, so I’ll be closing it. Feel free to write back if you’re still experiencing this in a current version of Chrome.


Problem with toy SIR example

Hi, I'm having problems using a toy example from my repository of SIR models. Here's the code, where I'm trying to initialize the system with S=990, I=10:
using FiniteStateProjection
using OrdinaryDiffEq
using Plots

rn = @reaction_network SIR begin
    β, S + I --> 2I
    γ, I --> 0
end β γ

p = [0.0005, 0.25]
u0 = [990.0, 10.0]
tspan = (0.0, 40.0)
solver = Tsit5()

prob_ode = ODEProblem(rn, u0, tspan, p)
sol_ode = solve(prob_ode, solver)
plot(sol_ode)

sys_fsp = FSPSystem(rn)
u0f = zeros(2, 1001)
u0f[1,991] = 1.0
u0f[2,11] = 1.0
prob_fsp = convert(ODEProblem, sys_fsp, u0f, tspan, p)
sol_fsp = solve(prob_fsp, Tsit5())

The model runs quite happily, but gives incorrect answers (a mode of zero at the final timepoint):
julia> sol_fsp.u[end]
2×1001 Matrix{Float64}:
 0.975804  0.0429964    0.00096567  1.44262e-5   1.61612e-7   …  1.75808e-303  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0
 0.979782  0.000436904  8.76707e-8  1.04251e-11  8.13531e-16     0.0           0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0  0.0

I thought it may have something to do with the 'nothing', on the RHS of the second reaction. However, modifying this results in an error on solve:
using FiniteStateProjection
using OrdinaryDiffEq
using Plots

rn = @reaction_network SIR begin
    β, S + I --> 2I
    γ, I --> R
end β γ

p = [0.0005, 0.25]
u0 = [990.0, 10.0, 0.0]
tspan = (0.0, 40.0)
solver = Tsit5()

prob_ode = ODEProblem(rn, u0, tspan, p)
sol_ode = solve(prob_ode, solver)
plot(sol_ode)

sys_fsp = FSPSystem(rn)
u0f = zeros(3, 1001)
u0f[1,991] = 1.0
u0f[2,11] = 1.0
prob_fsp = convert(ODEProblem, sys_fsp, u0f, tspan, p)
sol_fsp = solve(prob_fsp, solver)

Output:
ERROR: MethodError: no method matching pairedindices(::DefaultIndexHandler, ::Matrix{Float64}, ::CartesianIndex{3})

My bad! I thought (based on my poor knowledge of the second example) that I could initialize the variables separately rather than jointly (which also explains why my 3-state model fails). Here's a working version, scaled down to run a bit faster.
using FiniteStateProjection
using OrdinaryDiffEq
using Plots

rn = @reaction_network SIR begin
    β, S + I --> 2I
    γ, I --> 0
end β γ

p = [0.005, 0.25]
u0 = [99, 1]
δt = 1.0
tspan = (0.0, 40.0)
solver = Tsit5()

prob_ode = ODEProblem(rn, u0, tspan, p)
sol_ode = solve(prob_ode, solver)
plot(sol_ode)

sys_fsp = FSPSystem(rn)
u0f = zeros(101, 101)
u0f[100,2] = 1.0
prob_fsp = convert(ODEProblem, sys_fsp, u0f, tspan, p)
sol_fsp = solve(prob_fsp, solver, dense=false, saveat=δt)

p1=plot(0:1:100, sum(sol_fsp.u[1],dims=2),label="S",title="t=0", ylims=(0,1))
plot!(p1, 0:1:100, sum(sol_fsp.u[1],dims=1)',label="I")
p2 = plot(0:1:100, sum(sol_fsp.u[21],dims=2),label="S",title="t="*string(sol_fsp.t[21]),ylims=(0,1))
plot!(p2, 0:1:100, sum(sol_fsp.u[21],dims=1)',label="I")
p3 = plot(0:1:100, sum(sol_fsp.u[41],dims=2),label="S",title="t="*string(sol_fsp.t[41]),ylims=(0,1))
plot!(p3, 0:1:100, sum(sol_fsp.u[41],dims=1)',label="I")
l = @layout [a b c]
plot(p1, p2, p3, layout=l)

Thanks for opening this issue! You ran into a common pitfall when trying to solve the CME - I added a rough bit of documentation and a troubleshooting section that may help others avoid it in the future, and you should now get a more informative error message in your second example.


Certain fonts crash get_features()

Python version
3.10.9
Package version
0.14.4
Current behavior (bug description)
Calling get_features() on this font crashes fontbro.
Stacktrace:
Traceback (most recent call last):
  File "C:\Users\User\Desktop\fonts\main.py", line 24, in <module>
    font.get_features()
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\fontbro\font.py", line 319, in get_features
    features_tags = self.get_features_tags()
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\fontbro\font.py", line 338, in get_features_tags
    feature_record = table.FeatureList.FeatureRecord or []
AttributeError: 'NoneType' object has no attribute 'FeatureRecord'

Looks like FeatureList can be None. This only affects the GSUB and not the GPOS table.

Could you provide also a font to use for adding a test case?

The file I linked is fine to use as a test case, as it is an older version of League Gothic which is licensed under OFL.

Sorry, I totally missed the link in the first message! Thank you


abandoned checkouts

How are abandoned checkouts exposed here? I was expecting it to be something like ShopifyAPI::AbandonedCheckout, but it looks like maybe it's just ShopifyAPI::Checkout?

Doesn't look like it has been added.
I think this would be the code:
module ShopifyAPI
  class AbandonedCheckout < Base
    self.element_name = 'checkout'
  end
end

@maartenvg right now I'm grabbing Checkouts and looking for open ones that are over a certain age, but that feels hacky

@orenmazor ShopifyAPI::Checkout is indeed the correct resource to use, and even though they are referred to as "abandoned checkouts" if you look at the request URL it's /admin/checkouts.json. It's one of the simpler resource APIs, with only a count and get all request.
Shopify considers a checkout as "abandoned" the instant that someone has entered their shipping/billing information, which makes sense from a logic perspective, since there is no way programmatically to determine whether a person has "abandoned" an order (to be sure you'd have to call them up and ask, and even then they might lie, ha ha).
Instead, you make your own determination as to when an order is considered "abandoned" based on your requirements, logic, and experimentation. Considering existing (non-completed) checkouts over a certain age as being "abandoned" is a good solution in general.

@orenmazor oh, I'd be remiss if I didn't add that the Shopify APIs & Technology forum is the best and preferred place to post these sorts of question 😄

Gotcha thanks.
Re the forum, I prefer to ask here because depending on the answer, I may need to make a pull request and having the traceability of the issue helps in code reviews and context.

@maartenvg I can pr that change if you guys want it, but it sounds like it's an opinionated addition to an otherwise unopinionated gem.

No, I was wrong. The abandoned checkouts endpoint is called /admin/checkouts so the existing checkout.rb should already work.

Cool, no worries! the api doc was just misleading me into thinking these are two separate things. I'm sure it's just @jbruton's fault tbh

closing because answered

Hello, are there certain parameters that need to be passed on the ShopifyAPI::Checkout.all query in order to return ONLY abandoned checkouts? I am having a hard time separating abandoned checkouts from all the remaining checkouts.


Continuously getting duplicate push notifications for React native FCM

I keep on getting same Push Notification for single trigger from server.
I am using react-native-fcm(v13.x) for implementing PN on android. I am facing this issue on only some android devices(One Plus 5 and Samsung s5). [It is a device-specific issue. It works fine on some of the phones]
I have ensured following things :

I am not registering listeners multiple times
I have tried moving the code to another component
There is no other receiver in AndroidMenifest file
The server is sending a single notification for a single request from the app
React-native - 0.48.4

The issue occurs in both foreground and background mode.

try reproduce with FCM's native SDK.
have you installed multiple apps using this library?

I am using the library for 2 apps. But they are not installed together on a single device. These devices have a single app only. Can it still be a trouble?

then try reproduce with FCM's native SDK.

The issue got fixed. Unsure of the cause and resolution. Here is the combination which worked for me :
a) Removed dexOptions from build.gradle
b) Downgraded the react-native-fcm to v8.0.1 from 10.0.3 .
c) Changed version code
You can close the issue @evollu. Thanks for your help! :)

Its because of react-native link.
step 1:  react-native unlink react-native-fcm
step 2:  follow manual configuration
It solved my problem

Please check settings.gradle file
My issues:- I was calling this twice
include ':react-native-fcm'
project(':react-native-fcm').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fcm/android')
check this ones

@Kunalpaul12  thanks your solutions works


QUICKSTEP-112 Get the list of referenced base relations

Find the base relations that are referenced in a query.
The referenced relations are stored in the QueryHandle.
Separate method to just get this list of relations, without needing to fully optimize the query.

Hi @jianqiao
Addressed your review comments. Thanks!

LGTM! Merging.


dns resolve during image build

dns-proxy-log.txt
Hi,
I am using docker eclipse tooling to connect with the remote docker instance using TLS.
The docker build RUN could not resolve dns for command "apt-get install package".
Here is the error shown by dns-proxy-server
18-04-03 06:42:00.016 DEB id=53, m=handleQuestion status=not-resolved, solver=proxy.DockerDnsSolver, err=hostname not found opqobwuqbukhds
18-04-03 06:42:00.016 DEB id=54, m=handleQuestion status=not-resolved, solver=proxy.DockerDnsSolver, err=hostname not found jqwjuxddshtl
Any workaround.  If I stop the dns-proxy-server, docker build could resolve the DNS.
I have attached the complete log.
Thanks.

@johnbritto1 Sorry for the too late answer

Which package are you trying to install?
Other command like apt-get update works great?
Are you using DPS at your local machine or at the remote server?

opqobwuqbukhds sounds like a local hostname, I don't think it's related to apt-get. I saw the only one debian server question was successfully answered
18-04-02 15:34:21.039 DEB id=19, m=handleQuestion status=resolved, solver=*proxy.remoteDnsSolver, alength=5, answer=deb.debian.org.	3599	IN	CNAME	static.debian.org.

You could try add a custom DNS server (you can get some taking a look at /etc/resolv.conf) at config file /opt/dns-proxy-server/conf/config.json
{
    "remoteDnsServers": [[0,0,0,0]]
}

Regards

Hello Mageddo,
Thanks for reply.
To answer you questions.

The build script could not pass after running apt-get update.
I use DPS on remote server.

After adding the dns-server entry in /etc/docker/daemon.json file..
"dns": ["<IP_ADDRESS>", "<IP_ADDRESS>"],
the issue resolved.
Thanks,
John

Thanks for sharing the solution, it would be helpful in the future

I'm also had this problem after setting up the dns-proxy-server.
@mageddo do you have any idea of what's causing it?


ant: consider violations in cut layers for repair_antennas

Partially fixes https://github.com/The-OpenROAD-Project/OpenROAD/issues/5325
The ant API was not returning violations related to CUT layers, leading to the mismatch between the repair_antennas report and the check_antennas report. This simple update fixes it, and the mismatch reported in the issue is not happening anymore (all violations are fixed).

What does it mean to have a violation on a cut layer?

I'm ok with this as a solution to the current problem but separately I want to clarify what the checker is checking.

What does it mean to have a violation on a cut layer?

The violation that repair_antennas wasn't seeing was a PAR violation in the cut layer via4. The calculated PAR on that layer was higher than the allowed. We were not checking the cut layers in the ant code, so repair_antennas never knew such a violation existed. Now, we are returning PAR violations on both routing and cut layers.

I'm ok with this as a solution to the current problem but separately I want to clarify what the checker is checking.

Does my last comment clarify this or do you have other questions about the ant check?

I didn't think we have par/car values on cut layers.  Is there a PDK that has those?

I didn't think we have par/car values on cut layers.  Is there a PDK that has those?

The design that had the violation was sky130hd/ibex. I didn't check the LEF, but I believe I also saw PAR values in cut layers for ihp platform.

Here's the LEF definition for via4 in sky130hd:

You would think the area on the cut layer would be rather small.  I guess such violation occur based on this PR but I'm surprised.


Add module interface printing test with non-trivial pattern binding initializer

A stored property can be part of a pattern binding entry whose pattern
declares multiple bindings with a single initializer, for example:
struct S {
  let (x, y) = (0, 0)
}

Make sure these round-trip correctly.

@swift-ci Please smoke test

@swift-ci Please smoke test Linux


Some fixes

Fix some typo, improve code quality and etc.

Thank you for your commits!

Thanks, created another PR https://github.com/ibireme/YYKit/pull/16


Update aliases.mdx

Description (required)
Currently I think the change in tsconfig.json is not picked up by the dev server, which can be confusing.
Not sure if it's a limitation of Astro or Vite but anyway the doc could mention it
Related issues & labels (optional)

Closes #
Suggested label:

I did not faced alias changes affecting the development server, it can also be because I am using existing themes from astro.build with nothing much todo in tsconfig file

Hey @eric-burel thanks for opening a PR on this! I tried reproducing this locally, but I couldn't get it to break. The dev server is restarting, and types are updating when I make changes to tsconfig.ts. Even though this doesn't seem to be an issue, the docs could be more explicit about the dev server restarting when making these changes. I am going to approve Sarah's suggestion and merge this, thanks again! 🚀


Define grpc service for communication layer

Define the minimal protocol so that a client (a user) can store and load data based on an ID from a server (remote)

We built a very basic grpc service definition. We already generated both server and client for rust (and other clients for other languages)
Implementation of the service itself is not complete yet.


Allow to customize the SQL search query with Closure

Notice: This pull request is a refactoring of my initial pull request
Use case:
// You can customize the SQL query here:
App\Order::getModel()->searchableUsing()->extendQuery(function ($query, $bindings) {
    return $query->addSelect('name');
});
$orders = App\Order::search('Star Trek')->raw();

@pmatseykanets Can you comment or review this pull request, please?

@tortuetorche With #20 it can be done in the builder callback here, but I'm hesitant rushing into doing so. One of the reasons there is no obvious ordering for $bindings. Depending on what you're doing with the $query in the callback you may need to prepend, append or completely reorder binding values.

Agreed, the binding values need to be manipulating with precautions.
But I think, it's the responsibility of the developer to handle correctly the $bindings variable.
And this feature is only for advance usages, e.g. using faceted search
So to handles correctly binding we can do this:
App\User::getModel()->searchableUsing()->extendQuery(function ($query, $bindings) {
    return $query->addSelect('name')
      ->where('organization_name', $bindings->push('GitHub'))
      ->whereIn('role', [$bindings->push('admin'), $bindings->push('moderator')])
      ->where('gender', $bindings->push('male'))
      ->where('active', $bindings->push(true))
      ->whereYear('created_at', '>', $bindings->push(date('Y') - 2));
});
$users= App\User::search('Peter')->raw();

Or more simplier:
App\User::getModel()->searchableUsing()->extendQuery(function ($query, $bindings) {
    $query->addSelect('name')
      ->where('organization_name', 'GitHub')
      ->whereIn('role', ['admin', 'moderator'])
      ->where('gender', 'male')
      ->where('active', true)
      ->whereYear('created_at', '>', date('Y') - 2);

      // NOTICE: this code could be moved to: https://github.com/tortuetorche/laravel-scout-postgres/blob/23ec3e43429dcbbd58762031e9d5de5ab8f3200f/src/PostgresEngine.php#L289
      foreach ($query->getBindings() as $binding) {
          $bindings->push($binding);
       }

       return $query;
});
$users= App\User::search('Peter')->raw();

Closing in favor of https://github.com/pmatseykanets/laravel-scout-postgres/pull/21


Windows OpenGLES 2 does not work.

If anyone has a solution for this issue, please tell me what I am doing wrong.

I discovered that I could use Mesa LLVMpipe for the renderer. Yes, it is software, but it is better than no graphics.
The second and best option for performance is ANGLE which could translate OpenGLES 2 calls into Direct3D calls. Although, I had trouble with this, because I could not find instructions on how to compile it on Linux with MinGW-w64.
I could also use this for my other compiles, but Windows definitely needs a renderer.
This is the source https://wiki.qt.io/Cross_compiling_Mesa_for_Windows

Is this issue still current?

Yes, unfortunately.
I did not try compiling Mesa yet.
I attempted to get OpenGL working normally using MinGW-w64, GLEW, SDL2, and OpenGL 2 or OpenGLES 2. Non of them seems to be working so far. The executables with graphics seems to just crash for various reasons.
I tried to make the graphics initialization code work better. Before where just hacks to get them to work.
I am now going to try this cross compilation again.

I got an idea, but my time is tight for this early week unfortunately.
Rather than trying to get my project to run with OpenGL, I will try to simply get an another SDL Windows compilation to be done using this YouTube video "[Setup] SDL Windows Setup with Mingw and Simple OpenGL Application | Introduction to SDL2" from Mike Shah. After I get this SDL2 complied and working, I will try to work on this project again using Glad. If this works I will use Glad rather than GLEW instead because it seems to come with the things I need due to it being configurable.
Again it will take me a few days to do, and this is mostly because my time is tight. I will start it when I have enough free time.

Is this issue still current?

This setup worked. I made a few mistakes. First, I naively though that MinGW would make projects that would always run on Wine. Well, I can confirm after debugging something about missing Windows functions I concluded that Wine version that I am using 5 does not support it. I do not know if they resolved this issue, but I do know that it works on Windows.
I simplified the compilation of my project for all platforms. GLEW is removed because it is no longer needed. Now, I am using Glad 2 now. I am happy that this build is finally almost done.
Now, I have a few problems preventing me from releasing the actual Windows version.
First is deciding which OpenGL32.dll to include. Preferably, I would like to include an OpenGL32.dll that I trust.
The other more pressing issue is that SDL2 is not giving Window borders to the two programs. Without these Window borders then it would be annoying for the user to turn off my programs.
I think there is something wrong with the SDL2 library that I am using. I wander if I am compiling them correctly.

I got OpenGL ES 2 and OpenGL 2 working with this project.
I however failed to get the software renderer working with my project sadly.


modify banner.jsx

Resolved Issue #956
Description
Earlier Banner.jsx is not responsive
Before
https://github.com/priyankarpal/ProjectsHut/assets/101205226/514e667c-f134-4f14-a885-03ecaf995ba6
Now
https://github.com/priyankarpal/ProjectsHut/assets/101205226/4be2cb5b-7981-4a5f-bc87-8637e56ceb23

could fix this issue?

Yeah sure

could fix this issue?

Hi @priyankarpal can you provide me the screen size ?

could fix this issue?

Hi @priyankarpal can you provide me the screen size ?  As i am not able to find the issue

could fix this issue?

Hi @priyankarpal can you provide me the screen size ?  As i am not able to find the issue

1920 x 1080

@priyankarpal I am not able to find the issue in the given screen size but i have made some changes .
Review it once

@priyankarpal I am not able to find the issue in the given screen size but i have made some changes . Review it once

yeah, still the same. can we make the image center?

Yeah we can

Can you elaborate the changes you want?

@priyankarpal I am not able to find the issue in the given screen size but i have made some changes . Review it once

yeah, still the same. can we make the image center?

Yeah we can

Can you elaborate the changes you want?

like this

@priyankarpal I am not able to find the issue in the given screen size but i have made some changes . Review it once

yeah, still the same. can we make the image center?

Yeah we can

Can you elaborate the changes you want?

like this

For all screen sizes or only for 1920 x 1080 ?

@priyankarpal I am not able to find the issue in the given screen size but i have made some changes . Review it once

yeah, still the same. can we make the image center?

Yeah we can

Can you elaborate the changes you want?

like this

For all screen sizes or only for 1920 x 1080 ?

for all

Hi @priyankarpal I try to make the image center but when i apply the changes its not looking great and also the image breaks many times .
The existing design of banner is fit with the website so I resolve the previous of issue
Review it once


changes in 'our pledge' section

I have modified the "our pledge" section.

I tried contributing to a project for the very first time, so kinda inexperienced. Open to suggestions if you have any :)


Alert when results exceed maximum download size.

The results are stored in the href which has a limit of 524288 characters.
This will need refactoring to download as a file.

Brilliant!


spideroak: 6.1.9 -> 7.0.1

Motivation for this change
Update version.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

/cc @neilmayhew

@GrahamcOfBorg build spideroak

No attempt on x86_64-linux
The following builds were skipped because they don't evaluate on x86_64-linux: spideroak
No log is available.

No attempt on aarch64-linux
The following builds were skipped because they don't evaluate on aarch64-linux: spideroak
No log is available.

Works for me on 17.09. Thanks for doing this.


master: Update supervisor to v6.3.6

Change-Type: patch

@resin-jenkins retest this please

@resin-jenkins retest this please


how to use britecharts without npm/require/umd

I don't have any npm/require/umd.
how can I use britecharts the old fashioned way?
I want to add a

It is a bit buried in an i-frame of the CDN demo page...   but check the source here:  https://eventbrite.github.io/britecharts/cdn-iframe.html
Also read through #196
The question I have is if there are any differences between the use of the CDN version and the fully documented API?

Hi @ehartford, thanks for the issue!
As @mmartimo rightly pointed out, you can check at the end of the comments on that issue, that will suggest you to use:
 <script<EMAIL_ADDRESS>type="text/javascript"></script>
This script will attach a britecharts object to your window object in JavaScript. This will contain all the charts of britecharts. Check also the CDN example code in https://github.com/eventbrite/britecharts/blob/master/src/doc/html/cdn-iframe.html
@mmartimo, regarding the differences between the CDN version and the UMD version, at this moment the difference are some naming (we are going to fix that in #302). Also maybe you get some differences due to the fact that the CDN version is the one of the last release, while the docs describe the latest commit of the project. I will release soon, so this difference will be less.

Maybe we should move the burried demo page back out. it didnt use to be hidden down there. Or put a link somewhere more prominent on the main demos page.

@ehartford, did this solution work for you?

yes, thank you!
On Mon, Jul 17, 2017 at 5:17 PM, Marcos Iglesias<EMAIL_ADDRESS>wrote:

@ehartford https://github.com/ehartford, did this solution work for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eventbrite/britecharts/issues/306#issuecomment-315920504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEOBSvO0i9zAH2guw51TC5fQmVQ666Fks5sO_gVgaJpZM4OU2Tn
.

Thanks for opening this issue, @ehartford . Would love to see the source (https://github.com/eventbrite/britecharts/blob/master/src/doc/html/cdn-iframe.html) linked to on the demo page (https://eventbrite.github.io/britecharts/cdn.html)

Hi @zfrenchee,
There is a link to that demo page in our homepage.
Cheers


Attempt to find optimistic transactions using incoming transactions from the network

This new strategy has been running in production now for all our indexers for a few months. I'm going to consider it stable enough at this point to go into main.


Cant Run it

Hello.
I am new to Lua and as so i am trying to get some scripts together in order to make ''my game style''
I have searched a lot on MTA community forums and everyone says your scripts are good.
Following that path i downloaded your project GTW-RPG in order to try it to check if i can use some of the scripts contained in this GM. Such as Job Script.
I copied all files to a folder to /deathmatch/resources and i changed mtaserver.conf in order to startup from this package. I cant get it to run.
Help please.
When i do refresh it says it cannot find meta for this resource.
Do i have to place it individually and add 1 by 1 to the metaserver.conf?
thanks in advance

Actually there's a file in the resources folder of the MTA server itself called "folderlayout.txt" have a look at that. What it says is basically that a folder is considered as a resource, but a folder surrounded by square brackets is considered as a folder. So what you have to do is to copy the files from /resources of this project into your resources folder in your MTA server.
All resources (folders with a file named "meta.xml" in it) has to be listed in the file: "mtaserver.conf" as well. This is because it isn't an official game mode yet, more of standalone resources. On our own servers we have the project on a different location using a shell script to copy the files to any local server available as we run multiple servers.
We are working on a solution for that however, like rename "resources" and "maps" to "[resources]" and "[maps]" respectively, then publishing the part of the config file as well. But until then the above described way is the only way if you wish to run all resources. I also recomend you to have a look at this: https://wiki.multitheftauto.com/wiki/Resources if you haven't done it yet. Good luck :)

Good morning sir. Understood.
I will start one resource at a time with it required dependencies if it is
The case. I started fastfood and topbar and yep its working however The
menu is allways opened even outside The restaurants and its not creating
peds inside the restaurants as i think it should. Am i doing something
wrong?
Regards

Peds are handled by GTWrob and to make the GUI work properly you need to load GTWgui before anything else. That and the topbar should alway be loaded before anything else.

Thanks once again. GUI working good now.
However restaurants are not created. only show blips at map & radar.
i followed your directions. what am i doing wrong?

You need the default resource interiors. Type "/start interiors" and enjoy.

I am using other interiors from fairplay-roleplay. it will bug. wont it?

Done! I was able to merge the interiors.
i just deleted everyone except Restaurants from interiors (resource) -> interiors.map.
However i still got a question for you my friend.
is there any simple way to change the prices or just by reediting your script?
I managed to find the prices on the script however they appear lots of times during the script and i am afraid i'll break the code.
I think they are too cheap.
Thanks in advance.
And really GOOD job on this scripts.
Question Number 2 i read somewhere about your job plugin.
Is it complete?
can you spare me the link?
Have a nice day bro

Check the file data.lua, line 159 and 163. There are two tables there named prices and health, those basically contains a list with 4 items each informing any restaurant, no matter what menu they got how much it will cost and how much the health will go up.
On question number 2 I recommend you to read the documentation: https://github.com/GTWCode/GTW-RPG/tree/master/resources/GTWcivilians, it clearly says that the job system only manage the jobs by setting team and occupations. There is a rental/job vehicle system under construction on our development servers which hasn't been included here yet but that one manage all the vehicles for any job obviously.
The actual missions during the jobs are located in individual resources, not yet published either, except for farmer and fisher as those require people to use their own vehicle which can be provided by GTWvehicleshops. Try those for a preview in how it works or visit our public development server: mtasa://s4.albonius.com:22005

Thank you very much sir.
I will keep your scripts under sight.
I am merging some of your scripts with Fairplay - RPG available here on GitHub.
Hope you dont mind.
I am amateur coder, new to Lua. Still cant script anything on my own :)
I will in the future Hope
Cheers

Hello good evening, I came here to say you're doing a great job making scripts on that level and releasing them, wanted to report a bug with the mod of the mechanical grip when '' X '' he does not open his gui by clicking the car can not messing in other resources with the cursor. It would be a bug or installed wrong?
Sorry for bad english =D

guilherme15s. Did you start the following resources?
GTWgui
GTWmechanic

AlphabetoPT, Feel free to keep us updated with your work regarding the merging of GTW-RPG with fairplay. If it's possible without to much work we might take a look at some kind of official support for that.

Actually I was doing something wrong, I stopped all my resources and I left running and only they worked perfectly. Thanks anyway
Got a tip for police work, which is like the mechanic who is following the officer presses a button and click on the player to see the type of crime he committed or that type of infringement he made with the car.


[v8] build failure

Host Environment

OS: Windows 10 20H2
Compiler:  Visual Studio 2019 16.8 MSVC 14 (Latest) x64

To Reproduce
Steps to reproduce the behavior:

./vcpkg install v8:x64-windows
Create C++ Console Application on VS2019, switch target to Debug, x64.
Replace with the following expected working code:

#include <v8.h>
#include <libplatform/libplatform.h>

int main(int argc, char** argv)
{
	using namespace v8;
	V8::InitializeICUDefaultLocation(argv[0]);
	V8::InitializeExternalStartupData(argv[0]);
	std::unique_ptr<Platform> platform = platform::NewDefaultPlatform();
	V8::InitializePlatform(platform.get());
	V8::Initialize();
	Isolate::CreateParams create_params;
	create_params.array_buffer_allocator = ArrayBuffer::Allocator::NewDefaultAllocator();
	Isolate* isolate = Isolate::New(create_params);
	{
		Isolate::Scope isolate_scope(isolate);
		HandleScope handle_scope(isolate);
		Local<Context> context = Context::New(isolate);
		Context::Scope context_scope(context);
		Local<String> source = String::NewFromUtf8(isolate, "'Hello' + ', World!'", NewStringType::kNormal).
			ToLocalChecked();
		Local<Script> script = Script::Compile(context, source).ToLocalChecked();
		Local<Value> result = script->Run(context).ToLocalChecked();
		String::Utf8Value utf8(isolate, result);
		printf("%s\n", *utf8);
	}
	// Dispose the isolate and tear down V8.
	isolate->Dispose();
	V8::Dispose();
	V8::ShutdownPlatform();
	delete create_params.array_buffer_allocator;
}

However, #include <v8.h> won't work, as v8 installed into include/v8.h, which is a little bit confusing, and need user to manually add path E:\vcpkg\installed\x64-windows\include\include to project include paths, otherwise the libplatform can't find its includes.

Let's continue with adding the path to project, click on Build.

已启动生成…
1>------ 已启动生成: 项目: regression, 配置: Debug x64 ------
1>main.cpp
1>regression.vcxproj -> E:\Work\ixwebsocket_regression\x64\Debug\regression.exe
========== 生成: 成功 1 个，失败 0 个，最新 0 个，跳过 0 个 ==========

It should build successfully, however, let's take a look at build output folder.

The file snapshot_blob.bin is not being copied to the output folder, and need user to manually copy from E:\vcpkg\buildtrees\v8\x64-windows-rel or E:\vcpkg\buildtrees\v8\x64-windows-dbg, is there any method to do this automation?

5. Let's continue by copy the file to the folder, and run it from powershell.
PS E:\Work\ixwebsocket_regression\x64\Debug> ./regression.exe

#
# Fatal error in ../src/15c22b1cff-c34597ce8b.clean/src/api/api.cc, line 5696
# Embedder-vs-V8 build configuration mismatch. On embedder side pointer compression is DISABLED while on V8 side it's ENABLED.
#
#
#
#FailureMessage Object: 000000030D0FEE90
==== C stack trace ===============================

        v8::base::Time::ToFiletime [0x00007FFBF09A6DEB+151275]
        v8::platform::DefaultForegroundTaskRunner::HasPoppableTaskInQueue [0x00007FFBF92C32C2+71519]
        v8::base::Time::ToFiletime [0x00007FFBF09920B7+65975]
        v8_inspector::V8StackTrace::V8StackTrace [0x00007FFB9F9D6575+10644743]
        v8::V8::Initialize [0x00007FF62D022780+176] (E:\vcpkg\installed\x64-windows\include\include\v8.h:9655)
        main [0x00007FF62D022F08+264] (E:\Work\ixwebsocket_regression\main.cpp:12)
        invoke_main [0x00007FF62D023A19+57] (d:\agent\_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79)
        __scrt_common_main_seh [0x00007FF62D0238BE+302] (d:\agent\_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
        __scrt_common_main [0x00007FF62D02377E+14] (d:\agent\_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331)
        mainCRTStartup [0x00007FF62D023AA9+9] (d:\agent\_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17)
        BaseThreadInitThunk [0x00007FFC4EAA7034+20]
        RtlUserThreadStart [0x00007FFC50A7D0D1+33]

It says Embedder-vs-V8 build configuration mismatch. On embedder side pointer compression is DISABLED while on V8 side it's ENABLED., which is also solveable by adding a macro V8_COMPRESS_POINTERS to project predefined symbols setting.

6. Let's continue by rebuilding the program with V8_COMPRESS_POINTERS.

Finally, we successfully run V8.

Should be a port bug, @Kwizatz can you please take a look?
Thanks.

Should be a port bug, @Kwizatz can you please take a look?
Thanks.

@cnSchwarzer Are you configuring your project with CMake? If so, post your CMakeLists.txt file, if not, look for a file named V8Config.cmake somewhere under the installed folder, it may give you some hints on what flags to use.

@cnSchwarzer Are you configuring your project with CMake? If so, post your CMakeLists.txt file, if not, look for a file named V8Config.cmake somewhere under the installed folder, it may give you some hints on what flags to use.

Also you may want to look at #13500 for some example usage of the configuration script.

Also you may want to look at #13500 for some example usage of the configuration script.

@Kwizatz No, I am not using cmake, I'm using vcpkg directly from vcxproj/msbuild.
Is that mean that the integration of this developing method cannot automatically does these jobs? (Copy snapshot_blob.bin, add E:\vcpkg\installed\x64-windows\include\include to include paths, and add compiler flag)
By the way, i think a port should not put include files in a folder named include, could we rename it from E:\vcpkg\installed\x64-windows\include\include to E:\vcpkg\installed\x64-windows\include\v8?

@Kwizatz No, I am not using cmake, I'm using vcpkg directly from vcxproj/msbuild.
Is that mean that the integration of this developing method cannot automatically does these jobs? (Copy snapshot_blob.bin, add E:\vcpkg\installed\x64-windows\include\include to include paths, and add compiler flag)
By the way, i think a port should not put include files in a folder named include, could we rename it from E:\vcpkg\installed\x64-windows\include\include to E:\vcpkg\installed\x64-windows\include\v8?

@Kwizatz This type of project.

@Kwizatz This type of project.

Correct, using cmake's find_package(V8)  should provide you with a set of variables to add to your include path, library path, and snapshot location so you can automate all with CMake.
I don't know if vcpkg supports something else TBH.
The include path issue can be worked around by adding the path to the include path in the project settings for the compiler, again, CMake does this for you. The problem with changing this is that this is how it is in V8, changing it may break code that already expects it to be like this.

Correct, using cmake's find_package(V8)  should provide you with a set of variables to add to your include path, library path, and snapshot location so you can automate all with CMake.
I don't know if vcpkg supports something else TBH.
The include path issue can be worked around by adding the path to the include path in the project settings for the compiler, again, CMake does this for you. The problem with changing this is that this is how it is in V8, changing it may break code that already expects it to be like this.

@Kwizatz This type of project.
Right, that type of project requires you to set everything manually 😕

@Kwizatz This type of project.
Right, that type of project requires you to set everything manually 😕

@Kwizatz Thanks, it seems that I need to learn how to use cmake ^_^. This issue is solved now?

@Kwizatz Thanks, it seems that I need to learn how to use cmake ^_^. This issue is solved now?

No problem. 👍
Yes I think that may be too complicated, though I am not sure how well integrated VS is with CMake and vcpkg. I usually generate the solution and project files directly with CMake and then open the solution file with VS.

No problem. 👍
Yes I think that may be too complicated, though I am not sure how well integrated VS is with CMake and vcpkg. I usually generate the solution and project files directly with CMake and then open the solution file with VS.

Thanks @Kwizatz !

Thanks @Kwizatz !


Update fix-html-snapshot.js

When test fails it always gets snapshot.source as undefined, leading to displaying this error of replace is not defined in undefined rather then showing initial cause of error in failed test. probably we need to make sure snapshot always have source, even empty one returned when it's created, but it's easier fix, considering i'm not aware of whole codebase yet.
I used playwright with chromium, strange thing but in lib/codeceptjs/reporter-utils.js in takeSnapshot snapshot doesn't have source set, so my proposed change probably should be better done within  this function, setting at least empty string as value to source.

Thanks!


can't find block

Hiho i have big problem.
Im using a mpos and my pool (pool.zaplnc.pl) can't find block, cronjobs are good all in monitoring on green.
When is probably bugs ?

Not a bug. Depending on the coin, block chain, difficulty and many other factors this can take a while.
Confirm your wallet has found any blocks that MPOS didn't pick up first, if you need help on that check for the commands in the coind to list all discovered blocks.

Also check crons log files.
It could also be instant orphaned blocks. Then they won't show up fast enough for MPOS to calculate them and mark them as orphan too (no coins for those). Then it looks like a very long round.
I have no track of all these coins being created out there but make sure that this one is supported. Most of the coins are :-)

On my pool is:
SALT or SALTY is too short, they should be more than 24 characters and changing them will require registering again
Own   Pool
Valid
9,424	12,852,656
Invalid
0	909,920
Efficiency
100.00%	93.39%
in monitoring all okey
What now ?:<

Check what I mentioned in my first and second comment.

On my pool 1 person have 80 mhash (more than nethashrate) and don't find any blocks ?

You still haven't check my original questions:

What does your local coind say about your recent transactions? Does your coind say it found blocks that MPOS didn't pick up?
If yes, what do the logs say?

Where i can check this ?

As I said, check your coind commands and maybe ask for help from the coin developers.
MPOS hasn't had any issues with picking up blocks for a year so it's very unlikely it's a bug. You should double check the coind is running and working properly with your stratum.

On p2p pool it's work fine :P
In AP > Wallet info cant see address od wallet hmm

Maybe this coin isn't supported for your stratum? Would be weird to show accepted shares but never solve a block but certainly not impossible.
Maybe find other pool operators running the same coin and find out what needs to be done to make it work - if at all.

It works with the MPOS, only i have a problem: <
Do you have a digger? You can check this?

If it works with MPOS, since you say others run it, how could it be a bug? It's more likely a problem with your Stratum/CoinD/MPOS setup - or you simply aren't running crons every minute.
I am not giving personal support, neither paid nor free. If you need assistance try IRC or other pool operators running this or any other coin. I am not actively developing MPOS anymore, only doing some basic maintenance if time allows.


Mod filename clarity

It's sometimes hard to pick out a mod in the mod files list/folders list due to the name being obfuscated with author names that ruin sort order and abbreviations that remove direct communication.
Some examples of hard-to-understand names are "OHU drop ships" which can't be found under the reasonable expectation of "drop ship," "MF A16," which gives almost no information that leads a person to understand -- let alone find -- that it is the "More Floors" mod, "RD floorBeautyRebalance" which can't be found under "floor," and "JTReplaceWalls" which isn't sorted to "replace walls."
An example of easy-to-understand naming is "Rimsenal - Federation," part of a series of Rimsenal mods in an expected place.

How is "Quarry" hard to understand? It's a mod that adds a quarry