No possible ways to remap quit from Picker/Explorer keybind

Environment:

❯ nnn -V
4.4

❯ nvim -ver
NVIM v0.9.1

nnn.nvim (latest commit)

Using this in my .lua config
local remaper = vim.api.nvim_set_keymap
local noremap = { noremap = true, silent = true }

-- Open nnn using \\
remaper('n', '<leader><leader>', ':NnnPicker %:p:h<CR>', noremap)

AFAIK, there's not available to remap quit from NnnPicker (same as Explorer) bind, so that's kinda annoying using default 'q' mapping.
In my case (i guess other will agree), that using the same keybind produced for executing nnn will be way more useful that pre-defined one

You need to map NnnPicker/Explorer also in terminal mode:
-- Toggle nnn using \\
remaper({'n', 't'}, '<leader><leader>', ':NnnPicker %:p:h<CR>', noremap)

Then the same key can be used to toggle nnn (closing it will close the window, not the nnn instance).

remaper({'n', 't'}, '<leader><leader>', ':NnnPicker %:p:h<CR>', noremap)

those wouldn't work due to remaper in my case defined as vim.api.nvim_set_keymap, where is intended to use only short-name of one vim mode

Parameters:
{mode} Mode short-name (map command prefix: "n", "i", "v", "x", …) or "!" for :map!, or empty string for :map. "ia", "ca" or "!a" for

but if i would remap it using vim.keymap.set which is supports multiple modes at one.
but for now i'm getting failed! message at the picker's bottom statusline
same as using two separate nvim_set_keymap calls
-- Open nnn using \\
remaper('n', '<leader><leader>', ':NnnPicker %:p:h<CR>', noremap)
-- CLose nnn using \\
remaper('t', '<leader><leader>', ':NnnPicker %:p:h<CR>', noremap)

i used something like that
remaper('n', '<leader><leader>', ':NnnPicker %:p:h<CR>', noremap)
remaper('t', '<leader><leader>', 'q', noremap)

but tbh i guess it's workaround and not how it's meant to be

TBH I'm not sure what you're working around, I don't see the "failed!" message.
Most correct imo would be:
vim.keymap.set("n", "<leader><leader>", "<cmd>NnnExplorer %:p:h<CR>")
vim.keymap.set("t", "<leader><leader>", "<cmd>NnnExplorer<CR>")

it works properly now, thanks!


Support this.transform() in before.upsert

This will make this.transform() available in before.upsert in the case
when the selector matches documents in the collection. In the case when
a new document will be inserted we can’t provide a transformed version
of the doc unless we find a way to generate said document from the
selector.

Related to #161.


ElevationProfile: hide distance unit until available

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 99.496%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
10091

Relevant Lines:
10093

💛  - Coveralls


Make sampleSize apply to computeLabelSizes

This is an alternative to https://github.com/chartjs/Chart.js/pull/6923, which provides a large performance boost as well

Curious, how did you measure the performance boost? I can't seem to get any noticeable change (after rebasing to master)


Define a way to store sorted packages

https://docs.google.com/document/d/1USKu6XdyacZKaZKFqZaXkFAFN_Vc0E2xp00wOzg1X1w/edit?tab=t.0

@pombredanne said

The FixedByPackageRelation and the sorting may be two different things, are they?
call that may be "version_rank"  and I would make it a float so that you can always insert a version between tow existing versions without having to change anything else
Why not put that on the Package? this is package-level IMHO
We need to have a default value of something like 0? and then only look at packages that need to be updated

We will be storing all packages sorted as per this meta
ordering = ["type", "namespace", "name", "version_rank", "qualifiers", "subpath"]

Related #1549


Make IErrorDescriptionFactory internal or remove it

Another fit and polish item from KodKod work. We have a type, but haven't fleshed out it's design. We should make the interface internal or remove it so we can design it to have the right shape once we have all the pieces.

cc @rynowak

@ryanbrandenburg , can you please handle this? Thanks!


some applications cannot be found by PowerToys Run

Microsoft PowerToys version
0.60.1
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
some applications cannot be found by PowerToys Run
for example:

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

how was the app installed and where does that shortcut live?
how recent was the install?
/needinfo /reportbug

how was the app installed and where does that shortcut live?

It is installed by downloading the installer on https://www.sublimetext.com/ and the shortcut is in C:\ProgramData\Microsoft\Windows\Start Menu\Programs

how recent was the install?

I cannot tell exactly, but I'm quite sure that it is installed before powertoys

PowerToysReport_2022-07-20-14-29-35.zip


Expose the calendar that external event is dropped on

I have several calendars displayed on the screen at one time and I'd like to drag and drop events between them.  The display and drag and drop works really well within each calendar, but when I drop it a different calendar I have no idea to work out which one they've dropped it on.
Is there already a way to do this?  Or maybe could you provide some guidance as to how I might do it and I'll submit a PR?

Oh interesting use case! You should be able to work around this by setting the name of the source calendar on each event object so you can work out there it was dragged from e.g.
vm.events = [{
  title: 'title',
  calendarName: 'calendar1'
}]

and then on the drop callback do something like
on-event-times-changed="vm.eventDropped('calendar2', calendarEvent, calendarNewEventStart, calendarNewEventEnd)"

Hope that helps! 😄


add CI infrastructure

the repo contains a .travis.yml which has been copied over from the original elasticsearch-analysis-ik, but it doesn't seem that travis CI has actually been hooked up to this repo (i.e. there is no build verification on the commits or on PRs). also, it wouldn't work anyway as it tries to run a maven build but the repo has been migrated to gradle.
i'd suggest to throw out .travis.yml and directly use GitHub Actions (much better integration compared to Travis) and let the build run for all PRs and all direct pushes (though i'd strongly suggest to disable direct pushes and do all code changes through PRs, even if you just self-approve yourself for the time being).
note that this most likely requires #2 to be fixed first as otherwise the build will probably not work correctly.

if you'd port the project to use this template then this should work out of the box: https://github.com/opensearch-project/opensearch-plugin-template-java


show_message_box() buttons keyword does not act as expected

Prototype for show_message_box() is:
show_message_box(title, text, buttons=MessageBoxButtonResult.OKButton, icon=MessageBoxIcon.InformationIcon):

This reads that by default only an OK button should display. Calling: show_message_box('','') displays a popup with a Cancel/No/Yes.
Likewise:
show_message_box('', '', buttons=MessageBoxButtonResult.CancelButton) shows "Ok"
show_message_box('', '', buttons=MessageBoxButtonResult.NoButton) shows "Ok"
show_message_box('', '', buttons=MessageBoxButtonResult.YesButton) shows "No" "Yes"
show_message_box('', '', buttons=MessageBoxButtonResult.OKButton) shows "Cancel" "No" "Yes"

The default value is actually incorrect should be MessageBoxButtonSet.OKButtonSet.

Sorry about that, the autogenerated documentation and the default value is incorrect. Updating the docs to include the proper references, in the meantime if you need to work around, just use MessageBoxButtonSet instead.

Whoops, didn't see peter's comment. At least I added a link. :-P

fixed on dev


curl_cffi sends payloads incorrectly

