bug: using CSS Variable in tailwind.config.js not working

What version of daisyUI are you using?
^4.12.13
Which browsers are you seeing the problem on?
Chrome
Reproduction URL
https://stackblitz.com/edit/vitejs-vite-qtfuu9?file=src%2Fcomponents%2FHelloWorld.vue
Describe your issue
I tried to set css variable in tailwind.config.js,
but it doesn't work.
In this file,CSS style classname bg-primary background-color does not working

When I use a CSS variable, it doesn't work

What should I do to make it work? I want to use my own CSS variables in it

I look forward to hearing from you,Thanks

They are already CSS variables. See this table:
https://daisyui.com/docs/colors/
Here's how you can use the CSS variables in runtime<EMAIL_ADDRESS>Color values are OKLCH
Let me know if you have any questions


OpenGL GetProcAddress function

Hi, Kivy developers! I decided to try using the MPV video player as a backend for video rendering. There are python-mpv ctypes bindings for the MPV core library https://github.com/jaseg/python-mpv, that supports video rendering directly into OpenGL teture. There is an example in its documentation that shows how to use it with OpenGl.
https://github.com/dfaker/imgui_glfw_pythonmpv_demo/blob/main/main.py
But in this example MPV requires GetProcAndress OpenGL function that I can't find in Kivy graphics instructions.
def get_process_address(_, name):
    print(name)
    address = glfw.get_proc_address(name.decode('utf8'))
    return ctypes.cast(address, ctypes.c_void_p).value

As I understand Kivy based on OpenGL, so I would like to know if it possible to implement this function to support MPV integration, because as I understand it, now video rendering in Kivy implemented not the best way. I tried to figure out how it works, and as I understand it, decoded by ffmpeg frames copied from video memory to RAM and then rendered by Kivy, that gives a high CPU load. So it seems like the MPV can solve it.
Thanks in advance for your reply!

I interpret this as a new feature request: "Expose OpenGL's get_proc_address() through kivy.graphics.opengl and/or `kivy.graphics.gl_instructions'"
(No comment on whether this is a good idea; I am out of my depth on that.)

Hi, is there any news on this issue?

Hi @bl1nch:
I think we might need to reset expectations here.
This is an Open Source project based on volunteers.
This request has been promptly added to the long list of new feature suggestions, where it will sit - hopefully garnering upvotes from people who agree it is useful - until a volunteer decides that they want to work for what I predict will be dozens of hours implementing (perhaps hundreds given the number of platforms to consider), and other volunteers can review it.
At the moment, there doesn't seem to be a strong justification: making it eventually possible to use yet another video player, because you don't like the current implementations, for unclear reasons.
Now, maybe other developers will know more about this and see the value in spending that time, but I see a lot of other higher priority suggests, and would predict that this may take months or more likely years before it is attempted.
If that doesn't meet your needs, you need to provide your own resources to get it implemented - implement the change yourself, or persuade others to do so. (At the moment, there is no bounty system available here, or I would suggest that.)

Hi all. I'd like to leave some information here if anyone ever decides to implement this integration. I've never worked with OpenGL directly and I'm unlikely to be able to solve the problems described, but maybe for someone who decides to do this, this information will save some time, or maybe someone can explain where I went wrong.
Since kivy uses SDL window I thought to use the SDL_GL_GetProcAddress function.
I edited kivy/core/window/_window_sdl2.pyx
def get_proc_address(self, name):
    cdef char *c_name = name
    cdef void* p = SDL_GL_GetProcAddress(c_name)
    return (<int*>p)[0]

Next I modified kivy/core/window/window_sdl2.py
def get_proc_address(self, name):
    return self._win.get_proc_address(name)

When I use this in kivy if I pass the correct OpenGL name to the function it works fine and the function returns the address.
from kivy.core.window import Window

address = Window.get_proc_address(b'glGetString')

But when I use this in MPV I get the error:
from ctypes import cast, c_void_p
from kivy.core.window import Window
from mpv import MPV, MpvRenderContext, MpvGlGetProcAddressFn

def gl_get_proc_address(_, name):
    address = Window.get_proc_address(name)
    return cast(address, c_void_p).value

class Example():
    def __init__(self):
        self._mpv = MPV(log_handler=print, loglevel='debug', ytdl=True)
        self._proc_addr_wrapper = MpvGlGetProcAddressFn(gl_get_proc_address)
        self._ctx = MpvRenderContext(
            self._mpv, 'opengl',
            opengl_init_params={'get_proc_address': self._proc_addr_wrapper}
        )

File "C:\Users\bl1nc\PycharmProjects\test\providers\mpv\__init__.py", line 14, in __init__
self._ctx = MpvRenderContext(
           ^^^^^^^^^^^^^^^^^
File "C:\Users\bl1nc\PycharmProjects\test\venv\Lib\site-packages\mpv.py", line 2058, in __init__
_mpv_render_context_create(buf, mpv.handle, kwargs_to_render_param_array(kwargs))
OSError: exception: access violation writing 0xFFFFFFFF83485340

I tried using pysdl2 to use a ctypes wrapper over SDL2.dll
from ctypes import cast, c_void_p
from sdl2 import SDL_GL_GetProcAddress

def gl_get_proc_address(_, name):
    address = SDL_GL_GetProcAddress(name)
    return cast(address, c_void_p).value

Then MPV successfully creates MpvRenderContext, but when rendering I get:
v vo/libmpv mpv_render_context_render() not being called or stuck.

Also MPV requires FBO id for rendering
def play(self):
    self._mpv.play(self.source)
    self._ctx.render(flip_y=False, opengl_fbo={'w': int(self.width), 'h': int(self.height), 'fbo': self.fbo.gl_id})

So I thought to modify kivy/graphics/fbo.pyx
@property
def gl_id(self):
    return self.buffer_id

But I'm not sure that this will work, since I did not solve the problem with MPV initialization and could not check it.
This is actually a very important issue. I encountered this problem because I have a ready-made application working with video streams, written in Kivy. Using this application on weak devices I get severe video stuttering. Also, ffpyplayer does not handle video stream errors well and the application crashes if errors are encountered in the stream. In my application I also use VLC player, but rendering in it works on the same principle as in ffpyplayer. Also, for example, Flutter currently has the same problem. https://github.com/alexmercerind/dart_vlc/issues/345
I will be very grateful if anyone can help with the problem described. Thank you in advance.

I have nothing useful to contribute about the bug, sorry. But I am excitedly cheering your attempts at tackling this! Good luck!

Possibly during the phase when the gl context passes to mpv kivy gl context is being corrupted kindly try to look what does actually mpv actually do under the hood before returning the context.

The problem solved by calling from kivy.graphics.instructions cimport reset_gl_context after each MPV render call. (Thanks to @bi0noid from the Kivy discord server for the tip!)

If the problem is fixed could it be added to the kivy main library as a result of video provider because mpv handles video streaming pretty well and you can also easily add subtitles to the video you're streaming.

If the problem is fixed could it be added to the kivy main library as a video provider because mpv handles video streaming pretty well and you can also easily add subtitles to the video you're streaming.

The problem is not fixed yet. There are a lot of problems with context, rendering thread and other... You can read more about it here


fix: Dockerfile location in Makefile

Overview

As caught by @mojtaba-esk, the Makefile is using an invalid Dockerfile location.
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #2254 (9ceb97d) into main (b7899da) will not change coverage.
Report is 2 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2254   +/-   ##
=======================================
  Coverage   21.55%   21.55%
=======================================
  Files         128      128
  Lines       14346    14346
=======================================
  Hits         3092     3092
  Misses      10949    10949
  Partials      305      305

see 4 files with indirect coverage changes


Using upper case output for the CRC

Seems like a lowercase CRC suffix for the canister ID leads to problems when trying to follow the url. It should probably be uppercase by default.

closes #29


Logout

Show logout button on navbar if user is signed in and implement logout functionality. Popup an AntD modal before logging out. For logging out just delete the secret from local storage.

Claim

Assigned to @GammaMicrowave


Load local files with webview_flutter

I need to download a html file to the local storage in ios/android apps and load it in webview. Let's say somewhere in the library folder (iOS). I haven't seen a solution for this, is it possible?
It cannot be in assets and cannot list them manually, since they are dynamic and there might be countless of them.

Hi @pvegh,
Check out this and this link and see if they answer your question / requirement.

They don't, both are loading html from asset folder. We want to load unbundled html files that are located in e.g. flutterAppRoot/Library or Documents folders (example for iOS)

I think I can attach a demo project today to showcase what we're trying to do. We found a workaround which looks ugly, and only works on Android, not iOS. Maybe it helps to more quickly find a solution.

So here's the mentioned solution: https://github.com/pvegh/flutter_webview_local
It works on Android, doesn't work on iOS, see error below.
It would be nice if this would work on both platforms. I'm open for ideas of course.
[VERBOSE-2:ui_dart_state.cc(166)] Unhandled Exception: FileSystemException: Cannot open file, path = '/Users/.../Library/Developer/CoreSimulator/Devices/C4520E1E-A283-4C3B-8FB4-8199D585E311/data/Containers/Data/Application/C722AFD0-83A9-4724-80CB-32A0740D43BF/Library/data:texthtml;charset=utf-8,%3Chtml%3E%0A%3Ca%20href=%22bar.html%22%3Ebar%3Ca%3E%0A%3Chtml%3E' (OS Error: No such file or directory, errno = 2)
#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3      _File.readAsStringSync (dart:io/file_impl.dart:584:18)

Use  Uri.directory method seems to do the trick for me.
It also render all linked css & javascript files, while load data as string doesn't.
final uri = Uri.directory("$your_local_file_path");
final uriString = uri.toString().substring(0, uri.toString().length - 1); /// Remove final slash symbol
_webViewController.loadUrl(uriString);

@pvegh Did you end up finding  a solution? May have to resort to native code.

Looks like I posted a workaround above.
I switched to another project, so I don't have current information on this, sorry.

This was fixed by the PRs above, we just forgot to close it.


On Starbuck maximize window there are giant white bars on the left and right - it appears that framework is not triggering UI resize event

On Starbuck maximize window there are giant white bars on the left and right - it appears that framework is not triggering UI resize event
[2092400]

Fixed


Fix centering on content

All notes are centered and it's messing up the formatting

Sorted by using Fomantic-UI for styling and theme


New action: Update Android package

This action allows you to modify your AndroidManifest.xml and build.gradle file with new app name and app identifier before building. This may be useful if you want a separate build for alpha, beta or nightly builds, but don't want a separate target.
Similar to update_info_plist but for android

Hey @ncnlinh! Thanks for the PR! We just pushed out the ability to make plugins instead of actions so you don't need to get it merged into the main repo and can show it off from your own GitHub account!
Take a look here for how to make this action into a plugin! https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md#create-your-own-plugin

alright, thank you!


Error for some random seeds

In a CI run of a jupyterbook using demesdraw, I just got this, whereas it was working fine with exactly the same code previously (which itself is weird, as a seed is provided in the code below - is the numpy being seeded correctly?)
 17 ax = demesdraw.tubes(graph, ax=ax, positions=positions, seed=1)
 18 plt.show(ax.figure)

/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/demesdraw/tubes.py in tubes(graph, ax, colours, log_time, title, inf_ratio, positions, num_lines_per_migration, seed, optimisation_rounds, labels, fill)

559         if isinstance(migration, demes.AsymmetricMigration):
560             for _ in range(num_lines_per_migration):
561                 t = random_migration_time(migration, log_time)
562                 migration_line(migration.source, migration.dest, t, **migration_kwargs)
563         else:

/opt/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/demesdraw/tubes.py in random_migration_time(migration, log_scale)

551             )
552         else:
--> 553             t = rng.uniform(start_time, migration.end_time)
554         return t
555

