jumpscare game over screen + game closes after jumpscare

Describe your problem here.
is there a way to do a jumpscare for a game over screen. and how do you have the game close afterwards. please send me he code for the lua for both. i was told it is possible with lua for both but that was in discussion before it was removed. soooo yeah..
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Ive added sprites, removed the weeks to create my own, and added a bunch of lua files such as scripts and custom notes, that's pretty much all I did

For the jumpscare, you can make the jumpscare a character and then putting this in your script:
setPropertyFromClass('GameOverSubstate','characterName', 'namehere');
for the game closing, I'm not sure.

i guessing 'namehere' i put jumpscare

yes.

thanks im at school right now. i'll test it when i get home

setPropertyFromClass('GameOverSubstate','bf', 'jumpscare');
im guessing this is how its done right?

setPropertyFromClass('GameOverSubstate','characterName', 'jumpscare');
so like this then

ok

how do I attach the sprites?

you could do,
if setPropertyFromClass('GameOverSubstate','characterName', 'jumpscare');
then makeLuaSprite('scare thing', 'ogga booga', -600, -200);
-- ogga booga being the file name and scare thing being the variable,
end
--for animated ones im not sure about...

if you want to close the game you could use the os function, only in 5.1 tho, it was removed in newer versions because of some problems it caused


ESXi Terraform Provider automatic installation

Since Terraform 0.13.x there is no need to build the provider or download it manually. The file versions.tf was added to specify the provider name in the Terraform Registry. The instructions in the README file have been updated to reflect this change.

Yeah, I think due to the simplicity of Terraform v0.13 it's probably time to force this as a minimum version so people don't have to deal with the headache of building the provider. Thanks for the PRs @sukster !


feat: More K8s configuration options

What changes were proposed in this pull request?
#449
How was this patch tested?
Not tested since I realised the differences between this chart and the incubator/schema-registry chart are too many to consider migrating into this one
I've created an issue and a PR soon to implement the same functionality there
https://github.com/helm/charts/issues/23062

@confluentinc It looks like @carlosjgp just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

:shrug:

@carlosjgp  We are looking at adding priorityClass into zookeeper and possibly other component as well, why is this issue been closed?

@carlosjgp Thanks for that. Yes please restore the PR if you can and see how it goes. We also interest to priorityClass definitions available for all the other CP components.


Add ability to control function instance pod min and max number at function schema

Description
There are two scenes need to the ability  to control function instance pod min number.

First
Need to scale to zero.
Second
Need to remain some number function instance pod even if this function has not been any called. This scene is very useful for sensitive project which has clod startup 、pulling large image or long time init.

Upon ability can be supported to users who can decide to scale zero or remain min pod number.
The ability  to control function instance pod max number is to protect system security and stability.
Additional context
Keda & Knative all have the ability:
keda:  https://keda.sh/docs/2.5/concepts/scaling-deployments/#scaledobject-spec
knative:  https://knative.dev/docs/serving/autoscaling/scale-bounds/
Aliyun FC already has the same ability:
https://help.aliyun.com/document_detail/185038.html#title-570-lbv-4b6

Thanks @zhaibian, this is a very good proposal and we'd like to add this.
@wenchajun would you create a PR for this request?

Got your idea. This is my thinking:

keda can be defined at scaled object spec
but knative need to define using annotations ways which openfunction serving has not supported

Even it works, different ways to define the same ability which is not graceful.
Uniform definition ways is better to mask the underlying complexity.

zhaibian

Got your idea. This is my thinking:

keda can be defined at scaled object spec
but knative need to define using annotations ways which openfunction serving has not supported

Even it works, different ways to define the same ability which is not graceful. Uniform definition ways is better to mask the underlying complexity.

Agree, a unified definition to  min/max replicas is needed.
@wenchajun would you write a proposal for this and then create a PR?

Agree, a unified definition to min/max replicas is needed.
@wenchajun would you write a proposal for this and then create a PR?

Ok, I'll finish it.

I would prefer to add a new property to spec.serving in function cr to support this feature, as it is a feature of the serving phase.
At the same time, we may also need to consider the design of the annotation section to provide the ability to support new features in an annotated form in the future.

I have written a proposal, please see https://hackmd.io/A-r2frbVTpiDhpfNc7ac2w. We can discuss and complete it.


chore: add CI

Not sure why it isn't triggering, but passes on latest: https://github.com/ApeWorX/py-tokenlists/actions/runs/546688029

isort and flake8 passes in latest: https://github.com/ApeWorX/py-tokenlists/actions/runs/548753268


Permission To Make An Unofficial Forge Version

@HyperSoop May I use your Modpack's name and branding in an unofficial Forge version of your popular Fabric modpack Simply Optimized called Simply Optimized Reforged meant to be as close as possible using Forge versions or ports of all of its mods. Below is the logo I made for the project as a simple addition to Simply Optimized's logo:

considering the Forge mod loader would require an entirely different set of mods to replicate the optimizations from original SO, that'd be an entirely different modpack and logically should not use the same branding, especially if it's unaffiliated with the original.
That is, you'd be better off making your modpack have unique branding and posing it not as a port of SO but rather as its own thing. If you plan on taking certain ideas or tweaks from SO where applicable, just leave a footnote in your modpack's description - and I don't see you reproducing SO on Forge well enough for it to qualify as a derivative rather than an unique work, so that's as far as you should probably go.

I was able to use your the configs included with Simply Optimized and was able to use a Forge version or port of every mod included. If quality and similar is your concern please download my modpack using this download link.

even so, please do not use the same branding as mine. if you want to, you can credit me in the description for inspiration, but don't use the same branding.

Thank you for your time.


Font Request: ArchLabs Linux

Hi, Can we have ArchLabs added to the collection please?

The flame detail is making this appear blurry when rendered. I tried to recreate the shape without the detail to fix this, hope this is fine, I think it's still well recognizable (bottom one is simplified):


Reverse Playlist Order

Hi, is it possible to add a function to "reverse playlist order"?
This would be pretty useful for Youtube playlists such as this:
https://www.youtube.com/playlist?list=PLw-6MW2y1UEq2puHjam-QZAHe5iuQaseL

Sounds like a useful feature, I will implement soon.

Thank you.

Done 2ee19f5325d1a6db66f5e6159275f6ee5870bb29
Let me know if you have any issues with it.

It works great. Thank you.


Unable to create unique keys on TEXT columns

If you add unique=true to an entity's column annotation for a type="text" column, it reports the error…
SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'name' used in key specification without a key length

… so you try to add it using the @Table annotation…
    /**
    * @ORM\Table(uniqueConstraints={@ORM\UniqueContraint(columns={"name(30)"})})
    */

… but now you get the error…
[Doctrine\DBAL\Schema\SchemaException]
  There is no column with name 'name(30)' on table 'service_provider'.

Is there currently a way of implementing this without submitted a PR?  I've dug into the code, but can't see a way around it.
If not, what's the recommended way to fix this?  Happy to submit a PR with a little guidance.

I just tried using PHPMyAdmin to add a unique constraint to a text field and it throws this error...

@toby-griffiths as @davoc said, you can only create a unique index for a column with known length (for string columns, sure).

I'll close the issue since the answer has been provided.

This isn't correct.  You can have indexes on TEXT fields… you just need to specify the length of the index.  Perhaps this could be re-opened so that someone who has time could add support for this?

This isn't correct. You can have indexes on TEXT fields… you just need to specify the length of the index. Perhaps this could be re-opened so that someone who has time could add support for this?

@toby-griffiths sure but have you tried to configure the length of the column on the property (instead of the size of the index)?
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#property-mapping

I'm pretty sure I dug into the code that generates the code for the index part of the query and there's nothing there to include a length, so specifying the 'length' attribute on the field will not affect the unique index.
This could be a way to implement this… but this would probably be confusing.  Maybe using 'index_length' instead attribute should be used instead.
I'm sorry, I'm not in the project right now, so can't confirm these facts.

This issue is not addressed yet. Field max length has nothing to do with index length, by default, they are created with the same length by databases but there are many reasons (including performance) why you want a partial index.
While a length is mandatory on a BLOB/TEXT column index, it can be extremely useful for (VAR)CHAR too.
Example use case:
Column containing a sha512 checksum where all first 8 chars are known to be unique
CREATE TABLE `files` (
  chksum char(128) NOT NULL,
  KEY chksum_idx (chksum(8))
);

I believe this is still an issue. Can you at least reopen the ticket?

You can create indexes via explicit DB migrations: doesn't need to happen through ORM  schema tools.

Yes, we can. And the latest https://github.com/doctrine/DoctrineMigrationsBundle attempts to destroy such indexes (remove the manually added lengths) whenever you run console doctrine:migrations:diff.

+1 from my side as well.

generates SQL removing the manually added lengths

Generated migrations are by no means to be committed as they are: migrations on larger databases are absolutely not to be performed directly as generated by ORM schema tool diffs, because you'll basically cripple your production environment anyway (by locking production schema symbols for hours or even days).
Please don't try to fix every issue with the schema diffing tool if a developer is explicitly supposed to look at its output and operate on it anyway, because you are pushing a lot of complexity upstream that will just lead to more bugs down the line, for no strong reason.

@Ocramius If the database is not in sync with the schema, the schema diff tool will always generate a query to "correct" that difference. If the diff tool does not support a certain state of the database, it becomes effectively useless—defeating the purpose of having it in the first place.

It is a tool trying to reconcile reality with developer wishes, and it is up to the developer to take the output from this tool and match it to their vision

