text:
interactive button ListItem

Congratulation to the alpha release ! Amazing work. Here a special cases which caused me to add some custom CSS. The interactive dropdown demos uses links (tag a) for the element which gets the ListItem class applied. I want to use buttons in cases where appropriate (when it is more like initiating an action and not just linking to a document or well defined state). So I had to add this to make it look consistent with the link ListItems
button.ListItem.interactive {
  width: 100%;
  background-color: transparent;
  cursor: pointer;
  border: none;
  outline: none;
}

Is there maybe a modular way to achieve this right now without my extra code ? If not, I am suggesting to add something like this to modulz  ListItem class declaration.

@rsaccon This is now fixed in v0.6.5. The ListItem component now supports <li>,  and  tags. Examples on /showcase.
Would LOVE to hear any feedback on this update and other new updates.

authors: colmtuite rsaccon

repo: modulz/modulz


text:
Full accessibility overhaul

Loop back through all the components and make sure to add and scrutinise:

Markup structure
Aria roles
Apt use of VisuallyHidden wrapper components
Other screenreader attributes
Keyboard shortcuts
Focus states
Cross browser/platform/device

👍
Which conformance level are we targeting? (A, AA or AAA)

I think it depends on the component. We can close this now and do this incrementally over time

source: gharchive/issue

authors: colmtuite peduarte

repo: modulz/radix

license: MIT

license_type: permissive

license_source: github-api


text:
Register fails. 0: cURL error 7: Failed to connect to localhost port 80:

I found  this question with same error like in my case but you just close this issue without solving the problem so I open new one.
When I register page redirect's me to the Home page and set the token in localstorage null.
I'll get this error in console
 http://localhost:8000/api/v1/auth/login 401 (Unauthorized)
After if I change page again I redirecting to the login page.And then if I sign in I get this error bottom of the input.
0: cURL error 7: Failed to connect to localhost port 80: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
my APP_URL
APP_URL=http://localhost:8000

pull latest code and let me know if it works for you

@moeen-basra  Right now it's not even register or login I click the login or register button the request is going to server but without any respond from server. =(

I updated the readme and also added the docker you can try either way.

@moeen-basra  Yup that's working thank's a lot.

repo: moeen-basra/laravel-react

license: mit

license_source: bigquery


text:
better default month handling

Pass defaultMonth from DatePicker to Calendar, and when there is no defaultMonth but min is set, use it as defaultMonth.
Thanks for your great work.

Also there is no need for left: 0 in style, and it's not what should be there for right to left pages.

Thanks for the PR. I'll (We do not have unit tests yet 😞)

Thanks :+1:

source: gharchive/pull-request

authors: hzamani mohebifar

repo: mohebifar/react-persian-datepicker


text:
bug: MGrass is visible across different 3D scenes.

I followed the tutorials, created a MTerrain successfully, and added an MGrass node. I added grass, and everything worked fine. However, upon opening a separate 3D scene, the grass from the first scene is still there in the distance in the same coordinates.
Reloading editor fixed it.
Godot v4.3.beta2
See screenshot:

One more, probably related bug. Some of the MGrass cannot be erased using the brushes, and stays in the editor even when the terrain is not generated.
The strange thing is that SOME of the grass is affected.
Compared this image, with terrain on:

To this image, with terrain off:

It's actually not really an issue anymore. I found that just restarting a bunch fixes this.


text:
How to get sku's prices?

Hi.
How to get sku's price from Google Play?
And after purchase, how to get order id and purchase token?
How to start subscription? Like this?; billingConnector.purchase(this, "skuId");
I hope you'll answer it soon.

Hello,
Currently, the only way to do this is to add the dependency implementation "com.android.billingclient:billing:4.0.0" again in your app's build.gradle file and then you can get every information returned by the Google Billing API.
There are multiple ways to achieve what you've asked and you can get that information in every callback of the BillingEventListener (onProductsFetched, onPurchasedProductsFetched, onProductsPurchased, onPurchaseAcknowledged, onPurchaseConsumed)
I'll show you an example for every callback.
1 -onProductsFetched, provides a list of type SkuInfo, which means we can get every information provided by SkuDetails object, including the price (check here the list to see what details you can get besides the price: https://developer.android.com/reference/com/android/billingclient/api/SkuDetails)
String price;

for (SkuInfo skuInfo : skuDetails) {
      price = skuInfo.getSkuDetails().getPrice(); //or .getTitle();, getFreeTrialPeriod() etc
      Log.d("BillingConnector", price);
}

2 -onPurchasedProductsFetched, here we have a list of type PurchaseInfo, which means we can get either SkuDetails (like before) or Purchase object, that returns the purchase token or the order id (check here the list to see what this object provides besides the purchase token: https://developer.android.com/reference/com/android/billingclient/api/Purchase)
String token;
String price;

for (PurchaseInfo purchaseInfo : purchases) {
      token = purchaseInfo.getPurchase().getPurchaseToken();
      price = purchaseInfo.getSkuInfo().getSkuDetails().getPrice();
      Log.d("BillingConnector", token + " " + price);
}

3 -onProductsPurchased here the implementation is identical with step 2.
4 -onPurchaseAcknowledged, provides a PurchaseInfo object, similar to step 2. The only difference is that we don't have a list anymore but an object.
String token = purchase.getPurchase().getPurchaseToken();
String price = purchase.getSkuInfo().getSkuDetails().getPrice();

Log.d("BillingConnector", token + " " + price);

5 -onPurchaseConsumed here the implementation is identical with step 4.
To your last question, yes billingConnector.purchase(this, "skuId"); handles everything including subscriptions.
If you don't have any questions regarding this topic, don't forget to close the issue.
Thanks!

Thanks a lot. I'll use it ^_^

Starting from version 1.0.3 all wrappers around Google Billing API have been added, so it's no longer necessary to add implementation "com.android.billingclient:billing:4.0.0" again in your app's build.gradle file.

To get the price or any other details provided by SkuDetails object, simply call:

String price = skuInfo.getPrice();

To get the purchase token or any other details provided by Purchase object, simply call:

String purchaseToken = purchaseInfo.getPurchaseToken();


text:
Fix term frequency adjustments

Closes #106 and #42

Results looking plausible:

More details of new approach to term frequency adjustments:
As a team we discussed and we agreed that:

The cardinality of a field is accounted for in the standard parameter estimates.  That's why social security number contains more information than gender
So all TF adjustments should be doing is adjusting for the skew/lack of uniformity in term frequencies.

This necessarily implies that some adjustments are up and down (because they have to average out at zero - the standard splink estimate is the 'average' amount of information in the field)
And this was actually how we found the bug - we observed that adjustments always seemed to be up.

What I did
I started by generating synthetic data and using the previous approach to term frequency adjustments.  I found that all adjustments were up - which contradicts the information above!

The code for this is in the term frequency adjustment tests here
The more I thought about it, I realised the previous approach was
(1) Splink sees that the 'name' field matches and therefore adjustments match probability up as part of the standard algo
(2) Splink then looks at 'matchiness' WITHIN name == name and makes a further adjustment up.  But this is double counting the fact that name matches.
What we want to do instead is really 'split out'/make more granular  the comparisons where name = name
Sam had a great insight here - that the new methodology should be equivalent to creating one gamma per value of name:

Sam Lindsay  12 days ago
e.g. gamma_sex becomes 0/M/F rather than 0/1

Again, this demonstrates how the previous approach double counts.
Sam's idea is also much easier to explain because it fits cleanly within the existing framework

The standard splink adjustment for a match on name is based on comparing the proportion of all matches amongst records where gamma_name = 1, vs the proportion of all non-matches.

But rather than look across all gamma_name = 1, we can be more specific/granular by performing this calculation within each name, not just across all names.
This also makes it clear why the current method double counts.  You clearly don’t want to do (1) AND (2), because (2) is the same as (1) just with greater granularity

A bit like in this screenshot:

note that the new methodology is not strictly equivalent to gamma_sex becomes 0/M/F rather than 0/1 because our tf adjustments are made on field_l == field_r, but match_probability is (by default) based on jaro > 0.96.   see sam's commentson PR above and this

repo: moj-analytical-services/splink


text:
[Bug]: Redundant $$ symbols in some kind of formulas in .html

How to reproduce?

Create new note.
Paste this code

Test bug:

$$
\begin{align*}
	\begin{rcases}
        \lambda_{1}(a_{11}^{*}, \ldots, a_{22}^{*}) < 0 \\
        \lambda_{2}(a_{11}^{*}, \ldots, a_{22}^{*}) < 0 \\
	\end{rcases} & \Rightarrow \text{stable knot} \\

	\begin{rcases}
        \lambda_{1}(a_{11}^{*}, \ldots, a_{22}^{*}) > 0 \\
        \lambda_{2}(a_{11}^{*}, \ldots, a_{22}^{*}) < 0 \\
	\end{rcases} & \Rightarrow \text{saddle}
\end{align*}
$$

Export to html.

Expected output:

Actual output:

Thanks for the feedback. I'll find time to fix it.
You can also fix it by yourself, first use pandoc convert markdown to native, it will output the ast of the markdown content,  then use lua to  remove Redundant $$.

I have another website for math equation editing. https://math.yish.org/ .  You can add your formula here 😄

The Redundant $$ symbols  should be fixed with flowing steps.
The commands
INPUT="/path/to/your/note.md"
OUTPUT="myout.html"

# generate AST tree
pandoc -f markdown --self-contained -s -o "${OUTPUT}.ast" -t native --mathjax="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg-full.js" "$INPUT"

# convert command
pandoc -f markdown --lua-filter="./math.lua" --self-contained --metadata title="uname" -s -o "$OUTPUT" -t html \
 --mathjax="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg-full.js" "$INPUT"

The generated AST Tree： myout.html.ast
Pandoc
  Meta { unMeta = fromList [] }
  [ Para
      [ Str "$$"
      , SoftBreak
      , RawInline
          (Format "tex")
          "\\begin{align*}\n    \\begin{rcases}\n        \\lambda_{1}(a_{11}^{*}, \\ldots, a_{22}^{*}) < 0 \\\\\n        \\lambda_{2}(a_{11}^{*}, \\ldots, a_{22}^{*}) < 0 \\\\\n    \\end{rcases} & \\Rightarrow \\text{stable knot} \\\\\n    \n    \\begin{rcases}\n        \\lambda_{1}(a_{11}^{*}, \\ldots, a_{22}^{*}) > 0 \\\\\n        \\lambda_{2}(a_{11}^{*}, \\ldots, a_{22}^{*}) < 0 \\\\\n    \\end{rcases} & \\Rightarrow \\text{saddle}\n\\end{align*}"
      , SoftBreak
      , Str "$$"
      ]
  ]

fix with lua script math.lua

function Para(el)
    local content = {}
    local in_display_math = false
    for _, item in pairs(el.content) do
        if item.t == 'Str' and item.text == "$$" then
            in_display_math = not in_display_math
        else
            if in_display_math then
                if item.t == 'RawInline' and item.format == 'tex' then
                    local n = pandoc.Math('DisplayMath', '\n' .. item.text .. '\n')
                    table.insert(content, n)
                else
                    table.insert(content, item)
                end
            else
                table.insert(content, item)
            end
        end
    end
    el.content = content
    return el
end

@Chupakabra0 Hi Chupakabra0 This issue have been fixed in version 1.0.8. Do you have any other questions?

Hello! Thank you for instant feedback, help and fix. Have no questions, thanks for cool plugin)

repo: mokeyish/obsidian-enhancing-export


text:
How to add winston logger to moleculer-web service ?

Hi, there!
I need to implement winston logger for my web service but i dont have created any ServiceBroker . My services started directly from console launcher...
/node_modules/.bin/moleculer-runner --repl --hot --envfile .env.dev endpoints

endpoints - is directory where my services are located in and exports by default Nodejs module.exports = {}

So , my question is actual because i don't know how to implement winston logger instead of basic console. Can anyone help me ?

You should create a moleculer.config.js and put the logger config into it:
https://moleculer.services/docs/0.13/logging.html#Winston
// moleculer.config.js

const winston = require("winston");
const { extend } = require("moleculer").Logger;

module.exports = {
    logger: bindings => extend(winston.createLogger({
        format: winston.format.combine(
            winston.format.label({ label: bindings }),
            winston.format.timestamp(),
            winston.format.json(),
        ),
        transports: [
            new winston.transports.Console()
        ]
    }))
};

@icebob its doesn't work
I added winston.transports.File  but logs files does not created.
transports: [       new winston.transports.Console(),       new winston.transports.File({ filename: './error.log', level: 'debug' }),       new winston.transports.File({ filename: './combined.log' })     ]

As you can see console working properly as before with default logger configuration
LOG_LEVEL=info LOG_FORMATTER=default

Please try it again with Moleculer 0.14 and Moleculer-web 0.9

Please try it again with Moleculer 0.14 and Moleculer-web 0.9

How to use with new version bro ?.thank

Please try it again with Moleculer 0.14 and Moleculer-web 0.9

Im upgrade to latest version.
type: "Winston", 			options: { 				winston: { 					transports: [ 						new winston.transports.Console(), 						new winston.transports.File({ filename: "d:/winston.log" }) 					] 				} 			}
How to use "bindings" to get nodeId or service name .... ? thank you

authors: icebob stanislav-web zerotn3

repo: moleculerjs/moleculer-web


text:
feat: create configuration for the route registration logging process

Hello!
I noticed some excessive logs with implementations that refresh their routes and aliases constantly. To avoid that issue, I wrote this PR to create a configuration, similar to logResponse or logRequestParams but targeted to the route registration logger calls.

@icebob There is any plan to merge this PR or for the next release? also if there is anything that I can help with this project, I will be happy to do it!

Sry, I forgot to press the "Merge" button :) But I don't know why I will release it, but until then you can use it as npm i moleculerjs/moleculer-web

