text:
[HelperText] Purpose of both validation and isValidationMessage

I was reviewing the code related to validation messages with HelperText. It seems that when the setting the validation attribute, the React component adds the mdc-text-field-helper-text--validation-msg class to the list of classes added to the p created and rendered, while setting isValidationMessage triggers a process telling the foundation object it is for validation which in turn adds the mdc-text-field-helper-text--validation-msg class to a classList state that does not seem to be used at all.
Is there a reason isValidationMessage (or really, classList in general) exists? If not, the code and documentation should be updated to avoid confusion. This could be by getting rid of the local classes method and updating persistent to use the foundation as the other attributes do, or by gutting the use of the foundation object and keeping everything local. I am in favor of the former option since that keeps all of the class management logic in a place consistent with other wrapping frameworks (assuming they also use the foundation classes). I am happy to open a PR with whichever route is chosen.

RE classList: This is actually our pattern thorughout all our components. Our thought process was when we add a class, it'll update state and thus rerender the component. We have been experimenting with just using the DOM's classList, and it seems to work just fine.
RE persistent: What do you mean "use the foundation"?  Can you explain further about gutting the foundation? Since the foundation is an important part of the architecture of MDC Web, we use it as much as possible. So removing the foundation altogether isn't really an option for us.
RE PR: Ya I'm all for PRs, we are updating to the latest MDC Web v1.0 to use their Typings. I'm assuming you're familiar with TS based on your other comments (I think that was you). The helper text should be a quick update if you decide to do a PR. Please see tabscroller to get a better idea.
Thanks!

I do not think I communicated my point very clearly. This is what I see in the code (and correct me if I missed something - I am still learning the MDC architecture).
This line pulls the classes from this.classes. this.classes calculates the list of classes using props on the component instead of classList. This means all of the work MDCTextFieldHelperTextFoundation is doing to keep classList up-to-date is moot.
Coming across both validation and isValidationMessage in the documentation confused me, and my confusion deepened when I noticed isValidationMessage did not seem to be doing anything at all. That is why I dug into this.
My note about persisent is simply that the React component is not using foundation_.setPersistent anywhere, but that is not a "problem" because the component is not using classList anyway. My overall point is that this component does not seem to be fully using MDCTextFieldHelperTextFoundation or reaping the benefits it intends to provide, and so it should be updated to use it fully (or not use it at all, but it sounds like that is not the route we want).

@dawsonc623 yes you're totally right! classes should be using this.state.classList, which is a bug. I believe the reason for leaving foundation.setValidation out is because MDC Web's helper text only adds/removes classes. However MDC React should be using all the foundation methods and implementing all the adapter methods. If we don't, there should be a good reason. We will be updating text-field to MDC Web v1.0.1 in the coming weeks. We should keep this bug open and make sure we build helper-text correctly this time.

Also RE isValidationMessage & validation: I think we might also have a bug open for this, and I will remove one or both of them to make this more clear.

Awesome! Thank you for taking a look, and if I can help in anyway let me know. I am more than happy to contribute in any capacity I can.

Thanks for the offer. I will definitely let you know. We are currently waiting to convert the dependencies (line-ripple, notched-outline, floating-label) before we can actually dive into text-field and the auxiliary components. I will follow up once we're there.


text:
Delete MDMDelegatedPerforming deprecated APIs

delegatedPerformanceWillStartNamed and delegatedPerformanceDidEndNamed.

🎊 My diff is ready for review at http://codereview.cc/D1450

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Getting an error from Ionic Angular

Hi,
Trying to use the module from Ionic over Angular, I'm getting an error as in the link below.
Any ideas?
Cheers.
https://cdn-enterprise.discourse.org/ionicframework/uploads/default/original/3X/0/c/0c47de6f934ffce6fdb8b9f738e0a4cd87fe68b0.png

Same issue when trying to import into React app. Works perfectly well if trying in node environment. Is it meant to work in browser at all?

Try my "fork" at https://www.npmjs.com/package/google-translate-api-without-node -- I've been successfully using this in a webpacked browser app without issues, uses jQuery for requests.
Ironically enough though, it started producing an error a little while back, maybe a few months ago. Perhaps I need to sync up with the main repo again?

Thanks deniiislysenko.
Tried it and now I get -

XMLHttpRequest cannot load https://translate.google.com/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access.

Tried from Chrome as well as from Cordova on IPad.
Any idea?

Same issue here - since translate.google.com does not send CORS header, it won't work from any other domain.

I am using it in a chrome extension and I think there is a way to avoid
CORS issues with that. Not sure about your use case.
On Fri, Aug 25, 2017, 11:56 Andrey Gruniov notifications@github.com wrote:

Same issue here - since translate.google.com does not send CORS header,
it won't work from any other domain.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/matheuss/google-translate-api/issues/32#issuecomment-325008657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE4I_5APt-9VJTUaemfeQIp8RCGQnRvvks5sbxj6gaJpZM4O6Xyu
.

Not sure. I tried it a while ago with no success. As a quick workaround, I'm going to use this module in a small express app and serve the result to front end.

If you install the CORS Chrome extension, it will work.
When deployed to mobile using cordova, it won't.
On Sat, Aug 26, 2017 at 2:43 AM, Andrey Gruniov notifications@github.com
wrote:

Not sure. I tried it a while ago with no success. As a quick workaround,
I'm going to use this module in a small express app and serve the result to
front end.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/matheuss/google-translate-api/issues/32#issuecomment-325017959,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdIKCyAN8KN6-8qtS0erUjVe1h5t6uA9ks5sbyPFgaJpZM4O6Xyu
.

I created a simple server with express using google-translate-api, so make a deploy on heroku, wedeploy, etc and solve the problem with prototype and cors. Here the project: https://github.com/brenopolanski/server-google-translate-api

I want to implement it in my Ionic(v1) app. How can I manage to do that? any sample codes? or is it a normal http request?..

authors: EternallLight anicache08 brenopolanski dennislysenko guyjoules

repo: matheuss/google-translate-api

license: mit

license_source: bigquery


text:
Certain named entities don't decode (& and <)

I have run this
he.decode('foo&ampbar');
And it outputs:
foo&bar
Apologies if I'm doing something wrong

For whatever reason it wasn't rendering working correctly in jsfiddle but when I tried it on my website it worked fine. Closing the issue.

repo: mathiasbynens/he


text:
Add options for generating reports, results and select tests

New features.

Test results report in PDF format
Simulink Test Manager results in MLDATX format
Model Coverage in Cobertura XML
Select Tests by Folder
Select Tests by Tag

Added some  integration tests as a workflow file .github/workflows/integ_tests.yml.

This is great! Just a few nitty gritty stuff but on the whole I'm excited for what this PR brings to this action 😁

I have made the changes, please take a look.

source: gharchive/pull-request

repo: matlab-actions/run-tests


text:
Custom Param in Track Even

Can i pass Custom Param in track event like in Firebase in analytics if yes then how ?

any one here to help?

repo: matomo-org/matomo-sdk-android


text:
Не срабатывают события по изменению вложенных в объект свойств

Здравствуйте! Не срабатывают события по изменению вложенных в объект свойств.
class EditModal extends MK.Object{
	constructor(data) {
		super();
		this.jset({
			data: {
				group_id: ''
			}
		});;

		this.bindNode({
			'data.group_id': ':sandbox select[name=group_id]'
		}, {
			setValue: (v) => {
				$(this).val(v);
			}
		});

		var self = this;

		this.on('change:data.group_id', function(){
			console.log(111)
		});
	}
}

Есть data.group_id. Поле привязано к тегу <select>. По изменению <select> в консоль должен попадать определенный текст, но этого не происходит.
Повторил на Codepen

@atnartur, посмотрите на Хабре Пример 7.
Для Вашего случая правильным будет следующий вариант:
this.on('data@change:group_id', function(){             console.log(111);         });
Codepen

@atnartur change:data.group_id будет слушать изменения в свойстве this["data.group_id"]. @zveroboy прав.

authors: atnartur finom zveroboy

repo: matreshkajs/matreshka


text:
Handle MUC membership status on disconnect.

When the bridge closes/ drop connection , the user is removed from the MUC. However, the bridge is not aware of this and leaves the user in the room. We have some options here:

Kick the user from the room on reconnect, letting them know they need to rejoin.
Attempt to reconnect to the user to the chat, and if that fails do option 1.

We currently do option 1, but do not kick if we fail.

We now kick if a user joins a room but cannot get a client. We don't kick if you have been joined to the room previously and now cannot get a client.

repo: matrix-org/matrix-appservice-purple


text:
3rd Party Entity lookup API

Documentation: https://docs.google.com/document/d/13NGa46a_WWno-XYfe8mQrglQdtOYMFVZtxkPKXDC3ac/edit#heading=h.m0btedxhv6ao
Author: @leonerd
Date: 21/07/2016
PRs: #1353

Ftr: #1414 is amending #1353 (under review now).

this got merged

authors: KitsuneRal benparsons turt2live

repo: matrix-org/matrix-doc


text:
MSC2675: Serverside aggregations of message relationships

Rendered
Replaces #1849 along with #2674, #2676, and #2677
FCP proposal

Synapse implementation:

/relations endpoint
Bundled aggregations

@deepbluev7 has pointed out that we could make the target event id an opaque (encrypted) value as far as the server is concerned and pass that opaque id to /relations and /aggregations. If clients can decrypt that opaque value to the actual target event id, they can still apply the returned aggregation and relations to the correct event.

I'm not quite sure I follow that suggestion. Maybe an example would help. If the server knows which events to return based on an encrypted event ID doesn't that mean that the server knows the mapping from encrypted id -> id which makes it pointless?

seems like there are lots of comments here which need addressing; I don't think more input from the SCT is a blocker at the moment, so I'm removing it from the todo list.

The majority of this should be ready for re-review from the SCT.

In an effort to get concerns raised more quickly, let's merge this:
@mscbot fcp merge

@mscbot concern visibility changes need to be descoped

@turt2live, @erikjohnston: this has changed substantially since your FCP ticks so I'm taking the liberty of removing your ticks.

@mscbot resolved visibility changes need to be descoped

I have addressed the mentioned open threads.

(removing needs-implementation here because this stuff is all used in element and synapse today)

if someone could track down the implementations and link them in the PR description, that'd be super amazing. It's hard to believe that this is implemented exactly as described without evidence.

@mscbot concern lacking implementation validation
@mscbot concern general clarity - TR review

if someone could track down the implementations and link them in the PR description, that'd be super amazing. It's hard to believe that this is implemented exactly as described without evidence.