It may be worth noting that until recently (I can later find exact releases were it useful) the schema diff tool ignored the index length and almost everyone (at least in my team) was happy.
Manually adding index length to a migration creating the index is no issue for me, but looking for lines to delete from every subsequent migration once the index is in place is annoying and error-prone, especially when collaborating in a larger team.

Manually adding index length to a migration creating the index is no issue for me, but looking for lines to delete from every subsequent migration once the index is in place is annoying and error-prone

This is the gist of the problem. Right now you have to choose between using indices on lengthless types like text or basically writing all your migrations by hand.
I'm not going to ask for ORM support for lengths on indices, I'm not even going to ask for it to stop producing syntactically invalid queries. I just want it to ignore index length when comparing.
Right now the first code it generates has a syntax error (Because you can't put indices on text fields in mysql/mariadb without specifying the size) but you can fix that by hand.
Once you've fixed that and the database is exactly what it should be, diff shouldn't have any output. Instead it removes the (good) index and puts the syntax error back in. That is a bug. And one that other people here have noted makes the tool basically useless unless you're willing to throw away your indices.
That said, perhaps the title of this issue isn't precise enough now?


Incorrect string literal type inference for defaults in binding patterns.

TypeScript Version:
nightly
Given the following TypeScript:
const a: { x?: "first" | "second" } = { };
const { x = "first" } = a; // error: [ts] Type 'string' is not assignable to type '"first" | "second"'.

The expected result is:
const a: { x?: "first" | "second" } = { };
const { x = "first" } = a; // ok. "first" is assignable to "first" | "second"

This should be working correctly now after https://github.com/Microsoft/TypeScript/pull/10676


Any plans to implement Node.js Cluster into parse-server?

Hello, are there any plans to implement this into parse-server? I am new and learning node so this is new stuff to me. An example here.

You should not need that for development purposes, and otherwise, I'd recommend using a process manager like pm2 or strong-pm

Is this particular feature what you are referring to? Does pm2 grant the sort of scalability that a node cluster provides? Why isn't pm2 already a dependency in the project? Thanks.

If you're new to node then don't muck around with clusters yet. Just use something like Heroku in production.

@noder199 yes this is the feature I'm talking about, but like @lacker says, you should not mess around with that if you're new to node, or system administration or process management. Most of the cloud providers (AWS, heroku, google) provide a safe and proper way to run a node.js server.

@flovilmart Alrighty, just to be clear, pm2 is something I use when NOT using a cloud provider? Cloud providers do something equivalent?

Alright so just to answer myself in case others are wonderin, pm2 is not needed on services like Heroku or AWS because these platforms handle scaling instances of your server on their own. If you use digital ocean or your own linux machine for your server, then pm2 can basically provide similar functionality to what Heroku/AWS/etc. provide.


Add files via upload

My art piece is titled "Moonlit Road" because it is exactly as it says, a picture of a road on a landscape, with a moon and stars. The piece will generate differently each time, with the horizon line changing, the stars being placed and scaled randomly, and the road will follow where it should be according to the horizon line. My favorite part is the moon, however because it will have a randomly decided phase based on 3 different moon types. During the process of making this piece, I learned a new language, Javascript, and a new use for programming, Art! I never thought about making pictures with code before this.

This is a great start! I think it'd be really cool if you added something to the landscape! It would be SUPER cool if the stars had different patterns too! I'm really excited to see what you come up with :D

thanks, will do


Drop tab size modification

Description
https://github.com/sindresorhus/refined-github/blob/99e81baaac8c787d1a59b74194c9437e9c29ffdf/source/refined-github.css#L8-L12
See sindresorhus/tab-size-on-github#21
Aside from GHE, I'm also a little bit concerned about the discoverability of GitHub's option. It may make sense to still keep it as a default in RGH 🤷♀
Screenshot
No response
Example URL
https://github.com/sindresorhus/refined-github/blob/main/package.json

You're too fast 😃

😃 I didn't even subscribe to https://github.blog/changelog/, I just happened to notice it in the settings.

Considerations:

Our selector currently overrides GitHub’s preference
GitHub sets the size on each rendered code block (table.highlight) via [data-tab-size="8"]
There's apparently no way to distinguish between a user choice of 8 and an "non set" tab size

The last point means we might override the user’s choice, so that alone is a good reason to drop it altogether.
Some things to be aware of:

we're using our custom --tab-size variable in show-whitespace so we need to update that as well

Instead of defaulting to 4 like it does now, we should set --tab-size on each of the [data-tab-size="XXX"] settings and then keep using it as we are now.

Instead of defaulting to 4 like it does now, we should set --tab-size on each of the [data-tab-size="XXX"] settings and then keep using it as we are now.

Can't we just use attr(data-tab-size)?

GitHub sets the size on each rendered code block

This also seems to mean that input fields aren't covered 🤔
If I disable RGH I don't see any changes in tab size, but also I don't see any tab-size property at all. Maybe we should leave that CSS just for the textures, unless they're inside a [data-tab-size] table.

It's been a while, but I think we had --tab-size to play nice with the Tab Size extension. You really don't see that being set anywhere in our codebase, that can be removed I think.

It's used by show-whitespace


add documentation folder and exemplify custom abi

dev-283

Would not be better to have separate instructions to deploy a custom smart contract from the instructions to interact with a custom smart contract ?

I've added a index of sorts to the custom-abi file, this should suffice to clear the doubts -- having two different files would leave both of them too empty or too repetitive -- but we can add more spacing between them if needed. Please recheck :)
In the meanwhile, I've added the "how to connect" as well as it was small enough


added the new bad feature

added bad.py as a bad feature that is not supposed to be accepted :D

the GithubActions have failed the tests
Closing the PR


Class "ScoutEngines\Elasticsearch\ElasticsearchProvider" not found - Laravel 9

Stack Versions
Laravel : 9.19
Laravel Scout : 9.4
elasticsearch/elasticsearch: 8.4
tamayo/laravel-scout-elastic: 8.1
I installed everything, then I placed below service providers in "config/app.php"
Laravel\Scout\ScoutServiceProvider::class,
ScoutEngines\Elasticsearch\ElasticsearchProvider::class,

Then I try to import models in elasticsearch using below command
sail artisan scout:import 'App\Models\Product'
I receive below error
 Class "ScoutEngines\Elasticsearch\ElasticsearchProvider" not found
If I remove 'ElasticsearchProvider' class from 'config/app.php', I get below error
Elastic\Elasticsearch\ClientBuilder::setHosts(): Argument #1 ($hosts) must be of type array, null given, called in /var/www/html/vendor/tamayo/laravel-scout-elastic/src/LaravelScoutElasticProvider.php on line 23

It doesn't really required to be placed in the service provider's list


[Desktop] Directional focus traversal stops working after scrolling ListView

Directional focus traversal stops working when a focused item is scrolled outside the list view's cache extent.
Steps to Reproduce

Run the attached example
Press TAB to move focus to the list view
Press up/down arrows to move focus around
Press page up/down a couple of times
Press up/down arrows again

Expected results:
The list view is scrolled back to the focused item and focus traversal continues from where it was.
Actual results:
Directional focus traversal no longer works. Nothing happens.

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MaterialApp(home: MyHomePage()));
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  void initState() {
    super.initState();
    FocusManager.instance.addListener(() {
      print('focus changed ${FocusManager.instance.primaryFocus}');
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SizedBox.expand(
        child: ListView.builder(
          itemBuilder: (BuildContext context, int index) {
            return ListTile(
              onTap: () {},
              title: Text(index.toString()),
            );
          },
        ),
      ),
    );
  }
}

Logs

