Support for real-time, collaborative, direct manipulation design process

User story
As a student
I need 'a personal dynamic medium' to express my thoughts
so I gain immediate and intuitive understanding of complex ideas

As a person communicating through rich, interactive media
I would like to directly manipulate my narrative expression without switching context
so that I can create at the speed of thought without having to think, much, like a computer

Principle

Humans should human
computers should computer
and computers only exist so we can better human

Challenge
Even though the programming environment minimises time-to-comprehension by quickly rendering results when the play button is pressed, there is still significant separation between the visual output and the generative commands.
The challenge is to work together to build a toolkit that provides nearly real-time responsiveness, intuitive interaction, and feedback between system components while avoiding syntax errors.
There are several projects in the same vein, or design space, that are working separately on seemingly different problems. The opportunity here is to combine forces to fill out the picture of a cohesive, visual, direct manipulation interface for creating non-linear, hypermedia narratives.
Feature
Allow end-users to directly interact with geometric primitives, DOM elements, and other P5.js objects, and each other in real-time. People can set parameters on objects from one another, run arbitrary expressions in object parameters, drop 'block' elements on to the canvas, and compose interactive objects that change scene data flow.
Environment
The environment is the container. It can contain information about the state of the exploration, global events, etc. It is the master document into which sub-documents are added and linked, in arbitrary combination. The environment is

a general window that view[s] a large virtual world
-- Alan Kay describing the Sketchpad User Interface

The environment is, in effect, any modern web browser.
Stages / Scenes
Scenes are arranged within the environment, and within one another. They contain elements, both visible and invisible. Scenes and their elements can change over time.

Source: Godot engine scene diagram

Linking
Scenes can be linked to one another, in any order.

Actors / Elements
Elements are like the actors in the scene. They have properties and behaviours that make up their personalities. They interact, sometimes badly, with one another.
Shapes
Complex shapes can be made of simple shapes. People like to work with things directly, so may like to work directly with the shapes.
People can select basic shapes from a palette, drag them on to the stage, and modify their properties.

Multimedia
There are also sound, image, video, and three dimensional elements, as well as lights and cameras.
Flow and rules
Ideas can move throughout the system very quickly. While data and events are moving around, they get modified and cause reactions. Stage objects, and stages themselves share and modify data streams.

Source: TensorFlow

Programming
Within flow elements, step-wise programs can be built with visual blocks, or some other iconic representation. This visual/iconic grammar is accessible to adults and children alike:

the directly symbolic approach taken by [many languages] would be difficult for the kids to process since evidence existed that the symbolic stage (or mentality) was just starting to switch on. In fact, all of the educators that I admired (including Montessori, Holt, and Suzuki) all seemed to call for a more figurative, more iconic approach.
Alan C. Kay - The Early History of Smalltalk

Source: Wikipedia - PureData

Declarative language/reasoning
Humans are very good at declaring things. "I'm hungry", "put the groceries on the table", "I wish my flowers would grow"... Computers need to understand declarative statements, so that humans can tell them what to do.
With regards to a rich media environment, we need a declarative language to create multi-dimensional, interactive media.

[Declarative 3D for the web will] allow anyone to easily create, share, and experience interactive 3D graphics - with possibly wide ranging effects similar to those caused by the broad availability of video on the Web.
Source: Declarative 3D for the Web Architecture Community Group

Blocks
Programming elements can be arranged and snapped together, or connected in a flow graph:

Source: Wikipedia - Scratch (programming language)

Containers
Programming logic is contained in, or associated with, canvas elements:

Encapsulation, Abstraction
Blocks can be combined into 'meta' blocks, which abstract the inner workings for visual simplicity. Visual programs may be encapsulated into self-contained elements. These elements may send and receive data streams through external interfaces:

Source: Cameleon language: Features

Modularity
Creations can take external input and provide output that can be accessed by other creations. This modular approach allows the entire space of design possibilities to communicate and resonate.
Rendered output at each stage
Each programming element can display the current 'state' of processed data. This helps the user to understand changes in each step of the programming flow:

Source: Wikipedia - Working with nodes in Blender 3D

Rendered output can include visual, numeric, text, and audio representations.
Context
Elements interact with one another, communicate, and change their surroundings. This form of context-full interaction enables rich, and emergent behaviour.

With native methods, we operate on context ... we operate on objects — instantiate them, change their properties, and add them to canvas. You can see that these objects are first-class citizens...
Source: Introduction to Fabric

Collaboration
Delayed
People may wish to share their work with others. To enable sharing and remixing, allow makers to publish their work to a public repository.
Publishing and remixing has been demonstrated by many community projects, including Khan Academy, Scratch, D3 Building Blocks, and eToys.
Real-time
In addition to sharing work for later reuse, people may wish to collaborate in real-time. To this end, the tool should support concurrent interaction with the project space. It should also indicate presence and enable communication, so that collaborators can interact with one another as well as the project.
Massively multiplayer
Makers can share and remix resources in a virtual space, i.e 'metaverse'. Collaborators can make open-access or protected creations.

Source: Voxelands: the fun-focused Free Software voxel world game

Platform
The platform should be built of Web Platform technologies.
Output
The final output of a project will be standard Web Platform technologies. The output should primarily target web browsers, or other environments that render native Web Platform code.
WebGL
One output option is WebGL. WebGL has the following benefits:

works in browsers without installing additional software (plugins)
crossplatform, intended for all desktop and embedded systems
open standard, does not require licensing fees
supported by the leading participants of the IT market (Google, Apple, Microsoft, Nvidia, Samsung, Adobe and others)
based on OpenGL which is familiar to developers
can be integrated with other browser technologies

Source: Blend4Web User Manual - Advantages of WebGL

Reference
There are several emerging projects and tools that allow direct manipulation of graphic and program objects. This section contains a few demonstrations and tools.
Presentations

Mira Dontcheva - Lowering the Barriers to Learning Complex Visual Design Tools
Pamela Fox (@pamelafox) - Creating Interactive Learning Interfaces at Khan Academy
Jennifer Jacobs (@pixelmaid) - A demo of Para
Alan Kay - A powerful idea about ideas
Scott Klemmer - Direct Manipulation
John Resig (@jeresig) - Using JavaScript to Teach JavaScript
Tom De Smedt (@tom-de-smedt) & Frederik De Bleser (@fdb) - Agile Data Mining and Visualization
Toby Schachman (@electronicwhisper) - Apparatus: A Hybrid Graphics Editor / Programming Environment
Scott Snibbe (@snibbe) - Direct Manipulation Animation

Exploring the Universe Through Interactive Art

Bret Victor (@worrydream) - Media for Thinking the Unthinkable

Tools

CDG Labs Apparatus - a hybrid graphics editor / programming environment for creating interactive diagrams.
Blender3D - 3D modelling, animation, etc. Allows direct manipulation and programming through visual blocks and flow-based interface.
Caméléon - a graphical language for functional programming.
Godot - multi-platform 2D and 3D game engine. Provides direct-manipulation of game assets, parameter editor, and scripting interface when needed.
Khan Academy live editor - gives learners an editor on the left (either ACE or our Blocks-based drag-and-drop editor) and an output on the right (either JS+ProcessingJS, HTML, or SQL).
Mozilla Together.js - real-time presence, communication, and collaboration.
NodeBox - Cross-platform, node-based GUI for efficient data visualizations and generative design. Enabl[ing] designers to automate boring production challenges, visualize large sets of data and access the raw power of the computer without thinking in ones and zeroes.
Para Drawing - a digital illustration tool tool that uses direct manipulation to define and edit procedural artwork.
PureData - graphical, multimedia programming environment with built-in support for real-time collaboration
@ravichugh / sketch-n-sketch - allows users to freely mix between programmatic and direct manipulation.
Squeakland eToys - a media-rich authoring environment and visual programming system
Twine.js - open-source tool for telling interactive, nonlinear stories.

Articles

Henri Bergius (@bergie) - Direct manipulation interfaces
Joel Brandt (@joelrbrandt), Philip J. Guo, Joel Lewenstein,  Scott R. Klemmer,  Mira Dontcheva - Opportunistic Programming: Writing Code to Prototype, Ideate, and Discover

Books

No Code Required by Allen Cypher, Mira Dontcheva, Tessa Lau, Jeffrey Nichols

Definitions

Dataflow
Dataflow connect[s] computational actors into stages (pipelines) that can execute concurrently. --Wikipedia: Dataflow

Metaverse
A collective virtual shared space... made up of persistent, shared, 3D virtual spaces linked into a perceived virtual universe. --Wikipedia: Metaverse

Operational transform
[Method to] support a range of collaboration functionalities in advanced collaborative software systems. --Wikipedia: Operational transformation

:+1:

This is super interesting - thanks for posting! I think this is a bit outside the scope of the p5 editor at the moment.

OK, thanks for your feedback. The main observation is that all of the projects have limited scope, but seem to be working on pieces of a bigger picture.


python312Packages.uiprotect: 6.1.0 -> 6.3.1

Diff: https://github.com/uilibs/uiprotect/compare/refs/tags/v6.1.0...v6.3.1
Changelog: https://github.com/uilibs/uiprotect/blob/refs/tags/v6.3.1/CHANGELOG.md

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 347082 run on x86_64-linux 1

7 packages built:

home-assistant-component-tests.unifiprotect
python311Packages.uiprotect
python311Packages.uiprotect.dist
python312Packages.uiprotect
python312Packages.uiprotect.dist
unifi-protect-backup
unifi-protect-backup.dist


Added endpoint to check for applications for current logged-in user.

Short description outlining key changes/additions
Added endpoint to check for applications for current logged-in user, returns 204 if an application has been found else will return 404
JIRA Ticket Number
IDVA5-800
Type of change

[ ] Bug fix
[x] New feature
[ ] Breaking change
[ ] Infrastructure change

Pull request checklist

[x] I have added unit tests for new code that I have added
[x] I have added/updated functional tests where appropriate
[x] The code follows our coding standards

An exhaustive list of peer review checks can be read here

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found


Accessing hardware peripherals from states

Can anyone give a small example of accessing a GPIO or some other peripheral from a state?  I got the example blinky working on an ESP32-C3, but I can't get an LED to blink.