I linked to the relevant bits of the Synapse implementation (the new endpoint and how the bundled aggregations get included).

Thanks! Looks to be vaguely enough to compare against.
@mscbot resolve lacking implementation validation

@turt2live I see you removed the unresolved-concerns label, but you still have one outstanding concern on this MSC. Is that intentional?

oops, thought I didn't hold that concern as blocking, sorry.
@mscbot resolve general clarity - TR review

So regarding Handling limited (gappy) syncs: I couldn't find any MSC Proposal handling this, is there any?
IMHO, this is the most important part, since for example:
If we received and event via sync, which may has annotations bundled into it and keep it up-to-date via local aggregation using all future m.relates_to events, but then go offline for a day and come back, without syncing all events in-between, we end up in an incorrect state for the local aggregations of the already received event.
If we would simply use a locally cached copy of the locally aggregated event, it would not match a refreshed version from the server. Thus, in this situation, we can't really trust any local copies of events, except we query all relational events, that happened in-between. This would make "jumping back" to the locally saved event somewhat incorrect (mismatches a fresh copy from the server). And refreshing all locally saved events would diminish any possible traffic savings gained by local caching.
Only case I see in which we could realistically save traffic is an initial sync, with filters enabled to not fetch all m.annotation / ... / events, but include then in consecutive /sync calls. Other than that, this makes locally caching/saving events, in order to not re-query them, a step harder, since we have to be really careful to keep all the local events in sync & up-to-date.
This problem is (imho) rather drastic in bigger rooms with large amounts of daily traffic. When loading older messages we may end up loading batches upon batches of events filled with relational events only until we load a real m.text message that the client could display. (e.g. if many reactions have happened) But we cannot exclude them, if we choose to locally aggregate already received events, since we might miss some otherwise.
In that light, it almost seems more logical and traffic-saving to discard local copies all together in order to take advantage of aggregations and bundling. In that case, we can always apply a filter for the events received in /sync and can be sure that the data received is up-to-date. (after loading/paginating through the /aggregations endpoint if there is a next_batch present)
Am I missing something obvious here, or am I correct that making local copies in combination with this MSC seems like a pain?

@ara4n @turt2live  I guess it's pointless to comment here since the proposal has been merged, but I feel like chiming in, as a client developer:
I've been reluctant to implement anything not yet in a released version of the spec, but in my client I did implement support for reaction annotations, since they're so widely used in Element and other clients already.  But now I'm seeing my client not render annotations in some cases, which I've found is because the server is now aggregating some of them.
I understand the motivations for this proposal, but at the same time, it increases the complexity of developing clients: rather than simply handling each reaction annotation event, a client must handle both aggregated reaction annotations and individual reaction annotation events.  This means that, when an individual event comes in, I have to emulate the server-side aggregation in my client, adding it to the annotated event's unsigned data myself, so that I can still have a single path for rendering an event.
Fundamentally, this means that a single logical action (reacting to a message) may now be represented in a room's timeline in two different ways: as individual events, or as aggregations of metadata on the annotated event.  So this does not seem to make it easier for clients, but rather, more complicated.
I feel like Matrix would do well to emulate the Zen of Python: there should be one, and preferably only one, way to represent a logical event in a room's timeline.  This would greatly simplify implementations on both clients and servers, which would do much to help ensure Matrix's adoption and longevity.
My two cents.  Thanks.

Spec PR: https://github.com/matrix-org/matrix-spec/pull/1062

Merged 🎉

authors: alphapapa anoadragon453 bwindels clokep kevincox revidee richvdh turt2live uhoreg


text:
Remove h7 and h8 headings

Fixes https://github.com/matrix-org/matrix-doc/issues/2898.
The new spec doesn't support "h7" or "h8" because these are not HTML elements. There are a few places in the spec that want to use this level of heading:
./content/client-server-api/modules/secrets.md:####### `m.pbkdf2`
./content/client-server-api/modules/instant_messaging.md:####### Fallbacks and event representation
./content/client-server-api/modules/instant_messaging.md:######## Stripping the fallback
./content/client-server-api/modules/instant_messaging.md:######## Fallback for `m.text`, `m.notice`, and unrecognised message types
./content/client-server-api/modules/instant_messaging.md:######## Fallback for `m.emote`
./content/client-server-api/modules/instant_messaging.md:######## Fallback for `m.image`, `m.video`, `m.audio`, and `m.file`
./content/client-server-api/modules/push.md:####### Tweaks
./content/client-server-api/modules/push.md:####### Default Override Rules
./content/client-server-api/modules/push.md:######## `.m.rule.master`
./content/client-server-api/modules/push.md:######## `.m.rule.suppress_notices`
./content/client-server-api/modules/push.md:######## `.m.rule.invite_for_me`
./content/client-server-api/modules/push.md:######## `.m.rule.member_event`
./content/client-server-api/modules/push.md:######## `.m.rule.contains_display_name`
./content/client-server-api/modules/push.md:######## `.m.rule.tombstone`
./content/client-server-api/modules/push.md:######## `.m.rule.roomnotif`
./content/client-server-api/modules/push.md:####### Default Content Rules
./content/client-server-api/modules/push.md:######## `.m.rule.contains_user_name`
./content/client-server-api/modules/push.md:####### Default Underride Rules
./content/client-server-api/modules/push.md:######## `.m.rule.call`
./content/client-server-api/modules/push.md:######## `.m.rule.encrypted_room_one_to_one`
./content/client-server-api/modules/push.md:######## `.m.rule.room_one_to_one`
./content/client-server-api/modules/push.md:######## `.m.rule.message`
./content/client-server-api/modules/push.md:######## `.m.rule.encrypted`

There are basically two options here.

Define extra heading levels using something like https://www.w3.org/TR/WCAG20-TECHS/ARIA12.html#ARIA12-ex2
Update the content so it doesn't nest headings this deeply.

I'd like us to avoid (1) if possible, because:

it's more complicated to implement: there will be several different places to implement custom behaviour (ToC, auto-numbering, anchor and anchor-link icon) it may not work well in some edge cases and there will be problems with accessibility (https://css-tricks.com/how-to-section-your-html/#what-happens-when-you-need-h7). This will also make the spec platform harder to maintain.

I think having deep heading levels is also tough on readers.

So this PR attempts option (2). But I can't pretend this is ideal either. It's not surprising that all these instances are in client-server modules: in the client-server spec all modules are H3 at the top level, so you really only have 3 levels to play with inside the module document itself. Still I'd like to present this as my preferred option, and if it doesn't look reasonable, we'll look at option (1).

instant_messaging.md
Here I've folded  "H6 Rich replies" into "H5 Forming relationships between events": since rich replies are currently the only form of events that reference other events, this seemed reasonable. I then pushed up "H7 Fallbacks and event representation" to "H5 Fallbacks for rich replies", which means we can keep the subsections for handling fallbacks under there as H6 headings. I think it's not ideal that "Fallbacks for rich replies" is not under "Rich replies" though.
push.md
First, I removed the separate "H7 Tweaks" and folded that content directly under the definition for set_tweak. This seems to make sense.
Then I've pushed up "H6 Predefined Rules" to "H5 Predefined Rules", so it's alongside "H5 Push Rules" instead of underneath it. I don't really think this is ideal, but it lets me keep "H6 Default Override Rules" and so on underneath "Predefined Rules". Then under there I've just made the rule names bold, and it seems quite readable at least.
secrets.md
Here I just removed the heading, and it seems fine like that.

We should put the detail that headings should not be greater than h6 somewhere where contributors can see it. You could make that part of your overall documentation PR perhaps?

Yes, I will make sure this is part of the meta-docs.


text:
Finish moving to new resource system

This PR moves the remaining resources over to the new resource system. It's a huge change that radically changes how we work with resources/entities/components. This PR includes moving from the Transform component to the Node/Scene resources.

Superceded by #471

repo: matrix-org/thirdroom


text:
Can't refresh BitBarDistro

I'm trying to refresh a BitBarDistro-bundled script with open "bitbar://refreshPlugin?name=cckm.12h.sh", but instead it opens the regular BitBar app.
When BitBar is already running, nothing happens, i.e. nothing gets refreshed.
I tried using a different URI scheme in the BitBarDistro Info.plist and run open "cckm://refreshPlugin?name=cckm.12h.sh", but that didn't work either.
Is there any way to refresh scripts nested in a BitBarDistro bundle without affecting the regular BitBar scripts? ty

Also realized now that refresh doesn't work either when setting refresh=true, e.g. with a simple
echo "Refresh… | terminal=false refresh=true bash=$0"
It works fine in the regular BitBar app.
Using v2.0.0 beta10 in both cases
On macOS 10.15.5

Using [CMD]-R to refresh works on the other hand.

I have a similar issue whereby the bitbar:// handler is remapped to a different BitBar app that I build with Xcode.
Do you know how to pick an app to go with that handler? The usual Mac OS methods don't list bitbar:// anywhere.

I use the successor to the RCDefaultApps preference pane, called SwifDefaultApps

Imho—and if there ever are updates to or Swift rewrites of BitBar & BitBarDistro—the user should be able to freely choose URI schemes to go with each an every BitBarDistro bundle, simply by modifying the Info.plist, and BitBarDistro should support them without the need to recompile in Xcode. (This is easily possible; cf. e.g. Platypus.) The main BitBar app should be restricted to the bitbar:// URI scheme, however.

Although I don't have that (I am on High Sierra) I did manage to find the Default Apps settings page and got it to work now. Thank you so much!

@JayBrown I think I found where the URL scheme is set in the Bitbar Xcode projects that I built manually.
It's under the target's Info tab

Unfortunately, that didn't work. I even changed the Identified to be my app's Bundle Identifier. Compiling with this doesn't even show the new URL scheme under the MacOS Setting's Apps/URL. It still defaults to bitbar (I'm trying to add a new one for my app)

repo: matryer/bitbar


text:
cibuildwheel

hi @mattandahalfew ,
we’ve been using pypa’s cibuildwheel project to make it a lot easier to build binary wheel s for all the variations of operating systems and machine platforms.
would you like a pull request that added this?

Yes, that is fine. Thank you

great! would you also consider changing the license back to something that's MIT compatible? unfortunately,  dedupe can't use the current versions of your library because the GPL license is not compatible with dedupe's MIT license.

I don't think that's something I want to do. I'm willing to make licensing arrangements with individual parties, but I don't think I would change the license to MIT.

totally understand! thanks for considering it and your great work!

as dedupe can

authors: fgregg mattandahalfew


text:
Stream: PassThrough?

Should this be using PassThrough instead of through2? Is there any significant gain?
https://github.com/scottcorgan/tap-out/pull/11
/cc @shinnn

Here is my opinion: https://github.com/scottcorgan/tap-out/pull/11#issuecomment-112890993
On the other hand, someone still prefer through2 for its simplicity: https://github.com/kevva/vinyl-assign/pull/1#issuecomment-113893735
https://github.com/kevva/vinyl-assign/pull/1#issuecomment-113897384

Streams3 has a simplified constructor API (https://github.com/nodejs/readable-stream/issues/102) and we can use it everywhere by using readable-stream v2.0.0. That seems enough simple for me and I think now through2 is almost finishing its roles in the point of simplicity.

https://github.com/kevva/vinyl-assign/pull/1#issuecomment-113897532

I'm aware, but through2 still have a tiny bit simpler API, so I don't really see the benefit of switching.

Is there any significant gain?

Package file size is slightly different.
$ npm i through2
$ du -sh node_modules/through2
> 364K	node_modules/through2

$ npm i readable-stream
$ du -sh node_modules/readable-stream
> 304K	node_modules/readable-stream

For correctness: shouldn't this be a ReadableStream rather than a TransformStream? from2 / from2-string is pretty good for that.

from2-string seems like a better fit for this module than through2 :smile:

:+1: from2-string

authors: mattdesl shinnn yoshuawuyts

repo: mattdesl/simple-html-index


text:
Zksync Era & LIte 1st Airdrop Criteria

I suggest zksync criteria to be something like this:
As per https://dune.com/KARTOD/zksync-evms-mega-dashboard analysis zksync era has over 5.9 million user. There should be a minimum requirement to be eligible for airdrop.
in my opinion minimum criteria should be:
Zksync- Era

Used zksync for at least 3 separate months.
minimum 25 transaction on zksync blockchain.
transacted at least 150$ total volume or 15+ NFT transaction.
minimum 7 active days.
minimum 5 unique contract.

After one is eligible for airdrop, they get rewarded with token instead of points when they satisfy specific criteria. these criteria includes:

used zksync for 3 separate month -> 50 zks
used zksync for 6 separate month -> 100 zks
used zksync for 10 separate month -> 200 zks
7 active days -> 10 zks
15 active days -> 25 zks
25 active days -> 50 zks
50 active days -> 150 zks
native bridge user -> 50 zks
bridge volume 2000$ -> 50 zks
bridge volume 15000$ -> 100 zks
bridge volume 75000$ -> 150 zks
bridge volume 150000$ -> 250 zks
trading volume 150$ -> 25 zks
trading volume 2000$ -> 50 zks
trading volume 20000$ -> 100 zks
trading volume 75000$ -> 150 zks
trading volume 150000$ -> 200zks
25 transaction -> 10 zks
50 transaction -> 25 zks
100 transaction -> 50 zks
200 transaction -> 100 zks
5 unique contract -> 25 zks
15 unique contract -> 50 zks
30 unique contract -> 100 zks
5+ nft transaction -> 10 zks
15+ nft transaction -> 25 zks
30+ nft transaction -> 50 zks
used pay master feature 3 times -> 15 zks
donated in gitcoin -> 25 zks
LIBERTAS OMNIBUS NFT holder -> 200zks
provide liquidity 15$ (minimum 7 days hold)  -> 10 zks
provide liquidity 150$ (minimum 7 days hold)  -> 50 zks
provide liquidity 1500$ (minimum 7 days hold)  -> 150 zks
provide liquidity 15000$ (minimum 7 days hold)  -> 300 zks

multipliers: (not stackable , user only get highest one)

15+ gitcoin score or 10 transaction on eth mainnet -> 1.1x
20+ gitcoin score or bab token holder or 30+ eth transaction -> 1.3x
50+ eth transaction -> 1.4

zk-lite:
minimum requirements to be eligible for zk-lite airdrop

minimum 25 transaction
trading volume 150$
4 separate active month

criteria:

25 transaction -> 10 zks
50 transaction -> 25 zks
100 transaction -> 50 zks
trading volume 150$ -> 10 zks
trading volume 1500$ -> 25 zks
trading volume 15000$ -> 50 zks
4 separate active month -> 10 zks
8 separate active month -> 25 zks
12 separate active month -> 50 zks
16 separate active month -> 100 zks
bridge volume 150$ -> 25 zks
bridge volume 1500$ -> 50 zks
bridge volume 15000$ -> 100 zks

we will take a new step against sybil wallets . we will divide the eligible wallets in 3 category. 1. A genuine wallet 2. could be a sybill wallet 3. high chance of being a sybil wallet.

A genuine wallet will get 100% of their earned token.
A wallet that has a possibility of being a sybil wallet will get 50% of their earned token.
A wallet that has a very high possibility of being a sybil wallet will get 10% of their earned token.
NOTE: An identified sybil wallet will get nothing.

*** According to my research, zksync has over 5.8 million users. With the criteria I preferred , around 40% of them will be eligible for the airdrop. assuming total supply of ZKS will be 10 billion, almost 1.5 billion to 2billion ZKS token will be used for first phrase of airdrop. If there are too much eligible user , then I prefer the rewards to be reduced by a small margin to keep the balance between token and user.

Fair enough

Fair enough

i would prefer omnibus nft, gitcoin points, arbitrum criteria, starknet criteria, zk-flow information.  this criteria full enough for community.

Preferirei omnibus nft, punti gitcoin, criteri arbitrum, criteri starknet, informazioni sul flusso zk. questo criterio è sufficientemente completo per la comunità.

Many Starknet users have always used the chain since day 1 but have not obtained even a token. The discontent among the community is very great.

A couple of additions I can think of off the top of my head:
(1) points for holders of other NFT communities to encourage their onboarding, e.g, Pudgy penguins
(2) at least 5-10 transactions using a multisig wallet like Gnosis safe

I admit to a certain extent, But Optimism is too old-fashioned
It seems rather more reasonable to set the bar as arb, but this is only my subject

zksync is the mainnet, There are items that are not related to the mainnet.

Donate gitcoin
gitcoin score
Ownership of Bobcoin

It's the zksync era, but the light condition is too tricky, I think it's right to see Wright as a minimum condition
And lastly, I think it's right to raise the payment master's trading volume a little more

Gitcoin donation can be important if you're donating to projects building on zksync, you're in a way helping the growth of the ecosystem. Optimism used that as a multiplier
Gitcoin score: it's not the best way but there's got to be a way to filter out those sybil factory farmers, or at least apply some penalty in the form of allocation reduction
Agree that Binance BAB token shouldn't be a factor at all. Binance doesn't operate in many countries.

I admit to a certain extent, But Optimism is too old-fashioned
It seems rather more reasonable to set the bar as arb, but this is only my subject

And finally, the zksync team will do well on their own, Don't try to teach them, your look like beggars The criteria will be set by them. If you do your best, the results will be good

There are many ways to catch a Civil.

Whether Ethereum Mainnet is used or not
zksync Mainnet activation period (minimum 90 days)
Last zks coin count verification request ip redundancy
Farming wallet moving from farming wallet to farming wallet
Minimum tx 50 tx
Gas consumption (minimum 100$)

Wouldn't it be enough to judge that it's a sybil wallet if any of these are included?

Sounds good

repo: matter-labs/zksync


text:
Document steps to install Mattermost Desktop from Repository

Summary
Desktop Debian packages are published into Debian repository. Documentation is updated to install Mattermost desktop from our repository.
Ticket Link
JIRA: https://mattermost.atlassian.net/browse/DOPS-794
Preview Link
http://mattermost-docs-preview-pulls.s3-website-us-east-1.amazonaws.com/5636/install/desktop-app-install.html#ubuntu-and-debian-based-systems

Thank you, @pfltdv! I've added this PR to our v6.7-documentation branch, and I've provided feedback inline.

Thanks alot @cwarnermm, changes are applied to the PR.

@pfltdv - After a discussion with @nab-77, we've confirmed that the updates in this PR have been captured in https://github.com/mattermost/docs/pull/5628 (where the bulk of the Desktop App install, deploy, and update details live, including the new automatic updates functionality coming in v5.1.)
Given that this PR is a duplicate, I'm going to close it. I really appreciate you creating this PR.

authors: cwarnermm pfltdv

repo: mattermost/docs


text:
Mattermost Android app wont post video or picture (Library and recorded) - OnePlus 6T

Summary
My OnePlus 6T wont upload/post video or picture - from both (Recorded video and gallery video) . The video successfully records but once i click "approve", it just returns to conversation thread in mattermost without actual sending the video.
Check this video for a video of this error:
https://photos.app.goo.gl/WuuDF8GSZYCZCxtU9
Environment Information

Device Name: OnePlus 6T
OS Version: 10.3.0
Mattermost App Version: 1.26.2 (Build 258)
Mattermost Server Version: 5.14.0 (Build 5.14.2) & 5.18.0

Steps to reproduce

Gain OnePlus 6T
Download Mattermost Android App
Join a Mattermost Server
Record a video / take a picture / upload from gallery
Click send

Expected behavior
Expected it to be actually sending the recorded video/image
Observed behavior
I got my co-worker to send me a video recorded with his samsung, it works.

Hi @astyltsvig, what app are you using to record the video that you're attempting to upload? It may be that the output format is not being expected and is failing silently.

@amyblais
It doesnt even work with regular photo upload.

I'm on Android Pixel; App v1.29.0 from Play Store; Server is v5.20.2.  These conditions fail (and don't produce any error message (or any real useful info) in logs (which are set to DEBUG).

Select Photo from Photos App, Choose Share => Mattermost -- fails to post message, fails silently.
From App choose Photo button, pick the image file, It spins a loading icon; to 100% then shows the circle-with-arrow icon (asking me to reload).  If I try to send it warns the attachment fails.
From App choose Camera button, take a picture, no loading, just direct to circle-with-arrow.

Photo is 3MiB; Mattermost is set to use 50MiB.  Other assets from other locations, or desktop web-client uploads all work OK.  Only Android app is failing.

I'm facing the same problem as described by djbusby. My environment is:

Mattermost Server Version 5.22.0 with mysql, fresh install, running on Ubuntu VM 18.04.4 LTS, all updates applied, restored mysql-dump, resynced data-folder, ownership and group of data folder changed to mattermost:mattermost
NGINX Version 1.17.9 reverse proxy running on Ubuntu VM 18.04.4 LTS, all updates applied
Mattermost App Version 1.29.0
Android Version 8.0.0. running on Samsung S7 G930F
changing serve static files via gzip or uncompressed in system console doesn't solve the problem
changing Nginx gzip or proxying timout values doesn't solve the problem

Photo is 6 MiB,  Mattermost upload is set to 100MiB. Same - only Android app is failing. Browser upload works from mobile. Nginx shows nothing in the logs (attached), Mattermost also nothing (attached). I observed that mattermost process is still working when app already shows circle-with-arrow icon.
mattermost.log
Nginx access.log

SOLVED BLUF: set client_max_body_size in Nginx in the "server" section.
Thanks to @OneTwoBarbecue clues I re-inspected my nginx configuration.  Here's the answer, tailing the nginx logs I noticed it was sending a 413 response; so it was simply a case where pictures from our Android devices were larger than any images shared on other platforms?  I didn't feel like digging too much but a quick find through our data directory shows nothing larger than nginx default size for client_max_body_size -- so, I just set that in the "server" section of my nginx configuration -- and now I'm uploading huge files.  Awesome.  It also explains why I didn't see anything in the mattermost logs -- the requests were never getting that far.  But, there were clues in the nginx error log file -- showing the 413 response (which is totally expected, when I'm sending 2MiB and the server is, by default, only allowing 1MiB.
Also, while digging I had the client_max_body_size values set at first in the "location" part of my nginx config -- so on first inspection I was thinking, I've got this set huge -- why the 413 then? I found this answer: https://stackoverflow.com/questions/2056124/nginx-client-max-body-size-has-no-effect  -- I simply moved the statement to the "server" section and now all is right with the world.
I still think there is an underlying bug here tho, in the client -- when the server is responding with 413 error code that does not bubble up to the user.  It kinda just fails silently.  There could be a spot in the UI where, perhaps that uploading status-circle could become red and maybe show a portion of the error returned?  If the client had, for example, presented me with a red exclamation point, that I tapped to see 'Server Error 413 Too Large' I might of landed in debugging at the nginx layer sooner.
HTH

Glad to hear that my approach was helpful.
I'm sorry to say that unfortunately adding  client_max_body_size to the server, the http and/or the location-section in nginx did not solve the problem for me. I also did not find any 413-errors in the nginx-logs.
Additionaly I switched to MariaDB 10.4 to possibly improve performance.
Upload via mobile browser is still perfectly working.
Upload via app is not working, nether via picture, nor files-upload.
Processes-behavior is same as said above.
Environment like mentioned above.

I think this should be solved (or better handled) on V2. Closing for now, but if you still see the issue, feel free to reopen the ticket.

authors: OneTwoBarbecue amyblais astyltsvig djbusby larkox

repo: mattermost/mattermost-mobile


text:
[MM-37423] Custom Status: Don't show 'Custom Date and Time' for recent statuses

Summary
Custom Status: Don't show 'Custom Date and Time' for recent statuses
Ticket Link
https://mattermost.atlassian.net/browse/MM-37423
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates

Device Information
This PR was tested on:
Screenshots

Release Note

Building app in separate branch.

Hello @AshishDhama,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Building app in separate branch.

authors: AshishDhama mattermod


text:
[Gekidou MM-47427 MM-47428] Thread Overview replies count

Summary
This PR fixes

Replies count in the Thread Overview component should exclude system messages.
Display the Thread Overview component which was getting hidden due to combining activities.

Ticket Link
https://mattermost.atlassian.net/browse/MM-47428
https://mattermost.atlassian.net/browse/MM-47427
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on: iOS 16
Screenshots

Release Note
NONE

/update-branch

Should always ignore system messages in the count, or is it a configuration thing? From the discussion in the thread, I got that you may see or not the system messages based on configuration.
On top of that, should we consider or not ephemeral and deleted messages? i.e. ephemeral and deleted messages "take space" in the database, and they are shown to the user until the user dismiss them. Should they be counting towards the reply total?
Also, I see that you exclude the system messages by filtering anything that is not of empty type. That way you also omit plugin custom types. I guess that is not intended, right?

Going by the design, only "replies" by users are "replies". I asked in the thread and will make changes if there is any change.

Fixing the count on the server side as it's always not possible to filter the replies on the client due to the availability of the data. I will reopen the PR with the new changes.


text:
Translations update from Mattermost Weblate

Translations update from Mattermost Weblate for Mattermost/mattermost-mobile-v2.
Current translation status:

Release Note
NONE

Hello @weblate,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

authors: mattermost-build weblate


text:
[MM-47615] Minor dependency upgrades for stripe dependencies

Summary

In the context of regular dependency updates, upgrade the stripe related dependencies:

@stripe/stripe-js
@stripe/react-stripe-js

Ticket Link

https://mattermost.atlassian.net/browse/MM-47615
Release Note

NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/251685

Removing myself since I think Growth/Self-Serve has a better understanding over what this dependency upgrade means.

I validated the scenarios for the upgrade and for the payment method change, including stripe test failing cards, so far everything continued working as expected. The only post in the changelog that called my attention was https://github.com/stripe/react-stripe-js/pull/274/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R14 which is part of the react-stripe 1.7.1 update https://github.com/stripe/react-stripe-js/releases/tag/v1.7.1. However as mentioned earlier, everything seemed to work just fine.

That should be fine since we're not planning on upgrading to React 18 until 8.0 at the absolute earliest (so mid-2023). That's good to know that this is another library that would block that though

Re-assigning to @stevemudie as he is more familiar with stripe testing. Thanks Steve!

repo: mattermost/mattermost-webapp


text:
MM-10550 Updates to system notice

Summary
Updates to the system notice.
Ticket Link
https://mattermost.atlassian.net/browse/MM-10550

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-08c6e942cb3d437e0.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-08c6e942cb3d437e0

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0f4d927a0306b739e.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0f4d927a0306b739e

@asaadmahmood Attached is the current UI:

I'll need to update the snapshot so the build will pass

Spinmint test server destroyed

authors: jasonblais jwilander mattermod


text:
Migrating saml configuration to declarative

Summary
Migrating saml configuration to declarative
Ticket Link
MM-11970
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed

Was tested as part of https://mattermost.atlassian.net/browse/MM-11970 Adding label.

authors: DHaussermann jespino


text:
Automated cherry pick of #7922

Cherry pick of #7922 on release-5.35.
/cc  @mickmister

/release-note-none

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: e444b8f02ee78bbad33f1ab72c4326c52e8e0c82

authors: amyblais mattermod mattermost-build


text:
Arm gcc 7.2.1 (none) uses cdefs.h from incorrect architecture

Maybe a duplicate of #989
It seems that when a user utilities some std libraries that includes a file from sys the compiler explorer looks for these under the host cpu architecture, rather than from the sys folder inside the arm-eabi-none directory.
The error as presented by gcc:
In file included from /opt/compiler-explorer/arm/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/time.h:11:0,
                 from /opt/compiler-explorer/arm/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/c++/7.2.1/ctime:42,
                 from /opt/compiler-explorer/arm/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/c++/7.2.1/chrono:41,
                 from <source>:1:

/usr/include/x86_64-linux-gnu/sys/cdefs.h:23:11: fatal error: features.h: No such file or directory
 # include <features.h>

As you can see when trying to use the arm-none-eabi/include/time.h file, the compiler looks for the sys/cdefs.h include in an incorrect location. It should look under `gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/sys/
Below is the code that I was trying when i first encountered this issue.
https://godbolt.org/g/czc3RB
Let me know if there is anything else that I can provide to help diagnose this issue, or if there is anything that i have missed out.

I ran into this issue as well today (after updating compiler-explorer).
In my case I have an aarch64 cross-compiler (with its own sysroot including all required headers).
I can confirm, that compilation works on command line.
Therefore I assume that there is an issue with adding system include path (which must not happen for cross compilers).

@cmuellner can you clarify what you mean - are you running a local compiler-explorer? Are you suggesting there might be an issue in the way CE executes compilers that might explain why we're not getting the right sysroot? It's quite possible -- if you have a local instance that works from the command-line but not from within a local Compiler Explorer we can hopefully use your system to work out what's going on!

@mattgodbolt Yes, I'm running a local compiler-explorer instance.
What I'd like to have is a way to see the whole compiled source code and the whole command line that is executed to compile it. I get some info from the '!' in the web frontend, but that's not complete and the there mentioned /tmp/compiler-explorer.../example.cpp does not exist (anymore?). Logs just output the HTTP requests.
I'm running CE git master HEAD (95befee) with no changes at all.
The code I'm compiling is the following:
#if 1
#include <stdint.h>
#else
typedef unsigned long uint64_t;
typedef unsigned char uint8_t;
#endif

uint64_t myadd(uint64_t a, uint64_t b)
{
    return a + b;
}

I can successfully compile this with the following command line (inspired by the information the web frontend provides):
~/compilers/crosstools/amp-7.3.0-20180630/bin/aarch64-amp-linux-gnu-gcc -g -o myadd.s -S -fdiagnostics-color=always -O3 myadd.c.
When compiling with CE, then I get the following error:
In file included from /home/cexplorer/compilers/crosstools/amp-7.3.0-20180630/aarch64-amp-linux-gnu/sysroot/usr/include/features.h:452:0,
                 from /home/cexplorer/compilers/crosstools/amp-7.3.0-20180630/aarch64-amp-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33,
                 from /home/cexplorer/compilers/crosstools/amp-7.3.0-20180630/aarch64-amp-linux-gnu/sysroot/usr/include/stdint.h:26,
                 from /home/cexplorer/compilers/crosstools/amp-7.3.0-20180630/lib/gcc/aarch64-amp-linux-gnu/7.3.0/include/stdint.h:9,
                 from <source>:2:
/usr/include/x86_64-linux-gnu/gnu/stubs.h:7:11: fatal error: gnu/stubs-32.h: No such file or directory
 # include <gnu/stubs-32.h>
           ^~~~~~~~~~~~~~~~
compilation terminated.
Compiler returned: 1

My host CE host is a x86_64 machine running Debian with node 8 LTS.
My toolchain is a aarch64 cross-compiler for x86_64, which supports multiarch (LP64 and ILP32) based on GCC 7.3.0. I can reproduce the problem with gcc and g++.
In my CE config I just added the compiler .exe and .name.
In case you want to test with the toolchain, you can download it from here (amp-7.3.0-20180630/amp-7.3.0-20180630-crosstools.tar.xz): https://www.theobroma-systems.com/go/amp-7.3.0.

Hi @cmullner.
Specifically regarding:

I get some info from the '!' in the web frontend, but that's not complete and the there mentioned /tmp/compiler-explorer.../example.cpp does not exist (anymore?).

I have two questions. The UI ! icon should be reporting every option sent to the compiler by CE. Can you please confirm if this is not the case for you?
You also mention the temp file. Note that:

Its contents are just what you type into the editor
It gets deleted by CE after compilation is done.
Were you expecting any of this to happen differently? We'd be very happy to know about different use cases and how this current CE behaviour affects said cases

:)

The ! gives me: -g -o /tmp/compiler-explorer-compiler118614-26166-1oiohla.zpo7/output.s -S -fdiagnostics-color=always -O3 /tmp/compiler-explorer-compiler118614-26166-1oiohla.zpo7/example.cpp. CE says, that compilation fails (see previous post).
When I invoke ~/compilers/crosstools/amp-7.3.0-20180630/bin/aarch64-amp-linux-gnu-gcc -g -o myadd.s -S -fdiagnostics-color=always -O3 myadd.c on the command line the compilation works fine (with myadd.c containing the code in my previous comment above).
So what can be wrong here? I see two possible causes: I) CE adds additional include paths (e.g. by adding -I flags to the command line), II) CE adds additional includes to the source.
I cannot confirm that CE does not add anything to the source or to the compiler invocation. The reason is, that I haven't found out yet, how to do so. Any hints are appreciated.
When you tell me, that CE does not add additional includes to the source code, that's fine.
But then I wonder, what else CE is doing different than my working command line invocation.
And of course I don't expect that CE does not delete temporary files. But doing so would help me to debug the problem.

Very peculiar indeed.
Something else that CE does though, is manipulate the environment. I think this is what's going on! Hooray, you've got it!
So, to handle some weird ubuntu compilation issues, we run the local compiler (/bin/gcc) and see if it has mult-arch. If so, and if the compiler being run is configured (default: yes!) then we also put in the multi-arch directories using INCLUDE_PATH etc:  https://github.com/mattgodbolt/compiler-explorer/blob/master/lib/compilation-env.js#L65
So, we need to configure all the cross-compilers to not be needsMulti. That will definitely help (if not fix!) some of the issues!

More interestingly, I think that actually multi-arch is unnecessary on the CE nodes now (we no longer have a weird situation of some compilers built on RH6, some on Ubuntu)...so, I think I will get rid of it for the live site.

Removed in f6d0d77a753504c51915394111714606d9f57615; will do some testing then do a site update.

@mattgodbolt Thank's for pointing to that. Works now. Thank's a lot.
One last question: how to clean the cached compilation results?

Found it (UI -> Compilation Results -> Circle symbol in lower right corner).
And sorry if the original issue of this ticket is not related to my problem (i.e. for hijacking it).

no problem @cmuellner .

authors: RabsRincon cmuellner lucazader mattgodbolt

repo: mattgodbolt/compiler-explorer


text:
FIXME

Hello,
You have some FIXME comment in your code.
I think this in related to the fact that one folder in the path does not have init.py in it.
See http://stackoverflow.com/questions/338768/python-importerror-no-module-named
Else, as far as I tried there are a lot of inconsistency code in the head commit.
Anyway, maybe is my fault.
Thanks,
Cristian

I'm not sure what to make of this. Closing until there is further information on this problem.

The code has no inconsistency, I was wrong.
Only the init.py I had to put in the folders that act as packages.

Thanks for the confirmation!

repo: matthiask/plata


text:
Bug: Many estimating at once broke things

All estimates were logged correctly, but the realtime update did not work.
At once point, it only said Ryan had estimated after others have submitted.
On reveal it just showed Ryan for Meagan.
On refresh it all showed up correctly.
Solution: On receipt of a new UserEstimation change we just just pull all of the user estimations for that estimation_id.

Resolved by using a Map instead of relying on prevState.
 useEffect(() => {
        if (!currentEstimationId) return;

        // User Estimation Insert (Someone is making a brand new Estimate)
        const userEstimatesInsertChannel = supabaseClient
            .channel('realtime user_estimations insert')
            .on(
                'postgres_changes',
                {
                    event: 'INSERT',
                    schema: 'public',
                    table: 'user_estimations',
                    filter: `estimation_id=eq.${currentEstimationId}`,
                },
                payload => {
                    const newUserEstimation = payload.new as UserEstimation;
                    estimationsMap.set(newUserEstimation.user_id + newUserEstimation.estimation_id, newUserEstimation);

                    setUserEstimations([...estimationsMap.values()]);
                }
            )
            .subscribe();

        // User Estimation Update (Someone is updating their existing Estimate)
        const userEstimatesUpdateChannel = supabaseClient
            .channel('realtime user_estimations update')
            .on(
                'postgres_changes',
                {
                    event: 'UPDATE',
                    schema: 'public',
                    table: 'user_estimations',
                    filter: `estimation_id=eq.${currentEstimationId}`,
                },
                payload => {
                    const updatedUserEstimation = payload.new as UserEstimation;
                    estimationsMap.set(updatedUserEstimation.user_id + updatedUserEstimation.estimation_id, updatedUserEstimation);

                    setUserEstimations([...estimationsMap.values()]);
                }
            )
            .subscribe();

        // Cleanup function to remove the subscriptions when the component unmounts
        return () => {
            supabaseClient.removeChannel(userEstimatesInsertChannel);
            supabaseClient.removeChannel(userEstimatesUpdateChannel);
        };
    }, [currentEstimationId]);

repo: mattlgroff/estimation-party

license: MIT


text:
run exsample prompt this infomation

exit status 3221225781,win10,mingw64 pkg-config

which example?

The same problem is occurring.

prefix=c:/app/instantclient_12_2
libdir=c:/app/instantclient_12_2/sdk/lib/msvc
includedir=c:/app/instantclient_12_2/sdk/include

Name: oci8
Description: oci8 library
Version: 12.2
Libs: -L${libdir} -loci
Cflags: -I${includedir}

C:\Users\XXX>go get -x github.com/mattn/go-oci8
WORK=C:\Users\HXXX\AppData\Local\Temp\go-build391312266
mkdir -p $WORK\github.com\mattn\go-oci8\_obj\
mkdir -p $WORK\github.com\mattn\
cd c:\Users\HXXX\go\src\github.com\mattn\go-oci8
pkg-config --cflags oci8
pkg-config --libs oci8
CGO_LDFLAGS="-g" "-O2" "-Lc:/app/instantclient_12_2/sdk/lib/msvc" "-loci" "C:\\Go\\pkg\\tool\\windows_amd64\\cgo.exe" -ob
jdir "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\" -importpath github.c
om/mattn/go-oci8 -- -Ic:/app/instantclient_12_2/sdk/include -I "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266
\\github.com\\mattn\\go-oci8\\_obj\\" -g -O2 oci8.go
cd $WORK
gcc -fdebug-prefix-map=a=b -c trivial.c
gcc -gno-record-gcc-switches -c trivial.c
cd c:\Users\HXXX\go\src\github.com\mattn\go-oci8
gcc -I "c:\\Users\\HXXX\\go\\src\\github.com\\mattn\\go-oci8" -m64 -mthreads -fmessage-length=0 "-fdebug-prefix-map=C:\\
Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266=/tmp/go-build" -gno-record-gcc-switches -Ic:/app/instantclient_12_2
/sdk/include -I "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\" -g -O2 -o
 "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_export.o" -c "C:\\Use
rs\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_export.c"
gcc -I "c:\\Users\\HXXX\\go\\src\\github.com\\mattn\\go-oci8" -m64 -mthreads -fmessage-length=0 "-fdebug-prefix-map=C:\\
Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266=/tmp/go-build" -gno-record-gcc-switches -Ic:/app/instantclient_12_2
/sdk/include -I "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\" -g -O2 -o
 "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\oci8.cgo2.o" -c "C:\\Users
\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\oci8.cgo2.c"
gcc -I "c:\\Users\\HXXX\\go\\src\\github.com\\mattn\\go-oci8" -m64 -mthreads -fmessage-length=0 "-fdebug-prefix-map=C:\\
Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266=/tmp/go-build" -gno-record-gcc-switches -Ic:/app/instantclient_12_2
/sdk/include -I "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\" -g -O2 -o
 "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_main.o" -c "C:\\Users
\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_main.c"
gcc -I "c:\\Users\\HXXX\\go\\src\\github.com\\mattn\\go-oci8" -m64 -mthreads -fmessage-length=0 "-fdebug-prefix-map=C:\\
Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266=/tmp/go-build" -gno-record-gcc-switches -o "C:\\Users\\HXXX\\AppDa
ta\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_.o" "C:\\Users\\HXXX\\AppData\\Local\\Temp\\g
o-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_main.o" "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build3913122
66\\github.com\\mattn\\go-oci8\\_obj\\_cgo_export.o" "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.c
om\\mattn\\go-oci8\\_obj\\oci8.cgo2.o" -g -O2 -Lc:/app/instantclient_12_2/sdk/lib/msvc -loci
"C:\\Go\\pkg\\tool\\windows_amd64\\cgo.exe" -dynpackage oci8 -dynimport "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build
391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_.o" -dynout "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\
\github.com\\mattn\\go-oci8\\_obj\\_cgo_import.go"
cd $WORK
gcc -no-pie -c trivial.c
cd c:\Users\HXXX\go\src\github.com\mattn\go-oci8
gcc -I "c:\\Users\\HXXX\\go\\src\\github.com\\mattn\\go-oci8" -m64 -mthreads -fmessage-length=0 "-fdebug-prefix-map=C:\\
Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266=/tmp/go-build" -gno-record-gcc-switches -o "C:\\Users\\HXXX\\AppDa
ta\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_all.o" "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go
-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_export.o" "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312
266\\github.com\\mattn\\go-oci8\\_obj\\oci8.cgo2.o" -g -O2 -Lc:/app/instantclient_12_2/sdk/lib/msvc -Wl,-r -nostdlib
"C:\\Go\\pkg\\tool\\windows_amd64\\compile.exe" -o "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com
\\mattn\\go-oci8.a" -trimpath "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266" -p github.com/mattn/go-oci8 -bu
ildid f0e52802a6b735ef742ec35f4bcf95592a02456a -D _/c_/Users/HXXX/go/src/github.com/mattn/go-oci8 -I "C:\\Users\\HXXX\\
AppData\\Local\\Temp\\go-build391312266" -I "c:\\Users\\HXXX\\go\\pkg\\windows_amd64" -pack "c:\\Users\\HXXX\\go\\src\\
github.com\\mattn\\go-oci8\\dsn.go" "c:\\Users\\HXXX\\go\\src\\github.com\\mattn\\go-oci8\\oci8_go18.go" "C:\\Users\\H16
94\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_gotypes.go" "C:\\Users\\HXXX\\AppDat
a\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\oci8.cgo1.go" "C:\\Users\\HXXX\\AppData\\Local\\Tem
p\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_cgo_import.go"
pack r "C:\\Users\\HXXX\\AppData\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8.a" "C:\\Users\\HXXX\\AppDa
ta\\Local\\Temp\\go-build391312266\\github.com\\mattn\\go-oci8\\_obj\\_all.o" # internal
mkdir -p c:\Users\HXXX\go\pkg\windows_amd64\github.com\mattn\
mv $WORK\github.com\mattn\go-oci8.a c:\Users\HXXX\go\pkg\windows_amd64\github.com\mattn\go-oci8.a

Is it OK even in Japanese?

I don't set NLS_LANG. But works fine with below.
Oracle instant client 12.1 Windows 64bit
msys2 mingw64 gcc compiler

It was a problem of environmental variables.
Where it was launched with 64 bit specified, there was no problem.

@mattn
This looks to be solved and can be closed.

authors: MichaelS11 hljlgj mattn nobuhito


text:
[usage] How to get last row id?

Hi team,
Thanks for your work.
Currently, I'm using prepare statement to run the SQL insert command (my table have an ID column which is AUTOINCREMENT PRIMARY KEY. I've searched this github repos but could not find out the way to get the last row inserted's ID.
Pls help me. Thanks in advanced!

Use the Result.LastInsertRowId method. https://golang.org/pkg/database/sql/#Result
result, err := stmt.Exec(...)
if err != nil {
    return 0, err
}

return result.LastInsertRowId()

It does not seem work, here's screenshot:

Sorry, I mistyped. It's LastInsertId not LastInsertRowId.


text:
Update SQLite3 to version 3.35

Hallo,
new SQLite version 3.35 is out with a bunch of interesting things such as maths functions.
I ran the upgrade tool and checked the sqlite3-binding.* files against manually upgraded sources.
Successfully ran all tests.
Hope this helps.

Codecov Report

Merging #926 (df9b5f5) into master (ab91e93) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #926      +/-   ##
==========================================
- Coverage   46.80%   46.67%   -0.14%
==========================================
  Files          11       11
  Lines        1457     1457
==========================================
- Hits          682      680       -2
- Misses        640      641       +1
- Partials      135      136       +1

Impacted Files
Coverage Δ

sqlite3.go
52.84% <0.00%> (-0.23%)
: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 ab91e93...df9b5f5. Read the comment docs.

How to run the upgrade tool from my project? I tried many ways but could not figure it out. Any help would be appreciated.

NVM. Figured it out. :)

@mattn Is there anything blocking an upgrade to 3.35.x? We could probably even move up to 3.35.4.

Sorry all,  I have made it a rule to upgrade the amalgamation code myself. I'll do this soon.

Thanks for the fast response — itching to be able to use RETURNING! :-)

thanks @neilalexander still getting 3.31.0 version though
When installing on a linux container I get a 3.27.2 version 🤔
steps to reproduce:
docker run -ti golang bash
apt-get update && apt-get install vim sqlite3
mkdir /hello && cd /hello
go mod init hello
go get github.com/mattn/go-sqlite3
vim main.go

package main

import (
	"database/sql"

	_ "github.com/mattn/go-sqlite3"
)

func main() {
	db, err := sql.Open("sqlite3", "file:hello.sqlite3?mode=rwc")
	if err != nil {
		panic(err)
	}

	db.Exec("CREATE TABLE IF NOT EXISTS hello(name text primary key)")
}

go run main.go
sqlite3 hello.sqlite3 "select sqlite_version()"

3.27.2

When you're running
$ sqlite3 hello.sqlite3 "select sqlite_version()"

you're executing the sqlite3 binary installed on your system (presumably 3.27.2 indeed: https://packages.debian.org/search?searchon=names&keywords=sqlite3), not whatever sqlite3 code packaged within go-sqlite3...

yes of course, how did I not see that. many thanks @itizir 🙏

yes of course, how did I not see that. many thanks @itizir 🙏

Hahah, you're welcome! These things just happen... 😃

To add to what @itizir said, if you want to verify what version of SQLite is actually being used by your application, you can leverage the Version function. https://pkg.go.dev/github.com/mattn/go-sqlite3#Version

authors: codecov-io devfd dihedron itizir mattn msaron neilalexander rittneje


text:
Automate and clean up assets/img/posts/*

[x] Automate making an image folder for posts
[ ] And referencing images in those posts should use the pwd as that folder.

Ex. Image placed at img/posts/2020-hello-world/hello.jpg should be able to be referenced as ![img](hello.jpg) in 2020-hello-world post.

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
solobearchn, @alejob, @DevonFulcher, @JamieJ1, @ramasai1, @g-tejas, @sprig, @metalicjames, @Esusi, @CS-Aditya-Rawat, @MaxfieldLewin, @fentas, @gbaf, @thomasjpfan, @amitrao999, @RandyR34, @brianmhunt, @Ledjob, @KaiWangCanada, @BillWCJ, @ProfitSwitcher, @Liiuc, @pgom, @beelzebubba, @stanleywu111, @iamdaiyuan, @Locky7, @haloboy777, @SamuelBonilla, @deVIAntCoDE, @luketaverne, @matthieuh, @hrishikeshio, @TimChen314, @ripley, @xyang532, @92nqb, @yilongwen, @TomMonkeyMan, @jonkiddy, @cyprienhenry, @jsfour, @ifvictr, @leogau, @q20, @skaslev, @will123195, @webolizzer, @brettlangdon, @nickkjordan

I don't know if I like this anymore... cotes recently changed img_path to media_subpath so every post would need to get updated, which would change its last modified date (even though nothing materially changed).
Plus, editors can't auto-complete the paths unless they are referenced from /assets...
I think I'm going to close this issue for now.

authors: aviezab mattpopovich


text:
Switch to a Swift-friendly Base32 library

The current dependency for Base32 encoding and decoding exposes an Objective-C API which doesn't bridge nicely to Swift.

A prerequisite of this is probably converting the last of the legacy tests to Swift, since OTPTokenSerializationTests still uses the Objective-C Base32 interface.

@mattrubin Anything to help out here? I noticed that the current Base32 dependency doesn't play nicely with Swift 5.3.
/cc @nrubin29

@EmDee Help is always welcome! Can you clarify what issues the current dependency has with Swift 5.3? I'm not seeing any issues with Xcode 12 beta 3.

@mattrubin You're right. It was actually a problem on Carthage side (can't tell anymore, if it is due to missing Swift interface file, because the "Build for distribution" flag is not set, or because of this linker issue https://github.com/Carthage/Carthage/issues/3019).

authors: EmDee mattrubin

repo: mattrubin/OneTimePassword


text:
measuring the distance

do you have any idea how to measuring the distance of detected objects? I mean instate of presenting the FPS I want to display the distance of an object?

Hi @urbansound8K
For each detected object, we have information of its box:

Center position  x, y, z,
Size: sx, sy, sz
Yaw angle

You can compute distance = np.sqrt(x**2 + y**2 + z**2), then use OpenCV to write the information to the corresponding images

Hey there
Thank you very much for replying and your great job.
when I measured and disapplied the distance I got wired results.  it gives me extra results every time I display a new scene. to break it down, image that I have a scene with two objects, but the output of it is 5 values. Also, it display the last results only.


text:
🛑 VQ PROD MX is down

In 24809c2, VQ PROD MX (http://demomx.sidesys.com.mx/virtualqueue/index.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VQ PROD MX is back up in 38e63d1.

repo: mauribesson/upptime


text:
🛑 API transact - PROD is down

In 79ebc24, API transact - PROD (https://transact.prod.api.eflow.com.ar/swagger) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API transact - PROD is back up in 09fe3d7.


text:
🛑 API announcement - PROD is down

In bde27a4, API announcement - PROD (https://announcement.prod.api.eflow.com.ar/swagger) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API announcement - PROD is back up in 0960c5b.


text:
Clarification: need to start app in parallel to running tests?

Hey,
In the readme there's no mention of having to start the app in parallel of running the tests, however I found that when I start the tests without serving the app (in another terminal using npx ui5 serve) I receive this:
$ npm run test

> ui-product@1.13.0 test
> npx wdio run ./webapp/test/wdio.qunit.conf.js

Execution of 1 workers started at 2023-12-19T12:47:14.784Z

[0-0] RUNNING in chrome - file:///webapp/test/integration/opa5.test.js
[0-0] 2023-12-19T12:47:27.518Z ERROR webdriver: Request failed with status 500 due to unknown error: unknown error: net::ERR_CONNECTION_REFUSED
[0-0]   (Session info: chrome=120.0.6099.109)
[0-0] unknown error in "ui-specification.should pass OPA5 Tests"
unknown error: unknown error: net::ERR_CONNECTION_REFUSED
  (Session info: chrome=120.0.6099.109)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Context.<anonymous> (/Users/.../webapp/test/integration/opa5.test.js:4:9)
[0-0] FAILED in chrome - file:///webapp/test/integration/opa5.test.js

Is this just an oversight in the docs, or am I doing something wrong?

Hi @metzing,
You're not doing anything wrong, you must start the web server before starting the tests. Let me add it to the README to make that clear.
Thanks for pointing that out :)

Added to https://github.com/mauriciolauffer/wdio-qunit-service/commit/2c9018f35e0995f7d3e49d13ae7644f80aa41746

authors: mauriciolauffer metzing

repo: mauriciolauffer/wdio-qunit-service


text:
Support typescript typing

It would be super useful if this library had a typing file with it much like other cordova plugins. This will help code without making typos...
Your Environment
I'm using visual studio, and angular-cli on windows 10

Plugin version: 3.0.0-alpha.40
Platform: Android
Cordova version (cordova -v): 8.0.0
Cordova platform version (cordova platform ls): android 7.0.0
Plugin configuration options: N/A
Link to your project: https://github.com/IsraelHikingMap/Site/

Context
More of a feature request
Expected Behavior
Be able to code without typos using intelisence
Actual Behavior
Can't do it, need to copy the code from the documentation
Possible Fix
Typescript definitely typed.

Implemented in https://github.com/mauron85/cordova-plugin-background-geolocation/commit/d246db998763188691d5d623c5350d8157aee2d3
Closing. Reopen if necessary.

Looks amazing! Thanks!
From which version I should expect this?

Version with typings is not published to npm yet, but you can use typings today. One of the option is to install plugin from git.
Or copy following definition file to your existing package www folder.
https://github.com/mauron85/cordova-plugin-background-geolocation/blob/master/www/BackgroundGeolocation.d.ts
There are several other options how to add typings to your IDE, but not going to mention them here.
On GIF you're seeing Visual Studio Code with installed plugin from git and I believe also has some cordova plugin installed (but not sure if that's necessary).

FYI package is out in npm.

I have this error :(

Thanks for the update and the hard work but it seems there's an issue with the typings file:
ERROR in node_modules/cordova-plugin-mauron85-background-geolocation/www/BackgroundGeolocation.d.ts(471,18): error TS2304: Cannot find name 'AccuracyLevel'.
node_modules/cordova-plugin-mauron85-background-geolocation/www/BackgroundGeolocation.d.ts(472,20): error TS2304: Cannot find name 'AccuracyLevel'.
node_modules/cordova-plugin-mauron85-background-geolocation/www/BackgroundGeolocation.d.ts(473,17): error TS2304: Cannot find name 'AccuracyLevel'.
node_modules/cordova-plugin-mauron85-background-geolocation/www/BackgroundGeolocation.d.ts(474,21): error TS2304: Cannot find name 'AccuracyLevel'.

Seems like the AccuracyLevel is commented out.
Also please note that there are some guideline on how to add this typing file:
http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
Namely the types": "./www/BackgroundGeolocation.d.ts" in package.json. or use index.d.ts` file in the root of the npm package.
Let me know if you need a PR for this, I'm guessing this can be done in no time so the hassle of a PR seems a bit too much here, IMHO...
Thanks again!

@HarelM Thank you for pointing this out. Will fix the typing error soon.
About the publication part, you can prepare PR of course. Not sure why solution is "better", but in my preference keeping typings definition file name same as original js make more sense, then index.d.ts.
But it's more like a feeling. :)

I see the logic in using index.d.ts to reference the BackgroundGeolocation.d.ts file. In any case, it's probably a matter of taste. Maybe @djereg can add this as part of the fix to the comment. It seems like an overkill for me to open a PR for this, please forgive my laziness... :-)

@HarelM Thanks ans sorry, this is my banal mistake. Here is a conversation about possible fixes.
And yes, you are right about setting "types": "./www/BackgroundGeolocation.d.ts" in package.json. This is the right way. Will make PR in both repositories. @mauron85 it's okay?

Please do
On Tue, 6 Nov 2018 at 23:05, Györög Norbert notifications@github.com
wrote:

@HarelM https://github.com/HarelM Thanks ans sorry, this is my banal
mistake. Here
https://github.com/mauron85/react-native-background-geolocation/pull/314#issuecomment-436422419
is a conversation about possible fixes.
And yes, you are right about setting "types":
"./www/BackgroundGeolocation.d.ts" in package.json. This is the right
way. Will make PR in both repositories. @mauron85
https://github.com/mauron85 it's okay?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mauron85/cordova-plugin-background-geolocation/issues/487#issuecomment-436425958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAV8GohKWgmwYdyIyFJDegeRSnnWzExAks5usgfEgaJpZM4Wy4vV
.

Have you guys managed to make it work using angular (webpack)?
I just now had the time to test it, but I can't make compile without errors...
I have tried all kinds of things but nothing seems to work... :-/
import BackgroundGeolocation from 'cordova-plugin-mauron85-background-geolocation'
complains about channel:
./node_modules/cordova-plugin-mauron85-background-geolocation/www/BackgroundGeolocation.js
Module not found: Error: Can't resolve 'cordova/channel' in '...\node_modules\cordova-plugin-mauron85-background-geolocation\www'

/// <reference types="cordova-plugin-mauron85-background-geolocation"/> doesn't seem to do anything
adding to types in tsconfig.json also doesn't seem to do anything...
Any help will be appreciated.

@HarelM This issue has been resolved. I think your issue is separate thing discussed here:
https://github.com/mauron85/cordova-plugin-background-geolocation/issues/515

@mauron85 thanks! you're probably right. Thanks for the quick response!


text:
Building android version doesn't work

Hey,
I'm building on IOS, no problem.
But, when I'm trying to build on Android, I have this error message:
`A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find any version that matches com.google.android.gms:play-services-location:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/maven-metadata.xml
https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/
Required by:
:android:unspecified
Could not find any version that matches com.android.support:support-v4:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml
https://repo1.maven.org/maven2/com/android/support/support-v4/
Required by:
:android:unspecified`

I don't know how resolve this error. thanks for your help.

Check that you have all dependencies. Probably you're missing play services. Install all deps from android sdk manager.
https://github.com/mauron85/cordova-plugin-background-geolocation#android

Missi

@mauron85 would you mind reopening it?
It's conflicting with new Android SDK versions:
:generateArmv7DebugResources
:mergeArmv7DebugResources

:processArmv7DebugManifest
/home/yuri/codes/platforms/android/AndroidManifest.xml:27:9-31 Error:
        Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31
	is also present at [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38 value=(26.0.0-alpha1).
	Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:25:5-27:34 to override.

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:processArmv7DebugManifest FAILED

FAILURE: Build failed with an exception.


text:
Add New Register Option

Currently to register a single file a BankEmbeddedResource must be created. For multiple files in the same assembly this can be tedious/redundant.
A new register option can look like:
BankAssets.Register(Assembly assembly, string namespace, string[] Filenames, string urlPrepend)
There will need to be some sort of mapping of filenames to keys.

Original use-case for this was addressed in 1.4.5. If that strategy is genericized with automatic mapping of content type from file extension, a GenericFolderStrategy can be added.

repo: mavickers/Bank


text:
variables nested member expression bug

I had a sneaking suspicion that something was off with the recently merged variables function with regards to how it handles member expressions, and looks like I was right. Specifically, expressions like foo[bar] don't get parsed correctly due to this line in the function:
const propertyChildren = property.type === "Identifier" ? [] : variables(property);

The issue with this approach is that these two expressions: foo.bar, foo[bar] have nearly identical node structures, except the computed property, which is true for foo[bar] (and generalizes to being true for any member expression that uses square brackets) and false for foo.bar (and generalizes to false for any member expression that uses dot notation).
The fix is easy; it only requires updating the bad line show above to the following line:
const propertyChildren = computed ? variables(property) : [];

The code will successfully explore the property if the member expression uses square brackets (and thus may contain other variables), and will not explore the property if it uses dot notation.

I had a sneaking suspicion that something was off with the recently merged variables function with regards to how it handles member expressions, and looks like I was right. Specifically, expressions like foo[bar] don't get parsed correctly due to this line in the function:
const propertyChildren = property.type === "Identifier" ? [] : variables(property);

Btw as a tip, rather than pasting a single line, it's better to also link to lines in the source like so: https://github.com/mavoweb/vastly/blob/main/src/variables.js#L29
You can obtain such a link by clicking on the line number, and you can even do whole ranges.
I had to look up that line in the source, as I have no idea what it did in isolation.

The issue with this approach is that these two expressions: foo.bar, foo[bar] have nearly identical node structures, except the computed property, which is true for foo[bar] (and generalizes to being true for any member expression that uses square brackets) and false for foo.bar (and generalizes to false for any member expression that uses dot notation).

Good catch! I should have caught that in code review.

The fix is easy; it only requires updating the bad line show above to the following line:
const propertyChildren = computed ? variables(property) : [];

The code will successfully explore the property if the member expression uses square brackets (and thus may contain other variables), and will not explore the property if it uses dot notation.

No objection at all, and good research. 👍🏼
My only advice would be, it's more customary to file the bug as soon as you have enough data about what cases reproduce it, and do the exploration on the cause later or even as part of the PR. Here you've basically outlined the PR in the first post, i.e. you've waited to file the bug until you had also fixed the bug, which may work for small/early projects but in general it doesn't let you get any help and doesn't give anyone else the chance to help.

Got it, noted for future bugs like this!

repo: mavoweb/vastly


text:
Bump docfx to 2.62.2 and dotnet sdk to 7.0.201

Closes #13

Codecov Report

Merging #14 (aa07cfd) into master (039e5cd) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   48.85%   48.85%
=======================================
  Files          30       30
  Lines        1224     1224
  Branches      121      121
=======================================
  Hits          598      598
  Misses        600      600
  Partials       26       26

authors: codecov-commenter mawosoft

repo: mawosoft/WindowsSearchManager


text:
Min edit distance with sequence of variable length

I have a question that I need to ask you. There are two different sequences, A and B. I need to compare sequence A with sequence B to find the segment on sequence B that has the smallest editing distance from sequence A. If I take the length of sequence A as the window and move one distance on sequence B each time, the following problem will occur.

If the length of the fragments on sequence B is not fixed, for example, if the length distribution is [len (A) -2, len (A)+2], the results will be more accurate, but there will be significant performance loss. I would like to know if you would have a better way to solve this problem. Looking forward to your reply.

For this use case you would probably want to use Smith Waterman. I have plans to add this to rapidfuzz for a while already: https://github.com/maxbachmann/RapidFuzz/issues/175 however I am not really sure when I will get around to it.

repo: maxbachmann/rapidfuzz-rs


text:
Upgrade to PostCSS 6.x

Updated dependencies.
Fixed #23

Thanks!

authors: Semigradsky maximkoretskiy

repo: maximkoretskiy/postcss-initial


text:
Fixed ActiveRecord support and made flash messages work with sinatra-flash

Cleaned up a bunch of loose ends and got ActiveRecord support working fully.

Now works with sinatra-activerecord. All functionality works as expected. Tested all views.
Normalized ar files names.
Made sure rake db:create works by rescuing the setup if it fails (fails on non existent db).
Changed checks for session[:user] to use logged_in? instead.
Changed flash code to detect the flash object, enabling the use of sinatra-flash
Added simple user cache for current_user. That way multiple accesses don't hit the db.
Changed edit page to 'Edit Profile', and capitalized some links. Also added -'s between so they look a bit nicer.
Removed display of notifications in the default views. They are in most people's global layout, so they shouldn't be in the base.
Fixed ArApp to use public_dir instead of public.

Any status on this?

repo: maxjustus/sinatra-authentication

license: unlicense


text:
🛑 Infrastructure Canada / Infrastructure Canada is down

In e48908c, Infrastructure Canada / Infrastructure Canada (https://www.infrastructure.gc.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Infrastructure Canada / Infrastructure Canada is back up in 8c83d88 after 14 minutes.

repo: maxneuvians/etat-status


text:
🛑 Canadian Transportation Agency is down

In 7e81a02, Canadian Transportation Agency (https://otc-cta.gc.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Canadian Transportation Agency is back up in 1f2a51f after 6 minutes.


text:
Suggestion: Inequality constraint handling method

Dear all,
I would like to thank you very much for your useful repository. I was working with the C/GMRES method for my PhD with the Maple interface and I enjoyed a lot.
I would like to introduce you the transformation method which can increase the capability of the CGMRES in handling the inequality constraints in a robust way. Please find the following link for your information. I would be very happy to have these methods also in your tool.
Fischer-Burmeister method (page 5: Semi-smooth Transformation):
https://www.sciencedirect.com/science/article/pii/S2405896315025926
Thesis (inequality constraints):
https://deepblue.lib.umich.edu/bitstream/handle/2027.42/120832/huxuli_1.pdf?sequence=1&isAllowed=y
Smoothed Fischer-Burmeister Method:
https://arxiv.org/pdf/1807.03214.pdf
My PhD thesis:
http://orbilu.uni.lu/handle/10993/36164
Thank you very much for your kind consideration in advance. Keep up the good work.
Best regards,
Amin

Thank you so much for introducing very interesting researches.
It seems really useful and I consider incorporating your method into this tool.

Thank you very much Mayataka, for your kind response. If you believe that I can be helpful, please feel free to contact me. I would be more than happy to contribute in this project. Wish you all the best.

I have added a .ipynb example of obstacle avoidance of a mobile robot as an example of the semi-smooth Fischer-Burmeister method. In that example, I verified that it works well for both control-variable inequality constraints and state-variable inequality constraints.
Thank you so much for the nice suggestion.
If there is something wrong with the example, or if you can provide me further suggestions, feel free to reopen this issue.

Thank you very much for your kind consideration. It looks very good. Wish you all the best.

authors: asadjadi mayataka

repo: mayataka/CGMRES


text:
Fix double emission of click event on mobile

Not sure if I did everything right, but it works for me. Fixes #24.

Excellent! Solves the problem wonderfully for me. Hope this change gets merged soon.

Thanks 👍

@ip @michaelvogt No thank YOU! Sorry for the delay 😭

authors: ip mayognaise michaelvogt


text:
No such file or directory: 'Your dataset path/caption_rm2048_train.csv' #26

Same issue for caption_rm2048_train.csv, it is not available in https://github.com/microsoft/XPretrain/tree/main/hd-vila or https://github.com/microsoft/XPretrain/tree/main/hd-vila-100m.
Could you please point me to the place where you found it?
Appreciate your help

Sorry, don't need to repeat your question, as for caption_rm2048_train.csv, we applied server dataset which was downloaded several months ago. please give me your email, I will send it to you.

authors: Lionelding mayuelala

repo: mayuelala/FollowYourPose


text:
Ask confirmation before installing python packages

The installation of python dependencies should be done by leveraging slicer.util.pip_install and slicer.util.confirmOkCancelDisplay.
Consider reviewing the following for examples:

https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#install-a-python-package
https://github.com/PerkLab/SlicerSandbox/blob/e163d61c5babc25f53badb87f64cf4d123243c36/ImportOCT/ImportOCT.py#L44-L55
https://github.com/SlicerMorph/SlicerMorph/blob/03d69077f35acda4012f830898e82657bb29e2b8/ALPACA/ALPACA.py#L182-L202

@jcfr Thank you for the recommendation! Your request has been implemented in the following commit:
https://github.com/mazurowski-lab/SlicerSegmentWithSAM/commit/a38e2c6747817bfba3046391ade610bb13b4104e

authors: Zaferyildiz jcfr

repo: mazurowski-lab/SlicerSegmentWithSAM


text:
Querying and downloading images pop up windows, can they be incorporated into main view window?

These two windows are small and disappear behind applications, would be nice to incorporate these tasks as status bars on the main Gridview window rather than pop up windows that are hard to locate with a lot of windows open on a computer.

@kwalz Can do!

@kwalz @kevinsbarnard Is this done?

@lonnylundsten No, this wasn't done, we decided to implement this in an updated version of Gridview, we tabled it to that new version and Kevin moved it to ToDo and added GUI in label (see above). We will want to keep all these notes for an updated Gridview.

authors: kevinsbarnard kwalz lonnylundsten

repo: mbari-org/vars-gridview


text:
persian numbers

It would be nice if persianNumbers is a property.

@alidehghan This feature added in version 3.3.0 and you can see usage persianDigits prop here on the Demo page.

authors: alidehghan mberneti


text:
Fix minor bug in exponent notation interpolation.

It wasn't matching xe+y correctly.

I shortened the regex a bit too, with no performance impact.

Merged into 2.5.0.

authors: jasondavies mbostock

license: ISC


text:
Latest patch release (1.6.21) should be a major release; causes breaking changes.

#265 is a breaking change. According to semver, this should be released with a major version bump, not a patch-level update.
The latest release of topojson causes breaking changes if installing via bower (the /build folder is never created). Anyone who has installed this package with bower now faces failing builds and/or must update their own dependencies to an older version of topojson.
Can you release another patch-level version with those changes reverted? Then the changes from #265 can be released with a major version.

I removed support for Bower because I’m tired of managing generated files in the git repository, and Bower doesn’t support publishing generated files. Unfortunately, there’s no way to stop publishing new versions to Bower. So, my only option is to unregister it from Bower entirely. Do you want me to do that?

Also, I don’t consider this a breaking change from a semver perspective. (Yes, it breaks Bower, but only because I can’t stop publishing to Bower without unregistering, which also breaks Bower.) As I wrote in #267:

I apologize for the inconvenience, but I do not consider the names of the source files in the git repository to be part of the public API. The public entry point is defined by the “main” entry in the package.json file when using CommonJS (e.g., Node), or the “browser” entry when using Browserify.
In other environments, the location of the UMD bundle is at your discretion. You can build the bundle yourself, or you can access the bundle from the npm registry, the GitHub release, the hosted copy on d3js.org, or a CDN of your choice.

It's a breaking change for anyone using the package with bower. Two options you've presented:

Implement commit 722e3e0
Unregister from bower entirely

but you also have another option:
3. Bump the major version to 2.0.0, and then implement 722e3e0
For those of us using the package in bower, pointed at version ~1.6.20, options 1 and 2 break our projects, but option 3 does not. The end result is the same - you can stop supporting bower. It just doesn't violate semver guidelines (and more importantly, the build for projects using bower).

This is unfortunate. Given that my projects use bower I would have expected a major release as well.

How does bumping the version to 2.0 help? Installing version 2.0 on Bower will still be broken.

Installing 2.0 on Bower would be broken in the suggested Option 3. But any project with "~1.6.19"  would not longer break by default; it would require a conscious change on the developer's part to specify a "~2.0.0" version dependency (or "*", if you want latest and greatest all the time).

The issue is that a repository that worked yesterday, that I literally changed nothing with, doesn't work today. The point of semver is that you can specify a major and minor version and trust that day-to-day nothing will break as patch releases are released, as long as the use of the package is "as advertised". This patch version broke this trust.

(also, regarding #267, you honestly should have bumped the major version there as well - if the file is present in node_modules/topojson when running npm install topojson, I expect them to only change with a major release bump)

As I’ve already stated, the names of the source files in the git repository weren’t part of the public API, and changes to the public API were backwards-compatible.
I suppose I could repoint Bower at a different repository containing the generated files, and then setup an automated process to copy the generated files from this repository, as bower-chosen does.

Sure, you could do that, but wouldn't bumping the major version number be easier? In the long run it would be no different from leaving things as they are.

Bumping the major version number is a pain for everyone else that is not affected by Bower. Also, bumping the major version number would still make bower install topojson broken.

Eh, not really a pain. What's currently working will still work for them, and if they want new features/bugfixes they can bump the version they're including in package.json. Not too much of a pain (especially compared to a project's build breaking for no apparent reason).
Here's how @bendrucker, who has several packages at medium adoption levels, approached this - https://twitter.com/bendrucker/status/605855408247312384

Okay, I’ve repointed topojson at topojson-bower. I back-filled all the old release tags, so it should work with all versions. Let me know if that works for you.

Thanks! :)

Much appreciated. =)

Sorry for all the hassle!

Thank you!

authors: alatzl chris-clm09 jkjustjoshing mbostock

repo: mbostock/topojson


text:
Unable to locate the access_token

Hi,
I'm testing the Copilot module but cannot extract the token. I modified the get_substrate_bearer_office.js script to deal with the MFA using an interactive session.
I followed https://labs.zenity.io/p/access-copilot-m365-terminal to locate it manually without any success.
Do you know if Microsoft has changed something?

Finally, I was able to extract it manually from Teams, but the URL has changed.

Hi @CyrilleFranchet, thanks for raising this.

It seems that the user journey for getting the token has indeed slightly been changed recently by Microsoft.
This update seems to cause errors in getting the Teams substrate token in some cases, so we'll update the journey and the timeouts shortly as needed to provide a fix and will update.

authors: AvishaiEZen CyrilleFranchet

repo: mbrg/power-pwn


text:
Version Number not showing

Version Number absent from the 0.9.7(?) update (2/12/22) main page.  Companion.exe is dated 1/30/22.  (I thought it was to have been added.)  So not sure whether the update installed properly.

Looks like was not installed properly. Can you look at Add or remove programs, search for Toolkit and check what version you see there:

(you need to click on OpenXR-Toolkit for the version to appear).

Thx for quick response.  It says 0.9.7.  (I edited my OP)  EDIT - Ah, I uninstalled & reinstalled.  All ok - (Beta-2 (v.0.9.7) is active" now showing.  Sorry for confusion.

No it's weird. I was able to reproduce this issue upgrading from 0.9.6 to 0.9.7. So I think it's a real bug too.

Ah. Ok.  (Our msgs crossed.)  All ok here now.  Will be trying the
SU-VIII beta with this 0.9.7 toolkit tomorrow.  I have low end system

i7 8700K and GTX 1080 - so you guys' work is a godsend.  Thank you!

-Ron L.
NJ USA
Date sent:	Sat, 12 Feb 2022 15:24:29 -0800
From:	Matthieu Bucchianeri @.>
Send reply to:	mbucchia/OpenXR-Toolkit @.>
To:	mbucchia/OpenXR-Toolkit @.>
Copies to:	rkl122 @.>,
Author @.***>
Subject:	Re: [mbucchia/OpenXR-Toolkit] Version Number not showing (Issue #175)
No it's weird. I was able to reproduce this issue upgrading from
0.9.6 to 0.9.7. So I think it's a real bug too.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID:
@.***>
--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

I can help if  help in authoring msi archives is needed.
Also the proper display in the windows uninstall dialogs.
I do that for living as a professional software-deployment engeneer.
So please ask

Thank you. It's a simple issue to fix, and it will be done for the next release!

authors: abtzero mbucchia rkl122

repo: mbucchia/OpenXR-Toolkit