Disable stringop-overflow warning when including minimp3 since it produces false positives.

When building with 32-bit GCC 12.2.0 with -O3 the stringop-overflow warning produces false positives when including minimp3.
https://gcc.godbolt.org/z/aq7zf1z1q
CI currently fails to because of this, see here.
This change disables stringop-overflow when including minimp3.
Until this change is merged, no other PRs will pass checks since MinGW 12.2.0 is a requirement now.

Would it make sense to add a short comment explaining what this warning suppression does?

I don't really see the point in commenting this addition since 1. -isystem should have prevented the need for this 2. this warning is known to create false positives and 3. we already disable a bunch of warnings for MSVC without a comment either. It should be obvious when looking at this include why we had to disable the warning so a comment here wouldn't add much value.

I rebased to 2.6.x since we'd need it there as well.


vscode: 1.31.0 -> 1.31.1

Motivation for this change
Was going to wait for *.2 but realized that there isn't always a *.2.
Things done

[x] 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)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] 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)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build vscode


Fix loader bug of profile page

This PR fixes issue no. #883
I have added the condition for finding user and if not found then show 404

Is it? let me check.

Is it? let me check.

yes, you may re add this on your localhost and it shouldn't work! ;-;


fix(studio): upgrade studio image to latest

What kind of change does this PR introduce?
Bugfix/dependencies upgrade
Allow to deploy this bugfix for local dev: https://github.com/supabase/supabase/pull/29646
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 60.211%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
5
12.9%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.03%

Covered Lines:
6516

Relevant Lines:
10822

💛  - Coveralls

Need to use fix/feat to trigger a patch/minor release.


Fix Somalia to include Somaliland. Fixes #30

See johan/world.geo.json#30

@bramus thanks
I included this fix to geojson collection


Added support for custom time format in header clocks

Signed-off-by: Andre Wanlin<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Added support for custom time format in header clocks. This allows changing the clocks to 24hr format for example:

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@emmaindal ready for another review when you have some time, please 😄

Thanks @benjdlambert, @camilaibs, and @emmaindal 🚀


add "UMAD" functionality

Nudge and UMAD are the same but similar. Rather than make two tools, it would be nice if nudge could just be a universal tool.

After thinking about it, UMAD-swift, if ever built, will be a separate project.

Talked to @rorymurdock and we may in fact want to build this in.

@rorymurdock no excuses now. This is the second time you want to work on it.

@erikng @rorymurdock knock knock... a dead issue is calling...


Update config.js

Traduction FRANCAISE des instructions de configuration / FRENCH TRADUCTION of instruction for configure.

I dont think that much persons in France using agar lvlgen.
And i hope everyone there can speak english too... We cant add every language, but im not a mod^^

^^

@W1LKC0 @MastaCoder If you guys need I can do the same to Spanish & Portuguese, there are some people from that languages that ask me about aga-lvlgen
~srry for bad english

LANG FILE!!!


Feature/capstone create, display and count comments

This is the final capstone project of Microverse's second module. We created a popup window  and functionality to create comments and display them on the popup window.
Essential requirements:

Use Html/CSS
Use JavaScript ES6
Use API
Make sure linter for free of errors.
Using Gitfow.
Created with webpack.
Documented in a professional way.

Hi @ezraermy
Your project looks awesome! 🎉
Highlights 💯
Descriptive pull request ✔
Descriptive commit messages ✔
Change Required ♻
To make the project look pretty, It's will be better if :
-you correct linter error
-When the user click on the button submit, It's will be better if the input value disappear

To avoid conflicts at the time of pooling, it would be better to put the content that is in MEAL.js to put it back in index.js, and delete the MEALS.js

Optional suggestions
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
—


Data Iterator Issue with Containing feature

Hi,
I wrote this code in the script that used to work for Design Studio but now isn't working with Lumira 2.0. Is there something new that I missed?
var rows_1 = DATAITERATOR_CTOS_TABLE.getRows().containing({"dimensions" : [{ "key":"ZLOC_NAME__ZGR_ORD", "value": "1"}]});

Probably a scope bug in 2.0 and fixable. Can you attach an error log?

Also be sure you are using the new Lumira Designer 2.0 extensions.

Hi Mike,
        Yes, I'm using the Lumira 2.0 extensions. I have attached the error log from the Designer. Please let me know if you need anything else from my end.

Error Log Data Iterator.txt

Error Log Data Iterator.txt

Hi Mike,
    Did you have a chance to take a look at this?

Vijay,
I looked at the code at it looks like this should work just fine.  It looks like I fixed this back on Aug 18th:
https://github.com/org-scn-design-studio-community/lumiradesignercommunityext_src/commit/33cb9cc07081b1a90e08273cb3d9383ebf97a70f#diff-1d076083521e140a61e930da74484735L3882
Can you confirm you are using the LATEST download (and downloaded after Aug 18) from here?
https://github.com/org-scn-design-studio-community/lumiradesignercommunityext/blob/master/releases/org.scn.community.sdk.extensions.zip?raw=true

Hi Mike,
    yes I downloaded the file for Lumira 2.0 on Sep 26th. Post-installation we started having issues with that particular line.

That is strange.  Is it possible to create a small sample app and attach it for me to debug then?  This should be working just fine.  (Similar bug reported here: https://github.com/org-scn-design-studio-community/lumiradesignercommunityext/issues/8)

var rows = DATAITERATOR_CTOS_TABLE.getRows();
var rows_1 = rows.containing({"dimensions" : [{ "key":"ZLOC_NAME__ZGR_ORD", "value": "01"}]});
This is all I have written.. And it fails at line 2.

My apologies, I think I found the error.  Related to scope...  Can you re-download and try again now?  I've just pushed a fix.

Can I use the same link you have provided before in the conversation to download?

Yes, the download link will always be the same.

OK. I'm trying now. Will let you know in a few minutes if it's fixed.

Mike, it's working now ! Man am I happy or what ! Thank you for your quick help in resolving this for me.

Glad I could help!  Sorry for occasional delays in response, since it's a spare-time project, etc.  Good luck!

Closing this issue as it was resolved.


Can O' Spam: Watch donerightplumber.com

Can O' Spam requests the watch of the watch_keyword donerightplumber\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

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

Approved by Ryan M in Charcoal HQ


Register master node in API server

Current implementation is not registering master nodes in API server: https://github.com/kubernetes-incubator/kargo/blob/master/roles/kubernetes/node/templates/kubelet.j2#L15. This configuration disable logs collection with kubectl logs. I believe better approach would be to register the node and mark it as unschedulable with --register-schedulable=false. This way new pods won't land on master nodes, in the same time it's possible to use kubectl command for debugging.

It's a good idea and we're discussing this problem upstream in https://github.com/kubernetes/kubernetes/issues/38187
The downside is daemonsets can't be blocked from running on master.

The upside is daemonsets can be running on master (for example for log collection or perfomance monitoring) :). In general case I agree that we should be careful with default values, nevertheless it would be good for kargo to support it (with extra vars to indicate whether user wants to register node).

cc @dkrzyszczyk

Is this related https://github.com/kubernetes-incubator/kargo/issues/687 ?

@bogdando Looks like this is the same issue.

If you don't mind, I'll close this one to be superseded then


Initial support for the ginga viewer as an option

This adds support for Ginga as an image viewer in the specreduce interidentify GUI tools.
If the user does not have ginga installed or there is a problem importing it then nothing is different from the default.  If the ginga package is installed then the ginga viewer replaces the imageWidget with a ginga-powered one.  This gives you a very full featured image browser.

Thanks so much for the quick pull request @ejeschke !
I've just tried to check it out and I've run into the error
File "test_specred_rss.py", line 9, in
from specreduce.interidentify import InterIdentify
File "/Users/crawford/programs/specreduce/specreduce/interidentify.py", line 42, in
from gingatools import GingaImageDisplay
File "/Users/crawford/programs/specreduce/specreduce/gingatools.py", line 11, in
from ginga.qtw.ImageViewCanvasQt import ImageViewCanvas as GingaCanvas
File "/usr/local/lib/python2.7/site-packages/ginga/qtw/ImageViewCanvasQt.py", line 11, in
from ginga.qtw import ImageViewQt
File "/usr/local/lib/python2.7/site-packages/ginga/qtw/ImageViewQt.py", line 15, in
from ginga.qtw.QtHelp import QtGui, QtCore, QFont, QColor, QImage,
File "/usr/local/lib/python2.7/site-packages/ginga/qtw/QtHelp.py", line 50, in
sip.setapi(cl, 2)
ValueError: API 'QString' has already been set to version 1
Do you know the quick source of this or should I go hunting?

See the test file and email I sent you.

Ah thanks for the update, i'm going to add it here as a note
# hack to force Qt v2 api
import sip
for cl in ('QString', 'QVariant'):
     sip.setapi(cl, 2)

Is there a way to incorporate this in the code?

But, yes, with that I got it to work!  Awesome!

If I add that import from sip into the init.py it seems to then work without needing it in the script.  Unless there is a good reason not to, can you add that to this pull request and then I'll go ahead and merge it?

Hi @crawfordsm, I've updated the branch to fix a couple of issues.  First, the layout with the ginga widget now looks good.  I also removed the log messages to stderr.  Checkout the branch and let me know your thoughts.


Users should be able to send products links and images to  Social media

All send buttons working and able to send on Facebook

Done

Opened


repair TOC in edown

https://github.com/uwiger/edown/pull/13 restores edown's ability to make the TOC again. Remove the perl hack and relax again.

the docs release should be done on commit through travis


How to bundle for "file://" use

