Creating an OpenStreetMap project.

Hello, I am a student and need to create an OSM-project for my firm. I am new to this kind of software development and I am completely lost right now and dont know where else I can ask for help, if not in this place.
My goal is to create a navigation App for the factory premises of my firm, with an interface of my own.
I followed all the instructions on building OSMdroid in Android Studio and I think I succeeded. The osmdroid-master project is imported into Android Studio and the Gradle Build finished successfully.
Yet I am confused about whether I need to create a new project for my app or build it on top of the osmdroid-master project.
If I need to build on top of it, then I am not sure how to follow the next steps of your instructions. Because in the osmdroid-master project are many different folders and each of them has a manifext.xml and a layout folder. I dont know which one to alter.
If I need to create an own project. I dont know how to establish any connection between my new project and the osmdroid-master project.
I also tested the osmdroid-master in the emulator and no matter which option I choose. As soon as it appears to load the map, the screen stays black. After a while it say "Open Map isnt responding. Do you want to close it?". Everything else in the emulator runs just fine, for example google maps.
I really hope you can help me. My future depends on it. If you need more information, if I can help you help me, just say the word. I am willing to do everything to get this working.

Most people import osmdroid as a dependency for their project. The emulator probably doesn't have an sdcard associated with it. We run integration tests with the emulator all the time. It works, as long as you have an sdcard mouted. Everything else is software development and android dev 101. Google is your friend as well as stack overflow

Does this mean I have to follow this tutorial? https://developer.android.com/studio/command-line/mksdcard.html
Would you be so kind to explain to me, why an sdcard is necessary to view the map?
I just tried to go the create-a-new-project-route. I already have a problem with this instruction:
If you use Gradle you have to add the following dependency to your build.gradle file:
dependencies {
compile 'org.osmdroid:osmdroid-android:5.1@aar'
//Note as of 5.0, this is no longer needed! compile 'org.slf4j:slf4j-simple:1.6.1'
}
As of 5.0 of what? Anyway i tried this and after this i tried compile 'org.slf4j:slf4j-simple:1.6.1.
Both were failed to resolve.

These are the settings of my emulator. It seems like there is already an sdcard associated with it.

try adding mavenCentral() to the root build.gradle file under "allProjects"
5.0 of osmdroid.
It should work as long as there's an sdcard what API level is the emulator? Local storage is needed for the tile cache

From https://github.com/osmdroid/osmdroid/blob/master/.travis.yml
we create the avd using the following command
android create avd --force -n test3 -t 3 --abi armeabi-v7a--sdcard 200M
emulator -memory 1536 -avd test$ANDROID_TARGET -no-skin -no-audio -no-window

you may have to adjust the -t parameter, depends on what bits of the android sdk is installed. On travis, this is API15

Thank you for your answer, I will try this in the evening or tomorrow and tell you if it worked.

I did what you asked:
allprojects {
    repositories {
        jcenter()
        mavenCentral()
    }
}

Unfortunately "compile 'org.slf4j:slf4j-simple:1.6.1'" still fails to resolve.
The API Level of my emulator is 23. When you talk about local storage, do you mean the sdcard? Or the internal storage settings inside my picture?
I am not sure how to use that code exactly. Because in Android  Studio i dont start the emulator with my code, but with a click.

you don't need slf4j
yes local storage = sdcard. it must be present
when the app starts, did you grant it permission?
that code is ran from the command line, android sdk directory or thereabouts

the map on the emulator works now. I did not get your code to run, but as stated in the code I increased the sdcard memory from 100mb to 200mb. This did the trick. Thank you.
The other problem still remains. If I dont need slf4j, what do I need? Because compile 'org.osmdroid:osmdroid-android:5.1@aar' does not work either.
I followed your tutorial. I altered the manifest, the main_activity and the layout. When i try to see the world map, I get this message:

The following classes could not be found:
- org.osmdroid.views.MapView (Change to android.support.v7.widget.ScrollingTabContainerView.TabView, Fix Build Path, Create Class)

I guess because of the missing dependency. So what do I need to do?

compile 'org.osmdroid:osmdroid-android:5.2@aar'

should work, as well as 5.1
try this one
compile 'org.osmdroid:osmdroid-android:5.2:debug@aar'

or this
compile 'org.osmdroid:osmdroid-android:5.2:release@aar'

Unfortunately all of them failed to resolve. Where exactly would it get the dependency from? I just want to know if the osmdroid-master project has anything to do with this. But so far, I dont see a connection. What I understood is, that the dependency is download from the internet from the maven repository.
I also have an error in the main_activity. It cannot resolve the symbol "activity". I guess this is not related to my problem, right?

It resolves through the maven/nexus repository, called maven central. Does
this machine have internet access?
On Sun, Aug 21, 2016 at 9:18 AM, TheGlave<EMAIL_ADDRESS>wrote:

Unfortunately all of them failed to resolve. Where exactly would it get
the dependency from? I just want to know if the osmdroid-master project has
anything to do with this. But so far, I dont see a connection. What I
understood is, that the dependency is download from the internet from the
maven repository.
I also have an error in the main_activity. It cannot resolve the symbol
"activity". I guess this is not related to my problem, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/378#issuecomment-241256838,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4kGWZzw6S-XOe2Uy87otB-XVHXX-hEks5qiFA9gaJpZM4JpDfg
.

My computer has internet access, yes.
After i tried to build the error message changed:
Error:A problem occurred configuring project ':app'.

Could not find osmdroid-android-release.aar (org.osmdroid:osmdroid-android:5.2).
Searched in the following locations:
https://repo1.maven.org/maven2/org/osmdroid/osmdroid-android/5.2/osmdroid-android-5.2-release.aar

Drop the 'release' part

Even though I already tried that, it works now. Thank you.
But if I try to see the world map now, via the design window of the "activity_main.xml file" it tells me it has rendering problems:

java.lang.NoClassDefFoundError: Could not initialize class org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants
at org.osmdroid.tileprovider.MapTileProviderArray.getMapTile(MapTileProviderArray.java:93)
at org.osmdroid.views.overlay.TilesOverlay$1.handleTile(TilesOverlay.java:182)
at org.osmdroid.util.TileLooper.loop(TileLooper.java:34)
at org.osmdroid.views.overlay.TilesOverlay.drawTiles(TilesOverlay.java:161)
at org.osmdroid.views.overlay.TilesOverlay.draw(TilesOverlay.java:148)
at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:107)
at org.osmdroid.views.MapView.dispatchDraw(MapView.java:996)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:17070)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:387)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:498)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:434)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:520)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:508)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:508)
at com.android.tools.idea.rendering.RenderTask.access$600(RenderTask.java:75)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:620)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:617)
at com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:371)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:617)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:639)
at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$7.run(AndroidDesignerEditorPanel.java:519)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
at com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

This could be a permissions thing. Ensure that your app has been granted write external storage permission

If I am not mistaken, I would do that in the manifest, which looks like this:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.x.x">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

    </application>

    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

</manifest>

Looks like it has the permission.

The interesting thing is, as soon as I refresh the design window, the error message changes to:

java.lang.NullPointerException
at android.os.storage.StorageManager.getVolumeList(StorageManager.java:922)
at android.os.Environment$UserEnvironment.getExternalDirs(Environment.java:87)
at android.os.Environment.getExternalStorageDirectory(Environment.java:404)
at org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConstants.(OpenStreetMapTileProviderConstants.java:24)
at org.osmdroid.tileprovider.MapTileProviderArray.getMapTile(MapTileProviderArray.java:93)
at org.osmdroid.views.overlay.TilesOverlay$1.handleTile(TilesOverlay.java:182)
at org.osmdroid.util.TileLooper.loop(TileLooper.java:34)
at org.osmdroid.views.overlay.TilesOverlay.drawTiles(TilesOverlay.java:161)
at org.osmdroid.views.overlay.TilesOverlay.draw(TilesOverlay.java:148)
at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(DefaultOverlayManager.java:107)
at org.osmdroid.views.MapView.dispatchDraw(MapView.java:996)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:17070)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:387)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(RenderSessionImpl.java:498)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:434)
at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:520)
at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:508)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:508)
at com.android.tools.idea.rendering.RenderTask.access$600(RenderTask.java:75)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:620)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:617)
at com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:371)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:617)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:639)
at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$7.run(AndroidDesignerEditorPanel.java:519)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
at com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

If I open another file and then go back to the design window of activity_main.xml, the error message I posted above is back. If I refresh again, it is this one again.

Since it's API23, it's more than just the manifest. You have to prompt the
user for explicit permission, or you can cheat a little bit. Bring up
Settings > Applications. find your all, then tap on permissions and check
the boxes. Then restart the app
On Sun, Aug 21, 2016 at 10:44 AM, TheGlave<EMAIL_ADDRESS>wrote:

The interesting thing is, as soon as I refresh the design window, the
error message changes to:
java.lang.NullPointerException
at android.os.storage.StorageManager.getVolumeList(
StorageManager.java:922)
at android.os.Environment$UserEnvironment.getExternalDirs(Environment.
java:87)
at android.os.Environment.getExternalStorageDirectory(
Environment.java:404)
at org.osmdroid.tileprovider.constants.OpenStreetMapTileProviderConst
ants.(OpenStreetMapTileProviderConstants.java:24)
at org.osmdroid.tileprovider.MapTileProviderArray.getMapTile(
MapTileProviderArray.java:93)
at org.osmdroid.views.overlay.TilesOverlay$1.handleTile(
TilesOverlay.java:182)
at org.osmdroid.util.TileLooper.loop(TileLooper.java:34)
at org.osmdroid.views.overlay.TilesOverlay.drawTiles(
TilesOverlay.java:161)
at org.osmdroid.views.overlay.TilesOverlay.draw(TilesOverlay.java:148)
at org.osmdroid.views.overlay.DefaultOverlayManager.onDraw(
DefaultOverlayManager.java:107)
at org.osmdroid.views.MapView.dispatchDraw(MapView.java:996)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:16973)
at android.view.ViewGroup.drawChild_Original(ViewGroup.java:3764)
at android.view.ViewGroup_Delegate.drawChild(ViewGroup_Delegate.java:61)
at android.view.ViewGroup.drawChild(ViewGroup.java:3764)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3550)
at android.view.View.draw(View.java:17070)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(
RenderSessionImpl.java:387)
at com.android.layoutlib.bridge.impl.RenderSessionImpl.render(
RenderSessionImpl.java:498)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:434)
at com.android.ide.common.rendering.LayoutLibrary.
createSession(LayoutLibrary.java:350)
at com.android.tools.idea.rendering.RenderTask$2.
compute(RenderTask.java:520)
at com.android.tools.idea.rendering.RenderTask$2.
compute(RenderTask.java:508)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(
ApplicationImpl.java:967)
at com.android.tools.idea.rendering.RenderTask.createRenderSession(
RenderTask.java:508)
at com.android.tools.idea.rendering.RenderTask.access$
600(RenderTask.java:75)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:620)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:617)
at com.android.tools.idea.rendering.RenderService.
runRenderAction(RenderService.java:371)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:617)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:639)
at com.intellij.android.designer.designSurface.
AndroidDesignerEditorPanel$7.run(AndroidDesignerEditorPanel.java:519)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(
MergingUpdateQueue.java:337)
at com.intellij.util.ui.update.MergingUpdateQueue.execute(
MergingUpdateQueue.java:327)
at com.intellij.util.ui.update.MergingUpdateQueue$3.run(
MergingUpdateQueue.java:271)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(
MergingUpdateQueue.java:286)
at com.intellij.util.ui.update.MergingUpdateQueue.flush(
MergingUpdateQueue.java:244)
at com.intellij.util.ui.update.MergingUpdateQueue.run(
MergingUpdateQueue.java:234)
at com.intellij.util.concurrency.QueueProcessor.runSafely(
QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
If I open another file and then go back to the design window of
activity_main.xml, the error message I posted above is back. If I refresh
again, it is this one again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/378#issuecomment-241261674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4kGQj0zFcipRqs76UPkk9SjcnEXaoUks5qiGQ9gaJpZM4JpDfg
.

Thank you. This actually worked! So what I need to do now is to program a prompt window, where I ask the user for explicit permission for location and storage, right? And then im good to go?

Anyways, i really appreciate your help. You have no idea how much this is worth to me!

Check out the sample application "OpenStreetMapViewer" in the source code,
it has an example. The other way to cheat would be to change your target
sdk to 22
On Sun, Aug 21, 2016 at 12:58 PM, TheGlave<EMAIL_ADDRESS>wrote:

Anyways, i really appreciate your help. You have no idea how much this is
worth to me!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/378#issuecomment-241268752,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB4kGcYSDyWcxLFeGVxuudURoEq_vRdXks5qiIOpgaJpZM4JpDfg
.

I managed to implement the permission request. Unfortunately i cant find the String: "Allow MyApp to access this device's location?" I am not very experienced with Java, but i can say that it is not directly in the main_activity.class.
I would like to translate it into german.

Also I would like to know what is meant by: "//important! set your user agent to prevent getting banned from the osm servers"
How do I set it?

I just changed the language of the Android OS to german and realized that the string, doesnt come from the app, but the OS. So it is german now. My problem with not being able to render the layout file in the preview screen of the Android Studio remains though.

strings.xml  its an android thing
user agent, the next line of code sets the user agent. see OsmApplication
preview screen is a nice to have, i think osmdroid just renders a grey grid in the preview screen. Not much more we can do about it

The problem is, that my preview screen doesnt work at all on the activity_main.xml. I could live with it only rendering a grey grid, as long as i see the rest of the interface. I posted the 2 errors i get in the preview screen above.

Trust me, I googled a lot about the problem. Solutions like changing the app theme or the API didnt work for me.

Forgive me, since I am new here I dont know how to use that information. How do I implement your fix, since my problem is not with the osmdroid project, but with my own? Do I need to change dependencies?

It will be on the next release, which should be any day now. Or you can download osmdroid source on the master branch. Execute the following
gradlew install
then you reference version 5.3-SNAPSHOT in your personal project

you can also post to stack exchange or stack overflow for more support from the large community


In servlet, how is the session concept used?

Proposed title of article
In servlet, how is the session concept used?
Proposed article introduction
A session is a way of keeping track of a client's activity across multiple requests. It simply implies that each time a user queries the server at a specific interval of time, the server interprets the request as a new request. As a result, we must keep track of a user's current status in order to recognize them.
For session techniques, the Servlet application employs four distinct approaches, namely: HttpSession, Cookies, Hidden form fields, and URL Rewriting. In this article, we will only discuss HTTPSession.
Key takeaways

The HttpSession and what it does?.
HttpSession object.
HttpSession interface methods.
HttpSession Example.

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
N/A

Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

@Chaun864
Sounds like a helpful topic - lets please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved


Cannot use --goto parameter with paths that include a drive letter with a colon :

VSCode Version: 1.5.1 (07d663dc1bd848161edf4cd4ce30cce410d3d877)
OS Version: Windows 10 14393.0.160715-1616

Steps to Reproduce:

Open a file with vscode, adding the --goto or -g parameter to navigate to a specific line number. Be sure to include the drive letter with a colon (:) in the path specified

Result: Failure to open file and an error:
C:\> code --goto C:\TestFile.txt:12
Arguments in `--goto` mode should be in the format of `FILE(:LINE(:COLUMN))`.

Whereas using a relative path that doesn't include the colon:
C:\> code --goto .\TestFile.txt:12
is successful in opening the file.
It looks like commit c2da84de3ae965b4d3b093521c5c37eee94dcd8d caused the issue with a bad regular expression:
if (args.goto) {
    args._.forEach(arg => assert(/^[^:]+(:\d+){0,2}$/.test(arg), localize('gotoValidation', "Arguments in `--goto` mode should be in the format of `FILE(:LINE(:COLUMN))`.")));
}

@joaomoreno I did not add the validation code there

Oh, sorry, didn't read the issue until the end.

Workaround: use relative paths for now. Or use the next build of insiders.

@joaomoreno thanks 👍

@joaomoreno I still have the issue on 1.11.0, but the funny things is that it only happens with cmd.exe and not PowerShell or the Git Bash...


Extension pty terminals should respect dimension overrides

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=142815&view=logs&j=4d2898ab-dfbe-557e-92e7-aaac158fdd2f&t=dccbe8b6-2cf2-56ce-ca99-720e7791a9c0&l=423
1) vscode API - terminal
       Terminal
         Extension pty terminals
           should respect dimension overrides:
     Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/__w/1/s/extensions/vscode-api-tests/out/singlefolder-tests/terminal.test.js)
      at listOnTimeout (internal/timers.js:554:17)
      at processTimers (internal/timers.js:497:7)

Failed on remote electron integration tests/Linux.

https://monacotools.visualstudio.com/DefaultCollection/Monaco/_build/results?buildId=143229&view=logs&j=3792f238-f35e-5f82-0dbc-272432d9a0fb&s=a56e7651-4213-56af-9488-c25fe636c10c&t=88928627-a399-54e7-2f20-a03c2cf00dcd&l=430

Failed in remote again, will disable for remote only and need to repro locally.

Just ran 15 times locally on mac and it passed all of them

Tried many more times and didn't happen, also tried injecting latency into exthost <-> renderer comms and that didn't make a difference. Pushing a tweak to the test which could be why it failed and also some logs which will help diagnose incase it doesn't

Saw it again yesterday 😭
https://github.com/microsoft/vscode/runs/4243708929?check_suite_focus=true
This time it failed in local as well, will disable again.
Extra logs:
      Extension pty terminals
        √ should fire onDidOpenTerminal and onDidCloseTerminal
listening for window.onDidChangeTerminalDimensions, current dimensions = undefinedxundefined
rejected promise not handled within 1 second: undefined
        1) should respect dimension overrides

The above logs show that this is actually a bug, no onDidChangeTerminalDimensions events are being fired sometimes which means the terminal likely remains undefined x undefined as well.

Struggling to figure this out, will keep the test skipped and defer this issue as it's not that important of an issue.


[1.12.2] Folders aren't generating, directory of images nowhere to be found.

I'm using curseforge, and I can't find any of the places the config is pointing to, there's no resources folder or ambient music folder generating or anything.

You need to have Resource Loader downloaded too...

You need to have Resource Loader downloaded too...


[Issue 6887][pulsar-client-tools] ttlDurationDefaultInSeconds not applying

Fixes #6887
Motivation
The ttl for namespaces should be retrieved from broker's configuration if it is not configured at namespace policies. However, the current code only returns the value stored in namespace policies directly without judging if it is configured or not.
Modifications
Added a condition to test if ttl is configured at namespace policies. If not, retrieve value stored in broker's configuration and return it as output.

/pulsarbot run-failure-checks

I don't think this is a valid fix. It fixes only the cli, creating a namespace using API will still have the issue.

In the broker in

