The "size" parameter of the "add_overlay" method does not work

Hi!
Sorry for my english;)
I don’t understand why the size parameter does not work. overlay stretches to full screen proportionally. What am I doing wrong?
Size of test image - 200x80...
import picamera
from PIL import Image
from time import sleep

camera = picamera.PiCamera()
camera.resolution = (1280, 720)
camera.framerate = 24
camera.start_preview()

# Load the arbitrarily sized image
img = Image.open('/usr/local/lib/python2.7/dist-packages/sphinx/themes/scrolls/static/logo.png')
# Create an image padded to the required size with
# mode 'RGB'
pad = Image.new('RGBA', (
    ((img.size[0] + 31) // 32) * 32,
    ((img.size[1] + 15) // 16) * 16,
    ))
# Paste the original image into the padded one
pad.paste(img, (0, 0))

# Add the overlay with the padded image as the source,
# but the original image's dimensions
o = camera.add_overlay(pad.tobytes(), size=img.size)

# By default, the overlay is in layer 0, beneath the
# preview (which defaults to layer 2). Here we make
# the new overlay semi-transparent, then move it above
# the preview
o.alpha = 128
o.layer = 3

# Wait indefinitely until the user terminates the script
while True:
    sleep(1)

I find the sample code: https://github.com/waveform80/picamera/issues/235


[GSoC '18] Make mark_cmd command accessible to org members only

Part of https://github.com/coala/corobo/issues/551


Fix camera display on iOS when rotated after opening in landscape

On iOS, if you enable the camera preview while the device is in landscape and rotate the device to portrait, the preview layer's  width and height are reversed and the preview only appears to take up half the screen.

@mattczech Can you review this?

this fix is released here : https://www.npmjs.com/package/@forgr/camera-preview
and the merge conflit is resolved here: https://github.com/capacitor-community/camera-preview/pull/216


#54 Changes after QA

Thoroughly tested and reviewed 54-timeout-error-handling.
Made a number of changes, see commit messages for details.

These changes has been tested and QA:d by @amc0


[#8] [API] As a user, I can register a new account with email and password

close #8
What happened 👀
Create API for registering new account
Insight 📝

Create a new endpoint: {POST /api/v1/register}
Add unit test

Proof Of Work 📹

@Nihisil Could you take a look at this PR again? 🙏


API endpoint only accepts GET when it should accept POST

Upon days of investigation and posting on online forums, I feel that this may be a bug.
I have attached a link to a stackoverflow question that I posted regarding this problem.
https://stackoverflow.com/questions/45553296/api-endpoint-only-allows-get-when-it-should-take-post
Thank you.

Seems like this was an issue with Web API 2.0 (and not Asp.Net Core Mvc). If so, https://github.com/aspnet/aspnetwebstack would be the right place to file this issue.

This issue was moved to aspnet/AspNetWebStack#55


plotjuggler: 0.10.2-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository plotjuggler to 0.10.2-0:

upstream repository: https://github.com/facontidavide/PlotJuggler.git
release repository: https://github.com/facontidavide/plotjuggler-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.23
previous version for package: 0.10.1-0

plotjuggler
* critical bug fixed in ROS streaming
* Contributors: Davide Faconti

Sorry for these frequent PRs... I am trying to fix everything before the next SYNC...
Cheers

No problem. Any progress is better than no progress :wink:


Random State CubieCube converts to an impossible scramble

When converting a random state scramble to a StickerCube, the resulting color string results in an impossible scramble with a potential corner parity. In my testing, the cube state
{[{5 0} {4 2} {2 2} {6 0} {7 2} {0 0} {3 1} {1 2}] [{8 false} {6 true} {11 true} {3 true} {2 false} {9 false} {0 false} {4 true} {10 true} {5 false} {1 false} {7 true}]} converts to OWGYWBWYR RRBGYRGOO BBYOGBWYO OGWOBWYYR BOWWRWYBG BGRROGYRG.
Inputting those colors into a site like: https://rubiks-cube-solver.com/ give an impossible scramble to the solver, because of a potential corner parity. I twisted the colors on a corner twice, and it was able to successfully calcualate a solve solution.

Have you tested how often this happens? Random state generation does intentionally rotate the last corner to make the cube solvable. Might be worth using the solver in this repo to directly solve the scramble returned by the random state method, to see if maybe the conversion to sticker cube is actually what's broken, or something else.

This is where I see corner orientation being checked. https://github.com/unixpickle/gocube/blob/master/random_state.go#L40

I hadn’t thought about testing the random state with the solver to isolate the issue. I’ll check that out later today, and report back. Thanks!!

Solver finds solutions for the random cube state with no issues. Seems to be an issue with conversion then.

Looking into it further, RandomCubieCube does not give a true random state, either. Every time the function is called, it returns the same cube.

Go has a random number generator that is always fixed at program initialization. You can seed it like rand.Seed(time.Now().UnixNano()). The solutions are different likely because the solver is multithreaded which introduces non-determinism separate from the RNG.

If I get some time I can try to figure out what is wrong with the sticker conversion. I remember using this tool quite a bit at one point so I'm a bit surprised it's broken, although I don't think I used the cubie -> sticker cube -> string feature very much, so it seems like a likely candidate for a bug.

I also notice I have a ParseStickerCube function, so it should be easy to at least check that cubie -> sticker -> string -> sticker -> cubie always recovers the same cubie cube. Surprised I don't have a unit test for that.

I can see if I can’t get a test written for it, and open a PR if you like.

I had some time to get to the bottom of this tonight. Indeed the bug was random state scrambles, as you'd originally suspected (sorry for doubting you!). This went unnoticed because of a bug in the solver when corner orientation is invalid: it will happily spit out an "answer" that isn't actually solved.
Interestingly, the bug was not present in the sister library of this repo, puzzle.js, which does random state scrambles the same way. The bug doesn't happen there because random states are initialized as the identity, rather than in Go where they are created as all zeros. The strange thing is that I implemented the algorithm in gocube before puzzle.js, so it's surprising that my first implementation relied on an incorrect assumption that happened to be correct in the newer implementation. Maybe this wasn't the first time I had implemented random states in general...alas the explanation is lost in the sands of time!


alias bundler and gem in bashrc

I realized we really shouldn't alias gem and bundle since that would cause MyPKI to configure when people try to connect to https://rubygems.org.


This MUST be an array as in the base class

Laravel does not type any class properties like that. And even if it did, as this property didn't have one proper type this would be a breaking change to any class extending this one and overriding this property for any reason (e.g. replace default assignment values).


Open many collection objects all at once

Feature or enhancement
When I am in Filter CO.
And I want to clean data in TW
Then I want to search for a set of objects
Then I want to open ALL of those objects in different tabs.
Otherwise, I have to click twice (Radial CO, then Comprehensive) to open every single thing that needs edited.
Location
Filter CO
Screenshot, napkin sketch of interface, or conceptual description
Need an addition somewhere in radials to "Batch Open". NOT batch edit, because every object is different in this case, and I need to open every one.
Your role
Collection manager

Yes, I asked for the same for filter nomenclature and filter sources...

Alternative is being able to create a "set" of objects and pin it - which can then be browsed with "next" and "previous" in Browse or Edit tasks.

No, this is 100% doable if the user enables "popups and redirects" in site settings.
You can run window.open(url, '_blank') in a loop—every call will open a new tab.

@jlpereira Maybe we cap this at 25 for now?

Would prefer at least 50.

@jlpereira likely need to pause between records.


Add how it works

Hi team, please help review the process. Thanks.

How about this PR, shall we merge it? Maybe we can add the workflow images in README.md.

@quintuschen @alex-zige anything else we need to improve for this PR? Thanks.

We could potentially add the workflow images in this READMe file so people can see the workflow when they are looking at this repo.


clarification about creating many to many using the content type builder

hello guys, I was seeing that the content type builder allows you to create many to many relationships, since to do this you need an intermediate table, is it possible to create this relationship using the content type builder? no need for code or configuration? is there any guide to do this?
I suppose there must be a convention regarding the names of the columns, for example, I have the table article and tag, I created a content type called article_tag which will work as junction table and I try to set the id of the article with the column article_id of my junction table but the system does not allow me to do it.

Any guide will be appreciate...I'm using postgresql...
thank you!!!

Strapi will automatically generate all the stuff to make the relation work.

In your Article model you set tags and in you Tag models you set articles

can  we modify the junction table if we want to add another field in this table?

can we modify the junction table if we want to add another field in this table?

I would like to know this aswell

i would love to know this too !


touchdevelop conversion test suite needs update

*** ffjeei.ts, size=340
ffjeei.ts(1,21): error TS9258: Number is either too big or too small

Where does this test suite live and how do I run it?


file-loader not recognizing png on server restart

node v8.5.0
"file-loader": "^0.11.2",
I'm getting the error of 'unexpected character' when trying to render a png (also failed on jpg).
I have file-loader and url-loader, and both haven't worked on server start. But after the server is already running, if I then add the two lines of code (1) importing relative photo path (2) add  tag, then it'll load the photo... but once the server refreshes or I restart it, it errors out as an unexpected character
This is my webpack config
//webpack.config.js
import webpack from 'webpack';
import path from 'path';

module.exports = {
  entry: [
    'webpack-hot-middleware/client?reload=true', //note that it reloads the page if hot module reloading fails.
    'react-hot-loader/patch', // RHL patch
    './src/index.js'
  ],
  output: {
    path: __dirname + '/public',
    publicPath: "/",
    filename: 'bundle.js'
  },
  devtool: 'inline-source-map',
  plugins: [
    new webpack.HotModuleReplacementPlugin()
  ],
  module: {
   rules: [
     {test: /\.jsx?$/, exclude: /node_modules/, loaders: ['babel-loader']},

     {
       test: /\.scss$/,
       use: [
         { loader: "style-loader" },// creates style nodes from JS strings
         { loader: "css-loader" }, // translates CSS into CommonJS
         { loader: "sass-loader"} // compiles Sass to CSS
       ]
     },
     {
       test: /\.(png|jpg|gif)$/,
       use: [
         {
           loader: 'file-loader',
           options: {}
         }
       ]
     }
   ]
  }
};

This is my header component in which I'm rendering the image
//header.js
import React from 'react';
import { NavLink } from 'react-router-dom';
import headerLogo from '../../public/assets/images/ico.jpg';

const Header = () => (

<NavLink to="/" className="header-title-navlink header-title-text">TheDailyVibe</NavLink>

...

This is the error

/Users/ryan/Desktop/Df/Coding/the-daily-vibe/node_modules/babel-core/lib/transformation/file/index.js:590
throw err;
^
SyntaxError: /Users/ryan/Desktop/Df/Coding/the-daily-vibe/public/assets/images/ico.jpg: Unexpected character '�' (1:0)

1 | �PNG
| ^
2 |
3 |

I've tried url-loader, image-webpack-loader, and file-loader, taking the code from the docs mostly @ webpack.js.org
GitHub repo: https://github.com/Always-Sunny/the-daily-vibe
To reiterate: I get an error, saying that the png is an unexpected character only when I try to start the server with the 'import img' and 'img tag' code. If I delete these though, the server runs, and then I add them, the image loads and there is no error.

@Always-Sunny - Update to "file-loader": "^1.1.4"

Updating also fixed an error I was having with loading fonts. Some weird error like "Cannot find './options.json'" in a font file.

@d3viant0ne Didn't work for me.
Now @

"file-loader": "^1.1.4",

Alright, I know it works on OSX on NodeJS 8.4 as you can see above.
What are you working with

macOS Sierra
v10.12.6
NodeJS 8.5.0

I created a bare minimum app to test file-loader (to check if maybe it was some config problem in my app). Using Node -v 8.6.0 and Fileloader 1.1.4, it's not working with even the most simple react/node/webpack/express config. Let me know, when you have some free time, if this repo works on your comp. Thank you.
https://github.com/Always-Sunny/bare-minimum/tree/fileloader

I've actually got some time right now. I'll take a look

Hey man, I figured out what's causing my error. It's when I server-render:
If I change:
//server.js with server render
const server = express();
import React from 'react';
import ReactDOMServer from 'react-dom/server';
import App from './src/App';

server.get('/', (req, res) => {
  res.render('index', {
    content: ReactDOMServer.renderToString(<App/)
  });
});

to this:
//server.js without server render
const server = express();

server.get('/', (req, res) => {
  res.render('index', {
    content: "random text"
  });
});

I receive no error when I use relative imports in my  component. However, once I even add:
import App from './src/App';
in my server.js file, the error throws. I can't import any react component in my server file without node throwing an error on the relative imports in my client components.
I don't even have to use this line without the error throwing:
ReactDOMServer.renderToString(<App/)
As long as I import a react component into the server:
import App from './src/App';
Node won't accept my relative imports
What I can't figure out is how you got my own code to work.
I've been experimenting with my bare-minimum repo to test all of this, and when I tried commenting out all of the react imports in my main repo (the one you cloned), it worked and I was able to render relative paths

@Always-Sunny  Have you fixed this problem?
Thank you!


More intuitive Objective-C method calling API?

I've been doing a fair bit of plugin writing lately, and something that kept bugging me was the existing ways of invoking Objective-C methods - they don't quite integrate well into JavaScript, and throw off linters, syntax highlighters... all which leads me to a possible (better?) alternative to the existing methods of calling method on an Objective-C NSObject class or instance:
Instead of writing:
const window = [[NSPanel alloc]
	initWithContentRect: NSMakeRect(0, 0, 420, 646),
	styleMask: NSWindowStyleMaskClosable | NSWindowStyleMaskTitled | NSWindowStyleMaskResizable,
	backing: NSBackingStoreBuffered,
	defer: false
]];

or
const window = NSPanel.alloc().initWithContentRect_styleMask_backing_defer(
	NSMakeRect(0, 0, 420, 646),
	NSWindowStyleMaskClosable | NSWindowStyleMaskTitled | NSWindowStyleMaskResizable,
	NSBackingStoreBuffered,
	false
);

We could instead write:
const window = NSPanel.alloc().call({
	initWithContentRect: NSMakeRect(0, 0, 420, 646),
	styleMask: NSWindowStyleMaskClosable | NSWindowStyleMaskTitled | NSWindowStyleMaskResizable,
	backing: NSBackingStoreBuffered,
	defer: false
});

The advantages are:

linting works as expected
your syntax highlighter won't bug out
the semantics between an argument an its label is preserved
more unintuitive/obvious selector to JS translation than the underscore way
no need to use a preprocessor
100% js

This is possible because JavaScript objects preserve the key order their object literals were declared with. I've written an example implementation here, but it has downsides, namely: extending prototype to add call for every single object is kind of terrible, and that it might override any existing NSObject method/property with the name call. That second one can be easily overcome though by using $ in it's place or something.
Thoughts?

I don't see how your second example breaks linter or syntax highlighter. There is also no need for a preprocessor and is 100% js. The only thing is the "more intuitive" which is subjective.
On the other hand, your implementation is entirely dynamic so you will never be able to generate types for it. I'm actually very close to have typescript definition for the entire obj-c API (and so the JS API as well).
Also the order of the keys of an object is not guaranteed so I wouldn't rely on it no.
(Also we want people to use the obj-c as little as possible with the end to have this JS API covering 99% of the cases :) )

On a more high-level picture, we want people to use the obj-c API as little as possible with the end goal to have this JS API covering 99% of the cases :)

I like this goal the most. Should solve this problem entirely. Thanks for the feedback.


Problem in Opening the link

Can you help me fix this issue @manojjahgirdar
This is the route link that got created
https://covid-19-help-desk-fantastic-roan-jp.mybluemix.net/

@charlie-2201 Have you added the Watson Assistant credentials in the watson-assistant-credentials.json file?
{
    "apikey": "<YOUR_API_KEY_HERE>",
    "url": "<URL_HERE>",
    "assistant-id": "<ASSISTANT_ID_HERE>"
}

Just replace the <YOUR_API_KEY_HERE>, <URL_HERE> and <ASSISTANT_ID_HERE> by referring to 7. Add the Credentials to the Application. It should look something like this:
{
    "apikey": "xxxxxxxxx",
    "url": "https://api.eu-gb.assistant.watson.cloud.ibm.com",
    "assistant-id": "xxxxx-xxxx-xxxx-xxxx-xxxxxx"
}

I did the changes but the problem is still the same

@charlie-2201 Did you run the ’ibmcloud cf push’ after adding the credentials?

Yes

Can you run ibmcloud cf logs covid-19-help-desk --recent in your terminal and send me the logs?

No Logs

These are the preview of the desired statement

@charlie-2201 The problem is with the Watson Assistant credentials that you are adding. Go to IBM Cloud Resources and select Watson Assistant service and click on launch Watson Assistant. Select the Assistant that you have created and make sure you have linked the skill to the assistant. Click on the three dots and select settings. Here you will find the Assistant ID, URL and API Key. Copy these three things in the watson-assistant-credentials.json.
Also note that URL is only upto https://api.eu-gb.assistant.watson.cloud.ibm.com not the entire URL.

If you still have issue let me know when can we get on a call and solve the issue. I have tried this in my setup and it works fine for me.

Thank you so much for your help.

Can you please tell me that how can I access the database for the same?

Goto IBM Cloud resources and select Db2 service. Select the Service credentials tab and create a service credentials if not exists. Paste the copied json in the ibm-db2-credentials.json file and run the ibmcloud cf push command in your terminal it should work.

Actually I want to ask that if we want to implement the same for our chatbot then how can we modify the table and store the values of that table as well in our system in the same format as you implemented over dashboard.


infer.py doesn't work, variable referenced before assignment

Hi, thanks for the work!
But I think there is an obvious bug at line 56 in src_files/models/utils/factory.py:
model.load_state_dict(state[key], strict=True)
The variable key in else branch is used without definition. So when load_head argument is True, which True in infer.py, the code doesn't work.

Move the if else loop out of the load head loop will solve this problem.
        if 'model' in state:
            key = 'model'
        else:
            key = 'state_dict'
        if not load_head:
            filtered_dict = {k: v for k, v in state[key].items() if
                             (k in model.state_dict() and 'head.fc' not in k)}
            model.load_state_dict(filtered_dict, strict=False)
        else:
            model.load_state_dict(state[key], strict=True)

Still does not work, model loading failed.
RuntimeError: Error(s) in loading state_dict for TResNet:

The solution works for me too. Thanks

Hi, Can any of you guide me , I trained the code on my custom dataset and when i am trying to do the inference it gives me error that model key is not in the state_dict.


Add -I flag (capital -i) as alias for --no-smart-case

This should be pretty easy to add to 2.18.

Won't this go against the grep-likeness that ack proposes? The -I flag is used to ignore binary files in grep. Perhaps some other char like -N ?

Thanks for the thoughts.  Here's why I'm going with -I.
There are plenty of places where ack diverts from grep, and this is one of them.  My first priority is to make ack's flag match what grep's flag for the same functionality is.  grep doesn't have functionality to ignore previous -i and --smart-case.  Also, I don't mind conflicting with grep's -N because ack doesn't have that functionality to optionally ignore binary files.  It's what ack does always.
Finally, and this is probably the biggest, I try to make the capital version of an option be the negation of the lowercase version.  That's why -I makes sense as -i.
I just implemented -I the other day in ack3 (currently in development).  I wish I'd implemented it long ago in ack2, because I find myself using it all the time now.

I'm not going to add this to ack2.


revert name change?

https://github.com/intel/pmem-CSI/pull/242 changes the name of the project. It is not certain whether pmem-CSI is actually the right name. We need to clarify with @marcemq what the motivation for the PR was and potentially revert it.

Also https://github.com/intel/pmem-CSI/pull/247


Added list of identifiers to UnifiedItem

Created first integration test for CalmService with embedded ElasticSearch. Removed source from UnifiedItem and added a list of Identifiers to it. Modified Record accordingly

@alicefuzier Merge and deploy is up to you :)
Pinging @jtweed to notify him that this will break the API (if we deploy that service) as the current data in the index does not match this model.
This model is however more correct and the pipeline is almost ready to run data through in the correct format!

Fantastic thanks!


"Sticky Scroll" problem with C# classes/methods that contain Attributes

Type: Bug
After enabling the "Sticky Scroll" feature, C# classes and methods that contain Attributes are displayed incorrectly on the "sticky line".
The definition of one of the attributes is displayed on the "sticky line", instead of the class/method name.

VS Code version: Code 1.70.1 (6d9b74a70ca9c7733b29f0456fd8195364076dda, 2022-08-10T06:08:33.642Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2
Extensions (10)

Extension
Author (truncated)
Version

remote-wsl
ms-
0.66.3

vscode-icons
vsc
11.15.0

namespace
adr
1.1.2

prettier-vscode
esb
9.5.0

rest-client
hum
0.25.0

jwt-decoder
jfl
1.2.0

csharp
ms-
1.25.0

hexeditor
ms-
1.9.8

markdown-preview-enhanced
shd
0.6.3

stately-vscode
sta
1.9.2

A change in this area will appear in tomorrow's Insiders release. If you are able to test your use case in that please report back gere.

Thank you @gjsjohnmurray for commenting that. Indeed this is a duplicate of issue https://github.com/microsoft/vscode/issues/157405.


py-statsd hangs in FUTEX_WAIT

root@metrics01-eu:~# strace -p 2934
Process 2934 attached - interrupt to quit
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x7f41e40174b0, FUTEX_WAIT_PRIVATE, 0, NULL) = 0

<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 2934
Reading symbols from /usr/bin/python2.6...(no debugging symbols found)...done.

warning: .dynamic section for "/lib/libc.so.6" is not at the expected address (wrong library or version mismatch?)

warning: .dynamic section for "/lib/libnss_files.so.2" is not at the expected address (wrong library or version mismatch?)
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libutil.so.1...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Loaded symbols for /lib/libnss_files.so.2

warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
0x00007f41ec9c6330 in sem_unlink () from /lib/libpthread.so.0
(gdb) bt

Does my pull for #37 resolve this?

Have you tried applying #37?

Unfortunately I switched to txstatsd, cause the support seems to be a bit lacking over here :/


#939 and #1111 VeText 502

Description
#939 #1111
This PR should resolve both bug tickets we were having in Twilio by returning a simple status code.
(issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Created inbound SMS from twilio to dev inbound forwarder endpoint
[x] Verified that no 502 error was received in Twilio's logs

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Master merge involved github actions and delivery status work. None of that applies to this lambda.


cluster capacity comes in two flavors

kubernetes schedules two primary things:

pods to nodes
pvc to pv

thoughts about dividing the capacity command into two flavors to allow future expansion for clusters that do not have dynamic storage provisioning?
$ cluster-capacity compute // similar to current command
$ cluster-capacity storage // if we ever did something w/ pvc -> pv analysis?

Given a nature of various analysis we can run over cluster resources, the cluster-capacity KEYWORD seems reasonable. Currently, only the cluster scheduler is part of analysis. PV and family is another area I would like to explore. For that, we need to extend beyond scheduler and include Kubelet and possibly other components or part(s) of components.

$ cluster-capacity analyze compute --
$ cluster-capacity analyze storage --


Add version: DevelopedMethodsLLC.playit version 0.15.12

Pull request has been created with komac v2.5.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Will continue working on adding newer versions this once #170909 gets merged, for a faster manifest creation based off the current latest version in the repo.


Refactor data store to allow for constant time lookups

Data store looks to be mostly just a json no-sql database, which we should be able to do some fun stuff with to make very fast lookups (no db joins etc), but right now we have stuff like the UserStore iterating over all users to get the user, and we are going to introduce more of this O(N) code.
Let's figure out what we can do with the data store and be able to make O(1) lookups.

Assigning to Joyce to research a possible way to do this.


validators: add CheckRoutingNumber

// CheckRoutingNumber returns a nil error if the provided routingNumber is valid according to
// NACHA rules. See CalculateCheckDigit for details on computing the check digit.
func CheckRoutingNumber(routingNumber string) error

Codecov Report

Merging #415 into master will decrease coverage by 0.03%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master     #415      +/-   ##
==========================================
- Coverage   85.49%   85.45%   -0.04%
==========================================
  Files         109      109
  Lines        6818     6829      +11
==========================================
+ Hits         5829     5836       +7
- Misses        694      696       +2
- Partials      295      297       +2

Impacted Files
Coverage Δ

validators.go
96.74% <63.63%> (-3.26%)
:arrow_down:

Continue to review full report at Codecov.

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


The string 'Duplicate...' is not localized on the context menu for one entity

Storage Explorer Version: 1.26.0-dev
Build Number: 20220919.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Monterey 12.5.1 (Apple M1 Pro)
Reproduce Languages: All languages
Architecture: ia32/x64
How Found: From running test cases
Regression From: Not a regression
Steps to Reproduce

Launch Storage Explorer -> Open 'Settings' -> 'Application -> Regional Settings'.
Select 'Français' -> Restart Storage Explorer.
Expand one storage account -> Tables.
Create a table -> Add an entity.
Right click the entity -> The context menu displays.
Check whether the string 'Duplicate...' is localized.

Expected Experience
The string 'Duplicate...' is localized.
Actual Experience
The string 'Duplicate...' is not localized.

Verified this issue on the build main/20221027.6, the string 'Duplicate...' has been localized.
There is no '...' next to the localized string 'Duplicate...' on Spanish/ZH-CN.

Verified this issue on the build 20240506.3. There is still no '...' next to the localized string 'Duplicate...' on Spanish/ZH-CN. So, we will reopen it and verify it on the newer build.

We will likely need to add a comment and have the translators make sure they keep the ellipsis. I'm going to move this to the Localization milestone.

Update:
Verified this issue on the main build 20240717.2. Fixed on ZH-CN.

It still reproduces on Spanish


Do you have a more recent version of this project

I am looking for JS bindings for node and found this project but his project looks like a WIP as you mentioned. Wondering if you were able to make more progress on this?

Sorry @jainanshul, not at the moment.


Add field to Category model

What is the best way to add a field (color) to the Category model?

Hello,
the best way to do that, is to extend the Entry model with a custom Category model.
No easy way are provided for this.


Fixed recorded video not seek issue

The root cause is that the I frame interval is
not calculated correctly, thus only one IDR frame
is encoded for all the sequences, which results in
recorded video unable to seek.
Tracked-On: OAM-102237
Signed-off-by: Chen, Tianmi<EMAIL_ADDRESS>

@dyang23 , @yuanjunhuang, @shaofengtang, @zhangyichix, please take a review.
Thanks,

So the IDR interval from framework is microsecond, oneVPL will use gop and we need translate the IDR interval(us) to GoP?

Yes. And at the same time, the GoP size is the total frame count in one GoP, so it is calculated with IDR internal multiplied with frame rate. (GoP size = IDR internal(us) * 1e6 * frameRate(fps))


Language family buildpacks' release notes should have a summary of implementation buildpack changes

What happened?

What were you attempting to do?
Understand what were all of the changes that went into a given language family buildpack release

What did you expect to happen?
I expected that the changelog would have some helpful information about the changes that were made to the implementation buildpacks

What was the actual behavior? Please provide log output, if possible.
The changelog only contained a list of PRs named "Updates buildpacks in buildpack.toml". I had to look at each of these and then look at the release notes for the corresponding implementation buildpacks that were updated in the language family in order to understand the overall feature changes for the language family buildpack.

It would be great if the language family buildpack release notes contained some sort of aggregate of the changes to the implementation buildpacks since the last language family release.
Checklist

[ ] I have included log output.
[ ] The log output includes an error message.
[ ] I have included steps for reproduction.

This would be convenient, but would require significant changes to our release notes automation. We'd need to
somehow locate the github repository for each implementation buildpack in a given language family release and scrape the release notes from each implementation repo. Right now, we have no machine-readable link to implementation buildpack repos from the language family repo. I'm closing for now since it's nontrivial but no one else is requesting it.


Does gradient checkpoint works in these codes?

I have seen gradient checkpoint in the paper but not in this git?

Good point. Implementing gradient checkpointing requires a small change in BertEncoder, which I added here https://github.com/huggingface/transformers/pull/4659, but this PR is unlikely to be merged soon. In the meantime, you can use my branch here.

Thanks for your response!
And I have another question that when I am using the demo with length=4096, batchsize=1, the mask is sliding chunks with (0,1), fp16 in tvm gpu, it failed with OOM in Tesla-V100 (16GB). Does it work properly? If so, I think gradient checkpoint maybe necessary for training, because even batchsize=1 can't be inferenced successfully in fp16 16GB GPU.

The demo is
from longformer.longformer import Longformer, LongformerConfig
from longformer.sliding_chunks import pad_to_window_size
from transformers import RobertaTokenizer

config = LongformerConfig.from_pretrained('./longformer-large-4096/')
# choose the attention mode 'n2', 'tvm' or 'sliding_chunks'
# 'n2': for regular n2 attantion
# 'tvm': a custom CUDA kernel implementation of our sliding window attention
# 'sliding_chunks': a PyTorch implementation of our sliding window attention
config.attention_mode = 'tvm'

model = Longformer.from_pretrained('./longformer-large-4096/', config=config)
tokenizer = RobertaTokenizer(vocab_file='/users/caochenjie/DEFT/roberta_large/vocab.json',
                             merges_file='/users/caochenjie/DEFT/roberta_large/merges.txt')
tokenizer.model_max_length = model.config.max_position_embeddings

SAMPLE_TEXT = ' '.join(['Hello world! '] * 1000)  # long input document

input_ids = torch.tensor(tokenizer.encode(SAMPLE_TEXT)).unsqueeze(0)  # batch of size 1
model = model.half()
# TVM code doesn't work on CPU.
# Uncomment this if `config.attention_mode = 'tvm'`
model = model.cuda()
input_ids = input_ids.cuda()

# Attention mask values -- 0: no attention, 1: local attention, 2: global attention
attention_mask = torch.ones(input_ids.shape, dtype=torch.long, device=input_ids.device)  # initialize to local attention
# attention_mask[:, [1, 4, 21, ]] = 2  # Set global attention based on the task. For example,
# classification: the <s> token
# QA: question tokens

# padding seqlen to the nearest multiple of 512. Needed for the 'sliding_chunks' attention
input_ids, attention_mask = pad_to_window_size(
    input_ids, attention_mask, config.attention_window[0], tokenizer.pad_token_id)
print(input_ids.shape, attention_mask.shape)
output = model(input_ids, attention_mask=attention_mask)[0]
print(output)

I see you are using model.half(). You also need input_ids.half() and attention_mask.half(). That said, once you start adding some global attention, the 16GB memory won't be enough unless you use gradient checkpointing.

input_ids will be changed into embedding with fp16, and attention_mask will cast into fp16 too in transformers, so it should works properly. Thanks for your advices, I will try the gradient checkpoint in https://github.com/ibeltagy/transformers/tree/grad_checkpointing.
Can you offer the MLM training batchsize for each 48GB gpu during the pretrain? It will help me a lot for testing the gradient checkpoint during the pretraining, thanks very much!

Can you offer the MLM training batchsize for each 48GB gpu during the pretrain?

If I remember correctly, it was 2 but the memory wasn't full, and this was without gradient checkpointing.

Thanks for your advice!


查询语句是否可以支持下$expr语法

查询语句是否可以支持下$expr语法
im.turms.server.common.storage.mongo.operation.option.Filter 这个类中是否可以支持$expr等其他语法

Hi @wangqingchengsg,
I do not quite understand your requirements.
If you just want to add some methods in im.turms.server.common.storage.mongo.operation.option.Filter, feel free to do.
But it's meaningless to add these methods without using them.
So do you mean you want to support some MongoDB built-in expressions like $expr for admin HTTP APIs?
If so, please tell me about your specific business requirements so that I can ensure new features can work for you while they can be implemented flexibly for future enhancements.


Update CMakeLists.txt

Update zlib to  Version 1.3
has these key changes:
Building using K&R (pre-ANSI) function definitions is no longer supported. Fixed a bug in deflateBound() for level 0 and memLevel 9. Fixed a bug when gzungetc() is used immediately after gzopen(). Fixed a bug when using gzflush() with a very small buffer. Fixed a crash when gzsetparams() is attempted for a transparent write. Fixed test/example.c to work with FORCE_STORED.
Fixed minizip to allow it to open an empty zip file. Fixed reading disk number start on zip64 files in minizip. Fixed a logic error in minizip argument processing.

@mjcarroll mind checking if this differs from the ubuntu version, and if the bugs that are fix justify differing from it? 🧇


Add 4 new faces

Description
4 new faces:

dotmatrix
3-d
sweet
epic

@sadrasabouri Would you be interested in taking care of this matter?


tests: fix flaky schema and subscription tests

Potential fixes:
https://github.com/googleapis/nodejs-pubsub/issues/1498
https://github.com/googleapis/nodejs-pubsub/issues/1516
https://github.com/googleapis/nodejs-pubsub/issues/1468
https://github.com/googleapis/nodejs-pubsub/issues/1327

I'm going to run this through CI a  few more times just to make sure it's not flaking now...

I'm editing the type to fix to trigger another release, since apparently the last one failed?

Mentioned in chat, but repeating here: if anyone reviews this and there aren't major issues, please go ahead and merge as well.


Data Consistency while using massive data.

Hi ,
We encountering consistency issues when dealign with big data of 255 million and more. . Basically ours is  a Single Aggregator with 4 multiprocess plugin, running a total of 4 instances of Fluentd. We checked the following scenarios.
1: When inputted with 299 Million lines, 48Million lines got lost
2: When inputted with 295 Million lines, 33Million lines got lost
We tried to save the output to a file location using out_file plugin and the data is consistent. It implies that data loss happening when pushing to azure. ie when using "azure storage" instead of "out _file " data loss happening.
Anyone can help on this issue. Do we need to consider any other measures too while  using this plugin?

Could you provider your fluentd setting?

Aggregator fluentd conf below. This is a single aggregator config file. Data is just a sample log of any format {message: "sample log message here"} . We created a input log with 255 million lines(we used unix shell to create multiple lines of same data). Its around 250GB size, so not poossible to share here.
From the forwarder, we just read using tail plugin with a read rate of 5000 lines / sec and just forwarding to aggregator.

 type secure_forward
 bind <IP_ADDRESS> # default
 port 24224 # default
 self_hostname hname
 shared_key    ThunderBolt
 secure yes
 ca_cert_path        /etc/pki/tls/certs/ca_cert.pem
 ca_private_key_path /etc/pki/tls/certs/ca_key.pem
 ca_private_key_passphrase D3w0FcdL80
 log_level trace

Successfully parsed logs

type azurestorage
 azure_storage_account    storageaccount
 azure_storage_access_key key
 azure_container          logs
 azure_storage_type       blob
 store_as                 gzip
 auto_create_container    true
 path                     consistencycheck-FLT02/
 azure_object_key_format  %{path}DataCenterX_fwd02_%{time_slice}_%{index}.%{file_extension}
 time_slice_format        %Y%m%d-%H
 #time_slice_wait          10m
 format single_value
#buffering
buffer_type file
buffer_path /datadrive/buffer/td
buffer_chunk_limit 16m
buffer_queue_limit 16384
retry_wait 1m
num_threads 2
log_level trace
flush_interval 10s

Hi ,
Some more input.   Increased the flush_interval to 1 minutes and confirmed the following
1: While using single fluentd process, data is consistent.
2: When spinning multiple fluentd processs using in_multiprocess plugin, data inconsistent.
"http://docs.fluentd.org/v0.10/articles/in_multiprocess".
When checked with 19million 1 million lost while using 4 fluentd process simultaneously.

Hi ,
Got the cause of the issue. When using multiple fluentd process,(using in_multiprocess), azure storage plugin overwrites the blob files from other process . I'd given 4 unique blob name for each process and the  data is consistent now.
To clarify more :
Input Data : 1757210 lines of log,
Test scenarios
1: Using 4 fluentd process to a single blob location, data inconsistent due to overwrite. Output log: 134210
2:  Using 4 fluentd process to a different blob locations, then the data is consistent as given below.
Blob1- 440396
Blob2 - 440662
Blob3 - 435567
Blob4- 440585
It would be good, if the overwrite aware of the process context and decides to rewrite or not.

In fact, this plugin does detect blob status and avoid to override blob. But multiple threads may cause race condition and overridden uncommitted blob for file size > 64MB...

Hi,
Thanks I managed to solve the issue by passing a unique naming for multiple threads to the parameter " azure_object_key_format " . It solved the issue. Thanks a lot. Now the data is consistent.


File Upload Form Name Input Not Submitting

Looks the the attachment gets sent but cant figure out how to get the name to send as well

Hey @Blakeing, it seems to be the same problem as already mentioned in issue #3. In PR #5 you can see the solution. Just update the handleChange and handleAttachment functions to following:
const handleChange = e => {
    setState({ ...state, [e.target.name]: e.target.value })
  }

this was my fault when converting the old example to hooks :) fixed here https://github.com/sw-yx/gatsby-netlify-form-example-v2/pull/5


Initial configuration layout for Route53 support

It's not yet working solution but important foundation for further full support.

Separate external-dns-route53 deployment which exclusively handles route53 updates
CoreDNS service type LoadBalancer which exposes 53/udp with Network Load Balancer without the need of special upd config of Nginx Ingress controller also avoiding 53/udp exposure on each of the worker nodes as in on-prem scenario
K8gb configuration options for route53 enablement and associated depresolver modifications
Helper makefile targets to ease the testing of temporary k8gb images in AWS
Creation of DNSEndpoint CRD with NS record as a start of automated Zone delegation configuration in Route53
Associated tests

Unfortunately external-dns currently does not pick up NS records which are described as CRD.
We will have to fix https://github.com/kubernetes-sigs/external-dns/issues/1647 upstream to proceed further with the implementation

@kuritka thanks a lot for thorough review 👍


This is great! Any plans to add support for links and anchor tags?

Hi,
Can you give me more  information and an example ?
Thanks for your interest ;)

