[7.x] Add new Redirector::signedRoute(), Redirector::temporarySignedRoute() methods

This pull requests adds two new shortcut methods for redirecting to signed routes.
Currently, this can be achieved by:
redirect()->to(URL::signedRoute(...));

but this can get hard to read and isn't as fluent as the other methods, such as redirect()->route().
This PR adds support for the following:
redirect()->signedRoute($route, $parameters, $expiration, $status, $headers);

// and

redirect()->temporarySignedRoute($route, $expiration, $parameters, $status, $headers);

Happy to implement these as macros in userland, but I don't see why they're not implemented in core.

Curious about the use case on this. Signed URLs are usually used to confirm that your backend actually generated the URL. However, in this case, you are doing the redirecting so you ALREADY know that you generated the URL.

Curious about the use case on this. Signed URLs are usually used to confirm that your backend actually generated the URL. However, in this case, you are doing the redirecting so you ALREADY know that you generated the URL.

Yeah, understandably. I work for an insurance company where we have a public quote process.
When you start a quote you get taken to 'foo.com/quote/product/{order}' without any need for authentication. We're using the temporary signed URLs for these routes to ensure that customers can't enter or change the policy number and view another
"in progress" quote for example.
The original developer had used md5 hashes with a custom middleware for this, which had the same effect (with less security) as signed routes. Happy to provide more information.

Thanks 🙏🏼


Website load time is too slow.

Currently, the SmartPy compiler starts loading on hitting the landing page which combined with all dependency is around 15Mb.
Solution
Only load SmartPy compiler when needed that is in modules 3 & 4.

The Loading time could be also slow due to the large videos we have on the landing page?
They are of 3 & 1 Mb

SmartPy compiler isn't the issue for the high load time. It's being loaded async.

Fixed as per @manangouhari


Change 15-3sum.rs

File(s) Modified: 15-3sum.rs
Language(s) Used: rust
Submission URL: https://leetcode.com/submissions/detail/827325064/

Accidentally added another commit to this PR


Don't work with 4.2 Xamarin.Forms

🐛 Bug Report

Expected behavior
Unhandled Exception:
https://gist.github.com/Roker2/b13162c5797c255a9dc6a8d3ec2d5c36
Reproduction steps
Download project
Install the latest Xamarin.Fomrs, Xamarin.FFImageLoading and Xamarin.FFImageLoading.Forms
Try to compile
Configuration
Version: <IP_ADDRESS>2
Version Xamarin: <IP_ADDRESS>5419
Platform:

[x] :robot: Android

Device: Xiaomi Redmi Note 4X Snapdragon version 3/16 with CarbonROM 7.0 (Android 9.0)

You should check your settings. It works fine on our devices.
Version: <IP_ADDRESS>2
Version Xamarin: <IP_ADDRESS>8062
Works on zebra TC25 Android 7.1 and on oneplus 5T android 9.0
If you recently updated you project do not forget to doe a clean solution en remove the bin and obj folders of you project manually
and add
`
CachedImageRenderer.Init(true);
        var config = new FFImageLoading.Config.Configuration()
        {
            VerboseLogging = false, //turn on for debugging
            VerbosePerformanceLogging = false,
            VerboseMemoryCacheLogging = false,
            VerboseLoadingCancelledLogging = false,
            FadeAnimationEnabled = false,
            FadeAnimationForCachedImages = false,
            DelayInMs=0,
            Logger = new CustomLogger(),
        };
        ImageService.Instance.Initialize(config);

        CachedImageRenderer.InitImageViewHandler();

`
to your main activity.


iPad Modal - Keyboard disappearing causes message view to move below modal lower bounds and out of view

I am trying to use this library to handle a 'message bar' (similar to Messages). It works perfectly on the iPhone, but when used in an iPad modal, dismissing the keyboard causes the message bar to animate with it and once it hits the bottom of the modal view, it moves out of view.
Is there a way to ensure that the attached view respects the lower bounds of its superview when the keyboard is dismissing?
FYI - My message bar is just a UIView with a UITextView and UIButton.

Followup: This appears to be only for iOS 8. iOS 7 seems to be just fine.

Here is the fix. In a nutshell, just use a 'min()' function to determine if new frame is outside of the bounds of your containing view:
        self.view.addKeyboardNonpanningWithFrameBasedActionHandler({[unowned self] (keyboardFrameInView, opening, closing) -> Void in
            var toolbarFrame = self.messageToolbar.frame
            // Ensure message bar doesn't move outside of modal view's bounds
            toolbarFrame.origin.y = min(keyboardFrameInView.origin.y - toolbarFrame.size.height, self.view.frame.size.height - toolbarFrame.size.height)
            self.messageToolbar.frame = toolbarFrame
        }, constraintBasedActionHandler: nil)


MQTT integration

possible feature?
Also possibly direct homeassistant integration?

https://www.home-assistant.io/docs/mqtt/discovery/

Yes, MQTT would be really nice!

@murmelbahn can you tell me more about what you would expect from an mqtt integration?

Hi, the best I can imagine is a Home Assistant integration with the same features as WLED. Pick a color, pick an effect and controll brightness.

Oh yes, sounds pretty nice.

