Feature request - plugins

Dear Andrea,
We need to extend Moquette for customizing authentication and autherization functionalities.  The code includes two authentication scheme but it does not allow to plug ours in by configuration.  Additionaly, we'd like to catch 'subscribe' events, and on an authorization check the server should let the subscription request would be accepted or npt.
Thank you

+1 for this

Introduced with the interceptors in pull request https://github.com/andsel/moquette/pull/76


Error trying to open project in Xcode

'ReplaceAnimation.xcodeproj cannot be opened because it is missing its project.pbxproj file'

Sorry, somehow I had to manually add it via git. Never happened before.
Is it working for you now?


GitLab UX

Follow-up from the meetings with polkit/bolt maintainers (freedesktop.org GitLab instance) and IRC discussions (gnome.org GitLab instance).

[x] packit/deployment#401
[x] packit/packit-service#1914
it is not possible to overwrite the commit status with the same state e.g. running -> running (for test job statuses this means user sees "SRPM build is in progress..." and then "Tests passed..." as a next state) and we also can't do running -> pending
[ ] packit/deployment#445
[x] packit/packit-service#1892
[ ] packit/packit-service#1893

To be refined:

[ ] extending/refactoring unit tests - should be contained in a separate issue, since they cover more than just GitLab; also the GitLab coverage is minimal, which has been already discovered in dysfunctional Packit on GitLab after a refactor

Outcome of the Packit planning for Q1 of '23

Priority: should
Benefits that we expect: more users of our service, common and more available automation for the users
Consumers of those benefits: currently mainly bolt and polkit projects (on freedesktop.org instance), and also all potential users hosting their sources on gitlab.com, freedesktop.org and gnome.org instances

After a team discussion, we didn't pick this as a top Packit team priority for the next quarter and preferred epics with bigger user benefits. (Sadly, we have limited resources.) If anyone wants to help us with this, we will be really glad. We are open to any collaboration and have successfully implemented/started multiple affords thanks to people outside of the Packit team.


pidFile doesn't do anything

When setting the path to a .pid file I'm not seeing any changes made to the file.  The .pid does not exist on the file system before this is ran.  My config is listed below.
var childSettings = {
  max                 : 3,
  args                : [],
  killTree            : true,
  watch               : true,
  watchIgnoreDotFiles : true,
  watchIgnorePatterns : [ '/.*\.php' ],
  sourceDir           : '/path/to/files/'
};

childSettings.pidFile = childSettings.sourceDir + 'applicationSpecific.pid';

Yeah, it's an internal thing used by forever. I guess that got missed in the refactor ages ago. Definitely a bug.

fwiw you can listen to the start and restart events and save off the pid manually (to a file or another more convenient location).
var child = new (forever.Monitor)('index.js');
child.on('restart', savePid);
child.on('start', savePid);
function savePid() { console.log(child.childData.pid); }

I get the feeling foreverjs isn't maintained anymore.. is that the case?

So, can pidFile option be removed? should I change this and pull request?


Add helper to create fingerprint from cert

extract existing code for integrator to be able to reuse
I am using this bit of code in my project to find a fingerprint
and I figured the best place to keep it, is within the gem itself.
I can rename the module
let me know
thanks

@jphenow I have updated this, please give it another review


Several broken links in wiki

Many of the links ./filename.md reference ./filename (without file extension).

