Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
halayli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
451.
▲
by
halayli
11y ago
Compilers can give us a warm feeling when they help us enforce invariants at compile time, but those invariants can only be applied on information known at compile time. pointer values cannot be known at compile time. not_null gives you the
452.
▲
by
halayli
11y ago
It's more for consistency. You can still forget to use a not_null.
453.
▲
by
halayli
11y ago
He has no proof what's going on behind the scenes, and jumped into conclusion and project a holier than thou attitude just because. People that write such articles should realize that they can cause a lot of damage to businesses. If yo
454.
▲
by
halayli
11y ago
I am not being cynical, but I wouldn't recommend using HN to replace a therapist.
455.
▲
by
halayli
11y ago
Agreed. The lack of standards around this makes it very challenging and the implementation will be against a constantly moving target. We all know how this ends. :) But it can also open the door further(not that it cannot now) to have 1pa
456.
▲
by
halayli
11y ago
Yes, it definitely has cons and introduces complexity. But maybe if a proper REST API is built around the concept it can reduce some of the complexity at the surface. The client will still have to encrypt for every user they need to give th
457.
▲
by
halayli
11y ago
Ah got it. I think implementing it as a server policy is fine for now. What would be nice is to have 1password regenerate and assign new passwords for certain supported services when a user leaves a vault. Not sure about its feasibility but
458.
▲
by
halayli
11y ago
I have a feeling this person never ran any production environment, nor spent time debugging.
459.
▲
by
halayli
11y ago
Thanks for the explanation! While in theory the passwords should be changed, but shouldn't a new vault key also get generated/encrypted and the existing passwords get re-encrypted with the new vault key? The case I was thinking ab
460.
▲
by
halayli
11y ago
How does revocation happens? What happens if I remove a user from the team?
461.
▲
by
halayli
11y ago
They are down voting your attitude. Try rephrasing it in a nicer way instead of being rude to people.
462.
▲
by
halayli
11y ago
you can chase all the dreams you want. It doesn't change the fact that chances this happening to someone else is almost 0. He's not the only person with a passion. Many superb software engineers to be won't get the opportunit
463.
▲
by
halayli
11y ago
memory ordering can get complicated. Here's further discussion from intel's software developer manual: section 8.2: http://www.intel.com/content/dam/www/public/us/en/documents/...
464.
▲
by
halayli
11y ago
I cannot navigate this page. 4 adsense ads at the top. scrolling broken, and a photo of the car in the middle. I wonder how forbes test their stuff.
465.
▲
by
halayli
11y ago
I wish postgreSQL focuses more on clustering, sharding and replication and bundle these features in the product rather than asking us to use other thirdparty tools like slony and pgpoolII. Other than that, postgreSQL is one of the cleanest
466.
▲
by
halayli
11y ago
What happens if your connection to redis dropped and a pub was made in between?
467.
▲
by
halayli
11y ago
I am not saying to tune HAProxy to win the benchmark. When you want to compare, it's a good idea to compare apples to apples. Like I said in my previous comment, HAProxy is a doing a lot more than what it's being compared with. HA
468.
▲
by
halayli
11y ago
When proxying network IO, there's not much that the language is doing. The burden is more on the OS. However, the comparison is not fair because what you are doing is just passing data in and out while haproxy is running a scheduler to
469.
▲
by
halayli
11y ago
haproxy can be configured in so many ways. Without providing your haproxy config and testing environment these numbers won't make sense. For example, configure haproxy with tcp splicing, and now you eliminated all the userland/ker
470.
▲
by
halayli
11y ago
nothing special about this vimrc. This is what I have: https://gist.github.com/halayli/ef3dd268986914ed77d5 At the very least, you need vim-session if you work on multiple projects (or branches) vim-airline is a nice t
471.
▲
by
halayli
11y ago
yeah because being chauffeured around by a random taxi cab sounds so pleasant.
472.
▲
by
halayli
11y ago
> The Pixel C takes an entirely new approach to the tablet experience. It looks like any other tablet.
473.
▲
by
halayli
11y ago
relevant: https://software.intel.com/en-us/articles/optimize-data-stru...
474.
▲
by
halayli
11y ago
no implicit type conversion is just one of several strongly typed properties. type checking & safety weigh more to label a language as a strongly typed one.
475.
▲
by
halayli
11y ago
You can prevent injection by passing the parameters to cursor.execute(query, (params,)) as a tuple. You don't need to rely on ORM to do that for you. subqueries are best expressed in sql directly. They can get complicated, especially w
476.
▲
by
halayli
11y ago
constructing queries in python is one of the disadvantages of using ORM. It takes away all the sql power that a DB can give you. Not to mention the magic that goes behind constructing the query that could be written in a more optimized way.
477.
▲
by
halayli
11y ago
My money is still on the fact that you don't know either of these languages nor have you used them in production.
478.
▲
by
halayli
11y ago
Every solution feels great and neat in the beginning until you wake up one day and feel sick to your stomach from the mess it has created. Most vtable like implementations in the kernel are nothing more than struct of function pointers, and
479.
▲
by
halayli
11y ago
Unmaintainable and extra complexity just to emulate a paradigm that C wasn't designed for.
480.
▲
by
halayli
11y ago
I have a feeling you have no clue what you are talking about, nor read dynamo db paper or tried to use it in a production environment.
More ›