Feature Request: cache calls to getitem on array-like object

I originally thought this was a bug but was told on Slack this is expected so I am opening this as a feature request instead
I am using from_array with a custom array-like object to access data on disk. The data access is quite expensive so I would like to avoid unnecessary repeated access of the same data. The following example illustrates the issue I am running across:
import numpy as np
import dask.array as da

class TestWrapper:
    def __init__(self):
        self.shape = (10, 100)
        self.ndim = 2
        self.dtype = float
        self._array = np.random.random(self.shape)

    def __getitem__(self, item):
        print('TestWrapper.__getitem__', item)
        return self._array[item]

array = da.from_array(TestWrapper(), name='Test data')

array = da.broadcast_to(array, (2, 10, 100))

print(array[1, 1, 1].compute())
print(array[1, 2, 2].compute())

The output here is:
TestWrapper.__getitem__ (slice(0, 0, None), slice(0, 0, None))
TestWrapper.__getitem__ (slice(0, 10, None), slice(0, 100, None))
0.610174593204371
TestWrapper.__getitem__ (slice(0, 10, None), slice(0, 100, None))
0.33187867429095586

The first call to __getitem__ is not problematic since it is an empty slice and can anyway be resolved by setting meta in from_array. However the subsequent calls show that the same chunk is accessed twice. Of course, I could in this specific example combine the two compute calls but my point here is more to show that no caching of the __getitem__ call is done on the dask side for two successive computations.
For now, I can implement some kind of caching strategy inside __getitem__ but since dask itself has more sophisticated infrastructure to do caching, and since it would make more sense for all the caching to be done in one place to have a better handle on memory availability and usage, this issue is to request the possibility of having the __getitem__ calls be added to the dask caching stack (even if it was opt-in in the from_array call).

I also have a similar setup where this would be useful.

@astrofrog have you read the documentation page on caching https://docs.dask.org/en/stable/caching.html? Caching isn't something that dask does at all by default; you have to set it up explicitly using something like this. There are also some bugs with it (xref https://github.com/dask/dask/issues/6228). It doesn't get much attention I think, and it also doesn't work with the distributed scheduler—it's a little bit of a vestigial feature right now.

Of course, I could in this specific example combine the two compute calls

Dask should recompute things between different compute calls, so the behavior you're seeing what I'd expect. That's quite core to how Dask works, and shouldn't change unless you turn a caching callback. Without turning on caching, the only way to have this not recompute would be to implement your own logic inside __getitem__, as you mention.

this issue is to request the possibility of having the __getitem__ calls be added to the dask caching stack

I'd hope that if you just turn on caching, this would work as you hope without needing to special-case __getitem__. I'm curious if the results are satisfactory just doing that. It's quite possible the heuristics aren't very good and __getitem__ doesn't get cached as often as you'd like, though.
So try using dask.cache, but if the behavior isn't great, adding your own logic inside __getitem__ is actually probably the most correct way to do this. Though perhaps Dask could offer a cache="1GiB" option to from_array for convenience, kind of like how xarray offers a cache option.

@astrofrog do you have any thoughts about whether @gjoseph92 's suggestion would meet your needs?

@astrofrog, closing this due to inactivity, but feel free to re-open if you are still having issues!


How use textcomplete for div element (and HTMLEditable)

Hi,
In your previous (and deprecated) plugin jquery, you can pass adapter for HTMLContentEditable and display HTML Content. In this library,  how can I do the same thing?
Thanks

@davaxi ContentEditable has not been supported yet, and probably I don't have time to support it since I'm no longer using ContentEditable.

That's sad to hear. :(
jquery-textcomplete is the only library, I have found, supporting autocomplete for contenteditable on such level. Have to stick with the deprecated version then...

@davaxi @mvlabat I've released textcomplete.contenteditable (witout tests 😨). Please use it.
Note that it is disabled in Safari due to its document.execCommand's strange behavior. So if Safari support is important, you should keep using the jquery version.

I'm going to close this issue. If you find any problem, please open an issue to yuku-t/textcomplete.contenteditable repo.

can any one tell me how to use jquery-textcomplete for TinyMCE editor to supporting autocomplete for contenteditable.

I'm curious if anyone has been able to get textcomplete/textcomplete.contenteditable working with https://github.com/basecamp/trix


does sensitivityRatio get checked against profil.autosens_max and ...-min

I am not seeing in the current determine-basal.js that sensitivityRatio is checked against the profile settings of autosens_max and autosens_min (only for the exercise mode stuff). Did that disappear?

never mind that happens during the autosens run


Added the "pipeline" datasource

This change adds a "pipeline" datasource, which allows querying for the pipeline id of an existing pipeline.  This allows for pipeline composition using the terraform template syntax substituting the discovered pipeline id.

For example (editor code):
main.tf:
data "template_file" "composed_pipeline" {
  template = "${file("${path.module}/composed_pipeline.json.tpl")}"

  vars = {
    ExistingPipelineId = "${data.spinnaker_pipeline.existing_pipeline.pipeline_id}"
  }
}

data "spinnaker_pipeline" "existing_pipeline" {
    application = "my_app"
    name = "existing_pipeline"
}

resource "spinnaker_pipeline" "composed_pipeline" {
  application = "my_app"
  name        = "ComposedPipeline"
  pipeline    = "${data.template_file.composed_pipeline.rendered}"
}

composed_pipeline.json.tpl:
...
    "stages": [
      {
        "application": "josh",
        "failPipeline": true,
        "name": "Call existing pipeline",
        "pipeline": "${ExistingPipelineId}",
        "pipelineParameters": {
        },
        "refId": "1",
        "requisiteStageRefIds": [],
        "type": "pipeline",
        "waitForCompletion": true
      },
...

@joshuarowe-salesforce would you rebasing your work against master so it can pick up the CI configuration?
Also, thanks for this contribution! This is super useful!

@ethanfrogers , It already was rebased, and has the CI configuration.

Interesting. I'll need to see why the build isn't getting picked up.

I'm closing this since #12 includes this change anyway.


Add ready/lifeness probes for replica

@php-coder can you try this one with your extended test? I wonder if we not get into a chicken-egg problems (the service will not be "ready", meaning no endpoints will be returned in dig) till the mongostat succeed.

@php-coder can you try this one with your extended test?

@mfojtik After merging my tests you can easily test your changes just by running test on you laptop/Jenkins.

@mfojtik What is wrong with current readinessProbe in 2.4 branch?
From kubernetes doc - http://kubernetes.io/docs/user-guide/pod-states/#container-probes
ReadinessProbe is a function to ensure that pod should be listed in service endpoits, am I right? In MongoDB case in current implementation should be included whet it accepts connections (port 27017) and after that it is added into replicaset - since this operation is not finished MongoDB is not "ready" (are not part of replset and does not store data), however it have to be listed in service...

Can one of the admins verify this patch?

@rhcarvalho @php-coder i'm closing this since the old replica example is being deprecated, but please take a look and see if we should be pulling any of this logic into the petset replica example.


Add Contacts Page

Created the contacts page for the contacts provided in the guidlines file. As the guidelines were a bit confusing, I implemented some small corrections in order to make everything more visually pleasant.

I don't really like the design, check jmv/update_contacts_design and give me your opinion.

@ribeiropdiogo @miguelbrandao

@machadovilaca i think it's very nice! Do you think the color of the icons should be the same as in the other pages or do you want to keep those colors?

I tried the other color in all icons and I did not like it, it was too monotonous.
If you like it, then you can maybe rebase that branch into this one, I created it from this.

ok perfect then!

In the mobile view, instead of fitting the text content to the width, can you adjust it to be one contact per line like:
Redes Sociais

F_logo HackathonHeartbits
I_logo @hackathon_heartbits

Organização

M_logo cesium...
M_logo com...
M_logo img_

I like the design! Just follow @machadovilaca 's suggestion and it's ready to be merged imo

@machadovilaca @miguelbrandao I tweaked the options to the ratio that seemed to look the best to me. Give me your thoughts

To me, it feels like the contact text it's still being unnecessarily splitted.
Can you try to put the logo and the text in different divs? Something like

  <a target="_blank" rel="noopener noreferrer"<EMAIL_ADDRESS>

  <a target="_blank" rel="noopener noreferrer"<EMAIL_ADDRESS><EMAIL_ADDRESS>

In the logo you could keep  max-width: 25%; min-width: 20% but increase those values for the text

Theres is no need to add divs. I was forcing the text to break. I removed that option and gave the contact more width in the mobile version.

Perfect, I like it :heart:


handling single entity multiple intents

Rasa NLU Core version**: rasa-nlu- 0.13.4 rasa core 0.11.1
Python version:   3.6.5
Operating system (windows, osx, ...): win 10
Issue:
Hi there ,
I was trying to create a simple small talk and todo list tracker Bot, but I am facing issue of handling single entity multiple intent  as:
==> This works fine
SAMPLE STORY 1
create.todolist{"tolist-name": "my tasks"}
- slot{"tolist-name": "my tasks"}
- utter_ask_taskName
STORY 2
retrieve.todolist{"tolist-name": "daily tasks"}
- slot{"tolist-name": "daily tasks"}
- action_retrieve_todo_list
==> When ever I place this story to get the list name separately the dialogMgmt model is going to fallback
##ERROR STORY

create.todolist

utter_ask_todo_list_name

input.list.name{"tolist-name": "my tasks"}

slot{"tolist-name": "my tasks"}
action_create_todo_list
slot{"tolist-name": "my tasks"}
utter_ask_taskName

git: https://github.com/abhijeetshukla007/Tracker
Please guide further.
Thanks
Abhijeet

do you start with the create.todolist event? because right now you just have one story, and it starts with a greeting, so that might explain it. Also are you using NLU? running rasa_core with --debug might give you some more info as to what's going wrong

Hi Akelad,
I ran starting the conversation with create.todolist instead of smalltalk event same issue persists.
I checked the same issue of multiple intents using same entity on which you replied to create a new input intent to get the entity (input.list.name) in case as:
STORY
create.todolist
utter_ask_todo_list_name
input.list.name{"tolist-name": "my tasks"}
slot{"tolist-name": "my tasks"}
action_create_todo_list
slot{"tolist-name": "my tasks"}
utter_ask_taskName
##SAMPLE STORY 2
retrieve.todolist
utter_ask_todo_list_name
input.list.name{"tolist-name": "my tasks"}  //error line
slot{"tolist-name": "my tasks"}
action_retrieve_todo_list
In this case the bot was taking intent as create todo list on "//error line".
Attached sample old git code which was running well
https://github.com/abhijeetshukla007/tracker-backup.git
In this codebase I was not able to recognize the intent properly if it was not set in the first statement of user
If you have any running sample of multiple intents which have conditional input to same entity please provide the link.
Thanks
Abhijeet

but what about if you start it with the greeting, then it should work as far as i can tell.
Hm I'm not sure what you mean about the "multiple intents using same entity ", if your nlu model isn't picking up the correct entities, then you probably need more training data. It helps to run rasa core with the --debug flag to see what exactly is going wrong

Hi Akelad,
Thanks for the help, The issue got resolved, it was due to nlu score from spacy_sklearn pipeline which was less due to which the fallback response was coming up, its working good with tensorflow_embedding now :)
Thanks


