Get Started

Ask your first question, or post your first answer
Top Questions
How to parse an integer from a string in Zig? What is the proper way to parse an integer from a string in Zig, while being able to specify the resulting integer type? ```zig const foo = "96"; ``` How would I convert `foo` to an `i32`, for example?
3 votes 32 views 1 Answer Asked 5 days ago
J
J
99
Should I write string function arguments as &str, String, AsRef<str>, or Into<String> in Rust? I'm developing a public Rust library and I'm unsure how to handle function parameters that deal with strings. There seem to be multiple idiomatic options: - `&str` - `String` - `impl AsRef<str>` - `impl Into<String>` Each of these works i...
2 votes 14 views 1 Answer Asked 4 days ago
What is the difference between gap-x and space-x in TailwindCSS? I’ve seen both `gap-x/y-*` and `space-x/y-*` used in Tailwind examples to create spacing between elements. What is the actual difference between them? Are they interchangeable, or is one preferable in certain situations?
2 votes 38 views 1 Answer Asked 5 days ago
w
44
Font Size Inherit - Tailwind CSS I would like to apply inherited font size to an element with Tailwind. I know that this can be achieved in regular CSS like so: ```css .element { font-size: inherit; } ``` But how would I accomplish this using purely Tailwind class sy...
1 vote 15 views 1 Answer Asked 5 days ago
w
44
How to get epoch time in Rust? How can I get the current system [epoch time](https://en.wikipedia.org/wiki/Unix_time) in milliseconds/seconds (and to a lesser extent nanoseconds and microseconds) in Rust?
1 vote 12 views 1 Answer Asked 1 day ago
w
44
How to loop an each block a specific x number of times in Svelte? I know of Svelte's [`{#each}`](https://svelte.dev/docs/svelte/each) block which allows you to iterate over arrays or array-likes. ```svelte <script lang="ts"> let names: string[] = ["bob", "joe", "Frankenstein"]; </script> {#each names...
0 votes 6 views 1 Answer Asked about 8 hours ago
How can I convert raw markdown to plaintext in TypeScript/JavaScript? I'm working on adding [structured data](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data) to question pages on solvin (more specifically implementing [QAPage](https://developers.google.com/search/do...
0 votes 7 views 1 Answer Asked 2 days ago
s
56
New Questions
How to loop an each block a specific x number of times in Svelte? I know of Svelte's [`{#each}`](https://svelte.dev/docs/svelte/each) block which allows you to iterate over arrays or array-likes. ```svelte <script lang="ts"> let names: string[] = ["bob", "joe", "Frankenstein"]; </script> {#each names...
0 votes 6 views 1 Answer Asked about 8 hours ago
How to get epoch time in Rust? How can I get the current system [epoch time](https://en.wikipedia.org/wiki/Unix_time) in milliseconds/seconds (and to a lesser extent nanoseconds and microseconds) in Rust?
1 vote 12 views 1 Answer Asked 1 day ago
w
44
How can I convert raw markdown to plaintext in TypeScript/JavaScript? I'm working on adding [structured data](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data) to question pages on solvin (more specifically implementing [QAPage](https://developers.google.com/search/do...
0 votes 7 views 1 Answer Asked 2 days ago
s
56
Should I write string function arguments as &str, String, AsRef<str>, or Into<String> in Rust? I'm developing a public Rust library and I'm unsure how to handle function parameters that deal with strings. There seem to be multiple idiomatic options: - `&str` - `String` - `impl AsRef<str>` - `impl Into<String>` Each of these works i...
2 votes 14 views 1 Answer Asked 4 days ago
Font Size Inherit - Tailwind CSS I would like to apply inherited font size to an element with Tailwind. I know that this can be achieved in regular CSS like so: ```css .element { font-size: inherit; } ``` But how would I accomplish this using purely Tailwind class sy...
1 vote 15 views 1 Answer Asked 5 days ago
w
44
What is the difference between gap-x and space-x in TailwindCSS? I’ve seen both `gap-x/y-*` and `space-x/y-*` used in Tailwind examples to create spacing between elements. What is the actual difference between them? Are they interchangeable, or is one preferable in certain situations?
2 votes 38 views 1 Answer Asked 5 days ago
w
44
How to parse an integer from a string in Zig? What is the proper way to parse an integer from a string in Zig, while being able to specify the resulting integer type? ```zig const foo = "96"; ``` How would I convert `foo` to an `i32`, for example?
3 votes 32 views 1 Answer Asked 5 days ago
J
J
99
Popular Languages
html 3 Questions
rust 2 Questions
typescript 2 Questions
css 2 Questions
javascript 2 Questions
zig 1 Question
go 0 Questions
kotlin 0 Questions
php 0 Questions
ruby 0 Questions
perl 0 Questions
dart 0 Questions
elixir 0 Questions
haskell 0 Questions
julia 0 Questions
objective-c 0 Questions
nim 0 Questions
crystal 0 Questions
c 0 Questions
r 0 Questions
matlab 0 Questions
ada 0 Questions
fsharp 0 Questions
c++ 0 Questions
ocaml 0 Questions
scala 0 Questions
assembly 0 Questions
cobol 0 Questions
fortran 0 Questions
clojure 0 Questions
java 0 Questions
python 0 Questions
visualbasic 0 Questions
brainfuck 0 Questions
sql 0 Questions
swift 0 Questions
Popular Tags
tailwind-css 2 Questions
svelte 1 Question
integers 1 Question
string 1 Question
arrays 1 Question
segfault 0 Questions
jwt 0 Questions
cors 0 Questions
websocket 0 Questions
cookies 0 Questions
service-workers 0 Questions
rest 0 Questions
mysql 0 Questions
git 0 Questions
http 0 Questions
npm 0 Questions
pdf 0 Questions
opengl 0 Questions
vulkan 0 Questions
directx 0 Questions
metal 0 Questions
webgl 0 Questions
webgpu 0 Questions
minecraft 0 Questions
assembly-arm-32 0 Questions
assembly-arm-64 0 Questions
assembly-risc-v-32 0 Questions
assembly-risc-v-64 0 Questions
assembly-x86-32 0 Questions
assembly-x86-64 0 Questions
assembly-x86-16 0 Questions
minecraft-fabric 0 Questions
postgresql 0 Questions
pointers 0 Questions
hashmap 0 Questions
minecraft-forge 0 Questions
minecraft-bukkit 0 Questions
minecraft-spigot 0 Questions
minecraft-paper 0 Questions
minecraft-plugin 0 Questions
firebase 0 Questions
java-21 0 Questions
json 0 Questions
csv 0 Questions
c++98 0 Questions
c++03 0 Questions
c++11 0 Questions
c++14 0 Questions
c++17 0 Questions
c++20 0 Questions
c++23 0 Questions
java-7 0 Questions
java-9 0 Questions
java-12 0 Questions
java-17 0 Questions
java-8 0 Questions
github 0 Questions
java-11 0 Questions
tensorflow 0 Questions
pytorch 0 Questions
openai-api 0 Questions
cuda-c++ 0 Questions
nextjs 0 Questions
astro 0 Questions
nuxtjs 0 Questions
vite 0 Questions
remix 0 Questions
htmx 0 Questions
wgpu 0 Questions
bevy 0 Questions
serde 0 Questions
cargo 0 Questions
sqlite 0 Questions
redis 0 Questions
flutter 0 Questions
bun 0 Questions
docker 0 Questions
kubernetes 0 Questions
oauth2 0 Questions
aws 0 Questions
gcp 0 Questions
react-native 0 Questions
qt 0 Questions
tauri 0 Questions
electron 0 Questions
svg 0 Questions
keras 0 Questions
swiftui 0 Questions
redux 0 Questions
iframe 0 Questions
cmake 0 Questions
axios 0 Questions
tcp 0 Questions
udp 0 Questions
three.js 0 Questions
graphql 0 Questions
yaml 0 Questions
stripe-api 0 Questions
supabase 0 Questions
sveltekit 0 Questions
markdown 0 Questions
reactjs 0 Questions
latex 0 Questions
regex 0 Questions
multithreading 0 Questions
solidjs 0 Questions
linked-list 0 Questions