For example, to process a string like: You can tap here to search Google. Recognizing and embedding that link would be really helpful.

Ok, I see.
Currently, GONMarkupParser is intended only to generate NSAttributedString.
The best way to achieve this, is to create a new markup, handling .
Using this markup, so can update the string to add a hidden link (Using backspace UTF-8 character).
Then, you will have to subclass a UITextView to handle touches, and detect link.
I have developped a component doing this, for personnal use.
I will check if I can clean it to match this use case.

I would love this too!

OK, working on it.

Hi guys,
Just pushed a develop branch with a support for link markup.
https://github.com/nicolasgoutaland/GONMarkupParser/tree/develop
<link value="http://www.google.com">Link to google</>

If you want a callback when user click on link, display AttributedString in a UITextView, and implements following delegate method
#pragma mark - UITextViewDelegate methods
- (BOOL)textView:(UITextView *)textView shouldInteractWithTextAttachment:(NSTextAttachment *)textAttachment inRange:(NSRange)characterRange
{
    NSString *attachementValue = [[NSString alloc] initWithData:textAttachment.contents
                                                       encoding:NSUTF8StringEncoding];

    // Show link value
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Information"
                                                    message:attachementValue
                                                   delegate:nil
                                          cancelButtonTitle:@"OK"
                                          otherButtonTitles:nil];
    [alert show];

    return NO;
}

