text:
Ionic2 app blank screen on iOS at first launch beta11

Hi guys,
Every time I created a new project in ionic2 shows white blank screen on launch. On ionic serve it works fine but on real iOS device it shows white screen (this happens with ionic2 beta-11 too).
below is log generated in Xcode console.

2016-08-10 18:56:04.670 HelloCordova[401:225916] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/CA19B78E-68F6-4EE9-8358-F5375716B21A/Library/Cookies/Cookies.binarycookies
2016-08-10 18:56:04.831 HelloCordova[401:225916] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want.
	Try this:
		(1) look at each constraint and try to figure out which you don't expect;
		(2) find the code that added the unwanted constraint or constraints and fix it.
(
    "<NSLayoutConstraint:0x124d2b9e0 V:|-(20)-[UIInputSetContainerView:0x124e56130]   (Names: '|':UITextEffectsWindow:0x124e4fb30 )>",
    "<NSLayoutConstraint:0x124d325b0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x124e56130]   (Names: '|':UITextEffectsWindow:0x124e4fb30 )>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x124d2b9e0 V:|-(20)-[UIInputSetContainerView:0x124e56130]   (Names: '|':UITextEffectsWindow:0x124e4fb30 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-08-10 18:56:04.927 HelloCordova[401:225916] Apache Cordova native platform version 4.1.1 is starting.
2016-08-10 18:56:04.929 HelloCordova[401:225916] Multi-tasking -> Device: YES, App: YES
2016-08-10 18:56:05.005 HelloCordova[401:225916] Using UIWebView
2016-08-10 18:56:05.009 HelloCordova[401:225916] [CDVTimer][handleopenurl] 0.220001ms
2016-08-10 18:56:05.014 HelloCordova[401:225916] [CDVTimer][intentandnavigationfilter] 3.943026ms
2016-08-10 18:56:05.014 HelloCordova[401:225916] [CDVTimer][gesturehandler] 0.187993ms
2016-08-10 18:56:05.033 HelloCordova[401:225916] [CDVTimer][splashscreen] 18.348038ms
2016-08-10 18:56:05.049 HelloCordova[401:225916] [CDVTimer][statusbar] 16.210973ms
2016-08-10 18:56:05.051 HelloCordova[401:225916] [CDVTimer][keyboard] 1.514018ms
2016-08-10 18:56:05.051 HelloCordova[401:225916] [CDVTimer][TotalPluginStartup] 42.393982ms
2016-08-10 18:56:05.602 HelloCordova[401:225916] Resetting plugins due to page load.
2016-08-10 18:56:05.733 HelloCordova[401:225916] Finished load of: file:///var/containers/Bundle/Application/EA59A5E0-FF8B-4BA3-8220-E12D67187C1F/HelloCordova.app/www/index.html

Is anyone facing such issue? And kindly provide a solution for this.
Thanks in advance.

I tried ionic run ios --device but after completion of build gives this error at the end in terminal.

2016-08-10 19:30:47.943 ios-deploy[5713:135452] [ !! ] Error 0xe8008016: The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Error: Error code 253 for command: ios-deploy with args: --justlaunch,--no-wifi,-d,-b,/Users/bista-mac/Documents/testApp/platforms/ios/build/device/Ionic2TestApp.app

Hey @vaibsVB ! It looks like you have two separate issues here. So for the first issue i have a question, are you storing cookies or using any kind of cookie plugin? Regarding the second error, i would recommend you check out this blog for a detailed walk through of how to get your free ios provisioning setup. Thanks!

hey justin,
I toggled the Keychain sharing setting in capabilities in Xcode and assigned particular Keychain group i.e. my free provisioning profile ID. And it works. Now my project working on iOS real device too.
Thanks

No problem! Thanks for using Ionic!

@jgw96 is there any way so that this issue does not generate in future? Because when every time I created a project using ionic 2 CLI at first launch it not render on device. Every time I need to add some patch.
So previously you shared a link that will be the solution or any other setting I have to do. Can you guide me in this?

Unfortunately, there is not much we can do as that is not really an Ionic issue but an Apple xcode issue. I would recommend asking around on our forum to see if anyone else is having the same issue with their xcode provisioning. I am sorry but I do not fully understand the second question, would you mind reiterating it?

Thanks justin for quick reply!
Actually, I'm also not familiar with this type of behaviour of Xcode.
And what I found is the bundle identifier of freshly created project is io.starter.ionic.
I replaced bundle identifier to com.demo.testApp (i.e. what I want to keep it) and after build it utomatically changed to com.ionicframework.testApp14324.
This may be issue of xcode ofcourse I guess.


text:
Splash screen & icon are not generated at the right place

Ionic version:  (check one with "x")
[ ] 1.x
[ x] 2.x
I'm submitting a ...  (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

At the end of the build the icon are copied to "/res" (cf http://i.imgur.com/2uWixRM.png) instead of "/platforms/android/res" (cf : http://i.imgur.com/yAyRf8A.png)
And then the splash screen and icon are the default cordova one.
Expected behavior:

At the end of the build the icon are copied to "/platforms/android/res" (cf : http://i.imgur.com/yAyRf8A.png)
Steps to reproduce:

on version 2.1.12
1 - you generate new icon & splashscreen : ionic resources
2 - then build : ionic build android
Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Your system information:

 ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v7.0.0
Xcode version: Not installed

having the same problem here

as a workaround you can try this https://github.com/driftyco/ionic-cli/issues/1166

@rodriguesgm try this
ionic platform rm android
ionic platform add android@latest
ionic resources
ionic build android

this worked for me

@danielsawan it worked too. Not the push notification icon as the other solution, but the app icon and splash images were ok

Hello all! Thanks for using Ionic. So this was an issue with a cordova android release not long ago that has since been fixed by the cordova team. The fix here is to install the latest android cordova platform as @danielsawan showed above. Thanks!

@jgw96 the only problem is that even with the latest android, the icons for notifications are not working.
It seems the build is not copying the custom icon for notifications to the android res folder. If I manually create the folder drawable-hdpi, drawable-ldpi, etc... and add the icon inside of those folders, the notification icon appears correctly on the android bars.
This is the res structure generated on android platform folder

This is my folder with the icon, splash icon and notifications icon

And this is the wrong behavior i'm having with the icons for noticications

So, I don't know if this is some issue of ionic buid, or from cordova android, or if it's not a bug and I should add a new configuration, because it was working before Ionic RC0.
any help?

@jgw96 OK, just saw here my mistake... it was a task on gulp that copied the files.. since Ionic stopped using gulp I need to add some other config to copy those files... thanks and sorry

source: gharchive/issue

authors: danielsawan jgw96 rodriguesgm

repo: driftyco/ionic

license: mit

license_type: permissive

license_source: bigquery


text:
docs(demos): padding on action content

Short description of what this resolves:
Added padding on the action sheet as described in issue #453
Changes proposed in this pull request:

padding attribute on

Ionic Version: 1.x / 2.x
2.x
Fixes: #453 partially
this is for issue #453

this is for issue #453 on the ionic-site repo

thanks

source: gharchive/pull-request


text:
Add pandas-path integration

Adds .cloud accessor to pd.Series and pd.Index via a pandas-path custom accessor
Adds simple tests for the integration
Adds docs for the integration
Updates changelog

@jayqi Let me know if you have thoughts on putting this functionality in cloudpathlib. Now that it is implemented, I could also see this making sense in the pandas-path package rather than here. I don't feel strongly either way.

Yeah, I guess it could go either way:

pip install cloudpathlib[s3]
pip install pandas-path

from cloudpathlib.pandas import cloud

pip install pandas-path[s3]

from pandas_path import cloud

Now that I've seen it, I guess the interface looks cleaner to have this live in pandas-path.

@pjbull the more I've thought about this one, the more that I think having this as an extension within pandas_path makes more sense than including it in cloudpathlib.

authors: jayqi pjbull

repo: drivendataorg/cloudpathlib

license: MIT

license_source: github-api


text:
[BUG]: MapColumnsToTableAlias always maps baseColumn as type never

What version of drizzle-orm are you using?
0.28.6
What version of drizzle-kit are you using?
No response
Describe the Bug
I'm using MapColumnsToTableAlias to create a type that conforms to a specific table schema, while allowing tables with any alias. However, the type always maps baseColumn to never, which conflicts with arrays in postgres. This triggers a type error if I pass in the original table without any manipulation.
export const cellTable = pgTable("cell_location", {
    id: varchar("id").primaryKey(),
    locationName: varchar("location_name").notNull().unique(),
    plant: smallint("plant").notNull(),
    featureFlag: varchar("feature_flag").array(),
});

const asdf = {} as MapColumnsToTableAlias<
  (typeof cellTable)["_"]["columns"],
  "cell_location",
  "pg"
>;

/**
should be Column<{
    name: "feature_flag";
    tableName: "cell_location";
    dataType: "string";
    columnType: "PgVarchar";
    data: string;
    driverParam: string;
    notNull: false;
    hasDefault: false;
    enumValues: [string, ...string[]];
    baseColumn: never;
}, object, object>
instead of never
**/
asdf.featureFlag._.baseColumn;

Expected behavior
No response
Environment & setup
No response

Have you tried using PgColumn or AnyPgColumn?

Check a better way to do it here.
Please feel free to reopen if you think this is still an issue.

repo: drizzle-team/drizzle-orm


text:
Check composer update/install exit status on deploy

Even if they fail, project-x is continuing.
It would be great it process abort instead.

Fixed in 2.3.0

repo: droath/project-x


text:
Align with new embedded-tls release

Do not merge before the next version of embedded-tls is released:)

@lulf you are too fast:)

repo: drogue-iot/reqwless


text:
Soul项目下新增README_cn.md

1.需要将现在的readme，翻译成中文。 文件名为 ：README_cn.md
如果贡献pr，请参考  https://dromara.org/website/en-us/docs/soul/contributor.html

报名！

assign to me

1

repo: dromara/soul


text:
如何删除某个文件夹及下面的所有文件呢，没找到文档。

比如某个桶下面有个tmp的文件夹，想删除它及下面的所有文件，该如何操作，求大佬告知。

获取对应存储平台，然后 getClient 自行操作，后续版本会增加列出文件功能

好的 可以了

好的👌

repo: dromara/x-file-storage


text:
Copter not arming through python script

Hello all,
I'm trying to make my drone fly without GPS and to move to certain distance by overriding RC commands, for maintaining position I am using optical flow camera and a lidar, but the very first thing is I'm not able to arm my copter through my script.
I'm using this following code:
#/usr/bin/env python
# -*- coding: utf-8 -*-
from dronekit import connect,VehicleMode,LocationGlobalRelative
from pymavlink import mavutil
import time
# Receiving from command line
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--connect',help="PORT_NO")
args = parser.parse_args()

# Connecting to the vehicle
connection_string = args.connect
print("Connecting to...% s" % connection_string)
vehicle = connect(connection_string, wait_ready=True)

#Function to arm and takeoff to a specified altitude
def arm_and_takeoff(aTargetAlt):
	print("Basic Prearm checks..dont touch!!")
	print("Waiting for vehicle to initialize")
	time.sleep(1)
	print("Arming Motors..")
	# Copter should arm in Guided-mode
	vehicle.mode = VehicleMode("STABILIZE")

	while not vehicle.is_armable:
		print("Waiting for vehicle to initialize...")
		time.sleep(2)

	vehicle.armed = True
	vehicle.flush()
        print("Is Armed:% s"% vehicle.armed)

	while not vehicle.armed:
		print("Waiting for arming...Mode:% s"% vehicle.mode)
		print("Is Armed:% s"% vehicle.armed)
		vehicle.armed = True
		time.sleep(2)

	print("Taking Off..")
	vehicle.simple_takeOff(aTargetAlt)

	while True:
		print("Altitude: ",vehicle.location.global_relative_frame.alt)
		#Break and return from function just below target altitude.
		if vehicle.location.global_relative_frame.alt>=aTargetAlt:
			print("Reached Target Altitude..")
			break
		time.sleep(2)

vehicle.close()
arm_and_takeoff(50)

But its printing:
Basic Prearm checks..dont touch!!
Waiting for vehicle to initialize
Arming motors..
Waiting for vehicle to initialize....
Waiting for vehicle to initialize....
Waiting for vehicle to initialize....
Waiting for vehicle to initialize....
Waiting for vehicle to initialize....

And it keep printing like this, i don't know what I'm missing or doing wrong.
And to note i have no GPS connected, only PX4Flow and Lidar, that's why I'm trying to takeoff in STABILIZE mode.
Any help would be greatfull.
Thanking you
Biswajit

Hi Biswajit,
The issue is with the code:
while not vehicle.is_armable:
print("Waiting for vehicle to initialize...")
time.sleep(2)
I, personally, have found that the vehicle will arm even is vehicle.is_armable is false. I have tried to adjust every setting just to see if vehicle.is_armable will become True. I couldn't find anything that worked for me. Just remove that segment of code. It will probably arm (at least it did for me, although I had GPS...)

Hey srex212,
Thanks for the solution, and im too glad that my code is working.
By the mean time i was working with RC Overrides to control individual
channels, by providing values and it worked. But my motive was to create an
mobile application that will act as the transmitter, and Im not sure how to
do that.
Like, the mobile screen will be having two joystics to replicate as the
transmitter, and i could do that, but how to send those values to raspberry
pi and the next is how to use that values inside my scripts.. If you can
give me any advice regarding this I will be grateful.
Thanks and regards
Biswajit
On Thu, Feb 23, 2017 at 6:31 PM, srex212 notifications@github.com wrote:

Hi Biswajit,
The issue is with the code:
while not vehicle.is_armable:
print("Waiting for vehicle to initialize...")
time.sleep(2)
I, personally, have found that the vehicle will arm even is
vehicle.is_armable is false. I have tried to adjust every setting just to
see if vehicle.is_armable will become True. I couldn't find anything that
worked for me. Just remove that segment of code. It will probably arm (at
least it did for me, although I had GPS...)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dronekit/dronekit-python/issues/695#issuecomment-281985803,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYdFCCziR-6eMH43VRXQErrHknUjVP4wks5rfYNCgaJpZM4L-LH0
.

hello @Biswajit1995 i'm working in the same project and did try your code but it didn't work for me.
it keeps telling me
waiting for arming .. Mode:VehicleMode:STABILISE
what should i do
@srex212  can you help me with his essue .
this how i made the connection :
i did run this commande in a bash
sudo mavproxy.py --master=/dev/serial0 --out=udpout:127.0.0.1:14550
and in the same time i did run
sudo python TakeOff2.py --connect 127.0.0.1:14550
in the other Bash

i want to add this too
when i want to arm it the mavproxy like this .it work but when takeoff i have this error

Hey srex212, Thanks for the solution, and im too glad that my code is working. By the mean time i was working with RC Overrides to control individual channels, by providing values and it worked. But my motive was to create an mobile application that will act as the transmitter, and Im not sure how to do that. Like, the mobile screen will be having two joystics to replicate as the transmitter, and i could do that, but how to send those values to raspberry pi and the next is how to use that values inside my scripts.. If you can give me any advice regarding this I will be grateful. Thanks and regards Biswajit
…
On Thu, Feb 23, 2017 at 6:31 PM, srex212 @.***> wrote: Hi Biswajit, The issue is with the code: while not vehicle.is_armable: print("Waiting for vehicle to initialize...") time.sleep(2) I, personally, have found that the vehicle will arm even is vehicle.is_armable is false. I have tried to adjust every setting just to see if vehicle.is_armable will become True. I couldn't find anything that worked for me. Just remove that segment of code. It will probably arm (at least it did for me, although I had GPS...) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#695 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AYdFCCziR-6eMH43VRXQErrHknUjVP4wks5rfYNCgaJpZM4L-LH0 .

Hey,Please can you tell me that this RC OVERRIDIN...is it working without gps??
if yes then can you please help me out with the code...
i'll be thankfull to you

repo: dronekit/dronekit-python


text:
Remove heartbeat listener if 5 bad AUTOPILOT_VERSIONs received

Older versions of ArduPilot always send capabilities through as 0.

Looks sane to me. Happy to merge if you can get the tests to pass :-)

