[FEAT] New cards first?

Is your feature request related to a problem? Please describe.
I have about 100 cards in one deck, and I add new ones regularly. During review, I only process about 20-30. When I click "review flashcards from notes" (regardless of "random order" setting), I don't get the new ones first. So I could review my 100 cards 10 times, and never see the new ones.
Describe the solution you'd like
Option to show new/unrated first, or to choose "just the new ones"
EDIT:
I just realized it's worse than I thought (from the perspective of what I'm trying to accomplish). The new cards are placed AFTER any the available reviewed ones. No wonder I'm never seeing new ones. If I mark as "hard, show me again tomorrow", and only review 20 cards, I'll just see the same 20 cards over and over!
Workaround:
I used a find and replace to add 1 month to existing cards. Not ideal, but it will give me a chance to see new ones.

I'm not sure how to reproduce that. I haven't had that problem. My deck has 210 cards and in every review I have got due cards (green) and new cards (blue).

I'm not sure how to reproduce that. I haven't had that problem. My deck has 210 cards and in every review I have got due cards (green) and new cards (blue).

Yes I see the green blue distinction. But still when I choose the deck, I'm always presented with the Dues before the News. What do you get served first?

Yes I see the green blue distinction. But still when I choose the deck, I'm always presented with the Dues before the News. What do you get served first?

I think new cards come after due cards. But this isn't problem since I always review everything. For example now I have 19+4 cards to review.

Yes I see the green blue distinction. But still when I choose the deck, I'm always presented with the Dues before the News. What do you get served first?

I think new cards come after due cards. But this isn't problem since I always review everything. For example now I have 19+4 cards to review.

Right, so we are seeing the same thing. I only review about 20-30 of my 100+ cards each time. And I like very short repeat days, so I well often set them to be "due" tomorrow. I want to review them daily.
Since due comes before new, I just see the same 20 over and over, even with the "randomize" setting on.

Ok I see. The plugin should randomize green and blue cards together and not separately.
Lähetetty sovelluksesta Outlook for iOShttps://aka.ms/o0ukef

Lähettäjä: csss1234 @.>
Lähetetty: Saturday, January 28, 2023 5:35:52 PM
Vastaanottaja: st3v3nmw/obsidian-spaced-repetition @.>
Kopio: maggaou @.>; Comment @.>
Aihe: Re: [st3v3nmw/obsidian-spaced-repetition] [FEAT] New cards first? (Issue #610)
Yes I see the green blue distinction. But still when I choose the deck, I'm always presented with the Dues before the News. What do you get served first?
I think new cards come after due cards. But this isn't problem since I always review everything. For example now I have 19+4 cards to review.
Right, so we are seeing the same thing. I only review about 20-30 of my 100+ cards each time. And I like very short repeat days, so I well often set them to be "due" tomorrow. I want to review them daily.
Since due comes before new, I just see the same 20 over and over, even with the "randomize" setting on.
—
Reply to this email directly, view it on GitHubhttps://github.com/st3v3nmw/obsidian-spaced-repetition/issues/610#issuecomment-1407423810, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHZRI6YPK2GQ5DIHI6NWUC3WUU4FRANCNFSM6AAAAAAUGL2N3A.
You are receiving this because you commented.Message ID: @.***>

Ok I see. The plugin should randomize green and blue cards together and not separately. Lähetetty sovelluksesta Outlook for iOShttps://aka.ms/o0ukef
…

I'd like even more to have an option to show new first.

Hi @csss1234 I have enhanced the plug-in to give greater flexibility in how cards are ordered during review.
Would be great if you (and anyone else) could Beta Test. There are two new options that replace the existing single "Randomize card order during review" option.

I've been using the "Random card from random deck" option which I quite like.

There is a file called main.js in this zip file
main.zip
You will need to copy that to the obsidian plug-in folder, e.g.
D:\Obsidian\Obsidian\.obsidian\plugins\obsidian-spaced-repetition
Then reload the plug-in.
Cheers
Ronny

Would be great if you (and anyone else) could Beta Test

Thanks, I tried it. It is working, but there's one issue.
If there is a LAST due card of a deck for the review, once it is marked, the GUI returns to the menu displaying the decks.
This doesn't happen in the case of other cards.
This resembles how, after reviewing the whole deck, it returns to the home menu.
Like shown in this video

Hi @moiSentineL
I think I've fixed this now. When you have a chance, could you please test and let me know the result.
main_610A.zip
Cheers
Ronny

Thanks, @ronzulu
It works fine now. There has been no instances of that bug after 15-20 mins of doing the flashcards.

Hi @moiSentineL  the has been included in the latest release 1.11.0. Please close this at your convenience.
Cheers
Ronny

I think it could be nice if the Options get split up.
Order the cards in a deck are displayed during review

Sequentially
Randomly

Order priority of cards in a deck

Newest first
Due first

Order decks are displayed during review

Sequentially
Randomly

Switch decks during review

Never
Deck finished
Always

Not sure this is allready fixed or I just have an different point of view. But for me in the selection of the decks when you click on lowest level of decks (1) this is the deck this makes sense. But if you click on one of the parents decks (2) this not the deck instead it switches between the subdecks.
I think it would make much more sense if the "clicked deck" is the deck and containing the cards of its child decks.


How to generate 'ctrl+c' event or is there any internal function to stop the recording at any time?

I am developing a GUI which can record audio for an arbitrary duration using sounddevice and soundfile libraries. The recording process is stopped by pressing 'ctrl+c' button combination. I am trying to implement a GUI with a 'start' and 'end' button. The 'start' button should invoke the record function and the 'end' button should simulate 'ctrl+c' event. I don't know how this event can be implemented as a function in python. Or is there any other inbuilt function to stop the recording?
Here is the code. I want to implement the end_button_func() to stop the recording.
import time
import queue
from PyQt5 import QtCore, QtGui, QtWidgets
import soundfile as sf
import sounddevice as sd
import keyboard

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(640, 480)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(280, 190, 75, 23))
        self.pushButton.setObjectName("pushButton")
        self.pushButton.clicked.connect(self.record)

        self.pushButton_1 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_1.setGeometry(QtCore.QRect(380, 190, 75, 23))
        self.pushButton_1.setObjectName("pushButton")
        self.pushButton_1.clciked.connect(self.end_button_func)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 640, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.pushButton.setText(_translate("MainWindow", "Start"))
        self.pushButton_1.setText(_translate("MainWindow", "End"))

    def record(self):
        self.q = queue.Queue()
        try:
            # Make sure the file is open before recording begins
            with sf.SoundFile('check.wav', mode='x', samplerate=48000, channels=2, subtype="PCM_16") as file:
                with sd.InputStream(samplerate=48000, channels=2, callback=self.callback):
                    # 1 second silence before the recording begins
                    time.sleep(1)
                    print('START')
                    print('#' * 80)
                    print('press Ctrl+C to stop the recording')
                    while True:
                        file.write(self.q.get())

        except OSError:
            print('The file to be recorded already exists.')
            sys.exit(1)
        except KeyboardInterrupt:
            print('The utterance is recorded.')

    def callback(self, indata, frames, time, status):
        # TODO: Check for the existence of frames and time arguments
        """
        This function is called for each audio block from the record function.
        """

        if status:
            print(status, file=sys.stderr)
        self.q.put(indata.copy())

    def end_button_func(self):
        pass

if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MainWindow = QtWidgets.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

Thanks a lot.

@dhineshdee Any news?

Hello,
Thanks for your message. Sorry for not replying.
Yeah, I solved this issue. The recording is run in a separate thread and the stop button raises a keyboard interrupt to stop the recording. However, I will take a look into your implementation.
Recently, I noticed another issue. Even though, we give 48kHz as the sampling rate parameter in the inputs for soundfile and sounddevice libs, the original recording is made according to the microphone recording setting (for example 8kHz) in the laptop and the lib converts the audio to 48kHz sampling rate. Actually, it is doing upsampling.
Do you have any idea how to solve this? I meant, the lib should be capable of recording as per the input parameters and not as per the laptops mic recording settings.

Actually, it is doing upsampling.