UITextView should be selectable but not editable for this delegate method to be called.
To customize link attributes, you have to use linkTextAttributes property
Let me know if its ok for you.

Cool, I think you should support anchor tags in addition to link tags. So
Hello World

Should work.

Ok. I did rename it  to "a href", to be more HTML like ;)
Let me know is everything is ok for you.

I've actually decided to go with another solution, I wrote my own small HTML-to-NSAttributedString parser on top of libxml. I think adopting anchor tags would still be a good thing for your library to support though.

Hi, done in last release ;)


Add button for New and Open Database Project

It would be nice to have the button actions for New and Open projects similar to other trees.

Question to Shiproom : Since this is minimal change and PR available - can we take this?

Merged.


Add documentation section on calibrated parameters

Most are currently documented in notes fields in default_parameters.json, e.g.:
https://github.com/PSLmodels/OG-USA/blob/2ad7dceda070426dfb71128222b0abcafd5eda3d/ogusa/default_parameters.json#L9-L14
alpha_T, alpha_G, and initial_debt are specified per https://github.com/PSLmodels/OG-USA/issues/254#issuecomment-273864494.
This issue is to add a new Jupyter Book page within the calibration section on these parameters.

This was addressed in PR #663


Remove: InfiniteRed.Reactotron.Pre-release version <IP_ADDRESS>7

