Maybe not a bug....but

Not really a bug, but more of a minor issue.
I am no coder by any means (just starting this, so it might be this way by default) but when doing the beginning waypoints, i've noticed that the challenge will be marked as complete before i add the end ">".  I'm not sure if this is how the CSS really works or not, but if its not, I thought it might cause some to forget to add the end character to close a line if they dont do it routinely.
Challenge http://www.freecodecamp.com/challenges/waypoint-add-images-to-your-website has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

I'm having trouble replicating this, it may have been fixed.  Closing for now but reopen if this is still an issue for you


Santitize inputs for safe CSVs

At first I wanted to do this to the CSV directly. Unfortunately, I realized we use that CSV downstream for our counts so the identifiers must match. Though it is a bit indirect I think the only way forward is to do this in validate input or not make this CSV available for download at all. Some people may use these characters in their identifiers.

Sorry for the unfinishedness I am using the CICD to run tests

closing in favor of https://github.com/chanzuckerberg/idseq-workflows/pull/119

closing in favor of https://github.com/chanzuckerberg/idseq-workflows/pull/119


The "I accept the Expensify Terms of Service" checkbox not checked when retuning from step 2

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to Settings > Workspaces > Bank account > Connect manually
Checked the checkbox first time
Click on "Continue"
After that return back to step 1(here you will see checkbox unchecked)
Now again continue without checking the checkbox

Expected Result:
The "I accept the Expensify Terms of Service" checkbox should be checked after returning from step 2 and should displayed error message if unchecked
Actual Result:
The "I accept the Expensify Terms of Service" checkbox not checked when retuning from step 2 and not throwing an error
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/445f33c3-a405-4930-a4a6-de86a8901990
https://github.com/Expensify/App/assets/93399543/955d24c5-87b9-4755-b760-3fe774c34e96
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686240081221059
View all open jobs on GitHub

It's fixed in this PR https://github.com/Expensify/App/pull/20091

I agree has already been fixed in my PR. Closing.


Fix for empty background results in skip of feature

Fix the bug #768

Nice! Thank you very much for contribution!


"A JavaScript error occured in the main process"

I've started getting this error all of a sudden:
I've tried a clean unzipping but the error persists.

I had the same problem after a power outage, here's a fix: https://github.com/yakyak/yakyak/issues/1028


better way to tell what mods is miss mach

me and a friend have been having problems whit connecting to each other and we have tried nerly all the fixes that we have been sent. all i need to know is what is not right so i can fix it

If the problem is that the game is telling you you have the wrong mods compared to the server, please disable all mods besides multiplayer and hugslib on both the server and the client, and try to connect that way.

As long as both of you have the correct mods installed, you can just send the ModsConfig.xml file across located in C:\Users\[Username]\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config
It's a bit of a dirty hack but it was the quickest way for myself and my friend to just get it working right out of the gate.


Fix compose setup for docker desktop and arm64

Updates the networking to work with docker desktop, and uses a firebase image with arm64 support.

Looks good, it works on my side with docker desktop and intel processor :). One question - how or - can we - get rid of 'You are not signed in to the Firebase CLI.' warning? Maybe we could add a flag to make firebase login interactive? There's also a possibility that we don't even need to be logged, but I haven't used firebase UI before and I'm just curious if we can do something about it and have any benefits from being logged

Works great for me ( Macbook with Intel i9 & Docker Desktop ). Great work!

@mikeyavorsky if I'm understanding you correctly, merging the PR should pick up any changes you got from the rebase, so going to merge this in as is


Disable background colour

Is there a way to disable background colours? My terminal is transparent and I see no use to have a solid background colour.

Try adding this to ~/.config/haskell-vim-now/vimrc.local:
hi NonText ctermbg=NONE
hi Normal guibg=NONE ctermbg=NONE

Then restart vim.

It mostly worked, but the line numbers still have a background colour.

Probably need to do
hi LineNr guibg=NONE ctermbg=NONE

" ...and clear the bg for the gutter too while you're at it
hi SignColumn guibg=NONE ctermbg=NONE


Path to MyMongoClientFactory for the ClassLoader

#I have created a MyMongoCientFactory.java
under app->db->MyMongoClientFactory.java (db is a subfolder under app folder)
As suggested i have declared in my application.conf
playjongo.mongoClientFactory="db.MyMongoClientFactory"
But i got an error
[error] application - ClassNotFoundException
java.lang.ClassNotFoundException: db.AppMongoClientFactory
It seems like the ClassLoader can't find MyMongoClientFactory.class. How should i declare the path to my MyMongoClientFactory in my case. Thanks a lot for you help.

Something in your description is wrong. You're speaking of "MyMongoCientFactory", which does not match "ClassNotFoundException: db.AppMongoClientFactory".

Thank for the quick reply, i thought at first it may be the case, but unfortunately it is just a typo of error output in my issue. I have renamed the class to get issue description consistent.
I have created a AppMongoCientFactory.java
under app->db->AppMongoClientFactory.java (db is a subfolder under app folder)
As suggested i have declared in my application.conf
playjongo.mongoClientFactory="db.AppMongoClientFactory"
But i still got the error
[error] application - ClassNotFoundException
java.lang.ClassNotFoundException: db.AppMongoClientFactory
After some research i have found this post about Dev-Mode ClassLoader does not contain app classes

I am currently using play 2.5.3. The issue about ClassLoader not cotain app classes is closed for play 2.1.0, i am not sure if it is still relevant for play 2.5.x.

I am using play 2.6.6 and I am having the same issue. In my case, my custom cassandra connection factory class that implement CassandraConnectionFactory interface/trait from spark-cassandra-connector library is throwing ClassNotFoundException.


Add SVSM support to endorse

One note is that I changed it so that it no longer requires the SVSM binary and the SVSM SNP measurement to both be passed. They're just independent things now.


Split routes in route groups

Resolved my commit 1bad2da

Maybe the next step is to create a generic CrudRoutes (or a better name) that add routes for Create, Retrieve, Update, Delete operations.
As example for an entity Company we have some different routes in our application:

HTTP Verb
Path
Used for

GET
/companies
display a list of all company

GET
/companies/new
return an HTML form for creating a new company

POST
/companies
create a new company

GET
/companies/:id
display a specific company

GET
/companies/:id/edit
return an HTML form for editing a company

PATCH/PUT
/companies/:id
update a specific company

DELETE
/companies/:id
delete a specific company


