refactor: remove ts-results-es

ts-results-es, although rich in features, has too many things we don't need anymore, and I've decided to opt in for a simpler in house implementation.

Is there any reason to have the isOk function? couldn't you just check result.ok?
Once you check result.ok, its should infer that the result is { ok: true, value: T }


Dark brightness values don't seem to increase monotonically

I got myself a Pico Unicorn, really great stuff! Excited to start playing around with it.
I liked to read about the gamma correction and the PWM brightness control, because I'm interested in using very dark values. I want to make a clock to leave in the bedroom at night, try to make something that is barely visible in the darkness.
My first surprise was that in the gamma table the first value above 0 is actually 4. I would expect to make the curve linear at the beginning. But never mind that, I guess it's just the result from a simple expression.
If I plot a gradient of values from eg 0 to 15 over the columns, it seems fine, hard to tell if it's not as it should be. But If you change the whole screen into increasing and decreasing brightness levels, you can notice sometimes it's going a little darker while it should be increasing. So it looks like sometimes neighboring values of brightness are flipped, or something like that.
In this branch here I modified the plasma demo to make a "pulsing light", using a triangle wave. Is it just me, or can anybody notice that in the first few steps it doesn't seem to be increasing continuously? Could this be a bug somewhere?...
Notice that I modified the library to also allow for 16 bit input values directly, and it still looks like that.
Regardless of this issue, I would also like to have even darker and intermediate values in this range. Would it be possible to do modifying the library, or is this the limit of the driver?
Pulsating lights MWE:
https://github.com/nlw0/pimoroni-pico/tree/nic/darkpulse

Anyway TLDR is between the additional delay in PIO instructions, plus some extra off time delay in the hardware, plus the probable time it takes for LEDs to discharge the output FETs it's very possible there is enough extra on-time to cause the effect you're observing.
Assuming (at a guess) two extra instruction times of on-time per bit, the first part of our gamma table expressed as on-time is:
0, 0, 0, 3, 4, 7, 6, 10, 10, 14, 19, 18, 24, 31, 34, 34, 43, 48, 52, 62, 71, 73, 83, 88, 98, 107, 116, 127, 141, 143, 154, 171, 178

You can see some very minor steps backwards there, (7 down to 6, 19 down to 18) but probably nothing that would be visible in actual use.
This table was generated using this code:
# Amount of extra delay in PIO instructions that occurs per bit
# We know there's at least *one* extra instruction, but depending upon how
# long it takes PIO instructions to propagate changes to GPIO, how long the
# hardware shift-registers we use take to turn "off" and how long LEDs take
# to discharge the activated FETS there may be more time, in theory.
# Two is... a guess.
EXTRA_DELAY = 2

# Gamma table pulled from Pimoroni Pico
GAMMA_14BIT = [
      0, 0, 0, 1, 2, 3, 4, 6, 8, 10, 13, 16, 20, 23, 28, 32,
      37, 42, 48, 54, 61, 67, 75, 82, 90, 99, 108, 117, 127, 137, 148, 159,
      170, 182, 195, 207, 221, 234, 249, 263, 278, 294, 310, 326, 343, 361, 379, 397,
      416, 435, 455, 475, 496, 517, 539, 561, 583, 607, 630, 654, 679, 704, 730, 756,
      783, 810, 838, 866, 894, 924, 953, 983, 1014, 1045, 1077, 1110, 1142, 1176, 1210, 1244,
      1279, 1314, 1350, 1387, 1424, 1461, 1499, 1538, 1577, 1617, 1657, 1698, 1739, 1781, 1823, 1866,
      1910, 1954, 1998, 2044, 2089, 2136, 2182, 2230, 2278, 2326, 2375, 2425, 2475, 2525, 2577, 2629,
      2681, 2734, 2787, 2841, 2896, 2951, 3007, 3063, 3120, 3178, 3236, 3295, 3354, 3414, 3474, 3535,
      3596, 3658, 3721, 3784, 3848, 3913, 3978, 4043, 4110, 4176, 4244, 4312, 4380, 4449, 4519, 4589,
      4660, 4732, 4804, 4876, 4950, 5024, 5098, 5173, 5249, 5325, 5402, 5479, 5557, 5636, 5715, 5795,
      5876, 5957, 6039, 6121, 6204, 6287, 6372, 6456, 6542, 6628, 6714, 6801, 6889, 6978, 7067, 7156,
      7247, 7337, 7429, 7521, 7614, 7707, 7801, 7896, 7991, 8087, 8183, 8281, 8378, 8477, 8576, 8675,
      8775, 8876, 8978, 9080, 9183, 9286, 9390, 9495, 9600, 9706, 9812, 9920, 10027, 10136, 10245, 10355,
      10465, 10576, 10688, 10800, 10913, 11027, 11141, 11256, 11371, 11487, 11604, 11721, 11840, 11958, 12078, 12198,
      12318, 12440, 12562, 12684, 12807, 12931, 13056, 13181, 13307, 13433, 13561, 13688, 13817, 13946, 14076, 14206,
      14337, 14469, 14602, 14735, 14868, 15003, 15138, 15273, 15410, 15547, 15685, 15823, 15962, 16102, 16242, 16383]

# Work out the BCD timings for each bit
timings = [(1 << n) + EXTRA_DELAY for n in range(14)]

# Function to calculate the delay time from a 14-bit colour value
def delay_time(x):
    result = 0
    for bit in range(14):
        mask = 1 << bit
        if x & mask:
            result += timings[bit]
    return result

values = []

# Walk through our gamma table and calculate delay times for every entry
for x in range(256):
    r = delay_time(GAMMA_14BIT[x])
    values.append(r)
    print(x, GAMMA_14BIT[x], r)

# Print out all the timings
print(values)

So yes there is a bug in the driver layer where we assume we'll get the delay times we actually want, but this is mostly occluded by our gamma correction and it's probably not something I'd worry about fixing.
For your use-case you might be able to compensate by adjusting the bcd_ticks values as mentioned above, but since this starts at 1 you don't really have much wiggle room.
Another potential approach would be to clock the PIO faster (this requires overclocking the Pico I believe) and shifting the BCD timings left so you don't have any bits with timings that clash with the overhead.

@Gadgetoid thanks so much for all the info! I understand it much better now. I definitely want to investigate this because I really like the topic, and there's a lot I need to learn about this kind of led panels and PWM brightness control.
What exactly do you mean by BCD? Aren't you simply using the binary representation of the values as a sum of powers of 2? As far as I remember, BCD is when you use groups of 4 bits to represent digits from 0-9, like for 7-segment displays and digital clocks.
One thing I'm still trying to understand is how are you able to control a total of 3716=336 leds. Isn't the IC able to do only up to 144? Are there multiple chips in the board?
Regarding what I'm seeing, I suspect it might relate to timing errors, like you said. Maybe the time in one iteration isn't exactly what we expect, something like that. I'll try to play around with this and see what happens!
I was actually thinking one cool project might be to get some photodiodes or whatever, and make a kind of color calibration of the display, with the pico on the loop. Then we can objectively measure the power output, and come up with an accurate correction for the timings or whatever. And then any other necessary gamma on top of that related to brightness perception.

Anyway TLDR is between the additional delay in PIO instructions, plus some extra off time delay in the hardware, plus the probable time it takes for LEDs to discharge the output FETs it's very possible there is enough extra on-time to cause the effect you're observing.

OK, I hadn't seen this before. This makes a lot of sense to me, that sequence you computed looks a lot like I observed: it goes up, down then up, then constant and then up again... This is probably it then, there's an extra delay proportional to the number of bits, you think?
For my purposes, I'm happy to be able to play around with a set_rgb that takes uint16 inputs straight to the display (as in my patch), and maybe with the timings. But another possibility might be just computing values for GAMMA_14BIT that minimize the error. At the extreme, this can be done even based on a calibration with a sensor, like I said before.
If this is about the number of bits, there might even be a decrease between 0x01ff and 0x2000 for instance, it would look like 0x2009 or something. Unlikely to happen in the gamma table, though.
 Then I suppose it's also influenced by what's the current used. If I really need to make it darker, I guess I should try maybe dithering the color before drawing.

I'll go ahead and close this issue since I believe you've figured it out. If I come up with something interesting related to this, I'll just make a PR. Thanks for the help!

Okay it's not "BCD" it's "BCM" I mix up Binary-coded Decimal and Binary Code Modulation every single time 😆 😭
The crux is using powers of two on-times for each successive bit, so that we can output multiple chains of bits simultaneously and- like binary- no two bit timings can add up to any other bit timings. At least in theory. There are clearly practical gotchas with this!
I can't even remember what IC we're using here, but IIRC it's just a chain of shift registers or a single register responsible for driving one row of LEDs and probably an inverting buffer or similar to handle connecting the low side (cathode) of each LED to ground.
If you ignore the IC and imagine the Pico has 48 spare pins to drive the RGB elements of each led, plus another 7 pins to handle each row then all we're doing is turning on one of the 7 row pins (to connect to ground) and a mix of the 48 RGB channel pins depending on whether a specific LED needs to be illuminated for a specific BCM phase.
We shift out all the on/off bits for a single BCM phase of a single row, flash that row on for the required time, and then move to the next phase.
Once all 14 phases are done for a single row we advance to the next row, and the next, so in practice only one row of LEDs is flashed on at a time.
But the TLDR answer is- we're not limited by any specific matrix driver because we're not using one.