The stable version has been released and the pre-release versions can be removed

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/infinitered/reactotron/releases/download/v3.0.0-alpha.8/Reactotron-3.0.0-alpha.8.msi
Response status code does not indicate success: 401 (Unauthorized).
(Automated message - build 656)


Add error handler for zero-margin acceleration

Checks

[x] Debugging completed
[ ] Please debug me

Related Issue
This PR closes #384.

Codecov Report
Base: 84.39% // Head: 84.36% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (c4acdc0) compared to base (b3142d9).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #385      +/-   ##
==========================================
- Coverage   84.39%   84.36%   -0.04%
==========================================
  Files         123      123
  Lines        5159     5161       +2
==========================================
  Hits         4354     4354
- Misses        805      807       +2

Impacted Files
Coverage Δ

neclib/coordinates/path_finder.py
39.18% <0.00%> (-0.36%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Feature] Windows hide and restore

Recently I have had some use cases like replying to a message and then go back to work. Or just watch a youtube video and check the dictionary for some unfamiliar words. And the patch I used now which is called "hide and restore" did help me a lot in those cases. Like the gif below, windows can be easily pushed into a stack and be hidden. And can be pop out and restored by another key.

This feature relies on two patches: the awesomebar and the hide-and-restore-win.diff. But the awesome bar have some other feature which is annoying to me. So I just pick up the necessary part of them.
You can check out the code from my repo. If you have no interest in it, just closed this issue.