Hi! The example below should work:
use std::thread::sleep;
use std::time::Duration;

use anyhow::Result;
use esp_idf_hal::gpio;
use esp_idf_hal::gpio::PinDriver;
use esp_idf_hal::prelude::Peripherals;
use statig::prelude::*;

enum Event {
    TimerElapsed,
}

struct Blinky {
    led: PinDriver<'static, gpio::Gpio27, gpio::Output>,
}

impl Blinky {
    fn new(led: PinDriver<'static, gpio::Gpio27, gpio::Output>) -> Self {
        Self { led }
    }
}

#[state_machine(initial = "State::on()")]
impl Blinky {
    #[action]
    fn enter_on(&mut self) {
        self.led.set_high().unwrap();
    }

    #[state(entry_action = "enter_on")]
    fn on(event: &Event) -> Response<State> {
        match event {
            Event::TimerElapsed => Transition(State::off()),
        }
    }

    #[action]
    fn enter_off(&mut self) {
        self.led.set_low().unwrap();
    }

    #[state(entry_action = "enter_off")]
    fn off(&mut self, event: &Event) -> Response<State> {
        match event {
            Event::TimerElapsed => Transition(State::on()),
        }
    }
}

fn main() -> Result<()> {
    esp_idf_sys::link_patches();

    // Config logging.
    esp_idf_svc::log::EspLogger::initialize_default();

    let dp = Peripherals::take().unwrap();
    let led = PinDriver::output(dp.pins.gpio27).unwrap();

    let mut blinky = Blinky::new(led).state_machine().init();

    loop {
        sleep(Duration::from_millis(500));
        blinky.handle(&Event::TimerElapsed);
    }
}

I noticed that you also asked the question on the Rust user forum and I wanted to add some comments on the answer that was given there. It's important to understand that event handlers such as led_on and led_off are called when an event arrives in the associated state. So here for instance the led_on handler is called an event arrives in the LedOn state:
fn led_on(&mut self, event: &Event) -> Response<State> {
    self.led.set_high();
    match event {
        Event::TimerElapsed => Transition(State::LedOff),
        _ => Super,
    }
}

The thing is, if you set the led to high inside the led_on event handler and then decide to transition to LedOff, the led will be tuned on in the LedOff state, which is probably not what you'd expect. 😅
So instead you could do this:
fn led_on(&mut self, event: &Event) -> Response<State> {
    match event {
        Event::TimerElapsed => {
            self.led.set_low();
            Transition(State::LedOff)
        }
        _ => Super,
    }
}

Here we set the led to low just before transitioning to the LedOff state, which will give the desired behaviour. However, this is not ideal as you have to make sure you set the led to low every time you transition to the LedOff state. This is not really a problem in a simple example as this, but in larger state machines it can be easy to forget.
To solve this we can use a feature of statecharts called actions. These are called when entering (or leaving) states and we can set the led there to make sure that it's always correct.
#[action]
fn enter_on(&mut self) {
    self.led.set_high().unwrap();
}

#[state(entry_action = "enter_on")]
fn on(event: &Event) -> Response<State> {
    match event {
        Event::TimerElapsed => Transition(State::off()),
    }
}

Thank you @mdeloof!  I appreciate your response and added commentary on what I thought was a working solution!


Add another homebrew solution to README.md

Just fixing the link to issue 1 in README.md and adding the last solution suggested as option 3.
There may be a way to add it automatically using something like:
switch (uname)
case Darwin
    set -U fish_user_paths ~/.pyenv/shims $fish_user_paths
end

though if it can't be implemented without pyenv-fisher maybe that's too much to require.

Thank  you 🎉


"The exclusion_policy must be all" when creating entity via API

I'm running dev-master so I can work with the new parts of ApiBundle.  Retrieving an instance of my custom entity works very well but when I try to create an instance via POST:
POST /api/registrationcourseregistrations HTTP/1.1
Authorization: WSSE profile="UsernameToken"
X-WSSE: UsernameToken Username="xxxxxx", PasswordDigest="xxxxxx", Nonce="xxxxxx", Created="xxxxxx"
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache

courseOffering=2&courseOfferingGroup=3&employee=293&employeeProfile=293&status=P

I get a 500 with this response:
[
  {
    "title": "runtime exception",
    "detail": "The \"exclusion_policy\" must be \"all\"."
  }
]

