GameOver .LUA Script

What is your question?
So, i use the .LUA script for gameover screens

But! The death screen stays the same screen in a different character, even tho i made a second gameover .LUA script, it stays the same death scree in-game.

Please someone help.

did you put the script into scripts folder?

did you put the script into scripts folder?

Yes

Also the character json file must contain the animations "firstDeath", "deathLoop" and "deathConfirm". And you should put the script to run with a specific character by putting it into "characters" folder not the images the json folder and name it after the character (example: Pico.lua, Agoti.lua, etc..)

Could you explain more carefully? Cuz I don’t understand, I put the .LUA in mods/characters?

hello? @BombasticTom

here's an example shown in an image

The code in bf.lua goes like this:
function onCreate()
	setPropertyFromClass('GameOverSubstate', 'characterName', 'bf'); --Character json file for the death animation
	setPropertyFromClass('GameOverSubstate', 'deathSoundName', 'fnf_loss_sfx'); --put in mods/sounds/
	setPropertyFromClass('GameOverSubstate', 'loopSoundName', 'gameOver-neo'); --put in mods/music/
	setPropertyFromClass('GameOverSubstate', 'endSoundName', 'gameOverEnd-neo'); --put in mods/music/
end

If you're gonna change the death animations, you have to have the animation in character's .json file. The 3 needed animations are:

firstDeath
deathLoop
deathConfirm

let's take a look at the bf.json (neo bf, I am just doing simple character replacement) file

np


IIS FTP update server node

SNI doesn't work for FTP. Therefore, all FTP sites using the same IP must use the same certificate. I have 3 FTP sites using the same IP on one server. I need a single certificate for them and therefore use a multi-dns certificate.
Using win-acme, I created a certificate using manual input of the host names. I stated to update FTPS bindings on certificate renewal, but was limited to 1 FTP site during certificate setup. I tried to add the other 2 sites using the "InstallationPluginOptions" part of the cert's renewal.json file, but it still only updated the first site.
Problem is: I need to bind the certificate to all sites AND the server node as well. Only if the certificate is set for server node and site nodes, it will function properly. Otherwise, all FTP sites are dead on every autorenewal.
I don't know how to achieve this using win-acme?

I will look into this at some point in the future.
Updating multiple sites shouldn't be very difficult to add (it can follow the same logic as for http bindings: e.g. we update all bindings linked to the previous certificate). Getting to that "server node" might be a bit more tricky though.

GREAT! Functions like a charm now! THANKS!


mock popen kwarg executable typo

Our unit tests fail when using testfixtures version 6.4.0 or 6.4.1: this is because a kwarg in testfixtures mock popen is spelled "executaable" instead of "executable".
Is that a purposeful change or a mistake?

Looks like a typo. A PR with unit test and fix would be very welcome!

Thanks for the fix.
I was trying to figure out how to build a unittest for this when you closed this issue (I don't think I would have managed).
Cheers


[BEAM-2596] Pipeline job for Jenkins PreCommit

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify.
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

This PR still has a couple of TODOs in the specific Maven invocation commands, but is sound otherwise and ready for review. I will be preparing a doc with an overview of the changes which I will comment here tomorrow.

Coverage increased (+0.2%) to 70.871% when pulling 7a152e852fefc1ca4385d8bc3dc4c3b0969f3048 on jasonkuster:pipeline into 84682109b9ff186f8c850a0b71de5163949c2769 on apache:master.

https://docs.google.com/document/d/1G6gjjHCvOf71j1n9v4QSXXxiTyqdYUIKjHUf-1BwQlM/edit describes what is happening in this pull request.

Coverage decreased (-0.07%) to 70.613% when pulling 9ae2dc074f37fb679f95cd1b2ce04b793b3c2972 on jasonkuster:pipeline into 84682109b9ff186f8c850a0b71de5163949c2769 on apache:master.

@kennknowles PTAL :)

Changes Unknown when pulling 13434ff7764e80f3ff96f6120b9100f537df0f36 on jasonkuster:pipeline into ** on apache:master**.

Changes Unknown when pulling 55e2b26add59bbb7562df502ede26f943148cc4c on jasonkuster:pipeline into ** on apache:master**.

Changes Unknown when pulling 55e2b26add59bbb7562df502ede26f943148cc4c on jasonkuster:pipeline into ** on apache:master**.

Green and LGTM, so away we go


[PE-D][Tester E] addPolicy: the constraint that the benefit is alphanumeric is not enforced

Evidence:

Steps to reproduce:

Make sure that the policy ID for the particular person is available
Run:
addPolicy 1 pol/SuperSaver type/CI polnum/39376234 pterm/Annually prem/3000 b/100000*

Explanation:
100000* is a violation of the constraints mentioned in UG regarding the benefit, but it is allowed in the app.

To improve:
Update either the code or the UG to make sure it is consistent.

Labels: type.FunctionalityBug severity.Medium
original: yyccbb/ped#12

same as #189


playstate hold logic in room + minor hold logic fixes

laughs in unoptimized

why are you submiting pr's that aren't finished lol, anyway make another pr when you're done with this

why are you submiting pr's that aren't finished lol, anyway make another pr when you're done with this

i thought it was done but then i realized i forgot to test freeplay and it wasn't and then i found out i had to do something brb


Default load trusted_network auth provider if configured trusted networks

Description:
Default load trusted_network auth provider if user configured trusted networks
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

I don't know if we should do this, as I actually wanted to put in a PR to migrate the trusted networks config to the trusted network auth provider config before release.
Although this will be less painful migration.

Doing this for now.
In the future we'll do it slowly:

allow configuring trusted networks under auth provider. If no config in auth provider, check for config under HTTP. If found, use that and print warning that configuration should be put under auth provider
drop support for config under HTTP


Automatic update of the search index is broken

What type of suggestions?
Something's not working
What page is concerned?
ALL
What version of the docs?

Automatic update of the search index is broken: doing it from docs.kubefirst.io doesn't get much indexed, vs when I put the content on my server (100 vs 1000+), so something doesn't work well for indexing on our management cluster.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

The problem with how we serve the docs is fixed, thanks to @muse-sisay . Now I just need update the workflow and manually run the crawler instead of using the action


Add DependencyMap::try_get

Inspired by this message
Sometimes it's not acceptable just to panic when the dependency in the DependencyMap is missed, this PR adds the fallible option to get a value from the DependencyMap via the try_get method

Is there a scenario where a missing dependency is not a bug?

@WaffleLapkin suggested to add a "fallible API to the DependencyMap",  if I get the idea correctly.
I think when you work with the DependencyMap directly without injection, it can be useful to have recoverable errors.
That example is simplified version where we don't care about errors without any Update value (happens in case of the UpdateListener::Error). For example, if we had that error, we could just early return from the error handler, because all we want to do is just to report the failure to the user (our API error or answer error, etc.)
Alternative would be just to extract deps in every branch of Error, but I think it will be tedious

Yeah, the idea is basically that in the error handler you can't assume much about the dependencies, and so need a fallible get method.
I would probably name the fallible method get though (to make it more appealing to use, and more similar to usual rust APIs), and replace existing usages with expect or get_panicking or something.


Add notification methods selection and slack integration

Description
Integrates slack and introduces notification method configuration.
New dependencies
"@slack/web-api": "^5.12.0"

Oh wait, before I merge, do you mind providing some doc in the README.md?

Actually, no worries. I'll provide doc or you can in another PR.
Thanks!!!


Add my journey

Add my journey to main branch .

Why my journey book not showing on main Website ??


Fix for deblocking desync on non-mult-of-8 crop frame sizes

This patch fixes rav1e to the agreed deblocking crop behavior in the
spec.  It should correct several desyncs that were showing up in the
following (CDEF and LRF) filters that pull pixels out of the
non-displayed buffer area.

Coverage increased (+0.007%) to 82.856% when pulling 73d5451c35054301d3b06bfe4d10be6a42444213 on xiphmont:deblock-desync into 094e8b1776d26ab703e43bc9d36f624d3faed81e on xiph:master.

Clippy can get bent.

I'd hope so, that was my primary test case.


Allow motion sensor state to be null/none when sensor is disabled

This is actually an error in the Hue api (or documentation) but we have to workaround it.
When a Hue motion server is disabled, its sensor value is no longer a boolean value but null in the api response.
I've reported this issue to Signify and this PR workarounds the issue by allowing a None value on the motion attribute.
fixes https://github.com/home-assistant/core/issues/66636

✅
IMHO, making it None is valid in this case (and should not be a bug, but actually intended behavior 😄 )

hehe, well in that case they should update the documentation ;-)

True!


EVCS load counted twice

I have successfully managed to integrate my Alfen EV charger to the venusOS system thanks to your driver.
Since the EVCS has it's own power reading, I don't think this should be included in the AC loads as well. Technically it is an AC load, but since it is displayed seperately, I don't think it should be counted twice.
Is there any way to subtract it from the AC loads (but not from Total Consumption)?

If you set the right position, it should work.
https://github.com/mr-manuel/venus-os_dbus-mqtt-ev-charger/blob/d797b46b293c728706c1029c5e0b596ca7a5510d/dbus-mqtt-ev-charger/config.sample.ini#L27-L30

I have set it to 1, since it is on AC in, the VRM screenshot is correct.
; position (connected input/output) of the ev charger
; 0 = AC output
; 1 = AC input
position = 1

There is another option to set the position, however, here the numbers are the other way around.  Should I set this in the JSON as well?

This is correct:
; position (connected input/output) of the ev charger
; 0 = AC input
; 1 = AC output
position = 0

Will update the code tomorrow

You don't have to set it in the JSON again. The value in the config.sample.ini was wrong.
I updated the file now.


Registry Key Question

Can you confirm what you mean about this bit: To opt out, set the registry key HKLM\Software\Microsoft\Windows NT\CurrentVersion\502505fe-762c-4e80-911e-0c3fa4c63fb0 to a name of DataRequireGatedScanForFeatureUpdates and a value of 0.  Is this a string value, Dword??? Trying to understand how this is implemented as I have been testing this on a device that is on a "Safeguard Hold" but cannot get this working.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3eec6796-90d0-4909-c837-2c7f848aacb7
Version Independent ID: afd14c22-5dd2-1153-bdfe-d53bae985061
Content: Update Compliance - Feature Update Status report - Windows Deployment
Content Source: windows/deployment/update/update-compliance-feature-update-status.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@cinglis-msft

