Fails to connect and advertise together

When running mac_adv it all seems to work, goes through initialising, but then falls in a great big heap with a "Command Disallowed" error when it gets to advertising. ws-slave appears to connect to the device and then immediately disconnects.
Gattacker is advertising (I can see it from my phone), but it loses its connection to the device.
Output from mac_adv:
[root@mictlan gattacker]# ./mac_adv -a devices/3ca308c1aaa3_BS01.adv.json
Advertise with cloned MAC address
Ws-slave address: <IP_ADDRESS>
peripheralid: 3ca308c1aaa3
advertisement file: devices/3ca308c1aaa3_BS01.adv.json
EIR: 02010609ff01023ca308c1aaa30302e7fe
scanResponse:<PHONE_NUMBER>31051250002003020a00
on open
poweredOn
Noble MAC address : 3c:a3:08:c1:aa:a3
BLENO - on -> stateChange: poweredOn
initialized !
Static - start advertising
on -> advertisingStart: error Error: Command Disallowed
Adv error  Error: Command Disallowed
    at Gap.onHciLeAdvertiseEnableSet (/home/dave/node_modules/gattacker/lib/bleno/lib/hci-socket/gap.js:201:15)
    at emitOne (events.js:116:13)
    at Hci.emit (events.js:211:7)
    at Hci.processCmdCompleteEvent (/home/dave/node_modules/gattacker/lib/bleno/lib/hci-socket/hci.js:539:10)
    at Hci.onSocketData (/home/dave/node_modules/gattacker/lib/bleno/lib/hci-socket/hci.js:427:12)
    at emitOne (events.js:116:13)
    at BluetoothHciSocket.emit (events.js:211:7)

Output from ws-slave:
ws -> send: {"type":"stopScanning"}
ws -> send: {"type":"initialized","peripheralId":"3ca308c1aaa3"}
ws -> send: {"type":"connect","peripheralId":"3ca308c1aaa3"}
ws -> send: {"type":"disconnect","peripheralId":"3ca308c1aaa3"}
ws -> send: {"type":"initializeStatus","peripheralId":"3ca308c1aaa3","status":"waiting with reconnect to target device for client connection to bleno..."}

Hi,
looks like you are running both ws-slave and advertise on the same box. I would not recommend such setup, the kernel mismatches interfaces at low level (haven't debugged it yet...), even if you configure them properly in config.env (bleno = adv, noble=ws-slave).
The "Command Disallowed" happens for example when you try to connect using the interface that already advertises at the same time. Also your "Noble MAC address" (the "ws-slave" one, that connects to original device) has the same MAC as the target device. Try changing the MAC of the advertising adapter, not the one used as client (ws-slave).
Could you try using separate systems for ws-slave and advertise - e.g. separate VM, or Raspberry (setup the ws-slave IP in config.env)?

Just to confirm that something is wrong with the very same type of lock...
Of course, my setup is:
Laptop with one supported BLE dongle, running node scan and mac_adv
VM with one supported BLE dongle, running ws-slave

./mac_adv -a devices/c8df842b90bb_BS01.adv.json -s devices/c8df842b90bb.srv.json
Advertise with cloned MAC address
Ws-slave address: <IP_ADDRESS>
peripheralid: c8df842b90bb
advertisement file: devices/c8df842b90bb_BS01.adv.json
EIR: 02010609ff0102c8df842b90bb0302e7fe
scanResponse:<PHONE_NUMBER>31051250002003020a00
BLENO - on -> stateChange: poweredOn
on open
poweredOn
Noble MAC address : 00:01:95:40:c8:f6
initialized !
Static - start advertising
      target device connected
on -> advertisingStart: success
setServices: success
 <<<<<<<<<<<<<<<< INITIALIZED >>>>>>>>>>>>>>>>>>>>
Client connected: 56:b4:8b:5c:6f:27
<< Read DATA error 1800 (Generic Access) -> 2a00 (Device Name )
/root/Desktop/gattacker_default/lib/bleno/lib/hci-socket/gatt.js:828
            callbackResponse = this.errorResponse(requestType, valueHandle, result);
                                                  ^

ReferenceError: requestType is not defined
    at Gatt.<anonymous> (/root/Desktop/gattacker_default/lib/bleno/lib/hci-socket/gatt.js:828:51)
    at /root/Desktop/gattacker_default/advertise.js:440:28
    at wsClient.<anonymous> (/root/Desktop/gattacker_default/lib/ws-client.js:241:7)
    at Object.onceWrapper (events.js:325:23)
    at emitMany (events.js:152:20)
    at wsClient.emit (events.js:224:7)
    at wsClient.onMessage (/root/Desktop/gattacker_default/lib/ws-client.js:141:10)
    at emitTwo (events.js:126:13)
    at WebSocket.emit (events.js:214:7)
    at Receiver.ontext (/root/node_modules/ws/lib/WebSocket.js:841:10)

Hi,
it looks like the spoofing part (advertise) correctly emulates the device and also ws-slave part connects to original one. Next, mobile phone connects to spoofed device, and tries to read device name characteristic (2a00). This request is forwarded to ws-slave which in turn tries to read the characteristic from original device, and now there is some kind of problem. The "Read DATA error" means that the ws-slave component had some trouble receiving data in response to GATT read.
Such error can happen for example when the characteristic is secured (requires pairing/bonding) - what is not currently supported by GATTacker. Is your device in "paired devices" list of Bluetooth settings of your phone by any chance?
But the reason of this error may also be different. In order to debug what actually happens, we can try to:

Read this device name characteristic using other tool - e.g. gatttool, also from the same box+interface that ws-slave fails to do it in nodejs:

gatttool -I -b <target MAC> (-t random if needed)
[MAC][LE]> connect
(MAC turns blue)
[MAC][LE]> char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb

Dump hci on the ws-slave interface during this process, and inspect the packets in Wireshark:
hcidump -i hci0 -w dump.pcap
For example in case there is "insufficient authentication" response it indicates the secured characteristic.

~/# gatttool -I -b c8:df:84:2b:90:bb -i hci0
[c8:df:84:2b:90:bb][LE]> connect
Attempting to connect to c8:df:84:2b:90:bb
Connection successful
[c8:df:84:2b:90:bb][LE]> char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb
[c8:df:84:2b:90:bb][LE]> char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb
[c8:df:84:2b:90:bb][LE]> char-read-uuid 00002a00-0000-1000-8000-00805f9b34fb
[c8:df:84:2b:90:bb][LE]> exit

(gatttool:4499): GLib-WARNING **: 02:39:45.325: Invalid file descriptor.

From an initial inspection of the pcap I can't see any auth issues.
Here attached for reference:
dump.zip

Your gatttool also does not read the characteristic value. How about other characteristics? In gatttool you can get list of all using characteristics command, and then char-read-hnd <handlenum>. In order to confirm it is not a problem with your Linux Bluetooth setup, can you also try to read the value of device name characteristic using e.g. nRF Connect mobile app?
There might be something wrong with device itself. If other characteristics are responding correctly, and the problem is just with this "device name", one way of circumventing it would be to create a static value hook for this characteristic. Thus when the value is read by mobile app, the gattacker does not try to get this value from original device, instead simply responds with the static one. You can configure hook in device services json file (devices/.srv.json>), for the "2a00" characteristic. In this example "test" (74657374 in hex):
            {
                "uuid": "2a00",
                "name": "Device Name",
                "properties": [
                    "read"
                ],
                "value": "74657374",
                "descriptors": [],
                "startHandle": 2,
                "valueHandle": 3,
                "asciiValue": "test",
                "hooks":{
                   "staticValue" : "74657374"
                }
            },

Firstly, thanks for the precious suggestions. Are very helpful for anyone that wants to debug in depth eventual issues. :)
I made some quick checks, then later, I will try also your suggestion of editing the json file too.
Interestingly the 2a00 return empty field...
[c8:df:84:2b:90:bb][LE]> char-read-hnd 0x000b
Characteristic value/descriptor:

And NRF connect return empty response too for 2a00...

Full output of Gatttool:
:~/# gatttool -I -b c8:df:84:2b:90:bb -i hci1
[c8:df:84:2b:90:bb][LE]> connect
Attempting to connect to c8:df:84:2b:90:bb
Connection successful
[c8:df:84:2b:90:bb][LE]> characteristics
handle: 0x0002, char properties: 0x08, char value handle: 0x0003, uuid: 000036f5-0000-1000-8000-00805f9b34fb
handle: 0x0005, char properties: 0x10, char value handle: 0x0006, uuid: 000036f6-0000-1000-8000-00805f9b34fb
handle: 0x000a, char properties: 0x02, char value handle: 0x000b, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x000c, char properties: 0x02, char value handle: 0x000d, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x000e, char properties: 0x0a, char value handle: 0x000f, uuid: 00002a02-0000-1000-8000-00805f9b34fb
handle: 0x0010, char properties: 0x08, char value handle: 0x0011, uuid: 00002a03-0000-1000-8000-00805f9b34fb
handle: 0x0012, char properties: 0x02, char value handle: 0x0013, uuid: 00002a04-0000-1000-8000-00805f9b34fb
handle: 0x0015, char properties: 0x20, char value handle: 0x0016, uuid: 00002a05-0000-1000-8000-00805f9b34fb
handle: 0x0019, char properties: 0x1c, char value handle: 0x001a, uuid: f000ffc1-0451-4000-b000-000000000000
handle: 0x001d, char properties: 0x1c, char value handle: 0x001e, uuid: f000ffc2-0451-4000-b000-000000000000
[c8:df:84:2b:90:bb][LE]> char-read-hnd 0x000b
Characteristic value/descriptor:
[c8:df:84:2b:90:bb][LE]> char-read-hnd 0x000d
Characteristic value/descriptor: 00 00
[c8:df:84:2b:90:bb][LE]> char-read-hnd 0x000f
Characteristic value/descriptor: 00
[c8:df:84:2b:90:bb][LE]> char-read-hnd 0x0013
Characteristic value/descriptor: 50 00 a0 00 00 00 e8 03
[c8:df:84:2b:90:bb][LE]> exit
(gatttool:2438): GLib-WARNING **: 15:07:35.211: Invalid file descriptor.


Adding Fedora dependencies block in getting_started document

Hi
This is to fix https://github.com/hlissner/doom-emacs/issues/3035

Thanks!


Setup LOCALE_ID in provider without i18n building options

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.1.1
node: 7.7.3
os: darwin x64
@angular/common: 4.2.2
@angular/compiler: 4.2.2
@angular/core: 4.2.2
@angular/forms: 4.2.2
@angular/http: 4.2.2
@angular/platform-browser: 4.2.2
@angular/platform-browser-dynamic: 4.2.2
@angular/router: 4.2.2
@angular/cli: 1.1.1
@angular/compiler-cli: 4.2.2

Repro steps.
First of all, i don't want to use angular i18n logic from the box, because it's not cover some cases, i prefer ng2-translate. But anyway i wan't to use LOCALE_ID for Pipes because it's in core. And here is the problem:
Problem similar to #6618, But without using i18n angular translation build.
Heres is examples:
LOCALE_ID in AppModule
import {LOCALE_ID} from '@angular/core';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule
  ],
  providers: [{provide: LOCALE_ID, useValue: 'fr-FR'}],
  bootstrap: [AppComponent]
})
export class AppModule { }

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {

  title = 'app works!';

  constructor(@Inject(LOCALE_ID) locale: string){
    console.log('locale', locale);
  }

}

