Allow references with up to 2**31 contigs

Note, this is not quite the layout suggested in https://github.com/ksahlin/strobealign/issues/421#issuecomment-2429388998. I implemented it this way before that comment, but will adjust it.
This changes the RefRandstrobe struct in the following way.
Previous layout:

40 bits base hash
24 bits auxiliary hash
32 bits position
23 bits reference/contig index
8 bits strobe2 offset
1 bit first_strobe_is_main flag

New layout:

38 bits base hash
17 bits auxiliary hash
8 bits strobe2 offset
1 bit first_strobe_is_main flag
32 bits position
32 bits reference/contig index

Closes #421
Edited to reflect actual new layout

Happy to talk about this further. To elaborate already now: Making all attributes private improves encapsulation. By forcing any access to the hash value to go through the hash() getter method, the RefRandstrobe class is in full control of how it wants to internally represent hash values. There’s only one place we need to modify if we want to change that representation. In this particular case: I now don’t have to write randstrobe.hash & RANDSTROBE_HASH_MASK everywhere a hash value is used, I can just write randstrobe.hash() and let the method deal with.
Also, as a consequence of making all attributes private and not exposing any methods that allow changing them, RefRandstrobe instances are now immutable. And immutable objects are nice because they make it easier to reason about the state of the program.

I’ve updated the PR to the 38/17/8/1 layout (that is, the strobe2 offset comes first). In summary, this is the new layout:

38 bits base hash
17 bits auxiliary hash
8 bits strobe2 offset
1 bit first_strobe_is_main flag
32 bits position
32 bits reference/contig index

I changed aux_len to 26, but this actually means that 17 bits are used as auxiliary hash. Since this is a bit misleading, I have disabled the command-line option --aux-len for now. Do you want a working --aux-len option as part of this PR?

I’ve gotten --aux-len to work in branch auxlen. I’ll open a separate PR about this.


[Feature Request] View Only mode

This project is awesome, very very easy to use! I love the way it is presented when the terminal window changes sizes.
The one request I would make is that you build a view-only mode. That way I can create a link to share in a presentation, but not allow the viewers to type anything on their side.

mind checking out https://github.com/qnkhuat/tstream ? it's built for that purpose.

Technically we could add an option for termishare to disable inputs from viewers.
But currently termishare only supports mesh topology, so if you want to present it for multiple viewers then the number of viewers = the number of connections. Which I think is not great for the host.
It's best to use SFU for this use case.
I'll see if we could add supports for that, but in the meantime, I think it's best to use tstream.


Stripe Apps CLI prompt messages not showing up on Windows' git bash

Describe the bug
Stripe Apps CLI prompt messages not showing up on Windows' git bash
To Reproduce
Steps to reproduce the behavior:

Run stripe apps create helloworld on git bash windows
Prompt message not showing up

Expected behavior
Prompt message should be shown
Screenshots
If applicable, add screenshots to help explain your problem.
CLI (please complete the following information):

Stripe CLI: 1.8.11
Apps plugin: 1.2.4

Additional context
Add any other context about the problem here.

Issue on stripe-cli for more context: https://github.com/stripe/stripe-cli/issues/890

Closing as a dupe of https://github.com/stripe/stripe-cli/issues/890 which has more investigation and context.


ESP crashing occasionally when started using WiFi and BLE at once (IDFGH-7858)

Hello. I have initially only used BLE for my project and never had any problems. Recently I have also implemented WiFi for my project and have the coexist enabled in the menuconfig.
At the beggining of a  program, BLE and WiFi is initialised (WiFi only initialised but webserver not started).
When any client connects to the ESP32 AP, the BLE is disabled and webserver created allowing user to connect to the website. When user disconnects from the AP, WiFi webserver is disabled and BLE is resumed.
I have noticed some weird issues with my program since I started using WiFi. Sometimes when I try to write some data to external SPI EEPROM, the device will randomly crash.
The crash produce the following message:
Guru Meditation Error: Core  0 panic'ed (Double exception).

Core  0 register dump:
PC      : 0x40091f53  PS      : 0x00040036  A0      : 0x80092144  A1      : 0x3fff8f20
A2      : 0x00000001  A3      : 0x00000005  A4      : 0x00000005  A5      : 0x00000006
A6      : 0x3ffc58f0  A7      : 0x000005a0  A8      : 0x800e7e6a  A9      : 0x3fff8ea0
A10     : 0x3ffc43fc  A11     : 0x000005a0  A12     : 0x00000013  A13     : 0x00000041
A14     : 0x00000000  A15     : 0x00000018  SAR     : 0x00000018  EXCCAUSE: 0x00000002
EXCVADDR: 0x00000031  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000

Backtrace:0x40091f50:0x3fff8f200x40092141:0x3fff9370 0x40092141:0xa5a5a5a5  |<-CORRUPTED