(#922) MockSupport::expectNoCall does not append scope to function name

Fix this issue.

Coverage remained the same at 99.907% when pulling 7c44df6eb688a1ca7de1bd0361cf2acace58d17a on maxilai:master into d9406adc54fc89a23751dc9d3de230c0c0c192a7 on cpputest:master.


Revert "Resources"

Reverts cloudroboticshub/cloudroboticshub.github.io#4
@chfritz apparently build failed because of broken links, please have a look at actions output

Sorry about that. Fixed in https://github.com/cloudroboticshub/cloudroboticshub.github.io/pull/6.

Closing due to fix in #6


About "no const Key"

I am aware of this design: "no const Key in std::pair<Key, Value>". I did not care until today.
For a map, this is fine; I mean, willing to change the key is not common. But for a set, the situation is more bug-prone.
For example, this does not compile and this is good:
std::unordered_set<int> set0({ 1, 2, 3 });
for (auto& x : set)
	x++;  // "can't change x"

While the following is compiling fine, hence there is a risk of introducing a subtle bug for a common for-loop scenario.
ankerl::unordered_dense::set<int> set({ 1, 2, 3 });
for (auto& x : set)
	x++;

Hence I am wondering: what is the reason for not being able to have a const key? No way to change that, at least for a set?

Good point, for unordered_dense::set iterator and const_iterator could be the same type. I'll see what I can do here.
I can't internally use const types though because the map has to move elements around. Whenever you delete one entry, the map/set will move an element into the empty place.

Fixed in #53


feat(query): added "CloudTrail Log Files S3 Bucket Logging Disabled" for Terraform

Proposed Changes

Added "CloudTrail Log Files S3 Bucket Logging Disabled" for Terraform (missing severity and severity)

I submit this contribution under the Apache-2.0 license.

This is pending severity and category that will be added soon


Real-Time JAVA Function Call

Hi,
I want to know if there is a way to use your camera in real-time, calling a function to detect a face. I have the function in JAVA, with a port to RN, but when i call it using an iterator (with an async function), the camera start freezing every second. I still didn't find a way to resolve this thing... Anyone knows how to accomplish this task?
Thanks a lot, and sorry for my bad english!

I could make it!! Using the same logic as the barcode scanner. Thanks anyway.


[Feature] Add check for async entrypoint file

Clear and concise description of the problem
When I forget to change project entrypoint file to async loading , I only get the following error:

no any helpful information from it
Suggested solution
Adding check for project entrypoint file is async in webpack plugin
Alternative
No response
Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

We cannot add a check for async boundary.


[graphiql] cm6-graphql | Cannot use import statement outside a module | import { getTokenAtPosition, getTypeInfo, getAutocompleteSuggestions, getDiagnostics } from 'graphql-language-service';

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I am using CM6 in my project and want to add graphQL.
I am trying to import
<script lang="ts">
	import { graphql } from 'cm6-graphql';
</script>

And have a lib error:  "Cannot use import statement outside a module"
~/node_modules/cm6-graphql/dist/index.js:1
import { getTokenAtPosition, getTypeInfo, getAutocompleteSuggestions, getDiagnostics } from 'graphql-language-service';
^^^^^^
Expected Behavior
At first I've tried it in prod project, then created PoC app. I am expecting this import to work.
Steps To Reproduce

Just create PoC app: pnpm create svelte@latest codemirror-graphql
Create src/routes/+page

<script lang="ts">
	import { graphql } from 'cm6-graphql';
</script>

run dev  pnpm run dev
open http://localhost:5173/ in browser

Environment

cm6-graphql Version: 0.0.14
svelte Version: 4.2.7
Bundler: vite 5.0.3

System

OS: MacOS Sonoma 14.4.1

Anything else?
No response

Adding "type": "module" to the package's package.json fixes the issue for me.
This can be done easily by patching the dependency with Yarn: yarn patch cm6-graphql
See e.g https://github.com/graphinx/templates/blob/b5946fd755cb5ad51d492b95eb9a8f0e34233c25/default/.yarn/patches/cm6-graphql-npm-0.0.15-fe23fd2b32.patch#L9


svgcheck should be able to read from stdin

I have a tool that does ascii art to svg (github.com/blampe/goat). However it doesn't yet generate valid tiny svg. Integrating this into a flow with svgcheck requires a tmp file. It would be very helpful to be able to use svgcheck as a filter in a pipeline

Fixed with drop 0.5.14


[release-1.27]: Fix userns example and add OCI runtime requirements

Backport of the fixes already merged in main in https://github.com/kubernetes/website/pull/45178.

/lgtm
Not sure if the mentioned runc version works with Kubernetes 1.27, so deferring approval to other reviewers.

Kubernetes doesn't directly work with runc. I think containerd does work fine with recent runc though.
/approve


strange geometry

Strange angles:
this is what I get

I would expect the angle of the corners to be in the middle of where the two lines are going. So that the angles at the colored arches I drew are the same

I saw someone already mentioned one of the corners not welding, in this case it also made this corner very wide
I made a project with just this shape:
sharp render.zip

When the quads aren't welded those perpendicular points begin to cross.  That leads to the weird geometry.  Again, I think #27 suggestion fixes this.

Was an issue with how the first and last quad would weld in certain circumstances in a closed shape.
This is now fixed in 9d162e8e05b733303a2dd3e474e14eb88cff68a2


Write List to CSV with CsvDataWriter

Hello,
thank you for this amazing lightning fast CSV library.
I use it to read million rows from CSV with no trouble.
The problem now is that I have to write CSV file from List  (example: List peopleList).
What's the correct approach to write to a CSV file using your built in CsvDataWriter?
Thank you.

You can use the Sylvan.Data nuget package to assist with this task. It includes an extension method IEnumerable<T>.AsDataReader that will provide a DbDataReader over a List<T>. This package is currently only prerelease, and some of the APIs will likely change a bit before I get around to an offical release. However, you can count on the AsDataReader extension method behavior. The AsDataReader extension method will expose all public properties on T as a column in the data set.
using Sylvan.Data;
using Sylvan.Data.Csv;

List<Person> data = GetPeople();
using var dataReader = data.AsDataReader();
using var csvWriter = CsvDataWriter.Create("people.csv");
csvWriter.Write(dataReader);

Thank you,
but it seems it doesn't work.
In fact the only written text is the header with property names, but no data is written.
This is the output file, for my List<User> collection:
IdUtente,Cognome,Nome,NomeUtente,PasswordHash,Note,DataRegistrazione,HasErrors
but then no data is written (List has 2 records).
Please check the debug image saying "Enumeration yielded no results".

Thank you, it seems it works fine.


Searching for a location

Hi, the app looks awesome, thanks for contributing it to the OSM community !
I have a particular use case : I map from a device that has it's GPS location service broken and only a wifi connexion. When trying to use every-door, I can't move to my location by using the map since it's zoom is blocked, being able to search a location would be awesome.
For the "sometimes-offline" use case I usually start from a location where I have some wifi, download some data, go walking and mapping around then come back and move to a next area.
I understand that this use case is probably a minority one so feel free to say that it's not a priority for the app but I wanted to take the time to describe it.

Thanks for the report. I'm indeed thinking of adding a search. The current idea is to show the field when the map is scrolled 5+ km away from the GPS location, or where there haven't been a location for 10 seconds, and there is no data downloaded at the current location.

I will add another example of use.
The geoposition on android in my district at the first start constantly sends me to the village 10 kilometers away from me. Often I have to wait a couple of tens of seconds to get a GPS location, and not an approximate one from Google services. Plus, Every Door has a fairly large polling interval of the location, and a limit on the minimum zoom, which together is very annoying.


Parser error when using TypeScript 4.7 Instantiation Expressions

Your Environment

Prettier version: 2.7.0
node version: 16.3.0
package manager<EMAIL_ADDRESS>IDE: N/A

Describe the bug

Parser error when using TypeScript 4.7 Instantiation Expressions (supported in Prettier 2.7.0).
To Reproduce

Using the latest version of prettier and @trivago/prettier-plugin-sort-imports at the time of writing:
package.json:
{
  "dependencies": {
    "@trivago/prettier-plugin-sort-imports": "^3.2.0",
    "prettier": "^2.7.0"
  }
}

file.ts:
interface Box<T> {
  value: T;
}
function makeBox<T>(value: T) {
  return { value };
}
const makeHammerBox = makeBox<Hammer>;
const makeWrenchBox = makeBox<Wrench>;

$ prettier --parser typescript file.ts
file.ts[error] file.ts: SyntaxError: Unexpected token (7:37)
[error]   1 | interface Box<T> {
[error]   2 |   value: T;
[error]   3 | }
[error]   4 | function makeBox<T>(value: T) {
[error]   5 |   return { value };
[error]   6 | }
[error]   7 | const makeHammerBox = makeBox<Hammer>;
[error]   8 | const makeWrenchBox = makeBox<Wrench>;

Expected behavior
No error

The error only occurs when @trivago/prettier-plugin-sort-imports is installed—if remove uninstall it, the parser issue disappears. To make issues like this easier to debug in the future, I would suggest improving the error output so to make it clearer that this error originates from the parser inside of @trivago/prettier-plugin-sort-imports and not the parser inside of prettier.

I just encountered the same issue trying to use TypeScript 4.9's satisifies operator.

Same as @OliverJAsh with TypeScript 4.9's and satisifies operator.

I think the best way to solve this issue would be by solving https://github.com/trivago/prettier-plugin-sort-imports/issues/141.

The issue should be resolved in v4.1.0.

I think the best way to solve this issue would be by solving #141.

@byara Do you have any thoughts on https://github.com/trivago/prettier-plugin-sort-imports/issues/141? I fear it's only a matter of time before this issue happens again, so I was hoping we could find a more permanent fix.


Create arjay-tpq.yml

Hi @arjay-tpq
It looks like this request failed because I do not see a record of you enrolling in this course. You must first enroll in the course and then complete any required tests before requesting the completion badge.
Thanks!


Require hardware support for all the video formats

This will use the new added setting to ensure that no video format without hardware support will be played on (embedded) devices in wpe-2.28 (the version exposing the new setting). In particular, it means that the Raspberry Pi won't report that it's "capable" of playing vp9 anymore (it's not, it was just playing by software with poor performance).
To avoid breaking the build a dummy patch has also been committed to the other wpe versions (2017, 2.22) also exposing the new setting for compatibility reasons, but ignoring it.

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


feat(ndt_scan_matcher): add parameters of real-time covariance estimation

Description
Selecting the use of real-time covariance estimation and setting the arrangement of initial position.
Related links
Tests performed
Notes for reviewers

https://github.com/autowarefoundation/autoware.universe/pull/5338
Real-time covariance estimation core source code.
https://github.com/tier4/ndt_omp/pull/22
Output Hessian matrix to use in real-time covariance estimation.

Interface changes

use_covariance_estimation
offset_array_x
offset_array_y

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

I'm sorry, I forgot to add the parameter.
I added use_covariance_estimation.


Bug report: GridVectors error with certain MODIS data files

Describe the bug
The animator is throwing an error for certain MODIS data files. The file in question looks fine when viewing in the python app. If the file is resampled to another frequency (tested 1-day and 5-day) using the python app, then it works in the animator.
Error log
Error using griddedInterpolant
GridVectors must define a grid whose size is compatible with the Values array.
Error in m_image (line 149)
Error in animate_gridded_ndvi (line 147)
Error in gridded_data_animation/CreateanimationButtonPushed (line 482)
Error in appdesigner.internal.service.AppManagementService/executeCallback (line 138)
Error in matlab.apps.AppBase>@(source,event)executeCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event) (line 63)
Desktop (please complete the following information):

OS: macOS Ventura
Version 13.0

Additional context
Add any other context about the problem here.
Konda_ndvi_MOD13Q1.006_250m_aid0001.nc.zip

I get the same error with both .ncs I got through Appeears. Example attached:
MOD10A2.061_500m_aid0001.nc.zip
This file is exactly as retrieved from Appeears. Do the raster data need to be resampled to match the track frequency chosen in the Tracks Visualization Options, prior to putting them into the Animate tool?

I will have to investigate this further. Could you send the track data you were using for this example?
The raster data shouldn't need to match the track frequency if you're not plotting contour data (the contour time series still needs to be fixed, see #29). Resampling the data in the gridded data python app before giving it to Animate tool fixed the problem for the case I looked at before, but the gridded data app also does some other things to try to sanitize/prepare the data for the Animate tool.


Test script version via API?

Hi,
There is an endpoint https://inferno.healthit.gov/suites/api/version returning the current Inferno Test Kit version.
And it would be nice to be able get the current test script version.
For example, that 3.1.1 string.

We don't expose just the version of the test suites, but if you fetch the list of test suites at https://inferno.healthit.gov/suites/api/test_suites, you'll get a summary JSON view of each suite including the version.

@Jammjammjamm thanks a lot. I'll try to use that instead

It worked for me. Thanks


Divide by zero error in InternalQueryFuctions

7.1.5
We are having issues when reloading with dates where it crashes due to a division by zero error.
On a time budget here so can't go into detail, but basically it appears that trying to reload today, Aug 9th, via reloadDates, causes a crash in line 179 of InternalQueryFuctions :
let extraSection = itemIndex / collectionView(self, numberOfItemsInSection: section)

collectionView(self, numberOfItemsInSection: section) gets passed a section of 119, which then returns zero.  A simple check here to see if the number of items in section == 0 fixes this crash.
let itemsInSection = collectionView(self, numberOfItemsInSection: section)
let extraSection = itemsInSection > 0 ? itemIndex / itemsInSection : 0
let extraIndex = itemsInSection > 0 ? itemIndex % collectionView(self, numberOfItemsInSection: section) : 0

Ok. this issue is already resolved in master branch code.
The fix i have implemented is
let numberOfItemsInSection = collectionView(self, numberOfItemsInSection: section)
guard numberOfItemsInSection > 0 else {
   assert(false, "Number of sections in calendar = 0. Possible fixes (1) is your calendar visible size 0,0? (2) is your calendar already loaded/visible?")
   return nil
}

This will crash in development, for work correctly in production.
I made it assert there so that developer will have a chance to fix, but i have no released it yet because I am not 100% sure if the reason i gave in the assert message is correct.

The frame of the calendar is (0, 40, 375, 507)
It looks like it isn't.  The code gets called after the parent VC has completed viewDidLoad but before viewWillAppear. Making sure the call happens after viewWillAppear fixes the issue

Ok cool. So is the fix done on the master branch good then?
I'll close this issue if this is the case.

Yeah, looks good.  Thx!


ADX clarification needed

Hello, thank you for the great library.
I'm trying to get the ADX values for a single kline using 14 kline period.
For RSI14 Ive used 15 klines to get 1 RSI value.
How many close,high,low values do I need to get 1 ADX value?
example: daily klines for LTCBTC
var inputADX = {
period : 14,
low: [ 0.006126, 0.006061, 0.006113, 0.00645, 0.006351, 0.00654, 0.006545, 0.006433, 0.006516, 0.006549, 0.006561, 0.0063, 0.006122, 0.00625, 0.006334 ],
high: [ 0.006385, 0.006296, 0.006869, 0.006823, 0.006706, 0.007066, 0.00696, 0.006867, 0.006706, 0.006686, 0.006776, 0.00673, 0.0065, 0.006492, 0.006596 ],
close:[ 0.006285, 0.006118, 0.006625, 0.006591, 0.006599, 0.00685, 0.006652, 0.006622, 0.006618, 0.00659, 0.006718, 0.006486, 0.006444, 0.006387, 0.006529 ]
};
Thanks.

For Get one ADX, Give no of values as 2 times of your period, ie..Consider period = 4, No of values = (42) = 8;
For you, Period = 14, then no of values = (142) = 28.


Add optional debug_mode switch to Divvy twisted client

Description of the change
Adding an optional debug_mode switch to Twisted client to print debug information when required
Type of change

[ ] Bug fix
[x] New feature

Testing

[x] Testing information has been added - test cases checklist and steps followed for testing.
[x] Testing screenshot(s) attached for more information.

Security

[ ] This PR has security related considerations.

Tested on local

To test on 1 server for 10-20 minutes and turn off debug mode again.


11:00pm scrape fault

File "/home/runner/work/Weather-Data-Analysis/Weather-Data-Analysis/autoScrape.py", line 134, in
"windSpeed": int(windSpeed)
^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '-2°'
Error: Process completed with exit code 1.

Some how it got a temp value for wind speed?


PostgreSQL Storage

Add a scan results storage using PostgreSQL. For details see the commit messages.

@mnonnenmacher, FileCounterTest fails because you need to add postgres_storage: null to the config key in the expected result.

Also, now that https://github.com/heremaps/oss-review-toolkit/pull/1729 is merged, you'd need to rebase and remove import ch.frankel.slf4k.* from PostgresStorage.kt, but that should be it.

Thanks, @sschuberth !


express single-value props as owl:FunctionalProperty

cim:GeneratingUnit.maxEconomicP
        rdf:type           rdf:Property ;
        cims:multiplicity  cims:M:0..1 ;

[x] fix M:1 to M:1..1 for uniformity
[x] For props with cims:multiplicity  cims:M:0..1 and cims:M:1..1, add rdf:type owl:FunctionalProperty

This is done for v3.0 and for 0..1, should check for 1..1 and do it for v2.3

[x] For their inverses, add rdf:type owl:InverseFunctionalProperty
[x] Keep the cims:multiplicity annotation for easy reference, and because it has more info
This doesn't mean that your RDFS ontologies become OWL: it is just a standard way to express "single-valued" props.

fix12-multiplicity-30.ru


Degraded accuracy at higher spins?

I wrote a little test looking at the round-trip accuracy of the forward and inverse SHTs and noticed a surprising behaviour: accuracy is really good up to spin 5, and then degrades rapidly in the spin 5 to 10 range. Afterwards the results appear to be more or less random.
For testing I used this scipt:
from jax import config
config.update("jax_enable_x64", True)
import numpy as np

from s2fft.sampling import s2_samples as samples
from s2fft.transforms import spherical
from s2fft.utils import signal_generator

L = 128
sampling = "mw"

rng = np.random.default_rng(42)

def l2error(a, b):
    return np.sqrt(np.sum(np.abs(a-b)**2)/np.sum(np.abs(a)**2))

for spin in range(0, 15):
    flm = signal_generator.generate_flm(rng=rng, L=L, L_lower=0, spin=spin, reality=False)
    f = spherical.inverse(flm, L, spin, sampling=sampling, method="jax",
        reality=False)
    flm2 = spherical.forward(f, L, spin, sampling=sampling, method="jax",
        reality=False)
    print(f"L2 round trip error at spin {spin}: {l2error(flm, flm2)}")

The results I get on my laptop (using te CPU implementation) are:
L2 round trip error at spin 0: 1.5624566824714117e-13
L2 round trip error at spin 1: 1.5970499209487677e-13
L2 round trip error at spin 2: 1.583213554485799e-13
L2 round trip error at spin 3: 1.5675383128072145e-13
L2 round trip error at spin 4: 1.7105724287507523e-13
L2 round trip error at spin 5: 1.4177072379540323e-12
L2 round trip error at spin 6: 2.475048071913624e-10
L2 round trip error at spin 7: 3.7531618339585e-10
L2 round trip error at spin 8: 5.129932216531392e-07
L2 round trip error at spin 9: 2.978416885023176e-05
L2 round trip error at spin 10: 0.2221563661222978
L2 round trip error at spin 11:<PHONE_NUMBER>144605
L2 round trip error at spin 12:<PHONE_NUMBER>3526734
L2 round trip error at spin 13: 170645266.3349521
L2 round trip error at spin 14:<PHONE_NUMBER>115.962

Am I using the code incorrectly?

Hi @mreineck, as far as I can tell it seems as though you're calling everything correctly. @jasonmcewen and I have noticed similar behaviour and it's something we plan to look into when we get some time.
My current best guess is that the recursion (equations 24-27 in our paper) at larger spin numbers starts to get around our renormalisation strategy, which could introduce floating point errors which compound. However, this is just speculation and we'll have to dig into it to really know what's going on.
For the time being I've opened a PR which warns users that precision may degrade at higher spin (N) values.
In any case, most users likely will not encounter spins this high even for directional convolutions N ~ 5 is often more than sufficient.

Thanks a lot, @cosmomatt!

My current best guess is that the recursion (equations 24-27 in our paper) at larger spin numbers starts to get around our renormalisation strategy, which could introduce floating point errors which compound. However, this is just speculation and we'll have to dig into it to really know what's going on.

I'll try to have a look myself, and will let you know if I find something.

In any case, most users likely will not encounter spins this high even for directional convolutions N ~ 5 is often more than sufficient.

In most cases I agree, but it's still good to have a warning. During the Planck mission, we often ran the equivalent of a Wigner tranform up to spins of 20 to simulate the effect  of beam far side lobes (see, e.g., https://arxiv.org/abs/2201.03478). For LiteBIRD this limit may even increase.

Fantastic, thanks @mreineck I'll try and find some time soon to look into this.


SuiDataStore debug tool

A tool that is able to dump human-readable data from SuiDataStore. This tool can then be used to debug validator, gateway, fullnode because they all share the same db implementation.

Idea: should we implement a 'raw read' API: where we get a key in bytes and return the value in bytes from all our tables? Then we can build a utility to display and query?

@gdanezis the "raw read" API is already there.  RocksDB has a tool called rocksdb_ldb, which is how I got stats on DB size, key size, etc.  It can dump out binary keys and values in hex.

Ade implemented a tool.

The tool was not yet finished/merged.

Hey @oxade! Can you point out where your tool is and where we can find the code? Thanks!  This will really come in handy when we need to debug the state of a running cluster.

https://github.com/MystenLabs/sui/pull/3188


ColorRect disappearing on Windows 10 with AMD Vega 64 [GLES3]

This is a courtesy filing based off a user's report from Reddit:
https://www.reddit.com/r/godot/comments/alhvil/node_disappearing/
"I have a strange bug I don't know if it's my machine or Godot 3.1 :
When I create a completely new project in 2D, with a simple 2D node as root and a ColorRect as a child , the ColorRect disappear after the first frame at the game startup.
All the settings are the default (once again completely new project).
Do you have an idea ? Thanks !
I was able to test the project on another computer and I don't have the issue.
I assume it's my machine (the renderer is a Vega 64 GPU) but I don't know what the issue could be"
Steps to reproduce:
You can check this simple project :
https://github.com/rafoufoun/GodotSandbox
It's a little more elaborated than what I've described in the post, but quite simple at the same time. When I launch the game, the PlayerOne and PlayerTwo disappear

Hi,
I'm the user reddit who posted the issue. I didn't file a github issue because I didn't know if it was a godot issue.
Here are all the informations about the environment :

Godot v3.1 beta 3
Platform : Windows 10
GPU : AMD Vega 64 with latest drivers (19.1.2)
Project set to GLES3

Note :

The exact same project on MacOS works
On Windows, I switched from GLES3 to GLES2 and the node didn't disappear, I didn't have the issue

Looks to be a GPU-specific issue. As it is not reproducible and GLES3 is disappearing next release, I am going to close this issue.
If someone else experiences this issue, try updating your drivers. If that doesn't work, please comment here and I will reopen.


Introductory sentence introducing short cuts

Currently a lot of short cuts are used in the Quickstart document. Even though there might be a glossary somewhere explaining them all the document is hard to read for people just willing to give the quickstart a go.
This commit adds an initial sentence properly introducing the short cuts so that the quickstart document should be easier to comprehend.

That's a great idea. Could you please link to the respective repositories? Right now this just breaks the markdown. Thanks

Obviously parts of my commit is missing. I will fix this.


python-idzip init at 0.3.9

Description of changes
Seekable, gzip compatible, compression format
Gzip allows to store extra fields in the gzip header. Idzip stores offsets for the efficient seeking there.
https://github.com/bauman/python-idzip

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Package is very important to me, you can trust the author

Package is very important to me, you can trust the author

Package is very important to me, you can trust the author

@natsukium can you review?

@natsukium @fabaff

@ofborg build python311Packages.python-idzip


refactor: remove tag hack for version number

Docker builds cant COPY from parent folders so all the Dockerfiles now need to be run in the root monorepo context so they can grab the .release-please-manifest.json file.
This also adds the suite of packages into the version json as can be seen in https://pr-2641-deployment-33281-flagsmith.app.uffizzi.com/version

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.01% :warning:

Comparison is base (1514bf7) 95.44% compared to head (d449109) 95.44%.
Report is 11 commits behind head on main.

:exclamation: Current head d449109 differs from pull request most recent head 6f862bd. Consider uploading reports for the commit 6f862bd to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2641      +/-   ##
==========================================
- Coverage   95.44%   95.44%   -0.01%
==========================================
  Files         976      975       -1
  Lines       27319    27267      -52
==========================================
- Hits        26074    26024      -50
+ Misses       1245     1243       -2

Files Changed
Coverage Δ

api/app/utils.py
95.65% <100.00%> (+3.34%)
:arrow_up:

api/audit/serializers.py
100.00% <100.00%> (ø)

api/environments/serializers.py
95.52% <100.00%> (-0.32%)
:arrow_down:

api/environments/views.py
90.59% <100.00%> (+1.16%)
:arrow_up:

api/organisations/views.py
91.16% <100.00%> (ø)

api/projects/serializers.py
100.00% <100.00%> (ø)

api/projects/tests/test_serializers.py
100.00% <100.00%> (ø)

api/projects/views.py
94.01% <100.00%> (-0.30%)
:arrow_down:

api/tests/unit/app/test_unit_app_utils.py
100.00% <100.00%> (ø)

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

@dabeeeenster this probably needs changing again after the changes we made to the release please configuration. WE can just use version.txt now, right?


Introduce "singleton" concept to prevent processing/adding concurrent jobs with same group id

Similar to the concept in pg-boss, it makes sense for some use-cases to only allow 1 job within a specific group in an active state  and only allow 1 extra to be queued. It would make this library a good fit for my use-case. Is this something that would be possible/makes sense to add here?
https://github.com/timgit/pg-boss/tree/master/docs#sendsingletonname-data-options

I think this feature has come up a few years ago for the Perl version. If i remember correctly we couldn't come up with enough use cases (we usually require at least two unique use cases for a feature to be considered).

Also be aware that locks exist. which makes finding unique use cases without overlap a little harder. https://github.com/mojolicious/minion.js#locks

Makes sense, thanks 👍

They are definitely versatile, but the only thing with the locks then is that you can really only use it with tasks that have a known/fixed time limit (without overshooting the TTL) and cannot rely on the heartbeats to unlock them automatically.


[Bug][iOS] TouchEffect.Command not working with Path

Description
Steps to Reproduce
Something like this doesn't work on iOS.
<Path Stroke="Transparent"
              Fill="White"
              Aspect="Uniform"
              HorizontalOptions="Center"
              HeightRequest="80"
              WidthRequest="80"
              VerticalOptions="End"
              xct:TouchEffect.Command="{Binding Source={x:Reference this}, Path=ClickedCommand}"
              Margin="0,15">
            <Path.Data>
                <GeometryGroup>
                    <EllipseGeometry RadiusX="65"
                                     RadiusY="65"
                                     Center="80,80"
                    />
                    <EllipseGeometry RadiusX="75"
                                     RadiusY="75"
                                     Center="80,80" />
                    <EllipseGeometry RadiusX="62"
                                     RadiusY="62"
                                     Center="80,80" />
                </GeometryGroup>
            </Path.Data>
        </Path>

While this does work:
        <Label Text="Click me!"
               Padding="20"
               BackgroundColor="Red"
               xct:TouchEffect.Command="{Binding Source={x:Reference this}, Path=ClickedCommand}">
        </Label>

As far as I can tell this was introduced in 1.0.3
Expected Behavior
Command should be invoked.
Actual Behavior
Command isn't invoked.
Basic Information

Version with issue: > 1.0.3
Last known good version: <= 1.0.2
IDE:
Platform Target Frameworks:

iOS:
Android:
UWP:

Android Support Library Version:
Nuget Packages:
Affected Devices:

Workaround

Reproduction imagery

Reproduction Link

Does it work on android?

Yes
On Mon, 12 Jul 2021, 23:51 Andrei, @.***> wrote:

Does it work on android?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xamarin/XamarinCommunityToolkit/issues/1500#issuecomment-878621084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFKHZIXA4HLLOI5NTJFBKKTTXNPVDANCNFSM5AGYBT2A
.

Fixed in https://github.com/xamarin/XamarinCommunityToolkit/pull/1465
Check version 1.3


is there a way to re encode a video dropping the audio?

Hi, on the Readme it is mentioned that is possible to isolate video or audio, but I didn't find any way to do this. I'd like to remove audio from a video, the equivalent of "-an" on the raw command to ffmpeg.
cheers

Try the following.
First create your own video format like it is described in the readme file or by coping an existing video format. Then add the get extra params method to your custom format like so:

    public function getExtraParams()
    {
        return array('-an');
    }

You can find this method in the DefaultAudio abstract class. Since DefaultVideo extends DefaultAudio this should work just fine. This is what the docs are saying:
array()	getExtraParams()
//Returns an array of extra parameters to add to ffmpeg commandline.

I tested this by adding the above to the X264 format and it worked for me, but i would not recommend to add this to an existing format.

See issue #262 and PR #215.


Add test case to external IDP generated JWT

depends on https://github.com/wso2/carbon-apimgt/pull/8055


Calling services return "this is undefined"

Hi,
I have a problem calling my service in this starter kit. Below is my component
class VenuesController {
    constructor($log, FoursquareService) {
        'ngInject';
        this.$log = $log;
        this.FoursquareService = FoursquareService;
    }
    $onInit() {
        if (navigator.geolocation) {
            navigator.geolocation.getCurrentPosition(this.onPositionUpdate);
        }
    }
    onPositionUpdate(position) {
        var lat = position.coords.latitude;
        var lng = position.coords.longitude;
        console.log(lat, lng);
        this.$log.log(lat, lng);
        this.FoursquareService.getVenues(lat, lng).then(this.getVenuesData, this.unableToGetVenuesData);
    }
    getVenuesData(data) {
        console.log(data.venues);
    }
    unableToGetVenuesData(result) {
        console.log(result);
    }
}
export const SenaraiMasjidComponent = {
    templateUrl: './views/app/components/some-component/venues.component.html',
    controller: VenuesController,
    controllerAs: 'vm',
    bindings: {}
}

In the onPositionUpdate, the this method will get an error of undefined.
I have read through and the possible error is that the this method is nested.
I only get the API call if I do this, but still there is error:
class VenuesController {
    constructor($log, FoursquareService) {
        'ngInject';
        this.$log = $log;
        this.FoursquareService = FoursquareService;
        if (navigator.geolocation) {
            navigator.geolocation.getCurrentPosition(onPositionUpdate);
        }
        function onPositionUpdate(position) {
            var lat = position.coords.latitude;
            var lng = position.coords.longitude;
            console.log(lat, lng);
            this.$log.log(lat, lng);
            this.FoursquareService.getVenues(lat, lng).then(this.getVenuesData, this.unableToGetVenuesData);
        }
        function getVenuesData(data) {
            console.log(data.venues);
        }
        function unableToGetVenuesData(result) {
            console.log(result);
        }
    }
    $onInit() {}
}
export const SenaraiMasjidComponent = {
    templateUrl: './views/app/components/some-component/venues.component.html',
    controller: VenuesController,
    controllerAs: 'vm',
    bindings: {}
}

Any ideas how to properly get the services working properly?
And here is my service if it is necessary:
export class FoursquareService {
    constructor($http, $log) {
        'ngInject';
        this.$http = $http;
        this.$log = $log;
        this.butiranKunci = {
            versi: "",
            client_id: "",
            client_secret: "",
            category_id: ""
        };
    }
    getVenues(lat, lng) {
        var url = "https://api.foursquare.com/v2/venues/search?v=" + this.butiranKunci.versi +
        "&ll=" + lat + "," + lng + "&intent=browse&radius=10000&categoryId=" + this.butiranKunci.category_id +
        "&client_id=" + this.butiranKunci.client_id + "&client_secret=" + this.butiranKunci.client_secret;

        return this.$http.get(url).then(function(yes) {
            return yes.data.response;
        });
    }
}

You have to use arrow functions since the starter uses ES6 https://github.com/jadjoubran/laravel5-angular-material-starter/issues/280#issuecomment-215007191
try changing your functions to neither variables:
this.onPositionUpdate = (position) => {
    var lat = position.coords.latitude;
    var lng = position.coords.longitude;
    console.log(lat, lng);
    this.$log.log(lat, lng);
    this.FoursquareService.getVenues(lat, lng).then(this.getVenuesData, this.unableToGetVenuesData);
}
this.getVenuesData = (data) => {
    console.log(data.venues);
}
this.unableToGetVenuesData(result) =>{
    console.log(result); =
}

or functions outside the constructor as:
constructor($log, FoursquareService) {
    'ngInject';
    this.$log = $log;
    this.FoursquareService = FoursquareService;
    if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(onPositionUpdate);
    }
}
onPositionUpdate(position){
    var lat = position.coords.latitude;
    var lng = position.coords.longitude;
    console.log(lat, lng);
    this.$log.log(lat, lng);
    this.FoursquareService.getVenues(lat, lng).then(this.getVenuesData, this.unableToGetVenuesData);
}
getVenuesData(data){
    console.log(data.venues);
}
unableToGetVenuesData(result){
    console.log(result); =
}

and instead of var use let preferentially

Hi Flick36, thanks for the reply. I have use the ES6 by defining my functions outside of the constructor as you can see in my first code snippet. Unfortunately, this will cause an error where the this method will be undefined.
My first thought is the code below will call onPositionUpdate function, and pass a position object
if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(this.onPositionUpdate);  // passing onPositionUpdate without this will not work.
    }