https://github.com/pimoroni/pimoroni-pico/blob/b4451c3bdc06235a1358a5a8aabd008647ed9f8a/libraries/pico_unicorn/pico_unicorn.cpp#L17-L29
So if I understand this right it works like:
data:                                       action:

64 bits on/off data                         shift out to columns register
8 bits padding                              ignore
8 bits row select                           shift out to row register
16 bits tick count                          wait this many cycles

The above is referred to as a frame by the source code, but a phase by your description above. 14 frames are sent for each row, then a dummy frame is sent which turns everything off (no row is selected).
The tick counts are set up once at construction. For frames 0 to 13 the tick count is 1 << frame:
https://github.com/pimoroni/pimoroni-pico/blob/b4451c3bdc06235a1358a5a8aabd008647ed9f8a/libraries/pico_unicorn/pico_unicorn.cpp#L134-L134
For frame 14 the tick count is 0xffff:
https://github.com/pimoroni/pimoroni-pico/blob/b4451c3bdc06235a1358a5a8aabd008647ed9f8a/libraries/pico_unicorn/pico_unicorn.cpp#L123
14 frames are sent because the gamma table contains values up to 14 bits long.
So if I understand all that correctly, then your extra cycle of latency comes from here:
https://github.com/pimoroni/pimoroni-pico/blob/b4451c3bdc06235a1358a5a8aabd008647ed9f8a/libraries/pico_unicorn/pico_unicorn.pio#L77-L78
And the reason is described on the comment here:
https://github.com/pimoroni/pimoroni-pico/blob/b4451c3bdc06235a1358a5a8aabd008647ed9f8a/libraries/pico_unicorn/pico_unicorn.pio#L23-L24
This means your 1 cycle phase is 2 cycles long. Your 2 cycle phase is 3 cycles long. Your 4 cycle phase is 5 cycles, etc. This has a worse effect on the shorter cycles.
The delay loop is in addition to however many cycles the rest of the PIO spends shifting out the data. In practice the 1 cycle phase is going to be 10s of cycles long and the 2 cycle phase, which should be twice as long, will actually be only 1 cycle longer.

Okay I edited that comment a lot.
tl;dr your frames/phases are supposed to double in duration each time, but they don't for two reasons: you forgot that loop tests are post decrement and you didn't account for time spent outside the delay loop when the LEDs will be turned on. Both of these extent the length of every frame by a constant time. This means each frame is less than double the duration of the next, which causes eg brightness levels 1, 2, 4 to look similar while 3 is brighter because it is turned on for two frames and therefore experiences double the overhead.

Ok so perhaps we could try something like this?
uint16_t framedelay = 1; //maybe 2 or 3
uint16_t frameperiod = 1<<frame;
uint16_t bcd_ticks = (frameperiod < framedelay) ? 0 : frameperiod - framedelay;

If framedelay is 1, the resulting time would be just right. If it's >1, then maybe we don't really have control over it with this bit-depth, at least not with this specific technique.


Updates to Bard not accessible from canadian account

Hi there,
First off, thank you for creating these reverse-engineered repos. I've been using them a lot.
I just want to express this so people can confirm whether or not my intuition is right.
I'm canadian, and I've been using a VPN to interact with the website since it came out. Though, I'm pretty sure now i'm not interacting with the updated version as my account is canadian.
If you navigate to the Network tab in Console mode, you will see an object called StreamGenerate.
It refers to a URL : https://bard.google.com/_/BardChatUi/data/assistant.lamda.BardFrontendService/StreamGenerate?bl=boq_assistant-bard-web-server_20230510.09_p1&_reqid=557387&rt=c
This is making me doubt that i'm not interacting with the latest LLM, but still with LLaMDA because of regulations. It may be that Google is filtering out requests from accounts in EU and Canada. Here is the list of accepted countries. Thus, accounts from the EU and Canada would not be able to interact with either PaLM2 or Gemini
I'm currently in the US and not using a VPN and it still spits out the same URL and authuser error under the Network tab whenever i'm sending a message (https://play.google.com/log?format=json&hasfast=true&authuser=0).
(and yes, I have access to dark mode and export to Docs and Gmail, so part of the update is on).
Can a user with US gmail account verify that ?
Also, I believe this could affect your code @acheong08  in self.session.post https://github.com/acheong08/Bard/blob/4c53d4ae54753d00f64fd4a89e4005d0e87588d2/src/Bard.py#L128

Hi to any google employees seeing this :)

Hi. I'm supposed to update the LLM version in the request every once in a while. Have been and still am busy with exams.
Regarding the PALM/Gemini, those are not available through Bard yet afaik. Gemini is still in training and PALM 2 is rolling out.
The latest version I can access is 20230510.09_p1 which https://github.com/acheong08/Bard/releases/tag/1.0.2 switches to

Great. Thanks for confirming.
Good luck on your exams!!


Enable autocomplete for ask()

Q
A

Bug fix?
No

New feature?
Yes

BC breaks?
No

Deprecations?
No

Fixed tickets
N/A

This PR enables the use of Symfony Console autocomplete for ask() deployer function.
In my usecase, I use ask() to ask the user which branch he wishes to deploy, and since some branch names can be very long, autocomplete can be pretty handy.

Please update changelog.

Here you go ! ✍

This branch has conflicts that must be resolved

The conflicts have been resolved


Update build files to match master.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [geeknoid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Deploy preview for istio failed.
Built with commit 332b015b3e05f2f3b263d0bd503fd9498c4895ab
https://app.netlify.com/sites/istio/deploys/5b24578be39e7c107e6b57c4


Build Self-Attention Mechanism

Description
Implement the self-attention mechanism in the Transformer model, which includes matrix multiplication for the query, key, and value matrices, softmax for attention scores, and masking for sequence inputs.
Tasks

Implement the query, key, value matrix multiplication.
use the already implemented (#1) softmax operation to compute the attention scores.
Implement masking for sequence inputs to handle padding tokens.

Expected Outcome

Self-attention mechanism is functional with the necessary components.
Masking should work for padded inputs in sequences.

Notes

Focus on correct implementation of matrix multiplication and masking.

Should be done, with last weeks commits, but could be revisted if there are issues while Training (especially in the multihead attention algorithm)


A way to save user configs.

added some methods to help you out feel free to use them or take some inspiration from them.
By using configparser you can save user configs to ini files.

Nice work.
Could you combine all of the save functions into one big save function?
Also maybe you could split the code into a new file for organization.
Thanks for contributing!


[FR] Cache prefetching

Cache prefetching would be a very nice feature to have in Unbound. With this feature, Unbound could preload DNS results for often used queries for keeping the cache updated.
It could be:
server:
  [...]
  cache-prefetch yes
  cache-prefetch-expires 7200
  cache-prefetch-threshold 5
  [...]

/\ Unbound prefetch the cached DNS answer if 5 hits of same domain are served from the cache in a period of 2 hours (7200 seconds).
cache-prefetch-expires is the prefetch track time window, and cache-prefetch-threshold the name queries threshold for prefetch.

There is already an option prefetch: yes. This also performs cache prefetching.
It has been in the software release for a while now, and turning it on should work fine. If you have DNSSEC enabled, with a trust anchor, then the option prefetch-key: yes can be used to prefetch DNSKEY lookups. This speeds up the DNSSEC validation by fetching the DNSSEC key material while the iterative resolution is still in progress.

@wcawijngaards
I know, but the options I suggested would complement this feature in Unbound.
Thanks.

@wcawijngaards
I reformuled this topic and I'm opening again, if you find this idea irrelevant, close this.
Thanks.

This is just seems like expected prefetch operation, but with extra steps for no immediately obvious reason.
If there's a record in cache that's about to expire, and prefetch is enabled, the record will be prefetched.
This would only really fall over if you're modifying cache TTL to a ridiculous degree, and in turn never actually seeing prefetch because you're holding records live for weeks/months (I noticed you doing this with client facing TTL and have no immediate reason to believe you're not doing so with primary cache TTL also).

The reason would be keeping frequently accessed hostnames updated.

The basic idea with TTL in general is that it should be shorter than the expected update period of a given record, which depending on the situation can vary pretty dramatically from seconds to weeks, with no one-size-fits-all value.


[tool_crash] FileSystemException: Cannot delete file, OS Error: Access is denied., errno = 5

Command
flutter --quiet assemble --no-version-check --depfile C:\Users\danca\Desktop\iso\intelligentIsoFrontend-3a54c614b252d98ba0bf89df6bbb3ca3fa2f389d\build\app\intermediates\flutter\debug/flutter_build.d --output C:\Users\danca\Desktop\iso\intelligentIsoFrontend-3a54c614b252d98ba0bf89df6bbb3ca3fa2f389d\build\app\intermediates\flutter\debug -dTargetFile=C:\Users\danca\Desktop\iso\intelligentIsoFrontend-3a54c614b252d98ba0bf89df6bbb3ca3fa2f389d\lib\main.dart -dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true --DartDefines=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== debug_android_application

Steps to Reproduce

Update flutter version to 3.7.6 from 3.3.0

Logs
FileSystemException: Cannot delete file, OS Error: Access is denied.
, errno = 5
#0      _File.throwIfError (dart:io/file_impl.dart:629:7)
#1      _File._deleteSync (dart:io/file_impl.dart:312:5)
#2      FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:424:7)
#3      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#4      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#5      ErrorHandlingFileSystem.deleteIfExists (package:flutter_tools/src/base/error_handling_io.dart:82:12)
#6      FlutterBuildSystem.trackSharedBuildDirectory (package:flutter_tools/src/build_system/build_system.dart:750:33)
#7      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:638:5)
<asynchronous suspension>
#8      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:337:32)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.7.6, on Microsoft Windows [Version 10.0.19044.2604], locale en-US)
    • Flutter version 3.7.6 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12cb4eb7a0 (4 days ago), 2023-03-01 10:29:26 -0800
    • Engine revision ada363ee93
    • Dart version 2.19.3
    • DevTools version 2.20.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\danca\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop for Windows
    ✗ Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.75.1)
    • VS Code at C:\Users\danca\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available)
    • SM S134DL (mobile) • R9WT60DL6PV • android-arm64  • Android 12 (API 31)
    • Windows (desktop)  • windows     • windows-x64    • Microsoft Windows [Version 10.0.19044.2604]
    • Chrome (web)       • chrome      • web-javascript • Google Chrome 110.0.5481.178
    • Edge (web)         • edge        • web-javascript • Microsoft Edge 110.0.1587.57

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 4d7946a68d26794349189cf21b3f68cc6fe61dcb
Plugins
connectivity_plus-2.3.9
connectivity_plus_linux-1.3.1
connectivity_plus_macos-1.2.6
connectivity_plus_web-1.2.5
connectivity_plus_windows-1.2.2
desktop_window-0.4.0
device_info_plus-4.0.0
device_info_plus_linux-2.1.1
device_info_plus_macos-2.2.3
device_info_plus_web-2.1.0
device_info_plus_windows-2.1.1
flutter_local_notifications-12.0.4
fluttertoast-8.2.1
geolocator-9.0.2
geolocator_android-4.1.7
geolocator_apple-2.2.5
geolocator_web-2.1.6
geolocator_windows-0.1.1
package_info_plus-1.4.2
package_info_plus_linux-1.0.5
package_info_plus_macos-1.3.0
package_info_plus_web-1.0.6
package_info_plus_windows-1.0.5
path_provider-2.0.13
path_provider_android-2.0.23
path_provider_foundation-2.1.2
path_provider_linux-2.1.9
path_provider_windows-2.0.7
shared_preferences-2.0.18
shared_preferences_android-2.0.16
shared_preferences_foundation-2.1.4
shared_preferences_linux-2.1.4
shared_preferences_web-2.0.5
shared_preferences_windows-2.1.4
sqflite-2.2.4+1
url_launcher-6.1.5
url_launcher_android-6.0.24
url_launcher_ios-6.1.1
url_launcher_linux-3.0.3
url_launcher_macos-3.0.3
url_launcher_web-2.0.15
url_launcher_windows-3.0.4

Closing this as a duplicate of https://github.com/flutter/flutter/issues/88830.


Insert only takes 3 args

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
    return self.func(*args)
  File "/Users/Moosems/Desktop/DIP-dev/LangEditors.py", line 135, in _autocomplete
    self.insert(insert, remainder, ("sel", "autocomplete"))
TypeError: BaseCodeBox.insert() takes 3 positional arguments but 4 were given

Any thoughts?


Pokemon from later generations should be removed from modded Dexes

Follow up after the 8289374 bug fix.
>> Dex.mod('gen1').getTemplate('hydreigon').isNonstandard
<< false
>> Dex.mod('gen1').getTemplate('hydreigon').tier
<< "OU"

Is unintuitive. @HoeenCoder suggests it could be useful for OM's, but @TheImmortal claims it isn't. I think its worth fixing.
Somewhat related: shouldn't CAP Pokemon have a generation associated with them?
I think for CAP (depending on how you treat the prevos) it would be:
- Gen IV: [-1, -2, -3, -4, -5, -6, -7,  -8, -9, -10, -11] + [-101, -102, -103, -104, -116, -117, -118, -119]
- Gen V: [-12, -13, -14, -15, -16, -17] + [-106, -107, -108, -109, -110]
- Gen VI: [-17, -18, -19, -20, -21, -22] + [-111, -112, -113, -114, -115]
- Gen VI: [-23, -24, -25, -26, -27] + [-120]

Neither of these changes would have prevented the bug 8289374 fixed, but the way Dex works was revealed to be less obvious/intuitive due to the bug.

I'd say to set isNonstandard to true (it was probably originally set to true but lost at some point), but otherwise keep it around.

tier as well can be set to Illegal.

IIRC, Crystal had a server with a Gen 1 OM with Gen 2 Pokémon, so evidence shows it's useful.
I'd suggest changing isNonstandard to a string: 'CAP' | 'Glitch' | 'Hack' | 'Future'. That would also simplify work on rulesets. See e.g. this unintuitive line https://github.com/Zarel/Pokemon-Showdown/blob/cfb1cf1731eb5273ecc3796ff2a5b7bd92896a4a/data/rulesets.js#L162

Rather than forcing every generation to get its own deep clone of each data entry, it would be better to have a BasicEffect#isAvailable() method that reads the isNonstandard flag as well as the gen in order to find out the relevant data.
Sort of like how old gens use getCategory(move) rather than checking move.category

I disagree with .isAvailable. We already make a deep clone for every gen.


Fixed unexpected id argument on Video model

Lastly we were getting several TypeErrors due to payload from Instagram responses now include "id" field and we are not expecting it in Video and Image class models initialization.
This is the traceback:
TypeError: __init__() got an unexpected keyword argument 'id'
  File "instagram/bind.py", line 223, in _call
    return method.execute()
  File "instagram/bind.py", line 215, in execute
    content, next = self._do_api_request(url, method, body, headers)
  File "instagram/bind.py", line 184, in _do_api_request
    api_responses = self.root_class.object_from_dictionary(data)
  File "instagram/models.py", line 87, in object_from_dictionary
    new_media.videos[version] = Video.object_from_dictionary(version_info)
  File "instagram/models.py", line 13, in object_from_dictionary
    return cls(**entry_str_dict)

Please merge my pull request to solve such error. Thanks in advance.

done

No longer working for RM, I don't know how I have still access here :trollface:

The same situation with Andrzej :)
On 29 September 2017 at 16:32, Andrzej Bartosiński<EMAIL_ADDRESS>
wrote:

No longer working for RM, I don't know how I have still access here [image:
:trollface:]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RebelMouseTeam/python-instagram/pull/6#issuecomment-333127154,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADudwXe21KEVA-nn9CjUpKWXbHpM-Vi4ks5snPFqgaJpZM4Pn0Ii
.

--
Best regards,
Tanya Burlakova,
Front-end developer
<EMAIL_ADDRESS>icq:419366583
skype:taburlakova

Ha-ha, the same with me :)
Would do "Unsubscribe" but I have no more RM acct at GitHub...
Guys who still has it: please remove me from this chain!
Thanks,
Boris
On Fri, Sep 29, 2017 at 9:32 AM, Andrzej Bartosiński <
<EMAIL_ADDRESS>wrote:

No longer working for RM, I don't know how I have still access here [image:
:trollface:]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RebelMouseTeam/python-instagram/pull/6#issuecomment-333127154,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALbJt8cUy27wVATDaoguwQKF2edIs5iVks5snPFrgaJpZM4Pn0Ii
.


[db-up] Bump mysql-connector-python

Fix CVE-2019-2435

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

db-up

db-up


Catch an edge case in expand._assert_local()

Summary of changes

Using str.startswith() for sandboxing file access has an edge case where someone can access files outside the root directory. For example, consider the case where the root directory is "/home/user/my-package" but some secrets are stored in "/home/user/my-package-secrets". Evaluating a check that "/home/user/my-package-secrets".startswith("/home/user/my-package") will return True, but the statement's intention is that no file outside of "/home/user/my-package" can be accessed.
Using pathlib.Path.resolve() and pathlib.Path.parents eliminates this edge case.
See https://salvatoresecurity.com/preventing-directory-traversal-vulnerabilities-in-python/ for more details.
Caveats

If there is an infinite loop in the directory structure, pathlib.Path.resolve() will raise a RuntimeError.
pathlib.Path.resolve() resolves symlinks, whereas the old code using os.pathlib.abspath() did not.

I am not intimately familiar with setuptools and could use some guidance as to whether or not either of these two caveats would cause an issue. My guess would be that the first would not impact users and the second might, but probably won't. If either of the above caveats is an issue, I can provide an alternate implementation using os.path.abspath(), though that comes with its own caveats.
Pull Request Checklist

