New default form builder incorporating errors

create shared/errors partial for rendering form errors
<%= render 'shared/errors', object: f.object %>

for the error messages  (Name can't be blank) would it look better with white background and red text?
So instead class="bg-danger" use  class="text-danger"
http://getbootstrap.com/css/#helper-classes-colors

I think so.

:+1:

I would very much like to arrive at a consensus here instead of forcing something through.
Encapsulation and OO design are valuable concepts indeed, but perhaps their pursuit ought to be tempered by the practicalities. The Rails form helper is valuable because it allows one to write so much less boilerplate HTML and not worry about HTML syntax. It is intelligent enough to understand the minimal info provided to it and build it up into a fully bloated HTML equivalent. It buys us a lot (though Formtastic or Simple Form buy even more).
By contrast, the FormErrorsBuilder is essentially a 1:1 representation of the HTML structure in Ruby - there is no logic, minimal querying of the underlying model(s), no interpolation of CSS selectors, no addition of hidden tag attributes. The ultimate job of both builders is to create an HTML view, but while the FormBuilder does a lot behind the scenes, the FormErrorsBuilder simply delivers a verbatim translation of Ruby to HTML.
In its simplest form, the FormErrorsBuilder can be written as
class FormErrorsBuilder < ActionView::Helpers::FormBuilder
  def error_messages
    return unless object.respond_to?(:errors) && object.errors.any?

    @template.content_tag :div, class: 'panel panel-danger' do
      @template.content_tag :div, class 'panel-heading' do
        @template.content_tag :h3,
          'Please fix the errors below and resubmit the form.',
          class: 'panel-title'
      end
    end

    @template.content_tag :div, class: 'panel-body' do
      @template.content_tag :ul, class: 'bg-danger' do
        object.errors.full_messages.each do |msg|
          @template.content_tag :li, msg
        end
      end
    end
  end
end

This is, of course, the exact structure of the erb partial. At least at present, there is no obvious reason to over-complicate it.
The above can be rewritten as
class FormErrorsBuilder < ActionView::Helpers::FormBuilder
  def error_messages
    return unless object.respond_to?(:errors) && object.errors.any?

    @template.content_tag :div, class: 'panel panel-danger' do
      error_header
      error_body
    end
  end

  private

  def error_header
    @template.content_tag :div, class 'panel-heading' do
      @template.content_tag :h3,
        'Please fix the errors below and resubmit the form.',
        class: 'panel-title'
    end
  end

  def error_body
    @template.content_tag :div, class: 'panel-body' do
      @template.content_tag :ul, class: 'bg-danger' do
        error_list
      end
    end
  end

  def error_list
    object.errors.full_messages.each do |msg|
      @template.content_tag :li, msg
    end
  end
end

This is essentially @PurityControl's original, with minor changes for readability. It's better Ruby code than the first snippet, but this improvement comes at the expense of readability and clarity of structure of the final HTML. It would make sense to adopt it if the modularity was useful to us in easily changing and extending the 3 private methods. However, until that becomes of value, the first snippet is simply clearer. And if we go with it, then we might as well take the direct route of writing HTML in HTML.
Or, as @theB264 said with 1% of the words, "As much as I like encapsulation and OO design,  seems much more readable".

In isolation of the error messages much of what you say I agree with, including maintenance of the html. The question then becomes once we have implemented a stable design how often will we need to change the html.
But if the helper was extended I envision being able to write the following for all our forms.
<%= form_for [:hq, @partner] do |f| %>
  <%= f.error_messages %>
  <%= f.osra_text_field :name %>
  <%= f.osra_text_field :region %>
  <%= f.osra_text_field :contact_details %>
  <%= f.osra_collection_select :province_id, @provinces, :id, :name , {} %>
  <%= f.osra_collection_select :status_id, @statuses, :id, :name ,  {} %>
  <%= f.osra_text_field :start_date %>
  <%= f.submit %>
<% end %>

But really , I'm okay with the majority decision here.

It seems, then, that we should be interested in Simple Form or Formtastic.


Certain function: Decompiler process died

I'm trying to decompile a function for a ROM written for the M32R processor (that I wrote).
A long function decompiles, until I set the extrapop="0" in the cspec file, which seems to be required for proper display of local variables. When I make the cspec change, all functions decompile properly (and variables look great), except this particular function, which always displays: Exception while decompiling 000354cc: Decompiler process died
I tried upping limits with no success:

The ROM image can be found here.
Using:
macOS 12.1 Monterey
Java 11.0.10
Ghidra 10.1.2 from the releases
Are there any debug logging settings I can turn on to help find out why this function keeps failing?

354cc.xml.txt
345cc.c.txt
Just a very large function, probably need to increase time not just payload size, attached is the debug xml, and the output manually running it through the decomp_dbg executable.

Thanks for responding.
I tried upping the limits again (including time) and it still dies, at around 30 seconds, despite having a few minutes in the Decompiler Timeout setting.
re: ldef
Do you know if there is a way to change that ldef id and have ghidra update the existing binaries that still reference the old one? When I change it, I get several errors because of all the programs still referencing the old id.
I have several other questions about writing this processor module, but I think I'll open separate issues for those :)

Note that the "Decompiler Timeout" option only applies to background tasks using the decompiler, such as the decompiler switch analyzer.  The GUI decompiler is set to run indefinitely, since the user can manually cancel.
This is explained in the hover text for the timeout option, and somewhere in the ghidra help, but I admit that it's a confusing name and that I made the same assumption the first time I tried to change the value.


Segmetation Fault Occurs on Downlink

Hi.
I'm trying to run mbed-os-example-lorawan with B-L072Z-LRWAN1 board.
only changes are some configurations on mbed_app.json
"target_overrides": {
        "*": {
            "platform.stdio-convert-newlines": true,
            "platform.stdio-baud-rate": 115200,
            "platform.default-serial-baud-rate": 115200,
            "lora.over-the-air-activation": true,
            "lora.duty-cycle-on": false,
            "target.components_add": ["SX1272", "SX1276", "SX126X"],
            "lora.phy": "KR920",
            "lora.device-eui": "(My 8-bytes device-eui key)",
            "lora.application-eui": "(My 8-bytes application-eui)",
            "lora.application-key": "(My 16-bytes application-key)"
        },

When downlink from TTN occurs, the whole program stops.
Running debug, I got this debug output.

Attached to debugger on port 50000
0003295:INFO:loader:Erased 0 bytes (0 sectors), programmed 0 bytes (0 pages), skipped 100480 bytes (785 pages) at 44.78 kB/s
Image loaded: \Users\vkdls\Mbed Programs\mbed-os-example-lorawan2\BUILD\DISCO_L072CZ_LRWAN1\ARMC6\mbed-os-example-lorawan2.elf
Note: automatically using hardware breakpoints for read-only addresses.
[New Thread 536878128]
[New Thread 536878196]
[New Thread 536878264]
[New Thread 536881424]
[Switching to Thread 536878128]
Thread 2 "main" hit Breakpoint 1, main () at ./main.cpp:96
96	    setup_trace();
[New Thread 2]
Thread
6 "Handler mode" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2]
0x080001c4 in HardFault_Handler ()

mbed-os: 890f056
example: 0048d61
Is there any solution?
Thanks.

ARM Internal Ref: IOTCELL-2471

Hi @factoryal,
I am also facing the same problem when I send a downlink from TTN console the device.
Did you find any solution?
Thanks,
Rahul

@SKRahulSK Hi.
I didn't find any solution right now.
I tested for couple of weeks to find the reason why whole program stopped when downlink occures.
I finally run debug and found that segmentation fault was the reason. (I might find this earlier but not since pyOCD didn't worked for some reason 🤔)
I'm not a core developer. so I can't do any more at this moment.
I'm just waiting for their solution.
Hope they solve this problem quickly.
Thanks for reply. :)

hi,
try increasing the main thread stack size, that did the trick for me.
in mbed_app.json

of directly on mbed_config.h

good luck!

hi,
try increasing the main thread stack size, that did the trick for me.
in mbed_app.json

of directly on mbed_config.h

good luck!

Hi. @PablOsma Thanks for reply.
I increased stack size of my board from 1024 to 2048 and it works!
I really appreciate for that. Thank you so much!
@SKRahulSK would you try this solution?

Plus, I also tried downlink from Chirpstack and it also works fine.


Allow smudge filter to return 0 on download failure

Fixes #1195
Add option lfs.skipdownloaderrors / GIT_LFS_SKIP_DOWNLOAD_ERRORS to allow the smudge filter to return success on download errors, so that checkout etc can continue even without access to content.
It's an option because using this means exit codes are not propagated and scripts would be unable to detect problems with clone/checkout when LFS downloads failed. Also users if they weren't paying attention. However it's useful as an opt-in if wanting to switch branches etc when disconnected.

:metal:


Added expansion panels demo to gallery.

Given where we are in our demo cycle, please get @sethladd and/or @HansMuller to sign off before we add this to the default list.  We have several demos which are not on the default list like calculator, minesweeper and datatables.

This is a nice demo (I've seen it!) but it could be better example.  Maybe take another pass and add a little structure: some widget classes and one small value (like Vacation) class.  The result will probably be longer and hopefully more copy-and-paste worthy.

LGTM


Nodify, bundle, and minify for browsers

Related to #5.
This is 100% backward compatible. Yet 100% Node and future Palindrom compatible.
Tested with Browser <script />, Node CommonJS, Babel ES6 imports and TS imports.
I took action earlier to save time. Any modifications and ideas are welcome.

@tomalec ready for review.


always_run is used by the role

remove always_run when all ansible version is newer than 2.2.
the official documentation says:

Prior to version 2.2 only the the equivalent of check_mode: no existed. The notation for that was always_run: yes.

mark as pending until ansible-project-package-builder completes.

@trombik Hi! Just wanted to check on this and #47 - currently looking to run the role in Ansible 2.7.10 so hitting the always_run deprecation in the current version from Galaxy. Would it make sense to wait for possible update to the Galaxy role or apply the patch from #47 locally today? Cheers and thanks for your work.

@dspruell see https://github.com/trombik/ansible-role-unbound, which is a replacement (but only if you do not use chroot support in the role). the chroot support has been dropped because i do not like the implementation in the role.


Add missing emitc conversions for vm/test/arithmetic_ops.mlir

The remaining ops missing are vm.cond_br and vm.fail. These will go into the printer for the time being.


"Șotrile" is listed in the drop-down menu

The commune is  listed in the drop-down menu alongside its corresponding county, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Tinosu"
Expected results
The location appears in the drop-down menu as "Comuna Tinosu, PRAHOVA"


[No Ticket] Fix response key Q2 in CL's long-form schema (V3)

Purpose
https://github.com/CenterForOpenScience/osf.io/commit/0d07bb62a6c79f98b2ad52850f431f42813596a3#diff-2ed7a42a3982287e5b8df01e2b54d7ddfc470549e5c3f4dc8465469e7c6a3e0bL16-L22 introduced a bug that moved registration_response_key away from the correct location for Expected outcomes. This led to Q2 not being set and an automatically generated 48-4 is used. Here is the error message during bulk upload.

"Invalid column ID:
This Column ID does not match with the ones used by this registration template. It’s likely it was manually edited after it was downloaded or the registration template is outdated. Contact the help desk at<EMAIL_ADDRESS>for the current ID or a new csv file. Invalid IDs: Q2. Missing IDs: 48-4."

Changes
Fixed Q2
QA Notes
N/A
Documentation
N/A
Side Effects
N/A
Ticket
N/A

Cherry-picked in as fe2538ede1409cf8dabb59f1635f3d849292300b, consider this merged :octocat:


falco not running all of a sudden, in CrashLoopBackOff state

Describe the bug
Falco pods started to fail all of a sudden was running ok since past 8-9months.
Expected behaviour
Falco pods running successfully
Screenshots
I can see the following in falco pod logs
In file included from ./include/linux/bug.h:5:0,
                 from ./include/linux/thread_info.h:12,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/rcupdate.h:27,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./arch/x86/include/asm/syscall.h:14,
                 from /var/lib/dkms/falco/b7eb0dd65226a8dc254d228c8d950d07bf3521d2/build/main.c:19:
./arch/x86/include/asm/bug.h:36:22: error: expected identifier or '(' before string constant
  asm_inline volatile("1:\t" ins "\n"    \
                      ^
./arch/x86/include/asm/bug.h:88:2: note: in expansion of macro '_BUG_FLAGS'
  _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));  \
  ^
./include/asm-generic/bug.h:94:19: note: in expansion of macro '__WARN_FLAGS'
 #define __WARN()  __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
                   ^
./include/asm-generic/bug.h:121:3: note: in expansion of macro '__WARN'
   __WARN();      \
   ^
./include/net/sock.h:1912:2: note: in expansion of macro 'WARN_ON'
  WARN_ON(parent->sk);
  ^
In file included from <command-line>:0:0:
././include/linux/compiler_types.h:245:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 #define asm_inline asm __inline
                        ^
./arch/x86/include/asm/bug.h:36:2: note: in expansion of macro 'asm_inline'
  asm_inline volatile("1:\t" ins "\n"    \
  ^
./arch/x86/include/asm/bug.h:88:2: note: in expansion of macro '_BUG_FLAGS'
  _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));  \
  ^
./include/asm-generic/bug.h:94:19: note: in expansion of macro '__WARN_FLAGS'
 #define __WARN()  __WARN_FLAGS(BUGFLAG_TAINT(TAINT_WARN))
                   ^
./include/asm-generic/bug.h:121:3: note: in expansion of macro '__WARN'
   __WARN();      \
   ^
./include/net/sock.h:1912:2: note: in expansion of macro 'WARN_ON'
  WARN_ON(parent->sk);
  ^
./include/net/request_sock.h: In function 'reqsk_free':
././include/linux/compiler_types.h:245:24: error: expected '(' before '__inline'
 #define asm_inline asm __inline
                        ^
./arch/x86/include/asm/bug.h:36:2: note: in expansion of macro 'asm_inline'
  asm_inline volatile("1:\t" ins "\n"    \
  ^
./arch/x86/include/asm/bug.h:88:2: note: in expansion of macro '_BUG_FLAGS'
  _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));  \
  ^
./include/asm-generic/bug.h:104:3: note: in expansion of macro '__WARN_FLAGS'
   __WARN_FLAGS(BUGFLAG_ONCE |   \
   ^
./include/net/request_sock.h:126:2: note: in expansion of macro 'WARN_ON_ONCE'
  WARN_ON_ONCE(refcount_read(&req->rsk_refcnt) != 0);
  ^
In file included from ./include/linux/bug.h:5:0,
                 from ./include/linux/thread_info.h:12,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/rcupdate.h:27,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./arch/x86/include/asm/syscall.h:14,
                 from /var/lib/dkms/falco/b7eb0dd65226a8dc254d228c8d950d07bf3521d2/build/main.c:19:
./arch/x86/include/asm/bug.h:36:22: error: expected identifier or '(' before string constant
  asm_inline volatile("1:\t" ins "\n"    \
                      ^
./arch/x86/include/asm/bug.h:88:2: note: in expansion of macro '_BUG_FLAGS'
  _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));  \
  ^
./include/asm-generic/bug.h:104:3: note: in expansion of macro '__WARN_FLAGS'
   __WARN_FLAGS(BUGFLAG_ONCE |   \
   ^
./include/net/request_sock.h:126:2: note: in expansion of macro 'WARN_ON_ONCE'
  WARN_ON_ONCE(refcount_read(&req->rsk_refcnt) != 0);
  ^
In file included from <command-line>:0:0:
././include/linux/compiler_types.h:245:24: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 #define asm_inline asm __inline
                        ^
./arch/x86/include/asm/bug.h:36:2: note: in expansion of macro 'asm_inline'
  asm_inline volatile("1:\t" ins "\n"    \
  ^
./arch/x86/include/asm/bug.h:88:2: note: in expansion of macro '_BUG_FLAGS'
  _BUG_FLAGS(ASM_UD2, BUGFLAG_WARNING|(flags));  \
  ^
./include/asm-generic/bug.h:104:3: note: in expansion of macro '__WARN_FLAGS'
   __WARN_FLAGS(BUGFLAG_ONCE |   \
   ^
./include/net/request_sock.h:126:2: note: in expansion of macro 'WARN_ON_ONCE'
  WARN_ON_ONCE(refcount_read(&req->rsk_refcnt) != 0);
  ^
make[3]: *** [scripts/Makefile.build:286: /var/lib/dkms/falco/b7eb0dd65226a8dc254d228c8d950d07bf3521d2/build/main.o] Error 1
make[2]: *** [Makefile.kernel:1825: /var/lib/dkms/falco/b7eb0dd65226a8dc254d228c8d950d07bf3521d2/build] Error 2
make[2]: Leaving directory '/host/usr/src/kernels/5.10.179-168.710.amzn2.x86_64'
make[1]: *** [Makefile:9: modules] Error 2
make[1]: Leaving directory '/host/usr/src/kernels/5.10.179-168.710.amzn2.x86_64'
make: *** [Makefile:16: all] Error 2
* Trying to load a system falco module, if present
Tue Feb  6 09:27:24 2024: Falco version 0.31.1 (driver version b7eb0dd65226a8dc254d228c8d950d07bf3521d2)
Tue Feb  6 09:27:24 2024: Falco initialized with configuration file /etc/falco/falco.yaml
Tue Feb  6 09:27:24 2024: Loading rules from file /etc/falco/falco_rules.yaml:
Tue Feb  6 09:27:25 2024: Loading rules from file /etc/falco/falco_rules.local.yaml:
Tue Feb  6 09:27:25 2024: Unable to load the driver.
Tue Feb  6 09:27:25 2024: Runtime error: error opening device /host/dev/falco0. Make sure you have root credentials and that the falco module is loaded.. Exiting.

Environment

Falco version: 0.31.1

System info:

Running as daemon-set in AWS EKS node
Installed using helm chart

Kernel:

Installation method:
Installed using helm chart in AWS EKS cluster

Additional context

Hi! Thanks for opening this bug report!
It seems like your kernel got updated and now the driver is not building against the new kernel.
Do you mind updating to latest Falco 0.37.0 (chart v4.1.0)? There have been multiple fixes and most probably the problem will be gone once you upgrade.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

I'll close this issue as we further updated Falco 0.38.0 to be even more compatible and use modern_ebpf by default. If you are still experiencing issues feel free to open a new one with the error you may have on the latest version. Thanks!


Why compiler output plenty of errors when use vscode and linked libs, but in Terminal compiled normally?

#include <json/reader.h>
int main(){}
Just this code, when in Terminal I input g++ -g a.cpp -o a -ljsoncpp, it is successfully compiled, and even if I don't add "-ljsoncpp", g++ only output a few lines of link error.
but when I use vscode, add "-ljsoncpp"  to tasks.json, and press F5 to run, the Terminal will output plenty of errors, and the errors are mostly messy code, such as:
In file included from /usr/include/json/value.h:12,
from /usr/include/json/reader.h:11,
from /home/xhx/Desktop/lane/lane.cpp:4:
./array:49:111: Error：expected declaration before ‘}’ token
49 |                           t                                                          %                             �             H8      H8                                     �              @       @      h                             �             hD      hD      �                              �             8E
and the errors are so many that only the last hundreds lines of errors can be seen.
I have tried a lot, such as reinstall vscode. It's seem like when I use vscode, the linker can't work properly.
I am very very sad.  T_T

Apologize for my poor English.

vscode work properly on my Ubuntu, but this is on Manjaro 19.0, can this be the final reason?

And I can't link any library with vscode, anybody know what maybe the reason?

I have solve this problem. It is because the auto-make tasks.json, all we need to do is delete the item option:
"options": {
"cwd": "/usr/bin"
},
delete it ,then vscode will work properly.
oh yeah!

But I still don't know why. This FXXK problem cost me more than 5 hours.

I know why is it. Because when cwd is /usr/bin, Terminal do not have root, so if you are in /usr/bin or other root only path, and use g++ to compile, it will fail. but sudo g++ will be ok. Then you can set the root path so solve this problem.

So did you solve it? If not please file this issue on the repo for the vscode-cpptools extension:
https://github.com/microsoft/vscode-cpptools/issues
Thanks!


protobuf: don't build with -g

This removes parts of the compiler from the closure.

Motivation for this change
Closes: #73919
Things done

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

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

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

# nix path-info -Sh $(readlink before)
/nix/store/5vm6cpfhmcdnrp69shllns4qqij213y4-protobuf-3.7.1       693.1M
# nix path-info -Sh $(readlink after)
/nix/store/jd6igaiad4qzjb6salcq7pjgixk2jl2c-protobuf-3.7.1        59.8M

[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

on darwin:
# diff -r before/ after/
Binary files before/bin/protoc and after/bin/protoc differ
Binary files before/lib/libprotobuf-lite.18.dylib and after/lib/libprotobuf-lite.18.dylib differ
Binary files before/lib/libprotobuf-lite.a and after/lib/libprotobuf-lite.a differ
Binary files before/lib/libprotobuf-lite.dylib and after/lib/libprotobuf-lite.dylib differ
diff -r before/lib/libprotobuf-lite.la after/lib/libprotobuf-lite.la
41c41
< libdir='/nix/store/5vm6cpfhmcdnrp69shllns4qqij213y4-protobuf-3.7.1/lib'
---
> libdir='/nix/store/jd6igaiad4qzjb6salcq7pjgixk2jl2c-protobuf-3.7.1/lib'
Binary files before/lib/libprotobuf.18.dylib and after/lib/libprotobuf.18.dylib differ
Binary files before/lib/libprotobuf.a and after/lib/libprotobuf.a differ
Binary files before/lib/libprotobuf.dylib and after/lib/libprotobuf.dylib differ
diff -r before/lib/libprotobuf.la after/lib/libprotobuf.la
41c41
< libdir='/nix/store/5vm6cpfhmcdnrp69shllns4qqij213y4-protobuf-3.7.1/lib'
---
> libdir='/nix/store/jd6igaiad4qzjb6salcq7pjgixk2jl2c-protobuf-3.7.1/lib'
Binary files before/lib/libprotoc.18.dylib and after/lib/libprotoc.18.dylib differ
Binary files before/lib/libprotoc.a and after/lib/libprotoc.a differ
Binary files before/lib/libprotoc.dylib and after/lib/libprotoc.dylib differ
diff -r before/lib/libprotoc.la after/lib/libprotoc.la
20c20
< dependency_libs=' /nix/store/5vm6cpfhmcdnrp69shllns4qqij213y4-protobuf-3.7.1/lib/libprotobuf.la -lz'
---
> dependency_libs=' /nix/store/jd6igaiad4qzjb6salcq7pjgixk2jl2c-protobuf-3.7.1/lib/libprotobuf.la -lz'
41c41
< libdir='/nix/store/5vm6cpfhmcdnrp69shllns4qqij213y4-protobuf-3.7.1/lib'
---
> libdir='/nix/store/jd6igaiad4qzjb6salcq7pjgixk2jl2c-protobuf-3.7.1/lib'
diff -r before/lib/pkgconfig/protobuf-lite.pc after/lib/pkgconfig/protobuf-lite.pc
1c1
< prefix=/nix/store/5vm6cpfhmcdnrp69shllns4qqij213y4-protobuf-3.7.1
---
> prefix=/nix/store/jd6igaiad4qzjb6salcq7pjgixk2jl2c-protobuf-3.7.1
diff -r before/lib/pkgconfig/protobuf.pc after/lib/pkgconfig/protobuf.pc
1c1
< prefix=/nix/store/5vm6cpfhmcdnrp69shllns4qqij213y4-protobuf-3.7.1
---
> prefix=/nix/store/jd6igaiad4qzjb6salcq7pjgixk2jl2c-protobuf-3.7.1


Automatically created zip bucket in the wrong region

Given a configuration with a region other than default, and a bucket that hasn't yet been created:
{
    "dev": {
        "aws_region": "eu-west-1",
        ...
        "s3_bucket": "not-yet-existing-bucket"
    }
}

when running zappa deploy dev, I was seeing this error:
An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: Error occurred while GetObject. S3 Error Code: PermanentRedirect. S3 Error Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.

The error occurs because of the bucket being created in a different region - I checked and not-yet-existing-bucket was created in US/Standard instead of in eu-west-1.
Creating the bucket in the same region as in the configuration beforehand solved the problem, though it would be nice if this was fixed.
Using zappa 0.17.6.

GOOD CATCH. Bucket region code got fiddled with recently and I guess this slipped through. (Bucket creation is supposed to be kind of a secret feature anyway, but still a good catch.)

Yeah, I have to admit I was surprised that the bucket was created for me, I was assuming I had to create it beforehand but then simply forgot that step in a hurry... ha!

Another thing just came to my mind - I believe I didn't setup a default location when setting up my AWS account on the computer, this may be another circumstance required for causing this in the first place. I need to check tomorrow morning whether that's the case.

^ No, I do have a default region configured in ~/.aws/config, same one I was using to configure Zappa.


Wrong type inference when calling functions with side effects and strict null checks are enabled

TypeScript Version:  2.5.3 and 2.6.0-dev.20171015
Code
let text: string | null = null;

function setText(newText: string) {
    text = newText;
}

setText("Hello World");
if (text) {
    console.log(text.toLowerCase());
}

Expected behavior:
Code should compile with --strictNullChecks. Type of text should be null before the setText() call but must be resetted to the base type (string | null) after setText() has been called because this function may have side-effects and therefor TypeScript can no longer assume that text is still null. The if (text) null-check must then change the type to string and then the toLowerCase method call must not generate an error.
Actual behavior:
In the if (text) line TypeScript thinks that text has the type null because it sees no other assignment than then initial one and ignores the possible side-effect of the called setText() function. The null check eliminates this type so it becomes type never and this ends in the following error message:
test.ts(9,22): error TS2339: Property 'toLowerCase' does not exist on type 'never'.

See #9998.

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


System.InvalidOperationException in SendStatusFromServerAsync for csharp grpc server

What version of gRPC and what language are you using?
gRPC version: 1.11.0
What operating system (Linux, Windows, …) and version?
Linux docker
What runtime / compiler are you using (e.g. python version or version of gcc)
dotnet core 2.0
What did you do?
Got exception when starting the gRPC server:
words_1  | 2018-05-04 07:00:07.828 +00:00 [Debug] [Microsoft.Extensions.Hosting.Internal.Host] [{ Id: 1 }] [ ] Hosting starting
words_1  | 2018-05-04 07:00:08.093 +00:00 [Debug] [Grpc.Core.Internal.UnmanagedLibrary] [{ Id: 1000 }] [ ] Attempting to load native library ""/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so""
words_1  | 2018-05-04 07:00:08.271 +00:00 [Debug] [Grpc.Core.Internal.NativeExtension] [{ Id: 1000 }] [ ] gRPC native library loaded successfully.
words_1  | Application started. Press Ctrl+C to shut down.
words_1  | Hosting environment: Production
words_1  | Content root path: /app/
words_1  | 2018-05-04 07:00:08.782 +00:00 [Debug] [Microsoft.Extensions.Hosting.Internal.Host] [{ Id: 2 }] [ ] Hosting started
words_1  | 2018-05-04 07:00:17.296 +00:00 [Warning] [Grpc.Core.Server] [{ Id: 1000 }] [ ] Exception while handling RPC.
words_1  | System.InvalidOperationException: Operation is not valid due to the current state of the object.
words_1  |    at Grpc.Core.Internal.AsyncCallServer`2.SendStatusFromServerAsync(Status status, Metadata trailers, Nullable`1 optionalWrite)
words_1  |    at Grpc.Core.Internal.UnaryServerCallHandler`2.<HandleCall>d__4.MoveNext()
words_1  | --- End of stack trace from previous location where exception was thrown ---
words_1  |    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
words_1  |    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
words_1  |    at Grpc.Core.Server.<HandleCallAsync>d__39.MoveNext()

This exception only throws when server processes the first two requests, and then the server works well

I think this might have been the same problem as https://github.com/grpc/grpc/issues/13943?


Fix COLOR_0 accecessor

Fixed runtime error when COLOR_0 attribute was hit.

Hi, thanks for the fix! Would you have a link to a test .glb file that showed this problem, so I can add it to my test set?

Ah, never mind, found https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/VertexColorTest/glTF-Binary/VertexColorTest.glb


Accept VOIP call

How can I detect, that app is launched from system call screen? I'm programming voip app. I know how to create call etc. If I press Accept on system screen, OnLaunched method is invoked. How can I detect this scenario?

This appears to be a question about how to design your application, not a question about a sample. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


Pipelines: Convert an existing TensorFlow tutorial to a pipeline and use prebuilt components

Convert an existing TensorFlow tutorial to a pipeline - see some of the new, fun TensorFlow 2.0 tutorials listed below - and where feasible use Kubeflow Pipelines reusable components in the pipeline.
Notes:

We'll probably need to develop one or more reusable components as well as building the tutorial, to fill any gaps in our current supply of reusable components.
These are the “hot” areas of AI. All using TF 2.0 - Keras. There may be some challenges using them. Part of the task during the doc sprint will be to overcome the challenges and document the way in which we did that.
It's probably best to avoid workflows that require TPUs.
We need to check the TF tutorials listed below to see if they’re good use cases for a pipeline. During the doc sprint or as prework, break them into steps and decide which can be created as reusable pipelines.
Some of the TF tutorials pull in TensorFlow Hub modules.

TensorFlow tutorials to consider for conversion to a pipeline:

Neural Machine Translation with Attention

Pix2Pix

Transformer model for language understanding

Image Captioning with Attention

Convolutional Variational Autoencoder

Deep Convolutional Generative Adversarial Network

Neural style transfer

@zanedurante is interested in working on the "Neural style transfer" tutorial during the doc sprint.

Hi @sarahmaddox I am checking this issue regarding the KF doc sprint that's about to start :)
I am using KF 0.5 on GKE, and I have previously implemented a demo of Pix2Pix with TF1.12 on KF/GKE.
My pipeline is composed of 3 tasks : download dataset, prepare dataset (create TFRecord from the pictures), and train pix2pix (use a tf.data pipeline to prepare/do data augmentation to the pictures + build and train a conditional GAN). My pipelines uses a GPU for the training task and use NFS volumes to access the pictures/TFRecord file, and outputs the generated image. It also generate Tensorboard logs on GS.
FYI, I couldn't use at that time TF1.13 or above because only CUDA 9 was available on GKE. But it looks like the GCP documentation has been updated late June, and that CUDA 10 is now available. I will verify right now,  if it works with TF 1.13 and GPU. If ok, I might be able to contribute on that one if a Pix2Pix with TF2.0 is chosen for the doc sprint

Thanks @fdasilva59 that sounds great. I've created an issue to track your work:
https://github.com/kubeflow/website/issues/876

I'm going to close this issue, as we've branched off a couple of specific TF models into separate issues, and this one is to broad to track work.
/close


Make .conda the default format for rattler-build

Reasons:

much faster compression speed (and decompression as well)
cheaper indexing
it is the "future" (or actually present)

Rattler-build should come with best defaults.

fixed by #644

You can close this now


Unstable numeric output for downstream task (moat 4 w/o pos)

ckpts : moat4 w/o pos
The output from moat4 can easily result in the following layers (e.g., 3x3 conv) having a NaN output.
The same issue, at least, does not show in moat0.
It is the first time I have met this issue in my career (I met NaN many times, but never like this), so I need to take some time to investigate this issue.
I will update this issue if I have a new finding. Please also check if the provided ckpts are working.

Thanks for your interest. For this issue, I have two suggestions:

First of all, make sure the weights of all layers are correctly loaded, including the stem layers, etc.
You can adjust the learning rate, drop path rate and batch size to solve the issue.


Update instructions in docs

@ttrahan
Three updates in the docs

Under the Provision Amazon ECS Cluster section, point (6), ECSInstanceType reflects t2.small
This needs to be updated to t2.medium

Under the Configure an automated CI/CD pipeline section, point (2), add the following instructions:

In your local copy of the front-end repo, you’ll need to update the shippable.yml configuration file with values from your AWS environment:

env:
  global:
    - GROUP=288971733297.dkr.ecr.us-east-1.amazonaws.com

Replace the<PHONE_NUMBER>97.dkr.ecr.us-east-1.amazonaws.com section with the URL for your Container registry, e.g.<PHONE_NUMBER>35.dkr.ecr.us-west-2.amazonaws.com

You can copy/paste this URL by selecting View Push Commands on this page

Under the Configure an automated CI/CD pipeline section, point (3) fix the formatting of the list

If you’re running in your cluster in a region other than us-east-1: * Resource cluster-demo-ecs * Replace the value for Region to be the AWS region where you’re running your cluster
Now, load your Pipeline configuration files into Shippable: * Select the Pipelines tab, Resources view, and then Add Resource button (far right) * In the Subscription Integrations dropdown: choose Add integration and complete the fields....

@ttrahan added a 3rd

@ttrahan added a 4th


Adding color or image as background while loading

Am I really the only one that's wondering how the hell we're supposed to do it?

Solution
https://github.com/HubSpot/pace/issues/166


ionic 2 error when creating a new project

I installed the release candidate. I updated node.js and npm.
When I start a new project, I get this error:
Installing npm packages...
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined
I uninstalled cordova and ionic and cleaned npm and then installed everything back, but no matter I did, I still get the same error every time I try to create a new project
Any help

It may help them to have some info about your environment like the version of npm and ionic-cli plus the OS (name and version) too. Things like that…
Nonetheless this is a good example of why the ionic start command should not make npm install itself. Its job should be to generate code, end of story, not install all dependencies. It would be more align with the single responsibility principle.
This is a single line command that we can type next after generating the project. I say that because it makes the execution time very long especially on slow networks which can be very frustrating if you want to execute it several times for instance to see generated code for several templates or with different options. Just because you generate code doesn't mean you will execute it.

I'm having the same problem after remove beta and install RC0.
I'm using npm 3.8.6 on Win7.

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.

After read https://github.com/driftyco/ionic-cli/issues/1424 I discovered, checking with --verbose, that I haven't installed "git for Windows'. Now it works.

Similar problem here. npm version 3.10.3, Node.js 6.7.0, win 7 x64, ionic version 2.1.0. Problem came after i uninstalled previous ionic and installed the RC.

Exact same issue here
Windows 10, first-time ionic install just followed the directions to the letter and it failed.
Company PC with windows 7, also vanilla install, also failed.
Solution: install Git for windows.
Please update your dependencies.
As a first time user I was very annoyed.

Installing Git resolved it for me too.

npm upgrade solved this for me

@jtoms1

Unfortunately, I formatted my computer and installed a fresh win 10 on it. I will try installing git for windows, may be it works for me.
Thanks for the help.

I installed Git for windows as recommended here from other members and everything works fine now. This info should be clear in ionic 2 RC0 documentations.

Hello all! Going to close this as a duplicate of https://github.com/driftyco/ionic-cli/issues/1491. Thanks!


add more ini, cson, toml, tests

96% coverage
awesome consistency
awesome readme
awesome flexibility
good download time, not so as before one year but.. yea, changed purpose of the pkg

btw, later today I'll export read-cson and read-toml.

crap. looks like you did this right around when I merged the other one. let me look over it..

hmm, this is great. but I think the TOML and CSON pr would make more sense for parsers. That lib might be used more in our other projects than this one too.

later today I'll export read-cson and read-toml.

:+1:  there might be more demand if you do parser-toml and parser-cson instead (or in addition to those), like this: https://github.com/jonschlinkert/parser-xml/blob/master/index.js. for parser-cache

there might be more demand if you do parser-toml and parser-cson instead

yeaaaa! :+1:  damn, i forgot them.. and already publish read-toml and read-cson ;d hmm

might be used more in our other projects

yea, I know. know the chain after read-data and namespace-data, but I think their place is here, because they are data/config formats. Yea not so used, but..

About the parser-toml and parser-cson, please try to keep them as close to the spec as possible and as lean as possible. they'll be more likely to get used in something I have in mind :)

I think their place is here,

True, it's worth considering. But projects are far less likely to be used when there are more options. And JSON/YAML probably account for something like 95% of data usage. Everything else is in the other 5%. Now, if we start using those in any of our projects then I would be more inclined to accept the pr. I have to be practical too :)

to the spec as possible and as lean as possible

ofc
idk, it's your turn :) as you like

@jonschlinkert okey, we can close, but.. it would be great (because the package name) to have more than yaml and json.. if you only want to use them use read-file which is actually almost duplicate.

read-file - only yaml and json like this current
read-data more/general - yaml, json, cson, toml, ini

which is actually almost duplicate.

No, read-file returns a string only. this library returns an object. So that's not going to work.

. it would be great (because the package name) to have more than yaml and json..

TOML, CSON and INI are not used for data in applications. Show me a few applications that use those as an actual data source. I'm not talking about "config" objects, I mean data that would be used in templates etc. These are different use cases. How many projects have a directory of TOML files? lol c'mon. I'm not saying there aren't any, just that there aren't enough to make it worth implementing here.
Maybe you could try a different tactic on future prs. Try asking about the use cases for a module to learn what the creator has in mind. If your pr doesn't fit with that, then don't even do one. Because the creator/maintainer's opinion about "why the module exists" is the only thing that matters for the module. It's what drives innovation, progress, or stagnation and failure. Either way, it's the only thing that matters. Don't waste time trying to convince maintainers to do something that they didn't have in mind when a module was created, it goes against the module pattern.


https://tvl.fyi/feed.atom not recognised

[@Atemu@darmstadt.social](https://darmstadt.social/users/Atemu) Hm, I can't find a feed for this site.

Is the address right? It can also happen that the site is temporarily down, or it doesn't have a valid RSS or Atom feed.

The problem is that the feed doesn't link back to the website itself. The Parrot derives the account's name from the website's name, which is unknown if you request the feed.
It will work if you request the website itself like this<EMAIL_ADDRESS>https://tvl.fyi/
In that case the Parrot already know the website address you're telling it, so it can derive a name for the account.


Include parameters field on az pipelines run

I found this page first when trying to look for examples on how to launch a pipeline using Azure DevOps CLI. It doesn't mention that you can use parameters as an argument, thus I went through a rather annoying process of trying to accept both parameters to variables in my latter pipeline, coalescing them depending on how the latter was triggered, then finding out the coalesced value could not be used to form the name of a variable group I wanted to reference (since variable groups need to be named at compile time). Anyway, I went through a process that could've been avoided and cost me time chasing an alternate solution.
In continuing to search, I found a feature request on GitHub showing that this was indeed incorporated a while ago, and then found additional Microsoft documentation (resembling this page quite a bit) that showed exactly how to use the parameters field from the CLI.
My request here is that this field (plus any others) gets reconciled between the two pages, or else this documentation page simply gets replaced with the other one. The latter would save having to update the same information in multiple places.

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

ID: df5d17e2-0f83-b115-5bfc-1a1691441dc2
Version Independent ID: df5d17e2-0f83-b115-5bfc-1a1691441dc2
Content: Manage your pipeline with Azure CLI - Azure DevOps
Content Source: docs/pipelines/get-started/manage-pipelines-with-azure-cli.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-get-started
GitHub Login: @silviuandrica
Microsoft Alias: sandrica

@mrcity -- Stephen, thank you for your thoughtful feedback.
@silviuandrica -- Silviu, please look into this issue.
cc @rloutlaw for awareness


add cortex model registration and loader

this PR adds methods to a cortex that register models to be automatically re-loaded when the cortex is restarted. this means that in a user application, a single initialization routine can configure a cortex with appropriate types and forms, and these types and forms will "magically" work for any other cortex clients. no need to call addForm on every boot.
the PR introduces the concept of a cortex model provider; this is an importable Python module with some well-known top-level functions:

getInfo(): returns a dict with the required keys:

namespace (str): unique prefix for types and forms added by this module.
version (int): the revision number of this model. this must increment with every change.

addTypes (synapse.cores.common.Cortex): add any provided types to the given cortex.
addForms (synapse.cores.common.Cortex): add any provided forms to the given cortex.
upgradeModel (synapse.cores.common.Cortex): when invoked, the cortex is using an out-of-date model version, and requests to be updated to the latest version. implementor must update any cortex-persisted types or forms (more relevant once #94 is merged).

initialization routines install a model provider into a cortex using core.registerModel(the.model.provider.module). when a previously configured cortex is restarted, it inspects itself, imports the installed model providers, and invokes their exposed routines.
the cortex can be started without invoking the model providers by using the query parameter nomodels=1 to the cortex url.

Coverage increased (+0.04%) to 81.055% when pulling a0c36d7f0fac05b19a20cf4c210f32f49775bf17 on williballenthin:cortex-loader-2 into 45f71ba59b3d4f04aa3dd01bc2cde0ac970a2f69 on vivisect:master.

Coverage decreased (-0.3%) to 80.699% when pulling a0c36d7f0fac05b19a20cf4c210f32f49775bf17 on williballenthin:cortex-loader-2 into 45f71ba59b3d4f04aa3dd01bc2cde0ac970a2f69 on vivisect:master.

i've made the model provider routines optional where it makes sense. i do not have any outstanding ideas or work on this PR, so please provide direction and/or merge.

Coverage increased (+0.005%) to 81.023% when pulling 2b91fd996c3d431b696d7f012659cd293690c78e on williballenthin:cortex-loader-2 into 45f71ba59b3d4f04aa3dd01bc2cde0ac970a2f69 on vivisect:master.

all comments addressed. awaiting further direction or merge.

Coverage increased (+0.05%) to 81.068% when pulling 9cde5c8963366094838369764bf97604d3396592 on williballenthin:cortex-loader-2 into 45f71ba59b3d4f04aa3dd01bc2cde0ac970a2f69 on vivisect:master.

alternative implementation merged in a4be716e6a1006a6042f47286d047d456d4870d3


Implement and test is_land_approved and get_land_transaction_history functions

Ensure the logic works and is well tested
 fn get_land_transaction_history(self: @TContractState, land_id: u256) -> Array<(ContractAddress, u64)>;
 fn is_land_approved(self: @TContractState, land_id: u256) -> bool;

Definition of Done:
• Tests are written to verify the new functionality.
Note: Only applications through the OnlyDust platform will be considered.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a full-stack and web3 developer with experience in cairo
How I plan on tackling this issue
I will implement the get_land_transaction_history and is_land_approved functions and ensure they work correctly by writing unit tests to verify their functionality

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
As a Computer Science graduate with hands-on expertise in JavaScript, TypeScript, and Cairo, I bring a strong foundation in both theoretical and practical development. My academic background has provided me with good problem-solving skills and comprehension of data structures, which is critical for creating smart contract tasks.
How I plan on tackling this issue
First, I'd look into the contract's state management criteria for land approval status and transaction history. The is_land_approved function would be designed with great attention to access constraints and state validation. For get_land_transaction_history, I would ensure that transaction records are stored and retrieved efficiently while maintaining historical data integrity.
Testing would be comprehensive but focused, beginning with unit tests for fundamental functionality and gradually growing to include edge situations and significant security problems. Having worked with strongly-typed languages, I am familiar with Cairo's type system and recognize the significance of extensive testing in smart contract development.
I'm excited to contribute to this project and learn from my experiences while providing dependable, well-tested code.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello I'm a front-end and a blockchain developer. I will love to work on this issue. It is something I can handle

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a Blockchain developer with expertise in Cairo, Solidity, and Rust. I’ve contributed to open-source projects such as Worldcoin-Bridge-Linea and ArkProjectNFTs Bridge and more.
How I plan on tackling this issue
[1]=>Write a test to confirm that the event count increases when a new event is added.
[2]=>Create another test to verify that the appropriate event is emitted when an event is successfully added.
[3]=>Ensure that both tests are integrated with the existing test suite for seamless execution.
[4]=>Please assign me, Sir/Madam.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a full-stack developer with experience in QA testing and languages like Python, Cairo, Solidity, React, and JavaScript.
How I plan on tackling this issue
i will  Review Requirements
Understand the functionality of get_land_transaction_history and is_land_approved.
Identify input parameters: land_id.
Determine expected output:
get_land_transaction_history: Array of tuples containing ContractAddress and u64 (timestamp).
is_land_approved: Boolean indicating approval status.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have a strong backend development background with Cairo. In the past year, I've focused on smart contracts and Web3 technologies, including fingible and non fungible token standards.
How I plan on tackling this issue
I would first understand the requirements for the get_land_transaction_history and is_land_approved functions.
For  get_land_transaction_history, I would implement logic to retrieve transaction records for a given land_id, storing them as tuples of (ContractAddress, u64). For is_land_approved, I would create a check to determine if the land meets specific approval criteria.
Next, I would write unit tests for both functions, covering scenarios like no transactions, multiple transactions, and various approval states, while also managing invalid IDs.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
GM @fishonamos, I am Sagar Rana, a smart contract developer and full stack engineer. I have 3 years of experience building robust full stack applications and over a year of writing smart contracts. You can see my projects and contributions to some major repos on my GitHub profile. The tech stack I use mainly includes Solidity, Rust, Cairo and Typescript. I am also contributing to the Starknet and Rust ecosystems and building on Cairo and Rust languages. I am interested in contributing to projects like this to learn more about these technologies and help make these projects better. Please assign me as I would be really glad to be a contributor in this project! :)
How I plan on tackling this issue
I would approach the problem like this:

Check out the  land_registry/src folder and check all available structs for the available fields
Create the function interfaces in land_registry/src/interface.cairo like this:

#[starknet::interface]
pub trait ILandRegistry<TContractState> {
    fn register_land(
        ref self: TContractState, location: felt252, area: u256, land_use: LandUse,
    ) -> u256;
    fn transfer_land(ref self: TContractState, land_id: u256, new_owner: ContractAddress);
    fn get_land(self: @TContractState, land_id: u256) -> Land;
    fn update_land(ref self: TContractState, land_id: u256, area: u256, land_use: LandUse);
    fn approve_land(ref self: TContractState, land_id: u256);
    fn reject_land(ref self: TContractState, land_id: u256);
    fn is_inspector(self: @TContractState, address: ContractAddress) -> bool;
    fn add_inspector(ref self: TContractState, inspector: ContractAddress);
    fn remove_inspector(ref self: TContractState, inspector: ContractAddress);
     fn get_land_transaction_history(self: @TContractState, land_id: u256) -> Array<(ContractAddress, u64)>;
 fn is_land_approved(self: @TContractState, land_id: u256) -> bool;
}

Define the functions in land_registry/src/land_register.cairo
Update the tests to include the new components in land_registry/tests/test_land_register.cairo
Ensure that all tests are passing and code is neat and clean and then create the PR

ETA: 2 Days

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello! My name is Lukman, and I am a passionate Smart Contract Developer with two years of experience in writing smart contracts. My hands-on experience spans various blockchain platforms, including Ethereum and Starknet.
How I plan on tackling this issue
To verify the functionality of get_land_transaction_history and is_land_approved, I will write unit tests for each function. For get_land_transaction_history, I will check that it returns the correct transaction history for a given land_id, while for is_land_approved, I will ensure it accurately indicates the approval status of a specified land_id. Additionally, I will test edge cases, such as using a non-existent land_id, to confirm proper handling, and ensure all tests pass successfully.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hi, I'm Eleazar and I'm applying to issue #87.
I estimate this will take 12hours max to complete.
How I plan on tackling this issue

Understand the Purpose of Each Function
Implement the Logic  and Setup assertions for successful execution of the functions
Write Unit Tests
Test Cases for get_land_transaction_history
Test Cases for is_land_approved

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hi, please can I be assigned this please? This would be my first time contributing to this project and I would love to be the given the opportunity to contribute. I have experience in html, css, JavaScript,TypeScript and solidity, and Cairo. I am very good at tests.
How I plan on tackling this issue
To solve this issue in just 3 steps:
1. Firstly, Ill make sure get_land_transaction_history and is_land_approved are properly implemented.
2. Next, I’ll create test cases covering various scenarios for retrieving transaction history and checking approval status.
3. Lastly, I’ll execute the tests to verify that the logic is correct and works as intended
Please assign me, I’m ready to work.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have contributed to several Cairo projects on OnlyDust and I've worked on very similar issues in the past.
How I plan on tackling this issue
I will carefully implement the feature requested and write tests to make sure the functionality is working properly with 100% coverage.
ETA 1 day.


Add support for ePaper displays starting with the SSD1681 controller

Description

Add SSD1681 ePaper display controller driver.
Add a graphics library for ePaper displays.

Motivation and Context

ePaper displays are great for low-powered IoT projects because of low power consumption.
IoT projects deployed to the field could benefit from the legibility of ePaper displays.
nanoFramework doesn't currently have support for EPDs.

How Has This Been Tested?

Changes brought by this PR do not affect other classes/features in this repo.
Tested by visually inspecting the output on the SSD1681-based ePaper display.

Screenshots
Output of SSD1681 sample:

Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[X] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[X] My code follows the code style of this project (only if there are changes in source code).
[X] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[X] I have read the CONTRIBUTING document.
[X] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

so finally took a bit more time than yesterday and looked at what we have: https://github.com/nanoframework/nanoFramework.IoT.Device/tree/develop/devices/CharacterLcd
So the screen should use this as well. If any adjustments needed on it, feel free.  Check out the https://github.com/nanoframework/nanoFramework.IoT.Device/tree/develop/devices/Pcd8544 for implementation. There are things that won't apply like cursor or others and that's fine. But at least font should be reusable, points as well and few more elements.
For the rest, looks good! Thanks again! Great work!


Fix event names in XRSession

If I'm right, XRSession uses event name @webvr-polyfill/* and @@webvr-polyfill/* at some places but I think they are typos because @webvr-polyfill/* or @@webvr-polyfill/* aren't used everywhere else but @@webxr-polyfill/* is used.
Even in the same XRSession here uses @@webxr-polyfill/* to register a listener but here uses @webvr-polyfill/* to remove the listener. The listener won't be removed because they use different names.
This PR fixes this problem by renaming @webvr-polyfill/* or @@webvr-polyfill/* to @@webxr-polyfill/*.

hey @toji could you take a look at this?

Thanks for catching that!


[ocaml5-issue] Segfault in Lin Effect test in framepointer mode

In the first CI run for #415 we triggered a segfault in the 5.1 framepointer mode:
https://github.com/ocaml-multicore/multicoretests/actions/runs/6956703096/job/18928093937#logs
random seed: 285592073
generated error  fail  pass / total     time test name

[ ]     0     0     0     0 / 20000     0.0s Lin ref int test with Effect
[ ]     0     0     0     0 / 20000     0.0s Lin ref int test with Effect (generating)
[✓] 20000     0     0 20000 / 20000     0.3s Lin ref int test with Effect

[ ]     0     0     0     0 / 20000     0.0s Lin ref int64 test with Effect
[✓] 20000     0     0 20000 / 20000     0.3s Lin ref int64 test with Effect

[ ]     0     0     0     0 / 20000     0.0s Lin CList int test with Effect
[✓] 20000     0     0 20000 / 20000     0.4s Lin CList int test with Effect

[ ]     0     0     0     0 / 20000     0.0s Lin CList int64 test with Effect
[✓] 20000     0     0 20000 / 20000     0.5s Lin CList int64 test with Effect

[ ]     0     0     0     0 / 20000     0.0s negative Lin ref int test with Effect
[✓]     1     0     1     0 / 20000     0.0s negative Lin ref int test with Effect

[ ]     0     0     0     0 / 20000     0.0s negative Lin ref int64 test with Effect
[✓]     1     0     1     0 / 20000     0.0s negative Lin ref int64 test with Effect

[ ]     0     0     0     0 / 20000     0.0s negative Lin CList int test with Effect
[✓]     1     0     1     0 / 20000     0.0s negative Lin CList int test with Effect

File "src/neg_tests/dune", line 92, characters 7-23:
92 |  (name lin_tests_effect)
            ^^^^^^^^^^^^^^^^
(cd _build/default/src/neg_tests && ./lin_tests_effect.exe --verbose)
Command got signal SEGV.
[ ]     0     0     0     0 / 20000     0.0s negative Lin CList int64 test with Effect

Note: I pushed an update to add a CHANGES entry to the PR underway, which triggers a cancellation of ongoing and queued jobs. I'm unsure whether that caused it (is it implemented as a signal?) or whether this is reproducible locally... :thinking:

I just recalled that https://github.com/ocaml/ocaml/pull/12535 was not included in the September 5.1.0 release.
I also confirmed locally: it is indeed reproducible on 5.1.0 but not on trunk.
Duplicate of #394


Add RBAC rules to the heapster manifests and combine logical API objects into the same file

A lot of these manifests are/were obsolete, I'd be very happy to remove/cleanup things here.
RBAC is turned on by default in v1.6 and heapster is broken without credentials granted to it
I didn't touch standalone-test nor standalone-with-apiserver, are those relevant anymore?
fixes: https://github.com/kubernetes/kubeadm/issues/248 cc @sebgoa
PTAL @DirectXMan12 @piosz @mwielgus and please merge ASAP

This change is

/lgtm
thanks for the fix!

can not find where defined the  clusterRole  system:heapster

apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  creationTimestamp: 2017-05-19T01:29:35Z
  name: heapster
  resourceVersion: "48623"
  selfLink: /apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindingsheapster
  uid: 9dbf4447-3c32-11e7-8db8-0050562a8439
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:heapster
subjects:
- kind: ServiceAccount
  name: heapster
  namespace: kube-system

can't  found  clusterRole definition.
kubectl get clusterrole heapster
Error from server (NotFound): clusterroles.rbac.authorization.k8s.io "heapster" not found


Adding index maintenance on removal

@MarcusDenker I disabled the active maintenance of the pages in this PR so we can merge it and adjust for BTree. The code is now activated in the recycle PR

Will redo all PRs in order to get a sequence of mergable changes


roslaunch error. Resource not found: xacro

Context
Please provide any relevant information about your setup.

Tutorial No.:[eg. Tutorial 6]
Mavros: [eg. 0.18.4]
ROS: [eg. melodic]
Gazebo: [eg. 7]
Ubuntu: [eg. 18.04]
System Platform: [eg. X86]

I was doing tutorial six. To verify GAAS-Object-Tracking by completing make-j4, roslaunch px4 car_tracking.launch was performed. But it didn't work out as an error.
roslaunch px4 car_tracking.launch
... logging to /home/drone/.ros/log/916aaad6-0576-11ec-b4c4-d8c0a6b1244f/roslaunch-drone-desktop-2023.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Resource not found: xacro
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/drone/image_transport_ws/src
ROS path [2]=/opt/ros/melodic/share
ROS path [3]=/home/drone/catkin_ws/src/Firmware
ROS path [4]=/home/drone/catkin_ws/src/Firmware/Tools/sitl_gazebo
The traceback for the exception was written to the log file

Below is an error log.
[roslaunch][INFO] 2021-08-25 16:32:15,030: Added node of type [gazebo_ros/gzserver] in namespace [/]
[roslaunch][INFO] 2021-08-25 16:32:15,032: Added node of type [gazebo_ros/gzclient] in namespace [/]
[roslaunch][ERROR] 2021-08-25 16:32:15,033: Resource not found: xacro
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/drone/image_transport_ws/src
ROS path [2]=/opt/ros/melodic/share
ROS path [3]=/home/drone/catkin_ws/src/Firmware
ROS path [4]=/home/drone/catkin_ws/src/Firmware/Tools/sitl_gazebo
[roslaunch][ERROR] 2021-08-25 16:32:15,033: The traceback for the exception was written to the log file
[roslaunch][ERROR] 2021-08-25 16:32:15,036: Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/__init__.py", line 332, in main
    p.start()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/parent.py", line 289, in start
    self._start_infrastructure()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/parent.py", line 238, in _start_infrastructure
    self._load_config()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/parent.py", line 144, in _load_config
    roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/config.py", line 461, in load_config_default
    loader.load(f, config, argv=args, verbose=verbose)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 761, in load
    self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 733, in _load_launch
    self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 679, in _recurse_load
    self._param_tag(tag, context, ros_config, verbose=verbose)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 96, in call
    return f(*args, **kwds)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 263, in _param_tag
    vals = self.opt_attrs(tag, context, ('value', 'textfile', 'binfile', 'command'))
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 208, in opt_attrs
    return [self.resolve_args(tag_value(tag,a), context) for a in attrs]
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 189, in resolve_args
    return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 392, in resolve_args
    resolved = _resolve_args(resolved, context, resolve_anon, commands)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 405, in _resolve_args
    resolved = commands[command](resolved, a, args, context)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 166, in _find
    source_path_to_packages=source_path_to_packages)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 212, in _find_executable
    full_path = _get_executable_path(rp.get_path(args[0]), path)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 207, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: xacro
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/drone/image_transport_ws/src
ROS path [2]=/opt/ros/melodic/share
ROS path [3]=/home/drone/catkin_ws/src/Firmware
ROS path [4]=/home/drone/catkin_ws/src/Firmware/Tools/sitl_gazebo

[rospy.core][INFO] 2021-08-25 16:32:15,036: signal_shutdown [atexit]

my ~/.bashrc
source /opt/ros/melodic/setup.bash
source ~/catkin_ws/devel/setup.bash
source ~/image_transport_ws/devel/setup.bash
source ~/catkin_ws/src/Firmware/Tools/setup_gazebo.bash ~/catkin_ws/src/Firmware/ ~/catkin_ws/src/Firmware/build/posix_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/catkin_ws/src/Firmware
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/catkin_ws/src/Firmware/Tools/sitl_gazebo
export GAZEBO_MODEL_PATH=:/home/drone/catkin_ws/src/Firmware//Tools/sitl_gazebo/models:~/GAAS/deprecated/simulator/models

Hello, I also encountered a similar problem, have you solved the problem?

Hello, I also encountered a similar problem, have you solved the problem?

yes. This is how I solved it.
sudo apt-get install ros--xacro
 is Write according to the ros version
I hope it helps. :)


[Issue 47] Port in use detection

The Pull Request is ready

[ ] all github actions are passing
[x] only a single issue was worked on
[x] fixes #47
[x] the branch follows the naming schema issue-123-enable-x-does-not-disable-y
[x] the pull request has a sensible title

Intention
With this change I intend to...

Add port detection on CLI start command to provide better UX

Review Points
Please take extra care reviewing...

Library I pulled in to help with it since I couldn't find much on how to do it without a lib in node.

The code follows best practices

[x] duplicate code has been extracted where possible
[x] issues for follow-up tasks have been created
[x] tests have been written for any new functionality
[ ] there is no any type used
[x] texts have been checked for grammar and spelling issues

Notes

@rphovley What are your thoughts on us detecting the server by using the process name instead of port? Or, it could even be enhanced so we check if the process name is the codeclimbers one, or if it is an external process?
Implemented checking by name and setting the process name in this PR: https://github.com/CodeClimbersIO/cli/pull/50

@Tanner-Scadden yeah, I like that better

@rphovley Awesome, pulled in #50 and added a check by process name as well.


MessageNotUnderstood: LiteralNode>>selector from PPParser (Parser) >> #messagePart:repeat:

Occurs when poppy-printing this beautiful method: https://github.com/LinqLover/SimulationStudio/blob/cad846fdee882e676d5e97ccfb5fad32336d4a6d/packages/SimulationStudio-Sandbox.package/SandboxContext.class/instance/doPrimitive.method.receiver.args..st
(Please let me know if you can reproduce this because my image contains a modified inlining implementation of #caseOf: - not sure whether I sent it to squeak-dev at any time.)

Thanks for this example :D
After fixing the bug you reported I stumbled upon the issue that our hack for inserting empty lines breaks with caseOf's transform. A proper fix would be to turn off transforms all together for our purposes, for now I settled for a hack.
The method still doesn't look great but that's mostly due to the comments being wrapped to new lines, which I would say is best described in this issue: https://github.com/tom95/poppy-print/issues/8


MRTK 2.7.3 Support

Do you know of any blockers for supporting 2.7.3? I can take a stab at it, but would love some guidance if it's already been attempted. Thanks!

I think SimpleWebXR is compatible with the new versions of MRTK. Just replace the dependencies here and let Unity update the packages:
https://github.com/Rufus31415/Simple-WebXR-Unity/blob/a9060413037d6b5dd985abba29ed17fcd51ff79d/SimpleWebXR-Demo/Packages/manifest.json#L13

Seems to be working well!


Can't get it to work on Windows (Cygwin, Babun, Fish shell)

Hi!
I'd love to run speedline on my CLI on Windows (not PowerShell). I'm running Cygwin via Babun and Fish Shell, though the problem persists on other Cygwin-based shells on my system, too (MSYS2, Bash, ZSH).
Sadly, the process fails to run under Cygwin/WIN currently. Here's the error message for the default command:

And there's another error when trying to run with the -pretty parameter. I don't know if those 2 errors are related. I've tried both relative & absolute paths to the timeline JSON.

Am I missing dependencies or is a lib under WIN behaving differently from OSX?
Thank you for your help!

Hey @technopagan,
For the first error, can you share the timeline file causing this error ? I will try to repro on my machine.
Concerning the second error, the cli accepts this format speedline <timeline path> [params]. You just have to put the --pretty at the end.

By the way, what version of node are you using?

Hi again!
Sorry for taking so long to reply! I've tried SpeedLine again now & got it to work. Since I'm using Chromium Nightly I assume my bug was caused by a quirk in the nightly build back then. Closing this issue now.


how to define RN50X64 config parameters?

I analysis the pretrained RN50X4 to obtain (4, 6, 10, 6) 80 , can you provide the RN50X64 config parameters?thanks

You can find those hyperparameters listed in the last page of the paper:


roadmap: configuration options

v1.1.5 adding the following configuration options:

toggle to create nullable properties
dropdown to select if collections should be created as array, list or ienumerable<>
toggle to output as record instead of class
toggle to write number as int over long

committed


how to add text input

how to add text input

this base does not have one. you gotta add your own.
hint: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-tounicode


Ionic 2 integration

Hi
Hiw can i integrate this with my existing ionic 2 project?
Thanks
sirfak

Hi Sirfak,
This project was meant to be used to demo the Amazon Cognito functionality in the browser. I haven't worked on making it work in ionic, but you'll have to change the 'views' and some of the 'routing' logic. Most of the code can stay the same -- that's the biggest advantage here.
Thanks,
Vladimir


Update README

@RicardoSilvestr could you update the README file that is outdated (not yet using the services versions)

@lpatiny I'm not sure about what you mean with this:
https://github.com/cheminfo/docker-pubchem/blob/d9fc4c118165a6769d1977022e9fe651e3b1da7d/pubchem/README.md#L8-L8


Add support for cloud_firestore 0.14.0+

cloud_firestore 0.14.0 introduced a lot of breaking changes, can cloud_firestore_mocks be updated to work with the latest firestore plugin?

I make Draft PR on my repo https://github.com/sensuikan1973/cloud_firestore_mocks/pull/4.
After https://github.com/atn832/cloud_firestore_mocks/pull/126 has merged, I send the PR.

Looks like a lot of work. Thank you @sensuikan1973 for taking the time to do it!

Any updates on the merge? I'v updated my codebase to support cloud_firestore 0.14.0 before i found this plugin and now i can't test it ~..~

Any updates on the merge? I'v updated my codebase to support cloud_firestore 0.14.0 before i found this plugin and now i can't test it ~..~

You can use the updated branch until it's merged https://github.com/sensuikan1973/cloud_firestore_mocks/tree/support_cloud_firesote_0.14.0

Any updates on the merge? I'v updated my codebase to support cloud_firestore 0.14.0 before i found this plugin and now i can't test it ~..~

You can use the updated branch until it's merged https://github.com/sensuikan1973/cloud_firestore_mocks/tree/support_cloud_firesote_0.14.0

oh, thank you 👍

@eliseyOzerov
probably,  you miss branch specification support_cloud_firesote_0.14.0

@sensuikan1973 alright, this seems to have done the trick, thank you!

Just published your PR at https://pub.dev/packages/cloud_firestore_mocks/changelog#050. Thank you!!


Release 0.3.1

Should we wait for #982 for a simplified API?

@arthurpaulino that would not be a patch release.


CUDA-Team: discuss binary distribution via Hydra or otherwise

Issue to track discussion and thoughts on binary distribution.
One potential way forward is continuing the petition to allow Hydra to build and cache unfree redistributables, which would allow redistributing CUDA-accelerated binaries.
There are also other ways forward -- custom binary caches, maintaining our own branch of Nixpkgs, and many others.
Let's hear your thoughts!

@SomeoneSerge you had good thoughts on maintaining our own cache and having a cuda-stable branch. Would you mind sharing those here?

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/cuda-team-roadmap-and-call-for-sponsors/29495/1

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/cuda-team-roadmap-update-2023-08-29/32379/1

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/community-calendar/18589/103

Since this has been linked from discourse, here are some additional references to the past discussions:

https://github.com/NixOS/nixpkgs/pull/76233
https://github.com/NVIDIA/build-system-archive-import-examples/issues/10

One more thing to note is that technically there's no reason not to cache the redist FODs, other than that it'd be weird to expose them in separate attributes just for hydra. They're explicitly redistributable and we don't patch their contents. Related: https://github.com/NixOS/nixpkgs/issues/106471


Consumer (Reactive)  add Mono support

add Consumer (Reactive) Each message generates a Mono.
When an error occurs in a single message, it can also be processed and entered into dlq correctly
public Function<Mono<?>, Mono<Void>>consumer() {
	return mono -> mono.map(..).filter(..).then();
}

I'm not a part of the team so I may be wrong, but from what I've understood I'd recommend not to use Reactive Spring Cloud Stream until the Reactor Kafka (or any other reactive source) will be released. I'd recommend in general to make sure that your source is reactive/async when you using Reactor. See this issue to track Reactor Kafka support in Spring Cloud Stream. https://github.com/spring-cloud/spring-cloud-stream/issues/2293

I do agree with @devlap2 . While we provide support for reactive API, it is just that - the API support, but no back pressure or other features that specifically ask for reactive support and as @devlap2  pointed out it is because our sources and targets are not reactive themselves. In other words behind the scene it is still a conventional MessageListener sending messages to a stream


Enter Full Screen menu line repeated

not really sure how to reproduce it, i just notice once in a while when i want to see the window list under the Window menu. maybe others have more details.

Sierra 10.12.6

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 10 2017 11:48:35)
MacOS X (unix) version
Included patches: 1-1175
Compiled by Homebrew

I have seen this issue on High Sierra 10.13.1 as well:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov  6 2017 02:39:16)
macOS version
Included patches: 1-1272
Compiled by<EMAIL_ADDRESS>

Same for me in OSX 10.13.1, @isaki-x and still seems to be broken in newer MacVim versions too 🙁 (see below for complete version and build info).
Does anyone have a version installed where this did not occur?  If so, perhaps we can use git's bisect to determine when this issue was first introduced, and thus the code responsible for it?
:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec  7 2017 11:42:48)
macOS version
Included patches: 1-1376
Compiled by Homebrew
Huge version with MacVim GUI.   I can't reproduce it

This happened to me relatively recently on 10.14.4 (I just recently upgraded to 10.14.5; I'll if I can make it happen again).

I have not been able to reproduce on 10.14.5 with MacVim 8.1.950 (155).

I just reproduced it.

@isaki You're lucky! Could you share any way to reproduce it all the time?

Actually, I just figured that out a few minutes ago when I noticed it again and realized I had just double opened a file a few times (I had a find command opening some files for me, some of which were already open). However, testing now, I've come up with an even simpler method.
I'm using gvim on the command line (which is just /Applications/MacVim.app/Contents/bin/gvim). Just do this:
gvim foo

Do not not quit it. It doesn't have to be a real file. Just every time you get the warning hit abort. The first time nothing bad happens. Do it again. And again. You will get (n - 1) Enter Full Screen entries where n is the number of aborts.

@isaki  Wow! this magic really works! I'll try to debug it!


Adding support for additional authentication options in client

Addresses #55

@delvedor I added support for the cli as well. TBH I haven't done a lot of CLI work. I attempted to add the parameters in a way that I thought made sense, but am definitely open to feedback on that portion of the implementation.  Thanks for the quick review!

@mcollina yes I can do that. I hadn't used proxyquire before but I saw it in there and feel like I can just follow the pattern for how ya'll are already using it 👍

@mcollina do the tests I've added target what you're after? (I'm sure it's been a busy few days with the OpenJS conference - I enjoyed your talk btw. )
If not, any feedback on how to improve their efficacy would be much appreciated.  Thanks!

Good for me... @delvedor wdyt?

@delvedor Please let me know if there's anything else you think this needs :)
Thanks!

Is there anything we're waiting on for this to be merged?

A review by @delvedor. I pinged him again, let's see otherwise we'll land in a few days.
Sorry for the update.


Cannot find citation

I used BCBio in a tool I have written up for publication. Is there a citation available I can use (perhaps specifically for BCBio-GFF)?

Eleni;
Congratulations on the paper submission. We're incredibly happy bcbio helped in your research. We don't have a formal citation for bcbio and generally just ask that you reference the website and version of code used. Hope this works for you.


Implement Debugger

Implement a debugger. A debugger should contain the following features:

Add and remove breakpoints
Next, step-in, step-out, and continue
"Variables"/register values
Stack trace
Exceptions (incorrect syntax, accessing fake memory, etc)

Debugger implemented in v1.1.0.


05/03/2018 22:28 : Create Pull Request for branch master -> prTesting1_2018050322

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix CanvasItem/Node3D editor plugin drag drop transform calculation

Fixes a regression from #86659/#88269 caused by using transform methods working only for orthonormal transforms.

Before(master)
After(this PR)

CC @MajorMcDoom

Thank you for catching this, it was my bad. I am new and assumed xform_inv wouldn't be orthonormal.

Thanks!


Run AssertJ best practices OpenRewrite recipe

Consistently use static imports for AssertJ, as a once of code change, through OpenRewrite.
mvn org.openrewrite.maven:rewrite-maven-plugin:4.36.0:run \
  -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-testing-frameworks:1.30.0 \
  -DactiveRecipes=org.openrewrite.java.testing.assertj.Assertj

Codecov Report

Merging #456 (956e730) into main (f04ee06) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #456      +/-   ##
============================================
- Coverage     93.00%   92.95%   -0.05%
+ Complexity     2096     2094       -2
============================================
  Files           233      233
  Lines          4374     4374
  Branches        449      449
============================================
- Hits           4068     4066       -2
- Misses          190      191       +1
- Partials        116      117       +1

Impacted Files
Coverage Δ

...ker/idnumbers/pt/br/IdNumberGeneratorPtBrUtil.java
92.59% <0.00%> (-3.71%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for this PR, much appreciated!

You're welcome; let me know if there's any other types of automated improvements you'd want me to take a look at.
Don't want to overwhelm you with review work if that's not the type of contribution you're looking for right now.

@timtebeeko thanks! There might be a thing, but it could be a tricky one : some of our assertions are pretty useless. They basically test that methods are returning something, and that's about it. Something slightly stricter might be nice. That might be hard to do with static code analysis, but open to suggestions!

Hmm yes closest thing I could find in OpenRewrite on that so far is TestsShouldIncludeAssertions, with some test examples in TestsShouldIncludeAssertionsTest. Not an exact match to what you're looking for, but open to suggestions on how to improve that one or write a new one.
An alternative in that space might be DiffBlue Cover. Fairly new (and pricey), but they have a free trial and might be able to help out for OSS projects. Ideally you'd pinpoint exact area's for improvement through mutation testing and see from there.


Bridged interface do not have a default value

en0 is grayed out there so I assume its placeholder 🤔Created using UTMbotQuestioner: mavethee#3754Moderator: osy#9440

Duplicate of #3945


Add Postgres implementation

One of the goals of this project is to allow users to choose their backend implementation. I think the first step in that direction would be to add an alternative implementation to LevelDB which might be a bit more user friendly for people to work with. My preference would be postgres.

Postgres would be very nice indeed! It's an amazing database.
What about using SQLAlchemy? It would then be compatible with SQLite, Postgresql, MySQL, Oracle, MS-SQL, Firebird, Sybase and others.

Closing due to focus on NEO3


Remove deprecated APIs

[x] Remove AsyncComponent
[x] Remove ArrayPort
[x] Remove Port
[x] Remove MapComponent helper
[x] Remove WirePattern legacy mode
[x] MultiError helper
[x] Remove InPort process callback
[x] Remove InPort handle callback
[x] Remove InPort receive method
[x] Remove InPort contains method
[x] Remove WirePattern async: false support
[x] Remove subgraph legacy ambiguous EXPORTS support

I looked over the removals in #555 - one comment there


Caching and static vs dynamic styles benchmarking

I'm the real world, depending on the use case, style objects may be "static" (defined outside of render, not dependent on props) or may be "dynamic" (created inside render, dependent on props).
With the current benchmark suite, everything is effectively static, to avoid object instantiation overhead within each benchmark, so only the actual
Conversion to CSS is benchmarked. However, this means a WeakMap cache can essentially "defeat" the benchmarks, if the purpose of the benchmark is to determine the performance for conversion to CSS for dynamic styles (or an initial render of a static style)
@threepointone had a good write up here: https://github.com/threepointone/glamor/blob/master/docs/weakmaps.md
So I think the benchmarks should be refactored to handle both cases, one where reference equality of style objects is maintained between render, and another where it is not. So we have separate benchmarks for "dynamic styles / initial render (static styles) " and "static styles (subsequent render)". We probably want a warm-up run for the subsequent render case so any caching will already exist.

To be fair, this benchmark doesn't actually measure initial render for dynamic styles either. And doesn't take stuff like SSR/rehydrating into account (despite running in a server, ha). And more :) I feel like this benchmark measures just one tiny bit of all the things that could contribute to perf. If you're planning on a refactor, do consider being more 'real world'. Plsthx!

@threepointone Yeah, client-side benchmarks are obviously needed and this has been discussed in the previous issue here: https://github.com/hellofresh/css-in-js-perf-tests/issues/18

I think the point of this benchmark should be to help users decide which library to use. Currently I don't think they can do this based on this perf tests.

Another point is probably help cssinjs authors compare their solutions and improve, but this isn't working either, we just try to outsmart the bench)


Phaser game engine

I am trying to use the phaser.io game engine together with the desktop app.
I am developing with brackets and there the LIVE preview works perfectly within my Chrome browser.
So i started the Phonegap App on my Samsung Galaxy to see if i could do "live mobile testing".
But the changes do not take effect.
Has anyone ever tried out if any one of those html5 game engines work with the phonegap desktop app?

Phaser should work fine with the developer app, be sure that you do no have some extra build process or something that is modifying files outside the www/ folder. That is the only thing I can think of ...
Are you still having this issue?


Short solution needed: "Rust lang dates and times" (rust)

Please help us write most modern and shortest code solution for this issue:
Rust lang dates and times (technology: rust)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to format date in Rust

How to get current date in Rust

Using now to get current time in Rust

How to format time in Rust

How to format datetime in Rust

How to get execution time in Rust

How to sleep in Rust

What type to use for datetime in Rust

How to convert datetime to timestamp in Rust

How to convert timestamp to datetime in Rust

How to add day to date in Rust

How to add second to time in Rust

How to get time from milliseconds in Rust


g++: internal compiler error: Killed (program cc1plus)

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Makefile:9622: recipe for target 'wallet/libbitcoin_wallet_a-rpcwallet.o' failed
make[2]: *** [wallet/libbitcoin_wallet_a-rpcwallet.o] Error 4
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/wallets/qtum/src'
Makefile:13422: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/wallets/qtum/src'
Makefile:693: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Can't build any qtum wallet. After wasting my time for days now trying to build first the electrum and now the full wallet without any success.
Ubuntu 16.04 LTS
I've built 10+ wallet from various project and never had such a bad experience...

These are the instructions i followed:
`This is a quick start script for compiling Qtum on  Ubuntu
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake libboost-all-dev
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
If you want to build the Qt GUI:
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
git clone https://github.com/qtumproject/qtum --recursive
cd qtum
Note autogen will prompt to install some more dependencies if needed
./autogen.sh
./configure
make -j2`

Make sure you have enough RAM. At least 1.5G of RAM and/or swap is required per compiler thread.


Docker GCP deployment #23 failed

https://github.com/ai-cfia/membrane-backend/actions/runs/6398255414/job/17368035203
Please update the env variables on GitHub and GCP as first step to debug this.

Fixed GCP env variables updated


fix /app permissions

This should fix the docker permissions bugs that appears when updating:
lancommander  | Unhandled exception. System.UnauthorizedAccessException: Access to the path '/app/LANCommander/LANCommander.AutoUpdater' is denied.
lancommander  |  ---> System.IO.IOException: Permission denied
lancommander  |    --- End of inner exception stack trace ---
lancommander  |    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
lancommander  |    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
lancommander  |    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
lancommander  |    at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
lancommander  |    at System.IO.FileSystem.LinkOrCopyFile(String sourceFullPath, String destFullPath)
lancommander  |    at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
lancommander  |    at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
lancommander  |    at LANCommander.Server.Program.Main(String[] args) in D:\a\LANCommander\LANCommander\LANCommander.Server\Program.cs:line 341
lancommander  |    at LANCommander.Server.Program.Main(String[] args) in D:\a\LANCommander\LANCommander\LANCommander.Server\Program.cs:line 368
lancommander  |    at LANCommander.Server.Program.<Main>(String[] args)
lancommander  | warn: Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50]
lancommander  |       Using an in-memory repository. Keys will not be persisted to storage.
lancommander  | warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[59]
lancommander  |       Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
lancommander  | warn: Microsoft.EntityFrameworkCore.Model.Validation[10625]
lancommander  |       The foreign key property 'ServerConsole.ServerId1' was created in shadow state because a conflicting property with the simple name 'ServerId' exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type. See https://aka.ms/efcore-relationships for information on mapping relationships in EF Core.
lancommander  | warn: Microsoft.EntityFrameworkCore.Model.Validation[10625]
lancommander  |       The foreign key property 'ServerHttpPath.ServerId1' was created in shadow state because a conflicting property with the simple name 'ServerId' exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type. See https://aka.ms/efcore-relationships for information on mapping relationships in EF Core.
lancommander  | info: Microsoft.EntityFrameworkCore.Database.Command[20101]
lancommander  |       Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
lancommander  |       SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';
lancommander  | info: Microsoft.EntityFrameworkCore.Database.Command[20101]
lancommander  |       Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
lancommander  |       SELECT "MigrationId", "ProductVersion"
lancommander  |       FROM "__EFMigrationsHistory"
lancommander  |       ORDER BY "MigrationId";
lancommander  | Unhandled exception. System.UnauthorizedAccessException: Access to the path '/app/LANCommander/LANCommander.AutoUpdater' is denied.
lancommander  |  ---> System.IO.IOException: Permission denied
lancommander  |    --- End of inner exception stack trace ---
lancommander  |    at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
lancommander  |    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
lancommander  |    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
lancommander  |    at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
lancommander  |    at System.IO.FileSystem.LinkOrCopyFile(String sourceFullPath, String destFullPath)
lancommander  |    at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
lancommander  |    at System.IO.File.Move(String sourceFileName, String destFileName, Boolean overwrite)
lancommander  |    at LANCommander.Server.Program.Main(String[] args) in D:\a\LANCommander\LANCommander\LANCommander.Server\Program.cs:line 341
lancommander  |    at LANCommander.Server.Program.Main(String[] args) in D:\a\LANCommander\LANCommander\LANCommander.Server\Program.cs:line 368
lancommander  |    at LANCommander.Server.Program.<Main>(String[] args)

As a temporary measure, we could have the Dockerfile delete the autoupdater. I'll have to think longer term, maybe add a setting to disable autoupdates and then add it to the default settings.yml for Docker.

I think that disabling the auto-updater for the docker build is the best option. Auto-updates inside the container doesn't really follow the standard docker methodology, so I like the idea of adding a setting to settings.yml


Access parsed route parameters in getInitialProps

It would be very useful to be able to access the parsed route params in getInitialProps to load a particular resource using the url params as identifiers.
For example, when navigating to /users/:name:
export default class App extends React.Component {
  static async getInitialProps({ params }) {
    const user = await fetchUserByName(params.name)
    return { user }
  }
  // ...
}

I couldn't find a way to do this without parsing req.url manually.

Yes, this should definitely be an option
I'll likely add it while doing #13

Awesome! I'm really loving Rogue so far, I'm still fairly new to the React world, and this sure make it a pleasure to work with. Keep up the great work!

Added in<EMAIL_ADDRESS>here are docs https://github.com/alidcastano/rogue.js/tree/master/packages/rogue-app#getinitialprops-ctx--data--void