@codelipenghui  @Omega-Ariston - there is actually the following code in the broker. So it seems that it does take the default TTL into consideration at the actual expiry check. So the bug is kind of more cosmetic than anything else.
Do you think that maybe get-namespace-ttl API should return the effective TTL?
@Override
public void checkMessageExpiry() {
    TopicName name = TopicName.get(topic);
    Policies policies;
    try {
        policies = brokerService.pulsar().getConfigurationCache().policiesCache()
                .get(AdminResource.path(POLICIES, name.getNamespace()))
                .orElseThrow(() -> new KeeperException.NoNodeException());
        int defaultTTL = brokerService.pulsar().getConfiguration().getTtlDurationDefaultInSeconds();
        int message_ttl_in_seconds = (policies.message_ttl_in_seconds <= 0 && defaultTTL > 0) ? defaultTTL
                : policies.message_ttl_in_seconds;
        if (message_ttl_in_seconds != 0) {
            subscriptions.forEach((subName, sub) -> sub.expireMessages(message_ttl_in_seconds));
            replicators.forEach((region, replicator) -> ((PersistentReplicator)replicator).expireMessages(message_ttl_in_seconds));
        }
    } catch (Exception e) {
        if (log.isDebugEnabled()) {
            log.debug("[{}] Error getting policies", topic);
        }
    }
}

As I see it - it is actually a nice feature. You can changes the global default TTL and it immediately applies to all namespaces with default 0 TTL.
So probably just best to document it, and not make any code changes.

@Omega-Ariston, sorry, had a long day and didn't even notice that your fix is for the "cosmetic" issue.
One issue with the fix that I see is that after it you can't tell which namespaces have the default 0 TTL. So maybe the command should print both global default and the one set on the namespace.

@Omega-Ariston I think you can fix the mergeNamespaceWithDefaults method in the AdminResource class, we merge all namespace policy with the broker configuration here.

/pulsarbot run-failure-checks

@Omega-Ariston I think you can fix the mergeNamespaceWithDefaults method in the AdminResource class, we merge all namespace policy with the broker configuration here. And please add some unit tests for the change to avoid some other changes to break it.

Okay thx, working on it :)

As I see it - it is actually a nice feature. You can changes the global default TTL and it immediately applies to all namespaces with default 0 TTL.
So probably just best to document it, and not make any code changes.

Maybe returning the actual working TTL value is what we want here, as you said it's more like a cosmetic fix :D

@Omega-Ariston as Penghui mentioned, would you please help add a unit tests for this?

@Omega-Ariston as Penghui mentioned, would you please help add a unit tests for this?

Sorry for the delay, got some business these days...I have added a few lines in AdminApiTest.java to cover this issue. Not sure if I got them in the right place tho.

/pulsarbot run-failure-checks


Documentation should be improved by adding info about choosing controller specific attribute names

[Build] 16.1 fix3 01.12.2016
[Steps to reproduce]

As supplier define 2 custom customer attributes. One should be a password for AWS and one a password needed for using OpenStack. The supplier specifies the controller id for both passwords and the correct ID needed for the controller.
The supplier publishes 2 services, one OpenStack, one AWS to the marketplace.
The customer sees the 2 attribute names in the profile tab, but does not know which he needs to set.

[Expected result]
You can tell which attribute is the password for which controller.
[Observed result]
As a customer admin, you cannot tell which attribute is the password for which controller because the Supplier did not choose good names for the attributes. (the UI does not show the controller id, and should not do so)
[Details]
The online documentation should tell the supplier to use meaningful names for controller specific attributes, because the customer will not have information which attribute is controller specific. e.g.  "AWS password"

Added the corresponding information to the online help page (Adding a custom attribute).
Modified source file:
DocSources/en/help/tasks/createCustomUda.xml
@redmond2683 Could you please do the same for Japanese? Thank you.

Done for the Japanese documentation.

[Build] 16.1 fix4 verified


SQL RP install - PowerShell error - 1809

[Enter feedback here]
Please reference the forum post.
https://social.msdn.microsoft.com/Forums/en-US/bc1cac31-a668-4c78-8e42-18a5272eca92/sql-rp-install-powershell-error-1809?forum=AzureStack

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

ID: 31804a1d-4c4f-70e6-556c-66c533e9b3e3
Version Independent ID: 78f9ac38-1463-c263-2add-63d7dcaab0bc
Content: Using SQL databases on Azure Stack
Content Source: articles/azure-stack/azure-stack-sql-resource-provider-deploy.md
Service: azure-stack
GitHub Login: @jeffgilb
Microsoft Alias: jeffgilb

@rfsonders Thanks for the feedback. We are actively investigating and will get back to you soon.

I've replied to the forum thread with a workaround until the new SQL RP bits are released. No firm ETA yet, but soon.
#please-close

Hello Travis.
Let's keep this open until we have a solid workaround. Please reference the forum post.

Using the previous PowerShell version is the only workaround until the new RP is released.

@TravisCragg-MSFT , can you please re-assign this issue? There is no doc impact other than updated docs when the new RPs are released.

Using the previous PS did not solve. Per my previous post.

@jeffgilb this issue shows as assigned to me.
@rfsonders I am looking for an additional workaround.

Worth noting the MySQL RP also fails with the identical issue.
However, the App Service RP does complete successfully with 1809.

Test

Test

Hello.
Solved via the forum. The PS removal and reinstall was successful.
https://social.msdn.microsoft.com/Forums/en-US/bc1cac31-a668-4c78-8e42-18a5272eca92/sql-rp-install-powershell-error-1809?forum=AzureStack


Bug during Bone Voyage quest.

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
The bug will not allow you to steer the boat at the end of the Bone Voyage quest.
To Reproduce
Steps to reproduce the behavior:

Start the final section of the quest where you steer the boat towards Fossil Island.

Expected behavior
When you try to click the left or right arrows to steer, its as if it is not registering your clicks at all. The boat has no response to your course corrections.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Windows 10
RuneLite download <IP_ADDRESS>
Launcher version: 2.1.6

Additional context

I've completed this quest using RuneLite multiple times and never encountered this, or other issues with the quest. Does this still happen with all hub plugins disabled?

I'm not sure. I know when I tried the first time, nothing registered except the sail speed, but I thought it was just me. Second time it did the same thing and I started getting skeptical. Third time I closed out of Runelite and logged into the official Runescape launcher and completed it, by doing exactly the same thing, the first time with no issues whatsoever. So I'm really not sure what happened with that.

Using the instructions at the top of this wiki page, can you please upload your client log?

client.log
Not sure if I did this right, if not just lemme know. Thanks for the help!

I had a similar issue in the past while using OSBuddy during this quest, which was caused by their OpenGL/GPU plugin. Not sure if that's also what's causing this issue for RuneLite, but I thought it was worth mentioning.

Since this issue is lacking information and has not been updated in some time, I am closing it.


Changes wording to make Shared Zap creator more clear

As per @benpeter's suggestion
@jdeal -- is this an acceptable text change? (Are there any places where it would actually be incorrect?)

Funny enough @stevemolitor is working on making this an element/helper we can override. Gonna close for now!
Also in general - the Formatic repo is not the place to inject Zapier specific phrasing.


[Bug]: importMap option on renderTo{Pipeable|Readable}Stream is undocumented

Summary
importMap option is not documented on either page for renderToPipeableStream nor renderToReadableStream
Page
https://react.dev/reference/react-dom/server/renderToReadableStream
Details
After spending a decent amount of time trying to figure out how to inject an importMap when server rendering within React, I finally stumbled across the fixtures which showcase using the importMap option. I have found no reference to this option on the current docs.

@TUNISIA-user - yea thats the API, however I haven't found it documented anywhere


Added init_style redhat for compatibility with Amazon Linux: as per h…

prometheus won't install as it doesn't recognise "redhat" as an init_style

requesting merge to "tweaked" branch :)


instagram call checkpoint for this action

I can't log in in my instagram... it says "instagram call checkpoint for this action" what can I do?

@mavridism do you have 2fa enabled?

Fa?


Widget Disable Parameter

I am using this switch in one of the main sections of my app and sometimes, in some occasions, it would be very helpful to be able to disable the flutter_switch until some other parameters or inputs get ready or became available.
It looks like there is no property available to disable/enable the flutter_switch widget at the moment and I think it would be great to be able to do so.
Thanks for your great job.

Following.. I'm facing this problem too.

Hi @prooshani and @muhib349 , I opened a pull request for this. Maybe you can check it out and give some thoughts about it. I'll merge it tomorrow when no more additional recommendation is given. Thank you.


bug

Extension Name: debug-auto-launch
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.15063
VSCode version: 1.28.0

We have written the needed data into your clipboard. Please paste:

duplicate of #60269


ping-v10.1 room appears to cause minor race conditions

ss_sync  | 22:00:03 WRN parseRoomsResponse: prepending state events to timeline after gappy poll prependStateEvents=65 room_id=!ping-v10.1:maunium.net
ss_sync  | 22:00:03 WRN Accumulator.filterAndParseTimelineEvents: seen the same event ID twice, ignoring event_id=$Y3-zTlg4P3O_8kR0UxEZq3eKJ6DUno6rKmLqE_iMRek room_id=!ping-v10.1:maunium.net

This is a problem with the upstream homeserver sending us the same event more than once in the timeline.
I would suspect Synapse is doing something silly:

https://github.com/matrix-org/synapse/issues/1995
https://github.com/matrix-org/synapse/issues/9768
https://github.com/matrix-org/synapse/issues/11447
https://github.com/matrix-org/synapse/issues/14539


Enable multiple Authentication plugins

Summary
We are trying to enable both Key authentication for trusted clients and oauth2 for end users. I am not able to configure authentication plugin for a consumer. May be this is a restriction but it would be nice to have both enabled and authenticate depending on the client.
Steps To Reproduce
http post :8001/apis/HelloWorld/plugins name=oauth2 config.enable_authorization_code=true config.scopes=read consumer_id=
Getting the error
"message": "No consumer can be configured for that plugin"
Additional Details & Logs

Kong version 0.9.6
Operating System OS X 10.11.6 (Docker)

have you seen https://github.com/Mashape/kong/pull/1666 ?

@rajskhanna ping

Thanks Tieske. So it looks like if I want to have 2 different type of authentication of an API its not possible Excluding the anonymous access. So as I see it we should be defining 2 paths to accomplish this. right?

Well you cannot add an auth plugin for a specific consumer, as the auth plugin needs to run before you even know which consumer the request is coming from.
An option could be to write a custom plugin that does nothing but preventing anonymous access. Configure it to run after the other plugins and block all unauthenticated requests. Could that work for you?

@rajskhanna ping

closing due to lack of response

 anonymous users / multiple-auth

It would work for me if this is still a thing @Tieske

Just for completeness sake, kong solved this with: https://docs.konghq.com/hub/kong-inc/request-termination/
In case anyone else bumps into this thread.

https://docs.konghq.com/0.10.x/auth/
See Multiple Authentication

Just for completeness sake, kong solved this with: https://docs.konghq.com/hub/kong-inc/request-termination/
In case anyone else bumps into this thread.


Allow transition between placeholder and loaded image to have an animation

Images fetched from the network can take significant time to load.
Unfortunately, when a placeholder is defined and the remote asset is loaded we see an immediate switch (pop-in).
Could we provide animation for the transition or have a crossfade (with user-defined duration) between the placeholder and the final image?
The original flutter_svg already had this question posted.
P.S. Thank you for the package. It is really useful

I'm open to this but doubt I will have time to work on it myself anytime soon.


Fix the oopsy error when you double edit a to-do item without refreshing the page

How to reproduce:

Edit any to-do item
Press enter
Edit the same to-do item again
Press Enter

oopsy error alert is shown
Expected Outcome:
The user should be able to edit the same to-do item multiple times.

Done


Optimizing codes !

Status

[ ] Ready
[x] In development
[ ] Hold

Description

Testing
Tested on Unity 2017.4.0f1
Concerns, notes, etc.
It contains what i have cleaned in the code.
Related issues
Related PRs

I think this can be pulled into the master branch without any issue, although I'm wondering what we're going to do after the develop branch is completely out of sync with the master one. Any thoughts?

We can sync the develop branch with the master then do all pull request on the develop branch before to send the last estate version in the master

The master is basically the stable version right now. If you want to develop more on the game, commit to the develop branch. Once we reach another stable point on that one, we'll swap it over to the master branch.


Block References are not preserved while exporting

In Logseq, once the database has been imported, you still don't get working block references and instead get red highlights suggesting that the original point of references doesn't exist. If you find the corresponding block that was supposed to be referenced, you will notice that it has a different UUID.
Logseq 0.028 and Athens Beta 89 on an M1 Mac

Hm, that's odd. I specifically tested that case while initially writing the original version, and it worked fine.[1]
Can you supply a minimal Athens DB that shows the problem?
[1] I did accidentally preserve the output directory and was overwriting it repeatedly, which might have introduced a subtle bug.

Looking through my DB, i noticed that some of the references are preserved and looking closer, I noticed some edge cases that are prominent throughout my DB and narrowed it down to 2 issues.

When a block is referenced by more than 1 block
Some weird hierarchical edge case which I think should be self explanatory in the DB I'm attaching. It's a sample DB which once working fine, should fix the export for myself and many others.

There is a page in the DB called Example, the default welcome page could also be a good testing point.
Test DB Example.zip


changed input text color

changed the input text color to black so that it is visible
**Issue #27 **
Closes #27

!bounty 10


Build and upload macOS binaries for releases

I'm a GitHub-Actions novice, so I'm open to suggestions if this isn't the right way to solve this problem.
Closes #1344.
Status: Pending resolution to #1404.

Thanks!
We also already have set up a homebrew repo, but it needs to have some triggering enabled so that we can automatically build a new release there:
https://github.com/chipsalliance/homebrew-verible
... however, we need some owner who can help automating things; would you like to have a look @tymcauley ?

the CI now ran, but it had some trouble in running the MacOS build, can you have a look ?

Codecov Report

Merging #1345 (3899397) into master (99f3203) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1345   +/-   ##
=======================================
  Coverage   92.90%   92.90%
=======================================
  Files         340      340
  Lines       23832    23832
=======================================
  Hits        22141    22141
  Misses       1691     1691

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

The MacOS build is still failing BTW, there might be more refining needed.

Sorry for the delay on this, this still needs some work to get it functional, hopefully I'll have time to work on it in the near future.

Looks like the macOS build is failing now at the install step, most likely due to the issue raised here: https://github.com/chipsalliance/verible/issues/1404#issuecomment-1400726752

Any news on this? Would be awesome to have macos binaries

Any news on this? Would be awesome to have macos binaries

I think this won't work until #1404 is resolved.

Until someone with access to a Mac has solved #1404 and sent a pull request, note also that there is a brew package available:
https://github.com/chipsalliance/homebrew-verible

If the :install is not working yet due to #1404, this could probably be circumvented by manually installing the binaries.
That is also how the homebrew formula avoids that problem:
https://github.com/chipsalliance/homebrew-verible/blob/46664b28ed8f0dfe2d709faf45691cf42d9628b6/Formula/verible.rb#L34-L43

I've now manually installed the binaries and packaged up things.


✨ Emphasis API for Highlighting Text Ranges

Description
This PR introduces the Emphasis API to highlight specific text ranges within a TextView. This functionality can be used in various scenarios, such as highlighting search results, emphasizing code symbols, or highlighting the code symbol that the mouse is hovering over.
This PR only introduces the Emphasis API and does not include any search functionality or text-range validation (e.g., checking if an already emphasized range has changed).

[!NOTE]
To test the UI changes, you will likely need to use CESE and add CETE as a local package.
To experiment with the highlighting, add the following snippet to TextView+KeyDown at line 13 and change the ranges accordingly:

        let rangesToHighlight = [
            NSRange(location: 562, length: 7),
            NSRange(location: 651, length: 7),
            NSRange(location: 724, length: 7),
        ]

        if event.keyCode == kVK_F1 {
            emphasizeAPI?.emphasizeRanges(ranges: rangesToHighlight, activeIndex: 0)
            return
        }

        if event.keyCode == kVK_F2 {
            emphasizeAPI?.highlightNext()
            return
        }
        if event.keyCode == kVK_F3 {
            emphasizeAPI?.highlightPrevious()
            return
        }
        if event.keyCode == kVK_F4 {
            emphasizeAPI?.removeEmphasizeLayers()
            return
        }

Related Issues

closes #61
#1

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] The issues this PR addresses are related to each other
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] My changes are all related to the related issue above
[x] I documented my code

Screenshots

https://github.com/user-attachments/assets/30327976-f2cc-42d8-94a4-ee8f4d6e076c
Multiline:

Excellent work @tom-ludwig! It looks really good.  Instead of scaling it, it seems to be translated from below and to the right. Can we fix this?

@austincondiff Yeah, it’s not what Xcode is using, but honestly, I’m not really a fan of Xcode’s approach. I’ll experiment with the animation to come up with something better.

Xcodes approach is a macOS standard found in many other apps. I’d like to first start with it and if we want to, later on adjust as needed.


Make company reference code visible from admin

Removes editable=False from the model field, as that was hiding it in admin. Instead it is added to readonly_fields in admin.

Codecov Report

Merging #650 into develop will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           develop     #650   +/-   ##
========================================
  Coverage    96.47%   96.47%
========================================
  Files          129      129
  Lines         3920     3920
  Branches       337      337
========================================
  Hits          3782     3782
  Misses          97       97
  Partials        41       41

Impacted Files
Coverage Δ

datahub/company/admin.py
87.09% <ø> (ø)
:arrow_up:

datahub/company/models/company.py
97.11% <100%> (ø)
:arrow_up:

datahub/search/company/serializers.py
98.96% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


update layers and boundaries COUNTRY=kyrgyzstan

This PR makes updates to the initial configuration for Kyrgyzstan. New admin boundaries have been provided by the government counterpart, and all available layers from WFP's ODC instance have been configured

@wadhwamatic I pushed a fix but the reason it was not working is that the file /kyrgyzstan/District_KRYG.json is corrupted and the last data input only has null values.

Great, thanks a lot @ericboucher. FYI - I didn't see any errors prior to adding an admin-level layer. I'm wondering if we should add some validation to the boundary file and write issues to the console to catch this earlier.


Update ToC, rename to Articles and Press

See https://github.com/ipfs/awesome-ipfs/pull/56#discussion_r79292964

Apps have to be different to Single page Webapps? Should be able to group them together I think

They are grouped together; single page webapps is a subcategory.

They are grouped together; single page webapps is a subcategory.

Yeah... Do they have to though? Make something that makes sense would be "Desktop Apps" / "CLI Apps" and "Web Apps". Just don't think it makes sense to divide web apps based on if they are SPAs or not...

It may not. Do we think we should divide the other ones up, or just merge it in?

No, I think for now we don't have to divide it, since there is not much content and would probably be easier when we have more. For now I think this is fine :+1:


Cannot transfer to vue code

The Article mention can screenshot to vue, but I can't choose on the

See #175


Moving on long Dropdown lists using keyboard has a glitch due to background transition

This is a minor thing but I think is worth noting. If you have a long Dropdown list built using Select and MenuItem , and you use your arrow keys to navigate on the list, it's hard to quickly follow the current (hovered) item, due to the background transition delay. i.e. because it takes a fraction of a second for the gray background to appear, user needs to hit and release arrow keys repeatedly to see where she is going. If the background appears right away, user can hold down the arrow keys (instead of hitting repeatedly) and get to his desired item faster.

Your issue has been closed because it does not conform to our issue requirements.

Got it. I rewrote it here: https://github.com/mui-org/material-ui/issues/10847


Support native fonts by using AppCompatTextView

Simply replacing all the instances of TextView with AppCompatTextView allows you to set android:fontFamily in a TextApearance style and it will be correctly applied.

Closing in favor of #782


CSS inactive styles always after initial load

After initially loading in Firefox the inactive styles show up on subsequent loads of the page even though the fonts are all working. Resetting Firefox results in active being set correctly again.
In the same situation, IE11 seems to always show inactive for the fonts.
I am using custom fonts in my loaded CSS as such:
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.5.10/webfont.js"></script>
<script>
  WebFont.load({
    custom: { families: ['DIN', 'Lato', 'FontAwesome', 'MyIconFont'] },
    testStrings: {
        'FontAwesome': '\f015',
        'MyIconFont': '\f001'
    }
  });
</script>

This seems to be a timeout, basically it has already loaded the font, but webfontloader isn't detecting this?

I'm experiencing the same issue, the only difference being that I'm using Google Fonts.
It works fine in Chrome and Opera, but Firefox fails fairly often (probably when it has cached the font?)
It takes three seconds before Firefox adds the class ´wf-inactive´ to the HTML element, suggesting it is a timeout as you suggested.

I'm experiencing the same issue under IE9

It might be because of the testString - that's the issue I had (and why I opened #270), I could only make it work if the testString had a certain number of characters.


Unable to edit c:\windows\system32\drivers\etc\hosts

I get a permission denied in the log.

If i put in the manifest for it to requireAdministrator then it works but it requires UAC every time. Not ideal but it works as a temporary work around

This has been temporarily solved by adding a manifest that will force nanobox to run as admin on windows. But would re open if someone finds a better way


Bottom toolbar dropdown menu expanding above the keyboard

Problem
When the user selects some text and wants to make it for example Heading 2 style, the dropdown menu expands behind the opened keyboard. This is not much usable, because the user can not select the options which are behind the keyboard.
Solution
It would be better if the whole dropdown menu would expand above the keyboard and if there is not enough space it would be a scrollable dropdown list or something like that.

Thanks for this report, I'm working on a fix. I'm not super experienced with Flutter layouts so any help would be appreciated!
It seems the scaffold doesn't resize itself when the keyboard is up so the dropdown thinks it has the whole screen to display the menu when actually half the screen is taken by the keyboard.

Quick update: With a custom implementation and some work with rectangles and sizing I can get this result:

Not the best but it is progress.

Quick update: With a custom implementation and some work with rectangles and sizing I can get this result:

Not the best but it is progress.

This looks promising.

It looks good now when keyboard is down but when keyboard is up the menu isn't shifted up...

Down
Up

I think that it would be better to make the menu scrollable and in smaller height for usability purposes or make it horizontal like the toolbar with h1 h2 ... next to each other.

it would be better to make the menu scrollable and in smaller height for usability purposes

Yes I agree, this is the end goal, first I have to make sure the menu shifts properly when the keyboard is up otherwise the original problem will not be solved ;)

make it horizontal like the toolbar with h1 h2 ... next to each other, like two-step toolbar.

I like this idea also but then I have to make sure the webview editor area shifts up so the two-step is visible, and this transition won't be very smooth because it is not synced with Flutter (we have to use JavaScript to reduce editor height). That's why I am trying to focus on the first method you suggested so the UX is good.
Apologies it is taking a long time, I haven't had much time to work on this. Hopefully by the weekend I will have a good solution for this problem. In the meantime you can use ToolbarPosition.aboveEditor as a workaround.

I think I've gotten it to a satisfactory state. Let me know your thoughts - if you have any further ideas I can look into them before pushing the code to master. (If not then still please respond so I can get the "OK" to push this code and release 2.1.0) :)
Reversed.Dropdown.mp4

This is the solution I wanted. You can push to master and please make sure that this solution is applied to all dropdown menus in the toolbar. Thanks for your work, I appreciate it.

@tneotia  Great to see the issue has been resolved.
here I have something similar with this issue is, when inserting link of any files from the editor toolbar options
https://user-images.githubusercontent.com/59816309/117924870-12bc9a00-b314-11eb-9816-0713f9e9f76b.mp4

Please file a separate issue and I will take a look, thanks :)


[Bug] Mobile menu remains open on window resize

Description of the Bug
On desktop, the mobile menu remains open if even the widow width has increased.
Reproduction Steps

Open the home page and make the windows size small to match mobile.
Click on the mobile menu button
Resize window to be bigger/fullscreen and notice that the mobile menu doesn't automatically close.

Expected Behaviour
The mobile menu should automatically close when the window width increases.
OS
macOS
Browser
Safari
Device
No response
Additional Notes
No response

Resolved by #48


[fix][test] Disable invalid test BrokerServiceTest#testBrokerStatsTopicLoadFailed

Fixes #20492
Motivation
The test BrokerServiceTest#testBrokerStatsTopicLoadFailed introduced in #19236 is invalid.

It modifies the current shared state and that causes other tests to fail.
The test uses Awaitility with a 2 minute timeout. That is too long for unit tests.

Modifications

disable the test until it is fixed

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

/pulsarbot rerun-failure-checks

I suggest we either:

Add a comment to the issue so that developers know where to find information on work for re-enable it (it can achieve by git blame, but why not?)
Remove the test case and if the coverage is necessary, file a new ticket to add it back.

@tisonkun I'll create a ticket once this is merged. There's already a comment that it's disabled because it is flaky. I'm expecting that this is sufficient.


Host the app in VCL.

Getting the below error while hosting:
File "application.py", line 71
table_html += f"{user_tasks['taskname']}{user_tasks['category']}

Schema change issue. Migrated and fixed the issue. Now hosted in VCL.


Updating the date breaks display of relative time

When the moment-js element is set to display a relative time and the date is updated, the new displayed value is the formatted date and not the relative time.

New behavior with the commit on the related PR.


TensorBoard not working,

I run it as https://www.tensorflow.org/get_started/summaries_and_tensorboard here described, but the browser can't display it ,what's wrong with it ?

and the version of Tensorflow is 0.11

Please use the latest version of TF.
The tutorials on our website point to the latest version unless you specificly select older versions of TF.


NETOBSERV-1053 optionnal loki / console plugin

Added enable options on both Loki and ConsolePlugin CR sections. Default true.

Loki write stage is skipped in FLP if spec.Loki.enable is false
ConsolePlugin is deployed only when both enable options are true, else any existing content is removed.

Thanks!
/lgtm

/ok-to-test

@jpinsonneau Could you rebase this PR? I can go ahead testing it once thats done

/label qe-approved

/label qe-approved

@Amoghrd Did you test it anyways ?
I've rebased the code and addressed your feedback.
Thanks !

/ok-to-test

Tested after rebase, works as expected!

/lgtm

/approve


Symfony 4.2 service is private

Symfony 4 can't load the service, since all services are set to private by default.
This can be fixed by  setting the service to public inside the M6WebCassandraExtension class.
Notice: $definition->setPublic(true);
protected function loadClient(ContainerBuilder $container, $clientId, array $config)
{
    $class = 'M6Web\Bundle\CassandraBundle\Cassandra\Client';
    $definition = new Definition($class);
    $definition->addArgument($config);
    $definition->setConfigurator(['M6Web\Bundle\CassandraBundle\Cassandra\Configurator', 'buildCluster']);

    // set service to public
    $definition->setPublic(true);

    if ($config['dispatch_events']) {
        $definition->addMethodCall('setEventDispatcher', [new Reference('event_dispatcher')]);
    }

    $container->setDefinition('m6web_cassandra.client.'.$clientId, $definition);
}

Hello @liacmedia, thanks for pointing this.
You are completely right and we would be happy to merge your pull request if you wan't to fix this :)


Error encountered when running testGeogrid_ISCE.py

When I ran the testGeogrid_ISCE.py on two Sentinel-1 SLC images, I encountered an error message
libc++abi: terminating with uncaught exception of type std::length_error: vector
zsh: abort

I used the command testGeogrid_ISCE.py -m ../20170701_20170707_des_S1_neworb_nasadem/fine_coreg -s ../20170701_20170707_des_S1_neworb_nasadem/secondary -d ../dem_nasa/demLat_N09_N14_Lon_E122_E127.dem.wgs84.

I finally resolved this issue. I used a UTM projected DEM.

@bjmarfito thanks for the follow up… we’ll add a check for this when we get a chance, unless u want to generate a pull request for one?

@alex-s-gardner, I can probably submit a PR regarding your request as early as next week.

@bjmarfito that would be great!


[Sticky] Positioning Issues on Resize

How can we reproduce this bug?

Step one
scroll on page
Step two
First sticky is start, scroll agin the second is start and the the first is still visible
Step three
refresh the page at this moment

What did you expect to happen?
After refresh, the first Sticky not working fine. The second work ( is the current) work normally

What happened instead?
Resize the window initialize the bug
Test case
http://foundation.zurb.com/sites/docs/sticky.html
Give us a link to a CodePen or JSFiddle that recreates the issue.

I was able to reproduce this issue. Sticky appears to have issues with the browser window being resized.

I believe this is connected to https://github.com/zurb/foundation-sites/issues/9047.  @colin-marshall when you take a look at that fix, can you check this one as well?

Closing this one out. I believe this was fixed in v6.2.2 by @gehasia. Feel free to reopen if you are still seeing this issue.


Add interfaces methods, remove RouterFactory

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Thanks!


[SASS-3640] Upgraded PaymentIntoPensionSchemeControllerISpec to new pattern.

[ ]  Had a QA verify that all acceptance criteria have been met, with comment(s) in the ticket?
[X]  Hosted a group review of your implementation?
[X]  Rebased against main?
[X]  Ensured that your commit(s) contain the ticket key?
[X]  Ensured that your branch is named after the ticket key?
[X]  Successfully run the unit tests?
[X]  Successfully run the integration tests?
[ ]  Successfully run the journey tests? If not, please add a comment explaining why it wasn't necessary.
[ ]  Ensured that the PR job has passed.

Reviewer: Before Reviewing
Have you ...

[ ]  Pulled the branch down?
[ ]  Assigned yourself to this PR?
[ ]  Moved the Jira subtask to “in review”?
[ ]  Ensured that it is rebased against main?

Developer: After Approval
Have you ...

[ ]  Rebased against main?
[ ]  Moved the Jira subtask to “in pipeline”?

Developer: After Merging
Have you ...

[ ]  Deleted the branch?
[ ]  Scheduled a demo? If not, please add a comment.

Had a QA verify that all acceptance criteria have been met, with comment(s) in the ticket?

Given that I've only updated tests, it was agreed that a tour of the changes with Anthony would suffice.

Successfully run the journey tests? If not, please add a comment explaining why it wasn't necessary.

Given that I've only updated tests, no changes would have impacted the journey tests


Add CSS pack tag

@patbenatar @ashwinv11

This was missing and causing issues with webpacker in production. The extracted CSS was not getting output anywhere.
https://github.com/rails/webpacker/blob/master/docs/assets.md#import-from-node-modules

@mrkrlli Nice! we used to have an option to skip webpacker when generating a new app. Can we omit the extra css partial if we're skipping webpacker? Thanks!!

@ashwinv11 Made some updates. If the webpack option is passed in, then we replace the javascript_include_tag with javascript_pack_tag and stylesheet_pack_tag. This only happens with the webpack flag.

I also updated the bundler version to version 2. Running philsophies suspenders w/ the bunlder version was giving me errors before.

LGTM! :shipit:


"googleMapId" not working on IOS

Summary
The googleMapId attribute does not seem to have any effect on IOS compared to the customMapStyle attribute which works very well.
As you probably know, the JSON personalization system will soon be deprecated to make way for cloud-based card personalization.
Reproducible sample code
<MapView
style={{ flex: 1 }}
provider={PROVIDER_GOOGLE}
googleMapId='XXXXXXXXXXX'
initialRegion={{
  latitude: lat,
  longitude: lng,
  latitudeDelta: 0.0922,
  longitudeDelta: 0.0421
}}
showsUserLocation={true}
showsMyLocationButton={true}
>

Steps to reproduce
Create a map style on the cloud, then get the map id and set it in the "googleMapId" attribute
Expected result
.
Actual result
The default map style is applied instead of the map with the defined id.
React Native Maps Version
1.14.0
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.73.2
What version of Expo are you using?
SDK 48
Device(s)
iPhone XS Max
Additional information
No response

Hi @demoox. If I understood correctly it is not possible yet on iOS. We have to wait for new version of Google Maps SDK for iOS.
See description in Salah's PR.
https://github.com/react-native-maps/react-native-maps/pull/4922
Unfortunately for iOS without updating to google-maps SDK v 8.2 the style won't be visible .. waiting on google

Hi @mateki0 thank you for your reply.
Oh yes indeed! Hopefully the update will be done quickly :)


CI(oay): add CI for oay-webdav

https://github.com/apache/incubator-opendal/issues/2586

🌚

🌚

🤣

Hi, @Young-Flash would you like to address the existing review in next PR?

Hi, @Young-Flash would you like to address the existing review in next PR?

yeah


KAFKA-3497: Streams ProcessorContext should support forward() based on child name

@miguno @guozhangwang please have a look when you can. Thanks.


Missing support for op signature ADD SP, SP, #

It's just missing, really.

I've implemented it in a related branch I'm working on, so I'll link this issue when I make a pull request for it.

I've implemented it in a related branch I'm working on, so I'll link this issue when I make a pull request for it.

Missing ops:
1011_0000_0xxx_xxxx ADD sp+imm T2 noflags
1011_0000_1xxx_xxxx SUB sp-imm T1 noflags

Missing ops:
1011_0000_0xxx_xxxx ADD sp+imm T2 noflags
1011_0000_1xxx_xxxx SUB sp-imm T1 noflags


Replace status codes with HTTPStatus

Fixes

https://github.com/Police-Data-Accessibility-Project/data-sources-app/issues/319

Description

All hard coded HTTP status codes have been replaced with HTTPStatus enums

@maxachis tested and all passed!


Add redirect functionality to registration.php when user logged in

If a user is already logged in and requests the registration page, they should be redirected to the index page with the overview of all rated songs. I will take care of this

Closed as resolved in pR


Cannot fork (Resource temporarily unavailable)

When running ./baspekg pkg, many times, output Cannot fork (Resource temporarily unavailable) message.

fixed


React Native 0.65 - Xcode 13 - Release Schema is not compiling

Description
Tried upgrading to react-native 0.65 with Xcode 13; able to compile in debug mode but fails in release.
React Native version:
System:
    OS: macOS 11.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 48.90 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.12.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 6.14.8 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
    Xcode: 13.0/13A233 - /usr/bin/xcodebuild
  Languages:
    Java: 15.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.65.1 => 0.65.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

On the above environment setup, run react-native init sampleApp
Open Xcode and change schema to 'Release'
Run app, and you see the below error

Expected Results
App should compile in release schema

This is a known issue. It is resolved already.
@nithinyell please search for the string "thread-local" in this Podfile workaround snippet, it will get you moving
https://github.com/facebook/react-native/issues/31480#issuecomment-902912841


Peak picking and persisting the peaks to the back end

@nrayya @hamed-musallam

@CS76 @NRayya
we need to put in our mind when we work with the data that we get from onDataChange call-back function, we return the whole new state of NMRium, which contain all the data and not only the peaks of the new record, for example, under the peaks object you will find all the peaks and not only the new peaks that you add.

@CS76 @NRayya
we should split it into smaller tasks and clarify your needs


Update jQuery ajax header Authorization setting

Correct Authorization Bearer setting for jQuery ajax header

@thang12l doesn't doing it the way that you're proposing overwrite any existing custom headers? We changed it to directly set the "Authorization" value in the headers array to avoid that.

@squatto the proposing way will overwrite custom headers if they exist. Just update it again to avoid it. When no headers exist, use ajaxSetup to add the new setting.

Thanks! I havent used jQuery in a long time, but if window.jQuery.ajaxSettings.headers is undefined, can we just window.jQuery.ajaxSettings.headers = {}; ? Or does that not work, as in, you have to previously have used ajaxSetup?

@osiset window.jQuery.ajaxSettings.headers = {}; will work like a charm!

@thang12l Nice! Update your PR and ill merge it in.

@osiset , Already done with 7a0aa37c10f4089590d9286e3cc21b7b6a43b3a6. Please merge it in.


refactor: physical settlement

Summary
This PR fix 2 design flaws
1. The definition of function Grappa.getSettlement
The definition in the previous PR (#201) for physical settled option is flawed. The meaning of the returned value should be "how much is 1 long option token worth".  Intuitively, this number should be (0, 0) after the settlement window is closed, meaning your token is worthless.  But in the last PR, this definition was changed to:

before settlement windows close, it returns how much payout you can get by paying out debt.
after settlement window, it returns: how much underlying and collateral were exchanged during exercise window, proportional to 1 option token.

This was added in just for ease of the short side to calculate if they want to socialised the losses, but it change the fundamental purpose of the function. When time pass the exercise window, this function change from "serving the long token", to "serving the short token", which is a design flaw.
The workaround is to have a custom getBatchSettlementForShorts implementation in PhysicalSettlement, that translate the "settlement payout for long" to "settlement for shorts":

for cash settled asset: each short position should be translated into loss of payout.
for physical settled asset: each short position is convert to proportional of total exercised amount.

2. Ambiguous Mint flow and contract logic separation

Before physical settled options, the mint (seller) flow is always engine => OptionToken. Grappa as a contract is not meant to be used as storage to store total mint / burn ..etc.
In the previous PR, the tracker is introduced and create a new function for engine to track how much is minted, and also used during exercise. By the very easy principle of logic separation: Grappa should only be used as registry and check of tokenId validness, this logic should not be there.
The purpose of this logic is actually to serve the previous functionality: record how much long is exercised so we can socialized to the short side. As a result this should be belong to PhysicalSettlement inside each engine to implement.
This is done by adding a handleExerciseHook to inform the engine what is exercised.

Todo

[ ] encode exercise window into tokenIds

Checklist
Ensure you completed all of the steps below before submitting your pull request:

[ ] Add natspec for all functions / parameters
[ ] Ran forge snapshot
[ ] Ran forge fmt
[x] Ran forge test
[ ] Triage Slither issues, and post uncertain ones in the PR

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/cash-settlement-module@3003d66). Click here to learn what that means.
The diff coverage is n/a.

@@                        Coverage Diff                        @@
##             feature/cash-settlement-module     #204   +/-   ##
=================================================================
  Coverage                                  ?   74.23%
=================================================================
  Files                                     ?       32
  Lines                                     ?     1436
  Branches                                  ?      318
=================================================================
  Hits                                      ?     1066
  Misses                                    ?      290
  Partials                                  ?       80

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

In general i am fine with these changes - after reviewing your logic separation you've essentially struck a middle ground between https://github.com/grappafinance/core/pull/192 and https://github.com/grappafinance/core/pull/201
There is some clean up to do, but i am aligned on this direction.


⚠ Bofrost.es has degraded performance

In 9e9dfb3, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1650 ms

Resolved: Bofrost.es performance has improved in e1628ad after 6 minutes.


[Improve][Broker]Reduce GetReplicatedSubscriptionStatus local REST call

Motivation

Reduce local REST calll for org.apache.pulsar.broker.admin.impl.PersistentTopicsBase#internalGetReplicatedSubscriptionStatus

Modifications

Call local method if partition is owned by this broker,  or call REST api usng internal AdminClient

Verifying this change

[x] Make sure that the change passes the CI checks.
ReplicatorSubscriptionTest has coverd this modification

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@codelipenghui @Technoboy-  PTAL


Cannot select preferred language for "inject subtitles"

Version
v1.12.2
Platform
Windows 11
Steps to reproduce
Cannot select preferred language for "inject subtutles"
Details
Cannot select preferred language for "inject subtutles"
Checklist

[X] I have looked through existing issues to make sure that this bug has not been reported before
[X] I have provided a descriptive title for this issue
[X] I have made sure that this bug is reproducible on the latest version of the application
[X] I have provided all the information needed to reproduce this bug as efficiently as possible
[X] I have sponsored this project
[X] I have not read any of the above and just checked all the boxes to submit the issue

You don't need to, all languages are injected.

You don't need to, all languages are injected.

Hi Tyrrrz,
doesn't work for me.
I have only English Subtitles, but I want German Subtitles.
I have tested with the old Build from here
https://github.com/Tyrrrz/YoutubeDownloader/releases/tag/1.12.2
and a newer one from here.
https://github.com/Tyrrrz/YoutubeDownloader/actions/runs/9752964195
I am on Windows 10.
Best regards
Hans

Hi Tyrrrz,
many thanks for your Answer.

Which video are you having issues with?

With all of them.
E.g. this one.
https://www.youtube.com/watch?v=GRzoEl3hQEE
Best regards
Hans

@hansnolte for that video, I only see the auto-generated English subtitles:

So it matches what you get in the app. I tried to simulate a German client by requesting the de-DE locale, but I still only got the English language (screenshot from YoutubeExplode demo):

So not sure how you're able to see more than one subtitle track.

Hello Tyrrrz,
thank you very much for testing.

@hansnolte for that video, I only see the auto-generated English subtitles:

That is strange.
I normally use the 3D Youtube Downloader.
Unfortunately, this no longer works.
It only loads the subtitles and no longer the video.
And with this Davinci-Video, it downloads the German-subtitles without any problems.
Best regards
Hans

I'm not sure then

I'm not sure then

?
First, activate the Subtitle once.
Then you can activate the automatic translation.
https://github.com/user-attachments/assets/f0292d1f-95eb-4617-94bf-9fce2ed6f48f


HBASE-27438 Make release scripts can generate CHANGES.md and RELEASEN…

…

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
shelldocs
0m  0s
Shelldocs was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for branch

+1 :green_heart:
spotless
0m 39s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  4s
Maven dependency ordering for patch

-0 :warning:
pylint
0m  1s
The patch generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0)

-0 :warning:
shellcheck
0m  1s
The patch generated 4 new + 18 unchanged - 0 fixed = 22 total (was 18)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
spotless
0m 36s
patch has no errors when running spotless:check.


Possible to send negative value to strings.Repeat

This check is prudent: https://github.com/shenwei356/stable/blob/33c2ccf83610a584d8ef40dc77e091c3738e254d/table.go#L751-L756
However, the value of lenText can be modified below this check:
https://github.com/shenwei356/stable/blob/33c2ccf83610a584d8ef40dc77e091c3738e254d/table.go#L759-L762
This can cause lenText to be greater than width, which causes issues in the output block:
https://github.com/shenwei356/stable/blob/33c2ccf83610a584d8ef40dc77e091c3738e254d/table.go#L764-L776
I'm not entirely certain what the purpose of lenText += strings.Count(text, "\t") is, given that the below replace statement simply replaces tabs with a single space.
I was thinking perhaps a configurable field to allow specifying desired printable width of tab characters, then moving that logic before the runewidth.StringWidth(text) check?

I'm not entirely certain what the purpose of lenText += strings.Count(text, "\t") is, given that the below replace statement simply replaces tabs with a single space.

Will change the order.

I was thinking perhaps a configurable field to allow specifying desired printable width of tab characters,

Yes, \t, \r, \n, \b should all be replaced with something, Users can specific each replacement and a default map should also be available.

then moving that logic before the runewidth.StringWidth(text) check?

OK

Added a Method for this.
// Convert uses a custom map to replace the DefaultConversionTable for converting special characters.
func (t *Table) Convert(m map[string]string) *Table {

And the default table is
var DefaultConversionTable = map[string]string{
	"\t": "    ",
	"\r": "",
	"\n": " ",
	"\v": " ",
	"\f": " ",
	"\a": "",
	"\b": "",
}

I will make a small change: converting a "\t" to one space.
"\t": " ",

available in v0.2.0.

Excellent, thank you!
Unfortunately I no longer work for the company where I wrote the tool that uses this lib (things happen quick!), so I won't be able to effectively test the changes :(

Don't worry, tell me if you met some things.
And good luck!


Fix flask-limiter: Order of arguments for init changed

Changelog: https://flask-limiter.readthedocs.io/en/stable/changelog.html#v3-0-0
Other relevant issue: https://github.com/alisaifee/flask-limiter/issues/384

Can confirm that this fixes running matrix-registration with the latest flask-limiter version. I just added the patch to: https://aur.archlinux.org/packages/matrix-registration-git :)


bugfix: proc/types: loadPackageMap and github.com packages

Makes loadPackageMap actually work with github.com/... packages
This fixes my 38716dcc26d445ae3f6b081968266e33a8d99f58 that was too conservative.

Seems like this would be difficult to test without adding a dep to the test file (which is a definite 'no'), but can you run through steps to reproduce an error? Just want to verify this fix before merging. Otherwise the code LGTM.

Seems like this would be difficult to test without adding a dep to the test file

exactly

can you list steps to reproduce an error?

Import any github.com package
Create an interface variable with a concrete type inside the github.com package:

import "github.com/.../somepackage"
...
var ivar interface{} = &somepackage.SomeType{}

Try to evaluate ivar

I've been thinking about replacing this code with one that parses the source code for the current file to get the package name → package path mappings. Pro: it would work for code that imports packages with a different name than what would be assigned automatically; Contra: it wouldn't work at all if source isn't available, it would be much slower and therefore require caching to be usable.

LGTM - merged.


fix: accept None in model_from_dict to allow setting model fields…

… to NULL
This change allows for sending a dict with None as values; the model will then be updated to NULL for those fields. The existing handling in model_from_dict will drop dict keys if they're set to None.
Pull Request Checklist

[x] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR
[x] Pre-Commit Checks were ran and passed
[ ] Tests were ran and passed

Description

Allows for sending a dict with None as values to model_from_dict; the model will then be updated to NULL for those fields. This changes the existing behavior of model_from_dict, which will drop dict keys if they're set to None, causing the record's field to be unchanged.

Today we needed that! If you need an hand you can ping us :) @ysnbyzli and me

Today we needed that! If you need a hand you can ping us :) @ysnbyzli and me

Will do! Sorry for the delay on this. I've been super sidetracked. I'm hoping I can get to it some time before the end of the weekend.

Today we needed that! If you need a hand you can ping us :) @ysnbyzli and me

Will do! Sorry for the delay on this. I've been super sidetracked. I'm hoping I can get to it some time before the end of the weekend.

I've actually got a working implementation that is non-breaking.

To get the new behavior, you pass exclude_unset as False into the any of the service calls that perform an update.

To get the new behavior, you pass exclude_unset as False into the any of the service calls that perform an update.

I haven't been able to test this myself yet as I have to run till later tonight, but just curious, does this change require you to explicitly set False if you are sending one or more values as None for it to work? What happens when you pass one field as None but others that aren't None in either scenario (True and False)? I do plan to do my own testing, but wanted to throw it out there. The "unset" nomenclature is a bit confusing to me since explicitly passing None, to me, is "set", it's just set to a null value. Is there perhaps a clean way to handle this without having to pass a flag for better DX?

To get the new behavior, you pass exclude_unset as False into the any of the service calls that perform an update.

I haven't been able to test this myself yet as I have to run till later tonight, but just curious, does this change require you to explicitly set False if you are sending one or more values as None for it to work? What happens when you pass one field as None but others that aren't None in either scenario (True and False)? I do plan to do my own testing, but wanted to throw it out there. The "unset" nomenclature is a bit confusing to me since explicitly passing None, to me, is "set", it's just set to a null value. Is there perhaps a clean way to handle this without having to pass a flag for better DX?

Hold off on testing.  I don't think the change I've pushed are what you want.  Give me a bit to test a few things out, and I'll push some additional changes shortly.

I was able to get the original issue with the mock repository resolved bit hit a new issue with the test_lazy_load in the repository mocks.  This looks to be unrelated, so for now, I set the lazy load test to skip the mock repository.  I'll address that issues in a followup PR.

I was able to get the original issue with the mock repository resolved bit hit a new issue with the test_lazy_load in the repository mocks.  This looks to be unrelated, so for now, I set the lazy load test to skip the mock repository.  I'll address that issues in a followup PR.

Beautiful, thanks for your help, @cofin!


Re-enable VTKm support.

Description
Resolves #18628
Resolves #17985
I re-enabled calling FindVTKm.cmake in SetUpThirdParty.cmake. I modified FindVTKm.cmake to install static libraries as well as dynamic libraries. I also fixed a bug that prevented the dependent libraries from getting installed.
I then modified some code to work with VTK 9 due to changes to vtkCellArray.
Type of change

[X] Bug fix~~

How Has This Been Tested?
I built a distribution and installed it on rzgenie. I checked the directory visit/3.4.9/linux-x86_64/archive to see if the VTKm libraries were installed there. I found the following:
ls visit/3.4.9/linux-x86_64/archives/
libadiosread.a	      libvtkm_cont-1.9.a
libadiosread_nompi.a  libvtkm_filter_clean_grid-1.9.a
libAdvBase.a	      libvtkm_filter_connected_components-1.9.a
libAdvDocIO.a	      libvtkm_filter_contour-1.9.a
libAdvFileIO.a	      libvtkm_filter_core-1.9.a
libbox2D.a	      libvtkm_filter_density_estimate-1.9.a
libbox3D.a	      libvtkm_filter_entity_extraction-1.9.a
libcfitsio.a	      libvtkm_filter_field_conversion-1.9.a
libH5Part.a	      libvtkm_filter_field_transform-1.9.a
libHalf.a	      libvtkm_filter_flow-1.9.a
libIceTCore.a	      libvtkm_filter_geometry_refinement-1.9.a
libIceTGL.a	      libvtkm_filter_image_processing-1.9.a
libIceTMPI.a	      libvtkm_filter_mesh_info-1.9.a
libIex.a	      libvtkm_filter_multi_block-1.9.a
libIlmImf.a	      libvtkm_filter_resampling-1.9.a
libIlmThread.a	      libvtkm_filter_scalar_topology-1.9.a
libImath.a	      libvtkm_filter_vector_analysis-1.9.a
libmili.a	      libvtkm_filter_zfp-1.9.a
libnetcdf.a	      libvtkm_worklet-1.9.a
libnetcdf_c++.a

This shows that all the VTKm filter libraries and their dependencies were installed.
I then ran VisIt with -debug 5 and turned on VTKm support and created a Contour plot of d. The plot was correct. I then checked the A.engine_ser.5.vlog file to check if it used VTKm. I found the following:
About to execute contour filter.  10 isovalues are: 0.100579, 0.174478, 0.248377, 0.322276, 0.396175, 0.470075, 0.543974, 0.617873, 0.691772, 0.765671,
converting dataset from VTK to VTKm...
avtDataObjectToDatastFilter converting ugrids to polydata in postex.
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
converting dataset from VTKm to VTK...
Xfer::Update: Sending: opcode=27, name=NonBlockingRPC::CompletionData (from ExecuteRPC)
Xfer::Update: Sending: opcode=27, name=NonBlockingRPC::CompletionData (from ExecuteRPC)
Done executing avtContourFilter

This shows that the original data set was converted to VTKm to use with the VTKm contour filter and then each contour generated was converted back to VTK for further processing.
Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[X] I have commented my code where applicable.~~
[X] I have updated the release notes.~~
[ ] I have made corresponding changes to the documentation.
[ ] I have added debugging support to my changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have confirmed new and existing unit tests pass locally with my changes.
[ ] I have added new baselines for any new tests to the repo.
[ ] I have NOT made any changes to protocol or public interfaces in an RC branch.

Yes, I will merge these changes onto the 3.4RC.


Request to Update Twitter Icon to X

Bug Description
Twitter logo is updated recently and hasnt been updated on the site. I didnt find any issue related to this.
ScreenShot

Expected Behavior
Change the old logo with the new one.
Request
@ericallam
I want to work on this issue please assign this to me.

Hi @lalitkumawat1m unfortunately, our marketing site isn't open sourced so we'll have to update this internally.
Thanks for your suggestion though. Feel free to check out some of the other issues if you want to contribute – or open another issue you want to work on.


tach report: ValueError: Encountered invalid filepath: ""

Every folder I run tach report for I get this error.
❯ tach report .
Traceback (most recent call last):
  File "/Users/wjmeijer/Repositories/spice/.venv/bin/tach", line 8, in <module>
    sys.exit(start())
             ^^^^^^^
  File "/Users/wjmeijer/Repositories/spice/.venv/lib/python3.12/site-packages/tach/start.py", line 10, in start
    main()
  File "/Users/wjmeijer/Repositories/spice/.venv/lib/python3.12/site-packages/tach/cli.py", line 941, in main
    tach_report(
  File "/Users/wjmeijer/Repositories/spice/.venv/lib/python3.12/site-packages/tach/cli.py", line 739, in tach_report
    report(
  File "/Users/wjmeijer/Repositories/spice/.venv/lib/python3.12/site-packages/tach/report.py", line 51, in report
    return create_dependency_report(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Encountered invalid filepath: ""

Workspace structure
.

├── .env
├── .gitignore
├── .tach
│   ├── .gitignore
│   ├── .latest-version
│   └── tach.info
├── .venv
│   └── ...
├── README.md
├── agent_app
│   ├── ...
│   └── compose.yml
├── central_app
│   ├── ...
│   ├── compose.yml
├── spice.code-workspace
├── src_repos
│   ├── project-a
│   │   ├── README.md
│   │   ├── pyproject.tool
│   │   └── src
│   │   │   └── project_a
│   ├── project-b
│   │   ├── README.md
│   │   ├── pyproject.toml
│   │   └── src
│   │   │   └── project_b
│   └── project-c
│   │   ├── README.md
│   │   ├── pyproject.toml
│   │   └── src
│   │   │   └── project_c
└── tach.toml

Thanks for raising this! I can reproduce the issue with tach report .  specifically. Does this also happen when you run tach report src_repos/project-a/src/project-a/... (or any other filepath)?
I suspect it is isolated to . as a filepath, I'll investigate and push a fix.

I'd expected the "source root directory" would be where the pyproject.toml is located, not the src subfolder.
Probably related: note that I am using the "src layout" style of setting up my project.  So that means that in my pyproject.toml's there is this line:
[tool.setuptools]
package-dir = { "" = "src" }

This line ensures we don't have to write from src.project_c import ... but that we can simply write from project_c import ....
In my experience, it would have been usefull to see a note in the docs for this on whether "src layout" is also supported and what the recommended setup is for that.
In summary:
I had all "source root directory" set to the folders containing the pyproject.toml... Perhaps I expected tach would see the package-dir = { "" = "src" } line in pyproject.toml and figure out the modules are actually located in the src folders. But then tach sync also didn't work...
Now I took your advice and set all the "source root directory" to src in every project and tach sync appears to work correctly works. So for me it was an onboarding challenge related to using "src layout".


Fix DrizzleSQLiteAdapter constructor signature

In the signature of the DrizzleSQLiteAdapter constructor, the generic type TFullSchema of BaseSQLiteDatabase was not set. Consequently, an instance with a schema couldn't be passed.

example
import { DrizzleSQLiteAdapter } from "@lucia-auth/adapter-drizzle";
import { Database } from "bun:sqlite";
import { sqliteTable, text, integer } from "drizzle-orm/sqlite-core";
import { drizzle } from "drizzle-orm/bun-sqlite";

const sqliteDB = new Database(":memory:");

const userTable = sqliteTable("user", {
  id: text("id").notNull().primaryKey(),
});

const sessionTable = sqliteTable("user_session", {
  id: text("id").notNull().primaryKey(),
  userId: text("user_id")
    .notNull()
    .references(() => userTable.id),
  expiresAt: integer("expires_at").notNull(),
});

const db = drizzle(sqliteDB);
new DrizzleSQLiteAdapter(db, sessionTable, userTable); // <- OK

const dbWithSchema = drizzle(sqliteDB, { schema: { userTable, sessionTable } });
new DrizzleSQLiteAdapter(dbWithSchema, sessionTable, userTable); // <- Error

Do you know if this is just an issue with SQLite? I know someone had issues with MySQL as well

Do you know if this is just an issue with SQLite? I know someone had issues with MySQL as well

In MySQL, the initial value of TFullSchema is set to {}, so I don't think this problem would occur. If you're interested, could you please share more details about that particular issue?
As for Postgres, since any is already set, I don't anticipate encountering a similar problem there.

Having said that, setting any for all generics of SQLiteDatabase and other Databases might not be a bad idea.


Orbit Controls & Zooming

Is there any option to disable/enable controls and zooms? the display of the avatar and all the options are literally good but  i don't want my user to zoom in ? Thank you

Hi @Aziz-kefi !
You can try disabling the pointer events for the canvas or overlaying an HTML element which will hinder interacting with the canvas.


[DRAFT]: add firedancer conformance to ci

This PR adds a job to the program's CI for testing the BPF version against the original builtin version using Firedancer's solana-conformance testing tool. It covers 4496 test cases.

@joncinque this is ready for review! The remaining 6 cases won't pass until I solve what I believe to be a bug in the conformance harness for BPF runs. The implementation in this PR won't change, save for any review feedback.

We just need these two PRs to land, then this will pass, and can go in!
https://github.com/solana-program/config/pull/21
https://github.com/firedancer-io/solfuzz-agave/pull/151