i had tried this both the patches before and none of em worked , could you test it with my build?


add check for PodAntiAffinity not nil

add check for PodAntiAffinity not nil before checking
underlying resources otherwise it will cause nil pointer
err. Also updating unit test to test this nil pointer
condition.
Signed-off-by: subhamkrai<EMAIL_ADDRESS>

After taking @agarwal-mudit making it ready for review as this is a small change but I'll also try to test in the local cluster.

/ok-to-test

/cc @nbalacha @umangachapagain

/cherry-pick release-4.9

/cherry-pick release-4.8

@subhamkrai Please create a manual backport PR for release-4.8 as the automated cherry-pick failed because of commits.

@subhamkrai Please create a manual backport PR for release-4.8 as the automated cherry-pick failed because of commits.

#1354


Using SAML NameID assertion to get access token for the user

I've read that it should be possible to authorize a user using SAML and use the NameID assertion which looks like 'FdSpJoXHj78ZmrO6W_6VIIfYagLmTL_zvV0j8AJ7KG0' as a value (base64 encoded) for 'code' key in a request to the oauth2/token endpoint. However, doing that always returns "invalid_grant" error with description "AADSTS9002313: Invalid request. Request is malformed or invalid". Am I missing something?
The POST request to 'https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token' looks something like this:
'client_id={clientID}&'+
'grant_type=authorization_code&'+
'scope=https%3A%2F%2Fgraph.microsoft.com%2Fuser.read&'+
'redirect_uri=http%3A%2F%2Flocalhost:8080%2Findex.html&'+
'code='+$base64EncodedSAMLNameID
Is that supported and am I doing something wrong here?

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

ID: 2870d4a9-e204-023a-56a8-c34e56347b43
Version Independent ID: 846fe3ae-21cb-e030-f68f-db73acef0c74
Content: Understand the OAuth 2.0 authorization code flow in Azure AD
Content Source: articles/active-directory/develop/v1-protocols-oauth-code.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@LaDuelo  Thanks for your feedback! We will investigate and update as appropriate.

Hi @LaDuelo please open a thread on MSDN so we can troubleshoot together. https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD
I think you might be missing some parameters.


cron job failing

Added provideplatform/proUBC last week - but not yet seeing it on dotabap.org.
Appears to have issue because the repository includes classes that use the ABAP openAPI generator for REST API connectivity

Doesn't seem to be required - so I'm removing it from the package. Hopefully thereafter the job should run successfully.

yea, dont copy open source using the same filename into a project, this will break the ecosystem
instead, if needed, do automatic renaming into your package, https://blogs.sap.com/2021/04/20/automagic-standalone-renaming-of-abap-objects/
Example: ajson is renamed and copied into abapGit automatically, https://github.com/abapGit/abapGit/pull/5713
as for https://github.com/abap-openapi/abap-openapi, its designed so it can run on github actions generating the artifacts, ie. no need to have it in the repo, just the generated artifacts needed

running, green


7/24 PM Publish

Docs Build status updates of commit 357bb8d:
:clock10: Full build: the average full build time is 29 min(s) 12 sec(s), this is based on the last 477 build(s) for this repository.

Docs Build status updates of commit 357bb8d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-4.4.0/uninstall-az-ps.md
:white_check_mark:Succeeded
View (azps-4.4.0)

docs-conceptual/azurermps-4.4.1/install-azurerm-ps.md
:white_check_mark:Succeeded
View (azurermps-4.4.1)

docs-conceptual/azurermps-5.7.0/install-azurerm-ps.md
:white_check_mark:Succeeded
View (azurermps-5.7.0)

docs-conceptual/azurermps-6.13.0/install-azurerm-ps.md
:white_check_mark:Succeeded
View (azurermps-6.13.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Remove redundant LinkedAccount

LinkedAccount is defined in OCEX Pallet and in polkadex-sgx-primitives, define it in polkadex-sgx-primitives and import it in ocex pallet

polkadex-sgx-primitives is using the sp_core dependency with full crypto due to this function
https://github.com/Polkadex-Substrate/polkadexTEE-worker/blob/develop/polkadex-primitives/src/accounts.rs#L24-L28
since the node cannot have a dependency with full crypto, that function is being moved to substratee_worker_primitives.

Everything needed for this issue in this repo has been done, LinkedAccount struct has implementations needed to work in the OCEX pallet in node, so an issue should be opened there about it and this one should be closed.


handle SVG circles and ellipses

refactor to allow handling SVG shapes before converting them to paths so we can handle <circle> and <ellipse> elements before svgelements converts them to arcs
fixes #21

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.98%. Comparing base (dfc8d9e) to head (dd03414).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   96.86%   96.98%   +0.11%
==========================================
  Files           8        8
  Lines        1083     1126      +43
==========================================
+ Hits         1049     1092      +43
  Misses         34       34

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


Slider problem when using flip effect with vertical direction

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.5.4

Platform and Target: Latest Firefox on Mac

What you did
A simple swiper slider with this init code:
var mySwiper = new Swiper('.swiper-container', {
    preloadImages: false,
    lazyLoading: true,
    pagination: '.swiper-pagination',
    direction: 'vertical',
    effect: 'flip'
	});

Expected Behavior
The slide to flip in its same place.
Actual Behavior
The slide is flipping up outside the screen.
Sample Video

The problem seems to be that the content is too tall

It is a 350x263 Image.

that's irrelevant how would Swiper know that that would put it off the top of the screen.
You should insure that your content will fit

There is something wrong with the layout. Would be good to know how to replicate this issue or see the Fiddle with the issue or live example

Issue is closed because of outdated/irrelevant/not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Add per-word font setting with default (partial fix for #28)

Simple fix for being able to set a font per word. Already using it on a project now :)
Was this the approach you were thinking of as well @kennycason? And what's the logical place in the test suite to add a test for this?

@mdirkse I don't have an immediately better approach. Lets just merge it as is and see what happens. We can update/refactor later as needed or if we find a cleaner way.
As for tests, same story, there isn't a great way to test this in a meaningful way currently.
If I was going to test it, I'd make a KumoFontResolver that has knowledge of a global default font and accepts a WordFrequency and has a getFont() which performs the check you are doing. Then you would be able to cleanly test the KumoFontResolver.
You can either do that refactor and re-push, or do it later, or don't worry about it and i (or someone) can do it later. I'm not too picky. :)
Let me know what you want to do and we can either make updates then merge, or merge early.
Thanks for the contribution!


November Newsletter

Summary
It's time to draft the next AutSPACEs newsletter!
Deadline
November 25th
What needs to be done?

select topics
draft newsletter
review
send out

Who can help?
Add updates in comments below or in the #autspaces Slack!

All done! Thanks to Jonathan for the spotlight and thanks for your help reviewing David


DPL-639 Restrict values in the schema of priority flags to booleans (S=M, V=2)

Describe the story
As a PSD developer I want to restrict the allowed values we can receive for priority flags to booleans, and not allow building a message with any other value (forbid integers, strings, etc) because crawler does not support handling booleans and any change in GSU could potentially create a valid message that wouldnt work when received in crawler, with the risk of not flagging priority samples from a (theoretically) "valid" message because of this problem.
Context:
As part of RT769849 we have detected that the schema validates both 1 and true as true (valid flags). The problem is in our side we are not supporting this behaviour and currently we are receiving messages with flags set as '1' and updated it that way in the database, however, it is not correctly displayed in box buster, and it doesn't update the sample right in Dart.
Acceptance criteria

[ ] The schemas are modified to support this change
[ ] GSU uses the new version of the schema when agreed
[ ] PSD uses the new version of the schema when agreed
[ ] Any message that has a priority flag (must_sequence or preferentially_sequence) set to a value different from null (none), true or false should be rejected on serialization by Redpanda tools.
[ ] Any message that has priority flags (must_sequence or preferentially_sequence) set to null, true or false should be processed correctly and the flags update the databases as normal.