Hello,
i'm trying to build an webpack-app that will be served via the Awesomium.net (http://www.awesomium.com/) Framework, and i'm trying to bundle the app in a way, that it pulls the content via "file://" protocol instead of "http". In other words, i would like to be able to open my "dist/index.html" via filemanager in my browser and it serves the assets and js files correctly.
Can anyone explain this to me?  I tried the "AppCache" Plugin, but could'nt figure out how to set it up correctly.
I',m using the "vue-cli webpack" Package : https://github.com/vuejs/vue-cli
My current webpack.build  file:
var path = require('path')
var config = require('../config')
var utils = require('./utils')
var webpack = require('webpack')
var merge = require('webpack-merge')
var baseWebpackConfig = require('./webpack.base.conf')
var ExtractTextPlugin = require('extract-text-webpack-plugin')
var HtmlWebpackPlugin = require('html-webpack-plugin')
var AppCachePlugin = require('appcache-webpack-plugin');
var env = process.env.NODE_ENV === 'testing'
  ? require('../config/test.env')
  : config.build.env

var webpackConfig = merge(baseWebpackConfig, {
  module: {
    loaders: utils.styleLoaders({ sourceMap: config.build.productionSourceMap, extract: true })
  },
  devtool: config.build.productionSourceMap ? '#source-map' : false,
  output: {
    path: config.build.assetsRoot,
    filename: utils.assetsPath('js/[name].[chunkhash].js'),
    chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
  },
  vue: {
    loaders: utils.cssLoaders({
      sourceMap: config.build.productionSourceMap,
      extract: true
    })
  },
  plugins: [
    // http://vuejs.github.io/vue-loader/workflow/production.html
    new webpack.DefinePlugin({
      'process.env': env
    }),
    new webpack.optimize.UglifyJsPlugin({
      compress: {
        warnings: false
      }
    }),
    new AppCachePlugin({
      cache: ['someOtherAsset.jpg'],
      network: null,  // No network access allowed!
//      fallback: ['failwhale.jpg'],
      settings: ['prefer-online'],
      exclude: ['file.txt', /.*\.js$/],  // Exclude file.txt and all .js files
      output: 'my-manifest.appcache'
    }),
    new webpack.optimize.OccurenceOrderPlugin(),
    // extract css into its own file
    new ExtractTextPlugin(utils.assetsPath('css/[name].[contenthash].css')),
    // generate dist index.html with correct asset hash for caching.
    // you can customize output by editing /index.html
    // see https://github.com/ampedandwired/html-webpack-plugin
    new HtmlWebpackPlugin({
      filename: process.env.NODE_ENV === 'testing'
        ? 'index.html'
        : config.build.index,
      template: 'index.html',
      inject: true,
      minify: {
        removeComments: true,
        collapseWhitespace: true,
        removeAttributeQuotes: true
        // more options:
        // https://github.com/kangax/html-minifier#options-quick-reference
      },
      // necessary to consistently work with multiple chunks via CommonsChunkPlugin
      chunksSortMode: 'dependency'
    }),
    // split vendor js into its own file
    new webpack.optimize.CommonsChunkPlugin({
      name: 'vendor',
      minChunks: function (module, count) {
        // any required modules inside node_modules are extracted to vendor
        return (
          module.resource &&
          /\.js$/.test(module.resource) &&
          module.resource.indexOf(
            path.join(__dirname, '../node_modules')
          ) === 0
        )
      }
    }),
    // extract webpack runtime and module manifest to its own file in order to
    // prevent vendor hash from being updated whenever app bundle is updated
    new webpack.optimize.CommonsChunkPlugin({
      name: 'manifest',
      chunks: ['vendor']
    })
  ]
})

if (config.build.productionGzip) {
  var CompressionWebpackPlugin = require('compression-webpack-plugin')

  webpackConfig.plugins.push(
    new CompressionWebpackPlugin({
      asset: '[path].gz[query]',
      algorithm: 'gzip',
      test: new RegExp(
        '\\.(' +
        config.build.productionGzipExtensions.join('|') +
        ')$'
      ),
      threshold: 10240,
      minRatio: 0.8
    })
  )
}

module.exports = webpackConfig

I figured it out - i had to change
"assetPublicPath" from '/' to './'. in /config/index.js
Now the App serves properly, even without an HTTP Server.


Table types

What's up?
In https://github.com/PRQL/prql/issues/2622#issuecomment-1564616852, @aljazerzen makes an interesting suggestion re declaring tables. I'm moving here so we can keep that focused on the nulls question.

Well, my current idea on how to declare tables looks like this:
# table is just a declaration without a value
let foo <{
   id = int,
   name = str || null,
}>

I quite like this!
Only one question — should it be an array of these? e.g.

# table is just a declaration without a value
let foo <[{
   id = int,
   name = str || null,
}]>

Only one question — should it be an array of these? e.g.

Oh yes, of course. It's a relation after all - an array of tuples.
This proposal does not introduce anything new, just says that any relational variables without values should be treated as database tables.

Great!
Actually one more question — just the syntax: should the items be type definitions rather than =?
# table is just a declaration without a value
let foo <[{
   id<int>,
   name<str || null>,
}]>

I'd say no.
That's because this is an array of a single tuple:
let foo_type = [
   {id = int, name = str || null}
]

... the tuple fields are "a set of all ints" and "a set of all strings and the null value", but it's a normal variable nonetheless.
It's converted into a type only when <> is used:
let foo <foo_type>

That's because this is an array of a single tuple:
let foo_type = [
   {id = int, name = str || null}
]

OK, I'm trying to build a mental model of this. The tuple's values are types, which give us the constraint of "a set of all ints" etc...

If so, I might have thought these would be equivalent:
let foo <[{
   id<int>,
   name<str || null>,
}]> = [{2, "foo"}]

and
let foo_type = [
   {id = int, name = str || null}
]

let foo<foo_type> = [{2, "foo"}]

...but my mental model is still a bit hazy.

This is the key concept: sets are values that can be converted to types, using < > operator.
let foo = [{a = 3, b = null}]

# foo is used as a value
let my_value = (foo | derive b = a + 1)

# foo is used as a type
let my_table <foo>;

This is possible because there a bit of overlap between "normal values" and "values that can be converted into types". In this case, I leveraged the fact that literals can be converted into  a singleton type (a type that can hold only one value).
So < > is converting values to types, recursively.

Update: with #3786 we have separate grammars for types and expressions. This means my last comment is not relevant anymore and we can change the syntax of table declarations separately from the the grammar of value expressions.

For clarity there are a few more examples:
## a tuple type
type my_tuple = {id = int, b = string || null}

## a relational type
type my_relation = [my_tuple]

## equivalent to the above
type my_relation = [{id = int, b = string || null}]

## a table declaration
## We don't provide the value, only a relational type,
## so the compiler can assume that this variable exists
## as a table in the target database.
let my_table <my_relation>

## equivalent
let my_table <[my_tuple]>

## equivalent, again
let my_table <[{id = int, b = string || null}]>


Multiple context layers per model

This gives the ability to open multiple contexts ontop of a loaded model
The model/context split was done with the least amount of changes to the current implemtation so this may not be the best/final solution, but is a good drop in place update to keep in-line with llama.cpp

Console examples have been updated however they do not make use of multiple contexts
Web interface has been updated to use multiple contexts, one per websocket

I accedentally merged #74 into this branch, so might be worth waiting for that to be closed (sorry about that)

Now that all the other PRs are merged could you rebase this onto master? Thanks
Also I noticed this includes some binaries, which version are they exactly?

It's really a big work. Thank you for your contribution! However I think adding an abstraction LLamaModelContext may be a little confusing. A dictionary is introduced to keep multiple models in a LLamaModel object instead of reducing the memory cost. In the current master branch, LLamaExecutor is used as a context to run the inference of the model. Therefore, if I wasn't misled, there're some overlaps between the concept of LLamaModelContext and LLamaExecutor. Could you please tell us more about your idea?

Yeah modifying the Executor may be a better option.
I will close this off so  better implemetation can be done via the Executor base class


remove hardcoded board size check

didn't test this but should be correct

I had some weird bug report with weird victory conditions, must have been related to that, nice catch!


Add method-to-model section to Haiku migration guide

This sections showcases method-to-model and handling of raw hk data API like get_parameter and get_state.

Codecov Report

Merging #3277 (fdaf852) into main (c8424b0) will decrease coverage by 0.04%.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3277      +/-   ##
==========================================
- Coverage   82.59%   82.56%   -0.04%
==========================================
  Files          55       55
  Lines        6309     6314       +5
==========================================
+ Hits         5211     5213       +2
- Misses       1098     1101       +3

see 2 files with indirect coverage changes

Thanks for all the suggestions! All are applied.


Deep clones BlockData + Change test for BlockData#matches()

Description
Previously when copying any block data, the copied BlockData has referenced to the same map which stores the data, this in essence gives odd behavior such as changing the value on the copied data modifies the original data (vise versa), see test BlockDataMock#clone_isCloneChangeInValue(). This becomes especially an issue when dealing with BlockStates as the BlockState should be a state, and not have objects that reference to BlockData in a block or another blockstate
What this pull request does is to change the reference in the clone to a new map with the same values as the object being cloned.
I also modified a unit test for BlockData#matches(), this broke with this change and when testing that test in a real instance, the proven behavior was the opposite of what was tested previously.
Checklist
The following items should be checked before the pull request can be merged.

[x] Code follows existing style.
[x] Unit tests added (if applicable).

Is this the same behavior as Paper? I left it like this on purpose since last I checked it was how Paper handled it, could be wrong though.