Hi, has someone made any progress on this? I was looking for a way to use wireless communication instead of USB. Maybe with a wifi module on the arduino and mqtt communication on the local network.
Any hint on where to start in order to add this feature (i'm new to C#).
Thanks!

Hi! I this issue is more about integrating adrilight in a smarthome
environment and not about controlling the actual leds over wifi.
I had an idea for controlling the leds over wifi since forever but sadly I
have too many other things in my life right now. My starting point would be
to use an esp with wled firmware on it connected to the leds. Then teach
adrilight to talk to wled with some of the faster udp options. Timing is
absolutely critically for a good experience. Mqtt is too slow for this.
Even this approach needs to be tested if it is fast enough.

Ok thanks, I'll check on that. For mqtt i was thinking to create a topic for each led and thus update the status on each topic independently, but i agree that it may create some latency.
I'll try to do some testing on my own and i'll let you know if something works


notify: create telemetry spans when sending emails, pd, slack

Codecov Report
Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (6dbedc8) 48.91% compared to head (b93349e) 48.97%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #212      +/-   ##
==========================================
+ Coverage   48.91%   48.97%   +0.06%
==========================================
  Files          87       87
  Lines        4042     4059      +17
==========================================
+ Hits         1977     1988      +11
- Misses       1744     1750       +6
  Partials      321      321

Files
Coverage Δ

internal/incoming/stream/publisher.go
66.66% <100.00%> (+2.38%)
:arrow_up:

internal/notify/mock_sender.go
57.14% <100.00%> (ø)

internal/notify/multi.go
53.24% <100.00%> (+0.68%)
:arrow_up:

internal/notify/slack.go
80.39% <100.00%> (+1.66%)
:arrow_up:

internal/notify/email.go
59.57% <60.00%> (+2.27%)
:arrow_up:

internal/notify/kafka.go
0.00% <0.00%> (ø)

internal/pipeline/aggregate.go
49.16% <0.00%> (-0.84%)
:arrow_down:

internal/notify/pagerduty.go
0.00% <0.00%> (ø)

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


added home section as mentioned in the issue

Issue: 64
added  home section

Great work @GammaMicrowave 🍾


auto move task in kanban

Gitea version (or commit ref): 1.14.2
Git version:
Operating system:

Database (use [x]):

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

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

[ ] Yes (provide example URL)
[ ] No

Log gist:

Description
is there a way to auto move to different columns? for example when we create a new issue it goes directly to 'Uncategorized' and we have to manually move it to 'To Do' or 'In Progress' and once the issue closed we need to move it manually to the 'Done' section as well.
Screenshots

Currently not.
See my issue, #14359.


homogenise peptidoforms for fragpipe and i2masschroq

Added parsing for the "MOD:x" proforma formatting of i2masschroq, changed Acetyl in FragPipe to Acetylation

Changes introduced to fit into main: #475


Create a propertie to get a dict with the names and layers of the model.

Trying to solve the TODO from fchollet,  "We could build a dictionary based on layer names since they are constant, but we have not done that yet.”. I’d just create a new propertie to the Model's Class.

Hi @CaioWing It looks like your PR relates to the Keras component. Please submit it to the github.com/keras-team/keras repository instead. Thankyou.
@fchollet, @qlzh727


Index static and const refs [phab:D981]

Created by djrenren at 2016-07-22 21:02:46:
This change implements xrefs for static and const elements. Static strings are explicitly ignored.

zarko accepted this revision at 2016-07-25 17:17:35

djrenren closed via commit 86e6c0d0b5ef6e03d3a7ee79a820a1a24ab45bef at 2016-07-25 17:36:00


parse config.yml content with ERB to use variables

For instance:
username: <%= ENV["USERNAME"] %>
database: <%= ENV["DATABASE"] %>
password: <%= ENV["PASSWORD"] %>
hostname: <%= ENV["HOSTNAME"] %>
prefix: <%= ENV["WP_PREFIX"] %>

@robmiller, please can you review this?

Looks useful to me!

Thanks.


Dsl#with_source should restore the previous source

Fixes #3974.

Awesome catch! Id actually prefer to see this covered by just a normal test as well, there are some helpers for setting up sources.

@segiddins Yep that was my thought in https://github.com/bundler/bundler/pull/3978#discussion_r38821336. Cool, I'll do it.

@segiddins Updated!

:+1:

awesome, thanks!
@homu r+

:pushpin: Commit a2ae13c has been approved by indirect

:hourglass: Testing commit a2ae13c with merge 90c6d3a...

:sunny: Test successful - status

Good catch!


Reactivity Transform wraps default function in function

Vue version
3.2.45 (also checked with f3e4f03)
Link to minimal reproduction
https://sfc.vuejs.org/#__DEV__eNp9kUtuwzAMRK9CaGWjjQVk6ToueoMeQIs4DpM4sCmBlNJF4LuX/qBtWqAbgaRmBsTj3byFUNwSmtJU0nIXIgjGFKBv6LxzJooztaOOIvKpaRHe2QeBuyOAoQkB+bWEjEqgNByQc9jVa+loVJEja0EuPvVHYJTUR+gI9osVdkCzAZ5gu4dDiqtGHkXZHJt9a/O9o9aTRLivWzxEwajtEU8d4bxuNb91lr84Woy+x6L352wxZ9s8d1TZBUCtS2sXcQh9E7Gu7Fdpnk03BM9xo8biKp6U28zCrR+Kq1zoTDMFO/XOXGIMUlorp3aifZXC89lqVXCi2A1YoAybA/sPQdZgZ55/ZFgd3pA3jHREVrT/ZP6S/smdYvUwoxk/AVe7q7A=
Steps to reproduce
It can easily be seen in the JS output, but for convenience the console log shows as well that a wrapped function is returned instead of the expected result.
What is expected?
With activated reactivity-transform:
const { mapper = n => n + 2 } = defineProps<{mapper?: (n: number) => number}>() should result in something equal to:
const mapper  = n => n + 2
What is actually happening?
Instead, it results in
const mapper = () => (n => n + 2)
System Info
No response
Any additional comments?
I tried to reproduce it in different ways. It doesn't matter if the function is given directly as a default or is being imported from somewhere else. The example is the most simplified version I found.

When I tried to revise this question, I found that there is a test about this situation in the unit test, it seems that the design is like this（line  82 ～ 102）
see

It's a bug I think. The type of func is () => number. But in the runtime code, it's () => (() => 1).
https://sfc.vuejs.org/#__DEV__eNp9j8FqwzAQRH9l2ZMDsUyvxnbpH/QDdEmctetgr8SulB6C/72Sm0BIILed2eExc8Uv780lEtbYaC+TD6AUoof5wGNrMajFzjJA71gDXPMJMETuoYViB20HH9lbkzzRMDF9i/PaPAQ/61uQ43Ik2dJdsbtD3UxmdmORo8lsqv8aHVjGPU6LdxLK5eDNWR2nmhvZ3h6pXX0vZTHtyNriTwhe66rSoc/jzmqcjFW6jEQO00KGdCmP4n6VJIEt7h8YVTIvJKUQn0hS4zfMp+gLd1trecX1D7ASeU0=

I think the compiler should not add () => into default code.

When I tried to revise this question, I found that there is a test about this situation in the unit test, it seems that the design is like this（line 82 ～ 102） see

It really looks like the test is specifically testing the erroneous behavior. Maybe a copy&paste mistake?

I think the result () => (n => n + 2) is right, the default props suggest a function.
https://vuejs.org/guide/typescript/composition-api.html#props-default-values

https://vuejs.org/guide/components/props.html#prop-validation

// Object or array defaults must be returned from
// a factory function. The function receives the raw
// props received by the component as the argument.

I think the Function may also need use a factory function

I think the result () => (n => n + 2) is right, the default props suggest use a factory function.
~ snip ~
I think the Function may also need use a factory function

I don't think this makes sense. There is no reason to transport functions inside functions. The reason for using factory functions is to avoid pointing at the same address space for supposedly different objects and accidentally create a shared state between components. This wouldn't happen with a function.

The function also is a Function object in JavaScript, the function also can be shared state between components and be modified by component.

I think the function also is a Function object in JavaScript, the function also can be shared state between components and be modified by component.

Sure, technically that might be right. But first the behaviour is then different when not using the reactivity-transform, second someone wouldn't expect anything to be automatically wrapped into a function that is then not automatically unwrapped.

I think the function also is a Function object in JavaScript, the function also can be shared state between components and be modified by component.

Sure, technically that might be right. But first the behaviour is then different when not using the reactivity-transform, second someone wouldn't expect anything to be automatically wrapped into a function that is then not automatically unwrapped.

If do that, there will be has hidden risks for other people who use this syntax. I think you may use like this:
<script setup lang="ts">
interface Props {
  mapper?: (n: number) => number
}

// should result in `mapper = n => n + 2` but results in `mapper = () => (n => n + 2)`

const props = withDefaults(defineProps<Props>(), {
  mapper: n => n + 2
})

console.log(props.mapper(2))
</script>

<template></template>

withDefaults can indeed circumvent this problem, but it is confusing why const { mapper = n => n + 2 } will produce this weird behavior

withDefaults can indeed circumvent this problem, but it is confusing why const { mapper = n => n + 2 } will produce this weird behavior

It's not confusing behaviour, in @nkoehring lastest demo the Object also use a factory function.
props: {
    mapper: { type: Function, required: false, default: () => (n => n + 2) },
    obj: { type: Object, required: false, default: () => ({
    	name: 'foo'
	})
}

As the docs mentioned, for the object type, it's good to provide the function to generate the default value ({ type: Object, default: () => ({ foo: 'foo' }) }). But this feature is for Array and Object only, not for functions.
For a function default value, it's impossible to figure out if it's exactly the value passed to the prop, or if it's the generator to produce the prop value.
For example: if the expected default value is () => 'hello':
{ type: Function, default: () => 'hello' } v.s { type: Function, default: () => () => 'hello' }
We're unable to know the returning value before executing it.
So that's why you cannot put the generator of function to a default value.

Back to the topic, the compiler cannot know what's the type of props (runtime definition), so it also unlikely to add or not add () =>  automatically.
As a result, I suggest we should remove this feature of auto-adding () => , and let the users consider it, just like withDefaults.

As the docs mentioned, for the object type, it's good to provide the function to generate the default value ({ type: Object, default: () => ({ foo: 'foo' }) }). But this feature is for Array and Object only, not for functions.
For a function default value, it's impossible to figure out if it's exactly the value passed to the prop, or if it's the generator to produce the prop value.
For example: if the expected default value is () => 'hello': { type: Function, default: () => 'hello' } v.s { type: Function, default: () => () => 'hello' }
We're unable to know the returning value before executing it.
So that's why you cannot put the generator of function to a default value.
Back to the topic, the compiler cannot know what the type of props is (runtime definition), so it is also unlikely to add or not add () =>  automatically.
As a result, I suggest we should remove this feature of auto-adding () => , and let the users consider it, just like withDefaults or defineProps with runtime object.
defineProps({
  foo: { type: Object, default() { return { foo: 'foo' } /* it's a generator */ } },
  bar: { type: String, default: 'foo' /* it's a plain value */ },
})

If will remove this feature of auto-adding () =>, this may be a broken change, must in the Minor version such as 3.3.x or 3.4.x and so on.

@liulinboyi It's the scope of Reactivity Transform, and Reactivity Transform is under experimental and unstable. Maybe we can fix it in Vue 3.3, since Evan said it will be stabilized in the version.

Unfortunately, Reactivity Transform has been dropped officially now, so I closed this issue/PR. If you want to keep using it, please consider the community version Vue Macros.

Is this related:
export interface Props {
    expanded: boolean;
    duration?: number;
    hwAcceleration?: boolean;
}

const props = withDefaults(defineProps<Props>(), {
    expanded: false,
    duration: () => inject<PluginOptions>(PLUGIN_KEY)?.duration || 300,
    hwAcceleration: () => inject<PluginOptions>(PLUGIN_KEY)?.hwAcceleration || false,
});

Gives me:

Type '() => boolean' is not assignable to type 'boolean | ((props: Readonly<Omit<Props, "expanded" | "hwAcceleration"> & { expanded: boolean; hwAcceleration: boolean; }>) => false) | ((props: Readonly<Omit<Props, "expanded" | "hwAcceleration"> & { ...; }>) => true) | undefined'.
Type '() => boolean' is not assignable to type '(props: Readonly<Omit<Props, "expanded" | "hwAcceleration"> & { expanded: boolean; hwAcceleration: boolean; }>) => false'.

hwAcceleration is a boolean, but has a factory function to resolve it's default value.
duration has the same, but doesn't make an error.


Windows: Fix compile after SB interface

Signed-off-by: John Howard<EMAIL_ADDRESS>@swernli. After Sandbox was refactored to an Interface, Windows compilation was broken again. This fixes it up.

Waiting for CI

LGTM

LGTM.


htpc.md: add IR section

add basic information about IR receivers and remotes and setup tips.

reviewer's comment: "I trust in fig"


Specific ROS2 Foxy Robot CPU “no rviz” and Host Desktop “rviz”only” Packages

Create ROS2 Packages, 1) with an image Topic Publish only - “stereo_inertial_launch.py -no rviz node launch file to run on a Robot CPU, to publish topics to be displayed by a 2) new Package comprising reduced code “rviz only” launch.py file installed on a separate Host Desktop CPU that manages and controls the Robot.

Duplicate of #42


Design - Determine where Carbon patterns should live

Design issue for https://github.com/carbon-design-system/carbon-platform/issues/714.
Reach out to sponsor users as necessary.
Let's discuss in the parent issue linked above.

Hey team! Please add your planning poker estimate with ZenHub @aubrey-oneal @kingtraceyj

After rereading proposal A: https://github.com/carbon-design-system/carbon-platform/issues/714#issuecomment-1123976192
and evaluating if we'd want to index the universal patterns in the platform resources package: https://github.com/carbon-design-system/carbon-platform/blob/main/packages/resources/carbon.yml
my recommendation is still proposal A where we rename the carbon-styles library to Carbon Core, which nicely aligns with our "core vs local" naming pattern.
@kingtraceyj @aubrey-oneal @jeanservaas if we're good with this, let's close this issue and update this issue to be the dev indexing issue: https://github.com/carbon-design-system/carbon-platform/issues/728


[AutoPR] hdinsight/resource manager

@AutorestCI install

Installation instruction
Package azure-mgmt-hdinsight
You can install the package azure-mgmt-hdinsight of this PR using the following command:
pip install "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_hdinsight/resource-manager#egg=azure-mgmt-hdinsight&subdirectory=azure-mgmt-hdinsight"
You can build a wheel to distribute for test using the following command:
pip wheel --no-deps "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_hdinsight/resource-manager#egg=azure-mgmt-hdinsight&subdirectory=azure-mgmt-hdinsight"
If you have a local clone of this repository, you can also do:

git checkout restapi_auto_hdinsight/resource-manager
pip install -e ./azure-mgmt-hdinsight

Or build a wheel file to distribute for testing:

git checkout restapi_auto_hdinsight/resource-manager
pip wheel --no-deps ./azure-mgmt-hdinsight

@AutorestCI rebase

Rebase done and pushed to the branch

Codecov Report

Merging #1986 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1986      +/-   ##
==========================================
+ Coverage   53.06%   53.06%   +<.01%
==========================================
  Files        4774     4776       +2
  Lines      119483   119485       +2
==========================================
+ Hits        63406    63408       +2
  Misses      56077    56077

Impacted Files
Coverage Δ

azure-mgmt-hdinsight/azure/__init__.py
100% <100%> (ø)

azure-mgmt-hdinsight/azure/mgmt/__init__.py
100% <100%> (ø)

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 f746c62...f119599. Read the comment docs.

@AutorestCI rebase

Rebase done and pushed to the branch

(message created by the CI based on PR content)

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md for you!!!

Build SDK finished and cleaned

Close, initial 0.1.0 was released from a parallel PR, need regeneration


