Add static content component

After seeing your comment on #290, I thought about it and don't really think that using Firebase adds anything that isn't already provided by the DB. We have a lot of space in the DB, and aren't planning to have that many static content, and it's just text which is compressed.
This requires a new table in case we want to add a new file, it's just a DB change:
CREATE TABLE vexillology_contests_staging.static_content (
  id varchar NOT NULL,
  content text NOT NULL,
  markdown bool NULL DEFAULT false,
  CONSTRAINT static_content_pk PRIMARY KEY (id)
);

We can merge this or #290 and delete the other.

For some additional context, I mainly built this component as part of the work to introduce contest rules. I didn't really want to add ~60 lines of HTML to a component, especially since the content has changed in the past and could change again in the future. The inclusion of voting instructions was more a proof of concept on how this component would be used and I don't feel as strongly about voting instructions needing to use static contest, though I do lean in that direction.

I've merged the latest code, and I think all the comments are addressed. Mind taking another look?

Looks good. Though whenever we change our prettier config, we should go through and re-save all files. It's a bit tedious scrolling through formatting changes (unless I am missing some way to tell Github to only show me non-whitespace changes)

I re-linted the workspace in #350, so hopefully most of the changes going forward should just be actual changes, though there may be some merge conflict weirdness in this PR.


Does not automatically create keyspace and columnfamily for use with sails

I am new to using cassandra with sails. I have created the application which works fine with sails-disk but when switching to sails-cassandra, I am receiving errors that keyspace, columnfamily does not exist. Do I have to manually create them using  cqlsh.

The connector should create tables automatically. However, cassandra is not relational database, so make sure you understand big table concept and when to create indexes. Also have a look at test cases in tests directory. They executed automatically on every build and they create a new database every time.

Thanks for the quick response. I will try to work on it and get back to you.

You need to create keyspace manually and columnfamilies/tables will be created by adapter. However, I always recommend creating tables manually as well, since waterline only supports subset of datatypes available in Cassandra and it is suboptimal.


electron-forge npm run make native modules pah is error

#1339 # Issue Details

Electron Forge Version:
"@electron-forge/cli": "^6.0.0-beta.39",
Electron Version:
8.1.1
Operating System:
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)

Expected Behavior
i run cmd as npm run start, it work. but it can not work, when i run cmd as npm run make.
native modules can not find.
I expected it can work when i run npm run make.
Additional Information
i run cm as npm run make, it can make a package.dmg. I install it and open it. It happen error, some messages:
Uncaught Error: Cannot open /Users/qile/git/klive-teacher/teacher-package/src/lib/pdfmanager.node: Error: dlopen(/Users/qile/git/klive-teacher/teacher-package/src/lib/pdfmanager.node, 1): image not found

native modules path is error, it is not relative path, it is absolute path in my mac. I do not know how to resolve it.
my electron-forge conifg:
module.exports = {
  "packagerConfig": {
    "packageManager": "npm",
    "icon": "./make/xx",
    "asar": false,
    "overwrite": true,
    "extraResource": ["./src/lib/jar/", "./src/lib/jre/"]
  },
  "makers": [
    {
      "name": "@electron-forge/maker-squirrel",
      "config": {
        "name": "xx"
      }
    },
    {
      "name": "@electron-forge/maker-dmg",
      "platforms": [
        "darwin"
      ],
      "config": {
        "name": "xx",
        "icon": "./make/xx.ico"
      }
    },
    {
      "name": "@electron-forge/maker-deb",
      "config": {}
    },
    {
      "name": "@electron-forge/maker-rpm",
      "config": {}
    }
  ],
  "plugins": [
    [
      "@electron-forge/plugin-webpack",
      {
        "mainConfig": "./webpack.main.config.js",
        "renderer": {
          "config": "./webpack.renderer.config.js",
          "entryPoints": [
            {
              "html": "./src/index.html",
              "js": "./src/renderer.ts",
              "name": "main_window"
            }
          ]
        }
      }
    ]
  ]
};

I look forward to your reply
thanks

Open this file:
/Contents/Resources/app/.webpack/renderer/main_window/index.js
find:
dlopen(/Users/qile/git/klive-teacher/teacher-package/src/lib/pdfmanager.node)
change to:
dlopen(require.resolve("../native_modules/build/Release/pdfmanager.node"))
if your native_modules is beside the main_window.
May be the node-loader got a problem that I am checking.

thanks your answer.
emmm, the method is a way to resolved the problem.
But this method does not fundamentally solve the problem. I can't change that file on everyone's computer. I think it may be that the webpack is not configured correctly, but I don't know how to configure it.

You can try to rm the node-loader in webpack.rule.js, just keep @marshallofsound/webpack-asset-relocator-loader.

I have the same issue as @this-spring, when creating a "child_process" inside electron-forge with webpack. The proposed node-loader removal doesnt work in my case.
It works great in development with npm run start, but after building with npm run make and installng, the child process fails to load the required modules after installed.
Any ideas?

I have the same issue as @this-spring, when creating a "child_process" inside electron-forge with webpack. The proposed node-loader removal @daijinru doesnt work in my case.
It works great in development with npm run start, but after building with npm run make and installng, the child process fails to load the required modules after installed.
Any ideas?

I resolve the problem by dynamically require.
requireDynamically by absolutely path.
like this:
const PdfAddon = requireDynamically(nodeUrl);
function requireDynamically(path)
{
    path = path.split('\\').join('/'); // Normalize windows slashes
    return eval(`require('${path}');`); // Ensure Webpack does not analyze the require statement
}

If it analyzing the path when run-time, removing the module from dependency (package.json) should reproduce the problem again.

I also have this problem.
When I remove the node-loader module as @daijinru suggests, the yarn package script outputs a bundle that works correctly (it loads from a relative path as expected), but it no longer works under yarn start.
Removing node-loader could require correctly but the main.js from yarn start cannot find the native module.
I can find my native module in native_modules in .webpack.
internal/modules/cjs/loader.js:887 Uncaught Error: Cannot find module './../native_modules/build/Release/MyNativeModule.node'
Require stack:
- electron/js2c/renderer_init
    at Module._resolveFilename (internal/modules/cjs/loader.js:887)
    at Function.o._resolveFilename (electron/js2c/renderer_init.js:33)
    at Module._load (internal/modules/cjs/loader.js:732)
    at Function.f._load (electron/js2c/asar_bundle.js:5)
    at Function.o._load (electron/js2c/renderer_init.js:33)
    at Module.require (internal/modules/cjs/loader.js:959)
    at require (internal/modules/cjs/helpers.js:88)
    at Object../node_modules/MyNativeModule/build/Release/MyNativeModule.node (MyNativeModule.node:1)
    at __webpack_require__ (bootstrap:789)
    at fn (bootstrap:100)

Printing __dirname on Console shows "{MyWorkSpace}/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/renderer"

@felldiddy @JasinYip  I got it working for a native module sharp to be loaded from a renderer process.
Example repo: https://github.com/aperkaz/electron-forge-sharp
All you have to do is modify the webpack config in: webpack.main.config.js to:
module.exports = {
  entry: "./src/main.js",
  module: {
    rules: require("./webpack.rules"),
  },
  externals: {
    sharp: "commonjs sharp",
  },
};

@felldiddy @JasinYip I got it working for a native module sharp to be loaded from a renderer process.
Example repo: https://github.com/aperkaz/electron-forge-sharp
All you have to do is modify the webpack config in: webpack.main.config.js to:
module.exports = {
  entry: "./src/main.js",
  module: {
    rules: require("./webpack.rules"),
  },
  externals: {
    sharp: "commonjs sharp",
  },
};

Are you sure you got it working in the renderer process? I've tried adding
  externals: {
    sharp: 'commonjs sharp',
  },

to both webpack.main.config.js and webpack.renderer.config.js , with and without node-loader (which doesn't seem to make any difference in any case I've tried so far) and I'm still getting:
external "util":1 Uncaught ReferenceError: require is not defined
    at Object.util (index.js:108240)
    at __webpack_require__ (index.js:790)
    at fn (index.js:101)
    at Object../node_modules/sharp/lib/constructor.js (index.js:102641)
    at __webpack_require__ (index.js:790)
    at fn (index.js:101)
    at Object../node_modules/sharp/lib/index.js (index.js:103045)
    at __webpack_require__ (index.js:790)
    at fn (index.js:101)
    at Module.<anonymous> (index.js:6165)

@ivancuric  I got it working in the render process 🙂
I faced some issues when running it on windows, so I witched to electron-builder instead. Starter WIP

Thanks. I feel like I should drop electron-forge and set up things manually. Too much magic going on under the hood.

The solution of using externals will brake packaging because the modules won't be copied to the native_modules folder :/


Infinity rebuild of widgets tree when keyboard is opened

Code for reproduce
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(),
        ),
      ),
    );
  }
}

When I open keyboard in empty app flutter starts infinite rebuild whole widget tree.

FR


Updating README.md with subreddit info and link to Code of Conduct

Lets remove the explicit line break and be a bit more explicit:
you should familiarize yourself with our Code of Conduct

Removing the linebreak has this unfortunate side effect. Up to you I can put it back or leave it as is.

nevermind


Refactor updateDiskOffering API

Description
This PR intends to refactor the updateDiskOffering API due to its size.
This method was separated into others in order to improve the readability of the disk offering update process.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[X] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?
I called the updateDiskOffering API and it is working as it did before the refactoring. I also created some unit tests to maintain the current behavior and avoid regressions in the future.

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8684

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-9262)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44031 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8446-t9262-kvm-centos7.zip
Smoke tests completed. 129 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File


How to control an agent?

I create an agent with the NewAgent command. It is created at the user's position.

How could I teleport the agent to the user's position? The standard command tp @c doesn't work (looks like @c works at Education Edition only). Is there any way to kill and create the agent again?
How could I give something to the agent? I tried replaceitem and give, but again it doesn't accept neither @c nor player.Agent. I was thinking about using the agent collect command (it works!), but I see no way to drop blocks near the agent.

This page may be useful: https://education.minecraft.net/wp-content/uploads/Code_Connection_API.pdf. It has an agent tptoplayer command and and an agent drop command.

Thanks. I've read that document.

agent tptoplayer doesn't work - it says 'tptoplayer' part is unknown (I use it with player.Exec() - is that right?).
agent drop drops the items, which is already in the agent's inventory. But I would like to add something to its inventory.

I don't think there is any way to give the agent items without actually dropping it to it, but I'm not entirely sure.

Thanks. Looks like the agent can build something without having blocks in its inventory. The following JS code works in Education Edition -
agent.setItem(RED_SAND, 1, 1)
agent.setAssist(PLACE_ON_MOVE, true)
agent.move(FORWARD, 1)

The question is how to perform the first command?


Add "framework: >= net461" etc. to paket.dependencies where possible

If forge added
framework: >= net461

to top of the generated paket.dependencies for the .NET Framework templates then all the Paket resolution steps would be way faster. After adding this we get:
C:\GitHub\misc\t1>.paket\paket.exe update
Paket version 5.4.0
Resolving packages for group Main:
 - FAKE 4.62.1
 - FSharp.Core 4.2.1
 - FSharp.NET.Sdk 1.0.5
 - FSharp.Compiler.Tools 4.1.17
Locked version resolution written to C:\GitHub\misc\t1\paket.lock
Garbage collecting Microsoft.NETCore.Platforms
Garbage collecting Microsoft.NETCore.Targets
Garbage collecting runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.native.System
Garbage collecting runtime.native.System.Net.Http
Garbage collecting runtime.native.System.Security.Cryptography.Apple
Garbage collecting runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple
Garbage collecting runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl
Garbage collecting System.Collections
Garbage collecting System.Collections.Concurrent
Garbage collecting System.Console
Garbage collecting System.Diagnostics.Debug
Garbage collecting System.Diagnostics.DiagnosticSource
Garbage collecting System.Diagnostics.Tools
Garbage collecting System.Diagnostics.Tracing
Garbage collecting System.Globalization
Garbage collecting System.Globalization.Calendars
Garbage collecting System.Globalization.Extensions
Garbage collecting System.IO
Garbage collecting System.IO.FileSystem
Garbage collecting System.IO.FileSystem.Primitives
Garbage collecting System.Linq
Garbage collecting System.Linq.Expressions
Garbage collecting System.Linq.Queryable
Garbage collecting System.Net.Http
Garbage collecting System.Net.Primitives
Garbage collecting System.Net.Requests
Garbage collecting System.Net.WebHeaderCollection
Garbage collecting System.ObjectModel
Garbage collecting System.Reflection
Garbage collecting System.Reflection.Emit
Garbage collecting System.Reflection.Emit.ILGeneration
Garbage collecting System.Reflection.Emit.Lightweight
Garbage collecting System.Reflection.Extensions
Garbage collecting System.Reflection.Primitives
Garbage collecting System.Reflection.TypeExtensions
Garbage collecting System.Resources.ResourceManager
Garbage collecting System.Runtime
Garbage collecting System.Runtime.Extensions
Garbage collecting System.Runtime.Handles
Garbage collecting System.Runtime.InteropServices
Garbage collecting System.Runtime.Numerics
Garbage collecting System.Security.Cryptography.Algorithms
Garbage collecting System.Security.Cryptography.Cng
Garbage collecting System.Security.Cryptography.Csp
Garbage collecting System.Security.Cryptography.Encoding
Garbage collecting System.Security.Cryptography.OpenSsl
Garbage collecting System.Security.Cryptography.Primitives
Garbage collecting System.Security.Cryptography.X509Certificates
Garbage collecting System.Text.Encoding
Garbage collecting System.Text.RegularExpressions
Garbage collecting System.Threading
Garbage collecting System.Threading.Tasks
Garbage collecting System.Threading.Tasks.Parallel
Garbage collecting System.Threading.Thread
Garbage collecting System.Threading.ThreadPool
Garbage collecting System.Threading.Timer
Performance:
 - Resolver: 2 seconds (1 runs)
    - Runtime: 180 milliseconds
    - Blocked (retrieving package details): 110 milliseconds (4 times)
    - Blocked (retrieving package versions): 2 seconds (2 times)
    - Not Blocked (retrieving package versions): 2 times
 - Disk IO: 53 milliseconds
 - Average Request Time: 1 second
 - Number of Requests: 12
 - Runtime: 6 seconds

then paket update gives just:
C:\GitHub\misc\t1>.paket\paket.exe update
Paket version 5.4.0
Resolving packages for group Main:
 - FAKE 4.62.1
 - FSharp.Core 4.2.1
 - FSharp.NET.Sdk 1.0.5
 - FSharp.Compiler.Tools 4.1.17
C:\GitHub\misc\t1\paket.lock is already up-to-date
Performance:
 - Resolver: 1 second (1 runs)
    - Runtime: 195 milliseconds
    - Blocked (retrieving package details): 112 milliseconds (4 times)
    - Blocked (retrieving package versions): 1 second (3 times)
    - Not Blocked (retrieving package versions): 1 times
 - Disk IO: 49 milliseconds
 - Average Request Time: 639 milliseconds
 - Number of Requests: 11
 - Runtime: 3 seconds

Sounds good. I'll add framework restriction in case where Forge generates paket.dependency file, not in case where Forge is used on existing solution with Paket.

Added in https://github.com/fsharp-editing/Forge/pull/71/commits/b090cc84ed75650a9c5a55a9927b69566f94ff24, will be available in next 2.0 preview.


Cards are not showing when creating a deck

This error appeared after last update

+1

same, was losing my mind trying to fix it haha

Duplicate of #485


feat: add timestamping options

Signed-off-by: Mikhail Swift<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 4 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 47.674%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

dsse/sign.go
2
4
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
994

Relevant Lines:
2085

💛  - Coveralls


Errors during searching VQA.

The error is as the following:
 ========== Answer token vocab size (occur more than 8 times): 3129
 ========== Answer token vocab size (occur more than 8 times): 3129
 ========== Answer token vocab size (occur more than 8 times): 3129
 ========== Answer token vocab size (occur more than 8 times): 3129
Traceback (most recent call last):
  File "search_vqa.py", line 615, in <module>
    join=True
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 171, in spawn
    while not spawn_context.join():
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 118, in join
    raise Exception(msg)
Exception:

-- Process 3 terminated with the following error:
Traceback (most recent call last):
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
    fn(i, *args)
  File "/home/zhouxx/gprojects/mmnas/search_vqa.py", line 607, in mp_entrance
    exec.run()
  File "/home/zhouxx/gprojects/mmnas/search_vqa.py", line 585, in run
    self.search(train_loader, eval_loader)
  File "/home/zhouxx/gprojects/mmnas/search_vqa.py", line 268, in search
    for step, step_load in enumerate(train_loader):
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 819, in __next__
    return self._process_data(data)
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data
    data.reraise()
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/_utils.py", line 369, in reraise
    raise self.exc_type(msg)
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
    data = fetcher.fetch(index)
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/zhouxx/anaconda3/envs/py36-t12-cu100/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home/zhouxx/gprojects/mmnas/mmnas/loader/load_data_vqa.py", line 224, in __getitem__
    frcn_feat = np.load(self.iid_to_frcn_feat_path[iid])
KeyError: '463620'

Solved.


Code release of VideoFlow

Will the source code of VideoFlow[1], which is a wonderful work,  be released?
[1] VideoFlow: Exploiting Temporal Cues for Multi-frame Optical Flow Estimation"

Hi, thanks for your interest in our work. Please see https://github.com/XiaoyuShi97/VideoFlow


Feature request: support ES7 decorators

I'm trying to run JSDoc on a file that uses a decorator (everything is run through webpack+babel. only jsdoc runs on the raw files and generally handles es6 features in a surprisingly forward manner). the decorator, however, causes the following error message:
ERROR: Unable to parse /Users/jack/mycomponent/source/my-component.js: Line 36: Unexpected token ILLEGAL

The file looks like this:
export class MyComponent extends UIComponent {
  /**
   * Creates a new MyComponent
   * @extends UIComponent
   */
  constructor () {
    super()
    // extend component...
  }

  /**
   * Puts this component on the page with a custom render method.
   */
  @deprecate('this method is no longer valid')
  render () {
    // do stuff
  }
}

After a bit of research I'm certain that JSDoc doesn't support decorators and whatever the problem is comes from the underlying JS engine or parser. Language transpiling and ASTs are a bit out of my scope of expertise so I'm hoping somebody can help me either write a plugin for this or somebody can tell me a really quick way to hack support for decorators into JSDoc until it becomes a core feature.

Is there any update on this? I am trying to incorporate JSDoc into an Aurelia application where we use decorators often.

AFAIK, decorator won't be supported shortly by espree, since it is at stage-1.  https://github.com/eslint/espree/issues/211

+1 ; It would be nice that, at least, that the decorator literal does not triggers an error.
Perhaps through a plugin that explicitly supports babel decorators legacy plugin?

any news on this...?  T_T

JSDoc now uses Babylon as its parser, which means it's possible to add support for decorators. However, it will still take a fair amount of work to implement this feature, so it's not going to happen overnight.
Please don't add +1 comments or ask for updates—I know lots of people want this feature, and I'll get to it as soon as I can.

For now, you can use the jsdoc-babel plugin to preprocess JS files that use decorators. If you have issues with that plugin, please post them to the jsdoc-babel repo.

Yep @hegemonic, I'm already using what you just said as a workaround.
Thanks for your work!

Decorators can now be parsed on GitHub master, without the need for a plugin. This change will be included in JSDoc 3.5.0.
However, JSDoc does not currently add any info about decorators to the generated documentation. (That's the part that will take some work, and that may not make it into JSDoc 3.5.0.)

for me it still fails parsing when a get method has the decorator:
Unable to parse ... Stage 2 decorators may only be used with a class or a class method
can the member.kind check be extended to "get" in addition to "method"?

@mbehzad That error message is coming from Babylon, our JavaScript parser. Please file an issue in the Babylon repo.

@hegemonic, thanx for your hint. i opened an issue #756 and a PR #766 in Babylon repo (it is now merged).

@mbehzad for you and for posterity. The latest development version of JSDoc seems to have fixed the issue.
npm install git+https://github.com/jsdoc3/jsdoc.git --save-dev


Update fathom domain name

I think this should get merged into next? Feels like it wouldn't be a big deal to go to master but it's weird to have different installs on different hashes.

As things are set up now, I think it's inevitable that different installs will have different hashes. Any change to the news or to docs like the readme will result in a different hash. So I don't think it'd cause issues to merge this PR into master. (I have a small change to the readme coming up that I similarly plan to merge to master.) I'd also love to continue brainstorming how to improve this setup in general, which I don't think is ideal, but as things are now, I think it's OK to merge to master.


Support for Sail CI

We are a new CI  🎉 and would love to be a part of the ever growing list of CI tools available as part of your project.
What was implemented:

Add mapping for Sail CI environment variables
Add tests for mapping of Sail CI environment variables
Add Sail CI to README
Ensured that all ordering was in alphabetical order
Followed commit message style based on commit history

Let me know if I have missed anything and I will update the pull request as per your guidance. Is a cool project idea 👍

Thanks for the PR!
Do you intend to add to Sail CI environment variables to determine the build ID, the build URL, the PR number (if the build was triggered by a PR)?
This project was created mainly for semantic-release, and one the variable we use there is isPr as semantic-release skips PRs.
It's also quite convenient to have a Build ID and a URL so one can provide more useful logs to users.

Hey @pvdlg - managed to get round to re-visit this and have updated the PR with latest changes we have made after discussing a few things incorporating your helpful insights and feedback with the team.

Do you intend to add to Sail CI environment variables to determine the build ID, the build URL, the PR number (if the build was triggered by a PR)?

We have added the pull request number which sets set the true / false to determine when a build is a PR.
We don't currently have a requirement for a build id or build url as we stream our logs directly into GitHub via GitHub checks  (example https://github.com/sheepsteak/react-shallow-testutils/pull/35/checks). We will no doubt have a UI in the future to replicate functionality for other source control providers that do not support a feature such as GitHub checks.  It is not in the near future but will obviously raise a new PR when and if it happens.
Do let me know if I have missed anything incorporating changes required for this PR to be merged.
🎉 🍾

Thanks so much for updating the PR!
Can you just add a test when the SAIL_PULL_REQUEST_NUMBER  is set? Similarly to https://github.com/pvdlg/env-ci/blob/6f9321d7c8d13c118443ba5334fa23098f805211/test/travis.test.js#L32.
And one more question, when a Sail build is triggered by a PR, is SAIL_COMMIT_BRANCH contains the branch from which the PR originated (e.g. feature/something) or the target branch (e.g. master)?
I'm trying (in a future version of env-ci) to harmonize the behavior of the branch property. It seems CI services behave differently in that regard, some set their branch environment variable to the branch from which the PR originated, some to the target branch and some have a dedicated environment variables in case of a PR build to avoid confusion.

Updated to replicate the testing pattern for Push and PR.
As for the  SAIL_COMMIT_BRANCH we looked at CircleCI and replicated their functionality and pass through in the format pull/35.

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Thanks a lot !

As for the SAIL_COMMIT_BRANCH we looked at CircleCI and replicated their functionality and pass through in the format pull/35.

Is there is way, in builds triggered by a PR, to know the branch from which the PR originated or the target branch? It's quite useful to know at least the target branch, in order to run things only for PR targeting a specific branch.
Travis, for example, in a PR triggered build, sets TRAVIS_BRANCH to the target branch and TRAVIS_PULL_REQUEST_BRANCH to the branch from which the PR originated.
For info, it seems most CIs allow to determine the PR target branch. The exceptions so far in my tests are Buddy (See https://forum.buddy.works/t/determine-pull-request-branch-with-environment-variable/911) and CircleCI (See https://discuss.circleci.com/t/create-a-circle-target-branch-envar/10022).


Bug: when I add a task, it is not displayed

I want to display the sentence or work of the task.

I'll do it!


Inserting aware Datetime returns an error.

I'm trying to insert some DateTime data to CrateDB, but I'm getting an error.
The datetime I'm trying to insert looks so:

The column is a Timestamp with time zone column.
But I get this error:
  File "/Users/chuckaguilar/PycharmProjects/postgres-cratedb-migration-tool/venv/lib/python3.7/site-packages/crate/client/http.py", line 82, in default
    delta = o - self.epoch
TypeError: can't subtract offset-naive and offset-aware datetimes

But the CrateJsonEncoder (self.epoch) is naive:

tzinfo is None
So... it won't work. Either I make my datetime naive, or the self.epoch gotta be aware.

Hi there,
apologies for the late reply. insert_basic.py#L43-L44 demonstrates that this problem has been resolved by one of the recent releases. The driver now accepts inserting both timezone-aware and naive Python datetime objects.
With kind regards,
Andreas.


Getting Exceptions in log4j json template layout when using pointMatcherStrings in stacktrace

Description
Currently, my application produces logs in text format and I need to convert them to json format. The issue with the raw format was that we were getting long exception trails. So our objective was

Make sure logs are converted to json
We must have stacktrace in the error logs, but the stack trace should be of our application only, java internal stacktrace should not come in logs
Any other stacktraces or exceptions should not come in logs. i.e., we must only have json logs separated by \n

Configuration of errorStackTrace in log4j2-template.json
{     "$resolver": "exception",     "field": "stackTrace",     "stackTrace": {       "stringified": {         "truncation": {           "suffix" : "... [truncated]",           "pointMatcherStrings": ["java.base"]         }       }     }   }
After using this configuration, I am getting error stacktrace from log4j in my application logs -
2024-09-02 01:23:47,390 http-nio-8080-exec-2 ERROR An exception occurred processing Appender LogToRollingFile java.lang.ArrayIndexOutOfBoundsException: Index 1500 out of bounds for length 1500
Configuration
Version: [2.19.1]
Operating system: [mac OS 14]
JDK: [JDK 17]
Logs
2024-09-02 00:23:47,390 http-nio-8080-exec-2 ERROR An exception occurred processing Appender LogToRollingFile java.lang.ArrayIndexOutOfBoundsException: Index 1500 out of bounds for length 1500
	at org.apache.logging.log4j.layout.template.json.util.TruncatingBufferedWriter.charAt(TruncatingBufferedWriter.java:214)
	at org.apache.logging.log4j.layout.template.json.util.TruncatingBufferedPrintWriter.charAt(TruncatingBufferedPrintWriter.java:69)
	at org.apache.logging.log4j.layout.template.json.resolver.StackTraceStringResolver.findLineStartIndex(StackTraceStringResolver.java:283)
	at org.apache.logging.log4j.layout.template.json.resolver.StackTraceStringResolver.findLabeledLineStartIndex(StackTraceStringResolver.java:226)
	at org.apache.logging.log4j.layout.template.json.resolver.StackTraceStringResolver.truncate(StackTraceStringResolver.java:133)
	at org.apache.logging.log4j.layout.template.json.resolver.StackTraceStringResolver.truncate(StackTraceStringResolver.java:113)
	at org.apache.logging.log4j.layout.template.json.resolver.StackTraceStringResolver.resolve(StackTraceStringResolver.java:91)
	at org.apache.logging.log4j.layout.template.json.resolver.ExceptionResolver.lambda$createStackTraceStringResolver$3(ExceptionResolver.java:307)

Reproduction
We can reproduce it by causing any null pointer exception in a spring boot application.
I don't want anything else in my application logs apart from json bodies. But if I want to use the pointMatcherStrings feature, then I am getting log4j exception stacktrace

@Anshul0507, thanks for the report, much appreciated. I am not able to reproduce the issue using the latest version of Log4j, i.e., 2.23.1. Would you mind updating your Log4j dependencies to 2.23.1 and checking if it is still an issue, please?
Reproduction
Downloaded a stock Spring Boot 3.3.3 (which implicitly employs Log4j 2.23.1) application using start.spring.io. I configured the dependencies in pom.xml as follows:
<dependencies>

  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter</artifactId>
    <exclusions>
      <exclusion>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-logging</artifactId>
      </exclusion>
    </exclusions>
  </dependency>

  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-log4j2</artifactId>
    <scope>runtime</scope>
  </dependency>

  <dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-layout-template-json</artifactId>
    <scope>runtime</scope>
  </dependency>

</dependencies>

Added a test bean:
import org.springframework.stereotype.Component;

import java.net.InetAddress;
import java.net.Socket;

@Component
public class TestBean {

    public TestBean() throws Exception {
        // Trigger an NPE
        new Socket((InetAddress) null, -1);
    }

}

Added following src/main/resources/log4j2.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration xmlns="https://logging.apache.org/xml/ns"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-config-2.xsd">

  <Appenders>
    <Console name="CONSOLE">
      <JsonTemplateLayout eventTemplateUri="classpath:log4j2-layout.json"/>
    </Console>
  </Appenders>

  <Loggers>
    <Root level="INFO">
      <AppenderRef ref="CONSOLE"/>
    </Root>
  </Loggers>

</Configuration>

Added following src/main/resources/log4j2-layout.json:
{
  "$resolver": "exception",
  "field": "stackTrace",
  "stackTrace": {
    "stringified": {
      "truncation": {
        "suffix": "... [truncated]",
        "pointMatcherStrings": [
          "java.base"
        ]
      }
    }
  }
}

Running Application produces the expected console output without a Log4j failure.

Hey @vy . Thanks for the prompt reply. Its quite weird that I cannot reproduce the issue again. I am still using the same version, did no changes in codebase, still I am not seeing the issue 😃 . I am planning to make the changes live next week on prod with the same configuration.
Thanks again!

Closing the issue as of now. If we re-encounter the issue on prod, then I will make the configurational changes suggested by you and redeploy. If the issue still persists, then will re-open it


Consider not using alert in includeJS

<EMAIL_ADDRESS>commented:

It's a possible leak of our abstraction.
Maybe we can use other method to notify the script loading is completed.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #203.
:star2:   3 people had starred this issue at the time of migration.

That sure is a convoluted way of injecting a script into a page and then learning that it's loaded, boy howdy.  And I'm pretty sure a page can detect it.

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be closed. In the future, if we see the need to attend to this issue again, then it will be reopened.
Thank you for your contribution!


When there's only one of something in a storage inventory like a backpack do not display a number in the UI

Description

Thought I had with the recent StorageComponent changes.
Additionally it'd be nice if there was some padding on the storage UI count like this.

the number is the weight, why would it not show up just because there's one thing

If you mean the yellow part, that's the size of the item, not the count of how many items there are. If you mean the red part, I don't really think it's worth it to code a hiding thing for when there's only one item.
For padding, where do you want more padding?

Sorry, I meant the weight of the item on the right side of each item entry.

It's kinda hard to hide just the number on the side of the button. It can be done, but why though?

In my opinion displaying the weight like this is very ugly anyways. It makes it look like you have that amount of that item in the bag.

doesnt seem be to desirable behavior


feat: not null constraint

Is your feature request related to a problem? Please describe.
create table (
   v1 int not null
);

This feature can help users detect data problems at an early stage. Encountered in a POC case.
if this feature is also mentioned in some other docs, please help link them.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Linking to previous issues: https://github.com/risingwavelabs/risingwave/issues/4513#issuecomment-1208853382 #5896

seems a recurring topic 😅

The question here is that we can only ignore the NULL records but we can not do anything. Even we do not have a way to notify users now.

#19373


Updated main.ino

Hi Jonathan Safer, I have deleted the constant #define SEALEVELPRESSURE_HPA (1013.25). Please let me know if I can do anything else to help out. Thanks.

delete #define SEALEVELPRESSURE_HPA (1013.25)
Description of Problem

There was issue that stated that delete SEALEVELPRESSURE_HPA needs to be deleted.
Solution

Since the constant was only defined and never used in the program and issue was created to delete the constant, I went ahead and deleted the constant.
Testing

compiled code with no errors or warnings

Hello 👋 @JonathanSafer, I needed to contribute to any open source project for my class, so I went ahead and delete the constant that you guys were not using in code. Please let me know if I can do anything else. Thanks 😊

Hi @pyagnik1, we're currently limiting contributions to HLA members only. I'll try to make that more clear in the README in the future.


working on the pods implementation

Purpose
To get data for the pods dynamically

Ok I did the pods tab, @shu8 please check?

on it


readme for Smart Rockets Coding Challenge

Hi Fellas!
I wanted to share my own version of Dans glorious Smartrockets, so here's the Readme with the link to my repo.

Contributions inside the readme of a challenge will become deprecated very soon (see issue #400). There is a new system for adding contributions, you can find how to add one using this wiki guide: https://github.com/CodingTrain/Rainbow-Code/wiki/Community-Contributions-Guide
Thanks!

Ok, merged this one for now. Feel free to PR using the new format too, if you want your contribution to show on the website now. Otherwise, hopefully these will all be merged in soon.


Rebasing feature/master-task-throttling branch with main

Description
Pulling latest changes from main branch to feature branch. We need it to pull the latest bug fix for build in feature branch.
Feature branch : https://github.com/opensearch-project/OpenSearch/tree/feature/master-task-throttling.
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3843 (6c543fa) into feature/master-task-throttling (23004bd) will decrease coverage by 0.58%.
The diff coverage is 100.00%.

@@                         Coverage Diff                          @@
##             feature/master-task-throttling    #3843      +/-   ##
====================================================================
- Coverage                             71.10%   70.51%   -0.59%
+ Complexity                            57060    56642     -418
====================================================================
  Files                                  4557     4557
  Lines                                272681   272682       +1
  Branches                              40038    40038
====================================================================
- Hits                                 193884   192281    -1603
- Misses                                62773    64174    +1401
- Partials                              16024    16227     +203

Impacted Files
Coverage Δ

server/src/main/java/org/opensearch/Version.java
79.06% <100.00%> (-0.37%)
:arrow_down:

...n/indices/forcemerge/ForceMergeRequestBuilder.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...adonly/AddIndexBlockClusterStateUpdateRequest.java
0.00% <0.00%> (-75.00%)
:arrow_down:

...readonly/TransportVerifyShardIndexBlockAction.java
9.75% <0.00%> (-58.54%)
:arrow_down:

...search/aggregations/pipeline/HoltWintersModel.java
21.47% <0.00%> (-43.63%)
:arrow_down:

...rch/client/transport/NoNodeAvailableException.java
28.57% <0.00%> (-42.86%)
:arrow_down:

.../admin/cluster/reroute/ClusterRerouteResponse.java
60.00% <0.00%> (-40.00%)
:arrow_down:

...h/action/ingest/SimulateDocumentVerboseResult.java
60.71% <0.00%> (-39.29%)
:arrow_down:

...indices/readonly/TransportAddIndexBlockAction.java
20.68% <0.00%> (-37.94%)
:arrow_down:

...luster/routing/allocation/RoutingExplanations.java
62.06% <0.00%> (-37.94%)
:arrow_down:

... and 478 more

Continue to review full report at Codecov.

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

Should we just rebase this branch and push the change instead of a merge PR? I think I could do that.

Done


Use Perflib for logical_disk exporter

PR modifies the logical_disk exporter to use Perflib in place of WMI. The PR also fixes value format for several latency metrics (ticks -> seconds).
However, perflib is reporting % Free Space as the number of free megabytes (identical to Free Megabytes), breaking the TotalSpace metric.
I've opened an issue in the perflib_exporter repository regarding this: leoluk/perflib_exporter/issues/23

LGTM, thanks!


flap

flap
tui version of flappy bird
this is some of the most readable code i have ever written so it shouldnt take long to review

(original repo with build instructions etc)
https://github.com/cgsdev0/flap


WIP: S.BUS parsing fix

So far only better reporting. Will get a fixed decoder.

@pkocmoud Please upload your logic traces and reference them here. I will track the progress of that effort here.

More failure: http://logs.uaventure.com/view/AVsebbotTJZdZrHBkyfQDJ#RC_Raw_PLOT

@kd0aij This looks like your RC glitches.

yes, Taranis Plus mode D16 and Frsky X6R

X4RSB sbus logic traces; transmitter on and off
https://copy.com/hziryGRNf0iuUFRt

Thanks Mark!

new 5 second capture at https://copy.com/V4CuxE6CtQDVlcRX (frsky_sbus_txoff.scana)
Definitely covers multiple glitches of the QGC Radio Cal display, but no problems apparent using the UART decoder.
 I was running a recent master build for this capture


Client: Lint command

The helm lint NAME command runs a series of checks on NAME, which may be either a packaged chart (foo-1.1.1.tgz) or a chart directory (/my/chart).
Potential linting operations:

Check Chart.yaml syntax and contents
Check that templates contains files in a known format
Check that there is a README file

Where do the tests run (client or server)?


TEAMNADO-4211 only show page unavailable once

Resolves TEAMNADO-4211 by only rendering the error page once

Codecov Report
Base: 95.27% // Head: 95.28% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (10d1a4f) compared to base (f395c7e).
Patch coverage: 100.00% of modified lines in pull request are covered.

:exclamation: Current head 10d1a4f differs from pull request most recent head 48bddcb. Consider uploading reports for the commit 48bddcb to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   95.27%   95.28%   +0.01%
==========================================
  Files          32       32
  Lines         402      403       +1
  Branches       96       97       +1
==========================================
+ Hits          383      384       +1
  Misses         16       16
  Partials        3        3

Impacted Files
Coverage Δ

...riptionInventoryPage/SubscriptionInventoryPage.tsx
100.00% <100.00%> (ø)

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

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


Edit Message returned can be more specific

"This email already exist."

"This phone already exit."

Seems to be fixed now can anyone check?
@jowhee3011 @Droas590 @yikjunxian @SherniceSng

Works on my side as well!


Moved react dependencies to peer dependencies. Fixes #43.

Moved dependencies, will publish as a beta to test properly

Published as a beta -<EMAIL_ADDRESS>

Published as a beta -<EMAIL_ADDRESS>


Binary dump of traffic with 50 HP

@dulitz Hello,
My HP failed and it looks like there is no replacement available for it. I am left with a choice of non ICS HPs. I would like to build a board to emulate the ICS HP traffic and control the new HP. I have built some HW to sniff the traffic and use your code to sniff the traffic but since my HP is offline, I don't get to sniff the traffic to it. If I could get my hands on a binary dump that contains the basic commands of the HP (identification, on, off, stage1, stage2) I feel I can build the board I want.
Thank you very much.
P.S I like your code, it is simple and comprehensive.
Patrick

Sorry for the delay Patrick, and thank you for your compliment. Are you still interested in this?
It's a bit more complicated than one would hope, because the thermostat issues various probes to find the heat pump and many of those we don't know what we do.
What I think we can do is figure out how to emulate the NIM, which is the Carrier box that interfaces ABCD to a unit that is controlled by a traditional analog thermostat. (Or you could buy a NIM, but emulation is probably better.) If you're still interested in this I can give you a dump.
Again apologies for not being around for this.

Hello!
Thank you for your thoughtful response. I was able to purchase one of the last compressor available and a nice independent contractor was willing to install it on my heat pump. The heat pump is now functional and I have dumps of the traffic to and from it. As you said there are tons of opaque data.
I do have a NIM that serves as the interface to my fresh air system and I wondered if it could serve the both fresh air system and a dumb heat pump. The installation manual does not say anything about dual use, but the connections are separate so it's only limited by the firmware of the NIM.
Exploring the NIM or a clone of it was my backup plan.
Long story short, I don't need anything anymore. I have a ESP32 logger that buffers (SD card) the binary logs until I pull them out to my desktop. I have modified version of finitude (which I found well thought out and easy to work with) which reads the logs and dumps the decoded info into a SLQ database.
Thanks again for contacting me.
Patrick

From: Daniel @.>
Sent: Tuesday, July 19, 2022 6:31 PM
To: dulitz/finitude @.>
Cc: phdussud @.>; Author @.>
Subject: Re: [dulitz/finitude] Binary dump of traffic with 50 HP (Issue #4)
Sorry for the delay Patrick, and thank you for your compliment. Are you still interested in this?
It's a bit more complicated than one would hope, because the thermostat issues various probes to find the heat pump and many of those we don't know what we do.
What I think we can do is figure out how to emulate the NIM, which is the Carrier box that interfaces ABCD to a unit that is controlled by a traditional analog thermostat. (Or you could buy a NIM, but emulation is probably better.) If you're still interested in this I can give you a dump.
Again apologies for not being around for this.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdulitz%2Ffinitude%2Fissues%2F4%23issuecomment-1189706445&data=05|01||c72c53d832354441472408da69ef98d6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637938775021980979|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=CortLmpl5QvBEy%2BtrZuPigbg%2BAr6ifUbSWNqFgFt1c0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABVQKX25U3XME7YWQ5AFFFDVU5JHZANCNFSM5LP2XFMA&data=05|01||c72c53d832354441472408da69ef98d6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637938775021980979|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=3vfvcIv2ErA3x0r4Beuw2ed18kx3uHb3AHdyVD5ot5Y%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

Glad you got your problem solved! My NIM is connected to an HRV (4-wire cable entering the top left of the NIM) and a non-communicating air conditioner (cable entering the bottom left of the NIM) so it can do both.
Would you send a PR for your database dump code? Maybe someone else would find it useful.

That's a good idea. I will prepare a PR as soon as I have a free block of time.
Patrick

From: Daniel @.>
Sent: Tuesday, July 19, 2022 7:52:43 PM
To: dulitz/finitude @.>
Cc: phdussud @.>; Author @.>
Subject: Re: [dulitz/finitude] Binary dump of traffic with 50 HP (Issue #4)
Glad you got your problem solved! My NIM is connected to an HRV (4-wire cable entering the top left of the NIM) and a non-communicating air conditioner (cable entering the bottom left of the NIM) so it can do both.
Would you send a PR for your database dump code? Maybe someone else would find it useful.
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdulitz%2Ffinitude%2Fissues%2F4%23issuecomment-1189748375&data=05|01||dc4a27bac1b0414517b408da69faebda|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637938823663069245|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=k2WBwqq9tYH%2Bvi61uSaJ%2BGCFv3x4bI0XwJKq4s5iy%2Bs%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABVQKX7NLI5U3XBPQXYSL33VU5SXXANCNFSM5LP2XFMA&data=05|01||dc4a27bac1b0414517b408da69faebda|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637938823663069245|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=G4cSHt4bfpGAGoeM%2BBPGeFYN6dMWasfL2fNVDp8Tnl8%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>


Mixin keyframe fix

This fixes the mixin @keyframes issue and allowing grunt to
successfully build this when integrated with a grunt file.

Interesting, it was working for us. But thanks for this fix!


My container is not forwarding logs

So this how am running the containter
sematext-agent-docker:
image: 'sematext/sematext-agent-docker:latest'
deployment_strategy: every_node
environment:
- LOGSENE_TOKEN=XXXXX
- SPM_TOKEN=xxxxxx
privileged: true
restart: always
tags:
- production
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
So if I check at the logs am getting this:
Tutum Node Hostname: ccf49792-tumacredo
2015-12-17T08:35:24.820472622Z No pattern file for log parsing found /etc/logagent/patterns.yml -> using default patterns
2015-12-17T08:35:24.822308761Z Use -v /mypattern/patterns.yml:/etc/logagent/patterns.yml for custom log parser definitions.
2015-12-17T08:35:24.933736811Z Listening for "journalctl -o json | ncat localhost PORT" on exposed port 9000
2015-12-17T08:35:24.955305427Z Thu, 17 Dec 2015 08:35:24 GMT uncaughtException: connect ENOENT /var/run/docker.sock
2015-12-17T08:35:24.955449467Z Error: connect ENOENT /var/run/docker.sock
2015-12-17T08:35:24.955462697Z     at Object.exports._errnoException (util.js:874:11)
2015-12-17T08:35:24.955467953Z     at exports._exceptionWithHostPort (util.js:897:20)
2015-12-17T08:35:24.955472717Z     at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)
2015-12-17T08:35:24.955857719Z Thu, 17 Dec 2015 08:35:24 GMT uncaughtException: connect ENOENT /var/run/docker.sock
2015-12-17T08:35:24.955988595Z Error: connect ENOENT /var/run/docker.sock
2015-12-17T08:35:24.955999644Z     at Object.exports._errnoException (util.js:874:11)
2015-12-17T08:35:24.956004458Z     at exports._exceptionWithHostPort (util.js:897:20)
2015-12-17T08:35:24.956008948Z     at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)

Hi,
the Agent has no access to the docker unix socket
volumes: '/var/run/docker.sock:/var/run/docker.sock'.

Potential reasons:

different location of the Docker Unix Socket? SSH to the node and check with 'ls -la /var/run/docker.sock'
Configured TLS socket instead? -> the we have to configure TLS access

Please let me know:

Using Tutum Cloud?
Provider, which runs your node (DigitalOcean, Amazon AWS, ...)
Operating system of the Docker Host
Configuration of the docker daemon

Am using tutum cloud.
Provider: CenturyLink
Operating system: Ubuntu 14
I have checked permessions and am getting this:
~# ls -la /var/run/docker.sock
srw-rw---- 1 root docker 0 Dec 16 10:26 /var/run/docker.sock

With help from @megastef  I have  figured out the issue is on tutum side, they don't specify the volume of  the container thats why the container was failing. I have reported the issue to tutum but for now you can work around that by removing the tags and it will work

Thanks - going to close the issue.
I hope Tutum gets the issue solved - maybe it helps to put the "tags" parameter bind the "volumes" parameter in the Stackfile? Pls. let us know the result from Tutum Support.

will let you know


CLI POS UI extensions default version update

WHY are these changes introduced?
New POS UI extensions version was released.
WHAT is this pull request doing?
Update the base version.
How to test your changes?
Scaffold an extension.
Post-release steps

Measuring impact
How do we know this change was effective? Please choose one:

[ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've considered possible documentation changes
[ ] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

/shipit


Building Static Binaries for multi platform deployment.

Static Binaries for Linux can be made using the following Dockerfile (or running the commands in Dockerfile manually).
# DOCKER_BUILDKIT=1 docker build -f static.Dockerfile -o build/ .
FROM golang:alpine AS base
RUN apk update && apk add linux-headers gcc make perl musl-dev expat-dev

#Install Openssl
FROM base as setup-openssl
WORKDIR /tmp

RUN wget https://www.openssl.org/source/openssl-1.1.1j.tar.gz && tar -xzf openssl-1.1.1j.tar.gz
WORKDIR /tmp/openssl-1.1.1j
RUN ./Configure linux-x86_64 --prefix=/opt/install
RUN make && make install

#Install Unbound
FROM setup-openssl as setup-unbound
COPY --from=setup-openssl /opt/install/ /usr/local
WORKDIR /tmp
RUN wget https://www.nlnetlabs.nl/downloads/unbound/unbound-1.13.1.tar.gz && tar -xzf unbound-1.13.1.tar.gz
WORKDIR /tmp/unbound-1.13.1
RUN ./configure --prefix=/opt/install
RUN make && make install

FROM base as builder
#Install Dependencies
COPY --from=setup-unbound /opt/install/ /usr/local
#Optionally export this layer and cache this permanently somewhere.

#Copy stuff overgo mod download
WORKDIR /tmp/dane
COPY go.mod /tmp/dane/go.mod
RUN go mod download
#Will allow caching dependencies in layers.

COPY . /tmp/dane/
WORKDIR /tmp/dane/cmd/letsdane
#Build Static
RUN go build -tags unbound --ldflags '-extldflags "-lunbound -lssl -lcrypto -static"'

FROM scratch
COPY --from=builder /tmp/dane/cmd/letsdane/letsdane /
ENTRYPOINT [ "letsdane" ]

Use DOCKER_BUILDKIT=1 docker build -f static.Dockerfile -o build/ . to export the binary into build directory.
Running this first time can take >2000 seconds (Mostly because of all the compiling that needs to be done for unbound and openssl), The Image layer can be exported to Dockerhub and used repeatedly if necessary. Subsequent builds should take <100 seconds.
Todo:

[X] Document building static binaries for Linux
[ ] Document building static binaries for Windows
[ ] Document building static binaries for MacOS

This Dockerfile can be used to automatically make builds using GitHub Actions, though I'm unsure how I should deal with the dependencies part, Should I export that as a Image and keep it on Dockerhub (and use FROM anunayj/go-alpine-unbound) or should I keep it like this and let the cache do it's job. (GitHub Actions evicts cache after 7 days of inactivity).

Also I have no idea what was causing the problems compiling earlier when i was using a lxd container. I guess I installed unbound from apk and then built it from source causing a unholy mess.
I really feel like Alpine packagers should include static library (.a) for libraries in their -dev packages. Specially considering libmusl is used for static binaries, and their distribution is one of they few that implements libmusl.

Alternatively to save time/or if you are lazy to compile openssl this can be used.
(Remember you will basically be trusting me to have shipped a exploit-free version of unbound library)
FROM anunayj/golang-libunbound@sha256:4db0797175be0d38f0a65f81517d1862a72c745cfb42d53b09aed477f00d6e5d as builder
#Install Dependendencies
WORKDIR /tmp/dane
COPY go.mod /tmp/dane/go.mod
RUN go mod download
#Will allow caching dependencies in layers.

COPY . /tmp/dane/
WORKDIR /tmp/dane/cmd/letsdane
#Build Static
RUN go build -tags unbound --ldflags '-extldflags "-lunbound -lssl -lcrypto -static"'

FROM scratch
COPY --from=builder /tmp/dane/cmd/letsdane/letsdane /
ENTRYPOINT [ "letsdane" ]

Sources for intermediate image here https://gist.github.com/Anunayj/f58463793ef3902eb4d0f4a24ce8b875

I have no idea how one would go about compiling for windows and mac, go does allow you to specify to build for windows or darwin, but how would that work with unbound? GitHub actions does provide both windows and macOS images to run stuff on which can be used to make binaries, but I don't have a MacOS machine to test stuff on, I'll try messing about on my windows machine later.

Also are https://www.openssl.org/source/openssl-1.1.1j.tar.gz and https://www.nlnetlabs.nl/downloads/unbound/unbound-1.13.1.tar.gz updated with appropriate security fixes if there is one?

Should I export that as a Image and keep it on Dockerhub (and use FROM anunayj/go-alpine-unbound) or should I keep it like this and let the cache do it's job. (GitHub Actions evicts cache after 7 days of inactivity).

Building static binaries isn't a frequent process if it's only done for every release. It's okay to leave it to build from source even if takes a bit of time. It's unfortunate that alpine doesn't include *.a libs. For openssl it seems there is a package on alpine openssl-libs-static which i found here https://pkgs.alpinelinux.org/package/edge/main/x86/openssl-libs-static. It  could save time if we did apk add openssl-dev openssl-libs-static instead it of building openssl (i didn't test this)

I have no idea how one would go about compiling for windows and mac, go does allow you to specify to build for windows or darwin, but how would that work with unbound? GitHub actions does provide both windows and macOS images to run stuff on which can be used to make binaries, but I don't have a MacOS machine to test stuff on, I'll try messing about on my windows machine later.

Unbound is an optional dependency so letsdane can be built on most OSs with just go build (assuming the user has a validating resolver like hsd).
building on macOS with unbound is pretty simple (shared libs)
brew install unbound
git clone ...
go build -tags unbound

To bundle unbound in the same binary, I built it this way (on MBP running Big Sur). I just installed unbound using brew (so it's built with some other dependencies that we probably don't need like nghttp2) but here's a quick way to build it:
macos prefers dynamic libraries so if there is a dynamic lib and a static lib in the same directory it will pick the dynamic one. So I  specified the path for each .a lib
CGO_LDFLAGS="/usr/local/opt/unbound/lib/libunbound.a \
             /usr/local/opt/openssl/lib/libssl.a \
             /usr/local/opt/openssl/lib/libcrypto.a \
             /usr/local/opt/nghttp2/lib/libnghttp2.a \
             /usr/local/opt/libevent/lib/libevent.a" go build -tags unbound

it's not clear to me yet if that's the best way to do it.

Also are https://www.openssl.org/source/openssl-1.1.1j.tar.gz and https://www.nlnetlabs.nl/downloads/unbound/unbound-1.13.1.tar.gz updated with appropriate security fixes if there is one?

Those are links to the latest stable versions. They must be updated if new versions come up.

Building static binaries isn't a frequent process if it's only done for every release. It's okay to leave it to build from source even if takes a bit of time. It's unfortunate that alpine doesn't include *.a libs. For openssl it seems there is a package on alpine openssl-libs-static which i found here https://pkgs.alpinelinux.org/package/edge/main/x86/openssl-libs-static. It could save time if we did apk add openssl-dev openssl-libs-static instead it of building openssl (i didn't test this)

Just tested it, and it works, updated the dockerfile.


add std feature

std feature is enabled by default
By default enable #![no_std] compilation
Import std create if std feature is enabled or if testing
Use core, alloc types
Make it clear where std types are being used
In no std, use BTreeMap in place of HashMap. HashMap is not available in no std due to lack of a secure random number generator

Note: The project does not yet compile without std feature being specified. But it's really close to being able to do so.

Merging to make progress.


Bagfix and migration phase 2

Details:

item1
...

Tickets:

ticket-id

https://github.com/dmitry-gorokhov/openvino/pull/45/files#diff-0ec2c2a8d308ceb06e9f0d16319099aa1bb461c49a19e51c5267ced413f25f77R46-R64

@nshchego also enable this please
https://github.com/dmitry-gorokhov/openvino/blob/1505bf04277b6ec58e8ecb7755638a5a8fa8a5ca/inference-engine/src/mkldnn_plugin/mkldnn_infer_request.cpp#L46-L64

@nshchego also enable this please
https://github.com/dmitry-gorokhov/openvino/blob/1505bf04277b6ec58e8ecb7755638a5a8fa8a5ca/inference-engine/src/mkldnn_plugin/mkldnn_infer_request.cpp#L46-L64

Done

@nshchego also enable this please
https://github.com/dmitry-gorokhov/openvino/blob/1505bf04277b6ec58e8ecb7755638a5a8fa8a5ca/inference-engine/src/mkldnn_plugin/mkldnn_infer_request.cpp#L46-L64

Done

remove THROW_IE_EXCEPTION << "[NM] Not implemented"; please


Package with the same name?

Hey,
When I try to install another application that uses the plugin, android returns this message:

Android App Not Install.
An existing package by the same name with a conflicting signature is already installed

Some tip?

Hi @arthurflor,
I googled some tips for you. This is most likely a problem with your APK signature

1

The problem is the keys that have been used to sign the APKs, by default if you are running directly from your IDE and opening your Emulator, the APK installed in the Emulator is signed with your debug-key(usually installed in ~/.android/debug.keystore), so if the previous APK was signed with a different key other than the one you are currently using you will always get the signatures conflict, in order to fix it, make sure you are using the very same key to sign both APKs, even if the previous APK was signed with a debug-key from another SDK, the keys will definitely be different.

Also if you don't know exactly what key was used before to sign the apk and yet you want to install the new version of your app, you can just uninstall the previous application and reinstall the new one.

2

I had the same error message, but these answers did not help. On a 4.3 nexus 7, I was using a user who was NOT the owner. I had uninstalled the older version but I kept getting the same message.Solution: I had to login as the owner and go to Settings -> Apps, then swipe to the All tab. Scroll down to the very end of the list where the old versions are listed with a mark 'not installed'. Select it and press the 'settings' button in the top right corner and finally 'uninstall for all users'

https://stackoverflow.com/questions/19959890/android-app-not-install-an-existing-package-by-the-same-name-with-a-conflicting

Hi,
I'm using Ionic, but I checked and it didn't work.
The curious thing is that when removing the plugin, I can install normally (creating the APK with the same commands).
:/

Hi,
i developed an apps using this plugin. i installed the app, working well. when i installed another app with the same plugin, i faced the same problem.
/*
An existing package by the same name with a conflicting signature is already installed
*/
can you check for us to resolve this issue.

Hi,I have the same problem. two app is different packagename,when i installed another app with the same authority provider;

hi,Validated, after 1.3.5  in AndroidManifest. XML, add <provider android:authorities="com.vaenow.appupdate.android.provider" android:exported="false" android:grantUriPermissions="true" android:name="com.vaenow.appupdate.android.GenericFileProvider">
, resulting in build apk, has the same signature。now ，I ‘m  using 1.3.5

Guys, do you have any advices ?

I made a PR that fixes this!
https://github.com/vaenow/cordova-plugin-app-update/pull/79
I had made an earlier PR that fixed it, but it got removed by other commits later.

Hi,I have the same problem.How to solve?


Update datadog package to 5.16.0

The latest releases brings several improvements for Mesos hosts, including:

added host tags mesos-version and dcos-version
added marathon_app, chronos_job and chronos_job_owner tags to metrics

For a complete list of changes, see the dd-agent changelog and the docker integration changelog.
Packaging changes compared to revision 2:

reference new image tag
raise default mem limit to recommended 256MB
update website url

Hi @ryadav88
Any chance we may get this merged this week? The actual diff compared to the v2 package is quite small if that helps.

Hi @ryadav88 field has been added, and doc PR is here: https://github.com/dcos/examples/pull/201


Add cancel button

After submitting a run to music box, provide an option to cancel the model run

Will have to hook up to https://github.com/NCAR/music-box-interactive-api/issues/304


Fixed typo

Changed "more or more" to "one or more".

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

Fixed typo.
changed "more or more" to "one or more".

#sign-off


ML 1.4 : Variance, Standard Deviation, Expectation (D) Added test

Description 📜
Added documentation explaining Variance, Standard Deviation, Expectation. Please review it @abhisheks008 .

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[x] Machine Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Create a fresh PR in Machine Learning branch not in the main branch @priyanshinaredi


Getting started | Syntax error: SyntaxError: Unexpected token

Describe the bug
Following the getting started guide, :
https://ahochsteger.github.io/gmail-processor/docs/getting-started/
Step 6. Replace the contents of the initially created file Code.gs with the code from the Getting Started Example and save the changes.
When I do so I get : Syntax error: SyntaxError: Unexpected token ':' line: 2 file: Code.gs
To Reproduce
Steps to reproduce the behavior:
Run through your getting started guide.
Expected behavior
A clear and concise description of what you expected to happen.
Logs / Screenshots

Additional context
Affected version of gmail-processor:
17
Add any other context about the problem here.

@sitebroke thanks for spotting the mistake in the documentation, there is some code missing as it just shows the configuration but not the code to execute the configuration.
You can use it this way:
var config = ... // Put the getting started configuration here

function run() {
  // NOTE: Switch to "safe-mode" after testing the config
  GmailProcessorLib.run(config, "dry-run")
}

FYI: The Getting Started Guide is now fixed.


Simplify the InterpreterTest runner

Don't use google test parameters. They're fancy and confusing. Just
use a vector of test names.
Actually compile the code.
Don't use a TestEnvironment to grab the module name. Just take the
name each time we load the module.
Reload the module at every test case.

Signed-off-by: Robert Young<EMAIL_ADDRESS>

waiting on #96

Waiting on #100


Added preserve flag to pipeline

@lilleyse, this adds the -p flag to preserve the original glTF hierarchy. Optimization stages are not run with this flag.

Thanks @lasalvavida.  Will leave #199 open until uint32 is supported properly with glTF 1.1.
Please updated CHANGES.md in master.


Is this project still active?

title

Hi @gcampes,
Yes, this project is actively maintained. Are you facing any specific issues with the library?
Cheers


small question p2

Hey how are you !! i hope your team is doing okay too , I see some progress in the repo , and I just wanted to ask if there is an update to the release plans of the new singing papers , like vi-singer and hifisinger etc :) especially vi-singer as it is the best paper out of them
Feel free to close the issue after answering the question

Many thanks for your following of our toolkits. In short, yes, we have been working on new models. But the performances are not satisfactory for now. We would release all we have after the results sound good~ However, despite that part of development, we are mostly focusing on the migration to espnet and trying to make a more standardized data format for the music problems not limited to singing.
Please stay in touch as we will continue updating the whole thing in the repo!


doc: Add ninja 1.10+ to requirements

Only version 1.10+ supports multiple outputs.

Acked-by: Volodymyr Babchuk<EMAIL_ADDRESS>

Acked-by is added.
Patch is ready to be merged.


Add Custom Component Governece detection

Task name:  ComponentGoverneceDetection
Description: Used Custom Component goverenece detection task to ignore redundant folders
Documentation changes required: (Y/N) N
Added unit tests: (Y/N) N
Attached related issue: (Y/N) N
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

/azp run


Create Trie.java

Check code again Not working the main function

Check code again Not working the main function

I mention the wrong PR
Check Stack code


fix: inaccurate action type when a live resource has been deleted

What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., design docs, usage docs, etc.:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8759

Relevant Lines:
11387

💛  - Coveralls


How to realize the function like HingeJoint2D in unity

There just exists HingeJoint in 3D.

@zhagsenkk If you check the Rube Goldberg demo, you will see that PinJoin2D-s were used to make the pendulum. (not sure if you mean this, though)

I know this issue is closed, but I think it should be reopened for 3.0
There is still no HingeJoint2D and I don't know if the Rube Goldberg demo made it to 3.0
PinJoint2D almost gets there, but I cannot figure a way to constrain the allowed rotation of the connected bodies.

@cheesymoo if you're missing something in PinJoint2D, just open a new issue about. No need to revive 3 year-old issue which was closed by the OP.


implement features: "insert ignore" AND "insert update on duplicate key"

Prereq:

alasql("CREATE TABLE Amazon (Date STRING PRIMARY KEY,Ct INT)");
alasql("INSERT ('12/12/14',0)");

update data: (not working)

alasql("INSERT INTO Amazon VALUES ('12/12/14',0) ON DUPLICATE KEY SET Ct=5");

try to update again: (not working)

alasql("INSERT IGNORE INTO Amazon VALUES ('12/12/14',0)");
alasql("UPDATE Amazon SET Ct=5 WHERE Date='12/12/14'");

try to update again: (works but gives warning about key)

alasql("INSERT INTO Amazon VALUES ('12/12/14',0)");
alasql("UPDATE Amazon SET Ct=5 WHERE Date='12/12/14'");

Couple comments:

Put Date into square brackets, because Date is a keyword for AlaSQL:

    alasql("CREATE TABLE Amazon ([Date] STRING PRIMARY KEY,Ct INT)");

I want to introduce special DATE values to convert strings to proper date format, like:

    D'6/31/14/'  ==> ''20150631' or new Date('06/31/14' depending on the flag

It will allow AlaSQL to compare and convert date data without any headache.
What do you think?

For other operators - I will check.

Nice catch. What if we use backtick "`" to be more semantically correct toward MySQL. I believe this feature is already implemented.

Yes. You can use or [column] or `column` for columns with spaces, special symbols, etc. as well.

BTW. AlaSQL distinguish DATE and Date data types. First one is a string, while second one  is JavaScript Date object type.

AlaSQL distinguishes DATE and Date data types. First one is a string, while second one is JavaScript Date object type.

Where would be a good spot to put this in the documentation?

Yes. The Wiki is the most priority....

AlaSQL distinguishes DATE and Date data types. First one is a string, while second one is JavaScript Date object type.

Could you make an example of the different use of this?

AlaSQL distinguishes DATE and Date data types. First one is a string, while second one is JavaScript Date object type.
@agershun Could you make an example of the different use of this?

INSERT IGNORE INTO syntax as described by silverhawk184 is not working for me.
 ON DUPLICATE KEY UPDATE?

INSERT IGNORE is not supported.
I have a feeling you could do a select and then filter out before doing inserts - but its not pretty...


Unable to find folder when '/uploads/files' is passed to config.storagePath

Unable to find /uploads/files directory in config.storagePath : '/uploads/files'
According to the documentation, I should be able to find the directory that stores all the uploaded files if you pass an absolute path into config.storagePath.
My file looks like this:
const ExcelFiles = new FilesCollection({
  storagePath: '/uploads/excel',
  downloadRoute: '/files/excel',
  collectionName: 'ExcelFiles',
  permissions: 0755,
  allowClientCode: false,
  cacheControl: 'public, max-age=31536000',
  debug: true,
  // Read more about cacheControl: https://devcenter.heroku.com/articles/increasing-application-performance-with-http-cache-headers
  onbeforeunloadMessage() {
    return 'Upload is still in progress! Upload will be aborted if you leave this page!';
  },
  onBeforeUpload(file) {
    // Allow upload files under 10MB, and only in png/jpg/jpeg formats
    // Note: You should never trust to extension and mime-type here
    // as this data comes from client and can be easily substitute
    // to check file's "magic-numbers" use `mmmagic` or `file-type` package
    // real extension and mime-type can be checked on client (untrusted side)
    // and on server at `onAfterUpload` hook (trusted side)
    // if (file.size <= 10485760 && /png|jpe?g/i.test(file.ext)) {
    if (file.size <= 10485760 ) {

      return true;
    } else {
      return 'Please upload image, with size equal or less than 10MB';
    }
  },
  downloadCallback(fileObj) {
    if (this.params.query.download == 'true') {
      // Increment downloads counter
      Images.update(fileObj._id, {$inc: {'meta.downloads': 1}});
    }
    // Must return true to continue download
    return true;
  },
  // protected(fileObj) {
  //   // Check if current user is owner of the file
  //   if (fileObj.meta.owner === this.userId) {
  //     return true;
  //   } else {
  //     return false;
  //   }
  // }
});

// Export FilesCollection instance, so it can be imported in other files
export default ExcelFiles;

Turned on config.debug : true
In my windows console, I'm getting:
I20171026-18:11:53.722(8)? [FilesCollection.storagePath] Set to: /uploads/excel
=> Meteor server restarted
I20171026-18:11:54.269(8)? [FilesCollection] [find({}, undefined)]
I20171026-18:11:58.490(8)? [FilesCollection] [find({}, undefined)]

Am I supposed to be able to actually see a folder being created in the root path of dev environment?

No folder is created. However I am still able to download the file after restarting the server, that means the storagePath remains persistent.
Currently I am developing on windows with the following packages on Meteor <IP_ADDRESS>.

accounts-password                 1.4.1* Password support for accounts
alanning:roles                    1.2.16  Authorization package for Meteor
blaze-html-templates              1.1.2  Compile HTML templates into reactive UI with Meteor Blaze
ecmascript                        0.8.3  Compiler plugin that supports ES2015+ in all .js files
es5-shim                          4.6.15  Shims and polyfills to improve ECMAScript 5 support
johanbrook:publication-collector  1.0.10  Test a Meteor publication by collecting its output.
kadira:blaze-layout               2.3.0  Layout Manager for Blaze (works well with FlowRouter)
kadira:flow-router                2.12.1  Carefully Designed Client Side Router for Meteor
less                              2.7.9  Leaner CSS language
materialize:materialize           0.100.2  Materialize (official): A modern responsive front-end framework based on Material Design
meteor-base                       1.1.0  Packages that every Meteor app needs
mobile-experience                 1.0.5  Packages for a great mobile user experience
mongo                             1.2.2  Adaptor for using MongoDB and Minimongo over DDP
ostrio:files                      1.9.0  File upload via DDP/HTTP to server FS, AWS, GridFS, DropBox, Google Drive or other 3rd party storage
practicalmeteor:mocha             2.4.5_6  Write package tests with mocha and run them in the browser or from the command line with spacejam.
reactive-var                      1.0.11  Reactive variable
session                           1.1.7  Session variable
shell-server                      0.2.4  Server-side component of the meteor shell command.
standard-minifier-css             1.3.5  Standard css minifier used with Meteor apps by default.
standard-minifier-js              2.1.2  Standard javascript minifiers used with Meteor apps by default.
tracker                           1.1.3  Dependency tracker to allow reactive callbacks
underscore                        1.0.10  Collection of small helpers: _.map, _.each, ...
useraccounts:flow-routing         1.14.2  UserAccounts package providing routes configuration capability via kadira:flow-router.
useraccounts:materialize          1.14.2  Accounts Templates styled for Materialize Css.

I think that you should find that folder (cd /uploads/files)... Not in your meteor projet

Thank you! @inromualdo I found it at <c:\>uploads\files or in this case <c:\>uploads\excel according to my config file. I hope this helps another person out there developing on windows.!

The leading forward slash is the root of your computer file system

Please, support this project by:

Star on GitHub
Star on Atmosphere
Check other packages we have made


No way to close compose box (and can obscure last message in feed)

Even though the compose box isn't always open, once you open it, there's no way to close it, and it obscures the bottom message in the few.  We might want to add an "x" to close.

The UI would get very much filled up if we add that, already there are many buttons!
We can just swipe up to hide the chatBox!

Yeah, that's a nice idea.  Might need to advertise it in an onboarding flow eventually to make it discoverable, but sounds good!

Oh, I see, you can close it by scrolling up/down.  hmm.  Yeah, probably adding removal via swipe away is good enough,

@timabbott should we implement a swipe right/left to close the chatBox?
I think the current swipe up to close that is fine!


All participants are muted

Manged to deploy this to DO k8s cluster, but the web has some erros and there is no video or audio.
Messages, joining a call works.
Console log image of the errors:

Do all of these .env variables are required? Do i need stun servers?

Do i need to change the XMPP domian?
My ingress entrypoint domain is video.domain.com . do I need to set one for XMPP or does it already use meet.jitsi inside the cluster?

got any more details on this? facing the same issue.


AutoComplete: Prefer autocomplete suggestions when " add-from-autocomplete-only" is set to "false"

When  add-from-autocomplete-only="false" we are allowed to add our own tags which is great but for instance if a tag exists in the auto-complete source but instead of click on the tag i type it and hit the enter key - the tag will be added with this will not be the same object that was populated by the auto-complete plugin.. it will instead create a new item, which is probably not the desired functionality.

Can this issue be closed?

@mbenford Thank you for having a look at this. I am not sure if #136 is the same as this issue. Let me clarify:
Suppose i am fetching tags from a database. Each tag is an object like the following (for example):
{
    id: 1,
    name: someTag
}

If i now type the full tag name in the input, i.e. someTag and hit the enter/return key, a new tag is added. This new tag is a plain string and not an object which it should be because it already existed in the fetched tag's array. Though we can check for duplicate entries in our database, but this can cause issues when we need to use the tag in frontend before sending it to the backend for storing it. Hope this makes sense.

I've mentioned #136 because it's about automatically selecting the first autocomplete suggestion when a hotkey is pressed, and that should minimize the odds of a new tag being created instead of selecting existing ones. Please note that I said minimize. If you want to be 100% sure that all tags come from a predefined list, you'll need to set the addFromAutocompleteOnly option as true.

Can this issue be closed?

Yes, thanks.
Sent from my iPhone

On 25-Feb-2015, at 8:39 am, Michael Benford<EMAIL_ADDRESS>wrote:
Can this issue be closed?
—
Reply to this email directly or view it on GitHub.


Fixing Typo

There was an extra 'a' so I removed it.

Thanks for the change, merging this in. The build is broken due to a pip flag deprecation, which I will fix separately.


Fixed issues caused by last PR

The settings page was missing after the last PR.
An issue was also resolved during plugin activation.

@kailanwyatt , awesome, you fixed the dashboard!


Add stop timeout

Description

Added stop timeout option
Related Issue

#786
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Alternate Designs

Possible Drawbacks

Verification Process

Release Notes

Contributing checklist

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING and LICENSE document.
[x] I fully agree to distribute my changes under Apache 2.0 license.

On which master branch is this PR based? Because have a look at the following line, the current deploy.sh already has the --stop-timeout option which I added some commits before you:
https://github.com/jens-maus/RaspberryMatic/blob/master/buildroot-external/board/oci/deploy.sh#L112
So please have a look and perhaps change it accordingly. And I am perfectly fine in having it added as a dedicated OCI_XXXX variable in the script.

On which master branch is this PR based? Because have a look at the following line, the current deploy.sh already has the --stop-timeout option which I added some commits before you:
https://github.com/jens-maus/RaspberryMatic/blob/master/buildroot-external/board/oci/deploy.sh#L112
So please have a look and perhaps change it accordingly. And I am perfectly fine in having it added as a dedicated OCI_XXXX variable in the script.

rebased on latest master - not sure why github shows one of your patches in addition (the git CLI does not...)

rebased on latest master - not sure why github shows one of your patches in addition (the git CLI does not...)

Sorry, missed your comment on the variable being called OCI_xxxx. Do you want to change it?
There is no OCI standard for it -> it is a Docker specific setting. In Kubernetes, for example, it has a different name.

Sorry, missed your comment on the variable being called OCI_xxxx. Do you want to change it?
There is no OCI standard for it -> it is a Docker specific setting. In Kubernetes, for example, it has a different name.


chore: remove getSourceMapInfo from jest-runtime

Summary
Addressing a TODO, remove getSourceMapInfo from jest-runtime
Test plan
CI

Codecov Report

Merging #9969 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9969   +/-   ##
=======================================
  Coverage   63.90%   63.90%
=======================================
  Files         293      293
  Lines       12489    12488    -1
  Branches     3082     3080    -2
=======================================
  Hits         7981     7981
+ Misses       3863     3862    -1
  Partials      645      645

Impacted Files
Coverage Δ

packages/jest-runtime/src/index.ts
56.18% <ø> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

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


Added Unit Tests for test_args and test_component

Description
Added Unit Tests for test_args and test_component
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #539 (e30cddb) into main (16b1a50) will increase coverage by 2.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #539      +/-   ##
==========================================
+ Coverage   69.62%   71.71%   +2.09%
==========================================
  Files          59       59
  Lines        1577     1577
==========================================
+ Hits         1098     1131      +33
+ Misses        479      446      -33

Impacted Files
Coverage Δ

...undle-workflow/src/test_workflow/test_component.py
100.00% <0.00%> (+33.33%)
:arrow_up:

bundle-workflow/src/test_workflow/test_args.py
100.00% <0.00%> (+100.00%)
:arrow_up:

Continue to review full report at Codecov.

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

There also a util directory, i think that’s leftover.

There was just an init file inside the utils directory and I have removed the directory as it was a leftover


WASAPI: Delete audio_client if initialization failed

Partially fixes: https://chat.godotengine.org/channel/audio?msg=SL25ozxgPm3i9dfhm (There still will be spam in the console, but at least the device will properly initialize again)
Does what the title says, if initialization failed, this pointer is not needed, cause it's invalid. Instead of going with the wrong pointer forever, AudioDeviceWASAPI will try to intialize it every time it runs `thread_func's while loop's iteration (not ideal, there's probably a better way to handle it, but at least it will wait a 1000 microseconds before trying again)
Also fixes the comment style

While comment improvements are appreciated this shouldn't be done in this PR as it buries the actual change, comment fixes in a large PR that is far smaller in scale than the fix itself can be appropriate but this is not proportional, so please restore the comments


all binding to local data samples - extract data to json file

Thanks for this "toilet cleaning" work


What should happen for InMemoryPages with no identifier?

Creating an empty InMemoryPage with no identifier leads to it being compiled to _site/.html. Question is how much complexity is worth adding to do something about this. Documenting here for now.

Additional Claude response with additional context that this is intended for advanced users:

You raise an excellent point. Given this additional context, let's reassess the situation:
You're absolutely right to question whether adding complexity is worth it in this scenario. Let's reconsider the situation with this new perspective:

Target Audience: The InMemoryPage feature is intended for very advanced developers who are likely to understand the intricacies of the framework.

Rarity of the Issue: Given that most pages are created through file autodiscovery, the scenario of creating a page without an identifier is already extremely uncommon.

Simplicity vs. Edge Case Handling: Adding complexity to handle this edge case goes against Hyde's primary philosophy of "Simplicity first."

Developer Responsibility: Advanced developers using this feature can be expected to use it correctly and understand its limitations.

Given these considerations, I believe the best approach would be:

Do Not Add Code Complexity: Avoid adding checks or exceptions for empty identifiers in the InMemoryPage class. This maintains the simplicity of the codebase.

Document the Behavior: Instead of adding code complexity, update the documentation for InMemoryPage to clearly state:

The identifier is a required parameter and should not be empty.
Explain the unexpected behavior that occurs if an empty identifier is provided (i.e., creation of _site/.html).
Emphasize that it's the developer's responsibility to provide valid identifiers when using this advanced feature.

Consider a Warning Comment: Add a comment in the InMemoryPage class constructor to warn future maintainers about this potential issue. This serves as an in-code documentation without affecting runtime behavior.

public function __construct(string $identifier = '', FrontMatter|array $matter = [], string $contents = '', string $view = '')
{
    // Warning: Empty identifiers may lead to unexpected behavior.
    // Developers should ensure a non-empty identifier is provided.
    parent::__construct($identifier, $matter);
    // ... rest of the constructor
}

This approach maintains the simplicity of the codebase, respects the advanced nature of the feature, and still addresses the issue through documentation. It aligns well with Hyde's philosophy and target audience, avoiding over-engineering for an extremely rare edge case.
By focusing on documentation rather than code changes, we're trusting the advanced developers who use this feature to use it responsibly, which is in line with Hyde's approach of providing power when needed without compromising on simplicity for the majority of use cases.

After thinking this through with Claude, I don't think it's worth adding complexity for this. Nor documentation. If someone stumbles upon this, searching for something like "missing output filename when using InMemoryPages in HydePHP" this thread should show up, and the information here should suffice. (But do ping me so I can reassess if this appears to me a common issue)