[x] Changes have tests
[ ] News fragment added in changelog.d/. - This PR should not change the way users interact with setuptools, with the possible exception of the caveats above.

Thank you very much for working on this, @mssalvatore.
I can see that you have used resolve instead of abspath. Is there a rationale behind this choice?
I believe that this changes a little bit the semantics of the operation right? This would mean that developers cannot use symbolic links in their projects, which could mean that the change is not backwards compatible (it also introduces file-system traversing, instead of string operation, which you noted in your comments can result in recursion problems) ...

@abravalheri Usingresolve instead of abspath does indeed change the semantics of the operation. resolve will canonicalize the path (resolving symlinks) and abspath won't. The docstrings for read_files() and a few other functions say that the "function is sandboxed and won't reach anything outside rootdir". For that to be true, strictly speaking, you need resolve instead of abspath.
If it's acceptable or desirable to allow symlinks to be traversed, I can reimplement this using abspath. Just LMK.

Hi @mssalvatore thank you very much for having a look on this.
I think it is fair to assume that if the user has a symbolic link, they want it to be considered as a local file. I am also concerned about the backward compatibility...
My opinion is that it would be better to go with a loose interpretation and use abspath in this particular scenario. Unless there is a good reason to do otherwise.

@abravalheri I've pushed a commit to use abspath() and still handle the edge case.


add monitoring

https://godoc.org/github.com/DataDog/dd-trace-go/contrib/gin-gonic/gin
https://docs.datadoghq.com/tracing/setup/go/

https://prometheus.io/

https://www.reddit.com/r/golang/comments/7xumh6/simple_rest_api_monitoringlogging/

http://www.ru-rocker.com/2017/04/02/micro-services-using-go-kit-monitoring-services/

https://github.com/hootsuite/healthchecks

Datadog is a "meh". The agent by default uses the same port as IPFS, and I have no desire to alter the configs of either.


Wrapping algorithm for callback arrow functions adds a comma to the arguments list

Version: 0.0.5 (npm@latest); also 0.0.4, and prettier-browser.

Example: (prettier-browser)
func('a very very very very long long long name that exceeds the width limit', () => {
  return true;
})

// becomes

func('a very very very very long long long name that exceeds the width limit', (
  ,
) =>
  {
    return true;
  });

Where did the comma in the arguments list come from?
It doesn't happen with shorter functions that don't exceed the line length limit, nor with a function callback.
// input
func('a short name', () => {
  return true;
})

// output
func('a short name', () => {
  return true;
});

// input
func('a very very very very long long long name that exceeds the width limit', function() {
  return true;
})

// output
func(
  'a very very very very long long long name that exceeds the width limit',
  function() {
    return true;
  },
);

Side-note: The output for the incorrect function causes prettier to throw an error: prettier-browser. Is the comma actually illegal there, or should I file that as a separate bug?

This looks like a wonderful tool. I'm really excited to see where it leads.

Are you using the trailing comma option? It is still be outputting a comma even though there are no args. If you add parameters is looks better:
https://vjeux.github.io/prettier-browser/#{"content"%3A"\nfunc('a very very very very long long long name that exceeds the width limit'%2C (a%2C b\n  %2C\n) %3D> \n  {\n    return true%3B\n  })%3B%22%2C%22options%22%3A%7B%22printWidth%22%3A80%2C%22tabWidth%22%3A2%2C%22useFlowParser%22%3Afalse%2C%22singleQuote%22%3Atrue%2C%22trailingComma%22%3Atrue%2C%22bracketSpacing%22%3Atrue%7D%7D
If you enable the trailing commas option, we output commas for function arg lists too. It is not legal right now, but there is a stage 4 proposal for it, so it will be legal soon: https://github.com/tc39/proposal-trailing-function-commas
There is a babel extension to strip it out. Are you using babel already? If so you should enable that extension.
The point is that it's going to be legal soon, and if people want trailing commas they would like them there as well, and we assume your going to use the babel extension for now.
We should not output the comma though if there are no args. That is a bug.

Yeah, that's the bug I'm facing – it's adding the comma when an arrow callback function has no arguments. I'm eagerly awaiting the day that I can use trailing function commas! I hadn't realized it was that far along in the process yet. Thanks again!

I think we might allow the trailingComma option to have two types, one where it prints them everywhere and another that doesn't print them in function args.

I think, until trailing function commas are supported natively, it's wrong to assume that people are running their code through babel. I would like trailing commas everywhere they are supported, but I don't run my node code through babel, so I have to turn the option off, which strips trailing commas from objects and arrays.

If I understand #210 correctly, it resolves the zero argument case, but what about the trailing comma on argument lists?


Its not working?

I tried, but it does not seem to work anymore?, any chance of a working update?

The GName and Gworld offsets are likely outdated. If you want to be able to update it with ease you can use cheatgear:
https://cheatgear.com/
It will allow you to get the GName and Gworld offset without any reversing as it comes with configs for dumping most sub unreal 4.26 games and can be made to work on 4.27 games rather easily. It costs 15 usd a month through their patreon but if you can't manually reverse unreal engine it is the most convenient way to get the latest offsets.
If you can utilise IDA, then i advise you to grab the pdb from unreal 4.15 and dump the game without BE and you should be able to find the typical Gworld and Gname string identifiers pretty easily.

I seriously don't know what you are talking about haha, I followed the installing guide, but dont know even how I should start this before I start the game. I can download unreal engine 4.27 but after this point I dont know what to do

I downloaded the files, ConanExilesDma, then Downloaded MprocFS.exe files and move them to the ConanExilesDma-main folder, then I downloaded FTD3XXlibrary and moved it also to ConanExilesDma-main folder, I installed python.. but dont know what to do next.. also If I figure out the Gname and Gworld, where do I edit them?

Im still new with github, but I figured that I need to open the files with visualstudio code, I press on main.cpp and I try to windows ( launch ) but it gives me an error like Launch program does not exist, dont know what Im doing wrong haha. Im sorry if I bother you

You need to use Visual Studio 2022: https://visualstudio.microsoft.com/vs/
You need to use Visual Studio to compile it. Once you have a compiled exe, visual studio tells you the file path of the exe and you put it next to all the memprocfs stuff as well as the ftd3xx.dll from: https://ftdichip.com/wp-content/uploads/2024/06/FTD3XXLibrary_<IP_ADDRESS>.zip
That being said it does need updating, as i said above you can get the latest offsets using cheatgear.

I build the files and compiled it, it gave me ConanExilesDMA.exe and I moved the ftd3xx.dll and the memprocfs stuff to the same build folder, but when I double click on the exe file, nothing happens.. do I need to get the offsets for it to work ?

I tried every way to make it open, something wrong, when I press f5 from visual studio, it opens but when I compile it, when I press on the .exe nothing opens.. can you check it out?. I think it should open before I can get the offsets

learned so much because of this past 2 days haha


Error when training DAMSM

Traceback (most recent call last):
File "pretrain_DAMSM.py", line 275, in
dataset.ixtoword, image_dir)
File "pretrain_DAMSM.py", line 61, in train
for step, data in enumerate(dataloader, 0):
File "/media/server009/seagate/liuhan/anaconda2/envs/attngan/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 310, in iter
return DataLoaderIter(self)
File "/media/server009/seagate/liuhan/anaconda2/envs/attngan/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 180, in init
self._put_indices()
File "/media/server009/seagate/liuhan/anaconda2/envs/attngan/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 219, in _put_indices
indices = next(self.sample_iter, None)
File "/media/server009/seagate/liuhan/anaconda2/envs/attngan/lib/python2.7/site-packages/torch/utils/data/sampler.py", line 119, in iter
for idx in self.sampler:
File "/media/server009/seagate/liuhan/anaconda2/envs/attngan/lib/python2.7/site-packages/torch/utils/data/sampler.py", line 50, in iter
return iter(torch.randperm(len(self.data_source)).long())
RuntimeError: invalid argument 1: must be strictly positive at /pytorch/torch/lib/TH/generic/THTensorMath.c:2184
@taoxugit
Could you please help me solve this problem?
Thank you very much!
I'm looking forward to your reply.

did you solve this problem ?


npm install fails on Windows 7

[x] I've asked for help in the Truffle Gitter before filing this issue.

