I dont see editable fields in Sidebar

I just installed the started template and started gatsby develop
When i open side bar it just says
👋
Welcome to Tina!
Let's get a form set up
so you can start editing.
📖 Form Setup Guide
I went through the documentation and setup
Everything is setup already in the starter, still I don't see any form fields
Is there any thing I am missing ?
edit:
Checked the console there is an error
FAILED TypeError: "expected input to be a string or buffer"
toString utils.js:42
exports to-file.js:39
matter index.js:34
u index.js:1

somethings wrong check please

Same problem. I'm using:

node 12.13.0
Gatsby CLI version: 2.8.11
Gatsby version: 2.15.36
Same problem both on Firefox and Chromium.

I see this also. More precisely, if I click + in the upper right of the sidebar, I can create a post but only with a title. If I enter a title, then click on the title there are no editable fields.
There are two issue here, really. One is that I'd expect a start to work, not be half done and this feels like the new content creation code isn't there. Second is that the docs on creating new content at https://tinacms.org/docs/gatsby/markdown#creating-new-markdown-files simply isn't clear. There are no directions on what to with the code at https://tinacms.org/docs/gatsby/markdown#1-creating-content-button-plugins. Do I create a new file to hold this? If so where? Or do I add it to a file? If so, which one?
If I scroll down to section two it's not clear what to do with the content under the subhead "Example: src/pages/index.js" and in fact text just above that says "NOTE: No changes need to be made to the BlogIndex component itself."
All of this might be intuitively obvious to someone who's very familiar with React, but as someone new to it, clearer docs would be a great help.

Hey all, apologies for the delay in looking into this. It seems all of the Tina packages needed to be updated in the demo. Things should be working now! Feel free to reopen the issue you have more trouble.

yay, sorry folks, we forgot to update Tina packages on the starter on last release, we'll be more careful next time.


Validate image upload size

Need to disallow image uploads larger than maximum allowed file size.
See https://docassemble.org/docs/config.html#maximum content length and https://docassemble.org/docs/recipes.html#upload validation
Frontend should validate image size.
nginx needs to be set up to have no limit:
https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size

What file size do we want to allow?  There is also ability to accept only JPGs if we want. (which makes sense to me)

There's a feature for automatically resizing images. Maybe that's what we should use. I think the main goals are:

make it easy for people to upload photos from phone
don't accidentally let people send something to the server that the server won't accept because it's too big

So I'm inclined to leave the max upload size large, and just make the UI validate that large number.
We should also determine if it's possible for the blob storage to get too full.

Seems like 50 megabytes is an acceptable limit.  DA can use imagemagick to convert the image on the server to jpeg from other image formats.  This is processor intensive, however.  And, to my knowledge phone cameras always use jpeg.  We can allow other types too for desktop uploads.  Do we want to convert to jpeg?

Hmm. 50MB sounds pretty large to me. But really it all depends on how our image storage is set up. Can we figure out how much space the image blob storage that we're using has, and what happens if it gets too full?
A related question: do images ever get removed from this blob storage? (e.g. when a case is completed by a clerk)
Might need to coordinate with Akbar from GJS to answer some of these questions.

Do we want to convert to jpeg?

I don't think this is necessary. I think we have our bases covered so long as we:

set a limit on the file upload size
know how much storage space we're working with
have an estimate of how long it will take to fill up
have a plan for what happens when it does

I don't know enough about blob storage to answer these questions.  @glenster75 Do you know the answers to Benny's questions.

Blob storage is elastic. It can take Petabytes without a problem. It's a matter of how much we're willing to spend as they charge per block of "x" GBs.  I have no sense of volume.

There's about 10 forms of benefits right now. Each person can upload proof for each form of benefit.  Depending on how many people use the system will determine the requirements.   There was discussion around deleting this evidence after processing.

We should be fine for a long time with Blob Storage and should keep an eye periodically on expenditure to determine how long we should keep it and also if we should limit upload sizes.

What size would you suggest as the file size limit?

Maybe we evaluate the size limits once we have more useage and data? Let's keep an eye out.


Support react-navigation devtools

Hi there ! Thanks a lot for this plugin 👍
This issue is just a suggestion of a new feature that would be amazing :)
react navigation provides a great debugging tool that is integrated with redux-devtools but does not work with your plugin :/
https://reactnavigation.org/docs/devtools/
Do you think that would be easy to fix ?

Hi, sorry for the late reply. I will try to look at it on this weekend. Will update you if I find a way to implement this.

Just a note: There's now a flipper plugin available in React Navigation that may be more ideal. This way every Flipper plugin can keep its scope small. https://reactnavigation.org/docs/6.x/devtools/#useflipper


Reimplement the extension inspired by matplotlib's plot directive

Fixes #3, #4, #5, #6.
Hi @leouieda , I tried to rewrite the extension based on matplotlib's plot extension.
Features of current version:

support both inline codes and loading codes from a script file (Fixes #3)
can hide the code via :show-code: false option (Fixes #5)
the gmt-plot directive is converted to the equivalent literalinclude and figure directives to make it flexible for both HTML and LaTeX outputs (Fixes #6)
Link to source code if source code isn't shown (Fixes #4)
can execute both bash and python (gmt-python) scripts
for bash scripts, support both classic and modern modes. The script must generate a PNG file or a PS file.
for gmt-python scripts, the last statement must call show() or savefig()(the saved figure file must be in PNG format).

I tested it locally and it works well if the codes can generate an image file correctly. Although there're still some exceptions to be handled, I think this version can replace the old version now.

@leouieda Do you have time reviewing this PR? The travis failure seems unrelated.


[app] Add support for email scope

I am tired of typing my email address in all apps. Could the Blockstack app do that for me please?

That is still important to me! Look at all the blocksurvey questionnaires asking for my email address

@markmhx is this still relevant? Is email support on the roadmap/should it be?

This seems relatively low-priority to me personally, so I'd suggest we keep it open and in the icebox for now.
Feel free to add it to our internal roadmap document somewhere that reflects that.


Question on Interaction Section

I have imported my own hologram asset in place of the island.  Following the rest of the instructions and applying the scripts to my hologram and then building and deploying to HoloLens it appears the TapToPlace is not working with my hologram though it is configured.
The island hologram works without issue.
Any help/ideas is much appreciated.

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

ID: 0756aac5-a082-94dd-f593-29821fa4d17d
Version Independent ID: 35fa1b53-6b44-834e-7b8c-9b1120bea256
Content: MR Sharing 250 - HoloLens and immersive headsets - Mixed Reality
Content Source: mixed-reality-docs/mixed-reality-250.md
Product: windows
GitHub Login: @keveleigh
Microsoft Alias: kurtie

@keveleigh has this been resolved?

@hferrone I'm not sure. Though, this project was based on the HoloToolkit. We now have an updated TapToPlace component in the MRTK that may work better. I think it's fine to close this issue out.

Oh great, if this was HoloToolkit then don't worry about it as it's deprecated.


Mast: Watch dammam-clean.com

Mast requests the watch of the watch_keyword dammam-clean\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

dammam-clean\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Machavity in Charcoal HQ


NPE in SessionTrackerValve using log level DEBUG

From<EMAIL_ADDRESS>on March 16, 2011 16:55:26
Method SessionTrackerValve.logDebugRequestSessionCookie() throws an NPE for requests without a session id. I guess this is due to request.getCookies() returning null.
You might want to change it from
for( final javax.servlet.http.Cookie cookie : request.getCookies() ) {
...
to something like
javax.servlet.http.Cookie[] cookies = request.getCookies();
if (cookies != null) {
for( final javax.servlet.http.Cookie cookie : request.getCookies() ) {
...
Regards,
Rainer
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=89

From<EMAIL_ADDRESS>on March 16, 2011 09:02:23
Forgot to mention: Using latest code form TC7 branch. I guess the same report applies to the main branch.

From martin.grotzke on March 16, 2011 10:35:19
Thanx for reporting this, fixed in master and tomcat7.
Status: Fixed
Labels: Milestone-1.4.1


SimpleUser sessionManagerOptions delegate onCallReceived parameter should add Invitation

when a user receive a call , he/she should know  whose call before he answer or decline
the proper mement is  delegate onCallReceived which will trigered when receive a invite, when he can get invitation info , he will know it from .

My mistake I just realized you said the onCallReceived delegate from the SimpleUser.
From my understanding, SimpleUser only manages one session at a time, so basically, the invitation will be the session set on your SimpleUser instance.


chore(deps-dev): bump eslint from 7.32.0 to 8.51.0 in /test-app

The aim of this PR is updating eslint  from 7.32.0 to 8.51.0.
This PR substitutes following Dependabot PR: https://github.com/qonto/ember-lottie/pull/155

@depandabot rebase


Add Postgres code (queries) pieces

Add Postgres code pieces you use frequently here:
https://github.com/nonunicorn/onelinerhub/tree/main/git
How to do it:
https://github.com/nonunicorn/onelinerhub/blob/main/README.md

Hey, the first link above redirects to git commands and not Postgres !

Sorry about that, bad focus, fixed :)

I can get started on this


examples README.md links to not existing pygbag folder

It seems that zengl should run with pygbag, but I can't find a working example.
This README.md has link to pygbag folder, but there is no such a folder.

The example got broken due to the pygbag CDN content is changing or something else happens which makes my Containerfile build differently after a while. I am waiting on pygbag to stabilize a bit.
Currently the best way to run zengl using pygbag is:
pygbag --git --PYBUILD 3.12 --template=noctx.tmpl --ume_block 0 --archive .

https://github.com/szabolcsdombi/pyweek-36/blob/main/pygbag/main.py
Please note that --git refers to the part which is likely changing.
If you encounter problems please consider asking on discord https://discord.com/channels/772505616680878080/971360806287577098
pmp-p and other usually reply fast with quick solutions. This is how I do it myself.
PS: To prevent changes I use the --archive however it is not enough on it's own. I usually just download all the files from the network tab and ship it on itch https://szabolcsdombi.itch.io/ so no files are loaded from a remote.

Awesome! I've managed to run it. Also, I figured out how to start this example:
https://github.com/pygame-web/showroom/blob/main/src/test_zengl_debug.py
I'm really inspired by the idea of having a 2D, pixel art game using pygame-ce, combined with some postprocessing shaders with for example zengl. Running it all in the browser on GitHub pages or itch.io is just the next level 👌.
And yes, pmp-p is always quick to help, I'm already using this channel. Thanks for the tip anyway ;-)
You can close the issue if you want.


Include artistSeries in ScreenOwnerType

Oops! Forgot I needed to do this.

Going to merge in because I think this is fine, but I'll follow up if not.

:rocket: PR was released in v1.28.0 :rocket:


Use eslint-plugin-n

This should be linted with https://www.npmjs.com/package/eslint-plugin-n

For instance, it might catch this deprecation warning:
(node:6969) [DEP0151] DeprecationWarning: No "main" or "exports" field defined in the package.json for /Users/aj/Code/sl8r.net/node_modules/eslint-plugin-no-use-extend-native/ resolving the main entry point "index.js", imported from /Users/aj/Code/sl8r.net/eslint.config.js.
Default "index" lookups for the main are deprecated for ES modules.
(Use `node --trace-deprecation ...` to show where the warning was created)


Wrong base URL for ISTAT source

Hi,
The "url" property of the "ISTAT" source in sources.json is wrong (outdated, I guess).
It should be replaced with
"url": "https://sdmx.istat.it/SDMXWS/rest",

Sorry if I don't create a fork + PR for this, but it should be an easy fix.
I've found the right link here
Thanks a lot

I'd noticed the scheduled nightly runs of the tests for this source had failed for a week or so, but hadn't yet had time to investigate. I guess the change was recent. Thanks very much for the pointer to the new URL and docs!
I'll make a PR in the next few days. In the meantime to work around, one can override the Source.url property:
>>> import sdmx
>>> ISTAT = sdmx.Client("ISTAT")

# Show the current base url in sources.json
>>> ISTAT.source.url
'https://esploradati.istat.it/SDMXWS/rest'

# Override
>>> ISTAT.source.url = "https://sdmx.istat.it/SDMXWS/rest"

>>> ISTAT.dataflow("47_850")
<sdmx.StructureMessage>
  <Header>
    id: 'IDREF72'
    prepared: '2024-12-09T14:13:28.435395+01:00'
    receiver: <Agency Unknown>
    sender: <Agency Unknown>
    source:
    test: False
  response: <Response [200]>
  Categorisation (1): 47_850@IT1@15@ISTAT_DW@10@47
  CategoryScheme (1): ISTAT_DW
  Codelist (11): CL_BASE_YEAR CL_FLAG CL_FREQ CL_ITTER107 CL_OBS_CONF C...
  ConceptScheme (2): CROSS_DOMAIN VARIAB_ALL
  DataflowDefinition (1): 47_850
  DataStructureDefinition (1): DCIS_SERVSOCEDU1

In reviewing old issues and PRs, I remembered that in #104 (from 2022) @miccoli linked to a specific announcement that identifies sdmx.istat.it/… as an old base URL, to be retired, and esploradati.istat.it/… as the new one.
So I'll close this issue—but please comment if you find any newer info to the contrary.

Hi!
Thanks for the replies and the info. It is possible that the old URL still works and that the new one is randomly failing. I will keep it in mind and maybe put together a monkey-patch on my local installation.
I will post here any new information I might run into.
Cheers,


Error when doing SSR and webpack serve (webpack 5)

🐛 Bug Report
When webpack (5.3.2, works OK on 4.x.x) is run in serve mode with webpack-dev-server, I get the following error:
loadable.esm.js:277 loadable-components: failed to synchronously load component, which expected to be available
{fileName: "./src/app/pages/Index/index.tsx", chunkName: "pages-Index", error: "Cannot read property 'call' of undefined"}
chunkName: "pages-Index"
error: "Cannot read property 'call' of undefined"
fileName: "./src/app/pages/Index/index.tsx"
__proto__: Object

When I just build using webpack --mode production and run production server, all is OK.
This is my webpack config (the rest is in @reactizer/webpack but nothing really important, I tried adjusting all values without difference, the only difference is serve):
const path = require("path");
const reactizer = require("@reactizer/webpack");
const webpack = require("webpack");
const dotenv = require("dotenv-safe");
const { merge } = require("webpack-merge");
const LoadablePlugin = require("@loadable/webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const SentryPlugin = require("@sentry/webpack-plugin");

const env = dotenv.config({
  allowEmptyValues: true,
  path: ".env",
  example: ".env.example",
}).required;

module.exports = (e, argv) => {
  const production = argv.mode === "production";

  const cfg = reactizer(e, argv);

  // Remove styled-components specific things
  // eslint-disable-next-line fp/no-mutation
  cfg.module.rules = cfg.module.rules
    .filter((r) => String(r.test) !== String(/\.tsx?$/))
    .filter((r) => String(r.test) !== String(/\.css$/));

  const base = {
    resolve: {
      fallback: { path: false },
    },
    entry: {
      app: path.resolve(__dirname, "src/app/index.ts"),
    },
    plugins: [
      new webpack.EnvironmentPlugin(env),
      // https://github.com/vfile/vfile/issues/38
      new webpack.ProvidePlugin({
        process: "process/browser",
      }),
      new LoadablePlugin({
        writeToDisk: { filename: "dist" },
      }),
      new MiniCssExtractPlugin({
        filename: production ? "[name].[contenthash:8].css" : "[name].css",
        chunkFilename: production ? "[name].[contenthash:8].css" : "[name].css",
        ignoreOrder: true,
      }),
      env.SENTRY_RELEASE &&
        new SentryPlugin({
          release: env.SENTRY_RELEASE,
          include: "src",
          ext: ["ts", "tsx"],
        }),
    ].filter(Boolean),
    module: {
      rules: [
        {
          test: /\.tsx?$/,
          use: [
            "babel-loader",
            {
              loader: "linaria/loader",
              options: {
                sourceMap: !production,
              },
            },
          ],
          exclude: /node_modules/,
        },
        {
          test: /\.css$/,
          use: [
            {
              loader: MiniCssExtractPlugin.loader,
              options: {
                hmr: !production,
              },
            },
            {
              loader: "css-loader",
              options: {
                sourceMap: !production,
                url: false,
              },
            },
            "postcss-loader",
          ],
        },
      ],
    },
  };

  if (production) {
    return merge(cfg, base, {
      output: {
        path: path.resolve(__dirname, "dist/static"),
      },
    });
  }

  return merge(cfg, base, {
    output: {
      path: path.resolve(__dirname, ".tmp/static"),
    },
    devServer: {
      contentBase: false,
      compress: true,
    },
  });
};

To Reproduce
Steps to reproduce the behavior:
Do a dev server using webpack serve, try having a component using loadable(() => import("...")); and render using loadableReady(() => ...);
Expected behavior
The error should not happen and app should run.
Run npx envinfo --system --binaries --npmPackages @loadable/component,@loadable/server,@loadable/webpack-plugin,@loadable/babel-plugin --markdown --clipboard
Paste the results here:
## System:
 - OS: macOS 10.15.4
 - CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
 - Memory: 806.82 MB / 16.00 GB
 - Shell: 5.8 - /usr/local/bin/zsh
## Binaries:
 - Node: 14.4.0 - /usr/local/bin/node
 - Yarn: 1.22.10 - ~/gainwagon/web/node_modules/.bin/yarn
 - npm: 6.14.4 - /usr/local/bin/npm
 - Watchman: 4.9.0 - /usr/local/bin/watchman
## npmPackages:
 - @loadable/babel-plugin: ^5.13.2 => 5.13.2
 - @loadable/component: ^5.14.1 => 5.14.1
 - @loadable/server: ^5.14.0 => 5.14.0
 - @loadable/webpack-plugin: ^5.14.0 => 5.14.0

Webpack 5 is not yet properly supported #636


Test harness should be able to decode all types of GQL responses

Currently, the test harness method SendQuery decodes the GQL JSON response in a hardcoded format, which does not fit for all available methods.

Fix merged to master via #187


unable to start container after setting external volume driver (convoy)

i'm usign convoy as volume plugin, starting containers with convoy volumes works perfectly in CLI .
but i can't get it to work with dockerode.
here is  the js code:
var node = {
Image: 'node',
name: client_id + '_node',
Env:[
'process.env.PORT= 3000',
"NODE_ENV=production"
],
ExposedPorts: { "3000/tcp": {}},
HostConfig: {
  RestartPolicy: {
      Name: 'always',
      MaximumRetryCount: 0
      },
    VolumeDriver: "convoy",     // here is !
    Binds: [ "doufa:/nodeapp" ], // doufa is a convoy volume name

  Workingdir: '/nodeapp',
  Cmd:[ "npm","start"],
  Volumes: {
      '/nodeapp': {},
  }

};
docker.createContainer(node, function(err, con){
con.start(
function(err,data){
if(!err) {
console.log("[node-id]: "+JSON.stringify(con.id));
}
}
)});
when i run this code i get the following error :

anyone can help me with this ?

If there's no container there must be an error during container creation.
Print the err from createContainer to know what failed.

it fails when  trying to own the mounted volume ....
i tried running the code as root but still fails ....


Add ES256K support

This adds support for the ES256K algorithm (secp256k1 curve). Not sure if this is something that you'd like to support, but I needed it, so figured I'd open a PR. It's useful for blockchain applications.
I'm far from a cryptography expert, so please do carefully review this. It seems to work for me, though.

Thanks. Great addition.
Rubocop is apparently complaining about long file names. I think it would be time to refactor the lib/jwt/jwk/ec.rb a little. But that could be addressed in another PR. For now i guess bumping the max values in .rubocop.yml a little would be enough.

Thanks for the super quick review @anakinj! I'll bump that rubocop value.

@anakinj All set! Thanks for the feedback. I really wanted to refactor how curve aliases are defined (i.e. secp256r1), but decided that'd be best handled in a separate PR.

Until there are more aliases I would not complicate the definitions. But when you say it I got curious, what kind of approach where you thinking on, my opinions are not that strong:).
Really like this. Thanks for your effort.


Migrate to using only java_import

currently we do a repo rule that downloads the file, then use java_import to wrap that, then use java_library to build the dependency graph.
This is because in the past, java_import didn't allow exports or runtime_deps so we couldn't set up the dependency graph.
That's no longer the case, so we could just directly use java_import and scala_import and reduce the number of targets and also have a side benefit of avoiding producing the empty jars that are produced by java_library.

scala_import seems to be doing the right thing, btw. So, this is only for java libraries.


exit() and pthread_exit() limitations

The main thread of a task should be able to call pthread_exit(), of course, calling pthread_self() first.  Certainly this behavior is not prohibited by the specifications at OpenGroup.org and there are several posts that specifically claim that this is possible.  See for example:  https://programmer.help/blogs/the-use-of-pthread-exit-in-main-thread.html
In this case, the main thread of the process/task group will terminate, but the process/task group will persist and other threads will continue running.  I believe that calling pthread_exit() from the main thread will currently lead to an assertion or crash due to the different forms of the main and pthread TCBs and the fact that global data is retained in the main thread's stack.
Similarly, a pthread should be able to call exit() and terminate the entire process/  See for example https://www.informit.com/articles/article.aspx?p=2085690&seqNum=5.  In fact, this is often the case when exit() is called from a signal handler in a multi-threaded task because we never know for sure which thread the signal handler will run on.
Again, a crash would be likely due to the same reasoning.

The main thread of a task should be able to call pthread_exit(), of course, calling pthread_self() first. Certainly this behavior is not prohibited by the specifications at OpenGroup.org and there are several posts that specifically claim that this is possible. See for example: https://programmer.help/blogs/the-use-of-pthread-exit-in-main-thread.html
In this case, the main thread of the process/task group will terminate, but the process/task group will persist and other threads will continue running. I believe that calling pthread_exit() from the main thread will currently lead to an assertion or crash due to the different forms of the main and pthread TCBs

Yes, this is major reason why we can't handle main thread and pthread equally. The best fix could be unify two tcb struct into one and:

Move main thread specific data to task_info
Move pthread specific data to tls_info

and the fact that global data is retained in the main thread's stack.

It's fixed by patch: https://github.com/apache/incubator-nuttx/pull/3992

Similarly, a pthread should be able to call exit() and terminate the entire process/ See for example https://www.informit.com/articles/article.aspx?p=2085690&seqNum=5. In fact, this is often the case when exit() is called from a signal handler in a multi-threaded task because we never know for sure which thread the signal handler will run on.
Again, a crash would be likely due to the same reasoning.

Wouldn't you also need some kind of reference count on the task data so that it persists until the last thread exits?

The reference count is already there: group_s(and then task_info_s) get destroyed only after the last thread in the process exit.

Should this issue be closed?  Is there no longer an issue?

Here is a test case:
static void *thread_func(FAR void *parameter)
{
  /* Wait a bit then call exit */

  printf("Child: Started\n");
  sleep(1);

  printf("Child: exit()\n");
  exit(0);
}

int main(int argc, FAR char *argv[])
{
  pthread_t thread;
  int status;

  /* Start the thread instances */

  printf("main: Starting thread\n");
  status = pthread_create(&thread, NULL, thread_func, (pthread_addr_t)NULL);
  if (status != 0)
    {
      printf("ERROR in thread creation: %d\n", status);
    }

  /* And exit the main thread */

  printf("main: pthread_exit()\n");
  pthread_exit(NULL);
}

When I run this test, I get:
nsh> exit
main: Starting thread
Child: Started
main: pthread_exit()
nsh> Child: exit()

nsh>

So I conclude that there is no problem.  Sorry for the false alarm.  I will close this issue now.

I could like to add a new issue to unify task and thread tcb into one.


[repo] sparse_checkout.sh not working on wsl (ubuntu 20.04 focal)

Why?
when trying to run the bash script sparse_checkout.sh on wsl linux ubuntu 20.04

line git clone ... throws an error : fatal: cannot change to 'https://github.com/Azure/mlops-project-template': No such file or directory
error: failed to initialize sparse-checkout

the line git init -b main throws error unknown switch -b

make sure your version of git is 2.36 and higher (check with git --version, update info here https://git-scm.com/download/linux#:~:text=The latest version is 2.36,1.


Stuck at "Initialising" after 3.0.3.(9) Hossa update

Storeman does not initalize properly since I updated to <IP_ADDRESS>  on Jolla1.
The pulley on the main menu stays in "Initialising" state.
The "Recently updated", "Categories" "Bookmarks" and "Local RPM Files" sections are active and can be accessed, "Repositories" and "Installed Applications" can not.
In an app screen, installstatus is not shown correctly (everything is "not installed"), and there is no top pulley menu.
[nemo@Sailfish nemo]$ /usr/bin/harbour-storeman
[D] unknown:0 - Using Wayland-EGL
[W] unknown:0 - Could not find any zN.M subdirs!
[W] unknown:0 - Theme dir "/usr/share/themes/jolla-ambient/meegotouch/z1.0/" does not exist
[C] unknown:0 - Could not read "/home/.zypp-cache/solv/@System/solv"

journalctl has this:
May 09 12:47:12 Sailfish lipstick[1556]: invoker: Invoking execution: '/usr/bin/harbour-storeman'
May 09 12:47:20 Sailfish dbus[787]: [system] Activating via systemd: service name='org.nemo.ssu' unit='dbus-org.nemo.ssu.service'
May 09 12:47:20 Sailfish systemd[1]: Starting SSU service...
May 09 12:47:21 Sailfish dbus[787]: [system] Successfully activated service 'org.nemo.ssu'
May 09 12:47:21 Sailfish systemd[1]: Started SSU service.
May 09 12:47:22 Sailfish packagekitd[6904]: Setting target on init: /var/cache/zypp
May 09 12:47:22 Sailfish invoker[1673]: WARNING: An inactive plugin is misbehaving - tried to show a window!
May 09 12:47:22 Sailfish invoker[1673]: WARNING: requestActivate() called for  QQuickView(0x134bd78)  which has Qt::WindowDoesNotAcceptFocus set.
May 09 12:47:23 Sailfish lipstick[1556]: [D] onCompleted:263 - coverActionIndicators created <unknown>
May 09 12:47:24 Sailfish packagekitd[6904]: openrepos-thebootroo is not cached! Do a refresh
May 09 12:47:25 Sailfish PackageKit[6904]: get-updates transaction /52804_debacecc from uid 100000 finished with success after 3221ms

[root@Sailfish nemo]# pkcon search storeman
Searching by details
Starting
Refreshing software list
Querying
Finished
Installed       harbour-storeman-0.1.5-1.armv7hl (installed)                    OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.22-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.29-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.28-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.1.1-1.armv7hl (openrepos-osetr)              OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.1.0-1.armv7hl (openrepos-osetr)              OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.26-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.24-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.21-2.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.25-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.30-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.23-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.33-3.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.31-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.32-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.1.4-1.armv7hl (openrepos-osetr)              OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.0.27-1.armv7hl (openrepos-osetr)             OpenRepos Client for Sailfish OS
Available       harbour-storeman-0.1.1-2.armv7hl (openrepos-osetr)              OpenRepos Client for Sailfish OS
Available       harbour-storeman-turing-0.0.26-1.armv7hl (openrepos-osetr)      OpenRepos Client for Turing Phone
```

Note that this particular phone did NOT update to 3.0.3 without problems.
I had to recover manually by removing and reinstalling some packages (actually I just reinstalled all).
It's possible something in the failing upgrade process is the cause of this, e.g. /home/.zypp-cache does not exist on my system.

Found it. Borked system. Wrong/old versions were installed. Sorry for the noise.
Before:
[root@Sailfish nemo]# pkcon search PackageKit
Searching by details
Starting
Refreshing software list
Querying
Finished
Installed       PackageKit-1.1.9-1.3.3.jolla.armv7hl (installed)                Package management service
Available       PackageKit-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)               Package management service
Installed       PackageKit-Qt5-0.9.6+git-1.3.1.jolla.armv7hl (installed)        Qt support library for PackageKit
Available       PackageKit-Qt5-debuginfo-0.9.6+git-1.3.1.jolla.armv7hl (jolla)  Debug information for package PackageKit-Qt5
Available       PackageKit-Qt5-debugsource-0.9.6+git-1.3.1.jolla.armv7hl (jolla)        Debug sources for package PackageKit-Qt5
Available       PackageKit-Qt5-devel-0.9.6+git-1.3.1.jolla.armv7hl (jolla)      Development headers for PackageKit-Qt
Available       PackageKit-command-not-found-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)     Ask the user to install command line programs automatically
Available       PackageKit-debuginfo-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)     Debug information for package PackageKit
Available       PackageKit-debugsource-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)   Debug sources for package PackageKit
Available       PackageKit-doc-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)           Documentation for PackageKit
Installed       PackageKit-glib-1.1.9-1.3.3.jolla.armv7hl (installed)           GLib libraries for accessing PackageKit
Available       PackageKit-glib-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)          GLib libraries for accessing PackageKit
Available       PackageKit-glib-devel-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)    GLib Libraries and headers for PackageKit
Installed       PackageKit-zypp-1.1.9-1.3.3.jolla.armv7hl (installed)           PackageKit zypp backend
Available       PackageKit-zypp-1.1.9+git5-1.8.1.jolla.armv7hl (jolla)          PackageKit zypp backend

Fix it:
[root@Sailfish Downloads]# pkcon update PackageKit-zypp
Resolving
Querying
Testing changes
Finished                                                                                [                                                                           ] (0%)
The following packages have to be installed:
 PackageKit-1.1.9+git5-1.8.1.jolla.armv7hl      Package management service
 PackageKit-glib-1.1.9+git5-1.8.1.jolla.armv7hl GLib libraries for accessing PackageKit
 PackageKit-zypp-1.1.9+git5-1.8.1.jolla.armv7hl PackageKit zypp backend
 boost-thread-1.66.0-1.3.8.jolla.armv7hl        Run-Time component of boost thread library
 libsolv-tools-0.6.35+git2-1.4.5.jolla.armv7hl  A new approach to package dependency solving
 libsolv0-0.6.35+git2-1.4.5.jolla.armv7hl       A new approach to package dependency solving
 libzypp-17.3.1+git4-1.6.2.jolla.armv7hl        Package, Patch, Pattern, and Product Management
 ssu-0.43.12-1.8.1.jolla.armv7hl        SSU enabler for RND
Proceed with changes? [N/y] y


Add assembly to release

Please add a ready-made server assembly to the release. There is no way to assemble the project yourself.

Use Visual Studio 2019+

What? It builds perfectly fine with Visual Studio 2019+ and also the latest release contains a fully working build.


👉 Filter on Growing WELL / WELLBORE

👉 Is your feature request related to a problem? Please describe.
This task is related to User Story #177
Users should be able to filter on Growing Logs to more easily work only on WELLS / WELLBORES containing growing logs.
Describe the solution you'd like
A filter option or check box where the user can check to filter on Growing Logs.
When the filter is applied, only Growing Logs are displayed.
Describe alternatives you've considered
Currently no alternatives, but open to suggestions
Additional context
The relevant WITSML data comes from the objectGrowing tag.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<logs version="<IP_ADDRESS>" xmlns="http://www.witsml.org/schemas/1series">
	<log uidWell=" uidWellbore=" uid=">
		<nameWell />
		<nameWellbore />
		<name />
		<objectGrowing>true</objectGrowing>
	</log>
</logs>

Will discuss with UI designer asap how this should look like. Will notify you.

Challenge: Only SiteCom WitsmlServers support open query (no uid well , no uidwellbore) on log object. So the community need to come up with a proposal how to enable functionality not mandatory in witsml standard, but allowed, and still ensure that WE works on all types of Witsml servers.
What is possible at time beeing: In context of a wellbore, objectGrowing is returned.
Discussion to be raised in community: How to support proprietary features

Hi,
Activewellbore is witsml <IP_ADDRESS> only attribute as well.
On the topic of "How to support proprietary features" consider Strategy pattern and allow advanced end-users to switch between strategies for servers if one does not match.


As a 3Bot user I expect to pay only for the extension period not including the period I already paid for.

Description
Extending a 3Bot instance already deployed until 9/5/2020, 1:17:45 AM to 9/5/2020, 1:18:00 AM requests me to pay  2.5746967 TFT. Creating a new 3Bot instance that expires at  9/5/2020, 1:18:00 AM requests me to pay  2.5754377 TFT

branch: development
commit: 7e5e699c6b4701ab37b13c63d03d5accbc2bac94


hoverlabel config

This exists in layout and in data but right now it looks like bgcolor etc aren't populated in fulldata?

OK, not blocked. Let's work around this at the editor level...
Here's what we need:

ColorPicker needs to be able to handle null or missing values by showing some text saying "this color is computed from other parts of the figure but you can 'click here' to override it" at which point it shows the normal picker and forces a value into the field
We add this capability to the editor for both the trace and layout-level variants, and tie its visibility to hoverlabel.font or something so that it shows up even when the value isn't in fullData, and then the 'empty state' kicks in.

Would be great to know exactly from which "other parts of the figure" do they actually get colors, so I could prepopulate them with whatever is visually there, and not just black/white.
bgcolor is clearly from marker.color, bordercolor and font are white, but where did white come from?


arrangement words with smaller alphabet for honors

The honor suit can't produce all 130 characters of the arrangement alphabet. Assign the honor suit a special index in the arrangement words and use the smaller alphabet to reduce the number of transitions.
Or rather, feed the arrangement classifier builder words with only honor-arrangements in the honor slot.

Probably not enough gain from this.


Please provide samples for querying port and access keys

This page documents going to the Azure Portal and manually copying the access key and port. This cannot be automated. Please document ARM APIs to get this in an automated way.

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

ID: a4e0f8bc-6ba7-a34c-1e22-e6a4fa20f164
Version Independent ID: bc03446e-ccf1-5f3e-6b17-60aee3d68775
Content: Use Azure Cache for Redis with Go - Azure Cache for Redis
Content Source: articles/azure-cache-for-redis/cache-go-get-started.md
Service: cache
GitHub Login: @flang-msft
Microsoft Alias: franlanglois

@chitturs Thank you for feedback. We will check and update if appropriate.

@chitturs -
Thanks for the doc suggestion! I've added it to our documentation backlog for a future consideration. According to our usual policy, I'll now proceed to close this issue. If you have further information or would like to continue the discussion, please tag me and or reopen the issue. Thank you!
#please-close


844 story flow rework

2 main contribs:

always display story type (builtin / configured) and name (not ID) in selects
refactor bot flow

don't forget to commit generated files
great work! :)


When the extra yaml file is to large it will cause bufio.Scanner: token too long

When the extra yaml file is to large it will cause bufio.Scanner: token too long

Based on search the maximum of the yaml file is 64k, however, the size of the webhook crd is 77k.


doc: remove zero-width space character

This PR removes a zero-width space character in /zh/docs/contribute/style/hugo-shortcodes/index.md which caused a rendering error.
/language zh

Thank you for proposing this fix. However, we will not merge partial fixes as per stated in the guideline. To find out what are the upstream changes to be synced, do this:
./scripts/lsync.sh content/zh/docs/contribute/style/hugo-shortcodes/index.md

I'll handle it later.

The latest PR contains:

synchronize Chinese localization with upstream changes
remove Hugo shortcode in comments, which caused a duplicated translation content, see #26748

@tengqm

btw
A shorcode will get evaluated in the HTML comments, which may cause an error rendering since HTML comments cannot be nested. See example at #26748
As suggested in the official document, should we remove all Hugo shortcode in HTML comments?
Is there any way to fundamentally solve the problem once and for all?

A shorcode will get evaluated in the HTML comments, which may cause an error rendering since HTML comments cannot be nested.

Yes. That is one of the reasons I personally believe that we should use them cautiously. There is currently no generic solution to this yet.

Thanks for your valuable suggestions.
Line breaks in Markdown will be rendered as a space in HTML, which is unnatural in CJK Characters.
I guess we should add line breaks between CJK and Latin characters if possible.

/lgtm
/approve


Allow specifiying global default options?

We use go-cmp heavily via gotest.tools/assert.DeepEqual.
After upgrading to the most recent version of protobuf, we are finding all of our comparisons are failing due to some new unexported fields.
There is a  cmp.Option implementation provided by the protobuf module in https://godoc.org/google.golang.org/protobuf/testing/protocmp#Transform - but I now need to go and add this option to every single compare.
This particular check is generic and safe to add on every compare - would it be reasonable to provide a way to install such global comparison options?

Global cmp options would go against the goal that each test's logic be side-effect free for another package's tests. Global options can be functionally achieved by creating an internal wrapper package over cmp that injects the relevant set of options that the module finds itself needing, and importing that wrapper package instead.
I should note that use of reflect.DeepEqual has always been flaky when used on protobuf messages, even prior to v1.4.x. It's just that v1.4.x made it more flaky. The correct way to compare a protobuf message is to use cmp.Comparer(proto.Equal) or protocmp.Transform.
In general, use of reflect.DeepEqual is dangerous on types that are not authored by the same team that is writing the test since it blindly compares unexported fields without any understanding whether the field may contain ephemeral data (e.g., caches, timestamps, locks, etc).

Thanks for the quick response, tha makes sense to me.
Do you have any thoughts on how the protobuf library could make this interop smoother?


Integrate auto-update system for Plugins

At least, and for the app at best
Maybe setting the plugin folder in a different git repo & using the bundle to autoupdate them

Not before we have a configuration file that we can use (see https://github.com/matryer/bitbar/issues/88)


Need better support for custom user-agent overrides

Found information on the following User Agent topics, and it doesn't seem to work well: https://github.com/atom/electron/blob/master/docs/api/session.md#seswebrequest
Perusing the electron issues, I found https://github.com/atom/electron/issues/134 regarding a User Agent API, but the conversation around creating one died pretty quickly.

Other issues around setting user agent https://github.com/atom/electron/issues/3602

Think this may be resolved per #6


Add Radium::fetch_update

I'm actually only realizing this as I'm writing this, but is the MSRV for this crate the same as bitvec? Atomic fetch_update is available since 1.45

(Another thing - since intra-docs links are stable, should I make another PR removing the unnecessary footnote-hyperlinks from the doc comments?)

I don't think we ever settled on an MSRV policy so I'm okay attaching it to bitvec's. fetch_update stabilized in 1.53, which is one release earlier than bitvec's forthcoming MSRV lift to 1.54.
If I really wanted to put in the effort, I'd make feature flags for version sets. But I don't, so until somebody complains, hewing close to the stable track is fine.
I think it's fairly safe to adopt a "don't-care" policy for running cargo doc --target riscv32imc-unknown-none-elf. I'll do a modernization pass though; don't worry about it.

Rather than feature sets it's also always possible to add a build.rs and emit #[cfg()]s for what features are available (unless that's more messy wrt like, unintentional msrv bumps than cargo features)


Command Draft Functionality

Version 1.0.2

Implemented LethalCompany InputUtils and reformed everything to support this new way of handling the keybinds. This now gives the mod functionality to change the keybinds in-game.

Version 1.0.3

Implemented the command draft functionality. If they user has typed out anything already without sending it and instead uses the (up) keybind to go back in command history, it will save the drafted command they typed out and if they return to index -1 with the (down) keybind it will be restored.in-game.
fixed a bug where if you go out of the terminal while already having used the back keys, the next time you use them it would not have been reset to the beginning.

Looks sexy, nice work

Thank you


Model Overfitting

Hi, I'm trying to train a text classifier, and I'm getting a huge overfitting. Do you know what could be the reason? My model is:
trn, val, preproc = text.texts_from_array(X, y_train,
                                           class_names=[0,1,2],
                                           max_features=1000, maxlen=250,
                                           ngram_range=3,
                                           val_pct=0.1,
                                           lang='es',
                                           preprocess_mode='standard',
                                           )

task: text classification
language: es
Word Counts: 1434105
Nrows: 238255
238255 train sequences
train sequence lengths:
	mean : 929
	95percentile : 2181
	99percentile : 3628
Adding 3-gram features
max_features changed to 42437014 with addition of ngrams
Average train sequence length with ngrams: 2784
train (w/ngrams) sequence lengths:
	mean : 2785
	95percentile : 6540
	99percentile : 10882
x_train shape: (238255,250)
y_train shape: (238255, 3)
26473 test sequences
test sequence lengths:
	mean : 936
	95percentile : 2168
	99percentile : 3715
Average test sequence length with ngrams: 2689
test (w/ngrams) sequence lengths:
	mean : 2690
	95percentile : 6261
	99percentile : 10677
x_test shape: (26473,250)
y_test shape: (26473, 3)

And then when I do learner.fit(0.001, 3, cycle_len=1, cycle_mult=2), I get:

Thanks!

One thing I've noticed in your data is that your mean sequence is 2785 words, which is way above the sequence length you are actually processing (maxlen=250). This essentially means you are, on average, learning based on less than 10% of the data in your samples.
Since BERT models limit your sequence length (words it can process) to 512, you will be forced to choose something that will truncate your data, as you have currently done by choosing 250 max len. I would suggest you find a way to make your samples smaller, and make sure the data that is being learned on is meaningful. This might help the overfitting issue.
Some methods that have been suggested to deal with this issue is to select first X amount of words from the beginning, and Y amount of words from the end of your samples. You can also use an algorithm to summarize your sample so it would cut down on the size of each sample. You can split your samples into chunks. If required, you could combine the scores that belong to the same document at the end in order to get a proper final label / classification.

Other ideas to look at:

Balance the dataset

Check to make sure your trn, val have roughly the same proportion of classes

Use predictor.predict_proba() to debug. You can test a few samples and see if the probabilities are actually changing with respect to the sample provided. If they're not, your model is probably just guessing the most common class found in it's validation set.

Test your model on a smaller subset of your dataset to save time and debug. Once you get something good, you can move on to your full dataset. Make sure that the subset you are using is representative of your full dataset though. If you need to balance, balance the subset.

Change the learning rate (you are currently using 0.001). Maybe try 0.0001 and 0.01 to see if you get different results. You can use the following code to get a visual estimate of the ideal learning rate:

learner.lr_find(max_epochs=2)
# learner.lr_plot()  # only use these two last lines if you are running in some IDE and not a notebook
# pyplot.show()

Change the batch size

@marcturpin91 provided some great answers.  I try to add a few comments here.
I haven't seen your dataset or the model you're using.  It looks like you're using non-transformer model perhaps because training a transformer model like BERT on such a large training set is taking too long.  If this is the case,  you can try downsampling your training set and using DistilBert, as Transformer models tend to generalize better.  You may not need that many training samples as you are currently using, as redundancy may be present in your dataset. There are lots of different ways to downsample such as this technique or using active learning.    Downsampling may also help in simply creating a smaller dataset to test other methods to reduce overfitting mentioned below. You can always got back to the original size once you figure out what works.
Other techniques include the following and include:

Add regularization such as dropout or L2/L1/weight_decay.
reduce complexity of your model

For weight decay, you can use learner.set_weight_decay(wd=0.01) to set the weight decay to 0.01. (or some other value)  Or, you can increase the weight decay if necessary, if 0.01 is too low or high.  As of the latest version of ktrain this will swap out the vanilla Adam in Keras with the AdamW optimizer.
As for other regularization techniques that involve adjusting the layers of the model like adding dropout layers, changing size of hidden units, batchnorm, etc., it's not clear if you're using your own Keras model or one of the models included in ktrain.  Even if the latter, you can copy the model-building code form ktrain/text/models and add dropout layers or add L2 kernel_regularizers to layers of the model, etc. to layers, etc.  In theory, weight decay and adding L2 regularization to each layer are equivalent, but it may behave differently in practice due to different factors in Keras.
See also this tutorial on overfitting/underfitting.  This tutorial uses Keras for R, but everything still applies to tf.keras.

Hi, thanks for your answers @marcturpin91  and @amaiya ! I'll try to answer to your points:

I'm getting only 250 words because of time and memory reducing for trials. Additionally I'm almost sure that the important part of the text is at the beginning... Is ktrain truncating getting the first 250 words or the last 250s?

I checked that my trn, val sets has same proportion of classes.

I tried with some other learning rates and I'm getting almost the same result.

I have also tried with my own Keras models and added L2/L1 and Dropout, but with the same result.

Now I'm trying some techniques to balance the dataset, but not great news with Random Under/Over Samping, and others are getting a lot of time.

I'm going to explain a bit my dataset and say what I guess is the problem: There are 3 classes with 10-30-60% distribution. The classes are about importance of the documents, 10% class is the most relevant, 30% the second and 60% the last. I think that there are a lot of documents in class 3 that are similar to others in class 1, but were assigned there because of some company policy. Maybe it would be better to try some one-class learning for class 1 and 2 and find some threshold? What do you think?
Thanks a lot!!

Hi @basque21 It's hard to say what's going on without access to the dataset.  But, if classes are similar then the model might be fitting to the noise.  I'll close the issue for now.


Thanks for your work! But I can not inference it on my finetune model()

After merging my lora model with the base model, I begin the inference. I copied the missing files from the original model to the merged model directory, and then used the official inference code of the original model. However, the inference still failed.

@amoreZgx1n Sorry, I wasn't updating this repo(Since it's not the main checkpoint for now). I think it's the same issue as this one.
https://github.com/2U1/Molmo-Finetune/issues/9#issue-2598731128
I'll take a look soon.

thx
---Original---
From: "Yu-won @.>
Date: Mon, Nov 25, 2024 10:54 AM
To: @.>;
Cc: "G<EMAIL_ADDRESS>Subject: Re: [2U1/Molmo-Finetune] Thanks for your work! But I can notinference it on my finetune model() (Issue #12)
@amoreZgx1n Sorry, I wasn't updating this repo(Since it's not the main checkpoint for now). I think it's the same issue as this one.
#9 (comment)
I'll take a look soon.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Error with automatic type registration and generics

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The automatic type registration will copy the type parameters verbatim and create an error.
For example, using the response type in the docs produces this line in the generated automatic type registration file: builder.AddType<GenericAutoRegistration.ResponseType<T>>();
Which results in the error CS0246: The type or namespace name 'T' could not be found (are you missing a using directive or an assembly reference?)
Steps to reproduce

Create new project with packages necessary for Hot Chocolate with auto registration.
Add necessary initialization.
Try to add the generic response type from the documentation.

Example Repository
Relevant log output
No response
Additional Context?
No response
Product
Hot Chocolate
Version
12.9.0

this is now fixed and integrated into 12.11.0-preview.2
https://github.com/ChilliCream/hotchocolate/releases/tag/12.11.0-preview.2


The role of the token in headnode/assets/templates/email/web-token.html

Looking at web-token.html as a file in isolation, without knowing how the e-mail is triggered, I'm uncertain about the role of the token that is being sent to the user. Is it their personal token or is it the public token? Similarly with the associated kubeconfig file. If it is a personal token, we'll want to accompany the e-mail with advice about keeping the token private.

This is a prototype work for login activity. When a user signs in with the credentials of username and password, this controller creates a particular and temporary service account (TTL is 1h and extendable) dedicated to that user. So, the token in this file is a personal token related to that temporary service account.

I am closing the issue due to the removal of password management by EdgeNet extensions.


Templete added

#24 fix

@yoheinakajima merged this PR,
In this PR we've introduced an ISSUE_TEMPLATE to maintain uniformity.. users shall follow this ISSUE_TEMPLATE before they create one.


Dispose() RegistryKeys

Registry keys opened in http://filemeta.codeplex.com/SourceControl/latest#AssociationManager/Extension.cs are never disposed it seems. Is that by design?
Great tool in any case.
This work item was migrated from CodePlex
CodePlex work item ID: '9478'
Vote count: '1'

[Dijji@22/12/2014]
The effect of my not using Dispose will be that underlying Windows resources, such as registry handles, will be held on to until the C# objects are garbage collected. If this code had been in a property handler or part of a server, I would certainly not have considered this as acceptable. However, this is an occasional use client application, and it's hard to think of any problems this might cause.
As a long-time C# programmer, I think of the alternative as involving a try finally block, and cluttering up things more than a very nonthreatening resource release deferral justifies. But trying to bring myself up-to-date, I think the best option of all is probably the using construct.  I think that it reflects the usage of underlying resources into code in a very clean way.  I have got the code open at the moment anyway for some 1.3 work. Do you think it would be worthwhile to go back and clean this up?
Dijji

[Dijji@26/08/2016]
To be done in version 1.4

[UnknownUser@19/10/2016]

[UnknownUser@19/10/2016]

Issue closed by Dijji with comment
Addressed in version 1.4
Reason closed
Fixed


enable shared library for lmp_mpi

Comment:
When I use lmp_mpi from conda-forge to load my plugin
plugin load libdeepmd_lmp.so

I got the following error:
undefined symbol: _ZTIN9LAMMPS_NS7ComputeE

Luckily, I am familiar with LAMMPS, so I realize that liblammps.so is not linked to LAMMPS, so I try
plugin load liblammps.so
plugin load libdeepmd_lmp.so

It does work.
I wonder if we can enable BUILD_SHARED_LIBS=ON for lmp_mpi, so the plugins can be loaded successfully without manually loading liblammps.so and we don't need to build again shared libraries.

Sounds like a great idea. Can you open the corresponding pull request?


Terraform: Add proxy setting (#435)

Added proxy settings to features/terraform.

@microsoft-github-policy-service agree


[WIP] Fix: bug 225

Fixes #225

This branch was outdated, trying here again: https://github.com/hyperoslo/Sync/pull/266


echo + tail -f combination works from osx -> linux but not other way around

With a setup:

OSX machine logged in with user1
Ubuntu VM logged in with user2

Results:

Two terminals on OSX in /keybase/private/user1/temp and executing  tail -f chat + echo "hello" >> chat shows the new line.
One terminal in OSX and Ubuntu each in /keybase/private/user1,user2/temp

echo "hello" >> chat in OSX and tail -f chat shows new hello line right away
echo "hello" >> chat in Ubuntu VM and tail -f chat doesn't show a new line

Also tried with gtail on OSX, same result.

Thanks for the tip.  That's super weird, but I can reproduce it, so I'm looking into it now.

I see the issue.  Fun fact: it works properly for the first 19 seconds that kbfs is running, which makes this really hard to find in our unit tests.  But, I have a fix.  Should go in today and be available in tomorrow's build.

The fix is in master.  Thanks again for the report -- please open if you can still reproduce in tomorrow's build.

Great! A unit test with sleep(19) would do the trick btw? ;)


Helper Functions To Add

parse anchor instruction data for the sighash

add hex  = "0.4.3" to cargo.toml
    pub fn anchor_instruction_data_to_sighash(ix_data: &str) -> Result<[u8; 8]> {
        let ix_data_decoded = match hex::decode(ix_data)?;
        let mut sighash: [u8; 8] = [0_u8; 8];
        for (idx, val) in ix_data_decoded.iter().enumerate() {
            if idx >= 8 {
                break;
            }
            sighash[idx] = *val;
        }
        Ok(sighash)
    }

addressed via sighashdb

/// given `account`, attempts to perform zero-copy deserialization of the account farm_key
/// however due to the nature of this function, no validation of the account discriminator is performed
/// and as such it's technically possibly for this function to produce valid results on accounts
/// which aren't actually vault accounts
pub fn farm_accessor(account: &Account) -> Result<Farm> {
    if account.data.len() <  448 {
        return Err(anyhow!("account data length too smal"));
    }
    let farm_information = &account.data[8 + 424..8 + 424 + 16];
    let (part_one, part_two) = farm_information.split_at(8);
    let part_one = {
        let mut bytes: [u8; 8] = [0u8; 8];
        bytes.copy_from_slice(part_one);
        u64::from_le_bytes(bytes)
    };
    let part_two = {
        let mut bytes: [u8; 8] = [0u8; 8];
        bytes.copy_from_slice(part_two);
        u64::from_le_bytes(bytes)
    };
    Ok(Farm::from([part_one, part_two]))
}


compile fail with lua5.1.2

github.com/aarzilli/golua/lua
C:\Users\lingsan\go\pkg\mod\github.com\aarzilli\golua@v0.0.0-20210507130708-11106aa57765\lua\golua_c_lua51.go:114:105: cannot use (func literal)() (type _Ctype_longlong) as type _Ctype_long in return argument

Can not reproduce, also there is no function literal at that line.


Package maintaining

Hi,
I notice that this package seems not maintained anymore. Are @ivogabe still there ? I can maintain it if needed. Asking this before forked.

Hi, I'm still here! It became very difficult for me to maintain this package; I was always hoping that I would get more time to work on this soon but I always ended up being busy with other things. I barely use TypeScript for work nowadays (working in Haskell now) so I don't really have time nor work-related reasons to work on this.
It would be great if you could maintain it! We can discuss things like the structure or ideas behind the project if you want.

Though I must warn you that this plugin is actually quite complex, as there are many different configurations in which users want to use it. I think the most annoying thing is the fact that TypeScript and gulp both have their own ideas of handling paths which may conflict each other (gulp files have a base directory, and TypeScript has various path-related options)

Tracking down #666 now I'm fairly confident being able to take over maintenance. How do we proceed ?

Nice! You could send PRs, or I can transfer the repository to you if you feel confident enough?

Maybe add me as collaborator is enough ? You should still maintain the ownership imho xD

You should have an invite now! If you're not absolutely sure about some changes, you can also send them as a PR and I'll take a look.

Some first steps might be to look at the JSON issue and update the dependencies. Long term could be looking at incremental compilation and improving that.

So, what with project status?
@ivogabe @haoadoreorange Do you abandon it and we need think about replace of this utility?

@StanislavKharchenko Hello, I personally still use it for some of my project, it just hasn't been updated for a while. Are you currently using a fork with your patches ?

@haoadoreorange No, we also using origin npm package. The question was since the latest version is not compatible with NodeJS 18.
To avoid this, we added a peer dependency to update "source-map": "^0.8.0-beta.0"


Flutter version 0.11.10  Xcode build (iPhone 6) error

Hi,
my app works on android but I am getting error on iOS as showing below.
EXCEPTION CAUGHT BY WIDGETS LIBRARY Xcode build (iPhone 6) The getter 'languageCode' was called on null.
// TODO: FLUTTER main.dart ====================================================
import 'dart:async';
import 'dart:io';

import 'package:cep/language/lang_delegate.dart' as Niyazi;
import 'package:connectivity/connectivity.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:intl/intl.dart';

void main() {
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
    return new MaterialApp(

      // TODO: SUPPORTED LOCALE
      supportedLocales: [
        const Locale('tr', 'TR'),
        const Locale('en', 'US'),
        const Locale('ru', 'RU'),
      ],

      localizationsDelegates: [
        const Niyazi.LangDelegate(),
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate
      ],
      localeResolutionCallback:
          (Locale locale, Iterable<Locale> supportedLocales) {
        for (Locale supportedLocale in supportedLocales) {
          if (supportedLocale.languageCode == locale.languageCode ||
              supportedLocale.countryCode == locale.countryCode) {
            return supportedLocale;
          }
        }
        return supportedLocales.first;
      },

      debugShowCheckedModeBanner: false,
      title: ’Niyazi Mobile’,
      theme: new ThemeData(
        primaryColor: Colors.green,
      ),
      home: new MySplash(),
    );
  }
}

// My lang_delegate.dart ========================================================
import 'dart:async';
import 'package:flutter/material.dart';
import 'lang.dart';

class LangDelegate extends LocalizationsDelegate<Lang> {
  const LangDelegate();

  @override
  bool isSupported(Locale locale) =>
      ['tr', 'en', 'ru'].contains(locale.languageCode);

  @override
  Future<Lang> load(Locale locale) async {
    Lang _lang = new Lang(locale);
    await _lang.load();
    print(locale);
    return _lang;
  }

  @override
  bool shouldReload(LangDelegate old) => false;
}

// My lang.dart ==================================================================
import 'dart:async';
import 'dart:convert';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class Lang {
  Lang(this.locale);

  final Locale locale;

  static Lang of(BuildContext context) {
    return Localizations.of<Lang>(context, Lang);
  }

  Map<String, String> _sentences;

  Future<bool> load() async {
    String _data = await rootBundle
        .loadString('packages/cep/language/lang/${this.locale.languageCode}.json'); // My Json files + in pubspec.yaml
    Map<String, dynamic> _result = json.decode(_data);

    this._sentences = new Map();
    _result.forEach((String key, dynamic value) {
      this._sentences[key] = value.toString();
    });

    return true;
  }

  String trans(String key) {
    return this._sentences[key];
  }
}

ERROR ==================================================================
Launching lib/main.dart on iPhone 6 in debug mode...
Starting Xcode build...

FLUTTER DOCTOR -V
Niyazi-MBP:cep niyazitoros$ flutter doctor -v
[✓] Flutter (Channel dev, v0.11.10, on Mac OS X 10.14.1 18B75, locale tr-CY)
    • Flutter version 0.11.10 at /users/niyazitoros/flutter
    • Framework revision c27c4a265e (4 days ago), 2018-11-26 17:07:24 -0500
    • Engine revision eebc6a5895
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/niyazitoros/Library/Android/sdk
    • Android NDK at /Users/niyazitoros/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Community Edition (version 2018.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 31.1.4
    • Dart plugin version 183.4733

[✓] Connected device (1 available)
    • iPhone 6 • EE36CC70-F1B1-41D4-A2C6-1084BE85DA38 • ios • iOS 12.1 (simulator)

• No issues found!

ERROR LINE is bold one.
 for (Locale supportedLocale in supportedLocales) {
          if (supportedLocale.languageCode == **locale.languageCode** ||
              supportedLocale.countryCode == **locale.countryCode**) {
            return supportedLocale;
          }
        }

There was a related change recently where locale can be null until the device provides it (with some delay).
check if locale is null and use some default behavior until it becomes != null.

How do I do that?
I also follow https://flutter-news.com/tutorials/flutter-internationalization-by-using-json-files.5 example and I get same error in here.

When I try to use this
  if (locale.languageCode == null) {

        } else {
          for (Locale supportedLocale in supportedLocales) {
            if (supportedLocale.languageCode == locale.languageCode || supportedLocale.countryCode == locale.countryCode) {
              return supportedLocale;
            }
          }
        }

        return supportedLocales.first;

I got another error as shown below:
Launching lib/main.dart on iPhone 6 in debug mode...
Starting Xcode build...
Xcode build done.                                           12,8s
Finished with error: ProcessException: Process "/usr/bin/xcrun" exited abnormally:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/niyazitoros/Library/Developer/CoreSimulator/Devices/EE36CC70-F1B1-41D4-A2C6-1084BE85DA38/data/Library/Caches/com.apple.mobile.installd.staging/temp.8ijBNF/extracted/Payload/Runner.app
Failed to load Info.plist from bundle at path /Users/niyazitoros/Library/Developer/CoreSimulator/Devices/EE36CC70-F1B1-41D4-A2C6-1084BE85DA38/data/Library/Caches/com.apple.mobile.installd.staging/temp.8ijBNF/extracted/Payload/Runner.app
Underlying error (domain=MIInstallerErrorDomain, code=35):
	Failed to load Info.plist from bundle at path /Users/niyazitoros/Library/Developer/CoreSimulator/Devices/EE36CC70-F1B1-41D4-A2C6-1084BE85DA38/data/Library/Caches/com.apple.mobile.installd.staging/temp.8ijBNF/extracted/Payload/Runner.app
  Command: /usr/bin/xcrun simctl install EE36CC70-F1B1-41D4-A2C6-1084BE85DA38 /Users/niyazitoros/IdeaProjects/capital_internationalized/build/ios/iphonesimulator/Runner.app

New Flutter Documents  https://flutter.io/docs/development/accessibility-and-localization/internationalization#an-alternative-class-for-the-apps-localized-resources tells us that we should use SynchronousFuture. Also provides us a complete source code in here;  https://github.com/flutter/website/blob/master/src/_includes/code/internationalization/minimal/main.dart
I follow the reading and look at the example. I also did create an example as shown above link. Still, I am getting same error. Any idea why the documentation and example still has error?
ERROR:
Launching lib/main.dart on iPhone 6 in debug mode...
Starting Xcode build...
Xcode build done.                                           12,9s
Finished with error: ProcessException: Process "/usr/bin/xcrun" exited abnormally:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/niyazitoros/Library/Developer/CoreSimulator/Devices/EE36CC70-F1B1-41D4-A2C6-1084BE85DA38/data/Library/Caches/com.apple.mobile.installd.staging/temp.r58nhh/extracted/Payload/Runner.app
Failed to load Info.plist from bundle at path /Users/niyazitoros/Library/Developer/CoreSimulator/Devices/EE36CC70-F1B1-41D4-A2C6-1084BE85DA38/data/Library/Caches/com.apple.mobile.installd.staging/temp.r58nhh/extracted/Payload/Runner.app
Underlying error (domain=MIInstallerErrorDomain, code=35):
Failed to load Info.plist from bundle at path /Users/niyazitoros/Library/Developer/CoreSimulator/Devices/EE36CC70-F1B1-41D4-A2C6-1084BE85DA38/data/Library/Caches/com.apple.mobile.installd.staging/temp.r58nhh/extracted/Payload/Runner.app
Command: /usr/bin/xcrun simctl install EE36CC70-F1B1-41D4-A2C6-1084BE85DA38 /Users/niyazitoros/IdeaProjects/capital_internationalized/build/ios/iphonesimulator/Runner.app

Can't imagine this Failed to load Info.plist being related to if (locale.languageCode == null) {
Try flutter clean

https://flutter.io/docs/development/accessibility-and-localization/internationalization#appendix-updating-the-ios-app-bundle has an appendix section that talks about Updating the iOS app bundle. I try to follow that as well but I failed to add another language as shown below. It shows the German Language but it doesn't show Turkish or Russian language. Any idea why? Or any work around?

Follow Flutter doc as I posted above. I use invalidate Caches / Restart and try to build and I got different error and I am guessing I come very close to achieving it, if I get and help.
New Error is: The method '[]' was called on null. Receiver: null Tried calling:
Here is the my project picture and the code:

The pub spec.yaml:
name: capital_internationalized
description: A new Flutter project.
version: 1.0.0+1
environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter

  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:

  uses-material-design: true

  assets:
    - packages/capital_internationalized/resources/lang/tr.json
    - packages/capital_internationalized/resources/lang/en.json

The json data TR:
{
  "title": "Merhaba dünya"
}

The json data EN:
{
  "title": "Hello world"
}

The language_localization.dart:
import 'dart:async';
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

// TODO: CLASS - (DemoLocalizations) ##########################################
class DemoLocalizations {
  DemoLocalizations(this.locale);

  final Locale locale;

  static DemoLocalizations of(BuildContext context) {
    return Localizations.of<DemoLocalizations>(context, DemoLocalizations);
  }

  Map<String, String> _sentences;

  Future<bool> load() async {
    String data = await rootBundle.loadString(
        'packages/capital_internationalized/resources/lang/${this.locale
            .languageCode}.json');
    Map<String, dynamic> _result = json.decode(data);

    this._sentences = new Map();
    _result.forEach((String key, dynamic value) {
      this._sentences[key] = value.toString();
    });

    return true;
  }

  String trans(String key) {
    return this._sentences[key];
  }
}

The language_delegate.dart:
import 'package:flutter/material.dart';
import 'language_localization.dart';
import 'package:flutter/foundation.dart' show SynchronousFuture;

// TODO: CLASS - (DemoLocalizationsDelegate) ##################################
class DemoLocalizationsDelegate extends LocalizationsDelegate<DemoLocalizations> {
  const DemoLocalizationsDelegate();

  @override
  bool isSupported(Locale locale) => ['en', 'tr'].contains(locale.languageCode);

  @override
  Future<DemoLocalizations> load(Locale locale) {
    // Returning a SynchronousFuture here because an async "load" operation
    // isn't needed to produce an instance of DemoLocalizations.
    return SynchronousFuture<DemoLocalizations>(DemoLocalizations(locale));
  }

  @override
  bool shouldReload(DemoLocalizationsDelegate old) => false;
}

And the ERROR:
Initializing hot reload...
Syncing files to device iPhone 6...
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following NoSuchMethodError was thrown building Builder(dirty):
flutter: The method '[]' was called on null.
flutter: Receiver: null
flutter: Tried calling: []("title")
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:50:5)
flutter: #1      DemoLocalizations.trans (package:capital_internationalized/language/language_localization.dart:33:27)
flutter: #2      Demo.build.<anonymous closure> (package:capital_internationalized/main.dart:15:80)
flutter: #3      _WidgetsAppState.build.<anonymous closure> (package:flutter/src/widgets/app.dart:1165:39)
flutter: #4      Builder.build (package:flutter/src/widgets/basic.dart:5736:41)
flutter: #5      StatelessElement.build (package:flutter/src/widgets/framework.dart:3752:28)
flutter: #6      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3699:15)
flutter: #7      Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #8      StatelessElement.update (package:flutter/src/widgets/framework.dart:3759:5)
flutter: #9      Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #10     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #11     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #12     ProxyElement.update (package:flutter/src/widgets/framework.dart:3968:5)
flutter: #13     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #14     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #15     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #16     ProxyElement.update (package:flutter/src/widgets/framework.dart:3968:5)
flutter: #17     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #18     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4845:14)
flutter: #19     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #20     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #21     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #22     StatefulElement.update (package:flutter/src/widgets/framework.dart:3856:5)
flutter: #23     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #24     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #25     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #26     ProxyElement.update (package:flutter/src/widgets/framework.dart:3968:5)
flutter: #27     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #28     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #29     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #30     StatefulElement.update (package:flutter/src/widgets/framework.dart:3856:5)
flutter: #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #32     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #33     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #34     ProxyElement.update (package:flutter/src/widgets/framework.dart:3968:5)
flutter: #35     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #37     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #38     ProxyElement.update (package:flutter/src/widgets/framework.dart:3968:5)
flutter: #39     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #40     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #41     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #42     StatelessElement.update (package:flutter/src/widgets/framework.dart:3759:5)
flutter: #43     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #44     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #45     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #46     StatefulElement.update (package:flutter/src/widgets/framework.dart:3856:5)
flutter: #47     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #48     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #49     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #50     ProxyElement.update (package:flutter/src/widgets/framework.dart:3968:5)
flutter: #51     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #52     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #53     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #54     StatefulElement.update (package:flutter/src/widgets/framework.dart:3856:5)
flutter: #55     Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #56     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3710:16)
flutter: #57     Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #58     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2286:33)
flutter: #59     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:676:20)
flutter: #60     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
flutter: #61     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
flutter: #62     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
flutter: #63     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:751:7)
flutter: #65     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
flutter: #66     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
flutter: #67     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
flutter: (elided one frame from package dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 0 of 434 libraries in 3.031ms.

Above post I show the link from Flutter Doc. Using the minimal example the I get error on iOS 12 iphone 6 using the SynchronousFuture method. It seems it never initiated, thats why I am keep getting [] null on error. But I change the code and use Future await and now its working in both ios 12 iphone 6 and android.


using .net core 3.1 is working as well but no support listed in the page

[Enter feedback here]

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

ID: 599cc3e1-7358-4b1e-6b04-6dff8c14ba22
Version Independent ID: 11565e32-bc09-8503-491d-6d3181152449
Content: ICLRStrongName::StrongNameSignatureVerificationEx Method
Content Source: docs/framework/unmanaged-api/hosting/iclrstrongname-strongnamesignatureverificationex-method.md
Product: dotnet-framework
GitHub Login: @jeffschwMSFT
Microsoft Alias: jeffschw

@jeffschwMSFT should the Requirements section mention Core/5+?

@jeffschwMSFT should the Requirements section mention Core/5+?

I would not recommend adding it to the documentation without more fully understanding the scenario.  It would work, but not in a x-plat way and potentially not in all the ways it was originally intended.  If this functionality is necessary, I would recommend that we file it as a feature request for .NET Core.

I would not recommend adding it to the documentation without more fully understanding the scenario.  It would work, but not in a x-plat way and potentially not in all the ways it was originally intended.  If this functionality is necessary, I would recommend that we file it as a feature request for .NET Core.

I would recommend that we file it as a feature request for .NET Core.

Which repo should I transfer this issue to?

I would recommend that we file it as a feature request for .NET Core.

Which repo should I transfer this issue to?

I would recommend opening a new issue with the scenario of how this is used in dotnet/runtime.

I would recommend opening a new issue with the scenario of how this is used in dotnet/runtime.

@AlterX76 since I don't know the scenario, can you open an issue in dotnet/runtime?
Closing this issue.

@AlterX76 since I don't know the scenario, can you open an issue in dotnet/runtime?
Closing this issue.


[BUG] Follows list got reset

It looks like that there is some kind of concurrency bug.
I followed 100+ contacts and I was adding some new contacts. Suddenly my contacts reset to only those I added last minute and the rest is gone.

Same issue, all follows gone after upgrade to 0.15.3 😭

This usually happens when you change relays before your contact list is downloaded from relays. Since relays and contacts are in the same Nostr message, when you save one you override the other. :(
Same would happen if you follow/unfollow somebody before your relays list is downloaded. You would override your relay setup back to the default settings.
And since relays don't store past versions of the contact/relay list (they could) there is no way to go back :(

Oh shoot, ya retracing my steps I did replace all the relays because I wanted the "paid relays for global" thing and it wasn't happening on its own for some reason. I also read that Amethyst had separate relay lists for global and other things but er ... somehow I guess I replaced the "other things" list. In fact I have never seen a global channel or a separate relay list for it. Annnnnyway appreciate the work being done and excited for the future!

So, it's all in the same list. Any change to that Global/Not Global setting before download follows could cause this. :(

This usually happens when you change relays list setup before your contact list is downloaded from relays. Since relays and contacts are in the same Nostr message, when you save one you override the other. :(

I haven't edited relays for a week or something already.
Speaking of relays... I have noticed that relay view is quite chaotic. First of all, the total amount of relays may differ between the runs. For example it says m/19 in the morning, then n/15 in the day, and k/16 in the evening. Maybe I got it wrong, but my understanding is that the first number is amount of relays currently responding and the second number is the total amount of relays that amethyst uses. The second issue I've seen is that when I open relays list the amount of relays I see here does correspond to the total amount of relays it displays in the top right corner.

The app could save a local cache of the follows/relays. But then it would still override to the cache position, erasing the latest changes from other clients since the last use of the app.

Can you disable follow / unfollow until you get information from relay(s)?

I have not found a good solution for this problem yet.

What would say about an idea of introducing an application option to declare 'This app is my profile master'? Upon option activation, the app fetches and caches profile information (and notes too?) from relay(s) of choice info a local database. Once the option has been activated, all the follow/unfollow events update the local database only and then the 'master state' is lazily pushed to relays on timer or / and manually.

I think this item has been fully resolved. Clearing the list can still happen but it is super rare right now.


Make email sending more robust by relying entirely on env vars.

SendGrid should already be configured to send emails with these config changes.

Coverage remained the same at 100.0% when pulling 82f46a497d4652d9af15b98c1688ae4e6fa02b32 on make-email-sending-more-flexible into ee83127d8201a77a36f70f313a1df5675e44e9b4 on dev.

Coverage remained the same at 100.0% when pulling 82f46a497d4652d9af15b98c1688ae4e6fa02b32 on make-email-sending-more-flexible into ee83127d8201a77a36f70f313a1df5675e44e9b4 on dev.

Are you sure you dont mix up "from" and "reply to" in some lines? Those can be different (and should be atm)

Are you sure you dont mix up "from" and "reply to" in some lines? Those can be different (and should be atm)

When would these need to be different?

When would these need to be different?
E.g. when you send all emails with the same mail adress, you still might want different reply-to-adresses, like 1 per workshop/camp, so answers are more organized.
Another reason: you have a strict email provider, that doesnt allow you to send from a @hpi.de adress, when you use a @gmail.com adress.

If you say they are the same all the time, I think we can skip the reply-to completely

I don't see how this PR affects changing the reply to address. I only changed hard-coded values which aren't changeable by the end user.

Why would we ever send emails from @gmail and request to be replied @hpi? I
don't see the use case to change the reply address for all events at
once. If a later PR adds support to change the reply address on an event
basis, the code needs to be refactored anyway.
Alexander Löser<EMAIL_ADDRESS>schrieb am Do., 2. Feb. 2017,
18:32:

@aloeser commented on this pull request.
In app/controllers/emails_controller.rb
https://github.com/hpi-swt2/workshop-portal/pull/487#pullrequestreview-19843824
:

@@ -8,7 +8,7 @@ def show
application_letter_status = get_corresponding_application_letter_status
@addresses = @event.email_addresses_of_type(application_letter_status)

@email = Email.new(hide_recipients: true, reply_to<EMAIL_ADDRESS>recipients: @addresses.join(','),

@email = Email.new(hide_recipients: true, reply_to: Rails.configuration.from_address, recipients: @addresses.join(','),

I think it was already mentioned in another PR(#355
https://github.com/hpi-swt2/workshop-portal/pull/355) that this value
should be in the config, not hardcoded. However we use
<EMAIL_ADDRESS>as address to send mails atm, and the default
reply to is<EMAIL_ADDRESS>TLDR: I agree its good to read this value from the config, but this is the
wrong config value
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hpi-swt2/workshop-portal/pull/487#pullrequestreview-19843824,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACC7ROPcLUxsTxe3Stcarn98N1kmxd7hks5rYhM-gaJpZM4L1V8a
.

Coverage remained the same at 100.0% when pulling 917fe20f079dac2f2d8693d226ccabac72619391 on make-email-sending-more-flexible into ee83127d8201a77a36f70f313a1df5675e44e9b4 on dev.

Looks good but I didn't test it local. Did you set the environment variables on heroku?

Coverage remained the same at 100.0% when pulling 0534822fcd84b4191364fea3533c436c81186427 on make-email-sending-more-flexible into 7d9ab33e3d56aa2a180abe3dd5c83e1454649c30 on dev.

Looks good but I didn't test it local. Did you set the environment variables on heroku?

Yes.

@cmfcmf: As you can see on the email sending page
The reply to address can be specified by the sender in order to enter his / her email address / the email address for managing the event. This is necessary since one different events might be managed by different people.

The reply to address can be specified by the sender in order to enter his / her email address / the email address for managing the event. This is necessary since different events might be managed by different people.

Yes, I understand that. The thing is, this PR didn't change anything about that :)

Ok. So the email address entered in the "Absender" field will be used as reply-to address? Than I am fine :)

Ok. So the email address entered in the "Absender" field will be used as reply-to address? Than I am fine :)

Yes, of course!


Fixes Typography bug with invalid HTML tags in as prop

Checklist
(Check off all the items before submitting)

[x] Build process is done without errors. All tests pass in the /lib directory.
[x] Self-reviewed the code before submitting.
[x] Meets accessibility standards.
[ ] Added/updated documentation to /website as needed.
[x] Added/updated tests as needed.

Description
Modified BaseTypography component to prevent unexpected tags to be assigned to the as prop
Additional context
Some basic unit testing was also added in order to ensure that invalid tags are replaced with "span".
I still need to update the documentation for /website , but I want to make sure that only the tags from the following list are considered valid:
"a" | "blockquote" | "cite" | "code" | "div" | "em" | "figcaption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "pre" | "small" | "span" | "strong"
After getting confirmation I will do another commit and open this PR.
Closes #1621

This is closed for now as it requires some discussion regarding what subset of tags is considered valid.

Reopened.


First link / Brand name is always active

I've been searching for the solution to get rid of the active class for the first path / landing path, i.e. ' ' or '/'.. If you've any, then please do let me know. Thanks in advance

Basically you need to add [routerLinkActiveOptions]="{exact: true}" for Brand type.
I ll see if I can push a commit soon for this


Feature/sonatype publishing

For #172

In case of tagged build we invoke publishSigned
In case of usual build we invoke publish
In case of tagged build we invoke sonatypeRelease at the end

All non-SNAPSHOT versions need to be signed, not just tags. Sonatype considers 0.1.0- a regular version, so will require us signing those.

From my point of view (and it's a de-facto standard process) you should sing&publish tagged releases only.
Otherwise you will inevitably get into the situations when you have the same version defined in several different commits and failures because of "write-once" Central policy.

I don't disagree but Sonatype does.
For as long as we use hash commit versions, we need to sign them, otherwise you cannot successfully call sbt sonatypeRelease

I wouldn't use hash versions, but okay. So, what about now?

@NeQuissimus Is this good to merge now?

No, we need publishSigned and sonatypeRelease for every build.
If you don't release published builds, they are stuck in the Sonatype staging repos.

No, we need publishSigned and sonatypeRelease for every build.
Done.

Also I've published zio to my own prefix so now all the settings are confirmed to be working.
You have to update the build to provide the following variables:
export<EMAIL_ADDRESS>export SONATYPE_PASSWORD=XXXXX
export PGP_SECRING=/path/to/.secrets/gnupg/secring.gpg
export PGP_PUBRING=/path/to/.secrets/gnupg/pubring.gpg
export PGP_PASSPHRASE=XXXX

Those who are eager to use zio as is may pull this artifact: https://oss.sonatype.org/content/repositories/releases/com/github/pshirshov/izumi/r2/scalaz-zio_2.12/

The *RING variables can be static, the key can be attached to the project. Only the PASSPHRASE needs to be added to the travis.yml. And then it should be clean, yes.
I will need the pass phrase, so I can encrypt it into the Travis config.

The *RING variables can be static

They can but in that case it would be invonvenient to do local deployments like I do RN under my prefix. So, please keep them configurable.

@NeQuissimus
Hi, the default values are already static: "secring.gpg"/ "pubring.gpg"

@pshirshov Sadly this broke the build — was there something we needed to do to make this work on master? /cc @NeQuissimus


Deployment docs

Thanks very much for your work on this repo @koistya et al. As a Docker novice, I'd love to see the Deployment explanation fleshed out a bit beyond the readme. I can build and run locally (with "docker-compose up") but haven't been able to deploy. I don't know how to edit and publish.js (or how to specify  even -- is that the DO-provisioned IP address?). I'm trying to make it work deploy to DigitalOcean as you had recommended; and I've been trying other ways to deploy but have not succeeded yet. It'd be a huge help to have a little more documentation or a walkthrough example of setting up that final deployment piece.

Note that publish.js doesn't actually run in windows shell if that is one's dev box. We have to ssh with PutTTY :) Deployment to DigitalOcean through Docker Cloud builds fine, but yields, "Error: Cannot find module '/usr/src/app/build/server.js'" in log when one tries to start the service. Maybe there's an easy way to tweak deploy through Docker Cloud; or to issue docker commands from windows terminal to push the deployment (given the DigitalOcean API key and/or PuTTY SSH keys loaded into DigitalOcean)

So it's easy enough to build everything on Windows as follows:
docker-compose run --rm api /bin/sh -c "yarn install; yarn run build"
docker build --no-cache -t myapi .
docker save myapi -o ../myapi.tar
// COPY TO HOST  (WinSCP or whatever)
FROM HOST (Ubuntu with Docker installed) (through PuTTY or whatever):
docker load < ./myapi.tar
All that works fine. But then…
How do compose and load the containers on the host?