I did a simple testplugin for this:
        wallSign.setFacing(BlockFace.EAST);
        WallSign wallSignCopy = (WallSign) wallSign.clone();
        wallSignCopy.setFacing(BlockFace.NORTH);
        this.getLogger().log(Level.INFO, wallSignCopy.getFacing().toString());
        this.getLogger().log(Level.INFO, wallSign.getFacing().toString());

Output:
[20:22:35 INFO]: [TestPlugin] NORTH
[20:22:35 INFO]: [TestPlugin] EAST

Here's an update on this on the code end of things; Everytime the value is set this following code is run:
public <T extends Comparable<T>, V extends T> void set(Property<T> ibs, V v) {
        // Straight integer or boolean setter
        this.parsedStates = null;
        this.state = this.state.setValue(ibs, v);
}

Which means that whenever the BlockData is changed, it changes the reference to the field state. Which is what holds all the data. This reference does not change whenever an instance of a BlockData is cloned. But the exact same behavior can be seen as if it was cloned, as the only way to modify a BlockData instance is through the BlockData#set method.
The way paper achieves this is probably somewhat more efficient than deep cloning the instance (as I understand it, all possible nms BlockStates is stored in a table or something like that), but I believe  the performance gain in relation to complexity is not worth it. Therefore let's just deep clone everything.


Remove reference to old slack channel

Description
The pull request template had a reference to a slack channel no longer in use. This PR updates the reference to the current slack channel.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 9c39cf2e4a500308728edf6dae9c637ef5c36722


[Question] Is it possible to use one graphics device with multiple windows

It appears that creating a graphics device requires us to reference a window with it and we cannot find a way to use one graphics device for multiple windows

Never mind we were able to figure something out with help from the discord server. There is a way to do it but with the fact that opengl doesn't support it, we decided to stick with using one window per graphics device


Fix of typo in VDA5050_EN.md

Since it's still there, and none answered or handled it so far, here is how I assume it's supposed to be.
Resolves #107

Please create Pull Requests against the development version, if possible.
Change was reverted and fixed in PR #215.


Octopus PPT goto slide

The goto slide number function does not work in Octopus Listener
Expected behaviour
When entering a slide number, it should go to that slide, commando is being send, but the listener does nothing
Next and previous does work.
Desktop (please complete the following information):
OS: macOS High Sierra 10.13.6
I saw that this had been raised and closed once, but i am having the same issue.

The octopus listener on Mac is build with aaple script and the go-to does not work. As I understood no updates will come, so this functionality is only for windows. I might add some text in the module for it


Update dependencies and code

Update dependencies
Clean up imports
Use Tuple and /\ instead of tuple2, tuple3
Use Effect instead of !, Type instead of *
Add psci support to devDependencies

I might not get to this for a couple of days if that's OK?

@SimonRichardson that's perfectly fine. I'll likely keep investigating myself.


Use version 1.3 of radiotherm

Description:
Upgrade required version of radiotherm library to 1.3 to add support for CT80 Rev B V1.09 and a number of other models.
Related issue (if applicable): fixes #2576
Pull request in home-assistant.github.io with documentation (if applicable): Unable to patch docs due to my employer's policy on Non-Commercial license patching.
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ No - see above ] Documentation added/updated in home-assistant.github.io

Hi @twilde,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Rethink API

I've been wondering what if we changed the API to something more simple.
New
// [Sync changes:notes entityName:@"Notes" dataStack:self.dataStack completion:nil];

+ (void)changes:(NSArray *)changes
     entityName:(NSString *)entityName
      dataStack:(DATAStack *)dataStack
     completion:(void (^)(NSError *error))completion;

Old
// [Sync processChanges:notes usingEntityName:@"Notes" dataStack:self.dataStack completion:nil];

+ (void)processChanges:(NSArray *)changes
       usingEntityName:(NSString *)entityName
             dataStack:(DATAStack *)dataStack
            completion:(void (^)(NSError *error))completion;

Coming from Ruby, I like how the old one reads like a sentence. Maybe you could still do that with less verbosity, though.

Actually the first argument of the proposed syntax reads better (Sync changes [...]), but the second worse ([...] entityName).

So I'm totally bad at this, but what about…
[Sync changes:notes as:@"Notes" [...]

Hell, if DATAStack does what I think it does, what about…
[Sync changes:notes as:@"Notes" on:self.dataStack ...]

…? Too crazy?

Hell, if DATAStack does what I think it does, what about…
[Sync changes:notes as:@"Notes" on:self.dataStack ...]

…? Too crazy!?

That's very Swift of you, we should totally change the API once we make a Swift bridge.

So ahead of my time, you know. ;-)

What about
+ (void)changes:(NSArray *)changes
    inEntityName:(NSString *)entityName
         dataStack:(DATAStack *)dataStack
        completion:(void (^)(NSError *error))completion;

@RamonGilabert I like that!

@3lvis I was thinking in adding just changes inEntity dataStack (or just stack) the user will see the placeholder saying, entityName so I think they'll know what to put.

@RamonGilabert I haven't choose that direction because of NSEntityDescription, in a Core Data context when you say entity most of the time you are referring to a NSEntityDescription instance.
We could go for
+ (void)changes:(NSArray *)changes
   inEntityName:(NSString *)entityName
      dataStack:(DATAStack *)dataStack
     completion:(void (^)(NSError *error))completion

All right, let me finish a small surprise and I'll go for it! :dancers:

Fixed on #40!
Thanks @RamonGilabert :star2:  :bouquet: :star2:


[Related Artists] X Works, X for sale line adjustment

When the total number of works is equal to the total number for sale, simplify language to "X works for sale"

Also need to report that artist to @mzikherman for having an incorrect artist image.

Fixed by #109.


Printing resource labels as columns

Fixes #9631
By adding --label-column= you can print any label as column.
Question: Are all labels capital? Do we to be case-sensitive?

Looks good, though let's switch to -L.
The test failure looks like a flake.

Done, rebased and tests are working on my laptop. Should I squeeze the commits?

Yes, go ahead and squash after fixing the -k issue. The Shippable failure looks like a flake.

ok to test

Squashed and ready

Thanks. LGTM, assuming tests pass.

I am not sure why this fails

Shippable passed. Looking at e2e output, but I doubt it's caused by this PR.

The failure was the addon_upgrade test recently added by PR #9493. It's not invoking the functionality you're adding, so I think it's a flake.

@k8s-bot retest this please

@k8s-bot retest this please

Due to a bug in the PR plugin, the bot failed to update, but the most recent run succeeded.
Ran 48 of 89 Specs in 322.395 seconds
SUCCESS! -- 48 Passed | 0 Failed | 2 Pending | 39 Skipped
GCE e2e build/test passed for commit b06ef70057ee8195d82a9fdc132dcd88b596f2f3.

Build Log
Test Artifacts
Internal Jenkins Results


Fix path