then, the function below will take the object and save it respectively. I try ro call service in this function, but they will return undefined error.
onPositionUpdate(position){
    let lat = position.coords.latitude;
    let lng = position.coords.longitude;
    console.log(lat, lng);
    this.$log.log(lat, lng); // will not work as this is undefined
}

Do as i say: set the function as a variable in your constructor:
like this:
this.onPositionUpdate = (position) => {
    var lat = position.coords.latitude;
    var lng = position.coords.longitude;
    console.log(lat, lng);
    this.$log.log(lat, lng);
    this.FoursquareService.getVenues(lat, lng).then(this.getVenuesData, this.unableToGetVenuesData);
}

Ok now I understand. I guess I have to start exploring es6 syntax.
Thanks again flick36!


Enable shadow indexing in AWS

This PR adds shadow indexing feature in AWS deployments. Once merged, new PRs will be created for adding the same feature to other cloud providers. Shadow indexing is enabled by default (si_enabled in vars.tf).
 If you need to retrieve the IP address of one of the nodes, run terraform output.
rpk topic create alog -p 3 --brokers <redpanda-ip>:9092
BATCH=$(date) ; printf "$BATCH %s\n" {1..1000} | rpk topic produce alog --brokers <redpanda-ip>:9092

View contents of the bucket in AWS console to see remote segment.