Yes. Seems unmanned.
Issue
Cannot install truffle under Windows 7. The problem seems to be path lengths, which exceed the allowable length in that OS.
Steps to Reproduce
npm install -g truffle
Expected Behavior
I expect it to install. :)
Actual Results
Partial screen dump:
C:\Users\Rob\AppData\Roaming\npm\node_modules\truffle\node_modules\ether-pudding\node_modules\ethereumjs-testrpc\node_modules\ethereumjs-wallet\node_modules\scrypt.js\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Warning: Missing input files:
C:\Users\Rob\AppData\Roaming\npm\node_modules\truffle\node_modules\ether-pudding\node_modules\ethereumjs-testrpc\node_modules\ethereumjs-wallet\node_modules\scrypt.js\node_modules\scrypt\build..\scrypt\win\include\config.h
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(312,5): error MSB3491: Could not write lines to file "Release\obj\copied_files\copied_files.tlog\copied_files.lastbuildstate". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. [C:\Users\Rob\AppData\Roaming\npm\node_modules\truffle\node_modules\ether-pudding\node_modules\ethereumjs-testrpc\node_modules\ethereumjs-wallet\node_modules\scrypt.js\node_modules\scrypt\build\copied_files.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(312,5): error MSB3491: Could not write lines to file "Release\obj\scrypt_wrapper\scrypt_wrapper.tlog\scrypt_wrapper.lastbuildstate". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.  System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Rob\AppData\Roaming\npm\node_modules\truffle\node_modules\ether-pudding\node_modules\ethereumjs-testrpc\node_modules\ethereumjs-wallet\node_modules\scrypt.js\node_modules\scrypt
gyp ERR! node -v v4.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Environment

Operating System:  Windows 7
Truffle version: Repository lates I assume
Ethereum client: Relevance?
node version: 4.6.0
npm version: 2.15.9

Managed to compile tonight after updating to node 6.7.0
Closing ticket.

Hi Rob,
Regarding the Truffle Gitter:

Yes. Seems unmanned.

There are 420 subscribed Gitter users at the time of this writing. There
are definitely users willing to help. I assume you caught people at the
wrong time.
That said, there is no paid support person, so please continue reaching out
to the community if you don't immediately get a response.
Cheers.
On Fri, Sep 30, 2016 at 11:09 AM, Rob Judd<EMAIL_ADDRESS>wrote:

Closed #286 https://github.com/ConsenSys/truffle/issues/286.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ConsenSys/truffle/issues/286#event-808827899, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFp1QSYjddKIlV6Yay2cnb-DSR_LrCtks5qvVBsgaJpZM4KKZ0E
.

It's OK, I've been in the open source community for years, I know how it works. Just glad to have found that the problem was on my end, I've given up on many projects due to complete lack of support.
Not that commercial software is any better. :)


Setup script for DB

I’m currently trying to setup the pv-api. Having installed postgres I’m struggling to create all the needed tables from the CSVs - is there some DDL/SQLs available?

Hi, George! There is a database DDL but i have not publicly released it yet.

the pvdb database is currently not available. could you describe what you are trying to do and I could maybe point you in the right direction?

I'm following your Readme instructions to start the pv-api. However when I run pvapi serve there's a lot of errors being thrown (due to missing roles like pvuser and pvadmin and missing relations like trading_days) which I suppose the API relies on.
I'm very interested in portfolio management and being able to backtest strategies so your tool looks very interesting but maybe it's not even meant for public use?

Public use is fine but i haven’t put much time into documenting how to get it all up and running. There are quite a few moving pieces to make pv api useful. You will need:

pv-api
pvdb
frontend
data in the assets, trading-days, market-holidays, and eod tables
an oauth2 provider

i went ahead and made the database schema public here:
https://github.com/penny-vault/database

Wow, thanks so much! I'll look into it and will try to bring it up and running.


Add setting for initializing in a disabled state

Fixes #10.
I was doing this in a local fork anyway to test an app, so I figured I might as well open a PR.
This does what is described in https://github.com/mbrea-c/bevy_firework/issues/10#issuecomment-2023331426.
Side note: It's not totally clear to me why ParticleSpawnerData is not just included in ParticleSpawnerBundle. I experimented with removing it here: https://github.com/rparrett/bevy_firework/commit/d33aa0a5c0e7de70f6917bba224db88e53f78fb7 and at a glance, things don't seem broken.

LGTM, and examples run fine. Merging, thanks for the contribution!

Side note: It's not totally clear to me why ParticleSpawnerData is not just included in ParticleSpawnerBundle. I experimented with removing it here: https://github.com/rparrett/bevy_firework/commit/d33aa0a5c0e7de70f6917bba224db88e53f78fb7 and at a glance, things don't seem broken.

If I remember correctly it used to be because I used scenes to build composite effects in an earlier build of my game, and before I made bevy_utilitarian I was using some types in ParticleSpawnerData that made it non-reflectable. Neither of these things apply anymore though, so it should be fine to put ParticleSpawnerData back in the bundle.


UG: update with add/delete events

Update UG with

Add-event
Delete-event
Intro, Getting Started, Hall-y interface

Codecov Report

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

@@            Coverage Diff            @@
##             master     #142   +/-   ##
=========================================
  Coverage     68.29%   68.29%
  Complexity      548      548
=========================================
  Files            97       97
  Lines          1905     1905
  Branches        214      214
=========================================
  Hits           1301     1301
  Misses          510      510
  Partials         94       94

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 363e902...ac83493. Read the comment docs.


[Authoring] Apply code styling to single backtick values in markdown

Target Application
Cisco WebEX
Problem Description
Using markdown with backticks does not change the style of text inside of the backticks. The ask is not for language-specific syntax highlighting but act more like GitHub where single backtick entries show up as code and triple backticks indicate code blocks.
Expected Outcome
Markdown text inside of single of block backticks show up as code style and triple backticks show up as
code blocks

Actual Outcome
The text shows up with the backticks surrounding it

Per current spec backtics are not supported. We will revisit whether we want to add this support as part of our larger discussion surrounding markdown. Text Features


Use Netcentric/stylelint-config

Should this project include https://github.com/Netcentric/stylelint-config as dependency?

Maybe make it configurable (as an option, rather enforcing as default). I would prefer not to couple.

IMHO, we should not enforce a linter configuration neither add an option. A project can easily create a .stylelintrc file and define there its configurations.

Agreed, closing


Adding the support for the logger name extract

Adding the support for the logger name extraction

Merged manually.


[FEATURE] Daily stats for new users

Description
It would be great to keep stats per day for the app
https://github.com/EddieHubCommunity/LinkFree/blob/main/models/Stats.js
Screenshots
No response
Additional information
No response

Hey @eddiejaoude does this mean we are only showing the count for one particular day instead of the total count from the beginning?
Or is it showing the counts per day separately?

We don't store the data yet, so in this issue...

store the daily count
display the daily count on the home page (next to the total)

Ok got it. I would like to do this. Can you assign this to me?

Sure, assigned 👍

Hey, @eddiejaoude is this feature #2118 already added?
So we already have this daily count here right? (marked in red)
So where should I display the daily count now?
I'm totally confused and need help.

The first box has total users only, this issue is to add a daily counter to the database for users in the system. So like the 2nd and 3rd box you circled, today's increase can be added to the first box in green with the up arrow

Thank you @eddiejaoude got it. Will do.


[Type]-[2500]:Mouse hover issues

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

The hover on the widget icons switches to pointer from drag.

https://user-images.githubusercontent.com/103687/160553979-662afdba-bef4-4907-aa83-312c3ed7944f.mov

The text on the user profile page is clickable however, the pointer doesn't signify the same

https://user-images.githubusercontent.com/103687/160554142-0dbed90f-ba08-41ae-9588-6aebe6b7d711.mov

Two upload modals have different UI.

The entity explorer has a strange experience when clicking on the + Add Widget. The screen recording is attached.
https://user-images.githubusercontent.com/103687/160562983-b80b5b02-96a6-4cff-b1de-8f7659ff44ca.mov

Stats

Stat
Values

Reach
5000

Effort (months)
1

Closing coz this is fixed in https://github.com/appsmithorg/appsmith/pull/22030


Created a shared DataValidationErrors framework

Moved Validation Error tracking to attached an attached property
Created an shared error indicator that can be simply added to control
templates and re-styled across all controls
This should reduce the need for code and markup duplication while
allowing for a consistent visual interface

I think the making it a direct property is valuable for consistency and simplicity, but it does hide functionality. Making the property settable has value in some use-cases and being able to bind the value of the property has simplified the control template of the DatePicker control I'm building (the TextBox can just display any data errors). I feel its important to include this in the first Beta, as it is a breaking change to the TextBox.
Though, I had a few questions regarding my implementation:

Should the control be split out into a separate class from the attached properties?
Should there be another property for a DataTemplate for the ToolTip?
Is there a way to directly set the border and background of a ToolTip not through a style?
The complex binding logic in the ControlTemplate is un-ideal, is it worth making the ContentControl a named part and wiring up the Binding in the OnTemplateApplied method?

Thanks for the PR @sdoroff. I've not reviewed this properly yet, but I do have a question: what other controls do you see this applying to? You mention your DatePicker control, are there any other core controls that this would be applied to?

@grokys , my responses are below.

What other controls do you see this applying to? You mention your DatePicker control, are there any other core controls that this would be applied to?

Currently I'm planning on using it for DatePicker and AutoCompleteTextBox. I think it will have a place in editable cells within a DataGrid and would probably like to add it to the DropDown for when a required selection isn't made.

Is there anything similar to this in any other frameworks?

The attached properties are similar to the Validation class in WPF. For the actual user interface, WPF has an attached ErrorTemplate property that stores a ControlTemplate that is added to the adorner layer. This isn't possible in Avalonia as the adorner layer is not hit test visible which is required for tool tips.

@sdoroff I've taken a look at this and I like it! My only concern is that it adds an extra ContentControl and ContentPresenter to the depth of the visual tree for every TextBox, but I'm hoping that shouldn't be a problem.
Regarding your questions:

Should the control be split out into a separate class from the attached properties?

No, I think it makes sense to have the properties defined there.

Should there be another property for a DataTemplate for the ToolTip?

Not sure, at this point I'm thinking probably not. We can revisit that decision later if the need comes up.

Is there a way to directly set the border and background of a ToolTip not through a style?

Not currently, it may be that there should be, though I don't think WPF allows this without re-templating ToolTip?

The complex binding logic in the ControlTemplate is un-ideal, is it worth making the ContentControl a named part and wiring up the Binding in the OnTemplateApplied method?

 One thing I'm not sure about is how it does this by hooking into the TemplatedParent property - it might be nice if you could wrap a control in a DataValidationErrors control outside a template. To do this you could listen to the Content property to get the child control?
I'm going to approve this. Let me know if you want to merge it now, or take a look into listening to the Content property. That can be done separately if you want to though I think.

Ok, I've merged this - we can think about improvements in another PR. Thanks @sdoroff!


Update policy-control-diagnostic-data-mobile.md

Fix typo.

@MicrosoftHeidi - Could you please merge this PR? Many thanks.
@scanum - For your info.

@MicrosoftHeidi PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Include additional heading for all works with given subheading, regardless of order

For https://github.com/pulibrary/bibdata/issues/1863 we created an implementation that simply left-matched the subject heading. This means that if subject headings fully follow the LoC rules for subject headings, they should be included.
This code also has the advantage of being significantly simpler and requires less human intervention in order to implement and update (previously there was a piece of code that required a developer to decide if a subject heading on its own was relevant)
With this code, however, if there is a subfield x that is on the "always include" list will not be included if it's not in the full explicit list (full list for now - https://docs.google.com/spreadsheets/d/1jFsLExGilXWmXEikliuYUtdipF5HnRbNMZn-rgJYflY/edit#gid=1600276075). (e.g., there are 28 instances of ǂx Indian authors in the full list, but if somehow there was a ǂa Latvian literature ǂx Indian authors added, it would not get the "Indigenous studies" subject heading.)
We could write code that adds the "Indigenous studies" subject heading for any subject heading with a given subfield x. We can look at the previous implementation for one way to implement this (see https://github.com/pulibrary/bibdata/commit/659427979f0fb4534d938cb13047643ff4a1fe0d); however, we would need to be sure not to over-match with similar code (e.g., don't match on all ǂa Alaska subject headings).

@maxkadel will review the ticket


Image and video inference returns static

When running the sample command:
python scripts/inference.py configs/opensora-v1-1/inference/sample.py \
    --prompt "A beautiful sunset over the city" --num-frames 32 --image-size 480 854

it outputs a video file that looks like static.
https://github.com/hpcaitech/Open-Sora/assets/2098918/c0f11219-3ba8-499a-8bb4-a9df59a85421
I see similar results when generating images or using different a ckpt-path. They all look like this.

Try pull the latest code. We have added automatic checkpoint loading. In your case, you do not load a pretrained model.


Accept Join type as parameter default value as it returns a string

I'm getting a validation error with valid parameter:
Parameter default type mismatch: expecting type String got <class 'troposphere.Join'> with value <troposphere.Join object at 0x7f786b807d10>
due to using a Join as the default.
Changed validation check to allow Join type.

Instead of adding Join should this add AWSHelperFn? In other words, could other functions be used there as well (Select, Split, etc.)?

I would guess functions that return a string would be ok (select, sub, ...) but not those that a return a list like split.

Thanks!

Apologies but turns out this is actually a bogus change as AWS also only accepts the Default value as a plain string.  Please revert these changes.


Doc tests

Motivation
a more understandable code

bors try

bors r+

bors r-

Merged as part of Consolidated linting (#1958)

bors r+

bors r-


The drop-down menu for selecting a service should have an option to input text

This currently exist only for REST API meetings and it has prooved to be useful. We need to do the same for the other meeting types:

[x] Informational
[x] SDK Review

Changed in SDK reviews as well


Added Cuz token support 🐶🚀⭐

Hi, we're Cool Cousin, a VC backed travel company with over 700,000 users and a live product.
Our token is the way to enjoy personalized experience and guidance while traveling.
Adding token support :)

ur contract address is not CheckSumed.

@githubcyc Fixed


How Can I color with font

Hello ,
I use  ANSIColorLogFormatter, but it not work
let ansiColorLogFormatter = ANSIColorLogFormatter()
ansiColorLogFormatter.resetFormatting()
log.formatters = [ansiColorLogFormatter]
so  I find   ColoredConsole can color logger , but  I do not  have idea work with XXGLogger . can you help me
I  use it as this
logger.debug("debug".debugColor())
logger.info("info".infoColor())
I do not know  how to cofigure it

Xcode no longer supports ANSI colour in the console so ANSIColorLogFormatter isn't useful there anymore. It can be used if you're outputting your logs to a file and then watching that file in a terminal that does support ANSI colours.
The ColoredConsole project uses a custom font to display colour. I don't see why you couldn't create a custom LogFormatter that then uses ColoredConsole to colourize the text.


How to have a Modal dialogue covering only a part of the window

Hi.
I'm sure this is blatantly obvious on how to do, but I'm stuck.
How can I have a modal dialog cover only a part of the screen, leaving everything else interactable?
In my case, I am trying to replicate the same effect that the Groove app use for their player control, that leaves a persistent modal window on top of everything stuck to the bottom of the window.

You need to put your content that needs to be blocked inside ModalDilaog.Content control tag and put ModalDialog control itself wherever that content is meant to be placed. The rest of the content, which is outside that control, will be available for interaction.

So, creating a ModalControl, like the Busy control included in the Hamburger template for instance will not be possible to have a limited height for instance? I need to call it from within a page?
Basically, I've replicated the busy page, but with a RelativePanel with a height of 68 and bottom alignment. I tried wrapping the content within the UserControl in a ModalDialog where the RelativePanel was placed within ModalDialog.Content, and calling it like this in App.xaml.cs:
public override async Task OnStartAsync(StartKind startKind, IActivatedEventArgs args)
        {
            // long-running startup tasks go here
            // await Task.Delay(5000);

            NavigationService.Navigate(typeof(MainPage));
            MyBottomModal.SetVisible(true);
            await Task.CompletedTask;
        }

. Am I just being daft?

I'm struggling a little with your concept here. Firstly - modals are "supposed" to be block interaction with the main Window - that's what modality is - Modal Definition
Re-reading what you are asking for - I think all you want is a CommandBar with a transparent background docked to the bottom of your view...

<Page x:Class="NavigationCacheDemo.Page1"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:controls="using:NavigationCacheDemo.Controls"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:local="using:NavigationCacheDemo"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:viewModels="using:NavigationCacheDemo.ViewModels"
      NavigationCacheMode="Required"
      RequestedTheme="Dark"
      mc:Ignorable="d">
    <Page.DataContext>
        <viewModels:PostersViewModel x:Name="ViewModel" />
    </Page.DataContext>

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="60" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Image x:Name="BackgroundImage"
               Grid.RowSpan="2"
               Source="../Assets/blue-star-background-wallpaper-3.jpg"
               Stretch="UniformToFill" />

        <controls:NavigationControl HorizontalAlignment="Left"
                                    VerticalAlignment="Top"
                                    NavClick="NavigationControl_OnNavClick" />

        <TextBlock Grid.Row="0"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Bottom"
                   Style="{StaticResource TitleTextBlockStyle}"
                   Text="{x:Bind ViewModel.Title}" />

        <GridView x:Name="Posters"
                  Grid.Row="1"
                  Margin="200,48, 200, 0"
                  ItemsSource="{x:Bind ViewModel.Posters, Mode=OneWay}">
            <GridView.Resources>
                <Style x:Key="PosterStyle" TargetType="Image">
                    <Setter Property="Stretch" Value="UniformToFill" />
                    <Setter Property="Width" Value="300" />
                    <Setter Property="Margin" Value="12" />
                </Style>
            </GridView.Resources>
            <GridView.ItemTemplate>
                <DataTemplate x:DataType="viewModels:Poster">
                    <Rectangle Width="300"
                               Height="400"
                               Margin="12"
                               Fill="LightGray" />
                </DataTemplate>
            </GridView.ItemTemplate>

        </GridView>

        <!-- Here's your overlay -->
        <CommandBar Background="#330000FF"
                    Grid.Row="1"
                    VerticalAlignment="Bottom">
            <AppBarButton Icon="Previous"/>
            <AppBarButton Icon="Play"/>
            <AppBarButton Icon="Next"/>
        </CommandBar>

    </Grid>
</Page>

Look at the Search sample and specifically at the LoginPart/SearchPart, they use events from Viewmodel at parts themselves to show open or close modal which are attached to the part with in call content of the Modal, structure to your needs.


Update README.md

Checkmarx AST – Scan Summary & Details – 22ca9aef-2b0a-42f1-8cc1-6dd442b59665
No New Or Fixed Issues Found


Static home page: Cannot read property 'name' of null

I'm using Ghost 3.0.2 with the default Casper theme, and a static home page setup according to the static home page instructions. I get the following error when accessing my static home page:
[2019-11-03 19:01:17] INFO "GET /" 304 53ms
[2019-11-03 19:01:17] INFO "GET /favicon.png" 200 3ms
[2019-11-03 19:01:19] ERROR Cannot read property 'name' of null

Cannot read property 'name' of null

----------------------------------------

TypeError: Cannot read property 'name' of null
    at getPostSchema (/var/lib/ghost/versions/3.0.2/core/frontend/meta/schema.js:84:65)
    at getSchema (/var/lib/ghost/versions/3.0.2/core/frontend/meta/schema.js:179:20)
    at /var/lib/ghost/versions/3.0.2/core/frontend/meta/index.js:101:27
    at tryCatcher (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/var/lib/ghost/versions/3.0.2/node_modules/bluebird/js/release/async.js:15:14)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
    at process.topLevelDomainCallback (domain.js:126:23)

My routes.yaml:
routes:
  /:
    data:
      post: page.welcome
    template: page

collections:
  /:
    permalink: /{slug}/
    template: index

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

If I edit schema.js to work-around the null object for name, the same way it does for metaDescription, like so:
author: {
            '@type': 'Person',
            name: data[context].primary_author ?
		escapeExpression(data[context].primary_author.name) : null,
            image: schemaImageObject(metaData.authorImage),
            url: metaData.authorUrl,
            sameAs: trimSameAs(data, context),
            description: data[context].primary_author.metaDescription ?
                escapeExpression(data[context].primary_author.metaDescription) :
                null
        },

Then it fails on other calls where it assumes data[context].primary_author is not null. Such as data[context].primary_author.website.
How do I set data[context].primary_author?. In the admin area, I have Full Name set in my "profile".
It would be good to have data[context].primary_author default to an empty object with all of these properties, in the event that it is null, like my case.

Hi @netmojo! I think I might have fixed this issue with this commit - https://github.com/TryGhost/Ghost/commit/157820419a947bf99ce1c6d84ed758d3fc718a6b. Let me know if the problem is still reproducible for you on the latest master?

Closing it for now. Fee free to ping and reopen it if the bug it still happening ;)