@jaimeo ,  setting REG_DWORD  to 0,  will stop installing feature updates

@RAJU2529 is correct, exact directions:

Right click on the “Current version” and create a new key with the name “502505fe-762c-4e80-911e-0c3fa4c63fb0”.
To opt-out, set the type as “REG_DWORD” and data as “0”.

@cinglis-msft will you be making the edit to the article?

I think, i can create PR after getting permission from article author

@RAJU2529 good deal; go ahead and propose the edit in a PR and we'll process it. Thanks!

@jaimeo , Check nd verify PR

@RAJU2529 which PR? Actually, just tag cinglis-msft in your PR as he should review it.

Changes have been merged via #8048. Thank you for discussion.


typo in /views/crud.html

Hi there,
First of all - my kudos - it's a great demo!
There is a small  type which gives an error in a console, as follows:
location: line 44 in /views/crud.html
replace:
data-ng-options="s.label as s.label fors in salutations"
with:
data-ng-options="s.label as s.label for s in salutations"
Thanks!
Max

Thanks!


riverpod_annotation ^1.0.6 is incompatible with hooks_riverpod >=2.1.2

riverpod_annotation ^1.0.6 is incompatible with hooks_riverpod >=2.1.2.
Because no versions of riverpod_annotation match >1.0.6 <2.0.0 and riverpod_annotation 1.0.6 depends on riverpod 2.1.1, riverpod_annotation ^1.0.6 requires riverpod 2.1.1.
And because hooks_riverpod >=2.1.2 depends on riverpod 2.1.2, riverpod_annotation ^1.0.6 is incompatible with hooks_riverpod >=2.1.2.

Fixed


Fix broken link markdown card

https://app.shortcut.com/larder/story/19463/fix-broken-link-on-marketing-docs

This seems to do a lot more than fix a broken link


Migrate to flat configurations

There's a number of cool things here, especially much more understandable and controllable handling of how exactly extends actually works, which is pretty counter intuitive and generally hard to work with.

Relies on #193 . I don't want to support both, and eslint v9 is the official changeover to flat configs by default and it's an opt-out instead of an opt-in.

eslint@9 is stuck on at least typescript-eslint/typescript-eslint#9002


Generic of type

As mentioned herein documentation https://docs.serverpod.dev/concepts/serialization
1- I made a shared package
2- create a generic pagination class
import 'package:json_annotation/json_annotation.dart';
import 'package:serverpod/serverpod.dart';

part 'pagination.g.dart';

@JsonSerializable(genericArgumentFactories: true)
class Pagination<T> {
  final int page;
  final int perPage;
  final int total;
  final List<T> items;

  const Pagination({
    required this.page,
    required this.perPage,
    required this.total,
    required this.items,
  });

  factory Pagination.fromJson(
    Map<String, dynamic> json,
    SerializationManager serializationManager,
  ) =>
      _$PaginationFromJson<T>(json, serializationManager.deserialize<T>);
}
Map<String, dynamic> toJson(Object? Function(T value) toJsonT) =>
      _$PaginationToJson<T>(this, toJsonT);

3- I read some of the source code and I found this serializationManager.deserialize<T> that find the type to serialize the type
4- I got this error Converting object to an encodable object failed: Instance of 'Pagination<Printer>'
is there any other way to serialize a generic class in Serverpod?

There is no support for generic types yet unfortunately, but it would definitely be useful.

Check this package built_value, it's a bit boilerplate but it supports generic types.
Using it with custom serialization may help you here.
Additionally, you can use a global serializer inside your class when using toJson and fromJson methods to do parsing as:final value = standardSerializers.deserializeWith(
  FreezedCustomClass.serializer, serializedAccount)!;
print(value);

Orignal reference is here
So your entity may look like this:
Additionally, you can use a global serializer inside your class when using toJson and fromJson methods to do parsing as:factory FreezedCustomClass.fromJson(
  Map<String, Object?> json,
  SerializationManager serializationManager,
) {
  final value = standardSerializers.deserializeWith(
  FreezedCustomClass.serializer, serializedAccount)!;
  return value;
}

Any catches in this @Isakdl?

@DK070202 is this working example?

I haven't tested it with Serverpod. It's a possible path, u can evaluate it!


bug(db): Dont compress DupSort SubKey

Removing main_codec and manually encode subkey and compress second part of the value.
If we have compression over whole value (Even SubKey) that would mess up fetching of values with seek_by_key_subkey

Codecov Report

Merging #594 (dd06021) into main (284391c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #594      +/-   ##
==========================================
+ Coverage   71.94%   71.95%   +0.01%
==========================================
  Files         250      250
  Lines       25172    25195      +23
==========================================
+ Hits        18109    18130      +21
- Misses       7063     7065       +2

Flag
Coverage Δ

unit-tests
71.95% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/stages/src/stages/execution.rs
89.26% <ø> (ø)

crates/primitives/src/storage.rs
100.00% <100.00%> (ø)

crates/storage/db/src/tables/models/accounts.rs
94.11% <100.00%> (+1.26%)
:arrow_up:

crates/stages/src/stages/bodies.rs
93.30% <0.00%> (-0.39%)
:arrow_down:

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

this is applicable only to duptables, right? can we enforce uncompressed subkey with bounds?

Yeah, only on duptables. Bounds could probably be made but it is kinda hard to do as you want part of your value to be encoded and part of it to be compressed but still have just one Value at the end.

Merge whenever lgtm


Proposed clean-ups

This is a partial set of clean-ups. There could be others, but they may be controversial (e.g. adopting LINQ in some areas, which may or may not hurt performance). I've also tried to be mindful of target framework versions and also some edge cases (e.g. hashing) where seemingly redundant chunks of code, if removed or changed for another option, may blow things up.
See what you think.

See what you think.

Thanks Phil! 🎉
And I've spent the last 2 days checking every change. (Just kidding 😜.)


docs: document that running orchestrator is mandatory

Overview

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Summary by CodeRabbit

Documentation

Updated installation instructions for Blobstream with the correct version number.
Added a note for validators on the importance of running a Blobstream orchestrator in the documentation.

@jcstein Does it also make sense to add a note in the validator tutorial stating that blobstream orchestrator is mandatory for mocha and mainnet?

can we also update the name of the PR?


TimescaleDB Single ServiceAccount missing create:service permission

What happened?
Deployed timescaledb-single chart and was receiving multiple restarts of the primary node. Upon inspecting the logs I saw

2023-03-27 21:27:20,165 ERROR: create_config_service failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 950, in _create_config_service
if not self._api.create_namespaced_service(self._namespace, body):
File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 483, in wrapper
return getattr(self._core_v1_api, func)(*args, **kwargs)
File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 419, in wrapper
return self._api_client.call_api(method, path, headers, body, **kwargs)
File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 388, in call_api
return self._handle_server_response(response, _preload_content)
File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 218, in _handle_server_response
raise k8s_client.rest.ApiException(http_resp=response)
patroni.dcs.kubernetes.K8sClient.rest.ApiException: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': '6f61849e-2713-4cf9-960c-1b37f81a857b', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '07f5f817-c1f7-4ea4-9bde-892c11b4ecb0', 'X-Kubernetes-Pf-Prioritylevel-Uid': '9e745d7c-26e9-4dcb-8469-44fcdfbfa5da', 'Date': 'Mon, 27 Mar 2023 21:27:20 GMT', 'Content-Length': '335'})
HTTP response body: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"services is forbidden: User \"system:serviceaccount:billing-platform:billing-platform-timescaledb\" cannot create resource \"services\" in API group \"\" in the namespace \"billing-platform\"","reason":"Forbidden","details":{"kind":"services"},"code":403}\n'

I manually added privileges to the Role for services and the error went away.
Did you expect to see something different?
That there shouldn't be an error.
How to reproduce it (as minimally and precisely as possible):
Deploy the chart?

I'm having this problem as well

Got by this particular bug via
kubectl edit role tobs0-timescaledb

rules:
- apiGroups:
  - ""
  resources:
  - configmaps
  - services # <-- added this
  verbs:
  - create
  - get
  - list
  - patch
  - update
  - watch
  - delete

If you have charts locally you can Just add in templates/role.timescaledb.yaml
rules:
- apiGroups: [""]
  resources: ["services"]
  verbs:
  - create
  - get
  - list
  - patch
  - update
  - watch
  - delete

I got same error,
Thanks the information from @joschiwald at https://github.com/timescale/helm-charts/pull/601#issuecomment-1510381605 ! 😃

That issue is already fixed on patroni side. You could use the patroni-dcs-failsafe tags of the timescale/timescaledb-ha images, which uses a more current patroni version.

I succeed using new patroni-dcs-failsafe tag by
helm upgrade \
  timescale \
  timescaledb-single \
  --install \
  --repo=https://charts.timescale.com \
  --namespace=hm-timescale \
  --create-namespace \
  --values=my-values.yaml

my-values.yaml
image:
  repository: timescale/timescaledb-ha
  tag: pg15.2-ts2.10.2-patroni-dcs-failsafe-p0

without any errors.

same issue for tag: pg15.2-ts2.10.1-p1

Think this is related to #554


Can't use multiple line val in env_vars

TL;DR
I'm trying to deploy to cloud run and one of the env_vars has a value that is multi line, specifically it is a PEM key.
This seems to make the key not be used properly in cloud run UI.
The problem is with GH_APP_PRIVATE_KEY
Tried with with both "" and without.
In the google console UI the output looks like this

This might be a yaml question more than a deploy-cloudrun one.
Expected behavior
No response
Observed behavior
No response
Action YAML
- name: Deploy to Google Cloud Run
        uses: google-github-actions/deploy-cloudrun@v2

        with:
          service: ${{ env.RUN_SERVICE }}
          image: ${{ env.GAR_LOCATION }}
          region: ${{ env.REGION }}

          env_vars: |-
            DEBUG='False'
            GH_APP_PRIVATE_KEY=${{ secrets.GH_APP_PRIVATE_KEY }}

Log output
No response
Additional information
No response

Have you tried:
env_vars: |-
  GH_APP_PRIVATE_KEY="${{ secrets.GH_APP_PRIVATE_KEY }}"