build errors running npm run build-aot

When I run npm run build-aot it works until this line, which fails w/ the following error:
> ngc --project tsconfig-aot.json

Error at /Users/tom/code/ng2-esri-demo/src/app/services/map.service.ts:3:1: Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
Error at /Users/tom/code/ng2-esri-demo/src/app/components/home/home.component.ts:3:1: Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
Error at /Users/tom/code/ng2-esri-demo/src/app/components/map3d/map3d.component.ts:3:1: Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
Error at /Users/tom/code/ng2-esri-demo/src/app/components/home/home.component.ngfactory.ts:102:18: Property 'mapElement' is private and only accessible within class 'HomeComponent'.
Error at /Users/tom/code/ng2-esri-demo/src/app/components/map3d/map3d.component.ngfactory.ts:102:18: Property 'mapElement' is private and only accessible within class 'Map3dComponent'.

It is imposible to build this demo with AOT, since I do not know to build dojo/esri with rollup.

I'm not sure that it's impossible, but you'd have to change a few things.
First, I can get past the above error by changing the syntax for how you require the ArcGIS modules from import Map = require('esri/Map'); to import * as Map from 'esri/Map';. However, I then get a TS error:
Error at /Users/tom6947/code/ng2-esri-demo/src/app/components/map-view/map-view.component.ngfactory.ts:102:18: Property 'mapElement' is private and only accessible within class 'MapViewComponent'.
Error at /Users/tom6947/code/ng2-esri-demo/src/app/components/scene-view/scene-view.component.ngfactory.ts:102:18: Property 'mapElement' is private and only accessible within class 'SceneViewComponent'.

I've never worked w/ ngc so I can't be much help there.
If you were able to get ngc to run, then the rollup bundling might actually work b/c rollup should just ignore the modules that it can't resolve (esri/dojo). However, you'd have to change how the output bundle is loaded on the page to use a require statement like require('dist/build.js'). See my example project.
In other words, I don't think rollup is the problem, or at least, we haven't gotten to that part of the build yet.

I tried something with aot build:

all imports like import Map = require('esri/map') changed to import * as Map from 'esri/Map';
try config rollup to ignore esri with plugin rollup-plugin-ignore;
try config rollup to resolve esri with plugin rollup-plugin-bower-resolve;

my aot build step is:

[x] npm run tsc
[x] npm run ngc
[x] npm run tsc-aot
[ ] npm run rollup

but still failed at the last rollup step  rollup -c rollup.config.js, the error is:
Could not resolve 'esri/views/MapView' from /Users/zhang/Projects/ng2-esri-demo/src/app/components/map-view/map-view.com
ponent.js

See my last check in for details, do you have any ideas?


Add dependabot to bump base dependencies automatically

We should use https://dependabot.com/docker/ to update dependencies on base images, so we can speed up the process.

Hi @fzipi
Can't we just activate Dependabot via Settings -> Security&analysis -> Dependabot alerts -> Enable??
Unfortunately I do not have the permissions.

Done.


In Tumbleweed, multiple ceph-salt commands display a warning

Reproducer:
sesdev create pacific --ceph-salt-branch master

Symptom:
Commands display DeprecationWarning:
/usr/lib/python3.8/site-packages/salt/utils/dictdiffer.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

Excerpt from reproducer output showing the warning:
    master: ++ ceph-salt config /ssh/ generate
    master: Key pair generated.
    master: /usr/lib/python3.8/site-packages/salt/utils/dictdiffer.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    master:   from collections import Mapping
    master: ++ ceph-salt config /containers/images/ceph set registry.opensuse.org/filesystems/ceph/master/upstream/images/ceph/ceph
    master: Value set.
    master: /usr/lib/python3.8/site-packages/salt/utils/dictdiffer.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    master:   from collections import Mapping
    master: ++ ceph-salt config /time_server/server_hostname set master.pacific.test
    master: Value set.
    master: /usr/lib/python3.8/site-packages/salt/utils/dictdiffer.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

Presumably another salt packaging bug.

https://github.com/saltstack/salt/issues/57014


noaa.get_forecasts() hangs

I've been using this codebase for the last two-three weeks. However, this morning (8am ET time US) the noaa.get_forecasts() function started hanging. It never returns the forecast.

I'm having similar issues.

Likewise. I also had the same issue when calling get_observations().
I did a bit of investigating, and it seems as though it hung when it made requests to api.weather.gov/stations/{STATION}/observations. When accessing this page normally, it presented me with an error, however as of around 1:20 PM EST, it seems as though the endpoint is responding normally again. It seems like this was an error on the end of the NWS.

Good to hear others are also having this issue. @tairabiteru Has this resolved for you when you call get_forecasts()? It still seems to be hanging for me when I call get_forecasts()

Actually, I retract what I said before. The jury's still out. I've gotten a weird mix of it sometimes working and sometimes failing, but last I tried, I was getting consistent 502 errors from the URI. The same one I used in the above message. I did some more investigating into the issues with it, but decided to call it a night after about three hours of messing around and little to show for it.
I do still think it's the NWS though. I've noticed certain functions I've written to handle the data from the API suddenly quit working due (seemingly) to changes to the data coming from the API. I don't see how the library would affect that, especially since I've not run an update since this issue began. Regardless, I'll have a go again tomorrow probably.

Everything is fine on my side again, I agree that it's probably the NWS.

Well, I think this is our smoking gun:
https://www.weather.gov/media/notification/scn19-113weather_api_updatesaab.pdf
The NWS began upgrades to their API on February 5th. No word on when these upgrades would be completed, (or if they already have been) but seeing how these issues began on the 5th, I'd say that at least explains the instability. That, and the fact that I just got a response from a URI, and then a 500 error from the same exact URI not five minutes later.

It seems that issues are resolved for the time being. Will close this issue since it is not related to the code base.


Add a License

Hi!
I would like to use this as a base for connecting consul registered services to envoy.
Are you open to adding a LICENSE like Apache's or MIT?
Thanks!

it should be MIT :)


Fix for sliders

A fix for sliders not dragging outside of bounds.
Added 2 global variables: a state for slider dragging and a rectangle as an identifier for the slider. This way it's possible to fix sliders without breaking changes.

@hanaxar Wow! What a solution! Does it really work??? Very impressive! Thanks! I need to test it carefully before merging...

Yes it seems to work. I tested it with scroll_panel.c and controls_test_suite.c examples.

@hanaxar Just tested it and it works perfectly! Thank you very much! This is really a great improvement! 😄

We could probably remove most of examples/custom_sliders and only keep GuiVerticalSlider/Bar/Pro()

@odecaux I prefer to keep them for now, they show another way to implement it not relying on a global variable. It could be useful for some users.


fix: prevent accidentally setting certain log settings to undefined

fixes: #5340

@zwave-js-bot approve

@zwave-js-bot approve


fix: update packages to fix issues with build

Resolves https://github.com/reactioncommerce/reaction/issues/5460 (maybe?)
Impact: critical
Type: bugfix
Component

Update various babel packages
Update husky and commitlint because I couldn't commit. (the hook failed and prevented committing)

Breaking changes

Updated babel versions should mean that other projects that use this library should update their various babel packages to the latest versions. For example below

devDependencies
    "@babel/cli": "~7.5.5",
    "@babel/core": "~7.5.5",
    "@babel/node": "~7.5.5",
    "@babel/plugin-proposal-class-properties": "~7.5.5",
    "@babel/plugin-proposal-decorators": "~7.4.4",
    "@babel/plugin-proposal-export-namespace-from": "~7.2.0",
    "@babel/plugin-proposal-function-sent": "~7.2.0",
    "@babel/plugin-proposal-json-strings": "~7.2.0",
    "@babel/plugin-proposal-numeric-separator": "~7.2.0",
    "@babel/plugin-proposal-throw-expressions": "~7.2.0",
    "@babel/plugin-syntax-dynamic-import": "~7.2.0",
    "@babel/plugin-syntax-import-meta": "~7.2.0",
    "@babel/plugin-transform-runtime": "~7.5.5",
    "@babel/preset-env": "~7.5.5",
    "@babel/preset-react": "~7.0.0",

Testing

Build should pass
Docs should render and all components should work. Most specifically the Select component and that's the single component causing all the issues...
npm link or otherwise link the built package to a project and verify that the app still runs and places where the Select component is used, are functioning correctly.

Checkout address form on example-storefront
Tags admin in the Reaction admin

🚀 Preview deployed
Built with commit 5cfa05cbe4abf8fdb4ac44832f254aca3847709b
https://deploy-preview-435--stoic-hodgkin-c0179e.netlify.com

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[AutoPR cognitiveservices/data-plane/Face] [Cogs Face] Align with latest released version of Face API with  feature of multiple recognition models.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5381

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/1772


Proposal for autoregistration of HomieNodes

It removes the array of nodes from Datatypes/Interface.hpp and converts
it to a linked list. First & last pointers are stored as static members
of HomieNode.
Also, it adds 3 static methods to HomieNode: for_each() that executes a
lambda function on every registered node, find() which looks up a node,
and getNodeCount() which returns the number of registered nodes.

:+1: thanks