The underlying PortAudio library does resampling under some circumstances. Sadly, I don't know the exact rules for when it does that.
And I don't know how to check for the sample rates that are supported without resampling. There is the function sounddevice.check_input_settings(), but I think this doesn't provide a way to check for resampling.
Please ask at the PortAudio mailing list (http://portaudio.com/contacts.html) if you want to know details.

@dhineshdee Any news?

Closing due to lack of response.


Unable to pull Docker image

docker pull octoblu/meshblu
Pulling repository octoblu/meshblu
FATA[0022] Tag latest not found in repository octoblu/meshblu

Same issue, please update docker hub repository.

meshblu is now an automated build on the docker hub


feat(tokens): language tokens defined

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#12  👈
#11
#10
#9
#8
#7
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @delta1024 and the rest of your teammates on  Graphite

Merge activity

Jun 5, 8:00 PM EDT: @delta1024 started a stack merge that includes this pull request via Graphite.


fs: use statvfs in uv__fs_statfs() for Haiku

This patch fixes the build for Haiku and uses sys/statvfs.h in uv__fs_statfs().

Oops, there is a conflict now, can you please rebase?

@saghul I've rebased my changes, please review.

Landed in 501b5cc5, cheers!


Rename Builtin to Extern

@phischu is this better?

I removed the synthetic trait and moved TrackedParam into an enum. In consequence, synthesized capabilities are not recognized as such by LSP anymore...
https://github.com/effekt-lang/effekt/pull/179/commits/1472df59ca58e89d94ae2180013f30984333142a#diff-e2701c117c3da9d7a4b6be200f50bb5eaadd241f443cf9a658641e201ed6394eR1326-R1330


Import error: No module named 'pandas.compat.numpy'

Hi there!
Just installed Anaconda for Windows (pandas 0.18.1, numpy 1.11.0) and cannot fix the following problem, when I am trying to import pandas:
import pandas as pd
Traceback (most recent call last):
File "C:\Users\Username\AppData\Roaming\Python\Python35\site-packages\IPython\core\interactiveshell.py", line 2885, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
import pandas as pd
File "C:\Program Files (x86)\JetBrains\PyCharm 2016.1.3\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, args, *kwargs)
File "C:\Users\Username\AppData\Roaming\Python\Python35\site-packages\pandas__init__.py", line 22, in
from pandas.compat.numpy import *
File "C:\Program Files (x86)\JetBrains\PyCharm 2016.1.3\helpers\pydev_pydev_bundle\pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, args, *kwargs)
ImportError: No module named 'pandas.compat.numpy'

you were probably running with an old conda, which on windows can fail to install an upgrade if you are actively using the process (eg. you have pandas imported somewhere).
here are the latest
# packages in environment at /Users/jreback/miniconda:
#
anaconda-client           1.0.2                    py27_0    defaults
conda                     4.0.6                    py27_0    defaults
conda-build               1.20.3                   py27_0    defaults
conda-env                 2.4.5                    py27_0    defaults

so conda update conda
kill all of your python sessions
conda remove pandas -f
conda install pandas

Thanks for your quick answer!
conda update conda yields:
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
# All requested packages already installed.
# packages in environment at C:\Users\Username\AppData\Local\Continuum\Anaconda3
:
#
conda                     4.0.6                    py35_0

and conda remove pandas -f yields
usage: conda-script.py [-h] [-V] [--debug] command ...
conda-script.py: error: unrecognized arguments: -f

# packages in environment at C:\Users\Username\AppData\Local\Continuum\Anaconda
:
#
anaconda-client           1.4.0                    py35_0
conda                     4.0.6                    py35_0
conda-build               1.20.3                   py35_0
conda-env                 2.4.5                    py35_0

conda remove pandas --force
you also have to configure pydev to find the environment. no idea how to do that.

Now it works. Thanks! But what does the second line mean?
import pandas
Backend Qt4Agg is interactive backend. Turning interactive mode on.

that's from matplotlib and/or PyCharm


feature(client): Show Client ID somewhere in the Client

As a Firezone admin, I would like to be able to physically verify that a device I see in the Admin Portal is the same device I have physical access to.
At a minimum, I would like the UUID that is shown in the Admin Portal on be displayed somewhere on the Client device.  It would be even better if I could see more information about the Client/device in the Admin Portal to allow stronger verification, e.g. MAC addresses of all interfaces, kernel version, serial number, device model number, etc...

Requirement on iOS if we want to actually show device name is that we need to:

request an entitlement from Apple
actually use that / show it somewhere in the app UI (what this issue is)

request an entitlement from Apple

Why? We already have the device name to send it to the portal. Does displaying really require its own permission.

request an entitlement from Apple

Why? We already have the device name to send it to the portal. Does displaying really require its own permission?

We don't have it. We only get a generic name: iPhone when requesting it. This is a privacy feature to prevent apps from fingerprinting users by Jamil's iPhone - the default name for example.
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name

request an entitlement from Apple

Why? We already have the device name to send it to the portal. Does displaying really require its own permission?

We don't have it. We only get a generic name: iPhone when requesting it. This is a privacy feature to prevent apps from fingerprinting users by Jamil's iPhone - the default name for example.
developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_device-information_user-assigned-device-name

We don't necessarily have to show the device name right? We already uniquely identify device by ID so we can show that one instead?

Yeah, it looks like the portal stores this as external_id, so we just need to display this field on both sides to verify the connected client.

If we simply go back to reading the hardware serial and sending this unmodified to the portal as external_id, admins will be able to verify clients against other systems (MDM, XDR) to verify the client as well.

refs https://github.com/firezone/firezone/issues/6837


Terminal UI Crashes after cleaned via Terminal:Clear

VS Code Version: 1.74.3
OS Version: windows10

Nomally, Cursor positioned well with Powershell cmd (clear)
But, when i use Terminal:Clear it seems cleared terminal(actually it makes scroll very down)
i think that problem is cursor still stay on previous position even though all contents are cleared.

/duplicate #134448


[BUG] Import CSS to CSUI  doesn't work as expected with Mantine

What happened?
I am using mantine to create a CSUI. I need to import @mantine/core/styles.css. Following the Import Stylesheet guide, it doesn't work well. The code:
import { Button, Input, MantineProvider } from "@mantine/core"
import styleText from<EMAIL_ADDRESS>import type { PlasmoGetStyle } from "plasmo"

export const getStyle: PlasmoGetStyle = () => {
  const style = document.createElement("style")
  style.textContent = styleText
  return style
}

const UI = () => {
  return (
    <MantineProvider>
      <Button fullWidth>Button</Button>
      <Input variant="filled" placeholder="Input component" />
    </MantineProvider>
  )
}

export default UI

The result:
(the button should have a blue background and the input should have a light gray background)

If I add a normal import line, some styles will work, some not. The code:
import { Button, Input, MantineProvider } from "@mantine/core"
import styleText from<EMAIL_ADDRESS>import type { PlasmoGetStyle } from "plasmo"

import<EMAIL_ADDRESS>// add this line

export const getStyle: PlasmoGetStyle = () => {
  const style = document.createElement("style")
  style.textContent = styleText
  return style
}

const UI = () => {
  return (
    <MantineProvider>
      <Button fullWidth>Button</Button>
      <Input variant="filled" placeholder="Input component" />
    </MantineProvider>
  )
}

export default UI

The result:

Inspect the input component, it shows that some css variables are not define.

Same components works well in popup

Version
Latest
What OS are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Relevant log output
No response
(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

This is a tricky one. ref: #773
If you console.log the styleText, what does it contain?

This is a tricky one. ref: #773
If you console.log the styleText, what does it contain?

Look like it contains all the content of @mantine/core/styles.css, 6898 lines css.

have you ever tried this method https://mantine.dev/styles/vanilla-extract/

have you ever tried this method https://mantine.dev/styles/vanilla-extract/

This is not highly relevant to the problems I am currently facing. What I want now is to ensure that all default styles work as expected. Then I will use Vanilla extract or CSS Modules to make some custom styles.

Yes, I also encountered it

It seems there are 2 separate issues here:

Mantine adds CSS variables to :root by default, aka the <html> element, since shadow DOMs are DocumentFragments, not Documents
CSUI injects the shadow DOM outside of <body>, which doesn't allow some Mantine global styles to be applied (ref: https://mantine.dev/styles/global-styles/#body-and-root-elements-styles).

For #1, MantineProvider has a prop that allows you to change where CSS variables are added. In our case, we want it to be :host to apply to the shadow host:
<MantineProvider cssVariablesSelector={":host"}></MantineProvider>
For #2, manually override styles that apply to :root, html, and body:

Create an override CSS file (changing all :root, html, and body tags to :host, ref: https://mantine.dev/styles/global-styles/#css-reset and https://mantine.dev/styles/global-styles/#body-and-root-elements-styles):

:host {
    height: 100%;
    margin: 0;
    color-scheme: var(--mantine-color-scheme);
    font-family: var(--mantine-font-family);
    font-size: var(--mantine-font-size-md);
    line-height: var(--mantine-line-height);
    background-color: var(--mantine-color-body);
    color: var(--mantine-color-text);
    -webkit-font-smoothing: var(--mantine-webkit-font-smoothing);
    -moz-osx-font-smoothing: var(--mantine-moz-font-smoothing);
}

Import the CSS file to your CSUI, along with the Mantine global styles:

import globalCss from<EMAIL_ADDRESS>import shadowCss from "data-text:~shadow.css";

Export the getStyle function with both CSS applied:

export const getStyle: PlasmoGetStyle = () => {
    const style = document.createElement("style");
    style.textContent = globalCss + shadowCss;
    return style;
};

Could you let us know if this works for you?

Hi @0xjoo: thank you for your solution.  I've applied it and it works for buttons

but not for inputs (the below is using <TextInput variant="filled" /> :

It seems there are 2 separate issues here:

Mantine adds CSS variables to :root by default (aka the <html> element, since shadow DOMs are DocumentFragments, not Documents) (ref: https://mantine.dev/theming/mantine-provider/#cssvariablesselector)
CSUI injects the shadow DOM outside of <body>, which doesn't allow some Mantine global styles to be applied (ref: https://mantine.dev/styles/global-styles/#body-and-root-elements-styles).

For #1, MantineProvider has a prop that allows you to change where CSS variables are added. In our case, we want it to be :host to apply to the shadow host (ref: https://mantine.dev/theming/mantine-provider/#cssvariablesselector):
<MantineProvider cssVariablesSelector=":host"></MantineProvider>

For #2, manually override styles that apply to :root, html, and body:

Create an override CSS file (changing all :root, html, and body tags to :host, ref: https://mantine.dev/styles/global-styles/#css-reset and https://mantine.dev/styles/global-styles/#body-and-root-elements-styles):

:host {
    height: 100%;
    margin: 0;
    color-scheme: var(--mantine-color-scheme);
    font-family: var(--mantine-font-family);
    font-size: var(--mantine-font-size-md);
    line-height: var(--mantine-line-height);
    background-color: var(--mantine-color-body);
    color: var(--mantine-color-text);
    -webkit-font-smoothing: var(--mantine-webkit-font-smoothing);
    -moz-osx-font-smoothing: var(--mantine-moz-font-smoothing);
}

Import the CSS file to your CSUI, along with the Mantine global styles:

import<EMAIL_ADDRESS>import globalCss from<EMAIL_ADDRESS>import shadowCss from "data-text:~shadow.css";

Export the getStyle function with both CSS applied:

export const getStyle: PlasmoGetStyle = () => {
    const style = document.createElement("style");
    style.textContent = globalCss + shadowCss;
    return style;
};

Could you let us know if this works for you?

I've just encountered this issue too. And, I can say this solution works. But in my extension, the problem is the style from Mantine leaks to the main web page. It overrides some styles from the web page with Mantine's style.
Currently, I'm still trying to solve this issue. I'll post here again once I can solve this issue.

I've successfully solve my issue above. The problem was in this import:
import<EMAIL_ADDRESS>
When we use it inside popup or the side panel page, it will work fine because it's isolated from the main webpage. However, when we create an extension with overlay/inline with the webpage, the import above will override the CSS of the main webpage because it was imported globally.
If we removed that line, some Mantine's components won't work. For my case, Mantine's modal didn't work because it was portal-ed from shadow DOM to the main webpage. So, the modal can't access the CSS inside the shadow DOM.
My solution is I implemented my own custom modal that can work inside shadow DOM.

I've successfully solve my issue above. The problem was in this import:
import<EMAIL_ADDRESS>
When we use it inside popup or the side panel page, it will work fine because it's isolated from the main webpage. However, when we create an extension with overlay/inline with the webpage, the import above will override the CSS of the main webpage because it was imported globally.
If we removed that line, some Mantine's components won't work. For my case, Mantine's modal didn't work because it was portal-ed from shadow DOM to the main webpage. So, the modal can't access the CSS inside the shadow DOM.
My solution is I implemented my own custom modal that can work inside shadow DOM.

Can you share it?
I'm also having issues when using modal and darkmode.

@murnifine sure. My project is open-source. Take a look at this file https://github.com/chloe-matt/sonastik/blob/main/browser-extension/contents/plasmo-overlay.tsx

mantine v7.9.0 was recently released and seems to support the use of @emotion again

Also, forgot to mention, make sure to set modals (among other components) to render within the shadow DOM, not via a portal:
const theme = createTheme({
  components: {
    Modal: Modal.extend({ defaultProps: { withinPortal: false } })
  }
});

This allows styles to be correctly applied to the modal, since it will render with the shadow DOM's styles applied.

I've successfully solve my issue above. The problem was in this import:
import<EMAIL_ADDRESS>
When we use it inside popup or the side panel page, it will work fine because it's isolated from the main webpage. However, when we create an extension with overlay/inline with the webpage, the import above will override the CSS of the main webpage because it was imported globally.
If we removed that line, some Mantine's components won't work. For my case, Mantine's modal didn't work because it was portal-ed from shadow DOM to the main webpage. So, the modal can't access the CSS inside the shadow DOM.
My solution is I implemented my own custom modal that can work inside shadow DOM.

Ran into the same issue and found a workaround. Not fully tested, so please let us know if you run into any issues if you try this out.
As mentioned above, the main issue is due to the following import, which applies Mantine styles globally:
import<EMAIL_ADDRESS>
However, if we remove this import, some styles are not applied, even when exporting Plasmo's getStyle function.
It appears that Plasmo's getStyle function adds the CSS style directly under #shadow-root, which does not correctly apply to Mantine components within.
It seems that when the cssVariablesSelector is set to :host, Mantine doesn't correctly find CSS variables from the <style> tag that Plasmo inserted underneath the shadow DOM.
To force Mantine to correctly use the inline styles, we can make the following changes:
1. Import the default Mantine styles (as text):

import mantineCss from<EMAIL_ADDRESS>
2. Import custom CSS styles to apply global styles within the shadow DOM (as text):

import overrideCss from "data-text:~styles/override.css";

where override.css has the following content:
div.plasmo-csui-container {
  margin: 0;
  color-scheme: var(--mantine-color-scheme);
  font-family: var(--mantine-font-family);
  font-size: var(--mantine-font-size-md);
  line-height: var(--mantine-line-height);
  background-color: var(--mantine-color-body);
  color: var(--mantine-color-text);
  -webkit-font-smoothing: var(--mantine-webkit-font-smoothing);
  -moz-osx-font-smoothing: var(--mantine-moz-font-smoothing);
}

3. Define `MantineProvider` to use the following props:

<MantineProvider
  theme={...}
  cssVariablesSelector="div.plasmo-csui-container"
  getRootElement={() =>
    document.querySelector("plasmo-csui").shadowRoot.querySelector("div.plasmo-csui-container")
  }
>
  <style>{mantineCss + overrideCss}</style>
  {...}
</MantineProvider>

The main difference you'll notice is that we changed the cssVariablesSelector prop from :host to div.plasmo-csui-container. This allows Mantine to correctly source CSS variables from within the div.plasmo-csui-container container.
You'll also notice that we updated the override.css CSS to use the same container as its selector.
We also define the getRootElement prop to correctly set the data-mantine-color-scheme attribute (Ref: https://mantine.dev/theming/mantine-provider/#getrootelement).
Lastly, we drop the use of Plasmo's getStyle function, and apply it inline via <style> tags within MantineProvider, so that the styles are inserted inline within the div.plasmo-csui-container container.
Full implementation via a dedicated theme.tsx file:
import { createTheme, MantineProvider, mergeThemeOverrides, Modal } from "@mantine/core";
import mantineCss from<EMAIL_ADDRESS>import overrideCss from "data-text:~styles/override.css";

export const defaultTheme = createTheme({});

const contentTheme = createTheme({
  components: {
    Modal: Modal.extend({ defaultProps: { withinPortal: false } })
  }
});

const mergedTheme = mergeThemeOverrides(defaultTheme, contentTheme);

export function ContentProvider({ children }) {
  return (
    <MantineProvider
      theme={mergedTheme}
      defaultColorScheme="auto"
      cssVariablesSelector="div.plasmo-csui-container"
      getRootElement={() =>
        document.querySelector("plasmo-csui").shadowRoot.querySelector("div.plasmo-csui-container")
      }
    >
      <style>{mantineCss + overrideCss}</style>
      {children}
    </MantineProvider>
  );
}

where defaultTheme can be imported to be used in your app's MantineProvider, while still applying to CSUI components. contentTheme includes theme overrides that should only be applied to CSUI components. mergedTheme merges the two and uses it within a dedicated ContentProvider, which wraps MantineProvider with the necessary overrides to apply Mantine styles to CSUI components. This should make it easier to develop CSUI components, since all the overrides are done locally in this file.
Lastly, make sure to set modals (among other components) to render within the shadow DOM, not via a portal:
const theme = createTheme({
  components: {
    Modal: Modal.extend({ defaultProps: { withinPortal: false } })
  }
});

This allows styles to be correctly applied to the modal, since it will render with the shadow DOM's styles that we set inline above.
Please let us know if this works for you!

Thx to your explaination that make me got why those problems happens. I have tried ur solution but still exist a problem. So far I need Notication System and Modal. Under ur solution, the Modal works. But Notificatio lose styles. And I tryied to move Notification to plasmo-csui as below
const contentTheme = createTheme({
  components: {
    Modal: Modal.extend({ defaultProps: { withinPortal: false } }),
    Notifications: Notifications.extend({ defaultProps: { withinPortal: false, position: "bottom-right" } })
  }
})

But the position of notification is error. It's always placed in left-top. And I don't know how the location system works. So I decide make notification within portal. And try to figure out the problem that styles losted. After my effort, it works. Maybe my solution can help u.
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
import mantineCss from<EMAIL_ADDRESS>
export const getStyle = () => {
  const style = document.createElement('style');
  // tailwindCss refer to https://docs.plasmo.com/quickstarts/with-tailwindcss
  style.textContent = mantineCss + tailwindCss().textContent;
  return style;
};

const theme = createTheme({
  components: {
    Modal: Modal.extend({ defaultProps: { withinPortal: false } }),
  },
});

const getRootElement = () => {
  return document.querySelector('plasmo-csui').shadowRoot.querySelector('div.plasmo-csui-container') as HTMLElement;
};

function ContentApp() {
  useEffect(() => {
    const html = document.querySelector('html');
    html.setAttribute('data-mantine-color-scheme', 'light');
  }, []);

    return (
      <>
        <MantineProvider theme={theme} getRootElement={getRootElement}>
          <Notifications />
          <ModalsProvider />
        </MantineProvider>
      </>
    );
}
export default ContentApp;


Question about ImVoteNet config

These 8 lines in config contains 2 calls of Flip and 1 call of Pad. First question is why do we need RandomFlip call as RandomFlip3D does the same thing after all?
Second question, is about the order of Pad and RandomFlip3D. If I understand mmdetection code correctly, we usually first flip the image and then pad it on the bottom and right edges. However here we first pad and then flip. Is it a bug, or it is somehow not important in case of ImVoteNet?
Probably, @THU17cyz can help.

Hi @filaPro , thank you very much for pointing out this issue. This is indeed a bug. We should first flip and then pad. And the RandomFlip is also not necessary. We shall fix this, and your help is also very welcome.

Can make a PR and also retrain the model on 8 GPUs to see if the fix influences something.

Closed as the discussion in https://github.com/open-mmlab/mmdetection3d/pull/877


Return parsed values of AuthnRequest to get attributes like ForceAuthn

Describe the bug
ForceAuthn attribute used to perform the re-authentication of the user if the user already login
Currently IDP.ValidateAuthnRequest function returns the error if any,
to get to know the value of the attributes like Id andForceAuthn as well

@mayankagwl I would like to pick this up, can you please point me to some resources so that I can understand this issue well

@avinashdhinwa
Currently, while parsing the AuthnRequest we are just returning the validation error
if validationError !=nil {
  return validationError
}

Instead of returning the only the validation error, we would like to return the parsed value of AuthnRequest as well
like: ForceAuthn, ID, IsPassive, Issuer, AuthnContextClassRef etc
Above all value come with the AuthnRequest
Using these values implementer can perform the action.
ex. if ForceAuthn is true, then the user needs to reauthenticate if already logged in.
So we just need to return the parsed value of AuthnRequest
Thanks

@mayankagwl Understood the problem.
One more question, is the structure of AuthnRequest documented somewhere?
I could see the file utility/request.go which creates a dummy request and has two keys RelayState and SAMLRequest (base64 encoded data), so will all the attributes be present in SAMLRequest or there be more keys in the request itself. Can you point me to some kind of documentation of these request structure, its possible that this is a global standard but I'm not aware of it.
Thanks

@avinashdhinwa
You can take below an example of AuthnRequest
<saml2p:AuthnRequest xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"
                     AssertionConsumerServiceURL="https://service-provider.com/saml/post"
                     Destination="https://identity-provider.com/saml/post"
                     ForceAuthn="true"
                     ID="SNC9de275f658e0b31c1dd9b8a3160f94e9"
                     IsPassive="false"
                     IssueInstant="2020-10-01T12:37:33.128Z"
                     ProviderName="SP test"
                     ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
                     Version="2.0">
  <saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">https://service-provider.com</saml2:Issuer>
  <saml2p:NameIDPolicy AllowCreate="true"
                       Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" />
  <saml2p:RequestedAuthnContext Comparison="exact">
    <saml2:AuthnContextClassRef xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef>
  </saml2p:RequestedAuthnContext>
</saml2p:AuthnRequest>

Thanks @mayankagwl , this is helpful

@mayankagwl I need to make changes to AuthnRequest struct in internal/schema.go to accommodate these new fields, Right?

@mayankagwl Since the schema of AuthnRequest is defined in an internal package, how do we send AuthRequest data to users of this library?
Should we create another struct in saml package which is similar to AuthnRequest or should the library return an interface

@mayankagwl Since the schema of AuthnRequest is defined in an internal package, how do we send AuthRequest data to users of this library?
Should we create another struct in saml package which is similar to AuthnRequest or should the library return an interface

I'm sending interface{} right now from the library, please suggest what should be the right way of doing this. I would prefer creating another struct in another package called DTO (or something similar) and embedding that struct into AuthnRequest in internal package and returning the dto from ValidateAuthnRequest method.
I hope I'm going in right direction with respect to the problem we are trying to solve.

@avinashdhinwa Yes As we are not exposing the AuthnRequest structure to the public,
you can create another struct with AuthRequest Property like (ID, IsPassive, ForceNAuth, etc) in parse.go file
Because of function related to the Parsing the AuthnRequest. we can do it in the parse.go file

@mayankagwl I believe it shouldn't be in parse.go as the methods' responsibility in parse.go is just to parse it, which it is already doing. What is we need is just a way to send data from ValidateAuthnRequest method. Also I believe we can move parse.go in internal as well.

@avinashdhinwa yes we can move parse.go under the internal package as well
And for returning the Parsed value I also prefer the Struct pointer instead of map
Thanks

@mayankagwl Ahh.. I missed that a method in parse.go depended on IDP, so can't move it internal.
I've created a struct, it has only four basic properties as of now. Please let me know if anything else needs to changed or added, moving PR from draft to active.

@avinashdhinwa
And LoginRadius is also giving swags to people who will be contributing, so please make sure to read our blog and submit your info to get free goodies.
https://www.loginradius.com/engineering/page/hacktoberfest2020

@mayankagwl Thanks for the support, it was the second PR which I've ever raised on an open source project and the first one to be merged.


Add Tooltip for adding all conversation turns in AddToTestSetDrawer

This pull request adds a Tooltip component to the AddToTestSetDrawer file. The Tooltip provides a description and functionality for adding all conversation turns as individual data points. This enhancement improves the user experience and makes it easier to add multiple exchanges in a conversation.

@bekossy can you please review and test


How you manage the error in evaluate_main()?

Hi @MaggotHATE ,
Sorry, it is not a issue, it is a doubt. In the main example there is a part where if an error occurs the chat ends:
LOG("eval: %s\n", LOG_TOKENS_TOSTR_PRETTY(ctx, embd).c_str());

if (llama_decode(ctx, llama_batch_get_one(&embd[i], n_eval, n_past, 0))) {
     LOG_TEE("%s : failed to eval\n", __func__);
     return 1;
}

I saw, you use the function: evaluate_main(), int checkEmb(), but I don't understan how you manage the error.
https://github.com/MaggotHATE/Llama_chat/blob/55e8c9db7dbb879a1b6e04427afff8dc61133337/chat_plain.h#L1299
I mean, I don't understand in which cases the error occurs and how to avoid it or how manage it (my knwolege of llama is limited). In my app (a chat bot) at the moment I am using a work around in which if the error occurs within an external while(true) the chat is launched again and it gives the impression that the chat continues and the user does not perceive that the program ended abruptly.
So, please, could you explain to me how you manage the error?
Thanks for the help!

Hi! As far as I understand it, this cornercase happens when a non-typical element is present. llama_decode traces back to llama_decode_internal, but I haven't gone that far to study it. All I know for sure is that this particular case has never happened for me so far - at least with compatible models that I tried and with prompts that I used.
Ideally, for continuity you would want to skip such element and proceed, and/or maybe heal the invalid element if you assume it's a symbol. Again, that's just my guess. Hope it helps!

Thank you very much for your quick response and taking your time. The error happens to me in Llama2 7B when I intentionally introduce very large and random prompts in my tests.
So, just to make sure I understood correctly: "for continuity you would want to skip such element and proceed"
In your project, if the error occurred is what you are doing?
Again, thank you very much!

The error happens to me in Llama2 7B when I intentionally introduce very large and random prompts in my tests.

Very interesting, this never happened to me with that model - however, it's been a long while since I tried pure Llama2 7b. What size prompts do you use? Are they within Llama2 7b maximum context?
Currently, if the error occurs, the existing context fails evaluation in checkEmb(). However, it doesn't stop there as checkEmb() itself never leads to termination.
Again, I've never encountered this error, so I didn't change this part of main. Keep in mind that my program is fully local, so it's expected that a user will simply relaunch it (or even better, restart the model).

"What size prompts do you use? Are they within Llama2 7b maximum context?"
It's a good point, to do "extreme" tests, I have included paragraphs from Wikipedia as entry prompts, and I print this:
printf("\nn_eval: %d, n_past: %d, i: %d, embd_size: %d, bat_n_tokens: %d\n", n_eval, n_past, i, (int)embd.size(), batch_all.n_tokens );
and I did not register any pattern in the values that would give me an indication of when the error occurs. I will check the size of the input promt also in embd_inp.
Thank you very much for your help! Success with your projects!

@Zapotecatl Hi again, sorry for ping, but just for clarity: I have finally seen the effect of this particular error: indeed, it happens when the size of input is greater than the model's context size. In my case, it was a large set of data I wanted to analyze with Hermes-2-Theta-Llama-3-8B. However, it is only a 8k context model, and the error started happening once the processed context was over that limit.
As such, it might be a model-specific problem, as going over the context size is managed automatically in main.

Thanks a lot, great!


YouTube Links

Should we put YouTube links in Scratch's frame, or create our own?

Scratch - there's no reason to reinvent the wheel

I agree w/ nanalan. Any thoughts?

Actually, scratch just uses an iframe - we can do the same.

I mean should we use Scratch's page, or create our own? It isn't really that hard to create our own, cause yep, it's an iframe.

Redirected to Scratch


227 false gets removed in transformations

Wasn't really sure about how to do it in pysdd...

After discussion offline: will implement a BoolVal wrapper so False can become a CPMpy expression. This will be part of a new transformation which also unravels all nested lists. Then every transformation will simply get a flat list of constraints and all transformations should work as is with the new BoolVal expression.
Will still have to add the cas of posting False to the solver in the _post_constraint of all solvers.

We have a bunch of research code that expects flatten_constraint() to continue working also on a single expression.
I hence propose to make flatten_constraint() a semi-meta function that calls make_expr internally. That means solvers dont need to add the transform themselvs.  I'll play with this on the plane.

I reworked it some more. I think its looking nice, would be good to see this land rather soon, so we can base other branches on this.
It tested good on bigtest (ortools) too (no noticable timing differences though, a bit to my surprise)
@Wout4 and @IgnaceBleukx can you have a final look and merge?

Can confirm all tests run, for pysdd as well.
Ready to merge for me. @Wout4 waiting for your final thoughts before merging.

looks good to me!


Forestry Support

At the start of any isEqual comparison, if Forestry is loaded, it determines if either item is a Forestry Bee with a GEN tag and if so flags the comparison with COMPARE_STRIP_NBT. A forestry case with the GEN tag has been added to the stripTags method.
Is this better?

No, it's not. The comparer needs to guarantee correct compares, we can't just strip nbt when not asked to strip.

I was under the impression that modifying NBT tags directly outside of comparison was not wanted and thus tried to integrate it to the one method that did such operations but wanted to avoid that for your stated reason the first time. Either way I do understand why it was better to be moved.
I am also sure that moving above the IComparer is a bad idea; trying to ensure all the different items that can extract and insert all accommodate for these items is bound to just get messy and mistakes made.
Yes, I could fairly quickly add in trees and butterflies once I understand the NBTCompounds.
I'll get this right eventually, but I did need some gauging to see the proper mindset here. I'll work on it.

I think setting appropriate methods with a sanitize flag is better than altering the default behavior and then trying to blacklist some methods. I'll change that behavior back and put the flags in properly.

This is starting to look at lot better than before, keep up the good work!

Should I just re-base the fork at this point?

I'll re-fork and start a new pull once this is fixed.


[games-on-whales] error: could not open displa

Helm chart name
games-on-whales
Helm chart version
1.7.0
Container name
xorg
Container tag
1.0.0
Description
kubectl logs games-on-whales-78874f7c64-jcglq xorg
Allow /dev/uinput r/w to the group
Adding user 'root' to groups: kvm,root
Starting Xorg (:99)
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux o790m 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13.0-39-generic root=UUID=ae38c794-c9d3-4585-ae59-59908545c16c ro quiet splash vt.handoff=7
Build Date: 06 July 2021  10:17:51AM
xorg-server 2:1.20.11-1ubuntu1.1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.99.log", Time: Tue May  3 00:05:07 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
vesa: Ignoring device with a bound kernel driver
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.99.log" for additional information.
error: could not open display
(EE)
(EE) Server terminated with error (1). Closing log file.
Expected result
xorg should be running healthy
Helm values to reproduce
Used default values

Additional Information
No response
Repo link
No response

The configuration for this app is pretty intense, I would take a look at @angelnu helm values for ideas
https://github.com/angelnu/k8s-gitops/blob/main/apps/default/gow/release.yaml


Update to react-native 0.74

I cannot install @knocklabs/react-native in my project because the current release requires version 0.73 of react-native.
I notice that in this WIP PR https://github.com/knocklabs/javascript/pull/168 the project is updated to react-native 0.74. Any chance we could please get a release that brings these changes forward so that those of us using RN 0.74 can install the library? Thanks

See also https://knockcustomers.slack.com/archives/C0334KQDJLF/p1722473196574669

@novemberkilo Thank you for bringing this to our attention. I will get a new build pushed out tonight with the updated version requirements

@novemberkilo Can you try out version 0.2.10 and let me know if that has fixed your issue?

Thanks @matgar26 I can confirm that npm install @knocklabs/react-native completes cleanly now. Thanks for the quick turnaround 👍🏾

Separately, I'm excited to use the components that will come from #168 -- thanks for your work on that :)


Updated BetterTouchTool Cask with new release location

BetterTouchTool's releases are now at a new address. This only applies for versions 1.5 and greater, which have the same compatibility as the 1.49 release that 1.5 replaces

You'll need to update the sha256, I'm getting f6408c0ba48588cd547bef4abdcfd723af5133af141f9f7a146d9ee7721f86e6.  Also, from the appcast this appears to be version 1.5b, although it appears previous versions may not be kept online; this may need to move to :latest?
@jawshooah Did travis run brew cask audit?  I don't think I see it and this should've died on the --download.

My mistake, pushed the wrong commit. Will fix when I get home

@Amorymeltzer because RuboCop failed the build (unnecessary double-quotes) before we got to the audit.

@jawshooah Ahh right, duh.  I think I thought the recent configuration put the cask-breaking checks would first, dunno why.

That's probably a good idea, though. PR incoming.

@Amorymeltzer 's conjectures about older versions is true, they are no longer kept online and using :latest for this Cask makes more sense

Actually, since this has an appcast, it makes no sense to have it as :latest. We still prefer versioned urls since we can shasum them, and the appcast will make updating easier in the future, and that’s no longer a “someday down the line, who knows when”, since we now have a plan (see the script/bot section, I plan to start making something soon).
PR for update.


[SUPPORT] How to participate in HUDI code contribution

I would like to know what hudi's positioning is. Is there any Quickstart for individual developers to understand the use of hudi? Are there some relatively simple issues to help the initial participants contribute code

hi @azhsmesos thanks for your interests in contributing! please check out https://hudi.apache.org/docs/quick-start-guide for quick start examples (both spark and flink) and many more guides under https://hudi.apache.org/docs/overview
There is a new-to-hudi label you can filter on from jira. It's not up-to-date though, as in we have not deliberately gone through all issues to add this label. But it can be somewhere to start with. I'd also suggest go through https://hudi.apache.org/contribute/how-to-contribute and other related pages. Please provide feedback if you have further questions on these guides. cc @bhasudha


About props and State when using react.backbone

I read some articles on React Props and State and get confused about that.
props should not be modified if I didn't misunderstand props and state...
when using react.backbone, the model was passing in a component via props, and the model definitely will change, right? is that proper to update the component this way?
sorry if this question is too silly...

The props don't change, but their contents can change. So you pass a user. The user doesn't change, but his avatar_url might. In general the philosophy of backbone is a bit different from the philosophy of react, so in 'pure' react you indeed wouldn't do this, but pass in only a dumb object (like model.attributes)

@markijbema  thanks for your comment. one interesting thing that i've found is that another plugin called backbone-react-component seems use the state to hold the model data. so maybe that's just two different ways. anyhow, they both work.

+1 this confused me too. Thanks for clarifying - maybe add this quick explanation to README?
Thanks!

Good idea; could you make a pull-request on the readme?


How to set up?

I downloaded close to a year ago, and don't remember getting any keys.  I just opened EW again, and see my ETH, but where do i get the 12 word phrase in case I want to switch wallets?

You were supposed to write those down and keep them in a secure place at the time of opening and creating your wallet. Not sure if the version back then supported wallet file downloads which you must remember the password.
Unfortunately if you don't have those words, lost them, or didn't backup that wallet in any other form, even as a private key you most likely will never get them.
:\
What version?

So, I do have access to my wallet and have sent ETH not too long ago.  Recently, i did a disc compress on my computer.  After that, I was not able to send any ETH, it is giving me the following error...
ERROR: An unexpected error has occurred. Please restart & update emerald wallet.
The error was: Error invoking remote method 'vault/signTx': Error: Failed to sign
I know my password and also have the json file which is in notepad form.  As mentioned above, I don't have the seed words.  So, I uncompressed the Emerald wallet.exe and the json file.  I am still getting the same error.  I tried downloading EW to a different computer and then 'import existing private key' with the Unencrypted Private Key (copied/pasted the key) that is in the json file.  That also gave me an error...
ERROR: An unexpected error has occurred. Please restart & update emerald wallet.
The error was: Error invoking remote method 'vault/addWallet': Error: internal error in Neon module: Invalid JSON with options: Error("invalid type: null, expected struct AddWalletJson", line: 1, column: 4)
I don't know where to go from here.  I know my password is correct and I am actually in my wallet, but can't send.
Please helpl!

Hi @neptune-klm.
Error: Failed to sign actually means that the password is different from what was used to encrypt the key. Can you double check you use correct password?
I'm not sure I understand the part about the Unencrypted Private Key (copied/pasted the key) that is in the json file. The JSON Key is always encrypted. Are you decrypting it in some other app before doing import? Are you trying to import it as Raw Private Key? Or you import it as JSON Private Key? Both supported by Emerald Wallet, but latter would be easier I think.

I don't know what could have changed, I used the same password to sign the transaction that I did about a month ago.  I can actually open my json file and read it.  It has an Unencrypted Private Key listed in the file.  Yes, I was just trying to import the raw private key number from that json file.
Since I can open my wallet and view my ETH, is there anything I can export that could help me?

Standard Ethereum JSON keyfile doesn't contain Unencrypted Private Key, it's always encrypted with a password. And if you imported that JSON before, the password for that JSON is the password you should use to create a transaction. Do you know the password that was used when you created that JSON file?
I cannot explain why Emerald Wallet installs again, but it looks like some system feature that reverts changes or installs the app into a temp directory. Which Operating System do you use?

Windows 10 pro.  I believe it's the same password I use for my wallet.  Nothing has changed since I last sent ETH from my wallet and used my password, except that I did a disc compress.  Is it possible I accidentally deleted a file that I would have needed?

I don't think it's related to any deleted file, because the installation would fix it, or there would be different error.
Can I ask you to try to open that JSON file with MyEtherWallet or MyCrypto? To make sure it opens with the password, and shows a correct address.

I tried to upload it to a new EW on a different computer and it didn't do anything.  Where may the encrypted json file be stored for me to look for it?  What are those json files typically named?  i am going to recover lost files and see if i can find the encrypted one

You can check if you actually have a JSON file with private key. Please see examples on https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition and if your file have similar structure then it's a standard encrypted Private Key file, which can be imported into the Emerald Wallet.
If the structure of your file looks different, like you said contains unencrypted private key, then it's something non-standard and may need some different approach.

I see the examples, but since it's encrypted, should it be normal text, or jibberish?
Do you have an example of what the file name would typically be called x.json??  there are lots of .json files on my computer to search through.

The file should look like the following:
{
    "crypto": {
        "cipher": "aes-128-cbc",
        "ciphertext": "07533e172414bfa50e99dba4a0ce603f654ebfa1ff46277c3e0c577fdc87f6bb4e4fe16c5a94ce6ce14cfa069821ef9b",
        "cipherparams": {
            "iv": "16d67ba0ce5a339ff2f07951253e6ba8"
        },
        "kdf": "scrypt",
        "kdfparams": {
            "dklen": 32,
            "n": 262144,
            "p": 1,
            "r": 8,
            "salt": "06870e5e6a24e183a5c807bd1c43afd86d573f7db303ff4853d135cd0fd3fe91"
        },
        "mac": "8ccded24da2e99a11d48cda146f9cc8213eb423e2ea0d8427f41c3be414424dd",
        "version": 1
    },
    "id": "0498f19a-59db-4d54-ac95-33901b4f1870",
    "version": 2
}

Does your file look like that? It may be written just as one line, but it's still same structure

yes it does

i tried to add spaces and put it in the same format as the example, but it's still throwing the error...
The error was: Error invoking remote method 'vault/addWallet': Error: internal error in Neon module: Invalid JSON with options: Error("invalid type: null, expected struct AddWalletJson", line: 1, column: 4)
is one of those long number strings the key that i can copy and import instead of importing the .json?

@neptune-klm sorry for the the delay. yep, your file is a standard encrypted Ethereum JSON Keyfile.
I was trying to to reproduce the error, but no luck, all worked fine with my test keys. I guess we use different path in the UI to import the key. Maybe you can describe step by step what you do and what you click to import the file?
As alternative, you can open the file with MyCrypto desktop wallet, and then check the "Wallet Info" tab on the top. It allows you to see the unencrypted Private Key by clicking the "eye" button there. So you can copy it and import as raw Private Key into Emerald Wallet.


feat: add authority state parsing

WIP

Ok. Good first steps.

I am merging but I will be applying fixes right after.


Integrate Identity Verification

Integrate Identity Verification.
Related issue: https://github.com/wso2/product-is/issues/15730

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5103723656

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5103723656
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5105802876

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5105802876
Status: success


Ignore the S3 acceptance tests until we get a better acceptance test

I may just need to recycle these keys

there are python tests as well.

also https://github.com/delta-io/delta-rs/pull/168 should help troubleshoot issues like this :)

@houqp would you mind doing the skipping of the python tests, I don't have a working local Python development env for this


Initial current month is incorrect when value from v-model is already set

OS, browser, uiv version
Windows 10
Chrome 60
uiv 0.11.9
Which component
DatePicker
Steps to reproduce the problem

Use datepicker inside a dropdown like in the docs
Set the v-model to a predefined value, ie

//...
<date-picker v-model="date"></date-picker>
//...
data: ()=({
    date: '2017-08-25'
})

Expected behavior
When opening the dropdown, expecting currentMonth to be set to 8 (august).
Actual behavior
currentMonth is set to current date's, which is 9 (september) ..as I type now.
I've checked the source code. It seems that currentMonth and currentYear is set when component is mounted. I see that there is a watch for the value. However, I suspect that the hook will not be called until data changes.
I could use computed to make use of reactive value
computed: {
   dateValue: {
      get() {
        let ts = this.dateParser(val)
        if (!isNaN(ts)) {
          let date = new Date(ts)
          if (date.getHours() !== 0) {
            date = new Date(ts + date.getTimezoneOffset() * 60 * 1000)
          }
          return date;
        }
        return this.now;
      }
      set() {
          if (this.limit && ((this.limit.from && date < this.limit.from) || (this.limit.to && date >= this.limit.to)))
          {
            this.$emit('input', oldVal || '')
          } else {
            this.currentMonth = this.date.getMonth()
            this.currentYear = this.date.getFullYear()
          }
      }
   }
}

...or easier you could set currentMonth in mounted based on this.value

tested and I confirm watch hook is only called when data changes, not on init

Thanks for the bug report. Will be fixed in next release.


pornhd is now broken

verbose output
laptop:~/Private$ youtube-dl  -g --batch-file=pornhd -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-g', u'--batch-file=pornhd', u'-v']
[debug] Batch file urls: [u'http://www.pornhd.com/videos/11431/busty-mom-sara-jay-gets-facialized-hd-porn-video', u'http://www.pornhd.com/videos/11552/blonde-brooke-wylde-gets-big-tits-fucked-hd-porn-video', u'http://www.pornhd.com/videos/18855/ripped-pantyhose-is-what-she-wants-hd-porn-video', u'http://www.pornhd.com/videos/19319/fucking-her-stepdad-hd-porn-movie', u'http://www.pornhd.com/videos/23972/sexy-blonde-milf-alix-lynx-gets-fucked-hd-porn-movie', u'http://www.pornhd.com/videos/24768/sweet-blonde-elsa-jean-yearns-for-her-first-bbc-hd-porn-movie', u'http://www.pornhd.com/videos/24943/busty-mexican-babe-fucking-her-masseur-hd-porn-movie', u'http://www.pornhd.com/videos/25098/hot-babe-with-huge-tits-strips-naked-hd-porn-movie']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2015.11.21
[debug] Python version 2.7.6 - Linux-3.19.0-28-generic-i686-with-elementary_OS-0.3.1-freya
[debug] exe versions: none
[debug] Proxy map: {}
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pornhd.py", line 39, in _real_extract
r'(.+) porn HD.+?', webpage, 'title')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 593, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 584, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

This issue is already fixed and will be available in the next version of youtube-dl.

Thank you for the report. I believe this issue to be fixed in youtube-dl 2015.11.23 and newer. See our FAQ if you need help updating.


Create a list of alert-worthy events for Kubernetes

Action item from https://github.com/kubernetes/website/pull/29791/files#r715134850

Can SIG Security recommend a good sample / baseline alert events that we use in all examples moving forward?

/sig security docs
/kind feature

/remove-lifecycle stale

@PushkarJ I am not able to find more context on this. If you get sometime can you add some context? Thanks :)

/remove-lifecycle rotten

/remove-lifecycle rotten


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2895 ms

Resolved: Bofrost.at performance has improved in 601e990.


suggestion for introduce getblocktemplate-rpcs feature

Motivation
This is a suggestion (or potential follow-up) for PR https://github.com/ZcashFoundation/zebra/pull/5357 - we could add a new RPC trait with just the field that's currently being used and easily add all of the rest of the fields as they become necessary.
Review
@oxarbitrage can review & merge or close this PR.

I think this looks good.
I am concerned on how easy it will be to pass the rest of the fields we are going to need like state or mempool. Do you think it will be better to do that now ?

I thought it might be difficult to add the mempool but then I tried adding everything except the queue_sender to check and it was very easy.


Add Jenkins

Get Jenkins running to a point where we can start writing pipelines and safely use kubectl from within a pipeline.

@linux-modder this can now run the jenkins-jobs/create-snapshot when I manually create it. I'll work on automating the creation of the Jenkins jobs in another PR, but we have a functional Jenkins now. Please give this a once over before I merge it.


docs: Clarify amiSelector overriding default amis in amiFamily

Fixes #N/A
Description
This adds a clarifying statement about the amiSelector overriding the default amis selected-on by the amiFamily in the spec.amiSelector section of the docs
How was this change tested?
Does this change impact docs?

[x] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.547%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4952

Relevant Lines:
5999

💛  - Coveralls


[Bug]: Cannot update metadata value to None

What happened?
client = chromadb.Client()
collection = client.create_collection("test")

collection.add(
    embeddings=[[1.0, 1.1]],
    ids=["id_1"],
    metadatas=[{"string_value": "please_remove_me"}],
)

collection.update(ids=["id_1"], metadatas=[{"string_value": None}])

# Value Error:  Expected metadata value to be a str, int, or float, or list got None which is a <class 'NoneType'>

Looking at other parts of the codebase, I would expect updating metadata value to None to remove it
e.g. the types and validators imply None should be allowed for metadata updates
UpdateMetadata = Mapping[str, Union[int, float, str, None]]
And the SQLite metadata segment has the correct type and logic:
    def _update_metadata(self, cur: Cursor, id: int, metadata: UpdateMetadata) -> None:
        """Update the metadata for a single EmbeddingRecord"""
        t = Table("embedding_metadata")
        to_delete = [k for k, v in metadata.items() if v is None]
        if to_delete:

In short:
Collection.update should use UpdateMetadata and validate_update_metadata
Versions
Chroma v0.4.0
Python 3.8.10
Relevant log output
Traceback (most recent call last):
  File "testing.py", line 13, in <module>
    collection.update(ids=["id_1"], metadatas=[{"string_value": None}])
  File "/home/russell/projects/chroma/chromadb/api/models/Collection.py", line 272, in update
    ids, embeddings, metadatas, documents = self._validate_embedding_set(
  File "/home/russell/projects/chroma/chromadb/api/models/Collection.py", line 357, in _validate_embedding_set
    validate_metadatas(maybe_cast_one_to_many(metadatas))
  File "/home/russell/projects/chroma/chromadb/api/types.py", line 181, in validate_metadatas
    validate_metadata(metadata)
  File "/home/russell/projects/chroma/chromadb/api/types.py", line 140, in validate_metadata
    raise ValueError(
ValueError: Expected metadata value to be a str, int, or float, or list got None which is a <class 'NoneType'>

Thanks, will issue a fix!

Hi,
I too stumbled upon this issue.
Situation: I have written a custom lang-chain document_loader to load documents from Elasticsearch. I retain some of the fields of the elasticsearch document as metadata. Since it being elasticsearch, documents need not have all the fields. So, when a document does not have a field, I get a type(None) object.
I made a quick fix (just to see if it works) and it seems to be working. The essence of change is to just add type(None) to the check list in chromadb.api.types.validate_metadata().
Since I do not want to run custom chromadb code I've changed my Elasticsearch document loader to make sure None is mapped to an empty string but I feel that a fix for this bug will be a much cleaner solution.
Thanks in advance.
def validate_metadata(metadata: Metadata) -> Metadata:
    """Validates metadata to ensure it is a dictionary of strings to strings, ints, floats or bools"""
    if not isinstance(metadata, dict) and metadata is not None:
        raise ValueError(f"Expected metadata to be a dict or None, got {metadata}")
    if metadata is None:
        return metadata
    if len(metadata) == 0:
        raise ValueError(f"Expected metadata to be a non-empty dict, got {metadata}")
    for key, value in metadata.items():
        if not isinstance(key, str):
            raise ValueError(
                f"Expected metadata key to be a str, got {key} which is a {type(key)}"
            )
        # isinstance(True, int) evaluates to True, so we need to check for bools separately
        if not isinstance(value, bool) and not isinstance(value, (str, int, float, type(None))):
            raise ValueError(
                f"Expected metadata value to be a str, int, float or bool, got {value} which is a {type(value)}"
            )
    return metadata


Added quick support for RDF feeds.

I couldn't add Slashdot feed to the app, this quick fix does the trick.
I suppose it also solved this issue.

Awesome thanks!


Builds fail with: "[ErrorDetail(string='Too many uploads to this commit.', code='invalid')]"

Try Coveralls as an alternative - https://github.com/marketplace/actions/coveralls-github-action

See https://community.codecov.io/t/too-many-uploads-to-this-commit/2574

The problem is that we hit limits with our nightly runs.
Maybe https://github.com/marketplace/actions/git-auto-commit would mean we avoid the limit if we do an --allow-empty commit every night before the run.

Or we can try using github.event_name to avoid uploading coverage on nightly runs.

For now closing,
Fixed in #913


Do you have a solution to this problem

pytorch_lightning.utilities.exceptions.MisconfigurationException: The provided lr scheduler LambdaLR doesn't follow PyTorch's LRScheduler API. You should override the LightningModu le.lr_scheduler_step hook with your own logic if you are using a custom LR scheduler.

Hi @susu-gsupl, I tried to reproduce your exception but I couldn't. Did you use from torch.optim.lr_scheduler import LambdaLR or other implementation? I will push an commit with updated requirements.txt and some changes for compatiability. You can try if that will help.


Environment variables not being passed to PHP-FPM

When running scripts inside of this container it doesn't seem to pass any of the environment variables to the actual PHP scripts

You would need to alter your php-fpm.conf file to accept environment variables. In these images I have limited it, but it is an easy fix. I believe it should be at the bottom of the file to make your modifications. Personally I find it more a risk to have my environment variables exposed to the PHP engine due to the nature of some of the contents, but you are welcome to modify and make it work as you would like!

👌

@tiredofit
Can you just ADD env variable to enable this feauture?
This prevent googling and manual fixing for people who whants pass env variables.
As i know S6 allow clear env and docker did it by himself. Are you shure clear_env in PHP is actual for Docker?


improve fallback fonts alignment

try to proper align glyph from different fallback fonts on the baseline without some manually tricky tweaks
i guess in most cases (where no font fallback happens) it should look same as before
FontTweak::scale now should only affect glyphs themselves, not full text layouts (row heights, alignments etc). imo for the latter case is better to change the actual font size instead of using this hacky scale...

test using Cantarell as primary font and Noto Sans CJK as cjk fallback
all font tweak values are default

before
after

note the row height is now calculated using the font metrics from the tallest glyph
example: the second row is slightly taller than the first because of the noto cjk glyphs

before
after

might also resolve https://github.com/emilk/egui/issues/2700

before
after

why theres still some tweaks for the emoji-icon-font

emoji-icon-font
notoemoji-regular

note that emoji-icon-font has a significantly lower baseline than other common fonts.
this will make the correct rendering look a bit off center:

image taken from libreoffice

...which is not so good

Thank you!


Files cache not correctly handling EOL on Windows

Hello,
Whenever I try to read a cache file generated through Files on Windows, I get a miss with the following PHP notice:
PHP Notice:  unserialize(): Error at offset 0 of 3224505 bytes in D:....\vendor\apix\cache\src\Files.php on line 70
I realized that Files::loadKey relies on the assumption that PHP_EOL (used for adding key and expiration to the cache entry) is of size 1, which is not the case on Windows (\r\n).
Just to check that it was indeed the issue, I changed 2 lines in Files::loadKey to have:
$pos+strlen(PHP_EOL)
instead of:
$pos+1
and the unserialize function returned correctly this time.
I'm not sure this is the only occurence of the issue.
Could it be possible to have a fix for this?
Best regards,
--
Davy

Hi @davybatsalle, thanks for pointing this out. Your fix make sense.
Could you submit a PR?
Do you see that specific issue when running phpunit tests/FilesTest.php?
If not, could you also add a test that does.

Fixed in PR https://github.com/frqnck/apix-cache/pull/16.


Polish Translation

Hi All,
Just started on polish translation of this guide. Is it ok to do new PR even if it's not fully complete? or would you rather expect it to be fully completed?
Anyone interested in contributing ?

sure, get it started!

closing due to inactivity


Set access discord bot based by roles

To have much more streamlined community etc, we will be adding access roles based on what you are doing etc and have less channels and noise to look on.
I guess current roles we can have are

creators - channels related to collab, creators hangout etc
collectors - whale chat, proofing your holdings etc
developers - ones who doing development for kodadot
rest?

Inspired by psychadelic.ooo collective

we dont use discord anymore


placeholders for v2 documentation and proposals.

PR to give the starting point for requirements document and proposal section for future work.

Comment to @darrellodonnell's operations/EGF diagram comment, above, I would suggest that the large box is the central "starting point" for identifying all the components (and configuration) of the EFG/Jurisdiction and provides for configuration information for each compoent and also the "wiring diagram information" on how they all work together. Operations will likely add configuration information and define the use of the configuration information and "do" the actual "wiring" .
That configuration information may be distributed to the actual components themselves (e.g. Trust Registry)

Discussed over ToIP call:

Put a note around the fact this will be a living document, merge, and revisit later after proposal stage.
merge next week assuming no issues on APAC.

https://eidas.ec.europa.eu/efda/tl-browser/#/screen/home

https://openid.net/specs/openid-connect-federation-1_0.html

https://eidas.ec.europa.eu/efda/tl-browser/#/screen/home


Edit, Delete or create pages (not post)

is there any way to edit, delete or create pages from this py? i wish to update a custom page from running an instance of this py. Thanks!

This is not currently supported by the api. Sorry!


Run node.js GC after 800mb of garbage has accumulated

The static site rendering node server has been falling over due to using up all of the memory available to its EC2 instances. This configuration change will cause it to kick off garbage collection after 800mb has been used.
There is a chance that there is a memory leak somewhere in the application code, but I think that the default node.js GC threshold is the most likely culprit.

Instead of changing the command in npm, I'm going to move special environment-specific parameters like this to the EC2 init script.


Automatic Translations

Hello! I feel like a automatic translation system is a better idea than the current system. Because for each new translation, we have to add that each time we make a new UI element. If we have automatic translations using translate api for unspecified key value pairs this can be solved.

automatic translations sometimes are ridiculously incorrect

Although true, we could correct those as well and it is definitely better than having to individually go back and repeatedly change every translation. It also depends on which API you are using.

Translations/translators are no longer a problem


Added installation of the Storage Emulator

I thought the update/installation of the storage emulator from Demo 3 was also part of the labs of module 2.
I have added it as an optional installation. It should be working, if you select a preconfigured image from Azure.
Student don't use the storage emulator anymore in the C version for module 6 and 7. Only for module 8??

The intention was to not have students install the storage emulator at all for this course. Instructors can install it for optional demos (Mods 3 & 6) but long-term I think i should create an issue to remove the Storage Emulator from the course entirely.
It has a lot of idiosyncrasies that makes it hard to write lab instructions for.  What are your thoughts?  Maybe we should take this convo into an issue?

The intention was to not have students install the storage emulator at all for this course. Instructors can install it for optional demos (Mods 3 & 6) but long-term I think i should create an issue to remove the Storage Emulator from the course entirely.

That’s fine. I agree that instructors may use it for demos. For developers it could be confusing switching from emulator to real storage accounts in Azure and back.
With that intention, there is still a step left in the Lab Answer key from module 7. That one can be removed, isn’t it?
Instructions/Labs/dotnet/Mod07/20532C_LAB_AK_07.md</MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/blob/43e2e60c128235f5ac5725cae1951d0fce0fb0dc/Instructions/Labs/dotnet/Mod07/20532C_LAB_AK_07.md>
527</MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/blob/43e2e60c128235f5ac5725cae1951d0fce0fb0dc/Instructions/Labs/dotnet/Mod07/20532C_LAB_AK_07.md#L527> 12. Close the Azure Storage Emulator command prompt (cmd.exe).
And at the end of module 6, it says: Results: After completing this exercise, you will have used Visual Studio and the Azure emulators to create a comprehensive development environment for Azure Storage.
Instructions/Labs/dotnet/Mod06/20532C_LAB_AK_06.md</MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/blob/43e2e60c128235f5ac5725cae1951d0fce0fb0dc/Instructions/Labs/dotnet/Mod06/20532C_LAB_AK_06.md>
Instructions/Labs/dotnet/Mod06/20532C_LAB_06.md</MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/blob/43e2e60c128235f5ac5725cae1951d0fce0fb0dc/Instructions/Labs/dotnet/Mod06/20532C_LAB_06.md>

It has a lot of idiosyncrasies that makes it hard to write lab instructions for. What are your thoughts? Maybe we should take this convo into an issue?
I think this course is meant for developers to bring their developed stuff into the cloud. This course starts when you are finished playing with the Emulator to make things works. So stop using the emulator and bring it live in Azure.

So forget about the change and completely remove the storage emulator. ☺
It should be part of other courses, like the 20487.
From: Sidney Andrews<EMAIL_ADDRESS>Sent: woensdag 21 september 2016 11:49
To: MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions<EMAIL_ADDRESS>Cc: Marcel Molenaar<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions] Added installation of the Storage Emulator (#117)
The intention was to not have students install the storage emulator at all for this course. Instructors can install it for optional demos (Mods 3 & 6) but long-term I think i should create an issue to remove the Storage Emulator from the course entirely.
It has a lot of idiosyncrasies that makes it hard to write lab instructions for. What are your thoughts? Maybe we should take this convo into an issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftLearning/20532-DevelopingMicrosoftAzureSolutions/pull/117#issuecomment-248563596, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJshWXEhqYTPgBG5koo3niXn1qyQdquYks5qsP17gaJpZM4KCi9I.

For now I have updated the labs to use Azure accounts while the demos are using the Azure Storage Emulator.  I'm open to exploring this again later as other MCTs chime in on the Issues board.
Referenced in issue #117


Long Titles Not Handled Properly

Long titles exist in HydroShare, such as with underscores and other long words. The title display should use an ellipsis and the Citations area should not overflow in an unusual manner.

I created a resource in HydroShare with a long title and it did not overflow as shown above.
The resource landing page is the place where metadata are displayed for consumption by the users. Given this, we should display the metadata and not truncate using ellipsis or other mechanisms. We should handle long titles in a way that enables their display. It's OK if titles occupy multiple lines of text.
Given that I didn't get the same result, is this even a bug?

Ahhh... It's probably because the title you tested is one very long word with no spaces.

I have a real-world solution ready. If we don't implement, then a single resource can force different layouts around HydroShare and cause odd behavior. When the updates to Discover go live, you will have something to compare with. Definitely an edge case, but I can put in the proper guard rails.

I'll fix My Resources listings to account for this and other nice-to-haves...

@Castronova - I'm not sure whether to label this one a bug, an enhancement, or just close it since it seems unreasonable for someone to input a title like the example.


Update Turkish translations

Fixed #fuzzys
Fixed layout issues and overflowing text

Will continue to update the missing translations as I can.

Thanks! This looks pretty good, but one of the changes misses a double quote and breaks the build. I left more detailed comments below.
A few strings are left untranslated, so if you're so inclined, feel free to translate them ;)

Sorry about the errors, it was a quick edit over Github. I will take care of the remaining translations and go over the current translations later on.
Thanks!

Coverage remained the same at 54.549% when pulling 300db01c7b9c4acad0b22a0c614200f2a351552b on bitigchi:patch-1 into 30f0aa49b9e13b572fc94fc8348ed883a3c682c0 on newsboat:master.


System.MissingMethodException: Method 'Array.Empty' not found

Hi,
I added the SDK to my app, and did all the necessary steps for creating the app on Fabric's website etc ...
But at runtime when I call IO.Fabric.Sdk.Android.Fabric.With(this, new Com.Crashlytics.Android.Crashlytics()), I get the following exception :
System.MissingMethodException: Method 'Array.Empty' not found. Whould you know anything about that ?

I'm not aware of this. Maybe it's a new version with some new API that's not mapped correctly... Do you have any more information to help me to track this down?

Sure!
What kind of information do you need to help you track that?
Le 18 mars 2016 14:00, "Alexandre Zollinger Chohfi" <
<EMAIL_ADDRESS>a écrit :

I'm not aware of this. Maybe it's a new version with some new API that's
not mapped correctly... Do you have any more information to help me to
track this down?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/azchohfi/Crashlytics.Droid/issues/1#issuecomment-198344885

Hi,
I am also facing same problem. any updates ??

I'll track  this down ASAP. Thanks for letting me know. I'll try to update to the latest version

I've found a Xamarin bug to link with this...
https://bugzilla.xamarin.com/show_bug.cgi?id=29882
The fix was quite simple("changed the target version in the Bindings library from use latest to a specific API level"). So I added this:
v6.0
I've also updated the binding to use the latest version.
It should work now!
Please verify, so I can close this Issue.

Hi,
I am Using "Crashlytics Droid" Package from Nuget gallery in this package i am still getting the same error.  Any Updates ??

Chanti, can you try from the source? The NuGet package is not mine, so it's not using the latest's version. This reminded me that I don't have a NuGet package, which is ridiculous... I'll try to integrate this with the build sustem ASAP. Thanks for reminding me.

Ok Thanks. Any Plans to create Nuget Pacakage ??
Please let me know.

https://www.nuget.org/packages/Crashlytics.Droid.Binding/

Thanks Alexandre.
The nuget package was actually created by me to fill the gap.
I'll remove the other one from nuget, to let you handle future version
releases and avoid confusion ;)
2016-03-31 9:15 GMT+02:00 Alexandre Zollinger Chohfi <
<EMAIL_ADDRESS>
Closed #1 https://github.com/azchohfi/Crashlytics.Droid/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/azchohfi/Crashlytics.Droid/issues/1#event-609368187

Great, thanks for that btw! That way we at least ensure it will have the most updated version. I've added a build system on VSTS and automated the upload provess to NuGet.org.

I just deactivated my nuget package. So it should be disappear from
nuget.org any minute now ;)
Thanks for the bugfix
2016-03-31 15:26 GMT+02:00 Alexandre Zollinger Chohfi <
<EMAIL_ADDRESS>
Great, thanks for that btw! That way we at least ensure it will have the
most updated version. I've added a build system on VSTS and automated the
upload provess to NuGet.org.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/azchohfi/Crashlytics.Droid/issues/1#issuecomment-203935029

Great. Just one question remains... Update path for the ~50 users that downloaded it... Is is possible to add a new version that just removes everything and have a dependency to my package? I'm not sure how to proceed, or even if we should.

Well in the description of the nuget package there is the link to your
github.
I think we should just let the 50 users deal with it
2016-03-31 16:25 GMT+02:00 Alexandre Zollinger Chohfi <
<EMAIL_ADDRESS>
Great. Just one question remains... Update path for the ~50 users that
downloaded it... Is is possible to add a new version that just removes
everything and have a dependency to my package? I'm not sure how to
proceed, or even if we should.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/azchohfi/Crashlytics.Droid/issues/1#issuecomment-203963066

Ok, not a big problem.


Improve parser based on GNATprove and its testsuite

Thanks for accepting my previous pull requests! Here are few more patches, which allows tree-sitter-ada to parse almost all of the GNATprove source code and its testsuite. Notable exceptions are attribute Update (specific to GNAT), delta_aggregate (Ada 2022) and various uses of GNATprep. Most likely they are tricker but also rather uncommon.

Hello,
thanks for this series of patches (took a bit longer to check and integrate them...).
I made only one change to them: I regenerated the parser with the last stable release of tree-sitter (0.20.6), instead of 0.20.7 as you did, just so that people could regenerate and get to the same result more easily.  Since everything passes with 0.20.6, you are not depending on new features of 0.20.7 apparently.
This likely also makes it easier for other projects to pick up (neovim, Emacs,...), though not sure.


Rs 2022 08 27

Merging this to shut up the curry linter locally, will circle back on 爽やかに気が狂う after discussion in discord


Turning on "Remap Camera" on plugin "Key remapping" blocks clicks when rotating camera

If you turn on the "Camera remapping" plugin, then enable "remap camera" (using the default WASD), mouse click events are blocked when rotating the camera. Furthermore, mouse events are blocked for a short period after the rotation ends (this is really annoying). If you want the clicks to register as you're rotating, you need to uncheck the "Remap camera" option.
Note: Left mouse button is blocked. Right mouse still works fine while rotating

We don't have a plugin called Camera Remapping are you talking about the Camera Remapping config section of the Key Remapping plugin?

Yes, been a long day


MKL components are not installed when make sysinstall

MKL install script is not included in sysinstall sections. Is that desired? Means MKL is not allowed to be installed in system wide?
env: $(MKL_ENGINE) $(DATA_LOADER) $(ACTIVATE)
...
$(MKL_ENGINE):
@echo "Building MKL Engine..."
@./install_mkl.sh intel
...
sysinstall_nodeps: $(DATA_LOADER) neon_install
sysinstall: sysdeps $(DATA_LOADER) neon_install

@Quallyjiang  Thank you for trying neon!
You are right about MKL components not installed when "make sysinstall". It it a bug that we will make sure we address it in our next release.
You may already know, you can make the following changes to install MKL components as well during sysinstall:
-sysinstall: sysdeps $(DATA_LOADER) neon_install
+sysinstall: $(MKL_ENGINE) sysdeps $(DATA_LOADER) neon_install
So in conclusion, MKL component is definitely allowed to be installed system-wide

If neon is to be shared by multiple users, the suggestion is to put neon directory on a shared location, the purpose is for all users to be able to locate neon's MKL library.  Please let us know if you encounter further issues.

thanks!

If we have already completed a system-wide install, how do we install the MKL library?

The way I did was:

"make sysuninstall"
Add the $(MKL_ENGINE) target to sysinstall
"make sysinstall"

Alternatively, I think you can also try the following if you do not want to do "make sysuninstall":
./install_mkl.sh


doctest causes a working out of context RuntimeError with request

Migrating from Flask 2.1 to 2.2 failed a few unit tests of mine. It looks like we can no longer import flask.request top level in a test file (reproduced across Python 3.7, 3.8, 3.9, 3.10):
from flask import Flask
from flask import request

def test_something():
    assert True

This gives a RuntimeError:
E   RuntimeError: Working outside of request context.
E
E   This typically means that you attempted to use functionality that needed
E   an active HTTP request. Consult the documentation on testing for
E   information about how to avoid this problem.

On my side the fix was simple: importing flask.request outside of the global scope, just when I actually need it (my actual tests create small Flask apps to test a client).
Edit: forgot to mention that this only occurs when pytest is run with --doctest-modules

Please provide a minimal reproducible example, including the full traceback. Avoid using pytest, just use doctest directly.

Running python -m doctest example.py, with just from flask import request in the file, causes the error.
What's happening is that Werkzeug only sets __wrapped__ if the Local wraps a function, but does not set the attribute otherwise. Flask 2.2 started wrapping ContextVar directly instead of a function. Doctest uses inspect.unwrap to access that attribute, which fails with a proxy error instead of an attribute error. This bug was always present with doctest and previous versions, but it was hidden because of the way Flask previously used Local.
Unfortunately, just the presence of __wrapped__ indicates to inspect.unwrap that something is a wrapper. So we can't set it to None, as that would make it present but incorrect.
I really think this is a bug in Python's inspect, it should ignore errors when accessing the attribute, but it's unlikely to get fixed there. The only think we can really do in Werkzeug is to either set the attribute to something incorrect, or see if there's a way to simulate an AttributeError on access.


Add hints_dir to conf based on node, not cluster version

During rolling upgrades, the cluster version remains on the old
version as individual nodes are updated. When a node is upgraded
to 3.0+, this leads to the hints_directory setting not being added
to its config. In turn, this means that the hints dir defaults to
a location under CASSANDRA_HOME which is shared by all nodes in
he cluster. From that, all manner of hijinks ensue with nodes
wiping out each other's hints files, causing seemingly random
exceptions and other fun stuff.

Seems like a good change, thanks


Search bar feature

Allow users to search for restaurants, cuisines, and dishes using keywords, ratings, delivery times, price range, etc.

@bruno-keiko can you please assign this issue to me?

"Could you please wait for all the pages to finish building?"


No way to ignore a specific file within a specifically added directory in .claspignore

Expected Behavior
If .claspignore contains
**/**
!**/gs/**
gs/genericFile.js
clasp should ignore everything that isn't in /gs and ignore genericFile.js
Actual Behavior
Clasp still pushes genericFile.js; pushes contents of /gs

Seeing the same behavior.

Any updates on this bug, i am still seeing the bug in version 1.5.3

I definitely can't ignore the node_modules folder either???

I propose to use multimatch.
This can get results like gitignore.
var anymatch = require('anymatch');
var micromatch = require('micromatch');
var multimatch = require('multimatch');

anymatch(['**/**', '!**/gs/**', 'gs/genericFile.js'], 'hoge.js')
// true
anymatch(['**/**', '!**/gs/**', 'gs/genericFile.js'], 'gs/genericFile.js')
// false
anymatch(['**/**', '!**/gs/**', 'gs/genericFile.js'], 'gs/hoge.js')
// false

micromatch(['hoge.js','gs/genericFile.js','gs/hoge.js'], ['**/**', '!**/gs/**', 'gs/genericFile.js'])
// [ 'hoge.js' ] <- bad

multimatch(['hoge.js','gs/genericFile.js','gs/hoge.js'], ['**/**', '!**/gs/**', 'gs/genericFile.js'])
// [ 'hoge.js', 'gs/genericFile.js' ]

I want to ignore gulpfile.js using .claspignore but I'm unable to do. I'm using clasp@3

clasp@3 isn't out, but I assume there are still issues with this?

PR #620 should fix this

@napostrophe  can you try with clasp 2.2.0 if the issue still occurs?

the error still happens in clasp 2.3.0

@armand1m Could you please provide some context about your issue?
Do you have a sample .claspignore to reproduce the issue?

@grimmigenaai not sure if your issue is related to Microsoft Windows.  But the file matching that follow is broken.
I can trace down the change which introduced the problem to about a year ago (and I am to blame for that change)
I'll try to fix it in the coming week as I refactor this part of the code.

w00t :D/

@grimmigenaai (and others) can you test with the #791 unofficial release?
npm uninstall -g @google/clasp && npm install -g forked-clasp
clasp --version
# should be 2.4.0 or more

I am still experiencing this issue on version 2.4.0.
I'm using a sample .claspignore file from the documentation.  This has been an extremely frustrating morning to say the least.

@jackhartnett Please clarify the status on this issue

Issue still persists on clasp 2.4.1.

I am also still seeing this issue on 2.4.1 (cannot .claspignore node_modules, which is extremely annoying)

Should this be closed? I'm not able to replicate in 2.4.2


Auto-generate PLC4X adapters

Body
Currently, we support only two PLC adapters provided by Apache PLC4X (S7 and Modbus). Both adapters only support a fraction of the configuration options PLC4X offers.
With the latest release, PLC4X has added a very cool functionality to retrieve metadata for all available drivers. We can make use of this feature by automatically creating adapters for all protocols supported by PLC4X and can also automatically generate all available configuration options per driver.
This will greatly enhance the number of protocols supported by StreamPipes, while at the same time reduce maintenance efforts since we don't need to manually specify adapter configurations.
StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

I participated at the PLC4X meetup the last weekend and already managed to set up a prototype, but it will take some more work to make it production-ready...


<html dir="rtl"> breaks dropdown positioning

The dropdown is always opened at the right edge of the viewport, detached from the host element.

Fixed by #217 and will be released as 2.2.0 alpha soon.


release 1.2.1

Requires https://github.com/inveniosoftware/invenio-admin/pull/90

Closed https://github.com/inveniosoftware/invenio-admin/pull/90