lgtm

authors: hamishwillee mrpollo peterbarker


text:
add org.uberfire.domain

Added an explanaiton for org.uberfire.domain system property.
TBH, I doubt that the value 'ApplicationRealm' is a good default. 'ApplicationRealm' is not a security-domain name so it falls back to 'other'. I'll raise a JIRA for it.

merged into both master and 6.2.x, thanks!

authors: mswiderski tkobayas

repo: droolsjbpm/droolsjbpm-knowledge


text:
I18n overall fixes

Added internationalization to various strings

+1

master: 01b008b79365f93e2ae5cf5d0513ce61f179b0c7

@cristianonicolai Should this go into 6.4.x as well?

@csadilek merged on 6.4.x already https://github.com/droolsjbpm/jbpm-console-ng/commit/544fd786c4857f62ff2d933ec5e39f719d3c3e20

authors: cristianonicolai csadilek

repo: droolsjbpm/jbpm-console-ng


text:
JBPM-5152: added tests for assignments editor

Cherry pick of #295

prepared for review

+1

authors: jlindop jomarko

repo: droolsjbpm/jbpm-designer


text:
[6.5.x] JBPM-5249 - Higher level of automation when importing custom workItem…

…Handlers from a service repository
NOTE: this depends on jBPM PR  https://github.com/droolsjbpm/jbpm/pull/538
NOTE this fixes test fails for  BPMN2SyntaxCheckerTest

need to retest once droolsjbpm/jbpm#538 has been merged

jenkins retest this

@csadilek ready to be merged

@tsurdilo nope, it has conflicts and needs a plus one ;).

@csadilek ok sure. my bad
@jomarko @jlindop please test when you can

@tsurdilo sure, I am looking right now.

Hello @tsurdilo , please can you amend your PR according to this one https://github.com/droolsjbpm/jbpm-designer/pull/374 ? Currently designer will be not opened at all because of an exception during bean initialization.

@jomarko amended

@tsurdilo still in conflict that needs to be resolved.

@csadilek thanks!!! fixed

@tsurdilo there occurred a problem with the first installation of the custom task. During the first installing deployment descriptor is not updated (only dependencies are added into pom.xml). During the second installing everything works as expected. I can reproduce it every time when I deploy workbench to clean application server. Then I create new project, business process and I install first custom task via Service Repository editor. When I install second custom task both pom.xml and DD are updated correctly. Can you please try to reproduce this issue?

@jomarko just tried and cant -- https://streamable.com/9tqq
I have seen sometimes where the workbench takes its time to update the DD and the pom so maybe in your test after install wait a little and then open the editors (or try to reopen after a minute or so after first install) . maybe thats the same you see

@jomarko should we test this 6.5.x specifically on the build servers instead of locally? we tested on master seemed fine and i worry these issues now maybe come from some misses in local builds or something. not sure. wdyt?

@tsurdilo I agree with this option. But to be honest, I am not sure what exactly it means. Are there some servers where are deployed wars produced during jenkins build?

@jomarko shouldnt it be available like any other release builds for testing?

Hello @tsurdilo, I was investigating my issue more. The problem is quite simple. During the first custom task installation, 'if' on this line [1] evaluates to false and DD is not updated. I think that KieProject is not resolved on this line [2], because I can reproduce my issue always, if the 'Project Editor' was not opened before custom task installation.
After watching your video more times I think there are these steps necessary to reproduce the issue.

Start clean instance of eap7 (no war deployed there)
This is not shown in the video.
Deploy there kie-wb-distributions/kie-wb/kie-wb-distribution-wars/target/kie-wb-6.5.0-SNAPSHOT-eap7.war
In your video is the workbench url 'kie-wb'. I am not sure if you renamed the war or you used different one.
Be sure that 'Project Editor' was not opened. Then select and install custom task via 'Service Repository Editor'
Close the business process.
Check pom.xml and DD, pom.xml is updated, DD is not updated
Again install custom task via 'Service Repository Editor'
Both pom.xml and DD are updated

Please let me know if you are still unable to reproduce the issue.
[1]
https://github.com/droolsjbpm/jbpm-console-ng/pull/454/files#diff-e68407d8b34209e0cb9770b8b93e0eb4R91
[2]
https://github.com/droolsjbpm/jbpm-console-ng/pull/454/files#diff-e68407d8b34209e0cb9770b8b93e0eb4R86

@tsurdilo  Jozef & I have been looking at it this morning and have come up with some precise reproduction steps:

Build jbpm-designer with this PR
Build jbpm-console-ng with PR452
Build kie-wb-distributions/kie-wb, branch 6.5.x
Create a fresh installation of EAP (I use 6.4.6) with kie-wb-6.5.0-SNAPSHOT-eap6_4.war in standalone/deployments
Start EAP
Logon to kie-workbench
Select "Project Authoring"
Authoring will open in the uf-playground/mortgages project
Create a new BP called "BP1" in the default package
Click the "Connect to a Service Repository" buton on the Designer button bar
Enter the service repo address - on my machine this is: file:///home/jeremy/Documents/gitRepositories/droolsjbpm6.5.x/jbpm-designer/jbpm-designer-backend/src/test/resources/org/jbpm/designer/web/server/servicerepo   then click "Connect"
Select "Microsoft Academy", then click "Yes" at the "Install Selected Item?" Prompt.
Close the "Service Repository Connection" dialog.
Click on "Open Project Editor"
In the "Project Settings: Project General Settings" drop down, select "Deployment Descriptor".
In the "Work Item handlers" section, "Microsoft Academy" is not listed, but it should be.