curl_cffi is designed to be similar to the Requsts library, but unfortunately it struggles to process payload the same way.
When sending dict with data=payload(the way firefox shows it when you're checking content in the formatted mode) - it may not accept it properly, not converting to regular string as Requests does(same site). Gladly it works if it's formatted as a string in the code.
More important:
When sending dict with json=payload - it struggles too. I'm yet to figure out why, but again - Requests library sends it just fine and only curl_cffi is provoking server error.
Would be great if there would be some note about differences, so that it could be looked up.

Could you please give me some examples? So I can reproduce and fix them.

I was wrong, it wasn't a problem with json in my "More important" part.
The problem is content-type header that library tries to add when detects json in the payload. It does it in "if json" in sessions file If I'm not mistaken.
If I remove content-type header from headers I'm applying, or if I'll remove line in the library that adds same header - it works.

It seems that requests, since v2.4.2, also adds Content-Type: application/json header per the standard. Which version of requests are you using?

Name: requests
Version: 2.28.2
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /usr/lib/python3.11/site-packages
Requires: idna, urllib3
Required-by: moddb, ProtonUp-Qt, steam

I guess it ads it somehow differently cause no such problem with it.


pull request for e2e test at 02/06/2017 03:45:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Refactor base url in Base and append service in sub classes

Update for grades2stellar to use Gradebook instead of client will happen shortly, but this is part of the plan for #23.

Coverage remained the same at 100.0% when pulling 9b53729f6cd054bef8f3c8d422c1961d0d67c39a on feature/cg/refactor_baseurl into 27ff5398a860566c11d30413e1576cf49324a7b6 on master.


Tab icons do not render when defined as a function component

I'm using create-react-native-app and their included vector icons.
When creating a TabNavigator, I can set the tabBarIcon to be a <Ionicons/> component just fine:
Code:
export const ScheduleNavigator = TabNavigator({
  ScheduleDetails: {
    screen: ScheduleDetailsScreen,
    navigationOptions: {
      title: "My Plan",
      tabBarIcon: <Ionicons name="ios-settings" size={24} />
    }
  },
  ScheduleUpcoming: {
    screen: ScheduleUpcomingScreen,
    navigationOptions: {
      title: "Upcoming",
      tabBarIcon: <Ionicons name="ios-calendar" size={24} />
    }
  },
  ScheduleCompleted: {
    screen: ScheduleCompletedScreen,
    navigationOptions: {
      title: "Completed",
      tabBarIcon: <Ionicons name="ios-checkmark-circle"  size={24} />
    }
  },
});

Screenshot:

However, when I try to set the tabBarIcon to be a component function (so I can use the focused parameter), it renders nothing.
Code:
export const ScheduleNavigator = TabNavigator({
  ScheduleDetails: {
    screen: ScheduleDetailsScreen,
    navigationOptions: {
      title: "My Plan",
      tabBarIcon: ({focused}) => {
        <Ionicons name={focused ? "ios-settings" : 'ios-settings-outline'} size={24} />
      },
    }
  },
  ScheduleUpcoming: {
    screen: ScheduleUpcomingScreen,
    navigationOptions: {
      title: "Upcoming",
      tabBarIcon: ({focused}) => {
        <Ionicons name={focused ? "ios-calendar" : 'ios-calendar-outline'} size={24} />
      },
    }
  },
  ScheduleCompleted: {
    screen: ScheduleCompletedScreen,
    navigationOptions: {
      title: "Completed",
      tabBarIcon: ({focused}) => {
        <Ionicons name={focused ? "ios-checkmark-circle" : 'ios-checkmark-circle-outline'} size={24} />
      },
    }
  },
});

Screenshot:

Am I doing something wrong, or is this a bug?  I've seen other examples of people doing this just fine and as far as I can tell, I'm doing it the same way.  That's what makes me think this might be some kind of bug.

software
version

react-navigation
1.0.0-beta.22

react-native
0.50.3

Nevermind, I figured it out.
Should have been:
export const ScheduleNavigator = TabNavigator({
  ScheduleDetails: {
    screen: ScheduleDetailsScreen,
    navigationOptions: {
      title: "My Plan",
      tabBarIcon: ({focused}) =>
        <Ionicons name={focused ? "ios-settings" : 'ios-settings-outline'} size={24} />,
    }
  },
  ScheduleUpcoming: {
    screen: ScheduleUpcomingScreen,
    navigationOptions: {
      title: "Upcoming",
      tabBarIcon: ({focused}) =>
        <Ionicons name={focused ? "ios-calendar" : 'ios-calendar-outline'} size={24} />,
    }
  },
  ScheduleCompleted: {
    screen: ScheduleCompletedScreen,
    navigationOptions: {
      title: "Completed",
      tabBarIcon: ({focused}) =>
        <Ionicons name={focused ? "ios-checkmark-circle" : 'ios-checkmark-circle-outline'} size={24} />,
    }
  },
});

Thanks


janet: 1.4.0 -> 1.5.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/janet/versions.
meta.description for janet is: '"Janet programming language"'.
meta.homepage for janet is: '"https://janet-lang.org/"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.5.1 with grep in /nix/store/limp4a9zvwddwlmhq1hinnjlyycm1611-janet-1.5.1

directory tree listing: https://gist.github.com/34f1135d4ef07cc95aa4701322fe3615

du listing: https://gist.github.com/6d495b3c77343e2a22f135605f08f0b0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
janet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/limp4a9zvwddwlmhq1hinnjlyycm1611-janet-1.5.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A janet https://github.com/r-ryantm/nixpkgs/archive/5df841fce31031902ed745237d51b8ee8b37ddb4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/limp4a9zvwddwlmhq1hinnjlyycm1611-janet-1.5.1
ls -la /nix/store/limp4a9zvwddwlmhq1hinnjlyycm1611-janet-1.5.1/bin

cc @andrewchambers for testing.

Looks good to me.


Incorrect datetime value error when running ght-restore-pg

Executing the ght-restore-pg on the data from 2018-09-01 gives (at least) the following two datetime related errors:
ERROR:  date/time field value out of range: "0000-00-00 00:00:00"
CONTEXT:  COPY commits, line 490174, column created_at: "0000-00-00 00:00:00"

ERROR:  date/time field value out of range: "0000-00-00 00:00:00"
CONTEXT:  COPY issues, line 1738, column created_at: "0000-00-00 00:00:00"

The Postgres field for datetime does not allow 0000-00-00 00:00:00 as a date. pg_schema.sql defines all created_at columns as NOT NULL which also makes a solution replacing those values with NULL infeasible.
I see the following solutions but wanted to check back with you before submitting a PR:

remove the NOT NULL constraint from the created_at columns
remove all lines with 0000-00-00 00:00:00 from the dataset
somehow pre-filter the affected lines in the import script (maybe with a trigger leveraging NULLIF)

For commits.csv 911947 rows are affected:
foo@bar:~/mysql-2018-09-01$ grep '0000-00-00 00:00:00' commits.csv | wc -l

For issues.csv, this issue (hehe) is very limited:
foo@bar:~/mysql-2018-09-01$ grep '0000-00-00 00:00:00' issues.csv
1783,1334,19546,\N,0,\N,"0000-00-00 00:00:00",5239
1197979,1191531,19546,\N,0,\N,"0000-00-00 00:00:00",3
1391006,1191531,19546,\N,0,\N,"0000-00-00 00:00:00",2
58284114,77099772,1505119,\N,0,\N,"0000-00-00 00:00:00",9

I 've noticed this as well. This is caused because MariaDB, currently GHTorrent's main database, does not correctly handle dates that are < 0 in epoch seconds. I have since changed the source code (19a2dedf28935d84) to make sure that no zero values are being written to any created_at field, and updated all corresponding entries in the database.  I think that the first dump that will contain those fixes will be the 2018-12-01.
In the mean time, you can simply replace the incorrect values with a simple sed command, e.g.
sed -e 's/0000-00-00 00:00:00/1970-01-02/' < commits.csv

The same problem seems to affect 2019-06-01. For now, I successfully adopted @larsborn's solution, which appears to be cleaner than substituting with a placeholder date. From the point where the script breaks:

Substitute with null: sed -i 's/"0000-00-00 00:00:00"/\\N/g' commits.csv
Drop constraint: ALTER TABLE commits ALTER COLUMN created_at DROP NOT NULL;
Re-import with COPY commits FROM 'mysql-2019-06-01/commits.csv' WITH (FORMAT 'csv', QUOTE E'"', ESCAPE '\', NULL '\N');

(Ended up with<PHONE_NUMBER> commits, in case someone wants to verify)


'app-insights' is not in the 'az monitor' command group

Before using az monitor app-insights commands it is necessary to add the Application Insights extension to AZ CLI.
This should be mentioned somewhere for those that reach the page from a search engine.

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

ID: 7d7f5f91-5e89-9082-8c70-6431f0025f37
Version Independent ID: 298daf64-db32-8b64-9a45-2c4c5e189522
Content: az monitor
Content Source: latest/docs-ref-autogen/ext/application-insights/monitor.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

add to S176

Now extension can be loaded automatically and you don't need install it manually.

duplicated with #2475


Add Deposit Feed contract

Description
This PR does the following:

Adds a new contracts sub-package.
The Deposit Feed contract and tests.
Removes the pseudocode from deposits.md, and just points to the solidity file instead.

Note to reviewers
Although this PR adds 17 new files, most are just config and scaffolding. You can focus on:

DepositFeed.sol
depositFeed.spec.ts
Minor changes to deposits.md

Metadata

Fixes #ENG-1738
#68

A suggestion for testing events, we can use the waffle library, in particular the emit Chai (another library) matcher: https://ethereum-waffle.readthedocs.io/en/latest/matchers.html#emitting-events
Otoh, less dependencies is also cool with me.

Note: the project refuses to compile if the ETHERSCAN_API_KEY env variable is not set, which is not ideal.

Trying to run, I get:
# yarn test
yarn run v1.22.17
$ hardhat test
An unexpected error occurred:

hardhat.config.ts:28:3 - error TS2322: Type '{ solidity: string; networks: { rinkeby: { url: string; accounts: string[]; }; }; gasReporter: { enabled: boolean; currency: string; }; etherscan: { apiKey: string | undefined; }; }' is not assignable to type 'HardhatUserConfig'.
  Object literal may only specify known properties, and 'etherscan' does not exist in type 'HardhatUserConfig'.

28   etherscan: {
     ~~~~~~~~~~~~
29     apiKey: process.env.ETHERSCAN_API_KEY,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30   },
   ~~~

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@norswap, you need to pull again :)

We had a bit of a side bikeshed about the path forward here WRT to handling deposits with ETH value.
Here is some historical context as to why we have an ERC20 contract for tracking ETH balances on L2: #84.
I plan to move forward with the following:

Assume that ETH is deposited to an external bridge contract, which we will not implement (though will likely have a dummy contract for testing purposes).
ETH is no longer sent to or held in the Deposit Feed Contract. This means that minting on L2 will be done purely based on an authorization scheme, much like now. That is, the L2 Bridge contract will mint ETH if and only if the L1 caller is the L1 Bridge, informing it that it has received an ETH deposit.

Contrary to my previous comment, I now think that we should accept ETH directly within the DepositFeed contract.

Not accepting ETH directly would require that we add another edge case (require(msg.sender == address(L1EthBridge))).
In that edge case, we would need to parse the calldata, in order to extract the value and data emit.
The main motivation for NOT accepting ETH directly is backwards compatibility with the existing L1 bridge. If that's our priority, then we should also preserve backwards compatibility the L2 bridge, which would require many more changes:

ie. ETH deposits would be minted as the OVM_ETH token, by a privileged contract (the L2 bridge).

ETH is the native token of the network, and so should be treated like a first class member (alongside data). The alternative approach is an ugly abstraction we should try to avoid if we can.

It may be the case that we eventually decided that backwards compatibility IS important enough to do this, but as protocol designers, we should default to simplicity, and let others talk us into adding complexity.


Adding a Folder to the DMG

Hello,
Is there a way to add a folder to the DMG and only show the icon of a folder?

No, this module is meant to cover the 90% use-case. You can use the underlying module directly for this: https://github.com/LinusU/node-appdmg


[wip] Statically built Nix

Motivation for this change
This makes it possible to build Nix statically through pkgsStatic.nix. Needs a couple of patches to nix but otherwise works smoothly.
If you'd like to try it, you can just check out this branch and run:
nix-build -A pkgsStatic.nix

and wait a little bit. More targets are available here:
https://github.com/matthewbauer/static-nix
Alternatively, you can use my prebuilt binary at https://matthewbauer.us/nix. It is built for x86_64-linux and can be used on any system like this:
$ curl https://matthewbauer.us/nix | sh -s ...

For instance, on a linux system without nix installed, you can do this:
$ curl https://matthewbauer.us/nix | sh -s run --store $HOME/.cache/nix/store -f channel:nixpkgs-unstable hello -c hello
Hello World!

There are many uses cases where nix is unavailable and the above command can be extremely useful. It's a little slow still, but can be sped up by reusing the same --store value (such as $HOME/.cache/nix/store). Here is the time:
$ time (curl https://matthewbauer.us/nix | sh -s run --store $HOME/.cache/nix/store -f channel:nixpkgs-unstable hello -c hello)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5596k  100 5596k    0     0  2807k      0  0:00:01  0:00:01 --:--:-- 2807k
[2 copied (24.0 MiB), 35.5 MiB DL]
Hello, world!
( curl https://matthewbauer.us/nix | sh -s run --store $(mktemp -d) -f  hello)  3.39s user 3.52s system 70% cpu 9.757 total

I tried following some of the examples in your blog post on my NixOS machine, and I get this error message:
[ryantm@laptop3:~]$ $ curl https://matthewbauer.us/nix | sh -s run --store $HOME/.cache/nix/store -f channel:nixpkgs-unstable hello -c hello
$: command not found
[ryantm@laptop3:~]$ curl https://matthewbauer.us/nix | sh -s run --store $HOME/.cache/nix/store -f channel:nixpkgs-unstable hello -c hello
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5596k  100 5596k    0     0  1408k      0  0:00:03  0:00:03 --:--:-- 1408k
error: getting status of '/nix/store/p492jkrs1q0nddjqghw5d5s5w7kgifda-nix-2.2-x86_64-unknown-linux-musl': No such file or directory
[ryantm@laptop3:~]$ nix=$(mktemp); \
>   curl https://matthewbauer.us/nix > $nix && \
>   chmod +x $nix && \
>   $nix run --store $HOME/.cache/nix/store -f channel:nixpkgs-unstable \
>   ranger -c ranger
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5596k  100 5596k    0     0  5264k      0  0:00:01  0:00:01 --:--:-- 5269k
error: getting status of '/nix/store/p492jkrs1q0nddjqghw5d5s5w7kgifda-nix-2.2-x86_64-unknown-linux-musl': No such file or directory

I'm getting the same error as @ryantm

Thanks for the heads up. I had forgotten about those extra files needed. The updated binary at https://matthewbauer.us/nix should have a working copy.
For future reference, this is how it was built:
nix-build -A pkgsStatic.nix
mkdir -p nix
cp ./result/bin/nix nix/nix
cp -r ./result/share nix/share
cd nix
chmod 755 chmod 755 share/ share/nix/ share/nix/corepkgs/
rm -rf share/nix/sandbox
chmod 644 nix share/nix/corepkgs/*
tar cfz nix.tar.gz nix share/
arx tmpx ./nix.tar.gz // './nix "$@"' > ./nix.sh
cp ./nix.sh ~/matthewbauer.github.io/nix

Works now for me!

 Who is going to be responsible for maintaining those?

Who is going to be responsible for maintaining those?

One possible part of the solution would be for @matthewbauer to add himself as a maintainer of these packages.

Yeah i can do that. Lots of these are because of ad hoc configure scripts (no autotools, cmake, or meson). Other times static libs are not being installed correctly into prefix. All of these can probably be corrected with upstream patches though.

This looks really cool, it would help people (me) run nix on ARM with limited memory / disk space (by downloading a static nix and loading some external disk space and setting the nix store inside there).
Is this the right derivation to build?
nix build -f . pkgsStatic.pkgsCross.aarch64-multiplatform.nix

I don't think that will work - it will build a static toolchain and then cross compile with it. Ideally, you would pass these args to Nixpkgs:
nix build -f. \
  --arg crossSystem '{ config = "aarch64-unknown-linux-musl"; }' \
  --arg crossOverlays '[ (import ./pkgs/top-level/static.nix) ]'

But I don't think crossOverlays is exposed yet.

Thanks for this PR @matthewbauer ! After 220 derivations & a couple of days  on my small ARM board, I've got a statically compiled armv7l nix!
nix-2.2-armv7l.tar.gz
I did have to edit the bash derivation though:
diff --git a/pkgs/shells/bash/4.4.nix b/pkgs/shells/bash/4.4.nix
index e5e33c7..a61801a 100644
--- a/pkgs/shells/bash/4.4.nixmaybe this is because it can't create user namespaces onmaybe this is because it can't create user namespaces on this board and it defaults to  this board and it defaults to
+++ b/pkgs/shells/bash/4.4.nix
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
     sha256 = "1jyz6snd63xjn6skk7za6psgidsd53k05cr3lksqybi0q6936syq";
   };

-  hardeningDisable = [ "format" ];
+  hardeningDisable = [ "format" ] ++ optional (stdenv.hostPlatform.libc == "musl") "pie";

   outputs = [ "out" "dev" "man" "doc" "info" ];

now I can run it but nix seems to ignore the --store argument (it tries to find /nix), maybe it can't setup the chroot and defaults to the normal store, but I have this:
$ zcat /proc/config.gz | egrep 'USER_NS|SECCOMP'
CONFIG_USER_NS=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_SECCOMP=y

$ sudo mkdir -p /nix/store

$ ./nix run --store ~/my-nix nixpkgs.nix nixpkgs.bashInteractive
error: getting status of '/nix/store/3azwf31ib816jq403qrymzw02hrlj5fk-nix-2.2-armv7l-unknown-linux-musleabihf': No such file or directory

$ ./nix show-config | grep '/nix/store'
build-hook = /nix/store/3azwf31ib816jq403qrymzw02hrlj5fk-nix-2.2-armv7l-unknown-linux-musleabihf/libexec/nix/build-remote
sandbox-paths = /bin/sh=/nix/store/l31h4is1irdw1zfld2qf7l0l4w98ylrh-busybox-1.30.1-armv7l-unknown-linux-musleabihf/bin/busybox

i'll keep poking around, thought i'd post the built binary here if it helps anyone

You need to provide a Nix channel / file for it to use. So most likely you need something like this:
export NIX_DATA_DIR=$(nix-build '<nixpkgs>' -A nix)/share
./nix run --store ~/my-nix -f channel:nixpkgs-unstable nixpkgs.nix nixpkgs.bashInteractive

Both the --store and -f flags would be nice to provide defaults ofr.
NIX_DATA_DIR is needed to pick up some "booter" expressions in corepkgs. You can use the native Nix for this to avoid rebuliding.

@matthewbauer that worked! i'm currently building with a static nix in a custom nix-store :tada: !
but in order to do that I did have to include these files in my root's /nix/store, even though there's no other nix files present on the system:
$ find /nix/store ! -type d
/nix/store/l31h4is1irdw1zfld2qf7l0l4w98ylrh-busybox-1.30.1-armv7l-unknown-linux-musleabihf/bin/ash
/nix/store/l31h4is1irdw1zfld2qf7l0l4w98ylrh-busybox-1.30.1-armv7l-unknown-linux-musleabihf/bin/sh
/nix/store/l31h4is1irdw1zfld2qf7l0l4w98ylrh-busybox-1.30.1-armv7l-unknown-linux-musleabihf/bin/busybox
/nix/store/3azwf31ib816jq403qrymzw02hrlj5fk-nix-2.2-armv7l-unknown-linux-musleabihf/libexec/nix/build-remote

$ ls root/nix/store | wc -l
814

the files in my /nix/store also have incorrect permissions (they're writable) so it looks like it's just a hard-coded path in the static nix.
so, the static nix is fully portable except that it references those two paths.
maybe a unit test that checks that no buildInputs are runtime dependencies?

I have a repo that holds some scripts to build static nix here:
https://github.com/matthewbauer/static-nix
It makes it easy to cross build Nix to a few architectures like:

aarch64
armv6l
armv7a
powerpc64le
i486
i686

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/crosscompilation-to-musl32-problems/3110/3

I've polished a few commits from here and pushed to master to fix builds of bohemgc, brotli, and busybox.
What's left seems to be: curl, boost and openssl.

Fixed also curl, boost, opeensl and libsodium.
Last one standing before nix is nghttp2:
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /nix/store/6zcfsp4rkn7pyc04zy0jww3p5lfhvvh4-gnugrep-3.3/bin/grep
checking for egrep... /nix/store/6zcfsp4rkn7pyc04zy0jww3p5lfhvvh4-gnugrep-3.3/bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
/nix/store/gkq6rh8nj8i7prh4c9rawhwrk5g20cfx-x86_64-unknown-linux-musl-binutils-2.31.1/bin/x86_64-unknown-linux-musl-ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1414: nghttp] Error 1
make[3]: Leaving directory '/build/nghttp2-1.39.2/src'
make[2]: *** [Makefile:2678: all-recursive] Error 1
make[2]: Leaving directory '/build/nghttp2-1.39.2/src'
make[1]: *** [Makefile:567: all-recursive] Error 1
make[1]: Leaving directory '/build/nghttp2-1.39.2'
make: *** [Makefile:476: all] Error 2
builder for '/nix/store/ba1w3wbdp4k02pkanhwcpyh2cv2qj2wh-nghttp2-1.39.2-x86_64-unknown-linux-musl.drv' failed with exit code 2

Any ideas?

Fixed also zlib and nghttp2.

It gets all the way to nix now:
Updating Autotools / GNU config script to a newer upstream version: ./config/config.guess
configuring
chmod: missing operand after 'u+w'
Try 'chmod --help' for more information.
builder for '/nix/store/17hykiklqbk2dyq3jcj6pdb9b32sl9yk-nix-2.3-x86_64-unknown-linux-musl.drv' failed with exit code 1

I think we should close this one as it has conflicts. I haven't checked cross compilation (certainly some patches from this PR is missing), but at least Nix compiles statically in https://github.com/NixOS/nixpkgs/pull/70024

Is there a way to get the static binary without flake ?
Can it be published as a release artifact on GitHub ?

It is built by CI, so it just needs that some adds an artifact.

That's so cool. A lot of guides or tutorials could use it instead for a very light installation or demo.

Off topic: @domenkozar why is multi user install becoming the default ?

See https://github.com/NixOS/nix/pull/4181 for discussion

@fzakaria You can now download static nix via Hydra at:
https://hydra.nixos.org/job/nix/master/buildStatic.x86_64-linux/latest/download/2/nix
We don't have any official release on nixos.org yet though.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/where-can-i-get-a-statically-built-nix/34253/3


Not working with serialized property backing fields

Hey! Hopefully I am wrong, but the following doesn't seem to produce any desired results for me:
[field: SerializeField]
[field: Box("Group")]
public bool TestProp { get; private set; }

Unity 2022.3.12, and it shouldn't be improper setup on my end because everything works fine in the same class as long as it's a public field and not a prop.

Hi! I don't think Unity serializes properties and so MarkupAttributes do not work on them.

It should be a field to work properly. Though it doesn't have to be public, private/protected [SerializeFiled] marked ones work as well.

Unity most definitely serializes the backing fields though. The serialization aspect of the snippet I added above works, and I use it all the time. Cheers!

I see. Either it did not do it before or I was misguided. Whichever it is, I only check for attributes the FieldInfo for each SerializedProperty, so the attributes on properties won't register. Relevant code is here: https://github.com/gasgiant/Markup-Attributes/blob/main/Assets/MarkupAttributes/Core/Editor/EditorLayoutDataBuilder.cs

Or, if I understand the syntax correctly, the attributes are applied to the backing field. In this case it won't have the same name as the SerializedProperty, so GetField would return null.

Gotcha. Do you think this could be something you support? All good if not, I was just hoping to switch away from Naughty Attributes as yours seems to handle nesting way better.

I think I can do this relatively easily, if the name of the underlying property can be relied on. I'll let you know about the outcome.

Sounds good, cheers!

Sgining up for an update for the solution.


Greater than and lower than characters in data attribute not interpreted as part of string

Hey! We have troubles with a custom component.
We defined a custom component called "Small" and it contains the text: "hello > world".
The following custom component  now results in a problem.
The data that we get in the component is: { data: true, hello: true, className: undefined }
It interprets the > character as either

Closing tag or as
greater than

Rather, we would expect the structure to be as follows: { data: "hello > world" }.
Have you ever run into a similar problem? I would be very happy to receive your advice.

Ah interesting, this is likely a bug in the HTML processing regex, PRs welcome if you want to try and dig into it otherwise I might have some time later this week.


Best effort publisher stops sending to local subscribers when remotes connect

Since the 1.5.0 fastrtps release the following issue has appeared in ROS 2:

There is a best effort publisher talking to best effort subscriber(s) on the same machine.
A best effort subscriber connects on the same domain ID but a remote machine.
The best effort subscriber connected remotely receives message, but the local subscriber(s) does not.
When the remote subscriber is killed, the local subscribers receive messages again.
Repeat. Whenever the remote subscriber is connected, the local ones do not receive messages.

Steps to reproduce with the minimal ROS 2 talker/listener examples are at https://github.com/ros2/rmw_fastrtps/issues/125
Before release/1.5.0 was merged into master, switching between the two branches would consistently make the behaviour appear and disappear. Therefore I believe this to be due to a change in the latest release.
Have there been changes to the when multicast/unicast is used for best effort publishers?

Thanks for your report. We are testing a solution in branch hotfix/besteffort

thanks @richiware for the quick fix. I tested it and it fixes the talker / listener example provided by @dhood . I'm in the process on trying it on a bigger system and will report here with the results

Thanks @richiware, we've tested more complex demos and the hotfix/besteffort branch resolves the issues. We also ran CI using that branch and none of the integration tests have regressions.

Linux
Linux-aarch64
macOS
Windows

So, from our side, that branch looks good and we'll use it for the ROS 2 release (or master if you choose to merge it by then)

The branch was merged into master. Thanks for your help.

Thanks!


Fix racetest failures in fluentd test  [release-1.1]

Fixing a racetest failure due to #11623
Similar fix for 1.0 is in #11616

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ymesika
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: douglas-reid
If they are not already assigned, you can assign the PR to them by writing /assign @douglas-reid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @douglas-reid

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-unit-tests

prow/istio-integ-k8s-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-unit-tests

prow/istio-integ-k8s-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-pilot-multicluster-e2e

prow/istio-unit-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-unit-tests

prow/istio-integ-k8s-tests.sh
3de40bcb950526008b075fb0c471d01e7ffc499a
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-unit-tests

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: douglas-reid, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

mixer/OWNERS [douglas-reid]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

cc @wenchenglu


Several links broken in readme

It looks like links with http://ioam.github.io/holoviews/ as a base url are broken.

Thanks for reporting this.
I'll be going through all the docs and README shortly and I'll make sure to check all the links.

Fixed in the PR referenced above. Closing.


Update the CSV

Minor Text Changes.

Just having fun.

I believe it's Dutch for "pack".

Oh, then should I change the colors to dutch also?

If you really wanna.

Nah, that would just be silly.


implement the search function to search for workspaces

currently the search bar is useless

This function is hidden because the search function is not very useful at this moment as there aren't many things to search.


ease adoption by enterprises

WTFPL shows “lack of warranty disclaimer, very vague rights grant”, according to Google’s recommendation for employee contributors, https://opensource.google.com/docs/thirdparty/licenses/#wtfpl-not-allowed
I wonder if MIT or another top-5 OSI approved license could help in adopting this npm module by enterprises?

@domenic - Possible to dual-license this with MIT?


Fixed float encoding, switched tests to mocha/chai, support for npm module

Float encodings did not work, after reading the BERT specification I realized where the problem is and fixed it.
Basically floats are encoded as string with following format "%.20e", this means 20 characters after the '.' and at minimum 2 characters after the e+ (e-).
I switched the project to use chai for unit tests, the conversion was easy. I removed describe.js from the project.
Also added package.json for npm support.

Nice work, thanks for contributing!


Cosmos DB Table API migration

Hello,
I have a situation where I want to migrate couple of tables to another Cosmos DB account. What would be the best approach here?
Thanks

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

ID: 9edf1df2-588e-01ff-6d1c-234b8e51d550
Version Independent ID: 27873c08-b6cc-a52f-f277-ff9818a5e4d2
Content: Tutorial: Database migration tool for Azure Cosmos DB
Content Source: articles/cosmos-db/import-data.md
Service: cosmos-db
GitHub Login: @deborahc
Microsoft Alias: dech

This issues list is to report bugs or other issues with our documentation. This question is best suited for Stack Overflow, please post your question here, https://stackoverflow.com/questions/tagged/azure-cosmosdb
Thank you.
#please-close


Test Ticket Issue - Website Team

Hi Team,
Ignore this ticket.
Regards,
Website team.

Test Comment

testing comment

test comment ignore.

Test Link:
https://github.com/syncfusion/maui-toolkit/issues/22

Test Comment - public


90 - Notifications update backend

Updated api endpoint /api/notifications/ - PUT:

:id parameter is removed
Endpoint now expects 'ids' array with all of the ids for the notifications that will be marked read

Closes #90


TypeError: unet_train() missing 1 required positional argument: 'Training_Steps'

TypeError                                 Traceback (most recent call last)
[<ipython-input-7-98ad8fed290a>](https://localhost:8080/#) in <module>
    135
    136   txtenc_train(Caption, stpsv, stp, MODELT_NAME, INSTANCE_DIR, CLASS_DIR, OUTPUT_DIR, PT, Seed, precision, Training_Steps=stptxt)
--> 137   unet_train(Caption, stpsv, stp, MODELT_NAME, INSTANCE_DIR, OUTPUT_DIR, PT, Seed, precision, Training_Steps)
    138
    139

TypeError: unet_train() missing 1 required positional argument: 'Training_Steps'

use the latest colab, I think that was fixed in the latest commit

Thanks, it's working now.


[Feature Request / BUG?] Character Sheet Background Changing

Thank you for your beautiful journal add-on. I try and keep all my DM notes in foundry to keep tabbing out to a minimum and this makes things so much prettier AND easier to indicate to myself the things I need to convey.
I have noticed, however, that the wonderful parchment background you use is also applying to my character sheet backgrounds. I'm still digesting if I think this looks better, which I'm leaning towards yes :), but I didn't know this was going to happen when I installed this module.
My suggestion is to create a setting to optionally disable this for character sheets, even though I think I might stick with it. Thanks again!

Oh. Well, then. I didn't know it was going to do that either. I've tried very hard not to interfere with other parts of the app. I'll dig around and see what I can do. Thanks for the head up!

Hmm, unfortunately, the character sheet and the journal use the exact same selector. THere's no way to differentiate them that I can find. (Not consistently) I'll keep digging but this may just end up a known issue. I'll have to see about creating an options panel to choose to enable or disable it.

Thanks for the update and the module :) Do you want me to close this?

No, let's leave it open for now to see if I can find a way to handle it. :)

Aha! I found it. The next release won't impact character sheets. Thanks for letting me know about this!

No worries. Thanks for the awesome module! I love the polish it adds to my efforts


Webpack 5 HMR Issue: Cannot set property './index.js' of undefined

Bug report

What is the current behavior?
In Webpack 5, when I am using webpack-hot-middleware and HotModuleReplacementPlugin, then if I make a change in one of my JavaScript files and refresh my web app, I receive the error Uncaught TypeError: Cannot set property './index.js' of undefined in the file jsonp_chunk_loading.
If the current behavior is a bug, please provide the steps to reproduce.

I created a minimal repo to reproduce the issue here: https://github.com/smparsons/webpack-hmr-issue. Steps to reproduce are in the README file.
What is the expected behavior?

I would expect to not receive the above error after making a change in my code and refreshing my web app.
Other relevant information:
webpack version:  5.0.0-beta.15
Node.js version: 11.10.1
Operating System: macOS Catalina Version 10.15
Additional tools:

Looks like same problem I have:

I've left a note here https://github.com/webpack/webpack/issues/10534 waiting for feedback.

@jantimon HTML looks like:
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Test</title>

 should not be there. Maybe filter out assets that have hotModuleReplacement or development flagged.

I was able to fix it by adding these lines at https://github.com/jantimon/html-webpack-plugin/blob/96e0ae607afa7295c40d0a5073c791189def6337/index.js#L581-L583
       const entryPointPublicPaths = entryPointFiles
+        .filter(chunkFile => {
+          const info = compilation.getAsset && compilation.getAsset(chunkFile).info;
+          return !(info && (info.hotModuleReplacement || info.development));
+        })
         .map(chunkFile => {
           const entryPointPublicPath = publicPath + this.urlencodePath(chunkFile);

Hey @sokra thanks for analysing the problem 👍
The same issue was also reported here: https://github.com/jantimon/html-webpack-plugin/issues/1415
Is compilation.getAsset new for webpack 5 or why do you need compilation.getAsset &&?
I'll try to add that fix asap 👍

Since 4.40 Commit
As fallback maybe check for /\.hot-update\.js$/ or don't check or set min. webpack version.

Thank you so much - I'll let you know once this is released 👍

Thanks guys!

Released as<EMAIL_ADDRESS>

@jantimon Thanks!
Let's close the issue
@smparsons feel free to leave feedback or open a new issue if you still have problems


Add genesis block at startup

hardcodes the mainnet genesis block
adds genesis block to the indexer store at startup

Fixes https://github.com/Granola-Team/mina-indexer/issues/341

@Isaac-DeFrain has this become a dead PR? or should it be rebased?

I’ll push rebased changes today


[tests] basic min/max test cases

@frootloops Thank you!  We have some basic tests in validation-test/stdlib/Algorithm.swift, could you consolidate these?
Also, could you rewrite the tests using MinimalComparableValue and check the identity of the object being returned?  The identity will be arbitrary (not following any useful rule) now, but it is important to constrain it.  If you feel like doing library code changes, you could implement what we discussed in pull request #137 that would make the identity useful:

On a preordered set, the argument goes, min of two equivalent elements should return the first parameter, and max should return the second.

@gribozavr can you have a look through the PR. I rewrite max<T : Comparable>(x: T, _ y: T, _ z: T, _ rest: T...) -> T and I need your code review because I suspect it may be slower than the previous version.

@gribozavr  done

@gribozavr what do you think about next code:
public func max<T : Comparable>(x: T, _ y: T, _ z: T, _ rest: T...) -> T {
  var r = max(max(x, y), z)
  for t in rest where t >= r {
    r = t
  }
  return r
}

or do you prefer a classic way:
public func max<T : Comparable>(x: T, _ y: T, _ z: T, _ rest: T...) -> T {
  var r = x
  if y >= r {
    r = y
  }
  if z >= r {
    r = z
  }
  for t in rest where t >= r {
    r = t
  }
  return r
}

@frootloops As long as it would be possible to implement the idea discussed in #137, I'm ok with the short one.

@gribozavr please have a look. I hope it's all right.

@frootloops Looks great, thanks!  From the tests we see that we already implement #137.


Country Flag image

How to show country flag images in html list table

Just copy the flags folder to the public and reference it in your HTML


Update ALPN boot version

Motivation:
A new version of ALPN boot has been released.
Modifications:

Update the pom to pull in this new version

Result:
New JDK get new ALPN boot.

@normanmaurer - FYI

Ship it

Cherry-picked 4.0 (e003842) 4.1 (8f07416) master (95cabdc)


Add support for installing rpms with no version

ie. just use latest so run yum install

Can now specify 'latest' as rpm version and it will just run yum install


Update ActionRow README.md

The ActionRow utility component is useful in Figma but is not available to designers in the Figma library. Updating status to reflect that.

Thanks for the pull request, @gabew1984! I've created OSPR-6295 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.
:warning: We can't start reviewing your pull request until you've submitted a     signed contributor agreement     or indicated your institutional affiliation. Please see the CONTRIBUTING     file for more information.

@e0d I think we can add Gabe to contributors.

@gabew1984 Even though your pull request wasn’t merged, please take a moment  to answer a two question survey so we can improve your experience in the future.


Word Chains lasting over 15 minutes get cancelled

Describe the bug
The bot is unable to connect to the original message after 15 minutes.
To Reproduce
Steps to reproduce the behavior:

Invoke /wordchain as that can probably hit 15 minutes easier than other commands.
Don't lose for 15 minutes
Bot will stop responding

Expected behavior
Play should continue infinitely
Note to Self: change the while True to a while game_time < 15 * 60 - 45 or something.

It may be a better solution to convert the command to a guide to the game and turning the actual game into a prefixed command, which should be able to run indefinitely.
i.e. /wordchain play: Gives rules and redirects player to do <bot ping> wordchain <mode>


Navbar-original design

This looks nice, we can get rid of my changes to header.js if you'd like, and just use this version

This looks nice, we can get rid of my changes to header.js if you'd like, and just use this version

But I don’t know how to fix one of the conflicts in index.js, I will keep both.
Please help to fix it when you review. Thank you!

But I don’t know how to fix one of the conflicts in index.js, I will keep
both.
Please help to fix it when you review. Thank you!
john-zou<EMAIL_ADDRESS>于2020年6月4日周四 下午11:26写道：

This looks nice, we can get rid of my changes to header.js if you'd like,
and just use this version
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/john-zou/coder-community/pull/19#issuecomment-639284758,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUT6XMSVDRX62PWUTXNDBDRVCFX5ANCNFSM4NTHYF3A
.

Ok, done!

Thank you!
On Fri, Jun 5, 2020 at 11:25 AM john-zou<EMAIL_ADDRESS>wrote:

Ok, done!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/john-zou/coder-community/pull/19#issuecomment-639688101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUT6XOEOVZ3OB7ZHN6IQTLRVEZ73ANCNFSM4NTHYF3A
.


Compilation errors on Android with Core 2.x

We get the following compilation errors on Android with Sync 1.x/Core 2.x. They were introduced with #512
jni/../src/object-store/src/list.cpp:189: error: undefined reference to 'unsigned int realm::Table::find_first<realm::BinaryData>(unsigned int, realm::BinaryData) const'
jni/../src/object-store/src/results.cpp:329: error: undefined reference to 'unsigned int realm::Table::find_first<realm::BinaryData>(unsigned int, realm::BinaryData) const'

It's hard to tell what the context of this error is. "undefined reference" makes it sound like a linker error,  in which case that be an issue with core's static library missing symbols rather an object store bug.

Correct - I imagine it's a problem that the BinaryData case hasn't been explicitly instantiated in Core: https://github.com/realm/realm-core/blob/master/src/realm/table.cpp#L3971, that has been exposed by #512 starting to use the generic.

I made a PR with the fix for this at the core level in realm/realm-core#2823. I'll talk to Core and Sync teams about getting these into releases as soon as is practical.

This was fixed by realm/realm-core#2823.


Doubt

Cool one, perfectly working, good work. (y)
Although I've one about the working of this system.  How does the command 'react-native init MyApp --template typescript' connects to this github repo ? Is this published in any official react native things server ? or the RN system installs 'yarn add react-native-template-anything-after-template-flag' ?

Hi @theapache64,
Thank you for the kind words.
I'd like to make this a more understandable to you: It's just a naming pattern the React Native CLI uses to look up for templates on NPM. Every package that is prefixed with react-native-template- can be used in the CLI.
Here's a great article about the full template functionality in the CLI: https://medium.com/dailyjs/the-1-2-3s-of-react-native-templates-1f5dda037e11
Actually pretty simple. 😄
I'm going to close this issue as it's a general React Native CLI question and not fully related to this template.


Rethink the property inclusion relation

The Combiner::includes method got removed from Combiner as part of #4, and was moved to the post processing rewriters instead. We should think of what we want to do with the inclusion relation. We could make it a separate operator, like combiners, hiders, etc. We could completely remove it, if it's only useful for the post-processing rewriters (which at the moment may not make effective use of such a relation). Perhaps it fits somewhere else somehow?
Probably first we should have a look at the mathematics of the post-processing rewriters, before deciding what to do here.

We actually have this as an operator now, see Inclusion.java. I'm closing this issue.


Add an equivalent of allvirtualenv from virtualenv wrapper

This utility allows an command to be executed across multiple different environments (by default all of them, but it would be cooler if certain ones could be specified.
It's massively useful when ubiquitous packages (like pip or wheel) are upgraded - just run allvirtualenv pip install -U pip and go grab a coffee. When you get back, all 143 virtualenvs on your dev box have the newest pip installed.
A super obvious extension of this would be to upgrade a package in all environments where that package is installed, and show all the environments which are affected. This would be super useful when security releases of certain packages are released, such as Django. Run pipenv all install --if-present django==1.11.5, and all the Pipfiles go through and update. This still requires the dev to go through and commit/push/deploy all the projects, but it speeds up one step significantly.

this would be a good feature for pew though, which powers everything, so if it (either does or will) support this, you'll get the best of both worlds.
I'd open an issue over there.


add support for mapi32.dll

Please add support of APIs from mapi32.dll, e.g. SendMail

As I understand it, SendMail isn't a Windows API, it's part of Outlook. https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/mapi-programming-overview

Maybe you right, though that is the api being referred to for creating new emails and not only with Outlook. Eg. see this reference article https://docs.microsoft.com/en-us/previous-versions/windows/desktop/windowsmapi/mapi32-stub-library


unexpected behavior when run npm run dev after set config.paths.base in svelte.config.js

Describe the bug
After set config as following in svelte.config.js:
/** @type {import('@sveltejs/kit').Config} */
import node from '@sveltejs/adapter-node';

const config = {
	kit: {
		// hydrate the
 element in src/app.html
		target: '#svelte',
		adapter: node({
			// default options are shown
			out: 'build',
			precompress: false,
			env: {
				host: 'HOST',
				port: 'PORT'
			}
		}),
		paths: {
			assets: '',
			base: '/testdir'
		}
	}
};

export default config;

Run npm run dev:
In http://localhost:3000/testdir, I got the following:

Error: Not found:
    at resolve (file:///Users/xiaofengcao/projects/svelte/my-app/node_modules/@sveltejs/kit/dist/ssr.js:1728:13)
    at async Object.handle (//Users/xiaofengcao/projects/svelte/my-app/src/hooks:13:19)
    at async respond (file:///Users/xiaofengcao/projects/svelte/my-app/node_modules/@sveltejs/kit/dist/ssr.js:1675:10)
    at async svelteKitMiddleware (file:///Users/xiaofengcao/projects/svelte/my-app/node_modules/@sveltejs/kit/dist/chunks/index.js:4531:22)

Run npm run build & npm run preview:

app was successfully built
after npm run preview, a lot of js and css file did not picked up, please see the errors in the web console.

Reproduction
Step 1: start a sveltekit app: https://kit.svelte.dev/
npm init svelte@next my-app
cd my-app
npm install
npm run dev -- --open

Step 2: change svelte.config.js to following:
/** @type {import('@sveltejs/kit').Config} */
import node from '@sveltejs/adapter-node';

const config = {
	kit: {
		// hydrate the
 element in src/app.html
		target: '#svelte',
		adapter: node({
			// default options are shown
			out: 'build',
			precompress: false,
			env: {
				host: 'HOST',
				port: 'PORT'
			}
		}),
		paths: {
			assets: '',
			base: '/testdir'
		}
	}
};

export default config;

Step 3: install @sveltejs/adapter-node
npm i -D @sveltejs/adapter-node@next

Then run npm run dev or npm run build and npm run preview.
Logs
No response
System Info
npx: installed 1 in 1.189s

  System:
    OS: macOS 11.5.2
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 11.10 GB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.17.3 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.13 - /usr/local/bin/npm
  Browsers:
    Chrome: 93.0.4577.82
    Firefox: 90.0.2
    Safari: 14.1.2
  npmPackages:
    @sveltejs/adapter-node: ^1.0.0-next.49 => 1.0.0-next.49
    @sveltejs/kit: next => 1.0.0-next.170
    svelte: ^3.34.0 => 3.42.6

Severity
blocking all usage of SvelteKit
Additional Information
We are trying to release a sveltekit app under a sub url. This is seriously blocking our deployment.

This is only an issue in preview, right? I think this is just #2409 showing up?
Does it run correctly with npm run dev and when using the node adapter (node build after npm run build)? If it does, then this should be fixed by #2409

This is only an issue in preview, right? I think this is just #2409 showing up?
Does it run correctly with npm run dev and when using the node adapter (node build after npm run build)? If it does, then this should be fixed by #2409

I

@xcao38 #2409 isn't merged yet, so you won't get it even with upgrading. It'll probably be live soon-ish though. If your package.json has explicit version names (say, 1.0.0-next.169) you can just change that and run npm i. Also npm i -D<EMAIL_ADDRESS>will do the trick. If you have the version just specified as next then a simple npm update (or npm update @sveltejs/kit I think) will update.

This is only an issue in preview, right?

Not according to the issue report which says its an issue in dev and preview:

Then run npm run dev or npm run build and npm run preview.

Ugh, my eyes betray me.
There might be a similar issue in the dev server, I haven't looked. I'm not as familiar with Vite and all that, but that would be my guess.
There is  this line: https://github.com/sveltejs/kit/blob/7dec53ecc66793841cf7702cb8d7453bb5cb5bad/packages/kit/src/core/dev/index.js#L296
Maybe assets are rejected at that point?

@xcao38 do you have the full path of the files the browser is requesting? Is it requesting all assets in the correct locations (/testdir/_app/whatever) in both dev and preview (and are the paths the same in dev and preview)?
If those paths are all correct then I think we have one bug in preview (already known) and a separate but similar bug in dev (manifests the same, but caused differently since dev and preview servers are quite different internally, what with Vite etc).

@xcao38 do you have the full path of the files the browser is requesting? Is it requesting all assets in the correct locations (/testdir/_app/whatever) in both dev and preview (and are the paths the same in dev and preview)?
If those paths are all correct then I think we have one bug in preview (already known) and a separate but similar bug in dev (manifests the same, but caused differently since dev and preview servers are quite different internally, what with Vite etc).

I could show you my file structure. Not sure where to find the files... Let me know if you need anything :)

I meant the network log from the browser 😅 I want to see if the links and source urls embedded into the page are correct. In your devtools 'Network' tab you can click on the requests and just see if the Request URLs all have '/testdir/' in them. They should look like localhost:3000/testdir/_app/pages/whatever. If tehy look like localhost:3000/_app/pages/whatever (without 'testdir' in tehm) then we have a different problem.

I meant the network log from the browser 😅 I want to see if the links and source urls embedded into the page are correct. In your devtools 'Network' tab you can click on the requests and just see if the Request URLs all have '/testdir/' in them. They should look like localhost:3000/testdir/_app/pages/whatever. If tehy look like localhost:3000/_app/pages/whatever (without 'testdir' in tehm) then we have a different problem.

Here you go:

Hi @Karlinator thanks for the quick turnaround! Just curious, is there a timeline on releasing the new updates on paths.base?

The dev mode change is in 170 and the preview mode change is in 171: https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md

I don't think 170 or 171 actually fixes the dev mode issue here. 170 fixed an issue in pre-rendering, 171 fixed an issue in the preview server. I haven't had time to reproduce and go digging, but it looks like there's a separate issue in the dev server.

@benmccann @Karlinator Thanks both for your time! FWIW, I upgraded my sveltekit to 171 with following:
npm add -D<EMAIL_ADDRESS>Then I run npm run build and npm run preview, the problem with assets not found is gone. What I can see on my screen and console is as following:
Broswer:

Console:

Terminal:
(base) Xiaofengs-MacBook-Pro:my-app xiaofengcao$ npm run preview

><EMAIL_ADDRESS>preview /Users/xiaofengcao/projects/svelte/my-app
> svelte-kit preview

  SvelteKit v1.0.0-next.171

  local:   http://localhost:3000
  network: not exposed

  Use --host to expose server to other devices on this network

I believe you need the trailing slash, so localhost:3000/testdir/.

I believe you need the trailing slash, so localhost:3000/testdir/.

Thank you! very helpful. Yeah it did the trick:)

This is still an issue in 177. Once you revert to Vite for previewing, will this fix the issue when there is no trailing /?

I don't think we'll use Vite for preview mode actually. What they do for their preview mode is too different (e.g. it doesn't do SSR at all)

Closing this as a duplicate of https://github.com/sveltejs/kit/issues/2958


Can you change operator language between releases?

Type of question

Question
What did you do?
We are planning to release v1.0 of our Ansible based operator. We anticipate the need to implement complex logic in v2.0 of the operator and for that reason it will be necessary to switch to Go based operator implementation.
What kind of problems should we expect with such switch in technologies? If it is not supported or potentially a messy transition would you recommend refactoring Ansible based operator into Go based before v1.0 has been released?
Thank you for your help
Environment
Operator type:  Ansible
Kubernetes cluster type: "OpenShift"

Hi @dubauski,
The Ansible based-operators behind the scene is Go operators. The Ansible operators allow users write their projects with a language that they are more familiarized with it, however, it has some limitations which are not faced with the Golang projects since it is possible to develop and customize your solutions as you wish.

What kind of problems should we expect with such switch in technologies?

IMO it is not about-face problems, however, how big and complex is your project more complex can be to port to Golang operator since you need to change the ansible tasks by code implementations.

If it is not supported or potentially a messy transition would you recommend refactoring Ansible based operator into Go based before v1.0 has been released?

IMO we are not in a place to answer that, it is really something up your business role, strategy, design and code implementation. However, how much more complex your Ansible operator gets more complexity will be added to port it for another language.
@estroz @asmacdo @jmrodri would you like to share your thoughts?

Thank you for quick reply, @camilamacedo86.

This is a tough question to answer for Ansible-based operators generally. If you have the time, I think the community could really benefit from a blog post or similar as you go through this process.

It should be totally possible to migrate from Ansible to Go without any user-facing changes. You can re-implement all of your Ansible logic in Go without changing your CRD, and transparently upgrade users from the Ansible-based operator to a Go-based operator, and it wouldn't even have to be a new major version number.
The one thing to look out for is CRD validations. Ansible-based operators don't currently have a mechanism for auto-generating validations, but Go operators do.


How can I see the current state of the state machine for debugging?

I was hoping for a method that would output a string representing the nested state such as Patrol.Move.SearchForPOI?

Hi，do you find a solution to this？

Yes. I used the fsm.ActiveState property.
On Fri, Dec 23, 2022, 4:13 AM leehiroshi @.***> wrote:

Hi，do you find a solution to this？
—
Reply to this email directly, view it on GitHub
https://github.com/Inspiaaa/UnityHFSM/issues/15#issuecomment-1363904099,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKNKVBJIZJEUZB5KKWTBPTTWOWJOFANCNFSM55XN3BOQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I switched to https://github.com/ashblue/fluid-behavior-tree

Hi @wilg,
apologies for the late reply. I know you have moved on to another library, but for closure let me answer the original question all the same.
In the current version there is no way to get a string representation of the active nested state.
I agree that it would be a useful feature and for this reason I have implemented it in the release branch, which will finally lead to the 1.10 release. If you find yourself coming back to UnityHFSM, please take a look at the Changelog.md and the TestActiveHierarchyPath.cs files for usage examples.

This feature is now part of the recent 2.0 release.


Is it possible to show a specific scale of series data?

e.g, the {data} contains a stock's history prices from 2000-06-01 to 2000-12-01, I want to render all data, but initially on the chart it only shows the data from 2000-08-01 to 2000-09-01. User can drag the chart left/right to see more data.
Is there any ways doing this? thanks!

in v0.3.1 it is not so declarative, you will have to use setViewRange on the ref of ChartCanvas after the initial render. It is not intuitive.
in v0.4.0-beta1 released just now. it is declarative. look at example
https://github.com/rrag/react-stockcharts/blob/next/docs/lib/charts/CandleStickChartWithEdge.jsx#L70
Big time API changes with 0.4 and the docs are also updated
Once I update all the plunker's will release 0.4

Awesome. Thanks for the help! @rrag


Change auction fee into ETH, not token

This should be changing auction listing fee into ETH and closing Fee is taken from successful auction fees that the buyer paid in Whitelisted assets for buying (i.e. Stable Coins percentage)

So, only when listing token on auction market, contract will check holding water, right?

Anyway to check the amount of water they continued to store during the auction period?
That way they need to keep it locked/stored or a pro-rata amount to determine the close percentage?
Like if they stored 3200, did the auction then unstored all, the success % would be calculated on the stored average water during the auction period and chose the 0 water lookup in this case.

Sure, I think that it is possible. There are several transactions like creating, bidding, and buying, on one auction. So, contract can record holding water per each transaction for one auction.

Currently, didn't implement getting average stored water. It increases gas fee and I think it is better to keep only stored water.


paper_input_test fails 'a11y has aria-describedby for character counter and error'

expect(input.attributes.containsKey('aria-describedby'), isTrue);

Expected: true
    Actual: <false>

fixed by https://github.com/dart-lang/polymer_elements/commit/784974541911a465e81e28f1b2d5926e63e0a041


Update katawa-shoujo to 1.3.1

Thank you for the contribution. It was merged directly as 5d46b1600013798d2df51545640e70883717d819 to keep commit history cleaner. Your contribution is still credited to you.


Remove Expo from the CLI

Fixes #114, BLUI-2066

Changes proposed in this Pull Request:

Drop support for EXPO
Updated Read Me

Screenshots:
Whether you are running blui new or blui new react-native --cli=expo --name=asdf --language=js --lint --prettier, they all work. It does not ask you which CLI you want to use anymore and spins up a healthy React Native project by default.

To Test:

follow the instruction in the readme
Try testing commands like blui new react-native --cli=expo. You will see that the command prompt reacts as if there's no cli flag at all.

Whenever I ran blui new react-native --cli=expo --name=asdf --language=js --lint --prettier  I got this output:
\ Creating a new React Native project (this may take a few minutes)...C:\Users\Evan\AppData\Roaming\npm\node_modules\@brightlayer-ui\cli\node_modules\gluegun\build\index.js:13
    throw up;
    ^

Error: Command failed: set npm_config_yes=true  && npx -p expo-cli expo init --name=asdf --template=blank "asdf"
npx: installed 1480 in 46.442s
[14:43:41] Deprecated: Use expo init [name] instead of --name [name].

    at ChildProcess.exithandler (child_process.js:319:12)
    at ChildProcess.emit (events.js:375:28)
    at maybeClose (internal/child_process.js:1055:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {
  killed: false,
  code: 1,
  signal: null,
  cmd: 'set npm_config_yes=true  && npx -p expo-cli expo init --name=asdf --template=blank "asdf"',
  stdout: '',
  stderr: 'npx: installed 1480 in 46.442s\n' +
    '[14:43:41] Deprecated: Use expo init [name] instead of --name [name].\n'
}

Looks like there's an expo reference lingering around somewhere.

Use expo init ...

That is strange... I cannot reproduce that on my end. Does blui --version also give you v2.0.0-beta.0?

And for anyone with an admin authority, I have a small favor to ask: https://github.com/brightlayer-ui/cli-helpers/issues/8

That is strange... I cannot reproduce that on my end. Does blui --version also give you v2.0.0-beta.0?

Aha, link issues.  I was using an older version; now the command works just fine!


Windows gets blue screen after running an app on emulator android studio

Steps to reproduce
run the app on the Android emulator Flutter version 3.27.0 to get blue-screen windows
I tried to fix it by add-in  AndroidManifest.xml
        make EnableImpeller false if it is true and it's by default true in the new update gets the blue screen added down

          <meta-data
        android:name="io.flutter.embedding.android.EnableImpeller"
        android:value="false" />

Expected results
app run correctly
Actual results
get windows 11 blue screen
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

You will need to report this bug to Android (https://source.android.com/docs/setup/contribute/report-bugs) and/or windows, as there is little we can do with this information

Closing this based on above comment. If anything, write in comments and I'll reopen.

Any updates on the problem ?

Hello,
I’m experiencing the same issue described above, with the identical Stop_Code error. I was trying to create my first project using Flutter, following all the required configuration steps. However, when I attempted to run the main.dart file, Windows 11 displayed a blue screen error (BSOD) similar to the one shown earlier.
The project I launched is the default one automatically generated by Android Studio, so no modifications or customizations have been made. Unfortunately, I’m unable to provide any additional information about the error.
System details:

Processor: Intel i7-10700
RAM: 32 GB
Operating System: Windows 11 Pro, version 24H2, build 26100.2605
IDE: Android Studio Ladybug | 2024.2.1 Patch 3

I don’t believe the issue is related to my hardware performance, as while my setup is not brand new, it’s still capable of handling Flutter development.
For now, I’m forced to postpone my first experience with Flutter, which is quite disappointing. I hope you can help me identify the cause of this issue and find a solution.
Thank you in advance for your assistance!

Hello,
I’m also experiencing the same issue described above
No modifications are made in the project. Even when trying to run counter app, I also got exact same Stop Code error. I can get builds on api 33 without having problem.
System details:

Processor: Intel i7-10750H
RAM: 16GB
GPU: GTX1650TI
Operating System: Windows 10 Home, version 10.0.19045 build 19045
Android Studio Iguana | 2023.2.1 Patch 1
VSCode

The reason for this error may be that your video card driver is not up to date. (e.g. NVIDIA, Intel)
I am using NVIDIA and I updated as follows:

Go to NVIDIA Driver Download Page: https://www.nvidia.com/en-us/drivers/

Choose your product type and model (For example):
Product Type: GeForce
Product Series: The series of your card (for example GeForce RTX 30 Series).
Product: Your card model (for example RTX 3060).
Operating System: The operating system you are using (Windows 10, 11, etc.).

Download the resulting driver and run the file.

Install Driver

After the installation is complete, restart your computer.

! If you are using intel

Go to Intel's Driver Download Page

Learn Your Processor Model:
(Click Start > Run > type dxdiag and press Enter.)
In the window that opens, go to the "System Information" tab and check the model of your processor

On the driver download page, select the "Graphics" category.

Find the graphics driver for your processor model and select the version compatible with your operating system.

Download the relevant driver and start the installation process by running the file.

After the installation is complete, restart your computer.

! If this solution solves your error, I would be happy to give you feedback.

Open the C:\Users\user\.android folder.
Create an advancedFeatures.ini file.
Add the commands below to it.

Vulkan=off
GLDirectMem=on

Do flutter clean flutter run

This is what removed the computer freezing issue in API 34. Apart from this, the emulator was closing itself in API 33, and it was completely resolved.

Open the C:\Users\user\.android folder.
Create an advancedFeatures.ini file.
Add the commands below to this file.

Vulkan=off
GLDirectMem=on

Do flutter clean flutter run

This is what removed the computer freezing issue in API 34. Apart from this, the emulator was closing itself in API 33, and it was completely resolved.

Is this a temporary solution and, what else will this solution affect on something else?


IOB curve isn't displayed correctly in NS day to day reports

The IOB curve isn't displayed correctly in NS day to day reports.
Version 0.1.23 RC

The transition from Loop to FreeAPS X is at around 16.00 on the 12th. It is marked by a profile switch.
With Loop, the IOB trace is as expected. With FAPSX there is nothing the first hours, then next day just a gradually increasing linear slope.
I have disabled display of basal and COB here to make IOB more prominent.
IOB from FAPSX is displayed correctly in the main view of Nightscout.
It is correctly displayed in reports for AAPS users, so not an issue with oref.

There is something strange with the COB trace as well, at least fir the day in the middle in the screenshot below. This could be unrelated to the IOB issue, I don't know.

I think the problem is that IOB is not reported in the OpenAPS pill - only found in the IOB pill.
The COB is reported in the OpenAPS pill which is why it can be shown in plots.

@marionbarker, thanks, that is possible. I have AAPS running in simulation on my phone, connected to a backup NS instance. IOB is reported there, so clearly a difference compared to FAPSX.

I was wondering if OpenAPS also display  IOB in the openaps pill. According to screenshots in this issue, that seems to be the case.
https://github.com/openaps/oref0/issues/1405

So it seems FAX is displaying less info in the openaps pill than OpenAPS and AAPS. And this appears to be the cause of the missing IOB trace in the NS Day to day reports.
Would it be possible to add IOB to what is reported in the openaps pill?

For reference, FreeAPS dev v0.2.4 does not display IOB:
![Skjermbilde 2021–12–15 kl  23 31 33](https://user-images.githubusercontent.com/63544115/146275477-a3695862-73bf-4581-ad6e-ba7095c2f54d.png
It’s not too important to have the IOB value displayed in the pill, but getting the NS reports to work as intended is, as it give valuable information when adjusting settings.

I sent Ben West a PM about this when I was using FAX and he thought it was a FAX problem.
But then I talked to someone who uses AAPS and she said the IOB doesn't plot in day-to-day reports for her.
The concept of plotting IOB and COB to help in adjusting settings is used a lot in Loop, where the plots work.
There are some graphics features available with OpenAPS in Day-to-Day reports that do not work in Loop.
I modified my Omnipod message parser to handle FAX log files and added an IOB, COB, etc plot, but that requires saving the log files daily and running a python parser (on a mac).

I think I have checked this before, at least I checked now by firing up my Android phone with AAPS in sim mode. AAPS do show the IOB trace, as long as the IOB checkbox is ticked. See from around 19:00 below:

https://github.com/ivalkou/freeaps/commit/0f8de8274303ec65169ace4f008448168a6a814d fixed this bug.Thanks!


Improve enum usage in unions.

Signed-off-by: Cervenka Dusan<EMAIL_ADDRESS>

Looks ok, but not tested.

Thanks a lot.


websocket publish vs PHP socket send

Hi,
I'm slighly curious regarding this tutorial: http://socketo.me/docs/push
I should add that I'm not a big an expert in the subject.
I'm mostly interested in this bit of code:
public function onPublish(ConnectionInterface $conn, $topic, $event, array $exclude, array $eligible) {
    // In this application if clients send data it's because the user hacked around in console
    $conn->close();
}

Is there an advantage in using PHP and doing $socket->send(...); rather than having JavaScript to do a push through the websocket? Because as far as I can see if we publish using the ws:// it will still be handled by PHP and therefore if we would need to, for example, add a blog to the DB we could still do it this way.

The advantage of using the push strategy is it's less obtrusive to introduce into an existing system than moving all your existing logic into a Ratchet application. You're adding real-time as a feature instead of building anew.


Permission denied on Kubernetes

On EKS, I'm getting this error in the uwsgi logs.
Anyone seen it before and how to remedy?
dogstatsd_send_metric()/sendto(): Permission denied [/uwsgi-dogstatsd/plugin.c line 173]
Thanks!
David

Sorry this was PEBCAK. Was not configured correctly

I'm getting the same error in k8s, @dmarkey you mind sharing what your config error was?

As this project seems kind of abandoned we're switching to https://github.com/timonwong/uwsgi_exporter +
      annotations:
        ad.datadoghq.com/uwsgi-exporter.check_names: '["openmetrics"]'
        ad.datadoghq.com/uwsgi-exporter.init_configs: '[{}]'
        ad.datadoghq.com/uwsgi-exporter.instances: '[{"prometheus_url": "http://%%host%%:9117/metrics","namespace":
          "uwsgi_dd","metrics": ["*"]}]'


[#15] Python service autoreload with Gunicorn

[#15]

[x] Sets up Gunicorn, a production-ready gateway for Flask applications. Uses 3 workers due to 1 core being available on our production VMs.
[x] Sets up autoreload for all Flask-based services so that development is much quicker.

We should make sure that our back-end does not keep state. I'm unsure if it does so currently (postgres caching, ID generation, conversation state) but having 3 workers can lead to odd bugs if we do maintain it


[pytest-bdd] Screenshot on fail isn't captured. no 'page' in funcargs

Updated test repo to fail.
Added pytest_runtest_makereport to conftest.py
while debug there was no 'page' in funcargs here

Please advise,
Thanks in advance

I tried it with the latest version but was not able to reproduce it with your example. Could you install the latest version via  pip install pytest-playwright==0.1.2 to make sure it got installed correctly and not the cached one was used?

were you able to make a screenshot with this test?
I uninstalled pytest-playwright, than made pip install pytest-playwright==0.1.2. without changes - and "page" in item.funcargs is not true. (Python 3.9.0)

Yes it worked for me. I made the following changes:
diff --git a/features/test.feature b/features/test.feature
index cac51d2..77daad8 100644
--- a/features/test.feature
+++ b/features/test.feature
@@ -2,3 +2,4 @@ Feature: Demo feature

   Scenario: Demo scenario
     Given I open browser
+    Then I make a screenshot
\ No newline at end of file
diff --git a/step_definition/demo.py b/step_definition/demo.py
index 93eb8d4..16ff183 100644
--- a/step_definition/demo.py
+++ b/step_definition/demo.py
@@ -4,4 +4,7 @@ from pytest_bdd import scenarios, given, when, then
 @given("I open browser")
 def step_impl(page):
     page.goto("https://example.com")
-    assert False
+
+@then("I make a screenshot")
+def step_impl(page):
+    page.screenshot(path="foo.png")

Let me be more precise.
What works OK for me:
unconditional screenshot capture.
For example, using page.screenshot(path="foo.png") in a regular step, as it is in your changes above.
What doesn't work:
Screenshot on test failure
The condition never becomes true, because there is no 'page' in funcargs.

Oh gotcha! Yeah this is since they use classes probably internally, thats why you need such a hacky solution:
diff --git a/conftest.py b/conftest.py
index d3f58e1..8deceda 100644
--- a/conftest.py
+++ b/conftest.py
@@ -9,8 +9,8 @@ from pathlib import Path

 def pytest_runtest_makereport(item, call) -> None:
     if call.when == "call":
-        if call.excinfo is not None and "page" in item.funcargs:
-            page = item.funcargs["page"]
+        if "page" in item.funcargs["request"]._fixture_defs:
+            page = item.funcargs["request"]._fixture_defs["page"].cached_result[0]
             screenshot_dir = Path(".playwright-screenshots")
             screenshot_dir.mkdir(exist_ok=True)
             page.screenshot(path=str(screenshot_dir / f"{slugify(item.nodeid)}.png"))
\ No newline at end of file

Stay tuned for Playwright version 1.12 which gets released in a few days. It includes a tracing feature with which its not required anymore to have videos/screenshots on failure. With them after and before every step a snapshot is made which you can view locally. And everything is contained in a single zip file.

amazing! thanks for the solution and forecast!


Ride along a Ministry Team AWS Provisioning Session

Describe the issue
We could be providing a new team some AWS space.  If we do, we can use this opportunity to train Bruce at the same time with the startup containers app.  Search the CRM for "Business Communications Solutions"
Additional context

If "Business Communications Solutions" does not come to AWS, we will use the next client that is provisioned

Definition of done

Carles has a how to guide in Teams, please start there before the live session
Max to provide a lab account for temporary use for Bruce with Admin role before the live session
Bruce attends the 2 hour Provisioning session
Maybe a bit of extra time with Carles, Ukeme or Prabhu to help get set up with the demo app

Successfully spun up a sampler serverless app to register and upload photo to cloud storage.  Cloud Resource destroyed manually after test.

Attended FW: ITSTRAT - Health IT Strategy AWS SEA Technical Onboarding Session


Make whiskey a devDependency

whiskey should be in devDependencies. optionalDependencies are always installed (if possible, failure is non-fatal), while devDependencies are not installed when the module is itself installed as a dependency. This is standard practice for test-runners.

whiskey has been replaced by mocha, which is a devDependency (you were right about this)


Subcollections displayed as [Object]

Expected behavior
Show subcollection data
Actual behavior
Exporting like:
uid:
{ email: '',
collections:
{ one: [Object],
two: [Object],
three: [Object],
four: [Object] } },
Steps to reproduce the behavior
Export using library with subcollections

This seems like you're trying to display the entire object in a web browser. I'm guessing you would need to wrap the result in JSON.serialize() before echoing it to the browser window.

I am using the console.log example in docs, running with node

Ahhh...that makes sense. I'll have to fix the example to be something like the following:
firestoreExport(collectionRef)
    .then(data=>console.log(JSON.stringify(data)));

Thanks! Now it's working here


Merge main into branch

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: michael-major-sp:x: developer-relations-spYou have signed the CLA already but the status is still pending? Let us recheck it.


Documentation corrections

I read your documentation, and noticed several errors or typos. I report the most obvious ones.
It would be great if a native speaker could read that all and correct. Thanks for your work.

Please install sphinx-intl with using pip (8.1.1 or later).

better:
Please install sphinx-intl using pip (8.1.1 or later). (or only with)
https://sphinx-intl.readthedocs.io/en/master/quickstart.html#installation
This section describes how  to translate with Sphinx and sphinx-intl command.
https://sphinx-intl.readthedocs.io/en/master/quickstart.html#quickstart-for-sphinx-translation
This invokes the sphinx gettext builder that generates *.pot files under _build/gettext directory.
(same link below)
After this, you got (better get?) these directories that contain po files:
For more information, please refer to References.
https://ell.stackexchange.com/questions/58525/what-is-the-difference-between-refer-the-letter-and-refer-to-the-letter
When I run
$ sphinx-intl update -p _build/gettext -l ru
Usage: sphinx-intl update [OPTIONS]

Error: Invalid value for pot_dir: '_build/gettext' is not exist.
Please specify pot directory with -p option,
or preparing your pot files in '_build/gettext'.

the error message must be does not exist (not is). or prepare.
Type sphinx-intl without arguments * - remove, options)* to show command help.
https://sphinx-intl.readthedocs.io/en/master/refs.html
Dashes (-) have to be replaced with underscores (_).
*(redundant) This * is the same as passing the option to sphinx-intl directly:
Add below settings to sphinx document’s conf.py if they do not exist:
however pot files should be generated in the locale/pot is convenient. You can be done by replacing
-- pot files generated in the locale/pot are convenient. (think of rewriting that)
Definition of be done with (not by)
: to bring to completion : to finish
https://www.merriam-webster.com/dictionary/be done with
If you are sure this is what you want to say, that's fine. For me it sounds a bit vague. Simple words may be better here. You can solve this by...

Thanks,
Could you make a pull request please?

The problem is I'm not a native speaker. I wanted other people to check what I suggested and maybe propose other things (especially what concerns stylistics). If another person adds these corrections, there would be at least two people who watched them. Also, if you have the source, it may be easier for you to introduce these changes (I installed from pip).

I'm also not a native speaker. And there are no native speakers on our project. Is it better to wait any native speakers has come? I think No. It would be better to update our documents as possible. I think you have much better English skills than me. So I need your help for updating our documents.

I understand. However, I wrote my suggestions. You can just use them as they are. You probably know the location of these phrases better. Moreover, there is a phrase from program output, which might be hard for me to find...

Okay, I'll try to fix them if I have time.

I posted PR #40 now to fix this.

Definition of be done with (not by)
: to bring to completion : to finish
https://www.merriam-webster.com/dictionary/be done with
If you are sure this is what you want to say, that's fine. For me it sounds a bit vague. Simple words may be better here. You can solve this by...

What did you mean? I can't find wrong document.

In the end of https://sphinx-intl.readthedocs.io/en/master/refs.html#makefile-make-bat it's written
"You can be done by replacing"
I think it could be better formulated as "You can achieve this by replacing".
Many thanks that you did it! I was thinking about that, but was also very busy.

Thanks. I found it.

Fixed now.

Many thanks for your work and time! Glad the program has improved even further :)


Images entering the viewport from the sides do not load until the mouse is moved.

Describe the bug
I created a slider using only HTML and CSS. When the images enter the screen they are blank until the mouse is moved.
To Reproduce
Steps to reproduce the behavior:

Go to Example Here
Place the mouse below grey row and don't move it.
You will see the images that start entering from the right are blank.
Move your mouse and they appear.

Expected behavior
I expect the images to load a little before they enter the screen from the sides just like they do for content down the page.
LazyLoad version
Please report which version of LazyLoad you're using.

Version 12.3.0 (latest one available on CDN)

Desktop (please complete the following information):

OS: Windows 10 Pro
Browser: Chrome
Version: 79.0.3945.88 (Official Build) (64-bit)

Smartphone (please complete the following information):

Device: iPhone 8 Plus
OS: iOS 13.2.3
Browser: Chrome & Safari
Version: 79.0.3945.73

Additional context
Oddly enough it works in IE 11 and Edge

Hey @CodeZeno,
thank you for opening this.
This library doesn't watch for mouse movements, so the issue must be generated from somewere else.
For example, I've noticed that when the mouse is hovered on the stripe, the animation stops. It could be the stopping of the animation that triggers the images loading.
Another thing I've noticed is that if you switch the focus to another browser window, then you go back to the demo, it loads the images.
It must be something that has to do with how the IntersectionObserver API works on Chromium-based browsers.

By the way, your demo seems to be working correctly on Firefox.

So it's probably a Chromium bug.
I suggest you to file a bug to the Chromium project.

Closing this due to inactivity.
Feel free to reopen if you still need help.


Check Deprecation Warning

Hello,
We received a warning from AWS that the following checks are now deprecated and scheduled to be removed on Nov 18th:

This notification will impact you if you are using one of the following checks in AWS Trusted Advisor:

EC2Config Service for EC2 Windows Instances in Fault Tolerance category with Check ID V77iOLlBqz
PV Driver Version for EC2 Windows Instances in Fault Tolerance category with Check ID Wnwm9Il5bG
NVMe Driver Version for EC2 Windows Instances in Fault Tolerance category with Check ID yHAGQJV9K5
ENA Driver Version for EC2 Windows Instances in Fault Tolerance category with Check ID TyfdMXG69d
EBS Active Volumes in Service Limits category with Check ID fH7LL0l7J9

What is the change?
AWS Trusted Advisor will remove 5 checks on November 18, 2020. On this date, 5 checks listed above will be removed from the list of checks in both Support API and the Trusted Advisor console. If you consume results from all checks in Trusted Advisor, these checks will not show up in check results. If you specifically consume any of the 5 checks listed above (such as by hard coding the Check ID in an API call), you will need to remove these checks from your list to avoid API call errors.

We see in the current iteration of aws-limit-monitor that the EBS Active Volumes check seems to be used: https://github.com/awslabs/aws-limit-monitor/blob/master/source/services/tarefresh/lib/ta-refresh.js#L38 - there may be others, this is just the first I spotted.
Are there any plans to update this tool so the above check deprecation doesn't cause breakage?
Thanks!

Thanks for bringing this to our attention.
We will continue to maintain and update the solution to ensure the Trusted Advisor updates doesn't break the solution. We have added the issue to our backlog to be addressed in next release.

@TheBrigandier Hello. Garvit and our team did initial validation on this warning. You can continue to use the solution even if TA service deprecates those 5 checks since the solution is designed to handle the related API calls accordingly. Meanwhile, we will address the issue in our next release


Publicize CloseFrame and CloseCode

This is needed to fully support this crate in ezsockets.

Awesome! This is published as v0.2.1.


C++ gradients: Fractional*Pool, Soft{Plus,Sign}

I also ran the newly added tests multiple times to check for flakes, seems ok.
$ bazel test --runs_per_test=1000 tensorflow/cc:gradients_nn_grad_test
...
//tensorflow/cc:gradients_nn_grad_test                                   PASSED in 0.5s
  Stats over 1000 runs: max = 0.5s, min = 0.3s, avg = 0.4s, dev = 0.0s

Resolves https://github.com/tensorflow/tensorflow/issues/17330

Nagging Assignee @suharshs: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Reviewer @suharshs: It has been 14 days with no activity and the awaiting review label was assigned. Can you please take a look?