text:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I am new to fastlane. I run fastlane ios Development and I saw error when I upload to hockey.
This is full stack. I already try some method from https://github.com/fastlane/fastlane/issues/745
and update my cert also.
/Users/thulinn/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:923:in connect': [!] SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (Faraday::SSLError)
from /Users/thulinn/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:923:in block in connect' 	from /Users/thulinn/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/timeout.rb:74:in timeout'
from /Users/thulinn/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:923:in connect' 	from /Users/thulinn/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:863:in do_start'
from /Users/thulinn/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:852:in start' 	from /Users/thulinn/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:1375:in request'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in perform_request' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in block in call'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in with_net_http_connection' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in call'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response/follow_redirects.rb:76:in perform_with_redirection' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response/follow_redirects.rb:64:in call'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in call' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in call'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/request/multipart.rb:14:in call' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in build_response'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in run_request' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/faraday-0.9.2/lib/faraday/connection.rb:177:in post'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/krausefx-shenzhen-0.14.7/lib/shenzhen/plugins/hockeyapp.rb:29:in upload_build' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/actions/hockey.rb:50:in run'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/runner.rb:143:in block (2 levels) in execute_action' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/actions/actions_helper.rb:35:in execute_action'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/runner.rb:129:in block in execute_action' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/runner.rb:128:in chdir'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/runner.rb:128:in execute_action' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/fast_file.rb:149:in method_missing'
from Fastfile:18:in block (2 levels) in parsing_binding' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/lane.rb:36:in call'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/lane.rb:36:in call' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/runner.rb:52:in block in execute'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/runner.rb:46:in chdir' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/runner.rb:46:in execute'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/lane_manager.rb:46:in cruise_lane' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/lib/fastlane/command_line_handler.rb:30:in handle'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/bin/fastlane:38:in block (2 levels) in run' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.5/lib/commander/command.rb:178:in call'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.5/lib/commander/command.rb:178:in call' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.5/lib/commander/command.rb:153:in run'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.5/lib/commander/runner.rb:428:in run_active_command' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane_core-0.39.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in run!'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/commander-4.3.5/lib/commander/delegates.rb:15:in run!' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/bin/fastlane:156:in run'
from /Users/thulinn/.rvm/gems/ruby-2.2.1@global/gems/fastlane-1.67.0/bin/fastlane:162:in <top (required)>' 	from /Users/thulinn/.rvm/rubies/ruby-2.2.1/bin/fastlane:23:in load'
from /Users/thulinn/.rvm/rubies/ruby-2.2.1/bin/fastlane:23:in <main>' 	from /Users/thulinn/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in eval'
from /Users/thulinn/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in <main>'
My lane is like this. How shall I do?
gym(
configuration: "Debug",
scheme: "CAGInTouch - Development",
use_legacy_build_api: true,
)
hockey(
notes: 'Test Fastlane For Development',
notify: '0',
status: '2',
api_token: 'd02a6613d1d94e2da4dc2ab9d2ec4ddc', #fake
notes_type: '0',
mandatory: '1',
)
end

Does that part of the FAQs help?https://github.com/fastlane/fastlane/blob/master/fastlane/docs/FAQs.md#im-getting-an-ssl-error

Yes. I have tried that one. I still have that issue.

Hi @khantthulinn! Great to hear from you. Can you update your comment to this format:  https://github.com/fastlane/fastlane/blob/master/ISSUE_TEMPLATE.md .
I can't wait to dig in! :+1:

same issue. Tried the tip from above, same SSL error.
fastlane 1.68.0
openssl 1.0.2g

@markuswinkler had the same problem today. I have rvm reinstallwith brew's openssl and it helped.

@TKBurner Hi Thanks. This is how I use fastlane.
Issue Description
As written in 1st post
Complete output when running fastlane, including the stack trace and command used
As written in 1st post
Configuration Files
Fastfile:
# http://support.hockeyapp.net/kb/api/api-versions

default_platform :ios

platform :ios do
  before_all do

  end

  desc “CAG In.Touch Development”
  lane :Development do

    gym(
      configuration: "Debug",
      scheme: "CAGInTouch - Development",
      use_legacy_build_api: true,
    )
    hockey(
      notes: 'Test Fastlane For Development',
      notify: '0',
      status: '2',
      api_token: 'demo',
      notes_type: '0',
      mandatory: '1',
    )
  end

  desc “CAG In.Touch Staging"
  lane :Staging do

    gym(
      configuration: "Staging",
      scheme: "CAGInTouch - Staging",
    )
    hockey(
      notes: 'Test Fastlane For Staging',
      notify: '0',
      status: '2',
      api_token: 'demo',
      notes_type: '0',
      mandatory: '1',
    )
  end

  desc “CAG In.Touch Production"
  lane :Production do

    gym(
      configuration: "Release",
      scheme: "CAGInTouch - Production",
    )
    hockey(
      notes: 'Test Fastlane For Production',
      notify: '0',
      status: '2',
      api_token: 'demo',
      notes_type: '0',
      mandatory: '1',
    )
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/docs/Actions.md

Environment
fastlane version (fastlane -v):
I use rvm. Ruby is 2.2.3 and fastlane version is 1.67.0

@markuswinkler I try to reinstall and I got this error.

When I try to update rvm, I got another error.

hmm, running these three commands in sequence solved it for me
brew update && brew upgrade openssl
rvm osx-ssl-certs update all
rvm reinstall ruby-2.2.3 --with-openssl-dir=/usr/local

@khantthulinn Have you tried the commands in @markuswinkler comment?
Thanks!

I can confirm that the solution @markuswinkler posted works. I think this ticket can be closed; this is nothing more than the openssl issues posted in the FAQ.

Closing as this seems to be solved.

@markuswinkler's solution works, but all my gems have been removed in the process : is there a way to prevent this ? It's too late for me anyway, I'm simply asking for future users.

@aymericbouzy Yes there is, you should use a Gemfile for all your projects. More information about how to get started on the CocoaPods guide. This way you store all your project's dependencies in version control and can easily install on gems on a new machine 👍

Thanks @KrauseFx. I do use a Gemfile, but not necessarily for all my gems. Maybe add a step to check all currently installed gems not present in the Gemfile, add them if necessary, and then clean the project.

authors: KrauseFx TKBurner aymericbouzy khantthulinn markuswinkler tabrindle vpolouchkine wkoszek


text:
How to use Supply on iOS?

Trying to run Supply on ios platform and getting
Action 'supply' doesn't support required operating system 'ios'
fastlane 1.89.0
I am using fastlane for react native (RN) project that produces both android and ios builds in one lane. What is the best approach for RN projects with fastlane? I can see modifying supply as simplest option...

i think you should read the docs about pilot and deliver
wich are the way on how to deliver apps on ios platform.
best way i think would be to make a lane, wich has an if and either runs supply for android, and deliver for ios.

@hjanuschka Thanks for stepping in here too. @AndreyNikiforov pilot and deliver will be really helpful for your use case. Hope you have a great day!

@hjanuschka thanks for suggestion. During the build phase I do the following today:

get keys (match + similar custom code for android)
build binaries (android + ios)
upload (hockey, crashlytics, iTunes, Google Play, CodePush) -- varies based on branch; implemented using lanes today

In my opinion, it is important to upload binaries only after both android and ios binaries compiled successfully. As an option, I can run fastlane 6 times from my circleci.yml. I was hoping to incorporate all build steps inside fastlane though.

ok so you wann build ios and android at the same time.
pseudo code:
lane :publish do
	build
	android_publish
	ios_publish
end

lane :build do
		before_build
		build_android
		build_ios
end

lane :before_build do
		match...
		#custom android key fetching code
end

lane :build_android do
	gradle.....
end

lane :build_ios
	gym
end

lane :android_publish do
	supply...
end

lane :ios_publish do
	deliver
end

@hjanuschka, thanks for pseudo code. Can you please explain or better update code to show how platforms can be switched? If I run fastlane publish from my circleci.yml, ios_publish should be executed in ios platform, but android_publish in android platform.

@AndreyNikiforov Thanks for following up. How is the script getting run without you knowing it's input? You can use ruby syntax to handle with if statements etc.
Thanks!

@TKBurner from circle.yml file I am executing different lanes based on branch: fastlane alpha, fastlane beta, and fastlane appstore.
Looks to me that fastlane was designed to support multiple builds from one code base (each build for specific platform), while I need one build from one code base with multiple platform-specific outputs. However, I found that I can override platform just before running platform-sensitive action with Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = :android.
That trick worked for Supply, but did not for Crashlytics as it seems that Crashlytics is using presence of the ipa file as platform selector instead of parameters (e.g. apk_path) or platform lane context. I have to create my own version of crashlytics to solve that, but the rest worked fine.
Thanks everybody for help!

Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = :android this does'nt look good to me - should be avoided i guess.
can you post your circle.ci config - and you current fastlane file - so we can get a bit more detail on the whole picture?

circleci.yml (portion):
deployment:
  release:
    branch: /release\/.*/
    commands:
      - fastlane appstore
  beta:
    branch: /rc\/.*/
    commands:
      - fastlane beta
  alpha:
    branch: /.*/
    commands:
      - fastlane alpha

fastfile (portion):
lane :alpha do
  before_build_alpha
  build
  deploy_alpha
end

lane :beta do
  before_build_beta
  build
  deploy_beta
end

lane :appstore do
  before_build_appstore
  build
  deploy_appstore
end

private_lane :build_ios do
  Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = :ios
  gym
end

private_lane :build_android do
  Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = :android
  gradle
end

private_lane :deploy_ios do |options|
  Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = :ios
  hockey
  crashlytics
  if options[:deploy_pilot]
    pilot
  end
  if options[:deploy_deliver]
    deliver
  end
end

private_lane :deploy_android do |options|
  Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = :android
  hockey
  crashlytics_custom
  supply
end

#other private lanes

source: gharchive/issue

authors: AndreyNikiforov TKBurner hjanuschka

repo: fastlane/fastlane

license: MIT

license_type: permissive

license_source: github-api


text:
[Ruby 3.0] replace slack-notifier gem with internal library

This PR needs rebasing after https://github.com/fastlane/fastlane/pull/18512 gets merged. Please review #18512 first, then you can find a diff between this PR and the previous one here: https://github.com/ainame/fastlane/compare/refactor-slack-action-spec...ainame:replace-slack-notifier
Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

As per the plan #17931 for Ruby 3.0, I've been working on fixing Ruby 2.7's deprecation warnings which will crash on Ruby 3.0. There is an issue where one of the fastlane's dependencies slack-notifier, which is not maintained any more, keeps producing that warning. As I explained in https://github.com/fastlane/fastlane/pull/18512 I decided to go with having our own implementation to post messages to Slack in fastlane. That way we get full control of logic. It is not only about Ruby version support but also Slack's webhook transition.
Right now there are two translations ongoing

Legacy incoming webhook https://api.slack.com/legacy/custom-integrations/messaging/webhooks vs The latest incoming webhook using Slack app https://api.slack.com/messaging/webhooks
Legacy attachments in formatting https://api.slack.com/reference/messaging/attachments vs BlockKit https://api.slack.com/messaging/composing/layouts#sending-messages

To be fair, slack-notifier does support those but we don't know what changes will be coming from Slack in future.
Description