RT Ticket Number
If applicable
To Reproduce
Steps to reproduce the behaviour:

Go to page '...'
Click on button '...'
See error

Expected behaviour
What was expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Windows or Mac?
Browser Chrome, Firefox, Safari or other?
Browser version (use 'About' to look up)?

Additional context
Add any other context about the problem here.

While testing in UAT found that the feedback message publishing was failing when it contained an error because now the library tries to be strict on all fields (fails with typeId not found):
2023-03-30 10:43:09,308 crawler.rabbit.messages.parsers.create_plate_message:167 ERROR   Error in create plate message: Sample with UUID....
Got an error: not_authed
Channel 1 was closed: Stream connection lost: ValueError('record contains more fields than the schema specifies: typeId')
Connection closed, reconnect necessary: Stream connection lost: ValueError('record contains more fields than the schema specifies: typeId')

Needs fixing before going to UAT testing by GSU

@emrojo @yoldas I was discussing this in the prioritisation meeting and it was suspected that the requirements mentioned in this story may have been handled in another user-story. Do let me know if this is yet to be handled or can be archived as a duplicate.

@SujitDey2022 Which story you are referring to in your comment? I don't think this change is covered elsewhere.

The changes made to support this failed UAT before and haven't been worked on since.  I am removing them from the develop branch to avoid them going to production.  I've created a new branch and cherry picked the commits to it.  This can be found here in case this gets picked up again: https://github.com/sanger/lab-share-lib/tree/DPL-639-use-strict-validation-of-avro-schemas


New Example Needed

I love this library because it is optimized and easy to setup.
since Next v13.4.4 I have been trying to install something that works fine with app dir. your example is outdated and is not match with NextJs Doc they ask to create a [lang] route but you do not. would you please make a new example that takes the local from params like the standard Doc and not from a query? or if we can pass the locale as an arg in t() function would be great.
you know we need to keep the code closest as possible to the standard doc since Vercel has massive changes fetish

There are some compatibility bugs with the new version of Next.js. Try:

next-translate version 2.3.0-canary.3
next-translate-plugin version 2.3.0-canary.3

We would appreciate an example as well.
Also side-question @aralroca , does this work with generateStaticParams() ?
If so, and if the [lang] param can be used instead of query parameter, we will switch our project to use your library

thanks for asking. I'm not sure 100%. Currently is used the lang param is in appDir. So probably yes, I didn't tried generateStaticParams yet.  But good point to verify it

I'm working on an example, with generateStaticParams(). This all seems to be working, but the redirects I cannot get working at the moment. It seems that NextRequest does not contain the [lang] value from the app folder path. Is this expected behaviour?
Happy to add a minimal repro if the [lang] param should be included here for a review.

All the routing part is part of Next.js core. I'm not sure if is a bug from this library, but yes, it can be useful a reproducible example to help us to detect what is happening. Thanks

I've built a headless CMS and everything is fine with page router.
Now we need to swith to app router because who knows when they will stop support for page router.
since they do not have a support for tons of things like styling libraries I was using.
I created a totaly new Nextjs app in my TurboRepo and wanna rebuild the entire app
In the old page router project for i18n handler I decided to user no prefix for the default language so for example "/" will be English and
other routes are like "/de","/fr"
the doc on NextJs site ignores this feature in the app router and want us to redirect the user with no local to the default language for example "/en"
since I have several websites online with old routing, making this change will hurt my SEO and Google search console will send tons of Emails about not found,
Yes, I can generate canonical url for them but still, there will be so many issues.
I've tried the way you show in example and example from the NextJs doc along with some other i18n libraries and none of them working yet.
we appreciate if you make an advance example using [lang] in the app router with a nice middleware.ts which handles the new app router like page router.
It's the 7th day I am trying to do this and searching everywhere even asked GPT4 + browser plugin for help
In case I solve the issue will share the code here.
Thank you

@mlnima we have an example inside the examples folder: https://github.com/aralroca/next-translate/blob/master/examples/with-app-directory/README.md, however, probably needs some fixes from the last Next.js v.13.4 that we are working in order to fix it.

@aralroca in fact that example is enough for my use-case. If you add the middleware file and console.log(request.nextUrl), you will see that the pathname is always / for when there is a locale present in the path.
{
  href: 'http://localhost:3001/es',
  origin: 'http://localhost:3001',
  protocol: 'http:',
  username: '',
  password: '',
  host: 'localhost:3001',
  hostname: 'localhost',
  port: '3001',
  pathname: '/',
  search: '',
  searchParams: URLSearchParams {  },
  hash: ''
}

For this same reason, my redirects are not working when they start with /en /es etc.
I know the deps are previous to current versions, but it's the same behaviour.

I think that the pathname without the locale is correct, at least is how i18n routing from Next.js core works in pages folder too.

These are 2 different languages I wanna rewrite, when there is no [lang] folder in the App router, EN version works on the path "/" and "/de" does not,
When there is [lang] folder all the language works except "/"
NextJs example is old as a fossil and they are just trying to solve none existing problem in every update, I am genuinely suffering now

Probably is related with this Next.js issue https://github.com/vercel/next.js/issues/49883

Yes, exactly since the stable release of the app dir it became a big issue.
May I ask you a favor?
Since the docs want us to create [lang], could you add 2 features?

Ability to read the local from "[lang]" folder and not from "?lang=:lang" for people who need it.
Ability to pass the lang as arg in "{t}" function using "useTranslation(':namespace')",
when we use [lang] it is very easy to get it as params inside layout, so we can pass it as a prop or something

Thank you in advance

Thank you so much, You are the best, Still trying to find a way to handle the "/" as the default language but it's all from NextJS it self.

@mlnima You can do it using redirect from next/navigation, example https://github.com/aralroca/next-translate/blob/8b3e21f6920fd3d1d38f8933b7e80db4615f75fc/examples/with-app-directory/src/app/[lang]/layout.tsx#L12

Thanks for the example project. It works nicely.
Unfortunately, I fail to make it work with the generateStaticParams export. I added the following function to layout.tsx:
export const generateStaticParams = () => i18n.locales.map((lang) => ({ lang }));

But then, building the project fails with the following error:
Error occurred prerendering page "/en". Read more: https://nextjs.org/docs/messages/prerender-error
Error: The provided export path '/' doesn't match the '/[lang]/page' page.
Read more: https://nextjs.org/docs/messages/export-path-mismatch
    at /Users/mkue/Desktop/next-translate-master/examples/with-app-directory/node_modules/next/dist/export/worker.js:156:27
    at Span.traceAsyncFn (/Users/mkue/Desktop/next-translate-master/examples/with-app-directory/node_modules/next/dist/trace/trace.js:103:26)
    at Object.exportPage (/Users/mkue/Desktop/next-translate-master/examples/with-app-directory/node_modules/next/dist/export/worker.js:96:27)
    at execFunction (/Users/mkue/Desktop/next-translate-master/examples/with-app-directory/node_modules/next/dist/compiled/jest-worker/processChild.js:1:2828)
    at execHelper (/Users/mkue/Desktop/next-translate-master/examples/with-app-directory/node_modules/next/dist/compiled/jest-worker/processChild.js:1:2486)
    at execMethod (/Users/mkue/Desktop/next-translate-master/examples/with-app-directory/node_modules/next/dist/compiled/jest-worker/processChild.js:1:2574)
    at process.messageListener (/Users/mkue/Desktop/next-translate-master/examples/with-app-directory/node_modules/next/dist/compiled/jest-worker/processChild.js:1:1284)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:937:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

Do you have any idea how this can be resolved? I guess it's related to this issue?

@mkue no idea, but it looks related to the Next.js issue that you said...


grab passwords not working

Describe the bug
bot says "Grabbed saved passwords" but there is no passwords at all even if they are saved in the browser
To Reproduce
type .grab passwords
Expected behavior
all passwords will be send by the bot
Screenshots

Desktop (please complete the following information):

OS: Windows 10

.grab history not working too

this could mean one of two things:

it might have actually not worked which is likely since its a bit outdated (aka nothing you can do for now)
there were no saved passwords


Redesign "About us" section

About us section looks lot basic, it needs to be redesigned !!

Hi! can i ask about this issue, i understand more i would like to be assigned this issue!

Hi @kirinryu-dev just give it better and appealing look  !! Please follow the guidelines of contribution !!

There are lot more PR's approved to the repo, please pull the repo first to your local machine before you start working on this , (To avoid conflicts ) !!

Hi i made it look better a bit cool but need help with JS and responsiveness I'm a little unwell I can't work for long periods....how should i procede?

Please take your time , try to come up with the solution !! There is no rush !!

This is completed !!


Update/Add Cygwin

Tool information

Tool name: cygwin
Tool license: LGPLv3
Add or update? Add
Desired version:
Approximate size: Latest
If this is an add request:

Brief description of tool: A large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
URL for tool's homepage: https://cygwin.com/index.html
Provide a basic test case to validate the tool's functionality:

Area for Triage: Scripting and command line
Question, Bug, or Feature?: Feature
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[x] Windows Server 2016 R2
[x] Windows Server 2019

Can this tool be installed during the build?
https://github.com/marketplace/actions/install-cygwin
Tool installation time in runtime
Less than 10 minutes
Are you willing to submit a PR?
Yes. I'm not familiar of Github Action configuration yet.

Thank you for your proposal, considering tool size and existence action to install it in runtime, we are not sure that it makes sense to pre-install this tool into the images.
We will the issue opened for some time to see votes for this request

Hi!
given the tool popularity, we wouldn't like to add it to the images. Please, keep installing it in runtime using action. Actions are the recommended way to interact with the images.
I am closing this issue. Please, feel free to contact us for any questions.

Can this be reconsidered? I have an action that compiles on Cywin and currently I have to spend 20+ minutes of every single run waiting for it to install cygwin and its dependencies. And that is even more painful considering this eats into my minutes at double the rate of a Linux install.