If so, please provide the debug logs.

Yes, I've tried with quotes as well.
This is the log output specifically for the deploy job (the link expires in 1 week)
https://pastebin.com/Mm9YunHU

Pasting the relevant bits here for history:
GH_APP_PRIVATE_KEY="***,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***=,***"=

It looks like parsing is actually successful, but then re-serialization is in correct.

I see, so this might be a deploy-cloudrun bug?


Apheleia does not format buffer with prettier when installed locally (npx prettier ...)

Somehow, Apheleia does not run prettier in typescript-ts-mode, if prettier is installed locally via npm only.
In the function apheleia--run-formatter-process, apheleia--format-command is run to format the command. apheleia--format-command removes the npx prefix (npx -> nil), and so, (executable-find (car command) searches for prettier instead of npx prettier. If prettier is not in path, the buffer is not formatted.
Is this behavior desired? It means that I have to install a global version of prettier that may not be identical to the one used in the project at hand.
Thanks for looking into this!

It sounds like you might be using prettier in your project without adding it as a dependency to your package.json?
in apheleia--format-command, when the symbol 'npx is the first element of the command list, the function removes it and then looks for the next element of the list at project_dir/node_modules/.bin/[next element].  I then uses that full path to invoke the command, falling back to a global install.
if npx prettier is run without adding prettier as a project dependency, the executable is cached elsewhere, so apheleia won't find it.
Apheleia's internal virtual command 'npx is doing "try to find the command in node_modules first, and then fall back to a global install" not "invoke the command via npx."

Thanks for taking your time and for explaining.
I checked the project, and we are setting prettier in devDependencies. The link to the binary is also present in /node_modules/.bin/prettier although it is a relative link to ../prettier/bin/prettier.cjs.
Now, we have several sub-projects, and all of them specify prettier as a dependency, but could it be that the paths are not correctly resolved due to the relative link? That's just a wild guess. I could try to further debug the issue, if you prefer.

Symlinks in node_modules/.bin are normal I think?  So probably not that...
What version of apheleia are you using?  Looks like typescript-ts-mode was added in 3.2
If it's not that, give me a little more detail about your setup and I'll see what I can do?

Apheleia should definitely use your Prettier binary installed at node_modules/.bin/prettier if it exists, if it is not doing that, then there is a bug. As long as the file at that location reads as executable then it should be used, symlinks should be fine. You can see the relevant logic here:
https://github.com/radian-software/apheleia/blob/791346cd3a331b7a6b949c69e7680f8dc389d3a3/apheleia-core.el#L755-L771
It's pretty straightforward - check if node_modules exists in a parent directory, if so, expand node_modules/.bin/prettier and check if it's executable. Sounds like something there is going wrong. We may be able to add more logging to assist in troubleshooting issues like this.

Hm, I just checked again, and all is working well, even when I do not install prettier globally. I am not sure if something has changed in the meantime, or if this problem has always been on my side.. Thanks a lot for explaining the details. They will help if I encounter this problem again!

Sorry, I spoke too soon. The issue came back, and I found the reason:
The line locate-dominating-file searches for the first directory up the tree containing "node_modules". In this project, we have sub-projects containing node_modules but not prettier, which is only a dependency of encompassing project(s).
Is this a misconfiguration of the project? (I do not really think so). Or is this a limitation of apheleia which should be addressed? Why don't we just use npx prettier ...? (I think there were some limitations, but I can not recall them).
Thanks!

Are you using npm workspaces in your monorepo?
iirc the issue with using npx prettier is latency, something about npx caching packages outside node_modules, and sometimes downloading before executing?  npx isn't just an alias for npm run

Yes, we are using npm workspaces. The plan is to move towards monorepo tooling, but we are not there yet.

Hmm, in my limited experience repos using npm workspaces have a single node_modules dir at the root of the repo, rather than multiple node_modules dirs, one for each workspace's package.json.  Sounds like you've got things set up differently?

fwiw with a quick test I found npx --no prettier foo.js takes ~475ms to execute, while ./node_modules/prettier/bin/prettier.cjs foo.js ran in ~175 ms, avoiding that latency is (I think?) why Apheleia looks for the executable instead of deferring to npx

I just had a look, and when using workspaces, npm install creates node_modules in all subdirectories. So I think this behavior is the default.

Ok, so we can definitely adjust the behavior of Apheleia to handle the case of multiple node_modules correctly. As @edslocomb says, getting the formatter running with lower latency is the reason I implemented this myself rather than just using npx. (Well, that and the fact that npx is kind of unusable on account of it automatically trying to install extra packages if the command isn't present already, with no way to disable that behavior.)
We should be able to tackle that as part of https://github.com/radian-software/apheleia/pull/200 or I can do it as a follow-up.

I also seem to be running into this issue, mono-repo, prettier works from npx, not from emacs, no errors given.
Could it also be relevant to: https://github.com/radian-software/apheleia/issues/297

Okay, so now that #200 is long since merged, we can address this issue by fixing the behavior with nested node_modules directories. However I have never worked with such a project before, does anyone have an example on GitHub they can point to? Or upstream documentation on the algorithm npx uses to resolve $PATH? (This page doesn't have enough detail.)
Either way, I will research and fix the problem, eventually. But the process can be sped up if more context is available so I can test solutions.


Help / Support with using Azure OpenAI deployment

Hello!
First, I just want to say I have been super impressed with the performance of langchain as well as all of the documentation.
I am however having trouble switching this chat bot over to using an Azure deployment. I am not quite sure what to switch and replace. I am able to get a streaming response working while just testing on its own with
openai.api_type = "azure"
openai.api_base = os.getenv("OPENAI_API_BASE")
openai.api_version = "2023-03-15-preview"
openai.api_key = os.getenv("OPENAI_API_KEY")

chat = AzureChatOpenAI(
    streaming=True,
    callback_manager=CallbackManager([StreamingStdOutCallbackHandler()]),
    verbose=True,
    temperature=0,
    openai_api_version="2023-03-15-preview",
    deployment_name="<deployment-name>",
    openai_api_base="<api-base>"
)
resp = chat([HumanMessage(content="Write me a song about sparkling water.")])

But how can I translate this into useable code for chat-langchain? I guess my main question revolves around the get_chain function and swapping that out. Any help would be greatly appreciated!

If anyone else comes across this I was able to get a (albeit neutured) version working with following changes in query_data.py
    os.environ["OPENAI_API_BASE"] = "<ENDPOINT>"
    os.environ["OPENAI_API_KEY"] = "<API_KEY>"

    openai.api_type = "azure"
    openai.api_version = "2023-03-15-preview"
    openai.api_base = os.getenv("OPENAI_API_BASE")
    openai.api_key = os.getenv("OPENAI_API_KEY")

    llm = AzureChatOpenAI(
        deployment_name="gpt-35-turbo",
        openai_api_version="2023-03-15-preview",
        temperature=0,
    )
    qa = ConversationalRetrievalChain.from_llm(
        llm=llm,
        retriever=vectorstore.as_retriever(),
        qa_prompt=QA_PROMPT,
        return_source_documents=True,
        verbose=True,
    )

Hope that helps anyone else!


Add support for terminal resize

Current terminal size is hardcoded to a default size of 80 x 24. It'd be nice to automatically handle  screen resize.
I believe this should be implemented after #10 to prevent any possible re-work.

In order to refit the Terminal, the fit addon should be used. The .fit() function should be called to update the geometry of the Terminal, every time the container of the Terminal changes size, ie after a window resize.
Apart from that, the update in rows/lines should be also sent to the backend, to update the TTY of the container. This can be done using the resize API call each time a resize event is emitted.

Done!


 I'm really sorry about those slipping through!

Oh no! I'm really sorry about those slipping through!


Add routing based on best_match

This replicates a function present in Werkzeug, which can be used to help render files differently based on the client's quality score for each accept header.
I use it to render a yaml file in

 tags when being viewed in a browser, but not when being requested from the command line.

Current coverage is 98.46% (diff: 100%)

Merging #2 into master will increase coverage by 0.17%

@@             master         #2   diff @@
==========================================
  Files             4          4
  Lines           117        130    +13
  Methods           0          0
  Messages          0          0
  Branches         19         23     +4
==========================================
+ Hits            115        128    +13
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last update 3c102ba...dd57000

@fladi How can I get this PR merged?


Bump karma, karma-chrome-launcher, karma-qunit, karma-sauce-launcher

Potential fix for https://github.com/fabiospampinato/cash/issues/336#issuecomment-614115052

👍

Looks good:

the branch build is failing because it doesn't have access to env secrets. The branch build shouldn't be triggered for master branch.

You can go ahead with the release, I'll check out how to exclude master from branch builds.

CONGRATS :tada: :tada: :tada:

Now, the thing with

is that you have parallel configuration on travis-ci.com in addition to travis-ci.org
One of them is free for OSS, another one is paid. I don't remember which exactly is paid. In GitHub apps you need to disable the paid one either completely or for this repo.

.com is the paid one: https://travis-ci.com/plans

You can go ahead with the release

Done 👍

I DID NOT EVEN NOTICED THAT YOU MANAGED TO MOVE CASH TO YOUR ACCOUNT!!!!
CONGRATS 🎉 🎉 🎉

😄 thanks!

In GitHub apps you need to disable the paid one either completely or for this repo.

I think I did it but it's still broken 🤔 I don't know, as long as one of them works it's not a big deal.


Unable to show the synonym

Enable to see the synonym in Database Navigator even it is available. It is confirm exist by selecting from the system table ALL_SYNONYMS. The synonyms is shown in Oracle SQL Developer.

According to select results above your synonym reside in PUBLIC schema.
It is no it particular schema. To see public synonyms check this:

I did not see the public synonym appear in TYPE tree either. May i know what i expect to see, is it the synonym name?

Secondly what about the synonym with specific schema and not public that i have defined, may i know where can i see it.

You can see all synonyms but PUBLIC in their schemas->Synonyms.
And you can see PUBLIC synonyms in Global Metadata->Public synonyms (why TYPE?)
To read synonyms DBeaver uses this query:
SELECT s.*,O.OBJECT_TYPE
FROM ALL_SYNONYMS S, ALL_OBJECTS O
WHERE S.OWNER=? AND O.OBJECT_TYPE NOT IN ('JAVA CLASS','PACKAGE BODY')
AND O.OWNER=S.TABLE_OWNER AND O.OBJECT_NAME=S.TABLE_NAME
ORDER BY S.SYNONYM_NAME

I have check and unfortunately it does not work.
The query show there are 2 synonyms created.

However when i use query that provided above also no result return.

After i try with the provided query, i found something wrong with the query to get the synonym.

Firstly the query to get synonym should get the O.OBJECT_NAME=S.SYNONYM_NAME and not O.OBJECT_NAME=S.TABLE_NAME.
The object owner does not always same as  table owner, hence condition O.OWNER=S.TABLE_OWNER is not valid too.
Last but not least, i cannot get the public synonym either, i believe the query to get the public synonym also need to modified.

Good point.
I've just committed the fix.
Please try this in EA version: https://dbeaver.jkiss.org/files/ea/

@p91paul Yep, also a good point. I forgot about permissions.
But I don't understand this outer join. Synonym doesn't make sense if we can't get it's target object (which is resolved by OBJECT_TYPE).

@p91paul, may i know what about the permission that you refer to. I can select from the the synonym, i can also see the synonym in Oracle SQLDeveloper as mention in my first post.  Can you elaborate more  what else can i investigate.
By the way, the synonym that i create is from another oracle database that exist in different host, just to clarify this point.

@serge-rider Oracle allows creation of synonyms to non existent objects. They may be invalid or make no sense to exist, but they are in database and they should be shown.
@aloon9999 case is quite different, because the object exists in another database reached through a dblink. To get the object type you should query the remote all_objects view using the dblink (i don't even know if that's feasible); however the outer join would serve at least the purpose of showing them in the synonyms list.

@serge-rider, may i confirm if you going to revert the fix? If you revert then i not going to see the synonym.
I try the newly propose SQL by @p91paul, it work for my case and i can see the result for both public and schema Synonym.

SELECT owner, synonym_name, max(table_owner), max(table_name), max(db_link), max(object_type) from (
SELECT s., NULL OBJECT_type FROM all_synonyms s
UNION all
SELECT s.,O.OBJECT_TYPE  FROM ALL_SYNONYMS S, ALL_OBJECTS O
WHERE
O.OBJECT_TYPE NOT IN ('JAVA CLASS','PACKAGE BODY')
AND O.OWNER=S.TABLE_OWNER AND O.OBJECT_NAME=S.TABLE_NAME
) WHERE synonym_name LIKE 'ERP%'
GROUP BY owner, synonym_name
ORDER BY SYNONYM_NAME;

@aloon9999 Agreed about broken synonyms. We must show them.
But I still have some concerns about performance.
Anyhow, let's try this is new EA version (the same location).


reset producer on unrecoverable message delivery errors (fixes #218)

This passed internal review. I am not sure what's up with the builds, but https://github.com/zendesk/racecar/pull/219/commits/51d04ce7b9bf7a6e1134b9ee8aeeb5e684b00149 should probably be cherry-picked onto master

force pushed to retain fast-forwardable, sensible commits. I included hints for the errors that I know or could find reasonable extended help for that is more than just what's included in the original error message.
Technically this is a breaking change for anyone relying on rescuing a Rdkafka::RdkafkaError. This can be reduced by making Racecar::MessageDeliveryError inherit from Rdkafka::RdkafkaError, but that will bring lots of unused and potentially misleading fields – only rdkafka_response (integer error code) and thus code (human readable Ruby symbol error code) are set in the case at hand. Plus of course, the error message necessarily is different anyway. For the high level consumers, this means they will need to adjust the error_handler, which seems an okay trade off instead of awkwardly inheriting the rdkafka error. I have no strong opinion on that one, though.

(and, it would be nice to pass logger and config from the Runner to the Consumer through e.g. Consumer.configure(…), but I kept the interface stable, since I can sneakily access the logger from rdkafka, and the config is only needed to not generate a "still trying to deliver" message. Both seemed more acceptable than changing the interface, or introducing some backwards compatible but ultimately confusing extra options. I feel a bigger refactor is needed to solve this decently, but I don't think we should API break here for so little gain)

(and, it would be nice to pass logger and config from the Runner to the Consumer through e.g. Consumer.configure(…), but I kept the interface stable, since I can sneakily access the logger from rdkafka, and the config is only needed to not generate a "still trying to deliver" message. Both seemed more acceptable than changing the interface, or introducing some backwards compatible but ultimately confusing extra options. I feel a bigger refactor is needed to solve this decently, but I don't think we should API break here for so little gain)

Racecar.config should be available. Since there's only one Consumer running in a process at a time, using this global singleton should be fine.

Can you try rebasing on master and perhaps running bundle install if necessary?

(and, it would be nice to pass logger and config from the Runner to the Consumer through e.g. Consumer.configure(…), but I kept the interface stable, since I can sneakily access the logger from rdkafka, and the config is only needed to not generate a "still trying to deliver" message. Both seemed more acceptable than changing the interface, or introducing some backwards compatible but ultimately confusing extra options. I feel a bigger refactor is needed to solve this decently, but I don't think we should API break here for so little gain)

Racecar.config should be available. Since there's only one Consumer running in a process at a time, using this global singleton should be fine.

config works exactly the same as logger here. See the other comment for that. So we can decide to do config, logger, or both actually, though we only need one :)

Can you try rebasing on master again? There was a misconfiguration of CI.

Thanks! 💪


[Issue] EOMTSummary.txt output about rewrite rule might need more context

Describe the issue
I've run the EOMT.ps1 on a fully patched Exchange 2019 server that was not compromised (as far as I'm aware). When the exploit was first announced I followed all of the advice in this git repo and used the applicable tools.
I used the original ExchangeMitigations.ps1 on my server which installed the rewrite module and rules.
When reviewing the output in EOMTSummary.txt it is telling me the following:
1 - Confirm the IIS URL Rewrite Module is installed. This module is required for the mitigation of CVE-2021-26855, the module and the configuration (present or not) will not impact this system negatively.
    a - If installed, Confirm the following entry exists in the "C:\inetpub\wwwroot\web.config". If this configuration is not present, your server is not mitigated. This may have occurred if the module was not successfully installed with a supported version for your system.
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="X-AnonResource-Backend Abort - inbound">
                    <match url=".*" />
                    <conditions>
                        <add input="{{HTTP_COOKIE}}" pattern="(.*)X-AnonResource-Backend(.*)" />
                    </conditions>
                    <action type="AbortRequest" />
                </rule>
                <rule name="X-BEResource Abort - inbound" stopProcessing="true">
                    <match url=".*" />
                    <conditions>
                        <add input="{{HTTP_COOKIE}}" pattern="(.*)X-BEResource=(.+)/(.+)~(.+)" />
                    </conditions>
                    <action type="AbortRequest" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>

When I check my web.config file I see this:
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="X-AnonResource-Backend Abort - inbound">
                    <match url=".*" />
                    <conditions>
                        <add input="{HTTP_COOKIE}" pattern="(.*)X-AnonResource-Backend(.*)" />
                    </conditions>
                    <action type="AbortRequest" />
                </rule>
                <rule name="X-BEResource Abort - inbound" stopProcessing="true">
                    <match url=".*" />
                    <conditions>
                        <add input="{HTTP_COOKIE}" pattern="(.*)X-BEResource=(.+)/(.+)~(.+)" />
                    </conditions>
                    <action type="AbortRequest" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>

Which is missing the double {{ around HTTP_COOKIE. The original ExchangeMitigations.ps1 script only put in single { around HTTP_COOKIE.
Does it matter if it's a double {{?
If so that context should be added to the EOMTSummary.txt that the original ExchangeMitigations.ps1 script incorrectly created the rewrite rules with single { and may need to be corrected OR that it doesn't matter if you see single or double curly brackets.
Expected behavior
N/A
Script Output
Included above
Additional context
N/A

Hi @TheFiZi
The {{ }} in the EOMTSummary.txt are a product of how the text is produced programmatically.   The { } is what should be there, you web.config is configured correctly.

@dbacon247 Thanks! Want me to leave this open as a bug report to fix that output or close it off?

@TheFiZi leave it open for now just in case others find they are in the same situation. When the pull request is open this issue will be tagged in it and once merged it will show its been addressed.
Thanks again!


Add qpdf 12 information to release notes

@m-holger Can you take a look at this before I push 11.4 out?

@m-holger Is this more accurate?


Module 2 exercises [Ernest Opoku Kwarteng]

Please "drag & drop" exercise 1 file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 2 and make sure to take
the post-training survey.
WS2_M2E2_Submission1.docx

Well done, Ernest. You clearly grasped the material outlined in Module 2 and successfully applied it to these exercises. Thank you for your participation! Please be sure to fill out the post-Module survey before you begin the next Module.


AttributeError: Can't pickle local object '_BaseCouplingBlock.init..'

Error in saving model
AttributeError: Can't pickle local object '_BaseCouplingBlock.init..'
in code
train.py
if c.save_model:
model.to('cpu')
save_model(model, c.modelname)
save_weights(model, c.modelname)

That piece of code comes from https://github.com/marco-rudolph/differnet
I haven't modified it yet. Maybe you can find a solution there. Which device did you use?

I encountered the same problem when saving the model, the error code is as follows :
AttributeError: Can't pickle local object 'AllInOneBlock.__init__.<locals>.<lambda>

Hi @QQR1, @wz940216, I modified the code in train.py from
save_model(model), c.modelname)

to
save_model(model.state_dict(), c.modelname)

I tested it and it should work. Let me know. I found the solution at this link https://github.com/pytorch/pytorch/issues/7545
Best,
Alessio


Display icon if the page was present in the right pane as well

Is your feature request related to a problem? Please describe.
I essentially installed this plugin, so that I could distinguish notes present in the right pane, but they didn't show the icons there.
Here's how my problem looks, a small (cropped) screenshot of my right pane

Describe the solution you'd like
When I add an icon to the note, I'd wish them to also show up on the right pane, So as to distinguish among those pinned notes.
Describe alternatives you've considered
None, I'm just sticking with not being able to differentiate notes.

Thanks for reporting this new feature!
Could you elaborate a bit more on this feature? Where should it be exactly, "right pane" is not too good of a description.

ah pardon, here's a full screenshot, showing the page containing the icon, and the same page being opened in the "right pane", not showing the icon.

I would also really like this feature, may try to implement it myself in the future once I have time to learn writing Obsidian plugins


Isogram Checker Extension

Is your feature request related to a problem? Please describe.
The problem is that there's currently no easy way to determine if a word or phrase is an isogram (a word or phrase without a repeating letter) using existing tools. This can be frustrating for users who need to quickly check multiple words or phrases for isogram status.
Describe the solution you'd like
would like to have an Isogram Checker Extension that can:
Accept input in the form of words or phrases.
Analyze the input to determine if it is an isogram.
Provide immediate feedback on whether the input is an isogram or not.
Highlight the repeating characters if the input is not an isogram.
Describe alternatives you've considered
Alternatives considered include:
Manually checking each word or phrase for repeating letters, which is time-consuming and error-prone.
Using existing tools that are not specifically designed for isogram checking, resulting in less efficient processes.
Additional context
Add any other context or screenshots about the feature request here:
This feature would be useful for writers, puzzle enthusiasts, and anyone interested in linguistics.
An interface example could be a simple text box with a submit button, where users can type in their word or phrase and get instant feedback.
What problem is this feature trying to solve?
The feature aims to solve the problem of quickly and accurately determining whether a given word or phrase is an isogram, thus saving time and reducing errors.
How do we know when the feature is complete?
The feature will be considered complete when:
Users can input a word or phrase and receive accurate feedback on its isogram status.
The system highlights repeating characters if the input is not an isogram.
The interface is user-friendly and provides results instantly.
The tool is tested and verified for accuracy and usability.

Closing this as you get 210 points mentioned here #2266


Doesn't work with react-native 0.16.0 due to babel

TransformError: /.../node_modules/react-native-parsed-test/lib/libTextExtraction.js: [BABEL] /.../node_modules/react-native-parsed-text/lib/lib/TextExtraction.js: Unknown option: /.../node_modules/react-native-parsed-text/package.json.stage
I think you should rely on Babel 6 (as RN0.16.0) to translate code but I wasn't able to find a configuration that work. :)
Above this, what's the interest of distributing build code (lib/*) in npm? You module should be used only in RN context and a build process is already done by react-native during packaging.

Yeah right, I will remove that, react-native should take care of the compilation.

Great!

the 0.0.7 should be good, let me know!


NTR: Methuosis

Suggested term label:
Methuosis

Definition
Nonapoptotic cell death from displacement of the cytoplasm by large fluid-filled vacuoles derived from macropinosomes and endosome compartments.

Reference, in format PMID:#######
PMID:24726643
PMID:21639944
PMID:35806262
PMID:22335538
PMID:39119834

Gene product name and ID to be annotated to this term
Rab5
Rab7
JNK1
JNK2
c-Jun
Bcl-2
Bcl-xL
DNMT1

Parent term(s)
GO:1905303
GO:0008219

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references
CHEMBL447577 - Jaspine-B induces Methuosis (PMID:35806262)
chEMBL Entry not found (near misses) but pubChem has inducer MOMIPP: https://pubchem.ncbi.nlm.nih.gov/compound/51039247
CHEMBL2336409 SGI-1027 seemingly identical to https://pubchem.ncbi.nlm.nih.gov/compound/24858111

Any other information
I would not consider it a programmed cell death but it can be induced.

Hi @smoe this appears to be a non-programmed cell death (i.e  pathogenicity or cell killing caused by a toxic compound) and is therefore  out of scope for GO (i.e. in the case of Rab5 and Rab7, blocks caused by changes in the activation states of these GTPases result in death)

Hi @ValWood,
Thank you for your swift reply and please apologize my initial set of references.
I find the section on Methuosis in https://www.nature.com/articles/s12276-023-01078-x to be very convincing.
Since relevant for clinical environments, that is how I came across it and made me check if GO has it,  I feel like we would miss something. So, yes, it is often induced, just like we may want to induce apopotosis, but in my understanding it is not something artificial per se.
Best,
Steffen
remnants of my initial reply, all dwarfed by above Nature review.
Please have a look at https://www.frontiersin.org/journals/cell-and-developmental-biology/articles/10.3389/fcell.2021.651982/full ,  which in my (admittedly biased) reading suggests that the physiological pinocytosis may be dysregulated and cause death.
And here https://pmc.ncbi.nlm.nih.gov/articles/PMC9267113/ it is described as programmed - even though my intuition initially stated something else. The problem I would have by not having the term in GO is that in clinical settings you want to be pointed to that term in enrichment analyses.
It is also something that I would expect to find in aging cells when transports go wrong.

Hi @smoe, my hesitancy stems from the fact that we spent a lot of time cleaning up the types of cell death to remove cell death terms that are not programmed.  These papers seem to describe a type of cytotoxicity  in cancer cell lines and may be dependent on  mutations in other key pathways in these cells. As such, it is not clear that they are a normal programmed process, but a consequence of the cancer cell line mutations.
The review says
Eventually, the vacuoles become sufficiently large to rupture the cell membrane, leading to cell death (Fig. 10
which implies  a pathology rather than programmed death. Also it is often related to Ras overexpression (happens in many tumours). Methuosis has been observed in various cancer cell lines and has been proposed to be a potential therapeutic target for cancer treatment180,181. However, further research is required to fully understand the molecular mechanisms underlying methuosis and the potential of these mechanisms as targets for cancer therapy.
This isn't to say that it isn't an interesting phenotype of cancer cells and ageing, just that it is out of scope for GO because we only capture normal/programmed processes not pathology.


NameError: name 'eval_input_fn' is not defined

OS : MacOS 10.12
TensorVersion : 1.2
PythonVersion : 2.7
Run the example of 'A custom model' in the document 'Getting Started With TensorFlow', occur the exception:
Traceback (most recent call last):   File "linear_regression_tf_contrib_learn_custom_model.py", line 35, in <module>     eval_loss = estimator.evaluate(input_fn=eval_input_fn) NameError: name 'eval_input_fn' is not defined.
Fix : Need to add the code eval_input_fn = tf.contrib.learn.io.numpy_input_fn({"x": x_eval}, y_eval, 4, num_epochs=1000) at line 30.

Thanks! @dr4b could you take a look?

This is a duplicate of #11123 and has been fixed in the master branch but won't show up as root until 1.3 is released.


When restarting LBRY after an incomplete download, the download starts over

I started downloading Bellflower, stopped lbry, started it back up again and went to My Files.  The downloading started back from zero.  Looking through the logs, its not re-downloading the blobs it already has, but it does seem that we should be able to let the user know that they have already downloaded 12% of a file more easily.

@jackrobison do you know if this is still an issue?


pmbootstrap: 1.45.0 -> 1.50.0

Description of changes

Update, tested by flashing one of my devices successfully.
Closes #201986
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 202984 run on x86_64-linux 1

1 package built:

pmbootstrap


Limit number of haml processes run together

Currently this plugin issues command to run haml commands corresponding to all haml files at once. This causes my server to crash when I run grunt-haml while deploying.
At one point I noted that there were more than 60 simultaneous haml processes.
It would be good, if we could run these processes sequentially or cap the number of processes being run simultaneously.
PS: I am using haml gem, i.e. ruby haml.

Looked around a bit, and found that there is an async plugin in grunt, which has functions like series which can be used instead of
   async.forEach(this.files, function(file, callback) {...
on line 55

https://github.com/caolan/async#eachlimitarr-limit-iterator-callback
async.eachLimit

Seems like what we want here. Maybe set the limit to a default of require('os').cpus().length * 2 with some option to override it.

Thank you for submitting this. I'll put this on my list to look at it but if you'd like to submit a pull request it'll likely get done much faster.

thanks for that default suggestion. Slightly new to grunt so didn't know we could access number of cores.
Will submit a PR. Although I am new to grunt, so might not be written well.


[KOGITO-222] Introducing to KogitoDataIndexService

See:
https://issues.jboss.org/browse/KOGITO-222
In this PR we introduce a new controller to deploy the Kogito Data Index service image:

Supports Kubernetes clusters
Creates a deployment with the quay.io/kiegroup/kogito-data-index image
Creates a ConfigMap with a path for users to upload their protobuf files
The Strimzi and Infinispan operators need to be installed in the cluster for this service to be deployed

TODO:

Writes documentation to setup Kafka and Infinispan infra structure to use with Kogito Data Index
~Inject Infinispan services to env vars.~
Inject Kafka services to env vars.

Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

Oh yeah baby:
$ oc describe kogitodataindex

Name:         kogito-data-index
Namespace:    kogito-owner
Labels:       <none>
Annotations:  <none>
API Version:  app.kiegroup.org/v1alpha1
Kind:         KogitoDataIndex
Metadata:
  Creation Timestamp:  2019-08-30T12:26:43Z
  Generation:          3
  Resource Version:    6244909
  Self Link:           /apis/app.kiegroup.org/v1alpha1/namespaces/kogito-owner/kogitodataindices/kogito-data-index
  UID:                 6cdc16a4-cb21-11e9-90ae-0a76b78ac33a
Spec:
  Cpu Limit:
  Cpu Request:
  Env:
  Image:           quay.io/ricardozanini/kogito-data-index:latest
  Memory Limit:
  Memory Request:
  Name:            kogito-data-index
  Replicas:        1
Status:
  Condition:
    Condition:          Provisioning
    Reason:             NewReplicaSetAvailable
  Dependencies Status:  All dependencies OK
  Deployment Status:
    Available Replicas:  1
    Conditions:
      Last Transition Time:  2019-08-30T12:26:43Z
      Last Update Time:      2019-08-30T12:27:08Z
      Message:               ReplicaSet "kogito-data-index-f57f9dcb6" has successfully progressed.
      Reason:                NewReplicaSetAvailable
      Status:                True
      Type:                  Progressing
      Last Transition Time:  2019-08-30T12:28:36Z
      Last Update Time:      2019-08-30T12:28:36Z
      Message:               Deployment has minimum availability.
      Reason:                MinimumReplicasAvailable
      Status:                True
      Type:                  Available
    Observed Generation:     3
    Ready Replicas:          1
    Replicas:                1
    Updated Replicas:        1
  Service Status:
    Load Balancer:
Events:  <none>

Infinispan Operators still uses 9.x version. We'll hold on add this operator dependency.

@xiezhang7 @bmozaffa @cristianonicolai  could you kindly review this PR? Since it's a huge implementation (introduction to a new controller), please take your time:

I focused on keeping the same architecture as for KogitoApp with smalls changes that I'll replicate and improve over time
The aim of this controller is to deploy a new image that we call Kogito Data Index. The details of this feature can be viewed in here. It depends on Infinispan and Kafka that the user will have to deploy manually at this first time, but we plan to deploy it automatically in the next sprints: KOGITO-246 and KOGITO-94
The CLI will deploy the Data Index to make things easier for users point of view: KOGITO-252
I also updated the README.md with instructions for use this new feature. I kindly ask for native speakers to review it for grammars errors.

I should work until late night today, so I can catch up with your TZ, just ping me on the chat.
Cheers!


performance issues

I am trying to process files from the i2b2 2010 i2b2/VA challenge set and it's going very slowly. I moved the processing from my Mac to a server with 48-12 core processors and it's still slow as gangbusters.
Attached is an image of the top processes during a run on a single file. I also noticed that running this sucked up a ton of memory.

I tried simple things, like compiling the whole module that runs this in Cython, but that was of no help (especially since simstring is already in c++). Any suggestions on how to speed up the processing would be most welcome.
Below are the scripts I am using:
run.sh (to iterate over the various parameters for a QuickUMLS object):
#!/bin/bash

# iterate through QuickUMLS options for similarity_name; best_match and overlapping_criteria

#declare -a StringArray=("dice" "jaccard" "cosine" "overlap" )
declare -a StringArray=("overlap" )
for s in ${StringArray[@]}; do
	declare -a StringArray=("length" "score")
	for o in ${StringArray[@]}; do
		declare -a StringArray=("true" "false")
		for b in ${StringArray[@]}; do
			echo $s $o $b
    		python -m cProfile -o output.file run_c.py $s $o $b
    		#pypy3 run_mipacq.py $s $o $b
		done
	done
done

run_c.py (first pass of implementing cython to this module):
import time
import pyximport; pyximport.install()
import run_test

def main():
    start = time.time()
    run_test
    duration = time.time() - start
    print(duration)

if __name__ == '__main__':
    main()

run_test.py (iterates recursively through directory tree to get matches and then write them out to file):
import os, glob, sys
from client import get_quickumls_client
from quickumls import QuickUMLS
import pandas as pd
import time
from sys import argv

s=sys.argv[1]
o=sys.argv[2]
b=sys.argv[3]

start = time.time()

if b == 'true':
    best_match = True
else:
    best_match = False

#directory_to_parse = '/Users/gms/development/nlp/nlpie/data/amicus-u01/mipacq/data_in/'
directory_to_parse = '/Users/gms/development/nlp/nlpie/data/amicus-u01/i2b2/data_in/'
quickumls_fp = '/Users/gms/development/nlp/engines/QuickUMLS/data/'
os.chdir(directory_to_parse)

matcher = QuickUMLS(quickumls_fp, o, 0.7, 5, s)
test = pd.DataFrame()
fn = pd.concat
gn = matcher.match
df = pd.DataFrame

for fname in glob.glob(directory_to_parse + '*.txt'):
    t = os.path.basename(fname)
    u = t.split('.')[0]
    with open(directory_to_parse + u + '.txt') as f:
        f1 = f.read()

        print(u)
        out = gn(f1, best_match=best_match, ignore_syntax=False)

        for i in out:
            i[0]['note_id'] = u
            test = fn([ test, df(i[0], index = [0]) ], ignore_index=True)

test['system'] = 'quick_umls'
test['similarity_name'] = s
test['overlap'] = o
test['type'] = 'concept'
test['best_match'] = best_match

temp = test.rename(columns={'start': 'begin'}).copy()

temp.to_csv('/Users/gms/development/nlp/nlpie/data/amicus-u01/output/qumls_system.csv', mode='a')

elapsed = (time.time() - start)
print("time elapsed:", elapsed)

One thing I have not tried is to iterate through each file, line-by-line and then passing it to the matcher.match method.

Hi Greg,
Apologies for the delay in answering & thank you for the analysis. Could you quantify what you mean by very slow? For the original QuickUMLS paper, I measured each document in the i2b2 VA corpus taking ~680 ms with a 0.7 similarity threshold. Is this the case as well in your setup?
-Luca

Definitely not the case. It took 12 hours to run through a small subset of
the documents in the corpus. Not sure what happened. The mipacq corpus had
similar timings to what you listed though. I tried this on both my MacBook
and on the server I mentioned, both with similar results.
I'm on vacation now, but plan on getting back to this sometime next week.
On Tuesday, May 21, 2019, Luca Soldaini<EMAIL_ADDRESS>wrote:

Hi Greg,
Apologies for the delay in answering & thank you for the analysis. Could
you quantify what you mean by very slow? For the original QuickUMLS paper
http://medir2016.imag.fr/data/MEDIR_2016_paper_16.pdf, I measured each
document in the i2b2 VA corpus taking ~680 ms with a 0.7 similarity
threshold. Is this the case as well in your setup?
-Luca
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Georgetown-IR-Lab/QuickUMLS/issues/43?email_source=notifications&email_token=AAHV3OUXRQ3TWAXXJSZJ2T3PWP6M3A5CNFSM4HMUSSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV4ANFY#issuecomment-494405271,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHV3OTUXEPFPICOEBRV44DPWP6M3ANCNFSM4HMUSSKA
.

--
Greg M. Silverman
Senior Systems Developer
NLP/IE https://healthinformatics.umn.edu/research/nlpie-group
University of Minnesota
<EMAIL_ADDRESS>›  evaluate-it.org  ‹

Interesting. I wonder if it can be pin-pointed to an OS issue. When you
have a chance, it would be good to reproduce your results on a linux
machine or VM to see if that's the case.
On Tue, May 21, 2019 at 1:03 PM Greg Silverman<EMAIL_ADDRESS>wrote:

Definitely not the case. It took 12 hours to run through a small subset of
the documents in the corpus. Not sure what happened. The mipacq corpus had
similar timings to what you listed though. I tried this on both my MacBook
and on the server I mentioned, both with similar results.
I'm on vacation now, but plan on getting back to this sometime next week.
On Tuesday, May 21, 2019, Luca Soldaini<EMAIL_ADDRESS>wrote:

Hi Greg,
Apologies for the delay in answering & thank you for the analysis. Could
you quantify what you mean by very slow? For the original QuickUMLS paper
http://medir2016.imag.fr/data/MEDIR_2016_paper_16.pdf, I measured each
document in the i2b2 VA corpus taking ~680 ms with a 0.7 similarity
threshold. Is this the case as well in your setup?
-Luca
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/Georgetown-IR-Lab/QuickUMLS/issues/43?email_source=notifications&email_token=AAHV3OUXRQ3TWAXXJSZJ2T3PWP6M3A5CNFSM4HMUSSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV4ANFY#issuecomment-494405271
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAHV3OTUXEPFPICOEBRV44DPWP6M3ANCNFSM4HMUSSKA
.

--
Greg M. Silverman
Senior Systems Developer
NLP/IE https://healthinformatics.umn.edu/research/nlpie-group
University of Minnesota
<EMAIL_ADDRESS>› evaluate-it.org ‹
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Georgetown-IR-Lab/QuickUMLS/issues/43?email_source=notifications&email_token=AA53OIUNUI4NDKHPL2V3BOLPWQTM5A5CNFSM4HMUSSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV4RRWY#issuecomment-494475483,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA53OIUOAY3CBRS5GGY5S3LPWQTM5ANCNFSM4HMUSSKA
.

Hi Luca,
Results were reproduced on a physical machine running Ubuntu 18.x.
On Tuesday, May 21, 2019, Luca Soldaini<EMAIL_ADDRESS>wrote:

Interesting. I wonder if it can be pin-pointed to an OS issue. When you
have a chance, it would be good to reproduce your results on a linux
machine or VM to see if that's the case.
On Tue, May 21, 2019 at 1:03 PM Greg Silverman<EMAIL_ADDRESS>wrote:

Definitely not the case. It took 12 hours to run through a small subset
of
the documents in the corpus. Not sure what happened. The mipacq corpus
had
similar timings to what you listed though. I tried this on both my
MacBook
and on the server I mentioned, both with similar results.
I'm on vacation now, but plan on getting back to this sometime next week.
On Tuesday, May 21, 2019, Luca Soldaini<EMAIL_ADDRESS>wrote:

Hi Greg,
Apologies for the delay in answering & thank you for the analysis.
Could
you quantify what you mean by very slow? For the original QuickUMLS
paper
http://medir2016.imag.fr/data/MEDIR_2016_paper_16.pdf, I measured
each
document in the i2b2 VA corpus taking ~680 ms with a 0.7 similarity
threshold. Is this the case as well in your setup?
-Luca
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/Georgetown-IR-Lab/QuickUMLS/issues/43?
email_source=notifications&email_token=AAHV3OUXRQ3TWAXXJSZJ2T3PWP6M3A
5CNFSM4HMUSSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5
WW2ZLOORPWSZGODV4ANFY#issuecomment-494405271
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/
AAHV3OTUXEPFPICOEBRV44DPWP6M3ANCNFSM4HMUSSKA
.

--
Greg M. Silverman
Senior Systems Developer
NLP/IE https://healthinformatics.umn.edu/research/nlpie-group
University of Minnesota
<EMAIL_ADDRESS>› evaluate-it.org ‹
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/Georgetown-IR-Lab/QuickUMLS/issues/43?email_source=
notifications&email_token=AA53OIUNUI4NDKHPL2V3BOLPWQTM5A
5CNFSM4HMUSSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5
WW2ZLOORPWSZGODV4RRWY#issuecomment-494475483>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AA53OIUOAY3CBRS5GGY5S3LPWQTM5ANCNFSM4HMUSSKA>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Georgetown-IR-Lab/QuickUMLS/issues/43?email_source=notifications&email_token=AAHV3OTPR2ZWON22QNAVVG3PWRAXBA5CNFSM4HMUSSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV43H3I#issuecomment-494515181,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHV3OTDDU4XYALJP4LKNWTPWRAXBANCNFSM4HMUSSKA
.

--
Greg M. Silverman
Senior Systems Developer
NLP/IE https://healthinformatics.umn.edu/research/nlpie-group
University of Minnesota
<EMAIL_ADDRESS>›  evaluate-it.org  ‹

Ha! I figured out what the problem was. I will explain in person when I see you, then I will close this issue. Oy!

As we discussed: Ended up being just an issue with the overlap similarity metric. The others all performed very well.
Nice meeting you and we hope our group can make some modest contributions to this tool.


Debug property overrides

When -Dbq.trace is on, let's print explicit property overrides. Can be useful in debugging.

Security concern: if we are dealing with passwords we don't want to log them under any circumstances. So how do we tell that it is a password when looking at a JsonNode ? Somehow we need to trace it down to Java objects that hopefully indicate that by wrapping Strings in specific value objects ( #68).


New PR to test SignCLA at 2020-02-26 08:50:04.534050244 -0800 PST m=+4.868037742

Body of PR

indiv-pass-staging: test succeeded


'blocked user' when trying to login

  File "/Users/xxxx/Documents/gits/AsyncLine/examples/echo.py", line 5, in <module>
    cl.login(name='test', qr=True)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/main.py", line 113, in login
    self.__validate(name, token, mail, passwd, cert, qr)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/main.py", line 59, in __validate
    f = SyncAsync(self.auth.createLoginSession(name, token, mail, passwd, cert, qr)).run()
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/models.py", line 10, in run
    return self.loop(self._coroutine)
  File "/Users/xxxx/.pyenv/versions/3.8.1/lib/python3.8/asyncio/base_events.py", line 612, in run_until_complete
    return future.result()
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/auth.py", line 95, in createLoginSession
    await self.loginWithQrcode(path=name+".session" if name else None)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/auth.py", line 129, in loginWithQrcode
    lr = await self.call('loginZ', rq)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/lib/Gen/f_LineService.py", line 26096, in loginZ
    return await self._methods['loginZ']([ctx, loginRequest])
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/lib/Gen/f_LineService.py", line 26123, in _loginZ
    raise result.e
AsyncLine.lib.Gen.ttypes.TalkException: TalkException(code=35, reason='blocked user', parameterMap=None)

This happens however I tried to login (via QR or email/password) I can confirm it is correct because I received login verifications
It says I was logged in on an iPad the first time when I tried to login

  File "/Users/xxxx/Documents/gits/AsyncLine/examples/echo.py", line 5, in <module>
    cl.login(name='test', qr=True)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/main.py", line 113, in login
    self.__validate(name, token, mail, passwd, cert, qr)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/main.py", line 59, in __validate
    f = SyncAsync(self.auth.createLoginSession(name, token, mail, passwd, cert, qr)).run()
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/models.py", line 10, in run
    return self.loop(self._coroutine)
  File "/Users/xxxx/.pyenv/versions/3.8.1/lib/python3.8/asyncio/base_events.py", line 612, in run_until_complete
    return future.result()
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/auth.py", line 95, in createLoginSession
    await self.loginWithQrcode(path=name+".session" if name else None)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/auth.py", line 129, in loginWithQrcode
    lr = await self.call('loginZ', rq)
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/lib/Gen/f_LineService.py", line 26096, in loginZ
    return await self._methods['loginZ']([ctx, loginRequest])
  File "/Users/xxxx/Documents/gits/AsyncLine/AsyncLine/lib/Gen/f_LineService.py", line 26123, in _loginZ
    raise result.e
AsyncLine.lib.Gen.ttypes.TalkException: TalkException(code=35, reason='blocked user', parameterMap=None)

This happens however I tried to login (via QR or email/password) I can confirm it is correct because I received login verifications
It says I was logged in on an iPad the first time when I tried to login

first i say, line will block you if you're using incorrect/not match User-Agent and Line-Application as header
and other reasson if you spam connection to line server


XCDYouTubeKit and ipv6

HI,
I using XCDYouTubeKit in my tvOS app. But instead AVPlayerViewController I use AVPlayer.
On iPV4 it's works fine. But when I test my app on iPV6 it's don't work. I received some thing like this:
"m_Limit" = "m_LimitAll";
"r_Attributes" = 1;
sync = syna;

Do you know XCDYouTubeKit works with iPV6?

We ran into the same issue. But turns out no videos could be played from any source on the phone.
The solution was to restart the phone :facepalm:


RFC javascript: datepicker and timepicker libraries

Proposal

stay with JQuery UI Datepicker - look
http://eternicode.github.io/bootstrap-datepicker/ @lnielsen-cern
https://github.com/Eonasdan/bootstrap-datetimepicker (is AMD ready and uses Moment) @greut

Let the voting begin!
--
see also #2043

UI of many modules has been moved to separate packages (invenio-*-js). Each overlay developer can decide if she is happy with the choice of package developer or she will choose different one.


ESP8266

Is it possible to use an ESP8266 instead of the ESP32?
If I use a RS-485 converter between the ESP8266 and the heat pump.

Yes that should work too. I think performance should be sufficient.


Fixes TestNewSession on chromedriver

Ran into this one while working on #14. I changed it to use the executor that get's defined by the flag, which I think is correct?

LGTM, thanks!


Package download stats not updating

Describe the bug
2 days ago we released Cake version 0.35.0, normally it should at least be a couple of thousands of downloads, it's still 0.
To Reproduce
https://www.nuget.org/packages/Cake.Tool/0.35.0
https://www.nuget.org/packages/Cake.CoreCLR/0.35.0
https://www.nuget.org/packages/Cake/0.35.0
Expected behavior
Download count to increase each day.
Screenshots

/cc @zhhyu and @shishirx34 who are on-call

Work on it now.

Related report, https://github.com/NuGet/Home/issues/8658.

@nkolev92 Thank you for directing me to the right place. Just to add more, It seems like this is not only limited to project templates. I've uploaded a new version of a package here and seems like the download isn't incrementing too.
Thanks,
Vince

The same happens to me.
These 3 projects have no stats updates for the last 3 or 4 days:
https://www.nuget.org/packages/GridBlazor/
https://www.nuget.org/packages/GridMvcCore/
https://www.nuget.org/packages/GridShared/

The mitigation is running now, please wait for a while because of the time to populate the data. Thanks for the patience!

@zhhyu it seems to work now. Many thanks! :)

This week no stats have been updated for this library: https://www.nuget.org/packages/Guflow/ as well.

The statistics should be back now. Sorry for the inconvenience, and we are working towards improving our statistics pipeline. Thanks!

@zhhyu can confirm there's now thousands instead of zero downloads. 👍


Blank page is displaying

Above is the code that i used.but it is displaying me a blank page.can anyone please help me.

Have you tried this? Helped me:
https://gist.github.com/mojaray2k/b502d75dd7a9fa277876

Hi @linas01 - this is a fairly old issue, and there's not a lot to go on here. If you need help, please re-open the issue with an example which shows the problem (codepen.io is good). Thanks!


[Question] now --static now --alias

I can't find any similar questions or docs, is there a way to assign a custom domain to a static site?
I deploy with now --static no problem, now how do I point a custom domain? now --alias says no project has been deployed.

--alias is not supported anymore. You can just run now alias -h to see how to use the command that's suitable for assigning a custom domain... 😊


(Local): Hitting ctrl-c with a query running shouldn't exit the program

Description
Title.
I'd expect ctrl-c to cancel the currently running query, not exit the program.

@scsmithr Can you make a reproducible example? What shell are you using?
We have CTRL+c configured as you described. Only CTRL+d exits the program.ÏÏ

sean@Seans-Air ~ % ./glaredb
GlareDB (v0.8.0)
Type \help for help.
> create external database pg from postgres options (connection_string = 'postgres://postgres:postgres@example.com:5432/postgres');
^C
sean@Seans-Air ~ %

That postgres instance doesn't exist, so the query would error once the connection times out. But if you ctrl+c, it'll exit.
Using zsh.


CMSensor -- start recording should not be on main thread

this causes a blockage, for example, when the authorization pop up shows up on phone

This also fixed the problem with the record button label -- now it updates during the initial flow from cold install:

on first launch the label is 'not yet auth', when the user hits this, the auth popup will show on the phone, if the user says yes, then the button label will change -- also the last start flow is better being async going through a 'starting...' phase followed by a value.

note: i don't yet alter the value of the last start -- thinking if this needs something -- similarly an alert should show up on watch when auth is set to false -- only after the first attempt (stating -- you may need to set privacy->motion&fitness->sensor2 to on to capture accelerometer events


[ADDITION] Limepay

Category
Software to be added
Limepay
Supporting Material
URL: https://www.limepay.com.au/
Description: Limepay allows merchants to integrate an online payments platform with their own branding.
Size:
HQ: Sydney
LinkedIn: https://www.linkedin.com/company/limepay/
See Record on Airtable:
https://airtable.com/app0Ox7pXdrBUIn23/tblYbuZoILuVA0X3L/recYPkskc2c9rwiFu

Need assistance finding alternatives / competitors


Improve documentation

According to flutter analyze, there are currently 76 items missing documentation.

[x] Add documentation where missing
[x] Find an automated way to run dartdoc

Fixed. Now making it an error to push to master (or merge a PR) without docs

Closing in favor of #33


Implement Git hooks to improve repo quality

User Stories

As a developer, I want to prevent any private keys from being committed.

As a developer, I want to prevent broken code from being pushed to the repo.

Git hooks implemented


Upload status from Evaporate

This PR splits the uploading status fields into uploading and transferring status fields so they can be tracked independently and displayed separately in the UI. I also think this is more intuitive than reusing the upload status field for both purposes as we were doing before. The upload status is also tracked on the client using information from Evaporate.
Testing

Submit a layer with an image from S3 and an image from the file system. Check that the status is updated independently for uploading and transferring.
Try getting the upload to fail as described in #297. You should see an error message from Evaporate in the UI.
Try reloading while the upload is in progress. The upload status should be in a failed state.
Try reloading when the upload is complete. The upload status should stay in a completed state.

Connects #297

This PR splits the uploading status fields into uploading and transferring status fields so they can be tracked independently and displayed separately in the UI.

Unclear why this is necessary.

I like that the confirmation dialog no longer appears when you refresh and that the upload status is more accurate but I fail to see why we need separate upload/transfer datetime fields since they are mutually exclusive. Also, some of the terminology like has_copied_image and hasCopiedImages is confusing to me.

+1 Tested

I fail to see why we need separate upload/transfer datetime fields since they are mutually exclusive.

We're supporting the ability to have layers with a mixture of s3 and file system images. For these types of layers, those fields are not mutual exclusive.

Brings me back to an earlier comment-- upload/transfer fields should not exist on layer. For images, they can be copied or uploaded but not both, so a single pair of fields representing both should suffice.
Besides that minor implementation detail, I'm not 100% convinced that making a strong distinction between upload and transfer is that important. I haven't given it much thought though.

Brings me back to an earlier comment-- upload/transfer fields should not exist on layer. For images, they can be copied or uploaded but not both, so a single pair of fields representing both should suffice.
Besides that minor implementation detail, I'm not 100% convinced that making a strong distinction between upload and transfer is that important. I haven't given it much thought though.

I think you're right about upload/transfer fields on the backend being useless. Distinguishing between transfer and upload is useful for one edge case I can think of which isn't very important: The user should be able to close the browser after uploads are complete and not get a warning even if transfers are in progress.

Looks pretty good. I gave it a spin and it worked as expected. I did have one tiny issues you might want to keep your eyes open for... For less than a second in between the running status and the complete status for uploaded images, it displayed a failed/error message. This almost immediately then switched to the nice green checkmark.

I made some major revisions according to all the feedback I got. See PR description and commits. I tested this pretty thoroughly and am planning to merge before RRP, but I'll leave this up for any potential commentary in the meantime.

@azavea-bot rebuild


Add optional "Description" field to Mission page

DMDB included a mission description field that could be filled out by the uploader. This was just free-form text as far as I recall.
It would make sense to only show this field if it is not empty.

This is already a feature


ETL Library Upgrades

Update SBT file for Lucene 6.0.1, Deeplearning4j 0.4-rc3.10 and nd4j 0.4-rc3.10

Edited SBT build file to pull in latest versions of dependencies


opa: update

Motivation for this change
See #19665.
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This does not build for me:
make flags: SHELL=/nix/store/vjm2a2zviphmxiz7j1ghl2dcw6f401bl-bash-4.3-p46/bin/bash
yes
checking for gcc option to accept ISO C89... ./z_pp.pl x86_64
/nix/store/vjm2a2zviphmxiz7j1ghl2dcw6f401bl-bash-4.3-p46/bin/bash: ./z_pp.pl: /usr/bin/env: bad interpreter: No such file or directory
project.mak:137: depend: No such file or directory
make: *** [project.mak:110: z.ml] Error 126
builder for ‘/nix/store/5fyn1aprwqlx7gdmd3w8hf6r978s5kcv-zarith-1.4.1.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/gi9v1jagwrpj6g79bbb0sal1h372k26i-cryptokit-1.11.drv’: 1 dependencies couldn't be built
killing process 24633
killing process 24576
cannot build derivation ‘/nix/store/hy8rvyybnh8fk4bz660akqhv43dq25z6-opa-4310.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/hy8rvyybnh8fk4bz660akqhv43dq25z6-opa-4310.drv’ failed
exit 100

Weird, @NeQuissimus -- it just built for me?

Strange, since it said something about /usr/bin/env, I tried building from Bash instead of Zsh (not that that should matter...). It also says it cannot find depend, no idea if that is supposed to be a tool.
I tried it multiple times with the same result every time.

Ah, yep, you're right. When I was building I built it against the channel version.

Thanks for the report. It appears that the (recently updated) zarith package would not build when /usr/bin/env is not available. I’ve just added a commit that should address this issue.

It gets a lot further now but it still does not build:
/nix/store/w1f0labnmxmkdaljs4v2rsbvh43r3264-ocaml-4.02.3/bin/ocamlc.opt -c -g -warn-error A -w L -w Z -I ocamllib/libbase -I compiler/buildinfos -I compiler/compilerlib -I compiler/libqmlcompil -I compiler/libtrx -I compiler/opacapi -I compiler/passlib -I compiler/opalang -I compiler/opalang/classic_syntax -I compiler/opalang/js_syntax -I tools -I ocamllib -I lib -I compiler -I tools/build -o compiler/opalang/classic_syntax/opa_classic_parser.cmo compiler/opalang/classic_syntax/opa_classic_parser.ml
/nix/store/w1f0labnmxmkdaljs4v2rsbvh43r3264-ocaml-4.02.3/bin/ocamlc.opt -c -g -warn-error A -w L -w Z -I ocamllib/libbase -I compiler/buildinfos -I compiler/compilerlib -I compiler/libqmlcompil -I compiler/libtrx -I compiler/opacapi -I compiler/passlib -I compiler/opalang -I compiler/opalang/classic_syntax -I compiler/opalang/js_syntax -I tools -I ocamllib -I lib -I compiler -I tools/build -o compiler/opalang/classic_syntax/parser_utils.cmo compiler/opalang/classic_syntax/parser_utils.ml
/nix/store/w1f0labnmxmkdaljs4v2rsbvh43r3264-ocaml-4.02.3/bin/ocamlc.opt -c -g -warn-error A -w L -w Z -I ocamllib/libbase -I compiler/buildinfos -I compiler/compilerlib -I compiler/libqmlcompil -I compiler/libtrx -I compiler/opacapi -I compiler/passlib -I compiler/opalang -I compiler/opalang/classic_syntax -I compiler/opalang/js_syntax -I tools -I ocamllib -I lib -I compiler -I tools/build -o compiler/opalang/js_syntax/opa_js_parser.cmo compiler/opalang/js_syntax/opa_js_parser.ml
/nix/store/w1f0labnmxmkdaljs4v2rsbvh43r3264-ocaml-4.02.3/bin/ocamlc.opt -c -g -warn-error A -w L -w Z -I ocamllib/libbase -I compiler/compilerlib -I compiler/libqmlcompil -I compiler/opacapi -I compiler/passlib -pp 'perl /tmp/nix-build-opa-4310.drv-0/opalang-a13d45af30bc955c40c4b320353fb21e4ecacbc5-src/tools/utils/ppdebug.pl' -I compiler/opalang -I compiler/opalang/classic_syntax -I compiler/opalang/js_syntax -I tools -I ocamllib -I lib -I compiler -I tools/build -o compiler/opalang/opaMapToIdent.cmo compiler/opalang/opaMapToIdent.ml
+ /nix/store/w1f0labnmxmkdaljs4v2rsbvh43r3264-ocaml-4.02.3/bin/ocamlc.opt -c -g -warn-error A -w L -w Z -I ocamllib/libbase -I compiler/compilerlib -I compiler/libqmlcompil -I compiler/passlib -I compiler/opalang -I compiler/opalang/classic_syntax -I compiler/opalang/js_syntax -I tools -I ocamllib -I lib -I compiler -I tools/build -o compiler/opalang/opaPrint.cmo compiler/opalang/opaPrint.ml
Command got signal -10.
make: *** [Makefile:44: node] Error 11
builder for ‘/nix/store/wvi9i9m9jmq2qakvjmd3pij6s2viw3mq-opa-4310.drv’ failed with exit code 2
error: build of ‘/nix/store/wvi9i9m9jmq2qakvjmd3pij6s2viw3mq-opa-4310.drv’ failed
exit 100

What is signal -10? Is this the OCaml compiler that seg-faults? Strange… Can you give some details about your architecture etc?

▶ cat /proc/cpuinfo | grep 'model name' -B 4 | grep -v processor | sort | uniq
--
cpu family      : 6
model           : 78
model name      : Intel(R) Core(TM) m3-6Y30 CPU @ 0.90GHz
vendor_id       : GenuineIntel

▶ uname -a
Linux nixus 4.8.4 #1-NixOS SMP Sat Oct 22 10:41:00 UTC 2016 x86_64 GNU/Linux
▶ nixos-version
17.03pre94330.d333ec5 (Gorilla)

I can’t reproduce this build failure. I think that this is not a packaging issue.

Maybe memory amount? Works for me. And the previous version was marked broken anyway, so I am for merging


Update mobile-engagement-windows-store-dotnet-get-started.md

The existing article fails to work with Windows 10 UWP apps. The advanced article covers this but is difficult to reach from Search results or otherwise. So just adding a link from this article to the recommended way for UWP

Hi @anangaur, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (anangaur). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@anangaur : Thanks for your contribution to the Azure documentation! The author, @piyushjo, has been notified to review your proposed change.

#sign-off


Disable default metrics

How i can disable default metrics? And use only custom queries?

Hi @akiryliuk, is this what you're after? https://github.com/braedon/prometheus-es-exporter/issues/67#issuecomment-647079186
Note that since that indices mappings metrics have since been added, so you'll also need to add --indices-mappings-disable


⚠ Bofrost.at has degraded performance

In d3b5606, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2805 ms

Resolved: Bofrost.at performance has improved in 621afe4.


Add additional parameters to config

Move test and publisherId parameters to bidder specific config

Related to: https://github.com/prebid/Prebid.js/pull/5692


Hot reload is not working!

Describe the bug
When i change some code in App.jsx, I need to manually refresh the browser page. I don't know if this is expected or not?
But I would really like if the browser page refresh automatically if i chnage some code in the source code.
Your Example Website or App
https://github.com/sahilrajput03/learning-solidjs/tree/main/solidjs-myapp
Steps to Reproduce the Bug or Issue
I used the latest version of solidjs to create the project.
> npx degit solidjs/templates/js my-app
> cd my-app
> npm i # or yarn or pnpm
> npm run dev # or yarn or pnpm

from https://www.solidjs.com/guides/getting-started
Expected behavior
The browser should reload automatically as it stated by solidjs in the initila component like

Edit src/App.jsx and save to reload.

Screenshots or Videos
https://imgur.com/a/VXphoE6
Platform

OS: Arch Linux: 5.16.9-arch1-1
Browser:  Chrome and Firefox

Additional context
No response

@ryansolid please see the linked issue that I mentioned. Apparently the bug only exists in the JS template

@ryansolid please see the linked issue that I mentioned. Apparently the bug only exists in the JS template

Yes, I should have mentioned that I continued to use ts temlate and its working qute superb for me!