[  +37 ms] executing: uname -m
[  +19 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +3 ms] executing: [/home/jpnurmi/Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +5 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 5fd1d36ecc6750302beebf73683d4a6977603abe
[        ] executing: [/home/jpnurmi/Flutter/] git tag --points-at 5fd1d36ecc6750302beebf73683d4a6977603abe
[  +11 ms] Exit code 0 from: git tag --points-at 5fd1d36ecc6750302beebf73683d4a6977603abe
[   +1 ms] executing: [/home/jpnurmi/Flutter/] git describe --match *.*.* --long --tags 5fd1d36ecc6750302beebf73683d4a6977603abe
[  +28 ms] Exit code 0 from: git describe --match *.*.* --long --tags 5fd1d36ecc6750302beebf73683d4a6977603abe
[        ] 2.6.0-11.0.pre-322-g5fd1d36ecc
[   +5 ms] executing: [/home/jpnurmi/Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] upstream/master
[        ] executing: [/home/jpnurmi/Flutter/] git ls-remote --get-url upstream
[   +5 ms] Exit code 0 from: git ls-remote --get-url upstream
[        ] https://github.com/flutter/flutter.git
[  +48 ms] Unable to locate an Android SDK.
[   +4 ms] executing: [/home/jpnurmi/Flutter/] git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +33 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +41 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +41 ms] Skipping pub get: version match.
[  +65 ms] Generating /home/jpnurmi/Temp/directional_focus_traversal/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +56 ms] Initializing file store
[   +5 ms] Skipping target: gen_localizations
[   +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/jpnurmi/Temp/directional_focus_traversal/.dart_tool/package_config_subset}
[  +14 ms] gen_dart_plugin_registrant: Complete
[        ] Skipping target: _composite
[   +1 ms] complete
[   +3 ms] Launching lib/main.dart on Linux in debug mode...
[   +3 ms] /home/jpnurmi/Flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/jpnurmi/Flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/jpnurmi/Flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.RAFSRT/flutter_tool.UEEZOQ/app.dill --packages
/home/jpnurmi/Temp/directional_focus_traversal/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --flutter-widget-cache
--enable-experiment=alternative-invalidation-strategy
[  +16 ms] Building Linux application...
[  +17 ms] <- compile package:directional_focus_traversal/main.dart
[   +1 ms] executing: [build/linux/x64/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DFLUTTER_TARGET_PLATFORM=linux-x64 /home/jpnurmi/Temp/directional_focus_traversal/linux
[  +40 ms] -- Configuring done
[   +5 ms] -- Generating done
[  +19 ms] -- Build files have been written to: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug
[   +3 ms] executing: ninja -C build/linux/x64/debug install
[   +8 ms] ninja: Entering directory `build/linux/x64/debug'
[+7926 ms] [1/5] Generating /home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/libflutter_linux_gtk.so,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_engine.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_method_call.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_method_response.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/fl_view.h,
/home/jpnurmi/Temp/directional_focus_traversal/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[   +2 ms] [  +40 ms] executing: uname -m
[        ] [  +20 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +3 ms] executing: [/home/jpnurmi/Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +4 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 5fd1d36ecc6750302beebf73683d4a6977603abe
[        ] [        ] executing: [/home/jpnurmi/Flutter/] git tag --points-at 5fd1d36ecc6750302beebf73683d4a6977603abe
[        ] [  +10 ms] Exit code 0 from: git tag --points-at 5fd1d36ecc6750302beebf73683d4a6977603abe
[        ] [   +1 ms] executing: [/home/jpnurmi/Flutter/] git describe --match *.*.* --long --tags 5fd1d36ecc6750302beebf73683d4a6977603abe
[        ] [  +25 ms] Exit code 0 from: git describe --match *.*.* --long --tags 5fd1d36ecc6750302beebf73683d4a6977603abe
[        ] [        ] 2.6.0-11.0.pre-322-g5fd1d36ecc
[        ] [   +5 ms] executing: [/home/jpnurmi/Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] upstream/master
[        ] [        ] executing: [/home/jpnurmi/Flutter/] git ls-remote --get-url upstream
[        ] [   +3 ms] Exit code 0 from: git ls-remote --get-url upstream
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +31 ms] Unable to locate an Android SDK.
[        ] [   +4 ms] executing: [/home/jpnurmi/Flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +34 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +56 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +22 ms] Initializing file store
[        ] [  +12 ms] Skipping target: gen_localizations
[        ] [   +9 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/jpnurmi/Temp/directional_focus_traversal/.dart_tool/package_config_subset}
[        ] [   +3 ms] unpack_linux: Starting due to {}
[        ] [  +50 ms] unpack_linux: Complete
[        ] [ +387 ms] gen_dart_plugin_registrant: Complete
[        ] [   +1 ms] kernel_snapshot: Starting due to {}
[        ] [   +7 ms] /home/jpnurmi/Flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/jpnurmi/Flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/jpnurmi/Flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages /home/jpnurmi/Temp/directional_focus_traversal/.dart_tool/package_config.json
--output-dill /home/jpnurmi/Temp/directional_focus_traversal/.dart_tool/flutter_build/ec663e4143ebb49d3744594ea9d0e228/app.dill --depfile
/home/jpnurmi/Temp/directional_focus_traversal/.dart_tool/flutter_build/ec663e4143ebb49d3744594ea9d0e228/kernel_snapshot.d package:directional_focus_traversal/main.dart
[        ] [+5943 ms] kernel_snapshot: Complete
[        ] [ +288 ms] debug_bundle_linux-x64_assets: Starting due to {}
[        ] [  +91 ms] debug_bundle_linux-x64_assets: Complete
[        ] [ +372 ms] Persisting file store
[        ] [   +4 ms] Done persisting file store
[        ] [   +3 ms] build succeeded.
[        ] [   +4 ms] "flutter assemble" took 7,275ms.
[        ] [  +71 ms] ensureAnalyticsSent: 69ms
[        ] [   +2 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +1 ms] exiting with code 0
[ +281 ms] [2/5] Building CXX object CMakeFiles/directional_focus_traversal.dir/flutter/generated_plugin_registrant.cc.o
[  +34 ms] [3/5] Building CXX object CMakeFiles/directional_focus_traversal.dir/my_application.cc.o
[  +96 ms] [4/5] Linking CXX executable intermediates_do_not_run/directional_focus_traversal
[        ] [4/5] Install the project...
[   +4 ms] -- Install configuration: "Debug"
[   +8 ms] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/directional_focus_traversal
[        ] -- Set runtime path of "/home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/directional_focus_traversal" to "$ORIGIN/lib"
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/icudtl.dat
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/lib/libflutter_linux_gtk.so
[  +28 ms] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/version.json
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/packages
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/NOTICES.Z
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/kernel_blob.bin
[  +33 ms] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing: /home/jpnurmi/Temp/directional_focus_traversal/build/linux/x64/debug/bundle/data/flutter_assets/AssetManifest.json
[  +10 ms] Building Linux application... (completed in 8.5s)
[ +182 ms] Observatory URL on device: http://<IP_ADDRESS>:46415/ZSlcM1Id7ZI=/
[   +3 ms] Caching compiled dill
[  +25 ms] Connecting to service protocol: http://<IP_ADDRESS>:46415/ZSlcM1Id7ZI=/
[  +77 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:46415/ZSlcM1Id7ZI=/.
[  +58 ms] DDS is listening at http://<IP_ADDRESS>:34211/xi3aDv6qR6c=/.
[  +30 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:46415/ZSlcM1Id7ZI=/
[  +29 ms] DevFS: Creating new filesystem on the device (null)
[   +9 ms] DevFS: Created new filesystem on the device (file:///tmp/directional_focus_traversalVOHOZW/directional_focus_traversal/)
[   +1 ms] Updating assets
[  +49 ms] Syncing files to device Linux...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:directional_focus_traversal/main.dart 7e11efd5-be30-4527-9246-c47e40345e4a
[        ] <- 7e11efd5-be30-4527-9246-c47e40345e4a
[  +51 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device Linux... (completed in 54ms)
[        ] Synced 0.0MB.
[        ] <- accept
[   +1 ms] Connected to _flutterView/0x16e48b0.
[   +1 ms] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on Linux is available at: http://<IP_ADDRESS>:34211/xi3aDv6qR6c=/
[ +107 ms] flutter: focus changed FocusScopeNode#55aae(_ModalScopeState<dynamic> Focus Scope [PRIMARY FOCUS])(context: FocusScope, PRIMARY FOCUS)
[ +217 ms] The Flutter DevTools debugger and profiler on Linux is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:34211/xi3aDv6qR6c=/
[+6861 ms] flutter: focus changed FocusNode#c7bc3([PRIMARY FOCUS])(context: Focus, PRIMARY FOCUS)
[+1058 ms] flutter: focus changed FocusNode#68781([PRIMARY FOCUS])(context: Focus, PRIMARY FOCUS)
[ +166 ms] flutter: focus changed FocusNode#8accc([PRIMARY FOCUS])(context: Focus, PRIMARY FOCUS)

Analyzing directional_focus_traversal...
No issues found! (ran in 0.8s)

[✓] Flutter (Channel master, 2.6.0-12.0.pre.322, on Ubuntu 21.10 5.13.0-16-generic, locale en_US.UTF-8)
    • Flutter version 2.6.0-12.0.pre.322 at /home/jpnurmi/Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5fd1d36ecc (3 hours ago), 2021-10-13 10:44:55 +0100
    • Engine revision da5bd05854
    • Dart version 2.15.0 (build 2.15.0-208.0.dev)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 13.0.0-2
    • cmake version 3.18.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.27.0

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Ubuntu 21.10 5.13.0-16-generic

! Doctor found issues in 2 categories.

https://user-images.githubusercontent.com/140617/137133965-66518f31-9b1f-4a25-9d2b-715f0ba6a99e.mp4

/cc @gspencergoog


The intellisence support for mxnet with Python

Operating System: Linux,
Compiler:  Vscode,Pycharm
Package used (Python/R/Scala/Julia): Python 2.7.13
MXNet version:  0.10.1
After installing mxnet,  I found I  could get intellisense when typing  "mx.io." , but no intellisense when typing "mx.sym.",say looking for "flatten".
I wonder whether there is some setting I missed?

I think this is because sym points to symbol and in general, many references, like operators, currently don't show up in autocomplete. The 1.0 roadmap issue (#7319) raises this point and possible solutions to have full auto completion support.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
Also, do please check out our forum (and Chinese version) for general "how-to" questions.


Fix example typo

What

[x] Fixes typo in example

Why
Super minor PR - just ran into a typo when I was integrating the package into my project.

Thanks!


Life time of the temp ts file

What is the life time of the temp ts file we create here, how does it gets cleaned and can we expect any concurrency issues if we use the same file name.
const project = new Project({
useVirtualFileSystem: true,
});
	let sourceFile = project.createSourceFile('___temp__.ts', fileContent);

@kyyash sorry for my delay in replying to this!
When calling let sourceFile = project.createSourceFile("myFile.ts", fileContent);, that file will exist in memory until project.save(), sourceFile.save(), or an ancestor directory is saved. Once that happens, it will be also written to the underlying file system (by default, the actual computer's file system and not a virtual one).
During all that time the file is considered as being created by the project, so if you call project.createSourceFile("myFile.ts", ""); again, it will throw an error saying the file already exists. To not get this error, provide the overwrite option: sourceFile = project.createSourceFile("myFile.ts", "", { overwrite: true }).
Note that you can also call sourceFile.delete() on source files that haven't yet been saved to the file system. Doing this will just remove it from the project and cause it to never be saved to the file system.
Let me know if that helps or if there's any more information you would like to know about.


Port specification in .env file

We try to install ASReview on a server using the dockerfile, which seems to work fine. Because the default ports that are used are already in use, we have to specify new ports. We do so in the .env file:
BACKEND_EXTERNAL_PORT=5015 -> 5003
BACKEND_INTERNAL_PORT=5005
EMAIL_PASSWORD="password"
WORKERS=4
FRONTEND_EXTERNAL_PORT=8080 -> 5002
FRONTEND_INTERNAL_PORT=80
POSTGRES_EXTERNAL_PORT=5433 -> 5004
POSTGRES_INTERNAL_PORT=5432
POSTGRES_PASSWORD="postgres"
POSTGRES_USER="postgres"
POSTGRES_DB="asreview_db"
The following error occurs:

Version information

OS: Linux
ASReview version: latest

Thanks @beffersr for reporting. @cskaandorp can I assign you to this?

Thanks @beffersr for reporting. @cskaandorp can I assign you to this?

Noted, I will look into this asap. If not this week, than on Monday.

I have found an issue, but it's about not using port 8080 for the frontend. I can not reproduce the error in the image. Will try to contact @beffersr

Most likely fixed in #1607. Thanks for reporting.


View/edit context in scratch view

Allow users to view / edit c context in the scratch view via a collapsible text panel

Doesn't C context only affect mips2c, which is only done at scratch creation time?

C context is used at compile time, because without type definitions and struct definitions, the function won't build.
discussion: https://discord.com/channels/688807550715560050/859699601971609610/868091540294217788


Fixed a few bugs in the Description.js code

Here are the errors in the code:

Missing semicolons: There are missing semicolons at the end of some lines, such as after the definition of const textSymbol and const typeSymbol.

Incorrect usage of the Symbol constructor: The Symbol function should not be used with the new keyword. Instead of Symbol('text') and Symbol('type'), it should be Symbol.for('text') and Symbol.for('type').

Invalid default value in the constructor: In the constructor's parameter list, the default value for the type parameter is this.constructor.types.INLINE. However, using this in a parameter default value is not allowed. It should be changed to Description.types.INLINE.

Incorrect getter and setter definitions: The getter and setter for the text and type properties are defined using the same names as the property names. This causes a conflict and results in an infinite loop. The getter and setter functions should have different names. For example, the getter function can be named getText and the setter function can be named setText.

Incorrect type check in the setter for text: The condition typeof text === 'object' should be changed to typeof text === 'number' to check if the type of text is a number, not an object.

Incorrect type check in the setter for type: The condition typeof type !== 'string' should be changed to typeof type !== 'string' || !type.trim() to also check if the trimmed type value is an empty string.

Incorrect reference to this.constructor.types in toJSON and toString methods: The references to this.constructor.types should be changed to Description.types.

Most, if not all of your points are demonstrably incorrect, and the code changes will introduce various bugs and unintended behaviour.
You've also removed all of the doc blocks, which we require for all methods, to generate the API docs.
It also breaks the tests.
Honestly, it looks like this has been written by a bot, so I'm going to reject it.
If it has not been written by a bot, then please run the tests locally to make sure that they still pass.

OK, I will make sure to run it again and see if I'm catching the same errors


Login page 3 d

With respect to the issue number #398

@Vanshiii203 Pls review the PR I have to submit projects on devfolio

@TusharKesarwani Pls look into it I have to submit project on devfolio


fix(fscomponents): add accessibilityRole to selector title

Description
This adds needed accessibilityRole to selector title.

@chukohsin can you update the base branch to be the ADA one instead on develop?

@chukohsin can you update the base branch to be the ADA one instead on develop?

I don't see the ADA branch.


Scope override in Logic

Quick question: There is no way to avoid the repetitive scope override in Logic without making it a class?

No, I wanted to use a mixin and not a class so that your logic business can extend something else.
But I created some snippets for vscode to aleviate the dev to write it everytime.
You can download them here: https://marketplace.visualstudio.com/items?itemName=romain-rastel.flutter-binder-snippets
Then you can use the lref  snippet to create the reference and the logic class boilerplate.

Cool, thanks


500 Error during create'

While the main page reloads every few seconds, at some point when the humans container is up, but tmate isn't ready, we get a 500 error and the page stops loading.
2020/11/11 18:45:19 You must specify a socket name with -S. For example:
  tmate -S /tmp/tmate.sock new-session -d
  tmate -S /tmp/tmate.sock wait tmate-ready

This issue hasn't occurred in a while.


Reduce the number of plotted data points

Given the high number of samplings, it might be helpful to reduce the amount of plotted data points. This would make no difference to the user, but it might significantly improve the performance of the software while plotting.
This might also represent a solution for #16 issue, nonetheless it would produce an enhancement in any case.

This issue is no longer relevant, given what stated in #16 issue. As a result, it will be closed.


Don't foreach unless it's an array. Ticket #6142

Similar thing to https://github.com/pfsense/pfsense/commit/13dab3538fe8b6c1688142c89a017520ad0aaac6 should be done here in upgrade_130_to_131()

Good catch. Merged, thanks @phil-davis


Update items.json

Added some extra items which could be used to spawn special things like Horses, NPCs, Animals, etc.
There are a lot of them:
http://pastebin.com/wMRtTf0d
And there's another pastebin with yet other part of the list.
I won't focus too much on this.

Thanks man


Build the C extension with optimize options enabled

Currently the CMAKE_BUILD_TYPE option is not configured when building the C extension. With the default config, the compiler might not add optimization flags.
After adding CMAKE_BUILD_TYPE=Release, the total send time of 1000k messages reduced from 30s to 10s with the code example here and Python 3.8 on Ubuntu 20.4 container.

The CI seems broken. Let me open another PR to handle it.


Status Update: NonStop Builds Good

Without any other way to report this, I just figured I would report in that commit 4d4de19e9 for OpenSSL 3.0.0 builds and tests correctly for the NonStop ia64 and x86 configurations that are expected to be used. I thought it would be useful to note this as a good baseline version.

Thanks for letting us know.


Images link for first two manuscripts in "Browse Chants" page lead to a page that never loads

To reproduce:

Go to "Browse Chants" page;
Click on the "Images" link for either A-Gu 29 or A-Gu 30;
A new tab opens, but the url is weird and the site never loads.

Demo (New vs. Old comparison):
https://github.com/DDMAL/CantusDB/assets/83373378/fa8da2fc-0d77-4e7b-bb9a-73a384936b68
I've clicked on random other manuscript images and they all load fine. From my casual random selection, it seems to be just these two that are badly behaved.

That weird URL shows up elsewhere on the internet, so I'm assuming the library changed it at some point; I think it was still floating around on OldCantus last October, so it should go away once the data is updated (but will be worth checking.)
OldCantus links to the images at literature.at : http://www.literature.at/viewer.alo?objid=1138&page=9&viewmode=fullscreen&rotate=&scale=1
It would actually be much better to link to the university's images:  https://unipub.uni-graz.at/obvugrscript/content/pageview/6789708 , both because the URL is less ugly and also because the literature.at ones are in a completely bonkers order (which will be relevant to serving them on CU: @dchiller take note!) But maybe that is a problem for Cantus to solve and not DDMAL!

We can't do too much about other sites not loading well, but if there are different urls, this is a data issue that we can expect to be resolved once we sync the data from OldCantus to New.
@annamorphism, I'm assigning you to this, in case you want to change the urls for these sources as you suggested (either do it on OldCantus in the next few days so we can sync from there, or wait for the full switchover and make the change both on Staging and Production). Please close this once you're done (or whenever you feel it's appropriate)

As there is nothing for NewCantus developers to do about this issue, I'm closing it.


Cookie Grabber error

Did you launched it on yourself?
Did google was launched?

Launched by a friend and yes

When launched again it didnt get his roblox cookie even though he is clearly logged in google chrome

Okay tell him to close chrome

and start it again

still same result

hummm

do you have any error or nothing?

No, just the cookie

The other features works fine

Okkay thanks imma work on it

Okay, looki

wait
what are the options u've enabled when building it?

Fixed!


install error: During handling of the above exception, another exception occurred

OS: ubuntu 16.04 x64
python version: cpython 3.5.1
zed@zed-To-be-filled-by-O-E-M:~$ pip install newspaper

Collecting newspaper
  Downloading http://pypi.doubanio.com/packages/ad/f1/5dee1521042ffb8ece842a9608661fc756d366f2c2674afda45e70a6f5f9/newspaper-<IP_ADDRESS>.tar.gz (248kB)
    100% |████████████████████████████████| 256kB 6.1MB/s
Collecting beautifulsoup4==4.3.2 (from newspaper)
  Downloading http://pypi.doubanio.com/packages/30/bd/5405ba01391d06646de9ec90cadeb3893fa355a06438966afff44531219a/beautifulsoup4-4.3.2.tar.gz (143kB)
    100% |████████████████████████████████| 143kB 6.0MB/s
Collecting Pillow==2.5.1 (from newspaper)
  Downloading http://pypi.doubanio.com/packages/9f/95/0d9e63f043a77e298338c2e2c091084dbb370a5167dfdb4c67df45a19434/Pillow-2.5.1.zip (6.9MB)
    100% |████████████████████████████████| 6.9MB 7.1MB/s
Collecting PyYAML==3.11 (from newspaper)
  Downloading http://pypi.doubanio.com/packages/04/60/abfb3a665ee0569b60c89148b7187ddd8a36cb65e254fba945ae1315645d/PyYAML-3.11.zip (371kB)
    100% |████████████████████████████████| 378kB 4.8MB/s
Collecting cssselect==0.9.1 (from newspaper)
  Downloading http://pypi.doubanio.com/packages/aa/e5/9ee1460d485b94a6d55732eb7ad5b6c084caf73dd6f9cb0bb7d2a78fafe8/cssselect-0.9.1.tar.gz
Collecting lxml==3.3.5 (from newspaper)
  Downloading http://pypi.doubanio.com/packages/ae/a8/ad6c2350c65b357faf9a06c7428b5c6159b01bd3014eed93a75513843063/lxml-3.3.5.tar.gz (3.5MB)
    100% |████████████████████████████████| 3.5MB 2.9MB/s
Collecting nltk==2.0.5 (from newspaper)
  Downloading http://pypi.doubanio.com/packages/50/9e/39418026bf8013bbc2852c7aec3fb21e4339f6cd694934496d67a19b53b8/nltk-2.0.5.tar.gz (954kB)
    100% |████████████████████████████████| 962kB 18.9MB/s
    Complete output from command python setup.py egg_info:
    Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.21.tar.gz
    Extracting in /tmp/tmpmq9116q4
    Traceback (most recent call last):
      File "/tmp/pip-build-j7eik19m/nltk/distribute_setup.py", line 143, in use_setuptools
        raise ImportError
    ImportError

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-j7eik19m/nltk/setup.py", line 23, in <module>
        distribute_setup.use_setuptools()
      File "/tmp/pip-build-j7eik19m/nltk/distribute_setup.py", line 145, in use_setuptools
        return _do_download(version, download_base, to_dir, download_delay)
      File "/tmp/pip-build-j7eik19m/nltk/distribute_setup.py", line 125, in _do_download
        _build_egg(egg, tarball, to_dir)
      File "/tmp/pip-build-j7eik19m/nltk/distribute_setup.py", line 99, in _build_egg
        _extractall(tar)
      File "/tmp/pip-build-j7eik19m/nltk/distribute_setup.py", line 467, in _extractall
        self.chown(tarinfo, dirpath)
    TypeError: chown() missing 1 required positional argument: 'numeric_owner'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-j7eik19m/nltk/

Should be how to solve

This looks to be related to your problem:
https://bugs.launchpad.net/lxml/+bug/1503807

The pypi package name for the Python3 version of newspaper newspaper3k.
Can you try: pip install newspaper3k instead?


SynthonSpace Search

Reference Issue
No issue
What does this implement/fix? Explain your changes.
This is an implementation of the substructure search part of the paper of Liphardt and Sander
It allows rapid (a few seconds or so) substructure searching of synthon-based libraries such as Enamine's REAL database or ChemSpace's FreedomSpace.
Any other comments?
Similarity searching by fingerprint to come.

Thanks for the review.  I think I have dealt with everything.

will merge after the last CI build goes through


How to cite your work in an academic research?

Hi, I have used geopy for my master's thesis and I want to cite you in my dissertation. Is there anywhere I can find my required information?

No, I'm afraid not.
geopy is a little package which has received many contributions from independent developers, so I guess there are no specific people who could be specified as authors for citation.
I, specifically, am out of the scientific loop, so I would not benefit from the citation either.

Thank you for responding.
I will address your repository to acknowledge this library and I appreciate your work.
Best regards.


Add CrownControl

Project URL
https://github.com/huri000/CrownControl
Category
Scroll View I guess (couldn't find any better category)
Description
Inspired by Apple Watch Digital Crown, CrownControl is a tiny accessory view that enables scrolling through scrollable content possible without lifting your thumb.
Why it should be included to awesome-ios (mandatory)
It is an original (haven't seen any similar library) and experimental Digital Crown implemented for iOS, and a really cool addition to the awesome library IMHO.
Checklist

[x] Only one project/change is in this pull request
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 7 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

206
403
https://www.udemy.com/arkit-beginner-to-professional/?couponCode=CREATORS

1497
301
https://github.com/mobilefirstinc/MFCard redirects tohttps://github.com/RC7770/MFCard

1516
301
https://github.com/IvanVorobei/RequestPermission redirects tohttps://github.com/IvanVorobei/SPPermission

1915
404
https://github.com/Cleveroad/CRParticleEffect

1959
404
https://github.com/Cleveroad/CRRulerControl

1967
404
https://github.com/Cleveroad/CRPageViewController

2273
404
https://github.com/Cleveroad/CRNetworkButton

  Generated by :no_entry_sign: Danger

@huri000: We cannot merge your PR yet until you write some tests for your lib. Feel free to open PR once it is ready. Thanks.


Audio File Updates

I have created my own versions of the files, and uploaded those in place of the old ones. These files were derived directly from Vocabulary.com.
The tutorial notebook now contains the citation, with a link back to the original site.
The README in the audio folder also contains the citation, with a link back to the original site.

Hi @APerruzziIBM
Can you check and fix the conflict?

@rraymondhp, I've attempted to resolve them offline (as is apparently required because they're complex), but this isn't a branch, so 'git status' on the local repository isn't returning anything. This is my first time resolving conflicts that are too complex for the browser, so there may be something I'm missing here. Let me know what I'm doing wrong, or if it makes sense to create a new pull request starting from an updated master branch.


Update pault.ag/go/debian to v0.11.0

I did this mostly to ensure https://github.com/paultag/go-debian/pull/115 doesn't affect us, and we're good. :+1:
(Also, this gets us on a tagged version, which is :a::heavy_plus_sign:)
:us: :us: :us: @paultag

I forgot to reply. This is awesome 💯


Added favicon #4

Thank you so much @katieqin335 💯 💯 ! I've just merged in your changes, thank you so much for the contribution. I'm on such a bad connection that I can't even test right now so I'll keep this open but the code looked good :)
I'm curious, how'd you find us?!

Scratch that, it's worked great!

Through github search actually (looking for issues tagged "Hacktoberfest").

Awesome. Well happy Hacktoberfest :D
On Sun, 15 Oct 2017 at 21:51 Katie<EMAIL_ADDRESS>wrote:

Through github search actually (looking for issues tagged
"Hacktoberfest").
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/sparcopen/doathon-dev/pull/32#issuecomment-336736740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuWZynY6osqNEXCEZzF2IR0J1maEYW5ks5ssmJPgaJpZM4P53HM
.

--
Joseph McArthur
Assistant Director: Right to Research Coalition
http://righttoresearch.org/
Co-Lead/Founder: Open Access Button http://openaccessbutton.org/
Twitter: @Mcarthur_Joe https://twitter.com/Mcarthur_Joe
Skype: joseph_mcarthur

Thanks!


Return the minio list of files async

As a developer, I'd like to have access to the results as soon as ServiceX has put them in minio.
Assumptions

The query/request to ServiceX is the same as if waiting for a a list of files, or an awkward array rendering of those files.
The information will be delivered asynchronously, as it is returned from ServiceX.
Caching of the results from ServiceX will not occur - no need to download locally in this case.
Caching of the list of files won't occur. This is incase ServiceX is restarted and the results are no longer available.

Approach
Add a new async iterator return. It will return:

The minio bucket net
The filename in that bucket
The URL to give one HTTP access (valid for some sort amount of time).

To surface this, split the _get_files_from_servicex method in two, before and after the download is triggered. Only the first half is needed (and should work on its own).
Notes
The immediate goal is to be able to use this in funcX - as triggered by @BenGalewsky 's work.
Work Plan

[x] Write Code & Tests
[x] Make sure the test script works
[ ] Write Docs
[x] Suppresss download marching ants when this is called

There is an issue with some versions of python 3.8 - it causes an exception on shutdown - but only on windows, apparently. Not clear how big a problem this is...


paho mqtt notebook for public demo

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 44.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/self_driving_lab_demo/utils/search.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
130

Relevant Lines:
264

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-1 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 44.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/self_driving_lab_demo/utils/search.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
130

Relevant Lines:
264

💛  - Coveralls


Generic exception thrown when keys have expired

I have an Azure service which makes use of multiple Project Oxford APIs, and overnight calls to each of the services started failing.
I looked through the logs, and found that the client libraries for both Vision and Face were throwing a System.Exception, with message: "Transport error".
Eventually, I found that invoking the APIs using rest directly, I got a useful message back, saying that the keys had expired. Why this happened is a separate issue, along with why I didn't get any emails to say that the keys were going to expire (they still show as active on the website). But that's all separate - this bug relates to the fact that the client libraries shouldn't just throw a generic Exception with such a vague message. The message returned by the rest API should be wrapped in the client-specific exception.

Hi SaqibS,
Thanks a lot for reporting this! We will address this for the next update.

This issue was moved to Microsoft/Cognitive-Vision-Windows#4

This issue was moved to Microsoft/Cognitive-Face-Windows#4


[REST Paging] Allow setting different itemName and nextLinkName

According to the Swagger x-ms-pageable extension, itemName and nextLinkName are the properties where a pageable response body contains the page and link to the next page respectively.
There are many swaggers that would use different names for these properties across the swagger. This change allows us to pass a set of "known" names that the paging helper can try in the response body to find the page and nextLink.
In the generator we'd generate a wrapping class that passes this to the paginateResponse function:
export function paginate<TReturn extends PathUncheckedResponse>(
  client: Client,
  initialResponse: TReturn
): PagedAsyncIterableIterator<
  PaginateReturn<TReturn>,
  PaginateReturn<TReturn>[]
> {
  return paginateResponse<PaginateReturn<TReturn>>(client, initialResponse, {
    itemNames: ["value", "values", "indexes"],
    nextLinkNames: ["nextLink", "odata.nextLink"]
  });
}

Note:  This is a best-effort pagination helper. Since in RLCs we don't have any mappings at runtime, we can't link resources with a specific combination of nextLink + itemName so this helper provides no protection against scenarios where the response contains more than one of the properties listed as itemName and nextLinkName and it will use the first one found. If more specific logic is needed the SDK owner would need to write a custom pagination helper.
This logic should address the vast majority of the swaggers already in the azure-rest-api-specs repo.

Thanks for starting the conversation @deyaaeldeen. Here's my thinking, it is true that RLCs are targeted at power users, but it is also true that RLCs would be the first SDK a service makes available, so I think we do have some interest in providing optional convenience when possible.
Let's imagine an SDK has 2 operations listFoo and listBar which responses may look like this:

// FooResponse
{
   "body": { "nextLink": "https://example.org/foo/2", "foos": ["1", "2", "3"]}
}

// BarResponse
{
   "body": { "nextLink": "https://example.org/bar/2", "bars": ["a", "b", "c"]}
}

The idea is that with the current implementation users consume our SDK as follows with the paginate helper
const fooResponse = await client.path("/foo").get();
const fooIterator = paginate(client, fooResponse );

const barResponse = await client.path("/bar").get();
const barIterator = paginate(client, barResponse );

for await(const fooItem of fooIterator) {
   console.log(fooItem);
}

for await(const fooItem of barIterator) {
   console.log(barItem);
}

If I understand correctly what you are proposing is that we transfer responsibility to the end-user of implementing the getPage. It would look something along these lines.

async function getPage(nextLinkName: string, itemName: string) {
  return function (client: Client, pageLink: string) {
    const result = await client.pathUnchecked(pageLink).get();
    const nextLink = result.body[nextLinkName]
    const values = result.body[itemName];
    return {
      page: values,
      nextPageLink: nextLink,
    };
  };
}

const fooResponse = await client.path("/foo").get();
const fooIterator = paginate(client, fooResponse, getPage("nextLink", "foos") );

const barResponse = await client.path("/bar").get();
const barIterator = paginate(client, barResponse, getPage("nextLink", "bars")  );

for await(const fooItem of fooIterator) {
   console.log(fooItem);
}

for await(const fooItem of barIterator) {
   console.log(barItem);
}

TBH I think this feels a bit convoluted, and I would expect that even power users would end up manually fetching the pages without using the helper unless they really really need the iterator. I think that even though the helper makes some assumptions and best effort, it adds value to all users. Plus the fact that it is an optional helper, doesn't limit power-users to do their own thing if they choose to
On the other hand, I think there would be value in exposing a way for users to override the default paging operation (additional to the default one) in case they want to implement their own.
@deyaaeldeen does the code snippet above align with what you propose? What do you think?
@bterlson, @xirzec do you guys have any thoughts?

You did not show how to configure the options bags if they were to use the current setup. For the proposed approach, the simplest thing would be just:
async function getPage(pageLink: string, valuesName: string) {
    return client.pathUnchecked(pageLink).get().then((result) => ({
      page: result.body[valuesName],
      nextPageLink: result.body["nextLink"]
    }));
}

const fooResponse = await client.path("/foo").get();
const fooIterator = paginate(client, fooResponse, (nextPage) => getPage("foos")); // `getPage` could also be part of an object instead of being passed directly, similar to how `getPagedAsyncIterator` is defined so if something else needs to be added in the future, it can be added to the object.

const barResponse = await client.path("/bar").get();
const barIterator = paginate(client, barResponse, (nextPage) => getPage("bars"));

for await(const fooItem of fooIterator) {
   console.log(fooItem);
}

for await(const fooItem of barIterator) {
   console.log(barItem);
}

Which is not too bad given that you have more power now to massage your page however you like inside getPage, something a power customer might need but can not do with the current setup. The point of having a limited default is interesting and largely depends on who we are expect to use these stuff. My assumption is that the majority are power users who do not usually mind writing a simple 3 line function.

You did not show how to configure the options bags if they were to use the current setup.

Yeah, that's the thing, end-users don't need to configure the options bag, that's done by the generator using data from the swagger. They just need to call paginate and pass the client and response.
I do like the option of allowing a custom getPage implementation, though. This way if an operation doesn't implement a standard x-ms-pageable pattern, users can provide their implementation. For instance, extract the nextLink from the headers...
async function getPage(pageLink: string, valuesName: string) {
    return client.pathUnchecked(pageLink).get().then((result) => ({
      page: result.body[valuesName],
      nextPageLink: result.headers["nextLink"]
    }));
}

The goal of the helper as it is right now is to be able to handle the standard paging patterns supported by x-ms-pageable.
My proposal is to keep the "automatic" paging with the config generated by the generator (current approach), which provides a one-liner solution. And also have an overload that takes a getPage callback which users can set up if they need a custom implementation.

To clarify, my point is that we should focus on a design in this package that suitable to (power?) customers and not for code gen.

To clarify, my point is that we should focus on a design in this package that is suitable to (power?) customers and not for code gen.

Here I disagree, this library is designed specifically to be used by the generator, not directly by users. Similar to @azure/core-client which is also meant for consumption by the generator (that's why we're prefixing this one and the lro helper with core-client). We state the intent of the core library in the README.md.
If users find this core library suitable for their hand-written code, that's great and we should try to make it as accessible as possible (providing a getPage overload for instance). However, when optimizing we should optimize for the generator.


Ruby 2.4.1

Keeping our dependencies up to date for speed and security improvements and to prevent bit rot.

I believe we still need to update .ruby-version and .travis.yml

All comments addressed


⚠ BeyondHD has degraded performance

In bcc35c9, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 2481 ms

Resolved: BeyondHD performance has improved in d28b993 after 25 minutes.


Add launch message

Adds a launch message to display to the user when the user launches the app. This is used to show feedback to the user whenever Storage fails to read from the data file while launching the app.
Closes #47

Codecov Report
Base: 63.75% // Head: 63.44% // Decreases project coverage by -0.30% :warning:

Coverage data is based on head (1e2ce4e) compared to base (ea6d1f3).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #56      +/-   ##
============================================
- Coverage     63.75%   63.44%   -0.31%
  Complexity      483      483
============================================
  Files            86       86
  Lines          1647     1658      +11
  Branches        178      178
============================================
+ Hits           1050     1052       +2
- Misses          539      548       +9
  Partials         58       58

Impacted Files
Coverage Δ

src/main/java/seedu/address/MainApp.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/UiManager.java
0.00% <0.00%> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
100.00% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add a Sustainable Building Side Quest, allowing players to construct a windmill and other structures using only sustainable materials.

This quest promotes BOTW’s vision of environmental mindfulness, incorporating eco-friendly resources and building practices. The feature includes sustainable resource gathering, building mechanics, and rewards for supporting green initiatives in-game.

Added a Sustainable Building Side Quest, allowing players to construct a windmill and other structures using only sustainable materials have been deployed and successfully merged.


TypeError: init() missing 1 required positional argument: 'device'

Hey,
I read your paper and wanted to test the code, but the error occurs-
I tried to do the test run, and train_test.py code runs fine.
But when I run test_code.py code subsequently,

This happens.
Guess it is a simple problem, but I cannot handle since I dunno where to init 'device'...
Can you help me out?

Hi there.
First of all, thank you for paying attention to my works!
Unlike train_test.py, test_code.py has main and that means it run by itself. And if you see the line 119,
device = torch.device("cuda:" + str(args.device)) if torch.cuda.is_available() else torch.device("cpu") takes device argument(variable) automatically.
It assigns 'cpu' to the variable if you don't have any CUDA GPU, 'cuda:0' otherwise.(check this) It is just nothing but the tensor processor you are gonna use. And Tensors in ~~GNN functions must know which device you are gonna use later (so that they can be stored in the right place). This is why functions takes 'device' argument. I guess you missed 'device' variable before get in to test function in line 125. You better check it before go in to 'test' function.
Hope I helped.

Hi there.
I added 'device' argument to DWGNN model in line 60
I can't test it on my desktop now, so please rerun your code and tell me if error occurs again.
Thank you for paying attention to my works!
Hope it helps.

Thanks, it works now :)


Setup instructions

Please include setup instructions in the README to guide someone to try out your project.

https://github.com/AI-and-Blockchain/F23_Decentralized_Blackjack/blob/main/contracts/README.md


Add support for esm for loading external modules on the server

My specific issue is that I want to use lodash-es because it provides tree-shaking with webpack. However, it is not isomorphic because it exports ES modules and node_modules are treated as externals by webpack on the server.
One solution would be to somehow enable esm support for Razzle.
@jaredpalmer what do you think? My issue is specific to lodash but I imagine there are other libraries as well with ES-only exports that folks might want to use on both sides.

I'd like this as well!
Webpack tree shaking relies on ES2015 module syntax (see: https://webpack.js.org/guides/tree-shaking/), so I wouldn't say it's specific to lodash as much as it is to Webpack tree shaking.


Update for latest Zig master

Must use b.path instead, constructing a LazyPath like this is deprecated since dee9f82f69db0d034251b844e0bc4083a1b25fdd.

Thanks!


Make it possible to adjust the height of the time range controls

Problem
In our app, the time range controls (the time range picker and the refresh button) appear next to some buttons, but these controls don't have the same height as the buttons. It looks broken.

Solution
In our app, buttons are meant to be one of three heights: small = 28px, medium = 32px (default), and large = 40px.
I added a way to adjust the height of the time range controls that matches these values.
Notes
I'm not actually going to use the size prop in Perses! (Because it looks fine in Perses.) I'll be waiting for integration with cloud to use the size prop.
Pitfalls
I took a simple approach and didn't make a type / enum for the size prop. I wasn't sure where this type / enum would live so that it could be accessed by perses/dashboards and perses/components (though, as I type this, I think the answer is perses/core). I also thought I might be getting a little ahead of myself if I enshrined size as an idea in wider parts of the codebase.
The other pitfall with this approach is that it's hard-coded to 28px/32px/40px, instead of reading values from theme. I looked at theme and didn't see any fields that seemed appropriate -- MUI theme doesn't seem to have a concept of global size.
Open to ideas on any of this!

The other way I could think of to maybe approach this would be to add some custom variants for the impacted components to the MUI theme (e.g. perses-toolbar or something like that that wouldn't conflict with other internal styles) and override using those. That would give other consumers the ability the customize these button sizes. I'm curious what some folks with more MUI experience think about the tradeoffs between the two approaches since I'm still really new to it.
https://mui.com/material-ui/customization/theme-components/#creating-new-component-variants

Good ideas to mull over, thank you both!

Allow the consumer to pass sx props to the nested components via some props on the overall TimeRangeControls (so in our integration, we could pass styles to make things look correct).

This makes sense to me as well. In general, this brings up more discussion about the "public" perses components that should bd exported for apps to consume and what type of customization they will allow.


500 error trying to run example

I'm trying to run the example code but get a 500 error. I can curl https://api.policyguru.io/docs using the sample POST request generated at https://api.policyguru.io/docs#/default/write_iam_policy_write_iam_policy_post from the same terminal session where I am trying to run terraform plan. Details are below.
terraform {
  required_providers {
    policyguru = {
      source  = "salesforce/policyguru"
      version = "~>2.0.5"
    }
    aws = {
      source  = "hashicorp/aws"
      version = "~> 3.0"
    }
  }
}

# Configure the AWS Provider
provider "aws" {
  region = "us-east-1"
}

# This creates the policy document.
data "policyguru_document" "example" {
  actions_for_resources_at_access_level {
    read = tolist(["arn:aws:s3:::mybucket/*"])
  }

  actions_for_service_without_resource_constraint_support {
    include_single_actions = ["ssm:GetParameter"]
  }
  exclude_actions = tolist(["kms:Decrypt*", "kms:Delete*", "kms:Disable", "kms:Schedule*"])
}

# This creates an IAM Policy leveraging policyguru
resource "aws_iam_policy" "policy" {
  name        = "policyguru-example"
  path        = "/"
  description = "this uses the policyguru document data source"
  policy      = data.policyguru_document.example.json
}

# This shows you the output value
output "policy_document_json" {
  value = data.policyguru_document.example.json
}

➜ terraform --version
Terraform v1.1.3
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v3.71.0
+ provider registry.terraform.io/salesforce/policyguru v2.0.5

➜ terraform plan
╷
│ Error: status: 500, body: {"message":"Internal Server Error"}
│
│   with data.policyguru_document.example,
│   on main.tf line 29, in data "policyguru_document" "example":
│   29: data "policyguru_document" "example" {
│
╵

Weird. I tried triggering it from the docs and it looks like it should be okay.
Here's the curl command so it is clear that the API is looking like it works. Maybe it's an issue with the Terraform provider itself?
curl -X 'POST' \
  'https://api.policyguru.io/write-iam-policy' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string",
  "actions_for_resources_at_access_level": {
    "read": ["arn:aws:s3:::mybucket/*"],
    "write": [],
    "permissions_management": [],
    "tagging": [],
    "list_access": []
  },
  "actions_for_services_without_resource_constraint_support": {
    "single_actions": [],
    "read": [],
    "write": [],
    "permissions_management": [],
    "tagging": [],
    "list_access": []
  },
  "skip_resource_constraints": [],
  "exclude_actions": []
}'

@reetasingh any ideas?

Decided to try out this Terraform provider and am running into the same error as @jaknn when doing a Terraform plan.
Error: status: 500, body: {"message":"Internal Server Error"}


Issues with sending custom logs to Azure Monitor Logs

Hi Microsoft Azure team,
While following the instructions in https://docs.microsoft.com/en-us/azure/azure-monitor/logs/tutorial-custom-logs-api
I encountered the following issues:

The provided Data Collection Rule json template references

    "resources": [
        {
            ...
            "apiVersion": "2021-09-01-preview"

however 2021-09-01-preview is not a valid value. Instead 2021-04-01 was accepted.

Also after following all the steps, data doesn't appear in the custom log table. Rest calls that try to send data return a 204 code but even after days the table remains empty.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0b1fd641-fa0a-6729-b330-c059d9e510f6
Version Independent ID: 12135267-ee8a-20a0-50ec-b0611fe98c38
Content: Tutorial - Send custom logs to Azure Monitor Logs using resource manager templates - Azure Monitor
Content Source: articles/azure-monitor/logs/tutorial-custom-logs-api.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@tpalfy Thanks for your comment. We will review the issue and get back to you shortly.

@tpalfy Custom logs API  feature in Azure Monitor is in preview. Currently it works only for the whitelisted subscriptions. Kindly  submit a request for it to be enabled in your subscriptions. Please sign up at https://aka.ms/CustomLogsOnboard.
Same information has been documented here. Kindly check.

@SwathiDhanwada-MSFT Thank you for the clarification! I missed the notice about the sign up.

@tpalfy Glad to know it helped you. We will close the issue for now. If there are further questions , please revert and we will be glad to assist you.


Release 5.1.28

On the docket:

[ ] PEX_INHERIT_PATH+default shebangs don't interact well with virtualenvs #1344
[ ] Pex interpreter cache is not upgrade / downgrade safe. #1176
[ ] Decouple PEX runtime interpreter selection from buildtime interpreter selection. #1020
[ ] Provide a better resolve error message for a Platform DistributionTarget when --resolve-local-platforms. #1070
[ ] Remove PEX_PYTHON_PATH from build time interpreter selection. #1075

Split off from "Release 2.1.57 #1522" to make way for some perf fixes relevant to Pants in particular.

Should the title read Release 2.1.58 perhaps?

I'm thoroughly confused. The answer is no @kaos but I may misunderstand.

Ah, got it.


Indexed event params for base types

What was wrong?
How was it fixed?
To-Do

[ ] OPTIONAL: Update Spec if applicable
[ ] Clean up commit history

Codecov Report

Merging #143 (81ec352) into master (931d659) will increase coverage by 0.07%.
The diff coverage is 96.15%.

@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
+ Coverage   82.23%   82.30%   +0.07%
==========================================
  Files          44       44
  Lines        3028     3046      +18
==========================================
+ Hits         2490     2507      +17
- Misses        538      539       +1

Impacted Files
Coverage Δ

semantics/src/namespace/events.rs
95.45% <91.66%> (-4.55%)
:arrow_down:

compiler/src/yul/operations.rs
88.23% <100.00%> (+1.87%)
:arrow_up:

semantics/src/traversal/contracts.rs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Change menu order and move reference docs to new directory and menu.

I tidied up the top menu a little.
Before
Documentation was a bag of different types of docs - tutorials/guides and API references:

After
Documentation menu reordered such that the two guides are at the top:

Reference docs moved into a new subheading "Reference +" and sorted alphabetically:

I've also moved the reference pages under a "reference" subdirectory and updated the links within this repository. There is a re-direct for this but not for the Swagger / Javadoc.

Hm, this also exposes this UI quirk:

Looks like it's creating empty pages for the redirected pages and including them here. I'll see if I can tweak the conditional.


[Game Relations] Similar Games & Same Series

Extension name
Game Relations
Feature Description
As a suggestion, I think it could be a good idea that "Similar Games" section does not show the games that are part of a series, if the "Same Series" section is active.
This option would give more visibility to other games and would avoid that "Similar Games" and "Same Series" show almost the same results.
Screenshots
Example of result trying to avoid. Maybe a bit too extreme.

Done in https://github.com/darklinkpower/PlayniteExtensionsCollection/commit/543a607b820b8c4c7a002b83eb830455632babab and available in new update.


Function returned an unhandled error, invocation is not stored to logs

 Issue by marktani
Wednesday May 24, 2017 at 12:11 GMT
Originally opened as https://github.com/graphcool/api-bugs/issues/73

That's the function:
require('isomorphic-fetch')

use strict;
module.exports = function (event, cb) {
  const endpoint = 'https://api.graph.cool/simple/v1/__PROJECT_ID__'
  const token = 'Bearer __PAT__'

  const companyId = event.data.id
  console.log(event.data)

  const query = `query {
	Company(id: "${comapnyId}" {
	  open
	}
  }`

  return fetch(endpoint, {
    method: 'post',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': token
    },
    body: JSON.stringify({ query })
  }).then((response) => {
      return response.json()
  }).then((data) => {
    console.log(data)
    console.log('Response ' + JSON.stringify(data))
    cb(null, 'success')
  })

  return {data: event.data}
}

 Comment by marktani
Wednesday May 24, 2017 at 14:04 GMT

Even though there are many syntax errors in the function I posted, removing use strict; fixed the problem.

@marktani Is the issue that the function failed the compile step?


Label optional dependencies as external

Silences two useless errors. This is taken from the Webpack config in microsoft/azure-pipelines-vscode, which as a disclaimer, I also wrote.
Before:
><EMAIL_ADDRESS>compileDev
> tsc -p ./ && gulp tslint && webpack --mode development

[17:39:15] Requiring external module ts-node/register
[17:39:19] Using gulpfile ~\repos\omnisharp-vscode\gulpfile.ts
[17:39:19] Starting 'tslint'...
[17:39:26] Finished 'tslint' after 6.23 s
asset extension.js 3.54 MiB [emitted] (name: main) 1 related asset
runtime modules 670 bytes 3 modules
modules by path ./node_modules/ 2.41 MiB
  cacheable modules 2.41 MiB
    javascript modules 2.41 MiB 529 modules
    json modules 1.82 KiB 3 modules
  modules by path ./node_modules/diagnostic-channel-publishers/dist/src/ sync ^.*//lib// 320 bytes
    ./node_modules/diagnostic-channel-publishers/dist/src/ sync ^.*\/lib\/Connection$ 160 bytes [built] [code generated]
    ./node_modules/diagnostic-channel-publishers/dist/src/ sync ^.*\/lib\/Pool$ 160 bytes [built] [code generated]
  ./node_modules/vscode-nls/lib/ sync 160 bytes [built] [code generated]
modules by path ./src/ 599 KiB 110 modules
25 modules

WARNING in ./node_modules/applicationinsights/out/AutoCollection/NativePerformance.js 49:44-89
Module not found: Error: Can't resolve 'applicationinsights-native-metrics' in 'C:\Users\Winston\repos\omnisharp-vscode\node_modules\applicationinsights\out\AutoCollection'
 @ ./node_modules/applicationinsights/out/applicationinsights.js 12:26-71
 @ ./node_modules/vscode-extension-telemetry/lib/telemetryReporter.js 11:18-48
 @ ./src/main.ts 36:37-74

WARNING in ./node_modules/diagnostic-channel-publishers/dist/src/azure-coretracing.pub.js 24:26-71
Module not found: Error: Can't resolve '@opentelemetry/tracing' in 'C:\Users\Winston\repos\omnisharp-vscode\node_modules\diagnostic-channel-publishers\dist\src'
 @ ./node_modules/diagnostic-channel-publishers/dist/src/index.js 5:15-49
 @ ./node_modules/applicationinsights/out/AutoCollection/diagnostic-channel/initialization.js 9:21-61
 @ ./node_modules/applicationinsights/out/AutoCollection/Console.js 2:18-64
 @ ./node_modules/applicationinsights/out/applicationinsights.js 4:25-60
 @ ./node_modules/vscode-extension-telemetry/lib/telemetryReporter.js 11:18-48
 @ ./src/main.ts 36:37-74

...a bunch of warnings about vscode-nls...

8 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.34.0 compiled with 8 warnings in 16171 ms

After:
><EMAIL_ADDRESS>compileDev
> tsc -p ./ && gulp tslint && webpack --mode development

[17:35:07] Requiring external module ts-node/register
[17:35:12] Using gulpfile ~\repos\omnisharp-vscode\gulpfile.ts
[17:35:12] Starting 'tslint'...
[17:35:18] Finished 'tslint' after 6.32 s
asset extension.js 3.54 MiB [emitted] (name: main) 1 related asset
runtime modules 670 bytes 3 modules
modules by path ./node_modules/ 2.41 MiB
  cacheable modules 2.41 MiB 532 modules
  modules by path ./node_modules/diagnostic-channel-publishers/dist/src/ sync ^.*//lib// 320 bytes
    ./node_modules/diagnostic-channel-publishers/dist/src/ sync ^.*\/lib\/Connection$ 160 bytes [built] [code generated]
    ./node_modules/diagnostic-channel-publishers/dist/src/ sync ^.*\/lib\/Pool$ 160 bytes [built] [code generated]
  ./node_modules/vscode-nls/lib/ sync 160 bytes [built] [code generated]
modules by path ./src/ 599 KiB 106 modules
optional modules 84 bytes [optional]
  external "applicationinsights-native-metrics" 42 bytes [optional] [built] [code generated]
  external "@opentelemetry/tracing" 42 bytes [optional] [built] [code generated]
25 modules

...a bunch of warnings about vscode-nls...

webpack 5.34.0 compiled with 6 warnings in 16822 ms

@50Wliu Thanks for the fix!

By the way, is the source code of microsoft.aspnetcore.razor.vscode public? I'd like to get rid of the vscode-nls warnings as well, but it looks like they're coming by way of that package and I can't find the repository for it.

is the source code of microsoft.aspnetcore.razor.vscode public?

I believe you can find it at https://github.com/dotnet/razor-tooling


Initialization issues fixed of updated ConvaiGetLookedAt() function

Correct me if I am wrong, but I do not see any difference between the proposed commit and the current code? Instead, I see the same logic but in the current code only one of the two variables DistSquared, DistSquared2D are computed based on the PlaneView boolean which is more computationally efficient than what is proposed.


chore(api): Constrain jsonschema dependency to current major version

Overview
This PR tweaks #5005.
jsonschema uses semantic versioning. So, we can specify that we don't want their next breaking change.
jsonschema has already had one major version bump since we've started using it, apparently. That could have included breaking changes that affect us; we're lucky it didn't.
Review requests
Should we also change this in the Pipfile?
https://github.com/Opentrons/opentrons/blob/01fccdfc3c6159dc2cd45a59e2ee07cea21031d2/api/Pipfile#L32
Further reading

jsonschema changelog.
It would be nice if we could also do this for NumPy, the only other dependency not to have a pinned version. But we can't, because they don't use semantic versioning..

Since everything else is pinned, should we pin the jsonschema version (maybe to latest 3.2.0) instead of this? Should we pin Numpy too?

I generally prefer version constraints because it makes this more amenable to installing on your system outside of a virtualenv. That's doubly true for something like numpy, where since most of our users are scientists they probably have it installed and are quite particular about their version; and jsonschema, which is a transitive dependency of many other things.


Fix the text log analyzer

Issue #, if available:
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ok-to-test

/unhold

/approve


AmazonS3/Minio WebHook

Your great samples provide a big list of services.
AmazonS3 and Minio are missing though.
Mind adding them?
Spec of Amazon S3 structure
http://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html
A (closed) issue on the minio github repository:  https://github.com/minio/minio/issues/5204

No plans for this receiver at this time. If someone else wants to implement this receiver though we'd be happy to link to it.


Double click on glb or scene in FileSystem does new inherited

Needs to be tracked in a Godot Engine proposal and pull request.


How to use it with matplotlib?

Dear @ThomasBury ,howto use this package with matplotlib?could you show a demo? :)

Hi @chaoshengt, thank you for your Interest. I just added a section "Use with matplotlib" in the Readme. Here is the example that I added and that you'll find in the readme. After correcting the camp, you can fetch is using the method .get_mpl_color_map() and use it for any matplotlib figure ^^
import matplotlib.pyplot as plt
import matplotlib as mpl
import scicomap as sc
from scicomap.utils import _fn_with_roots

# load the color map
div_map = sc.ScicoDiverging(cmap='watermelon')

# correct the colormap
div_map.unif_sym_cmap(lift=15,
                      bitonic=False,
                      diffuse=True)

# get the fixed color map
fixed_cmap = div_map.get_mpl_color_map()
print(type(fixed_cmap))

# use it as you like
im = _fn_with_roots()
norm = mpl.colors.CenteredNorm()
divnorm = mpl.colors.TwoSlopeNorm(vmin=-1, vcenter=0, vmax=1.25)
fig = plt.figure(figsize=(3,3), facecolor="white")
ax = fig.add_subplot(1, 1, 1, facecolor="white")
pos = ax.imshow(im, cmap=fixed_cmap, aspect="auto", norm=divnorm)
fig.colorbar(pos, ax=ax);

Hi @chaoshengt, thank you for your Interest. I just added a section "Use with matplotlib" in the Readme. Here is the example that I added and that you'll find in the readme. After correcting the camp, you can fetch is using the method .get_mpl_color_map() and use it for any matplotlib figure ^^
import matplotlib.pyplot as plt
import matplotlib as mpl
import scicomap as sc
from scicomap.utils import _fn_with_roots

# load the color map
div_map = sc.ScicoDiverging(cmap='watermelon')

# correct the colormap
div_map.unif_sym_cmap(lift=15,
                      bitonic=False,
                      diffuse=True)

# get the fixed color map
fixed_cmap = div_map.get_mpl_color_map()
print(type(fixed_cmap))

# use it as you like
im = _fn_with_roots()
norm = mpl.colors.CenteredNorm()
divnorm = mpl.colors.TwoSlopeNorm(vmin=-1, vcenter=0, vmax=1.25)
fig = plt.figure(figsize=(3,3), facecolor="white")
ax = fig.add_subplot(1, 1, 1, facecolor="white")
pos = ax.imshow(im, cmap=fixed_cmap, aspect="auto", norm=divnorm)
fig.colorbar(pos, ax=ax);

So nice! Thank you @ThomasBury ! I will try and introduce to my friends. :)


Fixes !price chat history not staying between world hops

Due to ChatHistoryPlugin's addition of nbsp characters, the item price lookup would fail to find a matching item in the api's JSON response. Adding a little sanitation to the search variable to replace those nbsp characters before it gets sent of fixes this.

Closing because this is expected behavior.