Question: Should shadow indexing (an enterprise feature) be enabled by default in this project? Right now it is.

Let's rename this to tiered storage instead of SI. As this is what the docs are focused around.

I'll squash the PR feedback commits once the PR is approved (let me know if you think this is unneeded).

Temporarily cherry picked the ansible2.14+ node_exporter fixes into my local repo in order to get this to run. fwiw, it seems to run ok with the ansible 7.1.0 bottle in homebrew (or, at least, it's behaving the same way so far as other clusters I've run this week from a cluster provisioning standpoint).

Thanks for the review @hcoyote


Reduce GitHub Action VM Size to 8-cores · 32 GB RAM · 300 GB SSD

Fixes #2294
~This is intentionally created only as a DRAFT PR, for now; in order to see if it works, and to compare to other similar changes I'll make; I'll be closing this and/or other such PRs, and in the end keep only 1 of them.~

Un-drafting this one (as opposed to #2299 or #2295), as per https://github.com/google/android-fhir/issues/2294#issuecomment-1779722928, ready for review.


Gridfs integration.md

Thanks to build this amazing project,
and I used to use this on my on-going services.

Avoide server crash when file chunks not found.
Updated code snippet was from this issue ticket 616. And I just added pure console.log to remain short log on the server side to notice.

Cache-Control added to let the browser keeps the file cache.
Perhaps I have to re-benchmark the download stress test even the benchmark 703 issue was not based on the browser environment.

Thanks.

@jankapunkt If you mentioned about collection name change with 'bucketName', I'll apply and test then make a new PR.

I am already working on a PR for #616 but wait for a merge on this one because there will be an edit in this file, too (deprecation warning)

Thank you @kakadais and @jankapunkt
@jankapunkt please proceed with #616


Add flat.io

See:
https://flat.io/score/56fee911001075f71caf45a4-super-mario-bros-songs

Beautiful site, but it doesn't work well offline...


Feature: RichText transforms

We were in the process of evaluating GraphCMS and one of the features we're using quite a bit is the RichText field. It allows exporting/transforming various types.
GraphCMS has 3 types of string fields which allow querying:

Single line text
Multi line text
Markdown

And a text field which cannot be queried but gives you a WYSIWIG editor with media embedding too. When querying it via GraphQL you can pick:

raw (AST)
text
markdown
html (we're currently using this)

Prismic has 1 string field:

Key Text (Text field for exact match search)

And one text field:

Rich Text (A rich text field with formatting and media embedding)

Currently Prime is only able to export into Markdown and would require some sort of heavy Markdown -> HTML lib in the frontend.
Personally what I'm after is just the ability to export HTML from a WYSIWIG which looks to already be available via https://github.com/HubSpot/draft-convert or https://github.com/sstur/draft-js-utils.
How do you feel about an additional field type called RichText that isn't searchable and exports:

HTML
Markdown
Raw (Draft AST)

The RichTextAST in GraphCMS:

I am totally up for that.
I was even thinking about breaking prime-field-string into different fields to maximize composability.

field-markdown: String (markdown)
field-wysiwyg: JSON (AST) or String (HTML)
field-string: String

Unless there is a editor out there with three-way inter-compatable data layer. Your work with Braft editor is already looking like it could be something!
Is there any industry standard AST for wysiwyg html editors available? (hast maybe? https://github.com/syntax-tree/hast)

For me personally I'm not really in need of the raw/ast view but just added it anyway as the editor contained a tree :)
Maybe it could be omitted for now as it can be added non-breaking for the future


Soluction: must be compatible with Illuminate Str

Declaration of ShiftOneLabs\LaravelSqsFifoQueue\Support\Str::substr($string, $start, $length = null) must be compatible with Illuminate\Support\Str::substr($string, $start, $length = null, $encoding = 'UTF-8')

+1 on this, although you should actually use the $encoding variable in the mb_substr() function

Same issue here. This is blocking us from upgrading to laravel 9.

Same issue here. This is blocking us from upgrading to laravel 9.

@TheLevti you could fix it by removing the class https://github.com/shiftonelabs/laravel-sqs-fifo-queue/blob/master/src/Support/Str.php, it is identical to the Illuminate one. It is working fine.

I know, we already forked and fixed it. It would be nice if the upstream owner would keep maintaining this package.

@danganf ,
I appreciate the PR for this! However, I ended up updating the package to drop support for Laravel 4.1 - 8.x, so the Str class in this package isn't even needed anymore.
The new 3.0.0 tag for this support was released today. The old 2.1.0 tags will still work if you need Laravel <= 8x or PHP <= 8.0.
Thanks,
Patrick

Sorry, meant to ping @GeNyaa , @TheLevti , and @davideprevosto , too. The package has been updated to add support for Laravel 9.x and 10.x. The new 3.0.0 tag for this support was released today.

Thank you very much!


Add 3 vendors (OptiSigns, Loom, Zight)

Dropped the Zight price down to $8 for the Team plan vs. the $9.95 Pro plan for one user. Loom snuck in via another PR earlier this week. Thanks for the PR.


Region distinguishers for culture mapping seem not to work

https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-177#post-20566491

Also, add individual provinces as a possible distinguisher.
https://forum.paradoxplaza.com/forum/index.php?threads/the-eu4-to-v2-converter-project.707362/page-178#post-20567087


Fix Node.js 16 Core Tools base image

Fixes #558
@TsuyoshiUshio

PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made and CI is passing.

/azp run

/azp run v4 node build

/azp run v4 node build

/azp run v4 node build

Azure DevOps issue happens on build. we created the same PR as this one, and it works fine we moved to the PR.
https://github.com/Azure/azure-functions-docker/pull/575


feat: update swap page checks

Fix issues with validation on contracts
Add liquidity info on preview methods
Improve UI feedback
Update CoinInput to work with BigInt
Refactor the swayswap page

I think we can remove this Button component, which I did in the last pull request. Can you rebase this branch against master @luizstacio ?

Yeah, it was on the way... I replaced the Buttons


storage/json-api tests are brittle

Found in #4149
Looking at storage/json-api/src/test/java/StorageSampleTest.java it appears that testUploadDelete() doesn't wait for GCS eventual consistency.
------------------------------------------------------------
- testing storage/json-api
------------------------------------------------------------
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.692 s <<< FAILURE! - in StorageSampleTest
[ERROR] StorageSampleTest.testUploadDelete  Time elapsed: 2.325 s  <<< ERROR!
com.google.api.client.googleapis.json.GoogleJsonResponseException:
404 Not Found
DELETE https://storage.googleapis.com/storage/v1/b/java-docs-samples-testing/o/storage-sample-test-upload.txt
{
  "code" : 404,
  "errors" : [ {
    "domain" : "global",
    "message" : "No such object: java-docs-samples-testing/storage-sample-test-upload.txt",
    "reason" : "notFound"
  } ],
  "message" : "No such object: java-docs-samples-testing/storage-sample-test-upload.txt"
}
	at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:149)
	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:112)
	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:39)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:443)
	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1108)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:541)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:474)
	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:591)

