198 karma · joined Sep 23, 2010 (16y ago) · 49 submissions
2.
How Not to Spend Half a Million Dollars on Logs(blog.scanner.dev ↗)
6 points · by cliffcrosland · 2y ago · 2 comments
4.
Cargo-zigbuild: Compile Rust using Zig as linker for easier cross compiling(github.com ↗)
2 points · by cliffcrosland · 3y ago · 1 comment
5.
Serverless Speed: Rust vs. Go, Java, and Python in AWS Lambda Functions(blog.scanner.dev ↗)
5 points · by cliffcrosland · 3y ago · discuss
comment 3y ago · link · parent
7.
Why we're building Scanner: data lake search must be fast(blog.scanner.dev ↗)
6 points · by cliffcrosland · 3y ago · 1 comment
comment 3y ago · link · parent
comment 3y ago · link · parent
However, AppDynamics and Duo seem to be doing well at Cisco from what I can tell. I think observability and security tools are a good match for Cisco and bundle well with hardware. For this reason, I’ll bet Splunk does reasonably well under Cisco too.
comment 3y ago · link · parent
Decoupling compute and storage is definitely the way to go. We’re using Lambda functions and ECS Fargate containers for compute that scales up and down rapidly, and S3 for storage. Getting ~1TB/sec log scan speeds, which feels fairly good. We keep sparse indices in S3 to narrow down regions of logs to scan. Eg. if you’re searching for an IP address that appears 10 times in a 25TB log set, the indices reduce the search space to around 300MB. Takes a few seconds to complete that query, whereas Athena and CloudWatch take like 20 minutes.
We’re also using Rust to maximize memory efficiency and speed - there are lots of great SIMD optimized string search and regex libraries on crates.io.
We’re early, so there are a lot of SIEM features like detection rules that we are still building. But Splunk/DataDog users might find it useful if costs are a problem and they use mostly log search:
comment 4y ago · link · parent
Had a pricing question. Say we connected a log forwarder like Vector to send data to Clickhouse Cloud, once per second. If each write unit is $0.0125, and we execute 86,400 writes over the course of the day, would we end up spending $1080? Do you only really support large batch, low frequency writes?
comment 4y ago · link · parent
comment 7y ago · link · parent
100% agree. We had a C++ service that made heavy use of libcurl. A particular release of libcurl introduced some memory safety problems that caused frequent segfaults for us. These memory safety bugs were eventually fixed in another release, but it scared us enough that we investigated rewriting the service in Rust.
After successful experimentation with some prototypes, we eventually rewrote the service in Rust, auditing the unsafe code in our dependencies (of which there was very little). No segfaults ever since.
Side benefit: Since Rust networking libraries tend to have strong async support, and since some of our C++ libraries performed synchronous networking operations, we saw a big improvement in performance. The number of threads needed dropped by 5x.
comment 7y ago · link · parent
I appreciate that Ousterhout tries to support these principles with some data from his own experience (building Tcl, RamCloud where Raft consensus was discovered, etc) and from code reviews of student projects in his design course, but he admits that there is a lack of data about things like design.
Sample principles from Ousterhout:
* When developing an interface, favor exposing a small number of functions each with deep functionality over exposing a large number of functions each with shallow functionality. For example, favor Unix file I/O interface (open, close, read, write, unlink) over Java file I/O interface (File, FileReader, BufferedReader, FileWriter, BufferedWriter, FileNotFoundException, ... etc.)
* When choosing between keeping your code specific and keeping your code general, favor "somewhat" general. For example, instead of exposing "deleteNextCharacter(text, pos), deleteNextWord(text, pos), deleteNextSentence(text, pos)", just expose "delete(text, pos, length)" and let the caller use it how they will.
comment 9y ago · link · parent
Makes me wary of trusting other big OS libraries, but since rebuilding every part of the stack from scratch is infeasible and unproductive, we don't have much choice but to use them.
Technical announcement:
Severe security vulnerability found in Apache Struts using lgtm.com (CVE-2017-9805):
https://lgtm.com/blog/apache_struts_CVE-2017-9805_announceme...
comment 9y ago · link · parent
- 6am work at home
- 8am work at office
- 6pm dinner with family at home, or cheer at kids' athletic events
- 8pm work at home
- 11pm or 12am, sleep
- In early days, he slept on couch near computer to take customer support calls at night.
It wasn't until I was older that I realized how much my family was prioritized.
That said, my mom wanted to be a full time caregiver and did an amazing job of it, so his caregiving responsibilities were not nearly as extensive as my mother's.
comment 10y ago · link · parent
24.
Ask HN: Do some YC values need to be softened?
10 points · by cliffcrosland · 10y ago · 6 comments
comment 11y ago · link · parent
comment 11y ago · link · parent
Great point about the warping issue in my demo. I use a solver to produce a quadratic polynomial that maps in-angles to out-angles. I feel like the coefficients produced by the solver don't fit the data very well for pixels far away from the black hole, resulting in zooming / warping. I'm going to dig into it a bit and see if I can produce a better polynomial.
UPDATE: Just made a quick change. The solver was only attempting to match data up to, but not through, the FOV limit, which meant that the polynomial did not fit data near the FOV limit very well. I updated it so that it now uses data up to and beyond the FOV. There is still a bit of warping for far away pixels, but there is substantially less than before. Thank you for the tip.
28.
Show HN: Black-hole.js – Visualize black hole gravitational lensing in WebGL(github.com ↗)
72 points · by cliffcrosland · 11y ago · 14 comments
comment 11y ago · link · parent
I created a simple wristwatch accessory that was scripted to upload a copy of all of your chatbox text to an external service. Later, you could log in to this external service and search through a history of all of the conversations your character ever overheard.
Real-world versions of this technology appear inevitable as digital storage costs trend to zero. A rudimentary digital copy of the physical world is being created in services like Google Maps. The Google self-driving car records a 3D copy of its surroundings with accuracy at the centimeter level. Dropcam uploads video and audio data from within your home to cloud storage.
A world with fully recorded life experiences seems creepy at first blush, but I believe we'll discover a mechanism for trust that will allow everyone to safely record a digital copy of their lives that is inaccessible to third parties. Perhaps in the future we'll each own an open-source private cloud container of CPU and storage resources. Instead of processing your data on external servers, third-party services might provide code that runs in your own container under tight network permission restrictions. Such a system might be able to maintain the benefits of continuous software deployment while allowing consumers to keep their data under their control.
comment 12y ago · link · parent
[1] http://www.xconomy.com/san-francisco/2013/04/23/dropcam-ceos...
[2] http://techcrunch.com/2014/06/20/google-and-nest-acquire-dro...