Hello @jeremiahhoward,
Thank you for raising this issue. I´ve reviewed the PR and have the following observations:
One of the changes in the PR you proposed is adding /docs/:
Current [Alert Details](https://github.com/Azure/alz-monitor/wiki/AlertsDetails)
New [Alert Details](https://github.com/Azure/alz-monitor/docs/wiki/AlertsDetails.md)
Making this change, will render a page not found error.

While we organize and edit the documentation for the wiki in the docs folder, the wiki in GitHub itself is a separate repo. We use a workflow to synchronize the content between the docs/wiki and the wiki repo. The links in the docs are configured to work for reading the wiki version of the documents.

Adding the extension ".md" will break the formatting
For example, calling AlertsDetails.md will render the raw file:

Concluding, the links in the wiki are configured correctly. As it is our intention that the wiki is used, rather than browsing the documentation from the code view.
Please let us know if there are other questions/ concerns.
I will proceed to close the PR and this Issue.
Thank you.


Handle multiple and expanded sources properly

done should only be called once, but was called multiple times if either:

The src option was set to an array of files.
The expand option was enabled and that expanded to more than one file.

This would break future async grunt tasks. The destination would also be set to the same filename for all elements in src arrays, which is fixed in this branch too.

@jdavis could you please either land this and publish a new version or mark this project as dead and not to be used? Introducing the grunt-rename task into a project breaks the build because of this issue.

I don't use Node much anymore; I'll probably just deprecate this as I'm spread too thin.

Please do; it's not your fault, but Grunt's async API is a) kind of insane (it shouldn't be so easy to break other tasks) and b) hard to debug.
@csnover if you really want this plugin, you can use my branch in your package.json. We are using it for production builds and it works for us :smiley:
"grunt-rename": "git://github.com/smcgivern/grunt-rename.git#support_src_arrays"


Revert "Use metav1.Condition type directly"

What type of PR is this?
/kind bug
/kind failing-test
/kind regression
What this PR does / why we need it:

This reverts commit bbec98ac86c2b575632d8f6c0a0cf54d0166fd37.

Message is required on https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Condition

Which issue(s) this PR fixes:
Does this PR have test?
N/A
Special notes for your reviewer:

Checking how CI's make bundle works on this change, as this doesn't change anything to me locally.

NONE

/ok-to-test

/retest

/ok-to-test

/hold for test

Security-profile-operator regression test run passed with 4.14.6 + security-profile-operator from #2023 code

/unhold

/label qe-approved


Add Aggregation Function to Bitmap Library

Bitmap library does not have a companion Aggregator for its serialiser currently.

Migration Steps
Package name for the bitmap library has changed from gaffer.bitmap to uk.gov.gchq.gaffer.bitmap

Merged into develop.


[BUG] Webhook is preventing the ingress to access UI to be created

Describe the bug
Try to create ingress to access the UI as mentioned https://longhorn.io/docs/1.2.3/deploy/accessing-the-ui/longhorn-ingress/ , the webhook prevent it to be created.
To Reproduce
Steps to reproduce the behavior:

Deploy Longhorn master-head
Follow the instructions to create ingress to access UI. https://longhorn.io/docs/1.2.3/deploy/accessing-the-ui/longhorn-ingress/
The ingress fails to come up with error Error from server (InternalError): error when creating "ingress.yaml": Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": an error on the server ("") has prevented the request from succeeding

Expected behavior
The ingress should be created successfully.
Environment

Longhorn version: master-head 02/16/20222
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl

cc: @derekbit @innobead

@khushboo-rancher
I can create the ingress without hindrance using  the manifests in longhorn-manager:master/deploy/install and the ingress setup instructions.
Any step I missed?

@derekbit Thanks for checking this. Let me try once again and confirm.


Allow to replace fixed string by version

During development, in my documentation, I collect all changes along the way under a section called next release. With every release, I rename next release to the new version.
Currrently though, that's seems not to be possible, and I need to manually replace that heading. Causing me to frequently forget about it 🙈
So, something like this would be useful:
GLOBALS = {
    'serializer': ["next release", "{{year}}.{{month}}.{{day}}"],
}

Hi! I'm not sure which release is which sorry, can you give me a concrete example with values? I think I already have the solution in the next version I'm developing, but I'm not sure

Imagine a CHANGELOG.rst file like this:
Changelog
=========

Next Release
------------
**Added**

* Added some new feature

What I would like to do is, replace Next Release with the updated version, for example 1.3.0. That way, when I release a new version, I don't need to remember that I need to change that title into the release I'm building.
Like I said, there are a few occasions where I ended up pushing Next Release to PyPi (here for example: https://pypi.org/project/django-auth-adfs/ )

I definitely see your need here. The way serializer works now, is that of searching and replacing with the same pattern, just using different versions to render the template. You want to decouple the search and replace like
GLOBALS = {
    'serializer': {
        'search': "next release",
        'replace': "{{year}}.{{month}}.{{day}}"
    }
}

I think this is a sensible use case, and actually something I was already considering as a possible extension of serializers. I'll work on it, I think I can have it in the next release that will be out in a week or so. Stay tuned, and thanks for the suggestion!

Hi! So the current develop contains a change that should implement what you requested. Can you please check the documentation at https://github.com/lgiordani/punch/blob/develop/docs/advanced.md#complex-serializers and tell me if it makes sense to you? Thanks! I will release develop as version 2.0.0 in a couple of days.

I looked at it, but I found it a bit a confusing.
Not the search/replace part, but the fact that serializer sometimes is a string, sometimes a list and in the example above a dictionary of dictionaries.
The string vs. list is understandable, but the confusing part is the key semver in the dictionary. I spent a couple of minutes figuring out if semver had a special meaning, of whether it could be anything. And also whether is was used somewhere else or not.
Honestly, I think a list of dictionaries of tuples makes it more clear.
e.g. from this:
GLOBALS = {
    'serializer': {
        'semver': {
            'search': 'Next Release',
            'replace': '{{major}}.{{minor}}.{{patch}}'
        },
        'somethingelse': {
            'search': 'Unreleased',
            'replace': '{{major}}.{{minor}}.{{patch}}'
        }
    },
}

to this
GLOBALS = {
    'serializer': [
        {
            'search': 'Next Release',
            'replace': '{{major}}.{{minor}}.{{patch}}'
        },
        {
            'search': 'Unreleased',
            'replace': '{{major}}.{{minor}}.{{patch}}'
        },
    ],
}

Or this
GLOBALS = {
    'serializer': [
        ('Next Release', '{{major}}.{{minor}}.{{patch}}')
        ('Unreleased', '{{major}}.{{minor}}.{{patch}}')
    ],
}

You are right when you say that this is confusing, I double checked the documentation and it's not clear what you can do with serializers. As for the named serializers, they are there for a reason, namely to allow picking a specific one for the VCS, and they also allow to append serializers in specific files instead of overwriting all of them.
I will try to clarify it in the documentation, to see if it becomes more understandable. I'm not removing the named serializers however, they are part of the big change and that would mean to go back with other features as well.
Thanks! I'll post here a link to the new docs as soon as they are ready.

I tried to clarify the syntax of serializers here https://github.com/lgiordani/punch/blob/develop/docs/configuration.md#serializers. Thanks!

Only 2 remarks:

There’s a typo in the 1.3.0 version in the example. It’s first written as 1.30.
there’s a markup issue after the dictionary example

Great! Thanks, I fixed them now

Solved in version 2.0.0


[Feature Request] IP Adress related redirecting

Hey. I'm pretty sure this has to be edge case that wouldn't use many users but i have ZeroTier set up for accessing my services from outside of local network. I'm really annoyed when i need to manually rewrite IP and port of the service because i'm not on the local network.
Example:
My zerotier ip: <IP_ADDRESS>
My server's zerotier ip: <IP_ADDRESS> (and in local network it is <IP_ADDRESS>)
I have configured inside Easy Gate local IP of that service (<IP_ADDRESS>:9000). But i'm accessing it from outside the network via zerotier so when i click the button, it want to load the <IP_ADDRESS>:9000 instead of 192.168.192:9000.
Solution
Add option to make redirection based on IP that is connected to Easy Gate.

If I did understand your issue correctly, what are you trying to accomplish is the main feature of Easy Gate itself.
You can define two groups and two copy of the same service (with different group):
"groups": [
  {
    "name": "internal",
    "subnet": "<IP_ADDRESS>/24"  // ENTER YOUR LOCAL NET SUBNET
  },
  {
    "name": "vpn",
    "subnet": "<IP_ADDRESS>/24"  // ENTER YOUR VPN SUBNET
  }
]

And for services:
{
  "icon": "fa-solid fa-cube",
  "name": "Your service",
  "url": "https:/<IP_ADDRESS>", // IP OF THE SERVICE ON LOCAL NETWORK
  "groups": [
      "internal" // THIS IS FOR LOCAL NETWORK USERS
  ]
},
{
  "icon": "fa-solid fa-cube",
  "name": "Your service",
  "url": "https://<IP_ADDRESS>",  // IP OF THE SERVICE ON VPN NETWORK
  "groups": [
       "vpn"      // THIS IS FOR VPN USERS
   ]
}

With this configuration you will hopefully see only the correct entry based on your connection IP address.
Let me know if this could work for you

From what i see in code you provided, it looks really promissing. Unfortunately, i just started complete rework of my homelab so i'll let you know in couple of days.


WOO-24: Implement methods to test API credentials

@asbjornu This PR can be closed. Because the implementation has been moved to the sdk. See https://github.com/SwedbankPay/swedbank-pay-sdk-php/pull/37/commits/b2b1ed3354e802fde7dd96f2908585f453d95fbe


(KW 130) fixed android not building due to sentry

Description
Android did not build because of sentry being enabled even though its disabled.
Sentry has been removed from android
Other changes
Describe any minor or "drive-by" changes here.
Tested
An explanation of how the changes were tested or an explanation as to why they don't need to be.
How others should test

sync branding
run ./gradlew bundleRelease in the android folder.

It should not fail on sentryUpload error. Instead, it should fail cause of missing signing keys.
Related issues

Fixes #[issue number here]

Backwards compatibility
Brief explanation of why these changes are/are not backwards compatible.

@Nashmod see this article for signing keys. Since you would have created a google play organization, you can use that to have this configured. Also, could you add @mrkp and I as developers?


Log messages are visible in the result

Hi,
Thank you very much for this amazing work !
Could you please help me ? I am new to the manipulation of your tool and I would like to know how to remove the log messages when the tikz picture is produced, in order to view uniquely the image, like in the examples that you provided.
Thank you !

I had the same issue when I installed tikzmagic using conda.
Latest tikzmagic.py in this repository works fine.


Native review for imeckler/expression

This is just a simple expression library. I use a javascript library called jsep for parsing. Here's a link to my library https://github.com/imeckler/expression

The native review pipeline is stalled. That's probably not news to you, but I wanted to leave a note on all the open reviews. I cannot speak for everyone, but as one of the reviewers I just want to speak up and say that I will not be doing more reviews. The warning about publishing native packages has changed, and Evan has mentioned multiple times in different places that one of his priorities for 0.17 is improving this process. So I'm going to wait for that. I'm sorry we cannot move forward with publishing your library, but my experience is that even if we review and approve it, it will become stuck waiting for Evan to whitelist it.

Sorry to keep this in limbo for so long. I am moving towards the plan outlined here and discussed a bit further in the 0.17 announcement.


No context menu

Hi,
First of all, thank you for this very useful module.
The only problem I find so far is that when pressing the right mouse button, there is no context menu. I have looked at the API, but cannot find a way to make it appear.

Have you looked at the DeskGap API Demo project? There's a context menu example in there. In brief - your keydown handler should make the following call:
const contextMenu = Menu.buildFromTemplate([{label: "Item One"},{label: "Item Two"}]);
contextMenu.popup(browserWindow);
onMouseDown -> execute the above (or better - declare the above to be a function that can be called with different args according to where you are in your app.
You can find the example here

Hi, thank you so much. I am not a developer, just an end user who happened to discover Deskgap as a way to use the chrome "open as window" functionality but with Edge... Would it be too much to ask you to add the appropriate code in my index.js script?:
const { app, BrowserWindow } = require('deskgap');
app.once('ready', () => {
const win = new BrowserWindow({ title: "GMAIL", icon: "icon.ico" });
win.loadURL('https://www.google.com/gmail/');
win.setMenu(null);
});
Thank you so much!

There's a slight difficulty with what you're trying to to. I'll try to explain:
Generally you'd load your own 'local file' ie.. your own custom app as an html page using deskgap.
If you're going this route then you can add javascript "in-page" to give you the full context menu.
Your requirement, though, is to load a remote page.
When you're going that route it becomes more complex to access and manipulate the page (e.g. add menus etc). This is by design (think security etc.,)
Btw I'm not a Windows user, so I don't know what the "edge browser context menu" looks like. Maybe you can post a screen-shot of what it looks like?
Deskgap does provide a basic context menu when you've loaded a remote web-page like 'gmail" but it's an "element-only" menu - clicking on an image, hyperlink, text input will show the menu; but clicking on the page background will show nothing.

Thank you so much for answering!
I understand the problem. In fact, i don't necessarily need the specific
context menu from the Edge browser, but whatever context menu appears when
using a normal browser on the different websites I use. What I have
noticed, for example, is that when selecting and right clicking some text,
instead of a helpful menu with options to edit, copy, paste, translate that
text, I only get the window menu: restore, maximize, minimize, etc.
Another problem I have spotted, is that with websites where there is a
login, Deskgap doesn't memorize the credentials, which is deal breaker for
me...
If these two issues can be fixed, I would be interested in using the
module, otherwise I would just stick with the chrome "open as window"
functionality, even though it is heavier on resources.
Thanks again.
On Sat, Mar 2, 2019 at 12:31 PM Andy Manson<EMAIL_ADDRESS>wrote:

There's a slight difficulty with what you're trying to to. I'll try to
explain:
Generally you'd load your own 'local file' ie.. your own custom app as an
html page using deskgap.
If you're going this route then you can add javascript "in-page" to give
you the full context menu.
Your requirement, though, is to load a remote page.
When you're going that route it becomes more complex to access and
manipulate the page (e.g. add menus etc). This is by design (think security
etc.,)
Btw I'm not a Windows user, so I don't know what the "edge browser context
menu" looks like. Maybe you can post a screen-shot of what it looks like?
Deskgap does provide a basic context menu when you've loaded a remote
web-page like 'gmail" but it's an "element-only" menu - clicking on an
image, hyperlink, text input will show the menu; but clicking on the page
background will show nothing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/patr0nus/DeskGap/issues/12#issuecomment-468912256,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AtueUfgSRbX60fnLg7T190DUHFN1VZw0ks5vSmESgaJpZM4bO9Jr
.


Updates do not persist on app restarts

I'm testing out the deploy service using the  ionic-starter-deploy example.
The behavior I've observed on both iOS and Android is that the app is able to recognize, receive and apply the update from ionic deploy service but the update does not "stick" and after killing the app and restarting the original version is active again.
$ ionic info

Your system information:

OS: Mac OS X Yosemite
Node Version: v0.10.38
Cordova CLI: 5.0.0
Ionic Version: 1.0.0-rc.5
Ionic CLI Version: 1.3.22
Xcode version: Xcode 6.3.1 Build version 6D1002
ios-sim version: 3.1.1
ios-deploy version: 1.5.0

Cordova CLI: 4.3.0
Gulp version:  CLI version 3.8.10
Gulp local:   Local version 3.8.10
Ionic Version: 1.0.0-rc.3
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
ios-deploy version: 1.4.0
ios-sim version: 3.1.1
OS: Mac OS X Yosemite
Node Version: v0.10.33
Xcode version: Xcode 6.3.1 Build version 6D1002

The latest version (0.1.5 as of writing this) should have resolved this issue. You'll need to update your ionic-service-core, ionic-service-deploy, and ionic-plugin-deploy to work correctly. You'll also need to test with newly uploaded versions once you update those components/plugins.


Use scraping result directly in python

Please kindly help me with my issue.
i'm testing GoogleScraper/Examples/basic.py and successfully got results.
this is my config info.
config = {
    'use_own_ip': True,
    'keyword': 'how to make blabla',
    'search_engines': ['google'],
    'num_pages_for_keyword': 1,
    'scrape_method': 'selenium',
    'sel_browser': 'chrome',
    'do_caching': False,
}

and i checked results in shell.
figure 1

And I can only use the data in Python as shown below.
figure 2

I know that the results from figure 1 are stored in the database
I also know that there is a way to add 'output_filename' field to config and save it to a file and then use it to call it.
config = {
    'use_own_ip': True,
    'keyword': 'how to make blabla',
    'search_engines': ['google'],
    'num_pages_for_keyword': 1,
    'scrape_method': 'selenium',
    'sel_browser': 'chrome',
    'do_caching': False,
    'output_filename': 'output.csv',
}

But,
I want to use the results from figure 1 directly in Python code (title, link etc)
Any Idea??

Geave me a few days, and I will show you where in the code you could greb it and print or what ever you need. I did it, but busy next days.

add below in database.py file, set_values_from_parser:
print("PARSED LINK IS: ", link['link'])
print("PARSED TITLE IS: ", link['title'])
print("PARSED SNIPPET IS: ", link['snippet'])
add it after the lines:
Link(
link=link['link'],
snippet=link['snippet'],
title=link['title'],
visible_link=link['visible_link'],
domain=parsed.netloc,
rank=link['rank'],
serp=self,
link_type=key,
)
You can add similarly to print to log:
logger.info("PARSED LINK IS: ")
logger.info(link['link'])
etc.
I don't remember, but if needed for the logger print, add at the top of database.py file the next import (if it is missing I think it is needed to enable logger print):
import logging
logger = logging.getLogger(name)

I really appreciate your kind and quick reply.
I will test the answer you have uploaded as soon as possible, upload the results, and close the issue.


when the release of 1.0 is planed ?

https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/95#issuecomment-318125994


[BUG] [1.18.2 Forge] Aiming with a bow doesn't shoot where you look

Describe the bug
When hooting it is not aimed correctly
To Reproduce
Steps to reproduce the behavior:

Aim from third person view
Shoot

Expected behavior
It should shoot where it is aiming. I know that moving the player to look at the crosshair breaks server compatibility but I don't know if this is the same with aiming.
Additional information
If this is fixable without breaking the compatibility then great. If it isn't then maybe making certain parts of the mod only work if it also is downloaded in the server would fix this and then adding the "player looking to the crosshair" would be possible.
I mention this because I believe Apple Skin has some similar mechanic.

Please fill in all the details. The template exists for a reason.

Please fill in all the details. The template exists for a reason.

sorry I just pressed enter by mistake while writing the title

This is why the crosshair is "adaptive" by default. If you hold a bow it will automatically change the crosshair mode from "static" (does not move) to "dynamic" (moves the crosshair onscreen to the position you are aiming at). Implementing this as an optional feature can technically be done but its not in my interest. It could also confuse players as the experience can be quite different depending on the environment.

Oh I didn't see that, thnx

You can also configure the mod to go in first person when aiming.


Vercel Blob Support

Feature Request
Support using Vercel Blob for file uploads and storage.
This might be difficult, because the max. file size you can upload from the server-side is 4.5 MB, but it'd be really cool to be able to cut AWS out completely.

Ugh, sorry, I meant to open this on ServerlessWP. My bad.


euwe branch code info

Hi team
@bzwei @simaishi
Is euwe branch is up to date with master branch changes. I want use this branch as this has all code in main app instead of using rails engine. Thank you.

Hi @rakeshrajwar We're no longer updating Euwe branch as we have 2 newer releases since Euwe (Fine and Gaprindashvili). Many changes are not backported to Euwe branch and Euwe is very different from master at this point.

@simtishi  Thank You, got it.


[ Extending-Moule ]: How to record matched results.

Hi,
Does yara extending  moule support recording matched result ? Like recording matched strings in rule.strings when a rule match file or string datas, so that we can know what matched.
How can I add strings which matched in my own module to rule.strings ?
Please take a little time to help me resolve this problem, thank you!

No, modules don't have access to the list of matching strings. What modules do is exposing extra information to YARA that can be used in rules, but they don't have control over the matching strings.


Can't get .status() from switch

Hi,
i can get the status from my 10 lamps, but when I try to get a status from a switch, i get the following error. This is my code:
a = tinytuya.OutletDevice('here_is_my_key', '<IP_ADDRESS>', 'secret_key_here')
a.set_version(3.3)
data =  a.status()
print(data)

And this error occurs:
Traceback (most recent call last):
  File "tuya.py", line 89, in <module>
    data =  a.status()
  File "/home/pi/tinytuya/tinytuya/__init__.py", line 405, in status
    result = json.loads(result)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

It is having trouble with the JSON payload coming back from the switch.  It could be an encryption problem or just a bad JSON format.  Try updating to TinyTuya v1.0.4:
python3 -m pip install --upgrade tinytuya

and then run the network scan function to see if the switch shows up:
python3 -m tinytuya

I updated from v1.0.3 to v.1.0.4, but still the same problem.
python3 -m tinytuya
shows the device correctly (with both versions).

There seems to be some strange behavior with some devices that have a 22 character IDs.  Try adding device22 to the initialization for dev_type:
a = tinytuya.OutletDevice('here_is_my_key', '<IP_ADDRESS>', 'secret_key_here', 'device22')
a.set_version(3.3)
data =  a.status()
print(data)

I tried adding device22 and now I get the following error:
root@raspberrypi:/home/pi/tinytuya/tinytuya# cd ../ && python3 tuya.py
Traceback (most recent call last):
  File "tuya.py", line 89, in <module>
    data =  a.status()
  File "/home/pi/tinytuya/tinytuya/__init__.py", line 371, in status
    payload = self.generate_payload(DP_QUERY)
  File "/home/pi/tinytuya/tinytuya/__init__.py", line 324, in generate_payload
    json_data['dps'] = self.dpsUsed
AttributeError: 'OutletDevice' object has no attribute 'dpsUsed'

Oops!  Try sending a DPS requested value:
a = tinytuya.OutletDevice('here_is_my_key', '<IP_ADDRESS>', 'secret_key_here', 'device22')
a.set_version(3.3)
a.set_dpsUsed({"1": None})
data =  a.status()
print(data)

Some of the device22 types have different lists of available dps values.  I need to add a feature to scan these for us. If the above works, your device is the most common.  If not, it will require a bit more work to figure it out.

Now it works!
Thank you!


Added typescript declaration

Created a TypeScript declaration file (index.d.ts)
I need this for a Vue 3 template.
See here

Thank you :)


watchSources should watch the entire directory

steps
I'm using protobuf like this:
PB.protoSources in Compile := Seq((baseDirectory in ThisBuild).value / "proto")
watchSources ++= (PB.protoSources in Compile).value

then I run: ~compile
problem
when I modify protobuf files it does not trigger the compilation
expectation
it should trigger the compilation
workaround
When the files are explicitly supplied it works
PB.protoSources in Compile := Seq((baseDirectory in ThisBuild).value / "proto")
watchSources ++=  ((PB.protoSources in Compile).value ** "*.proto").get

The documentation refers to a specific file: http://www.scala-sbt.org/0.13/docs/Howto-Triggered.html

watchSources defines the files for a single project that are monitored for changes.

sbt version: 0.13.15

@MasseGuillaume It's not clear to me whether sbt should do this by default. This should be something done by sbt-protoc, the sbt plugin for protobuf, IMO.

@jvican yep this proto was just an example.
I just think there is nothing explicit in the type or in the name of the key that says that watchSources watches for files. I suggest marking it as deprecated in favor of watchSourceFiles and add a new key watchDirectories.

Ohhhh, I see. Yes, I agree with you. I agree that's the best solution if we want not to break existing builds.
This should be rather easy. Do you want to give it a go?

@Duhemm How would this work with the new filewatcher? https://github.com/sbt/sbt/issues/3369#issuecomment-318007542


Rust implementation

Why there is no mention of the rust implementation?
https://github.com/libp2p/rust-libp2p

https://github.com/libp2p/libp2p#libp2p-has-two-impls-so-far-go-and-js

Thanks for raising the inconsistency @tikhono. Fixed with #102.


Reformat multi-line tooltip source code for readability

The Connection String tooltip source code is hard to read, and the long line causes a "wide" horizontal scroll bar in the editor. Would you consider reformatting it over multiple lines for readability?

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0328.95.build.539 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/02bdfdab24 by @apjanke-ccs)

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0328.101.build.544 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/aad46d145c by @ErikMogensen)

:white_check_mark: Build ServiceBusExplorer 4.2.0-PullRequest0328.102.build.545 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/92f0a0105f by @ErikMogensen)