It also should include a UUID in the path as several of these tests will likely run at the same time.  The same PR run's at least two languages.

Are these sample published on any docs pages?

I have no idea, but will try searching

I can't find them through codesearch

@frankyn @JesseLovelace If you can confirm that they shouldn't exist, I'm happy to remove them.

ping

Hi @lesv,
I did a search over this directory and it's not currently used in cloud documentation. Let's remove these samples because this isn't the way we want users to use the Storage API in Java additionally it's not surfaced in cloud documentation.


Added Console.tres theme file

Related to issue #67

Hey, @SpyrexDE, sorry for taking so long. Awesome work!
@all-contributors please add @SpyrexDE for code


[Client] Remove extra spaces

Purpose

$subject

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Shall we create a relevant node by using syntax API and use leading/trailing whitespaces when creating tokens for having whitespace ex: AbstractNodeFactory.createIdentifierToken(String text, MinutiaeList leadingMinutiae, MinutiaeList trailingMinutiae); from separate PR?


some bubbles/counters for notes/notifi/messages in side-navigation

This is something I'm going to fix sooner than later. I'm not sure about showing "unread" counts for Messages and Notes. but I'm going to start with notifications and go from there


Resampling dependant regularisation in ParticleUpdater

This PR adds the functionality that prevents regularisation from happening if resampling has not been performed. Since the regularisation process is intended to prevent particle impoverishment as a result of resampling. Performing regularisation when resampling has not been performed may lead to unnecessary particle spreading. The changes in the PR check to see if the ParticleState object is the same before and after resampling. This check prevents negates the problem where a Resampler is defined but the resampling process has not been performed due to the effective sample size threshold not being met. If changes have occurred then the Regulariser will be used if it has been defined.
The changes have been made here in such a way that will allow regularisation to occur if a Resampler has not been provided. The reason for this is if the author has not defined a Resampler but has defined a Regulariser then there must be an exceptional reason for doing so. If this is the case, the ParticleUpdater will warn the user on initialisation.

The test error seems to be a problem with the test_gaussian_particle test in the initiator module. The chance of the assertion error happening is <1%. Changing the tolerance on this test assertion should prevent the error.

Happy to approve this once the test_gaussian_particle test has been addressed.

Happy to approve this once the test_gaussian_particle test has been addressed.

Thank you. I have implemented your suggested change above in a local commit that I will push shortly. It actually pointed me towards a documentation error as I missed the preceding colon before two class type definitions in that doc string.
Regarding the test_gaussian_particle test, I am not sure if this is the right place to fix that. I haven't made any changes to the initiator classes in this PR or caused the test fail. Happy to fix it here though if you think that is the right thing to do.

Regarding the test_gaussian_particle test, I am not sure if this is the right place to fix that. I haven't made any changes to the initiator classes in this PR or caused the test fail. Happy to fix it here though if you think that is the right thing to do.

Yes you're right, should be addressed elsewhere as this PR did not influence it!


tests: Update tests for /v1 versioning and fix CI

Codecov Report

Merging #16 (cc32fd8) into main (3678202) will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   72.11%   71.96%   -0.15%
==========================================
  Files         215       66     -149
  Lines        4371     2807    -1564
  Branches      145        0     -145
==========================================
- Hits         3152     2020    -1132
+ Misses       1183      787     -396
+ Partials       36        0      -36

Impacted Files
Coverage Δ

estimators/views.py
33.89% <0.00%> (-33.90%)
:arrow_down:

projects/mixins.py
27.27% <0.00%> (-18.19%)
:arrow_down:

credits/models.py
76.47% <0.00%> (-17.65%)
:arrow_down:

estimators/serializers.py
66.66% <0.00%> (-12.50%)
:arrow_down:

projects/serializers.py
73.01% <0.00%> (-10.32%)
:arrow_down:

estimators/signals.py
48.57% <0.00%> (-8.58%)
:arrow_down:

projects/views.py
62.35% <0.00%> (-5.06%)
:arrow_down:

estimators/models.py
48.83% <0.00%> (-3.77%)
:arrow_down:

tasks/models.py
72.86% <0.00%> (-2.34%)
:arrow_down:

projects/tests.py
97.95% <0.00%> (-2.05%)
:arrow_down:

... and 173 more

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


Easily get more information on single tiles

Hey,
I'd love to see a possibiliy to easily obtain more information on single tiles. For example what tiles are currently visible, what tiles are already loaded, get the bounding box of specific tiles, etc.
Regards

Closing this as outdated. Leaflet 1.0.0 can fire tileload and tileerror events to help with this need.


0.9.6 doesn't build on OS X with default-features=false, features = ["security-framework"]

I tried using hyper 0.9.6 with security-framework enabled on OS X, my Cargo.toml snippet looks like:
[dependencies.hyper]
version = "0.9.6"
default-features = false
features = ["security-framework"]

I get this build error:
   Compiling hyper v0.9.6