_generator.pyx in numpy.random._generator.Generator.uniform()
_common.pyx in numpy.random._common.cont()
_common.pyx in numpy.random._common.check_constraint()
ValueError: high - low < 0

For reference, here's the CI error, although I don't know if it's publicly viewable https://github.com/tskit-dev/tutorials/runs/2885811877

Strange. Can you post the yaml file for the graph you're trying to plot?

It's the one taken straight from the demesdraw docs, but with the population names slightly altered:
    demes_yml = """\
        description:
          Asymmetric migration between two extant demes.
        time_units: generations
        defaults:
          epoch:
            start_size: 5000
        demes:
          - name: Anc
            epochs:
              - end_time: 1000
          - name: Pop_A
            ancestors: [Anc]
          - name: Pop_B
            ancestors: [Anc]
            epochs:
              - start_size: 2000
                end_time: 500
              - start_size: 400
                end_size: 10000
        migrations:
          - source: Pop_A
            dest: Pop_B
            rate: 1e-4
        """
    with open("data/whatis_example.yml", "wt") as f:
        f.write(demes_yml)
    graph = demes.loads(demes_yml)
    demography = msprime.Demography.from_demes(graph)
    # Choose seed so num_trees=3, tips are in same order, and all trees have the same root
    seed = 1320
    ts = msprime.sim_ancestry(
        samples={"Pop_A": 2, "Pop_B": 3},
        demography=demography,
        recombination_rate=1e-8,
        sequence_length=1000,
        random_seed=seed)

numpy now wants np.uniform(low, high) instead of also accepting np.uniform(high, low)

Oh, that's going to break a load of stuff...

How long until this makes it to pip, out of interest?

I'm tagging 0.1.3 now...

Thanks a lot. That'll get my CI to compile.

Ok, should be good to pip install now.

Thanks for the report!

No problem, thanks for the super-fast response.


Add the ability to view/download a full list of contributors

For a dev planning on using certain sprites, it would be convenient for them to have an easy download to the contributors list of a specific sprite to meet credit requirements.  SpriteCollab currently has a txt of the full history of contributors, so that can be sent to them.

solved with https://github.com/PMDCollab/PMD-collab-wiki/pull/95, this can probably just be closed after the pr is merged


Implement case insensitive code completion and put 'self' as the first result on methods

From<EMAIL_ADDRESS>on 2013-04-04T10:27:56Z
A few weeks ago I started my first PyQt4 project. Aside from the GUI I need to use numpy and scipy. For plotting I went with matplotlib.
So my first thought was using eclipse with PyDev plugin. But I didn't quite like it, so I went back to use spyder which I found it to be faster and more lightweight than eclipse. But i keep missing two PyDev feature for code completion.

Code completion in PyDev is NOT case sensitive. This very useful in packages like PyQt4 where most object's names, methods and atributtes are camelcased, or start with a capital letter. In spyder code completion is case-sensitive, which becomes annoying when don't exactly remember where the capital letters should be.

When coding a class in PyDev is you type and 's' the very first suggestion is self, which become very handy in saving you a lot of key stokes.

I throw this two suggestion to the spyder community, and hope that someone thinks this is useful. Off course, this is just an enhancement with low priority.
Once again terrific job you guys are doing here.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1340

From ccordoba12 on 2013-04-11T11:05:06Z
I think both are sensible enhancement proposals. IPython also works as PyDev so it'd be good to match Spyder with it too.
I'll try to work on them after 2.2 is released.
Summary: Implement case insensitive code completion and put 'self' as the first result on methods  <span class="oldvalue"> (was: Case sensitivity for code completion and 'self') </span>
Labels: -Type-Defect Type-Enh Cat-CodeCompletion MS-v2.2

From<EMAIL_ADDRESS>on 2013-04-29T15:08:37Z
Labels: MS-v2.2.1

From pierre.raybaut on 2013-05-11T06:00:34Z
Labels: -MS-v2.3 MS-v2.4

From<EMAIL_ADDRESS>on 2013-04-30T05:12:46Z
Labels: -MS-v2.2.1 MS-v2.3

From<EMAIL_ADDRESS>on 2013-04-29T15:10:06Z
Labels: -MS-v2.2

@blink1073, you have been working with completion right? Tou think you could tackle this?

As is stands we are only invoking completion after a . or if the user hits TAB.  This is related to #1914.  I'd say we need to add another option called something like "autocomplete while typing" that is invoked for s at the start of a word and after three characters are typed.

Yes you are right, I misread. Still, can you take a look at it eventually?

Yep, self-assigned.


fileio: create file and extend size to storageobject size

if a 100M storageobject is created, no space is allocated until it is accessed. should either userspace or kernel do this?

fixed in 2.0rc1.fb3


Events aren't appearing in the browser

I'm having problems getting events to come through.  I think I have everything set up (but I am often wrong).

getConnectionCount shows one connection
I'm definitely calling send
The chrome dev inspector shows the connect event as expected
I'm pretty sure my events are set up correctly in the browser since the open event works.
I have all events registered including error so I'm confident there is no error
I have a setInterval in both the browser and server showing good status repeatedly

Server code ...
channel = new SseChannel
  historySize: 10
  retryTimeout: 250
  pingInterval: 5000
  jsonEncode: yes

--- snip ---

  when '/channel'
    res.setHeader 'Transfer-Encoding', 'identity'
    channel.addClient req, res, (err) ->
      if err then log 'channel.addClient err:', err.message

--- snip ---
do sendStatus = ->
  vlc.status (err, status) ->
    if err then log 'sendStatus err: ', err
    else
      log 'channel.send', channel.getConnectionCount(), status
      channel.send
        event: 'status'
        id:     Date.now()
        data:   status
        retry:  5000
    setTimeout sendStatus, 2000

Client code ...
    evtSource = new EventSource "http://#{tvGlobal.serverIp}:2340/channel"
    log 'evtSource', evtSource

    evtSource.onopen = (e) ->
      log 'evtSource.onopen1:', e

    evtSource.onmessage = (e) ->
      log 'evtSource.onmessage:', e

    evtSource.onerror = (e) ->
      log 'evtSource.error:', e

    evtSource.addEventListener 'open', (e) ->
      log 'evtSource.onopen2:', e

    evtSource.addEventListener 'message', (e) ->
      log 'evtSource.onmessage:', e

    evtSource.addEventListener 'error', (e) ->
      log 'evtSource.error:', e

    setInterval ->
      log 'evtSource', evtSource
    , 5000

If you can't think of any easier way to debug I'll try capturing packets.
Ubuntu 14.04
node 0.12.9
sse-channel 2.0.0
chrome 47.0.2526.106

Couple of things:

Bit curious as to why you're explicitly setting transfer-encoding to identity? SSE should use chunked (and sse-channel sends that header automatically, iirc)
You're sending messages with event type status, but you are listening to the message event. Instead, hook up an event listener on status. Eg: evtSource.addEventListener('status', function(e) { /* ... */ });

If you're still having trouble getting it to work, try using curl and checking that messages are actually being broadcasted:
curl http://localhost:2340/channel

hook up an event listener on status

That fixed it.  Thanks very much.  Maybe this should be in the readme.  Maybe a short section on what to do in the browser.  The readme currently assumes the user knows SSE in advance. I stupidly looked for a module to run in the browser until I found out it wasn't needed.  If I get a chance I'll do a PR.

SSE should use chunked

Chrome threw an error saying chunked can't be used.  I also googled it and found that chunked is considered a performance problem.
"Authors are also cautioned that HTTP chunking can have unexpected negative effects on the reliability of this protocol. Where possible, chunking should be disabled for serving event streams unless the rate of messages is high enough for this not to matter."  From https://html.spec.whatwg.org/multipage/comms.html#authoring-notes
Edit: Weird.  I commented out the identity header and had no problem.  Apparently that error was triggered by my problem, which makes no sense.  I didn't imagine the error.
Thanks again for the fast response.