The Registration entity I'm trying to create there has 4x ManyToOne associations -- Offering, Group, Employee and Profile.

  The source of that exception is [`ObjectNormalizer::normalizeObjectByConfig`](https://github.com/orocrm/platform/blob/163d293458df585c7a9508ff78a5f391f1ea55de/src/Oro/Bundle/ApiBundle/Normalizer/ObjectNormalizer.php#L129-L137)  Since the `get`/`get_list` can serialize the entity properly I don't see why `create` throws an exception here.  If I comment out that block of code in ObjectNormalizer:

```php
        if (!$config->isExcludeAll()) {
            throw new \RuntimeException(
                sprintf(
                    'The "%s" must be "%s".',
                    EntityDefinitionConfig::EXCLUSION_POLICY,
                    EntityDefinitionConfig::EXCLUSION_POLICY_ALL
                )
            );
        }

The POST request will now return a 201 response with the serialized entity.
I hacked that block of code an additional line that printed the class name of the entity causing the problem and it is "Course", which is OneToMany-associated with CourseOffering.  I tried

Setting exclusion_policy: all for that entity in api.yml.
Adding the JMS\ExclusionPolicy("all") annotation to the entity class.

Manually cleared the cache after both actions but neither caused the exception to stop.
Is it a bug, or do I just have something configured incorrectly?

Hi @adamlundrigan,

In whole your configuration is correct. But in term of JSON.API it is not good idea to return details of related entities if a client does not request it directly. Please look at Inclusion of Related Resources and Sparse Fieldsets. So, you can keep your api.yml file very simple:

oro_api:
    entities:
      Application\Bundle\RegistrationBundle\Entity\CourseRegistration: ~

The include and fields filters will be added automatically and they can be used if someone will need details about related entities.

Currently POST and PATCH methods can work only identifiers of related entities. We plan to improve this and in the future it will be possible to create/update primary entity and related entities in single API call.

JMS Serializer, as well as Symfony Serializer, is not used in ApiBundle at all. It is because the serialization should be based on API configs.

Regarding the error: it seems that it is a bug. I've created an issue and we will prepare a fix. But most of all the fix will be ready in autumn because now we have a lot of work due to the release of 1.10. Please let us know if it is a blocker for you and we will try to prepare the fix ASAP.

But in terms of JSON.API it is not good idea to return details of related entities if a client does not request it directly. Please look at Inclusion of Related Resources and Sparse Fieldsets.

Thanks for the tip!  I read the docs and code for ApiBundle but I didn't think to look at the JSON.API docs.

Currently POST and PATCH methods can work only with identifiers of related entities. We plan to improve this and in the future it will be possible to create/update primary entity and related entities in single API call.

Fantastic.

Regarding the error: it seems that it is a bug. I've created an issue and we will prepare a fix. But most of all the fix will be ready in autumn because now we have a lot of work due to the release of 1.10. Please let us know if it is a blocker for you and we will try to prepare the fix ASAP.

Thanks.  It is a blocker, but since this project is still in development I've added a patch to my application to remove those lines temporarily so I can keep moving, and that doesn't appear to have triggered any side-effects yet so it's fine.  If a related problem pops later up I'll let you know.


Incentive for authors to get their posts done more quickly

I try to also use it as incentive for authors to get their posts done more quickly :)

that's something worth noting in the newsletter issues or readme 😅
Originally posted by @PsichiX in https://github.com/rust-gamedev/rust-gamedev.github.io/issues/852#issuecomment-988159320

@ozkriff @17cupsofcoffee I'm interested in your thoughts, since this re-ordering is something I've mostly done on my own. How do both of you handle section ordering? Is it worth adding some info about it to the template?

ngl, personally if i knew FIFO ordering is used, i would prepare my nodes week before xD

I thought that all the editors have agreed on FIFO ordering many newsletters ago after a discussion on DIscord.
At least I've trying to follow it for many months now

What is somewhat inherent to the one-page format, but also causes a extra work (for both editors + authors), are the constant merge conflicts.
Maybe some alternative approaches should be brainstormed, e.g. having a "include" statement which is simply copy-pasting the contents of another .md file into its place? That would allow independent and parallel work. I'm not sure if there are any Zola or Markdown extensions for this, but even a simple Rust/Bash/... script run through CI before sourcing Zola could already do the job.
Ordering could still be done in a FIFO style if that is desired. It means however that people with the most time/availability always have their entries at the top, and people with a tougher RL schedule are extra punished. Maybe random order is fairer in that regard.

@Bromeon Personally, I love the simplicity of the current one-page format and that it's easy to preview on GitHub as-is.

causes extra work (for both editors + authors)

:thinking: The authors aren't supposed to resolve any conflicts and for the editors it should take something like 10-30s cause the sections are modular and the conflict resolution before the merge is fairly easy even with GitHub's web UI.

It means however that people with the most time/availability always have their entries at the top, and people with a tougher RL schedule are extra punished

People always have the option of preparing their work before the month starts, or the issue comes out; it's no secret how it will work each month. The problem is that we tend to see more people submitting after the "soft deadline", which is normally several days into the month. That could extend across an entire workweek, but again, people can pre-emptily prepare if they want to have their section at the top.
Further, the merge conflicts that we have right now aren't the end of the world. It does mean that we have to add another commit when we go to merge, and CI does have to run again, but PRs get squashed so it's not too dirty. It is currently the lowest-overhead solution, which works well since editing the blog each month is already a very heavy load on the three editors :sweat_smile:

I see, thanks to both of you for that perspective!
What I'm not yet sure about are author PRs that need changes. I guess it's less stressful for editors if we provide PRs before the month ends. If some changes are requested only weeks later, it could still mean a lot of last-minute ping pong (and last place + merge conflicts for that entry) 🙂 but if it's not the rule, should be totally OK.
My takeaway: we should ideally submit in the last week of the month (or even earlier). Won't this "race" eventually have the effect that the reporting window shifts to a few weeks earlier (so it's not really about November, but about mid-October until mid-November, for example)? Just thinking loud, I agree all of those are not huge issues 😉

Just a thought: what if we could submit our content as markdown directly in a GitHub issue instead of dealing with the (franky very frustrating and laborious) process described below?

Updating our existing but outdated fork (usually it's easiest to delete my entire fork and make a new one in GitHub)
Cloning it to our computer (which is several hundred megabytes)
Writing content
Dealing with annoying linting requirements
Submitting a PR
Then fixing lint errors from CI and pushing amendments until it passes

Avoiding this technically challenging and mostly mechanical busy-work would probably help improve both the speed that people submit sections as well as the number of sections people are willing to write, by removing the barrier to entry so that it can be a simple matter of commenting on an issue, or filing an issue, with the post's markdown directly included in the post.

@Keavon the disadvantage I see is that you can no longer preview it in Zola (locally) and no longer run CI. So it effectively moves more work from authors and automation to editors, which then have to manually put each entry through the linter and fix it or request changes.
But I agree that the linter is a bit strict. Is there maybe an option to auto-correct some of the changes? Such tools should have no problems replacing * with - in lists, or removing extra lines between paragraphs. IDE integration might be even better; I'm not sure if VSCode is the only one at the moment.

How about removing the linter entirely? I see no point to having it. Markdown is meant for humans, not computers.

My thoughts:

I also usually go with FIFO ordering unless one of the other editors specifically asks for it to change. The only time I generally reorder things when editing the newsletter is when multiple sections have a common 'theme' - e.g. i'll group all of the Ludum Dare games in a month together. I'm not 100% sure if we'd want to make this an explicit incentive, though? Promising people we won't change the order after their PR gets merged feels like it could give us less flexibility/increase the overhead of resolving merge conflicts.
Merge conflicts aren't one of the major pain points for us as editors, I don't think? Maybe we could make it clearer in the guidelines that we'll resolve those before merge, rather than people feeling like they have to endlessly rebase their PR.
I'm (slowly) working on finding a fix for the repo clone size on #636, as I recognize that's a big problem for contributors. I'd personally recommend people use the web editor rather than editing locally, but I know that's easier for some sections more than others.
I don't like the idea of taking section submissions via GitHub issues, as that would make it much more difficult to do reviews and would require a lot of extra manual assembly by the editors.
It would be really nice if we could auto-apply fixes, but I have a feeling GitHub Actions might be too limited :(

For discussion on the specific linting rules, it might be worth redirecting that to https://github.com/rust-gamedev/rust-gamedev.github.io/issues/639? @ozkriff and I have already posted some thoughts about the benefits and drawbacks of the current rules there.


Added .travis.yml to the repo & configured Travis CI

Fixes #10

CI now works, but unit tests don't provide enough code coverage - I will fix them in a separate PR since it's not directly relevant to implementing CI. For now, CI won't execute the tests, just ensure that the code can be deployed.


[Shader Language] Add missing token name.

Fixes https://github.com/godotengine/godot/issues/42756

Thanks!


dhcp-relay, combine clean and fix code for destination interface discovery

dhcp-relay, combine clean and fix code for destination interface discovery
p.s.
code works better than before imho, but does need checking if the 4 step route discovery is actually the right way to proceed.. thanks in advance.

@jim-p, thanks that function seems to do (almost) the same, but then better :).. Removed my get_realinterface_for_destination replacement for the old implementation by this guess_interface_from_ip one. Commit added.

@sbeaver-netgate , can you specify what changes are requested by you?

@sbeaver-netgate did you request any change on this PR?

@sbeaver-netgate please tell, what changes do you want? if none can you remove the 'changes requested' label .?

The label was added for hte Jim-P Jun 5 change request. Now resolved.

Yes funny though,
5 jun. 2017 15:54 CEST - Changes requested by Jim-P
5 jun. 2017 18:07 CEST - New commit pushed that included the requested changes
20 jun. 2017 16:30 CEST - ChangesRequested label added by SBeaver
That seemed a little late if it was related to Jim-P's request.. So was wondering if you spotted something that needed changing yourself. I understand that was not the case now :)
Thanks for pulling 👍

I look through the PRs from time to time and add any labels I think are helpful - it least it shows they are not forgotten. Sometimes I am late to the party :(
Steve
Stephen Beaver | +1<PHONE_NUMBER>;239 |<EMAIL_ADDRESS>| www.netgate.com

On Nov 29, 2017, at 4:46 PM, PiBa-NL<EMAIL_ADDRESS>wrote:
Yes funny though,
5 jun. 2017 15:54 CEST - Changes requested by Jim-P
5 jun. 2017 18:07 CEST - New commit pushed that included the requested changes
20 jun. 2017 16:30 CEST - ChangesRequested label added by SBeaver
That seemed a little late if it was related to Jim-P's request.. So was wondering if you spotted something that needed changing yourself. I understand that was not the case now :)
Thanks for pulling 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/pfsense/pfsense/pull/3747#issuecomment-348007016, or mute the thread https://github.com/notifications/unsubscribe-auth/ALAU8J_SCTZB4nShCYwGigflK9srT0G1ks5s7dCwgaJpZM4NozN8.


net: lwm2m: Add functional tests for LwM2M against Leshan

Use the new Pytest integration to run testcases against Leshan.
Test with:
twister -T tests/net/lib/lwm2m/functional -p native_posix -vv
This requires Leshan running in localhost using following setup: tcp/8080 Leshan web interface and REST API
tcp/8081 Leshan bootstrap server REST API
udp/5683 Leshan non-secure CoAP
udp/5684 Leshan DTLS CoAP
udp/5783 non-secure Bootstrap CoAP
udp/5684 DTLS Bootstrap CoAP
Leshan and Boostrap server must be reachable from native_posix run using IP address <IP_ADDRESS> as in most of the examples.

@PerMac You might want to consider if that Shell module should be part of the Pytest plugins. Now it is inside a test cases, but I think it will be usefull for those who utilize the shell interface.

 I think it is a good idea. After the code freeze we want to extract common functions and functions useful during testing to a separate, reusable module. We definitely don't want to end in a situation where each tests defines its own look_for_regex, wait_for_prompt, etc. methods. Having users using such methods with clear interface will also allow us to improve the methods themselves to match changes in pytest adapters, whiteout rewriting each test.

PerMac You might want to consider if that Shell module should be part of the Pytest plugins. Now it is inside a test cases, but I think it will be usefull for those who utilize the shell interface.

@SeppoTakalo in this PR: https://github.com/zephyrproject-rtos/zephyr/pull/61224 I added helper Shell class, which could be used in your test:
https://github.com/gopiotr/zephyr/blob/pr/align_adapters_API/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/shell.py
An example of usage of this helper Shell class is placed here:
https://github.com/gopiotr/zephyr/blob/pr/align_adapters_API/samples/subsys/testsuite/pytest/shell/pytest/test_shell.py
I would be grateful if you could give some feedback and tell if this is enough and if it works for you.

Rebased on top of main and uses the new Shell wrapper class.
Submitted a PR https://github.com/zephyrproject-rtos/zephyr/pull/62760 to help reading values from shell.
Added few more tests, notably TLV content format tests.

I'm converting this to a proper PR because I think this has reached a point that it is useful and all the required functionality is merged in Zephyr already.
It is up to a debate how we should handle the dependency to a running Leshan server instance. Is it enough to just document it, or should I try to modify/generate a Docker image that someone might run it against?

Fixed suggestions from @gchwier

@jukkar "it has to be run manually" - currently, yes. But I believe those can be fully automated if a proper environment is available.  It can be discussed if we would like to expand CI testing with such configuration.

fyi @nashif


Test Alpine instead of Svelte

Seems to do most of what I need, and will stay small and simple,, unlike Vue and Svelte.
https://github.com/eklem/svelte-sidx-components/issues/15

Make the service worker library first. Then the Alpine sidx library to interact with it later, and then build nowsearch.xyz on top of that.


Missing type definition when importing via esm.sh or skypack

Both esm.sh and skypack failed to serve proper type definition when importing from Deno:
import { pick } from "https://esm.sh/fp-ts-std/Record";
import { pick } from "https://cdn.skypack.dev/fp-ts-std/Record";

Since esm.sh types fp-ts correctly, e.g.:
import { group } from "https://esm.sh/fp-ts/NonEmptyArray";

I’m not sure if this is a potential issue of fp-ts-std or these services. Thanks.

I believe this has nothing to do with fp-ts-std. I’ve filed a report to esm.sh.


build failed

i follow dthe instruction when i tried to build the solution it says error and failed. how to fix?

update vusual studio


Allow Namespaces to collapse their contents

This is a Rancher UI Feature request.  I currently organize lots of different workloads into many different namespaces (some of which may have 30 or 40 different workloads).  It would be useful to be able to collapse/expand a namespaces contents similarly to how you can expand/collapse a workload.

Useful
Info

Versions
Rancher v2.2.8 UI: v2.2.94

Route
containers.index

In new UI - you have the ability to add/remove namespace. So you only see the workload or resources that you want.


sharp.composite.toBuffer silently crashes

Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[x] Running npm install sharp completes without error.
[x] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
npx: installed 1 in 0.754s

  System:
    OS: Linux 5.4 Linux Mint 19.3 (Tricia)
    CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
    Memory: 571.78 MB / 23.44 GB
    Container: Yes
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 14.19.3 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 6.14.17 - /usr/bin/npm
  npmPackages:
    sharp: ^0.30.6 => 0.30.6

What are the steps to reproduce?

Run the following example ;

The 1st console.log statement is reached ;

The 2nd isn't.

What is the expected behaviour?
The 2nd console.log statement is reached.

Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
import { promises as fs } from 'fs';
import sharp from 'sharp';

(async () => {
    const
        [buffer1, buffer2] = await Promise.all([fs.readFile(/* ... */), fs.readFile(/* ... */)]),
        { height: height1 } = await sharp(buffer1).metadata(),
        result = await sharp().composite([
            { input: buffer1, left: 0, top: 0 },
            { input: buffer2, left: 0, top: height1 }
        ]);
    console.log(result);
    console.log(await result.toBuffer());
})();

Please provide sample image(s) that help explain this problem

Any picture from picsum.photos will reproduce the bug.
In fact, before reading the issue template, I was going to provide the following snippet :
import axios from 'axios';
import sharp from 'sharp';

const getRandomImageBuffer = async () => Buffer.from((await axios.get('https://picsum.photos/100', { responseType: 'arraybuffer' })).data, 'binary');

(async () => {
    const
        [buffer1, buffer2] = await Promise.all([getRandomImageBuffer(), getRandomImageBuffer()]),
    // ...
})();

Thanks !

Hi, what happens if you add some error handling to this code sample? For example, toBuffer() returns a Promise that might reject, but I don't see anything here that is capturing it.

toBuffer() returns a Promise that might reject, but I don't see anything here that is capturing it.

Something would still be logged.
For example, this :
(async () => {
    throw new Error();
})();

Outputs this :
(node:XXXXX) UnhandledPromiseRejectionWarning: Error
    at file://

In order to properly catch errors, the last line can be replaed with })().catch(console.error);, which will output this :
Error
    at file://

But, in my case, the script just stops with no output, just like if it was the same as the following :
(async () => {
    process.exit();
    throw new Error();
})().catch(console.error);

The use of the empty constructor in sharp().composite(...) means that the sharp instance becomes a WritableStream and is expecting the input to be piped in. However, nothing in this code ever supplies that input, so the output Promise never resolves (or rejects). Node.js correctly ends the process as there's nothing left to do.
Perhaps you meant to composite onto a blank background?
result = sharp({
  create: {
    width: 100, height: 100, channels: 3, background: 'black'
  }
}).composite(...)

I understand, so I have to get the metadata of all pictures before creating the composite. Thanks

I suspect the future possible enhancement at #1580 will be of interest to you.

Definitely, since my goal is to generate sprite images. Thanks !


Set Up the SAP HANA Plugin for Microsoft Visual Studio

Tutorial URL: https://developers.sap.com/tutorials/hxe-ua-visual-studio.html
Please specify the step you are referring to
Hello, I have implemented your steps but VS doesn't recognize HANA driver.
Am I doing something wrong?
Thank you

found the root
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2a0aa1d6-d46d-4833-8042-03216ea5f320/sap-hana-client-and-visual-studio-community?forum=vssetup

I thought that it would work by deleting all old VS versions. Unfortunately, it is not working.
Waste of time!

I have downgrade VS to 2017 from 2019 and .Net Framework to 4.5 from 4.8
Now it is working.
Many thanks


Feature request - Add steam producer/Bump IE BioDiesel

Hello, great mod, love the whole thing, but I was wondering if it would be possible to add a steam producer to your mod. Currently the only mod I know of in 1.10.2 that produces compatible steam for the Steam Turbine is Extreme Reactors. I was thinking that maybe there could be a configuration, possibly a steam output block, for the Syngas Producer, since it already produces steam during its operation. With a steam output, that could be pumped into the Steam Turbine to run it if there isn't a compatible mod present.
Also, while testing out the Gas Turbine, I noticed that the Immersive Engineering BioDiesel only produces 500rf/mb, whereas the Forestry Ethanol produces 800. Can the BioDiesel be bumped up to be equal or nearly equal? Or is there something behind the scenes I'm not aware of?
All in all, love your stuff, keep up the great work!
 Please disregard the first part of my comment.

Fuel energy density is generally balanced around the native value in whatever mod it comes from.
I haven't played with IE for a while, but according to FTB wiki, IE BioDiesel produces 512k RF per bucket in IE diesel (4096RF/t * 20 t/sec * 6.25 sec).
For forestry Dethanol it's a bit more complicated as it can't be directly used to produce RF in forestry itself, and the values in other mods are kidnda all over the place, so 800 was chosen as a happy medium. It also involves more steps and more energy investment to produce than IE BioDiesel, so that also makes sense.
Also note that 500 is the base value. Even in an un-upgraded turbine you get 1.1 efficiency bonus (making it 550 rf/mb) and with upgrades you can get to 1.8 bonus.


Patchwork\Utf8::ucwords() is not functionally equivalent to PHP's ucwords()

PHP's ucwords implementation converts the first character to upper case.
This libraries ucwords converts the first character to upper case AND the rest of the characters to lowercase.
e.g.
$str = "MARY had A Little lamb aND sHe lOVED IT So";
echo ucwords($str); // MARY Had A Little Lamb AND SHe LOVED IT So
echo Patchwork\Utf8::ucwords($str); // Prints Mary Had A Little Lamb And She Loved It So

Closed via 4932c8d350b7b04fee6bf06201a6c7bdd909b328
Thanks you @martinkiva


Running a MLflow project with docker_env fails to create the docker container.

Details

Code (cloned the repo as instructed): https://github.com/PacktPublishing/Machine-Learning-Engineering-with-MLflow/tree/master/Chapter01/stockpred
OS Platform and Distribution: Windows 11
MLflow installed from (source or binary): pip install mlflow
MLflow version (run mlflow --version): 1.6
Python version: 3.8.8
Exact command to reproduce: mlflow run .
Describe the problem: The MLflow project using a docker_env and run with above command throws a docker error.
Expected behavior: Python file is executed and tracked and run is added in mlruns.
Actual behavior: docker throws an error --> docker: Error response from daemon: invalid mode: \Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns\0\d522ee8e9d334a48b362f23925c90150\artifacts.

The problem seems to be that mlflow tries passes a -v flag to docker to map a host directory to itself:
docker run --rm -v C:\Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns:/mlflow/tmp/mlruns  **-v C:\Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns\0\d522ee8e9d334a48b362f23925c90150\artifacts:C:\Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns\0\d522ee8e9d334a48b362f23925c90150\artifacts**  -e MLFLOW_RUN_ID=d522ee8e9d334a48b362f23925c90150 -e MLFLOW_TRACKING_URI=file:///mlflow/tmp/mlruns -e MLFLOW_EXPERIMENT_ID=0 stockpred:f32b72e python train.py' in run with ID 'd522ee8e9d334a48b362f23925c90150
Other info / logs
Daniel@mm1-T480-0518-4 MINGW64 ~/Machine-Learning-Engineering-with-Mlflow/Chapter01/stockpred (master) $ mlflow run .
2021/11/02 17:50:28 INFO mlflow.projects.docker: === Building docker image stockpred:f32b72e ===
2021/11/02 17:50:29 INFO mlflow.projects.docker: Temporary docker context file C:\Users\Daniel\AppData\Local\Temp\tmpaseubm0i was not deleted.
2021/11/02 17:50:29 INFO mlflow.projects.utils: === Created directory C:\Users\Daniel\AppData\Local\Temp\tmpazdbdi5b for downloading remote URIs passed to arguments of type 'path' ===
2021/11/02 17:50:29 INFO mlflow.projects.backend.local: === Running command 'docker run --rm -v C:\Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns:/mlflow/tmp/mlruns -v C:\Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns\0\d522ee8e9d334a48b362f23925c90150\artifacts:C:\Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns\0\d522ee8e9d334a48b362f23925c90150\artifacts -e MLFLOW_RUN_ID=d522ee8e9d334a48b362f23925c90150 -e MLFLOW_TRACKING_URI=file:///mlflow/tmp/mlruns -e MLFLOW_EXPERIMENT_ID=0 stockpred:f32b72e python train.py' in run with ID 'd522ee8e9d334a48b362f23925c90150' === docker: Error response from daemon: invalid mode: \Users\Daniel\Machine-Learning-Engineering-with-Mlflow\Chapter01\stockpred\mlruns\0\d522ee8e9d334a48b362f23925c90150\artifacts. See 'docker run --help'. 2021/11/02 17:50:30 ERROR mlflow.cli: === Run (ID 'd522ee8e9d334a48b362f23925c90150') failed ===

@d4nielmeyer: Thanks for reporting. I spent some time looking at possible issues :

Is your file system mountable in docker. I would assume it's enabled by default in Windows - https://docs.docker.com/desktop/windows/ - You can look at file-sharing here.

Most of the development was done on a bash environment and tested on a Windows environment on the Ubuntu subsystem mode, can you confirm whether you tested in the Ubuntu subsystem. It might be a conflict on path formats.

Onn a future edition we will consider proper Windows Subsystem testing . It was not considered in the first edition.


Snowflake procedure creation fails in DBeaver, not in Snowflake

Description
I cannot create a snowflake procedure that has a CASE statement in one of it's statements.
DBeaver Version
<IP_ADDRESS>208051447
<IP_ADDRESS>209051344
Operating System
Win 11
Database and driver
net.snowflake:snowflake-jdbc:RELEASE [3.13.6]
Steps to reproduce
Running this script:
CREATE OR REPLACE PROCEDURE does_not_work_from_dbeaver()
RETURNS NUMBER(1,0)
LANGUAGE SQL
EXECUTE AS CALLER
AS $$
	BEGIN

		SELECT  1
			,CASE
				WHEN TRUE THEN '1'
				ELSE '2'
			END AS col1
		;

	END;
$$;

in DBeaver gives this error:
Error occurred during SQL query execution

Reason:
SQL Error [1003] [42000]: SQL compilation error:
parse error line 15 at position 4 near '<EOF>'.
syntax error line 5 at position 4 unexpected '$'.

After much effort I found that the END of the CASE statement is giving DBeaver troubles. When I remove the case statement from the query, the code is accepted.
Additional context
No response

Hello @HansKappertEneco
Did you try to highlight all your query and then execute?

Also I see many empty lines in your statement. By default DBeaver recognizes empty lines as delimiters (then you do not have highlighting). You can change this behavior in the Preferences.

Hi Anastasiya,
Yes I did that.
I am getting this:
@.***
And these are my settings. They look identical to me:
@.***
When I change the query part as follows, it is accepted:
@.***
It appears as if you are able to create the procedure. I wonder why.
Kind regards,
Hans Kappert
Van: Anastasiya @.>
Verzonden: woensdag 14 september 2022 09:55
Aan: dbeaver/dbeaver @.>
CC: Kappert, RH (Hans) @.>; Mention @.>
Onderwerp: Re: [dbeaver/dbeaver] Snowflake procedure creation fails in DBeaver, not in Snowflake (Issue #17636)
U ontvangt niet vaak e-mail van<EMAIL_ADDRESS>Meer informatie over waarom dit belangrijk ishttps://aka.ms/LearnAboutSenderIdentification
Hello @HansKappertEnecohttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHansKappertEneco&data=05|01|hans.kappert%40eneco.com|f8868b2ee5ef4661172908da96267513|eca3605449a94731a42f8400670fc022|0|0|637987389172509451|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=EHeixgU%2BpNIlexCwsMPomSEeHa9lmMrt2ighJZkycOM%3D&reserved=0
Did you try to highlight all your query and then execute?
[2022-09-14 10_51_03-DBeaver Ultimate 22 2 0 - TEST_DB Script-17]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F45152336%2F190094556-b8bd1cba-c083-4ef2-be70-e4255507758f.png&data=05|01|hans.kappert%40eneco.com|f8868b2ee5ef4661172908da96267513|eca3605449a94731a42f8400670fc022|0|0|637987389172509451|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=xRUtgEbGntjvU8U7n7F6uP8YxgvqOccng5hRLx2M7CQ%3D&reserved=0
Also I see many empty lines in your statement. By default DBeaver recognizes empty lines as delimiters (then you do not have highlighting). You can change this behavior in the Preferences.
[2022-09-14 10_52_49-DBeaver Ultimate 22 2 0 - TEST_DB Script-17]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F45152336%2F190094751-6f7e2974-6e6e-4014-8abd-7ef040cca70b.png&data=05|01|hans.kappert%40eneco.com|f8868b2ee5ef4661172908da96267513|eca3605449a94731a42f8400670fc022|0|0|637987389172509451|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=g9uqUKtmanAX%2Fk4S5tEle%2FJe5FuTzviUlg5L9dGkfiI%3D&reserved=0

Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdbeaver%2Fdbeaver%2Fissues%2F17636%23issuecomment-1246384870&data=05|01|hans.kappert%40eneco.com|f8868b2ee5ef4661172908da96267513|eca3605449a94731a42f8400670fc022|0|0|637987389172509451|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=zT0QespuCKV%2BO7O2WbZTHoviWW1wubJhWs2TGvoqZrY%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYVUGHNAXCANGKZIOC7HW33V6GAGDANCNFSM6AAAAAAQLSJYWY&data=05|01|hans.kappert%40eneco.com|f8868b2ee5ef4661172908da96267513|eca3605449a94731a42f8400670fc022|0|0|637987389172665657|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=em62iqU8ujYJrXyL7kf8T24s7%2F2YIXUzYer5ayQCTRI%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hello @HansKappertEneco
I suggest that you add screens from your e-mail in the answer, but I can't see them here. Please reload screens here, on the GitHub page directly.

Did so, see above. Thanks a lot for helping me!

By accident we found out why this occurs.
It fails when I use "Execute as script" (what I needed to do before I think)
It succeeds when I use "Execute SQL statement"
Not sure if behaviour was changed.

You can check this instrument: https://github.com/dbeaver/dbeaver/wiki/Query-Manager
You can see there - what statements do you execute.

Thank you. Now that my problem is solved, we can close this ticket.
Kind regards,
Hans Kappert


Add vertical align sub & super

sub: Aligns the baseline of the element with the subscript-baseline of its parent
super: Aligns the baseline of the element with the superscript-baseline of its parent

I need to fix tests first, will open PR again when fixed.


README.md needs an update

heml install line still has 6.6.2-alpha1

Of course, that should read helm vs heml

6.6.2-alpha1 is still correct as it is the current version of the chart itself. The image value can be overridden to specify the desired image version (though other configuration values may also need to be changed depending on which version is specified).
That said, we have plans to bump the chart version to 7.0.0-alpha1 on Monday. In this version of the chart, the default image will be the version 7.0.0 (GA) image and the README will also be updated at that point.
Thanks so much!


feat: Added User.avatar_url() to get the resulting URL from a user

About
This pull request is about creating a User.avatar_url() function, to return the proper User avatar URL.
Checklist

[x] I've ran pre-commit to format and lint the change(s) made.
[x] I've checked to make sure the change(s) work on 3.8.6 and higher.
[x] This fixes/solves an Issue.

(If existent): #514

[x] I've made this pull request for/as: (check all that apply)

[ ] Documentation
[ ] Breaking change
[x] New feature/enhancement
[ ] Bugfix

will this conflict with bot.user at all?

will this conflict with bot.user at all? edit: aswell as client.user?

This does not conflict with bot.user/client.user (It just adds a property)
Anyway, this looks good to me, I'm merging :)
Thanks for contributing!


Is it possible to run multiple servers on one machine?

How would one accomplish this?
Is it as simple as creating a new user, copying the relevant files, and changing the port on which the server listens in the config file?
I would try it, but I don't want to bork the currently-working setup.

I think what you described should work, but you don't have to create a new user. Assuming you are using the pre-built binary, you can simply copy the original config file and modify it, and pass in the path to the new config file when running Mango. E.g., running
mango --config /path/to/config.new.yml

would start Mango and load the new config file. Let me know if you encounter any issues when doing this.
Also, I am just curious, why do you want to run multiple instances of Mango on one machine?

I want to run multiple instances partially to get around #13, but also because Mango also works very well as a comic reader, and I'd rather not mix the manga and the comics in the same web interface.
Also, if I can avoid spinning up and configuring yet another VM, I'd like to.
So, the easiest solution is to have a single VM with two (or more) instances of Mango running.
I'll try your solution, and see if I can get things up and running.

After attempting to run multiple instances of Mango, I seem to be running into some strange issues.
I can start a second process manually, but switching back and forth between them in my browser triggers a login every time.
Also, the scanner on the second instance seems to only scan the last file in the directory specified in the config. Don't know if the issues are related, but I figured I'd mention it.

Didn't mean to close; misclick. Apologies.

but switching back and forth between them in my browser triggers a login every time.

The login token is stored in browser cookies, and cookies are not port-specific, so the tokens of the two instances overwrite each other. I can't think of an easy solution off the top of my head. If I were you, I would set up Nginx/Apache reverse proxy so I can access the two instances with URLs (e.g., mango.domain.com and mango1.domain.com). This ensures that the cookies will be stored separately by the browser.

the scanner on the second instance seems to only scan the last file in the directory specified in the config.

This is werid. Are the two instances reading the same library folder? Could you show me the folder structure of the library?

Closing for inactivity. Feel free to reopen if needed. I plan to work on #13 after finishing #20, so hopefully you don't have to run multiple instances in the future :-)

Starting from v0.5.0, Mango includes the port number in the token, so the token cookies from different instances won't overwrite each other.


update readme

Stack:

#38
#37 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

✓ Commit merged in pull request #38


node-sass does not build, needs version bump to at least 4.12.0

I've run into this issue: https://github.com/sass/libsass/issues/2883 .. bumping the node-sass version to 4.12.0 resolves it.
As a side note, all the deps are horribly out of date:
found 17 vulnerabilities (8 low, 4 moderate, 5 high)
  run `npm audit fix` to fix them, or `npm audit` for details

So yeah, might want to actually update the pins.

Running_the_App_Without_Docker.md  instructs to install NodeJS 13. node-sass 4.13.0 is, afaik, the first version to support NodeJS 13, so bumping to that is problably a better idea.
I have just installed openeats using<EMAIL_ADDRESS>and I haven't seen any problems with it yet.

Running_the_App_Without_Docker.md  instructs to install NodeJS 13. node-sass 4.13.0 is, afaik, the first version to support NodeJS 13, so bumping to that is problably a better idea.
I have just installed openeats using<EMAIL_ADDRESS>and I haven't seen any problems with it yet.


Add Immunizations Support

This PR adds the ability to track immunization of patients through the web UI. The FHIR mapping code from Patient has been refactored into an ActiveRecord concern for reuse. The FHIR Immunization resource is a composite of the Immunization and Vaccine models. These were separated to make it easy to add new vaccines as they become available (e.g. AstraZeneca). Vaccine data was taken from CDC website.

I get this error when creating an immunization:

I get this error when creating an immunization:

FYI I plan on replacing this input with something like this because the ux for this input is pretty bad: https://goiabada.blog/one-datetime-two-inputs-doing-it-in-rails-c538f628ec9e

This should be fixed now. You may have to re-create your database. The serialization code was overriding the Rails magic that converts UI inputs to Dates etc. but I figured out the trick to do it correctly.

Still getting the same error.


feat: add Oauth 2.0 Token Introspection(rfc7662) endpoint support

fix #425
Signed-off-by: Leon<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Tutorial for Nintendo switch

hi ive searched all over the internet to find a tutorial to install the randomizer on a switch?
i dont know what to do?

first you need to dump your romfs onto an SD card using NXdumptool
then with the randomizer, select your romfs folder
from there it'll create a folder called mods
install that like you would install any atmosphere mod on switch

first you need to dump your romfs onto an SD card using NXdumptool then with the randomizer, select your romfs folder from there it'll create a folder called mods install that like you would install any atmosphere mod on switch

I do this with a fresh latest 1.1.3 Brilliant Diamond and get a error, what would I do in such a situation?

would i install it in atmosphere/contents/0100000011D90000 ?

and now the game freezes after every dialogue is there a fix for this aswell?

hello?

Please create a new issue if you're experiencing a bug different from the title, as it doesn't send me a notification for comments, are you running any other mods by chance, crashing on dialogue is most likely due to an incorrect english


theme() function causes errors, cannot reproduce README example

The theme function causes errors when trying to reproduce an example from the README. I get the following error:
ERROR: MethodError: no method matching TidierPlots.AxisOptions(::Dict{Symbol, Any}, ::Dict{Any, Any}, ::Dict{Any, Any})
The type `TidierPlots.AxisOptions` exists, but no method is defined for this combination of argument types when trying to construct it.

Closest candidates are:
  TidierPlots.AxisOptions(::Dict{Symbol, Any}, ::Any, ::Any, ::Dict)
   @ TidierPlots ~/.julia/packages/TidierPlots/v3kqi/src/structs.jl:42
  TidierPlots.AxisOptions(::Any, ::Any, ::Any, ::Any)
   @ TidierPlots ~/.julia/packages/TidierPlots/v3kqi/src/structs.jl:42

Stacktrace:
 [1] theme(; kwargs::@Kwargs{…})
   @ TidierPlots ~/.julia/packages/TidierPlots/v3kqi/src/themes.jl:10
 [2] top-level scope
   @ Untitled-1:17
Some type information was truncated. Use `show(err)` to see complete types.

julia> Pkg.status()
ERROR: UndefVarError: `Pkg` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Hint: Pkg is loaded but not imported in the active module Main.
Stacktrace:
 [1] top-level scope
   @ REPL[115]:1

Reproducible example
taken from the README:
using Random, DataFrames
using TidierPlots
import Makie.IntervalsBetween, Makie.Attributes

Random.seed!(123)

xs = 10 .^ (range(-1, stop=1, length=100))

df = DataFrame(x = xs,
    y = xs .^ 2 .+ abs.(2 * randn(length(xs))),
    size = (xs .^ 2/3)[end:-1:1] .+ 6)

beautiful_makie_theme = Attributes(
    fonts=(;regular="CMU Serif"),
)

ggplot(df) +
    geom_point(aes(x = :x, y = :y, size = :size, color = :x), alpha = 0.8) +
    scale_x_log10() +
    scale_y_log10() +
    labs(x = "x", y = "y") +
    lims(y = c(.1, 100)) +
    scale_color_continuous(palette = "Hiroshige", name = "") +
    theme(
        xminorticksvisible=true,
        xminorgridvisible=true,
        yminorticksvisible=true,
        yminorgridvisible=true,
        xminorticks=IntervalsBetween(9),
        yminorticks=IntervalsBetween(9),
        backgroundcolor = :transparent,
        xgridstyle=:dash,
        ygridstyle=:dash
    ) + beautiful_makie_theme

Expected behavior
The above code should produce the following plot shown in the README:

Additional context
Package status:
# output from Pkg.Status()
  [0ca39b1e] Chairmarks v1.2.2
  [a93c6f00] DataFrames v1.7.0
  [7073ff75] IJulia v1.26.0
  [ee78f7c6] Makie v0.21.16
  [91a5bcdd] Plots v1.40.9
  [aafa11c5] PrettyChairmarks v1.0.0
  [4c0109c6] QuartoNotebookRunner v0.11.7
⌅ [09ab397b] StructArrays v0.6.21
  [337ecbd1] TidierPlots v0.8.0
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated`

@kdpsingh Has the API changed? If so where can I find the new API? I did want to customize my plots using theme.


Maintain Command Color Output With --preview

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
git log --oneline --all | fzf --preview='git show {1}'
This command is supposed to show all commits and allowing you to select them. In the preview window, it's supposed to show the diff created by git show <commit_id>. It does correctly, however, it's hard to see since there is no color output, and with no color output it's hard to see what a diff is saying. I'm wondering if there is a way the preview window can show the color output from the command given in the preview.

I found my answer. I should use git show --color instead of git show. Sorry for wasting time!


repoUrl is not required

https://github.com/Parfuemerie-Douglas/scaffolder-backend-module-azure-repositories/blame/84413a271b3579b355afa8fc0a8903b4932aecb7/src/actions/run/cloneAzureRepo.ts#L40C19-L40C20

Hey, I recommedn you to read this https://github.com/Parfuemerie-Douglas/scaffolder-backend-module-azure-pipelines/issues/30#issuecomment-1762015990
I fixed what you mention in those packages too!


Fix branch display on empty repo with remote

Instead of https://github.com/starcraftman/zsh-git-prompt/pull/33

I have tested and endorse this change :+1:

Original issue: #31
The repo description says active fork, but I don't see any activity from the maintainer since summer. Are you still willing to maintain this @starcraftman?

flake8 linting appears unrelated to your change, but could be fixed in line here to make the build happy.
./gitstatus.py:208:15: W504 line break after binary operator
1     W504 line break after binary operator

This is very annoying and I'd also like this merged!
Is this still project maintained, or do we need yet another fork?


[FEAT]: a Number: Agent persistance, Store of prompts, Delete Workspaces, a repeat function which can be used on timer

What would you like to see?
I would like to suggest the following features:

Once an agent has been activate, say for scraping the web, it should remain in "agent" mode and a toggle can be used to switch between agent mode or LLM mode. Using agent does not always result in immediate success and hence it is cumberson to always select @agent. Call this persistent "agent" mode
I can not find the button nor option to delete a  workspace.
If one would like to daily download a web site then one would like to store prompts or a library of prompts.
A schedule or timer can be added to do the action, research or actuate the prompt each day/week/month at a specific time
I run the Linux  appimage file but I have no control on where the database or files are stored. I would like to have control over that since HDD get sometimes full.
All in all it is a brilliant program. Thanks a lot for the effort. :-)

