Hacker News
- TIL the assumption that string length does not change when upper-cased is false https://chaos.social/@movonw/107316601658567746 240 comments
- String length functions for single emoji characters evaluate to greater than 1 https://hsivonen.fi/string-length/ 127 comments
- What Is the “Length” of a String? https://blog.etleap.com/2019/10/03/what-is-the-length-of-a-string/ 16 comments
- String Lengths in Unicode https://hsivonen.fi/string-length/ 140 comments
- C strings with implicit length field https://rwmj.wordpress.com/2016/01/08/half-baked-ideas-c-strings-with-implicit-length-field/#content 3 comments
- A string of unexpected lengths https://www.hackerschool.com/blog/74-a-string-of-unexpected-lengths 6 comments
- A string containing one emoji has length == 7 in JS and 17 in Rust https://hsivonen.fi/string-length/ 3 comments
- C++ constexpr parlor tricks: How can I obtain a string length at compile time? https://devblogs.microsoft.com/oldnewthing/20221114-00/?p=107393 3 comments
Lobsters
- C++ constexpr parlor tricks: How can I obtain the length of a string at compile time? https://devblogs.microsoft.com/oldnewthing/20221114-00/?p=107393 10 comments c++
- Final SRFI 185: Linear adjustable-length strings https://srfi.schemers.org/srfi-185/ 2 comments scheme
- Another C++-library to convert strings to type-strings, but super-tiny and without length-restrictions https://gitlab.com/fjw/wzrd 30 comments programming
- String array of fixed length that is the key count of the generic https://stackoverflow.com/a/59906630 5 comments typescript
- Constant Arrays of Variable Length Strings. https://github.com/BrentSeidel/Ada-Lisp/blob/master/src/bbs-lisp-symbols.ads 15 comments ada
- Maximum length of a string https://www.loewe.com/eu/en/women 4 comments regex
- Split String into chunks by length and bytes https://www.twilio.com/docs/glossary/what-sms-character-limit 11 comments dotnet
- [Basic] Trying to understand how to compare the length of elements in a string array https://www.reddit.com/r/javascript/comments/5yd448/basic_trying_to_understand_how_to_compare_the/ 14 comments javascript
- [VB.net] Issue with the use of a for loop with a string changing in length https://www.reddit.com/r/learnprogramming/comments/5hz7ya/vbnet_issue_with_the_use_of_a_for_loop_with_a/ 3 comments learnprogramming
- "Invalid length for a Base-64 char array or string." https://www.reddit.com/r/csharp/comments/5ghrvj/invalid_length_for_a_base64_char_array_or_string/ 12 comments csharp
- TIL: The String length function doesn't count the number of characters in a string https://www.reddit.com/r/javascript/comments/4waaiw/til_the_string_length_function_doesnt_count_the/ 76 comments javascript
- Half-baked ideas: C strings with implicit length field https://rwmj.wordpress.com/2016/01/08/half-baked-ideas-c-strings-with-implicit-length-field/ 41 comments programming
- Question: Arbitrary length strings? https://forum.ethereum.org/discussion/2250/arbitrary-length-strings 4 comments ethereum
- String length with Responsive design http://www.twitch.tv/directory 8 comments javascript
- Java Tip: Use CharacterIterator to safely iterate over a String instead of using character index and length. http://docs.oracle.com/javase/6/docs/api/java/text/characteriterator.html 14 comments java
- How to Measure String SSO Length with constinit and constexpr (C++20 experiment) https://www.cppstories.com/2022/sso-cpp20-checks/ 21 comments cpp
- C++ constexpr parlor tricks: How can I obtain the length of a string at compile time? https://devblogs.microsoft.com/oldnewthing/20221114-00/?p=107393 18 comments cpp
- Fix max URL and query string length with web.config and IIS https://blog.elmah.io/fix-max-url-and-query-string-length-with-web-config-and-iis/ 4 comments dotnet
- The string length challenge for the geeks on /r/programming (it is a post on my blog, because I can't use text body here)!? (Hope I am not violating guidelines) https://vaibhavkaushal.com/posts/the-string-length-problem/ 15 comments programming
- [Question] Entity Framework Core 2.1 - String max length https://x.name 14 comments dotnet
- How to I make a string of a set length? https://www.reddit.com/r/arduino/comments/4vsq3g/how_to_i_make_a_string_of_a_set_length/ 3 comments arduino
- ace-isearch, invoking different search packages base on string length https://github.com/tam17aki/ace-isearch 7 comments emacs
- Announcement: Library for strings of fixed maximum lengths that can be copied and stack allocated https://docs.rs/fixedstr/latest/fixedstr/ 5 comments rust
- Quadratic upper bound for the length of the string to "mathematically hang a picture (badly)" https://www.reddit.com/r/math/comments/cmbe4z/quadratic_upper_bound_for_the_length_of_the/ 8 comments math
- What's the shortest string length that requires a delete to create most efficiently? - An IHaskell notebook http://rampion.github.io/copypastepuzzle/ 10 comments haskell
- You still need the "safe" functions even if you check string lengths ahead of time https://blogs.msdn.com/b/oldnewthing/archive/2012/06/28/10324808.aspx?redirected=true 24 comments programming
- GitHub - thomaschaplin/rust-counter-strings: 🧵 Generate self-describing strings of a given length to help aid software testing https://github.com/thomaschaplin/rust-counter-strings 14 comments rust
- On this site, you will find free online tools to perform common string manipulations such as reversing a string, calculating a string's length or encoding a string! http://dostring.com 4 comments programming
- I implore you to watch the BBC Horizon documentary 'How long is a piece of string?'. Alan Davies, with some hardware shop string, consults scientists and mathematicians to discover it's length, eventually leading him to question the fabric of reality http://www.youtube.com/watch?v=5nyZR4Ya4oI 287 comments science
- How many different puzzle piece shapes are there? (or: how many m-ary cyclic strings of length n are there?) http://youtu.be/XPMzosLWGHo 4 comments math
- The key to understanding Quantum Entanglement is String Theory. This describes space-time in 10 dimensions, the three that we see around us, time and the remaining 6 that are wrapped around in a Calabi-Yah shape inside the Plank Length. This is where the entanglement occurs. http://www.popsci.com/scitech/article/2009-06/quantum-entaglement 22 comments science
- Counting "permutations" with a compatibility matrix. Use matrix multiplication to count the number of possible strings of length n where neighboring symbols are restricted. This is neat. http://stackoverflow.com/questions/483890/how-to-calculate-permutations-in-linear-time-with-a-twist/484118#484118 8 comments programming