Clean up code

Moved fallbacks under single folder
Split OS related code to lib folder
Simplified handler in termux

Great! Was hoping someone would do this.
You need to remove vendor from files in package.json.

@sindresorhus done.


[5.4] Mix manifest file path error.

Laravel Version: 5.4.6

Description:
Mix manifest file mix-manifest.json created at base path of project, But the mix function find it at public path (helpers.php line 566). As the result of it, the file never be found.
In addition, the mix function use the source map by mix-manifest.json wasn't right, the mix-manifest.json will include the name of public directory which is not need in HTML rendering.

This is a Laravel Mix question. Please elaborate here: https://github.com/JeffreyWay/laravel-mix/issues/237


"24H Trades" stuck at 100

24h Trades shows 100 Trades. Opening and Closing new trades does not update the counter, and it stays at 100.

This was fixed by PR #535


[Feature Request] IP prefix aggregation

Is your feature request related to a problem? Please describe
I would like to aggregate IPs by prefix. For example Ingress logs with different IP addresses inside some Ingress logs. I want to aggregate the IP by perfix like v6 with /64 and v4 with /32 to get the count how often a ip net has requested some ingress route.
Describe the solution you'd like
I would like a solution similar to elasticsearch but without the difference between IPv6 and IPv4.
In our case the IPs are in the same filed and not separated. Therefore I expect a bucket aggregation where IPv4 and IPv6 are listed together, sorted by there count.
To be more detailed:
PUT network-traffic
{
  "mappings": {
    "properties": {
       "request_ip": { "type": "ip" }
    }
  }
}

GET /network-traffic/_search
{
  "size": 0,
  "aggs": {
    "ip-subnets": {
      "ip_prefix": {
        "field": "request_ip",
        "ipv4": {
          "prefix_length": 24
        },
        "ipv6": {
          "prefix_length": 64
        }
      }
    }
  }
}

{
  ...

  "aggregations": {
    "ip-subnets": {
      "buckets": [
        {
          "key": "<IP_ADDRESS>",
          "doc_count": 4,
          "prefix_length": 24
        },
        {
          "key": "2001:db8:a4f8:112a::",
          "doc_count": 4,
          "prefix_length": 64
        },
        {
          "key": "<IP_ADDRESS>",
          "doc_count": 3,
          "prefix_length": 24
        },
        {
          "key": "2001:db8:a4f8:112c::",
          "doc_count": 3,
          "prefix_length": 64
        },
        {
           "key": "<IP_ADDRESS>",
           "doc_count": 2,
           "prefix_length": 24
        },
        {
          "key": "2001:db8:a4f8:114f::",
          "doc_count": 2,
          "prefix_length": 64
        }
      ]
    }
  }
}

Related component
Search:Aggregations
Describe alternatives you've considered
No response
Additional context
No response

[Triage - attendees 1 2 3 4 5 6
@Jakob3xD Thanks for creating this issue, we would welcome a pull request to add this functionality.


How to passin mode parameter when call func request_pty()

My code is like this:

//number '53' means ssh.ECHO, and 0x01 means echo on
let term_mode:  [u8; 5] = [53, 0, 0, 0, 0x01];
let dim = Some((10000, 100000, 10000, 10000));
let mode = str::from_utf8(&term_mode).unwrap();
chan.request_pty("xterm", Some(mode), dim).unwrap();
...

I got error response down below after execute above code
request_pty error: [-14] Failed to require the PTY package

My problem is how to assign a value to mode parameter about func request_pty()
Thank you!

It looks like the sparse documentation of libssh2 led to the type being declared incorrectly and treated as a utf8 string.  We'll need to fix that (https://tools.ietf.org/html/rfc4250#section-4.5 describes the usage of this parameter and we can make some stronger types for that), but you may be able to hack around it for now by doing something like this:
// Force the runtime to allow viewing this data through a `&str`, even
// though it isn't valid UTF-8
let mode_str = unsafe {
   std::str::from_utf8_unchecked(term_mode)
};

chan.request_pty("xterm", Some(mode_str), dim).unwrap();

(I think you might also need to add an extra 0 byte at the end of the term_mode array to mark TTY_OP_END)

On the ptymode branch that I just pushed is an experiment that I haven't tested (it compiles, but I haven't tried to actually use it).
You can try it out by changing your Cargo.toml file to point to it:
ssh2 = { git = "https://github.com/alexcrichton/ssh2-rs", branch = "ptymode" }

Then in your code, do something like this:

let mut mode = ssh2::PtyModes::new();
mode.set_boolean(ssh2::PtyModeOpcode::ECHO.into(), true);

chan.request_pty("xterm", Some(mode), dim).unwrap();


docs: fix typos and grammar

Just some general grammar suggestions I noticed while reading over the docs. Feel free to only cherrypick some of them if you don't want to apply all of them.
Looking forward to using Svelte Native. Thanks for building this!

it all looks great. Thanks for the great contribution 👍


Unable to feed the data

Hi,
I am writing a sample to pinpoint the locations on the map.
I have imported the project and ran it. its working fine. but i am unable to feed my data(store locations). its just simply showing the map not the locations. how can i feed data can anyone please help me on this?

Hi,
I am writing a sample to pinpoint the locations on the map.
I have imported the project and ran it. its working fine. but i am unable to feed my data(store locations). its just simply showing the map not the locations. how can i feed data can anyone please help me on this?

This project is in an unmaintained state. I suggest you look at our Google Maps APIs Solutions for currently maintained store locator solutions.


Verify that ROM_EXT goes to shutdown if there is a CPU fault.

Write a bare-metal program that does not install its own interrupt vector.
Cause CPU faults (e.g. alignment fault, invalid address, hardware interrupt).
Verify that the ROM_EXT shutdown handler reports the fault.

Completed by https://github.com/lowRISC/opentitan/pull/20199


Discussion about IDE integration

I use quicktemplate because I love the static type checking, and the blazing fast performance is a very pleasant side-effect.
How much work it would be to create a full featured IDE integration (intellij-idea/vscode)
I really miss it, and also make some research how this could work.
The functionality should be:

HTML support (incl. tag renaming etc. what the IDE support)
Inside the % scope the context is treated as go code (especially highlighting, autocompletion!, refactoring, and others)
Everything else should be treated as a comment

Beside the separation, I hoped to implement a template plugin which use the inbuilt HTML processor for all the HTML, then define the parts which are go code.
In the background the current file gets compile on every change. The cursor position in the template file is translated to the generated go template file (I saw that all the compiled lines are nicely inlined so there is definitly some information arround ;) or can be extended). The golang language server in queried for the translated cursor position for autocompletion results or whatever. This would work it 90% the time, and that would be great!
Have somebody time to work with me on this in a separate repo or have inputs, docs etc. Then post it here.

Did you get anywhere with this? One of the things I like about quicktemplate is that you just write Go code, rather than having to have a custom loop syntax etc.
I tried out two plugins for vim and VS Code, but they just provide syntax highlighting. On the Go side of things, I'd like autocomplete, error checking, go to definition, automatic package imports etc., and on the HTML side, tag validation, attribute autocomplete etc.

https://github.com/b0o/quicktemplate.vim
https://marketplace.visualstudio.com/items?itemName=vsatomi.vscode-quicktemplate

I think your suggestion of building a Language Server to translate requests back to HTML and Go LSPs (gopls) would be a good way to support common editors.
Without the editor support, editing isn't as slick as you'd get in something like JSX in JavaScript. For example, this looks right, but will fail at compile time, because the strings package hasn't been imported.
Hello is a simple template function.
{% func Hello(name string) %}
	Hello, {%s strings.ToUpper(name) %}!
{% endfunc %}

Here, I wouldn't get autocomplete on the data variable, so I'd have to wait until compile time to see that there's no Z field on the Data struct.
type Data struct {
  A string
  B string
}

{% func Hello(data Data) %}
	Z: {%s data.Z %}!
{% endfunc %}