I made a change in the text.

LGTM.

Thanks @apjanke


Add RoofDualityDecomposer

The decomposer version of applying the roof duality algorithm.
We could also implement a wrapper version, something like:
newrunnable = RoofDuality(runnable)

which would work with problem samplers, not just subproblem samplers.

Because this decomposer is also somewhat sampler-like, should I use any of the traits for samplers?

Appveyor seems to have hiccuped in it's connection to github, which is why the last job is failing


wait

Type: when
Description: I want to be able to define a time in ms, that the browser waits untl executing the next step.
Danke Oscar :)
E-Mail<EMAIL_ADDRESS>

Done


Importing to notepad++ v7.4.2 failed.

When import the lang-robot.xml, it just pops out a small window said 'Failed to import.'

Could you try these steps? https://github.com/vkosuri/npp-robot/issues/3#issuecomment-305343247

Hi vkosuri, that works, thank you very much.


automate-cs: reduce number of sql connections

These are in line with what we are using in other chef-server
deployments.
Signed-off-by: Steven Danna<EMAIL_ADDRESS>

what would be the downsides to the average customer if set init = 1 on all the services and made init/max/queue configurable?

what would be the downsides to the average customer if set init = 1 on all the services and made init/max/queue configurable?

init/max/queue should all be configurable for the Chef Server services.  If we set init = 1, I think the main consequence is that on a heavily loaded server, the user might see more failures from erchef, as the pool spins up. But, I am not clear if this would actually result in them seeing more errors since if we bump the init size all that means is that they will be getting errors from the load balancer until we are started instead of from erchef.
I wonder if @markan has any opinions here.

