You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
In the days of legend, when the World Tree was but freshly sprouted, and many of the gods still newly born, they say the first sapient creatures began life upon the surface of the Earth. Among them were the creatures of Feyrie, who live a life eternal beyond the barrier of twilight that enshrouds their realms. Dying not, they live on unchanged through what, to mortals, would be many turns of time's great wheel. Governed justly (although I shall not say beneficently) by the Feyrie Queen, the many species of faerie creature - the impish pixies, brave sprites and frankly rather odious goblins amo
Problem I'm migrating from node-horseman (PhantomJS wrapper) to Puppeteer for PDF generation and my output looks different — backgrounds, fonts, and spacing are off. I need to understand exactly what default CSS PhantomJS applies so I can replicate or override it in Puppeteer without breaking production. Current code (node-horseman / PhantomJS) let horseManPromise = horseman .userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0') .viewport(1200, 900); horseManPromise = horseManPromise .pdf(pdfTempFilePath, { format: paperSize, // e.g. 'A4' orientation: documentOr
I am seeing 2 different versions of the result which IDLE popped out. Here is the input and iutput of IDLE Shell. I don't understand how this can even happen. >>> round(12.675,2) 12.68 >>> f"{12.675:.20f}" '12.67500000000000071054' >>> print(round(12.675,2)) 12.68 f"{2.675:0.20f}" '2.67499999999999982236'
I'm trying to create a workflow in Outlook. Currently is working partially is shown below and works like this: Check email received If an email body contains the text "Start Process" --> (this is the Trigger) The workflow waits 5 minutes When 5 minutes have elapsed, sends 3 emails (1 email every 1 minutes) After sending the 3 emails, the process ends and restarts if it receives the Trigger again. My final goal is make that if it receives the Trigger before it finishes sending the 3 emails, stops the previous flow and begins again waiting the 5 min. In other words, if 5 minutes have passed and
I was recommended to initialize containers like this: std::vector< int > v = {}; The reason given is that this conforms with initializing all objects in C++, although it is obvious that omitting ={} will call the default constructor. Proponents of this style agree that there is no performance advantage, it is just about style. Is there really an advantage to this? I find that it just adds more characters to process mentally.
Using >>> to check my work does not give me answer at the next line. For example: if type in ">>> 2+3" the next line will not calculate and give me an answer. Cannot find anything online or on forums about this.
Using >>> to check my work does not give me answer at the next line. For example: if type in ">>> 2+3" the next line will not calculate and give me an answer. Cannot find anything online or on forums about this. Please help. Thank you.
I need to get a source code of Python function which was declared via using exec inspect.getsource can't help me with that. Simplified Example: from inspect import getsource def declare_func(): func_code=\ '''def new_func(): print("Hello, world!")''' exec(func_code) return locals()['new_func'] func = declare_func() print('=run=') func() print('=func=') print(func) print('=code=') print(getsource(func)) Output: =run= Hello, world! =func= <function new_func at 0x000001DF77173E20> =code= ... OSError: could not get source code How can I get source code of the 'func' ? Note1: I can't avoid using ex
When using templates in block themes in WordPress, it's sometime useful to use static images. How can we dynamically use a relative path? In this example: <!-- wp:image {"width":"auto","height":"100px","sizeSlug":"full","linkDestination":"none"} --> <figure class="wp-block-image size-full is-resized"> <img src="[STYLESHEET_URI]assets/img/icos/ico-ressources.svg" alt="Static image" style="width:auto;height:100px"/> </figure> <!-- /wp:image --> the purpose is to replace [STYLESHEET_URI] by the stylesheet directory URL. The documentation tells to use PHP: <img src="<?php echo esc_url( get_theme_f
Is there an index hint in T-SQL that says "do not use any nonclustered index that would require a key lookup"? Apart from that restriction I want to let the query planner have a free choice of indexes. I don't want to force one particular index as with (index(myindex)). And the forceseek hint doesn't exclude a key lookup after the seek. I have considered adding included columns, creating better statistics, or rewriting the query with an explicit join between the nonclustered index and the clustered index. Can this query hint be expressed in T-SQL?
I'm confused about the Chat feature in VSCode. Is this specific to Copilot or is is supposed to work with other platforms like Codex and Claude? I have installed the Codex extension and have been using that, but it doesn't have access to tool like the integrated browser. The Chat tools settings says I can select the tools for the default agent - how do I change the default agent? There is the agent type dropdown, with Codex and Claude, but selecting Codex does nothing, it just stays on Local. My Codex sessions show in the Chat Sessions list, but if I type something in the Chat window then Gith
In Autodesk Forma the Data Connector limit is 24 jobs per 24 hour period. We need more than 24 job runs per day for different modules or sources (Issue, Assets, Reviews, RFI, etc.). Is it possible to increase to 48 per day or to have the limitation be per user instead of hub?
When running flutter build ios, the build fails during the "Adding Swift Package Manager integration" step with the following error: Adding Swift Package Manager integration... 16.6s An error occurred when adding Swift Package Manager integration: Error: Unable to get Xcode project information: xcodebuild: error: Could not resolve package dependencies: main/Package.swift:78: Fatal error: Failed to load configuration: fileNotFound("Error loading or parsing pubspec.yaml: Error Domain=NSCocoaErrorDomain Code=260 \"The file "pubspec.yaml" couldn't be opened because there is no such file.\" UserInf
I am trying to grasp how the following code example works. It wraps (decorates) a standard http.client with 2 middleware functions (Logger and BasicAuth) that are invoked when making client (RoundTripper) calls. The setup/initialization is as follows: package decorator import ( "log" "net/http" "os" ) // Setup initializes our ClientInterface func Setup() *http.Client { c := http.Client{} t := Decorate(&http.Transport{}, Logger(log.New(os.Stdout, "", 0)), BasicAuth("username", "password"), ) c.Transport = t return &c } The problem is that I don't exactly understand what happens in the Decorate
I'm working on some scripting, and I'm disabling a few fields via script based upon certain criteria when a purchase order is opened for edit. I'm not having any trouble with body fields, setting them either to disabled or inline. However, I have a couple sublist fields with which I am encountering some difficulties. Currently everything is operating through a user event script. When trying to set a sublist field as disabled, there is no effect to the field. If I instead try to make the field inline, it is instead completely hidden, which is not really what is wanted. I know I can accomplish t
I am new to Rust and just built a simple Pong using the Bevy game engine. While the game works perfectly, I noticed that the project folder is taking up literally gigabytes of my disk space! I heard that this is caused by Cargo's build artifacts stored in the target directory. Because Bevy is a large engine, the debug symbols are massive. Is there a way to automatically limit or change how Cargo stores these files globally so it doesn't consume all my disk space? Or is there a recommended configuration (like in Cargo.toml) to reduce the build size during development?
Irish citizen flying out from Malaga airport in a few days. What delays at passport control will I face? Will it be as bad as British citizens or are EU citizens fast tracked? I'm looking for some fairly recent personal experience on this.
Irish citizen flying out from Malaga airport in a few days. What delays at passport control will I face? Will it be as had as British citizens or are EU citizens fast tracked? I'm looking for some fairly recent personal experience on this.
A rookie in Ruby here. I'm trying to count the number of each vowel in a text entered by the user but I'm stuck. My code is this at the moment: def count_vowels(phrase) puts 'Enter a text:' phrase = $stdin.gets.downcase.chomp a_count = 0 vowels = ["a", "e", "i", "o", "u"] # these two lines are only for debugging puts "\nThe text is: #{phrase}" puts "#{phrase.chars}" for char in vocals if char == vocals a_count += 1 end return a_count end end count_vowels(ARGV) I don't know how to count each vowel: a = 3 e = 2 and so on.
I am building an app to make posts to a LinkedIn page, written in PHP, using the curl library. I have successfully: Authenticated (scopes: w_member_social, openid, profile, email Registered and uploaded my image, and got the URN back (urn:li:digitalmediaAsset:CODE) But I am having trouble making a post that shows the image and lets you click on it to get to the right place (or any place). My JSON looks like: { "author": "urn:li:person:SUBCODE", "lifecycleState": "PUBLISHED", "specificContent": { "com.linkedin.ugc.ShareContent": { "shareCommentary": { "text": "TEST LISTING SHARE - IGNORE! - sha
I am currently working on conceptualizing an octopus-like alien civilization's family structure. An earth octopus gives birth to thousands of offspring in a single reproductive cycle. They dies after hatching eggs. Alien don't need to behave exactly the same as earth octopus. I was just using them as reference. But I think it would be cool for them to use a non-human reproduce strategy. R-strategy feels like a good start. In my current story setting, alien version of ape-man (octupus-alien?) behaves similar to earth octopus. R-strategy wasn't a problem for octupus-alien, all they need was surv
I am implementing an integration test on a method of a controller Here is the controller method @PutMapping(value="/create", produces = MediaType.APPLICATION_JSON_VALUE, consumes=MediaType.APPLICATION_JSON_VALUE) @ResponseBody public SubscriptionDto createSubscription(@RequestBody SubscriptionDto subscriptionDto) throws IllegalCreationException { subscriptionService.checkValidityOfNewSubscription(subscriptionDto); subscriptionDto = subscriptionService.createSubscription(subscriptionDto); return subscriptionDto; } and when I test the request mockMvc.perform(put("/subscription/create") .contentT
I am applying to a Python developer internship or entry level full time role. They called me for a machine test today; it starts in 1 hour, but I have no idea what to expect. According to the info that I have got, they have restricted access to any ai models but computer has internet access.
I am giving a python developer internship or entry level full time role today they called me for a machine test today it starts in 1 hour but I have no idea what to expect ? According to the info that I have got they have restricted access to any ai models but computer has internet access.
when we push json data in Elasticsearch with the help of bulkapi, by default the tokenization take place is standard tokenization, but to search for ngram type text we can't use this tokenization we need to use n-gram tokenization so can you help me how to enable this tokenization
I am trying to install cuda package via: cabal install cuda-0.12.8.0 and I get following error: $ cabal install cuda-0.12.8.0 Resolving dependencies... Build profile: -w ghc-9.6.7 -O1 In order, the following will be built (use -v for more details): - cuda-0.12.8.0 (lib:cuda, exe:nvidia-device-query) (requires build) Starting cuda-0.12.8.0 (all, legacy fallback: build-type is Custom) Failed to build cuda-0.12.8.0. The failure occurred during the configure step. Build log ( /home/murzynek/.cabal/logs/ghc-9.6.7/cuda-0.12.8.0-b65fec34cf2c8c604d9e3923cf86d42695fda9c31c152bb2a7e46bafe4fd56f2.log ):
In my book, I want my sapient agent to have been created by an absolute nobody rather than a company like OpenAI or Anthropic. For the sake of this question, let's assume my individual originally had an engineering role in one of these companies, establishing their credibility and allowing them to birth the first truly sapient AI. In a world that believes "good AI" needs vast data centers that are as large as any mid-size city, how can I rationalize that the first sapient artificial superintelligence agent is created by an individual and not a company?
I am using some ffmpeg code whose API is different in different ffmpeg versions, and I need to be able to handle both versions. To do that, I thought I could use macros, like the following: #ifdef FFMPEG_6 void someFunc(A) { ... } #else void someFunc(B) { ... } #endif I am using find_package(LIBAV REQUIRED) to get ffmpeg. How do I get the MAJOR version of it and set this macro properly?
What is AWS well-architected framework used for? Can someone please answer me correctly. I could not find anything on google. I already checked the actual websites. https://aws.amazon.com/architecture/well-architected/ After I follow the architecture and implement the well-architected can I code a web application using Express/Nextjs/MongoDB? Or is this just a set of guidelines. Or best practices?