cannot install using chocolatey

pew isn't even listed as a package on chocolatey..
https://chocolatey.org/packages?q=pew
Chocolatey installed 0/1 package(s). 1 package(s) failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures:
 - pew

If it is not working at this time just delete it from the read me imo. Pip seems to work fineon windows so :-)

If it is not working at this time just delete it from the read me imo. Pip seems to work fineon windows so :-)


Setup project

Add scaffolding for requirements, unit tests, code coverage, and continuous integration for the project.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@97de91d). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      1
  Lines             ?      1
  Branches          ?      0
=======================================
  Hits              ?      1
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

cortex/tests/unit/__init__.py
100% <ø> (ø)

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 97de91d...4d08175. Read the comment docs.


New version: GodotEngine.GodotEngine.Mono version 4.3

Pull request has been created with komac v2.3.0 :mango:
Microsoft Reviewers: Open in CodeFlow

Could you please add Resolve #167813 to https://github.com/microsoft/winget-pkgs/pull/167821#issue-2467744516? 🙏🏼


Which is collect, <overlaps predicate part 1> or  <overlaps predicate part 2> ?

I just found typo of <overlaps predicate part 1> or <overlaps predicate part 2> .
In sql-2003-2.bnf,the below lines uses <overlaps predicate part> but no definition in BNF.
<case operand> ::= <row value predicand> | <overlaps predicate part>
But there is <overlaps predicate part 1>,<overlaps predicate part2> definition in BNF.
<overlaps predicate part 1> ::= <row value predicand 1>

<overlaps predicate part 2> ::= OVERLAPS <row value predicand 2>

I have post many issue at once.
So close them and post one issue at a time.


Can not load image for MapView.Marker

Hello,
Firstly I want to say thanks for your library. It work well and easy to use, but when I use FastImage for custom image marker, the image isn't loaded
<MapView.Marker
	key = {place.id}
	coordinate = {place.coordinate}
>
	<FastImage
		source={{uri: place.data.photo}}
		style={[styles.marker]}
		onLoadStart={()=>console.log('onLoadStart')}
		onLoad={()=>console.log('onLoad')}
		onLoadEnd={()=>console.log('onLoadEnd')}
		onError={()=>console.log('onError')}
	/>
</MapView.Marker>

After check log, only console onLoadStart is called, other callbacks are not.
Can you check it?
My enviroment:
Android,
"dependencies": {
    "react": "16.0.0-alpha.12",
    "react-native": "0.46.2",
    "react-native-fast-image": "^1.0.0",
    "react-native-maps": "^0.15.3"
  },

Thank you.

I also have this problem, did you get anywhere with it?


Compass build glyphicons issue

Hi, I'm using Compass extension, and after creating the project and requiring the plugin the compilers says this:
WARNING: 'glyphicons-halflings-regular.eot?' was not found (or cannot be read) in /Users/alex/Desktop/my-project/fonts/bootstrap
what am I doing wrong?
I'm using Sass v3.3.0 rc2 and Compas v1.0.0 alpha17

Wow so true. This should be added to the readme. "bootstrap-sass-official" folder changed to "bootstrap-sass". So creating "config.rb" in the same directory as your Gruntfile and adding the following two lines fixed the problem for me.
relative_assets = true
fonts_dir = "/public/lib/bootstrap-sass/assets/fonts/"

Sorry to resurrect this. My project is no ruby at all, but I'm getting affected when compiling with sass, and struggled to find a workaround, so I wanted to share it here.
My workaround is to go to the bootstrap assets directory before executing:
cd /usr/local/bundle/gems/bootstrap-sass-3.3.6/assets
sass --cache-location /var/cache/sass --compass --require bootstrap-sass --update /app:/app

To get rid of those warnings said in https://github.com/twbs/bootstrap-sass/issues/511#issuecomment-63064914.


How to create the schema ?

I've been trying to get a roles "ref_many" relationship to work, but can't figure out how to create the schema.
As far as I understand the schemaker gem should take care of this?
I tried to create the relationships and migrations manually but couldn't get it to work.
I'm probably missing something..

Hey! You are perfectly correct! the gem schemaker is supposed to take care of creating the schema. Take a look at the specs at specs/troles/strategies. I'm actually not sure that the ref_many strategy has been tested and works after the latest updates. I recommend that you try one of the simpler strategies for now, such as string or bit_many.
You could also use the simple_roles gem by @stanislaw.
I would like to get the ref_many strategy in order! You are welcome to help out. I think schemaker should have a debug option in order to track what kind of schema it comes up with and applies.

Hey, thanks!
I've tried to use bit_many but can't get it to work. When I try to add a role:
NoMethodError: undefined method `>' for nil:NilClass
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activesupport-3.1.1/lib/active_support/whiny_nil.rb:48:in `method_missing'
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/troles-0.6.1/lib/troles/storage/bit_many.rb:24:in `ds_field_value?'
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/troles-0.6.1/lib/troles/storage/bit_many.rb:19:in `display_roles'
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/troles-0.6.1/lib/troles/common/api/read.rb:15:in `role_list'
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/troles-0.6.1/lib/troles/common/api/write.rb:39:in `add_roles'
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/troles-0.6.1/lib/troles/common/api/write.rb:24:in `add_role'
	from (irb):2
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands/console.rb:45:in `start'
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands/console.rb:8:in `start'
	from /Users/speggey/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:40:in `<top (required)>'
	from script/rails:6:in `require'
	from script/rails:6:in `<main>'

I'll look into the ref_many strategy.

Otherwise, try out the https://github.com/stanislaw/simple_roles gem. You might also wanna try https://github.com/kristianmandrup/roles_active_record.
Troles is a total redesign of roles_active_record where we extracted some functionality like schema handling into a separate gem schemaker but we haven't had time to totally polish it off, unfortunately (been focusing on cantango).
However last time I looked at troles I was able to successfully run most of the strategy specs.
I'm currently working on a full demo app for cantango where I will use _troles _ so I will have to make sure it is updated and works as part of that process. Will keep you posted!
Kris

Hey!
Thanks, I'll look into it and see if I can contribute anything =).

The key is to have a relation from the role subject to the Role model, called :troles.
This is in order to have the API work with the method #roles, such as user.roles << :admin
The core functionality of troles should work, but for the reference strategies, there might be a little tweaking needed.
Clone the repo and debug from there if you want to help out! Thanks!


gives warning if no record exists in datatable

when i have no record in the table then it given warning of ajax_error  image is attached

Can you provide the response from your network tab. I am unable to reproduce it.

issue resolved
the issue was the primary key which is taking column name by default id so i got the resolution.
but now
i want make search which can search in all columns of datatable??

@credencysrajesh  you can modify the SQL code in the controller of the screen to look for more columns. Please close the issue if resolved  :)

i know but that is not proper way it should like yii search in model we can define search criteria and call that in controller


Stop sizing circles based on time since login

Could be replaced with

Total hours for the day
Random

Using total hours of the day might make things worse.
Randomizing the sizes would mean we would have to clamp their values to prevent them from getting too large or too small, but if the problem is about discouraging people from logging out, maybe we should make them be responsible or we can clamp the sizes so that there's a consistency in size and it solves the problem.

I'd agree, I don't think adjusting size based on how long you're logged in is proving to be a good idea generally. Random sizes might encourage people to repeatedly log in/out until they receive a large bubble. We probably don't want to go down the peer-policing rabbit hole, and everyone is otherwise using the system properly. I would rather just not have differently sized bubbles!

I kind of like the different sized bubbles because it makes the dashboard look cool. I'm fine if we have same size circles, but I think for now, I am going to fight for different size circles. Anyways, if we do it by random size, we can try making something that randomizes size for everyone each day.
If we apply a psychology to this, We can try making the circles look smaller compared to each other but not have a large difference in size.  For example, the smallest group of bubbles will have the same size, the second smallest sizes will be the average size of the smallest and the second smallest, the third will be the average of the first, second and third, etc.

Using total hours of the day might make things worse.

Using the day's total hours would get rid of the motivation to stay logged in to avoid resetting your size. It would keep the different bubble sizes, which look cooler than uniform sizes, but would remove the possibility of shenanigans. People wouldn't keep signing in and out to get a new size, people wouldn't be hesitant to sign out for short durations because it wouldn't care how long their most recent sign in is, but people would have a size that actually meant something.

That actually encourages people to wake up at 11:30pm to break into the outback to login early so they can assert dominance on the dashboard. Maybe we can do that, but make it hourly. And for an understanding of what I mean from averaging, it would work by averaging bubbles smaller than it with it to decrease its size.
size | new Size
1 - 1
2 - 1.5
3 - 1.83
4 - 2.08

If we were to keep the different sizes, I'd agree that the range is too high right now. @Brelee2222 's 2:1 ratio suggestion for largest/smallest sounds reasonable. Using the total hours for the day is also a fine compromise. I just hope I don't have to set up a security camera 😬

Ok. Im gonna push it with circle packer 2.0. If it gets to setting up a securtiy cam, dont let zach set it up. He lives in the lab.

If we were to keep the different sizes, I'd agree that the range is too high right now. @Brelee2222 's 2:1 ratio suggestion for largest/smallest sounds reasonable. Using the total hours for the day is also a fine compromise. I just hope I don't have to set up a security camera 😬

Ya, the max ratio should definitely be 2:1

The ratio is dependent on the memberDiv size

@Ewie21 At this point, I think circle packer is done, but it probably need tweaking of the values


Clipboard.setData crashes on iOS

Steps to Reproduce
Clipboard.setData(ClipboardData(text: 'HELLO'));

Logs
crash log
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010355d6fb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000102b01ac5 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010355d555 +[NSException raise:format:] + 197
	3   UIKitCore                           0x000000010d0d4763 -[_UIConcretePasteboard setString:] + 208
	4   Flutter                             0x000000010069e3c3 -[FlutterPlatformPlugin handleMethodCall:result:] + 322
	5   Flutter                             0x00000001006961fa __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 115
	6   Flutter                             0x00000001006b4072 _ZNK7flutter21PlatformMessageRouter21HandlePlatformMessageEN3fml6RefPtrINS_15PlatformMessageEEE + 166
	7   Flutter                    <…>
Lost connection to device.

flutter analyze
Analyzing daily_pics...
No issues found! (ran in 3.4s)