authors: alvarocantador icebob


text:
refactoring matcher

drop keys arg pathToRegexp function
simplify getRegexp function

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #42   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         103    102    -1
  Branches       25     24    -1
=====================================
- Hits          103    102    -1

Impacted Files
Coverage Δ

matcher.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io jeetiss

repo: molefrog/wouter

license: Unlicense


text:
add webdav support

lol

maybe do this using a separate webdav apidefinition

do we name it monospace or fylesystems . or just monofile webdav

also should this be part of monofile or a separwte project branching off from 2.0

Eureka! Host it on the oracle vps that tactical's also using for his admin

repo: mollersuite/monofile


text:
UTC to Local Time Odd Behavior 1-hr Difference

Starting with an array of data containing objects with properties of sotrable UTC dates;
[
  {
    "TournamentStartDateTime": "2018-03-10T12:20:00Z"
  },
  {
    "TournamentStartDateTime": "2018-03-11T12:20:00Z"
  },
  {
    "TournamentStartDateTime": "2018-03-12T12:20:00Z"
  },
  {
    "TournamentStartDateTime": "2018-03-13T12:20:00Z"
  }
]

Iterate each item, and log date/time string, and MomentJS conversion to local;
for (var i = 0; i<data.length; i++){
    console.log(data[i].TournamentStartDateTime + " => local " + moment.utc(data[i].TournamentStartDateTime).local().format('LT'));
}

The output is as follows;
2018-03-10T12:20:00Z => local 6:20 AM
2018-03-11T12:20:00Z => local 7:20 AM
2018-03-12T12:20:00Z => local 7:20 AM
2018-03-13T12:20:00Z => local 7:20 AM

New Date: Fri Mar 09 2018 08:25:33 GMT-0600 (Central Standard Time)
Locale String: 3/9/2018, 8:25:33 AM
Timezone Offset: 360
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
Version: 2.8.4

Confirmed the same results with version 2.21.0

repo: moment/moment


text:
neoplasm of femur

This is a direct child of bone disease but there are lots of different bone cancers.
https://www.ebi.ac.uk/ols/ontologies/mondo/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMONDO_0021579

Huh, this is odd, but whatever caused this is fixed in the forthcoming release:

authors: cmungall pnrobinson

repo: monarch-initiative/mondo


text:
unZipFromFile seems to not resolve the promise

Current Situation: unZipFromFile seems not to resolve the promise.
My part of the core:
const kiaUnzip = await startKia(`Unzip ${updateZip}`);
  const result = await unZipFromFile(updateZip, ".");
  if (!result) throw new Error(`Zip Extraction failed!`);
  await kiaUnzip.succeed(`Unzipped ${updateZip}`);

  const kiaZipDelete = await startKia(`Remove ${updateZip}`);
  await Deno.remove(updateZip);
  await kiaZipDelete.succeed(`Removed ${updateZip}`);

The output:
⠧ Unzip vscode-update.zip
But it should go on and delete the update zip file.
Do you have any idea what could be wrong there?

It seems that you are using an old version, try to use the latest version and let us know if you will encounter the same problem

Thanks for looking into it!
It was an old version! For some reason I had trusted the google search to give me the newest version, but this was obviously a bad idea :D


text:
Same subtitles different shot in mpv and "just video"

Same scene with same subtitle are different in mpv and just video.
mpv

just

Is that really the same subtitle (language) track in both cases?

Yes, I double checked
The version I am using right now is 0.73 from fdroid. Let me check it on the latest version.

It looks like SSA/ASS subtitles. Please note that support for this format is still pretty limited: Google/ExoPlayer#8435

okk
I guess I should close this issue now.

repo: moneytoo/Player


text:
RUBY-1682: Add require_zstd_compression

Driver PR is open at https://github.com/mongodb/mongo-ruby-driver/pull/2166, and will need this PR merged for the specs to run

No need to merge this until all of RUBY-1682 is ready

No need to merge this until all of RUBY-1682 is ready

@p-mongo can you merge these changes if they're approved?

@p-mongo can you merge these changes if they're approved?

repo: mongodb-labs/mongo-ruby-spec-shared


text:
[Documentation] Remove the words easily and simply

Follows

#1039

In Symfony we try to be kind to newcomers, which means we try to avoid words like "simply", "easily" etc., because it depends on the knowledge of the reader and it can therefore be offensive.

Thanks for the link 👌🏻

repo: mongodb/mongo-php-library


text:
CLOUDP-269087: Update FOAS prod release process to stop creating PR

Proposed changes

Jira ticket: CLOUDP-269087
This PR moves the FOAS prod release process to use the same action as other envs
I tested my changes in a fork: https://github.com/andreaangiolillo/openapi-test/actions/runs/10487766283

LGTM, I will adjust the Postman release process accordingly later today

authors: Luke-Sanderson andreaangiolillo

repo: mongodb/openapi


text:
⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 4c886f2, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 7459 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in c466f10.


text:
mention kafka above 1.0.x

for this comment

Thanks @vilinski !
Could you also add a sentence mentioning how to do it (overriding dependency)?

authors: Avasil vilinski

repo: monix/monix-kafka


text:
[BUG] ToTextureImage causes Native Crash (1.68.2-preview.39)

Description
I'm using an SKGLView on macOS to render some SKImage objects - since the latest preview build introduces ToTextureImage i wanted to use this to create the SKImage object on the GPU. This causes the following native crash for me
Code
=================================================================
	Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x109680d38 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MacOS/test : mono_dump_native_crash_info
	0x109674555 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MacOS/test : mono_handle_native_crash
	0x1099bfb33 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MacOS/test : altstack_handle_and_restore.cold.1
	0x1095f26ac - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MacOS/test : altstack_handle_and_restore
	0x7fff3a333980 - /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib : glGenTextures
	0x10a28226c - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a281e76 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1a672c - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1a67d4 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1cdecb - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1b3006 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1cd9f6 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1b4b3f - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1e5b17 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1b345c - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1eab72 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a0fcf0d - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a0fcfba - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1a8d11 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1e776c - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a1e88ff - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a2b831b - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x10a2b81d1 - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : gr_backendrendertarget_get_gl_framebufferinfo
	0x109fc065a - /Users/dev/test.MacOS/bin/Debug/test.app/Contents/MonoBundle/libSkiaSharp.dylib : sk_image_make_texture_image
	0x13f30f4dc - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x70000a93f000 from 0x700007971000
Pkilling 0x700007d77000 from 0x700007971000
Pkilling 0x70000572c000 from 0x700007971000
Pkilling 0x700008380000 from 0x700007971000
Pkilling 0x700008d15000 from 0x700007971000
Pkilling 0x700005dc1000 from 0x700007971000
Pkilling 0x70000931e000 from 0x700007971000
Pkilling 0x700005a35000 from 0x700007971000
Pkilling 0x1112c7dc0 from 0x700007971000
Pkilling 0x7000063ca000 from 0x700007971000
Pkilling 0x700009927000 from 0x700007971000
Pkilling 0x700006d5f000 from 0x700007971000
Pkilling 0x7000069d3000 from 0x700007971000
Pkilling 0x700009f30000 from 0x700007971000
Pkilling 0x700007368000 from 0x700007971000
Pkilling 0x70000a539000 from 0x700007971000
Pkilling 0x700007f7a000 from 0x700007971000
Pkilling 0x70000890f000 from 0x700007971000
Pkilling 0x700008583000 from 0x700007971000
Pkilling 0x700008f18000 from 0x700007971000
Pkilling 0x700005fc4000 from 0x700007971000
Pkilling 0x700009521000 from 0x700007971000
Pkilling 0x7000065cd000 from 0x700007971000
Pkilling 0x700009b2a000 from 0x700007971000
Pkilling 0x700006f62000 from 0x700007971000
Pkilling 0x70000a133000 from 0x700007971000
Pkilling 0x70000756b000 from 0x700007971000
Pkilling 0x70000a73c000 from 0x700007971000
Pkilling 0x700007b74000 from 0x700007971000
Pkilling 0x700005529000 from 0x700007971000
Pkilling 0x70000817d000 from 0x700007971000
Pkilling 0x700008b12000 from 0x700007971000
Pkilling 0x700005bbe000 from 0x700007971000
Pkilling 0x70000911b000 from 0x700007971000
Pkilling 0x7000061c7000 from 0x700007971000
* Assertion: should not be reached at /Users/builder/jenkins/workspace/archive-mono/2019-08/mac/release/mono/metadata/threads.c:6254
Pkilling 0x700009724000 from 0x700007971000
Pkilling 0x7000067d0000 from 0x700007971000
Pkilling 0x700009d2d000 from 0x700007971000
Pkilling 0x700007165000 from 0x700007971000
Pkilling 0x70000a336000 from 0x700007971000
Pkilling 0x70000776e000 from 0x700007971000
Entering thread summarizer pause from 0x700007971000
Thread started: <Thread Pool> #44
Thread started: <Thread Pool> #45
Finished thread summarizer pause from 0x700007971000.

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================
(lldb) command source -s 0 '/tmp/mono-gdb-commands.22028'
Executing commands in '/tmp/mono-gdb-commands.22028'.
(lldb) process attach --pid 22028