Prior to this PR, I've updated fastlane/spec/fastlane/actions_specs/slack_spec.rb so it's now independent from the gem. This PR added Fastlane::Notification::Slack class to own simple alternative of slack-notifier. (I suppose it might be interesting to support Microsoft teams or whatever other popular chat tools in fastlane as it's remote working era🙂 That's why it's got Fastlane::Notification namespace.)
You can compare the diff between this PR and the previous (base) PR here: https://github.com/ainame/fastlane/compare/refactor-slack-action-spec...ainame:replace-slack-notifier - this should make code review a lot easier 🤗
After digging through the gem, I realised most of the extra features in slack-notifier was not used by fastlane. Only Slack::Notifier::Util::LinkFormatter was needed to be re-implemented.
Testing Steps

Get an incoming webook url from here
https://www.slack.com/apps/manage/custom-integrations
Add this snippet to fastlane/Fastfile in the repo
lane :slack_test do
  slack(
    slack_url: 'https://hooks.slack.com/services/xxxxxxxxxxx',
    pretext: 'pretext test <@xxxxxx> #general',
    username: 'ainame-bot',
    channel: '#general',
    message: 'test <@xxxxxx> #general  fastlane [GitHub](https://github.com/fastlane)',
    link_names: true,
  )
end

Run bundle exec fastlane slack_test

Legacy incoming webhook
Slack App's incoming webhook

As you can see Slack app's incoming webhook can't overwrite username and icon. Instead, you need to customise them on its settings page.

@ainame This is ready for a rebase whenever you got time! I tried to do it on my own but it looked liked a large rebase than I felt comfortable doing as I didn’t want to mess up your PR 😉

FYI: We can rebase this branch without having to resolve conflicts like below🙂
$ git rebase --onto origin/master dc2cd566

dc2cd566 is the last commit in the previous branch. This way commits made for this PR will be applied to the master branch that has previous PR's changes squashed.

@joshdholtz Thanks! This PR is ready to review!

FYI: We can rebase this branch without having to resolve conflicts like below🙂
$ git rebase --onto origin/master dc2cd566

dc2cd56 is the last commit in the previous branch. This way commits made for this PR will be applied to the master branch that has previous PR's changes squashed.

OMG... I had no idea about --onto 🤯  Thanks!

source: gharchive/pull-request

authors: ainame joshdholtz


text:
Add iphone se support

This is an alternate implementation to https://github.com/fastlane/fastlane/pull/3980 which adds some more testing and pulls apart the filename grabbing so it's a bit more manageable for the different variations.

I like what's going on with the the transform strategy extraction 👍
If it's not too much work, I think it would be great for testability to allow the TemplateFinder to have it's base directory be provided at construction time (perhaps defaulting to  ENV['HOME']), so that the ENV['HOME'] doesn't need to be globally adjusted for the tests.

LGTM. Squash and merge! 🎃

:ship: it!

Great tests, great PR!! 👍

If I run frameit directly it is working fine, however if I run frameit through fastlane I get an error when trying to add the iPhone SE frames.
Here is a portion of the log when running fastlane run frameit --verbose:
INFO [2016-05-05 13:23:31.72]: Framing screenshots at path ./fastlane/
ERROR [2016-05-05 13:23:31.75]: undefined method `[]' for nil:NilClass
ERROR [2016-05-05 13:23:31.75]: Backtrace:
	/Users/felixdumit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/frameit-2.6.1/lib/frameit/screenshot.rb:29:in `device_name'
	/Users/felixdumit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/frameit-2.6.1/lib/frameit/screenshot.rb:54:in `mac?'
	/Users/felixdumit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/frameit-2.6.1/lib/frameit/screenshot.rb:73:in `frame!'
	/Users/felixdumit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/frameit-2.6.1/lib/frameit/runner.rb:29:in `block in run'

@felix-dumit I ran into this and needed to update fast lane to 1.87.1 which includes better bathing support for actions

authors: KrauseFx adamhrz asfalcone felix-dumit i2amsam mfurtak


text:
[snapshot] add option to skip helper version check

fixes: https://github.com/fastlane/fastlane/issues/8749
setting: skip_helper_version_check  to true, would disable the SwiftHelper Version check

rubocop fixes in seperate PR: https://github.com/fastlane/fastlane/pull/8752


text:
add fft example

https://github.com/user-attachments/assets/a40582ce-66b8-46d7-b700-3cdad722a463

I suspect CI failures are due to https://github.com/pygfx/wgpu-py/pull/569

@clewis7 the docs build didn't finish after even 20 mins, any ideas? :shrug: will check this later

@clewis7 the docs build didn't finish after even 20 mins, any ideas? 🤷 will check this later

I am not seeing where it took 20 min to fail, and readthedocs looks like excessive memory consumption
Weird though that CI is passing on only glfw

I figured it out, will be fixed once https://github.com/pygfx/wgpu-py/pull/587 is merged and next release of WGPU :laughing:

Wait I'll fix the docs size
On Tue, Sep 17, 2024, 3:10 PM Caitlin Lewis @.***>
wrote:

@.**** approved this pull request.
checked it out and tried it, LGTM
—
Reply to this email directly, view it on GitHub
https://github.com/fastplotlib/fastplotlib/pull/605#pullrequestreview-2310626753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACHXXRFYSUBLZNNEBDUCEZTZXB5BLAVCNFSM6AAAAABOCKBSEOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMJQGYZDMNZVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

repo: fastplotlib/fastplotlib


text:
cancelOnTapEmptyAreaEnabled property is not used/does not work.

When I called [actionSheet setCancelOnTapEmptyAreaEnabled:@(NO)]; before show it, the action sheet still responds to a tap gesture.
I found it is caused by the misuse of cancelOnPanGestureEnabled in Here
Obviously the cancelOnPanGestureEnabled should actually be cancelOnTapEmptyAreaEnabled
Changing it fixed the issue:
if (self.cancelOnTapEmptyAreaEnabled.boolValue) {
        [self setUpCancelTapGestureForView:self.tableView];
    }

That's all, thanks for this great lib.

Thanks! I fixed this in https://github.com/fastred/AHKActionSheet/commit/19d4c2c629cbbbb90fe85c2584e463635b8b28ed :tada:

authors: fastred kAzec

repo: fastred/AHKActionSheet


text:
plotting error with skip layer models

Hi Marcus,
With the code below, if you set the size = 1+, plotting works fine. But if you change it to 0 with skip connections enabled, I get the error instead:
Error in data.frame(wts, row_nms) :
arguments imply differing number of rows: 3, 13)
library(nnet)

ird <- data.frame(rbind(iris3[,,1], iris3[,,2], iris3[,,3]),
                  species = factor(c(rep("s",50), rep("c", 50), rep("v", 50))))

ir.nn2 <- nnet(species ~ ., data = ird, size = 0, rang = 0.1,
               decay = 5e-4, maxit = 200, skip = TRUE)

summary(ir.nn2)

library(NeuralNetTools)

plotnet(ir.nn2, nid = TRUE, all_out = TRUE, all_in = TRUE,
        wts_only = FALSE, rel_rsc = 5, circle_cex = 5, node_labs = TRUE,
        var_labs = TRUE, x_lab = NULL, y_lab = NULL, line_stag = NULL,
        cex_val = 1, alpha_val = 1, circle_col = "lightblue",
        pos_col = "black", neg_col = "lightgrey", bord_col = "black",
        max_sp = TRUE)

Ok, this is not a bug but  more of a feature request.  I'd have to modify the plot code significantly for the plotnet.nnet method... stay tuned.

No didn't think it was a bug - rather was just wondering if you had considered to include support for it.
I will be using the package a bit more in the next few weeks - will try to think of any other features that could improve it.
Regards,
Max

From: Marcus W Beck notifications@github.com
Sent: 21 August 2015 15:40
To: fawda123/NeuralNetTools
Subject: Re: [NeuralNetTools] plotting error with skip layer models (#12)
Ok, this is not a bug but more of a feature request. I'd have to modify the plot code significantly for the plotnet.nnet method... stay tuned.

Reply to this email directly or view it on GitHubhttps://github.com/fawda123/NeuralNetTools/issues/12#issuecomment-133448214.

Hi @mngreene, I think I've got a working version that can plot skip layer connections.  The plotting function now includes an option to plot the skip layer connections separate from the primary network.  This is the default if size = 0 in your example.  Here's a snippet with some examples:
# devtools::install_github('fawda123/NeuralNetTools')
library(NeuralNetTools)
library(nnet)

ird <- data.frame(rbind(iris3[,,1], iris3[,,2], iris3[,,3]),
                  species = factor(c(rep("s",50), rep("c", 50), rep("v", 50))))

# five nodes in hidden layer, no skip
ir.nn1 <- nnet(species ~ ., data = ird, size = 5, rang = 0.1,
               decay = 5e-4, maxit = 200, skip = FALSE)

# five nodes in hidden layer, skip
ir.nn2 <- nnet(species ~ ., data = ird, size = 5, rang = 0.1,
               decay = 5e-4, maxit = 200, skip = TRUE)

# only a skip layer
ir.nn3 <- nnet(species ~ ., data = ird, size = 0, rang = 0.1,
               decay = 5e-4, maxit = 200, skip = TRUE)

# plots
plotnet(ir.nn1)
plotnet(ir.nn2)
plotnet(ir.nn2, skip = TRUE)
plotnet(ir.nn3)

Let me know if you have any problems.
-Marcus


text:
Biases for LSTM and GRU forget gates

The standard implementation of LSTM and GRU initialises the biases to zero.
The referenced literature Supervised sequence labeling with recurrent neural networks states that forget gate biases should be set to something positive and input gate biases should be set to something negative. However Keras doesn't provide an easy way to do it.
The rationale is that the network shouldn't forget past information until it has learnt to forget it, and that it shouldn't bring in new info unless it has learnt that it is good to add new info to its internal state. While that seems sensible I have little idea whether it is useful in practice.
The simplest solution would be to add default bias initializers to LSTM and GRU that set the forget biases to 1, the other gate biases to -1, and any other biases to 0?
If the idea seems good to you, I'll prepare a pull request.

This paper also shows how positive LSTM bias helps to improve the network performance.

repo: fchollet/keras


text:
I think that when updating weights, should not target all nodes.

Hello, first of all, thank you for sharing, and gave me a lot of help.
def update_weights(self, inputVec, sigma, lrate, bmu):

	"""Update the node Weights.

	Args:
		inputVec (np.array): A weights vector whose distance drives the direction of the update.
		sigma (float): The updated gaussian sigma.
		lrate (float): The updated learning rate.
		bmu (somNode): The best matching unit.
	"""

	dist=self.get_nodeDistance(bmu)
	gauss=np.exp(-dist*dist/(2*sigma*sigma))  # I think gauss will always > 0
	if gauss>0:
		for i in range(len(self.weights)):
			self.weights[i] = self.weights[i] - gauss*lrate*(self.weights[i]-inputVec[i])

In somNode::update_weights() , expression ' gauss > 0 ' will always be true.
So throughout the training process, the weights of all nodes will be changed.
I read some literature. The literature says that the node weights near BMU should be updated, and this neighborhood is gradually reduced, eventually containing only BMU itself.
So, I think we should change ' gauss >0' to 'gauss>x '  (0<x<1)
Thank you again for sharing and looking forward to your reply.

Hello @cuiguohua,
the radius of the Gaussian is determined by the sigma which is reduced at every step by update_sigma, thus effectively reducing the neighborhood set.
You are however right about the Gaussian being always > 0, unless the sigma gets infinitely small.
I haven't looked at the code in a while and I'm not sure why I put that condition. Possibly it was just a debugging device which forgot to remove.
Just let me think it over and do a couple of extra tests. If I still can't find a justification for its presence I will remove it in the next version.
Thanks.

The redundant condition was removed, I'm closing this issue.

authors: cuiguohua fcomitani

repo: fcomitani/SimpSOM

license: mit

license_source: bigquery


text:
dotnet 8. fix EF Core translation issues with ToLower.

Hi,
Update everything to latest and fixed and issue with EF complaining about not being able to translate .ToLowerInvariant() in SQL Server.

very nice

hey @vascofernandes ! that's quite a nice PR :) thanks!
since the jump from .NET 6 to 8 is huge, I would like to bump also the major version number, so packages should become 2.0.0, while the EF Core package should become 8.0.0.
WDYT?
also, there are a few conflicts (sorry, I've merged a feature and didn't see this one), could you resolve them first?

authors: alvicode fdipuma vascofernandes

repo: fdipuma/scrima-dotnet


text:
Patch returns undefined

I was trying to make a service that tells the user how many elements got patched
the find method on the service returns an object but patch does not

The ui updates automatically and all that good stuff, even hooks work properly

but it would be nice if patch or other methods could return an object

All methods should return an object.  The only time it won't return the data should only be when the data being returned does not have an attribute that matches the "idField" configuration on the service.

authors: SaadiSidali marshallswain

repo: feathersjs-ecosystem/feathers-vuex


text:
Bumped major version

The repo was likley compatible with auth v0.7 and v1 but its best to be
safe and make a clean break wuth auth v0.7. Hence forcing a breaking version change.
@daffl feel free to publish.

I just published v0.2.0 (since it is a 0.x release it is considered a version incompatible bump). I think in order to make a final 1.0 we want to drop it into a couple of production apps first.

authors: daffl eddyystop


text:
Typescript import build error

Steps to reproduce
Packages managed with NPM and code written in typescript (développement with Aurelia JS framework).
The following code fall into following build error :

error TS2349 : Cannot invoke an expression whose type lacks a call signature. Type 'typeof "/Volumes/LaCie/www/aurelia-test2/node_modules/feathers-client/index"' has no compatible call signatures.

import * as io from 'socket.io-client';
import * as feathers from 'feathers-client';

let baseUrl = 'http://localhost:3030';
let socket = io.connect(baseUrl);

let client = feathers().configure(feathers.socketio(socket));
let messages = client.service('messages');

export { client, messages };

with this code alias "feathers" contains reference to interfaces FeathersApp and FeathersService. So, it's impossible to use feathers() or feathers.default() and impossible to use the client API (interfaces cannot be instantiated nor implemented in classes)
Expected behavior
import "feathers" should provide a function or object to use feathers client API.
Actual behavior
import "feathers" provide interfaces FeathersApp and FeathersService.
Seems it is due to "typings": "index.d.ts" sets in package.json
--> When file "index.d.ts" is removed, importing feathers-client seems work OK and no more build errors (but no intellisense/completion available in Sublime text editor)
System configuration
Tell us about the applicable parts of your setup.
** Editor : Sublime Text
** Typescript framework : AureliaJS
Module versions (especially the part that's not working): V2.2.0
NodeJS version:
Operating System: MacOS 10.12.5
Browser Version: Safari 10.1.1
React Native Version: Not used
Module Loader: RequireJS

"Seems it is due to "typings": "index.d.ts" TypeScript defs are maintained by Feathers TS community.
A PR is welcome.

What do you mean about "a PR is welcome" ?

@yd021976 it means that because nobody on the core team uses TypeScript, none of us knows how to fix it.  We rely on the TypeScript community to fix the issues.  So we would love to see a pull request (PR) that solves the problem.  Otherwise, maybe ask around in Slack to do some research on how to fix the issue?  I keep meaning to dive into TypeScript, and I will... someday.  ;)  Thanks for the great bug report.

Closed via #194

authors: daffl eddyystop marshallswain yd021976

repo: feathersjs/feathers-client


text:
Написать доку (или группу доков) про "Методологию и Паттерны"

Зачем?

По многочисленным заявкам...
Да и в целом, чтоб было понятно на чем зиждется наш подход, и как в нем применяются те или иные паттерны

Какие связи, GRASP применение и т.д.

А тут можно вообще MVC притянуть

Model - Бизнес-Логика фичи,
View - Логика отображения фичи,
Controller - Public API фичи + использование и определение на странице

Про Public API
https://ru.wikipedia.org/wiki/Закон_Деметры

https://en.wikipedia.org/wiki/Active_record_pattern
https://en.wikipedia.org/wiki/Data,_context_and_interaction
https://en.wikipedia.org/wiki/Separation_of_concerns

https://herbertograca.com/2017/07/03/the-software-architecture-chronicles/

https://habr.com/ru/post/561216/

LSP - про подстановку компонентов/фич и т.п. в композицию

Упомянуть HMVC и прочие принципы с влиянием на методологию

Опен клозед - про расширяемость фич ? (Солид)

UPD: S + O + (ось изменений)

repo: feature-sliced/documentation


text:
insert_new and delete_existing db operations must be hard errors

I was told they only emit errors rn. Not a behavior of production grade software. We need to be confident in how things work.

[ ] make a hard error / return Option etc.
[ ] fix all the problems found

@joschisan completed the insert_new, but seems like we no longer have delete_existing. Should we?

repo: fedimint/fedimint


text:
fix: Print lightning gateway version at startup

fixes #1607

just another thought: maybe move the logging statement to the start of the new method, so that it's the first logging statement that appears for ln_gateway before LnRpc::route_hints; and LnRpc::pubkey; and so on. So that even if one of these calls fail, the version is already printed.

thanks! @asifshiraz


text:
Modularize Client

The MiniMint server is quite modular now, meaning that new input/output types can be added to the transaction type easily. It would be interesting to explore how to also modularize the client. It's a bit harder imo because most interesting transaction types involve different modules and thus there will always be quite a bit of cross-module code. But maybe some things can still be separated out.

That was actually fixed in #29

repo: fedimint/minimint


text:
Remove Travis CI config, we use GitHub Actions now

So long, and thanks for all the fish!

I've removed the webhook.

authors: encukou hroncok


text:
Switched wokflow to cloud file

Motivation
This change moves the cloud code of the fh-wfm-workflow module to the cloud folder.

👍  LGTM, less confusing now

authors: nialldonnellyfh witmicko


text:
Inspecting code in Playground should not lose focus

Inspecting either with Cmd+g or from the inspect button in a Playground loses the focus.

authors: girba syrel

repo: feenkcom/gtoolkit


text:
🛑 SMTP (Asuna) is down

In 979f5b0, SMTP (Asuna) (mail.fef.moe) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SMTP (Asuna) is back up in 5d02589.


text:
Unable to create migrations

I'm attempting to set up a simple "Hello World" app using FeinCMS, however when I try to access the "Page" section of the admin after following the instructions in the "Built-In Page Module" section in the ReadTheDocs documentation I get an error stating "column page_page.publication_date does not exist". It appears that I need to run some migrations in order to get FeinCMS to function, but the software has none built-in.
The documentation does contain a section on setting up migrations yourself, however when I try to follow the instructions there I get an ImportError exception stating "No module named 'myapp.migrate.page'" when I try to run the server (with "myapp" being replaced by the name of the application I'm trying to set up.) Is there any way to resolve this?

The instructions around migrations are lacking. I'm not sure why, but you have to create the module referenced in MIGRATION_MODULES yourself, so:
mkdir -p myapp/migrate/page
touch myapp/migrate/__init__.py myapp/migrate/page/__init__.py

After these steps, the initial ./manage.py makemigrations page and subsequent ./manage.py migrate calls should actually do something.

The instructions didn't mention anything about creating a /page subdirectory within the /migrate directory. I believe they should be updated to reflect this.
After creating a /page subdirectory (and a /medialibrary subdirectory, which also seems to be necessary to get those instructions to work) and populating them with empty init.py files I was able to create migrations for the page and medialibrary apps, however those migrations still aren't being applied when I run the django-admin migrate command and I'm still getting the same error in the admin. Are there additional steps I need to perform?

That's very strange. This is the first time I hear that migrations can be created, but not applied. Does specifying the app help, something like ./manage.py migrate medialibrary?

I've already tried that. It says that there are no migrations to apply.

It looks like the problem was that the migrations were created (somewhere) and run during one of my previous attempts to fix this issue so Django didn't recognize the newly-created migrations as still needing to be applied. When I undid the previous migrations (which I was able to do using a migrate medialibrary zero command for medialibrary but which I needed to do manually on the database after --fake-ing the zero-migration for page) the new ones were able to be applied and the admin now works.
I would strongly advise updating the documentation for this app; setting up a simple "Hello World" application shouldn't be this much of a minefield.

That's absolutely true, also, it just came up again in #658...

authors: jwadden matthiask

repo: feincms/feincms


text:
close the top of mushrooms, trees, apparatus

Close the top of mushrooms, trees, apparatus by using 0.000001 as the first x in the lathe geometry.
Before:

After:

I think I'm the only one that is viewing the mushrooms from the top :)

thanks!

authors: feiss vincentfretin

repo: feiss/aframe-environment-component


text:
unable to print results

serial.setBaudRate(115200);
serial.setDataBits(UsbSerialInterface.DATA_BITS_8);
serial.setStopBits(UsbSerialInterface.STOP_BITS_1);
serial.setParity(UsbSerialInterface.PARITY_NONE);
serial.setFlowControl(UsbSerialInterface.FLOW_CONTROL_OFF);
serial.read(new UsbSerialInterface.UsbReadCallback()
{
    @Override
    public void onReceivedData(byte[] arg0)
    {
        String data = new String(arg0);
        System.out.println(data);
        //Toast.makeText(getContext(), data, Toast.LENGTH_SHORT);
        //Log.i("", data);
        for(byte f : arg0)
        {
            System.out.println((char)f);
        }
    }
});

using a toast or trying to log it causes an exception. Printing it character by character works okay. But printing the whole thing as a string doesn't work at all. I have tried using utf-8 as well and a try catch, that doesn't change anything. How are you supposed to get results? I've seen SerialPortExample but that is far too complex to be "client" code.

Hi,
More information about the exception would be helpful (You can't make a toast inside that callback because it is not executed in the UI thread).
Sometimes one string can be received split (only with certain chipsets) because the chipset behavior. For example "DATA" could be received:
D
ATA
In two calls of onReceivedData. It is good to keep that in mind.
SerialPortExample is easy (and shows some good Android patterns)!!! Use it as a template.

If there is no foreach loop, and only System.out.println(new String(arg0));, I get nothing from stdout. I will reread SerialPortExample with a clear mind. I was a little frustrated last time I attempted.


text:
🛑 PasImpCh is down

In fb5709a, PasImpCh ($SITE_PASIMPCH) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PasImpCh is back up in f1d9305 after 35 minutes.

repo: felipesbs/bitrate-uptime


text:
Format code option does nothing

Hi, first off thank you for the wonderful php intellisense plugin.
I tried the format code option, but doesn't seem to show any effect on the file. Is there anything i am missing out on ?
Operation System: OSX
VS Code:  1.5.3
PHP Intellisense: 0.0.9

It would help if you could show the file you are trying to format.

I tried it on a sample php files from the twig library trying to mess up the indentation. Doesn't work with that. Below is the link to a sample gist.
Link

@aga5tya
I just tried the gist and everything worked as expected.
I have the same configuration as you, except that I am running Windows 10.

Do you have any other PHP formatter installed?

Did you select the text before formatting? That is a feature that is currently not supported by this plugin.

@felixfbecker I tried with a fresh copy of vs code with only intellisense plugin installed. Still does not work. Any specific logs i can share up? Are you on OSX ?
@MadHed I tried both ways, not sure what is causing the issue. Let me check on a linux OS and see if it works there.

Don't highlight the code :)

@felixfbecker  Thank you! That solved it. I could not get it done earlier since some portion or variable was always highlighted in mine, But shouldn't this work with highlights as it would help me format only certain portion of the code as necessary and not everything at once always.

It currently is very opinionated about where you should have empty lines and where not
https://github.com/felixfbecker/php-language-server/issues/29
https://github.com/felixfbecker/php-language-server/pull/35

authors: MadHed aga5tya felixfbecker

repo: felixfbecker/vscode-php-intellisense


text:
The problem is pool

for (i in [1,2,3,4,5,6,7,8,9,10]) {
    pool.query(igaccountsUpdateSql, [row.id], function (err, rows) {
                    if (err) throw err;
     });
}

pool.end();

Querys not execute. pool.end(); fast close pool, then mysql error pool is closed.

Hi! This is a common problem when learning Node.js/event loop-based runtimes! You are actually calling pool.end too early, because you are not waiting for the calllback to run. You need to call pool.end after you have completed running your queries. A simple change to your example to do this would be the following:
var cbs = 0;
for (i in [1,2,3,4,5,6,7,8,9,10]) {
    pool.query(igaccountsUpdateSql, [row.id], function (err, rows) {
                    cbs++;
                    if (cbs === 10) pool.end();
                    if (err) throw err;
     });
}

repo: felixge/node-mysql


text:
refactor: upgrade to inlang/core v0.7

:)

if you merge this, make a new version release. this is a breaking change. thus, version 2

@samuelstroschein thanks, added github actions CI CD to test this.

@felixhaeberle could you add the ci actions to the plugin-template too?

@samuelstroschein yep 👍 thought so too.

authors: felixhaeberle samuelstroschein

repo: felixhaeberle/inlang-plugin-yaml


text:
Grammar railroad diagram

Using this tool https://www.bottlecaps.de/convert/ we can copy and paste https://github.com/felixhao28/JSCPP/blob/master/pegjs/ast.pegjs on the Input grammar: textarea then click the button Convert then after conversion click the button View Diagram to see a nice interactive railroad diagram ( https://en.wikipedia.org/wiki/Syntax_diagram ) that can also be downloaded as xhtml.
Also can be done offline using the java tool https://www.bottlecaps.de/rr/download/rr-1.63-java8.zip (link on the Welcome tab).

Closing as it is not an issue.

I'm revisiting this topic with and new parser that converts your pegjs grammars to a peg grammar understood by https://github.com/mingodad/peg and https://github.com/yhirose/cpp-peglib that has a online playground here https://yhirose.github.io/cpp-peglib/ to test the grammar and view the AST.
Notice that in your grammar you have several rules unreferenced:
peg-dad -e jscpp-prepast-naked.peg
rule 'ELSE' redefined
rule 'HexDigit' redefined

217:2 'NAMESPACE' is not referenced.
103:2 'BREAK' is not referenced.
211:2 'DECLSPEC' is not referenced.
205:2 'COMPLEX' is not referenced.
175:2 'STATIC' is not referenced.
202:2 'BOOL' is not referenced.
187:2 'UNION' is not referenced.
181:2 'SWITCH' is not referenced.
172:2 'SIZEOF' is not referenced.
166:2 'SHORT' is not referenced.
157:2 'REGISTER' is not referenced.
178:2 'STRUCT' is not referenced.
193:2 'VOID' is not referenced.
136:2 'FLOAT' is not referenced.
151:2 'INLINE' is not referenced.
145:2 'IF' is not referenced.
139:2 'FOR' is not referenced.
127:2 'ELSE' is not referenced.
124:2 'DO' is not referenced.
118:2 'DEFAULT' is not referenced.
184:2 'TYPEDEF' is not referenced.
106:2 'CASE' is not referenced.
100:2 'AUTO' is not referenced.
169:2 'SIGNED' is not referenced.
112:2 'CONST' is not referenced.
154:2 'LONG' is not referenced.
190:2 'UNSIGNED' is not referenced.
196:2 'VOLATILE' is not referenced.
142:2 'GOTO' is not referenced.
121:2 'DOUBLE' is not referenced.
109:2 'CHAR' is not referenced.
214:2 'ATTRIBUTE' is not referenced.
208:2 'STDCALL' is not referenced.
199:2 'WHILE' is not referenced.
133:2 'EXTERN' is not referenced.
115:2 'CONTINUE' is not referenced.
163:2 'RETURN' is not referenced.
130:2 'ENUM' is not referenced.
148:2 'INT' is not referenced.
160:2 'RESTRICT' is not referenced.
220:2 'USING' is not referenced.

The converted prepast.pegjs that can be used at https://github.com/yhirose/cpp-peglib to parser C++ inputs an show the AST:
 TranslationUnit <-
	 Spacing ( Preprocessor / PrepMacroText Spacing )+ EOT

 Preprocessor <-
	 ( PrepDefine / PrepInclude / ConditionalInclusion ) Spacing

 PrepDefine <-
	 PrepFunctionMacro / PrepSimpleMacro / PrepUndef

 PrepUndef <-
	 SHARP UNDEF Identifier

 PrepSimpleMacro <-
	 SHARP DEFINE Identifier PrepMacroText?

 PrepFunctionMacro <-
	 SHARP DEFINE Identifier PrepFunctionMacroArgs PrepMacroText

 PrepFunctionMacroArgs <-
	 LPAR Identifier ( COMMA Identifier )* RPAR

 PrepFunctionMacroCallArgs <-
	 LPAR PrepMacroMacroCallText ( COMMA PrepMacroMacroCallText )* RPAR

 PrepMacroMacroCallText <-
	 ( Identifier PrepFunctionMacroCallArgs InlineSpacing / Identifier / SeperatorArgs )+

 PrepMacroText <-
	 ( Identifier PrepFunctionMacroCallArgs InlineSpacing / Identifier / Seperator )+

 PrepInclude <-
	 PrepIncludeLib / PrepIncludeLocal

 PrepIncludeLib <-
	 SHARP INCLUDE LT Filename GT

 PrepIncludeLocal <-
	 SHARP INCLUDE QUO Filename QUO

 Filename <-
	 ( IdChar / [/\\.] )+

 ConditionalInclusion <-
	 PrepIfdef / PrepIfndef / PrepEndif / PrepElse

 PrepIfdef <-
	 SHARP IFDEF Identifier

 PrepIfndef <-
	 SHARP IFNDEF Identifier

 PrepEndif <-
	 SHARP ENDIF

 PrepElse <-
	 SHARP PREP_ELSE

 SHARP <-
	 "#" InlineSpacing

 DEFINE <-
	 "define" InlineSpacing

 UNDEF <-
	 "undef" InlineSpacing

 INCLUDE <-
	 "include" InlineSpacing

 IFDEF <-
	 "ifdef" InlineSpacing

 IFNDEF <-
	 "ifndef" InlineSpacing

 ENDIF <-
	 "endif" InlineSpacing

 PREP_ELSE <-
	 "else" InlineSpacing

 InlineSpacing <-
	 ( InlineWhiteSpace / LongComment / LineComment )*

 Spacing <-
	 ( WhiteSpace / LongComment / LineComment )*

 InlineWhiteSpace <-
	 [ \t\x0B\x0C]

 WhiteSpace <-
	 [ \n\r\t\x0B\x0C]

 LongComment <-
	 "/*" ( ! "*/" _ )* "*/"

 LineComment <-
	 "//" ( ! "\n" _ )*

 AUTO <-
	 "auto" ! IdChar Spacing

 BREAK <-
	 "break" ! IdChar Spacing

 CASE <-
	 "case" ! IdChar Spacing

 CHAR <-
	 "char" ! IdChar Spacing

 CONST <-
	 "const" ! IdChar Spacing

 CONTINUE <-
	 "continue" ! IdChar Spacing

 DEFAULT <-
	 "default" ! IdChar Spacing

 DOUBLE <-
	 "double" ! IdChar Spacing

 DO <-
	 "do" ! IdChar Spacing

 ELSE <-
	 "else" ! IdChar Spacing

 ENUM <-
	 "enum" ! IdChar Spacing

 EXTERN <-
	 "extern" ! IdChar Spacing

 FLOAT <-
	 "float" ! IdChar Spacing

 FOR <-
	 "for" ! IdChar Spacing

 GOTO <-
	 "goto" ! IdChar Spacing

 IF <-
	 "if" ! IdChar Spacing

 INT <-
	 "int" ! IdChar Spacing

 INLINE <-
	 "inline" ! IdChar Spacing

 LONG <-
	 "long" ! IdChar Spacing

 REGISTER <-
	 "register" ! IdChar Spacing

 RESTRICT <-
	 "restrict" ! IdChar Spacing

 RETURN <-
	 "return" ! IdChar Spacing

 SHORT <-
	 "short" ! IdChar Spacing

 SIGNED <-
	 "signed" ! IdChar Spacing

 SIZEOF <-
	 "sizeof" ! IdChar Spacing

 STATIC <-
	 "static" ! IdChar Spacing

 STRUCT <-
	 "struct" ! IdChar Spacing

 SWITCH <-
	 "switch" ! IdChar Spacing

 TYPEDEF <-
	 "typedef" ! IdChar Spacing

 UNION <-
	 "union" ! IdChar Spacing

 UNSIGNED <-
	 "unsigned" ! IdChar Spacing

 VOID <-
	 "void" ! IdChar Spacing

 VOLATILE <-
	 "volatile" ! IdChar Spacing

 WHILE <-
	 "while" ! IdChar Spacing

 BOOL <-
	 "_Bool" ! IdChar Spacing

 COMPLEX <-
	 "_Complex" ! IdChar Spacing

 STDCALL <-
	 "_stdcall" ! IdChar Spacing

 DECLSPEC <-
	 "__declspec" ! IdChar Spacing

 ATTRIBUTE <-
	 "__attribute__" ! IdChar Spacing

 NAMESPACE <-
	 "namespace" ! IdChar Spacing

 USING <-
	 "using" ! IdChar Spacing

 TRUE <-
	 "true" ! IdChar Spacing

 FALSE <-
	 "false" ! IdChar Spacing

 Keyword <-
	 ( "auto" / "break" / "case" / "char" / "const" / "continue" / "default" / "double" / "do" / "else" / "enum" / "extern" / "float" / "for" / "goto" / "if" / "int" / "inline" / "long" / "register" / "restrict" / "return" / "short" / "signed" / "sizeof" / "static" / "struct" / "switch" / "typedef" / "union" / "unsigned" / "void" / "volatile" / "while" / "_Bool" / "_Complex" / "_Imaginary" / "_stdcall" / "__declspec" / "__attribute__" ) ! IdChar

 Identifier <-
	 ! Keyword IdNondigit IdChar* InlineSpacing

 SeperatorArgs <-
	 ( Keyword / ! IdNondigit ! [\r\n,)] _ ) InlineSpacing

 Seperator <-
	 ( Keyword / Constant / StringLiteral / ! IdNondigit ! [\r\n] _ ) InlineSpacing

 IdNondigit <-
	 [a-z] / [A-Z] / [_] / UniversalCharacter

 IdChar <-
	 [a-z] / [A-Z] / [0-9] / [_] / UniversalCharacter

 UniversalCharacter <-
	 "\\u" HexQuad / "\\U" HexOcto

 HexOcto <-
	 ( HexDigit HexDigit HexDigit HexDigit HexDigit HexDigit HexDigit HexDigit )

 HexQuad <-
	 ( HexDigit HexDigit HexDigit HexDigit )

 Constant <-
	 ( FloatConstant / IntegerConstant / EnumerationConstant / CharacterConstant / BooleanConstant )

 BooleanConstant <-
	 ( TRUE / FALSE )

 IntegerConstant <-
	 ( BinaryConstant / DecimalConstant / HexConstant / OctalConstant ) IntegerSuffix?

 DecimalConstant <-
	 [1-9] [0-9]*

 OctalConstant <-
	 "0" [0-7]*

 HexConstant <-
	 HexPrefix HexDigit+

 HexPrefix <-
	 "0x" / "0X"

 HexDigit <-
	 [a-f] / [A-F] / [0-9]

 BinaryPrefix <-
	 "0b"

 BinaryDigit <-
	 [0-1]

 BinaryConstant <-
	 BinaryPrefix BinaryDigit+

 IntegerSuffix <-
	 [uU] Lsuffix? / Lsuffix [uU]?

 Lsuffix <-
	 "ll" / "LL" / [lL]

 FloatConstant <-
	 ( DecimalFloatConstant / HexFloatConstant ) FloatSuffix? Spacing

 DecimalFloatConstant <-
	 Fraction Exponent? / [0-9]+ Exponent

 HexFloatConstant <-
	 HexPrefix HexFraction BinaryExponent? / HexPrefix HexDigit+ BinaryExponent

 Fraction <-
	 [0-9]* "." [0-9]+ / [0-9]+ "."

 HexFraction <-
	 HexDigit* "." HexDigit+ / HexDigit+ "."

 Exponent <-
	 [eE] [+-]? [0-9]+

 BinaryExponent <-
	 [pP] [+-]? [0-9]+

 FloatSuffix <-
	 [flFL]

 EnumerationConstant <-
	 Identifier

 CharacterConstant <-
	 "L"? "'" Char* "'" Spacing

 Char <-
	 Escape / ! ['\n\\] _

 Escape <-
	 ( SimpleEscape / OctalEscape / HexEscape / UniversalCharacter )

 SimpleEscape <-
	 "\\" ['\"?\\abfnrtv]

 OctalEscape <-
	 "\\" [0-7] [0-7]? [0-7]?

 HexEscape <-
	 "\\x" HexDigit+

 StringLiteral <-
	 ( "L" / "u8" / "u" / "U" )? ( RawStringLiteral / EscapedStringLiteral )

 RawStringLiteral <-
	 "R" ( ["] RawStringChar* ["] Spacing )+

 EscapedStringLiteral <-
	 ( ["] StringChar* ["] Spacing )+

 RawStringChar <-
	 ! [\"\n] _

 StringChar <-
	 Escape / ! [\"\n\\] _

 LPAR <-
	 "(" InlineSpacing

 RPAR <-
	 ")" InlineSpacing

 COMMA <-
	 "," InlineSpacing

 LT <-
	 "<" ! [=] InlineSpacing

 GT <-
	 ">" ! [=] InlineSpacing

 QUO <-
	 "\"" InlineSpacing

 EOT <-
	 ! _

 _ <-
	 .

After writing the above message I revisited the grammar looking to the unreferenced rules and found that they are due to having an indepentend rule for the keyword tokens but using the keyword literals through the grammar.
But the duplicated rule definitions for ELSE and HexDigit are there (on the converted peg grammar shown above they are fixed).


text:
Cannot read properties of null (reading 'x')

I'm getting this error when I try and add it to a scene - it seems to be creating the Object3D fine, and I can add other things to the scene ok too - just when I try and add the Block it gives me this:
three.module.js:17366 Uncaught TypeError: Cannot read properties of null (reading 'x')
at SingleUniform.setValueV3f [as setValue] (three.module.js:17366:9)
at WebGLUniforms.upload (three.module.js:18156:7)
at setProgram (three.module.js:27991:18)
at WebGLRenderer.renderBufferDirect (three.module.js:26943:19)
at renderObject (three.module.js:27551:10)
at renderObjects (three.module.js:27520:5)
at renderScene (three.module.js:27444:40)
at WebGLRenderer.render (three.module.js:27262:4)
at RenderPass.render (RenderPass.js:61:12)
at EffectComposer.render (EffectComposer.js:141:9)
import * as THREE from 'three';
const threeMeshUIModule = await import('three-mesh-ui');
ThreeMeshUI = threeMeshUIModule.default;

const forceGraphModule = await import('3d-force-graph');
ForceGraph3D = forceGraphModule.default;
Graph = ForceGraph3D()(container)

const testPanel = new ThreeMeshUI.Block({
	width: 1.2,
	height: 0.7,
	padding: 0.2,
	fontFamily: './assets/Roboto-msdf.json',
	fontTexture: './assets/Roboto-msdf.png'
}).add(new ThreeMeshUI.Text({
	content: 'Some text to be displayed'
}));

Graph.scene().add(testPanel);

Hey @bostondevin ,
It is difficult to help you only with this snippet. If you could build a codesandbox it will be easier, and I will be glad to assist you.
At first sight, I would tell you that container doesn't exist, but as you said you were able to add other things to the scene, I guess this snippet isn't complete, and container is not the issue
Did you add ThreeMeshUI.update(); in the render loop ?
Which version of three-mesh-ui are you using? For my own education, could you tell me what are the benefits or advantages of  await import('three-mesh-ui) ?

authors: bostondevin swingingtom

repo: felixmariotto/three-mesh-ui


text:
UI: Active Vehicle List

As a user I want to click on a vehicle icon or vehicle item in the list view and see a summary view that shows me the driver name, driver score, vehicle name, VIN and recent driver and vehicle notifications so that I can quickly understand the current state of the driver and vehicle without navigating away from the active vehicle view.
Clicking on a vehicle icon opens the active vehicle summary view.
Clicking on an entry in the active vehicle list view opens the active vehicle summary view.
The summary view displays the driver name, driver score, vehicle name, VIN and a list of recent driver and vehicle notifications.
The active vehicle summary doesn't navigate away from the Active Vehicle View.

Closed in fb404454db39100b7d9546d10b426d32dbb5928a

repo: felixrieseberg/OxideFleet


text:
Read image bug

hi,
When I tested all the features of croper. I encountered an exception when opening images. Exceptions appear only if these options are enabled:
rotatable: false,
scalable: false,
I have attached one of these images. You can repeat this error. Use your demo page https://fengyuanchen.github.io/jquery-cropper/

0x800a13e1 - JavaScript Runtime Error: DataView is trying to access data outside the specified buffer length

You may have to set the checkOrientation option to false as your image does not have valid Exif information.

I have fixed this by ignoring range error: https://github.com/fengyuanchen/cropperjs/commit/2ca48d44569eeac2d11887eef30c53a3110829e6

authors: fengyuanchen nim

repo: fengyuanchen/jquery-cropper


text:
软件在使用过程中闪退。

你好，在使用windows的体验版本时，出现软件闪退的问题。另外在使用源码运行时，程序运行不起来，三个模型库已放到指定文件夹中，报错信息和闪退的信息一致。
hs_err_pid26380.log

hello， readme 里面有一个 Windows 用户的体验安装包，那个能跑起来吗？

你好，我把三个模型放错位置了，放对位置之后，可以运行了，但是在操作过程闪退。好像是MonicalmageProcess.dll的问题。

报错信息能发一下不？

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffc9d3f1487, pid=31520, tid=6028

JRE version: OpenJDK Runtime Environment Corretto-17.0.7.7.1 (17.0.7+7) (build 17.0.7+7-LTS)
Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.7.7.1 (17.0.7+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
Problematic frame:
C  [MonicaImageProcess.dll+0x1487]

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:
E:\ideaProjects\Monica\hs_err_pid31520.log

If you would like to submit a bug report, please visit:
https://github.com/corretto/corretto-17/issues/
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

Task :run FAILED
9 actionable tasks: 4 executed, 5 up-to-date

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':run'.

Process 'command 'C:\jdks\corretto-17.0.7\bin\java.exe'' finished with non-zero exit value 1

error.txt

这个信息要多一些。
error.txt

我看日志程序跑起来了，模型也可以支持。在图像调色的时候报错了? 你用的版本是1.0.2 ，试试拉 main 分支最新的代码，再跑跑看。

你好，最后给您发的error.txt就是使用最新的源码，运行程序时报的错误。

不好意思，我看错了版本号。试试其他功能可以用吗？我下午找台 windows 的电脑跑跑

@changhexuefei hello ，我更新了 dll ，找了一台windows电脑测试了一下，应该可以了，有空再试试看？

我使用新的dll库，依然会闪退，和我的jdk版本有关吗？
error.txt

我看了我那台 windows 电脑 cpu 也是 amd 的，也是 win11 的系统。基于那台电脑编译的 dll，你应该是可以用的，很奇怪。
你要不换一下 jdk 试试，理论上跟哪家 jdk 关系不大。如果还是不行的话，我再想想其他办法。

你好，换过jdk了，可是还是会闪退。

okok 谢谢，我周末再想想其他的办法


text:
Fix typo/grammar, improve text and images. Fix inconsistencies

Fix grammar/typos
Improve some images
Add some explanation texts
Fix some inconsistencies

Great Job @lgmorand, really useful, I will update the issues in this repo. We have a new roadmap of content for this lab, stay tuned!

authors: feranto lgmorand


text:
chore(Cargo.toml): bump to 0.4.0

Bumping the plugin version in anticipation of the next 0.4.0 release.
Release will include: https://github.com/fermyon/cloud-plugin/compare/v0.3.0...main

Holding off until https://github.com/fermyon/cloud-plugin/pull/121 is in.

repo: fermyon/cloud-plugin


text:
Use module with view variants

Is it possible to use same module, but build it with different .storyboard?
How to achieve this?

Hi @pgawlowski ,
sure you can.
You just have to override the default implementation of the "viewName" property in your modules enum.
For example:
enum AppModules: String, ViperitModule {
    case home
    case second

    var viewName: String {
        switch self {
        case .home:
            if someSpecialThingHappens {
                return "homeSpecial"
            } else {
                return "home"
            }
        default:
            return rawValue
        }
    }
}

Just remember that you will need to put "ModuleView" (where Module is your module name) as the ViewController identifier (Storyboard ID in interface builder) in each of your storyboard files.
Cheers.

authors: ferranabello pgawlowski

repo: ferranabello/Viperit


text:
Allocate slice array before calling append

I found that this change adds a non-trivial improvement in Unmarshalling objects with Bytes or Bitlists.
Before

goos: linux
goarch: amd64
BenchmarkSSZUnmarshal
BenchmarkSSZUnmarshal-8            60717             18148 ns/op           11472 B/op        191 allocs/op

After

goos: linux
goarch: amd64
BenchmarkSSZUnmarshal
BenchmarkSSZUnmarshal-8            89745             13889 ns/op           11472 B/op        191 allocs/op

I haven't been able to test with the unit tests here because of #6.
I tested this in Prysm against spec tests (and all of our tests).
https://builds.prylabs.net/invocation/f2874c3b-8dc0-45c9-9f31-8740d271a0df
Everything passed, some tests are flaky but that's a preexisting issue.

I like it. Some minor comments.

Could you rebase once more please? I have included CI support now and fixed #6  so it should be easier and less scary to test the new PRs.

OK I merge master into this branch. It should be good to go. Sorry for delay.

authors: ferranbt prestonvanloon

repo: ferranbt/fastssz


text:
Summary red with failures, yellow with pending, green with success

As a Relentlessly Gay™ technologist I would like a more colorful summary sentence when my specs are finished running.

:+1:

This is great. Do you mind if I update the README to use your screenshot?

Too late, I updated them myself. Thanks for the patch, I'll make a release soon.

authors: barberj ferrous26 thephw


text:
Support for Web

Add web support.

Web support has been added to h3_dart@0.6.0-dev, h3_flutter@0.6.0-dev.
https://pub.dev/packages/h3_web published

@festelo wow, cool! I'm gonna test it tomorrow. Thanks!

I am putting hexagon lat/lng coords to json file in my assets. There can be hundreds or thousands of the hexagons. If this works then my assets will shrink by 6x2xlen("61.46466797500582")/16, about 12.5. There are also some other data in the (geo)json, so I expect shrink by factor of 10.

@festelo wow, cool! I'm gonna test it tomorrow. Thanks!

No problem 👍
Note, since ticket #2 created there have been two breaking changes in h3_flutter:

You can't use h3 singletone anymore, you should use const H3Factory().load(). The same for geojson2h3 - final geojson2h3 = Geojson2H3(h3) instead of  global geojson2h3 singletone.
In h3 functions you can't use int anymore, e.g. h3.h3IsValid(0x821C37FFFFFFFFF), you should use BigInt - h3.h3IsValid(BigInt.parse('0x821C37FFFFFFFFF')). That's because flutter web doesn't work well with big numbers


text:
最近百度UMeditor编辑器插入地图的功能用不了，报错如下，是什么原因？

Uncaught TypeError: me.marker.setPoint is not a functionBMap.LocalSearch.onSearchComplete
map.js:243 Uncaught TypeError: Cannot read property 'lng' of undefined

ueditor/dialogs/mapmap.js
第233行 point = widget.marker.P 获取对象未定义，将244和246行的涉及到point.lng和point.lat的地方注释掉就行了，只是不能标注marker了。
关于widget.marker这个对象未定义还在研究中。

OK了，
ueditor/dialogs/mapmap.js
第233行 point = widget.marker.P 改成point = widget.marker.point

OK，我试试，谢谢啦。

authors: dreamapplehappy shaosihaozi

repo: fex-team/ueditor


text:
如何去掉默认上传字段

上传的时候 如果去掉下面默认字段信息（js源码中的）
// 配置默认的上传字段。
data = $.extend( data, {
id: file.id,
name: file.name,
type: file.type,
lastModifiedDate: file.lastModifiedDate,
size: file.size
});
因为在华为云存储上传时候有这些信息会报错。除了不修改源码还有什么把办法

this.on('uploadBeforeSend', function(block, formData, headers) {
    ['id', 'name', 'type', 'lastModifiedDate', 'size'].forEach(key => {
        delete formData[key];
    });
});

上传的时候 如果去掉下面默认字段信息（js源码中的）
// 配置默认的上传字段。
data = $.extend( data, {
id: file.id,
name: file.name,
type: file.type,
lastModifiedDate: file.lastModifiedDate,
size: file.size
});
因为在华为云存储上传时候有这些信息会报错。除了不修改源码还有什么把办法

this.on('uploadBeforeSend', function(block, formData, headers) {
    ['id', 'name', 'type', 'lastModifiedDate', 'size'].forEach(key => (
        delete formData[key];
    ));
});

同问。。。

同问。。。

http://fex.baidu.com/webuploader/doc/index.html#WebUploader_Uploader_events，利用uploadBeforeSend事件来处理。

repo: fex-team/webuploader


text:
🛑 Hacker News is down

In 4ff1f6d, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 287 ms

Resolved: Hacker News is back up in 02eca67.


text:
Add the following projects

https://root.cern.ch/
www.nanapro.org/en-us

Hi! @tyoungjr Both of them have been added to the list. So I will close this issue.

repo: fffaraz/awesome-cpp


text:
Add StatsLib

Ref: fffaraz/awesome-cpp/issues/509

Thanks!

authors: fffaraz kthohr


text:
Adds an option (--alfred-file) for existing alfred json files

To be able to create a nodes.json without an alfred instance running in master mode I added an option (--alfred-file) to bat2nodes.py that allows the processing of an existing alfred json file (e.g. ffmap.freifunk-rheinland.net/alfred.json).

State.json is stored in the current working directory.
I think a better approach is to store the file in the given destination directory.

The state.json is needed only in ffmap-backend to load the last state in the next run of bat2nodes.py. Why store state.json in ffmap-d3 while it won't use it?

Hm, ok, that's a point.
I was just wondering about those state.json files lingering around everywhere.
So I have to modify my script to chdir before calling bat2nodes.py.

authors: kokel mruettgers

repo: ffnord/ffmap-backend


text:
[US26] exportar dados para o formato KML para os pontos/área

Descrição:
exportar dados para o formato KML para os pontos/área na api de Gateway
Tarefas:

[ ] Tarefa 1
[ ] Tarefa 2
[ ] Tarefa 3 ...

Critério de aceitação:

[ ] Critério de aceitação 1
[ ] Critério de aceitação 2
[ ] Critério de aceitação 3 ...

Issue vinculada:

issue não é necessária para este serviço, portanto estarei fechando.


text:
Dojo de Linux

Realizar um dojo completo acerca do Linux com a participação ativa da galera de MDS.
Instrutores: Davi e Yuri
Horário: 14/09 22:00

Segue o link da gravação do dojo realizado:
https://unbbr.sharepoint.com/sites/EPSMDS-Gravaes/_layouts/15/stream.aspx?id=%2Fsites%2FEPSMDS-Gravaes%2FDocumentos Compartilhados%2FGeneral%2FRecordings%2FMeeting in _General_-20230912_221010-Meeting Recording.mp4


text:
[US 06] Rotas de Usuário Logado/Não Logado

📗 Resumo
Como [Quem?]
Eu quero/desejo [O que?]
Para [Por quê?]
:clipboard: Critério de Aceitação
Critério de Aceitação 1
Dada(o) pré-condição
Quando ação
Então resultado
Critério de Aceitação 2
Dada(o) pré-condição
Quando ação
Então resultado
🖌Design
Link para Figma
Link para a página do figma
:floppy_disk: Informações Técnicas
Links
Quaisquer links para informações técnicas. como: Documentação, Diagramas de Arquitetura ...
Notas / Informações Adicionais
Quaisquer anotações relevantes que tenham sido feitas durente as plannings ou conversas do membros sobre a história
🚩ToDo

[ ] todo1
[ ] todo2

como está a execução dessa issue ? Precisarei de suporte em outra

Criado branch para lidar com as rotas
Feito configuração de autenticacao de usuario
Configuração dos routes
Configuração na pagina de login
Adicionado retorno do back pro front do usuario

Precisamos configurar o Host para visualização a cada tela.
Precisamos implementar no back um cadastro teste para passar para todo o time de desenvolvimento para que possamos fazer os testes.

repo: fga-eps-mds/GFour-Invext


text:
US17 - Conectar um Sensor ao Sistema

Signed-off-by: Davi Alves davialvb@gmail.com
US 17 -Conectar um Sensor ao Sistema
Descrição - Conecta um sensor ao projeto unity
Faz a conexão do sensor a um personagem do projeto unity, atribuindo-lhe movimentos conforme os movimentos do usuario.
US17 - Conectar um Sensor ao Sistema
Porque este Pull Request é necessário?
Para permitir a captura dos movimentos feitos por um determinado usuario, sincronizando todos movimentos captados pelo sensor ao do personagem do unity.
Critérios

[x] Verificar se o esqueleto está sendo movido pelo sensor.
[x] Validar dados recebidos pelo sensor no console do Unity.
[x] Verificar e documentar limitações do sensor utilizado.

Resolve #28 .

@victorcmoura a build do travis nao está funcionando ou realmente aqui não está passando?

@vitorfhc, o Travis/AppVeyor ainda não está funcionando corretamente, por enquanto vamos ignorar esses fails aí =(

authors: davialvb victorcmoura vitorfhc


text:
JPEG化したスクショでnot valid

$ fgosccnt  IMG_7915_R.JPG
filename,ドロ数
IMG_7915_R.JPG: not valid,

$ fgosccnt  ../IMG_7915.PNG
filename,ドロ数,QP(+6400),礼装,鉄杭,ノーマルダイス,ライフカウンター(x3),ポイント
ジェム(x3),マーカーハウス(x3)
../IMG_7915.PNG,18,1,0,1,1,7,5,4

paeginfo.py 由来の問題
bash-2.03$ python pageinfo.py  IMG_7915_R.JPG
Traceback (most recent call last):
  File "pageinfo.py", line 437, in <module>
    main(args)
  File "pageinfo.py", line 393, in main
    result = look_into_file(filename, args)
  File "pageinfo.py", line 378, in look_into_file
    pagenum, pages, lines = guess_pageinfo(im, args.debug_sc, debug_sc_image)
  File "pageinfo.py", line 331, in guess_pageinfo
    _try_to_detect_scrollbar(im_gray, im_orig_for_debug)
  File "pageinfo.py", line 272, in _try_to_detect_scrollbar
    raise TooManyAreasDetectedError(f'{n} actual scrollbar areas are detected')
__main__.TooManyAreasDetectedError: 2 actual scrollbar areas are detected

bash-2.03$ python pageinfo.py  ../IMG_7915.PNG
../IMG_7915.PNG,1,1,3

pageinfo.py の修正で対応
$ fgosccnt  IMG_7915_R.JPG
filename,ドロ数,QP(+6400),礼装,鉄杭,ノーマルダイス,ライフカウンター(x3),ポイントジェム(x3),マーカーハウス(x3)
IMG_7915_R.JPG,18,1,0,1,1,7,5,4

repo: fgophi/fgosccnt


text:
Is there any chance to get rid of the top notification?

It causes the whole website to jump around - and that is, especially when setting up kanboard or adding users or configure projects - quite annoying. Or working with the time sheet - adding time slots for the weekly schedule.

I agree. It makes more sense to use the accepted modern practice of an
overlay that uses the same timings, instead of pushing it all down.
On 31 Oct 2015 9:22 pm, "antiphasis" notifications@github.com wrote:

It causes the whole website to jump around - and that is, especially when
setting up kanboard or adding users or configure projects - quite annoying.
Or working with the time sheet - adding time slots for the weekly schedule.
—
Reply to this email directly or view it on GitHub
https://github.com/fguillot/kanboard/issues/1439.

I merged a pull-request that place the notification at the bottom of page.

authors: antiphasis fguillot shimza

repo: fguillot/kanboard


text:
Add fallbacks for publishedDate and updatedDate

Use publishedDate and updatedDate as fallbacks for each other, or use the feed date if neither is available. (e.g. if publishedDate is not available, set it to updatedDate and vice versa)
This also adds some tests for the publishedDate and updatedDate properties.
cc: @BernhardPosselt re https://github.com/nextcloud/news/pull/43

Right, you can add the checks at both places but if there's a sensible default it should be done once in the library rather than forcing all users to deal with nulls :D

Ok, the whole thing is a bit of a mess with logic sprinkled into all parser files, so let's re-iterate:
There are 4 types of dates which need fallbacks:

$feed->getDate()
$item->getDate()
$item->getPublishedDate()
$item->getUpdatedDate()

Code should look something like this:
// feed date fallback
if ($feed->getDate() == null) {
    $feed->setDate($this->getDateParser()->getCurrentDateTime());
}

// item date fallback
if ($item->getPublishedDate() == null) {
    $item->setPublishedDate($feed->getDate());
}

if ($item->getUpdatedDate() == null) {
    $item->setUpdatedDate($item->getPublishedDate());
}

if ($item->getDate() == null) {
    $item->setDate($item->getPublishedDate());
}```

There's another issue with the feed date which can produce a null exception: https://github.com/fguillot/picoFeed/blob/master/lib/PicoFeed/Parser/Rss20.php#L138 falls back to the current date while https://github.com/fguillot/picoFeed/blob/master/lib/PicoFeed/Parser/Atom.php#L149 doesn't. The current date fallback should be extracted into the parent parser class (see feed code above).

Another thing that I'm curious about: why do you fall back to the feed date if the updated date is null? Shoulnt it fall back to the item's published date?

Another thing that I'm curious about: why do you fall back to the feed date if the updated date is null?

Stupidity ;-)
Your item date fallback code changes the current fallback logic, is this on purpose? E.g. the current code uses setDate(max($published,$updated)) and not just the published date.
I updated this pr with your code, but keeping the current fallback logic. (without the feed date fixes)

