Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
haney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
61.
▲
by
haney
8y ago
I'm really excited for this, there are so many times that I override backend code to pre-compute a column and then save it, the ability to just define a generated value that is indexable that Postgres can keep up to date without trigge
62.
▲
Postgres Gains Support for Generated on Write Columns
(github.com)
6 points
by
haney
8y ago
|
2 comments
63.
▲
by
haney
8y ago
Wagtail, a CMS system for Django uses a very similar abstraction to this for their StreamField[1] type and I've found it incredibly useful. It allows frontend services and backend services to easily implement custom types, and treats s
64.
▲
by
haney
8y ago
I’ve been really happy splitting the difference between rails style server side rendering and full client side JS apps using Django. I can easily build REST or GraphQL endpoints for client side web apps to consume, but I have the ability to
65.
▲
by
haney
8y ago
I totally agree with this, and writing a test suite also happens to be a great exercise in learning a new legacy code base. I’d also suggest following this up with a solid monitoring system so you can be confident any exceptions / perf
66.
▲
by
haney
8y ago
Kind of off topic but it doesn’t look like there are any tests in this repo. Is that common in the open source C community? I see several people suggesting benchmarks but what about functional tests? I don’t write much C and am curious abou
67.
▲
by
haney
8y ago
Sounds like they mean “remote” because chromium uses SQLite and JavaScript loaded into your machine comes from a remote source. So because a website can run JS that can exploit chromium they’re calling it an RCE.
68.
▲
by
haney
8y ago
What you’re describing sounds very similar to “mutation” testing. https://en.m.wikipedia.org/wiki/Mutation_testing
69.
▲
by
haney
8y ago
I’m a relatively happy user of flow. Is your objection to typed JavaScript or to the fact that flow is not Typescript?
70.
▲
by
haney
8y ago
Maybe, but it could also reduce fossil fuels used to operate less efficient cooling systems in traditional data centers. I’d love to see a breakdown on the impact of each approach.
71.
▲
by
haney
8y ago
I spend a lot of time in python land and as of late I’ve been using Sphinx mixed with django-extensions graph_models and some hand edited graphviz. This allows the lion share of my documentation to live in actual code and for all documentat
72.
▲
by
haney
8y ago
Cool, sorry didn’t mean to come across as negative. I’m always appreciative when people share solutions to problems they’ve had. Thanks for clearing up some of my questions.
73.
▲
by
haney
8y ago
Interesting idea, although I'm left wondering what's in it for the operator of this service? There doesn't appear to be any "about us" or information about what's happening with the data I pipe to this url.
74.
▲
by
haney
8y ago
My point wasn’t that they aren’t important, just that the OP didn’t need to feel bad about not learning about them yet. It was meant more to point out that learning the history of how other people solved problems can inform the way we appro
75.
▲
by
haney
8y ago
I heard somewhere that a computer science degree is actually a history degree in how we have solved problems in the past. Programming is a creative problem solving process, but certain problems took decades to solve and it’s only by knowing
76.
▲
Facebook Platform was down
74 points
by
haney
8y ago
|
37 comments
77.
▲
by
haney
8y ago
Not sure what the author was referring to but, Airflow has gotten better / gained wider adoption during that time and my team started using DBT which saved a bunch time and was new during that period.
78.
▲
by
haney
8y ago
Very excited to see this, I've been intrigued by it over the last few months but have avoided it because I was concerned if I built a successful project with it I'd eventually reach a hard cliff in terms of pricing. It's espe
79.
▲
by
haney
8y ago
Musk seems like he's gone completely off the rails
80.
▲
by
haney
8y ago
Keeping them in lots of separate places just magnifies the probability of the public not being able to view them.
81.
▲
by
haney
8y ago
So I'm not up on the Lidar industry but $12k for a sensor seems really expensive, but then again from my casual observations Lidar is really expensive. Is there a physical / first principles reason this is true or is it just reall
82.
▲
by
haney
8y ago
I feel like this assumes that the errors that might be thrown by a section of code are knowable. For some high level projects with poorly documented dependencies interacting with third party services that are in constant flux it’s nearly im
83.
▲
by
haney
8y ago
Paying
84.
▲
by
haney
8y ago
Decentralization definitely makes a hard problem, that twitter has barely been able to solve on a monolithic system, harder. I wonder if Mastodon could take techniques from things like BitTorrent that do a decent job of determining an indi
85.
▲
by
haney
8y ago
I haven't had issues with synonyms specifically, my praise for it comes more from it copying the full text of websites when I clip them and parsing the contents of hand written OCR scanned notes and being able to search over those.
86.
▲
by
haney
8y ago
I use Evernote for ebooks, papers, articles and personal notes. Probably wouldn't work well for movies or large photo albums (I iCloud for stuff like that). I use their chrome extension, desktop app and mobile app and it works really w
87.
▲
by
haney
8y ago
Sorry, I should have clarified “accidentally downtime”. This doesn’t make anything new possibly, but will definitely eliminate a common way to shoot one’s self in the foot.
88.
▲
by
haney
8y ago
This is such a helpful addition that will help avoid so much downtime. Thank you to the Postgres contributors who made it possible.
89.
▲
by
haney
8y ago
So for a project that lacks tests, I’d suggest higher level integration/smoke tests so that you don’t have to modularize in order to write tests. Don’t mock a database, use a “real” test database with fixtures, if necessary use tools
90.
▲
by
haney
8y ago
Start writing tests, change no production code. You need to understand how it works (by reverse engineering its behavior with tests you’ll learn this) and you need to verify your changes don’t accidentally change existing behavior unless th
More ›