Expected Behavior
image object should be created on the GPU without errors
Actual Behavior
application crashes
Basic Information

Version with issue:  1.68.2-preview.29

IDE:  Visual Studio for Mac

Platform Target Frameworks:

macOS:  10.15.3 (19D76)
Target Devices:
MacBook Pro (13-inch, 2018, Four Thunderbolt 3 Ports) | 16 GB 2133 MHz LPDDR3 | 2,3 GHz Quad-Core Intel Core i5 | Intel Iris Plus Graphics 655 1536 MB

Reproduction Link
https://github.com/nor0x/SkiaSharp_PerfomanceExperiments/tree/master/Xamarin.Forms

This is a very late reply, but I looked into this and the crash is because macOS doesn't do the correct checks that it should.
However, the reason for any error is that what is happening is that the ToTextureImage is trying to copy the image to the GPU via the current OpenGL context. But, on a button click, the context is not set/valid. This might be because the OS is using the GL context, or some other control is has changed to its own context. Before calling this, you have to make sure that you have set the view to be in control.
Right now, there is no way to indicate that the view must set its GL context to be current, so I would suggest adjusting the logic to rather queue the copy and then wait until the next draw operation to actually copy.
In fact, the way you have your code, you can do this with minimal code changes. Just 2 places:
void AddImage_Clicked() {
//    var im = SKImage.FromEncodedData(_buffer.ElementAt(index)).ToTextureImage(SkiaView.GRContext);
    var im = SKImage.FromEncodedData(_buffer.ElementAt(index));
}

void Handle_PaintSurface() {

    // convert all images to textures
    if (!img.Image.IsTextureBacked)
        img.Image = img.Image.ToTextureImage(SkiaView.GRContext);

    e.Surface.Canvas.DrawImage(img.Image, img.Destination, p);
}

Obviously, we should look into the crash part and see if we can either throw a native exception or return null.

repo: mono/SkiaSharp


text:
Few Google bots are not considered

Description
We are seeing traffic from these two user-agents:

Mozilla/5.0 AppleWebKit/537.36 Chrome/126.0.6478.126 Safari/537.36 Google-Ads-Conversions
Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko; compatible; pageburst) CriOS/79.0.3945.117 Mobile/13B143 Safari/601.1.46

References

isbot considers them as bots.
IP seems to be from Google https://www.ip-tracker.org/lookup.php?ip=66.249.89.36.
https://user-agents.net/string/mozilla-5-0-ipad-cpu-os-9-1-like-mac-os-x-applewebkit-601-1-khtml-like-gecko-compatible-pageburst-crios-79-0-3945-117-mobile-13b143-safari-601-1-46-ip-74-125-150-66
https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers

Thanks! Would you you make a pulll-request to add Google-Ads-Conversions and pageburst?

repo: monperrus/crawler-user-agents


text:
Cannot read property '$isLabel' of undefined on Multiple

jsfiddle

Click on input
Select all available options.
Press Arrow-Up.
Observe console error.

vue-multiselect.min.js:1 Uncaught TypeError: Cannot read property '$isLabel' of undefined
    at VueComponent.pointerBackward (vue-multiselect.min.js:1)
    at Proxy.boundFn (vue.runtime.esm.js:165)
    at vue-multiselect.min.js:1
    at HTMLInputElement.invoker (vue.runtime.esm.js:1729)

Hey! Thanks for noticing! This should be an easy fix within the src/pointerMixin.js file.

authors: jamesAtcodeninja shentao

repo: monterail/vue-multiselect


text:
Lawyer journal 2

Describe the bug
Hey there, the last fix https://github.com/moo-man/WFRP4e-FoundryVTT/issues/1804 introduced/did not fix an error in text formatting, in Lawyer journal (Class and Careers).
How it looks now in foundry

How it should looks

Where is an error?

Why there is an error?

‘ should be
‘
HTML Code for: How it looks now in foundry

‘Sharks! No, worse! Leeches! But not the good kind that suck out bad humors, oh no. They’re leeches that drain your coffers and leave you nothing to show for it.’

– Stefan Bachler, Merchant

‘It is not what the lawyer says I may do that concerns me, but what is right by reason and justice. Such matters need then be the basis of our new law.’

