Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
K0nserv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
601.
▲
by
K0nserv
10y ago
If the argument is economics and system complexity you should favour a single name field over first and last name though. It's one of those rare occurrences where something is both simpler and the better option.
602.
▲
by
K0nserv
10y ago
1Password has this builtin to all their clients so nothing other than 1Password itself is used to sync.
603.
▲
by
K0nserv
10y ago
I just sync my 1Password via WiFi between my phone, work computer and personal computer. It's really not that much work either. Well worth keeping the vault of the internet.
604.
▲
by
K0nserv
10y ago
Telia also attached a condition that you had to promise to be nice on the internet and not practice "näthat"(net hate). Not joking either, they were then very unresponsive to criticism and questioning of their stance on net neutra
605.
▲
by
K0nserv
10y ago
I agree with this and I've raised it several times in Objective-C codebases that can some times end up littered with NSDictionary:s everywhere taking no advantage of the Objective-C type mechanics. I don't think it's necessar
606.
▲
by
K0nserv
10y ago
Yeah I've heard people say this as well, but from my understanding setup.py is more aimed at libraries than end user projects. I¨ve never seen anyone use setup.py for an end user project in any case. Interestingly enough in Ruby it
607.
▲
by
K0nserv
10y ago
I guess it's a personal style choice, the Python code is more performant(less iterations over the data set), but I like the ruby version better.
608.
▲
by
K0nserv
10y ago
Imagine you have a list of products with prices and you want to calculate the cost of all products that are of a certain type. In ruby you can write this as products.select { |product| product.type == 'x' }.map(&:price).reduce
609.
▲
by
K0nserv
10y ago
Yeah that's what I mean by either reproducible builds(e.g locking each dependency to an exact version. Output of pip freeze) or what the GP is talking about which is specifying a version pattern.
610.
▲
by
K0nserv
10y ago
Yeah the requirements-{group}.txt convention kind of works, but what happens if you want to save only your frozen test dependencies for example? If you are using a single virtual env you end up freeezing everything in that env not only the
611.
▲
by
K0nserv
10y ago
The problem with that is that you no longer have reproducible builds. If you checkout a year old commit and built deployment artifacts with it you want the resulting artifact the be the same as when it was created. This is what you get with
612.
▲
by
K0nserv
10y ago
That looks interesting, I've also tried out pip-tools[0] which is really nice. However nice these tools are it seems to a bit at odds with the Zen of Python. Ideally there should be just one single good way to deal with packages. Ironi
613.
▲
by
K0nserv
10y ago
Not to my knowledge and this is definitely an area where Python is a lot better than Ruby from my experience. My comment pertains more to web development than scientific computing.
614.
▲
by
K0nserv
10y ago
Well for the case of "nicer libraries" I suppose I mean high quality libraries. Also good to note that I am referring to libraries in the web development/backend sphere here. I have a hard time thinking of some real world ex
615.
▲
by
K0nserv
10y ago
I switched to writing python as my main backend/scripting language with my new job. Previously I was using Ruby for most of this stuff with some Go. I must say that so far Python has been a vastly inferior experience for me. The langua
616.
▲
by
K0nserv
10y ago
GitLab EE has an option to require MRs to be fully rebased before allowing merges.
617.
▲
by
K0nserv
10y ago
GitLab keeps surprising me with the consistency and quality of their releases. They are really putting GitHub on the spot at the moment and I for one love the competition in this space
618.
▲
Google Intrusion Detection Problems
(fredtrotter.com)
374 points
by
K0nserv
10y ago
|
136 comments
619.
▲
by
K0nserv
10y ago
Oh I actually thought it was a official Facebook post, didn't know about Facebook notes.
620.
▲
by
K0nserv
10y ago
What's up with that hero image? It seems to have zero relationship at all to the content. Is it just a case of "A/B testing shows women in bikini's on beaches drive a lot of clicks?"
621.
▲
by
K0nserv
10y ago
Yeah maybe public isn't a good term for it, I usually use the term stable. So any pushed commits are indeed public, but they are only stable when they reach a stable branch. This means that if I am working on a branch I may remove, add
622.
▲
by
K0nserv
10y ago
I agree with the sentiment of this post and the techniques shown are smart(and new to me). I do want to point this out however[0]. 0: http://imgur.com/a/v1rbB
623.
▲
by
K0nserv
10y ago
Do what you say and both work in the same branch. If the branch diverges from master and you need to catch synchronize and then one of you does a rebase the other does git reset --hard origin/feature-branch. Alternatively just leave an
624.
▲
by
K0nserv
10y ago
I think this depends on your definition of public? For me public means "in stable branches". I sure hope you aren't rebasing master
625.
▲
by
K0nserv
10y ago
I don't share this concern, I've been rebasing frequently(several times a day) for years now and never caused any unrecoverable problems. I would recommend that the last thing you do before pushing a branch you've rebased is
626.
▲
by
K0nserv
10y ago
You have a good point all though I'd like to put forth the argument that many websites could just as well focus on reducing their page sizes and external resources instead of/before adopting AMP.
627.
▲
by
K0nserv
10y ago
I'm not convinced of AMP. I've written before on HN about my own webpage[0] were the average page weighs in at around ~10kb. At one point I was working on integrating AMP and some of the constraints from AMP has made it into the s
628.
▲
by
K0nserv
10y ago
I should have been clearer about that, for extensions I agree that calling localhost is reasonable if you have a desktop app you want to talk to for example. My suggestion would be removing the capabilities of XMLHTTPRequests to localhost f
629.
▲
by
K0nserv
10y ago
Three things standout to me that made this attack possible. 1. JetBrains setting too broad CORS headers. 2. JetBrains listening to 0.0.0.0 instead of only listening to localhost. Seems like YCMD is also listening to 0.0.0.0 instead of only
630.
▲
by
K0nserv
10y ago
It's more that the people who usually want to use a UI tool are already very UI oriented, so they'll not use emacs or vim. Probably PyCharm, Visual Studio or some other heavy IDE.
More ›