REF: Points 1,3,& 4

This is going to be accomplished via in https://github.com/Mintplex-Labs/anything-llm/issues/1129
Will have the ability to auto-sync local and website data connections on some interval basis

I can not find the button nor option to delete a workspace.
Click on the gear icon on the workspace

I run the Linux appimage file but I have no control on where the database or files are stored. I would like to have control over that since HDD get sometimes full.

Usually, this is located in ~/.config/anything-llm/storage!


feat: Added temp range support

Will merge to confirm this works for Canada.  If so will move the same logic into other regions.

@fuatakgun this is ready for your review with temp range support.  I have left USA as is.  It reports Low and High as something our old override but I suspect we shouldn't force that to a number since in many cars low and high are valid values.

As a note reason I was naming c vs F is that these cars can return but units.  Depends what the car itself is set to.  We can update that later though if required.  Right now I don't know the range a Canadian car supports in F.  Not worth my time to play with.

Need your thoughts on how to fix this.  I removed imports on util since this causes circular imports.  This would cause the one function to fail though.   How do we best fix this?


CPU model syntax fixes

What this PR does / why we need it:
Respond to the comments from https://github.com/kubevirt/kubevirt/pull/1363
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

Signed-off-by: Artyom Lukianov<EMAIL_ADDRESS>