flutter doctor -v
[✓] Flutter (Channel master, v1.4.15-pre.4, on Mac OS X 10.14.4 18E226, locale
    zh-Hans-CN)
    • Flutter version 1.4.15-pre.4 at /Users/yaerin/flutter
    • Framework revision 5a6c140d0d (4 hours ago), 2019-04-10 01:24:58 -0700
    • Engine revision 905c571db5
    • Dart version 2.2.1 (build 2.2.1-dev.3.1 None)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/yaerin/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1248-b01)

[✓] Connected device (1 available)
    • iPhone 8 • D5181741-E9B6-4745-BAC7-01B44A1D296C • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!

What device are you running this on specifically?  And can you post a full app's code that reproduces the problem?  I don't get this crash when I try this on iOS with a really simple app like this:
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Flutter demo'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              TextField(),
            ],
          ),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            Clipboard.setData(ClipboardData(text: 'HELLO'));
          },
          tooltip: 'Increment',
          child: Icon(Icons.add),
        ),
      ),
    );
  }
}

@justinmc iPhone 8 iOS 12.3 and more devices....
I don't get the crash with this simple app as well.
This is my code: home.dart#L423
TestFlight: https://testflight.apple.com/join/7exrtd15

Thanks for the clear info.  I was able to reproduce the crash on the iOS simulator and on a physical iOS device.
The problem is simply trying to copy null.  It looks like on Android this will actually copy the string "null", but in iOS it causes a crash.
CC @xster It seems like this is a bug in our Clipboard class on iOS.
@KagurazakaHanabi you can probably work around this in the meantime but preventing the user from copying null.  Maybe just initializing your content variable to empty string.
Here is a minimal app to reproduce it:
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: Text('Flutter demo'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text('Click the button to try to copy null, which will cause a crash'),
            ],
          ),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            Clipboard.setData(ClipboardData(text: null));
          },
          tooltip: 'Copy null',
          child: Icon(Icons.add),
        ),
      ),
    );
  }
}


"paket update nuget XXX" should report why it decides not to

if paket decides not to update the package it was explicitly asked to update it should at least tell me why.
As it is, neither the return code nor the message tell me what happened - in my case dependency of the package was requiring an upgrade as well.

Do you have a specific sample for me? Deps file + lock file + package you want to update? Would love to improve the output

Happened with some private packages, but I'll keep an eye out in my public projects for an opportunity to reproduce it.
It should be a fairly common scenario though, so I'm wondering what is the expected behavior in this case:

solution S has a dependency on packages A and B
package B also has a dependency on package A
package B has had its A dependency upgraded and the new version of B is released
solution S upgrades B to latest (or rather fails to, quietly)

In my case the A package was RabbitMQ.Client which happened to have a new revision released.

Our current algorithm wasn't designed for such questions, but I'd love to
improve it in this direction. So I need good samples.
On Jul 30, 2015 22:48, "Eugene Tolmachev"<EMAIL_ADDRESS>wrote:

Happened with some private packages, but I'll keep an eye out in my public
projects for an opportunity to reproduce it.
It should be a fairly common scenario though, so I'm wondering what is the
expected behavior in this case:

solution S has a dependency on packages A and B
package B also has a dependency on package A
package B has had its A dependency upgraded and the new version of B
is released
solution S upgrades B to latest (or rather fails to, quietly)

In my case the A package was RabbitMQ.Client which happened to have a new
revision released.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/946#issuecomment-126481539.

Incidentally, it does upgrade as expected if I specify the version explicitly.

That is not unusual. Often there's more than one valid resolution.
Specifying more restrictions (concrete versions) leads to picking another.
On Jul 30, 2015 22:55, "Eugene Tolmachev"<EMAIL_ADDRESS>wrote:

Incidentally, it does upgrade as expected if I specify the version
explicitly.
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/946#issuecomment-126484134.

I have a repro case here:
paket.dependencies:
source https://nuget.org/api/v2

nuget Ninject.Extensions.Interception
nuget Ninject.Extensions.Logging.Log4Net

paket.lock
NUGET
  remote: https://nuget.org/api/v2
  specs:
    log4net (2.0.3)
    Ninject (<IP_ADDRESS>)
    Ninject.Extensions.Interception (<IP_ADDRESS>)
      Ninject (>= <IP_ADDRESS> < <IP_ADDRESS>)
    Ninject.Extensions.Logging (<IP_ADDRESS>)
      Ninject (>= <IP_ADDRESS> < <IP_ADDRESS>)
    Ninject.Extensions.Logging.Log4net (<IP_ADDRESS>)
      Ninject.Extensions.Logging (>= <IP_ADDRESS> < <IP_ADDRESS>)
      log4net (>= 1.0.4)

paket update nuget Ninject.Extensions.Interception
Outputs:
Paket version <IP_ADDRESS>
Updating Ninject.Extensions.Interception in D:\Projects\paket-test\paket.dependencies
Resolving packages:
 - Ninject.Extensions.Interception 3.2.0
 - Ninject.Extensions.Interception <IP_ADDRESS>
 - Ninject.Extensions.Interception <IP_ADDRESS>
 - Ninject <IP_ADDRESS>
D:\Projects\paket-test\paket.lock is already up-to-date
3 seconds - ready.

It gives no clue at all of why it didn't update.
I was wondering if we should have a parameter to force the update of conflicting dependencies, like nuget does OOB.
If you think in this case specific, unless you update all packages, you are in a dead end.


Data Exercise Bug/Error

Describe the bug/error
On chapter 4 question 2, it returns "NA" regardless of which multiple choice you select.
Where did you see it?
chapter 4 question 2
Expected behavior
i expected one answer to be correct another to be wrong.
Additional context
tried refreshing, reloading, etc but no change in error.

Thanks for catching this. I will fix and attribute you.

Resolved. See https://github.com/laderast/RBootcamp/commit/777975727b460157cf67bfe302652b59926b30c2


camera release

In some hardware, the camera isn't released.
Especially when working with Jupyter notebook, Kernel is required to be restarted every time for a new run.
Adding stream.release() solves the above issue.

In some hardware, the camera isn't released.
Especially when working with Jupyter notebook, Kernel is required to be restarted every time for a new run.
Adding stream.release() solves the above issue.

This issue is also solved in #177

In some hardware, the camera isn't released.
Especially when working with Jupyter notebook, Kernel is required to be restarted every time for a new run.
Adding stream.release() solves the above issue.

This issue is also solved in #177


TOP_CENTER banner iOS

This position the top center banner under the status bar on iOS

Thanks for great pull request. This looks good.

@all-contributors please add @JumBay for code

Thanks


Disable notification of taxonomy download

Disable notification of taxonomy download.
I disabled the one on success. People are complaining about the one shown during the download. Is it possible to not show it ?

It has been stuck like this for hours

I guess you can just remove all of this in LoadTaxonomiesService.java :
        NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);

        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
            String channelId = "export_channel";
            CharSequence channelName = getString(R.string.notification_channel_name);
            int importance = NotificationManager.IMPORTANCE_DEFAULT;
            NotificationChannel notificationChannel = new NotificationChannel(channelId, channelName, importance);
            notificationChannel.setDescription(getString(R.string.notify_channel_description));
            notificationManager.createNotificationChannel(notificationChannel);
        }

        NotificationCompat.Builder builder = new NotificationCompat.Builder(this, "export_channel")
                .setContentTitle(getString(R.string.app_name))
                .setContentText(getString(R.string.txtDownloading))
                .setOngoing(true)
                .setSmallIcon(R.mipmap.ic_launcher);

        notificationManager.notify(17, builder.build());


Feature/studio clock

I added a studio clock like suggested in #133. Hope you like the placement within the tool bar.
I look forward to your impressions and additional suggestions.

Also hoping you're comfortable with the placement within the tool bar.


petkit purabot max pro issue

System Health details
This error originated from a custom integration.
Logger: custom_components.petkit
Source: helpers/update_coordinator.py:379
integration: Petkit Smart Devices (documentation, issues)
First occurred: 11:44:30 PM (16 occurrences)
Last logged: 11:54:21 PM
Unexpected error fetching petkit data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/petkit/coordinator.py", line 47, in _async_update_data
await self.config_entry.runtime_data.client.get_devices_data()
File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 244, in get_devices_data
await asyncio.gather(*record_tasks)
File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 279, in _fetch_device_data
endpoint = data_class.get_endpoint(device_type)
File "/usr/local/lib/python3.13/site-packages/pypetkitapi/litter_container.py", line 247, in get_endpoint
raise ValueError(f"Invalid device type: {device_type}")
ValueError: Invalid device type: t5
Integration version ?
1.3.7
In which region is your Petkit application registered?
us
Device type
No response
Checklist

[X] I have enabled debug logging for my installation.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
after integration try to accesa without luck
issue at when try to log on

Reproduction steps
install
and then try to log without luck
Debug logs
This error originated from a custom integration.

Logger: custom_components.petkit
Source: helpers/update_coordinator.py:379
integration: Petkit Smart Devices (documentation, issues)
First occurred: 11:44:30 PM (16 occurrences)
Last logged: 11:54:21 PM

Unexpected error fetching petkit data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/petkit/coordinator.py", line 47, in _async_update_data
    await self.config_entry.runtime_data.client.get_devices_data()
  File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 244, in get_devices_data
    await asyncio.gather(*record_tasks)
  File "/usr/local/lib/python3.13/site-packages/pypetkitapi/client.py", line 279, in _fetch_device_data
    endpoint = data_class.get_endpoint(device_type)
  File "/usr/local/lib/python3.13/site-packages/pypetkitapi/litter_container.py", line 247, in get_endpoint
    raise ValueError(f"Invalid device type: {device_type}")
ValueError: Invalid device type: t5

Diagnostics dump
No response

Hi @kiloptero
It's beacause i never had chance to try my integration with this new litter :-)
Can you send me a message on discord ? I will ask you to send me a link to temporary join your familiy and i will fix the Purobot MAX pro support for you :-)

This version fix the issue : https://github.com/Jezza34000/homeassistant_petkit/releases/tag/1.3.8


Delete checkmarx-one.yml

Checkmarx One – Scan Summary & Details – 240ccaa7-a19c-475b-8c71-c70b3af836ae
No New Or Fixed Issues Found


”Negoești”, ”Pistrița”, ”Stănești”, ”Titerlești” are listed in the drop-down menu

Description:
When user writes ”Negoești”, ”Pistrița”, ”Stănești”, ”Titerlești” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Negoești"

Expected results
The location appears in the drop-down menu as "Sat Negoești, MEHEDINȚI (BAIA DE ARAMĂ)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Pistrița"

Expected results
The location appears in the drop-down menu as "Sat Pistrița, MEHEDINȚI (BAIA DE ARAMĂ)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Stănești"

Expected results
The location appears in the drop-down menu as "Sat Stănești, MEHEDINȚI (BAIA DE ARAMĂ)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Titerlești"

Expected results
The location appears in the drop-down menu as "Sat Titerlești, MEHEDINȚI (BAIA DE ARAMĂ)".


Add Issue Templates and markdown page updates

Add bug and feature GitHub issue templates.
Fix spelling, formatting and other tweaks in markdown pages.

Hey @brettski Thanks so much for the additions here and I am EXTREMELY sorry it took me so long to approve this. Looking AWESOME. Thanks for the contributions once again 👍


Create fizzbuzz_javascript_challenge.js at JavaScript Folder

@NLDev  please review and merge

Thank you for your PR!
Unfortunately solutions similar to yours have already been submitted :/
The goal is to find creative/abstract new solutions to FizzBuzz.
See The top 5 samples here.
Thanks anyway! :)


Explorer crashes after run

This works for me, but a few seconds after it changes the scaling, Explorer crashes.
Any logs or such that I could refer to? It just silently crashes and then works fine after.

Not likely to be the issue with this program. It merely changes the DPI setting. If explorer crashes it's because of it or something related to it.
Actually it might not be  a bad thing that explorer crashes. I manually restart explorer because otherwise some GUI elements are not rendered correctly.

If I manually change my DPI setting, explorer does not crash.
Only after running this program it crashes, it must be related. Adjusting my DPI outside of using this program, there is no crash.
Is there any way I can turn on logging? Or I can potentially check Event Viewer to see if there's more info there.


Oddities with Multiple Cursors

I saw that you mentioned these anomalies on VSCode issue #2798 and I have been experiencing them myself.
I've added this entry for tracking purposes, since no issue thread existed on the subject, and will be digging into the source sometime this weekend in case I stand a shot at fixing them myself. Any related info would be welcome.

@Dessix, I've actually fixed most of the issues I was having with multiple cursors myself, but I know there's more work to be done. Also, the vscode API has changed a bit since then and I think there are now much more unobtrusive ways of achieving the goals of this plugin; though, I haven't found the time or desire to pursue them as of yet.
I'm afraid that's all the context I can give you for now. For starters, it might be helpful to call-out all the different "odd" scenarios in this ticket.

I will try to find reproducible means of causing the issues so I can determine minimum-reproducible circumstances.

Even better if we can get failing tests to start.

@Dessix, this is the new API I was talking about...
const success = await commands.executeCommand(
    'cursorMove',
    {
        to: 'up',
        by: 'wrappedLine',
        value: 1, // default
        revealCursor: true
    }
);

Should be able to delete a lot of code in this plugin once this new API is implemented. It should also, perhaps, get rid of some side effects or bugs.

Adding a repro where multiple cursors on the same line have broken deletion behavior:
type:
abc abc abc
select all the a's and hit delete.  Expect:
bc bc bc
With a tab-width of 2 I end up with:
bc ac ab

Disable the keyboard shortcuts for Tabsanity's delete commands to bypass the issue


Js_of_OCaml support

Hi there,
This PR has most of the changes needed to run F* on the web.
To understand the performance notes below, it helps to keep the following in mind: F*'s run time is split between 3 things: dependency loading, lax type-checking, and calls to the SMT solver.  Depending on the example, any of these three can dominate. Additionally, JS performance is fairly different from native: the JS code is compiled from bytecode, and string operations and exceptions are much costlier (and, in certain cases, a change is beneficial in JS but detrimental in native; I haven't included these here).
The commits fall into multiple categories:

Compatibility: commits that reimplement some features using primitives that work in js_of_ocaml (jsoo).  This means replacing some uses of regexps, using Sys.getcwd and Sys.readdir instead of Unix.readdir, using open_out instead of BatFile.with_file_out, etc.

Refactorings: commits that isolate entry points for the JS code (for example, splitting main into a workhorse and a wrapper that calls Sys.exit)

Performance: commits that make the JS code faster, without adversely affecting native code.  This is the result of plenty of benchmarking to find hotspots on the JS side, and confirming the improvement on the native side.

Getting rid of many exceptions used for control flow in libraries makes the code usable (at first I rewrote some of the batteries functions, but @gasche was very helpful and actually removed many exceptions upstream, allowing me to revert some of the changes).
Making sure that all SMT captions fit on line to save time on splitlines speeds up SMT encoding by ~12%.
Caching dependency graphs speeds up dependency loading by ~1-5%.
Rewriting replace_char speeds it up 10-fold, speeding up SMT encoding by 13%.
Improving lookup_binding speeds up dependency loading by 8%.
Using Z.of_int for small constants instead of Z.of_string saves about 2% (int to bigint conversions are roughly 5 times faster than string to bigint ones in OCaml).

In JS, with --cache_checked_modules, the sum of all these changes yields a fairly consistent 10% to 30% overall speedup depending on the example.
On the native side, with --cache_checked_modules, open FStar.Tactics goes down from 2.4s to 1.8s (-21%) and fstar stlc.fst doesn't change much (~3% improvement).

Other changes: these are small fixes.