@Qi77Qi one more fix (can't push to `main branch). Thanks

yea, I enabled that rule...we can disable it if we think it's too early for this repo


Clarified type of Window()'s partition_by and order_by arguments.

Hello.
After some discussion on the #django irc noticed that the documentation only mentioned that a sequence (and explicitly list for partition_by) was accepted whereas the example for order_by shows a singular expression. Code revealed that both partition_by and order_by both accept a single expression, or a tuple/list.

@shangxiao Thanks :+1: Welcome aboard :boat:


how to add grunt-cache-bust to yeogurt-BB-SPA

Hey Jake,
We'd like to add something like this:
https://github.com/hollandben/grunt-cache-bust
to the build so when new new builds are pushed the client knows to get new script (like version number in file name.).
Is there a simple way to add this task?

I guess you can do both using the grunt-filerev plugin. It might not be exactly what you are looking for since the task will append an 8 character hash to each filename of your static assets, but it should work.
You can add a new file -- filerev.js to your grunt/config/util/ folder and add the following content:
'use strict';

var taskConfig = function(grunt) {

  grunt.config.set('filerev', {
    dist: {
      src: [
        '<%= yeoman.dist %>/scripts/{,*/}*.js',
        '<%= yeoman.dist %>/styles/{,*/}*.css',
        '<%= yeoman.dist %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',
        '<%= yeoman.dist %>/styles/fonts/*'
      ]
    }
  }
};

module.exports = taskConfig;

Then just add the task to your grunt/tasks/build.js file like so:
'use strict';

var taskConfig = function(grunt) {
  grunt.registerTask('build', 'Build a production ready version of your site.', [
    'clean:dist',
    'injector',
    'wiredep',
    'copy:dist',
    'concurrent:images',
    'concurrent:compile',
    'useminPrepare',
    'concat:generated',
    'cssmin',
    'autoprefixer:server',
    'filerev:dist',
    'usemin',
    'htmlmin:dist',
    'uglify',
    'clean:tmp'
  ]);
};

module.exports = taskConfig;

Let me know if that works out. :beers:

Hey Jake! Thanks for writing that out. Yes, this solution would work great.
"Do you want cache busting for your static assets, or do you want to append some number to your files?"
Cache busting of static assets (for some reason I thought that appending a num to the file would result in the same thing).
We tried the above and got this error:
--
Running "useminPrepare:html" (useminPrepare) task
Going through client/index.html to update the config
Looking for build script HTML comment blocks
Warning: An error occurred while processing a template (Cannot read property 'dist' of undefined). Use --force to continue.
--
Do we need to update useminPrepare too?
--
https://github.com/yeoman/grunt-usemin/issues/291
There's this comment too from the above usemin issues which might be related? :
"I'm having this same problem. Line 166, as referenced by @Feijk works, but only if I put grunt.config, not if I put grunt.config.get().
Seems like it should work the latter way, given what the grunt docs say. Anyone else see this?
I'm on grunt-usemin v2.1.1 and grunt v0.4.4, by-the-way."

Jake we actually just got rid of the error ( just by changing the yeoman to yeogurt in the new taskConfig ). It's not appending any of the strings to the filenames so looking into that now.

Great :+1:
Glad you got it all working.


searching for smithi and smithii returns different results

smithi matches 56, smithii only 15 name usages:
http://api.col.plus/dataset/1010/name/search?q=smithi
http://api.col.plus/dataset/1010/name/search?q=smithii
Using the SciNameNormalizer as an Analyzer (for both query and indexing) this should yield the same results.

Probably best done after facets


Migration pod fails when istio sidecar container is enabled

Error:
time="2021-06-10T06:38:54Z" level=info msg="configuration file" func=github.com/treeverse/lakefs/cmd/lakefs/cmd.initConfig file="/build/cmd/lakefs/cmd/root.go:53" fields.file=/etc/lakefs/config.yaml file="/build/cmd/lakefs/cmd/root.go:53" phase=startup
time="2021-06-10T06:38:54Z" level=info msg="loaded configuration from file" func=github.com/treeverse/lakefs/cmd/lakefs/cmd.initConfig file="/build/cmd/lakefs/cmd/root.go:81" fields.file=/etc/lakefs/config.yaml file="/build/cmd/lakefs/cmd/root.go:81" phase=startup
Failed to setup DB: dial tcp: lookup <dbhostname>.us-east-1.rds.amazonaws.com on <IP_ADDRESS>:53: dial tcp <IP_ADDRESS>:53: connect: connection refused

@johnnyaug is this still relevant


Social icons and uBlock (Fanboy’s Social Blocking List)

I just noticed that the "social icons" (email, GitHub, Twitter, etc.) in the so-called social-icon list are blocked by uBlock with the Fanboy’s Social Blocking List. This list is a rather popular choice to block intrusive social buttons, but I don't think they should block these, which are just links (as far as I can tell). I agree that a fix on the uBlock list would be preferable, but simply renaming the ul class to "network-icon" (with the corresponding CSS) seems to do the trick (which, incidentally shows how indiscriminate the uBlock list is).

Excellent, thanks! Please make sure the CSS is updated too!

@basille Yes, the CSS was updated in the previous commit, as part of the new theme system (66ca3fca7596048ff7511a8361912ba2434c2b72) :)

Release notes: https://sourcethemes.com/academic/post/v0.30.0/

Wow, lots of great stuff! I look forward to testing v0.30!


[Enhancement] OpenSearch client level exception handling

Currently, if the OpenSearch client does not throw an OpenSearchException, the status code returns 500. Other exceptions in Amazon OpenSearch (AOS) can be returned, for example, Runtime exception. And these cases should be handled gracefully if there's statu code.

[Catch All Triage - 1, 2, 3, 4, 5]


allow node-style require() in cropper

Currently, cropper only supports usage through AMD modules (e.g. requireJS) or browser globals.
This changeset adds support for server-side require() style dependency declarations.
Pattern adopted from jrburke's UMDJS repo: https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js

sweet! thanks @nchase this makes the plugin usable with Browserify


Can't run flutter app inside Android Studio

Hi all,
I have seen this issue here and on stackoverflow but I didn't find any solution to it.
When I run my code I get the following error message:

Exception in thread "main" javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(Unknown Source)
at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(Unknown Source)
at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source)
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source)
at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at java.base/sun.security.validator.Validator.validate(Unknown Source)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 25 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.base/java.security.cert.CertPathBuilder.build(Unknown Source)
... 30 more
Error: Gradle task assembleDebug failed with exit code 1

My flutter doctor -v is:
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22631.4317], locale sl-SI)
    • Flutter version 3.24.3 on channel stable at C:\src\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (4 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

How to resolve this issue?

Looking at the error log, it doesn't seem to be related to Flutter, but coming from native. Check your local internet connection and confirm if it is working fine. Make sure you are not using VPN or any restricted network or office network with proxy.
Another possibility is combination of gradle + android studio config. Check https://stackoverflow.com/questions/26697118/android-studio-unable-to-find-valid-certification-path-to-requested-target for further reference.
Closing for now. You may ask this in support channels like StackOverflow.

I am using my company computer to run it which probably uses VPN. Will check out that stackoverflow question.


Fix typo in Hamming test definitions

Just fixes a small typo that I noticed when building another file.

Nice catch, thank you.


Port over code for populating SequenceDictionaries from .dict files

Some code to do this is in https://github.com/heuermh/cannoli/pull/11. Additionally, we should update the various places in the code that "create" a sequence dictionary from thin air to support providing a .dict file.

See also Bedtools "genome" file
http://bedtools.readthedocs.io/en/latest/content/overview.html#what-is-a-genome-file


feature: added Android platform

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Integration testing for the Android platform
What is the current behavior? (You can also link to an open issue here)
Not implemented yet
What is the new behavior (if this is a feature change)?
Implemented
What might this PR break?
Nothing
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
Tested on a real device

 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.:x: cabauman sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Welcome @cabauman!

Thanks @ghuntley. Happy to be aboard! I intend this to be the first of many.


Fix build, CI, tests

WIP, project builds, tests fail, just making PR to test TravisCI support. Working on integration tests, stay tuned.

hey @dmjio, thanks for getting interested? May I ask what your motives are?
Just to set your expectations, I haven't really touched the code in years now, but I know some people used it in the past. And I can see that fixing the CI build was the last thing I was supposed to do to merge the previous contribution.
If you manage to fix this great, I'll be happy to merge.

Sounds great, think we just need to use the 64bit binaries of q server and it should pass on travis.

Awesome, I will eagerly await for the changes.
Any comment on:

hey @dmjio, thanks for getting interested? May I ask what your motives are?

Fine if you can't say (I get that kdb usually involves proprietary stuff), just lemme know if that's the case!


support for locize, or other localization management solution?

Hi, do you think next-translate could support locize, or another localization management solution?
Like react-i18next, in this example (video here)

In Vinissimus we use PoEditor with next-translate. And it works quite well.
With Locize, I don't know. I haven't tried it. Maybe overwriting the loadLocaleFrom and the missing keys logger of the configuration would be enough, or maybe not and it is necessary to make adaptations in the package.
If you are encouraged by this you can create an example with Locize in this repo, we will try to make the necessary adaptations in the case to be necessary.

@aralroca, thanks for your answer! Though PoEditor seems to be more expensive then Locize.
I also saw you added to the 1.1.0 milestone, is it to support Locize, or for something similar?

We'll see what we can do.

@aralroca Firstly, thanks for a great tool! We've been happily using it in production for a while now.
I was wondering if you had the time to quickly describe your workflow with poeditor? We see that they have a github integration, but haven' quite been able to visualize the workflow including git branches, manual updates in the UI and so on. Do you, for example, use poeditor as the final source of truth and then sync files checked into github? If so do you sync files using the API, by downloading locally and creating a branch, or using the poeditor UI?
We also think locize look promising due to its live update ish functionality (no need for source code updates, rebuilds etc). If we end up going that way, would a PR with a locize integration be of interest?

@luknl https://simplelocalize.io/next-translate/


OAuth2 redirect implementation

Description
I want to use OpenID Connect's authorization code flow here:

Part of this flow involves redirecting to the client after authentication is completed on the Identity Provider's side. However, it seems that this part of the flow is not yet implemented in Laravel Rest API.
By default, the Swagger UI sets the redirect URI to /oauth2-redirect.html, and there is an implementation to handle the response: https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html. The default redirect URI also can be change as well: https://stackoverflow.com/questions/49518868/oauth2-authorization-in-nelmioapidocbundle/49519134#49519134.
So maybe the easiest way to handle this is to install Swagger UI in my own project and then create a route where I load Swagger UI's oauth2-redirect.html. If I want to change the redirect URI as well, then I want to override your blade template where the Swagger UI was loaded. Later it might be a problem that the Swagger UI version used by the Laravel Rest API is different from mine, so I have to pay attention to that too.
The question is, do I have to do this with a workaround, or do you plan for the Laravel Rest API to support this as well?

I'm not quite sure to understand the problem you have there, using openID, you have the "openIdConnectUrl" and then you'll need to redirect to the correct url
I'm not an openApi expert but this seems to be possible using this: https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html#L12
For the security schemes I used the openApi examples, this might not be related to SwaggerUI
If I understand well, the problem is only on the redirect side once openId protocol has been approved on server ?

@GautierDele The problem occurs when the Identity Provider redirects you back to the application (in our case, the API documentation). A 404 error will occur if we do not set the 'oauth2RedirectUrl' in the SwaggerUI settings, or not making a route for the default '/oauth2-redirect.html` URL which does not exist by default. The Swagger UI code above should be served on this URL to handle the response and 'remember' the tokens for use in the documentation.
Here's my rough workaround for testing routes/api-php:
Route::get('/oauth2-redirect.html', function () {
    return OAUTH2_REDIRECT;
})->name('oauth2-redirect');

// https://github.com/swagger-api/swagger-ui/blob/master/dist/oauth2-redirect.html
const OAUTH2_REDIRECT = <<<CODE
<!doctype html>
<html lang="en-US">
<head>
    <title>Swagger UI: OAuth2 Redirect</title>
</head>
<body>
<script>
    'use strict';
    function run () {
        var oauth2 = window.opener.swaggerUIRedirectOauth2;
        var sentState = oauth2.state;
        var redirectUrl = oauth2.redirectUrl;
        var isValid, qp, arr;

        if (/code|token|error/.test(window.location.hash)) {
            qp = window.location.hash.substring(1).replace('?', '&');
        } else {
            qp = location.search.substring(1);
        }

        arr = qp.split("&");
        arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';});
        qp = qp ? JSON.parse('{' + arr.join() + '}',
                function (key, value) {
                    return key === "" ? value : decodeURIComponent(value);
                }
        ) : {};

        isValid = qp.state === sentState;

        if ((
          oauth2.auth.schema.get("flow") === "accessCode" ||
          oauth2.auth.schema.get("flow") === "authorizationCode" ||
          oauth2.auth.schema.get("flow") === "authorization_code"
        ) && !oauth2.auth.code) {
            if (!isValid) {
                oauth2.errCb({
                    authId: oauth2.auth.name,
                    source: "auth",
                    level: "warning",
                    message: "Authorization may be unsafe, passed state was changed in server. The passed state wasn't returned from auth server."
                });
            }

            if (qp.code) {
                delete oauth2.state;
                oauth2.auth.code = qp.code;
                oauth2.callback({auth: oauth2.auth, redirectUrl: redirectUrl});
            } else {
                let oauthErrorMsg;
                if (qp.error) {
                    oauthErrorMsg = "["+qp.error+"]: " +
                        (qp.error_description ? qp.error_description+ ". " : "no accessCode received from the server. ") +
                        (qp.error_uri ? "More info: "+qp.error_uri : "");
                }

                oauth2.errCb({
                    authId: oauth2.auth.name,
                    source: "auth",
                    level: "error",
                    message: oauthErrorMsg || "[Authorization failed]: no accessCode received from the server."
                });
            }
        } else {
            oauth2.callback({auth: oauth2.auth, token: qp, isValid: isValid, redirectUrl: redirectUrl});
        }
        window.close();
    }

    if (document.readyState !== 'loading') {
        run();
    } else {
        document.addEventListener('DOMContentLoaded', function () {
            run();
        });
    }
</script>
</body>
</html>
CODE;


Error when adding Plex Media Server Library

What version of Music Assistant has the issue?
2.2.7
What version of the Home Assistant Integration have you got installed?
No response
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
Hello,
when i try to add my Plex Media Server with MyPlex, i can log my account but after that i get an error in MASS :
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Thanks.
How to reproduce
Setup IP, Port, click Authenticate with MyPlex, go to Plex website, log in, then come back to MASS and get error message.
Music Providers
Plex Media Server Library
Player Providers
None
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.10.1
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Windows

Sorry it’s my fault, bad plex server configuration.


在配置SSL证书过程中出现域名申请过多驳回情况

在最后一步配置SSL证书的时候，提示由于以上域名申请过多证书被驳回，现在没办法开启SSL。
[Thu Sep 19 13:58:30 UTC 2019] Create new order error. Le_OrderFinalize not found. {
"type": "urn:ietf:params:acme:error:rateLimited",
"detail": "Error creating new order :: too many certificates already issued for: sslip.io: see https://letsencrypt.org/docs/rate-limits/",
"status": 429
}

等一会就好了


Undefined method 'to_prepare' for ActionDispatch::Callbacks:Class (NoMethodError)

Using Rails 5.1.2, Ruby 2.4.0p0
I have an existing app, attempting to add a Grape API on top of it to call it from another app. Following the documentation, I put the following code in app/api/wlp/api.rb:
module WLP
    class API < Grape::API
        version 'v1', using: :header, vendor: 'Washington Listing Pros'
        format :json
        prefix :api

        resource :listings do
            desc 'Return all listings'
            get :listings do
                Listing.all
            end

            desc 'Return a listing'
            params do
                requires :id, type: Integer, desc: 'Listing ID'
            end
            route_param :id do
                get do
                    Listing.find(params[:id])
                end
            end
        end
    end
end

Put the following in my application.rb:
config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]