/Users/luser/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.9.6/src/client/proxy.rs:19:72: 19:86 error: type name `net::Openssl` is undefined or not in scope [E0412]
/Users/luser/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.9.6/src/client/proxy.rs:19 pub fn tunnel(proxy: (Cow<'static, str>, u16)) -> Proxy<HttpConnector, ::net::Openssl> {
                                                                                ^~~~~~~~~~~~~~
/Users/luser/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.9.6/src/client/proxy.rs:19:72: 19:86 help: run `rustc --explain E0412` to see a detailed explanation
/Users/luser/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.9.6/src/client/proxy.rs:19:72: 19:86 help: no candidates by the name of `Openssl` found in your project; maybe you misspelled the name or forgot to import an external crate?
error: aborting due to previous error
Could not compile `hyper`.

To learn more, run the command again with --verbose.

If I leave out the features = ["security-framework"] it builds fine. I don't have homebrew OpenSSL installed, so if I leave out the default-features = false it fails trying to build openssl.

I get the same error if I checkout the 0.9.x branch from this repo and run cargo build --no-default-features --features=security-framework.

I've publish v0.9.7 to crates.io that includes your fix. Thanks again!


Arduino restarts when opening the serial connection

Every time the serial connection with the controller_cli is opened, the Arduino restarts and turns all outputs into the off state (as it should upon a restart). This is part of the Arduino, see here: https://github.com/pyserial/pyserial/issues/329#issuecomment-791997557
Setting dsrdtr=True in the connection seems not to change this behavior. However, Adding a 10uF capacitor between reset and ground solves the issue. However, this does not allow to upload firmware anymore.
Solution:

Modify hardware to include 10uF capacitor between reset and ground
Add a removable jumper: Removing this will allow flashing firmware

This will take care of the reset issue and allow establishing connections with the states remembered

A fix was implemented and is now documented in the hardware and firmware READMEs.


ReCAPTCHA couldn't find user-provided function: vcRecaptchaApiLoaded

Hi! I have the following message in console ReCAPTCHA couldn't find user-provided function: vcRecaptchaApiLoaded                 recaptcha__ru.js:367 . It shows when the ReCAPTCHA widget didn't exist on current page. If I go to my auth page and it loads ReCAPTCHA widget, this message didn't showing in console.
Any idea how I can solve this a little problem?

interesting. That must be a new error they are throwing. If reCaptcha is loaded before angular-recaptcha then angular-recaptcha will detect that and just run. If you ensure angular-recaptcha is loaded before recaptcha it will resolve your issue.

Same error with me:
ReCAPTCHA couldn't find user-provided function: vcRecaptchaApiLoaded  recaptcha__fr.js:305
For info I am using third-party async loader library.
I tried to load angular-recaptcha before recaptcha but it doesn't work.

Same here, loading angular-recaptcha before recaptcha doesn't change this.

same happening for me too..

Same here

Including ReCaptcha after angular-recaptcha helped for me.

Do you think this can be related to release code out dated (missing lang feature) #173 ? Maybe english language is not affected...?

+1 for this? I'll look into this when I get a moment but if anyone has a solution - please post.

Got the same issue too

I have the same issue.

@markfaseldesign I think fix was commited to master in #176 but not released as a version yet.

@markfaseldesign @DSpeichert This was fixed and released in v4.0

I updated to the latest version but the issue is still there.

I updated to 4.0 and I have the problem too.

I get the master and i have too.. Just 2 days whit any library of captcha for angular and no success.
Thanks for help!!

I had the same issue "ReCAPTCHA couldn't find user-provided function". I removed document.ready() function. It worked!

I have the same issue, I have no document.ready();

$(document).ready(function() {
onReCaptchaSuccess =  function onReCaptchaSuccess() {
console.log('ReCaptcha is done!');
$('#errorRecapture').hide();
}
});


Consumer does not consume messages before all leader brokers receive a message

Experiencing strange bug/behavior from consumer (group API) with the following setup:
1 consumer subscribed to a topic.
3 brokers, 10 partitions, replication factor of 2.
When message is appended, the consumer does not consume it immediately. Only when all 3 brokers get at least one message does the consumer start consuming. (min_bytes is set to 1)
Further testing with 2 partition only, revealed the following: if there is 1 leader for both partitions, messages are consumed immediately. If partitions have different leaders, messages are not consumed until both leaders get the messages.
Consumer example:
...
consumer = kafka.consumer(group_id: group_id)

trap('INT') { consumer.stop } # ctrl-c
trap('TERM') { consumer.stop } # kill PID

consumer.subscribe(
  topic,
  start_from_beginning: false
)

consumer.each_batch(min_bytes: 1, max_wait_time: 5) do |batch|
  batch.messages.each do |message|
     puts message.value
  end
end

Expected behavior:
Consumer should start consuming immediately after message is appended.
Note:
Seems like an issue in the gem, because when using a cli consumer (kafka-console-consumer.sh), messages are consumed immediately after being appended.

Setting min_bytes to 0 seems to solve the issue, the messages are consumed immediately.

Onee issue with setting min_bytes to 0 is that the response from the server happens immediately, and then we have a lot more requests than we would want as we never wait  for max_wait_time.
@dasch Is the behaviour we see to be expected or does it look more like a bug?

Do you mean that the messages are never consumed or that you have to wait for max_wait_time to pass before any of the messages are consumed? If it's the latter case, that's a well-known limitation of the current, rather simplistic, approach taken by ruby-kafka when consuming messages.
I plan on rewriting the consumer to address this and other limitations, but I'm not sure when I'll have the time to do it.

I meant that the messages are never returned, which is why I find it surprising. My understanding of max_wait_time: X was that, whatever happens, after time X, all messages (or how many fit into max_bytes_per_partition) are returned to the consumer (even if min_bytes is not satisfied). What we are seeing however is, with min_bytes: 1, all leaders of the topic need to have at least one message before any message is returned. If only one leader has one message in it, and there are other leaders that do not have a message, then you wait forever and no message is consumed.
It only works as expected if there is a topic with just one partition, and one message is appended, then that message is read immediately (as it exceeds min_bytes). If there are more partitions, then there are more leaders (we have 3 brokers), and it looks like nothing happens until all leaders have at least one message.

@michaelsauter can you post more details on your setup, including the Kafka broker version you're running with? My understanding of the API is what you're describing: after max_wait_time, all brokers should return possibly empty message batches.

We have 3 brokers, version <IP_ADDRESS>. The topic in question has 10 partitions, and 2 replicas (Kafka writes to a EBS volume, so we don't need 3).
The gem version is 0.3.17.

@michaelsauter this could be a <IP_ADDRESS> issue.
Can you try with the most recent beta release?

@michaelsauter you should know that kafka <IP_ADDRESS> had quite a few deadlocks and other issues that might result in problems like this. I'd recommend upgrading off it.

@dasch I'll give 0.3.18.beta2 a try tomorrow and report back.
@tcrayford Do you mean upgrading the brokers? I re-checked and noticed we're actually on <IP_ADDRESS>. From there I only see the option to go to <IP_ADDRESS> or <IP_ADDRESS>, but I thought there might be even more issues with this gem as it advertises 0.9 compatibility?

@michaelsauter ah, yes. But you're already off <IP_ADDRESS>, so it's not that.

As mentioned above, we tested it through kafka cli tools and there it seems to work as expected.

I'd be interested in seeing if this is also a problem on 0.9 – it could be that the broker's backwards compatibility layer is the source of the bug.
The client doesn't really do anything besides declaring the behavior it wants of the broker, so unless the issue is on the client IO side (which seems unlikely) I think we should look at the brokers.

@dasch We tried with 0.3.18.beta2, but it does not solve the problem.

Is this something you can reproduce locally? If so, could you try with Kafka 0.9 just to be sure?

@dasch Hmm. We could try but it is a bit of work to get everything setup, so I'd like to know what the implications would be. Assuming this issue does not exist with 0.9 brokers, what could we do to fix the problem? Downgrading our brokers to 0.9 is not an option, so is it possible for the gem not to use this compatibility layer?
I guess that implies cutting 0.9 support - how far are we from that / is there anything we could help to get closer to that?

My plan is to move the main line of development to only support 0.10 and have a stable branch with bug and security fixes for the 0.9 compatible version. The timing of that is mainly dependent on when Zendesk is done upgrading our clusters – I need to have access to a good testing ground.
Once the client uses the 0.10 versions of the APIs, no compatibility mapping will be done by the brokers.
I would like to pinpoint if this issue is caused by using 0.10 or by a bug in ruby-kafka, though.

@dasch Sounds good :+1:
I'll try to reproduce locally with 0.9 brokers.
Is it worth testing also against 0.10 with one of the "0.10 support pull requests" or are they out of date / not working?

@michaelsauter I think they're very out of date, unfortunately, but you could give it a try.

Okay, unfortunately we have been able to reproduce this locally under <IP_ADDRESS> as well.
Setup: 3 brokers (<IP_ADDRESS>, no SSL), 1 topic with 10 partitions and replication factor 2
Gem versions: 0.3.17 and 0.3.18beta2

Thanks! Okay, then I'll have to dig in and see what ruby-kafka does wrong.
Do you have log snippets I could look at?

Here's a log output from the consumer. Notice that initially there are no messages processed and in the end when all broker leaders get at least one message it starts consuming them.
15:08:37 [   27] Fetching batch from test/8 starting at offset 1
15:08:37 [   27] Fetching batch from test/2 starting at offset 1
15:08:37 [   27] Fetching batch from test/5 starting at offset 1
15:08:37 [   27] Fetching batch from test/4 starting at offset 2
15:08:37 [   27] Fetching batch from test/7 starting at offset 2
15:08:37 [   27] Fetching batch from test/1 starting at offset 2
15:08:37 [   27] Fetching batch from test/9 starting at offset 2
15:08:37 [   27] Fetching batch from test/3 starting at offset 1
15:08:37 [   27] Fetching batch from test/6 starting at offset 2
15:08:37 [   27] Fetching batch from test/0 starting at offset 1
15:08:37 [   27] Fetching cluster metadata from kafka://kafka1.dev:9092
15:08:37 [   27] Opening connection to kafka1.dev:9092 with client id pjpp...
15:08:37 [   27] Sending request 1 to kafka1.dev:9092
15:08:37 [   27] Waiting for response 1 from kafka1.dev:9092
15:08:37 [   27] Received response 1 from kafka1.dev:9092
15:08:37 [   27] Discovered cluster metadata; nodes: kafka1.dev:9092 (node_id=1), kafka2.dev:9092 (node_id=2), kafka3.dev:9092 (node_id=3)
15:08:37 [   27] Closing socket to kafka1.dev:9092
15:08:37 [   27] Opening connection to kafka2.dev:9092 with client id pjpp...
15:08:37 [   27] Sending request 1 to kafka2.dev:9092
15:08:37 [   27] Waiting for response 1 from kafka2.dev:9092
15:08:38 [   27] Received response 1 from kafka2.dev:9092
15:08:38 [   27] Sending request 16 to kafka1.dev:9092
15:08:38 [   27] Waiting for response 16 from kafka1.dev:9092
15:08:39 [   27] Timed out while waiting for response 16
15:08:39 [   27] Closing socket to kafka1.dev:9092
15:08:39 [   27] Connection error while fetching messages: Connection error: Connection timed out
15:08:39 [   27] Fetching batch from test/8 starting at offset 1
15:08:39 [   27] Fetching batch from test/2 starting at offset 1
15:08:39 [   27] Fetching batch from test/5 starting at offset 1
15:08:39 [   27] Fetching batch from test/4 starting at offset 2
15:08:39 [   27] Fetching batch from test/7 starting at offset 2
15:08:39 [   27] Fetching batch from test/1 starting at offset 2
15:08:39 [   27] Fetching batch from test/9 starting at offset 2
15:08:39 [   27] Fetching batch from test/3 starting at offset 1
15:08:39 [   27] Fetching batch from test/6 starting at offset 2
15:08:39 [   27] Fetching batch from test/0 starting at offset 1
15:08:39 [   27] Fetching cluster metadata from kafka://kafka1.dev:9092
15:08:39 [   27] Opening connection to kafka1.dev:9092 with client id pjpp...
15:08:39 [   27] Sending request 1 to kafka1.dev:9092
15:08:39 [   27] Waiting for response 1 from kafka1.dev:9092
15:08:39 [   27] Received response 1 from kafka1.dev:9092
15:08:39 [   27] Discovered cluster metadata; nodes: kafka1.dev:9092 (node_id=1), kafka2.dev:9092 (node_id=2), kafka3.dev:9092 (node_id=3)
15:08:39 [   27] Closing socket to kafka1.dev:9092
15:08:39 [   27] Sending request 2 to kafka2.dev:9092
15:08:39 [   27] Waiting for response 2 from kafka2.dev:9092
15:08:39 [   27] Received response 2 from kafka2.dev:9092
15:08:39 [   27] Opening connection to kafka1.dev:9092 with client id pjpp...
15:08:39 [   27] Sending request 1 to kafka1.dev:9092
15:08:39 [   27] Waiting for response 1 from kafka1.dev:9092
15:08:40 [   27] Timed out while waiting for response 1
15:08:40 [   27] Closing socket to kafka1.dev:9092
15:08:40 [   27] Connection error while fetching messages: Connection error: Connection timed out
15:08:40 [   27] Fetching batch from test/8 starting at offset 1
15:08:40 [   27] Fetching batch from test/2 starting at offset 1
15:08:40 [   27] Fetching batch from test/5 starting at offset 1
15:08:40 [   27] Fetching batch from test/4 starting at offset 2
15:08:40 [   27] Fetching batch from test/7 starting at offset 2
15:08:40 [   27] Fetching batch from test/1 starting at offset 2
15:08:40 [   27] Fetching batch from test/9 starting at offset 2
15:08:40 [   27] Fetching batch from test/3 starting at offset 1
15:08:40 [   27] Fetching batch from test/6 starting at offset 2
15:08:40 [   27] Fetching batch from test/0 starting at offset 1
15:08:40 [   27] Fetching cluster metadata from kafka://kafka1.dev:9092
15:08:40 [   27] Opening connection to kafka1.dev:9092 with client id pjpp...
15:08:40 [   27] Sending request 1 to kafka1.dev:9092
15:08:40 [   27] Waiting for response 1 from kafka1.dev:9092
15:08:40 [   27] Received response 1 from kafka1.dev:9092
15:08:40 [   27] Discovered cluster metadata; nodes: kafka1.dev:9092 (node_id=1), kafka2.dev:9092 (node_id=2), kafka3.dev:9092 (node_id=3)
15:08:40 [   27] Closing socket to kafka1.dev:9092
15:08:40 [   27] Sending request 3 to kafka2.dev:9092
15:08:40 [   27] Waiting for response 3 from kafka2.dev:9092
15:08:40 [   27] Received response 3 from kafka2.dev:9092
15:08:40 [   27] Opening connection to kafka1.dev:9092 with client id pjpp...
15:08:40 [   27] Sending request 1 to kafka1.dev:9092
15:08:40 [   27] Waiting for response 1 from kafka1.dev:9092
15:08:40 [   27] Received response 1 from kafka1.dev:9092
15:08:40 [   27] Sending request 2 to kafka3.dev:9092
15:08:40 [   27] Waiting for response 2 from kafka3.dev:9092
15:08:40 [   27] Received response 2 from kafka3.dev:9092
15:08:40 [   27] Received batch: test/8
15:08:40 [   27] Batch size: 1
15:08:40 [   27] Batch offset lag: 0
15:08:40 [   27] Processing message: test
15:08:40 [   27] Marking test/8:1 as committed
15:08:40 [   27] Committing offsets: test/2:1, test/1:2, test/0:1, test/8:2, test/4:2, test/7:2, test/9:2, test/3:1, test/6:2, test/5:1
15:08:40 [   27] Sending request 2 to kafka1.dev:9092
15:08:40 [   27] Waiting for response 2 from kafka1.dev:9092
15:08:40 [   27] Received response 2 from kafka1.dev:9092
15:08:40 [   27] Received batch: test/2
15:08:40 [   27] Batch size: 1
15:08:40 [   27] Batch offset lag: 0
15:08:40 [   27] Processing message: test
15:08:40 [   27] Marking test/2:1 as committed
15:08:40 [   27] Received batch: test/5
15:08:40 [   27] Batch size: 1
15:08:40 [   27] Batch offset lag: 0
15:08:40 [   27] Processing message: test
15:08:40 [   27] Marking test/5:1 as committed
15:08:40 [   27] Received batch: test/4
15:08:40 [   27] Batch size: 1
15:08:40 [   27] Batch offset lag: 0
15:08:40 [   27] Processing message: test
15:08:40 [   27] Marking test/4:2 as committed
15:08:40 [   27] Received batch: test/3
15:08:40 [   27] Batch size: 1
15:08:40 [   27] Batch offset lag: 0
15:08:40 [   27] Processing message:
15:08:40 [   27] Marking test/3:1 as committed
15:08:40 [   27] Received batch: test/0
15:08:40 [   27] Batch size: 1
15:08:40 [   27] Batch offset lag: 0
15:08:40 [   27] Processing message: test
15:08:40 [   27] Marking test/0:1 as committed

What timeouts have you set? (connect_timeout, socket_timeout) and what's the max_wait_time? This could be caused by the socket/connect timeout being shorter than max_wait_time.

 Setting socket_timeout to e.g. 6 solves the issue.
However, I'm still a bit confused:

Why does this issue appear only if we have multiple brokers?
We had min_bytes: 1 set, so the brokers should not have waited for max_wait_time anyway?

But that aside, we have a solution now :)
Thanks for looking into this so quickly and sorry for setting socket_timeout to a stupid value :/
Should we contribute a check to emit a warning if someone sets socket_timeout lower than max_wait_time?

Happens to the best of us – I've made far worse mistakes in the past :-)
Also, we really should have better checks in place for that.

Why does this issue appear only if we have multiple brokers?
Probably because a broker with messages ready to be consumed will return before the timeout – with just a single broker, you're almost guaranteed to have messages waiting when you send a fetch request. Note that ruby-kafka sends a single request per broker, containing sub-requests for every partition owned by that broker. So a single byte in a single partition may be enough.

We had min_bytes: 1 set, so the brokers should not have waited for max_wait_time anyway?
max_wait_time is just that – a max. If you want to make the brokers return larger batches, you'll have to increase min_bytes.

It would be great to have a warning (or even an exception) in case max_wait_time is set larger than the socket timeouts. It may be a bit tricky to ferry those values to the right locations, though.
Try taking a look at Racecar, our soon-to-be-announced consumer framework – I think that may be a better place to do these kinds of checks. Also, please let me know if you think Racecar has any kinks.

@dasch @michaelsauter we do that in Karafka framework (basics but will be extended) https ://github.com/karafka/karafka/blob/0.6.0wip/lib/karafka/schemas/config.rb

@dasch Thanks. I'll see how tricky it is to add a warning/exception.
Racecar looks really nice! I was thinking about writing some small abstraction on top of ruby-kafka when we started out, then decided to do only the bare minimum in the beginning. But we will consider Racecar once it is announced. I had a brief look already through the code and the runner looks almost identical to our executables which have a lot of copy-paste between them ;)
One thing I noticed though is that we ended up using batch processing in most cases ... maybe that is sth. that Racecar could consider as well. Anyway, that is a topic for another thread :) I think this one can be closed.