I see, then all is well :)

authors: BernhardPosselt schaal

repo: fguillot/picoFeed


text:
Possible improvements

Make buttons more visually appealing
Support description field at least in source.

Show via hover tooltip?

Make it clearer which part of the GUI is the source and which are the targets

Done!

repo: fhammerschmidt/quick-translate


text:
🛑 AdolfoOrtizCubas is down

In 2d3bb3d, AdolfoOrtizCubas (https://www.adolfoortizcubasfabricademuebles.com.ar) was down:

HTTP code: 500
Response time: 495 ms

Resolved: AdolfoOrtizCubas is back up in 1651cfb.

repo: fideo/statusSites


text:
🛑 Distribuidora RN is down

In 7d52186, Distribuidora RN (https://www.distribuidorarn.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Distribuidora RN is back up in a6f35d0.


text:
301 moved permanently message

When you click on "projects" the message that appears is "301 moved permanently". The same happens when you click on "news".

There are no "projects" or "news" links in the widget itself.

authors: JTIII mikemorris


text:
Export all interfaces and types

Resolves #18
Just exported all interfaces and types and excluded from global namespace.
I didn't adjust indent for easy reviewing.

(Just found this PR.)  I like the idea of this, but won't it break existing users who don't have import statements?

@emartinfigma Typescript always have import statements, doesn't it?

No, this file declares globals, which can be used without import statements.  This matches the plugin hosting environment, where the figma symbol is available without any import.

@emartinfigma I got it. I have written this PR to type the Figma API when I don't know that Figma API and Figma Plguin API is significally different. I will close this PR.

repo: figma/plugin-typings


text:
Add JSON OAS, export it in NPM manifest and add use instructions

Hi @elainefigma,
This PR is a proposal to add a JSON version of the OAS file (which I understand you generate automatically outside this repo, so some extra work would be needed to either output that JSON file or add CI jobs that can generate it from the local YAML file).
More importantly, the PR changes how OAS files (both YAML and JSON) are exported in package.json so that import resolvers can reach them, and adds examples on how to consume the JSON OAS from both ESM and CJS contexts.
Please let me know if you'd like additional context on my proposal, or if you'd like me to instead open a PR with only the exports and README changes and without the added JSON OAS file (though, that would significantly complicate the use of the spec in Node apps).

Thanks for the suggestion, we're tracking this request internally. As you mentioned, this would require a tooling and process change for us, so we can't merge your PR directly. We'll keep it open and resolve if/when we can make this addition.

Hey, thanks for the heads up. I'm happy to split the PR in too if you'd like the NPM exports but want to stay on YAML :)

Hey @Sidnioulz, sorry for the delay here. I thought a bit about this PR, and I think the solution that might make the most sense is to include JSON (but not YAML) in the exports, and bind it to the ./openapi path. I haven't done it recently, but IIRC, importing JSON should automatically deserialize into a JS object without requiring someone to call JSON.parse explicitly? I think this is probably what people would want 99% of the time, and means we don't have to commit to shipping YAML in the NPM package.

Hi @jefflee-figma, happy to hear that!
I went with showcasing how to open the JSON file because some tooling still has issues with supporting import attributes for JSON. With the change in syntax, some build tools support the legacy syntax and others the new one. I had trouble with getting esbuild and TS to agree on a syntax in my case.
I think it'd be great to mention import attributes, but not as a standalone solution.
Would you like me to add such an example and realign the export subpath to './openapi' for the JSON file on the PR?

This is the error I get with Node 22 when trying to import the JSON file as JSON with the right attributes. It's also impossible to directly import without the type: "json" attribute, but require does work.
I've pushed a new commit adjusting the export subpath and adding another example to the README. Please let me know if there's anything more I can do!

I really appreciate all the work and attention to detail you put in here. One thing your README diff helped me to realize is that, given the complexity of importing a JSON file in various module settings, I think the long-term better fix is simply to provide a separate openapi.js file that exports a true JS object. This will require a change in tooling on our end, but I suspect it won't be that complicated...I'll see if I can get some help with that over the next few weeks.
There is a question of whether we should export that object with TypeScript types (internally, we use openapi-types). I'm somewhat hesitant to add another dependency just for that use case, but having those annotations would make them easier to work with.

Sounds like a great idea! It could still be useful to preserve a JSON export for CLI tools e.g. https://the-guild.dev/graphql/mesh/v1/source-handlers/openapi which supports only YAML and JSON. It can be useful to write a Node script that resolves the path to a JSON file and then to pass it on to a CLI that only knows how to consume JSON.
By the way, if Figma is interested in maintaining a proper OAS-derived TypeScript client, there are tools out there that do a reasonably good job of generating such code with API methods. When I started using this package, I quickly realised I didn't know what to do with the type information. Because my client code is generated from OAS, I can't go back into the client code and manually patch in types from your NPM package (else, how can I automatically sync it when you publish updates?).
My (WIP) client uses https://github.com/acacode/swagger-typescript-api to generate very similar types, but directly within the client object. I have a Dependabot-based workflow to regenerate the client based on updates to your package, and then I add Axios interceptors for cache services and (very much WIP 🤣) rate limit safeguarding.
This is all stuff that you could publish yourselves at the end of the day, with a relatively small maintenance footprint :) It's especially relevant to have something out there as https://www.npmjs.com/package/figma-js is more or less unmaintained. I'm happy to help if you're interested in building something with a bit more reach than just the API and its types.