Thanks @cynepco3hahue!

Thanks @cynepco3hahue!

And thanks @alexxa  for doing the review: https://github.com/kubevirt/kubevirt/pull/1363#pullrequestreview-139801768


Android Basics: ViewModel

I have written a lot of code I see in the https://developer.android.com/codelabs with plenty of errors. are they for the old version of android studio?
I don't understand. In the beginning, of https://developer.android.com/codelabs. they worked fine. after the dice project, the code I type in android studio doesn't work. what is the problem?

@cdev75
Thank you so much for reaching out to us.
Could you please give us more context.
Which codelab?
Which task?
What errors are you facing?
Could you please upload some screenshots?


[stable/kong] Add pod security policy to Kong Chart

Signed-off-by: Fernando Ripoll<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:

Add Pod Security Policy (as optional) to the Kong chart

Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @hbagdi

/ok-to-test

@pipo02mix Please add the DCO sign-off to all your commits. You might want to squash all your commits into one.
Also the version of chart should be 0.25.0 because there was another commit to master.

I think it should be good now

/retest

/test pull-charts-e2e

/lgtm

/test pull-charts-e2e

/test pull-charts-e2e

/test pull-charts-e2e

I cannot find a consistent error on the e2e tests. Any advice how to debug it?


Expose a file system as case-insensitive

