HackerTrans
TopNewTrendsCommentsPastAskShowJobs

buzzdenver

no profile record

Submissions

Fastest Flash memory developed: writes in just 400 picoseconds

tomshardware.com
7 points·by buzzdenver·ปีที่แล้ว·1 comments

Ask HN: Regex on a File or Stream

1 points·by buzzdenver·2 ปีที่แล้ว·6 comments

comments

buzzdenver
·11 เดือนที่ผ่านมา·discuss
IAM Role change is more recent though
buzzdenver
·ปีที่แล้ว·discuss
He is such an interesting character to me. I've read a few of his books and some principles he brings up are super interesting and overlooked imo, while majority of the stuff he writes about uses the most handwave-y explanations.
buzzdenver
·2 ปีที่แล้ว·discuss
Mind sharing that that affordable 3rd party service is?
buzzdenver
·2 ปีที่แล้ว·discuss
Lol, that was my first reaction too. Funny how much language has changed in about 100 years.
buzzdenver
·2 ปีที่แล้ว·discuss
Yes, breaking it up would work, but that is not a solution for streams.

The regex is dead simple: /Authorization: Basic (.*)\ngrant_type=refresh_token/ "." does not match newline, so I'm basically looking two lines that conform to a template.

Specific cases can be transformed with some grep/awk magic, but IMO the concept of pattern matching against a stream is interesting regardless.
buzzdenver
·2 ปีที่แล้ว·discuss
For those of us who are only good at derivation: are these problems like chess where a computer will always beat a human?
buzzdenver
·2 ปีที่แล้ว·discuss
That's great info. I have an Adder laptop and both my hardware and software experience are poor...
buzzdenver
·2 ปีที่แล้ว·discuss
So around 3x of what AWS has? I guess this is more about what motherboard they have, and not an on-prem vs cloud difference.
buzzdenver
·2 ปีที่แล้ว·discuss
Can somebody eli5 how this works, or point me to some description? Let's say I'm pip installing it. How does the rust code turn into something that python can call?
buzzdenver
·3 ปีที่แล้ว·discuss
As an engineer, saying that $20k, the price of a cheap car, is 1/1000th of a GDP of a whole country does not pass the smell test. Google says that Yemen's GDP is $21.61b, so a drone is 0.0000925% of the GDP. In other words it's about a million drones per year for Yemen, and about 7.7 million interceptors per year for the US.