Hope this helps.

not sure this is designer related. seems as if there is some differences in master and 6.5.x workbench code that is causing this. will investigate

@jlindop did you have the jbpm console pr in your test environment for pr https://github.com/droolsjbpm/jbpm-console-ng/pull/454 which depends on this one ? We had a similar issue when testing with master where DD was not being updated and the issue was that this code was not added.

After discussion with @tsurdilo and @jlindop I give +1
It will be easier to investigate the mentioned issue if this PR and jbpm-console-ng PR will be merged. Next the issue occurs only when pre-installed projects are used.
We keep the feature request jira still opened.

@tsurdilo  Yes, I had https://github.com/droolsjbpm/jbpm-console-ng/pull/454 in my test environment - the PR number in the reproduction steps I gave was the wrong one.

authors: csadilek jlindop jomarko tsurdilo


text:
Fix autoinclude script (and run it)

Summary: It is convenient. The main reason I did this, though, is
because it would make porting to webpack much easier.
Also, I changed FieldGroupMarkup.create -> FieldGroupMarkup.createForm
(to make it easier to use the script.)
Test Plan: sanity checked running changes with fake data. You should
double check this before commit, though

(submitted Dropbox CLA)

I made some comments on github. Are you able to see them?
In general:

I recommend splitting the create -> createForm change into a separate
revision, to separate automated changes from manual changes.
I would prefer if the import script (a) put things in alphabetical order,
and (b) didn't include unnecessary imports (I caught an extra import in one
place).
The script is a little scary to me. Advertising like "This is a super
hacky script" doesn't instill great confidence.  :-)  But, it does seem to
work. I don't know if we'll use it or not over here, but if it makes your
webpack work easier it's okay with me.
For bonus points, a test for write_includes.py would be awesome, even if
it's just covering basic stuff for now.

-Mike
On Thu, Feb 18, 2016 at 9:23 PM, Mihir Kedia notifications@github.com
wrote:

Summary: It is convenient. The main reason I did this, though, is
because it would make porting to webpack much easier.
Also, I changed FieldGroupMarkup.create -> FieldGroupMarkup.createForm
(to make it easier to use the script.)
Test Plan: sanity checked running changes with fake data. You should
double check this before commit, though
You can view, comment on, or merge this pull request online at:
https://github.com/dropbox/changes/pull/32
Commit Summary

Fix autoinclude script (and run it)

File Changes

M webapp/README
https://github.com/dropbox/changes/pull/32/files#diff-0 (9)
M webapp/display/changes/build_text.js
https://github.com/dropbox/changes/pull/32/files#diff-1 (13)
M webapp/display/changes/builds.js
https://github.com/dropbox/changes/pull/32/files#diff-2 (4)
M webapp/display/field_group.js
https://github.com/dropbox/changes/pull/32/files#diff-3 (5)
M webapp/display/grid.js
https://github.com/dropbox/changes/pull/32/files#diff-4 (3)
M webapp/display/info_list.js
https://github.com/dropbox/changes/pull/32/files#diff-5 (2)
M webapp/display/menus.js
https://github.com/dropbox/changes/pull/32/files#diff-6 (3)
M webapp/display/page_chrome.js
https://github.com/dropbox/changes/pull/32/files#diff-7 (5)
M webapp/pages/admin_page.js
https://github.com/dropbox/changes/pull/32/files#diff-8 (16)
M webapp/pages/admin_project_page.js
https://github.com/dropbox/changes/pull/32/files#diff-9 (19)
M webapp/pages/admin_repository_page.js
https://github.com/dropbox/changes/pull/32/files#diff-10 (11)
M webapp/pages/builds_pages/build_info.js
https://github.com/dropbox/changes/pull/32/files#diff-11 (14)
M webapp/pages/builds_pages/sidebar.js
https://github.com/dropbox/changes/pull/32/files#diff-12 (8)
M webapp/pages/fourohfour_page.js
https://github.com/dropbox/changes/pull/32/files#diff-13 (1)
M webapp/pages/project_page/builds_tab.js
https://github.com/dropbox/changes/pull/32/files#diff-14 (2)
M webapp/pages/project_page/commits_tab.js
https://github.com/dropbox/changes/pull/32/files#diff-15 (4)
M webapp/pages/project_page/details_tab.js
https://github.com/dropbox/changes/pull/32/files#diff-16 (1)
M webapp/pages/project_page/tests_tab.js
https://github.com/dropbox/changes/pull/32/files#diff-17 (2)
M webapp/pages/project_page/triage_tab.js
https://github.com/dropbox/changes/pull/32/files#diff-18 (2)
M webapp/pages/pusher_page.js
https://github.com/dropbox/changes/pull/32/files#diff-19 (2)
M webapp/pages/snapshot_page.js
https://github.com/dropbox/changes/pull/32/files#diff-20 (2)
M webapp/pages/tests_for_build_page.js
https://github.com/dropbox/changes/pull/32/files#diff-21 (4)
M webapp/scripts/write_includes.py
https://github.com/dropbox/changes/pull/32/files#diff-22 (26)
M webapp/server/api.js
https://github.com/dropbox/changes/pull/32/files#diff-23 (2)

Patch Links:

https://github.com/dropbox/changes/pull/32.patch
https://github.com/dropbox/changes/pull/32.diff

—
Reply to this email directly or view it on GitHub
https://github.com/dropbox/changes/pull/32.

Sorry for the radio silence on this, been juggling some other stuff. I'm going to rewrite the script to be much clearer and more solid on its own (especially since I'll want to use it on other projects.) Once I do, I'll update this pull request or open a new one.

new plan: tabling this script for now, since its not being actively used at dropbox. May come back to it later

authors: meitros treaster

repo: dropbox/changes


text:
Add kitspace link to readme

Now we have an easy way to order PCBs & electronic parts it would be good to make it discoverable from the electronics section of the readme
See below for context

https://github.com/drspangle/infidel-sensor/issues/19
https://kitspace.org/boards/github.com/drspangle/infidel-sensor/

Pull request #31 would resolve this issue if merged

This was addressed in #31.

authors: darigovresearch drspangle

repo: drspangle/infidel-sensor


text:
Add a range filter option (for numeric dimensions and strings)

This is part of Plywood/PlyQL and is currently being done using javascript
SELECT COUNT(*) AS 'Count' FROM `people` WHERE `age` BETWEEN 18 AND 30

Note: age is a dimension
Right now I have to do:
{
  "type": "javascript",
  "dimension": "age",
  "function": "function(a) { a = Number(a); return 18 <= a && a < 30; }"
}

Sometimes I have to filter on a range of string values like so:
{
  "type" : "javascript",
  "dimension" : "name",
  "function" : "function(x) { return(x >= 'bar' && x <= 'foo') }"
}

I would love it if you could add a between filter
Something like:
{
  "type": "between",
  "dimension": "age",
  "lower": 18,
  "upper": 30
}

The bounds to default to lower <= x <= upper but should be configurable

Fixed by #1936

authors: fjy vogievetsky

repo: druid-io/druid


text:
Remove materialization in chained query runner

Chained query runner materializes sequences into lists. But seemed not necessary.

IIRC, the sequences returned by individual query runners are lazy and the actual query processing is done while the sequence is accumulated.  ChainedQueryExecutionRunner materializes the sequences so that the actual query processing happens in processing threads rather than http threads.

@nishantmonu51 is correct, we want to make sure processing happens within processing threads and not outside. We should definitely add a comment to explain the reason the materialization exists.

I've thought about that but why should it be? and if it should be, should it be done in some wrapper for runner, not in chained runner?

@navis processing has to happen within the number of processing threads for several reasons:
a) we make processing threads configurable so a user is able to define how many cores should be used for querying
b) we need to ensure we don't exceed our max direct memory allocation, which we explicitly ask users to configure according to the number of processing threads they run.

@xvrl I got that it's possible to use more threads than expected. But it seemed not like to use more direct memory because it will return single Sequence. And still, should it (materialization) be done explicitly by wrapping with something like MaterializingQueryRunner?

@navis memory requirements would change for TopN's which uses the processing buffers, we have 1 processing buffer per processing thread, in case we use jetty threads instead of processing threads to accumulate sequence events in that processing buffer, we would need jetty threads * number of segments being scanned by each query - processing buffers.
does that makes sense ?

@xvrl @nishantmonu51 thanks for the explanation, but I think I'm still missing something. Currently it's working like,
                       ResultMergeQR      ChainedExecutionQR(3)
                                         |- List (materialized)
processing(memory) --- combining-seq  ---|- List (materialized)
                                         |- List (materialized)

But I'm suggesting that it would be ok with below, which can possibly occupy more threads but still not using processing memory.
                       ResultMergeQR    ChainedExecutionQR  HTTP-threads
processing(memory) --- combining-seq    --- sequence        --- *(>3)

@navis: AFAIU, the current flow is something like where each processing thread uses a processing buffer to accuumate results -
                       ResultMergeQR      ChainedExecutionQR(3)
                                         |- List (materialized)- Segment Scan using processing buffer
 --- combining-seq  ---|- List (materialized) -  Segment Scan using processing buffer
                                         |- List (materialized) -  Segment Scan using processing buffer

the processing buffer is used by the processing thread and is freed up when the Sequence is fully accumulated and is materialized in the List.
After the change proposed in the PR, the processing buffer will not get freed up until all the sequences are combined. Since the processing thread will get free as soon as it hands over the sequence the 1:1 mapping of processing threads and processing buffer will get broken.

If you want to see which thread is allocating and releasing the processing buffer to the buffer pool,
you can add debug logs to the StupidPool class for buffer take and close method.
In an ideal world, each processing thread should only take 1 processing buffer and release it when its done with the segment scan. and the number of buffers allocated should be equal to the number of processing threads.

I understand it will possibly occupy off-heap memory "longer" but it will not use "more". But seeing most of the OOM is occurred in heap memory not in off-heap one, I prefer to stick this way. Anyway it's about policy I think and I'm closing this.

authors: navis nishantmonu51 xvrl


text:
Fine grained buffer management for groupby

In this PR, I newly added two methods to Sequence for lazy evaluation of initial value of accumulation.
#3693 will cause some conflicts, and I believe that some changes of #3693 should also be applied to this patch. So, please review it first.

This change is

@jihoonson lots of merge conflicts due to some other PRs getting merged

@fjy, thanks. I fixed conflicts.