Return the result of dispatch call to store

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
I'm trying to add support for dispatching thunks to our logux store on the client side. My approach has been to use redux-thunk-fsa so that all thunks have a type and the callback is passed as the payload. However in order for my components to access the results of the executed thunks requires returning the result of the dispatch operation.
Here is the diff that solved my problem:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 2d77ee5..b97b2cd 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -64,9 +64,10 @@ export function createStoreCreator(client, options = {}) {

       prevMeta = meta
       let prevState = store.getState()
-      originDispatch(action)
+      let result = originDispatch(action)
       emitter.emit('change', store.getState(), prevState, action, meta)
       saveHistory(meta)
+      return result
     }

     store.dispatch.local = (action, meta = {}) => {

This issue body was partially generated by patch-package.

Let’s use it in main. Please send PR, I will release it.


Behaviour of PolygonSet.fillet on non-trivial polygon

I created a new PolygonSet by applying
shape=gdspy.fast_boolean(Rectangle, Circle, 'not')
where Rectangle and Circle are partially overlapping. After that I merged all resulting polygons via merged=gdspy.fast_boolean(shape, None, 'or')
and applied the fillet method
merged.fillet(20, 100).
In the resulting shape, corners along the overlap path of the original shapes are not rounded accordingly or an erroneous shape is being generated.

@JBraumueller You probably want to avoid fracturing before the fillet operation. Both shape and merged will be fractured if you don't specify otherwise. To do so you have to set the max_points argument in fast_boolean to something sufficiently large (or zero to disable checking completely).
In that case you probably don't need to manually merge the result from the first operation:
shape = gdspy.fast_boolean(Rectangle, Circle, 'not', max_points=0)
shape.fillet(20, 100)

Note that if the circle is inside the rectangle (shape has a hole) fillet is probably give the wrong result because of the connection between the hole and the outside boundary. In that case, you'll probably want to run fillet before the boolean operation.

Thank you very much for your answer.
I was using max_points=0 in the merge and I just tested using max_point=0 as you suggested without the additional merge. In both cases, the fillet works at the corners of the rectangle, but is not applied to the cutting-edge between rectangle and circle. The circle was not within the rectangle but only cuts out some section.
rectangle = gdspy.Rectangle([0,0], [50, 50])
circle = gdspy.Round([50+25], 25], 30)
shape = gdspy.fast_boolean(rectangle, circle, 'not', precision=0.01, max_points=0)
shape.fillet(20, 100)

gives me a non-rounded corner at the region where the circle was cut out from the rectangle.
Thank you again!

That's expected. Unfortunately the fillet function only works at vertices whose edges are long enough to touch a circle with the radius specified at both tangent points. That's probably not the case at the intersection of the rectangle and the circle, since the latter is composed of very small edges.

Ok, I see. Thank you very much.


Install and restore IPSW iOS/iPadOS/macOS on UTM through ARM emulation

UTM is a fork based on QEMU Emulator, QEMU Emulator can emulate many diffrent processors architctures including ARM64 on x86_64, I really would like to see ability to install and restore IPSW of iOS/iPadOS/macOS on UTM on Intel-based devices, I really want to try iOS/iPadOS or at least arm macOS (Which definitely can run iOS/iPadOS apps as Apple announced) not to save money but, to decide before I buy iPhone/iPadOS if they worth buying.
Why can macOS (12.3+) be installed on UTM only for Apple Silicon Macs while I can't do that on Intel-based Macs? No IPWS macOS Restore option for Intel-based Macs. UTM is based on a QEMU emulator that can emulate the ARM64 architecture as I mentioned and on top of all that there is a developer who managed to run iPhone 11 firmware iOS 12 up to iOS 15 on a QEMU emulator, I hope to see that in the future if it's not impossible to do.
Here is the proof for the developer who managed to run iOS on QEMU Emulator: https://twitter.com/ntrung03/status/1499274938217381890

Restoring macOS via IPSW is exclusive for Apple Silicon Macs, and there's a good reason behind it.
Intel machines struggle to emulate ARM64. it will take ages to boot something.
You better of buying or borrow a real iPhone or iPad

Can IPSW installation be added to the m1 iPad after jailbreak

that is cool

what about emulating iOS/iPadOS on M1 Macs via UTM?

I'm also curious about this question here, any ideas? can we use the .ipsw files for iOS in some simulator?

what about emulating iOS/iPadOS on M1 Macs via UTM?


allow custom session option

Hello, thanks for developing this library. I have a project that I'm working on, and it uses custom session. I need to install extensions on the custom session rather than the default one. Based on the source code, the target session is hardcoded to be session.defaultSession so I am blocked by this. My proposal would be something similar to the following:
import { installExtension, REACT_DEVELOPER_TOOLS } from "electron-extension-installer";

app.on("ready", async () => {
  await installExtension(REACT_DEVELOPER_TOOLS, {
    loadExtensionOptions: {
      allowFileAccess: true,
    },
    session: optionalSessionTarget
  });
});

Types for ExtensionOptions can be updated to
export interface ExtensionOptions {
  /**
   * Ignore whether the extension is already downloaded and redownload every time
   */
  forceDownload?: boolean;
  /**
   * Options passed to session.loadExtension
   */
  loadExtensionOptions?: LoadExtensionOptions;
+  /* todo: doc */
+  session?: string | Electron.Session;
}

The session property should accept a string or session object. Sometimes we use partition key and not the session object itself so it would be better to support both. It could be resolved in this way:
// if session option is a string, resolve string to session object else pick whichever is available
const targetSession = typeof options.session === 'string' ? session.fromPartition(options.session) : options.session ?? session.defaultSession;

LGTM! Thanks for the PR!


os.path.abspath('*') -> ValueError

From @ironpythonbot on December 9, 2014 17:51
D:>ipy
IronPython 2.6.1 (2.6.10920.0) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.

import os.path
os.path.abspath('*')
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\IronPython 2.6 for .NET 4.0\Lib\ntpath.py", line 459,
in abspath
ValueError: Specified path is invalid.

D:>python
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
import os.path
os.path.abspath(' _ ')
'D:\  _ '
Having '*' (and '?' etc.) is in path is totally valid, especially if you plan
to run it through glob.glob afterwards.
Work Item Details
Original CodePlex Issue: Issue 29489
Status: Proposed
Reason Closed:  Unassigned
Assigned to:    Unassigned
Reported on:    Nov 18, 2010 at 1:31 PM
Reported by:    pekkaklarck
Updated on: Sat at 10:04 PM
Updated by: jdhardy
Copied from original issue: IronLanguages/main#907

From @ironpythonbot on December 9, 2014 17:51
On 2011-10-10 21:40:27 UTC, pekkaklarck commented:
Occurs also with IPY 2.7.

From @ironpythonbot on December 9, 2014 17:51
On 2014-12-07 05:07:33 UTC, jdhardy commented:
In general, os.abspath is too restrictive. IPython has a path like ""//////:::::ZZZZZ,,,~~~" that is uses as a sentinel and expects to pass through os.abspath unchanged.


ImportError: DLL load failed while importing dlib: The specified module could not be found.

Expected Behavior
Import dlib library
Current Behavior

import dlib
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed while importing dlib: The specified module could not be found.

Steps to Reproduce

import library

Version:   Current version
Where did you get dlib: Github repo?
Platform: Windows 10 64bit
Compiler: Python 3.8 64 bit

I have installed dlib successfully but CUDA was needed.Import was working fine before trying to use CUDA.
After installing CUDA and cudnn, I have reinstalled dlib successfully again but when I try to import it it gives ImportError. After hours of online searching this problem, I can not find a solution, PATH is configured correctly with CUDA and cudnn. I have two python environments: 32 and 64, using the 64bit interpreter for dlib, when trying to install dlib on the 32bit interpreter I am getting   "ERROR: Failed building wheel for dlib".

Issue was fixed by using Python 3.7 64b version,


material_components_web rebase test strategy

need scripts to rebase and validate whether adapter api has changed

need script to detect mdc version change and trigger CI
need script to detect Breaking changes
use jest to write adapter sanity checks UT

v0.0.49
npm run test now detects api discrepencies


Add Esperanto (eo_eo.json)

Please note that there are a few letters missing that are needed for this translation. It only really requires flipping diacritics from letters already in the font but it will require a few additions to a font sheet.
Also there are a couple of translations I'm not super sure on but they're still readable.

Good work! I'll hold this off for the next update, in the meantime could you post the missing characters if you know them?

Ĉ Ĝ Ĥ Ĵ Ŝ Ŭ and the lowercase vesions are the missing characters, sorry for not replying sooner


Tile entity class?

I have a class that is a tile entity and implements Itickable. I've tried plugging in each of your classes but we run into a inconvertible error with one of the lines of code . None of your compat classes seem to handle tileentity's in the general scope and the code needs them to work.
Any ideas?

NN

Can you be more specific as to what you did and the errors you get? Also what version of MC

1.11
and here is the code snippet:
public static SGBaseTE get(IBlockAccess world, BlockPos pos) {
        TileEntity te = world.getTileEntity(pos);
        if (te instanceof SGBaseTE)
            return (SGBaseTE)te;

I first replaced this:
public class SGBaseTE extends BaseTileInventory implements ITickable

with
public class SGBaseTE extends EntityTools implements ITickable

when that did not work I tried worldtools and ended upleaving that there with the error.

Why are you extending EntityTools? That doesn't make sense. EntityTools is a class you should use. Don't extend from it. CompatLayer has nothing specific for TileEntities as they didn't really change between 1.10 and 1.11. Just use a normal TileEntity


For DNS, make the UDP NAT rules one-shot

Previously we would hold open a UDP NAT rule (and associated
socket) for 60s. This could waste a lot of sockets for DNS-heavy
workloads.
This patch closes the socket and removes the rule as soon as the
response is received. If the response is never received then the
GC will kick-in as before.
This is a short term patch before the next DNS rewrite.
Signed-off-by: David Scott<EMAIL_ADDRESS>

Another one of these:
[ERROR]             iperf                2   iperf with two stacks and uniform packet loss.
-  ...                iperf                3   iperf with two stacks, basic tests, longer.


Convincing manager with large high traffic sites using Flask. Any tips?

Seeing that I have (some) experience in Flask I really really want to use it for a new project we're about to start here in our company. I'm now looking for a couple websites that are either or all of the below:

high traffic
slick looking
big/known names

I checked out the "powered by" part of the Flask website (http://flask.pocoo.org/community/poweredby/) but I can't find any big names on there. I think I once saw a little list of good sites using Flask, but I can't find them anymore.
Anybody any tips?

I know that this is old but Pinterest API was made with flask.
http://www.quora.com/What-challenges-has-Pinterest-encountered-with-Flask/answer/Steve-Cohen?srid=hXZd&share=1

tnx bro so good post
Social networking > http://www.averbud.com
free Ebook most popular free > http://www.averbud.com/e-book
bangla tunes most popular free > http://www.averbud.com/bangla-tunes
tech news most popular free > http://www.averbud.com/tech-news
Free Live Video Chat & sex me > http://www.averbud.com/videos
Free model sex sexy photo > http://www.averbud.com/model-photos

Flask-Restful (http://flask-restful.readthedocs.org) by the good folks at Twilio (https://www.twilio.com/open-source) is a big reason we (https://getsling.com) felt safe choosing Flask

A bit late to the party, but my sites are all running on Flask. It's a search engine which works with Elasticsearch. My app handles over 1 million requests per day, and it works like a charm. If you want to see it in action.
There is very good documentation for deployment on AWS Elastic Beanstalk too. I highly recommend.

After 4 years this question is still valid, anyone has any good example not already mentioned?

Please, as has been asked multiple times, use the mailing list for this type of discussion.


Empty string in parameters as null.

In POST when I pass an empty String in parameters for example:["Term" :    ], I get an error that value is null. How to pass an empty string "   " properly?
@mk
@robrasmussen
@mattt
@technomage
@mthole
Thanks!

Hi @raugustinas,
The code you posted ["Term":] doesn't even compile. You could pass empty parameters in a POST like so:
let urlString = "https://httpbin.org/post"
let parameters: Parameters = ["foo": ""]

Alamofire.request(urlString, method: .post, parameters: parameters).responseJSON { response in
    debugPrint(response)
}

Cheers. 🍻

Also, in the future, please don't directly tag users on an issue that is opened. It won't help you get your issue resolved any quicker.

passing empty string line "" also not working. The server side error is field not found for the empty string parameter.

I have same problem like above..
Here is my param:
["action": "search", "page": "1", "long": "", "search_type": "both", "user_id": "2", "keyword": "", "lat": ""]
And server response is:
{
data =     (
);
message = "Please Fill All Details";
status = 0;
}
Please help abut this.. I want to send blank or empty string ("").


Question) Time schedule for release

Hi, I'm one of the people out there waiting for GPT-NEO bigger versions to be released. Is it possible for you to inform us the rough time schedule? Especially, I'm curious what size you are working on.:)

We are currently training a 6.7B model. I do not have a time-line for release though.


Add Unwelcome School by MO2

Song Name
Unwelcome School
Artist Name
MO2
Source
Youtube
Youtube Link
MgPATXHiVu9EIVLu
Direct File Link
No response
Song ID
1160429
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 89735210

reject
invalid youtube id


reset command resizes window

Annoying but not critical: reset command resizes window (when maximized) just how old cmd would maximize, probably due how the "terminal emulator" interprets escape codes. I'm used to resetting the screen every time, so I found out this a little annoying. clear works just fine.

Not sure if its related but, with terminal window is maximized, when I open vim (local or remotely) the window gets resized (window remains on "maximed" status tho).
At first I though I could change some vim setting to prevent this but it wouldn't help much because when I close vim it gets resized again to the default terminal size like 20 rows X 80 cols, something like that...

It also causes issue when leaving emacs (since it reset the screen too).

I am no longer able to reproduce this on the most recent Insider build.

This was indeed fixed. Ty.


Add alternate ID field to user form for admins only

Originally created by Tom Smyth at 2016-09-08 02:58, migrated from redmine-#5081

Version set to 2.3

By Tom Smyth at 2016-09-28 05:47

Status changed from New to Closed

By Tom Smyth at 2016-09-18 18:10


Printing

⚠  This is not an implementation of #10.
Adds the capability of creating PDFs of seats (optionally remaining only) for a given program, zone selection and number range, taking into account a program's blocks.
The use case for Desucon for this functionality is to be able to hand out physical tickets for e.g. wheelchair seats.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@23a2dde). Click here to learn what that means.
The diff coverage is 85.25%.

@@            Coverage Diff            @@
##             master      #22   +/-   ##
=========================================
  Coverage          ?   93.08%
=========================================
  Files             ?       38
  Lines             ?      998
  Branches          ?        0
=========================================
  Hits              ?      929
  Misses            ?       69
  Partials          ?        0

Impacted Files
Coverage Δ

paikkala/printing/forms.py
100% <100%> (ø)

paikkala/printing/configuration.py
100% <100%> (ø)

paikkala/tests/test_printing.py
100% <100%> (ø)

paikkala/printing/views.py
54.54% <54.54%> (ø)

paikkala/printing/ticket_info.py
88.88% <88.88%> (ø)

paikkala/printing/drawing.py
90.24% <90.24%> (ø)

paikkala/printing/__init__.py
95% <95%> (ø)

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 23a2dde...6797ddb. Read the comment docs.


feat: no-operation simps attribute, to avoid unnecessary errors in mathport output

This is lame: not an actual port of @[simps] in all its glory, just a no-operation attribute so we have fewer errors on declarations in the output of mathport.

bors merge


Feature: GANEstimator allow passing of namedtuples

In the current GANEstimator implementation in train.py gan_model(..) both real_data as well as generator_inputs is converted to tensors with either _convert_tensor_or_l_or_d or ops.convert_to_tensor. This prevents the user from using own data structures like namedtuples to pass information between the generator and discriminator.
In the current implementation when passing a namedtuple the result will be a list with all name information being lost.
I propose to either extend the tensor conversion to exclude namedtuples from them or to remove them entirely.
@joel-shor Do you think that is a good idea? I am currently passing logits as well as sample_id from a dynamic_decoding around and I would like to keep the meaning of these across loss_fn and discriminator_fn.

I could remove the conversions entirely. This would introduce breaking changes.
I could exclude namedtuples from the conversion.
Idk yet??

I would create a PR for any of them if we find a suitable solution.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Hi, I am not familiar with gan estimator, however many function support dict in tensorflow. Could dict solve the problem?

@facaiy made the point I wanted to make: TFGAN already supports dictionaries. Could you just use the namedtuple _asdict() function for the duration of the GANEstimator? I'm also happy to have you add support for nametuples in _convert_tensor_or_l_or_d, which I think would also fix your issue?

I would still love to see namedtuples for their immutability but I can live for now with a dictionary.
@joel-shor You can decide wether you leave this request open or close it.


Support parameters for update/delete queries

See #220
Currently, multi-table updates and deletes are not supported.
This fix makes HQLUpdateQueryTest#testUpdateQuery pass. I have not tried other tests yet.
I suspect we would be better off using something like BasicExecutor instead. I'll look into this further next week,

Excellent, thank you @gbadner!


No instructions and Make fails

Hello,
I tried pulling the git to install the latest version, but right off the bat there are problems because the instructions on your site are for installing 0.7.0  from a tarball, not from a git pull.
After pulling the git there are three actual programs I can run:

autogen.sh which fails with the error:
./autogen.sh: 19: ./autogen.sh: ./version.sh: not found
fatal: Not a git repository (or any parent up to mount point /genome)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
./autogen.sh: 21: ./autogen.sh: autoreconf: not found

configure.ac which fails with the error:
./configure.ac: line 1: syntax error near unexpected token `[ax_boost_base.m4]'

./configure.ac: line 1: `m4_include([ax_boost_base.m4])'

make_bin.sh which only gives the unexplained output:
Usage:
./make_bin.sh <package_base_name> <boost_prefix> [<bam_prefix> [<Eigen_prefix>]]

I have boost, samtools, and eigen all in PATH exported directories or default shared directories (ie /usr/local/include/) but it didn't pickup that they are readily readable.  Manually entering the locations, completely guessing on what package_base_name is, and trying ./make_bin.sh again fails with the error:
packing up cufflinks_git.tar.gz, using boost in /usr/lib/x86_64-linux-gnu/, linking against /usr/local/include/bam/ and using BAM in /usr/local/include/Eigen/, using Eigen in
make: *** No rule to make target distclean'.  Stop.<p> ./make_bin.sh: line 17: [: missing ]'
Unrecognized architecture
./make_bin.sh: line 42: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
cp: cannot stat ‘src/cufflinks’: No such file or directory
cp: cannot stat ‘src/cuffcompare’: No such file or directory
cp: cannot stat ‘src/cuffdiff’: No such file or directory
cp: cannot stat ‘src/gffread’: No such file or directory
cp: cannot stat ‘src/gtf_to_sam’: No such file or directory
cp: cannot stat ‘src/cuffnorm’: No such file or directory
cp: cannot stat ‘src/cuffquant’: No such file or directory
cufflinks_git/
cufflinks_git/README
cufflinks_git/AUTHORS
cufflinks_git/LICENSE
cufflinks_git/cuffmerge
Which says that my command, which follows the provided usage instructions that lack any supporting explanation, is missing at least one parameter identifying linking against.  It also is looking for 8 files that aren't even in the git pull configure (I tried editing to point at configure.ac but this still failed with the same message as above,src/cufflinks, src/cuffcompare, src/cuffdiff, src/gffread, scr/gff_to_sam, src/cuffnorm, and src/cuffquant which appear to be all of the cufflinks suite programs.
With no idea what is trying to be done and no way to move forward I'm stuck here unless I get the precompiled binaries mentioned on the cufflinks website making this git useless for acquiring a version of cufflinks.

The new README file on the github site now includes instructions.  Can you verify that you can build when following them?


http://<IP_ADDRESS>:5001 not working at all

Anyone know how to solve this?

Are you running the go and python server files locally or on some cloud service?

cloud


Resolve build checks failures

Resolve the following:
make check-code produces vulnerabilities in @babel/traverse. might just require a package update

yea. package update did it for me
yarn upgrade

I also had to manually fix a few files with prettier. you can see my changes in https://github.com/lnflash/flash-pay/pull/7

The audit and check-code are successful on the most recent build. We good to close this? @islandbitcoin


Wish: add //go:generate comments to generated files

...for compatibility with go generate which will make sqlc easier to integrate into existing Go builds.
sqlc looks really really good - thank you for this project!

@twpayne what additional support would you like to see? The following comment in a (non-generated) Go file works today
package foo

//go:generate sqlc generate

