thomas-st
It's more common in string fields, which in many cases just get rendered on a web form that doesn't differentiate blank (empty string) from null state, therefore in the database we should in most cases set it up as follows:
- Value required: field should be non-NULL + at least length 1 (via check constraint)
- Value optional: either field is non-NULL, or field is nullable + at least length 1
I'm curious if you prefer to store optional strings as non-NULL and rely on the length, or as nullable and have a length constraint.
Funny enough, if I plug the USB-C/A dongle on the end of the power bank and the cable into the MacBook, it also won't charge.
I also have a Philips One toothbrush with a USB-C charging input. Similarly, I can't charge it with a USB-C cable directly from my MacBook but have to use A in between (I unsuccessfully tried using either a thinner "lower speed" or a thicker "higher speed" USB-C cable). I'm assuming the toothbrush doesn't support PD, so then why can't it fall back to traditional charging with a C-to-C cable?
https://www.straitstimes.com/asia/se-asia/iphone-16-allowed-...
Which companies have a cancellation policy that is contingent upon getting a boarding pass? I've cancelled checked-in tickets before. If the flight is operated by a different airline than the ticket issuer, you just have to call the operating airline first to undo the check-in (a few airline can even do this online). After that it should be possible to cancel the ticket by the ticket issuer without any problems.
It is crazy they can't tell you how much you'll be paying before signing up.
While apart from the cracked screen issue the hardware is amazing in my opinion, the overall software issues make using macOS painful sometimes (processes running at high CPU -- now mostly offloaded to the efficiency cores, WebKit views having issues loading, anything syncing to iCloud sometimes not working, sometimes working on the 2nd try, Messages/Apple Mail search only finding some of the messages, audio crackling issues with wired headphones/AirPods/built-in speaker, etc.)
Now, if only they could also fix the audio crackling issue that me and many other users are experiencing... (https://www.reddit.com/r/macbookpro/comments/s4r1m5/macbook_...)
Some firm already filed a class action complaint, and I submitted my details: https://classlawdc.com/2021/08/04/m1-macbook-screen-crack-in...
We're building the sales communication platform of the future. With our roots as the very first sales CRM to include built-in calling, we're leading the industry toward eliminating manual processes and helping companies to close more deals (faster). Since our founding in 2013, we've grown to become a profitable, 100% globally distributed team of ~45 high-performing, happy people that are dedicated to building a product our customers love.
We are currently hiring for a few 100% remote positions:
- Senior Frontend Engineer - React https://jobs.lever.co/close.io/10a1e32b-1a59-48dc-b8f4-e6f0d...
- Software Engineer - Backend/Python https://jobs.lever.co/close.io/592193bf-8a9c-43cf-86a1-faeb7...
We're building the sales communication platform of the future. With our roots as the very first sales CRM to include built-in calling, we're leading the industry toward eliminating manual processes and helping companies to close more deals (faster). Since our founding in 2013, we've grown to become a profitable, 100% globally distributed team of ~45 high-performing, happy people that are dedicated to building a product our customers love.
We are currently hiring for a few 100% remote positions:
- Senior Frontend Engineer - React https://jobs.lever.co/close.io/10a1e32b-1a59-48dc-b8f4-e6f0d...
- Software Engineer - Backend/Python https://jobs.lever.co/close.io/592193bf-8a9c-43cf-86a1-faeb7...
- Product Manager - Americas https://jobs.lever.co/close.io/21dca90f-06a3-4050-81a0-9659d...
With my C module, I got 320ns, which was 62x faster than Python's less flexible strptime. See https://github.com/closeio/ciso8601/ for my benchmarks.
- Press "q" to quit the selected application
- Press "h" to toggle hiding the selected application
- Press "1" to show all open windows for the selected application
Does anyone know if there is a built-in way to only switch to the frontmost application window (by default Cmd+Tab puts all app windows in the foreground)? Sometimes I need to switch between two windows of different applications which I both want to keep visible on the screen, but switching to the destination app with Cmd+Tab ends up covering the entire screen because that application has other windows.
TaskTiger – Python task queue with per-task forks, unique queues and batch tasks
One nice thing about the hash ring is that it nicely rebalances when you add or remove nodes. There is no need split any buckets.
Consistent hash ring Python library for building distributed apps with Redis
Of course there is always potential for optimization, but at this point it's fast enough for our purposes. If you can make it significantly faster please don't hesitate to submit a PR though :)
EDIT: Wouldn't most C compilers unroll the simple "for" loops? Direct link to the C code: https://github.com/elasticsales/ciso8601/blob/master/module....
Show HN: A fast ISO8601 date-time parser for Python
Would be interested in something comparable for Safari. Anyone?