I've reviewed the core changes in GroupByRowProcessor so far, the delayed buffer initialization looks okay to me, I'll take a deeper look at the sequence changes in other files
Can you add a description to the PR that this changes the order of nested group by buffer acquisition such that the inner queries acquire buffers first as they are being processed, and also limits the number of merge buffers needed for nested queries to 2, regardless of the nesting depth?
#3806 added a doc comment in docs/content/querying/groupbyquery.md about the nested group by buffer usage, can you also update that?

@jon-wei, thanks for your review. I updated the PR description.
I'll also update the group-by query document soon.

Also, can you point me to the change related to the setting a blocking pool timeout? I wasn't able to find that while reviewing

@jon-wei and I had a talk via a messenger, and we concluded this patch isn't enough to #3819. I'll make another PR for it.
Regarding the change for setting a blocking pool timeout, I was little confused. Sorry for your confusion. I'll address your comments soon.

@jon-wei, thanks. I addressed your comments.

thanks, :+1:

@gianm thanks for your review. I'll add tests to check the number of merge buffers used for group-by queries.

@gianm thanks. I addressed your comments. Additionally, I did a simple refactoring for RowBasedGrouperHelper.

@gianm just for readability. I simply run GroupByBenchmark and got the same result.

authors: fjy jihoonson jon-wei


text:
Implementing dropwizard emitter for druid (https://github.com/druid-io/druid/issues/3927)

Corresponding issues are
https://github.com/druid-io/druid/issues/3927
https://github.com/druid-io/druid/issues/1996

@b-slim @himanshug
Requesting you to review this pull request.
The code structure is based on the graphite-emitter contributed by @b-slim

Any update on this?

Hi. Any update? Any schedule to review it?

Hi. Any update? Any schedule to review it?

Hi. Any update? Any schedule to review it?

Sorry about the delayed review. @rohitkochar would you please update this PR by merging master? You also need to update the package name and the license of all new files to org.apache.druid and the Apache license, respectively.

This would be great if it would allow emitting metrics in the various dropwizard supported formats.  We're specifically looking for prometheus exporting, which can be hooked up through the jmx exporter with https://github.com/prometheus/jmx_exporter

@rohitkochar Thanks for the PR. We are also looking for enabling exposing druid metrics via JMX.
@rohitkochar, are you still planning to work on this PR ?

FYI, I am working on refactoring this patch for latest druid. Will start by cherry-picking @rohitkochar commit so that he gets credit for the work done.

Closing in favor of https://github.com/apache/incubator-druid/pull/7363

authors: dkhwangbo jeffwidman jihoonson mlubavin-vg nishantmonu51 rohitkochar


text:
feat: graphql object id

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows conventional commit format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: dryerjs/dryerjs


text:
xExchImapSettings: Add Missing Cmdlet Parameters

The xExchImapSettings resource is currently missing one or more parameters from the corresponding Exchange cmdlet(s). The latest list of parameters can be found at https://docs.microsoft.com/en-us/powershell/module/exchange/client-access/set-imapsettings . Missing parameters may be version specific. Exchange 2010 only or older parameters should not be included. Parameters specific to either Exchange 2013 or Exchange 2016 (but not both) should be handled using the RemoveVersionSpecificParameters helper function.

Hi
I think this should be closed with the PR #415

You are correct. Thanks for following up on this.

authors: arielmoisis mhendric

repo: dsccommunity/xExchange


text:
Make smaller functions and methods

Specifically, for the estimators and metalearners we should make a separate risk ratio function; we should find a way to make estimate_causal_effect! for g-computation smaller; estimate_causal_effect! for double machine learning should definitely be broken up into smaller functions; and crossfitting_sets should also be smaller. These smaller functions will then need to be testes.

Done!


text:
Update run-log.html

Move defaults limits to the top

This is done outside of this PR.

authors: dshearer techtonik

repo: dshearer/jobber


text:
get the position of one widget after dragged

when I have dragged one element, I will want to know the whole position of the grid. But the serialize_change function can not fix my problem.

if you have a fix I'd gladly accept a PR

authors: dsmorse iamwelk


text:
gitignore docs folder

Because Travis autobuilds + pushes docs we can gitignore this so that
we don't have to have doc commits

Just kidding, we just want to delete the build folders.

repo: dsten/datascience


text:
Set username who executes process

WHY
For example, root user cannot read configration in /home/core/.docker/config.json.
WHAT
Make it enable to specify username who executes process

Codecov Report

Merging #3 into master will increase coverage by 0.28%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   66.66%   66.95%   +0.28%
==========================================
  Files           3        3
  Lines         114      115       +1
==========================================
+ Hits           76       77       +1
  Misses         27       27
  Partials       11       11

Impacted Files
Coverage Δ

systemd/unit.go
60% <100%> (+1.37%)
:white_check_mark:

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 972b8dd...ccd7d72. Read the comment docs.


text:
Show created/assigned/mentioned/subscribed issues from repos that are not mine or in my orgs

Eg. I won't see this issue in Created, beacuse this repo is not mine, or in my orgs.
However, it would be useful for me to see all issues I created, or I'm assigned/subscribed to, or mentioned there,

Sounds good. Let me take a look. :eyes:

I think it should be visible because it uses /issues end point which is List all issues across all the authenticated user’s visible repositories including owned repositories, member repositories, and organization repositories.

@dtaniwaki I can't see this issue in any of the tabs. Probably because it's not any of my owned repositories, member repositories, or organization repositories.
Similarly, I don't see any other issues from others repositories, no matter if I'm subscribed to them, mentioned there, or created them.

authors: dtaniwaki iki

repo: dtaniwaki/github-checker


text:
wrong span for error

If compile and run code bellow with syn 1.0.11 it prints:

err expected : span LineColumn { line: 1, column: 0 } LineColumn { line: 1, column: 0 }

But error location is near String it is not 'line 1, column: 0'.
If fix syntax: _: String, and print spans of arguments of function b all spans are correct.
So something wrong with error span calculation.
fn main() {
    let code = r#"
impl Foo {
   fn b(a: i32, String) {}
}
"#;
    let ast = match syn::parse_file(code) {
        Ok(x) => x,
        Err(err) => {
            println!(
                "err {} span {:?} {:?}",
                err,
                err.span().start(),
                err.span().end()
            );
            return;
        }
    };
}

Thanks! Fixed in 1.0.12.

authors: Dushistov dtolnay

repo: dtolnay/syn


text:
add stream merge engine

[feat] add stream merge engine

@luky116  Please fix the code conflict.

Codecov Report

Merging #81 (8467929) into master (74ecb54) will increase coverage by 1.42%.
The diff coverage is 78.31%.

@@            Coverage Diff             @@
##           master      #81      +/-   ##
==========================================
+ Coverage   27.45%   28.87%   +1.42%
==========================================
  Files          47       55       +8
  Lines        8669     8918     +249
==========================================
+ Hits         2380     2575     +195
- Misses       6000     6043      +43
- Partials      289      300      +11

Impacted Files
Coverage Δ

pkg/mysql/rows.go
6.36% <0.00%> (-0.20%)
:arrow_down:

pkg/merge/merge_rows.go
63.15% <63.15%> (ø)

pkg/merge/aggregater/min_aggregater.go
73.33% <73.33%> (ø)

pkg/merge/aggregater/avg_aggregater.go
78.18% <78.18%> (ø)

.../merge/impl/group_by/group_by_stream_merge_rows.go
81.08% <81.08%> (ø)

pkg/merge/aggregater/add_aggregater.go
81.81% <81.81%> (ø)

pkg/merge/aggregater/max_aggregater.go
86.66% <86.66%> (ø)

pkg/merge/impl/group_by/group_by_value.go
88.88% <88.88%> (ø)

pkg/merge/priority_queue.go
91.17% <91.17%> (ø)

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 74ecb54...8467929. Read the comment docs.

authors: codecov-commenter dongzl luky116

repo: dubbogo/arana


text:
Add shortest common supersequence ( see the problem statement in the description )

Given two strings str1 and str2, find the shortest string that has both str1 and str2 as subsequences.
Ex:
str1 = AGTBACTB str2 = ACGTABACBTB;
ans: ACGTABACTB;
str1 = geek str2 = eke
ans: geeke

I am interested in this issue.

@kunal299 are you done with this issue ?

@dubesar Yes, I am done with the issue but I have a doubt in the first example. The answer to the first example should be:-
ACGTABACBTB
I think the answer written by you has a mistake.

In which directory should I create this file.

I am done with this issue. Can you please assign me this. I would love to contribute the code for the same.

@Ishita-0112 I am assigned to this project first.

@Ishita-0112 I am assigned to this project first.
I understand. But is this issue closed? And are you done with the requirement?

repo: dubesar/Java-A-Z


text:
Shell is stuck loading when using Firefox Incognito mode

When opening https://shell.duckdb.org/ in Firefox Incognito mode the shell gets stuck like in this screenshot:

In regular Firefox window it works fine:

Linux, Firefox 105.0.1

Seems it's actually fixed, thanks again for opening this.
Behaviour now on Firefox incognito, and to some degree situations where indexedDB will fail to initialise, is that a console.warn("") message will inform no history could be loaded/persisted, but the shell will work regularly.
Thanks @ankoh and @domoritz.

authors: carlopi ttomasz

repo: duckdb/duckdb-wasm


text:
Unable to perform WHERE queries on partitioned column

I have a dataset partitioned on a specific column using delta-rs. I encounter an exception when I execute a SELECT query with a WHERE clause targeting the partition column.
Query:
select * from delta_scan('D://partitioned') WHERE PartitionColumn= 1 LIMIT 10;
Error:
IO Error: Hit DeltaKernel FFI error (from: While trying to read from delta table: 'D://partitioned/'): Hit error: 2 (ArrowError) with message (Json error: whilst decoding field 'minValues': Encountered unmasked nulls in non-nullable StructArray child: Field { name: "PartitionColumn", data_type: Int32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} })
Other queries on this table work (and WHERE clause targeting other columns)

I experience the same. Maybe this has to do with the fact that the partition column does not exist in the underlying Parquet files and must be read from the transaction log instead.

I was able to modify the metadata of delta tables produced by delta-rs so duckdb can filter partition now. Root cause is stats field in the metadata where it contains (serialized) maxValues and minValues which are rows parquet files in partition. and those rows are missing partition columns (like the data itself). when I add this manually, duckdb is able to select data from it. it also skips the invalid partitions 🤯
I'm not sure who's wrong here: delta kernel or delta rs. @samansmink what is your experience with delta-kernel? are bugs fixed quickly. otherwise @jorritsandbrink maybe we should file this in delta-rs. they were AFAIK pretty responsive

delta-rs team is super responsive, you can open a PR there, they will discuss if it should move to delta-kernel
I've personnally added partition column into the data directly but I still have a weird issue when filtering on it (despite also being in the data)

authors: Johanneshn jorritsandbrink rudolfix thomas-chauvet