Feel free to check https://github.com/Sidnioulz/figmarine/tree/TMP/packages/rest (not published yet, name may change, etc., etc.) if you want to see how the client looks like.

Another example that came up in favour of also having the OAS as JSON: the Prism CLI, which I intend to use to mock the API in my integration tests, also supports passing a path to a JSON file.

Hi @jefflee-figma, just letting you know this issue is no longer urgent to me as I've built a workaround.
To anyone finding this issue and wanting to build an automatic process around the OAS:

How I download and use the existing YAML OAS file
How I trigger automatic releases when this here package gets updated

Hi Steve, appreciate you giving us a heads up and being patient with us! We've still got this on our radar, just haven't been able to give it its due.
I'm going to close this PR now, but we're tracking internally.

No worries! I'd love a little heads up when/if you delete the YAML file now that I depend on it, and I'll make the necessary adjustments on my end :)

Yep, I can say pretty confidently that we're unlikely to delete the YAML file...I think that would be a breaking change at the level of changing the major version of the package.

authors: Sidnioulz jefflee-figma

repo: figma/rest-api-spec


text:
Enhancements: Multiple macros, and ordering of the tasks

Love this function and we use it all the time (primarily in the beginning of the sprint).
We use it to create our process tasks for each development item (PBI/Bug), e.g. Implement, Pull Request 1, DeployToTest 1, Test 1, ReadyForRelease
I have to issues/enhancement ideas:
1
If the Test is not OK, then our current process is to create a Test 1 Failed with info of what failed and then Pull Request 2, DeployToTest 2, Test2 - and if this test still is not OK, we go on with with a set of 3s, 4s etc. Pull Request and Test is always another person than the one doing the implementation.
Is it possible to have multiple "macros"? Maybe just if I click 1-Click-link again, it creates the 2's, and if there is 2's, create 3's etc?
2
When I use the 1-Click-link for a PBI/Bug, it creates the tasks in the same order as shown under Templates where I edit the tasks - alphabetical. But our above mentioned process is a bit non-scrummish, as it shows an order of processing: Start with the implementation (which the developer could manually create multiple tasks for if a bigger PBI/Bug), then do the pull request, deploy to test etc. I know that we should probably use some other sort os system, but for know this shows a good status of where the PBI/Bug is right know - comments on this are welcome :D).
I could just write 1: 2: 3: as prefix to the task titles, but some of the tasks are dependant and may not be created, and then the numbering is incomplete.
Is there some other way - or could it be created - so inside the Templates edit window, the ordering could be set?
Thanks again for a great extension.