My config/routes.rb:
Rails.application.routes.draw do
    mount WLP::API => '/'
    resources :listings, only: [:show, :new, :create, :edit]
    root 'landing#index'
    get 'contact', to: 'contact', controller: 'landing', as: :contact
end

I installed the hashie forbidden attributes gem properly. I created the config/initializers/reload_api.rb file:
if Rails.env.development?
    ActiveSupport::Dependencies.explicitly_unloadable_constants << 'Twitter::API'

    api_files = Dir[Rails.root.join('app', 'api', '**', '*.rb')]
    api_reloader = ActiveSupport::FileUpdateChecker.new(api_files) do
        Rails.application.reload_routes!
    end
    ActionDispatch::Callbacks.to_prepare do
        api_reloader.execute_if_updated
    end
end

I'm receiving the error message when I try to start the Rails server. Is this not supported for 5.1.2?

Call stack?

Sorry, here ya go:
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:286:in load' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:286:in block in load'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in load_dependency' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:286:in load'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/engine.rb:655:in block in load_config_initializer' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb:168:in instrument'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/engine.rb:654:in load_config_initializer' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/engine.rb:612:in block (2 levels) in class:Engine'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/engine.rb:611:in each' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/engine.rb:611:in block in class:Engine'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/initializable.rb:30:in instance_exec' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/initializable.rb:30:in run'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/initializable.rb:59:in block in run_initializers' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:228:in block in tsort_each'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:422:in block (2 levels) in each_strongly_connected_component_from'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:431:in each_strongly_connected_component_from' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:421:in block in each_strongly_connected_component_from'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/initializable.rb:48:in each' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/initializable.rb:48:in tsort_each_child'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:415:in call' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:415:in each_strongly_connected_component_from'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:349:in block in each_strongly_connected_component' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:347:in each'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:347:in call' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:347:in each_strongly_connected_component'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:226:in tsort_each' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/tsort.rb:205:in tsort_each'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/initializable.rb:58:in run_initializers' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/application.rb:353:in initialize!'
from /home/paul/pmds/websites/listingpros/washingtonlistingpros/config/environment.rb:5:in <top (required)>' 	from config.ru:3:in require_relative'
from config.ru:3:in block in <main>' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in instance_eval'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:55:in initialize' 	from config.ru:in new'
from config.ru:in <main>' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in eval'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:49:in new_from_string' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/builder.rb:40:in parse_file'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/server.rb:319:in build_app_and_options_from_config' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/server.rb:219:in app'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:24:in app' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rack-2.0.3/lib/rack/server.rb:354:in wrapped_app'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:80:in log_to_stdout' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:42:in start'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:131:in block in perform' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:126:in tap'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/commands/server/server_command.rb:126:in perform' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/command.rb:27:in run'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor.rb:369:in dispatch'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/command/base.rb:63:in perform' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/command.rb:44:in invoke'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/railties-5.1.2/lib/rails/commands.rb:16:in <top (required)>' 	from /home/paul/pmds/websites/listingpros/washingtonlistingpros/bin/rails:9:in require'
from /home/paul/pmds/websites/listingpros/washingtonlistingpros/bin/rails:9:in <top (required)>' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in load'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in call' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in call'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client.rb:30:in run' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.2/bin/spring:49:in <top (required)>'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in load' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in <top (required)>'
from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:68:in require' 	from /home/paul/.rbenv/versions/2.4.0/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:68:in require'
from /home/paul/pmds/websites/listingpros/washingtonlistingpros/bin/spring:15:in <top (required)>' 	from bin/rails:3:in load'
from bin/rails:3:in `'

Sigh, so much going on here. If you put a project up on github that reproduces this I can take a look.

I added you as a collaborator.

@rnubel PR a into @PAMulligan's project? Can I close this?

I'm at work at the moment, haven't been able to confirm the fix, but if you're certain this is the answer, close away and I'll reopen if it's still an issue.

The problem seems to be in RedmineExtensions gem.
module Reloader
    def self.to_prepare(*args, &block)
      if defined? ActiveSupport::Reloader
        ActiveSupport::Reloader.to_prepare(*args, &block)
      else
        ActionDispatch::Reloader.to_prepare(*args, &block)
      end
    end
...
end

ActiveSupport::Reloader.to_prepare(*args, &block) needs to be called.
activesupport gem installed?

I've installed gem activsupport but still get an error:
NoMethodError: undefined method `to_prepare' for ActionDispatch::Reloader:Class
after running command:
bundle exec rake redmine:plugins:migrate NAME=redmine_dmsf RAILS_ENV="production"


Move + to the end of the lines so Gradle doesn't throw an error

8b80169d3d2ac5e360bd7d286c45bc593a068cdb introduced a change here that caused Gradle to throw an error when trying to get the classpath. I don't know much Groovy, but I think Groovy is understanding this like Line 15 and subsequent lines have a semi-colon at the end since there's no operator like + telling it to look at the next line

Ok thanks, I did not know this was a problem with Groovy.


file used for theme

can you tell me which file does this extension use from .cache/wal ? i want to change few colors manually.

The extensions reads colors from ~/.cache/wal/colors.

thank you.


Results Task 1 - Ihor O

Great Job 🚀 ! Can you please post the web framework (if any 😀) which you used?


az acr build error in azure devops pipeline in version 20210711.1

Describe the bug
error suddenly in azure devops pipeline after 2021/7/15.
Command Name
``
az acr
build
--verbose
--registry
‘xxxxx'
--resource-group
'xxxxx'
--platform
linux/amd64
--file
D:\a\1\s\modules\src\FileDownload\bin\publish\Release\linux-x64\Dockerfile.linux-amd64
--image
'xxxxx'
'D:\a\1\s\xxxxxx'
for ...
Errors:
WARNING: Packing source code into tar to upload...
WARNING: Uploading archived source code from 'C:\Users\VSSADM~1\AppData\Local\Temp\build_archive_950ccb9389684b2e97290a77ba231c47.tar.gz'...
INFO: Client-Request-ID=0975e18b-e936-11eb-811b-000d3ab3c179 Outgoing request: Method=PUT, Path=/d85a9f98874a4c50ae0763370e889c97-2f40ahilti/source/202107200000/4432206c-d7f2-4631-ae7a-e22a0348a189.tar.gz, Query={'timeout': None, 'sv': '2018-03-28', 'sr': 'b', 'sig': 'REDACTED', 'se': '2021-07-20T09:39:45Z', 'sp': 'cw'}, Headers={'x-ms-blob-type': 'BlockBlob', 'x-ms-lease-id': None, 'If-Modified-Since': None, 'If-Unmodified-Since': None, 'If-Match': None, 'If-None-Match': None, 'Content-Length': '34099655', 'x-ms-version': '2018-11-09', 'User-Agent': 'Azure-Storage/2.0.0-2.0.1 (Python CPython 3.8.9; Windows 10)', 'x-ms-client-request-id': '0975e18b-e936-11eb-811b-000d3ab3c179', 'x-ms-date': 'Tue, 20 Jul 2021 08:39:46 GMT'}.
INFO: Client-Request-ID=0975e18b-e936-11eb-811b-000d3ab3c179 Receiving Response: Server-Timestamp=Tue, 20 Jul 2021 08:39:48 GMT, Server-Request-ID=9e8b6fbe-501e-0057-3142-7d1d6e000000, HTTP Status Code=201, Message=Created, Headers={'content-length': '0', 'content-md5': 'PELsvInBgI4GiAG5YPRUYA==', 'last-modified': 'Tue, 20 Jul 2021 08:39:49 GMT', 'etag': '"0x8D94B59EFB8778C"', 'server': 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id': '9e8b6fbe-501e-0057-3142-7d1d6e000000', 'x-ms-version': '2018-11-09', 'x-ms-request-server-encrypted': 'true', 'date': 'Tue, 20 Jul 2021 08:39:48 GMT'}.
WARNING: Sending context (32.520 MiB) to registry: alaniotacr...
ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: 'NoneType' object is not callable
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 657, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 720, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 691, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 328, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acr/build.py", line 106, in acr_build
TypeError: 'NoneType' object is not callable
To open an issue, please run: 'az feedback'
INFO: Command ran in 25.739 seconds (init: 0.199, invoke: 25.539)
WARNING: az acr
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
``

Expected Behavior
build success.
Environment Summary
Installer: MSI
azure-cli 1.164.0
success env:
Starting: Initialize job
Agent name: 'Azure Pipelines 3'
Agent machine name: 'WIN-J4L756MPM8H'
Current agent version: '2.188.4'
Operating System
Microsoft Windows Server 2019
10.0.17763
Datacenter
Virtual Environment
Environment: windows-2019
Version: 20210628.1
Included Software: https://github.com/actions/virtual-environments/blob/win19/20210628.1/images/win/Windows2019-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/win19%2F20210628.1
Current image version: '20210628.1'
Agent running as: 'VssAdministrator'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: PowerShell (2.186.0)
Downloading task: UseDotNet (2.184.0)
Downloading task: AzureCLI (1.164.0)
Checking job knob settings.
   Knob: AgentToolsDirectory = C:\hostedtoolcache\windows Source: ${AGENT_TOOLSDIRECTORY}
   Knob: AgentPerflog = C:\agents\perflog Source: ${VSTS_AGENT_PERFLOG}
   Knob: TaskRestrictionsEnforcementMode = Enabled Source: $(agent.taskRestrictionsEnforcementMode)
   Knob: EnableTaskRestrictionsTelemetry = true Source: $(agent.enableTaskRestrictionsTelemetry)
Finished checking job knob settings.
Start tracking orphan processes.
Finishing: Initialize job

error env:
Starting: Initialize job
Agent name: 'Azure Pipelines 3'
Agent machine name: 'fv-az239-394'
Current agent version: '2.188.4'
Operating System
Microsoft Windows Server 2019
10.0.17763
Datacenter
Virtual Environment
Environment: windows-2019
Version: 20210711.1
Included Software: https://github.com/actions/virtual-environments/blob/win19/20210711.1/images/win/Windows2019-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/win19%2F20210711.1
Current image version: '20210711.1'
Agent running as: 'VssAdministrator'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: PowerShell (2.186.0)
Downloading task: UseDotNet (2.184.0)
Downloading task: AzureCLI (1.164.0)
Checking job knob settings.
   Knob: AgentToolsDirectory = C:\hostedtoolcache\windows Source: ${AGENT_TOOLSDIRECTORY}
   Knob: AgentPerflog = c:\vsts\perflog Source: ${VSTS_AGENT_PERFLOG}
   Knob: TaskRestrictionsEnforcementMode = Enabled Source: $(agent.taskRestrictionsEnforcementMode)
   Knob: EnableTaskRestrictionsTelemetry = true Source: $(agent.enableTaskRestrictionsTelemetry)
Finished checking job knob settings.
Start tracking orphan processes.
Finishing: Initialize job

Additional Context

route to service team

I have the same issue running az acr build from Azure CloudShell

@yonzhan  with the image version auto update to 20210719.0, the build command run successfully.

@AiHaibara share we close this issue?


Stacktraces are relative to the bundle, not the sourcemap

When I see an error in jasmine, I get a stacktrace that needs to be normalized to the sourcemap.
I'm not sure how to trick jasmine into using a sourcemap

Hello, @joeheyming!
I am confirm this :+1: . I think, it is very important thing for debugging and controlling a code.
Let's make pull request :)
@iredelmeier, thank you for best Jasmine Webpack Plugin :)
It is simplest and genius! :1st_place_medal:
Regard, Pavel Tretyakov


Allow optionals filtering in Reflectable

Found it useful when playing around with GraphQL queries. Merge if needed 😉
It's a soft filter ofc, optionals shouldn't even the processed
Checklist

[x] Circle CI is passing (code compiles and passes tests). (db timeouts)
[x] There are no breaking changes to public API.
[x] New test cases have been added where appropriate.
[x] All new code has been commented with doc blocks ///.

Hey @bre7, you just merged a pull request, have a coin!
You now have 3 coins.


[BUG] Not possible to join reshare over reshare view

Describe the bug
Not possible to join a reshare with a device that is not in the vault setup over the Join Reshare button on Reshare view
To Reproduce
Steps to reproduce the behavior:

Go to Settings, Reshare view
Join with Join reshare button
scan QR code
See error

Expected behavior
Open normal camera view to be able to join reshares

Version 1.2.1

Still reproducable:

@realpaaao this is correct behaviour because new device already has other vault installed


Demo's and library isn't working - TypeError: Cannot read property 'configure' of undefined

The demo page is no longer working. The error in the console reads:
TypeError: Cannot read property 'configure' of undefined

I'm having the same issue while using the library in my code.
The issue is coming from this line which expects hljs to exist as a property on window, but the property is not set.

I've determined the real cause is that I wasn't including the original highlightjs library.
Additionally, I'm using Browserify and expected this library to be pulled in automatically.
I'm working on a pull request which will solve for this.

This error happens when I use the npm modules for both highlight.js and angular-highlightjs along with webpack. Using require('highlight.js'); to load the highlightjs library creates the TypeError: Cannot read property 'configure' of undefined error. When I add a script tag and load highlightjs from the CDN there are no errors and all works well. Is there a way to fix the error using require instead of calling highlightjs from a CDN?

Will work on it this weekend. Thanks for the information!

@stickel I just updated the module pattern to UMD. It's on master branch now. If it works for you, I'll make a release ASAP!