text:
Add Helper Interface For Custom Activity Contracts

Task/Issue URL:
Description
This Interface provides help to easily use custom activity contracts. e.g: with this implementation you only need to define data classes (Serialize or Parcelize), Bundles or primitive types and avoid overwriting createIntent or parseResult functions every time you write a custom contract.

@DeFuex does this PR address any accepted issue or discussion in our repo?
Please refer to our contribution guidelines to know more about how to contribute to the project.

@cmonfortep i don't think it's an accepted issue or one that exists (yet), but i will check the guidelines properly

Thanks, just create a discussion first, and we can chat about it. If it's something that can improve our codebase we can decide next steps. 👍
I'm closing this PR until we decide what to do.

authors: DeFuex cmonfortep

repo: duckduckgo/Android


text:
Generalize pixel-param removal

Task/Issue URL: https://app.asana.com/0/488551667048375/1205898947038457/f
Description
Generalize the pixel param removal interceptor, migrate existing users and remove duplicate interceptors
Steps to test this PR
QA optional, just code review

Current dependencies on/for this PR:

develop

PR #3829   👈

This stack of pull requests is managed by Graphite.


text:
Update autofill dialog copy, changing "logins" to "passwords"

Task/Issue URL: https://app.asana.com/0/0/1205900373687630/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3695

PR #3867   👈
PR #3865
PR #3844
PR #3840
PR #3807
PR #3773
PR #3760

PR #3761

PR #3711
PR #3703
PR #3702

PR #3734

PR #3696

This stack of pull requests is managed by Graphite.


text:
Feature/privacy practices screen

Reviewer: Mia
Asana: https://app.asana.com/0/414235014887631/457416080701397/f
CC:
Description:
Privacy Protection screen.
Steps to test this PR:

[ ] Test 1

Visit DDG
Observe Good Privacy Practices with green header icon with check, and single good entry

[ ] Test 2

Visit Facebook.com
Observe Mixed Privacy Practices with red header icon with cross, and two bad entries

[ ] Test 3

Visit Steampowerd.com
Observe Good Privacy Practices with green header icon with check, two good entries and a single bad entry

[ ] Test 4

Visit Google.co.uk
Observe Mixed Privacy Practices with red header icon with cross, and three bad entries

[ ] Test 5

Visit each privacy protection page
Observe correct line height on each page

[ ] Test 6

Tap in the TOSDR link area
A new tab is launched with the TOSDR website

Under what conditions would I expect to see "Poor privacy practices"? Youtube.com gets a "D" tosdr score and the extension labels youtube as poor however we label them as mixed.

Should the detail text be context specific? It looks like we are labelling the EFF as having bad privacy practices when they are unknown

If you mean

Poor privacy practices do not adequately protect the personal information you share with a website.

Then that is just generic text about privacy practices. I will update the subtitle to have the same text as the overview and that should clarify things.
wrt your first comment, yep it was being too generous. Will fix.

authors: brindy subsymbolic

repo: duckduckgo/iOS


text:
USB-HID device failure after call to 'sleep' or 'deepSleep'

Hi.
I have a Teensy 3.0 set up as a USB-HID device acting as a keyboard.
Arduino IDE 1.6.8, Teensyduino 1.28. Running at 48MHz.
My setup contains
  config.setTimer(35);
  config.setPeripheral = USB_ON;
  Keyboard.begin();
. . .

And my loop is like
. . .
  rescanKeyboard();

  // Snooze.idle();  // this works, but has a minimal effect
  // Snooze.sleep(config); // this pauses, but breaks USB-HID
  // Snooze.deepSleep(config);  // this pauses, but breaks USB-HID
  delay(35); // the old, power hungry code
. . . // do keyboard logic . . .
  digitalWrite(ledPin, (keyDown) ? HIGH : LOW);

If I call Snooze.idle, the USB device continues to work, but the delay is very small (I haven't checked with a scope, but it's around 500us)
The sleep and deepSleep calls pause and resume effectively -- I can see a big power consumption drop, and the 'key-down' led lights as expected.
However, the USB HID device no longer works (does not show up as a device) as soon as the delay is called.
If I reduce config.setTimer to 1 or 0, the USB still dies.
This failure also happens if I use the REDUCED_CPU_BLOCK call at any point.
Power consumptions are (approx):
plain delay()            -- 130mw
for() loop around idle() -- 127mw
sleep() / deepSleep()    -- 50mw

Can you help?
Many thanks.

I've been traveling as of late I'll be back next week.

How do i use -> rescanKeyboard();
USB is disabled during any sleep so you might need a longer delay after waking like 700ms. This is a limitation of sleeping the teensy and using USB. But to be sure it could work i need a simple test case sketch that shows the issue and can compile.

Thanks for your time on this.
If the USB is disabled, that might be a show stopper -- HID specifies a device as 'faulty' if fails to respond to a poll every 500ms, and I think most OSs are stricter than that.
I found that for (i=0;i < 50; i++){ Snooze.idle();} gave a delay without killing the USB connection, but millis() counting seems to be broken when I did that (I guess the non-RTC timer gets sleeped?) and so getting a reliable delay seems tricky.
A minimal sketch:
#include <Snooze.h>
SnoozeBlock config;

void setup() {
  config.setTimer(100);
  config.setPeripheral = USB_ON;
  Keyboard.begin();
  delay(1000); // Windows can't accept input immediately after a keyboard is attached
}

int x = 0;
void loop() {
  Snooze.sleep(config); // comment this out
  //delay(100);         // and this in to test without sleep

  if (x++ == 10) {
    Keyboard.print("still working");
  }
}

That should type "still working" after 2 seconds.
For interest, here is the code for the project (please excuse my sloppy code) : https://gist.github.com/i-e-b/2ae28cd4e46a3113ea04/343ff0c9ceca36cbcd7918e41d587074f70219a8
setup is on line 162, loop is on 205.

The clocks are stopped in all sleep modes so it takes time to reconnect with the pc after waking up from sleep. You need to let the device reconnect before trying to print to the keyboard. Try a delay of 700ms after waking before using the keyboard.
I'm still developing a new and improved version of Snooze that I hope to release by the end of the week that will address the idle problem and let the USB stay connected during "sleep".

I made USB Serial driver that might help but I'm going to close this issue, version 6 is released.


text:
[Feature Request] System Shortcut Bypass

So I tries to create a pie menu for the windows key but then I realized that all my windows shortcuts are now useless unless i recreate a submenu for all the shortcuts that I use with the windows key.
And so it would be very helpful if we could use our shortcut combinations,
So the algorithm would be like this:

win button pressed and held
pie menu appears
other combination key pressed
pie menu disappears and shortcut is executed

This makes sense to me being that it's such an accessible key.  I'll see if this can be done.  In the meantime, capslock and tilde are also decent keys to sacrifice.

This could also be solved with a different activation mode, let's call it 'On Move', where the menu only opens when the mouse moves a set number of pixels while the key's held, and if the key is released without this being the case, the original hotkey is executed.
I use this all the time in Blender with Pie Menu Editor, so I can re-use existing hotkeys! I want to use it here to create an alternative to the right mouse context menu in Firefox, without taking away access to the original

authors: GarvitGothwal Michaelknubben dumbeau

repo: dumbeau/AutoHotPie


text:
Idea: add automation name to the report

Watchman could show automation name in the report for a quick reference.

If service is not available it is impossible to identify its name in most cases.

repo: dummylabs/thewatchman


text:
Permit to show full path during scan

Is your feature request related to a problem? Please describe.
Hello,
First, thanks to develop gdu.
During the scan, I would like to be able to see the full path instead of shortened one.

Describe the solution you'd like
gdu --no-wrap-path ( or whatever you want ).
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This was already implemented in dundee/gdu#174
The only think you need to do is to set current-item-path-max-len in the config file. E.g. like so:
style:
    progress-modal:
        current-item-path-max-len: 1000

I will write some documentation for it.

Thanks !

repo: dundee/gdu


text:
JS version

Hi,
Trying to use this with an existing Node app that is JS only.
Is there a straight-up JavaScript version of this library / example instead of Typescript?
I'm guessing that I could create my own JS version using your example, but maybe there's something already available?
Thanks.

Hi, Trying to use this with an existing Node app that is JS only.
Is there a straight-up JavaScript version of this library / example instead of Typescript?
I'm guessing that I could create my own JS version using your example, but maybe there's something already available?
Thanks.

Found the necessary js code in example folder! Thanks.

Found the necessary js code in example folder! Thanks.


text:
🛑 Mention Bot is down

In bc3e2b7, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 89 ms

Resolved: Mention Bot is back up in 4b11910.

repo: durof/status


text:
🛑 Mention Test Bot is down

