For this image (the one with red left arrow) I used following approach,
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/check"
android:layout_alignParentStart="true"
android:background="@drawable/circle_white_black_border"
android:elevation="4dp">
<ImageView
android:id="@+id/prev_question"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_centerInParent="true"
android:contentDescription="@string/previous_question_text"
android:src="@drawable/ic_baseline_navigate_before"
android:tint="@color/app_title" />
</RelativeLayout>
Since elevation doesn't work well on image view, I added elevation to the relativelayout which worked good.
How can I optimize this further for better performance and lower memory allocation?
There are no obvious algorithmic improvements I can spot. So improvements will likely come down to microoptimizations and possibly parallelism.
A good first step would be to run the code in the built in visual studio profiler to see if you can spot anything unexpected. A second step would be to inspect the assembly code. Even if you know nothing about assembly, just checking the number of instructions should give you some idea about the runtime.
If you really want to micro optimize you might want to use a more detailed profiler like vTune.
Parallelism is easiest to exploit if you have different messages. But if you have a single large message composed of a very large number of key-value pairs you could probably just create evenly distributed indices, find the separator following each of these indices, and use that to split your string between threads.
Is there a faster or more efficient algorithm to extract key-value pairs from a FIX message?
Your algorithm looks linear to me, and that is the best complexity that can be had.
Are there alternative data structures or parsing techniques that would improve lookup speed while keeping allocations low?
Depends on your requirements, if you need a dictionary containing strings you will have allocations. If you have an upper bound of key sizes you might be able to use a plain array. Possibly containing Memory<char>
to avoid string allocations.
Would SIMD, Span-based parsing, or other low-level optimizations be beneficial in this case?
The main use case for SIMD would be IndexOf
. I'm not sure if this has been SIMD optimized or not in your version of .net. This should be fairly obvious if you inspect the assembly.
Are there any other approaches or data formats that could improve parsing and performance for high-throughput FIX messages?
You might be able to get better performance from C/C++, but in my experience that only helps if you have a very good understanding of both the language and the underlying hardware.
The readme in this repo has some useful links: https://github.com/fpoli/gicisky-tag
Hello @Alan are you available there I have some issues to built up a twilio conference functionality? is this something you can hep me around to figure out the issue?
Added the following to application.properties file & it worked: spring.cloud.gcp.bigquery.datasetName=<your_dataset_name>
Found the issue.. I inserted the y values into the final lorentzian function and plotted this in the excel sheet instead of inserting the x values. Plots look good now.
Is there a solution for the on screen keyboard on Windows Tablets?
Good solution!
I found this will occur this problem too. ⬇️
@Inject(REQUEST) private request: Request
pip install --upgrade pip setuptools wheel
This command worked for me before installing aiohttp
Notice how it is just a warning, so your app wont break, it's just to help you remove unused code.
In your app.component.ts, look for the "imports" field, you will find ProductTrackingComponent inside an area there, you can simply remove it and the warning should go away.
The warning just means you have the component inside "imports" but you haven't used it in the html/template yet.
I'm seeing similar issues. I have buttons in a gallery to navigate to the screen which weren't working. Click the buttons and nothing.
It coincided with copilot filtering when clicking the button, so assumed it was related.
I then tried using a Param to load the screen with an id passed, and it was freezing on the load screen.
Now reading this, I assume there is a bug somewhere in the screen on visible.
I found it! It turns out I wasn’t using the Docker ports (EXPOSE 8080, EXPOSE 8081) in the HttpRequest URI.
Kindly create two measures for Total Sales and profit margin then you can drag them to value column and drag your multiple dimensions to row of table visual to filter the data as per your requirement.
Thanks
Harish
I don't think Windows will allow you to execute code from memory regions because of DEP (Data Execution Prevention), try using VirtualAlloc
or VirtualMemory
or disable DEP (I don't recommend doing it on your PC), check https://learn.microsoft.com/en-us/windows/win32/memory/data-execution-prevention#programming-considerations
I have the same problem any help for solution? Do you even solve the problem?
where to add in ingress-nginx conf
chunked_transfer_encoding
I have the same issue too, Here is the solution that works for me:
1. Make sure that you install the 'Extension Pack for Java'
2. Click 'Java: Ready' on the bottom bar
3. Click 'Clean Workspace Cache'
this would trigger reindexing of the project, I guess, after that, Ctrl+Click should work.
Java: Clean Workspace Cache
String s = "I Love India";
StringBuilder sb = new StringBuilder(s); String s1 = sb.reverse().toString();
# Faylı yadda saxlamaq
pptx_path = "/mnt/data/Maliyye_Riyaziyyati_Təqdimat.pptx"
prs.save(pptx_path)
Its due to flutter Upgrade
Use flutter upgrade command in command prompt
It will be over OR still if the issue persists reinstall flutter
You need to add the serializer
tag to specify the serializer that handles how data is serialized and deserialized to and from the database, such as: serializer:json/gob/unixtime
. Since your field is of type JSON, your User
field should be defined as:
User *UserInfo `json:"user" gorm:"serializer:json"`
This issue is caused by the connection issue between client and the iceServer.
From my case, I cannot access "iceServers: [stun:stun.l.google.com:19302]" before I set a proxy.
After the proxy is on, it works, the 701 error is gone.
What worked for me was navigating to the Overview section of my Logic App in Azure, clicking Restart, and then hitting Refresh. After that, the error was gone and I could see all of my workflows again.
image of where to restart and refresh logic app
mavenrc
can override the java version supplied in zshrc
, so you can try to fix that as well using the commands vim ~/.mavenrc
and vim ~/.zshrc
@ConditionalOnExpression can be used in this way to achieve condition X or condition Y but not both. I tested this code with the same application.yaml provided.
@Bean
@ConditionalOnExpression("#{('${app.config.inside.prop}' == 'a' && '${app.config.outside.prop}' != 'a') || ('${app.config.inside.prop}' != 'a' && '${app.config.outside.prop}' == 'a')}")
public CustomBean customInsideOrOutsideNotBoth() {
System.out.println("app.config.inside _or_ app.config.outside _not_ both");
return new CustomBean();
}
As of today, unfortunately, AWS Bedrock Agent does not support response streaming.
You can stream the response when invoking any Bedrock model but not agent.
Ref: https://repost.aws/questions/QUsqK6QQwoQ-a-crTHpkjfEA/aws-bedrock-agents-support-streaming-responses
Thank you so much Brett Donald! You have worked out what it was.
I was so excited when it started loading something other than my blank text site. However (as explained in comment to Brett's answer) I am now getting an issue of the website being stuck in a continual loading loop.
Since all the information about my situation is in this thread, rather than creating a new thread I thought I would just ask for the solution here.
Maybe the problem will be solved if I continue the conversion to PHP? I'm not sure as I am still very much a beginner so I'm still learning the basics.
Maybe the problem won't be solved by continuing to convert my HTML template. In which case what do I do? I looked up this problem on a search engine and found a reddit post where someone suggested pressing f12 to open the console then under the network tab make sure the "persist" setting was enabled. However I can't find that exact setting. I found something called persistance and I checked the option under that but it still didn't fix the issue.
i think the answer is No ... but when you ask ... and the persons answering are well versed in that topic ... they will never admit ... that feature is not present.
I was able to troubleshoot it out. It was caused by caching issues and the node version I was using. After downgrading to node.js v18.20.8, I had to delete my .vite, .nuxt, and node_modules folders, as well as my package-lock.json just to be safe. Then I ran $npm install to reinstall all packages and dependencies, and the issue was resolved.
This error occurs because Dremio caches query results and logs metadata by default when executing queries via API. If too many queries are fired in succession:
Cache & Logs Fill Up Storage
Dremio stores query results in its distributed cache (accelerations) and maintains internal indexes (IndexWriter
) for metadata.
If storage (disk/memory) gets full, the IndexWriter
fails with this error, and metadata (databases/views) may disappear.
APIs Stop Responding
Clear Cache Manually (Temporary Fix) - Restart Dremio to force cache cleanup.
Adjust Cache Settings (Permanent Fix) - Reduce cache expiration time
Increase Storage Monitoring
Clear Cache Manually (Temporary Fix) - Restart Dremio to force cache cleanup.
Adjust Cache Settings (Permanent Fix) - Reduce cache expiration time
Increase Storage Monitoring
<script type="text/javascript"> (function(d) { var f = d.getElementsByTagName('SCRIPT')[0], p = d.createElement('SCRIPT'); p.type = 'text/javascript'; p.async = true; p.src = '//assets.pinterest.com/js/pinit.js'; f.parentNode.insertBefore(p, f); })(document); </script>
This sharing for newbie to get started on the right direction.
Install dependencies
npm install --save \
@fullcalendar/rrule \
@fullcalendar/core \
@fullcalendar/daygrid
Example implementation
import { Calendar } from '@fullcalendar/core'
import rrulePlugin from '@fullcalendar/rrule'
import dayGridPlugin from '@fullcalendar/daygrid'
let calendarEl = document.getElementById('calendar')
let calendar = new Calendar(calendarEl, {
plugins: [ rrulePlugin, dayGridPlugin ],
events: [
{
title: "Afternoon for 3 days",
startTime: "12:00",
endTime: "16:00",
rrule: {
freq: "daily", // Every day
count: 3, // Repeat 3 times
dtstart: "2025-04-01", // Start from 2025-04-01
interval: 1
}
},
{
title: "Weekly Morning - Mon to Fri",
startTime: "12:00",
endTime: "16:00",
rrule: {
freq: "weekly", // Every week
byweekday: [0,1,2,3,4], // Mon - Fri
dtstart: "2025-04-13" // Start from 2025-04-13
},
exdate: ["2025-04-15"] // Exclude 2025-04-15
}
]
})
calendar.render()
The GetMessageContent graphClient.Users[_userId].Messages[eventId].Content.GetAsync()
endpoint of Graph API seems to work with an EventId
. You could use it to get the Stream
content and then convert that into string
to get the ICS.
I run pivpn -d
command and got that exists two issues. After fix them everything works propertly.
I will update this answer later, but I think VSCode Snippets could be used for this purpose
Do you resolve your problem? I meet the same problem.
use git clone --bare
, for example git clone --bare https://github.com/git/git.git
It would be easiest if you could post all of your code, especially since when it comes to key mappings in video game creation on Python you really need to read between the lines to find issues. I took a quick look but that doesn't these are the only issues you might be facing currently.
However, from looking at your code I can tell you this:
1. The reason there is no animation when you jump while not moving is because your self.action will always end up being 'idle'
Firstly, we look at the key mapping function you have called handle_event()
. We see that the 'A' and 'D' keys probably wouldn't affect you in this case.
Next we look at your jump. In this case, there don't seem to be any issues.
Finally, we look at your last condition. if self.moving == False:
, then self.action = 'idle'
. But we aren't moving, are we? Because you aren't moving, your self.moving
is False
. And because it is False
, that means the action will end up being your idle animation.
Let's go over how Pygame frames work. In each "frame," of the game, or while loop, it runs the functions it needs to run, and updates to the next frame. Because of this, your game will only update to the next frame after it has finished running your function. That's why you ultimately get 'idle'
as your animation state. It's the last thing in the function before the next frame update, and the conditions are right.
2. You see animation when you jump while moving that repeats indefinitely because you don't properly set your action.
if self.grounded:
, then self.action != 'jump'
. But in Python, the !=
is a comparison operator, not an assignment operator. That means it tells you if something is True
or not, but doesn't do anything. In fact, there is no way to set a variable to anything but one value as you have tried to do here. You would use !=
the same way you would use ==
in an if statement. It basically means "not equal" as in "if not equal".Now I'm going to attempt to "fix" your code. This answer is getting pretty long so I'll just add comments in your code instead of explaining everything. I don't know why but Stack Overflow set my codeblock to css and I don't know how to change it so the colors will be off. This code is to replace your `handle_event` function.
'''In your player object, create a new variable called self.jump_frame = 0'''
# New variable to change the states of the player object. Makes things more organized.
def set_action(self, action=None, direction=None, velx=None, vely=None): #Making variables default to None if not given when set_action() is called
self.action = action if action != None else self.action
self.direction = direction if direction != None else self.direction #This is basically an if statement crammed into 1 line. Feel free to expand it if you want. It basically reads "set self.direction to the variable direction unless direction is None, in which case set it to itself (so that it doesn't change)"
self.vel.x = velx if velx != None else self.vel.x #Same concept
self.vel.y = vely if vely != None else self.vel.y
def handle_event(self, event):
if event.type == pg.KEYDOWN:
if event.key == pg.K_d:
self.set_action(action='run', direction='right', velx=self.speed) #Call our new function
self.moving = True
elif event.key == pg.K_a:
self.set_action(action='run', direction='left', velx=-self.speed)
self.moving = True
if event.key == pg.K_w:
self.jumping = True
if self.jumping == True:
if self.jump_frame < 5: #You can adjust this and change this portion of the code depending on how you want your jump to work or to add more realistic jump momentum
self.set_action(action='jump', vely=10) #We jump for 5 frames, stop for the 5th frame, and then fall until we have hit the floor
elif self.jump_frame == 5:
self.set_action(action='jump', velv=0)
else:
self.set_action(action='jump', vely=-10)
self.jump_frame += 1
if self.grounded:
self.set_action(vely=0)
self.jumping = False
self.jump_frame = 0
elif event.type == pg.KEYUP:
if event.key == pg.K_d:
self.moving = False
if self.jumping == False:
self.set_action(action='idle', direction='right')
elif event.key == pg.K_a:
self.moving = False
if self.jumping == False:
self.set_action(action='idle', direction='left')
if self.moving == False and self.jumping == False: #Make sure that you are DEFINITELY not moving. Jumping is moving too, after all.
self.set_action(action='idle', velx=0)
As for your last question about downvotes, well let's just say that when people who are used to this platform see a response that doesn't follow the standard guidelines for questions (sometimes even if it's a newcomer), they will downvote the question. When downvoted, you lose reputation points. If you get enough downvotes on your question, your question will be automatically closed (or at least I believe so). You can check out the link Julien posted in the comment to check out the guidelines for question asking.
Try using an exclamation mark after the null. It's called a forgiving operator. Plenty web pages that explain it. The keywords are "exclamation mark C# null" in the appropriate search engine.
I am using the same API call but every time I get 202. How did you managed to get the response?
It’s “enqueue”, not “enque” ... check your spelling.
try setting env var PIP_USER_AGENT_USER_DATA
Are you using a() on other imports? For example in in past.py, you might be using function inside function that might lead to infinite loop
def past():
print("Inside past()")
a1() # This might trigger an infinite loop
If past.py imports mine.py or mine.py imports past.py you might be triggering something unwanted
I’m facing the exact same issue, but the percentage of failures in my case is much higher.
I’m using the Python client to upload/download/delete files from Google Drive, and I’m using service account credentials. It was working fine 4 days ago, but before 4 days I start receiving the connection timeout errors.
Have you found any solutions yet?
from graphviz import Digraph
# Criar o fluxograma da malha fechada de controle
dot = Digraph(format='png')
# Nós do sistema
dot.node('SP', 'Setpoint', shape='parallelogram', style='filled', fillcolor='lightblue')
dot.node('C', 'Controlador', shape='box', style='filled', fillcolor='lightgray')
dot.node('EFC', 'Elemento Final de Controle', shape='box', style='filled', fillcolor='lightgray')
dot.node('P', 'Processo', shape='ellipse', style='filled', fillcolor='lightgreen')
dot.node('S', 'Sensor/Transdutor', shape='parallelogram', style='filled', fillcolor='lightblue')
# Conexões do fluxo de controle
dot.edge('SP', 'C', label='Erro')
dot.edge('C', 'EFC', label='Sinal de Controle')
dot.edge('EFC', 'P', label='Ação no Processo')
dot.edge('P', 'S', label='Medição')
dot.edge('S', 'C', label='Feedback')
# Salvar e visualizar a imagem
fluxo_path = "/mnt/data/malha_fechada.png"
dot.render(fluxo_path, format="png", cleanup=True)
fluxo_path
Admin user be checked, and then you can use azure container registry using docker login. I think this is mandatory when using simple docker login to pull image.
I have just test using Managed identity, and have the same role as yours, and works well.
where is your gorm tag?read more about gorm docs please
For me, I was opening the .xcworkspace file. After I moved over to the.xcodeproj file and ran it, the messages started to show again.
That's a feature request on GitHub, see here Copy the .dSYM to the publish directory #15384 Open. You may follow up this feature request and get the latest updates.
The workaround now is to manually copy the .dsym file to the publish directory (bin\Release\net8.0-ios\ios-arm64\publish folder) since the .dsym file has already generated. This GitHub issue may also relate, Is it possible to embed DSYM (folder) in my IPA through Devops build?
For more info, please refer to Publish an iOS app using the command line.
### **6. إذا كنت تريد طريقة أبسط (بدون APIs)**
جرّب استخدام **مكتبة BeautifulSoup** لاستخراج الصور من صفحات الويب مباشرةً (لكن قد ينتهك شروط استخدام بعض المواقع):
```python
import requests
from bs4 import BeautifulSoup
url = "https://example.com/products"
response = requests.get(url)
soup = BeautifulSoup(response.text, 'html.parser')
# استخراج جميع صور المنتجات
product_images = []
for img in soup.find_all('img'):
product_images.append(img\['src'\])
print(product_images)
```
---
### **ملاحظة أخيرة**:
إذا لم تنجح أي من الحلول أعلاه، شارك معي:
1. **الخطوات التي اتبعتها بالضبط**.
2. **نص الخطأ الذي يظهر لك** (صورة أو نصًا).
3. **مثال عن الكود الذي كتبته**.
سأحاول مساعدتك في تحديد المشكلة بدقة! 🔍
I have the same problemit would be grate if somebody help us)
Mike M, successfully answered my question and debugged the current state of my project.
ParseError
s are in XML files, like layouts and the AndroidManifest.xml
. If it doesn't have the specific file listed in the error message, and you can't find it yourself easily by looking through each one, you might be able to catch it with code inspection: Main Menu > Code > Inspect Code…
Since I am using MVC .Net Core 9.0.3 I added the following code in my Program.cs file.
After that, no issue loading that specific file. I probably hit somehow the Form value count limit 1024 .
services.Configure<FormOptions>(options =>
{
options.ValueCountLimit = int.MaxValue;
});
try to run
yum install libffi-devel
before calling rvm
You need install the library before installing ruby
Not sure, but this might work. If you render it with conditionally by using
const { isLoaded } = useAuth();
Make use of isLoaded to stop render the component eg:
if (!isLoaded) {
// Prevent rendering until auth state is loaded
return null;
}
I've made some minor updates to my code, and it seems to be working now. However, I wanted to ask if there's a better way to handle the login configuration for AWSCognitoCredentialsProvider
.
Here’s my updated loginCognito
function:
private func loginCognito(data: AWSConfigData) {
let loginsKey = "cognito-idp.\(data.region).amazonaws.com/\(data.userPoolId)"
let logins = [loginsKey: data.idToken]
self.awsConfigData = data
printAWS(addition: "Login with Token:", message: "\(data.idToken)")
// If defaultServiceConfiguration is already set, update loginMaps
if let existingCredentialsProvider = AWSServiceManager.default()?.defaultServiceConfiguration?.credentialsProvider as? AWSCognitoCredentialsProvider,
let existingIdentityProviderManager = existingCredentialsProvider.identityProvider.identityProviderManager as? IdentityProviderManager {
existingIdentityProviderManager.setLogins(loginMaps: logins)
return
}
let identityProviderManager = IdentityProviderManager(loginMaps: logins)
let credentialsProvider = AWSCognitoCredentialsProvider(
regionType: data.regionType,
identityPoolId: data.identityPoolId,
identityProviderManager: identityProviderManager
)
// Set AWS default configuration
let configuration = AWSServiceConfiguration(
region: data.regionType,
credentialsProvider: credentialsProvider
)
AWSServiceManager.default()?.defaultServiceConfiguration = configuration
}
And my IdentityProviderManager
:
private class IdentityProviderManager: NSObject, AWSIdentityProviderManager {
private var loginMaps: [String: String]
init(loginMaps: [String: String]) {
self.loginMaps = loginMaps
}
func setLogins(loginMaps: [String: String]) {
self.loginMaps = loginMaps
}
func logins() -> AWSTask<NSDictionary> {
return AWSTask(result: loginMaps as NSDictionary)
}
}
Is there a better approach to updating logins
dynamically in AWSCognitoCredentialsProvider
?
Would it be more efficient to manage this differently, or is this the best practice?
Thanks in advance!
The problem should be shortcut conflicts.
After I've disable autokey
and press ctrl alt 0
, the bash show's (arg: 0)
.
I've search the Internet, this means that the readline
mode was triggered.
The autokey
can't work well due to this shortcut conflict.
After testing, I used .net 9.0 Maui to display the image on Android 15 with the following code, and there was no rotation problem.
You can refer to the following code snippet.
try
{
var photo = await MediaPicker.CapturePhotoAsync();
if (photo != null)
{
var newFile = Path.Combine(FileSystem.CacheDirectory, photo.FileName);
using (var stream = await photo.OpenReadAsync())
using (var newStream = File.OpenWrite(newFile))
await stream.CopyToAsync(newStream);
profileImage.Source = newFile;
}
}
catch (Exception ex)
{
Console.WriteLine($"CapturePhotoAsync THREW: {ex.Message}");
}
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
I met the same issue, after digging around for hours, nothing.
And when I let another guys try the link https://xx.xx.xx.xx:8443/, it works in their Chrome browser, the latest version. I use a old version of Chrome(131.0.6778.86-arm64).
Deleting the contents of the .vs folder in the solution fixed it for me. Did not delete the folder itself, just its contents. Cheers!
Om bale seembala ona telare chisamba pow
I asked the Angular Team about this. You can find their response here: https://github.com/angular/angular-cli/issues/29967.
This behavior is expected because the page is being prerendered when running ng build && yarn serve:ssr:dummyapp. To disable prerendering, set "prerender": false in your angular.json.
Just facing the same problem, so I solved to use the method with 'async' and 'await' into 'onBeforeMount'.
<script setup>
import { ref, computed, onBeforeMount } from 'vue';
const valueThatIsFilledInBeforeMount = ref('')
const deffer = async () => {
valueThatIsFilledInBeforeMount.value = 1;
};
onBeforeMount(() => {
console.log("onBeforeMount")
await deffer()
});
const myComputedProperty = computed(() => {
return valueThatIsFilledInBeforeMount.value + 1;
})
</script>
@SupportedOptions("my.arg")
public class MyProcessor extends AbstractProcessor {
then in maven-compiler-plugin
:
<compilerArgs>
<arg>-Amy.arg=yourvalue</arg>
</compilerArgs>
The code maintainers have helped fix this problem.
https://github.com/FasterXML/jackson-datatype-joda/issues/162
https://github.com/FasterXML/jackson-datatype-joda/issues/160
try to run
yum install libssl-dev
before calling rbenv
You need install the library before installing ruby
The error is in the line below:
sheetCount = result
The error message is also right (Type mismatch
), as the result
is an array and sheetCount
is an integer.
The error line should be changed to below:
sheetNames = result
So I got the same problem with psql on Windows 11. Changing lc_messages
to en-US
in postgresql.conf
(found in the PostgreSQL data folder) didn't affect anything.
I've made a system-wide environment variable LC_MESSAGES
and set it to en-US
and that did work!
Another way of doing the above is follow this article, in short:
table:has(tr > *:nth-child(1):hover) tr > *:nth-child(1),
table:has(tr > *:nth-child(2):hover) tr > *:nth-child(2),
table:has(tr > *:nth-child(3):hover) tr > *:nth-child(3),
table:has(tr > *:nth-child(4):hover) tr > *:nth-child(4) {
background: var(--col);
}
/* GENERIC DEMO STYLES */
table {
--col: #00f4;
--row: #0002;
border-collapse: collapse;
}
thead tr {
background: #0883;
}
table tr > * {
padding: 1em;
border: 1px solid;
}
tbody > tr:hover {
background: var(--row);
}
<table>
<thead>
<tr>
<th>First</th>
<th>Second</th>
<th>Third</th>
<th>Fourth</th>
</tr>
</thead>
<tbody>
<tr>
<td>1.1</td>
<td>2.1</td>
<td>3.1</td>
<td>4.1</td>
</tr>
<tr>
<td>1.2</td>
<td>2.2</td>
<td>3.2</td>
<td>4.2</td>
</tr>
<tr>
<td>1.3</td>
<td>2.3</td>
<td>3.3</td>
<td>4.3</td>
</tr>
<tr>
<td>1.4</td>
<td>2.4</td>
<td>3.4</td>
<td>4.4</td>
</tr>
</tbody>
</table>
You are absolutely right.
When calling the OCR method using the 'mistral-ocr-latest' model, if you send an image or a PDF with embedded images, all you get in the markdown property is a "".
I've tried everything imaginable, from running in batch, using the upload method and even sending them as base64 strings. Added payment info and changed to the pay-as-you-go plan. No luck.
I guess there's something wrong with Mistral OCR, a bug or it's simply a scam.
If you can use Mozilla Firefox [I'm using v136 because I like it seasoned, but I've used it in waaay older setups] you can open the file and after a few presses of F5 [refresh page] you can see it in full color and in interactive hierarchy at the "JASON" tab; there's also the "Raw Data" tab if you evolved eyes for machine code.
You can consider using LRC Generator (https://www.lrcgenerator.app/), an application designed to generate LRC files with accurate timestamps for song lyrics. Instead of manually recognizing each lyric using audio recognition techniques.
Julia is now officially supported on Colab.
Must be 10 months later perfect answer..
After looking through the Internet for what felt like a whole lifetime i stumbled onto a Github Issue for CrateDB and changed the port used by CrateDB to 5433 because PostgreSQL is installed and is using Port 5432.
Try with const string in timestamp()
drawVerticalLine(targetTime) =>
line.new(
x1 = targetTime,
y1 = low,
x2 = targetTime,
y2 = high,
xloc = xloc.bar_time,
extend = extend.both,
color = color.new(#f9961e, 10),
style = line.style_solid,
width = 1)
// Lines to Plot//
targetTime = timestamp('2025-03-24 06:54 GMT+0')
drawVerticalLine(targetTime)
I had this occur today in my spreadsheet. I found the easier way to work around it was to close the formula and re-enter into it.
I noticed when this bug occurred that the formatting of the text in the cell was odd (e.g. large dollar signs).
By putting in a change or two, submitting it (enter key), then re-entering the cell to edit the formula further, I was able to work around this bug.
I tested turning scroll lock on and off, neither made a difference. I didn't test closing Excel and re-opening, but that might work.
FWIW, I was putting in formulas with variables referencing cells on a separate sheet, and also using a lot of dollar signs to lock the cell in, e.g. $B$4.
Check out my answer here: https://stackoverflow.com/a/79547000/3220983 Which is arguably more on the nose for this question.
on my machine git does not --keep-empty by default. Is there a config setting I use \to switch it? something like
git config global rebase --keep-empty=TRUE
?
Might it be something related to your S3 bucket permissions. It might be possible that your S3 wouldn't allow for the Bedrock Nova model to access it. This would mask itself under the "your input is not valid". But I'm not sure. Hope this helps.
One can run into this error despite using Java version below JDK 21 for the project if the Project settings in IntelliJ was using JDK 21 to compile.
Here's an example:
The pom.xml has java level set to 17
The Module Settings show the level as 17
But the Project setting picked up the JDK 21 installed on my machine
Change the SDK to use JDK 17 and it should work fine
I love ian0411's answer. Elegant, concise and a sight to behold. Thanks.
Did not know that doing arithmetic on boolean values converted them to a number.
variable to resolve component not working in script setup you should be write in switch option
In $sqlcreate when you create a tables PRIMARY_KEY doesn't should be the last parameter?
I don't think phx-ignore
is a thing.
However, what you need is phx-update="ignore"
. Put that on the root div of your nested LiveView.
See here for more details: https://hexdocs.pm/phoenix_live_view/1.0.9/bindings.html#dom-patching
It was really helpful I tried to replicate it, but it seems it presents a problem when you use it in large text. In my case, I am trying to apply it to a short-story, but the cursor don't get down when you scroll it. Is it a way to resolve this?
var light = document.getElementById('light');
document
.documentElement
.addEventListener('mousemove', function handleMouseMove(event) {
light.style.setProperty('--light-position-y', (event.clientY - 50) + 'px');
light.style.setProperty('--light-position-x', (event.clientX - 50) + 'px');
});
body {
background-color: black;
}
.content {
position: relative;
z-index: 10;
}
#light {
width: 300px;
height: 300px;
border-radius: 50%;
position: absolute;
transform: translate(var(--light-position-x, 0px), var(--light-position-y, 0px));
background-color: rgb(231, 221, 122);
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./flashlight.css">
</head>
<body>
<div id="light"></div>
<div class="content">
<h1>Flashlight test</h1>
<p>
<p>Regresaba yo del Real del Espíritu Santo para la capital, cuando una fiebre amarilla, según la clasificaban los naturales de Cutzio, me detuvo en el pueblecillo de este nombre, situado a una legua de San Juan Huetamo, en el estado de Michoacán. En mi convalecencia conversaba algunas veces con el dueño de la casa en que me habían curado y que, por mi buena fortuna, era un rumbeador de minas, o lo que es lo mismo, un antiguo barretero aficionado a buscarlas.</p>
<p>—¿Qué tales minas conoce usted por aquí Manuel? –le preguntaba.</p>
—¡Válgame Dios, amo, todavía esta pinto jiebre y ya quiere minas! —¡Hombre,
para cuando sane! —Tengo dos o tres tuzeritos y una que creo ha de ser
güena. —Eso quiere decir que usted no la ha visto. ¿Tiene agua? —No, siñor.
No le hace agua, no más la que le entra por el arroyo. —¿Qué arroyo, hombre?
—Pos, siñor, el río que pasa por la puerta y que se mete como a su casa.
Dicen que es mina vieja y rica; por más señas, del año de diez. —¡Cáspita!
¿Pero qué se va a hacer con un río? — Eso si no sé, siñor amo. —¿Y qué otros
agujeros conoce usted? —Pos un joyo grande y jondo la Cueva del Cristo. —¿La
qué? —La Cueva del Cristo. —¿Qué cosa es eso, hombre? —Pos siñor, una cueva.
—¿Grande? —Jondísima, amo. —Hemos de ir a verla. —Güeno, cúrese y yo lo
llevo. Quince días más tarde, y por consecuencia del diálogo anterior,
encontrábame con Manuel frente a la entrada de la cueva, formada por un arco
de rocas negruzcas; marco en el cual se engastaba un agujero negro y lleno
de tinieblas. —¿Trae usted velas? –le interrogué. —Un puño –me contestó.
Penetramos en la oscuridad hasta donde fue posible, y después, encendiendo
dos velas, una para él y otra para mí, continuamos en medio de sombras
profundas y de nubes de murciélagos que, azorados, revoloteaban con ruido
siniestro a nuestro alrededor. —Mal agüero –murmuró Manuel haciendo la señal
de la cruz. —¿Por qué, hombre? —Porque los murciélagos son jijos del malo.
—¿De quién? —¿Pos de quién ha de ser?, del Diablo. Continuamos avanzando
entre las sombras que parecían moverse heridas por nuestras dos luces. El
piso estaba formado por una tierra floja, suave, untuosa y color de café.
Por su sabor picante, fresco y acre, comprendí que era tierra nitrosa. —No
la pruebe, amo –dijo mi compañero–, esa tierra tiene pólvora. Sonreí de su
candor y me detuve a examinar el lugar donde nos encontrábamos. Era una
inmensa oquedad en sentido longitudinal y como de unas doce varas de
latitud; su techo lo formaba una bóveda casi plana y bastante baja, de color
blanco mate, que marcaba la formación caliza del cerro. A medida que
penetrábamos, las tres dimensiones se ensanchaban de un modo asombroso, y
una hora después no se veía ni el techo ni las paredes de la cueva. Por
segunda vez nos detuvimos en un verdadero océano de sombras. —¿Qué hace?
–interrogué a Manuel, viéndole desenredar una cuerda y sacar una pequeña
piedra de su bolsa. —Saco la jonda para que rigule el tamaño de la cueva. Y
haciendo girar su brazo derecho con rapidez, armado con la honda, despidió,
casi en sentido vertical la pequeña piedra, que partió silbando. Fijé el
oído con atención y no escuché que la piedra chocase contra el techo.
Instantes después caía cerca de nosotros. La altura era profunda.
Entretanto, mi compañero había colocado en la honda una nueva piedra,
despidiéndola en sentido lateral contra el horizonte de sombras que nos
rodeaba. También se apagó el silbido de la piedra sin producir ruido ni
choque alguno. Esto indicaba que las dimensiones crecían con igual
proporción. Alguna inquietud debió revelar mi mirada, porque agregó: —No
tenga cuidado, amo, para salir tenemos nuestras juellas. Y era así en
verdad. Nuestros pasos estaban marcados en la tierra suelta y nitrosa, como
un surco hecho en arena. —Deme otra vela –dije y encendiéndola, porque la
primera se había acabado, continuamos. La atmósfera de la cueva estaba
húmeda y fría, llena de sombras y de silencio. De vez en cuando una gota de
agua, desprendiéndose del techo, producía un ruido metálico que vibraba en
la profundidad de la caverna. Llevábamos dos horas y media de marcha y
comenzaba a fatigarme. ¿Qué causa me obligaba a proseguir? Ciertas
tradiciones sobre aquella cueva, que hablaban de un tesoro oculto en ella
durante la guerra de Independencia, sobre lo cual creía tener ciertos datos
que consideraba exactos. Hace años que busco un tesoro o una bonanza, pero
con una ambición noble y santa. De aquí nacía aquella tenacidad empleada tan
sólo en nadar, por decirlo así, entre las sombras. La Caverna Negra, como la
llamaría yo, no tenía estalactitas, ni estalagmitas, ni nada que se le
pareciese. Era una abra de dimensiones colosales, húmeda, fría y nada más.
Pero como todas las obras que la Naturaleza nos presenta de una manera
grandiosa, se imponía a mi espíritu de un modo solemne. Aquello tenía algo
como la entrada a la Eternidad. Su silencio era profundo. Su enormidad era
elocuente. Abismo negro atraía con fascinación, produciendo lo que podría
llamarse el vértigo de la sombra. Se sentía uno como abrumado y se tocaba
los ojos, para convencerse de que no estaba ciego. Tenebrosa, llena de
misterios y con una belleza imponente, aquella cueva oprimía el espíritu por
una sola cosa: la sombra. Concisión formidable. Saqué un reloj viejo de
cobre, que marcaba las cinco de la tarde; llevábamos tres horas de marcha, y
se habían gastado seis velas, o tres por cada uno de nosotros. —Deme usted
otra vela –dije a Manuel, porque se acaba la mía. Este me la entregó,
dictándome, al tiempo que se estiraba una oreja, lo que denunciaba en él una
fuerte preocupación: —Es la última, siñor amo. Un sudor frió brotó de las
raíces de mis cabellos. Salir, recorriendo el camino en que se habían
gastado tres velas, con una sola, era más que difícil, ¡era casi imposible.
—¡Usted me dijo que traía un puño! —Un puño son siete, siñor amo. —¡Cuán
estúpido soy! –murmuré por lo bajo; ¿quién pensaba en el significado de la
palabra minera? Y después, en voz alta, y uniendo a la palabra la acción:
—¡Atrás! ¡Atrás!, pero aprisa o nos quedamos sepultados vivos. Y comencé a
desandar el camino hecho, con rapidez. Manuel me seguía, diciendo: “— En eso
estaba yo pensando, y mi pícara oreja lo ha pagado”. Yo no escuchaba. Con la
cabeza inclinada, y cubriendo con la mano la llama de la vela, para que el
aire no la gastase tan violentamente, caminaba con rapidez, siguiendo las
huellas marcadas en la tierra por nuestros pasos. No discurría, no pensaba
absolutamente nada; era la opresión de una idea, por decirlo así,
instintiva, la que me hacía caminar. ¡Salir, salir! era todo aquella
palabra. Salir era equivalente a la vida. Manuel marchaba detrás de mí,
fijándose con aire estúpido en no sé qué señales de proximidad a la puerta,
que yo no observaba, por no detenerme un solo instante. Marchábamos
rápidamente; pero con igual celeridad se consumía la vela. La cueva me
parecía eterna y negra y horrible. Había no se qué de siniestro en aquella
sombra que nos rodeaba, y que de espectadora se había convertido en
amenazante. La oscuridad era el peligro. Titán impalpable pero espantoso. Se
sentía uno como agarrar por una mano invisible, por lo negro. La vela entre
tanto se consumía... No sé qué tiempo marchamos así. —Debe de estar cerca la
puerta –dijo Manuel. —¿Por qué, bestia? —Porque ya empiezan los murciégalos.
En efecto, los asquerosos vespertilios pululaban, pero la vela se había
consumido y su pábilo agonizante se despedía quemándome los dedos.
Repentinamente se apagó. Saqué los cerillos. Prendía uno y avanzábamos.
Prendía otro y proseguíamos. Conforme se consumían, la esperanza de salir se
desvanecía, y era preciso que se acabasen, y con ellos el último recurso de
salvación. Cuando concluyeron, me detuve. Estaba bañado en sudor, y lo digo
con orgullo, no era de miedo sino de fatiga. —Sentémonos para descansar y
pensemos en los medios que puede haber para salir –dije en voz alta. Lo
hicimos así, en medio de las más profundas tinieblas; pero realmente
profundas, intensas, inconcebibles para todo aquel que no se ha encontrado
en una labor de mina profunda y sin luz. Soy franco, aun cuando parezca
fatuidad el decirlo: no he temblado nunca en mi vida, no he tenido miedo
jamás, no puedo comprender todavía lo que significa el terror. Pero en
aquella noche de tinieblas, oyendo el ruido acompasado y monótono de las
gotas de agua, el aleteo siniestro de los murciélagos y hasta los latidos de
mi corazón... sentía algo extraño, que me disgustaba, y que, repito, no era
terror. Era la mano de la muerte que me acariciaba, el presentimiento de la
agonía, el principio o la aproximación de ambas... pero lo repetiré
siempre... ¡no! ¡No era terror! Durante algún tiempo guardamos lúgubre
silencio. Por fin interrogué a Manuel: —¿Habrá algún modo de salir? —Vamos a
ver, amo. En esa ocasión la palabra ver me pareció el mejor y más bello
poema de la humanidad: ¡tres letras, pero qué elocuentes! Volvió a reinar el
silencio. Yo pensaba, pero no sé qué pensaba. Algo tan negro como las
tinieblas que me rodeaban. Más de una hora trascurrió así. —Morir
–murmuraba–, de hambre, de sed, y de estar bebiendo tinieblas. ¡Esto no es
doloroso... esto es estúpido! Entonces percibí ese ligero ruido que producen
los dientes al chocarse los unos contra los otros, y que se llama
castañetear, vulgarmente. —¿Qué diablos tienes, Manuel? —Pos, siñor, tengo
frío hasta en los huesos. —¡Calla, cobarde! ¡Lo que tienes es miedo! —Pos
siñor, eso de morirse de hambre... ansina no me gusta. —¿Pues cuál muerte te
agrada, bárbaro? –le dije, tuteándole de pura cólera. —¿Trae su mercé el
chisme? Esa palabra chisme fue un rayo de luz para mí. Saqué la pistola, que
a esto equivale, y la acaricié con verdadera ternura. —Hágame su mercé la
gracia de tirar por su frente, a ver si está lejos la pared. Era una buena
idea. Calcular la distancia por el choque de la bala. Amartillé y a la
altura mía, hice fuego. Sea que la puntería fuese muy baja, y la bala se
hundiese en la tierra, sin producir ruido, o bien que la detonación no lo
dejase percibir, lo cierto es que nada oímos. Pero lo que me causó una
tristeza infinita fue que apenas percibí el relámpago producido por el tiro.
—¡Ciego! –murmuré en voz baja–; ¡ciego, ciego, Dios mío! Esto no era
estúpido... esto sí era doloroso. No sé, ni recordaba quién me había
contado, que una tiniebla tan densa como aquella podía producir la ceguera.
¡Morir... proseguía yo en mi monólogo; morir, cuando me siento hombre, joven
y fuerte, lleno de actividades, de vigores, de sueños, y con una muerte
oscura, ignorada y estúpida! ¿Para qué transcribir todo lo que pensé? Hay
alguien a quien nada se oculta, que lo ha visto, que lo sabe y que lo ha
grabado de un modo indeleble entre las nubes de mis recuerdos. Hacía una
hora, poco más o menos, que Manuel había tratado de salir, siguiendo por
medio del tacto nuestras huellas; pero a corta distancia se extravió,
viéndose nuevamente obligado a permanecer inmóvil. Yo me ocupaba de hablar
con mi conciencia. El hambre y la sed, despertadas por la fatiga, comenzaban
a hacerse sentir. Las horas se deslizaban, pero de una manera lenta y
terrible. Las tinieblas no podían ser más densas. El silencio era profundo,
cortado algunas veces por el chillido desagradable de algún murciélago, que
con sus alas huesosas me acariciaba la frente al pasar. No era el principio
sino la plenitud del sepulcro. La inmensa tumba, como diría Víctor Hugo,
pero en la inmensa sombra. Las gotas de agua continuaban cayendo con fúnebre
monotonía. Entrar en la Eternidad; pero vivo, con toda la libertad de
movimientos, a plena conciencia, de un modo solemne, tranquilo, sereno, paso
a paso, pero con la frente altiva... tiene no sé qué de grandioso que me
hace aún estremecer de orgullo. Hallábame en la tumba, es verdad, pero ésta
era grande, dilatada, enorme. Siniestra concesión de aquel abismo, que me
había elegido para su víctima. Toda una caverna por sepulcro, ya era algo.
¡Sepultura de gigante, vasta, amplia, cómoda, y tal vez por esto, entre
aquella sombra traidora que había logrado asirme, y toda la miserable
tiniebla, que trataba de matarme, yo me sentía Titán! Cuando se espera, aun
cuando sea la muerte, el tiempo tiene una lentitud horrible. De pronto
Manuel comenzó a llorar. Yo acaricié el cañón de mi pistola. Nada más
doloroso que el llanto de un hombre, que como aquel, era enérgico y viril.
Le sobraba razón: tenía esposa e hijos y, sin embargo, yo tenía una madre
que es y será el culto de mi vida, ¡y no lloraba! Yo había perdido la noción
del tiempo. Mi conciencia estaba ya tranquila y sólo escuchaba el ruido de
las gotas de agua, que, como el péndulo de la eternidad, aproximaban cada
vez más mi hora de partir. En medio de los sollozos de aquel hombre le oí
murmurar con temblorosa voz: —Siñor amo... tengo sed... hambre, frío... y
sobre todo... miedo del Malo. —¡Cobarde –le grité–, lo que tienes es miedo
de morir! —¡Del Malo, siñor, del Malo! Y aquel infeliz, por el terror que le
inspiraban las tinieblas, no se atrevía a pronunciar el nombre del Diablo.
Francamente, era demasiado, y el destino se encarnizaba ya como un tigre. Yo
hubiera podido morir tranquilo, pero solo y sin escuchar aquellos lamentos
desgarradores. Por un movimiento que hice, febril e involuntario, mi pistola
me besó las sienes, pero la retiré... Su ósculo frío me dijo esta sola
palabra... ¿Y Dios? —¡Es verdad! –murmuré. Le había olvidado; pero él no se
olvida de mí. En mi espíritu él está y me oye, y me mira y me cuida.
¡Omnipotencia, Misericordia... Padre...guíame!... —¡Yergue tu frente en las
tinieblas –me gritó la conciencia–, no abandones a tu hermano, el hombre es
el sacerdote del hombre! Me puse en pie, y guiado por el ruido de los
sollozos, llegué en algunos minutos junto a Manuel, hablándole en voz alta,
para que no se asustase más de lo que ya lo estaba el infeliz. Apenas estuve
a su lado, cuando se estrechó contra mí, tembloroso. Sus manos estaban
heladas y sus dientes castañeteaban con terror. —¡Vamos!, ¿por qué ese
miedo?, ¿qué tienes? —¡Mire, amo, mire! Yo abrí los ojos desmesuradamente;
pero por más esfuerzos que hacía, no pude ver. —¿Qué he de mirar, hombre?
—Esa sombra, siñor... aquí en nuestros pies... antes era una, y ahora ya son
dos... ¡Mire! Fijé nuevamente los ojos en la dirección indicada, y en
efecto, percibí, con mucha vaguedad, dos sombras que mal se delineaban a
nuestros pies. —¿Qué diablos será esto? –dije en voz alta y fijando más la
atención. —¡No los miente, amo!... ¡no los miente! —¡Cállate, animal!
¡Observaremos lo que pueda ser! Al arrodillarme en el suelo, para
examinarlas más próximamente, una de las dos sombras disminuyó. Después
observé que todos nuestros movimientos eran por ellas fielmente
reproducidos. Es evidente –me dije–, que estas sombras las producen nuestros
cuerpos, pero ¿por qué claridad? Y girando sobre mi mismo para observar, caí
repentinamente de rodillas... ¡Dios!, cantó el alma en mis labios, al ver a
mi frente, y como a unas doscientas varas de distancia, la boca de la cueva
que se inundaba con esa tenue, dulce y poética claridad del amanecer. Decir
lo que sentí y lo que en ese momento pensé, ¡oh, sería imposible! Salimos
violentamente Manuel y yo. La salida de la cueva me parecía una entrada a la
gloria. El cielo estaba de un color azul pálido, y las estrellas también
comenzaban a palidecer. En un punto el horizonte se teñía de púrpura, e
imitando en las montañas lejanas una erupción volcánica, arrojaba sobre los
cielos un inmenso penacho de llamas, en que parecía haberse disuelto en
polvo el oro virgen. Entonces aquel grito supremo en el que se exhalara el
alma de Goethe, brotó de mi pecho con toda la fuerza de mis pulmones:
¡Luz... más luz todavía, Dios mío!
</p>
</div>
<script src="./flashlight.js"></script>
</body>
</html>
I compiled lz4 into a plv8 extension to work around this :)
นั้นแหละที่ทำไมผมจึง"ไม่ลบส่วนหัว"ออกเพราะมันคือหลักฐานชั้นดีสำหรับผู้แอบอ้าง สวมรอย ขโมยเปลี่ยนแปลงการเข้าใช้บัญชีของผมมันจะมีผลในชั้น"ศาล"เมื่อเรียกหาข้อมูลหลักฐานครับ
(นาย อนุรักษ์ ศรีจันทรา)ผู้ให้ข้อมูลและเจ้าของบัญชีใช้งานเข้าใช้
Spark supports using volumes to spill data during shuffles and other operations using PVC.
Rte_read does not inherently guarantee that the data is available or up-to-date after the function call execution.
If you want the latest updated data to be available immediately after the RTE function call then it is recommended to use the rte_iread function. It ensures the read operation is complete before subsequent operations and also prevents compiler optimizations that might reorder memory operations. As you were using Rte_read which is unsynchronized and the data might not be available after the Rte_read execution call without any synchronization mechanisms.
In general, it is best not to use global variables across Software Components (SWCs) as it violates the AUTOSAR architectural principles of encapsulation and modularity.
If you want to adapt the legacy code to the AUTOSAR standard then,
Option 1: Use a shared data approach as both SWCs might reside in different partitions/ cores. You can create an independent SWC to store the shared data and map P and R ports accordingly to access it from multiple SWCs.
Option 2: Use NVRAM services and store common data in NVRAM blocks. You can access them via NvM_Read/NvM_Write APIs.
I know this post is very old, but I wanted to suggest you and others looking for a similar visual tool give dagit a try.
Check visual-fill-column, a new package: https://codeberg.org/joostkremers/visual-fill-column
You need the following Polygon
elements in the Button
element in your XAML code:
<Polygon x:Name="TopTriangle"
Points="0,0 15,0 15,15"
Fill="Green"
Stroke="Cyan"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="3"/>
<Polygon x:Name="BottomTriangle"
Points="0,0 0,15 15,15"
Fill="Cyan"
Stroke="Cyan"
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
Margin="3"/>
Consider inverted cartesian product, top triangle points are:
And bottom triangle points are:
As is printed in your 2nd link
An iteration statement whose controlling expression is not a constant expression,156) that performs no input/output operations, does not access volatile objects, and performs no synchronization or atomic operations in its body, controlling expression, or (in the case of a for statement) its expression-3, may be assumed by the implementation to terminate.157)
The program exhibits undefined behavior as your loop happens to meet all of those conditions. Returning 0 instead of having is one form of undefined behavior.
It sounds like your real question is: "how can I protect myself against this footgun?" Unfortunately you already know the answer (static analysis, unit tests, etc). Unfortunately (for most of us), the C++ standard committee decided that the potential optimizations opened up by this assumption are worth the footgun. Short of C++ adopting a profile that would prohibit you writing such a loop (note, I didn't see a proposal for this particular issue in several profile lists I looked at), I don't see a good solution other than the ones you propose.
You have
You can create
and use
I haven't figured it out but for all intents and purposes what worked for me was using Phasers Dom Element with Solid.js and that places what I want in the sprite's x and y coordinates and moves along with the canvas when the camera moves.
While looking for a more space-efficient binary-to-text encoding I came across Base122. I’ve not played with it in detail but it seems to be a viable alternative to Base64.
Its now March, 2025 and Ive found myself in the exact same situation. I have two samples that are both HEVC with audio, and oddly enough they start each Iframe with 00 00 01 FC
, subsequent frames indicated by 00 00 01 FD
, and audio frames with 00 00 01 FA
.
Ffmpeg, VLC, MediaInfo, and myself - all hate these files. Ive got some code set up thats properly extracting each frame by type, but when running tests the single first Iframe, I see only a slim bar at the top of the image containing scrambled video data. The rest of the image is just green..
After much trial and error, Ive noticed that i can remove certain bytes from the header and get more scrambled video data to replace the green, but still no luck on a solid image. Similarly, my first thought was to remove the proprietary 00 00 01 FC
bytes, but that usually results in a worse output.
1. What was the "dodgy site" you used?
2. So your first frame should include the 00 00 01 FC
but the subsequent frames should not?
3. My file extension is ".dcr", but I do not have access to the camera, the dvr, or anything other than the file itself.
For anyone still reading, here's a chunk of the top of my file. This is the Iframe header im looking at.
00 00 01 FC 02 00 00 00 00 00 00 00 81 1B 00 00 00 00 00 01 4E 01 F0 40 50 54 00 00 00 00 00 00 00 00 00 00 09 B4 00 00 60 06 6A 64 00 00 00 00 31 F0 AA 0D 14 40 1E 03 84 0F 26 78 F0 CA 35 00 00 00 0C 0C 00 00 00 00 00 80 70 00 00 00 00 00 04 00 00 00 04 10 00 00 80 00 00 00 01 40 01 0C 01 FF FF 21 40 00 00 03 00 90 00 00 03 00 00 03 00 78 25 02 40 00 00 00 01 42 01 01 21 40 00 00 03 00 90 00 00 03 00 00 03 00 78 A0 03 C0 80 10 E5 9E 96 E4 4A 17 35 01 01 01 04 00 00 03 00 04 00 00 03 00 30 20 00 00 00 01 44 01 C0 F7 C0 E6 D9 00 00 00 01 26 01 AC 43 11 15 E8 75 DC DF 33 AB BF 5B A7 C5 B3 E4 27 C4 1F 8B FC A5 42 4C 7F 8B BF 10 FB DB 46 0F 8F 6A CD 0D 44 38 1A F9 B2 5B 10 09 54 55 75 AB 30 D6 CF 07 7A C5 DA 78 22 51 58 E5 D7 3D 8E 95 0B 5D 25 79 A7 48 4C DA 71 AE 97 4F 62 09 69 F4 9F CB C3 B2 FD BE 66 23 5B 02 2C F2 5C 4C 84 8C B2 EE C6 3B 3F DD 25 36 48 . . .
There was a change last month to add ESM support to Thrift, but it hasn't been released yet. If you're feeling adventurous you could try building Thrift from source.
I think the issue here is that the error message is related to the object instance A and not to its component ".Field1". I am not aware an instance of UDT created with .new() build in function can be type simple. So this way I think you cannot create in any way simple type with UDT instance. The community may proove me wrong.
hope this helps