YouTube API v3

Dear YouTube Developer,
You are receiving this email because your address is associated with a project that has recently accessed the YouTube Data API (v2), which will soon be shut down. Please disregard this message if you're not associated with such a project. There won't be any further emails.
In March 2014, we announced that the v2 API would be retired on April 20, 2015, and would be shut down soon thereafter. To help you with your migration, we published the migration guide in September. Now, we'd like to provide you with more details on the v2 retirement timeline.
As of April 20, 2015, v2 API endpoints will be shut off with the following exception: We will keep the v2 versions of the comments, captions, and flagging features accessible for a grace period past the shutdown date. These features are still listed as "To be supported" in the migration guide. The grace period is designed to give you time to implement the new v3 versions of these features as they become available. In addition, the v2 API endpoint for uploading videos will also remain open during this time.
If you would like to test your application's reaction to the v2 API shutdown, point it to eol.gdata.youtube.com instead of gdata.youtube.com.
Please migrate your app to the YouTube Data API v3 at your earliest convenience to avoid any outage.
For more information please visit: YouTube Data API v2 Turndown FAQ.
If you have any questions about the YouTube Data API v2 turndown, you can reach us via the this support form.
Regards,
The YouTube API Team

Going to take 2 requests to get the lat/lon for the videos.
sample: http://youtube.github.io/geo-search-tool/search.html?q=&la=34.0127473&lo=-117.1617685&lr=10km&tw=any&cl=&sl=92373&eo=false&loo=false&cco=false&zl=11&pbt=2015-04-03T23:05:28Z
https://github.com/youtube/geo-search-tool/

cc @kellyhutchins any chance for a patch so we can have YouTube videos :bowtie:

@driskull How risky would this fix be? How many files would be affected?

1-2 files. (The youtube layer file and the config for API key).
Not sure how risky, If the API isnt working i guess that's risky too.

e784f76f405eb490ec5f7e883a3b2ce31eb288c7

@kellyhutchins The patch would require updating 2 files. Is this something we want to do?

@iwittenmyer @kellyhutchins supposedly, the v2 YouTube API will be retired today. Just in case any issues arise from users. I tested it this morning and it was still working.

@driskull thanks I let support know about this issue.  Is this repo updated with the fix so users can download and host locally if necessary?

Yep. Its in the development branch though.


npm run watch not working

Laravel Mix Version: 0.8.7
Node Version (v6.9.5):
NPM Version (4.3.0):
OS: Ubuntu 16.04

Description:
After running npm run watch or npm run watch-poll I get the message:  DONE  Compiled successfully in 11019ms. Next, I change js or css files, but recompiling is not happening. But npm run dev or npm run production are working fine. What's wrong?
webpack.mix.js:
const { mix } = require('laravel-mix');

mix.js('resources/assets/js/app.js', 'public/js')
   .js('resources/assets/js/pages.js', 'public/js')
   .js('resources/assets/js/srext.js', 'public/js')
   .sass('resources/assets/sass/app.scss', 'public/css')
   .combine([
       'resources/library/**/css/*.css'
   ], 'public/css/all.css')
   .js('resources/library/ext/js/notjs.js', 'public/js/all.js')
   .version();

Steps To Reproduce:
npm run watch or npm run watch-poll

Hi @DevDuckEl,
Not sure whether that's intended, but I've seen the same behaviour whenever I tried to use Wildcard characters for files. In this case, the watching doesn't work.
Try it without the following to confirm:
   .combine([
       'resources/library/**/css/*.css'
   ], 'public/css/all.css')

Hi @jastend!
I replaced:
 .combine([
       'resources/library/**/css/*.css'
   ], 'public/css/all.css')

to:
.stylus('resources/library/ext/css/notjs.css', 'public/css/all.css')

Recompiling is not happening.

Ah, that makes sense. Thanks @DevDuckEl

It's really tough to say, when it comes to watcher issues. You might start here:
https://github.com/JeffreyWay/laravel-mix/blob/master/docs/faq.md#im-using-a-vm-and-webpack-isnt-picking-up-my-file-changes

Guys, JeffreyWay linked helped alot. this is my previouse script object in packages.json
`  "watch": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
change that to the following
"watch": "cross-env NODE_ENV=development webpack --watch --watch-poll --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",

if you notice I've added " --watch-poll " after --watch

I wonder if there's some reason why this suddenly stopped working and this --watch-poll must be added now.

sudo sysctl fs.inotify.max_user_watches=900000000

i fixed this just now by navigating to my webpack.mix.js file located in the root directory this was commented out before mix.js('resources/assets/js/app.js', 'public/js')     .sass('resources/assets/sass/app.scss', 'public/css'); i then uncommented it and everything works fine with running npm run watch-poll in the terminal

@thibaultvanc worked fine for me. Ubuntu 16.04. Thanks.

--watch-poll is useful ，but it consume a lot hardware （cpu）@JeffreyWay

@thibaultvanc worked fine for me.on kali rolling 2018.1

@thibaultvanc i waste to much time to solve this issue but your solution saved me thank you

@thibaultvanc Oh thanks! that worked for me!

I am, likewise, having issues with this now. I did recently upgrade my Laravel-based apps from 5.7/5.8 to the current version (8.0 as of this writing), so I don't know if I need to make changes to my webpack.mix.js file to compensate.
As the OP said, the watcher seems to run just fine (like running npm run dev), but then fails to pick up any subsequent changes to the files.


22/8/24 server is down

Describe the issue
http(s)
Production API
Start : 2024-08-22 05:17:04
Downtime : 3 hours, 45 minutes, 39 seconds
Cause : Response code mismatch
https://pirateweather.xitoring.io/
Home Assistant version
2024.8
Integration version
No response
Troubleshooting steps

[X] I have updated my Home Assistant installation to the latest version.
[X] I have updated the Pirate Weather Integration to the latest version.
[X] I have gone through the documentation before opening this issue.
[X] I have searched this repository and API Repository to see if the issue has already been reported.
[X] I have restarted my Home Assistant installation.
[X] I have queried the API in my browser to confirm the issue is not with the API.
[X] I have written an informative title.

This is a duplicate of #304 but thanks for the report.

Just popping in to say this is fixed. See the explanation below:

Really sorry for this! Bug in a config file took down both production backends. It's fixed now, so should be working again


Cannot connect to SickRage

Got the message "Connection to http://<IP_ADDRESS>:8081/ failed". If I check the logs on SickRage I got a message:
2015-09-27 18:02:25 Thread-54 :: Failed doing webui callback: Traceback (most recent call last):
File "/opt/sickbeard/sickbeard/webserve.py", line 274, in async_call
result = function(**kwargs)
TypeError: index() got an unexpected keyword argument 'cmd'
If I leave the settings and try to access "Shows", "Coming Episodes" or "History" in the apps nothing is displayed and I got some error messages in the log on the SickRage server:
2015-09-27 18:00:33 Thread-52 :: Failed doing webui callback: Traceback (most recent call last):
File "/opt/sickbeard/sickbeard/webserve.py", line 274, in async_call
result = function(**kwargs)
File "/opt/sickbeard/sickbeard/webserve.py", line 681, in index
t = PageTemplate(rh=self, file="home.mako")
File "/opt/sickbeard/sickbeard/webserve.py", line 115, in init
super(PageTemplate, self).init(*args, **kwargs)
File "/opt/sickbeard/lib/mako/template.py", line 321, in init
module = self._compile_from_file(path, filename)
File "/opt/sickbeard/lib/mako/template.py", line 379, in _compile_from_file
module = compat.load_module(self.module_id, path)
File "/opt/sickbeard/lib/mako/compat.py", line 66, in load_module
return imp.load_source(module_id, path, fp)
ImportError: Loaded module _opt_sickbeard_gui_slick_views_home_mako not found in sys.modules
It seems like it is a problem with the SickRage server isn't it?

I should make the error message more explicit, because it is not really helpful for the moment.
Can you tell me which version of ShowsRage you are using? You can find this info in Settings > ShowsRage.
Are you using HTTPS? Self-signed certificate? Basic authentication?
The second stacktrace is related to SickRage. They have an issue open for that: https://github.com/SiCKRAGETV/sickrage-issues/issues/2781

ShowsRage version 1.0.1
No, I am not using HTTPS neither Self-signed certificate or user/password authentication.
I've tried to put a user/password authentication but the problem is still.

It looks like you didn't set the path or API key. Is that correct or did you just remove them from the issue?
The second part is related to the cache folder problem, yes. But I don't think that it affects access to SickRage.

So yes there is something I don't really get abouth the API thing. First I've tried to connect fulfilling only "Address" and "port number" which are correct (I let the "API" in the path field). Did not work.
Then I've tried to generate an API Key on the SickRage web interface and past it in the App but it didn't work neither.
Am I doing something wrong?
It's OK I made mistake copy/pasting the API Key ... I feel so ashamed damn it! Sorry again!

The API key is used to allow third party application to access your SickRage installation.
If you managed to generate it in SickRage, that's a good start.
This is how I configured ShowsRage on my phone:

I set "Address"
I set "Port number"
I leave "Path" to "api"
In "API Key" > "Get API Key":
I set the username
I set the password
I click "Get API Key"

The "username" and "password" are the one set in SickRage > Config > General > Interface > "HTTP username"/"HTTP password".
Edit: no problem. Glad it works. This comment can still be useful as it explains how to automatically get the API key ;)


feat : kotlinized database snippet

Fixed #5
P.S. @samtstern should we add code for ChildEventListener as well?
Signed-off-by: the-dagger<EMAIL_ADDRESS>

@samtstern Fixed!

@the-dagger looks great, thank you!


Request to Update README_swebench.md to Reflect Latest Claude Support Commit

Hi Agentless developer!
Thanks for your fantastic contribution in https://github.com/OpenAutoCoder/Agentless/pull/40 ! Your work played a key role in achieving impressive results in https://github.com/swe-bench/experiments/pull/133, especially with the integration of the Claude-3.5-Sonnet model.
However, I noticed that the README_swebench.md scripts haven’t been updated to reflect the changes introduced in your PR. These scripts are crucial for reproducing benchmark results, and currently, they seem to miss alignment with the new arguments and configurations you’ve introduced.
For example, the new argument --str_replace_format added to repair.py was explicitly designed for the Anthropic API:
    # str_replace_format only supported with anthropic backend
    assert not (
        args.str_replace_format and args.backend != "anthropic"
    ), "str_replace_format only supported with anthropic backend"

This argument wasn’t part of the older README scripts, and while it’s just one example, it shows that the benchmark reproduction scripts seem outdated after your recent improvements.
An updated set of scripts in README_swebench.md would not only make your contribution even more impactful but also ensure that developers (like me) can consistently reproduce the exciting benchmark results you’ve submitted. With the current scripts, metrics like %Resolved on my side don’t seem to align perfectly with your submitted all_preds.jsonl.
Thank you again for your hard work and dedication—it’s deeply appreciated. Looking forward to your updates!

I totally agree with Hejia, it is interesting how we can reproduce the results with Claude-3.5-Sonnet model.


Would you still make this decryptor again if Google taken down this?

L3 is more than enough for me. But if Google taken down this, do you want to still make this decryptor again? Im just curious if Google patch the security system for each streaming platfrom. Thanks for ur answer :)

If Google patches this, I'm not planning on releasing the newer private key.

If Google patches this, I'm not planning on releasing the newer private key.

Okay, thanks for your reply.  But why?
Pada tanggal Sab, 9 Jan 2021 20:30, Tomer<EMAIL_ADDRESS>menulis:

If Google patches this, I'm not planning on releasing the newer private
key.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tomer8007/widevine-l3-decryptor/issues/35#issuecomment-757190327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQQVQMP4PUMYEKYML2IQAFLSZBK6PANCNFSM4V3SA2YQ
.

Okay, thanks for your reply.  But why?
Pada tanggal Sab, 9 Jan 2021 20:30, Tomer<EMAIL_ADDRESS>menulis:

If Google patches this, I'm not planning on releasing the newer private
key.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tomer8007/widevine-l3-decryptor/issues/35#issuecomment-757190327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQQVQMP4PUMYEKYML2IQAFLSZBK6PANCNFSM4V3SA2YQ
.

I think this was enough as a proof-of-concept, no need to get into the cat and mouse game. I might release a write-up for the older key, though.

I think this was enough as a proof-of-concept, no need to get into the cat and mouse game. I might release a write-up for the older key, though.

I think this was enough as a proof-of-concept, no need to get into the cat and mouse game. I might release a write-up for the older key, though.

Okay, enough. Thanks for your efforts, appreciate it. :)

I think this was enough as a proof-of-concept, no need to get into the cat and mouse game. I might release a write-up for the older key, though.

Okay, enough. Thanks for your efforts, appreciate it. :)


[FS] Remove circular reference attempt 2

Builds on top of this right?
https://github.com/stratisproject/StratisBitcoinFullNode/pull/3469

@fassadlr @noescape00 @rowandh you want to have a go?

LGTM!


Using template in app.component.ts like template: require('app.html') gives error on aot

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
In the app.component.ts using the template: require('app.html') syntax intead gives a error on running "build:aot:prod".

Error: Error encountered resolving symbol values statically. Calling function 'require',
function calls are not supported. Consider replacing the function or lambda with a reference to an exported function,
resolving symbol AppComponent in /angular2-webpack-starter/angular2-webpack-starter/src/app/app.component.ts, resolving symbol AppComponent in /angular2-webpack-starter/angular2-webpack-starter/src/app/app.component.ts

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 2.4.3
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

This isn't a bug, you can't use require() in angular templates and compile with AOT

@d3viant0ne  Thanks So to use aot we have to put all our templates in the ts file and also the styles.

You can inline them or use templateUrl: '' you just can't use templateUrl: require('')

And do yourself the favor of getting of the Angular beta versions, far too many major changes between beta and 2.4.3 to make any of the work you are doing right now worth your time.

@d3viant0ne Sorry the version i am using is 2.4.3.I updated the ticket.


Status of this nutsdb module/package ?

Is this module still actively supported ?
In other words, can we  rely on this module/package for a production application ?
What about the memory leak issue ?
The websites https://xujiajun.cn/nutsdb/ and https://xujiajun.cn/nutsdb/ are not accessible.

@chmike hi，

Is this module still actively supported ?

In other words, can we rely on this module/package for a production application ?

yes,   this module still supported, “Active“ depends on whether I have time.

What about the memory leak issue ?

I will fix it as soon as possible. This weekend will be the soonest

The websites https://xujiajun.cn/nutsdb/ and https://xujiajun.cn/nutsdb/ are not accessible.

The website  https://xujiajun.cn/nutsdb/ built on GitHub Pages, so Whether it can be accessed depends on GitHub Pages. BTW I just tried, is able to access the website.


[DRAFT] Friendly-api: organizations

This PR provides a Friendly_api module which contains a friendly way to interact with the Equinix API.
It is a part of #53.

:warning:  This PR must wait for #67 to be merged before being merged!

Do we need both the "json api" and the "friendly api"? I'm not sure we need the raw json if it has been parsed into an ocaml record :)

Do we need both the "json api" and the "friendly api"? I'm not sure we need the raw json if it has been parsed into an OCaml record :)

As there is a lot of information in the JSON we are not going to provide through the Friendly_api types, I think it is important if people want to do more stuff :wink:

Then that's an opportunity for a PR if something is missing in the Equinoxe binding ^^

It is true! But I still don't see the issue with providing the Raw Api? If it the fact that it seems to be the main thing to use, we can just hide it under a private module?

Yes a Raw api is fine! To clarify, it would be nice if the Equinoxe_cohttp module could be used directly, rather than having a nested Equinoxe_cohttp.Api or the incoming Equinoxe_cohttp.Friendly_api :)

Oh ok! It was a quiproquo: no problem with that :smile:
I was wondering if instead of taking a backend, the API (named currently Friendly_api couldn't take a Raw instead of a Backend?
It would be a strict application of the logic suggested above. The structure would be:
module Raw(B : Backend) : sig
  module Backend = B (* Required for the io *)
 (* ... *)
end

module Api(R : Raw) : sig
 (* ... *)
end

Uh well that only makes sense when you have different implementations of Raw. If you are always going to call Api(Raw(...)) and never Api(Something_else), then I think it's easier to understand the code when it is flatter with less indirections:
module Make (B : Backend) = struct
  module Raw = struct
    let blah : ... -> json io = ...
  end

  let blah : ... -> truc io = ... Raw.blah ...
end

(I really think we could skip the Raw module for extra-clarity, it's not like its functions have the "raw" form json -> json io even though we might not handle all the possible json inputs)

I understand your point of view :sweat_smile:  I feel like if we drop the Raw module we will no longer have a clear separation between the functions. The same function will gather the json, parse the json, put it into a specific type.
Whereas, with a module only in charge of gathering the json and another in charge of treating them, each one have a specific "function"... I don't know if you see what I have a problem with? :/
If it seems to be a good trade off for your, I'm completely ok with putting the Raw module inside the Make functor :smile:
I'm even ok to make it disappear from the API (even it cost nothing to keep it).

It's not that important :P I feel the Raw module is creating more work than necessary by duplicating/splitting everything. Until Equinix starts documenting their json output, I doubt anyone is going to try the Raw api to check in the json that we didn't miss some stuff in the Friendly_api.
When you call into C bindings, you don't really expect a void* or 'a as output... the raw json is exactly that, it could be anything... so it's our job to make it a first class caml value, to save time for others. I don't think that the Raw module splits the logic into a more understandable outcome, it's a bit arbitrary to only have the encoding of the input.
Equinoxe
ocaml value ---------> json ------http----> Equinix
    |                                     |
    v                                     v
ocaml value <--------- json <-----http-----

(... everything looks like a categorical argument when you draw arrows, well... if you could typecheck json and guarantee the encoding/decoding of any caml value, then we would have val to_json : 'a -> 'a json and val of_json : 'a json -> 'a, then map : ('a json -> 'b json) -> 'a -> 'b = fun f x -> of_json (f (to_json x)) and tada we have a functor from Caml to REST... so I would rather split the http requests and keep the parse/print together!)
But anyway, it really doesn't matter. If you feel strongly about the Raw module then that's fine! :D

I didn't think of it in term of void :smile: And it totally makes sens!
This is a pretty convincing argument you are giving me here (as you said, everything feel more categorical).  Thanks to this discussion, you have convinced me to remove the Raw module. It will be for the 0.2.0 version of equinoxe. However, it would be nice if we only remove it once everything has been moved to Friendly API!

@art-w, I push a new version that takes care of all of your remarks :+1:
It can be merged as soon as it's ok for you!


docs(samples): Add Dataflow "Getting started" flex template

Description
Add a basic flex template sample. This will enable simplifying / streamlining the tutorial Use Flex Template in the Dataflow documentation.
Doc bugs: b/309158338, b/309159028
Checklist

[ ] I have followed Sample Format Guide
[ ] pom.xml parent set to latest shared-configuration
[ ] Appropriate changes to README are included in PR
[ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[ ] Tests pass:   mvn clean verify required
[ ] Lint  passes: mvn -P lint checkstyle:check required
[ ] Static Analysis:  mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[x] Please merge this PR for me once it is approved

Thank you! Feel free to squash and merge.

Thank you! Feel free to squash and merge.

I actually don't have write access to the repo


memory usage of gpu0 is doubled when use Multi-GPU training

Hi,
I am new to torch and I tried to train VGG model using the model file of models/vgg_cudnn.lua. I used 4 K20 and found the memory usage of GPU0 is about doubled (4199MiB) comprared with the others (2495MiB each). And as the comment in models/vgg_cudnn.lua, I did meet the problem of run out of memory using VGG-D.
Can you please give me any advice on this?
Thank you very much in advance

you can try to substitute https://github.com/soumith/imagenet-multiGPU.torch/blob/master/models/vgg_cudnn.lua#L39 and https://github.com/soumith/imagenet-multiGPU.torch/blob/master/models/vgg_cudnn.lua#L42 with in-place relu nn.ReLU(true). As those are large matrices it might help. And update to the latest cudnn.torch bindings.

Hey, thank you for you quick reply! I tried to replace those two lines and update cudnn. But this time I get the following result
+------------------------------------------------------+
| NVIDIA-SMI 340.65     Driver Version: 340.65         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          Off  | 0000:02:00.0     Off |                    0 |
| N/A   47C    P0   149W / 225W |   4438MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          Off  | 0000:03:00.0     Off |                    0 |
| N/A   47C    P0   152W / 225W |   2742MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla K20m          Off  | 0000:83:00.0     Off |                    0 |
| N/A   50C    P0   151W / 225W |   2742MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla K20m          Off  | 0000:84:00.0     Off |                    0 |
| N/A   46C    P0   147W / 225W |   2742MiB /  4799MiB |     86%      Default |
+-------------------------------+----------------------+----------------------+

And I met the output of memory problem at the end of the first epoch, with the following log:
Epoch: [1][9995/10000]  Time 1.319 Err 6.9073 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9996/10000]  Time 1.327 Err 6.9092 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9997/10000]  Time 1.328 Err 6.9095 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9998/10000]  Time 1.322 Err 6.9062 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9999/10000]  Time 1.329 Err 6.9077 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][10000/10000] Time 1.328 Err 6.9071 Top1-%: 0.78 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][TRAINING SUMMARY] Total Time(s): 13325.76    average loss (per batch): 6.91   accuracy(%):    top-1 0.10

==> doing epoch on validation data:
==> online epoch # 1
/home/archy/torch/bin/luajit: ...e/archy/torch/share/lua/5.1/threads/threads.lua:255:
[thread 19 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...n/archy/torch/share/lua/5.1/cudnn/SpatialConvolution.lua:97: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error
 (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCGeneral.c:241
[thread 15 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/lua
rocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 17 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
[thread 4 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/luar
ocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 16 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
[thread 8 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/luar
ocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 18 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241

Thank you very much!

Did you read the error at all? What does it say?
On Sunday, June 21, 2015, Linchao Zhu<EMAIL_ADDRESS>wrote:

Hey, thank you for you quick reply! I tried to replace those two lines and
update cudnn. But this time I get the following result
+------------------------------------------------------+
| NVIDIA-SMI 340.65     Driver Version: 340.65         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          Off  | 0000:02:00.0     Off |                    0 |
| N/A   47C    P0   149W / 225W |   4438MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          Off  | 0000:03:00.0     Off |                    0 |
| N/A   47C    P0   152W / 225W |   2742MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla K20m          Off  | 0000:83:00.0     Off |                    0 |
| N/A   50C    P0   151W / 225W |   2742MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla K20m          Off  | 0000:84:00.0     Off |                    0 |
| N/A   46C    P0   147W / 225W |   2742MiB /  4799MiB |     86%      Default |
+-------------------------------+----------------------+----------------------+
And I met the output of memory problem at the end of the first epoch, with
the following log:
Epoch: [1][9995/10000]  Time 1.319 Err 6.9073 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9996/10000]  Time 1.327 Err 6.9092 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9997/10000]  Time 1.328 Err 6.9095 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9998/10000]  Time 1.322 Err 6.9062 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9999/10000]  Time 1.329 Err 6.9077 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][10000/10000] Time 1.328 Err 6.9071 Top1-%: 0.78 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][TRAINING SUMMARY] Total Time(s): 13325.76    average loss (per batch): 6.91   accuracy(%):    top-1 0.10
==> doing epoch on validation data:
==> online epoch # 1
/home/archy/torch/bin/luajit: ...e/archy/torch/share/lua/5.1/threads/threads.lua:255:
[thread 19 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...n/archy/torch/share/lua/5.1/cudnn/SpatialConvolution.lua:97: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error
(2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCGeneral.c:241
[thread 15 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/lua
rocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 17 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
[thread 4 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/luar
ocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 16 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
[thread 8 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/luar
ocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 18 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
Thank you very much!
—
Reply to this email directly or view it on GitHub
https://github.com/soumith/imagenet-multiGPU.torch/issues/6#issuecomment-113982628
.

Vggd is probably not going to fit in k20
On Sunday, June 21, 2015, soumith<EMAIL_ADDRESS>wrote:

Did you read the error at all? What does it say?
On Sunday, June 21, 2015, Linchao Zhu<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Hey, thank you for you quick reply! I tried to replace those two lines
and update cudnn. But this time I get the following result
+------------------------------------------------------+
| NVIDIA-SMI 340.65     Driver Version: 340.65         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          Off  | 0000:02:00.0     Off |                    0 |
| N/A   47C    P0   149W / 225W |   4438MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          Off  | 0000:03:00.0     Off |                    0 |
| N/A   47C    P0   152W / 225W |   2742MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla K20m          Off  | 0000:83:00.0     Off |                    0 |
| N/A   50C    P0   151W / 225W |   2742MiB /  4799MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla K20m          Off  | 0000:84:00.0     Off |                    0 |
| N/A   46C    P0   147W / 225W |   2742MiB /  4799MiB |     86%      Default |
+-------------------------------+----------------------+----------------------+
And I met the output of memory problem at the end of the first epoch,
with the following log:
Epoch: [1][9995/10000]  Time 1.319 Err 6.9073 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9996/10000]  Time 1.327 Err 6.9092 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9997/10000]  Time 1.328 Err 6.9095 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9998/10000]  Time 1.322 Err 6.9062 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][9999/10000]  Time 1.329 Err 6.9077 Top1-%: 0.00 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][10000/10000] Time 1.328 Err 6.9071 Top1-%: 0.78 LR 1e-02 DataLoadingTime 0.002
Epoch: [1][TRAINING SUMMARY] Total Time(s): 13325.76    average loss (per batch): 6.91   accuracy(%):    top-1 0.10
==> doing epoch on validation data:
==> online epoch # 1
/home/archy/torch/bin/luajit: ...e/archy/torch/share/lua/5.1/threads/threads.lua:255:
[thread 19 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...n/archy/torch/share/lua/5.1/cudnn/SpatialConvolution.lua:97: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error
(2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCGeneral.c:241
[thread 15 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/lua
rocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 17 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
[thread 4 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/luar
ocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 16 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
[thread 8 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: ...magenet-multiGPU.torch/fbcunn_files/AbstractParallel.lua:97: out of memory at /tmp/luar
ocks_cutorch-scm-1-7449/cutorch/lib/THC/THCTensorCopy.cu:93
[thread 18 endcallback] /home/archy/torch/share/lua/5.1/cutorch/init.lua:21: /tmp/luarocks_cutorch-scm-1-7449/cutorch/lib/THC/THCStorage.cu(30) : cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-7449/cutorch
/lib/THC/THCGeneral.c:241
Thank you very much!
—
Reply to this email directly or view it on GitHub
https://github.com/soumith/imagenet-multiGPU.torch/issues/6#issuecomment-113982628
.

Hi, sorry for the confusion. Let me explain more clearly.
I trained with VGG-A with ReLU and latest cudnn.torch binding. And here is the nvidia-smi result:
Sun Jun 21 22:42:52 2015
+------------------------------------------------------+
| NVIDIA-SMI 340.65     Driver Version: 340.65         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          Off  | 0000:02:00.0     Off |                    0 |
| N/A   46C    P0   153W / 225W |   4438MiB /  4799MiB |     98%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          Off  | 0000:03:00.0     Off |                    0 |
| N/A   46C    P0   147W / 225W |   2742MiB /  4799MiB |     51%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla K20m          Off  | 0000:83:00.0     Off |                    0 |
| N/A   49C    P0   155W / 225W |   2742MiB /  4799MiB |     54%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla K20m          Off  | 0000:84:00.0     Off |                    0 |
| N/A   45C    P0   146W / 225W |   2742MiB /  4799MiB |     56%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0     13440  /home/archy/torch/bin/luajit                        4422MiB |
|    1     13440  /home/archy/torch/bin/luajit                        2726MiB |
|    2     13440  /home/archy/torch/bin/luajit                        2726MiB |
|    3     13440  /home/archy/torch/bin/luajit                        2726MiB |
+-----------------------------------------------------------------------------+

As you can see, the memory usage of GPU0 is much higher than the others GPUs (4438MiB vs 2742MiB). And I tried to train Alexnet with 2 GPUs with the following log:
Sun Jun 21 22:54:24 2015
+------------------------------------------------------+
| NVIDIA-SMI 340.65     Driver Version: 340.65         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          Off  | 0000:02:00.0     Off |                    0 |
| N/A   41C    P0   121W / 225W |   1800MiB /  4799MiB |     91%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          Off  | 0000:03:00.0     Off |                    0 |
| N/A   41C    P0   127W / 225W |    932MiB /  4799MiB |     89%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla K20m          Off  | 0000:83:00.0     Off |                    0 |
| N/A   40C    P0    48W / 225W |    394MiB /  4799MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla K20m          Off  | 0000:84:00.0     Off |                    0 |
| N/A   36C    P0    46W / 225W |    394MiB /  4799MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0      3345  /home/archy/torch/bin/luajit                        1784MiB |
|    1      3345  /home/archy/torch/bin/luajit                         916MiB |
|    2      3345  /home/archy/torch/bin/luajit                         378MiB |
|    3      3345  /home/archy/torch/bin/luajit                         378MiB |
+-----------------------------------------------------------------------------+

GPU0(1784MiB) costs doubled memory to GPU1(916MiB).
I thought GPU0 might be the reason for the problem of run out of memory.
Thank for very much!

Hi, could you try to reduce the batch size, using the commandline option:
-batchSize 32
or even reduce it to:
-batchSize 16
See if that helps.
On Sun, Jun 21, 2015 at 11:01 PM, Linchao Zhu<EMAIL_ADDRESS>wrote:

Hi, sorry for the confusion. Let me explain more clearly.
I trained with VGG-A with ReLU and latest cudnn.torch binding. And here is
the nvidia-smi result:
Sun Jun 21 22:42:52 2015
+------------------------------------------------------+
| NVIDIA-SMI 340.65     Driver Version: 340.65         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          Off  | 0000:02:00.0     Off |                    0 |
| N/A   46C    P0   153W / 225W |   4438MiB /  4799MiB |     98%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          Off  | 0000:03:00.0     Off |                    0 |
| N/A   46C    P0   147W / 225W |   2742MiB /  4799MiB |     51%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla K20m          Off  | 0000:83:00.0     Off |                    0 |
| N/A   49C    P0   155W / 225W |   2742MiB /  4799MiB |     54%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla K20m          Off  | 0000:84:00.0     Off |                    0 |
| N/A   45C    P0   146W / 225W |   2742MiB /  4799MiB |     56%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0     13440  /home/archy/torch/bin/luajit                        4422MiB |
|    1     13440  /home/archy/torch/bin/luajit                        2726MiB |
|    2     13440  /home/archy/torch/bin/luajit                        2726MiB |
|    3     13440  /home/archy/torch/bin/luajit                        2726MiB |
+-----------------------------------------------------------------------------+
As you can see, the memory usage of GPU0 is much higher than the
others GPUs (4438MiB vs 2742MiB). And I tried to train Alexnet with 2
GPUs with the following log:
Sun Jun 21 22:54:24 2015
+------------------------------------------------------+
| NVIDIA-SMI 340.65     Driver Version: 340.65         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla K20m          Off  | 0000:02:00.0     Off |                    0 |
| N/A   41C    P0   121W / 225W |   1800MiB /  4799MiB |     91%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K20m          Off  | 0000:03:00.0     Off |                    0 |
| N/A   41C    P0   127W / 225W |    932MiB /  4799MiB |     89%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla K20m          Off  | 0000:83:00.0     Off |                    0 |
| N/A   40C    P0    48W / 225W |    394MiB /  4799MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla K20m          Off  | 0000:84:00.0     Off |                    0 |
| N/A   36C    P0    46W / 225W |    394MiB /  4799MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0      3345  /home/archy/torch/bin/luajit                        1784MiB |
|    1      3345  /home/archy/torch/bin/luajit                         916MiB |
|    2      3345  /home/archy/torch/bin/luajit                         378MiB |
|    3      3345  /home/archy/torch/bin/luajit                         378MiB |
+-----------------------------------------------------------------------------+
GPU0(1784MiB) costs doubled memory to GPU1(916MiB).
I thought GPU0 might be the reason for the problem of run out of memory.
Thank for very much!
—
Reply to this email directly or view it on GitHub
https://github.com/soumith/imagenet-multiGPU.torch/issues/6#issuecomment-113988753
.

HI @soumith, I am together with @ffmpbgrnn. I think @ffmpbgrnn 's question is simply that
why does GPU 0 utilize double GPU memory as GPU 1 (in two GPUs condition)?
We may just ignore the out-of-memory problem firstly. The batch-size currently can fit the GPU well and the point is about the difference between GPU 0 and other GPU.
Another wired thing is that when set  -nGPU 2, GPU 2 and GPU 3 have memory occupation of about 400 MB.

hey @zhongwen , this is because when we synchronize the weights across GPUs, we provide dedicated buffers on GPU-1 for all weights to accumulate into (so that the weight transfer from GPU{2,3,4} over to GPU1 are done in parallel and non-blocking). That's why you see GPU-1 having more memory usage.

To my understanding, the total size of the model is about 500MB, So why does the buffer occupy a lot more than this?

hey @zhongwen , You also have to take into account on GPU0, the Linear layers. They are only running on GPU0 and not running on GPU1. The DataParallel is only on the Convolution layers.
Does that make sense?
Essentially, you have about ~400-500MB overhead coming from the GPU buffers (probably, I would say lesser than that), and you have the overhead from the Fully-connected layers and SoftMax


Use a typed client for Collector and Scanner(s)

Describe the solution you'd like
Currently we're using a RESTClient, but it will be better to use a typed client.

Hi @pmengelbert
I would like to start working on it.
Could you elaborate on the issue a little?
I have experience in writing REST APIs in Golng.


Plan to support to Laravel 5.7

Hi,

brand new installation Laravel 5.7
instalation devdojo/chatter package
installed version is 0.2.7, but current version is 0.2.18

With Laravel 5.6 it works ok, installed version is 0.2.18.
This package is included in my project and I'm currently working on upgrading the whole project to Laravel 5.7.
thanks

First of all is this project maintained? If yes then it is very good and this package is really awesome. Otherwise I think we need more maintainer for this project :)

Is there any timeframe planned for the 5.7 support ?

i don't expect it to be updated soon. For that I needed to fork it bump the illuminate version. I thought I would maintain it but I don't know if maintainer will start maintaining it soon :(

Want to try this but am thinking a roll-your-own might be a more sustainable approach.

Want to know the steps to do so if one has to do a roll-your-own approach

just chage composer.json file and import using vcs
On Sun, Oct 21, 2018, 8:43 PM Vikram Bhaskaran<EMAIL_ADDRESS>wrote:

Want to know the steps to do so if one has to do a roll-your-own approach
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thedevdojo/chatter/issues/226#issuecomment-431675853,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHuOYSxHz0u5_QUlwp0uv4pIX3TG6yq8ks5unIufgaJpZM4WmKW3
.

I just installed a fresh installation on Ubuntu 18.04 with NGINX and Laravel 5.7 successfully.
The only thing I had to change was to remove  the "refer"  attribute from  <script src="{{ asset('js/app.js') }}" defer></script>  in resources/views/layouts/app.blade.php.
@thedevdojo If you need help maintaining the package, I would happily join the team.
Thanks


Frontend with Angular + angular-redux

Hi everyone,
I'm going to be working on an implementation of the frontend using Angular + angular-redux.
The repo is here: https://github.com/nhaancs/angular-redux-realworld-example-app

Hello we are currently moving all work in progress to Github Discussions.
I'll close this issue by now, you can find instruction to open a discussion there : https://github.com/gothinkster/realworld/discussions/633
Thanks for your contribution !


Can't use [ElasticsearchProperty] on 2.0

Hi guys,
I'm having trouble trying to map a simple document on 2.0.0-alpha2:
using Nest;
[ElasticsearchType(Name = "document")]
public class MyDocument
{
    [ElasticsearchProperty(
        Name = "_id",
        Store = true
    )]
    public string Id { get; set; }
}

Error:
DNX,Version=v4.5.1 error CS0653: Cannot apply attribute class 'ElasticsearchPropertyAttribute' because it is abstract
Do you have any clues? I know the documentation on the website is not updated to v2 but I'm following this:
https://nest.azurewebsites.net/nest/indices/put-mapping.html
BTW, do we already have alpha docs for v2?
Thanks a lot! Please let me know if I can help with something.

Hey @RTodorov that's the old NEST 1.x syntax.  Sorry the documentation is out of date, but we're working on new ones here.
Try this instead
[ElasticsearchType(Name = "document")]
public class MyDocument
{
    [String(Name = "_id", Store = true)]
    public string Id { get; set; }
}

Also see https://github.com/elastic/elasticsearch-net/pull/1520 for details.

Hi @gmarz , thank you very much for the prompt response!
I assume this page hasn't been updated yet:
https://github.com/elastic/elasticsearch-net/blob/2.0.0-alpha2/docs/contents/nest/indices/create-indices.markdown
Right?
Apparently the CreateIndexDescriptor doesn't accept the method AddMapping anymore, so I'm wondering what's the right way of setting the mapping during the creation of the index?
Thanks again and sorry for bothering you with all those questions.

Hey @RTodorov, those aren't docs you're looking for (waves hand in jedi mind trick fashion) .
Take a look at the 2.x docs for AutoMap()
The indentation has gone a bit funny on that doc, but essentially it's this
var createIndexResponse = client.CreateIndex("myindex", c => c
	.Mappings(ms => ms
		.Map<Company>(m => m.AutoMap())
		.Map<Employee>(m => m.AutoMap())
	)
);

You're the best @russcam ! Working perfectly now!
BTW, do you happen to know if it's possible to set Fielddata options (or format and precision) via attribute on a GeoPoint field, so I can avoid this:
        var createResponse = client.CreateIndex(indexName, c => c
            .InitializeUsing(indexState)
            .Mappings(ms => ms
                .Map<VenueMapping>(m => m
                    .AutoMap()
                    .Properties(p => p
                        .Nested<AddressMapping>(n => n
                            .Name(pn => pn.Address)
                            .Properties(pp => pp
                                .GeoPoint(g => g
                                    .Name(gf => gf.Location)
                                    .Fielddata(fd => fd
                                        .Format(GeoPointFielddataFormat.Compressed)
                                        .Precision(Distance.Meters(3))
                                    )
                                )
                            )
                        )
                    )
                )
            )
        );

Thanks again, I swear I won't bother you guys anymore! I'm just so excited about Nest 2.0 that I won't wait the final version to play with it!

@RTodorov that's awesome to hear!
Unfortunately no, you can't use attributes to map fielddata options.  Aside from multi fields, the other limitation of using attributes is that they only support scalar values, not objects (limitation of C#).  Your current approach is the right one.

+1 on the excitement for 2.0, looking forwards to the new and correct documentation :)


TLS handshake timeout

Get https://registry-1.docker.io/v1/repositories/library/redis/tags/latest: net/http: TLS handshake timeout
Happens all the time (tried four times), I ask myself if it's based on my current location or a common problem. Maybe the government of China is blocking this service because your website is also blocked.
The URI https://registry-1.docker.io/v1/repositories/library/redis/tags/latest itself is reachable.
Same behaviour with Nginx image but works fine with boot2docker and docker on command line.

get similar issue:
Get https://registry-1.docker.io/v1/repositories/library/node/tags/latest: net/http: TLS handshake timeout

I am in China, too.

I get the same result when I use Japanese vpn(on aws)

my download was start, when i delete previous machine:
docker-machine rm default

@ruandao Did you take a look at the wiki on setting up a proxy?
https://github.com/kitematic/kitematic/wiki/Common-Issues-and-Fixes#proxy-issues
Perhaps it can help smooth some of the connection issues.

Closing due to no further details provided

Have the same problem in Portugal. I've deleted default machine but the problem persists. Anyone know how to solve this problem?

@jppmateus did you look at https://github.com/kitematic/kitematic/wiki/Common-Issues-and-Fixes#proxy-issues ?

Hit this (from Malaysia) when working with a slightly more complex Docker setup --> https://github.com/openspending/openspending/issues/891
Tried a few time; and each time after it freezes, I have to restart the docker-machine (see steps below) and it continue to works until it fails again.  When it fails, it seems like all network operations do not work any further.
Kitematic / docker-machine needs to be more robust to poor network condition and not die; needing a restart.
To fix, followed the steps in https://github.com/docker/docker/issues/16829; but root cause of this "hang" is unknown.
docker-machine restart default
eval $(docker-machine env default)

I did a "docker logout" and then a "docker login" and reran the command. Problem gone.

For me a simple "docker logout" (no login afterwards) dit it. Thx @vipulswarup.

Hi guys, I've a similar issue, this is the error:
ERROR: error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/19/1934b0b038d1e8bc64c275b2535fbe808477f5702fbd9a437851a24f9b97d15d/data?Expires=1510843446&Signature=cD2XmGfoJ3wWe3Ybs8Mj1Uaie0gpdNBnuWgjSLUl3Att-u0bN2UObR2VQkdK-5oV1ZlO-VkOhpo1Uryw2O0GZv9TL25bS9VKotCUPWKfXPiXD--0~dGy89dXss4sApT68fAJWA5-sQLLFMIMRamAsOH8EQLaYQ2YyJerFQbABso_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: dial tcp <IP_ADDRESS>:443: i/o timeout
but also I've got TLS handshake timeout too..
Any thoughts about this?
Appreciated in advance.
Thanks,

I always get the result:TLS handshake timeout

A simple docker login and docker logout fixed this issue. Should be applicable if you created the machine  without first logging in. I believe docker needs to refresh the registries for proper docker push in the future.

The solution @vipulswarup proposed worked for me, even though I was never logged in, and when running docker login I just pressed enter and let it fail (Error: Non-null Username Required)...
#looksfinetome :)

如果使用SS时遇到此问题, 请在docker里手动设置代理.

@icbd ,请问这个代理。。。是您自己架设的吗？需要用代理是因为 大绿墙 吗？

@DlnZH 只是把端口设置在本机的代理本地端口而已，需要代理的原因大家都知道就没必要说出来了😏
我就是这样解决的。。

@menglong2234 能不能不要只 show( off ), 说的详细点可好？

@icbd 说的详细点可好？

try dockerhub of Chinese version, it can bypass the tls handshake problem:
$ docker pull myname/myrepo:mytag -->$ docker pull registry.docker-cn.com/myname/myrepo:mytag
hope my advice will help you

@MarinZhang Thx ! worked

@helmesjo , it works, thanks

I started to experience the issue about 2-3 weeks ago. My observation is that if docker fails to push an image to the registry (in my case it is Docker Hub) at some layer, it can keep failing at the same layer. The solution that worked for me is to remove the image and rebuild it from scratch. Note: in my setup, rebuilding an image from scratch always results in a new hash of the generated image.
The error I see:
fccbfa2912f0: Layer already exists
Head https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/c9/c91c36f3dddeecb85898a43fe550163a755e570666249265c339820fab0ca89f/data?verify=1531171424-bntwmPUbN8267s1brEWwenzSkvQ%3D: net/http: TLS handshake timeout

Docker version:
$ docker version
Client:
 Version:      18.05.0-ce
 API version:  1.35 (downgraded from 1.37)
 Go version:   go1.10.2
 Git commit:   f150324
 Built:        unknown-buildtime
 OS/Arch:      darwin/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.01.0-ce
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.9.2
  Git commit:   03596f5
  Built:        Wed Jan 10 20:13:12 2018
  OS/Arch:      linux/amd64
  Experimental: false

I'm in China. Using a vpn solved this problem

To be honest, I resolved this issue with a simple restart of Docker

For Chinese users, I recommend this setting as follows:

Hello. I can say how to reproduce it.
rc-service docker stop
docker login
rc-service docker start
buildah/docker push

And you can fix it with:
docker logout
rc-service docker restart
docker login
buildah/docker push

Or you can disable the TLS handshake!
Step 1: Right click on docker icon in your system tray
Step 2: CLick on Settings -> General
Step 3: Check the box with title:  Expose daemon  without TLS

To be honest, I resolved this issue with a simple restart of Docker

Me, too

try switching your internet connection.

I did a "docker logout" and then a "docker login" and reran the command. Problem gone.

this work, thx

I did a "docker logout" and then a "docker login" and reran the command. Problem gone.

it worked for me as well

I was having the same issue. I just configured Manual DNS which is <IP_ADDRESS>. That solves everything for me.


Feature.mitaka.common networks functional tests 807

@jlongstaf
What issues does this address?
Fixes #807
WIP #807 - neutron testing infrastructure add: Keeping environment clean via a new decorator object
WIP #807 - test_snat_common_network.py now cleans up after itself using less intrusive means
What's this change do?

32587ae89ff170abf0e9f030ad8822d864b44561

Makes test_snat_common_network.py clean up after itself more appropriately

dbc003b45a885e5c46434771fb0f26037d6ad4f7

Tests will run without this; however, as a group, it will fail without 32587ae89ff170abf0e9f030ad8822d864b44561
Creates a test that will validate the setup of a common network via the snat exchange up to a member
Creates a test that will test that Route Domains are initiated in the Common partition and that the SNATPool will also; however, this has not been implemented yet

This test is skipped for now via pytest.mark.skip("skip", reason=...)

e710b2317bd107d7d51479b9320617dd0150826d

Creates a new neutronless BIG-IP handling object, Resource4TestTracker

This object, using the with block in python, will handle any cleanup from failed tests

Where should the reviewer start?

e710b2317bd107d7d51479b9320617dd0150826d

or ./neutronless/conftest.py

Any background context?
This is to satisfy the agent functional testing for the f5_openstack_agent.ini's f5_common_networks setting addition performed earlier by #803

Can one of the admins verify this patch?

@ssorenso: I'm testing build on PR for the agent currently, thus the message from me above. I will create a new email and github user this week to change this over to a user that is not me! Nothing to do currently. Thanks!

Fetched && Rebased

test this please


#20: Stabilize code of Bank connections services: finish implementati…

…on and write tests

@rultor merge

@rultor merge

@proshin-roman OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@proshin-roman Done! FYI, the full log is here (took me 3min)


[ADD ME TO THE ORGANIZATION]

Name: Samyabrata Maji
Location: India
Interest: Web Development, Open Source, DevRel
Discord username(optional):- SamMaji#0238
Why do you want to join?

I want to join because I want to get involved in open source and learn from the community

You can also join our Discord community here
Feel free to check out other cool repositories of the Open Source Community here.

@samyabrata-maji Thanks for your interest. Invitations have been sent to you. Kindly accept it and make your membership public.


Proposal: Access to Server Auth Token

A very useful feature that is exposed by the GamesSignInClient API is the ability to get a server auth token that can be used to verify a user.
See more here: https://developers.google.com/games/services/android/offline-access#get_the_server_auth_code
It doesn't look like this feature is present, but it should be pretty simple to add to SignInProxy.kt. You would just need to modify the code from the documentation to emit a signal when it gets the server auth token.

Hi @AndrewSumsion sorry for the late reply! I've been participating in a game jam and this week has been crazy :)
That is a very good proposal, I will put it first in my priorities list, for what you say is true; the implementation should be easy. I think this might be implemented during the next week.
Thanks again for your interest in the project and your help making proposals!

Hi again @AndrewSumsion I just released version 1.3.0  with the method for requesting server side access.
It would be great if you could give it a try and check everything works for you! thanks again!

Hi @AndrewSumsion I'm closing this issue now, if that's ok. Please let me know if you need anything else!


Add Embed options pls, like e-z.host

Discord embed titles

Easier said than done. Sites like e-z host run their own fully-featured application that does everything from handling uploads to logging it in a database, and then using that stored information (as well as the embed information associated with your user) to present an embed or just the image on the returned URL, and of course the user interface where you can edit such details.
The problem here is that this script has none of that. It's a dead simple uploader that takes your file and stores it in a directory returning the new filename.
At the very least what we'd need to do is keep the uploader the same and introduce a simple processing script that takes requests for images to the directory and adds in the embed data using OpenGraph meta tags pointing to a static JSON file containing your embed, and the associated rewrite rules for the webserver whether it's Apache or NGINX.
You'd need to edit this JSON file to change how your embed looks, but this might be the simplest way to do so without creating an entire web application with a database and the whole lot.
I can give it ago, but I've no idea if @Inteliboi is still alive so maybe it's time for a fork.


Support document-based apps

First step would be to research this and determine how much work it would be.

Closing in favor of Issue #442


Two dimensional grid of locations of the discs on the picture

make from a array in array a two dimensional grid. The same as used in the java script code. So it will be better transferable to the java project.
detectcircles.py

fixed and works now


Bump guava version 23.0 reference to latest

Description:
Bump guava version 23.0 reference to latest
We are packing 30.0-jre version not 23.0. There are references of this version in several places. Needs to be updated
https://github.com/ballerina-platform/ballerina-lang/blob/3b1996867fddc02840a4c79ef6483a93d379f7c1/misc/testerina/modules/testerina-core/build.gradle#L35
https://github.com/ballerina-platform/module-ballerinax-twilio/blob/master/gradle.properties#L10
https://github.com/ballerina-platform/module-ballerinax-twitter/blob/main/gradle.properties#L10
https://github.com/ballerina-platform/ballerina-lang/blob/2765ebbda30d563602351fe16aea72026cae8c32/gradle/javaProject.gradle#L49

Guava 23.0 has been removed from ballerina-lang as its not required

https://github.com/ballerina-platform/ballerina-lang/pull/32535

Following connectors guava version has been updated

https://github.com/ballerina-platform/module-ballerinax-twilio/pull/120
https://github.com/ballerina-platform/module-ballerinax-twitter/pull/17


ISPN-15478 Data Grid Caches documentation refers to old Postgresql

https://issues.redhat.com/browse/ISPN-15478

Maybe we should parameterize using the version from the pom.

Thanks, @tristantarrant for the feedback! I've parameterized the value. WDYT?
best,
ashwin

Looks good. Can you rebase and repush please ?

Merged thanks. I'm afraid automatic backporting won't work because the property name in 14.0.x is different. Can you adjust it by hand please ?


Update feeds.json

Added goparker.com feed details

Thanks for adding your blog @DavidParkerDr ! Approved.


Added holsters to smart pistol belt and combat toolbelt

About the PR

Added a holster to both the smart pistol belt and the combat toolbelt.
It is now possible to holster the gun in your belt with the appropriate keybinds.
Why / Balance

Both belts have a visual holster, but it has thus far been unusable.
As for balance:

both belts now have one more free space (due to not having to store the sidearm there)
the combat toolbelt can now store only one gun (as opposed to being able to fill all slots with sidearms)

Technical details

Mostly YAML (I copy-pasted the sidearm pouch prototype to the belts)
Two lines of C# to allow opening the belts without unholstering the sidearm
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

tweak: Added holsters to smart pistol belt and combat toolbelt.

Ah, my repo seems to have been out of date, there's a conflict with the combat toolbelt change
I removed the sidearm from the combat toolbelt storage whitelist, so the sidearm can only be stored in its holster, which has the same effect as the fix already in place (with the addition of being able to actually use the holster)

Screenshot:

Noticed this thing had a holster as well, so I implemented it:

Mentioning this issue for when the mortar operator belt gets added: #1699

Marking this as a draft until I modify the holster system to also work with storage items

I modified the holster system to allow for storage-based holsters. Using the holster keybinds now correctly inserts/removes the gun into/from the belt holster.
I'm not entirely satisfied with how the code looks right now, but it works. Once this gets merged, I'll have to update the holster system for #3623 as well anyway; then I'll try to clean up the code a bit.
I will update the prototypes in #3625 and #3658 to match the modifications made by this PR once it gets approved.


MiniEngine: DescriptorTable size limit

Hey Guys,
It seems miniEngine use uint32_t for DynamicDescriptorHeap::DescriptorTableCache::AssignedHandlesBitMap which act as bitfield flag to indicate assigned descriptor with in one descriptor table. So if I understand correctly, this put a limit of max 32 descriptors per table.
If that is the case, it will be better to verify that descriptor table size is less than 32 in RootSignature.cpp around line126 otherwise we may create descriptor table with more than 32 descriptors in it which may cause some tricky bugs.
Or miniEngine already check on that in some place where I missed?
Peng

I didn't think it would be appropriate to use dynamic descriptor tables with very large tables.  It makes more sense (to me) to use static descriptor tables that you pre-build and keep cached.  Unfortunately, I haven't spent much time developing and testing a system for switching between dynamic and static descriptor tables, so I'll need to put that on my "to do" list.  If you don't need much more than 32, you could try modifying the code to use uint64_t for a maximum of 64 descriptors per table.  I think adding a sanity check would be very appropriate, so thank you for the suggestion.
-James


Where to put web app files?

Hi, I am sorry if this sounds to be silly. I am new with electron.
I have built a web app pure in html and jquery. I'd like to run this web app locally, means, in the main js file, I put some config like below:
mainWindow.loadURL(url.format({ 		pathname: path.join(__dirname, 'html/index.html'), 		protocol: 'file:', 		slashes: true 	}));
The web app itself will load some additional local files using $.get command. And as we know, it will failed because of the Cross Origin issue. So it seems the only solution is to host it on a server.
Then I found electronify-server, but don't understand yet where to place the html files. Let say the electronify-server config is set to load from <IP_ADDRESS>:80. My question is where is the <IP_ADDRESS>:80 physical location? How do I set the location?
Thank you.

@facetime88 there are several solutions, but the simplest is to use a tiny node server to serve the files. If you look at the static example you'll see how to do it. You may also be able to update your code to use relative paths to each of the resources.
The static example has the resources in the dist/ folder which is fairly standard. Then the main.js uses server.js to serve the files.


Improve securityContext for operator Deployment

Restrict container from acquiring additional privileges (securityContext.allowPrivilegeEscalation)
Mount container's root filesystem as read only (securityContext.readOnlyRootFilesystem)
Ensure that container won't be started as privileged container (securityContext.privileged)

Issue: https://github.com/rancher/aks-operator/issues/591

What this PR does / why we need it:

Which issue(s) this PR fixes
Issue #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests
[ ] backport needed

I believe these settings should be under .spec.template.spec.containers[n].securityContext rather than spec.template.spec.securityContext. See https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod and https://kubernetes.io/docs/tasks/configure-pod-container/security-context/

you are right, I discovered it after testing. thank you for pointing this


Add a keyboard shortcut to switch to IPython Console

From<EMAIL_ADDRESS>on 2012-10-04T15:38:40Z

I am in the editor
I press CTRL+SHIFT+C
I land in the console which shows:
[IPKernelApp] To connect another client to this kernel, use:
[IPKernelApp] --existing kernel-32707.json

i would have expected to land at the Ipython Console prompt.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1166

From ccordoba12 on 2013-02-11T08:40:59Z
Status: Duplicate
Mergedinto: 1068

From ccordoba12 on 2012-10-08T10:00:40Z
This will be fixed for 2.2. I think we haven't added yet a shortcut for this action.
Thanks for reporting
Summary: Add a keyboard shortcut to switch to IPython Console
Labels: Cat-IPythonConsole MS-v2.2

From<EMAIL_ADDRESS>on 2014-04-17T15:45:39Z
Was this ever implemented?


[1] Many grafana dashboards are broken

Describe the bug
A clear and concise description of what the bug is.
A lot of our dashboards are using the variable __rate_interval which was introduced in grafana 7.2 while we are running grafana 7.0
This breaks a lot of our dashboards with the error parse error: missing unit character in duration
This can be fixed by either change all these variables to __interval or we can upgrade grafana to a later version (I would refer the latter)
To Reproduce
Steps to reproduce the behavior:

Go to Grafana
Go to the dashboard Kubernetes / Compute Resources / Namespace (Workloads)
Scroll down to the network dashboards on the bottom
See error

Expected behavior
No error to show
Screenshots

Version (add all relevant versions):

Compliant kubernetes apps version v0.15.0

Additional context
Add any other context about the problem here.

Only kube-prometheus-stack affected.
Update chart is the preferred solution.

Only kube-prometheus-stack affected.

The rook monitoring dashboard is also affected.

Only kube-prometheus-stack affected.

The rook monitoring dashboard is also affected.

He meant that only the ops grafana (which is installed by the kube-prometheus-stack chart) is affected, the user grafana is running v7.3.3.


Shall we remove the Run part from pipeline, task and run events?

In v0.3 we renamed test events to TestRun and TestSuiteRun to be consistent with TaskRun and PipelineRun.
In the context of the conversation with the OTEL community, it has been suggested that the Run part adds little value, makes names longer, and is not aligned with the name most tools use. The execution use case is by far the most common for observability purposes, and the extra Run seems redundant in that context.
We don't have events specific to the creation, update and deletion of pipeline, task and test definition today. If we decided to introduce them in future, they could use a different name, e.g. PipelineDefinition or PipelineTemplate, or they could be implemented as additional predicates for the same subjects.
Since we're collecting breaking changes for v0.5, if we do change this, it would be good to do it now, so that we might start planning for a 1.0 then.

I personally think the additional clarity provided by the "Run" suffix is worth the 3 bytes it adds - users who are new to CDEvents will likely have an easier time understanding what these events actually represent vs if they are just called Task, Pipeline, etc..
I do agree that naming-alignment can be important if it's with something used in the same context or for the same purpose - not sure that applies to OTEL though!?

Thanks @olensmar.
The context with OTEL is that their community is in the process of defining semantics for pipeline observability, and we would like their work and CDEvents to be aligned as much as possible.
At the working group meeting, the general opinion was that some kind of mapping between CDEvents and OTEL semantics will be required anyway, so we should keep the Run part as it is today.
Based on the input from the CDEvents community, I'm closing this now.


Why action touch down not working here?

When I am using UITextfield action touch down is working but when I switch to SkyeFloatingLabelTextField its not working. Why?

Can you provide an example project / code to demonstrate the issue?

Closing due to inactivity. Feel free to reopen


Implementing Interface with Complex Return Type Creates Incorrect Signature

See https://github.com/jimmymcp/interface-implementation-bug for repo. Clone the repo, open the codeunit and choose the "implement interface" quick fix.
A procedure is created but with the wrong signature.

AL Language: v8.2.552672

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 36347 and VS Code Extension Version 9.0.584205.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://freddysblog.com/2020/06/25/working-with-artifacts/


Review ontology includes vs. pruning/copying classes

@darrenleeweber:  So I understand that the target ontologies will be pruned for the LD4L-O and, at some point, copied into or collapsed into the LD4L-O?  (Trying to wrap my head around the implications, esp. for change management.)
@rjyounes:

I would like to keep each namespace in a separate file. Right, there will not be a full import of the external ontos.
I think using the fragment files is actually a good idea to shield ourselves from the ontology changes, until we have analyzed them to see if we want to update. Assuming of course that the ontology deprecates terms rather than removing them outright.
This is an important issue to raise, we should think about it in more detail.

Related W3C OWL documents that are relevant:

https://www.w3.org/2007/OWL/wiki/Ontology_Versions
https://www.w3.org/TR/owl2-syntax/#Ontology_IRI_and_Version_IRI
https://www.w3.org/TR/owl2-syntax/#Versioning_of_OWL_2_Ontologies

Interesting survey:
http://www.mkbergman.com/906/a-brief-survey-of-ontology-development-methodologies/

There are some tools for doing ontology diffs, e.g.

http://www.ebi.ac.uk/efo/bubastis/


PluginManager documentation revision

Robert Wilding reports that _game is documented as objType. Worth doing a revision pass on those docs.

Doc pass completed. I found four issues:

_game documented as objType
getAvailablePlugins incorrectly documented as private
pluginIsRegistered() didn't document its return type

And on the functional side:

pluginIsRegistered() would check all the plugins, even after it located what it was looking for. Fixed by returning immediately. That's a (tiny) boot performance gain.


How to deploy on github page?

Hi,
This is a really beautiful website, thanks so much! I was just wondering how I would deploy this on a GitHub Page, specifically <my_username>.github.io? After pushing to that repo, the README shows up, instead of the index.js. I was wondering how I would be able to have what I see on my localhost show up instead?
Thanks!

Here are the gatsby docs for that: https://www.gatsbyjs.org/docs/how-gatsby-works-with-github-pages/


added default secret key for doorman

Default secret key should be set in this way instead of Tank Tian's way. In his way, the doorman still refuse to start because the lack of company.auth.secret.

Coverage remained the same at 93.791% when pulling 33f8f91601805e62f8cc786359f812b353840675 on eric-lee-ltk:added_default_secret_key into f7612ca2df0b1ea2f2ff780b35b0b3ad9d520701 on ServiceComb:master.

Merged the patch into master branch, and also updated the integration test and docker compose file.


cargo-embed: 0.8.0 -> 0.10.1

Motivation for this change
Update the rust microcontroller flashing/debugging tool cargo-embed to latest version.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 122513 run on x86_64-darwin 1

1 package built:

cargo-embed

@roblabla interested in helping you merge this!
What is your energy level on this? Do you still have a little bit left for making the change to github ?
If not, no worries, let me know.

Should be good to go.

Thanks! I'm building it

Result of nixpkgs-review pr 122513 run on x86_64-darwin 1

1 package built:

cargo-embed


openingFragment and closingFragment should be JSXOpeningFragment and JSXClosingFragment for JSX fragments

Addressing https://github.com/RReverser/acorn-jsx/pull/83#issuecomment-349726310

Looks like fragments shouldn't have name field at all.

@RReverser Removed the name field.


login stopped working...

Hi
When I scan in qcode, the phone starts the logging in process, but webtogo just stays on the qcode screen
Then get a failed login message on the phone doing the scanning
If i then force close webtogo, qcode no longer shows up instead stays on the "loading messages" screen?
Have tried on different wifi networks at different locations
any ideas please, any logs i can forward?
thanks

Just to comfirm, i have the exact same issue. When refreshing, it seems to be logged in, as it states trying to download messages, but on the Phone it already expired and is not logged in. Tried to refresh while the phone is still in "logging in" mode, same result eventually, expires.

I had the same problem with version 1.7.3.
Reason was, the app insisted starting in dark mode although the system was generally set to normal ("light") mode.
Reverted to version 1.7.2, the app started the qr code login process in light mode and everything went fine. In connected state, upgrade to version 1.7.3 was possible and 1.7.3 works as expected.
This behaviour of forced start in dark mode on first start of the app @ v1.7.3 is present on Realme 6i / Narzo 10 / RMX2040 / Android 11.

hmmm, didnt work with me (motorola g7 plus)
tried version 1.7.2. and 1.7.1 (toggling dark/light mode)
real shame really miss this app :)

hmmm, didnt work with me (motorola g7 plus)
tried version 1.7.2. and 1.7.1 (toggling dark/light mode)
real shame really miss this app :(

Same here, going back and toggling didn't help & yess miss this app a lot !

weird, for most it's still working. Just to be sure, can you all please try

log out / delete all WAWTG app data
log out from all your Whatsapp Web sessions from your primary whatsapp phone
try if login works on "normal" wa web
try logging in in WAWTG (in light mode)

Done that as per above to be sure, logged all out all existing sessions,  cleared cache and data and tried again with the same results.
Logging in via various Browsers work.

weird, for most it's still working. Just to be sure, can you all please try
* log out / delete all WAWTG app data

* log out from all your Whatsapp Web sessions from your primary whatsapp phone

* try if login works on "normal" wa web

* try logging in in WAWTG (in light mode)

This work for me with v1.7.3 : change to light mode, scan, it's work.
Unable to connect in dark mode, "normal" web connection with brower of a computer works well too.
I haven't delete the apps data.
Thanks a lot


Layout for the same package differs (project vs registry)

Registry and Manifest may order packages differently.
That means dot renders something different, depending on whether the queried package is part of the active project or not.
Unitful in active project:

Unitful not in active project (info from General registry):

(Originally from https://github.com/tfiers/PkgGraph.jl/issues/5#issuecomment-1383220720)

And now something else entirely:

(WSL, from registry)


Split code into files by module

We should have one file per module rather than the long JavaScript files with many modules we have now. The files can be compiled and minified for deployment to ensure efficient loading nonetheless. This is a critical blocker for having further people contribute to the code and for moving on with own developments.
(@guenthermi @arsylum tracking here what we discussed in email; let's have related discussions on this thread)

#53 prepares this change

I pushed my progress with this in the branch refactor. The changes are documented in the file refactor.documentation there.
Problem with my approach is that we get circular dependencies. Example:  directive in index.html is defined in util/directives. To have it parsed, app/app should depend on util/directives, but that depends on app/statistics which depends on app/app. I assume the best workaround here is making statistics part of the util module. I'm just saying that we can expect more cases like this to occur (I don't have everything completely sorted out yet).
My general concern is to over-complicate things here. On the one hand we now have two steps of handling dependencies (requirejs and angular), on the other hand dependencies can be quite non-obvious, since they can hide in template files or similar. And for example an unknown directive is just silently ignored and doesn't give a good indication that something is wrong.
Apart from that I think that the project becomes a lot more maintainable when split into smaller chunks like this.

Nevermind I found a solution that seems to work quite well. It's just that the whole dependency management seems a little semantically obscure. The following snippet illustrates it somewhat:
// Load everything, start the app
requirejs([
    'jquery-ui',
    'app/browse',		// everything else
    'app/view', 		// is implicitly
    'app/translate',	// pulled via
    'util/directives',	// dependencies
    'query/query'
], function() {
    jQuery(function() {
        //console.log('haz all filez, ready, acshionz!');
        angular.bootstrap( document, ['classBrowserApp'], { strictDi: true } );
    });
});`

See #66

Done. Further improvements are discussed in #67


Issue when deploying Custom Indexes that have commas in their name

We are trying to deploy several metadata files to an organization, specifically several custom indexes with the following name, automatically generated by salesforce:
Account.RD3_Direccion__c,FR_RowID_Magia__c.indx-meta
This is in the customindex file. We know for a fact that it is possible to deploy metadata with commas in its name, because we already have custom indexes in the organization such that if we download the metadata, we find commas in their name. However, whenever we try to deploy this file, we get this error:
$ sf project convert source --source-dir 'force-app/main/default/customindex/Account.RD3_Direccion__c,FR_RowID_Magia__c.indx-meta.xml' --json
{
"code": 1,
"context": "Source",
"commandName": "Source",
"message": "force-app/main/default/customindex/Account.RD3_Direccion__c: File or folder not found",
"name": "SfError",
"status": 1,
"stack": "SfError: force-app/main/default/customindex/Account.RD3_Direccion__c: File or folder not found\n    at assertFileExists (/Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSetBuilder.js:185:15)\n    at validateAndResolvePath (/Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSetBuilder.js:182:59)\n    at Array.map ()\n    at ComponentSetBuilder.build (/Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@salesforce/source-deploy-retrieve/lib/src/collections/componentSetBuilder.js:65:44)\n    at Source.convert (file:///Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@salesforce/plugin-deploy-retrieve/lib/commands/project/convert/source.js:93:55)\n    at async Source.run (file:///Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@salesforce/plugin-deploy-retrieve/lib/commands/project/convert/source.js:71:9)\n    at async Source._run (/Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@oclif/core/lib/command.js:311:22)\n    at async Config.runCommand (/Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@oclif/core/lib/config/config.js:433:25)\n    at async run (/Users/ea_enel/.local/share/sf/client/2.43.7-085948d/node_modules/@oclif/core/lib/main.js:92:16)",
"exitCode": 1,
"warnings": []
}
14:20:35 ~/Documents/01_repo/b2b-crm  (merge)
We understan this is a bug, because custom indexes would not be able to be deployed without convertir comma-containing source files. Has anyone ever faced this issue?
The sf version we are using is:
$ sf --version
@salesforce/cli/2.43.7 darwin-arm64 node-v20.13.1
{
"architecture": "darwin-arm64",
"cliVersion"<EMAIL_ADDRESS>"nodeVersion": "node-v20.14.0",
"osVersion": "Darwin 23.5.0",
"rootPath": "/Users/ea_enel/.local/share/sf/client/2.46.6-191291b",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.1.2 (core)",
"@oclif/plugin-commands 4.0.2 (core)",
"@oclif/plugin-help 6.2.1 (core)",
"@oclif/plugin-not-found 3.2.3 (core)",
"@oclif/plugin-plugins 5.2.4 (core)",
"@oclif/plugin-search 1.1.2 (core)",
"@oclif/plugin-update 4.3.5 (core)",
"@oclif/plugin-version 2.2.3 (core)",
"@oclif/plugin-warn-if-update-available 3.1.5 (core)",
"@oclif/plugin-which 3.2.2 (core)",
"@salesforce/cli 2.46.6 (core)",
"apex 3.1.18 (core)",
"auth 3.6.21 (core)",
"data 3.4.6 (core)",
"deploy-retrieve 3.9.4 (core)",
"info 3.3.6 (core)",
"limits 3.3.12 (core)",
"marketplace 1.2.12 (core)",
"org 4.2.1 (core)",
"packaging 2.4.6 (core)",
"schema 3.3.11 (core)",
"settings 2.3.1 (core)",
"sobject 1.4.11 (core)",
"source 3.4.2 (core)",
"telemetry 3.4.0 (core)",
"templates 56.2.11 (core)",
"trust 3.7.5 (core)",
"user 3.5.13 (core)",
"sfdx-plugin-source-read 1.2.0 (user) published 239 days ago (Tue Oct 24 2023)"
]
}

specifically several custom indexes with the following name, automatically generated by salesforce
How were these created?  A comma in the API name is a very bad idea.  The CLI uses a comma character to split on multiple entries and it would be a huge breaking change to lots of people if that were changed.

As far as we know, administrators do not choose the API name that Salesforce use to refer to Custom Indexes. When refering to Two-Column custom indexes, the autogenerated API Name contains both API Names sepparated by a comma

As a workaround, are you able to deploy the CustomIndex metadata with sf project deploy start -m CustomIndex?

Another workaround would be to deploy the customindex directory: sf project convert source --source-dir 'force-app/main/default/customindex

@Alfystar - thanks, that makes sense.  I've asked the team who owns the CustomIndex metadata type to clarify some things, including whether they can change how the API names are generated.  If that's not possible, then the only solution I can think of is to allow the definition of a different split character, which would likely cause other problems.

I think a simpler solution is to add an escape character in the cli, such as the '' before the problematic character.
Or else do, as for example in argvparse, that the lists declare themselves by putting spaces and if the parameter has spaces inside, then use double quotation marks

Any news?

@Alfystar @edencrash @pabesphoy
I think these will deploy just fine using sf project deploy ...
I think the issue is with the project convert source command , which kept support for commas in the multiple flag scenario to avoid it being a breaking change from the old force:source:convert.
yeah, it's probably possible to fix that, maybe even without breaking something else 😄
Why do you need to convert to mdapi format to do a deployment?  Maybe there's a better way than waiting on us to do a code change?

Hi @mshanemc
In our pipeline we convert the package for deployment into source-format to allow us to compare it with the repository.
I realize that on this particular metadata it might not be useful, but I'm sure you'll agree with me that a pipeline should be generic.
However, we also did some deployment tests without converting and in any case the cli gives an error, unfortunately

@Alfystar I'm working on a fix for this now. In your pipeline are you able to insert a \ into the flag value to escape the comma?
It would look something like this:
sf project convert source --source-dir 'force-app/main/default/customindex/Account.RD3_Direccion__c\,FR_RowID_Magia__c.indx-meta.xml' --json

If that doesn't work for you, we'll have to consider another solution that won't break other customers. Perhaps an environment variable that disables the splitting.
Thanks!

Yes! I can easily implement such a fix, but inside the pipeline I would use your --flag-dir feature, would there be any problems?

So from which version of sf the fix will start to work?? Thank you!


Automatically registering the hook

The following script registers the colors hook, automatically and safely.
It works despite of the current hook list. And if the hook is already there, it isn't added.

Automatic configuration is up to downstream, this repository doesn't even provide a PKGBUILD.
Closing, because it is out of the scope of this repository.


Use dim_params in dynamic dimension analysis

This patch improves the dynamic dimension analysis by getting the relationship between input and output dimensions via onnx.dim_params attribute.

@jenkins-droid test this please

if you go through one more rebuild, would just add a bit of cements for the build functions as you have now 2, one that is called for normal ops and one for the function params

Yes, done.

Jenkins Linux amd64 Build #13436 [push] Use dim_params in dynami... started at 03:58

Jenkins Linux s390x Build #13463 [push] Use dim_params in dynami... started at 04:58

Jenkins Linux ppc64le Build #12457 [push] Use dim_params in dynami... started at 05:07

Jenkins Linux ppc64le Build #12457 [push] Use dim_params in dynami... failed after 1 min 49 sec

Jenkins Linux amd64 Build #13436 [push] Use dim_params in dynami... passed after 1 hr 11 min

Jenkins Linux s390x Build #13463 [push] Use dim_params in dynami... passed after 1 hr 27 min


tests: add dnp3 tests

Based on pcaps from:
https://github.com/bro/bro/tree/master/testing/btest/Traces/dnp3

Why did you add these ? Any related tickets about DNP3 ?

Why did you add these ? Any related tickets about DNP3 ?

Wanted to improve coverage for dnp3 parser and logging code. Even with these tests added its among the lowest we have:
https://codecov.io/gh/OISF/suricata/src/master/src/app-layer-dnp3-objects.c
https://codecov.io/gh/OISF/suricata/src/master/src/output-json-dnp3-objects.c

Wanted to improve coverage for dnp3 parser and logging code. Even with these tests added its among the lowest we have:
https://codecov.io/gh/OISF/suricata/src/master/src/app-layer-dnp3-objects.c
https://codecov.io/gh/OISF/suricata/src/master/src/output-json-dnp3-objects.c

As part of the ideal fuzzing, we should run targets on corpus as part of CI
cf https://redmine.openinfosecfoundation.org/issues/4125
That should increase part

As part of the ideal fuzzing, we should run targets on corpus as part of CI
cf https://redmine.openinfosecfoundation.org/issues/4125
That should increase part


add name of duplicate indices to logger output of _is_consistent check

I added the name of duplicate indices to the logger output.

I fixed some last formatting issues: ./hydropandas/extensions/plots.py:558:1: W293 blank line contains whitespace so we can merge after the unit tests are done.


SIGSEV on HWMCC12 benchmark with satsweep tactic

iimc -v3 -t satsweep  bob12s04.aig
Input File is bob12s04.aig
# iimc -v3 -t satsweep bob12s04.aig
ExprAttachment: building from file
CombAttachment: building
AIGAttachment: Building AIG for model bob12s04.aig
AIGAttachment: Done with building AIG
SAT Sweeping: Number of AIG nodes = 268210
SAT Sweeping: Running with a timeout of 10 seconds + 0 seconds of relayed time
SAT Sweeping: Performing initial refinement of classes
SAT Sweeping: Done with initial refinement
SAT Sweeping: Simulated 84 random vectors
fish: Job 1, “iimc -v3 -t satsweep  bob12s04.aig ” terminated by signal SIGSEGV (Address boundary error)

Problem seems to be in
Program received signal SIGSEGV, Segmentation fault.
Opt::buildClauses (aig=..., ref=ref@entry=228670, v=..., clauses=std::vector of length 525339, capacity 1048576 = {...}, idOfAigRef=std::unordered_map with 501118 elements = {...},
    satIdOfRef=satIdOfRef@entry=0x7fffffffd110, visited=std::vector of length 268210, capacity 268210 = {...}) at src/copt/AIGUtil.cpp:66

while NodeRef should be defined as unsigned long, something else is supplied here

solved by raising rlimit