I also need sorting of task after creation. Can you make sorting by template name, not by title name.
For example, We need to "create project", after it "create connection". But 1-click-child-links make other ordering when creating tasks.

Sadly I guess this project is dead?

authors: SvendK kostazol


text:
Unable to Create Entity When Using HasOne Relationship

Package
filament/filament
Package Version
v2.13.24
Laravel Version
v9.19.0
Livewire Version
v2.10.6
PHP Version
PHP 8.0.19
Bug description
I followed the instructions at https://filamentphp.com/docs/2.x/forms/layout#saving-data-to-relationships to create the following form schema which should save user data while creating the employee and creating the relationship:
class EmployeeResource extends Resource
{
    protected static ?string $model = Employee::class;

    protected static ?string $navigationIcon = 'heroicon-o-collection';

    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Fieldset::make('Employee Data')
                    ->schema([
                        TextInput::make('employee_code')->required(),
                    ]),
                Fieldset::make('User')
                    ->relationship('user')
                    ->schema([
                        TextInput::make('name')->required(),
                        TextInput::make('email')->email()->required(),
                        TextInput::make('password')->password()->required(),
                    ])
            ]);
    }

But I keep getting this error:
SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value
insert into `employees` (`employee_code`, `updated_at`, `created_at`) values (TEST, 2022-07-08 20:49:42, 2022-07-08 20:49:42)