@vintagepc have you tried https://github.com/cygwin/cygwin-install-action action? It takes 1.5 min for me to install cygwin in runtime or most of the time is spent downloading the dependencies?

Most of the time is installing the required build packages/mingw toolchain, yes.

Update: seems like fontconfig is the major instigator here. That is what has been running for 15 minutes (and still going) in the run I'm currently watching...
running: C:\tools\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_mingw64-x86_64-fontconfig_cache.sh"


[Bug Report] Slider is not working when the range equals false

Element UI version
2.4.6
OS/Browsers version
Chrome 68.0.3440.106
Vue version
2.5.17
Reproduction Link
https://jsfiddle.net/du5w78ar/
Steps to reproduce

Open the attached link.

What is Expected?

The slider has only one knob.
The slider could read the right value from the setup, which is 2 in this case

What is actually happening?

The slider has two knobs
The value was set to [0,10] by default.

https://jsfiddle.net/du5w78ar/2/


Authentication middleware does not work

I created routes.php inside the plugin and added the following code to it:
<?php

Route::group(['middleware' => 'Winter\User\Classes\AuthMiddleware'], function () {
    Route::get('hello', function () {
        dump(Auth::user());
        return 'World!';
    });
});

In this example, the middleware will always deny access. The user dump always returns null. What am I doing wrong?