Here's the detailed breakdown:
Compatibility
811eff1 * jsoo: Rewrite a simple use of Str.regexp in parse_string
9865e0a * jsoo: Use open_{in,out} instead of BatFile.with_{in,out}put_file
Refactorings
6dcf6fe * jsoo: Make it possible to override the options passed to Z3
4a6aa6b * jsoo: Refactor Main to make it easier to call the relevant parts from JS
ac6d22e * jsoo: Move hook assignments to a function that fstar.js can call
a5a82be * smtencoding: Simplify the Z3 interface
223312f * jsoo: Add an Exit exception in FStar.Main
Performance
5a187b5 * util: Remove a few more uses of Not_Found
7ff998f * util, smtencoding: Speed up psmap_find_map and its caller
aebb040 * extraction: Use OCaml ints to initialize small constants
7d8044c * smtencoding: Speed up lookup_binding
0f257d3 * parser: Let F*.js supply a cache of precomputed dependencies
edaa97f * smtencoding: Make sure that all captions fit on one line
fa3a71f * util: Make replace_char faster
c3d8bd7 * jsoo: Revert tryFind, find, etc (BatList 2.8 doesn't use exceptions)
e920b89 * jsoo: Rewrite tryFind, find, and try_find to not use exceptions
Other
ec9386d * tests: Make it easier to run interactive tests with a different F*
c6890b5 * build: Add 'PKG ulex' to .merlin
29e7863 * typechecker: Remove a dead function
729db49 * ide: Add a query ID to messages
7dabb44 * dmff: Fix an incorrect use of format ("%b" instead of "%s")
d738835 * jsoo: improve the error message in js_repl_init_opts
bfe84a7 * jsoo: Fix implementation of js_repl_init_opts
752ce3c * jsoo: Further adjustments to FStar.Interactive.js
3100dfb * jsoo: Refactor FStar.Interactive
28a2f3b * Small cleanup in FStar_GetOpt.ml and getopt.fs

Hi Clement,
Thanks for all of this work!
About this part: "plus one significant tweak: reading checked modules is now on by default"
From this morning's meeting my understanding was that this results in build breakages and would not be included in this round of patches. Did I misunderstand?
-Nik

Also, this link seems to be broken now:
https://github.com/FStarLang/FStar/pull/1434/files/12135706d0b8a04e1fe401422abbaf23615250d2

Yes, rebasing broke the links. I'll update them.
I've already taken out the checked files patch.

Done, I've updated the links


Always show both stdout and stderr for code blocks

Changes Introduced

Always display stdout from code blocks (even if an error occurs) as it may be relevant
Display stderr from code blocks as it may be relevant too

Gentle ping to @maaslalani

Thanks @mmlb!

@mmlb I'm not a huge fan of the error messages produce by the stderr because of the tmp file. I wonder if there's a better solution (perhaps a different keybinding, to also receive the stderr)?

Yeah agree about that. I would not like to have a different key binding, I can take a look at dropping the filename.

@maaslalani I've pushed a quick hack to get rid of the name (only tested on go and bash atm) how's this error output look?

I'm not a fan of the # command-line-arguments and some of the other stuff but I don't think it should be removed, if the $tool adds it then it should be there I think.

Gentle ping, @maaslalani and @mmlb
Any update on this PR?

Looking for any feedback

Hey @mmlb, I don't like the idea of the OutputReplacement since it makes adding a language have more friction. I'm not sure the correct approach but I think my thinking would be a separate key bind / extra step to reveal the full error so that it doesn't cloud up the presentation by accident during a live presentation.

Another option is to log to a temporary file which people can inspect?


Add Missing GCSE qualification.

Context
This PR adds the option to apply even if you do not have yet the GCSE qualification.
Changes proposed in this pull request
It adds a select option and a text area.
Guidance to review
Spec to understand the behaviour.
Link to Trello card
https://trello.com/c/tjwAqlVf/305-dont-have-qualification-yet-adding-maths-english-and-science-gcse-information

I've just realised that I need to add few locale for the strings.


[CI] Fix CI RM

Currently a CI is failing (weird that it was not failing in the previous PRs - probably a recent release introduced a silent bug?)
The fix seems to simply correct the gradient_accumulation steps value. In fact putting gradient_accumulation_steps > max_steps  will lead to gradients that gets never updated
Related: https://github.com/lvwerra/trl/pull/416
Let's see if this fixes it 🤞
cc @lvwerra

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

LGTM! 🚀


Remove support for alfred

How come?

https://github.com/denisidoro/navi/issues/348#issuecomment-820444544


Automatic Alignment to Pixels (Operation Valour)

https://docs.google.com/document/d/1cTIxikxVT6zcDwxJ5Thq7D4D-vLHuLN3-hTvNU1GLQo/edit#heading=h.diy47wtam215
Link to Google Doc explanation

Basically, robot detects April tag and realizes where it is, and then strafes (since this is mecanum) to align with the stack of pixels. Assumed robot is aligned towards stack of pixels.

Which stack? I thought there were multiple stacks?

https://github.com/Brighton-FTC/2024/commit/4c0729144383eb468e370a6554b9233c62c62c6e
Ok, made (very sloppy and bad) prototype for alignment to pixels.
Basically, given a button press, it either goes to the left april tag and strafes right until the button is pressed again, or it goes to the right april tag and strafes left until that button is pressed again.
The point of this was mainly to learn about april tag detection, not for any practical use, and most of the code was taken from here.
I will be working on a better implementation.
My list of things to do:

Implement a way to input the desired stack of pixels to go to.
Find way to make robot go directly to the specified stack of pixels.
Get the distance from each april tag to each stack of pixels, and put it in the code to offset the robot from the april tags.
Find a better way to decide which april tag to use if there are more than one onscreen.
Find out and fill in the component names.
Test and fine tune the DESIRED_DISTANCE, SPEED/STRAFE/TURN_GAIN and MAX_AUTO_SPEED/STRAFE/TURN constants.
Make the telemetry data clearer.
Find a way to get rid of the inches and replace them with metric units

According to the field setup guide (page 49), the pixel stacks are 11" apart, so I'll try to get the robot to drive to the correct pixel stack from that. I guess we'll have to use imperial units then...

Ok, made a few commits:
Made the robot (hopefully) drive straight to the desired pixel stack.
Also made the class a linear opmode rather than an iterative opmode.

Basically, there is a "selected" pixel stack (0 to 5 inclusive), which can be changed with the dpad left and right buttons.
("Selected" pixel stack index shown in telemetry.)
Then, when X is pressed (idk what button that is on playstation), if there is an april tag with metadata detected, then it is meant to drive to that specific cone stack (emphasis on the meant to).
However, the driver needs to point the robot towards the left april tag for the left 3 pixel stacks, and the right april tag for the right 3, otherwise the robot will inevitably crash into a wall, so I'll probably look into ways of getting it to go to the correct pixel stack when the robot is oriented towards the wrong april tag.
At the moment, I'm not using either the distance sensor or the gyro, but I might try to implement those for greater accuracy.

List of things to do:

Find a better way of knowing when the robot has arrived in front of the desired pixel stack.
Implement a better way to input the desired stack of pixels to go to.
Find a better way to decide which april tag to use if there are more than one onscreen.
Find a way to make the robot go to the right pixel stack regardless of whether it's pointing at the left or right april tags.
Clear neaten up the linear opmode.
Find out and fill in the component names.
Test and fine tune the DESIRED_DISTANCE, SPEED/STRAFE/TURN_GAIN and MAX_AUTO_SPEED/STRAFE/TURN constants.
Make the telemetry data clearer.

Code can be found here btw.

Here it says that the yaw given by the AprilTagPoseFtc class is measured in degrees, while the offsets I was applying to my code were in inches. So, I suppose we could fine-tune the offsets to drive to the pixel stacks when we can test, but that would be time consuming and inelegant, so I'll try to figure out a way to get those offsets some other way.

https://github.com/Brighton-FTC/2024/commit/520dfd22edab566be3bd581bba07c86172bf0d0c
I decided to use the distance sensor, and the build in gyro (at least I think that there's a built in gyro) to a. rotate the robot so it's facing the correct stack of pixels and b. move forwards until the distance given by the distance sensor is low enough.
Also, I tried using closed loop control (as shown here, but idk how well it would work.
(Right now I'm just setting the different actuators to full power in the direction it needs to go, but I might look into having the power proportional to the error.)
Now, my main priority (apart from making the code slightly less terrible) is to write the code to actually get the robot to pick up a pixel from the desired stack.
As of how that's going to happen, I have absolutely no idea; I don't even know what the arm/linear slide/grabber do.
I was thinking for detecting where the stack actually is, I could maybe turn the robot a small amount in either direction and find where the distance was the lowest, and get that as the position of the pixel stack, but that would be slow and inefficient, so I'll see if there's a better way.

https://github.com/Brighton-FTC/2024/commit/6dde296494cd4fd4619c4707977ba5d2a3de5aa4
Made it (hopefully) go all the way to touching the required pixel stack.
Right now I'm using a distance sensor, a gyroscope, and a touch sensor.
In the EN it said that there will be a distance sensor and a touch sensor, and I think there is a gyroscope in the control hub.
My main priority now is writing the code to pick up a pixel.
Things to do:

Implement the code for picking up a pixel.
Find a better way of knowing when the robot has arrived in front of the desired pixel stack.
Implement a better way to input the desired stack of pixels to go to.
Clear up magic numbers.
Clear up states.
Find a better way to decide which april tag to use if there are more than one onscreen.
Find a way to make the robot go to the right pixel stack regardless of whether it's pointing at the left or right april tags.
Neaten up the linear opmode.
Find out and fill in the component names.
Test and fine tune the DISTANCE_ERROR, ANGLE_ERROR, DESIRED_DISTANCE, MAX_AUTO_SPEED and MAX_AUTO_TURN constants.
Make the telemetry data clearer.

https://github.com/Brighton-FTC/2024/commit/aec22a9e93134382c1756dc73b7f04b8d55ce461
Made code to (hopefully) pick up a pixel.
Also, made the class able to be called from an opmode, rather than it being an opmode in itself.
The thing is, I don't know anything about the arm/linear slide/grabber, so I'm sort of guessing what they do.
I suppose if the engineers finish the robot, I'll be able to look at it and change the code.
Right now the touch sensor is meant to be in the grabber or smth to tell when it can close.
I'll try to tidy up the code, add more javadoc, incorporate PSButtons, and do more research.
I hope the engineers don't decide to put the distance sensor "on the side"...

https://github.com/Brighton-FTC/2024/commit/f4296a51097a1afe1cb6fc6a86910326a1828a86
Found out in game manual 2 (page 57), that the april tags for each side are always the same (I don't know why I wasn't expecting that), and so I made it so the robot will (hopefully) not crash into a wall if it is angled towards the wrong april tag, and instead rotate towards the correct one.
I also added a bit of javadoc, and changed some of the distances in the code.
I still have hardly any idea how the arm/linear slide/grabber work, so I'll try to get more information from the engineers and implement those.
(Actually I might just copy Steve's and Lawrence's code to do that.)
I'll also see if the engineers can put a touch sensor on the grabber, so I know when to stop putting the grabber down, and grab the top pixel.
(See my beautiful artistic drawing below of how I imagine the grabber to be like.)

It appears, that for accurate April tag pose estimation, the webcam may need to be calibrated (as stated here).
There are instructions on how to do this here, but I don’t know if we will have to do this, as the webcam that the engineers chose may have built in support, or the error may be small enough that it doesn't matter.
Either way, I thought I'd put it here before I forget about it.
Anyway, if the april tag thing fails, we could always just use Mo's idea about having three distance sensors; one at the front and one on either side.

https://github.com/Brighton-FTC/2024/commit/eada96d46ea6e0f9180cd6356076f122b7ca79bd
Added arm code and PID from @12sliu's code.
I also did some PID things for the linear slide, but once the linear slide code is done then I'll probably just copy that.
The PID doesn't really exist yet, but if those values are found for the arm/linear slide, then I'll incorporate those into the PID calculator thing.

https://github.com/Brighton-FTC/2024/commit/00947b8ad52eb56a7913570c4f5b71ec785f0a16
Made the class an OpMode again, as @12sliu was saying something about how it was ok to have the class in that format.

Mo wants robot to go backwards after pixel is grabbed to avoid knocking over thing.

https://github.com/Brighton-FTC/2024/commit/dce9dca477003624da7639b4c46beda5beeb3c58
Ok I think I did that.

Ok. Ideally I'd like to have the component classes for the arm, grabber, and linear slide for that. Do you know when the linear slide component class will be completed? (The grabber and arm component classes have been written but not reviewed.)

Oh I need to review that, will be on todo list. Please still proceed with using arm and grabber components
Linear slide component class will be done by end of Thu latest.

https://github.com/Brighton-FTC/2024/commit/a903cb5b883fbf3168cd0db07b9f34216508036e
Made it into a component class and added functionality tester.

Does this still need modifications or is it ready to test?

Will be rewritten using RR.


low delay between area detector acqusitions after append 'image' to read_attrs

in order to use LIveImage, 'image' was appended to the read_attrs of bpmAD.
However, there causes a very long delay (a few seconds) between each image's acquisition (even without the LIveImage callback).
BlueSky [48]: testplan = Count([bpmAD], 5, 1)
BlueSky [48]: gs.RE(testplan)

solution:
BlueSky [60]: bpmAD.image.read_attrs.remove('array_data')

Thanks to Dan for the advice:
"Take array_data out of your read_attrs. That reads the full image array through EPICS instead of reading it from a file where the detector writes it."


Is it possible to have a dynamic modifed scene by habitat-sim?

Dear authors,
First of all, I appreciate your simulator and I find them interesting.
I'm currently trying to interact with your simulator via https://github.com/facebookresearch/habitat-sim/blob/main/examples/viewer.py. I tried to edit the scene by modifying the file "skokloster-castle.glb". I added some objects and your simulator ran pretty well.
However, when I added some moving objects to the scene (skokloster-castle.glb), nothing happened.
My question is as follows: Is there any way to edit some scenes with dynamic objects (for example, a running dog)?
Thanks in advance.

Hey @anavuongdin,
We do support object dynamics via the SceneDataset configs. These can be rigid objects or articulated objects. See the ECCV tutorials for the details and examples.
However, it sounds like what you really want is to animate a mesh. Unfortunately, we don't currently support non-rigid animation in Habitat-sim. You can control the trajectory of objects or the positions of joints with the simulation API, but not a keyframed mesh animation exported to glTF.

Uploading habitat-sim-2022-08-12_09.34.17.mp4…
Hi, I tried to add moving objects via your documentation https://aihabitat.org/docs/habitat-sim/managed-rigid-object-tutorial.html.
However, when I integrated these codes into file: examples/viewer.py to see if I can interact with dynamic objects, they were completely frozen as in the video.
Can you please help me? Thank you!

Hey @anavuongdin,
Looks like maybe you have not installed Habitat-sim with Bullet physics support. Did you all --bullet to the build?
e.g. python setup.py install --bullet from source or conda install habitat-sim withbullet -c conda-forge -c aihabitat from conda install.

Hey, @anavuongdin
Objects in MotionType::KINEMATIC are directly controlled by the user. If you want your objects to respond to collisions with other objects in the space, they will need to be MotionType::DYNAMIC.


Remove CI templates

The templating was a custom solution for sharing workflows between repositories. Nowadays GitHub actions have a standard solution for it, freeing us of the maintenance cost.

maybe also upgrade to node 20

will open another pr to do so


Experience with Java language server?

Hey 👋🏾
Thanks for this nice standalone plugin. 🙏🏾
I'm wondering why this doesn't work for Java with the Eclipse JDTLS server. According to their code and CHANGELOG they have support for parameter inlay hints. But they don't show up. I'm very certain that my server version is recent enough (--version output it weird). But I'm wondering if I need to enable a setting or so.
Unfortunately I'm a bit clueless. Any experience or hints?

Let me know how it goes

Wow. That was incredibly fast including all the research. Thank you very much!
So, yes it works. Somehow. I can see hints now which definitely haven't existed before. But vary sparely and inconsistent. Example: there is a code section with a singular builder function call sequence. For some I can see the parameter hint, for others not. Very confusing...
But I'm sure this is a server problem. This server does many awkward things. 😑
I'll try to play around with the configuration you linked. Maybe this improves it.


Adding experimental retry functionality.

In our application at OpenSky we're dealing with errors from mongodb connections and cursors when our replica set changes. For example when a master steps down, it may take a few seconds for a slave to be elected as primary so during that time we need to handle this and retry functions that can throw MongoConnectionException and MongoCursorException.
Sometimes randomly we've gotten the errors as well so I think we just need to handle it and retry when it happens. For example when iterating over a cursor, you may get an exception from one getNext() call but simply trying again right afterwards it will work.

What do you think about moving the retry logic to a collaborator? That way users could opt-in to the whole thing. It could also give us a much cleaner way to accomplish logging by getting rid of all the Loggable* subclasses and creating Loggable* collaborators (see #34).

Would you be able to do what you need to do here with a protected method like...
protected function callDelegate($method, $arguments);

You could have retry logic in there and I could also use that method to accomplish the enhanced logging in #34 in the Loggable* subclasses. I'm not able to use your retry method for logging because there's no visibility into what the closure is doing.

I am not sure. I'd have to see a proposed patch.

I'll put something together.

I've merged this work into #34. Please let me know what you think.


App refurbish

Huge update in app structure
Optimize code: reduce memory usage and add several verifications
Add cpp tests
Develop JS package to use in Zemu tests
Add Zemu tests
Verify signature in Zemu tests
WIP:
Finish optimization
Add more examples in cpp test

:link: zboto Link

I see, there is another PR that seems updated.. should we close this one?

yeap! you are right! This PR is much cleaner: https://github.com/Zondax/ledger-algorand/pull/3


trying to update from nuget raise an error

Attempting to resolve dependencies for package 'HDF5-CSharp.1.17.0' with DependencyBehavior 'Lowest'
Unable to resolve dependency 'PureHDF'. Source(s) used: 'nuget.org'.
How can I solve the issue?
I am currently trying to "move" from windows app to macOs app and I am facing this issue

Hi @Marco-Pellegrino,
This is probably due to the fact that PureHDF is still pre-release nuget. Please enable the pre release option so it can be used..

thanks @LiorBanai !
It did worked


Upload Zip directly to Lambda function

If the Zip is less than 50mb you can upload it directly to the Lambda function. This would make the S3 bucket not always required and one less step for small functions.
I have a working version of this, is it worth sending a PR?

It is always worth opening up a PR @parkourben99


[Packaging] Make this wallet available as flatpak package on FlatHub

Hi. It will be very useful for Linux users if this wallet become available as flatpak on FlatHub.
Flatpak is a universal secure package system support most of Linux distros & users. If this wallet become available on FlatHub as flatpak, then it will be available for almost all Linux users.
Flatpak on FlatHub will allow easy & TRUSTED installation of applications.
All applications on FlatHub are protected by a signature system that insure that no hacker intrusion happened for flatpak packages hosted on it.
With FlatHub no need for manual verification of downloaded package, all done automatically.
The head members of FlatHub prefer from packagers - if their packages are of open source applications - they prefer them to make their flatpak packages as deterministic (reproducible) packages .....
Flatpak allow for automatic updating which is much better than the case of with AppImage formate.
FlatHub home address:
https://www.flathub.org/home
FlatHub repositories are:
https://github.com/flathub
You can post your PR to add this repositories at:
https://github.com/flathub/flathub/pulls
Flatpak sites are:
https://flatpak.org/
https://github.com/flatpak/flatpak
https://docs.flatpak.org/en/latest/

I would like some integration in a package manager for easier updating and installing on linux based distros. I think there might be a community managed package manager integration. I would be interested in Udjin's thoughts

FlatHub is a COMMUNITY repository NOT A COMPANY repository !
Snap is a company repository where no one can shif a snap package outside snapcraft at all, so snap packaging system is CENTRALIZED. But the case totally different with flatpak. Flatpak is decentralized, so that you are not obligated to ship your flatpak on FlatHub. You can instead ship it on your own repository .... But for purpose of ease & SECURITY they create FlatHub to make it easier for users to find their needs in a single place instead of searching about over the web ......
FlatHub is NOT A COMPANY repository, but it is PURELY A COMMUNITY made store like F-Droid for Android system apart from FlatHub allow both open source & closed source applications. However, if application is closed source, then FlatHub will warn you ......
All what have to update your flatpak packages installed on your system is to do one of the following:

use command line:
$ flatpak update
& that is all.
or:
open GNOME software & use it to update your package(s) ...... GNOME software is GUI for flatpak from any source whether from FlatHub or from outside FlatHub .....

Regarding "Notifications about new update" this is already done by GNOME software ! It give you such notification when new update available including for your installed flatpak package. And really I'm lucky because while I'm writing this comment, my GNOME software give me a notification about availability of new updates ! See following screenshots:


load_model fails with TypeError: unsupported operand type(s) for /: 'PosixPath' and 'ModelPrivateAttr'

https://github.com/peng-lab/BaSiCPy/blob/f4eac9bbca2a4cffec01c26aeb2837b80327905c/src/basicpy/basicpy.py#L801C22-L801C22
load_model being a classmethod, cls._profiles_fname and cls._settings_fname are not instantiated when called, so are not recognized as strings and can't be added to Path with / op.

Hi, thanks @sooheon for finding this! I believe this is already fixed in the newest version by setting the filename outside the class. I'll close this for now but please feel free to reopen this!
https://github.com/peng-lab/BaSiCPy/blob/07d438ed58b8a9ab154a41a4d57e44de6b631fe6/src/basicpy/basicpy.py#L835-L877


[Feature Request] Extract cookies from char[] or java.lang.String

I think this is a good attack mode, and I have successfully implemented the attack with the help of cookies.

好的，感谢建议🌹，将在后续版本加入该功能


fixed default ordering when no order-by is supplied

wix/angular-tree-control#15 seemed to have broken the default
ordering of the tree. I think this fixes all the tests and restores the
ordering in the case that the user does not specify an orderBy
expression - that is, it does not change the tree order at all when
orderBy is not passed in, as one would expect.
Previously, the orderBy filter was blindly applied to the data, even
when the user didn't specify the orderBy attribute on the tree
control. Without this PR, the only way to order the tree is by passing
the orderBy attribute in the  element. Programatic tree
ordering was ignored, since the orderBy filter of the directive itself
was always applied last. This is especially problematic since the
orderBy only accepts an expression and not a function, so there's no way
to customize the ordering further than passing in a property of your
nodes. For example, AngularJS's default orderBy is case insensitive, so
we don't have the option of ordering in a case sensitive fashion, unless
we create a completely separate property on the node purely for
ordering.
More importantly, if you did not provide an orderBy, the default orderBy
was being applied, and it did not understand the objects that we usually
use as nodes in our trees. Every user who does not provide an orderBy
will get unexpected ordering where angularJS tries to order objects
naively.

Thanks for the fix - I totally missed that


System.IO.FileNotFoundException

The following xaml code I get an error message.
<?xml version="1.0" encoding="utf-8" ?>
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms"'
            xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
            xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
            prism:ViewModelLocator.AutowireViewModel="True"
            x:Class="MainPage"
            x:Name="MainPageForm">
  <ContentPage>
    Year
  </ContentPage>
  <ContentPage>
    Year2
  </ContentPage>
</CarouselPage>
System.IO.FileNotFoundException: Could not load file or assembly 'Prism.Forms' or one of its dependencies.

I have the same issue, but on every page.
:(
For you, the other page types work?

If you use third party libraries (i.e. Prism), you have to integrate Xamarin.Forms.Player in your app so ir could load these custom libraries

I am having the same issue. I can run sample prism examples but when I create one myself I am getting this error.

To have custom controls, viewmodels, value providers, markup extensions and what-not, you should create your own player with the right references. That's what the https://www.nuget.org/packages/Xamarin.Forms.Player package is for :)
That way, it will properly resolve even custom controls you happen to use.


fix(curriculum): update video ids for DOM manipulation and events module

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Waiting for approval of some videos.
Still to update for this module:

[x] How Do You Create New Nodes Using innerHTML() and createElement()?
[x] How Do You Open and Close Dialog Elements Using JavaScript?
[x] What Is the Web Animations API, and How Does It Relate to CSS Animation Properties?
[x] What Is the Canvas API, and How Does It Work?
[x] What Is the Change Event, and How Does It Work?
[x] How Do Event Bubbling, and Event Delegation Work?

Some videos are still not approved but I'm going to open it for review.


Better documentation needed for FZ Multi Monitor support

Hi guys! The feature log for 0.12.0 says "Editor now supports multi-monitor" for FancyZones. This was the most expected feature for me and lots of others. But I can't figure how it works. It seems that nothing new was added to the exisiting functionality of the Editor. The editor still works only on the main monitor and there is no way to move zones across multiple monitors.
Can you help me please?

Hi @rfr
to open the editor on a different monitor there are a couple of ways to do it:

move the PowerToys Settings window to the monitor where you want to edit the zones and then click on the Edit zones button.
use the shortcut key to open the editor, it will open on the monitor where the mouse cursor is.

Let us know if it worked for you.
Thanks.

@enricogior thanks, that works! Maybe it's a good idea to document that behavior, since it's not very intuitive.

@rfr thanks for the feedback, we will improve the documentation, let's keep this issue open and I'll add the documentation label.

That did not work for me. I move the settings window to my second monitor, but if I change the layout on that monitor it changes it on my other monitor too. Both monitor layouts are identical. How can they be separated?

@Gadgetgeek2000 u need to create a new custom layout for each monitor

@Gadgetgeek2000 u need to create a new custom layout for each monitor

I did that. I have 2 custom layouts. One for the left monitor, one for the right.

I move the mouse to the left monitor and press [WIN] ~

I choose Custom, and the left layout option.

I click Apply

I move the mouse to the right monitor and press [WIN] ~

I choose Custom, and the right layout option.

I click Apply.
The right monitor layout is applied to all monitors.

@Gadgetgeek2000 hm, not sure why it doesnt for you. I have 3 monitors. For each I have:

opened the Settings
moved it to respective monitor
opened Zone Editor from settings
created new zone and edited it
saved the setting
closed settings window

Same. 3 4K monitors. It refuses to separate. All monitor layouts the same, all the time. :(

Hi @Gadgetgeek2000
please open a new issue for the bug you described.
Thank you.

https://github.com/microsoft/PowerToys/wiki/FancyZones-Overview#multi-monitor-help does have this


StaticFiles not returning modified files

Updated to latest from the nighties today and only unchanged files were getting 304.  modified files were getting 404.

To clarify, I've debugged with the staticFiles src, and found that in StaticFileContext.LookupFileInfo, when _subPath.Value = "/lib/bootstrap-touch-carousel/css/bootstrap-touch-carousel.css", which does exist, the call to
fileInfo = _options.FileProvider.GetFileInfo(_subPath.Value);
results in fileInfo.Exists == false;

Renaming the /lib/bootstrap and /lib/bootstrap-touch-carousel directories to bootstrap and bootstrap-carousel fixed the issue.  Maybe grunt mangled the names when it copied the files?  I couldn't see any funny characters.

Just a not, these were the only copied directories that had /dist/**/ in the copy instructions.
/// <binding Clean='clean' />

var gulp = require("gulp"),
	rimraf = require("rimraf"),
	fs = require("fs");

eval("var project = " + fs.readFileSync("./project.json"));

var paths = {
	bower: "./bower_components/",
	lib: "./" + project.webroot + "/lib/"
};

gulp.task("clean", function (cb) {
	rimraf(paths.lib, cb);
});

gulp.task("copy", ["clean"], function () {
	var bower = {
		"angular": "angular/angular*.{js,map}",
		"boostrap": "bootstrap/dist/**/*.{js,map,css,ttf,svg,woff,eot}",
		"boostrap-touch-carousel": "bootstrap-touch-carousel/dist/**/*.{js,css}",
		"hammer.js": "hammer.js/hammer*.{js,map}",
		"jquery": "jquery/jquery*.{js,map}",
		"jquery-validation": "jquery-validation/jquery.validate.js",
		"jquery-validation-unobtrusive": "jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"
	};

	for (var destinationDir in bower) {
		gulp.src(paths.bower + bower[destinationDir])
			.pipe(gulp.dest(paths.lib + destinationDir));
	}
});

What server are you using?
cc @Tratcher

I assume you're using Helios and IIS.  Putting this in the Backlog.


Fix FormulaWidgetUI render when data is zero

When data was 0, a render was not happening, leaving the widget with the previous value, causing a bug

Pull Request Test Coverage Report for Build 674010089

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 78.206%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/react-ui/src/widgets/utils/animations.js
0
4
0.0%

Totals

Change from base Build 668689666:
-0.4%

Covered Lines:
569

Relevant Lines:
690

💛  - Coveralls


Error in compilation

Any idea of the following error when performing catkin build --save-config -i --cmake-args -DCMAKE_BUILD_TYPE=Release -DOPENGL_VERSION=430 -DENABLE_NVIDIA_EXT=YES?
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_3b2ac.dir/CheckFunctionExists.c.o -o cmTC_3b2ac  -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_3b2ac.dir/build.make:98: recipe for target 'cmTC_3b2ac' failed
make[1]: *** [cmTC_3b2ac] Error 1
make[1]: Leaving directory '/workspace/catkin_ws/build/surfel_mapping/CMakeFiles/CMakeTmp'
Makefile:127: recipe for target 'cmTC_3b2ac/fast' failed
make: *** [cmTC_3b2ac/fast] Error 2

The relevant line in the error is: /usr/bin/ld: cannot find -lpthreads
Not sure why it isn't installed with libc, but there are multiple results on google. (It might be sufficient to install libc6-dev, but I didn't check it.)

libc6-dev

Thanks, this lib is installed. Therefore, not working.

Then I have no idea why the linker doesn't find the "posix threads".
I have no further idea...try to google the error: /usr/bin/ld: cannot find -lpthreads. That's what I would do.


MUMUP-2332 : Read only mode for search results

Only change is the launch buttons

Nice, :+1:

:+1:

Not a dealbreaker but i'd prefer to stick with a link + icon like "add to home" - otherwise gonna have a ton of big red buttons on this page, no?

@keirserrie not sure I follow. Talk f2f?

yep i'll stop by

@keirserrie if you want to get a feel for it this is available now at https://public.predev.my.wisc.edu/web/apps. Thinking btn-outline would be nice here.


Suggestion: use Blob + Window.URL instead of base64

Very appreciate your work with such amazing editor.
I've noticed TUI editor supports IE10+, which means it can use blob and window.URL instead of base64 when uploading images. It will reduce those verbose and unreadable base64 data when users switch to Markdown mode. Also, the performance of parsing content would be better.
How do you think about it?

@abruzzihraig NICE! 🎉
That's an amazing idea. I haven't thought about it.
I'm sure it'll make markdown editor much better.
If you(or somebody) are interested in help, check out below code.
I'd like to wait for few days 😉
https://github.com/nhnent/tui.editor/blob/4aed6917860f4123c047e42932855a0be7ba6c66/src/js/importManager.js#L126-L136
and some code in importManager.spec.js for test.
Please feel free to make a PR for it. 👍

You can't save window blobs to a persistent storage. Either these blobs should be immediately replaced to links to actual files (e.g. after uploading them to an image server or a direct link in desktop apps), or they should be base64-encoded. Otherwise the built-in function to upload images is just pointless.

If it should be persistent, we can convert the blob url to base64 as late
as possible before storing. Parse image to base64 when editing would have a
bad performance.
Cosmo Myzrail Gorynych aka CoMiGo<EMAIL_ADDRESS>周日上午2:48写道：

You can't save window blobs to a persistent storage. Either these blobs
should be immediately replaced to links to actual files (e.g. after
uploading them to an image server or a direct link in desktop apps), or
they should be base64-encoded. Otherwise the built-in function to upload
images is just pointless.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nhnent/tui.editor/issues/48#issuecomment-362824498,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADM3a6fRuk5QYo2WtAyW2ARoUdTocBByks5tRH-1gaJpZM4RfHSe
.

--
Yang He

I got a tip from @Vnthf
They mark base64 string on codemirror using codemirror markText()
It'll style verbose base64 text to a nice short text.
It only affect it's style, so It doesn't manipulate text data.

Just like using a hash string to represent the base64 data? But how do you
display the image in the WYSIWYG mode?
It sounds like the parser still needs to parse the real verbose base64 data
every time by the content changes.
On Wed, Feb 7, 2018 at 2:27 PM, KyuWoo Choi<EMAIL_ADDRESS>wrote:

I got a tip from @Vnthf https://github.com/vnthf
They mark base64 string on codemirror using codemirror markText()
http://codemirror.net/doc/manual.html#api_marker
It'll style verbose base64 text to a nice short text.
It only affect it's style, so It doesn't manipulate text data.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nhnent/tui.editor/issues/48#issuecomment-363644932,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADM3a1blTZw6lvJm38-tD8D47zPwenx0ks5tSRg1gaJpZM4RfHSe
.

actual markdown text
![image.png](data:image/png;base64,long-base64-encoded-image-blahblah==)

shown on markdown editor
![image.png](shortened-image-mark-element)

by doing
codemirrorDoc.markText(from, to, { repalceWith: shortened-image-mark-element });

it covers only presentation on codemirror, doesn't actually modify codemirror document.
so copy/paste to/from clipboard, switching mode will work smoothly.
html in wysiwyg

as codemirror document has never been changed actually.

Hi guys any news on that? I also noticed a bad performance once image inserted. Which solution should we pick?

The solution I had posted is already shipped in Dooray editor and It works well.
I'll ask @Vnthf to contribute, or I'll try to adopt some code from there.

Yes, please, that would be great

@kyuwoo-choi  This is how i achieved.
1.Grab the base64 data.
2.Make a Ajax call to a web api that converts base64 into image and save it on the server.
3.Return the url as required and pass it to emit function.
 $.ajax({                   url: 'Home/Index',                   type: 'POST',                   dataType: 'text',                         data: { capture: reader.result },                   success: function (data) {                           editor.importManager.eventManager.emit('command', 'AddImage', {                           imageUrl: data,                           altText: 'image'                       });                   },                   error: function () {                       alert('error');                   },               })    ;
Webapi Code.
` [HttpPost]
public String Index(String capture)
{
string base64String = capture.Replace("data:image/png;base64,", "");
        byte[] imageBytes = Convert.FromBase64String(base64String);
        MemoryStream ms = new MemoryStream(imageBytes, 0, imageBytes.Length);

        // Convert byte[] to Image
        ms.Write(imageBytes, 0, imageBytes.Length);
        Image image = Image.FromStream(ms, true);
        string spath = System.Web.HttpContext.Current.Server.MapPath("~/Upload");
        string path = spath + "/Myimage.jpg";
        image.Save(path, System.Drawing.Imaging.ImageFormat.Jpeg);

        string imagePath = path.Remove(0, 57);
        return imagePath;
    }`

actual markdown text
![image.png](data:image/png;base64,long-base64-encoded-image-blahblah==)

shown on markdown editor
![image.png](shortened-image-mark-element)

by doing
codemirrorDoc.markText(from, to, { repalceWith: shortened-image-mark-element });

it covers only presentation on codemirror, doesn't actually modify codemirror document.
so copy/paste to/from clipboard, switching mode will work smoothly.
html in wysiwyg

as codemirror document has never been changed actually.

thanks first， but how can i init it，when reopen the doc


Refactor predictor to mirror extractor attributes

Many predictor attributes are direct mirrors of extracted feature attributes, which are copied over.
It might be beneficial to instead have dynamic properties linked directly, so no manual updating in necessary, and to ensure data does not diverge.

Actually, this can be done on the level of the output Schema, as extractor properties can be included as a NestedSchema, if they exist.

Tal thinks that this should not be a problem since this is what db's are design to do (hold large amounts of data). So I'm going to close this for now, unless it becomes an issue again.


 So maybe we can talk about things that we plan to use in Module 2:

Chaining
Data Loaders
Other abstractions LangChain provides for embeddings, etc.

We should probably avoid delving into words we haven't explained yet. For example, LangChain provides abstractions for multiple vector stores and embeddings, but we cover that in Module 2.

From discussion with @IshikaKhandelwal, @anujsinha3:
Maybe focus on Why LangChain?, and Chaining, and keep other LangChain abstractions for Module 2.

Addressed in https://github.com/uw-ssec/tutorials/blob/main/SciPy2024/module1/langchain.ipynb


Forgot NPCs/Banners for 1.3.3

Thanks.  Yeah, it's always tricky when they add new variants to older block types.  The worst is when they randomly reassign or rename something.

I remembered to change the tiles to add the variants, so I almost had it all the first time. Just forgot to add the npc's for the kill counts