Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hmcdona1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
hmcdona1
7y ago
lol it would work fine. I've had a joke app running Angular 2.0 in production for years. The code doesn't just expire and break. If you upgrade to Angular 8 in your package.json without running the upgrade schematics, yes it will
32.
▲
by
hmcdona1
7y ago
Although Ivy will bring nice improvements all around, you won't see the 12kb bundle sizes you are talking about in this initial release of Ivy. `renderComponent` is the key that will enable that down the road in some fashion (you can p
33.
▲
by
hmcdona1
7y ago
The architecture concepts behind Angular are very .net-esque in a lot of ways. It's often an easier transition for folks used to MVC style projects with a heavy reliance on dependency injection to wrap their head around Angular than so
34.
▲
by
hmcdona1
7y ago
Fair enough, but I'm not sure you understand how nice schematics are. You can use them for a lot of things, but one nice use case is essentially update migrations. You literally just run `ng update @angular/cli @angular/core`
35.
▲
by
hmcdona1
7y ago
This couldn't be more wrong. The team does a great job handling upgrade paths post 2.0. First off, Angular versions post 2.0 are nothing like AngularJS/1.x -> Angular/2.0. They are much more incremental and even the two ti
36.
▲
by
hmcdona1
7y ago
Watch the talk linked above. He goes into a lot of the reasons. Security is definitely a big one. Other things seem to be addressing problems that originated from poorly informed decisions early in development that the node.js community has
37.
▲
by
hmcdona1
7y ago
Modern SPA frameworks are usually built on components. You can combine components to define a tree of elements that represents your UI. This pattern is also often referred to as a Declarative UI pattern. GraphQL works well with declarative
38.
▲
by
hmcdona1
7y ago
have you never heard of urban dictionary before? they're all user submitted joke definitions...
39.
▲
by
hmcdona1
7y ago
FastAPI (built on Starlette) essentially generates your OpenAPI docs for free via intuitive use of decorators and type hints/Pydantic models.
40.
▲
by
hmcdona1
7y ago
async is more beneficial for when code is primarily network bound. WSGI is thread based which comes with a higher overhead for task switching. So it’s just not as efficient for most web server tasks.
41.
▲
by
hmcdona1
7y ago
We need to write a lot of small APIs in Python for SPAs. We ended up going with FastAPI which utilizes Starlette under the hood. I'm surprised neither of them are mentioned here. Starlette was developed by the same dev who wrote the Dj
42.
▲
by
hmcdona1
8y ago
"Normal" people don't know because they don't use niche software products like an rss reader or Google's latest messaging app. If something is not an instant mainstream hit, Google might can it. That's a risk i
43.
▲
by
hmcdona1
8y ago
In Texas, H-E-B sells exactly what you are describing. They have four types of meal kits: eat, heat, cook, and prep. https://www.heb.com/static-page/meal-simple I buy at least 3-4 of them a week because they're pe
44.
▲
by
hmcdona1
8y ago
This is similar to the Conventional Changelog: https://github.com/conventional-changelog/conventional-chang... I often use a customized Commit Lint in combo with Husky to enforce conventional changelog messages: https
45.
▲
by
hmcdona1
9y ago
Fair enough, I fully admit to not being an expert on voting and don't know about any reforms taking place. I was simply stating that a blockchain solution might be better than just casting a plain paper ballot. The way OP worded his re
46.
▲
by
hmcdona1
9y ago
Good point! If keys/addresses were assigned in secret, I don't see how blockchain forensics could identify someone given that voting is simply transactions going one way. The only way might be time, but that could be a big give aw
47.
▲
by
hmcdona1
9y ago
If I am given a voterID, let's say an address from which I cast my vote. I can look at my vote on the chain to ensure it was cast correctly forever from that point forward. The node software would ideally be open source and publicly av
48.
▲
by
hmcdona1
9y ago
What? I agree it works, but it's pretty insecure. Paper ballots can just be swapped out for other paper ballots. With a public blockchain (or something like it) you could always look up your vote and by nature it cannot be changed. The
49.
▲
by
hmcdona1
9y ago
My favorite is if you're from Houston you call on/off ramps "feeder roads". I don't think people use that term anywhere else.
50.
▲
by
hmcdona1
9y ago
The lightning network will be far less effective than people are hoping. You have to a) pay to open up a channel with each person you wish to use it, and b) each stake capital in that channel for it to be functional. This is useful only in
51.
▲
by
hmcdona1
9y ago
Yeah, the author of this article likely just followed these TensorFlow tutorials. You don't even have to touch code. Follow this to retrain the Inception network: https://www.tensorflow.org/tutorials/image_retraini
52.
▲
by
hmcdona1
10y ago
It's not even just that. I'm not sure about everywhere in the country but in parts of Texas good luck depending on a cab to show up within even an hour+ time frame you called in for it to. Everyone here has cars so there are very
53.
▲
by
hmcdona1
10y ago
You are clearly not from Texas. Nothing is 10 minutes away. Public transit is a joke. I realize this is a chicken/egg situation, but it's probably not changing anytime soon here. Honestly, it's not an issue (in Houston) at al
54.
▲
by
hmcdona1
12y ago
To be fair the average user doesn't ever need to see hidden folders. Who cares what the defaults are, set your Mac up however you want, I'm sure everyone here is plenty capable. Also, people will spend days customizing their Linux