text:
feat(command): add source last refers to the last executed source

Implement #775 , add a source option last to allow users to open the last source used.

Furthermore, considering the :Neotree command without a specific source is heavily used when interacting with users and most users don't truly trust the default when they need to open a specific source, I personally recommend setting thedefault_source to last in neo-tree.defaults.

Furthermore, considering the :Neotree command without a specific source is heavily used when interacting with users and most users don't truly trust the default when they need to open a specific source, I personally recommend setting thedefault_source to last in neo-tree.defaults.

I don't think you have any way of knowing that, you are just speaking about your own usage here and projecting that on others. 90% of the time I use a mapping and not the command. When I just use :Neotree without specifying a source, I expect it to be the "filesystem" source because that is the one I use more often. Also, based on my interactions with users to date I would say that the vast majority of users primarily use the "filesystem" source, so it makes sense that this would be the default.

Of course, this is merely a minor suggestion for the design. Since it could disrupt existing user configurations, I'm not implementing these thoughts in the current PR.
But honestly, I think this design is a little weird. Considering neo-tree could switch between different sources in the same window, some users might be very eager to leverage this feature, and there is a situation:
I opened a neo-tree filesystem window by Neotree toggle (no matter with a keymap or enter the command directly), and after a while, I switch to another source like the buffer source. Finally, I want to close the existing neo-tree window by Neotree toggle because I think it would do that, but the result is I switch the current window to the filesystem window rather than close it.
What I want to demonstrate is when you toggle, you'd better know what you are toggle, rather than take advantage of the default value. If you assign a key to the Neotree toggle filesystem, it becomes clear that this key is solely for toggling the filesystem, regardless of the current source.
In fact, this PR also solves the previous problem. Because switching to another source would call execute again, when you use Neotree toggle last, no matter what source you switched after that, Neotree toggle last will close this window.
But as I mentioned before, I would not implement it in this PR, it is just a suggestion.

I discovered that implementing this feature might not require extra work. because when I execute Neotree toggle  without specifying an explicit position, it defaults to the last position where this source was opened.
So, in essence, Neotree toggle is equivalent to Neotree toggle position=last. The only requirement is to implement source=last, which has been accomplished in this PR.

I discovered that implementing this feature might not require extra work. because when I execute Neotree toggle without specifying an explicit position, it defaults to the last position where this source was opened.

It does do that most of the time, but not always. It does not work for position="current". If you use the current position, it will toggle the default position of the sidebar version instead.

Completed, the position will be last if it is not specified now.

authors: cseickel ofseed


text:
no "Player leave" notification od Discord

There is no information about player left from server by logout.
When kicked, notification is present.

What version of discord connector are you using? What other mods are you using?

Is there any error message in the log when the player leaves ?

nowy 1.txt
Kto ma dostęp
Nieudostępniony
Właściwości systemowe
Typ elementu
Tekst
Rozmiar
737 bajtów
Zajęte miejsce
737 bajtów
Lokalizacja
VALHEIM
Właściciel
ja
Zmodyfikowano
22:48 przeze mnie
Otwarty
22:49 przeze mnie
Utworzono
22:48 w aplikacji Google Drive Web (Unverified)
Dodaj opis
Przeglądający mogą pobierać
11/07/2022 22:47:28: PlayFab network error in session 'wincls-valheim' and network 2e4a179c-cfe5-43f4-8ee4-9dacd055de8a|AwAuaHWp/mPWVm0C2keqUorieWEOVFdlc3RFdXJvcGUAAAAAAAAAAAAAUXZkEL9Xa34rfnIgJk1n6olEkKykili28X3MawG4mvIpb0pkbnM4MWU1LTkyNTdkZWYxLWM1MTctNDkyZC1hZDNkLTE1Y2RjMjQ2Zjg1ZS53ZXN0ZXVyb3BlLmNsb3VkYXBwLmF6dXJlLmNvbQ==: the operation was called with an invalid handle
the operation was called with an invalid handle
11/07/2022 22:47:28: Failed to send, suspend TX on playfab/32D20C9BB52FA743 while trying to reconnect
Failed to send session data. Error: /Event/WriteTelemetryEvents: The requesting entity is not authorized to write events with namespace playfab.party. Allowed namespaces can be 'custom' or begin with 'custom.'.

DiscordConnector doesn't do anything with PlayFab.party or anything like that besides looking up the socket hostname, which is a read and not write error. Based on the log snipped you posted, I think it's most likely that some other mod is causing an error when the player is leaving; and that mod isn't doing anything when players are kicked. Could it be something with server-side characters and server sync stuff?
When you added 2.0.2, did you update any other mods?

I never saw leave notification.
Propably problem witch ServerCharacters or AzuAntiCheat - these mods use Discord info too.

I checked and without ServerCharacters or AzuAntiCheat, notification about player leave is present but if one of there mods are, this info gone. No matter what mod - there is no information about Player leave on ServerCharacters and/or AzuAntiCheat.
If it will be problem with one of these mods i will ask author for checking compatibility with DiscordConnector but in these case - when with any of these mods, the problem is present, I would like to ask you for checking what is problem because DiscordConnector isn't compatible with two very nice server-side mods

source: gharchive/issue

authors: Juraszka nwesterhausen

repo: nwesterhausen/valheim-discordconnector

license: MIT

license_type: permissive

license_source: github-api


text:
Setting more than 255 channels in Host.Create or Host.Connect causes crash

The parameter should take a byte instead of int.

This function will not allow you to create a host with more than 255 channels an exception will be thrown.

host.Create(address, maxClients, 256); throws ArgumentOutOfRangeException for me.

Make sure that you handle exceptions in your program in the right way.

repo: nxrighthere/ENet-CSharp


text:
🛑 Harmony Bot Website is down

In 224d5c6, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 1025fbe.

repo: nxvvvv/uptime


text:
Delete new theme after install

Installed a new custom theme based on N1-theme-starter and now N1 won't launch. Tried to dig around in the package contents but can't find the custom theme to delete. Also tried deleting N1 and reinstalling, no success.
Any help on how to remove a custom theme after installing much appreciated

It's in ~/.nylas/packages!

authors: fireleap jackiehluo


text:
Cannot log into Nylas Mail - endless Password Management Error

Are there any related issues?

...
What operating system are you using?
...Kubuntu 16.04 / KDEneon
What version of Nylas Mail are you using?
...2.0.10
--
Bug?
Do you have any third-party plugins installed? If so, which ones?
...Can't start mail program
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
...Can't start mail program
Is the issue reproducible with a particular attachment, message, signature, etc?

...First error is:
Password Management Error
We couldn't store your password securely! For more information, visit https://support.nylas.com/hc/en-us/articles/223790028
Article at above link suggests installing libgnome-keyring-dev. The package already installed.
Second error:
Your NylasID is invalid. Please log out then log back in.
Actions like sending and receiving mail require this token. Please log back into your Nylas ID to restore it—your email accounts will not be removed in this process.
Closing second error re-opens first error again, then Nylas Mail restarts and same error loop begins again.
Log files have very odd permissions set. Last log (as far as I can tell, given the log file structure) contained only
{"host":"office","timestamp":"2017-04-14T19:31:06.359Z","payload":["ActionBridge: work Action Bridge Broadcasting: db-store-trigger"]}
{"host":"office","timestamp":"2017-04-14T19:32:06.790Z","payload":["ActionBridge: work Action Bridge Broadcasting: db-store-trigger"]}
Launching nylas-mail from terminal resulted in attached output:
bash_dump.txt
--
Feature Request?
Does this feature exist in another mail client or tool you use?
...

I have exactly the same issue! Using Arch Linux, Gnome-keyring-daemon initialized in .xinitrc, and bspwm.

Same issue here. Running Arch Linux with i3wm and gnome-keyring-daemon running.

So I got past the password prompt by adding the following changes to my system. Just make sure to back these files up first. Messing up these files can lock you out of your system.
I added this to the end of the /etc/pam.d/passwd
password	optional	pam_gnome_keyring.so
Then adding this the end of /etc/pam.d/login
password	required	pam_unix.so sha512 shadow nullok
password	optional	pam_gnome_keyring.so

Then I added this line to the end of my ~/.xinitrc
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK

Rebooted and Nylas loads without the error

@jaredcrean 's edits in /etc/pam.d/* solved my keyring loop

sudo apt install gnome-keyring

Did not solve for me

This is broken for me as well, and the /etc/pam.d/* did not fix. I'm using Debian 9.

@etano seemingly so, I believe it works after starting a polkit daemon? In my case I have /usr/lib/xfce-polkit/xfce-polkit & and eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) export SSH_AUTH_SOCK in my xinitrc

@ibrokemypie ultimately what fixed it for me was installing seahorse and creating a default

authors: KST123ABC etano ibrokemypie jaredcrean mamantoha oshunluvr

repo: nylas/nylas-mail

license: mit

license_source: bigquery


text:
Settings page gets twig error (Craft 3)

Craft 3 generator. someField doesn't exist in the Settings model.
Basically $someAttribute needs to be renamed to $someField as well as updated in the rules() method..
Settings services already has it set as someField so that's good.
Thanks.

Fixed in 1.2.36:

Renamed someField -> someAttribute to fix Twig errors on the plugin Settings page

authors: khalwat owldesign


text:
floor block

#74

lgtm. squash!

done

:8ball: :mag:

source: gharchive/pull-request

authors: mikedewar nikhan

repo: nytlabs/st-core


text:
🩹fix: add missing component demos

Add Missing Component Examples to Documentation
Overview
This pull request addresses issue #27 by adding missing component demos to the documentation.
Impact

All component demos properly registered
Complete and functional public docs
Closes #27

Oh, I'm sorry I noticed your PR too late I had seen the issue first and added the missing parts. I believe I covered everything. However, I really appreciate that you created this PR and would like to acknowledge your contribution. Perhaps you could take a look at the current main branch and compare it with your changes?

@nyxb It appears that some examples were still missing from commit 4246e99, so merging this PR would still be beneficial. For reference, please review the slider, sheet, and skeleton pages.
Updates Made to This PR

Example Registration Location: Moved examples that were mistakenly placed in registry-ui to the correct location in registry-examples.
Conflict Resolution: Merged the latest changes from upstream/main to resolve conflicts.

authors: alexander-cato nyxb

repo: nyxb-ui/ui


text:
Remove briefing link in Q help page

According to Christian, the "Briefing-Formular" was deleted and still referenced in the Q help page

Ich möchte eine Grafik aus Q auch im Print verwenden. Wie funktioniert das?
Bitte sag der Infografik Bescheid, welche Grafik du in welcher Grösse gerne hättest. Am besten verwendest du dafür das Briefing-Formular.

Therefore remove the link

@philipkueng the help page content is configured in the Q server implementation. See here: https://github.com/nzzdev/Q-server-nzz/blob/dev/config/common/help.js#L30

authors: benib philipkueng

repo: nzzdev/Q-editor


text:
First version of the Cairo runner

Cairo works in two phases. First, it executes the program received as input/ in agreement with the verifier, in order to generate the witness of the computation. This part is called the Cairo runner. This witness is basically the full memory content after execution. The full memory is composed by: the compiled input program, a set of hints (I need to receive clarification from the Cairo guys for this part), cells that are allocated throughout execution, and finally the public outputs of the computation. The second part of Cairo is the one providing constraints that need to be satisfied by the witness. Starkware passes these constraints to a Stark prover, but we will be performing this step using a Kimchi-styled proof system. We refer to this second part as Turshi (an Egyptian pickled veggie, thanks @mimoo).
This pull request is for a first version of the Cairo runner. It contains three main modules:

word : defines a Cairo word, the native data that is handled by the Cairo runner. In this phase, this is represented as a u64 integer and a flag for negative numbers (useful when one gets negative offsets). For reference, Cairo instructions are represented as 64-bit words. In a future version, we will use field elements here, but for debugging purposes it was more intuitive to stick to u64 for now. From a CairoWord, one can access useful methods for decomposing the Cairo instruction: finding register offsets and flags. It comes with a simple test to decode offsets, and another one for decoding instruction flags.
bytecode: refers to the stack of bytecode instructions defining the input program (initially), and ends up adding more entries to the vector containing values computed throughout execution. A CairoBytecode can be read at a given position, can be assigned values at a given position, can be resized (enlarged) accordingly to fit new cells, and can be visualized. the same cell can be written many times in execution. But in the proving stage (Turshi), the memory will have to satisfy a write-once behavior. This is not a problem at this point, as obtaining the witness and proving it are two (related but) different tasks. CairoBytecode is a struct that contains the length of the compiled program (initial shared input with the verifier), and more importantly, a vector of Option. The reason that this is an optional type, is that we needed a way to differ between cells assigned with a zero value and non-written cells. If these are None, then they were not still initialized. This becomes more important in the execution. Comes with a unit test.
program:  it contains some structs that are useful throughout execution.

CairoRegisters: stores program counter, allocation pointer and frame pointer.

CairoVariables: stores auxiliary variables: content and address of destination, first operand and second operand, result of operation, and size of instruction (instructions with immediate values such as assignments have 2 words). For dst, op0 and op1 I chose an Option to represent the possibility that cells were unoccupied, and "negative" u64 elements (as opposed as if I had chosen u64 for the type directly).

CairoStep: defines a step of the computation. It contains a mutable reference to a CairoBytecode (the memory), current and next registers, and auxiliary variables. We have methods to compute each of the necessary values of computation for this struct. These are an "adapted" version (execution-wise, rather than checking-wise) of the state transition written in page 33 of the Cairo whitepaper. Comes with a unit test.

CairoProgram: defines a full program with a mutable reference to a CairoBytecode and the initial values of the registers. We have methods to execute a full program, that is formed by consecutive CairoSteps. It comes with two tests, one for a basic program and another one for a program including imports, outputs and builtins. There's still one issue pending from Cairo's response to understand one part of the non-deterministic execution of the Cairo runner.

Can you rebase or merge master into your branch :o? Also should I start reviewing this?

Thanks for pointing out @mimoo! I think master is merged now. I have included some constants for readability of the state transition function. I will be adding some suggestions from Joseph as well, but feel free to take a look into it when you can 👍

@imeckler sent me a pointer to what seems to be the field that the Cairo team is using here
It seems to be FIELD_PRIME = 2 ** 251 + 17 * 2 ** 192 + 1 that is written in hexadecimal as max = 0x800000000000011000000000000000000000000000000000000000000000001
I have been checking this against the Cairo playground to learn what is the largest available value it can represent, and it seems to be the case (that number, the modulus, goes back again to zero). Negative numbers also follow the same field (e.g., the number max-1 becomes -1).
This clarifies that when we represent ours with Pallas, whose sizes are larger, there shouldn't be any issues.

I don't think master is merge, Github seems to be pointing a lot of conflicting files

authors: mimoo querolita


text:
Mark o1js as an external dependency for next JS server config

Summary
Thanks to @anarkrypto on this issue https://github.com/o1-labs/o1js/issues/1811 !  This added config fixes the Error: ENOENT: no such file or directory, open '.../.../.next/server/vendor-chunks/plonk_wasm_bg.wasm issue in next js server

Thank you folks for the fix


text:
Update of yarn dependencies

Update yarn dependencies.

ci test

ci build please

repo: oVirt/ovirt-web-ui


text:
Dynamic imports are not enabled by default in Firefox

Only next version of Firefox will have  dynamic imports support enabled by default. That means that our Map components does not work in Firefox and perhaps in the a lot of modern browsers. We have to check in one more time and polyfill when it's necessary.
See more on Bugzilla

The solution is Next.js dynamic. It should have better support.
Also it's better to look for a solution with custom Leaflet plugin for Next.js with dinamic import.

It's handled by Babel and Webpack somehow. We need to figure out how exactly

repo: oacore/next


text:
Allow for searching within your items only

Add a scope parameter that allows for searching within

My Library, the libraries of the groups you're a member of and the folders you're a member of
Your folders and the folders in the groups you're a member of
Your direct and indirect group memberships
Your followers and followees

In other words, do a search within everything that's somehow associated to you.

Assigning to @mrvisser as next priority following group profiles

Twist: Add the ability to search for all of them at the same time. :) That will take some thought.

Isn't it basically a general search minus loggedin and public stuff ?

I'm assuming we want to include loggedin and public stuff? Especially for followers/following, which would always return nothing if it was only private

I think if we think through the filters and make it modular enough, we might be able to do facet counts if that's useful. But like I said, needs more thought to avoid mashing together an unmaintainable soup of filters.

I'm assuming we want to include loggedin and public stuff? Especially for followers/following, which would always return nothing if it was only private

Yes, but only those that are somehow associated to yourself.

Closing in favour of https://github.com/oaeproject/Hilary/pull/1161

authors: SamPeck mrvisser nicolaasmatthijs

repo: oaeproject/Hilary


text:
[WIP] [DO NOT MERGE] Introduce workflow.dialogs

Previously answerfile was generated from all the dialogs
present in the actors of the workflow, regardless of
whether this or that dialog has actually been shown.
This change collects dialogs actually shown to the user
and populates answerfile accordingly.

Can one of the admins verify this patch?

authors: centos-ci fernflower

repo: oamg/leapp


text:
[CELEBORN][FOLLOWUP] Unify the celeborn shuffle manager of velox and ch

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #ISSUE-ID)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Run Gluten Clickhouse CI

@liuneng1994 cc

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3107_time.csv
log/native_master_09_12_2023_892535655_time.csv
difference
percentage

q1
43.70
44.37
0.677
101.55%

q2
24.80
23.17
-1.636
93.40%

q3
37.14
36.71
-0.428
98.85%

q4
41.53
41.27
-0.261
99.37%

q5
70.63
69.43
-1.203
98.30%

q6
6.59
5.00
-1.598
75.77%

q7
86.41
83.94
-2.468
97.14%

q8
79.22
82.77
3.558
104.49%

q9
114.39
115.52
1.132
100.99%

q10
50.53
46.05
-4.476
91.14%

q11
18.80
19.04
0.242
101.29%

q12
25.61
25.94
0.333
101.30%

q13
49.32
51.71
2.393
104.85%

q14
16.78
13.72
-3.062
81.76%

q15
27.67
27.98
0.319
101.15%

q16
15.97
15.60
-0.373
97.66%

q17
121.43
119.89
-1.539
98.73%

q18
161.45
163.11
1.657
101.03%

q19
12.46
12.03
-0.436
96.50%

q20
32.20
38.93
6.730
120.90%

q21
240.29
248.23
7.945
103.31%

q22
15.35
15.56
0.209
101.36%

total
1292.27
1299.99
7.715
100.60%

authors: GlutenPerfBot kerwin-zk lwz9103

repo: oap-project/gluten


text:
Fix a typo in error message of native backend initialization

fix typo

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3495_time.csv
log/native_master_10_19_2023_a9324e620_time.csv
difference
percentage

q1
40.40
40.32
-0.085
99.79%

q2
24.74
24.36
-0.383
98.45%

q3
41.64
40.92
-0.717
98.28%

q4
36.82
33.60
-3.215
91.27%

q5
71.82
70.38
-1.445
97.99%

q6
9.03
8.94
-0.088
99.03%

q7
88.79
102.14
13.353
115.04%

q8
87.85
104.41
16.560
118.85%

q9
120.38
156.04
35.651
129.61%

q10
54.75
72.84
18.091
133.04%

q11
20.10
22.07
1.965
109.77%

q12
27.99
34.28
6.291
122.47%

q13
50.34
72.13
21.789
143.28%

q14
17.87
25.22
7.352
141.14%

q15
34.25
40.39
6.137
117.92%

q16
16.31
18.59
2.279
113.97%

q17
99.54
105.84
6.303
106.33%

q18
145.93
217.17
71.246
148.82%

q19
17.17
27.16
9.989
158.17%

q20
32.77
40.56
7.794
123.78%

q21
223.21
335.44
112.223
150.28%

q22
13.42
17.06
3.644
127.15%

total
1275.14
1609.87
334.732
126.25%


text:
[GLUTEN-3531][VL] Build: Undefined reference while linking velox_plan_conversion_test in debug build

Fixes https://github.com/oap-project/gluten/issues/3531

However I still don't understand why this only appears in debug build. But it does look incorrect to create and import libvelox_hive_connector.a which includes static variables as initializers.
See the objdump -t result after building against current main code:
root@55f8ad28c275:/opt/gluten# objdump -t /opt/gluten/ep/build-velox/build/velox_ep/_build/debug/velox/connectors/hive/libvelox_hive_connector.a | grep g_ConnectorFactory
0000000000000010 l     O .bss   0000000000000001 _ZN8facebook5velox9connector4hive12_GLOBAL__N_1L19g_ConnectorFactory9E
0000000000000011 l     O .bss   0000000000000001 _ZN8facebook5velox9connector4hive12_GLOBAL__N_1L20g_ConnectorFactory10E
root@55f8ad28c275:/opt/gluten# objdump -t /opt/gluten/backends-velox/target/scala-2.12/classes/libvelox.so | grep g_ConnectorFactory
root@55f8ad28c275:/opt/gluten#

After applying this patch:
root@55f8ad28c275:/opt/gluten# objdump -t /opt/gluten/cpp/cmake-build-debug/releases/libvelox.so | grep g_ConnectorFactory
000000001a9f2310 l     O .bss   0000000000000001              _ZN8facebook5velox9connector4hive12_GLOBAL__N_1L19g_ConnectorFactory9E
000000001a9f2311 l     O .bss   0000000000000001              _ZN8facebook5velox9connector4hive12_GLOBAL__N_1L20g_ConnectorFactory10E

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3532_time.csv
log/native_master_10_26_2023_d571c1f02_time.csv
difference
percentage

q1
34.39
34.75
0.366
101.06%

q2
24.73
22.99
-1.740
92.97%

q3
39.79
40.37
0.580
101.46%

q4
35.82
37.59
1.767
104.93%

q5
71.34
71.59
0.244
100.34%

q6
8.70
8.70
-0.000
100.00%

q7
86.33
87.51
1.188
101.38%

q8
88.10
86.64
-1.454
98.35%

q9
121.77
118.90
-2.871
97.64%

q10
53.19
52.50
-0.689
98.70%

q11
19.22
20.03
0.820
104.27%

q12
28.22
28.11
-0.108
99.62%

q13
48.46
48.84
0.377
100.78%

q14
18.83
19.79
0.963
105.11%

q15
35.57
34.34
-1.236
96.53%

q16
16.17
16.27
0.107
100.66%

q17
100.22
100.17
-0.043
99.96%

q18
148.92
148.64
-0.287
99.81%

q19
16.93
16.63
-0.305
98.20%

q20
30.63
30.76
0.128
100.42%

q21
222.86
222.90
0.037
100.02%

q22
13.34
13.27
-0.075
99.44%

total
1263.53
1261.30
-2.231
99.82%

authors: GlutenPerfBot zhztheplayer


text:
[VL] Daily Update Velox Version (2024-02-02)

What changes were proposed in this pull request?
3004e3494  Add a blog post for LIKE optimizations (#8576)
f9e94644f  Allow offline pre-compilation of 'xsimd' dependency (#8308)
e0cf6e906  Add TraceHistory (#8603)
6399f1779  Add TraceContext to various system calls that can block (#8583)
12ed56bfe  Add ThreadLocalRegistry (#8623)
e9301cb74  Update README for dependencies (#8607)
52ccd86a5  Deprecate spillDiskWrites (#8565)
fc0645545  Optimize LIKE for more relaxed patterns (#8594)
790d6bda3  Make MultiFragmentTest.partitionedOutputWithLargeInput run faster (#8610)
0579f974c  Add InitGoogleTest to ExchangeFuzzer (#8612)
1c40485bd  Minor fix for typo (#8628)
887b12ef4  Refactor ParquetData and PageReader to use FileMetaDataPtr (#8525)
92f380b4d  Eliminate redundant Expr::addNulls calls (#8616)
09d07d3e7  Fix doc-gen-job so that it has 3 retries before failing. (#7706)
f4c326d7e  Add flag for registering Presto compatible signatures for Bitwise_*_agg functions (#8491)
eb6b585bb  Cleanup circleci script (#8618)
37ba7cb4c  Break up AllTypes.nonSortedSpillFunctions test (#8621)
d66b18f1d  Change cast(double as json) to pad 0 and use scientific notation (#8498)
a94509425  Make DuckDbQueryRunner.createTable flush once after all rows are written instead of after every row (#8611)
3beff35f3  Optimize copying primitive type vectors (#8617)
fbbeb5664  PyVelox implementation for Array Vector (#6100)
280fc8611  Add fmt::format_as for SpillStats and MemoryArbitrator::Stats (#8608)

How was this patch tested?
Existing unit tests

/Benchmarks Velox

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4616_time.csv
log/native_master_01_31_2024_f1ed68005_time.csv
difference
percentage

q1
35.23
32.75
-2.478
92.97%

q2
24.51
24.25
-0.265
98.92%

q3
37.86
37.43
-0.430
98.86%

q4
36.09
37.40
1.315
103.64%

q5
70.59
70.15
-0.443
99.37%

q6
5.72
7.00
1.278
122.34%

q7
85.34
83.66
-1.671
98.04%

q8
85.64
85.87
0.229
100.27%

q9
123.58
124.41
0.826
100.67%

q10
43.46
43.68
0.219
100.50%

q11
20.36
20.32
-0.040
99.80%

q12
28.17
26.52
-1.646
94.16%

q13
45.80
45.62
-0.180
99.61%

q14
21.57
19.16
-2.416
88.80%

q15
28.82
28.85
0.029
100.10%

q16
14.48
14.00
-0.477
96.70%

q17
101.34
102.02
0.680
100.67%

q18
149.92
149.84
-0.088
99.94%

q19
12.63
12.62
-0.012
99.91%

q20
26.23
26.35
0.125
100.48%

q21
222.26
228.32
6.062
102.73%

q22
15.15
13.50
-1.648
89.12%

total
1234.75
1233.72
-1.031
99.92%

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_master_02_02_2024_time.csv
log/native_master_01_31_2024_f1ed68005_time.csv
difference
percentage

q1
32.73
32.75
0.022
100.07%

q2
24.25
24.25
-0.006
99.98%

q3
37.77
37.43
-0.334
99.11%

q4
37.97
37.40
-0.565
98.51%

q5
71.99
70.15
-1.839
97.45%

q6
5.55
7.00
1.445
126.03%

q7
83.90
83.66
-0.231
99.72%

q8
85.94
85.87
-0.073
99.92%

q9
124.24
124.41
0.169
100.14%

q10
43.64
43.68
0.037
100.09%

q11
20.55
20.32
-0.225
98.90%

q12
31.84
26.52
-5.318
83.30%

q13
45.08
45.62
0.543
101.20%

q14
18.78
19.16
0.377
102.01%

q15
30.14
28.85
-1.294
95.71%

q16
14.09
14.00
-0.090
99.36%

q17
101.47
102.02
0.545
100.54%

q18
148.26
149.84
1.571
101.06%

q19
13.37
12.62
-0.754
94.36%

q20
26.47
26.35
-0.121
99.54%

q21
222.62
228.32
5.705
102.56%

q22
13.84
13.50
-0.337
97.57%

total
1234.49
1233.72
-0.771
99.94%

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_master_02_03_2024_time.csv
log/native_master_02_02_2024_75285bcb8_time.csv
difference
percentage

q1
33.28
32.73
-0.547
98.36%

q2
24.26
24.25
-0.011
99.96%

q3
38.78
37.77
-1.016
97.38%

q4
37.64
37.97
0.329
100.87%

q5
70.97
71.99
1.024
101.44%

q6
8.56
5.55
-3.007
64.87%

q7
84.29
83.90
-0.397
99.53%

q8
84.63
85.94
1.310
101.55%

q9
121.75
124.24
2.482
102.04%

q10
43.29
43.64
0.356
100.82%

q11
20.58
20.55
-0.038
99.82%

q12
26.43
31.84
5.413
120.48%

q13
45.82
45.08
-0.737
98.39%

q14
21.75
18.78
-2.967
86.36%

q15
29.07
30.14
1.072
103.69%

q16
14.30
14.09
-0.206
98.56%

q17
103.31
101.47
-1.835
98.22%

q18
149.45
148.26
-1.184
99.21%

q19
13.09
13.37
0.285
102.18%

q20
26.67
26.47
-0.199
99.26%

q21
222.74
222.62
-0.125
99.94%

q22
13.69
13.84
0.149
101.09%

total
1234.34
1234.49
0.152
100.01%

authors: GlutenPerfBot JkSelf


text:
Can't disable all generators

I would like to use oapi-codegen purely for its custom generation from templates feature and disable all built in templates. However, this isn't possible because the tool overrides my choice to disable the echo-server, models, and embedded-spec generation through the config.
It looks like this is caused by this code block:
https://github.com/oapi-codegen/oapi-codegen/blob/f6622e749b8c59683109c53c4554eaf6e2bb9374/pkg/codegen/configuration.go#L93-L103
If all fields of o.Generate are false, then IsZero returns true and reenables these templates.
Possible fixes could be changing this to IsNil, or moving the UpdateDefaults call to be prior to unmarshaling the config.

Interesting - I'm not sure that we'd considered that before where you don't want to use any of the existing generation - what's the use-case?

I'd like to generate structs from the OpenAPI schemas for consumption by internal code, but I don't want to implement the code generation from scratch. Possibly would like to generate some interface implementations for those structs too.
oapi-codegen has done the heavy lifting of decoding the schema and templating code and I'd like to utilise it. There may be other reasons this wouldn't work though, I didn't get too far into seeing if it would work out.

OK, so https://github.com/oapi-codegen/oapi-codegen#generating-api-models is probably a good start, and then you can modify the templates for the resulting model code if you'd like?

I think there were some extra methods being generated that I couldn't control, since enabling Models executes multiple templates.
But upon further thought, I'm not sure my idea will work anyway. To make the struct transformations I want I'd need to call some functions inside the template, and oapi-codegen uses pure text/template instead of something like Sprig.
Feel free to close this unless you have any other ideas. Thanks!

authors: cedws jamietanna

repo: oapi-codegen/oapi-codegen


text:
Support multiple STIX versions

Fixes #53.

Codecov Report

Merging #65 into master will decrease coverage by 0.54%.
The diff coverage is 81.42%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   81.62%   81.07%   -0.55%
==========================================
  Files          10       24      +14
  Lines        2405     4840    +2435
==========================================
+ Hits         1963     3924    +1961
- Misses        442      916     +474

Impacted Files
Coverage Δ

stix2patterns/v20/object_validator.py
100% <ø> (ø)

stix2patterns/v20/grammars/STIXPatternParser.py
80.25% <ø> (ø)

stix2patterns/inspector.py
100% <ø> (+1.11%)
:arrow_up:

stix2patterns/v20/grammars/STIXPatternListener.py
86.5% <ø> (ø)

stix2patterns/v20/grammars/STIXPatternVisitor.py
0% <ø> (ø)

stix2patterns/v20/grammars/STIXPatternLexer.py
100% <ø> (ø)

stix2patterns/v21/grammars/STIXPatternVisitor.py
0% <0%> (ø)

stix2patterns/v21/object_validator.py
100% <100%> (ø)

stix2patterns/test/v20/test_validator.py
100% <100%> (ø)

stix2patterns/test/v20/test_inspector.py
100% <100%> (ø)

... and 28 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #65 into master will decrease coverage by 0.54%.
The diff coverage is 81.42%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   81.62%   81.07%   -0.55%
==========================================
  Files          10       24      +14
  Lines        2405     4840    +2435
==========================================
+ Hits         1963     3924    +1961
- Misses        442      916     +474

Impacted Files
Coverage Δ

stix2patterns/v20/object_validator.py
100% <ø> (ø)

stix2patterns/v20/grammars/STIXPatternParser.py
80.25% <ø> (ø)

stix2patterns/inspector.py
100% <ø> (+1.11%)
:arrow_up:

stix2patterns/v20/grammars/STIXPatternListener.py
86.5% <ø> (ø)

stix2patterns/v20/grammars/STIXPatternVisitor.py
0% <ø> (ø)

stix2patterns/v20/grammars/STIXPatternLexer.py
100% <ø> (ø)

stix2patterns/v21/grammars/STIXPatternVisitor.py
0% <0%> (ø)

stix2patterns/v21/object_validator.py
100% <100%> (ø)

stix2patterns/test/v20/test_validator.py
100% <100%> (ø)

stix2patterns/test/v20/test_inspector.py
100% <100%> (ø)

... and 28 more

Continue to review full report at Codecov.

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

authors: clenk codecov-io

repo: oasis-open/cti-pattern-validator


text:
ApplyToMembers on Obfuscation attribute has reversed functionality.

On Obfuscar 2.2.19.0, create .net core source code file in project test:
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
using System;

namespace test
{
    public class WithAttribute0
    {
        public const int HRESULT_UNKNOWN_RUNTIME_ERROR = -2146827284;

        public bool HandleUnexpectedException(object owner, Exception exceptionRaised, bool askContinue = false, string customErrorMessage = null, bool showErrorToUser = true, string parameters = null, object loggingLevel = null, string applicationNameWithVersion = null, string windowTitle = null, Dictionary<string, object> metrics = null, object originatingProvider = null)
        {
         return true;
        }
    }

    [Obfuscation(Feature = "renaming", Exclude = true, ApplyToMembers = false)]
    public class WithAttribute1
    {
        public const int HRESULT_UNKNOWN_RUNTIME_ERROR = -2146827284;

        public bool HandleUnexpectedException(object owner, Exception exceptionRaised, bool askContinue = false, string customErrorMessage = null, bool showErrorToUser = true, string parameters = null, object loggingLevel = null, string applicationNameWithVersion = null, string windowTitle = null, Dictionary<string, object> metrics = null, object originatingProvider = null)
        {
         return true;
        }
    }

    [Obfuscation(Feature = "renaming", Exclude = true, ApplyToMembers = true)]
    public class WithAttribute2
    {
        public const int HRESULT_UNKNOWN_RUNTIME_ERROR = -2146827284;

        public bool HandleUnexpectedException(object owner, Exception exceptionRaised, bool askContinue = false, string customErrorMessage = null, bool showErrorToUser = true, string parameters = null, object loggingLevel = null, string applicationNameWithVersion = null, string windowTitle = null, Dictionary<string, object> metrics = null, object originatingProvider = null)
        {
         return true;
        }
    }

    public class Program
    {
        public static void Main(string[] args)
        {
          WithAttribute0 e0 = new WithAttribute0();
          WithAttribute1 e1 = new WithAttribute1();
          WithAttribute2 e2 = new WithAttribute2();
          e0.HandleUnexpectedException(null, null);
          e1.HandleUnexpectedException(null, null);
          e2.HandleUnexpectedException(null, null);
          Console.WriteLine("Hello World!");
        }
    }
}

Obfuscate using:
<?xml version="1.0" encoding="utf-16"?>
<!--Generated on 15/06/2019 14:40:05 (UTC).-->
<Obfuscator xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Module file="bin\debug\netcoreapp2.2\test.dll" />
  <Var name="OutPath" value="obfuscated" />
  <Var name="HidePrivateApi" value="true" />
  <Var name="HideStrings" value="true" />
  <Var name="KeepPublicApi" value="true" />
  <Var name="MarkedOnly" value="false" />
  <Var name="RenameEvents" value="true" />
  <Var name="RenameFields" value="true" />
  <Var name="RenameProperties" value="true" />
</Obfuscator>

Decompile code:
using u003cPrivateImplementationDetailsu003eu007b7D28101Bu002d82CCu002d471Bu002dB92Bu002dBE223AC4873Cu007d;
using System;

namespace test
{
    public class Program
    {
        public Program()
        {
        }

        public static void Main(string[] args)
        {
            WithAttribute0 withAttribute0 = new WithAttribute0();
            WithAttribute1 withAttribute1 = new WithAttribute1();
            WithAttribute2 withAttribute2 = new WithAttribute2();
            withAttribute0.HandleUnexpectedException(null, null, false, null, true, null, null, null, null, null, null);
            withAttribute1.A(null, null, false, null, true, null, null, null, null, null, null);
            withAttribute2.HandleUnexpectedException(null, null, false, null, true, null, null, null, null, null, null);
            Console.WriteLine(BE754439-899F-4229-92C0-2ADD310814F9.A());
        }
    }
}

using System;
using System.Collections.Generic;

namespace test
{
    public class WithAttribute0
    {
        public const int HRESULT_UNKNOWN_RUNTIME_ERROR = -2146827284;

        public WithAttribute0()
        {
        }

        public bool HandleUnexpectedException(object owner, Exception exceptionRaised, bool askContinue = false, string customErrorMessage = null, bool showErrorToUser = true, string parameters = null, object loggingLevel = null, string applicationNameWithVersion = null, string windowTitle = null, Dictionary<string, object> metrics = null, object originatingProvider = null)
        {
            return true;
        }
    }
}

using System;
using System.Collections.Generic;
using System.Reflection;

namespace test
{
    [Obfuscation(Feature="renaming", Exclude=true, ApplyToMembers=false)]
    public class WithAttribute1
    {
        public const int A = -2146827284;

        public WithAttribute1()
        {
        }

        public bool A(object obj, Exception exception, bool flag = false, string str = null, bool flag = true, string str = null, object obj = null, string str = null, string str = null, Dictionary<string, object> dictionary = null, object obj = null)
        {
            return true;
        }
    }
}

using System;
using System.Collections.Generic;
using System.Reflection;

namespace test
{
    [Obfuscation(Feature="renaming", Exclude=true, ApplyToMembers=true)]
    public class WithAttribute2
    {
        public const int HRESULT_UNKNOWN_RUNTIME_ERROR = -2146827284;

        public WithAttribute2()
        {
        }

        public bool HandleUnexpectedException(object owner, Exception exceptionRaised, bool askContinue = false, string customErrorMessage = null, bool showErrorToUser = true, string parameters = null, object loggingLevel = null, string applicationNameWithVersion = null, string windowTitle = null, Dictionary<string, object> metrics = null, object originatingProvider = null)
        {
            return true;
        }
    }
}

The public elements of WithAttribute1 are obfuscated, but should have been excluded from obfuscation, since:

The obfuscation attribute is said to apply only to the class level (should have no impact).
The methods are public.

Workaround:

ApplyToMembers=true and accept loss of some obfuscation.

No plan to change the current behavior.
The Microsoft documentation on this scenario can be ambiguous,

The following code example shows a type that is excluded from obfuscation, but the exclusion does not apply to its members because the ApplyToMembers property is false.

https://docs.microsoft.com/en-us/dotnet/api/system.reflection.obfuscationattribute.applytomembers
That only covers "The obfuscation attribute is said to apply only to the class level (should have no impact)" of your statement.
The ambiguity is what to do next. You prefer "The methods are public", so this method should be skipped. But when I wrote that piece of code, I decided that [ObfuscationAttribute(Exclude=true, ApplyToMembers=false)] only excludes the type from renaming, but all its members should be renamed no matter what other settings are (so KeepPublicApi is ignored).
My suggestion is that if you rely on attributes to enforce obfuscation, your goal is to have better control over the obfuscation result. Then when [ObfuscationAttribute(Exclude=true, ApplyToMembers=false)] is used, you should explicitly use [ObfuscationAttribute(Exclude=true)] to force obfuscating the members that you want to protect.

Hi Lex,
thanks for considering it. We have applied the workaround already and are shipping again.
We process the same source code on framework 472 with another product and that has the other semantics implemented, so that caused a small issue and I wanted to let you know.
Have a great day!
Guido

repo: obfuscar/obfuscar


text:
混排优化时导致:joy:等emoji显示失效

发现一个小碧油鸡(bug)

举个栗子 :chestnut:(: chestnut :)
:joy:(: joy :)
混排优化之后会变成 : joy :

从而编辑器无法识别, 希望大佬在以后的版本中可以优化一下这个,谢谢啦 ❤

@Yester03
最新版本 已修复，升级即可。

此 issue 关闭，如有问题麻烦在下面留言或者另开 issue。

referenced commit：https://github.com/obgnail/typora_plugin/commit/606f9cd73b5209d842c1bafa7fe3b8bad3bf7c58

大佬,太感谢你啦,我昨天才的发现这个插件,没想到更新这么快! 👍 👍 👍


text:
unit prefixes should be case sensitive

It is impossible to add common unit prefixes like:
ElectricResistance,Milliohm,mΩ,1e-3
ElectricResistance,Megaohm,MΩ,1e6//does not work:unit is case insensitive
because QuantityTypes.UnitProvider will throw an exception.
(see: https://en.wikipedia.org/wiki/Unit_prefix)

Hi, since you have tagged this issue "help wanted" I have examined the source code, to
find out what changes would be necessary to resolve this issue. It turns out that only
"StringComparer.OrdinalIgnoreCase" has to be removed from a Dictionary constructor-call and
two unit test have to be slightly modified. This confuses me a bit, because the Dictionary
is case-sensitive by default, so this was intentionally changed to case-insensitive.
So, are you fine with this change - that would be a "major"/breaking change because it
breaks existing behavior and the version number should reflect this, if you would
accept a pull request for this...

I don´t remember any reason for making it case-insensitive, this is probably a bug. Yes, I will accept a PR  fixing this. Please make a good commit description! :-)

authors: donid objorke

repo: objorke/QuantityTypes


text:
Adding padding triggers whole Accordion to collapse?

 render() {
        return (
            <View style={styles.container}>
                <Accordion
                    sections={this.state.sections}
                    activeSections={this.state.activeSections}
                    renderHeader={this._renderHeader}
                    renderContent={this._renderSectionContent}
                    onChange={this._updateSections.bind(this)}
                />
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
      flex: 1,
      backgroundColor: 'transparent',
      paddingLeft: 15,
      paddingRight: 15,
      paddingTop: 30
    },

So I have the above code embedded into another accordion - but it seems like when I click on the embedded accordion's header it collapses everything incuding the parent accordion....

I confirmed that if I remove the container styling on the View - it fixes the issue.....why.....?

I also added it containerStyle Prop of the Accordion and does the same thing?

Can you create an example on https://snack.expo.io that reproduces this?

I can also confirm this issue - adding padding results in a maximum of 1 or 2 headers to be responsive (depending on what is being rendered) compared to if padding is removed - when all headers are responsive

authors: barclayd iRoachie mdere-unbound

repo: oblador/react-native-collapsible


text:
ERROR: 'eno1' is not a WiFi interface

I'm using create_ap with my laptop connected to internet via Ethernet ( eno1 ). I have an external WiFi dongle attached to my computer named wlxc0... . Whenever I try to make an access point with my laptop, it throws in a vague error stated in the title. This happens both in Debian Stable (9.1) and Testing. Is there a workaround for create_ap to recognize eno1 or do I have to rename it to eth0 for it to work?

You are passing the arguments with the wrong order. Do:
create_ap wlxc0 eno1 ap-name pass

authors: oblique wiiliam


text:
CL:0000487 oenocyte, name and definition to review?

CL:0000487 oenocyte, name of the class and definition maybe to review ?
the current definition of CL:0000487 in composite-metazoan.obo is restricted to larval oenocyte (as far as I understand):
'def: "A large secretory cell found in clusters underlying the epidermis of the abdominal segments of larval abdominal segments." []
while CL:0000487 has a cross-reference to a broader definition:
xref: FBbt:00004995 (oenocyte: 'Large cell located in a cluster or row under the abdominal epidermis, to which it is as attached.')
And in composite-metazoan.obo, the relation
is_a: CL:0000487 ! oenocyte
is present in 2 classes,
FBbt:00003185 name: adult oenocyte (Drosophila)
and
FBbt:00001694 name: embryonic/larval oenocyte (Drosophila)
I propose to open the definition to something like that:
'def: "A large insect secretory cell of ectodermal origin, found in clusters and segmentally arranged in connection with the fat bodies and tracheae of most insects and that may have important function in fatty acid and hydrocarbon metabolism'. [PMID: 24397521, https://www.merriam-webster.com/dictionary/oenocyte]
And in PMID: 24397521,
https://pubmed.ncbi.nlm.nih.gov/24397521/
'Oenocytes have also been reported in arachnids and crustaceans (110, 122), but it is not yet known whether these are homologous to insect oenocytes and so are not discussed further.'
so maybe the name of CL:0000487 should be 'insect oenocyte' ?
Thank you for your advice.
Anne

Thank you for your request, @ANiknejad.
As you pointed out, the current definition of oenocyte is larval specific and should be revise. However, after a review of the literature, it seems that this cell type has a high variability in size, shape, number in clusters and localisation:

PMID:24397521

PMID:34208190
Regarding the taxon restriction, currently oenocyte is 'in taxon' some Arthopoda. This includes arachnids and crustaceans.
In the case of arachnids, they named large cells oenocytes after a morphologic and functional study.

https://link.springer.com/article/10.1007/BF00233631
For crustaceans, the authors are careful with the terminology:

https://academic.oup.com/jcb/article/29/1/18/2548055
Therefore, I don't think there is a conflict maintaining the class name as oenocyte and keeping it Arthropod restricted.
I propose the following definition: "A secretory cell of ectodermal origin in connection with the fat bodies and tracheae. This cell may have important function in fatty acid and hydrocarbon metabolism'. [PMID:24397521, PMID:34208190, https://www.merriam-webster.com/dictionary/oenocyte]
And a comment: "An oenocyte is highly variable in shape and size across species. This cell typically forms clusters. In adults, oenocytes tend to be smaller but more numerous, while in larvae they are larger and form smaller clusters. [PMID:24397521, PMID:34208190]
Please, let me know if you find these edits satisfactory or if you have any comment. Thank you!

Hi @ANiknejad, I just wanted to check if you are happy with the proposed edits.

Hi @gouttegd, I would appreciate your expertise in the subject for the edits I have proposed on this term. Thank you!

This may need to wait until after the ISB meeting next week, but sure, I’ll have a look. :+1:

@aleixpuigb Your proposed edits look good to me. I agree with keeping the taxon restriction to arthropods instead of tightening it to only insects.
Maybe we could add a further sentence in the comment: “While oenocytes have been found in arachnids and crustaceans, they have been most abundantly described in insects.” ?

Thank you for the comments, @gouttegd. I agree with extending the comment.

authors: ANiknejad aleixpuigb gouttegd

repo: obophenotype/cell-ontology


text:
facial muscle hypoplasia

Add:
facial muscle hypoplasia
DEF: underdevelopment or reduced size, usually due to a reduced number of cells, of any of the striated skeletal muscles innervated by the facial nerve (cranial nerve VII) that, among other things, control facial expression
SYN: hypoplastic facial muscles
J:172023

facial muscle hypoplasia MP:0030426


text:
Login with oauth enabled

Hi,
is there a way to use the plugin with 2FA enabled? In this case it would be OAUTH
I get the following error:
{
"httpError": {
"status": 401,
"headers": {
"content-type": "text/html;charset=utf-8",
"content-length": "754",
"connection": "keep-alive",
"set-cookie": [
"JSESSIONID=XXXX; Path=/; HttpOnly"
],
"x-seraph-loginreason": "AUTHENTICATED_FAILED",
"www-authenticate": "OAuth realm="https%3A%2F%2Fexample.com"",
"content-language": "de",
"date": "Tue, 25 Apr 2023 07:14:30 GMT",
"strict-transport-security": "max-age=31536000; includeSubDomains"
}
},
"requestConfig": {
"url": "/api/user/current",
"method": "GET",
"params": {}
}
}

My understanding is this should work using an API token generated following https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
Is that the api token you used?

Ahm no, the Confluence Instance is on premise. I created an user token.

Ahh currently the plug-in only supports cloud instances. It's on the list to support on premises instances.

repo: obsidian-confluence/obsidian-confluence


text:
Includes lookup and capitalized .odoc files

Using the recent {!modules: } support on the batteries package, the link to BatteriesConcreteQueue was not being done.
It seems that this is due to the .odoc file having a capitalized file name (the filename is derived from the cmi, see https://github.com/ocaml-batteries-team/batteries-included/issues/701).
Should odig uncapitalize them ? Or is this a problem we'd like to solve ?

I think this should be fixed inside odoc.
(I fail to see the relation with #9 however)

(I fail to see the relation with #9 however)

Number mismatch...

Nb I think ocamldoc suffers from the same problem (at least odig's ocamldocs for batteries also have the same problem).

Fixed by https://github.com/ocaml-doc/odoc/commit/259122a2f8a6c44de75631dd004b351576ded764.

authors: dbuenzli trefis

repo: ocaml-doc/odoc

license: isc


text:
Rewrite READMEs

It rewrites READMEs with step-by-step guides on how to use ortac, both the default mode and the monolith plugin. It also elaborates on the description of the tool.
This PR builds on #81, so the first commits are not directly concerned. They are included since the installation instructions depends on #81.

Very good point! I added a new section listing some of the limitations to what specifications can be used.
There I need some extra eyes to complete that list :smile:

Thanks for this!
Can we please not merge this PR just yet, as there are still major issues that needs to be addressed before external users can try it.

Can we please not merge this PR just yet, as there are still major issues that needs to be addressed before external users can try it.

Sorry, I don't follow.
For example, there was a paper and a presentation at the OCaml Workshop 2021 advertising the Ortac repo and instructions for how to use the monolith plugin.
Rather than holding back the PR, I suggest

adding a visible warning up front in the README that the software is still experimental and under development
documenting the major issues (in the README or as issues)

Thank you @jmid for your suggestion, I added :warning: signs at the beginning of the READMEs.

authors: jmid pascutto shym

repo: ocaml-gospel/ortac


text:
Tracking issue: internationalisation (a.k.a. i18n)

[x] Internationalisation of the interface (framework is here, only english and french at the moment; note: translations are not dynamic, i.e. they are built-in and fixed at compile-time rather than fetched dynamically. But that could be improved)
[ ] Internationalisation of exercises

[ ] Simple solution: duplicate the exercises files with language variants (descr.en.html, descr.fr.html...)
[ ] More comprehensive solution: avoid duplicating code between languages. Indeed, template.ml or others may contain strings; test.ml even generates reports that should probably be localised too. Some templating mechanism / inclusion of the ppx ? This is not easy to solve ; also, if we even want to localise values names, I think dumplication remains the better option.

Can you elaborate on the part "This is not easy to solve"?
Falling back to duplication would be unsatisfying.
I agree that the report messages too should be localized. We could provide a standard library of messages to minimize the translation work but in any case, we can reuse the same translation mechanism as in the interface, can't we?
For code identifiers, the story is different: code must be written in english.

For code identifiers, the story is different: code must be written in english.

Ok, that was my opinion too :)

Can you elaborate on the part "This is not easy to solve"?

Maybe I should just have said "this is non-trivial" ;). See the difficulties and possible solutions below:
Translation for the interface is done at the app level: a ppx enables us to gather all strings marked for translation, and rewrites them into a lookup¹. Translation of exercises would need to happen at a different stage (when learn-ocaml build is run), and also rises the question of where/how the translations should be found and how we can provide the tooling for creating them.
Also, the app uses one global translation file per language, exercises should probably have their translations individually, since they are independent.
Basically, we need three parts:

① a way to extract the strings from the exercises to be translated and generate a template
①bis a way to update the translations easily when the original exercise changes (that's what guided my choice of the GNU gettext format for the app, because it has all the tooling for that)
② a way to locate the translations (when learn-ocaml build is run) and use them appropriately
③ in the app, a way to load the correct translation

③ is easy, and I guess  the (generated) exercise json could be duplicated for every available translation (putting them all in the same file would be possible, but result in needlessly bigger downloads). ② would'nt be too difficult either, with enumerating the available translations and generating the exercise for each of them.
① could be done using the same ppx syntax we use for the app, but with a different implementation (i.e. a learn-ocaml build option to (re-)generate the templates ?). Or maybe we could just set up all strings for translation ?
So it's certainly doable :) , but a little more work, and we can't use the translation mechanism of the app as is. Your input on the possible choices above would be welcome.
A possibility for the files we would need to add to translate the exercise to LANG:
descr.html → descr.LANG.html
meta.json → ø
title.txt → title.LANG.txt
prelude.ml  prepare.ml  solution.ml  template.ml  test.ml → LANG.po

Note that title.txt and meta.json respectively do, and don't need translations, but that could change with the extended meta.json format. We could also imagine having a specification of the langs available in meta.json (e.g. a lang → title map), but I am not sure of the benefit.
¹ that lookup is fairly basic, an done in a table of translations statically defined at compile-time for now, but we intend to replace it with something more advanced at some point (e.g. fetching the translations for the selected language from a separate resource). This has little impact on the rest of the mechanics involved though.

authors: AltGr yurug

repo: ocaml-sf/learn-ocaml


text:
[Bug]: There is no default selection of items for application form permissions in the SQL window

ODC version
odc431
OB version

What happened?

What did you expect to happen?

How can we reproduce it (as minimally and precisely as possible)?
Low permission accounts execute query statements without permission tables in SQL windows
Anything else we need to know?
No response

pass

repo: oceanbase/odc


text:
builds: fix failed to install pnpm

What type of PR is this?

Set the pnpm version to v8 to avoid incompatibility with node16
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:

script/functions.sh needs to be modified also?

authors: HSunboy yhilmare


text:
storybook: needs a theme toggle button

Every UI component needs to be tested against our light and dark theme. And using Storybook UI during the night burns eyes.
To solve both, in .storybook/preview.js:

figure out how to add e.g. toolbar button which upon click toggles between light & dark
activating dark mode does:

add dark class to the iframe <body />
switch to Storybook dark UI theme

activating light mode does:

remove dark class from the iframe <body />
switch to Storybook light UI theme

Just toggling that dark class will make all our rendered components automatically switch their colors too.
For Storybook UI theming:
https://storybook.js.org/docs/react/configure/theming
Adding things to toolbar is straight forward, but most likely we have to create our own local addon:
https://storybook.js.org/docs/react/essentials/toolbars-and-globals
https://storybook.js.org/docs/react/addons/addon-types#toolbars
There are various dark mode addons out there but this is not what we want, as we just want to toggle a css class.
Bonus would be adding a prefers-color-scheme media query and use that to switch dark/light automatically

Is this still relevant? Are we willing to allocate more time on this?

I think it's already good enough implementation in #1584, will check that

authors: kremalicious mihaisc

repo: oceanprotocol/market


text:
[Lake][DuckDB] Fix bronze tables start and end date filter calculation

In the current implementation the start and end date for the bronze tables is wrong, and here is why:

the calculation is done once and it is the same for all the table which is wrong, the calculation should be done for each bronze table just like for each raw table
the start time is the lowest timestamp from all the highest timestamp values from each etl table
the end time is the lowest timestamp from all the highest timestamp values from each raw table

Proposed solution:

calculate start and end date for each bronze table individually
start time should be the highest timestamp from the current bronze table
end time should be the highest timestamp from the corresponding raw table

the calculation is done once and it is the same for all the table which is wrong, the calculation should be done for each bronze table just like for each raw table

This is not wrong.
The tables have already been processed up-to the same time.
They do not have to be recalculated individually.
It is very different than how CSVs process information.
Raw Update
Input: GQL Data
Output: CSV + DB Tables
ETL Update
Input: DB Tables
Output: DB Tables
It isn't wrong because in the ETL step, all data has already been processed up-to the same date.

Closing this ticket

authors: KatunaNorbert idiom-bytes

repo: oceanprotocol/pdr-backend


text:
[YAML] refactor trueval: merge 3 agent files into one

Parent: #400 "Re-merge YAML & CLI: revive changes, fix bugs, test better, re-merge"

Completed in https://github.com/oceanprotocol/pdr-backend/commit/0137395427226da48ef2fafb0b7dee11726e2611