text:
NoMethodError: undefined method `[]=' for nil:NilClass in unit test

Hi, thanks for creating this awesome gem!
I'm trying to unit test my controllers and am getting an error I'm having a really hard time debugging.  I've got devise_token_auth configured and am using all the default rails 5 testing gems.
I'm doing what I think is a pretty vanilla test case where I just want to get a list of companies for the currently logged in user.  I've verified that the objects are being set up correctly and tried putting loggers/byebug in the controller, however the execution path never makes it that far.  Something in my get call is failing but I have no idea what the error it's throwing means: NoMethodError: undefined method []=' for nil:NilClass`
Any suggestions?
test_helper.rb:
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

class ActiveSupport::TestCase
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

  include FactoryGirl::Syntax::Methods
end

class ActionDispatch::IntegrationTest
  include Devise::Test::IntegrationHelpers
end

companies_controller_test.rb
require 'test_helper'

class CompaniesControllerTest < ActionDispatch::IntegrationTest

  setup do
    @user = create(:user)
    @company = create(:company)
    @permission = create(:permission, { user: @user, model: @company})
  end

  test "should get company" do
    sign_in @user

    get companies_url
  end

end

rake test output:
I, [2017-02-27T16:50:59.615092 #23039]  INFO -- : ------------------------------------------------
I, [2017-02-27T16:50:59.615143 #23039]  INFO -- : CompaniesControllerTest: test_should_get_company
I, [2017-02-27T16:50:59.615162 #23039]  INFO -- : ------------------------------------------------
I, [2017-02-27T16:50:59.884915 #23039]  INFO -- : Started GET "/companies" for 127.0.0.1 at 2017-02-27 16:50:59 -0700
E

Error:
CompaniesControllerTest#test_should_get_company:
NoMethodError: undefined method `[]=' for nil:NilClass
    test/controllers/companies_controller_test.rb:14:in `block in <class:CompaniesControllerTest>'

Hey, I'm trying to do the same thing you are basically (Except starting with IntegrationTests with registration), and I had that error before but I no longer do.
This is my test_helper.rb:
ENV['RAILS_ENV'] = 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

class ActiveSupport::TestCase
  include FactoryGirl::Syntax::Methods
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

  # Add more helper methods to be used by all tests here...
end

class ActionController::TestCase
  include FactoryGirl::Syntax::Methods
  include Devise::Test::ControllerHelpers

  setup do
    @request.env['devise.mapping'] = Devise.mappings[:user]
  end
end

and my auth_controller_test.rb:
require 'test_helper'

class AuthControllerTest < ActionDispatch::IntegrationTest
  #include Devise::TestHelpers
  setup do
    # Create a user with factory girl
    @user = build(:user)
  end

  test "should create new user with sign_up" do
    pw = Faker::Internet.password(12, 20, true, true)
    assert_difference('User.count') do
      post user_registration_url, params: { email: @user.email, password: pw, password_confirmation: pw }, as: :json
      pp response.status
    end

    assert_response 201
  end
end

I keep getting 307 as response code from the post.

Thanks @Blitzkev, what did you do to fix the []= for nil error?  When you say you keep getting a 307 you mean where you assert_response 201?

Hey, I think adding
  setup do
    @request.env['devise.mapping'] = Devise.mappings[:user]
  end

Fixed that particular error for me, but like you said it was hard to troubleshoot.
The 307 is from the post user_registration_url line, which makes the User.count assert fail (no user created)

I was able to figure out my error, and then recreate your error. Since I have force_ssl on, I had to specify https for all test requests (hence the 307 redirecting to ssl)
# test/controllers/auth_controller_test.rb
require 'test_helper'

class AuthControllerTest < ActionDispatch::IntegrationTest
  setup do
    # Create a user with factory girl
    @user = build(:user)
  end

  test "should create new user with sign_up" do
    pw = Faker::Internet.password(12, 20, true, true)
    assert_difference('User.count') do
      post user_registration_url, params: { email: @user.email, password: pw, password_confirmation: pw }, as: :json
    end

    assert_response 200
  end
end

# test/test_helper.rb
ENV['RAILS_ENV'] = 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

class ActiveSupport::TestCase
  include FactoryGirl::Syntax::Methods
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

  # Add more helper methods to be used by all tests here...
  setup do
    @request.env['HTTPS'] = 'on'
  end
end

class ActionController::TestCase
  include FactoryGirl::Syntax::Methods
  include Devise::Test::ControllerHelpers

  setup do
    @request.env['devise.mapping'] = Devise.mappings[:user]
    @request.env['HTTPS'] = 'on'
  end
end

Run options: -vb --seed 61463

# Running:

D, [2017-02-28T23:47:56.336212 #10297] DEBUG -- :    (0.3ms)  BEGIN
I, [2017-02-28T23:47:56.336478 #10297]  INFO -- : ------------------------------------------------------------
I, [2017-02-28T23:47:56.336624 #10297]  INFO -- : AuthControllerTest: test_should_create_new_user_with_sign_up
I, [2017-02-28T23:47:56.336822 #10297]  INFO -- : ------------------------------------------------------------
D, [2017-02-28T23:47:56.757794 #10297] DEBUG -- :    (0.4ms)  ROLLBACK
AuthControllerTest#test_should_create_new_user_with_sign_up = 0.42 s = E

Error:
AuthControllerTest#test_should_create_new_user_with_sign_up:
NoMethodError: undefined method `env' for nil:NilClass
    /home/andes/test/test_helper.rb:12:in `block in <class:TestCase>'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:396:in `instance_exec'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:396:in `block in make_lambda'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:169:in `block (2 levels) in halting'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:547:in `block (2 levels) in default_terminator'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:546:in `catch'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:546:in `block in default_terminator'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:170:in `block in halting'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:454:in `block in call'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:454:in `each'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:454:in `call'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:101:in `__run_callbacks__'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:750:in `_run_setup_callbacks'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:90:in `run_callbacks'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/testing/setup_and_teardown.rb:41:in `before_setup'
    /usr/local/rvm/gems/ruby-2.4.0/gems/activerecord-5.0.1/lib/active_record/fixtures.rb:853:in `before_setup'
    /usr/local/rvm/gems/ruby-2.4.0/gems/actionpack-5.0.1/lib/action_dispatch/testing/integration.rb:401:in `before_setup'
    /usr/local/rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/test_help.rb:40:in `before_setup'

bin/rails test test/controllers/auth_controller_test.rb:10

Finished in 0.428388s, 2.3343 runs/s, 0.0000 assertions/s.

1 runs, 0 assertions, 0 failures, 1 errors, 0 skips

I was unable to change the requests environment variables, I think this is no longer supported in ActionDispatch::IntegrationTest style controller tests... Which may be what include Devise::Test::IntegrationHelpers is attempting to do. I got my tests to pass by disabling ssl in test.rb environment file.
Would be good to hear from devise_token_auth devs with respect to this.

Thanks @Blitzkev, I still can't get rid of the NoMethodError: undefined method '[]=' for nil:NilClass error.
If I add:
 setup do
    @request.env['devise.mapping'] = Devise.mappings[:user]
  end

To my class ActionDispatch::IntegrationTest block in my test helper, I get the same NoMethodError: undefined method 'env' for nil:NilClass error you mentioned.
Here is my test_helper.rb
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

class ActiveSupport::TestCase
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

  include FactoryGirl::Syntax::Methods
end

class ActionDispatch::IntegrationTest
  include Devise::Test::IntegrationHelpers
end

And my controller unit test:
require 'test_helper'

class CompaniesControllerTest < ActionDispatch::IntegrationTest

  setup do
    @user = create(:user)
    @company = create(:company)
    @permission = create(:permission, { user: @user, model: @company})
  end

  test "should get company" do
    sign_in @user
    get companies_url
  end

end

I experimented with adding config.force_ssl = true to my test.rb file.  If I set it to true, I just get a 301 response.  If I set it to false, I get the same NoMethodError: undefined method '[]=' for nil:NilClass error that's been plaguing me.
I also wasn't able to run rake test -vb, I get an OptionParser::AmbiguousOption: ambiguous option: -b error.  Instead I added the following to my test.rb file which seems to give me a more verbose (albeit not that much more useful) output:
config.logger = Logger.new(STDOUT)
config.log_level = :INFO

Any suggestions?

@davidjconnolly
I assume you're using Rails 5, if so the new preferred syntax is to use rails instead of rake, so your run command would be rails t -vb
If your main application doesn't use SSL, then don't worry about messing with those settings.
I don't think Devise::Test::IntegrationHelpers work in rails 5, I created my own helper and was able to get things working. Here are some snippets:
# test/test_helper.rb
ENV['RAILS_ENV'] = 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

# Takes user object and their password, and returns headers we need for valid requests
# If testing multiple requests afterwards, you'll need to keep trak of changing headers
module SignInHelper
  def sign_in_as(user, password)
    post user_session_url, params: { email: user.email, password: password }, as: :json
    return response.headers.slice("client", "uid", "access-token")
  end
end

class ActiveSupport::TestCase
  include FactoryGirl::Syntax::Methods
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

  # Add more helper methods to be used by all tests here...
end

class ActionController::TestCase
  include FactoryGirl::Syntax::Methods
end

class ActionDispatch::IntegrationTest
  include SignInHelper
end

# test/controllers/api/v1/users_controller_test.rb
require 'test_helper'

module Api::V1
  class UsersControllerTest < ActionDispatch::IntegrationTest
    setup do
      # Create a user with factory girl
      @pw = Faker::Internet.password(12, 20, true, true)
      email = Faker::Internet.free_email
      @user = create( :user, email: email, uid: email, password: @pw,
                                          password_confirmation: @pw )
    end

    test 'request should fail without signing in' do
      get api_v1_users_url, as: :json
      assert_response :unauthorized
    end

    test 'should get index' do
      tokens = sign_in_as( @user, @pw )
      get api_v1_users_url, headers: tokens, as: :json
      #get api_v1_users_url, as: :json - this would fail.

      assert_response 200
    end

  end # class
end # module

I see, that worked, thanks for the explanation @Blitzkev.  I'm coming from Rails 4 a few years back and apparently have some catching up to do!
FYI my controller/model tests are passing without:
class ActionController::TestCase
  include FactoryGirl::Syntax::Methods
end

Are you using ActionDispatch for all your controller/integration testing?  What tests do you have that  inherit ActionController?
Thanks again!

Seems like we have an explanation here and also a lack of recent activity. Closing out for now.

authors: Blitzkev davidjconnolly zachfeldman

license: WTFPL


text:
Missing Equipment

Nagnarok; Progression of Fervor and Belief from recent event not loaded in dbase

Item Nagnarok is flagged as "not released yet" in /static/GL/data.json (Line 110).  The same is true of the Progression of ... abilities on lines 2113 and 2114 respectively.

source: gharchive/issue

repo: lyrgard/ffbeEquip

license: ISC

license_type: permissive

license_source: github-api


text:
/tmp/.mount_lx-musgGtJLu/chrome-sandbox权限问题

当我通过软件APPimage版本打开时候，终端报错
./lx-music-desktop-v0.12.1-x64.AppImage
[1242:1210/154625.837447:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_lx-musgGtJLu/chrome-sandbox is owned by root and has mode 4755.
追踪与中断点陷阱 (核心已转储)
/tmp/.mount_lx-musgGtJLu/chrome-sandbox是一个临时文件我找不到办法将其的权限设置为4755.希望开发者可以解决一下。

我用Ubuntu运行AppImage是可以正常运行的，这或许是你系统权限的问题，这样的话就需要你自行处理了

我用的是manjaro xfce的最新版，我再看看怎么处理吧。

repo: lyswhut/lx-music-desktop


text:
解决方案检查

[X] 我已阅读常见问题(https://lyswhut.github.io/lx-music-doc/desktop/faq)，但没有找到解决方案
[X] 我已搜索issue列表(https://github.com/lyswhut/lx-music-desktop/issues?utf8=✓&q=)，但没有发现类似的问题

问题描述
现在下载音乐只有普通音质的选项
描述你想要的解决方案
是否可以改回原有的flac音质
描述你考虑过的替代方案
No response
附加信息
No response

默认音源只有普通音质

更换音源

更换音源

哪里搞

同问怎么更换音源

更换音源

哪里搞

去六音音源下载，然后再基本设置-自定义源管理-导入 即可

同问怎么更换音源

去六音音源下载，然后再基本设置-自定义源管理-导入 即可


text:
Reindexing is never automatically triggered (OSX)

I'm quite new to rtags, so I am not sure how is it supposed to work,
but for me reindexing is basically never triggered when I modify and save the file.
I can trigger reindexing manually with <Leader>rr, but for some reason that also seems to reindex much more than it should.
RTags has support for automatic reindexing, right?

Closing, opened a tickets on rtags proper.

repo: lyuts/vim-rtags

license_source: bigquery


text:
Bug: Centering Homepage Video Play Button

This PR fixes issue #161 where the play button on the homepage video was left aligned and should be centered.
Instead of absolutely positioning the play button the left, this fix relatively positions the button centered vertically and horizontally.  This fix can be viewed on my fork.

This change is

Previously, shredtechular (Andrew Newhouse) wrote…
> #### Bug: Centering Homepage Video Play Button
>
> This PR fixes issue #161 where the play button on the homepage video was left aligned and should be centered.
>
>
>
> Instead of absolutely positioning the play button the left, this fix relatively positions the button centered vertically and horizontally.  This fix can be viewed on my [fork](http://shredtechular.github.io/m-lab.github.io/).
>
>
>

Comments from Reviewable

source: gharchive/pull-request

authors: critzo shredtechular


text:
log real client ip behind a HTTPS gateway

pull again, with better compatible for apache/nginx log default format

Should we add a log-realip option in doh-server.conf ?

Thank you for the update.
Just to mention that X-Forwarded-For can be forged.
It is okay for doh-server to receive a forged X-Forwarded-For for ECS purpose.
But I am afraid it is better that we can log the full IP chain? (RemoteIP + X-Real-IP + X-Forwarded, separated with comma)

RemoteIP + X-Real-IP + X-Forwarded .. is unuseable.
My suggestion is setting a doh-server.conf option. This feature default is off. Then system administrator will config their nginx/apache to remove forge http header and enable it..

My suggestion is setting a doh-server.conf option. This feature default is off. Then system administrator will config their nginx/apache to remove forge http header and enable it..

That's a good idea!
I want to name it as "log_guessed_client_ip" in doh-server.conf. The word "guess" indicates that it is not always accurate.
What's your opinion?
Would you like to implement it, or wait a few days until I have time to implement it?

done!

license: mit


text:
Missing dependency: email_validator

Hi, email_validator is missing from the pip install command.
Nice app by the way, thank you for sharing.

Adding a screenshot (I tried to register with a malformed email address). It seems email_validator is a wtforms dependency so the bug is not in your code.

Running  pip install email_validator solved the issue for me.

Thank you for bringing this to my attention!
I've added email-validator to the installation steps in the README.

license: MIT


text:
Add random seeding

To address issue #44, I added a random_state argument to the sample function in src/gz21_ocean_momentum/analysis/utils.py, and a seed_all function in src/gz21_ocean_momentum/utils.py.

(I'll bring this up in the dev meeting tomorrow since I think that's how I'm meant to merge work.)

authors: TZTsai raehik


text:
fix: Prevent immediate upload for UserAttributeChange Events

Instructions

PR target branch should be against development
PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

Remove the reference to UserAttributeChanges as a trigger for immediate batch upload

Testing Plan

[x] Was this tested locally? If not, explain why.
Using a sample application, increase the eventBatchingIntervalMillis value to something longer than 10 seconds.
Create a series of events and then attempt a UserAttributeChange
Verify that user attribute change event does not trigger an immediate upload.

Reference Issue (For mParticle employees only.  Ignore if you are an outside contributor)

Closes https://go.mparticle.com/work/SQDSDKS-5886

Closing and Reopening to re-run the checks

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: alexs-mparticle mparticle-automation

repo: mParticle/mparticle-web-sdk


text:
HDR CX 560V pmca.usb.InvalidCommandException

Hello.
i recently have tried to install openmemories tweak on my cx 560v via the pmca gui thinking that it would work due to the software supporting the cx 700 (which i believe to be the same family) but after putting the device intro mass storage mode and trying to install the app the console in pmca gave me this error pmca.usb.InvalidCommandException: Mass storage error: Sense 0x5 0x20 0x0 i am not sure what this means but i hope i can over come it, since i brought this camera in japan ages and ages ago so it is locked in japanese and only recently have i been looking into enabling English on it.
many thanks

This might be possible via a custom firmware update. As a first step, we have brute force the model id of your camera (it might be the same as the CX700, but I'm not sure about that). This won't install anything on your device. If you're interested to help, here's what you can do:

If you're on windows, download the newest development build of pmca-console here. If you're on os x, you have to wait for the next release.
Download 0x11010000.zip and place it in the same folder (no need to unpack). It contains a bunch of firmware images which might match your camera.
Power on your camera. Plug in the AC adapter and connect it over USB to your computer.
Open a command prompt and run the following command: pmca-console guess_firmware -f 0x11010000.zip
With a bit of luck, the script should find the model id of your camera.

Let me know if you need any help.

https://imgur.com/a/dOlrM
there you go, hope this helps :)
also keep up the stuff, if this works this will be a huge money saver

Thanks for your help, it is indead the same model id as the CX700. The CX560 is now supported in the latest development builds.
The next step is to dump the firmware, I just want to make sure that it really is the same as the CX700. Here's how to do that:

Download the newest development build of pmca-console here.
Power on your camera. Plug in the AC adapter and connect it over USB to your computer.
Open a command prompt and run the following command: pmca-console updatershell
Follow the instructions on your camera screen to reboot to firmware update mode. You should get to a new command prompt.
Run the following command to dump the firmware (this will take some time to complete): pull /dev/nflasha
Run the following command to reboot your camera back to normal mode: exit
You should now have a file called nflasha on your computer. Zip it and upload it to my dropbox.

IMPORTANT: I had some issues with the CX700. When I last tested the above process, the camera lost all settings (same as a factory reset). I had to proceed setting the date and reconfigure all the settings in the menu. I don't know if this will happen to you as well. I'm unable to debug this, as I don't have access to the CX700 at the moment.

i am having a issue with copying the firmware, i leave it to copy for around 1 - 2 hours and after 40ish minutes the camera shuts off and disconnects from my pc even tho i have it plugged into ac :( i have tried to copy 3 times already all end with failure :( i will also be over seas for the next two days so i can not do anything until Monday, sorry

The process should take maybe a minute or two, but not half an hour. Maybe you missed the completion? Have a look at the folder where you donwloaded pmca-console.exe. There should be a file called nflasha. What's its size? If it is around 128MB, everything completed successfully.

should be uploaded, idk why it didnt work but i changed computers and i got it finally.

Thank you, it is indeed almost the same firmware as the CX700.
Here is what you can try to unlock all languages (I don't know if this will work):

You can use pmca-gui for this, download the latest development build here (alternatively, you can use the tweak command in updatershell).
In pmca-gui, go to the Tweaks tab and click the Start tweaking button. The camera should reboot to updater mode.
Check Unlock protected settings
Check Unlock all languages
Uncheck Unlock protected settings
Click Done. Your camera should reboot to normal mode.
Go the the language selection menu. With a bit of luck, you should have all options now.

Please let me know if it worked.

https://imgur.com/a/SxJx2 :(

There seems to be a communication error. Which computer are you using? Is it the one you had issues with dumping the firmware?

nope i am using my mac book pro with bootcamp, the one that dumped the firmware, i will try to tweak with all the pcs i have available to me, thanks for you help i should hopefully be able to get everything working!

I just discovered that this is not a communication issue, it's a problem in Sony's Backup_write() code which causes the camera to lock up. My bad. I'll try to fix this by changing the Backup_guess_protection() code.

The issue should be fixed in the newest development builds.

sorry for being inactive, i was again on another trip but thank god everything works now! i cant thank you enough for helping me. i wish you good luck on this and your future projects :)

No worries, thanks for your help on the project!

@ma1co I get the exact same error: Mass storage error: Sense 0x5 0x20 0x0 for my Sony QX10 LensCamera. The firmware of that device is not found by the guess function. Therefore i have uploaded the firmware into your Dropbox.


text:
Workaround to avoid replacing element collections

Relates to #19162

The workaround takes the following approach:
If the collection already exists, don't replace it but update just the contents of the existing collection by clearing it first and then putting the new elements in it.
The problematic thing about this workaround: It probably needs to be applied in other places as well. As you mentioned that the updating of clients might fix most of the tests, it might still be a valid approach to see if there are other problems that we miss to see, and that we should report to the Hibernate project rather sooner than later.

repo: mabartos/keycloak


text:
Parse numbers and booleans?

Would it be possible to add a flag or default functionality that would convert true false 1 0 to true or false respectively and numbers to stay as a number?
I saw a old issue with it in the 3.0 feature branch just wanted to see if that was still the case.

There is no type casting in 2.x with the exception of <input type="checkbox"> elements.
3.x is still back-burnered for the time-being as I'm working on other time-critical projects.

#98 offers a way to parse based on provided options.

authors: Merwer macek th3fallen

repo: macek/jquery-serialize-object


text:
Time and Number Entities

Hi,
I was wondering what does IEPY has implemented in order to extract TIME and NUMBER entities from Spanish texts, as Stanford CoreNLP doesn't recognize such entities.
Thank's. IEPY is wonderful :)

Thanks for your message Cristhiant.
As far as I remember, CoreNLP was providing Date and Number entity
recognition.
On Tue, Apr 18, 2017 at 4:23 PM, Cristhiant notifications@github.com
wrote:

Hi,
I was wondering what does IEPY has implemented in order to extract TIME
and NUMBER entities from texts, as Stanford CoreNLP doesn't recognize such
entities.
Thank's. IEPY is wonderful :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/machinalis/iepy/issues/126, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAd046IX3vOM6nmdFFWv38bLPnpOtanqks5rxQ3KgaJpZM4NAyD6
.

--
Javier Mansilla - CTO
www.machinalis.com

authors: Cristhiant jmansilla

repo: machinalis/iepy


text:
[WIP] Reject asset upload with invalid id

Excerpt from issue #209:
The actual id of the dataset asset in MLX was codenet-langclass. Notice the dash - which correctly replaced the underscore _ character. However, the component which generated the DataShim metadata used the value of the id field from the YAML file, with the id containing the underscore character.
Proposed fix:
Any _upload_XXX method in api/server/swagger_server/controllers_impl/XXX_service_controller_impl.py which takes an id (or similar field like model_identifier) from the uploaded YAML file to generate the asset id should call a new validate_id() method similar to the swagger_server.controllers_impl.validate_parameters function in api/server/swagger_server/controllers_impl/__init__.py:
api/server/swagger_server/controllers_impl/:

[x] __init__.py, add validate_id(id: str) method
[x] dataset_service_controller_impl.py, line 372: def _upload_dataset_yaml(...) ... use validate_id(id: str)
[x] model_service_controller_impl.py, line 381: def _upload_model_yaml(...)... use validate_id(id: str)
[x] notebook_service_controller_impl.py, line 392: def _upload_notebook_yaml(...) ... use validate_id(id: str)

Resolves #209

@ckadner Please Review.

@ckadner Please Review.

@JAulet -- did you try this out by uploading a model, dataset, notebook YAML with invalid ID values?

@ckadner Please Review.

@JAulet -- did you try this out by uploading a model, dataset, and notebook YAML respectively with invalid ID values (and with valid ones)?

Yes, I did. I got the correct output for each.

authors: JAulet ckadner

repo: machine-learning-exchange/mlx


text:
Updated to support VS11-VS12

By binding the TestPlatform.ObjectModel reference to VS14, the adapter
will no longer work in VS11-12

This should now be resolved in 2.2.0 . Sorry for taking so so long on this.

authors: ivanz rsking


text:
Fix for #48

This fixes the issue #48
I hope it's helpful, it was to me.

Thanks!


text:
Do not blow up when custom key is not found

Addresses #36.

@kennyw12 Thanks for your input!

repo: maciejtreder/serverless-apigw-binary


text:
setup-all-apt-v2.sh uses the deprecated apt-key command

I'm sorry if this is not the right place to report issues related to setup-all-apt-v2.sh, which is not part of this repository, but I was not aware of anywhere else better.
The installer script setup-all-apt-v2.sh currently uses the apt-key command to add the repository's key to APT's trusted keyring, but this method has been deprecated due to security reasons.
According to the Debian's document the recommend method is to create a new GPG key ring in some location (such as /usr/share/keyrings/mackerel.gpg) and then pin the repository signature to it in the APT source file
deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/mackerel.gpg] http://apt.mackerel.io/v2/ mackerel contrib

PS: I am not a security expert nor a Debian committer so I can't take responsibility for the correctness of the above method.

Thank you for reporting.
We understand this issue. We'll work on it.

We fixed setup-all-apt-v2.sh and not the script doesn't use apt-key command.
Close this issue as it has already been resolved.

repo: mackerelio/mackerel-agent


text:
Fixes to HTTP compression behavior

Fix build on old MacOS X
Leave compression OFF by default
For livecheck, turn it ON by default
Expose livecheck compression toggle to portfile via livecheck.compression

I've updated the c preprocessor to handle the old definition. Thanks to jmroot for investigating it, I don't have an old mac anywhere.

Thanks!

authors: dgilman jmroot

repo: macports/macports-base


text:
API for control and logging

You can make tcp or web based api for suspend-resume and kill process (with clean up tmp dir) and logging param phase and time? may be more..

That should be in a manager app. The core apps funcionality should never be bloated with those things. Ask the devs of swar manager or any other similar.

See #60 for ideas about additional functionality

authors: DowJhob VertiHydro sigi77777


text:
Change DNS to LaPIJ subdomain

Check with @laurence001 who is maintaining https://lapij.ulb.ac.be/

Bonjour Max, y a-t-il quelque chose que je dois faire de mon côté? Ou tout est ok? Merci !

Hello, l'idée serait de laisser tomber le nom de domaine https://www.camille-ulb-kbr.be/ et d'intégrer la plateforme à LaPIJ, par exemple sur https://camille.lapij.ulb.ac.be/ ou https://lapij.ulb.ac.be/camille (évitons de réutiliser https://lapij.ulb.ac.be/camille-centre-darchives-sur-les-medias-et-linformation-ulb-kbr/ car l'URL est un peu longue ;)
Il faut vérifier avec l'ULB si on peut faire une redirection DNS vers une adresse IP d'Amazon (car le site de CAMille resterait hosté sur AWS, au moins dans un premier temps).
Sidenote: pourquoi est-ce toujours https://lapij.ulb.ac.be/ et non https://lapij.ulb.be/ ? Cette dernière adresse renvoie une erreur de certificat et puis une erreur 404 de dev.ulb.ac.be

Il que tu voies ça avec la cellule web car je n'ai aucun accès à tout cela (juste au serveur pour transférer des fichiers mais aucune maîtrise sur les DNS, nom de domaine etc.) Les contacts sont Marc.Albert (at l'université) ou alors Cellule.web (at l'université).

@flecam la première partie fonctionne : https://lapij.ulb.ac.be/camille redirige automatiquement vers https://www.camille-ulb-kbr.be/
Maintenant il faut voir si c'est suffisant ou si on veut que l'adresse lapij reste affichée dans le navigateur...

J'imagine que c'est beaucoup plus compliqué si on veut que le lapij reste affiché? Dans ce cas, ce n'est pas prioritaire. Là, c'est déjà bien.

Par forcément plus compliqué mais il y a un risque d'interférence avec le WordPress de LaPIJ... Je regarde ça.

Bon pas possible de faire mieux finalement puisque l'ULB ne permet pas l'usage du proxy...

Juste une chose : est-ce qu'on ajoute un onglet CAMille dans le menu sur https://lapij.ulb.be/ ?
Si oui, @laurence001 tu pourrais t'en charger dans WordPress ?
Attention il ne faut pas oublier que ce sera frustrant pour la plupart des utilisateurs puisqu'ils n'auront pas le login/mdp et seront donc bloqués à l'entrée...

Bonjour Max,
Il faut poser la question à Florence, en copie. Je peux ajouter l'onglet
mais s'il s'agit d'un accès protégé, je me demande si ce n'est pas mieux
de l'ajouter directement dans le thème avec l'ouverture dans une
nouvelle fenêtre. Dites-moi ce qu'il faut faire, merci !
Laurence
Le 2022-09-29 12:55, Max De Wilde a écrit :

Juste une chose : est-ce qu'on ajoute un onglet CAMille dans le menu
sur https://lapij.ulb.be/ ?
Si oui, @laurence001 [1] tu pourrais t'en charger dans WordPress ?
Attention il ne faut pas oublier que ce sera frustrant pour la plupart
des utilisateurs puisqu'ils n'auront pas le login/mdp et seront donc
bloqués à l'entrée...
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
You are receiving this because you were mentioned.Message ID:
@.***>

Links:
[1] https://github.com/laurence001
[2]
https://github.com/madewild/CAMille/issues/59#issuecomment-1262111866
[3]
https://github.com/notifications/unsubscribe-auth/AD2XVWOXZTWU3N2BAS3Z3E3WAVYRFANCNFSM5YNOFEFA

Bonjour,
Je pense que ce n’est pas utile. Je préfèrerais que sur la page CAMille du Lapij (https://lapij.ulb.ac.be/camille-centre-darchives-sur-les-medias-et-linformation-ulb-kbr/), nous puissions mettre un petit bloc menant vers la plateforme. Elena a déjà des idées.
Merci,
Florence
--
Professeure invitée – Université de Montréal (2022-23)
Chaire de journalisme - Université Libre de Bruxelles (ULB)
Revue Sur le journalisme, About Journalism, Sobre Jornalismohttp://www.surlejournalisme.com/rev
ReSIChttp://resic.ulb.ac.be/, LaPIJhttps://lapij.ulb.ac.be/ et Camillehttps://lapij.ulb.ac.be/camille-centre-darchives-sur-les-medias-et-linformation-ulb-kbr/
Arèneshttps://arenes.eu/ (Université de Rennes 1)
@florlecam
De : Laurence Dierickx @.>
Date : jeudi 29 septembre 2022 à 11:58
À : madewild/CAMille @.>, LE CAM Florence @.>
Cc : madewild/CAMille @.>, Mention @.***>
Objet : Re: [madewild/CAMille] Change DNS to LaPIJ subdomain (Issue #59)
Bonjour Max,
Il faut poser la question à Florence, en copie. Je peux ajouter l'onglet mais s'il s'agit d'un accès protégé, je me demande si ce n'est pas mieux de l'ajouter directement dans le thème avec l'ouverture dans une nouvelle fenêtre. Dites-moi ce qu'il faut faire, merci !
Laurence
Le 2022-09-29 12:55, Max De Wilde a écrit :
Juste une chose : est-ce qu'on ajoute un onglet CAMille dans le menu sur https://lapij.ulb.be/https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flapij.ulb.be%2F&data=05|01|Florence.Le.Cam%40ulb.be|99a2a6c0ac7e41093a6608daa2337503|30a5145e75bd4212bb028ff9c0ea4ae9|0|0|638000639127643693|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=xewKN9h6waNY4qhMpbTGXf1dCd%2FyAx4b5lbBFTgr4Nk%3D&reserved=0 ?
Si oui, @laurence001https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flaurence001&data=05|01|Florence.Le.Cam%40ulb.be|99a2a6c0ac7e41093a6608daa2337503|30a5145e75bd4212bb028ff9c0ea4ae9|0|0|638000639127643693|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=sXp6Zi6OZa1HeQvVjirClvh%2FSYwRo%2FsipYNoxhjtT2s%3D&reserved=0 tu pourrais t'en charger dans WordPress ?
Attention il ne faut pas oublier que ce sera frustrant pour la plupart des utilisateurs puisqu'ils n'auront pas le login/mdp et seront donc bloqués à l'entrée...
—
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmadewild%2FCAMille%2Fissues%2F59%23issuecomment-1262111866&data=05|01|Florence.Le.Cam%40ulb.be|99a2a6c0ac7e41093a6608daa2337503|30a5145e75bd4212bb028ff9c0ea4ae9|0|0|638000639127643693|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=JFRjK6Iy8OxOuEU2khPF76fVjSwiUJfxOA4xcbY2944%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD2XVWOXZTWU3N2BAS3Z3E3WAVYRFANCNFSM5YNOFEFA&data=05|01|Florence.Le.Cam%40ulb.be|99a2a6c0ac7e41093a6608daa2337503|30a5145e75bd4212bb028ff9c0ea4ae9|0|0|638000639127799938|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=f8IhyjOFMtyJAu6pE3x0FxWa1T0B7mgtko2irQ51vdo%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

authors: flecam laurence001 madewild

repo: madewild/CAMille


text:
Hierarchize RFC comments through references

In the mailing list comments aren't flat, each comment is an answer to one or more messages, listed in the references attribute. Need to nest comments accordingly.

Done.


text:
Data: Telemetry: Clarification on Source

{
    "time": "2017-01-25T00:56:38+0000",
    "type": "DealDamage",
    "payload": {
        "Team": "Left",
        "Actor": "*Gwen*",
        "Target": "*Taka*",
        "Source": "Unknown",
        "Damage": 127,
        "Delt": 70,
        "IsHero": 1,
        "TargetIsHero": 1
    }
}

Source of damage should never be unknown. Can we please add in the source of damage. Perhaps some sources of damage can be Mortal Wound, Bleed, Chill Damage, but I am uncertain why any damage would be Unknown.
Can data display exactly what the cause of this Unknown damage is please.

Newest sample provided has the same issues
{ "time": "2017-02-18T12:54:27+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }

As you can see the source is unknown. However, it appears as if it could be basic attack since looking in context displays:
{ "time": "2017-02-18T12:54:26+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:27+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:27+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:27+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:28+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:28+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:29+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:29+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }
{ "time": "2017-02-18T12:54:29+0000", "type": "DealDamage", "payload": { "Team": "Left", "Actor": "*SAW*", "Target": "*Celeste*", "Source": "Unknown", "Damage": 50, "Delt":  41, "IsHero": 1, "TargetIsHero": 1 } }

The damage is same and almost instantaneous with SAW leading to the assumption that Source Unknown could possibly be Basic Attacks.
Can anyone confirm?

This probably requires a doc update, but someone who is doing a bunch with telemetry.

repo: madglory/gamelocker-vainglory


text:
🛑 Portainer Agent Pi is down

In e655252, Portainer Agent Pi (pi) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portainer Agent Pi is back up in 3e50e15.

repo: madhogs/upptime


text:
Executing yarn scripts as part of build fails

When using yarn inside a build script, e.g.
"testb@workspace:packages/testb" = {
  build = ''
    yarn build # defined in package.json as `node build.js`
  '';
};

The following error occurs:
Internal Error: testb@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile

I have already tried copying ./yarn.lock to the build environment, i.e.
build = ''
  cp ${workspace/yarn.lock} ../../yarn.lock
  yarn build
'';

but this doesn't seem to change anything

Yes this is unsupported for now, but you can run node build.js or whatever your build script is. Any CLI bins provided by dependencies or dev dependencies will be available in the PATH too, so you can run e.g tsc or esbuild

Thanks for the information, I am trying to get https://github.com/prisma/prisma/ to work inside yarnpnp2nix. To be precise, prisma generate requires special handling and only works with yarn pnpify. I have tried to work around this by directly adding --require @yarnpkg/pnpify but unfortunately it looks like this also depends on the same behavior. The error message looks a bit different (Assertion failed: Expected the package to have been registered), but it seems to also result from the missing lockfile.

I have solved this differently now, I'm generating the prisma client in a separate derivation without yarn / yarnpnp2nix:
prisma-client = pkgs.stdenv.mkDerivation {
  name = "prisma-client";
  buildInputs = with pkgs; [ nodejs nodePackages.prisma ];
  src = pkgs.nix-filter {
    root = packages/prisma;
    include = [
      packages/prisma/prisma/schema.prisma
    ];
  };
  buildPhase = with pkgs; ''
    npm install --cache .npm-cache @prisma/client
    prisma generate
  '';
  installPhase = ''
    mv generated $out
  '';
};

and in the package importing the generated prisma client, I am symlinking the result to the expected location:
yarnPackages = pkgs.mkYarnPackagesFromManifest {
  yarnManifest = import ./yarn-manifest.nix;
  packageOverrides = {
    "@alugha/prisma@workspace:packages/prisma" = {
      build = with pkgs; ''
        ln -s ${prisma-client} generated
        node build.cjs
      '';
    };
  };
};


text:
Outbox and EventStore switch to Efcore Issues

With the Outbox and EventStore setup in the appsettings, when i change the type from mogo to ef, all the service keeps failing. After debugging through i realized that the dbContextOption appears null in both the EventStoresExtensions and OutboxExtensions.

The documentation has not been updated for this yet.
You need to pass in DbContextOptionsBuilder for it to know which database plugin it should use.
Just as you do when you're adding the DataModel.

Well noted sir.

authors: madslundt mkojoa

repo: madslundt/NetCoreMicroservicesSample


text:
ERROR in ./src/vendor.ts ERROR in ./src/main.ts

Hi, Any thoughts on this one?
When I run this...
npm run server
I get...
ERROR in ./src/vendor.ts
Module build failed: Error: Could not find the following rules specified in the configuration:
no-trailing-comma
    at Object.loadRules (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint\lib\ruleLoader.js:29:15)
    at Linter.lint (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint\lib\tslint.js:25:44)
    at Object.lint (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint-loader\index.js:64:23)
    at Object.module.exports (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint-loader\index.js:126:8)

ERROR in ./src/main.ts
Module build failed: Error: Could not find the following rules specified in the configuration:
no-trailing-comma
    at Object.loadRules (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint\lib\ruleLoader.js:29:15)
    at Linter.lint (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint\lib\tslint.js:25:44)
    at Object.lint (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint-loader\index.js:64:23)
    at Object.module.exports (C:\dev\p\apollostack\yo-ng2-webpack\node_modules\tslint-loader\index.js:126:8)
webpack: bundle is now VALID.

UPDATE
I commented out line tslint.json#L23 and it went through. However, I think that we need to update the the version of tslint to @3.9.0 (maybe).

Same Error Please help me out

authors: aaroncalderon vikrambarnwal


text:
Documentação Gitflow para Estudo

link: https://www.atlassian.com/br/git/tutorials/comparing-workflows/gitflow-workflow

feito

authors: edibertooliveira magdieline

repo: magdieline/encurtador-de-url


text:
Vuejs 2

Convert to vuejs 2

Already available in Vue 2


text:
关于图片放大脚本或插件等

希望这个脚本可以支持一下像「浮图秀」等这种插件或脚本可以支持一下，欣赏封面很好用（点赞

感谢推荐, 这个插件  挺好用的~
已修改适配. (只动了一行 css ...

v0.24.4

authors: HaBoomGG magicdawn

repo: magicdawn/bilibili-app-recommend


text:
Rabl configuration

Hi Mikhail,
Could we extract centromere or telomere clusters and calculate their compartment strength using panted?
Best,
Pengfei

Hi @PengfeiInTuebingen,
Unfortunately, I do not this it is feasible with the current tool implementation.
Best,
Mikhail

hi,
thanks for your quick reply.
do you have any recommendations for the rabl compartment analysis?
pf

I am not aware if any tools exist for this specific task. My go-to would be to use cooltools (https://github.com/open2c/cooltools) and pile-up the regions myself. See also here: https://www.biorxiv.org/content/10.1101/2023.07.15.549120v1.full.

authors: PengfeiInTuebingen magnitov

repo: magnitov/pentad


text:
Non-sticky sessions with cookies=“false” not supported

From martin.grotzke on April 07, 2013 23:37:56
This was reported on stackoverflow (http://stackoverflow.com/questions/15755851/nginx-and-tomcat-with-memcached-session-manager-config-context-cookies-false):

I had some tomcat7 with memcached session manager, use nginx to proxy tomcats, it's ok.

When using non-sticky sessions and adding cookies="false" to tomcat context, one will loose sessions on every access (with jsessionid in url) with multiple tomcats (e.g. proxied by nginx).

This was the observation according to logs:

Nginx just proxy only one tomcat with config of cookies=“false”,
first request, msm didn't backup session into memcached,
next request with jsessionid in url, find session in tomcat, msm backup the session now.

If nginx proxy two tomcats with config of cookies=“false”,
first request, nginx proxy to TomcatA, login is ok, response sessionid(TomcatA), but msm didn't backup it into memcached,
next request, nginx proxy to TomcatB with sessionid(TomcatA) in url, there is not session in tomcat or memcached, so TomcatB create a new session,
third request, nginx proxy to TomcatA with sessionid(TomcatB's new session).
So, it always keep and share the session between two tomcat.
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=161

From martin.grotzke on June 14, 2013 03:50:56
I could not reproduce the issue. With tomcat context attribute cookies="false" and jsessionid in the url (before any request params, e.g. http://localhost:8081/list;jsessionid=0283694EB586D6AE53628A3FA7505DE4-n2 or http://localhost:8081/put;jsessionid=0283694EB586D6AE53628A3FA7505DE4-n2?foo=bar everything works as expected.
Status: Invalid

From martin.grotzke on June 14, 2013 04:53:55
My test was wrong, it seems that with context attribute cookies="false" and no cookie sent to the browser msm indeed does not detect the created session. So this is still open / to be fixed.
Status: Accepted

From martin.grotzke on June 14, 2013 04:55:06
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 159

repo: magro/memcached-session-manager


text:
Changed Travis script to use version from Cargo.toml rather than comm…

…it message.

r? @chandraprakash
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @Viv-Rajkumar

closing this for now. We will be addressing this requirement later on for all modules.

authors: Fraser999 Viv-Rajkumar chandraprakash maidsafe-highfive

repo: maidsafe/crust


text:
feat/service-disc: flip service discovery

Fail it only for non-tests. For #[cfg(test)] there is no change.

This change is

Reviewed 1 of 1 files at r1, 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


text:
Dani/navbar dinamic

Creada page y form login
creado page politica priv.
creado page terminos y cond.
modificacion de la navbar para hacerla dinamica con props

Cread el issue para esto, y discutid con el equipo si forma parte del scope que queréis ahora o no. Quizás tiene más sentido ir pasito a pasito y acabar la landing y el header.


text:
MF-1630 - Replace old subscriptions with a new one instead of throwing an error

Signed-off-by: AryanGodara aryangodara03@gmail.com
What does this do?
Replaced old subscriptions instead the pubsub.Subscribe(), instead of returning an alreadySubscribed error
Which issue(s) does this PR fix/relate to?
Resolves #1630
List any changes that modify/break current functionality
N/A
Have you included tests for your changes?
No
Did you document any new/modified functionality?
No
Notes
N/A

@AryanGodara Can you please check why CI is failling?

@AryanGodara Can you please check why CI is failling?

Yes, I'm working on it.
the error is related to sync.mutex. I'm working on it

@manuio I have made some changes to pubsub_test.go, can you please check, whether they're appropriate (Whenever you have the time). Or if there is a better way to do this.
In brief, earlier Subscribe() call to already subscribed, simply returned an error. But now, it also deletes the previous subscription. So, I have to call test to Subscribe again, before calling the tests for unsubscribing. (As there is a test to call subscribe on already subscribe, between the two)
One other way, to avoid changing tests, is to unsubscribe from previous, then subscribe again, and return the ErrAlreadySubscribed.
I can change to above way of handling Subscriptions, if this is better.

Codecov Report

Merging #1633 (6eb49e8) into master (5c49523) will decrease coverage by 0.02%.
The diff coverage is 64.10%.

@@            Coverage Diff             @@
##           master    #1633      +/-   ##
==========================================
- Coverage   69.21%   69.18%   -0.03%
==========================================
  Files         138      138
  Lines       11209    11246      +37
==========================================
+ Hits         7758     7781      +23
- Misses       2764     2771       +7
- Partials      687      694       +7

Impacted Files
Coverage Δ

pkg/sdk/go/sdk.go
81.13% <ø> (ø)

pkg/sdk/go/things.go
56.36% <54.54%> (-0.28%)
:arrow_down:

pkg/messaging/nats/pubsub.go
69.31% <76.47%> (+0.82%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

authors: AryanGodara codecov-commenter manuio

repo: mainflux/mainflux


text:
Add MOES Motion Sensor Smart Switch

Note, this is different from MOES Motion Sensor Light

Sorry, the pytest tests are a single test for the config, so they stop at the first error. I think changing the "option" to "value" in all your number entities will be the last one though.

I appreciate the tests existing in the first place. Sorry for not understanding the documentation better.On Jul 7, 2024, at 10:16 PM, Jason Rumney @.***> wrote:
Sorry, the pytest tests are a single test for the config, so they stop at the first error. I think changing the "option" to "value" in all your number entities will be the last one though.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

authors: levineds make-all

repo: make-all/tuya-local


text:
🛑 Personal Homepage is down

In a2f7243, Personal Homepage (https://aurelienooms.be) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Personal Homepage is back up in 1a1a0cd after 13 minutes.

repo: make-github-pseudonymous-again/monitor


text:
Mini fixes

Mini fixes

Add pulse animation
Fix the colour of the event tags
Adjusted the form button positions
Add new roles to the project submission page
Add createBy on the project submission collection

Pages fixed
/hackathons -> go EventCard animation and status tag
/event/:eventId/review-submit-> for the position of the button
/event/:eventId/submit -> for the new rows
firebaseStore for the new createBy property

Please advise which pages changed so I can check more conveniently, thank you!

Please advise which pages changed so I can check more conveniently, thank you!
Updated!

Looks good! The animation is simple but effective

authors: mpa-mxiang nikitaszvan strawberrie68


text:
✨ [FEAT] Add native browser spell checking for TineMCE managed textAreas

This commit fix https://github.com/GeotrekCE/Geotrek-admin/issues/1189
It uses this configuration from the TinyMCE documentation : https://www.tiny.cloud/docs/general-configuration-guide/spell-checking/#browser-basedspellchecking

Codecov Report
Patch coverage has no change and project coverage change: -0.13% :warning:

Comparison is base (2f04b5b) 89.08% compared to head (b271ae9) 88.95%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #276      +/-   ##
==========================================
- Coverage   89.08%   88.95%   -0.13%
==========================================
  Files          31       31
  Lines        2373     2373
==========================================
- Hits         2114     2111       -3
- Misses        259      262       +3

Files Changed
Coverage Δ

mapentity/settings.py
91.66% <ø> (ø)

... and 1 file with indirect coverage changes

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

authors: babastienne codecov-commenter

repo: makinacorpus/django-mapentity


text:
UniVRM 1.0対応

概要
VRM 1.0への対応です。
少なくとも表情の排他について、モデル側が設定すべき事をモデル側の責務にしないといけないよね、という話です。
…とは思うんだけど、例えば「じゃあリップシンク続行オプションはGUIに載り続けるのは破壊的か？」というと破壊的じゃない気がするので、UniVRM 1.0より十分遅れて機能をDeprecatedにするのでもいいかも。
万が一UniVRM本体の動きが怪しかった場合だけ要検討。

指針と想定する主要な差分を追記。
指針:

移行期の存在に配慮して、同一レポジトリからVRM 0.xと1.0に対して別々のビルドを吐けるようにするのが良さそう。つまり、Standard/FullとVRM 0.x/1.0で計4つのビルドを吐けるように準備すべき。

WPFはコード変更のみ
Unityは少なくともコード+UPMの変更になるので若干ヤバそう

想定される主要な差分:

表情のClipにOverrideがつく: WPF/Unity両方で、パーフェクトシンク以外の表情処理の全てに影響するはず
Constraint: ほぼUnityのみが要対応で、使われ方によっては危険そう。(ヒジをFBBIKのBend Goalで設定しているのとかが良くないかも)

👍

Close as staled issue / created new issue #833 instead.

authors: Unihedro malaybaku

repo: malaybaku/VMagicMirror


text:
feat: support autocmd toggle

Resolve #7.

Note: This patch does not change previous behavior. And we can add more snippets in README, since autocmd is quite flexible.

Thank you for the pull request. Since I don't frequently use autcmd, any assistance is welcome.


text:
Cleaned up the process of running the observer.

This PR can reduce the code of the Promise class.
But is it undesirable for the call function of the Observer enum to accept the State enum as its argument?

No I think it's okay, now it's cleaner. Nice job!

authors: hachinobu malcommac

repo: malcommac/Hydra


text:
plugins.av.clamav field not present in the report

Output of go version:
go version go1.8.3 linux/amd64

Output of docker version:
Client:
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:17:43 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.03.1-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:17:43 2017
 OS/Arch:      linux/amd64
 Experimental: false

Output of docker info:
Containers: 3
 Running: 3
 Paused: 0
 Stopped: 0
Images: 313
Server Version: 17.03.1-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 411
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.13.0-19-generic
Operating System: Ubuntu 17.10
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.746 GiB
Name: notebook
ID: ZFKE:ULQR:BKKX:3TH7:TV6Z:NDAX:52YB:OMXP:BOWS:UUKT:FM2R:UNAE
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: pielco11
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, Docker For Mac, Docker Toolbox, docker-machine, etc.):
Physical, ubuntu 17.10
Steps to reproduce the issue:

Scan a file with ./malice scan /path/to/malware.exe
Don't see the field plugins.av.clamav in the report
Run ./malice -D scan /path/to/malware.exe

Describe the results you received:
DEBU[0011] Searching for container: clamav               env=development
DEBU[0011] name:  clamav   container.Name:  clamav
DEBU[0011] MATCH:  true
DEBU[0011] Container FOUND: clamav                       env=development
ERRO[0011] Container is already running...               env=development exisits=true name=clamav
DEBU[0011] Plugin Container Started                      env=development name=
ERRO[0011] "container is already running"
goroutine 57 [running]:
github.com/maliceio/malice/malice/errors.CheckErrorWithMessage(0xdef020, 0xc420378b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc4201ba9c0)
	/Users/user/src/go/src/github.com/maliceio/malice/malice/errors/errors.go:24 +0x7d
github.com/maliceio/malice/malice/errors.CheckError(0xdef020, 0xc420378b80, 0xc420387170)
	/Users/user/src/go/src/github.com/maliceio/malice/malice/errors/errors.go:12 +0x62
github.com/maliceio/malice/plugins.Plugin.StartPlugin(0xc42032fcb0, 0x6, 0x1, 0xc42032fe00, 0x2, 0xc42032fd70, 0x6, 0xc42032feb0, 0xd, 0xc420314e70, ...)
	/Users/user/src/go/src/github.com/maliceio/malice/plugins/plugins.go:67 +0xa12
created by github.com/maliceio/malice/commands.ScanSample
	/Users/user/src/go/src/github.com/maliceio/malice/commands/scan.go:110 +0xbcf

DEBU[0011] Removing container:
ERRO[0011] "Error response from daemon: No container name or ID supplied"
goroutine 57 [running]:
github.com/maliceio/malice/malice/errors.CheckErrorWithMessage(0xdef020, 0xc420336050, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc420378ca0)
	/Users/user/src/go/src/github.com/maliceio/malice/malice/errors/errors.go:24 +0x7d
github.com/maliceio/malice/malice/errors.CheckError(0xdef020, 0xc420336050, 0x0)
	/Users/user/src/go/src/github.com/maliceio/malice/malice/errors/errors.go:12 +0x62
github.com/maliceio/malice/plugins.Plugin.StartPlugin.func1(0xc420387170, 0xc4203f1d88)
	/Users/user/src/go/src/github.com/maliceio/malice/plugins/plugins.go:60 +0x7d
github.com/maliceio/malice/plugins.Plugin.StartPlugin(0xc42032fcb0, 0x6, 0x1, 0xc42032fe00, 0x2, 0xc42032fd70, 0x6, 0xc42032feb0, 0xd, 0xc420314e70, ...)
	/Users/user/src/go/src/github.com/maliceio/malice/plugins/plugins.go:68 +0xa13
created by github.com/maliceio/malice/commands.ScanSample
	/Users/user/src/go/src/github.com/maliceio/malice/commands/scan.go:110 +0xbcf

DEBU[0011] Plugin Container Removed                      env=development name=

Describe the results you expected:
Don't know, maybe these because they're describing the errors.
Additional information you deem important (e.g. issue happens only occasionally):
I also found this:
DEBU[0006] Searching for container: nsrl                 env=development
DEBU[0006] name:  nsrl   container.Name:  clamav
DEBU[0006] MATCH:  false
DEBU[0006] name:  nsrl   container.Name:  malice-kibana
DEBU[0006] MATCH:  false
DEBU[0006] name:  nsrl   container.Name:  malice-elastic
DEBU[0006] MATCH:  false
DEBU[0006] Container NOT Found: nsrl                     env=development
DEBU[0006] Searching for image: malice/nsrl:sha1         env=development
DEBU[0006] Image FOUND: malice/virustotal                env=development
DEBU[0006] Image `malice/virustotal` already pulled.     env=development exisits=true
DEBU[0006] Image FOUND: malice/nsrl:sha1                 env=development
DEBU[0006] Image `malice/nsrl:sha1` already pulled.      env=development exisits=true
DEBU[0006] Image FOUND: malice/shadow-server             env=development
DEBU[0006] Image `malice/shadow-server` already pulled.  env=development exisits=true
#### NSRL Database
 - Not Found :grey_question:
DEBU[0008] Plugin Container Started                      env=development name="/nsrl"
DEBU[0008] Removing container: 0e2fff3d061d5c2bd84ec1d54c7f6d4e465a98b9ca5cea6140c3ccdf99bae96a
DEBU[0008] Plugin Container Removed                      env=development name="/nsrl"

And this is just an example, so I see this with shadow-server, floss, zoner, yara and others.
What can I do?
EDIT: I missed a full debug output because it's very long

Is this still an issue with the latest release? https://github.com/maliceio/malice/releases/tag/v0.3.26
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

repo: maliceio/malice


text:
Add missing space in example usage string

Signed-off-by: Liang Fok liang.fok@woven-planet.global

https://github.com/maliput/maliput_infrastructure/issues/286
Merging as ci failure in the triage workflow is clearly a bug

authors: francocipollone liangfok


text:
Can not change the message window font size after installing the plugin.

Describe the bug
After installing the Atom Material Icons plugin, The message window font size does not reflect the console window font size settings. And once this symptom appears, uninstalling AMI does not resolve it.
To Reproduce

File -> Manage IDE Settings -> Restore Default Settings
Install the Atom Material Icons plugin.
Open the message window
Enable Use console font instead of the default (via Preferences -> Editor -> Color Scheme -> Console Font).
Change Size field.

Expected Behavior

Size field settings should be reflected to the message window
See https://github.com/mallowigi/material-theme-issues/issues/310
Environment

CLion 2023.1 Beta
Build #CL-231.8109.80, built on March 15, 2023
Licensed to CLion EAP user: Masashi Fujita
Expiration date: April 14, 2023
Runtime version: 17.0.6+10-b829.5 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: G1 Young Generation, G1 Old Generation
Memory: 10000M
Cores: 20
Metal Rendering is ON
Registry:
debugger.new.tool.window.layout=true
run.processes.with.pty=TRUE
ide.experimental.ui=true
debugger.attach.dialog.enabled=true
Non-Bundled Plugins:
com.mallowigi (88.0.0)
Screenshots

The issue is resolved on 2023.1 RC.  (Related? > https://youtrack.jetbrains.com/issue/IDEA-314623 )

repo: mallowigi/a-file-icon-idea


text:
[HTTP::Params] Add #to_h returning internal hash

Followup for #1569 related to this and following comments: https://github.com/manastech/crystal/pull/1569#issuecomment-144097167

/cc @asterite

Shouldn't it return a copy? modifications being reflected in the original, idk.

I think a copy is overkill. If you want to parse the params as a raw hash you don't have an efficient way, so doing HTTP::Params.parse(...).to_h sound reasonable IMO.

On the other hand it can lead to very confusing results if someone will use both wrapper and internal hash in different parts of the program.

That's why the original parse method returned a Hash. If you wanted a wrapper, you could use it explictly (of course, the wrapper didn't exist until your PR). This way is more convenient but then you have to start thinking how to "unrwap" the wrapped value. Or we can add a parse_hash, I don't know. I think we should favor composable things.
Or we can just remove the to_h method and see what happens.

Don't worry, it was my suggestion to add to_h but we still don't know if that's going to be useful, probably the wrapper is good enough. You can close this if you want :-)

So I see now these paths to go forward:

add to_h with copying (no mutation bugs, maybe slight performance problem),
add to_h without copying (no performance impact, maybe some confusing mutation bugs),
not add to_h, therefore force developer to use this wrapper (no impact and no confusion, but wrapper can have less capabilities than original hash - in that case developer can create a PR to stdlib I suppose),
add parse_hash (no impact, choice to developer if he wants to use raw hash or wrapper),
make parse return Hash(String, Array(String)) (leave choice to developer to use wrapper or not explicitly with HTTP::Params.new(hash)).

Yeah, I think option with closing this PR for now, and see what happens afterwards is quite interesting :)

So, closing for now.

authors: asterite jhass waterlink

repo: manastech/crystal


text:
chinese pretrained model

If any have train a chinese pretrained model, please share your git here, thanks a lot.

您好，请问您有中文预训练模型吗？这个代码可以用于中文数据吗？

authors: hquzhuguofeng leo-ShenLongjie


text:
display dotnet token in capa output

I believe we intended to display the dotnet token but the output currently displays dotnet table name  + index. maybe an erroneous str somewhere?

a few options:
today

colon separated

parenthesis

the place to change is here:

https://github.com/mandiant/capa/blob/3323d85067f735761a445e5a6a4245bac138917f/capa/render/verbose.py#L47

I like parenthesis but colon also works.

authors: mike-hunhoff mr-tz williballenthin

repo: mandiant/capa


text:
less allocations in parse_svcb_ip

This small PR change the parse_svcb_ip function impl.
It's a little more complicated (sorry for that), but reduce the number of allocations :
n4 : number of ipv4 addresses
n6 : number of ipv6 addresses
Before : 2 + n4 + n6 + 2 + 1 (2 vecs + to_string for IPs + 2 joins + format!)
After (best case) : 2 + 1 (2 string buffers + format! in the end)
In the worst case, if there are many many ip addresses, String growth will reallocate the buffers, so it might be not that interesting.
What is the expected/usual number of ip addresses here ?

PR looks fine, thanks!

What is the expected/usual number of ip addresses here ?

i do not know the typical number.

authors: jrouaix puffyCid

repo: mandiant/macos-UnifiedLogs


text:
Calibration tool can not save the accurate value

Reproduction steps

Use PR#27 calibration tool to test
When click "s" to save the servo position(let's say "A1" position) and "q" to quit the tool, the servo moves to B position, and then comes back to A2 position.

Actual results

servo moves to B position.
2.2 A1 is not same to A2
please refer to the below video clip,
https://youtube.com/shorts/EArCH88b9R0

Expected results
servo keeps at A1 position after click "s" to save
Version
Mini Pupper 2
Relevant log output
No response
Code of Conduct

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

The following PR fixed this issue.
https://github.com/mangdangroboticsclub/mini_pupper_2_bsp/pull/49


text:
🛑 Mesa Freeworld is down

In 7058e27, Mesa Freeworld (https://nonfree.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mesa Freeworld is back up in acf950b after 14 minutes.

repo: manjaro-contrib/upptime


text:
🛑 Mesa Freeworld is down

In 7ef0ea3, Mesa Freeworld (https://nonfree.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mesa Freeworld is back up in fcab062 after 23 minutes.


text:
🛑 Mesa Freeworld is down

In 5017ee1, Mesa Freeworld (https://nonfree.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mesa Freeworld is back up in b43fe4f after 30 minutes.


text:
ARM doesn't support DMI calls

We should decide on how we add other architectures like aarch64 from ARM64. There DMI calls don't work as there is no BIOS given. An example error message from Ray trying to run mmd on one of his devices:
mdd --dry-run
Welcome to MDD - The Manjaro Data Donor
Preparing data submission...
cat: /sys/devices/virtual/dmi/id/product_name: No such file or directory
cat: /sys/devices/virtual/dmi/id/product_family: No such file or directory
cat: /sys/devices/virtual/dmi/id/sys_vendor: No such file or directory
cat: /sys/devices/virtual/dmi/id/board_name: No such file or directory
Traceback (most recent call last):
File "/usr/bin/mdd", line 744, in <module>
main()
File "/usr/bin/mdd", line 709, in main
data = get_device_data(args.telemetry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/mdd", line 651, in get_device_data
"cpu": get_cpu_info(),
^^^^^^^^^^^^^^
File "/usr/bin/mdd", line 259, in get_cpu_info
[
IndexError: list index out of range

Some inxi sample outputs:
inxi -Cxx
CPU:
  Info: quad core model: N/A variant: cortex-a76 bits: 64 type: MCP
    arch: ARMv8 rev: 1 cache: L1: 512 KiB L2: 2 MiB L3: 2 MiB
  Speed (MHz): avg: 1500 min/max: 1500/2800 cores: 1: 1500 2: 1500 3: 1500
    4: 1500 bogomips: 432
  Features: Use -f option to see features
Machine:
  Type: ARM System: Pine64 RockPro64 v2.1 details: N/A

inxi -Cxx
CPU:
  Info: 6-core model: N/A variant-1: cortex-a72 variant-2: cortex-a53 bits: 64
    type: MCP arch: ARMv8 rev: 4 cache: L1: 416 KiB L2: 1.5 MiB
  Speed (MHz): avg: 1200 min/max: 408/1416:1800 cores: 1: 1200 2: 1200
    3: 1200 4: 1200 5: 1200 6: 1200 bogomips: N/A
  Features: Use -f option to see features
Machine:
  Type: ARM System: Pine64 RockPro64 v2.1 details: N/A

 inxi -Cxx
CPU:
  Info: 6-core model: N/A variant-1: cortex-a53 variant-2: cortex-a73 bits: 64
    type: MCP arch: ARMv8 rev: 4
  Speed (MHz): avg: 1000 min/max: 1000/1800:2208 cores: 1: 1000 2: 1000
    3: 1000 4: 1000 5: 1000 6: 1000 bogomips: N/A
  Features: Use -f option to see features
Machine:
  Type: ARM System: Khadas VIM3 details: N/A

We might want to collect inxi -Fxxx outputs on several ARM devices we have access to and also decide if we want to create a separate Grafana dashboard to display the collected data to avoid conflicts with the Manjaro x86_64 distribution.

I silent the output for now and Frede is working on aarch64 support for get_cpuinfo: https://github.com/manjaro/mdd/pull/2

rockpro64 headless via ssh so not much graphic info:
Welcome to MDD - The Manjaro Data Donor
Preparing data submission...
grep: /var/log/pacman.log: binary file matches

------------------------------------------
        Sending the following data
------------------------------------------
{
    "meta": {
        "version": 1,
        "timestamp": "2024-11-03T14:20:06.345160+00:00",
        "device_id": "1b44c177-f040-5bdb-a9ec-ef6a1e00e7f8",
        "distro_id": "manjaro-arm",
        "release": "24.04",
        "inxi": true
    },
    "system": {
        "kernel": "6.11.4-1-MANJARO-ARM",
        "form_factor": "single board computer",
        "install_date": "2020-04-02T15:26:13+00:00",
        "product_name": "Pine64 RockPro64 v2.1",
        "product_family": "rockpro64 rockchip",
        "sys_vendor": "pine64",
        "board_name": "rockpro64-v2.1 pine64"
    },
    "boot": {
        "uefi": false,
        "uptime_seconds": 100537
    },
    "cpu": {
        "arch": "aarch64",
        "model": "unknown",
        "cores": 6,
        "threads": 6
    },
    "memory": {
        "ram_gb": 3.771087646484375,
        "swap_gb": 5.656627655029297
    },
    "graphics": {
        "comp": "unknown",
        "dri": null,
        "gpus": [
            {
                "vendor": null,
                "model": "display-subsystem",
                "driver": "rockchip_drm"
            },
            {
                "vendor": null,
                "model": "rk3399-dw-hdmi",
                "driver": "dwhdmi_rockchip"
            },
            {
                "vendor": null,
                "model": "rk3399-mali",
                "driver": "panfrost"
            }
        ],
        "outputs": []
    },
    "audio": {
        "servers": [
            {
                "name": "PulseAudio",
                "active": true
            }
        ]
    },
    "disk": {
        "disks": [
            {
                "size_gb": 14.83740234375,
                "root": {
                    "size_gb": 14.59898328781128,
                    "fstype": "ext4",
                    "crypt": false
                },
                "home": null
            }
        ],
        "windows": false
    },
    "locale": {
        "region": "en_US.UTF-8",
        "language": "en",
        "timezone": "America/Chicago"
    },
    "package": {
        "last_update": "2022-05-30T05:54:40-05:00",
        "branch": "arm-unstable",
        "pkgs": 901,
        "foreign_pkgs": 11,
        "pkgs_update_pending": 45,
        "flatpaks": 0,
        "pacman_mirrors": {
            "total": 5,
            "ok": 5,
            "country_config": "Germany"
        }
    },
    "desktop": {
        "cli": "/bin/bash"
    }
}
------------------------------------------

vim3 headless via ssh so not much graphic info:
[ray@vim3 ~]$ mdd --dry-run
Welcome to MDD - The Manjaro Data Donor
Preparing data submission...

------------------------------------------
 Would send the following data (dry run)
------------------------------------------
{
    "meta": {
        "version": 1,
        "timestamp": "2024-11-03T15:03:17.482788+00:00",
        "device_id": "62782d1c-ce35-55ac-b8a9-65af227178be",
        "distro_id": "manjaro-arm",
        "release": "24.04",
        "inxi": true
    },
    "system": {
        "kernel": "6.11.4-1-MANJARO-ARM",
        "form_factor": "single board computer",
        "install_date": "2020-12-20T21:05:01+00:00",
        "product_name": "Khadas VIM3",
        "product_family": "a311d amlogic",
        "sys_vendor": "khadas",
        "board_name": "vim3 amlogic"
    },
    "boot": {
        "uefi": false,
        "uptime_seconds": 105029
    },
    "cpu": {
        "arch": "aarch64",
        "model": "unknown",
        "cores": 6,
        "threads": 6
    },
    "memory": {
        "ram_gb": 3.6921768188476562,
        "swap_gb": 5.538261413574219
    },
    "graphics": {
        "comp": "unknown",
        "dri": null,
        "gpus": [
            {
                "vendor": null,
                "model": "meson-g12a-vpu",
                "driver": "meson_drm"
            },
            {
                "vendor": null,
                "model": "meson-g12a-mali",
                "driver": "panfrost"
            },
            {
                "vendor": null,
                "model": "meson-g12a-dw-hdmi",
                "driver": "meson_dw_hdmi"
            }
        ],
        "outputs": []
    },
    "audio": {
        "servers": [
            {
                "name": "PulseAudio",
                "active": true
            },
            {
                "name": "PipeWire",
                "active": false
            }
        ]
    },
    "disk": {
        "disks": [
            {
                "size_gb": 29.12109375,
                "root": {
                    "size_gb": 28.90625,
                    "fstype": "ext4",
                    "crypt": false
                },
                "home": null
            }
        ],
        "windows": false
    },
    "locale": {
        "region": "en_US.UTF-8",
        "language": "en",
        "timezone": "America/Chicago"
    },
    "package": {
        "last_update": "2024-11-02T05:29:44-05:00",
        "branch": "arm-unstable",
        "pkgs": 1209,
        "foreign_pkgs": 24,
        "pkgs_update_pending": 7,
        "flatpaks": 0,
        "pacman_mirrors": {
            "total": 7,
            "ok": 7,
            "country_config": "Germany"
        }
    },
    "desktop": {
        "cli": "/bin/bash"
    }
}
------------------------------------------

The original issue with CPU has been fixed by #2

authors: Dark-Sky philmmanjaro romangg

repo: manjaro/mdd


text:
Consider adding stylelint-validator plugin

https://github.com/csstree/stylelint-validator

This is fixed by PR #13 and will be released as a part of the v2.0.0 milestone.

Reopened because of #16.

The stylelint-csstree-validator plugin isn't ready for prime time use with Sass yet, namely issues with calculated values and color functions.

Removing from v2.0.0 milestone.


text:
Adding math algorithms

Adding math algorithms
Description of new changes
Adding find divisors , is prime, fisher yates algorithm.
Have added test cases for the same
Related Issues and Discussions
#10
People to notify
@manrajgrover

@manrajgrover thanks for the heads up, have made the changes

repo: manrajgrover/algorithms-js


text:
Harness: Add orgB and projectB

Adding TF files for orgB and projectB

✅ Terraform plan complete!
Planned Changes
5 Added ~ 0 Changed ~ 0 Deleted ~ 0 Unchanged

Change
Provider
Type
Name
Module
Changes

added
registry.terraform.io/harness/harness
harness_platform_organization
organization[0]
module.organization_orgb
5

added
registry.terraform.io/hashicorp/time
time_sleep
organization_setup[0]
module.organization_orgb
4

added
registry.terraform.io/harness/harness
harness_platform_project
project[0]
module.project_projectB
8

added
registry.terraform.io/hashicorp/random
random_id
color_picker[0]
module.project_projectB
8

added
registry.terraform.io/hashicorp/time
time_sleep
project_setup[0]
module.project_projectB
4

Outputs
No outputs present
View details in Harness


text:
Install error with V0.4.0 : Cannot find module '../utils'

mantra g component core:myEditor -c
module.js:327
    throw err;
    ^

Error: Cannot find module '../utils'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/mantra-cli/dist/cli.js:13:14)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)

I had to downgrade to 0.4.0-rc.4 then everything works again.

me too

In cli.js
import {readConfig} from '../utils'; should be import {readConfig} from './utils';

@darkship could you do a PR?

Hi @sungwoncho , I created a PR for this one. Thanks.

Fixed in #95.

authors: Cyval darkship feit philohelp sungwoncho

repo: mantrajs/mantra-cli


text:
Groups for Users

My idea is basically to be able to set groups for users and in the model/collection/library/etc you can specify which group can see what.
Example
User 1 has group 1
User 2 has group 2
User 3 has group 1 and 2
User 4 has group 3
Model 1 is only visible for group 1
Model 2 is only visible for group 2
Expected behavior:
User 1 can see model 1 but not model 2
User 2 can see model 2 but not model 1
User 3 can see model 1 and 2
User 4 can't see model 1 nor 2
Describe alternatives you've considered
The more work intensive alternative would be, to add/remove in every single model the users.

So, the underlying code can do this already, we have built-in roles which have permissions. So we'd need to add a way to create new roles and then assign permissions to them, then a way to manage users and groups that's friendlier than the advanced admin UI. Would certainly be a nice feature!

True. Now where you mention it.
But yeah having custom roles would be great.


text:
DB connection params documentation

Following the installation guide, the database connection cannot be established:
ERROR 2018-11-19T23:24:23Z: r2d2: database error: FATAL: password authentication failed for user "hecate"
It does work however with user postgres for the db writer role. For example, this will work:
cargo run -- --database_read "hecate_read:123456@localhost:5432/hecate" --database "postgres:123456@localhost:5432/hecate"
This doesn't work:
cargo run -- --database_read "hecate_read:123456@localhost:5432/hecate" --database "hecate:123456@localhost:5432/hecate"
(I changed passwords prior to running the example above in order to rule out empty password config issues).

@benstadin thanks a ton for opening an issue! Let's rule out the low lying fruit.

Did you run the schema file located here? https://github.com/mapbox/Hecate/blob/master/src/schema.sql

Once you create a new database it can be loaded with psql -U postgres -f src/schema.sql <DATABASE_NAME>

Can you confirm the hecate and hecate_read users were created successfully?

echo "\du" | psql -U postgres will output a list of users

  Role name  |                         Attributes                         | Member of
-------------+------------------------------------------------------------+-----------
 hecate      | No inheritance                                             | {}
 hecate_read | No inheritance                                             | {}
 postgres    | Superuser, Create role, Create DB, Replication, Bypass RLS | {}

Do all users have local access enabled? If you are running ubuntu I've had trouble with this one before when initially trying to get set up.

echo "show hba_file;" | psql -U postgres will print the path location
If you can take a look and ensure local connections are trusted that would be great!
I typically use the following on my dev machine

local all postgres trust
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
host replication postgres samenet trust

Let me know if any of these fix the problem, if so I'd love to update the docs with some troubleshooting help.

@benstadin thanks a ton for opening an issue! Let's rule out the low lying fruit.

Did you run the schema file located here? https://github.com/mapbox/Hecate/blob/master/src/schema.sql

Yes. I used the same DB name, commands and users as in the Build example.

Once you create a new database it can be loaded with psql -U postgres -f src/schema.sql <DATABASE_NAME>
Can you confirm the hecate and hecate_read users were created successfully?

Yes.

echo "\du" | psql -U postgres will output a list of users

  Role name  |                         Attributes                         | Member of
-------------+------------------------------------------------------------+-----------
 hecate      | No inheritance                                             | {}
 hecate_read | No inheritance                                             | {}
 postgres    | Superuser, Create role, Create DB, Replication, Bypass RLS | {}

  Role name  |                         Attributes                         | Member of
-------------+------------------------------------------------------------+-----------
 hecate      | No inheritance                                             | {}
 hecate_read | No inheritance                                             | {}
 postgres    | Superuser, Create role, Create DB, Replication, Bypass RLS | {}

Do all users have local access enabled? If you are running ubuntu I've had trouble with this one before when initially trying to get set up.

echo "show hba_file;" | psql -U postgres will print the path location
If you can take a look and ensure local connections are trusted that would be great!
I typically use the following on my dev machine

local all postgres trust
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
host replication postgres samenet trust

Let me know if any of these fix the problem, if so I'd love to update the docs with some troubleshooting help.

This is what it's showing for me:
# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     md5
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
local   replication     all                                     md5
host    replication     all             127.0.0.1/32            md5
host    replication     all             ::1/128                 md5

My environment:

OS X 10.13.6
postgres 11.1
rust nightly as per build instruction

Update
I updated the postgres config and it works now. Thanks!
The error message ("password authentication failed for user ...") is misleading. It's probably from the driver, though it should rather say the connection failed for that user.

@benstadin yeah this is an error passed via the driver. I have a ticket here: https://github.com/mapbox/Hecate/issues/90 to improve initial database connection errors.
Going to close this one out and add the hba fix to the setup docs. Thanks a ton for reporting this, look forward to more bug reports if you find any!

I'm following all the instructions for the installation but i keep getting this error
ERROR: Connection unable obtain postgres version using (READ/WRITE) hecate@localhost:5432/hecate
however i can connect to the database using the hecate user from pgadmin and everything looks fine from the command line.
any thoughts?

@mapsgeek What version of Postgres/Postgis are you using?

v14, postgis 3.1
should i downgrade?!

authors: benstadin ingalls mapsgeek

repo: mapbox/Hecate


text:
Mapmatching for mutli-feature inputs

Currently the mapmatching API is limited to a single Feature with LineString geometry.
But that doesn't mean we have to limit the CLI to a single feature. What about taking multiple features and just calling the API multiple times (possibly asynchronously)?

Considering the request limits (60 per minute) and data-dependent aspects of the API, let's defer this to post-1.0.

authors: perrygeo sgillies

repo: mapbox/mapbox-cli-py


text:
Suggestion: make CameraMode constants easier to work with

As the location layer plugin is a 0.x version, are the maintainers open to breaking changes?
I find the CameraMode constants a little messy to work with. I wrote a bunch of ugly code tonight that looks like this:
mFollowToggle.setOnClickListener(view -> {
	switch(mLocationLayer.getCameraMode()) {
		case NONE:
			mLocationLayer.setCameraMode(TRACKING);
			break;
		case TRACKING:
			mLocationLayer.setCameraMode(NONE);
			break;
		case NONE_COMPASS:
			mLocationLayer.setCameraMode(TRACKING_COMPASS);
			break;
		case TRACKING_COMPASS:
			mLocationLayer.setCameraMode(NONE_COMPASS);
			break;
	}
});

My first thought was that it might be nicer if the constants were xor'able bit flags, but I'm not sure that's feasible since, for example, there's more than one mode for bearing tracking. So maybe CameraMode should be an enum implementing an interface with various set and toggle methods.
I'll put more thought into it and maybe send a PRQ if this sounds like something the team would consider.

Agree that the constants should be bit flags, I've dropped some comments on your PR which made the suggested changes. The nice thing is that from the PR, it looks like the changes you made only affect the internal code and doesn't change any public APIs, thus, no breaking changes 🎉

@cammace I haven't forgotten about this. I've just been sick.

@cammace I'm not sure what you mean about this only affecting internal code. Is LocationLayerPlugin.setCameraMode(int) not considered part of the public API?

I'm gonna close this ticket as per https://github.com/mapbox/mapbox-plugins-android/issues/684#issuecomment-433947880 the functionality provided by the Location Layer Plugin is now part of the core Maps SDK (there's no need to add additional plugins) and the plugin is now deprecated. If this ticket is still relevant for the new LocationComponent, please cut a new ticket on https://github.com/mapbox/mapbox-gl-native/issues/new?template=android.md. Thanks!

authors: cammace kjkrum zugaldia

repo: mapbox/mapbox-plugins-android


text:
"Hide trusted users" save error

I'm submitting a bug report
Brief Description
Filters with "Hide trusted users" set to "Yes" are corrupted on save ("Hide trusted users" is changed to "True", which does not work).
When does this occur ?
When I set "Hide trusted users" to "Yes" (screenshot) and save the filter (screenshot)
What  is the current behaviour, (attach relevant screenshots) ?
When i load the filter "Hide trusted users" is set to "True" instead of "Yes" and the filter fails (screenshot)
What  is the expected behaviour ?
When loading the filter "Hide trusted users" should be "Yes"
How do we replicate the issue ?

Set "Hide trusted users" to "Yes"
Save the filter
Open new tab
Open your OSMCha profile page in a new tab and load the saved filter

Please tell us about your environment:
Windows 10 64 bit, Mozilla Firefox 65.0b3

Thanks for the report, @Danysan1. I'm checking it now

Solved with https://github.com/willemarcel/osmcha-django/commit/0b8c2e941693985bce5b9f6dfab4fbfb7e673b32
We will update the server tomorrow.

Server updated. You can test again @Danysan1

Now it works correctly. Thank you!

repo: mapbox/osmcha-frontend


text:
Allow single geojson features

Closes: https://github.com/mapbox/simplespec-to-gl-style/issues/1
Accounts for a single geojson feature and also featureCollections.
/cc @jfirebaugh for :eyes:

Instead of duplicating code for handling various geometry types, write a recursive function.
function addLayers(geojson, layers) {
    switch (geojson.type) {
        case 'FeatureCollection':
            geojson.features.forEach(function (feature) { addLayers(feature, layers); });
        case 'Feature':
            switch (geojson.geometry.type) {
                case 'LineString':
                    layers.push(makeLayer(geojson, 'LineString'));
                    break;
                case 'Polygon': ...
                    layers.push(makeLayer(geojson, 'LineString'));
                    layers.push(makeLayer(geojson, 'Polygon'));
                    break;
                default: throw new Error("unknown or unsupported GeoJSON geometry type");
            }
        default:
                default: throw new Error("unknown or unsupported GeoJSON type");
    }
}

This will also handle nested FeatureCollections.

@jfirebaugh Updated with a cleaner code path

authors: bsudekum jfirebaugh

repo: mapbox/simplespec-to-gl-style


text:
Allow dict to be passed to snuggs.eval to maintain order of inputs

PR attempting to address #9 by introducing a new usage for snuggs.eval that would allow the data to be passed while maintaining the order of the keys passed. With the change, users could ensure computations within snuggs.eval maintain order (important for the Context.lookup method) by passing an OrderedDict as an argument, rather than via **kwds which does not maintain order prior to Python 3.6. This new argument defaults to None so older code using the **kwds pattern would not be affected by the change. The Context._data attribute also changes from a dict to an OrderedDict so items added via the add method would retain order.
I tried to be sparse while updating the README and tests to reflect the changes. I'm open to suggestions for changing things or any feedback. For example, I can see how having two methods for running the evaluation could be counterintuitive. My thought was that this approach would maintain the old usage while allowing downstream (i.e., rasterio) to perform calculations that correctly remember the order of inputs.
This is part 1 of 2 PRs I would submit to address mapbox/rasterio#947 because I would update the usage of snuggs inside the rio calc program to adjust to the fix here.
Thanks for your consideration!

Coverage increased (+0.02%) to 99.091% when pulling 5bca8f149460485369fc942eb8c6b85e1093572a on ceholden:snuggs_ordered_kwargs into 19b0c0601fa5c9249d85201e3ed5490010ea48bf on mapbox:master.

Thanks @ceholden, will check into it first thing Monday!

🙏 @ceholden

authors: ceholden coveralls sgillies

repo: mapbox/snuggs


text:
Allow tilelive 5.x

Most apps that depend on tilelive-vector pin their own version of tilelive. So, this change allows for them to get their desired version of tilelive without dupes.

failing with node v0.12:
not ok 28 should be equal
  ---
    operator: equal
    expected: 'Tue, 26 Jan 2016 18:35:20 GMT'
    actual:   'Thu, 01 Jan 1970 00:00:00 GMT'
    at: cbTile (/home/travis/build/mapbox/tilelive-vector/test/backend.js:115:27)
  ...
not ok 29 backend-object=default
  ---
    operator: equal
    expected: 'default'
    actual:   'empty'
    at: cbTile (/home/travis/build/mapbox/tilelive-vector/test/backend.js:116:27)
  ...

@yhahn @rclark @GretaCB - do you anticipate any problems with this? My motivation is to avoid dupes of tilelive ending up landing in apps like studio classic after new tilelive minor revisions.
WRT to the test failures with node v0.12, I'm stumped at the moment, but not seeing them locally so thinking whatever it is they are minor.

jfdi, merging.

repo: mapbox/tilelive-vector


text:
About a params submodel.

Dear pau
I quite do not understand about the meaning of these params below (the params see below), I would like to know what is the meaning of submodel? and the submodel size are including 80 images, so what is the meaning and influence about this number? it is means submodel only contain 80 images or what? I would like to know these three questions. Many thx.
Params for submodel split and merge
submodel_size: 80                                                   # Average number of images per submodel
submodel_overlap: 30.0                                              # Radius of the overlapping region between submodels
submodels_relpath: "submodels"                                      # Relative path to the submodels directory
submodel_relpath_template: "submodels/submodel_%04d"                # Template to generate the relative path to a submodel directory
submodel_images_relpath_template: "submodels/submodel_%04d/images"  # Template to generate the relative path to a submodel images directory
submodel_use_symlinks: yes                                          # Symlink global features and matches to be reused on each submodel
These from opensfm/config.py
Thanks again.

@AaronQi0731 we have just added documentation for the split and merge pipeline here http://opensfm.readthedocs.io/en/latest/large.html
It should answer your questions.
Please note that this an optional feature that should only be needed for reconstructions of large areas. It is also new so expect some level of instability.

Dear pau.
thanks your answer. There is an new question about library of environment. The OpenSfM is able to running in the newest version of SuitSpare? cause the version of this library of my computer is 4.5.5, and the newest version of SuitSpare is 5.1.0. So if update it, that will cause any problem of the OpenSfM? Many Thx.

I don't know if Ceres supports SuiteSparse version 5 already. In the doc, they still recommend version 4 but it could be that it works.

I already update the SuiteSparse to 5.1.0. It is work and the result is very good. thank you pau

repo: mapillary/OpenSfM


text:
MP4 to images

Hello,
I am extracting images from a video file. However, the extracted images do not have exif data.
What should I do?
regards

Hi @shersoni610 ,
What have you tried? What happens if you just run OpenSfM with your images?


text:
Fixed and enabled iOS render tests

Fixed broken iOS render tests.
Now iOS render tests will be included in the iOS demo app and would run successfully from Xcode.

What command did you use to run them?
Do they run in the simulator as well?
I could enable them on CI.
What command did you use to update the metrics?
Will you still try the newest version of the render tests from maplibre-gl-js?

OK thanks for clarifying.
What do you think, should we pull the style.json and expected image from maplibre-gl-js into this repo? And if yes, should be try to use the most recent version? Or should they live in a shared repository?

We should reorganize the render tests and copy them into this repo. This will be my next PR. In this PR I just re-enabled iOS render tests.

Just an FYI, I did test moving the integration tests a bit in #855 . I had put the styles and expect files into metrics/integration . I originally was trying to move them into metrics/tests/integration, since there are other style/expect files there, but I didn't want to change the path for the other tests in metrics/tests.
Feel free to ignore this test, I just thought I would mention it. To run the integration tests you use json files in the metrics folder, so i though it made sense to have the test results there too.

Sounds like a good location. I will check it. Thank you! 👍

authors: alexcristici louwers

repo: maplibre/maplibre-gl-native


text:
How decode geometries of DirectionsRoutes in Points?

Hi Guys,
I'm new here.
Can anyone tell me how decode geometries of DirectionsRoutes in Points? Because I want to convert them to display in another mapView (Mapsforge VTM).
I have seen this object DecodeUtils from MapBox package com.mapbox.navigation.base.utils.
fun DirectionsRoute.completeGeometryToPoints: List(Point)
Thanks
Andrew

Depends how they are encoded. You can experiment with PolylineUtils.decode.

So I obtain the routes:
List<DirectionsRoute> routes = response.body().routes();
then I convert with PolylineUtils.decode
List<Point> pointsFromResponse = PolylineUtils.decode(route.geometry(),6);
Work perfect!
Another small question...how can manage and update info (total distance and duration) when I follow the route?
Where I can see?
Thanks
Andrew

Right now this library does not come with a prebuild UI. You would have to build your own UI. You can get the information from the route progress.

authors: boldtrn moiatto

repo: maplibre/maplibre-navigation-android


text:
Use YAML transform for boundaries

We do a complex transform to get the kind of an administrative boundary. But it seems that the YAML transform is powerful enough to eliminate this, so it should be rewritten as a YAML transform.
Also:

1st_order_admin_lines -> state
admin-1_boundary -> state
admin-1_region_boundary -> macroregion
indeterminant_frontier -> indeterminate
international_boundary -> country

Working for me.

authors: nvkelso zerebubuth

repo: mapzen/vector-datasource


text:
Re-order fields in UNION so that they are consistent.

This was causing an issue on tiles:
ERROR:  UNION types text and bigint cannot be matched at character 828

Or similar.
@rmarianski could you review, please?

:+1:

authors: rmarianski zerebubuth


text:
Generate functions again when running migration

@zerebubuth could you review please?

:+1: code looks good, and I suppose this is more foolproof than requiring schema changes to go in the *prefunction*.sql files.