Code-used-on-Daniel-Lemire-s-blog
RegExr
Our great sponsors
Code-used-on-Daniel-Lemire-s-blog | RegExr | |
---|---|---|
24 | 579 | |
791 | 9,541 | |
- | - | |
9.4 | 0.0 | |
6 days ago | about 1 month ago | |
C | JavaScript | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Code-used-on-Daniel-Lemire-s-blog
- Estimating Your Memory Bandwidth
- First 96-Core AMD Zen 4 Threadripper Tests Show Utter Domination over Intel
-
Parsing time stamps faster with SIMD instructions
It's not bad at all https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/...
-
Under Linux, libSegFault and addr2line are underrated
A newline is missing in the example code. As given there's a segfault at line 5 not line 6.
However, the code at https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/... shows it's indeed at line 6, because it has an extra newline after the '#include '.
-
Best Websites For Coders
Daniel Lemire's Blog : Daniel Lemire's blog
-
Technical Blogs You Recommend?
Dr. Daniel Lemire's blog: https://lemire.me/blog, covers lots of technical items on optimizations in various programming languages, Lemire's work is currently in use across a number of projects and he consistently delivers fantastic improvements, he usually accompanies these improvements with a blog post describing what he did. He also occasionally posts interesting Science and Technology links on various topics not limited to tech, but health and education as well.
- suggest some c language blogs....
-
What are some cool modern libraries you enjoy using?
Nope, simdjson is originally from Daniel Lemire who also often blogs about fancy low level optimizations: https://lemire.me/blog/ I'm just a happy user :)
-
Escaping strings faster with AVX-512
Added this pull request with some interesting results.
There's a copy of the loop used on the escape function inside the avx512_escape function [0]. Is it needed or just a copy and paste mistake? (I know nothing about vector instructions)
0: https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/...
RegExr
-
Hot Springs
When thinking about how I might compare an arrangement to the contiguous group of damaged springs, I used regexr.com to experiment with very specific regexs that used the numbers.
-
Demystifying Regular Expressions (Regex): A Chat Sheet Guide
There are plenty of online regex tools to test and experiment with regex patterns. Some popular ones include RegExr, RegEx101, and RegexPlanet.
-
Camel Cards
Using regexr.com it at least appears to work as expected.
-
[2023 Day 2] [Python] Stuck on the first task
If you are going to use RE's, use something like https://regexr.com/ to double check that they're doing what you want. I was suspicious of your 'cols = re.findall(r'\d+ .....', i)' line, and indeed it does miss some columns. You should rethink your column detection, and either not use REs or learn how to use capture groups and \w. There would then be no reason to use yet another RE in your column iterator to extract the numbers which you've already detected.
-
2023 Day 2 Part A [Java] regex pattern not matching
First time posting here, let me know if I need to edit post to conform to any rules. My issue is that I'm trying to match regex pattern to separate out the number of cubes drawn and its color but my Matcher object seems to not be returning any matches so it's throwing a no match found exception when I try to call digitMatcher.group(). I have tested my regex pattern on sites like regexr and it seems to pass there but it's not working for some reason here. I use the same type of regex on day one and it work there so I'm not sure where my regex pattern is failing here. I'm talking about specifically in my isGameValid() method where I create a matcher base on a pattern I made above. Through debugging I know that I separated the string color pairing correctly and that my Matcher object has the correct regex pattern, it's just not matching for some reason. Any help would be appreciated. Code below:
-
Trebuchet?!
Regexr has been an invaluable tool as a beginner.
-
10 Lesser-Known Tools and Websites to Spice Up Your Developer Toolbox
RegExr simplifies working with regular expressions. This online tool provides a visual interface for building and testing regex patterns in real-time, making regex less intimidating.
- What regex flavour does vscode use in language-configuration.json
-
Regex not working
Ho did you arrive at the regex? I usually use a website to , such as https://regex101.com/, https://regexr.com/, https://regex-generator.olafneumann.org/ in combination of each other, as some explain better than the other.
-
Capture the first instance, but don't stop?
I pulled this into regexr.com and it yielded the same results except it removed :41:
What are some alternatives?
FastPFor - The FastPFOR C++ library: Fast integer compression
RegEx101 - This repository is currently only used for issue tracking for www.regex101.com
farmhash - Automatically exported from code.google.com/p/farmhash
RegExpBuilder
rust - Empowering everyone to build reliable and efficient software.
Visual Studio Code - Visual Studio Code
simonwillisonblog - The source code behind my blog
CyberChef - The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
developer-roadmap - Interactive roadmaps, guides and other educational content to help developers grow in their careers.
self-hosted - Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
cheatsheets - Cheatsheets for web development - devhints.io
Regexly - WYSIWYG Regex playground for those who JavaScript