Any ideas on what I am doing wrong here?
Steps to reproduce

Create a model named Employee with hasOne relationship with User model
Create EmployeeResource using make:filament-resource
Add the following form schema to EmployeeResource as per https://filamentphp.com/docs/2.x/forms/layout#saving-data-to-relationships

    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Fieldset::make('Employee Data')
                    ->schema([
                        TextInput::make('employee_code')->required(),
                    ]),
                Fieldset::make('User')
                    ->relationship('user')
                    ->schema([
                        TextInput::make('name')->required(),
                        TextInput::make('email')->email()->required(),
                        TextInput::make('password')->password()->required(),
                    ])
            ]);
    }

Run php artisan serve
Go to http://127.0.0.1:8000/admin/employees/create and submit
Error showing on screen

SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value
insert into `employees` (`employee_code`, `updated_at`, `created_at`) values (TEST, 2022-07-08 20:49:42, 2022-07-08 20:49:42)

Reproduction repository
https://github.com/Uolsen/filament-hasone-bug
Relevant log output
SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value
insert into `employees` (`employee_code`, `updated_at`, `created_at`) values (TEST, 2022-07-08 20:49:42, 2022-07-08 20:49:42)

The error indicates that Employee belongsTo User, not the other way around. It should be users table that has employee_id in such situation.
employees (hasOne User)
- id
- code

users (belongsTo Employee)
- id
- employee_id [ref: - employees.id]
- email
- password

Filament will first save Employee and then User. This leads to chicken and egg situation, because you are trying to save Employee before User comes into existence, which can't be done. I'm not sure what will happen if you make user_id nullable.
I don't know whether Filament detects belongsTo and inverts saving order or not.

Actually the requirement is to have an employee as a child of a user i.e. employee belongs to user and user hasOne employee. Any suggestions on how this can be done?
Also, I discovered that if the relationship is created in the database directly the Edit/Update works fine and the issue is only with Creation.
The documentation here https://filamentphp.com/docs/2.x/admin/resources/getting-started#belongsto is giving an example similar to the requirements I have but its not very clear

Hi @devadattas , were you able to resolve this issue?

I am struggling with this also.

Same problem. Even through relation manager it is not working. For BelongsTo it's working fine. But for HasOne it's not.

Has anyone actually tried to debug it instead of just telling us it doesn't work? It would really help us out, as there are other issues that need our attention too.

So, can anyone provide us a reproduction repository URL?
That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to give us some instructions on where to find the bug, and include a database seeder with everything we need to set it up quickly.

@zepfietje It has been quite some time and I moved on with another work around. I will try to setup a demo of the exact issue sometime early next week for you to review and replicate.
It would be great if anyone else facing this issue freshly can help with this aswell.