Looking into this a bit further, I think the best approach might be to create an LSP for quicktemplate and to add the required features one-by-one.
gopls doesn't seem to be a good basis, because the internal parts of the project can't easily be referenced, but https://github.com/sourcegraph/go-langserver looks useful.
While the sourcegraph example is good, it had loads of configuration and so it was a bit complicated: https://github.com/sourcegraph/go-langserver/blob/4b49d01c8a692968252730d45980091dcec7752e/main.go#L173
So, I cut it down to be a minimal example and hooked it up to Neovim with the CoC plugin (https://github.com/neoclide/coc.nvim) for testing. To get Neovim to send commands to my LSP binary, I had to update my CoC config to add in my .qtpl language server.
{
  "languageserver": {
    "qtpl": {
      "command": "/Users/adrian/github.com/a-h/qt-lsp/qt-lsp",
      "filetypes": ["qtpl"]
    }
}

Next, I had to tell Neovim that the file I was working on was a qtpl file with the :set filetype=qtpl command.
Then, I could read the logs the LSP left behind:
{"level":"info","ts":1617638502.683124,"caller":"qt-lsp/main.go:23","msg":"Starting up..."}
{"level":"info","ts":1617638502.683669,"caller":"qt-lsp/handler.go:26","msg":"request","req":{"method":"initialize","params":{"processId":47279,"rootPath":"/Users/adrian/github.com/a-h","rootUri":"file:///Users/adrian/github.com/a-h","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]}},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"contextSupport":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"activeParameterSupport":true,"parameterInformation":{"labelOffsetSupport":true}}},"definition":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]}},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true},"implementation":{"dynamicRegistration":true},"declaration":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"initializationOptions":{},"trace":"off","workspaceFolders":[{"uri":"file:///Users/adrian/github.com/a-h","name":"a-h"}],"clientInfo":{"name":"coc.nvim","version":"0.0.80"},"workDoneToken":"d4b23a3d-6591-477f-92b9-2ca9433ee73b"},"id":0,"jsonrpc":"2.0"}}
{"level":"info","ts":1617638502.683837,"caller":"qt-lsp/handler.go:32","msg":"response","resp":{"capabilities":{"textDocumentSync":2,"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"referencesProvider":true,"documentSymbolProvider":true,"implementationProvider":true}}}

From here, I think I could work out how to add an autocomplete for functions that are in scope, to suggest imports etc., and to enable snippets.

I got a "Hello World" running in Neovim. It doesn't actually do anything useful, just returns a constant for autocomplete requests.
Here's what that looks like:
https://asciinema.org/a/D0efR6Inmel9JHEZiqHxbCSuR
Here's the demo language server:
https://github.com/a-h/qt-lsp

I had a look at implementing the idea in quicktemplate, but the templating language felt a bit too complex to bite off adding the features in one go (things like the spacing operators, support for outputs other than HTML, inclusion of arbitrary files etc.). Also, wasn't sure how the way that the generator emitted code would work, was hoping there would be an object model to parse into, then generate from that.
So I took some things that I liked about quicktemplate, and built something that would be easy to add IDE support, and that targets HTML only. I built a parser that parses to an object model, a Go code generator (compiler) that maintains a sourcemap during code generation, and an LSP that is able to proxy to gopls over at https://github.com/a-h/templ
The proxy can present autocomplete suggestions so far, but it's not currently possible to use them because I've only rewritten the LSP requests on the way to gopls, I still need to remap the text ranges on the way back. However, it's showing some promise as an approach:
https://asciinema.org/a/JEiVL1AJOro2OgXDsBtkX0cCb
The syntax highlighting in the demo comes from a vim plugin my friend made.
I think the same approach I've used could work for quicktemplate, by maintaining the source map and using an LSP proxy. What do you think @valyala?


type 'Null' is not a subtype of type 'bool'

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Access the given repo
Run it
Try to click on the edit icon and search for a location that has a timezone (for eg. Cairo)
Select it.

Expected results
It is expected that after selecting the item it should change the time on the home screen and other such data.
Actual results
Instead, it is returning an error saying:
type 'Null' is not a subtype of type 'bool'
Code sample
Path to git repo: World-Time
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
The following _TypeError was thrown building Home(dirty, dependencies: [_ModalScopeStatus], state: _HomeState#51f36):
type 'Null' is not a subtype of type 'bool'

The relevant error-causing widget was:
  Home Home:file:///Users/sanchitbatra/StudioProjects/world_time/lib/main.dart:13:34
When the exception was thrown, this was the stack:
#0      _HomeState.build (package:world_time/pages/home.dart:29:27)
#1      StatefulElement.build (package:flutter/src/widgets/framework.dart:5198:27)
#2      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5086:15)
#3      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#4      Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#5      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2780:19)
#6      WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:903:21)
#7      RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:358:5)
#8      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1284:15)
#9      SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1214:9)
#10     SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:939:7)
#14     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)
(elided 3 frames from class _Timer and dart:async-patch)
====================================================================================================

Simulator
type 'Null' is not a subtype of type 'bool'

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4 22F66 darwin-arm64, locale en-US)
    • Flutter version 3.10.6 on channel stable at /Users/sanchitbatra/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (10 days ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/sanchitbatra/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google
    Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.80.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.69.20230703

[✓] Connected device (2 available)
    • iPhone 14 Pro Max (mobile) • B99E9B8C-45F5-4B81-94D5-FE403B6CDCC0 • ios          •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64 • macOS 13.4 22F66 darwin-arm64

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

As indicated in the stack, this error is coming from that project's code, not Flutter. For help with your own code, consider trying one of the resources listed at https://flutter.dev/community#community-grid
Closing as this is not a Flutter bug.


Support reading from Kafka and writing to MySQL using SeaTunnel

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
I would like to request a feature that allows SeaTunnel to read data from Kafka and write it to MySQL. This feature would be incredibly useful for scenarios where data needs to be processed or transformed after being streamed to Kafka and then stored in a MySQL database for further analysis or use.
Usage Scenario
In my current project, I am using MySQL with Canal to write data changes into Kafka. I need to read this data from Kafka using SeaTunnel and then write it into MySQL. This would streamline the data flow and enable real-time data processing and storage, improving the efficiency of our data pipeline.
If implemented, this feature would enhance the versatility of SeaTunnel and make it a more powerful tool for data integration and ETL processes.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

i think this feature already supported, kafka canal to mysql

Could you please provide an example?

kafka source: https://seatunnel.apache.org/docs/2.3.5/connector-v2/source/kafka
kafka canal json format: https://seatunnel.apache.org/docs/2.3.5/connector-v2/formats/canal-json/
mysql sink: https://seatunnel.apache.org/docs/2.3.5/connector-v2/sink/Mysql#cdcchange-data-capture-event

thinks


Plugin can't load external CSS

Fails to do
require('style!https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');

Error:
GET http://localhost:3000/require/https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css 500 (Internal Server Error)
Loader prepends absolute URL with base URL.

This is a low priority since I can always create a local CSS file:
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css");

Huh, that's annoying. As with your other issues, I can look into it in a week, no worries, or merge a suitable pull request whenever.
Thanks for reporting! :)

On 10 Jan 2015, at 02:22, Kirill Konshin<EMAIL_ADDRESS>wrote:
Fails to do
require('style!https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');
Error:
GET http://localhost:3000/require/https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css 500 (Internal Server Error)
Loader prepends absolute URL with base URL.
—
Reply to this email directly or view it on GitHub.


@react-native-community/eslint-config#overrides[2]: Environment key "jest/globals" is unknown

I'm getting
ESLint: rn-project/.eslintrc.js » @react-native-community/eslint-config#overrides[2]: Environment key "jest/globals" is unknown . Please see the 'ESLint' output channel for details.

Error message for every key-stock in VSCode after scaffolding new project. Seems there is an issue with the @react-native-community/eslint-config
React Native version:

System:
    OS: macOS 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
    Memory: 400.39 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.15.3 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    Android SDK:
      API Levels: 18, 21, 22, 23, 24, 25, 26, 27, 28
      Build Tools: 21.1.2, 23.0.1, 24.0.1, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3
      Android NDK: 20.0.5594570
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>00203
    Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.2 => 0.61.2

Steps To Reproduce

create new project with react-native init
install eslint plugin for vscode

Describe what you expected to happen:
Run with out ESLint issues with every keystroke.

This is also happening for me in my CircleCI build (as opposed to OP's issue within VSCode)

I have same issue in monorepo when extending a config from root directory

For those with this issue in VSCode - it looks to be related to vscode-eslint. I found a fix with this particular post in their repo issues.
Basically, create a workspace settings file (.vscode/settings.json) and create a working directory for eslint. In particular, you want to add the directory that contains your .eslintrc.js file, such as:
{
    "eslint.workingDirectories": [
        "./dir/containing/eslintrc_file",
    ]
}

The solution from @starlabs007 worked for me. Thanks!

@starlabs007  it work. Thanks

This is failing all the time for me, even on CI

I know that this isn't a good answer, but eslint is looking for the jest/globals environment. Until the maintainers fix it in the project, you can just add the eslint-jest-plugin to your package.json. If you're using Lerna, add the eslint-jest-plugin to your development dependencies of the RN package.
https://github.com/jest-community/eslint-plugin-jest#readme
yarn add eslint-plugin-jest --dev

npm install eslint-plugin-jest --save-dev

lerna add -eslint-plugin-jest -scope=@yourscope/package-name --dev

yarn add -D @types/jest solved the issue for me

I have also faced this issue and solved by following steps:
Update Package.json(Remove "react-app/jest" from extends array
"eslintConfig": { "extends": [ "react-app" ] },
Run npm install and check again It works It works fine for me


<top (required)>': undefined method `join' for nil:NilClass (NoMethodError)

Attempting to install Capybara with RSpec on a rails 4.01 app.
Getting this error today.
/Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/capybara-2.4.4/lib/capybara/rails.rb:15:in <top (required)>': undefined method join' for nil:NilClass (NoMethodError)
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in require' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in block in require'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:214:in load_dependency' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in require'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-rails-3.2.1/lib/rspec/rails/vendor/capybara.rb:7:in <top (required)>' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in require'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in block in require' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:214:in load_dependency'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in require' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-rails-3.2.1/lib/rspec/rails.rb:13:in <top (required)>'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in require' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in block in require'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:214:in load_dependency' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/activesupport-4.0.8/lib/active_support/dependencies.rb:229:in require'
from /Users/Will/Google Drive/Driver Hunt/Code/driverhunt2/spec/spec_helper.rb:9:in <top (required)>' 	from /Users/Will/Google Drive/Driver Hunt/Code/driverhunt2/spec/controllers/jobs_controller_spec.rb:1:in require'
from /Users/Will/Google Drive/Driver Hunt/Code/driverhunt2/spec/controllers/jobs_controller_spec.rb:1:in <top (required)>' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:in load'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:in block in load_spec_files' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:in each'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:in load_spec_files' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:97:in setup'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:85:in run' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:70:in run'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:38:in invoke' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/rspec-core-3.2.3/exe/rspec:4:in <top (required)>'
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/bin/rspec:23:in load' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/bin/rspec:23:in '
from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/bin/ruby_executable_hooks:15:in eval' 	from /Users/Will/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/bin/ruby_executable_hooks:15:in '
Williams-MacBook-Air:driverhunt2 Will$
My spec_helper.rb has at the top:
require 'devise'
require 'rspec/rails'
require 'capybara/rspec'
rails_helper.rb at the top:
ENV['RAILS_ENV'] ||= 'test'
require 'spec_helper'
require File.expand_path('../../config/environment', FILE)
require 'rspec/rails'
(i.e. no mention of capybara)
My Gemfile:
group :development, :test do
gem 'rspec-rails'
gem 'factory_girl_rails'
gem 'faker'
gem 'capybara'
end
Full Gemfile:
source 'https://rubygems.org'
gem 'dotenv-rails', :groups => [:development, :test]
Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.8'
Use postgresql as the database for Active Record
gem 'pg'
Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.2'
Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
Use jquery as the JavaScript library
gem 'jquery-rails'
Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'
group :doc do
bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
Use unicorn as the app server
gem 'unicorn'
Use Capistrano for deployment
gem 'capistrano', group: :development
Use debugger
gem 'debugger', group: [:development, :test]
gem 'rails_12factor', group: :production
gem 'devise'
gem "better_errors" # better error page
gem 'binding_of_caller' # errors page has irb
gem 'jquery_mobile_rails'
gem 'quiet_assets', group: :development
gem 'exception_notification', '~> 4.0.1'
gem 'activeadmin', github: 'activeadmin'
gem "uk_postcode", "~> 2.0.0.alpha"
gem 'bootstrap-sprockets'
gem 'bootstrap-sass', '2.1'
gem 'geokit-rails'
gem 'stripe'
Sadly doesn't work:
gem 'obfuscate_id', :git => 'https://github.com/namick/obfuscate_id.git'
gem 'will_paginate-bootstrap'
gem 'thin'
gem 'private_pub'
gem 'carrierwave'
gem "mini_magick"
gem "fog"
gem "fog-aws"
gem 'mailcatcher', :group => :development # Open email in browser
gem 'resque', :require => "resque/server"
gem 'resque-scheduler'
gem 'newrelic_rpm'
gem 'state_machine'
gem 'friendly_id'

This isn't an issue with capybara - it's most likely with where you're requiring it from.   A quick glance shows you're requiring capybara/rails in spec_helper instead of rails_helper so thats most likely the issue.  In the future please ask howto type questions on the mailing list as requested in the README


v1.61_DLSS3 Released

After the new seemingly none existent update the mod broke, cant launch the game anymore

@yamashi To get the rendering system back, they moved the d3d12 code to another location so finding it back isnt' as easy as before, but I found it:
Cyberpunk2077.exe+2CD28F0 - 40 53                 - push rbx
Cyberpunk2077.exe+2CD28F2 - 48 83 EC 30           - sub rsp,30 { 48 }
Cyberpunk2077.exe+2CD28F6 - BA 409A5A01           - mov edx,015A9A40 { 22714944 }
Cyberpunk2077.exe+2CD28FB - 48 8D 4C 24 20        - lea rcx,[rsp+20]
Cyberpunk2077.exe+2CD2900 - 41 B8 40000000        - mov r8d,00000040 { 64 }
Cyberpunk2077.exe+2CD2906 - E8 250570FD           - call Cyberpunk2077.exe+3D2E30
Cyberpunk2077.exe+2CD290B - 33 D2                 - xor edx,edx
Cyberpunk2077.exe+2CD290D - 0F10 08               - movups xmm1,[rax]
Cyberpunk2077.exe+2CD2910 - 66 0F6F C1            - movdqa xmm0,xmm1
Cyberpunk2077.exe+2CD2914 - 66 48 0F7E CB         - movq rbx,xmm1
Cyberpunk2077.exe+2CD2919 - 66 0F73 D8  08        - psrldq xmm0,08 { 8 }
Cyberpunk2077.exe+2CD291E - 48 8B CB              - mov rcx,rbx
Cyberpunk2077.exe+2CD2921 - 66 49 0F7E C0         - movq r8,xmm0
Cyberpunk2077.exe+2CD2926 - E8 757CD9FF           - call Cyberpunk2077.exe+2A6A5A0
Cyberpunk2077.exe+2CD292B - 48 8B CB              - mov rcx,rbx
Cyberpunk2077.exe+2CD292E - E8 8DA1FFFF           - call Cyberpunk2077.exe+2CCCAC0
Cyberpunk2077.exe+2CD2933 - 48 85 C0              - test rax,rax
Cyberpunk2077.exe+2CD2936 - 48 89 05 03540F02     - mov [Cyberpunk2077.exe+4DC7D40],rax 	<< Store rendering system
Cyberpunk2077.exe+2CD293D - 0F95 C0               - setne al
Cyberpunk2077.exe+2CD2940 - 48 83 C4 30           - add rsp,30 { 48 }
Cyberpunk2077.exe+2CD2944 - 5B                    - pop rbx
Cyberpunk2077.exe+2CD2945 - C3                    - ret

HTH :) 👍

After upgrading to the latest CET I am seeing the same issue as teleprint-me. I.e.
error] [Initialize] [964] 5D ...

etc

Not sure if your fault or VORPX but when I try and run Cyberpunk with the latest VORPX mod which uses this cyberengine tweak, I get a crash immediately on my 4080...
Error reason: Unhandled exception
Expression: EXCEPTION_ACCESS_VIOLATION (0xC0000005)
Message: The thread attempted to read inaccessible data at 0x0.
File: (0)

Closing this as I believe this was already resolved with later releases after OP.
If you still have some trouble, create another ticket please 🙇


docs: backup & restore ES

depends on #110

I'll correct typos/formatting/etc. locally and merge

hmm, I tried with my spell checkers and rst linters to be as correct as possible, let me know if there is anything I can do to help you out.


Version 7.0.2 Fabric Crashing

The game crashed whilst bootstrap
Error: java.lang.ExceptionInInitializerError
Exit Code : -1
Also tested with minimal mods - only Fabric API and FerrriteCore. Still crashing with the same error.

Ah, the automatic release code is uploading the wrong jar. I'll fix that in a moment.

I have uploaded fixed versions of both 7.0.2 and 7.1.0.

Alright thanks :)

Thanks for the fast fix :)


Image changed in readme file

Signed off by: Namita Arya<EMAIL_ADDRESS>Changed the image in readme file
This PR fixes #7
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@warunicorn19 the path to the image (replaced in the folder) used in the readme file is correct from what I see. Could u let me know what do I need to change in the readme file?

Yay, @namitaarya! 🎈

Yay @leecalcote Here's some cake for you 🍰


Make HitQueuing+PrivacyStatus public

Description

Make HitQueuing+PrivacyStatus extension public to be used by other extensions outside of Core. To be used by Edge.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This extension is currently under the Identity target; thus, it will only be available if you import Identity. I think it would be more ideal to move this to Core, so an extension that would like to use this utility extension doesn't need to explicitly depend/import Identity but rather core.
I considered that it might be a good fit under services, but we need the privacy status which is defined in core.

This extension is currently under the Identity target; thus, it will only be available if you import Identity. I think it would be more ideal to move this to Core, so an extension that would like to use this utility extension doesn't need to explicitly depend/import Identity but rather core.
I considered that it might be a good fit under services, but we need the privacy status which is defined in core.

@nporter-adbe it is currently under configuration so I believe Core should bring that in already.

@nporter-adbe it is currently under configuration so I believe Core should bring that in already.

@emdobrin ah my mistake... Looks like the actual class is in core but then the unit tests are still under identity. It was originally under Identity then moved to core. Must have missed moving the unit tests too.

@emdobrin ah my mistake... Looks like the actual class is in core but then the unit tests are still under identity. It was originally under Identity then moved to core. Must have missed moving the unit tests too.


Spotify unable to play this right now

ℹ Computer information

Spotify version: Spotify for Windows <IP_ADDRESS>2.gcc529952
Plan Spotify: free
Windows version: 11
PowerShell version:

📝 Description of the problem
When I try and play a song I keeps on saying spotify unable to play this right now
I have uninstalled spotify and reinstalled then run the patch again and its still doing the same thing.
Any help would be great thank you

The song you want to listen to may have been removed from spotify for copyright reasons.
You can download the song from the 3rd source and listen from the local folder.

All song are doing they are playing fine on my mobile phone with Spotify

Does this happen if you install the original Spotify client without SpotX?

So I installed everything the install Spotify only.
When I reboot the computer it plays fine for about 20 seconds them comes up with the same error.
Don't get it was working fine untill today.


Manually override aneuploidies, Optimise output paths

Relevant to https://github.com/populationgenomics/production-pipelines/pull/958 - where we generate a file prefix by hashing all the input filepaths, don't do this per-file, do it once per stage.
The functional change here is to TrimOffSexChromosomes - we have a massive issue in gCNV that GATK will fail badly if it thinks it detects an unidentified aneuploid sample in the callset (e.g. here)
As far as we can tell there are two complicating factors:

these aren't aneuploids as far as we can tell, by either their metadata or GATK's own ploidy inference
the error message is garbage, and identified here points to either the wrong sample, the wrong variant, or both. As such, we can't really do targetted removal of samples from the callset without trial and error.

The solution so far has been to wait for these jobs to fail, remove all samples in the failing job from the Cohort, then re-run on the new cohort. This involves completely regenerating the whole callset at great expense, and often we just find new failures. This is painful in time and cost, and ultimately we can't recover any CNVs from these samples.

This change adds the ability to use a configurable list of CPG IDs, in addition to those detected as aneuploid by GATK itself. For manually or 'naturally' identified aneuploidies we strip of all X/Y calls - we won't have any calls on these contigs, but we should succeed across the rest of the exome.
Going forward we can wait for these jobs to fail, then re-run with the CPG IDs in the failing job(s) as samples to remove X/Y from. We keep all the expensive calling, and we'll finally get calls for these folks

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 26.66%. Comparing base (c866d85) to head (586f97a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #986   +/-   ##
=======================================
  Coverage   26.66%   26.66%
=======================================
  Files           9        9
  Lines        1699     1699
=======================================
  Hits          453      453
  Misses       1246     1246

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Alert when post with hashtag is posted

Is it possible to create an alert of a message every time a hashtag is used in a post?

Post published by your account or external account? Or by any post around the hole instagram?

The latter or at least a substantial group?
Possible?
On Thu, 30 Apr 2020 at 11:51, linkfy<EMAIL_ADDRESS>wrote:

Post published by your account or external account? Or by any post around
the hole instagram?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/linkfy/Tools-for-Instagram/issues/23#issuecomment-621731530,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOARUMAIMUDPU5OWDATVSDRPFCY7ANCNFSM4MTVVCVA
.

There is a limit of requests per minute in instagram, that's why it is difficult to analyze all hashtags, you need to set a new time interval and get the recent activity every X minutes.
let posts = await recentHashtagList(ig, hashtag);

Cool, I got your tool to work. Very nice!
where exactly should I put that?
If this would work every ten minutes that would be awesome!!

Put the whole process in a function, and Use Cron or a scheduler to
automate the process
On Sun, 3 May 2020, 5:39 pm QuintenDeWilde<EMAIL_ADDRESS>wrote:

Cool, I got your tool to work. Very nice!
where exactly should I put that?
If this would work every ten minutes that would be awesome!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/linkfy/Tools-for-Instagram/issues/23#issuecomment-623139403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFB4NEXOJYY6KGCWXKGQRSDRPWM4DANCNFSM4MTVVCVA
.

Which process or do you mean a certain bot in the bots folder.
Cron job I can do easily. But the code is a bit harder for me to comprehend.

Post the code here
On Sun, 3 May 2020, 5:45 pm QuintenDeWilde<EMAIL_ADDRESS>wrote:

Which process or do you mean a certain bot in the bots folder.
Cron job I can do easily. But the code is a bit harder for me to
comprehend.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/linkfy/Tools-for-Instagram/issues/23#issuecomment-623140932,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFB4NEUJHN2N6DFUCRYAIJDRPWNQ7ANCNFSM4MTVVCVA
.

Yeah I noticed that my es6 is even worse then my basic js knowledge.
For the moment I just cleaned an existing code to the bare minimum of fetching the count of the hashtags.
I will need to figure out how to send that number via osc.
Thats another question for another place probably.
But what I can't figure out is that I can't seem to end the code and get back to the cli. Because that would be easier to create my cron job eventually?
Thanks again!
`require('../src/tools-for-instagram.js');
(async() => {
let hashtag = "lockdown";
console.log("\n -- Hashtag counter --\n".bold.underline);
let ig = await login();

let posts = await recentHashtagList(ig, hashtag);
console.log("Posts received with hashtag: ".cyan + posts.length);
let promises = [];
for (let i = 0; i < posts.length; i++) {
    let post = posts[i];

}
Promise.all(promises).then(function() {
    console.log("end");
});

})();`

Looks like you just posted half part of your script 😏....
require('../src/tools-for-instagram.js');
var schedule = require('node-schedule');

//install node-schedule with
//npm i node-schedule

(async() => {
  let ig = await login(acc);

  async function hashtag(ig) {
    let hashtag = "cat";
    console.log("\n -- Hashtag counter --\n".bold.underline);
    let ig = await login();

    let posts = await recentHashtagList(ig, hashtag);
    console.log("Posts received with hashtag: ".cyan + posts.length);
    let promises = [];
    for (let i = 0; i < posts.length; i++) {
        let post = posts[i];

    }
    Promise.all(promises).then(function() {
        console.log("end");
    });
  }
// every 10 minutes do hashtag job
     schedule.scheduleJob('*/7 * * * *', async function () { await hashtag(ig)});

})();

If it worked close the issue

Hi,
I would have run the corn job as a terminal python script. But this node-schedule is better.
Only thing is npm i node-schedule or others wont install or appear in my node_modules.
let ig = await login();

seems to be a duplicate declaration, no? I'm still struggling with the promise aspect of js.
So my apologies if I'm wrong.
Otherwise, you pretty much solved the whole thing for me so thanks ahead for that alone!

Yes sorry, I've edited the script , Make sure you're using the latest node
version, all installation should be ran at the root of the directory.
You're welcome.
On Tue, 5 May 2020, 1:35 pm QuintenDeWilde<EMAIL_ADDRESS>wrote:

Hi,
I would have run the corn job as a terminal python script. But this
node-schedule is better.
Only thing is npm i node-schedule or others wont install or appear in my
node_modules.
let ig = await login();
seems to be a duplicate declaration, no? I'm still struggling with the
promise aspect of js.
So my apologies if I'm wrong.
Otherwise, you pretty much solved the whole thing for me so thanks ahead
for that alone!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/linkfy/Tools-for-Instagram/issues/23#issuecomment-624028847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFB4NETJ46ANONSHNFOO47LRQABZPANCNFSM4MTVVCVA
.

Close the issue

I have to reopen this because I can't find the solution somewhere else.
I get this error
/home/pi/Tools-for-Instagram/bots/hashtagcount.js:14
    leg ig = await login();
        ^^

SyntaxError: Unexpected identifier
    at Object.compileFunction (vm.js:344:18)
    at wrapSafe (internal/modules/cjs/loader.js:1106:15)
    at Module._compile (internal/modules/cjs/loader.js:1140:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:10)
    at Module.load (internal/modules/cjs/loader.js:1040:32)
    at Function.Module._load (internal/modules/cjs/loader.js:929:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47

and used this code that you gave me @virginsince1997
require('../src/tools-for-instagram.js');
var schedule = require('node-schedule');

//install node-schedule with
//npm i node-schedule

(async() => {
  Console.log("Hashtag Script")

  async function hashtag(ig) {
    let hashtag = "cat";
    console.log("\n -- Hashtag counter --\n".bold.underline);
    let ig = await login();

    let posts = await recentHashtagList(ig, hashtag);
    console.log("Posts received with hashtag: ".cyan + posts.length);
    let promises = [];
    for (let i = 0; i < posts.length; i++) {
        let post = posts[i];

    }
    Promise.all(promises).then(function() {
        console.log("end");
    });
  }

// every 10 minutes do hashtag job
schedule.scheduleJob('*/10 * * * *', async function () { await hashtag(ig)});
})();

require('../src/tools-for-instagram.js');
var schedule = require('node-schedule');

//install node-schedule with
//npm i node-schedule

(async() => {
  Console.log("Hashtag Script")
let ig = await login();

  async function hashtag(ig) {
    let hashtag = "cat";
    console.log("\n -- Hashtag counter --\n".bold.underline);

    let posts = await recentHashtagList(ig, hashtag);
    console.log("Posts received with hashtag: ".cyan + posts.length);
    let promises = [];
    for (let i = 0; i < posts.length; i++) {
        let post = posts[i];

    }
    Promise.all(promises).then(function() {
        console.log("end");
    });
  }
// every 10 minutes do hashtag job
     schedule.scheduleJob('*/10 * * * *', async function () { await hashtag(ig)});

})();

Let me know if it works, I'm not always here

It works it was a very stupid mistake! Thanks thoug!
Op di 12 mei 2020 om 15:15 schreef virginsince1997<EMAIL_ADDRESS>

Let me know if it works, I'm not always here
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/linkfy/Tools-for-Instagram/issues/23#issuecomment-627337119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOARUKGQ5CK5N23OAHWPW3RRFDX3ANCNFSM4MTVVCVA
.

 Thanks thoug! Op di 12 mei 2020 om 15:15 schreef virginsince1997<EMAIL_ADDRESS>…
Let me know if it works, I'm not always here — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <#23 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOARUKGQ5CK5N23OAHWPW3RRFDX3ANCNFSM4MTVVCVA .

OK sir, no worries.

@virginsince1997 I'm sorry I have to bother you with this somewhat non related question.
But as I'm stuck with this last piece of my project I'm in despair to find solutions for it. And again it's the part I know least of, the javascript.
I got the example (perfectly working code! :)) you gave me. I want the value or number of the hashtag to be used in another function. This function is a small osc nodejs based code that sends a value to my main project. And I want the number of hashtags to be the value that's send to my other software (sonicpi). But for some reason the basic javascript I know is not working (real basic I mean ofcourse)
I figured out that this works asynchronous. But I have no clue how to get this working and I'm running out of time for the project :/
If you find the time to spare to just take a look at this? I'd would be very greatly appreciated!

require('../src/tools-for-instagram.js');
var schedule = require('node-schedule');

(async() => {
    console.log("Hashtag Script")
    let ig = await login();

    async function hashtag(ig) {
        let hashtag = "cat";
        console.log("\n -- Hashtag counter --\n".bold.underline);

        let posts = await recentHashtagList(ig, hashtag);
        console.log("Posts received with hashtag: ".cyan + posts.length);

	const OSC = require('osc-js')

	const config = { udpClient: { port: 4560 } }
	const osc = new OSC({ plugin: new OSC.BridgePlugin(config) })

	osc.open(); // start a WebSocket server on port 8080

	// For most Ports, send() should only be called after the "ready" event fires.
        oscPort.on("ready", function() {
            oscPort.send({
                address: "/osc*/play/note",
                args: [{
                    type: "f",
                    value: 440 // here should the number of the hashtag result come...
                }]
            });
        });
        let promises = [];
        for (let i = 0; i < posts.length; i++) {
            let post = posts[i];

        }
        Promise.all(promises).then(function() {
            console.log("end");
        });
    }
    // every 10 minutes do hashtag job
    schedule.scheduleJob('*/10 * * * *', async function() { await hashtag(ig) });

})();

Looks like you just posted half part of your script 😏....
require('../src/tools-for-instagram.js');
var schedule = require('node-schedule');

//install node-schedule with
//npm i node-schedule

(async() => {
  Console.log("Hashtag Script")

  async function hashtag(ig) {
    let hashtag = "cat";
    console.log("\n -- Hashtag counter --\n".bold.underline);
    let ig = await login();

    let posts = await recentHashtagList(ig, hashtag);
    console.log("Posts received with hashtag: ".cyan + posts.length);
    let promises = [];
    for (let i = 0; i < posts.length; i++) {
        let post = posts[i];

    }
    Promise.all(promises).then(function() {
        console.log("end");
    });
  }
// every 10 minutes do hashtag job
     schedule.scheduleJob('*/10 * * * *', async function () { await hashtag(ig)});

})();

Hey, I've been using this script for a while now. I thought this worked but I see that whatever keyword I give or how many times I run it. The result is always either 84,85,86 is this coincidence or is the script not working?
Any help is kindly appriciated!

recent hashtag list are the last posted ones on that hashtag, right now there ate 2 options:
-scans the same hashtag every x minutes and make a database,
-use the web api and get older hashtags by using the "next cursor"
-modify the current library to accept a new parameter to scan older recent hashtags recentHashtagList(ig, hashtag) to something like recentHashtagList(ig, hashtag, defaultIterations = 1)


ESP32

just turn to use the ESP32's API to do the same thing.

rigardu la nomon de la repo. ĝi diras esp8266 ne esp32 do tial la repo ne subtenas esp32

那我是应该开一个分支或者怎么样？

Thanks for the PR. I think the best way is to fork this repositoy and apply your changes and I will link to it in the readme.

Nice idea~, I have done what you said: https://github.com/Tnze/esp32_beaconSpam
By the way, is that error "wifi: out of memory" a normal phenomenon?


Create Yelp API functionality

Added a search for dog friendly businesses to our submit button. Currently, it retrieves the businesses but returns as Undefined under the name. Will look into getting this resolved.


Fixed opengl error 1282(INVALID_OPERATION) on window.setActive(true)

[ ] Has this change been discussed on the forum or in an issue before?
[x] Does the code follow the SFML Code Style Guide?
[x] Have you provided some example/test code for your changes?
[ ] If you have additional steps which need to be performed list them as tasks!

Description
Prevents OpenGL error 1282 which is INVALID_OPERATION when making a window active.
It's fix for fix, changes nothing except error in console.
I was confused by this error message, I thought there's a problem with my code.
After some investigation, I've found what was causing 1282.
I compiled SFML with SFML_DEBUG to make sure error produced by SFML, and error was confirmed.
This PR is related to the issue #
Tasks

[x] Tested on Linux
[ ] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
#include <SFML/Graphics.hpp>

sf::RenderWindow *createWindow(
  const std::string &title,
  uint width,
  uint height,
  sf::ContextSettings settings
) {
  auto* window = new sf::RenderWindow();

  sf::VideoMode vm(width, height, 16);

  window->setVerticalSyncEnabled(true);
  window->create(vm, title, sf::Style::Default, settings);
  window->display();
  glViewport(0, 0, width, height);

  return window;
}

int main()
{
  sf::ContextSettings creatorSettings(0, 0, 4, 4, 5, sf::ContextSettings::Core, false);
  sf::ContextSettings linkerSettings(0, 0, 1, 1, 5, sf::ContextSettings::Default, false);

  // works with 330 shaders
  auto* creatorWindow = createWindow(
    "Icons Creator",
    windowSize,
    windowSize,
    creatorSettings
  );

  // works with sf::Image/Sprite/Texture
  auto* linkerWindow = createWindow(
    "Icons Linker",
    windowSize,
    windowSize,
    linkerSettings
  );

  // Before it'd produce OpenGL 1282(INVALID_OPERATION) error
  creatorWindow->setActive(true);

  // And here I compile 330 shader, which cannot be compiled without
  // window activation.
  //...
}

P.S. I tried look deeper, I tried to find what's wrong with architecture, and I couldn't find any weak/wrong code.
P.P.S. I saw PR which fixes same error, and it doesn't work for me since I'm on 2.5.1, and the PR was merged.

I just tested your code on Linux. Yes... it was broken in 2.5.0, and with 2.5.1 the error is gone for me.
I also have difficulty understanding what your change is even supposed to achieve. You are essentially unbinding the framebuffer bindings only if they were not already unbound before. The end effect of this is basically equivalent to the code you are replacing on all conforming OpenGL implementations.
What is the actual cause of the problem (if it even still exists on 2.5.1)? Until now you have only presented the symptoms and provided a way to get rid of them instead of getting to the root of the problem itself.

Might have been a driver quirk in either case? How could any binding operation even fail if it's basically just supposed to replace (or keep) an integer?

Well, ok, here's explanation.
My code creates cube, puts texture on it, renders into created framebuffer with color and depth renderbuffers attached, then I read the picture with glReadPixels and call image.create(x, y, data).
First part(until reading from buffer) is done by "creatorWindow" and with OpenGL 3.3 and 330 GLSL.
I've that part of code in my codebase.

@EKashpersky Can you retest this an sure you're really using SFML 2.5.1, as binary1248 said it's working correctly for him. 🤔

@EKashpersky Can you retest this an sure you're really using SFML 2.5.1, as binary1248 said it's working correctly for him. 🤔

Should be fixed already on master


Adjust to hide side menu including shadow

Do you have any reasons for opening this?
Albeit a sloppy fix, this is to avoid having random box-shadows over your content if you have any on the side-nav

In the current implementation, the side-nav shadow is displayed a bit on the left side of the screen when side-nav hidden.
I think that should not the shadow on the far left when side navigation is hidden.


Stubs that reexport a module unintentionally reexport imports in that module breaking autocomplete etc.

Stubs that reexport a module (e.g. microbit.audio) unintentionally reexport imports in that module breaking autocomplete and type checking.
See https://github.com/microbit-foundation/python-editor-next/pull/408#issuecomment-1006581923

I think it's important to fix this before user testing as it makes the autocomplete quite confusing.
I've tried an __internal module rexported by microbit but the name ends up leaking in the full names of the API doc entries. We could fix that but it would be a bit unnatural.
The problem is that
from . import X

is defined to make X public. See docs.
We want the definition of e.g. pin0 to be in microbit/init.py but it needs to be used from other files. When they import it they do so in a way that makes it public. If we use underscores when we import it that fixes it but then the underscores they appear in the signatures, e.g. play(..., pin=__pin0).
It turns out you can sidestep the from . import X rule with from ..foo import X which is what I've done.


Problem running scripts

Hello,
I am just learning AppleScript and trying to run the following simple script:
tell application "Finder" to get the index of Finder window "Macintosh HD"
It runs fine in ScriptEditor giving me the answer: 1
The first time I ran it in VSCode with this extension, it worked. But now I get the following error in the results window:
osascript: extension-output-idleberg.applescript-#1-AppleScript: No such file or directory
Whatever script I run, I get this error. The scripts compile fine, but I can never run them.
I am using all the default options except the option to always show the results.
I have tried reinstalling the extension, restarting VSCode and recreating the files with the script, but none of those worked.
As I say, I am completely new to AppleScript, so maybe there is something obvious I am doing wrong, but I can't figure it out.

Did you save the script?

Did you save the script?

I saved it in a Onedrive folder but the file is on the local drive. It could be a Onedrive-related issue, but I tried again with a new script saved to the local drive, but had the same problem.
One thing: I did delete the script and recreate it. Could that have messed up the references some how? However, I have reinstalled the extension, created new scripts, restarted VS Code and the computer all since then, and still get the problem.


[Redis] Cache:has() always returns true, even if key doesn't exist.

RedisStore needs it's own has() method. The inherited has() method is checking if the returned cache key is null, but Predis and PECL Redis return false if the key does't exist, not null

Aren't there any unit tests for this?

Don't think there are. I think we have some for array cache only.

Homestead PECL get returns null, but on Heroku PECL returns false.

Strange, but I am using Predis and it works fine. @tillkruss

I'm using the PECL extensions and it works fine on Homestead, but not on Heroku, because for some reasons Cache::get() returns false if the keys doesn't exist.

I've seen the Illuminate\Cache\Repository. It depends on the $store->get() method to find out if key exists or not. If $store->get() equals null, then only the Cache::has() method will return false.
PECL Redis documentation says that the value will either be a string or a boolean:
https://github.com/phpredis/phpredis#get
Homestead and Heroku must be using something different.

But Laravel uses https://github.com/nrk/predis internally, which returns null for inexisting keys. Or not?

https://gist.github.com/tillkruss/27eda66e77280f1ba727


Bug295 unable to add whole human assembly

Added zlib.constants.Z_BEST_SPEED -option to createGzip() method

I tried this out and I was still able to reproduce the failure with very large FASTA files.
@kyostiebi, I think this might be due to timeouts. The below change seemed to fix it on my computer, could you try it as well?
diff --git a/packages/apollo-collaboration-server/src/main.ts b/packages/apollo-collaboration-server/src/main.ts
--- a/packages/apollo-collaboration-server/src/main.ts
+++ b/packages/apollo-collaboration-server/src/main.ts
@@ -91,7 +91,9 @@ async function bootstrap() {
     }),
   )

-  await app.listen(PORT)
+  const server = await app.listen(PORT)
+  server.headersTimeout = 24 * 60 * 60 * 1000 // one day
+  server.requestTimeout = 24 * 60 * 60 * 1000 // one day
   // eslint-disable-next-line no-console
   console.log(
     `Application is running on: ${await app.getUrl()}, CORS = ${cors}`,

Timeouts were enough. Now, it works (also with Node 20) even there is no BEST_SPEED option.


No Overflowing* traits.

There are currently no Overflowing* traits like there are Checked and Wrapping traits.

You're right, but this seems like a fine idea. #165 is also adding more Saturating traits.

Closed by #180.


chore: v3 announcement blog post

Description
Target: July 14

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Thanks a lot, @sapphi-red. Would you also check the bundle size numbers so we confirm they are right? I used packagephobia.

I have confirmed that those are correct 👍 I tested with pnpm pack+npm i ./vite-*./tgz.
(Actually the current main branch's "Publish Size" was 3.07MB. 3.0.0-beta.10 was 3.06MB on my PC so it seems to be because of the rounding.)


Increase ARM64 lightuserdata mapping from 8 to 16 sectors

:tada: This PR is included in version 4.10.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Logging: certain fasthttp errors are not using our logger.

Behavior: 2021/10/23 02:47:15 error when serving connection "[redacted]:[redacted]"<->"[redacted]:[redacted]": error when reading request headers: cannot find http request method
Expected: 2:47AM ERR REMOTE_ADDR=[redacted]:[redacted]  error when reading request headers: cannot find http request method (roughy)
This means certain fasthttp errors won't be in our JSON log as well. I'll address this soon.

Fixed with this commit.


DFS

It would be nice to have precision on DFS parameter supported :

Do we support DFS-R + DFS-N ?
Should we use specific targeting for DFS target ?

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

ID: f3ca816c-d7cf-500e-4710-8693b584b5ab
Version Independent ID: 511bacc3-dd79-52bd-a4a2-baa667693b68
Content: File sharing high availability in Skype for Business Server
Content Source: Skype/SfbServer/plan-your-deployment/high-availability-and-disaster-recovery/file-sharing.md
Product: skype-for-business-itpro
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

@MicrosoftHeidi - can you handle this one please? I assigned the related VSO item to you - 2691961

Hello,
Do we have any update regarding this query ?
Thank you.

Thanks for your follow-up. This is not in my current sprint, I will be looking at it in CY19. I need to identify a good resource to discuss this with.

Hi @ThomasBIDAULT , you should use DFSN and DFSR, install both roles, etc. The article redirect you to https://go.microsoft.com/fwlink/?LinkId=524384 which explains this.

@ThomasBIDAULT  Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


How can I drag nodes onto a random DIV?

Hello, vakata. First please let me compliment your jsTree. Great module!
And..., I have a question as the title.
I know that I can realize similar thing using move_node.jstree event.
But, this event is for a specific DIV, right?
The below code is working in a specific DIV id:
$('div').on('move_node.jstree', function (e,data) {
console.log("moved.");
console.log("this is moved node.",data.node);
console.log("parent.",data.parent);
console.log("old_parent.",data.old_parent);
});
but, not working between some div id and other div id.
thanks for your help.

If you want to use DIV to DIV drag'n'drop you have to use the low-level vakata.dnd functions. The jstree ones only work in the context of a tree. Those are not documented, but I have used them numerous times for random dnd stuff: https://github.com/vakata/jstree/blob/master/src/jstree.dnd.js#L408


Add Property Condition Monitoring Feature for Rental Properties

We need to implement a feature that allows landlords to monitor the condition of their rented properties. This feature will enable landlords to check and document the state of the property at various intervals, ensuring that tenants are maintaining the property as per the rental agreement. The system should allow landlords to schedule regular inspections and record any damages or maintenance issues observed during these checks. Additionally, landlords should be able to set reminders for inspections and communicate any concerns directly to tenants, helping to ensure that properties are kept in good condition throughout the rental period.
]
The feature will enable landlords to document the property's condition with detailed logs, including photos and notes about specific areas or items that may require attention. Landlords can also schedule regular inspections and set reminders to check the property at agreed intervals, promoting accountability among tenants to maintain the property as per the rental agreement. Additionally, the system will allow landlords to record any damages or maintenance issues identified during inspections, categorizing them by type and severity for better tracking. To enhance communication, landlords will be able to inform tenants of any concerns regarding property condition, requesting necessary repairs or maintenance directly, ensuring that properties are kept in good shape throughout the rental period.

Good evening Gaurav
Do I have to start working on this feature??
On Sun, Oct 20, 2024, 6:22 PM github-actions[bot] @.***>
wrote:

Congratulations, @ykchoudhary110 https://github.com/ykchoudhary110! 🎉
Thank you for creating your issue for Rentalog. Your contribution is
greatly appreciated and we look forward to working with you to resolve the
issue. Keep up the great work! Should you have any queries or require
guidance, do not hesitate to ask.
—
Reply to this email directly, view it on GitHub
https://github.com/gauravsingh1281/Rentalog.in--Frontend/issues/444#issuecomment-2424945660,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCZCQY2R23GWIIC44FKIUXDZ4ORRPAVCNFSM6AAAAABQIPVZR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRUHE2DKNRWGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Good Afternoon Gaurav
Can you tell me that what is the deadline for submition of assigned work.


Samples: Bluetooth: Increase main stack size for iso_receive

Starting the sample on an nRF53 caused a stackoverflow
on boot.
Signed-off-by: Emil Gydesen<EMAIL_ADDRESS>

Closed as the prj.conf works, even though it's near capacity


[feat] Support OP_PUSHBYTES_X in compiler

Currently, the compiler uses the term OP_DATA_X for opcodes 0x01-0x4b, but some Bitcoin script sources use the term OP_PUSHBYTES_X instead of OP_DATA_X. We should support these in the compiler by adding the OP_PUSHBYTES_1-OP_PUSHBYTES_75 opcodes, which will map to the equivalent OP_DATA_X ops.
compiler

Can I do this please

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a blockchain developer and I would love to be assigned this please

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
hello can i work on this

hello @b-j-roberts can i work on this

hello @b-j-roberts please can i work on this

Hey @b-j-roberts  can I work on this as this is my first contribution to the shinigami

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience working on compilers and blockchain technology, where attention to detail and deep understanding of low-level operations are crucial. My familiarity with opcode mapping and script standards in Bitcoin allows me to effectively integrate and extend existing functionality. This background enables me to implement support for new opcodes like OP_PUSHBYTES_X while maintaining consistency with the current system.
How I plan on tackling this issue
I’d begin by reviewing the compiler’s handling of existing OP_DATA_X opcodes and understanding how they are mapped. I would then analyze the Bitcoin script sources using OP_PUSHBYTES_X terminology to ensure the implementation aligns with those standards. The next step would be to add the OP_PUSHBYTES_1-75 opcodes in the compiler and map them to the corresponding OP_DATA_X equivalents. I’d validate the changes through rigorous testing to confirm that the new opcodes work seamlessly within the existing framework while maintaining backward compatibility.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience in compiler design and blockchain technology, particularly in handling opcodes and script languages. My background includes working with low-level operations in Bitcoin scripts, enabling me to adapt and extend compiler functionality. This experience is directly applicable to implementing support for OP_PUSHBYTES_X opcodes in alignment with existing OP_DATA_X mappings.
How I plan on tackling this issue
I would first examine the current handling of OP_DATA_X opcodes in the compiler to understand how they are mapped. Next, I’d research Bitcoin script sources that utilize the OP_PUSHBYTES_X terminology to ensure compatibility. My approach involves introducing the OP_PUSHBYTES_1-75 opcodes and mapping them directly to the equivalent OP_DATA_X codes in the compiler. Comprehensive testing will be conducted to ensure these new opcodes integrate smoothly, maintaining both functionality and consistency across the system.

@od-hunter thanks, let me know if you have questions!

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

@b-j-roberts let work, i have an idea on how to solve this


Advert Not Playing / Freezing On First Frame on iOS

Hey, I'm trying to get a really simple implementation of this working on iOS. My code is here:
https://www.happiest.net/vast_instant_article.html
It's working perfectly fine on all desktop browsers, but on iOS it freezes on the first frame of the advert. Having experimented with the advanced example, I can see that it triggers "Ad event: loaded", but Ad event: Start is never called.
If I click on the ad a few times (pause, then play it) then it does start eventually, but the actual video then refuses to play after the advert.
A video of the issue can be found here: https://www.dropbox.com/s/wgr6u1m5mer992m/video_ads_issue_iOS.mov?dl=0
Weirdly the example / samples (https://googleads.github.io/videojs-ima/) work perfectly on iOS, but when I run essentially the exact same code; for me it's not working and for the life of me I can't figure out why.
I've attempted getting it to work with version 1.0.4, 1.0.3 and 1.0.1 and haven't managed to get it working on any version.
Here's my full code:
<!doctype html>
<html>

	<head>
		<link rel="stylesheet" href="//www.happiest.net/node_modules/video.js/dist/video-js.min.css?=1" />
    	<link rel="stylesheet" href="//www.happiest.net/node_modules/videojs-contrib-ads/dist/videojs.ads.css?=1" />
    	<link rel="stylesheet" href="//www.happiest.net/node_modules/videojs-ima/dist/videojs.ima.css?=1" />
	</head>

	<body style="margin: 0px;">

	        <video id="content_video" class="video-js vjs-default-skin"
		        poster = "https://www.happiest.net/wp-content/uploads/2018/01/dog-shot-in-head.jpg" controls preload="auto" width="640"
		        height="360">
		      <source src="https://storage.googleapis.com/happiest-site.appspot.com/example_video.mp4"
		          type="video/mp4" ></source>
		    </video>

		    <!-- Load dependent scripts -->
		    <script src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script>
		    <script src="//www.happiest.net/node_modules/video.js/dist/video.min.js?=1"></script>
		    <script src="//www.happiest.net/node_modules/videojs-contrib-ads/dist/videojs.ads.min.js?=1"></script>
		    <script src="//www.happiest.net/node_modules/videojs-ima/dist/videojs.ima.js?=1"></script>
		    <script src="//www.happiest.net/video_ads_test.js?=3"></script>

	</body>

</html>

And the video_ads_test.js contents:

var player = videojs('content_video');

var options = {
  id: 'content_video',
  adTagUrl: 'https://an.facebook.com/v1/instream/vast.xml?placementid=TEST_PLACEMENT_ID&pageurl=test.com&__mref=message_bubble'
};

player.ima(options);

// Remove controls from the player on iPad to stop native controls from stealing
// our click
var contentPlayer =  document.getElementById('content_video_html5_api');
if ((navigator.userAgent.match(/iPad/i) ||
      navigator.userAgent.match(/Android/i)) &&
    contentPlayer.hasAttribute('controls')) {
  contentPlayer.removeAttribute('controls');
}

// Initialize the ad container when the video player is clicked, but only the
// first time it's clicked.
var startEvent = 'click';
if (navigator.userAgent.match(/iPhone/i) ||
    navigator.userAgent.match(/iPad/i) ||
    navigator.userAgent.match(/Android/i)) {
  startEvent = 'touchend';
}

player.one(startEvent, function() {
    player.ima.initializeAdDisplayContainer();
});

Can anyone see where I might be going wrong?

Hi all, any update on results from the above suggestion? Thanks!

I'm going to close this out since we haven't heard back in a few weeks - if it's still an issue for you feel free to re-open or start a new issue. Thanks!


add option --allow-u

Just tried current master and got some errors with yt-dlp (not on every m3u8 but on some streams vom dmax).
Adding --allow-u to yt-dlp "" -o  fixes this.
[generic] master: Downloading webpage
[generic] master: Downloading m3u8 information
[info] master: Downloading 1 format(s): 9301+audio-aacl-125-English
[hlsnative] Downloading m3u8 manifest
ERROR: This video is DRM protected; Try selecting another format with --format or add --check-formats to automatically fallback to the next best format


[FLOC-1321] New interface for Deployers

https://clusterhq.atlassian.net/browse/FLOC-1321

Thanks, looks good.

Thanks.  Looks pretty good.  Only thing I notice is there aren't any simple, direct unit tests for the new change_node_state function.  It is exercised a lot by complicated functional tests but a simple unit test for it (independent of any complicated IDeployed behavior) would probably be good.
Please add that and then merge.

Pretty sure ChangeNodeStateTests are isolated unit tests that cover change_node_state in the way you want. Not the best tests ever, but it's coverage.


v2.14 with "-l" not emitting all matching files.

Using standalone ack v2.14:
> echo ' ' >space-newline.txt
> echo $' \n' >space-newline-newline.txt
> ack ' $' space-newline*.txt
space-newline-newline.txt
1:

space-newline.txt
1:
> ack -l ' $' space-newline*.txt
space-newline.txt

This works fine with standalone ack v2.12.

@petdance can any assistance be rendered to do a release?

I also just ran into a case where ack ' $' returned results, but ack -l ' $' returned nothing.

@petdance : I can also help.

This should be fixed now.

@hoelzro: thanks! Do you know when a new release will be made to CPAN?

@shlomif That's up to @petdance!

@hoelzro : I see. It's been taking him a very long time, unfortunately.

Looks like this went out in 2.16.


[DOC] Add info about Data Prepper in Tools overview topic

What do you want to do?

[x] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
In our Tools overview topic, we don't mention Data Prepper. Let's add a summary of Data Prepper here: https://opensearch.org/docs/latest/tools/index/#agents-and-ingestion-tools.
Also, please check this property, as it may have been removed in 2.0: if "override_main_response_version": true
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Hi Nate, can you please add a summary about Data Prepper? I sent a message to marketing to see if they have some messaging around it.

Marketing will have some content on DP positioning in about 2+ weeks. For now, we should at least point to the Data Prepper documentation.


Change various Gen* return types in EquaSet/SortedEquaSet

also removed vestiges of zip/unzip/scan from concrete implementations of EquaSet/SortedEquaSet, and added some additional tests.

@cla-bot[bot] check


Smart Contracts Improvements

ContarctPackageHash::from(&str).
Contracts to stake CSPR.
Stored Session to be able to source CSPR from main purse.
Query state via package hash.
Call package hash using TestSupport (via hash and namedkey)
Increase dict key limit
Entrypoints name aliases.
Inheritence, DSL
Refactor dictionaries interface.
Nested Map with diff types. Maybe a large Tuple?
Allow to get "self-address".
https://github.com/casper-network/casper-node/issues/1808

CC @zie1ony @Fraser999 @MParlikar


Auth: Making logging out fast and simple

Laravel Version: 5.3
PHP Version: Irrelavent
Database Driver & Version: Irrelavent

Description:
Hi,
This is more of a suggestion. The new Laravel Auth::routes() register routes for authentication purposes and is by default placed in the web routeing group which forces CSRF token verification.
This is all cool but one: the logout route is forced by POST and requires CSRF tokens. Not only this is a nuisance to make a form, force a click event to submit that, but a kind of security risk. The logout (as far as I experienced) should have no checks and be an any route. anywhere in the process, the client should be able to quit as fast and simple as possible.
Consider this: the user has left his session on for a while; The token which lives shorter than the whole session, expires and another [good willing] user tries to log out and carry on with another task. The third party in question is forced to reload the page, probably see some of first party user's info [unintentionally] and log out through a post request that can't be done unless the page is loaded.
This whole process would have been shorter if the logout button was a link to logout URL, using a get request.
I myself have tried enforcing an exception through redefining VerifyCsrfToken in LoginController's constructor, but the web group middlewares take precedence naturally.
Thanks

Thanks for getting in touch. Feel free to discuss this on the forums. We are happy with our logout implementation at the moment though. It matches what big players such as GitHub and Twitter do too.

the logout route is forced by POST and requires CSRF tokens. Not only this is a nuisance to make a form, force a click event to submit that, but a kind of security risk.

... or just show a form, and a normal submit button. No need for javascript.

The logout (as far as I experienced) should have no checks and be an any route. anywhere in the process, the client should be able to quit as fast and simple as possible.

This would also allow the Evil Hacker Sisve to add a <img src="http://homestead/logout" /> somewhere (perhaps inline in a GitHub comment), to make your browser issue a GET request and log you out.

Consider this: the user has left his session on for a while; The token which lives shorter than the whole session, expires and another [good willing] user tries to log out and carry on with another task.

The token is stored within the session, and its lifespan should match that of the session. Are you describing a scenario where two users have a shared computer that is left logged in for some time before the next user uses the computer?

The third party in question is forced to reload the page, probably see some of first party user's info [unintentionally] and log out through a post request that can't be done unless the page is loaded.

The third party already has full access to everything; he is logged in as the user. The third party could choose not to press the logout anyway, and just go to "view my credit card details" or any other similar page.
Since the complete session has timed out and is no longer available; what you describe is the "remember me" checkbox in the default login dialog. The browser still has enough cookies to login the user again, and the user has authorized the browser to keep this information. The security issue is allowing an untrusted third party to use the same browser while still logged in.


Allow Exchange Implementors to Easily Provide a Subset of Features

I am interested in implementing this feature.  I think it will require at least a little refactoring.
This could provide

The supported featureset to expand without increasing maintenance and implementation immediately
Ease of supporting exchanges with poor featuresets
The creation of generic applications which can query exchanges for feature support in order to intelligently consolidate the data they provide

From #578:

Now that so many exchanges are supported, we could re-work the polling services so that when it is
extended, not every method needs be implemented. A generic "method not implemented" exception
could be thrown.
For instance, say someone is adding a new exchange implementation to XChange. They're doing the
market data service implementation. The exchange doesn't have an API method for bulk tickers. The dev
doesn't have to think about getBulkTickers(). They don't even mention it in their
NewExchangePollingMarketDataService, and if an end user attempts to call the method, they just see
that the method is not available for NewExchange

This would also help allow #1096 #1098 .
Ideas for how this might be implemented:

Base classes for exchange services (rather than interfaces)

takes e.g. EnumSet of supported features in constructor
provides default implementations which throw NotAvailableFromExchangeException
this new base class would break inheritance tree for exchanges where generic services inherit from raw services.  composition could be used instead, providing a getter.

Providing registerServiceFeature() on e.g. Exchange to register features as callbacks or add them to a list
other?

used inconsistent username to make this issue, closing to open with same user I've used elsewhere to contribute


add export to be environmental variables.

Description
adding export to be environmental variable would be better for user-friendly installation doc, because that user would be likely to copy and paste the command described in this shell session to the terminal to process the installation.
Signed-off-by: Tomoya Fujita<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

N.A
<!-- Enter the release note text here if needed or remove this section! -->

Those are just shell variables, user cannot use the following procedure via terminal

root@edgemaster:~# CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/master/stable.txt)
root@edgemaster:~# CLI_ARCH=amd64
root@edgemaster:~# if [ "$(uname -m)" = "aarch64" ]; then CLI_ARCH=arm64; fi
root@edgemaster:~# env | grep CLI

Successfully exported as environmental variable

root@edgemaster:~# export CILIUM_CLI_VERSION=$(curl -s https://raw.githubusercontent.com/cilium/cilium-cli/master/stable.txt)
root@edgemaster:~# export CLI_ARCH=amd64
root@edgemaster:~# if [ "$(uname -m)" = "aarch64" ]; then CLI_ARCH=arm64; fi
root@edgemaster:~# env | grep CLI
CLI_ARCH=amd64
CILIUM_CLI_VERSION=v0.12.11

Hi @fujitatomoya and thanks for the PR.
Theses variables don't need to be exported for the steps to work, instead of env | grep CLI one can use set | grep CLI to find shell variables. I would be inclined to remove export from export HUBBLE_VERSION instead for consistency and avoiding unnecessary export. What do you think?

Another argument in favour of removing unnecessary exports is that the syntax for exporting variables might differ for some less common shells (fish, for example, I think?).

Okay, that also makes sense to me. I wasnt clear that if those are intended to be shell variables or environmental variable using terminal console. probably just remove export to keep the consistency, that would be better, fix coming up soon.

@kaworu @qmonnet could you help review again? thanks!


Added demo

What this PR does / why we need it: Added a link for a demo video that shows how to install the different component: AAD Pod Identity and Secure Storage CSI driver for Key Vault, then how to use it from a Pod in AKS.
Which issue(s) this PR fixes (optional, using fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #59 (demo to show how the solution works)
Special notes for your reviewer: I'm also working on a detailed article :)

@HoussemDellai looks like your latest merge may have overwritten your changes.

Now fixed :)

Thank you so much Rita


Computer brands feature request

Is your feature request related to a problem? Please describe.
Very nice project by the way. I would like to update to Computer provider with computer brands. And after provide some more Providers.
Describe the solution you'd like
I would like to provide a code to update the Computer provider with available brands on the market such as: such as Apple, HP, Asus etc...
Additional context
We hope my contribution will help.

Hi @HattoriHenzo , we would more than welcome such contribution! Feel free to make the changes, we can probably include this in the 1.8 release!

@HattoriHenzo are you tackling this?  If not I might take a shot at it.

@kingthorin Hi, I already send a PR for this.

Oh sorry, I didn't see it linked here. I'll go find it.

I guess datafaker-net/datafaker#654 closes this :grinning:
For future reference :wink<EMAIL_ADDRESS>


[Waiting for stakeholders answer] The "Site name" field should allow

The "Site name" field should allow:
- Only letters
- Letters and numbers
- Letters, numbers and special characters
- if with special characters then what's the full character selection?
- Unicode or ASCII or Custom section?

Answer: TBD

The "Site name" field should allow:
- Only letters
- Letters and numbers
- Letters, numbers and special characters
- if with special characters then what's the full character selection?
- Unicode or ASCII or Custom section?
there are no specific restrictions, all the above-mentioned things should be allowed.


Dimmer EcoDim Eco-Dim.07 (brightness)

Issue description
This device seems to work fine except that it doesn't hold the brightness value in the dimmer switch within Domoticz. If set, the lamp responds as expected but the dimmervalue in Domoticz immediately is reset to 0 (whilst the lamp stays on). Hope this can be fixed.
Additional information
Zigbee2MQTT version: v.1.22.2 (zStack3x0 20210708)
Python version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
Domoticz version: 2021.1 (build 14105)
Plugin version: v.3.1.0-beta
Logs
Exposure from Z2M:
{     "brightness": 79,     "linkquality": 57,     "state": "ON" }
Logging from Z2M frontend upon switching on:
Debug: Received MQTT message on 'zigbee2mqtt/Stekkerdimmer 01-Dressoir/set' with data '{"state": "ON", "brightness": 78}' Debug: Publishing 'set' 'brightness' to 'Stekkerdimmer 01-Dressoir' Debug: Received Zigbee message from 'Stekkerdimmer 01-Dressoir', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0 Info:  MQTT publish: topic 'zigbee2mqtt/Stekkerdimmer 01-Dressoir', payload '{"brightness":74,"linkquality":51,"state":"ON"}' Info:  MQTT publish: topic 'zigbee2mqtt/Stekkerdimmer 01-Dressoir', payload '{"brightness":78,"linkquality":51,"state":"ON"}' Debug: Received Zigbee message from 'Stekkerdimmer 01-Dressoir', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":78}' from endpoint 1 with groupID 0 Debug: Received Zigbee message from 'Stekkerdimmer 01-Dressoir', type 'attributeReport', cluster 'genLevelCtrl', data '{"currentLevel":79}' from endpoint 1 with groupID 0 Info:  MQTT publish: topic 'zigbee2mqtt/Stekkerdimmer 01-Dressoir', payload '{"brightness":78,"linkquality":54,"state":"ON"}' Info:  MQTT publish: topic 'zigbee2mqtt/Stekkerdimmer 01-Dressoir', payload '{"brightness":79,"linkquality":54,"state":"ON"}'

I think this is in essence same issue as in:  https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/714

Closing as clone of #714


filesystems supported

I think you should explicitly list in the documentation which filesystems are supported - many people use f2fs on their Pi's these days (including me) and it would be nice not having to go down a rabbit hole and hit a dead end with this when it could have easily been avoided.

I think it would be even better to add some code which checks whether pishrink supports the image passed in. In your case it would make sense to add a check for ext4 on the second partition. Just mount the image on a loop device and check the partitioning.


--wait returns true when pod cannot start

Hi,
I've just observed the fact that helm install --wait, which resulted in a pod being in an ImagePullBackOff state returned true.
Is this expected behaviour?  Because reading the help about wait it doesn't seem so:
"if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful."
❯ helm version
Client: &version.Version{SemVer:"v2.7.2", GitCommit:"8478fb4fc723885b155c924d1c8c410b7a9444e6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.7.2", GitCommit:"8478fb4fc723885b155c924d1c8c410b7a9444e6", GitTreeState:"clean"}

Yes, I believe this is to be expected behavior. IIRC --wait was implemented to wait until pods, pvcs, services etc. are all in a non-initial state, whether that be in "ready", "failed" or "errored" states. Feel like making a PR to clarify that assumption?
cc @thomastaylor312, am I right on that assumption?

If that is the case, it'd be nice from a CI/CD perspective if we could add wait-until-running which waits for things to pass their readinessProbes
Thoughts?

@Stono Is this still an issue for you?

also pinging @kenden. Can you bump the thread with what you're observing in helm 2.9?

I'm experiencing this problem with Helm v2.8.2 on k8s v1.7.12

I'm also experiencing this problem with Helm v2.9.0 and k8s v1.8.4:
$ helm upgrade --wait --set image.tag=v201 --set namespace=testing --namespace=testing mystuff etc/helm
Release "mystuff" has been upgraded. Happy Helming!

LAST DEPLOYED: Thu May 10 14:21:40 2018
NAMESPACE: testing
STATUS: DEPLOYED

RESOURCES:

==> v1/Service
NAME     TYPE       CLUSTER-IP    EXTERNAL-IP  PORT(S)  AGE
mystuff  ClusterIP  <IP_ADDRESS>  <none>       80/TCP   3h

==> v1beta1/Deployment
NAME     DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
mystuff  1        1        1           0          3h

==> v1/Pod(related)
NAME                      READY  STATUS             RESTARTS  AGE
mystuff-6d448567dc-b72rq  0/2    Terminating        0         30m
mystuff-77c77fd76f-6dxbm  0/2    ContainerCreating  0         2s

and then helm exits successfuly

I believe I found the issue with this. I am trying out a fix right now

Ok, update on the issue. Due to the nature of how k8s handles different versions API objects, the fix for this will be non-trivial, hacky, and likely brittle based on all current observations. I'll be bringing this up in the Helm dev call this next week for further discussion and ideas

This is a real issue, especially in CI/CD environments .. I would love to see this treated with a little more urgency :slightly_smiling_face:

I am trying to scrape together the time to do it. Hoping I can get to it next week.

Might be relevant: https://github.com/kubernetes/helm/issues/4210#issuecomment-398810327

Any updates on this?
Thanks a lot for your work on it @thomastaylor312

Is this still a problem? I've been testing with Helm v2.12.3 and Kubernetes v1.15.0 and haven't seen any issues.

I am not sure if it is for Helm 2, but it has been completely fixed in the latest Helm 3 alpha


Output the channel specification.

Hi!
This replaces the 'describe' step with one that stores the channel specification as an output.
This output can be saved and used as an input for a later run (e.g. to check reproducibility or restore an artifact).

Using a heredoc with a single tr substitution works great, thanks.  Done in the latest commit.

Looks good, thank you very much!

Hm, actually, the CI failed: https://github.com/PromyLOPh/guix-install-action/runs/3017491893?check_suite_focus=true

Whoops, fixed in #9.  Apologies for the churn!


Cleanup deprecated Line->input

This does a cleanup of the deprecation mark on Line->input.
There's still calls to that property for different reasons I think:

some places should actually use Line->getInput(): https://github.com/nadar/quill-delta-parser/blob/master/src/listener/Color.php#L28, https://github.com/nadar/quill-delta-parser/blob/master/src/listener/Font.php#L42-L45
some places actually need the unescaped data: https://github.com/nadar/quill-delta-parser/blob/master/src/listener/Script.php#L48
some places need to write: https://github.com/nadar/quill-delta-parser/blob/master/src/InlineListener.php#L39

I haven't dived into the tests yet, however all tests are green. That also worries me a little though. While making and debugging I never got failed tests. For example switching Script to use getInput instead, no test breaks. So we probably need to add some tests to make sure this doesn't break anything.

[x] investigate and make some tests

I did a quick review. This looks good to me.

That also worries me a little though. While making and debugging I never got failed tests. For example switching Script to use getInput instead, no test breaks. So we probably need to add some tests to make sure this doesn't break anything.

Yes, maybe we have to add more tests. Regarding getUnsafeInput in code block, i guess this will explain that behavior:

Note it could be escaped if a previous inline listener updated the input value

I did a quick review. This looks good to me.

:+1:

Yes, maybe we have to add more tests.

I verified all listener changes with new tests. Feels better :)

Regarding getUnsafeInput in code block, i guess this will explain that behavior:

Note it could be escaped if a previous inline listener updated the input value

I was actually wrong about the script listener. I thought it was the <script> element, but it is about <sup>/<sub>. They should actually be escaped.
The unsafe is for custom listeners where the editor-user can add html which should be executed as html in the reader-user's browser. But we don't have such listener built-in anyway.

I'd be comfortable about merging this.


Faster VM start

Today start a Datalab VM is taking 31 minutes, is it possible to make it faster?

Deployment of new version of Datalab was done faster (~10 min) than start/stop yesterday.

Did the slow start that you saw coincide with this incident?
If so, then maybe that was the issue.

App engine issue, closing