– Lector @UUID[JournalEntry.ozE2DMCMK64eE5pD.JournalEntryPage.sVFygKRicWFw6BsT#sample-reikland-estate]{Agatha von Böhrn}, Supreme Law Lord of the Empire

You navigate treacherous legal systems, defending clients and prosecuting the guilty.

Lawyers give legal counsel, interpret the law, and argue on behalf of their clients before the courts. They are often specialists in the laws of the province in which they practice, or in ecclesiastical law. Most are university educated and therefore rich and well-connected, although gifted individuals of low birth are sometimes apprenticed. Cult lawyers learn from their venerable peers, with those trained by the Cults of Verena and Sigmar especially well-regarded. Some Lawyers are hired as mediators, settling informal disputes outside costly courts, a practice favored by Halﬂings. Others work for criminal gangs, exploiting legal loopholes to free their always-guilty clients. At the top end of society, Barristers are the only lawyers allowed to address higher appeal courts in the city-states, charging exorbitant prices for their services.

Lawyers excel at getting people out of trouble, while adventurers excel at getting into it. They can use their knowledge of obscure local laws to avoid problems by suggesting unusual approaches to solve thorny dilemmas. After all, tying up a local thug in court is just as valuable, and arguably much safer, than tying one up in a basement.

Species: Human, Dwarf, Halfling, High Elf

Class: Academics

Lawyer Advance Scheme

WS

BS

S

T

I

Agi

Dex

Int

WP

Fel

♛

✠

✠

✠

♜

♟

✠ @UUID[Compendium.wfrp4e-core.items.ZSet34kUw1Bu1PDx]{Student Lawyer}

Status: Brass 4
Skills: @UUID[Compendium.wfrp4e-core.items.R2ytluHiEFF2KQ5e]{Consume Alcohol}, @UUID[Compendium.wfrp4e-core.items.CcNJsS4jSwB6Ug1J]{Endurance}, @UUID[Compendium.wfrp4e-core.items.pKLMbmG3Ivt6mzMf]{Haggle}, @UUID[Compendium.wfrp4e-core.items.61L9aX2z164cjm7K]{Language (Classical)}, @UUID[Compendium.wfrp4e-core.items.2LDCVJQWkTFszMok]{Lore (Law)}, @UUID[Compendium.wfrp4e-core.items.d9bGxy6Y3u3rOHIN]{Lore (Theology)}, @UUID[Compendium.wfrp4e-core.items.Fs06sr7y9JKpVQmB]{Perception}, @UUID[Compendium.wfrp4e-core.items.9tbHTeuvEMZrp0rx]{Research}
Talents: @UUID[Compendium.wfrp4e-core.items.77p3QRKgFWakkndF]{Blather}, @UUID[Compendium.wfrp4e-core.items.sYbgpSnRqSZWgwFP]{Etiquette (Scholar)}, @UUID[Compendium.wfrp4e-core.items.GogGbYxkVdCmiKqf]{Read/Write}, @UUID[Compendium.wfrp4e-core.items.kQbVFzsh4LbaIzHU]{Speedreader}
Trappings: Book (Law), Magnifying Glass

♟ @UUID[Compendium.wfrp4e-core.items.cxwio1lR9eZdrQiy]{Lawyer}

Status: Silver 3
Skills: @UUID[Compendium.wfrp4e-core.items.d3VZwO4Y5JH5DXdT]{Bribery}, @UUID[Compendium.wfrp4e-core.items.exLrBrn2mjb6x2Cq]{Charm}, @UUID[Compendium.wfrp4e-core.items.RLQHm1s4IuY9RSr2]{Gossip}, @UUID[Compendium.wfrp4e-core.items.cYtU0ORRFCOpQLWz]{Intuition}, @UUID[Compendium.wfrp4e-core.items.XQiiwS9m2Du1IMUz]{Language (Guilder)}, @UUID[Compendium.wfrp4e-core.items.D4JNPSl6VOpsVmSi]{Secret Signs (Guilder)}
Talents: @UUID[Compendium.wfrp4e-core.items.41JhsSNW1Ttza3JK]{Argumentative}, @UUID[Compendium.wfrp4e-core.items.r180vP86SlwyJc8W]{Criminal}, @UUID[Compendium.wfrp4e-core.items.sYbgpSnRqSZWgwFP]{Etiquette (Guilder)}, @UUID[Compendium.wfrp4e-core.items.LPgjE0cexTVOBVCY]{Suave}
Trappings: Court Robes, Guild License, Writing Kit

♜ @UUID[Compendium.wfrp4e-core.items.qGgpt1BH2y3Q3J0A]{Barrister}

Status: Gold 1
Skills: @UUID[Compendium.wfrp4e-core.items.fdq3RFSOKl5b3WzW]{Art (Writing)}, @UUID[Compendium.wfrp4e-core.items.0CwV96kTDRF0jUhk]{Entertain (Speeches)}, @UUID[Compendium.wfrp4e-core.items.I0yPc4PH5erWJLmu]{Intimidate}, @UUID[Compendium.wfrp4e-core.items.DRO5DLF6UcfkvNSh]{Lore (Any)}
Talents: @UUID[Compendium.wfrp4e-core.items.zv3IyoU2wkPZu8pD]{Bookish}, @UUID[Compendium.wfrp4e-core.items.LzgxyMknSHjSkkeQ]{Cat-tongued}, @UUID[Compendium.wfrp4e-core.items.oGbDwnLOn3isPJpO]{Impassioned Zeal}, @UUID[Compendium.wfrp4e-core.items.QsrXxGZiHjth7RMg]{Savvy}
Trappings: Office, Assistant (Student or Servant)

♛ @UUID[Compendium.wfrp4e-core.items.vcHUiputmUcPem6f]{Judge}

Status: Gold 2
Skills: @UUID[Compendium.wfrp4e-core.items.pxNjTxsp1Kp0SmQe]{Cool}, @UUID[Compendium.wfrp4e-core.items.DRO5DLF6UcfkvNSh]{Lore (Any)}
Talents: @UUID[Compendium.wfrp4e-core.items.x8g3U68oi8XzWiYr]{Commanding Presence}, @UUID[Compendium.wfrp4e-core.items.RbnrfHf7GSQap0ig]{Kingpin}, @UUID[Compendium.wfrp4e-core.items.580fwhKfOZJFxMID]{Savant (Law)}, @UUID[Compendium.wfrp4e-core.items.OROfMcVqRnZHINkU]{Wealthy}
Trappings: Gavel, Ostentatious Wig

and now:
HTML Code for: How it should looks

‘Sharks! No, worse! Leeches! But not the good kind that suck out bad humors, oh no. They’re leeches that drain your coffers and leave you nothing to show for it.’

– Stefan Bachler, Merchant

‘It is not what the lawyer says I may do that concerns me, but what is right by reason and justice. Such matters need then be the basis of our new law.’

– Lector @UUID[JournalEntry.ozE2DMCMK64eE5pD.JournalEntryPage.sVFygKRicWFw6BsT#sample-reikland-estate]{Agatha von Böhrn}, Supreme Law Lord of the Empire

You navigate treacherous legal systems, defending clients and prosecuting the guilty.

Lawyers give legal counsel, interpret the law, and argue on behalf of their clients before the courts. They are often specialists in the laws of the province in which they practice, or in ecclesiastical law. Most are university educated and therefore rich and well-connected, although gifted individuals of low birth are sometimes apprenticed. Cult lawyers learn from their venerable peers, with those trained by the Cults of Verena and Sigmar especially well-regarded. Some Lawyers are hired as mediators, settling informal disputes outside costly courts, a practice favored by Halﬂings. Others work for criminal gangs, exploiting legal loopholes to free their always-guilty clients. At the top end of society, Barristers are the only lawyers allowed to address higher appeal courts in the city-states, charging exorbitant prices for their services.

Lawyers excel at getting people out of trouble, while adventurers excel at getting into it. They can use their knowledge of obscure local laws to avoid problems by suggesting unusual approaches to solve thorny dilemmas. After all, tying up a local thug in court is just as valuable, and arguably much safer, than tying one up in a basement.

Species: Human, Dwarf, Halfling, High Elf

Class: Academics

Lawyer Advance Scheme

WS

BS

S

T

I

Agi

Dex

Int

WP

Fel

♛

✠

✠

✠

♜

♟

✠ @UUID[Compendium.wfrp4e-core.items.ZSet34kUw1Bu1PDx]{Student Lawyer}

Status: Brass 4
Skills: @UUID[Compendium.wfrp4e-core.items.R2ytluHiEFF2KQ5e]{Consume Alcohol}, @UUID[Compendium.wfrp4e-core.items.CcNJsS4jSwB6Ug1J]{Endurance}, @UUID[Compendium.wfrp4e-core.items.pKLMbmG3Ivt6mzMf]{Haggle}, @UUID[Compendium.wfrp4e-core.items.61L9aX2z164cjm7K]{Language (Classical)}, @UUID[Compendium.wfrp4e-core.items.2LDCVJQWkTFszMok]{Lore (Law)}, @UUID[Compendium.wfrp4e-core.items.d9bGxy6Y3u3rOHIN]{Lore (Theology)}, @UUID[Compendium.wfrp4e-core.items.Fs06sr7y9JKpVQmB]{Perception}, @UUID[Compendium.wfrp4e-core.items.9tbHTeuvEMZrp0rx]{Research}
Talents: @UUID[Compendium.wfrp4e-core.items.77p3QRKgFWakkndF]{Blather}, @UUID[Compendium.wfrp4e-core.items.sYbgpSnRqSZWgwFP]{Etiquette (Scholar)}, @UUID[Compendium.wfrp4e-core.items.GogGbYxkVdCmiKqf]{Read/Write}, @UUID[Compendium.wfrp4e-core.items.kQbVFzsh4LbaIzHU]{Speedreader}
Trappings: Book (Law), Magnifying Glass

♟ @UUID[Compendium.wfrp4e-core.items.cxwio1lR9eZdrQiy]{Lawyer}

Status: Silver 3
Skills: @UUID[Compendium.wfrp4e-core.items.d3VZwO4Y5JH5DXdT]{Bribery}, @UUID[Compendium.wfrp4e-core.items.exLrBrn2mjb6x2Cq]{Charm}, @UUID[Compendium.wfrp4e-core.items.RLQHm1s4IuY9RSr2]{Gossip}, @UUID[Compendium.wfrp4e-core.items.cYtU0ORRFCOpQLWz]{Intuition}, @UUID[Compendium.wfrp4e-core.items.XQiiwS9m2Du1IMUz]{Language (Guilder)}, @UUID[Compendium.wfrp4e-core.items.D4JNPSl6VOpsVmSi]{Secret Signs (Guilder)}
Talents: @UUID[Compendium.wfrp4e-core.items.41JhsSNW1Ttza3JK]{Argumentative}, @UUID[Compendium.wfrp4e-core.items.r180vP86SlwyJc8W]{Criminal}, @UUID[Compendium.wfrp4e-core.items.sYbgpSnRqSZWgwFP]{Etiquette (Guilder)}, @UUID[Compendium.wfrp4e-core.items.LPgjE0cexTVOBVCY]{Suave}
Trappings: Court Robes, Guild License, Writing Kit

♜ @UUID[Compendium.wfrp4e-core.items.qGgpt1BH2y3Q3J0A]{Barrister}

Status: Gold 1
Skills: @UUID[Compendium.wfrp4e-core.items.fdq3RFSOKl5b3WzW]{Art (Writing)}, @UUID[Compendium.wfrp4e-core.items.0CwV96kTDRF0jUhk]{Entertain (Speeches)}, @UUID[Compendium.wfrp4e-core.items.I0yPc4PH5erWJLmu]{Intimidate}, @UUID[Compendium.wfrp4e-core.items.DRO5DLF6UcfkvNSh]{Lore (Any)}
Talents: @UUID[Compendium.wfrp4e-core.items.zv3IyoU2wkPZu8pD]{Bookish}, @UUID[Compendium.wfrp4e-core.items.LzgxyMknSHjSkkeQ]{Cat-tongued}, @UUID[Compendium.wfrp4e-core.items.oGbDwnLOn3isPJpO]{Impassioned Zeal}, @UUID[Compendium.wfrp4e-core.items.QsrXxGZiHjth7RMg]{Savvy}
Trappings: Office, Assistant (Student or Servant)

♛ @UUID[Compendium.wfrp4e-core.items.vcHUiputmUcPem6f]{Judge}

Status: Gold 2
Skills: @UUID[Compendium.wfrp4e-core.items.pxNjTxsp1Kp0SmQe]{Cool}, @UUID[Compendium.wfrp4e-core.items.DRO5DLF6UcfkvNSh]{Lore (Any)}
Talents: @UUID[Compendium.wfrp4e-core.items.x8g3U68oi8XzWiYr]{Commanding Presence}, @UUID[Compendium.wfrp4e-core.items.RbnrfHf7GSQap0ig]{Kingpin}, @UUID[Compendium.wfrp4e-core.items.580fwhKfOZJFxMID]{Savant (Law)}, @UUID[Compendium.wfrp4e-core.items.OROfMcVqRnZHINkU]{Wealthy}
Trappings: Gavel, Ostentatious Wig

Version Numbers
wfrp4e: 7.0.3
wfrp4e-core: 4.0.2

In the future simply a comment and reopening of the previous issue is all that's needed on something this minor

Good point

authors: GregorHak moo-man


text:
🛑 Nitter USA is down

In 93b4ed5, Nitter USA (https://nitter.moomoo.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nitter USA is back up in eddd530.


text:
利用影卷技术解决windows读取正在运行cookie的问题

已经解决

咋整的呀 带带

https://github.com/Naturehi666/searchall
---原始邮件---
发件人: @.>
发送时间: 2023年9月3日(周日) 晚上11:39
收件人: @.>;
抄送: @.@.>;
主题: Re: [moonD4rk/HackBrowserData] 利用影卷技术解决windows读取正在运行cookie的问题 (Issue #243)
咋整的呀 带带
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

https://github.com/Naturehi666/searchall/releases/tag/search3.5.6

OK

我一开始没找到 还以为你是push到这个项目(HackBrowserData)的dev分支里了
感谢

思路学会了.  等有空我试试用rust


text:
[bug] Moon hangs indefinitely when run outside a moon workspace

If I try to run a moon run <target> command outside a moon project, moon hangs indefinitely.

This seems very odd. Does it happen in other folder besides /tmp?

Yes it happens in $HOME as well.

Found it.

authors: IgnisDa milesj

repo: moonrepo/moon


text:
Update lab-01.rst

Correction to templates:
using code-eval rather than math, for correct implementation.  scripts referenced with code-eval have been proposed in a separate pull request.

I don't think that you can add new files to an existing pull request via the website. So I think you should add all the new matlab files first via one or more pull requests. Then after those are merged, you can make the pull request to edit the lab file.

I don't think that you can add new files to an existing pull request via the website. So I think you should add all the new matlab files first via one or more pull requests. Then after those are merged, you can make the pull request to edit the lab file.

I want to edit this pull request to remove the template I originally typed using the "math".  It asks me to commit directly to the branch "Update lab-01.rst" or open a separate pull request.  Committing directly to this branch right will still keep everything in my pull request right?

Yes. That's fine.

I edited a script in a separate pull request.  I think the correction will allow this pull request to go pass the checks.  The check failure details said there was an issue finding said script using code-eval.

I just updated this with the other changes. We'll see if it builds.


text:
FAST-Fortran traits should use FAST-core traits

example:
Trait << #FASTFortranTExpression
	traits: {FASTFortranTEntity}

should use FASTTExpression

Similarly FASTFortranTEntity should use FASTTEntity
This is important for inspection of fast entities

repo: moosetechnology/FAST-Fortran


text:
Affair.files是否可以增加对已退市股票财务报表的支持

尝试使用Affair.files()获取并下载、解析全部数据包，经过对已获取数据的筛查，发现其中不包含截止当前已退市的上市公司的历史财务报表数据。（例如，获取1990至今的全部年季报数据，在code一列中，不存在已退市的000013等）
是否可以增加对已退市公司的历史财务数据的支持

已退市的，还要他干嘛

已退市的，还要他干嘛
哈哈 就是比如要做基于历史财务报表数据的回测，在历史时点上，是不知道某个股票未来会不会退市的。。。

这个有空考虑下

repo: mootdx/mootdx


text:
Strategy for Adding Support for More Batch Types

I would like to help out adding more batch types, but based on the way the library is currently written I am not sure how you were planning on adding support for batch types other than PPD.
Can you point me in the right direction?

I don't have a hashed out strategy but do have some ideas.
I was going to make a Batch interface w/ parse, validate, write, build functions exposed along with any EntryDetail and Addend that was specific to the batch type. Right now these are explicit for PPD files and need to change to (SEC)Header, (SEC)EntryDetail, (SEC)Addendum, (SEC)Control for each of the matching SEC (Standard entry class code) of the different batch types.
The file reader would then need to look at the SEC code of the Batch Header and then use a switch based on the implemented SEC codes. Unsupported SEC codes would still default to an unsupported error.
When building a new batch file the NewBatch function will need to take a SEC code.

@jjafuller  Starting to try and abstract the Batch SEC type into an interface and make the Batch names,  Entry Details, and validation explicit to the SEC code.
https://github.com/moov-io/ach/compare/master...wadearnold:batch-sec-interface-refactor

It sounds like you're on the right track. One thing to consider is that many of the SEC batch record formats are the same, so the trick is achieving the correct functionality without duplicating logic more than necessary.
Do you have a priority on which SEC codes you want to add? I know that ones I work with the most frequently are PPD, CCD, WEB, and TEL. However, I do work with ENRs, and IAT fairly regularly. IATs are always an issue since they play by their own rules.

What I am thinking is that:

Make the Reader, Writer, and all test use the batcher interface. Only BatchPPD concrete type implements the batcher interface at this time. This refactor should get the code back to its current working state for PPD files.

Extract the common Batch, Entry Detail, and Addendum functionality into concrete types that are not used by themselves but composed into the SEC code type. I assume this to be highly iterative per type to figure out what is repeated so that we have DRY code.
type batchRCK  struct {    Batch    // code specific to RCK implementation }

Continue implementing the different SEC codes while refactoring out common code to the composable struct for each SEC type.

I know this is pretty high level but what are your thoughts @jjafuller ?

@jjafuller Im stuck and wondering if you can help. I can't figure out how to make the Batcher.SetHeader & Batcher.SetControl work without the interface definition requiring the concrete type BatchPPD. Any ideas on how to refactor this so that all BatchSEC types can have a consistent method signature moving forward?
Current Batcher
https://github.com/wadearnold/ach/blob/batch-sec-interface-refactor/batcher.go
Current Branch
https://github.com/wadearnold/ach/tree/batch-sec-interface-refactor

Ah yes, the classic case for generics. You have a few different options for achieving the desired functionality, I think the typical thing to do would to use use an empty interface{} and do type assertions in downstream processing. Take a look at point 4 in this article: https://appliedgo.net/generics/

I am at the point that I need to implement another Batch(SEC) type in order to refactor the common parts into batch/batchEntry/Addenda type that can be composed

Refactored error handling #105 to make it easier to debug parsing. This should drastically improve the ability to add additional SEC types

Whoops pull request was #113 this is 105

I'm excited to give this a shot as soon as I get some time to work with it.

@jjafuller my next steps are to:

Increase code coverage on Reader
Write a BatchWeb and refactor BatchPPD into a composable batch struct for duplicate code
Try another SEC code.

Pull request #114 increases code coverage on Reader.
A fixed width file was not getting all the validation of the file and now is the same as parsing a 94 character line.

@wadearnold I minimally (repetetively) started to implement WEB and CCD in our fork, but am slowly migrating back to the master branch here.  I will speak with some bank reps to see what I can share in terms of test files for both of those formats to facilitate support for both SEC codes and their respective test cases.  Let me know if there is anything else you want me to take a look at or that you might need.

@killianbrackey If you can obfuscate the file but keep the context that would be ideal. I don't need real names and routing numbers but the rest should be ok.  There are several NACHA "rules" that I keep finding large vendors not following. Real world examples of additional SEC files to process would be helpful.
I started messing around this week with adding WEB support. I have not finished and probably won't before you are done. Couple items to look at. Adding a Batch type that would be used to compose BatchWEB types and other BatchSEC types. The logic that I would then add into the specific batch types would be the validation that is specific to that type and the NewBatchWEB to make it easier to build. You can compare this branch and see were I was going with it.
https://github.com/wadearnold/ach/tree/WEB-SEC-support
Thanks again for your assistance!

This latest commit #129 is a pretty major refactor but now supports the ability to easily add additional SEC batch payments types into the library. Please review the readme which now has information on how to add a new batch type.
The library has the stub code for batchWEB and will now read and write a WEB entry but the validation for batchWEB is not implemented. That is my next step. Once that is completed we should be very close to being done with this issue!

authors: jjafuller killianbrackey wadearnold

repo: moov-io/ach


text:
Add spec87 hex

With this PR we:

add ISO8583 1987 version with HEX encoding
create ./specs directory for all new specs
in CLI show the list of supported specs

Codecov Report

Merging #92 (c1444ab) into master (368c26f) will decrease coverage by 2.45%.
The diff coverage is 0.00%.

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

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   71.19%   68.74%   -2.46%
==========================================
  Files          21       21
  Lines         729      755      +26
==========================================
  Hits          519      519
- Misses        165      191      +26
  Partials       45       45

Impacted Files
Coverage Δ

prefix/hex.go
5.55% <0.00%> (-14.45%)
:arrow_down:

Continue to review full report at Codecov.

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

Updated README :)

authors: alovak codecov-commenter


text:
payment platform for banking using a stablecoin

Hello,
We are working on a stablecoin project build on Hedera Hashgraph blockchain, backed 1 to 1 with with african currency, allowing people to access crypto markets.
To bring more utility on the stablecoin, WE also want to make it a huge way of payment for institutions and retails, so we need this stablecoin running on payment platform for banking system (a kind of software) comply with ISO20022 standard.
Can you build it?
Hope to read you soon.
Fred

This project is for supporting RTP with The Clearing House and they use some messages from the ISO 20022 standard. The ISO 20022 standard is huge, so supporting "all of it" is a very large goal.
What messages are you trying to use? Are you on SWIFT or another partner network?

Thank you for the reply.
As said before i'm working on a stablecoin build on Hedera Hashgraph blockchain. And i need this stablecoin be use for payments by financial institutions, but also by retails in daily life. I'm targeting African market.
So i need a payment platform for banking that use the stablecoin as "utility token" for transaction.
As the platform will work like a banking software, i need comply with the ISO20022 standard for basic banking use cases including local and cross border payments
PS: i'm not a Dev
Regard
Fred

I don't think anyone will build you a payments platform for free. If you're willing to contribute we are happy to help out, but you might have better luck finding a technical co-founder on LinkedIn.


text:
Downgrade to apache-beam==2.48.0

apache-beam==2.53.0 has the python3.8 requirement it seems. Do we think this would work well or should I just go back to getting a different python version running on CentOS?
https://github.com/apache/beam/blob/v2.53.0/sdks/python/setup.py#L220

I say we just go for w.e gets us running fastest so I'll push this through for now and we can make tough calls later

authors: moradology ranchodeluxe

repo: moradology/beam-pyspark-runner


text:
V2 null checks

Fixes #110

The following is just my (subjective) opinion. I am fine either way.

I agree with "an overload with additional parameters should behave as if those parameters are optional".
As I see it, the default behavior is throwing a InvalidOperationException and technically the default value is not null, but delegate { return null; }, but that is just an implementation detail. (The fact that the default behavior is implemented via a delegate that returns null bothers me a little too.)
Why provide two ways to do the same thing?
source.Assert(predicate) and source.Assert(predicate, null)
For this method errorSelector will almost never be a computed value (which would force us to put an if/else in our code).
I prefer the "everything-non-null" approach (unless explicitly stated). I can't tell from the method signature that null is okay here. It's not even stated in the docs. Can the predicate be null too? (I agree that this particular method wouldn't make much sense then, but in general ...)

I agree that there is the exception for IEqualityComparer<> and IComparer<>, because we need to be consistent with the .NET framework (a design decision made 10? years ago).
I disagree with the other exceptions (maybe 2.x is a good point to introduce minor breaking changes to clean them up?) and especially with adding new exceptions.

Ah, I'm sorry, I completely misread that you were talking about Assert and not AssertCount because none of your points was lining up to what I was seeing in the code. Anyway, since we agree on the first point, let's move on to the remaining ones…

The fact that the default behavior is implemented via a delegate that returns null bothers me a little too

This was to avoid duplication in the code by way of having the policy at one location.

Why provide two ways to do the same thing?

You could see it that way but the actual intention was that faced with a faulty errorSelector implementation (one returning a null for exception), Assert did the right thing. We can now argue whether hiding, making or patching a faulty implementation is a good thing or not. I do see that AssertCount and Assert are inconsistent here as the former will fault with NullReferenceException when it gets to throwing the exception and the delegate has returned a null.

I can't tell from the method signature that null is okay here. It's not even stated in the docs.

We've talked about this. Optionality is not covered by the type system but in this case, it's about covering a faulty implementation that didn't seem worth bloating docs for. Why? Well, the errorSelector enables three things: (1) keep raising InvalidOperationException but change the message, (2) change the raise exception type or (3) both. If the delegate implementation intended to change the message, the exception type or both and yet by error returned null then the defaulted implementation of Assert would yield a different result. Either it would be caught by unit tests or observed behaviour at runtime. That all said…

I prefer the "everything-non-null" approach

I can go with this for the return value of errorSelector but the entire delegate should remain optional with respect to the other overload(s).

Tests look good:
NUnit-Console version 2.6.2.12296
Copyright (C) 2002-2012 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment -
   OS Version: Microsoft Windows NT 6.2.9200.0
  CLR Version: 2.0.50727.8662 ( Net 3.5 )

ProcessModel: Default    DomainUsage: Single
Execution Runtime: net-3.5
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Tests run: 722, Errors: 0, Failures: 0, Inconclusive: 0, Time: 3.5310994 seconds
  Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0

@yln Thank for all your help with this and keen observations. I'm merging your latest contributions and we can continue the thread on Assert in another issue if you think it's important to reconsider for 2.0.
P.S. I pasted this response in the wrong box, and sadly, it became part of the commit message detail. :see_no_evil:

:warning: I've done the unthinkable and re-pushed (read modified history) the merge as ba2274fdd483abdb013d9d0842d5d3504786ce81 with the commit message fixed. There are only two known forks at this point in time so I've exceptionally gone ahead and made the change rather than live with the silly commit error forever as part of the repo history.
:speak_no_evil:

authors: atifaziz yln

repo: morelinq/MoreLINQ


text:
heatmap_mutation_frequency_bin lost rotation of the column title

The heatmap_mutation_frequency_bin used to plot the column titles with rotation 90. But this feature was lost at some point. See this parameter:
https://github.com/morinlab/GAMBLR.viz/blob/6563146016f1231d39356ad4d4ecbbd7185207f9/R/heatmap_mutation_frequency_bin.R#L347
The default setting in the earlier versions of this function were set to 90, so the gene names do not overlap when single regions are plotted. Probably, this was changed intentionally because it was making some version of the resulting plot better. So why don't we convert this to a user-configurable argument that can be dynamically set based on user's needs. The default can be 0 to respect current behaviour.

Fixed in #44


text:
iPXE booted from CD => kernel panic

Hi, long story short, i need to boot ipxe from cdrom, after loading linux26 and initrd, i got a kernel panic, unable to mount root device, any idea how to fix this? booting from network without CD it work just fine, thanks!

Hm, no. Not really an idea. Probably, just guessing, because the installer is searching for the files in wrong place.
Are you using 2 cd-rom drives for booting then? One w/ ipxe, another one w/ proxmox?

one w/ipxe, that's it, proxmox load by network, that's what ipxe is for (?)

Sure :wink:
IÄve just tried w/ latest ipxe.iso within a Proxmox VM an it works without problems.

didn't try on a vm, i will try later, on a physical server can't find the files to load the installer

didn't try on a vm, i will try later, on a physical server can't find the files to load the installer

the ISO that you append onto your initrd really really has to be named "../proxmox.iso" for the network booting part.

authors: kcinickgx morph027 zerocarbthirty


text:
Hotfix/age9 timestamp issue

Description of change

This commit was fixing the end timestamp timezone issue of the age9, but the total Emission was not updated and no longer accurate with the 14k MORPHO per day.
I've updated the total emissions, deployed the subgraph, and updated the distributions.

Pull-Request Checklist

[ ] Code is up-to-date with the main branch
[ ] yarn lint passes with this change
[ ] yarn test passes with this change
[ ] This pull request links relevant issues as Fixes #0000
[ ] There are new or updated unit tests validating the change
[ ] Documentation has been updated to reflect this change
[ ] The new commits follow conventions outlined in the conventional commit spec

I merge the PR to not override the subgraph with the scheduled CI, but it'll be checked post merge by the team.

repo: morpho-org/morpho-optimizers-rewards


text:
Unit testing framework

Make it easy to add and run unit tests; introduce some as well.

Any preferences on what testing package we use?  I'm a big fan of pytest.  This blog post has a good overview of the various modules available.

pytest seems nice and simple, works for me!

authors: jvmancuso mortendahl

repo: mortendahl/tf-encrypted


text:
First test in a set is always reporting longer times

Whenever I run a set of tests for a routine, the first one is always taking way longer to complete than the subsequent ones. Now I can't imagine it being anything else than cache issue. (Although I made sure by checking the distance in instructions between the start- and stop-calls to gettimeofday. Can't be too certain with so much dark preprocessor magic around!)
The question is what to make of it. Perhaps it's not even an issue?

The relevant code in the test/it macro looks like this:
gettimeofday(&_snow_timer, NULL); \
__VA_ARGS__ \
_snow_successes += 1; \
_snow_print_success(); \

That __VA_ARGS__ expands to the block you pass as a test case, and that _snow_print_success first prints the "✓ Success: " line, and then calls gettimeofday again to get the time difference. Moving the gettimeofday call to before printing doesn't seem to make any diference. I don't think there can be anything wrong with how Snow measures the time a test takes, or how it runs the tests.
Maybe it's caching, or maybe it's the CPU taking a few milliseconds changing from a low frequency from being mostly idle to a high frequency to do work, or maybe something decides to allocate memory (the first time your test suite ever calls defer, it will allocate space for 16 pointers to labels, so 128 bytes; after that, it will probably never allocate for defers again unless you have a test case with >16 defers This effect will be bigger when running with valgrind, because of how much slower it makes allocating memory.). Maybe the CPU's branch prediction mispredicts the first few branches somewhere before learning what branch is usually taken. All in all, there's a ton of complexity in both the software and hardware which together might explain why the software seems to start slow-ish and get faster over time :p
If you're experiencing more than a few milliseconds of difference though (i.e if it's an actual issue and not just a curiosity), please post the code where you're using, and I'll give it a test. Here's the code I used:
#include <snow/snow.h>

describe(set1, {
	test("a", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
	test("b", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
	test("c", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
	test("d", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
});

describe(set2, {
	test("a", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
	test("b", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
	test("c", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
	test("d", {
		int count = 0;
		for (int i = 0; i < 1000000; ++i)
			count += 1;
		asserteq(count, 1000000);
	});
});

snow_main();

I just tried running the testing binary in a loop (on my desktop, which acts a bit differently from my laptop; the desktop looks like it's taking more time to ramp up). (timetest is from gcc -o timetest timetest.c -DSNOW_ENABLED -I., where timetest.c contains the code posted about).
while true; do ./timetest; done outputs this as the first run:
Testing set1:
✓ Success: a: 8.80ms
✓ Success: b: 10.59ms
✓ Success: c: 8.66ms
✓ Success: d: 8.51ms
set1: Passed 4/4 tests.

Testing set2:
✓ Success: a: 7.01ms
✓ Success: b: 4.71ms
✓ Success: c: 3.84ms
✓ Success: d: 3.42ms
set2: Passed 4/4 tests.

Total: Passed 8/8 tests.Testing set1:
✓ Success: a: 1.77ms
✓ Success: b: 1.71ms
✓ Success: c: 1.71ms
✓ Success: d: 1.71ms
set1: Passed 4/4 tests.

Testing set2:
✓ Success: a: 1.71ms
✓ Success: b: 1.71ms
✓ Success: c: 1.71ms
✓ Success: d: 1.76ms
set2: Passed 4/4 tests.

Total: Passed 8/8 tests.

And this as the fourth run:
Testing set1:
✓ Success: a: 1.77ms
✓ Success: b: 1.71ms
✓ Success: c: 1.71ms
✓ Success: d: 1.71ms
set1: Passed 4/4 tests.

Testing set2:
✓ Success: a: 1.71ms
✓ Success: b: 1.71ms
✓ Success: c: 1.71ms
✓ Success: d: 1.76ms
set2: Passed 4/4 tests.

Total: Passed 8/8 tests.

The speed gradually improve from the first run to the fourth run, and then stay at around those same speeds until I exit the loop. This further indicates that something, or multiple things, are in a sort of power saving mode and then takes some time to exit that power saving mode once the test has started.

authors: jozip mortie

repo: mortie/snow


text:
License as MIT

Fix #95 - Open source license
When I pushed the first commits to this 5 odd years ago I didn't realize the importance of proper open source licensing.  If I had, I wouldn't be making this awkward request to node-googlemaps authors and committers to please approve licensing this library under the MIT open source license.
Thank you.

[x] @fabriziomoscon
[x] @aredridel
[x] @brandonwamboldt
[x] @chevett
[ ] @craigvl
[x] @duncanm
[ ] @evansiroky
[x] @evnm
[ ] @grobot
[x] @JoshSmith
[x] @Marsup
[ ] @aemkei
[ ] @Kodextor
[ ] @spatical
[x] @onthestairs
[ ] @regality
[x] @sayotuke
[ ] @sugendran

LGTM. Blast from the past!

LGTM here.

:+1:

OK

Ok :+1:
Well done

OK

(thumbsup)

:thumbsup:

:+1:

OK

:+1:

:+1:

:+1:

And that's all of us!

published under googlemaps@1.3.0

authors: JoshSmith Marsup aemkei aredridel brandonwamboldt chevett evansiroky evnm fabriziomoscon moshen regality sayotuke spatical sugendran

repo: moshen/node-googlemaps


text:
Allow mocked google api for local development

I've been using this in my own project for a while but I thought it was due a pull request.
I like to be able to develop locally and also not hammer the google API during tests, so this allows a simple override of the gmaps api url using config.

It looks like a good idea.
Could you squash all your commits in 1
git rebase -i HEAD^^^
# replace pick with f for the commit you want to change
git commit --amend
git push origin master -f

Because you are making changes to the config I think these should be reported in the REAME. Could you please add some instructions on how to do add a custom url. I am curious to know how did you mock the Google map API server.

I do a similar thing where I send in a custom request function to GoogleMapsAPI constructor.  The custom request function sends back mock result data on disk similar to how the unit tests work.

Hey @fabriziomoscon will do - sorry I only just saw this.
Btw did you know that github can squash commits now? The merge button above can be dropped down to choose 'squash and merge' :)

@moshen I think squash and merge is an option that administrators can enable:
https://github.com/blog/2141-squash-your-commits#whats-changing
would you mind enable the checks from the admin page please?

I've added the docs which should help you @fabriziomoscon understand how I mock the API in my own applications, but also provide help to others wanting to do something similar.
If you don't have squash+merge enabled I can squash it tonight ready for merge.

authors: antony evansiroky fabriziomoscon


text:
How to port the IPFS streaming example to React App?

I'm trying to build an equivalent of the example for streaming but I don't know exactly how to rewrite the code to a nodejs react application. So far I've wrote this react component:
import React, {Component} from "react";
const Ipfs = require('ipfs')

const HlsLib = require('hlsjs-ipfs-loader')

class Watch extends Component{

    async videoEventListener(){
        const testHash = 'QmdpAidwAsBGptFB3b6A9Pyi5coEbgjHrL3K2Qrsutmj9K'
        const repoPath = 'ipfs-' + Math.random()
        const node = await Ipfs.create({ repo: repoPath })

        Hls.DefaultConfig.loader = HlsjsIpfsLoader
        Hls.DefaultConfig.debug = false
        if (Hls.isSupported()) {
          const video = document.getElementById('video')
          const hls = new Hls()
          hls.config.ipfs = node
          hls.config.ipfsHash = testHash
          hls.loadSource('master.m3u8')
          hls.attachMedia(video)
          hls.on(Hls.Events.MANIFEST_PARSED, () => video.play())
        }
    }

    render(){
        return (
            <div>

                <video id="video" controls></video>
            </div>
        );
    }

}
Since in the example we got the html script tag which gave scope to the variables hls Hls, etc inside  videoEventListener. So how to obtain this scope from the HlsLib installed with npm i hlsjs-ipfs-loader

I believe you can obtain HlsLib in a similar fashion to how you would use any other module/library... Your code looks alright. However, you need to call this.videoEventListener() from somewhere, preferably from the componentDidMount() hook. You can should also replace id="video" and document.getElementById('video') with react refs.

repo: moshisushi/hlsjs-ipfs-loader


text:
Using pfx certs instead of jks in xk6-kafka

Hi, @mostafa
I have PFX certificates for Kafka (keystore and truststore). Is it possible to use these certs to connect to Kafka with k6 using your library? Previously I had jks certs and everything worked perfectly.
If it is not possible to use pfx certs, should I convert them to jks? The problem is the conversion will use pkcs12, but your library does not work with pkcs12. Or maybe there are some other ways how to convert pfx to jks which will be applicable for your library, aren't they?
And if I create PEM cert, is it possibile to use your library then? I still cannot find any examples with neither pfx nor pem with Kafka.
UPD: I've tried to use test_tls_with_jks.js script to connect to Kafka with pfx but not jks. I have jks keystore type but the certs are in pfx.
As a result, I got this: errors.errorString=&{got invalid magic}
Nevertheless I have converted pfx to jks, connected to Kafka Tool successfully. Then I used this sample script to connect to kafka with k6 (all parameters I got from java keytool):
import { LoadJKS, TLS_1_2 } from "k6/x/kafka";

const keystore = LoadJKS({
path: "fixtures/kafka-keystore.jks",
  password: "password",
  clientCertAlias: "localhost",
  clientKeyAlias: "localhost",
  clientKeyPassword: "password",
  serverCaAlias: "caroot",
});

const truststore = LoadJKS({
  path: "fixtures/kafka-keystore.jks",
  password: "password",
  clientCertAlias: "localhost",
  clientKeyAlias: "localhost",
  clientKeyPassword: "password",
  serverCaAlias: "caroot",
});

const tlsConfig = {
  enableTls: true,
  insecureSkipTlsVerify: false,
  minVersion: TLS_1_2,

  clientCertPem: keystore ["clientCertsPem"][0],
  clientKeyPem: keystore ["clientKeyPem"],
  serverCaPem: keystore ["serverCaPem"],

  clientCertPem: truststore ["clientCertsPem"][1],
  clientKeyPem: truststore ["clientKeyPem"],
  serverCaPem: truststore ["serverCaPem"],
};

export default function () {
  console.log(Object.keys(keystore));
  console.log(keystore);
  console.log(Object.keys(truststore));
  console.log(truststore);
  console.log(tlsConfig);
}

and got the error "Failed to decode servers' CA".
But I guess, the problem is I used this command to convert certs:
keytool -importkeystore -srckeystore keystore.pfx -srcstoretype pkcs12 -destkeystore testKeystore.jks -deststoretype JKS
Your library does not support pkcs12 but the error was not about that.
Are there any ways to fix my problem ?

Hey @luminorena,
xk6-kafka supports two formats: JKS with PKCS#8 and PEM. If you have certificates in any other format, they should be converted to either of these. The LoadJKS function is a convenience function to convert JKS files to PEM before being consumed by TLS config. The function extracts the certificates into the same directory as the JKS file. The address of the files are then returned as an object, which in your case is called: truststore. The tlsConfig only supports a single certificate for each of the keys, so if you specify multiple keys, they will be overridden by JS. Also, it is your job to determine the index of the correct client certificate in the clientCertsPem property in truststore and you don't need to specify all.

Hi, @mostafa
I've converted pfx (which is actually the equivalent of PKCS#12) to pem and got two certs as a result - one for keystore and the other for truststore.
You write _The tlsConfig only supports a single certificate for each of the keys, so if you specify multiple keys, they will be overridden by JS. _
But in your library the certs are divided into several parts depending on the cert inside: clientCersPem, clientKeyPem and serverCaPem.
Is it possible to use only two certs (keystore.pem and truststore.pem) each of which contains all types of necessary certs?

@luminorena
This is the mapping:

clientCertsPem => keystore.pem
clientKeyPem => keystore.pem
serverCaPem => truststore.pem

In your case, the keystore.pem store both the certificate and the private key you need. So, you must split them before use, see this. Also, PEM is a de facto standard supported by Go and xk6-kafka uses Go standard library to load PEM files.

Many thanks! Everything works now. I see a message in Kafka Tool :)

authors: luminorena mostafa


text:
Move the console code to a library so it can be used without the binary

This is related to https://github.com/gobuffalo/buffalo/issues/287

There are some conflicts in the code, but this would be lovely for other projects too 🙌

Fixed the conflict

authors: calavera guywithnose

repo: motemen/gore


text:
style not found in template

Good morning,
When I want to test vue-document-editor, the layout is not taken into account.
I copied the demo.vue file and InvoiceTemplate.ce.vue which I placed in my sources but all the css that is in InvoiceTemplate.ce.vue is not interpreted.
Do you have any idea of the reason?
THANKS

Many thanks for the lead, I'll look there

repo: motla/vue-document-editor


text:
Crashes when using Lively Wallpaper

it is impossible to use Shell when Lively Wallpaper is running as it will enter in a loop of restarting explorer.exe every time the desktop is in focus.

try to exclude the program:
in shell.nss :
exclude. https://nilesoft.org/docs/configuration/settings
exclude.process = "LivelyWallpaper.exe" ?
exclude.where = window.module=="....dll" ?

repo: moudey/Shell


text:
Add return to proxyDirect to avoid double-connection.

This is to address issue #263 which seemed to only apply to cases where one of the gateway options was direct. Non-direct gateways worked properly since the return if err is nil was already present.

Hi @4wrxb, the first part of this PR was cherry-picked in #285 and is now merged on master
For the second part, I currently have panic error when running it
As it seems to be related to another topic, can you update the title of this PR?

TL;DR: I'm closing this pull request, only the first (now cherry picked) commit should have been there in the first place.
My apologies, I'm new to go so developing in the official branch (to keep compile working) and using other remotes is a new workflow for me.
This second commit is me hacking around for issue #268. As I mentioned there (and even included some comments with these changes), I don't fully understand the architecture I'm playing with (especially the part around line 190 which appears to only be used when listing hosts). The 2nd part is what allowed me to work around the issue described in 268.

TL;DR: I'm closing this pull request, only the first (now cherry picked) commit should have been there in the first place.
My apologies, I'm new to go so developing in the official branch (to keep compile working) and using other remotes is a new workflow for me.
This second commit is me hacking around for issue #268. As I mentioned there (and even included some comments with these changes), I don't fully understand the architecture I'm playing with (especially the part around line 190 which appears to only be used when listing hosts). The 2nd part is what allowed me to work around the issue described in 268.

repo: moul/advanced-ssh-config


text:
How can I push my update to zh_CN styleguide?

Hi,
I have made some changes/updates to zh_CN styleguide.
How can I update the repository?
best regards,
wxie

Hi @wxie2017 .
The file with zh-CN styleguide can be found here. You can update it here on GitHub and open a pull request. If you are not familiar with how git and GitHub works, this article will help you.
As for the format of the file, it's written in Markdown. Here are some tips how to work with it, or check Mastering Markdown, Basic writing and formatting syntax or Syntax | kramdown.

Thank you.

Looks like the PR was created and merged. Close the issue..


text:
[bug 1161084] Update Django to 1.7.8

Quick r?

verified the commit SHA. r+

Thank you!

authors: rlr willkg

repo: mozilla/fjord


text:
Unable to submit Add-ons because of a validation error

steps to reproduce:

LoaD AMO-stage page https://addons.allizom.org/en-US/firefox/
Click the "Submit a New Addon" option from Tools
Select a valid file and wait for validation

Expected results:
The validation is completed with success. User can continue the submission process.
Actual results:
The validation returns the next error message "JS reflection error prevented validation" twice.
Notes/Issues:
Issue is also reproducing when using the Validator.
Verified on FF42(Win 7). Issue is reproducing on AMO-stage and AMO-dev.
Please see the screeshot:

Used addon:
Simple-Add.zip

It appears the zip is broken, I can't unzip it on my machine too, is it double-zipped or so?

It's actually a rar-file:
~/Downloads> file Simple-Add.zip
Simple-Add.zip: RAR archive data, v1d, os: Win32

I've used the *.xpi inside the zip/rar. I was not able to add a *.xpi file directly in GitHub.

This issue is still reproducing in stage and currently blocks us from testing large portions of dev hub and  editor tools. It should be fixed as soon as possible. Can someone please have a look at it?

Do you have other add-ons to try? Is this a problem to this specific add-on? I've been able to submit other add-ons successfully onto stage.

I can reproduce this with all my test add-ons, used without problems until this week.
Attaching another. (I've changed the .xpi file
Unicode.zip
extension to .zip)

I could submit a simple Jetpack add-on no issues to stage, it seems it's related to contents of that specific add-on (Unicode.xpi); I don't know why though.

so @mstriemer traced it back to https://github.com/mozilla/amo-validator/commit/77310377c69b93ffbfb2a0cb3315c7ac91cacb89 which breaks sdk1.0 extensions submissions.
I'm going to tag a new release 1.10.6 which is based on 1.10.4 with @EnTeQuAk's latest changes.

https://github.com/mozilla/amo-validator/compare/1.10.4...1.10.6
Also bumped olympia to use this new version. Next tag will need to merge 1.10.5 and 1.10.6 to have @wagnerand's changes.

The add-on is defining a let that is also part of the function arguments which is no longer allowed and hence results in a syntax error.
function exclude(keys, trait) {
  let exclusions = Map(keys),
      result = {},
      keys = getOwnPropertyNames(trait);
  for each (let key in keys) {
    if (!hasOwn.call(exclusions, key) || trait[key].required)
      result[key] = trait[key];
    else
      result[key] = Required(key);
  }
  return result;
}

Pasting that snippet into the JS error gives: TypeError: redeclaration of formal parameter keys. Perhaps there's a way to get the error message from spidermonkey and use that instead. If there isn't though I think we're stuck for now. Spidermonkey isn't really designed to lint code so it probably doesn't support this use case well.

authors: EnTeQuAk ValentinaPC andymckay madalincm magopian mstriemer tofumatt

repo: mozilla/olympia


text:
Fix moz_header CSS refs

Adds site-static so that we can serve the header/footer.css for moz_header from there. See also https://github.com/mozilla/addons-nginx/pull/2

r+wc

authors: magopian muffinresearch


text:
How to set Paper Size on print?

I have PDF:
PDF.pdf
which has dimensions of A4 paper:

but on print, paper size is set to letter

So Is there a way to set Paper size in code before print?
Thanks

So Is there a way to set Paper size in code before print?

No, since JavaScript doesn't have any way of directly influencing printer settings of the browser/system. Hence you'll unfortunately need to specify such things manually at print time.

Thank you for you answer

authors: Snuffleupagus krygelv


text:
The checkboxes have no visual effect while navigating over them using keyboard navigation

[Affected Versions]:

Firefox RC 81.0 (Build ID: 20200917005511)
Firefox Nightly 82.0a1 (Build ID: 20200920213416)

[Affected Platforms]:

Windows 10 (x64)
macOS 10.15
Ubuntu 18.04 x64

[Prerequisites]:

Have a new profile created.
Have the “pdfjs.renderInteractiveForms” pref set to “true”.

[Steps to reproduce]:

Start the Firefox Browser with the profile from prerequisites.
Navigate to “https://www.irs.gov/pub/irs-pdf/f1040.pdf”.
Navigate through the 2nd page using keyboard navigation and observe the checkboxes.

[Expected results]:

The checkboxes are visibly focused.

[Actual results]:

There is no visible focus effect while navigating through the checkboxes using keyboard navigation.

[Notes]:

The issue is not reproducible if keyboard navigation is used to go through the empty fields.
Attached a screen recording of the issue.

Duplicate of #12223

Thank you for marking as duplicate, did not see it beforehand, sorry for that!

authors: Martin-Robert Snuffleupagus


text:
PDFs generated from Confluence Cloud pages that have text formatted as inline code are broken

PDFs are not something I have any real knowledge about so while I'm happy try and help I can't promise I'll be any use - similarly, I've tried to look for duplicates but I also don't really know what I'm looking for on the lower-level side so this might have already been reported.
Attach (recommended) or Link to PDF file here: 557058d020c1ca508c4447a05433a8fcaca5ca-test-230522-0209.pdf
Configuration:

Web browser and its version: Chrome Version 102.0.5005.115 (Official Build) (64-bit)
Operating system and its version: Windows 11
PDF.js version: unknown (couldn't find a way to have the extension tell me?)
Is a browser extension: Yes, v2.3.164

Steps to reproduce the problem:

Create a page in Confluence Cloud
Write a sentence with some inline code in the middle
Export the page as a PDF

What is the expected behavior? (add screenshot)
When opened in Edge Version 102.0.1245.44 (Official build) (64-bit) native PDF viewer:

What went wrong? (add screenshot)
When opened in Chrome Version 102.0.5005.115 (Official Build) (64-bit) pdf.js extension viewer:

The text formatted as inline code is not visible, and impacts complex structures (e.g. tables & bullet points)
Here's an example of how breaking this is:

(the white-with-black-border boxes are me covering sensitive text that can be ignored).
Removing all of the inline code styled text resulted in a PDF that could be opened without issue.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://chrome.google.com/webstore/detail/oemmndcbldboiebfnladdacbdfmadadm

Duplicate of #13669

authors: G-Rath Snuffleupagus


text:
Change the warn to info in CFFCompiler.compileCharset to avoid loads of console "spam"

Note that even for something as simple as the default tracemonkey.pdf file, there's now a lot of warning messages printed.
Most likely the code actually needs to be adjusted to prevent a majority of these messages, but in the meantime it seems reasonable to use info rather than warn here.
/cc @brendandahl, see also https://github.com/mozilla/pdf.js/pull/10591#discussion_r261467368

/botio unittest

Interesting, I thought i tested that. I'll look at it again here in a bit.

authors: Snuffleupagus brendandahl


text:
Add GitHub Advance Security and CodeQL

Hi team, I've created this PR to add security results from GitHub Advance Security / CodeQL into your workflow and thought the team might appreciate having a look at the results of the security testing directly in GitHub. Currently, it will also scan on all new PR's that are created to check for security issues and it's scheduled to run every week on Tuesday to make sure you are running the latest and greatest rules from CodeQL.
I have ignored the test path as it was reporting a few False Positives in the Unit tests.

We're already planning adding the PR-integration of LGTM (see #11965), which as far as I understand uses CodeQL internally, so my question is how this is different and if really need both?

There's also the question of false positives, which all tools will suffer from[1], and specifically how to ignore those?

[1] For example, we're using ESLint extensively and there it's very easy to white-list (on an individual basis) false positives.

@Snuffleupagus Both LGTM and GitHub use the same technology (CodeQL) but GitHub Advance security is built into GitHub and the next generation of the tool. You can mark False Positives in GitHub Security tab itself (see screenshot below).

Note: this screenshot is from another project as an example and not based on the results from this project.
From what I saw of my scan, you only have a few issues that were reported. I removed some false positives already using the configuration file.
FYI, you can also push ESLint results into GitHub Advance Security 👀

Interesting. From what I'm reading GitHub Advanced Security/CodeQL is more specifically related to finding potential security issues whereas LGTM is more general about finding anyt defects in code using static analysis (not necessarily security-related). I agree that the advantage of GitHub Advanced Security/CodeQL is that GitHub itself provides it, so it's not really an external tool. If GitHub Advanced Security/CodeQL and LGTM indeed differ in this way (I'm not 100% sure, so please correct me if I'm wrong here), it might make sense to enable them both?

@timvandermeij Not necessarily, you can enable all of the Query Suites (list of rules) LGTM does in GitHub Advance security (security and quality) but I didn't know if that was something we wanted to start off with.
This can be enabled by using the security-and-quality query suite, see this guide.

Please note that we generally don't use separate fixup commits, to keep the history cleaner and to ensure that all patches are complete and fully working on their own; hence please squash the commits together such that we can test this!

Aside from squashing the commits, would it perhaps make sense to enable the security-and-quality suite too so we have both security and quality checks managed by GitHub? This might make LGTM integration obsolete, provided that it provides more-or-less the same functionality of course (plus it's likely easier to integrate given that external services need additional steps from project admins to enable them).

Given that LGTM has been enabled already, and in order to avoid too much scope-creep in this PR, maybe we could defer https://github.com/mozilla/pdf.js/pull/13737#issuecomment-882081947 to another time?

Yes, good idea. I didn't see that LGTM was already enabled. In that case the current PR should be fine (i.e., the security checks only). @GeekMasher Could you squash the commits into one so we can give this a try?

Closing since this is fixed up and merged in #13828 now. Thanks!

@timvandermeij apologies for the delay in my replay, I was out for holiday and limited access.
Glad to see the code merged and I hope this is useful going forward

No worries! Thank you for introducing CodeQL to us; we're now using it in our build process, configured it to ignore the false positives/irrelevant alerts and fixed the ones that it flagged correctly, so overall it's a very welcome addition.

authors: GeekMasher Snuffleupagus timvandermeij


text:
Fix getTextContent evaluation to only apply TJ horizontal offsets using numeric items/args

While the array argument to TJ should only contain strings and numbers, other
unfortunate items are found in PDFs in the wild, e.g.:
[(Grandes) 0.0 Tc
-250.0 (Client\350les,) 0.0 Tc
-250.0 (Financements) 0.0 Tc
-250.0 (et) 0.0 Tc
-250.0 (March\351s) ] TJ

getOperatorList already properly ignores any non-string, non-numeric values in
TJ arrays; without this patch to getTextContent, returned text items can have
NaN widths due to calculations being applied to those non-numeric values.

Can you provide some form of test (e.g. ref text)?

You mean a sample PDF that contains an out-of-spec TJ array? Not at the moment, the example I have is from a customer.
FWIW, the change is just mirroring what getOperatorList does already.

Hmm, we might have 'eq' test for it -- it's probably a matter of adding 'text' one

Updated with a minimized test case. Hopefully I got the manifest entry right.
FWIW, here's an easy expression to evaluate once the testcase PDF is loaded in the viewer:
PDFViewerApplication.pdfDocument.getPage(1).then((p) => p.getTextContent()).then((tc) => console.log(tc.items[0]));

You'll see the sole textItem; its width will be NaN using HEAD, ~193 with the patch. Turns out it is affecting the text layer (positively): the scaleX css property is being calculated properly, so the text run's div now covers the rendered text fully.

/botio-linux preview

/botio test

/botio makeref

Thank you for your contribution!

authors: cemerick timvandermeij yurydelendik


text:
Remove the actual enableHandToolOnLoad preference (PR 9040 follow-up)

This should have been removed as part of PR #9040, but was simply overlooked.

/botio-linux preview

Thank you!

authors: Snuffleupagus timvandermeij


text:
User collection edit/delete pages now show username linked to user's collections in breadcrumbs. Fixed. (bug 598504)

Breadcrumbs on collections.edit and collections.delete were missing collection owner's name in the breadcrumbs.
https://bugzilla.mozilla.org/show_bug.cgi?id=598504
Bug fixed. And tests added.

Everything fixed. Suggested changes made. Commits squashed.
Please review.

repo: mozilla/zamboni


text:
Update prepare_data.sh

This is the correct directory structure

Thanks very for the PR.
This is right, sorry!
We should unify the downloading script accross wham recipes, they are diverging for no reason..

authors: mpariente subhanjansaha

repo: mpariente/asteroid


text:
Update to _calc_psf_format_output to work for any number of extensions

Update this function to work on any number of extensions.
This is part of fix to allow distortion to be added to WebbPSF PSFs with any output_mode. (The other part of this fix is in WebbPSF)

Coverage increased (+0.01%) to 63.61% when pulling 1acb0ccecee881868d38ea5cc6146acff0c19fb7 on shanosborne:bug_fixes into bc8435848636e6836118cf9d23628cb822021637 on mperrin:master.

authors: coveralls shanosborne

repo: mperrin/poppy


text:
Bug in reading/writing dumps with triclinic boxes

When reading from a dump file with a triclinic simulation box, the following error occurs:
File .../lammpsio/src/lammpsio/dump.py:262, in DumpFile.__iter__(self)
    260 # check for triclinic
    261 if len(box_header) == 9:
--> 262     box_tilt = [float(x) for x in box_header[6:9]]
    263 elif len(box_header) == 6:
    264     box_tilt = None

ValueError: could not convert string to float: 'pp'

Apparently, lammpsio expects a header line of the format ITEM: BOX BOUNDS pp pp pp XY XZ YZ, where XY XZ YZ are the box tilt values.
However, the actual section for a triclinic box in a LAMMPS-generated dump file looks like this:
ITEM: BOX BOUNDS xy xz yz xx yy zz
xlo_bound xhi_bound xy
ylo_bound yhi_bound xz
zlo_bound zhi_bound yz

Where the xy xz yz in the first line only indicates that the three tilt factors will be included on each of the three following lines (documentation).
The same error in formatting occurs when writing dumps using lammpsio.
This is not caught by the current tests, as these only cover writing dumps with lammpsio and reading these same lammsio-written dumps back - they never actually read any dumps written by LAMMPS itself.
LAMMPS input and dump file for reproducing
This is a short LAMMPS input for generating a dump with a triclinic box to reproduce this bug:
# randomly generated periodic triclinic simulation box
units real
region r1 prism -87 9 -80 58 -63 83 9 -13 5
boundary p p p
create_box 1 r1
mass * 1

# some random atoms with random velocities
create_atoms 1 random 5 20240519 NULL
velocity all create 298.15 20240519
fix thermostat all nvt temp 298.15 298.15 100.0

# dump initial coordinates
dump d1 all custom 1000 dump.test id x y z ix iy iz
run 0

And here's the dump generated by that input:
ITEM: TIMESTEP
0
ITEM: NUMBER OF ATOMS
5
ITEM: BOX BOUNDS xy xz yz pp pp pp
-1.0000000000000000e+02 1.8000000000000000e+01 9.0000000000000000e+00
-8.0000000000000000e+01 6.3000000000000000e+01 -1.3000000000000000e+01
-6.3000000000000000e+01 8.3000000000000000e+01 5.0000000000000000e+00
ITEM: ATOMS id x y z ix iy iz
1 -53.8 -27.0177 -49.7964 0 0 0
2 12.5084 36.216 -58.3846 0 0 0
3 -63.8617 -43.144 44.5396 0 0 0
4 -32.4514 -66.8793 -49.6918 0 0 0
5 -68.874 -30.2506 -46.2095 0 0 0

I agree with your diagnosis of this error! I guess we have not had a research use case for a dump file with a triclinic box to catch this previously.
It is also not good that lammpsio does not actually read from / write to LAMMPS. The current tests were written 100% in lammpsio for convenience getting code coverage, but they miss cases like this where there was a mistake reading the documentation. I will open an issue to add tests similar to the one you have above for data and dump files. It shouldn't be too bad to add these tests because we can install LAMMPS with Python support from conda-forge and use that to run the LAMMPS commands we need.

authors: PhilLecl mphoward

repo: mphowardlab/lammpsio


text:
Add "desktop_notification" event (without contents)

Example of the contents of the event:
Object (fromList [("is_shared",Bool False),("ts",String "1564031630.000800"),("is_channel_invite",Bool False),("channel",String "A1B2C3D4F"),("launchUri",String "slack://channel?id=A1B2C3D4F&message=1564031630000800&team=5G6H7I8J9"),("imageUri",Null),("msg",String "1564031630.000800"),("content",String "Test"),("subtitle",String "joranvar"),("event_ts",String "1564031630.000300"),("title",String "Workspace title"),("type",String "desktop_notification"),("ssbFilename",String "knock_brush.mp3"),("avatarImage",String "https://avatars.slack-edge.com/2020-12-31/someImageFile.jpg")])

Just added this, so it doesn't bother me for every event :)

Sorry, I just created a merge conflict for you. Can you rebase @joranvar?

No problem!

Done!  Should I split this into three PRs?

authors: joranvar mitchellwrosen

repo: mpickering/slack-api


text:
Hey how about some tests?

I have so far been lazy and not written any tests for anything because all the code has been very experimental and exploratory. At some point it would be good to have tests. This issue can be closed by setting up a test suite with at least a couple of tests and documenting procedures for running them.

I am working on configuring pytest & tox. This would also require doing a bit of package configuration.
I'll try to keep things as minimal as practical and in-line with the current configuration.
I'll also provide testing documentation for the README.md

Merged and successfully ran tests with pytest. Thanks, @befreeman!

authors: befreeman mpirnat

repo: mpirnat/dndme


text:
Homepage: placeholder content

Issue: The website redirects to the WCKDA M+ webpage when "mplus.org.hk" is entered.
Expected behaviour: M+ Stories should have a holding page instead or sending visitors off somewhere else.
Actual behaviour: Site redirects to the WKCDA M+ webpage.
Please liaise with @chrismplus for timings.

Hey @chrismplus, is this issue still relevant?

@rdunk -- I've left this one in the backlog. Let's address other issues first.

authors: chrismplus rdunk

repo: mplusmuseum/mplusmuseum-stories


text:
Custom ImageView displaying incorrectly

I've made a custom imageView and set it's frame to 0,0,150,150 since you require that the frame be set with the Custom enum tag. However, when the overlay view pops up, doesn't display correctly at all, and I'm not sure where in the documentation there is information on how to display custom images in the OverlayView. How can I display a custom image with a title using MRProgressOverlayView?

It should keep the width and height of the custom view. As seen in #103, there is a bug in the layout code which causes that a custom mode view's height is enforced to be the same as it's height. But this shouldn't have mattered for your concrete case, you described here.

repo: mrackwitz/MRProgress