Thanks for the feedback on the transfer-encoding, learn something new every day :-)
I'll see if I can find the time to make a few notes in the readme about browser usage.

Thanks again for the feedback. I've added some client usage notes to the readme: https://github.com/rexxars/sse-channel/commit/6d6f2cac8590b9aedec763d7afdaa97c12ee7379


updated electron and made the notifications more robust

Can you explain your changes a bit. What you did and why


Avoid console's errors

Hello!
I am using AdvancedRealTimeChart in 2 places on my page. But I have 3 console errors per instance. It happens again every time the page is rendered
Do you know how to avoid these errors in the console?

What browser? Also in incognito? I'm pretty sure all of these are just for tracking purposes (gtag/tradingview telemetry) which are blocked by extensions or browsers like Brave. They don't actually break the widgets or am I mistaken?

Closed due to inactivity


feat(tab): Add ripple

Create TabRipple component used in Tab

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d2f58d6). Click here to learn what that means.
The diff coverage is 70%.

@@            Coverage Diff            @@
##             master     #261   +/-   ##
=========================================
  Coverage          ?   97.36%
=========================================
  Files             ?       28
  Lines             ?     1099
  Branches          ?      107
=========================================
  Hits              ?     1070
  Misses            ?       29
  Partials          ?        0

Impacted Files
Coverage Δ

packages/tab/index.js
100% <ø> (ø)

packages/tab/TabRipple.js
70% <70%> (ø)

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 d2f58d6...4164441. Read the comment docs.


Add small test for nova evacuate.

Test successfully run and pass on Jenkins.
https://ci.suse.de/view/Cloud/view/QA/job/cloud-mkphyscloud-qa-scenario-3/48/console
See after: 21:16:47 Start nova evacuate testing

@bmwiedemann you are right, a better approach in needed, but is only 80 lines in qa_crowbarsetup.sh
I think that Rally can replace most if not all the tests we have that needs to interact with the cloud

@bmwiedemann agree, will remove after integrating rally and creating similar test there.


adding a pecl tag command

The extension's release process has changed slightly. Now, binaries are generated via workflow. When a tag is created, a new release is created from workflow, and binaries are added to the release. Since you can't create a tag from github GUI, create a command here which will do it for us, and update our release documentation accordingly.

Codecov Report

Merging #9 (1876e29) into main (1cc5cec) will decrease coverage by 4.76%.
The diff coverage is 1.04%.

:exclamation: Current head 1876e29 differs from pull request most recent head 35832d9. Consider uploading reports for the commit 35832d9 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@             Coverage Diff              @@
##               main       #9      +/-   ##
============================================
- Coverage     71.47%   66.72%   -4.76%
- Complexity      366      387      +21
============================================
  Files            38       39       +1
  Lines          1143     1226      +83
============================================
+ Hits            817      818       +1
- Misses          326      408      +82

Flag
Coverage Δ

7.4
66.69% <1.04%> (-4.76%)
:arrow_down:

8.0
66.69% <1.04%> (-4.76%)
:arrow_down:

8.1
66.69% <1.04%> (-4.76%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

src/Console/Application/Application.php
100.00% <100.00%> (ø)

src/Console/Command/Release/ReleaseCommand.php
0.00% <0.00%> (ø)

...Console/Command/Release/AbstractReleaseCommand.php
0.00% <0.00%> (ø)

src/Console/Command/Release/PeclTagCommand.php
0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

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


Zod: Add Configurable Option to Include { offset: true } in Zod Datetime Generation

What are the steps to reproduce this issue?
1.Generate Zod schemas using Orval with an OpenAPI specification.
2.Observe the generated schema for datetime fields.
3.Notice that datetime fields are defined as datetime() without { offset: true }.
What happens?
The generated Zod schemas have datetime fields defined as datetime() by default, which does not include the { offset: true } option.
What were you expecting to happen?
I expected the generated Zod schemas to include an option to automatically set { offset: true } for datetime fields based on configuration, allowing for proper handling of date-time values without manual modifications.
Any logs, error output, etc?
No specific error output, but the lack of { offset: true } in the datetime definitions leads to potential issues in date handling.
For example, when receiving data like "2024-01-01T00:00:00+09:00", the generated Zod schema cannot correctly interpret the timezone offset, which may result in incorrect date handling in the application.
What versions are you using?
System:
OS: Windows 11 10.0.22631
CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1335U
Memory: 3.58 GB / 15.69 GB
npmPackages:
@tanstack/react-query: ^5.49.2 => 5.49.2
axios: ^1.7.2 => 1.7.4
msw: ^2.3.1 => 2.4.11
orval: ^7.1.1 => 7.1.1
react: ^18.3.1 => 18.3.1
zod: ^3.23.8 => 3.23.8

PR is welcome!


fontFamily now properly propagates to all widgets. Refactored Buttons…

… code

@vusters is this still pending?


Unable to pair with second iphone

I am trying to pair a second iPhone to the HomeSpan, however, once it is paired with one iPhone it stops broadcasting the device, and manually entering setup code on the second iPhone doesn't work. Tried Factory Resetting the device as well. A pairing request doesn't show up in the system logs.

HomeKit generally only allows for a single device to initiate and be paired directly to a HomeKit accessory.  Once a HomeKit device is paired it continues to broadcast its existence over MDNS/Bonjour but the field "sf" changes from a 1 (not-yet paired) to a 0 (now paired).
All other devices (second phones, iPads, etc.) using the same Apple ID should be able to see this HomeKit Accessory once it has been centrally paired with that first device.  You'll see these using the 's' command of the HomeSpan CLI.
Devices that don't shares your Apple ID can be invited to join your HomeKit network via the Home App.  This allows you add other users (and all of their devices).  These devices will then start showing up under the 's' command as well.

Thanks for the explanation! I believe that resolves my issue. Wonderful Library btw!


Documented the default value of IGN_PARTITION

Signed-off-by: Martin Pecka<EMAIL_ADDRESS>🎉 New feature
Closes: many searches of the docs to figure out whether it is <HOSTNAME>:<USERNAME> or <USERNAME>:<HOSTNAME> :)
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-25-fortress-edifice-citadel/1343/1


'Data' object has no attribute 'inject' (Adjoint Implementation)

First of all, this is an awesome tool for geophysical application. Thanks for developing it.  Currently, I am trying to implement the adjoint method in Devito.  When I was trying to inject the L2 norm into the adjoint function, it shows me that  'Data' object has no attribute 'inject'. Anyone knows how to solve this problem?
If there is some tutorials on implementing adjoint inversion from scratch using current devito, it would help me a lot.
Thanks for the help.

Hi @hongweioliver,
Glad you're finding devito useful and thanks for the comments!
It would help if you could share your code so we can take a closer look at what's going wrong.
Also, did you take a look at the FWI tutorial?
https://github.com/opesci/devito/blob/master/examples/seismic/tutorials/03_fwi.ipynb

Hi @rhodrin
I think Devito is the best tool I can find right now. Thank you very much for the quick response.
I did follow the FWI tutorial. But I am wondering how it is implemented because I want to implement elastic adjoint inversion and other stuff later on.  Other than the FWI tutorial (2017 ,2018 and current version) , I also read a few papers on that but it did not work.

High-level python abstractions for optimal checkpointing in inversion problems
Devito (v3.1.0): an embedded domain-specific language for finite differences and geophysical exploration

Please find the attached code.  Thanks again for your help.
Hongwei