@michaelsauter :+1:
I plan to add batch processing support once I've gathered more use-cases. Batch processing is a bit more tricky since there's less interleaving of ruby-kafka and client code, and so fewer opportunities to mark messages as processed, commit offsets, and send heartbeats. It's also more difficult to pinpoint the message that caused a processing error.
Even the per-message API is batched behind the scenes, though, so the batch API is really only useful if you need to do whole-batch processing.
Racecar has already been pushed to Rubygems, I just haven't had time to write a blog post – feel free to try it out.

@michaelsauter fixed in Racecar: https://github.com/zendesk/racecar/commit/127c1d0ede45ede98a7a1950f763a5794e791ded

@dasch Nice. In ruby-kafka this looks a lot trickier indeed. It would be kind of odd to pass it through all the way until it can be checked. Maybe it's best to just add a note in the comments (https://github.com/zendesk/ruby-kafka/blob/master/lib/kafka/consumer.rb#L168 and https://github.com/zendesk/ruby-kafka/blob/master/lib/kafka/consumer.rb#L235)?

Yup, that's probably the best thing to do. ruby-kafka is a sharp knife – most people will want to use something like Racecar or Karafka when writing consumers.


AADSTS50011 - failing on target consent prompt

after running the script and getting the Admin consent URI .
I enter the URI link in the browser and grant the permission for the applications
and comes back to the powershell window and hit enter, i get new pop-up to sign-in and enters the target domains creds and gets the error message.
"AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'a0c73c16-a7e3-4564-9a95-2bdf47383716'. "

Please try running the script using the parameter -UseAppAndCertGeneratedForSendingInvitation
Thanks,
Roman