I've always tried to put the //go:generate comment in the generated file itself, rather than in a separate non-generated file. My reasoning is that this provides more transparency: it's immediately obvious which files are generated and what command generated them.

it's immediately obvious which files are generated and what command generated them

The go generate docs suggest a different mechanism for determining which files are generated. Each generated file should have a comment that matches the regex ^// Code generated .* DO NOT EDIT\.$. sqlc adheres to this pattern and adds // Code generated by sqlc. DO NOT EDIT. to every source file.
Adding the go:generate comment to the file itself will not work because sqlc must be run at the root of the directory. For most users the generated files live in sub-directories.
I'm happy with the current state of support in my above comment.

Agreed :) Thank you for considering the request and for your work on this fanastic package :)


New release?

Any chance of a new release on Cargo including 1.7.5?

Bump?

Sorry for delay:

https://crates.io/crates/lz4/1.21.0
https://crates.io/crates/lz4-sys/1.7.5


Cannot read header line if first item is quoted

Consider the following CSV:
"Editorial Category","Program Name","Program URL","Program Description","Program Summary",Keywords,"Opportunity Status","Posted Date","Close Date","Transportation Type","Eligible Applicants","Eligible Activities","Most Recent Annual Program Funding Amount","Annual Award Amount","Cost Sharing or Matching Requirement","Match Waiver","Rural Set-Aside","Tribal Set-Aside","Grant Opportunity ID","Grant Opportunity Link","Links to Additional Information",Office,Agency,"Eligibility Information","Funding Information","Contact Information",Keywords

Note the first item "Editorial Category".
When I run the code:
const f = await Deno.open(`${Deno.cwd()}/data.csv`);
for await (const obj of readCSVObjects(f)) {
    console.log(obj);
}

I get the following error:
Error: Unexpected quote in unquoted field (line 1, character 4)
    at CSVReader.parseCycle (https://deno.land/x/csv@v0.8.0/reader.ts:449:17)
    at eventLoopTick (ext:core/01_core.js:182:11)

The same error occurs if I change "Editorial Category" to "EditorialCategory" (with quotes), so it is not a whitespace issue.
But when I change "Editorial Category" to EditorialCategory (no quotes), it works fine.

Hello @wtchen
Unfortunately, I can't reproduce the problem. Could you please provide more data:

the file causing the error
source code that reads the file
what version of deno is used
what version of deno-cvs is used

Hi @vslinko, please see this Gist I created to reproduce the issue.

@akselinurmio I have no idea why, but it works.
-@-:~qwe/vslinko/deno-csv master* $ wget https://gist.githubusercontent.com/akselinurmio/640f62c443d61dc8d23f81ca528ae655/raw/710af19f47e75788311aac17f0237cf0dcaf7cfd/demo.csv
--2023-08-12 18:39:44--  https://gist.githubusercontent.com/akselinurmio/640f62c443d61dc8d23f81ca528ae655/raw/710af19f47e75788311aac17f0237cf0dcaf7cfd/demo.csv
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 389 [text/plain]
Saving to: ‘demo.csv’

demo.csv                                   100%[=====================================================================================>]     389  --.-KB/s    in 0s

2023-08-12 18:39:44 (12.4 MB/s) - ‘demo.csv’ saved [389/389]

-@-:~qwe/vslinko/deno-csv master* $ deno --version
deno 1.36.1 (release, x86_64-apple-darwin)
v8 <IP_ADDRESS>
typescript 5.1.6
-@-:~qwe/vslinko/deno-csv master* $ deno run --allow-read test.ts
{
  Type: "Hyperlink",
  Source: "https://example",
  Destination: "https://example",
  "Size (Bytes)": "0",
  "Alt Text": "",
  Anchor: "Example",
  "Status Code": "404",
  Status: "Not Found",
  Follow: "true",
  Target: "_blank",
  Rel: "",
  "Path Type": "Absolute",
  "Link Path": "//body/div[@id='root']/div/div[@id='maincontent']/aside/div/div[2]/div[7]/div[1]/div[1]/a[2]",
  "Link Position": "Aside",
  "Link Origin": "HTML"
}

Looks like its because of UTF BOM.
-@-:~qwe/vslinko/deno-csv master* $ printf '\xEF\xBB\xBF' > with_bom.txt
-@-:~qwe/vslinko/deno-csv master* $ cat demo.csv >> with_bom.txt
-@-:~qwe/vslinko/deno-csv master* $ deno run --allow-read test.ts
Error: Unexpected quote in unquoted field (line 1, character 4)
    at CSVReader.parseCycle (file:///Users/vslinko/Workspace/vslinko/deno-csv/reader.ts:450:17)
    at eventLoopTick (ext:core/01_core.js:183:11)

@akselinurmio Fixed in https://github.com/vslinko/deno-csv/releases/tag/v0.9.1


Add support for Telegram

Might as well!
Probably not a bad idea to check the code... I usually only write simple scripts in python, not classes 😄
I thought of just using requests, but most other notifiers use their own libraries already, so figured it would make things easier.

😄 yay


How to get multiple responses from one end point?

I am able to get 3 responses/outputs (two data tables and one text) from 3 endpoints but I want to see all 3 responses from one endpoint. Is that possible? Is there any way to hard code to get the responses from one endpoint?
I am a beginner at Plumber API. Please don't mind if this question looks silly.

This is not stack overflow. Regardless, if you need just one end point, then consolidate all other end points into that one, returning a wrapper JSON object that will then include all the information that you need.

Sorry, thank you for the info. Closing this issue.


Broken inline math in the manual

Right now all the inline math in the manual does not work, which is not surprising since it does not use the syntax indicated in the mdBook docs. Did it work before, has there been breaking changes in mdBook ?

This is https://github.com/azerupi/mdBook/issues/227. We configure mathjax to use $ here, but out custom theme is not picked up by mdbook.

So do we actually move the theme back into the root doc folder ?

Let's wait a few days to see how this is resolved on the mdbook side, and then fix on our side!


Proxy mode

Idea
I propose to implement the possibility of the Proxy mode.
Solution Description
Add Proxy between client and server. All clients connect to Proxy and having additional logic using RPC determines which server to connect the player to (if there is more than one). I'm also optimizing between the proxy and the server to use one connection, and add the ID connection to the packets accordingly for identification.
This mechanism will allow you to use multiple servers without operating the connection and disconnection of the user.

Nice idea, but a few questions pop up:

How much complexity would this require? Remember, Mirror is intended to ease the pain of networking.
Would this require extensive modifications to the already existing workflow?
Wouldn't this be similar to a Relay?

I see this solution through the actual implementation with the new proxy transport. The only question is how to work with RPC calls exactly at the proxy level. the serialization of RPC is in Mirror
Because implementation through the transport, then I think the only thing to be modified is to move the serialization to a separate repository to unify the code source for the transport level (this is purely my vision and it may not be true for Mirror).
It differs from Relay in that Proxy is the point of connection to the game, then the proxy itself already controls which server with the world to connect it to, while the proxy itself can additionally send RPC calls.

An example of such a scenario:
There is a game where the combat system and text chat presudsvuet. When a player writes to chat, it will make an RPC call and the first message will be processed by Proxy, and so on. it is more logical to unload the server and leave things directly related to the gameplay on it (in our case, the combat system), then Proxy can either process the chat message itself or transfer it to another service that will do it.

Closing as outside the scope of Mirror.


Div class .slick-track has width 0px when slider loaded within collapsed content

When loading slick slider in collapsed content (angular-bootstrap collapse plugin in this case) the .slick-track div gets 0px width, resulting in the slider trying to fit all slides on top of eachother. When pressing arrow to see next slide, the slides go back to normal.
Please check this example:
http://plnkr.co/edit/iw9f2alEnK0HFkv1eq16?p=preview

Please refer to stackoverflow for a solution :)

For posterity: here is the stackoverflow thread being referred to http://stackoverflow.com/a/32107099

you can use below code:
$("ul.slick-slider").slick("refresh");

You're a genius @PouriaDiesel !! saved me a lot of timeeeee


unbound action

In the documentation there is a chapter on bound actions, unfortunately nothing is said about unbound ones.
A simple self-experiment says that the action is not implemented.
Is it planned to implement these as well?

Unbound actions are not exposed like function imports on service level, they should be exposed like service.actions...

Unbound actions are now available through action imports since version 2.3.0.

HI @jakub-vaclavik-sap ,
This is still not working for my case where I have a unbound action at root node.
Its for an V4 app and is a static factory action.
I tried with below options, but none of them worked.
as an actionImport
          let actionImport = this.oAgent.actionImports.CreateObject;
          actionImport.parameter("param1", value1);
          actionImport.parameter("param2", value2);
          actionImport.parameter("param3', value3);

          var oResponse = await actionImport.call();

as functionImport
          let functionImport =  this.oAgent.functionImports.CreateObject;
          functionImport.parameter("param1", value1);
          functionImport.parameter("param2", value2);
          functionImport.parameter("param3", value3);

          var oResponse = await functionImport.call();

as per documentation
await this.oAgent.CreateObject({
		 param1: "value1",
	         param3: "value2",
	         param3: "value3"
	});

Regards,
SN

There are bound actions (there are called on entity instance) and unbound actions (they are not directly accessible and are called through Action Imports, similar as Function Imports).
I have tested unbound actions in CAP OData v4 service with and without parameters, and both variants worked. Without further details about your case there is not much we can do.

can you confirm the the flavour as an actionImport I mentioned is the right syntax?


[Feature] Option to translate the ban messages

The Ban Message should be translated

Feature added in 507c0480daa335d5245c22540515b292716f3024


RuleForEach with polymorphism

Hello,
my project contains the follow entities:
public class Container { public System.Collections.Generic.List<ContainerItemBase> Items { get; set; } }
public abstract class ContainerItemBase
public class ContainerItemA : ContainerItemBase
public class ContainerItemB : ContainerItemBase

For the entities "Container", "ContainerItemA" and "ContainerItemB" i have written validators.
In "ContainerValidator" i try to use:
RuleForEach(x => x.Items.Where(x.Name == "ItemA").ToList()).SetValidator(new ItemAValidator());
RuleForEach(x => x.Items.Where(x.Name == "ItemB").ToList()).SetValidator(new ItemBValidator());

But it fails wit the error "...cannot convert into IPropertyValidator...".
My question is: Is it possible to use RuleForEach with polymorphism? And if yes, how can i use it?
Thanks in advance

Could you post the full error message and stacktrace? Thanks.

Hi Jeremy,
stacktrace is not available because the error occurs at design-time in VS and i cannot compile the code.
The error message is (in german):
Konvertierung von "XYZ" in "FluentValidation.Validators.IPropertyValidator" nicht möglich.
I hope it helps. Please let me know, if you need additional informations :)

Yes it's a compiler error as the types don't match.
Whatever collection element type is defined by the RuleForEach call must match the validator type. This isn't really a FluentValidation issue - it's how the C# compiler and generics work. Stick a .Cast call inside the lambda and you should be fine. Additionally, your Where clause also won't compile as it's using the same variable name (x) and is missing the arrow.
Try this
RuleForEach(x => x.Items.Where(i => i.Name == "ItemA").Cast<ContainerItemA>().ToList()).SetValidator(new ItemAValidator());
RuleForEach(x => x.Items.Where(i => i.Name == "ItemB").Cast<ContainerItemB>().ToList()).SetValidator(new ItemBValidator());

You could also probably simplify this further and replace the .Where and the .Cast with a .OfType call instead:
RuleForEach(x => x.Items.OfType<ContainerItemA>()).SetValidator(new ItemAValidator());

Oh, that's verry embarrassing :(
Sometimes its necessary to make a break xD
Thank you Jeremy :)