I'm trying to write a simple wrapper of a MacOS file system, which exposes a case-insensitive file system over a file system that is case-sensitive. This might be useful with applications like OneDrive or Steam, which refuse to work with a CS file system.
What I wrote so far passes all the calls to the underline filesystem, possibly after having adjusted the path(s) a particular call is dealing with (essentially, I fixed issues with a similar example.
When I try it, its operations seem to work fine. However, the FS is still seen as case-sensitive and OneDrive keeps not working with it.
How can I report a file system as case-insensitive? Is there some flag in FUSE() ?
Thanks in advance!

This is probably not an issue of fusepy, but either with the underlying C++ libfuse (which fusepy is a thin wrapper around, pretty much directly passing through everything) or with OneDrive itself. Check out the libfuse docs and esp. the parameters to the init function (see this example for context) to see which flags there could be.

Thanks @N-Coder, but unfortunately, I can't undestand which options exists in libfuse that I could pass through.
Moreover, according to this comment, it seems that the main fusepy project doesn't support the case_insensitive option, but I'm not sure I did get this right or not.


Cannot read property '_placeholderDecorations' of undefined

Issue Id: 79a815e0-88de-1ce9-27f2-e0a228943f39Versions - 1.17.0-  81fc22ec957de26d2bf6aada3f16f04e0164741cStack TypeError: Cannot read property '_placeholderDecorations' of undefined/vs/editor/contrib/snippet/browser/snippetSession.ts#L175:27 (_placeholderDecorations)/vs/editor/common/model/textModelWithDecorations.ts#L238:12 (callback)/vs/editor/common/model/textModelWithDecorations.ts#L211:15 (_changeDecorations)/vs/editor/common/commonCodeEditor.ts#L795:20 (changeDecorations)/vs/editor/contrib/snippet/browser/snippetSession.ts#L167:15 (changeDecorations)/vs/editor/contrib/snippet/browser/snippetSession.ts#L356:12 (merge)/vs/editor/common/model/editStack.ts#L77:73 (cursorStateComputer)/vs/editor/common/model/editableTextModel.ts#L181:30 (pushEditOperation)/vs/editor/common/model/editableTextModel.ts#L96:15 (_pushEditOperations)/vs/editor/contrib/snippet/browser/snippetSession.ts#L353:53 (pushEditOperations)

Won't show anymore because of logging added for https://github.com/Microsoft/vscode/issues/39594. The fix for this unknown issue is tracked in there.


Replace references to Tusk with Bullshark for consensus

What are the existing URLs containing the issue, if any?
https://docs.sui.io/devnet/learn/architecture/consensus
https://github.com/MystenLabs/narwhal
How would you describe the issue? (What needs changing?)
We introduced this in:
https://github.com/MystenLabs/narwhal/blob/85c226f2824010ff695d0bc5789a24cad2bce289/node/src/lib.rs#L266
Where should this information land if new? (Learn, Build, Explore, Contribute.)
Existing pages above.
What changes are needed to support this new feature or product? (A simple overview, detailed procedures?)
We need to update references and explain Bullshark. See:
https://decentralizedthoughts.github.io/2022-06-28-DAG-meets-BFT/
This came from Adeniyi. Asking Randall to take lead as he is our new validator writer per Koh.
Who is the audience for that information? (App developers, investors, creators, validators, someone else?)
Validators!
What precisely must they do with it? (Configure a new service? Process some output?)
Learn about our consensus protocol.

Hi team,
Here is the first change:
https://github.com/MystenLabs/sui/pull/4228
Please review when you get a chance. Thanks!

@huitseeker and team, please reopen this issue if you need help updating the Narwhal README.

Hello @huitseeker , I have started making it more clear Tusk still exists and may be used in:
https://github.com/MystenLabs/sui/pull/4394
I am concerned stripping only the line added here isn't enough to re-enable Tusk:
https://github.com/MystenLabs/narwhal/blob/85c226f2824010ff695d0bc5789a24cad2bce289/node/src/lib.rs#L158
I say this given how many other changes went into:
https://github.com/MystenLabs/narwhal/pull/716
So please review and confirm the Tusk re-inclusion statement.
If that language works for you, I can also include something similar in the existing Narwhal README:
https://github.com/MystenLabs/narwhal
I've also added @bwann52 since I'm trying to group these three as the proper noun (product name) Sui Consensus Engine for simplicity and memory.
Finally, I did catch a Tusk reference in this file I can make generic or include Bullshark if you like:
https://github.com/MystenLabs/narwhal/blob/85c226f2824010ff695d0bc5789a24cad2bce289/node/src/lib.rs#L158
All, please advise. Thanks!

Hi @huitseeker , I am noting @randall-Mysten has some questions for you in:
https://github.com/MystenLabs/sui/pull/4394
Thanks, all.

Reopening to update the Narwhal README to use similar language and introduce Tusk.


Add with_stdout_unordered.

This adds the with_stdout_unordered method to cargo's test system so that tests can use it to check stdout but ignoring the order of lines. Nothing in this PR actually uses this method, but it is added to support #12634. I also expect it could potentially be useful in other cases in the future.

Thanks for the addition!
@bors r+

:pushpin: Commit 0adb9f1b2ad99af0103a293e053232a86643d20d has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 0adb9f1b2ad99af0103a293e053232a86643d20d with merge 282424e42d5f6cf43ae70aad880889adb0ca2031...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 282424e42d5f6cf43ae70aad880889adb0ca2031 to master...


[Event Request] Codeunit 5700 User Setup Management - Procedure GetSalesInvoicePostingPolicy / GetPurchaseInvoicePostingPolicy - OnGetSalesInvoicePostingPolicy / OnAfterGetPurchaseInvoicePostingPolicy

Describe the request
Please add the following Event/-s OnGetSalesInvoicePostingPolicy, OnAfterGetPurchaseInvoicePostingPolicy to Procedure GetSalesInvoicePostingPolicy, GetPurchaseInvoicePostingPolicy in Codeunit 5700 User Setup Management.
[Event Request] COD5700 - Acc. Schedule Line - User Setup Management GetSalesInvoicePostingPolicy / GetPurchaseInvoicePostingPolicy
    procedure GetSalesInvoicePostingPolicy(var PostQty: Boolean; var PostAmount: Boolean)
    var
        LocalUserSetup: Record "User Setup";
    begin
        PostQty := false;
        PostAmount := false;

        if UserId <> '' then
            if LocalUserSetup.Get(UserId) then
                case LocalUserSetup."Sales Invoice Posting Policy" of
                    Enum::"Invoice Posting Policy"::Prohibited:
                        begin
                            PostQty := true;
                            PostAmount := false;
                        end;
                    Enum::"Invoice Posting Policy"::Mandatory:
                        begin
                            PostQty := true;
                            PostAmount := true;
                        end;
                end;
		 // NEW
		 OnGetSalesInvoicePostingPolicy(PostQty,PostAmount)
		 // NEW
    end;

    procedure GetPurchaseInvoicePostingPolicy(var PostQty: Boolean; var PostAmount: Boolean)
    var
        LocalUserSetup: Record "User Setup";
    begin
        PostQty := false;
        PostAmount := false;

        if UserId <> '' then
            if LocalUserSetup.Get(UserId) then
                case LocalUserSetup."Purch. Invoice Posting Policy" of
                    Enum::"Invoice Posting Policy"::Prohibited:
                        begin
                            PostQty := true;
                            PostAmount := false;
                        end;
                    Enum::"Invoice Posting Policy"::Mandatory:
                        begin
                            PostQty := true;
                            PostAmount := true;
                        end;
                end;
		 // NEW
		 OnAfterGetPurchaseInvoicePostingPolicy(PostQty,PostAmount)
		 // NEW
    end;

 [IntegrationEvent(false, false)]
 local procedure OnGetSalesInvoicePostingPolicy(var PostQty: Boolean; var PostAmount: Boolean)
    begin
    end;

 [IntegrationEvent(false, false)]
 local procedure OnAfterGetPurchaseInvoicePostingPolicy(var PostQty: Boolean; var PostAmount: Boolean)
    begin
    end;

Additional context
Change default values for User without User Setup
Internal work item: AB#555533

Hi @JakovljevicDusan ,
We want to overwrite the user setup with a setup on vendor card /customer card. Often it is not a user generic setup if a vendor/customer will be directly invoiced. More often it is a controlled from vendor/customer of it is allowed to Invoice him directly via Order. In the case it is not allowed, a seperate sales or purchase invoice will be created.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 28412.


ci: 👷 Cache dependencies

Codecov Report

Merging #6 (74fb0f1) into main (250c717) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines          482       478    -4
  Branches        42        42
=========================================
- Hits           482       478    -4

Impacted Files
Coverage Δ

hitcount/mixins.py
100.00% <0.00%> (ø)

hitcount/templatetags/hitcount_tags.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Develop test cases for testing

Develop test cases for

volume and surface area for cube
Volume, surface area and lateral surface area for cylinder

could you assign me for this?


Wrong maven-metadata hash in snapshots

I am not able to generate a correct maven-metadata.xml hash in snapshot repositories.
Its possible to see this behaviour in the demo repository (https://repo.panda-lang.org/snapshots/org/panda-lang/nanomaven/2.1.2-SNAPSHOT) by downloading maven-metadata.xml and generating its sha1 hash  then comparing to the wrong one in maven-metadata.xml.sha1.
Real sha1 hash of maven-metadata.xml: B38F8EF35B8EE7235C20E056F39D54E2A794B1D4
Calculated sha1 hash in repository: 59550559e053f640b3157024a6c302bf68fb951c

Reposilite uses server-side hash generation to avoid a couple of problems.
Did you experience other problems?

Reposilite uses server-side hash generation to avoid a couple of problems.
Did you experience other problems?

No, only the client side warning. Is it possible to prevent that?

No, only the client side warning. Is it possible to prevent that?

Not really, but it is intended behavior, and it looks strange only without having a context and explanation. I've mentioned it in a FAQ section:

https://reposilite.com/docs/faq

Not really, but it is intended behavior, and it looks strange only without having a context and explanation. I've mentioned it in a FAQ section:

https://reposilite.com/docs/faq

Sorry didn't see that in FAQ.
But why in server-side the hash doesn't match either? By downloading both files and checking the hash of the file + the one stored should be correct right?

Sorry didn't see that in FAQ.
But why in server-side the hash doesn't match either? By downloading both files and checking the hash of the file + the one stored should be correct right?

I don't remember the specification, but in theory - yes. I've supported this in the past, and I was planning to support it by the way in the current implementation, but I didn't have time for it due to the cosmetic aspect of this issue.

I don't remember the specification, but in theory - yes. I've supported this in the past, and I was planning to support it by the way in the current implementation, but I didn't have time for it due to the cosmetic aspect of this issue.


Scrub invalid bytes instead of throwing an exception?

I'm thinking how to properly deal with emails containing invalid characters in Subject (or From) fields, like:
mail = Mail.new do
  from    "\"Ericka Eames \"<EMAIL_ADDRESS>  to<EMAIL_ADDRESS>  subject "Lorem ipsum\x85 "
end

this will throw ArgumentError: invalid byte sequence in UTF-8. Is it possible to make Mail not bomb in this case but just scrub the incorrect bytes?

@jeremy When parsing emails in the wild.

From what I can see Mail does already some scrubbing but only for values that are encoded in the Q or B format, like here: https://github.com/mikel/mail/blob/master/lib/mail/version_specific/ruby_1_9.rb#L131
and that doesn't seem to apply to plain ascii subjects.
Wouldn't it make sense to employ scrubbing somewhere around this case statement: https://github.com/mikel/mail/blob/6bc16b4bce4fe280b19523c939b14a30e32a8ba4/lib/mail/encodings.rb#L132
maybe in the else block?

Supporting invalid binary headers is a rabbit hole that probably shouldn't be pursued for its own sake. Let's work from an example message. Could you share a raw message you received that failed to parse?


Unify cloud and core data platform connection auth wording

Contributions

[X] I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates
Per slack thread, Erin raised user confusion between different terminology used in the 'set up data platform' core docs and 'set up data platform' cloud docs.

Users aren't seeing the same auth parity in cloud vs core
The breakdown of ways to connect Redshift to cloud isn’t mirrored in the cloud docs (if we talk about password and IAM access in core, it would be helpful to use the same wording and talk about what is possible and what isn’t so it is clear)

specific example
The specific callout Erin raised was a core user who uses Redshift and transitioning to cloud. but for dbt Cloud Redshift connection, we don’t use the same terminology. the user is coming from setting up core during his exploration and wanted to know if he has the ability to switch between password and IAM access in dbt Cloud the same way he was able to do in Core
What part(s) of the page would you like to see updated?
https://docs.getdbt.com/docs/cloud/connect-data-platform/connect-starburst-trino
https://docs.getdbt.com/docs/cloud/connect-data-platform/connect-snowflake
https://docs.getdbt.com/docs/cloud/connect-data-platform/connect-bigquery
https://docs.getdbt.com/docs/cloud/connect-data-platform/connect-databricks
https://docs.getdbt.com/docs/cloud/connect-data-platform/connect-redshift-postgresql-alloydb
https://docs.getdbt.com/docs/cloud/connect-data-platform/connect-apache-spark
Additional information
No response

i think it's the dbt core 'connect to data platform' docs -- i'll update the issue above!


Add featured images migration support.

This changeset adds support for WordPress featured images migration to Ghost post cover images, released on 0.5.2.

@jonhoo please merge this, its really needed for people like us who are depending on your script rather than the WP Plugin (which fails on large sites)

@shubhank008 I'm happy to merge this, but would like for a test case to be added first as mentioned above, as otherwise it is much harder to catch later regressions. Ping @horacio.

@jonhoo I am not sure what test case means, but if you meant someone to test it, then I just manually added the suggest edit/code to the latest commit and it worked.
You can check it on - http://ghost.animeout.xyz/
More examples- http://ghost.animeout.xyz/page/4/
The 2nd post had in-post images but not featured image (if thats what you meant as test case)

Ah, no, I meant actually adding tests to the code so that we can also ensure that future changes to the code don't break this feature.

@jonhoo I'll be happy to add the two test cases as soon as I get home. Sorry for the delayed response!
/cc @shubhank008

@horacio  @jonhoo any progress on this ? Would really love to import my featured images to Ghost


Add a type-checking fast path for primitive types

When Draft<T> is applied to a large enum type, TypeScript has to do a lot of unnecessary structural comparisons to confirm that no element of the enum matches Function, Date, RegExp, etc.  Determining that they do match string or number, on the other hand, is trivial.  This change splits PrimitiveType out of AtomicObject so that the fast path can be checked first.
In https://github.com/microsoft/TypeScript/issues/42824, this cut the check time from ~2.5 seconds to ~0.3 seconds.

Supersedes #754.

Merged, thanks!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] Prettier's formatting clashing with ESlint

Describe the bug
Currently the Prettier extension formats the code according to its setting but ESLint doesn't allow some of those changes which gets linted by ESLint. This behavior can't be escaped as Prettier is currently being runned at commits, for which commits have linting issues which in tern fails in the Travis CI tests.
To Reproduce
Steps to reproduce the behavior:

Just write a switch statement commit it
ESLint will lint Prettier's formatting

Expected behavior
Prettier's formatting should remove ESLint formatting issues, not create them.
Screenshots

@bradtaniguchi I'm working on to fix this issue. Expect it to be fixed soon with a PR

yeah I was slightly worried about this happening, but haven't had time to work on the project itself (works been insane)
thanks for finding it out and reporting it :D


encourage challenge --> project progression

Lorraine to think more about this... however, some ideas discussed:

encourage projects to reference older discussions where available
encourage challenge hosts to make projects when they feel ready (but not to rush)

This is something we feel like we want to measure (ideally without needing to do everything manually) so there is a preference for a visible way to do this.

suggested we do this as part of our engagement with issues, and that the tech can be largely ignored for now


Issue #230: Add HuggingFace vocab format to Bert tokenizer

Issue #230: Add HuggingFace vocab format to Bert tokenizer
HuggingFace vocab format is newline separated (unlike GPT which is
json). Newline separated is likely to be faster and doesn't require
an external library to parse it. Instead of introducing a json based
format, added support for native HuggingFace newline separated token
format.

Looks good @shaahji. Can you please add a test for the new format?

On it. Also, I have requested a more elaborate test from @naraymad.


Expand the Supported Attributes table by default

Issue description
Hello SAP Identity Authentication Documentation Team,
I would prefer if the section
"Supported Attributes Expand to view the technical names of the attributes that can take dynamic values."
would be visible by default. Because otherwise you don't find the content which is on the page when searching for a search term like customAttribute2.
Best Regards
Gregor
Feedback Type (Optional)
other
Page Title on SAP Help Portal (prefilled)
Configure the Subject Name Identifier Sent to the Application
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/identity-authentication/identity-authentication/configure-subject-name-identifier-sent-to-application?locale=en-US&q=customAttribute2

Hi @gregorwolf ,
Thanks for the feedback. Now the table is expanded by default and its content is searchable.
BR


Make more user friendly to use in a Snapp UI

I think this has been partially addressed and is too vague to spawn further action, closing


Allow enabling clustering for prometheus scrape configs

It is still a beta feature, but it would be very helpful to me if the  modules took an argument like enable_clustering and passed it to all the prometheus.scrape components.

@akshaymankar Is there specific modules that you are referring to?

I use the k8s_api module but I guess it would be good to have in all of them?

@akshaymankar I have recently added modules for specific jobs here https://github.com/grafana/agent-modules/tree/main/modules/kubernetes/metrics/jobs that have standard arguments for each scrape, including clustering.  Will these work for you?


[AIRFLOW-1579] - Adds support for jagged rows in Bigquery hook for BQ load jobs.

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1579

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Facilitates the job option allowJaggedRows available in the api, that has not been included in the BQ hook.
Updates the GoogleCloudStorageToBigQueryOperator operator to reflect these updates.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

This PR does not need testing because:

This PR matches the pattern of the other parameters available in the BQ hook. Many of these parameters do not have tests. These include quote_character, allow_quoted_newlines, max_bad_records, skipleadingrows and more.
This PR will not affect any api calls unless allow_jagged_rows is set to true. Therefore, this is not a breaking change for anyone currently using this Operator or Hook.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2582 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2582   +/-   ##
=======================================
  Coverage   70.95%   70.95%
=======================================
  Files         150      150
  Lines       11617    11617
=======================================
  Hits         8243     8243
  Misses       3374     3374

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 f3258bb...04efef8. Read the comment docs.

Please make sure you follow the commit guidelines: update tests and squash your commits

I will squash commits for this using the script.


Is writting thread safe?

Hi, I would like to know if writing from different threads to the same open connection is safe?
What happens if I keep calling write while it needs to flush?

What exactly do you mean by open connection?

So if I do something like:
with s3.open('mybucket/new-file', 'wb') as f:
And then call f.write() from multiple threads at the same time at a high rate would it be able to handle it?

I don't believe its ever been tested. Each upload of a block will happen in only one thread, but it is conceivable that the various attributes of the file instance have some race conditions.


fix: dark theme support

Description
I added in dark theme support to the site :)
Related Issue
Fixes #175
Proposed Changes