ELF file SHA256: f426253f0307379b

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:6608
load:0x40078000,len:14816
load:0x40080400,len:3792
entry 0x40080694
[1B][0;32mI (27) boot: ESP-IDF v4.4.1 2nd stage bootloader[1B][0m
[1B][0;32mI (27) boot: compile time 13:59:42[1B][0m
[1B][0;32mI (27) boot: chip revision: 1[1B][0m
[1B][0;32mI (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0[1B][0m
[1B][0;32mI (37) boot.esp32: SPI Speed      : 80MHz[1B][0m
[1B][0;32mI (42) boot.esp32: SPI Mode       : DIO[1B][0m
[1B][0;32mI (46) boot.esp32: SPI Flash Size : 8MB[1B][0m
[1B][0;32mI (51) boot: Enabling RNG early entropy source...[1B][0m
[1B][0;32mI (56) boot: Partition Table:[1B][0m
[1B][0;32mI (60) boot: ## Label            Usage          Type ST Offset   Length[1B][0m
[1B][0;32mI (67) boot:  0 otadata          OTA data         01 00 0000d000 00002000[1B][0m
[1B][0;32mI (74) boot:  1 phy_init         RF data          01 01 0000f000 00001000[1B][0m
[1B][0;32mI (82) boot:  2 factory          factory app      00 00 00010000 001a0000[1B][0m
[1B][0;32mI (89) boot:  3 ota_0            OTA app          00 10 001b0000 001a0000[1B][0m
[1B][0;32mI (97) boot:  4 ota_1            OTA app          00 11 00350000 001a0000[1B][0m
[1B][0;32mI (104) boot:  5 storage          Unknown data     01 82 004f0000 001a0000[1B][0m
[1B][0;32mI (112) boot:  6 nvs              WiFi data        01 02 00690000 00006000[1B][0m
[1B][0;32mI (119) boot: End of partition table[1B][0m
[1B][0;32mI (124) boot: Defaulting to factory image[1B][0m
[1B][0;32mI (128) boot_comm: chip revision: 1, min. application chip revision: 0[1B][0m
[1B][0;32mI (135) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=50984h (330116) map[1B][0m
[1B][0;32mI (244) esp_image: segment 1: paddr=000609ac vaddr=3ffbdb60 size=06020h ( 24608) load[1B][0m
[1B][0;32mI (252) esp_image: segment 2: paddr=000669d4 vaddr=40080000 size=09644h ( 38468) load[1B][0m
[1B][0;32mI (266) esp_image: segment 3: paddr=00070020 vaddr=400d0020 size=fc6c4h (1033924) map[1B][0m
[1B][0;32mI (578) esp_image: segment 4: paddr=0016c6ec vaddr=40089644 size=0ee58h ( 61016) load[1B][0m
[1B][0;32mI (600) esp_image: segment 5: paddr=0017b54c vaddr=400c0000 size=00064h (   100) load[1B][0m
[1B][0;32mI (600) esp_image: segment 6: paddr=0017b5b8 vaddr=50000000 size=00010h (    16) load[1B][0m
[1B][0;32mI (618) boot: Loaded app from partition at offset 0x10000[1B][0m
[1B][0;32mI (618) boot: Disabling RNG early entropy source...[1B][0m
[1B][0;32mI (631) cpu_start: Pro cpu up.[1B][0m
[1B][0;32mI (631) cpu_start: Starting app cpu, entry point is 0x400812e8[1B][0m
[1B][0;32mI (618) cpu_start: App cpu up.[1B][0m
[1B][0;32mI (648) cpu_start: Pro cpu start user code[1B][0m
[1B][0;32mI (648) cpu_start: cpu freq: 160000000[1B][0m
[1B][0;32mI (648) cpu_start: Application information:[1B][0m
[1B][0;32mI (652) cpu_start: Project name:     ELSTAT_ESP_IDF[1B][0m
[1B][0;32mI (658) cpu_start: App version:      558fdf7-dirty[1B][0m
[1B][0;32mI (663) cpu_start: Compile time:     Jul 19 2022 07:17:14[1B][0m
[1B][0;32mI (669) cpu_start: ELF file SHA256:  f426253f0307379b...[1B][0m
[1B][0;32mI (675) cpu_start: ESP-IDF:          v4.4.1[1B][0m
[1B][0;32mI (680) heap_init: Initializing. RAM available for dynamic allocation:[1B][0m
[1B][0;32mI (687) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM[1B][0m
[1B][0;32mI (694) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM[1B][0m
[1B][0;32mI (700) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM[1B][0m
[1B][0;32mI (706) heap_init: At 3FFCCE98 len 00013168 (76 KiB): DRAM[1B][0m
[1B][0;32mI (712) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM[1B][0m
[1B][0;32mI (718) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[1B][0m
[1B][0;32mI (725) heap_init: At 4009849C len 00007B64 (30 KiB): IRAM[1B][0m
[1B][0;32mI (732) spi_flash: detected chip: gd[1B][0m
[1B][0;32mI (735) spi_flash: flash io: dio[1B][0m

I am not fully sure what does the crash message mean. Could you guys help me out and clarify what could be an issue here and how to narrow it down?
UPDATE
I have a testing command to write dummy data to external SPI EEPROM. I can easily reproduce this issue by restarting the device and attempting to write few dummy packets to the EEPROM. After the write operation, the device will crash.
Interesting fact to note, if I fully erase the EEPROM memory after device reset and then try to write some dummy packets, it will not crash!

I think I have found the problem. There were 2 issues:

BLE and WiFi cannot work both at once. If you use WiFi , the BLE should be disabled and vice versa.
There was lack of ram memory. I have optimised ram using menucofnig by disabling few options to free some iram.
That seemed to fix the issue


Keep running while window menu is open

https://github.com/drobilla/pugl/blob/eada1042452e8708ca6c65f7c23ac3c59e4c53f0/pugl/pugl_win.c#L709
        case WM_ENTERSIZEMOVE:
        case WM_ENTERMENULOOP:

        case WM_EXITSIZEMOVE:
        case WM_EXITMENULOOP:

Eg. when context-clicking window border and menu opens, keep running like when window is moved or resized.

I am not even sure it's worth the considerable effort to keep drawing while the Window is being dragged.  This stuff is a real nightmare on Windows.
I doubt just hooking in to those will make it work correctly, but I'll look into it.

It should work, I've tested it.
There's some rare cases left where the continuity is broken, but those two will make it almost complete.
I think it's reasonable to make it possible to run without any interruption in the view, independently of window actions, as much as possible.

Eventually related:
on Windows, when making a pugl view fullscreen the animation is halted but keyboard input is still procesed. After fiddling around, I found that this happens only when the view takes exactly the screen space (which is what fullscreen is supposed to do).
The workaround for now is to make the view 1 pixel wider than the screen. Funnily enough this does exactly the "right" thing. There must be something special going on when view is exactly the screen size that prevents to redraw if run with -c.

I saw this was addressed in
https://github.com/drobilla/pugl/commit/717668467c6c2d65c417e81f607977ed3d676863
+1


[scripts] Dependency build ignores remote cache

When building the deps for a script no remote cache is used.

Closing this as I hadn't seen this one and created https://github.com/gitpod-io/leeway/issues/137 a few days ago - the issue I created has some clear steps for how to reproduce this so I'm keeping that one rather than this one ☺


Update Business Central Learning Plan.md

Create a link under certificates for free online exam review

Are these exam resources with fictitious questions or are they brain dumbs (real questions)?  If the latter we can't add them to the plan.

Are these exam resources with fictitious questions or are they brain dumbs (real questions)?  If the latter we can't add them to the plan.


Rename library to NosLib (or better)

Rename the project to a simpler and better name and make it work under new name

Completed


import json file

Could you please provide a sample json file that has multiple json objects as input with each object having multi-valued field. For example
[{"id": "1", "keywords_dict.en": ["losing money", "businessman and wins", "stock exchange trading", "stock traders", "new york stock exchange", "global financial crisis", "financial traders", "stock market"]}, {"id": "2", "keywords_dict.en": ["woman", "gift"]}]

hi @rajanim in the output there is just one line each json.
Could you please provide a sample json file that has multiple json objects as input with each object having multi-valued field. For example
{"id": "1", "keywords_dict.en": ["losing money", "businessman and wins", "stock exchange trading", "stock traders", "new york stock exchange", "global financial crisis", "financial traders", "stock market"]}
{"id": "2", "keywords_dict.en": ["woman", "gift"]}


Const correctness on char*

Mechanically converts char* types to const char* types in pigpio.c and pigpio.h when correct.
Emphasis on the API accepting const char* where appropriate.

I agree with the sentiment and would probably use const if I started again.  Unfortunately this would break too much existing code (warnings issued for code which previously clean compiled).

What kind of warnings are generated? I expect to only see "discarding const qualifier" on downstream function calls, so I should be able to just fix those as well.
Is there any instance where pigpio (from the changed functions) calls something external that expects non-const char*?

I don't mean pigpio itself.  I mean code others have written to use the pigpio C I/F API.  It would be breaking the published API.

I'm pretty sure that implicit conversion from T* to const T* is completely warning-free - the callee function morally promises that it will not modify the data through that particular pointer.

You can use a pointer-to-T (for any type T) where a pointer-to-const-T is expected. However, the rule (an explicit exception) which permits slight mismatches in qualified pointer types is not applied recursively, but only at the top level.
References: ISO Sec. <IP_ADDRESS>, Sec. <IP_ADDRESS>, Sec. 6.5.3
H&S Sec. 7.9.1 pp. 221-2
http://c-faq.com/ansi/constmismatch.html

I'm claiming this API change should be guaranteed not to generate any new warning.


JAWS V1.0 Installation Guide

Hi, I can't test or contribute for 1.0 at the moment because I have no idea how to install it.
Can you throw some rough instructions in this issue? If you can I'll test and document them.
And I get that it may well change before 1.0 is baked, but this will allow me to get up to speed and we'll have some install docs evolving along with the code.

Second to this. I am lost, but would love to help.

There is intentionally not any docs for the v1.0 branch because it is still a WIP.  We are working hard on getting it ready for beta and don't want to be spending time fielding issues on a feature branch that is changing rapidly.
With that said we are very close to beta.  Keep an eye on the doc for progress (at the top).
Once we have a solid foundation we will open it up for pull requests and of will have good docs.

@jwulf @tobyhede Thanks for waiting on us :)  We're almost to a beta for version 1 (maybe 1-2 weeks away).  At that point, we'd really appreciate your help.

git clone the v1.0 branch, for example into ~/workspace.
add something like this to ~/.bashrc (or ~/.bash_profile on a Mac):
alias jaws-cli="~/workspace/JAWS/bin/jaws"
Then do source ~/.bashrc.
Now you can do:
cd ~/workspace
jaws-cli new

This launches the wizard and creates a new project with scaffolding. Not much to see yet. There is a jaws generate command (to generate a lambda stub) described in the design doc, but it's not implemented yet.


Marshalling byte[] based on JDK class.

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

I've already signed CLA.


[SPARK-3369] [CORE] [STREAMING] Java mapPartitions Iterator->Iterable is inconsistent with Scala's Iterator->Iterator

Fix Java function API methods for flatMap and mapPartitions to require producing only an Iterator, not Iterable. Also fix DStream.flatMap to require a function producing TraversableOnce only, not Traversable.
CC @rxin @pwendell for API change; @tdas since it also touches streaming.

Test build #48112 has started for PR 10413 at commit ac83f56.

Test build #48112 has finished for PR 10413 at commit ac83f56.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48112/
Test FAILed.

@srowen I've been thinking about all the RDD APIs last night, and one thought I have is that if  the goal is to push more people towards DataFrame/Dataset, then maybe it wouldn't be crazy to not change any of the existing RDD APIs to ensure maximum compatibility.

I think it probably cuts the other way - if you want people to use dataframes then keeping the RDDs as-is is not that important. I don't see that RDDs are going away and fixing this API seems natural for 2.x.

Test build #48131 has started for PR 10413 at commit 33e4559.

Test build #48131 has finished for PR 10413 at commit 33e4559.

This patch fails from timeout after a configured wait of `250m`.
This patch does not merge cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48131/
Test FAILed.

Build finished. Test FAILed.

Test build #48179 has started for PR 10413 at commit afe2af0.

Test build #48179 has finished for PR 10413 at commit afe2af0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48179/
Test FAILed.

Merged build finished. Test FAILed.

Test build #2248 has started for PR 10413 at commit afe2af0.

Test build #2248 has finished for PR 10413 at commit afe2af0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

@rxin I wanted to sound you out on this one -- do you feel strongly against it or are the reasons above a little persuasive?

Test build #48365 has started for PR 10413 at commit 6240965.

Test build #48365 has finished for PR 10413 at commit 6240965.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48365/
Test PASSed.

Merged build finished. Test PASSed.

Let me think about it a little bit more...

Test build #48606 has started for PR 10413 at commit 1dfe590.

Test build #48606 has finished for PR 10413 at commit 1dfe590.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48606/
Test FAILed.

Test build #48651 has started for PR 10413 at commit d0323d8.

Test build #48651 has finished for PR 10413 at commit d0323d8.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48651/
Test FAILed.

Test build #48655 has started for PR 10413 at commit bf2480d.

Test build #48655 has finished for PR 10413 at commit bf2480d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48655/
Test PASSed.

Test build #49028 has started for PR 10413 at commit d792f9a.

Test build #49028 has finished for PR 10413 at commit d792f9a.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49028/
Test FAILed.

Test build #49030 has started for PR 10413 at commit c3e0375.

Test build #49030 has finished for PR 10413 at commit c3e0375.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49030/
Test PASSed.

I'd like to raise the issue of whether to proceed with this change. @rxin what's your current thinking? I tend to favor it. Pinging, say, @pwendell or @vanzin or @andrewor14 for an opinion.

Hm, I'd like to proceed with this as I am in favor of the change. I don't want to do so over strong-er objections. I don't see any additional opinions here. @rxin what do you think -- are there modifications to this that could make things more compatible? documentation?

I think this change is pretty important, returning an Iterable means store the entire output in memory that really limits what you can do.

If there's another vote in favor -- and no strong objection surfacing -- I'd like to proceed soon to merge this.

Merged to master


com.mojang doesnt seem to exist?

the instructions say to go into your com.mojang file but my computer doesnt seem to have one? could someone tell me where to find it and if i cant, tell me why i wouldnt have one please?

Thanks for your feedback! The good news is, if you have Minecraft installed, you have the com.mojang folder; the issue may be finding it. If you're on Windows 11, try this:

Open File Explorer and click the "..." menu
Click on the "View" tab
Click the "Show hidden files, folders, and drives" radio button
De-select "Hide extensions for known file types"
Click "Apply"

After this you should be able to follow the tutorial with no issue :)
I hope this helps!


Update reindexing tasks to accept strings for the indexer (bug 1172904)

Too late for me to test this locally but it looks good, and since it fixes a complete breakage anyway, r+wc

Updated. re-r?

r+


console.log: Add information for updating the s5 from 2008 to 2034 in case "ERROR:Did not receive a firmware download request after 30s" is showing up

Hi, this pull request would add two console log outputs to give other people a hint that an upgrade from 2008 to 2034 should possibly be done via ssh
I upgraded my Roborock s5 from "factory firmware" → 1886 → 2008 with this awesome tool.
After I tried to upgrade from 2008 to 2034 l always received the error: "ERROR:Did not receive a firmware download request after 30s", and after some research I found out, that some other people had the same error.
Maybe the 2008 Firmware is blocking the upgrades?
The people in the following forum (the forum is in German, if site translation is not working, or additional information are required, I can translate) are saying that they had the same problem and that it might be needed to install the 2034 manually with ssh.
roborock-s50-2nd-gen-laesst-sich-nicht-auf-das-neueste-dustbuilder-image-mit-fw-2034-updaten
Maybe we can add this console log to the application, in order to give a hint to others.
BTW: This is my first contribution, if anything is missing, please reach out.

Hey, thanks for the PR. I do however have to reject this, as that message is way to specific for the tool.
There's nothing in the documentation telling the user to upgrade using this tool. It tells the user to factory reset and flash the initial rooted firmware via that method. If the user does something else, they didn't follow the guide.
Making the guide assume that the user won't follow the guide won't be a good idea


failed to configure

after i have installed pocket-cli and i try to pocket-cli configure
Please provide your consumer key:
Please provide your consumer key: 5XXXX-c5XXXXXXXXXXXXXXXXXXXXXXX
Please provide your preferred sort field
	Available options are [id, reading_time]
	default: [reading_time]: reading_time
Please specify your reading speed in words per minute
	You can use this URL to estimate your reading time
	http://www.readingsoft.com/
	default: [180]: 1000
Traceback (most recent call last):
  File "/usr/bin/pocket-cli", line 11, in <module>
    load_entry_point('pocket-cli==0.1.4', 'console_scripts', 'pocket-cli')()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pocket_cli/cli.py", line 51, in configure
    request_token = pocket_app.get_request_token(consumer_key)
  File "/usr/lib/python2.7/site-packages/pocket_cli/app.py", line 48, in get_request_token
    consumer_key, self.REDIRECT_URL
TypeError: get_request_token() takes exactly 2 arguments (3 given)

Oh yes... that must have been a regression when updating pocket-api. I'll get a fix tonight for this.
Thank you for reporting the issue.


docs: posix compliant script

README.md should be updated to make the script POSIX compliant.
Do you also want to create a check.sh script containing the following code (more robust and "verbose") so that anyone can easily download, copy, and run it:
#!/usr/bin/env sh

# Fail on error
set -o errexit
# Disable wildcard character expansion
set -o noglob
# Disable uninitialized variable usage
set -o nounset
# Disable error masking in pipe
if (set -o pipefail 2> /dev/null); then set -o pipefail; fi

missing_attributes=$(git ls-files | git check-attr -a --stdin | grep 'text: auto' || printf '\n')

if [ -n "$missing_attributes" ]; then
  printf '%s\n%s\n' '.gitattributes rule missing for the following files:' "$missing_attributes"
else
  printf '%s\n' 'All files have a corresponding rule in .gitattributes'
fi

Thank you!

Do you also want to create a check.sh script containing the following code (more robust and "verbose") so that anyone can easily download, copy, and run it:

That would be useful, yes.


Added GHA to run go vet and go fmt checks.

Changes
Added GHA to run go vet and go fmt checks.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[N/A] Has Docs included if any changes are user facing
[N/A] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[N/A] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[N/A] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

Happily, go vet and go fmt are clean in this repo. That was not the case over in pipelines, so I'm adding this GHA here too to prevent us from losing integrity down the road.


Version of  Bessel Face Model

Hello，could you tell me version of Bessel Face Model ? 2009? 2017 or 2019?

In our paper, we use bfm 2017 and make some topology change in triangles to match symmetry(which is not concerned with vertices).  2009 or 2019 should be fine, even you use FaceWareHouse/Flame (you can see face_model.py for reference). In regression stage, the vertices can be optimized. We will upload the data in a few weeks after checking with some close extra data.

Thank you for explanation.  I find that you have done many work on 'BaselFaceModel.mat'  in the code, could you tell me the reason of  multiplying 'v'  by 1e-5 and the meaning of  'tri' [0,0]  index?

Multiply the 'v' by 1e-5 so that the vertices are normalized in [-1, 1], so as to be in the center of the image and not stretch outside.
I try to generate multiple resolutions of the mesh with different topologies and get multiple triangles, where tri[0,0] is the detailed version. You may change as you like with the output of tri be shaped as [num_faces, 3]

Could you share me with your BaselFaceModel.mat?   I can not generate it In your way successfully. Thank you!


Animation

I'm sorry if i'm being offtopic with this questions, but is it possible to turn off the animation, and how would one do that? Thank you for creating this theme, it's lovely!

I just updated the theme - I added animateStyle parameter to config file.
Please comment or remove this parameter to disable animations.

I just updated the theme - I added animateStyle parameter to config file.
Please comment or remove this parameter to disable animations.


Resolution shows as 0x0 @0Hz

As title, I ran WinSAT already (since otherwise my GPU wasn't recognized) but the resolution keeps showing as 0x0@0Hz. This happens on both of my monitors, even if I physically unplug one of them from my GPU. My displays are both 3840x2160 and have 125% DPI scaling, my main one runs at 144Hz while my secondary one runs at 60Hz. Just to point it out, I already tried using both the old integrated Windows PowerShell and CMD but it makes no difference.

Out of curiosity can you try with 100% dpi scaling? that used to be an issuu


Created user profile with albums, artists, playlists, liked tracks

Solved #130. On clicking the icon with username, the user profile will open up displaying the saved albums, followed artists, saved playlists and liked songs.

@flyingsonu122. Any updates regarding this pr?

@flyingsonu122 . I have not received points for creating issues #129 #130. And also for this PR #134. Kindle check.

It takes time for the bot to work.
Please check after some time.
On Sun, 1 Jan, 2023, 6:08 PM Abhijeet Sinha, @.***>
wrote:

@flyingsonu122 https://github.com/flyingsonu122 . I have not received
points for creating issues #129
https://github.com/flyingsonu122/tarana/issues/129 #130
https://github.com/flyingsonu122/tarana/issues/130. And also for this
PR #134 https://github.com/flyingsonu122/tarana/pull/134. Kindle check.
—
Reply to this email directly, view it on GitHub
https://github.com/flyingsonu122/tarana/pull/134#issuecomment-1368434178,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMHHTFACAE2WF3N4D5D5YD3WQF3DJANCNFSM6AAAAAATNFAXYM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add Q_ID to Argmax

Please have two api calls.
The original api(args...), without the queue_id, that calls the one that requires the queue_id by setting queue_id to 0?
api(args...)
api(queue_id, args...)
This is better than having a default argument for queue_id.

Brian is currently working on this


Investigate and address data loss

As of April 18, users noticed that all species and genera in the family Tephritidae no longer appeared in search results within the site or in ID tool query outputs, or on the pages of hosts associated with those galls. Comparing the database before and after the data loss reveals that the genera and species records are in fact deleted in the database.
Strangely, the gall pages (which are looked up via the species IDs, not gall IDs, in the db) still load through google or if you have the right URL--this may be associated with a cache phenomenon given that the species doesn't exist in the database?
Goals here would be to identify the cause if possible, and prevent it from recurring, and if not to prevent it, then to design a system that will allow us to notice and conveniently address it when it happens again. That may involve 1) some kind of log of deletions or 2) simply a data backup and discrepancy alert system. If we decide to move forward with one or both of those mechanisms we would create new issues accordingly.

Upon further investigation, it looks like what happened should be consistent with this Admin user action:
On the Taxonomy tab of the admin UI, typing in and selecting family Tephritidae, then selecting all the genera and clicking delete:

This would theoretically have generated 13 queries to the db, one for each genus, but NOT for the family itself. Those queries have two parts, one that deletes all the species in the genus, and one that deletes the genus itself.

We also need to restore the original data at some point--not sure if that should be a separate issue?


Support displaying test results in markdown using GitHub Actions Job Summaries

This is essentially a duplicate of a standing PR https://github.com/dorny/test-reporter/pull/383, with one extra commit that addresses a comment https://github.com/dorny/test-reporter/pull/383#issuecomment-2118364674
Opt for not updating main directly based on this feedback https://github.com/dorny/test-reporter/pull/383#issuecomment-2118366349

Hi @ritchxu, thanks for making this PR. Overall, it looks good.
Could you fix the regression in the rendering of the test results?

Thanks for the feedback @jozefizso! Comments addressed and conflicts resolved ✅

Thanks for your contribution @ritchxu!


Use of "information content entity" vs "data item" as parent

There are a few terms under information content entity that seem to me to be to be more appropriately child terms of "data item", specifically:

menopausal status
reason for lack of data item
exposure to environmental and workplace carcinogens history
hormonal birth control use history
indicator of whether all inclusion criteria were met
indicator of whether an inclusion criteria was met

and perhaps

clinical history

Each of those could be thought of as a specific data items rather than more general forms of information content entities, like "document" or "email address".

Hi, thanks for raising this issue. We discussed this on the OBI dev call today (09.25.2023), and we agree that there needs to be more clarification about what goes under "data item" versus "information content entity." We plan to continue discussing this issue in the future, as it does seem like some of these would benefit from being moved under "data item," but we don't want to make any changes before we have thorough justifications for our organization of the hierarchy here, and we don't have that clarity yet. We'll follow up with you when we reach a resolution.


Autofix: 请问下vue您是如果调用扩展的js从而去执行扩展中的js的方法的呢

To improve the robustness of the extension, we'll add error handling and retry logic to the search function in the yymanhua.com.js file. This will help handle potential network issues or temporary failures when searching for manga.

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
The fix provided by Latta AI might not be complete and it can serve as an inspiration.

This bug was fixed for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt fixing issues on your repository, you can block this account.

Any benefits @hualiong ? Or should I just close it?

No need to modify, it's all good


Adding a new session value 'tenancy_impersonated_by' when you are impersonating a tenant.

This PR adds a new session value tenancy_impersonated_by in the tenant scope when you are impersonating a tenant.
This is similar to how Laravel Nova adds the nova_impersonated_by session value and could be used to identify when you are impersonating, who is impersonating. This may be useful for additional application logic and UI niceties such as an impersonation banner.

Docker container failed to initialise.

Just for some context — we're looking into this internally, since we were just about to work on something very similar. Using a session in the central context (or on the central domain) is potentially problematic, so we're going through the different solutions that could be used here to see what will work.

Resolved in #1029


resolves #43 to improve the performance when pulling large amount of bin...

Instead of checking out orphan files from index one by one, checkout all the files from index to avoid file searching overhead, which makes checkout 3 times  faster.
Some concerns you may have:

Is this solution functionally right?
The only risk here is overwriting those unstaged changes. So I add some check and remind user if there exists unstaged changes.

If git fat pull only needs to deal with several binaries(most files in the repository are plain text), how about the performance now?
Per my test , though we checkout all files from index , git is smart enough to tell whether updating content or not. The performance remains good if there are only several binaries to deal with.

Thanks

Ah, I see you do handle it.  I'll review this more closely in the morning.  I'm not sure it's okay to exit in the middle of that function. If it is okay though, it looks good!

A new command switch "--plenty-binaries" is provided to avoid interfering with the old behavior.

Two thoughts:

"plenty-binaries" is a really, really non-english style of phrase (it would never be said by a native english speaker).  Maybe "many-binaries" instead? :smile:
Would you be ok to squash both of these commits into a single one for this pull request?  It makes the history for the repository easier to work with for future people.

@justinclift, really appreciated for your suggestions, I have revised the commits.

Awesome. :smile:

Awesome thanks!  I think the argument is a good decision.  The default behavior makes it so that you can switch branches without having to stash changes, but for performance (e.g. initial clones), this will work better.


KWS streaming TFLite via CoreML delegate

I'm very interested in the work presented in the KWS streaming project. Do TFLite models converted to streaming mode (internal or external state) also work (in streaming mode) when used via TF Lite CoreML delegate on iOS devices? In this case, can mfcc_op be used on CoreML/iOS, or only mfcc_tf (or do speech feature extraction outside of the model)?
@rybakov

Comments about conversion steps:
1 TensoFlow(TF) model can be converted to TF streaming model with external or internal state.
2 TF streaming models with external state can be converted to TFLite and run on mobile devices (benchmarks in streaming and non streaming modes were reported in our paper).
3 TF streaming models with internal state can not be converted to TFLite now - this work is still in progress.
Comments about speech feature extractor:
4 mfcc_tf should work everywhere. It is implemented based on DFT and uses only basic ops such as matrix matrix multiplication.
5 mfcc_op is implemented based on FFT. It is a special op in TFLite. This feature extractor can be part of the model (set by preprocess 'raw'; feature_type 'mfcc_op') or it can be outside of the model (set by preprocess 'mfcc';). In both cases it is the same TFLite op and if it works for one case it will work for another too. I never tested it on CoreML/iOS. Please feel free to try it and let me know if you have any problems. If it does not work we can create an issue for TFLite team.

Thanks for the detailed response!

Quick note: mfcc_tf can be slower than mfcc_op because one uses DFT and another FFT. Also mfcc_op is preferable in case if you plan to quantize your model.


x-fmt/412 does not seem to be written correctly - v84 (JAR)

Possibility that variable second sequence is being written somewhere between the wildcard of the first...

This is not an issue in DROID4 and so suggesting it's not a bug and rather, it is related to the way both DROID and SF handle containers. (May test at some point in SF without containers.)

... if you build your signatures with roy build -doubleup you'll get the expected match.
Where PRONOM defines both container and byte signatures for a format, the default signature file excludes the byte signatures on the basis that the container signatures should give a more accurate result and if they haven't matched there is likely an issue (& I think you raised an issue in the past where including these extraneous byte signatures was causing mismatches).
You can override this behaviour and force inclusion of the additional byte signatures with the -doubleup flag. It is necessary for this skeleton file because of course the container signature doesn't match it.
p.s. great to see all this weekend work you're doing on the suite Ross :)

Great stuff! Thanks Richard.
Yep - just wanted to close these out. Think the structure is looking a little better now too now I'm using classes to store the byte structures.
I need to chat to PRONOM about sequences in the container signature for StarOffice I can't understand - once I've done that I'll release a suite for each of the legacy files and then be up to date again finally.

On 23 Jul 2017, at 13:36, Richard Lehane<EMAIL_ADDRESS>wrote:
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


basic svg export

WIP, pygfx SVG renderer is giving weird outputs, not rendering Image objects, camera view is wrong, lines don't have nice endings.
contours example:

FWIW I don't expect the SVG renderer in pygfx to be getting any better for the foreseeable future. Unless someone else is interested in moving it forward.

It's really not a priority for us either. I can work on simpler png export some time later, but also not a high priority now.


The template parameter of Photo Browser has been removed, but it is still in your document

template parameter has been removed in below commit
https://github.com/nolimits4web/Framework7/commit/7a9f8898fbaa13b61a024c385463c8bc54d150ea#diff-58a03374079568ecefec70f988073d0bL77
But it's still in your document
http://www.idangero.us/framework7/docs/photo-browser.html
Is it removed by accident or your document is just not the latest?

Yes, it was removed as you can use other atomic templates for its different parts. Will remove it from docs


When utilizing shadow properties as part of a FK the length is not restored in the down migration

When creating a relationship that uses a shadow property the length metadata does not seem to be used in the down function.
RulesMetaDataGrandKey = table.Column<string>(nullable: false)

Expected
RulesMetaDataGrandKey = table.Column<string>(maxLength: 50, nullable: false)

Steps to reproduce

Take the code below and add a migration
comment out the lines adding the TRule class to the model
Generate another migration taking a look at the column added by the shadow property in the down function.

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }

    public class db : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer("foo");
        }
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {

            modelBuilder.Entity<RulesMetaData>().HasKey(m => m.GrandKey);
            //drop this on second migration
            modelBuilder.Entity<TRule>().HasKey(nameof(RulesMetaData) + nameof(RulesMetaData.GrandKey), nameof(TRule.Key));
        }
    }

    public class RulesMetaData
    {
        [MaxLength(50)]
        public string GrandKey { get; set; }
        //drop this on second migration
        public IEnumerable<TRule> TRules { get; set; }
    }

    public class TRule
    {
        [MaxLength(50)]
        public String Key { get; set; }
    }
}

Further technical details
EF Core version: (found in project.csproj or packages.config)
Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Operating system:
IDE: (e.g. Visual Studio 2015)

This is by design. Facets on the principal column are never propagated to the dependent. Instead, the principal's facets are used when computing the column type. This is done while generating the SQL. On the latest codebase, the column type is correct in SQL:
[RulesMetaDataGrandKey] nvarchar(50) NOT NULL,


Several typos

Some small edits from reviewing the docs.

Thank you, @e-dard!  I made one small change - if that change is OK with you I'll get this merged.

I believe the changes to the index content in influx_q_l_node.md will need to be propagated to all other kapacitor node docs.

@jademcgough @rkuchan @e-dard
Actually, those docs are auto-generated from the Kapacitor source, so @nathanielc needs to update the Kapacitor repo with the changes. Then they will propagate to all other nodes.

Relevant Kapacitor PR for he InfluxQL changes. Thanks @e-dard


Docs pointing to wrong dependency

Hello, I am unsure if this is really the right way of doing it but, it seems that the readme is using the wrong reference when injecting the component.
import MonacoEditor from 'vue-monaco'
by changing this line to this line
import MonacoEditor from 'monaco-editor-vue3';
Now monaco in properly injected.
Am I the only one having this problem?

@MarkOdey Hey can you share how did you integrate webpack settings

I am using vite for this project. I mostly use the vue 3 cli rollup. I doubt that the plugin exploits any webpack configurations. I will try to send you my implementation tonight so you can compare from what you have.

I am using vite for this project. I mostly use the vue 3 cli rollup. I doubt that the plugin exploits any webpack configurations. I will try to send you my implementation tonight so you can compare from what you have.

Hey that would be big help. Thanks.

The instantiation of monaco is a little funky indeed.
https://github.com/MarkOdey/memorie/blob/main/src/main.js
import editorWorker from "monaco-editor/esm/vs/editor/editor.worker?worker";
import jsonWorker from "monaco-editor/esm/vs/language/json/json.worker?worker";
import cssWorker from "monaco-editor/esm/vs/language/css/css.worker?worker";
import htmlWorker from "monaco-editor/esm/vs/language/html/html.worker?worker";
import tsWorker from "monaco-editor/esm/vs/language/typescript/ts.worker?worker";

self.MonacoEnvironment = {
  getWorker(_, label) {
    if (label === "json") {
      return new jsonWorker();
    }
    if (label === "css" || label === "scss" || label === "less") {
      return new cssWorker();
    }
    if (label === "html" || label === "handlebars" || label === "razor") {
      return new htmlWorker();
    }
    if (label === "typescript" || label === "javascript") {
      return new tsWorker();
    }
    return new editorWorker();
  },
};

I am also using a rollup plugin.
https://github.com/MarkOdey/memorie/blob/main/rollup.config.js
import monaco from "rollup-plugin-monaco-editor";
...
  plugins: [
    // ...other plugins
    // handle .css files
    postcss(),
    monaco({
      languages: ["javascript"],
    }),

For the component injection.
https://github.com/MarkOdey/memorie/blob/main/src/components/editor.vue
Look around that project maybe check the package.json to compare my dependencies too.
Hope I may be of help.

@MarkOdey Thanks it worked for me.


[Input] Check the ZeroHeight documentation agains our agreements

[ ] Check this thread: https://adevinta.slack.com/archives/C054Q84KPJ4/p1689690867363129
[ ] And the storybook: https://sparkui.vercel.app/?path=/docs/components-input--docs
[ ] And the Android implementation

We are working on the improvement of the input spec right now. This will ensure everything is documented


Support Faiss parallel_mode parameter

When evaluate Faiss performance we see that if the parallel mode is changed ( parallel_mode=2) we can get better performance on single vector queries,  one example:
  parallel mode             Index                    num_threads           Leaves searched          single vector query latency
       0 (default)   |   IVF8192,PQ128  |          56                  |       16                        |        27.6
             2             |   IVF8192,PQ128  |          56                  |       16                        |        11.3

Not much difference is observed with 1000 batch vectors.   Can Milvus expose the parallel_mode parameter to be configurable?

/assign

Hi @weiwang19, this is a good suggestion, we will evaluate and see if this can be done in the next release.

Hi is there plan to have the change in recent release?


Invalid JSON response in AWS adapter

Describe the bug
After upgrading to 3.2.1 the resulting body response for the AWS adapter becomes invalid. This is caused because the double quotes were removed from the output. Is there any workaround?

@olegz, any advice?. Thanks in advance

Sorry, I was on PTO, will look shortly

@oclay1st Sorry, just getting to it. Can you please provide more details as I can not reproduce it, but perhaps I am looking at the wrong thing

@olegz
The following line of code replaces quotes with an empty string which results in an invalid body response if you try to return a JSON.
https://github.com/spring-cloud/spring-cloud-function/blob/b89b7f325efafdc519934d7e1dec08d4dd14eca0/spring-cloud-function-adapters/spring-cloud-function-adapter-aws/src/main/java/org/springframework/cloud/function/adapter/aws/AWSLambdaUtils.java#L196
Current behavior:
body =  "{\"key\":\"value\"}"
after processing the output:
body = {key:value}  // Invalid JSON

@olegz Can we have this fix in 3.2.x, please?. This basically prevents me from using recent versions of spring native

it already is


[TX-Builder] Bool parameters being forced to true on contract interactions

Description
Noticed a bug with the transaction builder, where when interacting with a contract that has a bool parameter it sets it to True even though setting it as False in the input field. (Also tried setting the bool as 0 and swapped it to True as well)
Environment

Browser: Chrome
Wallet: MetaMask
Safe: 0x19B3Eb3Af5D93b77a5619b047De0EED7115A19e7
Environment:

production (mainnet)

Screenshots to Reproduce and Show What's Happening
Adding tx through transaction builder

Preview before confirming tx

Last Preview screen right before submitting tx

The app has been updated! Thanks for you contribution

@mikheevm Still seems to set it to True on that overwrite param for me. Do I need to do anything to update the transaction builder?

Lol, I'm sorry, I meant to close a different issue. The bug is still not fixed, unfortunately

All good from my end, thank you.
Talking with Yago I think that we should create an improvement to make boolean fields like this actually boolean (a dropdown with true/false selector). creating a separate improvement about this ;)


Modeled Unified Latex Beifeng.

Fixes #
Proposed Changes

Tweaked Keon Texture.

Ideally, I'd want the beifeng model on the master branch alongside the other models, but this is fine.


Question or feature: How to use kmonad to remap keys on the remote Linux serve?

I use xrdp to link to the remote ubuntu system through  Windows Remote Desktop Connection.
No input device found by evtest.
How to configure xinput virutal keyboard as the input device?

On Wed, Aug 18 2021 18:56, QFQ wrote:

I use xrdp to link to the remote ubuntu system through  Windows Remote Desktop Connection.
No input device found by evtest.
How to configure xinput virutal keyboard as the input device?

So you have a remote connection Windows -> GNU/Linux and want to use
kmonad on the latter, but not the former?  I don't think this is
possible, as xrdp just tells the X server about the keys you pressed,
but we interact with the kernel directly instead of going through X.

Thank you for your kind reply.
Kmonad is a great tool for remapping keys.
It seems that I need to find other ways to change keys while using xrdp.

On Wed, Aug 18 2021 22:52, QFQ wrote:

It seems that I need to find other ways to change keys while using
xrdp.

Depending on how much access you have to the remote machine, you could
perhaps try to create an xmodmap config file

Thank you for your suggestion, I will search Google to find some intros to create an xmodmap config file.


mini_client: Fails on OS X?

To reproduce:
$ hub clone ARMmbed/mbedtls
$ cd mbedtls
$ mkdir out; cd out
$ cmake -G Ninja ..
$ ninja # Exits successfuly.
# In terminal tab 1:
$ ./programs/ssl/mini_server
# And in another:
$ ./programs/ssl/mini_client

Obviously, I wanted to just poke, so I ran the mini_client first out of curiosity. And what I got is:
https://github.com/ARMmbed/mbedtls/blob/development/programs/ssl/mini_client.c#L43-L59 being executed.
On OS X, UNIX is not defined, but __APPLE__ is. Thus, Since I used CMake, I was expecting the proper values to be set and configured. So I am very confused about why this isn't working...
The other server/client examples work, by the way. I was able to use them to test around - but the mini_ versions don't work.

ARM Internal Ref: IOTSSL-600

Thanks for your report! CMake is not like autotools, it doesn't handle that kind of thing (at least not the way we use it). The code should be using the proper #ifdefs and it will be fixed to do that.

Thanks for the reply!
I am aware of CMake not being like Autotools - I have been researching in the field of build tools for a while. So I know it’s flaws. :)
Good to know it’ll be fixed!


MiniFinder Updates

I have been working with the EV-07S and EV-07W devices from the manufacturer, Eview.  After some investigation, I believe this to be the source technology for the MiniFinder Pico and the Defenstar GPS668.  I have made a number of updates to more closely conform with the Eview EV-07S documentation, collecting additional information, and fixed some typos.
In my update, I noticed there are two record types that are not documented: !A and !C.  I have used the data string found in the test class as a guide and implemented an equivalent parser for each.  In these parsers, I have changed the data collection such that the unknown fields are reported differently in the database.  Given that these records are undocumented, my first inclination was to delete them entirely.  However, I will leave that decision to you.
I have attached the Eview EV-07S documentation to be included on the Protocols page.  I have more changes coming but wanted to make sure the pull request and coding met your standards.  My last work here was v2.10.
Thanks for your consideration.

jss

EV-07S GPRS protocol (1).pdf

Do you have the protocol documentation for Atrack?  It is not on the Protocols page.  I want to record CellTower information which it collects but I don't know how to separate the MCC and the MNC which is received as one Unsigned Int.

I have, but unfortunately I can't share it. They have a whole table for the MCC + MNC values, but basically first 3 digits is MCC and the last 2 digits is MNC.
For example:
MCC - 276
MNC - 01
MCC + MNC - 27601

What is the difference between "accuracy" (i.e., position.setAccuracy()) and "hdop"?

I notice that there is KEY_APPROXIMATE.  When is it appropriate to use this?
I assume if I have a means in which to GeoLocate (e.g., GPS, GSM triangulation, etc.), I use Position.setValid(true).  And, if the mechanism is not "precise" (e.g., GSM triangulation), I also use Position.set(Position.KEY_APPROXIMATE, true).  Is this correct?

I have completed all commits for your review.  I have discovered anomalies elsewhere in the code and will be submitting a separate pull request once I have finished.  Please answer my last two questions above as these pertain to the future work I intend to submit.  Thanks.

Merged. Thanks for the pull request and fixing all the comments.


Livepeer.com Webhooks MVP

The MVP includes webhooks for the following:

stream.session.active
The "parent" stream object's isActive value is now true and the .m3u8 HLS URL constructed from the playbackId now works.

stream.session.idle
The "parent" stream object's isActive value is now true and the .m3u8 HLS URL constructed from the playbackId no longer works.

stream.session.recording.started
For a the new session object, record:true, isActive:true and recordingStatus:waiting.

stream.session.recording.ready
For a the new session object, record:true, isActive:false and recordingStatus:ready.

Rules around retries

Livepeer.com expects a 2xx response to webhook events. The request will time out after 5 seconds.
Retry to POST the event with an exponential backoff up to 60 minutes

Additional features to make webhooks MVP work:

Configure URL(s) to notify in the Livepeer.com dashboard
Configure individual webhooks per notification URL
verifiable webhook signatures

Out of Scope for webhooks MVP:

specifying production vs test environments for webhooks. At MVP, the users will need to create another Livepeer.com account to test in stage, for example.
disabling, but not deleting, a webhook
stream.session.sceneDetected webhook
error webhooks (cc @iameli)

To discuss

stream.connected and stream.disconnected
Remove webhook URL name parameter

@wohlner

stream.session.idle
The "parent" stream object's isActive value is now true and the .m3u8 HLS URL constructed from the playbackId no longer works.

Should it be "is now false"?

@wohlner

Retry to POST the event with an exponential backoff up to 60 minutes

What to do with blocking webhooks? Or we're removing blocking webhooks?

Yes, remove blocking webhooks. @ya7ya @darkdarkdragon
While the idea is interesting, I am not convinced that preventing the stream from starting until we receive a 2XX is appropriate. It takes away some control from the livepeer.com user and it could create a confusing experience for the live streamer.

@wohlner

While the idea is interesting, I am not convinced that preventing the stream from starting until we receive a 2XX is appropriate.

It was meant as way for UGP platforms builders to authenticate their users - so they could have one stream in Livepeer API and use wildcards streams (which we don't have yet) to match their users in their own database (also I thought this was the primary reason we want wildcard streams).
Just want to be clear that we're not building this.

@darkdarkdragon that's helpful context. Webhooks will exist without wildcard streams for a bit. Let's remove blocking webhooks now.

@wohlner
Can one webhook receive multiple events types? Or we have one webhook per event type and so we should create separate webhook object per event type, even if url is the same?

@wohlner
Can one webhook receive multiple events types? Or we have one webhook per event type and so we should create separate webhook object per event type, even if url is the same?

Take a look at the wireframes for the dashboard updates. You can add multiple event types to a single webhook url destination. But let's keep one event per webhook object.


Lens reports missing kubeconfig as invalid

Describe the bug
I get an annoying red notification that a missing kubeconfig is invalid.
The link to the kubeconfig within that notification is just not doing anything.
To Reproduce
Steps to reproduce the behavior:

Make a KIND cluster, e.g. KUBECONFIG=my-config kind create cluster --name lens-test (not tested, but extracted from a Makefile)
Add the cluster to lens
Quit Lens
Delete kubeconfig my-config
Start lens

Expected behavior
Either:

Save a "ignore this error for this cluster" action so it doesn't bother me again. Useful for kubeconfigs that may actually be working. But don't know if that can happen.
Only pop notifications for the current workspace, but ignore invalid or missing kubeconfigs in other workspaces as long as I don't switch the workspace.

Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

Lens Version: 4.1.4
OS: KDE neon
Installation method (e.g. snap or AppImage in Linux): snap

Logs:
info: 🚀 Starting Lens from "/home/chris/snap/kontena-lens/165/.config/Lens"
info: 🐚 Syncing shell environment
info: 💾 Loading stores
info: [STORE]: LOADED from /home/chris/snap/kontena-lens/165/.config/Lens/config.json
info: [STORE]: LOADED from /home/chris/snap/kontena-lens/165/.config/Lens/lens-cluster-store.json
error: No valid context object provided in kubeconfig for context 'kind-k8up-v1.20.0'
error: [CLUSTER] Failed to load kubeconfig for the cluster 'kind-k8up-v1.20.0' (context: kind-k8up-v1.20.0, kubeconfig: <redacted>/bin/kind-kubeconfig-v1.20.0).
info: [STORE]: LOADED from /home/chris/snap/kontena-lens/165/.config/Lens/lens-workspace-store.json
...

Kubeconfig:
well, it's not there :)
Additional context
We use often KIND clusters as a throwaway cluster for local development, usually with make.
e.g. make e2e-test spins up a KIND cluster, creates the kubeconfig, does the tests.
upon make clean the cluster is being deleted, including kubeconfig to get a completely clean slate.
Now, between running the tests and cleaning up, I use Lens to do some manual inspections from time to time, e.g. logs etc.
The annoying part is that the notification pops up even though I'm using a different workspace for a different project (but also with KIND). So I would be fine if the notifications only pop up when I switch to that workspace where the kubeconfig is relevant.

Thanks for the report and suggestions. We are seeing similar problems with how we're handling this (#2326). We will investigate ways to make the UX smoother.

Duplicate of #843


07/05/2018 21:55 : Create Pull Request for branch master -> prTesting1_2018070521

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


test and example hang -- no apparent response to url request

On 64-bit red hat linux with newly updated packages,
julia> VERSION
v"0.4.0-dev+3163"
The tests hang up at the line shown here:
julia> include("test/runtests.jl")
HttpServer utility functions
     - HttpServer.write does sensible things
5 facts verified.
HttpServer run
     - HttpServer can run the example

Also
julia> include("examples/hello.jl")
Listening on 8000...

does not respond to http://localhost:8000/hello/name

Turns out GnuTLS didn't build correctly. Closing.

I'm having the same issue (Fedora 21). Unfortunately, this issue was closed describing the problem, but not the solution.
Symptoms: anything using HttpServer hangs (or segfaults, depending on version of Julia). Apparent cause seems related to:
$ julia GnuTLS/test/runtests.jl
julia: symbol lookup error: /lib64/libhogweed.so.2: undefined symbol: __gmpn_cnd_add_n
Any suggestions @catawbasam for how you resolved this?

Hi Cliff,
Sorry, I did not resolve it -- just concluded that the issue lay with
GnuTLS rather than HttpServer.jl.
regards,
Keith
On Sat, Apr 4, 2015 at 3:26 PM, Cliff Wells<EMAIL_ADDRESS>wrote:

I'm having the same issue (Fedora 21). Unfortunately, this issue was
closed describing the problem, but not the solution.
Symptoms: anything using HttpServer hangs (or segfaults, depending on
version of Julia). Apparent cause seems related to:
$ julia GnuTLS/test/runtests.jl
julia: symbol lookup error: /lib64/libhogweed.so.2: undefined symbol:
__gmpn_cnd_add_n
Any suggestions @catawbasam https://github.com/catawbasam for how you
resolved this?
—
Reply to this email directly or view it on GitHub
https://github.com/JuliaWeb/HttpServer.jl/issues/47#issuecomment-89644996
.


Feature: Add poetryEnv option to the python kernel.

This option enables to reuse existing poetryEnv.

we got same PR, but we were here


Remove extensions on ImplicitlyUnwrappedOptional from the stdlib.

Extensions on ImplicitlyUnwrappedOptional are not actually accessible
because we force the optional (and thus can only access things on the
type it is wrapping).
Remove these from the stdlib in order to pave the way toward fully
implementing SE-0054.

@swift-ci Please smoke test

Actually, look at this:
func f(x: Int!) -> Any {
  return x
}

protocol P { func foo() }

extension ImplicitlyUnwrappedOptional : P { func foo() { print("Hello") } }

(f(x: 3) as! P).foo()

The problem is the SILGen for f(),
%3 = init_existential_addr %0 : $*Any, $ImplicitlyUnwrappedOptional<Int>

It appears that in this case the IUO does not 'decay' into an Optional as you expect with SE-0054. Perhaps if this corner case is fixed, you'll be able to rip out these extensions for real.

Basically we need to ensure Sema never produces AST nodes that construct RValues of IUO type.

And even this works, without the Any:
func f(x: Int!) -> P {
  return x
}

protocol P { func foo() }

extension ImplicitlyUnwrappedOptional : P { func foo() { print("Hello") } }

f(x: 3).foo()

So I think the first step is to ensure that getOpenedTypeOfReference() always produces an optional when you reference an IUO parameter or property.


Resources are failing basic schema validation tests with Test-xDscResource and Test-xDscSchema

Affected resources:

MSFT_xMySqlDatabase
MSFT_xMySqlGrant
MSFT_xMySqlServer
MSFT_xMySqlUser

I will submit a PR to fix the resources to pass Test-xDscResource and Test-xDscSchema.


enh(doc tracker): slightly increase retrieval min score

Not a super scientific approach, but looking at Datadog 0.78 looks like a more sensible threshold than 0.75

Is this to limit volume or increase quality?

To limit the volume going into GPT4


Draft: Implement ast_builder Select::Order_by

Description
Implementation of #696
Review Required:

[ ] FSM structure

Currently, fsm is structure as:
{Select, Having, GroupBy} -> {OrderBy} -> {Offset, Limit, Project}

Remaining Works:
from Issue 696

[ ] Support In Sub query Expression
[ ] Support null first

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

105 of 159 (66.04%)  changed or added relevant lines in 11 files are covered.
18 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 97.665%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/src/ast_builder/select/group_by.rs
0
3
0.0%

core/src/ast_builder/select/offset.rs
0
4
0.0%

core/src/ast_builder/select/project.rs
0
4
0.0%

core/src/ast_builder/order_by_expr.rs
8
18
44.44%

core/src/ast_builder/select/order_by.rs
62
72
86.11%

core/src/parse_sql.rs
8
18
44.44%

core/src/ast_builder/order_by_expr_list.rs
10
23
43.48%

Files with Coverage Reduction
New Missed Lines
%

test-suite/src/tester.rs
18
89.47%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
29444

Relevant Lines:
30148

💛  - Coveralls

Oops. It's draft. @woojinnn is it still in draft stage?

Oops. It's draft. @woojinnn is it still in draft stage?

Spent quite long time after commit. I'm not sure whether I'll continuously devote on this issue. Others may take this issue.


Response status code does not indicate success: 404 (Not Found).

Maybe a temporary issue, but it's not clear what is failing from stdout:
Analogue Pocket Core Updater v2.10.5
Checking for updates...
A new version is available. Downloading now...
Download complete.
/Volumes/POCKET/pocket_updater.zip
Go to https://github.com/mattpannella/pocket-updater-utility/releases/tag/2.19.2 for a change log
Would you like to continue anyway? [Y/n]:
Well, something went wrong. Sorry about that.
Response status code does not indicate success: 404 (Not Found).

install the update, 2.10.5 is pretty old, it's pointing at an old endpoint that doesn't exist anymore

2.10.5 is two months old. Do you only plan to support auto-updates for less than that?


migration doc for python to 2.1

What
[TODO: Short statement about what is changing.]
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]
Checklist
PR Structure

[ ] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR title and description are clear enough for anyone to review it.
[ ] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).

Thoroughness

[ ] This PR adds tests for the new functionality or fixes.
[ ] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[ ] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[ ] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[ ] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[ ] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[ ] This is not a breaking change.
[ ] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr363.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr363.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr363.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr363.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr363.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr363.previews.kube001.services.stellar-ops.com

will not use this.


fix: prefer metamask when multiple injected wallets are detected

When multiple wallets are injected, window['ethereum'].request() will call the latest injected wallets.
This PR will always metamask first if present
Using EIP-6963 for injected wallets detection
Test

yarn build
yarn link
Go to your snapshot or sx repo
yarn link "@snapshot-labs/lock"
yarn dev
Confirm that metamask is always used when available

Can we support EIP-6963 by the way?

Can we support EIP-6963 by the way?

Wasn't there plan to deprecate this package, and use wagmi instead ?

Yes but there was something blocking, I think wagmi was only supported for React

EIP-6963 is the best way to move forward

After reading the code from sx again, this PR does not make a lot of sense:
SX is using:
  injected: {
    id: 'injected',
    name: 'MetaMask',
    type: 'injected',
    root: 'ethereum',
    icon: metamaskIcon
  },

which assume that the injected wallet is always metamask.
This is not what lock is returning before, nor after this PR.
The injected connector is just returning any injected wallet, not specifically metamask.
After this PR, it will prioritize metamask, but can still return anything else if metamask is not installed

Will try EIP-6963 instead, seems like window.ethereum has always been unable to accept more than one provider.

I tried yesterday but couldn't reproduce my issue locally (without this PR), only in prod it trigger me Rabby, 6963 would be great

Works for me, the only issue is that it still show "MetaMask" in the modal for login when Rabby is the used as main wallet

Yes, it was mentioned in my comment above, metamask is hardcoded as the injected wallet provider on the UI side.

Hum, doesn't seem to work for me, when I lock Metamask and refresh the page it will still trigger Metamask for login

Yes, that's the title of the pr

I will refactor the whole thing to fully support and take advantage of the EIP-6963 standard, instead of just fixing the discussed issue

@wa0x6e We decided to move this to next cycle for now to focus on more user facing feature


Add Daala's Entropy Coder to Thor

No comment about the results?

This doesn't convert any of the existing symbols to use arithmetic coding, so the only significant changes in results are due to the extra framing added in the first commit (see that commit for details).

Merged except for the actual addition of the entropy coder. Please can you rebase on the current master again and I will push to a new branch. It might also be an idea to reverse the Daala convention, and write raw bits forward and arithmetic coding bytes backwards.


Creating a new note when in edit mode does not clear the note body

Repro:

create a note with a title
save
click "new note"

expected: clears body of existing note
actual: body is persisted in the new note
notes:

this does not happen if you toggle off edit before clicking "new note"
the title field is cleared (as expected)
the url updates from the /<note_title> to /new (as expected)
same behaviour observed when editing an existing note and then creating a new note

Is this a duplicate of #266?

it is! sorry about that - I did search but didn't find that one (the previous bug - doh)

No worries. To save on admin I tend to close issues once they're done rather than when they're shipped. But this can occasionally cause confusion.


Link to C&C Tools/Boxer is broken

The link (http://svn.ask.it.usyd.edu.au/trac/candc/wiki/Subversion) provided here (https://github.com/nltk/nltk/wiki/Installing-Third-Party-Software#cc-toolsboxer) is broken. Is there anywhere else to download these tools?

I found another the source code here: https://github.com/valeriobasile/learningbyreading/tree/master/ext/candc

A working version of the source code can be downloaded here:
http://www.cl.cam.ac.uk/~sc609/candc-1.00.html
I managed to compile it under Ubuntu (by adding a few #include  where errors arose). However, I am definitely looking for a tutorial...

Great! It seems that it does not include Boxer. Have you found the source code for Boxer anywhere?

Unfortunately not.
=============================
Prof. Giuliano Lancioni
Professore Ordinario di Lingua e Letteratura Araba
Dipartimento di Lingue, Letterature e Culture Straniere
Università Roma Tre
via Ostiense, 236
00146 Roma
Tel: + 39 06 5733.8345
Fax: + 39 06 5733.8344
<EMAIL_ADDRESS>http://host.uniroma3.it/docenti/lancioni
From: Marcos Pertierra<EMAIL_ADDRESS>Sent: Sunday, March 5, 2017 10:12 PM
To: nltk/nltk<EMAIL_ADDRESS>Cc: Giuliano Lancioni<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [nltk/nltk] Link to C&C Tools/Boxer is broken (#1612)
Great! It seems that it does not include Boxer. Have you found the source code for Boxer anywhere?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/nltk/nltk/issues/1612#issuecomment-284263103, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADDR5rlXVDJvrIoe2F3jAKOHZL8YwBSwks5riyU1gaJpZM4L5wK9.

a couple of servers at Sydney University have recently gone down. It's
possible this will be restored shortly (but no promises)
On 6 Mar 2017 8:13 am, "lancioni"<EMAIL_ADDRESS>wrote:
Unfortunately not.
=============================
Prof. Giuliano Lancioni
Professore Ordinario di Lingua e Letteratura Araba
Dipartimento di Lingue, Letterature e Culture Straniere
Università Roma Tre
via Ostiense, 236
00146 Roma
Tel: + 39 06 5733.8345 <+39%2006%205733%208345>
Fax: + 39 06 5733.8344 <+39%2006%205733%208344>
<EMAIL_ADDRESS>http://host.uniroma3.it/docenti/lancioni
From: Marcos Pertierra<EMAIL_ADDRESS>Sent: Sunday, March 5, 2017 10:12 PM
To: nltk/nltk<EMAIL_ADDRESS>Cc: Giuliano Lancioni<EMAIL_ADDRESS>Comment <
<EMAIL_ADDRESS>Subject: Re: [nltk/nltk] Link to C&C Tools/Boxer is broken (#1612)
Great! It seems that it does not include Boxer. Have you found the source
code for Boxer anywhere?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://github.com/
nltk/nltk/issues/1612#issuecomment-284263103>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
ADDR5rlXVDJvrIoe2F3jAKOHZL8YwBSwks5riyU1gaJpZM4L5wK9>.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nltk/nltk/issues/1612#issuecomment-284263204, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEz65LuEwH4iEMbFUt2VOdNrW4bsYwQks5riyWCgaJpZM4L5wK9
.

As explained by @valeriobasile in his free C&C/Boxer HTTP API:

Looking for the C&C source code? I'm not affiliated with the developers of C&C and Boxer. However, one of my software packages contains it as a dependency. You can find it here: KNEWS.

Following the link arrives at one of his repositories: Learning by Reading.
He then provides instructions on how to download and compile cc tools and boxer and a means to test whether the installation was successful.
I am currently exploring this to see if it works.

Hi,
as mentioned, the C&C tools server was discontinued. As far as I know, there has been no attempt at putting it back online.
I put the most recent copy of the source code of C&C (before it went down) inside the repository of KNEWS, and I created a script to help with the installation, which can be a pain in the neck.
@darrensapalo: it seems that Boxer did not compile successfully. Unfortunately I have no experience compiling it on OSX. I know that due to a bug Boxer won't work with newer versions of SWI-Prolog. I'm not sure what is the latest working version but 6.6.6 used to work for sure.

@valeriobasile Thanks for the update on C&C tools. 👍
And no problem re: my boxer not compiling. I'm exploring other options, including the ones you talked about on your paper. I sent you an email containing further questions. Thanks again!

The make file in https://github.com/chrzyki/candc works on linux.
I have successfully initialized a Boxer object like <nltk.sem.boxer.Boxer at 0x7f4f52daf6d0>, but encountered two problems then.

The first one I eventually (I guess) solved it. not open model configuration file for reading:/content/candc/candc/models/boxer/config\x1b[0m\n' --> solved by put the unzipped models-1.02.tgz models folder in the bin folder.
After that, we can see the second problem. TypeError: write() argument must be str, not bytes. This is essentially a py2 to py3 problem. The solution possibly lies in changing the .write function (add 'wb', or change bytes to str) in the latest nltk package.

Thank you so much for this contribution @cestwc
Feel free to do a pull request with your changes.
In general, this is the problem with legacy software dpending on non-backward compatible libraries, it is hard to keep up. I am thinking of Dockerizing the C&C tools, if anything for historical value, and maybe put it into a system like the European Language Grid.

Great thanks @cestwc.
As you mentioned in bulletin 2, we need to add .decode("utf-8") for py3. I just list which line exactly we need to modify:
In file nltk.sem.boxer.py :

line 171: f.write(candc_out.decode("utf-8"))
line 229: lines = boxer_out.decode("utf-8").split('\n')


Expose App information to be used inside the app

Problem
i want to send following information to api
appId e.g. J4nZIEFlZTv2HQGwK15W (ensemble studio appId)
appVersion e.g. 1.2.3 (the version of app in App Store (or Testflight))
UseCase:
Customer wants to post this information when "Rate Us" button is tapped and user is bounced to app store for rating

@vinothvino42 this should be a quick one

PR - #1122


Add module resolving for shipped administration node_modules folder

1. Why is this change necessary?
In case you want to use vuex or other modules, that are already shipped by the administration, in a bundle that changes the administration, you can't use import foo from 'bar' as the node_modules folder is not resolvable for the plugins.
2. What does this change do, exactly?
Add node_modules as folder for the module resolving in webpack. The same way like it is done in the storefront.
3. Describe each step to reproduce the issue or behaviour.

Make component that wants to map a state
Copy state mapping from shopware components
Realize that you can't use mapState from Component.getComponentHelper() as this is not initialized in my plugin.js runtime and therefore can only be used within the application
Look up mapStates origin
import { mapState } from 'vuex'
Cannot find module 'vuex' :confounded:
Find used webpack.config in build process
Compare to others
See node_modules reference in storefront bundle
Find undocumented feature to add own webpack.config.js
Try to add missing node_modules reference in <admin>/build/webpack.config.js
Instructions unclear - :duck: stuck in toaster

4. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hi Joshua,
Thanks for reporting the problem.
We fixed it in the next release with Runtime Chunks in Webpack. Then you have full access to all core node_modules in your plugin without problems.
We think this will be a big benefit for all plugin developers.
Best regards,
Jannis

Thanks for your answer. Great to hear that.
I am currently in need of this right now. So is there a way to accomplish this using the already available <plugin-admin>/build/webpack.config.js? Unfortunately @klarstil didn't document that feature.

You can use a temporary solution with the webpack runtime chunks. It is available in the Shopware 6.0 EA 1.1 Release or soon in the master branch. You can find this release on our offical website or in the changelog: https://www.shopware.com/de/changelog/#6-0-0
When you import now vuex or other dependencies from our node_modules it will be resolved automatically.

Ouh, nice. Regarding the changes in EA1.1 I am already pleased as I can use the component helpers right away now as they are not compiled into my plugin source anymore

I am confused. I updated to ea1.1 (composer). The component helpers don't serve the mapState anymore. So I am forced to use vuex but I still get Module not found: Error: Can't resolve 'vuex'. How do I use the runtime chunks in a plugin?

Did you import vuex with a relative path from our node_modules folder?
As an example you want to import vuex in one of your components:
File Location: custom/plugins/yourPlugin/src/Resources/administration/extension/sw-dashboard/index.js. Then you need to import vuex with this relative path: import Vuex from '../../../../../../../../vendor/shopware/platform/src/Administration/Resources/administration/node_modules/vuex';.
It is an ugly and temporary solution until our bootstrapping refactoring process is finished. Then you will be able to use the Component Helper again.

That was my current solution since yesterday, yes. But this is not a viable solution.

Yes, it will come back when the refactoring of the bootstrapping process is finished.

Hey @JoshuaBehrens
the bootstrapping process is now refactored and merged into the master: https://github.com/shopware/platform/commit/0dc5419065065c5b601e40769e3450f4765a2304
Now you can use the component helper with our global Shopware object:
const { mapApiErrors } = Shopware.Component.getComponentHelper();

That merge looks pretty nifty. Although I dislike some things my issues is resolved. Thank you :blue_heart:

What are your dislikes? When there are good aspects we don´t consider then it would be helpful to know these to improve the developer experience.

Missing doc changes. E.g. Shopware.Locale.extend should be more often replaced in the docs.
Login customization. We are working on a OAuth2 provided login provider but this might break our current work on it. Do we need now a custom controller for it?
You are using DataDeprecated. Looks like you didn't finish your refactor.
Super easy to get things you need without the need to require it in the service container. Shopware()->Container is back. So in the end no one will use the service container.

I will update the documentation soon in another pull request. Thanks for the information.
Actually it will not be possible to extend the login page. It could be possible that we will integrate this feature in future.
The refactoring handles only the bootstrapping process, not the data handling. We are in progress of refactoring all modules to the new data handling and when this is finished we will remove the old data handling.
We had several discussions about the topic and there are many important things to consider. Everybody should continue to use the service container. We only put a more elegant syntax around this container:

Before: Shopware.Application.getContainer('service').loginService
After: Shopware.Service('loginService')
Before: Shopware.Application.addServiceProvider(...)
After: Shopware.Service.register(...)
The process in the background is the same.


¿How can i play a 'Beep' with decibels HL (WPF)?

Hi! Im new at this and i want to create a beep sound that includes parameters:
Beep(dbHL, hz, time);
Im creating an Audiometry App in WPF but i dont know how to start

Blessings #

You should start by looking at the SignalGenerator class which can produce sine waves. The Gain parameter controls the amplitude (1.0 is full scale), and you can use the Take extension method to create a beep of an exact duration.

Thanks! I could do this

Now i have a question about Dbz, how can I derive the decibels with the gain and volume parameters?, Library provides any method for do that?, thanks again for ur help!

Thanks for response!, i can do it.


Fixed issue in Writer

Fixed issue in next_segment calculation. (Also altered some of the helper function. Not really that relevant though.)

I tested this with a single segment and it worked.  I'm having an issue with appending multiple segments.  From what I remember, you should be able to binary append files together and it should work.  So after closing the first segment i tried:
f = new WriteSegment(stream);
f.BaseStream.Seek(0, System.IO.SeekOrigin.End);
repeated inserting data and close again.  The issue is that the data length is being interpreted wrong when reading with the excel importer from NI
Both segments were 10,000 samples
The file seems to have the right information of there being 10000 samples in each channel

but excel shows a weird split of 16666 and 13333

found the issue, seems that property wf_samples is required for it to work correctly so GenerateStandardChannel should include it:
        if (increment != 0) meta.Properties.Add("wf_increment", increment);
        **meta.Properties.Add("wf_samples", dataCount);**
        meta.RawData = new Reader.RawData();

once i I added  that i was able to make a generic function to handle writing for any data type and the file can be read correctly in Excel as well as Labview

Nice

I did some further testing trying to find the minimum properties required to be set, and it seems that

There is no minimum property required other than Group and Channel name
Certain properties require other properties to be set

wf_samples seems to be required either because wf_start_time or wf_increment is set, or possibly both. If i remove all properties other than group name and name, then file can be read correctly also.

When Labview TDMSwrite writes a waveform, it writes the group name, and channel name and the the following minimum properties
wf_increment
wf_samples
wf_start_offset
wf_start_time
When TDMSWrite writes an array, it just writes the group name and channel name, no other properties
Hope this helps

It seems that you also have to set the "ContainsNewObjects" bit, in order for programs like Signal.X Scout, to work. (It could be made in a default, I guess.)

When I was checking the files LabView made, I also saw that flag set each, so It would be a good idea to do.

Sorry for the delay! Thx for the PR!

@winggndm, @illishar would either one of you be interested in being added as a collaborator so you can push to master without a PR? My life is crazy busy right now so dont have the time to keep up with this repo.

Sure, you can add me.


Enhancement/Code Style v8

Fix leaking constants on utilities tests.
Merge after https://github.com/meilisearch/meilisearch-rails/pull/86
Related to #77

Hello @brunoocasali
could you rebase please? :)

Hello @brunoocasali could you rebase please to remove the commits from the previous PR? :)

done! :D


How to: Same Global Azure online event co-organized by two communities

Hello, I have a question.
I understand that each community should do a separate PR in order to appear in the map/website.
We'd like to co-organize the same online event, should we include the Sessionize info separately as well, or only one of the communities do it in the PR?
Can you enlighten me, please? :)

Hello! Does it work to register as two separate "locations" in the data.json file? That will appear as two different events for your community. I maybe don't understand fully your situation, sorry if I misunderstood.

Hello @noopman thank you for your response and sorry for the confusion.
There are two communities that will co-operate and co-organize the Global Azure event. I just want to check: if we use the same Sessionize ID...
Community 1 JSON file:
"CommunityInfo": {     "Name": "Comunidad Xamarin en Español",     "SessionizeApiId": "a3vb1g" }
Community 2 JSON file:
"CommunityInfo": {     "Name": "Community 2",     "SessionizeApiId": "a3vb1g" }
would that make sessions to be duplicated on the global website?
Do you prefer that only one community registers the SessionizeApiId? The other one will be blank.
Thank you for your insight.

Ah... That is a very good question. Try to register both and let's see if they would show up double! ;) Haha, no better not do that. I BET they will show up double. Issue is one of your communities would look like it has no sessions online, and the other would have all of them. That is a shame. Let's ask @davidjrh who knows the most about this integration, but I think that would be the case.

Hi @icebeam7, you can just use one file and add two different locations in the json file. Check https://github.com/globalazure/communities/tree/main/2023/globalazurespain as reference. This a co-organized event in Spain (Madrid, Barcelona and Zaragoza) with a single Sessionize event. Let me know if you have any additional question.

Hello @davidjrh, great thank you, that works for us! I'll follow your recommendation and will come back if I have any other questions.
Have a great day and thank you @noopman for the valuable help!


Create Kafka Secret Controller For Channel/Producer Reconciliation

Recently we changed the Channel architecture to consolidate the number of Channel (Producer) Deployments from one-per-KafkaChannel to one-per-kafka-auth-Secret.  We did not however split out the Channel reconciliation into a new controller which is watching the kafka authentication secret (instead of KafkaChannels which now share a Controller/Producer).
We want to do that as it would be the more correct implementation, and would simplify things a bit as follows...

one-to-one relationship instead of many-to-one being managed in controller/reconciler
both the secret and Channel resources are all in knative-eventing namespace so we could re-add the OwnerReference and let K8S Garbage Collection handle deletions.

closing - new controller implemented - cross-namespace issues resolved.


santize func remove all white space \ table even in code block when using txt outpput formating

Hello,
thanks for yours continous work on trafilatura
recent when we using trafilatura working on code-text content extraction, wo noticed that the santize func remove all white space \ table even in code block when using txt outpput formating
we think the problem is here preserve_space=False in default
https://github.com/adbar/trafilatura/blob/2c9f20296c1c5ce9a23715a07df5b623f3016b65/trafilatura/xml.py#L315C5-L315C51

Do you mean space before the code or space in general? Could you provide a concrete example of code block?

Guten Tag,
thank you for your replay
we are working on output article with code inside in markdown formating, here is an example

这样在当前目录下就能够生成demo的api服务了。
下图为生成的项目目录结构:
在logic下面的demologic.go编写逻辑

func (l *DemoLogic) Demo(req *types.Request) (resp *types.Response, err error) {
// todo: add your logic here and delete this line
return &types.Response{
Message: "hello world",
}, nil
}

in this case, all white space before the code line in the code block were removed, which is unexpected and not friendly for LLM training
btw. here is another bug (maybe) when extracting inline code block, a redundant '\n' was added after a inline code block
now result

1.2、实现WebMvcConfigurer

接口，注册拦截器
which is supposed to be

1.2、实现WebMvcConfigurer接口，注册拦截器

thank you

Yes, spacing is not necessarily preserved in code blocks, this can be improved.


App crashes when copying text from console

After I do control+c to copy highlighted text in the console it crashes, running latest version.

Reproduces bug 100% of time

Yeah. Probably going to need to switch to framework dependant releases to fix it.

Yep. This is caused by trimming. It is removing the COM access to the clipboard and causing it to crash.

Also crashes when you click on the "Game code" field. You get the info box that it was copied and then a few seconds later the application crashes.

Fixed in latest release, commit ac27521fbdc6514bbf8fe05413737eca764ddcfe

It doesn't seem to crash anymore, but clicking on the code now doesn't initiate copying, is that correct behavior?

Yep. Sadly the fix was to remove copying from the app altogether.


Run NLU server from python

Rasa NLU version: 0.12.3
Issue:
Hello.
Is there a function I can call to run the server from python.
Just like you can train or load a model in python code.
Basically if I want to write a python script that would host and run the project of my choice, without having to type it out in command line every time.
Thanks

Yes, rasa_nlu have its own API, have a look here:
https://nlu.rasa.com/python.html

Yes, rasa_nlu has its own API, have a look here:
https://nlu.rasa.com/python.html


refactor: ace permissions

Rather than use console prints of all possible ace permissions, introducing a config option for the user to specify all the ace permissions to check against. This supports dynamic permission assignment using ox_lib ACL, as the ace permission may not be assigned to any players on server start.
An even better follow-up step from this PR might be to pull the list of ace permissions to check against from the various blacklist configs rather than duplicate the list in a different part of config. But this is a simpler stop-gap solution than current main

Makes sense. What I did was overkill and unnecessary.
I'll merge the PR. Feel free to add in the improvement that you mentioned which is gonna fetch all the used aces from the blacklist config in a followup PR if you can. Otherwise I'll see if I can add it when I have time.
Thanks again for the contribution


disable tests which cause problems on osx

@dborkan FYI
Workaround for https://github.com/uProxy/uproxy/issues/2757

This change is

:+1:


Landing page

Related to user stories #9 and #12

@msachi to work on the cloud logo for our app.
Reminder: Update navbar with the logo on all pages.


Cannot define custom linkActiveClass

Unable to define linkActiveClass variable for

@shadowgate15 I've added support for vue-router options which will allow you to set linkActive (and other vue router options).
Upgrade to v2.3.0 and see https://github.com/NickMcBurney/storybook-vue3-router#with-router-options


macOS Sierra no module named bs4

Hi, I tried to install all dependencies as mentioned in your doc and even looked around the web for some help but I still can not find a solution. Here's the problem when I run the script:
$ sudo python spotdl.py
Traceback (most recent call last):
  File "spotdl.py", line 3, in <module>
    from bs4 import BeautifulSoup
ImportError: No module named bs4

I've installed pip with sudo easy_install pip, also tried installing bs4 and beautifulsoup with: pip install bs4 or pip install beautifulsoup4 but nothing.
Currently using macOS Sierra, what do you suggest?
nice work btw!

@syxanash Try using easy_install: sudo easy_install BeautifulSoup4
If it still doesn't work, you'll have to install it manually:
wget https://www.crummy.com/software/BeautifulSoup/bs4/download/4.5/beautifulsoup4-4.5.3.tar.gz
sudo tar -zxvf beautifulsoup4-4.5.3.tar.gz
cd beautifulsoup4-4.5.3
sudo python setup.py install

That should be it.

this is really weird, it looks like the sudo pip install -U -r requirements.txt didn't work properly because I had to install every dependency manually. Maybe this is caused by some erroneous installation of pip.
Anyway it seems to be working fine now 😃

@syxanash Glad it works. Btw, just curious, does it give any error or what?

apparently not but there's a warning from eyed3 after the script fixes meta-tags:
>> Enter a song/cmd: *SPOTIFY_LINK*

*ARTIST - SONG*
  3,084,502 Bytes [100.00%] received. Rate: [1015 KB/s].  ETA: [0 secs]
Converting *SONG_TITLE*.m4a to mp3
Fixing meta-tags
WARNING:eyed3.id3.tag:TDEN frame being dropped due to conversion to v2.3

>> Enter a song/cmd:

Then the song is correctly downloaded.

It's all good, I use v2.3 eyed3 tags otherwise the latest ones do not work with Media Player and such players in Windows. I'll push some commits to hide that warning :+1:

alright, thanks for your support!


Fix tests for Craft 4-version of the plugin

Two notable things about these fixes:

I bumped the minimum PHP version in composer.json to 8.0.2, as that is also required by the minimal Craft CMS version 4.3.5
I marked one test as incomplete, as I'm not sure the expected result is still expected in Craft 4?

Hey @qrazi, thanks for this and for https://github.com/studioespresso/craft-scout/pull/264!
I'll have a look at the incomplete test and then merged both.


[bugfix] - Failed to convert 0x1::option::Option to SuiMoveValue

how come the module is "Option"?

it's referring to the Option move struct in the option module
https://github.com/MystenLabs/sui/blob/87e1314ef61fc39904a612bcf9d96481065f02bb/crates/sui-framework/deps/move-stdlib/sources/option.move#L10-L12