All questions
The website search knows a few questions for every page. So you can type a question in your own words and still find the right page. This page lists all of these questions. Select a question to open the page with the answer.
Type words in the box to show only the questions that contain all of them. The list changes each time a page gets new questions.
9220 questions
Install
Install on a server
- How do I install Novis on a production server?
- Where does Novis keep its cache, logs and config files?
- Which folder permissions does Novis check before it starts?
- Why does nvs warn that it cannot use its data folder?
- Does it matter if I run nvs init before nvs service install?
- Which folder does nvs init check before it writes nvs.toml?
Guides
Cookbook
Example apps
Chat
- Example chat app with rooms over WebSockets
- How do I send messages from the server to every browser in a room?
- Which production settings close a WebSocket connection?
- Stop another website from opening a WebSocket with my visitor's cookies
- Limit how fast a visitor can send chat messages
- Configure nginx or Caddy to forward WebSocket connections
Notes
- Example web app with SQLite, HTML pages and a JSON API
- How do I download and run the Notes example app?
- Start my own app by copying an example project
- Small CRUD app with forms and tests
- Example of checking a form before saving it to a database
- Add a login and CSRF tokens before putting an example app online
Extensions
How to use Novis
How to use Novis
- How do the parts of a Novis application fit together?
- Good habits for building a Novis web application
- Things to do and avoid when writing a Novis app
- Overview of configuration, requests, errors and limits
- Which guide explains sending email and reading the replies?
- Which guide shows how to upload files to an SFTP server?
Autocomplete and parsing for class property names in strings
- How do I build a small query builder with checked column names?
- Check the property to sort by from the request before a query
- How do I turn a condition with property names in braces into SQL?
- Can one parent class method check property names for each child class?
- Does the editor suggest property names inside a string?
- Build an ORM that takes class property names in strings
Limits
- How do I give one large report more memory than other pages?
- Difference between processor time and total request time
- Can a command line script raise its own memory limit?
- What are the default memory and time limits of a request?
- How does the CPU time limit work for a WebSocket connection?
- How many requests can run at the same time with my memory?
Live updates
- Should I use server-sent events or a WebSocket?
- Send live updates to every open page of my app
- Why does every WebSocket get 403 behind nginx or Caddy?
- Do topics work when my app runs on several servers?
- Stop another website from opening a WebSocket to my server
- How long does a WebSocket or an event stream stay open?
Many modules on one server
- How do I run several apps on one server?
- Serve every folder with an index file under its own path
- Which address does a link use when one app has two paths?
- How do I link from one app to a page of another app?
- Give each app its own subdomain and link between them
- How can a framework stop every module from calling a method directly?
Reading bounces and replies
- Read new emails from a mailbox over IMAP in my app
- Find out which of my sent emails bounced and why
- Match a reply or a bounce to the email I sent
- Read an email that my mail provider posts to a webhook
- Test reading a mailbox with a folder of .eml files
- Read an Outlook .msg file or a winmail.dat attachment
TLS connection errors
- What does a TLS connection error mean and who can fix it?
- Connect to a server whose certificate comes from my company's own CA
- Why does a connection fail with a self-signed certificate?
- The server's certificate expired, what do I do?
- Why does the public key not match the pin?
- Why does the mail server not offer STARTTLS?
Transferring files
- How do I exchange files with a partner over SFTP?
- Set up an SFTP server with a private key and host key in nvs.toml
- How do I find the host key fingerprint of an SFTP server?
- Download new orders from a partner's FTP folder and move them
- Test file uploads without a real file server
- Why does an FTP block with a password not start?
Going to production
Docker
- How do I run a Novis app in a Docker container?
- Which tag of the official Novis image should I deploy?
- Why do connections to my container fail?
- Change settings for one cluster with a Kubernetes ConfigMap
- Stop a container without cutting off running requests
- Check that a Novis image was built from the official repository
Limits and logs
- Is CPU time counted for the whole life of an event stream?
- How do I stop log files from growing too large?
- Change settings without restarting the server
- Set the longest time a WebSocket or event stream stays open
- Get a warning when a request uses most of its memory
- Stop slow clients from keeping a connection open forever
Run as a service
- How do I keep my Novis server running after a reboot?
- Where does a background service write its log?
- Why does my service not start, and how do I see the error?
- Which folders can the service account write to, such as logs or debug recordings?
- Why does the installer stop with E0607 for my config file?
- Why does nvs service install ask for admin rights?
Security checklist
- What should I check before my server goes live?
- Security checklist for deploying a Novis web app
- Can I set wall_time on a server with WebSockets or event streams?
- Common security mistakes before the first request
- What can my server read and connect to without a config file?
- Where should I keep secret files so web requests cannot read them?
Testing your app
Testing a page
- How do I test a page without starting a server?
- Check the status code and body of a route in a test
- Set the client IP address or HTTPS in a test request
- How do I test a WebSocket with a real local server?
- Read a JSON response into an object inside a test
- Send a JSON body or a file upload in a test request
Test doubles
- How do I fake a mail server in a test?
- Mock an HTTP API so tests run without a network
- How do I fix the clock at a certain time in a test?
- Check that my code called a method with the right arguments
- Check which emails and log lines my code wrote in a test
- Make a sleep or a timeout in a test finish at once
A Tour of Novis
Walkthroughs
Why people pick Novis
Syntax
Objects as JSON
- How do I let a class be converted to and from JSON?
- How do I leave a property out of the JSON output?
- Why does decoding JSON into my class throw an error?
- How do I keep the JSON keys in the order I wrote the properties?
- Store a date or a time zone in a class that becomes JSON
- Only accept a few fixed values for one property when decoding JSON
Routes and access
- How do I map a URL path to a method in my web app?
- Declare a route with a placeholder like /users/{id}
- Why does my route not compile without an access rule?
- How do I turn off the CSRF check for one route?
- Read an optional value, a checkbox or a date from the query string
- How can my own method take a route and its parameters, checked like a link?
Property names as values
- Sort a list by a column name from the URL
- How do I read a property whose name is in a string?
- Let an attribute name a property of the class it is written on
- Use a path like customer.address.city as a value
- Name the key or the element of an array in a property path
- Check the field names inside a query condition string
foreach
- How do I loop over every element of an array?
- How do I change array elements while I loop over them?
- Why is the key in my loop a string and not a number?
- What happens when I add elements to an array inside its loop?
- Loop over the values of a set, a heap or a channel
- How do I collect the values of a generator into an array?
Iterators and generators
- How do I make values one at a time with yield?
- How do I write a generator that yields values?
- Why does my second loop over a generator get no values?
- Read a very large or endless list without loading it all
- How do I write an iterator class without yield?
- Give a key with each value from my own class in foreach
Assertions and dumping values
- How do I print a readable view of a variable for debugging?
- Show the contents of a value without changing the page output
- What error does a failed assertion throw?
- Why does catching RuntimeError not catch a failed assertion?
- Get a value as readable text for a log line
- See all dumps of one line of code in the debug viewer
File paths and ending a program
- Where does a relative file path start in Novis?
- Why does my program read a different file from another folder?
- How do I stop a program early with a status code?
- What exit status does a script return after its last line?
- Build a file path from parts while the program runs
- Is there a die statement in Novis?
Reference
Core\Arr
Core\Ast
Core\Ast\Node
Core\Attributes
Core\BigInt
Core\Bytes
Core\Cache
Core\Cache\SecretEntry
Core\Cache\Store
Core\Cap
Core\Cldr
Core\Cli
Core\Cli\Color
Core\Cli\Live
Core\Cli\Progress
Core\Cli\Style
Core\Command
Core\Compress\Compressor
Core\Compress\Decompressor
Core\Config
Core\Crypto
Core\Crypto\KeyPair
Core\Crypto\PublicKey
Core\Csv\Rows
Core\Db\Column
Core\Db\Connection
Core\Db\InList
Core\Db\Plan
Core\Db\Plan\Step
Core\Db\Row
Core\Db\Rows
Core\Db\Schema
Core\Db\Stream
Core\Db\Transaction
Core\Db\Transaction::runTransaction- How do I nest a transaction inside another one?
- Undo one step and keep the rest of the transaction
- Let a function open its own transaction when the caller has one
- Keep the order even when the coupon cannot be applied
- What happens when I start a transaction inside a transaction?
- Use a savepoint inside a transaction
Core\Debug
Core\Decimal
Core\Encoding
Core\Env
Core\Env::get- How do I read one environment variable?
- Read a database password from an environment variable
- What happens when an environment variable is not set?
- Get the value of the PORT environment variable
- Why is the value from an environment variable tainted?
- Can a request choose which environment variable to read?
Core\Fatal
Core\FileTransfer
Core\FileTransfer\Chunks
Core\FileTransfer\Connection
Core\FileTransfer\Entry
Core\FileTransfer\Listing
Core\FileTransfer\Walk
Core\Hash\Stream
Core\Html
Core\Html\Markup
Core\Http
Core\Http\Chunks
Core\Http\Client
Core\Http\Event
Core\Http\Events
Core\Http\Identity
Core\Http\Lines
Core\Http\Part
Core\Http\Response
Core\Http\Socket
Core\Http\Stream
Core\Http\Target
Core\Http\TlsInfo
Core\Imap
Core\Imap\Folder
Core\Imap\Mailbox
Core\IO
Core\IO::walk- How do I list all files in a folder and its subfolders?
- Go through a directory tree recursively
- Leave out node_modules and .git when walking a folder
- Walk a large folder tree without loading it all into memory
- Does walking a folder follow symbolic links?
- In which order are files given when walking a tree?
Core\IO\Entry
Core\IO\File
Core\IO\Lines
Core\IO\Metadata
Core\IO\StdinStream
Core\IO\Walk
Core\Json
Core\Json\Elements
Core\Json\Pieces
Core\Jwe
Core\Jwt\KeySet
Core\Ldap
Core\Ldap::open- How do I connect to an LDAP server at a given URL?
- Connect to a directory that each customer sets up
- Open an encrypted LDAPS connection with a user and password
- Why can my program not connect to a private address?
- Why does an empty password or a zero byte in it throw an error?
- Trust a private certificate for my LDAP server
Core\Ldap\Ad
Core\Ldap\Ad\AccountFlags
Core\Ldap\Ad\GroupType
Core\Ldap\Change
Core\Ldap\Changes
Core\Ldap\Connection
Core\Ldap\Connection::authenticate- How do I check a user's login and password against Active Directory?
- LDAP login form with user name and password
- Why do a wrong password and an unknown user give the same error?
- Check credentials without changing the account of the connection
- Why is a password with a NUL character always InvalidCredentials?
Core\Ldap\Dn
Core\Ldap\Entries
Core\Ldap\Entry
Core\Ldap\Filter
Core\Ldap\Sid
Core\Log
Core\Mail
Core\Mail\Address
Core\Mail\Attachment
Core\Mail\Message
Core\Mail\Preview
Core\Mail\Report
Core\Mail\ReportRecipient
Core\Markdown\Groups
Core\Markdown\Live
Core\Markdown\Update
Core\Math
Core\Mime
Core\Net\Datagram
Core\Net\Datagram\Message
Core\Net\Listener
Core\Net\Stream
Novis\Image\Barcode
Novis\Image\Color
Novis\Image\Comparison
Novis\Image\Font
Novis\Image\Image
Novis\Image\QrCode
Novis\Intl\Collator
Novis\Intl\DateFormat
Novis\Intl\DateFormat::dateTimes- How do I show a date and time with the time zone?
- Show when an order was placed, with date and hour
- Add the GMT offset to a formatted timestamp
- Format a date with time and seconds for a locale
- Show only the month and year with a time in a formatted text
- Why does a time with only month and year throw an error?
Novis\Intl\ListFormat
Novis\Intl\Locale
Novis\Intl\NumberFormat
Novis\Intl\PluralRules
Novis\Intl\RelativeTime
Novis\Intl\Segmenter
Novis\Pdf\Document
Novis\Pdf\Page
Novis\Pdf\Pages
Novis\Pdf\Reader
Novis\Pdf\Rendered
Novis\Spreadsheet\Cell
Novis\Spreadsheet\Chart
Novis\Spreadsheet\Export
Novis\Spreadsheet\Formula
Novis\Spreadsheet\Reader
Novis\Spreadsheet\Row
Novis\Spreadsheet\Sheet
Novis\Spreadsheet\Style
Novis\Spreadsheet\Template
Novis\Spreadsheet\Workbook
Novis\Spreadsheet\Written
Core\ObjectMap
Core\ObjectSet
Core\Out
Core\Passkey
Core\Passkey\Credential
Core\Path
Core\Process
Core\Process::spawn- How do I start a program in the background and keep going?
- Read a program's output while it is still running
- Start a long-running program and talk to it
- Send lines to a program and read them back
- Why does starting a program on my server throw an error?
- What happens to a program still running when a task ends?
Core\Process\Handle
Core\Process\Result
Core\Program
Core\Queue
Core\Queue\Stats
Core\Random
Core\Random\Seeded
Core\RateLimit
Core\RateLimit\Decision
Core\Reflect
Core\Reflect\AttributeInfo
Core\Reflect\ClassInfo
Core\Reflect\ConstantInfo
Core\Reflect\EnumInfo
Core\Reflect\MethodInfo
Core\Reflect\ParameterInfo
Core\Reflect\PropertyInfo
Core\Regex
Core\Regex\Match
Core\Regex\Pattern
Core\Request
Core\Request\BodyStream
Core\Request\Files
Core\Request\Mount
Core\Request\Part
Core\Request\Part::readAll- How do I read a small uploaded file into memory?
- Get the whole content of an upload as one value
- Set a maximum size when reading an uploaded file
- What is the default size limit for reading an upload?
- Send an uploaded PDF to another service as Base64
- Do I need to read an upload into memory before hashing it?
Core\Request\PartContent
Core\Response
Core\Response\Stream
Core\Router
Core\Router\Match
Core\Script\ExitReport
Core\Script\Handle
Core\Secret
Core\Server
Core\Session
Core\Signal
Core\Signature
Core\SignedCookie
Core\Socket\Message
Core\Sse
Core\Sse\Message
Core\Str
Core\Taint
Core\Task
Core\Task::all- How do I call two web services at the same time?
- Load a database query and a cache lookup in parallel
- Wait for several functions and use all their results
- Run tasks at once with a time limit for all of them
- What happens when one of several parallel tasks fails?
- Test a task deadline without waiting in real time
Core\Task\Channel
Core\Test
Core\Test\LogRecord
Core\Test\Outcome
Core\Test\Response
Core\Test\RunResult
Core\Test\SentMail
Core\Test\SentRequest
Core\Test\Summary
Core\Time\Date
Core\Time\DateTime
Core\Time\DateTime::fromIso- How do I create a date and time from text in a time zone?
- Turn 2024-03-01 09:30 into a date and time in Berlin
- Get the start of a day from a date written as text
- Why does a text with only Z or +01:00 throw an error?
- Read a local meeting time from a calendar form
- Read text with an offset and a zone name like +02:00[Europe/Berlin]
Core\Time\Duration
Core\Time\Instant
Core\Time\TimeOfDay
Core\Totp
Core\Uri
Core\Uuid
Core\Validate
Core\WebPush\Sent
Core\WebPush\Subscription
Core\Xml\Node
Core\Xml\Reader
Core\Xml\Writer
Configuration
[[app]]- How do I give one program different settings than the rest?
- Run several applications on one server with separate limits
- Give a nightly job less memory than the web app
- Apply settings only to scripts inside one folder
- Which settings win when two configuration blocks cover the same file?
- Set the public URL used when building absolute links
[capabilities]- How do I allow a program to read files from a folder?
- Why does writing a file throw a RuntimeError about a capability?
- Allow a program to connect to a private IP address
- Allow running another program or starting a subprocess
- Which permissions does a program have by default?
- Allow turning off the TLS certificate check for one host
[debug]- Keep temporary files after a script fails so I can inspect them
- Show my debug dumps at the bottom of the HTML page
- How long are saved records of requests and jobs kept before they are deleted?
- Let a developer read the debug records of a production server
- Use my own certificate and token for the debug viewer
- Does a production server save the values of my debug dumps?
[[include]]- How do I split configuration across several files?
- Load every settings file from a conf.d directory
- Keep machine-specific secrets out of the shared config file
- Include an optional file that may not exist
- Which value wins when two config files set the same key?
- Why does the server stop when another account can change an included file?
[opcache]- Why does my code change not show up without a restart?
- How often does the server check for changed source files?
- Where is compiled code stored on disk?
- Detect changed files by content and not by modification time
- Make the server reload code faster while I edit
- Make a reload check only the files I changed
Network grants: the addresses and endpoints they reach- Which hosts may my program connect to?
- Why is my connection to a private IP address blocked?
- Allow a connection to an internal service on my network
- Let my program open a listening port
- Protect against server-side request forgery to internal addresses
- Allow a whole private address range such as 172.18.0.0/16
Extension grants: what a component may reach- How do I let an extension read files in a folder?
- Allow an extension to send HTTP requests to one host
- What files and hosts can an extension access?
- See which permissions an extension requests before granting them
- Why can an extension not write to a folder I allowed?
- Which grant does a package need to call an extension?
Secrets from files- How do I keep the database password out of the config file?
- Read a password from a Docker or Kubernetes secret
- Read the OAuth refresh token for my mail or IMAP server from a file
- Use SOPS or Vault to provide credentials
- Why does the server warn about a space in my password?
- Why does the server stop when other users can write my secret file?
CLI commands
nvs run
- How do I run a Novis script from the command line?
- Execute my program with a different configuration file
- What exit codes does a program return when it fails?
- Where does my program read its settings from when it starts?
- Show the generated machine code for my program
- Why is an uncaught error printed to standard error?
nvs check
- How do I check my code for errors without running it?
- Type-check every file in a folder from a pre-commit hook or CI
- Check a class file loaded by autoload from another folder
- See which folders my autoload rules resolve to
- What do error codes like E0401 in compiler output mean?
- Measure how much work the compiler does for a file
nvs debug
- Read the saved request records into a database I can search
- Read the waiting request records once and exit, for a cron job
- Why does a second nvs debug exit with status 1?
- Is a password from a login form saved in the request record?
- Do I need --tail to see the server's own log lines?
- Does a production record keep the value of a dump?
The debug viewer
- Which keys and pages does the debug viewer have?
- Why does the debug viewer only open from the link nvs debug prints?
- List the requests the server rejected, and see the reason for each
- See the scheduled jobs and the failed jobs of each queue
- Which outbound calls failed, and which server did they reach?
- Who signed in to the debug viewer, and from which address?
nvs debug to-test
- How do I turn a request my server recorded into a test?
- Write a test that checks the status and JSON body of a real request
- Why does the printed test send the value redacted in the Authorization header?
- Why is no test printed for a request with a large body?
- Save the generated test to a file without replacing my own
Profiling
- How do I find which function makes my program slow?
- Profile a command-line program without changing its code
- Write a Callgrind file to open in KCachegrind
- Measure how long the function calls of each test take
- Where does nvs run save the profile file?
- Does the profiler make my program slower while it runs?
nvs build --compile
- Build a single executable from my program
- How do I ship my script as one file without installing Novis?
- Bundle all required source files into a standalone binary
- Where does a bundled executable read its configuration from?
- Choose the output file name for a packaged program
- Set the version and icon of my Windows executable
nvs build --openapi
- Generate API documentation from my route methods
- How do I create an OpenAPI spec for my web server?
- Export my HTTP routes as an OpenAPI 3.1 JSON file
- Describe my endpoints in a standard format without running the server
- Which operationId does each route get in the OpenAPI file?
- Where does the version in my OpenAPI document come from?
nvs config check and nvs config dump
- Validate my nvs.toml configuration before deploying
- Run a configuration check in my CI pipeline
- Check that my service account accepts the owner of each config file
- Find unknown keys or broken includes in my config
- Get the host key fingerprint of an SFTP server
- Is a setting a default value or set by a file?
nvs telemetry
- How do I turn usage telemetry on or off?
- What data does Novis telemetry collect about my commands?
- See the exact JSON that the next telemetry upload sends
- Stop telemetry on CI machines with DO_NOT_TRACK
- Send my usage counters to a collector from a daily cron job
- Which collector status codes keep a week for the next upload?
nvs update-check
- How do I check whether a newer Novis version exists?
- Check for updates from a cron job and read JSON
- Point the update check at my own release server
- Why does the update check always exit with status 0?
- Does the update check also send my telemetry counters?
- Why does the update check say the release could not be read?
nvs meta --json
- Export the standard library documentation as JSON
- Get a machine-readable list of every Core class and method
- Which standard library functions need a permission?
- Generate API documentation from my own classes and doc comments
- Get the JSON schema of each class that encodes itself to JSON
- Show which properties are readonly or lateinit in the API JSON
nvs code
- Find every place a method is used in my project
- Move a class to another namespace and update every use line
- Find the methods and classes nothing uses, and delete them safely
- Add a parameter to a method and write a value at every call
- Extract an interface from a class from the terminal
- Which routes and tests reach a method, or several methods at once?
nvs cache
- How do I clear the compile cache?
- Delete the oldest compiled programs when the cache is too big
- How large can the compile cache get before entries are deleted?
- Get the result of a cache cleanup as JSON for a cron job
- Why does nvs cache count some entries as skipped on Windows?
- Delete compiled code that no program uses any more
nvs reload
- Make my running server use the new code at once
- What do the exit codes of nvs reload mean?
- How many functions did a reload compile?
- Can a web request start a reload of the server?
- My coding agent edits many files. How do I stop half-edited compiles?
- What happens when I run nvs reload while the server still compiles?
nvs lsp
- How do I get error highlighting and autocomplete in my editor?
- Why does the editor command hang with no output in my terminal?
- See every method that calls this method in my editor
- Can I click a @see path in a doc comment to open the file?
- Where did this tainted value in my code come from?
- Rename or inline code in my editor, and check that it still compiles
nvs lsp-test
- How do I test what my editor completion returns?
- Write a test for hover text at a cursor position
- What is an .lspt file and how is it written?
- Which kinds of syntax do my editor tests cover?
- Check language server output against an expected result
- Test that the editor shows a restricted method call as an error
The VS Code extension
- How do I install Novis support in Visual Studio Code?
- Syntax colours and autocomplete for .nvs files in VS Code
- Point VS Code at a specific copy of the nvs binary
- Why are passwords blurred in my editor?
- Install the Novis extension in VSCodium from Open VSX
- Change the colour of doc comments in the Novis theme
nvs agent
- How can an AI assistant look up the language from the command line?
- Search the standard library by keyword in the terminal
- Print the signature and description of a built-in function
- Get a list of every built-in function, class and error code
- Look up what an error code means from the terminal
- Get library documentation as JSON for a tool
nvs agent primer
- What should an AI assistant read before writing Novis code?
- Print a short introduction to the language for a coding agent
- Get one annotated example program and the chapter list
- Quick overview document for AI tools that matches my installed version
- How does a coding agent learn to reload a running server after edits?
nvs agent init
- Set up my project so Claude Code or Cursor knows about Novis
- Add instructions for coding assistants to AGENTS.md
- Automatically check code after my AI assistant edits a file
- Keep AI assistant setup files up to date after upgrading
- Check in CI that coding agent files are current
- Remove the editor hooks added for my AI assistant
A worked session
- How does an AI coding assistant find the right Novis method?
- Example of an AI agent looking up a function step by step
- What happens when I search for a function name that does not exist?
- How do I find the method that counts characters in a string?
- Walkthrough of looking up a keyword in the reference from the terminal
- Which kinds of entries does the agent search index contain?
Types
Core\Db\Isolation- How do I set the isolation level of a database transaction?
- Can my transaction read rows another transaction has not committed yet?
- What is the difference between repeatable read and serializable?
- What happens if the database does not support the isolation level I chose?
- Snapshot isolation in a database transaction
Core\Router\Refusal- Why did the router not call my route method?
- Which status is sent when the HTTP method is not allowed?
- Return a 413 page when the request body is too large
- What happens when a query value is missing, repeated or the wrong type?
- Respond to a failed CSRF check with my own page
- Why does a POST from another site to a missing page give 403?
Novis\Image\Image::Fit- How do I resize an image to fill a box and crop the rest?
- Resize an image to fit inside a box without cropping
- Stretch an image to an exact width and height
- Make a thumbnail that keeps the whole picture
- Resize options cover, contain, fill, inside and outside
- Resize so the image covers the box without cutting anything off
Novis\Intl\Collator::Strength- How do I sort strings ignoring case and accents?
- Compare strings so that accents count but case does not
- Search text that ignores accents like é
- Which differences between strings change the sort order?
- Do equal strings keep their order when sorting?
- Do Hiragana and Katakana count as different when sorting Japanese text?
Novis\Intl\DateFormat::Fields- How do I show only the month and year of a date?
- Show the day of the week together with the date
- Which parts of a date can I choose to show?
- Show only the year or only the month name
- Why does formatting a date with a time fail for month and year only?
- What is the default set of date parts in a formatted date?
Novis\Intl\Locale::Service- Which locale is really used for numbers or dates?
- How do I tell the user which language my page is shown in?
- What does und mean as a locale?
- Check which locale data is used for sorting or plurals
- Does a regional locale fall back to its main language?
- Why does de-AT use German data for dates but its own for numbers?
Tools
The API document
- Does Novis write a Swagger document for my web API?
- Add tags, error responses and an auth scheme to my OpenAPI document
- Which OpenAPI schema does a date, a UUID or a boolean query get?
- Which API changes break old clients, and which are safe?
- Is a new query parameter with a default value a breaking change?
- Set my own operationId for one route in the API document
The command line
- How do I check my code for errors from the command line?
- Get compiler errors as JSON for a script or CI
- Rename, move or inline code of my project from the terminal
- Where does Novis store compiled code, and how do I clear it?
- How do I find out if a new Novis version is released?
- Does the nvs command send telemetry, and how do I turn it off?
The debug viewer
- How do I see the requests my development server handled?
- Which queries did one request run, and how long did each take?
- See the emails my program sent during development without sending them
- See the calls to databases, Redis, LDAP and other servers
- How do I debug requests on my production server from my own computer?
- Record the headers and bodies of production requests for a few minutes
Debugging in VS Code
- What do I put in launch.json to debug a Novis file?
- Watch a variable change on each pass through a loop
- See the value a method returned after I step out of it
- Which keys step over, into and out of a line in VS Code?
- See which task started each task while the program is stopped
- Can I attach the debugger to a server that is already running?
The editor extension
- Install the Novis extension from the Marketplace, Open VSX or a .vsix file
- Which quick fixes and code actions does the editor offer?
- Move a class to another namespace by renaming it or dragging its file
- Grey out and delete the code that nothing uses
- Open the debug viewer in a panel of VS Code
- Why does completion not suggest a class from another namespace?
The profiler
- Which function in my program takes the most time?
- Open a Novis profile in KCachegrind or speedscope
- See every call of my program on a timeline in VS Code
- Profile only one slow part of my program
- Why does code with many small calls look slower in a profile?
- Find every profile my program wrote in the debug viewer
Running tests
In-Depth
Novis compared with the top languages for the web
- How does Novis compare with six other servers in requests per second and memory?
- How do Novis and the six other servers use more than one CPU core?
- Which web server features are built in and which need extra code?
- Does a slow request make other requests of the same session wait?
- Does a deploy cause failed requests or pages that mix old and new files?
- What happens to other requests when one request uses too much memory or never ends?
Other pages
No question contains all of these words. Type fewer words, or use the search at the top of the page.