From: kumar-debug @.>
Sent: Monday, May 31, 2021 4:01 PM
To: microsoft/cross-tenant @.>
Cc: Subscribed @.***>
Subject: [microsoft/cross-tenant] AADSTS50011 - failing on target consent prompt (#59)
after running the script and getting the Admin consent URI .
I enter the URI link in the browser and grant the permission for the applications
and comes back to the powershell window and hit enter, i get new pop-up to sign-in and enters the target domains creds and gets the error message.
"AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'a0c73c16-a7e3-4564-9a95-2bdf47383716'. "
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcross-tenant%2Fissues%2F59&data=04|01|Roman.Powell%40microsoft.com|31a17096a28f48bca49608d92488069d|72f988bf86f141af91ab2d7cd011db47|0|0|637580988988539944|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=7s6%2FZWZJBps9otyeHvhZDdGiiJ3DaggF92MWpz0qB9U%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPUHY6H7ZSP23VRJ53A3ZU3TQQIMRANCNFSM453SJ73A&data=04|01|Roman.Powell%40microsoft.com|31a17096a28f48bca49608d92488069d|72f988bf86f141af91ab2d7cd011db47|0|0|637580988988549905|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=gQB2eTVv0XoS5xB4SnBvKDPLeNpPspFwGZI8Xf9H8B0%3D&reserved=0.

thanks Roman, please could you share the line number ?

You wouldn't be adding this into the script, it would be one of the parameters you run the script with.
Ex..
SetupCrossTenantRelationshipForTargetTenant.ps1 -ResourceTenantDomain fabrikam.onmicrosoft.com -TargetTenantDomain contoso.onmicrosoft.com -ResourceTenantId  -UseAppAndCertGeneratedForSendingInvitation
Sent from Outlookhttp://aka.ms/weboutlook

From: kumar-debug @.>
Sent: Tuesday, June 1, 2021 9:59 AM
To: microsoft/cross-tenant @.>
Cc: Roman Powell @.>; Comment @.>
Subject: Re: [microsoft/cross-tenant] AADSTS50011 - failing on target consent prompt (#59)
thanks Roman, please could you share the line number ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fcross-tenant%2Fissues%2F59%23issuecomment-852287381&data=04|01|Roman.Powell%40microsoft.com|af7e568adf3a4251202908d9251ea318|72f988bf86f141af91ab2d7cd011db47|0|0|637581635783211328|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=7fw0RnK2mFnT8ne4WhDzUDAGyH5VcFdkikRTXEFKd7Y%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPUHY6GEHM3IMRCPOM5UHJ3TQUGXPANCNFSM453SJ73A&data=04|01|Roman.Powell%40microsoft.com|af7e568adf3a4251202908d9251ea318|72f988bf86f141af91ab2d7cd011db47|0|0|637581635783211328|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=O4%2FV%2Bx%2FN3ecX7eUnG9Wj%2BAisPP6KDGMzl2RFfeNSppA%3D&reserved=0.

thanks a lot, it fixed it.


Update Frequency option

I know Homebrew checks the environment variable HOMEBREW_NO_AUTO_UPDATE , but that's not what I'm looking for.
can there be an option to update only once a day? like every time I try to install something it updating is just too much.
maybe the option could be called HOMEBREW_UPDATE_FREQUENCY=X where X is number of days.

Is HOMEBREW_AUTO_UPDATE_SECS what you're looking for? Default is 300.
Also, I suspect it would've been more appropriate to post this on https://github.com/Homebrew/discussions/discussions.

This is documented in our man page: https://docs.brew.sh/Manpage#environment
Please always fill out the issue template.


Unnecessary SQL joins

I've noticed that when hooked up to a PostgreSQL database, Superset will often generate queries with unnecessary joins. For example on generating a simple line chart that finds event type counts grouped by a 'process' field rolled up by week Superset is generating this query:
SELECT process AS process, DATE_TRUNC('week', event_date) AS __timestamp, COUNT(*) AS count
FROM events JOIN (
	SELECT process AS process__, COUNT(*) AS count
	FROM events
	WHERE event_date >= '2016-09-09 20:40:16' AND event_date <= '2016-12-08 20:40:16' GROUP BY process ORDER BY count DESC
	LIMIT 50
) AS anon_1 ON process = process__
WHERE event_date >= '2016-09-09 20:40:16' AND event_date <= '2016-12-08 20:40:16' GROUP BY process, DATE_TRUNC('week', event_date) ORDER BY count DESC
LIMIT 5000;

Whereas I would normally write this query as:
select
	process as process,
	date_trunc('week', event_date) as __timestamp,
	count(*) as count
from events
where
	event_date >= '2016-09-09 20:40:16'
	and event_date <= '2016-12-08 20:40:16'
group by process, __timestamp
order by count desc
limit 5000;

Without the join, which causes the query plan to be significantly more efficient. The first query with the join takes over an hour to run on a current database, whereas the second handwritten one runs in 80 seconds. Perhaps there's a reason for this, and I'm no data specialist, but it would seem that the join serves no purpose whatsoever. Thoughts?
This is a big problem for us as the first query will actually just time out in Superset after 400 seconds or so, making it unusable for our current setup.
Superset Version
v0.13.2

@tylerFowler have you analized where the query come from? Is it something that can be optimized in pandas, sqlalchemy or superset?

Frankly, I wouldn't even know where to look as I'm not familiar with pandas or sqlalchemy. I would imagine it's Superset that's generating the query based off of the graph options, but if I'm mistaken feel free to redirect me to appropriate repo.

@tylerFowler  - query is generated here:
https://github.com/airbnb/superset/blob/master/superset/models.py#L992
improvements and suggestions are greatly appreciated.

This subquery is a feature. It's a byproduct of using the Series Limit parameter. Set that parameter to 0 to not generate that subquery.

@mistercrunch Ahh, I see, I didn't quite put that together. Thanks! That fixed the issue.


iPad cursor layout bug

There is no text after #:

related: entered this state after alt+backspace twice

judging by the screenshots I reported this on behalf of @Parth - I've never used an iPad keyboard with Lockbook

Okay, @Parth let me know. I recently fixed cursor layout issues involved with alt+backspace.

Hmm, I no longer have a keyboard... let me think about how to experience this again


ngrok current version doesn't work

Ngrok is currently tied to version ^2.2.9 but it really should be 3.2.3 Currently version 2.2.9 does NOT work and the error: Error: ngrok is not yet ready to start tunnels is displayed

I'll fix this!

It may need an api example update as well since ngrok uses promises now.
On Wed, Oct 9, 2019 at 6:54 AM Matti Petrelius<EMAIL_ADDRESS>wrote:

I'll fix this!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/intuit/oauth-jsclient/issues/41?email_source=notifications&email_token=AAJFFBRF5SJ2U72442CSOT3QNXA6DA5CNFSM4I6Y3MZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXUALI#issuecomment-539967533,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJFFBQVWGDN3M7RLACZBXTQNXA6DANCNFSM4I6Y3MZA
.

--
[image: Giftnix]
Brandon Copley
Founder & CEO
t:<PHONE_NUMBER> <(512)%20784-6060>
e<EMAIL_ADDRESS>

@petmat : Thanks for the PR #45 . Did you get a chance to test the sample app with the new ngrok version?

It turned out that I tested it but not properly. Connecting to Ngrok worked but it was not handled properly since the 3.2.5 version uses promises instead of callbacks. I changed the handling of the connect call to promises and it prints out the correct info in the terminal. I also tested the whole sample app and managed to send a request to the API and get a response back.

Thanks @petmat


Pigeon Relay Issues: Reduce job execution time delay on Pigeon from 15 minutes to 5 seconds

Background
After execute job request~, there are too long delay to execute the job on bnb chain. It was 5~15 minutes in the test. Jobs must execute when they are made or at least at the same time as a Paloma Block, 5 seconds. See issue #1 here: https://www.notion.so/volumefi/EPIC-03-10-Issues-in-DCA-trading-bot-test-2dabb3506acc4a33a5714d8b7a252a16
Done when

[ ] identify why Paloma chain scheduled jobs do not execute immediately
[ ] Implement immediate job execution and test with DCA Bot

@webelf101 will you provide us example Python SDK code for sending the message so that we can test this in the private testnet?

@verabehr & @webelf101: We want to benchmark message queue and delivery so that we know what is causing time delays.

we know that messages take a while to be sent because of the account sequence mismatch errors during pigeon signature and attestation


clippy

Let's add cargo clippy to our GitHub Actions and to .rultor.yml, and fix all errors

@UARTman can you fix this?

oops, ingore me


gif saved as static image

Hi, first thanks for an awsome library. Works great.
I'm trying to save an gif on the gallery but it's saved as an static image.
Is there any workaround ?
Here's the url of the image I'm trying to save as gif: http://i.imgur.com/WI1A58C.gif

I will try this...

@viskin I think it just looks static in the gallery, I can share it through WhatsApp as a gif with no problems. Sorry to bother you.

NP 👍


PUBLISH WORKFLOW IMPLEMENTATION

Implement a publish workflow through GitHub actions.
Edit README with an example step-by-step process for publishing new package releases.
Fix minor project configuration issues.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error: "category" is not a registered scale - despite being registered

Expected behavior
Sample repository here https://github.com/pettijohn/DenoPackupChartJSBug
ChartJS appears to be registered correctly ChartJS.register(...registerables, CategoryScale, LinearScale );
Unclear if this is a bug with tree shaking. I tried deno bundle and Packup  with the same result.
Current behavior
index.b4d9605442ba237e567a7f0771ba4444.js:4033
   Error: "category" is not a registered scale.
at co2._get (index.b4d9605442ba237e567a7f0771ba4444.js:14764:15)
at co2.getScale (index.b4d9605442ba237e567a7f0771ba4444.js:14726:19)
at index.b4d9605442ba237e567a7f0771ba4444.js:15094:23
at R2 (index.b4d9605442ba237e567a7f0771ba4444.js:11448:13)
at hs2.buildOrUpdateScales (index.b4d9605442ba237e567a7f0771ba4444.js:15087:13)
at hs2._updateScales (index.b4d9605442ba237e567a7f0771ba4444.js:15162:44)
at hs2.update (index.b4d9605442ba237e567a7f0771ba4444.js:15144:16)
at hs2.<anonymous> (index.b4d9605442ba237e567a7f0771ba4444.js:15038:631)
at hs2._doResize (index.b4d9605442ba237e567a7f0771ba4444.js:11401:65)
at hs2._resize (index.b4d9605442ba237e567a7f0771ba4444.js:15074:212)

zl3 @ index.b4d9605442ba237e567a7f0771ba4444.js:4033
index.b4d9605442ba237e567a7f0771ba4444.js:334
Reproducible sample
https://github.com/pettijohn/DenoPackupChartJSBug
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
Can't get a sample line chart to display at all.
chart.js version
3.7.1
Browser name and version
MS Edge
Link to your project
https://github.com/pettijohn/DenoPackupChartJSBug

I have no experience with either Deno or Packup (couldnt find any info about it either). But when I try to import the lib the way you did in a normal js enviroement it works fine. So I expect the problem te be somewhere with packup.
https://jsfiddle.net/258bj3vm/3/

Thanks for the sanity check that I wasn't doing something wrong with chart.js. Closing the issue. Thanks for the time!

couldnt find any info about it either

For reference:

https://deno.land/
https://deno.land/x/packup


update expense table record info

Update to and from record in expense table
"requestorEmai" record is coming in accountId field instead of managerId so field value get updated

hey @MuhammadTaimurTariq! Is this in response to a particular issue you were assigned? If so, let me know so I can understand the context. Thanks!