Building doesn't work

I'm on Debian 12, having issues building:
I installed npm and vite: apt install npm vite
root@host:~/berghain/web# npm run build

><EMAIL_ADDRESS>build
> vite build

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted

Fix:
apt install npm
npm install
npm run build

Debian has something else than the vitejs tool behind its vite package (https://packages.debian.org/de/buster/vite). Just uninstall it from the system and use npm only.
Yes I need to add proper build instructions :D


Add make generate as required CI action for merging

make generate is trivial to run and ensure consistent docs, etc.. I think it makes sense to add it as required for CI actions to pass.

Completed


Support for YAML .sublime-syntax extension

This pull request adds support for the YAML extension .sublime-syntax as discussed in #2850.

:+1: thanks


chore: bump kclvm version to v0.4.3-alpha.4

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

chore: bump kclvm version to v0.4.3-alpha.4

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

KCLVM Release Note: https://github.com/KusionStack/KCLVM/releases/tag/v0.4.3-alpha.1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 74.244%

Files with Coverage Reduction
New Missed Lines
%

pkg/engine/operation/parser/parser.go
3
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
4321

Relevant Lines:
5820

💛  - Coveralls


[Service fabric tasks] Need to improve help text/description for task inputs?

Please see the below thread. We can improve help text/description for Service fabric tasks:

Hi Larry,
Please see in comments inline..
I have created an issue to see if we can improve task inputs help text.
Thanks,
Bishal
[addtag:deployment-azure]
From: Matthew Snider<EMAIL_ADDRESS>Sent: Friday, May 24, 2019 2:55 AM
To: Larry Wall (AZURE DEV<EMAIL_ADDRESS>Service Fabric Discussions<EMAIL_ADDRESS>Pulkit Agarwal<EMAIL_ADDRESS>Bishal Prasad<EMAIL_ADDRESS>Subject: RE: DevOps - Release pipeline - Azure Service Fabric deployment task questions
@Pulkit and @Bishal
From: Larry Wall (AZURE DEV<EMAIL_ADDRESS>Sent: Thursday, May 23, 2019 5:23 AM
To: Service Fabric Discussions<EMAIL_ADDRESS>Subject: DevOps - Release pipeline - Azure Service Fabric deployment task questions
I was working with a customer yesterday and got pulled into some questions from their deployment team.
They are using the Deploy Service Fabric Application task in their Azure DevOps release pipeline and are finding that they are not able to understand some of the things this task is supposed to be doing or what is happening in the background. The only documentation that can be found on this is for TFS 2017 and is not complete compared to what is found in DevOps https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/service-fabric-deploy?view=azure-devops.
For example, within this task, there are many items that have helpful information links like:
However, there are some things that are undefined or, don’t really explain well what is going to happen
Advanced Settings:
•	Skip package validation - Indicates whether the package should be validated or not before deployment – What happens during package validation? What is being checked? Is there something the developers or devops people need to do to make sure validation succeeds?
[Bishal] Enabling this will skip testing the application package. Ideally this should be on, but in some cases, you might want to turn off validation if deploy/upgrade is going to succeed regardless.
Upgrade Settings:
•	Use Diff Package - Upgrade by using a diff package that contains only the updated application files, the updated application manifest, and the service manifest files. – Who builds this Diff package? Is there a way when a package is being created to say to do only Diff? Is this from Visual Studio?
[Bishal] See more details about diff package here. Task creates this diff package. It compares the new incoming package against the package current deployed on cluster. If some services in the package have not been updated, then they are not included in this diff package. This diff helps in faster update and registration of package.
•	Override All Publish Profile Upgrade Settings - This will override all upgrade settings with either the values specified below or the default value if not specified. This is where things get interesting…if you click on the checkbox, an additional checkbox appears below it ‘Upgrade the Application’ and this box has no explanation of what it does. However, if you check this box, Upgrade Mode, FailureAction and several other fields appear. What is happening with this customer is that although the default settings are set to Monitored and Rollback, it appears their whole application is just overwritten and there is no rolling upgrade happening. From their reading, they thought that Monitored and Rollback would do a rolling upgrade?
[Bishal] There are two ways you can specify how to upgrade your application. First is publish profile which is provided by Visual Studio. You can define the required parameters in a publish profile and then specify that profile file in “Publish Profile” input in task. The other option is to specify those upgrade parameters directly in the task. If you want to do that then you need to turn on “Override All Publish Profile Upgrade Settings” input. This exposes more inputs in the task to define those parameters. (they are only shown on demand to keep the number of inputs down). Typically, you would want to turn-on “Upgrade the application” input to provide upgrade parameters. But in some cases, you might to override publish profile and say, no I don’t want upgrade – in which case application will be overwritten.
If user has set Monitored and Rollback, it should take effect. Can you please end me a snapshot of task inputs and task log when it overwrote the application?
•	Override All Publish Profile Upgrade Settings - If they do not select Upgrade the Application and only the Override All Publish Profile Upgrade settings, then what is getting overridden and from where?
[Bishal] Answered above, application will get overwritten and you select not to upgrade.
•	Override All Publish Profile Upgrade Settings – If you do select this checkbox, all of the settings shown below this option, there is no explanation bubble for what these fields do or are for which leaves them searching around on MSDN for an explanation.
[Bishal] These are explained in Service fabric docs here.
They are seeking to understand these options to prevent unnecessary downtime during deployments.

Larry Wall / Best regards

The doc has been updated


chore: add lint CI

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: yisibl:x: zimondYou have signed the CLA already but the status is still pending? Let us recheck it.


Help for YLXD76YL rx tx

Hi All,
Somebody have a picture for YLXD76YL to clear which is the rx tx and vcc pins?
From this picture and sheet not clear for me, what should I do :)
I think something like that
Thank you for your time
O.

This image will help a bit in the meantime:
https://raw.githubusercontent.com/AchimPieters/esp32-homekit-camera/master/Images/ESP32-VROOM-32D-PINOUT.png
Do you see GPIO1 and GPIO3? This is TX and RX (wired directly to the ESP32).

The pin header is labeled at the bottom of the PCB:

To make it explicit: The yellow wire should be GND. You can verify it be measuring the resistance / continuity between the pin header pin and the GND pin (pin 1) of the ESP32. Please to the same for 3V3 to be 100% sure.

Could I provide anything else?

Could I provide anything else?

Thank you, I guess I can start with it :)
The next step the custom firmware build, as I see, no prebuild img.
Thank you for your time and hard work
O.

You will learn to handle esphome pretty fast and you will see building and flashing a custom image requires a single command call.

You will learn to handle esphome pretty fast and you will see building and flashing a custom image requires a single command call.

you are right, I have some docker stuff, so that was easy.
Now come the bootloader part, I try to find TP3 label, because the gpio direct connect to grn on esp not work for me :/

TP3 is on the back of the daughter board where the ESP32 sits on.

I hope you were successful. :-)

I hope you were successful. :-)

Sure, thank you for your help, I hope you will enjoy your coffee ;)
now I have to modify it, because I use openHAB, so I need mqtt and esp-idf not support is :)

Thanks for your support! I will enjoy the coffee for sure! Wait a second I will provide some config lines to change the platform from ESP-IDF to Arduino. The MQTT component is available there.

https://github.com/syssi/esphome-yeelight-ceiling-light/commit/db03752d2354cd0a5aa51fbc723b2520a3e677b0#diff-b062fda38115034a80dc109f77ecaab2fba849bd59695a5d7db5d4c49883a636
Just replace
# esp-idf framework
esp32:
  board: esp32doit-devkit-v1
  framework:
    type: esp-idf
    sdkconfig_options:
      CONFIG_FREERTOS_UNICORE: y
    advanced:
      ignore_efuse_mac_crc: true

with
# arduino framework
esp32:
  board: esp32doit-devkit-v1
  framework:
    # https://github.com/arendst/Tasmota/blob/development/platformio_tasmota32.ini:
    # core32.platform = espressif32 @ 3.3.1
    type: arduino
    version: 3.3.1
    # https://github.com/arendst/Tasmota/blob/development/platformio_tasmota_env32.ini:
    # env:tasmota32solo1.platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/<IP_ADDRESS>/tasmota-arduinoespressif32-solo1-release_v3.3.5.tar.gz
    source: https://github.com/tasmota/arduino-esp32/releases/download/<IP_ADDRESS>/tasmota-arduinoespressif32-solo1-release_v3.3.5.tar.gz

Now it should be possible to use the mqtt component:
mqtt:
  broker: !secret mqtt_host
  username: !secret mqtt_username
  password: !secret mqtt_password

Warning: Please read the docs of the mqtt and api component. You should remove the api component to avoid reboots because of missing client connections.

Warning: Please read the docs of the mqtt and api component. You should remove the api component to avoid reboots because of missing client connections.

I avoided it different way, I hope it will works, I like the ota/api update :P
api:
reboot_timeout: 0s
I had issue with hidden wifi, what default not "on"
wifi:
ssid: wifiname
password: wifipass
fast_connect: on
I stole the arduino part from your previous commit, but thanks!
Now the mqtt work and I can control the light with command, but in json format, so now read the documentation, how can I change it


[Ready] Add support for building in "offline/decoupled" mode

TODO:

[x] add support in sqlx-macros
[x] rebase on ~develop (will necessitate creating a new PR)~ master
[x] implement cargo sqlx prepare
[x] integration test
[x] document offline mode

Love this work! Let me know if I can help out by testing it against my side project or in any other ways.

@phated it should be ready to try out if you want to play with it, although be aware I've only tested it with the Postgres todos example.

cargo install --path sqlx-cli/
env DATABASE_URL=... cargo sqlx prepare
cargo build (without DATABASE_URL in the environment or .env))
./target/debug/<your binary> to run without rebuilding

Thank you @abonander for this!
I tested it successfully with a postgres backend in an offline sandbox :tada:
Some integration tests rely on database stuff, so when first trying to cargo test in the sandbox I got the failed to find data for query. Then, skimming through the PR I realized prepare command relies on cargo metadata.
I must have run cargo clean before so these test metadata were missing.
A cargo test + cargo sqlx prepare updated the json file correctly :+1:

Hmm, cargo sqlx prepare should be running cargo check first which should generate the metadata. Maybe I should use cargo build instead.

Ah, cargo check won't build the tests by default, will it?

Not sure if this is a new issue, but the cargo sqlx command fails when trying to drop or create a database with a hyphen. My database is called twentyfive-stars and it fails with syntax error at or near "-", which is the same error I get if I do DROP TABLE twentyfive-stars instead of DROP TABLE "twentyfive-stars". Do those commands quote the database name?

I tried to test this out but I can't seem to get it working. I'm working in this branch: https://github.com/phated/twentyfive-stars/commit/d81fa0196eef455a7a543dd8edd450b0e123fbea
The only thing that seems to be inserted into sqlx-data.json is:
{
  "db": "PostgreSQL"
}

Not sure if this is a new issue, but the cargo sqlx command fails when trying to drop or create a database with a hyphen. My database is called twentyfive-stars and it fails with syntax error at or near "-", which is the same error I get if I do DROP TABLE twentyfive-stars instead of DROP TABLE "twentyfive-stars". Do those commands quote the database name?

That was a bug in the existing code that's orthogonal to the changes I'm making here (I just moved a lot of stuff around for better organization). Could you please open an issue? It seems as simple as wrapping the identifier in quotes but we probably want to have proper identifier quoting per database flavor and I think there's some research to be done there.

@phated commented on that commit, you need to turn on the "offline" feature of sqlx. Sorry, forgot to mention that in my instructions.

I assumed I was missing something obvious! Thanks for taking a look. I will open an issue for the database escaping later tonight.

@greizgh if you update and rerun cargo install -f --path sqlx-cli/ you should be able to now run cargo sqlx prepare -- --tests --feature <postgres | mysql | sqlite>,macros,offline to get the tests for one of the database flavors as well.

This is working now! Thanks for the advice.
One thing I am noticing is that the cargo sqlx prepare never cleans up old queries, so I end up with a bunch of near duplicate entries in sqlx-data.json when I am experimenting.

@phated that should be fixed now. I also adjusted the code so cargo sqlx prepare can actually trigger recompile every time (I keep forgetting env!() doesn't do this).

Thanks for looking into that! I'm just glad I can help in some small way. 😄

@JesperAxelsson I've made some significant changes in this PR to cargo-sqlx (renamed to sqlx-cli) if you'd like to look it over; it'll be rebased after merging your pending PRs.

@JesperAxelsson I've made some significant changes in this PR to cargo-sqlx (renamed to sqlx-cli) if you'd like to look it over; it'll be rebased after merging your pending PRs.

Looking good to me!
One thing we should take a look at later is the url handling. Right now sqlx lib and the cli use different ways to parse the url. While it's fine now it might cause issues. And the url parsing I wrote is really fragile ^^.
The same can be said about get_db_kind() and get() for migrator, a user would quite confused if one failed while another accepted their url.
But there is already some work being done to create a more robust url parser if I remember correctly?

@abonander I've been doing some more stuff with this and it seems that the last changes have made it so this command can't be run at the project root of a cargo workspace. Any ideas how that could be made to work again?

@phated what error do you get?

@abonander thanks for the quick response. Here's the error I see when running it in the root of my workspace.

error: manifest path /Users/phated/github/twentyfive-stars/Cargo.toml is a virtual manifest, but this command requires running against an actual package in this workspace
Error: cargo check failed with status: exit code: 101


In the meta data form, the path description field is not required, but in the database table , the path_desc field is not null.

Describe the bug
In the meta data form, the path description field is not required, but in the database table , the path_desc field is not null.
if not input path description, an error will throw, when saving.

maybe refactor sql， set is null

I've come to

I am working on it, I will finish it today.

the Solution

refactor sql in schema.sql and schema.h2.sql
create soul_2.4.0.sql file in soul/script  (alert  sql  to fix it)

To avoid adding upgrade scripts, i will give it a empty string value when "pathDesc" is null.


TypeError: vite_ssr_import_5.default.div is not a function [fixed]

I was getting this weird issue when using React + Vite + Styled-Components + SSR + SWC with @swc/plugin-styled-components
This is how my vite config file looks like:
import { defineConfig, splitVendorChunkPlugin } from 'vite';
import react from '@vitejs/plugin-react-swc';
import { nodePolyfills } from 'vite-plugin-node-polyfills';

// https://vitejs.dev/config/
export default defineConfig({
	esbuild: {
		drop: ['console', 'debugger']
	},
	plugins: [
		react({
			plugins: [['@swc/plugin-styled-components', {
				displayName: true,
				fileName: true,
				ssr: true,
			}]]
		}),
		nodePolyfills(),
		splitVendorChunkPlugin()
	],
});

Solved this by changing the import statement to:
import {styled} from styled-components;

I added an alias because I was migrating one old project to vite:
  alias: {
    'styled-components': 'styled-components/dist/styled-components.esm.js'
  },

it looks working fine


Content change on vault creation

User (seemingly) created a 2 of 3 vault. Then they created another vault with the same keys. that's when they got toast message shared below. The configuration is off.

@ASN-BitHyve to help Devesh try and reproduce.

Verified this issue on keeper app v 1.1.13(314)


Tightened the ChromeOS User-Agent regex to avoid mislabelling some Microsoft browsers

The 'cros' User-Agent regex in useragents.py matches on the 'Microsoft' string in a variety of Microsoft User-Agent strings (see #818).
Three possible solutions:

Reorder the platforms list so that the Windows regexes come first.
Make the match case-sensitive, in contrast to the current use of re.I.
Tighten the ChromeOS regex by adding a space into the regex (i.e. ('cros ', 'chromeos')

We've gone with the third option, tightening the regex, as it's less invasive than reordering, or changing case matching.

@thinkst Thanks, could you add changelog entry and a testcase that shows it doesn't match against Microsoft?

@thinkst Any update on this?

Closing due to inactivity, please refile if updated.


packaging for OSX target duplicates Electron Framework.framework three times

In the built OS X binaries from electron-packager, three copies of Electron Framework.framework are essentially created. One in the root of Contents/Frameworks/Electron Framework.framework, one in Contents/Frameworks/Electron Framework.framework/Versions/A, and one in Contents/Frameworks/Electron Framework.framework/Versions/Current. The official Electron binaries use symlinks so that this does not happen.

Which version of electron-packager are you using?

^7.0.1

What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are
you passing to the packager() function?

electron-packager . Uniscan --all --version=0.37.6 --overwrite --out=dist --asar

What version of Electron are you building with?

^0.37.0

What is the host platform are you running electron-packager on?

Linux (Trusty on Travis)

What target platform(s)/architecture(s) are you building for?

OS X

Please provide either a failing testcase or detailed steps to reproduce your problem.

Build an OS X application, go into Contents/Frameworks/Electron Framework.framework and observe the three duplicated copies of the framework.

I ran electron-packager 7.0.1 on Debian 8.4 and I cannot reproduce your results exactly. This is what I get:
Contents/Frameworks/Electron Framework.framework/Electron Framework -> Versions/Current/Electron Framework
Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
Contents/Frameworks/Electron Framework.framework/Versions/Current/Electron Framework

The first entry is a symlink (as denoted by the arrow). There would need to be some more investigation, but it looks like there's only two copies of the framework.

Ah, I was running zip without --symlinks, so that might be correct. I'll see what the build produces and let you know.

Hmm. Now I wrote a testcase for this and I can't replicate any of it.

After zipping it with --symlinks it works properly for me. I'm not really sure what happened with your result. Should I leave this open for the two duplicates you encountered or can you no longer reproduce it?

I'm going to close it, since I wrote a testcase that does not fail.


[BUG] Java SDK - Private DNS - Delete virtual link doesn't work

Describe the bug
Bug in implementation - parameters mismatch.
com.azure.resourcemanager.privatedns.implementation.VirtualNetworkLinksImpl#deleteByResourceGroupNameAsync calls underlying com.azure.resourcemanager.privatedns.fluent.VirtualNetworkLinksClient#deleteAsync with mismatched parameters:

virtual Network Link Name passed instead of privateZoneName
etagValue passed instead of virtualNetworkLinkName

Exception or Stack Trace
etag value appears in the URL instead of the expected VNL name

	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:100)
		at reactor.core.publisher.Mono.block(Mono.java:1742)
		at com.azure.resourcemanager.privatedns.implementation.VirtualNetworkLinksImpl.deleteById(VirtualNetworkLinksImpl.java:56)

To Reproduce
Use Azure Java SDK to delete an existing virtual network link in a privatedns zone
Code Snippet
                    privateDnsZone
                            .virtualNetworkLinks()
                            .deleteById(virtualNetworkLink.id(), virtualNetworkLink.etag());

Expected behavior
API works properly. The link is deleted.
Screenshots
See above
Setup (please complete the following information):

Java version: 17
Azure SDK: 2.31.0, 2.36.0

Additional context
NA
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Bug Description Added
[X] Repro Steps Added
[X] Setup information Added

@AlexanderAshitkin
Thanks for reporting. This should be a delete implementation bug. Would you try following code to see if this works for you?
privateDnsZone.update()
    .withoutVirtualNetworkLink(virtualNetworkLink.id(), virtualNetworkLink.etag())
    .apply();


Code cleanups, documentation and some fixes

Mostly code cleanups and documentation. A couple of optimizations and vendor lib update.
Things missing:

404, 500 pages
Some more detailed tests

Thanks!

You need to rebase this commit.  There shouldn't be this many merge commits, and @ednapiranha's review branch should definitely not be a part of this.  Pop onto IRC and we can step you through all git commands if you'd like.


Advanced "ms-identity-javascript-v2" sample

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
^2.28.0
Wrapper Library
Not Applicable
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
Hello,
I am working with the tutorial abc and have been able to load and run it without any problems. In a next step I wanted to extend the existing functions and I have difficulties:
I have added a button to the interface which asks for a list of available Azure DevTestLabs. I use the following endpoint for this:
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/labs?api-version=2018-09-15
The documentation for it is available at this URL: list-by-subscription
I have tried various approaches and unfortunately I am not getting anywhere, I would be very grateful for ideas and tips!
All added code snippets I have attached, I otherwise use the code from the example.
MSAL Configuration
auth: {
        // 'Application (client) ID' of app registration in Azure portal - this value is a GUID
        clientId: "<copied_from_azure_portal>",

        // Full directory URL, in the form of https://login.microsoftonline.com/<tenant>
        authority: "https://login.microsoftonline.com/<copied_from_azure_portal",

        // Full redirect URL, in form of http://localhost:3000
        redirectUri: "http://localhost:3000"
    }

Relevant Code Snippets
// New scopes for request:
const devTestLabRequest = {
    scopes: ["User.Read", "https://management.azure.com/user_impersonation"],
    forceRefresh: true // Set this to "true" to skip a cached token and go to the server to get a new token
};

// devTestLabEndpoint for the function call
devTestLabEndpoint: "https://management.azure.com/subscriptions/<copied_from_azure_portal>/providers/Microsoft.DevTestLab/labs?api-version=2018-09-15"

// Function call, which is being triggered by an UI button:
function getDevTestLabs(){
    getTokenRedirect(devTestLabRequest)
    .then(response => {
        callMSGraph(devTestLabEndpoint, response.accessToken, updateUI);
    }).catch(error => {
        console.error(error);
    });
}

Identity Provider
Azure AD / MSA
Source
External (Customer)

@mmigge What specifically is not working? What errors are you getting, if any?

Try removing User.Read from your scopes list. This is an MS Graph scope which is a different resource. It's possible you are getting an MS Graph scope instead of the one you need


Minecraft Bedrock Edition

It Doesn't Work On Bedrock

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

ID: 461ae8d5-a555-30c8-ac12-c2aa7b5ba18e
Version Independent ID: 27e6f2c0-afef-4bbd-c5c8-0282ab679fc6
Content: How to add a Custom Block
Content Source: creator/Documents/CustomBlock.md
Product: gaming
GitHub Login: @v-josjones
Microsoft Alias: v-josjones

@EatMYSHOORTS What doesn't work?

Can you send a screenshot or a description of what happens instead of it working?

putting custom blocks or block mods onto bedrock edition does not work

There are some new tutorials about how to add custom blocks on Bedrock.  https://learn.microsoft.com/minecraft/creator/documents/addcustomdieblock
If these don't work for you, feel free to open this ticket again with more information.
Thanks!

I have forgotten this


Vite 6 compat

Related to:

https://github.com/solidjs/vite-plugin-solid/pull/166
https://github.com/solidjs/templates/pull/153
https://github.com/vitejs/vite/pull/18792

This PR
This PR updates all the deps to their latest, including the upgrade to Vite 6.
The only migration change needed is the resolve.conditions: https://vite.dev/guide/migration#default-value-for-resolve-conditions
I noticed there wasn't test CI, which I found unusual, so I added that in another PR:

#499

I don't think this is minor because it vite only impacts the building of this repo. But I'm good with all the changes. So I will adjust accordingly.


⚠ Thumbnails API Endpoint has degraded performance

In e12affd, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1829 ms

Resolved: Thumbnails API Endpoint performance has improved in 13da7a9 after .


[Feature]: Process (all) log storage rolls according to directory space

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like

Support for configuring the number of logs to keep
Support for configuring log rotation size
The log automatically scrolls when there is not enough space

Additional context
The directory space is not taken into account when the log is currently written, and automatic scrolling cannot be implemented according to the directory to which it belongs. If the space is full, the main interface will be hung and the main process will be affected.

Hello， I want to try this issue


✨ Make websocket types PEP-249 compliant

Summary
In the current implementation the dbapi2 types for the websocket driver are not 100% compliant.
Details
PEP-249 requires that each type_code matches one of the available dbapi2 types. This is not currently the case for BOOL, CHAR and GEOMETRY.
The function Binary(string) is also missing, though the best it could do is throw a NotImplemented exception.
Background & Context
If possible it would be best to comply with the standard as much a possible. Obviously this is difficult for BOOL and GEOMETRY which don't have a particularly good fit right now.
At the very least CHAR should be added, it is mentioned in PEP-249 as an example of a STRING type.
Adding a Binary(string) function even one that raises an exception, can't really hurt. It would prevent issues when someone imports functions that the PEP-249 standard claims should exist.
Not sure what is best for BOOL, perhaps pretend it's a number? I think int(bool) is least likely to cause issues. Converting to string may cause confusion if someone tries to use it in an if statement (since all non-empty strings are truthy).
For GEOMETRY I'd say it's string based, querying one from Exasol returns a string and inserting a string causes it to be converted to a GEOMETRY type.
References
https://peps.python.org/pep-0249/#type-objects-and-constructors

Hi @JoepvandenHoven-Bluemine,
Just a quick update: the shim for dbapi2 compliance will be transferred to the pyexasol project, therefore I have moved the ticket here. (see also PR #145)
Best,
Nico


Moved langium config from package.json to its own json file

To test it with the next version note the contribution guidelines.
Fixes #219

FYI, I think the Langium config in the langium package itself can also be moved into its own file.

FYI, I think the Langium config in the langium package itself can also be moved into its own file.

Oh yes. Totally forgot about that this is also a langium language package itself.


[15721] Cost Model Tests

We refactored the optimizer to take in an abstract cost calculator as input so that we can test different cost models. We created and added a handful of "plan_selection_tests" that test if the optimizer does the appropriate join ordering (it currently does not). We also created an example "bad cost model" and showed how using the optimizer with this cost model chooses an improper join.
Our 75% goal was a testing framework that would allow us to tests that when the optimizer produced a good and a bad plan, that when the plans were executed, we would see a difference in runtimes. These tests and the cost model refactor are steps towards that.
Note: This PR does not include the fix from #1245 , we thought to keep them separate for clarity.

Coverage increased (+0.04%) to 77.016% when pulling d6046385c4b0ac95e8cc8145af282081277472a5 on GustavoAngulo:tests into 0251ba3b907a6dcdb1fba4d4de3b51ddc3dbc469 on cmu-db:master.

https://github.com/cmu-db/peloton/pull/1285/files#diff-5b6d7a5972a8d33624e21f5ccdd3eabcR41
https://github.com/cmu-db/peloton/pull/1285/files#diff-5b6d7a5972a8d33624e21f5ccdd3eabcR51
Not your changes. Just curious why you did a dynamic pointer cast when the return type is already the same as the the pointer that you cast to?

Closing this PR to allow us to submit new PR for second code review.


Signout

Hello,
We would like to remove an authenticated user.
Is this possible ?
Kind regards,
Wouter

Ok, we just found out that we can remove a user by simply retrieving the authentication doc and adding the flag _deleted.
Is also a duplicate of #129
Therefor, this ticket can be closed.


addition of block of lines in synth.tcl is not reflecting in synthesis.log

Description
hello
i just want to add a SYNTH_RETIME as a config varible,or any if statemnt in synth.tcl of openlane,which ask user whether to do retime or not,so that i can do retiming just by passing true for the SYnTH_RETIME in config.json.i am imitating SYNTH_AUTONAME.

but synth retime is not reflecting in sythesis.log where in synth autoname happened.
though the commands are valid in yosys
Proposal
the synth.tcl  or the flow.tcl should allow the user defined tcl commands to execute normally(as in this case its not happening).
or atleast it should call and excute userdefined .tcl  where ever we want during synthesis

@Vinayakamk
Share your tcl script and config.json.
Try with spm design or share a design which you're trying to implement.

hello sir,im trying with openlanes picorv32
either i want retiming should happen in synthesis stage like other config.json variable happen.
synth.txt //added retime if statement in line no 348
config.txt //added true value for the synth_retime
if it is not possible,flow.tcl should take my tcl files which does retiming,on true value set in config.json.
user_env.txt
automatc.txt
retime.txt
(i have sent my 3 tcl files in .txt)
i want to incorporate the retiming concept it flow.tcl in any of the above way

Please re-file this as an issue. We'll need a lot more information to figure out why this is happening as technically, modifying a script should modify the execution.

sure thanks for the reply,,,


Need help with Creating a Reply to Message bubble using JSQ

@jessesquires I have been working on the "reply to a message" option in my app, as in whatsapp and other chat apps.  I have completed most of the UI part, upto the point where I show the preview of the message to reply as shown in the image below.
The problem I am facing is while dynamically calculating the height and the width of the content from my reply. My reply could be multi line text or img or location and I need to account for the height & width of the original message message plus my reply.
Can you please guide me to or point me to what I need to change so I can achieve this?
Note : I have generated a bubble with reply msg but I can only assign a fixed bubble size using CustomJSQMediaItem, but now I need to make it dynamic.

Desired Result for me would be something like this

I solved out the problem with the JSQMediaItem only

Hello @gmansata6290  i need one Help from you . i am new in iOS . i want to make Custom chat layou . please help me.

Hello @gmansata6290
can you please tell me how to use JSQMediaItem for creating reply bubble?
I tried many solutions but not display like whats app so can you please help me?

@gmansata6290 Do you have any code showing how you built the UI for replying inside the bubble. I don't know where to start from. Could you explain the functionality if you don't have any code?
Many thanks


Class "WhichBrowser\Parser" not found

hi,
i have installed ypu package, but after login, laravel show this error:
errorlog

[12:56:38] LOG.error: Class "WhichBrowser\Parser" not found {"userId":1,"exception":{}}

sorry my error :(