I cannot replicate this issue, it works fine for me. So I really do need that reproduction repo from someone.
Since the OP has managed to work around the issue, @francisakortia, @filip-paral or @Uolsen will need to help provide this.

Okey, in the evening I will try to make a repo with bug.

Closing this issue as we cannot reproduce it.
Feel free to open a new issue with a reproduction repository, and then we'll have another look.

I will pin link also there to comments:
https://github.com/Uolsen/filament-hasone-bug
In my spare time i will try to find bug. But it will be great if someone more acknowledged will look at it.

Fixed by #3524.

Experiencing the same error only on creation. Is there any workaround?

@danharrin @devadattas can you guys advise me on how you solved this issue? Also, let me share some context about my current scenario.
In my case, I create coaches, which need to have a user associated. To create the coach, first, the user should be created, because there is a foreign user_id key on coaches which associates coaches and users in a belongsTo relation. I created only the belongsTo relation on the Coach model, but not the opposite on the user model.
Coaches migration
return new class extends Migration {
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::create('coaches', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('user_id');
            // (more stuff here)
            //FK
            $table->foreign('user_id')->references('id')->on('users')->onUpdate('cascade')->onDelete('cascade');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::dropIfExists('coaches');
    }
};

Coach model
class Coach extends Model
{
    use HasFactory;

    protected $guarded = ['id', 'created_at', 'updated_at'];

    public function user(): BelongsTo
    {
        return $this->belongsTo(User::class);
    }
}

Coach Filament resource
//(imports rid of)

class CoachResource extends Resource
{
    protected static ?string $model = Coach::class;

    public static function form(Form $form): Form
    {
        return $form->schema([

            // (coach entity fields rid of)

            Section::make('User profile')
                ->label('User profile')
                ->schema([
                    TextInput::make('email')
                        ->disabled()
                        ->email()
                        ->required()
                        ->maxLength(100),

                    TextInput::make('password')
                        ->label('Password')
                        ->password()
                        ->minLength(8)
                        ->maxLength(255)
                        ->same('password_confirmation')
                        ->disableAutocomplete()
                        ->dehydrateStateUsing(fn($state) => Hash::make($state))
                        ->dehydrated(fn($state) => filled($state))
                        ->required(fn(string $context): bool => $context === 'create'),

                    TextInput::make('password_confirmation')
                        ->label('Password confirmation')
                        ->password()
                        ->nullable()
                        ->minLength(8)
                        ->maxLength(255)
                        ->disableAutocomplete(),
                ])
                ->relationship('user')
                ->columns(3)
        ]);
    }
}

Here is the error, the same issue as initial, this leads to the chicken and egg situation as @kamilst96 described. The user should be created first before storing the new coach. The issue only happens on creation, edition works properly.

BTW, Filament is pretty awesome, thanks for creating something like that!

BTW, adding nullable to user_id in the table structure seems to work as a workaround.

public function up(): void
    {
        Schema::create('coaches', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('user_id')->nullable();
            //FK
            $table->foreign('user_id')->references('id')->on('users')->onUpdate('cascade')->onDelete('cascade');
        });
    }

authors: Uolsen danharrin devadattas filip-paral francisakortia kamilst96 n3b0r zepfietje

repo: filamentphp/filament


text:
feat:mutate relationship data before create or save

this PR would allow modifying data before create or save
Forms\Components\HasManyRepeater::make('repeater')
        ->mutateRelationshipDataBeforeCreate(function ($data): array {
            $data['user_id'] = auth()->id();
            return $data;
        })

Apologies for the delay on this, in #2788 I am deprecating HasManyRepeater and allowing users to just use Repeater::make()->relationship(). So once that is merged I will look at these changes

A simple reminder

Can we get this for Select and MultiSelect relationships too? Seems no way to mutate/dehydrate ->relationships() in those field types before save.

Can we get this for Select and MultiSelect relationships too? Seems no way to mutate/dehydrate ->relationships() in those field types before save.

What is your use case? With createOptionForm?

authors: MACscr danharrin mohamedsabil83 wychoong


text:
Fix record key route resolver in resources

[x] Changes have been thoroughly tested to not break existing functionality.
[x] New functionality has been documented or existing documentation has been updated to reflect changes.
[x] Visual changes are explained in the PR description using a screenshot/recording of before and after.

There are many other places where getUrl() is used, and I don't think it's reasonable to fix this in every one of those places.
Instead, you can edit getPages() and add the key name to the parameter: {record:slug} etc


text:
Client Allocation Request for: 深圳市创图汇科技有限公司

Client Allocation Questions
Core Information

Name: 深圳市创图汇科技有限公司
Website / Social Media: https://www.51ctu.com
Region: Greater China
DataCap Requested: 100TiB
Addresses to be Notarized: f16lqqxq6gghvw7fmy55e5nxzsve43tjw6mfcdjai
Notary Requested: steven004

Hey @WJ202  , thanks for your request. Can you kindly add more information / context here on:

yourself/ your organization (with links to official website/social media/news mentions etc)
Your history working on IPFS/Filecoin (notable contributions to the community, type of engagement shown over time etc)
Use case: type/source/quantity/diversity/scarcity of the data you plan to store on Filecoin
Miners you intend to allocate DataCap with allocation proportion(with redundancy/location/specific requirement of storage miners)
How could people retrieve the data you store in Filecoin Network, do you have a tool/app for it?
What's your next plan for the data you plan to store in Filecoin Network? For-profit or not?
Would you be OK in posting deal transactions here?

Thanks

Hey @steven004 , thank you for your questions. Please kindly find information here on:

yourself/ your organization (with links to official website/social media/news mentions etc)
My name is Meicheng Liao, the General Manager of 深圳市创图汇科技有限公司. 深圳市创图汇科技有限公司 is a graphic design services company. Our company business includes, but is not limited to, print design services, graphic design services, web design services, product & merchandise design services, online platform development, and App development. Since its establishment in 2017, the company has served over one million users, and built stable cooperative relations with hundreds of thousands of merchants and designers. Therefore, we have massive amounts of pictures, videos, documents, and data that must be stored securely.

Official website：https://www.51ctu.com
1.1	Service website: https://designer.51ctu.com
1.2	Service website: https://business.51ctu.com
1.3	Service website: http://www.wwding.com
1.4	Service website: http://www.canmw.com
1.5	WeChat: 图到设计
1.6	WeChat: 餐媒网

Your history working on IPFS/Filecoin (notable contributions to the community, type of engagement shown over time etc)
We don’t have any experience in IPFS working, but we would like to store our business data on Filecoin since it’s a more cost-effective way to store data.

Use case: type/source/quantity/diversity/scarcity of the data you plan to store on Filecoin
We plan to store three types of real data on Filecoin.
The first type is document format data (word, ppt, pdf, txt), which accounts for 40 TiB.
The second type is media data (png, .jpg, .gif, .svg, .mp3, .amr, .mp4, .mkv, .ai, .psd, .cdr, .xmind and etc), which accounts for over 40 TiB.
The third type is database ( mysql/mongodb/redis). The quantity of the third type of data is around 20 TiB.

Miners you intend to allocate DataCap with allocation proportion(with redundancy/location/specific requirement of storage miners)

Redundancy: at least 3 copies
Location: prefer to store data in Asia
Miners: Miners who have great reputation and are willing to store real data

How could people retrieve the data you store in Filecoin Network, do you have a tool/app for it?
We would like to use Filecoin official retrieval at the first place, and then we will plan to develop an app for it.

What's your next plan for the data you plan to store in Filecoin Network? For-profit or not?
Our next plan is to store all of the internal company files and database in Filecoin Network, not for profit.

Would you be OK in posting deal transactions here?
Sure, we will post the miner ID, file name, data format, file size and address of each deal transaction here.

Hey @WJ202 , it's so great to have companies like 51ctu to join IPFS/Filecoin ecosystem, we believe we could build a great future together while a new distributed storage platform is set up.
To help you start, I would like to allocate 2TiB as an initial trial datacap for you to do some experiment immediately, please simply submit a new request if you need more.  And, please let me know if you need any help on the IPFS/Filecoin storing development or miner information.
In the mean time, it would be great if you can share me your business certificate (you can share with me via email for privacy), thus we can move forward smoothly next when allocate much more datacap if needed. And, we can discuss your data's type in detail, and how to verify for different types.

Hey @WJ202 , Your Datacap Allocation Request has been approved
Message sent to Filecoin Network

bafy2bzacebor6glhng7gypnshvmbzqo6mdfaycbnx3ti2eiu2vo55rloz7kve

Address

[f16lqqxq6gghvw7fmy55e5nxzsve43tjw6mfcdjai](https://filscan.io/tipset/address-detail?address= f16lqqxq6gghvw7fmy55e5nxzsve43tjw6mfcdjai)

Datacap Allocated

2.0TiB

Hi @steven004 , thank you for your approval. We really appreciate your support. I have sent you the business certificate via an email, please kindly find the attached file.