HN user

tsenart

495 karma

[ my public key: https://keybase.io/tsenart; my proof: https://keybase.io/tsenart/sigs/OsRqRDqkbw1gHiFABlkt6guvCr0WJszV_j0eXD3hPrQ ]

Posts59
Comments72
View on HN
gilfoyle.sh 5mo ago

Show HN: Gilfoyle. An SRE Agent that finds truth while you're still guessing

tsenart
17pts2
twitter.com 1y ago

The kicker about Stables' LLM skepticism

tsenart
1pts0
github.com 1y ago

Kth: High-Performance Selection Algorithms for Go

tsenart
79pts6
github.com 1y ago

Pdqselect: Pattern-Defeating QuickSelect for Go

tsenart
1pts0
twitter.com 2y ago

Cool, hot, fast zero-copy

tsenart
1pts0
github.com 7y ago

After 2 years, Vegeta is truly over 9000

tsenart
5pts0
github.com 7y ago

Vegeta v9.0.0 released with a better HTML plot command

tsenart
1pts0
github.com 9y ago

Universally Unique Lexicographically Sortable Identifier in Go

tsenart
89pts52
github.com 10y ago

HTTP/2 load testing with Vegeta

tsenart
62pts15
github.com 11y ago

Vegeta dump: Raw HTTP load test results in CSV or JSON formats

tsenart
1pts0
github.com 11y ago

Vegeta HTTP load testing tool gains Windows and FreeBSD support

tsenart
5pts0
github.com 11y ago

New Vegeta release with concurrency control and graceful shutdowns

tsenart
1pts0
github.com 12y ago

Tb: A generic lock-free implementation of the "Token Bucket" algorithm, in Go

tsenart
1pts0
github.com 12y ago

Pan: A Go sql.DB wrapper for master-slave topologies

tsenart
3pts0
github.com 12y ago

Vegeta: Distributed Attack

tsenart
1pts0
github.com 12y ago

Vegeta: HTTP load testing tool written in Go

tsenart
99pts27
coderwall.com 13y ago

Search for the TODOs and XXXs

tsenart
1pts0
github.com 14y ago

Offliner - Go offline in Chrome

tsenart
2pts1
thenextweb.com 15y ago

SoundCloud hits 5M users and gets funding from Ashton Kutcher

tsenart
4pts0
icloud.com 15y ago

ICloud.com

tsenart
2pts0
zorropark.com 15y ago

Mindfuck WebGL Zorropark

tsenart
3pts3
chrome.google.com 15y ago

Sight - Save your coder eyes.

tsenart
16pts8
thechangelog.com 15y ago

Fool.js: Punk your readers with CSS3 transforms

tsenart
3pts0
github.com 15y ago

Fool.js - April 1st Javascript Snippet

tsenart
1pts2
sendoid.com 15y ago

Konami Code found on Sendoid

tsenart
1pts0
postrank-labs.github.com 15y ago

Meet the Goliath of Ruby Application Servers

tsenart
3pts0
chrome.google.com 15y ago

Read code on the browser with ease.

tsenart
79pts24
news.ycombinator.com 15y ago

Ask HN: How do you prepare and do a technical talk?

tsenart
2pts3
tsenart.github.com 15y ago

ƒu.js - The Functional DOM traversing library.

tsenart
55pts44
tsenart.github.com 15y ago

ƒu.js

tsenart
18pts24

OptioPay | Engineering | Berlin, Germany | ONSITE, VISA, FULL-TIME

We're on a mission to create the most beneficial payout ecosystem in the world and fundamentally change the way people receive money!

Now hiring: Backend Engineer, Frontend Engineer, Head of IT Operations, Security Engineer, Site Reliability Engineer, Senior Data Analyst, Senior System Administrator, Senior UX Designer, Web Developer.

Take a look at our open positions in more detail below and don't hesitate to reach out to me directly: ts [at] optiopay.com

https://jobs.optiopay.com/

OptioPay | Frontend UI Engineer, Backend Engineer, SRE, Security Engineer | Berlin, Germany | ONSITE, VISA, FULL-TIME

We're on a mission to create the most beneficial payout ecosystem in the world and fundamentally change the way people receive money!

Have a look at our open positions and don't hesitate to reach out to me directly: ts [at] optiopay.com

https://www.optiopay.com/careers

A user of these IDs my not realize that the reliability of the ordering can be substantially reduced depending on where the IDs are generated.

That can only be addressed with improved documentation and shared understanding of the subtleties and pitfalls of distributed time synchronisation.

Some applications may be able to tolerate inconsistencies in ordering, others may not.

Indeed. Proper thought must be but into this sort of thing. ULIDs aren't an exception nor a silver bullet.

How many bits of approximate time does one really need?

Entirely application dependent.

What is the use of 48 bites of time? It reduces the overall entropy, for what? If time is important then why not make the id literally time (i.e. UnixNano), if it isn't they why not make all bits rand?

For some designs it's useful to have identifiers have other properties than uniqueness. In this case, this property is relative lexicographical (and binary) order based on time so that you can leverage the order between the things the identifiers identify without looking at the things. The entropy is there to satisfy the uniqueness property (with some acceptable degree of collision, application dependent). The time is there to satisfy the ordering property.

Yes if you use a good source of entropy. In Go, the easiest and most secure is the `crypto/rand.Reader`. But it's also slow. If you don't need the security properties, an instance of `math/rand.Rand` should suffice. Otherwise, you can implement your own. It's just an io.Reader!

Without the context of why this was developed, I have to agree with easytiger's point of pointlessness. Perhaps it was just an exercise in curiosity and exploration of the language. If not, I would use pdsh instead http://sourceforge.net/projects/pdsh/ $ pdsh -b -w '10.0.0.1,...,10.0.0.n' 'cat /var/log/your_log | grep "your_pattern"'