In 82cdc22, Mention Test Bot (https://backend.isbotdown.com/bots/mentiontestbot) was down:

HTTP code: 200
Response time: 91 ms

Resolved: Mention Test Bot is back up in 75c2c58.


text:
🛑 Mention Bot is down

In 8bb4eaf, Mention Bot (https://backend.isbotdown.com/bots/mentionbot) was down:

HTTP code: 200
Response time: 116 ms

Resolved: Mention Bot is back up in 7933033.


text:
🛑 Mention Test Bot is down

In b7eab8f, Mention Test Bot (https://backend.isbotdown.com/bots/mentiontestbot) was down:

HTTP code: 200
Response time: 117 ms

Resolved: Mention Test Bot is back up in eeb2bce.


text:
🛑 Mention Robot is down

In e99b8fe, Mention Robot (https://backend.isbotdown.com/bots/mentionrobot) was down:

HTTP code: 200
Response time: 89 ms

Resolved: Mention Robot is back up in 2963313 after 1 hour, 24 minutes.


text:
🛑 Mention Test Bot is down

In ac3c106, Mention Test Bot (https://backend.isbotdown.com/bots/mentiontestbot) was down:

HTTP code: 200
Response time: 91 ms

Resolved: Mention Test Bot is back up in d91036d.


text:
🛑 Mention Test Bot is down

In 438f90b, Mention Test Bot (https://backend.isbotdown.com/bots/mentiontestbot) was down:

HTTP code: 200
Response time: 85 ms

Resolved: Mention Test Bot is back up in 48119e8 after 1 hour, 47 minutes.


text:
Made the map block slightly more user friendly

I tried to make the map block a little more user friendly with this PR, not sure I did it entirely correctly so would love a second pair of eyes.
By my read of map.rs, the map block has two different modes, depending on the value of repeat. If repeat is a blank string, then the map block loops over the items in an array that is output by the block specified in from. If repeat is a number, however, then it loops repeat times over the entire output of the block from. This behavior change based on the value of repeat was not really expressed in the UI, so I took a stab at doing so.
Now there are two modes: "Loop over the array output of block:" and "Loop N times over the full output of block:", which are selectable by a <select>. The repeat input only shows up when you select "Loop N times over the full output of block:".
Other changes I did here:

I gave the from and repeat inputs a gray background so you can tell that they are inputs when they don't have focus.
I made the app un-runnable when from or repeat are blank. I also gave those inputs an orange outline when they are blocking run.

I did not validate that from is a valid block name, which we might want to consider in the future. It gets a little complicated when you rename the block that the map block is referencing, so I wanted to leave it be for now.
Pics:

map block in "Loop over the array output of block:" mode

map block in "Loop N times over the full output of block:" mode

Orange outlines and run button disabled when inputs are blank

This uses way to much real estate. I'm fine with the app not being completely self-explainative. Examples and documentation play the role of explaining how the app works for now.
I'd be fine with a tooltip that provides in context help

authors: aickin spolu

repo: dust-tt/dust


text:
[front/lib] - feature: track last edit timestamp for workspace usage

Description
This PR aims at adding a lastEditAt field to capture the most recent edit timestamp for agent configurations. (cc request from @thib-martin)
Risk
None
Deploy Plan
Deploy front

👍 from an analytics pov

authors: JulesBelveze thib-martin


text:
ControlPlane causes growl to crash

Delayed actions will cause growl to crash.  Example, 20 second delayed SMB mount

Huh, are we passing something to growl that already might have been freeed?

I've always wondered, can look later
On Jan 19, 2012, at 11:29 AM, David Jennesreply@reply.github.com wrote:

Huh, are we passing something to growl that already might have been freeed?

Reply to this email directly or view it on GitHub:
https://github.com/dustinrue/ControlPlane/issues/124#issuecomment-3570666

This might not be fixed, as once I'm in doGrowl it might already be too late, even if I "wait."  Might be useful to use NSOperation and Queue to queue growl notifications up rather than trying to trust that timing will workout properly.

authors: djbe dustinrue

repo: dustinrue/ControlPlane


text:
Add Whisper package

OpenAI's Whisper package.
Added an extra example Jupyter notebook, to use microphone to record audio and then transcribe.

Can you use whisper-X? I have problems with that

Hi @johnnynunez,
Thank you for your suggestion!
I added a whisperx package in my fork (and made a draft-PR #322), so it would be great if you can test it if you have a Jetson device.
You can
git clone --branch dev-whisperx https://github.com/tokk-nv/jetson-containers
cd jetson-containers
./build.sh whisperx --skip-test=all --no-github-api
./run.sh $(./autotag whisperx)

What I tested was, first coping a sample wav file in jetson-containers/data/audio/ directory, and then in the container;
whisperx /data/audio/Micro-Machines.wav
cat Micro-Machines.txt

I'm curious to know how other examples would work, so it would be great if you can share your test results.
Thank you!

authors: johnnynunez tokk-nv

repo: dusty-nv/jetson-containers


text:
Question about payments

Hello dear @dveldhoen!
I have a question: When using the package itself, is there some rate limit imposed on my project or is it just being ran locally? So basically the question would come down to: Does using this package come with cost when it's running on my own server?
I hope not, I like using this package, I think it's probably a fair amount for an API but would be way to much for me for software running on my end.
Dear regards,
Snakysnake

Hi, thanks for contacting. It's indeed an API, all the logic and heavy lifting runs on our servers. Currently the rate limit is about 100 invoices/15 minutes, but will soon be aligned with what is posted on NPM 50 invoices/month. For $17,99 you can use it without limits. Please let me know if you need help setting up the apiKey with the paid version. We would greatly appreciate your use of our paid version, since it helps us fund new features. Some great ones are coming soon! Like adding discount and the option to set prices with tax either included or excluded. Kind regards!

authors: dveldhoen snakysnake

repo: dveldhoen/easyinvoice


text:
missing dash in release version retrieved

at this repo
https://github.com/Aircoookie/WLED/releases
notice the latest is 0.13.0-b2
that's dash -b2
lastversion is returning pre-release version without that dash, which sadly breaks the downloads etc. without me doing some extra sed manipulation
> lastversion --pre Aircoookie/WLED
> 0.13.0b2

installed lastversion via pip, 3.02

for now I just added a sed
ver=$(lastversion --pre Aircoookie/WLED)
ver=$(sed -e s/b/-b/ <<< "$ver")

lastversion normalizes versions according to PEP 440 Version Identification and Dependency Specification. So 0.13.0b2 is a more or less canonical version (while others can put it as -b2 or -beta2 or whatever fancy format which lacks any consistency).
To get an unmodified release tag, you can do:
[user@pc ~]# lastversion --pre Aircoookie/WLED --format json | jq -r .tag_name
v0.13.0-b2

breaks the downloads etc.

Or better yet, get the desired download URLs from lastversion itself:

[user@pc ~]# lastversion --pre Aircoookie/WLED --format source
https://github.com/Aircoookie/WLED/archive/v0.13.0-b2/WLED-v0.13.0-b2.tar.gz

[user@pc ~]# lastversion --pre Aircoookie/WLED --format assets
https://github.com/Aircoookie/WLED/releases/download/v0.13.0-b2/esp32_bootloader_v2.bin
https://github.com/Aircoookie/WLED/releases/download/v0.13.0-b2/WLED_0.13.0-b2_ESP01.bin
https://github.com/Aircoookie/WLED/releases/download/v0.13.0-b2/WLED_0.13.0-b2_ESP32.bin
https://github.com/Aircoookie/WLED/releases/download/v0.13.0-b2/WLED_0.13.0-b2_ESP32_Ethernet.bin
https://github.com/Aircoookie/WLED/releases/download/v0.13.0-b2/WLED_0.13.0-b2_ESP8266.bin

Lastly, lastversion can do downloads for you:
lastversion download --pre Aircoookie/WLED

etc.

I forgot that for the bare tag name, you can use --format tag, e.g.:

lastversion --pre Aircoookie/WLED --format tag

But still, I highly recommend checking the download command of lastversion. You don't need un-normalized versions.

all good info thx!
my script downloads a particular asset so download option not useful in my case, unless there is a way to tell lastversion to download a particular asset of the set instead of the source?

well yes it can get the asset url which avoids my issue
but can it download that instead of the source?
lastversion --pre Aircoookie/WLED --format assets --filter ESP32.bin

https://github.com/Aircoookie/WLED/releases/download/v0.13.0-b2/WLED_0.13.0-b2_ESP32.bin

@dkebler looks like it can, if invoked like this:

lastversion download Aircoookie/WLED --pre --format assets --filter ESP32.bin

ok ha it can
lastversion --pre Aircoookie/WLED --format assets --filter ESP32.bin -d ESP32.bin
I think you should add this example to your readme.    Many times it's a particular asset that needs to be downloaded (like a binary for particular platform)

Just ending this by thanking you again.  I have all kinds of bash and nodejs scripts I've written to get repo release assets from different projects but with lastversion I can dump/simplify all those.  This is a small BUT very useful project.

authors: dkebler dvershinin

repo: dvershinin/lastversion


text:
chestとneckのボーンがVRM仕様では必須だがWikiにはoptionと書いてある

記述をどちらかに統一お願いします。
VRM仕様の当該項目は下記
https://dwango.github.io/vrm/vrm_spec/#定義しているボーン
Wikiの当該項目は下記
https://github.com/dwango/UniVRM/wiki/ヒューマノイド#用語

FBXのHumanoidボーンマッピング画面ではchestとneckはOptional Boneと書いてあるのと、ニコニ立体ちゃんモデルにchestのボーンが含まれないことから、たぶんWikiの方が正しいんじゃないかとは思っています。

repo: dwango/UniVRM


text:
WIP: dimod serialization

This is a work in progress.

Codecov Report

Merging #218 into master will decrease coverage by 0.18%.
The diff coverage is 82.22%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
- Coverage   93.19%   93.01%   -0.19%
==========================================
  Files          30       30
  Lines        1763     1789      +26
==========================================
+ Hits         1643     1664      +21
- Misses        120      125       +5

Impacted Files
Coverage Δ

dimod/io/json.py
89.69% <82.22%> (-3.27%)
: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 54303f1...ca0ad86. Read the comment docs.

authors: arcondello codecov-io

repo: dwavesystems/dimod


text:
Change make_quadratic to use a loop rather than recursion

Closes #556

Codecov Report

Merging #557 into master will increase coverage by 0.01%.
The diff coverage is 96.49%.

@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
+ Coverage   93.33%   93.35%   +0.01%
==========================================
  Files          52       52
  Lines        3557     3564       +7
==========================================
+ Hits         3320     3327       +7
  Misses        237      237

Impacted Files
Coverage Δ

dimod/higherorder/utils.py
95.65% <96.49%> (+0.35%)
: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 463e889...d10aa7e. Read the comment docs.


text:
Adtt 398/lazy fixed ec and fixed ec args

Change name from FixedEmbeddingComposite to LazyFixedEmbeddingComposite
Allow FixedEC to accept embedding xor source_adjacency

Please don't merge yet. I may need to change the stacklevel of a warning.

Okay to merge. Leaving LazyEC's warning to default 'stacklevel=1'.

repo: dwavesystems/dwave-system


text:
Missing libraries sentiment movies

id 2105
Missing: nltk en  mpld3

Missing: prettytable, tabulate en ColabTurtlePlus

repo: dwengovzw/PythonNotebooks


text:
TokenMismatchException On adding new employee through admin panel

TokenMismatchException error facing while adding record to Employees module.
It displays 'This value exist in database' even though that value does not in Database.

On console it gives this error.

On doing inspect element and checking header response. It shows TokenMismatchExceptin

Help me to solve this error. I am new to this. @gdbhosale

Hi,
I think because you already choose unique for the field, and i suggest you didnt modify anything on default module (fresh installed)

authors: bobbysiagian chaitalipatil

repo: dwijitsolutions/laraadmin


text:
Modal-backdrop not removing with only 1 modal.

First I have confirmed that by HTML does not have multiple root elements. I have the following code...
app.controller('SampleModalController', function($scope, close, Restangular, graphService, d32) {
var _this = this
$scope.dismissModal = function(result) {
    close(result, 200); // close, but give 200ms for bootstrap to animate
};
this.types = [];
this.items = graphService.getGraph().nodes;
this.nodes = this.items.map(function(item, index, items){
    return item.title
});
this.onselect = function(selected){
    console.log("Selected");
    d32.recenter(selected);
    close();
}
Restangular.oneUrl('nodeType', '/node/types').get().then(function(data){
    _this.types = data.types;
})
});

Problem is when I call onselect the modal goes away but the backdrop stays. What am I missing?

I have the same issue when I upgrade Bootstrap from v3.3.1 to v3.3.5.
It is fine when I use Bootstrap v3.3.1.

+1

Same issue with Bootstrap v3.3.5.
With Bootstrap v3.3.1 I get the backdrop on TOP of my modal.

My workaround was to just manually remove the backdrop when the modal closed:
modal.close.then(function(result) {
            $('.modal-backdrop').remove();
}

:+1:  @SaintPeter  worked for me

@SaintPeter worked for me too, thanks!

@SaintPeter :+1:

+1

There is also a nicer solution with 0.12 https://github.com/dwmkerr/angular-modal-service/releases/tag/v0.12.0, you can do this with a preClose hook:
ModalService.showModal({
  templateUrl: "some/bootstrap-template.html",
  controller: "SomeController",
  preClose: (modal) => { modal.element.modal('hide'); }
}).then(function(modal) {
  // etc
});

authors: SaintPeter Shingwa alexanderzeillinger angelxmoreno dwmkerr felipegr jrgleason moshie sufleR

repo: dwmkerr/angular-modal-service


text:
Best Evidence style guide

Add our Style Guide to our documentation:

The font is Poppins. https://fonts.google.com/specimen/Poppins

@iteles I'm not sure if these colours are correct. The primary and secondary colours do not appear to be in the designs at all. Any thoughts?

@iteles It seems that the font given in this style guide poppins, may be incorrect.
This is the invision font that we were given :

And this is the poppins font:

At first, we thought there was a difference in font weighting, but you can see that the g is different. Can we get confirmation on which font is correct?

Aaaaaah, ok, it looks like the 'Style Guide' tab in the Sketch file was a test rather than the actual style guide (though @Jen-Harris can confirm).
From what I can see:

Fonts:

Titles: Work Sans Bold
Text: Work sans regular

Text colour:

Brighter red is the accent hex DE1E2E
Darker red is hex 7C2935

Hello yes sorry the Sketch files were a WIP and then I didn't correct them - I can do this if it's helpful?
What you've said is correct though @iteles for both the fonts and colours.
Sorry for the confusion!!

No problem @Jen-Harris, if we have the correct ones already then let's leave it for now and then once you look at the app itself for the additional half day we can get it all up to date!

authors: Jen-Harris RobStallion iteles parkhabit

repo: dwyl/bestevidence-site


text:
feat(query): Add remote queries handled by agent

copilot:all

Current dependencies on/for this PR:

main

PR #4521   👈

This comment was auto-generated by Graphite.

repo: dxos/dxos


text:
feat: Editor comments story

Re: https://github.com/dxos/dxos/issues/5040
Demo
https://github.com/dxos/dxos/assets/3523355/695434eb-434b-40d2-9289-7c3b1059bc28

@richburdon Looks nice! Is it possible to make the comments line up with where they occur in the main text?

@richburdon Looks nice! Is it possible to make the comments line up with where they occur in the main text?

I see you addressed that possibility in this comment.

authors: jessmartin richburdon


text:
Possible bug: tasking non-visible target still grants measurement

Check SSAScheduler._taskAgents(). Tasking a (truth) non-visible target should not grant a measurement.

Suspicions confirmed. There is no check for tasking non-visible targets, so a measurement is granted.
Relevant method

def _taskAgents(
        self,
        actions_array: ndarray[int],
    ) -> None:
        """Tasks agents according to their rows in actions_array.

        Args:
            actions_array (ndarray[int]): (N, M) array where N=number of targets and
                M=number of sensors. Values are 0 or 1, where 1 indicates a sensor/target
                pair action.

        Target will be tasked the same if there are multiple 1s in a row or a single
            1 in a row. Meaning, the non-physical states of the agent (ie: target_filter
            estimates) will evolve the same whether one or multiple sensors are
            tasked to the target.
        """
        # pull out targets from list_of_agents
        list_of_targets = [x for x in self.agents if type(x) is Target]

        # Loop through actions rows and task target if there is a 1 in its row.
        # Note: Logic doesn't change if there are multiple 1s in a row (multiple
        # sensors looking at one target).
        # Nonphysical states will update as if a single 1 were in the row.
        for i, row in enumerate(actions_array):
            # print(row)
            if 1 in row:
                # print(f"tasking target {list_of_targets[i].agent_id}")
                list_of_targets[i].updateNonPhysical(task=True)
            else:
                # print(f"Non-tasking target {list_of_targets[i].agent_id}")
                # if not tasked, still update non-physical states
                list_of_targets[i].updateNonPhysical(task=False)


text:
Add Roblox OS

Pls Add Roblox os its linux based

[ ] Omg

Cease the spam.
If you would like to be taken seriously, open a proper issue.

it is im making a os and i need help with neofetch

if u understod

this is a real issue @dylanaraps

You are welcome to open another issue. Please do it properly this time.

repo: dylanaraps/neofetch


text:
Haiku OS not recognized

Description
After installing and running on Haiku OS, I get the error: "Unkown OS detected: Haiku".
Neofetch version
1.9.1
Operating system
Haiku R1/Alpha 4.1

Haiku OS support was added to 2.0 which hasn't been released yet. See the changelog:
https://github.com/dylanaraps/neofetch/blob/master/CHANGELOG.md#operating-system
You'll have to wait till 2.0 is released or install the latest master to use neofetch on Haiku OS.

authors: PauloGDPeixoto dylanaraps


text:
genesis bridge investigation (release 2.1.x)

Description

Closes #XXX
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.
PR review checkboxes:
I have...

[ ]  Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ]  Targeted PR against the correct branch
[ ]  included the correct type prefix in the PR title
[ ]  Linked to the GitHub issue with discussion and accepted design
[ ]  Targets only one GitHub issue
[ ]  Wrote unit and integration tests
[ ]  Wrote relevant migration scripts if necessary
[ ]  All CI checks have passed
[ ]  Added relevant godoc comments
[ ]  Updated the scripts for local run, e.g genesis_config_commands.sh if the PR changes parameters
[ ]  Add an issue in the e2e-tests repo if necessary

SDK Checklist

[ ] Import/Export Genesis
[ ] Registered Invariants
[ ] Registered Events
[ ] Updated openapi.yaml
[ ] No usage of go map
[ ] No usage of time.Now()
[ ] Used fixed point arithmetic and not float arithmetic
[ ] Avoid panicking in Begin/End block as much as possible
[ ] No unexpected math Overflow
[ ] Used sendCoin and not SendCoins
[ ] Out-of-block compute is bounded
[ ] No serialized ID at the end of store keys
[ ] UInt to byte conversion should use BigEndian

Full security checklist here
----;
For Reviewer:

[ ]  Confirmed the correct type prefix in the PR title
[ ]  Reviewers assigned
[ ]  Confirmed all author checklist items have been addressed

---;
After reviewer approval:

[ ]  In case the PR targets the main branch, PR should not be squash merge in order to keep meaningful git history.
[ ]  In case the PR targets a release branch, PR must be rebased.

closed in favor of https://github.com/dymensionxyz/rollapp-evm/pull/277

repo: dymensionxyz/rollapp-evm


text:
how to download

idk how to download

@connor11016

go here https://github.com/dz333n/wcecl/actions/workflows/build.yml
choose the very first row
you will see artifacts section at the bottom, download any you want


text:
Multiple UITableView Sections?

I haven't been able to figure out how to do this for quite a while. Does the UITableView always have to have 1 section for the empty data set to be displayed? I have a UITableView that may or may not have about 3 different sections, but I can't seem to figure out how to return the empty data set's view with such conditions.

I have the same question, but for UICollectionView. A response would be appreciated.

authors: HackShitUp alijaza

repo: dzenbot/DZNEmptyDataSet


text:
GH-2120 Switch to using an Server-Sent Event endpoint for Console

This PR adds an SSE endpoint to reposilite for relaying log messages to the CLI console. The /api/console/execute endpoint is used to send commands. Closes #2120
TODO/More Info Needed
The checklists below are a mixture of talking points that I need more input on as well as "TODOs" that need to be resolved. Please excuse the mess..
Meta

[x] ~/api/console/log is the endpoint. I'm open to ideas if you'd like to call it something else.~ It's good enough for now.
[x] ~There's not really a OpenAPI Spec for SSE endpoints so I put some basic info for now.~
[ ] Currently all event messages are sent under the "log" event. Honestly it's kind of repetitive with the endpoint also being "log", so it'd make sense to send all messages under the default "message" event if the endpoint ends up staying as /log.
[ ] Should there be special formatting of the /api/console/execute endpoint if it's done through CLI? Currently it just outputs as REMOTE EXECUTION /api/console/execute from 127.0.0.1 since right now there's no way to differentiate between a remote execution and what was sent through CLI.

Backend

[x] ~Failed to close writer (java.lang.InterruptedException) shows up when stopping the application.~ Unrelated to my PR.
[x] ~SseClient connections aren't properly closed when stopping the application.~ All connections are closed in the ReposiliteDisposeEvent event under ConsolePlugin.
[x] ~SseClient connections aren't properly closed in general. They only close when an attempt is made to push an event (which throws a logged exception)~ All connections are sent a "ping" comment every second to verify that they are still connected. Javalin will handle closing the connection for us if the ping comment does not get received.

Frontend

[x] ~Adds an extra dependency, extended-eventsource, which reimplements EventSource using Fetch. This is required to pass an authentication header to the SSE endpoint, since you can't do so with the built-in EventSource API.~ Seems to work fine.
[x] ~Closing the browser tab or refreshing the page doesn't properly close the SSE connection. The backend fails to notice that there is no longer a connection, and ends up throwing a small CME error the next time a console command is sent from the same credentials.~ Closing the browser tab or refreshing the page properly closes the SSE connection now.
[x] ~Console connection error - Make sure that WebSockets are enabled needs to be changed/reworded~ It has been adjusted.
[x] ~Stop using built-in EventSource for readystate constants (the ones from extended-eventsource return undefined and I don't know why)~ Good to leave as is.
[x] Currently if the SSE connection fails/errors/disconnects, then it doesn't attempt to reconnect. Should it? How many times should it try to reconnect before giving up? It won't attempt to reconnect.

Other
I took the liberty of renaming the internal CliEndpoint class to ConsoleWebSocketHandler, to keep file names consistent. I can revert this if it was left like that on purpose.

Backend changes

All SSE connections are now closed when shutting down reposilite.
All SSE connections now get pinged every second (Javalin closes any connections where the ping fails)

Frontend changes

Close sse connection before the page is reloaded/refreshed. This is technically not needed, but it stops an annoying error from appearing in the browser console.

Etc
I believe I've fixed all the errors/bugs. This PR is now ready for review.

Currently all event messages are sent under the "log" event. Honestly it's kind of repetitive with the endpoint also being "log", so it'd make sense to send all messages under the default "message" event if the endpoint ends up staying as /log.

I think that's fine - it costs us nothing and and this endpoint will be most likely used only by our internal frontend implementation.

Should there be special formatting of the /api/console/execute endpoint if it's done through CLI? Currently it just outputs as REMOTE EXECUTION /api/console/execute from 127.0.0.1 since right now there's no way to differentiate between a remote execution and what was sent through CLI.

That would be a great enhancement, I guess we could add some sort of ExecutionSource enum that would indicate if command was invoked from cli/api/web ui. It's up to you if you address that, we can even move this to separate PR to not introduce more changes in the scope of this one :)

Thanks, great work! :heart_hands:

authors: dzikoysk granny

repo: dzikoysk/reposilite


text:
Preview won't work if basePath: is set

I want to host my documentation in GitHub Pages, so I have to set basePath: to point it to my repo pages.
Now, instead of rendering my locally edited copy, the index html is retrieving the remote files hosted in github.
Is there any way to override (or remove) basePath: in vscode preview?

Maybe you can create a new HTML file named indexLocal.html whose basePath is not set, and set it as the Docsify entry: /docs/indexLocal.html. Don't forget to add it to the .gitignore. 😃

I want to host my documentation in GitHub Pages, so I have to set basePath: to point it to my repo pages.

I think it works though you don't set the basePath.  basePath is used where the files are placed on the other site.

I want to host my documentation in GitHub Pages, so I have to set basePath: to point it to my repo pages.

I think it works though you don't set the basePath. basePath is used where the files are placed on the other site.

For Github Pages apparently it works only if you have a single file.
With multiple pages and _sidebar.md in use, without basePath set it will only retrieve single README.md
I'm not so sure of what's going on, but someone had the same problem before and basePath suggestion fixed it.
https://github.com/docsifyjs/docsify/issues/1623
I have tried your suggestion before, making index.html into an alternative local copy and set the new entry file. But it broke the entire site, causing a page not found error. I think 'index.html' is a hardcoded reference in Docsify, so it will not recognize the other file names.

But it works well for me.
https://user-images.githubusercontent.com/71511961/201515890-4929f55e-4452-44e7-8ef5-cc69de5d93fa.mp4
Here are the settings.

.vscode
local.html

Is there anything wrong with your blog? I have removed the basePath and hosted it in GitHub Pages. And all look well.
https://dzylikecode.github.io/docs.kupacareer.com.my/#/

authors: dzylikecode razirazo

repo: dzylikecode/VSCodeExt-docsify-Preview


text:
API PathFinder: Pfad abspeichern

Einen berechneter Pfad (basierend auf einen von einem Dozenten erstellten Lernpfad oder weil nach einen Thema gesucht wurde), kann abgespeichert werden. Dazu sollten folgende Bestandteile abgespeichert werden:

Suchkriterium: wurde ein Kurs ausgewählt oder ein Skill(-Set) gesucht

Wurden Präferenzen im User Profile hinterlegt, die u.U. zu einer Individualisierung führten

Welche Lerneinheiten wurden in welcher Reihenfolge ausgewählt

Bearbeitungsstand pro Lerneinheit (nicht bearbeitet, abgeschlossen, unvollständig bearbeitet?)
Was passiert mit Lerneinheiten, die ein User in mehr als einem Pfad hat. Die müssen im Zweifel in beiden Pfaden abgespeichert und verändert werden

Was ergibt sich daraus für Pfade wenn in Pfad 1 Lerneinheit X abgearbeitet wurde, Lerneinheit X in Pfad 2 aber noch unbearbeitete Vorgänger hat -> Theoretisch könnten diese nun überprungen werden, insofern deren Inhalt nicht als übergreifendes Lernziel definiert wurden

Dieses Issue erschlägt damit die Anforderung zu POST path-finder/{user-id} muss aber an den Parameter wohlmöglich editiert werden (siehe Miro Board):

Durch Issue #116 abgelöst

repo: e-Learning-by-SSE/nm-skill-service


text:
UI starters

FLASK
#1 Personalized index.html

#2 Personalized stub.html

FASTPAGES
#3 Use of Submenu
#4 Personal usage of JavaScript + HTML fragment table
#5 Scrum Process
#6 Team Project

2.7+
I love how personalized your flask site is. The pictures and descriptions really tell a lot about your passions and hobbies.
You also completed all the requirements such as the submenu and the data table using javascript and HTML fragments.

2.7
Had personalized server and fastpages and did a great job with collaboration and JavaScript

2.7, good work with the SCRUM diagram with roles. Flask server is very nicely customized. Very clear final project purpose, well-put and described. Javascript work is fully complete with customized table. Well done.

2.7+, on the first portion I have her a 0.9+ because it looked very well proportioned and nice, on the second portion I gave here a 0.9+ because it also looked very nice and captured the spirit of the assignment, and on the third portion I gave her a 0.9+ because it was very detailed and javascript.

I would give you a 2.7, all the required elements are included, and the pictures show some nice information about yourself.

authors: LoveMyDogs drewreed2005 e-shen2022 keiraokimoto trentcardall vivianknee


text:
Where is handler used?

Hi! I am hobby programmer, and I am not fully understand some part of languages. In doc section you wrote "Example handler". What is handlers and where are they can be helpful? Could you give any examples?

The handler is useful if you want to create your own DOM structure instead of using the predefined way, for example. Or if you want to do any sort of processing where you don't need the DOM.

authors: bubnenkoff devebookingservices

repo: eBookingServices/htmld


text:
[21054] Make explicit the need to keep alive the flow controller descriptor name

Description

#793 Introduced an ABI break changing const char* to std:.string in the flow controller descriptor name. This PR warns the user in the sample snippets that the name must be kept alive during participants lifetime.
Important This PR has to be cherry picked on the following backports:

#802
#803
#804

Contributor Checklist

[X] Commit messages follow the project guidelines.
[X] Code snippets related to the added documentation have been provided.
[X] Documentation tests pass locally.
NO (see PR description) Applicable backports have been included in the description.

Reviewer Checklist

[x] The PR has a milestone assigned.
[x] The title and description correctly express the PR's purpose.
[x] Check contributor checklist is correct.
[ ] CI passes without warnings or errors.

@richiprosima please  test this

@Mario-DL please remember to cherry-pick this onto the other backports

authors: EduPonz JesusPoderoso Mario-DL

repo: eProsima/Fast-DDS-docs


text:
Import/Export

Currently there is no proper import and export functionality. Currently I'm using two python scripts, but one has to set the database connection values as hardcoded string in the file or as parameter. If we only want one function/script for all instances we should either call the script from php and get the values from the .env file or re-implement it in php. First solution would be easier, but it is a bit ugly...
Nethertheless we need the following functionality:

[x] Import tree

[ ] leave existing concepts as they are + add new concepts from the upload
[ ] update existing concepts based on the upload + add new concepts from the upload
[x] purge all existing concepts + add new concepts from the upload

[x] Export tree

[x] Export selected element and it's descendants

[ ] Disable GUI during import/export (because it takes long)

There are a couple of php libraries for parsing rdf files

EasyRDF
DOM
SimpleXML

Any preference? @derntl

I started working with EasyRDF, because it already has all the logic for rdf files. Starting something new would result in a lot of debugging and may not be compatible with other software.

As mentioned in #46 the import wipes the whole database and inserts the data from the rdf file. Is this the desired behaviour or should the code instead update existing entries and add missing ones? @eScienceCenter/spacialists

@AngusLeBoeuf @dirkseidensticker  please answer the last comment.

during import and or export (takes long) the gui should be disabled (loading pizza at top level)

Not all aspects fixed by PR #46

@v1r0x @derntl Generally speaking a more subtle behavior would be preferential. Good options could be:
A. leave existing concepts as they are + add new concepts from the upload
B. update existing concepts based on the upload + add new concepts from the upload
C. purge all existing concepts + add new concepts from the upload

@dirkseidensticker I added your options to OP. Am I right that C. is the current (default) behaviour?

@v1r0x Yes, I think C should be default.

authors: derntl dirkseidensticker v1r0x

repo: eScienceCenter/ThesauRex


text:
Adding topic contracts

Refactored the messaging contracts to support topic operations and added two new ones that aggregate queues and topics, one for callbacks and one for Rx.
See this diagram:

I like the interface hierarchy. Do these individual interfaces though serve practical purpose on their own? Not sure what your implementation strategy is but won't there be one global implementation aggregating all at the end (e.g. Messenger)? If indeed so, I would provide single interface and explain the logical division in a diagram rather then in the code directly.

authors: VaclavK djfr

repo: eShopWorld/core


text:
Xpand.XAF.ModelEditor cannot work with VS 2022

I cannot find extension Xpand.XVSIX on Visual Studio Market using VS2022. Everything is fine with VS2019. When I pull project Xpand.XAF.ModelEditor to rebuild with VS2022, VS2022 throw error: Microsoft.Visualstudio.ExtensionManager not found. Is this extension compatible with VS2022?

yes it is not ported PR is acceptable if u take the time to port it

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.

authors: apobekiaris expand garung1611

repo: eXpandFramework/eXpand

license: MS-PL


text:
introDidFinish not called on 2.9.0

Hello,
I think there is an issue with the 2.9.0 version, The delegate method "introDidFinish" is not called anymore.
I worked fine on the 2.8.3 version, it start failing after I upgrade to the 2.9.0 version.
For now I fall back to the 2.8.3 version.
Could you investigate and tell me if I'am wrong.
Thanks !

Hey! In 2.9.0 introDidFinish:wasSkipped: was introduced to provide additional info to delegate: EAIntroView.h#L28

Ok my bad, Thanks for reply so quick !

No problem. First place to look into in similar cases - CHANGELOG.md :)
Looks like we have the same issue in example project. I'll keep this issue open until I update it.

Ok Thank for advices !

authors: ealeksandrov erdemPinch

repo: ealeksandrov/EAIntroView


text:
Missing whitespace in branch "commits behind" node description

When in a repository with a branch that is behind (presumably also ahead, though I haven't tested it) the remote, hovering the cursor over the "n commits behind" node shows a description with a missing whitespace character between "behind" and the branch name (in my case, "origin/master".

GitLens Version: 10.2.2

VSCode Version: 1.46.1
OS Version: Linux x64 5.7.8-5-MANJARO

Steps to Reproduce:

Have a branch that is behind the remote
Hover the cursor over the "n commits behind" node under the "Branches" tree

Fixed in GitLens 11

authors: deadmeu eamodio

repo: eamodio/vscode-gitlens


text:
Clearing the storage will set all values to undefined

Clearing the (local) storage with chrome.storage.local.clear() will set all use-chrome-storage hook values to undefined.
I expect them to return to their initial values instead.

Closed per PR #2

repo: eamonwoortman/use-chrome-storage


text:
first commit

Here is a comment

This change is

This change is

repo: earlAchromatic/firetruss-demo-app