Try: Route::group(['middleware' => 'web'], function () {

Solution https://github.com/rainlab/user-plugin/issues/337
<?php

Route::group(['middleware' => ['web', 'Winter\User\Classes\AuthMiddleware']], function () {
    Route::get('hello', function () {
        dump(Auth::user());
        return 'World!';
    });
});


Bad headers. Expected "X-CSRF-Token" in headers

Hi!
Thanks a lot for this library. I came back to it after using it around 6 months ago, and things have recently changed.
I encountered an error, which is happening also when testing the example app provided in the repo. Which is:
upon sending the login form, I get back a Bad headers. Expected "X-CSRF-Token" in headers. Browsing around the codebase, I found this error has a test (https://github.com/aekasitt/fastapi-csrf-protect/blob/master/tests/missing_token.py#L54-L57), and when running pytest all tests pass!
In your code example you pass a csrf_token to the template, but in the HTML template you never use it. As far as I understand, the Double Submit Cookie technique employs both a cookie CSRF token as well as sending the same token through a form data.
I tried to add a hidden input to the form with the CSRF token, but clearly it does not help, as indeed the raised error is about a missing header, not about form data.
Any idea why this is happening? Are we expected to submit the form via javascript, in which case we can manually add an X-CSRF-Token to the HTTP call ourselves?
If so, it would be useful to extend the README and including this last bit of info.
Moreover, if this is the case, then I don't think this is an implementation of the Double Submit Cookie, as the second CSRF token should be instead submitted via a form data.
Thanks!

Will look into this immediately and rewrite example to match. I think the Double Submit Cookies pattern presented a breaking change from version 0.2 to 0.3

Code example now uses JavaScript which can make use of Jinja2 embedded context var, for post request instead of <form></form> tag submission. Hope this helps!

This change in 0.3.0 broke usage of the library for creating and validating regular http form csrf tokens. It's now impossible to validate a CSRF token without it being included in a token and in a header - just having the expected CSRF token as a form field in a regular form is not longer possible, as the implementation is closely tied to using a cookie and a header, the latter which can't be set in a form context.

Completely agreed on the form > JavaScript integration.
However, after having concerns raised about "CSRF token validation is incomplete (does not validate uniqueness per browser session" #11 , the previous behavior needed immediate amending and I decided to mimic the example of tiny-csrf on JavaScript

> In your code example you pass a csrf_token, but in the HTML template you never use it.
> As far as I understand, the Double Submit Cookie technique employs both a cookie CSRF token
> as well as sending the same token through a form data.

This can still be achieved by adding the following input-tag in the form interpreted by Jinja2 templating...
<input type='hidden' name='csrf-token' value="{{ csrf_token }}"/>

But the library is lacking capability to parse through request body as of yet. I will try my best to add this feature in 0.3.2 and break the example usage into two, one using form submission and one using ajax headers. Your finding out the hard way is still my responsibility and I want to own up to it.  I hope I can put the library up to a state where changes don't break your implementation.

First: no worries; libraries with a 0.x tag aren't assumed to be in any stable condition :-)
Yes, the problem is that the validate_csrf-function has been closely tied to cookie + header now, instead of letting us supply the csrf token itself as previously - so we're not able to move back to the old solution (just including the token is fine, but we can't validate it).
In those cases where we're concerned with re-use of these tokens (which in effect hasn't really been an issue), we've included a timestamp in the signed value - so that the token itself is self-contained with both an expiry value and the token that is valid until that expiry. That way you get short-ish-lived tokens, but don't have to introduce additional cookies (which require documentation in privacy policies, etc.) or similar things.

Had some work done on this in the last few commits. Would you mind giving comments on it? If satisfactory, will publish to 0.3.2 now.

hi, i just had a similar problem regarding this issue.
so i tried to use the token-key location in the headers. i thought it might put the output or response of /csrftoken, which is the token key into the headers automatically. Btw, im using postman to test my API. The  /csrftoken api works good, and give the expected response.
The problem comes up when i try to use the token on another API that required to validate the X-CSRF-Token. The exception massage was exactly the same as in the title of this issue. I managed to solve by manually tipe the defined token key  in the request header with the value that i got from the /csrftoken API.
IDK if i supposed to input the token value manually in headers or the set_csrf_cookie should automatically do it. But if i may suggest it might be great if the function could do that in the future.
I put the API down below if theres any comment on issue i had. Thank You.
@app.get("/csrftoken")
async def get_csrf_token(request: Request, csrf_protect:CsrfProtect = Depends()):
    csrf_token, signed = csrf_protect.generate_csrf_tokens()
    response = JSONResponse(status_code=200, content= {"csrf_token": csrf_token})
    csrf_protect.set_csrf_cookie(csrf_signed_token=signed, response=response)
    return response


Design and test nested drop downs when selecting portals (Country/State> City/Region)

Prior to building, test the usability of nesting portal names rather than alphabetically.

@bettyquinn We're doing triage of issues on Scout. Does this issue still need addressing or is it safe to close?

Closing stale issues as part of task triage and preparing for a new roadmap


chore: update formatting tools

Description

Version-lock and update formatting tools
Related issues

Special notes for your reviewer:

I am not adding golangci-lint to this because I don't want to version-lock it yet (it always uses latest in GitHub CI)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 17.66%. Comparing base (7935bf8) to head (b648778).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #266   +/-   ##
=======================================
  Coverage   17.66%   17.66%
=======================================
  Files         103      103
  Lines        9318     9316    -2
=======================================
  Hits         1646     1646
+ Misses       7577     7575    -2
  Partials       95       95

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


Move from poetry+pyenv to uv

Let's move from poetry+pyenv to uv for development. This includes updating the pyproject.toml file, the relevant documentation, the development scripts, and the CI pipeline (+ maybe other things I forgot?).

Hi Felix, It will be my first contribution, but if you think it is ok I am willing to do it.

Hi there, sure, go ahead! 😎 I'll be happy to review 😋

I've used this article: migrate-poetry-to-uv as a guidance.
PR: https://github.com/empicano/aiomqtt/pull/350
I am going to need some help with the workflow yml files.


crash for gg and k in develop branch

Process:               Xcode [6247]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.3 (7569)
Build Info:            IDEFrameworks-7569000000000000~2
App Item ID:           497799835
App External ID:       812135760
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [6247]
User ID:               501
Date/Time:             2015-04-21 12:57:05.925 +0900
OS Version:            Mac OS X 10.10.3 (14D136)
Report Version:        11
Anonymous UUID:        94417408-EF84-C65F-1911-5B98F237B52D
Sleep/Wake UUID:       2D69D3B3-92C2-45F1-ABF5-43D57DA0A68F
Time Awake Since Boot: 7400 seconds
Time Since Wake:       760 seconds
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D570
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Line numbers start at 1
UserInfo: (null)
Hints: None
Backtrace:
0  0x00007fff8ce7c024 __exceptionPreprocess (in CoreFoundation)
1  0x000000010e641184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2  0x00007fff841d176e objc_exception_throw (in libobjc.A.dylib)
3  0x00007fff8ce7be1a +[NSException raise:format:arguments:] (in CoreFoundation)
4  0x00007fff8b2368cb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
5  0x000000011e11f093 -[DVTTextStorage(XVimTextStoring) xvim_indexRangeForLineNumber:newLineLength:] at /develop/XVim/XVim/DVTTextStorage+XVimTextStoring.m:35 (in XVim)
6  0x000000011e124b1d -[NSTextStorage(VimOperation) xvim_indexOfLineNumber:] at /develop/XVim/XVim/NSTextStorage+VimOperation.m:127 (in XVim)
7  0x000000011e126184 -[NSTextStorage(VimOperation) xvim_indexOfLineNumber:column:] at /develop/XVim/XVim/NSTextStorage+VimOperation.m:203 (in XVim)
8  0x000000011e12cee3 -[NSTextStorage(VimOperation) prevLine:column:count:option:] at /develop/XVim/XVim/NSTextStorage+VimOperation.m:609 (in XVim)
9  0x000000011e146979 -[NSTextView(VimOperationPrivate) xvim_getMotionRange:Motion:] at /develop/XVim/XVim/NSTextView+VimOperation.m:2176 (in XVim)
10  0x000000011e1378ef -[NSTextView(VimOperation) xvim_move:] at /develop/XVim/XVim/NSTextView+VimOperation.m:616 (in XVim)
11  0x000000011e09c5b7 -[XVimNormalEvaluator motionFixed:] at /develop/XVim/XVim/XVimNormalEvaluator.m:539 (in XVim)
12  0x000000011e0a597b -[XVimMotionEvaluator _motionFixed:] at /develop/XVim/XVim/XVimMotionEvaluator.m:90 (in XVim)
13  0x000000011e0a68e8 -[XVimMotionEvaluator k] at /develop/XVim/XVim/XVimMotionEvaluator.m:227 (in XVim)
14  0x000000011e096087 -[XVimEvaluator eval:] at /develop/XVim/XVim/XVimEvaluator.m:80 (in XVim)
15  0x000000011e0bb1b1 -[XVimNumericEvaluator eval:] at /develop/XVim/XVim/XVimNumericEvaluator.m:15 (in XVim)
16  0x000000011e0e0c9f -[XVimWindow handleKeyStroke:onStack:] at /develop/XVim/XVim/XVimWindow.m:236 (in XVim)
17  0x000000011e0e01e5 -[XVimWindow handleOneXVimString:] at /develop/XVim/XVim/XVimWindow.m:191 (in XVim)
18  0x000000011e0e0671 -[XVimWindow handleXVimString:] at /develop/XVim/XVim/XVimWindow.m:217 (in XVim)
19  0x000000011e0dfe93 -[XVimWindow handleKeyEvent:] at /develop/XVim/XVim/XVimWindow.m:155 (in XVim)
20  0x000000011e0b84d0 -[DVTSourceTextView(XVim) xvim_keyDown:] at /develop/XVim/XVim/DVTSourceTextView+XVim.m:102 (in XVim)
21  0x00007fff879b411b -[NSWindow _reallySendEvent:isDelayedEvent:] (in AppKit)
22  0x00007fff87345d76 -[NSWindow sendEvent:] (in AppKit)
23  0x000000010f90c118 -[IDEWorkspaceWindow sendEvent:] (in IDEKit)
24  0x00007fff873429b1 -[NSApplication sendEvent:] (in AppKit)
25  0x000000010f6b6494 -[IDEApplication sendEvent:] (in IDEKit)
26  0x00007fff8726bc68 -[NSApplication run] (in AppKit)
27  0x00007fff871e8354 NSApplicationMain (in AppKit)
28  0x00007fff9333e5c9 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
NSInternalInconsistencyException

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11656333-crash-for-gg-and-k-in-develop-branch?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

Yea, I have encountered the same issue. This is one of the sign that current develop branch is messed up at some point.

I will fix the bug and send pull request after eating dogfood for a while.
I have used develop branch at all times.
I don't think it is unstable all that much.
Cursor position after substitution in Xvim doesn't equal to origin vim.
So I will fix test case.

Should I merge your fix for this?

Thank you for the merge into develop branch.
No crash so I close the issue.

Ah, I didn't noticed that I have already merged your fix. Anyway it's fine.


Improve code style

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (bd78e70) to head (0af7b69).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #165   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           53        53
  Lines         1241      1241
  Branches       134       134
=========================================
  Hits          1241      1241

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


live_grep_native() seems to ignore file_ignore_patterns?

Info

Operating System: Arch

Shell: Zsh

Terminal: Wezterm

nvim --version: NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"

fzf --version: 0.42.0 (d471067e)

This is my config, using lazy.nvim
return {
    'ibhagwan/fzf-lua',
    -- optional for icon support
    dependencies = { 'nvim-tree/nvim-web-devicons' },
    config = function()
        -- calling `setup` is optional for customization
        require('fzf-lua').setup({
            winopts = {
                preview = { default = 'bat_native' },
            },
            file_ignore_patterns = { 'node_modules/.*', '.*%.jpg', '.*%.png', '.*%.gif', '.*%.jpeg' },
        })
    end,
}

This is my keymap:
vim.keymap.set('n', '<c-f>', "<cmd>lua require('fzf-lua').live_grep_native()<CR>", { silent = true })
I am searching (C-p) on a folder with node-modules and it is finding content in that folder.. Shouldn´t file_ignore_patterns also apply to live_grep_native? It seems to apply to live_grep though..

That is by design, the native version does zero processing and sends the command output  directly into fzf, processing the command output via the lua filters would nullify the performance gains of the native version.
Closest thing you can do is use the non native version disable file and git icons.

Oh, I see..
Which do you thing is more performant?
native version (as is) or non-native version with file_ignore_patterns and file and git icons disabled?

native will always be more performant as it doesn’t need to do any processing the command output is piped directly into fzf via the shell (more accurately $FZF_DEFAULT_COMMAND) with (2) having to pass the output through another neovim headless process with lua code, even if not by much the extra step does in fact have a cost.
That said, fzf-lua is very finely optimized and most likely you won’t notice the difference either way, just try it.
Keep in mind the most optimized way to filter is via rg_opts, that way you can use globs using -g and filter out certain patterns at the rg level.

Alright, I will keep using the native then, though it does annoy me seeing all the node_modules being searched.
I will close this. Thank you for the great plugin and for the very prompt replies! You are awesome @ibhagwan!

Alright, I will keep using the native then, though it does annoy me seeing all the node_modules being searched.
I will close this. Thank you for the great plugin and for the very prompt replies! You are awesome @ibhagwan!

Why don’t you use native and add node module filters to rg_opts?

Oh sorry, I missread. I thought that wouldn´t work for native. I just did  that, thank you! For posterity sake, here is my config, if anyone ever comes searching:
return {
    'ibhagwan/fzf-lua',
    -- optional for icon support
    dependencies = { 'nvim-tree/nvim-web-devicons' },
    config = function()
        -- calling `setup` is optional for customization
        require('fzf-lua').setup({
            winopts = {
                preview = { default = 'bat_native' },
            },
            file_ignore_patterns = { 'node_modules/.*', '.*%.jpg', '.*%.png', '.*%.gif', '.*%.jpeg' },
            grep = {
                rg_opts = "--smart-case -g '!{.git,node_modules}/*'",
            },
        })
    end,
}

With this config though, when doing live_grep_native, I get [bat error] invalid digit found in string. This happens for ALL files, so it has nothing to do with the content of the file themselves. I read another issue that suggested adding vim.env.FZF_LUA_NVIM_BIN = 'nvim' to my config, which I did, but it didn´t fix the issue..

Adding the whole thing seems to fix the issue.. What do you think is the error:

grep = {
    rg_opts = "--sort-files --hidden --column --line-number --no-heading " ..
              "--color=always --smart-case -g '!{.git,node_modules}/*'",
  }

What do you think is the error:

The error is due to your rg options missing line numbers and columns (--column --line-number) which then confuses the bat options which section of the file to display/highlight.
If you try again without these you’d see the results are just filenames without lines and columns of the matched string.


Mqtt debug scripts

should be making mqtt debugging a bit easier

Could you remove config.py from the source and replace the fetching of credentials with using sys.argv[1] and optionially sys.argv[2] for the mqtt topic?


error on datatables download link

I get "This page ain't here :(" message shown when I click download after opening this http://live.datatables.net/  link.

Live tables is not jsbin. Please raise it with them as they have their own out of date forked copy.

@remy  But the error page(http://live.datatables.net/download) points me to jsbin github issues page. Where else can I report this?


feat: add transparent routing mode

With this mode we are ensuring that no prefix is added when manipulating the external url and generating the configuration segment.
This feature is helpful when we need transparency for handling ingress.
This PR is for discussing the implementation and use case(s).
Issue

Solution

Context

Testing Instructions

Release Notes

@sed-i @simskij wdyt?

Based on an offline discussion, this proposal will change slightly, so instead of having a "transparent" mode, we will extend the capabilities of the existing "path" mode to accept custom paths from ingress requirers, that way we cover more use cases and avoid adding a third routing mode.
I'm closing this PR as I'll submit a different one for adding the above.


Formulas not showing past 100

Describe the bug
Formulas doesnt show in total, lets say I have 200+ formulas and default its showing 20 per page. There is only 1 page, so cannot see more than 20 Formulas, unless choosing to see 100 per page, but still I cannot see remaining formulas. Because there is only 1 page and cant click next.
To Reproduce
Steps to reproduce the behavior:

Go to formula management, and then formula and you will see default 20 showing pr. site as default. Go to bottom of site and try and click next page, it wont because it think there is only one page, so go up and click drop down in show entries where it says 20 and choose 100 and you can see 100 but not the remaining 100+

Click on

Scroll down to

See error

Expected behavior
A clear and concise description of what you expected to happen.
Expected behavior would be to see all formulas and be able to navigate by clicking next page, and also be able to see all formulas be put into the right and defined categories.
Screenshots
If applicable, add screenshots to help explain your problem.

Please complete the following information:

Platform: docker
Browser all browsers
PV Version 9.2

Additional context
Add any other context about the problem here, also provide details regarding your installation.

If formulas not showing properly try to remove any user preferences set, you will find an option to that under the maintenance tab in the settings page.
Please open another bug for the other issue, don't raise multiple things together as its not easy to be tracked.

Ive tried recreating all, exporting importing, starting clean.. but error remains. It works up until v9.0 and after upgrading to v9.1 and forward the problem shows. Would be really nice to have this fixed, as I would like to stay on latest release.


Row Selections are duplicated across paginated Grids

When I select a row in a paginated grid, the selection gets duplicated on the next grid pages, i.e. the same row numbers are selected on this page again.

I am new to Slickgrid, having a problem in checkbox retaining on  pagination.  selected check box was not retaining when we navigate to other pages and back to the first page


Fix misdetection to listening ports

Pull Request Test Coverage Report for Build 9

0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.5%) to 27.027%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

netutil/netutil.go
0
2
0.0%

Totals

Change from base Build 7:
-1.5%

Covered Lines:
10

Relevant Lines:
37

💛  - Coveralls


Engine check fails on setProperty()

Original from PR #535.
Engine check fails on setProperty() when I try to access Comboxbox or Dropdown or Listbox properties. These expect table and record type values.Engine.Check() Fails and throws " behavior function in a non behavior property error" .
Example Engine check() passes
SetProperty(TextInput1.Text, "hi");  SetProperty(Toggle1.Value, true);
Example Engine check() fails
SetProperty(Dropdown1.Selected, {Value:"2"}); SetProperty(ComboBox1.SelectedItems, Table({Value:"1"},{Value:"2"}));            SetProperty(ListBox1.SelectedItems, Table({Value:"1"},{Value:"3"}));
Adding specific testcases where Check() fails.
Would need these Check() to pass

PR Resolved.