no command 'setup'

Hi,
just started with weppy (0.6 with python 3.5 in virtualenv).
When I copy the complete "bloggy.py"-example and start with 'weppy --app bloggy.py setup'
I get "Error: no command 'setup'".

Hi @tjtimer,
just checked with python 3.5 and I don't get any errors. Are you running the command inside the bloggy folder? What's the output of weppy -a bloggy.py --help ?

Hey my output looks like this:
$ weppy -a bloggy.py --help
Usage: weppy [OPTIONS] COMMAND [ARGS]...
Options:
-a, --app TEXT  The application to run
--help          Show this message and exit.
Commands:
migrations  Runs migration operations.
run         Runs a development server.
shell       Runs a shell in the app context.

Hey my output from "weppy -a bloggy.py --help" looks like this:
Usage: weppy [OPTIONS] COMMAND [ARGS]...
Options:
-a, --app TEXT The application to run
--help Show this message and exit.
Commands:
migrations Runs migration operations.
run Runs a development server.
shell Runs a shell in the app context.
running "weppy -a bloggy.py setup" or "weppy --app bloggy.py setup" looks like this:
Usage: weppy [OPTIONS] COMMAND [ARGS]...
Error: No such command "setup".

running "weppy -a bloggy.py run" the output looks like this:
Traceback (most recent call last):
File "/var/www/virts/tjtimer/bin/weppy", line 9, in
load_entry_point('weppy==0.6', 'console_scripts', 'weppy')()
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/cli.py", line 358, in main
cli.main(args=args, prog_name=name)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/cli.py", line 209, in main
return click.Group.main(self, *args, **kwargs)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/cli.py", line 222, in run_command
app = info.load_app()
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/cli.py", line 136, in load_app
a = locate_app(self.app_import_path)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/cli.py", line 98, in locate_app
module, mod, app_obj = get_app_module(app_id)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/cli.py", line 91, in get_app_module
import(module)
File "/var/www/tjs_weppy_app/bloggy.py", line 60, in
auth = Auth(app, db, usermodel=User)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/tools/auth/engine.py", line 107, in init
self.define_models()
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/tools/auth/engine.py", line 277, in define_models
models.event
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/weppy/dal/base.py", line 269, in define_models
obj.tablename, *obj.fields, **args
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/pydal/base.py", line 834, in define_table
table = self.lazy_define_table(tablename,*fields,**args)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/pydal/base.py", line 873, in lazy_define_table
polymodel=polymodel)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/pydal/adapters/base.py", line 482, in create_table
self.create_sequence_and_triggers(query, table)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/pydal/adapters/postgres.py", line 94, in create_sequence_and_triggers
self.execute(query)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/pydal/adapters/postgres.py", line 360, in execute
return BaseAdapter.execute(self, *a, **b)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/pydal/adapters/base.py", line 1385, in execute
return self.log_execute(*a, **b)
File "/var/www/virts/tjtimer/lib/python3.5/site-packages/pydal/adapters/base.py", line 1379, in log_execute
ret = self.get_cursor().execute(command, *a[1:], **b)
psycopg2.ProgrammingError: syntax error at or near "user"
LINE 5:     user INTEGER REFERENCES users (id) ON DELETE CASCADE  ,
^
thanks in advance
Tim

Hi @tjtimer,
seems that the problem is related to the reserved name for the user column with PostgreSQL.
I'm gonna investigate this but seems related to the pydal library that is not escaping column names on table creation.
Will update you soon.

Hi @tjtimer, this is due to pydal default not quoting the column names of the tables. I will propose an update in order to change this behavior.
In the meantime, the temporary fix is to initialize the DAL instance with the entity_quoting parameter set to True:
db = DAL(app, entity_quoting=True)

I'm also going to change the title of the issue to better identify the bug.

This is fixed on the current master and will be released with 0.7


Desktop view

I notice the routes are start from /mobile, how to enable desktop view?

ezBookkeeping reserves the adaptation of the desktop ui, but it has not been developed


worst_frame_rasterizer_time_millis regressed into out-of-budget

https://github.com/flutter/engine/pull/7688, which rolled the skia commits below, improved flutter_gallery__transition_perf average_frame_rasterizer_time_millis, which is great, but regressed tiles_scroll_perf__timeline_summary worst_frame_rasterizer_time_millis significantly, pushing the worst frame from in-budget to out-of-budget.

2019-02-04<EMAIL_ADDRESS>Add support for MSVC run-time checks (and control flow guard)
2019-02-04<EMAIL_ADDRESS>Roll recipe dependencies (trivial).
2019-02-04<EMAIL_ADDRESS>SkPDF to use aliased em bounds.
2019-02-04<EMAIL_ADDRESS>Roll third_party/externals/swiftshader 3f5a479280cc..612345523a8d (2 commits)
2019-02-04<EMAIL_ADDRESS>templatize drawString
2019-02-04<EMAIL_ADDRESS>Minor clean ups to vulkan hardware buffer test.
2019-02-04<EMAIL_ADDRESS>Move GrContextOptions to GrContext_Base and make GrContextThreadSafeProxy be derived from GrContext_Base
2019-02-04<EMAIL_ADDRESS>remove metadata from canvas
2019-01-31<EMAIL_ADDRESS>Benchmark for charToGlyph

Bisected this.  Looks like it's related to a change in raster cache policy (https://github.com/flutter/engine/commit/2f18c32862bc7a9092850c43a21c5282a95edf00)

https://github.com/flutter/engine/pull/7701 will be merged and rolled into framework in a single-commit engine roll once our current engine roll clears.

I've confirmed that https://github.com/flutter/flutter/pull/27522 (https://github.com/flutter/engine/commit/2f18c32862bc7a9092850c43a21c5282a95edf00) is the culprit.
However, it seems that when flutter framework tries to download the engine artifacts for https://github.com/flutter/flutter/pull/27521 (with engine version fde59006da24), it actually downloads artifacts of engine version at least 2f18c3286. That's why all the performance benchmarks (tiles_scroll, complex_layout_scroll, flutter_gallery_transition_perf) start to change on https://github.com/flutter/flutter/pull/27521 instead of https://github.com/flutter/flutter/pull/27522
I did some experiments locally. Directly running flutter drive --profile -t ... without specifying --local-engine has a very different result than running flutter drive --profile --local-engine=android_profile -t ... even if the local engine version fde59006da24 matches bin/internal/engine.version fde59006da24.

fix landed in framework in https://github.com/flutter/flutter/pull/27614


Cleanup

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[n/a] I have added the required tests to prove the fix/feature I am adding

[n/a] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

Pull Request Description
I just enabled CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER in one of our projects and got some warnings from Lumberjack. This PR gets rid of them.
Also, it fixes an Xcode 10.2 warning about development region not being in the right format.

@diederich Should we enable this warning (CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER) also for this project to catch such errors sooner?

@ffried

Should we enable this warning (CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER) also for this project to catch such errors sooner?

Oh, yeah, good call. Let me try...

@ffried Yep, excellent call. Found a few more with that enabled :-)

          3 Warnings

:warning:
Any changes to library code should be reflected in the CHANGELOG. Please consider adding a note there about your change.

:warning:
The library files were changed, but the tests remained unmodified. Consider updating or adding to the tests to match the library changes.

:warning:
The Carthage project was modified but CocoaPods podspec wasn’t. Did you forget to update the podspec?

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #1059 into master will decrease coverage by 0.59%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1059     +/-   ##
=========================================
- Coverage   39.47%   38.87%   -0.6%
=========================================
  Files          27       27
  Lines        4018     4018
=========================================
- Hits         1586     1562     -24
- Misses       2432     2456     +24

Impacted Files
Coverage Δ

Classes/DDLog.h
88.23% <ø> (ø)
:arrow_up:

Classes/Extensions/DDFileLogger+Buffering.m
79.16% <ø> (ø)
:arrow_up:

Classes/DDTTYLogger.h
0% <ø> (ø)
:arrow_up:

Classes/Extensions/DDDispatchQueueLogFormatter.h
0% <ø> (ø)
:arrow_up:

Classes/DDFileLogger.h
83.33% <ø> (ø)
:arrow_up:

Classes/DDASLLogger.m
13.46% <0%> (-42.31%)
:arrow_down:

Classes/DDOSLogger.m
57.69% <0%> (-3.85%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c64566...e378563. Read the comment docs.

@diederich Looks good, thanks! One small thing: Can you update the CHANGELOG with a point in the internal section mentioning your change?


NTP_SOCKET is not initialized

Hi,
I found a little problem.
In sntp.c, NTP_SOCKET should be initialized in SNTP_init, but there is no operation.

Hi.
Thank you for your attention.
I will investigate this issue.

Please refer to commit 0cabf53 and NTP example project.
https://github.com/Wiznet/SNTP_LPC11E36_LPCXpresso


Tweak Brave description and links

I have edited the description of Brave a little, and also removed the link to this blog post, as it only gives one side of the controversies, and it frankly seems more like an opinionated rant than an actual discussion. I have replaced it with the Controversies section of the Brave Wikipedia page, which has a much better and more professional position on it.

I removed the link for the blog post and added the wikipedia controversies link. I don't want to change the "Controversial option" text as it is what it is, users may do their research and decide.

I removed the link for the blog post and added the wikipedia controversies link. I don't want to change the "Controversial option" text as it is what it is, users may do their research and decide.

I did leave the controversial option part, I just added on that it has some good features as a browser


⚠ Bofrost.fr has degraded performance

In 7da030b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 896 ms

Resolved: Bofrost.fr performance has improved in c205a27 after 6 minutes.


CONNECT_REFERENCE_COUNTED requires two disconnects for a single connect

https://github.com/godotengine/godot/blob/2cbc0b641a0d58a88592d52d86634ca2d40da9e4/core/object/object.cpp#L1368
The simple fix is to change slot->reference_count >= 0 to slot->reference_count > 0, except then if the first connection does not use CONNECT_REFERENCE_COUNTED and then a second connection does (this does not currently error), then you would need only a single disconnect despite connect having been called two times.

@chess123mate Which Godot version did you experience this bug with?
Also, please upload a minimal reproduction project to make this easier to troubleshoot.

@chess123mate Which Godot version did you experience this bug with?
Also, please upload a minimal reproduction project to make this easier to troubleshoot.

Version: Godot Engine v3.2.3.stable.official
The project I was experimenting with when I discovered this bug (it is fairly minimal): Connect.zip

Version: Godot Engine v3.2.3.stable.official
The project I was experimenting with when I discovered this bug (it is fairly minimal): Connect.zip

Can reproduce on 3.2.3 too:
extends Node2D

onready var _timer = $Timer

func _ready() -> void:
	_timer.connect("timeout", self, "_on_timeout", [], CONNECT_REFERENCE_COUNTED)
	_timer.connect("timeout", self, "_on_timeout", [], CONNECT_REFERENCE_COUNTED)
	_timer.connect("timeout", self, "_on_timeout", [], CONNECT_REFERENCE_COUNTED)
	_timer.disconnect("timeout", self, "_on_timeout")
	_timer.disconnect("timeout", self, "_on_timeout")
	_timer.disconnect("timeout", self, "_on_timeout")
#	_timer.disconnect("timeout", self, "_on_timeout") # Uncomment to prevent calling _on_timeout

func _on_timeout() -> void:
	print("Called!")


Add more generic benchmarks

Codecov Report

Merging #15 (c0c8fcf) into master (b5349b1) will increase coverage by 2.93%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   62.66%   65.59%   +2.93%
==========================================
  Files          14       14
  Lines        1058     1058
==========================================
+ Hits          663      694      +31
+ Misses        354      323      -31
  Partials       41       41

Flag
Coverage Δ

unittests
65.59% <ø> (+2.93%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sharded_map_go1.18.go
59.45% <0.00%> (+20.94%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5349b1...c0c8fcf. Read the comment docs.


Engineering CRS: add Coordinate System, Base CRS, Operation

Coordinate system: link to either Cartesian or Spherical coordinate system
Operation: link to either Conversion or Transformation
Base CRS: link to either Geodetic, Engineering, or Vertical

Engineering CRS now uses the same data type and edit view as all non-compound CRS classes, and therefore has the coordinate system, CRS, and operation fields.


Reactive system panicking at already borrowed: BorrowMutError

I am working on a repro, but just wanted to raise the issue.
Here is a backtrace:
panicked at 'already borrowed: BorrowMutError', C:\Users\jose2\.cargo\git\checkouts\leptos-852582868f14a87e\21d7346\leptos_reactive\src\signal.rs:726:32

Stack:

Error
    at http://localhost:5173/src/wasm/wasm.js:428:21
    at logError (http://localhost:5173/src/wasm/wasm.js:237:18)
    at imports.wbg.__wbg_new_abda76e883ba8a5f (http://localhost:5173/src/wasm/wasm.js:427:66)
    at console_error_panic_hook::Error::new::hca9359d70b7a65b0 (http://localhost:5173/src/wasm/wasm_bg.wasm:wasm-function[7886]:0x2525df)
    at console_error_panic_hook::hook_impl::hd6342f4a1d3ee1fa (http://localhost:5173/src/wasm/wasm_bg.wasm:wasm-function[1491]:0x151490)
    at console_error_panic_hook::hook::h5583c33e69aaa70c (http://localhost:5173/src/wasm/wasm_bg.wasm:wasm-function[8484]:0x25aaca)
    at core::ops::function::Fn::call::h4709acb035a3f1ae (http://localhost:5173/src/wasm/wasm_bg.wasm:wasm-function[7565]:0x24d60d)
    at std::panicking::rust_panic_with_hook::h3534cfedda92faa6 (http://localhost:5173/src/wasm/wasm_bg.wasm:wasm-function[3320]:0x1d0181)
    at std::panicking::begin_panic_handler::{{closure}}::h0b26f08fa80310e7 (http://localhost:5173/src/wasm/wasm_bg.wasm:wasm-function[4244]:0x1fa6ba)
    at std::sys_common::backtrace::__rust_end_short_backtrace::hbf7b83761deb4f3e (http://localhost:5173/src/wasm/wasm_bg.wasm:wasm-function[9085]:0x2624d1)

Uncaught (in promise) RuntimeError: unreachable
    at __rust_start_panic (wasm_bg.wasm:0x26966c)
    at rust_panic (wasm_bg.wasm:0x264e18)
    at std::panicking::rust_panic_with_hook::h3534cfedda92faa6 (wasm_bg.wasm:0x1d01ac)
    at std::panicking::begin_panic_handler::{{closure}}::h0b26f08fa80310e7 (wasm_bg.wasm:0x1fa6ba)
    at std::sys_common::backtrace::__rust_end_short_backtrace::hbf7b83761deb4f3e (wasm_bg.wasm:0x2624d1)
    at rust_begin_unwind (wasm_bg.wasm:0x23a916)
    at core::panicking::panic_fmt::h855c11889f2fb721 (wasm_bg.wasm:0x25989d)
    at core::result::unwrap_failed::ha83ac9268ec678d9 (wasm_bg.wasm:0x212ae5)
    at core::cell::RefCell<T>::borrow_mut::h38eb0755cd71904b (wasm_bg.wasm:0x198361)
    at leptos_reactive::signal::SignalId::update::h68bb1fd62dd948e3 (wasm_bg.wasm:0x3a8e7)

Hee it is @gbj
use leptos::*;
use leptos_router::*;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(start)]
pub fn start() {
  console_error_panic_hook::set_once();

  mount_to_body(view_fn);
}

fn view_fn(cx: Scope) -> impl Mountable {
  provide_context(cx, RouterIntegrationContext::new(BrowserIntegration {}));

  view! { cx,

      <Router>
          // <-- won't compile whithout these
          <Routes>
            <Route path="/" element=|cx| view! { cx, <Home /> } />
            <Route path="/found-another" element=|cx| view! { cx,
"bug!"
 } />
          </Routes>
         // <-- won't compile whithout these
      </Router>

  }
}

#[component]
fn Home(cx: Scope) -> Element {
  use_navigate(cx)("/found-another", Default::default()).unwrap();

  view! { cx,

"/"

  }
}

Thanks. To be clear, if you remove that uae_navigate does it still panic?

The workaround I am currently using is to just schedule the navigation in the next microtask using wasm_bindgen_futures::spawn_local, which runs after whatever was borrowed releases the lock.

The use_navigate() does not panic, but calling the fn it returns does.

Thanks. This is the kind of thing the reactive system doesn't like: rendering the app requires reactively reading the current route, which synchronously renders the component, which updates the current route... such that you're mutating the value of the route signal within an effect that depends on the route signal.
I've basically moved your solution into the library, here, using queue_microtask rather than spawn_local for any navigation.

Is this something that should potentially have a disclaimer for authors creating primitive utilities using leptos_reactive? Or is this a situation that the average user might find themselves in while using signals and effects?
I personally ran into it out of trying to create a Redirect component which redirects the user elsewhere if the component renders, which currently does not exist in the leptos_router crate. All other uses of signals and effects I've used haven't triggered this panic yet.

Yeah you know it's actually going to take a more general solution: I actually ran into the same thing in the TodoMVC example this morning. It's pretty easy to accidentally create these loops. I'll try to solve it without the user land/library land hack.

Hi, I just ran into this today, on 0.3.1. Is it supposed to be fixed or is a solution still in the works?

@nguiard The reactive system has been almost completely rewritten since this issue. I'm quite sure the panic in your case was caused by something completely different from this old issue. Could you please open a new issue with a reproduction? Otherwise it won't be possible to help you.

I wasn't specific enough, my bad. You are correct, the issue was caused by something completely different. I'll open an issue to describe it a bit and try to make a minimal reproduction. Thanks.


Welcome to BBK Demos page

We needs a welcome page from the demo site, which tells people what is going on and points to the main bit-broker.io site. It needs to look engaging and simple.

We now have these pages in place


Question: How does the Import modify existing settings?

Here https://github.com/Trivadis/plsql-formatter-settings the import of the settings is described.
What I'm missing (what I should had asked before..) - what happens to the existing settings for "advanced Format" and Arbori? Are they replaced / merged / saved automatically / should  they be saved manualy ??

When you import the settings the existing settings are overwritten (replaced). However, you can restore the factory settings by clicking on the "Reset" button as shown in this screenshot.

Well, it's documented with this issue.


grpc-jenkins spams admin verification query

Can be seen at #5756

Closing,. unlikely to fall into our radar anytime soon because of low priority.


فتح

import zipfile
Made By LoopGpt
def crack_zip_password(zipfile_path, password):
    try:
        with zipfile.ZipFile(zipfile_path) as zip_ref:
            zip_ref.extractall(pwd=password.encode())
            return True
    except Exception as e:
        print(e)
        return False
zipfile_path = input("Please enter the path to the zip file: ")
password_list = input("Please enter the password list: ")
with open(password_list, 'r') as file:
    passwords = file.readlines()
passwords = [password.strip() for password in passwords]
for password in passwords:
    if crack_zip_password(zipfile_path, password):
        print(f"Password successfully cracked.


Allow registration of Upcasters on all components that do serialization of messages

Not only the Event Store suffers from storing message data that has been modified. In environments where multiple versions of an application run concurrently, it is also possible that components like a distributed command bus or a query bus need to upcast messages.
Therefore, all components that deal with serialized messages (regardless of their type) should provide support for upcasters.

For commands and maybe queries, where there's bidirectional communication with an originating node, I think downcasting is also needed for the case where new code sends to old code. The lack of it makes evolving commands a bit of a tricky process sometimes.
Maybe something like: For two message versions X < Y, if the receiver doesn't know how to handle an incoming message of version Y, it should be able to reject the message and tell the sender to downcast to version X and try again. If the sender has no downcaster chain that can reach version X, it's treated as a dispatch failure.

The desire of this issue will be greatly impacted by the choices made in #3102.
Hence, be sure to check referred to issue when picking up this issue.


Search a specific video using Mopidy Iris

Hello,
Thanks for your excellent work.
There is a way in Mopidy Iris to search for a specific Youtube video like this:
yt:http://www.youtube.com/watch?v=Njpw2PVb1c0
Kind regards,
Leandro

Hi @lealoureiro - did you work this out? I'm not familiar with the it is frontend, but the search functionality of mopidy-youtube is pretty basic, so maybe not. Have you tried ```"Njpw2PVb1c0

I'm having some issues with the search too. Tried with iris, mpc and ncmpcpp. Nothing is found. when i use yt:youtube url
Does the mopidy-youtube support searching youtube videos using video title names?
Searching stuff only writes mopidy[10092]: INFO     [YouTubeBackend-3] mopidy_youtube youtube LibraryProvider.search "{'uri': ['my test']}" in to the log.

Hello!
Yes I'm manage to find it. In fact is not when you searching but you when you add uri to "Now Playing" queue.
I would like to have the same but for SoundCloud.
Thanks!

Thanks @lealoureiro.  @roitto does that help you?


Switch from GPL3 to MIT license

As this is a client api, the MIT (or similar) license is more relevant than GPL3.
gostint itself will remain GPL3.

https://github.com/goethite/gostint-client/pull/16


pprof: allow grabbing a "super" profile for all profiles

If I'm debugging a performance issue, it'd be convenient to grab every kind of profile I can instead of manually trying CPU, memory, block, tracing etc.

This sounds useful, but in practice you just end up profiling the runtime
profiling code rather than your code under test.
On 23 September 2018 at 11:13, Anmol Sethi<EMAIL_ADDRESS>wrote:

If I'm debugging a performance issue, it'd be convenient to grab every
kind of profile I can instead of manually trying CPU, memory, block,
tracing etc.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/27819, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA1htFy8qvN9oh9DySDTr8zRYt3wJks5uduBJgaJpZM4W1gpf
.

Some of the profiles interfere with each other (for example, tracing will add a lot of noise to your cpu profile). It's better to run profile separately if we want the profile to be useful for optimization.

@nhooyr thank you for raising this issue. As several people have noted, collecting multiple profiles at once is not a good idea. As such, we're unlikely to add an API to do this as it would only lead to confusing results.


Change compiler according to the advicess andrei's philosophers corrector gave him

Change compiler in your Makefile from clang to cc because clang usually is just an alias and can cause issues

Thanks for your input Alec, we're going to change it this instant. You really saved us a lot of trouble down the line.
If you need any help don't hesitate to ask!


Start angle defaults to 90

It seems than the startAngle defaults to 90 degrees, and you have to set startAngle = -90 to move it to 0.

It's actually zero by normal circle coordinate system: https://www.mathsisfun.com/geometry/degrees.html
However, it's vertically mirrored due to calculation specifics.


Integrate rancher-turtles with sigstore policy-controller

This project will allow us to check that the controllers are using verified image tags from our build pipelines, and prevent installation of unverified workloads in the cluster.
https://github.com/sigstore/policy-controller

[ ] Ensure the installed operator passes the admission process

Optional:

[ ] Implement e2e scenario displaying the workflow functionality

Closing it for now


ability to focus webview

I'm trying to embed an editor inside a webview, but clicking on the webview itself does not seem to focus it (so that the keyboard can open and user can edit). Is it possible to focus the webview?
note: editing inside webview works on the simulator (where I can type via desktop keyboard).

I might look for something similar... on iPhone I need to tap the WebView first to gain focus and only the second tap is actually triggering a tap in the WebView. Though on iPad the very first tap is handled by the WebView.

This would be such an enormous deal for usability, I can't overstate it. Webviews are often used to wrap editors and if you can't focus the Webview for the user things just feel terrible.

We would love someone to take the initiative on this and make a PR! ❤

We need this feature too.

There's a pull request in progress now for this, #540. Help testing it would be amazing @Wilson-Lim, @Slapbox , @jaulz, @alidcastano ! Thanks to @ericlewis

Unfortunately I can't test this (using Expo still at the moment) but thanks so much to @ericlewis for the PR to @jamonholmgren for keeping on top of everything!

@ericlewis @jamonholmgren thanks! I'm not an expert in Objective C so please excuse my question but would this piece of code also be reusable for a focus method on the WebView?

Do you mean UIWebView? Technically, you should only need to expose this already existing prop. If you mean androids webview, then no it’s not reusable there.
Sent via Superhuman iOS<EMAIL_ADDRESS>)
On Mon, Apr 29 2019 at 2:53 AM, <<EMAIL_ADDRESS>> wrote:

@ericlewis ( https://github.com/ericlewis ) @jamonholmgren (
https://github.com/jamonholmgren ) thanks! I'm not an expert in Objective C
so please excuse my question but would this piece of code also be reusable
for a focus method on the WebView?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
https://github.com/react-native-community/react-native-webview/issues/278#issuecomment-487468723
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AAFEVR5D4RM42GABUJHN4QDPS2LQBANCNFSM4GSPC7HA
).

@jaulz or do you mean a method you can call to “focus” the webview? There is no method to call in this case (I’m not sure how that would work either) what this allows is for the javascript in the webview to call focus on a text element and the keyboard will display without user interaction. This isn’t enabled by default on iOS.

@ericlewis - I can programatically focus within a Webview as is, but that's not enough to get the keyboard to appear unless the user has already focused the Webview itself. Both the Webview AND a text editable element on the page must be focused for the keyboard to show. Once a Webview has been focused once, focusing an inner element seems to be enough to show the keyboard.
All of that is the case for Android at least.

Gotcha. Yeah, on iOS this allows the User to skip the step of needing to focus (tap) the WebView. I will see if I can get this to work on droid too.
Sent via Superhuman<EMAIL_ADDRESS>)
On Mon, Apr 29, 2019 at 12:59 PM, Slapbox <<EMAIL_ADDRESS>> wrote:

@ ericlewis ( https://github.com/ericlewis ) - I can programatically focus
within a Webview as is, but that's not enough to get the keyboard to appear
unless the user has already focused the Webview itself. Both the Webview
AND a text editable element on the page must be focused for the keyboard
to show. Once a Webview has been focused once, focusing an inner element
seems to be enough to show the keyboard.
All of that is the case for Android at least.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
https://github.com/react-native-community/react-native-webview/issues/278#issuecomment-487659889
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AAFEVR4KYIAJJZVOFD265V3PS4SNRANCNFSM4GSPC7HA
).

I assume #540 solves your problem, @alidcastano ? If so, we can close this.

@jamonholmgren #540 doesn't yet resolve the problem in my view.

i, unfortunately, haven't had a chance to check but will go ahead and close this issue - thanks @amonholmgren (and @ericlewis!)

@Slapbox if you want to open an android specific issue- go ahead! #540 was iOS only.

Just asking here in case a miracle is possible.
Is there any way to automatically focus on an input field inside iframe?
I don't control the iframe as it's the bank credit card iframe.

You could inject your own JavaScript that looks for the ID or class of the desired input then have it focus once DOM is ready. Use the injectedJavascript prop.
Sent via Superhuman iOS<EMAIL_ADDRESS>)
On Sun, May 26 2019 at 4:21 PM, <<EMAIL_ADDRESS>> wrote:

Just asking here in case a miracle is possible.
Is there any way to automatically focus on an input field inside iframe?
I don't control the iframe as it's the bank credit card iframe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
https://github.com/react-native-community/react-native-webview/issues/278?email_source=notifications&email_token=AAFEVR4THQUB4CMWCZFEMG3PXLWOPA5CNFSM4GSPC7HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWIMYHI#issuecomment-496028701
) , or mute the thread (
https://github.com/notifications/unsubscribe-auth/AAFEVR6VY3VOZS546RUCLYTPXLWOPANCNFSM4GSPC7HA
).

Is there any way this could prop could be implemented on android? If not, how can I programmatically show they keyboard when an input has focus in the webview? I tried this.webView.requestFocus() but this is not working.

There's no way to programmatically focus the webview on Android. I think this feature is desperately needed.

Focus still not working in android

I advise everybody to move this discussion over to #1172
Indeed, focusing is still not implemented on Android - so this really shouldn't have been closed - but it is.


Fix Eslint github action

Describe the bug
The Github actions are failing... maybe the plugin is old?
To Reproduce
Steps to reproduce the behavior:

Go to the PRs
Click on a PR
Scroll down to the checks and see the failed check
See an error on hallee/eslint https://github.com/WWCodeTokyo/speak-her-db/actions/runs/3214168172/jobs/5254367000

Expected behavior
Eslint check should run
Screenshots

hallee/eslint is deprecated in favor of https://github.com/actions/toolkit/blob/master/docs/problem-matchers.md

I removed hallee/eslint but still see a failed eslint check. Is this some netlify thing? I can't figure out how to turn it off

@ann-kilzer should we close this issue or do you still want to use eslint at some point?


Added Python3 compatibility

Very few errors. Fixes #214

Hmm I could've sworn there were more incompatibilities. I'll look into this and get back to you.

~/Repositories/CTFd master
(ctfd) ❯ python3 serve.py
Traceback (most recent call last):
  File "serve.py", line 1, in <module>
    from CTFd import create_app
  File "/Users/kchung/Repositories/CTFd/CTFd/__init__.py", line 10, in <module>
    from utils import get_config, set_config, cache, migrate, migrate_upgrade
ModuleNotFoundError: No module named 'utils'

I think there are more issues than just some parens unfortunately.

I fixed the rest of the issues. Should be much better.
Thanks!

Sorry, should've been more clear. I didn't actually run it (helpful right?); just looked for the basics (print, except as, encodings, etc.) Your fixes look good!

😄


Support AVM7 and onward

This issue will maintain a catch-all list for the opcodes not-yet-supported by the semantics.
Reference implementation and tests
The reference implementation of the opcodes can be looked up in https://github.com/algorand/go-algorand/blob/master/data/transactions/logic/opcodes.go
Another point of reference is https://github.com/algorand/go-algorand/blob/master/data/transactions/logic/assembler_test.go --- the assembler tests

See frame pointers (AVM7?): https://github.com/algorand/go-algorand/issues/4304
Box storage (AVM8): https://github.com/algorand/go-algorand/issues/3890

See also the PyTeal support PR: https://github.com/algorand/pyteal/issues/300

I looked into the built-in support for JSON parsing in K, relevant to the json_ref opcode that was added in version 7. It seems fairly limited for our use case. We have 2 functions, JSON2String and String2JSON, which convert to/from strings and JSON K objects (structured representation). These are both implemented as C++ hooks. This means that I'm not sure if there is any way to effectively use it with the Haskell backend, since if there is a JSON string on the stack (bytes type), and we try to convert it to a string and then to a JSON object, we are just left with the non-simplifying term String2JSON(Bytes2String(b"json text here")) With the LLVM backend, we can use these hooks, but there is an additional limitation in that I can't think of a good way to deal with the failure case. If the input string is not valid JSON, String2JSON calls abort() which causes there to be no output, so I don't see an easy way to make KAVM handle this case cleanly. Perhaps we could expand the hooks to include an isValidJSON() function.

AVM 7
json_ref
Implementation begun in 153
replace2 and replace3
Should be trivial, can be reduced to replace
base64_decode, ed25519verify_bare, sha3_256, and vrf_verify
Cryptographic opcodes
block
Queries information about individual blocks, i.e. their timestamp or seed. This cannot be implemented here as we are not modeling block creation.
AVM 8
bury, popn, and dupn
These should be simple to implement since they're basic stack manipulation opcodes.
Callstack opcodes: proto, frame_dig, and frame_bury
These are meant to extend the functionality of callsub and retsub to give AVM a full callstack for subroutines. Whereas our current  <callStack> contains only program counters to return to when retsub is called, in AVM 7 the callstack consists of "frames" which contain that plus other data.

proto sets the number of argument values and the number of return values for the current top frame in the callstack.
callsub now initializes a new stackframe at the top of the callstack, and fills it with the next instruction address as well as the current stack height. (I'm guessing this is the frame pointer)
frame_dig and frame_bury are read/write to the stack relative to the frame pointer
retsub now has different behavior depending on whether proto was called since callsub. If not, it behaves as it did pre-v8. If it was, then it consumes the arguments from the stack, leaving just the return values.

switch
This branches to the nth label. This may require us to change the way labels are stored since it is currently a map which I don't think has any specific order, or add another map from index to label.
Box storage opcodes
[will add more in an edit]


MINOR: Disalow using a group id with only whitespaces in the new consumer group protocol

This patch strengthen the validation of the group id when the new consumer group protocol is used.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Perhaps we need a ConfigValidator whcih says NullOrNonEmptyString. We could have used that validator here. https://github.com/apache/kafka/blob/dba789dc93d8dee2965ea41df49f0c981f5dfa6f/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java#L398

Indeed, null is valid. Empty string is also valid but deprecated. Here I only want to ensure that we don't use it with the new protocol now. We strengthen the validation on the client in 4.0 to prevent using an empty string.


WIP: Add PWA/TWA required files

This aims to make BRouter a Progressive Web App (PWA) and Trusted Web App (TWA).
There are various things to finalize:

mobile version could be improved (#296), not mandatory
have a proper logo (#286). For now and test purposes, I'm using my placeholder. The maskable icon was made with https://web.dev/maskable-icon/
define BRouter theme and background colors. For now I've set both to #343a40.
I deployed manifest.json and .well-known/assetlinks.json to my instance. You can try TWA from this APK (generated via https://www.pwabuilder.com/publish)
the best (I think) solution would be to integrate the TWA directly into the existing BRouter application. But a separate app can be used too (you only have to update assetlinks.json accordingly)
to generate the APK, you can use pwabuilder.com but I believe it's better to use bubblewrap directly and commit required files in brouter or brouter-web repository
some files might be removed from the repository, or not, I'm unsure yet.

If you use a TWA, the browser navigation bar is hidden, allowing to gain some height space

Doesn't the "display": "standalone" or fullscreen in the PWA manifest already do that (without TWA)?
https://web.dev/add-manifest/#display

From my tests, at least with Firefox, it does not hide the navigation bar without TWA, but I might be missing something.

From my tests, at least with Firefox, it does not hide the navigation bar without TWA, but I might be missing something.

As far as I know, Firefox support for PWA can be quite limited on Android devices. Sadly, Chrome should be better for tests here.

@bagage Great!
Would you add an option to change the static strings inside the manifest.json dynamically for deployment?
Hint https://stackoverflow.com/questions/50086761/dynamic-icon-pwa-manifest

Closing this as I don't plan to finish it anytime soon.


5.6.1 hotfix

Coverage decreased (-0.03%) to 72.342% when pulling 6bcae50b831bf822b06fecdd32491b5a726bd6cc on yitam:master into cdc107b7b1ed3c42db4416371aa0790f722dc10b on Microsoft:master.


./hooks/pre-receive.d/gitea: line 2

Gitea version (or commit ref): 1.3.2 and 1.4.0-rc1
Git version: 2.14.1
Operating system: Linux (Matelimo 17.10)
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:

2018/02/03 02:50:51 [...ules/context/repo.go:641 func1()] [E] GetCommitsCount: Unsupported cached value type: <nil>
2018/02/03 08:32:13 [...s/context/context.go:117 NotFoundOrServerError()] [E] Repo.Commit.GetTreeEntryByPath: object does not exist [id: , rel_path: MYSQL]
2018/02/03 08:32:45 [...s/context/context.go:117 NotFoundOrServerError()] [E] Repo.Commit.GetTreeEntryByPath: object does not exist [id: , rel_path: MYSQL]
2018/02/03 08:34:09 [...s/context/context.go:117 NotFoundOrServerError()] [E] Repo.Commit.GetTreeEntryByPath: object does not exist [id: , rel_path: mysql]
2018/02/03 09:24:52 [I] Log Mode: File(Info)
2018/02/03 09:24:52 [I] XORM Log Mode: File(Info)
2018/02/03 09:24:52 [I] Cache Service Enabled
2018/02/03 09:24:52 [I] Session Service Enabled
2018/02/03 09:24:53 [I] Migration: add lfs lock table
2018/02/03 09:24:53 [I] Migration: add reactions
2018/02/03 09:24:53 [I] Migration: add pull request options
2018/02/03 09:24:53 [I] Migration: add writable deploy keys
2018/02/03 09:24:54 [I] Migration: remove is_owner, num_teams columns from org_user
2018/02/03 09:24:54 [I] Git Version: 2.15.1
2018/02/03 09:25:01 [I] SQLite3 Supported
2018/02/03 09:25:01 [I] Run Mode: Production
2018/02/03 09:25:02 [I] Listen: http://<IP_ADDRESS>:64223
2018/02/03 09:25:02 [I] LFS server enabled

Description

➜  dev.sender.fm git:(master) LC_ALL=C git push
Username for 'https://sml.uber.space': ShalokShalom
Password for<EMAIL_ADDRESS>
Counting objects: 2, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 227 bytes | 227.00 KiB/s, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: ./hooks/pre-receive.d/gitea: line 2: /home/sml/gitea: No such file or directory
To https://sml.uber.space/sender.fm/dev.sender.fm
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://sml.uber.space/sender.fm/dev.sender.fm'

What filename did you enter?

I just updated the original post.

seems cache config error?

@ShalokShalom what happens when you run the Resynchronize pre-receive, update and post-receive hooks of all repositories. task in the admin panel to regenerate all hooks?
Note: please make sure you have no customization in your hooks as this will overwrite them.

I am closing this, since no access anymore to that instance. Thanks


@Timeout method annotation doesn't exist

Can't seem to find this in the retrofit package.
I have a slowwww server API that takes over 11 seconds :-O
I want to set the timeout for this method but not affect the rest of them.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28327062-timeout-method-annotation-doesn-t-exist?utm_campaign=plugin&utm_content=tracker%2F8327951&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8327951&utm_medium=issues&utm_source=github).

Sorry, actually, It's in TODO list.


Draft: Configure webpack for dev environment

Fixes https://issues.redhat.com/browse/CCXDEV-5298

Codecov Report

Merging #6 (8f85b7e) into master (933f1b5) will increase coverage by 0.45%.
The diff coverage is n/a.

:exclamation: Current head 8f85b7e differs from pull request most recent head 9f6a20e. Consider uploading reports for the commit 9f6a20e to get more accurate results

@@            Coverage Diff            @@
##           master      #6      +/-   ##
=========================================
+ Coverage    3.66%   4.12%   +0.45%
=========================================
  Files          17      15       -2
  Lines         109      97      -12
  Branches       19      19
=========================================
  Hits            4       4
+ Misses        102      90      -12
  Partials        3       3

Impacted Files
Coverage Δ

src/DevEntry.js
0.00% <ø> (ø)

src/Routes.js
0.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 933f1b5...9f6a20e. Read the comment docs.

Well, I tried to run npm run start:beta:proxy with the last commit from this PR. It seems custom proxy works OK with the Smart Proxy API, QA environment. I have tried couple of endpoints locally (e.g. GET /groups).

@AllenBW, could you please check it ooout? Something may be missing; thus, I want to have your expert eye on it 😸

I've also run into one issue I haven't found a way how to solve yet: when opening /beta/openshift/insights/advisor it redirects you to /beta/openshift/insights/sample instead of desired /beta/openshift/insights/advisor/sample.


Snackbar

Two little changes:

use nameof and constants instead of string literals
animate Opacity of the Snackbar content

Thanks, think I lost the Opacity animation during refactoring.


Added IIOPMetaData class

The IIOPMetaData is a holder for the IIOP configuration, including binding name and IOR security config metadata.

You should keep this metadata together with the associated parser. Either in jboss-metadata or in AS 7.

I've moved the IIOPMetaDataParser from AS7 to jboss-metadata.


[BUG] ReCaptcha doesn't work on old domain

Describe the bug
If you go to the URL in your Twitter bio (nasoj.me/foodle), then the captcha doesn't work
To Reproduce
Steps to reproduce the behavior:

Go to 'https://nasoj.me/foodle'
Click on 'Settings -> Suggest a word'

Screenshots

Client (please complete the relevant following information):

OS: Windows and Android
Browser: Chrome and Edge

 fixed.


Matern 3/2 multi-dimensional kernel

Hey all,
After a quick chat with @nespinoza on slack, I decided to go ahead and put up an implementation for this kernel in juliet. The usage should be pretty much the same as for the multi-dimensional squared-exponential kernel, with the only difference being specifying a GP_malpha<n> hyperparameter instead of GP_alpha<n>.
The test data I used (from Magellan/IMACS and reduced with tepspec) are included in the repo, and should have the external parameters, light curve, and priors files for both this kernel and the squared exponential test case. Below are the corresponding plots, which were made in this notebook.

If this looks ok to people, I would be more than happy to start adding documentation and/or other edits as needed!

Oh, also just a heads up that compared to the sqexp case, the matern-3/2 kernel looks to be reaaally slow when used to precompute the covariance matrix as the number of data points get larger.
A quick 1D test on my computer is showing it taking ~700 times longer after only 3000 data points in time =\
import george
import time

t, f, ferr = juliet.get_TESS_data('https://archive.stsci.edu/hlsps/tess-data-alerts/'+\
                                 'hlsp_tess-data-alerts_tess_phot_00403224672-'+\
                                 's01_tess_v1_lc.fits')

def time_GP(the_kernel, X, first_n_points):
    jitter_term = george.modeling.ConstantModel(1.)
    GP = george.GP(
        the_kernel,
        mean=0.0,
        fit_mean=False,
        white_noise=jitter_term,
        fit_white_noise=True,
        solver=george.HODLRSolver,
    )

    start_time = time.perf_counter()
    GP.compute(X[:first_n_points])
    return time.perf_counter() - start_time

m32 = 1.*george.kernels.Matern32Kernel(
    np.ones(1),
    ndim=1,
    axes=range(1),
)

sqexp = 1.*george.kernels.ExpSquaredKernel(
    np.ones(1),
    ndim=1,
    axes=range(1),
)

N = 3_000
print(time_GP(the_kernel=sqexp, X=t, first_n_points=N))
print(time_GP(the_kernel=m32, X=t, first_n_points=N))

0.02646647500000654
14.069735004999998

Hi @icweaver --- I tested this and works beautifully; thanks a bunch for performing this PR!

Glad it's working ok! I figured it would be a good mirror to GPTransmissionSpectra, haha


Adds a test to verify Action logic and removes the null check, fixes …

…#642

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

@johnaohara WDYT ? I'm ok with this PR now

Rebased, and merged.
Thanks for your contribution !


Missing variable postgres_grafana_password

Doing fresh run getting deploy error.
`
Task 15309 | 02:23:33 | Preparing package compilation: Finding packages to compile (00:00:00)
19:23:33
Task 15309 | 02:23:33 | Updating instance nginx: nginx/d3b0ee90-17bb-493e-9b4b-8bc97e5062e9 (0) (canary)
19:23:33
Task 15309 | 02:23:33 | Updating instance grafana: grafana/e4b559f0-e853-4ac8-b558-9c65a100362b (0) (canary)
19:23:58
Task 15309 | 02:23:57 | Updating instance nginx: nginx/d3b0ee90-17bb-493e-9b4b-8bc97e5062e9 (0) (canary) (00:00:24)
19:25:43
Task 15309 | 02:25:42 | Updating instance grafana: grafana/e4b559f0-e853-4ac8-b558-9c65a100362b (0) (canary) (00:02:09)
19:25:43
                     L Error: grafana/0 (e4b559f0-e853-4ac8-b558-9c65a100362b) is not running after update. Review logs for failed jobs: grafana
19:25:43
Task 15309 | 02:25:42 | Error: grafana/0 (e4b559f0-e853-4ac8-b558-9c65a100362b) is not running after update. Review logs for failed jobs: grafana
19:25:43
19:25:43
Task 15309 Started  Sat Feb 17 02:23:31 UTC 2018
19:25:43
Task 15309 Finished Sat Feb 17 02:25:42 UTC 2018
19:25:43
Task 15309 Duration 00:02:11
19:25:43
Task 15309 error
19:25:43
Could not deploy: Updating deployment: Expected task 15309 to succeed but state is error
19:25:43`

Checking grafana vm see below in stdout messages
`t=2018-02-17T02:30:27+0000 lvl=eror msg="Fail to initialize orm engine" logger=sqlstore error="Sqlstore::Migration failed err: pq: password authentication failed for user \"grafana\"\n"
t=2018-02-17T02:31:07+0000 lvl=info msg="Starting Grafana" logger=server version=4.6.3 commit=7a06a47 compiled=2017-12-14T08:36:59+0000
t=2018-02-17T02:31:07+0000 lvl=info msg="Config loaded from" logger=settings file=/var/vcap/packages/grafana/conf/defaults.ini
t=2018-02-17T02:31:07+0000 lvl=info msg="Config loaded from" logger=settings file=/var/vcap/jobs/grafana/config/grafana.ini
t=2018-02-17T02:31:07+0000 lvl=info msg="Path Home" logger=settings path=/var/vcap/packages/grafana
t=2018-02-17T02:31:07+0000 lvl=info msg="Path Data" logger=settings path=/var/vcap/store/grafana
t=2018-02-17T02:31:07+0000 lvl=info msg="Path Logs" logger=settings path=/var/vcap/sys/log/grafana
t=2018-02-17T02:31:07+0000 lvl=info msg="Path Plugins" logger=settings path=/var/vcap/packages/grafana_plugins
t=2018-02-17T02:31:07+0000 lvl=info msg="App mode production" logger=settings
t=2018-02-17T02:31:07+0000 lvl=info msg="Writing PID file" logger=server path=/var/vcap/sys/run/grafana/grafana.pid pid=9773
t=2018-02-17T02:31:07+0000 lvl=info msg="Initializing DB" logger=sqlstore dbtype=postgres
t=2018-02-17T02:31:07+0000 lvl=info msg="Starting DB migration" logger=migrator
t=2018-02-17T02:31:07+0000 lvl=eror msg="Fail to initialize orm engine" logger=sqlstore error="Sqlstore::Migration failed err: pq: password authentication failed for user \"grafana\"\n"

`
Checking postgres logs see this being entered as password
[2018-02-17 02:16:32+0000] + command='ALTER ROLE "grafana" WITH LOGIN PASSWORD '\''\(\(postgres_grafana_password\)\)'\'''
[2018-02-17 02:16:32+0000] + /var/vcap/packages/postgres-9.6.4/bin/psql -U vcap -p 5432 -d postgres -c 'ALTER ROLE "grafana" WITH LOGIN PASSWORD '\''\(\(postgres_grafana_password\)\)'\'''

Adding the variable to the params file and to the pipeline.yml corrected this. Let me know if you would like a pull request for this to be the solution if you have a more preferred way of providing the variable in mind.
Specifically all I did was add the below variable to the Deploy task and to the params file
Deploy task add under vars
       postgres_grafana_password: ((postgres_grafana_password))
and params file add
      postgres_grafana_password: PASSWORD
As a note this failed again on me when I used a password with special characters in it. Specifically i used a password with ! .

Seems like you are deploying to a BOSH director with no config server configured. This password should be generated by BOSH automatically. Your workaround is valid if you have to deploy it to a BOSH director like that but my strong recommendation would be to deploy BOSH with credhub. Since there is no reason for the operator to know this password I'd rather not require it in params.yml.

You are correct no credhub as i have a dedicated bosh for nothing but
concourse web and Prometheus deploy basically. So have not gone to the
extent of putting a credhub on him. Will look into this and see how much
work is involved in  retrofitting into my monitoring/ci bosh instance.
On Sat, Feb 17, 2018, 14:34 Michal Kuratczyk<EMAIL_ADDRESS>wrote:

Closed #11
https://github.com/pivotal-cf/pcf-prometheus-pipeline/issues/11.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pivotal-cf/pcf-prometheus-pipeline/issues/11#event-1479289113,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACK4otdQyeF-nEiCdS3SytcnUsT2Jh7rks5tV0XhgaJpZM4SJJ_N
.


Serilog with colored console in the appsettings doesn't work but

Hi,
I am using Topshelf with Serilog and configuring from the code:
ILogger logCfg = new LoggerConfiguration()
                .WriteTo.ColoredConsole()
                .CreateLogger();
hostCfg.UseSerilog(logCfg);

works but if I say:
ILogger logCfg = new LoggerConfiguration()
                .ReadFrom.AppSettings()
                .CreateLogger();

hostCfg.UseSerilog(logCfg);

It won't work.
The app.config is as:
<appSettings>
    <add key="serilog:minimum-level" value="Information" />
    <add key="serilog:write-to:ColoredConsole" />
    <add key="serilog:using:RollingFile" value="Serilog.Sinks.RollingFile" />
    <add key="serilog:write-to:RollingFile.pathFormat" value="C:\Logs\log-{Date}.txt" />
    <add key="serilog:write-to:RollingFile.retainedFileCountLimit" value="10" />

Fyi, writing to the file does work.
Btw, this is my packages.config
  <package id="Serilog" version="2.5.0" targetFramework="net461" />
  <package id="Serilog.Settings.AppSettings" version="2.1.2" targetFramework="net461" />
  <package id="Serilog.Sinks.ColoredConsole" version="3.0.1" targetFramework="net461" />
  <package id="Serilog.Sinks.Console" version="3.0.1" targetFramework="net461" />
  <package id="Serilog.Sinks.File" version="3.2.0" targetFramework="net461" />
  <package id="Serilog.Sinks.RollingFile" version="3.3.0" targetFramework="net461" />
  <package id="Topshelf" version="4.0.4" targetFramework="net461" />
  <package id="Topshelf.Serilog" version="4.0.4" targetFramework="net461" />

This sounds more like a serilog question, not Topshelf.


Nobody knows where the error console is.

I should make it a button on the GUI or something.

Upvotes to showing the error console on errors or giving hints per @wasnotrice 's idea.


Fixed #1831

See it in action here http://jsfiddle.net/wwx7ez74/4/ with IE10+

Awesome, thanks for your help!

Merged into next in ba2b4e3914e9e3f9041deb7d95863cce5be2176f.
In future feel free to submit PR to next branch see readme

:thumbsup:


Bump e2fsprogs

This PR install a e2fsprogs from bookworm-backports, which provides support for building drives from tar files

This will actually need to go to main so we can release an SDK with it

This will actually need to go to main so we can release an SDK with it

So update the target branch for the PR, if possible.
I see this commit already exists on the other PR I just reviewed and approved #75

Changed to minor version
Removed some lint warnings


[Bug] centralize selection menu items

The right box "folder" don't have spacing to the right side

Can you show a screenshot?

Oh sorry . Forgotten the screenshot 😅

The picker list is actually a horizontal list (on Android there are 5 buttons).
Let's keep this issue open until we have a better fix for that.

Having it in one line looks better to me, at least on Android


Implement use of Meta class for meta parameters

the meta parameters like 'data_path' or 'data_reader' should be entered
by the user in a Meta class

Hey @mikofski let me know if you get a chance to look at this PR. There are a few things in the model layer we'll probably want to discuss.
Otherwise the tests are passing and it seems like the Meta class implementation is working fine overall.


Add Vite Rails Legacy, which targets Rails 4

Description 📖
This pull request adds vite_rails_legacy, which is Vite Rails, modified to support Rails 4.
If you are targeting older browsers by using @vitejs/plugin-legacy, there's an additional gem for that as well.
Why a separate library? 🤔
I don't want the burden of having to support Rails 4 in the main codebase.
And yet, after extracting Vite Ruby the surface area is smaller, and it was easy to adapt it to work with Rails 4.
This way, people get to use the library in Rails 4, and I get to not worry about accidentally breaking support with changes that are tested on Rails 5 and onwards.
Screenshots 📷
Running on Rails 4.2

Thanks for the legacy version of this gem, this is much appreciated! Unfortunately ruby requirements are too high for it to be actually useable (it requires ruby 2.5 and it has been supported only since Rails 5.1). Is there any way to make it work with Ruby 2.2.1 or lower?

Unfortunately 2.2 does not support the safe navigation operator (&.), which is also used in vite_ruby.
You could fork both vite_rails and vite_ruby and replace usages of the safe navigation operator with conditional checks.
Support for Ruby 2.2 ended long ago.

I am running into the same issue which is Ruby <IP_ADDRESS> which does support the &. operator. Any chance of weakening the Ruby version requirement to >=2.4?

Hi @patrickdet.
Support for Ruby 2.4 ended last year, but I understand that sometimes upgrades are not viable.
I have a proposal for you–if you fork the repo and test both vite_rails_legacy and vite_ruby with lowered requirements, test the gems, and they work as expected without major changes, we can bring in those changes and I'll release a new version of both gems.

Hi @ElMassimo, sounds good. I have opened a PR #84 which brings these changes to 2.4.


detail views: fix bad layouts for comments

OTT, fixes TLON-3099

do you know how this worked before?

ah, we were asserting that the channelType was chat in detail view https://github.com/tloncorp/tlon-apps/blob/1a6d219db1e49daaa0f682f4ae54260582467358/packages/ui/src/components/DetailView.tsx#L57


python312Packages.mypy-boto3-*: updates

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 356661

x86_64-linux

:white_check_mark: 28 packages built:

python311Packages.mypy-boto3-cloudwatch
python311Packages.mypy-boto3-cloudwatch.dist
python311Packages.mypy-boto3-datasync
python311Packages.mypy-boto3-datasync.dist
python311Packages.mypy-boto3-ec2
python311Packages.mypy-boto3-ec2.dist
python311Packages.mypy-boto3-iot
python311Packages.mypy-boto3-iot.dist
python311Packages.mypy-boto3-outposts
python311Packages.mypy-boto3-outposts.dist
python311Packages.mypy-boto3-pinpoint-sms-voice-v2
python311Packages.mypy-boto3-pinpoint-sms-voice-v2.dist
python311Packages.mypy-boto3-route53resolver
python311Packages.mypy-boto3-route53resolver.dist
python312Packages.mypy-boto3-cloudwatch
python312Packages.mypy-boto3-cloudwatch.dist
python312Packages.mypy-boto3-datasync
python312Packages.mypy-boto3-datasync.dist
python312Packages.mypy-boto3-ec2
python312Packages.mypy-boto3-ec2.dist
python312Packages.mypy-boto3-iot
python312Packages.mypy-boto3-iot.dist
python312Packages.mypy-boto3-outposts
python312Packages.mypy-boto3-outposts.dist
python312Packages.mypy-boto3-pinpoint-sms-voice-v2
python312Packages.mypy-boto3-pinpoint-sms-voice-v2.dist
python312Packages.mypy-boto3-route53resolver
python312Packages.mypy-boto3-route53resolver.dist


navdata schema template (tmu-edct-tool#13)

actually tmu-edct-tool#13

Propose to use Turf.js for geospatial calculations.

Propose to use Turf.js for geospatial calculations.

Looks like it is a good alternative, yeah. I have no experience with this in JS and don't know of any alternatives.


Bumped ccx-rules-ocp version

Codecov Report
Patch and project coverage have no change.

Comparison is base (4216523) 73.46% compared to head (9b2c826) 73.46%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #487   +/-   ##
=======================================
  Coverage   73.46%   73.46%
=======================================
  Files          11       11
  Lines         603      603
=======================================
  Hits          443      443
  Misses        135      135
  Partials       25       25

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


URL navigation on modal dialogs

Hi,
I missed a possibility to link directly to opened modal. So I implemented this feature.

link links directly to #{{../uniqueId}}_{{method}}
jquery observes hashchange event

The examples are also regerenerated. It can be seen here as well:
http://rawgit.com/zbycz/raml2html/patch-1/examples/example.html#_forecasts__geoposition__get
Thanks for merging or any comments :-)

Looks great! Could you check the spacing and indentation of this though?
            $('.modal').on('hidden.bs.modal', function() {
              if(history && history.replaceState) {
                history.replaceState({}, '', '#');
              }
            });

Sure - fixed. Sorry, did this part in different editor :-)

No problem :) I'll test it tonight and merge & release then.

Hey zbycz thanks for roping me in on this one.
Manually typing in the URL seems to work well.
In the test given, I cannot seem to get the anchor to update as I work through the page. For example if I click on the GET /account/find to initiate the pop up info box, the URL should update accordingly with #_account__find__get. That way users can easily copy and paste the link to wherever they need it.
Obviously this is not a requirement, but seems to fit well into this feature's spec.

@phonyphonecall) Oh yess, you're right! Thanks for noticing. I fixed the onclick only for the badge showing on the right side. And forgot that there is also this badge, when you expand the panel by clicking its url.
Now its fixed, see the same link above.

@zbycz thats exactly what I was thinking on #38! Looks good to me after quick manual testing. I'll leave the formal validation to the experts.

Great work guys, thanks for the testing as well! :)

:+1:

:clap:

1.6.0 is released


Shiva

Completed the blog Seamless Authentication to Confluent Cloud Using OAuth/OIDC with Okta as Identity Provider.

@Akkishiva1 There are some conflicts with the master repo. Kindly resolve them before review

I resolved the conflict and merged. @Akkishiva1 can you check once?

https://platformatory.io/blog/Use-OAuth-OIDC-to-Authenticate-to-Confluent-Cloud/

Resolved, squashed and merged:
https://platformatory.io/blog/Use-OAuth-OIDC-to-Authenticate-to-Confluent-Cloud/
Please make sure to submit 1 commit after squashing all commits. If not,
the master branch will have too many commits.
On Tue, Jul 30, 2024 at 4:44 AM ashwinvenkatesan229 <
@.***> wrote:

@Akkishiva1 https://github.com/Akkishiva1 There are some conflicts with
the master repo. Kindly resolve them before review
—
Reply to this email directly, view it on GitHub
https://github.com/Platformatory/blog/pull/39#issuecomment-2258151762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEUPZQKGP6XZUELVQ23X2L3ZO54BDAVCNFSM6AAAAABLOF3RQGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJYGE2TCNZWGI
.
You are receiving this because you were assigned.Message ID:
@.***>


[TF2.0] tf.function use within tf.custom_gradient is extremly slow

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): I wrote a simple example similar to the provided examples
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 64bit
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: not tested
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below): r2.0
Python version: 3.7
Bazel version (if compiling from source): does not apply
GCC/Compiler version (if compiling from source): does not apply
CUDA/cuDNN version: 10.2
GPU model and memory: Nvidia GTX 1050 2048MB

Describe the current behavior
When calling a tf.function from within a tf.custom_gradient function a large delay occurs before and after the tf.function call. With more complex functions this delay before and after goes up.
Describe the expected behavior
There should not be any delay or at least no perceivable.
Code to reproduce the issue
The following code snippet reproduces this behavior. I execute the code twice to account for tf.functions tracing which has to be one once for _df.
@tf.function
def _df(x):
    tf.print('Start inner')
    start = tf.timestamp()

    result = x@x

    end = tf.timestamp()
    tf.print('End inner; took: ', end-start)
    return result

@tf.custom_gradient
def f(x):
    def df(dy):
        tf.print('Before outer')
        start = tf.timestamp()

        grad = _df(x)

        end = tf.timestamp()
        tf.print('After outer; took: ', end-start)
        return dy*grad
    return x@x, df

for i in range(2):
    x = tf.random.normal((1000, 1000))
    t = tf.timestamp()
    with tf.GradientTape() as tape:
        tape.watch([x])
        r = f(x)
    tf.print('Forwardpass took', tf.timestamp() - t)
    t = tf.timestamp()
    tape.gradient(r, x)
    tf.print('Backwardpass took', tf.timestamp() - t)

Output:
Forwardpass took 0.00038313865661621094
Before outer
Start inner
End inner; took:  2.6941299438476563e-05
After outer; took:  0.093798160552978516
Backwardpass took 0.099112987518310547
Forwardpass took 0.0002689361572265625
Before outer
Start inner
End inner; took:  2.8848648071289063e-05
After outer; took:  0.00881505012512207
Backwardpass took 0.01347804069519043

@n-gao
I have tried on colab with TF version 2.0 ,2.1.0dev20191124 .Please, find the gist here. Is this the expected behavior? Thanks!

Yes it is but I forgot about asynchronous execution and this is probably the intended behavior, right? The inner loop has a low execution time because all of the commands are queued to the GPU and when the tf.function exists tf waits for the complete execution of the function. Or did I miss something?
Thank you!

@n-gao you are right. This is the intended behaviour.
I am closing this issue as it is not a bug/performance, build/install, feature request related issues. Please add additional comments and we can open this issue again. Thanks!


Automatically update updated_at without hook

Currently is there any way to update update_at without any hook? I  don't want to update the  updated_at column when the row is inserted.

What do you expect?
All we have now is documented at https://bun.uptrace.dev/guide/models.html#automatic-timestamps

If I use bun.Nulltime, the field is not updated automatically. I want the update_at column to update automatically when the row is updated and insert NULL when a row is inserted. Seems like currently I either have to update the column manually or use hooks. Is that correct?

Is that correct?

Correct.

Is that correct?

Correct.

But do you reommend manual update instead of hooks ? Any particular reason why hooks are discouraged?

Hooks are not discouraged but there is a disclaimer

But do you reommend manual update instead of hooks ?

I recommend just writing simple and idiomatic code. When I need to set UpdatedAt field, I just do so.
model.UpdatedAt = time.Now()

thanks for clarification!


Youtube Live Streams Don't Work Anymore

Error:
C:\...\livestreamer-v1.12.2-120-gab80dbd>livestreamer.exe https://gaming.youtube.com/c/ReadyUpLive/live
error: No plugin can handle URL: https://gaming.youtube.com/c/ReadyUpLive/live

Tested the following versions:
Stable: v1.11.1 (WORKS)
Stable: v1.12.2 (BROKEN)
Nightly: v1.12.2-120-gab80dbd (BROKEN)
System: Windows 10 x64
The "....com/c/user/live" live stream urls do not work anymore, for example:
https://gaming.youtube.com/c/ReadyUpLive/live
https://www.youtube.com/c/ReadyUpLive/live
Please note: The other youtube live stream url format works fine on windows, normal youtube videos also work fine. For example (this is a youtube live stream):
WORKS: https://gaming.youtube.com/watch?v=brsPQI8Tikg
Note: If I grab the "youtube.pyc" from v1.11.1 and replace the "youtube.pyc" in the latest 1.12.2 then the "....com/c/user/live" live streams work again.
Side Note: A lot of the youtube people are starting to stream in 1080p / 60fps, but, I can only seem to get up to "720p / 30fps" with the v1.11.1 youtube.pyc. If it is possible, it'd be nice to gain access to the 1080p/60fps options.
Let me know if you need more info.

Does this bug effect ".com/user//live" URLs also?
Also, does anyone know how to convert a "/live" URL to the corresponding standard "/watch?v=" URL?
e.g.,
https://www.youtube.com/user/JamesNintendoNerd/live
and
https://www.youtube.com/watch?v=pR-7fRIZZn4
point to the same location. But how does one determine the latter if they only have knowledge of the former?

Side Note: A lot of the youtube people are starting to stream in 1080p / 60fps, but, I can only seem to get up to "720p / 30fps" with the v1.11.1 youtube.pyc. If it is possible, it'd be nice to gain access to the 1080p/60fps options.

This is an old and known issue... Livestreamer simply does not support the 60 fps streams yet (the framerate itself isn't an issue, but Youtube outputs them differently).


serde_macros example does not compile

Please advise?
% rustc --version
rustc 1.10.0 (cfcb716cf 2016-07-03)
% cargo test
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling serde_codegen_internals v0.3.0
   Compiling aster v0.21.1
   Compiling serde_codegen v0.7.14
   Compiling quasi v0.15.0
/Users/kyrylo/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.3.0/src/lib.rs:3:43: 3:74 error: #[feature] may not be used on the stable release channel
/Users/kyrylo/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen_internals-0.3.0/src/lib.rs:3 #![cfg_attr(not(feature = "with-syntex"), feature(rustc_private, plugin))]
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
/Users/kyrylo/.cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.15.0/src/lib.rs:11:43: 11:66 error: #[feature] may not be used on the stable release channel
/Users/kyrylo/.cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.15.0/src/lib.rs:11 #![cfg_attr(not(feature = "with-syntex"), feature(rustc_private))]
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
/Users/kyrylo/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.21.1/src/lib.rs:1:43: 1:66 error: #[feature] may not be used on the stable release channel
/Users/kyrylo/.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.21.1/src/lib.rs:1 #![cfg_attr(not(feature = "with-syntex"), feature(rustc_private))]
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
error: Could not compile `serde_codegen_internals`.

To learn more, run the command again with --verbose.

On stable Rust you should be using syntex as described on the serde repositoy page.

Thanks! I was able to solve this with help of syntex. Feel free to close this issue. My humble recommendation is to make the README a little bit clearer to avoid potential future confusion.

In e0bdf464001ad8d864b8de9b5408a770d2268bb0 I included a link to the codegen documentation on https://serde.rs which explains all this stuff in detail.


[Feature request] Hide the declined events on the remote calendars

Feature description
I would like to hide the events from the remote calendar that I declined so that they don't appear in the timeline view.
(Currently, I've added a Google calendar as a remote calendar, and the declined events appear in the timeline)

@ivan-lednev any thoughts on how to handle this one? Would it need to be feature flagged? Or can this be the default behavior going forward?


Configure local graph-node

Hello there,
I'm trying to figure out how to connect the firehose-cosmos to a local graph-node instance.
Is there any variable as endpoint to set?
Ty

Hey @angelorc ,
I believe we discussed this over discord so I'll close this for now! Thanks!

Alright, however it will be better to improve the docs. I will try to do my support


[HOLD] Error handling req repl

Fixes #133, fixes #134

@fbiville what are the next steps here?

@scothis let's put this on HOLD
https://github.com/projectriff/node-function-invoker/pull/140 and https://github.com/projectriff/node-function-invoker/pull/138 should be reviewed and merged first.


add colegiulbaiulescu.txt

@Andrei8764 First stage of verification passed, official domain is colegiulbaiulescu.ro as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Andrei8764 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Problem: Problems should be centralized

Problem

morgan [2:38 PM]
If you want to dig into product stuff, I'd recommend checking out the Nautilus repositories and thinking about how you might be able to contribute

John [2:38 PM]
which one?

Keeping ideas under individual repositories reinforces the 'decentralized' nature of the decision-making process and enables divergence (literally forks) if necessary, but since we're working toward a single protocol, divergence can lead to (1) confusion for new contributors and (2) unconscious divergence simply because the book-keeping of keeping repositories in-sync was too costly.
Meta: this issue is on TimDaub / nautilus, but it appplies equally to @diminator's and @msutherl's repositories.
Proposed Solutions

Centralize Nautilus under an Ocean account / org and (at least) nominate this the official upstream fork
Nominate diminator/nautilus as the de facto upstream repo and document it
Maintain a list of all possible upstream repositories to keep in sync, maintain a manifest explaining the purpose of every branch, and document a decentralized workflow (works for repositories, but not for issues)
Use a collaborative document editor with a single source of truth (like Google Docs)

Another proposed solution (explanation on website):
http://<IP_ADDRESS>:8080/
@sbellem and I were discussing another solution that is quite promising. I'll document it asap.
Meta: It be cool if you could put this problem under /docs/problems/ instead of an issue such that we have it documented for eternity.


Add custom intervention types

What's the feature?

Feature idea from @jsgeiser via email:

"For the intervention list, where it says "other", can we have a place to label that "other" intervention? I have been using that one a bit."
GIF

Yes - this definitely works for the 'other' category.


How to describe the provenance of activity classes and individual activities, and which PROV property?

Hi，@satra, @trungdong,
Sorry to disturb you, I need to ask you a small question .
Entity classes and entity exceptions are described, as follows:
d1.entity("ex:Item"）
d1.entity("ex:RevisionItem"）
d1.specializationOf('ex:RevisionItem_1', 'ex:RevisionItem')
How to describe the provenance of activity classes and individual activities, and which PROV property?
d1.activity('ex:changeRevision') [ this is a class ]
d1.activity('ex:changeRevision_1') [ this is a instance]
In Python's PROV 1.5, how do you introduce attributes (RDFS: subClassOf) to describe activity classes and activity instances

@satra， I am really excited to see your reply. Thank you very much for your patience.
I am a beginner of provenance, and am working on the description of provenance information using Python's PROV.
“myActivityClass  rdfs:subClassOf  prov:Activity” .
This is a simple and effective method, but it is in Turtle format, and the program defaults to provn, so I try to describe activity classes and activity subclasses as comments  and I found that both entities and agents can be annotated, as shown below：
agent(ex:Bob, [prov:type="Person", ex:givenName="Bob"])
entity(ex:RevisionItem_172, [prov:generatedAtTime="2016-12-01T07:57:00"])
The statement is runnable and the output is in provn format.
But activities cannot add similar comments, as shown below,
d1.activity("ex:Revision")
d1.activity("ex:addRevision",{"rdfs:superClassOf":"ex:Revision"})   <2>
I wanted to annotate the relationship between activity classes and activity subclasses, As shown in example  <2>，but found it not feasible.

@hby10001111 - indeed to use provn, you will have to extend the PROV model itself with your requirements. you cannot use the prov library to do extensions of the model. the library is restricted to the PROV data model.

@satra，Thank you very much for your reply. I will continue to explore Provenance and thank you very much for helping beginners.

I'm a bit confused when you say an activity is a class.
Is this something like trying to do specializationOf with activities instead of entities?
d1.activity("ex:Revision")
d1.activity("ex:addRevision",{"rdfs:superClassOf":"ex:Revision"}) <2>

so you  ex:Revision are all kinds of revision activities? I don't see how this makes sense to be a PROV Activity - does it last from start of universe to the end of universe?
(It might make sense for some group actions, like WomenVotingRightsUK movement as an activity starting in 1872 ending in 1928, and individual people having "subactivities" taking part of that for smaller durations).
I would advise against having an instance be also a class, that is generally considered bad semantic design as you end up with meta-classes etc and unclear implications.
If you just want to categorize the ex:addRevision activity as a kind of Revision-like activity you just need prov:type:
d1.activity("ex:addRevision",{"prov:type":"ex:Revision"}) <2>

This is easy with prov.py:
EX = Namespace("ex", 'http://example.com/revision-ontology#')
document.activity(someId,
            None, None,
            ["prov:type": EX["Revision"],
             "prov:label": "Adding 5+2"])

Obviously you would then need to declare what ex:Revision class is - but the PROV file is not the right place for that, that should be on http://example.com/revision-ontology#Revision (with your own domain name)
As @satra points out trying to declare non-PROV items like an ontology class in prov.py will probably not be that easy. But you can refer to it using a Namespace reference as above.
Note that you can declare prov:type multiple types, which can be a lazy way to declare you are also an instance of a superclass.
Sub-activities
Below I'll explore sub-activities, like "cooking potatoes" activity involves "filling pot", "peeling potatoes" etc. activities.
If the outer activity is active, like in a workflow, script or program; then you can consider it also as a PROV Agent, which then can be said to start the inner activities with wasStartedBy
See how we do it in CWLProv:
https://github.com/common-workflow-language/cwlprov/blob/master/prov.md#nested-workflows
Formally this approach says the new activity was started by a (here undeclared) trigger Entity produced by the outer activity, typically some kind of signal, request or letter.


Add hidden setting for highlight color

change highlighting/color to any hex color like requested in #703

This might be changed through themes later, will merge it and add a setting for it under "Advanced > Miscellaneous" for now.

i expected it to be changed later


SDK installation hangs forever on Android Studio

Steps to Reproduce

Install Flutter plugin in AS
Try creating new Flutter Project
On project creation page it'll ask for sdk installation. Click on install button

Logs
Not sure where to look them!

Here's an image of it being hanged

It has been like this for more than few hours!

Hi @Anan5a
Please check your Internet connectivity
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow. Closing, as this isn't an issue with Flutter itself, if you disagree please write in the comments and I will reopen it
Thank you


Updating the methods for loading the information from the new url of …

…serendipia
Signed-off-by: isccarrasco<EMAIL_ADDRESS>

Hello @FedericoGarza, are you planning to release the PR into the pypi package index?
Thanks,
Regards!
-- Mario.

Hi!
The version including this PR has been released.
Thanks for your contribution! :)


Feature request: Tool for checking object visibility.

It would be nice to have on the Lasair object pages, a widget for quickly checking object visibility from an observatory of the user's choice like in these programs: http://catserver.ing.iac.es/staralt/index.php or https://www.arcsecond.io/features.

This is a nice idea, thanks Michael. We will try to include this in the lasair-LSST, however we are now drawing a line under lasair-ZTF, so will not happen soon.


doc: enable syntax highlighting for the Macro Overview

@eyelash Thanks for the PR.
The CI failed to compile the manual. I did not investigate the issue. Could you please take a look?

@leodemoura I fixed the CI. There was, however, an example that did not compile and I haven't figured out yet how to fix it:
syntax (name := myExfalsoParser) "myExfalso" : tactic

@[macro myExfalsoParser] def implMyExfalso : Lean.Macro :=
  fun stx => Lean.mkNode `Lean.Parser.Tactic.apply
    #[Lean.mkAtomFrom stx "apply", Lean.mkCIdentFrom stx ``False.elim]

example (p : Prop) (h : p) (f : p -> False) : 3 = 2 := by
  myExfalso
  exact f h

with the following error message:
example.lean:4:13: error: type mismatch
  Lean.mkNode `Lean.Parser.Tactic.apply #[Lean.mkAtomFrom stx "apply", (Lean.mkCIdentFrom stx `False.elim).raw]
has type
  Lean.TSyntax `Lean.Parser.Tactic.apply : Type
but is expected to have type
  Lean.MacroM Lean.Syntax : Type
example.lean:8:2: error: tactic 'myExfalsoParser' has not been implemented

Maybe the community can help with this one. But even without syntax highlighting for this example, this PR should be an improvement over the current state.

Adding pure makes the example compile:
@[macro myExfalsoParser] def implMyExfalso : Lean.Macro :=
  fun stx => pure (Lean.mkNode `Lean.Parser.Tactic.apply
    #[Lean.mkAtomFrom stx "apply", Lean.mkCIdentFrom stx ``False.elim])

If someone can confirm that this is the correct fix, I will gladly open a pull request to enable syntax highlighting for this example as well.

Yes, this is just missing the pure.  A long time ago we used to have a coercion from α to m α (and so the pure wasn't required), but we've removed it since then.


Generated Python Dataclasses from a JSON schema not valid (non-default argument  follows default argument)

When I generate a Python (>=3.7) dataclass from a json schema, the class members are are listed alphabetically. When an optional field (= 'not required') is used, this field gets a default value. No problem but these fields should placed at the end of the dataclass definition:
In next example 'approval_code' is optional and the dataclass that is being generated is as follows:
@dataclass
class Ifsf1200:
additional_data_private: str
aiid: int
amount_transaction: str
approval_code: Optional[int] = None       # THIS IS NOT CORRECT !!
bitmap_primary: str
bitmap_secondary: str
card_acceptor_business_code: int
card_acceptor_id_code: str
Looks like it only happens with  :int 's !!
Hope I missed some option to avoid this.
Used you software before with great success (Thanks)
Bert Cornelissen

I found out what caused it:
In the schema:
"approval_code": {
"type": "string",
"format": "integer"
},
If I change it to :+1:
"approval_code": {
"type": "integer",
},
it works.
(Schemas were generated from a json file into a Json schema with Quicktype.
Maybe no bug...
Bert Cornelissen


Touch version file when using pkg installer

Previous method only touched version file in SCRIPTDIR when using the
curl method to install.

Why not remove the touch part and only record the version in the plist?

Because I have an unnatural hatred for cfprefsd?

As discussed in slack, we should just use the plist version instead. Closing this one, will open a new one if new changes are needed. The touch file is a bit fragile.


Child nodes shrink when parent node move across an axis

Report

[x] I have searched existing issues and this is not a duplicate

Issues and Steps to Reproduce
Child nodes get smaller and smaller on every layout calculation when the parent node is moving across an axis or positioned along the axis.

The 2 test cases below reproduce the issue, notice that when the tests fail the leaf node is smaller by 10.
TEST(YogaTest, leaf_node_width_shrink_on_axis)
{
  const YGConfigRef config = YGConfigNew();

  const YGNodeRef root = YGNodeNewWithConfig(config);
  const YGNodeRef top = YGNodeNewWithConfig(config);
  // Happen with absolute position as well
  //YGNodeStyleSetPositionType(top, YGPositionTypeAbsolute);

  const YGNodeRef mid = YGNodeNewWithConfig(config);

  const YGNodeRef leaf = YGNodeNewWithConfig(config);
  YGNodeStyleSetWidth(leaf, 100);
  YGNodeStyleSetHeight(leaf, 100);

  YGNodeInsertChild(mid, leaf, 0);
  YGNodeInsertChild(top, mid, 0);
  YGNodeInsertChild(root, top, 0);

  YGNodeStyleSetPosition(top, YGEdgeLeft, 5);
  YGNodeStyleSetPosition(top, YGEdgeTop, 5);

  YGNodeCalculateLayout(root, YGUndefined, YGUndefined, YGDirectionLTR);

  for (int i = 0; i < 100; i++)
  {
    float pos = YGNodeLayoutGetLeft(top);
    // Moving top container by float values > 1.5 and < 2.0 will eventually shrink the child node!
    // Everything seems fine when moving by integer or values that are rounded downward.
    // The shrink start when the top node x position gets negative.
    float newPos = pos - 1.75f;
    YGNodeStyleSetPosition(top, YGEdgeLeft, newPos);
    YGNodeCalculateLayout(root, YGUndefined, YGUndefined, YGDirectionLTR);

    // This will eventually get smaller and smaller.
    // The shrinking of the leaf stop when the top node has crossed the y axis completely
    ASSERT_GT(YGNodeLayoutGetWidth(leaf), 90);
  }

  YGNodeFreeRecursive(root);

  YGConfigFree(config);
}

// Same test as above but moving along the y axis
TEST(YogaTest, leaf_node_height_shrink_on_axis)
{
  const YGConfigRef config = YGConfigNew();

  const YGNodeRef root = YGNodeNewWithConfig(config);
  const YGNodeRef top = YGNodeNewWithConfig(config);
  const YGNodeRef mid = YGNodeNewWithConfig(config);

  const YGNodeRef leaf = YGNodeNewWithConfig(config);
  YGNodeStyleSetWidth(leaf, 100);
  YGNodeStyleSetHeight(leaf, 100);

  YGNodeInsertChild(mid, leaf, 0);
  YGNodeInsertChild(top, mid, 0);
  YGNodeInsertChild(root, top, 0);

  YGNodeStyleSetPosition(top, YGEdgeLeft, 5);
  YGNodeStyleSetPosition(top, YGEdgeTop, 5);

  YGNodeCalculateLayout(root, YGUndefined, YGUndefined, YGDirectionLTR);

  for (int i = 0; i < 100; i++)
  {
    float pos = YGNodeLayoutGetTop(top);
    float newPos = pos - 1.8f;
    YGNodeStyleSetPosition(top, YGEdgeTop, newPos);
    YGNodeCalculateLayout(root, YGUndefined, YGUndefined, YGDirectionLTR);

    ASSERT_GT(YGNodeLayoutGetHeight(leaf), 90);
  }

  YGNodeFreeRecursive(root);

  YGConfigFree(config);
}

Expected Behavior
The width and height of the child node do not change when moving the top parent node.
Actual Behavior
Child nodes keep shrinking until they don't have any width and/or height.

Created pull request here : https://github.com/facebook/yoga/pull/688

This is still causing major headaches for me, and the fix looks really simple. Is there any update on when this can be resolved?

it's causing problems in react native too.


builtin delete for maps and arrays

builtin delete is ready. It works like Go's delete for maps but also works for array types. delete function returns only undefined value or raises runtime error. It mutates given map or array. doc and tests are added.

Right now Tengo does not support negative indexing into arrays. See https://github.com/d5/tengo/blob/master/objects.go#L223 and https://github.com/d5/tengo/blob/master/objects.go#L873. So I think we should remove it from this PR for consistent behavior.

I will remove it soon you are right I missed it

A builtin for map deletes makes perfect sense, but now that I think about it, for arrays, the go syntax of creating slices in the form a[i:j] might be better than a delete function. I'm gonna look into this further tomorrow.

Daniel, I thought that for a scripting language such a syntax may not be appealing; a = a[:2] + a[3:] if item is in the middle and garbage stays in the slice until the script ends (not a big problem though). Honestly, my future rule engine users, who won't be Gophers, can be confused, I guess.

If tengo will have methods like Array.pop(index) or Array.splice(...) etc. in the future, delete builtin should not support arrays. There must be only one way to do it.

Actually I really like the idea of having a separate builtin function of splice for array types. That way we can maintain the expected behavior of delete (that works for maps) and users can still choose to use splice for array manipulations. Thoughts? @geseq @ozanh

It sounds good to me.

Yeah splice sounds good.

I will remove array support from delete function if you are OK. Later I am going to implement a splice builtin. Guide me please.

Perfect!


Add syslog tls changes - EV-2481

Description
This PR has 2 changes.

Provide option to enable TLS for syslog forwarding.
Update the tigera-ca-bundle fluentd  specific paths (details below).

Enable TLS option for rsyslog.
Design Doc : https://docs.google.com/document/d/16xxQEbZXRM-7U52LFvLmm589GIypUyaS/edit#heading=h.gjdgxs
Story: https://tigera.atlassian.net/browse/EV-2481
Testing:

Create a Rsyslog server (We can clone a existing rene micro server using "create similar" option in GCP ). This creates a new micro server with rsyslog installed.
Follow Syslog step in rene's doc to set up the Syslog fowarding using TCP. Update the your box's configuration /etc/rsyslog.conf by mimic the one from rene's box.
To Test TLS, apply the below yaml to your cluster

apiVersion: operator.tigera.io/v1
kind: LogCollector
metadata:
  name: tigera-secure
spec:
  additionalStores:
    syslog:
      endpoint: tcp://hostname:port  // hostname -I in server box to find the IP , port is anything configured (eg:6514)
      encryption: TLS
      logTypes:
        - Flows
        - DNS
        - Audit
        - IDSEvents
  collectProcessPath: Enabled

Install gnutls-bin and rsyslog-gnutls.
sudo apt-get install gnutls-bin
sudo apt-get install  rsyslog-gnutls

Create self signed CA, key, cert in rsyslog server using certtool. Copy the CA to cluster by creating a secret.
copy CA into tls.crt file in the cluster and create configmap in operator namespace.
k create configmap syslog-ca --from-file=tls.crt -n tigera-operator

Update the rsyslog server "/etc/rsyslog.conf" with below values.

# comment the exiting TCP lines and the below

# provides TCP syslog reception
module(load="imtcp"
        StreamDriver.Name="gtls"
        StreamDriver.Mode="1"
        StreamDriver.Authmode="anon"
)
input(type="imtcp" port="6514")

$DefaultNetstreamDriver gtls
$DefaultNetstreamDriverCAFile /etc/path_to_cert/ca.pem
$DefaultNetstreamDriverCertFile /etc/path_to_cert/server-cert.pem
$DefaultNetstreamDriverKeyFile /etc/path_to_cert/server-key.pem

Restart and watch for logs.
sudo systemctl restart rsyslog
sudo systemctl status rsyslog
tail -n 1 -f /var/log/syslog

Update the tigera-ca-bundle fluentd  specific paths.
Today tigera-ca-bundle is mounted at 2 places
/etc/fluentd/elastic
/etc/pki/tls/certs/
While mounting on "/etc/pki/tls/certs/" existing Internet ca-bundle.crt which was bundle as part of tigera fluentd docker image is overwritten.
Hence replacing all the tigera-ca-bundle reference to new /etc/fluentd/elastic
For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
Need to be merged along with https://github.com/tigera/fluentd-docker/pull/293
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

@rene-dekker Addressed all the review comments.

@rene-dekker As discussed, updated the tigera-ca-bundle path to /tigera-ca-bundle/tigera-ca-bundle.crt


[SPARK-15103][SQL] Refactored FileCatalog class to allow StreamFileCatalog to infer partitioning

What changes were proposed in this pull request?
File Stream Sink writes the list of written files in a metadata log. StreamFileCatalog reads the list of the files for processing. However StreamFileCatalog does not infer partitioning like HDFSFileCatalog.
This PR enables that by refactoring HDFSFileCatalog to create an abstract class PartitioningAwareFileCatalog, that has all the functionality to infer partitions from a list of leaf files.

HDFSFileCatalog has been renamed to ListingFileCatalog and it extends PartitioningAwareFileCatalog by providing a list of leaf files from recursive directory scanning.
StreamFileCatalog has been renamed to MetadataLogFileCatalog and it extends PartitioningAwareFileCatalog by providing a list of leaf files from the metadata log.
The above two classes has been moved into their own files as they are not interfaces that should be in fileSourceInterfaces.scala.

How was this patch tested?

FileStreamSinkSuite was update to see if partitioning gets inferred, and on reading whether the partitions get pruned correctly based on the query.
Other unit tests are unchanged and pass as expected.

Test build #57672 has started for PR 12879 at commit e80483e.

@marmbrus

Test build #57674 has started for PR 12879 at commit e8639ea.

/cc @liancheng @cloud-fan

Test build #57672 has finished for PR 12879 at commit e80483e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57672/
Test PASSed.

Test build #57674 has finished for PR 12879 at commit e8639ea.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57674/
Test PASSed.

Test build #57690 has started for PR 12879 at commit 973847c.

Test build #57690 has finished for PR 12879 at commit 973847c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57690/
Test PASSed.

Test build #57704 has started for PR 12879 at commit 84864e8.

Test build #57706 has started for PR 12879 at commit 9e62ccf.

Test build #57704 has finished for PR 12879 at commit 84864e8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57704/
Test PASSed.

Merged build finished. Test PASSed.

Test build #57706 has finished for PR 12879 at commit 9e62ccf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57706/
Test PASSed.

ping @marmbrus

LGTM

Thanks! Merging this to master and 2.0