Hi, thanks for the attention.
Your main issue lie in cell 22 where you do
residual = data1.data - data2.data.
By doing so, residual is not a Receiver anymore but a simple Data object, mainly a numpy array, while the operator expects a Receiver. There is two way to fix that easily following what I did the fyi notebook @rhodrin pointed you too, mainly assign the residual to the data of `residual.
1- assign the residual to the data : residual.data[:] = data1.data[:] - data2.data[:]
In that case residual stays a Receiver and adjoint should run smoothly
2- If you want a more robust (w.r.t MPI for example) way. You can create a "residual operator:
Operator(Eq(residual, data1 - data2). That second one may need some tweaking of dimension to work properly so I would concentrate on the first option.

Hi @mloubout
Thanks a lot. It works now.  Thanks again for creating that FWI tutorial.
Have a nice day
Hongwei

Glad to hear, closing the issue.


date test3

👷 Deploy Preview for rayko-research processing.

Name
Link

🔨 Latest commit
05b4488abe6c72f8cbc02e6b513758825e8054a4

🔍 Latest deploy log
https://app.netlify.com/sites/rayko-research/deploys/63ddce57b8ec6f0008ff4076


update eth_sendRawTransaction to construct params according to https://github.com/ethereum/wiki/wiki/JSON-RPC

Hi,
I ran across a problem using the JSON RPC method eth_sendRawTransaction with ethjsonrpc.
In the https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sendrawtransaction documentation, it shows "params":[{see above}] in the example, but that seems to really mean [{data}]
where data is
"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"

in the guide.
That also seems to be how other clients implement it like
https://github.com/ethereum/web3.js/blob/master/lib/web3/methods/eth.js#L191
With this slight adjustment in place, I'm able to use the EthJsonRpc.eth_sendRawTransaction method successfully.
Thanks,
Brian

@corbinbs Thank you, the docs were a bit confusing.


Signature spoofing not working on Nougat 7.1

I've recently updated my OPO to CM14.1 and right away the signature spoofing was unchecked in the microG app. I basically uninstalled the FakeGApps and everything microG related, and installed everything again with the latest versions.
For some reason I don't have signature spoofing enabled, and I can't figure out why. Here's the status of my Self-Check:

Is there any know issue (wasn't able to find one reported previously) with these settings for Nougat 7.1?

Did you built cm-14.1 rom yourself or you're using an official CM nighly?

Official CM nightly. I reported this issue as well the FakeGApps repo and supposedly there isn't Xposed support Nougat just yet, maybe that's the cause of the issue.

Well, maybe Xposed is the culprit. I applied signature spoofing patch and built cm-14.1 from sources. Everything checked in microg Self-Check menu so far.

You can use Needle to force signature spoofing.
https://github.com/moosd/Needle.git

There is also [Tingle]https://github.com/ale5000-git/tingle)

I've managed to solve the signature spoofing issue with Tingle (thanks @ale5000-git). I think FakeGApps doesn't yet support Nougat, so Needle or Tingle should do it.
This is not a microG related issue, sorry for the inconvenience and thank you for your help!


Broadcasting message(global)

It would be useful to have broadcast message globally in case Admins want the users know about any downtime/updates etc.

There has to be an API and a sub-command (./gitea broadcast -m "deploying in 5 minutes") for scriptability 😉

add a new notification to all users? right?

@appleboy No, display a large banner for broadcasts. I'm assuming something like GitLab has:

@bkcsoft you are right. Gitlab way is the proper way so far(to me). We are using gitlab for work within our team and its easy to broadcast a message for maintenance etc.

nice idea.

Just finding this issue. This would also need to be advertise on git login (similar to gitlab).

If this is implemented with anything but an e-mail it will be difficult for admins to broadcast downtime notices effectively. Perhaps it needs both kinds of notifications (selectable): e-mail and web notice.
I don't mean to add complexity to this issue, but here's a few related ideas:

Setup welcome messages.
Notices for an entire organization, or even teams.
Notices for repo watchers from owners.


Just more stuff happening

Merge after #10

did not fix one instance of this issue: http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/design.html#AccessorClassGeneration not sure what the recommended resolution is? cc @btkelly

Hey Stuuuuuu

Hello Automation

Hello

Hello
Stu

PMD Violations:
Viloation in  /Users/bobbake4/android/amplify/library/src/main/java/com/github/stkent/amplify/Question.java

PMD Violations:
File: /com/github/stkent/amplify/Question.java

PMD Violations:
File: com.github.stkent.amplify.Question.java

PMD Violations:
Rule: [AccessorClassGeneration]
Class: com.github.stkent.amplify.Question.java
Line: [88]

PMD Violations:
Rule:  [AccessorClassGeneration] - Avoid instantiation through private constructors from outside of the constructors class.
Class: com.github.stkent.amplify.Question.java Line: [88]

PMD Violations:
Violation:  [AccessorClassGeneration]
Avoid instantiation through private constructors from outside of the constructors class.
Class: com.github.stkent.amplify.Question.java Line: [88]

PMD Violations:
Violation:  [AccessorClassGeneration]
Class: com.github.stkent.amplify.Question.java
Line: [88]
Avoid instantiation through private constructors from outside of the constructors class.
Help: [http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/design.html#AccessorClassGeneration]

PMD Violations:
Violation:  AccessorClassGeneration
Help:  http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/design.html#AccessorClassGeneration
Class: com.github.stkent.amplify.Question.java
Line: 88
Avoid instantiation through private constructors from outside of the constructors class.

PMD Violations:
Violation:  AccessorClassGeneration
Help:  http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/design.html#AccessorClassGeneration
Class: com.github.stkent.amplify.Question.java -  Line: 88
Avoid instantiation through private constructors from outside of the constructors class.

PMD Violations:
Violation:  AccessorClassGeneration
Help:  http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/design.html#AccessorClassGeneration
Class: com.github.stkent.amplify.Question.java -  Line: 88
Avoid instantiation through private constructors from outside of the constructors class.

PMD Violations:
Violation:  AccessorClassGeneration
Help:  http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/design.html#AccessorClassGeneration
Class: com.github.stkent.amplify.Question.java -  Line: 88
Avoid instantiation through private constructors from outside of the constructors class.


Implement actorOf2 function

I would be nice in some scenarios to have actorOf2 function:
actorOf2 (fn : Actor<'Message> -> 'Message -> Cont<'Message, 'Returned>) (mailbox : Actor<'Message>) : Cont<'Message, 'Returned>

Solved


Troubles while getting data from Oracle

I use clickhouse-jdbc-bridge to get data from Oracle.
Native query from DataGrip to oracle took long time, approximately 20 minutes.
When I try to query from Clickhouse through clickhouse-jdbc-bridge it works okey for the small queries (with rownum limit).
But I cannot get all data and get different errors with no changes.
Variant 1
In clickhouse-jdbc-bridge log
[2022-12-16 06:16:55] [WARNING] Thread Thread[vert.x-eventloop-thread-0,5,main]=Thread[vert.x-eventloop-thread-0,5,main] has been blocked for 116813 ms, time limit is 15000 ms
[2022-12-16 06:16:56] [WARNING] Thread Thread[vert.x-eventloop-thread-0,5,main]=Thread[vert.x-eventloop-thread-0,5,main] has been blocked for 117813 ms, time limit is 15000 ms
...

And in Clickhouse after exactly 3 minutes
Poco::Exception. Code: 1000, e.code() = 0, Timeout (version <IP_ADDRESS> (official build))

Variant 2
In clickhouse-jdbc-bridge log
[2022-12-16 12:54:51] [INFO   ] Raw query:
...
[2022-12-16 12:54:51] [INFO   ] Executing query(schema=[mobilen]):
...
[2022-12-16 12:54:51] [WARNING] Failed call setClientInfo due to Invalid or unsupported name for clientInfo.
[2022-12-16 12:57:51] [SEVERE ] Caught exception
[2022-12-16 12:57:51] [INFO   ] Executing query(schema=[mobilen]):
...
[2022-12-16 12:57:5
... exactly every 3 minute I've got the same string
... and no result for a looooong time

Which config did I try
max_exection_time in Clickhouse is set to 12000000
socket_timeout in connection to Clickhouse is set to 12000000
queryTimeout in config/server.json is set to 12000000
maxWorkerExecuteTime in config/vertx.json is set to 12000000
"dataSource": {
            "oracle.jdbc.ReadTimeout": 12000000
        },
"maxLifetime": 12000000,
"connectionTimeout": 300000,

in oracle jdbc-bridge datasource configuration
What should I try next?

It was http_receive_timeout option in Clickhouse settings
Create PR #170 170

Sorry, I have the same problem and can't find where I need set parameter - http_receive_timeout.
Could you help me please?


Article Date

The date of this page shows an update date of 05/05/2019. Today is 4/26/2019. Are these limits forthcoming or is the article ahead of itself?

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

ID: 5676aae7-73bc-c084-174b-50ba4fd7be77
Version Independent ID: 0998f821-0f03-a833-b4b3-0d6ebd9468e5
Content: Azure SQL Database vCore-based resource limits - single database
Content Source: articles/sql-database/sql-database-vcore-resource-limits-single-databases.md
Service: sql-database
Sub-service: single-database
GitHub Login: @stevestein
Microsoft Alias: sstein

@GregHainesTDC Thanks for the feedback! I have assigned the issue to the content author to evaluate this article and update as appropriate.

@GregHainesTDC - thanks for pointing this out. The date was unfortunately incorrect, but the article contents should be current.

#please-close

@GregHainesTDC We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Update 04-01-identity-and-personhood.md

Resubmitted per this request
https://github.com/pluralitybook/plurality/pull/325#issuecomment-1957827282

Thank you!
I'm doing my best. I'm dyslexic all published work of mine is reviewed (for grammar/spelling etc.) and I'm just commenting into this github.


Toggling class attributes

I'm not sure if this is a halogen or halogen-vdom issue, so I'm posting it here. I've noticed that when I'm toggling the presence of a class attribute of a div that the classes that are present in the DOM aren't the same before and after toggling them on/off for the first time.
Take the following example, compiled with the current master:
module Main where

import Prelude
import Halogen as H
import Halogen.HTML as HH
import Halogen.HTML.Events as HE
import Halogen.HTML.Properties as HP
import Control.Monad.Aff (Aff)
import Control.Monad.Eff (Eff)
import Data.Maybe (Maybe(..))
import Halogen.Aff (awaitBody, runHalogenAff)
import Halogen.Aff.Effects (HalogenEffects)
import Halogen.VirtualDom.Driver (runUI)

data Query a = Toggle a
type State = Boolean

app :: H.Component HH.HTML Query Unit Void App
app = H.component
  { initialState: const false
  , render
  , eval
  , receiver: const Nothing
  }

render :: State -> H.ComponentHTML Query
render open = HH.div_
  [ HH.button
    [ HE.onClick $ HE.input_ Toggle ]
    [ HH.text "Toggle" ]
  , case open of
      true -> HH.div
        [ HP.class_ (H.ClassName "open") ]
        [ HH.div_
          [ HH.text "Open" ]
        ]
      false -> HH.div_ []
  ]

eval :: Query ~> H.ComponentDSL State Query Void App
eval = case _ of
  Toggle next -> do
    H.modify not
    pure next

type AppEffects = HalogenEffects ()
type App = Aff AppEffects

main :: Eff AppEffects Unit
main = runHalogenAff $ do
  body <- awaitBody
  runUI app unit body

When the app first renders, there is a

 in the DOM. When I toggle to true, there is a

, as expected. But when I toggle again to false, I get

In a larger project I've also had cases where the open class stays even though the state changes to false, but I couldn't reproduce it in this smaller example.

In the larger case, it may be because you don't have the latest purescript-halogen-vdom; a patch release was made to fix that, but it appears the "undefined" value is what happens instead now: https://github.com/slamdata/purescript-halogen-vdom/pull/12
I assume you are using the VDom driver and not VirtualDOM as you have in the imports there? :smile:
@natefaubion any ideas? Switch to using the attribute for class?

This is due to the way properties are "removed". It's not really possible to completely remove attributes when using their associated DOM properties. Halogen-vdom follows virtual-dom and sets removed properties to undefined. This has strange effects on some properties. One option is to just use attributes more within Halogen, so that things actually get removed with removeAttribute.

Ah cool, the fix to halogen-vdom indeed solves the issue in my larger case. And yes, the VirtualDOM is only there because I wanted to see if there is still the old virtual-dom driver. :smile:
I guess one can live with the "undefined" if one knows about it and never uses ".undefined" selectors hehe.

Obviously it needs to be fixed :). The conventional wisdom is that DOM props are faster than setAttribute, but I don't know if that's really the case anymore. We could customize prop removal as well, maybe.

The v1.0.3 release of halogen-vdom removes string properties by setting it to the empty string (this is all that can really be done in the case of properties). To actually remove the attribute (like in the inspector), we'd have to use attributes.

I'm totally fine with that!


ci: Test on Golang 1.22 & 1.21

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.0%) to 1.796%

Totals

Change from base Build<PHONE_NUMBER>:
-1.0%

Covered Lines:
12

Relevant Lines:
668

💛  - Coveralls


Remove a reference to the old logging configuration page

Release Note
NONE

Website generation was broken. Thanks @apupier for the heads up!


Spaces in path to jar end in "Unable to obtain inputstream for resource" error

Which version and edition of Flyway are you using?
8.5.5 Community
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
it is the latest version
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using? (Type & version)
MySQL Community 8.0.28
Which operating system are you using?
Windows 10
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
try to run a migration within a path that contains spaces
What did you expect to see?
a working migration
What did you see instead?
org.flywaydb.core.api.FlywayException: Unable to obtain inputstream for resource
As far as I have seen, in ClassPathResource.read(), the comparison between the enumeration element and this.parentURL fails, because the parentURL keeps the space in its string while the enumeration element replaces the space with "%20".
Best regards,
Steven Pohl-Uhe

We're closing this issue until further activity


Save() fails for collection with implicit ID

panic: reflect: call of reflect.Value.Interface on zero Value [recovered]
	panic: reflect: call of reflect.Value.Interface on zero Value

goroutine 21 [running]:
testing.tRunner.func1(0xc42013c2d0)
	/opt/local/lib/go/src/testing/testing.go:711 +0x2d2
panic(0x11db360, 0xc4200fc5c0)
	/opt/local/lib/go/src/runtime/panic.go:491 +0x283
reflect.valueInterface(0x0, 0x0, 0x0, 0x1, 0x0, 0x0)
	/opt/local/lib/go/src/reflect/value.go:930 +0x1bf
reflect.Value.Interface(0x0, 0x0, 0x0, 0x121ba71, 0x3)
	/opt/local/lib/go/src/reflect/value.go:925 +0x44
github.com/kalcok/jc.(*Collection).Save(0xc420132120, 0xc420132101, 0x0, 0x0, 0x1082806)
	/Users/kauchman/Documents/projects/golang/jc/src/github.com/kalcok/jc/collection.go:74 +0x3c4
github.com/kalcok/jc/tests.TestInsertImplicitIDCollection(0xc42013c2d0)
	/Users/kauchman/Documents/projects/golang/jc/src/github.com/kalcok/jc/tests/collection_test.go:69 +0x9a
testing.tRunner(0xc42013c2d0, 0x12276e0)
	/opt/local/lib/go/src/testing/testing.go:746 +0xd0
created by testing.(*T).Run
	/opt/local/lib/go/src/testing/testing.go:789 +0x2de

Issue with inserting was solved in #4 . However more testing needs to be done for SELECTing and UPDATE-ing of collections with implicit ID field

Tests now cover SELECT/UPDATE/INSERT of structs with implicit ID


avoid creating new tooltip provider for every tooltip

The user would instead put the provider in _app.tsx for example
This also allows user to pass props to the provider like in radix-ui example
<TooltipProvider delayDuration={500} skipDelayDuration={500}>

Oh yeah! Nice catch. We'll need to update the docs as well.


Make right and left constraints in UIStackView

[x] I have looked at the Documentation
[x] I have read the F.A.Q.
[x] I have filled out this issue template.

Issue Info

Info
Value

Platform
ios

Platform Version
12.0.1

SnapKit Version
5.0.0

Integration Method
cocoapods

Issue Description
I would like to set right and left constraints of a subview in a vertical UIStackView, but when I apply the followed code, just the left constraint worked.
verticalStackView.addArrangedSubview(subview)

subview.snp.makeConstraints { make in
 make.left.right.equalToSuperview().inset(15)
 make.height.equalTo(44)
}

How to fix that ?

Autolayout wouldn't work in a UIStackview - that isn't how they are intended to be used.
You could add a container UIView to the stack and make your subview a child of that.
This would allow you to enable constraints on your view.
        let myVerticalStackview = UIStackView(frame: .zero)
        myVerticalStackview.axis = .vertical

        let myContainerView = UIView(frame: .zero)
        let mySubview = UIView(frame: .zero)

        myContainerView.addSubview(mySubview)

        mySubview.snp.makeConstraints { make in
            make.left.right.equalToSuperview().inset(15)
            make.height.equalTo(44)
        }

        [myContainerView].forEach { myVerticalStackview.addSubview($0) }

Same issue here and I solved it.
If you set alignment to fill the subview will fills to fit the size of the stackview.
So you just set the alignment to center that's it.


Support extended reduced graphs

Reference: Stiefl, N., Watson, I. a., Baumann, K. & Zaliani, A. ErG: 2D Pharmacophore descriptions for scaffold hopping. J. Chem. Inf. Model. 46, 208–220 (2006)

this merge wasn't as clean as I would have liked. Here's the last commit on the branch that led to the feature: d854911647


ir_%s_sketch do not exist

Hi, in ops.py , line 23,  the code wants to read 'ir_%s_sketch', however, make_datafile does not create this file, could you please tell me how to fix it? thank you

As I remember, in my project, it should be the line sketch of infrared images, but the infrared image dataset is confidential. Maybe you can see here to convert your images to line sketch, if it helps.

I have prepared the suggested data in your instruction, when I want to train the model, in ops.py , line 23, the code wants to read 'ir_%s_sketch' ,but the file does no exist, so this is the reason for the former question.
By the way,  could you please tell me the version of your keras, I have installed the newest keras, however, keras has updated, and some functions are not working now in the newer version. thanks a lot

Q1: I think you have to prepare the dataset for your own purpose and use whatever name.
Q2: I suppose keras version is 1.2.0 or so. Because I did this project in Jan 2017. See here


updated python client

Why are these changes needed?
on the large cluster getting a list of templates and/or clusters can take a long time. changed tmout to accommodate this
Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

@kevin85421, please merge


[improve][broker] PIP-192 made split handler idempotent

Master Issue: https://github.com/apache/pulsar/issues/16691
Motivation
Raising a PR to implement: https://github.com/apache/pulsar/issues/16691
Modifications
This PR

Makes split handler idempotent .
Makes Leader's orphan monitor keep trying to send split msg until finished.
Select bundle boundaries at the SplitScheduler to have the same split boundaries for each Split handler retry.
Adds a split condition to check if the parent's Splitting state has moved.
Made Admin Unload command forceful to unload any bundles in invalid states.

Verifying this change

[x] Make sure that the change passes the CI checks.

This change added tests and can be verified as follows:

*Updated unit tests.

Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

We will have separate PRs to update the Doc later.
Matching PR in forked repository
PR in forked repository: https://github.com/heesung-sn/pulsar/pull/41

@Demogorgon314 @gaoran10 PLAL by any chance.

@Demogorgon314 @Technoboy- PTAL by any chance.

@Demogorgon314 fyi, I updated the code

to continue splitting after monitoring logic
to fix the dst and src broker order in the splitting state data copy.

/pulsarbot rerun-failure-checks

@Demogorgon314 @Technoboy- plz merge if looking good


Feature Request: Add a "this rule applies to only the first tab that fits this rule" condition

I want the first tab I open with a certain starting URL to be pinned, protected and renamed. The other tabs need not follow this rule. Even better would be able to state a different set of outcomes for second and other tabs.
This in combination with "Open a set of tabs when the browser starts" Chrome setting will allow me to have nicely setup browser launch experience.

Hello @navilan,
This is the default behavior.
Best


pipeline-service update prod

Important updates:

Switch to OSP nightly builds

Included PRs:

https://github.com/openshift-pipelines/pipeline-service/pull/956
https://github.com/openshift-pipelines/pipeline-service/pull/972
https://github.com/openshift-pipelines/pipeline-service/pull/962
https://github.com/openshift-pipelines/pipeline-service/pull/978
https://github.com/openshift-pipelines/pipeline-service/pull/980

/test appstudio-e2e-tests

/test appstudio-e2e-tests-ocp-4-14

/lgtm


Routing/multiple table ranges

Description

Adds support for multiple RT table-ranges
Modern Linux kernels support >255 routing tables, this change aims to make them available to Felix
Related issues/PRs

Todos

[x] Tests
[ ] Documentation
[ ] Release note

Release Note

Deprecated config arg `routeTableRange` in favour of `routeTableRanges`. Felix can now make use of a larger set of Linux route-tables, and can be configured to avoid sensitive ranges. This implicitly drops support for very old Linux kernels (below v2.6)

Think Im getting tunnel vision, yes, totally missed the actual defaulting logic :man_facepalming: will fix up the default vals. Also, yes I've removed the reserved tables functionality - instead, I modified the index_allocator to accept a list of exclusions, where I define the reserved indices, which it will then skip when creating its index stack

/merge-when-ready

/merge-when-ready

/merge-when-ready


Can order-select be triggered multiple times during the ordering workflow?

This distinction is unclear to me -- is it proposing that clinician-supplied details like dosing would not be passed along with this hook? I'm concerned that we're deprecating a simple model (an in-progress hook that re-fires any time an in-progress order changes) in favor of a complex model (https://github.com/cds-hooks/docs/issues/418) *but we've only introducing support for one step of the complex model.
This strikes me as a net reduction in functionality without simplifying the problem.
it is possible I have misunderstood the intention of this hook, in which case it would be good to clarify here and in the definition.
Originally posted by @jmandel in https://github.com/cds-hooks/docs/pull/428

@jmandel, do we need to keep this issue open, since @isaacvetter made the change you requested in #428?

Don't see why! Closing.


Autogenerate docs from pydantic / openAPI

Since we have this Pydantic model for the config including descriptions, it would be nice if we use that to automaticatically generate documentation in markdown/html format.

I wrote a short script to help generate some of the documentation: docs/model_to_markdown.py
It helps single-source the documentation, but it makes the descriptions for the yaml file probably a bit on the long side.
I was also thinking that it may be worth setting up the documentation via jinja2 and auto-generate the documentation in that way.


[pkg/otlp] Rewrite sumnmary tests to use only public API

What does this PR do?

Rewrite unit tests without explicitly setting cache
Motivation

Make unit tests more realistic, avoid depending on private APIs for unit tests.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Thanks for the review :)


Runtime crash if easing is used within useAnimationState, error: '[Reanimated] The easing function is not a worklet. Please make sure you import Easing from react-native-reanimated.'

Is there an existing issue for this?

[X] I have searched the existing issues

Do you want this issue prioritized?

[ ] Yes, I have sponsored
[ ] Not urgent

Current Behavior
Hey Fernando,
thanks for your awesome work.
I noticed a crash after updating RN, expo, reanimated und moti.
The app is crashing the error '[Reanimated] The easing function is not a worklet. Please make sure you import Easing from react-native-reanimated.'
This is triggered by a transitionTo() call from useAnimationState().
Its failing because of reanimated runtime validations created in (src/reanimated2/animation/util.ts) PR: https://github.com/software-mansion/react-native-reanimated/pull/5639 and released with reanimated 3.9.0 .
Expected Behavior
To pass the easing runtime validation from reanimated
Steps To Reproduce
Minimal Reproduction:

Copy code and render the component (default export)
Press the red or blue Box
App will crash after 2 clicks

Versions
- Moti: 0.29.0
- Reanimated: 3.11.0
- React Native: 0.74.1
(latest as of now)

Screenshots
No response
Reproduction
The Error happens only on bare RN projects and on the moti/examples/sample expo project.
Could not reproduce it on Snack.
Removing the
node_modules/react-native-reanimated/src/reanimated2/animation/util.ts
import React, {useCallback, useState} from 'react'
import {Pressable, StyleSheet} from 'react-native'
import {useAnimationState, View} from 'moti'
import {Easing} from 'react-native-reanimated';

const useFadeInRight = () => {
  return useAnimationState({
    fadeInRight: {
      opacity: [
        {value: 0, duration: 0},
        {value: 1, duration: 500, delay: 0, type: 'timing'},
      ],
      translateX: [
        {value: 100, duration: 0},
        // TODO: if you put easing here, reanimated throws a error (because a runtime validation fails):
        {value: 0, duration: 500, delay: 0, type: 'timing', easing: Easing.inOut(Easing.exp)},

      ],
    },
  })
};

// Press the red/blue Box to crash the App
function CrashExample() {
  const fadeInDown = useFadeInRight()

  const triggerAnimation = useCallback(() => {
    fadeInDown.transitionTo('fadeInRight');
    setIsEnabled(old => !old)
  }, [fadeInDown]);

  const [isEnabled, setIsEnabled] = useState(false)

  return (
    <View
      style={styles.shape}
      state={fadeInDown} transition={{duration: 500, type: 'timing', easing: Easing.inOut(Easing.exp)}}
    ><Pressable onPress={triggerAnimation}>{
      isEnabled ? (
        <View style={{width: 100, height: 100, backgroundColor: 'red'}}></View>) : (
        <View style={{width: 100, height: 100, backgroundColor: 'blue'}}></View>)
    }</Pressable>
    </View>

  )
}

export default function Container() {
  return (
    <View style={styles.container}>
      <CrashExample/>
    </View>
  )
}

const styles = StyleSheet.create({
  shape: {
    justifyContent: 'center',
    height: 250,
    width: 250,
    borderRadius: 25,
    marginRight: 10,
    backgroundColor: 'black',
  },
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
    flexDirection: 'row',
    backgroundColor: 'cyan',
  },
})

i also am running into this

I see, so it only fails if you pass it to the value in useAnimatedState's transition for a particular item in a sequence? That's an interesting edge case...it should work directly in the animate prop. I think the reason for this is that useAnimatedState uses a worklet under the hood, and reanimated might not like a main-thread usage of Easing getting passed to worklet memory this way.


Doesn't seem to work any more

I installed it a year ago and it worked fine.  Now, equations don't render anymore.  I see this issue has occurred before and supposedly fixed, but I am having the same problem.
Windows 10
Slack 3.3.8
math-with-slack 0.2.5

Thank you for your report.
math-with-slack 0.2.5 works as it should with Slack 3.3.8 for me.
Have you reinstalled math-with-slack after the Slack update?

Yes

Ok. Since I can't reproduce the bug, still won't be fix. Please reopen the ticket with a proper bug report and I'll take a look: https://marker.io/blog/write-bug-report/

Close Slack
Run math-with-slack script

math-with-slack.bat.txt

Open Slack.

Type in TeX markup

Expected behavior:  Markup renders as math
Actual behavior:  Markup did not render as math

I also tried uninstalling and re-installing the script, but that did not work either.

Thank you! I still cannot reproduce the bug. I've also asked other people, and they aren't having any problems. And no other users have reported any problems lately. It all points to that you have a problem with your specific installation. I cannot help you with that unfortunately. My recommendation would be to completely uninstall Slack, and reinstall everything.
Hope you manage to get it to work!

I came in to work this morning and the markup I entered yesterday is now magically rendered as math.  I didn't do anything, but it seems to be working now.  Weird!


[Amplitude] Invalid userProperties input type. Expected object but received string

[Amplitude] Invalid userProperties input type. Expected object but received string

Hi @popuguytheparrot one possiblity is that you are calling setUserProperties with a string instead of an object
Bad:
amplitude.getInstance().setUserProperties("this will give a validation type error");
Good
amplitude.getInstance().setUserProperties({ company: "Amplitude" });

If that doesn't fix the issue can you please provide some more information to help us locate the issue.

The version of the Amplitude SDK
A code example of the call causing the error
The environment - browser, version, etc

Thank you!

Thank you for answer. I resolve problem. Try find changes in releases, but nothing there about it


Don't crash when an import isn't found.

Preserve the source file name when parsing
import for better error messages.

test!

Tests are in

:8ball:

:moneybag:

I guess the risk here is that if we keep going we can get bogged down in trivial syntax issues. oh well lol


Issue using with external drive (Drobo)

I'm on a Mac (Catalina) trying to use other-transcode to convert files I have stored on a Drobo, I get the following when I try:
-bash: syntax error near unexpected token `('
If I move the file to my desktop it works, but puts the new file in  my home folder instead of desktop.
Additionally if anyone knows of how I can set this up via automator as a service, I would love the assist. Can't figure out how to drop in the terminal command and add the path (sure thought I did).

@randallpjenkins I'm sorry you're having this problem. But to help I'll need more information:

What options are you passing to other-transcode?

Are you running a Bash script to do your transcoding?

Are you correctly quoting the path name to your file when you pass that name on the command line?

Thanks.

@donmelton thanks for the quick assist!

I was originally trying it with the "--mp4" option but have now just simplified it to the default. The mp4 option does also work with the file on desktop (though still puts it on the directory above which is my home folder).
I am running this inside Terminal, wish no bash script just typing the command and pasting in my path name that I copy from finder. Again using this same process for both the external drive and the file on desktop.
As I stated above, I'm getting that path name copied directly from the finder.

@randallpjenkins Thanks for the information!
It's very likely that copying the path name from the Finder is the problem. You should try using Terminal itself to get the correct path. If you can use ls or another command to "see" the file, use that same path. Never copy paths from the Finder because they won't be "escaped" correctly.

@martinpickett I was using right click and holding option which changes "copy" to "copy as pathname". It worked fine on the desktop file, but not on external drives (lots more \ action).
So I guess my biggest question regarding the working directory is that I have an organized and largely automated library and I want to be able to size down the stuff that's really taking up a lot of space (and probably make it all mp4) but don't really want to move all of that back over locally (nor do I have the space locally to do more than a handful at once). What's my best solution here? I understand not wanting to overwrite the source *.mkv, but ideally I'm gonna use this as a quick action in Automator and run it from the Finder.

@randallpjenkins Sorry for my delayed response.
Computers are wonderful, anything is possible. Let's spell out a fictional example situation. You have all your videos stored on your Drobo in a directory called "Videos" and you wish to transcode some of these videos. Let's also say you want to keep the source videos (in case something goes wrong with the transcode e.g. wrong other-transcode arguments). NOTE: if you have the space, I highly recommend keeping the source videos, you never know when they might be useful.
In this situation I would first create a new directory at the same level as your current Videos directory and name it "Video Sources" or something similar. Then move all the videos you wish to transcode from your Videos directory into this Video Sources directory. Next open Terminal and navigate to the Videos directory. Now you can run other-transcode on any of the videos stored in Video Sources and the transcoded output will be saved in the Videos directory.
If you wanted to transcode all of your videos then this could be automated further, however as you only want to transcode some of your videos you will need to do some steps manually.
Unfortunately, I cannot be of much help when it comes to Automator as I have never used it. Hopefully someone else can point you in the right direction for that.
Also to answer your explicit question, you can absolutely change directory for each transcode. cd to the Desktop and run other-transcode and the output will end up on your Desktop. cd to your Downloads directory and run other-transcode and the output will be in your Downloads directory.


Default Dashboard: Facebook Ads Cost per Inline Link Click (CPC)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1730
Originally created by @dmor on 2020-02-13 20:32:04

Definition of Cost per Inline Link Click (CPC):

The average cost of each inline link click.

Data Label: CPC (Cost per Link Click)
Calculation: Amount Spent divided by Inline Link Clicks, bounded by some time period
MVC Scope: This will only be at the account level.
We will have to calculate this (@iroussos has already built) because cost_per_inline_link_click from Facebook is calculated at the time of query (and we don't want to re-run the entire pipeline each time the user changes their date range)
Details from Facebook on how this is defined: https://www.facebook.com/business/help/659185130844708
The green line in this graph is showing you the Cost per Inline Link Click (CPC) over time:

View 9 previous comments from the original issue on GitLab


Allow custom iso path, fix global logic, and fix multiple small things

Fix https://github.com/bluebanquise/bluebanquise/issues/962
Merge https://github.com/bluebanquise/bluebanquise/pull/929 into new master
Fix many few things
Start Ubuntu 24.04 support (to be more tested, loki not working)
Note:

need to remove -u jarvice from squeue
need to remove hardcoded benoit user

@vedmonds please check https://github.com/bluebanquise/bluebanquise/pull/963/commits/685dbfbad05fa7062185145ca9cec6bc02e13cee
@jpm38 please check https://github.com/bluebanquise/bluebanquise/pull/963/commits/06c77f4163db5e114c539bdfb64ce3eec901a2ec

Thank you!

Sounds good to me ! thanks a lot

Thanks you @vedmonds  @jpm38  for checking !
Merging. Please note that since pxe was modified, I will run deeper tests to make sure everything is still ok.


Flow Diagram View: new section to show flow table + datatypes + export

Parent #2185

Duplicate of #2249


Device Tree support overhaul

This is an umbrella issue for a series of changes to the way Zephyr uses Device Tree.
The following items need to be addressed in order to consider this issue closed:
ELCE meeting path forward issue: #10821

[x] Describe what is the scope of Device Tree. i.e. What should go into Device Tree and what into Kconfig

PR #8507
Issue #7230

[x]  Run Device Tree before Kconfig

PR #12108
Issue #7302

[x] Device Tree improvements

Issue #9406: Generate DTS 'compatible' based compilation flags

[x] edts database generation (cut-out of #6762)

PR #9876
https://github.com/zephyrproject-rtos/zephyr/tree/topic-EDTS branch
PR #17660

[ ] Code generation for instancing of devices

PR Codegen: #8561, #10885, #10888 Jinja: #10957
Issue #10904
https://github.com/zephyrproject-rtos/zephyr/tree/topic-EDTS branch

[ ] (optional) Integrate DT support in menuconfig

PR
Issue

@SebastianBoe

Is the prototype PR supposed to be a part of this effort?

From what we discussed last week, one of  the (/the) first step was to demonstrate the feasibility of using codegen to provide and acceptable solution for driver instantiation (from zephyr user point of view, the end user API). This is what #8561 aims at doing.
This task was supposed to go straight to the point, so I took whatever was available and tried to come up with a demonstrator. If there is a general agreement this is acceptable, then everything should be done the right way.
Doing so, there will be some additional efforts, but at least a plan is there and I hope showing something concrete will help people agreeing this is a desirable thing to have and efforts should be done to achieve the plan. (Rather than endless debates that happened so far in the various PR/issues)

Added #9406 as bullet of  'Run Device Tree before Kconfig '

Comment about: " Code generation for instancing of devices ":
Current PR for this point is #8561.
#8561 is based on #6762 that introduces Codegen support. It adds a friendly device declaration module on top of Codegen. It aims at hiding python code from the user in the driver code by providing a nearly python agnostic API.

Implementation of the current feature could use the edts database proposed in https://github.com/zephyrproject-rtos/zephyr/pull/9876

Added #9876 as a cut out of #6762 (Codegen introduction)
#9876 focuses on edts database generation that should be used as input for codegen script.
It could also be used as input for "DTS compatibles flags generation" (#9604)

Sequence of merges for " Code generation for instancing of devices ":

[ ] Code generation for instancing of devices

PR #9876 - creation of extended DTS database using extract_dts_includes.py
PR #6762  - inline code generation - codegen
PRs for device driver instantiation by code generation

e.g. PR #8561, #9163

edts work handled by PR #17660

Code generation for instancing of devices

Is anyone still advocating for this? I remain unconvinced that we need it and am opposed to the introduction of yet another domain specific language that this would imply for complexity reasons.

(optional) Integrate DT support in menuconfig

If nobody is still advocating for codegen and the above check box can be fixed, perhaps this can be moved to a separate enhancement and this issue can at last be closed. It isn't doing its job as an umbrella issue since we're not actively using it, and all the other items are checked.

@mbolivar-nordic Fine with me on both points!

Great, thanks @erwango. I've filed this issue for a 'menuconfig'-like (really 'guiconfig'-like) interface to devicetree here:
https://github.com/zephyrproject-rtos/zephyr/issues/29295
I think that covers the last unchecked box in this umbrella issue, so let's close it at last and discuss/prioritize additional work elsewhere.

Code generation for instancing of devices

Is anyone still advocating for this? I remain unconvinced that we need it and am opposed to the introduction of yet another domain specific language that this would imply for complexity reasons.

Not really, but I do recall that there was some talk about whether pinctrl could effectively be implemented without code generation. Aside from that, the rest of the usecases (mainly instantiation of the device structures) I think are not justification enough to think about introducing this infrastructure.

Not really, but I do recall that there was some talk about whether pinctrl could effectively be implemented without code generation.

@carlescufi Since it is actually available at least on some targets (such as STM32 and Atmel) today, I think we can say this is doable.

Not really, but I do recall that there was some talk about whether pinctrl could effectively be implemented without code generation.

@carlescufi Since it is actually available at least on some targets (such as STM32 and Atmel) today, I think we can say this is doable.

Indeed, and the goal now is  to extend that support to all SoCs in a common manner, thanks for commenting on this @erwango, this just confirms what I already thought.


⚠ ClamAV has degraded performance

In b881afc, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 190 ms

Resolved: ClamAV performance has improved in 60d04dd after 7 minutes.


Cut a release to match urllib3-1.14?

Hi, we noticed that urllib3-1.14 was released right at the end of 2015.  Are there plans to release a new version of requests bundling that?
Downstream in Fedora we had a bug filed requesting urllib3-1.14, but with the way things stand now, we can't update to that until we have a matching requests release.  https://bugzilla.redhat.com/show_bug.cgi?id=1295402

@ralphbean At some point, sure. We weren't generally planning on racing to new urllib3 versions, especially as really the only change in that urllib3 release is the SOCKS proxy support.
Is there a particular rush to get urllib3 1.14 into Fedora?

I think Nir Magnezi in that ticket was having issues setting up an OpenStack dep that may have pinned version 1.14 of urllib3.  I'll ask for more details.

:+1: for this.
There was another release in 1.14 as well: "Fixed AppEngine handling of transfer-encoding header and bug in Timeout defaults checking." Together with this patch: https://github.com/sigmavirus24/requests-toolbelt/pull/119 and the use of requests_toolbelt, requests will actually work on appengine.

So to be clear, we will cut such a release. I'm just trying to work out how time-sensitive this release is.

Thank you :). Looking forward to when it will be.

As the one doing the changes to get urllib3/requests working on appengine, I would say "not high priority" on that count, as it's not blocked on this urllib3 import yet. Once we get https://github.com/sigmavirus24/requests-toolbelt/pull/119 submitted, and that branch integrated into master, then I'll come pushing on this thread again to get appengine functionality unblocked.

Okay that went quicker than expected, based on extrapolation of past activity on my pull request. :) My changes are now integrated into a requests-toolbelt branch, conditioned against a hypothetical 2.10 version of requests containing the latest urllib3 functionality. I assume once requests cuts this release, @sigmavirus24 can then integrate the branch into mainline requests-toolbelt.
I'll leave it to you guys to determine the time-sensitivity of appengine functionality.

+1

+1 for SOCKS support. requesocks is horribly out of date.

+1 for SOCKS support as well.

+1 for SOCKS support especially for using with tor directly without tsocks/proxychains in middle.

+1 for SOCKS support, especially with the recent release of Docker 1.11.0 with SOCKS support, and the fact that docker-py can't support SOCKS until requests does.


Removed youtube-dl refs and links from CONTRIBUTING.md

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
This PR only changes documentation and not code. I have improved the CONTRIBUTING.md file to no longer reference or link to youtube-dl in any way. This makes for a less confusing read, and helps yt-dlp stand on its own as a project. It also prevents accidentally forking youtube-dl instead yt-dlp, which happened to me 😅

Also just realized this exists https://github.com/yt-dlp/yt-dlp/pull/528

I'll clean up and merge #528 instead. But it's gonna take a bit of time


Consolidate linting jobs

Combine all linting GHA jobs into one workflow, and update them to the
latest from the main Submariner repo.
Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

@mangelajo This will require an update to the required checks. :pray:

Hmm - the merge button is disabled for me. Not sure why - I thought I had admin privs.

@tpantelis The DCO Check job name changed, and so the required check config on the GH Admin page needs to be updated to reflect the new name.

Hmm - the merge button is disabled for me. Not sure why - I thought I had admin privs.

@tpantelis The DCO Check job name changed, and so the required check config on the GH Admin page needs to be updated to reflect the new name.

Ahh - I missed that DCO check was still pending.

This is ready for GH required checks edits @mangelajo/@tpantelis, and thanks! :pray:


updated schema and added get_metadata()

Sorry, hadn't had a chance to look at this--but it looks good to me!


Allow to customize the window title

It would be nice if the window's title could be customized (e.g. from "Open File" on Linux / KDE) to any custom text (like "Open Image").

It would even be better to have a empty string instead of "Choose directory", because this is not localized right now.
See this case where we got the German file picker:

@shalva97 What do you think about this issue?

The first idea that comes to my mind is to just remove the hardcoded string. Maybe after all people just don't need to change title anyway.
Or I could add a parameter with default value....

okay a bit of work is here https://github.com/Wavesonics/compose-multiplatform-file-picker/pull/96

Great 🙂

@sschuberth You can close the issue now. 🙂

okay a bit of work is here #96

Great that this was merged 👍🏻


How can I fix localStorage is not defined

Describe the bug
Hi! so i am having several issues regarding implementing the pinia-persisted-state.
Environment: vue3.2.39+pinia2.0.22+pinia-plugin-persistedstate2.2.0+vite3.0.9+vite-plugin-ssr0.4.38
code
import { reactive } from "vue";
import { defineStore } from "pinia";

const user = reactive({
  authKey: "",
});

export const useUserStore = defineStore({
  id: "user",
  state: () => user,
  actions: {
    setAuthKey(newAuthKey: string) {
      this.authKey = newAuthKey;
      // console.log("haha");
    },
  },
  persist: true,
});

first issue:
I can't really seem to import persist:true, this is the issue that i'm having
  Object literal may only specify known properties, and 'persist' does not exist in type 'DefineStoreOptions<"user", { authKey: string; }, {}, { setAuthKey(newAuthKey: string): void; }>'

second issue:
Upon compiling the app, this is the error that occurs:
ReferenceError: localStorage is not defined
    at /Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/pinia-plugin-persistedstate/dist/index.js:160:19
    at Array.map (<anonymous>)
    at /Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/pinia-plugin-persistedstate/dist/index.js:158:155
    at /Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/pinia/dist/pinia.cjs:1644:43
    at EffectScope.run (/Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/@vue/reactivity/dist/reactivity.cjs.js:37:24)
    at /Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/pinia/dist/pinia.cjs:1644:33
    at Array.forEach (<anonymous>)
    at createSetupStore (/Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/pinia/dist/pinia.cjs:1631:14)
    at createOptionsStore (/Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/pinia/dist/pinia.cjs:1222:13)
    at Module.useStore (/Users/clarissaaudrey/Documents/GitHub/dashboard-2.0.0/node_modules/pinia/dist/pinia.cjs:1708:17)

can you help me fix this issue?
Thanks beforehand!
Reproduction
https://github.com/ClarissaAudrey/pinia-persisted-issue
System Info
npm install
npm run dev

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible of the bug.

Hi :)
The type error (persist does not exist) is due to your types being fetched from src only. The plugin is imported and installed in renderer/app.ts so the rest of the app (in src) never get to know about new options added to defineStore.
You can add import {} from "pinia-plugin-persistedstate"; in your stores/user.ts and it will stop yelling at you.
As for the second error, since you are using Server Side Rendering, the error localStorage is not defined comes from the plugin calling localStorage in a server (node) environment. localStorage is a browser only API. you may want a different storage (cookies?) or to do the hydration only client side.
I have no idea how vite-plugin-ssr works, and their documentation isnt helping at all :/

Thank you very much for helping! Your suggestion works, i really appreciated the answer.
regarding the localStorage bit, i think your explanation makes a lot sense. I am gonna try and figure out how to configure this on vite-plugin-ssr.
Once again, thank you very much for your assistance!

I have the same problem with vite-plugin-ssr
@ClarissaAudrey, can you find a way to use pinia-plugin-persistedstate with vite-plugin-ssr to store data in localstorage which is fetched in serverside?

I have the same problem with vite-plugin-ssr @ClarissaAudrey, can you find a way to use pinia-plugin-persistedstate with ite-plugin-ssr to store data in localstorage which is fetched in serverside?

localStorage is a client API, it can never be used/accessed server side. I recommend you use some other things such as cookies. But I have no clue how vite-plugin-ssr works, and the docs are really putting me off it :/

Hi @hamedg68 , I have came up with a solution, not sure if it is applicable to you, so what i did is i render the localStorage only on the client side. Or you can try the cookie option that @prazdevs suggested.


EPMRPP-84522 || Added activity API specification

Imported this spec to https://reportportal.stoplight.io/studio/epm-rpp?source=7yVd9arsLBFzOYFUENDZQ

Filtering has complex query criteria and for large queries it is recommended to use the RequestBody. Sending a request with more than 10 request parameters looks overloaded. This can also be viewed in REST API Design from Atatus.
Regarding such endpoints as /v1/{projectName}/item, /v1/{projectName}/item/history it would also be nice to rework in the future.
cc: @raikbitters , @AmsterGet


Conflict with influxdb cookbook

Both cookbooks add https://repos.influxdata.com/ubuntu repository but with different options (influxdb use only stable branch, telegraf use stable and unstable). If use both cookbook it's rewriting apt source list every run.

I think we initially did this so you could install the previous version of telegraf from the unstable repo, but that's probably not that helpful and better to be consistent with the influxdb cookbook. I've opened #27 to fix this.


[Documentation] Update the roadmap.

Now that we’ve done some work on the project, the roadmap file is no longer up to date.
I’d like to amend the document to reflect the latest changes.

Issue has been indirectly fulfilled by another issue.

Issue looks good to me since our goals for each release have change since the beginning of the project.


Building the toolchain require sudo and it put random files in my $HOME directory

Describe the bug
When building the toolchain, I don't want it put random stuff by default in my $HOME directory!
And don't install the toolchain on my system. Also your script expects ubuntu but I'm using arch.
Expected behavior
No unwanted files in $HOME and no sudo prompt
It's possible to build a toolchain without sudo, see: https://github.com/brutal-org/brutal/blob/main/meta/toolchain/gnu/build.sh

It modifies $PATH btw

How to advertise your project without anyone noticing 101


Make sure we always have a stack

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets
fixes #133

Documentation
n/a

License
MIT

What's in this PR?
If we (for some reason) do not have a stack, it should not crash. Just pretend everything is normal.
@dkvk, does this patch solve your issue?

is it "legal" that we have no stack? or should that never happen?

To be honest, I do not know. Im not sure how we can be in ProfilerPlugin without a stack. @fbourigault do you know?

It should never happen as the StackPlugin is inserted to be the very first plugin (and it's not a decorated plugin).

What if you:
$plugin = $this->container->get('httplug.plugin.logger');
$client = new PluginClient($httpClient, [$plugin]);

But that's not how Daniel did it...

This is not a problem as the plugin doesn't get decorated.

I'll merge this and tag a patch release. Having a request missing from the profile is better than causing errors

thanks. agree that we better have a non-ideal workaround than nothing at
all.


⚠ Bofrost.at has degraded performance

In d60f3e2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2272 ms

Resolved: Bofrost.at performance has improved in b98555e after 26 minutes.


Fixed error /bin/sh: 1: /usr/local/bin/pip3.7: not found

The current version gives an error when building. A simple fix is to remove the version suffix from pip.

Hi @SagenKoder and thank you for these contributions! I am in the middle of moving houses and all my useful computer gear is packed. Give me a week or two to settle and I will look at these. Cheers.

Thank you @Pelleplutt, I really like your application would like to see this become the go-to exporter for Tibber users.
Good luck moving :)

Cheers. Thank you for this. Sorry for the late merge.


Hovering over contents of a new takes about one minute

After opening a file in editor, hovering over a function name only sees the message "loading...", it takes about a minute to finally see the type information, and during this time, the chezscheme processing running idris2.so is spinning CPU at 100%.
The same behavior happens regardless of whether the Hover Action is set to "Type Of" or "Type At". However, when the hover action is set to "Type At", hovering over certain locally defined function would trigger the loading issue every time. I have not been able to reproduce the issue on all locally defined functions though.
Environment:
Idris 2, version 0.4.0-f77670814
idris-vscode v.0.0.9
Maybe it's a version mismatch between idris2 and idris-vscode?

It sounds like an issue with the idris2 process starting. Can you run idris2 --ide-mode --find-ipkg in the project directory and see what it outputs?

Hey, I have the same issue. Running idris2 --ide-mode --find-ipkg gives the expected output:
> idris2 --ide-mode --find-ipkg
000018(:protocol-version 2 0)

Is there something else I can try in order to debug this? Thanks!

Are you also using 0.4.0, and do you have an example of a repo where this is happening?
I'm testing on the Idris2 repo because most people have that, but it's a bit problematic because the idris2 --ide-mode --find-ipkg command is confused by the two ipkgs files, but if I temporarily remove the idris2api.ipkg file, it works. I'm using 0.4.0, from the Nixos unstable channel.
The best way to test is to clone this repo, change line 76 in src/state.ts to debug: true and rebuild it. The readme has instructions for running locally. In the debug console in VS you will be able to see all of the messages that go to and from and ide-process.
<< 00003e((:load-file "/home/michael/dev/Idris2/src/Core/Hash.idr") 1)

>> (:protocol-version 2 0)
>> ...lots of source highlighting messages

If it's not working for some reason, like the ipkg thing, it won't show anything after the :load-file message.

Thanks! This is a snippet where I can reproduce it and I've made a screencast of the issue:
https://user-images.githubusercontent.com/11774614/124507930-209c1200-ddcf-11eb-9e6a-b5d5428aa337.mp4
First I hover over example and it works just fine.
Next, I hover over the colon in the type definition of example. Afterwards, the CPU load goes up and it gets unresponsive.

I just tested #60, and it actually seems to fix this issue for me!

That's really helpful, thanks for making that.
Looking at it, it might have been that bug after all. In the worst case when you hover between words, it was trying to type check the whole document, and then got stuck.

#60 was a bug in that it was evaluating both the early-out code-paths and the long-form code paths, but returning immediately regardless. I do believe, however, that there's still a bug- the final res(...) lines should either be returned or awaited as well.

That fix is released in the 0.0.10 version.