Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dfee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
901.
▲
by
dfee
8y ago
You nailed it with "on any package that I write that has third party dependencies anyway". On my recent package I was going for zero dependencies (at py3.7+) so I used the backport of dataclasses. Ultimately, I threw out dataclass
902.
▲
by
dfee
8y ago
The article doesn't discuss slots and default values. Here's the actual reference implementation for dataclasses where it's discussed: https://github.com/ericvsmith/dataclasses/issues/28 Your
903.
▲
by
dfee
8y ago
The problem with dataclasses are: 1) they don’t support __slots__ and default values 2) type hints aren’t supported yet, and it doesn’t appear they’ll be added to the 3.6 backport The former issue will be resolved (maybe in 3.8?) but it wil
904.
▲
by
dfee
8y ago
What is the group thought on running these containers that have access to (for example) a Postgres or Redis dB? Sure Zappa, keeps the “container-function-thing” alive so you can cache it as a global variable, but this is a jacket approach t
905.
▲
by
dfee
8y ago
Instagram is aware of this, and I’d be surprised if they found out through BuzzFeed News that this was happening. So maybe this isn’t a bad thing for Instagram?
906.
▲
by
dfee
8y ago
I discovered the promises of CQRS/ES through Martin Fowler. I didn’t realize he had discounted it to the extent you’ve said, but I’d like to read his thoughts. Do you have a link to the article, or is it in a book?
907.
▲
by
dfee
8y ago
Found it: https://github.com/looterz/grimd Questions: 1) is this black hole concept sustainable? Or, does it require significant management, and is likely to be circumvented by serving content through a proxy anyway? 2
908.
▲
by
dfee
8y ago
I compose my json-schemas in yaml, and therefore use yaml-anchors to stitch together repetitive code. The errors I've run into are more alongside implementation details like: `number` being interpreted as a float (not a decimal) which
909.
▲
by
dfee
8y ago
Wow. Books on writing copy? Either that’s what I’ve been missing, or it’s another rabbit hole that leads nowhere but self-congratulatory learning (no sarcasm intended). I feel like I hit a wall writing thinks as they’re either technically a
910.
▲
by
dfee
8y ago
Just be prepared for some funny looks when you state that to Americans as a fact. Or, when you state any stereotypical “knowledge” you’ve discerned from reading online comments as a fact.
911.
▲
by
dfee
8y ago
Etymological arguments for either position. Regardless, I wouldn’t claim the distinction exists, and would find it hard to justify that it’s VERY important.
912.
▲
by
dfee
8y ago
I unfortunately cannot use this as I’m concerned about living in a Facebook panoptician (seriously). * living being narrowly defined as interacting with a/the world via an immersive virtual reality.
913.
▲
by
dfee
8y ago
Pyramid is great, lacks the problems (magic) you mentioned, and is now what pypi.org is built on: https://docs.pylonsproject.org/projects/pyramid/en/latest/in... I’ve used it off and on since 2010 (as Py
914.
▲
by
dfee
8y ago
I'd agree with you a year ago. But, then I disconnected from Facebook as an experiment. This cut out 90% of my exposure to alternate news sources (alternate defined here as my traffic not being direct). I know I miss some things, and s
915.
▲
by
dfee
8y ago
These days I try hard to maintain control of my perspective not by reading broadly, but reading judiciously; I have a white-list on sources rather than a black-list. For instance, if cable news is on, I fight the temptation to give it my at
916.
▲
by
dfee
8y ago
You got me. I haven’t formally studied Econ, and maybe I would be one of those chumps you would mock for failing the first Econ 101 test. Anyway, that’s all somewhat irrelevant. I asked a question wanting to know more about “free markets” a
917.
▲
by
dfee
8y ago
So after some light reading, theoretical free markets are predicated on complete information, and known to be impossible to achieve for the reason I mentioned. Interesting.
918.
▲
by
dfee
8y ago
I can’t find anything on there that supports the idea that free markets are modeled on “perfect information”. I wouldn’t think that’s the case, anyway. Because marketing/advertising/awareness is a cost with diminishing returns, me
919.
▲
by
dfee
8y ago
There is something quite interesting in this - you claim that “free markets” are inhibited by a lack of information. I’m not sure information is requisite in “free markets”; is it? I like the idea that a free market requires some informatio
920.
▲
by
dfee
9y ago
Ah yes, one of the resources I follow is a newspaper where I pay for the news weekly (FT). I only get the title and a link.
921.
▲
by
dfee
9y ago
Quite a few apps provide this. One is called Newsify. I don’t know that it goes against the nature of RSS. I kind of feel that providing only a title of the article and a link goes against the spirit. But nature and spirit are different.
922.
▲
by
dfee
9y ago
Nothing is free. WordPress is also a blogging platform first and foremost.
923.
▲
by
dfee
9y ago
My use of RSS has fallen (very recently) so I only consume a few feeds every day. However, I both enjoy and dislike Feedly. Here’s the rundown: Pros) - advanced features like highlighting, team management - pure free offering that just work
924.
▲
by
dfee
9y ago
The sqlalchemy orm and asyncio are incompatible. There are packages like aiopg that allow for sqlalchemy to be used as a functional sql layer. If you want to use the orm parts of sqlalchemy, the idea is to use thread executors and handle de
925.
▲
by
dfee
9y ago
I think that rests on your assumption. I know Peter Thiel argues in his book Zero to One that monopolies are end-game efficient.
926.
▲
by
dfee
9y ago
It’s like being dropped back into my Latin classes. The history component is great, and by far the best part of taking 4 years of it in high school.
927.
▲
by
dfee
9y ago
How did you do the math on this?
928.
▲
by
dfee
9y ago
No. You’re not providing your Facebook cookie to the third party site. So, there is no way to associate your identity on example.com with your Facebook profile. Think of it this way, if you have an authentication ticket, such as what is in
929.
▲
by
dfee
9y ago
Let’s say you go to example.com and they’re using a Facebook Pixel for analytics - so example.com can continue marketing that widget to you after you’ve left their site. Well, when you visit example.com/shop/widget1 you essentiall
930.
▲
by
dfee
9y ago
Having just escaped from the snowpocalypse of Minneapolis tonight, I can tell you this is right. The other thing is to accelerate through turns - it helps maintain traction.
More ›