@stevendanna I just want to make sure we're optimizing for the most common case, which I think here may be combo servers like OpsWorks or "mixed use" Automate clusters.
If the biggest concern is dealing with chef-client stampedes (outside of hosted Chef) I'm inclined to even set this too low and gather data about the failure modes before determining the right default value

A few drive-by thoughts.

I don't feel like we have particularly great instrumentation around this stuff; do we have a clean way of gathering data about how many errors we generate due to connection pool shortage? IIRC, we mostly throw a somewhat opaque erlang stack trace when this happens. That inability to collect data makes me lean towards a precautionary larger number for init.
The init size choice stems from our historical understanding of the burstyness of CCRs. People love their top of the hour runs, and pre-allocating the connections prevented a burst of failures. However I'm not sure we have good data outside hosted chef for what tuning choices make sense.
My intuition is that making the init size > 1 keeps us from seeing a lot of noise in the logs as bursts fail on their first connect, then succeed on a retry after the somewhat slow process of initing the connections warms the pool. This is built on very old data (from the first days of erchef) around how long new connections take to create; there we saw that the queue was useful if we were just waiting for an existing connection to be free, but not as much if we were waiting for a new connection. If we can spin up a new connection fast enough so that we're not timing out sitting in the queue, that would change my opinion.

confession, I'm now getting cold feet about changing these values without making then configurable.  thinking about about what would happen if someone starts hitting limits and we can't help them.

@irvingpop They are configurable for everything but workflow and no one uses workflow.

@irvingpop They are configurable for everything but workflow and no one uses workflow.

ah Okay @stevendanna I wasn't aware of that.  If they are runtime configurable then I'm 👍.  All I ask is that we document the tunables when we decide to release docs on automate-cs

@irvingpop @markan Thanks for the important context you've shared.
I'm merging this for now with (init=10, max=20, queue=50), but I think we need to find a way to make more reasonable decisions on these defaults.  Perhaps this should be added to whatever list we have for finalizing the chef-server work.
I have a few concerns:

We have a belief that the connections are slow to start up.  They ought to be slower than sending a request to an existing connection, but my expectation is that should still be on the order of 10s of ms on any production system.  I'm wondering if some of this intuition stems from before we did on-demand preparations of queries:

https://github.com/chef/sqerl/commit/bce94d76357395986e3d96b0815424b514600bc0
Before that work, starting a connection would have included the time to prepare the dozes of queries we use.

