date   18321

« earlier    

segmentio/ksuid: K-Sortable Globally Unique IDs
ksuid is a Go library that can generate and parse KSUIDs

"we can query by a single job ID, as well as sort by the time that the job was created with a single index"

"It's a way to generate globally unique IDs similar to RFC 4122 UUIDs, but contain a time component so they can be "roughly" sorted by time of creation. The remainder of the KSUID is randomly generated bytes."

"Unlike the more common choice of UUIDv4, KSUIDs contain a timestamp component that allows them to be roughly sorted by generation time. This is obviously not a strong guarantee as it depends on wall clocks, but is still incredibly useful."
UUID  sort  creation  date  go  library  create  generate  generation  parse  global  unique  ID 
13 days ago by ebouchut
Working with Mutable and Immutable DateTime in PHP
Mutable dates can be the source of confusion and unexpected bugs in your code. My goal isn’t to tell you that DateTime is evil because it’s mutable, but to consider the tradeoffs and benefits of using mutable versus immutable DateTime objects. Until recently, I wasn’t even aware that PHP offers a counterpart to the DateTime class: DateTimeImmutable. …
Mutable dates can be the source of confusion and unexpected bugs in your code. My goal isn’t to tell you that DateTime is evil because it’s mutable, but to consider the tradeoffs and benefits of using mutable versus immutable DateTime objects. Until recently, I wasn’t even aware that PHP offers a counterpart to the DateTime class: DateTimeImmutable. …
laravel  php  date  time  data 
13 days ago by michaelfox
sql - google-bigquery format date as mm/dd/yyyy in query results - Stack Overflow
I am using Bigquery SQL to generate a report. The standard Bigquery date format is yyyy-mm-dd, but I want it to be formatted as mm/dd/yyyy. Is there a way via Bigquery SQL to convert the date format on SELECT? via Pocket
IFTTT  Pocket  bigquery  date  format_date  format_timestamp  sql  ToReadWithPocket 
14 days ago by aksie

« earlier    

related tags

&  (jayem  0416  1d:  390  acestream  acf  adventure  afo  and  arcade  arithmetic  article  bigquery  bookmarks_bar  bug  byeiphonexthanksforeverything  calendar  cheatsheet  create  creation  data  datepicker  dates  datestyle  datetime  dev  edge-case  electric  expected  fallacies  features  football  format  format_date  format_timestamp  formatter  generate  generation  git  global  gmail  go  golang  graphql  hanging  id  ifttt  important  iso  java  javascript  join  js  ktm  laravel  launch  library  list  mycomment  mysql  nano  neo)  oregon  out  parse  php  picker  pikaday  pocket  postgres  postgresql  price  programming  python  query  range  react  reference  sample  scala  search  soccer  sort  sorting  specs  sql  stream  string  style  tag  tata  time  timestamp  timezones  tips  toreadwithpocket  tv  unique  uuid  vs.  web  webdev  weekend  wp   

Copy this bookmark:



description:


tags: