Knex randomly produces invalid syntax.

Hi, I am experiencing a really weird issue where Knex suddenly started generating invalid syntax SOMETIMES. However upon closer inspection trying the SQL it claims it generated works without errors.
Here's the stacktrace:
https://pastebin.com/raw/ving5Zat
Knex has worked fine for me for a while, then suddenly started acting up so I tried switching from MySQL2 to MySQL driver. No changes. This is also very random and the only thing that changes for every query is the identifier in which I have checked for any incorrectness... and there isn't any.
There's a connection pool with 6 connections at most.
MariaDB version: 10.1.23-MariaDB-1~xenial
Node v7.9.0
Npm v4.2.0
Ubuntu 16.04.1 LTS
Let me know if there's something else you need.

Could you send the knex code, which generates that query shown in stack trace?

this.knex.select(             'votes.id',             'votes.player',             'votes.ip',             'servers.is_active',             'servers.secret',             'sites.domain'         ).from('votes')             .join('servers', 'votes.server_id', 'servers.id')             .join('sites', 'votes.site_id', 'sites.id')             .where({                 'votes.checked': 0,                 'servers.is_active': 1,                 'servers.identifier': identity             }).limit(100)
Here's another stack trace it just produced:
https://pastebin.com/raw/dkzH7CLc
I hoped it was 0.13.0 causing it because the issue seems less prevalent on 0.12.9 but I am afraid the issue occurs there as well.

That sounds really strange. Looks like somehow the sent sql string seems to be corrupted... what is sent to mysql driver is something like
knex.select( 'votes.id', 'votes.player', 'votes.ip', 'servers.is_active', 'servers.secret', 'sites.domain' ).from('votes') .join('servers', 'votes.server_id', 'servers.id') .join('sites', 'votes.site_id', 'sites.id') .where({ 'votes.checked': 0, 'servers.is_active': 1, 'servers.identifier': 'IDENTITY' }).limit(100).toSQL();
{ method: 'select',
  options: {},
  timeout: false,
  cancelOnTimeout: false,
  bindings: [ 0, 1, 'IDENTITY', 100 ],
  __knexQueryUid: '31d37a44-caac-4b7c-8648-ae034bd8d4ef',
  sql: 'select `votes`.`id`, `votes`.`player`, `votes`.`ip`, `servers`.`is_active`, `servers`.`secret`, `sites`.`domain` from `votes` inner join `servers` on `votes`.`server_id` = `servers`.`id` inner join `sites` on `votes`.`site_id` = `sites`.`id` where `votes`.`checked` = ? and `servers`.`is_active` = ? and `servers`.`identifier` = ? limit ?' }

Could you try to make test example (single runnable file) how this could be reproduced for example directly with mysql driver?
Also if you could test if this fails also with mysql or is this mariadb specific?
Other thing that could help to trace the problem would be to add some debug code to mysql dialect in node_modules/knex to see what is actually sent to driver to verify if the problem is in knex or in some other part in the setup.

Could you try to make test example (single runnable file) how this could be reproduced for example directly with mysql driver?

What do you mean? I have no idea how to replicate the issue as it randomly occurs and works fine most of the time... is there any point in me using the mysql client directly and running the query in a single runnable file?

Also if you could test if this fails also with mysql or is this mariadb specific?

Moving between databases could be problematic and time consuming, is there any reason to suspect this when knex used to work 100% of the time using MariaDB and nothing in that regard was changed?

Other thing that could help to trace the problem would be to add some debug code to mysql dialect in node_modules/knex to see what is actually sent to driver to verify if the problem is in knex or in some other part in the setup.

I'll try. I'll also try to capture the objects and dump them for later inspection if an error occurs.

Also take a look at this one:
https://pastebin.com/raw/QSh1wY6h
I've seen a couple of these too. They are mostly correct except I never wrote "serwezs", but instead "servers".... ?!

Can you post the surrounding code that causes the issue? We don't have too much to go on.
My guess is this is either on the driver level or the actual database server. It makes no sense to say that a new instance of the knex query builder sometimes generates the wrong sql string provided the same parameters and build-calls. If that were the case, there would most likely be way more reports on the matter (especially from production apps) and "sometimes" broken unit tests. For example knex would never randomly rename 'servers' to 'serwezs'.

Could you try to make test example (single runnable file) how this could be reproduced for example directly with mysql driver?

What do you mean? I have no idea how to replicate the issue as it randomly occurs and works fine most of the time... is there any point in me using the mysql client directly and running the query in a single runnable file?

Ok, I though you were able to reproduce this error. Unless there is a way to reproduce this it is pretty much impossible to be able to trace the root cause of the behaviour.
As @wubuzz mentioned there shouldn't be any reason why knex would build the same query differently. Do you have multiple environments where this happens? Is your server installed locally? Does this happen also with node 6?
Could it be that the server has broken memory or some other hardware failure? Can you run memory tester on the server or is it virtualized?

Also if you could test if this fails also with mysql or is this mariadb specific?

Moving between databases could be problematic and time consuming, is there any reason to suspect this when knex used to work 100% of the time using MariaDB and nothing in that regard was changed?

Nothing has changed in that regard. I thought that if it only would happen on mariadb, in that case there could be something strange difference in driver -> DB protocol (but I'm quite sure that is not  the case).

Do you have multiple environments where this happens? Is your server installed locally? Does this happen also with node 6?

I only have one environment with node 7.9.0 which it has ran fine on for a while.
The server is not local, it is production... And the issue is so rare that we're talking about 1-2 queries per couple of 10k queries. But it's enough to be able to cause issues and make me get spammed with exception reports (which I want because other issues may occur).
Running a memory test could be difficult... It's a virtualized server over at Scaleway and I have created a brand new server that I restored from my snapshot and both servers have the very same problem.

I would rule out hardware failure too for now since they are virtual servers... maybe some networking error?
Only thing I could think of for debugging this further is to check what is passed to msyql driver from the knex by adding debug prints what are the values for sql and bindings here: https://github.com/tgriesser/knex/blob/master/src/dialects/mysql/index.js#L110
It will at least rule out that knex is not causing those problems (and in the best case reveals bug in knex).

I managed to capture something but it was in the lib and not src folder.
I left the output intact so you can take a look, gonna have to regenerate the user's identity now but at the very least you should see the output. This time it's a invalid utf8 character?..
https://pastebin.com/raw/q5AcCkpn

According to your debug pastebin the query that was passed to mysql driver was correct. So looks like that problem is outside of knex and there is not much we can do to help.
3|pocketvo | { sql: 'select `votes`.`id`, `votes`.`player`, `votes`.`ip`, `servers`.`is_active`, `servers`.`secret`, `sites`.`domain` from `votes` inner join `servers` on `votes`.`server_id` = `servers`.`id` inner join `sites` on `votes`.`site_id` = `sites`.`id` where `votes`.`checked` = ? and `servers`.`is_active` = ? and `servers`.`identifier` = ? limit ?' }
3|pocketvo | [ 0, 1, '45KMM4N26EGR', 100 ]

Now that you know that mysql driver is getting correct data in, maybe people in mysql driver's issues knows if someone has experienced something similar.
Those errors that has garbage in are the ones returned by the db server, so it is not related to knex either since knex just shows the error that server returned and in this case there are some utf8 garbage in.
Sorry for not being able to help with this more. Closing, since there are no signs that this problem is actually caused by knex.
First I would try to downgrade node to version 6 and start downgrading other npm packages to see if the problem vanishes that way.

An update for anyone who might experience something similar. I moved away from Scaleway due to a network latency issue between the server hosting MySQL and the one hosting the API, turns out there also was packet loss.
On my new host this has not been an issue anymore.


New version: Surrogates v6.9.0

Registering package: Surrogates
Repository: https://github.com/SciML/Surrogates.jl
Created by: @ChrisRackauckas
Version: v6.9.0
Commit: b66096ee283cf6b1060359b723ef629683b8366e
Reviewed by: @ChrisRackauckas
Reference: https://github.com/SciML/Surrogates.jl/issues/404#issuecomment-1872109335
Description: Surrogate modeling and optimization for scientific machine learning (SciML)

General hasn't updated to v1.10 tests?


Deploy via Windows 8 / 8.1 Client Hyper-V

Enhancement request - I'd like to use Docker with a Linux guest running on the "native" Windows virtualizer, Client Hyper-V, rather than VirtualBox. How hard is this?

yup. however, to be clear, implementing this should not be called only - I started work on it, but it needs admin rights, which many don't have, and worse, on OSX turned out to be unreliable.
https://github.com/boot2docker/boot2docker-cli/pull/247 is where I was experimenting with it before we shipped the vbox shares -

OSX couldn't use nfs instead? - I would best-guess so.
For my understanding:
On windows, there would be need for a dedicated user, right? - this is why admin rights would be required (one-time), not quite so in order to modify the file permissions. Or did I miss something?

yup, iirc, i had some weird errors or corner cases to deal with on NFS and OSX, and of course, you have to get root access every time
and the same on windows - you don't need to make a user, you need to create a share, which is also a privileged operation.
Mind you, I was also trying to avoid sharing /Users...
and avoid sharing that share on the network (ie restricted to the virtual host only network)
its all in the details :)

;-D Well on the long run it's probably worth it, as this was some PITA in order to get sourcecode from my windows IDE onto docker and back and forth and, .... well it's still a mess ;)


gzip feature request

 Issue by azerafati
Saturday Feb 21, 2015 at 09:55 GMT
Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/90

coming here from using Yui compressor plugin, I'm enjoying everything.  But I miss the ability to create a gzipped version of my compressed files beside them
in YUI there is the option
true
this feature would be really appreciated, if it could also gzip files based on a filter so that we could gzip files of closure and yui and also already minified files which we excluded in configurations.

 Comment by samaxes
Wednesday Oct 26, 2016 at 23:01 GMT

I don't have plans for adding GZIP support to the plugin myself.
But you are welcome to have a look at PR #114 and submit a working pull request.

Is there any reason to have this? Files should be compressed by the server.


App navigation tabs are wonky

On production, I am still seeing an issue with multiple tabs being 'active' or the incorrect tab being 'active'.  To reproduce, just visit an app: https://diesel.aptible.com/apps/367 and toggle between Domains and Activity.
Two active tabs (I'm not hovering):

Incorrect active tab:

DOM shows incorrect tab still has active class:

@sandersonet I believe this is due to:
https://github.com/aptible/api.aptible.com/pull/182
The exception from the unhandled failure leave the runloop in a broken state.
This request (images) should probably not be made anyway, as the data is already sideloaded. Regardless I'd like to see the CORs fix go to staging and test this there first.

Confirmed, fixed by  aptible/api.aptible.com#182

I'm still seeing this on staging, where I've deployed the latest revs of everything (and no longer see that CORs error).

You're right.  the CORS error was causing the incorrect tab to be active, but something else is causing both tabs to be active.


How do we make element creation and lookup both type safe and convenient.

As it is now you create an element by doing document |> Document.createElement "img" which gives you an element that you'll then have to cast down to an htmlImageElement to be able to use it with functions specific to that type of element. Even though you know damn well that you've just created an htmlImageElement the type system does not. So how do we force-feed it?

Add element-specific create methods, e.g. HtmlImageElement.create. Can we then hard-code this to document.createElement or are elements bound to a specific document instance?

Could we use GADTs somehow? e.g.

type elementType =
| ...
| HtmlImageElement : <put magic here> -> htmlImageElement

let imageElement = document |> Document.createElement HtmlImageElement

The issue is similar with getElementsByTagName and perhaps other functions.

You could do something like:
type image

external src : image -> string -> unit = "" [@@bs.set]
(* .. add function on image *)

type paragraph
(* .. add function on paragraph *)

type link
(* .. add function on link *)

type _ kind =
  | Image : image kind
  | Paragraph : paragraph kind
  | Link : link kind

module Document : sig

  type t

  val dom : t

  val createElement : t -> 'a kind -> 'a

end = struct

  type t

  external dom : t = "dom" [@@bs.val]

  external createElementEx : t -> string -> 'a = "createElement" [@@bs.send]

  let createElement :
    type a. t -> a kind -> a =
    fun t kind ->
      match kind with
      | Image -> createElementEx t "img"
      | Paragraph -> createElementEx t "p"
      | Link -> createElementEx t "a"

end

let ()  =
  let img1 = Document.createElement Document.dom Image in
  src img1 "blah.jpg";
  let p1 = Document.createElement Document.dom Paragraph in
  src p1 "blah.jpg" (* Compilation Error *)

@mransan Thanks! This is precisely what I was thinking of, but unable to actually formulate.
So then we'd have to maintain a massive variant, and a massive match in createElement and any other similar functions., as opposed to maintaining a whole boatload of separate functions in each element's module.
What does this mean for the extensibility and maintenance of the API as the DOM and HTML specifications change? This is of course the classic expression problem, but which is more important for a DOM API, the ability to easily add new kinds, or the ability to easily add new functions that operate on them?
Pros:

We won't need to add otherwise empty modules for element interfaces that don't add any additional functionality.
getElementsByTagName would certainly be more intuitive to use
This could theoretically be used even for functions such as getElementById
Is user extensible
The same pattern could be applied to e.g. nodeType.

Cons:

Will produce a big switch that adds to code size and runtime cost for each function that will use this
Confusing interaction with subtyping?

I'm just thinking out loud here. What are your thoughts on the tradeoffs?

Regarding getElementById, you would also have to do some check to make sure the element tag name is matching the GADT constructor no ?

Yeah you'd have to check the tagName, which I doubt we want to do for the default "getElementById", but we could perhaps have an overload that does it. But it's nice to have the option at least, and it will probably be useful for other functions too.

Definitely something like:
val safeTagNameCast : 'a -> 'b kind -> 'b

Could be re-used!

@glennsl I need to understand the subtyping better before making an opinion :)

Understandable. Fortunately I wrote an essay on it :grin:


Unable to get token

I did aws-mfa --setup
created a test profile (in the key/secret you are unable to see what is entered)
I then did:
aws-mfa --duration 1800 --device arn:aws:iam::000000000000000:user/user.name --profile test
INFO - Validating credentials for profile: test
**INFO - Short term credentials section test is missing, obtaining new credentials.**
Enter AWS MFA code for device [arn:aws:iam::000000000000000:user/user.name] (renewing for 1800 seconds):000000
INFO - Fetching Credentials - Profile: test, Duration: 1800
ERROR - An error occured while calling assume role: An error occurred (AccessDenied) when calling the GetSessionToken operation: MultiFactorAuthentication failed, unable to validate MFA code.  Please verify your MFA serial number is valid and associated with this user.
`
Ive tried various combinations, I logged into the console with the MFA codes so I know it works manually.

Hi There,
It would appear that the ARN of your MFA device is incorrect: arn:aws:iam::000000000000000:user/user.name

On Apr 29, 2018, at 13:39, Phil Pearce<EMAIL_ADDRESS>wrote:
I did aws-mfa --setup to create a test profile
I then did:
aws-mfa --duration 1800 --device arn:aws:iam::000000000000000:user/user.name --profile test
INFO - Validating credentials for profile: test
INFO - Short term credentials section test is missing, obtaining new credentials.
Enter AWS MFA code for device [arn:aws:iam::000000000000000:user/user.name] (renewing for 1800 seconds):000000
INFO - Fetching Credentials - Profile: test, Duration: 1800
ERROR - An error occured while calling assume role: An error occurred (AccessDenied) when calling the GetSessionToken operation: MultiFactorAuthentication failed, unable to validate MFA code.  Please verify your MFA serial number is valid and associated with this user.
`
Ive tried various combinations, I logged into the console with the MFA codes so I know it works manually.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

:facepalm:


Support left-, right- and two-tailed anomaly detection in general

In many cases, we want to generate anomalies only if observations fall too far on either one or the other side of some point forecast. For example, for bookings, we generally care more about bookings drops than spikes. (Bookings spikes can be anomalous and interesting too, but generally we care more about drops.) Another example would be Haystack telemetry, where we care about spikes in the error rate, latencies and durations. We would care about both spikes and drops in request volume.
We already support one-/two-tailed constant threshold detectors, but not others. We need to extend this support to some common cases, including EWMA, PEWMA and Holt-Winters. The solution should be such that we can apply it to other detectors based on point forecasts.
Start with:

EWMA
PEWMA
Holt-Winters

One of the interesting things I notice is that we use AnomalyThresholds in two distinct ways. We use it to define model params for constant threshold detectors. But the other detectors use it to describe an interval forecast at a given point in time.
I don't think we want to use it in both of these different ways. In particular I don't think it's appropriate for specifying model params because in most other cases we specify sigmas or some other relative way of defining bands. I'm thinking that we make band-related params explicitly so, and recast anomaly thresholds as interval forecasts.


base 64 image

Hi, are base64 images supported?

See https://stackoverflow.com/questions/46145472/how-to-convert-base64-string-into-image-with-flutter
Convert your base64 image in preProcessing.


Minor layout improvements (data download & switch to table preview)

This PR:

fixes scrolling in published chart,
fixes sizing & display of published chart (consulted with @AnninaWalker),
updates DataDownload UI,
changes the order of footnotes items,
adds a label to switch to table icon,
introduces new sorting arrow icons to Table Chart.

@bprusinowski I discovered one thing. I the published chart I see now this grey area at the bottom of the card. Not sure where this is coming from.

@AnninaWalker could you share a link and information on which browser you used when you encountered this bug? I can't replicate it :(

@bprusinowski I used Google Chrome Version 100.0.4896.75 (Official Build) (x86_64)
Still see the bug on your deployment link


Desktop (Beta 1.11) Can no longer copy text

On the new 1.11 Beta, the copy text behavior after right-clicking a specific message is no longer functioning:

done


Update nwp.py

[ ] Closes https://github.com/SolarArbiter/solarforecastarbiter-core/issues/793 .
[ ] I am familiar with the contributing guidelines.
[ ] Tests added.
[ ] Updates entries to docs/source/api.rst for API changes.
[ ] Adds descriptions to appropriate "what's new" file in docs/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[ ] Maintainer: Appropriate GitHub Labels and Milestone are assigned to the Pull Request and linked Issue.

The current NWP fetch process only grabs HRRR (hourly) out to 36 hours (for cycles where it goes out more than 18 hours), but HRRR has forecasts out to 48 hours (https://github.com/SolarArbiter/solarforecastarbiter-core/issues/793). This addresses that issue.
I would have also addressed the issue with RAP going out to 51 hours for some cycles, but I have not been able to successfully fetch RAP NWP files to test it (see https://github.com/SolarArbiter/solarforecastarbiter-core/issues/699), so I ignored that one.
I did run some quick tests with the changes to HRRR and I was able to successfully fetch and process grib files out to 48 hours for the relevant cycles. Someone let me know if documentation of that is needed. Similarly, I'm not sure what is needed for the checklist above, so let me know if I need to take other steps for tests, documentation, etc.

Thanks @williamhobbs. I'll start reviewing and can follow-up with any revisions needed, including what's needed for the checklist above.


Are you planning to support for vue 3?

Itoastui-vue-editor.js?4ede:7 Uncaught (in promise) TypeError: Cannot read property '_c' of undefined
at Proxy.i (toastui-vue-editor.js?4ede:7)
at renderComponentRoot (runtime-core.esm-bundler.js?5c40:710)
at componentEffect (runtime-core.esm-bundler.js?5c40:4193)
at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
at effect (reactivity.esm-bundler.js?a1e9:17)
at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4176)
at mountComponent (runtime-core.esm-bundler.js?5c40:4134)
at processComponent (runtime-core.esm-bundler.js?5c40:4094)
at patch (runtime-core.esm-bundler.js?5c40:3715)
at mountChildren (runtime-core.esm-bundler.js?5c40:3897)
This is an error message I got. It seems because of the version of vuejs.
There already have the same issue(#1226 ), but No answer, so I post again.
and Is there a way to apply vue3 for this editor?
`
{
"name": "front",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@toast-ui/editor": "^2.5.1",
"@toast-ui/vue-editor": "^2.5.1",
"codemirror": "^5.59.0",
"vue": "^3.0.0",
"vue-router": "^4.0.0-0",
"vuex": "^4.0.0-0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "^3.0.0",
"@vue/eslint-config-airbnb": "^5.0.2",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-vue": "^7.0.0-0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/vue3-essential",
"@vue/airbnb"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}
`

@youngpark17 There are plenty of plans to update to Vue 3. However, the Editor 3.0 is currently under development, and it is necessary to check what issues there are when updating to Vue 3, so we plan to apply it after the major version update.

@youngpark17 There are plenty of plans to update to Vue 3. However, the Editor 3.0 is currently under development, and it is necessary to check what issues there are when updating to Vue 3, so we plan to apply it after the major version update.

There is still currently no support for Vue 3. I think this should be addressed, Vue 3 has been out for 2 years and is considered the standard going forward.


Feature request: Convert all internal link to wiki links

Hi,I would like to convert all links like  to ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png ]] . Currently it works with Convert to wikilinks but I have to position the cursor on the link, instead I would like it to apply to all links in the Vault regardless of whether it is like above or something else. Obviously you must not modify the https links.

I have this link:
i want to convert in wiki format, then ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png]]. I want to convert all internal link as    and .
I would also like the links with the pixels set to remain in case of conversion like:

or  to ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png|Active Directory Lightweight Directory Services (AD LDS)-20240314152831330|575]]
The function of the convert vault link it should convert all internal links like the link converter plugin does with the command palette: "link coverter: vault links to wiki", except that plugin doesn't convert as well as it does as your plugin does with the current option "links: convert to Wikilink".

Hello,
Thank you for your reply and the detailed example. It seems that the problem may be with the format of the link in the GitHub message. For instance, the source link I see in your message is either 530 or https://github.com/mii-key/obsidian-links/issues/Active%20Directory%20Lightweight%20Directory%20Services%20(AD%20LDS)-20240314152831330.png. Unfortunately, it’s unclear to me how to convert such source links to ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png]].
I assume you’d like to convert multiple local links in markdown format into wiki link format, but this isn’t obvious from the source links you provided in your reply.
Please enclose the source link in backticks (``) for clarity, and use the message preview to ensure that the source link appears as intended.
Thank you!

have this link: ![400](Active%20Directory%20Lightweight%20Directory%20Services%20(AD%20LDS)-20240314152831330.png)
i want to convert in wiki format, then ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png]]. I want to convert all internal link as example ![400](Active%20Directory%20Lightweight%20Directory%20Services%20(AD%20LDS)-20240314152831330.png) and  ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png]].
I would also like the links with the pixels set to remain in case of conversion like:
![400](Active%20Directory%20Lightweight%20Directory%20Services%20(AD%20LDS)-20240314152831330.png)
or  ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png|Active Directory Lightweight Directory Services (AD LDS)-20240314152831330|400]]  to ![[Active Directory Lightweight Directory Services (AD LDS)-20240314152831330.png|Active Directory Lightweight Directory Services (AD LDS)-20240314152831330|400]]
The function of the convert vault link it should convert all internal links like the link converter plugin does with the command palette: "link coverter: vault links to wiki", except that plugin doesn't convert as well as it does as your plugin does with the current option "links: convert to Wikilink".


ADS1118

Have you considered creating a library for the ADS1118?

Yes, actually I have,
(pause)
it is on my "bucketlist" since 2022 dec 6 (looked it up) but never needed one in a project as the ADS1115 filled my needs.
Furthermore, it was not possible to find a decent breakout so I could test with UNO and ESP32.
Don't know the current availability, do you know an ADS1118 breakout supplier? (Europe preferred).
So in short current status of my ADS1118 library is that it is somewhere on a list with 50++ other library-ideas.
Do you need it on short term?
Do you have special requirements for an ADS1118 library?
Functions that are not in the ADS1X15?
(You could sponsor the development, estimate it takes somewhere between 10-15 hours excl hardware testing)

I would be glad to do any testing for you, i have a test bed.

mouser says  181,34 euro.
expensive imho

What is sponsoring?

Sponsoring is that you donate money so my work hours are paid for and I can buy the hardware needed to test. The latter is an option if you do not need testing, or do the testing yourself.
Note: The library will be MIT licensed so everyone may use it, no warranties. Just like all my Arduino libraries.
You can also donate money because you use one or more of my (other) libraries for free and you appreciate them and you want to support my work. But it is not mandatory to sponsor, your decision.

Yes it is expensive. I put the ic on a schmart board and setup on a breadboard.  If you do the code I'll do the testing, it should be pretty much your same library code but using the spi lib?  I understand the licensing.  Let me know what you do.
Thanks,
Chuck Weaver

Hi Chuck,
Have you seen - https://github.com/denkitronik/ADS1118 ?
Seems a stable and tested library for the ADS1118,
Drawback is 2 open PR's and 11 open issues, oldest about 5 yrs, same age as last commit .
That said it might still meet your needs.

Let me know what you do.

I understand your proposal code / testing, but there is no reason/incentive for me to write it as I have no project that needs it.
Not now, and given its price not in the nearby future, sorry.
So ADS1118 stays on my todo list and eventually I write it in the future when time permits.

Ok thanks for your time.

You're welcome,
Also found this link which uses that library

https://electropeak.com/learn/interfacing-ads1118-16-bit-adc-module-with-arduino/

and I moved it some places in my "bucketlist"
Please let me know if the other lib meet your needs as that might be informative for other people
Thanks,
Rob

It seems to work ok, but when I was having what i think was a spi com issue (still don't know for sure) there is no error info reporting bad data, it just sent junk data.  Basically when it's working it's fine, but when something is off there is no way to troubleshoot.  Anyway I can live with it and maybe on the next design I'll use the ADS1115 but I'll need to add a board temperature sensor and read it with a lower resolution ADC on the teensy.
Thanks


Add example Apps in additional languages - Python

Summary

Ticket Link
Github Issue - https://github.com/mattermost/mattermost-plugin-apps/issues/351

This PR adds basic example of Hello-world app in Python language. It also includes the required requirements.txt file which will be needed.

Hello @dsharma522,
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.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

/check-cla

Codecov Report

Merging #352 (0be28a1) into master (4ada354) will not change coverage.
The diff coverage is n/a.

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

@@           Coverage Diff           @@
##           master     #352   +/-   ##
=======================================
  Coverage   27.30%   27.30%
=======================================
  Files          88       88
  Lines        5117     5117
=======================================
  Hits         1397     1397
  Misses       3570     3570
  Partials      150      150

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 4ada354...d73cd8a. Read the comment docs.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Would it be possible to improve the instructions so they include step-by-step guides for getting started? For example, link to python.org for install instructions, describe (or link to) how to install the dependencies in requirements.txt (or some other dependency manager like pipenv), what changes are necessary in `settings.json.
It would be best to include this information now, before merging, so it isn't missed in the future.


[WIP] General serializer

I'm not done but AFAIK it's completely generic now.

back in https://github.com/roblabla/ProtoDef/pull/14


[Bug] 5.5 * 2.2 gives wrong result

5.5 * 2.2 gives 12.100000000000001 which is wrong. It should be 12.1
Tested in 1.4.0
@bugwheels94

Same with:
4.4 * 2.1
4.4 * 2.2
1.1 * 4.4
and so on

This is same as JS. Try running these expression in browser console.

I see. Thank you @bugwheels94


Bump version of codingstyle-pom to 2.0.1

Codecov Report

Merging #69 (ad2bc9f) into master (002f87e) will increase coverage by 0.21%.
The diff coverage is 95.23%.

@@             Coverage Diff              @@
##             master      #69      +/-   ##
============================================
+ Coverage     94.26%   94.48%   +0.21%
- Complexity      193      198       +5
============================================
  Files            23       23
  Lines           593      598       +5
  Branches         23       23
============================================
+ Hits            559      565       +6
+ Misses           28       27       -1
  Partials          6        6

Impacted Files
Coverage Δ
Complexity Δ

...in/java/edu/hm/hafner/grading/AggregatedScore.java
89.00% <66.66%> (ø)
42.00 <0.00> (ø)

...a/edu/hm/hafner/grading/AnalysisConfiguration.java
94.87% <100.00%> (ø)
15.00 <1.00> (ø)

...main/java/edu/hm/hafner/grading/Configuration.java
100.00% <100.00%> (ø)
11.00 <4.00> (+2.00)

...a/edu/hm/hafner/grading/CoverageConfiguration.java
93.10% <100.00%> (ø)
10.00 <1.00> (ø)

...n/java/edu/hm/hafner/grading/PitConfiguration.java
92.85% <100.00%> (ø)
14.00 <1.00> (ø)

src/main/java/edu/hm/hafner/grading/PitScore.java
100.00% <100.00%> (ø)
7.00 <0.00> (ø)

...main/java/edu/hm/hafner/grading/ScoreMarkdown.java
100.00% <100.00%> (ø)
12.00 <2.00> (ø)

.../java/edu/hm/hafner/grading/TestConfiguration.java
96.87% <100.00%> (ø)
14.00 <1.00> (+2.00)

src/main/java/edu/hm/hafner/grading/TestScore.java
100.00% <100.00%> (ø)
6.00 <0.00> (ø)

...main/java/edu/hm/hafner/grading/JacksonFacade.java
40.00% <0.00%> (+6.66%)
4.00% <0.00%> (+1.00%)

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 002f87e...ad2bc9f. Read the comment docs.

@dependabot rebase


Update cycle_sort.cpp

Description of Change

Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

@Panquesito7 Sorry for taking your time in the same kind of file edit/PR again. Its because I contributed for the first time and just to get updates from the master repo to forked repo I forked it again. But I assure you that it won't take long for this PR since you already approved it and I have used the same code as before basically re-created the pull request.


How to merge cell

I want to merge cell when I export to excel file。but I don't know how to do this，is there an example which merges cell ? Thank you very much!

would also love to know this.

Nothing?

I dug through the code and I'm pretty sure they haven't implemented merging.  You can fake merging by changing the border color to white on cells that you want to look like they are merged.

Any update on Merge. I need to apply "Merge and Center" ( Merge cells and make the content center ).

Is there any way to merge the cells somehow? I used this component a lot in our react app. Even if it's not an implemented feature, could be possible to do some trick? Let's say to modify the code, but where in source?

Maybe someone has a solution how to simulate this option?


No error occurred when remote endpoint is not available | client 连不上控制面时未产生异常

目前发现 OpenSergo Java client 在连接控制面失败时（如 endpoint 错误或不通），没有产生异常，导致具有迷惑性，社区可以一起做下完善。

No error occurred when remote OpenSergo control plane endpoint is not available, which can be confusing.

The root cause has been found: the waitForReady attribute was enabled but no deadline was set (and there was no default timeout), so the gRPC stream was waiting for the connection ready, for a long long time...
https://github.com/opensergo/opensergo-java-sdk/blob/626eb8fe5769af579844acfca2062982dc3c2419/src/main/java/io/opensergo/OpenSergoClient.java#L61-L64
I'll add a default deadline for the gRPC stub. We may need to make it configurable later.
cc @jnan806 @panxiaojun233


Zoid Usage in React: Error: Driver support not enabled

Issue
Hi, been trying to learn how Zoid work with a React app. However, I am struggling to get the React web app to work with Zoid because it throws Driver support not enabled error at runtime.

The debugging attempt shows that the _proto is undefined on line 3316 in zoid.js, I am really not sure what's missing in the current setup in React App and couldn't find any relevant documentation or issue about it.
Any guidance for how to get around this issue would be very much appreciated.
Code
Here are the code that reproduce the issue:
In React app
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import zoid from 'zoid';

export let ZoidComponent = zoid.create({
  tag: 'zoid-component',
  url: 'http://localhost:8080/Index.html'
});

let ReactComponent = ZoidComponent.driver('react', {
  React: React,
  ReactDOM: ReactDOM
});

class App extends Component {
  constructor(props) {
    super(props);
    this.state = {
      hasError: false
    };
  }

  componentDidCatch(error, info) {
    this.setState({ hasError: true, error });
  }

  render() {
    return this.state.hasError ? (

Error occurred when rendering React App

    ) : (
      <ReactComponent loadComponent={'load Component'}/>
    );
  }
}

export default App;

Dependencies
Here are the references of the dependencies:
"dependencies": {
    "react": "16.8.6",
    "react-dom": "16.8.6",
    "redux": "4.0.1",
    "zoid": "9.0.24"
  },
  "devDependencies": {
    "@babel/core": "7.4.4",
    "@babel/preset-env": "7.4.4",
    "@babel/preset-react": "7.0.0",
    "babel-loader": "8.0.5",
    "webpack": "4.30.0",
    "webpack-cli": "3.3.2",
  }

Tried older version of React and React-dom as follow and doesn't work either and throws the same error
    "react": "16.2.0",
    "react-dom": "16.2.1",

FYI, same error is also present on demo/advanced/react-end-to-end/index.htm

this must be fixed asap

I've fixed demo/advanced/react-end-to-end/index.htm. Please use dist/zoid.frameworks.js

I'm facing the same problem on 9.0.27. Is this fix not released yet ?

Did you start using dist/zoid.frameworks.js?

`import zoid from 'zoid/dist/zoid.frameworks';
const ZoidComponent = zoid.create({
tag: 'hello-world',
url: ./child.html,
dimensions: {
width: '600px',
height: '400px'
},
prerenderTemplate() {
const html = document.createElement('html')
html.innerHTML = 'Pre-render'
return html
},
contexts: {
popup: true
}
});
let ReactComponent = ZoidComponent.driver('react', {
React: React,
ReactDOM: ReactDOM
});`
That's how it should be imported ?

import * as zoid from 'zoid/dist/zoid.frameworks.js'; solves that problem but I get this in the console afterwards


study specific vocabs in SAM floaters

@dmgaldi some specific questions i have:

does it make sense to add the new annotations to VariableDef? thatd be required to validate the variableSpec i think? or do we think theres a better way to do this?
whats this ss-internal thing im seeing? should this have been an internal endpoint?
assuming we add the new annotations to VariableDef and ReferenceMetadata, what else needs doing for me to be able to use them here and in the data service?

@dmgaldi some specific questions i have:
1. does it make sense to add the new annotations to VariableDef? thatd be required to validate the variableSpec i think? or do we think theres a better way to do this?

Yeah, I can add the new annotations. I was just holding off until I can actually see them in the database to make sure I'm parsing them out correctly. I can make a note to add the validation in here once I get the annotation wired up.

2. whats this ss-internal thing im seeing? should this have been an internal endpoint?

the difference between ss-internal and subsetting is that ss-internal is only available on the internal network and doesn't check for dataset access permissions. I'm thinking maybe I should move the endpoint to be a child of ss-internal, but for now it's not

3. assuming we add the new annotations to VariableDef and ReferenceMetadata, what else needs doing for me to be able to use them here and in the data service?

I think that should be all that's needed. We might want some utility if we don't have one to help make the response available in R.


Scroll-up button

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Hello, I plan to incorporate a scroll-up button into the pages in order to improve the overall user experience.

Motivation and context
I find great fulfillment in making open-source contributions, as they provide a remarkable platform for pursuing excellence.

No plans for us to add this.


doc: Add udp packet forwarder doc

Summary

Add documentation about global_conf.json and local_conf.json -- from https://github.com/TheThingsNetwork/lorawan-stack/pull/3176/
Checklist

[x] Scope: The referenced issue is addressed, there are no unrelated changes.
[ ] Run Locally: Verified that the docs build using make server
[ ] New Features Marked: Documentation for new features is marked using the new-in-version shortcode, according to the guidelines in README.md.
[ ] Style Guidelines: Documentation obeys style guidelines in README.md.
[ ] Changelog: Significant features, behavior changes, deprecations and fixes are added to CHANGELOG.md.
[x] Commits: Commit messages follow guidelines in CONTRIBUTING.md, there are no fixup commits left.

@kschiffer i can't figure out why you're tagged as CODEOWNER?

I was set as codeowner for the style and theme directory.


Mocha flexible file pattern

I am working on a project where Mocha unit tests aren't in the test directory which is suggested but not required. This updates the file pattern to handle this and also generates a glob pattern for the TestSuite

[X] Add fixtures and spec when implementing or updating a test runner

@rumblesan do you have any feedback on this? I remember you helped out improve the Mocha runner


Cannot add rook repo

Hi folks!
I'm trying to add rook repo, but got an error
helm repo add rook-stable https://charts.rook.io/stable
Error: Looks like "https://charts.rook.io/stable" is not a valid chart repository or cannot be reached: Get https://charts.rook.io/stable/index.yaml: read tcp <IP_ADDRESS>:57673-><IP_ADDRESS>:443: read: operation timed out

I've tried to add some another repo and everything is fine
helm repo add gitlab https://charts.gitlab.io
"gitlab" has been added to your repositories

Output of helm version:
Client: &version.Version{SemVer:"v2.12.1", GitCommit:"02a47c7249b1fc6d8fd3b94e6b4babf9d818144e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.1", GitCommit:"02a47c7249b1fc6d8fd3b94e6b4babf9d818144e", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-05-12T04:12:12Z", GoVersion:"go1.9.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:31:33Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
bare metal

The problem automagicaly resolved: today I have tried to add repo again, but got the same timeout error. Then I typed kubectl logs -f tiller-deploy, saw nothing. And finally I have tried to add repo again and IT WORKS! Crazy!


RandomizedSearchCV  not working out of the box with brain decode

Hi, I am trying tune hyper parameters of my custom model based on  braindecode framework.
I am trying to use RandomizedSearchCV (from sklearn) for parameter search since EEGClassifier is based on NeuralNet from Skorch.
But I am getting following error:
TypeError: init() got an unexpected keyword argument 'on_train'
Is there any way to tune hyper parameters automatically?
@robintibor
I am new to deep learning and EEG decoding, I was wondering how you tuned parameters when you were designing Shallow and Deep4 networks?

import torch
from braindecode.util import set_random_seeds
from braindecode.models import ShallowFBCSPNet

from braindecode.models import EEGNetv4

cuda = torch.cuda.is_available()  # check if GPU is available, if True chooses to use it
device = 'cuda' if cuda else 'cpu'
if cuda:
    torch.backends.cudnn.benchmark = True
seed = 20200220  # random seed to make results reproducible
# Set random seed to be able to reproduce results
set_random_seeds(seed=seed, cuda=cuda)

n_classes = 4
# Extract number of chans and time steps from dataset
n_chans = train_set[0][0].shape[0]
input_window_samples = train_set[0][0].shape[1]

model = EEGNetv4(
    n_chans,
    n_classes,
    input_window_samples=input_window_samples,
    final_conv_length='auto',
)

# Send model to GPU
if cuda:
    model.cuda()

[
from skorch.callbacks import LRScheduler, EarlyStopping, Checkpoint
from skorch.helper import predefined_split

from braindecode import EEGClassifier

lr = 0.0625 * 0.01
weight_decay = 0

batch_size = 64
n_epochs = 300

net = EEGClassifier(
    model,
    criterion=torch.nn.NLLLoss,
    optimizer=torch.optim.AdamW,
    #train_split=predefined_split(valid_set),  # using valid_set for validation
    optimizer__lr=lr,
    optimizer__weight_decay=weight_decay,
    batch_size=batch_size,
    callbacks=[
        "accuracy", ("lr_scheduler", LRScheduler('CosineAnnealingLR', T_max=n_epochs - 1)),
        ("early_stopping", EarlyStopping(patience=100)),
        ("chpt save best", Checkpoint(dirname='CKP0'))

    ],
    device=device,
)

from sklearn.pipeline import Pipeline
from sklearn.model_selection import RandomizedSearchCV
from scipy import stats

pipe = Pipeline([('net', net)])

NUM_CV_STEPS = 10

################################## tuning
pipe.set_params(net__verbose=0, net__train_split=None)

params = {

    'net__lr': [10**(-stats.uniform(1, 5).rvs()) for _ in range(NUM_CV_STEPS)],
    #'clf__max_epochs': [5, 10],
}

search = RandomizedSearchCV(
    net, params, n_iter=NUM_CV_STEPS, verbose=2, refit=False, scoring='accuracy', cv=3)

search.fit(train_set,  y=None, epochs=n_epochs)]

@robintibor
Hi, I have been trying to fit brain decode framework to any one of hyper parameter tuning framework like sk-learn or ray tune, but no success yet.
Could you please let me know how you tuned hyper-parameters when you were designing Shallow and Deep4 networks?
looking forward to your help,
Bokey

@bokey007,
This tutorial

closed for lack of response.

closed for lack of response.


Update prompts.py with Llama-3 prompt format.

This template already exists, though?

I'm so sorry, I haven't even checked my bad.

No worries. Very much appreciate contributions. (:


Update spacing variables

As a: Design system team
I want: Have the spacing variables defined in code to match the ones defined in the Figma design libraries
so that: Font spacing values are consistent between the ui-components and Figma components.
Note:
Currently defined values in ui-components library

1rem = 16px
-spacing-1: 0.5rem;
-spacing-2: 0.875rem;
-spacing-3: 1.75rem;

Acceptance criteria:

[x] Ensure values defined in our Figma component libraries have matching values in the UI components.
[x] If there are variables that need to be edited or created document those changes (clearly note updates, additions, and removals)

Presentable outcomes:

[ ] Discuss updated documentation and Figma specs during the sprint review

Sprint Ready Checklist

Acceptance criteria defined
Team has defined steps to satisfy acceptance criteria
Acceptance criteria is verifiable / testable
External / 3rd Party dependencies identified

Resources:
Documentation https://goa-dio.atlassian.net/l/c/bVq1U1NU
Mockups: https://www.figma.com/file/wXpcgeeOarkCv5ItVRTVFZ/[XD-000]-Design-Tokens---Spacing?node-id=3%3A404
Testing URL: https://www.figma.com/file/wXpcgeeOarkCv5ItVRTVFZ/[XD-000]-Design-Tokens---Spacing?node-id=3%3A378

The goal of the spacing variables is to ensure that all the team would be using these variables instead of creating new spacing specs moving forward.
Please conduct an audit in the proposed spacing and review this with the design team.
https://www.figma.com/file/wXpcgeeOarkCv5ItVRTVFZ/[XD-000]-Design-Tokens---Spacing?node-id=3%3A378

I had a look through to review @ambroseyau. It all looks good. I updated the spacer component to align as well. How do we want to actually work these into the components themselves as next steps?
Also, in how we do that in Figma per component -- I am still interested in defining these as design tokens (we could do through a design token plugin) that would then be used in our components and be able to be exported to code. Interested to hear what you had in mind.

@ambroseyau If you feel we are at a point where you'd want to investigate plugins that might help us integrate these tokens into Figma you could pick up this story
https://github.com/GovAlta/ui-components/issues/597
Let me know.

@twjeffery  Based on our discussion last week, we will need to create a user story for the rollout plan. This plan should include:

Figma Update
Dev Update
Demo examples of components to devs and architect
identify what components to build
Collaboration between dev and designers
create live documentation
etc.

@twjeffery Based on our discussion last week, we will need to create a user story for the rollout plan. This plan should include:

Figma Update
Dev Update
Demo examples of components to devs and architect
identify what components to build
Collaboration between dev and designers
create live documentation
etc.

Hi @twjeffery  @ambroseyau Thanks for outlining these steps to get the work done.
I will create a user story for this work. I think it would be great for us to investigate those possible design token plugins that might help us out ahead of the actual implementation.


Add me (Kelvin Gan) as a user

Just joined Content Tools Team

Kelvin is a new starter on the Content Tools team.


Fixed using local time to UTC.

Fixed using local time to UTC.
Fixed typo.

I need you to add yourself to the CONTRIBUTORS file please.

I need you to add yourself to the CONTRIBUTORS file please.

https://github.com/ardanlabs/service/pull/210 contains the changes per your comment.


small typo

manager->manage

@OriYosefiMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.


fix twice rendering on Kindle devices

fix of #12
I've checked on my Kindle (Kindle HDX KFTHWI)

Thank you! :+1:


updating to use newer mythic_progressbar version

The call, according to mythic_progbar:client:progress is now mythic_progressbar:client:progress according to https://github.com/XxFri3ndlyxX/mythic_progressbar/blob/master/README.md

Thank you


How to create a new folder?

My program:

creates a file into the laptop filesystem - example of path "Users/myname/folder/file-1"
uploads the file using the filename - example of filename "Users/myname/folder/file-1"

but when I access the Google Cloud bucket, all files are stored in the root folder of the bucket
I would expect that it stores the file into the folder "Users/myname/folder/"

Solved by specifying the destination option
return storage
    .bucket(bucketName)
    .upload(filename, {
      destination: 'folder/'+filename,
    })
    .then(() => {
      console.log(`${filename} uploaded to ${bucketName}.`);
    })
    .catch((err) => {
      console.error('ERROR:', err);
    });


Create ImageRepository CRs

Update konflux-gen to add the ImageRepository CRs too, as we use "custom" repostory paths.
See discussion in https://redhat-internal.slack.com/archives/C04PZ7H0VA8/p1719859165070619?thread_ts=1716460799.553839&cid=C04PZ7H0VA8 and current pipeline failures in the clone-repository task:
STEP-CLONE

INFO: Using mounted CA bundle: /mnt/trusted-ca/ca-bundle.crt
{"level":"info","ts":1722867555.762302,"caller":"git/git.go:176","msg":"Successfully cloned https://github.com/openshift-knative/eventing @ 07aaaec233da0150d04851f3d411b3b040d96059 (grafted, HEAD) in path /var/workdir/source"}
{"level":"info","ts":1722867555.8133812,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /var/workdir/source"}
STEP-SYMLINK-CHECK

Running symlink check
STEP-CREATE-TRUSTED-ARTIFACT

Prepared artifact from /var/workdir/source (sha256:0fee2c8f6ddf2c4bc3bf41b15cdb5ad8d076d17a445f0a845c4f45bcdf0ac880)
Token not found for quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-release-next/knative-eventing-controller
Error response from registry: recognizable error message not found: HEAD "https://quay.io/v2/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-release-next/knative-eventing-controller/manifests/sha256:67d11feea2815a6dace9ba2e6a2d2368c7d4d5bf9fe3b6cbd7f2bb197bd6e33e": response status code 401: Unauthorized
Command exited with non-zero status 1

as konflux only creates the ocp-serverless-tenant/serverless-operator-release-next/knative-eventing-controller-release-next quay repo by default (/) and not ocp-serverless-tenant/serverless-operator-release-next/knative-eventing-controller (without release-next suffix on component name).
With having the ImageRepo CR created, the clone-repository task succeeds

/lgtm


Not working

Hi, I have no idea why. But Increment Selection v.0.2.0 do nothing in my last version of VSC on Ubuntu.
I have tried almost everything.  New file, saved file, start with 0 start with 1. Nothing happens.
Any help welcome.
Version: 1.51.1
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-10T23:31:29.624Z (4 days ago)
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 4.15.0-123-generic

A disabled and re-enabled Increment Selection extension and restart VSCode.
It works now.
Thank you for this great helpfull extension.

Hi, I'm glad you solved the problem. I tried to reproduce it but I had no luck.
Anyway, if you note something strange, feel free to reopen the issue.


publish guide or scripts to build Beam SDK harness container from an existing container image

The current image building doc in https://beam.apache.org/documentation/runtime/environments/#customizing-container-images only provides paths of modifying existing Dockerfile or extending the image path.

It might be the case that certain large enterprise users have their own "blessed" base images which are widely extended within their company, and teams might want to adapt these images to fit into Dataflow workers. Publishing guidelines on this path might be helpful.

Even better, if a python equipped container images installs apache-beam (or an extra dependency) python package, it should be possible to be used as a container image.
Imported from Jira BEAM-11152. Original Jira may contain additional context.
Reported by: zhitao.

https://beam.apache.org/documentation/runtime/environments/#modify-existing-base-image


Incorrect documentation.

This is autogenerated. Please review and update as needed.
Describe the bug
The introduction blog for Query Previous Command] is incorrect. It shows a single question mark (?) where there should be two.
The official documentation does not do a good job of explaining that gestures are even a thing.
Also, on Ubuntu 18.04, cli version 2.0.74, (interactive 0.4.3), F3 does not do anything useful.
Command Name
Unknown
Errors:
az: '?' is not in the 'az' command group. See 'az --help'.

az: '?[*].name' is not in the 'az' command group. See 'az --help'.

az: error: unrecognized arguments: The documentation is incorrect about jmesfeedback. It shows a single question mark (?), when it should show two. https://azure.microsoft.com/en-us/blog/welcome-to-azure-cli-shell/

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az ? [*].name

Expected Behavior
Environment Summary
Linux-5.0.0-29-generic-x86_64-with-debian-buster-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.74

Extensions:
interactive 0.4.3

Additional Context

Thank you for raising this issue. The blog is not the current official channel for CLI documentation. We will improve the official documentation. Since az interactive is still under preview, we are actively working on it.

@psgivens Apologies for the late reply. This official article has the right documentation. Could you please look into it and let us know if there are any issues? We would be happy to address it. Awaiting your reply.


How to pre-train a multilingual HuBERT?

@wnhsu I am curious about the way to train a multilingual HuBERT as this. And, can I just continue to pre-train HuBERT on another language by loading the original HuBERT checkpoint and resuming the training phase on the other dataset (another language).
Could someone explain this to me, please? Thank you in advance!

I am also interested to run the same kind of experiments.
I would like to continue pre-training wav2vec2.0 model with new language/dataset rather than pre-training from scratch.
Please let me know if you find an anwer.

I gave up doing this for a long time @asadullah797. But still looking for a simple technical approach too.

I am also looking for similar options.
I am also searching if someone might have posted this question.


Fix data race and concurrency problems of actor placement

Description
Fix data race and concurrency problems of actor placement.
Issue reference
Close #2961
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@luckyxiaoqiang Thank you for your gread PR to fix the data race problem.
I give some conments for the lock/unlock usage. To be safe to unlock, suggest to use defer.

@luckyxiaoqiang please help to resolve conflicts.

@luckyxiaoqiang please help to resolve conflicts.

Resolved.

@luckyxiaoqiang thank you for your PR.


Sometimes, the entry is written twice or missing

Sometimes, the entry is written twice or missing, when the connection has problems (this is one reason why I used “refresh” quite often, to check if the entry was made). Is it possible to save entries locally and only upload them once the connection is restored, such that I don’t need to check if I have a network connection the moment I send an entry? Especially in the SLS hutches, the wifi is sometimes not ideal

As another solution, a little message that shows that the entry was successfully added could clarify this issue

That would imply some kind of "offline" mode functionality. That would be a larger change, I presume. That no data is entered if the connection is broken I would not consider a bug, but double entries would be a bug, unless the user sends the data twice.


Adds log-level flag with default to info

Addresses issue #91 and adds a log-level flag controlling the default logrus logging level. If the log level is set to something incorrect, logrus defaults to InfoLevel

/approve

/assign @fzdarsky
/ok-to-test

@osilkin98 gofmt test failed, please run make update-gofmt

@rootfs I ran make update-gofmt though no files changed. Also tried running make verify-gofmt and it came back fine. Any ideas for what I could try next?

this is from the CI log:
INFO[2021-06-25T20:37:57Z] Running `gofmt -s -l` on 42 file(s). ./pkg/cmd/run.go verify-gofmt failed - please run `make update-gofmt` make: *** [vendor/github.com/openshift/build-machinery-go/make/targets/golang/verify-update.mk:7: verify-gofmt] Error 1

I saw that, though I weirdly can't get that error locally from the same working branch. Does CI have different requirements than the makefile target?
This is what happens for me:
[root@aws microshift]# make update-gofmt && make verify-gofmt                                               Running `gofmt -s -l -w` on 42 file(s).                                                                                Running `gofmt -s -l` on 42 file(s).                                                                                [root@aws microshift]# echo $?                                                                              0

the indent doesn't look right, let's ping ci again
/test verify

If there's 42 files that need to be gofmt'd, let's handled that in a separate PR asap.

Thanks @rootfs, it was the indentation, last time I'll use the GitHub browser editor for making changes in Go.
@copejon It seemed to be limited to files in the vendor directory, should I still make a PR for that?

@osilkin98 In that case, no.  vendor should be ignored by verify tooling.  I'll take a look as to why that's not the case.


[Fix] Switch: bad alignment

Wwhen you switch from right to left alignement behaviour is weird (see video below).
https://github.com/adevinta/spark-ios/assets/6044208/6fafc804-d56e-4f39-9e0d-3ac062cf2197

@robergro thanks it's tested ✅


UWA MEG FISHERIES -

@BrookeGibbons  can the top left title be expanded maybe onto two lines so it reads.
"UWA Marine Ecology Group - Fisheries"

@TimLanglois I've changed the title. It looks a bit weird don't you think?


Only download if file doesn't exist in current directory

This changes the URL download code to first check if the file exists in the current directory and uses that if it does before going ahead and download it.
I think this is a good thing as it allows us to package the installer alongside the packages it downloads on a USB key and have people use it at workshops without a working network.
Note that I have only tested these changes by directly running the installer script on my Linux machine.  I don't expect a Windows machine will be any different, but I don't have easy access to test it.

On Fri, Jan 08, 2016 at 01:09:04PM -0800, Tyson Whitehead wrote:

I think this is a good thing as it allows us to package the
installer alongside the packages it downloads on a USB key and have
people use it at workshops without a working network.

Yeah, sounds good to me.

Note that I have only tested these changes by directly running the
installer script on my Linux machine.  I don't expect a Windows
machine will be any different, but I don't have easy access to test
it.

My concern here would be that os.path.basename would be splitting on
backslashes on Windows.  I expect we want:
url.split('/')[-1]
And to avoid a race between isfile and open, I'd just try/catch:
try:
r = open(url.split('/')[-1])
except (IOError, FileNotFoundError):
r = _urlopen(url)
The two exceptions allow us to work with either Python 2 or 3 (after
the great exception reorganization [1,2,3]).

Those both sound like good points to me.  I'll make the corrections

Specifying the Python 2 and 3 exceptions doesn't work under Python 2.  Here is the backtrace

Traceback (most recent call last):
File "./swc-windows-installer.py", line 329, in
main()
File "./swc-windows-installer.py", line 296, in main
install_nano(install_directory=nano_dir)
File "./swc-windows-installer.py", line 176, in install_nano
install_directory=install_directory)
File "./swc-windows-installer.py", line 144, in zip_install
zip_bytes = download(url=url, sha1=sha1)
File "./swc-windows-installer.py", line 74, in download
except (IOError,FileNotFoundError):
NameError: global name 'FileNotFoundError' is not defined

One solution that occurs to me would be to take advantage of your existing Python 2 vs 3 branch to make sure FileNotFoundError is always defined and then just catch it.
try:  # Python 3
    from urllib.request import urlopen as _urlopen
except ImportError:  # Python 2
    from urllib2 import urlopen as _urlopen
    FileNotFoundError = IOError

On Fri, Jan 08, 2016 at 05:31:10PM -0800, Tyson Whitehead wrote:

One solution that occurs to me would be to take advantage of your
existing Python 2 vs 3 branch to make sure FileNotFoundError is
always defined and then just catch it.
try:  # Python 3
    from urllib.request import urlopen as _urlopen
except ImportError:  # Python 2
    from urllib2 import urlopen as _urlopen
    FileNotFoundError = IOError

Ah, that works.  I'd prefer a separate:
if sys.version_info.major < 3:
FileNotFoundError = IOError
after the imports though, to avoid crowding the urlopen section.

LGTM modulo the change @wking suggested.  I can finish this up if you don't have the chance @twhitehead


I can't run it

Hi guys!
Sorry for my English
Maybe someone can help me?
I can't run this script.
Here is the link to the codepen:
https://codepen.io/Econavi/pen/vsecpp
Tell me please, what am I doing wrong?

I understand now.
I needed to set the width and height.
Excuse me!

Glad to see you made it! :)


Consulo stucks on win 10

Hello.
I've got strange issue. I run Consulo and when I try to write some code it gets stucked. It doesn't "not responding" it just doesn't react on any actions. I tried install fresh consulo, update all plugins, run as administrator, run both x32 and x64 versions, install JDK separately but nothing has changed. It continue stucks every time when I start typing something.
Important note: when I just open it and scroll the code for viewing or open files - it work normally, even I can type whitespace somewhere in file, but when I write real code it gets stucked.
Windows 10, last updates

Process manager when Consulo stucks:

Can you attach idea.log and thread dump log from
https://github.com/consulo/consulo/wiki/Paths-to-system-directories  (log directory)

idea.log.txt
20160117-194157.ZIP

Try to invalidate cache(File -> Invalidate)

You know... it works! Thank you very much!

I am reopen this issue, due need more correct handling outdated stubs - not block IDE


bug: color key should match heat map gradient color

User Guide color keys do not match the color gradient on the heat map.
Discord: arikan#2136
Expected Behaviour
Color key should match the color gradient on the heat map: purple -> blue -> green -> yellow -> red
Also as @sevilayerkan mentioned in their user tests, color key should be an overlay on the map, possibly bottom left corner.

The color codes we used in the heatmap widget, which we based on in the initial Figma file, were as follows:

Afterwards, during the subsequent process, there wasn't much change made because the concept of intensity would be more easily understood by the public in this way. In theory, what we did was incorrect, but in practice, it turned out to be the right approach.

In the Leaflet integration the HeatmapLayer is where you can define a gradient (below). It seems like it is not defined explicitly, so it is probably using a default gradient.
Anyway, we can create a simple key to explain the color gradient.
https://github.com/acikkaynak/musahit-harita-frontend/blob/c283275ce0a673b1a02cd6809ebbe27e8bfa158b/src/components/Map/LayerControl.tsx#L43-L54

Here is how it looks when I updated the gradient with our own scale, i like it visually but not sure how much it conveys the message of a real heatmap 🤔
wdyt? @Batuhandgenc @arikan

Tasty! Constantly changing can lead to criticism, just like it is now. It can stay as it is in my opinion. @arikan just want the color-schema to be in a more visible place.

Closing this as this is not a prio right now.


Add TV API

In this PR:

We identified and added the URL for the API we are going to consume in this project.

Hi @rosemutai ,
Status: Approved :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

To Highlight 💪🏻

Correct API linked ✔

Good job implementing the requirements  :+1: The checkpoint  is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Optional Suggestions  :

N/A

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag  ichala in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


release 0.11.4

There's a wee bit of stuff in here now that I'd like to confirm also works right on a release branch: https://github.com/ponylang/ponyc/compare/release...master
Anything pending that we should wait up for? @sylvanc @jemc

DO IT!

I've been distracted by https://github.com/killerswan/homebrew-pony (for # 1732) this afternoon, but will do this tomorrow, when more people are around.

@killerswan do you have this or should I do it? i'd rather you did it because if something does go sideways you are in best position to address.

I'll give it a shot now.  😅

Haha, our clever usage of [skip ci] is uncool here.  Because what I have to say is that our potentially golden commit, 44ef576912a78c97ed7e471334fb34b18aaca18f (master), is actually a couple changes since the last master build that was green on Travis (delta from CI: https://github.com/ponylang/ponyc/compare/b99d5b68f...44ef576912a78c97ed7e471334fb34b18aaca18f, delta from last release to master: https://github.com/ponylang/ponyc/compare/917610c48c82e5138153bba30c470def5a550601...44ef576912a78c97ed7e471334fb34b18aaca18f).
And it doesn't look like that commit got deployed from AppVeyor to Bintray, see here:

https://ci.appveyor.com/project/ponylang/ponyc/build/ponyc-0.11.3-2704.b99d5b6
https://dl.bintray.com/pony-language/ponyc-win/ (2704 is missing!)

Not ready to release until I understand that, hmm.  😿

Wait that's fine.  Master doesn't deploy anymore, wake up Kevin.  But look it was passing tests both on AppVeyor and Travis:

https://ci.appveyor.com/project/ponylang/ponyc/build/ponyc-0.11.3-2704.b99d5b6
https://travis-ci.org/ponylang/ponyc/builds/214039089

Why do you say it won't deploy anymore?

o because https://github.com/ponylang/ponyc/commit/44ef576912a78c97ed7e471334fb34b18aaca18f
should have triggered a travis build (but not an appveyor one), correct?

O no, that had skip ci in it. I'm not sure why you say master won't deploy. What do you mean?

I was looking at Bintray and saying "WHERE ARE MY BINARIES!? 😿 "  Only release builds go to Bintray.

👍
So now with 44ef576912a78c97ed7e471334fb34b18aaca18f dubbed "golden", I'm running the release script (after creating an "origin" remote, haha)...

ah yes, was the release doc not updated to reflect that we don't do master binaries? i thought i updated that.

Just my brain needed a couple cycles there.

OK, after a bit of tweaking of my local repo (origin, and tracking setup) to make git pull work, viola:
*
*
And I've added the new release here:

https://github.com/ponylang/ponyc/releases

But this change on master is not what I expected: https://github.com/ponylang/ponyc/compare/44ef576912a78c97ed7e471334fb34b18aaca18f...master.  @SeanTAllen what gives?

CI:

release/0.11.4/e91d517 on Travis: https://travis-ci.org/ponylang/ponyc/builds/214456592
release/0.11.4/e91d517 on AppVeyor: https://ci.appveyor.com/project/ponylang/ponyc/build/ponyc-0.11.4-2712.e91d517

@killerswan i've never seen it to do that to the CHANGELOG before. Can you roll it back and fix up by hand?

@Theodus the release script did weird things to the changelog. I assume its related to your last change. Can you take a look?

@killerswan travis release failed on building documentation to push to standard lib update.

It's hard to build the docs when the Pony build failed.  Not sure why this didn't stop the build here:
Building ponyc packages for deployment...
threads.c
gcc -MMD -MP -march=x86-64 -mtune=intel -Werror -Wconversion -Wno-sign-conversion -Wextra -Wall -mcx16 -O3 -DNDEBUG -std=gnu11 -fexceptions -DPONY_VERSION=\"0.11.4-e91d517\" -DLLVM_VERSION=\"3.9.1\" -DPONY_COMPILER=\"gcc\" -DPONY_ARCH=\"x86-64\" -DBUILD_COMPILER=\""gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4"\" -DPONY_BUILD_CONFIG=\"release\" -D_FILE_OFFSET_BITS=64  -DPONY_NO_ASSERT -c -o build/release/obj/libponyrt/platform/threads.o src/libponyrt/platform/threads.c  -I src/common/ -I src/libponyrt/
src/libponyrt/platform/threads.c:1:0: error: bad value (intel) for -mtune= switch
 #ifdef __linux__
 ^
make: *** [build/release/obj/libponyrt/platform/threads.o] Error 1

So, that problem is the version of gcc is old. I believe we recently fixed that.

yeah, that was supposed to be fixed by: https://github.com/ponylang/ponyc/commit/82ac4a3c0d857cceb757fc4b68425ddc53a57fc8
did that get undone somehow?

also WEEEEEEEE! computers
😅

My new pull req. to revert the changelog badness: https://github.com/ponylang/ponyc/pull/1742
Looking into GCC now...

I thought you were in this repo rather than your own when you did everything. The release script and instructions assume you are working in a clone of the ponyc repo. We should update the release instructions to make that clear. You have access to do from a clone of this repo, yes @killerswan ?

These are the remotes I have set up:
ponyc $ git remote -v
kevin	git@github.com:killerswan/ponyc.git (fetch)
kevin	git@github.com:killerswan/ponyc.git (push)
origin	git@github.com:ponylang/ponyc.git (push)
origin	git@github.com:ponylang/ponyc.git (fetch)
theodus	https://github.com/Theodus/ponyc.git (fetch)
theodus	https://github.com/Theodus/ponyc.git (push)
upstream	git@github.com:ponylang/ponyc.git (fetch)
upstream	git@github.com:ponylang/ponyc.git (push)

That was why my comment about tracking: git pull is not a command I ever type myself.

@killerswan write, the release instructions assume you aren't using a fork, but are using upstream: a clone of ponylang/ponyc.

Forks and clones are the same thing.

Re: changelog issues: we've got it reverted on master, but should fix the script before cutting 0.11.5.
Re: poncy compiling issues: I still don't see the cause yet.  GCC 6 was installed (see logs here):
The following NEW packages will be installed:
  cpp-6 g++-6 gcc-6 gcc-6-base libasan3 libcc1-0 libcilkrts5 libgcc-6-dev
  libisl15 liblsan0 libmpx2 libstdc++-6-dev libubsan0

@killerswan the script will let you do it by hand and skip the auto-doing. do we have to do a 0.11.5? can we update .travis.yml and move 0.11.4 tag to get it to rerun?

@killerswan must be something different about release compared to master as master builds fine (sorry to state the obvious)

@killerswan forks and clones arent the same thing as you need to set up remote tracking with the fork and dont have to with a clone and the directions don't account for that. i want the directions to be crystal clear so i'm going to update the "How to release" to indicate as such.

@killerswan i update the RELEASE_PROCESS.md doc

@SeanTAllen  The forks and clones discussion is totally orthogonal to anything here.  I'm not even complaining and I don't think this caused any of our problems.
We can just move the tag.  But we need to figure out the problem actually...

Earlier, on releases, what we were doing was basically equivalent to:
make CC=$CC1 CXX=$CXX1 test-ci
make clean config=release
make verbose=1 arch=x86-64 config=release ... deploy

And here we're doing simply:
make verbose=1 arch=x86-64 tune=intel config=release ... deploy

So I think we should take that "tune=intel" off?

@killerswan i dont think it caused any problems either, i just think someone less experienced than you could have gotten tripped up so i wanted to note that i'd seen and addressed in docs.

we wanted to update to tune=intel on release. that should give the better performance for release builds than what we currently have.

That's also what we have in our Dockerfile.  Are those breaking?

ugh. it appears we never verified this worked on travis.

i'm about to disappear on you for a couple hours. i'd say, we turn off the tune for now, remove the change log entry for it from release notes and address later.

((nod))

also what's the emoji for BLARG

My removal of 'tune=intel' is going on master now from #1743.

To amend this 0.11.4 release:

master's now here: eaf9a8676f7f584ec5823ff3b512cc9d7fd87695,
this shows recent changes we've made: https://github.com/ponylang/ponyc/compare/b99d5b68f...eaf9a8676f7f584ec5823ff3b512cc9d7fd87695
this will be the commits between 0.11.3 and 0.11.4: https://github.com/ponylang/ponyc/compare/917610c48c82e5138153bba30c470def5a550601...eaf9a8676f7f584ec5823ff3b512cc9d7fd87695 (plus a merge commit and me moving the 0.11.4 tag).

OK, so release is now 0.11.4 at 5618e86985405ed9e69e903d458077596dca3a44, and master's at 8fc1403f2990d1add4fafa95d88dc45ba7fb4a71.
Builds happening here:

https://travis-ci.org/ponylang/ponyc/builds/214479057
? for AppVeyor

@killerswan are the commits all for things in the appveyor skip list?

Ahahaa, possibly!

@killerswan the previous 0.11.4 should be fine for windows.

OK, so that leaves the release.sh issue.
The changes here between 0.11.3 and now didn't introduce the problem: https://github.com/ponylang/ponyc/compare/917610c48c82e5138153bba30c470def5a550601...eaf9a8676f7f584ec5823ff3b512cc9d7fd87695#diff-e55bb7573f1110c8b2a6922fe8cccf48
Have I failed to set some envvar to avoid using macOS's sed? 👻

OK, to really recap, before I go eat food:

the latest Windows build is now 7c3d44f6351528bfde210e80a83b8933ea57dd67 (ci, win),
the latest Linux and source builds are now bac04bb196f061f2949b982fb19860176167dede (ci, rpm, deb, src), and
the 0.11.4 tag now points at b53fcb82edda7a7ea65fdd098f7916a426aa5324 which includes a cleaned up changelog and all the merge commits (full delta).

Work to fix release.sh should be tested on another repository, and proceed on master, now.
I'm now proceeding:

[*] release tagged and stable
[*] Travis builds green and deployed to Bintray
[*] AppVeyor builds green and deployed to Bintray
[ ] commenting on open pull reqs.
[ ] updating the GitHub release
[ ] doing a Homebrew pull req.
[ ] notifying Gentoo and SUSE people that a release is happenin'
[ ] informing #ponylang
[ ] informing pony-user

@stefantalpalaru, FYI, we're deploying the 0.11.4 release now!

@SeanTAllen I've made a post here: https://pony.groups.io/g/user/message/940?p=Created,,,100,1,0,0::recentpostdate%2Fsticky,,,100,2,0,4652245
Feeling I've not used enough emojis yet, but there you go.

(cuties from here)

Gentoo ebuild updated.

Thanks, @stefantalpalaru!  🐴


Fix i386 CI releases

The i386 CI releases were still using x86_64 platforms for building the
output binaries, as a result the produced binaries did not work properly
on i386 systems.
This fixes #1786.

This still needs testing, I'll prepare a i386 .deb and provide the URL here once the CI build is finished.

@dikiaap I've built the 32-bit binaries with on my travis systems and they're now available here:
https://github.com/chrisduerr/alacritty/releases/tag/v0.6.5
Could you (or anyone else) confirm that both the .deb and the .tar.gz are working properly?

@chrisduerr I've tried both, everything works great :+1:

Thanks for testing! Releases should be working with the next release (0.2.4).


Cant migrate my app .it shows estimated time 4 months,my database is too small while i transfer from parse to mongodb running in cloud in digital ocean linux ubuntu droplet

I was trying to migrate database from parse to my mongodb in digital ocean ubuntu droplet without ssh key like mongodb://my ip addres:27017/      .parse warned me about ssh key unsecure and latency is high and which would result in low speed.
the connection was established,and it showed my rows and data migrated but it is stuck at that page and says estimated time 4 months.i believe there is no more data to transfer.I waited for more than 3 hours,also when i cancelled the data isnt migrated to my droplet.Sometimes finalise option comes but cant commit the migration.please help me.
below is screenshot

For issues with the migration process please report bugs at parse.com/help

i have reported in bugs and did see a lot of people complaining about same issue,but i felt like they still have this issue.


Fix mass publish command

Pre-Flight checklist

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

What are the relevant tickets?
N/A
What's this PR do?
Fixes a bug introduced by #1270
How should this be manually tested?

Set up local concourse settings and run docker-compose --profile concourse up
Run docker-compose run web python manage.py mass_publish -nmb --filter <site_name> live, it shouldn't throw an error (but the pipeline will fail).

Codecov Report

Merging #1289 (42c2629) into master (32e11ad) will increase coverage by 4.84%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1289      +/-   ##
==========================================
+ Coverage   89.53%   94.37%   +4.84%
==========================================
  Files         223      104     -119
  Lines        9374     3220    -6154
  Branches     1758      777     -981
==========================================
- Hits         8393     3039    -5354
+ Misses        863      174     -689
+ Partials      118        7     -111

Impacted Files
Coverage Δ

...gement/commands/markdown_cleaning/parsing_utils.py

videos/signals.py

...t/commands/markdown_cleaning/rules/subsup_fixes.py

main/sentry.py

websites/apps.py

videos/threeplay_api.py

content_sync/__init__.py

ocw_import/tasks.py

videos/__init__.py

localdev/configs/api.py

... and 109 more

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 32e11ad...42c2629. Read the comment docs.


can't run yt by minikube

can't run yt by minikube following the instuctions of https://ytsaurus.tech/docs/en/overview/try-yt#kubernetes

Hello!
Probably this version of ytop-chart doesn't support different proxies groups. Try to change httpProxies and rpcProxies fields in cluster_v1_minikube.yaml:
  httpProxies:
    - serviceType: NodePort
      instanceCount: 1
  rpcProxies:
    - instanceCount: 1

Or install ytop-chart:0.2.1, it will help too. Thanks for your issue, I will update documentation.

@savnadya Thanks. But new problems.

@rebenkoy after run the command you mentions. the error as follows:

Show the result of kubectl describe pod ms-0

@dawsongzhao Hello! Have you solved your problem?


Adds newline at end of file

I am getting the following error when I try to install drone through docker by executing:
Relevant part of Dockerfile
# Download Drone.io
RUN wget http://downloads.drone.io/0.4.0/drone.deb
RUN dpkg -i drone.deb

Error
dpkg: error processing archive drone.deb (--install):
 name of conffile (starting `/etc/drone/drone.toml') is too long (>1000 characters)
Errors were encountered while processing:
 drone.deb

According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=108196#13 the error occurs when you have missed a newline at the end of the conffiles

hmm, I'm seeing an error message at the end of the build
dpkg-deb --build dist/drone
dpkg-deb: error: conffile `/etc/drone/drone.toml' does not appear in package
make: [dist] Error 2 (ignored)

I agree with the newline fix. We may also need to upgrade dpkg as well:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281562

Unfortunately that addition is out of my knowledge. Maybe @benschumacher have some input on this?

I can take care of it, in the mean time I'll merge

ok, mystery solved. I was excluding a file in my .gitignore that was expected to be packaged. This has been resolved. I haven't tried installing 0.4 from the debian file, so it may still require some tweaking, but at least it is auto-generating and publishing to s3

Thanks for your quick reply. I will try with the latest .deb


LumpySV failed on certain cases

We tried to solve this by compiling the newest lumpy-sv version from github and directing it to speedseq but still not working. Some data are processed without any problem but some are dead.
Runtime log:
Sourcing executables from /work/zy/bin/speedseq/bin/speedseq.config ...
Checking for required python modules (/usr/local/bin/python2.7)...
Running LUMPY express
Sourcing executables from /work/zy/bin/speedseq/bin/speedseq.config ...
Checking for required python modules (/usr/local/bin/python2.7)...
create temporary directory

Calculating insert distributions...
Library read groups: 20151112-SHION-01-1057M
Library read length: 150
Removed 0 outliers with isize >= 12183219
done
3
Calculating insert distributions...
Library read groups: 20151112-SHION-01-1057PD
Library read length: 150
/usr/local/lib/python2.7/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice.
warnings.warn("Mean of empty slice.", RuntimeWarning)
/usr/local/lib/python2.7/site-packages/numpy/core/_methods.py:71: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
File "/work/zy/bin/speedseq//bin/pairend_distro.py", line 106, in
(removed, upper_cutoff))
TypeError: %d format: a number is required, not numpy.float64

We've heard about this issue several times, but never with our own BAM files at WashU. Are you able to send a chunk of your BAM files that recreates this error, perhaps the first million lines?
It looks like the insert size distribution is abnormal, since it's allowing reads up to 12,183,219 bp to be called concordant.

We've heard about this issue several times, but never with our own BAM files at WashU. Are you able to send a chunk of your BAM files that recreates this error, perhaps the first million lines?
It looks like the insert size distribution is abnormal, since it's allowing reads up to 12,183,219 bp to be called concordant.


TargetDisk

i added the targetdisk pane to the  psd wizard followed all the instructions but when the wizard loads it doenst detect any disk in the disk viewer or
volume viewer like
like in this image:

Yes. We are working very hard at getting the next release of PSD out. Also the new version will include this page. Soon!!!
However currently PSD doesn't support custom pages with dynamic content without modifying the PSDWizard module directly.
issue 164

Try the new PSD release 2.30 and let me know if this is still an issue. It is now part of the release.


Bot Customization

What are the limits of bots in alti?
Can I decide which bot(name) spawns where?
Can I shuffle bots around teams like players?
Can I get bots of varying difficulty to spawn?
Can I change bot difficulty mid game?
Can I set which planes, and perks they use?
Are there any ways to, either actively or passively, influence bot behaviour/movement?
Will it be possible to set up random encounters in the world maps? Eg: player moves around in region far away from city, random amount of bots spawn around player, difficulty is based on the player's level; etc
Or waves in a dungeon like map? First a handful of weak bots come, and then they get more and stronger with each new wave.

What are the limits of bots in alti?

Answers assume Xal Bot mods

Can I decide which bot(name) spawns where?

Yes

Can I shuffle bots around teams like players?

Yes

Can I get bots of varying difficulty to spawn?

Yes

Can I change bot difficulty mid game?

Yes, but you have to remove them, then re-add them at the new level.

Can I set which planes, and perks they use?

Yes, but only globally, not on a per bot basis.

Are there any ways to, either actively or passively, influence bot behaviour/movement?

You can use the /applyForce command to nudge them around, but that isn't easy to use or control.

Will it be possible to set up random encounters in the world maps? Eg: player moves around in region far away from city, random amount of bots spawn around player, difficulty is based on the player's level; etc

Using a combination of /overrideSpawnPoint and /assignTeam, yes.

Or waves in a dungeon like map? First a handful of weak bots come, and then they get more and stronger with each new wave.

Yes, but you will have to remove and re-add the bots.  The player notification area will show them leaving and re-joining.

Interesting stuff; the limitation of only having bots of the same difficulty on the map at a time is a bit restricting, but it should be fine~

I said "Yes" to that question.  You can assign each bot it's own difficulty level.

Oh I see; I must've misinterpreted the "Yes, but you have to remove them, then re-add them at the new level."-part. It was very late when I replied to that, from what I remember ~


Update Python patch versions

Upgrade the Python patch versions used for newly-generated projects
Fix make test on macOS

Approved in Slack


Restart when Take Photo on Android 9

i'm choose from gallery normally and can upload to API, but when i'm use take photo after take photo and click checklist the APP restart

options u use, library version and crash log

options u use, library version and crash log

<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA" />

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.front" android:required="false" />
<application
  android:name=".MainApplication"
  android:label="@string/app_name"
  android:icon="@mipmap/ic_launcher"
  android:usesCleartextTraffic="true"
  android:allowBackup="false"
  android:requestLegacyExternalStorage="true"
  android:theme="@style/AppTheme">
  <activity
    android:name=".MainActivity"
    android:label="@string/app_name"
    android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
    android:launchMode="singleTop"
    android:screenOrientation="portrait"
    android:windowSoftInputMode="adjustResize">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
  </activity>
  <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
  <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>

  <provider
        android:name="androidx.core.content.FileProvider"
        android:authorities="${applicationId}.provider"
        android:grantUriPermissions="true"
        android:exported="false">
        <meta-data
            tools:replace="android:resource"
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/filepaths" />
  </provider>
</application>

options u use, library version and crash log

react-native-image-picker version 2.3.4
no crash log

Check docs and update to version 3.x.x, 2.x.x is not supported

Check docs and update to version 3.x.x, 2.x.x is not supported

link to the docs? i can't found

why the issue has been closed? I'm also lookin for version 3.x.x, links about the docs are broken and the version has not been release on npm.

@deadlock Upgrade to 3.x.x version. Read the docs https://github.com/react-native-image-picker/react-native-image-picker
Check latest version here https://github.com/react-native-image-picker/react-native-image-picker/releases

Thx @ravirajn22.
The new version continues to have the same behavior. After some time with the app on background, the first try to take a picture makes de app restart.

Its a known issue read this thread
https://github.com/react-native-image-picker/react-native-image-picker/issues/1502
The solution is not straightforward and this issue will only happen on some <2gb ram phones.

My phone has 4gb and the issue is happening.
I will follow the informed thread.
Thx for the help

Duplicate of issue #1502

well, I was stuck on this for long but just few minutes ago I changed the compileSdkVersion to 29 from 30 and it started working in Android 11, need to test the same in 10.
Hope this would be helpful for someone.
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 30

Cheers!


Update description

Can you please create a more detailed description for your project.

Use im.py code to run

Can u help me to run this code??


Setup with Meteor ?

Hi,
I'm new with Apollo and GraphQL. I see the setup instruction of this module is possible with Express. I believe Apollo create an express app on the server side with Meteor but it is completely opaque.
Any idea about setup apollo-upload-server on the server side with Meteor ? My main server code. (Apollo setup)
import { createApolloServer } from "meteor/apollo";
import { makeExecutableSchema } from "graphql-tools";
import merge from "lodash/merge";

import UsersSchema from '../../api/users/User.graphql';
import UsersResolvers from '../../api/users/resolvers';
import PagesSchema from '../../api/pages/Page.graphql';
import PagesResolvers from '../../api/pages/resolvers';
import CommonSchema from '../../api/common/Common.graphql';
import CommonResolvers from '../../api/common/resolvers';

const typeDefs = [UsersSchema, PagesSchema, CommonSchema];

const resolvers = merge(UsersResolvers, PagesResolvers, CommonResolvers);

const schema = makeExecutableSchema({
  typeDefs,
  resolvers
});

createApolloServer({ schema });

Thanks for your answer and great job for this project !

As I don't use Meteor I'm not in a good position to help. Looking at https://github.com/jaydenseric/apollo-upload-server/issues/29#issue-282601315 it seems @windgaucho worked it out. Perhaps they can share some tips?

I'm sorry but I did not have much time to try, so I ended up the meteor-files package (ostrio:files).

I don't intend to directly support Meteor, but if anyone manages to work out what it takes to get it working feel free to share the solution here 🙏

@Brouilles
meteor usage is fairly simple:
import { createApolloServer } from 'meteor/apollo';
import { apolloUploadExpress } from 'apollo-upload-server';

 const schema = makeExecutableSchema(...);
 createApolloServer(
    {
      schema
    },
    {
      graphiql: true,
      configServer: expressServer => {
        expressServer.use(bodyParser.json({ limit: '5mb' }));
        expressServer.use(apolloUploadExpress());
      }
    }
  );

According to the new naming, it's:
import { createApolloServer } from 'meteor/apollo';
import { graphqlUploadExpress } from 'graphql-upload';

 const schema = makeExecutableSchema(...);
 createApolloServer(
    {
      schema
    },
    {
      graphiql: true,
      configServer: expressServer => {
        expressServer.use(bodyParser.json({ limit: '5mb' }));
        expressServer.use(graphqlUploadExpress());
      }
    }
  );


add asi-http-request to Networking section

@miguelarauj1o Can you please rebase your changes? Thanks!

@victorgama, yep!

@victorgama, please make sure it is correct what I did.

can you rebase again

rebased

@dkhamsing, I also deleted one line with trash from git.

Thanks


Enable testGetsWorkingGroupLens

Related to https://linear.app/sourcegraph/issue/CODY-1909/ci-tests-are-flaky#comment-da664388.
Interesting. I ma sure the test failed for me locally and in CI. Possibly it is just flaky 🫤
I will look into it 🕵
Test plan

Green CI

Lens group should have 8 widgets
Expected :8
Actual   :11

widgets: [
  LensIcon(icon=UrlResolver{ownerClass=com.sourcegraph.cody.Icons, classLoader=com.intellij.util.lang.PathClassLoader@5ebec15, overriddenPath='/icons/codyLogoMonochromatic.svg', url=file:/unresolved, useCacheOnLoad=true}),
  LensLabel(text= ),
  LensAction(text=Accept),
  LensLabel(text= ∣ ),
  LensAction(text=Undo),
  LensHotkey(text=⌃⇧⌫),
  LensLabel(text= ∣ ),
  LensAction(text=Edit & Retry),
  LensHotkey(text=⌃⇧⏎),
  LensLabel(text= ∣ ),
  LensAction(text=Show Diff)
]

The problem is that sometimes at the moment we check the lens group the task is already in Applied state and it is showing the accept group.