We have "spooky ghost stories" from Ops about strange behavior when growing and shrinking the queue.  We should probably either (1) investigate them or (2) (if we don't have the time/resources) consider ripping out some of the complexity and sticking with a statically sized pool with a queue in front of it.

We have a lot of other pool configurables that aren't touched here that don't make a lot of sense to me and I assume most are the results of us never applying sqerl's queueing ability to various HTTP connections.

Anyway, these are probably best left for follow up work.


python: ledgerblue: 0.1.24 -> 0.1.28

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @np

@hkjn, I've changed your commit msg to use the pythonPackages attribute because it's preferred for it to be an actual attribute.

@hkjn, I've changed your commit msg to use the pythonPackages attribute because it's preferred for it to be an actual attribute.

Thanks @worldofpeace! I'll keep that in mind for future PRs touching pythonPackages.


Install script will exit is swap file already exists

If installing Wiregate on a Linux machine with already swapfile exists it will exit and not continue with installation steps byeond the OS requirmenets.
It is here in the code
There should be a better way to handle this situation

This should fix it update


[WIP] enable uname -i/-p patch for coreutils 9.4

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[ ] The toolchain has been rebuilt successfully (or no changes were made to it)
[ ] The toolchain/worker package manifests are up-to-date
[ ] Any updated packages successfully build (or no packages were changed)
[ ] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[ ] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[ ] All package sources are available
[ ] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[ ] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[ ] All source files have up-to-date hashes in the *.signatures.json files
[ ] sudo make go-tidy-all and sudo make go-test-coverage pass
[ ] Documentation has been updated to match any changes to the build system
[ ] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[ ] Ready to merge

Summary

Support a non-upstream patch which enables the -i/-p options for uname. This patch was originally created by Fedora who
has since removed the patch on their side.
Change Log

Does this affect the toolchain?

YES
Associated issues

https://microsoft.visualstudio.com/OS/_workitems/edit/50070147

Test Methodology

Pipeline build id: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=578372&view=results

Closing in favor of : https://github.com/microsoft/azurelinux/pull/9420/files


Update to 1.20.1

Solves #6

Thanks for the PR! At a quick glance on mobile this all looks good to me,
however I do need to request that you force push the commit message to be
in line with our established style, if that's an issue, contact us on
discord and we'll give you a hand.
On Wed, Jul 26, 2023, 21:18 InstallHappiness @.***>
wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/nodusclient/girlboss/pull/7
Commit Summary

c55f07a
https://github.com/nodusclient/girlboss/pull/7/commits/c55f07a230a40f4a0f7fc75b01c7bbb7d4da4e20
Update to 1.20.1

File Changes
(4 files https://github.com/nodusclient/girlboss/pull/7/files)

M build.gradle
https://github.com/nodusclient/girlboss/pull/7/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7
(2)
M gradle.properties
https://github.com/nodusclient/girlboss/pull/7/files#diff-3d103fc7c312a3e136f88e81cef592424b8af2464c468116545c4d22d6edcf19
(6)
M gradle/wrapper/gradle-wrapper.properties
https://github.com/nodusclient/girlboss/pull/7/files#diff-40640fe1078ece83d7ea8fb67daacd77923a86d13447baf9769660b3b46f2ece
(4)
M src/main/resources/fabric.mod.json
https://github.com/nodusclient/girlboss/pull/7/files#diff-882c6606823cf6c4e4114c1125850a04ed3180c48aef0e1467f1e4022b235db2
(2)

Patch Links:

https://github.com/nodusclient/girlboss/pull/7.patch
https://github.com/nodusclient/girlboss/pull/7.diff

—
Reply to this email directly, view it on GitHub
https://github.com/nodusclient/girlboss/pull/7, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBCZQ6RXOBGW4BX5JLWPD3XSEDIVANCNFSM6AAAAAA2YP36AI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Make SessionsController#index respond to JSON again

Fixes #75.
I think the build failures are due to the switch to the non-editable front-page and can be ignored.

Thanks @look!

Did this get deployed? I’m still getting a 404 on
http://sessions.minnestar.org/events/1.json
Is the URL different?


Support scene backgrounds

Reproducible on model-viewer examples: https://googlewebcomponents.github.io/model-viewer/examples/lighting-and-environment.html
This prevents loading additional scene content AFAICT and results in an inaccurate view of the scene.
5CD06464-8015-40EC-B682-7BD3368967A4 does not appear to be serializable. TypeError: this.background.toJSON is not a function
    at ModelScene.toJSON (three.module.js:25345)
    at Object.serializeEntity (<anonymous>:77:50)
    at EventTarget.__requestEntity (<anonymous>:234:20)
    at <anonymous>:1:15

Scene backgrounds of render targets no longer break serialization, but it'd be nice to display the texture used for the background.


Signed Power BI connector not available in Power BI online

Hi,
I have developed a custom connector and signed it to use it with Power BI and Power BI Online. Although I am able to use *.pqx connector in Power BI Desktop, it is not available in Power BI Online after I have configured my Data Gateway. But If I use unsigned connector *.mez, I am able to use it from Power BI Desktop and Power BI online as well. Is there something am I missing here with signed connector, hoping for any pointers here to resolve this. Thanks.

Hey!
For questions related to the Power Query SDK, Power BI Custom Connectors, or Power Query in general, we recommend posting those questions in the official Power Query forum inside the Power BI Community site. You can find more information about this from the last section of the readme file of this repo.
Thank you!
Miguel Escobar
Product Manager @ Microsoft


Allow passing default_text opt to SearchNotes

Proposed change
I want to be able to assign keybindings to specific search text so that I can quickly find kinds of things in my notes.
The first is with TODOs - implemented like this:
nnoremap <leader>zg :lua require('telekasten').search_notes({default_text=[[- \[ \] ]]})
I'll be using it for some tags as well and perhaps others might find it useful.
I'm new to Lua so any feedback would be greatly appreciated.

Type of change

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (thank you!)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update (not yet but happy to update wherever is relevant as well)

Additional information
Checklist

[x] I am running the latest version of the plugin.
[x] The code change is tested and works locally.
[x] There is no commented out code in this PR.
** will do the rest when I have time later on - not familiar with lua enough to do this quickly right now**
[x] The code has been formatted using Stylua (a .stylua.toml file is provided)
[x] The code has been checked with luacheck (a .luacheckrc file is provided)
Happy to do this later if you'd like to merge.
[ ] The README.md has been updated according to this change.
[ ] The doc/telekasten.txt helpfile has been updated according to this change.

Good for me, it does not change anything for the majority of users and adds a customization for people with specific needs.

Although, why not simply use a #TODO tag and use the tag picker (show_tags) in your specific usecase? This would also have the benefit of highlighting the #TODO in your notes as tags are highlighted by Telekasten.
Now that I think of it, wouldn't it be also a good idea to also do what you propose here but for tags? That way people can customize mappings for some specific tags directly and skip the tag selection prompt...

Great idea! Actually, probably 1 day before this PR, I put a similar thing into my BACKLOG. Not pushed, though since it seemed too small a change to the backlog to be push-worhty.
I wanted to search for open TODOs in my daily/weekly notes. But when I think of it, I only use todos in journal style notes anyway. So that should be fine.
Using tags for todos.... If I forget the tag, I will never find an open todo. So I wouldn't do that.
I also second that more options passed to FollowLink could make sense. There is already one for tags but it instructs telekasten to search for a tag at the current cursor position. This could be extended to only search when no tag is passed in via the options.

Aaaaah! There is an opt for FollowLink(): opts.follow_tag - if you stick a #tag in there, it will be searched for. I was mistaken. First check is to see if a tag is passed in, second check is to see if the cursor is in a link or in a tag, third: if it's a tag, get it from the buffer at the current position....
So a `require('telekasten').follow_link({follow_tag="#tag"}) should do the trick.

I'm still organizing how I'm using Telekasten migrating slowly over from Roam so I haven't decided exactly what my bindings will be - but I was testing something like passing my tags in to the opts on SearchNotes and it worked well. I think I might have another for things marked with #urgent.
I'll be playing around with link following hopefully this week when I have more time to work within my telekasten :)  Thank you both for your feedback and work on this!

Oh, you're right. SearchNotes with a tag and FollowLink with a tag are basically the same.
I, too, am playing with bindings every now and then....


Support for NO_COLOR proposal

Expected Behavior
As described at https://no-color.org/, setting NO_COLOR to any value should disable color output at all.
Actual Behavior
Every application need its own solution for color disabling.
I think this behavior should be added to Click itself because its a reasonable default.

See this issue for discussion on a similar request.
This may have more of a rationale behind it, but in general I don't think click benefits from this sort of customization.

I find myself agreeing with https://github.com/ggreer/the_silver_searcher/pull/1207#issuecomment-395316172, it's not clear that this standard is a standard or that it's the correct thing to do.
As Jay points out, this has already been discussed in #1090 and we reached similar conclusions then. If an application wants to support controlling the color with an env var, it's straightforward to add.
if __name__ == "__main__":
    color = os.environ.get("CLICK_COLOR")
    color = color in {"1", "true"} if color is not None else None
    cli(color=color)


Request for credit referenced project

Hi, first of all, thank you for creating this project to contribute to the open source community! 👍
I just found this Rust crate by accident. I was interested in this project because I had a C++ project with the same name and the same functionality - https://github.com/SpriteOvO/sigmatch, and I saw that you wrote this in the README

It's a basic version migrated from another C++ project of mine, with more features coming soon!

I'm not sure if this project referenced my code. If so, please don't be shy to credit the URL of the project you referenced in the README, and  I'd appreciate it if you would do so. If this is all a coincidence, then please forgive me for my incorrect guess.
But thanks anyway for all your hard work developing this project.
Best regards.

sigmatch 是一个不错的名字，😄
可以确信，除了名字，它们的设计思路和目标完全不一样。这是从我的另一个c++项目迁移而来。
首先可以确定 SpriteOvO/sigmatch 当前 Features 的所有内容皆不在本项目的考虑范围(跨进程搜索，多线程搜索，又或者是特征通配及多目标)。
本项目的重点在于下列内容：

更关注性能和稳定性，例如本项目的页属性算法是针对性能精心设计过。
更关注特征码与逆向工程工具 (IDA Pro, x96dbg....)的结合性。
目前只关注 windows 平台，主要应用场景在于注入目标进程后匹配指定特征。

硬要追溯起源的话，可以参考 bCompare，大约十年前就流行于互联网的一段特征码匹配算法。
它位于本项目 compare 处，作为核心匹配算法存在。
SpriteOvO/sigmatch 同样是一个很优秀，整洁的项目，算法和设计思路应该更接近 BlackBone 。
最后感谢你们对开源社区的贡献✌。希望以上说明能解答你的困惑。

Thanks for your clarification. I apologize for my incorrect guess.


Add /encryption command using Classify API

Command Name
/encryption encrypt
/encryption decrypt
/encryption generate
Public API Resource
https://classify-web.herokuapp.com/#/api
Description
This command will encrypt or decrypt a message using a key. It will also have an option to generate a key.
Implementation Details

Add a new javascript file in the commands folder
Use axios to fetch the data from your public API
Implement all 3 endpoints
Format the data in a readable way and send it to the user
Use the discord.js docs to get started

Code of Conduct

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

can I be assigned this?

Great idea! @Ta1al Sure, I'll assign you

@Ta1al Well done!
I approved your pr #138 and labeled it with the hacktoberfest-accepted label.
Keep contributing ❤


net/freeradius: remove LEAP

Closes #2432

Merged, thanks. Targeting a hotfix for tomorrow morning.


Update app-service-configure-premium-tier.md

Changed line 97 to reflect the recently added P1V3 service plan (was P1V2).

@rbschneider : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@rbschneider - Reminder to use the private repo. :)

Kristine,
I had created these prior to realizing that, so there may be a few more laggards out there . . .
From: Kristine Toliver<EMAIL_ADDRESS>Sent: Thursday, December 3, 2020 7:55 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Robert Schneider (KFORCE INC<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Update app-service-configure-premium-tier.md (#65918)
@rbschneiderhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frbschneider&data=04|01|v-rschneider%40microsoft.com|3d5514121c994f83584608d897a3d8b1|72f988bf86f141af91ab2d7cd011db47|1|1|637426077259748954|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ueSC5NcNxCNTZ0bTLKR6ITAMvevQwON9xJbKNG9DFk0%3D&reserved=0 - Reminder to use the private repo. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F65918%23issuecomment-738098389&data=04|01|v-rschneider%40microsoft.com|3d5514121c994f83584608d897a3d8b1|72f988bf86f141af91ab2d7cd011db47|1|1|637426077259758949|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=EhfZU7EhYVYHpgYp3CKRuv6aqGu1lyX2cKBTQ%2FwHzq0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARW74TSXDZCQCJSFGSHBUVTSS6YGXANCNFSM4TSQCKYQ&data=04|01|v-rschneider%40microsoft.com|3d5514121c994f83584608d897a3d8b1|72f988bf86f141af91ab2d7cd011db47|1|1|637426077259758949|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=18tH1OGJ5UJ25sErRQ2P0ou%2F4ST%2FsWvnNce%2FCPgy2%2Fw%3D&reserved=0.

#please-close


Add SteamCMD

The wrapper is because of #19999

Wait, don't merge yet

There was an error in the wrapper script, arguments weren't being passed to the actual script. I fixed it now, it can be merged.

Thank you for the contribution. It was merged directly as ce6375caedf9b1cb02291027a703b05642f0d895 to keep commit history cleaner. Your contribution is still credited to you.


introduce ACTS Pallet

this will work on a version of :tractor: > 1.0.0

Does this layer need an index? It's only queried spatially right?

:sheep:-it


Vickel: Watch ectekbm.com

Vickel requests the watch of the watch_keyword ectekbm\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

ectekbm\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


[V2] RFC : new official implementations choice

To move to the next version of the specs, we need to be able to experiment, test, and showcase changes to the community.
To do so, we need to create a Frontend and a Backend implementation.
Making the community fully part of this project is crucial for us and we want everyone to contribute to it.
Our first move for the next version of the specs is to define which language/library/framework to use for each of those two implementations.

This RFC will stay open for the next 2 months

We have some requirements for maintainable implementations:
Readability
We can't expect everyone to know a defined stack.
But we can work on choosing the best solution to make sure most of us will be able to understand the source code.
This requirement is more about the readability of a language/library/framework than about the way to write code (but we'll value the latter one too)
Simplicity
To use the best of a library/framework isn't a requirement.
It's fine not to use some features to keep it simple and easy to read.
It might even break the rule of readability.
Popularity
The source code must be easy to read.
But it should be easy for people to contribute to the implementation.
Using a popular language/library/framework might be useful.
Maintainability
We want to create these implementations to showcase the specs, not for the sake of using a hyped solution.
We need a stable language/library/framework.
Provide your solution
Do you want to contribute by providing a solution? Please answer this issue by arguing about your solution :
provide examples of the readability
which features would you choose not to use to keep it simple?
give insights about its popularity
explain how stable your solution is

To move to the next version of the specs, we need to be able to experiment, test, and showcase changes to the community.

So [V2] means reimplementation of same conduit a improvement of same project with different backend and frontend specification?

Yes, the V2 is still about Conduit and the implementations of the specs.

So...what is the detail of new specs?

You will find more information on this pinned issue : https://github.com/gothinkster/realworld/issues/693
Please move any further conversation there as this issue is about the implementations choice.

Here are my thoughts about the implementation choice.
Surveys
According to the Stackoverflow 2021 survey the most popular framework for frontend is React, followed by Angular and Vue. For the backend, that would be Express, ASP.NET (core or not), and then Flask/Spring, depending on if you ask professional developers or everyone.
Then there's the State of Developer Ecosystem 2021 by JetBrains, which again put JavaScript on the top. Here the order is React, Vue.js and Angular for the frontend. Sadly they don't have a breakdown by web frameworks in general.
Frontend
So for the frontend, React would seem to be the obvious choice (I use neither of the big three, so I have no dog in this fight). It fits the readability and popularity requirement as it's the most popular frontend framework, and it fits the stability requirement as it's been really stable for the last few years. A caveat would be that React tends to come with a lot of different options for state, CSS, things like that. We could avoid that by sticking to vanilla React as much as possible.
Backend
On the backend, Express would allow using the same language for the frontend and the backend. It fits with the 4 requirements of readability, simplicity, popularity and maintainability. Flask is the same, although Python is less popular than JavaScript in general, but people might want to showcase two different languages. Both have the caveat that they are far from batteries included, but both have an ecosystem to solve the common problems of database access, authentication, etc. From my (limited) experience, Spring Boot is far from simple, but it comes with more solutions out of the box. I have no experience with C# so if people could contribute their views it would be great.
I'd personally favor Express, because that's the most boring choice, in the http://boringtechnology.club/ sense, considering JS is already used on the frontend.
Language
There is a last consideration, which is TypeScript. As we can see in the two surveys, it's also a really popular alternative JS alternative. It works well with React and Express. TS also solves some of the issues with JS. It makes the code more readable and more maintainable. It is less popular than JavaScript, but it will mean that we only have one language across the stack. That will make things easier than any combination of two languages.
Summary
For the reason exposed above, I think React, Express and TypeScript are the way to go.


Problem with TargetPlatforms and the new .NET tooling

There are two issues here - first one let me discover the second one.
Current nuget package contains to target platforms:
netstandard1.4 and net35
1st issue: In package version <IP_ADDRESS> net35 assembly version is <IP_ADDRESS> when netstandard1.4 assembly version is <IP_ADDRESS>.
And now this made me discover the second issue:
(at least when using the latest .net standard 2.0 tooling - preview 2) net461 seems to prefer net35 assembly version over netstandard1.3) this causes tools to use wrong version of assembly (net35 which has many many features disabled).
Solution:

Fix build to apply versioning corectly
Add net40 or net45 target with basically the same code as netstandard1.4
In that case when referencing LiteDB from net461 net40 will take precedence before net35 which is not a really good package.

UPDATE: Regarding the second point I am not really convinced whether it is true or not... But using net40/net45 tfm seems like a safe way.
UPDATE2: I am positive this is the issue. Please click following link and you will see that net35 wins.
http://nugettoolsdev.azurewebsites.net/4.2.0/get-nearest-framework?project=net461&package=net35
netstandard1.4
My recommendation will look as follows:
http://nugettoolsdev.azurewebsites.net/4.2.0/get-nearest-framework?project=net461&package=net35
net40
netstandard1.4

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!


Season 5 has begun

Any chance of adding support for season 5 "2017-pre5"
Cheers

jPUBG v1.3.7 with Season 5 has been released, enjoy!


Unnamed parameter lists

Hi,
I was wondering if it is possible to define an unnamed parameter list. Something in the following style:
params do
	requires  type: List do
	  requires :foo, type: String
	  requires :bar, type: String
	end
  end

The idea is to send json arrays, for example;
[ {"foo" : "foobar", "bar": "foobar"}, ...]
As far as I can tell, all parameters have to be named, which usually makes sense, except for the above use case. Any help or pointers are much appreciated.

Hi @acerberus
Plug doesn't handle list parameter.
With curl -XPOST <IP_ADDRESS>:8828/list_test -H 'Content-Type: application/json'  -d '[1, 2, 3]' , I get %{"_json" => [1, 2, 3]} when run conn.params, so the name of unnamed parameter lists is _json, you can handle it with such code:
params do
  requires :_json, type: List do
end

Hi @falood,
works like a charm. Thanks for the quick response and the good work on maru.


Credible set pileups

Context
Two colocalisation steps defined in genetics_etl are failing to complete when running DAG with eqtlgen credible sets. This is a common problem that happend also multiple times when running the DAG with increased amount of credilbe sets - see https://github.com/opentargets/orchestration/pull/63
The aim of this issue is to explore the size of credible sets, their counts per chromosome and the pileups of snps across the genome.

Release 24.10_freeze6
Number of credilbe sets after credible_set_validation : 2534545


Import error with eth-hash

Version: 1.3.4
Python: 3.6
OS: osx

What was wrong?
After installing trie via pip, when you attempt to use the trie it throws the error:
ImportError: None of these hashing backends are installed: ['pycryptodome', 'pysha3'].
Install with `pip install eth-hash[pycryptodome].

It appears pip install is missing dependencies in eth-hash
Code to reproduce the error
To reproduce the error, simply try to import HexaryTrie: from trie import HexaryTrie

This is actually intentional. Since py-trie is a low level library we don't make any assumptions about what hashing background you want to use.  You can either install as it states in the error message using pip install eth-hash[pycryptodome] or pip install eth-hash[pysha3] or you can manually specify the pycryptodome or pysha3 dependency yourself.

Ahhhh,  ok thanks.


[WIP] Desktop Support. (don't merge)

Adds support for Flutter Desktop

[x] macOS
[ ] Windows
[ ] Linux

Linked issue #4

Test on macOS:
git clone https://github.com/cloudwebrtc/dart-sip-ua.git
cd dart-sip-ua
git checkout desktop
cd example

flutter build macos --release
open build/macos/Build/Products/Release/dart_sip_ua_demo.app


Looking for maintainer

I haven't been able to keep up with all the work that is needed to have the addon updated to the latest version of ember and adding all the requested features.
I would love to transfer the repo to someone that wants to continue the development of the addon.

Hi @san650 👋,
I'm open to maintain your add-on.
I was also thinking about moving your repository under some PWA related (and also non-user specific) organization, eq. @ember-pwa, but this org already exists, and the purpose is currently hidden to me.
So, I'm not sure what is the good path forward for now 🙈.
Regardless, thank you for your work on this add-on 👏.

I'm open to maintain your add-on.

👏 awesome @bobisjan !

I was also thinking about moving your repository under some PWA related (and also non-user specific) organization, eq. @ember-pwa, but this org already exists, and the purpose is currently hidden to me.
So, I'm not sure what is the good path forward for now 🙈.

What I would suggest is:

Fork the repo in your user
I can update the description of this repo and the README to point to your fork as the new official one
Create a new release using your fork, update all the references in the README and package.json to the new repo
I'll give you ownership of the package in npm

What do you think about this plan? Github allows to transfer issues between repos now, so we can transfer the issues that make sense to your fork.

@san650, sounds good 👍.

Fork the repo in your user

I already have a personal fork of your repository, but I would prefer to go under zonkyio/ember-web-app, so others from @zonkyio/ember can participate, if you are OK with that?

Create a new release using your fork, update all the references in the README and package.json to the new repo

Does this (reference changes) need major version bump?
Thanks

@san650, the repository is forked under https://github.com/zonkyio/ember-web-app, so we can advance in following steps.

@bobisjan I've updated the README and repo description to point to your fork. Could you send me your npm username?. You can send me that info in an email and we can continue there. (san650 at gmail).


Update exhentai

Include https
Attempt to solve "onerr" property for exhentai.
Need review.

Slight check, there is still bugs from older version which hasn't solved, so the patch above doesn't work properly.
I will make another patch.

This is a fix for issue #31


[demo] - release 1.8.0

This release adds a new subchart: OpenSearch.
The demo has added Logs support, and it was decided to use OpenSearch for the logging backend. This sets up a single-node OpenSearch cluster as part of the helm chart.
I have a concern that the OpenSearch chart doesn't use the Helm Chart Release name for the service and pod names, nor does it allow us to template inline variables as part of the nameOverride or fullnameOverride properties. As such, we end up with a hardcoded prefix of otel-demo for the OpenSearch pod and service names.

This one is ready for review.
It also incorporates the changes needed for the currency service, which supersedes #1039


Refreshing page shows default theme (.5sec) before loading selected theme

If I refresh the page you can see the default theme load before the selected theme does.

default theme which loads

to custom theme

That's how it works. The "Blues" color theme is set as the default in CSS, and when the app is loaded, the custom theme replaces the original one.
If it really bothers you, you can download source files, edit index.css and build your own image.


Custom cert folder option

Is there any way to set a custom folder path where cert files should be loaded?
Currently I have a plugin and the only way to set cert data is using the x509cert parameter.

Yes, at the toolkit exists the 'path' concept:
Take a look on: _loadPaths method
You can define the ONELOGIN_CUSTOMPATH const for the config and certs.
P.S @hslavich nice to see you keep working on the Symfony2 SAML extension ;)

@hslavich have you solved the issue?

Yes It's solved. Thank you @pitbulk!


Progress

Great, thanks. I have a question:
How to display progress of number of bytes download and % of data download ?

@burhanaksendir version 1.0.0 only reports the progress/percentage of a download request.
fetch.addFetchListener(new FetchListener() {
    @Override
    public void onUpdate(long id, int status, int progress, int error) {

        Log.d("fetchDebug","id:" + id + ",status:" + status + ",download percentage:" + progress
             + ",error:" + error);
    }
 });

New version 1.0.1 which will be released soon will support download percentage ,downloaded bytes,
and total bytes.
fetch.addFetchListener(new FetchListener() {
    @Override
    public void onUpdate(long id, int status, int progress, long downloadedBytes, long fileSize, int error) {

        Log.i("fetchDebug","id: " + id + " downloadedBytes: " + downloadedBytes + " / fileSize: " + fileSize);
    }
});

I have pushed this code up to Github and is stable enough to use. Once 1.0.1 is finalized, it will be pushed up to bintray/marven.

Great job! Thank you for your effort.
Kind regards,


feat: add introspection support to query metadata from sqlq

This PR adds support for inspecting and querying meta-information from sqlq. Closes #22

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 64.39%. Comparing base (9155a68) to head (aac5491).
Report is 51 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   65.53%   64.39%   -1.14%
==========================================
  Files          11       11
  Lines         528      528
==========================================
- Hits          346      340       -6
- Misses        141      145       +4
- Partials       41       43       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


#380: add check for empty repositories in DoT

Closes #380

@Suban05 please review. Test fail, because this https://github.com/zerocracy/fbe/pull/115 PR need merge before

@yegor256 please check

@Yegorov thanks!

@Yegorov Thanks for your contribution! Here's the breakdown of your +4 points: +4 base, +0.1 for 2 hits-of-code, -4 for only 2 comments (our policy recommends at least 6). We've ensured you receive at least 4 points as per our policy. Remember, more hits-of-code and thorough code reviews can boost your points significantly. Keep the contributions coming! Your current balance stands at +140.

@Suban05 Hey there! 👋 Thanks for your code review! You've earned +4 points this time. Here's the breakdown: +4 base points, -10 for having only 3 comments (policy suggests at least 6), and +10 to ensure you get something meaningful. Remember, more comments can boost your points next time! Your current balance is +104. Keep up the good work and aim for those bonus points! 💪


onvalidate can return false to invalidate the form

Presently a form is considered invalid when the onvalidate hook returns a rejected Promise.
Let's consider a form as invalid when the onvalidate hook returns a rejected Promise OR false

Fixed in e30b641c6d37e0f5630ad32ce1437a93c470862c


[feature] add subspace projection model.

This PR add a new extension to enable low rank subspace projected NUFFT as described (in a Cartesian context) here. A non-exhaustive list potential applications is:

Multi-contrast MRI with virtual echoes (e.g., Tamir et al.)
Acceleration of iterative reconstruction for quantitative MRI (e.g., Magnetic Resonance Fingerprinting, MR Multitasking)
Dynamic (e.g., cardiac) MRI

I am not sure why tests would fail for gpunufft density compensation - I did not touch anything from that subpackage

The CI is just a bit flaky it seems.


npm install seems to run npm run install as well

Noticed that after running npm install that npm run install runs as well. I'm assuming because of the name....
I think we should change npm run install to npm run deps

We use npm run deps now.


TypeError: _dp_init_subclass() missing 1 required positional argument: 'sub_cls'

Nuitka version: latest stable (0.6.17) & dev (0.6.18rc1)
Python version: 3.9.3
Platform: Windows
How did you install Nuitka and Python: tried pip and windows installer
Full traceback:
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\run.py", line 8, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\nodes\pytorch_nodes.py", line 5, in <module nodes.pytorch_nodes>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\__init__.py", line 705, in <module torch>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\utils\data\__init__.py", line 4, in <module torch.utils.data>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\utils\data\dataset.py", line 266, in <module torch.utils.data.dataset>
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\utils\data\_typing.py", line 273, in __new__
  File "abc.py", line 85, in __new__
TypeError: _dp_init_subclass() missing 1 required positional argument: 'sub_cls'

I get this when trying to hit my compiled API. It appears to be an issue with PyTorch? Clearly it's something to do with the abstract base class. I can't really post example code as I'd have to post a ton of it.
I've tried running this in --onefile mode and --standalone mode. I tried the stable and development versions of Nuitka. Nothing seems to make this work. It works perfectly fine running it regularly with python but compiled I get this error. It compiles perfectly fine, and it runs, but as soon as it starts running a file that imports PyTorch I'm getting this.
Sorry if this is not enough information, I can provide more specific info if needed.

That's interesting, it probably is indeed a compatibility problem with PyTorch. I have to admit, support for torch is currently not great, but it will arrive in the coming months.

Can you confirm that "import torch" reproduces this for you?

Can confirm I do get this with just import torch and a hello world print.
Seems like pytorch takes a long long time to compile too. Is there any way that I can make it only compile the parts I need it to instead of torch as a whole?

Yes, checkout anti-bloat plugin, it's extremely powerful. Would also be kind if you shared what you get away with in terms of enforcing imports to not be followed. It will give you warnings and errors for modules included that you don't like with pointers to the source, and anti-bloat.yml would love to have PRs.

What I find, is that this is probably because as a compile method, when provided as __init_subclass__ it is not annotated as a classmethod by Python core. Going to update the Torch plugin to do that. It's much like the __new__  and others, where Nuitka has to add these during their creation, as the type base class checks for pure Python function. Adding @classmethod in the source ought to do the trick. I might even include it in a hotfix, although I suspect their will be more issues with torch.

Well if I run into any more issues after this is fixed I'll let you know.
And as for the anti-bloat plugin, it seems like it mainly only gets rid of testing related imports. Is there configuration I can do besides --no-follow-import in order to ignore imports? Certain ones like PyQt5 and scipy seem to get imported no matter what I configure.

@JoeyBallentine it has a more powerful version of the ignoring, which tells you where that happens. You provide custom rules, and can make it an error when it includes something you don't want to to include. Then you can tell why that happens. The anti-bloat can then through its configuration avoid it. But the nofollow ought to work actually. If you enable the tracing for it, --show-module I think it also says why something is decided.

Nuitka version: latest stable (0.6.17) & dev (0.6.18rc1) Python version: 3.9.3 Platform: Windows
How did you install Nuitka and Python: tried pip and windows installer
Full traceback:
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\run.py", line 8, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\nodes\pytorch_nodes.py", line 5, in <module nodes.pytorch_nodes>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\__init__.py", line 705, in <module torch>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\utils\data\__init__.py", line 4, in <module torch.utils.data>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\utils\data\dataset.py", line 266, in <module torch.utils.data.dataset>
  File "C:\Users\Joey\DOCUME~1\Git\project\backend\RUN~1.DIS\torch\utils\data\_typing.py", line 273, in __new__
  File "abc.py", line 85, in __new__
TypeError: _dp_init_subclass() missing 1 required positional argument: 'sub_cls'

I get this when trying to hit my compiled API. It appears to be an issue with PyTorch? Clearly it's something to do with the abstract base class. I can't really post example code as I'd have to post a ton of it.
I've tried running this in --onefile mode and --standalone mode. I tried the stable and development versions of Nuitka. Nothing seems to make this work. It works perfectly fine running it regularly with python but compiled I get this error. It compiles perfectly fine, and it runs, but as soon as it starts running a file that imports PyTorch I'm getting this.
Sorry if this is not enough information, I can provide more specific info if needed.

Has this problem been solved? @kayhayen

So, anti-bloat is great as of 1.7 and also with new torch2, so this can be considered resolved.


bumped to version 0.4.3 and made it use he-auth-service version 0.1.7…

…, which has the fix to the token expiration issue

Closing this since it is no longer valid.


Feature: Support next export

Currently, when you run next export in this repository, you'll get the following error message:
Error: Image Optimization using Next.js' default loader is not compatible with `next export`.
Possible solutions:
  - Use `next start`, which starts the Image Optimization API.
  - Use Vercel to deploy, which supports Image Optimization.
  - Configure a third-party loader in `next.config.js`.

Option 3 should be used to make next export available here. Some more investigation is needed on how to make this work.

Thanks for opening this @styxlab
As I said, I need next export so that I can host it on an S3 bucket.
Is there any other way to host it on AWS that you are aware of, which doesn't require a next export?

Thanks for opening this @styxlab
As I said, I need next export so that I can host it on an S3 bucket.
Is there any other way to host it on AWS that you are aware of, which doesn't require a next export?

If you are serving from a static-only host, then next export is needed, but it not encouraged as you have to opt out from image optimizations and incremental static regeneration (ISR).

If you are serving from a static-only host, then next export is needed, but it not encouraged as you have to opt out from image optimizations and incremental static regeneration (ISR).

After some more digging I can now use next export with the following configuration options:

Disable image optimization and ISR in appConfig.js:

// Images
export const nextFeatureImages: boolean = false
export const nextInlineImages: boolean = false

// Incremental Static Regenerations (ISR)
export const isr: boolean = false

Change default image loader in next.config.js

module.exports = withBundleAnalyzer({
  ...(process.env.NETLIFY === 'true' && { target: 'serverless' }),
  images: {
    loader: 'imgix',
    deviceSizes: [320, 500, 680, 1040, 2080, 2048, 3120],
    domains: ['localhost', 'images.unsplash.com', 'static.gotsby.org', 'static.ghost.org'],
  },
  reactStrictMode: true,
})

Here is the warning from 'Next.js':
warn  - Statically exporting a Next.js application via `next export` disables API routes.
This command is meant for static-only hosts, and is not necessary to make your application static.
Pages in your application without server-side data dependencies will be automatically statically exported by `next build`, including pages powered by `getStaticProps`.
Learn more: https://err.sh/vercel/next.js/api-routes-static-export

@icy-meteor Could you please verify?

After some more digging I can now use next export with the following configuration options:

Disable image optimization and ISR in appConfig.js:

// Images
export const nextFeatureImages: boolean = false
export const nextInlineImages: boolean = false

// Incremental Static Regenerations (ISR)
export const isr: boolean = false

Change default image loader in next.config.js

module.exports = withBundleAnalyzer({
  ...(process.env.NETLIFY === 'true' && { target: 'serverless' }),
  images: {
    loader: 'imgix',
    deviceSizes: [320, 500, 680, 1040, 2080, 2048, 3120],
    domains: ['localhost', 'images.unsplash.com', 'static.gotsby.org', 'static.ghost.org'],
  },
  reactStrictMode: true,
})

Here is the warning from 'Next.js':
warn  - Statically exporting a Next.js application via `next export` disables API routes.
This command is meant for static-only hosts, and is not necessary to make your application static.
Pages in your application without server-side data dependencies will be automatically statically exported by `next build`, including pages powered by `getStaticProps`.
Learn more: https://err.sh/vercel/next.js/api-routes-static-export

@icy-meteor Could you please verify?

Got past the image optimisation error but fails with the following error :

Got past the image optimisation error but fails with the following error :

You forgot to disable ISR.

You forgot to disable ISR.

Oops, my bad :)
Yes, works now! Confirmed.

Oops, my bad :)
Yes, works now! Confirmed.


feat: added parquet sampling

parquet sampling function developed in data_utils.py;
Added sample_nows argument in ParquetData class;
Added test_len_sampled_data in test_parquet_data.py

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@menglinw two things:

you'll want to open the PR into dev
also you'll want to rebase onto dev to resolve the conflict with dataprofiler/data_readers/data_utils.py


Plugin testing documentation on using pytest-httpx

I keep on having to figure this out: if you use the https://pypi.org/project/pytest-httpx/ fixture to write tests against mocked external APIs, they will fail because that module will break Datasette's own datasette.client testing mechanism.
You can fix this using:
@pytest.fixture
def non_mocked_hosts():
    return ["localhost"]

See https://github.com/simonw/datasette-indieauth/blob/1.2/tests/test_indieauth.py
I can add this tip to the https://docs.datasette.io/en/stable/testing_plugins.html page.

https://docs.datasette.io/en/latest/testing_plugins.html#testing-outbound-http-calls-with-pytest-httpx

https://docs.datasette.io/en/latest/testing_plugins.html#testing-outbound-http-calls-with-pytest-httpx


Bug release - Firebase service is not available

I have a serious problem with my apps and after being updated to version 0.8.2 the app works normally in debug/profile but when I create realese or even after being installed from the store I check through logcat that AwesomeNotifications gives me an error:
class com.google.common.reflect.g isn't parameterized (SharedManager:4)
class com.google.common.reflect.g isn't parameterized (SharedManager:4)
Firebase service is not available (check if you have google-services.json file) (AwesomeNotificationsFcm:4)
I don't know what to do anymore because all my apps are bugged with this new version.
My google-services.json file is correct in the android/app folder and nothing has changed in my firebase recently.
Has anyone gone through something similar?