cleaned up src/app/providers.tsx by removing the ThemeWatcher component

this stopped dark theme from being applied

added ThemeToggle back into src/components/Header.tsx
added a new Card component to ui-group that is used in all ui-groups and GradientCards

this same format is used for all of the cards around the site so I grouped it so that I only had to add the dark-theme support for all cards in one place

i also modified many of the showcase items to add dark theme support

primarily changes container items (headers, features, footers, tabs, etc) where white background and black borders are set directly
most component items (buttons, toggles, text, etc) were left alone because they are not generally themed items
i changed SkewedInfiniteScroll and ImageFade to use maskImage which fades to transparency instead of span gradients which fade to white

Checklist
Please check the boxes that apply:

[x] I have rebased my branch on top of the latest main branch.
[x] I have tested the changes locally
[x] I ran npm run build and build is successful
[x] I have added necessary documentation (if applicable)
[x] I have updated the credits.md file (if applicable)

Additional Notes
The typography.ts file has a lot of say over how things are styled when in dark theme (specifically the --tw-prose-invert-... section). We should decide what we would like to use this for.

is this a mirage or toggles appears to be broken in dark mode
https://github.com/SyntaxUI/syntaxui/assets/12985873/9c23ae80-b571-4644-a45f-3f3c4c12023a

is this a mirage or toggles appears to be broken in dark mode

To me, the only one the looks broken is the neobrutalism one since the border and backdrop are so dark.
I was refraining from making dramatic styling updates to specific components so i didn't change that.
What do you think we should do?

is this a mirage or toggles appears to be broken in dark mode

To me, the only one the looks broken is the neobrutalism one since the border and backdrop are so dark.
I was refraining from making dramatic styling updates to specific components so i didn't change that.
What do you think we should do?

makes sense, let's merge it and make fixes otw


master startup in windows10 fail

In Windows 10
when I type command  ".\weed.exe master" in PowerShell to startup , the window returns error.
log is below:
PS D:\bag\seaweed> .\weed.exe master
I0428 10:15:26 25468 file_util.go:20] Folder C:\Users\yao\AppData\Local\Temp Permission: -rwxrwxrwx
I0428 10:15:26 25468 master.go:150] current: <IP_ADDRESS>:9333 peers:
I0428 10:15:26 25468 master_server.go:108] Volume Size Limit is 30000 MB
I0428 10:15:26 25468 master_server.go:196] adminScripts:
I0428 10:15:26 25468 master.go:113] Start Seaweed Master 30GB 1.77 at <IP_ADDRESS>:9333
I0428 10:15:26 25468 raft_server.go:47] Starting RaftServer with <IP_ADDRESS>:9333
I0428 10:15:27 25468 raft_server.go:87] current cluster leader:
I0428 10:15:27 25468 master_server.go:151] [ <IP_ADDRESS>:9333 ] I am the leader!
I0428 10:15:27 25468 master.go:137] Start Seaweed Master 30GB 1.77 grpc server at <IP_ADDRESS>:19333
I0428 10:15:27 25468 masterclient.go:75] master failed to keep connected to <IP_ADDRESS>:9333: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:19333: connectex: A socket operation was attempted to an unreachable network."
It seem like the weed check the true ip address other then virtual one.
My computer'ip is <IP_ADDRESS>
But when I type command  ".\weed.exe master -ip=localhost" , it goes well
and I use "weed master" in centos7, it goes well.
so maybe it's a bug

Set the IP then, since your ip can not auto detected.