Updating docker-compose file

:tada: This PR is included in version 2.2.2 :tada:
Your semantic-release bot :package::rocket:


[Improve][DataProxy] The in charges person and other info are not reported

Description
The in charges person and other info are not reported when the node is automatically registered.
InLong Component
InLong DataProxy
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Ok, let me fix it!


Remove redeclaration of $application and fix indentation

$application is already defined/initialized on the first line of this function. No need to do it twice

Thanks!


Draw baseline at 1.0 and label it "CRuby "

This removes the bar (and it's legend label) for "No JIT"
and replaces it with a line at 1.0 and an axis label for "CRuby\nversion".
What do you think?  Do we miss the 1.0 label?  Should we present CRuby <version> differently?

This no longer displays the stddev "whiskers" for CRuby, but I have a WIP for that which we can evaluate in another PR.

I like this change.
By the way, are we thinking of adding CRuby 3.3.1 to the graph? There was a problem in the previous release that we slowed down the interpreter of Ruby master and it made YJIT look good while we didn't speed up anything. I think we wanted to have a graph that indicates interpreter regressions somewhere.

CRuby 3.3 https://github.com/Shopify/yjit-metrics/pull/258

Updated to use CRuby 3.3.1 as the baseline and have bars for YJIT 3.3.1, CRuby 3.4.0dev, and YJIT 3.4.0dev

Well done Randy. It's nice to have a bar for the 3.4 interpreter compared to 3.3 so we can visually see regressions if they happen.
Small aesthetic comment: I would put back the 1.0 on the Y-axis where CRuby 3.3.1 is now written, but make the horizontal line at 1.0 blue, and add another rectangle in the legend at the top left, in blue, for CRuby 3.3.1.


Improve synchronization of items and their kits -- active status

Summary
When you change the active status of a kit,  that should be reflected in its corresponding item, and vice versa
Why
Reduce bank confusion (and support questions)
Details
When you create a kit, a corresponding item is also created.  The item and the kit can be deactivated/reactivated independently.
The active status of the kit and the item should always be the same.

If you deactivate an item, then deactivate the kit also.
If you deactivate a kit, then deactivate the item also
Similarly for reactivation.

Criteria for completion

[ ] Kits and Items active status are kept the same
[ ] Tests confirming this behaviour

Hey, I'd like to work on this issue if possible :)

It's yours!

Hey @dorner @cielf , I checked the code. As the kit status and item status must always be the same, I would propose keeping just one database field, the item status. The kit status can then be delegated to item status. Because why have two database fields when they contain the same information.
There's a snag though: in the current code, kits must have at least one line item (there is a validation for it), but they must not have an item (there is no validation), even though items and line items are linked. So you can theoretically create a kit, with a line item pointing to an item on a different kit. Is that intended?
If it's a feature, then the only way I see to resolve the issue is to use multiple callbacks on create and update, on both kits and items, to ensure sync.

That sounds like it's an oversight rather than a feature. @cielf can you confirm?

Remembering that kits contain items, but there is an item that contains the kit -- and it's hard to talk about both
From the business point of view,  you should be able to have the same item appear in different kits.   For example,  you might have a kit that has a 50 newborn diapers and some wipes,  and have another kit that has 40 size 6 diapers, wipes, and a book.  In both cases, that kit would have the item "wipes".
Does that clear things up?

@cielf Hmm, ok sorry for the unclear question. Let me try again :)
When i talk about item and kit i talk about the "item" and "kit" models in rails. The fields you want synchronized are item.active and kit.active. Best solution seems to me to just keep one field in the database, to avoid a complex sync. The kit and item model have a one-on-one relationship. So we could keep item.active. To get kit.active, you would just look at the corresponding item.active field.
This would work, except that you can create a kit without an item. Question is, is it normal to be able to create a kit without an item? And Iḿ asking because a kit must have at least one line item (there is a validation for it in the kit model, line 51), so it seems logical to have also an item.
Hoping this makes it clearer. Or am I just overthinking this and we could add callbacks to synchronise the two fields?

Ah.  Are you saying that a kit can be created without an item through the user interface?  Or just that the model allows it.  If the latter (but not the former) I would term it an oversight.    If you're saying we can create kits without items through the  app,  I'll need to take a deeper look to answer your question.
Your logic does not  take into account that there are two different ways that kits relate to items.   One is that there is an item that represents  the kit,  the other are the items that the kit "contains".   I'm 99% sure that the line items relate to the latter, and the item, the former.   Does that track?

@cielf Yes i was talking about the rails models, it is not possible in the interface, it returns an error. I'll try to fix that.
Thanks for the info, I understand the confusion, yeah I was only talking about the item representing the kit.

All things Kit are currently Blocked -- we are considering a redesign of the whole Kit-and-Kaboodle, and hence are putting things on hold.

This was resolved by #3982


feat: add in a pluginArtifact helper

I've noticed myself (and copied from others) doing the same thing over
and over using the scalaNativeBinaryVersion help and then putting
together the artifact string ourselves, but this is easy to screw up if
you're not familiar with expected format. This just creates a helper
method that you can pass in the artifact name and Mill version and it
will put together the correct artifact name for you.
Note, I wasn't 100% sure where to put this. I sort of wanted to put it in
module.Util instead, but there are other similar things where I put it. Do
you think I should move this somewhere else?

I liked the cleanup and the consolidation to FullVersion though.


Bar chart incorrect history load

Current Behavior
When the page is refreshed and a bar chart loaded from history, it ignores the order of the bars.
On the start, I clear the chart and fill series with labels and values with zeros. When the appropriate series arrives, it correctly shows the value for the correct bar. However, when the page is refreshed, the bars are weirdly reordered.
https://github.com/FlowFuse/node-red-dashboard/assets/47942899/fd01470a-c0fa-41e5-b2cf-20bf00e828d2
Expected Behavior
The order of bars should persist across refreshes.
Steps To Reproduce
Flow to reproduce
Test flow.json
Environment

Dashboard version: 1.7.1
Node-RED version: 3.1.8
Node.js version: 18.19.0
npm version: 10.2.3
Platform/OS: Linux RPi
Browser: Firefox and Chrome

Have you provided an initial effort estimate for this issue?
I am not a FlowFuse team member

I'm suffering on the same issue.

If You want, I have a "hacky" solution. But! note that this way, it refreshes the whole chart every time it gets a new value, so if You are using phone data and have a big chart with a fast refresh rate, it will chew your data out in no time.
In the chart set series to key: bar and y to key: value. You can change those names obviously.
And before the chart, create a function with this code:
var data = context.get("data") || [];

//init data if does not exist yet
if (data.length === 0)
    for (var i = 0; i < 60; i++) {
        const bar = ("0" + i).slice(-2) + ".";
        data.push({ bar, value: 0 });
    }

//update value
var index = data.findIndex(d => d.bar == msg.bar);
if (index != -1) data[index].value = msg.payload;

context.set("data", data);
msg.payload = data;
return msg;

It is pretty self-explanatory, but in any case, the code stores all the chart data in context, and when a message arrives with a bar value, it finds its column, updates the value, saves it in context, and sends it to the chart.
Btw. when setting the series to JSON, something similar happens - it always expects all the data and redraws the whole chart.
It would be really cool if it would just init the chart on the first time and then updates the columns depending on the payload.
Now, if any value is missing in the payload, but is specified in the series, it treats it as 0.

@Martin12350 Yes: this is a kind of workaround
But it happens also with line diagrams!
If you press several times F5 to reload the page, sporadically the sequence of the lines in the legend is changed and so the colors of the lines are exchanged.

I have also a cool proposition, but that should be probably in another thread.
When passing a new value to the chart, it could check for msg.options, where could be specified options for that specific value, such as color of the bar, color of the line, line width for the segment etc.
It is similar idea, that somebody already mentioned as advanced config (#58), but the difference is, it would be specific to the value, not the whole chart. That way we could have multicolored charts based on value, instead of the group.


Review Google Tag Manager set up

What
Review the old Google Tag Manager (GTM) container and either update old tags or create new ones. This will also require setting up some documentation to have a centralised list of what we have.
Why
To ensure the GTM container is ready when the devs are happy to launch the GTM code and cookie banner on the GOV.UK Design System website.
Who needs to know about this
Sara
Done when

[ ] Remove access for any users who no longer need access
[ ] Downgrade access for PAs outside the team so they don't have publish rights
[ ] Add Laurence as a user with approve/publish access as a developer on the team
[ ] Tags have been reviewed and updated
[ ] Have flagged with front end developers that it's ready for them when they are ready to launch
[ ] Documentation has been created to accompany the GTM set up

Please can I get a dev to review the code in some of the variables?


Add Metabolomics BioC view

Known build failure for old release (BioC-3.2).
Also adds rudimentary information to README.md
how to build the images.

As it says in the install.R files, you should not edit them. Instead edit install.R.in, from which the install.R files are generated.

On Do, 2016-07-28 at 15:34 +0000, Obenchain, Valerie wrote:

As you're probably aware, many of the containers were failing to build
due (in part) to outdated versions. Dan updated config.yml yesterday and
we are monitoring the builds of the other containers.
Can you please merge your branch with master and update your pull
request (i.e., no changes needed to config.yml )?

I am not entirely sure if I understood @vobencha correctly w.r.t. "no changes needed to config.yml"
but this pull request now includes the merge of upstream,
and I re-built everything here and both release/devel and core/base/metabolomics
build fine. I haven't checked the others. Yours, Steffen

What I meant re: config.yml was that the file didn't need any changes after the ones Dan made. I don't think this change is necessary
use_numbered_branch: "false"
because use_numbered_branch is only used if use_r_devel is true. The change isn't a problem just not essential.
Thanks for the pull request.

Will the devel_metabolomics appear magically on https://hub.docker.com/r/bioconductor/ ?
Or is there anything you'd have to adapt ? Could the maintainer field https://github.com/Bioconductor/bioc_docker/blob/master/src/metabolomics/Dockerfile.in#L9 be an issue ?

I thought it would have just appeared; I don't think the maintainer field is the problem. I sent an email to Dan but he's out this week with sporadic email access.
I'm still figuring this out but here's what I think. Images are pushed to dockerhub by both a) an automatic build triggered by a code change in the bioc_docker github repo and b) daily builds pushed from a machine inside Fred Hutch (called taipan). I believe the taipan builds were set up so we'd have the more frequent daily builds vs just builds triggered by a code change in the github repo. I'd like to eventually simplify this - be done with taipan and have more frequent builds occur between the github repo and dockerhub.
The date of last build under 'tags' in dockerhub is >= 3days ago so images are not being pushed from taipan on a daily basis. I'm looking into this and why metabolomics didn't automatically post. I'll let you know when I have more info.

@sneumann have you tried building the image on your own computer with
rake release_metabolomics

?

Hi @dtenenba , without auth.yml this fails.
Could you send me an auth.yml (with actual credentials removed, of course) so I can try ? I will then also `git add auth.yml.template' so developers know where to put their credentials,
and document it.

Try this:
---
username: dtenenba
password: not_my_real_password
email<EMAIL_ADDRESS>
This will not allow you to push but it should still allow you to try to run rake.
When I tried the rake command above it did not work, so it seems like maybe there is more work to be done.

Hi, you have a new pull request https://github.com/Bioconductor/bioc_docker/pull/6
which fixes the apt-get for libgsl. It is pulled in automatically by libsgl-dev.

Hi, thanks for pulling #6 . I can confirm the [devel|release]_metabolomics images work,
see https://hub.docker.com/r/sneumann/ .


[Oparin] IBM PowerVC Enhancements

[x] Metrics collection (able to inherit functionality from openstack)
[x] Image Import PVS->PVC https://github.com/ManageIQ/manageiq-providers-ibm_power_vc/pull/38

[x] VM console access https://github.com/ManageIQ/manageiq-providers-ibm_power_vc/pull/69
[ ] Template provisioning from instance
[x] Instance snapshots (able to inherit functionality from openstack)
[ ] Events

Najdorf: https://github.com/ManageIQ/manageiq-providers-ibm_power_vc/issues/27

@agrare Moving forward, we are going to stop using umbrella issues, and there should be separate issues for each major enhancement that should be put on the roadmap directly.  As such I'm closing this one.

@Fryguy @agrare I created a new issue to track PowerVC events targeted for Petrosian: #75
Is there anything I need to add besides the Label: enhancement and Milestone: Petrosian? I don't think I have auth to add an issue to the Roadmap project.


⚠ Bofrost.be has degraded performance

In 4e4d9f6, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1374 ms

Resolved: Bofrost.be performance has improved in 80b96e1.


ssh_import_id details missing

Putting the public keys in the cloud-init scripts is not exactly a good practice.  Where is the explanation of where keys are coming from when using ssh_import_id?

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

ID: af1d0674-8c91-cb39-5fde-218136e1323d
Version Independent ID: 0a185186-4f92-869c-4f7c-5d5e01aa2740
Content: Use cloud-init to add a user to a Linux VM on Azure - Azure Linux Virtual Machines
Content Source: articles/virtual-machines/linux/cloudinit-add-user.md
Service: virtual-machines-linux
GitHub Login: @RicksterCDN
Microsoft Alias: rclaus

@trailstrider Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@RicksterCDN  Can you please check and add your comments on this doc enhancement request as applicable.

@RicksterCDN Did you get a chance to look into this request?

We are currently cleaning up old issues and closing out items that are greater than 90 days old. If an issue is still present, please open a new feedback item on the document so we can prioritize correctly.
#please-close


Treat delegates as substitutes with NSubstitute

NSubstitute supports substituting delegates. However, delegates are not resolved as substitutes when using a fixture with the NSubstitute customization. Therefore, I can't run any NSubstitute assertions on them.
[Test]
public void ActionIsSubstitute()
{
    var fixture = new Fixture().Customize(new AutoNSubstituteCustomization());

    var action = fixture.Create<Action>();

    Assert.That(action.DidNotReceive, Throws.Nothing);
}

Fails with:

Expected: No Exception to be thrown
But was:  <NSubstitute.Exceptions.NotASubstituteException: NSubstitute extension methods like .Received() can only be called on objects created using Substitute.For() and related methods.

Similar to #984.

I just realized the property GenerateDelegates already exists on AutoNSubstituteCustomization. Setting that to true resolved my issue. My apologies. I'm new to AutoFixture and couldn't find any documentation on this. Should have checked after I saw how it was resolved for the other issue.

Yep, you're completely right in your finding :blush:
One day we'll create a nice doc site and you'll be able to find this information there :sweat_smile:

| One day we'll create a nice doc site and you'll be able to find this information there 😅
Me at the standup meeting at work!


throw error if setGCMAPIKey is called with invalid key

Fixes #21.

I believe that #21 is referring to the encryption parameters in the subscription object, not the API key. Maybe not. @owencm, does this solve your issue? If not then we just need to reopen the issue
It looks like we already verify the subscription parameters, though. I would expect these lines to throw if the data isn't base64 encoded.


Ctrl_R to Show History in ZSH

The widget I worked till now is:
skim-history() {
  origquery=${BUFFER}
  output=$(history -1 1 | sd '^[ ]*[0-9]*[ ]*' '' | sk --tac --no-sort --exact)

  if [ $? -eq 0 ]; then
    BUFFER=$output
  else
    BUFFER=$origquery
  fi

  CURSOR=$#BUFFER
}

zle     -N   skim-history
bindkey '^R' skim-history

It is working fine except mult-line command.
Instead of showing multi-line commands like:

It shows it like:

I mean it replaces newline with \n
How can I solve this problem?

I don't think this is possible, we need to fit each item in one line. I am closing this issue, if you really want to output the item in multiple lines you should be able to achieve this with --preview.

Note : I tweaked a preview arg for zsh using bat, you could use:
export SKIM_CTRL_R_OPTS='--preview="echo {4..} | bat --plain --language zsh --color=always"'