@pc035860 Close. As it is in master I was getting an error that the module hljs couldn't be found. Updating this conditional in ./build/angular-highlight.js:
(function (root, factory) {
  if (typeof define === "function" && define.amd) {
    define(["angular", "hljs"], factory);
  } else if (typeof module === "object" && module.exports) {
    module.exports = factory(require("angular"), require("highlight.js"));
  } else {
    root.returnExports = factory(root.angular, root.hljs);
  }
}(this, function (angular, hljs) {

to this:
(function (root, factory) {
  if (typeof define === "function" && define.amd) {
    // define(["angular", "hljs"], factory);
    module.exports = factory(require("angular"), require("highlight.js"));
  } else if (typeof module === "object" && module.exports) {
    module.exports = factory(require("angular"), require("highlight.js"));
  } else {
    root.returnExports = factory(root.angular, root.hljs);
  }
}(this, function (angular, hljs) {

Everything started working with webpack. Not sure if/how it'll affect other build tools though.
I posted a few other files for the test app I was using in this gist as well to give you more context.

It seems that webpack's babel-loader will try to resovle modules with every possible pattern (rather than just CommonJS), hence causing
define(["angular", "hljs"], factory);

being looked up in your installed npm modules, where it can't find hljs-named module and caused the error.
I've updated the module name to sync with the CommonJS one. And It should be fine on master now.

@pc035860 Downloaded and tested the files from master and it's working great. :+1:

Just released v0.4.3. Thanks!

@pc035860 I still see this with v0.4.3 (and angular 1.3.17)
TypeError: Cannot read property 'configure' of undefined at Object.ngModule.provider.$get (VM1394 angular-highlightjs.js:47)

Actually - I missed the removal of the highlight.js dependency. Looks like we need to include that separately (using bower for this)

There's actually no official bower package of highlight.js now (see here).
But there's an official npm package, you can just npm install highlight.js --save for it.
Since you're using webpack, this should work for you.
I'm still wondering whether to add angular and highlight.js dependencies to package.json or not...

@pc035860 Have you updated the npm package with the newest version? When I try installing 0.4.3 npm can't find that version.

@stickel I forgot to publish the new version to npm... And I'm having some trouble publishing it at home. Will try to publish it tomorrow at work!

v0.4.3 published on npm now. Sorry for the delay!
https://www.npmjs.com/package/angular-highlightjs

'bower_components/angular-highlightjs/build/angular-highlightjs.min',
'js/highlight.min',

to
'js/highlight.min',
'bower_components/angular-highlightjs/build/angular-highlightjs.min',

Last one did the trick for (loading highlight.js before angular-highlightjs.js) – super-important hint!

@herrherrmann +1


[BUG] Get-PnPMicrosoft365GroupMember throws an exception if the group has no members

Reporting an Issue or Missing Feature
Get-PnPMicrosoft365GroupMember throws an exception if the M365 Group has zero members
Expected behavior
Get-PnPMicrosoft365GroupMember returns null or an empty collection
Actual behavior
Throws the following exception:
PSMessageDetails      :
Exception             : System.ArgumentNullException: Value cannot be null.
                        Parameter name: source
                           at System.Linq.OrderedEnumerable`2..ctor(IEnumerable`1 source, Func`2 keySelector, IComparer`1 comparer, Boolean descending)
                           at PnP.PowerShell.Commands.Microsoft365Groups.GetMicrosoft365GroupMember.ExecuteCmdlet()
                           at PnP.PowerShell.Commands.Base.BasePSCmdlet.ProcessRecord()
                           at System.Management.Automation.CommandProcessor.ProcessRecord()
TargetObject          :
CategoryInfo          : NotSpecified: (:) [Get-PnPMicrosoft365GroupMember], ArgumentNullException
FullyQualifiedErrorId : System.ArgumentNullException,PnP.PowerShell.Commands.Microsoft365Groups.GetMicrosoft365GroupMember
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Get-SiteCollectionPermission<Process>, C:\_temp\script.ps1: line 62
                        at <ScriptBlock>, C:\_temp\script.ps1: line 229
PipelineIterationInfo : {}

Steps to reproduce behavior
Get-PnPMicrosoft365GroupMember -Identity <GUID of M356 group with no members>
What is the version of the Cmdlet module you are running?
1.7.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Same as issue #1081

Fixed it , will be available in tomorrow's nightly !
Thanks for reporting :)


Use -f for multi-docker-compose instead of COMPOSE_FILE

Closes: #456
See: #454
Change-type: patch
Signed-off-by: Christina Ying Wang<EMAIL_ADDRESS>

lgtm!


Add the mapgen repository into the fast api container.

Need to install the fastapi into the container for k8s, else this will mess things up.
I do this here: https://github.com/metno/mapgen-fastapi/blob/main/containers/fastapi/Dockerfile#L20


Can't access buttons on the right

Hello,
On mobile it's not possible the change the fields, because it doesn't display the buttons on the right like on desktop. See attached image.

Hi, can you try with version 0.4.20?

It's still the same

I have the same issue, Any updates?

Same here: I started to use MDM and I love it! However, on an iPhone X, I need to rotate to landscape for accessing the controls.

I'm not able to reproduce it on my Iphone 12. Could you give me the width of your display? (you can use an online tool to find it like whatismyscreenresolution.net

I have an iPhone X Max:

Portrait screen resolution: 414 px width x 896 px height

I will post a screenshot to show what it looks like.

This should be fixed, can you confirm?


Allow change in sorting algorithm

Right now, images in albums are sorted by name in descending order, which usually means oldest picture first.
Allow names to be sorted in ascending order as well.

Also would be nice to be able to allow it to sort by exif date instead of name, as an option.

I was thinking some more about this, and it might be possible to allow users to create their own sorting and filtering functions by inserting a hook for the image sorting code?  For example, my algorithm for sorting is now even more complex than just working off the exif date...
      // sort undated files by name, and then append dated files ascending
      {{- $imgs := sort (.Resources.ByType "image") "Name" "asc" }}
      {{- $dated  := slice }}
      {{- $undated := slice }}
      {{- range $imgs }}
          {{- if (and .Exif .Exif.Date) }}
              {{- $dated = $dated | append . }}
          {{- else }}
              {{- $undated = $undated | append . }}
          {{- end }}
      {{- end }}
      {{- $imgs = $undated | append (sort $dated "Exif.Date" "asc") }}

Please pardon the ugly template code, I'm not a golang developer.

Yep, the sorting should be improved, but not all images have EXIF information, so we probably need secondary, fallback sorting  algorithms to handle those images without EXIF.

Fixed since<EMAIL_ADDRESS>you're able to sort images by date in desc or asc order, and specify date for images those without EXIF information.
Read more on https://hbstack.dev/modules/gallery/overview/#images-sorting.
If you want to customize the sorting, please create the layouts/partials/hb/modules/gallery/functions/sort-imgs.html on your site root.
That partial accepts an array of images that has Image (represents the image resources) and Date (the date from EXIF or params, maybe nil) members.

This is brilliant, thank you!
On Dec 26, 2023 at 1:19 AM -0800, Razon Yang @.***>, wrote:

Fixed since @., you're able to sort images by date in desc or asc order, and specify date for images those without EXIF information.
Read more on https://hbstack.dev/modules/gallery/overview/#images-sorting.
If you want to customize the sorting, please create the layouts/partials/hb/modules/gallery/functions/sort-imgs.html on your site root.
That partial accepts an array of images that has Image (represents the image resources) and Date (the date from EXIF or params, maybe nil) members.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.>


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 51 ms

Resolved: ClamAV performance has improved in 9be8f0d.


Update lts

this upgrades the lts to 11.2 and updates the tests to compile.

hey @blinky3713 thanks! it looks like this won't compile back on lts-9 though? at least on a skim [] and (cxt []) don't seem compatible. have you tested this on the older LTS?

I'm not sure what you mean "tested it on an old lts"? I have run your tests and verified that they pass after these changes. I have made a demp app which uses your library here https://github.com/f-o-a-m/foam.token-server, would you like me to test this?

primarily I'm asking if it still compiles under the older LTS. if it doesn't, we'll probably have to add some #ifs to test which version of template-haskell it's compiling against

Yeah, i'm sure it won't work on an older lts

Can I ask why you aren't publishing this with version bounds on hackage?

haven't spent the time to set correct version bounds yet, that's all

imo it makes more sense to publish a release with version bounds as a frame of reference, but I'm not sure what you're plans are.

yep, and ideally we'd publish into stackage and follow those policies as well

Then would you be opposed to just using the --pvp-bounds suggested by stack and publishing those? I'm in the process of cleaning up a few other things in  this repo and would like to continue.

No that sounds like a good start, which we can adapt to fit the older lts in a separate move


skorch canot work ,when X is Dataset , y is None and stratified is True 。

X is a Dataset (torchvision.datasets.ImageFolder) , y is None and stratified .
.........
X = datasets.ImageFolder(row_data_root,transform=data_tf)
net = NeuralNetClassifier(
    module=ResNet,
    criterion=nn.CrossEntropyLoss,
    optimizer = torch.optim.SGD,
    train_split=CVSplit(5, stratified=True,random_state=1),
    max_epochs = 20,
    lr = 0.15,
    batch_size = 4,
    device="cuda"
)
net.fit(rd,y=None)
......

/usr/share/python/anaconda3/lib/python3.6/site-packages/skorch/dataset.py in __call__(self, dataset, y, groups)
    241             "Stratified CV requires explicitely passing a suitable y.")
    242         if (y is None) and self.stratified:
--> 243             raise bad_y_error
    244
    245         cv = self.check_cv(y)

ValueError: Stratified CV requires explicitely passing a suitable y.

y is None and stratified

Could you explain what you mean by that? "stratified" split here means that after splitting, the target classes in the individual splits of y are distributed as closely as possible to the original distribution. Therefore, y cannot be stratified and None at the same time (it should be an array of int).
To continue without classification, pass train_split__stratified=False to NeuralNetClassifier.

Why can't get information about y directly from Dataset(torchvision.datasets.ImageFolder)?
thx

Many datasets, such as ImageFolder, only load the target data lazily (when __getitem__ is called). By it's very nature, this clashes with stratified splits, since they need to know the full distribution. The best thing you can do if you really need stratified splits (and as I said, it's easy to turn off) is to load all the targets:
y = np.array([dataset[i][1] for i in range(len(dataset))])
This might be slow, depending on your data, but you only need to do this once.


The duplex member must be specified for a request with a streaming body

Description
This is my first time seeing this issue after using this library for a while. But I've noticed that when I do a POST to an endpoint, like:
client.POST('/api/dsr/rows/validate', {
     body: {action: 'Move', action_data: 'a', bot_id: 1, step: 1, status: 'NotStarted', uuid: '1'}
})

It raises this error:
openapi-fetch.js?v=53b3da91:100 Uncaught (in promise)
TypeError: Failed to execute 'fetch' on 'Window': The `duplex` member must be specified for a request with a streaming body
    at coreFetch (openapi-fetch.js?v=53b3da91:100:26)
    at Object.POST (openapi-fetch.js?v=53b3da91:147:14)
    at DSRGrid (DSRGrid.tsx:47:12)
    at renderWithHooks (chunk-YDDRBQTN.js?v=53b3da91:11548:26)
    at updateFunctionComponent (chunk-YDDRBQTN.js?v=53b3da91:14587:32)

...which seems odd, considering I'm just passing in a simple object. I'm also doing a couple GETs and those work just fine.
Reproduction
This seems to only happen in Chrome. I'm using Version 125.0.6422.141 (Official Build) (64-bit). In Firefox (127.0.1 (64-bit)) this works as expected. I've also tried using a bodySerializer w/ JSON.stringify-ing the object.
I'm using FastAPI as the backend using a simple endpoint that basically does nothing:
    @router.post('/rows/validate')
    def validate_row(row: Row) -> Row:
        return row

Note that this endpoint doesn't actually get hit by the client. It's failing before the request is sent. The relevant OpenAPI stuff looks like this:
    "/api/dsr/rows/validate": {
      "post": {
        "summary": "Validate Row",
        "operationId": "validate_row_api_dsr_rows_validate_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Row-Input"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Row-Output"
                }
              }
            }
          },
          "404": {
            "description": "not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }

with Row-Input looking like:
      "Row-Input": {
        "properties": {
          "uuid": {
            "type": "string",
            "format": "uuid4",
            "title": "Uuid"
          },
          "step": {
            "type": "integer",
            "title": "Step"
          },
          "bot_id": {
            "type": "integer",
            "title": "Bot Id"
          },
          "action": {
            "type": "string",
            "enum": [
              "Move",
              "etc..."
            ],
            "title": "Action"
          },
          "action_data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Coord"
              },
              {
                "items": {
                  "$ref": "#/components/schemas/DispenseData"
                },
                "type": "array"
              },
              {
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Action Data"
          },
          "status": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "NotStarted",
                  "InProgress",
                  "Done"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Status",
            "default": "NotStarted"
          }
        },
        "type": "object",
        "required": [
          "step",
          "bot_id",
          "action",
          "action_data"
        ],
        "title": "Row"
      },

