text:
Error when setting up project with With Docker Compose

After running the following command docker-compose -f docker-compose.yml -f docker-compose-airflow.yml up -d im getting the error below
` => [nginx 2/3] COPY default.conf.template /etc/nginx/templates/                                                                      0.5s
 => ERROR [nginx 3/3] RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log                 1.5s
------
 > [nginx 3/3] RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log:
1.430 exec /bin/sh: exec format error
------
failed to solve: process "/bin/sh -c ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log" did not complete successfully: exit code: 1```

**and `docker-compose build` is also giving the following error**

` => ERROR [ray 2/4] RUN mkdir -p /storage/mlruns/ &&     chown -R ray /storage/mlruns/ &&     chmod -R go+rX /storage/mlruns/         1.4s
 => CACHED [mlflow 1/5] FROM docker.io/library/python:3.9.17-slim@sha256:42a5da33675ec5a692e8cdbb09ffa4e39588c10dd9a96235e543c498484  0.0s
 => [web-ui internal] load build context                                                                                0.9s
 => => transferring context: 14.81kB                                                                                0.0s
 => [data-producer internal] load build context                                                                                1.6s
 => => transferring context: 34.01MB                                                                                0.4s
 => ERROR [data-producer 2/7] RUN mkdir -p /service/datasets                                                                          1.7s
 => [mlflow internal] load build context                                                                                1.2s
 => => transferring context: 79B                                                                                0.0s
 => [forecast-service internal] load build context                                                                                0.6s
 => => transferring context: 6.80kB                                                                                0.0s
 => CACHED [forecast-service 2/5] COPY requirements.txt /service/requirements.txt                                                     0.1s
 => CACHED [web-ui 2/5] COPY requirements.txt /service/requirements.txt                                                               0.0s
 => CANCELED [web-ui 3/5] RUN pip install -r /service/requirements.txt                                                                1.8s
 => CANCELED [forecast-service 3/5] RUN pip install -r /service/requirements.txt                                                      2.1s
 => CACHED [mlflow 2/3] COPY requirements.txt .                                                                                0.0s
 => CANCELED [mlflow 3/3] RUN pip install -r requirements.txt                                                                         2.3s
------
 > [ray 2/4] RUN mkdir -p /storage/mlruns/ &&     chown -R ray /storage/mlruns/ &&     chmod -R go+rX /storage/mlruns/:
0.884 exec /bin/bash: exec format error
------
------
 > [data-producer 2/7] RUN mkdir -p /service/datasets:
1.488 exec /bin/sh: exec format error
------
failed to solve: process "/bin/bash -c mkdir -p $MLFLOW_ARTIFACT_ROOT &&     chown -R ray $MLFLOW_ARTIFACT_ROOT &&     chmod -R go+rX $MLFLOW_ARTIFACT_ROOT" did not complete successfully: exit code: 1`

The problem is you're using the incorrect platform option in services when building/running images. I'm using a Macbook with an M1 Apple chip and it's arm64. So, I explicitly specified platform: linux/arm64 under every service in docker-compose. If you're using Window or Linux (mostly), you can change that to platform: linux/amd64 or just remove this line and let docker automatically detect the underlying architecture of your system.

Thank you for the help but i did everything you have said and its seems to have worked but i think im still facing compatibility issues im using github codespaces and now im now getting the following error after runnning
docker-compose -f docker-compose.yml -f docker-compose-airflow.yml up -d
` => ERROR [ray 2/4] RUN mkdir -p /storage/mlruns/ &&     chown -R ray /storage/mlruns/ &&     chmod -R go+rX /storage/ml  1.6s

[ray 2/4] RUN mkdir -p /storage/mlruns/ &&     chown -R ray /storage/mlruns/ &&     chmod -R go+rX /storage/mlruns/:
1.569 exec /bin/bash: exec format error

failed to solve: process "/bin/bash -c mkdir -p $MLFLOW_ARTIFACT_ROOT &&     chown -R ray $MLFLOW_ARTIFACT_ROOT &&     chmod -R go+rX $MLFLOW_ARTIFACT_ROOT" did not complete successfully: exit code: 1`

For Ray specifically, you also have to change ARCH_TRAILING_IMG_NAME build argument to be empty like this:
build:
    context: ./services/ray
    dockerfile: Dockerfile
    args:
        MLFLOW_ARTIFACT_ROOT: ${MLFLOW_ARTIFACT_ROOT}
        # for amd64 (x86_64) please leave ARCH_TRAILING_IMG_NAME empty
        ARCH_TRAILING_IMG_NAME:

Thank you again it worked , however i now have a challenge in the front   end on streamlit app , im getting this error
`AttributeError: forecast_results
Traceback:
File "/usr/local/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 542, in _run_script
    exec(code, module.__dict__)
File "/service/app/main.py", line 72, in <module>
    forecast_table = get_table_from_engine(engine, FORECAST_TABLE_NAME)
File "/service/app/db_utils.py", line 28, in get_table_from_engine
    table_obj = getattr(Base.classes, table_name)
File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_collections.py", line 188, in __getattr__
    raise AttributeError(key)`

When you first start the system, there's no model and forecast result for Streamlit to display. You have to trigger the training Airflow DAG (weekly one) once and wait until it's done. Streamlit app should work fine after that. I recommend you to watch and folllow the demo video and read How things work section in README.
I'm closing the issue now since the problem is already fixed and it's now just about the setup process you haven't done.

ok thank you , this is a great project and keep on creating content like this it helps us starters to understand how it is to create realworld projects


text:
Here's more fixes in one PR :)

More grammar, spelling, spaces, capitals, words, and stuff that were fixed.

Thanks a lot!

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 URL Shorter is down

In 1b55fe2, URL Shorter (https://jle.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: URL Shorter is back up in b6da3c2.

source: gharchive/issue

repo: jonasled/status


text:
🛑 Matrix is down

In b269125, Matrix (https://matrix.jonasled.de/_matrix/federation/v1/version) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Matrix is back up in f858718.


text:
[GetConnect] Unhandled Exception: Bad state: Stream has already been listened to

The issue is same as #930.
I have Migrated the whole app from dio to getConnect but the file upload part is throwing the error,
I have tried to investigate it. But not able to find the issue and.
Also this is the show stopper for many users.
Flutter Version:
[✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)
Getx Version:
get: ^4.1.1
Describe on which device you found the bug:
ex: Android emulator (android version 11) x86 arm
Minimal reproduce code

First i tried this, same issue

FormData formdata = FormData({
      'order_id': order.id,
      'trip_id': currentTripId,
      'credit_note': jsonEncode(order.creditNoteList),
      'delivery_img': order.image == null
          ? null
          : MultipartFile(File(order.image).readAsBytesSync(),
              filename: "delivery_img"),
       'sign_img': order.signature == null
          ? null
           : MultipartFile(File(order.signature).readAsBytesSync(),
               filename:"sign_img"),
    });

Also tried this

    FormData formdata = FormData({
      'order_id': order.id,
      'trip_id': currentTripId,
      'credit_note': jsonEncode(order.creditNoteList),
    });

    if (order.image != null) {
      File orderImage = File(order.image);
      formdata.files.add(MapEntry('delivery_img',
          MultipartFile(orderImage.readAsBytesSync(), filename: basename(orderImage.path))));
    }

    if (order.signature != null) {
      File orderImage = File(order.signature);
      formdata.files.add(MapEntry('sign_img',
          MultipartFile(orderImage.readAsBytesSync(), filename: basename(orderImage.path))));
    }

   Response response = await remoteService.orderComplete(formdata);

and the ordercomplete method looks like this.
 Future<Response> orderComplete(FormData formdata) async {
    return await post(
      ApiEndPoints.orderComplete,
      formdata,
    );
  }

@rakeshlanjewar try this approach.
 Future<String?> awsImageUpload(       String? orderId, String? statusId, File? file) async {     var image = MultipartFile(file!.readAsBytesSync(),         filename:             '${orderId}_${(statusId == StringConstant.POD) ? 'POD' : 'POB'}_${DateFormat('dd-MM-yyyy').format(DateTime.now())}.png');     var data = FormData({'file': image});     if (!Get.isRegistered<ApiProvider>()) {       Get.lazyPut(() => ApiProvider());     }     var res =         await Get.find<ApiProvider>().imageUploadV2(orderId, statusId, data);     if (res.hasError) {       if (res.statusCode == 401) {         var data = await exceptionHandler!.getAuthenticationToken();         print(res.toString());       }     }     return (res.body);   }

authors: rakeshlanjewar saravananmnm

repo: jonataslaw/getx


text:
[Feature Request]: Show progress indicator

Is your feature request related to a problem? Please describe.
I like the simplicity of showing dialog from the package. I wish to have the similar feature for showing progress indicator.
Describe the solution you'd like
I am currently using BotToast for showing progress indicator, and here is how I use it, may be this can be a reference.
dismissFunc = Get.showProgressIndicator();
performLongAsyncProcess().whenComplete( () => dismiccFunc.call() );
Thanks in advance.

Would it be possible to also add the CupertinoActivityIndicator for iOS style support?
Link: CupertinoActivityIndicator

Do you know when is this planned to be released?

I have ugly workaround for this. Put CupertinoActivityIndicator inside Visibility in all screens. And with help  of .obs manage it.

Or smthing like this
`  showSpiner() {
return showDialog(
context: Get.context,
barrierDismissible: false,
barrierColor: Colors.transparent,
builder: (BuildContext context) {
return Center(
child: Container(
child: CupertinoActivityIndicator(
radius: 15,
),
),
);
});
}
hideSpinner() {
Navigator.of(Get.context).pop();
}`

I ended up using this package: https://pub.dev/packages/loader_overlay

https://pub.dev/packages/flutter_easyloading

authors: GoldenSoju jasonlaw luis-cruzt oleksii-pimenov


text:
"npm install" fails

I'm seeing the following error when I try to run npm install from the project folder:
npm ERR! No compatible version found: eslint-config-ember@^0.1.1
npm ERR! Valid install targets:
npm ERR! 0.2.0, 0.1.0, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1

@BrianSipple fixed this. Sorry for the lack of love here.

repo: jonathanKingston/ember-cli-eslint

license: mit

license_source: bigquery


text:
Feature: Add option for projects to open Todo list on startup

Rather than assign a hotkey for the Todo list to open I'd personally prefer the option per project for the todo list to automatically open.

:+1:

As long as it is off by default, I'd accept a PR.

Closing as non-issue, the PR is still welcome, of course.

repo: jonathandelgado/SublimeTodoReview


text:
Include DOI link in pop-up citation

If a DOI link exists, include in the pop-up citation

So, in the above example:

Froehlich, J. E., Brock, A., Caspi, A., Guerreiro, J., Hara, K., Kirkham, R., Schoning, J., Tannert, B. (2019). Grand Challenges In Accessible Maps. Interactions. 4 pages. To Appear. DOI: https://doi.org/10.1145/3301657

for both formats (human readable text and bibtex).

In the bibtex format the url is the DOI link. Do you want me to leave it as 'url =' or change it to 'doi ='

Ex)

Do we know for sure it’s always a doi? What does the admin entry field say?
Sent from my iPhone

On Mar 2, 2019, at 4:35 PM, Hank Tadeusiak notifications@github.com wrote:
Ex)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The DOI link(to the left of the citation link) is formed from using 'pub.url'. There is no DOI url field in admin for creating publications.

So no its not always DOI, but I'm not sure what else it would be?

OK, yah, we can make the change in the bibtex pop-up to say doi (no need to
change backend though).
I also want the url to be placed at the end of the plaintext citation in
the pop-up.
On Sat, Mar 2, 2019 at 4:43 PM Hank Tadeusiak notifications@github.com
wrote:

So no its not always DOI, but I'm not sure what else it would be?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jonfroehlich/makeabilitylabwebsite/issues/785#issuecomment-468974781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABi-9Ti5Y1VgyDkntKa1-5wLf54AcuKlks5vSxrGgaJpZM4bQTtQ
.

--
Jon Froehlich
Associate Professor
Paul G. Allen School of Computer Science & Engineering
University of Washington
http://www.cs.umd.edu/~jonf/
http://makeabilitylab.io
@jonfroehlich https://twitter.com/jonfroehlich - Twitter

If you would like to take a look at this one on the test website and let me know if it looks good

Ugh, I just ran into needing this again and saw that you fixed it @htadeusiak but I don't think your fixes ever got propagated to production.
I'm waiting on @johnsonkuang before doing any more merging--he's trying to fix the epic https://github.com/jonfroehlich/makeabilitylabwebsite/issues/366

Fixed and tested! Thanks @htadeusiak.

authors: htadeusiak jonfroehlich

repo: jonfroehlich/makeabilitylabwebsite


text:
Replace all UIComponent reflection with source generation, drop Unity 2019 support

com.unity.roslyn allows source generation to be used in Unity 2020. This makes the jump from reflection to full source generation a viable option, since support for Unity 2020 can be retained for a while.
All reflection related to UIComponent (not counting the dependency injection system) should be converted to use source generation instead. This should provide a significant performance boost and make the framework more viable for in-game UI.
com.unity.roslyn does not support Unity 2019. I think support for 2019 can be dropped, since it reached EOL months ago.

Unity 2019 support removed in #63.

First step of the transition to source generation is implemented in #64 and #65.

ProvideAttribute is transitioned to source generation in #66.

Turns out that transitioning the dependency injection system to source generation is a much bigger task than I anticipated. I will remove it from the scope of this task and create another for it.

repo: jonisavo/uicomponents


text:
Adding ability to move chess pieces by clicking on board tiles.

Got the chess pieces moving!
I put all the code in one spot so feel free to move it anywhere you like.

Good work, thanks for the contribution!

thanks!! So awesome to contribute especially in Rust
On Mon, May 1, 2023, 1:33 PM Jonathan Sawyer @.***>
wrote:

Merged #3 https://github.com/jonmsawyer/chui/pull/3 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/jonmsawyer/chui/pull/3#event-9139850317, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5PMVEFPE3QPVL2LZ7FFVDXEATYZANCNFSM6AAAAAAXQQJCDI
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: jonmsawyer/chui


text:
Normalize returned value across platforms.

The documentation suggests this returns a boolean, yet it appears to return a function for every platform except the browser.
I would prefer it was just a boolean everywhere.
Either way, the documentation should be corrected to clarify what the actual return value is.

my apologies, thanks for catching it. I've looked at the readme many times and never noticed it. I especially feel bad since this is twice in one week that a project of mine caused an issue in nyc. sorry guys.

No problem!
Any reason (other than backwards compatibility), that you don't just return the boolean? It appears that is what you do in the browser environment.

Any reason (other than backwards compatibility), that you don't just return the boolean?

No, I'll man up on this one, I don't think there was a reason. It was an oversight that wasn't caught because I didn't do enough unit tests
this is little consolation, but that's really unusual for my projects. I tend to go overboard with unit tests usually. I even remember having a bad feeling about not doing more tests on this one - so shame on me. fwiw, this is exactly the reason I started doing this. which, seems like overkill, but we have proof that it's not! lol
I think the API should be consistent. after using this several times, I agree, it makes more sense to return a boolean.

thanks for being awesome about it too

:+1: No worries!

authors: jamestalmage jonschlinkert

repo: jonschlinkert/is-windows


text:
404 - no API docs

https://github.com/jonschlinkert/template/blob/master/docs/api.md

Hi, I recommend using templates instead. While template is not officially deprecated yet, it will be in the near future.

authors: DanielRuf jonschlinkert

repo: jonschlinkert/template


text:
Forge support

The module does not seem to work properly with the Forge. I am unable to click on abilities and have them be shown in chat, or expand their description to read what the abilities do. (This was tested obv by disabling all other modules, except the Forge module which is un-disablable).

What dnd5e version?
On Feb 10, 2024 at 3:57 AM -0800, Berlinia @.***>, wrote:

The module does not seem to work properly with the Forge. I am unable to click on abilities and have them be shown in chat, or expand their description to read what the abilities do. (This was tested obv by disabling all other modules, except the Forge module which is un-disablable).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hey, this was fixed by insalling with manifest link and not updating from Bazaar. The issue is that in your latest update, you didn't change the version number, so it was pulling a previous version of the module.

Hmm I did change the version… I have no experience with Forge or Bazaar so not sure what’s going on there but glad you got it sorted.
On Feb 11, 2024 at 3:34 AM -0800, Berlinia @.***>, wrote:

Hey, this was fixed by insalling with manifest link and not updating from Bazaar. The issue is that in your latest update, you didn't change the version number, so it was pulling a previous version of the module.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

authors: Berlinia jopeek

repo: jopeek/fvtt-dndbeyond-npc-sheet


text:
Feature request: Easily change merchants price

Is your feature request related to a problem? Please describe.
I would like to change an items price instead of changing the items price value.
It's really irritating to have to go into the item and change it every time
Describe the solution you'd like
On the Loot sheet for the merchant I would like to be able to click on the current price and fill in a price I want.

Closest thing to that is using the price modifier but it applies equally to all items.
On Sep 27, 2024 at 10:25 AM -0700, kay1010100 @.***>, wrote:

Is your feature request related to a problem? Please describe.
I would like to change an items price instead of changing the items price value.
It's really irritating to have to go into the item and change it every time
Describe the solution you'd like
On the Loot sheet for the merchant I would like to be able to click on the current price and fill in a price I want.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yea I know, but I'm talking about separate items


text:
Remove react-native peerDependency

The react-native peerDependency is not locked down to any specific version and will cause npm to throw errors if using with any release candidate. NPM 3 mostly obsoletes the peerDependencies setting and many modules are moving to skipping entirely.

@oblador thanks!

authors: jordanbyron oblador

repo: jordanbyron/react-native-quick-actions


text:
Version 4

Release new version.
Notable changes:

Factories now have some more options to create random data

Sync and async function support
Subfactories
Instance attributes
Lazy instance attributes

Pull Request Test Coverage Report for Build 2030227890

52 of 52 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 1886855267:
0.0%

Covered Lines:
175

Relevant Lines:
175

💛  - Coveralls

authors: coveralls jorgebodega

repo: jorgebodega/typeorm-seeding


text:
Not clear how to make it work with tsserver lspconfig

I have this config for lsp:
local status_ok, mason_lspconfig = pcall(require, "mason-lspconfig")
if not status_ok then
  return
end

local mason = require("mason")
local lspconfig = require("lspconfig")

local servers = { "jsonls", "sumneko_lua", "tsserver", "cssls" }

mason.setup()
mason_lspconfig.setup({
  ensure_installed = servers,
})

for _, server in pairs(servers) do
  local opts = {
    on_attach = require("user.lsp.handlers").on_attach,
    capabilities = require("user.lsp.handlers").capabilities,
  }
  local has_custom_opts, server_custom_opts = pcall(require, "user.lsp.settings." .. server)
  if has_custom_opts then
    opts = vim.tbl_deep_extend("force", opts, server_custom_opts)
  end
  lspconfig[server].setup(opts)
end

https://github.com/strdr4605/.dotfiles/blob/master/nvim/lua/user/lsp/configs.lua
and I call require("typescript").setup() here: https://github.com/strdr4605/.dotfiles/blob/master/nvim/lua/user/lsp/null-ls.lua
As I understand from the note in README, I should not call lspconfig[server].setup(opts) with tsserver.
I tried:
```lua
local status_ok, mason_lspconfig = pcall(require, "mason-lspconfig")
if not status_ok then
  return
end

local mason = require("mason")
local lspconfig = require("lspconfig")

- local servers = { "jsonls", "sumneko_lua", "tsserver", "cssls" }
+ local servers = { "jsonls", "sumneko_lua", "cssls" }

mason.setup()
mason_lspconfig.setup({
  ensure_installed = servers,
})

for _, server in pairs(servers) do
  local opts = {
    on_attach = require("user.lsp.handlers").on_attach,
    capabilities = require("user.lsp.handlers").capabilities,
  }
  local has_custom_opts, server_custom_opts = pcall(require, "user.lsp.settings." .. server)
  if has_custom_opts then
    opts = vim.tbl_deep_extend("force", opts, server_custom_opts)
  end
  lspconfig[server].setup(opts)
end

+ require("typescript").setup()

But lsp for TS is not working anymore. What am I doing wrong?

As the README says, you need to pass any options you would normally pass to nvim-lspconfig under the server key. I don't use mason.nvim and haven't tested this, but it should get you on the right track:
local status_ok, mason_lspconfig = pcall(require, "mason-lspconfig")
if not status_ok then
    return
end

local mason = require("mason")
local lspconfig = require("lspconfig")

local servers = { "jsonls", "sumneko_lua", "tsserver", "cssls" }

mason.setup()
mason_lspconfig.setup({
    ensure_installed = servers,
})

for _, server in pairs(servers) do
    local opts = {
        on_attach = require("user.lsp.handlers").on_attach,
        capabilities = require("user.lsp.handlers").capabilities,
    }
    local has_custom_opts, server_custom_opts = pcall(require, "user.lsp.settings." .. server)
    if has_custom_opts then
        opts = vim.tbl_deep_extend("force", opts, server_custom_opts)
    end
    -- add a special case for tsserver, since we want to go through typescript.nvim here
    if server == "tsserver" then
        require("typescript").setup({ server = opts })
    else
        lspconfig[server].setup(opts)
    end
end

Looks like it's working for now! Thanks

Should Mason manage tsserver? I'm unclear on if this plugin will manage the LSP directly; if so, then I think Mason should likely not manage it also.

Does it manage the tsserver installation itself?

No. It does what nvim-lspconfig does + added commands and defaults, nothing else.

Not to necro bump, but I was able to get this working in a way that is much more in line with the Maso-lspconfig repo's design and wanted to share it for the next person who finds this issue:
  require("mason-lspconfig").setup_handlers {
    function (server_name) -- default handler (optional)
        require("lspconfig")[server_name].setup {}
    end,

    ["tsserver"] = function ()
      ts_config.setup({
        server = { ... }
      })
    end
  }

Just specify the tsserver in the setup_handler method and then instead of using lspconfig, use the typescript.nvim plugin to do the setup.

Is there any way to expose the code actions in such a way that they would appear in e.g. code-action-menu?

authors: bnwa jose-elias-alvarez maxcountryman strdr4605

license: Unlicense


text:
Adding support for sqs queues in different accounts

This should enable beaver to log to sqs queues in another account.

Don't the key and secret handle this already?

http://boto.readthedocs.org/en/latest/ref/sqs.html?highlight=sqs#boto.sqs.connection.SQSConnection.get_queue
I don't think so no.  It's an extra arg to get_queue.   I'm also not putting the key and secret key on disk and using roles for that.

Seems you can write to an sqs queue if you are not the owner...

Yeah you can white list random accounts.

authors: josegonzalez jsabo

repo: josegonzalez/python-beaver


text:
My component tests fail with redis adapter

Some fixes came in for memory adapter https://github.com/joshleblanc/view_component_reflex/commit/67a9bee7e3bdd81a33dba99c774bb336f19c6756, and I think we need similar fix for redis adapter
Some discussion on discord before/after https://discord.com/channels/629472241427415060/725845575278264340/794698716647784458

This is fixed in 3.0.5
Sorry for the delay.

This is fixed in 3.0.5
Sorry for the delay.

authors: drnic joshleblanc


text:
Incompatibility with devise gem. NoMethodError in Users::SessionsController#new

I had my app running with turbo_flash but after the update to hotflash it breaks every time a devise controller is used. Even disabling hotflash for each devise controller didn't fix it.
It is enough to add the gem in the Gemfile like
gem "hot_flash", "~> 1.0"
When trying to login I get:
NoMethodError in Users::SessionsController#new
private method `render' called for #<Users::SessionsController:0x00000000014190>

last lines from Full Trace:
[responders (3.1.0) lib/action_controller/responder.rb:245:in `default_render' ](http://packlis.tr:3000/users/sign_in#)
[responders (3.1.0) lib/action_controller/responder.rb:175:in `to_html' ](http://packlis.tr:3000/users/sign_in#)
[responders (3.1.0) lib/action_controller/responder.rb:168:in `respond' ](http://packlis.tr:3000/users/sign_in#)
[responders (3.1.0) lib/action_controller/responder.rb:161:in `call' ](http://packlis.tr:3000/users/sign_in#)
[responders (3.1.0) lib/action_controller/respond_with.rb:216:in `respond_with' ](http://packlis.tr:3000/users/sign_in#)
[devise (4.9.2) app/controllers/devise/sessions_controller.rb:14:in `new' ](http://packlis.tr:3000/users/sign_in#)
[actionpack (7.0.7.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' ](http://packlis.tr:3000/users/sign_in#)
actionpack (7.0.7.2) lib/abstract_controller/base.rb:215:in `process_action'

Ah shoot, you're right! I fixed this in 1.1. Feel free to bundle update hot_flash :)

authors: joshmn pardeyke

repo: joshmn/hotflash


text:
Prebundle react

Workaround for https://github.com/diegomura/react-pdf/issues/2350 by prebundling react into @react-pdf/renderer.
Published to npm @joshuajaco/react-pdf-renderer-bundled.
This PR is not intended to be merged into upstream.

Hi @joshuajaco thanks for this version, it was really useful to me.
The thing is that I need to make another fix to the library.
The issue is when I try to render a  in a dynamic way.
This commit  solves the issue.
But I was trying to fork your prebundled and add these other fixes and I failed.
Can you please help me with some guidance on how to compile the package to upload it to npm?
I will appreciate it.
Thanks in advance.

@joshuajaco This has been working like a charm for a while now, but now I'm getting an error:

This usually happens when React versions differ, but I don't think I've updated anything.  Overriding the React version in the project also doesn't seem to work.  You run into this at all?

It's since been fixed in next 14.2
See: https://github.com/diegomura/react-pdf/issues/2350#issuecomment-2056411786

authors: Ionito iSchoen joshuajaco

repo: joshuajaco/react-pdf-bundled


text:
Caught unknown error

Thanks for filing the issue, what device are you using?

win11

authors: DanShui-Yu joshuakto

repo: joshuakto/fit


text:
Pass errors callback function

Please consider to pass errors to error callback function.

Getting problem for some numbers like this "400005498004". Does not give output

EAN13 barcodes need a number with 13 digits. Your number only has 12.

Hi,
I checked the source code, hope the following code at line 14 in common.coffee which is already included should create the check digit.
if @number.length == 12
checkDigit = @generateCheckDigit(@number)
@number+=checkDigit

And its working for my other 12 digit keys (Have a look at my actual code below)
var barcodeOptions = {color:"#333",prefix:true,number:true,};
new EAN13(document.querySelector('#ticket1barcode'), '445003517032', barcodeOptions);
new EAN13(document.querySelector('#ticket2barcode'), '445003518032', barcodeOptions);
new EAN13(document.querySelector('#ticket3barcode'), '445003519032', barcodeOptions);
new EAN13(document.querySelector('#ticket4barcode'), '445003520032', barcodeOptions);
new EAN13(document.querySelector('#ticket5barcode'), '445003521032', barcodeOptions);
new EAN13(document.querySelector('#ticket6barcode'), '445003522032', barcodeOptions);
new EAN13(document.querySelector('#ticket7barcode'), '445003523032', barcodeOptions);
new EAN13(document.querySelector('#ticket8barcode'), '445003524032', barcodeOptions);
new EAN13(document.querySelector('#ticket9barcode'), '445003525032', barcodeOptions);
new EAN13(document.querySelector('#ticket10barcode'), '445003526032', barcodeOptions);

And here I don't get output only for 445003520032.
It seems its not working when check digit is zero.

Sorry, you're right. I forgot about this feature myself. ;)
44c83f642f should fix it for you.

Thanns Johannes. The commit worked for me :)

Hi,
commit 42c7e226cd87788e10ac60173c214522d138be30 is not resembling in distribution files.
Please check line number 25 in ean13.js and line number 23 in jquery-ean13.js

I now moved the release files to the release area. I had problems with this before. Thank you!

authors: joushx nmnandakishore


text:
Allow configuring timeout for the init container startup

In some environments (like our overloaded EKS cluster) it might take more than the hardcoded 30 seconds timeout for the setup init container to start.
This change makes it configuration with a default 30s which should match the current behaviour if the parameter is not overwritten.

hey @joyrex2001 would you mind having a look please?

Alternatively, we could also just use the already present time-out argument here as well, or do you have a specific reason to have have them decoupled?

That works as well. My thinking was that we are always going to expect the init container to be faster to start as the image is very small. Perhaps such a fine grained configuration is not really needed though - I am likely going to set them to the same value anyway in our CI.

@joyrex2001 PR updated. Thank you! Looking forward to the release :)

Thanks! I released 0.8.2 with this PR included as well :-)


text:
Update Wrapper for SmtpClient

This removes wrapped objects that don't need to be wrapped.
It should provide a fully wrapped implement of SmtpClient.

Love the continuous integration.

repo: jozefizso/SystemWrapper

license: MS-PL


text:
Handle changes to ace_medical_engine_fnc_getHitpointArmor in ACE 3.16

ref https://github.com/acemod/ACE3/blob/master/addons/medical_engine/functions/fnc_getHitpointArmor.sqf#L50
function now returns a tuple of [_armor, _armorScaled] in ACE 3.16.0
using param [0] will handle this change, but also be backwards compatible with current versions of ace

Thank you for the pull!

authors: PabstMirror jpahm

repo: jpahm/ACE-Armor-Adjuster


text:
Need to reinstate send suspend logic

Need to reinstate send suspend logic - this seems to be mostly in PR #74

I want to make sure I understand the logic that you're talking about.
This is the logic that suspends a receiver when there are no IPs currently in any incoming connections to the InputPort that the receiver has called receive on. Is that correct?

On further investigation, I see that the whole receive code is broken, because there's no support for multiple connections coming into an InputPort.
If you have the patience, I'd like to spend some time working on resolving this. It will probably take a few days. I'll work on a branch so that there is a reviewable Pull Request.
If you're already working on a fix, just let me know.

Re the post before your last one: what seems to have disappeared is the logic to suspend a sender when the connection being sent to is full.  If I'm right, this would explain why the app you were working on saturates storage.  I referred you to the discussion of ballooning in the book - this is not a desirable behaviour, as an error will behave like a storage error.

Re your last post, I am happy to let you do this.  I have reset my personal version of jsfbp to the one before PR #74 was merged in.  My initial test worked fine, and I could happily run with this version.  However it is rather a sledge-hammer approach, and would cause jsfbp to lose some doubtless useful changes that you put in later.  So if you can be more surgical about removing the effects of PR #74 on the connection logic, that would be much better.
However, I want to say that I really dislike people refactoring my code, and moving stuff around, as it makes it nearly impossible for me to see what has changed.  Sorry if this offends your esthetic sense :-) , but my classes are chosen rather carefully, and I don't like to see them changed in any significant way.  In this case your refactoring seems to have led to quite a bit of confusion - on both our parts!
See also my earlier comment about how the Travis test didn't pick up on this at all, leading me to think everything was fine... when it wasn't!
You are actually the 3rd person to try refactoring various implementations - first the JavaFBP implementation some years ago, then the C#FBP one, and now jsfbp.  In both of the previous cases, it became obvious that the people involved were confused at a very fundamental level, so we had to give up on the effort!
Hope we can continue to work together - there is a lot of good stuff here!

Hi Dan,
How is this going?  I realized I should have posted a warning on the Readme
when I found about this.  GitHub seems to be slow right now, but I will do
it as soon as possible - unless I hear from you differently.
Regards,
Paul
On Fri, Nov 11, 2016 at 4:51 PM, Dan Rumney notifications@github.com
wrote:

On further investigation, I see that the whole receive code is broken,
because there's no support for multiple connections coming into an
InputPort.
If you have the patience, I'd like to spend some time working on resolving
this. It will probably take a few days. I'll work on a branch so that there
is a reviewable Pull Request.
If you're already working on a fix, just let me know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-260063826, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ3sJ_rpKPDNHUwFOReUpNibK4mdLks5q9ONagaJpZM4KvycM
.

PS In my npm test breader seems to have broken - can I fix it, or drop it
from npm test?  If the latter, where are the tests stored?
Thx
Paul
On Wed, Nov 16, 2016 at 9:54 AM, Paul Morrison jpaulmorr@gmail.com wrote:

Hi Dan,
How is this going?  I realized I should have posted a warning on the
Readme when I found about this.  GitHub seems to be slow right now, but I
will do it as soon as possible - unless I hear from you differently.
Regards,
Paul
On Fri, Nov 11, 2016 at 4:51 PM, Dan Rumney notifications@github.com
wrote:

On further investigation, I see that the whole receive code is broken,
because there's no support for multiple connections coming into an
InputPort.
If you have the patience, I'd like to spend some time working on
resolving this. It will probably take a few days. I'll work on a branch so
that there is a reviewable Pull Request.
If you're already working on a fix, just let me know.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-260063826, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ3sJ_rpKPDNHUwFOReUpNibK4mdLks5q9ONagaJpZM4KvycM
.

Hi Paul,
Went away for the weekend and been catching up.
Regarding suspending the sender, I believe this remains in place in the ProcessConnection code, specifically at: https://github.com/jpaulm/jsfbp/blob/master/core/ProcessConnection.js#L79
At this point, if the number of pending IPs is greater than the connection capacity, then the process is put into WAITING_TO_SEND status and is not requeued for the runtime; then, the process yields, thereby suspending it until it's added to the runtime queue again.
This check occurs in a permanent loop that isn't broken until the IP that is being 'sent' can be added to the connection.
The absence of tests around this behaviour is definitely an oversight and a problem. Perhaps the first step is to try and craft a test that passes when the behaviour is correct and otherwise fails.
Certainly Travis didn't catch this, but I think that's more a shortcoming of the test suite rather than an inherent shortcoming of CI.
I think an update to the README is probably a good idea. Alternatively, another approach might be to branch off the current master branch and then revert all of the changes I put in, with a view to being more circumspect about the changes.
Finally, you can modify https://github.com/jpaulm/jsfbp/blob/master/test/components/breader.js#L9 to read describe.skip to skip that test case. I think it's better to 'skip' than remove, since you have that reminder that you have a test that's not currently working without it breaking your workflow.

As I look at it, you should roll my work back... my implementation of connections is way off.
My ProcessConnection class has a single capacity, but multiple upstream processes... this is a totally incorrect representation of the way that multiple OutputPorts can fan into an InputPort.

Thanks, Dan, it would be best for now.  A few days ago I did a git reset
--hard to the commit before your big merge, and npm test works, except for
breader.
When I do a git status, I get:
C:\Users\Paul\Documents\GitHub\jsfbp [master ↓]> git status
On branch master
Your branch is behind 'origin/master' by 28 commits, and can be
fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean
What is the correct git statement to set the repo to this level for the
time being?
Thanks,
Paul
On Wed, Nov 16, 2016 at 12:02 PM, Dan Rumney notifications@github.com
wrote:

As I look at it, you should roll my work back... my implementation of
connections is way off.
My ProcessConnection class has a single capacity, but multiple upstream
processes... this is a totally incorrect representation of the way that
multiple OutputPorts can fan into an InputPort.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261005604, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ8v7vC3l-JOe3GMoUlNUP2a5p-FXks5q-zc0gaJpZM4KvycM
.

No that's correct - the ProcessConnection has the capacity, as it is where
in transit IPs are held.  OutputPorts only have a "closed" attribute.  See
https://github.com/jpaulm/javafbp/blob/master/src/main/java/com/jpaulmorrison/fbp/core/engine/OutputPort.java
On Wed, Nov 16, 2016 at 12:02 PM, Dan Rumney notifications@github.com
wrote:

As I look at it, you should roll my work back... my implementation of
connections is way off.
My ProcessConnection class has a single capacity, but multiple upstream
processes... this is a totally incorrect representation of the way that
multiple OutputPorts can fan into an InputPort.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261005604, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ8v7vC3l-JOe3GMoUlNUP2a5p-FXks5q-zc0gaJpZM4KvycM
.

OK... so here's what to do:
git reset --soft <commit hash>
git add .
git commit -m "Rollback breaking changes"
git push
That will create a new commit that rolls everything back, rather than destroying the shared history. That way, the changes are still viewable, but they're no longer at the front of the tree

Yes... the ProcessConnection should have capacity, but it should be between a single upstream process and a single downstream process. My implementation has it between multiple upstream processes and a single downstream process. This is incorrect, since, in the case where multiple OUT ports lead into an IN, there could be a different capacity for each connection in the FBP graph.

An example would be:
aplha OUT -> (5) IN gamma
beta OUT -> (10) IN gamma
delta OUT -> IN gamma

Also, the OutputPort does have a closed property; it's inherited from the Port class

In this case, jsfbp will differ from all the other implementations!  We
have always allowed multiple output ports (on different processes) to feed
into a single Connection, but in-transit IPs are held in the Connection,
not in the output ports - the IPs arriving at that connection are merged in
a first-come, first-served order.  If you don't do that, how would you
decide in what order to read from the multiple outports...  if you could,
which you can't, as "receive" references a connection, not an output port.
Sorry, Dan!
On Wed, Nov 16, 2016 at 12:35 PM, Dan Rumney notifications@github.com
wrote:

Yes... the ProcessConnection should have capacity, but it should be
between a single upstream process and a single downstream process. My
implementation has it between multiple upstream processes and a single
downstream process. This is incorrect, since, in the case where multiple
OUT ports lead into an IN, there could be a different capacity for each
connection in the FBP graph.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261014982, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ4iQkcbFkHBzYbM27PnJqWBg6e4gks5q-z77gaJpZM4KvycM
.

"Finally, you can modify https://github.com/jpaulm/jsfbp/blob/master/test/
components/breader.js#L9 to read describe.skip to skip that test case. I
think it's better to 'skip' than remove, since you have that reminder that
you have a test that's not currently working without it breaking your
workflow."
Do you leave the function, or remove the whole thing?
TIA
Paul
On Wed, Nov 16, 2016 at 12:00 PM, Dan Rumney notifications@github.com
wrote:

Hi Paul,
Went away for the weekend and been catching up.
Regarding suspending the sender, I believe this remains in place in the
ProcessConnection code, specifically at: https://github.com/jpaulm/
jsfbp/blob/master/core/ProcessConnection.js#L79
At this point, if the number of pending IPs is greater than the connection
capacity, then the process is put into WAITING_TO_SEND status and is not
requeued for the runtime; then, the process yields, thereby suspending it
until it's added to the runtime queue again.
This check occurs in a permanent loop that isn't broken until the IP that
is being 'sent' can be added to the connection.
The absence of tests around this behaviour is definitely an oversight and
a problem. Perhaps the first step is to try and craft a test that passes
when the behaviour is correct and otherwise fails.
Certainly Travis didn't catch this, but I think that's more a shortcoming
of the test suite rather than an inherent shortcoming of CI.
I think an update to the README is probably a good idea. Alternatively,
another approach might be to branch off the current master branch and then
revert all of the changes I put in, with a view to being more circumspect
about the changes.
Finally, you can modify https://github.com/jpaulm/jsfbp/blob/master/test/
components/breader.js#L9 to read describe.skip to skip that test case. I
think it's better to 'skip' than remove, since you have that reminder that
you have a test that's not currently working without it breaking your
workflow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261004937, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJxPqLAWGFARu3U3GLSnowyOAedGTks5q-zangaJpZM4KvycM
.

So, in the case of the graph above, having a single capacity for a Connection object doesn't make sense, if that connection encapsulates all incoming connections to an IN port.
I can see how an implementation of a Connection could do this, but not with a single capacity value... there would need to be one for each incoming processes. Definitely doable, but not what appears to be in place in the Java implementation.

For skipping a test:
describe( /* everything */);
becomes
describe.skip( /* everything */);

B**dy GitHub!
I got to git push - but I had updated Readme, so it said to do a pull
first.  Did that, and got:
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/jpaulm/jsfbp
8432d81..89ae5d7  master     -> origin/master
Auto-merging core/trace.js
CONFLICT (content): Merge conflict in core/trace.js
Auto-merging core/runtimes/FiberRuntime/index.js
CONFLICT (content): Merge conflict in core/runtimes/FiberRuntime/index.js
Auto-merging core/ProcessConnection.js
CONFLICT (content): Merge conflict in core/ProcessConnection.js
Auto-merging core/Process.js
CONFLICT (content): Merge conflict in core/Process.js
Auto-merging core/OutputPort.js
CONFLICT (content): Merge conflict in core/OutputPort.js
Auto-merging core/Network.js
CONFLICT (content): Merge conflict in core/Network.js
Auto-merging core/InputPort.js
CONFLICT (content): Merge conflict in core/InputPort.js
Auto-merging core/IIPConnection.js
CONFLICT (content): Merge conflict in core/IIPConnection.js
CONFLICT (modify/delete): core/FIFO.js deleted in HEAD and modified in
89ae5d792
08faef88399b415e42fdb8dd8205ca5. Version
89ae5d79208faef88399b415e42fdb8dd8205ca
5 of core/FIFO.js left in tree.
CONFLICT (modify/delete): core/Connection.js deleted in HEAD and modified
in 89a
e5d79208faef88399b415e42fdb8dd8205ca5. Version
89ae5d79208faef88399b415e42fdb8dd
8205ca5 of core/Connection.js left in tree.
Auto-merging components/repl.js
Auto-merging README.md
Automatic merge failed; fix conflicts and then commit the result.
C:\Users\Paul\Documents\GitHub\jsfbp [master ↕ +2 ~16 -2 !8 | +0 ~0 -0 !10
!]>
Try again?!  Maybe if I did a reset --hard from the same commit hash...?
Would that get rid of merge indicator?
(Sorry!)
Paul
On Wed, Nov 16, 2016 at 12:34 PM, Dan Rumney notifications@github.com
wrote:

OK... so here's what to do:
git reset --soft
git add .
git commit -m "Rollback breaking changes"
git push
That will create a new commit that rolls everything back, rather than
destroying the shared history. That way, the changes are still viewable,
but they're no longer at the front of the tree
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261014576, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ5IveEu51o8h-x6FNKOWfwZ_NlEyks5q-z6fgaJpZM4KvycM
.

Git can be a pain when you're trying revert stuff :)
OK... so, first, make sure you have no changes that have not been committed (shouldn't be a problem).

Reset your local repo to match the remote one:

git fetch origin
git reset --hard origin/master

Soft reset to the commit you want to be at:

git reset --soft <commit hash>

Create a new commit to rollback to this point in time:

git add .
git commit -m "Rollback breaking changes"

Push the new state to Github:

git push

Close but no banana!
The final git push said
C:\Users\Paul\Documents\GitHub\jsfbp [master ↕]> git push
To https://github.com/jpaulm/jsfbp.git
! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/jpaulm/jsfbp.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Sorry, have to run out for a couple of hours - I feel we're nearly there!
On Wed, Nov 16, 2016 at 1:10 PM, Dan Rumney notifications@github.com
wrote:

Git can be a pain when you're trying revert stuff :)
OK... so, first, make sure you have no changes that have not been
committed (shouldn't be a problem).

Reset your local repo to match the remote one:

git fetch origin
git reset --hard origin/master

Soft reset to the commit you want to be at:

git reset --soft

Create a new commit to rollback to this point in time:

git add .
git commit -m "Rollback breaking changes"

Push the new state to Github:

git push
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261024702, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJx-Fw1mwtiR0eIpL6wp-JQXg8GgNks5q-0cigaJpZM4KvycM
.

OK finally figured it out:
git reset --hard <your commit of choice>
git clean -df
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push

I did this on my copy, ran npm install and npm test and everything (except breader) seemed to work.
The breader issue is a line-endings issues due to OS differences.

Thanks, Dan,
Will give that a try as soon as I get home!
Regards,
Paul
On Nov 16, 2016 2:06 PM, "Dan Rumney" notifications@github.com wrote:

OK finally figured it out:
git reset --hard
git clean -df
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push
I did this on my copy, ran npm install and npm test and everything
(except breader) seemed to work.
The breader issue is a line-endings issues due to OS differences.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261040558, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ4zO3efM4534-rzzio_IFH6vL8beks5q-1RMgaJpZM4KvycM
.

Never saw git clean before!  Interesting!
No errors...
Did next statement, and got
C:\Users\Paul\Documents\GitHub\jsfbp [master ↓]> git reset --soft @{1}
At line:1 char:21

git reset --soft @{1}

                ~

Missing '=' operator after key in hash literal.
At line:1 char:21

git reset --soft @{1}

                ~

The hash literal was incomplete.
+ CategoryInfo          : ParserError: (:) [],
ParentContainsErrorRecordEx
ception
+ FullyQualifiedErrorId : MissingEqualsInHashLiteral
Huh?!  Maybe my posh~git is different from yours...?
On Wed, Nov 16, 2016 at 2:06 PM, Dan Rumney notifications@github.com
wrote:

OK finally figured it out:
git reset --hard
git clean -df
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push
I did this on my copy, ran npm install and npm test and everything
(except breader) seemed to work.
The breader issue is a line-endings issues due to OS differences.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261040558, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ4zO3efM4534-rzzio_IFH6vL8beks5q-1RMgaJpZM4KvycM
.

Try ORIG_HEAD instead of @{1}
It could be that '@{1}' has some special meaning to your shell
On Wed, Nov 16, 2016 at 3:31 PM Paul Morrison notifications@github.com
wrote:

Never saw git clean before! Interesting!
No errors...
Did next statement, and got
C:\Users\Paul\Documents\GitHub\jsfbp [master ↓]> git reset --soft @{1}
At line:1 char:21

git reset --soft @{1}
~
Missing '=' operator after key in hash literal.
At line:1 char:21
git reset --soft @{1}
~
The hash literal was incomplete.
CategoryInfo : ParserError: (:) [],
ParentContainsErrorRecordEx
ception
FullyQualifiedErrorId : MissingEqualsInHashLiteral

Huh?! Maybe my posh~git is different from yours...?
On Wed, Nov 16, 2016 at 2:06 PM, Dan Rumney notifications@github.com
wrote:

OK finally figured it out:
git reset --hard
git clean -df
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push
I did this on my copy, ran npm install and npm test and everything
(except breader) seemed to work.
The breader issue is a line-endings issues due to OS differences.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261040558, or
mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AATGJ4zO3efM4534-rzzio_IFH6vL8beks5q-1RMgaJpZM4KvycM
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261078541, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AANhT7bB1ltGJoMcF-eOR9CfCO3IJgeKks5q-3YugaJpZM4KvycM
.

Dan, please ignore the previous note - I tried it in regular command
prompt, and it worked... until the git push, which gave the same messages
again as before:
error: failed to push some refs to 'https://github.com/jpaulm/jsfbp.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
I assume this is because of the change I made to Readme - if so, my
fault...  but it should be possible to get around it, as I don't case if my
recent change to Readme gets wiped.
On Wed, Nov 16, 2016 at 4:31 PM, Paul Morrison jpaulmorr@gmail.com wrote:

Never saw git clean before!  Interesting!
No errors...
Did next statement, and got
C:\Users\Paul\Documents\GitHub\jsfbp [master ↓]> git reset --soft @{1}
At line:1 char:21

git reset --soft @{1}

                ~

Missing '=' operator after key in hash literal.
At line:1 char:21

git reset --soft @{1}

                ~

The hash literal was incomplete.
+ CategoryInfo          : ParserError: (:) [],
ParentContainsErrorRecordEx
ception
+ FullyQualifiedErrorId : MissingEqualsInHashLiteral
Huh?!  Maybe my posh~git is different from yours...?
On Wed, Nov 16, 2016 at 2:06 PM, Dan Rumney notifications@github.com
wrote:

OK finally figured it out:
git reset --hard
git clean -df
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push
I did this on my copy, ran npm install and npm test and everything
(except breader) seemed to work.
The breader issue is a line-endings issues due to OS differences.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261040558, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ4zO3efM4534-rzzio_IFH6vL8beks5q-1RMgaJpZM4KvycM
.

That's weird
If you're fine losing the README changes, this:
git reset --hard origin/master
git clean -df
git reset --hard <your commit of choice>
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push

Took it!  Phew!  Thanks a million!
Onwards and upwards!
Paul
On Wed, Nov 16, 2016 at 4:52 PM, Dan Rumney notifications@github.com
wrote:

That's weird
If you're fine losing the README changes, this:
git reset --hard origin/master
git clean -df
git reset --hard
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261084074, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ4xR9sUMjwBkaglYu4uWQjmzkvXBks5q-3sxgaJpZM4KvycM
.

Sorry, Dan, had to backup a bit further - to 99DA196 - before FIFO.js and
Connection.js were introduced.  Still works, except that I have to skip
breader again - will do that tomorrow.
Readme should probably be checked.
Thanks for your help,
Paul
On Wed, Nov 16, 2016 at 4:52 PM, Dan Rumney notifications@github.com
wrote:

That's weird
If you're fine losing the README changes, this:
git reset --hard origin/master
git clean -df
git reset --hard
git reset --soft @{1}
git commit -m "Rollback of breaking changes"
git push
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jpaulm/jsfbp/issues/78#issuecomment-261084074, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATGJ4xR9sUMjwBkaglYu4uWQjmzkvXBks5q-3sxgaJpZM4KvycM
.

authors: dancrumb jpaulm

repo: jpaulm/jsfbp


text:
fetchする部分の作成

バックエンドが完成したらデータを受け取るためにfetchの実装を行う。

good1!


text:
🛑 Basketball My World is down

In d4c3a1b, Basketball My World (basketballmyworld.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Basketball My World is back up in e5fa971.


text:
🛑 VaridX Staging is down

In eb2b892, VaridX Staging (https://staging.varidx.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VaridX Staging is back up in 598ac83 after 10 minutes.


text:
🛑 NCS Global Inc is down

In 9555159, NCS Global Inc (https://ncsglobalinc.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NCS Global Inc is back up in e45ba73 after 11 minutes.


text:
🛑 Chaska Indian Cuisine is down

In ae63c0b, Chaska Indian Cuisine (https://chaskaindiancuisine.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chaska Indian Cuisine is back up in 83e4e90 after 35 minutes.


text:
🛑 Tara Gems Galore is down

In a09b748, Tara Gems Galore (https://taragemsgalorellc.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tara Gems Galore is back up in 06fe48b after 20 minutes.


text:
Problem deploying Registry on attached Quorum

Hi There,
I can't find any documentation of how to deploy a Smart Contract Registry to a quorum if it does not already exist.  I think it would be in application.properties, but the config docs on the registry do not cover how to deploy the registry.
I would expect deploying requires an account with some ether, so I would expect EITHER:

a config option for specifying an account with sufficient ether.
a link to the Quorum docs about deploying the registry.

I can't find either.
Thanks for your time!

To give extra context, the last two logs I'm seeing are:
cakeshop_1  |  INFO 2017-03-02 19:11:11,022 [main] (BlockchainInitializerTask.java:120) Contract registry address not found
cakeshop_1  |  INFO 2017-03-02 19:11:11,022 [main] (BlockchainInitializerTask.java:149) ContractRegistry not found on chain

Looking at your source code, it looks like this is where you try to deploy, but I'm getting neither these info nor error logs after, so I'm curious what could be going wrong.

Another observation:
And looking at the source, it looks like right after that is when it tries to deploy, but I’m not getting the logs or the errors after that point.
I do notice that part of the deploy attempt has the comment “make sure mining is enabled”.  Does this mean cakeshop needs mining enabled even if it is running in attached mode?  I think that's a contradiction, so this might be the problem?  I see no logs after this point, so it may be hanging on this line.
Maybe that’s the problem, the code seems to only be able to deploy the registry if running in hosted geth mode?

Hi flyswatter, thanks for posting.
Several answers:

depending on the version of cakeshop its either deployed at startup via first several transactions or through genesis file. Here is the actual contract location: https://github.com/jpmorganchase/cakeshop/tree/master/cakeshop-api/src/main/resources/contracts

In attach mode, you need to specify an environment config var that provides registry address. This is documented in https://github.com/jpmorganchase/cakeshop/wiki/Getting-Started#multi-instance-setup. look for CONTRACT_REGISTRY

Finally, we have a Quorum based Cakeshop fork soon to be pulled into here, but you may check it out now: https://github.com/fixanoid/cakeshop/tree/quorum-ui. This fork simplifies running Cakeshop with Quorum under the hood

Oh, these solidity files should be perfect for deploying our own.

Small note:  Publishing these contracts on my own would be easier if the registry contract was deployed to the ethereum package manager, and I think posting it there would be a great gift to your users.

Alright, I deployed the registry (with browser-solidity and metamask!) and I've got this now:

  |  INFO 2017-03-02 23:11:03,810 [main] (BlockchainInitializerTask.java:124) Loaded contract registry address 0x944313e412e50bf6ca8958d8ec646933e5fa3c58
  |  INFO 2017-03-02 23:11:03,817 [main] (BlockchainInitializerTask.java:88 ) Storing existing wallet account balances
  |
  |
  |                   ,%%%%%%%%,
  |                 ,%%/\%%%%/\%%
  |                ,%%%\c "" J/%%%    ,,,,,,,
  |       %.       %%%%/ 6  6 \%%%    |||||||
  |       `%%.     %%%%    _  |%%%  @@@@@@@@@@@
  |        `%%     `%%%%(__Y__)%%'  {~*~*~*~*~}
  |        //       ;%%%%`\-/%%%' @@@@@@@@@@@@@@@@
  |       ((       /  `%%%%%%%'   {~* CAKESHOP *~}
  |        \\    .'          |    {     OPEN     }
  |         \\  /       \  | |    {~~*~~*~~*~~*~~}
  |          \\/         ) | |    @@@@@@@@@@@@@@@
  |           \         /_ | |__      __) (__
  |           (___________)))))))    /_______\
  |
  |           CAKESHOP
  |           version:     0.9.1
  |           build id:    6c7a88ee8b317fe2b69c97fe1e838112cb655411
  |           build date:  2017-01-03T20:43:36.806+0000
  |           url:         http://172.18.0.2:8080/cakeshop/
  |

I'm getting a 404 on port :8080, but can I safely assume the dag is being generated?

It eventually worked!  Yay!
I guess if anything would "fix" this issue it would be the links you sent me being more prominent, but you were prompt, so I'll just close it for now, thanks so much for your great replies.

authors: flyswatter tylobban

repo: jpmorganchase/cakeshop


text:
Data Grid Editable Cell not updated after blur

Package name(s)
Data Grid v1.0.0 (@salt-ds/data-grid)
Description
After editing a cell value, clicking away will revert cell value instead of accepting it
Steps to reproduce

Go to data grid storybook
Found "Editable cells" example
Double click any of the editable cell to enter edit mode
Make some changes to the value
Click away to other cells
Cell value reverted to original value

Expected behavior
Cell value changed to new value entered, unless used "Esc" key
Operating system

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

Browser

[X] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

@james-nash  @origami-z  if possible i can work on this ./Assign

@james-nash  @origami-z  if possible i can work on this ./Assign

Feel free to raise a PR and link to this

@origami-z  Raised PR . https://github.com/jpmorganchase/salt-ds/pull/1434 . First PR so not knowing the convention your guidance would be highly appreciated

repo: jpmorganchase/salt-ds


text:
error: resource android:attr/lStar not found.

Since upgrade from flutter version 3.19.6 to a higher version I cannot compile flutter_libserialport anymore.
`FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':flutter_libserialport:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR:Q:\flutter_projects\flutter_bloc_example\build\flutter_libserialport\intermediates\merged_res\release\values\values.xml:194: AAPT: error: resource android:attr/lStar not found.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 23s
Running Gradle task 'assembleRelease'...                           84.1s
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin.                                 │
│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the  │
│ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of            │
│ Q:\flutter_projects\flutter_bloc_example\android\settings.gradle.                                      │
│                                                                                │
│ Alternatively (if your project was created before Flutter 3.19), update                                │
│ Q:\flutter_projects\flutter_bloc_example\android\build.gradle                                          │
│ ext.kotlin_version = ''                                                                │
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Gradle task assembleRelease failed with exit code 1
`
Does the package need an update to support the latest gradle version?

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

Hi zoenie123, try the branch from the PR #109 Add namespace. Works for me :-)


text:
chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-03-11)
Features

init actions (af434f0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/jpoehnelt/reusable-workspace/releases/tag/v1.0.0 :sunflower:

repo: jpoehnelt/reusable-workspace


text:
Update to Elasticsearch 2.4.0

Upgraded to support elasticsearch 2.4.0, released on 31st August.
https://github.com/jprante/elasticsearch-helper/pull/8 would need to be merged, and its dependency version in the build.gradle in this repository updated before this can go in.
Hope this helps!

Do you know when this pull request will be merged? I hope it will be soon.

Will this work with ES 2.4.1? Would love to know when this will be available.
Thanks for the great work!

authors: AliNield howya jurigis

repo: jprante/elasticsearch-knapsack


text:
Missing Boot folder

hi:
My Z2 mini g4 list:
I5-8500 16G UHD630  big sur 11.1     no Thunderbolt
download this EFI but it doesn‘t work on my PC, so...
Can you help me? I need complete EFI(include Boot Folder)
thinks

Did you ever get an answer?


text:
Installation problem

Sorry to disturbing for that problem
All was going well till this message
Python 2.7.9 (default, Mar  1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import soundtouch
Traceback (most recent call last):
File "", line 1, in
ImportError: /usr/local/lib/python2.7/dist-packages/soundtouchmodule.so: undefined symbol: _ZN10soundtouch9BPMDetect12inputSamplesEPKsi

Thanks

Hi,
I just ran through the install process on a new machine, and it worked properly for me.  The error you get means that the 'inputSamples' function in the soundtouch library can't be found.  Did you install soundtouch library that is included in the source?  If you had a more recent version of soundtouch, the interface may have changed.
If that doesn't help, please include the output from the soundtouch make and make install commands.

I actually just barely had this similar problem:

import soundtouch
Traceback (most recent call last):
File "", line 1, in
ImportError: dlopen(/Library/Python/2.7/site-packages/soundtouchmodule.so, 2): Symbol not found: __ZN10soundtouch10SoundTouch17setPitchSemiTonesEf
Referenced from: /Library/Python/2.7/site-packages/soundtouchmodule.so
Expected in: flat namespace
in /Library/Python/2.7/site-packages/soundtouchmodule.so

I'm wondering if my problem is coming from my misunderstanding that lead me to installing soundtouch directly from the soundtouch website before realizing I should have used your version. Once I realized, I just went through the steps again to install your version, but maybe somehow the version I got from the soundtouch website is somehow still causing this? I couldn't figure out the best way to uninstall all the soundtouch stuff to start from scratch. Any tips?
Ps. I've seen people with similar errors altering the ext_modules in setup.py; this have anything to do with it? I saw that you have "ext_modules = [soundtouchmodule]" in your setup. Not really familiar with how this all works.
https://groups.google.com/forum/#!topic/cython-users/hoxiD1HVLFg
http://stackoverflow.com/questions/7068721/what-is-the-meaning-of-this-importerror-when-importing-a-cython-generated-so-fi
Thanks!

It's possible that this error is caused by a difference in the version of the soundtouch library you have installed, but I don't actually think so.  The error says that it can't find the function SoundTouch::setPitchSemiTones, which looks to be in both the old version and the new version.  The most likely guess I have is that the soundtouch library that it's finding is not compiled to used integer samples.  Did you compile soundtouch with the command
./configure --enable-integer-samples CXXFLAGS="-fPIC"

?  You might want to try removing the library entirely, to make sure that it's not finding the other version which was not compiled with that flag.

It's true I didn't have the flags set when I installed SoundTouch directly from their website. I actually attempted to erase that version, but it didn't seem so straightforward. Any advice on how to do that?
Thanks for getting back to me.

It would probably be installed into /usr/lib or /usr/local/lib.  But I would actually expect that if you recompile and install the integer version, it will just overwrite the original.  Have you tried that?

Sorry for bothering, but I recently came across the same problem. I tried everything you mentioned in the previous discussion, and still get this when importing:

import soundtouch
Traceback (most recent call last):
File "<pyshell#1>", line 1, in
import soundtouch
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/soundtouchmodule.so, 2): Symbol not found: __ZN10soundtouch10SoundTouch17setPitchSemiTonesEf
Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/soundtouchmodule.so
Expected in: flat namespace
in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/soundtouchmodule.so

output of 'make':

Making all in include
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
Making all in source
Making all in SoundTouch
make[2]: Nothing to be done for all'. Making all in SoundStretch make[2]: Nothing to be done for all'.
make[2]: Nothing to be done for all-am'. make[1]: Nothing to be done for all-am'.

output of 'sudo make install':

Making install in include
make[2]: Nothing to be done for install-exec-am'.  ../config/install-sh -c -d '/usr/local/include/soundtouch'  /usr/bin/install -c -m 644 FIFOSampleBuffer.h FIFOSamplePipe.h SoundTouch.h STTypes.h BPMDetect.h soundtouch_config.h '/usr/local/include/soundtouch' Making install in source Making install in SoundTouch  ../../config/install-sh -c -d '/usr/local/lib'  /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libSoundTouch.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libSoundTouch.lai /usr/local/lib/libSoundTouch.la libtool: install: /usr/bin/install -c .libs/libSoundTouch.a /usr/local/lib/libSoundTouch.a libtool: install: chmod 644 /usr/local/lib/libSoundTouch.a libtool: install: ranlib /usr/local/lib/libSoundTouch.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libSoundTouch.a(mmx_optimized.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /usr/local/lib/libSoundTouch.a(sse_optimized.o) has no symbols make[3]: Nothing to be done for install-data-am'.
Making install in SoundStretch
../../config/install-sh -c -d '/usr/local/bin'
/bin/sh ../../libtool   --mode=install /usr/bin/install -c soundstretch '/usr/local/bin'
libtool: install: /usr/bin/install -c soundstretch /usr/local/bin/soundstretch
make[3]: Nothing to be done for install-data-am'. make[3]: Nothing to be done for install-exec-am'.
make[3]: Nothing to be done for install-data-am'. make[2]: Nothing to be done for install-exec-am'.
config/install-sh -c -d '/usr/local/share/aclocal'
/usr/bin/install -c -m 644 soundtouch.m4 '/usr/local/share/aclocal'
config/install-sh -c -d '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 soundtouch-1.4.pc '/usr/local/lib/pkgconfig'
config/install-sh -c -d '/usr/local/doc/soundtouch'
/usr/bin/install -c -m 644 COPYING.TXT README.html '/usr/local/doc/soundtouch'

output of 'sudo python setup.py install':

running install
running build
running build_ext
running install_lib
running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info

Does it having anything to do with my mac OS version? Mine is 10.11.4
Any advice? Thanks!

Hi @ssssophiaxd, I'll need more information to help you debug this.  Your make command would probably have some useful information, but you'll note that the one you sent me does not do any make-ing because it's already been compiled on your computer.  You should try cloning the repository and trying it again there.
It might also help to send me your /usr/local/lib/libSoundTouch.a file, since that's where the symbol is missing.
And, yes, it might be your OS version.  I've head of other problems related to libraries (not for soundtouch) in 10.11.

libSoundTouch.a.zip
Thanks for getting back to me! Here is my libSoundTouch.a file.

I just checked this file and it has the function __ZN10soundtouch10SoundTouch17setPitchSemiTonesEf .  I then put it into my /usr/lib/local folder and ran sudo python setup.py install and then called import soundtouch and it worked properly.
Is it possible that you didn't re-run setup.py after fixing an error above?  What is the output of sudo python setup.py install?

You will probably need to delete the build directory to get setup.py to recompile the module: sudo rm -r build.

here is the output of setup.py after I've removed the build directory:

running install
running build
running build_ext
building 'soundtouchmodule' extension
creating build
creating build/temp.macosx-10.6-intel-2.7
creating build/temp.macosx-10.6-intel-2.7/src
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/soundtouchmodule.c -o build/temp.macosx-10.6-intel-2.7/src/soundtouchmodule.o
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
In file included from src/soundtouchmodule.c:6:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
In file included from src/soundtouchmodule.c:6:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pysoundtouch.cpp -o build/temp.macosx-10.6-intel-2.7/src/pysoundtouch.o
In file included from src/pysoundtouch.cpp:13:
src/pysoundtouch.h:9:9: warning: '__cplusplus' macro redefined
[-Wmacro-redefined]
#define __cplusplus
^
:330:9: note: previous definition is here
#define __cplusplus 199711L
^
In file included from src/pysoundtouch.cpp:13:
In file included from src/pysoundtouch.h:12:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
2 warnings generated.
In file included from src/pysoundtouch.cpp:13:
src/pysoundtouch.h:9:9: warning: '__cplusplus' macro redefined
[-Wmacro-redefined]
#define __cplusplus
^
:333:9: note: previous definition is here
#define __cplusplus 199711L
^
In file included from src/pysoundtouch.cpp:13:
In file included from src/pysoundtouch.h:12:
In file included from /usr/local/include/soundtouch/SoundTouch.h:75:
In file included from /usr/local/include/soundtouch/FIFOSamplePipe.h:53:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
2 warnings generated.
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pybpmdetect.cpp -o build/temp.macosx-10.6-intel-2.7/src/pybpmdetect.o
In file included from src/pybpmdetect.cpp:13:
In file included from src/pybpmdetect.h:10:
In file included from /usr/local/include/soundtouch/BPMDetect.h:60:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
In file included from src/pybpmdetect.cpp:13:
In file included from src/pybpmdetect.h:10:
In file included from /usr/local/include/soundtouch/BPMDetect.h:60:
In file included from /usr/local/include/soundtouch/STTypes.h:47:
/usr/local/include/soundtouch/soundtouch_config.h:79:9: warning: 'VERSION' macro
redefined [-Wmacro-redefined]
#define VERSION "1.4.0"
^
:4:9: note: previous definition is here
#define VERSION "0.1.0"
^
1 warning generated.
g++ -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DVERSION_MAJOR=0 -DVERSION_MINOR=1.0 -DVERSION="0.1.0" -I/usr/local/include/soundtouch -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/WavFile.cpp -o build/temp.macosx-10.6-intel-2.7/src/WavFile.o
creating build/lib.macosx-10.6-intel-2.7
g++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/src/soundtouchmodule.o build/temp.macosx-10.6-intel-2.7/src/pysoundtouch.o build/temp.macosx-10.6-intel-2.7/src/pybpmdetect.o build/temp.macosx-10.6-intel-2.7/src/WavFile.o -L/usr/local/lib -lSoundTouch -o build/lib.macosx-10.6-intel-2.7/soundtouchmodule.so
ld: warning: ignoring file /usr/local/lib/libSoundTouch.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libSoundTouch.dylib
running install_lib
copying build/lib.macosx-10.6-intel-2.7/soundtouchmodule.so -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pysoundtouch-0.1.0-py2.7.egg-info

Is it because of the warnings?
Thanks again for helping!

Hi @jrising , sorry for bothering you for this long, but can you give me any reply regarding the output of my setup.py I posted above? Many thanks!

My best guess at this point is that it has to do with the .dylib file you have in /usr/local/lib:
ld: warning: ignoring file /usr/local/lib/libSoundTouch.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libSoundTouch.dylib

When I run the install commands, I don't get a .dylib file.  It could be that this is from a previous compiling of the library and that it doesn't have the integer samples that the library needs.  You could try removing all of the libSoundTouch files in /usr/local/lib (sudo rm /usr/local/lib/libSoundTouch.*), and then start over from the ./boostrap command.

@jrising Thank you so much for the help! Finally everything worked!!!!
Thanks again for answering my silly questions <3

authors: alfybe jrising snobordir ssssophiaxd

repo: jrising/pysoundtouch


text:
[mc_rtc] Add a way to keep track of the source of a log entryTopic/simplified logging

This PR adds a source (pointer to the element that registered a log entry) for every log entry in the logger. The goal is to hugely simplify book-keeping when adding log entries
This is done by adding a source parameter in addLogEntry, i.e.
// Usual way, no source registered, can only be removed by removeLogEntry
logger.addLogEntry("bla", []() { return bla; });
// New way with a source
logger.addLogEntry("bla", source, []() { return bla; });

This allows removing a bulk of log entries at once as such:
logger.removeLogEntries(source);

Furthermore, I have added an helper to register member or method logging, such as:
// Assuming MyClass::vector_ is e.g. an Eigen::Vector3d member
logger.addLogEntry<decltype(&MyClass::vector_), &MyClass::vector>("my_vector", this);
// Also work with a method MyClass::computeStuff()
logger.addLogEntry<decltype(&MyClass::computeStuff), &MyClass::computeStuff>("my_stuff", this);

For methods there is two extra caveats:

only const method are accepted (arbitrarily, there is no technical limitation)
overloaded methods (e.g. getter/setter with the same name) cannot be used so one has to fall back to either writing a "classic" addLogEntry or spell-out the method pointer type

This is strictly equivalent to:
logger.addLogEntry("my_vector", this, [this]() -> const Eigen::Vector3d & { return vector_; });
logger.addLogEntry("my_stuff", this, [this]() { return computeStuff(); });

But you don't have to remember to return a reference (the same is true for the method version).
The syntax is not super nice, so there is a macro to help writing such entries:
// logger is the logger instance in this context, can be ctl.logger() in a FSM state for example
MC_RTC_LOG_HELPER(logger, "member", this, &MyClass::member);
// Same as
logger.addLogEntry<decltype(&MyClass::member), &MyClass::member>("member", this);

With C++17, it will be possible to simply write
logger.addLogEntry<&MyClass::member>("member", this);

Also done/to be done:

[x] Use simplified remove in tasks, observers and states
[x] Removed redundant virtual ... override in mc_tasks (since I was touching pretty much all tasks header)
[x] Added an extensive test of the logger
[x] Fix minor bug in EncoderObserver
[ ] Update the documentation accordingly

Thanks for the feedback, I went with implementing a macro like this:
MC_RTC_LOG_HELPER(name, member);
// Plus the following helper when the method name is ambiguous
MC_RTC_LOG_GETTER(name, getter);

This always uses this as the source and logger as the logger.

While we're simplifying the logging, I think one nice addition would be to be able to chain together the calls to addLogEntry similarely to what we do for the gui. e.g something like
logger.addLogEntries(this,
  {"entry_1", []() { return ...; }},
  {"entry_2", []() { return ...; }},
  ...
  {"entry_N", []() { return ...; }}
);```

Good point. Implemented as:
logger.addLogEntries(this,
  "entry_1", []() { return ...; },
  "entry_2", []() { return ...; },
  ...
  "entry_N", []() { return ...; }
);

Note that this only supports "regular" callbacks

Thanks @gergondet,
Looks good to me now, LGTM :+1:

authors: arntanguy gergondet


text:
🛑 API is down

In f06c13d, API ($SERVER_BASE/api/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API is back up in 53773b9 after 10 minutes.

repo: jscmidt/upptime


text:
🛑 Tandoor is down

In f957ac1, Tandoor ($SERVER_BASE/recipes/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tandoor is back up in 662083f after 15 minutes.


text:
🛑 Piwigo is down

In 89e720b, Piwigo ($SERVER_BASE/piwigo/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piwigo is back up in ae868f1 after 24 minutes.


text:
chore(semver): Refactored tagPrefix value to a pure function.

Addresses #323 .
@edbzn please review it and let me know if I need to make any changes.

Thanks for the review.
I will make the code changes.
Regarding the commit message, shall I do -
git commit --amend -m "refactor(semver): Refactored tagPrefix value to a pure function."
git push --force-with-lease master

and then commit my new changes as
git commit  -m "refactor(semver): Added back hyphen to project name and removed fdescribe."

or I commit my changes directly with refactor(semver)... without amending previous message.

@edbzn I made the required changes.
Could you please re-review it and let me know if I need to do anything else.

repo: jscutlery/semver


text:
documenting factory and returns

Input code
/** Description of the function
 *  @name StoreFactory
 *  @function
 *  @returns {??}
*/

/**
 * Retrieve a specific application store
 * @param {StoreFactory} factory
 * @returns {??}
 */
function getOrCreateStore(name, factory)

There are clear constraints here. How would one document these returns? To be specific I'm also hoping TypeScript's salsa can take advantage of it and provide Intellisense based on this, if there was a way to do this correctly.
This function is guaranteed to return a single type per factory - but it's generic on the accompanying factory function (the factory is going to be of a type (x) => T, where returns of this function is T, which is also the return of the factory).

/** Description of the function
 *  @name StoreFactory
 *  @function
 *  @returns {function(string, number): Store}
*/

You can see a full example above of documenting the function type. Here's the breakdown:

{function} - declare a function type without declaring it's parameters or return type
{function(string, number)} - declare a function type and declare it's parameter types

{function((object.<string, string>|string[])) - tip:  you can use type unions, rest parameters, etc. in a function parameters and return type definition. SEE:  http://usejsdoc.org/tags-type.html

{function(string, number): (object.<string, string>|string[]) - declare a function type while declaring it's parameters and return type.

@JustinBeaudry, thanks for the breakdown.
However, just reading through my post, I just realised I hadn't communicated it clearly. Sorry about that. Just updated it. Basically,
The function is guaranteed to return a single type per factory - but it's generic on the accompanying factory function (the factory is going to be of a type (x) => T, where returns of this function is T, which is also the return of the factory).

This is what the tricky part was. I'm not entirely sure if this relationship is really representable today with jsdoc.

I suggest using the @typedef tag to define the type that StoreFactory returns, then replace ?? in your examples with the name of the typedef.
I have no idea whether TypeScript will understand that syntax, though. Sorry.

authors: JustinBeaudry hegemonic prasannavl

repo: jsdoc/jsdoc


text:
MPL-2.0 license tag will be interpreted as a jsdoc tag since 3.5

Input code

/*
 * Copyright (c) 2017 Foo Bar
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

const dgram = require('dgram');

JSDoc configuration

default
JSDoc debug output

Your debug output here

Expected behavior

It should not add dgram to the Global Members.
Current behavior

Jsdoc adds dgram to the Global Members.

Your environment

Software
Version

JSDoc
3.5.2

Node.js
6.11.1

npm
5.2.0

Operating system
Linux x64

Duplicate of #1398. The fix will be included in JSDoc 3.5.3.

authors: hegemonic interpretor


text:
Kotlin Version

Hi,
Is there any possibility that you make a Kotlin version of this? I tried few times with convert to Kotlin and solving the dependencies. I am a total novice and unable to get Dagger up properly.
Thanks .

Hey @gnanakeethan!
I've just forked and made some changes for this project:

it's now Kotlin-based
updated dependencies
migrated to AndroidX

Available here: https://github.com/aspix2k/DaggerAndroidMVVM

repo: jshvarts/DaggerAndroidMVVM


text:
Write a function that splits data into train/test/val

Could in principle be of any dimension, but in most cases we expect an array of coordinates in Fourier domain. These could however be given on the format magnitude (e.g. qval) and unit vector (e.g. bvec).
Outputs always 1D (signal).
train/test/val fractions should be possible to specify but have reasonable defaults.

Check out this Scikit-learn module: http://scikit-learn.org/stable/modules/cross_validation.html
It has a function called train_test_split

For the HCP data it should be possible to use different patients as train/val/test. But would it really be cheating if you predict for unseen values of X?


text:
Remove RABL from implementations

Remove RABL from implementations as the page about "emitting conforming JSON" is non-conformant to the 1.0 spec.

Maybe we should open an issue on these respective repos notifying the maintainer before we remove them?

@ethanresnick Sure, I actually just opened PRs to remove implementations that were clearly far away from the spec for a long time, as I believe it adds a lot of confusion to newcomers.
Incidentally, I started working on a simple test suite with a bunch of JSON API document exhibiting support for certain parts of the spec so that library maintainers can somehow "prove compliance" (probably with a score, rather than a binary outcome).

@beauby yup, I definitely think these should be removed too. I just want to make sure we're giving the owners a heads up. I noticed the other PRs you opened already refenced issues on the maintainers' repo, so this concern really only applies here.
Re a compliance checklist/test suite/score: I think that's a wonderful idea as well. I'm excited to see what you make! I also recall @hhware proposed something similar way back in #733, so taking a look at that might offer some ideas for extra things to include

@ethanresnick Just made a PoC for the compliance test:
It's a little gem called jsonapi-grader, which ships with a binary of the same name. Source code is available here.
The idea is pretty simple: we have a bunch of scenarii, which are just JSON API documents, and the goal is that each implementation provides an executable to generate each of those documents.
The grader then simply loops through the scenarii (each of which is attributed a score, and a boolean stating whether it is compulsory for compliance, see this manifest), and grades each of them (if implemented). It then outputs something along the lines of:

$ jsonapi-grader ./jsonapi-rb/compliance/
Running scenario null_data... passed
Running scenario empty_collection... passed
Running scenario simple_resource... passed
Running scenario simple_resource_attributes... passed
Running scenario simple_resource_meta... passed
Running scenario simple_resource_jsonapi_object... passed
Compliance: true
Score: 420 / 420 (100.0%)

For an example of the work library implementers would have to provide to ensure compliance, see here.

authors: beauby ethanresnick

repo: json-api/json-api


text:
Fix for max() does not return negative Double #942

"Double.MIN_VALUE" returns the smallest positive nonzero value of type double. Its a not a actual negative value of Double. So applied the changes to get the actual lowest Double value.

@kallestenflo I feel this is the potential fix to merge. May i know if i am missing any of the community guidelines to contribute .

repo: json-path/JsonPath


text:
Configured to block Japan?

I'm in Japan, everytime I try to save a test I get the captcha. I just edited a test about 20 times working through some bugs and every single time the captcha showed up. Fortunately only one of those 20 times did it present a full puzzle.
Is there anything to do or am I just out of luck. I read the faq in cloudflare and checked my IP address was not on any lists (it's not).
Fortunately I never lost any work

Sorry, we know this sucks, but it's outside our control. Please read https://github.com/jsperf/jsperf.com/issues/518#issuecomment-570938579

authors: greggman maxbeatty


text:
fix: npm package missing non-script files

This PR addresses the issue that npm tarballs only contain the files discovered by deno_graph, instead of all files that were part of the jsr package tarball. So we'll keep track of which files we already processed from the tarball and insert the remaining ones.

Closing in favor of #236

authors: lucacasonato marvinhagemeister

repo: jsr-io/jsr