This works, fine in: ng serve,ng build, ng build --prod
And in console we get fr-FR value
If change provider to this (pass value from global namesapce)
providers: [{provide: LOCALE_ID, useValue: window['MY_LOCALE']}],

This works, fine only in: ng serve,ng build
Problem in: ng build --prod in console output null
Plus errors throws like: Cannot convert undefined or null to object, for Pipes
LOCALE_ID in Bootstrap
platformBrowserDynamic().bootstrapModule(AppModule, {providers: [{provide: LOCALE_ID, useValue: 'fr-FR'}]});

This is not workig in ng serve,ng build,ng build --prod
Result always is en-US
Ofcourse if pass value from global namesapce

platformBrowserDynamic().bootstrapModule(AppModule, {providers: [{provide: LOCALE_ID, useValue: window['MY_LOCALE']}]});

The same problem.
The log given by the failure.
Like in issue #6618
ERROR TypeError: Cannot convert undefined or null to object
    at new DateTimeFormat (native)

Actually this happens for all Pipes, that uses localization inside
Desired functionality.
ng build --prod command should not ignore my variable from global namespace, or some solution to pass variable to LOCALE_ID, without using i18n build
Mention any other details that might be useful.
This works (provide in AppModule), fine only in: ng serve, ng build
Problem only in: ng build --prod

Hello,
there is an open issue in the angular repo about the fact that LOCALE_ID is not provided into the main injector in JIT like it is in AOT: https://github.com/angular/angular/issues/16960
Until this bug is fixed, the workaround is to provide it 2 times, both to the platformBrowserDynamic and to the bootstrapModule methods:
platformBrowserDynamic([{provide: LOCALE_ID, useValue: 'fr-FR'}]).bootstrapModule(AppModule, {providers: [{provide: LOCALE_ID, useValue: 'fr-FR'}]});

workaround is to provide it 2 times, both to the platformBrowserDynamic and to the bootstrapModule

Works perfectly.
Thank you!


Compiler warning: "Comparison is always false"

With current GIT HEAD the compiler (TDM GCC v4.9.2 in my case) gives me the following warning:
tinyxml2\tinyxml2.cpp||In member function 'tinyxml2::XMLError tinyxml2::XMLDocument::LoadFile(FILE*)':|
tinyxml2\tinyxml2.cpp|1936|warning: comparison is always false due to limited range of data type [-Wtype-limits]|
The line in question contains this if-clause:
if ( (unsigned long)filelength >= (size_t)-1 )
...which looks to me like the warning is correct.
Not sure if you need to taggle it, just FYI only...

Yes, this warning is emitted for targets where sizeof(long) < sizeof( size_t) only. This has to be addressed somehow.

Although that is nice static assert, now that I read the code, it doesn't actually fix the issue at hand, since it's a run time check. :)

This should have been resolved after this commit https://github.com/leethomason/tinyxml2/commit/a589da416cf63e070b6296d21d8713b582f59938 Could you please verify?

Yes, this removes the warning. Also, for my applications that use TimyXML2 they still work as before... ;-)

Feel free to close this item, btw... and thank you for taking care!

Good to hear the problem was resolved. This was an interesting one.
You can easily close the issue yourself without waiting for anyone.


Clicks go through the calendar to underlying elements on mobile phones

Provide a general summary of the issue here
When using a mobile phone and clicking on a date in the useDatePicker's calendar, the click goes through to the underlying element.
🤔 Expected Behavior?
I expect that a click on a date will not activate an element which lies under the calendar.
😯 Current Behavior
Clicking a date on mobile phones will activate any elements that lies under the calendar. If this is e.g. a link, then suddenly  you navigate to a different page.
Attaching a screen recording to illustrate the problem:
https://github.com/adobe/react-spectrum/assets/15145686/2b3c3e96-31e7-4ac3-8a25-a900f430a838
💁 Possible Solution
Why does this happen and can it be fixed?
I also belive that this happens for the useComboBox/useListBox as well.
🔦 Context
I am trying to create an accessible date picker for a large group of users.
🖥 Steps to Reproduce

Go to https://codesandbox.io/s/reverent-faraday-5nwk87 (use a responsive mode in the browser)
Add

Click here

between the DatePicker and the DateRangePicker
3. Find september 11 2023 and press it (which will take you to thesun.co.uk)
Version
3.27.0 (and 3.21.0)
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge, Other
If other, please specify.
No response
What operating system are you using?
Android, iPhone, MacOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Related to https://github.com/adobe/react-spectrum/issues/4480, https://github.com/adobe/react-spectrum/issues/1513


How does this Codacy extension work?

Hi @mahnoorkazidh! Thanks for reaching out.
The Codacy VS Code extension lists all problems identified by Codacy for a pull request you are working on directly within VS Code and can help you review and fix them.
To use this extension, you need a Codacy account. Additionally, the repository you're working on should be analyzed by Codacy.
You can find more information and detailed instructions on the Codacy docs.
I hope this helps!
Nico


Reproducible automatic tests

Tests to make sure the program works.

See https://github.com/stannam/hangul_to_ipa/tree/main/test


[Installation]: vllm CPU only

Your current environment
i am trying to install vllm CPU only on kaggle, using code bellow, i am not sure i am doing the right thing here, if not, please can someone give a step-by-step guide.
after running this
from vllm import LLM, SamplingParams

prompts = [
    "Hello, my name is",
    "The president of the United States is",
    "The capital of France is",
    "The future of AI is",
]

sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
llm = LLM(model="facebook/opt-125m")
outputs = llm.generate(prompts, sampling_params)

i got this error
INFO 11-04 22:26:51 cpu_executor.py:207] # CPU blocks: 7281
ERROR 11-04 22:26:53 _custom_ops.py:63] Error in calling custom op reshape_and_cache: '_OpNamespace' '_C_cache_ops' object has no attribute 'reshape_and_cache'
ERROR 11-04 22:26:53 _custom_ops.py:63] Possibly you have built or installed an obsolete version of vllm.
ERROR 11-04 22:26:53 _custom_ops.py:63] Please try a clean build and install of vllm,or remove old built files such as vllm/*cpython*.so and build/ .

...

---> 15 outputs = llm.generate(prompts, sampling_params)

...

AttributeError: '_OpNamespace' '_C_cache_ops' object has no attribute 'reshape_and_cache'

current environment:
Collecting environment information...
INFO 11-04 21:45:04 importing.py:15] Triton not installed or not compatible; certain GPU-related functions will not be available.
PyTorch version: 2.4.0+cpu
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.6 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Clang version: Could not collect
CMake version: version 3.30.5
Libc version: glibc-2.31
Python version: 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:45:18) [GCC 12.3.0] (64-bit runtime)
Python platform: Linux-5.15.154+-x86_64-with-glibc2.31
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Byte Order:                           Little Endian
Address sizes:                        46 bits physical, 48 bits virtual
CPU(s):                               4
On-line CPU(s) list:                  0-3
Thread(s) per core:                   2
Core(s) per socket:                   2
Socket(s):                            1
NUMA node(s):                         1
Vendor ID:                            GenuineIntel
CPU family:                           6
Model:                                79
Model name:                           Intel(R) Xeon(R) CPU @ 2.20GHz
Stepping:                             0
CPU MHz:                              2199.998
BogoMIPS:                             4399.99
Hypervisor vendor:                    KVM
Virtualization type:                  full
L1d cache:                            64 KiB
L1i cache:                            64 KiB
L2 cache:                             512 KiB
L3 cache:                             55 MiB
NUMA node0 CPU(s):                    0-3
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Mitigation; PTE Inversion
Vulnerability Mds:                    Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:               Mitigation; PTI
Vulnerability Mmio stale data:        Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Mitigation; IBRS
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; IBRS; IBPB conditional; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI SW loop, KVM SW loop
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Mitigation; Clear CPU buffers; SMT Host state unknown
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 rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat md_clear arch_capabilities
Versions of relevant libraries:
[pip3] flake8==7.1.1
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] nvidia-ml-py==11.495.46
[pip3] onnx==1.17.0
[pip3] optree==0.11.0
[pip3] pytorch-ignite==0.5.1
[pip3] pytorch-lightning==2.4.0
[pip3] pyzmq==26.0.3
[pip3] torch==2.4.0+cpu
[pip3] torchaudio==2.4.0+cpu
[pip3] torchinfo==1.8.0
[pip3] torchmetrics==1.4.2
[pip3] torchvision==0.19.0+cpu
[pip3] transformers==4.46.1
[conda] mkl                       2024.2.2            ha957f24_15    conda-forge
[conda] numpy                     1.26.4          py310hb13e2d6_0    conda-forge
[conda] nvidia-ml-py              11.495.46                pypi_0    pypi
[conda] optree                    0.11.0                   pypi_0    pypi
[conda] pytorch-ignite            0.5.1                    pypi_0    pypi
[conda] pytorch-lightning         2.4.0                    pypi_0    pypi
[conda] pyzmq                     26.0.3          py310h6883aea_0    conda-forge
[conda] torch                     2.4.0+cpu                pypi_0    pypi
[conda] torchaudio                2.4.0+cpu                pypi_0    pypi
[conda] torchinfo                 1.8.0                    pypi_0    pypi
[conda] torchmetrics              1.4.2                    pypi_0    pypi
[conda] torchvision               0.19.0+cpu               pypi_0    pypi
[conda] transformers              4.46.1                   pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.6.3.post2.dev225+g04cef2c6
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
Could not collect
How you are installing vllm
%%bash

git clone https://github.com/vllm-project/vllm.git /kaggle/vllm
cd /kaggle/vllm
pip install "cmake>=3.26" wheel packaging ninja "setuptools-scm>=8" numpy
pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/cpu
VLLM_TARGET_DEVICE=cpu python setup.py install

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

I remember kaggle's image has some issues about torch, you can reinstall torch before building:
%%bash

git clone https://github.com/vllm-project/vllm.git /kaggle/vllm
cd /kaggle/vllm
pip install "cmake>=3.26" wheel packaging ninja "setuptools-scm>=8" numpy
pip install torch==2.4.0 --index-url https://download.pytorch.org/whl/cpu
pip install -v -r requirements-cpu.txt --extra-index-url https://download.pytorch.org/whl/cpu
VLLM_TARGET_DEVICE=cpu python setup.py install

@Isotr0py  unfortunately it doesnt work, even after completely uninstalling torch. i get the same error again and again

I have published the notebook used to test this, which works well:
https://www.kaggle.com/code/isotr0py/vllm-cpu
Can you check if it can work well?

@Isotr0py thank you the restart took effect, but this is a manual solution that works only in an interactive session, how to solve the problem when submitting the notebook?


Change example image and hnc tree output in quickstart doc

Sure!

/ok-to-test
/assign @adrianludwin


Add support for martha_v3 [WA-320][WA-348]

This PR adds support for martha_v3. DRS methods will be able to ping v3 by default. If one would like to use martha_v2 to resolve their DRS urls, they can override the default by running
export MARTHA_URL_VERSION=martha_v2.
Martha repo: https://github.com/broadinstitute/martha
martha_v3 response format: https://github.com/broadinstitute/martha#martha-v3
Closes:

https://broadworkbench.atlassian.net/browse/WA-320
https://broadworkbench.atlassian.net/browse/WA-348

@kshakir @xbrianh This PR is now ready for review! It now also extracts fileName key that martha_v3 returns in response (WA-348).


How to disable the warnings?

How to disable the warning when resetting floor, using jupyter notebook?
This is the warning:
WARNING:gym_unity:New seed 0 will apply on next reset.
WARNING:gym_unity:New starting floor 0 will apply on next reset.
INFO:mlagents_envs:Academy reset with parameters: floor-number -> 0, tower-seed -> 0

It becomes very messy if I try to run the agent with multiple seeds and floors in a for loop.
import warnings
warnings.filterwarnings('ignore')

What I found on stackoverflow, but this code doesn't work.

You can retrieve the gym logger and set its level appropriately:
from obstacle_tower_env import logging, logger
logger.setLevel(logging.ERROR)

Thanks, now the WARNING: has disappeared. But how can I also disable the INFO part?

I got the solution:
from obstacle_tower_env import logging
logging.disable(logging.INFO)
logging.disable(logging.WARNING)


/javascript-skills-you-need-for-react-practical-examples/  - "Ternary operators" code block is missing closing curly brace

Describe the Issue
Missing a closing curly brace in code block after the ternary expression
Affected Page
https://www.freecodecamp.org/news/javascript-skills-you-need-for-react-practical-examples/
Steps to Reproduce

https://www.freecodecamp.org/news/javascript-skills-you-need-for-react-practical-examples/#:~:text=Ternary operators can also be used inside curly braces (again%2C since it is an expression)%3A
https://codesandbox.io/ - paste code block in, see error. Add } before closing </div> tag

Recommended fix or suggestions
Add } before closing </div>
Screenshots

I am not able to find page after fork, please tell me folder path.

@kailash-kangne
An issue with the https://github.com/freeCodeCamp/freeCodeCamp/labels/help wanted or https://github.com/freeCodeCamp/freeCodeCamp/labels/first timers only label is open for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors.
If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/
If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum

This issue relates to the news platform. The article content is not open-source, and must be edited by someone with authorization. Hope this clarifies.

Hi @tim-andes, thanks for reporting this and for all of those helpful details.
I went through the article, ran all the code snippets through Prettier, and fixed a few issues, including the one you mentioned here.
The fixes should go live in the next couple of hours.
Please let us know if you find issues in any other articles.


Vent should keep track of the filetypes it can process

based on the plugin namespaces that are installed and claim to support specific filetypes


Default to generate one graph

The following message is shown when the <size></size>-tag is missing in the config file.
Number of graphs is greater than specified by the size
Segmentation fault (core dumped)

Only test.xml in the use-cases directory contains this tag.
<generator>
	<size>3</size>
	<graph>
		<nodes>10000</nodes>
	</graph>
	<graph>
		<nodes>20000</nodes>
	</graph>
	<graph>
		<nodes>30000</nodes>
	</graph>
...

For example social-network.xml does not contain this tag
<generator>
	<graph>
		<nodes>100000</nodes>
	</graph>
...

With this pr: the generation of 1graph is assumed when the <size></size>-tag is missing.

This could be a fix for issue #6


Make it easier to manually test hardware watchdog

Main commit is:
Add support for hardware watchdog fault injection
New -W option to /opt/zededa/bin/faultinject which should make the
hardware watchdog fire
Note that qemu aka make run seems to have a non-working emulated watchdog timer chip; tried with both models and forced watchdog-action to reset and in no case does the watchdog timer fire.

Hey @eriknordmark -- this looks fine, but I'm wondering if you can review, approve ;-) and give a try to https://github.com/lf-edge/eve/pull/2318
With that PR I have a qemu WD reliably firing on Mac OS X at least


refactor: Create service for determining screen size

The service provides a function that wraps $mdMedia (an AngularJS Material service) and returns a boolean indicating whether a screen is wider than 960px.
The service can be extended by adding similar functions to test for other breakpoints.
Resolves: #465

Looks good to me! Would you be up for replacing calls to $mdMedia in our codebase with your brand new service?

Great! I'm totally up for replacing the calls. One quick question:
Do you have any preference as far as how the service should be exposed (on
the controller, scope, rootScope, ...)? I'm leaning toward the controller,
with calls from templates that look like:
$ctrl.ScreenSize.isMediumOrLarger(). I think this would be the cleanest
approach, in terms of replacing the calls.
Let me know :)
Jazz
On Fri, Aug 25, 2017 at 8:04 AM, Tilmann Becker<EMAIL_ADDRESS>wrote:

Looks good to me! Would you be up for replacing calls to $mdMedia in our
codebase with your brand new service?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yunity/foodsaving-frontend/pull/599#issuecomment-324947475,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMrePOkd7rmPVY9eKlu9V8PXWd4gu4smks5sbuJzgaJpZM4O_cGR
.

$ctrl.ScreenSize.isMediumOrLarger()

That seems the best choice to me, too.
Though maybe it makes sense to shorten isMediumOrLarger() to something like gtSm()?

Done.
I added an "is" to your function name (i.e. isGtSm instead of gtSm) since
it returns a boolean. Also, I realized that $mdMedia was being passed
"gt-xs" in a few places, so I added another function (isGtXs) to the
service.
Not sure if I got everything, so any feedback would be great!
On Sat, Aug 26, 2017 at 2:21 AM, Tilmann Becker<EMAIL_ADDRESS>wrote:

$ctrl.ScreenSize.isMediumOrLarger()
That seems the best choice to me, too.
Though maybe it makes sense to shorten isMediumOrLarger() to something
like gtSm()?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yunity/foodsaving-frontend/pull/599#issuecomment-325106893,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMrePPhQTZLrj3PrRPQx1MMnNqhJX_wGks5sb-OlgaJpZM4O_cGR
.

Thanks @azzang, great work! (also for the whitespace fixes 👍 )
I will merge it to master now, the changes should be live soon on dev.foodsaving.world

Thanks Tilmann. Happy to help!
On Sun, Aug 27, 2017 at 3:34 AM, Tilmann Becker<EMAIL_ADDRESS>wrote:

Merged #599 https://github.com/yunity/foodsaving-frontend/pull/599.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yunity/foodsaving-frontend/pull/599#event-1222754790,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMrePPdSsEa1IQY6Ls98zd887EFws3Y7ks5scUZQgaJpZM4O_cGR
.


Monte Carlo SImulation of OpenRAM generated SRAM array.

Has anyone done Monte Carlo simulation of SRAM Memory compiler generated by openRAM in freePDK 45nm? If yes can you share the Monte Carlo files?

We haven't, but are very interested in this contribution!


Use the AWS SDK for Go V2

Is your feature request related to a problem? Please describe.
The AWS SDK for Go is used for the AWS Secrets Manager backend. V1 of the SDK does not support the full AWS config file format (for example, the sso-session section is not supported.
Describe the solution you'd like
Update the  AWS Secrets Manager backend to use the AWS SDK for Go V2
Describe alternatives you've considered
A tool like aws-vault could be used to interpret the full AWS configuration to translate it to a configuration understood by AWS SDK for Go V1.
Additional context
The use case for SSO is testing how the vault plugin would render secrets in Helm charts. Users in an enterprise get access to AWS accounts via SSO. In organizations with many accounts and roles, factoring out the SSO configuration parameters into an sso-session section makes the ~/.aws/config file more manageable and maintainable by a central team.

We will look to rollout a new release soon with this change.


Too much app make stratos lags

Detailed Description
Hello, I'm a developer in a big company and we have around 100 apps in each ORG.
When we connecting on Stratos, the front loads all apps with this call:
https://stratosurl/pp/v1/proxy/v2/apps?order-direction=asc&order-direction-field=creation&page=1&results-per-page=100&inline-relations-depth=2&include-relations=space,organization,routes

So we need to load around 5MB of data, and It's make the client freeze for a while.
Most part of time we don't need to load all cloud foundry ORGS
So we would like an option to prevent load of all ORG cause we always need to wait 2/3 minutes to have the entire Stratos loaded. So it's more quickly to use command line.
Possible Implementation
Have an option for each user to have a default ORG to avoid to load all datas.
I have already tried to code a plugin for chrome who replace the original url with:
https://stratosurl/pp/v1/proxy/v2/spaces/{myspaceid}/apps?order-direction=asc&order-direction-field=creation&page=1&results-per-page=100&inline-relations-depth=2&include-relations=space,organization,routes

It's more fast but it's hard coded. We would prefer to have an option on Stratos to do that.

Hi @quequiere , we've recently been improving how stratos scales with larger CFs. We've added documentation in v3.2.0 regarding features in v3.1.0 and before. There you can read about reducing the number of applications stratos fetches up front. That should reduce the loading time when navigating to the Application and Cloud Foundry tabs.
Could you confirm which version you're on and if tweaking the configuration as described in the docs helps? Also, out of interest, could you give some ball park figures regarding total number of apps, orgs, service instances and users?

@richard-cox Thank you for your help, we are using V3.10. And we have around 200 apps on 4 orgs, but I have no idea about the users cause I'm just dev ;)

Ahh, ok. We do aim to bring in per user settings that will override (with limitations) the existing backend config (see #3661). However this is not planned to be released soon.
If you feel that #3661 will solve your issue please let us know.
May I ask which company you work for?

@richard-cox Ok, I will comment this issue when we will try this conf.

May I ask which company you work for?

Nope sorry can't share this information :(


Add option to support jdk repo and branch

Currently run-aqa run  latest openjdk tests  for all jdks. That is jdk8 for all hotspot jdk8. Similar to all other version and all openj9 jdk.
It would be nice if we add option to support jdk repo and branch so we can run each jdk's corresponding tests and the run-aqa tests can be part of openjdk repo's PR tests.
We could do this ether by passing the environment variable or adding the options. Adding the options would be more easy and clear. Similar to the draft PR https://github.com/adoptium/run-aqa/pull/32

I'ld like to work on this. Thanks

Great @bhuva-v !

I will note that these are the instructions for generating the changes for index.js
https://github.com/actions/typescript-action#code-in-main
npm run build && npm run package

npm run build && npm run package

npm run build && npm run pack


Accelerated Mobile Pages (AMP)

The AMP project is encouraging some developer practices which enable high performance mobile web applications. But are these practices compatible with web architectural principles?

I have two concerns:

Ecosystem creation: AMP is a big bottle of kool-aid and you have to drink the whole thing. It's "the AMP way or the highway".  This is nothing new, and could be said of any framework that creates an opinionated way of doing everything and makes it hard, awkward or impossible to do things in other ways - Ember, React, Angular could probably all be considered ecosystems in that sense too.  But given the internal architectural design of AMP, it seems a chronic shame that some of the benefits (eg amp-img) cannot be used by sites not willing to sign up to go 'full AMP'.  I'm not sure this is an architectural concern for the web though, it just limits the benefits of AMP (which no doubt will be widely adopted anyway simply because it offers more Google juice)

Canonical content: The severe constraints imposed by AMP make it very hard to operate a major website that is AMP compliant.  For example, even adding a comment form at the bottom of the page is not possible.  This will invariably lead to every page that is published as AMP also being available in a non-AMP form with more features, and the AMP project anticipates this.  This may be more of an architectural concern for us if it becomes common practice to publish multiple variants of the same page, at different URLs.

happy to close this if there is no interest.  I raised an issue on the AMP project suggesting that AMP components could be available outside of the AMP ecosystem, and got a thoughtful response that basically amounts to 'no':
https://github.com/ampproject/amphtml/issues/3453

Discussed 06 July - canonical URLs one concern, "ecosystem" and tooling another.

Agreed to close and take the canonical URL concern into new issue to be created on that topic.


Remove Chris Hughes from maintainer list

I am resigning as a maintainer

Thanks for all your work, especially in the early days when mathlib had very little mathematics in!

Code-wise, this looks good - time to let the maintainers have a look.
maintainer merge

bors merge


No link in "My account" in the footer

Hello,
I use your module with Prestashop <IP_ADDRESS>.  It's very nice.  But I don't understand why there are not link to go directly to the personnel data at the bottom of the page in the block "My account" in the footer.

Thanks in advance!
Sébastien

Just modify at line 25 (modules/psgdr/controllers/front/gdpr.php)
Tools::redirect('index.php');
Tools::redirect('index.php?controller=authentication&back=identity');


Fix some outdated Apache redirects to filter pages

Our Apache redirects contain many target URLs that include outdated query strings for blog pages, using ?filter0_ or ?filter1_ prefixes. These prefixes were removed from code in #3603, but these redirects were inadvertently left behind.
This commit corrects some but not all of these redirects, partially addressing internal el-camino#316. The rest of the ?filter redirect fixes will come in a subsequent PR.
How to test this PR
To test, run a server with Apache in the preferred method of your choosing, and verify that URLs redirect as expected.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

This is live on a UCP deploy. The changes can be tested internally:

https://cfgov-pr-6237.REDACTED/administrativeadjudication/
https://cfgov-pr-6237.REDACTED/mortgage-rules-at-a-glance/
https://cfgov-pr-6237.REDACTED/blog/2011/01/
https://cfgov-pr-6237.REDACTED/blog/2016/12/

This is live on a UCP deploy. The changes can be tested internally:

https://cfgov-pr-6237.REDACTED/administrativeadjudication/
https://cfgov-pr-6237.REDACTED/mortgage-rules-at-a-glance/
https://cfgov-pr-6237.REDACTED/blog/2011/01/
https://cfgov-pr-6237.REDACTED/blog/2016/12/


Fix benchmarks

[ci no changelog needed]
Pull Request Description

Important Notes

Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the
Scala,
Java,
and
Rust
style guides.
All code has been tested:

[x] Unit tests have been written where possible.
[ ] ~If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide dist and ./run ide watch.~

Once this PR is merged, we can also integrate the #3640 gate check.


Architechtural changes for Linux port (multiplatform)

https://pixhawk.org/dev/ros/px4linux
@thomasgubler @LorenzMeier
The normal apps which run on NuttX are excellent for porting to Linux since they already use scheduling, process priorities, and other POSIX style code.
The multiplatform API apps are ported with simulation in mind and Thomas separated the code into start_nuttx for NuttX, and remove the scheduling abilities like task_spawn from the ROS version.
Since we need proper scheduling, accurate timing (from a monotonic clock) in the Linux port, I propose to make a unified start function for Linux and NuttX which will only differentiate in calling ros::init(), pub-sub init etc. depending on the platform. Scheduling will work accurately on relatime flight systems, and for running just simulation, it just won't be hard realtime.
This is essential for the Linux port. Also, architecture wise, I saw that it'd save a lot of time and effort of  rewriting drivers if we remain with the main codebase. The driver re-work to run on multiple platforms as Lorenz was saying would be very useful here.
Currently I have to get the commander, mixer, and some more apps over to multiplatform API. The "dummies" as implemented currently can be removed I think, and made "bridge" nodelets to simply translate between ROS and PX4.
Regarding frame conventions in the port, I'm not sure what to do here. Perhaps run the flightstack internally in NED and add bridge nodes for translating from standard ROS messages like sensor_msgs/IMU and Odometry, etc. allowing us to use external state estimation nodes like ethzasl_msf, etc.
Comments and suggestions are welcome.

@jserv
I'd also like to introduce Jim who has agreed to help us with hard realtime in Linux. He has experience with Xenomai dual-RT kernel on several platforms.
Jim, please raise your concerns and whatever you'd like to say ;)

I propose to make a unified start function for Linux and NuttX which will only differentiate in calling ros::init(), pub-sub init etc. depending on the platform.

The current ros implementation was just the most simple way to get it working without doing over-engineering for the simulation case. Also was mostly following the ROS examples to make it as 'easy' as possible. If we now need something more sophisticated I see no reason to stick to the old pattern.

Currently I have to get the commander, mixer, and some more apps over to multiplatform API. The "dummies" as implemented currently can be removed I think, and made "bridge" nodelets to simply translate between ROS and PX4.

Are you working on this? Can you please sync with me? :) Yes the plan is to remove the dummy nodes. Those are just minimal implementations to test and showcase the setup.

Regarding frame conventions in the port, I'm not sure what to do here. Perhaps run the flightstack internally in NED and add bridge nodes for translating from standard ROS messages like sensor_msgs/IMU and Odometry, etc. allowing us to use external state estimation nodes like ethzasl_msf, etc.

I guess because we are writing software for aerial vehicles we should stay with NED standards to make everyones life easier. Translating at the interface to ROS makes sense.

@thomasgubler

As Lorenz would like to collapse the apps back into one, I think this would be an ideal chance to implement the first change, atleast partially. It might need some changes in systemlib, but it should work mostly out of the box.
I am frustratingly busy with exams till the 23rd of March, so am not able to do anything for now. I will be glad to coordinate on this once I'm free.
Makes sense.

As Lorenz would like to collapse the apps back into one, I think this would be an ideal chance to implement the first change, atleast partially. It might need some changes in systemlib, but it should work mostly out of the box.

I suggest to first bring the apps back together and then start with the scheduling changes to save us some headaches.

Yep, that's good.
@LorenzMeier Can you comment on the task vs. pthread question for scheduling ? The flightstack uses (non-POSIX) tasks for everything, while we can only(?) use pthreads in Linux.

Pthreads would be a terrible choice. Stick to the ROS standard and use tasks.

@LorenzMeier @thomasgubler
Regarding timestamps for the whole multiplatform system, what should we use? Ideally I think we should use a monotonic time source within the flightstack and change that to ROS time at the interface. I am sticking to this for the driverlayer atleast.
ROS time is susceptible to change (from NTP sync, etc.) but the boot clock would remain unaffected.

@mhkabir In order to have good SITL capabilities, we need to use the ROS time and not the boot time - else all the controller would be unusable in SITL
http://wiki.ros.org/roscpp/Overview/Time
I don't want to bake in ROS parts into the driver layer though, so I agree that the drivers should use the monotonic clock (via normal POSIX calls). You can implement a call to that and wrap it in the px4 time / hrt_absolute_time() calls.
I would also recommend you to have a look at the driver base class, because it is effectively a HAL across systems, and it would make all of the drivers we have portable across operating systems. You just need to re-implement the I2C and SPI classes.
https://github.com/PX4/Firmware/blob/master/src/drivers/device/i2c.cpp#L231-L254

So exactly, that's what I want. We use the monotonic time inside the flight
stack/ middleware.
Where we changeover to ROS standard topics for SITL (or otherwise) we
change it to ROS time and reverse as required . A sort of "bridge" layer I
proposed above, replacing the dummy nodes.
I'll have a look in to the driver base class. I like it. It'd be good to
invest time there NOW and simply write a mpu9250 driver in Firmware. How'd
we differentiate between platforms?
Also in which case, we might totally drop a external driver layer and put
everything inside the main codebase.
On 19 Feb 2015 17:51, "Lorenz Meier"<EMAIL_ADDRESS>wrote:

@mhkabir https://github.com/mhkabir In order to have good SITL
capabilities, we need to use the ROS time and not the boot time - else all
the controller would be unusable in SITL
http://wiki.ros.org/roscpp/Overview/Time
I don't want to bake in ROS parts into the driver layer though, so I agree
that the drivers should use the monotonic clock (via normal POSIX calls).
You can implement a call to that and wrap it in the px4 time /
hrt_absolute_time() calls.
I would also recommend you to have a look at the driver base class,
because it is effectively a HAL across systems, and it would make all of
the drivers we have portable across operating systems. You just need to
re-implement the I2C and SPI classes.
https://github.com/PX4/Firmware/blob/master/src/drivers/device/i2c.cpp#L231-L254
—
Reply to this email directly or view it on GitHub
https://github.com/PX4/Firmware/issues/1806#issuecomment-75043198.

@mhkabir Note: <chrono> have monotonic clock abstraction.

I'm closing this since this discussion should probably be rebased against the actual implementation in the POSIX port.


Get-LocalizedDataRecursive: Fix localization strings

This function has hardcoded strings in the code:
https://github.com/dsccommunity/DscResource.Base/blob/13e4e9d0eca514dfea7fd3b6f0767b322d3ce100/source/Private/Get-LocalizedDataRecursive.ps1#L76
https://github.com/dsccommunity/DscResource.Base/blob/13e4e9d0eca514dfea7fd3b6f0767b322d3ce100/source/Private/Get-LocalizedDataRecursive.ps1#L91
https://github.com/dsccommunity/DscResource.Base/blob/13e4e9d0eca514dfea7fd3b6f0767b322d3ce100/source/Private/Get-LocalizedDataRecursive.ps1#L110
They should be added as a localization string instead, in the file https://github.com/dsccommunity/DscResource.Base/blob/main/source/en-US/DscResource.Base.strings.psd1
Then used with $script:localizedData.<StringKeyName>

The tests should also be update so the same localization string is used.

@johlju, I can work on this.
I do not get tests passing though. It seems to be failing on some Write-Verbose calls.
Can you clone and see if the tests run?

This was a bug in Get-LocalizedData part of DscResource.Common. Scratched my head a while when I  debugged until I saw it returned boolean values in addition to the hashtable. Sent in PR https://github.com/dsccommunity/DscResource.Common/pull/123 to resolve it.

I pushed a new release of DscResource.Common so if you resolve dependencies again and do a rebuild the tests should now pass. Suggest removing the old version in output/RequiredModules just to be sure it is not used.


Outstanding Excavator issues

Here's a list of the outstanding Excavator issues found in log https://scoop.r15.ch/extras/mud-20191030-230001.log at https://scoop.r15.ch/extras/:
Needing triage (newest to oldest):

msiafterburner: 4.6.2 (scoop version is 4.6.1) autoupdate available
freecad: couldn't match 'releases/download/([\d.]+)/FreeCAD-(?<build>[\w.]+)-WIN' in https://github.com/FreeCAD/FreeCAD//releases/latest
snaketail: 1.9.6 (scoop version is 1.9.5).
fritzing: couldn't match '/download/([\w.]+)/windows/' in http://fritzing.org/download/
foxit-reader: couldn't match '([\d.]+).*(?<md5hash>([a-fA-F0-9]{32}))' in https://www.foxitsoftware.com/downloads/downloadForm.php?retJson=1&product=Foxit-Reader&platform=Windows&language=English
ungoogled-chromium: 77.0.3865.90-1 (scoop version is 67.0.3396.87-3) autoupdate available
Autoupdating ungoogled-chromium ERROR Exception calling ".ctor" with "1" argument(s): "Invalid URI: The URI is empty."
onlyoffice-desktopeditors: 5.4.1 (scoop version is 5.3.5) (32bit).

Fixable:

kitty: v<IP_ADDRESS> Is available. (needs manual update, see https://github.com/lukesampson/scoop-extras/search?q=kitty&type=Commits). Waiting on https://github.com/lukesampson/scoop/pull/3518 to allow automatic updating.
chromium-dev: couldn't match 'v([\d.]+-r(?:\d+))-win64' in https://chromium.woolyss.com/api/v3/?os=windows&bit=64&type=dev-codecs-sync&out=string. See https://github.com/lukesampson/scoop-extras/pull/2759#issue-311417571. See also #2885.
chromium-nosync: couldn't match 'v([\d.]+-r(?:\d+))-win64' in https://chromium.woolyss.com/api/v3/?os=windows&bit=64&type=stable-codecs-nosync&out=string (64bit). See https://github.com/lukesampson/scoop-extras/pull/2759#issue-311417571. See also #2885.
darktable: The .exe appears to be an NSIS archive, but running it, causes a UAC popup. Extracting it with 7zip, gives: Open ERROR: Can not open the file as [Nsis] archive. See https://github.com/lukesampson/scoop-extras/issues/1831

Being fixed:

liteide: 36.2 (scoop version is 36.1) autoupdate available. Fixed in #3095. Thanks @issaclin32!
waterfox: 2019.10 (scoop version is 56.2.14) autoupdate available. Fixed in #3093. Thanks @linsui.
notepadplusplus: 7.8 (scoop version is 7.7.1). Waiting on https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6192 per #2962. Thanks @linsui!

Version parsing issues:

scantailor-advanced: 404 on v2019.8.16 (32bit) See https://github.com/4lex4/scantailor-advanced/releases

Missing binaries:

cryptomator: 404 on v1.4.16 (no bit). No Windows build. See https://github.com/cryptomator/cryptomator/releases.
obs-studio-small: The last "-Small" zip files was in https://github.com/obsproject/obs-studio/releases/tag/21.1.2

Network issues:

etlas: 400: URL https://eta-lang.org/docs/user-guides/eta-user-guide/installation/etlas#installation is not valid (works fine locally, firewall/user agent related?)
freedownloadmanager: couldn't match 'FDM ([\d\.]+) for Windows 10' in https://www.freedownloadmanager.org/ (works fine locally, firewall/user agent related?)

Upstream issues:
None.
Non-issues:

pypy2: couldn't match 'pypy2.7-v([\d.]+)-win32' in https://bitbucket.org/pypy/pypy/downloads/ (occasionally fails for unexplained reasons)
sql-workbench-dev: "Currently there is no development build available" per https://www.sql-workbench.eu/dev-download.html
swipl: couldn't match 'swipl-([\d.-]+)\.x64\.exe' in https://www.swi-prolog.org/download/stable (occasionally fails for unexplained reasons)

Fixed:

rainmeter:  404 on v<IP_ADDRESS>21 (no bit). Filename/tag mismatch. See https://github.com/rainmeter/rainmeter/releases. Fixed in #2986. Thanks @linsui!
rainmeter-portable:  404 on v<IP_ADDRESS>21 (no bit). Filename/tag mismatch. See https://github.com/rainmeter/rainmeter/releases. Fixed in #2986. Thanks @linsui!
insomnia: 7.0.2 (scoop version is 7.0.1). Fixed in #2963. Thanks @r15ch13!
mattermost: 4.3.0 (scoop version is 4.2.3) autoupdate available. Fixed in #3013. Thanks @linsui!
archi: couldn't match 'data-version="([\d.]+)"' in https://www.archimatetool.com/download/. Fixed in #3012. Thanks @linsui!
lunacy: 4.4 (scoop version is 4.4.0). Fixed in #2994. Thanks @linsui!
linqpad: couldn't match 'Current release version: ([\d.]+)' in https://www.linqpad.net/Download.aspx. Fixed in #2995. Thanks @linsui!
bleachbit: 404 on v2.3 (scoop version is 2.2) (no bit). Fixed in #2955. Thanks @linsui!
speccy: couldn't match 'Latest version: ([\d.]+)' in https://www.ccleaner.com/speccy/download. Fixed in #2954. Thanks @niheaven!
recuva: couldn't match 'Latest version: ([\d.]+)' in https://www.ccleaner.com/recuva/download. Fixed in #2954. Thanks @niheaven!
defraggler: couldn't match 'Latest version: ([\d.]+)' in https://www.ccleaner.com/defraggler/download. Fixed in #2954. Thanks @niheaven!
chromium-dev-nosync: couldn't match 'v([\d.]+-r(?:\d+))-win64' in https://chromium.woolyss.com/api/v3/?os=windows&bit=64&type=dev-codecs-nosync&out=string (64bit). See https://github.com/lukesampson/scoop-extras/pull/2759#issue-311417571. Fixed in https://github.com/lukesampson/scoop-extras/pull/2885. Thanks @ebugusey!
yacreader: 9.6.2 (scoop version is 9.5.0) (32bit). Fixed in #2896. Thanks @linsui!
safebrowser: 0.15.0 (scoop version is 0.14.1) (64bit). Fixed in #2897. Thanks @linsui!
euler: 209-09-27 (scoop version is 2019-08-21) (64bit). Fixed in @2898. Thanks @linsui!
slack: 404 on v101 (scoop version is 4.0.2) (32bit). Fixed in #2899. Thanks @linsui!
now-cli: couldn't match '\/releases\/tag\/(?:v|V)?([\d.]+)' in https://github.com/zeit/now-cli/releases/latest. Fixed in #2901. Thanks @linsui!
webtorrent: 404 on v0.21.0 (32bit). No 32bit build. See https://github.com/webtorrent/webtorrent-desktop/releases. Fixed in #2900. Thanks @linsui!
debugviewpp: 404 on v<IP_ADDRESS> (32bit). (32bit and 64bit released on separate tags). Fixed in #2902. Thanks @linsui!
bulk-crap-uninstaller: 404 on v4.15 (scoop version is 4.14) (no bit) Fixed In https://github.com/lukesampson/scoop-extras/commit/ef07db969706d0c2e353728a1bca625746d129a1#diff-1513200aff8d9e84a36f3e172de6bddc. Thanks @rasa!
notepadplusplus: couldn't match 'Current Version:.*?(.*?)' in https://notepad-plus-plus.org/. Fixed in https://github.com/lukesampson/scoop-extras/commit/3c65c3e42c7198edf7307944acc90e6f6e0f8b7b. Thanks @rasa!
chromium: 404 on v77.0.3865.75-r681094 (no bit). Fixed in #2759. Thanks @issaclin32!
bulk-rename-utility: couldn't match '([\d.]+)' in https://www.bulkrenameutility.co.uk/Download.php . Fixed in https://github.com/lukesampson/scoop-extras/commit/68982b689acdc2c0bf900bca25450c940da12c89. Thanks @rasa!
mumble: couldn't match 'mumble-([\d.]+)\.msi' in https://www.mumble.info/ . Fixed in https://github.com/lukesampson/scoop-extras/commit/8315b31ca135e15c6da6940e80614c0edd0e9af9. Thanks @rasa!
firefox-esr: couldn't match '
([\d.]+)esr
' in https://www.mozilla.org/en-US/firefox/organizations/notes/ . Fixed in #2810. Thanks @linsui!
kitty: v<IP_ADDRESS> Is available. (needs manual update, see https://github.com/lukesampson/scoop-extras/search?q=kitty&type=Commits). Fixed in https://github.com/lukesampson/scoop-extras/commit/c1cef59be486068a0622c8541bb9717b67186098. Thanks @rasa!
fmedia: 404 on v1.11 (64bit). Fixed in https://github.com/lukesampson/scoop-extras/commit/016ff892d5d82a553cd8122a0c990a236590a9bd. Fixed in https://github.com/lukesampson/scoop-extras/commit/a348e54d452a963066803e9f7272c6d4fb24f401. Thanks @rasa!
istio: 404 on v1.3 (64bit). Fixed in https://github.com/lukesampson/scoop-extras/commit/43214ce8b0995fd6000995ab4622d2f27c5017ec. Thanks @rasa!
yubioath: 404 on v5.0.0 (32bit). Thanks @rasa!
dbeaver: 404 on v6.2 (64bit). Fixed in https://github.com/lukesampson/scoop-extras/pull/2831. Thanks @fingahoverit!
franz: 404 on v5.2.1 (no bit). Fixed in #2799. Thanks @linsui!
fsviewer: The operation has timed out.: URL https://www.faststone.org/FSIVDownload.htm is not valid (works fine locally, firewall/user agent related?) Version 7.4 fixed in #2804. Thanks @rasa!
soulseekqt: couldn't match 'SoulseekQt-(\d+-\d+-\d+).exe' in http://www.slsknet.org/news/node/1 Fixed In #2802. Thanks @linsui!
universal-ctags: 404 on v2019-07-31 (32bit). Fixed in #2803. Thanks @linsui!
azure-ps: Applets renamed from Azure-Cmdlets to Az-Cmdlets in https://github.com/Azure/azure-powershell/releases/latest See #2682.
chromium: couldn't match 'v([\d.]+-r(?:\d+))-win64' in https://chromium.woolyss.com/api/v3/?os=windows&bit=64&type=stable-codecs-sync&out=string (64bit) (checkver references https://github.com/henrypp/chromium/releases but download references https://github.com/macchrome/winchrome/releases ? ). Fixed in #2759. Thanks @issaclin32!
fmedia: No 32-bit binary for v1.9. See http://fmedia.firmdev.com/#download . Fixed in #2406  Thanks @niheaven!
foxit-reader: couldn't match  '"version":\["([\d.]+)".+win\\\/[\d.]+\\\/(?<hash>[A-F\d]{32})' in https://www.foxitsoftware.com/downloads/downloadForm.php?retJson=1&product=Foxit-Reader&platform=Windows&language=English . Fixed in #2480. Thanks @linsui!
foxit-reader: 404. Fixed in #2412. Thanks @linsui!
freecad: No 32-bit binary for v0.18.2. See https://github.com/FreeCAD/FreeCAD/releases . Fixed in #2408. Thanks @niheaven!
fsviewer: The operation has timed out.: URL https://www.faststone.org/FSIVDownload.htm is not valid (works fine locally, firewall/user agent related?) Version 7.3 fixed in #2691. Thanks @brandon93s!
gitea: 404 on v1.9.0 (32bit). Fixed in #2460. Thanks @niheaven!
ios-webkit-debug-proxy: 404 on v1.8.5 (64bit). Fixed in #2504. Thanks @hoilc!
kitty: New version: <IP_ADDRESS>. Fixed in #2579. Thanks @issaclin32!
kitty: 404 on v<IP_ADDRESS>. Fixed in #2493. Thanks @rasa!
mc: No .zip release for build 209 at https://sourceforge.net/projects/mcwin32/files/ . Fixed in #2466. Thanks @niheaven!
monero: No 32-bit binary for v<IP_ADDRESS> in https://web.getmonero.org/downloads/hashes.txt . Fixed in #2405 . See also https://github.com/ScoopInstaller/Main/pull/210 . Thanks @niheaven!
mpc-qt: @cmdrkotori deleted their GitHub account as  https://github.com/cmdrkotori is 404. Fixed in #2691. Thanks @brandon93s!.
mupdf: 404 on v1.16.1 (no bit) (Change checkver to use https://mupdf.com/downloads/index.html ) Fixed in #2691. Thanks @brandon93s!. . onefetch: 404 on v1.5.5 (64bit). Fixed in #2456. Thanks @issaclin32!
opera: 404 on v62.0.3331.81. Fixed in #2411? Thanks @niheaven!
papdesigner: couldn't match 'PapDesigner.exe v([\d.]+)' in http://friedrich-folkmann.de/papdesigner/Download.html . Proposed fix in #2477. Thanks @linsui!
playnite: 404 on v5.00 (nobit). Fixed in #2454. Thanks @issaclin32!
praat: 404 on v6.1 (32bit). Fixed in #2455. Thanks @issaclin32!
prime95: 404 on v29.8b5 (32bit). Fixed in #2431. Thanks @rasa!
prusaslicer: couldn't match 'PrusaSlicer-(?<version>[\d.]+)\+win64-(?<timestamp>\d+).zip' in https://github.com/prusa3d/PrusaSlicer/releases/latest . Fixed in #2613. Thanks @issaclin32!
sagemath-installer: 404 on v8.8-0.5.0 (64bit). Fixed in #2445. Thanks @linsui!
smartsynchronize: couldn't match 'smartsynchronize-portable-([\d.]+).7z' in https://www.syntevo.com/smartsynchronize/download/ (binary is now named smartsynchronize-portable-4_0_1.7z) Fixed in #2691. Thanks @brandon93s!.
snipaste: couldn't match 'Desktop ([\.0-9]+)' in https://www.snipaste.com/ . Fixed in #2409. Thanks @niheaven!
streamlabs-obs: couldn't match '/releases/tag/v([\d.]+)"' in https://github.com/stream-labs/streamlabs-obs/releases/latest . Fixed in #2427. Thanks @niheaven!
testcentric: 404 on v1.0.0. Fixed in #2517. Thanks @rasa!

Fixed upstream:

googlechrome-canary: 80.0.3950.1 (scoop version is 80.0.3950.0) autoupdate available
cloudfoundry-cli: 6.47.1 (scoop version is 6.46.1) autoupdate available
firefox-beta: couldn't match 'firefox-([\db.]+)-' in https://aus5.mozilla.org/update/6/Firefox/60.0//WINNT_x86_64-msvc-x64/en-US/beta////_/update.xml
streamlabs-obs: couldn't match '"v([\d.]+)"' in https://api.github.com/repos/stream-labs/streamlabs-obs/tags
pencil: 3.1.0 (scoop version is 3.0.4) autoupdate available
googlechrome-canary: 404 on v79.0.3934 (64bit).
chromium: 77.0.3865.90-r681094 (scoop version is 77.0.3865.75-r681094) (32bit).
qutebrowser: 404 on v1.8.0 (scoop version is 1.7.0) (64bit).
googlechrome-canary: 79.0.3925.0 (scoop version is 79.0.3924.0) (64bit).
googlechrome-canary: 404 on v79.0.3921.0 (scoop version is 79.0.3920.0) (64bit).
ilspy: couldn't match 'download/v(?<version>[\d.]+)/ILSpy_binaries_(?<build>[\d.]+).zip' in https://github.com/icsharpcode/ILSpy/releases/latest.
googlechrome-canary: 404 on v79.0.3917.1 (64bit).
foobar2000: 404 on v1.4.8 (no bit).
linkerd: couldn't match 'tag/stable-([\d.]+)' in https://github.com/linkerd/linkerd2/releases.
opera: 404 on v63.0.3368.75 (32bit).
libreoffice-stable: 404 on v6.3.0 (no bit). Fixed in #2809. Thanks @linsui!
googlechrome-canary: 404 on v78.0.3899.1 (64bit).
firefox-beta: couldn't match 'firefox-([\db.]+)-' in https://aus5.mozilla.org/update/6/Firefox/60.0//WINNT_x86_64-msvc-x64/en-US/beta////_/update.xml . Discussion in #2796.
dismplusplus: Expired cert. The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure. URL http://www.chuyu.me/en/ is not valid.
ocat: 404 on https://github.com/GPUOpen-Tools/OCAT
altair: 404 on v2.3.1 (64bit)
archi: 404 on v4.5.0 (32bit)
azure-functions-core-tools: 404 on v2.7.1505 (32bit)
celestia: Expired cert. The SSL connection could not be established, see inner exception. Authentication failed because the remote party has closed the transport stream. URL https://celestia.space/download.html is not valid
cloudfoundry-cli: 404 on v7.0.0 (64bit)
cryptomator: 404 on v1.4.14 (no bit). See https://github.com/cryptomator/cryptomator/releases
dbgl: 404 on v0.83 (no bit)
emacs: 404 on v26.3 (32bit)
freecad: couldn't match up 'releases/download/([\d.]+)/FreeCAD-(?<build>[\w.]+)-WIN' in https://github.com/FreeCAD/FreeCAD//releases/latest . See https://github.com/lukesampson/scoop-extras/pull/2487#issuecomment-513474096 .
gifcam: The remote server returned an error: (302) Moved Temporarily. URL http://blog.bahraniapps.com/gifcam/ is not valid
googlechrome-canary: 404 on v78.0.3872.1 (64bit)
httptoolkit: couldn't match '\/releases\/tag\/(?:v|V)?([\d.]+)' in https://github.com/httptoolkit/httptoolkit-desktop/releases/latest
krita: 404 on v4.2.4 (no bit)
libreoffice-fresh: couldn't match 'libreoffice-([\d\.]+)\.tar\.xz' in https://www.libreoffice.org/download/download/
liteide: 404 on v36.1 (no bit)
netbeans: couldn't match  'Apache NetBeans ([\d.]+
' in https://netbeans.apache.org/download/index.html
sacad: 404 on v2.1.10 (32bit)
snipaste: couldn't match '(?sm)Desktop.*?>v([\d.]+) [^B]' in https://www.snipaste.com/
snipaste: 418 on https://www.snipaste.com/
spytify: 404 on v1.4
universal-ctags: 404 on v2019-07-19 (32bit)
vscodium: 404 on v1.37.0 (32bit)
vscodium-portable: 404 on v1.37.0 (32bit)
wsltty: 404 on v3.0.2 (nobit)

Let’s strive to keep this list updated, as these issues are addressed.

swipl works well, but its checkver sometimes failed.

We can match tor-extra by the link on this page.

Maybe we need to dismiss this version of firefox-beta. It's a candidate version which is in another directory https://archive.mozilla.org/pub/firefox/candidates/ .  https://download.mozilla.org/?product=firefox-beta-latest&os=win&lang=en-US will be redirected to 69.0b16, so 69.0b16 is the latest beta version.
We can download all beta version from https://archive.mozilla.org/pub/firefox/candidates/ . But url for 69.0build2 is https://archive.mozilla.org/pub/firefox/candidates/69.0-candidates/build2/... while url for 69.0b16 is https://archive.mozilla.org/pub/firefox/candidates/69.0b16-candidates/build1/... . We need a page to match build1.
We can also use the url in https://aus5.mozilla.org/update/6/Firefox/60.0//WINNT_x86_64-msvc-x64/en-US/beta////_/update.xml . But it's a mar file which can't be unzip with 7zip. See https://wiki.mozilla.org/Software_Update:MAR .
Or we can checkver from https://download.mozilla.org/?product=firefox-beta-latest&os=win&lang=en-US if scoop can checkver from redirect url.

@linsui You bring up some good questions. I moved the discussion to https://github.com/lukesampson/scoop-extras/issues/2796 .

snaketail (wrong file name at ver 1.96) is fixed upstream.

@rasa regarding neatdownloadmanager, it looks like the version has returned.
$ curl -s http://neatdownloadmanager.com/index.php/en/ | grep -oP '(ver ([\d.]+))'
ver 1.2
ver 1.2

Seems the darktable mention under "Fixable:" can be removed as https://github.com/lukesampson/scoop-extras/pull/4707 got merged and should probably close the related issue (no idea why anyone would mark a comment saying it's fixed as spam, but whatever).


Cyber observables

Codecov Report

Merging #12 into parse-cyber-observables will increase coverage by 0.13%.
The diff coverage is 100%.

@@                    Coverage Diff                     @@
##           parse-cyber-observables     #12      +/-   ##
==========================================================
+ Coverage                    97.77%   97.9%   +0.13%
==========================================================
  Files                           36      36
  Lines                         1931    1959      +28
==========================================================
+ Hits                          1888    1918      +30
+ Misses                          43      41       -2

Impacted Files
Coverage Δ

stix2/observables.py
100% <ø> (ø)
:arrow_up:

stix2/test/test_observed_data.py
100% <100%> (ø)
:arrow_up:

stix2/properties.py
96.41% <0%> (+0.79%)
:arrow_up:

Continue to review full report at Codecov.

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

Please check the logic of Process._check_object_constaints.  Its complicated :-(

Thanks, @rpiazza! I'm going to merge this in now, but the failing tests will be fixed before we merge into master.


Increase the HttpPutResponseHopLimit from 1 to 2

Small change to allow Docker containers running on an instance and not using an awsvpc CNI to receive responses from the IDMSv2 service.
Fixes #857

Purely out of curiosity: what security issue is the hop count limit intended to mitigate against?

There are some details in the release post https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/
It’s for defending against poorly configured IP layer forwarding/proxying like NAT or otherwise. Setting it to 2 would theoretically allow such software on the elastic ci stack AMI to again exfiltrate the session from the instance, though in practice I’d hope (😅) that kind of software isn’t getting installed on those hosts. Another scenario, though still unlikely in the scheme of things, is a vulnerability in the instance’s IP stack that can be exploited to act as an IP proxy.
In that case you’d have to already be in a privileged network position to benefit from a TTL of 2 vs 1. The packets will pass through additional Amazon hardware on their way out of the VPC which should decrement and drop the packets before they land somewhere useful.


TypeError: failed to coerce jdk.internal.loader.ClassLoaders$AppClassLoader to java.net.URLClassLoader

This is just to report/track that the same issue and same workaround solution on logstash 7.4.0 with jdbc_streaming filter plugin as for jdbc_static reported in https://github.com/logstash-plugins/logstash-filter-jdbc_static/issues/47
In this case issue occurred when using
jdbc_streaming {
jdbc_driver_library => "/usr/share/logstash/x-pack-sql-jdbc-7.4.0.jar"

The same workaround solution worked - remove jdbc_driver_library setting or pass empty string and put the jar file directly in /usr/share/logstash/logstash-core/lib/jars/x-pack-sql-jdbc-7.4.0.jar

👍 It's very usefull for me. Thank you very much! 😄


Add ALTER TABLE SET AUTHORIZATION

This is syntax allows to change the owner of the table object. It might be particularly useful for views, where privileges of owner are used to execute the query.
Related issues:

https://github.com/prestosql/presto/issues/2625
https://github.com/prestosql/presto/issues/2974

CC: @lhofhansl

I don't think that is needed, since access to tables is controlled by GRANT/REVOKE.

I see. However, I was considering this for views specifically. Notice that when user executes views, he access tables (or other views) beneath only when view owner has grantable privileges to these tables. Also this might affect what column masks and row filters will be applied.
@martint WDYT?

We need this feature at Zalando. Hive 3 supports OWNER_TYPE for table. This is useful for teams so that anybody can drop tables. The view authorization use case like @kokosing said applies to us too.

We need this at Lyft as well. Sometimes one user will create a table and would like to allow other user(s) to drop it. Is there a workaround for this currently?

@lhofhansl Would you like to work on this?

Any update on this?

Not yet. We are still looking for a volunteer to work on this.


Update to LibGDX 1.9.14

See this post.

@Quillraven Hey, would you mind testing the latest 1.9.14-SNAPSHOT release? There weren't any breaking changes and all of the test pass, but I'd like to make sure everything is OK.

@czyzby looks good to me :+1:

@Quillraven Thanks for testing! I've also updated VisUI to 1.4.10 (supporting GDX 1.9.14) just now. There should be no breaking changes though. I'll publish a stable release these weekend.


Create a better incentive system to discourage model copies

Although current systems in place (3% time penalty, model safetensors hash checking) help guard against blatant model copying, there are still potential avenues of exploitation.
The requirements for a solution that can accurately detect model copying are the following:

The solution can distinguish between "copying" and fine tunes
The solution is a relatively "fast" computation (ie. does not cost more execution time than the current scope of evaluation)

Further notes on tuning other subnet properties:

It is desirable to keep the current temperature at roughly the same range. Although the current number of participants in the subnet may be small, this value can change in the future. Furthermore, there are existing discussions with validators regarding the emissions curve and the current level

It is desirable to keep a relatively low registration cost. A low registration cost can encourage newer participants, and there is already an implied cost for miners who are training and evaluating their models offline.

Additional discussion points are welcome and it is expected that this may not result in a concrete solution, but at the very least provide discourse to find a way forward.

In my opinion, the biggest problem is that every model gets emission, which encourages cloning... And the best miners are not properly rewarded. Therefore, I propose that only about 10% of the miners should earn, rather than everyone.

I'm not convinced that 10% is the optimal solution, but I haven't come across any other subnet where every miner gets emission. For example, in SN37, only the top 1 and 2 receive emissions, which isn't necessarily ideal, but... On the other hand, if every miner earns something, it could encourage cloning and discourage the top miners, for whom the emissions are relatively small.

I think in the case of managing emissions, this may be better addressed by adjusting temperature, which other miners have requested as well.
I don't think that there is a worthwhile attempt for a "copying" miner to pay a registration fee to receive 0.001 tao in emissions vs no emissions, as long as the "top" miners are happy.
We will consider adjusting the temperature in a future update, and go from there in this case. Will keep this open for continued discussion


License

See: https://choosealicense.com/no-permission

Thanks for the note! Resolved in linked commit.


Create after-upload landing page

Report on the status of the images uploaded, show links to them, and handle any other post-upload tasks.
If some images didn't succeed in uploading (and populating the metadata database), report on the failures and say what happened to the images.

Added in https://github.com/dirac-institute/trailblazer/pull/39
New issues can be opened in the future to address improvements to the current form.


appbar or toolbar background image

how to create toolbar like this:

https://2.bp.blogspot.com/-RbZa_7TIrWc/VscVaZiJKrI/AAAAAAAACjo/mDxQU3CNzNE/s1600/collapsing-expanding-android-toolbar-appbar-with-background-image.gif

@acusgazerock Please use gitter or SO for questions, and keep issues for... issues.
(@oliviertassinari what became of the work that @newoga did on this at one point?)

@mbrookes https://github.com/newoga/material-ui-scrolling-techniques

@mbrookes  sorry its my first time i use material-ui and i didn't find it in doc.
@oliviertassinari  thanks

can't be use in<EMAIL_ADDRESS>:(


Access chrome://webrtc-internals with puppeteer

How can one access chrome://webrtc-internals with puppeteer?

@dtel it'll work just fine in headful chrome; headless doesn't support the chrome:// urls.
const puppeteer = require('puppeteer');

(async() => {
  const browser = await puppeteer.launch({headless: false});
  const page = await browser.newPage();
  await page.goto('chrome://webrtc-internals');
})();

Someone knows how to access to chrome://webrtc-internals from a headless browser?
Thanks.


Uncaught Error: Cannot find module '@babel/runtime-corejs2/helpers/interopRequireWildcard'

Description:
Hi there,
I installed Hydrogen on Atom using the command line (apm install hydrogen) as it throws an error directly from the package manager. After installation I open Atom to run some test code (eg, print("hello")). Even before I try to "shift-Enter", the error pops up. Unable to run any code with Hydrogen "shift-enter", running the file as a script works fine though.
Spend a bit of time looking around ( I rarely write help posts), and the closest I found was the same type of error message from meteor: [Dates from April 2018]
https://forums.meteor.com/t/solved-cannot-find-module-babel-runtime-helpers-builtin-objectspread-after-update-meteor-to-1-6-1-1/43034
The problem and solution there was:
"The meteor-babel npm package has been updated to version 7.0.0-beta.42, which may require updating any custom Babel plugins you’ve enabled in a .babelrc file, and/or running the following command to update @babel/runtime
meteor npm install @babel/runtime@latest"
I wonder if it's the same issue with Hydrogen, and if there is a fix for it or if I'm doing something wrong.
Help :)
Thanks
PS: In troubleshooting guide, it says to add debug messages by ticking enable debug message.
I don't have that tick in the settings (picture attached).

Steps to Reproduce:
(Hard to know since it happens when I open Atom after installation)

Install Hydrogen with command line
Open Atom
Error will pop-up

Versions:
Atom: 1.30.0 x64
Electron: 2.0.5
OS: Microsoft Windows 10 Enterprise
python: 3.6
Logs:
Stack Trace
Uncaught Error: Cannot find module '@babel/runtime-corejs2/helpers/interopRequireWildcard'
At module.js:545

Error: Cannot find module '@babel/runtime-corejs2/helpers/interopRequireWildcard'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.30.0/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.30.0/resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.30.0/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/node_modules/@nteract/transform-vdom/lib/index.js:3:31)
    at /packages/Hydrogen/node_modules/@nteract/transform-vdom/lib/index.js:78:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.30.0/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.30.0/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.30.0/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/node_modules/@nteract/transforms/lib/index.js:43:22)
    at /packages/Hydrogen/node_modules/@nteract/transforms/lib/index.js:110:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.30.0/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.30.0/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.30.0/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/lib/store/output.js:3:52)
    at /packages/Hydrogen/lib/store/output.js:65:33)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.30.0/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.30.0/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)

Commands
     -0:43 virtualenv:select (atom-workspace.workspace.scrollbars-visible-always.theme-atom-material-syntax-dark.theme-atom-dark-ui)
     -0:39.8.0 hydrogen:run-and-move-down (input.hidden-input)

Non-Core Packages
atom-file-icons 0.6.0
atom-material-syntax-dark 1.0.0
atom-python-virtualenv 1.0.2
atom-shortcuts 0.0.2
autocomplete-python 1.10.11
busy-signal 1.4.3
Hydrogen 2.5.1
intentions 1.1.5
kite 0.104.0
linter 2.2.0
linter-flake8 2.3.0
linter-ui-default 1.7.1
minimap 4.29.8
platformio-ide-terminal 2.8.4
python-autopep8 0.1.3
script 3.18.1

Not sure what's causing it but as a workaround, you can go to the package and directly install the dependency:
cd ~/.atom/packages/Hydrogen/
npm install @babel/runtime-corejs2

Looking into this tonight.

I have seen the same problem in the Mac OS

I am experiencing same issue. Windows 10.

We have a fix in an open PR right now and will ship today after that's merged.

Uninstalled and reinstalled since new commit. It works!
Just want to say a really big thank you to all the contributors for how efficiently and fast this was solved!


vim jumps to the top after formatting

Related to #55.
Possible solution: explicitly remember current line and jump to it after formatting.

This plugin already tries to do that with winsaveview().
#55 works perfectly for me.

The linked solution (#55) works for me as well using astyle-2.05.1 and vim-7.4.712.

For astyle it seems to work somehow indeed, but for autopep8 it doesn't.
Besides, to me, the fix in #55 doesn't make sense as it just removes the range to be passed to the formatter function. The range has to be passed explicitly. http://stackoverflow.com/questions/10572996/passing-command-range-to-a-function
I proposed a new fix in https://github.com/Chiel92/vim-autoformat/pull/57.
Does this fix it for you as well?

Yes, this also fixes the problem.

Pushed the changes. Thanks for the feedback!

Thanks :)

@Chiel92 You're awesome! Thanks for the plugin.

This still seems to be affecting me. I'm on the latest version of this plugin and I'm using the autoformat when I save and if I save then try to undo I have to undo twice, once brings me to the top of the file, the other actually removes the change.

I hate to "+1" issues, but I'm still seeing this issue. Additionally, when open the same file twice in vim, autoformat causes the second file to jump to the top if the first one is saved (but not the other way around).

@ericlagergren Could you please open a new issue for your problem, and specify in more detail what it is that you're seeing?


OfflineRoutingSample crash on physical devices running IOS 10.0.2 , 9.3.2 .

I can't run the OfflineRoutingSample (objective-c) on physical devices running IOS 10.0.2 , 9.3.2 , when i add another point to create a route an EXC_BAD_ACCESS is thrown from "Esri_runtimecore::Network_analyst::Traversal_result::get_partial_edge_geometry_" , however it is working fine on the 10.0 simulator , and on a physical device running 9.3.4 , anyone facing the same issue ?
Note: i am running the 10.2.5 IOS SDK , and Xcode 8 .

Based on this geonet thread:https://geonet.esri.com/thread/175740#comment-602963
This is a known issue with 64 bit devices
Can you try this workaround? Build the project with only 32 architectures. You can then run the app on all devices without a crash - the trade off being you would be unable to benefit from 64-bit computing.

It will work fine on 32 bit architectures but i wouldn't call this a workaround because the Appstore will not accept applications that supports 32 bit applications only , in other words 64 bit architectures must be supported in order to distribute on the Appstore .

Hi abdeIrahman, I have met the same problem, have you find way to resolve this problem yet?

@EddyLiu1001 Hello mate, no i haven't found any useful solution to that problem other than the one suggested above, they released a new version of the SDK but i haven't tried it yet .

@abdeIrahman,I also notice they have released a new version 100.0.0.But in their release note,they haven't mention this issue.I have downloaded the new version, but I don't know after I install the new version sdk,whether I can turn back to version 10.2.5 if I encounter some new problems.

@goldenlimit  change structure to 32-bit can avoid this problem, but in that way,App will not be able to be put on APP Store.Any other suggestion?

@goldenlimit I find that  that the SDK supports 32 bit applications only , in other words 64 bit architectures must be supported in order to distribute on the Appstore .Could you give me some advice?

@EddyLiu1001 @xianning We just released the new version of SDK 100.0, What about try with the new version of SDK? https://developers.arcgis.com/ios/
AGSRoute: https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_route.html

Hi @EddyLiu1001 You can always retrieve back to the 10.2.5, as long as you just reinstall the 10.2.5 pkg file again on your mac and it will overwrite your current version of SDK in your mac.

@goldenlimit  many thanks,I will try this issue in version 100.0.0

This issue is resolved in version 100.0


Error while using openrouter/custom models

Bug Report
Product: chatGPTbox
Component: Custom Model
Version: [2.4.6]
Description
An error occurs when using a custom model in chatGPTbox, causing unexpected behavior and hindering the user's ability to interact with the model effectively. The error message "Unexpected token 'O', "{"":OPENROUTER"... is not valid JSON for openrouter API completions" indicates that there is an issue with the JSON data being processed by the custom model.
Steps to Reproduce

Load a custom model into chatGPTbox
Attempt to use the custom model for text generation or completion tasks
Observe the error message "Unexpected token 'O', "{"":OPENROUTER"... is not valid JSON for openrouter API completions"

Expected Behavior
The custom model should be able to process JSON data without errors and function as intended for text generation or completion tasks.
Actual Behavior
The custom model encounters an error while processing JSON data, causing unexpected behavior and preventing it from functioning correctly.
Impact
This bug significantly impacts the user experience by preventing the use of custom models in chatGPTbox. Users are unable to leverage their custom models for text generation or completion tasks due to the error.
Severity
High
Priority
High
Proposed Solution
Investigate the root cause of the error and implement a fix that ensures custom models can process JSON data without encountering errors. Additionally, consider adding stricter JSON validation checks to prevent invalid data from being input into the custom model.
Additional Notes
The error message "Unexpected token 'O', "{"":OPENROUTER"... is not valid JSON for openrouter API completions" suggests that the custom model might be attempting to parse data intended for the OpenRouter API. It would be beneficial to identify the source of this data and ensure it is properly handled to prevent conflicts with the custom model.
Please address this bug promptly to restore the functionality of custom models and enhance the user experience of chatGPTbox.

fixed in 0238790ec3856ef086fb9129e03f3664c7ca0294


Testing permutation

Issue Id you have worked upon -
#187
Briefly explain your program logic -
find the  1st decreasing sequence from right, now start from end and find 1st greater element from nums[] swap them now you will get decreasing sequence from dip + 1 reverse it
Screenshots(Attach 2 screenshots of your own input and output) -

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied I can be banned from the repository.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.

i think its done now, kindly checkonce.

@RAshid602,
Kindly add few more comments in the logical sections of your code

Some needed comments are included in solution.
So, i think that is it.

Some needed comments are included in solution. So, i think that is it.

@RAshid602,
Ok I will consider it that way


:question: Don't override user config

Not really sure what is currently the best practice, so please consider this a topic for discussion rather than an instant merge.
Anyways, I'd like the opportunity to override the settings of any theme I have installed. Currently, hyperterm-seti will by default override user configuration for colors (naturally), but also cursorColor, borderColor, foregroundColor and backgroundColor, which, in my opinion, is inherently bad UX.
This PR “fixes” this problem by letting the user configuration trump theme settings for better or for worse. As far as I know, hyperterm currently batches a default configuration that would override this theme...
Edit:
I pushed a change that, while overriding colors (as one should expect), lets the user configuration trump cursorColor, borderColor, foregroundColor and backgroundColor if present. This would fix my issues with this, and avoid issues where the default configuration would overwrite everything.

I actually went back and forth on this myself.
I settled on the current implementation because, as a user, I kind of expect a theme to take over a lot of the styling (since that's basically what a theme does).
Your solution works in that a user's config for cursorColor and whatnot would be preserved if they are present in the config, but also as you noted hyperterm has a default theme config that would trump the theme. So then there'd be the awkwardness of needing to note something like:

If you haven't touched your default configuration outside of installing this theme, you'll need to remove stuff to see it as intended.

It's a give and take either way.
Also, hyperterm's own example theme and a few others overwrite those values so I'm inclined to leave as is for now but will leave this open to think about some more and also see if something emerges as a best practice since we're still early days.

Yeah, good call. I guess the default configuration would have to be off by default (in hyperterm) for user overrides to make sense.

(v0.4.0) includes some basic capabilities to override some of the theme options by adding a themeOptions property to the config object. See docs


Added guidelines for Integrationtests

@MoritzKeppler should this be merged?

Since this one is approved I will merge this one, still keeping the revision of definitions in mind.


Release and break times

When someone releases it’s a super important event but right now the only way it manifests is that the arrow flashes for a split second. Would be great to add some kind of “toast” that says “Released for 200ms” this way it’s easier for the viewers to see that the streamer did release. Otherwise it’s not immediately obvious.

Good idea! Not sure how I would display this though. Don't want it to get in the way too much. (Plus there should be a setting to turn this on explicitly.)

One possible idea for this could be to add some kind of animation to fade out a key upon release such as https://gfycat.com/smugdizzygrayfox
This would only help the case where a key quickly transitions from unpressed -> pressed -> unpressed, though


cURLUploader fails when there are many files.

##[error]The filename or extension is too long
This error is thrown when the cURLUploader is about to upload a total of 1400 files.
I have attached the log from TSVS to this issue. I hope that it makes sence. :)
cUrlLog.txt

@januskh from the first glance it appears we may have reached some kind of max length somewhere.  Are you currently blocked by this?  If you split the cURL task into multiple steps and upload a smaller subset of files in each, does that help?

@yacaovsnc Yes, I think that the {array} gets too big. Kind of blocked... I have consider doing this too, but I am afraid not to get all files uploaded. I thought of doing it by extensions on the files, but if one of our developers suddenly add some kind of new extension, I might have a problem.
An idea could be to have the task doing the upload in chunks, like 100 max at the time.. but I am still a noob in ps1 and ts. ;)

@januskh Could you split it by folders?  Also I would really caution against using curl this way to do releases.  What if one of your developer deletes a file?  Given the way curl is used to deploy, the file will be left on the ftp server.
The original intend of this task was to upload a single or a very small amount of files to a remote application server (say tomcat), and let the remote application server handles the actual deployment (for example tomcat could be configured to auto deploy all war files).
Does your hosting service offer similar functionalities?  Say could we zip everything up and just upload the single zip and extract it on the other end of connection?

@januskh I am going to test against the typescript implementation against this particular problem -- we will enable running ts task implementations on windows agent soon.
I will think about how to handle those situations, maybe gave back the file input control back to the user -- maybe I can have a check box to indicate I should take the user input verbatim so the task does not expand the list.  Then we can untap the full potential of curl's glob ability.

@yacaovsnc In my case, the only way of uploading files, that my hosting company is providing is by FTP. And you are definitely right about the issue, that a developer removes a file, could be left on the server, since there is not a task for deleting files prior to FTP upload. I would really like the solution to work using hosted build, so this is my problem.
I have been looking a little bit into use a powerscript instead, but I will become rather complicated too, since the out-of-the-box functionality is limited. So I found this powerscript-library ( https://gallery.technet.microsoft.com/scriptcenter/PowerShell-FTP-Client-db6fe0cb ) which could solve the issue, but then I would have to make it a part of my "package"... but that would be stupid. :)
But your idea of using typescript implementations sounds very interesting. I am very much looking forward to see it's potential and what it will become.
Thank you a lot for helping out. Merry Christmas to you, your family and your team at MS. :)

I have created a FTP Uploader task, submitted it to the marketplace, and is waiting to be approved for publishing it. So... I've solved it myself.

Way to go @januskh!  That's great news to hear and I look forward to see your task gets approved so others can benefit too!

@yacaovsnc Check it out here:
https://marketplace.visualstudio.com/items/januskamphansen.ftpupload-task

Hi There,
I get an error while uploading the published files through cURL upload task. I need to publish it to AWS through my TFS Release Management. However, it identifies the .zip file and uploads. But when i want to publish the contents in the folder, it's not happening.
Also tried with the FTP task, it fails too. Any help would be appreciated.
Thanks,
Srivatsa

Hi Srivatsa, can you please provide the build log that shows the failures for cURL and FTP?  That will help diagnose the problem.  You can get more information in your logs by setting a variable named System.Debug to true on the Variables tab of the build definition.

Hi David,
PFA log for FTP upload task.
5_Upload  using FTP.txt

Hi Srivatsa, it looks like you're using the FTP Uploader extension from the Marketplace.  I'm not familiar enough to troubleshoot it, but if you are using Team Services, you can instead use the built-in FTP Upload task provided by Microsoft.  If you are running on-premises TFS 2015, Microsoft's FTP Upload task will be available in the next version (2016), or I can send you instructions on how to install it manually to your instance of on-premises TFS 2015.


Fix unit test

Fix two unit tests that were broken.
PixelDensityRoundtrip was now writing data in a byte array instead of a tmp file, but was trying to read the tmp file anyway.
And
PngWriteForceTrueColorText that was writing a png into a file named .gif, but was unable to read it because the extension was checked and refused by png parser.

Codecov Report

Merging #270 (4d1d64b) into master (72a9ccf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #270   +/-   ##
=========================================
  Coverage     70.76%   70.76%
  Complexity     3368     3368
=========================================
  Files           332      332
  Lines         16936    16936
  Branches       2652     2652
=========================================
  Hits          11985    11985
  Misses         3904     3904
  Partials       1047     1047

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


Print support modifications

Description

Print Support

Changed @Printable to @PrintConfig
@PrintConfignow targets the @Button instead of the printPath param
Added useAppStyles so clients can transport the single page application styles to the print window

Overview of Changes

See above.
Type of Change

[ ] New feature
[ ] Refactor/Technical Debt
[ ] This change requires a documentation update

Test Details

Functional Testing in Petclinic
Additional Notes

N/A

You did it @lopezton-anthem!
Thank you for signing the Anthem Opensource Software CLA.


Correct null check

Codecov Report

Merging #39 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   71.64%   71.64%
=======================================
  Files           4        4
  Lines         328      328
  Branches       56       56
=======================================
  Hits          235      235
  Misses         51       51
  Partials       42       42

Impacted Files
Coverage Δ

libseshat/src/libseshat.c
68.9% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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