Error printscreen.
All firebase services are loaded (crashlytics, analytics, performance, etc.) but AwesomeNotificationsFcm insists on returning this error and saying that firebase is not loaded.


Add unit tests for classes org.apache.maven.repository.MavenArtifactMetadata & org.apache.maven.plugin.CacheUtils

Hi,
I've analysed your codebase and produced some unit tests for the following classes - org.apache.maven.plugin.CacheUtils and org.apache.maven.repository.MavenArtifactMetadata.
I've written the tests for these functions with the help of Diffblue Cover.
Hopefully, these tests should help you detect regressions caused by future code changes.
---- Mavin checklist ----
Following this checklist to help us incorporate your
contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed
for the change (usually before you start working on it).  Trivial changes like typos do not
require a JIRA issue.  Your pull request should address just this issue, without
pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [MNG-XXX] - Fixes bug in ApproximateQuantiles,
where you replace MNG-XXX with the appropriate JIRA issue. Best practice
is to use the JIRA issue title in the pull request title and in the first line of the
commit message.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will
be performed on your pull request automatically.
[ ] You have run the Core IT successfully.

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[ ] I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004

[ ] In any other case, please file an Apache Individual Contributor License Agreement.

Approved pending changes John has requested.


fix(styles,documentation): Improved rendering of the home page for HCM

The SVG package icons are not working in dark-mode (not HCM related). Do you have any idea how to fix this?

@oliverschuerch I can't reproduce it. Do you use the rendering panel on Chrome or something else?