Expected result
It should do a POST
Checklist

[x] I’m willing to open a PR (see CONTRIBUTING.md)

I can do a PR if I can figure out what is happening.

Duplicate of https://github.com/openapi-ts/openapi-typescript/issues/1715. This has been resolved in 0.10.0.


404 link on 1.8 release blog post

This is a...

[x] Bug Report

Problem:
http://blog.kubernetes.io/2017/09/kubernetes-18-security-workloads-and.html link to architecture is 404.

It should point to https://github.com/kubernetes/community/tree/master/sig-architecture (instead of https://github.com/kubernetes/community/sig-architecture)

Hi, I would like to fix this one but I was not able to find the blog post, is it being written somewhere else where it is to be fixed? As I couldn't find any .md related to the same.

@divyam3897 I think SIG-PM owns the blog and has access to it.
@idvoretskyi Can PRs be sent to fix the blogpost?

cc @zacharysarah

Can PRs be sent to fix the blogpost?

Not sure, but @zacharysarah may help us.

@idvoretskyi 👋 Blog content is hosted and maintained elsewhere--outside of any repo, if I recall correctly. @kbarnard10 may be able to help.

Thanks for the heads up. I've fixed the link. The blog is maintained through blogger.com. Feel free to assign any future blog issues to me, or let me know if you need access.

@kbarnard10 would be awesome to host blog contents on GitHub and publish it from here. This way more #hacktoberfest people will be motivated to help with spell and link checking.

@arbeit +1. We have an issue open for it here: #5823


Rename repo to btrack

Avoids user confusion and links should redirect

LMK if you want me to do this

I think we should, but it isn't strictly necessary and entirely up to you

it would probably make sense to rename to btrack. Links will probably redirect but we should probably still update them in e.g. the README

Here's a grep of all files in this repository containing the string github.com/quantumjot/BayesianTracker
README.md
3:[![Tests](https://github.com/quantumjot/BayesianTracker/actions/workflows/test.yml/badge.svg)](https://github.com/quantumjot/BayesianTracker/actions/workflows/test.yml)

docs/dev_guide/index.rst
15:   git clone https://github.com/quantumjot/BayesianTracker.git

docs/user_guide/simple_example.rst
4:A simple pipeline is shown below. Others can be found in the `examples folder of the repository <https://github.com/quantumjot/BayesianTracker/tree/master/examples>`_.

pyproject.toml
48:urls.bugtracker = "https://github.com/quantumjot/BayesianTracker/issues"
50:urls.homepage = "https://github.com/quantumjot/BayesianTracker"
51:urls.usersupport = "https://github.com/quantumjot/BayesianTracker/discussions"

.napari-hub/DESCRIPTION.md
5:[![Tests](https://github.com/quantumjot/BayesianTracker/actions/workflows/test.yml/badge.svg)](https://github.com/quantumjot/BayesianTracker/actions/workflows/test.yml)


M3-2468 Add: Theme Spacing/Compact mode Switcher

Theme Spacing/Compact mode Switcher
This PR is a big theme rework to allow more user preference values and customization. Along with the light/dark theme, we feature now a switch to select a compact/normal mode.
There was quite a bit of refactoring happen due to renderGuard and exports, and there was a lof of styles that for fixed. This work also will pave the way for any other customization we'd like to implement in the future.
Type of Change

Non breaking change ('update', 'change')

Note to Reviewers
The compact theme should be tested everywhere to check for consistency. I also recommend switching back and forth through the testing to check for performance hits (lots of re-rendering can happen). I have not noticed anything wrong, and users won't toggle like crazy, but something to keep in mind.

@johnwcallahan thx for the thorough feedback! I updated all instances of updateFor to include classes and that fixed all the styles not re-rendering in the create workflow.
I also fixed the back up panel and the loading button

@johnwcallahan addressed as well!


Why doesn't time.ParseDuration() support days?

Prometheus has a command line flag storage.local.retention that can be used to configure the retention period of metrics. It looks like this string is parsed using time.ParseDuration().
Right now it has a default value of 15 days (360h0m0s), but in my specific case I want to set it to some higher value, say one year. This means that I need to specify 8784h, which looks quite unreadable.
I can understand why Duration can't support concepts like months and years, due to their irregular length. That said, would it make sense to extend it to support days? That way you could simply specify 366d instead.

In most locations days also have an irregular length.  There is one 23 hour day and one 25 hour day per year.  Since there is no clear way to resolve the ambiguity, we force the program to decide how it wants to handle it.


GCD Support for Large Files?

Any way to speed this up with GCD?  I have a CSV with 50k+ rows that I need to crunch through and just incrementing a counter takes about 45 seconds on my iPad.
// Time began:
let startTime = Date()

// Read the CSV file:
let filePath = Bundle.main.path(forResource: "foo", ofType: "csv")
let stream = InputStream(fileAtPath: filePath!)
let csv = try! CSVReader(stream: stream!, hasHeaderRow: true)

// Count the rows:
var counter = 0
while csv.next() != nil {
    counter += 1
}

// Check the results:
print("Rows: \(counter)")
print("Elapsed time: \(startTime.timeIntervalSinceNow) seconds")

Output:
Rows: 52229
Elapsed time: -46.1442109942436 seconds

I think the solution isn't GDC but a dedicated function to count rows without parsing and splitting them into [String].

I close this issue because it is outdated. By the way, speed has been improved with pull request #65.


[Feature need]Support custom api_base

I want to custom the openai api_base in order to use some proxy or other sites.
I would very much like to know if you can help implement this function, thank you.

Can you try if the --baseURL flag works for your use case?

Can you try if the --baseURL flag works for your use case?

Thanks.It works.
I would like to know if I can customize the model name? If not gpt-4o-mini

You can check all available arguments with --help flag. I believe themodel flag was called --model


Config representation is broken

The config representation appears to be broken:
In [1]: from parsl.configs.htex_local import config

In [1]: config
Out[2]: Config()

Git bisect tells me the last commit where this error didn't happen was c6deae01a2840b8617c0b3975c9f8c99882a0c60. The commits immediately after that I haven't tested because I'm getting some error from the enforce package. Then by 695d2763449026f9779a61a2293960ea531d89bb I see the error. So this appears to have something to do with the type checking.
cc'ing @benclifford

Removing the typechecked decorator here fixes the representation. We'll need to poke around to figure out how to make them play nicely.

RepresentationMixin gets the list of parameters to display by inspecting the argument list of __init__ and expecting that argument list to explicitly list all the relevant arguments:
>>> inspect.getfullargspec(Config.__init__)
FullArgSpec(args=['self', 'executors', 'app_cache', 'checkpoint_files', 'checkpoint_mode', 'checkpoint_period', 'data_management_max_threads', 'lazy_errors', 'retries', 'run_dir', 'strategy', 'monitoring', 'usage_tracking'], varargs=None, varkw=None, defaults=(None, True, None, None, None, 10, True, 0, 'runinfo', 'simple', None, False), kwonlyargs=[], kwonlydefaults=None, annotations={})

The @typechecked decorator replaces that __init__ with a different init that performs its own type checking and then passes on every keyword arg to the original __init__  (so doing similar to RepresentationMixin). That replacement __init__ does not list the arguments explicitly:
>>> inspect.getfullargspec(Config.__init__)
FullArgSpec(args=[], varargs='args', varkw='kwargs', defaults=None, kwonlyargs=[], kwonlydefaults=None, annotations={})

This specific problem is fixed by #927 which modifies RepresentationMixin to look for a single layer of functools.update_wrapper wrapping - which is used by the @typechecked decorator. #927 does not make RepresentationMixin cope with arbitrary decorators, though.


"Târgu Trotuș	" commune is listed in the drop-down menu

Description:
The commune is listed in the drop-down menu according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Type "Târgu Trotuș" in the search bar.
Expected results
The location is listed in the drop-down menu as "Comuna Târgu Trotuș, Bacău"


Use better default of storage location of "Stop AppMap recording"

closes https://github.com/getappmap/appmap-intellij-plugin/issues/289

Drop the file path input from the dialog of the "Stop Remote Recording" action
Default to target/appmap instead of tmp/appmap

The storage location of "Stop Remote Recording" now looks into appmap.yml and then defaults to  target/appmap if no appmap_dir setting was found.

:tada: This PR is included in version 0.36.3 :tada:
The release is available on:

v0.36.3
GitHub release

Your semantic-release bot :package::rocket: