input
stringlengths
0
131k
created_at
stringlengths
26
26
i am working on the same problem. this code generates a valid stl file from a 2d numpy array of heights. the key is the scikit marchingcubes which is an idea i got from a medium article that i can't seem to find to cite my source. [CODE]
2024-02-14 22:46:57.647000
please help looking for the excel formula: the column a have the same value, column b is qty, combine in text with '+' in column d, the column c is a,b,c, sample picture below, the column d is in text.
2024-02-28 07:38:40.163000
here is a sample implementation of [CODE] in angular 17, i followed the getting started guide and it works great! main.ts [CODE] stackblitz demo reference stackblitz that was used(not by me)! to perform lazy loading, we can use the below code! [CODE] stackblitz demo for modules please do the below changes! code [CODE] stackblitz demo
2024-02-12 08:38:12.110000
### dependencies check up - [x] i have verified that i use latest version of all [USER]/* packages ### what version of [USER]/* packages do you have in package.json? 7.6.2 ### what package has an issue? [USER]/form ### what framework do you use? next.js ### in which browsers you can reproduce the issue? chrome ### describe the bug i want to achieve the functionality based on below: [CODE] i want to reuse the same form for different initialobj. however, when initialobj changes, the form does not change the values. just to provide a reference, in react hook form, there is a way to support reactive udpates. [LINK] ### if possible, include a link to a codesandbox with a minimal reproduction _no response_ ### possible fix a way of achieving this could be to use useeffect, and listen for props changes. based on props changes, call the form.setvalues method. however, if there is some children using form, that does not get notified with this hack, since setvalues is a in-place update to the form. is there a proper way of achieving this. ### self-service - [ ] i would be willing to implement a fix for this issue
2024-03-31 06:23:12.000000
i have made a pyqt5 app to test the microphones. i used pydub and pyaudio modules for this scope. i also plot the microphone data with matplotlib. i have a qdialog, which run an emitter to communicate with the qdialog and multiproccessing to read from pyaudio input stream. when from my ui i choose to normalize the microphone sound then there is noise when i don't speak. also in this case after some minutes the application crash with this error: [CODE] the error has something to do with plot data. if i comment this line: [CODE] then there is no application crash. relative code: [CODE]
2024-03-19 09:52:26.477000
given directory trees: [CODE] [CODE] your command will result in the latter becoming: [CODE] to exclude only the top level [CODE] directory, you can use the [CODE] option, as other answers state, but you also need to provide an anchored path: [CODE] giving: [CODE] from the manpage: [CODE]
2024-03-07 02:03:51.753000
it's safe to say that your answer is not the solution. a loop over a single row built from two input parameters, one of which ([CODE]) not being used at all. makes no sense. burns down to just: [CODE] if that's not it, clarify your ambiguous task description.
2024-03-10 01:18:29.530000
the other instructions were not clear to me. when it said this i thought it meant inside the tortoisesvn not inside file explorer. also adding screenshots so it is clear. [CODE] the settings for tortoisesvn are difficult to find now if you do not know where to look. there is no file menu in tortoisesvn. there is no right click options setting option inside tortoisesvn. open file explorer. go to this folder. there is a settings option there. c:\programdata\microsoft\windows\start menu\programs\tortoisesvn [LINK]> [url=[LINK]> open file explorer. right click a file in explorer. you will see a tortoisesvn menu. then click settings. [LINK]> [url=[LINK]> [LINK]> then you can follow the instructions that were mentioned in the other post. try the following: right click in any folder, go to "tortoisesvn" on the context menu; select "settings"; in the settings box, locate the item called "saved data"; click the "clear" button that sits next to "authentication data"; from here [LINK]>
2024-03-14 21:15:28.860000
the meal period should be a custom slot type with an exhaustive list of possible values e.g [ breakfast, brunch, lunch, dinner, supper ] the day slot depends on what you want to capture. if you need a date, so that you can look it up or store it, you can use the amazon.date slot type. it understands today as well as many other ways of inputting dates, and resolves them all to a date, which you can then parse in your handler. for your locationname slot if you can predict the range of possible values, either up front or dynamically, then you can use a custom (possibly dynamic) slot type with that range of values. if you need to accept unpredictable values like school , "joe"s diner" or the pizza place then you will have to use a slot type like amazon.searchquery to get the raw input, then parse the value in your code. you might have to experiment and restructure your intent, because sq slots can be tricky to work with. you may get better results if you make it the last slot rather than 2nd of 3.
2024-02-27 17:52:55.777000
i am interested in utilizing the sphero bolt robot for my research. my goal is to establish a connection between the bolt and ubuntu using bluetooth, and program it using python. since the bolt utilizes a specific ble protocol for connectivity, it cannot be connected through regular bluetooth channels, and i haven't been able to find the protocol online. has anyone successfully connected the bolt with any operating system (windows, linux), excluding the edu app? what initial steps should i take to enable this connection? are there any python libraries available to support programming the bolt? i've successfully established a bluetooth connection with the sphero mini and employed the sphero_mini library and the testing scripts work. but bolt i do not know how to connect it.
2024-03-25 16:40:40.050000
when i'm creating a quarto dashboard i sometimes need to adjust some layout using [CODE] code. for the following dashboard we use some css to adjust the size of the values in a valuebox. the problem is when we use css in a code chunk and place this at the top of the document, there appears white space between the header and the body of the dashboard. here is some reproducible code: [CODE] output: as you can see there is a big white area between the header and the body of the dashboard. this even happens when we use [CODE] for the css code. i tried to use this answer: <a href="[LINK] white space between header and body</a>, but this doesn't work unfortunately. so i was wondering if anyone knows why this happens and how we could prevent the white area?
2024-03-20 15:21:49.440000
i am new in spring. i am getting this error. o.s.boot.springapplication : application run failed. please help me to fix this problem. and i'm using intellij idea. database using mongodb. here is my log: [CODE] my pom.xml file: [CODE]
2024-02-23 11:04:52.997000
[CODE]
2024-03-31 20:00:29.000000
[CODE] explanation this javascript function iterates over each child node of the element. if the node is a text node (i.e., contains only text content), it appends its text content to the text variable. finally, it sets the innerhtml of the element to the concatenated text content, effectively removing all html tags.
2024-02-29 06:56:06.913000
## cve-2020-1753 - medium severity vulnerability vulnerable library - ansible-2.9.9.tar.gz radically simple it automation library home page: found in base branch: main vulnerability details a security flaw was found in ansible engine, all ansible 2.7.x versions prior to 2.7.17, all ansible 2.8.x versions prior to 2.8.11 and all ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. this will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files. publish date: 2020-03-16 url: cvss 3 score details ( 5.5 ) base score metrics: - exploitability metrics: - attack vector: local - attack complexity: low - privileges required: low - user interaction: none - scope: unchanged - impact metrics: - confidentiality impact: high - integrity impact: none - availability impact: none for more information on cvss3 scores, click release date: 2020-03-16 fix resolution: 2.9.10 *** :rescue_worker_helmet: automatic remediation will be attempted for this issue.
2024-03-31 05:18:51.000000
imagine i have such a class in a wpf solution: [CODE] the constructor parameters get resolved by [CODE] in [CODE] via this code: [CODE] what are best practices to initialize and work with fields in [CODE]? so far i'm doing this: make [CODE] a nullable [CODE], initialize it as [CODE], override that unused value and use it as [CODE] all the time create an [CODE] method, call it from an ugly [CODE] in [CODE] when [CODE] is built to query the database and hope my collegues don't forget it do i miss any better method?
2024-02-06 14:41:30.083000
this matching input keywords with historical or information domain is an important point in modern computations in order to find the best match information domain for specific input queries. matching algorithms represents hot area of researches in computer science and artificial intelligence. in the area of text matching, it is more reliable to study semantics of the pattern and query in terms of semantic matching. this paper improves the semantic matching results between input queries and information ontology domain. the contributed algorithm is a hybrid technique that is based on matching extracted instances from booth, the queries and in information domain. the instances extraction algorithm that is presented in this paper are contributed which is based on mathematical and statistical analysis of objects with respect to each other and also with respect to marked objects. the instances that are instances from the queries and information domain are subjected to semantic matching to find the best match, match percentage, and to improve the decision making process. an application case was studied in this paper which is related to renewable energy, where the input queries represents the customer requirements input and the knowledge domain is renewable energy vendors profiles. the comparison was made with most known recent matching researches.
2014-02-17 09:29:02.000000
i'm using kivy==2.2.1 and kivymd==1.0.2 because new version was creating problem in loading tha graphics in android after the apk build. now i'm facing the problem with the mddatatable, any accidental tuch on the header popups tha header name and it stays in all my screens. i want to disable it but can't find a way.
2024-03-21 04:15:18.617000
to make a multibyte-safe, full word replacement, use word boundaries when making an initial match with [CODE], then implement a counter variable to assist in synchronizing the replacement casing with the found word's casing. this implementation avoids fumbling with excessive loops and multibyte function calls. the first regex will isolate full words. the second regex will read each letter of the match and simultaneously determine if it is an uppercase character or something else -- this dictates whether the corresponding replacement character should be made uppercase. code: ( demo ) [CODE] output: [CODE]
2024-02-11 03:08:57.603000
hello respected friend, your environment file seems a bit odd, and i can't even use pip to install some of its contents. ca-certificates=2023.05.30=h06a4308_ does not seem to be the correct format for installation packages. ![2024-03-22 220258]([LINK])
2024-03-31 11:38:29.000000
in laravel 5.7, i am attempting to expose a route in the api that uses the built-in session and authentication features of my laravel app to guard against people using it who do not have a current session in the web app. a separate application on a different domain is to call this route via a fetch request. if it comes from a browser with a current session in the laravel app, it should pass; otherwise, it should 401. here is some relevant code that i am trying: the routes: [CODE] special cors middleware to allow the cross-origin fetch request to pass all cookies: [CODE] validate cookie token middleware, attempting to assess if a user is authenticated: [CODE] when i hit this route with my fetch request from localhost, i set [CODE] and can confirm that the session cookie and the xsrf-token are successfully attached as part of the cookie header. my cors middleware is working well. it fires the callback and does not return the cors error in the browser. however, it always [CODE] fails, and it returns unauthorized even though in the same browser, i have no problem navigating the routes of the web app. why do my cross-origin fetch requests to api fail when i have an otherwise valid session? what am i missing?
2024-03-28 15:26:13.383000
it appears that you are looking to access the attachment from arcgis field maps. as correctly pointed out in the esri community discussion, the attachments are not directly available through the arcgis connection on make/integromat. however, they can be accessed through an api call set up through integromat. let me know if you have any questions.
2024-02-20 13:31:37.187000
i've been working on this processing project for a couple days and have a couple questions. first i'll show you where i started and how i got to where i am. i first began by using a variation of the a algorithm to randomly generate mazes as seen below. a depiction of the maze: i divide the window into even cells, and give each one four walls, and let the a algorithm do its thing. it gives the result you see above. next i decided i wanted to have more dynamically shaped and placed rooms, so i took advantage of how all the cells are evenly spaced, and placed a room of random size, at least half the size of a cell, and at most the size of a cell. the result can be seen below. using the cells to make rooms: for clarification, red lines indicate a solid wall, and green represents doorways. now while i could generate hallways in-between each room, to connect them in the shape of the maze, i believe that this could create unnecessarily long walks in-between rooms. i decided to add a section to the part of the algorithm that moves the random walker, so that when it creates a new room, it moves it closer to the room it moved from. once again i present the results below. moving the rooms closer together: as you can see this presented some obvious errors in the map generation. the arrows i drew point to two rooms that should be connected as you can see by their respective coordinates (7, 7) - (7, 8). i then realized that when the walker moved up for example, not only would i have to move that room down, but i may also have to move left or right, after fixing this simple oversite everything was looking good, until i realized a couple of the rooms overlapped. rooms sometimes overlap: in the image above i highlighted some of the overlap. i thought of a few ways i could solve this issue. maybe i could have all the colliding rooms shrink their size little by little? but this would only work if they weren't intersecting over their position coordinate. maybe i could move them away from each other? this might cause their partner rooms to become disconnected resulting in the whole thing needing to be moved around. maybe even multiple times over. this dilemma is my first question. [CODE] [CODE] [CODE] if you see any way for me to optimize this please let me know, i am open to any and all suggestions. especially suggestions related to writing code in a way that's easier to understand from outside eyes, and easier to make sense of. do keep in mind i am entirely self taught and it is likely i don't know things that i probably should by the time i'm attempting a project like this, so i apologize if the answer should be obvious. to all those who read this far and answer: seriously - thank you! i've been stuck on this for a while and haven't been able to make any progress and i can't get it out of my mind.
2024-02-17 09:14:29.547000
i was trying too hard to make them all consistent.
2024-03-31 21:56:29.000000
i try to deserialize a json response: [CODE] this is the json we get from the endpoint: [CODE] but it fails deserializing: microsoft.aspnetcore.components.webassembly.rendering.webassemblyrenderer[100] unhandled exception rendering component: the json value could not be converted to system.collections.generic.dictionary[CODE]1[system.string]]. path: $[0].key | linenumber: 0 | bytepositioninline: 20. i don't know where to keep trying. the json seems valid to me.
2024-02-13 10:11:41.150000
i have a dofile and i want to convert to a pdf. my idea is that even people that do not have access to stata can see the codes that i wrote. i tried this [CODE] and found this: varlist not allowed [CODE] is also not working
2024-03-05 10:20:38.633000
i'm currently working on a spring boot project where i have several rest endpoints defined within a controller class. while implementing these endpoints, i started wondering about the best practices for organizing code within these controller methods. specifically, i'm curious about the amount of code that should ideally be contained within a single controller method to maintain clean and readable code. should each method strictly be a one-liner delegating functionality to service layer methods, or is it acceptable to have more complex logic within the controller methods themselves? for example, consider the following method from my personcontroller class: [CODE] i understand that this level of code organization is generally considered clean, but i'm uncertain about the acceptable amount of logic that can be included within a method while still adhering to the principles of clean code. what is the recommended approach for determining the threshold of complexity within controller methods? i'd appreciate any insights or best practices regarding the organization of code within spring boot rest controllers. thank you!
2024-03-14 19:27:36.423000
as you mentioned in your comment checking if the user has permission is the easiest route to go. admins = 'manageoptions' but you can make it available for editors using 'editothersposts'. [CODE] would the below code be correct? [CODE]
2024-03-26 18:18:46.870000
neural inductive program synthesis is a task generating instructions that can produce desired outputs from given inputs. in this paper, we focus on the generation of a chunk of assembly code that can be executed to match a state change inside the cpu and ram. we develop a neural program synthesis algorithm, autoassemblet, learned via self-learning reinforcement learning that explores the large code space efficiently. policy networks and value networks are learned to reduce the breadth and depth of the monte carlo tree search, resulting in better synthesis performance. we also propose an effective multi-entropy policy sampling technique to alleviate online update correlations. we apply autoassemblet to basic programming tasks and show significant higher success rates compared to several competing baselines.
2019-10-13 23:44:37.000000
when on any(?) page except the home page, i am able to scroll beyond the footer. how does that even happen? ![image]([LINK])
2024-03-31 22:52:39.000000
in [[CODE]]([LINK] ), v2ray 🇺🇸 united states usf 3 ([LINK]/) was **down**: - http code: 0 - response time: 0 ms
2024-03-31 21:50:24.000000
you do need to compare each row's [CODE] value with all the rows that come after it, so some amount of iteration is necessary. you can do that with [CODE] and a function using numpy to find the first value which meets the change requirement of 100 or -100: [CODE] output: [CODE]
2024-03-23 06:14:39.820000
make sure that you are uploading csv file instead of xlsx. i have faced same problem but later i got to know that i was uploading .xlsx file. enter image description here
2024-02-23 10:11:58.927000
## (스터디 회차 : day 13) 날짜 : 2024-04-07 ### (문제 출처 : [ltc] - top-interview-questions : add two numbers) [ltc) 2. add two numbers]([LINK])
2024-03-31 01:39:29.000000
i'm building a video editor where i can trim multiple clips and adjust the videos by cropping each clip. for example the first clip is centered in the middle and the second clip would be centered at the very right (for more details it's to crop a vertical format from a landscape video). and the goal is obviously to merge every clip in the end into one video. i currently use this to trim and crop.: [CODE] an idea i had was to loop my [CODE] [CODE] and trim/crop but then to concat i don't really know if that exists :/ i'd love to have some help with that, and please ask me if you need more details on the code thanks in advance !
2024-03-18 16:14:18.627000
- [x] button - [x] loadingwheel - [x] networkimage - [x] searchtextfiled - [x] topappbar(보완 필요)
2024-03-31 03:32:42.000000
reproducing published deep learning papers to validate their conclusions can be difficult due to sources of irreproducibility. we investigate the impact that implementation factors have on the results and how they affect reproducibility of deep learning studies. three deep learning experiments were ran five times each on 13 different hardware environments and four different software environments. the analysis of the 780 combined results showed that there was a greater than 6% accuracy range on the same deterministic examples introduced from hardware or software environment variations alone. to account for these implementation factors, researchers should run their experiments multiple times in different hardware and software environments to verify their conclusions are not affected.
2023-12-11 18:51:13.000000
the settings are set to copy. the advanced edit shows: [CODE] these did copy over to the production slot. but aren't the production settings supposed to copy over to the dev slot?
2024-02-05 22:13:08.167000
i have two pieces of script that both remove text from a google sheet. both scripts are on their own trigger when sheet is updated, but theyre both trying to edit the same cell and its only applying one of the functions. oringinal cell text example: from: leigh-on-sea, ss9, uk building no. street & postcode: 123 street address uk distance: 0.7m duration: 4 min function to remove text before postcode: [CODE] function to remove text after distance: [CODE] both functions work as expected when run separately, but when a new enrty is sent to the sheet, it only applies the first trigger/script. i need to merge the scripts together for a single trigger. i tried editing a bit of the script a few way to figure it out myself, but failed.
2024-02-15 16:17:30.863000
i encountered the same problem with python 3.11. the error goes away using an older version ( 3) of pylint.
2024-02-21 18:51:06.620000
i'm using parselatex from sympy to parse and print latex expressions as output, but some math symbols doesn't seem to render correctly. the below example provides gradient operator symbol, [CODE] the output is a string rather than the math symbol [CODE] does anyone suggest what might be the issue with this? any better way to parse latex expressions to have unicode pretty printer in terminal?
2024-03-04 08:59:38.130000
your question has already been answered on the highcharts forum q: animation on show/hide of a chart a: the simplest way is to render the chart again on click: [LINK]> solution [CODE] to apply this solution to your code you need to save the chart in a variable when you initialize it. for example you could return it within your [CODE] function. then call [CODE] on the reference and set a new one on the variable. there are multiple ways of implementing this solution. your approach wasn't clean and easy for me to read. i recommend sticking to what the linked solution does: separate function for the chartoptions using only one container for your chart documentation for highchart.chart#destroy for the sake of already diving to deep into this and to avoid further discussion - this code should work within your local environment. please keep in mind that online live editors might not work as explained in this forum post. [CODE] [CODE] [CODE]
2024-03-08 15:36:54.937000
cloud computing, despite its inherent advantages (e.g., resource efficiency) still faces several challenges. the wide are network used to connect the cloud to end-users could cause high latency, which may not be tolerable for some applications, especially internet of things (iot applications. fog computing can reduce this latency by extending the traditional cloud architecture to the edge of the network and by enabling the deployment of some application components on fog nodes. application providers use platform-as-a-service (paas) to provision (i.e., develop, deploy, manage, and orchestrate) applications in cloud. however, existing paas solutions (including iot paas) usually focus on cloud and do not enable provisioning of applications with components spanning cloud and fog. provisioning such applications require novel functions, such as application graph generation, that are absent from existing paas. furthermore, several functions offered by existing paas (e.g., publication/discovery) need to be significantly extended in order to fit in a hybrid cloud/fog environment. in this paper, we propose a novel architecture for paas for hybrid cloud/fog system. it is iot use case-driven, and its applications' components are implemented as virtual network functions (vnfs) with execution sequences modeled s graphs with sub-structures such as selection and loops. it automates the provisioning of applications with components spanning cloud and fog. in addition, it enables the discovery of existing cloud and fog nodes and generates application graphs. a proof of concept is built based on cloudify open source. feasibility is demonstrated by evaluating its performance when paas modules and application components are placed in clouds and fogs in different geographical locations.
2020-01-17 18:42:02.000000
i deployed the function using visual studio 2022 instead of visual studio code, and it worked.
2024-02-10 09:57:38.497000
i get this when trying to compile runnable jar file: [CODE] the code for for the texture class is: [CODE] i was trying to load a 3d graphics texture (both dont work) by using the loadbitmap method. it did not work and pointed to this line: bufferedimage image = imageio.read(new fileinputstream(filename));. it worked in eclipse ide but a exported runnable does not work. i have refrenced the res files and tried writing [CODE], [CODE], [CODE], [CODE] does someone know what is wrong with my code?
2024-03-13 09:37:17.717000
is there a way to issue a certificate to sign an internal company app (.net framework) so that it is trusted and does not raise warnings during deployment? is there a way for example for users to add/trust a self-signed certificate? the windows defender keeps raising a warning every time the app is installed and updated and users have to manually click to run. i have tried to add the certificate to a user's trusted certificates manually.
2024-02-24 17:44:37.213000
i'm writing a program with python. it has a login and i want to use bcrypt but it's not working. instead, it shows the following error message: attributeerror: type object 'bcrypt' has no attribute 'checkpw'. did you mean: 'checksum'? it also showed an error message when i used [CODE] instead of [CODE]. so i changed that. here is my code: [CODE] i reinstalled bcrypt, i reinstalled anaconda3, i checked if the folder was named bcrypt.py
2024-03-20 12:27:58.280000
i trigger python script in bash shell.the results of python script is number. i need this number as variable in bash and i want to use it to url in curl command. here are exemplary data but i want to explain what i mean: [CODE] output: [CODE] but when i write manually this number i mean: [CODE] i get right output. i wonder because i run this curl command on jenkins where whole script is writing in the bash. but this python script which i trigger, it uses json file which obtained from earlier command curl, for example [CODE] and if i trigger jenkins job using my repo (where file.json is saved on my repo) this curl command: [CODE] is working but if i use this file.json from jenkins workspace then this curl command is not working. i will only mention that this jenkins job is not pipeline. i guess it is multi-configuration project or freestyle project. python script which is not working on jenkins: [CODE] python which is working on jenkins: [CODE]
2024-02-25 23:58:32.980000
i need a fast way to go to a specific folder, in package explorer, of spring tool suite 4. ie, a shorcut. maybe something like quick access in windows explorer. any help will be much appreciated. what did i try and what was i expecting? i searched the web, expecting to find a solution. what actually happened? i found nothing.
2024-02-12 12:23:44.163000
i'm encountering a peculiar issue with my cunit tests using nunit and httpclient. i have a setup where i'm sending http requests using httpclient and handling any potential exceptions with ensuresuccessstatuscode(). however, i'm observing different behaviors between windows development machines and linux-based ci/cd environments. on windows dev machines the test is green cause [CODE] fails with error 500, caused by a nullreferenceexception in the controller. on the linux based ci/cd the tests is failing, cause the thrown and cought exception is nullreferenceexception not [CODE] cause the client passes the exception up to the test. windows 10 (and 11) uses visual studio 2022 and the behavior is ident between vs testrunner, resharper testrunner and git bash with [CODE]. on linux([CODE]) `dotnet test´ is used. setting [CODE] is not an option since the behavior with passed exception via the client is way more helpful. (however windows acts as if it was set) my question is how is this behavior actually configured? why is it different depending on the os? [CODE]
2024-02-26 16:49:57.623000
let's say, i have one lucene index that is being used by two applications . for simplicity i will call them readapp and writeapp . only writeapp can write changes to the lucene-index. my problem is that while both applications run, the readapp can't see the changes made to the index by the writeapp only after a restart. is there a way to configure the readapp to reload the index before every read? let's not take in consideration the performance of such an endeavor :) i am using the lucene backend ( [LINK]> configuration of readapp: [CODE]
2024-03-13 13:44:13.810000
i have a react app which uses the following block of code to display images from the public/ directory: [CODE] and this has worked well for a long time. however, today i added a few more images to the directory, tested in my local environment, and displaying as expected. working while running the app in development environment, working when serving a build of my app on my local host. so i pushed the build up to azure app services, which is when i encountered the issue of some of the images returning a 404 error. one of the new images is displaying correctly - when browsing to [LINK]> it displays. but when i browse to [LINK]> i'm getting a 404 error returned by my react app. i've checked the build and using azure's advanced tools (kudu) i can browse wwwroot and in wwwroot/assets/img/buildings/ i can see all of the images i expect, and display them in my browser... yet i get this 404 error when trying to load them in my code / browse from the app domain. it's basically as though my react app isn't serving those specific images - which seems odd, because it's serving all of the others. i'm bewildered by what could be causing this - why some images load and others do not, despite all images being present and correct in the build directory. any tips on how to troubleshoot would be very welcome. update: the latest troubleshooting i've done: upload an image called image.jpeg, and browse to it at [LINK]> - works. rename image to image.webp and browse to it at [LINK]> - works. rename image to onleq2.webp and browse to it at [LINK]> - works. rename image to onleq.webp and browse to it at [LINK]> - 404 error. where onleq.webp is the original image name i uploaded when this issue first arose. lots of other similar named images such as onlsq.webp work just fine... have cleared caches, tried on different devices, tried on different internet connections.
2024-02-14 18:09:21.723000
we use multiremote to make our tests with different user roles. it is necessary to reload the browser to see the changes of the other users. for example: user2 make some changes in browserinstance2 user1 are able to see the changes from user2 in browserinstance1 <- but the browser needs to be reload. with [CODE] it is possible to updated only the url for one browser instance, but this do not trigger the reload of the website. the result is that browserinstance1 is not able to see the changes from browserinstance2. is there an other way to realize the workflow?
2024-03-31 02:08:47.000000
hello, thank you very much for sharing your code. if i want to train my own dataset, how should i create my own dataset?
2024-03-31 20:50:14.000000
nowadays, customer products like vehicles do not only contain mechanical parts but also a highly complex software and their manufacturers have to offer many variants of technically very similar systems with sometimes only small differences in their behavior. the proper reuse of software artifacts which realize this behavior using a software product line is discussed in recent literature and appropriate methods and techniques for their management are proposed. however, establishing a software product line for integrating already existing legacy software to reuse valuable resources for future similar products is very company-specific. in this paper, a method is outlined for evaluating objectively a legacy software's potential to create a software product line. this method is applied to several development projects at volkswagen ag business unit braunschweig to evaluate the software product line potential for steering systems.
2014-09-22 11:52:06.000000
what you are asking for is not directly possible the way you want. although you can certainly create an abstract base class method that descendants must override, you cannot force the parameter type at the base class level. each derived class will have to validate the parameter is the correct type. but you can use a helper class to simplify the task, eg: [CODE]
2024-02-27 06:58:09.853000
i enabled undo using [CODE] and it worked fine. cmd+z etc on mac, and shake to undo on ios. on adding the mac catalyst destination, undo no longer works. i thought this strange, so i created a new swiftdata project and, setup [CODE] for the default app, and it really does disable undo after adding the mac catalyst destination. has anyone else experienced this, i can't find any info anywhere, but it seems odd that something this basic would break. any workarounds?
2024-03-13 00:34:15.143000
i ended up not using the .resx files to load the localizations - i wrote a custom resolver which gets the resources from a database (actually from another microservice). ie. [CODE] this is what i wanted to do anyway but in regards to this question, it is a workaround.
2024-03-29 03:43:00.073000
i have tried the answers given on the previous threads but none of them works can somebody please help on this matter?
2024-02-22 08:19:09.567000
to prevent visual studio code (vscode) from showing warnings for empty rules in css files, follow these steps: open your visual studio code (vscode). press ctrl + shift + p (windows/linux) or cmd + shift + p (mac) to open the command palette. type preferences: open settings (json) and select it from the list of options. this will open the settings.json file. search (using ctrl+f) for : [CODE] and change it to the following: [CODE] this configuration tells vscode to ignore empty rules in css files. save the settings.json file. after saving the changes, visual studio code should no longer display warnings for empty rules in css files.
2024-02-19 04:00:46.690000
i am using [CODE] with the following libraries: [CODE] this is my function: [CODE] however i get this error: [CODE] any suggestions what i am doing wrong? i appreciate your replies!
2024-02-19 20:13:30.393000
for some reason, the answer from <a href="[LINK] question</a> worked. i have no clue why, but at least it solved my problem :)
2024-03-04 12:42:15.003000
i tried to insert item by using goroutines ( 2000 goroutines) so run below code [CODE] after run above code , i think 2000'th rows in items table but in items table , there are only 150'rows exists too many clients error in db server so i increased maxconnections 100 - 4000 and then tried again but results is same does anybody know why these results occurs???
2024-02-25 12:35:43.927000
i'm working on deploying backstage on a kubernetes cluster using the helm chart and looking to enable guest user access for development purposes. however, i'm encountering a 501 not implemented error when accessing the [CODE] endpoint. i've configured the guest provider in both my [CODE] for the frontend and in the [CODE] for the backend. the cluster is accessible internally, and i'm using haproxy for ingress routing to access backstage externally. installation & configuration details: installation method : deployed backstage using the helm chart provided in the official repository. access method : accessing the backstage ui via haproxy, which is configured to route external requests to my kubernetes cluster. cluster access : the cluster is configured for internal access, with necessary network policies in place to secure it. guest user setup : frontend : added [CODE] to the providers array in the [CODE] component within [CODE]. backend : included [CODE] in my [CODE]. despite following the setup instructions, the guest authentication isn't working as expected due to the 501 not implemented error. has anyone successfully set up guest user access in a similar environment, or does anyone have insights on troubleshooting this issue within a kubernetes deployment accessed through haproxy? any advice, insights, or guidance would be greatly appreciated. thank you in advance for your help!
2024-03-26 18:49:17.990000
i want to create a new puppeteer browser when a laravel worker gets created. right now, my horizon config allows for a minimum of 2 and a maximum of 10 workers running. as demand increases and workers are created, i'd like to create a new browser for puppeteer. when a worker is removed, it can close that browser. are there any laravel events that would work for this? or am i coming at this the wrong way? i looked into puppeteer-cluster, but that's another queue to interact with when i already have one with laravel. and the puppeteer-pool is out of date.
2024-03-23 17:35:35.220000
language models are promising solutions for tackling increasing complex problems. in software engineering, they recently attracted attention in code assistants, with programs automatically written in a given programming language from a programming task description in natural language. they have the potential to save time and effort when writing code. however, these systems are currently poorly understood, preventing them from being used optimally. in this paper, we investigate the various input parameters of two language models, and conduct a study to understand if variations of these input parameters (e.g. programming task description and the surrounding context, creativity of the language model, number of generated solutions) can have a significant impact on the quality of the generated programs. we design specific operators for varying input parameters and apply them over two code assistants (copilot and codex) and two benchmarks representing algorithmic problems (humaneval and leetcode). our results showed that varying the input parameters can significantly improve the performance of language models. however, there is a tight dependency when varying the temperature, the prompt and the number of generated solutions, making potentially hard for developers to properly control the parameters to obtain an optimal result. this work opens opportunities to propose (automated) strategies for improving performance.
2022-10-26 13:28:14.000000
i have this macro code: [CODE] the issue is, that sometimes in my code i also tend to use the generic type parameter [CODE], which then will clash with the macro. is there a way to generate a unique type parameter name in the macro that is guaranteed to not clash with any type parameters in the code?
2024-03-26 09:05:32.563000
**is your feature request related to a problem? please describe.** a clear and concise description of what the problem is. ex. i'm always frustrated when [...] **describe the solution you'd like** a clear and concise description of what you want to happen. 安卓版reqable二级代理加上socks5 **describe alternatives you've considered** a clear and concise description of any alternative solutions or features you've considered. **additional context** add any other context or screenshots about the feature request here.
2024-03-31 15:05:11.000000
i am new to b2b commerce lwr site. i have been trying to find the authenticated user details using expressions but i keep getting undefined as value can anyone please guide me? b2b commerce undefined issue: i tried [CODE] but no luck!
2024-03-22 14:42:04.113000
i have tried to deploy my nuxt3 project on different platforms such as vercel, amplify, netlify, and digitalocean and getting different issues on each platforms. on vercel and netlify, some of the pages takes so much time to get loaded or even not getting loaded. on amplify, some of the components of pages are not getting reflected. but on different platforms there is no same issue. and on my local i am not getting any issue like that. i have tried to upgrade the version of nuxt to the latest version which was v3.10.2, but still having same issue.
2024-02-28 11:50:37.367000
stochastic petri nets are commonly used for modeling distributed systems in order to study their performance and dependability. this paper proposes a realization of stochastic petri nets in systemc for modeling large embedded control systems. then statistical model checking is used to analyze the dependability of the constructed model. our verification framework allows users to express a wide range of useful properties to be verified which is illustrated through a case study.
2015-07-29 15:36:21.000000
we have sentences in saraiki where the subject is experiencer not agent. i need guidance on the annotations i am working on for ud. eng: i am thirsty. eng(lit): me thirst affected[attached] is 1sg.obl-dat thirst[f] attach.pp.sg.f aux.pres میکوں[mainku] تریۂ[tareh] لگی[lagi] ہے[hai] first annotation: 1 میکوں _ pron _ _ 3 nsubj _ _ 2 تریۂ _ noun _ _ 3 obj _ _ 3 لگی _ verb _ _ 0 root _ _ 4 ہے _ aux _ _ 3 aux _ _ second annotation [this is what punjabi treebank is also mentioned in the paper] 1 میکوں _ pron _ _ 3 obl:agent _ _ 2 تریۂ _ noun _ _ 3 obj _ _ 3 لگی _ verb _ _ 0 root _ _ 4 ہے _ aux _ _ 3 aux _ _ please guide, if you have any questions please let me know. meesum
2024-03-31 20:48:24.000000
yes, it is undefined behavior to read padding bytes, and even if it was not (for example, you compare them using inline assembly or a call to [CODE]), padding bytes are not initialized, which means that the compiler is free to not copy them, which will result in different values for padding bytes, thus comparison failure. as far as i know there is no way to test that in rust, aside from providing a derive macro that will recursively compare all primitive fields.
2024-03-21 19:24:15.980000
i'm using openbsd, and my home page index.html is in /var/www/web, while my cgit is in /var/www/cgit. right now, my home page is serving correctly, to [website-link]/, but [website-link]/cgit is showing 404, and i'm not sure why. [CODE] i tried using different paths, like having the root be var/www/ instead, or /var/www/ and also ~/var/www/ but none of those worked. my bak file looks like this for context: [CODE] where the home page serves to [website-link]/web, and cgit is [website-link]/
2024-03-14 18:24:46.517000
the windows error message (error code [HASH]) isn't really descriptive, it will be raised in case of an tls alert code 10 or 21. this usually happens if client and server can't negotiate a tls protocol or a certain cipher suite. in your case, the server is restricted to use tls 1.3, while the client doesn't support it. rust on windows uses schannel-rs, which is an api binding between rust and windows schannel. according to the code tls13 was added, but it will never work, since using tlsv1.3 under schannel requires a different api: beginning of windows 10.1809 (build number 17763) schcredentials (instead of schannel_cred) has to be used using blacklist definitions.
2024-03-13 11:00:58.500000
the file is closed via [CODE] in [CODE] function. the line [CODE] will try to write to a closed file. instead the file should be closed via defer in the main function. for example: [CODE] note: in log files you'd usually want to [CODE] otherwise the file will be overwritten every time the app starts again.
2024-02-29 07:54:05.303000
recently, i made the data pipeline that process the cloud point data. the data format is .las file and it was classified data. so i used the pdal to process the data for train the model. but when i load the data from pipeline, the silence error occurred. here are my code. [CODE] they printed 2 but after that running was stopped with no error message. so i added this code and rerun the code. [CODE] and they print the metadata correctly. and the error message occurred like this. [CODE] hope anyone help me.
2024-03-12 15:35:37.607000
i'm using the below regex pattern for validating email ids. [CODE] here i want to restrict the special characters in start of the string. but with this above regex its accepting the special character at start. see the below test case [CODE] its returning all true here, see below screenshot i want to restrict all special characters at start of the string, apart from this issue all other things working as expected. please give me some solution. thanks
2024-03-13 03:03:17.803000
i have some wrong configuration in my app i am not able to fix. it is a .net 8 + angular 17 app. this is my current configuration related to spa (.net, angular below) [CODE] [CODE] the issue i have is that when i launch the api with the new configuration, the client is not able to call my api and gives this error in rider's console : [CODE] when i remove app.usespa, the api works fine via postman. indeed, not the angular app. the weird thing is the call url which has duplicated [CODE] blocks, and i did not find why at the moment. i have no idea what can i test to fix this issue. if this can help, the objective is to use an angular app with ssr enabled. for now i am just trying to make the app work as it did before (using standard template for .net + angular, but which wasn't ssr-enabled). thanks a lot
2024-02-21 12:21:52.780000
### describe the bug [//]: # (please provide a clear and concise description of what the bug is.) marking a word as known does not prevent a new inflection from appearing. for each inflection of a root word, ankimorph treats it as a new word, and sets it as the new priority. other inflections of the word are not suspended or marked as known. recalcing and changing the settings don't improve this behavior. ### steps to reproduce the behavior [//]: # (example:) [//]: # (1. go to '...') [//]: # (2. click on '....') [//]: # (3. scroll down to '....') [//]: # (4. see error) 1. use subs2srs library as morph source 2. use ko_core_news_sm with spacy to generate frequency list from corpus, or use collection frequency. 3. use ko_core_news_sm/md/lg morphemizer in note filters 4. choose setting for "am-unknowns field shows morph **lemmas**" 5. check suspend new cards with only known morphs 6. recalc 7. start reviews and mark morphs as known 8. watch the same "lemma" come up for review each time it appears as a different inflection in the sentence. ### expected behavior [//]: # (please provide a clear and concise description of what would expected to happen instead.) i expect the morphemizer to distill a word to something like a lemma (spacy isn't capable of doing this properly with its korean models, but that may or may not be a separate issue). id expect ankimorph to show me new words and bury variations of the same word. just as if i were learning english, i don't need a card for walk, walking, walked and such for every single word. currently, it treats each inflection as a new word, so it behaves no different than if it were being separated by spaces. ### screenshots [//]: # (if applicable, add screenshots to help explain your problem, otherwise you can delete this section.) ### my setup [//]: # (note: the ankimorphs version is found on the bottom of the ankimorphs settings window) [//]: # (example:) [//]: # (- operating system: windows 11) [//]: # (- anki version: 23.12.1) [//]: # (- ankimorphs version: v2.0.0) - operating system: windows 11 - anki version: ⁨23.12.1 ([HASH])⁩ - ankimorphs version: 2.1.0 ### additional context [//]: # (add any additional context about the problem here, or delete this section if it's empty) spacy has 3 korean models, ko_core_news_sm, ko_core_news_md, and ko_core_news_lg. they all functionally work the same way the website states that it lemmatizes korean, and this isn't technically true. the lemma_ value returned by spacy looks like this, with the raw word on the left and "lemma" value on the right: [CODE] the lemma isn't a lemma at all, but rather a break down of each word part, and the left-most part is only the "stem", which isn't the dictionary form of the word at all. the verb for "to eat" is 먹다, not 먹. 먹 is a rare noun for an ink stick used for making writing ink. a proper lemma value for these would look like this, placing them in their dictionary form: [CODE] to explain with a single word, this is what spacy produces: [CODE] lemmatized properly it would look like this, where these would all be inflections of the same word: [CODE] as you can see from the frequency list generated by ankimorph, a word like 괜찮다 takes up 1034 slots on the frequency list. ![image]([LINK]) the value of using a morphemizer other than spaces is basically entirely lost.
2024-03-31 17:56:11.000000
i have run into this issue where bcrypt does not work with nextjs and gives this error: [CODE] and in the console, i am getting this error: [CODE] basically i have a client component for infinite scrolling and in that client component, i am rendering a server component . now, that server component checks for the logged in user. so next-auth and bcrypt gets involved. but because the server component is rendered inside a client component, i am getting this error. [CODE] in the server component, i have this: [CODE] and here's what the getcurrentuser looks like: [CODE] i have searched everywhere for a solution. on the next.js github users have suggested to use 'bcryptjs' instead of 'bcrypt'. i tried that but it also throws a different error. some users have also suggested to change the next.config.js like so: config.externals = [...config.externals, bcrypt ]; but it also doesn't work. what can i do to fix this situation?
2024-02-11 20:01:18.423000
option 1 define a layout called [CODE]: [CODE] and apply it to pages option 2 you can code it so navigation stays within the blazor spa. first an attribute to identify pages that you want to render without a layout: [CODE] add it to say [CODE]: [CODE] layouts are applied to routes in [CODE], so we can add some logic there to detect pages with the attribute and render them directly using the [CODE]. [CODE] i don't know how you'll navigate back, but that wasn't in the question.
2024-02-24 15:27:40.590000
question: i am working on a react project where i need to populate a dropdown with data based on the selected diagnosis from a list. despite the useeffect hook correctly processing the data for the dropdown, the dropdown remains empty and does not display the expected values. code snippet: i have a useeffect hook that processes lab data and sets up data for a dropdown component. the relevant part of the code looks like this: [CODE] for the dropdown component, i am using it like this: [CODE] what i've tried: verified that diseasediagnosisdropdowndata contains the correct data structure and is correctly passed to the dropdown component. checked that rowdata.selecteddiagnosis matches an item's id from diseasediagnosisdropdowndata. added console logs to ensure that data is present and correctly formatted before it's used by the dropdown. problem: the dropdown does not show any of the expected diagnosis options, despite the console.log confirming that combineddataforedit contains the correct data structure and values. question: how can i ensure that the dropdown is populated with the data as expected? is there an issue with how i'm setting the value or options for the dropdown component?
2024-02-13 10:41:02.723000
i have migrated a laravel 5.6 project from my friends pc and when i write a command php artisan serve it returns an error as shown on the attached image. what should be the reason for this error? [CODE] i'm quite new to laravel coding world. hence i end up being confused.
2024-03-09 14:56:17.380000
[CODE] on the 4th to last line, (public int getprice..) it says that public isn't a valid modifier for the parameter getprice. did i not close some brackets or something? i tried many things and even deleting everything else that mentions getprice to see if that was influencing it, but i haven't gotten any change.
2024-03-13 01:20:12.453000
the analysis of software requirement specifications (srs) using natural language processing (nlp) methods has been an important study area in the software engineering field in recent years. especially thanks to the advances brought by deep learning and transfer learning approaches in nlp, srs data can be utilized for various learning tasks more easily. in this study, we employ a three-stage domain-adaptive fine-tuning approach for three prediction tasks regarding software requirements, which improve the model robustness on a real distribution shift. the multi-class classification tasks involve predicting the type, priority and severity of the requirement texts specified by the users. we compare our results with strong classification baselines such as word embedding pooling and sentence bert, and show that the adaptive fine-tuning leads to performance improvements across the tasks. we find that an adaptively fine-tuned model can be specialized to particular data distribution, which is able to generate accurate results and learns from abundantly available textual data in software engineering task management systems.
2023-01-02 01:03:47.000000
[CODE] the output of the above code is a=3, b=3, c=1. i understand that [CODE] was incremented using pre-increment and checked if it is equivalent to 3. how did [CODE] become 3 even though it has been decremented?
2024-02-14 14:59:38.423000
in [[CODE]]([LINK] ), osra app (app.osperyhra.org.ar) ([LINK]) was **down**: - http code: 0 - response time: 0 ms
2024-03-31 22:08:00.000000
i have a dynamodb table with one entry. using api gateway i am making a call to a lamda function that should handle the db requests.when using curl command [CODE] i don't get any results back even though my lamda function should filter for the username specified. every other call works. this is the lamda code that is handling the request: [CODE] is my filter expression wrong? any help would be appreciated! i tried different variations of the filter expression and i was unable to get a result. variations: [CODE] [CODE]
2024-03-07 00:11:41.727000
[CODE]
2024-02-15 03:12:54.363000
i have an excel spreadsheet which has a number of sheets which are cycled through using a macro to make it appear like a slide show. this information is then projected onto a tv. [CODE] this spreadsheet is stored on ms teams so that others may update the data in this spreadsheet. the problem is that when the macro is running and new data is entered into a cell it will not display this updated cell. i have tried using screenupdate to no avail
2024-02-22 13:43:39.637000
[CODE] uses [CODE] for reading data, which means you can use gdal virtual file systems with [CODE] -- assuming you have a working direct download link for a shapefile archive, prefix it with [CODE] to let gdal handle downloading and extraction: [CODE] created on 2024-03-12 with reprex v2.1.0
2024-03-11 22:47:46.477000
when i run nodemon, i keep getting the message typeerror: cannot read properties of undefined (reading 'map'), heres a link to my github [LINK]>. i don't really understand why, besides that i might need to change the name? maybe make a var out of it? [CODE] [CODE]
2024-03-20 05:28:44.990000
hardware/software (hw/sw) interfaces, mostly implemented as devices and device drivers, are pervasive in various computer systems. nowadays hw/sw interfaces typically undergo intensive testing and validation before release, but they are still unreliable and insecure when deployed together with computer systems to end users. escaped logic bugs, hardware transient failures, and malicious exploits are prevalent in hw/sw interactions, making the entire system vulnerable and unstable. we present hw/sw co-monitoring, a runtime co-verification approach to detecting failures and malicious exploits in device/driver interactions. our approach utilizes a formal device model (fdm), a transaction-level model derived from the device specification, to shadow the real device execution. based on the co-execution of the device and fdm, hw/sw co-monitoring carries out two-tier runtime checking: (1) device checking checks if the device behaviors conform to the fdm behaviors; (2) property checking detects invalid driver commands issued to the device by verifying system properties against driver/device interactions. we have applied hw/sw co-monitoring to five widely-used devices and their linux drivers, discovering 9 real bugs and vulnerabilities while introducing modest runtime overhead. the results demonstrate the major potential of hw/sw co-monitoring in improving system reliability and security.
2019-05-10 02:51:35.000000
its preferable you only change the width and not height as u won't have to worry about weird behaviors. it adjusts the height with the width. since [CODE] uses none view encapsulation, its style can be overridden from any component. [CODE]
2024-03-17 23:02:35.887000
working with vs code, there's a good <a href="[LINK]> to see every detail in changed lines and original text. however, sometimes i would like just to see quickly which lines are changed from the saved file, with a colored mark in the gutter, as it happens with some other editors. is it possible without much hassle?
2024-03-12 10:04:49.943000
[CODE]
2024-02-09 12:01:45.650000
how to use java stream features - if multiple statements to be executed within the loop: the code snippet: [CODE] any suggestions?
2024-03-14 11:28:35.677000
i suggest you refer to the vega and vega lite githuib sites for some good examples as a starting point. vega example: [LINK]> vega lite example: [LINK]> happy charting! adam
2024-03-01 07:55:01.280000
i'm not sure if it is because of problems in the below sql coding which gives me both the error 3464 data type mismatch in criteria expression, and runtime error 91 object variable or with block variable not yet. can anyone help? thanks [CODE]
2024-02-25 15:22:15.087000
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
5
Edit dataset card